[ncl-talk] Label string

G.Monte at isac.cnr.it G.Monte at isac.cnr.it
Mon Sep 24 08:46:28 MDT 2018


Dears all,
I had a contouring map with a 100-spaced intervals in the label bar, so I
decided to set a label string with four/five labels in some rapresentative
positions of this bar. Here the commands I used (in NCL 6.4.0):

cnExplicitLabelBarLabelsOn = True
lbLabelBarOn               = True
lbLabelsOn                 = True
lbBoxLinesOn               = False
lbBoxSeparatorLinesOn      = False
lbLabelStrings             = (/"100","150","200","250"/)

The script did run, but only the first value of my label string was
written, while I had Label_21, Label_42, Label_63, Label_84 for the
others. Moreover, I realized that even if I set the first value at 150, it
is placed at the same position where the previous one was. I just cannot
understand where the problems are.

Giulio Monte





More information about the ncl-talk mailing list