\documentclass[12pt]{article}
%%\usepackage {graphicx}

%%================================================================
\usepackage{hyperlatex}
\usepackage{xspace}
\usepackage[usenames]{color}
\usepackage{colortbl}
%% Comment out the following two lines if you do not have Babel
\usepackage[german,english]{babel}

\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}

\W\usepackage{longtable}
\W\usepackage{makeidx}

\W\usepackage{frames}
%%\usepackage{enumerate}

%\htmlpanelgerman
\newcommand{\printindex}{%
  \htmlonly{\HlxSection{-5}{}*{\indexname}\label{hlxindex}}%
  \texorhtml{\input{hyperlatex.ind}}{\htmlprintindex}}

\W\begin{iftex}
\sloppy
%% These definitions work reasonably for A4 and letter paper
\oddsidemargin 0mm
\evensidemargin 0mm
\topmargin 0mm
\textwidth 15cm
\textheight 22cm
\advance\textheight by -\topskip
\count255=\textheight\divide\count255 by \baselineskip
\textheight=\the\count255\baselineskip
\advance\textheight by \topskip
\W\end{iftex}

%% Html declarations: Output directory and filenames, node title
\htmltitle{}
\htmldirectory{html}
\htmladdress{Hugo M. Van Woerkom, \today { }(HyperLatex \HlxEval{(insert hyperlatex-version)} -- \input{/tmp/system_is})\\
}
%%\begin{rawxml}
%%<img src="/cgi-bin/Count.cgi?font=Arial_Bold.ttf&pt=18&bg=CD69C9&fg=000000" alt="******">
%%\end{rawxml}

\W\xmlattributes{body}{bgcolor="#ffffe6"}
\W\xmlattributes{table}{border}
%%\W\xmlattributes{ul}{compact}
%\htmlattributes{BODY}{BGCOLOR="#ffffe6"}
%\htmlattributes{TABLE}{BORDER}

\setcounter{secnumdepth}{0}
\setcounter{htmldepth}{0}

%% Toppanel should include the Index (TODO)

\newcommand{\homepage}{}

%% two useful shortcuts: \+, \*
\newcommand{\+}{\verb+}
\renewcommand{\*}{\back{}}

%% General macros
\newcommand{\Html}{\textsc{Html}\xspace }
\newcommand{\latex}{\LaTeX\xspace }
\newcommand{\latexinfo}{\texttt{latexinfo}\xspace }
\newcommand{\texinfo}{\texttt{texinfo}\xspace }
\newcommand{\dvi}{\textsc{Dvi}\xspace }
\newcommand{\ta}{\texonly }
\newcommand{\ho}{\htmlonly }
\renewcommand{\thesection}{}
\renewcommand{\thesubsection}{}

\makeindex

%%\htmlcss{Traditional.css}
\htmlcss{My.css}

\title{}
\date{}
\author{}

\begin{document}
\begin{rawxml}
<a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=190313&amp;type=6" width="210" height="62" border="0" alt="SourceForge.net Logo" /></a>
\end{rawxml}
\maketitle
%%=============================================================

%%\begin{document}
%%\begin{figure}[htbp]
%%\centerline{\includegraphics[width=5.52in,height=8.16in]{AVENS011.eps}}
%%\label{fig1}
%%\end{figure}

\section{Overall Organization}

GraphiC functions have been classified into four levels:

\begin{description}
    \item[0] before initialization of GraphiC
    \item[1] after initialization
    \item[2] after the page layout and options have been defined<R>
    \item[3] after the axes are defined
\end{description}

These levels indicate the order in which the calls should be made; 
the lower a function's level, the earlier in the program it should be called. 
These levels should be used as guides so that parameter setting routines will be called 
before the outines that use those parameters.

Each program containing GraphiC routines must be initialized and terminated using the routines 
bgnplot() and stopplot(). Generally each of these routines is called only once in the program.

Each GraphiC screen (a screen on the PC may contain several individual pictures) must also be initialized 
and terminated using the routines startplot() and endplot(), respectively. 
These obligatory routines put the color defaults, screen erasures, and other necessary information 
into the file containing the plot information.

We have provided a collection of sample programs to help you get started. 
These programs can be found in the chapter Example Programs. 
We always use one of the example programs as boiler plate for a new one.

To indicate functions that have changed or are new since the last version of GraphiC, or that are obsolete, 
we use different color backgrounds for the function name as follows:\\

\definecolor{MyDarkBlue}{rgb}{0,0.08,0.45}

\begin{tabular}{|l|c|c|}
\hline
\rowcolor{yellow}
\textcolor{MyDarkBlue}{NormalFunction (void)} & GRAPHIC.H & Level 0\\
\hline
\end{tabular} 
\\
\\
\T\indent
\begin{tabular}{|l|c|c|}
\hline
\rowcolor{green}
\textcolor{MyDarkBlue}{ChangedFunction (void)} & GRAPHIC.H & Level 0\\
\hline
\end{tabular} 
\\
\\
\T\indent
\begin{tabular}{|l|c|c|}
\hline
\rowcolor{Orange}
\textcolor{MyDarkBlue}{ObsoleteFunction (void)} & GRAPHIC.H & Level 0\\
\hline
\end{tabular} 
\\
\\
Obsolete functions are maintained in this version of GraphiC for backwards compatibility. 
However, you should update your code and replace these functions because they will be removed from the next release.

The same color conventions are used for changed or for obsolete text so that it will be easy for you to see.

\section{Initialization Routines}

In general, you should have only one call to the GraphiC initialization routine bgnplot(), 
and one call to the termination routine stopplot() in your program.

An exception to this rule occurs in OS/2, a multithreaded environment. 
GraphiC/OS2 allows you to call GraphiC from different threads in your program, 
and in this case, each thread should have its own initialization/termination sequence.

void bgnplot (Schar monitor, Schar screentype, char * filename)
GPC_MAIN (void)
void NewFile (char *newfile)
void startplot (color)

\subsection{Accessing text mode after GraphiC starts}

After GraphiC is initiated via a call to bgnplot(), 
GraphiC expects all screen output to be in a graphical form between the calls to startplot() and endplot(). 
However, you might also want to display numbers or other text-mode items as your program calculates. 
GraphiC has two different methods of doing this depending upon whether you are in a DOS or in a windowed environment.

void gpcTextMode (int on_off)

\section{Plot Termination Routines}

\section{Page and Axis Options}

\section{Simultaneous Plots}

\section{2-D Axes Routines}

\section{Smith Charts}

\section{Polar Plots}

\section{Contour Plots}

\section{Triangle Plots}

\section{Plume Plots}

\section{Three-Dimensional Plots}

\section{Four-Dimensional Plots}

\section{Pie Charts}

\section{Box and Whiskers Plots}

\section{Error Function Plots}

\section{Line-Drawing Routines}

\section{Line and Symbol Styles}

\section{Color}

\section{Text Routines}

\section{Cross Hairs}

\section{Plot Insertion}

\section{Program Timer}

\section{Character Input routines}

\section{Character Output Routines}

\section{Statistical Functions}

\section{Matrix Routines}

\section{Panel Filling}

\section{Memory Routines}

\section{File Routines}

\section{Error Handling}

\section{Printer Output}

\section{Utility Routines}

\section{Utility Programs}

\end{document}
