
How to make fsurf a solid colored surface with no shade? and make the surface tranparent.
7 ビュー (過去 30 日間)
古いコメントを表示
I am using fsurf to plot a surface. I wana make the whole surface a solid color and want to make the surface transparent. How can I do that?

figure
syms x1 x2
fsurf((B(1)*x1+B(2)*x2+b(1))/-B(3),'EdgeColor','none')
0 件のコメント
採用された回答
Mehmed Saad
2020 年 5 月 4 日
By default FaceColor is set to interp. Change it to your favourite color.
For tranparency use FaceAlpha
figure
syms x1 x2
fsurf((B(1)*x1+B(2)*x2+b(1))/-B(3),'EdgeColor','none',...
'FaceColor','r','FaceAlpha',0.5);

0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!