LoginSignup
1
1

More than 3 years have passed since last update.

Pythonで渦巻をお絵描きしたい

Last updated at Posted at 2019-10-29

Pythonで渦巻描いてみた

Pythonで渦巻描いてみた

uzumaki.py

import numpy as np
import matplotlib.pyplot as plt

theta = np.arange(0.0, 4 * 2 * np.pi, 0.01)
r = 0.5 * theta
plt.polar(theta, r)

plt.show()

実行結果

B10F130D-BCDC-4367-8020-0CA2D7EA7E4A.jpeg

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1