I am using a workaround now. But that is a hackery solution.
Before plotting my data I convert it to dBs and limit it to the lowest value
I want to display. Then I plot it using a regular polar plot with a custom
formatting function that sets the tick labels with respect to the data
offset.
Since
On Thu, Feb 17, 2011 at 4:12 AM, Stephan Markus wrote:
>
> Small update:
>
> I tried the very same code with MPL 1.0.1 and Python 2.5.0 on Linux 64 and
> Python 2.5.4 on Win32 and it runs w/o throwing any exceptions there!
>
> But: the behaviour is still not that what I expected. Still these issu
Small update:
I tried the very same code with MPL 1.0.1 and Python 2.5.0 on Linux 64 and
Python 2.5.4 on Win32 and it runs w/o throwing any exceptions there!
But: the behaviour is still not that what I expected. Still these issues are
remaining:
- the smallest magnitude (center magnitude in othe
Ben,
I should have mentioned that I already tried that. When I set the rscale to
'log' the plot crashes when zooming or mpl cannot even create it.
Maybe some example code will help:
from numpy import arange, sin, pi, cos, ones
from matplotlib.backends.backend_tkagg import Figure
On Wed, Feb 16, 2011 at 9:16 AM, Stephan Markus wrote:
>
> Hi,
>
> I am trying to display some complex values in a polar plot. Displaying
> linear magnitude vs. angle - of course - works without any issues. But I'd
> rather display the logarithmic magnitute vs. angle. Since the data for the
> rad
Hi,
I am trying to display some complex values in a polar plot. Displaying
linear magnitude vs. angle - of course - works without any issues. But I'd
rather display the logarithmic magnitute vs. angle. Since the data for the
radius gets negative then, it'll be wrapped around / rotated by 180deg b
2010/8/20 Michael Droettboom :
>> Yeah, it's my issue, but I'm not happy with fixing it. Currently,
>> matplotlib forces the xticks (i.e., the theta ticks) to be at sensible
>> values via .set_xticks() and .set_xlabels() (projections/polar.py).
>>
>> I'm coding a matplotlib extension package which
On Fri, Aug 20, 2010 at 8:33 AM, Michael Droettboom wrote:
> On 08/19/2010 05:53 PM, Friedrich Romstedt wrote:
> > 2010/8/19 Michael Droettboom:
> >
> >> On 08/18/2010 06:03 PM, Friedrich Romstedt wrote:
> >>
> >>> Is the attached issue with a plain polar axes already fixed? I never
> >>> encoun
On 08/19/2010 05:53 PM, Friedrich Romstedt wrote:
> 2010/8/19 Michael Droettboom:
>
>> On 08/18/2010 06:03 PM, Friedrich Romstedt wrote:
>>
>>> Is the attached issue with a plain polar axes already fixed? I never
>>> encountered this before. 344 degrees happens to be 6.0 rad. I'm on
>>
2010/8/19 Michael Droettboom :
> On 08/18/2010 06:03 PM, Friedrich Romstedt wrote:
>> Is the attached issue with a plain polar axes already fixed? I never
>> encountered this before. 344 degrees happens to be 6.0 rad. I'm on
>> svn 8626.
>
> How are you creating that graph? By default, polar pl
On 08/18/2010 06:03 PM, Friedrich Romstedt wrote:
> 2010/8/18 Michael Droettboom:
>
>> This bug (that the r-axis labels are in the wrong place) should now be fixed
>> in r8651. This doesn't, unfortunately, address the original question about
>> annular plots.
>>
> Is the attached issue w
On Wed, Aug 18, 2010 at 10:03 PM, Nils Wagner
wrote:
> I would like to plot an annulus.
>
With mpl_toolkits.axisartist, it is possible to make an axes of annulus.
But, the resulting axes is not fully compatible with the original
matplotlib axes. Most of the tick-related commands won't work and yo
2010/8/18 Michael Droettboom :
> This bug (that the r-axis labels are in the wrong place) should now be fixed
> in r8651. This doesn't, unfortunately, address the original question about
> annular plots.
Is the attached issue with a plain polar axes already fixed? I never
encountered this before
On 08/18/2010 09:51 AM, Benjamin Root wrote:
On Wed, Aug 18, 2010 at 8:03 AM, Nils Wagner
mailto:nwag...@iam.uni-stuttgart.de>>
wrote:
Hi all,
Is it possible to create a polar plot, where the lower
bound of the radius is larger than zero ?
I would like to plot an annulus.
On Wed, 18 Aug 2010 08:51:31 -0500
Benjamin Root wrote:
> On Wed, Aug 18, 2010 at 8:03 AM, Nils Wagner
> wrote:
>
>> Hi all,
>>
>> Is it possible to create a polar plot, where the lower
>> bound of the radius is larger than zero ?
>> I would like to plot an annulus.
>>
>> Any pointer would be a
On Wed, Aug 18, 2010 at 8:03 AM, Nils Wagner
wrote:
> Hi all,
>
> Is it possible to create a polar plot, where the lower
> bound of the radius is larger than zero ?
> I would like to plot an annulus.
>
> Any pointer would be appreciated.
>
> Thanks in advance
>
>
Hi all,
Is it possible to create a polar plot, where the lower
bound of the radius is larger than zero ?
I would like to plot an annulus.
Any pointer would be appreciated.
Thanks in advance
Nils
-
azerith wrote:
> Hi, I'm new to matplotlib and in need to draw a single impulse on a polar
> plot, but don't know how to do it, so i just draw a line using
> pylab.polar([0,0],[0,100],'g-')
> but when i draw shorter lines or
> pylab.polar([0,0],[0,0],'g-')
> i get the whole plot filled with green
Hi, I'm new to matplotlib and in need to draw a single impulse on a polar
plot, but don't know how to do it, so i just draw a line using
pylab.polar([0,0],[0,100],'g-')
but when i draw shorter lines or
pylab.polar([0,0],[0,0],'g-')
i get the whole plot filled with green color, instead of a single
The grid line will reappear if you set high enough resolution.
plt.subplot(111, polar=True, resolution=100)
This should be filed as a bug, though.
I guess the current default for resolution is 1. I think this was to
enable to draw a straight line in polar projection. However, my guess
is that it
> Magnus Benjes wrote:
>> Hello,
>> in version 0.98.5.2 the polar plot still has a problem with negativ
>> angles.
>> The polarplot is drawing a circle when the angle changes from negativ to
>> positiv (e.g. from -0.01 to +0.01).
>
> Your example works fine with svn. I don't recall whether the p
Magnus Benjes wrote:
> Hello,
> in version 0.98.5.2 the polar plot still has a problem with negativ angles.
> The polarplot is drawing a circle when the angle changes from negativ to
> positiv (e.g. from -0.01 to +0.01).
Your example works fine with svn. I don't recall whether the problem
was f
Hello,
in version 0.98.5.2 the polar plot still has a problem with negativ angles.
The polarplot is drawing a circle when the angle changes from negativ to
positiv (e.g. from -0.01 to +0.01).
But in "What new in 0.98.4"
(http://matplotlib.sourceforge.net/users/whats_new.html) I can read:
"Fix p
mcdevitts wrote:
> Hello,
>
> I've been trying to implement a smith chart like a previous gentlemen on the
> list and have run into a similar problem. When my angle value goes from -pi
> to pi I get an extraneous circle from the interpolation. From the previous
> posts, I am under the impression
Hello,
I've been trying to implement a smith chart like a previous gentlemen on the
list and have run into a similar problem. When my angle value goes from -pi
to pi I get an extraneous circle from the interpolation. From the previous
posts, I am under the impression that this is a known issue
Hi All -
is there any way to make a polar plot with the center of the plot
*not* set to 0? I tried resetting ylim, but that just changes the grid
laid over the plot, not the location of the markers.
Thanks --
Ariel
It seems you're getting bitten by the brain-dead interpolation of points
(which is meant to draw line segments as curves that follow the radii).
I have fixed the polar drawing code in SVN r6106 to normalize theta to
(0.0 <= theta <= 2pi) before doing the interpolation, which seems to fix
your
Hi Tony,
Thank you for the reply, the solutions you propose are fine in this
case. But I'm trying to use the polar plot
as a smith chart for an instrument and there i will receive data that is
unknown but can be something like this:
r = np.transpose(.1+np.arange ( 0 , 0.7 , 0.001))
theta = -4.5
On Sep 17, 2008, at 1:59 AM, jan gillis wrote:
> Hello,
>
> I have a problem with polar plot, if i run the following code in
> matplotlib 0.98.3, polar plot is drawing a extra circle to go from
> angle -3.14159265 to angle 3.03753126. Is there a solution for this
> problem?
>
> **
Hello,
I have a problem with polar plot, if i run the following code in
matplotlib 0.98.3, polar plot is drawing a extra circle to go from
angle -3.14159265 to angle 3.03753126. Is there a solution for this
problem?
import numpy as np
from matplotlib.pyplot import figure, sh
Hello,
I have a problem with polar plot, if i run the following code in
matplotlib 0.98.3, polar plot is drawing a extra circle to go from
angle -3.14159265 to angle 3.03753126. Is there a solution for this problem?
import numpy as np
from matplotlib.pyplot import figure, sh
On 4/30/07, Gonzalo A. de la Vega <[EMAIL PROTECTED]> wrote:
> Hi all,
> I'm trying to embed a polar plot into a glade gui. I modified the
> mpl_with_glade.py example script to have something to start with. No
> problems with normal plot, but when I try to do polar plot, it fails with
> the followi
32 matches
Mail list logo