Gnuplot
Aus ProgrammingWiki
Wiki-Quelltext dieser Seite.
<gnuplot>set title "Scrum Burndown - Quimilero Iteration" set yrange [-5:40] set xtics (0,1,2,3,4,5,6,7,8,9,10) set xrange [0:10] set xlabel "Day of Iteration" set ylabel "Units Remaining" plot \ <dataset> 0 33 1 33 2 26 #GS-796, GS-798, GS-799, GS-800 3 23 #GS-803 4 21 #GS-725 5 17 #GS-804 6 12 #GS-756 7 8 #GS-690 8 1 #GS-805 GS-832 and GS-744 off backlog sized at iteration review </dataset> using 1:2 title "Autobots" with lines lt 4, \ <dataset> 0 24 1 24 #nothing done on day one 2 19 #GS-775, GS-272, GS-727 3 7 #AG-170, GS-714, GS-442, GS-677 4 3 #this is monday..OP-123 is resolved. 5 -2 #GS-85 8 -2 </dataset> using 1:2 title "Decepticons" with lines lt 14 </gnuplot> Noch ein anderer Plot: <gnuplot> set grid nopolar set grid xtics nomxtics ytics nomytics noztics nomztics \ nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics set grid layerdefault linetype 0 linewidth 1.000, linetype 0 linewidth 1.000 set samples 21, 21 set isosamples 11, 11 set title "3D gnuplot demo" set xlabel "X axis" set xlabel offset character -3, -2, 0 font "" textcolor lt -1 norotate set xrange [ -10.0000 : 10.0000 ] noreverse nowriteback set ylabel "Y axis" set ylabel offset character 3, -2, 0 font "" textcolor lt -1 rotate by 90 set yrange [ -10.0000 : 10.0000 ] noreverse nowriteback set zlabel "Z axis" set zlabel offset character -5, 0, 0 font "" textcolor lt -1 norotate splot x**2+y**2, x**2-y**2, x*y, (x**3+y**3)/10 </gnuplot>