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 Commenti

Mehmed Saad
Mehmed Saad il 4 Mag 2020
Modificato: Mehmed Saad il 4 Mag 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
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
The line would have to be -20dB. How would I do that?

Accedi per commentare.

Risposte (0)

Categorie

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by