Skip to content

Default colors and grid not matching #255

Closed
@xarico10

Description

@xarico10

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

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