第一篇博客

Welcome to sysuNie! It is my first try to share the intereseting things to all of you . If you get any problems while looking my blog, you can ask me on GitHub.

Coding Change World

1
2
3
4
5
6
7
8
import numpy as np
import matplotlib.pyplot as plt
x = np.linspace(-8 , 8, 1024)
y1 = 0.618*np.abs(x) - 0.8* np.sqrt(64-x**2)
y2 = 0.618*np.abs(x) + 0.8* np.sqrt(64-x**2)
plt.plot(x, y1, color = 'r')
plt.plot(x, y2, color = 'r')
plt.show()

love

-------------本文结束感谢您的阅读-------------
很有帮助,打赏感谢!
0%