<div dir="ltr"><div>My script,figure attached, outputs one longitude and one latitude labels only. In the code snippet below, I have turned on gridlines and they draw ok. <br></div><div>From this script <a href="https://www.ncl.ucar.edu/Applications/Scripts/mapgrid_6.ncl">https://www.ncl.ucar.edu/Applications/Scripts/mapgrid_6.ncl</a> I was guessing that I could put latitude and longitudes labels using the code reproduced below. This gives me the error (lats = ispan(-31.,-28.,1.) "fatal:ispan: arguments must be of an integral type, can't continue"</div><div>How does one get customized lat/lon labels?<br></div><div><br></div><div>       res@mpGridAndLimbOn        = True               ; turn on grid lines<br>       res@mpGridSpacingF         = 0.5<br><br>      ;---Create lat/lon arrays for location of latitude labels.<br>       ;lats = ispan(-31.,-28.,1.)<br>       ;nlat = dimsizes(lats)<br>       ;lons = new(nlat,integer)<br>       ;lons = 0<br><br>       ;---Resources for text strings<br>       ;txres               = True<br>       ;txres@txFontHeightF = 0.015<br>       ;dum = gsn_add_text(wks,plot,""+lats,lons,lats,txres)<br></div></div>