From 7b3884bf8552470f8a74ca843fe866d67c77076b Mon Sep 17 00:00:00 2001 From: nperraud <6399466+nperraud@users.noreply.github.com> Date: Fri, 29 Mar 2019 11:42:19 +0100 Subject: [PATCH] Remove eigenvectors from concentration demo --- examples/eigenvalue_concentration.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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))