animatedline() not supported
Open
@harshpurwar is already working on this.
Since Sep 5, 2021.
- Dominant language
- MATLAB
- Stars
- 413
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.