Skip to content

No Name-Value argument is working on surface plots #262

Closed
@xarico10

Description

@xarico10

No Name-Value argument is working on surface plots.

[X,Y] = meshgrid(1:0.5:10,1:20);
Z = sin(X) + cos(Y);
C = X.*Y;
surf(X,Y,Z,C,'FaceColor','blue','EdgeColor','red','LineStyle','--')

fig2plotly(gcf, 'offline', false);

For example, the previous code should plot a blue surface with dashed red edges, however, none of that is happening.

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

Captura de Pantalla 2021-08-02 a la(s) 11 06 41 a  m

Captura de Pantalla 2021-08-02 a la(s) 11 06 54 a  m

Examples on using Name-Value arguments on surface plots can be found on:
https://www.mathworks.com/help/matlab/ref/surf.html#bvgs7wv-1

Metadata

Metadata

Labels

⭐⭐⭐ multiplierIssues that could close multiple related issues at once

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions