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

Home » Public Forums » archive » Problem Plotting Symbols on a Map?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Problem Plotting Symbols on a Map? [message #4582] Tue, 06 June 1995 00:00
rdhunt is currently offline  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 _/_/_/
[Message index]
 
Read Message
Previous Topic: IDL 4.0 Mapping bug (Aitoff projection only)
Next Topic: get_kw_params in V4.0 - what's changed?

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

Current Time: Wed Oct 08 18:15:31 PDT 2025

Total time taken to generate the page: 0.00486 seconds