comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: howto select and deselect plotting windows?
items: Re: howto select and deselect plotting windows?

howto select and deselect plotting windows?
type: item
description: Dear idl users, I am looking for a way to select and deselect plotting windows, going back and forth between them. I mean I would like to select <window 0> plot, x1, y1 and then select <window 1> plot, t, s and then again select <window 0> oplot, x2, y2 How do I do this? I remember I read something like that a while ago, but now I cannot find it anymore... Many thanks to anybody would like to reply me
creator: simona bellavista
date: 2011-02-21T18:03:51-00:00

Re: howto select and deselect plotting windows?
type: item
description: Hi Simona, I would like to emphasize what was said by Jeremy & David (just to make sure the point is not going to be missed): Please do *not* plot something on window 1, plot something on window 2, then go back to 1 and do an overplot. This will most likely have disastrous consequences and give you a headache. I'd rather suggest you go swimming with sharks if you really like the thrill of doing something dangerous :) There are 3 ways of doing this properly: 1) (perhaps the simplest solution) switch the order of the plots plot on 1, oplot on 1, plot on 2 (you can accomplish this by saving the x and y position of the datapoints and only plotting when all is computed) 2) save and restore the graphic coordinates for each window plot on 1, save graphic coord of 1, plot on 2, restore graph coord of 1, oplot on 1 I would suggest not to do that as it is somewhat complicated. 3) use cg* routines as described by David & Jeremy Ciao, Paolo On Feb 21, 1:03 pm, simona bellavista <afy...@gmail.com> wrote: > Dear idl users, > > I am looking for a way to select and deselect plotting windows, going > back and forth between them. > I mean I would like to > > select <window 0> > plot, x1, y1 > > and then > > select <window 1> > plot, t, s > > and then again > > select <window 0> > oplot, x2, y2 > > How do I do this? I remember I read something like that a while ago, > but now I cannot find it anymore... > > Many thanks to anybody would like to reply me
creator: pgrigis
date: 2011-02-22T19:05:09-00:00