drawing a line segment wjhen using polar coordinates

The following produces an arc instead of a line. What am I
doing wrong?

ax = axes(polar=True,rmax=1.0)

polar([1,2],[0.2,0.3]) #or plot([1,2],[0.2,0.3])

You can pass "resolution=1" to the axes function. Unfortunately, when doing that you will lose the grid lines. This is a known bug.

Better yet, update to SVN trunk which does this by default and has working grid lines.

Mike

Yeates, Mathew C wrote:

···

The following produces an arc instead of a line. What am I doing wrong?

ax = axes(polar=True,rmax=1.0)

polar([1,2],[0.2,0.3]) #or plot([1,2],[0.2,0.3])

------------------------------------------------------------------------

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
  
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

Thanks. The svn trunk worked for me.

···

-----Original Message-----
From: Michael Droettboom [mailto:mdroe@…86…]
Sent: Wednesday, June 17, 2009 9:27 AM
To: Yeates, Mathew C
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] drawing a line segment wjhen using polar coordinates

You can pass "resolution=1" to the axes function. Unfortunately, when
doing that you will lose the grid lines. This is a known bug.

Better yet, update to SVN trunk which does this by default and has
working grid lines.

Mike

Yeates, Mathew C wrote:

The following produces an arc instead of a line. What am I doing wrong?

ax = axes(polar=True,rmax=1.0)

polar([1,2],[0.2,0.3]) #or plot([1,2],[0.2,0.3])

------------------------------------------------------------------------

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
  
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA