Plotting tool for weighted digraphs
2 views (last 30 days)
Show older comments
Paul Fishback
on 16 Jan 2015
Answered: Steven Lord
on 5 Jun 2017
I'm looking a tool to plot a weighted, directed graph, specifically one represented by a 44-by-44 matrix having nonnegative entries. I'm allowing for self-loops.
Whether the plot has actual arrows is not that important to me--I just want something that conveys the overall strength of directed associations.
I know about wgplot for weighted graphs, but I need something that also shows directionality.
0 Comments
Accepted Answer
Kelly Kearney
on 16 Jan 2015
Perhaps gplotcolor.m or gplotpoly could help? The latter is more flexible, but it requires you to download a few of my other functions as well. (I'm in the process of moving my code off of that website and onto GitHub, with all dependencies packaged together, but that one hasn't been moved yet, sorry).
0 Comments
More Answers (2)
Steven Lord
on 5 Jun 2017
For future reference, if you're using release R2015b or later I recommend creating a digraph object and calling plot on it.
0 Comments
See Also
Categories
Find more on Graph and Network Algorithms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!