using plotyy but having 2 different measuring units on y axis

2 views (last 30 days)
Hi, so i have to make a plot with 2 y axis but they have different measuring units. I used subplot first to make a difference between the plots, but i would like to know if i can to a plot with plotyy.

Answers (1)

madhan ravi
madhan ravi on 19 May 2020
yyaxis left
plot(x,value1)
yyaxis right
plot(x,value2)

Categories

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!