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

Home » Public Forums » archive » Re: xyouts with p.multi
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: xyouts with p.multi [message #25198 is a reply to message #25196] Thu, 24 May 2001 14:52 Go to previous messageGo to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
"Christopher W. O'Dell" wrote:
>
> I am plotting six graphs on one page using !p.multi =
> [0,2,3]
> I am trying to put some text in the same place on each
> graph, by using
>
> xyouts, x, y, 'text', /norm
>
> after each graph is plotted. I would think, using /norm,
> that it would put the
> text *in that graph*; but it doesn't, it puts it in some
> crazy place. Does anyone know how
> to make xyouts position the text with respect to the most
> recently plotted graph in the current window?

By setting the NORMAL keyword, you are telling XYOUTS that the X and Y
coordinates are normalized, i.e., with respect to the entire display,
not just the current plot. You may have better luck plotting the text in
*data* coordinates, e.g.,

xyouts, x, y, 'text'

where x and y are selected relative to the x- and y-axes.

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: read Nexrad level 3 data
Next Topic: Density from scattered points

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

Current Time: Wed Oct 08 17:30:10 PDT 2025

Total time taken to generate the page: 0.02822 seconds