MATLAB Answers

how do i copy figure in linux

17 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?

  0 Comments

Sign in to comment.

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

  0 Comments

Sign in to comment.