2024-10-02 12:38:50 发布
网友
我想画一个椭圆。在
ax = plt.subplot(111) ellipse = Ellipse(mean1L, ellipse_x, ellipse_y, angle=theta) ax.add_artist(ellipse) plt.show()
每一次争论似乎都很好,但它没有出现。 我做错什么了?在
椭圆超出轴限制。在
您宁愿使用
ax.add_patch(ellipse)
能够调整轴的限制容易地添加补丁。 这将允许稍后调用ax.autoscale_view()来自动调整轴限制。在
ax.autoscale_view()
椭圆超出轴限制。在
您宁愿使用
能够调整轴的限制容易地添加补丁。 这将允许稍后调用
^{pr2}$ax.autoscale_view()
来自动调整轴限制。在相关问题 更多 >
编程相关推荐