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

조회 수: 3 (최근 30일)
Jiung Shin
Jiung Shin 2020년 12월 9일
답변: KSSV 2020년 12월 9일
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