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

Home » Public Forums » archive » strange !P.multi[0] behavior??
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: strange !P.multi[0] behavior?? [message #86436 is a reply to message #86434] Thu, 07 November 2013 15:36 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
M Q writes:

> I created a structure, !pmap, that stores the !p, !x, !y, !z, and !map variables so that I could make some plots in one window, then open another window and make plots, and then go back to the first window to make more plots, starting where I left off. As I recall, it worked well.
>
> However, it doesn't work now, which means either my memory is faulty or else I made some changes that I don't recall. I've included the relevant code below.
>
> The point is that even though the program sub_pmap recalls the correct !p structure, that doesn't seem to affect the placement of plots. This is clear when you run the program.
>
> I'm at a loss as to what might be going on here. This is a capability which I found quite useful in the past and which I find that I need again in a big way.

You can't set both !P.Multi and !P.Position without getting the total
chaos you are experiencing. :-)

Comment this line out in Sub_PMap and things will work better for you:

; !pmap[k].p.position =[!x.window[0],!y.window[0],$
!x.window[1],!y.window[1] ]

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Adding x,y events to a 2d array (quickly)
Next Topic: modulo operator

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

Current Time: Wed Oct 08 13:55:44 PDT 2025

Total time taken to generate the page: 0.00445 seconds