Gnuplot zooming and grids


#1

I have the basic Ruby gnuplot interface working. I don’t seem to get
the zooming feature I’m used to when using gnuplot>. Thus 2 questions:

  1. How to provide the usual zooming feature when using gnuplot through
    ruby?
  2. How to add grid lines?
  3. Is there any good example documentation for someone with more ruby
    experience than gnuplot experience? I’ve already been here:
    http://rgplot.rubyforge.org/

Thanks,

Rob


#2

Rob R. wrote:

Rob

It’s tricky. See if this helps you…

http://redshift.sourceforge.net/sci/

Docs are not useful, but see the examples dir for plotting. It does
permit both mouse interaction and persistent windows (which no other
approach does, AFAIK).

More discussion at:

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/293549
http://www.ruby-forum.com/topic/158769


#3

Thanks for the ideas!

Any experience with GruffGraphs plotting?:
http://nubyonrails.com/pages/gruff

R


#4

Hi,

I don’t know the internals of rgplot myself, but might be similar
similar on how octave pipes data to gnuplot:

http://www.gnu.org/software/octave/NEWS-3.html

gnuplot dev plans:
http://www.nabble.com/zooming-of-inline-data-td12416496.html#a12416496

you can try using the dev version and see how it goes
(4.3) release notes:
http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/NEWS?view=markup


#5

Rob R. wrote:

Any experience with GruffGraphs plotting?:
http://nubyonrails.com/pages/gruff

Looking at their examples, I am flashing back to a bad Excel trip.