Re: print text sideways in a plot: XYOUTS [message #41164] |
Mon, 27 September 2004 21:00 |
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  |
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  |
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
------------------------------------------------------------ --------------
|
|
|