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

Home » Public Forums » archive » IDLgrImage image plot problem
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: IDLgrImage image plot problem [message #50382 is a reply to message #50303] Wed, 27 September 2006 05:45 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
yy writes:

> I just found that if I set the color table to be gray
> (i.e., oPalette -> LoadCT, 0), things will show up with
> the correct setting of VIEWPLANE_RECT. However,
> none of the other color tables works. I'm wondering if
> this is a problem with my IDL. But if that's the case,
> why does the direct graphic method, i.e., LOADCT,
> work well for all the color tables for the same data set?
> And why does the color table work for an array with
> dimensions [3, n, m]? I really have no clue about this.
> It seems that nobody had complained about displaying
> the IDL provided example, CenteringAnImage.pro.

Well, here is a completely wild guess. Are you by any
chance using a DIRECTCOLOR visual? If you are not using
a TRUECCOLOR visual, all bets are off with respect to
color behavior. :-)

Try this:

IDL> Help, /Device

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
Read Message
Read Message
Previous Topic: Re: Dereferencing a large array in a structure
Next Topic: Like SPLINE but does not go through all points

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

Current Time: Fri Oct 10 00:57:43 PDT 2025

Total time taken to generate the page: 1.84256 seconds