Skip to content

comet3() not working correctly #278

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

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

comet3() not working correctly #278

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

Comments

@xarico10
Copy link
Contributor

xarico10 commented Aug 3, 2021

When using comet3() to displays a comet plot of the data specified in z versus x- and y-values matching the indices of z(a comet is an animation of a marker (head) and a line (tail) tracing a growing line over the data points), a single-point 3-D scatter chart is being printed.

[xmat,ymat,zmat] = peaks(100); 
xvec = xmat(:);
yvec = ymat(:);
zvec = zmat(:);
comet3(xvec,yvec,zvec)

fig2plotly(gcf, 'offline', false);

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

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

Captura de Pantalla 2021-08-03 a la(s) 1 57 26 p  m

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

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

3 participants