![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/287276/image.png)
I don't see the changes using xlim with patches by drawing a surface
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Andrea Gusmara
am 24 Apr. 2020
Kommentiert: Andrea Gusmara
am 24 Apr. 2020
When i try to patch a parallelogram , i can't see the changes due to the instruction xlim .
surf=axes;
xlim(surf,[-20 +15]);
xlabel('x');
zlim(surf,[-15 +15]);
zlabel('z');
ylim(surf,[-15 +15]);
ylabel('y');
axis equal
vertices=[1,1,1;4,1,1;4,4,1;1,4,1; 1,1,4;4,1,4;4,4,4;1,4,4];
patch(surf,'Vertices',vertices,'Faces',[1,2,3,4;1,2,6,5;3,2,6,7;4,3,7,8;4,1,5,8;5,6,7,8]);
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Polygons 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!