Skip to content

fcontour() not supported #248

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

Closed
xarico10 opened this issue Jul 31, 2021 · 1 comment
Closed

fcontour() not supported #248

xarico10 opened this issue Jul 31, 2021 · 1 comment
Assignees

Comments

@xarico10
Copy link
Contributor

When using fcontour() to plot the contour lines of the function z = f(x,y), an error is being printed.

f = @(x,y) sin(x) + cos(y);
fcontour(f)

fig2plotly(gcf, 'offline', false);

The 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 untitled19 (line 6)
fig2plotly(gcf, 'offline', false);

Expected plot:
Captura de Pantalla 2021-07-31 a la(s) 12 37 56 a  m

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

@xarico10 xarico10 changed the title fcontour not supported fcontour() not supported Jul 31, 2021
@gilbertogalvis gilbertogalvis self-assigned this Aug 11, 2021
gilbertogalvis pushed a commit that referenced this issue Aug 13, 2021
@gilbertogalvis
Copy link
Contributor

PR #336 fix this issue

Screen Shot 2021-08-13 at 8 21 09 AM

Screen Shot 2021-08-13 at 8 21 42 AM

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

No branches or pull requests

2 participants