comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » rotating plots
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: rotating plots [message #42365 is a reply to message #19076] Thu, 27 January 2005 18:16 Go to previous messageGo to previous message
war is currently offline  war
Messages: 21
Registered: December 2003
Junior Member
Rob wrote:
> Hi,
>
> Can anyone tell me an easy way in direct graphics to rotate a line plot
> counter-clockwise by 90 degrees so that the x axis is now in the
> positive y direction and the y axis is now in the negative x direction?
> Simply swapping the x and y vectors in the PLOT command doesn't quite
> do it.
>
> Thanks,
>
> Rob
>
Might help as a starting point

b=randomu(n,10)
x=indgen(10)
window, 0 & plot, x, b
window, 1 & plot, b, x, xrange= [1,0]

Andry
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Rotating plot
Next Topic: An IDL cron job, true color plots, Xvfb, Z-buffer, and all sorts of troubles

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 13:07:52 PDT 2025

Total time taken to generate the page: 2.63712 seconds