Dropdown Events in MATLAB

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

[X,Y,Z] = peaks(25);
figure
surf(X,Y,Z);
fig2plotly()