Hello there,

Silly me!
Thank you to all of you for pointing out the solution to me: it now
simply works fine!

I can now start to properly work on my data by using both Octave and gnuplot.
Regards,
JB


2009/7/23 Tatsuro MATSUOKA <tmacch...@yahoo.co.jp>:
> I forgot rely to octave-dev@lists.sourceforge.net
>
> --- Tatsuro MATSUOKA <tmacch...@yahoo.co.jp> wrote:
>
>> Hello
>>
>> The version of gnuplot for octave/windows mingw is
>> > __gnuplot_version__
>> ans = 4.3.0-2008-11-21CVS.0octave-mingw32
>>
>> The terminal is winows terminal but not x11 because gnuplot bundled is 
>> gnuplot for windows.
>> Please try to execute the gnuplot in the ..../bin folder directly by doublly 
>> clicking the icon
>> of
>> gnuplot.exe or type
>>
>> system('gnuplot')
>>
>> from octave prompt to execute gnuplot.
>>
>> And type
>> gnuplot> plot sin(x)
>> then gnuplot graph window appeared.
>>
>> Please press 'h' on the keyboard at the condition that gnuplot graph window 
>> is active.
>> You will find help of the key binds at zooming mode gnuplot in the gnuplot 
>> console but not
>> graphic
>> window.
>> This help will be useful for you.
>> For the convinience I copied and paste the help to this mail
>>
>> The lines  '2x<B1>' to  <Shift-B2-Motion> are help for mouse operation.
>> <B1> is the left mouse button.
>> <B2> is the right mouse button
>> <B3> is the mouse wheel.
>>
>> The lines after 'Space          raise gnuplot console window' is key bind in 
>> the gnuplot graph
>> window.
>> **************************
>>  2x<B1>             print coordinates to clipboard using `clipboardformat`
>>                     (see keys '3', '4')
>>  <B2>               annotate the graph using `mouseformat` (see keys '1', 
>> '2')
>>                     or draw labels if `set mouse labels is on`
>>  <Ctrl-B2>          remove label close to pointer if `set mouse labels` is on
>>  <B3>               mark zoom region (only for 2d-plots and maps).
>>  <B1-Motion>        change view (rotation). Use <ctrl> to rotate the axes 
>> only.
>>  <B2-Motion>        change view (scaling). Use <ctrl> to scale the axes only.
>>  <Shift-B2-Motion>  vertical motion -- change xyplane
>>
>>
>>  Space          raise gnuplot console window
>>  q            * close this plot window
>>
>>  a              `builtin-autoscale` (set autoscale keepfix; replot)
>>  b              `builtin-toggle-border`
>>  e              `builtin-replot`
>>  g              `builtin-toggle-grid`
>>  h              `builtin-help`
>>  l              `builtin-toggle-log` y logscale for plots, z and cb for 
>> splots
>>  L              `builtin-nearest-log` toggle logscale of axis nearest cursor
>>  m              `builtin-toggle-mouse`
>>  r              `builtin-toggle-ruler`
>>  1              `builtin-decrement-mousemode`
>>  2              `builtin-increment-mousemode`
>>  3              `builtin-decrement-clipboardmode`
>>  4              `builtin-increment-clipboardmode`
>>  5              `builtin-toggle-polardistance`
>>  6              `builtin-toggle-verbose`
>>  7              `builtin-toggle-ratio`
>>  n              `builtin-zoom-next` go to next zoom in the zoom stack
>>  p              `builtin-zoom-previous` go to previous zoom in the zoom stack
>>  u              `builtin-unzoom`
>>  Right          `builtin-rotate-right` only for splots; <shift> increases 
>> amount
>>  Up             `builtin-rotate-up` only for splots; <shift> increases amount
>>  Left           `builtin-rotate-left` only for splots; <shift> increases 
>> amount
>>  Down           `builtin-rotate-down` only for splots; <shift> increases 
>> amount
>>  Escape         `builtin-cancel-zoom` cancel zoom region
>>
>>               * indicates this key is active from all plot windows
>> *************************************************************************
>>
>> Regards
>>
>> Tatsuro
>>
>> --- bagvian wrote:
>>
>> > Dear Tatsuro,
>> >
>> > Many thanks for your exhaustive explanation.
>> >
>> > From a general point of view I would perfectly be happy to use gnuplot
>> > as a backend for Octave. It is a very nice piece of software that I
>> > frequently use to display data. The problem I am facing here is that
>> > gnuplot backend in Octave cannot be better than gnuplot itself.
>> >
>> > In other words :
>> > Say that you have got x y data saved in a text file called tmp.txt.
>> > For example looking like :
>> > 1   1
>> > 2   4
>> > 3   -1
>> > 4   2
>> > 5   5
>> > 6   0
>> >
>> > You want to display these data with gnuplot. Just launch gnuplot and
>> > type something like :
>> > set term x11
>> > plot "tmp.txt" using 1:2 w linespoints
>> >
>> > On the graph you get you can zoom-in by defining an area by
>> > right-clicking as you explained in your email, but you cannot zoom-out
>> > say 1-level out for example.
>> > This is precisely the same problem I encounter when trying to display
>> > data with Octave through gnuplot backend : I can zoom-in but cannot
>> > zoom-out.
>> > The only silly solution I found both for gnuplot and Octave to
>> > zoom-out is to kill the figure and draw it again.
>> >
>> > Anybody has got a better solution?
>> >
>> > When using a piece of software to display big amount of detailed data
>> > you absolutely need to be able to very rapidly zoom-in and out at
>> > different positions to focus on what you are looking for. This is what
>> > I often do and unfortunately I cannot use either of these software
>> > that I enjoy using at any other occasion.
>> >
>> > Maybe it can be done, but in that case I do not know how and I would
>> > be very glad to learn this trick.
>> >
>> > Thanks again for the answers you have sent.
>> >
>> > Regards,
>> > JB
>> >
>> >
>>
>>
>> --------------------------------------
>> Power up the Internet with Yahoo! Toolbar.
>> http://pr.mail.yahoo.co.jp/toolbar/
>>
>
>
> --------------------------------------
> Power up the Internet with Yahoo! Toolbar.
> http://pr.mail.yahoo.co.jp/toolbar/
>

------------------------------------------------------------------------------
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to