Skip to content

comet3() not working correctly #278

Open
@xarico10

Description

@xarico10

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

Metadata

Metadata

Assignees

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