[Thread Prev][Thread Next][Index]
Re: Color bar data appearance problem
Hi Yogesh,
The default value of "klag_dig" (klab_dig is the number of significant
digits (klab_dig > 0) or decimal places (klab_dig < 0) in the key) is 3 and hence
the first 3 digits of your variable will be displayed. That is why the decimal
values are disappearing from your color key (rather than repeating the numeric
labels twice). Use "ppl SHAKEY" with correct "klag_dig"( in your
case 4 or -1 ; with /set qualifier to fill command) to get the key
labels with decimal values.
To find the usage of shakey refer user manual: Appendix C Sec2.12
Example :
---------
set data coads_climatology
set reg/x=100:300/y=-50:50/l=1
fill/levels=(295,306.5,0.5) sst+273.15
say " now the color key does not have decimal values "
message " let us see the default shakey values"
ppl list shakey
message " using ppl shakey (only klag_dig) to get the decimal
values"
fill/set/levels=(295,306.5,0.5) sst+273.15
ppl shakey , , , , 4, , , , , ! 4 ==> 4 significant digits
! OR
! ppl shakey , , , ,-1, , , , , ! -1 ==> 1 decimal place
ppl fill
Hope this helps
With Regards
Jaison
On Mon, 14 Jun 2004, Yogesh K. Tiwari wrote:
> Hello Ferret Users,
>
> When I fill any data with following command :-
>
> fill/nolab/lev=(370,382,0.5) data[k=19,l=1];go land
>
> the plot generated has the color bar values like :-
>
> 370, 371, 371, 372, 372, 373,373,...........,382,382
>
> the problem is the data is repeating two times.
>
>
>
> whereas the correct values should be like :-
>
> 370, 371, 371.5, 372, 372.5...........,382
>
>
> Can any person help me how to rmove this error .
>
> Thanks in advance,
>
> Yogesh
>
>
--
___________________________________________________
Jaison Kurian
Centre for Atmospheric and Oceanic Sciences
Indian Institute of Science
B A N G A L O R E 560 012
Ph: +91-80-3942505
+91-80-3600450
Fax:+91-80-3600865
___________________________________________________
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement