How can I remove the default transparency of graph edges?

6 ビュー (過去 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 Center および File ExchangeConstruction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by