Skip to content

waterfall() not working correctly #268

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

Open
xarico10 opened this issue Aug 2, 2021 · 0 comments
Open

waterfall() not working correctly #268

xarico10 opened this issue Aug 2, 2021 · 0 comments
Assignees

Comments

@xarico10
Copy link
Contributor

xarico10 commented Aug 2, 2021

When using waterfall() to create a waterfall plot, which is a mesh plot with a partial curtain along the y dimension, a very different plot is generated. The generated plot isn't filled, which makes it very hard to understand.

[X,Y] = meshgrid(-5:.5:5);
Z = Y.*sin(X) - X.*cos(Y);
waterfall(X,Y,Z)

fig2plotly(gcf, 'offline', false);

Expected and generated (https://chart-studio.plotly.com/~xarico10/823/#/) plots:
Captura de Pantalla 2021-08-02 a la(s) 12 03 47 p  m
Captura de Pantalla 2021-08-02 a la(s) 12 03 56 p  m

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

No branches or pull requests

2 participants