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

Home » Public Forums » archive » Re: axis label and tick facing
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 and tick facing [message #79767] Tue, 03 April 2012 11:11
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> cgaxis, yaxis=15

Whoops! That's weird, although it probably works. Should
be yaxis=1.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: axis label and tick facing [message #79768 is a reply to message #79767] Tue, 03 April 2012 11:09 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Zhang Bo writes:

> When using AXIS, for example for y-axis, the label is always on the
> right and the ticks are on the left. Is there a way to switch the
> ticks to the right in AXIS?

cgplot, indgen(11), ystyle=8, position=[0.1, 0.1, 0.85, 0.9]
cgaxis, yaxis=15, yrange=[0,100], /Save, YTicklen=-0.02

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: axis label and tick facing
Next Topic: Undefined Variable: DC_Write_Fixed/DC_Write_Free - PV WAVE

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

Current Time: Wed Oct 08 18:52:55 PDT 2025

Total time taken to generate the page: 0.00405 seconds