Variable at Text Box ???
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I have three variables that comes from regression and changes with data. They are R1 R2 R3 I want to write them on the graphic with using annotation box automatically as an information.
What is the method.. What should I write after R1 R2 R3 ,
I want to write R1=... (Variable) R2=... (Variable) R3=....(Variable)
Kind Regards.
[R1,m1,b1]=regression((P_DYNO(1:244,3)),(P_BOOST(1:244,1)),'one'); [R2,m2,b2]=regression((P_DYNO(245:548,3)),(P_BOOST(245:548,1)),'one'); [R3,m3,b3]=regression((P_DYNO(549:720,3)),(P_BOOST(549:720,1)),'one');
annotation(figure1,'textbox',... [0.652 0.67 0.2 0.2],... 'String',{'D=2000 d/d','TPM=28 mg/ç','ADB=2,2 Bar','ÖPO=5%','PB=1200 Bar', 'APA=-5°KMA','ÖPA=-20°KMA','R1=...','R2=...','R3=...'},... 'FitBoxToText','on','LineStyle','none','FontSize',6);
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!