diff --git a/simulators/mpl/mpl_2d_simulator_arrow.py b/simulators/mpl/mpl_2d_simulator_arrow.py index 1fdde8224b7a85e26b42e78014b41cf60d8ad423..6bd6dd5dd24314244bd47eba968e97ad48ed7472 100644 --- a/simulators/mpl/mpl_2d_simulator_arrow.py +++ b/simulators/mpl/mpl_2d_simulator_arrow.py @@ -93,9 +93,9 @@ def 场景1(): 时间步长 = 0.01 # 创建星球列表 星球列表 = [ - 星球(质量=3e12, 位置=[0, 0], 速度=[0, 1], 颜色='red', 名称偏移=[1, 0]), - 星球(质量=5e10, 位置=[20, 0], 速度=[0, 2], 颜色='blue'), - 星球(质量=5e10, 位置=[-20, 0], 速度=[0, -2], 颜色='green') + 星球(质量=2e12, 位置=[0, 0], 速度=[0, 0.1], 颜色='red', 名称偏移=[1, 0]), + 星球(质量=5e10, 位置=[20, 0], 速度=[0, 1], 颜色='blue'), + 星球(质量=5e10, 位置=[-20, 0], 速度=[0, -1], 颜色='green') ] 坐标轴.set_xlim(-50, 50) 坐标轴.set_ylim(-20, 80)