reducepatch command in Matlab
3 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I need some help with the reducepatch command in matlab, i want to reduce the patch face size so I have a model with smaller file size.
Does anyone know how I can do it?
I tried to define p as patch (x,y,z,c) and put reducepatch(p, 0.15), but it did not work.
Thank you
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/481263/image.png)
1 件のコメント
Jan
2021 年 1 月 7 日
Please mention, what "does not work" means. It is easier to help you, if the problem is clear.
回答 (1 件)
Srija Kethiri
2022 年 5 月 6 日
編集済み: Srija Kethiri
2022 年 5 月 6 日
It is my understanding that you have created a patch ‘p’ and want to reduce its faces.
As you are using the command reducepatch(p,0.15) it reduces the faces of your original figure to 15%.
To better understand the command, you can refer to the following documentation about reducepatch command:
To get more information about patch, you can refer to this document:
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で Polygons についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!