[ncl-talk] Legend color?

Adam Phillips asphilli at ucar.edu
Fri Oct 2 09:56:13 MDT 2015


Hi Jonathan,
Add this to your lgres resource list:
lgres at lgMonoMarkerColor = True

and change this:
labels = ""
to this:
labels = (/"",""/) ; this will result in both legend labels being blank

If that does not fix your issue please let ncl-talk know.
Adam

On Thu, Oct 1, 2015 at 1:57 PM, jbuzan <jbuzan at purdue.edu> wrote:

> Hello NCL-Talk,
>
> My legend continues to call a color when I have no colormap:
>
>   lgres                    = True
>   lgres at lgItemType         = (/"Markers","Markers"/)        ; show lines
> only (default)
>   lgres at lgLabelFontHeightF = .08            ; legend label font thickness
>   lgres at vpWidthF           = 0.13           ; width of legend (NDC)
>   lgres at vpHeightF          = 0.10           ; height of legend (NDC)
>   lgres at lgPerimThicknessF  = 2.0            ; thicken the box perimeter
>   lgres at lgMonoDashIndex    = True
>   lgres at lgDashIndex        = 0
>   lgres at lgMarkerIndexes = (/14,12/)
>   labels = ""
>   legend = gsn_create_legend (wks, 2, labels,lgres)
>
>
> -Jonathan
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>


-- 
Adam Phillips
Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/   303-497-1726

<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151002/6b1e0638/attachment.html 


More information about the ncl-talk mailing list