Adding annotations to Bode plots.

Hello I would like to add annotations to my bode plot exactly like
Here is my code to the systems
TF1=tf(1,[1 1]);
TF2=tf(16,[1 4 16])
bode(TF2,'b--',TF1*TF2,'g')
grid on
legend('w/o actuator','w/ actuator')

3 Kommentare

Mehmed Saad
Mehmed Saad am 4 Mai 2020
Bearbeitet: Mehmed Saad am 4 Mai 2020
it is easy to add line and text in plots directly from figure. Go to insert tab in menubar of figure and select whatever you want to draw on figure
if you want to do it by coding, see here
Mirlan Karimov
Mirlan Karimov am 4 Mai 2020
textbox1 = uicontrol('Position',[0 0 0 0],'Style', 'text','Units','norm','fontweight','bold','fontsize',14);
set(textbox1, 'String', 'Your Text Goes Here');
By the vector shown in bold, you can play around with the position of the textboxs
Missael Hernandez
Missael Hernandez am 4 Mai 2020
The line would have to be -20dB. How would I do that?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Get Started with Control System Toolbox finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by