animatedline() not supported
Offen
@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 animatedline() to create an animated line, an error is being printed.
h = animatedline;
axis([0,4*pi,-1,1])
x = linspace(0,4*pi,1000);
y = sin(x);
for k = 1:length(x)
addpoints(h,x(k),y(k));
drawnow
end
fig2plotly(gcf, 'offline', false);
Prints the following error:
Error using response_handler (line 31)
Expecting (x, y) pairs
Error in makecall (line 32)
response_handler(resp);
Error in plotly (line 28)
response = makecall(args, origin, structargs);
Error in plotlyfig/plotly (line 449)
response = plotly(obj.data, args);
Error in fig2plotly (line 49)
p.plotly;
Error in untitled16 (line 12)
fig2plotly(gcf, 'offline', false);
Expected animation:
Examples on using animatedline() can be found on:
https://www.mathworks.com/help/matlab/ref/animatedline.html#responsive_offcanvas
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.