\documentclass{article}
\usepackage{graphicx,color}
\begin{document}
\title{Octave figures for \LaTeX: basics}
\author{Andrew Comech, Texas A\&M University}
\maketitle


\section{Phase portrait of an oscillator}
Consider a system that describes
an oscillator with a viscous friction,
\begin{equation}\label{oscillator}
\frac{dx}{dt}=v, \qquad \frac{dv}{dt}=-x-\frac{1}{5}v.
\end{equation}
Here is a plot in the phase plane the numerical solution to (\ref{oscillator})
with the initial data
$x(0)=-2$, $v(0)=0$.

\begin{figure}[htbp]
\includegraphics[width=4in]{fig.eps}
\end{figure}

\section{References}
\noindent
{\tt http://www.math.tamu.edu/\~{}comech/tools/octave-basics/}


\end{document}

