Skip to content

quiver3() not supported #254

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

quiver3() not supported #254

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

Comments

@xarico10
Copy link
Contributor

When using quiver3() to plots arrows with directional components in 3-D, a warning message and an error are being printed.

load wind
X = x(5:10,20:25,6:10);
Y = y(5:10,20:25,6:10);
Z = z(5:10,20:25,6:10);
U = u(5:10,20:25,6:10);
V = v(5:10,20:25,6:10);
W = w(5:10,20:25,6:10);
quiver3(X,Y,Z,U,V,W)

fig2plotly(gcf, 'offline', false);

Prints the following warning message:

Number of elements must not change. Use [] as one of the size inputs to automatically calculate the appropriate size for that dimension.
We had trouble parsing the quiver object.
This trace might not render properly.

And the following error:

Error using response_handler (line 31)
Hm... Plotly had some trouble decoding your 'args'. Are you
sure your data or styling object is in the right format?
Check out the examples at https://plotly.com/api for
guidance.

Need help? Please try searching Plotly's <a
href='http://stackoverflow.com/questions/tagged/plotly'>Stack
Overflow channel</a>.

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 untitled22 (line 13)
fig2plotly(gcf, 'offline', false);

Expected plot:
Captura de Pantalla 2021-07-31 a la(s) 12 48 45 p  m

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

@gilbertogalvis
Copy link
Contributor

PR #338 fix this issue

Screen Shot 2021-08-13 at 11 55 48 AM

Screen Shot 2021-08-13 at 11 56 44 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