[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xyouts with p.multi



"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/