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

Home » Public Forums » archive » Re: loading colors in tvscl
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: loading colors in tvscl [message #54559 is a reply to message #54556] Tue, 26 June 2007 10:42 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
kostis writes:

> I cant manage to display an array with tvscl using a color table taken
> by XLoadCT
> The table is loaded normally but i dont see any colors
> What's wrong with my routine?
> Any suggestions on this??
>
> LoadCT, 33
> for i=1,100 do begin
> image=congrid(bytscl(ARRAY[*,*,i]),500,500)
> tvscl,ROTATE(image,1)
> endfor

You might want to consider a routine like TVScale or
TVImage that is a little smarter at figuring out
what color decomposition model you want to be using:

http://www.dfanning.com/programs/tvscale.pro
http://www.dfanning.com/programs/tvimage.pro

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: error using statement: If.....then
Next Topic: Re: error using statement: If.....then

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

Current Time: Wed Oct 15 13:47:22 PDT 2025

Total time taken to generate the page: 1.28227 seconds