You are not logged in.
Pages: 1
I just downloaded this programme because I thought it looked cool and I could use it for school. The way it is set up, the user runs 'gnuplot' and then is inside a new terminal where he/she can send it commands. Once in gnuplot, the command 'plot x+5' will create a graph of y=x+5. I was wondering if there is any way to do it all in one line rather than two steps (first open gnuplot, then send it a command). I am looking for something like
'plot x+5' > gnuplot
Any ideas anyone?
Offline
echo 'plot x+5' | gnuplot -persist
Does this do what you want?
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
There is a wrapper, called gplot (written in perl), for gnuplot, that makes plotting graphs a breeze. Try searching it on the web (I may have an old version of it with me).
P.S. Have a look at this link http://gplot.sourceforge.net/
Last edited by Onwards (2008-09-17 00:00:40)
Offline
echo 'plot x+5' | gnuplot -persist
Does this do what you want?
Perfect; thanks!
gplot looks cool too - I might try that out sometime. thanks.
Offline
Pages: 1