[ncl-talk] add scale factor to label bar

Kyle Griffin ksgriffin2 at wisc.edu
Thu Oct 29 16:35:00 MDT 2015


Try looking for the label bar title resources:
lbTitleXXXXX

lbTitleString is what you would use to set the string that typically
contains units. If you scale, you could easily force the units to contain a
"x10^4 m" type units.

If you need to alter the labels on the label bar itself, you should look
for resources like
lbLabelXXXXX

Good luck.


Kyle

----------------------------------------
Kyle S. Griffin
Department of Atmospheric and Oceanic Sciences
University of Wisconsin - Madison
Room 1407
1225 W Dayton St, Madison, WI 53706
Email: ksgriffin2 at wisc.edu

On Thu, Oct 29, 2015 at 2:43 PM, Dong, Bo <bdong at albany.edu> wrote:

> Dear All,
>
>
> I have a question regarding the value control of the label bar. As my data
> range from -7000 to 7000, instead of displaying the label bar with labels
> of [-7000, -6000, .....6000, 7000], I was trying to display it as [-7, -6,
> ....6, 7] and add a scale factor of 10^3 (10 to the 3rd power) to the upper
> right corner outside the labelbar. I did some search on the NCL webpage but
> with no luck.  Does anyone have ideas about the solution? Thanks!
>
>
> regards,
>
> Bo
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151029/0eb8af8f/attachment.html 


More information about the ncl-talk mailing list