Plots a histogram distribution of the top 2x SngVals singular values of the Graph adjacency matrix. The function creates three new files: 1) sngDistr.<FNmPref>.plt (the commands used to create the plot), 2) sngDistr.<FNPref>.png (the plot), and 3) sngDistr.<FNmPref>.tab (the plotting data).
Parameters:
A Snap.py directed graph.
Representing one half the desired number of singular values.
A string representing the preferred output file name.
Description of the graph. The string should be non-empty.
Return value:
The following example shows how to use PlotSngValDistr() for TNGraph:
import snap
Graph = snap.GenRndGnm(snap.PNGraph, 100, 5000)
snap.PlotSngValDistr(Graph, 50, "title", "SngVal Distribution")