A graphics object was developed to help visualize data. It uses the Borland Graphics Interface (BGI), so it requires the Borland compilers. It uses a virtual matrix to store the data, and displays an x–y graph on the screen. It is simple as far as graphics goes. It is intended to be quick and dirty. More sophisticated graphics are widely available, so there is not much need to reinvent the wheel. You can write the virtual matrix to an ASCII file, and use a professional package for high quality output.
The GMatrix
class combines graphics with
a virtual matrix. The GMatrix
keeps the data in a virtual
matrix. Any number of x–y plots can be stored in this matrix.
Once the data has been created, the graph can be displayed. The
graph has titles, axis labels, neat axis values, reference
lines, and various symbols for overlayed graphs. It determines
where to put its elements according to the view settings found
from automatic detection of the graphics system on the machine.
Hence it works for any of the monitors and modes supported by
the BGI.