Dear,




you can try my tutorial to achieve this properly : 
http://www.geophysique.be/2011/02/20/matplotlib-basemap-tutorial-09-drawing-circles/





Cheers,





Thom





ps : on the "things to do when I have some time" list : commit a method to the 
default basemap package to do this...


Date: Tue, 6 Dec 2011 21:23:18 -0600
From: ben.r...@ou.edu
To: questions.a...@gmail.com
CC: Matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] add cirlce around lat lon



On Tuesday, December 6, 2011, questions anon <questions.a...@gmail.com> wrote:
> I would like to draw a simple circle around a specified latitude and 
> longitude but I cannot find an appropriate command.

> I have tried using
> map.drawgreatcircle(myLON, myLAT,myLON, myLAT, linewidth=20,color='k')
> but this doesn't do anything
> or even
> map.drawgreatcircle(myLON+1, myLAT+1,myLON-1, myLAT-1, linewidth=2,color='k')

> and this appears to draw a line.
> Any other commands I could try for this?
> thanks in advance
>

drawgreatcircle() doesn't actually draw a circle, but rather an arc that 
represents the shortest distance between two points on the globe.


Maybe you would rather use a Circle object?

Ben Root

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users                   
                  
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to