petsc-3.8.4 2018-03-24
Report Typos and Errors


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


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

Input Parameters

lg - the LineGraph data structure
x - the common x coordinate point
y - the new y coordinate point for each curve.

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

See Also

PetscDrawLGCreate(), PetscDrawLGAddPoints(), PetscDrawLGAddPoint(), PetscDrawLGReset(), PetscDrawLGDraw()

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