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 #42363 is a reply to message #19076] Thu, 27 January 2005 18:24 Go to previous messageGo to previous message
Rob[1] is currently offline  Rob[1]
Messages: 5
Registered: January 2005
Junior Member
That's what I was looking for Andry. The simplicity speaks for
itself...especially when I just spent the last 1/2 hour working with
!P.T and T3D (and it still looked a lot worse than your solution).
Thanks!

Rob

Andry William wrote:
> 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: Sat Oct 11 08:17:34 PDT 2025

Total time taken to generate the page: 0.40106 seconds