Gnuplot

Aus ProgrammingWiki
Archivierte Version vom 2009-03-03T10:03:19+00:00. Aktuelle Version
GNUPlot-Quelltext
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-Quelltext
# 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"