Skip to content

LineSpec argument not working on contour plots #252

Closed
@xarico10

Description

@xarico10

Using LineSpec input argument to change the line format isn't working.

[X,Y,Z] = peaks;
contourf(X,Y,Z,'--')
fig2plotly(gcf, 'offline', false);

The previous code should plot a filled contour with dashed lines, however, is plotting regular solid lines.

Expected and generated (https://chart-studio.plotly.com/~xarico10/709/#/) plots:
Captura de Pantalla 2021-07-31 a la(s) 12 36 30 p  m
Captura de Pantalla 2021-07-31 a la(s) 12 36 39 p  m

Examples on using LineSpec can be found on:
https://www.mathworks.com/help/matlab/ref/contourf.html#mw_30a9c816-90e5-4ab8-a7a0-11675e85a091

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