I am using the following code to create a polar plot of the sinus.
import numpy as np
import matplotlib.pyplot as plt
theta = np.arange(0, 2*np.pi, .01)[1:]
plt.polar(theta, sin(theta))
plt.show()
which produces:
but I want to plot it symmetrically, like this:
How can I get the result I want?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.