Versionsvergleich
Aus ProgrammingWiki
Vergleich: 2009-03-03T10:03:19+00:00 → 2009-12-30T08:03:32+00:00
<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 terminal png transparent nocrop enhanced font arial 8 size 420,320 |
| − | # set output 'rgb_variable.3.png' |
| − | unset border |
| − | set label 99 "" at 0, 0, 0 left norotate back nopoint offset character 0, 0, 0 |
| − | set xzeroaxis linetype -1 linecolor rgb "red" linewidth 2.000 |
| − | set yzeroaxis linetype -1 linecolor rgb "green" linewidth 2.000 |
| − | set zzeroaxis linetype -1 linecolor rgb "blue" linewidth 2.000 |
| − | set xyplane at 0 |
| − | set xtics axis in scale 1,0.5 nomirror norotate offset character 0, 0, 0 autofreq |
| − | set ytics axis in scale 1,0.5 nomirror norotate offset character 0, 0, 0 autofreq |
| − | set ztics axis in scale 1,0.5 nomirror norotate offset character 0, 0, 0 autofreq |
| − | set xlabel "Red" |
| − | set xlabel offset character 0, 0, 0 font "" textcolor rgb "red" norotate |
| − | set xrange [ 0.00000 : 255.000 ] noreverse nowriteback |
| − | set ylabel "Green" |
| − | set ylabel offset character 0, 0, 0 font "" textcolor rgb "green" rotate by 90 |
| − | set yrange [ 0.00000 : 255.000 ] noreverse nowriteback |
| − | set zlabel "Blue" |
| − | set zlabel offset character 0, 0, 0 font "" textcolor rgb "blue" norotate |
| − | set zrange [ 0.00000 : 255.000 ] noreverse nowriteback |
| − | rgb(r,g,b) = int(r)*65536 + int(g)*256 + int(b) |
| − | splot 'rgb_variable.dat' using 1:2:3:(5*rand(0)):(rgb($1,$2,$3)) with points pt 7 ps variable lc rgb variable title "variable pointsize and rgb color computed from coords" |
| + | 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> | |
| + | |
| + | Aus AuK-Buch: Mult. a la Russe |
| + | |
| + | <gnuplot> |
| + | set xlabel "n" |
| + | set ylabel "T(n)" |
| + | set data style lines |
| + | plot \ |
| + | <dataset> |
| + | 10 105 |
| + | 60 2570 |
| + | 110 11640 |
| + | 160 27885 |
| + | 210 41715 |
| + | 260 73269 |
| + | 310 100959 |
| + | 360 143735 |
| + | 410 174574 |
| + | 460 242307 |
| + | 510 301169 |
| + | 560 357982 |
| + | 610 422730 |
| + | 660 519390 |
| + | 710 591507 |
| + | 760 645435 |
| + | 810 711284 |
| + | 860 865909 |
| + | 910 919575 |
| + | 960 988310 |
| + | </dataset> |
| + | </gnuplot> |
| + | |
| + | |
| + | Und hier eine Grenze dieses Werkzeuges: |
| + | |
| + | <math>y=f(x)=\tan(x^2)</math> |
| + | |
| + | <gnuplot> |
| + | set xrange [-10:10] |
| + | set yrange [-10:10] |
| + | f(x)=tan(x**2) |
| + | plot f(x) |
| + | </gnuplot> |