Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
xarico10 opened this issue Jul 31, 2021 · 0 comments
Closed

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

xarico10 opened this issue Jul 31, 2021 · 0 comments
Assignees
Labels
⭐⭐⭐ multiplier Issues that could close multiple related issues at once

Comments

@xarico10
Copy link
Contributor

xarico10 commented Jul 31, 2021

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

@xarico10 xarico10 changed the title compass() not plotting polar axes compass() and ezpolar() not plotting polar axes Jul 31, 2021
@xarico10 xarico10 pinned this issue Aug 2, 2021
@xarico10 xarico10 unpinned this issue Aug 2, 2021
@xarico10 xarico10 added the ⭐⭐⭐ multiplier Issues that could close multiple related issues at once label Aug 2, 2021
@gilbertogalvis gilbertogalvis self-assigned this Aug 3, 2021
gilbertogalvis pushed a commit that referenced this issue Aug 3, 2021
gilbertogalvis pushed a commit that referenced this issue Aug 3, 2021
gilbertogalvis added a commit that referenced this issue Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐⭐⭐ multiplier Issues that could close multiple related issues at once
Projects
None yet
Development

No branches or pull requests

3 participants