ready to write task4
This commit is contained in:
@@ -74,7 +74,7 @@ theta_grid = np.arctan2(Y, X)
|
||||
|
||||
# 仅绘制半径不超过kPlotingRadius的点
|
||||
valid_points = r_grid <= kPlotingRadius
|
||||
ax.scatter(theta_grid[valid_points], r_grid[valid_points], color='red', s=10) # 红色小点
|
||||
ax.scatter(theta_grid[valid_points], r_grid[valid_points], color='grey', s=10) # 灰色小点
|
||||
|
||||
plt.title("The Moving Path")
|
||||
|
||||
|
Reference in New Issue
Block a user