petsc-master 2017-05-26
Report Typos and Errors


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


#include "petscdraw.h"  
PetscErrorCode  PetscDrawLGAddPoint(PetscDrawLG lg,const PetscReal *x,const PetscReal *y)
Logically Collective on PetscDrawLG

Input Parameters

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

Note: You must call PetscDrawLGDraw() to display any added points Call PetscDrawLGReset() to remove all points

See Also

PetscDrawLGCreate(), PetscDrawLGAddPoints(), PetscDrawLGAddCommonPoint(), PetscDrawLGReset(), PetscDrawLGDraw()

Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages