[ncl-talk] Contour Label Box

Kyle Griffin ksgriffin2 at wisc.edu
Wed Apr 6 16:12:33 MDT 2016


Ryan - I believe you're asking about the background fill for your labels
(although a small image demonstrating your issue would help). If so, you're
looking for the cnLineLabel* resources. You're dealing with the labels on
the lines in a contour plot (resource names are logical, even if they're
long!)

https://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLineLabelAngleF
(and
below)

You might also be interested in the effects of cnLabelMasking as well.

Hope that helps.


Kyle

On Wed, Apr 6, 2016 at 3:29 PM Dennis Shea <shea at ucar.edu> wrote:

> Did you assignit that option as an attribute?
>
> opts_th at cnInfoLabelOn = False
>
> Also, ????
>
>
> opts_th at ContourParameters
>         ?????????????????
>
>
>
>
> On Wed, Apr 6, 2016 at 1:58 PM, Ryan Connelly <rconne01 at gmail.com> wrote:
>
>> Nope, still there.
>>
>> On Wed, Apr 6, 2016 at 3:42 PM, Dennis Shea <shea at ucar.edu> wrote:
>>
>>> cnInfoLabelOn = False
>>>
>>> On Wed, Apr 6, 2016 at 1:27 PM, Ryan Connelly <rconne01 at gmail.com>
>>> wrote:
>>>
>>>> Hi, again,
>>>>
>>>> This time I'm trying to turn off the label box for my contours, but to
>>>> no avail.  Here's what I have, including what I thought would be two
>>>> redundancies (the color and thickness):
>>>>
>>>>   ; Plotting options for Equivalent Potential Temperature
>>>>         opts_th = opts_xy
>>>>         opts_th at cnInfoLabelOrthogonalPosF = 0.00
>>>>         opts_th at ContourParameters  = (/ 3. /)
>>>>         opts_th at cnLineLabelsOn = True
>>>>         opts_th at cnLineColor = "red"
>>>>         opts_th at cnLabelMasking = True
>>>>         opts_th at cnConstFLabelPerimColor = 0
>>>>         opts_th at cnConstFLabelPerimOn = False
>>>>         opts_th at cnConstFLabelPerimThicknessF = 0.
>>>>
>>>> But I still get label boxes.
>>>>
>>>> Thanks,
>>>> Ryan
>>>>
>>>> --
>>>> Ryan Connelly
>>>> M.S. Student in Atmospheric Sciences, Stony Brook University
>>>> B.S. in Meteorology with Minors in Mathematics and GIS, Valparaiso
>>>> University
>>>> rconne01 at gmail.com
>>>> ryan.connelly at stonybrook.edu
>>>>
>>>> _______________________________________________
>>>> ncl-talk mailing list
>>>> ncl-talk at ucar.edu
>>>> List instructions, subscriber options, unsubscribe:
>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>
>>>>
>>>
>>
>>
>> --
>> Ryan Connelly
>> M.S. Student in Atmospheric Sciences, Stony Brook University
>> B.S. in Meteorology with Minors in Mathematics and GIS, Valparaiso
>> University
>> rconne01 at gmail.com
>> ryan.connelly at stonybrook.edu
>>
>
> _______________________________________________
> 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/20160406/7092c431/attachment.html 


More information about the ncl-talk mailing list