MATLAB Matlab Bode Plot Tutorial: Combining Two Plots

  • Thread starter Thread starter nb89
  • Start date Start date
  • Tags Tags
    Matlab
AI Thread Summary
To plot two Bode plots on a single graph, first create the first Bode plot using the appropriate plotting function. After plotting the first one, use the command "hold on" to allow subsequent plots to be drawn on the same figure. Then, plot the second Bode plot. Finally, remember to use "hold off" to stop adding to the current figure. This process ensures both plots are displayed together for comparison.
nb89
Messages
37
Reaction score
0
Im trying to plot two bode plots on one graph. Can anyone help?
 
Physics news on Phys.org
Plot one of the bode plots. Then type

Code:
hold on

to instruct any further plots to draw in the same figure. Finally, plot your other Bode plot.
 
shoehorn said:
Plot one of the bode plots. Then type

Code:
hold on

to instruct any further plots to draw in the same figure. Finally, plot your other Bode plot.

thank you!
 
Don't forget to turn hold off.
 

Similar threads

Replies
4
Views
4K
Replies
8
Views
2K
Replies
5
Views
2K
Replies
1
Views
2K
Replies
32
Views
4K
Replies
1
Views
3K
Replies
1
Views
5K
Replies
1
Views
2K
Back
Top