3D plot of output variables

1 view (last 30 days)
Telema Harry
Telema Harry on 6 Nov 2022
Answered: Simon Chan on 6 Nov 2022
I will like to plot my output variables in a 3-D graph. I have not quite figure out how to do it.
Please find attached the matlab file. 't' is the time. 'Y1' and 'Y2' are the outputs.
Please see a template of the graph.

Answers (1)

Simon Chan
Simon Chan on 6 Nov 2022
Try function plot3
data = load('Output100.mat');


Find more on 2-D and 3-D Plots 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!

Translated by