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

Home » Public Forums » archive » IDL Colorbar generation question
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 Colorbar generation question [message #49330 is a reply to message #49146] Thu, 13 July 2006 01:07 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
britneys@ucla.edu writes:

> Thanks for all the help. I have one more question about the colorbar
> routine you've built. When I've used the call as above, I end up with
> a color bar where the first tenth or so of the bar is just vertical
> lines in a number of colors and the rest of the bar is as it should be.
> ANy idea why this would happen?

The Colorbar routine just loads the colors in the current
color table. If there are colored lines there, then I presume
this arise from colors that have been loaded into the color
table. (Perhaps drawing colors for something else, would be
my guess.) You might have to refresh the color table before
you call the Colorbar procedure with the colors you want
to see displayed.

If the problem is drawing colors, you can avoid loading them
in the color table by using decomposed color (Device, Decomposed=1)
and using FSC_COLOR to select drawing colors.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
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: Re: IDLWAVE Mac OS X
Next Topic: negation operator

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

Current Time: Wed Oct 08 19:56:43 PDT 2025

Total time taken to generate the page: 0.00440 seconds