Skip to content

fmesh() not supported #269

Closed
Closed
@xarico10

Description

@xarico10

When using fmesh() to create a mesh plot of the expression z = f(x,y), an error is printed.

fmesh(@(x,y) sin(x)+cos(y))

fig2plotly(gcf, 'offline', false);

Te previous code prints the following error:

Error using response_handler (line 31)
Expecting (x, y) pairs

Error in makecall (line 32)
    response_handler(resp);

Error in plotly (line 28)
response = makecall(args, origin, structargs);

Error in plotlyfig/plotly (line 449)
                response = plotly(obj.data, args);

Error in fig2plotly (line 49)
p.plotly;

Error in untitled11 (line 5)
fig2plotly(gcf, 'offline', false);

Expected plot:
Captura de Pantalla 2021-08-02 a la(s) 12 31 06 p  m

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

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