Re: axis label and tick facing [message #79767] |
Tue, 03 April 2012 11:11 |
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  |
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.")
|
|
|