[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to display ytitle on the right side of the figure box?



qp (ok_66@hotmail.com) writes:

> IDL usually displays the ytitle on the left side the figure box.
> I am wondering how to plot the ytitile on the opposite side,
> the right side, of the figurre box.  Thanks !

Like this:

IDL> Plot, findgen(11), YStyle=4, Position=[0.15, 0.15, 0.85, 0.95]
IDL> Axis, YAxis=0, YTickFormat='(A1)'
IDL> Axis, YAxis=1, YTitle='This is the Y Title'

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