Re: Landscape plots the other way up...? [message #1968] |
Wed, 20 April 1994 06:49  |
thompson
Messages: 584 Registered: August 1991
|
Senior Member |
|
|
atmnjl@vax.oxford.ac.uk writes:
>> |> A friend of mine is producing postscript output from IDL with DEVICE,/LANDSCAPE
>> |> which rotates the plot through 270 degrees. However, he would prefer it to
>> |> rotate it through 90 degrees. Has anyone found a way to do this (without just
>> |> editing the postscript)?
>> |>
>> |> Thanks in advance
>> |>
>> |> Nathaniel Livesey
>> |> Dept. of Atmospheric Physics
>> |> Oxford, UK.
>>
>> You might find that Question/Answer 13 in the FAQ (eg comp.lang.idl-pvwave faq)
>> is what you need. I'm not gonna quote it, because several examples are given
>> and in addition there is a text page describing what is happening both when
>> you turn your plot on paper and screen
>>
> In fact Section 13 of the FAQ contains a question on 'Does case matter in IDL?'
> Section 14 mentions DEVICE,/LANDSCAPE but contains no information of any real
> use for the issue at hand.
> Has anyone got any better suggestions?
> Nathaniel Livesey
> Atmos, OX as above.
You might try something like the following:
!P.T = [[0,-1,0,1],[1,0,0,0],[0,0,1,0],[0,0,0,1]]
!P.T3D = 1
!P.NOCLIP = 1
Actually, rather than setting !P.NOCLIP=1, it would be better to calculate what
the correct coordinates for !P.CLIP would be, based on !P.XMARGIN, !P.YMARGIN,
!P.CHARSIZE, etc. I'll leave that part up to you to work out. :^)
Bill Thompson
|
|
|