Paste figure from vector graphics clipboard
11 views (last 30 days)
Show older comments
Benjamin Pehlivanlar
on 11 Oct 2021
Answered: Navya Singam
on 26 Oct 2021
I have a software (.exe) done using MATLAB but I don't have access to the source code.
This software contains a figure plot that allows to be saved in jpg/png/etc. or copied to the clipboard (as an image), or also "copy as vector graphics".
My goal would be to paste this in a MATLAB Figure in order to adjust a few parameters such as font size, colorbar, etc.
I've tried the following commands but it doesn't work:
clipboard('paste')
clipboard('pastespecial')
clipboard function gives me an empty variable as output.
Can anyone tell me how I could paste this "vector graphics" in MATLAB in order to reproduce the figure?
Thanks
0 Comments
Accepted Answer
Navya Singam
on 26 Oct 2021
Hi Benjamin,
"clipboard('paste')" and "clipboard('specialpaste')" are used to paste the text data on to MATLAB.
Pasting Vector Graphic data into MATLAB Figure window is not supported as of MATLAB R2021b.
This feature might be supported in a future release.
IMCLIPBOARD function from File Exchange is used for the image data. Please feel free to contact the author for more information.
0 Comments
More Answers (0)
See Also
Categories
Find more on Printing and Saving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!