Re: Plot on Maps [message #39248] |
Sun, 02 May 2004 20:40 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Tianle Yuan writes:
> I have a set of samples that I devide into several categories according to
> their geographical locations. Now I want to produce a plot using some
> symble,say a circle filled with color,to represent each catagory and the
> area of the symble to represent the size of that catagory.
>
> I know how to creat a map contour, but I don't know how to do plots on top
> of that.
You want to use POLYFILL (and maybe PLOTS) to draw and
fill your circles. Here is an article that describes how
to create a filled circle in IDL:
http://www.dfanning.com/tips/make_circle.html
In the end, you will probably want to use the NASA Goddard
Astronomy Library routine TVCIRCLE. The article will tell
you where to get it. When you place the circles on your
map, be sure to use DATA coordinates.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|