Setting the coordinate axes
Show older comments
I want to illustrate the vaulves of two 11*1 vectots on the same axes in the terms of t=0:0.1:1. The min and max values of these two vectors are far from each other. So, the "plot" command doesn't give the expand result of "y"-axis.
Even I applyed the "axes" command, but I didn't get suitable result again. I attached the picture of this figure. How can I asolve this problem?
Even I applyed the "axes" command, but I didn't get suitable result again. I attached the picture of this figure. How can I asolve this problem?3 Comments
GandaBerunda
on 6 Jul 2022
Do you want two different y axes for the same x axis? have I understood the question correctly?
GandaBerunda
on 6 Jul 2022
If yes, I guess this can help : https://mathworks.com/help/matlab/creating_plots/plotting-with-two-y-axes.html
Zeinab Hassanzadeh
on 7 Jul 2022
Accepted Answer
More Answers (0)
Categories
Find more on Graphics 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!