Show Sidebar Hide Sidebar

Click Events in MATLAB

How to bind callback functions to click events in Python charts with JavaScript.

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

fig = figure;
load seamount;
s = 10;
c = linspace(1,10,length(x));
scatter(x,y,s,c)
zoom(2)

%--PLOTLY--%

% strip = false => preserve MATLAB style!

response = fig2plotly(fig, 'filename', 'matlab-seamount-scatter', 'strip', false);
plotly_url = response.url;
Still need help?
Contact Us

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