Closed
Description
Although size varies as indicated, the scale is way different compared to MATLAB's scale:
Code:
rng(1)
x = linspace(0,3*pi,200);
y = cos(x) + rand(1,200);
sz = linspace(1,100,200);
scatter(x,y,sz)
fig2plotly();
Expected and generated (https://chart-studio.plotly.com/~xarico10/299/#/) plots:
As shown, sizes differ a lot: in generated plot, small circles are way smaller and big circles are way bigger.
Examples on using sz
input argument can be found on:
https://www.mathworks.com/help/matlab/ref/scatter.html#btrli6o-1
Metadata
Metadata
Assignees
Labels
No labels