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 Concepts: graphics 24 25 .seealso: PetscDrawCreate(), PetscDrawSetType(), PetscDrawType 26 S*/ 27 typedef struct _p_PetscDraw* PetscDraw; 28 29 /*S 30 PetscDrawAxis - Manages X-Y axis 31 32 Level: advanced 33 34 Concepts: graphics, axis 35 36 .seealso: PetscDrawAxisCreate(), PetscDrawAxisSetLimits(), PetscDrawAxisSetColors(), PetscDrawAxisSetLabels() 37 S*/ 38 typedef struct _p_PetscDrawAxis* PetscDrawAxis; 39 40 /*S 41 PetscDrawLG - Manages drawing x-y plots 42 43 Level: advanced 44 45 Concepts: graphics, axis 46 47 .seealso: PetscDrawAxisCreate(), PetscDrawLGCreate(), PetscDrawLGAddPoint() 48 S*/ 49 typedef struct _p_PetscDrawLG* PetscDrawLG; 50 51 /*S 52 PetscDrawSP - Manages drawing scatter plots 53 54 Level: advanced 55 56 Concepts: graphics, scatter plots 57 58 .seealso: PetscDrawSPCreate() 59 S*/ 60 typedef struct _p_PetscDrawSP* PetscDrawSP; 61 62 /*S 63 PetscDrawHG - Manages drawing histograms 64 65 Level: advanced 66 67 Concepts: graphics, histograms 68 69 .seealso: PetscDrawHGCreate() 70 S*/ 71 typedef struct _p_PetscDrawHG* PetscDrawHG; 72 73 /*S 74 PetscDrawBar - Manages drawing bar graphs 75 76 Level: advanced 77 78 Concepts: graphics, histograms 79 80 .seealso: PetscDrawBarCreate() 81 S*/ 82 typedef struct _p_PetscDrawBar* PetscDrawBar; 83 84 #endif 85