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
|
|
|
Re: Landscape plots the other way up...? [message #1975 is a reply to message #1968] |
Tue, 19 April 1994 09:21  |
atmnjl
Messages: 5 Registered: January 1993
|
Junior Member |
|
|
> |> 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.
|
|
|
Re: Landscape plots the other way up...? [message #1980 is a reply to message #1975] |
Mon, 18 April 1994 10:28  |
runarj
Messages: 1 Registered: April 1994
|
Junior Member |
|
|
In article <1994Apr18.132603.22026@oxvaxd>, 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
I found a sample of the faq (using WWW) at
ftp://rtfm.mit.edu/pub/usenet/comp.lang.idl-pvwave/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-
Runar Jorgensen ||
University of Oslo || Phone: +47 2285 5663
Department of Physics || Telefax: +47 2285 5671
P.O.Box 1048 Blindern || email: runar.jorgensen@fys.uio.no
0313 Oslo; Norway ||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-
|
|
|