Black Lives Matter. Please consider donating to Black Girls Code today.

Button Events in MATLAB®

How to bind callback functions to custom buttons in Python charts with JavaScript.


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

[X,Y,Z] = peaks;
contour(X,Y,Z,20)

% PLOTLY
response = fig2plotly();
plotly_url = response.url;

MATLAB is a registered trademark of The MathWorks, Inc.