how do you draw figures

yonas abraham yonas at erimp3.com
Tue Apr 25 15:40:53 UTC 2006


BB Cao wrote:
> Dear all,
>
> I'm just curious of what you would use to draw figures. By draw 
> figures, I mean that, suppose I have a data file, it goes like,
> x1     x2     x3 ...     xn      y
> 1.2    -3.4   0.1        7.8    3.2
> .. ...
>
> what program do you use on FC to draw curves for (y vs x1) and/or(y vs 
> x2)...(y vs xn) on a single figure?
> I usually reboot my machine to WinXP and use Excel to do that because 
> the Open office spreadsheet is not friendly regarding this purpose. 
> (Or I don't know how to use it wisely.) But the rebooting is very 
> inconvenient sometime. A program on FC is highly desired.
>
> Best,
>  Cao
>
>
>
> ------------------------------------------------------------------------
> Blab-away for as little as 1¢/min. Make PC-to-Phone Calls 
> <http://us.rd.yahoo.com/mail_us/taglines/postman2/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com> 
> using Yahoo! Messenger with Voice. 
use gnuplot.
lets say your data is saved in myfile.dat
in gnuplot type

plot 'myfile.dat' using 1:2, 'myfile.dat' using 1:3 

where 1:2 mean plot column 2 vs column 1 etc, you can do "help plot" on 
the gnuplot command to learn about other options as well.

-- 
Yonas Abraham, PhD
Registered Linux user number 407343               http://counter.li.org 




More information about the fedora-list mailing list