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

Home » Public Forums » archive » Label orientation
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
Label orientation [message #87031] Sun, 29 December 2013 20:37 Go to next message
Gompie is currently offline  Gompie
Messages: 76
Registered: August 2012
Member
Hi,
I use
cgplot,scan,r_mean,yrange=[-0.7,0.3],xrange=[0,60],charsize= 1.6,charthick=2.2, title=TTITLE,BACKGROUND = 255, YTITLE=textlabel,XTITLE='SATZA',COLOR = 192,symsize=1.5, thick=2.3,min_value=-50

to plot.
in this yaxis label shows vertical which is correct
However when I try to fiddle with fonts and type these four lines before the cgplot command stated above.

!P.FONT=1
!P.CHARSIZE=3
!P.CHARTHICK=5
!P.BACKGROUND=255
!P.COLOR=0
!P.THICK=3

charecters of my yaxis label are turned 90deg like this
A
X
I
S
instead of writting AXIS vertically.

How do I retain the vertical axis when i use these fonts.
GlanPlon
Re: Label orientation [message #87032 is a reply to message #87031] Sun, 29 December 2013 21:08 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gompie writes:

> I use
> cgplot,scan,r_mean,yrange=[-0.7,0.3],xrange=[0,60],charsize= 1.6,charthick=2.2, title=TTITLE,BACKGROUND = 255, YTITLE=textlabel,XTITLE='SATZA',COLOR = 192,symsize=1.5, thick=2.3,min_value=-50
>
> to plot.
> in this yaxis label shows vertical which is correct
> However when I try to fiddle with fonts and type these four lines before the cgplot command stated above.
>
> !P.FONT=1
> !P.CHARSIZE=3
> !P.CHARTHICK=5
> !P.BACKGROUND=255
> !P.COLOR=0
> !P.THICK=3
>
> charecters of my yaxis label are turned 90deg like this
> A
> X
> I
> S
> instead of writting AXIS vertically.
>
> How do I retain the vertical axis when i use these fonts.

I don't think that is what happens when you use those commands. :-)

I think this is what happens when you set !P.FONT=0 and use hardware
fonts, which don't rotate. Hershey fonts (!P.Font=-1) and True-Type
fonts (!P.Font=1) both rotate correctly.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: Label orientation [message #87049 is a reply to message #87032] Mon, 30 December 2013 21:36 Go to previous message
Gompie is currently offline  Gompie
Messages: 76
Registered: August 2012
Member
Thanks !!!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Clipping shade_surf
Next Topic: variable value

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

Current Time: Wed Oct 08 15:49:11 PDT 2025

Total time taken to generate the page: 0.00491 seconds