petsc-3.13.6 2020-09-29
Report Typos and Errors

PetscDrawSPGetAxis

Gets the axis context associated with a line graph. This is useful if one wants to change some axis property, such as labels, color, etc. The axis context should not be destroyed by the Section 1.5 Writing Application Codes with PETSc code.

Synopsis

#include "petscdraw.h" 
#include "petscsys.h" 
PetscErrorCode  PetscDrawSPGetAxis(PetscDrawSP sp,PetscDrawAxis *axis)
Not Collective, if PetscDrawSP is parallel then PetscDrawAxis is parallel

Input Parameter

sp -the line graph context

Output Parameter

axis -the axis context

See Also

PetscDrawSP, PetscDrawSPCreate(), PetscDrawSPDraw(), PetscDrawSPAddPoint(), PetscDrawSPAddPoints(), PetscDrawAxis, PetscDrawAxisCreate()

Level

intermediate

Location

src/sys/classes/draw/utils/dscatter.c
Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages