-
Notifications
You must be signed in to change notification settings - Fork 167
Animations - Only in Offline mode #399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…y-for-matlab into animations
Works fine for me! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work! My only suggestion (coming from @jackparmer) is the request to use camelCase for code development.
Added options to specify FrameDuration and FrameTransitionDuration to control the speed of the animations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When run updated code, it turns out following error
Reviewing the code I found an error between lines #267 and #268 in plotlyfig.m
file (please fix it. It is a missing end
command).
Anyway when I fix previous error and run the following code
[xmat,ymat,zmat] = peaks(100);
xvec = xmat(:);
yvec = ymat(:);
zvec = zmat(:);
comet3(xvec,yvec,zvec)
fig2plotly(gcf, 'offline', true, 'TreatAs', 'comet3');
This takes a long time to run and in at end throws a memory overflow error
This PR adds support for animated lines and comets.
Sample code to try:
Note: This is supported in offline mode.