How to make plot3 as surf?
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Serdar SOYER
am 24 Apr. 2021
Kommentiert: Star Strider
am 24 Apr. 2021
Hello everyone,
I have 3 datas in space: x_sec is 97x10, y_sec is 97x10 and z_sec is 1x10 matrices. When I use the plot3(x_sec,y_sec,z_sec) command I get line plotted in 3d. But I want a surface plot using surf. How can I achieve that?

This is a proplleler with a twist.
0 Kommentare
Akzeptierte Antwort
Star Strider
am 24 Apr. 2021
z_sec2 = repmat(z_sec, 97, 1);
then —
figure
surf(x_sec,y_sec,z_sec2)
I have no idea how well that will work because I do not have the data, so you will have to experiment with it.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Surface and Mesh 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!