How can I put a MATLAB figure in a presentation, and rotate the axes during the presentation?
Show older comments
I have a figure:
logo;
set(gcf, 'color', 'w');
Lovely! I'd like to put that figure, or at least the object in the figure, in a presentation. I happen to be using Powerpoint, but I guess I might switch programs one day. I want to be able to manipulate the object (say rotate, zoom, pan, etc.) with the mouse during the presentation, so people can see it in all its 3D glory.
Any ideas how I might do this?
4 Comments
Paulo Silva
on 3 Feb 2011
Use one of the free screen recorders like CamStudio and insert the video (panning and zooming the logo) into the presentation.
Oliver Woodford
on 3 Feb 2011
Jiro Doke
on 3 Feb 2011
@Oliver: Is this for use on a computer without MATLAB installed? Or do you expect to have access to MATLAB?
Oliver Woodford
on 5 Feb 2011
Answers (3)
Jiro Doke
on 3 Feb 2011
2 votes
It's not exactly what you are asking for, but I've created animated GIFs from MATLAB graphics (including interactions) and embedded them in PowerPoint presentations. The main downside is that you don't get the interactivity. It animates based on your predefined motions.
EDIT: Here are some resources for creating animated GIFs in MATLAB:
- MATLAB function: imwrite
- MathWorks TechNote Solutions: "How can I create animated GIF images in MATLAB?", "Why do animated GIFs generated from MATLAB not animate in PowerPoint 2003?"
- File Exchange entries: anymate, Animated GIF
5 Comments
Oliver Woodford
on 3 Feb 2011
Oleg Komarov
on 3 Feb 2011
@Jiro: so, is it actually possible to embed it and use matlab engine behind ppt in order to exploit rotation, zoom and so on...?
Jiro Doke
on 3 Feb 2011
@Oliver: I'll find some links to include here on how to create animated GIFs.
@Oleg: No, I meant embedding an animated GIF image. The image is not tied to MATLAB, but the image will animate based on a prescribed motion.
Oleg Komarov
on 3 Feb 2011
@Jiro: yes I got it, but is it theoretically/feasibly possible (meaning that ActiveX knowledge and MATLAB only) to embed an object which (assuming MATLAB is installed) will be exploitable as a .fig?
Jiro Doke
on 3 Feb 2011
@Oleg: I'm not very knowledgeable with ActiveX, so I can't say. But you can have PowerPoint talk to MATLAB via ActiveX. The live figure manipulation might be extremely difficult, though.
Jan
on 5 Feb 2011
2 votes
You can use a modified version of Alexandre Gramfort's "Matlab mesh to PDF with 3D interactive object": http://www.mathworks.com/matlabcentral/fileexchange/25383 Embedding an ActiveX object letting Acrobat display this PDF in your PowerPoint presentation is much easier. But you can create the complete presentation as PDF also! Even Acrobat-Reader can handle fullscreen mode, cross-fading and animations.
Jiro Doke
on 6 Feb 2011
1 vote
If you have MATLAB available on your presentation machine, you can take a look at "Calling MATLAB from PowerPoint" by Brett.
Categories
Find more on MATLAB Report Generator in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!