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

Home » Public Forums » archive » Re: iTools questions
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: iTools questions [message #36278 is a reply to message #36277] Tue, 02 September 2003 11:25 Go to previous messageGo to previous message
Chris[2] is currently offline  Chris[2]
Messages: 39
Registered: August 2003
Member
Hi Mark,

Not sure if you already discovered this, but you can also simply use an
overplot:

iimage, dist(100)
iimage, dist(256), /overplot

This will add the second image to the window. It will appear on top of the
first, so you would need to do an Edit->Ordering->Send to back to make the
first one reappear.

Now, if you want to *replace* the first image, you could simply do:

iimage, dist(100)
iimage, dist(256), /view_next

The "view_next" keyword places the resulting image into the next available
view in a gridded view layout. Since you only have 1 view, it just replaces
the original image.

If you look up iimage in the IDL Reference Guide, you can read the docs for
the OVERPLOT, VIEW_GRID, VIEW_NEXT, and VIEW_NUMBER keywords.

-Chris Torrence
Research Systems, Inc.


"Mark Rivers" <rivers@cars.uchicago.edu> wrote in message
news:62c206f3.0308281405.3b04c494@posting.google.com...
> I've started to work with the iTools, and they look great. I have a q
> question I wonder if anyone can help me with.
>
> If I create an instance of an iTool, for example, iImage, how can I
> force the iTool to display a new data set from my application (or from
> the IDL command line for that matter)? For example:
> IDL> a = dist(100)
> IDL> iImage, a, ident=id
> IDL> b = dist(256)
>
...
> Cheers,
> Mark Rivers
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: how to get the index of the maximum element in each row for a 2D matrix efficiently
Next Topic: matchup of Map_set & contour

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

Current Time: Fri Oct 10 15:47:18 PDT 2025

Total time taken to generate the page: 1.12546 seconds