[ncl-talk] ncl-talk Digest, Vol 136, Issue 11

Duran, Patrick T pduran at albany.edu
Fri Mar 6 05:49:49 MST 2015


Frank,

This should help: https://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLineLabelsOn

Cheers,
Patrick
________________________________________
Message: 1
Date: Fri, 6 Mar 2015 07:36:48 +0000
From: Kreienkamp Frank <Frank.Kreienkamp at dwd.de>
Subject: [ncl-talk] lbLabelBarOn = False
To: "ncl-talk at ucar.edu" <ncl-talk at ucar.edu>
Message-ID:
        <24EC7203DE46D64B95497AB11E28209D018EB48F at OFWEXC22.win2003.dwd.de>
Content-Type: text/plain; charset="us-ascii"

Hello,

i have two plots attached. The difference between both is, that in the ncl-script for plot testmit.png the line:
resNatVar at lbLabelBarOn                   = False
is activated.
As a result:

1.        the labelbar is gone; that was intended

2.       I get those numbers on the plot (one example is highlighted with the blue circle); that was not intended
How can I remove those numbers? The numbers are part of the hatched plotting part.

I use ncl version 6.2.1.
The lines for plotting the hatched areas are:
   resNatVar                               = True
   resNatVar at gsnMaximize                   = True
   resNatVar at gsnDraw                       = False
   resNatVar at gsnFrame                      = False
   resNatVar at gsnLeftString                 = ""
;   resNatVar at lbLabelBarOn                   = False
   resNatVar at cnFillOn                      = True               ; color Fill
   resNatVar at cnLinesOn                     =  False             ; Turn off contour lines
   resNatVar at cnLevelSelectionMode          = "AutomaticLevels"
  resNatVar at cnFillMode                    = "AreaFill"       ; Raster Mode
   resNatVar at cnFillPattern                 = 17
   resNatVar at cnFillBackgroundColor         = -1
   resNatVar at cnInfoLabelOn        = False
   resNatVar at cnMonoFillColor               = True
   resNatVar at cnFillColor                   = "black"
   plot1                              = gsn_csm_contour(wks,u1,resNatVar)
   overlay(plot,plot1)

Thanks in advance
Frank
*****************************************


More information about the ncl-talk mailing list