Re: transparent colours for filling contours? [message #26228 is a reply to message #26225] |
Tue, 14 August 2001 06:06  |
david[2]
Messages: 100 Registered: June 2001
|
Senior Member |
|
|
Ann Webber writes:
> I am plotting contours over a map and I was wondering if there was a
> way of filling the contours so that I can still see the map
> underneath? i.e. I want to be able to see country boundaries
> underneath the filled contours. Is there a colour table that contains
> sone transparent colours? Or is this completely impossible to do?
Typically, the country boundaries are placed on
top of the filled contours so they can be seen
(I.e., the Map_Continents and/or Map_Grid commands
are used after the Contour command).
But it is possible to make semi-transparent colors by
pixelating the colors, so that only half of them are
drawn, allowing the colors underneath to show through.
You can see an example in this article:
http://www.dfanning.com/tips/color_overlay.html
But this would be a heck of a lot of work for a
filled contour plot, and I'm not sure the results
would justify the effort. The country lines are
almost sure to look too washed out.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|