3D plot of output variables
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1182778/image.png)
0 Kommentare
Antworten (1)
Simon Chan
am 6 Nov. 2022
Try function plot3
data = load('Output100.mat');
plot3(data.Y1,data.Y2,data.t);
0 Kommentare
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!