Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xarico10 opened this issue Jul 25, 2021 · 0 comments · May be fixed by #320
Open

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

xarico10 opened this issue Jul 25, 2021 · 0 comments · May be fixed by #320
Assignees

Comments

@xarico10
Copy link
Contributor

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

@benaliabderrahmane benaliabderrahmane linked a pull request Aug 6, 2021 that will close this issue
@xarico10 xarico10 linked a pull request Aug 8, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants