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

Home » Public Forums » archive » Orientation of 2-d plot
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: Orientation of 2-d plot [message #94109 is a reply to message #94107] Fri, 20 January 2017 07:24 Go to previous messageGo to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
On Thursday, January 19, 2017 at 7:17:54 PM UTC-6, Phillip Reid wrote:
> Hello,
> I'm trying to make a plot that is oriented at 90degrees to another plot on the same page.
> A command something like:
>
> plot,time,variable,position=position,orient=90
>
> would do the trick - only "orient" isn't a keyword.
>
> Any idea how this might be done?
> Thanks greatly.
> Phil

Just swap your variables:
t= LINDGEN(50)-25
x = t^2

p = PLOT(t, x, LAYOUT=[2, 1, 1])
p2 = PLOT(x, t, LAYOUT=[2, 1, 2], /CURRENT)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Looping through arrays
Next Topic: VELOVECT Procedure

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

Current Time: Wed Oct 08 18:23:52 PDT 2025

Total time taken to generate the page: 0.00580 seconds