%% Plot Sparsity Pattern
% Plot the 60-by-60 sparse adjacency matrix of the connectivity graph of the Buckminster Fuller geodesic dome. This matrix also represents the carbon-60 molecule and a soccer ball.

B = bucky;
spy(B)

%
% Specify the color and marker.

spy(B,'ro')

%
% Also specify the marker size.

spy(B,'ro',2)

%
% Copyright 2015 The MathWorks, Inc.