User Tools

Site Tools


wiki:gnuplot5a
reset
set border linewidth 1.5
set style line 1 pt 7 lc rgb '#0060ad' lt 1 lw 2 #blue
set style line 2 pt 7 lc rgb '#A00000' lt 1 lw 2 #red
set border linewidth 1.5
set title 'Top Of Atmosphere reflectance Landsat'
set key
# Legend
set xtics ('Blue' 0, 'Green' 1, 'Red' 2, 'NIR' 3, 'SWIR1' 4, 'TIR1' 5, 'TIR2' 6, 'SWIR2' 7)
set ylabel 'Digital number'
set xrange [-0.5:7.5]
set terminal pngcairo
set output 'output/exercise5/landsat_clouds.png'
plot \
     'output/exercise5/clouds_landsat_mean_stdev.txt' u 0:1:2 w yerrorbars ls 1 title 'cloud',\
     'output/exercise5/noclouds_landsat_mean_stdev.txt' u 0:1:2 w yerrorbars ls 2 title 'no cloud'
set terminal wxt
replot
wiki/gnuplot5a.txt · Last modified: 2017/12/05 22:53 (external edit)