Plotly MATLAB Library

Publish your MATLAB figures to the web with one line!

signin('DemoAccount', 'lr1c37zw81')

% new figure
fig = figure;

% create your mesh grid
[X,Y] = meshgrid(-8:.5:8);
R = sqrt(X.^2 + Y.^2) + eps;
Z = sin(R)./R;

% create your 3D surface

%--Graph the MATLAB figure online in Plotly!--%
p = fig2plotly(fig);

Want to see a feature added to the library? Get in touch! We'd love to hear your ideas.

Documentation Examples

Chart Types

Multiple Axes, Subplots, and Insets


Layout Options

File Settings


Get Requests, Static Image Export, and Interactive Embedding