diff --git a/examples/eigenvalue_concentration.py b/examples/eigenvalue_concentration.py index e47c78cf..c372bf2a 100644 --- a/examples/eigenvalue_concentration.py +++ b/examples/eigenvalue_concentration.py @@ -11,7 +11,7 @@ import pygsp as pg n_neighbors = [1, 2, 5, 8] -fig, axes = plt.subplots(4, len(n_neighbors), figsize=(15, 10)) +fig, axes = plt.subplots(3, len(n_neighbors), figsize=(15, 8)) for k, ax in zip(n_neighbors, axes.T): @@ -22,8 +22,8 @@ ax[1].spy(graph.W) ax[2].plot(graph.e, '.') ax[2].set_title('k={}'.format(k)) - graph.set_coordinates('line1D') - graph.plot(graph.U[:, :4], ax=ax[3], title='') + #graph.set_coordinates('line1D') + #graph.plot(graph.U[:, :4], ax=ax[3], title='') # Check that the DFT matrix is an eigenbasis of the Laplacian. U = np.fft.fft(np.identity(graph.n_vertices))