ready to write task4

This commit is contained in:
2024-09-07 10:54:27 +08:00
parent f7be91b1b5
commit ef0ad25434
4 changed files with 97 additions and 1 deletions

View File

@@ -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")