Actual source code: petscdrawtypes.h

petsc-3.14.6 2021-03-30
Report Typos and Errors
  1: #ifndef PETSCDRAWTYPES_H
  2: #define PETSCDRAWTYPES_H

  4: /*J
  5:     PetscDrawType - String with the name of a PetscDraw

  7:    Level: beginner

  9: .seealso: PetscDrawSetType(), PetscDraw, PetscViewer, PetscDrawCreate()
 10: J*/
 11: typedef const char* PetscDrawType;
 12: #define PETSC_DRAW_X     "x"
 13: #define PETSC_DRAW_NULL  "null"
 14: #define PETSC_DRAW_WIN32 "win32"
 15: #define PETSC_DRAW_TIKZ  "tikz"
 16: #define PETSC_DRAW_IMAGE "image"

 18: /*S
 19:      PetscDraw - Abstract PETSc object for graphics

 21:    Level: beginner

 23: .seealso:  PetscDrawCreate(), PetscDrawSetType(), PetscDrawType
 24: S*/
 25: typedef struct _p_PetscDraw* PetscDraw;

 27: /*S
 28:      PetscDrawAxis - Manages X-Y axis

 30:    Level: advanced

 32: .seealso:  PetscDrawAxisCreate(), PetscDrawAxisSetLimits(), PetscDrawAxisSetColors(), PetscDrawAxisSetLabels()
 33: S*/
 34: typedef struct _p_PetscDrawAxis* PetscDrawAxis;

 36: /*S
 37:      PetscDrawLG - Manages drawing x-y plots

 39:    Level: advanced

 41: .seealso:  PetscDrawAxisCreate(), PetscDrawLGCreate(), PetscDrawLGAddPoint()
 42: S*/
 43: typedef struct _p_PetscDrawLG*   PetscDrawLG;

 45: /*S
 46:      PetscDrawSP - Manages drawing scatter plots

 48:    Level: advanced

 50: .seealso:  PetscDrawSPCreate()
 51: S*/
 52: typedef struct _p_PetscDrawSP*   PetscDrawSP;

 54: /*S
 55:      PetscDrawHG - Manages drawing histograms

 57:    Level: advanced

 59: .seealso:  PetscDrawHGCreate()
 60: S*/
 61: typedef struct _p_PetscDrawHG*   PetscDrawHG;

 63: /*S
 64:      PetscDrawBar - Manages drawing bar graphs

 66:    Level: advanced

 68: .seealso:  PetscDrawBarCreate()
 69: S*/
 70: typedef struct _p_PetscDrawBar*   PetscDrawBar;

 72: #endif