Re: Mapping questions [message #31254 is a reply to message #31177] |
Wed, 26 June 2002 08:17  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
NSTSMT (nstsmt@aol.com) writes:
> Thanks for the help. I made some progress, using direct graphics, and think
> that I know what I need to do to get the zooming working. For item 2, I dont
> want to actually display the image, but rather put a plot of the area of
> coverage on the map. I think I figured this out also.
>
> For the ellipse, I am still having trouble. I looked at the ellipse program
> that you suggested, and I can not get it to work. I am misunderstanding what
> input to give it. What I tried to do was give it the end points of the major
> axis, and the minor axis, but that didnt seem to work. Any suggestions?
It needs the radius of the ellipse in the two directions. The
code in my program looks like this:
ELLIPSE, lonradius, latradius, 0, 0, 360, $
centerLon, centerLat, Color=black
Here lonradius and latradius is the distance from the
edge of the ellipse to the center, in degrees. There is
0 degree tilt to the ellipse, I'm drawing from 0 to 360 degrees
around the ellipse, and I specify the center lat and lon of the
ellipse in degrees.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|