|
|
Line 1: |
Line 1: |
| ==Testing Gnuplot== | | ==Testing Gnuplot== |
|
| |
|
| <gnuplot> | | <gnuplot> |
| set title "Price of Opteron" | | set output 'quadFuncs.png' |
| set xlabel "Gigahertz" | | set size 0.4,0.4 |
| set zlabel "$$" | | set xlabel "x" |
| set ylabel "Date" | | set ylabel "y" |
| set ydata time
| | plot [x=-4:4] x**2-3, -x**2 |
| set timefmt "%m/%d/%Y"
| | </gnuplot> |
| 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:17, 31 January 2012
Testing Gnuplot
<gnuplot>
set output 'quadFuncs.png'
set size 0.4,0.4
set xlabel "x"
set ylabel "y"
plot [x=-4:4] x**2-3, -x**2
</gnuplot>