Re: [Matplotlib-users] add cirlce around lat lon

2011-12-07 Thread questions anon
thanks for the responses.
Sebastians suggestion to use tissot function is exactly what I needed.
map.tissot(lon, lat, r, 96)
thanks again

On Wed, Dec 7, 2011 at 6:36 PM, Thomas Lecocq thlec...@msn.com wrote:

  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


--
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


[Matplotlib-users] add cirlce around lat lon

2011-12-06 Thread questions anon
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
--
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


Re: [Matplotlib-users] add cirlce around lat lon

2011-12-06 Thread Benjamin Root
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


Re: [Matplotlib-users] add cirlce around lat lon

2011-12-06 Thread Thomas Lecocq

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