[Thread Prev][Thread Next][Index]

[ferret_users] format of numeric labels: 2.0 x 10^5 and xfor/yfor ?



Hi Ferreters,

I'm wondering if I can learn how the formatting machinery underlying
xfor/yfor works.  For example, outputs like "2.0 x 10^5" isn't
covered in the documentation of xfor:
http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/appendix-b-pplus-guide/COMMAND-DESCRIPTION#_VPID_747

For example, suppose that Ferret prints "2.0 x 10^5" by default
in the vertical axis of a plot by the PLOT command.  When you specify
"ppl yfor,(E8.0)" , you obtain "0.2 x 10^1" instead of
"2.0 x 10^5" . . . (The value 0.2 x 10^1 is even wrong!)
When you use "(1PE8.0)" , you obtain a correct "2. x 10^5".
The F format descriptor seems to be working as in the Fortran
language, but the E and G descriptors seem to show this strange
behavior.

The version of Ferret I use is

        NOAA/PMEL TMAP
        FERRET v6.07
        Linux(g77) 2.4.21-32 - 08/29/07
        28-Jan-08 15:35

Regards,
Ryo


[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement