how do I plot different polyfit(x,y,5) onto the same graph?

2 次查看(过去 30 天)
I have 12 different ployfit(x,y,5) functions and I want to put them onto a single graph. how can I write my code?

回答(1 个)

KSSV
KSSV 2020-12-9
Use hold on. Or save them into a matrix and plot. Read about plot, hold on.

类别

Help CenterFile Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by