필터 지우기
필터 지우기

how to plot them together and get their equations and make a legend for them ?

조회 수: 6 (최근 30일)
Tomer Segev
Tomer Segev 2020년 10월 15일
답변: Divija Aleti 2021년 1월 21일
Hey, I searched for information how to plot them together and get their equations but I couldn't find answers.
Maybe someone can help me ?
alpha=fitlm(RD,Wi);
plot(alpha);
r2=alpha.Rsquared.Adjusted;
r1=alpha.Rsquared.Ordinary;
xlabel('RD'),ylabel('ISCO');
beta=fitlm(RD,Wlr);
a=plot(beta);
xlabel('RD'),ylabel('LR');
rsqered=beta.Rsquared.Adjusted;
rsq=beta.Rsquared.Ordinary;
hold on
X=plotAdded(alpha);
hold off
  댓글 수: 1
Aditya Patil
Aditya Patil 2020년 11월 17일
Can you elaborate on your issue? What is your expected output, and what is the output that you are getting? Any errors that you faced?

댓글을 달려면 로그인하십시오.

답변 (1개)

Divija Aleti
Divija Aleti 2021년 1월 21일
Hi Tomer,
I understand that you want to plot both the models in one figure and get the equations for both of them.
I have brought this issue to the notice of our developers. They will investigate the matter further.
As of now, if you just want their equations, you can plot them separately and obtain them.
Regards,
Divija

카테고리

Help CenterFile Exchange에서 Legend에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by