\documentclass[12pt]{article} 

%% The style files we need are color and graphicx
\usepackage{color,graphicx} 

%% Here we are setting some dimensions

\oddsidemargin 0pt \textwidth 6.5in \textheight 10.5in
\topmargin -1in \vspace{1cm}

% Since we are drawing a picture with picture commands, we
% can set what a unit length is.  I like 1 unit = .5 inches

\setlength{\unitlength}{.5in}  

%  Here is a macro that comes in handy

\newcommand{\blue[1]}{\textcolor{blue}{#1}}
 
\begin{document}
\begin{center}
\Large\bf  Getting Graphics for LaTeX documents
\end{center}

There are many ways to get pictures into LaTeX documents.  We will cover
just a few.  This will take care of 90 per cent of our needs.

\section{\Large\bf {The {\color{blue}picture environment} in LaTeX. }}

The idea here is to draw the diagram with latex picture commands.


\begin{picture}(7,4)\thicklines
\put(7,0){\color{red}{\vector(-1,0){7}}}
\put(4,4){\color{blue}\vector(3,-4){4}}
\put(0,0){\color{green}\vector(1,1){4}}
\put(6.8,.1){A}
\put(.2,.2){B}
\put(4,3.6){C}
\put(2,2){\Huge$\displaystyle\int_{a}^{b}f(x)~dx$}
\end{picture}

Generally speaking, it takes a lot of work to draw something
with picture commands, but such pictures are very portable
(that is, can be drawn in most versions of LaTeX).


\section{Monochrome drawings with MS Paint}

To draw for example a geometrical diagram
\begin{itemize}
\item Launch the Paint application from Accessories.
\item Set the size to something like 4 by 2.4 inches. (Use the 
\textcolor{blue}{Attributes Option} from the Image menu
\item Make a drawing
\item Save as monochrome bmp  (say pic.bmp) in the right directory
\item Be sure to include graphicx in your list of packages
\item Put
\verb|\includegraphics[height=4in,width=2.4in]{pic.bmp}|
in your tex file.
\end{itemize} 

\includegraphics[height=2.3in,width=4in]{trian.bmp}

\section{Using Maple to draw color eps files}

\begin{itemize}
\item Launch Maple (release 4 or 5)
\item Then in a worksheet issue these commands
\item \verb|plotsetup(ps,plotoutput=`pic.eps`,plotoptions=`color`);|
\item \verb|plot({sin(x),x^3},x=-Pi..Pi);|
\item Get the file pic.eps into the right  directory
\item proceed as above with MS Paint
\end{itemize} 
\includegraphics[height=4in,width=2.3in,angle=-90]{funcs.eps}

Note: Maple graphics arc ordinarily printed in landscape, so must 
be rotated 90 degrees.
\end{document}
