<div dir="ltr">Dear GrADS experts,<div><br></div><div><br></div><div>I am trying to modify the interval of the y-axis in the attached time-longitude plot.</div><div><br></div><div>[1] I tried to change the 'set ylint' line in my script but <b>the label interval does not change</b>. The current interval remains at 5 even if I change the ylint to say, 10.</div><div><br></div><div>[2] Is there a way to increase the number of tick marks on the y-axis?</div><div><br></div><div><br></div><div>I'll appreciate any suggestion on how to do this correctly.</div><div><br></div><div><br></div><div>Here's the script:</div><div><br></div><div><div>'sdfopen <a href="http://bpass_aug9_sep7_30-60filt_1994-2008.nc">bpass_aug9_sep7_30-60filt_1994-2008.nc</a>'</div><div>'set display color white'</div><div>'c'</div><div>'set mpdset hires'</div><div>'set grid on'</div><div>'set grads off'</div><div>'set parea 1.5 8 2 10.5'</div><div>'set font 1'</div><div>'set xlopts 1 5 0.2'</div><div>'set xlint 10'</div><div><br></div><div><b>'set ylint 10'</b></div><div><b><br></b></div><div>'set ylopts 1 5 0.2'</div><div>'set lon 100 180'</div><div>'set gxout shaded'</div><div>'set tlsupp year'</div><div><br></div><div>'set t 1 84'</div><div>'define var=ave(xbpf,lat=10,lat=20)'</div><div>'color -10 10 1 -kind mediumblue->royalblue->cornflowerblue->white->khaki->orange->red'</div><div>'set y 1'<br></div><div>'d var'</div><div>'xcbar 1.5 8 1 1.25 -line on -fs 2 -fh 0.18 -fw 0.18'</div><div><br></div><div>**********************************************************</div><div>*Overlay contours</div><div>**********************************************************</div><div><br></div><div>'set gxout contour'</div><div>'set ccolor 1'</div><div>'set cint 1'</div><div>'set clab forced'</div><div>'d var'</div><div>*'set line 4 1 1'</div><div>*'draw line 1 10 5 5'</div><div><br></div><div>'printim hov_plot.png'</div><div>'quit'</div></div><div><br></div><div><br></div><div>Here's the detail of the file:</div><div><br></div><div><div>netcdf bpass_aug9_sep7_30-60filt_1994-2008 {</div><div>dimensions:</div><div><span style="white-space:pre">    </span>lon = 144 ;</div><div><span style="white-space:pre">   </span>lat = 73 ;</div><div><span style="white-space:pre">    </span>time = UNLIMITED ; // (92 currently)</div><div>variables:</div><div><span style="white-space:pre"> </span>float lon(lon) ;</div><div><span style="white-space:pre">              </span>lon:standard_name = "longitude" ;</div><div><span style="white-space:pre">           </span>lon:long_name = "longitude" ;</div><div><span style="white-space:pre">               </span>lon:units = "degrees_east" ;</div><div><span style="white-space:pre">                </span>lon:axis = "X" ;</div><div><span style="white-space:pre">    </span>float lat(lat) ;</div><div><span style="white-space:pre">              </span>lat:standard_name = "latitude" ;</div><div><span style="white-space:pre">            </span>lat:long_name = "latitude" ;</div><div><span style="white-space:pre">                </span>lat:units = "degrees_north" ;</div><div><span style="white-space:pre">               </span>lat:axis = "Y" ;</div><div><span style="white-space:pre">    </span>double time(time) ;</div><div><span style="white-space:pre">           </span>time:standard_name = "time" ;</div><div><span style="white-space:pre">               </span>time:long_name = "Time" ;</div><div><span style="white-space:pre">           </span>time:units = "hours since 1800-1-1 00:00:00" ;</div><div><span style="white-space:pre">              </span>time:calendar = "standard" ;</div><div><span style="white-space:pre">                </span>time:axis = "T" ;</div><div><span style="white-space:pre">   </span>float xBPF(time, lat, lon) ;</div><div><span style="white-space:pre">          </span>xBPF:long_name = "Lanczos Bpassfilt" ;</div><div><span style="white-space:pre">              </span>xBPF:units = "W m-2" ;</div><div><span style="white-space:pre">              </span>xBPF:_FillValue = 32766.f ;</div><div><span style="white-space:pre">           </span>xBPF:missing_value = 32766.f ;</div><div><span style="white-space:pre">                </span>xBPF:wgt_runave_op_ncl = "wgt_runave_n" ;</div></div><div><br></div><div><br></div><div>Sincerely,</div><div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font face="comic sans ms, sans-serif"><b><u>Lyndon Mark P. Olaguera</u></b></font><div>PhD StudentĀ </div><div>Laboratory of Climatology</div><div>Department of Geography</div><div>Faculty of Urban Environmental Science</div><div><span style="font-size:12.8px">Minami-Osawa Campus</span><br></div><div>Tokyo Metropolitan University</div><div>Hachioji Tokyo, Japan</div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>