[Thread Prev][Thread Next][Index]

Decimal digits in contour labels

I tried to change the number of decimal digits in the contour label of a
SHADE/LINE command and got unexpected results for some values.  Here is
what I did:

define axis/x=1:360:1 x360
define axis/y=1:225:1 y225
define grid/x=x360/y=y225 g360x225
file /var=rho/grid=g360x225/format=UNFORMATTED/COLUMNS=`360*225` rho
ppl shakey 1,1,0,0,-3
shade   /line/key/i=1:360/j=1:225/levels=(1.0,1.035,0.001,3) rho

The last argument in parenthesis in the /levels option should control
the number of decimal digits.  Indeed it works as documented with
-3,-1,0,1 and 2, but the contour labels disappeared if I used 3 or
more, as if I had used -3.  How can I have contour labels with three
decimal digits ?  The strange thing is that custom_contour_demo.jnl,
given in the $FER_DIR/examples directory, does the same thing and it

I tried to use PPL CONSET instead, with similar results.

I am using Ferret 4.3 on a SGI Indigo running IRIX 5.3.

Michel Beland                 beland@CERCA.UMontreal.CA
professionnel de recherche    tel: (514)369-5223  fax: (514)369-3880
CERCA (CEntre de Recherche en Calcul Applique)
5160, boul. Decarie, bureau 400(423), Montreal (Quebec), Canada, H3X 2H9 

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / ERL / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement