Skip to content

Area plots not supported using area() #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xarico10 opened this issue Jul 25, 2021 · 0 comments
Closed

Area plots not supported using area() #169

xarico10 opened this issue Jul 25, 2021 · 0 comments
Assignees

Comments

@xarico10
Copy link
Contributor

xarico10 commented Jul 25, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants