質問

I have some MATLAB figures open in MATLAB. I would like to copy them to a word document without exporting and converting them to a .png or .jpg, etc. Is there a straightforward and easy way?

役に立ちましたか?

解決

Go to edit, choose copy figure, then Ctrl+v into word. It works in Windows, but not Linux. Not sure about Mac.

See here for more information.

他のヒント

Issue the command:

print -dmeta

It will copy the current figure to the system clipboard (Microsoft Windows only). Now open MS Word, and simply hit Ctrl+V to paste the figure in the document.

One way is to use screen-capture short-cuts.

On Mac OS X for example, if you hold down the Control, Shift, Command (cloverleaf) and "4" (yes, number 4) keys, the mouse pointer will turn into crosshairs that can be used to draw a rectangle around the figure that you want to copy. This places a picture of that area on the clipboard that can then be dumped into another program such as Word by using Paste.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top