Skip to content

Default 'filled' argument not working correctly #176

Closed
@xarico10

Description

@xarico10

On different types of scatter plots, when the input argument 'filled' is missing, the markers are supposed to be empty, with no fill color. However, this doesn't happen and there's no way to let markers have no fill.

For example:

rng(1)

x = linspace(0,3*pi,200);
y = cos(x) + rand(1,200);
c = linspace(1,30,length(x));
scatter(x,y,[],c)

fig2plotly();

The previous code correctly colors the outside marker's line (zooming in will help to verify it), however, as it fills the markers with a default blue color, the color variation isn't very perceptible. And there's no way to get rid of that default filled characteristic.

Expected and generated (https://chart-studio.plotly.com/~xarico10/301/#/) plots:
Captura de Pantalla 2021-07-25 a la(s) 7 13 50 p  m
Captura de Pantalla 2021-07-25 a la(s) 7 13 41 p  m

Examples on how to use the 'filled' input argument can be found on:
https://www.mathworks.com/help/matlab/ref/scatter.html#btrli6p-1

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions