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

Home » Public Forums » archive » MATLAB to IDL converter?
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: Matlab to IDL [message #36626 is a reply to message #12606] Sat, 11 October 2003 13:38 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
dino nicola writes:

> Here is the IDL script:
>
> file='c:\pcon_1.sdt'
> rad=fltarr(1024,512)
> openr,lun,file,/get_lun
> point_lun,lun,0
> readu,lun,rad
> close,lun
> device,decomposed=0
> loadct,0
> tv,rad
> end
>
>
> Anybody can help me? thanks!

I'd try using TVSCL rather than the TV command. With
floating point data, the chance of it already being
scaled into the range of 0 to 255 is slim. :-)

Cheers,

David


--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Histogram tricks in matlab?
Next Topic: Re: itools error

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

Current Time: Wed Oct 08 18:38:44 PDT 2025

Total time taken to generate the page: 0.00409 seconds