[ncl-talk] YRLabels with gsn_csm_contour

Mary Haley haley at ucar.edu
Wed Nov 11 08:40:31 MST 2015


Try adding:

res at tmYRLabelsOn         = True

The tmYROn just controls the tickmarks.  The above resource controls labels.

--Mary



On Tue, Nov 10, 2015 at 11:13 PM, Matthew Fearon <Matthew.Fearon at dri.edu>
wrote:

> Dear NCL users
>
> I'm trying to put Y labels on the right hand side on my contour plot.
> Below are my settings tried. These work fine with YL "left hand side", but
> labels fail to appear when tried with YR the "right hand side". Tickmarks
> appear but not labels. Is there some wihitespace setting I need, and labels
> are just being cut off?
>
>   res at tmYLOn               = False
>
>   res at tmYROn               = True
>
>   res at tmYRMode             = "Explicit"
>
>   res at tmYRValues           = yvalues
>
>   res at tmYRLabels           = ylabels
>
>   res at tmYRLabelFontHeightF = 0.015
>
>
>   plot = gsn_csm_contour(xwks, var, res)
>
>
>
> thanks,
>
> Matt
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151111/c6113624/attachment.html 


More information about the ncl-talk mailing list