User Tools

Site Tools


wiki:gnuplot2b

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:gnuplot2b [2017/12/05 22:53] (current)
Line 1: Line 1:
 +<code gnuplot>​ 
 +reset 
 +set style line 1 lc rgb '#​dd181f'​ linetype 1 linewidth 2 pointtype 7 #red 
 +set style line 2 lc rgb '#​ffa500'​ linetype 1 linewidth 2 pointtype 7 #​orange/​yellow 
 +set border linewidth 1.5 
 +set title 'Top Of Atmosphere signatures from Landsat'​ 
 +set key left 
 +# Legend 
 +set xtics ('​Blue'​ 0, '​Green'​ 1, '​Red'​ 2, '​NIR'​ 3, '​SWIR1'​ 4, '​SWIR2'​ 5) 
 +set ylabel '​Digital number'​ 
 +set terminal pngcairo 
 +set output '​output/​exercise2/​landsat_mean_stdev.png'​ 
 +plot \ 
 +     "<​awk '​{if(NR!=6&&​NR!=7) print $0}' output/​exercise2/​forest_landsat_mean_stdev.txt"​ u 0:1:2 w yerrorbars ls 1 notitle,\ 
 +     ""​ u 0:1 w l ls 1 title '​forest',​\ 
 +     "<​awk '​{if(NR!=6&&​NR!=7) print $0}' output/​exercise2/​golf_landsat_mean_stdev.txt"​ u 0:1:2 w yerrorbars ls 2 notitle,\ 
 +     ""​ u 0:1 w l ls 2 title 'golf course'​ 
 +set terminal wxt size 500,350 enhanced font '​Verdana,​10'​ persist 
 +replot 
 +</​code>​
wiki/gnuplot2b.txt · Last modified: 2017/12/05 22:53 (external edit)