[ncl-talk] How to add more major labels

Alan Brammer abrammer at albany.edu
Thu Jun 29 12:21:11 MDT 2017


You need to tell NCL where those labels should be placed.

res at tmYLValues = (/35,34,33,32/)

Can’t see the script so hopefully this line isn’t already in there. 


Good luck, 
	Alan

> On 29 Jun 2017, at 13:11, Laura Fowler <laura at ucar.edu> wrote:
> 
> Hi:
> 
> I am trying to add more major tick marks for my contour plots (the
> original plot only shows one major tickmark on the left y-axis and the
> right x-axis). For the left y-axis, I added the following lines (but
> that did not help)?
> 
> res at tmYLOn       = True
> res2tmYLLabelsOn = True
> res at tmYLMode     = "Explicit"
> res at tmYLLabels   = (/"35N","34N","33N","32N"/)
> 
> I must be missing something? If needed, my script is plots.ncl in the
> directory /glade2/scratch2/laura/LIGHTNINGproject/from_drumlin/20170510.
> And my current plot is in lma_source.0.pdf.
> 
> I would really appreciate if somebody could give me a hint on what I
> need to add to trigger more major tickmarks.
> 
> Thanks,
> Laura
> 
> 
> -- 
> !-------------------------------------------------------------------------------------------------------------
> Laura D. Fowler
> Mesoscale and Microscale Meteorology Division (MMM)
> National Center for Atmospheric Research
> P.O. Box 3000, Boulder CO 80307-3000
> 
> e-mail: laura at ucar.edu
> phone: 303-497-1628
> 
> !-------------------------------------------------------------------------------------------------------------
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk



More information about the ncl-talk mailing list