How to plot a graph with multiple y axis like this photo?

2 Comments

yyaxis left
plot(xi,Ti,'-','DisplayNAme','Torque');
ylabel('Torque, Nm','fontsize',12);
hold on
yyaxis right
plot(xi,Pi,'-','DisplayName','Power');
ylabel('Power, kW','fontsize',12);
Note: yyaxis was introduced about 8 months after the question was originally asked.

Sign in to comment.

Answers (1)

Categories

Asked:

on 31 Jan 2014

Commented:

on 15 Sep 2017

Community Treasure Hunt

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

Start Hunting!