Click Events in MATLAB®
How to bind callback functions to click events 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
fig = figure;
load seamount;
s = 10;
c = linspace(1,10,length(x));
scatter(x,y,s,c)
zoom(2)
%--PLOTLY--%
% strip = false => preserve MATLAB<sup>®</sup> style!
response = fig2plotly(fig, 'filename', 'matlab-seamount-scatter', 'strip', false);
plotly_url = response.url;