Export figure to Microsoft Outlook
3 次查看(过去 30 天)
显示 更早的评论
Seeking a good way to email plots to my coworkers via Outlook. The following are not satisfactory: 1) From Matlab figure window, choose Edit > Copy Figure then paste within Outlook. Quality is poor. 2) Quality is better with Matlab's print utility (png, tif) but figure aspect ratio is not preserved. 3) Aspect ratio is preserved with the program http://www.mathworks.com/matlabcentral/fileexchange/727-exportfig/content/exportfig.m but inserting the figure into Outlook is cumbersome (Insert > Picture then hunt for figure file).
The ideal solution would produce a high-quality figure with correct aspect ratio by (a) opening a new Outlook message with the figure embedded in the message body, or (b) better copying to the clipboard. Suggestions?
[Can't figure out how to insert a line break, sorry]
2 个评论
Daniel Shub
2011-11-23
What do you mean by the quality is poor with the Copy Figure option? What type of figure are you dealing with? What is the figure renderer?
KAE
2011-11-24
The figure looks very pixelated once it is copied to Outlook. This is true for lines and text, and for all options that are in Copy > Figure (bitmap, optimized for PowerPoint, etc).
采纳的回答
Oliver Woodford
2011-11-23
This code will copy a figure to the clipboard as an image:
imclipboard('copy', export_fig());
5 个评论
owr
2011-11-29
This is great, you just made my life easier as well. I put this function call in a toolbar shortcut preceded by "set(gcf,'Color',[1 1 1])". A white figure background looks nice in Outlook.
Thank you!
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Printing and Saving 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!