About 39,300 results
Open links in new tab
  1. python - How to create a polar contour plot - Stack Overflow

    I'm trying to plot a polar contour plot in matplotlib. I've found various resources on the internet, (a) I can't seem to get my code to work and (b) many of the resources appear rather old, and I'm wondering if there is a better way now.

  2. python - How to set the axis limit in a matplotlib plt.polar plot ...

    May 19, 2015 · Say I have the following polar plot: a=-0.49+1j*1.14 plt.polar([0,angle(x)],[0,abs(x)],linewidth=5) And I'd like to adjust the radial limits to 0 to 2. What is the best way to do this? Note that I am asking specifically about the plt.polar() method (as opposed to using polar=True parameter in a normal plot common in similar questions).

  3. python - Clockwise polar plot with 0 deg at the top - Stack Overflow

    Explanation. When using projection = 'polar', the subplot created uses a projection of class matplotlib.projections.polar.PolarAxes which accepts parameters theta_offset and theta_direction.

  4. python - Half or quarter polar plots in Matplotlib? - Stack Overflow

    The following works in matplotlib 2.1 or higher. There is also an example on the matplotlib page. You may use a usual polar plot, ax = fig.add_subplot(111, polar=True) and confine the theta range.

  5. Changing axis options for Polar Plots in Matplotlib/Python

    Feb 10, 2012 · I'm looking for a way to represent this in cylindrical coordinates graphically, so I thought that a polar plot was my best bet. Excel gives me a 'radar chart' option which is flexible enough to let me specify minimum and maximum radial axis values. I want to replicate this on Python using Matplotlib.

  6. python - Rotate theta=0 on matplotlib polar plot - Stack Overflow

    Nov 4, 2015 · I have the following example code: import numpy as np import matplotlib.pyplot as plt import random data_theta = range(10,171,10) data_theta_rad = [] for i in data_theta: data_theta_rad.append(

  7. python - matplotlib - polar plots with angular labels in radians

    Jan 16, 2014 · The problem I have looks pretty simple : whenever I do a polar plot, the angle ticks are taken care of by ThetaFormatter, which labels them in degrees. I am aware of this question, where the ticks

  8. python - How to use log scale on polar axis in matplotlib - Stack …

    Feb 17, 2013 · There are more problems with the current matplotlib and log-polar plots. For example, try to add a small value to the radius in the matplotlib example for polar plots, and then use set_rlim(0) and set_rscale('log') to plot it (as has been suggested in the comments here). All values below 0.1 get some special treatment.

  9. Circular / polar histogram in python - Stack Overflow

    x : array Angles to plot, expected in units of radians. bins : int, optional Defines the number of equal-width bins in the range. The default is 16. density : bool, optional If True plot frequency proportional to area. If False plot frequency proportional to radius. The default is True.

  10. matplotlib - Bivariate polar plots in python - Stack Overflow

    May 21, 2020 · A windrose or a scatter plot would be great, but the issue is how to add a third dimension (the color) that isn't function of the wind speed values density but a function of the third variable, the temperature, that doesn't depend at all of the position at the polar projection.

Refresh