Skip to content

Plotting 3-D functions using fplot3() not supported #173

Description

@xarico10

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

For example,

xt = @(t) sin(t);
yt = @(t) cos(t);
zt = @(t) t;
fplot3(xt,yt,zt)

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 untitled11 (line 28)
fig2plotly();

Expected plot:

Captura de Pantalla 2021-07-25 a la(s) 6 36 59 p  m

Examples on how to use fplot3() can be found on:

https://www.mathworks.com/help/matlab/ref/fplot3.html#responsive_offcanvas

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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