Skip to content

LineSpec input argument not working correctly when using 2-D plots #187

Closed
@xarico10

Description

@xarico10

The input LineSpec isn't changing marker's color nor line style.

X = linspace(0,4*pi,20);
Y = sin(X);

figure
stairs(Y,'--hg')

fig2plotly();

The previous code should produce green hexagrams with a dashed line, however, it plots them with the default blue color and a solid line:

Expected and generated (https://chart-studio.plotly.com/~xarico10/419/#/) plots:
Captura de Pantalla 2021-07-26 a la(s) 11 54 54 a  m

Captura de Pantalla 2021-07-26 a la(s) 11 54 29 a  m

Examples on using the LineSpec input argument can be found on:
https://www.mathworks.com/help/matlab/ref/linespec.html

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