MATLAB 2025a plot: Copy Figure settings

130 Ansichten (letzte 30 Tage)
Renan M. Furlaneto
Renan M. Furlaneto am 30 Mai 2025
Kommentiert: Robert am 15 Aug. 2025 um 0:28
Hi all,
When I plot a figure and click on "Copy Figure", the image that gets pasted is no longer a vector graphic. In previous versions of MATLAB, copying a figure to the clipboard and pasting it into a Word or PowerPoint file would preserve the vector format. That no longer seems to be the case.
Does anyone know how to configure MATLAB to restore this behaviour?
Thank you,
Renan
  1 Kommentar
Adam Danz
Adam Danz am 30 Mai 2025
Check your copy preferences or copy options.
I don't have MATLAB R2025a open right now but these options should be available from the figure toolstrip or the preference window. From the copy options, check your clipboard format settings.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Noah Prisament
Noah Prisament am 30 Mai 2025
See these settings for info on how to change that default behavior to use an SVG instead of a PNG: https://www.mathworks.com/help/matlab/creating_plots/copy-figure-to-clipboard-from-edit-menu.html.
Likewise, you can also use the "copygraphics" function: https://www.mathworks.com/help/matlab/ref/copygraphics.html.
  3 Kommentare
Oleg Iupikov
Oleg Iupikov am 19 Jun. 2025
Setting "Units" to "Points" in the same setting window enables changing "Content Type". To access Units you may need to temporally uncheck "Match on-screen size" checkbox. The reasons of doing so are unclear for me, but it worked :)
Robert
Robert am 15 Aug. 2025 um 0:28
Thanks for posting, I had the same question, and this worked for me!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Aram Zeytunyan
Aram Zeytunyan am 2 Jul. 2025

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Produkte


Version

R2025a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by