xref: /petsc/include/petscdrawtypes.h (revision d5b43468fb8780a8feea140ccd6fa3e6a50411cc)
1 #ifndef PETSCDRAWTYPES_H
2 #define PETSCDRAWTYPES_H
3 
4 /* SUBMANSEC = Draw */
5 
6 /*J
7     PetscDrawType - String with the name of a `PetscDraw`
8 
9    Level: beginner
10 
11 .seealso: `PetscDrawSetType()`, `PetscDraw`, `PetscViewer`, `PetscDrawCreate()`, `PetscDrawRegister()`
12 J*/
13 typedef const char *PetscDrawType;
14 #define PETSC_DRAW_X     "x"
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, often represents a window on the screen
22 
23    Level: beginner
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 .seealso: `PetscDrawAxisCreate()`, `PetscDrawAxisSetLimits()`, `PetscDrawAxisSetColors()`, `PetscDrawAxisSetLabels()`
35 S*/
36 typedef struct _p_PetscDrawAxis *PetscDrawAxis;
37 
38 /*S
39      PetscDrawLG - Manages drawing x-y plots
40 
41    Level: advanced
42 
43 .seealso: `PetscDrawAxisCreate()`, `PetscDrawLGCreate()`, `PetscDrawLGAddPoint()`
44 S*/
45 typedef struct _p_PetscDrawLG *PetscDrawLG;
46 
47 /*S
48      PetscDrawSP - Manages drawing scatter plots
49 
50    Level: advanced
51 
52 .seealso: `PetscDrawSPCreate()`
53 S*/
54 typedef struct _p_PetscDrawSP *PetscDrawSP;
55 
56 /*S
57      PetscDrawHG - Manages drawing histograms
58 
59    Level: advanced
60 
61 .seealso: `PetscDrawHGCreate()`
62 S*/
63 typedef struct _p_PetscDrawHG *PetscDrawHG;
64 
65 /*S
66      PetscDrawBar - Manages drawing bar graphs
67 
68    Level: advanced
69 
70 .seealso: `PetscDrawBarCreate()`
71 S*/
72 typedef struct _p_PetscDrawBar *PetscDrawBar;
73 
74 #endif
75