Re: annotations in a contour plot. [message #44367] |
Fri, 10 June 2005 01:01 |
Tim van Kempen
Messages: 2 Registered: June 2005
|
Junior Member |
|
|
Hey Caitouer
That does seem to work very well. I use Unix, and if i set '(E11.1)'
instead of '(E11.4)' is automatically rounds to the correct value and
still displays well.
Thanks!
Tim
|
|
|
Re: annotations in a contour plot. [message #44373 is a reply to message #44367] |
Thu, 09 June 2005 09:22  |
caitouer
Messages: 21 Registered: June 2005
|
Junior Member |
|
|
I tried something there. It did not get the exact thing you want. I
could only put e11.4 in your annotation. I could not shorten the
length. Maybe there is better way do this.
First, you specify the levels (in float format).
E.g. m_levels=[5.0, 10.0, 20.0, 35.0]
Second, convert levels into a string array and save it. (You need to
specify the format you want to use. It seems you have to set w is
larger than 11 and d larger 4 in E[w.d] format in WINDOWS. I do not
know if you could set smaller w and d in UNIX.).
E.g. m_annotation=STRING(format='(E11.4)',m_levels)
When you plot contours, add level=m_levels, annotation=m_annotation.
Sorry, I do not know other way to set a shorter length.
Hope it could be of some help.
Caitouer
|
|
|