How to convert from surf to plot3 ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Tin Truong Chanh
am 5 Apr. 2021
Kommentiert: darova
am 6 Apr. 2021
Hello!
I have data with X(1xn), Y(1xn), and Z(nxn) matrix, with this data i can plot with surf . However, i would like to plot with plot3 with this data. How can i do that!.
0 Kommentare
Akzeptierte Antwort
darova
am 5 Apr. 2021
Try meshgrid
[X1,Y1] = meshgrid(X,Y);
plot3(X1,Y1,Z1)
line(X1',Y1',Z1')
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Lighting, Transparency, and Shading 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!