Skip to content

quiver() not supported #253

Closed
Closed
@xarico10

Description

@xarico10

When using quiver() to plot arrows with directional components, a warning message and an error are being printed.

load('wind','x','y','u','v')
X = x(11:22,11:22,1);
Y = y(11:22,11:22,1);
U = u(11:22,11:22,1);
V = v(11:22,11:22,1);
quiver(X,Y,U,V)

fig2plotly(gcf, 'offline', false);

The previous code prints the following warning message:

Undefined function 'affine2d' for input arguments of type 'double'.
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 untitled20 (line 11)
fig2plotly(gcf, 'offline', false);

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

Examples on using quiver() can be found on:
https://www.mathworks.com/help/matlab/ref/quiver.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