I frequently include plots in my emails. The easiest and most reliable way I have found is to just capture a part of the screen using greenshot (Windows) and paste into the message.
Microsoft recently added SVG support to Office 2016 including Outlook. Hence, it should be possible to embed a nice resolution independent SVG plot created in Mathematica into an Outlook message.
Mathematica doesn't have a "Copy as SVG" menu option. But you can Export to a file, and then import it into you message, however, this is a lot of clicks.
So the question is: How to copy as SVG to the clipboard so that the process is simplified?
Note 1: a simple:
CopyToClipboard[ExportString[Plot[Sin[x], {x, 0, Pi}], "SVG"]]
does not work.
Note 2: I already have the solution for Windows, so I am more sharing than asking. But there may be better solutions and also with support for other operating systems.
Note 3: SVG in email is a good idea in a controlled environment where you know that the recipient has an email client that supports it. For regular, non intranet email, better stick to traditional screenshots.
Comments
Post a Comment