Introduction


CPlot is a graphics library for use with the Microsoft Foundation Classes. By default, it supports XY scatter, line, and histogram plots, as well as display of image information (two dimensional data). Iit also allows for adding new graph types by incorporating a flexible data architecture, and consistent virtual function support.

Even those not very familiar with programming can use CPlot. Use MFC to set up an application, call a few functions to initialize the data in CPlot and display it, and voila! you have a chart.

The easiest way to learn to use CPlot is to follow the tutorial (whether or not you implement the tutorial, at least read it.) It covers most of what one might do with CPlot. The class library reference provides any other information that is needed.

Features of CPlot The main features of CPlot are as follows:

  1. Support for XY scatter, line, and histogram plots with up to 10 data sets
  2. Support for image plotting, including automatic scaling to window size
  3. Support for up to four axes (left, right, top, bottom)
  4. Automatic axis scaling and optimal tick mark determination
  5. Built-in settings dialog boxes
  6. Built-in shortcut (contextual) menu support
  7. Serialization support for easy file saving and restoring
  8. Free! Free! Free!

Documentation