Skip to content

Area plots not supported using area() #169

Closed
@xarico10

Description

@xarico10

An empty figure is being generated for any call of area()

For example,

x = 5:8;
y = [1 2 4 3];
area(x,y)

fig2plotly();

Expected and generated (https://chart-studio.plotly.com/~xarico10/225/#/) plots:
Captura de Pantalla 2021-07-25 a la(s) 2 20 52 p  m
Captura de Pantalla 2021-07-25 a la(s) 2 20 43 p  m

Therefore, any variation is working either:

Create Area Plot with Multiple Curves:

Y = [1 5 3; 3 2 7; 1 5 3; 2 6 1];
area(Y)

fig2plotly();

Expected and generated (https://chart-studio.plotly.com/~xarico10/226/#/) plots:

Captura de Pantalla 2021-07-25 a la(s) 2 23 02 p  m

Captura de Pantalla 2021-07-25 a la(s) 2 22 53 p  m

In both cases the following message is being printed:

Index in position 1 exceeds array bounds.
We had trouble parsing the area object.
This trace might not render properly.

Examples on using area() can be found on:
https://www.mathworks.com/help/matlab/ref/area.html#responsive_offcanvas

Metadata

Metadata

Assignees

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