Skip to content

stem() not working correctly #257

@xarico10

Description

@xarico10

When using stem() to plot a sequence of discrete sequence, a warning message is being printed and isn't plotting correctly.

Y = linspace(-2*pi,2*pi,50);
stem(Y)

fig2plotly(gcf, 'offline', false);

The previous code prints the following warning message:

Unrecognized field name "MarkerIndices".
We had trouble parsing the stem object.
This trace might not render properly.

Expected and generated (https://chart-studio.plotly.com/~xarico10/745/#/) plots:
Captura de Pantalla 2021-07-31 a la(s) 6 50 03 p  m
Captura de Pantalla 2021-07-31 a la(s) 6 49 46 p  m

Examples on using stem() can be found on:
https://www.mathworks.com/help/matlab/ref/stem.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