[ncl-talk] highs and lows font colors

Juan Carlos Anduckia janducki at yahoo.com
Fri Apr 13 18:06:22 MDT 2018


Hello again:
Still a very basic question. I'm trying to plot high and low-pressure centers in blue and red, respectively, by using cnHighLabelFontColor, but I don't see any effect at all. Am I using this resource in the wrong way?.This is the pertinent part of the code:
    ; Plotting options for SLP shades
       opts = res
       opts at cnFillOn = True
    ;  opts at cnFillColors = "BlueWhite"
    ;  opts at cnFillPalette = "BlueWhite"
       opts at FieldTitle= " "
    ;  opts at ContourParameters = (/900.,1050.,2./)
       opts at gsnSpreadColorEnd = -3
       gsn_define_colormap(wks,"WhiteBlue")
       contour_psl1 = wrf_contour(e1,wks,slp,opts)
       delete(opts)
    ; Plotting options for SLP Contours
       opts = res
       opts at cnLineColor = "Grey25"
       opts at cnHighLabelsOn = True
       opts at cnHighLabelPerimOn = False
       opts at cnHighLabelFontColor = "Blue"
       opts at cnLowLabelsOn = True
       opts at cnLowLabelFontColor = "Red"
       opts at FieldTitle = " "
    ;  opts at ContourParameters = (/ 900., 1050., 2. /)
       opts at cnLineLabelBackgroundColor = -1
       opts at gsnContourLineThicknessesScale = 1.0
       contour_psl2 = wrf_contour(e1,wks,slp,opts)
       delete(opts)

     ; MAKE PLOTS
       plot = wrf_map_overlays(e1,wks,(/contour_psl1,contour_psl2/),pltres,mpres)

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180414/ab457611/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: highaandlows.png
Type: image/png
Size: 181640 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180414/ab457611/attachment.png>


More information about the ncl-talk mailing list