DESCRIPTION: 	This file discusses the design of gpsplot, a OpenGL plotting
				tool used to plot data that OpenGPS produces.

AUTHOR:		Stephan Esterhuizen

DATE:		24 July 2003

--------------------------------------------------------------------------------

--------------------
FEATURES/LIMITATIONS
--------------------

gpsplot will be able to support the following features:

 - time plot of IE,QE,IL,QL overlayed on each other
 - time plot of any combination of I/Q dumps, including
 		+ Power Late
		+ Power Early
		+ Power Prompt

 - polar plot of any two I/Q dumps
 - Different colours for overlayed graphs
 - Only graphs of some magnitude/units can be overlayed
 - Only one OpenGL window per gpsplot instance is possible

--------------
GRAPH FEATURES
--------------

In order to sustain the above features, the OpenGL graphing library must


---------------
GRAPH FUNCTIONS
---------------

Polar
-----

The polar plot graphing utility will have the following function calls

 - polarPlotDraw() : This gets called by the idle OpenGL function. This
 					 function will draw all the points in its data array

 - polarPlotAdd(x,y,colour) : Add point (x,y) to the polar plot's data array.

 - x,y,index = polarPlotGet(index) : Returns the x,y coordinates and colour
 									 of pixel at 'index'. index=0 is the newest
									 pixel, while index=MAX_POLAR_BUF is the
									 oldest x,y coordinate

 - polarPlotXLabel(label) : change the x label to 'label'

 - polarPlotYLabel(label) : change the y label to 'label'

The data array for polarPlot will be a circular buffer 
