フィルターのクリア

How to make the surface plot transparent??

234 ビュー (過去 30 日間)
simar
simar 2012 年 3 月 1 日
I want to plot some data points over surface paraboloid. To increase visibility I want to increase transparency of surface plot. How to do that.
  1 件のコメント
Swathi Chandrasekar
Swathi Chandrasekar 2017 年 7 月 11 日
Check out the set command in matlab.There is a property called alpha.After the surf command just say alpha(0.5).The value lies between 0 and 1.The closer to zero the more transparent it is.

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

採用された回答

Friedrich
Friedrich 2012 年 3 月 1 日
Hi,
use the alpha property:
hold on
surf(peaks(30))
alpha 0.5
plot3(10,10,10,'r*')
hold off

その他の回答 (1 件)

Sean de Wolski
Sean de Wolski 2012 年 3 月 1 日
Look at the alphadata property in:
web([docroot '/techdoc/ref/surface_props.html'])

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by