cylnder surface
2 views (last 30 days)
Show older comments
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 Comments
Jan
on 26 Aug 2011
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.
Answers (2)
Lucas García
on 26 Aug 2011
Here is one alternative version of cylinder.m that can be closed, rotated, etc.
0 Comments
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!