Matlab figure unassembles in Visio/AI

10 views (last 30 days)
Jiaji Ma
Jiaji Ma on 9 Jun 2023
Answered: Pratheek on 22 Jun 2023
I used matlab code to plot a 3D image. Then I want to copy the figure to Visio/AI for subsequent editing. My operation is: edit→Copy Figure. The settings are as follow.
However, when the copied figure is uncombined in Viso/AI, it get messy. The unaltered firgure is shown in the left, and the uncombined one is shown in the right.

Answers (1)

Pratheek
Pratheek on 22 Jun 2023
Hello Jiaji,
I understand that when you try to copy and paste an image, it may get disassembled. One possible reason for this is selecting the metafile format in the clipboard, which may lose information. It is recommended to choose the second option, which is preserve information.
Another workaround is to use the "saveas" function in MATLAB. This function allows you to save the image in a specific format, such as PNG or JPEG, ensuring that the image is preserved without any loss of information. By saving the image using the "saveas" function, you can then use it in other applications or insert it into documents without encountering the disassembly issue.
Here's an example of how to use the "saveas" function to save an image as a PNG file:
% Save the plot as a PNG image
saveas(gcf, '3D.png');
Then use this in Visio/AI.
Hope this helps you!

Categories

Find more on Printing and Saving in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!