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

Re: Rotating tick labels in DG

Paul van Delst wrote:

> This may be an oft asked question but is there any way to rotate tick labels in direct
> graphics? I looked at the online help for all the various [xyz]tick... keywords, but
> nowhere was rotation mentioned (that I could see at least). I saw that the capability is
> available in OG which is not an option here (I just want to make a "quick" plot).

How about this?

plot, indgen(10), xtick_get=xtick, xtickname=replicate(' ', 30)
xyouts, xtick, !y.crange[0], string(xtick, format='(i)'), orient=90, align=1.0