DrawLGAddPoint

Adds another point to each of the line graphs. The new point must have an X coordinate larger than the old points.

Synopsis

#include "petsc.h" 
int DrawLGAddPoint(DrawLG lg,PetscReal *x,PetscReal *y)
Not Collective, but ignored by all processors except processor 0 in DrawLG

Input Parameters

lg - the LineGraph data structure
x, y - the points to two vectors containing the new x and y point for each curve.

Keywords

draw, line, graph, add, point

See Also

DrawLGAddPoints()

Level:intermediate
Location:src/sys/src/draw/utils/lg.c
Graphics (Draw) Index
Table of Contents