GnuPlot
gnuplot is used to visualise the results - via script you can do infinite diagrams in 1 second.
Run "test" in gnuplot to get an owerview of the available line- and symbolstyles.
Selection of some often used GnuPlot snippets
set key top left Left reverse width -9 #drop garbage data set datafile missing "-999.00" #axis declarations set grid set xrange [0:300] set yrange [0:60] set y2label "Wasserverbrauch [cbm]" textcolor rgb "blue" set y2tics ("0" 0, "10" 1000, "20" 2000) textcolor rgb "blue" set logscale x 2 #handle time formated data set xdata time set timefmt "%Y-%m-%d" set format x "%Y/%m" mark position by vertical line or region by rectangle set arrow from 25,1 to 25,1.4 nohead lc rgb "red" set object 1 rect from 20,1 to 24,1.4 back fc rgb "#aaffaa" some data fitting s(x)=s1*x+s0 t(x) = (x > 2000 && x < 2020) ? t1**x+t0 : 1/0 fit [2006:2009] s(x) "energie.txt" u 1:(3.14*$6) via s1,s0 myTitle = sprintf("%.2fx%.2f",s1,s0) #define line styles set style line 1 lt 1 lc rgb "#800080" lw 2 dt 1 pt 7 ps 1 set style line 2 lt 1 lc rgb "#0000ff" lw 2 dt 2 pt 9 ps 1 set style line 3 lt 1 lc rgb "#008900" lw 2 dt 3 pt 11 ps 1 set style line 4 lt 1 lc rgb "#ffff00" lw 2 dt 4 pt 13 ps 1 set style line 5 lt 1 lc rgb "#ff9900" lw 2 dt 5 pt 20 ps 1 set style line 6 lt 1 lc rgb "#ff0000" lw 2 dt 1 pt 26 ps 1 set style line 7 lt 1 lc rgb "#c0c0c0" lw 2 dt 1 pt 15 ps 1 set style line 8 lt 1 lc rgb "#000000" lw 4 dt 1 pt 17 ps 1 set style line 9 lt 1 lc rgb "#ff0066" lw 4 dt 1 pt 28 ps 1 set style fill solid 0.2 #plot the data plot \ "arne.dat" u 1 ls 1 w lp ti myTitle, \ "arne.dat" u 3:8:9 ls 2 with errorbars ti "mean", \ "arne.dat" u 4 with imp notitle, \ "arne.dat" u 4 ls 2 axis x1y2 with boxes notitle, \ "arne.dat" u 1:($5*100) w lp axes x1y2 notitle pause -1 #combined LaTeX, EPS, use eps2pdf set term epslatex color solid 12 set output "posInit.eps" replot #SVG format set term svg set output "EnergieverbrauchPassivhaus.svg" replot
#3D data fitting, given a file with 3 columns of data: F(x,y) = a*x + b*y fit F(x,y) "./dataFile.txt" u 1:2:3 via a,b #3D plot, data and fitted function: set pm3d set view 72,253 #set contour splot "./dataFile.txt" u 1:s:3 w p lt 2 pt 2 ps 1 ti "", F(x,y) notitle
"black" | #000000 |
"maroon" | #800000 |
cherry | #D40023 |
dark red | #CC0000 |
"red" | #FF0000 |
conti | #FF9900 |
bvsm | #FBBF16 |
"yellow" | #FFFF00 |
"lime" | #00FF00 |
"green" | #008000 |
Minzgrün | #007243 |
Opalgrün | #005D4C |
"teal" | #008080 |
"blue" | #0000FF |
dark blue | #0000CC |
"navy" | #000080 |
"purple" | #800080 |
kfc | #FF0066 |
"fuchsia" | #FF00FF |
light rose | #FFDDEE |
SMall | #C7CEFF |
"gray" | #808080 |
"silver" | #C0C0C0 |
"white" | #FFFFFF |
GnuPlot | HEX | decimal | ||
---|---|---|---|---|
white | #ffffff | 255 255 255 | ||
black | #000000 | 000 000 000 | ||
grey | #bebebe | 190 190 190 | ||
light-grey | #d3d3d3 | 211 211 211 | ||
dark-grey | #a9a9a9 | 169 169 169 | ||
red | #ff0000 | 255 000 000 | ||
light-red | #f03232 | 240 050 050 | ||
dark-red | #8b0000 | 139 000 000 | ||
yellow | #ffff00 | 255 255 000 | ||
dark-yellow | #c8c800 | 200 200 000 | ||
green | #00ff00 | 000 255 000 | ||
light-green | #90ee90 | 144 238 144 | ||
dark-green | #006400 | 000 100 000 | ||
spring-green | #00ff7f | 000 255 127 | ||
forest-green | #228b22 | 034 139 034 | ||
sea-green | #2e8b57 | 046 139 087 | ||
blue | #0000ff | 000 000 255 | ||
light-blue | #add8e6 | 173 216 230 | ||
dark-blue | #00008b | 000 000 139 | ||
midnight-blue | #191970 | 025 025 112 | ||
navy | #000080 | 000 000 128 | ||
medium-blue | #0000cd | 000 000 205 | ||
royalblue | #4169e1 | 065 105 225 | ||
skyblue | #87ceeb | 135 206 235 | ||
cyan | #00ffff | 000 255 255 | ||
dark-cyan | #008b8b | 000 139 139 | ||
magenta | #ff00ff | 255 000 255 | ||
light-magenta | #f055f0 | 240 085 240 | ||
dark-magenta | #8b008b | 139 000 139 | ||
turquoise | #40e0d0 | 064 224 208 | ||
dark-turquoise | #00ced1 | 000 206 209 | ||
pink | #ffc0cb | 255 192 203 | ||
dark-pink | #ff1493 | 255 020 147 | ||
coral | #ff7f50 | 255 127 80 | ||
orange-red | #ff4500 | 255 069 000 | ||
salmon | #fa8072 | 250 128 114 | ||
dark-salmon | #e9967a | 233 150 122 | ||
aquamarine | #7fffd4 | 127 255 212 | ||
khaki | #f0e68c | 240 230 140 | ||
dark-khaki | #bdb76b | 189 183 107 | ||
goldenrod | #daa520 | 218 165 032 | ||
light-goldenrod | #eedd82 | 238 221 130 | ||
dark-goldenrod | #b8860b | 184 134 011 | ||
gold | #ffd700 | 255 215 000 | ||
beige | #f5f5dc | 245 245 220 | ||
brown | #a52a2a | 165 042 042 | ||
orange | #ffa500 | 255 165 000 | ||
dark-orange | #ff8c00 | 255 140 000 | ||
violet | #ee82ee | 238 130 238 | ||
dark-violet | #9400d3 | 148 000 211 | ||
plum | #dda0dd | 221 160 221 | ||
purple | #a020f0 | 160 032 240 |