How do I create and top and bottom surface on this 3D shape

2 ビュー (過去 30 日間)
Jacob Vialou-Clark
Jacob Vialou-Clark 2018 年 4 月 23 日
xtailhorizontal = [0 30 30 -30 -30 0; 0 30 30 -30 -30 0]; ytailhorizontal = [55 65 70 70 65 55; 55 65 70 70 65 55]; ztailhorizontal = [58.5 58.5 58.5 58.5 58.5 58.5; 55.5 55.5 55.5 55.5 55.5 55.5];
surf(xtailhorizontal,ytailhorizontal,ztailhorizontal)
Currently, this only colours the surfaces on the side of the shape and not the top and bottom. Is there a way to make the top and bottom surfaces fill as well in the same function?
Thanks

回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by