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

Home » Public Forums » archive » Re: Colormap in idl -vm
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: Colormap in idl -vm [message #38684 is a reply to message #38683] Tue, 23 March 2004 14:16 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Yunxiang Zhang writes:

> I was not able to make the colormap work properly with idl virtual
> machine. The image always looks b/w and TVLCT defined color is always
> black.
>
> For example, LOADCT won't do anything and the following code gives me
> totally black screen. This happens only in virtual machine mode(Linux).
> :(
>
> TVLCT, [[0], [255], [31]], green
> PLOT, x, my_func, color=green
>
> Is it a common problem or I have to know some tricks here? Thanks!

I guess I would have tried this:

TVLCT, [[0], [255], [31]], green
DEVICE, Decomposed=0
PLOT, x, my_func, color=green

Does that work any better?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: changing button text for dialog_message
Next Topic: widget objects

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

Current Time: Mon Oct 13 13:53:43 PDT 2025

Total time taken to generate the page: 1.04025 seconds