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

Home » Public Forums » archive » Filled contours + labels of different color
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Filled contours + labels of different color [message #63995] Tue, 25 November 2008 07:43 Go to next message
MichaelT is currently offline  MichaelT
Messages: 52
Registered: May 2006
Member
Dear all,

today I tried to do something very simple (I am using IDL 7.0): I have
filled contours of different colors (c_colors=...). I also added
labels. Those labels, however, are now also in the colors of the
filled contours - so you cant see them. Changing "color=" did not
help.

So how can I plot labels of a certain color + filled contours? If
there is a two step process, I do not mind: Eg. first plot the filled
contours without labels and then the labels with a different color
(white) - but without additional contours! I was unable to come up
with a solution... Is it too obvious for me to see?

Thanks,
Michael
Re: Filled contours + labels of different color [message #64106 is a reply to message #63995] Wed, 26 November 2008 11:09 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
MichaelT writes:

> Yes that is what I did. Only I do not want the additional white lines
> of the second contour plot, just the white labels. Is that possible in
> any way?

I don't think so, not in direct graphics, where you do
not have access to the contour labels.

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.")
Re: Filled contours + labels of different color [message #64107 is a reply to message #63995] Wed, 26 November 2008 10:25 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
MichaelT wrote:
> Hi David!
>
>> Typically, you draw the filled contours, and then overplot
>> the contour lines:
> Yes that is what I did. Only I do not want the additional white lines
> of the second contour plot, just the white labels. Is that possible in
> any way?
>
> Background is that I want to overlay contour lines of another data set
> on the filled contours. So if you have the lines from the first data
> set + those of the second, the plot gets pretty crowded.
>
> Thanks, Michael

re-plot the contour lines, in color, without the label...

Jean
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Filled contours + labels of different color
Next Topic: Re: Having trouble with code for data to image.

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

Current Time: Wed Oct 08 19:43:48 PDT 2025

Total time taken to generate the page: 0.00443 seconds