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


Adds several points to each of the scatter plots.


#include "petscdraw.h" 
#include "petscsys.h" 
PetscErrorCode  PetscDrawSPAddPoints(PetscDrawSP sp,int n,PetscReal **xx,PetscReal **yy)
Logically Collective on PetscDrawSP

Input Parameters

sp - the LineGraph data structure
xx,yy - points to two arrays of pointers that point to arrays containing the new x and y points for each curve.
n - number of points being added

Notes: the new points will not be displayed until a call to PetscDrawSPDraw() is made

See Also

PetscDrawSPAddPoint(), PetscDrawSP, PetscDrawSPCreate(), PetscDrawSPReset(), PetscDrawSPDraw()

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