PLplot: plplot_parameters.h Source File

PLplot 5.10.0

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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 [expr 1]\n\
19 \n\
20 # obsolete\n\
21 variable PLESC_ALLOC_NCOL [expr 2]\n\
22 \n\
23 # obsolete\n\
24 variable PLESC_SET_LPB [expr 3]\n\
25 \n\
26 # handle window expose\n\
27 variable PLESC_EXPOSE [expr 4]\n\
28 \n\
29 # handle window resize\n\
30 variable PLESC_RESIZE [expr 5]\n\
31 \n\
32 # handle window redraw\n\
33 variable PLESC_REDRAW [expr 6]\n\
34 \n\
35 # switch to text screen\n\
36 variable PLESC_TEXT [expr 7]\n\
37 \n\
38 # switch to graphics screen\n\
39 variable PLESC_GRAPH [expr 8]\n\
40 \n\
41 # fill polygon\n\
42 variable PLESC_FILL [expr 9]\n\
43 \n\
44 # handle DI command\n\
45 variable PLESC_DI [expr 10]\n\
46 \n\
47 # flush output\n\
48 variable PLESC_FLUSH [expr 11]\n\
49 \n\
50 # handle Window events\n\
51 variable PLESC_EH [expr 12]\n\
52 \n\
53 # get cursor position\n\
54 variable PLESC_GETC [expr 13]\n\
55 \n\
56 # set window parameters\n\
57 variable PLESC_SWIN [expr 14]\n\
58 \n\
59 # configure double buffering\n\
60 variable PLESC_DOUBLEBUFFERING [expr 15]\n\
61 \n\
62 # set xor mode\n\
63 variable PLESC_XORMOD [expr 16]\n\
64 \n\
65 # AFR: set compression\n\
66 variable PLESC_SET_COMPRESSION [expr 17]\n\
67 \n\
68 # RL: clear graphics region\n\
69 variable PLESC_CLEAR [expr 18]\n\
70 \n\
71 # RL: draw dashed line\n\
72 variable PLESC_DASH [expr 19]\n\
73 \n\
74 # driver draws text\n\
75 variable PLESC_HAS_TEXT [expr 20]\n\
76 \n\
77 # handle image\n\
78 variable PLESC_IMAGE [expr 21]\n\
79 \n\
80 # plimage related operations\n\
81 variable PLESC_IMAGEOPS [expr 22]\n\
82 \n\
83 # convert PLColor to device color\n\
84 variable PLESC_PL2DEVCOL [expr 23]\n\
85 \n\
86 # convert device color to PLColor\n\
87 variable PLESC_DEV2PLCOL [expr 24]\n\
88 \n\
89 # set BG, FG colors\n\
90 variable PLESC_SETBGFG [expr 25]\n\
91 \n\
92 # alternate device initialization\n\
93 variable PLESC_DEVINIT [expr 26]\n\
94 \n\
95 # get used backend of (wxWidgets) driver\n\
96 variable PLESC_GETBACKEND [expr 27]\n\
97 \n\
98 # get ready to draw a line of text\n\
99 variable PLESC_BEGIN_TEXT [expr 28]\n\
100 \n\
101 # render a character of text\n\
102 variable PLESC_TEXT_CHAR [expr 29]\n\
103 \n\
104 # handle a text control character (super/subscript, etc.)\n\
105 variable PLESC_CONTROL_CHAR [expr 30]\n\
106 \n\
107 # finish a drawing a line of text\n\
108 variable PLESC_END_TEXT [expr 31]\n\
109 \n\
110 # start rasterized rendering\n\
111 variable PLESC_START_RASTERIZE [expr 32]\n\
112 \n\
113 # end rasterized rendering\n\
114 variable PLESC_END_RASTERIZE [expr 33]\n\
115 \n\
116 # render an arc\n\
117 variable PLESC_ARC [expr 34]\n\
118 \n\
119 # render a gradient\n\
120 variable PLESC_GRADIENT [expr 35]\n\
121 \n\
122 # set drawing mode\n\
123 variable PLESC_MODESET [expr 36]\n\
124 \n\
125 # get drawing mode\n\
126 variable PLESC_MODEGET [expr 37]\n\
127 \n\
128 # font change in the text stream\n\
129 variable PLTEXT_FONTCHANGE [expr 0]\n\
130 \n\
131 # superscript in the text stream\n\
132 variable PLTEXT_SUPERSCRIPT [expr 1]\n\
133 \n\
134 # subscript in the text stream\n\
135 variable PLTEXT_SUBSCRIPT [expr 2]\n\
136 \n\
137 # back-char in the text stream\n\
138 variable PLTEXT_BACKCHAR [expr 3]\n\
139 \n\
140 # toggle overline in the text stream\n\
141 variable PLTEXT_OVERLINE [expr 4]\n\
142 \n\
143 # toggle underline in the text stream\n\
144 variable PLTEXT_UNDERLINE [expr 5]\n\
145 \n\
146 \n\
147 variable ZEROW2B [expr 1]\n\
148 \n\
149 \n\
150 variable ZEROW2D [expr 2]\n\
151 \n\
152 \n\
153 variable ONEW2B [expr 3]\n\
154 \n\
155 \n\
156 variable ONEW2D [expr 4]\n\
157 \n\
158 # device coordinates\n\
159 variable PLSWIN_DEVICE [expr 1]\n\
160 \n\
161 # world coordinates\n\
162 variable PLSWIN_WORLD [expr 2]\n\
163 \n\
164 # The x-axis\n\
165 variable PL_X_AXIS [expr 1]\n\
166 \n\
167 # The y-axis\n\
168 variable PL_Y_AXIS [expr 2]\n\
169 \n\
170 # The z-axis\n\
171 variable PL_Z_AXIS [expr 3]\n\
172 \n\
173 # Obsolete\n\
174 variable PL_OPT_ENABLED [expr 0x0001]\n\
175 \n\
176 # Option has an argment\n\
177 variable PL_OPT_ARG [expr 0x0002]\n\
178 \n\
179 # Don't delete after processing\n\
180 variable PL_OPT_NODELETE [expr 0x0004]\n\
181 \n\
182 # Make invisible\n\
183 variable PL_OPT_INVISIBLE [expr 0x0008]\n\
184 \n\
185 # Processing is disabled\n\
186 variable PL_OPT_DISABLED [expr 0x0010]\n\
187 \n\
188 # Call handler function\n\
189 variable PL_OPT_FUNC [expr 0x0100]\n\
190 \n\
191 # Set *var = 1\n\
192 variable PL_OPT_BOOL [expr 0x0200]\n\
193 \n\
194 # Set *var = atoi(optarg)\n\
195 variable PL_OPT_INT [expr 0x0400]\n\
196 \n\
197 # Set *var = atof(optarg)\n\
198 variable PL_OPT_FLOAT [expr 0x0800]\n\
199 \n\
200 # Set var = optarg\n\
201 variable PL_OPT_STRING [expr 0x1000]\n\
202 \n\
203 # For backward compatibility\n\
204 variable PL_PARSE_PARTIAL [expr 0x0000]\n\
205 \n\
206 # Process fully & exit if error\n\
207 variable PL_PARSE_FULL [expr 0x0001]\n\
208 \n\
209 # Don't issue messages\n\
210 variable PL_PARSE_QUIET [expr 0x0002]\n\
211 \n\
212 # Don't delete options after\n\
213 variable PL_PARSE_NODELETE [expr 0x0004]\n\
214 \n\
215 # Show invisible options\n\
216 variable PL_PARSE_SHOWALL [expr 0x0008]\n\
217 \n\
218 # Obsolete\n\
219 variable PL_PARSE_OVERRIDE [expr 0x0010]\n\
220 \n\
221 # Program name NOT in *argv[0]..\n\
222 variable PL_PARSE_NOPROGRAM [expr 0x0020]\n\
223 \n\
224 # Set if leading dash NOT required\n\
225 variable PL_PARSE_NODASH [expr 0x0040]\n\
226 \n\
227 # Skip over unrecognized args\n\
228 variable PL_PARSE_SKIP [expr 0x0080]\n\
229 \n\
230 \n\
231 variable PL_FCI_MARK [expr 0x80000000]\n\
232 \n\
233 \n\
234 variable PL_FCI_IMPOSSIBLE [expr 0x00000000]\n\
235 \n\
236 \n\
237 variable PL_FCI_HEXDIGIT_MASK [expr 0xf]\n\
238 \n\
239 \n\
240 variable PL_FCI_HEXPOWER_MASK [expr 0x7]\n\
241 \n\
242 \n\
243 variable PL_FCI_HEXPOWER_IMPOSSIBLE [expr 0xf]\n\
244 \n\
245 \n\
246 variable PL_FCI_FAMILY [expr 0x0]\n\
247 \n\
248 \n\
249 variable PL_FCI_STYLE [expr 0x1]\n\
250 \n\
251 \n\
252 variable PL_FCI_WEIGHT [expr 0x2]\n\
253 \n\
254 \n\
255 variable PL_FCI_SANS [expr 0x0]\n\
256 \n\
257 \n\
258 variable PL_FCI_SERIF [expr 0x1]\n\
259 \n\
260 \n\
261 variable PL_FCI_MONO [expr 0x2]\n\
262 \n\
263 \n\
264 variable PL_FCI_SCRIPT [expr 0x3]\n\
265 \n\
266 \n\
267 variable PL_FCI_SYMBOL [expr 0x4]\n\
268 \n\
269 \n\
270 variable PL_FCI_UPRIGHT [expr 0x0]\n\
271 \n\
272 \n\
273 variable PL_FCI_ITALIC [expr 0x1]\n\
274 \n\
275 \n\
276 variable PL_FCI_OBLIQUE [expr 0x2]\n\
277 \n\
278 \n\
279 variable PL_FCI_MEDIUM [expr 0x0]\n\
280 \n\
281 \n\
282 variable PL_FCI_BOLD [expr 0x1]\n\
283 \n\
284 \n\
285 variable PL_MAXKEY [expr 16]\n\
286 \n\
287 # Max number of windows/page tracked\n\
288 variable PL_MAXWINDOWS [expr 64]\n\
289 \n\
290 \n\
291 variable PL_NOTSET [expr -42]\n\
292 \n\
293 \n\
294 variable PL_PI 3.1415926535897932384\n\
295 \n\
296 \n\
297 variable PLESC_DOUBLEBUFFERING_ENABLE [expr 1]\n\
298 \n\
299 \n\
300 variable PLESC_DOUBLEBUFFERING_DISABLE [expr 2]\n\
301 \n\
302 \n\
303 variable PLESC_DOUBLEBUFFERING_QUERY [expr 3]\n\
304 \n\
305 \n\
306 variable PL_BIN_DEFAULT [expr 0x0]\n\
307 \n\
308 \n\
309 variable PL_BIN_CENTRED [expr 0x1]\n\
310 \n\
311 \n\
312 variable PL_BIN_NOEXPAND [expr 0x2]\n\
313 \n\
314 \n\
315 variable PL_BIN_NOEMPTY [expr 0x4]\n\
316 \n\
317 # Bivariate Cubic Spline approximation\n\
318 variable GRID_CSA [expr 1]\n\
319 \n\
320 # Delaunay Triangulation Linear Interpolation\n\
321 variable GRID_DTLI [expr 2]\n\
322 \n\
323 # Natural Neighbors Interpolation\n\
324 variable GRID_NNI [expr 3]\n\
325 \n\
326 # Nearest Neighbors Inverse Distance Weighted\n\
327 variable GRID_NNIDW [expr 4]\n\
328 \n\
329 # Nearest Neighbors Linear Interpolation\n\
330 variable GRID_NNLI [expr 5]\n\
331 \n\
332 # Nearest Neighbors Around Inverse Distance Weighted\n\
333 variable GRID_NNAIDW [expr 6]\n\
334 \n\
335 \n\
336 variable PL_HIST_DEFAULT [expr 0x00]\n\
337 \n\
338 \n\
339 variable PL_HIST_NOSCALING [expr 0x01]\n\
340 \n\
341 \n\
342 variable PL_HIST_IGNORE_OUTLIERS [expr 0x02]\n\
343 \n\
344 \n\
345 variable PL_HIST_NOEXPAND [expr 0x08]\n\
346 \n\
347 \n\
348 variable PL_HIST_NOEMPTY [expr 0x10]\n\
349 \n\
350 \n\
351 variable PL_POSITION_LEFT [expr 0x1]\n\
352 \n\
353 \n\
354 variable PL_POSITION_RIGHT [expr 0x2]\n\
355 \n\
356 \n\
357 variable PL_POSITION_TOP [expr 0x4]\n\
358 \n\
359 \n\
360 variable PL_POSITION_BOTTOM [expr 0x8]\n\
361 \n\
362 \n\
363 variable PL_POSITION_INSIDE [expr 0x10]\n\
364 \n\
365 \n\
366 variable PL_POSITION_OUTSIDE [expr 0x20]\n\
367 \n\
368 \n\
369 variable PL_POSITION_VIEWPORT [expr 0x40]\n\
370 \n\
371 \n\
372 variable PL_POSITION_SUBPAGE [expr 0x80]\n\
373 \n\
374 \n\
375 variable PL_LEGEND_NONE [expr 0x1]\n\
376 \n\
377 \n\
378 variable PL_LEGEND_COLOR_BOX [expr 0x2]\n\
379 \n\
380 \n\
381 variable PL_LEGEND_LINE [expr 0x4]\n\
382 \n\
383 \n\
384 variable PL_LEGEND_SYMBOL [expr 0x8]\n\
385 \n\
386 \n\
387 variable PL_LEGEND_TEXT_LEFT [expr 0x10]\n\
388 \n\
389 \n\
390 variable PL_LEGEND_BACKGROUND [expr 0x20]\n\
391 \n\
392 \n\
393 variable PL_LEGEND_BOUNDING_BOX [expr 0x40]\n\
394 \n\
395 \n\
396 variable PL_LEGEND_ROW_MAJOR [expr 0x80]\n\
397 \n\
398 \n\
399 variable PL_COLORBAR_LABEL_LEFT [expr 0x1]\n\
400 \n\
401 \n\
402 variable PL_COLORBAR_LABEL_RIGHT [expr 0x2]\n\
403 \n\
404 \n\
405 variable PL_COLORBAR_LABEL_TOP [expr 0x4]\n\
406 \n\
407 \n\
408 variable PL_COLORBAR_LABEL_BOTTOM [expr 0x8]\n\
409 \n\
410 \n\
411 variable PL_COLORBAR_IMAGE [expr 0x10]\n\
412 \n\
413 \n\
414 variable PL_COLORBAR_SHADE [expr 0x20]\n\
415 \n\
416 \n\
417 variable PL_COLORBAR_GRADIENT [expr 0x40]\n\
418 \n\
419 \n\
420 variable PL_COLORBAR_CAP_NONE [expr 0x80]\n\
421 \n\
422 \n\
423 variable PL_COLORBAR_CAP_LOW [expr 0x100]\n\
424 \n\
425 \n\
426 variable PL_COLORBAR_CAP_HIGH [expr 0x200]\n\
427 \n\
428 \n\
429 variable PL_COLORBAR_SHADE_LABEL [expr 0x400]\n\
430 \n\
431 \n\
432 variable PL_COLORBAR_ORIENT_RIGHT [expr 0x800]\n\
433 \n\
434 \n\
435 variable PL_COLORBAR_ORIENT_TOP [expr 0x1000]\n\
436 \n\
437 \n\
438 variable PL_COLORBAR_ORIENT_LEFT [expr 0x2000]\n\
439 \n\
440 \n\
441 variable PL_COLORBAR_ORIENT_BOTTOM [expr 0x4000]\n\
442 \n\
443 \n\
444 variable PL_COLORBAR_BACKGROUND [expr 0x8000]\n\
445 \n\
446 \n\
447 variable PL_COLORBAR_BOUNDING_BOX [expr 0x10000]\n\
448 \n\
449 \n\
450 variable PL_DRAWMODE_UNKNOWN [expr 0x0]\n\
451 \n\
452 \n\
453 variable PL_DRAWMODE_DEFAULT [expr 0x1]\n\
454 \n\
455 \n\
456 variable PL_DRAWMODE_REPLACE [expr 0x2]\n\
457 \n\
458 \n\
459 variable PL_DRAWMODE_XOR [expr 0x4]\n\
460 \n\
461 # draw lines parallel to the X axis\n\
462 variable DRAW_LINEX [expr 0x001]\n\
463 \n\
464 # draw lines parallel to the Y axis\n\
465 variable DRAW_LINEY [expr 0x002]\n\
466 \n\
467 # draw lines parallel to both the X and Y axis\n\
468 variable DRAW_LINEXY [expr 0x003]\n\
469 \n\
470 # draw the mesh with a color dependent of the magnitude\n\
471 variable MAG_COLOR [expr 0x004]\n\
472 \n\
473 # draw contour plot at bottom xy plane\n\
474 variable BASE_CONT [expr 0x008]\n\
475 \n\
476 # draw contour plot at top xy plane\n\
477 variable TOP_CONT [expr 0x010]\n\
478 \n\
479 # draw contour plot at surface\n\
480 variable SURF_CONT [expr 0x020]\n\
481 \n\
482 # draw sides\n\
483 variable DRAW_SIDES [expr 0x040]\n\
484 \n\
485 # draw outline for each square that makes up the surface\n\
486 variable FACETED [expr 0x080]\n\
487 \n\
488 # draw mesh\n\
489 variable MESH [expr 0x100]\n\
490 }" );
491 }