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

Home » Public Forums » archive » Re: Y-axis label and hardware fonts
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: Y-axis label and hardware fonts [message #18528] Fri, 14 January 2000 00:00
davidf is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL Shareware
Next Topic: Y-axis label and hardware fonts

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

Current Time: Wed Oct 08 17:06:59 PDT 2025

Total time taken to generate the page: 0.00490 seconds