plotly_matlab icon indicating copy to clipboard operation
plotly_matlab copied to clipboard

Transparency MarkerFaceAlpha and MarkerEdgeAlpha Name-Value arguments not working

Open xarico10 opened this issue 5 years ago • 0 comments

Code:

rng(1)
x1 = ones(1,500);
x2 = 2 * ones(1,500);
x = [x1 x2];
y1 = 2 * randn(1,500);
y2 = [randn(1,250) randn(1,250) + 4];
y = [y1 y2];
swarmchart(x,y,'filled','MarkerFaceAlpha',0.5,'MarkerEdgeAlpha',0.5)

fig2plotly();

The previous code should plot clearer edges and fill color in the markers, however, is not.

Expected and generated (https://chart-studio.plotly.com/~xarico10/431/#/) plots: Captura de Pantalla 2021-07-26 a la(s) 12 41 23 p  m Captura de Pantalla 2021-07-26 a la(s) 12 41 36 p  m

An example on using these Name-Value arguments can be found on: https://www.mathworks.com/help/matlab/ref/swarmchart.html#mw_bcfda3c4-f6bc-408d-b72f-b456acbc77f0

xarico10 avatar Jul 26 '21 17:07 xarico10