Clear Filters
Clear Filters

How to show time and current at y axis at the same time

1 view (last 30 days)
How can you show the time and current values on y axis at the same time

Answers (1)

BhaTTa
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

Products

Community Treasure Hunt

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

Start Hunting!