
This library provide functions to display a 2D plots of lines connecting series of x/y points in 2D. These plots can be either in a Windows GDI environment or in an OpenGL window.
The library has the following functions:
The structures used by the library are:
|
|
typedef struct Plot_Point { float x, y ; } Plot_Point ;
|
|
|
|
typedef struct Plot_List { short nb_point ; Plot_Point *point ; } Plot_List ;
|
|
|
|
typedef struct Plot_Datas { Plot_List *val ; char flag ; long color ; } Plot_Datas ;
|
|
Sample use:
|
|
|