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

Home » Public Forums » archive » IDL 8.0: How to update IMAGE data?
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: IDL 8.0: How to update IMAGE data? [message #72004 is a reply to message #71912] Fri, 30 July 2010 08:03 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jul 30, 5:06 am, David Grier <david.gr...@nyu.edu> wrote:
> Dear Folks,
>
> I'd like to update the data in an IDL 8.0 IMAGE graphic.
> What's the "right" way to do this?
>
> I've been doing things like
>
> a = dist(256)
> b = -a
> im = image(a)
> im = image(b,/OVERPLOT)
>
> which works, but just feels wrong to me.
>
> I was expecting to be able to do things like
>
> im = image(a)
> im.DATA = b
>
> and have the image update properly.  But apparently
> I'm missing something, and this doesn't work.
>
> Any thoughts?
>
> TTFN,
>
> David

im.putdata,b
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Don't Extrapolate with GRID3 (or cut off excess)
Next Topic: Do we need PTR_FREE anymore?

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

Current Time: Thu Dec 04 04:50:17 PST 2025

Total time taken to generate the page: 0.01334 seconds