> I have had trouble with this as well. Is there any way to control this.
> In my case i had label bar label that were decimal for fractional numbers
> e.g. 12.34 and integer for whole number e.g. 13 vice 13.00 etc.
> ------------- Begin Forwarded Message -------------
> Date: Wed, 14 Aug 2002 15:03:26 -0500
> From: pat behling <pbehling AT facstaff.wisc.edu>
> Subject: color bar question
> To: Sylvia Murphy <murphys AT cgd.ucar.edu>
> MIME-version: 1.0
> Content-transfer-encoding: 7BIT
> Hi, this may have come up already, but we're having trouble, short of
> hard coding the values, how does one set the color bar numbers to
> scientific and or say xx.xx (2 decimal places)? We've figured out
> how to int them and are dynamically assigning values. but we can't
> figure out how to limit the decimal places or how to do scientific:
> res .CnMaxDataValueFormat = ".1f" does nothing. thanks, pb
I have to admit that this is one of my least favorite topics. :-)
Please be sure that you were using "cnMaxDataValueFormat", and not
"CnMaxDataValueFormat", if you are setting the resource within a
I have a hard time understanding how cnMaxDataValueFormat works, but
I'll see if I can come up with some examples, and post them here.
ncl-talk mailing list
ncl-talk AT ucar.edu
This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 20:52:59 MDT