|
From: M3tr0 G33k on 7 Jul 2008 09:06 Hi all, Seems like rgplot2.2 is inactive - is this correct? I am used to gnuplot, so I went to it first when starting with Ruby. One problem - trying to replicate 'unset border' All of the 'set' actions in Gnuplot::Plot are listed individually. This means that to do 'set border <some args>' you do plot.border "<some args>". But to do 'unset border' you can't do plot.border "unset" because you get an error from gnuplot like 'set unset border ERROR'. This seems right for the way rgplot works, but how do you do 'unset border'? Should I give up and use R :? Thanks in advance, if anyone can help m3tr0g33k -- Posted via http://www.ruby-forum.com/.
From: Axel Etzold on 7 Jul 2008 10:33 Hi --- > But to do 'unset border' you can't do plot.border "unset" because you > get an error from gnuplot like 'set unset border ERROR'. This seems > right for the way rgplot works, but how do you do 'unset border'? > It seems that earlier versions of Gnuplot used to have the command set no<command> instead of unset <command> , and rgplot expects this ... and hasn't been updated for a while. When I enter "set noborder" in my Gnuplot 4.2 at the command line, it complains about a deprecated syntax, but nevertheless removes the border. > Should I give up and use R :? Maybe you'll also have a look at tioga (rubyforge.org/projects/tioga/) for an alternative to Gnuplot. Should you know how to compile it in Windows, please leave a note. Best regards, Axel -- Psssst! Schon das coole Video vom GMX MultiMessenger gesehen? Der Eine f�r Alle: http://www.gmx.net/de/go/messenger03
From: Joel VanderWerf on 7 Jul 2008 12:30 Joel VanderWerf wrote: > No docs, but there are > some examples[3] that should explain how to use it. Well, minimal docs now. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
From: M3tr0 G33k on 7 Jul 2008 13:45 Axel Etzold wrote: > Best regards, > > Axel Thanks! Works a treat. -- Posted via http://www.ruby-forum.com/.
From: M3tr0 G33k on 7 Jul 2008 13:52
Thanks for your reply, Joel VanderWerf. I am mainly getting data from csv files and plotting to ps images. Thankfully window persistence doesn't bother me (yet). Appreciate your input, m3tr0g33k -- Posted via http://www.ruby-forum.com/. |