Search code examples
matlabplotadjacency-matrix

How to plot from adjacency matrix?


I have an adjacency matrix and corresponding labels. I need to plot a network with weighted edges and different colors based on labels. I found there is gplot function in matlab, but it is not created weighted edges. Does anyone know any toolbox or function or something I can use?


Solution

  • There is a tool called wgPlot by Mike Wu that will allow you to plot weighted adjacency graphs easily.

    wgPlot by MikeWu

    Note that the edges are not labeled textually, but by a color scale.