comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » annotations in a contour plot.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
annotations in a contour plot. [message #44381] Thu, 09 June 2005 08:01
Tim van Kempen is currently offline  Tim van Kempen
Messages: 2
Registered: June 2005
Junior Member
Hello all

I have a probably a simple question, but it has been bothering me for
days, and getting it just right is harder then i expected.

I have a program that calculates a certain number that is a double for
a grid of models.
> From these models, i need a contour plot with the right annotations in
the plot itself (c_annotations is the option i use)
The annotations are chosen according to the maximum and minimum number
of the grid.

But as the numbers are quite irregular i want to change the format, but
i don't seem to succeed.

Now the contour annotations look something like this

0.027
0.0635
0.142

or for very small numbers

1.26 x 10^-7

I want a format in which the number is displayed like this

2.7e-2
6.4e-2
1.4e-1

or for very small numbers
1.3e-7

I know the format i'd like (F5.2) , but each time idl changes it back.
Can anybody tell me how i can most easily force idl to take on the
second format

Thanks very much

Tim
[Message index]
 
Read Message
Previous Topic: problem restoring a save file from within a procedure
Next Topic: Different scales in the same plot

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 14:36:00 PDT 2025

Total time taken to generate the page: 1.19613 seconds