How can I remove the default transparency of graph edges?

조회 수: 7 (최근 30일)
Sim
Sim 2019년 11월 11일
댓글: Sim 2019년 11월 11일
How can I remove the default transparency of graph edges? (I would like bright and clear lines/edges)
Here an example, where edges are a bit transparent:
s = [1 1 2 2 3 4 4 5 5 6 7 7 8 8 9 10 11];
t = [2 4 3 5 6 5 7 6 8 9 8 10 9 11 12 11 12];
weights = [1 5 1 5 5 1 5 1 5 5 1 5 1 5 5 1 1];
G = graph(s,t,weights);
P = plot(G,'LineWidth',G.Edges.Weight);

채택된 답변

Daniel M
Daniel M 2019년 11월 11일
set(P,'EdgeAlpha',1);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Construction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by