Show Sidebar Hide Sidebar

Sparse Matrix Visualizations in MATLAB

How to visualize sparse matrices in MATLAB. An example of the spy function.

% Learn about API authentication here: https://plot.ly/matlab/getting-started
% Find your api_key here: https://plot.ly/settings/api

fig = figure;

B = bucky;
spy(B)

%--PLOTLY--%

% Strip MATLAB style by default!

response = fig2plotly(fig, 'filename', 'matlab-spy-chart');
plotly_url = response.url;
Still need help?
Contact Us

For guaranteed 24 hour response turnarounds, upgrade to a Developer Support Plan.