plotly / plotly/plotly_matlab

comet() not working correctly

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

@harshpurwar arbeitet bereits daran.

Seit 05.9.2021.

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

Beschreibung

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:

https://user-images.githubusercontent.com/87881895/128070067-0727a430-4916-44e4-954b-ba33b575b6bc.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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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