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

Home » Public Forums » archive » Re: axis label fontsize vs. tick label size
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: axis label fontsize vs. tick label size [message #15895] Mon, 21 June 1999 00:00
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
noymer@my-deja.com wrote:
>
> I am making some simple xy scatterplots. I would like to make
> the y-axis label bigger (ie larger fontsize), but I don't want
> to change the size of the tick labels.
>
> YCHARSIZE=xxx seems to change both in my experiments. Is that
> correct?
>
> One possibility would be to add the axis label separately using
> XYOUTS or ANNOTATE, but in this case the text-box would have to
> be rotated to make it look like a y-axis label. For this reason
> it seems like a lot of work, though maybe it's not so bad as it
> seems?
>
Well, it's not that bad!

To give you a fairly general solution:

; create your plot
plot,findgen(10) ; ...other keywords

; get coordinates for label
cx = !x.window[0] - 0.06 ; value depends on width of
; tickmark labels
cy = total(!y.window)/2.

; produce the ytitle
xyouts,cx,cy,'My title',/NORM,charsize=2., $
align=0.5,orientation=90


Good luck,
Martin

--

|||||||||||||||\\\\\\\\\\\\\-------------------///////////// //|||||||||||||||
Martin Schultz, DEAS, Harvard University, 29 Oxford St., Pierce 109,
Cambridge, MA 02138 phone (617) 496 8318 fax (617) 495 4551
e-mail mgs@io.harvard.edu web http://www-as/people/staff/mgs/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: undefined procedure problem
Next Topic: Re: bug in EIGENQL ?

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

Current Time: Thu Oct 09 22:56:15 PDT 2025

Total time taken to generate the page: 0.23987 seconds