[Thread Prev][Thread Next][Index]
Re: Color bar data appearance problem
Hello Jaison,
Many thanks for the suggation.
It works fine, but still there is one technical error.
If I keep the key positioning like :
ppl shakey 1, 1, 0.10, 0, -1, 9, 0, 0.12, 0.12
fill/nolab/lev=(370,382,0.5) sst+348;go land
means the lab_size here is 0.10 and it works fine.
BUT when I increase the lab size to 0.15 and put the key like :-
ppl shakey 1, 1, 0.10, 0, -1, 9, 0, 0.12, 0.12
then again the decimal place disappears.
Whether I kept the other keys with wrong numbers in key positioning
or there is any other reason.
I want to use lab_size = 0.15 in any case.
Thnaks for your further help.
Regards,
Yogesh
Kurian wrote:
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
--
===========================================
Yogesh K. Tiwari,
Max-Planck Institute for Biogeochemistry,
Postfach 10 01 64, D-07701 Jena,
Germany
Office : +49 3641 576376
Fax : +49 3641 577300
Home : +49 3641 672232
Mobile : +49 1736988789
e-mail : yogesh.tiwari@bgc-jena.mpg.de
===========================================
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement