[ncl-talk] YRLabels with gsn_csm_contour

Matthew Fearon Matthew.Fearon at dri.edu
Wed Nov 11 13:50:30 MST 2015


Thank you, Mary. In addition to YRLabelsOn = True, I need to set YUseLeft = False. And now I've got it.

Matt

________________________________
From: Mary Haley [haley at ucar.edu]
Sent: Wednesday, November 11, 2015 7:40 AM
To: Matthew Fearon
Cc: ncl-talk at ucar.edu
Subject: Re: [ncl-talk] YRLabels with gsn_csm_contour

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<mailto: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<mailto: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/07627d0a/attachment.html 


More information about the ncl-talk mailing list