Variable at Text Box ???

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);

Réponses (0)

Catégories

En savoir plus sur Develop Apps Programmatically dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by