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

Home » Public Forums » archive » Re: print text sideways in a plot: XYOUTS
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: print text sideways in a plot: XYOUTS [message #41164] Mon, 27 September 2004 21:00
rdsheu is currently offline  rdsheu
Messages: 3
Registered: September 2004
Junior Member
You could use the T3D procedure to determine the transformation matrix
and apply the T3D keyword in XYOUTS procedure to active the
transformation.

Maybe you could try ANNOTATE procedure, too.

Rendy
Re: print text sideways in a plot: XYOUTS [message #41165 is a reply to message #41164] Mon, 27 September 2004 20:58 Go to previous message
rdsheu is currently offline  rdsheu
Messages: 3
Registered: September 2004
Junior Member
You could use the T3D procedure to determine the transformation matrix
and apply the T3D keyword in XYOUTS procedure to active the
transformation.

(Maybe you could try ANNOTATE procedure also)

Regards,
Rendy
Re: print text sideways in a plot: XYOUTS [message #41167 is a reply to message #41165] Mon, 27 September 2004 19:41 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"Yaj" <yajnaval@hotmail.com> writes:


> Hello,
>
> Is there a way in IDL to display text at an angle or sideways ? I am trying
> "xyouts" on a page which has multiple plots. The size of the text from
> xtitle or ytitle of any one plot is not enough, so need to use xyouts in
> large fonts for the title of the entire page, and also large fonts are
> required for the title of the y axis common to all the subplots etc. If I
> use "ytitle" specifying a certain larger character size, it enlarges the
> tick labels of the y-axis of that subplot, making it smaller than the other
> plots on the page.

Greetings--

My solution in these circumstances, is to plot all of the plots with
no Y title, and then put in an explicit XYOUTS call at the end to
label the Y axis. [ I suppose this is what you are trying to do, but
it's not totally clear. ]

The ORIENTATION keyword to XYOUTS allows you to specify an angle for
the text. It is documented.

Also, I often use XMARGIN or YMARGIN when I need to allow extra space
around a given plot.

Yours,
Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL 6.1 for SGI
Next Topic: model fitting

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

Current Time: Wed Oct 08 15:52:14 PDT 2025

Total time taken to generate the page: 0.00415 seconds