trace1 = struct(...
'x', [1, 2, 3, 4], ...
'y', [10, 15, 13, 17], ...
'type', 'scatter');
trace2 = struct(...
'x', [1, 2, 3, 4], ...
'y', [16, 5, 11, 9], ...
'type', 'scatter');
data = {trace1, trace2};
plotly(data);
trace1 = struct(...
'x', [1, 2, 3, 4], ...
'y', [10, 15, 13, 17], ...
'type', 'scatter');
trace2 = struct(...
'x', [1, 2, 3, 4], ...
'y', [16, 5, 11, 9], ...
'type', 'scatter');
data = {trace1, trace2};
plotly(data);