Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
gnuplot vs axes
Phlip
3/15/2008 11:29:00 PM
Ruboids:
The latest version of Gnuplot can't do axes. This line won't compile:
Gnuplot::DataSet.new( [x,y,y2] ) { |ds|
ds.with = "linespoints"
ds.title = "Production LOC"
ds.using = '0:1'
ds.linewidth = 4
ds.axes = 'x1y1' # <-- nope!
},
The Gnuplot 2.2 on RubyForge can't handle that. But this Gnuplot 2.2 can:
http://www.google.com/codesearch?hl=en&q=show:qr2ckFCcI-k:enGQw9Uhy9Y:qr2ckFCcI-k&sa=N&ct=rd&cs_p=http://svn.devauld.ca/projects/weights/trunk&cs_f=vendor/gnuplot-2.2/lib/gnuplot.rb&a...
Excuse the sloppy URI; you can tell that's a Google Codesearch hit for
[lang:ruby axes gnuplot]
That copy of gnuplot.rb has code to decorate the DataSet with
attr_accessories for axes, and to insert them into the correct Gnuplot
commands.
So who added this, why ain't it in Gnuplot 2.3, and what else are we
missing??
(BTW I ain't using Gruff because I'm too lazy to generate log scales by
hand...;)
--
Phlip
http://assertxpath.ruby...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
gnuplot vs axes
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password