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