it's good to have an end to journey towards, but it is the journey that matters, in the end ....

Thursday, April 28, 2005

gnuplot

Taking results of my data ...earlier it was not coming out well since the overhead was more than the test app exe time and i was geting really lazy improving it but now with a few changes in the nature of test apps this are working fine..got a great link for gnuplot :
Some good tips on how to have it directly as eps, how to display grids etc .good for beginners and for people with short term memory like me :) :

http://www.cs.uni.edu/Help/gnuplot/

Also if you would like two figures to be laser-printed on the same page, you may use the following shell script. Create file cat2 , below, and make the file executable by typing: unix% chmod +x cat2
      # cat2: Shell script for putting two Gnuplot plots on one page
echo %! > g.ps
echo gsave >> g.ps
echo 0 400 translate >> g.ps # for Gnuplot plots
cat $1 | sed -e "s/showpage//" >> g.ps
echo grestore >> g.ps
echo gsave >> g.ps
echo 0 090 translate >> g.ps # for Gnuplot plots
cat $2 >> g.ps
lpr -Phudsonlp1 g.ps

To combine two PostScript figures (plot1.ps and plot2.ps) on one page:

            cat2  plot1.ps  plot2.ps                    

0 Comments:

Post a Comment

<< Home