Skip to content

compass() and ezpolar() not plotting polar axes #244

Closed
@xarico10

Description

@xarico10

When using compass() to plot arrows originating from the point (0, 0) in polar coordinates, the polar axe isn't being shown. Only the arrows are being plotted.

Same thing happens when using ezpolar() to plot functions in polar coordinates. Only curves are being plotted.

For example

u = [5 3 -4 -3 5];
v = [1 5 3 -2 -6];
compass(u,v)

fig2plotly(gcf, 'offline', false);

Expected and generated (https://chart-studio.plotly.com/~xarico10/649/#/) plots:
Captura de Pantalla 2021-07-30 a la(s) 7 32 02 p  m
Captura de Pantalla 2021-07-30 a la(s) 7 32 12 p  m

As seen, only the arrows are being printed.

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

Metadata

Metadata

Labels

⭐⭐⭐ multiplierIssues that could close multiple related issues at once

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions