Have you ever wanted to export MATLAB figures to Microsoft® PowerPoint® for presentation purposes? There are a number of ways you can accomplish this. You can "Copy Figure" directly from the Edit menu of the figure window, use any of the figure exporting functions (print, hgexport, saveas), or publish to PowerPoint (only available on Windows). These techniques give you both bitmaps and vector graphics, but what's impressive about Dmitriy's function is that it creates a group of objects that are easily editable in PowerPoint. His function is easy to use, with a quick access button that can be added to the toolbar:
Note: the plot above is based on this blog post.
Clicking on the button opens up PowerPoint, using COM integration, and creates the objects one by one based on the handle graphics objects in the figure. Below, you can see how a MATLAB graphics object is an object in PowerPoint.
Dmitriy also includes an extensive help with his function so that anyone can easily start using it.
Get the MATLAB code
Published with MATLAB® 7.12
Comments are closed.