How to show time and current at y axis at the same time
1 view (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/438998/image.jpeg)
How can you show the time and current values on y axis at the same time
0 Comments
Answers (1)
BhaTTa
on 21 Jul 2024
To display both time and current values on the y-axis simultaneously, you can use MATLAB's ability to create multiple y-axes on the same plot. This can be done using the yyaxis function, which allows you to create plots with two y-axes (left and right).
Here is the link to the documentation : https://www.mathworks.com/help/matlab/ref/yyaxis.html
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!