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

Version 1.7.0.0 (185 ko) par Mike Wu
Plot graphs with weighted vertices and weighted edges from a weighted adjacency matrix.
6,3K téléchargements
Mise à jour 23 juin 2009

Afficher la licence

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.)

Citation pour cette source

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

Compatibilité avec les versions de MATLAB
Créé avec R2009a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Graph and Network Algorithms dans Help Center et MATLAB Answers
Remerciements

Inspiré par : gplotwl, MatlabBGL

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.7.0.0

included a missing helper function prh.m

1.6.0.0

fix bug on plotting colored/sized markers over the default marker when user specify the vertex weight/meta data.

1.5.0.0

Fixes a minor but that plots all the vertices even when some of them are not connected to any other vertices. Now it only plots vertices that have connections by default when the adjacency matrix has lot of row/columns with no connections.

1.4.0.0

Added a missing helper file for setting the plot area for plotting the graph. Also updated wgPlot to include parameter-value pairs for specifying the marker style.

1.3.0.0

Added an missing auxiliary file for setting the axes' plot area. And updated the wgPlot to include a parameter for changing the marker style.

1.0.0.0