ich verwende den folgenden Code sin plotten in polarenPython matplotlib Polarplot
from pylab import *
import matplotlib.pyplot as plt
from pylab import *
import numpy as np
theta = np.arange(0, 2*np.pi, .01)[1:]
def f(x):
return x
plt.polar(theta, sin(theta))
show()
und das Ergebnis:
, aber ich will es Symmetrie zeichnen, ich meine wie folgt aus:
wie kann ich ändere das Theta, um dies zu zeichnen? danke.
Warum definieren Sie f()? – Lucas