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

Home » Public Forums » archive » Re: simple IDLgrImage 4xNxM problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: simple IDLgrImage 4xNxM problem [message #65821] Thu, 26 March 2009 12:00
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
ok, I found the problem....

a = BYTARR(4,100,100)
a[0,*,*] = 255b
a[3,*,*] = 255b

image->SetProperty, DATA=a, BLEND_FUNCTION=[3,4], $
LOCATION=[50,50], DIMENSIONS=[125,125]

Cheers,
llo
Re: simple IDLgrImage 4xNxM problem [message #65822 is a reply to message #65821] Thu, 26 March 2009 11:42 Go to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Sorry, the data definition is :

data=FLTARR(4,125,125)
data[0,*,*]=255
data[3,*,*]=0.5

The example doesn't works. Why ???
Thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: simple IDLgrImage 4xNxM problem
Next Topic: IDL - EXP fitting function

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

Current Time: Fri Oct 10 11:43:22 PDT 2025

Total time taken to generate the page: 1.59976 seconds