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

Home » Public Forums » archive » Re: annotations in a contour plot.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: annotations in a contour plot. [message #44367] Fri, 10 June 2005 01:01
Tim van Kempen is currently offline  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 Go to previous message
caitouer is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: MacTel
Next Topic: Re: Plot in wavelength and energy axes

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

Current Time: Wed Oct 08 17:37:20 PDT 2025

Total time taken to generate the page: 0.00478 seconds