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 #58170 is a reply to message #58169] Mon, 21 January 2008 12:47 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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 22:54:22 PDT 2025

Total time taken to generate the page: 1.67913 seconds