Add Second Axis Manually

2 views (last 30 days)
Shahid Said
Shahid Said on 14 Aug 2020
Answered: Fangjun Jiang on 14 Aug 2020
Hello,
I have created graph using plot manually (without using coding).Now I have X and Y axis.But my problem is I want to add secondary Y axis.
please teach me.i am still new to this matlab.thank you.
  1 Comment
Fangjun Jiang
Fangjun Jiang on 14 Aug 2020
How do you do it "without using coding"? You mean typing in commands in MATLAB Command Window?

Sign in to comment.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 14 Aug 2020
plot(1:10);
yyaxis right;

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!