-
Notifications
You must be signed in to change notification settings - Fork 1
Use time units on X axis
Uwe Schneider edited this page Jul 31, 2022
·
7 revisions
Sets
Year Years /2015*2020/
Month Month /Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec/
Day Day /1*365/,
Line Items /Erosion,Precipitation/
;
Parameter Data365(Line,Day);
Data365(Line,Day) = uniform(10,100);
$setglobal gp_xdata time
$setglobal gp_timefmt '%j'
$setglobal gp_xformat '%b'
$setglobal gp_xrange '"1":"365"'
$setglobal gp_xtics 'offset 1.5'
$setglobal gp_yrange 0:130
$setglobal gp_font 'Times New Roman'
$setglobal gp_fontsize 24
$setglobal gp_title "Figure 1: Show Month Labels instead of Days on X-Axis"
$libinclude gnuplotxyz Data365