using the surf function on curved surface
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, I'm interested in using the aurf command to create 3-D surface overlaid onto a cylinder. What I'm trying to do is show the forces on a cylinder that are coming from different directions. I have created the cylinder using the cylinder command, then created an array that when plotted using surf function, shows the force at each node. I just need to combine the two together but don't know how. I would greatly appreciate any help. Thank you.
댓글 수: 0
채택된 답변
Fangjun Jiang
2011년 7월 4일
What do you mean? Is the hold command all you need?
[x,y,z]=cylinder;
cylinder;
hold on;
surf(x/2,y/2,z*2);
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!