How to show x and y axes in a MATLAB graph?

后端 未结 9 1351
再見小時候
再見小時候 2021-02-13 09:27

I am drawing a graph using the plot() function, but by default it doesn\'t show the axes.

How do we enable showing the axes at x=0 and y=0 on th

9条回答
  •  庸人自扰
    2021-02-13 09:41

    If you want the axes to appear more like a crosshair, instead of along the edges, try axescenter from the Matlab FEX.

    EDIT: just noticed this is already pointed out in the link above by Jitse Nielsen.

提交回复
热议问题