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

Home » Public Forums » archive » xyouts with p.multi
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
xyouts with p.multi [message #25201] Thu, 24 May 2001 14:20 Go to next message
Christopher W. O'Dell is currently offline  Christopher W. O'Dell
Messages: 20
Registered: February 2001
Junior Member
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?

Chris O'Dell
Re: xyouts with p.multi [message #25313 is a reply to message #25201] Mon, 28 May 2001 10:01 Go to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
"Christopher W. O'Dell" <odell@cmb.physics.wisc.edu> writes:

> I am plotting six graphs on one page using !p.multi =
>
> 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?
>
> Chris O'Dell
>

Please file a feature request for a new coordinate system. DATA, NORMAL, and DEVICE are simply not enough, and it's always a pain if you have your beautiful plot set up for 1 panel on the page/window, and then you want to combine several panels to a page. Something like

XYOUTS, 0.5, 0.96, 'My title', /WINDOW, charsize=2.5

would be just wonderful. And if you want your title to appear across the page regardless of how many plots there are, you use NORMAL coordinates.

Cheers,

Martin

--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: SPAWN command bug
Next Topic: subscripts and superscripts in plot labels and titles ?

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

Current Time: Wed Oct 08 13:04:46 PDT 2025

Total time taken to generate the page: 0.00529 seconds