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