linear fit in plot
1 view (last 30 days)
Show older comments
zakary Surprenant
on 26 Nov 2020
Commented: Adam Danz
on 28 Nov 2020
I can't get to add a linear fit line,
This is my code ma and me can be ignored it is for the other plots,
and this the graph i get, i just need to have a linear fit added into it!
0 Comments
Accepted Answer
Image Analyst
on 26 Nov 2020
Add this:
hold on;
plot(x, curve, 'b-', 'LineWidth', 3);
More Answers (0)
See Also
Categories
Find more on Surface and Mesh 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!