Skip to content

quiver3() not supported #254

Closed
Closed
@xarico10

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

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