Skip to content

polarscatter() not supported  #242

@xarico10

Description

@xarico10

When using polarscatter() to plot a scatter plot in polar coordinates, an error is being printed.

th = pi/4:pi/4:2*pi;
r = [19 6 12 18 16 11 15 15];
polarscatter(th,r)

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

Expected plot:
Captura de Pantalla 2021-07-30 a la(s) 7 15 40 p  m

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