how to plot them together and get their equations and make a legend for them ?
2 次查看(过去 30 天)
显示 更早的评论
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
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
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!