Quiver Transparency and Shape

60 ビュー (過去 30 日間)
Ephraim Bryski
Ephraim Bryski 2020 年 7 月 5 日
回答済み: darova 2020 年 7 月 8 日
Hi.
I'm using quivers (with the quiver3 function) to show the stresses in a beam. I want to change the transparency of the quiver, but the alpha function apparently isn't compatible (this was in the warning after trying it). Is there another way of achieving this?
This is less important, but I was also wondering if there was a way of changing the shape of the arrow head to be conical instead of two lines so it appears the same regardless of orientation.
Thanks!

回答 (1 件)

darova
darova 2020 年 7 月 8 日
use patch to manipulate edgeAlpha
cla
t = linspace(0,2*pi,30);
[x,y] = pol2cart(t,1);
patch(x,y,t,'edgealpha',0.5,...
'facecolor','none',...
'edgecolor','flat')

カテゴリ

Help Center および File ExchangeVector Fields についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by