More actions
Blanked the page |
No edit summary |
||
Line 1: | Line 1: | ||
==Testing Gnuplot== | |||
<gnuplot> | |||
set title "Price of Opteron" | |||
set xlabel "Gigahertz" | |||
set zlabel "$$" | |||
set ylabel "Date" | |||
set ydata time | |||
set timefmt "%m/%d/%Y" | |||
set format y " %m/%Y" | |||
set ytics ("01/20/2008", "03/14/2008") | |||
set style data lines | |||
set view 50,200,1,1 | |||
set grid z | |||
splot \ | |||
<dataset> | |||
2.2 01/20/2008 100 #gighz.. date.. dollars | |||
2.4 01/20/2008 150 | |||
2.6 01/20/2008 270 | |||
2.8 01/20/2008 480 | |||
3.0 01/20/2008 700 | |||
2.2 03/14/2008 100 | |||
2.4 03/14/2008 122 | |||
2.6 03/14/2008 245 | |||
2.8 03/14/2008 410 | |||
3.0 03/14/2008 700 | |||
</dataset> using 1:2:3 title "Dual Core" with lines, \ | |||
<dataset> | |||
1.9 01/20/2008 330 | |||
2.0 01/20/2008 415 | |||
2.2 01/20/2008 650 | |||
2.3 01/20/2008 800 | |||
2.4 01/20/2008 1115 | |||
2.5 01/20/2008 1275 | |||
1.9 03/14/2008 330 | |||
2.0 03/14/2008 270 | |||
2.2 03/14/2008 480 | |||
2.3 03/14/2008 720 | |||
2.4 03/14/2008 925 | |||
2.5 03/14/2008 1235 | |||
</dataset> using 1:2:3 title "Quad Core" with lines | |||
</gnuplot> |
Revision as of 07:14, 31 January 2012
Testing Gnuplot
<gnuplot> set title "Price of Opteron" set xlabel "Gigahertz" set zlabel "$$" set ylabel "Date" set ydata time set timefmt "%m/%d/%Y" set format y " %m/%Y" set ytics ("01/20/2008", "03/14/2008") set style data lines set view 50,200,1,1 set grid z splot \ <dataset> 2.2 01/20/2008 100 #gighz.. date.. dollars 2.4 01/20/2008 150 2.6 01/20/2008 270 2.8 01/20/2008 480 3.0 01/20/2008 700
2.2 03/14/2008 100 2.4 03/14/2008 122 2.6 03/14/2008 245 2.8 03/14/2008 410 3.0 03/14/2008 700 </dataset> using 1:2:3 title "Dual Core" with lines, \ <dataset> 1.9 01/20/2008 330 2.0 01/20/2008 415 2.2 01/20/2008 650 2.3 01/20/2008 800 2.4 01/20/2008 1115 2.5 01/20/2008 1275
1.9 03/14/2008 330 2.0 03/14/2008 270 2.2 03/14/2008 480 2.3 03/14/2008 720 2.4 03/14/2008 925 2.5 03/14/2008 1235 </dataset> using 1:2:3 title "Quad Core" with lines </gnuplot>