Use a 2D filled polygon in a 3D plot

Hi all,
I have a 3D plot of an aircraft, plotted with the surf function. I also have the nacelles in there as a surf. What I'd like to do, is plot a filled circle inside the engine, representing the fans. Normally you would use fill(x,y,c) to plot a 2D filled polygon, but is there a way to plot it in 3D at a specific location?

 採用された回答

Walter Roberson
Walter Roberson 2011 年 8 月 14 日

0 投票

2D plots cannot be plotted at 3D locations. You can, though, use fill3() with a constant Z location.

1 件のコメント

Jorrit
Jorrit 2011 年 8 月 14 日
Thank you! That was very easy, I wasn't aware of the existence of fill3()

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by