Using Octave to prepare figures for LaTeX papers

WARNING: the codes found here have been written for Octave 2.1

Several examples on preparing PSTEX and EPS figures with Octave and using them in LaTex for PDF "powerpoint-like" presentations.

The latest version of this page lives at http://www.math.tamu.edu/~comech/tools/octave-latex/

For a simpler version, see http://www.math.tamu.edu/~comech/tools/octave-basics/#latex

Source files

rk4.m is the implementation of Runge-Kutta method for Matlab/Octave called from phase-portrait.m.

Instructions

1. Download and install Octave, which is a free software (copyrighted under GPL) similar to Matlab. On a Linux computer, chances are that it is already installed. You also need to have GNUPlot installed. On a Debian GNU/Linux computer,

apt-get install octave gnuplot

2. Download all the above files into a new directory and type `make' in that directory. This produces all the required EPS pictures and compiles the PDF file.

example-octave-figs.pdf is the resulting PDF file.

Reference materials

Related links

Example of a PDF talk with Octave-generated pictures

Written by Andrew Comech

ACKNOWLEDGMENT: This page resulted from the research that has been partially supported by the National Science Foundation under Grants DMS-0621257 and DMS-0600863.