How to plot 2 variable graph in simulink?

32 views (last 30 days)
How to plot the graph as shown in the figure in simulink? like here two variables(velocity and power) on either sides are plotted simultaneously witn respect to time . Thank you.

Accepted Answer

Alex Alex
Alex Alex on 28 Jun 2021
Edited: Alex Alex on 28 Jun 2021
Use "plotyy" function or "yyaxis"

More Answers (0)


Find more on Two y-axis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by