Выводы двух инструментов (matplotlib и mathematica) одинаковых выражений такие разные! Это так странно.
matplotlib:
import numpy as np
import matplotlib.pyplot as plot
fig = plot.figure()
fig.add_subplot(211, projection='polar')
# Set the title of the polar plot
plot.title('graph')
# Radian values upto 2*pi
radians = np.arange(0, (2*np.pi), 0.01)
for radian in radians:
# Plot in polar co-ordinates
plot.polar(radian, np.sin(radian) + np.power(np.sin(3*radian), 3),'o')
# Display the Polar plot
plot.show()
mathematica:
PolarPlot[{t, Sin[t] + Sin[3 t]^3}, {t, 0, 2 Pi}]
график Matplotlib:
![KkLwT0.png](https://s2.ax1x.com/2019/10/17/KkLwT0.png)
график Mathematica:
![KkLdwq.png](https://s2.ax1x.com/2019/10/17/KkLdwq.png)