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

Home » Public Forums » archive » cgGallery with function graphics
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: cgGallery with function graphics [message #87815 is a reply to message #87805] Thu, 27 February 2014 09:24 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> Also, I see you are using the color "purple" in the code. When I run the
> program, the contour lines are drawn in orange and every other contour
> line is so faint it is nearly invisible. Is this what you are seeing?

OK, I thought Coyote Graphics surely knows what the color "purple"
means, so I'll try this:

fgContour = Contour(data, /Current, C_Value=contourLevels, $
C_Color=cgColor('purple', /Triple, /Row), $
XTitle=xtitle, YTitle=ytitle, Title=title, C_Label_Show=1)

Now the contour lines are shown in three colors (none of them purple,
alas) and in different "shades". One is a faint oranage, one is a medium
density orange, and the third is a fairly dark brown. These three colors
appear to cycle though the contour lines. I wonder if they are using the
color triple as three indices into the color table?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to align two images IDL
Next Topic: Is a Class diagram of catalyst avaliable ?

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

Current Time: Fri Oct 10 15:30:21 PDT 2025

Total time taken to generate the page: 1.03654 seconds