The "graph1d" Package

These routines are meant to provide a high level mechanism to graph a 1-dimensional array of values.

Library: karmagraphics
Link With: -lkarmagraphics

Functions

graph1d_linesPlot a 1-dimensional graph by connecting the vertices.
graph1d_stepsPlot a 1-dimensional graph by drawing steps.
graph1d_pointsPlot a 1-dimensional graph by drawing crosses.


Functions


EXPERIMENTAL FUNCTION: subject to change without notice

void graph1d_lines (KWorldCanvas canvas, unsigned int num_points, CONST double *x, CONST double *y, unsigned long pixel_value, unsigned int num_pixels, unsigned long *pixel_values)

Plot a 1-dimensional graph by connecting the vertices.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe


EXPERIMENTAL FUNCTION: subject to change without notice

void graph1d_steps (KWorldCanvas canvas, unsigned int num_points, CONST double *x, CONST double *y, unsigned long pixel_value, unsigned int num_pixels, unsigned long *pixel_values)

Plot a 1-dimensional graph by drawing steps.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe


EXPERIMENTAL FUNCTION: subject to change without notice

void graph1d_points (KWorldCanvas canvas, unsigned int num_points, CONST double *x, CONST double *y, unsigned long pixel_value)

Plot a 1-dimensional graph by drawing crosses.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe


Back to Karma Home Page
Contact: Richard Gooch
Web Development: Ariel Internet Services