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 #42366 is a reply to message #19076] Thu, 27 January 2005 18:13 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Rob writes:

> 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.

The simplest way (used by a lot of astrophysicists, it turns
out) is to output to PostScript instead of to the display,
then just give the page a sort of "twist". Or, alternatively,
I think you can crink your neck around a quarter turn.

But that is about the size of it in IDL, I'm afraid. ;-(

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[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 18:40:17 PDT 2025

Total time taken to generate the page: 1.36046 seconds