Visualization Technique
古いコメントを表示
Is there an example out there that uses square coordinates to draw a square and color it?
See the following link with a spherical example (the example is near the bottom of the page):
Best,
Christoper
回答 (1 件)
Sean de Wolski
2011 年 10 月 25 日
fill3([50 50 50 50],[0 100 100 0],[0 0 100 100],'b')
?
6 件のコメント
Christopher
2011 年 10 月 25 日
Sean de Wolski
2011 年 10 月 25 日
like a cube?
Sure, use a few different fill3s along different planes. Or even easier use patches
doc patch
Christopher
2011 年 10 月 25 日
Sean de Wolski
2011 年 10 月 25 日
I would just use 6 fill3's then corresponding to the 6 faces of the cubes. Have their corner coordinates (and perhaps color too!) be dependent on a scale factor that expands/contracts the cube.
Christopher
2011 年 10 月 25 日
Walter Roberson
2011 年 10 月 25 日
scatter3() with a pointsize vector that is proportional to the score, and with Marker set to 's' to get squares.
カテゴリ
ヘルプ センター および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!