Filled contours + labels of different color [message #63995] |
Tue, 25 November 2008 07:43  |
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  |
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  |
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
|
|
|