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 #71999 is a reply to message #71912] Fri, 30 July 2010 08:35 Go to previous messageGo to previous message
David Grier is currently offline  David Grier
Messages: 35
Registered: July 2010
Member
On 7/30/10 11:03 AM, Paulo Penteado wrote:
> 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

Wow. Thanks. That was simple. Is the PUTDATA method documented?
It doesn't show up in idlhelp's search, and is not discussed in
the documentation for IMAGE.

This makes me wonder what else I'm missing.

Many thanks,

David
[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: Sun Apr 26 12:06:36 PDT 2026

Total time taken to generate the page: 0.90958 seconds