wgPlot - Weighted Graph Plot (a better version of gplot)
by Mike Wu
07 May 2009
(Updated 23 Jun 2009)
Plot graphs with weighted vertices and weighted edges from a weighted adjacency matrix.
|
Watch this File
|
| File Information |
| Description |
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.) |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
gplotwl, MatlabBGL
|
| MATLAB release |
MATLAB 7.8 (R2009a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 18 May 2009 |
Added an missing auxiliary file for setting the axes' plot area. And updated the wgPlot to include a parameter for changing the marker style. |
| 18 May 2009 |
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. |
| 19 May 2009 |
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. |
| 05 Jun 2009 |
fix bug on plotting colored/sized markers over the default marker when user specify the vertex weight/meta data. |
| 23 Jun 2009 |
included a missing helper function prh.m |
|
Contact us at files@mathworks.com