[ncl-talk] How to add more major labels

Barry Lynn barry.h.lynn at gmail.com
Thu Jun 29 12:39:30 MDT 2017


Hello:

Just in case anyone is searching.

Setting  res at pmTickMarkDisplayMode = "Always"

will improve the labeling of latitude longitude labels on maps.

Instead of 1 label, it will add more, making for a more aesthetic plot.

On Thu, Jun 29, 2017 at 9:21 PM, Alan Brammer <abrammer at albany.edu> wrote:

> 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
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>



-- 
Barry H. Lynn, Ph.D
Senior Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
US 914 432 3108
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170629/5703adf2/attachment.html 


More information about the ncl-talk mailing list