MATLAB Answers

how do i copy figure in linux

21 views (last 30 days)
Bruce Cochran
Bruce Cochran on 19 Feb 2016
Answered: jgg on 19 Feb 2016
i am running matlab on a linux system and i want to copy a figure to paste it into a presentation (for example openoffice impress). There is no option available. How can i do it?

Answers (1)

jgg
jgg on 19 Feb 2016
Try this:
bar(1:10) %whatever your figure is
print('BarPlot','-dpng')
There are other options here:
http://www.mathworks.com/help/matlab/ref/print.html

Community Treasure Hunt

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

Start Hunting!