Re: Object graphics keywords [message #11428] |
Fri, 03 April 1998 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Neil Winrow (ncw@dl.ac.uk) writes:
> Can anyone point me in the right direction. I have just started to learn
> about the IDL Object Graphics stuff.I have an object, a surface plot,
> and set the color red
>
> my_surf->SetProperty,color=[255,0,0]
>
> I can rotate the object, and would like the underside of the plot to be
> a different color:
>
> my_surf->SetProperty,bottom=[0,0,255]
>
> This doesn't seem to work, can anyone suggest a reason why.
My guess is that the destination object (i.e., your display)
is 8-bit and not 24-bit. This keyword only affects the under
color if the destination object is a RGB or 24-bit device.
Cheers,
David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|