How do I get just the x and y axis to show up?

14 views (last 30 days)
E
E on 21 Oct 2022
Answered: Star Strider on 21 Oct 2022
Hello, i know that using the function grid on i can get a grid on my graphs. However, what function do i have to use to just make the x-axis and y-axis to show up on the graph? I am refering to x=0, and y=0.

Answers (2)

Torsten
Torsten on 21 Oct 2022
axis on

Star Strider
Star Strider on 21 Oct 2022
Perhaps —
axes
See the documentation on axes for details.
.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!