Skip to content

Plotting function using fplot() not supported #172

Closed
@xarico10

Description

@xarico10

An error is being printed when using any variation of fplot().

For example,

f = @(x) sin(x);
fplot(f)

fig2plotly();

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 437)
                response = plotly(obj.data,
                args);

Error in fig2plotly (line 49)
p.plotly;

Error in untitled10 (line 35)
fig2plotly();

Expected plot:
Captura de Pantalla 2021-07-25 a la(s) 6 29 38 p  m

Examples on using fplot() can be found on:
https://www.mathworks.com/help/matlab/ref/fplot.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