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

comet() not working correctly #277

Open
xarico10 opened this issue Aug 3, 2021 · 0 comments
Open

comet() not working correctly #277

xarico10 opened this issue Aug 3, 2021 · 0 comments
Assignees

Comments

@xarico10
Copy link
Contributor

xarico10 commented Aug 3, 2021

When using comet() to display a comet plot of the data specified in y versus the index of each value (a comet is an animation of a marker (head) and a line (tail) tracing a growing line over the data points) a single-point scatter plot is printed.

t = 0:pi/100:2*pi;
y = sin(t);
x = cos(t);
comet(x,y)

fig2plotly(gcf, 'offline', false);

Expected animation and generated (https://chart-studio.plotly.com/~xarico10/837/#plot) plot:

Grabacion.de.pantalla.2021-08-03.a.la.s.1.48.21.p.m.mov

Captura de Pantalla 2021-08-03 a la(s) 1 51 56 p  m

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

@xarico10 xarico10 changed the title comet() not supported comet() not working correctly Aug 3, 2021
@harshpurwar harshpurwar self-assigned this Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants