a=[1 1 2 2 3 4 4 5 6 6 7 8];b=[2 7 3 8 4 5 9 6 7 9 8 9];c=[2 2 3 4 5 3 1 9 1 2 6 2]H=graph(a,b,c);p=plot(H,'EdgeLabel',H.Edges.Weight);[sp,d]=shortestpath(H,1,5)highlight(p,sp,'EdgeColour','black')
MATLAB: Help needed in highlight function # Im getting error dont know what is wrong please help
highlightMATLAB
Related Question
- How to set colorspace of line in special code of graph
- Undefined function ‘highlight’ for input arguments of type ‘digraph’
- Increase text size in Matlab graph
- How to add highlighted nodes and edges of a graph to the legend
- Is it possible to set an alpha value for each edge in a GraphPlot
- Changing static node to random distribution node.
Best Answer