How do i set axis to only positive numbers for polyfit function

2 views (last 30 days)
How do i set axis to only positive numbers for polyfit function
I dont want the graph to continue into - y axis
thsnk matlab q.png

Answers (1)

Walter Roberson
Walter Roberson on 7 Dec 2019
ylim([0 60])

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!