MATLAB: How to plot more than two graphs in one figure

multiple graph

as the title implies, how can i achieve that? i think this would be tricky. with requirement, that each graph has visually distinctive y-axis. tqvm.
PS: been searching for likely thread, but there is an answer for only two graph, with one y-axes on the left and the other on the right.

Best Answer

How many axes do you need? Using ploty4, you can get 4. I guess you can modify the code if you need more axes.
HTH,
Arnaud