comet3() not working correctly

Offen
#278 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@harshpurwar arbeitet bereits daran.

Seit 16.10.2021.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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:

https://user-images.githubusercontent.com/87881895/128070750-0a71ad95-2f0a-4e5e-8db6-6ebc54f22650.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

Vorherrschende Sprache
MATLAB
Sterne
413
Forks
166
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus plotly/plotly_matlab

Alle Issues in plotly/plotly_matlab

Ähnliche Issues

Weitere Issues zu MATLAB

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.