wgPlot - Weighted Graph Plot (a better version of gplot)

version (185 KB) by Mike Wu
Plot graphs with weighted vertices and weighted edges from a weighted adjacency matrix.


Updated Tue, 23 Jun 2009 13:14:34 +0000

View License

Plot graphs just like gplot. But allow user to input an adjacency matrix with weighted edges and/or weighted vertices. The Edge weights are mapped to a colormap. The vertex weights are proportional to the vertex size. Using parameter-value pairs, user can even specify the vertex scaling factor, edge width, and the colormap used to show other meta data associated with the vertices. (Couple of the graph included as example were from David Gleich's matlabBGL package.)

Cite As

Mike Wu (2022). wgPlot - Weighted Graph Plot (a better version of gplot) (https://www.mathworks.com/matlabcentral/fileexchange/24035-wgplot-weighted-graph-plot-a-better-version-of-gplot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: gplotwl, MatlabBGL

Community Treasure Hunt

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

Start Hunting!