% Insert a PostScript plot made by IDL into a LaTex document:
% For the ArborText program dvips.
%
% This macro creates a captioned figure of the specified size
% and uses the \special command to insert the PostScript.
%
% Usage: \insertplot{file}{caption}{label}{width}{height}
% 	file = name of file containing the PostScript.
% 	caption = caption of figure
%	label = latex \label{} for figure to be used by \ref{} macro.
%	width = width of figure in inches.
%	height = height of figure, in inches.
%
%
%
%		Insert a plot..
% Usage: \insertplot{file}{caption}{label}{width in inches}{height}
%
\newcommand{\insertplot}[5]{%
%    \begin{figure}[h]%
    \begin{figure}[tbp]%
                \epsfverbosetrue        % if you want to see dimensions
                \epsfxsize=#4 in        % choose x and y dimensions
                \epsfysize=#5 in        
                \epsffile{#1}           % include file%

                \caption{#2}
		\label{#3}

    \end{figure} }
%
%
%
%
%
