我正在使用以下命令绘制matplotlib quiver plot:
Q = quiver(X[::30,::30],Y[::30,::30],U[::30,::30],V[::30,::30],\
units='x', color='#383838',width=0.004*nx*dx, \
pivot='mid',headaxislength=5)
它基本上是好的,但我只需要箭头的长度短一点。有没有一种方法可以知道quiver用来生成绘图的“scale”的值,比如Q.get_scale()
,这样我就可以调整这个值,得到我想要的长度吗?在
目前没有回答
相关问题 更多 >
编程相关推荐