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

Home » Public Forums » archive » Re: SURFACE layout details
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: SURFACE layout details [message #58168 is a reply to message #58165] Mon, 21 January 2008 13:21 Go to previous messageGo to previous message
Bob[3] is currently offline  Bob[3]
Messages: 60
Registered: December 2006
Member
On Jan 21, 3:47 pm, David Fanning <n...@dfanning.com> wrote:
> Bob Crawford writes:
>> I tried to address Paula's 1) by using the SHADES keyword (adapting
>> your response):
>
>> IDL> shades=INTARR(200,200)+fsc_color('gray')
>> IDL> surface, dist(200), color=3Dfsc_color('black'), shades=3Dshades,
>> background=fsc_color('white')
>
>> but the wireframe comes out red.
>
>> Am I misusing fsc_color or shades?
>
> Well, SHADES is going to force you to have to use INDEXED
> color, rather than the DECOMPOSED color you are using now.
> This would work:
>
>   IDL> Device, DECOMPOSED=0, GET_DECOMPOSED=theState
>   IDL> shades=INTARR(200,200)+fsc_color('gray')
>   IDL> surface, dist(200),color=fsc_color('black'), $
>          shades=shades, background=fsc_color('white')
>   IDL> Device, DECOMPOSED=theState

I should've remembered - when you see red, think decomposed!

Thank you David!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Map Projection Book Review
Next Topic: IDLdoc 3.0 released

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

Current Time: Fri Oct 10 02:19:26 PDT 2025

Total time taken to generate the page: 1.20241 seconds