how to use pyplot.arrow or patches.Arrow in matplotlib?

前端 未结 1 1453
清歌不尽
清歌不尽 2021-02-20 12:08

If I wanted to draw arrows instead of axis lines using one of the arrow/Arrow functions, how do I get the line/arrowhead to show up? Example below:

import matplo         


        
1条回答
  •  你的背包
    2021-02-20 12:36

    plt.arrow(0,0,0,1, shape='full', lw=3, length_includes_head=True, head_width=.01)
    

    0 讨论(0)
提交回复
热议问题