From: <md...@us...> - 2007-10-23 14:23:21
|
Revision: 3981 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3981&view=rev Author: mdboom Date: 2007-10-23 07:23:19 -0700 (Tue, 23 Oct 2007) Log Message: ----------- Decreasing polar interpolation resolution. Modified Paths: -------------- branches/transforms/lib/matplotlib/projections/polar.py Modified: branches/transforms/lib/matplotlib/projections/polar.py =================================================================== --- branches/transforms/lib/matplotlib/projections/polar.py 2007-10-21 21:19:51 UTC (rev 3980) +++ branches/transforms/lib/matplotlib/projections/polar.py 2007-10-23 14:23:19 UTC (rev 3981) @@ -151,7 +151,7 @@ def refresh(self): return self.base.refresh() - RESOLUTION = 100 + RESOLUTION = 50 def __init__(self, *args, **kwargs): """ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <md...@us...> - 2007-10-26 18:04:53
|
Revision: 4018 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4018&view=rev Author: mdboom Date: 2007-10-26 11:04:51 -0700 (Fri, 26 Oct 2007) Log Message: ----------- Fix polar plot title so it doesn't clash with 90 degree value. Modified Paths: -------------- branches/transforms/lib/matplotlib/projections/polar.py Modified: branches/transforms/lib/matplotlib/projections/polar.py =================================================================== --- branches/transforms/lib/matplotlib/projections/polar.py 2007-10-26 18:00:23 UTC (rev 4017) +++ branches/transforms/lib/matplotlib/projections/polar.py 2007-10-26 18:04:51 UTC (rev 4018) @@ -175,6 +175,8 @@ self.grid(rcParams['polaraxes.grid']) self.xaxis.set_ticks_position('none') self.yaxis.set_ticks_position('none') + + self.title.set_y(1.06) def _set_lim_and_transforms(self): self.dataLim = Bbox.unit() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <md...@us...> - 2007-11-13 16:08:34
|
Revision: 4247 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4247&view=rev Author: mdboom Date: 2007-11-13 08:08:33 -0800 (Tue, 13 Nov 2007) Log Message: ----------- Bugfix for polar plots. Modified Paths: -------------- branches/transforms/lib/matplotlib/projections/polar.py Modified: branches/transforms/lib/matplotlib/projections/polar.py =================================================================== --- branches/transforms/lib/matplotlib/projections/polar.py 2007-11-13 16:08:24 UTC (rev 4246) +++ branches/transforms/lib/matplotlib/projections/polar.py 2007-11-13 16:08:33 UTC (rev 4247) @@ -357,8 +357,9 @@ set_rgrids.__doc__ = cbook.dedent(set_rgrids.__doc__) % kwdocd - def set_xscale(self, *args, **kwargs): - raise NotImplementedError("You can not set the xscale on a polar plot.") + def set_xscale(self, scale, *args, **kwargs): + if scale != 'linear': + raise NotImplementedError("You can not set the xscale on a polar plot.") def set_xlim(self, *args, **kargs): # The xlim is fixed, no matter what you do This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <md...@us...> - 2007-12-17 18:29:10
|
Revision: 4761 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4761&view=rev Author: mdboom Date: 2007-12-17 10:29:04 -0800 (Mon, 17 Dec 2007) Log Message: ----------- Minor speed improvement Modified Paths: -------------- branches/transforms/lib/matplotlib/projections/polar.py Modified: branches/transforms/lib/matplotlib/projections/polar.py =================================================================== --- branches/transforms/lib/matplotlib/projections/polar.py 2007-12-17 18:28:03 UTC (rev 4760) +++ branches/transforms/lib/matplotlib/projections/polar.py 2007-12-17 18:29:04 UTC (rev 4761) @@ -310,7 +310,7 @@ ACCEPTS: sequence of floats """ angles = npy.asarray(angles, npy.float_) - self.set_xticks((angles / 180.0) * npy.pi) + self.set_xticks(angles * (npy.pi / 180.0)) if labels is not None: self.set_xticklabels(labels) if frac is not None: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <md...@us...> - 2007-12-20 13:00:49
|
Revision: 4777 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4777&view=rev Author: mdboom Date: 2007-12-20 05:00:48 -0800 (Thu, 20 Dec 2007) Log Message: ----------- Minor bugfix in polar transforms. Modified Paths: -------------- branches/transforms/lib/matplotlib/projections/polar.py Modified: branches/transforms/lib/matplotlib/projections/polar.py =================================================================== --- branches/transforms/lib/matplotlib/projections/polar.py 2007-12-20 13:00:20 UTC (rev 4776) +++ branches/transforms/lib/matplotlib/projections/polar.py 2007-12-20 13:00:48 UTC (rev 4777) @@ -66,7 +66,7 @@ transform_path_non_affine.__doc__ = Transform.transform_path_non_affine.__doc__ def inverted(self): - return PolarAxes.InvertedPolarTransform() + return PolarAxes.InvertedPolarTransform(self._resolution) inverted.__doc__ = Transform.inverted.__doc__ class PolarAffine(Affine2DBase): @@ -107,6 +107,10 @@ output_dims = 2 is_separable = False + def __init__(self, resolution): + Transform.__init__(self) + self._resolution = resolution + def transform(self, xy): x = xy[:, 0:1] y = xy[:, 1:] @@ -117,7 +121,7 @@ transform.__doc__ = Transform.transform.__doc__ def inverted(self): - return PolarAxes.PolarTransform() + return PolarAxes.PolarTransform(self._resolution) inverted.__doc__ = Transform.inverted.__doc__ class ThetaFormatter(Formatter): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |