A = ones(4) - diag([1 1 1 1]);G = graph(A);plot(G);h=get(gca, 'Children');%set(h, 'EdgeColor', 'red'); % I could do this but it sets all the edges red.
%set(h, 'EdgeColor', new_cols(i,1)); %I would like to be able to set each edge indivdualy.
How do I set individual edge colors?
Best Answer