#include "petscdraw.h" #include "petscsys.h" PetscErrorCode PetscDrawSPAddPointColorized(PetscDrawSP sp,PetscReal *x,PetscReal *y,PetscReal *z)Logically Collective on PetscDrawSP
sp | - the scatter plot data structure | |
x, y | - two arrays of length dim containing the new x and y coordinate values for each of the curves. Here dim is the number of curves passed to PetscDrawSPCreate() | |
z | - array of length dim containing the numeric values that will be mapped to [0,255] and used for scatter point colors. |