Skip to content

Exporting figures octave

Konstanty edited this page Dec 11, 2013 · 1 revision

The current figure in octave can be saved to a file with the print command. For example:

plot(x, y); % plot like normal (replace with your normal plot type)
print('output.eps', '-depsc2'); % output to "output.eps" 

The current figure is saved to file output.eps. EPS files can be read by Latex, Word, etc.

Clone this wiki locally