cylnder surface
2 次查看(过去 30 天)
显示 更早的评论
Hello everybody, I need a help with drawing a cylinder surface. The cylinder fuction ([X,Y,Z] = cylinder) generates coordinates of surface vertices and after using surf, matlab draws a cylinder surface. My problem is that drawn plot doesn't have bases. I need to project some properties, which are expressed by color scale, of cylindrical samples in different directions, so by this way I'm not able to draw vertical directions that project to the bases of the cylinder. Can anybody help with this?
Thanks a lot,
Tom
2 个评论
Jan
2011-8-26
Please post more details. What is a "base of a drawn plot"? What is "color scale" and how can it express the "projection of a property"? What ar "cylindrical samples" ind "different directions"? And how can you "draw vertical directions"? You see, I did not understand anything. But I assunme you want to draw simple 3D objects.
回答(2 个)
Lucas García
2011-8-26
Here is one alternative version of cylinder.m that can be closed, rotated, etc.
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!