1 #ifndef PETSCDRAWTYPES_H 2 #define PETSCDRAWTYPES_H 3 4 /*J 5 PetscDrawType - String with the name of a PetscDraw 6 7 Level: beginner 8 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" 17 18 /*S 19 PetscDraw - Abstract PETSc object for graphics 20 21 Level: beginner 22 23 .seealso: PetscDrawCreate(), PetscDrawSetType(), PetscDrawType 24 S*/ 25 typedef struct _p_PetscDraw* PetscDraw; 26 27 /*S 28 PetscDrawAxis - Manages X-Y axis 29 30 Level: advanced 31 32 .seealso: PetscDrawAxisCreate(), PetscDrawAxisSetLimits(), PetscDrawAxisSetColors(), PetscDrawAxisSetLabels() 33 S*/ 34 typedef struct _p_PetscDrawAxis* PetscDrawAxis; 35 36 /*S 37 PetscDrawLG - Manages drawing x-y plots 38 39 Level: advanced 40 41 .seealso: PetscDrawAxisCreate(), PetscDrawLGCreate(), PetscDrawLGAddPoint() 42 S*/ 43 typedef struct _p_PetscDrawLG* PetscDrawLG; 44 45 /*S 46 PetscDrawSP - Manages drawing scatter plots 47 48 Level: advanced 49 50 .seealso: PetscDrawSPCreate() 51 S*/ 52 typedef struct _p_PetscDrawSP* PetscDrawSP; 53 54 /*S 55 PetscDrawHG - Manages drawing histograms 56 57 Level: advanced 58 59 .seealso: PetscDrawHGCreate() 60 S*/ 61 typedef struct _p_PetscDrawHG* PetscDrawHG; 62 63 /*S 64 PetscDrawBar - Manages drawing bar graphs 65 66 Level: advanced 67 68 .seealso: PetscDrawBarCreate() 69 S*/ 70 typedef struct _p_PetscDrawBar* PetscDrawBar; 71 72 #endif 73