Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- import numpy as np
- t = np.arange(-10.0, 10.0, 0.1)
- x = 2 * np.sin(t)**3
- y = 2 * np.cos(t)**3
- fig, ax = plt.subplots()
- ax.plot(x, y)
- ax.set(xlabel='x(t) = 2(sin(t))**3', ylabel='y(t) = 2cos(t)**3', title='Астроида')
- ax.grid()
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement