PLplot  5.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
plplot_parameters.h
Go to the documentation of this file.
1 // Do not edit this generated file. Instead, check its consistency
2 // with the #defines in bindings/swig-support/plplotcapi.i using the
3 // (Unix) target "check_tcl_parameters". If that target reports an
4 // inconsistency (via a cmp message) between the generated
5 // plplot_parameters.h_compare file in the build tree and
6 // plplot_parameters.h in the source tree, then copy
7 // plplot_parameters.h_compare on top of plplot_parameters.h and
8 // check in that result.
9 
10 // This file contains a function to set the various global variables
11 // used by PLplot
12 
13 static void set_plplot_parameters( Tcl_Interp *interp )
14 {
15  Tcl_Eval( interp, "namespace eval ::PLPLOT { \n\
16 \n\
17 # obsolete\n\
18 variable PLESC_SET_RGB 1\n\
19 \n\
20 # obsolete\n\
21 variable PLESC_ALLOC_NCOL 2\n\
22 \n\
23 # obsolete\n\
24 variable PLESC_SET_LPB 3\n\
25 \n\
26 # handle window expose\n\
27 variable PLESC_EXPOSE 4\n\
28 \n\
29 # handle window resize\n\
30 variable PLESC_RESIZE 5\n\
31 \n\
32 # handle window redraw\n\
33 variable PLESC_REDRAW 6\n\
34 \n\
35 # switch to text screen\n\
36 variable PLESC_TEXT 7\n\
37 \n\
38 # switch to graphics screen\n\
39 variable PLESC_GRAPH 8\n\
40 \n\
41 # fill polygon\n\
42 variable PLESC_FILL 9\n\
43 \n\
44 # handle DI command\n\
45 variable PLESC_DI 10\n\
46 \n\
47 # flush output\n\
48 variable PLESC_FLUSH 11\n\
49 \n\
50 # handle Window events\n\
51 variable PLESC_EH 12\n\
52 \n\
53 # get cursor position\n\
54 variable PLESC_GETC 13\n\
55 \n\
56 # set window parameters\n\
57 variable PLESC_SWIN 14\n\
58 \n\
59 # configure PLFLT buffering\n\
60 variable PLESC_PLFLTBUFFERING 15\n\
61 \n\
62 # set xor mode\n\
63 variable PLESC_XORMOD 16\n\
64 \n\
65 # AFR: set compression\n\
66 variable PLESC_SET_COMPRESSION 17\n\
67 \n\
68 # RL: clear graphics region\n\
69 variable PLESC_CLEAR 18\n\
70 \n\
71 # RL: draw dashed line\n\
72 variable PLESC_DASH 19\n\
73 \n\
74 # driver draws text\n\
75 variable PLESC_HAS_TEXT 20\n\
76 \n\
77 # handle image\n\
78 variable PLESC_IMAGE 21\n\
79 \n\
80 # plimage related operations\n\
81 variable PLESC_IMAGEOPS 22\n\
82 \n\
83 # draw lines parallel to the X axis\n\
84 variable DRAW_LINEX 0x01\n\
85 \n\
86 # draw lines parallel to the Y axis\n\
87 variable DRAW_LINEY 0x02\n\
88 \n\
89 # draw lines parallel to both the X and Y axes\n\
90 variable DRAW_LINEXY 0x03\n\
91 \n\
92 # draw the mesh with a color dependent of the magnitude\n\
93 variable MAG_COLOR 0x04\n\
94 \n\
95 # draw contour plot at bottom xy plane\n\
96 variable BASE_CONT 0x08\n\
97 \n\
98 # draw contour plot at top xy plane\n\
99 variable TOP_CONT 0x10\n\
100 \n\
101 # draw contour plot at surface\n\
102 variable SURF_CONT 0x20\n\
103 \n\
104 # draw sides\n\
105 variable DRAW_SIDES 0x40\n\
106 \n\
107 # draw outline for each square that makes up the surface\n\
108 variable FACETED 0x80\n\
109 \n\
110 # draw mesh\n\
111 variable MESH 0x100\n\
112 \n\
113 \n\
114 variable PL_BIN_DEFAULT 0\n\
115 \n\
116 \n\
117 variable PL_BIN_CENTRED 1\n\
118 \n\
119 \n\
120 variable PL_BIN_NOEXPAND 2\n\
121 \n\
122 \n\
123 variable PL_BIN_NOEMPTY 4\n\
124 \n\
125 \n\
126 variable PL_HIST_DEFAULT 0\n\
127 \n\
128 \n\
129 variable PL_HIST_NOSCALING 1\n\
130 \n\
131 \n\
132 variable PL_HIST_IGNORE_OUTLIERS 2\n\
133 \n\
134 \n\
135 variable PL_HIST_NOEXPAND 8\n\
136 \n\
137 \n\
138 variable PL_HIST_NOEMPTY 16\n\
139 \n\
140 \n\
141 variable PL_POSITION_LEFT 1\n\
142 \n\
143 \n\
144 variable PL_POSITION_RIGHT 2\n\
145 \n\
146 \n\
147 variable PL_POSITION_TOP 4\n\
148 \n\
149 \n\
150 variable PL_POSITION_BOTTOM 8\n\
151 \n\
152 \n\
153 variable PL_POSITION_INSIDE 16\n\
154 \n\
155 \n\
156 variable PL_POSITION_OUTSIDE 32\n\
157 \n\
158 \n\
159 variable PL_POSITION_VIEWPORT 64\n\
160 \n\
161 \n\
162 variable PL_POSITION_SUBPAGE 128\n\
163 \n\
164 \n\
165 variable PL_LEGEND_NONE 1\n\
166 \n\
167 \n\
168 variable PL_LEGEND_COLOR_BOX 2\n\
169 \n\
170 \n\
171 variable PL_LEGEND_LINE 4\n\
172 \n\
173 \n\
174 variable PL_LEGEND_SYMBOL 8\n\
175 \n\
176 \n\
177 variable PL_LEGEND_TEXT_LEFT 16\n\
178 \n\
179 \n\
180 variable PL_LEGEND_BACKGROUND 32\n\
181 \n\
182 \n\
183 variable PL_LEGEND_BOUNDING_BOX 64\n\
184 \n\
185 \n\
186 variable PL_LEGEND_ROW_MAJOR 128\n\
187 \n\
188 \n\
189 variable PL_COLORBAR_LABEL_LEFT 0x1\n\
190 \n\
191 \n\
192 variable PL_COLORBAR_LABEL_RIGHT 0x2\n\
193 \n\
194 \n\
195 variable PL_COLORBAR_LABEL_TOP 0x4\n\
196 \n\
197 \n\
198 variable PL_COLORBAR_LABEL_BOTTOM 0x8\n\
199 \n\
200 \n\
201 variable PL_COLORBAR_IMAGE 0x10\n\
202 \n\
203 \n\
204 variable PL_COLORBAR_SHADE 0x20\n\
205 \n\
206 \n\
207 variable PL_COLORBAR_GRADIENT 0x40\n\
208 \n\
209 \n\
210 variable PL_COLORBAR_CAP_NONE 0x80\n\
211 \n\
212 \n\
213 variable PL_COLORBAR_CAP_LOW 0x100\n\
214 \n\
215 \n\
216 variable PL_COLORBAR_CAP_HIGH 0x200\n\
217 \n\
218 \n\
219 variable PL_COLORBAR_SHADE_LABEL 0x400\n\
220 \n\
221 \n\
222 variable PL_COLORBAR_ORIENT_RIGHT 0x800\n\
223 \n\
224 \n\
225 variable PL_COLORBAR_ORIENT_TOP 0x1000\n\
226 \n\
227 \n\
228 variable PL_COLORBAR_ORIENT_LEFT 0x2000\n\
229 \n\
230 \n\
231 variable PL_COLORBAR_ORIENT_BOTTOM 0x4000\n\
232 \n\
233 \n\
234 variable PL_COLORBAR_BACKGROUND 0x8000\n\
235 \n\
236 \n\
237 variable PL_COLORBAR_BOUNDING_BOX 0x10000\n\
238 \n\
239 # device coordinates\n\
240 variable PLSWIN_DEVICE 1\n\
241 \n\
242 # world coordinates\n\
243 variable PLSWIN_WORLD 2\n\
244 \n\
245 # The x-axis\n\
246 variable PL_X_AXIS 1\n\
247 \n\
248 # The y-axis\n\
249 variable PL_Y_AXIS 2\n\
250 \n\
251 # The z-axis\n\
252 variable PL_Z_AXIS 3\n\
253 \n\
254 # Obsolete\n\
255 variable PL_OPT_ENABLED 0x0001\n\
256 \n\
257 # Option has an argment\n\
258 variable PL_OPT_ARG 0x0002\n\
259 \n\
260 # Don't delete after processing\n\
261 variable PL_OPT_NODELETE 0x0004\n\
262 \n\
263 # Make invisible\n\
264 variable PL_OPT_INVISIBLE 0x0008\n\
265 \n\
266 # Processing is disabled\n\
267 variable PL_OPT_DISABLED 0x0010\n\
268 \n\
269 # Call handler function\n\
270 variable PL_OPT_FUNC 0x0100\n\
271 \n\
272 # Set *var = 1\n\
273 variable PL_OPT_BOOL 0x0200\n\
274 \n\
275 # Set *var = atoi(optarg)\n\
276 variable PL_OPT_INT 0x0400\n\
277 \n\
278 # Set *var = atof(optarg)\n\
279 variable PL_OPT_FLOAT 0x0800\n\
280 \n\
281 # Set var = optarg\n\
282 variable PL_OPT_STRING 0x1000\n\
283 \n\
284 # For backward compatibility\n\
285 variable PL_PARSE_PARTIAL 0x0000\n\
286 \n\
287 # Process fully & exit if error\n\
288 variable PL_PARSE_FULL 0x0001\n\
289 \n\
290 # Don't issue messages\n\
291 variable PL_PARSE_QUIET 0x0002\n\
292 \n\
293 # Don't delete options after\n\
294 variable PL_PARSE_NODELETE 0x0004\n\
295 \n\
296 # Show invisible options\n\
297 variable PL_PARSE_SHOWALL 0x0008\n\
298 \n\
299 # Obsolete\n\
300 variable PL_PARSE_OVERRIDE 0x0010\n\
301 \n\
302 # Program name NOT in *argv[0]..\n\
303 variable PL_PARSE_NOPROGRAM 0x0020\n\
304 \n\
305 # Set if leading dash NOT required\n\
306 variable PL_PARSE_NODASH 0x0040\n\
307 \n\
308 # Skip over unrecognized args\n\
309 variable PL_PARSE_SKIP 0x0080\n\
310 \n\
311 \n\
312 variable PL_FCI_MARK 0x80000000\n\
313 \n\
314 \n\
315 variable PL_FCI_IMPOSSIBLE 0x00000000\n\
316 \n\
317 \n\
318 variable PL_FCI_HEXDIGIT_MASK 0xf\n\
319 \n\
320 \n\
321 variable PL_FCI_HEXPOWER_MASK 0x7\n\
322 \n\
323 \n\
324 variable PL_FCI_HEXPOWER_IMPOSSIBLE 0xf\n\
325 \n\
326 \n\
327 variable PL_FCI_FAMILY 0x0\n\
328 \n\
329 \n\
330 variable PL_FCI_STYLE 0x1\n\
331 \n\
332 \n\
333 variable PL_FCI_WEIGHT 0x2\n\
334 \n\
335 \n\
336 variable PL_FCI_SANS 0x0\n\
337 \n\
338 \n\
339 variable PL_FCI_SERIF 0x1\n\
340 \n\
341 \n\
342 variable PL_FCI_MONO 0x2\n\
343 \n\
344 \n\
345 variable PL_FCI_SCRIPT 0x3\n\
346 \n\
347 \n\
348 variable PL_FCI_SYMBOL 0x4\n\
349 \n\
350 \n\
351 variable PL_FCI_UPRIGHT 0x0\n\
352 \n\
353 \n\
354 variable PL_FCI_ITALIC 0x1\n\
355 \n\
356 \n\
357 variable PL_FCI_OBLIQUE 0x2\n\
358 \n\
359 \n\
360 variable PL_FCI_MEDIUM 0x0\n\
361 \n\
362 \n\
363 variable PL_FCI_BOLD 0x1\n\
364 \n\
365 \n\
366 variable PL_MAXKEY 16\n\
367 \n\
368 # Max number of windows/page tracked\n\
369 variable PL_MAXWINDOWS 64\n\
370 \n\
371 \n\
372 variable PL_NOTSET -42\n\
373 \n\
374 \n\
375 variable PL_PI 3.1415926535897932384\n\
376 \n\
377 \n\
378 variable PLESPLFLTBUFFERING_ENABLE 1\n\
379 \n\
380 \n\
381 variable PLESPLFLTBUFFERING_DISABLE 2\n\
382 \n\
383 \n\
384 variable PLESPLFLTBUFFERING_QUERY 3\n\
385 \n\
386 # Bivariate Cubic Spline approximation\n\
387 variable GRID_CSA 1\n\
388 \n\
389 # Delaunay Triangulation Linear Interpolation\n\
390 variable GRID_DTLI 2\n\
391 \n\
392 # Natural Neighbors Interpolation\n\
393 variable GRID_NNI 3\n\
394 \n\
395 # Nearest Neighbors Inverse Distance Weighted\n\
396 variable GRID_NNIDW 4\n\
397 \n\
398 # Nearest Neighbors Linear Interpolation\n\
399 variable GRID_NNLI 5\n\
400 \n\
401 # Nearest Neighbors Around Inverse Distance Weighted\n\
402 variable GRID_NNAIDW 6\n\
403 }" );
404 }
static void set_plplot_parameters(Tcl_Interp *interp)
static Tcl_Interp * interp
Definition: tkMain.c:116