Re: Y-axis label and hardware fonts [message #18528] |
Fri, 14 January 2000 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Andy Loughe (loughe@fsl.noaa.gov) writes:
> When using hardware fonts, the label on the y-axis of my plots
> is not rotated 90 degrees as I would like. Short of using
> xyouts and the orientation keyword, is there a way to have
> that y-axis label rotated when using hardware fonts?
>
> example:
>
> !p.font=0
> plot,indgen(9*41),xtitle='Days in 2000',ytitle='Inflation Rate',/xs
>
> ; Y-axis label is difficult to read.
Try true-type fonts: !P.Font=1. I find the
default size a little small, so a usually set !P.Charsize
to something like 2.5 (Windows machines, to be sure).
Sometimes it still looks a little blocky on the display,
but what you see is almost exactly what you get when you
send it off to hardcopy, a distinct advantage.
Device, Set_Font='Times*Bold', /TT_Font
Plot, Findgen(11), YTitle='This is Example Text', Charsize=2.5, Font=1
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|