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.

답변 (1개)

Simon Chan
Simon Chan 2022년 11월 6일

0 개 추천

Try function plot3
data = load('Output100.mat');
plot3(data.Y1,data.Y2,data.t);

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

릴리스

R2022a

질문:

2022년 11월 6일

답변:

2022년 11월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by