[ncl-talk] Dropping a Zero

Barry Lynn barry.h.lynn at gmail.com
Mon Jul 8 20:17:52 MDT 2019


Hi Rick:

You are correct.  It works now, Thank you.

  res1 at lbTitlePosition  = "Top"               ; title position

  res1 at lbTitleFontHeightF= .020               ; make title smaller

  res1 at lbTitleDirection = "Across"            ; title direction

  res1 at cnExplicitLabelBarLabelsOn = "True"

  res1 at lbLabelStrings =
(/"0.0","0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8"/)

On Mon, Jul 8, 2019 at 11:10 PM Rick Brownrigg <brownrig at ucar.edu> wrote:

> Hi Barry,
>
> You might need to set this resource to True:
>
> *cnExplicitLabelBarLabelsOn*
>
>
> http://ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnExplicitLabelBarLabelsOn
>
> Hope that helps...
> Rick
>
> On Mon, Jul 8, 2019 at 11:45 AM Barry Lynn via ncl-talk <ncl-talk at ucar.edu>
> wrote:
>
>> Hello:
>>
>> I am trying to add a 0 in front of my decimal fractions along the label
>> bar.  I explicitly wrote them out, but the 0 still drops.
>>
>> Thank you,
>>
>> 0) res1 at lbLabelStrings = 0.0
>>
>> (1) res1 at lbLabelStrings = 0.1
>>
>> (2) res1 at lbLabelStrings = 0.2
>>
>> (3) res1 at lbLabelStrings = 0.3
>>
>> (4) res1 at lbLabelStrings = 0.4
>>
>> (5) res1 at lbLabelStrings = 0.5
>>
>> (6) res1 at lbLabelStrings = 0.6
>>
>> (7) res1 at lbLabelStrings = 0.7
>>
>> (8) res1 at lbLabelStrings = 0.8
>>
>> --
>> Barry H. Lynn, Ph.D
>> Senior Associate Scientist, Lecturer,
>> The Institute of the Earth Science,
>> The Hebrew University of Jerusalem,
>> Givat Ram, Jerusalem 91904, Israel
>> Tel: 972 547 231 170
>> Fax: (972)-25662581
>>
>> C.E.O, Weather It Is, LTD
>> Weather and Climate Focus
>> http://weather-it-is.com
>> Jerusalem, Israel
>> Local: 02 930 9525
>> Cell: 054 7 231 170
>> Int-IS: x972 2 930 9525
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

-- 
Barry H. Lynn, Ph.D
Senior Associate Scientist, Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190709/8cd80e0b/attachment.html>


More information about the ncl-talk mailing list