plotly_matlab icon indicating copy to clipboard operation
plotly_matlab copied to clipboard

Issue233

Open benaliabderrahmane opened this issue 5 years ago • 2 comments

fixing issue 233

matlab code:

y = [90,75,30,60,5,40,40,5]; figure pareto(y)

fig2plotly(gcf, 'offline', false);

results:

1001

benaliabderrahmane avatar Aug 06 '21 23:08 benaliabderrahmane

Please remember to reference issue's link in the comments. Like this: issue #233

xarico10 avatar Aug 08 '21 02:08 xarico10

Also, in line 506 and 507 in plotly/plotlyfig.m the variable update_opac seems to be changing size in every loop iteration. Please preallocate it (create the variable before the for loop with its final size) for better computational performance.

xarico10 avatar Aug 08 '21 02:08 xarico10