|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
import numpy as np
import matplotlib.pyplot as plt
import turtle as t
plt.rcParams['font.sans-serif'] = ['SimHei']
plt.rcParams['axes.unicode_minus'] = False
t.penup()
r = 100.0
a, b = (0., 0.)
theta = np.arange(0, 100*np.pi, 0.01)
x = a + r * np.cos(theta)
y = b + r * np.sin(theta)
fig = plt.figure()
axes = fig.add_subplot(111)
axes.plot(x, y)
m=[0,100,74.962,19.044,-52.103,-92.008,-105.272,-52.389,17.304,86.148]
n=[0,0,63.124,110.369,91.161,33.743,-38.233,-90.997,-96.460,-71.572]
plt.plot(m,n,'o') |
|