Problem Plotting Symbols on a Map? [message #4582] |
Tue, 06 June 1995 00:00 |
rdhunt
Messages: 6 Registered: January 1995
|
Junior Member |
|
|
I am having trouble drawing filled circles on a map in IDL 4.0.
Here is an example.
IDL> map_set, /CYLINDRICAL, /GRID, /CONTINENTS
IDL> a = 2*findgen(1+long(180))/!radeg
IDL> xx=180+10*cos(a)
IDL> yy=10*sin(a)
IDL> plots,xx,yy,/data
IDL> polyfill, xx, yy, /DATA
This should fill the circle which wraps around to the other side
of the map but it is doing the opposite. I think I know why it
happens but has anybody found a way to solve it?
Any help is greatly appreciated.
Rich
Richard D. Hunt
_/_/_/ _/ _/ _/ SANDIA NATIONAL LABORATORIES _/_/_/
_/ _/_/ _/ _/ P.O. Box 5800 _/_/
_/_/_/ _/ _/ _/ _/ Albuquerque, NM 87185-0965 _/_/_/_/_/_/
/ _/ _/_/ _/ Voice: (505)844-3193 _/ _/_/ _/
_/_/_/ _/ _/ _/_/_/_/ Fax: (505)844-5993 _/ _/_/ _/
E-Mail: rdhunt@sandia.gov _/_/_/
|
|
|