User Tools

Site Tools


wiki:gnuplot3c
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 key left
set border linewidth 1.5
set terminal pngcairo
set output 'output/exercise3/ndvi_mean_stdev.png'
set xrange [0:11]
set xtics ('Jan' 0, 'Feb' 1, 'Mar' 2, 'Apr' 3, 'May' 4, 'Jun' 5, 'Jul' 6, 'Aug' 7, 'Sep' 8, 'Oct' 9, 'Nov' 10, 'Dec' 11)
set ylabel 'NDVI (%)'
set title 'phenology based on MODIS NDVI 2006'
plot \
     'output/exercise3/forest_ndvi_mean_stdev.txt' u 0:1 smooth bezier w lines ls 1 title 'forest',\
     'output/exercise3/golf_ndvi_mean_stdev.txt' u 0:1 smooth bezier w lines ls 2 title 'golf course'
set terminal wxt size 500,350 enhanced font 'Verdana,10' persist
replot
wiki/gnuplot3c.txt · Last modified: 2017/12/05 22:53 (external edit)