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 #94119 is a reply to message #94109] Fri, 20 January 2017 14:45 Go to previous message
tasboy63 is currently offline  tasboy63
Messages: 2
Registered: January 2017
Junior Member
On Saturday, 21 January 2017 02:24:54 UTC+11, Phillip Bitzer wrote:
> 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)


D'oh! I can't believe I didn't try that!
Thanks Phillip (and wlandsman) for your replies.
In this instance swapping the variables (with a little jiggery pokery) works just fine.
Phil
[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: Sat Oct 11 10:13:27 PDT 2025

Total time taken to generate the page: 1.27651 seconds