Skip to content

quiver3() not supported #254

Closed
Closed

Description

@xarico10

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

Activity

  1. added a commit that references this issue on Aug 13, 2021
  2. gilbertogalvis commented on Aug 13, 2021

    @gilbertogalvis
    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

  3. added a commit that references this issue on Aug 13, 2021
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