Skip to content

Default colors and grid not matching #255

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 31, 2021 · 0 comments · Fixed by #289
Closed

Default colors and grid not matching #255

xarico10 opened this issue Jul 31, 2021 · 0 comments · Fixed by #289
Assignees

Comments

@xarico10
Copy link
Contributor

When using surf() to create a three-dimensional surface plot, the default colors aren't matching. Also, MATLAB prints a grid on the surface and plotly doesn't.

[X,Y] = meshgrid(1:0.5:10,1:20);
Z = sin(X) + cos(Y);
surf(X,Y,Z)

fig2plotly(gcf, 'offline', false);

Expected and generated (https://chart-studio.plotly.com/~xarico10/725/#/) plots:
Captura de Pantalla 2021-07-31 a la(s) 12 59 49 p  m
Captura de Pantalla 2021-07-31 a la(s) 1 00 03 p  m

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

@3alimoh 3alimoh self-assigned this Aug 2, 2021
@3alimoh 3alimoh linked a pull request Aug 4, 2021 that will close this issue
3alimoh added a commit that referenced this issue Aug 4, 2021
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.

3 participants