PLplot 5.15.0
Loading...
Searching...
No Matches
plplotcPYTHON_wrap.c
Go to the documentation of this file.
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (https://www.swig.org).
3 * Version 4.3.1
4 *
5 * Do not make changes to this file unless you know what you are doing - modify
6 * the SWIG interface file instead.
7 * ----------------------------------------------------------------------------- */
8
9
10#define SWIG_VERSION 0x040301
11#define SWIGPYTHON
12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14#define SWIG_name "_plplotc"
15/* -----------------------------------------------------------------------------
16 * This section contains generic SWIG labels for method/variable
17 * declarations/attributes, and other compiler dependent labels.
18 * ----------------------------------------------------------------------------- */
19
20/* template workaround for compilers that cannot correctly implement the C++ standard */
21#ifndef SWIGTEMPLATEDISAMBIGUATOR
22# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
23# define SWIGTEMPLATEDISAMBIGUATOR template
24# elif defined(__HP_aCC)
25/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
26/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
27# define SWIGTEMPLATEDISAMBIGUATOR template
28# else
29# define SWIGTEMPLATEDISAMBIGUATOR
30# endif
31#endif
32
33/* inline attribute */
34#ifndef SWIGINLINE
35# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
36# define SWIGINLINE inline
37# else
38# define SWIGINLINE
39# endif
40#endif
41
42/* attribute recognised by some compilers to avoid 'unused' warnings */
43#ifndef SWIGUNUSED
44# if defined(__GNUC__)
45# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
46# define SWIGUNUSED __attribute__ ((__unused__))
47# else
48# define SWIGUNUSED
49# endif
50# elif defined(__ICC)
51# define SWIGUNUSED __attribute__ ((__unused__))
52# else
53# define SWIGUNUSED
54# endif
55#endif
56
57#ifndef SWIG_MSC_UNSUPPRESS_4505
58# if defined(_MSC_VER)
59# pragma warning(disable : 4505) /* unreferenced local function has been removed */
60# endif
61#endif
62
63#ifndef SWIGUNUSEDPARM
64# ifdef __cplusplus
65# define SWIGUNUSEDPARM(p)
66# else
67# define SWIGUNUSEDPARM(p) p SWIGUNUSED
68# endif
69#endif
70
71/* internal SWIG method */
72#ifndef SWIGINTERN
73# define SWIGINTERN static SWIGUNUSED
74#endif
75
76/* internal inline SWIG method */
77#ifndef SWIGINTERNINLINE
78# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
79#endif
80
81/* exporting methods */
82#if defined(__GNUC__)
83# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
84# ifndef GCC_HASCLASSVISIBILITY
85# define GCC_HASCLASSVISIBILITY
86# endif
87# endif
88#endif
89
90#ifndef SWIGEXPORT
91# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
92# if defined(STATIC_LINKED)
93# define SWIGEXPORT
94# else
95# define SWIGEXPORT __declspec(dllexport)
96# endif
97# else
98# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
99# define SWIGEXPORT __attribute__ ((visibility("default")))
100# else
101# define SWIGEXPORT
102# endif
103# endif
104#endif
105
106/* calling conventions for Windows */
107#ifndef SWIGSTDCALL
108# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
109# define SWIGSTDCALL __stdcall
110# else
111# define SWIGSTDCALL
112# endif
113#endif
114
115/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
116#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
117# define _CRT_SECURE_NO_DEPRECATE
118#endif
119
120/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
121#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
122# define _SCL_SECURE_NO_DEPRECATE
123#endif
124
125/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
126#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
127# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
128#endif
129
130/* Intel's compiler complains if a variable which was never initialised is
131 * cast to void, which is a common idiom which we use to indicate that we
132 * are aware a variable isn't used. So we just silence that warning.
133 * See: https://github.com/swig/swig/issues/192 for more discussion.
134 */
135#ifdef __INTEL_COMPILER
136# pragma warning disable 592
137#endif
138
139#if defined(__cplusplus) && __cplusplus >=201103L
140# define SWIG_NULLPTR nullptr
141#else
142# define SWIG_NULLPTR NULL
143#endif
144
145/* -----------------------------------------------------------------------------
146 * swigcompat.swg
147 *
148 * Macros to provide support compatibility with older C and C++ standards.
149 *
150 * Note that SWIG expects __cplusplus to be defined to the appropriate C++ standard.
151 * MSVC users are urged to check and examine the /Zc:__cplusplus compiler option.
152 * See https://learn.microsoft.com/en-us/cpp/build/reference/zc-cplusplus.
153 * ----------------------------------------------------------------------------- */
154
155/* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF
156 * if you're missing it.
157 */
158#if ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) || \
159 (defined __cplusplus && __cplusplus >= 201103L) || \
160 defined SWIG_HAVE_SNPRINTF) && \
161 !defined SWIG_NO_SNPRINTF
162# define SWIG_snprintf(O,S,F,A) snprintf(O,S,F,A)
163# define SWIG_snprintf2(O,S,F,A,B) snprintf(O,S,F,A,B)
164#else
165/* Fallback versions ignore the buffer size, but most of our uses either have a
166 * fixed maximum possible size or dynamically allocate a buffer that's large
167 * enough.
168 */
169# define SWIG_snprintf(O,S,F,A) sprintf(O,F,A)
170# define SWIG_snprintf2(O,S,F,A,B) sprintf(O,F,A,B)
171#endif
172
173
174#if defined(__GNUC__) && defined(_WIN32) && !defined(SWIG_PYTHON_NO_HYPOT_WORKAROUND)
175/* Workaround for '::hypot' has not been declared', see https://bugs.python.org/issue11566 */
176# include <math.h>
177#endif
178
179#if !defined(PY_SSIZE_T_CLEAN) && !defined(SWIG_NO_PY_SSIZE_T_CLEAN)
180#define PY_SSIZE_T_CLEAN
181#endif
182
183#if __GNUC__ >= 7
184#pragma GCC diagnostic push
185#if defined(__cplusplus) && __cplusplus >=201703L
186#pragma GCC diagnostic ignored "-Wregister" /* For python-2.7 headers that use register */
187#endif
188#endif
189
190#if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG)
191/* Use debug wrappers with the Python release dll */
192
193#if defined(_MSC_VER) && _MSC_VER >= 1929
194/* Workaround compilation errors when redefining _DEBUG in MSVC 2019 version 16.10 and later
195 * See https://github.com/swig/swig/issues/2090 */
196# include <corecrt.h>
197#endif
198
199# undef _DEBUG
200# include <Python.h>
201# define _DEBUG 1
202#else
203# include <Python.h>
204#endif
205
206#if defined(SWIGPYTHON_BUILTIN) && defined(SWIG_HEAPTYPES)
207/* SWIG_HEAPTYPES is not ready for use with SWIGPYTHON_BUILTIN, but if turned on manually requires the following */
208#if PY_VERSION_HEX >= 0x03030000 && PY_VERSION_HEX < 0x030c0000
209#include <structmember.h>
210#define Py_READONLY READONLY
211#define Py_T_PYSSIZET T_PYSSIZET
212#endif
213#endif
214
215#if __GNUC__ >= 7
216#pragma GCC diagnostic pop
217#endif
218
219#include <stdio.h>
220#include <stdlib.h>
221
222/* -----------------------------------------------------------------------------
223 * swigrun.swg
224 *
225 * This file contains generic C API SWIG runtime support for pointer
226 * type checking.
227 * ----------------------------------------------------------------------------- */
228
229/* This should only be incremented when either the layout of swig_type_info changes,
230 or for whatever reason, the runtime changes incompatibly */
231#define SWIG_RUNTIME_VERSION "4"
232
233/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
234#ifdef SWIG_TYPE_TABLE
235# define SWIG_QUOTE_STRING(x) #x
236# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
237# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
238#else
239# define SWIG_TYPE_TABLE_NAME
240#endif
241
242/*
243 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
244 creating a static or dynamic library from the SWIG runtime code.
245 In 99.9% of the cases, SWIG just needs to declare them as 'static'.
246
247 But only do this if strictly necessary, ie, if you have problems
248 with your compiler or suchlike.
249*/
250
251#ifndef SWIGRUNTIME
252# define SWIGRUNTIME SWIGINTERN
253#endif
254
255#ifndef SWIGRUNTIMEINLINE
256# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
257#endif
258
259/* Generic buffer size */
260#ifndef SWIG_BUFFER_SIZE
261# define SWIG_BUFFER_SIZE 1024
262#endif
263
264/* Flags for pointer conversions */
265#define SWIG_POINTER_DISOWN 0x1
266#define SWIG_CAST_NEW_MEMORY 0x2
267#define SWIG_POINTER_NO_NULL 0x4
268#define SWIG_POINTER_CLEAR 0x8
269#define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN)
270
271/* Flags for new pointer objects */
272#define SWIG_POINTER_OWN 0x1
273
274
275/*
276 Flags/methods for returning states.
277
278 The SWIG conversion methods, as ConvertPtr, return an integer
279 that tells if the conversion was successful or not. And if not,
280 an error code can be returned (see swigerrors.swg for the codes).
281
282 Use the following macros/flags to set or process the returning
283 states.
284
285 In old versions of SWIG, code such as the following was usually written:
286
287 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
288 // success code
289 } else {
290 //fail code
291 }
292
293 Now you can be more explicit:
294
295 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
296 if (SWIG_IsOK(res)) {
297 // success code
298 } else {
299 // fail code
300 }
301
302 which is the same really, but now you can also do
303
304 Type *ptr;
305 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
306 if (SWIG_IsOK(res)) {
307 // success code
308 if (SWIG_IsNewObj(res) {
309 ...
310 delete *ptr;
311 } else {
312 ...
313 }
314 } else {
315 // fail code
316 }
317
318 I.e., now SWIG_ConvertPtr can return new objects and you can
319 identify the case and take care of the deallocation. Of course that
320 also requires SWIG_ConvertPtr to return new result values, such as
321
322 int SWIG_ConvertPtr(obj, ptr,...) {
323 if (<obj is ok>) {
324 if (<need new object>) {
325 *ptr = <ptr to new allocated object>;
326 return SWIG_NEWOBJ;
327 } else {
328 *ptr = <ptr to old object>;
329 return SWIG_OLDOBJ;
330 }
331 } else {
332 return SWIG_BADOBJ;
333 }
334 }
335
336 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
337 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
338 SWIG errors code.
339
340 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
341 allows returning the 'cast rank', for example, if you have this
342
343 int food(double)
344 int fooi(int);
345
346 and you call
347
348 food(1) // cast rank '1' (1 -> 1.0)
349 fooi(1) // cast rank '0'
350
351 just use the SWIG_AddCast()/SWIG_CheckState()
352*/
353
354#define SWIG_OK (0)
355/* Runtime errors are < 0 */
356#define SWIG_ERROR (-1)
357/* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */
358/* Errors in range -100 to -199 are language specific errors defined in *errors.swg */
359/* Errors < -200 are generic runtime specific errors */
360#define SWIG_ERROR_RELEASE_NOT_OWNED (-200)
361
362#define SWIG_IsOK(r) (r >= 0)
363#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
364
365/* The CastRankLimit says how many bits are used for the cast rank */
366#define SWIG_CASTRANKLIMIT (1 << 8)
367/* The NewMask denotes the object was created (using new/malloc) */
368#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
369/* The TmpMask is for in/out typemaps that use temporary objects */
370#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
371/* Simple returning values */
372#define SWIG_BADOBJ (SWIG_ERROR)
373#define SWIG_OLDOBJ (SWIG_OK)
374#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
375#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
376/* Check, add and del object mask methods */
377#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
378#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
379#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
380#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
381#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
382#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
383
384/* Cast-Rank Mode */
385#if defined(SWIG_CASTRANK_MODE)
386# ifndef SWIG_TypeRank
387# define SWIG_TypeRank unsigned long
388# endif
389# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
390# define SWIG_MAXCASTRANK (2)
391# endif
392# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
393# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
395 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
396}
398 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
399}
400#else /* no cast-rank mode */
401# define SWIG_AddCast(r) (r)
402# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
403#endif
404
405
406#include <string.h>
407
408#ifdef __cplusplus
409extern "C" {
410#endif
411
412typedef void *(*swig_converter_func)(void *, int *);
413typedef struct swig_type_info *(*swig_dycast_func)(void **);
414
415/* Structure to store information on one type */
416typedef struct swig_type_info {
417 const char *name; /* mangled name of this type */
418 const char *str; /* human readable name of this type */
419 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
420 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
421 void *clientdata; /* language specific type data */
422 int owndata; /* flag if the structure owns the clientdata */
424
425/* Structure to store a type and conversion function used for casting */
426typedef struct swig_cast_info {
427 swig_type_info *type; /* pointer to type that is equivalent to this type */
428 swig_converter_func converter; /* function to cast the void pointers */
429 struct swig_cast_info *next; /* pointer to next cast in linked list */
430 struct swig_cast_info *prev; /* pointer to the previous cast */
432
433/* Structure used to store module information
434 * Each module generates one structure like this, and the runtime collects
435 * all of these structures and stores them in a circularly linked list.*/
436typedef struct swig_module_info {
437 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
438 size_t size; /* Number of types in this module */
439 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
440 swig_type_info **type_initial; /* Array of initially generated type structures */
441 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
442 void *clientdata; /* Language specific module data */
444
445/*
446 Compare two type names skipping the space characters, therefore
447 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
448
449 Return 0 when the two name types are equivalent, as in
450 strncmp, but skipping ' '.
451*/
452SWIGRUNTIME int
453SWIG_TypeNameComp(const char *f1, const char *l1,
454 const char *f2, const char *l2) {
455 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
456 while ((*f1 == ' ') && (f1 != l1)) ++f1;
457 while ((*f2 == ' ') && (f2 != l2)) ++f2;
458 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
459 }
460 return (int)((l1 - f1) - (l2 - f2));
461}
462
463/*
464 Check type equivalence in a name list like <name1>|<name2>|...
465 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
466*/
467SWIGRUNTIME int
468SWIG_TypeCmp(const char *nb, const char *tb) {
469 int equiv = 1;
470 const char* te = tb + strlen(tb);
471 const char* ne = nb;
472 while (equiv != 0 && *ne) {
473 for (nb = ne; *ne; ++ne) {
474 if (*ne == '|') break;
475 }
476 equiv = SWIG_TypeNameComp(nb, ne, tb, te);
477 if (*ne) ++ne;
478 }
479 return equiv;
480}
481
482/*
483 Check type equivalence in a name list like <name1>|<name2>|...
484 Return 0 if not equal, 1 if equal
485*/
486SWIGRUNTIME int
487SWIG_TypeEquiv(const char *nb, const char *tb) {
488 return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
489}
490
491/*
492 Check the typename
493*/
495SWIG_TypeCheck(const char *c, swig_type_info *ty) {
496 if (ty) {
497 swig_cast_info *iter = ty->cast;
498 while (iter) {
499 if (strcmp(iter->type->name, c) == 0) {
500 if (iter == ty->cast)
501 return iter;
502 /* Move iter to the top of the linked list */
503 iter->prev->next = iter->next;
504 if (iter->next)
505 iter->next->prev = iter->prev;
506 iter->next = ty->cast;
507 iter->prev = 0;
508 if (ty->cast) ty->cast->prev = iter;
509 ty->cast = iter;
510 return iter;
511 }
512 iter = iter->next;
513 }
514 }
515 return 0;
516}
517
518/*
519 Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
520*/
523 if (ty) {
524 swig_cast_info *iter = ty->cast;
525 while (iter) {
526 if (iter->type == from) {
527 if (iter == ty->cast)
528 return iter;
529 /* Move iter to the top of the linked list */
530 iter->prev->next = iter->next;
531 if (iter->next)
532 iter->next->prev = iter->prev;
533 iter->next = ty->cast;
534 iter->prev = 0;
535 if (ty->cast) ty->cast->prev = iter;
536 ty->cast = iter;
537 return iter;
538 }
539 iter = iter->next;
540 }
541 }
542 return 0;
543}
544
545/*
546 Cast a pointer up an inheritance hierarchy
547*/
549SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
550 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
551}
552
553/*
554 Dynamic pointer casting. Down an inheritance hierarchy
555*/
558 swig_type_info *lastty = ty;
559 if (!ty || !ty->dcast) return ty;
560 while (ty && (ty->dcast)) {
561 ty = (*ty->dcast)(ptr);
562 if (ty) lastty = ty;
563 }
564 return lastty;
565}
566
567/*
568 Return the name associated with this type
569*/
570SWIGRUNTIMEINLINE const char *
572 return ty->name;
573}
574
575/*
576 Return the pretty name associated with this type,
577 that is an unmangled type name in a form presentable to the user.
578*/
579SWIGRUNTIME const char *
581 /* The "str" field contains the equivalent pretty names of the
582 type, separated by vertical-bar characters. Choose the last
583 name. It should be the most specific; a fully resolved name
584 but not necessarily with default template parameters expanded. */
585 if (!type) return NULL;
586 if (type->str != NULL) {
587 const char *last_name = type->str;
588 const char *s;
589 for (s = type->str; *s; s++)
590 if (*s == '|') last_name = s+1;
591 return last_name;
592 }
593 else
594 return type->name;
595}
596
597/*
598 Set the clientdata field for a type
599*/
600SWIGRUNTIME void
602 swig_cast_info *cast = ti->cast;
603 /* if (ti->clientdata == clientdata) return; */
605
606 while (cast) {
607 if (!cast->converter) {
608 swig_type_info *tc = cast->type;
609 if (!tc->clientdata) {
611 }
612 }
613 cast = cast->next;
614 }
615}
616SWIGRUNTIME void
621
622/*
623 Search for a swig_type_info structure only by mangled name
624 Search is a O(log #types)
625
626 We start searching at module start, and finish searching when start == end.
627 Note: if start == end at the beginning of the function, we go all the way around
628 the circular list.
629*/
632 swig_module_info *end,
633 const char *name) {
634 swig_module_info *iter = start;
635 do {
636 if (iter->size) {
637 size_t l = 0;
638 size_t r = iter->size - 1;
639 do {
640 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
641 size_t i = (l + r) >> 1;
642 const char *iname = iter->types[i]->name;
643 if (iname) {
644 int compare = strcmp(name, iname);
645 if (compare == 0) {
646 return iter->types[i];
647 } else if (compare < 0) {
648 if (i) {
649 r = i - 1;
650 } else {
651 break;
652 }
653 } else if (compare > 0) {
654 l = i + 1;
655 }
656 } else {
657 break; /* should never happen */
658 }
659 } while (l <= r);
660 }
661 iter = iter->next;
662 } while (iter != end);
663 return 0;
664}
665
666/*
667 Search for a swig_type_info structure for either a mangled name or a human readable name.
668 It first searches the mangled names of the types, which is a O(log #types)
669 If a type is not found it then searches the human readable names, which is O(#types).
670
671 We start searching at module start, and finish searching when start == end.
672 Note: if start == end at the beginning of the function, we go all the way around
673 the circular list.
674*/
677 swig_module_info *end,
678 const char *name) {
679 /* STEP 1: Search the name field using binary search */
681 if (ret) {
682 return ret;
683 } else {
684 /* STEP 2: If the type hasn't been found, do a complete search
685 of the str field (the human readable name) */
686 swig_module_info *iter = start;
687 do {
688 size_t i = 0;
689 for (; i < iter->size; ++i) {
690 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
691 return iter->types[i];
692 }
693 iter = iter->next;
694 } while (iter != end);
695 }
696
697 /* neither found a match */
698 return 0;
699}
700
701/*
702 Pack binary data into a string
703*/
704SWIGRUNTIME char *
705SWIG_PackData(char *c, void *ptr, size_t sz) {
706 static const char hex[17] = "0123456789abcdef";
707 const unsigned char *u = (unsigned char *) ptr;
708 const unsigned char *eu = u + sz;
709 for (; u != eu; ++u) {
710 unsigned char uu = *u;
711 *(c++) = hex[(uu & 0xf0) >> 4];
712 *(c++) = hex[uu & 0xf];
713 }
714 return c;
715}
716
717/*
718 Unpack binary data from a string
719*/
720SWIGRUNTIME const char *
721SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
722 unsigned char *u = (unsigned char *) ptr;
723 const unsigned char *eu = u + sz;
724 for (; u != eu; ++u) {
725 char d = *(c++);
726 unsigned char uu;
727 if ((d >= '0') && (d <= '9'))
728 uu = (unsigned char)((d - '0') << 4);
729 else if ((d >= 'a') && (d <= 'f'))
730 uu = (unsigned char)((d - ('a'-10)) << 4);
731 else
732 return (char *) 0;
733 d = *(c++);
734 if ((d >= '0') && (d <= '9'))
735 uu |= (unsigned char)(d - '0');
736 else if ((d >= 'a') && (d <= 'f'))
737 uu |= (unsigned char)(d - ('a'-10));
738 else
739 return (char *) 0;
740 *u = uu;
741 }
742 return c;
743}
744
745/*
746 Pack 'void *' into a string buffer.
747*/
748SWIGRUNTIME char *
749SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
750 char *r = buff;
751 if ((2*sizeof(void *) + 2) > bsz) return 0;
752 *(r++) = '_';
753 r = SWIG_PackData(r,&ptr,sizeof(void *));
754 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
755 strcpy(r,name);
756 return buff;
757}
758
759SWIGRUNTIME const char *
760SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
761 if (*c != '_') {
762 if (strcmp(c,"NULL") == 0) {
763 *ptr = (void *) 0;
764 return name;
765 } else {
766 return 0;
767 }
768 }
769 return SWIG_UnpackData(++c,ptr,sizeof(void *));
770}
771
772SWIGRUNTIME char *
773SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
774 char *r = buff;
775 size_t lname = (name ? strlen(name) : 0);
776 if ((2*sz + 2 + lname) > bsz) return 0;
777 *(r++) = '_';
778 r = SWIG_PackData(r,ptr,sz);
779 if (lname) {
780 strncpy(r,name,lname+1);
781 } else {
782 *r = 0;
783 }
784 return buff;
785}
786
787SWIGRUNTIME const char *
788SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
789 if (*c != '_') {
790 if (strcmp(c,"NULL") == 0) {
791 memset(ptr,0,sz);
792 return name;
793 } else {
794 return 0;
795 }
796 }
797 return SWIG_UnpackData(++c,ptr,sz);
798}
799
800#ifdef __cplusplus
801}
802#endif
803
804/* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */
805#define SWIG_UnknownError -1
806#define SWIG_IOError -2
807#define SWIG_RuntimeError -3
808#define SWIG_IndexError -4
809#define SWIG_TypeError -5
810#define SWIG_DivisionByZero -6
811#define SWIG_OverflowError -7
812#define SWIG_SyntaxError -8
813#define SWIG_ValueError -9
814#define SWIG_SystemError -10
815#define SWIG_AttributeError -11
816#define SWIG_MemoryError -12
817#define SWIG_NullReferenceError -13
818
819
820/* Compatibility macros for Python 3 */
821#if PY_VERSION_HEX >= 0x03000000
822
823#define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type)
824#define PyInt_Check(x) PyLong_Check(x)
825#define PyInt_AsLong(x) PyLong_AsLong(x)
826#define PyInt_FromLong(x) PyLong_FromLong(x)
827#define PyInt_FromSize_t(x) PyLong_FromSize_t(x)
828#define PyString_Check(name) PyBytes_Check(name)
829#define PyString_FromString(x) PyUnicode_FromString(x)
830#define PyString_Format(fmt, args) PyUnicode_Format(fmt, args)
831#define PyString_AsString(str) PyBytes_AsString(str)
832#define PyString_Size(str) PyBytes_Size(str)
833#define PyString_InternFromString(key) PyUnicode_InternFromString(key)
834#define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE
835#define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x)
836
837#endif
838
839/* SWIG APIs for compatibility of both Python 2 & 3 */
840
841#if PY_VERSION_HEX >= 0x03000000
842# define SWIG_Python_str_FromFormat PyUnicode_FromFormat
843#else
844# define SWIG_Python_str_FromFormat PyString_FromFormat
845#endif
846
847
848/* Wrapper around PyUnicode_AsUTF8AndSize - call Py_XDECREF on the returned pbytes when finished with the returned string */
849SWIGINTERN const char *
850SWIG_PyUnicode_AsUTF8AndSize(PyObject *str, Py_ssize_t *psize, PyObject **pbytes)
851{
852#if PY_VERSION_HEX >= 0x03030000
853# if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030A0000
854 *pbytes = NULL;
855 return PyUnicode_AsUTF8AndSize(str, psize);
856# else
857 const char *chars;
858 *pbytes = PyUnicode_AsUTF8String(str);
859 chars = *pbytes ? PyBytes_AsString(*pbytes) : NULL;
860 if (chars && psize)
861 *psize = PyBytes_Size(*pbytes);
862 return chars;
863# endif
864#else
865 char *chars = NULL;
866 *pbytes = NULL;
867 PyString_AsStringAndSize(str, &chars, psize);
868 return chars;
869#endif
870}
871
872SWIGINTERN PyObject*
874{
875#if PY_VERSION_HEX >= 0x03000000
876 return PyUnicode_FromString(c);
877#else
878 return PyString_FromString(c);
879#endif
880}
881
882#define SWIG_RUNTIME_MODULE "swig_runtime_data" SWIG_RUNTIME_VERSION
883
884/* SWIGPY_USE_CAPSULE is no longer used within SWIG itself, but some user interface files check for it. */
885# define SWIGPY_USE_CAPSULE
886#ifdef SWIGPYTHON_BUILTIN
887# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule_builtin" SWIG_TYPE_TABLE_NAME
888#else
889# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule" SWIG_TYPE_TABLE_NAME
890#endif
891#define SWIGPY_CAPSULE_NAME SWIG_RUNTIME_MODULE "." SWIGPY_CAPSULE_ATTR_NAME
892
893#if PY_VERSION_HEX < 0x03020000
894#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
895#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
896#define Py_hash_t long
897#endif
898
899#ifdef Py_LIMITED_API
900# define PyTuple_GET_ITEM PyTuple_GetItem
901/* Note that PyTuple_SetItem() has different semantics from PyTuple_SET_ITEM as it decref's the original tuple item, so in general they cannot be used
902 interchangeably. However in SWIG-generated code PyTuple_SET_ITEM is only used with newly initialized tuples without any items and for them this does work. */
903# define PyTuple_SET_ITEM PyTuple_SetItem
904# define PyTuple_GET_SIZE PyTuple_Size
905# define PyCFunction_GET_FLAGS PyCFunction_GetFlags
906# define PyCFunction_GET_FUNCTION PyCFunction_GetFunction
907# define PyCFunction_GET_SELF PyCFunction_GetSelf
908# define PyList_GET_ITEM PyList_GetItem
909# define PyList_SET_ITEM PyList_SetItem
910# define PySliceObject PyObject
911#endif
912
913/* Increment and Decrement wrappers - for portability when using the stable abi and for performance otherwise */
914#ifdef Py_LIMITED_API
915# define SWIG_Py_INCREF Py_IncRef
916# define SWIG_Py_XINCREF Py_IncRef
917# define SWIG_Py_DECREF Py_DecRef
918# define SWIG_Py_XDECREF Py_DecRef
919#else
920# define SWIG_Py_INCREF Py_INCREF
921# define SWIG_Py_XINCREF Py_XINCREF
922# define SWIG_Py_DECREF Py_DECREF
923# define SWIG_Py_XDECREF Py_XDECREF
924#endif
925
926/* -----------------------------------------------------------------------------
927 * error manipulation
928 * ----------------------------------------------------------------------------- */
929
930SWIGRUNTIME PyObject*
932 PyObject* type = 0;
933 switch(code) {
934 case SWIG_MemoryError:
935 type = PyExc_MemoryError;
936 break;
937 case SWIG_IOError:
938 type = PyExc_IOError;
939 break;
941 type = PyExc_RuntimeError;
942 break;
943 case SWIG_IndexError:
944 type = PyExc_IndexError;
945 break;
946 case SWIG_TypeError:
947 type = PyExc_TypeError;
948 break;
950 type = PyExc_ZeroDivisionError;
951 break;
953 type = PyExc_OverflowError;
954 break;
955 case SWIG_SyntaxError:
956 type = PyExc_SyntaxError;
957 break;
958 case SWIG_ValueError:
959 type = PyExc_ValueError;
960 break;
961 case SWIG_SystemError:
962 type = PyExc_SystemError;
963 break;
965 type = PyExc_AttributeError;
966 break;
968 type = PyExc_TypeError;
969 break;
970 default:
971 type = PyExc_RuntimeError;
972 }
973 return type;
974}
975
976
977SWIGRUNTIME void
978SWIG_Python_AddErrorMsg(const char* mesg)
979{
980 PyObject *type = 0;
981 PyObject *value = 0;
982 PyObject *traceback = 0;
983
984 if (PyErr_Occurred())
985 PyErr_Fetch(&type, &value, &traceback);
986 if (value) {
987 PyObject *old_str = PyObject_Str(value);
988 PyObject *bytes = NULL;
989 const char *tmp = SWIG_PyUnicode_AsUTF8AndSize(old_str, NULL, &bytes);
990 PyErr_Clear();
991 SWIG_Py_XINCREF(type);
992 if (tmp)
993 PyErr_Format(type, "%s %s", tmp, mesg);
994 else
995 PyErr_Format(type, "%s", mesg);
996 SWIG_Py_XDECREF(bytes);
997 SWIG_Py_DECREF(old_str);
999 } else {
1000 PyErr_SetString(PyExc_RuntimeError, mesg);
1001 }
1002}
1003
1004SWIGRUNTIME int
1006{
1007 PyObject *error;
1008 if (obj)
1009 return 0;
1010 error = PyErr_Occurred();
1011 return error && PyErr_GivenExceptionMatches(error, PyExc_TypeError);
1012}
1013
1014SWIGRUNTIME void
1016{
1018 /* Use existing TypeError to preserve stacktrace and enhance with given message */
1019 PyObject *newvalue;
1020 PyObject *type = NULL, *value = NULL, *traceback = NULL;
1021 PyErr_Fetch(&type, &value, &traceback);
1022#if PY_VERSION_HEX >= 0x03000000
1023 newvalue = PyUnicode_FromFormat("%S\nAdditional information:\n%s", value, message);
1024#else
1025 newvalue = PyString_FromFormat("%s\nAdditional information:\n%s", PyString_AsString(value), message);
1026#endif
1027 if (newvalue) {
1029 PyErr_Restore(type, newvalue, traceback);
1030 } else {
1031 PyErr_Restore(type, value, traceback);
1032 }
1033 } else {
1034 /* Raise TypeError using given message */
1035 PyErr_SetString(PyExc_TypeError, message);
1036 }
1037}
1038
1039#if defined(SWIG_PYTHON_NO_THREADS)
1040# if defined(SWIG_PYTHON_THREADS)
1041# undef SWIG_PYTHON_THREADS
1042# endif
1043#endif
1044#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
1045# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
1046# define SWIG_PYTHON_USE_GIL
1047# endif
1048# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
1049# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
1050# if PY_VERSION_HEX < 0x03070000
1051# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
1052# else
1053# define SWIG_PYTHON_INITIALIZE_THREADS
1054# endif
1055# endif
1056# ifdef __cplusplus /* C++ code */
1057 class SWIG_Python_Thread_Block {
1058 bool status;
1059 PyGILState_STATE state;
1060 public:
1061 void end() { if (status) { PyGILState_Release(state); status = false;} }
1062 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
1063 ~SWIG_Python_Thread_Block() { end(); }
1064 };
1065 class SWIG_Python_Thread_Allow {
1066 bool status;
1067 PyThreadState *save;
1068 public:
1069 void end() { if (status) { status = false; PyEval_RestoreThread(save); }}
1070 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
1071 ~SWIG_Python_Thread_Allow() { end(); }
1072 };
1073# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
1074# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
1075# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
1076# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
1077# else /* C code */
1078# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
1079# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
1080# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
1081# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
1082# endif
1083# else /* Old thread way, not implemented, user must provide it */
1084# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
1085# define SWIG_PYTHON_INITIALIZE_THREADS
1086# endif
1087# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
1088# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1089# endif
1090# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
1091# define SWIG_PYTHON_THREAD_END_BLOCK
1092# endif
1093# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
1094# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1095# endif
1096# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
1097# define SWIG_PYTHON_THREAD_END_ALLOW
1098# endif
1099# endif
1100#else /* No thread support */
1101# define SWIG_PYTHON_INITIALIZE_THREADS
1102# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1103# define SWIG_PYTHON_THREAD_END_BLOCK
1104# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1105# define SWIG_PYTHON_THREAD_END_ALLOW
1106#endif
1107
1108/* -----------------------------------------------------------------------------
1109 * Python API portion that goes into the runtime
1110 * ----------------------------------------------------------------------------- */
1111
1112#ifdef __cplusplus
1113extern "C" {
1114#endif
1115
1116/* -----------------------------------------------------------------------------
1117 * Constant declarations
1118 * ----------------------------------------------------------------------------- */
1119
1120/* Constant Types */
1121#define SWIG_PY_POINTER 4
1122#define SWIG_PY_BINARY 5
1123
1124/* Constant information structure */
1133
1134#ifdef __cplusplus
1135}
1136#endif
1137
1138
1139/* -----------------------------------------------------------------------------
1140 * pyrun.swg
1141 *
1142 * This file contains the runtime support for Python modules
1143 * and includes code for managing global variables and pointer
1144 * type checking.
1145 *
1146 * ----------------------------------------------------------------------------- */
1147
1148#if PY_VERSION_HEX < 0x02070000 /* 2.7.0 */
1149# error "This version of SWIG only supports Python >= 2.7"
1150#endif
1151
1152#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03030000
1153# error "This version of SWIG only supports Python 3 >= 3.3"
1154#endif
1155
1156/* Common SWIG API */
1157
1158/* for raw pointers */
1159#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1160#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
1161#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
1162
1163#ifdef SWIGPYTHON_BUILTIN
1164#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
1165#else
1166#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1167#endif
1168
1169#define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1170
1171#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
1172#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
1173#define swig_owntype int
1174
1175/* for raw packed data */
1176#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1177#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1178
1179/* for class or struct pointers */
1180#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1181#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1182
1183/* for C or C++ function pointers */
1184#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1185#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(NULL, ptr, type, 0)
1186
1187/* for C++ member pointers, ie, member methods */
1188#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1189#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1190
1191
1192/* Runtime API */
1193
1194#define SWIG_GetModule(clientdata) SWIG_Python_GetModule(clientdata)
1195#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1196#define SWIG_NewClientData(obj) SwigPyClientData_New(obj)
1197
1198#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1199#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1200#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1201#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1202#define SWIG_fail goto fail
1203
1204
1205/* Runtime API implementation */
1206
1207/* Error manipulation */
1208
1209SWIGINTERN void
1210SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1212 PyErr_SetObject(errtype, obj);
1213 SWIG_Py_DECREF(obj);
1215}
1216
1217SWIGINTERN void
1218SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1220 PyErr_SetString(errtype, msg);
1222}
1223
1224#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1225
1226/* Set a constant value */
1227
1228#if defined(SWIGPYTHON_BUILTIN)
1229
1230SWIGINTERN void
1231SwigPyBuiltin_AddPublicSymbol(PyObject *seq, const char *key) {
1232 PyObject *s = PyString_InternFromString(key);
1233 PyList_Append(seq, s);
1234 SWIG_Py_DECREF(s);
1235}
1236
1237SWIGINTERN void
1238SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) {
1239 PyDict_SetItemString(d, name, obj);
1240 SWIG_Py_DECREF(obj);
1241 if (public_interface)
1242 SwigPyBuiltin_AddPublicSymbol(public_interface, name);
1243}
1244
1245#else
1246
1247SWIGINTERN void
1248SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1249 PyDict_SetItemString(d, name, obj);
1250 SWIG_Py_DECREF(obj);
1251}
1252
1253#endif
1254
1255/* SWIG runtime data Python module */
1256static PyObject *Swig_runtime_data_module_global = NULL;
1257
1258/* Create/obtain the single swig_runtime_data module which is used across different SWIG generated modules */
1259SWIGINTERN PyObject *
1262#if PY_VERSION_HEX >= 0x03000000
1264#else
1265 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} }; /* Sentinel */
1266 Swig_runtime_data_module_global = Py_InitModule(SWIG_RUNTIME_MODULE, swig_empty_runtime_method_table);
1267#endif
1269 }
1271}
1272
1273/* Append a value to the result obj */
1274SWIGINTERN PyObject*
1275SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) {
1276 if (!result) {
1277 result = obj;
1278 } else if (result == Py_None && is_void) {
1279 SWIG_Py_DECREF(result);
1280 result = obj;
1281 } else {
1282 if (!PyList_Check(result)) {
1283 PyObject *o2 = result;
1284 result = PyList_New(1);
1285 if (result) {
1286 PyList_SET_ITEM(result, 0, o2);
1287 } else {
1288 SWIG_Py_DECREF(obj);
1289 return o2;
1290 }
1291 }
1292 PyList_Append(result,obj);
1293 SWIG_Py_DECREF(obj);
1294 }
1295 return result;
1296}
1297
1298/* Unpack the argument tuple */
1299
1300SWIGINTERN Py_ssize_t
1301SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
1302{
1303 if (!args) {
1304 if (!min && !max) {
1305 return 1;
1306 } else {
1307 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1308 name, (min == max ? "" : "at least "), (int)min);
1309 return 0;
1310 }
1311 }
1312 if (!PyTuple_Check(args)) {
1313 if (min <= 1 && max >= 1) {
1314 Py_ssize_t i;
1315 objs[0] = args;
1316 for (i = 1; i < max; ++i) {
1317 objs[i] = 0;
1318 }
1319 return 2;
1320 }
1321 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1322 return 0;
1323 } else {
1324 Py_ssize_t l = PyTuple_GET_SIZE(args);
1325 if (l < min) {
1326 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1327 name, (min == max ? "" : "at least "), (int)min, (int)l);
1328 return 0;
1329 } else if (l > max) {
1330 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1331 name, (min == max ? "" : "at most "), (int)max, (int)l);
1332 return 0;
1333 } else {
1334 Py_ssize_t i;
1335 for (i = 0; i < l; ++i) {
1336 objs[i] = PyTuple_GET_ITEM(args, i);
1337 }
1338 for (; l < max; ++l) {
1339 objs[l] = 0;
1340 }
1341 return i + 1;
1342 }
1343 }
1344}
1345
1346SWIGINTERN int
1347SWIG_Python_CheckNoKeywords(PyObject *kwargs, const char *name) {
1348 int no_kwargs = 1;
1349 if (kwargs) {
1350 assert(PyDict_Check(kwargs));
1351 if (PyDict_Size(kwargs) > 0) {
1352 PyErr_Format(PyExc_TypeError, "%s() does not take keyword arguments", name);
1353 no_kwargs = 0;
1354 }
1355 }
1356 return no_kwargs;
1357}
1358
1359/* A functor is a function object with one single object argument */
1360#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1361
1362/*
1363 Helper for static pointer initialization for both C and C++ code, for example
1364 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1365*/
1366#ifdef __cplusplus
1367#define SWIG_STATIC_POINTER(var) var
1368#else
1369#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1370#endif
1371
1372#ifdef __cplusplus
1373extern "C" {
1374#endif
1375
1376/* Python-specific SWIG API */
1377#define SWIG_newvarlink() SWIG_Python_newvarlink()
1378#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
1379#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
1380
1381/* -----------------------------------------------------------------------------
1382 * global variable support code.
1383 * ----------------------------------------------------------------------------- */
1384
1385typedef struct swig_globalvar {
1386 char *name; /* Name of global variable */
1387 PyObject *(*get_attr)(void); /* Return the current value */
1388 int (*set_attr)(PyObject *); /* Set the value */
1391
1396
1397SWIGINTERN PyObject *
1399#if PY_VERSION_HEX >= 0x03000000
1400 return PyUnicode_InternFromString("<Swig global variables>");
1401#else
1402 return PyString_FromString("<Swig global variables>");
1403#endif
1404}
1405
1406SWIGINTERN PyObject *
1407SwigVarLink_str(PyObject *o) {
1409#if PY_VERSION_HEX >= 0x03000000
1410 PyObject *str = PyUnicode_InternFromString("(");
1411 PyObject *tail;
1412 PyObject *joined;
1413 swig_globalvar *var;
1414 for (var = v->vars; var; var=var->next) {
1415 tail = PyUnicode_FromString(var->name);
1416 joined = PyUnicode_Concat(str, tail);
1417 SWIG_Py_DECREF(str);
1419 str = joined;
1420 if (var->next) {
1421 tail = PyUnicode_InternFromString(", ");
1422 joined = PyUnicode_Concat(str, tail);
1423 SWIG_Py_DECREF(str);
1425 str = joined;
1426 }
1427 }
1428 tail = PyUnicode_InternFromString(")");
1429 joined = PyUnicode_Concat(str, tail);
1430 SWIG_Py_DECREF(str);
1432 str = joined;
1433#else
1434 PyObject *str = PyString_FromString("(");
1435 swig_globalvar *var;
1436 for (var = v->vars; var; var=var->next) {
1437 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
1438 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
1439 }
1440 PyString_ConcatAndDel(&str,PyString_FromString(")"));
1441#endif
1442 return str;
1443}
1444
1445SWIGINTERN void
1448 swig_globalvar *var = v->vars;
1449 while (var) {
1450 swig_globalvar *n = var->next;
1451 free(var->name);
1452 free(var);
1453 var = n;
1454 }
1455}
1456
1457SWIGINTERN PyObject *
1458SwigVarLink_getattr(PyObject *o, char *n) {
1460 PyObject *res = NULL;
1461 swig_globalvar *var = v->vars;
1462 while (var) {
1463 if (strcmp(var->name,n) == 0) {
1464 res = (*var->get_attr)();
1465 break;
1466 }
1467 var = var->next;
1468 }
1469 if (res == NULL && !PyErr_Occurred()) {
1470 PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n);
1471 }
1472 return res;
1473}
1474
1475SWIGINTERN int
1476SwigVarLink_setattr(PyObject *o, char *n, PyObject *p) {
1478 int res = 1;
1479 swig_globalvar *var = v->vars;
1480 while (var) {
1481 if (strcmp(var->name,n) == 0) {
1482 res = (*var->set_attr)(p);
1483 break;
1484 }
1485 var = var->next;
1486 }
1487 if (res == 1 && !PyErr_Occurred()) {
1488 PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n);
1489 }
1490 return res;
1491}
1492
1493#if !defined(SWIGPYTHON_BUILTIN) && PY_VERSION_HEX >= 0x03030000
1494#define SWIG_HEAPTYPES
1495#endif
1496
1497SWIGINTERN PyTypeObject*
1499 static char SwigVarLink_doc[] = "Swig variable link object";
1500#ifndef SWIG_HEAPTYPES
1501 static PyTypeObject varlink_type;
1502 static int type_init = 0;
1503 if (!type_init) {
1504 const PyTypeObject tmp = {
1505#if PY_VERSION_HEX >= 0x03000000
1506 PyVarObject_HEAD_INIT(NULL, 0)
1507#else
1508 PyObject_HEAD_INIT(NULL)
1509 0, /* ob_size */
1510#endif
1511 SWIG_RUNTIME_MODULE ".SwigVarLink", /* tp_name */
1512 sizeof(swig_varlinkobject), /* tp_basicsize */
1513 0, /* tp_itemsize */
1514 (destructor) SwigVarLink_dealloc, /* tp_dealloc */
1515#if PY_VERSION_HEX < 0x030800b4
1516 (printfunc)0, /* tp_print */
1517#else
1518 (Py_ssize_t)0, /* tp_vectorcall_offset */
1519#endif
1520 (getattrfunc) SwigVarLink_getattr, /* tp_getattr */
1521 (setattrfunc) SwigVarLink_setattr, /* tp_setattr */
1522 0, /* tp_compare */
1523 (reprfunc) SwigVarLink_repr, /* tp_repr */
1524 0, /* tp_as_number */
1525 0, /* tp_as_sequence */
1526 0, /* tp_as_mapping */
1527 0, /* tp_hash */
1528 0, /* tp_call */
1529 (reprfunc) SwigVarLink_str, /* tp_str */
1530 0, /* tp_getattro */
1531 0, /* tp_setattro */
1532 0, /* tp_as_buffer */
1533 0, /* tp_flags */
1534 SwigVarLink_doc, /* tp_doc */
1535 0, /* tp_traverse */
1536 0, /* tp_clear */
1537 0, /* tp_richcompare */
1538 0, /* tp_weaklistoffset */
1539 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
1540 0, /* tp_del */
1541 0, /* tp_version_tag */
1542#if PY_VERSION_HEX >= 0x03040000
1543 0, /* tp_finalize */
1544#endif
1545#if PY_VERSION_HEX >= 0x03080000
1546 0, /* tp_vectorcall */
1547#endif
1548#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
1549 0, /* tp_print */
1550#endif
1551#if PY_VERSION_HEX >= 0x030c0000
1552 0, /* tp_watched */
1553#endif
1554#if PY_VERSION_HEX >= 0x030d00a4
1555 0, /* tp_versions_used */
1556#endif
1557#ifdef COUNT_ALLOCS
1558 0, /* tp_allocs */
1559 0, /* tp_frees */
1560 0, /* tp_maxalloc */
1561 0, /* tp_prev */
1562 0 /* tp_next */
1563#endif
1564 };
1565 PyObject *runtime_data_module = SWIG_runtime_data_module();
1566 varlink_type = tmp;
1567 type_init = 1;
1568 if (PyType_Ready(&varlink_type) < 0)
1569 return NULL;
1570 if (PyModule_AddObject(runtime_data_module, "SwigVarLink", (PyObject *)&varlink_type) == 0)
1571 SWIG_Py_INCREF((PyObject *)&varlink_type);
1572 }
1573 return &varlink_type;
1574#else
1575 PyType_Slot slots[] = {
1576 { Py_tp_dealloc, (void *)SwigVarLink_dealloc },
1577 { Py_tp_repr, (void *)SwigVarLink_repr },
1578 { Py_tp_getattr, (void *)SwigVarLink_getattr },
1579 { Py_tp_setattr, (void *)SwigVarLink_setattr },
1580 { Py_tp_str, (void *)SwigVarLink_str },
1581 { Py_tp_doc, (void *)SwigVarLink_doc },
1582 { 0, NULL }
1583 };
1584 PyType_Spec spec = {
1585 SWIG_RUNTIME_MODULE ".SwigVarLink",
1586 sizeof(swig_varlinkobject),
1587 0,
1588 Py_TPFLAGS_DEFAULT,
1589 slots
1590 };
1591 PyObject *pytype = PyType_FromSpec(&spec);
1592 PyObject *runtime_data_module = SWIG_runtime_data_module();
1593 if (pytype && PyModule_AddObject(runtime_data_module, "SwigVarLink", pytype) == 0)
1594 SWIG_Py_INCREF(pytype);
1595 return (PyTypeObject *)pytype;
1596#endif
1597}
1598
1599/* Create a variable linking object for use later */
1600SWIGINTERN PyObject *
1602 swig_varlinkobject *result = PyObject_New(swig_varlinkobject, swig_varlink_type());
1603 if (result) {
1604 result->vars = 0;
1605 }
1606 return ((PyObject*) result);
1607}
1608
1609SWIGINTERN void
1610SWIG_Python_addvarlink(PyObject *p, const char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
1612 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
1613 if (gv) {
1614 size_t size = strlen(name)+1;
1615 gv->name = (char *)malloc(size);
1616 if (gv->name) {
1617 memcpy(gv->name, name, size);
1618 gv->get_attr = get_attr;
1619 gv->set_attr = set_attr;
1620 gv->next = v->vars;
1621 }
1622 }
1623 v->vars = gv;
1624}
1625
1626
1627static PyObject *Swig_Globals_global = NULL;
1628
1629SWIGINTERN PyObject *
1631 if (Swig_Globals_global == NULL) {
1633 }
1634 return Swig_Globals_global;
1635}
1636
1637#ifdef __cplusplus
1638}
1639#endif
1640
1641/* -----------------------------------------------------------------------------
1642 * Pointer declarations
1643 * ----------------------------------------------------------------------------- */
1644
1645/* Flags for new pointer objects */
1646#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1647#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1648
1649#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1650
1651#define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2)
1652#define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN)
1653
1654#ifdef __cplusplus
1655extern "C" {
1656#endif
1657
1658/* The python void return value */
1659
1660SWIGRUNTIMEINLINE PyObject *
1662{
1663 PyObject *none = Py_None;
1664 SWIG_Py_INCREF(none);
1665 return none;
1666}
1667
1668/* SwigPyClientData */
1669
1670typedef struct {
1671 PyObject *klass;
1672 PyObject *newraw;
1673 PyObject *newargs;
1674 PyObject *destroy;
1677 PyTypeObject *pytype;
1679
1682{
1684 int fail = data ? data->implicitconv : 0;
1685 if (fail)
1686 PyErr_SetString(PyExc_TypeError, "Implicit conversion is prohibited for explicit constructors.");
1687 return fail;
1688}
1689
1690SWIGRUNTIMEINLINE PyObject *
1692 SwigPyClientData *data = desc ? (SwigPyClientData *) desc->clientdata : 0;
1693 PyObject *klass = data ? data->klass : 0;
1694 return (klass ? klass : PyExc_RuntimeError);
1695}
1696
1697
1700{
1701 if (!obj) {
1702 return 0;
1703 } else {
1704 SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData));
1705 /* the klass element */
1706 data->klass = obj;
1707 SWIG_Py_INCREF(data->klass);
1708 /* the newraw method and newargs arguments used to create a new raw instance */
1709 if (PyClass_Check(obj)) {
1710 data->newraw = 0;
1711 SWIG_Py_INCREF(obj);
1712 data->newargs = obj;
1713 } else {
1714 data->newraw = PyObject_GetAttrString(data->klass, "__new__");
1715 if (data->newraw) {
1716 data->newargs = PyTuple_New(1);
1717 if (data->newargs) {
1718 SWIG_Py_INCREF(obj);
1719 PyTuple_SET_ITEM(data->newargs, 0, obj);
1720 } else {
1721 SWIG_Py_DECREF(data->newraw);
1722 SWIG_Py_DECREF(data->klass);
1723 free(data);
1724 return 0;
1725 }
1726 } else {
1727 SWIG_Py_INCREF(obj);
1728 data->newargs = obj;
1729 }
1730 }
1731 /* the destroy method, aka as the C++ delete method */
1732 data->destroy = PyObject_GetAttrString(data->klass, "__swig_destroy__");
1733 if (PyErr_Occurred()) {
1734 PyErr_Clear();
1735 data->destroy = 0;
1736 }
1737 if (data->destroy) {
1738 data->delargs = !(PyCFunction_GET_FLAGS(data->destroy) & METH_O);
1739 } else {
1740 data->delargs = 0;
1741 }
1742 data->implicitconv = 0;
1743 data->pytype = 0;
1744 return data;
1745 }
1746}
1747
1748SWIGRUNTIME void
1750{
1751 SWIG_Py_XDECREF(data->klass);
1752 SWIG_Py_XDECREF(data->newraw);
1753 SWIG_Py_XDECREF(data->newargs);
1754 SWIG_Py_XDECREF(data->destroy);
1755 free(data);
1756}
1757
1758/* =============== SwigPyObject =====================*/
1759
1760typedef struct {
1761 PyObject_HEAD
1762 void *ptr;
1764 int own;
1765 PyObject *next;
1766#ifdef SWIGPYTHON_BUILTIN
1767 PyObject *dict;
1768#endif
1769} SwigPyObject;
1770
1771
1772#ifdef SWIGPYTHON_BUILTIN
1773
1774SWIGRUNTIME PyObject *
1775SwigPyObject_get___dict__(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
1776{
1777 SwigPyObject *sobj = (SwigPyObject *)v;
1778
1779 if (!sobj->dict)
1780 sobj->dict = PyDict_New();
1781
1782 SWIG_Py_XINCREF(sobj->dict);
1783 return sobj->dict;
1784}
1785
1786#endif
1787
1788SWIGRUNTIME PyObject *
1790{
1791 return PyLong_FromVoidPtr(v->ptr);
1792}
1793
1794SWIGRUNTIME PyObject *
1796{
1797 PyObject *res = NULL;
1798 PyObject *args = PyTuple_New(1);
1799 if (args) {
1800 PyObject *val = SwigPyObject_long(v);
1801 if (val) {
1802 PyObject *ofmt;
1803 PyTuple_SET_ITEM(args, 0, val);
1804 ofmt = SWIG_Python_str_FromChar(fmt);
1805 if (ofmt) {
1806#if PY_VERSION_HEX >= 0x03000000
1807 res = PyUnicode_Format(ofmt,args);
1808#else
1809 res = PyString_Format(ofmt,args);
1810#endif
1811 SWIG_Py_DECREF(ofmt);
1812 }
1813 }
1814 SWIG_Py_DECREF(args);
1815 }
1816 return res;
1817}
1818
1819SWIGRUNTIME PyObject *
1821{
1822 return SwigPyObject_format("%o",v);
1823}
1824
1825SWIGRUNTIME PyObject *
1827{
1828 return SwigPyObject_format("%x",v);
1829}
1830
1831SWIGRUNTIME PyObject *
1833{
1834 const char *name = SWIG_TypePrettyName(v->ty);
1835 PyObject *repr = SWIG_Python_str_FromFormat("<Swig Object of type '%s' at %p>", (name ? name : "unknown"), (void *)v);
1836 if (repr && v->next) {
1837 PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next);
1838 if (nrep) {
1839# if PY_VERSION_HEX >= 0x03000000
1840 PyObject *joined = PyUnicode_Concat(repr, nrep);
1841 SWIG_Py_DECREF(repr);
1842 SWIG_Py_DECREF(nrep);
1843 repr = joined;
1844# else
1845 PyString_ConcatAndDel(&repr,nrep);
1846# endif
1847 } else {
1848 SWIG_Py_DECREF(repr);
1849 repr = NULL;
1850 }
1851 }
1852 return repr;
1853}
1854
1855/* We need a version taking two PyObject* parameters so it's a valid
1856 * PyCFunction to use in SwigPyObject_methods[]. */
1857SWIGRUNTIME PyObject *
1858SwigPyObject_repr2(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
1859{
1860 return SwigPyObject_repr((SwigPyObject*)v);
1861}
1862
1863SWIGRUNTIME int
1865{
1866 void *i = v->ptr;
1867 void *j = w->ptr;
1868 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1869}
1870
1871/* Added for Python 3.x, would it also be useful for Python 2.x? */
1872SWIGRUNTIME PyObject*
1874{
1875 PyObject* res = NULL;
1876 if (!PyErr_Occurred()) {
1877 if (op != Py_EQ && op != Py_NE) {
1878 SWIG_Py_INCREF(Py_NotImplemented);
1879 return Py_NotImplemented;
1880 }
1881 res = PyBool_FromLong( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) ? 1 : 0);
1882 }
1883 return res;
1884}
1885
1886
1887SWIGRUNTIME PyTypeObject* SwigPyObject_TypeOnce(void);
1888
1889#ifdef SWIGPYTHON_BUILTIN
1890static swig_type_info *SwigPyObject_stype = 0;
1891SWIGRUNTIME PyTypeObject*
1892SwigPyObject_type(void) {
1893 SwigPyClientData *cd;
1894 assert(SwigPyObject_stype);
1895 cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
1896 assert(cd);
1897 assert(cd->pytype);
1898 return cd->pytype;
1899}
1900#else
1901SWIGRUNTIME PyTypeObject*
1903 static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyObject_TypeOnce();
1904 return type;
1905}
1906#endif
1907
1909SwigPyObject_Check(PyObject *op) {
1910 PyTypeObject *target_tp = SwigPyObject_type();
1911 PyTypeObject *op_type = Py_TYPE(op);
1912#ifdef SWIGPYTHON_BUILTIN
1913 if (PyType_IsSubtype(op_type, target_tp))
1914 return 1;
1915 return (strcmp(op_type->tp_name, SWIG_RUNTIME_MODULE ".SwigPyObject") == 0);
1916#else
1917# ifdef Py_LIMITED_API
1918 int cmp;
1919 PyObject *tp_name;
1920#endif
1921 if (op_type == target_tp)
1922 return 1;
1923# ifdef Py_LIMITED_API
1924 tp_name = PyObject_GetAttrString((PyObject *)op_type, "__name__");
1925 if (!tp_name)
1926 return 0;
1927 cmp = PyUnicode_CompareWithASCIIString(tp_name, "SwigPyObject");
1928 SWIG_Py_DECREF(tp_name);
1929 return cmp == 0;
1930# else
1931 return (strcmp(op_type->tp_name, SWIG_RUNTIME_MODULE ".SwigPyObject") == 0);
1932# endif
1933#endif
1934}
1935
1936SWIGRUNTIME PyObject *
1937SwigPyObject_New(void *ptr, swig_type_info *ty, int own);
1938
1939static PyObject* Swig_Capsule_global = NULL;
1940
1941SWIGRUNTIME void
1943{
1944 SwigPyObject *sobj = (SwigPyObject *) v;
1945 PyObject *next = sobj->next;
1946 if (sobj->own == SWIG_POINTER_OWN) {
1947 swig_type_info *ty = sobj->ty;
1948 SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
1949 PyObject *destroy = data ? data->destroy : 0;
1950 if (destroy) {
1951 /* destroy is always a VARARGS method */
1952 PyObject *res;
1953
1954 /* PyObject_CallFunction() has the potential to silently drop
1955 the active exception. In cases of unnamed temporary
1956 variable or where we just finished iterating over a generator
1957 StopIteration will be active right now, and this needs to
1958 remain true upon return from SwigPyObject_dealloc. So save
1959 and restore. */
1960
1961 PyObject *type = NULL, *value = NULL, *traceback = NULL;
1962 PyErr_Fetch(&type, &value, &traceback);
1963
1964 if (data->delargs) {
1965 /* we need to create a temporary object to carry the destroy operation */
1966 PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0);
1967 if (tmp) {
1968 res = SWIG_Python_CallFunctor(destroy, tmp);
1969 } else {
1970 res = 0;
1971 }
1972 SWIG_Py_XDECREF(tmp);
1973 } else {
1974 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1975 PyObject *mself = PyCFunction_GET_SELF(destroy);
1976 res = ((*meth)(mself, v));
1977 }
1978 if (!res)
1979 PyErr_WriteUnraisable(destroy);
1980
1981 PyErr_Restore(type, value, traceback);
1982
1983 SWIG_Py_XDECREF(res);
1984 }
1985#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1986 else {
1987 const char *name = SWIG_TypePrettyName(ty);
1988 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown"));
1989 }
1990#endif
1992 }
1993 SWIG_Py_XDECREF(next);
1994#ifdef SWIGPYTHON_BUILTIN
1995 SWIG_Py_XDECREF(sobj->dict);
1996#endif
1997 PyObject_Free(v);
1998}
1999
2000SWIGRUNTIME PyObject*
2001SwigPyObject_append(PyObject* v, PyObject* next)
2002{
2003 SwigPyObject *sobj = (SwigPyObject *) v;
2004 if (!SwigPyObject_Check(next)) {
2005 PyErr_SetString(PyExc_TypeError, "Attempt to append a non SwigPyObject");
2006 return NULL;
2007 }
2008 ((SwigPyObject *)next)->next = sobj->next;
2009 sobj->next = next;
2010 SWIG_Py_INCREF(next);
2011 return SWIG_Py_Void();
2012}
2013
2014SWIGRUNTIME PyObject*
2015SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
2016{
2017 SwigPyObject *sobj = (SwigPyObject *) v;
2018 if (sobj->next) {
2019 SWIG_Py_INCREF(sobj->next);
2020 return sobj->next;
2021 } else {
2022 return SWIG_Py_Void();
2023 }
2024}
2025
2026SWIGINTERN PyObject*
2027SwigPyObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
2028{
2029 SwigPyObject *sobj = (SwigPyObject *)v;
2030 sobj->own = 0;
2031 return SWIG_Py_Void();
2032}
2033
2034SWIGINTERN PyObject*
2035SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
2036{
2037 SwigPyObject *sobj = (SwigPyObject *)v;
2038 sobj->own = SWIG_POINTER_OWN;
2039 return SWIG_Py_Void();
2040}
2041
2042SWIGINTERN PyObject*
2043SwigPyObject_own(PyObject *v, PyObject *args)
2044{
2045 PyObject *val = 0;
2046 if (!PyArg_UnpackTuple(args, "own", 0, 1, &val)) {
2047 return NULL;
2048 } else {
2049 SwigPyObject *sobj = (SwigPyObject *)v;
2050 PyObject *obj = PyBool_FromLong(sobj->own);
2051 if (val) {
2052 if (PyObject_IsTrue(val)) {
2054 } else {
2056 }
2057 }
2058 return obj;
2059 }
2060}
2061
2062static PyMethodDef
2064 {"disown", SwigPyObject_disown, METH_NOARGS, "releases ownership of the pointer"},
2065 {"acquire", SwigPyObject_acquire, METH_NOARGS, "acquires ownership of the pointer"},
2066 {"own", SwigPyObject_own, METH_VARARGS, "returns/sets ownership of the pointer"},
2067 {"append", SwigPyObject_append, METH_O, "appends another 'this' object"},
2068 {"next", SwigPyObject_next, METH_NOARGS, "returns the next 'this' object"},
2069 {"__repr__",SwigPyObject_repr2, METH_NOARGS, "returns object representation"},
2070 {0, 0, 0, 0}
2071};
2072
2073SWIGRUNTIME PyTypeObject*
2075 static char SwigPyObject_doc[] = "Swig object holding a C/C++ pointer";
2076#ifndef SWIG_HEAPTYPES
2077 static PyNumberMethods SwigPyObject_as_number = {
2078 (binaryfunc)0, /*nb_add*/
2079 (binaryfunc)0, /*nb_subtract*/
2080 (binaryfunc)0, /*nb_multiply*/
2081 /* nb_divide removed in Python 3 */
2082#if PY_VERSION_HEX < 0x03000000
2083 (binaryfunc)0, /*nb_divide*/
2084#endif
2085 (binaryfunc)0, /*nb_remainder*/
2086 (binaryfunc)0, /*nb_divmod*/
2087 (ternaryfunc)0,/*nb_power*/
2088 (unaryfunc)0, /*nb_negative*/
2089 (unaryfunc)0, /*nb_positive*/
2090 (unaryfunc)0, /*nb_absolute*/
2091 (inquiry)0, /*nb_nonzero*/
2092 0, /*nb_invert*/
2093 0, /*nb_lshift*/
2094 0, /*nb_rshift*/
2095 0, /*nb_and*/
2096 0, /*nb_xor*/
2097 0, /*nb_or*/
2098#if PY_VERSION_HEX < 0x03000000
2099 0, /*nb_coerce*/
2100#endif
2101 (unaryfunc)SwigPyObject_long, /*nb_int*/
2102#if PY_VERSION_HEX < 0x03000000
2103 (unaryfunc)SwigPyObject_long, /*nb_long*/
2104#else
2105 0, /*nb_reserved*/
2106#endif
2107 (unaryfunc)0, /*nb_float*/
2108#if PY_VERSION_HEX < 0x03000000
2109 (unaryfunc)SwigPyObject_oct, /*nb_oct*/
2110 (unaryfunc)SwigPyObject_hex, /*nb_hex*/
2111#endif
2112#if PY_VERSION_HEX >= 0x03050000 /* 3.5 */
2113 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_matrix_multiply */
2114#elif PY_VERSION_HEX >= 0x03000000 /* 3.0 */
2115 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */
2116#else
2117 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */
2118#endif
2119 };
2120
2121 static PyTypeObject swigpyobject_type;
2122 static int type_init = 0;
2123 if (!type_init) {
2124 const PyTypeObject tmp = {
2125#if PY_VERSION_HEX >= 0x03000000
2126 PyVarObject_HEAD_INIT(NULL, 0)
2127#else
2128 PyObject_HEAD_INIT(NULL)
2129 0, /* ob_size */
2130#endif
2131 SWIG_RUNTIME_MODULE ".SwigPyObject", /* tp_name */
2132 sizeof(SwigPyObject), /* tp_basicsize */
2133 0, /* tp_itemsize */
2134 (destructor)SwigPyObject_dealloc, /* tp_dealloc */
2135#if PY_VERSION_HEX < 0x030800b4
2136 (printfunc)0, /* tp_print */
2137#else
2138 (Py_ssize_t)0, /* tp_vectorcall_offset */
2139#endif
2140 (getattrfunc)0, /* tp_getattr */
2141 (setattrfunc)0, /* tp_setattr */
2142#if PY_VERSION_HEX >= 0x03000000
2143 0, /* tp_reserved in 3.0.1, tp_compare in 3.0.0 but not used */
2144#else
2145 (cmpfunc)SwigPyObject_compare, /* tp_compare */
2146#endif
2147 (reprfunc)SwigPyObject_repr, /* tp_repr */
2148 &SwigPyObject_as_number, /* tp_as_number */
2149 0, /* tp_as_sequence */
2150 0, /* tp_as_mapping */
2151 (hashfunc)0, /* tp_hash */
2152 (ternaryfunc)0, /* tp_call */
2153 0, /* tp_str */
2154 PyObject_GenericGetAttr, /* tp_getattro */
2155 0, /* tp_setattro */
2156 0, /* tp_as_buffer */
2157 Py_TPFLAGS_DEFAULT, /* tp_flags */
2158 SwigPyObject_doc, /* tp_doc */
2159 0, /* tp_traverse */
2160 0, /* tp_clear */
2161 (richcmpfunc)SwigPyObject_richcompare,/* tp_richcompare */
2162 0, /* tp_weaklistoffset */
2163 0, /* tp_iter */
2164 0, /* tp_iternext */
2165 SwigPyObject_methods, /* tp_methods */
2166 0, /* tp_members */
2167 0, /* tp_getset */
2168 0, /* tp_base */
2169 0, /* tp_dict */
2170 0, /* tp_descr_get */
2171 0, /* tp_descr_set */
2172 0, /* tp_dictoffset */
2173 0, /* tp_init */
2174 0, /* tp_alloc */
2175 0, /* tp_new */
2176 0, /* tp_free */
2177 0, /* tp_is_gc */
2178 0, /* tp_bases */
2179 0, /* tp_mro */
2180 0, /* tp_cache */
2181 0, /* tp_subclasses */
2182 0, /* tp_weaklist */
2183 0, /* tp_del */
2184 0, /* tp_version_tag */
2185#if PY_VERSION_HEX >= 0x03040000
2186 0, /* tp_finalize */
2187#endif
2188#if PY_VERSION_HEX >= 0x03080000
2189 0, /* tp_vectorcall */
2190#endif
2191#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
2192 0, /* tp_print */
2193#endif
2194#if PY_VERSION_HEX >= 0x030c0000
2195 0, /* tp_watched */
2196#endif
2197#if PY_VERSION_HEX >= 0x030d00a4
2198 0, /* tp_versions_used */
2199#endif
2200#ifdef COUNT_ALLOCS
2201 0, /* tp_allocs */
2202 0, /* tp_frees */
2203 0, /* tp_maxalloc */
2204 0, /* tp_prev */
2205 0 /* tp_next */
2206#endif
2207 };
2208 PyObject *runtime_data_module = SWIG_runtime_data_module();
2209 swigpyobject_type = tmp;
2210 type_init = 1;
2211 if (PyType_Ready(&swigpyobject_type) != 0)
2212 return NULL;
2213 if (PyModule_AddObject(runtime_data_module, "SwigPyObject", (PyObject *)&swigpyobject_type) == 0)
2214 SWIG_Py_INCREF((PyObject *)&swigpyobject_type);
2215 }
2216 return &swigpyobject_type;
2217#else
2218 PyType_Slot slots[] = {
2219 { Py_tp_dealloc, (void *)SwigPyObject_dealloc },
2220 { Py_tp_repr, (void *)SwigPyObject_repr },
2221 { Py_tp_getattro, (void *)PyObject_GenericGetAttr },
2222 { Py_tp_doc, (void *)SwigPyObject_doc },
2223 { Py_tp_richcompare, (void *)SwigPyObject_richcompare },
2224 { Py_tp_methods, (void *)SwigPyObject_methods },
2225 { Py_nb_int, (void *)SwigPyObject_long },
2226 { 0, NULL }
2227 };
2228 PyType_Spec spec = {
2229 SWIG_RUNTIME_MODULE ".SwigPyObject",
2230 sizeof(SwigPyObject),
2231 0,
2232 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE,
2233 slots
2234 };
2235 PyObject *pytype = PyType_FromSpec(&spec);
2236 PyObject *runtime_data_module = SWIG_runtime_data_module();
2237 if (pytype && PyModule_AddObject(runtime_data_module, "SwigPyObject", pytype) == 0)
2238 SWIG_Py_INCREF(pytype);
2239 return (PyTypeObject *)pytype;
2240#endif
2241}
2242
2243SWIGRUNTIME PyObject *
2244SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
2245{
2246 SwigPyObject *sobj = PyObject_New(SwigPyObject, SwigPyObject_type());
2247 if (sobj) {
2248 sobj->ptr = ptr;
2249 sobj->ty = ty;
2250 sobj->own = own;
2251 sobj->next = 0;
2252#ifdef SWIGPYTHON_BUILTIN
2253 sobj->dict = 0;
2254#endif
2255 if (own == SWIG_POINTER_OWN) {
2256 /* Obtain a reference to the Python capsule wrapping the module information, so that the
2257 * module information is correctly destroyed after all SWIG python objects have been freed
2258 * by the GC (and corresponding destructors invoked) */
2260 }
2261 }
2262 return (PyObject *)sobj;
2263}
2264
2265/* -----------------------------------------------------------------------------
2266 * Implements a simple Swig Packed type, and use it instead of string
2267 * ----------------------------------------------------------------------------- */
2268
2269typedef struct {
2270 PyObject_HEAD
2271 void *pack;
2273 size_t size;
2274} SwigPyPacked;
2275
2276SWIGRUNTIME PyObject *
2278{
2279 char result[SWIG_BUFFER_SIZE];
2280 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
2281 return SWIG_Python_str_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
2282 } else {
2283 return SWIG_Python_str_FromFormat("<Swig Packed %s>", v->ty->name);
2284 }
2285}
2286
2287SWIGRUNTIME PyObject *
2289{
2290 char result[SWIG_BUFFER_SIZE];
2291 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
2292 return SWIG_Python_str_FromFormat("%s%s", result, v->ty->name);
2293 } else {
2294 return SWIG_Python_str_FromChar(v->ty->name);
2295 }
2296}
2297
2298SWIGRUNTIME int
2300{
2301 size_t i = v->size;
2302 size_t j = w->size;
2303 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
2304 return s ? s : strncmp((const char *)v->pack, (const char *)w->pack, 2*v->size);
2305}
2306
2307SWIGRUNTIME PyTypeObject* SwigPyPacked_TypeOnce(void);
2308
2309SWIGRUNTIME PyTypeObject*
2311 static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyPacked_TypeOnce();
2312 return type;
2313}
2314
2316SwigPyPacked_Check(PyObject *op) {
2317#ifdef Py_LIMITED_API
2318 int cmp;
2319 PyObject *tp_name;
2320#endif
2321 PyTypeObject* op_type = Py_TYPE(op);
2322 if (op_type == SwigPyPacked_type())
2323 return 1;
2324#ifdef Py_LIMITED_API
2325 tp_name = PyObject_GetAttrString((PyObject *)op_type, "__name__");
2326 if (!tp_name)
2327 return 0;
2328 cmp = PyUnicode_CompareWithASCIIString(tp_name, "SwigPyPacked");
2329 SWIG_Py_DECREF(tp_name);
2330 return cmp == 0;
2331#else
2332 return (strcmp(op_type->tp_name, SWIG_RUNTIME_MODULE ".SwigPyPacked") == 0);
2333#endif
2334}
2335
2336SWIGRUNTIME void
2338{
2339 if (SwigPyPacked_Check(v)) {
2340 SwigPyPacked *sobj = (SwigPyPacked *) v;
2341 free(sobj->pack);
2342 }
2343 PyObject_Free(v);
2344}
2345
2346SWIGRUNTIME PyTypeObject*
2348 static char SwigPyPacked_doc[] = "Swig object holding a C/C++ function pointer";
2349#ifndef SWIG_HEAPTYPES
2350 static PyTypeObject swigpypacked_type;
2351 static int type_init = 0;
2352 if (!type_init) {
2353 const PyTypeObject tmp = {
2354#if PY_VERSION_HEX>=0x03000000
2355 PyVarObject_HEAD_INIT(NULL, 0)
2356#else
2357 PyObject_HEAD_INIT(NULL)
2358 0, /* ob_size */
2359#endif
2360 SWIG_RUNTIME_MODULE ".SwigPyPacked", /* tp_name */
2361 sizeof(SwigPyPacked), /* tp_basicsize */
2362 0, /* tp_itemsize */
2363 (destructor)SwigPyPacked_dealloc, /* tp_dealloc */
2364#if PY_VERSION_HEX < 0x030800b4
2365 (printfunc)0, /* tp_print */
2366#else
2367 (Py_ssize_t)0, /* tp_vectorcall_offset */
2368#endif
2369 (getattrfunc)0, /* tp_getattr */
2370 (setattrfunc)0, /* tp_setattr */
2371#if PY_VERSION_HEX>=0x03000000
2372 0, /* tp_reserved in 3.0.1 */
2373#else
2374 (cmpfunc)SwigPyPacked_compare, /* tp_compare */
2375#endif
2376 (reprfunc)SwigPyPacked_repr, /* tp_repr */
2377 0, /* tp_as_number */
2378 0, /* tp_as_sequence */
2379 0, /* tp_as_mapping */
2380 (hashfunc)0, /* tp_hash */
2381 (ternaryfunc)0, /* tp_call */
2382 (reprfunc)SwigPyPacked_str, /* tp_str */
2383 PyObject_GenericGetAttr, /* tp_getattro */
2384 0, /* tp_setattro */
2385 0, /* tp_as_buffer */
2386 Py_TPFLAGS_DEFAULT, /* tp_flags */
2387 SwigPyPacked_doc, /* tp_doc */
2388 0, /* tp_traverse */
2389 0, /* tp_clear */
2390 0, /* tp_richcompare */
2391 0, /* tp_weaklistoffset */
2392 0, /* tp_iter */
2393 0, /* tp_iternext */
2394 0, /* tp_methods */
2395 0, /* tp_members */
2396 0, /* tp_getset */
2397 0, /* tp_base */
2398 0, /* tp_dict */
2399 0, /* tp_descr_get */
2400 0, /* tp_descr_set */
2401 0, /* tp_dictoffset */
2402 0, /* tp_init */
2403 0, /* tp_alloc */
2404 0, /* tp_new */
2405 0, /* tp_free */
2406 0, /* tp_is_gc */
2407 0, /* tp_bases */
2408 0, /* tp_mro */
2409 0, /* tp_cache */
2410 0, /* tp_subclasses */
2411 0, /* tp_weaklist */
2412 0, /* tp_del */
2413 0, /* tp_version_tag */
2414#if PY_VERSION_HEX >= 0x03040000
2415 0, /* tp_finalize */
2416#endif
2417#if PY_VERSION_HEX >= 0x03080000
2418 0, /* tp_vectorcall */
2419#endif
2420#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
2421 0, /* tp_print */
2422#endif
2423#if PY_VERSION_HEX >= 0x030c0000
2424 0, /* tp_watched */
2425#endif
2426#if PY_VERSION_HEX >= 0x030d00a4
2427 0, /* tp_versions_used */
2428#endif
2429#ifdef COUNT_ALLOCS
2430 0, /* tp_allocs */
2431 0, /* tp_frees */
2432 0, /* tp_maxalloc */
2433 0, /* tp_prev */
2434 0 /* tp_next */
2435#endif
2436 };
2437 PyObject *runtime_data_module = SWIG_runtime_data_module();
2438 swigpypacked_type = tmp;
2439 type_init = 1;
2440 if (PyType_Ready(&swigpypacked_type) != 0)
2441 return NULL;
2442 if (PyModule_AddObject(runtime_data_module, "SwigPyPacked", (PyObject *)&swigpypacked_type) == 0)
2443 SWIG_Py_INCREF((PyObject *)&swigpypacked_type);
2444 }
2445 return &swigpypacked_type;
2446#else
2447 PyType_Slot slots[] = {
2448 { Py_tp_dealloc, (void *)SwigPyPacked_dealloc },
2449 { Py_tp_repr, (void *)SwigPyPacked_repr },
2450 { Py_tp_str, (void *)SwigPyPacked_str },
2451 { Py_tp_getattro, (void *)PyObject_GenericGetAttr },
2452 { Py_tp_doc, (void *)SwigPyPacked_doc },
2453 { 0, NULL }
2454 };
2455 PyType_Spec spec = {
2456 SWIG_RUNTIME_MODULE ".SwigPyPacked",
2457 sizeof(SwigPyPacked),
2458 0,
2459 Py_TPFLAGS_DEFAULT,
2460 slots
2461 };
2462 PyObject *pytype = PyType_FromSpec(&spec);
2463 PyObject *runtime_data_module = SWIG_runtime_data_module();
2464 if (pytype && PyModule_AddObject(runtime_data_module, "SwigPyPacked", pytype) == 0)
2465 SWIG_Py_INCREF(pytype);
2466 return (PyTypeObject *)pytype;
2467#endif
2468}
2469
2470SWIGRUNTIME PyObject *
2471SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
2472{
2473 SwigPyPacked *sobj = PyObject_New(SwigPyPacked, SwigPyPacked_type());
2474 if (sobj) {
2475 void *pack = malloc(size);
2476 if (pack) {
2477 memcpy(pack, ptr, size);
2478 sobj->pack = pack;
2479 sobj->ty = ty;
2480 sobj->size = size;
2481 } else {
2482 PyObject_Free((PyObject *)sobj);
2483 sobj = 0;
2484 }
2485 }
2486 return (PyObject *) sobj;
2487}
2488
2490SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
2491{
2492 if (SwigPyPacked_Check(obj)) {
2493 SwigPyPacked *sobj = (SwigPyPacked *)obj;
2494 if (sobj->size != size) return 0;
2495 memcpy(ptr, sobj->pack, size);
2496 return sobj->ty;
2497 } else {
2498 return 0;
2499 }
2500}
2501
2502/* -----------------------------------------------------------------------------
2503 * pointers/data manipulation
2504 * ----------------------------------------------------------------------------- */
2505
2506static PyObject *Swig_This_global = NULL;
2507
2508SWIGRUNTIME PyObject *
2510{
2511 if (Swig_This_global == NULL)
2513 return Swig_This_global;
2514}
2515
2516/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
2517
2518/* TODO: I don't know how to implement the fast getset in Python 3 right now */
2519#if PY_VERSION_HEX>=0x03000000
2520#define SWIG_PYTHON_SLOW_GETSET_THIS
2521#endif
2522
2525{
2526 PyObject *obj;
2527
2528 if (SwigPyObject_Check(pyobj))
2529 return (SwigPyObject *) pyobj;
2530
2531#ifdef SWIGPYTHON_BUILTIN
2532 (void)obj;
2533# ifdef PyWeakref_CheckProxy
2534 if (PyWeakref_CheckProxy(pyobj)) {
2535#if PY_VERSION_HEX >= 0x030d0000
2536 PyWeakref_GetRef(pyobj, &pyobj);
2537 Py_DECREF(pyobj);
2538#else
2539 pyobj = PyWeakref_GET_OBJECT(pyobj);
2540#endif
2541 if (pyobj && SwigPyObject_Check(pyobj))
2542 return (SwigPyObject*) pyobj;
2543 }
2544# endif
2545 return NULL;
2546#else
2547
2548 obj = 0;
2549
2550#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2551 if (PyInstance_Check(pyobj)) {
2552 obj = _PyInstance_Lookup(pyobj, SWIG_This());
2553 } else {
2554 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
2555 if (dictptr != NULL) {
2556 PyObject *dict = *dictptr;
2557 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
2558 } else {
2559#ifdef PyWeakref_CheckProxy
2560 if (PyWeakref_CheckProxy(pyobj)) {
2561 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
2562 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
2563 }
2564#endif
2565 obj = PyObject_GetAttr(pyobj,SWIG_This());
2566 if (obj) {
2567 SWIG_Py_DECREF(obj);
2568 } else {
2569 if (PyErr_Occurred()) PyErr_Clear();
2570 return 0;
2571 }
2572 }
2573 }
2574#else
2575 obj = PyObject_GetAttr(pyobj,SWIG_This());
2576 if (obj) {
2577 SWIG_Py_DECREF(obj);
2578 } else {
2579 if (PyErr_Occurred()) PyErr_Clear();
2580 return 0;
2581 }
2582#endif
2583 if (obj && !SwigPyObject_Check(obj)) {
2584 /* a PyObject is called 'this', try to get the 'real this'
2585 SwigPyObject from it */
2586 return SWIG_Python_GetSwigThis(obj);
2587 }
2588 return (SwigPyObject *)obj;
2589#endif
2590}
2591
2592/* Acquire a pointer value */
2593
2594SWIGRUNTIME int
2595SWIG_Python_AcquirePtr(PyObject *obj, int own) {
2596 if (own == SWIG_POINTER_OWN) {
2598 if (sobj) {
2599 int oldown = sobj->own;
2600 sobj->own = own;
2601 return oldown;
2602 }
2603 }
2604 return 0;
2605}
2606
2607/* Convert a pointer value */
2608
2609SWIGRUNTIME int
2610SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
2611 int res;
2612 SwigPyObject *sobj;
2613 int implicit_conv = (flags & SWIG_POINTER_IMPLICIT_CONV) != 0;
2614
2615 if (!obj)
2616 return SWIG_ERROR;
2617 if (obj == Py_None && !implicit_conv) {
2618 if (ptr)
2619 *ptr = 0;
2621 }
2622
2623 res = SWIG_ERROR;
2624
2625 sobj = SWIG_Python_GetSwigThis(obj);
2626 if (own)
2627 *own = 0;
2628 while (sobj) {
2629 void *vptr = sobj->ptr;
2630 if (ty) {
2631 swig_type_info *to = sobj->ty;
2632 if (to == ty) {
2633 /* no type cast needed */
2634 if (ptr) *ptr = vptr;
2635 break;
2636 } else {
2637 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2638 if (!tc) {
2639 sobj = (SwigPyObject *)sobj->next;
2640 } else {
2641 if (ptr) {
2642 int newmemory = 0;
2643 *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2644 if (newmemory == SWIG_CAST_NEW_MEMORY) {
2645 assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
2646 if (own)
2647 *own = *own | SWIG_CAST_NEW_MEMORY;
2648 }
2649 }
2650 break;
2651 }
2652 }
2653 } else {
2654 if (ptr) *ptr = vptr;
2655 break;
2656 }
2657 }
2658 if (sobj) {
2659 if (((flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE) && !sobj->own) {
2661 } else {
2662 if (own)
2663 *own = *own | sobj->own;
2664 if (flags & SWIG_POINTER_DISOWN) {
2665 sobj->own = 0;
2666 }
2667 if (flags & SWIG_POINTER_CLEAR) {
2668 sobj->ptr = 0;
2669 }
2670 res = SWIG_OK;
2671 }
2672 } else {
2673 if (implicit_conv) {
2674 SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
2675 if (data && !data->implicitconv) {
2676 PyObject *klass = data->klass;
2677 if (klass) {
2678 PyObject *impconv;
2679 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2680 impconv = SWIG_Python_CallFunctor(klass, obj);
2681 data->implicitconv = 0;
2682 if (PyErr_Occurred()) {
2683 PyErr_Clear();
2684 impconv = 0;
2685 }
2686 if (impconv) {
2687 SwigPyObject *iobj = SWIG_Python_GetSwigThis(impconv);
2688 if (iobj) {
2689 void *vptr;
2690 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2691 if (SWIG_IsOK(res)) {
2692 if (ptr) {
2693 *ptr = vptr;
2694 /* transfer the ownership to 'ptr' */
2695 iobj->own = 0;
2696 res = SWIG_AddCast(res);
2697 res = SWIG_AddNewMask(res);
2698 } else {
2699 res = SWIG_AddCast(res);
2700 }
2701 }
2702 }
2703 SWIG_Py_DECREF(impconv);
2704 }
2705 }
2706 }
2707 if (!SWIG_IsOK(res) && obj == Py_None) {
2708 if (ptr)
2709 *ptr = 0;
2710 if (PyErr_Occurred())
2711 PyErr_Clear();
2712 res = SWIG_OK;
2713 }
2714 }
2715 }
2716 return res;
2717}
2718
2719/* Convert a function ptr value */
2720
2721SWIGRUNTIME int
2722SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2723 if (!PyCFunction_Check(obj)) {
2724 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2725 } else {
2726 void *vptr = 0;
2727 swig_cast_info *tc;
2728
2729 /* here we get the method pointer for callbacks */
2730#ifndef Py_LIMITED_API
2731 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2732#else
2733 PyObject* pystr_doc = PyObject_GetAttrString(obj, "__doc__");
2734 PyObject *bytes = NULL;
2735 const char *doc = pystr_doc ? SWIG_PyUnicode_AsUTF8AndSize(pystr_doc, NULL, &bytes) : 0;
2736#endif
2737 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2738 if (desc)
2739 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2740#ifdef Py_LIMITED_API
2741 SWIG_Py_XDECREF(bytes);
2742 SWIG_Py_XDECREF(pystr_doc);
2743#endif
2744 if (!desc)
2745 return SWIG_ERROR;
2746 tc = SWIG_TypeCheck(desc,ty);
2747 if (tc) {
2748 int newmemory = 0;
2749 *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2750 assert(!newmemory); /* newmemory handling not yet implemented */
2751 } else {
2752 return SWIG_ERROR;
2753 }
2754 return SWIG_OK;
2755 }
2756}
2757
2758/* Convert a packed pointer value */
2759
2760SWIGRUNTIME int
2761SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2762 swig_type_info *to = SwigPyPacked_UnpackData(obj, ptr, sz);
2763 if (!to) return SWIG_ERROR;
2764 if (ty) {
2765 if (to != ty) {
2766 /* check type cast? */
2767 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2768 if (!tc) return SWIG_ERROR;
2769 }
2770 }
2771 return SWIG_OK;
2772}
2773
2774/* -----------------------------------------------------------------------------
2775 * Create a new pointer object
2776 * ----------------------------------------------------------------------------- */
2777
2778/*
2779 Create a new instance object, without calling __init__, and set the
2780 'this' attribute.
2781*/
2782
2783SWIGRUNTIME PyObject*
2785{
2786 PyObject *inst = 0;
2787 PyObject *newraw = data->newraw;
2788 if (newraw) {
2789 inst = PyObject_Call(newraw, data->newargs, NULL);
2790 if (inst) {
2791#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2792 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2793 if (dictptr != NULL) {
2794 PyObject *dict = *dictptr;
2795 if (dict == NULL) {
2796 dict = PyDict_New();
2797 *dictptr = dict;
2798 }
2799 if (dict) {
2800 PyDict_SetItem(dict, SWIG_This(), swig_this);
2801 } else{
2802 SWIG_Py_DECREF(inst);
2803 inst = 0;
2804 }
2805 }
2806#else
2807 if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) {
2808 SWIG_Py_DECREF(inst);
2809 inst = 0;
2810 }
2811#endif
2812 }
2813 } else {
2814#if PY_VERSION_HEX >= 0x03000000
2815 PyObject *empty_args = PyTuple_New(0);
2816 if (empty_args) {
2817 PyObject *empty_kwargs = PyDict_New();
2818 if (empty_kwargs) {
2819#ifndef Py_LIMITED_API
2820 newfunc newfn = ((PyTypeObject *)data->newargs)->tp_new;
2821#else
2822 newfunc newfn = (newfunc)PyType_GetSlot((PyTypeObject *)data->newargs, Py_tp_new);
2823#endif
2824 inst = newfn((PyTypeObject *)data->newargs, empty_args, empty_kwargs);
2825 SWIG_Py_DECREF(empty_kwargs);
2826 if (inst) {
2827 if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) {
2828 SWIG_Py_DECREF(inst);
2829 inst = 0;
2830 } else {
2831 PyType_Modified(Py_TYPE(inst));
2832 }
2833 }
2834 }
2835 SWIG_Py_DECREF(empty_args);
2836 }
2837#else
2838 PyObject *dict = PyDict_New();
2839 if (dict) {
2840 PyDict_SetItem(dict, SWIG_This(), swig_this);
2841 inst = PyInstance_NewRaw(data->newargs, dict);
2842 SWIG_Py_DECREF(dict);
2843 }
2844#endif
2845 }
2846 return inst;
2847}
2848
2849SWIGRUNTIME int
2850SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2851{
2852#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2853 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2854 if (dictptr != NULL) {
2855 PyObject *dict = *dictptr;
2856 if (dict == NULL) {
2857 dict = PyDict_New();
2858 *dictptr = dict;
2859 }
2860 if (dict) {
2861 return PyDict_SetItem(dict, SWIG_This(), swig_this);
2862 } else{
2863 return -1;
2864 }
2865 }
2866#endif
2867 return PyObject_SetAttr(inst, SWIG_This(), swig_this);
2868}
2869
2870
2871SWIGINTERN PyObject *
2873 PyObject *obj[2];
2874 if (!SWIG_Python_UnpackTuple(args, "swiginit", 2, 2, obj)) {
2875 return NULL;
2876 } else {
2877 SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2878 if (sthis) {
2879 SWIG_Py_DECREF(SwigPyObject_append((PyObject*) sthis, obj[1]));
2880 } else {
2881 if (SWIG_Python_SetSwigThis(obj[0], obj[1]) != 0)
2882 return NULL;
2883 }
2884 return SWIG_Py_Void();
2885 }
2886}
2887
2888/* Create a new pointer object */
2889
2890SWIGRUNTIME PyObject *
2891SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags) {
2892 SwigPyClientData *clientdata;
2893 PyObject * robj;
2894 int own;
2895
2896 if (!ptr)
2897 return SWIG_Py_Void();
2898
2899 clientdata = type ? (SwigPyClientData *)(type->clientdata) : 0;
2900 own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2901 if (clientdata && clientdata->pytype) {
2902 SwigPyObject *newobj;
2903 if (flags & SWIG_BUILTIN_TP_INIT) {
2904 newobj = (SwigPyObject*) self;
2905 if (newobj->ptr) {
2906#ifndef Py_LIMITED_API
2907 allocfunc alloc = clientdata->pytype->tp_alloc;
2908#else
2909 allocfunc alloc = (allocfunc)PyType_GetSlot(clientdata->pytype, Py_tp_alloc);
2910#endif
2911 PyObject *next_self = alloc(clientdata->pytype, 0);
2912 while (newobj->next)
2913 newobj = (SwigPyObject *) newobj->next;
2914 newobj->next = next_self;
2915 newobj = (SwigPyObject *)next_self;
2916#ifdef SWIGPYTHON_BUILTIN
2917 newobj->dict = 0;
2918#endif
2919 }
2920 } else {
2921 newobj = PyObject_New(SwigPyObject, clientdata->pytype);
2922#ifdef SWIGPYTHON_BUILTIN
2923 if (newobj) {
2924 newobj->dict = 0;
2925 }
2926#endif
2927 }
2928 if (newobj) {
2929 newobj->ptr = ptr;
2930 newobj->ty = type;
2931 newobj->own = own;
2932 newobj->next = 0;
2933 return (PyObject*) newobj;
2934 }
2935 return SWIG_Py_Void();
2936 }
2937
2938 assert(!(flags & SWIG_BUILTIN_TP_INIT));
2939
2940 robj = SwigPyObject_New(ptr, type, own);
2941 if (robj && clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2942 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2943 SWIG_Py_DECREF(robj);
2944 robj = inst;
2945 }
2946 return robj;
2947}
2948
2949/* Create a new packed object */
2950
2951SWIGRUNTIMEINLINE PyObject *
2952SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2953 return ptr ? SwigPyPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2954}
2955
2956/* -----------------------------------------------------------------------------*
2957 * Get type list
2958 * -----------------------------------------------------------------------------*/
2959
2960#ifdef SWIG_LINK_RUNTIME
2961void *SWIG_ReturnGlobalTypeList(void *);
2962#endif
2963
2964static PyObject *Swig_TypeCache_global = NULL;
2965
2966/* The python cached type query */
2967SWIGRUNTIME PyObject *
2969 if (Swig_TypeCache_global == NULL) {
2970 Swig_TypeCache_global = PyDict_New();
2971 }
2972 return Swig_TypeCache_global;
2973}
2974
2977#ifdef SWIG_LINK_RUNTIME
2978 static void *type_pointer = (void *)0;
2979 /* first check if module already created */
2980 if (!type_pointer) {
2981 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2982 }
2983#else
2984 void *type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0);
2985 if (PyErr_Occurred()) {
2986 PyErr_Clear();
2987 type_pointer = (void *)0;
2988 }
2989#endif
2990 return (swig_module_info *) type_pointer;
2991}
2992
2993
2994#if defined(SWIG_REFCNT_DEBUG)
2995#define SWIG_PYOBJ_REFCNT(OBJ) fprintf(stdout, "" #OBJ " count %ld\n", (OBJ ? Py_REFCNT(OBJ) : 0))
2996#else
2997#define SWIG_PYOBJ_REFCNT(OBJ)
2998#endif
2999
3000static int interpreter_counter = 0; /* how many (sub-)interpreters are using swig_module's types */
3001
3002SWIGRUNTIME void
3004{
3005 swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME);
3006 swig_type_info **types = swig_module->types;
3007 size_t i;
3008 if (--interpreter_counter != 0) /* another sub-interpreter may still be using the swig_module's types */
3009 return;
3010 for (i = 0; i < swig_module->size; ++i) {
3011 swig_type_info *ty = types[i];
3012 if (ty->owndata) {
3014 ty->clientdata = 0;
3015 if (data) SwigPyClientData_Del(data);
3016 }
3017 }
3020 Swig_This_global = NULL;
3021
3024 Swig_Globals_global = NULL;
3025
3028 Swig_TypeCache_global = NULL;
3029
3031 Swig_Capsule_global = NULL;
3032
3036}
3037
3038SWIGRUNTIME void
3040 PyObject *runtime_data_module = SWIG_runtime_data_module();
3041 PyObject *pointer = PyCapsule_New((void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyModule);
3042 if (pointer && runtime_data_module) {
3043 if (PyModule_AddObject(runtime_data_module, SWIGPY_CAPSULE_ATTR_NAME, pointer) == 0) {
3045 Swig_Capsule_global = pointer;
3046 } else {
3047 SWIG_Py_DECREF(pointer);
3048 }
3049 } else {
3050 SWIG_Py_XDECREF(pointer);
3051 }
3052}
3053
3055SWIG_Python_TypeQuery(const char *type)
3056{
3057 PyObject *cache = SWIG_Python_TypeCache();
3058 PyObject *key = SWIG_Python_str_FromChar(type);
3059 PyObject *obj = PyDict_GetItem(cache, key);
3060 swig_type_info *descriptor;
3061 if (obj) {
3062 descriptor = (swig_type_info *) PyCapsule_GetPointer(obj, NULL);
3063 } else {
3065 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
3066 if (descriptor) {
3067 obj = PyCapsule_New((void*) descriptor, NULL, NULL);
3068 if (obj) {
3069 PyDict_SetItem(cache, key, obj);
3070 SWIG_Py_DECREF(obj);
3071 }
3072 }
3073 }
3074 SWIG_Py_DECREF(key);
3075 return descriptor;
3076}
3077
3078/*
3079 For backward compatibility only
3080*/
3081#define SWIG_POINTER_EXCEPTION 0
3082#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
3083#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
3084
3085SWIGRUNTIME int
3086SWIG_Python_AddErrMesg(const char* mesg, int infront)
3087{
3088 if (PyErr_Occurred()) {
3089 PyObject *type = 0;
3090 PyObject *value = 0;
3091 PyObject *traceback = 0;
3092 PyErr_Fetch(&type, &value, &traceback);
3093 if (value) {
3094 PyObject *old_str = PyObject_Str(value);
3095 PyObject *bytes = NULL;
3096 const char *tmp = SWIG_PyUnicode_AsUTF8AndSize(old_str, NULL, &bytes);
3097 const char *errmesg = tmp ? tmp : "Invalid error message";
3098 SWIG_Py_XINCREF(type);
3099 PyErr_Clear();
3100 if (infront) {
3101 PyErr_Format(type, "%s %s", mesg, errmesg);
3102 } else {
3103 PyErr_Format(type, "%s %s", errmesg, mesg);
3104 }
3105 SWIG_Py_XDECREF(bytes);
3106 SWIG_Py_DECREF(old_str);
3107 }
3108 return 1;
3109 } else {
3110 return 0;
3111 }
3112}
3113
3114SWIGRUNTIME int
3116{
3117 if (PyErr_Occurred()) {
3118 /* add information about failing argument */
3119 char mesg[256];
3120 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
3121 return SWIG_Python_AddErrMesg(mesg, 1);
3122 } else {
3123 return 0;
3124 }
3125}
3126
3127SWIGRUNTIMEINLINE const char *
3129{
3130 SwigPyObject *v = (SwigPyObject *)self;
3131 swig_type_info *ty = v ? v->ty : 0;
3132 return ty ? ty->str : "";
3133}
3134
3135SWIGRUNTIME void
3136SWIG_Python_TypeError(const char *type, PyObject *obj)
3137{
3138 (void) obj;
3139 if (type) {
3140#if defined(SWIG_COBJECT_TYPES)
3141 if (obj && SwigPyObject_Check(obj)) {
3142 const char *otype = (const char *) SwigPyObject_GetDesc(obj);
3143 if (otype) {
3144 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'SwigPyObject(%s)' is received",
3145 type, otype);
3146 return;
3147 }
3148 } else
3149#endif
3150 {
3151#ifndef Py_LIMITED_API
3152 /* tp_name is not accessible */
3153 const char *otype = (obj ? obj->ob_type->tp_name : 0);
3154 if (otype) {
3155 PyObject *str = PyObject_Str(obj);
3156 PyObject *bytes = NULL;
3157 const char *cstr = str ? SWIG_PyUnicode_AsUTF8AndSize(str, NULL, &bytes) : 0;
3158 if (cstr) {
3159 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
3160 type, otype, cstr);
3161 } else {
3162 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
3163 type, otype);
3164 }
3165 SWIG_Py_XDECREF(bytes);
3166 SWIG_Py_XDECREF(str);
3167 return;
3168 }
3169#endif
3170 }
3171 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
3172 } else {
3173 PyErr_Format(PyExc_TypeError, "unexpected type is received");
3174 }
3175}
3176
3177
3178/* Convert a pointer value, signal an exception on a type mismatch */
3179SWIGRUNTIME void *
3180SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags) {
3181 void *result;
3182 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
3183 PyErr_Clear();
3184 }
3185 return result;
3186}
3187
3188#ifdef SWIGPYTHON_BUILTIN
3189SWIGRUNTIME int
3190SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) {
3191 PyTypeObject *tp = obj->ob_type;
3192 PyObject *descr;
3193 PyObject *encoded_name;
3194 descrsetfunc f;
3195 int res = -1;
3196
3197# ifdef Py_USING_UNICODE
3198 if (PyString_Check(name)) {
3199 name = PyUnicode_Decode(PyString_AsString(name), PyString_Size(name), NULL, NULL);
3200 if (!name)
3201 return -1;
3202 } else if (!PyUnicode_Check(name))
3203# else
3204 if (!PyString_Check(name))
3205# endif
3206 {
3207 PyErr_Format(PyExc_TypeError, "attribute name must be string, not '%.200s'", name->ob_type->tp_name);
3208 return -1;
3209 } else {
3211 }
3212
3213 if (!tp->tp_dict) {
3214 if (PyType_Ready(tp) != 0)
3215 goto done;
3216 }
3217
3218 descr = _PyType_Lookup(tp, name);
3219 f = NULL;
3220 if (descr != NULL)
3221 f = descr->ob_type->tp_descr_set;
3222 if (!f) {
3223 if (PyString_Check(name)) {
3224 encoded_name = name;
3226 } else {
3227 encoded_name = PyUnicode_AsUTF8String(name);
3228 if (!encoded_name)
3229 goto done;
3230 }
3231 PyErr_Format(PyExc_AttributeError, "'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name));
3232 SWIG_Py_DECREF(encoded_name);
3233 } else {
3234 res = f(descr, obj, value);
3235 }
3236
3237 done:
3239 return res;
3240}
3241#endif
3242
3243
3244#ifdef __cplusplus
3245}
3246#endif
3247
3248
3249
3250#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
3251
3252#define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0)
3253
3254
3255
3256/* -------- TYPES TABLE (BEGIN) -------- */
3257
3258#define SWIGTYPE_p_PLGraphicsIn swig_types[0]
3259#define SWIGTYPE_p_PLcGrid swig_types[1]
3260#define SWIGTYPE_p_PLcGrid2 swig_types[2]
3261#define SWIGTYPE_p_char swig_types[3]
3262#define SWIGTYPE_p_double swig_types[4]
3263#define SWIGTYPE_p_f_double_double__int swig_types[5]
3264#define SWIGTYPE_p_f_double_double_p_double_p_double_p_void__void swig_types[6]
3265#define SWIGTYPE_p_f_int_double_p_char_int_p_void__void swig_types[7]
3266#define SWIGTYPE_p_f_int_p_double_p_double__void swig_types[8]
3267#define SWIGTYPE_p_f_int_p_q_const__double_p_q_const__double__void swig_types[9]
3268#define SWIGTYPE_p_int swig_types[10]
3269#define SWIGTYPE_p_p_char swig_types[11]
3270#define SWIGTYPE_p_p_double swig_types[12]
3271#define SWIGTYPE_p_unsigned_int swig_types[13]
3273static swig_module_info swig_module = {swig_types, 14, 0, 0, 0, 0};
3274#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
3275#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
3276
3277/* -------- TYPES TABLE (END) -------- */
3278
3279#ifdef SWIG_TypeQuery
3280# undef SWIG_TypeQuery
3281#endif
3282#define SWIG_TypeQuery SWIG_Python_TypeQuery
3283
3284/*-----------------------------------------------
3285 @(target):= _plplotc.so
3286 ------------------------------------------------*/
3287#if PY_VERSION_HEX >= 0x03000000
3288# define SWIG_init PyInit__plplotc
3289
3290#else
3291# define SWIG_init init_plplotc
3292
3293#endif
3294
3295#define SWIG_as_voidptr(a) (void *)((const void *)(a))
3296#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
3297
3298
3299#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
3300#include <arrayobject.h>
3301#include "plplot.h"
3302#include "plplotP.h"
3303
3304#define NPY_PLINT NPY_INT32
3305
3306#ifdef PL_DOUBLE
3307#define NPY_PLFLT NPY_FLOAT64
3308#else
3309#define NPY_PLFLT NPY_FLOAT32
3310#endif
3311
3312// python-1.5 compatibility mode?
3313#if !defined ( PySequence_Fast_GET_ITEM )
3314 #define PySequence_Fast_GET_ITEM PySequence_GetItem
3315#endif
3316#define PySequence_Size PySequence_Length
3317
3318
3319 static PLINT Alen = 0;
3320 static PLINT Xlen = 0, Ylen = 0;
3321
3322
3323SWIGINTERN int
3324SWIG_AsVal_double (PyObject *obj, double *val)
3325{
3326 int res = SWIG_TypeError;
3327 if (PyFloat_Check(obj)) {
3328 if (val) *val = PyFloat_AsDouble(obj);
3329 return SWIG_OK;
3330#if PY_VERSION_HEX < 0x03000000
3331 } else if (PyInt_Check(obj)) {
3332 if (val) *val = (double) PyInt_AsLong(obj);
3333 return SWIG_OK;
3334#endif
3335 } else if (PyLong_Check(obj)) {
3336 double v = PyLong_AsDouble(obj);
3337 if (!PyErr_Occurred()) {
3338 if (val) *val = v;
3339 return SWIG_OK;
3340 } else {
3341 PyErr_Clear();
3342 }
3343 }
3344#ifdef SWIG_PYTHON_CAST_MODE
3345 {
3346 int dispatch = 0;
3347 double d = PyFloat_AsDouble(obj);
3348 if (!PyErr_Occurred()) {
3349 if (val) *val = d;
3350 return SWIG_AddCast(SWIG_OK);
3351 } else {
3352 PyErr_Clear();
3353 }
3354 if (!dispatch) {
3355 long v = PyLong_AsLong(obj);
3356 if (!PyErr_Occurred()) {
3357 if (val) *val = v;
3359 } else {
3360 PyErr_Clear();
3361 }
3362 }
3363 }
3364#endif
3365 return res;
3366}
3367
3368
3369 #define SWIG_From_double PyFloat_FromDouble
3370
3371
3372 typedef PLINT ( *defined_func )( PLFLT, PLFLT );
3373 typedef void ( *fill_func )( PLINT, const PLFLT*, const PLFLT* );
3374 typedef void ( *pltr_func )( PLFLT, PLFLT, PLFLT *, PLFLT*, PLPointer );
3375 typedef void ( *ct_func )( PLFLT, PLFLT, PLFLT *, PLFLT*, PLPointer );
3376 typedef void ( *mapform_func )( PLINT, PLFLT *, PLFLT* );
3378 typedef void ( *label_func )( PLINT, PLFLT, char *, PLINT, PLPointer );
3379
3380
3381SWIGINTERNINLINE PyObject*
3383{
3384 return PyInt_FromLong((long) value);
3385}
3386
3387
3388#include <limits.h>
3389#if !defined(SWIG_NO_LLONG_MAX)
3390# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
3391# define LLONG_MAX __LONG_LONG_MAX__
3392# define LLONG_MIN (-LLONG_MAX - 1LL)
3393# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
3394# endif
3395#endif
3396
3397
3398#include <float.h>
3399
3400
3401#include <math.h>
3402
3403
3405SWIG_CanCastAsInteger(double *d, double min, double max) {
3406 double x = *d;
3407 if ((min <= x && x <= max)) {
3408 double fx, cx, rd;
3409 errno = 0;
3410 fx = floor(x);
3411 cx = ceil(x);
3412 rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */
3413 if ((errno == EDOM) || (errno == ERANGE)) {
3414 errno = 0;
3415 } else {
3416 double summ, reps, diff;
3417 if (rd < x) {
3418 diff = x - rd;
3419 } else if (rd > x) {
3420 diff = rd - x;
3421 } else {
3422 return 1;
3423 }
3424 summ = rd + x;
3425 reps = diff/summ;
3426 if (reps < 8*DBL_EPSILON) {
3427 *d = rd;
3428 return 1;
3429 }
3430 }
3431 }
3432 return 0;
3433}
3434
3435
3436SWIGINTERN int
3437SWIG_AsVal_long (PyObject *obj, long* val)
3438{
3439#if PY_VERSION_HEX < 0x03000000
3440 if (PyInt_Check(obj)) {
3441 if (val) *val = PyInt_AsLong(obj);
3442 return SWIG_OK;
3443 } else
3444#endif
3445 if (PyLong_Check(obj)) {
3446 long v = PyLong_AsLong(obj);
3447 if (!PyErr_Occurred()) {
3448 if (val) *val = v;
3449 return SWIG_OK;
3450 } else {
3451 PyErr_Clear();
3452 return SWIG_OverflowError;
3453 }
3454 }
3455#ifdef SWIG_PYTHON_CAST_MODE
3456 {
3457 int dispatch = 0;
3458 long v = PyInt_AsLong(obj);
3459 if (!PyErr_Occurred()) {
3460 if (val) *val = v;
3461 return SWIG_AddCast(SWIG_OK);
3462 } else {
3463 PyErr_Clear();
3464 }
3465 if (!dispatch) {
3466 double d;
3467 int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
3468 // Largest double not larger than LONG_MAX (not portably calculated easily)
3469 // Note that double(LONG_MAX) is stored in a double rounded up by one (for 64-bit long)
3470 // 0x7ffffffffffffc00LL == (int64_t)std::nextafter(double(__uint128_t(LONG_MAX)+1), double(0))
3471 const double long_max = sizeof(long) == 8 ? 0x7ffffffffffffc00LL : LONG_MAX;
3472 // No equivalent needed for 64-bit double(LONG_MIN) is exactly LONG_MIN
3473 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, long_max)) {
3474 if (val) *val = (long)(d);
3475 return res;
3476 }
3477 }
3478 }
3479#endif
3480 return SWIG_TypeError;
3481}
3482
3483
3484SWIGINTERN int
3485SWIG_AsVal_int (PyObject * obj, int *val)
3486{
3487 long v;
3488 int res = SWIG_AsVal_long (obj, &v);
3489 if (SWIG_IsOK(res)) {
3490 if ((v < INT_MIN || v > INT_MAX)) {
3491 return SWIG_OverflowError;
3492 } else {
3493 if (val) *val = (int)(v);
3494 }
3495 }
3496 return res;
3497}
3498
3499
3500SWIGINTERN int
3501SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val)
3502{
3503#if PY_VERSION_HEX < 0x03000000
3504 if (PyInt_Check(obj)) {
3505 long v = PyInt_AsLong(obj);
3506 if (v >= 0) {
3507 if (val) *val = v;
3508 return SWIG_OK;
3509 } else {
3510 return SWIG_OverflowError;
3511 }
3512 } else
3513#endif
3514 if (PyLong_Check(obj)) {
3515 unsigned long v = PyLong_AsUnsignedLong(obj);
3516 if (!PyErr_Occurred()) {
3517 if (val) *val = v;
3518 return SWIG_OK;
3519 } else {
3520 PyErr_Clear();
3521 return SWIG_OverflowError;
3522 }
3523 }
3524#ifdef SWIG_PYTHON_CAST_MODE
3525 {
3526 int dispatch = 0;
3527 unsigned long v = PyLong_AsUnsignedLong(obj);
3528 if (!PyErr_Occurred()) {
3529 if (val) *val = v;
3530 return SWIG_AddCast(SWIG_OK);
3531 } else {
3532 PyErr_Clear();
3533 }
3534 if (!dispatch) {
3535 double d;
3536 int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
3537 // Largest double not larger than ULONG_MAX (not portably calculated easily)
3538 // Note that double(ULONG_MAX) is stored in a double rounded up by one (for 64-bit unsigned long)
3539 // 0xfffffffffffff800ULL == (uint64_t)std::nextafter(double(__uint128_t(ULONG_MAX)+1), double(0))
3540 const double ulong_max = sizeof(unsigned long) == 8 ? 0xfffffffffffff800ULL : ULONG_MAX;
3541 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ulong_max)) {
3542 if (val) *val = (unsigned long)(d);
3543 return res;
3544 }
3545 }
3546 }
3547#endif
3548 return SWIG_TypeError;
3549}
3550
3551
3552SWIGINTERN int
3553SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
3554{
3555 unsigned long v;
3556 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3557 if (SWIG_IsOK(res)) {
3558 if ((v > UINT_MAX)) {
3559 return SWIG_OverflowError;
3560 } else {
3561 if (val) *val = (unsigned int)(v);
3562 }
3563 }
3564 return res;
3565}
3566
3567
3568SWIGINTERNINLINE PyObject*
3570{
3571 return PyInt_FromSize_t((size_t) value);
3572}
3573
3574
3577{
3578 static swig_type_info* info = 0;
3579 if (!info) {
3580 info = SWIG_TypeQuery("_p_char");
3581 }
3582 return info;
3583}
3584
3585
3586/* Return string from Python obj. NOTE: obj must remain in scope in order
3587 to use the returned cptr (but only when alloc is set to SWIG_OLDOBJ) */
3588SWIGINTERN int
3589SWIG_AsCharPtrAndSize(PyObject *obj, char **cptr, size_t *psize, int *alloc)
3590{
3591#if PY_VERSION_HEX>=0x03000000
3592#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3593 if (PyBytes_Check(obj))
3594#else
3595 if (PyUnicode_Check(obj))
3596#endif
3597#else
3598 if (PyString_Check(obj))
3599#endif
3600 {
3601 char *cstr; Py_ssize_t len;
3602 PyObject *bytes = NULL;
3603 int ret = SWIG_OK;
3604 if (alloc)
3605 *alloc = SWIG_OLDOBJ;
3606#if PY_VERSION_HEX>=0x03000000 && defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3607 if (PyBytes_AsStringAndSize(obj, &cstr, &len) == -1)
3608 return SWIG_TypeError;
3609#else
3610 cstr = (char *)SWIG_PyUnicode_AsUTF8AndSize(obj, &len, &bytes);
3611 if (!cstr)
3612 return SWIG_TypeError;
3613 /* The returned string is only duplicated if the char * returned is not owned and memory managed by obj */
3614 if (bytes && cptr) {
3615 if (alloc) {
3616 cstr = (char *)memcpy(malloc((len + 1)*sizeof(char)), cstr, sizeof(char)*(len + 1));
3617 *alloc = SWIG_NEWOBJ;
3618 } else {
3619 /* alloc must be set in order to clean up allocated memory */
3620 return SWIG_RuntimeError;
3621 }
3622 }
3623#endif
3624 if (cptr) *cptr = cstr;
3625 if (psize) *psize = len + 1;
3626 SWIG_Py_XDECREF(bytes);
3627 return ret;
3628 } else {
3629#if defined(SWIG_PYTHON_2_UNICODE)
3630#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3631#error "Cannot use both SWIG_PYTHON_2_UNICODE and SWIG_PYTHON_STRICT_BYTE_CHAR at once"
3632#endif
3633#if PY_VERSION_HEX<0x03000000
3634 if (PyUnicode_Check(obj)) {
3635 char *cstr; Py_ssize_t len;
3636 if (!alloc && cptr) {
3637 return SWIG_RuntimeError;
3638 }
3639 obj = PyUnicode_AsUTF8String(obj);
3640 if (!obj)
3641 return SWIG_TypeError;
3642 if (PyString_AsStringAndSize(obj, &cstr, &len) != -1) {
3643 if (cptr) {
3644 if (alloc) *alloc = SWIG_NEWOBJ;
3645 *cptr = (char *)memcpy(malloc((len + 1)*sizeof(char)), cstr, sizeof(char)*(len + 1));
3646 }
3647 if (psize) *psize = len + 1;
3648
3649 SWIG_Py_XDECREF(obj);
3650 return SWIG_OK;
3651 } else {
3652 SWIG_Py_XDECREF(obj);
3653 }
3654 }
3655#endif
3656#endif
3657
3658 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
3659 if (pchar_descriptor) {
3660 void* vptr = 0;
3661 if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
3662 if (cptr) *cptr = (char *) vptr;
3663 if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
3664 if (alloc) *alloc = SWIG_OLDOBJ;
3665 return SWIG_OK;
3666 }
3667 }
3668 }
3669 return SWIG_TypeError;
3670}
3671
3672
3673SWIGINTERN int
3674SWIG_AsCharArray(PyObject * obj, char *val, size_t size)
3675{
3676 char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
3677 int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
3678 if (SWIG_IsOK(res)) {
3679 /* special case of single char conversion when we don't need space for NUL */
3680 if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
3681 if (csize <= size) {
3682 if (val) {
3683 if (csize) memcpy(val, cptr, csize*sizeof(char));
3684 if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
3685 }
3686 if (alloc == SWIG_NEWOBJ) {
3687 free((char*)cptr);
3688 res = SWIG_DelNewMask(res);
3689 }
3690 return res;
3691 }
3692 if (alloc == SWIG_NEWOBJ) free((char*)cptr);
3693 }
3694 return SWIG_TypeError;
3695}
3696
3697
3698SWIGINTERNINLINE PyObject *
3699SWIG_FromCharPtrAndSize(const char* carray, size_t size)
3700{
3701 if (carray) {
3702 if (size > INT_MAX) {
3703 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
3704 return pchar_descriptor ?
3705 SWIG_InternalNewPointerObj((char *)(carray), pchar_descriptor, 0) : SWIG_Py_Void();
3706 } else {
3707#if PY_VERSION_HEX >= 0x03000000
3708#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3709 return PyBytes_FromStringAndSize(carray, (Py_ssize_t)(size));
3710#else
3711 return PyUnicode_DecodeUTF8(carray, (Py_ssize_t)(size), "surrogateescape");
3712#endif
3713#else
3714 return PyString_FromStringAndSize(carray, (Py_ssize_t)(size));
3715#endif
3716 }
3717 } else {
3718 return SWIG_Py_Void();
3719 }
3720}
3721
3722
3723SWIGINTERN size_t
3724SWIG_strnlen(const char* s, size_t maxlen)
3725{
3726 const char *p;
3727 for (p = s; maxlen-- && *p; p++)
3728 ;
3729 return p - s;
3730}
3731
3732
3733
3734
3735
3736SWIGINTERN int
3737SWIG_AsVal_char (PyObject * obj, char *val)
3738{
3739 int res = SWIG_AsCharArray(obj, val, 1);
3740 if (!SWIG_IsOK(res)) {
3741 long v;
3742 res = SWIG_AddCast(SWIG_AsVal_long (obj, &v));
3743 if (SWIG_IsOK(res)) {
3744 if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
3745 if (val) *val = (char)(v);
3746 } else {
3747 res = SWIG_OverflowError;
3748 }
3749 }
3750 }
3751 return res;
3752}
3753
3754#ifdef __cplusplus
3755extern "C" {
3756#endif
3757
3758 PyArrayObject* myIntArray_ContiguousFromObject( PyObject* in, int type, int mindims, int maxdims );
3759
3760// some really twisted stuff to allow calling a single precision library from python
3761 PyArrayObject* myIntArray_ContiguousFromObject( PyObject* in, int PL_UNUSED( type ), int mindims, int maxdims )
3762 {
3763 PyArrayObject* tmp = (PyArrayObject *) PyArray_ContiguousFromObject( in, NPY_PLINT,
3764 mindims, maxdims );
3765 if ( !tmp )
3766 {
3767 // could be an incoming long array which can't be "safely" converted, do it anyway
3768 if ( PyArray_Check( in ) )
3769 {
3770 PyErr_Clear();
3771 tmp = (PyArrayObject *) PyArray_Cast( (PyArrayObject *) in, NPY_PLINT );
3772 }
3773 }
3774 return tmp;
3775 }
3776
3777
3778#define myArray_ContiguousFromObject PyArray_ContiguousFromObject
3779
3780SWIGINTERN PyObject *_wrap_pltr0(PyObject *self, PyObject *args) {
3781 PyObject *resultobj = 0;
3782 PLFLT arg1 ;
3783 PLFLT arg2 ;
3784 PLFLT *arg3 = (PLFLT *) 0 ;
3785 PLFLT *arg4 = (PLFLT *) 0 ;
3786 PLPointer arg5 = (PLPointer) 0 ;
3787 double val1 ;
3788 int ecode1 = 0 ;
3789 double val2 ;
3790 int ecode2 = 0 ;
3791 PLFLT temp3 ;
3792 int res3 = SWIG_TMPOBJ ;
3793 PLFLT temp4 ;
3794 int res4 = SWIG_TMPOBJ ;
3795 PyObject *swig_obj[2] ;
3796
3797 arg3 = &temp3;
3798 arg4 = &temp4;
3799 {
3800 arg5 = NULL;
3801 }
3802 (void)self;
3803 if (!SWIG_Python_UnpackTuple(args, "pltr0", 2, 2, swig_obj)) SWIG_fail;
3804 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
3805 if (!SWIG_IsOK(ecode1)) {
3806 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pltr0" "', argument " "1"" of type '" "PLFLT""'");
3807 }
3808 arg1 = (PLFLT)(val1);
3809 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
3810 if (!SWIG_IsOK(ecode2)) {
3811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pltr0" "', argument " "2"" of type '" "PLFLT""'");
3812 }
3813 arg2 = (PLFLT)(val2);
3814 pltr0(arg1,arg2,arg3,arg4,arg5);
3815 resultobj = SWIG_Py_Void();
3816 if (SWIG_IsTmpObj(res3)) {
3817 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
3818 } else {
3819 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
3820 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
3821 }
3822 if (SWIG_IsTmpObj(res4)) {
3823 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
3824 } else {
3825 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
3826 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
3827 }
3828 return resultobj;
3829fail:
3830 return NULL;
3831}
3832
3833
3834
3835 PyArrayObject *pltr_xg, *pltr_yg;
3838
3839 PLcGrid* marshal_PLcGrid1( PyObject* input, int isimg );
3840 void cleanup_PLcGrid1( void );
3841 PLcGrid2* marshal_PLcGrid2( PyObject* input, int isimg );
3842 void cleanup_PLcGrid2( void );
3843
3844 PLcGrid* marshal_PLcGrid1( PyObject* input, int isimg )
3845 {
3846 // fprintf(stderr, "marshal PLcGrid1\n");
3847 if ( !PySequence_Check( input ) || PySequence_Size( input ) != 2 )
3848 {
3849 PyErr_SetString( PyExc_ValueError, "Expected a sequence of two arrays." );
3850 return NULL;
3851 }
3852 pltr_xg = (PyArrayObject *) myArray_ContiguousFromObject( PySequence_Fast_GET_ITEM( input, 0 ),
3853 NPY_PLFLT, 1, 1 );
3854 pltr_yg = (PyArrayObject *) myArray_ContiguousFromObject( PySequence_Fast_GET_ITEM( input, 1 ),
3855 NPY_PLFLT, 1, 1 );
3856 if ( pltr_xg == 0 || pltr_yg == 0 )
3857 {
3858 PyErr_SetString( PyExc_ValueError, "Expected a sequence to two 1D arrays." );
3859 return NULL;
3860 }
3861 tmpGrid1.nx = (PLINT) PyArray_DIMS( pltr_xg )[0];
3862 tmpGrid1.ny = (PLINT) PyArray_DIMS( pltr_yg )[0];
3863 if ( isimg == 0 )
3864 {
3865 if ( Xlen != tmpGrid1.nx || Ylen != tmpGrid1.ny )
3866 {
3867 PyErr_SetString( PyExc_ValueError, "pltr arguments must have X and Y dimensions of first arg." );
3868 return NULL;
3869 }
3870 }
3871 else
3872 {
3873 if ( Xlen != tmpGrid1.nx - 1 || Ylen != tmpGrid1.ny - 1 )
3874 {
3875 PyErr_SetString( PyExc_ValueError, "pltr arguments must have X and Y dimensions of first arg + 1." );
3876 return NULL;
3877 }
3878 }
3879 tmpGrid1.xg = (PLFLT *) PyArray_DATA( pltr_xg );
3880 tmpGrid1.yg = (PLFLT *) PyArray_DATA( pltr_yg );
3881 return &tmpGrid1;
3882 }
3883
3884 void cleanup_PLcGrid1( void )
3885 {
3886 // fprintf(stderr, "cleanup PLcGrid1\n");
3887 Py_CLEAR( pltr_xg );
3888 Py_CLEAR( pltr_yg );
3889 }
3890
3891 PLcGrid2* marshal_PLcGrid2( PyObject* input, int isimg )
3892 {
3893 int i, size;
3894 // fprintf(stderr, "marshal PLcGrid2\n");
3895 if ( !PySequence_Check( input ) || PySequence_Size( input ) != 2 )
3896 {
3897 PyErr_SetString( PyExc_ValueError, "Expected a sequence of two arrays." );
3898 return NULL;
3899 }
3900 pltr_xg = (PyArrayObject *) myArray_ContiguousFromObject( PySequence_Fast_GET_ITEM( input, 0 ),
3901 NPY_PLFLT, 2, 2 );
3902 pltr_yg = (PyArrayObject *) myArray_ContiguousFromObject( PySequence_Fast_GET_ITEM( input, 1 ),
3903 NPY_PLFLT, 2, 2 );
3904 if ( pltr_xg == 0 || pltr_yg == 0 )
3905 {
3906 PyErr_SetString( PyExc_ValueError, "Expected a sequence of two 2D arrays." );
3907 return NULL;
3908 }
3909 if ( PyArray_DIMS( pltr_xg )[0] != PyArray_DIMS( pltr_yg )[0] ||
3910 PyArray_DIMS( pltr_xg )[1] != PyArray_DIMS( pltr_yg )[1] )
3911 {
3912 PyErr_SetString( PyExc_ValueError, "Arrays must be same size." );
3913 return NULL;
3914 }
3915 tmpGrid2.nx = (PLINT) PyArray_DIMS( pltr_xg )[0];
3916 tmpGrid2.ny = (PLINT) PyArray_DIMS( pltr_xg )[1];
3917 if ( isimg == 0 )
3918 {
3919 if ( Xlen != tmpGrid2.nx || Ylen != tmpGrid2.ny )
3920 {
3921 PyErr_SetString( PyExc_ValueError, "pltr arguments must have X and Y dimensions of first arg." );
3922 return NULL;
3923 }
3924 }
3925 else
3926 {
3927 if ( Xlen != tmpGrid2.nx - 1 || Ylen != tmpGrid2.ny - 1 )
3928 {
3929 PyErr_SetString( PyExc_ValueError, "pltr arguments must have X and Y dimensions of first arg + 1." );
3930 return NULL;
3931 }
3932 }
3933 size = tmpGrid2.ny;
3934 tmpGrid2.xg = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) tmpGrid2.nx );
3935 for ( i = 0; i < tmpGrid2.nx; i++ )
3936 tmpGrid2.xg[i] = ( (PLFLT *) PyArray_DATA( pltr_xg ) + i * size );
3937 tmpGrid2.yg = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) tmpGrid2.nx );
3938 for ( i = 0; i < tmpGrid2.nx; i++ )
3939 tmpGrid2.yg[i] = ( (PLFLT *) PyArray_DATA( pltr_yg ) + i * size );
3940 return &tmpGrid2;
3941 }
3942
3943 void cleanup_PLcGrid2( void )
3944 {
3945 // fprintf(stderr, "cleanup PLcGrid2\n");
3946 free( tmpGrid2.xg );
3947 free( tmpGrid2.yg );
3948 Py_CLEAR( pltr_xg );
3949 Py_CLEAR( pltr_yg );
3950 }
3951
3952SWIGINTERN PyObject *_wrap_pltr1(PyObject *self, PyObject *args) {
3953 PyObject *resultobj = 0;
3954 PLFLT arg1 ;
3955 PLFLT arg2 ;
3956 PLFLT *arg3 = (PLFLT *) 0 ;
3957 PLFLT *arg4 = (PLFLT *) 0 ;
3958 PLcGrid *arg5 = (PLcGrid *) 0 ;
3959 double val1 ;
3960 int ecode1 = 0 ;
3961 double val2 ;
3962 int ecode2 = 0 ;
3963 PLFLT temp3 ;
3964 int res3 = SWIG_TMPOBJ ;
3965 PLFLT temp4 ;
3966 int res4 = SWIG_TMPOBJ ;
3967 PyObject *swig_obj[3] ;
3968
3969 arg3 = &temp3;
3970 arg4 = &temp4;
3971 (void)self;
3972 if (!SWIG_Python_UnpackTuple(args, "pltr1", 3, 3, swig_obj)) SWIG_fail;
3973 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
3974 if (!SWIG_IsOK(ecode1)) {
3975 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pltr1" "', argument " "1"" of type '" "PLFLT""'");
3976 }
3977 arg1 = (PLFLT)(val1);
3978 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
3979 if (!SWIG_IsOK(ecode2)) {
3980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pltr1" "', argument " "2"" of type '" "PLFLT""'");
3981 }
3982 arg2 = (PLFLT)(val2);
3983 {
3984 arg5 = marshal_PLcGrid1( swig_obj[2], 0 );
3985 if ( !arg5 )
3986 return NULL;
3987 }
3988 pltr1(arg1,arg2,arg3,arg4,arg5);
3989 resultobj = SWIG_Py_Void();
3990 if (SWIG_IsTmpObj(res3)) {
3991 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
3992 } else {
3993 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
3994 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
3995 }
3996 if (SWIG_IsTmpObj(res4)) {
3997 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
3998 } else {
3999 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4000 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
4001 }
4002 {
4004 }
4005 return resultobj;
4006fail:
4007 {
4009 }
4010 return NULL;
4011}
4012
4013
4014SWIGINTERN PyObject *_wrap_pltr2(PyObject *self, PyObject *args) {
4015 PyObject *resultobj = 0;
4016 PLFLT arg1 ;
4017 PLFLT arg2 ;
4018 PLFLT *arg3 = (PLFLT *) 0 ;
4019 PLFLT *arg4 = (PLFLT *) 0 ;
4020 PLcGrid2 *arg5 = (PLcGrid2 *) 0 ;
4021 double val1 ;
4022 int ecode1 = 0 ;
4023 double val2 ;
4024 int ecode2 = 0 ;
4025 PLFLT temp3 ;
4026 int res3 = SWIG_TMPOBJ ;
4027 PLFLT temp4 ;
4028 int res4 = SWIG_TMPOBJ ;
4029 PyObject *swig_obj[3] ;
4030
4031 arg3 = &temp3;
4032 arg4 = &temp4;
4033 (void)self;
4034 if (!SWIG_Python_UnpackTuple(args, "pltr2", 3, 3, swig_obj)) SWIG_fail;
4035 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
4036 if (!SWIG_IsOK(ecode1)) {
4037 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pltr2" "', argument " "1"" of type '" "PLFLT""'");
4038 }
4039 arg1 = (PLFLT)(val1);
4040 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
4041 if (!SWIG_IsOK(ecode2)) {
4042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pltr2" "', argument " "2"" of type '" "PLFLT""'");
4043 }
4044 arg2 = (PLFLT)(val2);
4045 {
4046 arg5 = marshal_PLcGrid2( swig_obj[2], 0 );
4047 if ( !arg5 )
4048 return NULL;
4049 }
4050 pltr2(arg1,arg2,arg3,arg4,arg5);
4051 resultobj = SWIG_Py_Void();
4052 if (SWIG_IsTmpObj(res3)) {
4053 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
4054 } else {
4055 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4056 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
4057 }
4058 if (SWIG_IsTmpObj(res4)) {
4059 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
4060 } else {
4061 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4062 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
4063 }
4064 {
4066 }
4067 return resultobj;
4068fail:
4069 {
4071 }
4072 return NULL;
4073}
4074
4075
4076
4077 // helper code for handling the callback
4078#if 0
4079 static PyInterpreterState *save_interp = NULL;
4080#endif
4082 PyObject* python_pltr = NULL;
4083 PyObject* python_f2eval = NULL;
4084 PyObject* python_ct = NULL;
4085 PyObject* python_mapform = NULL;
4086 PyObject* python_label = NULL;
4087
4088#if 0
4089#define MY_BLOCK_THREADS { \
4090 PyThreadState *prev_state, *new_state; \
4091 /* need to have started a thread at some stage */ \
4092 /* for the following to work */ \
4093 PyEval_AcquireLock(); \
4094 new_state = PyThreadState_New( save_interp ); \
4095 prev_state = PyThreadState_Swap( new_state );
4096#define MY_UNBLOCK_THREADS \
4097 new_state = PyThreadState_Swap( prev_state ); \
4098 PyThreadState_Clear( new_state ); \
4099 PyEval_ReleaseLock(); \
4100 PyThreadState_Delete( new_state ); \
4101 }
4102#else
4103#define MY_BLOCK_THREADS
4104#define MY_UNBLOCK_THREADS
4105#endif
4106
4107// Function prototypes
4108 void do_pltr_callback( PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer data );
4110 void do_label_callback( PLINT axis, PLFLT value, char *string, PLINT len, PLPointer data );
4111 void do_ct_callback( PLFLT x, PLFLT y, PLFLT *xt, PLFLT *yt, PLPointer data );
4112 void do_mapform_callback( PLINT n, PLFLT *x, PLFLT *y );
4113 pltr_func marshal_pltr( PyObject* input );
4114 void cleanup_pltr( void );
4115 ct_func marshal_ct( PyObject* input );
4116 void cleanup_ct( void );
4117 mapform_func marshal_mapform( PyObject* input );
4118 void cleanup_mapform( void );
4119 PLPointer marshal_PLPointer( PyObject* input, int isimg );
4120 void cleanup_PLPointer( void );
4121
4122
4123// This is the callback that gets handed to the C code. It, in turn, calls the Python callback
4124
4125 void do_pltr_callback( PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer data )
4126 {
4127 PyObject *pdata, *arglist, *result;
4128 PyArrayObject *tmp;
4129
4130 // the data argument is acutally a pointer to a python object
4131 pdata = (PyObject *) data;
4132 if ( data == NULL )
4133 {
4134 pdata = Py_None;
4135 }
4136 if ( python_pltr ) // if not something is terribly wrong
4137 { // hold a reference to the data object
4138 Py_XINCREF( pdata );
4139 // grab the Global Interpreter Lock to be sure threads don't mess us up
4141 // build the argument list
4142#ifdef PL_DOUBLE
4143 arglist = Py_BuildValue( "(ddO)", x, y, pdata );
4144#else
4145 arglist = Py_BuildValue( "(ffO)", x, y, pdata );
4146#endif
4147 if ( arglist == NULL )
4148 {
4149 fprintf( stderr, "Py_BuildValue failed to make argument list.\n" );
4150 *tx = *ty = 0;
4151 return;
4152 }
4153 // call the python function
4154 result = PyObject_CallObject( python_pltr, arglist );
4155 // release the argument list
4156 Py_CLEAR( arglist );
4157 // check and unpack the result
4158 if ( result == NULL )
4159 {
4160 fprintf( stderr, "call to python pltr function with 3 arguments failed\n" );
4161 PyErr_SetString( PyExc_RuntimeError, "pltr callback must take 3 arguments." );
4162 *tx = *ty = 0;
4163 }
4164 else
4165 {
4166 tmp = (PyArrayObject *) myArray_ContiguousFromObject( result, NPY_PLFLT, 1, 1 );
4167 if ( tmp == 0 || PyArray_DIMS( tmp )[0] != 2 )
4168 {
4169 fprintf( stderr, "pltr callback must return a 2 element array or sequence\n" );
4170 PyErr_SetString( PyExc_RuntimeError, "pltr callback must return a 2-sequence." );
4171 *tx = *ty = 0;
4172 }
4173 else
4174 {
4175 PLFLT* t = (PLFLT *) PyArray_DATA( tmp );
4176 *tx = t[0];
4177 *ty = t[1];
4178 Py_CLEAR( tmp );
4179 }
4180 }
4181 // release the result
4182 Py_CLEAR( result );
4183 // release the global interpreter lock
4185 }
4186 }
4187
4189 {
4190 PyObject *pdata, *arglist, *result;
4191 PLFLT fresult = 0.0;
4192
4193 // the data argument is acutally a pointer to a python object
4194 pdata = (PyObject *) data;
4195 if ( python_f2eval ) // if not something is terribly wrong
4196 { // hold a reference to the data object
4197 Py_XINCREF( pdata );
4198 // grab the Global Interpreter Lock to be sure threads don't mess us up
4200 // build the argument list
4201 arglist = Py_BuildValue( "(iiO)", x, y, pdata );
4202 // call the python function
4203 result = PyObject_CallObject( python_f2eval, arglist );
4204 // release the argument list
4205 Py_CLEAR( arglist );
4206 // check and unpack the result
4207 if ( !PyFloat_Check( result ) )
4208 {
4209 fprintf( stderr, "f2eval callback must return a float\n" );
4210 PyErr_SetString( PyExc_RuntimeError, "f2eval callback must return a float." );
4211 }
4212 else
4213 {
4214 // should I test the type here?
4215 fresult = (PLFLT) PyFloat_AsDouble( result );
4216 }
4217 // release the result
4218 Py_CLEAR( result );
4219 // release the global interpreter lock
4221 }
4222 return fresult;
4223 }
4224
4225 void do_label_callback( PLINT axis, PLFLT value, char *string, PLINT len, PLPointer data )
4226 {
4227 PyObject *pdata, *arglist, *result, *unicode_string;
4228 char *pystring;
4229
4230 // the data argument is acutally a pointer to a python object
4231 if ( data )
4232 pdata = (PyObject *) data;
4233 else
4234 pdata = Py_None;
4235 if ( python_label ) // if not something is terribly wrong
4236 { // hold a reference to the data object
4237 Py_XINCREF( pdata );
4238 // grab the Global Interpreter Lock to be sure threads don't mess us up
4240 // build the argument list
4241#ifdef PL_DOUBLE
4242 arglist = Py_BuildValue( "(ldO)", axis, value, pdata );
4243#else
4244 arglist = Py_BuildValue( "(lfO)", axis, value, pdata );
4245#endif
4246 // call the python function
4247 result = PyObject_CallObject( python_label, arglist );
4248 // release the argument list
4249 //Py_CLEAR(arglist);
4250 // check and unpack the result
4251 if ( result == NULL )
4252 {
4253 fprintf( stderr, "label callback failed with 3 arguments\n" );
4254 PyErr_SetString( PyExc_RuntimeError, "label callback must take 3 arguments." );
4255 }
4256 else if ( PyString_Check( result ) )
4257 {
4258 // should I test the type here?
4259 pystring = PyString_AsString( result );
4260 strncpy( string, pystring, len );
4261 }
4262 else if ( PyUnicode_Check( result ) )
4263 {
4264 // unicode_string is never freed? memory leak here?
4265 unicode_string = PyUnicode_AsEncodedString( result, "utf-8", "Error ~" );
4266 pystring = PyBytes_AS_STRING( unicode_string );
4267 // len may be different then the byte string length w/ unicode?
4268 strncpy( string, pystring, len );
4269 }
4270 else
4271 {
4272 fprintf( stderr, "label callback must return a string\n" );
4273 PyErr_SetString( PyExc_RuntimeError, "label callback must return a string." );
4274 }
4275 // release the result
4276 Py_CLEAR( result );
4277 // release the global interpreter lock
4279 }
4280 }
4281
4282 void do_ct_callback( PLFLT x, PLFLT y, PLFLT *xt, PLFLT *yt, PLPointer data )
4283 {
4284 PyObject *px, *py, *pdata, *arglist, *result;
4285 npy_intp n;
4286 n = 1;
4287
4288 // the data argument is acutally a pointer to a python object
4289 pdata = (PyObject *) data;
4290 if ( data == NULL )
4291 {
4292 pdata = Py_None;
4293 }
4294 if ( python_ct ) // if not something is terribly wrong
4295 { // hold a reference to the data object
4296 Py_XINCREF( pdata );
4297 // grab the Global Interpreter Lock to be sure threads don't mess us up
4299 // build the argument list
4300 px = PyArray_SimpleNewFromData( 1, &n, NPY_PLFLT, (void *) xt );
4301 py = PyArray_SimpleNewFromData( 1, &n, NPY_PLFLT, (void *) yt );
4302 arglist = Py_BuildValue( "(ddOOO)", x, y, px, py, pdata );
4303 // call the python function
4304 result = PyObject_CallObject( python_ct, arglist );
4305 // release the argument list
4306 Py_CLEAR( arglist );
4307 Py_CLEAR( px );
4308 Py_CLEAR( py );
4309 Py_CLEAR( pdata );
4310 // check and unpack the result
4311 if ( result == NULL )
4312 {
4313 fprintf( stderr, "call to python coordinate transform function with 5 arguments failed\n" );
4314 PyErr_SetString( PyExc_RuntimeError, "coordinate transform callback must take 5 arguments." );
4315 }
4316 // release the result
4317 Py_CLEAR( result );
4318 // release the global interpreter lock
4320 }
4321 }
4322
4324 {
4325 PyObject *px, *py, *arglist, *result;
4326 // PyArrayObject *tmpx, *tmpy;
4327// PLFLT *xx, *yy;
4328// PLINT i;
4329 npy_intp nn;
4330 nn = n;
4331
4332 if ( python_mapform ) // if not something is terribly wrong
4333 { // grab the Global Interpreter Lock to be sure threads don't mess us up
4335 // build the argument list
4336#ifdef PL_HAVE_PTHREAD
4337 px = PyArray_SimpleNewFromData( 1, &nn, NPY_PLFLT, (void *) x );
4338 py = PyArray_SimpleNewFromData( 1, &nn, NPY_PLFLT, (void *) y );
4339#else
4340 px = PyArray_FromDimsAndData( 1, &n, NPY_PLFLT, (char *) x );
4341 py = PyArray_FromDimsAndData( 1, &n, NPY_PLFLT, (char *) y );
4342#endif
4343 arglist = Py_BuildValue( "(iOO)", n, px, py );
4344 // call the python function
4345 result = PyObject_CallObject( python_mapform, arglist );
4346 // release the argument list
4347 Py_CLEAR( arglist );
4348 Py_CLEAR( px );
4349 Py_CLEAR( py );
4350 // check and unpack the result
4351 if ( result == NULL )
4352 {
4353 fprintf( stderr, "call to python mapform function with 3 arguments failed\n" );
4354 PyErr_SetString( PyExc_RuntimeError, "mapform callback must take 3 arguments." );
4355 }
4356 // release the result
4357 Py_CLEAR( result );
4358 // release the global interpreter lock
4360 }
4361 }
4362
4363// marshal the pltr function pointer argument
4364 pltr_func marshal_pltr( PyObject* input )
4365 {
4366 pltr_func result = do_pltr_callback;
4367 PyObject * rep = PyObject_Repr( input );
4368 if ( rep )
4369 {
4370 // Memory leaks here? str and uni_str are not freed?
4371 char* str;
4372 if ( PyUnicode_Check( rep ) )
4373 {
4374 PyObject *uni_str = PyUnicode_AsEncodedString( rep, "utf-8", "Error ~" );
4375 str = PyBytes_AS_STRING( uni_str );
4376 }
4377 else
4378 {
4379 str = PyString_AsString( rep );
4380 }
4381 if ( strstr( str, "function pltr0" ) != 0 )
4382 {
4383 result = pltr0;
4384 pltr_type = CB_0;
4385 python_pltr = NULL;
4386 }
4387 else if ( strstr( str, "function pltr1" ) != 0 )
4388 {
4389 result = pltr1;
4390 pltr_type = CB_1;
4391 python_pltr = NULL;
4392 }
4393 else if ( strstr( str, "function pltr2" ) != 0 )
4394 {
4395 result = pltr2;
4396 pltr_type = CB_2;
4397 python_pltr = NULL;
4398 }
4399 else
4400 {
4401 python_pltr = input;
4403 Py_XINCREF( input );
4404 }
4405 Py_CLEAR( rep );
4406 }
4407 else
4408 {
4409 python_pltr = input;
4411 Py_XINCREF( input );
4412 }
4413 return result;
4414 }
4415
4416 void cleanup_pltr( void )
4417 {
4418 Py_CLEAR( python_pltr );
4419 python_pltr = 0;
4420 }
4421
4422// marshal the ct function pointer argument
4423 ct_func marshal_ct( PyObject* input )
4424 {
4425 ct_func result = do_ct_callback;
4426 python_ct = input;
4427 Py_XINCREF( input );
4428 return result;
4429 }
4430
4431 void cleanup_ct( void )
4432 {
4433 Py_CLEAR( python_ct );
4434 python_ct = 0;
4435 }
4436
4437// marshal the mapform function pointer argument
4439 {
4441 python_mapform = input;
4442 Py_XINCREF( input );
4443 return result;
4444 }
4445
4446 void cleanup_mapform( void )
4447 {
4448 Py_CLEAR( python_mapform );
4449 python_mapform = 0;
4450 }
4451
4452 PLPointer marshal_PLPointer( PyObject* input, int isimg )
4453 {
4454 PLPointer result = NULL;
4455 switch ( pltr_type )
4456 {
4457 case CB_0:
4458 break;
4459 case CB_1:
4460 if ( input != Py_None )
4461 result = marshal_PLcGrid1( input, isimg );
4462 break;
4463 case CB_2:
4464 if ( input != Py_None )
4465 result = marshal_PLcGrid2( input, isimg );
4466 break;
4467 case CB_Python:
4468 Py_XINCREF( input );
4469 result = (PLPointer *) input;
4470 break;
4471 default:
4472 fprintf( stderr, "pltr_type is invalid\n" );
4473 }
4474 return result;
4475 }
4476
4478 {
4479 switch ( pltr_type )
4480 {
4481 case CB_0:
4482 break;
4483 case CB_1:
4485 break;
4486 case CB_2:
4488 break;
4489 case CB_Python:
4490 Py_CLEAR( python_pltr );
4491 break;
4492 default:
4493 fprintf( stderr, "pltr_type is invalid\n" );
4494 }
4495 python_pltr = 0;
4496 pltr_type = CB_0;
4497 }
4498
4499
4500
4501SWIGINTERN PyObject *_wrap_PLGraphicsIn_type_set(PyObject *self, PyObject *args) {
4502 PyObject *resultobj = 0;
4503 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4504 int arg2 ;
4505 void *argp1 = 0 ;
4506 int res1 = 0 ;
4507 int val2 ;
4508 int ecode2 = 0 ;
4509 PyObject *swig_obj[2] ;
4510
4511 (void)self;
4512 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_type_set", 2, 2, swig_obj)) SWIG_fail;
4513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4514 if (!SWIG_IsOK(res1)) {
4515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_type_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4516 }
4517 arg1 = (PLGraphicsIn *)(argp1);
4518 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4519 if (!SWIG_IsOK(ecode2)) {
4520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_type_set" "', argument " "2"" of type '" "int""'");
4521 }
4522 arg2 = (int)(val2);
4523 if (arg1) (arg1)->type = arg2;
4524 resultobj = SWIG_Py_Void();
4525 return resultobj;
4526fail:
4527 return NULL;
4528}
4529
4530
4531SWIGINTERN PyObject *_wrap_PLGraphicsIn_type_get(PyObject *self, PyObject *args) {
4532 PyObject *resultobj = 0;
4533 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4534 void *argp1 = 0 ;
4535 int res1 = 0 ;
4536 PyObject *swig_obj[1] ;
4537 int result;
4538
4539 (void)self;
4540 if (!args) SWIG_fail;
4541 swig_obj[0] = args;
4542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4543 if (!SWIG_IsOK(res1)) {
4544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_type_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4545 }
4546 arg1 = (PLGraphicsIn *)(argp1);
4547 result = (int) ((arg1)->type);
4548 resultobj = SWIG_From_int((int)(result));
4549 return resultobj;
4550fail:
4551 return NULL;
4552}
4553
4554
4555SWIGINTERN PyObject *_wrap_PLGraphicsIn_state_set(PyObject *self, PyObject *args) {
4556 PyObject *resultobj = 0;
4557 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4558 unsigned int arg2 ;
4559 void *argp1 = 0 ;
4560 int res1 = 0 ;
4561 unsigned int val2 ;
4562 int ecode2 = 0 ;
4563 PyObject *swig_obj[2] ;
4564
4565 (void)self;
4566 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_state_set", 2, 2, swig_obj)) SWIG_fail;
4567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4568 if (!SWIG_IsOK(res1)) {
4569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_state_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4570 }
4571 arg1 = (PLGraphicsIn *)(argp1);
4572 ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
4573 if (!SWIG_IsOK(ecode2)) {
4574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_state_set" "', argument " "2"" of type '" "unsigned int""'");
4575 }
4576 arg2 = (unsigned int)(val2);
4577 if (arg1) (arg1)->state = arg2;
4578 resultobj = SWIG_Py_Void();
4579 return resultobj;
4580fail:
4581 return NULL;
4582}
4583
4584
4585SWIGINTERN PyObject *_wrap_PLGraphicsIn_state_get(PyObject *self, PyObject *args) {
4586 PyObject *resultobj = 0;
4587 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4588 void *argp1 = 0 ;
4589 int res1 = 0 ;
4590 PyObject *swig_obj[1] ;
4591 unsigned int result;
4592
4593 (void)self;
4594 if (!args) SWIG_fail;
4595 swig_obj[0] = args;
4596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4597 if (!SWIG_IsOK(res1)) {
4598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_state_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4599 }
4600 arg1 = (PLGraphicsIn *)(argp1);
4601 result = (unsigned int) ((arg1)->state);
4602 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4603 return resultobj;
4604fail:
4605 return NULL;
4606}
4607
4608
4609SWIGINTERN PyObject *_wrap_PLGraphicsIn_keysym_set(PyObject *self, PyObject *args) {
4610 PyObject *resultobj = 0;
4611 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4612 unsigned int arg2 ;
4613 void *argp1 = 0 ;
4614 int res1 = 0 ;
4615 unsigned int val2 ;
4616 int ecode2 = 0 ;
4617 PyObject *swig_obj[2] ;
4618
4619 (void)self;
4620 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_keysym_set", 2, 2, swig_obj)) SWIG_fail;
4621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4622 if (!SWIG_IsOK(res1)) {
4623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_keysym_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4624 }
4625 arg1 = (PLGraphicsIn *)(argp1);
4626 ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
4627 if (!SWIG_IsOK(ecode2)) {
4628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_keysym_set" "', argument " "2"" of type '" "unsigned int""'");
4629 }
4630 arg2 = (unsigned int)(val2);
4631 if (arg1) (arg1)->keysym = arg2;
4632 resultobj = SWIG_Py_Void();
4633 return resultobj;
4634fail:
4635 return NULL;
4636}
4637
4638
4639SWIGINTERN PyObject *_wrap_PLGraphicsIn_keysym_get(PyObject *self, PyObject *args) {
4640 PyObject *resultobj = 0;
4641 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4642 void *argp1 = 0 ;
4643 int res1 = 0 ;
4644 PyObject *swig_obj[1] ;
4645 unsigned int result;
4646
4647 (void)self;
4648 if (!args) SWIG_fail;
4649 swig_obj[0] = args;
4650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4651 if (!SWIG_IsOK(res1)) {
4652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_keysym_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4653 }
4654 arg1 = (PLGraphicsIn *)(argp1);
4655 result = (unsigned int) ((arg1)->keysym);
4656 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4657 return resultobj;
4658fail:
4659 return NULL;
4660}
4661
4662
4663SWIGINTERN PyObject *_wrap_PLGraphicsIn_button_set(PyObject *self, PyObject *args) {
4664 PyObject *resultobj = 0;
4665 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4666 unsigned int arg2 ;
4667 void *argp1 = 0 ;
4668 int res1 = 0 ;
4669 unsigned int val2 ;
4670 int ecode2 = 0 ;
4671 PyObject *swig_obj[2] ;
4672
4673 (void)self;
4674 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_button_set", 2, 2, swig_obj)) SWIG_fail;
4675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4676 if (!SWIG_IsOK(res1)) {
4677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_button_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4678 }
4679 arg1 = (PLGraphicsIn *)(argp1);
4680 ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
4681 if (!SWIG_IsOK(ecode2)) {
4682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_button_set" "', argument " "2"" of type '" "unsigned int""'");
4683 }
4684 arg2 = (unsigned int)(val2);
4685 if (arg1) (arg1)->button = arg2;
4686 resultobj = SWIG_Py_Void();
4687 return resultobj;
4688fail:
4689 return NULL;
4690}
4691
4692
4693SWIGINTERN PyObject *_wrap_PLGraphicsIn_button_get(PyObject *self, PyObject *args) {
4694 PyObject *resultobj = 0;
4695 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4696 void *argp1 = 0 ;
4697 int res1 = 0 ;
4698 PyObject *swig_obj[1] ;
4699 unsigned int result;
4700
4701 (void)self;
4702 if (!args) SWIG_fail;
4703 swig_obj[0] = args;
4704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4705 if (!SWIG_IsOK(res1)) {
4706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_button_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4707 }
4708 arg1 = (PLGraphicsIn *)(argp1);
4709 result = (unsigned int) ((arg1)->button);
4710 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4711 return resultobj;
4712fail:
4713 return NULL;
4714}
4715
4716
4717SWIGINTERN PyObject *_wrap_PLGraphicsIn_subwindow_set(PyObject *self, PyObject *args) {
4718 PyObject *resultobj = 0;
4719 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4720 PLINT arg2 ;
4721 void *argp1 = 0 ;
4722 int res1 = 0 ;
4723 int val2 ;
4724 int ecode2 = 0 ;
4725 PyObject *swig_obj[2] ;
4726
4727 (void)self;
4728 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_subwindow_set", 2, 2, swig_obj)) SWIG_fail;
4729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4730 if (!SWIG_IsOK(res1)) {
4731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_subwindow_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4732 }
4733 arg1 = (PLGraphicsIn *)(argp1);
4734 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4735 if (!SWIG_IsOK(ecode2)) {
4736 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_subwindow_set" "', argument " "2"" of type '" "PLINT""'");
4737 }
4738 arg2 = (PLINT)(val2);
4739 if (arg1) (arg1)->subwindow = arg2;
4740 resultobj = SWIG_Py_Void();
4741 return resultobj;
4742fail:
4743 return NULL;
4744}
4745
4746
4747SWIGINTERN PyObject *_wrap_PLGraphicsIn_subwindow_get(PyObject *self, PyObject *args) {
4748 PyObject *resultobj = 0;
4749 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4750 void *argp1 = 0 ;
4751 int res1 = 0 ;
4752 PyObject *swig_obj[1] ;
4753 PLINT result;
4754
4755 (void)self;
4756 if (!args) SWIG_fail;
4757 swig_obj[0] = args;
4758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4759 if (!SWIG_IsOK(res1)) {
4760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_subwindow_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4761 }
4762 arg1 = (PLGraphicsIn *)(argp1);
4763 result = (PLINT) ((arg1)->subwindow);
4764 resultobj = SWIG_From_int((int)(result));
4765 return resultobj;
4766fail:
4767 return NULL;
4768}
4769
4770
4771SWIGINTERN PyObject *_wrap_PLGraphicsIn_string_set(PyObject *self, PyObject *args) {
4772 PyObject *resultobj = 0;
4773 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4774 char *arg2 = (char *) (char *)0 ;
4775 void *argp1 = 0 ;
4776 int res1 = 0 ;
4777 char temp2[16] ;
4778 int res2 ;
4779 PyObject *swig_obj[2] ;
4780
4781 (void)self;
4782 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_string_set", 2, 2, swig_obj)) SWIG_fail;
4783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4784 if (!SWIG_IsOK(res1)) {
4785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_string_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4786 }
4787 arg1 = (PLGraphicsIn *)(argp1);
4788 res2 = SWIG_AsCharArray(swig_obj[1], temp2, 16);
4789 if (!SWIG_IsOK(res2)) {
4790 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PLGraphicsIn_string_set" "', argument " "2"" of type '" "char [16]""'");
4791 }
4792 arg2 = (char *)(temp2);
4793 if (arg2) memcpy(arg1->string,arg2,16*sizeof(char));
4794 else memset(arg1->string,0,16*sizeof(char));
4795 resultobj = SWIG_Py_Void();
4796 return resultobj;
4797fail:
4798 return NULL;
4799}
4800
4801
4802SWIGINTERN PyObject *_wrap_PLGraphicsIn_string_get(PyObject *self, PyObject *args) {
4803 PyObject *resultobj = 0;
4804 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4805 void *argp1 = 0 ;
4806 int res1 = 0 ;
4807 PyObject *swig_obj[1] ;
4808 char *result = 0 ;
4809
4810 (void)self;
4811 if (!args) SWIG_fail;
4812 swig_obj[0] = args;
4813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4814 if (!SWIG_IsOK(res1)) {
4815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_string_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4816 }
4817 arg1 = (PLGraphicsIn *)(argp1);
4818 result = (char *)(char *) ((arg1)->string);
4819 {
4820 size_t size = SWIG_strnlen(result, 16);
4821
4822
4823
4824 resultobj = SWIG_FromCharPtrAndSize(result, size);
4825 }
4826 return resultobj;
4827fail:
4828 return NULL;
4829}
4830
4831
4832SWIGINTERN PyObject *_wrap_PLGraphicsIn_pX_set(PyObject *self, PyObject *args) {
4833 PyObject *resultobj = 0;
4834 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4835 int arg2 ;
4836 void *argp1 = 0 ;
4837 int res1 = 0 ;
4838 int val2 ;
4839 int ecode2 = 0 ;
4840 PyObject *swig_obj[2] ;
4841
4842 (void)self;
4843 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_pX_set", 2, 2, swig_obj)) SWIG_fail;
4844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4845 if (!SWIG_IsOK(res1)) {
4846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pX_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4847 }
4848 arg1 = (PLGraphicsIn *)(argp1);
4849 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4850 if (!SWIG_IsOK(ecode2)) {
4851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_pX_set" "', argument " "2"" of type '" "int""'");
4852 }
4853 arg2 = (int)(val2);
4854 if (arg1) (arg1)->pX = arg2;
4855 resultobj = SWIG_Py_Void();
4856 return resultobj;
4857fail:
4858 return NULL;
4859}
4860
4861
4862SWIGINTERN PyObject *_wrap_PLGraphicsIn_pX_get(PyObject *self, PyObject *args) {
4863 PyObject *resultobj = 0;
4864 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4865 void *argp1 = 0 ;
4866 int res1 = 0 ;
4867 PyObject *swig_obj[1] ;
4868 int result;
4869
4870 (void)self;
4871 if (!args) SWIG_fail;
4872 swig_obj[0] = args;
4873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4874 if (!SWIG_IsOK(res1)) {
4875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pX_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4876 }
4877 arg1 = (PLGraphicsIn *)(argp1);
4878 result = (int) ((arg1)->pX);
4879 resultobj = SWIG_From_int((int)(result));
4880 return resultobj;
4881fail:
4882 return NULL;
4883}
4884
4885
4886SWIGINTERN PyObject *_wrap_PLGraphicsIn_pY_set(PyObject *self, PyObject *args) {
4887 PyObject *resultobj = 0;
4888 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4889 int arg2 ;
4890 void *argp1 = 0 ;
4891 int res1 = 0 ;
4892 int val2 ;
4893 int ecode2 = 0 ;
4894 PyObject *swig_obj[2] ;
4895
4896 (void)self;
4897 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_pY_set", 2, 2, swig_obj)) SWIG_fail;
4898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4899 if (!SWIG_IsOK(res1)) {
4900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pY_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4901 }
4902 arg1 = (PLGraphicsIn *)(argp1);
4903 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4904 if (!SWIG_IsOK(ecode2)) {
4905 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_pY_set" "', argument " "2"" of type '" "int""'");
4906 }
4907 arg2 = (int)(val2);
4908 if (arg1) (arg1)->pY = arg2;
4909 resultobj = SWIG_Py_Void();
4910 return resultobj;
4911fail:
4912 return NULL;
4913}
4914
4915
4916SWIGINTERN PyObject *_wrap_PLGraphicsIn_pY_get(PyObject *self, PyObject *args) {
4917 PyObject *resultobj = 0;
4918 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4919 void *argp1 = 0 ;
4920 int res1 = 0 ;
4921 PyObject *swig_obj[1] ;
4922 int result;
4923
4924 (void)self;
4925 if (!args) SWIG_fail;
4926 swig_obj[0] = args;
4927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4928 if (!SWIG_IsOK(res1)) {
4929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pY_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4930 }
4931 arg1 = (PLGraphicsIn *)(argp1);
4932 result = (int) ((arg1)->pY);
4933 resultobj = SWIG_From_int((int)(result));
4934 return resultobj;
4935fail:
4936 return NULL;
4937}
4938
4939
4940SWIGINTERN PyObject *_wrap_PLGraphicsIn_dX_set(PyObject *self, PyObject *args) {
4941 PyObject *resultobj = 0;
4942 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4943 PLFLT arg2 ;
4944 void *argp1 = 0 ;
4945 int res1 = 0 ;
4946 double val2 ;
4947 int ecode2 = 0 ;
4948 PyObject *swig_obj[2] ;
4949
4950 (void)self;
4951 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_dX_set", 2, 2, swig_obj)) SWIG_fail;
4952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4953 if (!SWIG_IsOK(res1)) {
4954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dX_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4955 }
4956 arg1 = (PLGraphicsIn *)(argp1);
4957 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
4958 if (!SWIG_IsOK(ecode2)) {
4959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_dX_set" "', argument " "2"" of type '" "PLFLT""'");
4960 }
4961 arg2 = (PLFLT)(val2);
4962 if (arg1) (arg1)->dX = arg2;
4963 resultobj = SWIG_Py_Void();
4964 return resultobj;
4965fail:
4966 return NULL;
4967}
4968
4969
4970SWIGINTERN PyObject *_wrap_PLGraphicsIn_dX_get(PyObject *self, PyObject *args) {
4971 PyObject *resultobj = 0;
4972 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4973 void *argp1 = 0 ;
4974 int res1 = 0 ;
4975 PyObject *swig_obj[1] ;
4976 PLFLT result;
4977
4978 (void)self;
4979 if (!args) SWIG_fail;
4980 swig_obj[0] = args;
4981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4982 if (!SWIG_IsOK(res1)) {
4983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dX_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4984 }
4985 arg1 = (PLGraphicsIn *)(argp1);
4986 result = (PLFLT) ((arg1)->dX);
4987 resultobj = SWIG_From_double((double)(result));
4988 return resultobj;
4989fail:
4990 return NULL;
4991}
4992
4993
4994SWIGINTERN PyObject *_wrap_PLGraphicsIn_dY_set(PyObject *self, PyObject *args) {
4995 PyObject *resultobj = 0;
4996 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
4997 PLFLT arg2 ;
4998 void *argp1 = 0 ;
4999 int res1 = 0 ;
5000 double val2 ;
5001 int ecode2 = 0 ;
5002 PyObject *swig_obj[2] ;
5003
5004 (void)self;
5005 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_dY_set", 2, 2, swig_obj)) SWIG_fail;
5006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5007 if (!SWIG_IsOK(res1)) {
5008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dY_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5009 }
5010 arg1 = (PLGraphicsIn *)(argp1);
5011 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5012 if (!SWIG_IsOK(ecode2)) {
5013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_dY_set" "', argument " "2"" of type '" "PLFLT""'");
5014 }
5015 arg2 = (PLFLT)(val2);
5016 if (arg1) (arg1)->dY = arg2;
5017 resultobj = SWIG_Py_Void();
5018 return resultobj;
5019fail:
5020 return NULL;
5021}
5022
5023
5024SWIGINTERN PyObject *_wrap_PLGraphicsIn_dY_get(PyObject *self, PyObject *args) {
5025 PyObject *resultobj = 0;
5026 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
5027 void *argp1 = 0 ;
5028 int res1 = 0 ;
5029 PyObject *swig_obj[1] ;
5030 PLFLT result;
5031
5032 (void)self;
5033 if (!args) SWIG_fail;
5034 swig_obj[0] = args;
5035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5036 if (!SWIG_IsOK(res1)) {
5037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dY_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5038 }
5039 arg1 = (PLGraphicsIn *)(argp1);
5040 result = (PLFLT) ((arg1)->dY);
5041 resultobj = SWIG_From_double((double)(result));
5042 return resultobj;
5043fail:
5044 return NULL;
5045}
5046
5047
5048SWIGINTERN PyObject *_wrap_PLGraphicsIn_wX_set(PyObject *self, PyObject *args) {
5049 PyObject *resultobj = 0;
5050 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
5051 PLFLT arg2 ;
5052 void *argp1 = 0 ;
5053 int res1 = 0 ;
5054 double val2 ;
5055 int ecode2 = 0 ;
5056 PyObject *swig_obj[2] ;
5057
5058 (void)self;
5059 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_wX_set", 2, 2, swig_obj)) SWIG_fail;
5060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5061 if (!SWIG_IsOK(res1)) {
5062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wX_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5063 }
5064 arg1 = (PLGraphicsIn *)(argp1);
5065 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5066 if (!SWIG_IsOK(ecode2)) {
5067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_wX_set" "', argument " "2"" of type '" "PLFLT""'");
5068 }
5069 arg2 = (PLFLT)(val2);
5070 if (arg1) (arg1)->wX = arg2;
5071 resultobj = SWIG_Py_Void();
5072 return resultobj;
5073fail:
5074 return NULL;
5075}
5076
5077
5078SWIGINTERN PyObject *_wrap_PLGraphicsIn_wX_get(PyObject *self, PyObject *args) {
5079 PyObject *resultobj = 0;
5080 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
5081 void *argp1 = 0 ;
5082 int res1 = 0 ;
5083 PyObject *swig_obj[1] ;
5084 PLFLT result;
5085
5086 (void)self;
5087 if (!args) SWIG_fail;
5088 swig_obj[0] = args;
5089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5090 if (!SWIG_IsOK(res1)) {
5091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wX_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5092 }
5093 arg1 = (PLGraphicsIn *)(argp1);
5094 result = (PLFLT) ((arg1)->wX);
5095 resultobj = SWIG_From_double((double)(result));
5096 return resultobj;
5097fail:
5098 return NULL;
5099}
5100
5101
5102SWIGINTERN PyObject *_wrap_PLGraphicsIn_wY_set(PyObject *self, PyObject *args) {
5103 PyObject *resultobj = 0;
5104 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
5105 PLFLT arg2 ;
5106 void *argp1 = 0 ;
5107 int res1 = 0 ;
5108 double val2 ;
5109 int ecode2 = 0 ;
5110 PyObject *swig_obj[2] ;
5111
5112 (void)self;
5113 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_wY_set", 2, 2, swig_obj)) SWIG_fail;
5114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5115 if (!SWIG_IsOK(res1)) {
5116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wY_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5117 }
5118 arg1 = (PLGraphicsIn *)(argp1);
5119 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5120 if (!SWIG_IsOK(ecode2)) {
5121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_wY_set" "', argument " "2"" of type '" "PLFLT""'");
5122 }
5123 arg2 = (PLFLT)(val2);
5124 if (arg1) (arg1)->wY = arg2;
5125 resultobj = SWIG_Py_Void();
5126 return resultobj;
5127fail:
5128 return NULL;
5129}
5130
5131
5132SWIGINTERN PyObject *_wrap_PLGraphicsIn_wY_get(PyObject *self, PyObject *args) {
5133 PyObject *resultobj = 0;
5134 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
5135 void *argp1 = 0 ;
5136 int res1 = 0 ;
5137 PyObject *swig_obj[1] ;
5138 PLFLT result;
5139
5140 (void)self;
5141 if (!args) SWIG_fail;
5142 swig_obj[0] = args;
5143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5144 if (!SWIG_IsOK(res1)) {
5145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wY_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5146 }
5147 arg1 = (PLGraphicsIn *)(argp1);
5148 result = (PLFLT) ((arg1)->wY);
5149 resultobj = SWIG_From_double((double)(result));
5150 return resultobj;
5151fail:
5152 return NULL;
5153}
5154
5155
5156SWIGINTERN PyObject *_wrap_new_PLGraphicsIn(PyObject *self, PyObject *args) {
5157 PyObject *resultobj = 0;
5158 PLGraphicsIn *result = 0 ;
5159
5160 (void)self;
5161 if (!SWIG_Python_UnpackTuple(args, "new_PLGraphicsIn", 0, 0, 0)) SWIG_fail;
5162 result = (PLGraphicsIn *)calloc(1, sizeof(PLGraphicsIn));
5164 return resultobj;
5165fail:
5166 return NULL;
5167}
5168
5169
5170SWIGINTERN PyObject *_wrap_delete_PLGraphicsIn(PyObject *self, PyObject *args) {
5171 PyObject *resultobj = 0;
5172 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
5173 void *argp1 = 0 ;
5174 int res1 = 0 ;
5175 PyObject *swig_obj[1] ;
5176
5177 (void)self;
5178 if (!args) SWIG_fail;
5179 swig_obj[0] = args;
5180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, SWIG_POINTER_DISOWN | 0 );
5181 if (!SWIG_IsOK(res1)) {
5182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PLGraphicsIn" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5183 }
5184 arg1 = (PLGraphicsIn *)(argp1);
5185 free((char *) arg1);
5186 resultobj = SWIG_Py_Void();
5187 return resultobj;
5188fail:
5189 return NULL;
5190}
5191
5192
5193SWIGINTERN PyObject *PLGraphicsIn_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5194 PyObject *obj = NULL;
5195 if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
5197 return SWIG_Py_Void();
5198}
5199
5200SWIGINTERN PyObject *PLGraphicsIn_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5201 return SWIG_Python_InitShadowInstance(args);
5202}
5203
5204SWIGINTERN PyObject *_wrap_plsxwin(PyObject *self, PyObject *args) {
5205 PyObject *resultobj = 0;
5206 PLINT arg1 ;
5207 int val1 ;
5208 int ecode1 = 0 ;
5209 PyObject *swig_obj[1] ;
5210
5211 (void)self;
5212 if (!args) SWIG_fail;
5213 swig_obj[0] = args;
5214 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
5215 if (!SWIG_IsOK(ecode1)) {
5216 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsxwin" "', argument " "1"" of type '" "PLINT""'");
5217 }
5218 arg1 = (PLINT)(val1);
5219 plsxwin(arg1);
5220 resultobj = SWIG_Py_Void();
5221 return resultobj;
5222fail:
5223 return NULL;
5224}
5225
5226
5227SWIGINTERN PyObject *_wrap_pl_setcontlabelformat(PyObject *self, PyObject *args) {
5228 PyObject *resultobj = 0;
5229 PLINT arg1 ;
5230 PLINT arg2 ;
5231 int val1 ;
5232 int ecode1 = 0 ;
5233 int val2 ;
5234 int ecode2 = 0 ;
5235 PyObject *swig_obj[2] ;
5236
5237 (void)self;
5238 if (!SWIG_Python_UnpackTuple(args, "pl_setcontlabelformat", 2, 2, swig_obj)) SWIG_fail;
5239 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
5240 if (!SWIG_IsOK(ecode1)) {
5241 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pl_setcontlabelformat" "', argument " "1"" of type '" "PLINT""'");
5242 }
5243 arg1 = (PLINT)(val1);
5244 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
5245 if (!SWIG_IsOK(ecode2)) {
5246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pl_setcontlabelformat" "', argument " "2"" of type '" "PLINT""'");
5247 }
5248 arg2 = (PLINT)(val2);
5249 pl_setcontlabelformat(arg1,arg2);
5250 resultobj = SWIG_Py_Void();
5251 return resultobj;
5252fail:
5253 return NULL;
5254}
5255
5256
5257SWIGINTERN PyObject *_wrap_pl_setcontlabelparam(PyObject *self, PyObject *args) {
5258 PyObject *resultobj = 0;
5259 PLFLT arg1 ;
5260 PLFLT arg2 ;
5261 PLFLT arg3 ;
5262 PLINT arg4 ;
5263 double val1 ;
5264 int ecode1 = 0 ;
5265 double val2 ;
5266 int ecode2 = 0 ;
5267 double val3 ;
5268 int ecode3 = 0 ;
5269 int val4 ;
5270 int ecode4 = 0 ;
5271 PyObject *swig_obj[4] ;
5272
5273 (void)self;
5274 if (!SWIG_Python_UnpackTuple(args, "pl_setcontlabelparam", 4, 4, swig_obj)) SWIG_fail;
5275 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
5276 if (!SWIG_IsOK(ecode1)) {
5277 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pl_setcontlabelparam" "', argument " "1"" of type '" "PLFLT""'");
5278 }
5279 arg1 = (PLFLT)(val1);
5280 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5281 if (!SWIG_IsOK(ecode2)) {
5282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pl_setcontlabelparam" "', argument " "2"" of type '" "PLFLT""'");
5283 }
5284 arg2 = (PLFLT)(val2);
5285 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
5286 if (!SWIG_IsOK(ecode3)) {
5287 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pl_setcontlabelparam" "', argument " "3"" of type '" "PLFLT""'");
5288 }
5289 arg3 = (PLFLT)(val3);
5290 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
5291 if (!SWIG_IsOK(ecode4)) {
5292 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pl_setcontlabelparam" "', argument " "4"" of type '" "PLINT""'");
5293 }
5294 arg4 = (PLINT)(val4);
5295 pl_setcontlabelparam(arg1,arg2,arg3,arg4);
5296 resultobj = SWIG_Py_Void();
5297 return resultobj;
5298fail:
5299 return NULL;
5300}
5301
5302
5303SWIGINTERN PyObject *_wrap_pladv(PyObject *self, PyObject *args) {
5304 PyObject *resultobj = 0;
5305 PLINT arg1 ;
5306 int val1 ;
5307 int ecode1 = 0 ;
5308 PyObject *swig_obj[1] ;
5309
5310 (void)self;
5311 if (!args) SWIG_fail;
5312 swig_obj[0] = args;
5313 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
5314 if (!SWIG_IsOK(ecode1)) {
5315 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pladv" "', argument " "1"" of type '" "PLINT""'");
5316 }
5317 arg1 = (PLINT)(val1);
5318 pladv(arg1);
5319 resultobj = SWIG_Py_Void();
5320 return resultobj;
5321fail:
5322 return NULL;
5323}
5324
5325
5326SWIGINTERN PyObject *_wrap_plarc(PyObject *self, PyObject *args) {
5327 PyObject *resultobj = 0;
5328 PLFLT arg1 ;
5329 PLFLT arg2 ;
5330 PLFLT arg3 ;
5331 PLFLT arg4 ;
5332 PLFLT arg5 ;
5333 PLFLT arg6 ;
5334 PLFLT arg7 ;
5335 PLBOOL arg8 ;
5336 double val1 ;
5337 int ecode1 = 0 ;
5338 double val2 ;
5339 int ecode2 = 0 ;
5340 double val3 ;
5341 int ecode3 = 0 ;
5342 double val4 ;
5343 int ecode4 = 0 ;
5344 double val5 ;
5345 int ecode5 = 0 ;
5346 double val6 ;
5347 int ecode6 = 0 ;
5348 double val7 ;
5349 int ecode7 = 0 ;
5350 int val8 ;
5351 int ecode8 = 0 ;
5352 PyObject *swig_obj[8] ;
5353
5354 (void)self;
5355 if (!SWIG_Python_UnpackTuple(args, "plarc", 8, 8, swig_obj)) SWIG_fail;
5356 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
5357 if (!SWIG_IsOK(ecode1)) {
5358 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plarc" "', argument " "1"" of type '" "PLFLT""'");
5359 }
5360 arg1 = (PLFLT)(val1);
5361 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5362 if (!SWIG_IsOK(ecode2)) {
5363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plarc" "', argument " "2"" of type '" "PLFLT""'");
5364 }
5365 arg2 = (PLFLT)(val2);
5366 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
5367 if (!SWIG_IsOK(ecode3)) {
5368 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plarc" "', argument " "3"" of type '" "PLFLT""'");
5369 }
5370 arg3 = (PLFLT)(val3);
5371 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
5372 if (!SWIG_IsOK(ecode4)) {
5373 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plarc" "', argument " "4"" of type '" "PLFLT""'");
5374 }
5375 arg4 = (PLFLT)(val4);
5376 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
5377 if (!SWIG_IsOK(ecode5)) {
5378 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plarc" "', argument " "5"" of type '" "PLFLT""'");
5379 }
5380 arg5 = (PLFLT)(val5);
5381 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
5382 if (!SWIG_IsOK(ecode6)) {
5383 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plarc" "', argument " "6"" of type '" "PLFLT""'");
5384 }
5385 arg6 = (PLFLT)(val6);
5386 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
5387 if (!SWIG_IsOK(ecode7)) {
5388 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plarc" "', argument " "7"" of type '" "PLFLT""'");
5389 }
5390 arg7 = (PLFLT)(val7);
5391 ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
5392 if (!SWIG_IsOK(ecode8)) {
5393 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plarc" "', argument " "8"" of type '" "PLBOOL""'");
5394 }
5395 arg8 = (PLBOOL)(val8);
5396 plarc(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5397 resultobj = SWIG_Py_Void();
5398 return resultobj;
5399fail:
5400 return NULL;
5401}
5402
5403
5404SWIGINTERN PyObject *_wrap_plaxes(PyObject *self, PyObject *args) {
5405 PyObject *resultobj = 0;
5406 PLFLT arg1 ;
5407 PLFLT arg2 ;
5408 char *arg3 = (char *) 0 ;
5409 PLFLT arg4 ;
5410 PLINT arg5 ;
5411 char *arg6 = (char *) 0 ;
5412 PLFLT arg7 ;
5413 PLINT arg8 ;
5414 double val1 ;
5415 int ecode1 = 0 ;
5416 double val2 ;
5417 int ecode2 = 0 ;
5418 int res3 ;
5419 char *buf3 = 0 ;
5420 int alloc3 = 0 ;
5421 double val4 ;
5422 int ecode4 = 0 ;
5423 int val5 ;
5424 int ecode5 = 0 ;
5425 int res6 ;
5426 char *buf6 = 0 ;
5427 int alloc6 = 0 ;
5428 double val7 ;
5429 int ecode7 = 0 ;
5430 int val8 ;
5431 int ecode8 = 0 ;
5432 PyObject *swig_obj[8] ;
5433
5434 (void)self;
5435 if (!SWIG_Python_UnpackTuple(args, "plaxes", 8, 8, swig_obj)) SWIG_fail;
5436 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
5437 if (!SWIG_IsOK(ecode1)) {
5438 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plaxes" "', argument " "1"" of type '" "PLFLT""'");
5439 }
5440 arg1 = (PLFLT)(val1);
5441 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5442 if (!SWIG_IsOK(ecode2)) {
5443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plaxes" "', argument " "2"" of type '" "PLFLT""'");
5444 }
5445 arg2 = (PLFLT)(val2);
5446 res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
5447 if (!SWIG_IsOK(res3)) {
5448 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "plaxes" "', argument " "3"" of type '" "char const *""'");
5449 }
5450 arg3 = (char *)(buf3);
5451 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
5452 if (!SWIG_IsOK(ecode4)) {
5453 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plaxes" "', argument " "4"" of type '" "PLFLT""'");
5454 }
5455 arg4 = (PLFLT)(val4);
5456 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
5457 if (!SWIG_IsOK(ecode5)) {
5458 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plaxes" "', argument " "5"" of type '" "PLINT""'");
5459 }
5460 arg5 = (PLINT)(val5);
5461 res6 = SWIG_AsCharPtrAndSize(swig_obj[5], &buf6, NULL, &alloc6);
5462 if (!SWIG_IsOK(res6)) {
5463 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plaxes" "', argument " "6"" of type '" "char const *""'");
5464 }
5465 arg6 = (char *)(buf6);
5466 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
5467 if (!SWIG_IsOK(ecode7)) {
5468 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plaxes" "', argument " "7"" of type '" "PLFLT""'");
5469 }
5470 arg7 = (PLFLT)(val7);
5471 ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
5472 if (!SWIG_IsOK(ecode8)) {
5473 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plaxes" "', argument " "8"" of type '" "PLINT""'");
5474 }
5475 arg8 = (PLINT)(val8);
5476 plaxes(arg1,arg2,(char const *)arg3,arg4,arg5,(char const *)arg6,arg7,arg8);
5477 resultobj = SWIG_Py_Void();
5478 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5479 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
5480 return resultobj;
5481fail:
5482 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5483 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
5484 return NULL;
5485}
5486
5487
5488SWIGINTERN PyObject *_wrap_plbin(PyObject *self, PyObject *args) {
5489 PyObject *resultobj = 0;
5490 PLINT arg1 ;
5491 PLFLT *arg2 = (PLFLT *) 0 ;
5492 PLFLT *arg3 = (PLFLT *) 0 ;
5493 PLINT arg4 ;
5494 PyArrayObject *tmp1 = NULL ;
5495 PyArrayObject *tmp3 = NULL ;
5496 int val4 ;
5497 int ecode4 = 0 ;
5498 PyObject *swig_obj[3] ;
5499
5500 (void)self;
5501 if (!SWIG_Python_UnpackTuple(args, "plbin", 3, 3, swig_obj)) SWIG_fail;
5502 {
5503 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
5504 if ( tmp1 == NULL )
5505 return NULL;
5506 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
5507 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
5508 }
5509 {
5510 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
5511 if ( tmp3 == NULL )
5512 return NULL;
5513 if ( PyArray_DIMS( tmp3 )[0] != Alen )
5514 {
5515 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
5516 return NULL;
5517 }
5518 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
5519 }
5520 ecode4 = SWIG_AsVal_int(swig_obj[2], &val4);
5521 if (!SWIG_IsOK(ecode4)) {
5522 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plbin" "', argument " "4"" of type '" "PLINT""'");
5523 }
5524 arg4 = (PLINT)(val4);
5525 plbin(arg1,(double const *)arg2,(double const *)arg3,arg4);
5526 resultobj = SWIG_Py_Void();
5527 {
5528 Py_CLEAR( tmp1 );
5529 }
5530 {
5531 Py_CLEAR( tmp3 );
5532 }
5533 return resultobj;
5534fail:
5535 {
5536 Py_CLEAR( tmp1 );
5537 }
5538 {
5539 Py_CLEAR( tmp3 );
5540 }
5541 return NULL;
5542}
5543
5544
5545SWIGINTERN PyObject *_wrap_plbtime(PyObject *self, PyObject *args) {
5546 PyObject *resultobj = 0;
5547 PLINT *arg1 = (PLINT *) 0 ;
5548 PLINT *arg2 = (PLINT *) 0 ;
5549 PLINT *arg3 = (PLINT *) 0 ;
5550 PLINT *arg4 = (PLINT *) 0 ;
5551 PLINT *arg5 = (PLINT *) 0 ;
5552 PLFLT *arg6 = (PLFLT *) 0 ;
5553 PLFLT arg7 ;
5554 PLINT temp1 ;
5555 int res1 = SWIG_TMPOBJ ;
5556 PLINT temp2 ;
5557 int res2 = SWIG_TMPOBJ ;
5558 PLINT temp3 ;
5559 int res3 = SWIG_TMPOBJ ;
5560 PLINT temp4 ;
5561 int res4 = SWIG_TMPOBJ ;
5562 PLINT temp5 ;
5563 int res5 = SWIG_TMPOBJ ;
5564 PLFLT temp6 ;
5565 int res6 = SWIG_TMPOBJ ;
5566 double val7 ;
5567 int ecode7 = 0 ;
5568 PyObject *swig_obj[1] ;
5569
5570 arg1 = &temp1;
5571 arg2 = &temp2;
5572 arg3 = &temp3;
5573 arg4 = &temp4;
5574 arg5 = &temp5;
5575 arg6 = &temp6;
5576 (void)self;
5577 if (!args) SWIG_fail;
5578 swig_obj[0] = args;
5579 ecode7 = SWIG_AsVal_double(swig_obj[0], &val7);
5580 if (!SWIG_IsOK(ecode7)) {
5581 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plbtime" "', argument " "7"" of type '" "PLFLT""'");
5582 }
5583 arg7 = (PLFLT)(val7);
5584 plbtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5585 resultobj = SWIG_Py_Void();
5586 if (SWIG_IsTmpObj(res1)) {
5587 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
5588 } else {
5589 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5590 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
5591 }
5592 if (SWIG_IsTmpObj(res2)) {
5593 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
5594 } else {
5595 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5596 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
5597 }
5598 if (SWIG_IsTmpObj(res3)) {
5599 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
5600 } else {
5601 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5602 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
5603 }
5604 if (SWIG_IsTmpObj(res4)) {
5605 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)), 1);
5606 } else {
5607 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5608 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags), 1);
5609 }
5610 if (SWIG_IsTmpObj(res5)) {
5611 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)), 1);
5612 } else {
5613 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5614 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags), 1);
5615 }
5616 if (SWIG_IsTmpObj(res6)) {
5617 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg6)), 1);
5618 } else {
5619 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5620 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags), 1);
5621 }
5622 return resultobj;
5623fail:
5624 return NULL;
5625}
5626
5627
5628SWIGINTERN PyObject *_wrap_plbop(PyObject *self, PyObject *args) {
5629 PyObject *resultobj = 0;
5630
5631 (void)self;
5632 if (!SWIG_Python_UnpackTuple(args, "plbop", 0, 0, 0)) SWIG_fail;
5633 plbop();
5634 resultobj = SWIG_Py_Void();
5635 return resultobj;
5636fail:
5637 return NULL;
5638}
5639
5640
5641SWIGINTERN PyObject *_wrap_plbox(PyObject *self, PyObject *args) {
5642 PyObject *resultobj = 0;
5643 char *arg1 = (char *) 0 ;
5644 PLFLT arg2 ;
5645 PLINT arg3 ;
5646 char *arg4 = (char *) 0 ;
5647 PLFLT arg5 ;
5648 PLINT arg6 ;
5649 int res1 ;
5650 char *buf1 = 0 ;
5651 int alloc1 = 0 ;
5652 double val2 ;
5653 int ecode2 = 0 ;
5654 int val3 ;
5655 int ecode3 = 0 ;
5656 int res4 ;
5657 char *buf4 = 0 ;
5658 int alloc4 = 0 ;
5659 double val5 ;
5660 int ecode5 = 0 ;
5661 int val6 ;
5662 int ecode6 = 0 ;
5663 PyObject *swig_obj[6] ;
5664
5665 (void)self;
5666 if (!SWIG_Python_UnpackTuple(args, "plbox", 6, 6, swig_obj)) SWIG_fail;
5667 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
5668 if (!SWIG_IsOK(res1)) {
5669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plbox" "', argument " "1"" of type '" "char const *""'");
5670 }
5671 arg1 = (char *)(buf1);
5672 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5673 if (!SWIG_IsOK(ecode2)) {
5674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plbox" "', argument " "2"" of type '" "PLFLT""'");
5675 }
5676 arg2 = (PLFLT)(val2);
5677 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
5678 if (!SWIG_IsOK(ecode3)) {
5679 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plbox" "', argument " "3"" of type '" "PLINT""'");
5680 }
5681 arg3 = (PLINT)(val3);
5682 res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
5683 if (!SWIG_IsOK(res4)) {
5684 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "plbox" "', argument " "4"" of type '" "char const *""'");
5685 }
5686 arg4 = (char *)(buf4);
5687 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
5688 if (!SWIG_IsOK(ecode5)) {
5689 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plbox" "', argument " "5"" of type '" "PLFLT""'");
5690 }
5691 arg5 = (PLFLT)(val5);
5692 ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
5693 if (!SWIG_IsOK(ecode6)) {
5694 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plbox" "', argument " "6"" of type '" "PLINT""'");
5695 }
5696 arg6 = (PLINT)(val6);
5697 plbox((char const *)arg1,arg2,arg3,(char const *)arg4,arg5,arg6);
5698 resultobj = SWIG_Py_Void();
5699 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
5700 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
5701 return resultobj;
5702fail:
5703 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
5704 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
5705 return NULL;
5706}
5707
5708
5709SWIGINTERN PyObject *_wrap_plbox3(PyObject *self, PyObject *args) {
5710 PyObject *resultobj = 0;
5711 char *arg1 = (char *) 0 ;
5712 char *arg2 = (char *) 0 ;
5713 PLFLT arg3 ;
5714 PLINT arg4 ;
5715 char *arg5 = (char *) 0 ;
5716 char *arg6 = (char *) 0 ;
5717 PLFLT arg7 ;
5718 PLINT arg8 ;
5719 char *arg9 = (char *) 0 ;
5720 char *arg10 = (char *) 0 ;
5721 PLFLT arg11 ;
5722 PLINT arg12 ;
5723 int res1 ;
5724 char *buf1 = 0 ;
5725 int alloc1 = 0 ;
5726 int res2 ;
5727 char *buf2 = 0 ;
5728 int alloc2 = 0 ;
5729 double val3 ;
5730 int ecode3 = 0 ;
5731 int val4 ;
5732 int ecode4 = 0 ;
5733 int res5 ;
5734 char *buf5 = 0 ;
5735 int alloc5 = 0 ;
5736 int res6 ;
5737 char *buf6 = 0 ;
5738 int alloc6 = 0 ;
5739 double val7 ;
5740 int ecode7 = 0 ;
5741 int val8 ;
5742 int ecode8 = 0 ;
5743 int res9 ;
5744 char *buf9 = 0 ;
5745 int alloc9 = 0 ;
5746 int res10 ;
5747 char *buf10 = 0 ;
5748 int alloc10 = 0 ;
5749 double val11 ;
5750 int ecode11 = 0 ;
5751 int val12 ;
5752 int ecode12 = 0 ;
5753 PyObject *swig_obj[12] ;
5754
5755 (void)self;
5756 if (!SWIG_Python_UnpackTuple(args, "plbox3", 12, 12, swig_obj)) SWIG_fail;
5757 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
5758 if (!SWIG_IsOK(res1)) {
5759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plbox3" "', argument " "1"" of type '" "char const *""'");
5760 }
5761 arg1 = (char *)(buf1);
5762 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
5763 if (!SWIG_IsOK(res2)) {
5764 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plbox3" "', argument " "2"" of type '" "char const *""'");
5765 }
5766 arg2 = (char *)(buf2);
5767 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
5768 if (!SWIG_IsOK(ecode3)) {
5769 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plbox3" "', argument " "3"" of type '" "PLFLT""'");
5770 }
5771 arg3 = (PLFLT)(val3);
5772 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
5773 if (!SWIG_IsOK(ecode4)) {
5774 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plbox3" "', argument " "4"" of type '" "PLINT""'");
5775 }
5776 arg4 = (PLINT)(val4);
5777 res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
5778 if (!SWIG_IsOK(res5)) {
5779 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plbox3" "', argument " "5"" of type '" "char const *""'");
5780 }
5781 arg5 = (char *)(buf5);
5782 res6 = SWIG_AsCharPtrAndSize(swig_obj[5], &buf6, NULL, &alloc6);
5783 if (!SWIG_IsOK(res6)) {
5784 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plbox3" "', argument " "6"" of type '" "char const *""'");
5785 }
5786 arg6 = (char *)(buf6);
5787 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
5788 if (!SWIG_IsOK(ecode7)) {
5789 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plbox3" "', argument " "7"" of type '" "PLFLT""'");
5790 }
5791 arg7 = (PLFLT)(val7);
5792 ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
5793 if (!SWIG_IsOK(ecode8)) {
5794 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plbox3" "', argument " "8"" of type '" "PLINT""'");
5795 }
5796 arg8 = (PLINT)(val8);
5797 res9 = SWIG_AsCharPtrAndSize(swig_obj[8], &buf9, NULL, &alloc9);
5798 if (!SWIG_IsOK(res9)) {
5799 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "plbox3" "', argument " "9"" of type '" "char const *""'");
5800 }
5801 arg9 = (char *)(buf9);
5802 res10 = SWIG_AsCharPtrAndSize(swig_obj[9], &buf10, NULL, &alloc10);
5803 if (!SWIG_IsOK(res10)) {
5804 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "plbox3" "', argument " "10"" of type '" "char const *""'");
5805 }
5806 arg10 = (char *)(buf10);
5807 ecode11 = SWIG_AsVal_double(swig_obj[10], &val11);
5808 if (!SWIG_IsOK(ecode11)) {
5809 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plbox3" "', argument " "11"" of type '" "PLFLT""'");
5810 }
5811 arg11 = (PLFLT)(val11);
5812 ecode12 = SWIG_AsVal_int(swig_obj[11], &val12);
5813 if (!SWIG_IsOK(ecode12)) {
5814 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plbox3" "', argument " "12"" of type '" "PLINT""'");
5815 }
5816 arg12 = (PLINT)(val12);
5817 plbox3((char const *)arg1,(char const *)arg2,arg3,arg4,(char const *)arg5,(char const *)arg6,arg7,arg8,(char const *)arg9,(char const *)arg10,arg11,arg12);
5818 resultobj = SWIG_Py_Void();
5819 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
5820 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5821 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
5822 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
5823 if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
5824 if (alloc10 == SWIG_NEWOBJ) free((char*)buf10);
5825 return resultobj;
5826fail:
5827 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
5828 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5829 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
5830 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
5831 if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
5832 if (alloc10 == SWIG_NEWOBJ) free((char*)buf10);
5833 return NULL;
5834}
5835
5836
5837SWIGINTERN PyObject *_wrap_plcalc_world(PyObject *self, PyObject *args) {
5838 PyObject *resultobj = 0;
5839 PLFLT arg1 ;
5840 PLFLT arg2 ;
5841 PLFLT *arg3 = (PLFLT *) 0 ;
5842 PLFLT *arg4 = (PLFLT *) 0 ;
5843 PLINT *arg5 = (PLINT *) 0 ;
5844 double val1 ;
5845 int ecode1 = 0 ;
5846 double val2 ;
5847 int ecode2 = 0 ;
5848 PLFLT temp3 ;
5849 int res3 = SWIG_TMPOBJ ;
5850 PLFLT temp4 ;
5851 int res4 = SWIG_TMPOBJ ;
5852 PLINT temp5 ;
5853 int res5 = SWIG_TMPOBJ ;
5854 PyObject *swig_obj[2] ;
5855
5856 arg3 = &temp3;
5857 arg4 = &temp4;
5858 arg5 = &temp5;
5859 (void)self;
5860 if (!SWIG_Python_UnpackTuple(args, "plcalc_world", 2, 2, swig_obj)) SWIG_fail;
5861 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
5862 if (!SWIG_IsOK(ecode1)) {
5863 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcalc_world" "', argument " "1"" of type '" "PLFLT""'");
5864 }
5865 arg1 = (PLFLT)(val1);
5866 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5867 if (!SWIG_IsOK(ecode2)) {
5868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plcalc_world" "', argument " "2"" of type '" "PLFLT""'");
5869 }
5870 arg2 = (PLFLT)(val2);
5871 plcalc_world(arg1,arg2,arg3,arg4,arg5);
5872 resultobj = SWIG_Py_Void();
5873 if (SWIG_IsTmpObj(res3)) {
5874 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
5875 } else {
5876 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5877 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
5878 }
5879 if (SWIG_IsTmpObj(res4)) {
5880 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
5881 } else {
5882 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5883 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
5884 }
5885 if (SWIG_IsTmpObj(res5)) {
5886 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)), 1);
5887 } else {
5888 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5889 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags), 1);
5890 }
5891 return resultobj;
5892fail:
5893 return NULL;
5894}
5895
5896
5897SWIGINTERN PyObject *_wrap_plclear(PyObject *self, PyObject *args) {
5898 PyObject *resultobj = 0;
5899
5900 (void)self;
5901 if (!SWIG_Python_UnpackTuple(args, "plclear", 0, 0, 0)) SWIG_fail;
5902 plclear();
5903 resultobj = SWIG_Py_Void();
5904 return resultobj;
5905fail:
5906 return NULL;
5907}
5908
5909
5910SWIGINTERN PyObject *_wrap_plcol0(PyObject *self, PyObject *args) {
5911 PyObject *resultobj = 0;
5912 PLINT arg1 ;
5913 int val1 ;
5914 int ecode1 = 0 ;
5915 PyObject *swig_obj[1] ;
5916
5917 (void)self;
5918 if (!args) SWIG_fail;
5919 swig_obj[0] = args;
5920 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
5921 if (!SWIG_IsOK(ecode1)) {
5922 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcol0" "', argument " "1"" of type '" "PLINT""'");
5923 }
5924 arg1 = (PLINT)(val1);
5925 plcol0(arg1);
5926 resultobj = SWIG_Py_Void();
5927 return resultobj;
5928fail:
5929 return NULL;
5930}
5931
5932
5933SWIGINTERN PyObject *_wrap_plcol1(PyObject *self, PyObject *args) {
5934 PyObject *resultobj = 0;
5935 PLFLT arg1 ;
5936 double val1 ;
5937 int ecode1 = 0 ;
5938 PyObject *swig_obj[1] ;
5939
5940 (void)self;
5941 if (!args) SWIG_fail;
5942 swig_obj[0] = args;
5943 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
5944 if (!SWIG_IsOK(ecode1)) {
5945 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcol1" "', argument " "1"" of type '" "PLFLT""'");
5946 }
5947 arg1 = (PLFLT)(val1);
5948 plcol1(arg1);
5949 resultobj = SWIG_Py_Void();
5950 return resultobj;
5951fail:
5952 return NULL;
5953}
5954
5955
5956SWIGINTERN PyObject *_wrap_plconfigtime(PyObject *self, PyObject *args) {
5957 PyObject *resultobj = 0;
5958 PLFLT arg1 ;
5959 PLFLT arg2 ;
5960 PLFLT arg3 ;
5961 PLINT arg4 ;
5962 PLBOOL arg5 ;
5963 PLINT arg6 ;
5964 PLINT arg7 ;
5965 PLINT arg8 ;
5966 PLINT arg9 ;
5967 PLINT arg10 ;
5968 PLFLT arg11 ;
5969 double val1 ;
5970 int ecode1 = 0 ;
5971 double val2 ;
5972 int ecode2 = 0 ;
5973 double val3 ;
5974 int ecode3 = 0 ;
5975 int val4 ;
5976 int ecode4 = 0 ;
5977 int val5 ;
5978 int ecode5 = 0 ;
5979 int val6 ;
5980 int ecode6 = 0 ;
5981 int val7 ;
5982 int ecode7 = 0 ;
5983 int val8 ;
5984 int ecode8 = 0 ;
5985 int val9 ;
5986 int ecode9 = 0 ;
5987 int val10 ;
5988 int ecode10 = 0 ;
5989 double val11 ;
5990 int ecode11 = 0 ;
5991 PyObject *swig_obj[11] ;
5992
5993 (void)self;
5994 if (!SWIG_Python_UnpackTuple(args, "plconfigtime", 11, 11, swig_obj)) SWIG_fail;
5995 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
5996 if (!SWIG_IsOK(ecode1)) {
5997 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plconfigtime" "', argument " "1"" of type '" "PLFLT""'");
5998 }
5999 arg1 = (PLFLT)(val1);
6000 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
6001 if (!SWIG_IsOK(ecode2)) {
6002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plconfigtime" "', argument " "2"" of type '" "PLFLT""'");
6003 }
6004 arg2 = (PLFLT)(val2);
6005 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
6006 if (!SWIG_IsOK(ecode3)) {
6007 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plconfigtime" "', argument " "3"" of type '" "PLFLT""'");
6008 }
6009 arg3 = (PLFLT)(val3);
6010 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
6011 if (!SWIG_IsOK(ecode4)) {
6012 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plconfigtime" "', argument " "4"" of type '" "PLINT""'");
6013 }
6014 arg4 = (PLINT)(val4);
6015 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
6016 if (!SWIG_IsOK(ecode5)) {
6017 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plconfigtime" "', argument " "5"" of type '" "PLBOOL""'");
6018 }
6019 arg5 = (PLBOOL)(val5);
6020 ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
6021 if (!SWIG_IsOK(ecode6)) {
6022 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plconfigtime" "', argument " "6"" of type '" "PLINT""'");
6023 }
6024 arg6 = (PLINT)(val6);
6025 ecode7 = SWIG_AsVal_int(swig_obj[6], &val7);
6026 if (!SWIG_IsOK(ecode7)) {
6027 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plconfigtime" "', argument " "7"" of type '" "PLINT""'");
6028 }
6029 arg7 = (PLINT)(val7);
6030 ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
6031 if (!SWIG_IsOK(ecode8)) {
6032 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plconfigtime" "', argument " "8"" of type '" "PLINT""'");
6033 }
6034 arg8 = (PLINT)(val8);
6035 ecode9 = SWIG_AsVal_int(swig_obj[8], &val9);
6036 if (!SWIG_IsOK(ecode9)) {
6037 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plconfigtime" "', argument " "9"" of type '" "PLINT""'");
6038 }
6039 arg9 = (PLINT)(val9);
6040 ecode10 = SWIG_AsVal_int(swig_obj[9], &val10);
6041 if (!SWIG_IsOK(ecode10)) {
6042 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plconfigtime" "', argument " "10"" of type '" "PLINT""'");
6043 }
6044 arg10 = (PLINT)(val10);
6045 ecode11 = SWIG_AsVal_double(swig_obj[10], &val11);
6046 if (!SWIG_IsOK(ecode11)) {
6047 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plconfigtime" "', argument " "11"" of type '" "PLFLT""'");
6048 }
6049 arg11 = (PLFLT)(val11);
6050 plconfigtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
6051 resultobj = SWIG_Py_Void();
6052 return resultobj;
6053fail:
6054 return NULL;
6055}
6056
6057
6058SWIGINTERN PyObject *_wrap_plcont(PyObject *self, PyObject *args) {
6059 PyObject *resultobj = 0;
6060 PLFLT **arg1 = (PLFLT **) 0 ;
6061 PLINT arg2 ;
6062 PLINT arg3 ;
6063 PLINT arg4 ;
6064 PLINT arg5 ;
6065 PLINT arg6 ;
6066 PLINT arg7 ;
6067 PLFLT *arg8 = (PLFLT *) 0 ;
6068 PLINT arg9 ;
6069 pltr_func arg10 = (pltr_func) 0 ;
6070 PLPointer arg11 = (PLPointer) 0 ;
6071 PyArrayObject *tmp1 = NULL ;
6072 int val4 ;
6073 int ecode4 = 0 ;
6074 int val5 ;
6075 int ecode5 = 0 ;
6076 int val6 ;
6077 int ecode6 = 0 ;
6078 int val7 ;
6079 int ecode7 = 0 ;
6080 PyArrayObject *tmp8 = NULL ;
6081 PyObject *swig_obj[8] ;
6082
6083 {
6084 python_pltr = 0;
6085 arg10 = NULL;
6086 }
6087 {
6088 arg11 = NULL;
6089 }
6090 (void)self;
6091 if (!SWIG_Python_UnpackTuple(args, "plcont", 6, 8, swig_obj)) SWIG_fail;
6092 {
6093 int i, size;
6094 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
6095 if ( tmp1 == NULL )
6096 return NULL;
6097 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
6098 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
6099 size = arg3;
6100 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
6101 for ( i = 0; i < arg2; i++ )
6102 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
6103 }
6104 ecode4 = SWIG_AsVal_int(swig_obj[1], &val4);
6105 if (!SWIG_IsOK(ecode4)) {
6106 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcont" "', argument " "4"" of type '" "PLINT""'");
6107 }
6108 arg4 = (PLINT)(val4);
6109 ecode5 = SWIG_AsVal_int(swig_obj[2], &val5);
6110 if (!SWIG_IsOK(ecode5)) {
6111 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcont" "', argument " "5"" of type '" "PLINT""'");
6112 }
6113 arg5 = (PLINT)(val5);
6114 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
6115 if (!SWIG_IsOK(ecode6)) {
6116 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcont" "', argument " "6"" of type '" "PLINT""'");
6117 }
6118 arg6 = (PLINT)(val6);
6119 ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
6120 if (!SWIG_IsOK(ecode7)) {
6121 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcont" "', argument " "7"" of type '" "PLINT""'");
6122 }
6123 arg7 = (PLINT)(val7);
6124 {
6125 tmp8 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[5], NPY_PLFLT, 1, 1 );
6126 if ( tmp8 == NULL )
6127 return NULL;
6128 arg9 = PyArray_DIMS( tmp8 )[0];
6129 arg8 = (PLFLT *) PyArray_DATA( tmp8 );
6130 }
6131 if (swig_obj[6]) {
6132 {
6133 // it must be a callable or None
6134 if ( swig_obj[6] == Py_None )
6135 {
6136 arg10 = NULL;
6137 }
6138 else
6139 {
6140 if ( !PyCallable_Check( (PyObject *) swig_obj[6] ) )
6141 {
6142 PyErr_SetString( PyExc_ValueError, "pltr argument must be callable" );
6143 return NULL;
6144 }
6145 arg10 = marshal_pltr( swig_obj[6] );
6146 }
6147 }
6148 }
6149 if (swig_obj[7]) {
6150 {
6151 if ( swig_obj[7] == Py_None )
6152 arg11 = NULL;
6153 else
6154 {
6155 arg11 = marshal_PLPointer( swig_obj[7], 0 );
6156 }
6157 }
6158 }
6159 plcont((double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,arg10,arg11);
6160 resultobj = SWIG_Py_Void();
6161 {
6162 Py_CLEAR( tmp1 );
6163 free( arg1 );
6164 }
6165 {
6166 Py_CLEAR( tmp8 );
6167 }
6168 {
6169 cleanup_pltr();
6170 }
6171 {
6173 }
6174 return resultobj;
6175fail:
6176 {
6177 Py_CLEAR( tmp1 );
6178 free( arg1 );
6179 }
6180 {
6181 Py_CLEAR( tmp8 );
6182 }
6183 {
6184 cleanup_pltr();
6185 }
6186 {
6188 }
6189 return NULL;
6190}
6191
6192
6193SWIGINTERN PyObject *_wrap_plctime(PyObject *self, PyObject *args) {
6194 PyObject *resultobj = 0;
6195 PLINT arg1 ;
6196 PLINT arg2 ;
6197 PLINT arg3 ;
6198 PLINT arg4 ;
6199 PLINT arg5 ;
6200 PLFLT arg6 ;
6201 PLFLT *arg7 = (PLFLT *) 0 ;
6202 int val1 ;
6203 int ecode1 = 0 ;
6204 int val2 ;
6205 int ecode2 = 0 ;
6206 int val3 ;
6207 int ecode3 = 0 ;
6208 int val4 ;
6209 int ecode4 = 0 ;
6210 int val5 ;
6211 int ecode5 = 0 ;
6212 double val6 ;
6213 int ecode6 = 0 ;
6214 PLFLT temp7 ;
6215 int res7 = SWIG_TMPOBJ ;
6216 PyObject *swig_obj[6] ;
6217
6218 arg7 = &temp7;
6219 (void)self;
6220 if (!SWIG_Python_UnpackTuple(args, "plctime", 6, 6, swig_obj)) SWIG_fail;
6221 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
6222 if (!SWIG_IsOK(ecode1)) {
6223 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plctime" "', argument " "1"" of type '" "PLINT""'");
6224 }
6225 arg1 = (PLINT)(val1);
6226 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6227 if (!SWIG_IsOK(ecode2)) {
6228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plctime" "', argument " "2"" of type '" "PLINT""'");
6229 }
6230 arg2 = (PLINT)(val2);
6231 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
6232 if (!SWIG_IsOK(ecode3)) {
6233 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plctime" "', argument " "3"" of type '" "PLINT""'");
6234 }
6235 arg3 = (PLINT)(val3);
6236 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
6237 if (!SWIG_IsOK(ecode4)) {
6238 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plctime" "', argument " "4"" of type '" "PLINT""'");
6239 }
6240 arg4 = (PLINT)(val4);
6241 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
6242 if (!SWIG_IsOK(ecode5)) {
6243 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plctime" "', argument " "5"" of type '" "PLINT""'");
6244 }
6245 arg5 = (PLINT)(val5);
6246 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
6247 if (!SWIG_IsOK(ecode6)) {
6248 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plctime" "', argument " "6"" of type '" "PLFLT""'");
6249 }
6250 arg6 = (PLFLT)(val6);
6251 plctime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
6252 resultobj = SWIG_Py_Void();
6253 if (SWIG_IsTmpObj(res7)) {
6254 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg7)), 1);
6255 } else {
6256 int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6257 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_double, new_flags), 1);
6258 }
6259 return resultobj;
6260fail:
6261 return NULL;
6262}
6263
6264
6265SWIGINTERN PyObject *_wrap_plcpstrm(PyObject *self, PyObject *args) {
6266 PyObject *resultobj = 0;
6267 PLINT arg1 ;
6268 PLBOOL arg2 ;
6269 int val1 ;
6270 int ecode1 = 0 ;
6271 int val2 ;
6272 int ecode2 = 0 ;
6273 PyObject *swig_obj[2] ;
6274
6275 (void)self;
6276 if (!SWIG_Python_UnpackTuple(args, "plcpstrm", 2, 2, swig_obj)) SWIG_fail;
6277 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
6278 if (!SWIG_IsOK(ecode1)) {
6279 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcpstrm" "', argument " "1"" of type '" "PLINT""'");
6280 }
6281 arg1 = (PLINT)(val1);
6282 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6283 if (!SWIG_IsOK(ecode2)) {
6284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plcpstrm" "', argument " "2"" of type '" "PLBOOL""'");
6285 }
6286 arg2 = (PLBOOL)(val2);
6287 plcpstrm(arg1,arg2);
6288 resultobj = SWIG_Py_Void();
6289 return resultobj;
6290fail:
6291 return NULL;
6292}
6293
6294
6295SWIGINTERN PyObject *_wrap_plend(PyObject *self, PyObject *args) {
6296 PyObject *resultobj = 0;
6297
6298 (void)self;
6299 if (!SWIG_Python_UnpackTuple(args, "plend", 0, 0, 0)) SWIG_fail;
6300 plend();
6301 resultobj = SWIG_Py_Void();
6302 return resultobj;
6303fail:
6304 return NULL;
6305}
6306
6307
6308SWIGINTERN PyObject *_wrap_plend1(PyObject *self, PyObject *args) {
6309 PyObject *resultobj = 0;
6310
6311 (void)self;
6312 if (!SWIG_Python_UnpackTuple(args, "plend1", 0, 0, 0)) SWIG_fail;
6313 plend1();
6314 resultobj = SWIG_Py_Void();
6315 return resultobj;
6316fail:
6317 return NULL;
6318}
6319
6320
6321SWIGINTERN PyObject *_wrap_plenv(PyObject *self, PyObject *args) {
6322 PyObject *resultobj = 0;
6323 PLFLT arg1 ;
6324 PLFLT arg2 ;
6325 PLFLT arg3 ;
6326 PLFLT arg4 ;
6327 PLINT arg5 ;
6328 PLINT arg6 ;
6329 double val1 ;
6330 int ecode1 = 0 ;
6331 double val2 ;
6332 int ecode2 = 0 ;
6333 double val3 ;
6334 int ecode3 = 0 ;
6335 double val4 ;
6336 int ecode4 = 0 ;
6337 int val5 ;
6338 int ecode5 = 0 ;
6339 int val6 ;
6340 int ecode6 = 0 ;
6341 PyObject *swig_obj[6] ;
6342
6343 (void)self;
6344 if (!SWIG_Python_UnpackTuple(args, "plenv", 6, 6, swig_obj)) SWIG_fail;
6345 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
6346 if (!SWIG_IsOK(ecode1)) {
6347 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plenv" "', argument " "1"" of type '" "PLFLT""'");
6348 }
6349 arg1 = (PLFLT)(val1);
6350 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
6351 if (!SWIG_IsOK(ecode2)) {
6352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plenv" "', argument " "2"" of type '" "PLFLT""'");
6353 }
6354 arg2 = (PLFLT)(val2);
6355 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
6356 if (!SWIG_IsOK(ecode3)) {
6357 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plenv" "', argument " "3"" of type '" "PLFLT""'");
6358 }
6359 arg3 = (PLFLT)(val3);
6360 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
6361 if (!SWIG_IsOK(ecode4)) {
6362 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plenv" "', argument " "4"" of type '" "PLFLT""'");
6363 }
6364 arg4 = (PLFLT)(val4);
6365 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
6366 if (!SWIG_IsOK(ecode5)) {
6367 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plenv" "', argument " "5"" of type '" "PLINT""'");
6368 }
6369 arg5 = (PLINT)(val5);
6370 ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
6371 if (!SWIG_IsOK(ecode6)) {
6372 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plenv" "', argument " "6"" of type '" "PLINT""'");
6373 }
6374 arg6 = (PLINT)(val6);
6375 plenv(arg1,arg2,arg3,arg4,arg5,arg6);
6376 resultobj = SWIG_Py_Void();
6377 return resultobj;
6378fail:
6379 return NULL;
6380}
6381
6382
6383SWIGINTERN PyObject *_wrap_plenv0(PyObject *self, PyObject *args) {
6384 PyObject *resultobj = 0;
6385 PLFLT arg1 ;
6386 PLFLT arg2 ;
6387 PLFLT arg3 ;
6388 PLFLT arg4 ;
6389 PLINT arg5 ;
6390 PLINT arg6 ;
6391 double val1 ;
6392 int ecode1 = 0 ;
6393 double val2 ;
6394 int ecode2 = 0 ;
6395 double val3 ;
6396 int ecode3 = 0 ;
6397 double val4 ;
6398 int ecode4 = 0 ;
6399 int val5 ;
6400 int ecode5 = 0 ;
6401 int val6 ;
6402 int ecode6 = 0 ;
6403 PyObject *swig_obj[6] ;
6404
6405 (void)self;
6406 if (!SWIG_Python_UnpackTuple(args, "plenv0", 6, 6, swig_obj)) SWIG_fail;
6407 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
6408 if (!SWIG_IsOK(ecode1)) {
6409 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plenv0" "', argument " "1"" of type '" "PLFLT""'");
6410 }
6411 arg1 = (PLFLT)(val1);
6412 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
6413 if (!SWIG_IsOK(ecode2)) {
6414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plenv0" "', argument " "2"" of type '" "PLFLT""'");
6415 }
6416 arg2 = (PLFLT)(val2);
6417 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
6418 if (!SWIG_IsOK(ecode3)) {
6419 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plenv0" "', argument " "3"" of type '" "PLFLT""'");
6420 }
6421 arg3 = (PLFLT)(val3);
6422 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
6423 if (!SWIG_IsOK(ecode4)) {
6424 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plenv0" "', argument " "4"" of type '" "PLFLT""'");
6425 }
6426 arg4 = (PLFLT)(val4);
6427 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
6428 if (!SWIG_IsOK(ecode5)) {
6429 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plenv0" "', argument " "5"" of type '" "PLINT""'");
6430 }
6431 arg5 = (PLINT)(val5);
6432 ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
6433 if (!SWIG_IsOK(ecode6)) {
6434 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plenv0" "', argument " "6"" of type '" "PLINT""'");
6435 }
6436 arg6 = (PLINT)(val6);
6437 plenv0(arg1,arg2,arg3,arg4,arg5,arg6);
6438 resultobj = SWIG_Py_Void();
6439 return resultobj;
6440fail:
6441 return NULL;
6442}
6443
6444
6445SWIGINTERN PyObject *_wrap_pleop(PyObject *self, PyObject *args) {
6446 PyObject *resultobj = 0;
6447
6448 (void)self;
6449 if (!SWIG_Python_UnpackTuple(args, "pleop", 0, 0, 0)) SWIG_fail;
6450 pleop();
6451 resultobj = SWIG_Py_Void();
6452 return resultobj;
6453fail:
6454 return NULL;
6455}
6456
6457
6458SWIGINTERN PyObject *_wrap_plerrx(PyObject *self, PyObject *args) {
6459 PyObject *resultobj = 0;
6460 PLINT arg1 ;
6461 PLFLT *arg2 = (PLFLT *) 0 ;
6462 PLFLT *arg3 = (PLFLT *) 0 ;
6463 PLFLT *arg4 = (PLFLT *) 0 ;
6464 PyArrayObject *tmp1 = NULL ;
6465 PyArrayObject *tmp3 = NULL ;
6466 PyArrayObject *tmp4 = NULL ;
6467 PyObject *swig_obj[3] ;
6468
6469 (void)self;
6470 if (!SWIG_Python_UnpackTuple(args, "plerrx", 3, 3, swig_obj)) SWIG_fail;
6471 {
6472 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
6473 if ( tmp1 == NULL )
6474 return NULL;
6475 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6476 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6477 }
6478 {
6479 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
6480 if ( tmp3 == NULL )
6481 return NULL;
6482 if ( PyArray_DIMS( tmp3 )[0] != Alen )
6483 {
6484 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6485 return NULL;
6486 }
6487 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6488 }
6489 {
6490 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
6491 if ( tmp4 == NULL )
6492 return NULL;
6493 if ( PyArray_DIMS( tmp4 )[0] != Alen )
6494 {
6495 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6496 return NULL;
6497 }
6498 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
6499 }
6500 plerrx(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
6501 resultobj = SWIG_Py_Void();
6502 {
6503 Py_CLEAR( tmp1 );
6504 }
6505 {
6506 Py_CLEAR( tmp3 );
6507 }
6508 {
6509 Py_CLEAR( tmp4 );
6510 }
6511 return resultobj;
6512fail:
6513 {
6514 Py_CLEAR( tmp1 );
6515 }
6516 {
6517 Py_CLEAR( tmp3 );
6518 }
6519 {
6520 Py_CLEAR( tmp4 );
6521 }
6522 return NULL;
6523}
6524
6525
6526SWIGINTERN PyObject *_wrap_plerry(PyObject *self, PyObject *args) {
6527 PyObject *resultobj = 0;
6528 PLINT arg1 ;
6529 PLFLT *arg2 = (PLFLT *) 0 ;
6530 PLFLT *arg3 = (PLFLT *) 0 ;
6531 PLFLT *arg4 = (PLFLT *) 0 ;
6532 PyArrayObject *tmp1 = NULL ;
6533 PyArrayObject *tmp3 = NULL ;
6534 PyArrayObject *tmp4 = NULL ;
6535 PyObject *swig_obj[3] ;
6536
6537 (void)self;
6538 if (!SWIG_Python_UnpackTuple(args, "plerry", 3, 3, swig_obj)) SWIG_fail;
6539 {
6540 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
6541 if ( tmp1 == NULL )
6542 return NULL;
6543 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6544 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6545 }
6546 {
6547 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
6548 if ( tmp3 == NULL )
6549 return NULL;
6550 if ( PyArray_DIMS( tmp3 )[0] != Alen )
6551 {
6552 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6553 return NULL;
6554 }
6555 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6556 }
6557 {
6558 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
6559 if ( tmp4 == NULL )
6560 return NULL;
6561 if ( PyArray_DIMS( tmp4 )[0] != Alen )
6562 {
6563 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6564 return NULL;
6565 }
6566 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
6567 }
6568 plerry(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
6569 resultobj = SWIG_Py_Void();
6570 {
6571 Py_CLEAR( tmp1 );
6572 }
6573 {
6574 Py_CLEAR( tmp3 );
6575 }
6576 {
6577 Py_CLEAR( tmp4 );
6578 }
6579 return resultobj;
6580fail:
6581 {
6582 Py_CLEAR( tmp1 );
6583 }
6584 {
6585 Py_CLEAR( tmp3 );
6586 }
6587 {
6588 Py_CLEAR( tmp4 );
6589 }
6590 return NULL;
6591}
6592
6593
6594SWIGINTERN PyObject *_wrap_plfamadv(PyObject *self, PyObject *args) {
6595 PyObject *resultobj = 0;
6596
6597 (void)self;
6598 if (!SWIG_Python_UnpackTuple(args, "plfamadv", 0, 0, 0)) SWIG_fail;
6599 plfamadv();
6600 resultobj = SWIG_Py_Void();
6601 return resultobj;
6602fail:
6603 return NULL;
6604}
6605
6606
6607SWIGINTERN PyObject *_wrap_plfill(PyObject *self, PyObject *args) {
6608 PyObject *resultobj = 0;
6609 PLINT arg1 ;
6610 PLFLT *arg2 = (PLFLT *) 0 ;
6611 PLFLT *arg3 = (PLFLT *) 0 ;
6612 PyArrayObject *tmp1 = NULL ;
6613 PyArrayObject *tmp3 = NULL ;
6614 PyObject *swig_obj[2] ;
6615
6616 (void)self;
6617 if (!SWIG_Python_UnpackTuple(args, "plfill", 2, 2, swig_obj)) SWIG_fail;
6618 {
6619 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
6620 if ( tmp1 == NULL )
6621 return NULL;
6622 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6623 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6624 }
6625 {
6626 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
6627 if ( tmp3 == NULL )
6628 return NULL;
6629 if ( PyArray_DIMS( tmp3 )[0] != Alen )
6630 {
6631 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6632 return NULL;
6633 }
6634 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6635 }
6636 plfill(arg1,(double const *)arg2,(double const *)arg3);
6637 resultobj = SWIG_Py_Void();
6638 {
6639 Py_CLEAR( tmp1 );
6640 }
6641 {
6642 Py_CLEAR( tmp3 );
6643 }
6644 return resultobj;
6645fail:
6646 {
6647 Py_CLEAR( tmp1 );
6648 }
6649 {
6650 Py_CLEAR( tmp3 );
6651 }
6652 return NULL;
6653}
6654
6655
6656SWIGINTERN PyObject *_wrap_plfill3(PyObject *self, PyObject *args) {
6657 PyObject *resultobj = 0;
6658 PLINT arg1 ;
6659 PLFLT *arg2 = (PLFLT *) 0 ;
6660 PLFLT *arg3 = (PLFLT *) 0 ;
6661 PLFLT *arg4 = (PLFLT *) 0 ;
6662 PyArrayObject *tmp1 = NULL ;
6663 PyArrayObject *tmp3 = NULL ;
6664 PyArrayObject *tmp4 = NULL ;
6665 PyObject *swig_obj[3] ;
6666
6667 (void)self;
6668 if (!SWIG_Python_UnpackTuple(args, "plfill3", 3, 3, swig_obj)) SWIG_fail;
6669 {
6670 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
6671 if ( tmp1 == NULL )
6672 return NULL;
6673 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6674 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6675 }
6676 {
6677 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
6678 if ( tmp3 == NULL )
6679 return NULL;
6680 if ( PyArray_DIMS( tmp3 )[0] != Alen )
6681 {
6682 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6683 return NULL;
6684 }
6685 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6686 }
6687 {
6688 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
6689 if ( tmp4 == NULL )
6690 return NULL;
6691 if ( PyArray_DIMS( tmp4 )[0] != Alen )
6692 {
6693 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6694 return NULL;
6695 }
6696 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
6697 }
6698 plfill3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
6699 resultobj = SWIG_Py_Void();
6700 {
6701 Py_CLEAR( tmp1 );
6702 }
6703 {
6704 Py_CLEAR( tmp3 );
6705 }
6706 {
6707 Py_CLEAR( tmp4 );
6708 }
6709 return resultobj;
6710fail:
6711 {
6712 Py_CLEAR( tmp1 );
6713 }
6714 {
6715 Py_CLEAR( tmp3 );
6716 }
6717 {
6718 Py_CLEAR( tmp4 );
6719 }
6720 return NULL;
6721}
6722
6723
6724SWIGINTERN PyObject *_wrap_plgradient(PyObject *self, PyObject *args) {
6725 PyObject *resultobj = 0;
6726 PLINT arg1 ;
6727 PLFLT *arg2 = (PLFLT *) 0 ;
6728 PLFLT *arg3 = (PLFLT *) 0 ;
6729 PLFLT arg4 ;
6730 PyArrayObject *tmp1 = NULL ;
6731 PyArrayObject *tmp3 = NULL ;
6732 double val4 ;
6733 int ecode4 = 0 ;
6734 PyObject *swig_obj[3] ;
6735
6736 (void)self;
6737 if (!SWIG_Python_UnpackTuple(args, "plgradient", 3, 3, swig_obj)) SWIG_fail;
6738 {
6739 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
6740 if ( tmp1 == NULL )
6741 return NULL;
6742 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6743 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6744 }
6745 {
6746 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
6747 if ( tmp3 == NULL )
6748 return NULL;
6749 if ( PyArray_DIMS( tmp3 )[0] != Alen )
6750 {
6751 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6752 return NULL;
6753 }
6754 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6755 }
6756 ecode4 = SWIG_AsVal_double(swig_obj[2], &val4);
6757 if (!SWIG_IsOK(ecode4)) {
6758 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plgradient" "', argument " "4"" of type '" "PLFLT""'");
6759 }
6760 arg4 = (PLFLT)(val4);
6761 plgradient(arg1,(double const *)arg2,(double const *)arg3,arg4);
6762 resultobj = SWIG_Py_Void();
6763 {
6764 Py_CLEAR( tmp1 );
6765 }
6766 {
6767 Py_CLEAR( tmp3 );
6768 }
6769 return resultobj;
6770fail:
6771 {
6772 Py_CLEAR( tmp1 );
6773 }
6774 {
6775 Py_CLEAR( tmp3 );
6776 }
6777 return NULL;
6778}
6779
6780
6781SWIGINTERN PyObject *_wrap_plflush(PyObject *self, PyObject *args) {
6782 PyObject *resultobj = 0;
6783
6784 (void)self;
6785 if (!SWIG_Python_UnpackTuple(args, "plflush", 0, 0, 0)) SWIG_fail;
6786 plflush();
6787 resultobj = SWIG_Py_Void();
6788 return resultobj;
6789fail:
6790 return NULL;
6791}
6792
6793
6794SWIGINTERN PyObject *_wrap_plfont(PyObject *self, PyObject *args) {
6795 PyObject *resultobj = 0;
6796 PLINT arg1 ;
6797 int val1 ;
6798 int ecode1 = 0 ;
6799 PyObject *swig_obj[1] ;
6800
6801 (void)self;
6802 if (!args) SWIG_fail;
6803 swig_obj[0] = args;
6804 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
6805 if (!SWIG_IsOK(ecode1)) {
6806 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plfont" "', argument " "1"" of type '" "PLINT""'");
6807 }
6808 arg1 = (PLINT)(val1);
6809 plfont(arg1);
6810 resultobj = SWIG_Py_Void();
6811 return resultobj;
6812fail:
6813 return NULL;
6814}
6815
6816
6817SWIGINTERN PyObject *_wrap_plfontld(PyObject *self, PyObject *args) {
6818 PyObject *resultobj = 0;
6819 PLINT arg1 ;
6820 int val1 ;
6821 int ecode1 = 0 ;
6822 PyObject *swig_obj[1] ;
6823
6824 (void)self;
6825 if (!args) SWIG_fail;
6826 swig_obj[0] = args;
6827 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
6828 if (!SWIG_IsOK(ecode1)) {
6829 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plfontld" "', argument " "1"" of type '" "PLINT""'");
6830 }
6831 arg1 = (PLINT)(val1);
6832 plfontld(arg1);
6833 resultobj = SWIG_Py_Void();
6834 return resultobj;
6835fail:
6836 return NULL;
6837}
6838
6839
6840SWIGINTERN PyObject *_wrap_plgchr(PyObject *self, PyObject *args) {
6841 PyObject *resultobj = 0;
6842 PLFLT *arg1 = (PLFLT *) 0 ;
6843 PLFLT *arg2 = (PLFLT *) 0 ;
6844 PLFLT temp1 ;
6845 int res1 = SWIG_TMPOBJ ;
6846 PLFLT temp2 ;
6847 int res2 = SWIG_TMPOBJ ;
6848
6849 arg1 = &temp1;
6850 arg2 = &temp2;
6851 (void)self;
6852 if (!SWIG_Python_UnpackTuple(args, "plgchr", 0, 0, 0)) SWIG_fail;
6853 plgchr(arg1,arg2);
6854 resultobj = SWIG_Py_Void();
6855 if (SWIG_IsTmpObj(res1)) {
6856 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
6857 } else {
6858 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6859 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
6860 }
6861 if (SWIG_IsTmpObj(res2)) {
6862 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
6863 } else {
6864 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6865 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
6866 }
6867 return resultobj;
6868fail:
6869 return NULL;
6870}
6871
6872
6873SWIGINTERN PyObject *_wrap_plgcol0(PyObject *self, PyObject *args) {
6874 PyObject *resultobj = 0;
6875 PLINT arg1 ;
6876 PLINT *arg2 = (PLINT *) 0 ;
6877 PLINT *arg3 = (PLINT *) 0 ;
6878 PLINT *arg4 = (PLINT *) 0 ;
6879 int val1 ;
6880 int ecode1 = 0 ;
6881 PLINT temp2 ;
6882 int res2 = SWIG_TMPOBJ ;
6883 PLINT temp3 ;
6884 int res3 = SWIG_TMPOBJ ;
6885 PLINT temp4 ;
6886 int res4 = SWIG_TMPOBJ ;
6887 PyObject *swig_obj[1] ;
6888
6889 arg2 = &temp2;
6890 arg3 = &temp3;
6891 arg4 = &temp4;
6892 (void)self;
6893 if (!args) SWIG_fail;
6894 swig_obj[0] = args;
6895 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
6896 if (!SWIG_IsOK(ecode1)) {
6897 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plgcol0" "', argument " "1"" of type '" "PLINT""'");
6898 }
6899 arg1 = (PLINT)(val1);
6900 plgcol0(arg1,arg2,arg3,arg4);
6901 resultobj = SWIG_Py_Void();
6902 if (SWIG_IsTmpObj(res2)) {
6903 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
6904 } else {
6905 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6906 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
6907 }
6908 if (SWIG_IsTmpObj(res3)) {
6909 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
6910 } else {
6911 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6912 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
6913 }
6914 if (SWIG_IsTmpObj(res4)) {
6915 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)), 1);
6916 } else {
6917 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6918 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags), 1);
6919 }
6920 return resultobj;
6921fail:
6922 return NULL;
6923}
6924
6925
6926SWIGINTERN PyObject *_wrap_plgcol0a(PyObject *self, PyObject *args) {
6927 PyObject *resultobj = 0;
6928 PLINT arg1 ;
6929 PLINT *arg2 = (PLINT *) 0 ;
6930 PLINT *arg3 = (PLINT *) 0 ;
6931 PLINT *arg4 = (PLINT *) 0 ;
6932 PLFLT *arg5 = (PLFLT *) 0 ;
6933 int val1 ;
6934 int ecode1 = 0 ;
6935 PLINT temp2 ;
6936 int res2 = SWIG_TMPOBJ ;
6937 PLINT temp3 ;
6938 int res3 = SWIG_TMPOBJ ;
6939 PLINT temp4 ;
6940 int res4 = SWIG_TMPOBJ ;
6941 PLFLT temp5 ;
6942 int res5 = SWIG_TMPOBJ ;
6943 PyObject *swig_obj[1] ;
6944
6945 arg2 = &temp2;
6946 arg3 = &temp3;
6947 arg4 = &temp4;
6948 arg5 = &temp5;
6949 (void)self;
6950 if (!args) SWIG_fail;
6951 swig_obj[0] = args;
6952 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
6953 if (!SWIG_IsOK(ecode1)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plgcol0a" "', argument " "1"" of type '" "PLINT""'");
6955 }
6956 arg1 = (PLINT)(val1);
6957 plgcol0a(arg1,arg2,arg3,arg4,arg5);
6958 resultobj = SWIG_Py_Void();
6959 if (SWIG_IsTmpObj(res2)) {
6960 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
6961 } else {
6962 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6963 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
6964 }
6965 if (SWIG_IsTmpObj(res3)) {
6966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
6967 } else {
6968 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6969 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
6970 }
6971 if (SWIG_IsTmpObj(res4)) {
6972 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)), 1);
6973 } else {
6974 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6975 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags), 1);
6976 }
6977 if (SWIG_IsTmpObj(res5)) {
6978 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg5)), 1);
6979 } else {
6980 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6981 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags), 1);
6982 }
6983 return resultobj;
6984fail:
6985 return NULL;
6986}
6987
6988
6989SWIGINTERN PyObject *_wrap_plgcolbg(PyObject *self, PyObject *args) {
6990 PyObject *resultobj = 0;
6991 PLINT *arg1 = (PLINT *) 0 ;
6992 PLINT *arg2 = (PLINT *) 0 ;
6993 PLINT *arg3 = (PLINT *) 0 ;
6994 PLINT temp1 ;
6995 int res1 = SWIG_TMPOBJ ;
6996 PLINT temp2 ;
6997 int res2 = SWIG_TMPOBJ ;
6998 PLINT temp3 ;
6999 int res3 = SWIG_TMPOBJ ;
7000
7001 arg1 = &temp1;
7002 arg2 = &temp2;
7003 arg3 = &temp3;
7004 (void)self;
7005 if (!SWIG_Python_UnpackTuple(args, "plgcolbg", 0, 0, 0)) SWIG_fail;
7006 plgcolbg(arg1,arg2,arg3);
7007 resultobj = SWIG_Py_Void();
7008 if (SWIG_IsTmpObj(res1)) {
7009 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7010 } else {
7011 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7012 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7013 }
7014 if (SWIG_IsTmpObj(res2)) {
7015 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7016 } else {
7017 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7018 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7019 }
7020 if (SWIG_IsTmpObj(res3)) {
7021 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
7022 } else {
7023 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7024 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
7025 }
7026 return resultobj;
7027fail:
7028 return NULL;
7029}
7030
7031
7032SWIGINTERN PyObject *_wrap_plgcolbga(PyObject *self, PyObject *args) {
7033 PyObject *resultobj = 0;
7034 PLINT *arg1 = (PLINT *) 0 ;
7035 PLINT *arg2 = (PLINT *) 0 ;
7036 PLINT *arg3 = (PLINT *) 0 ;
7037 PLFLT *arg4 = (PLFLT *) 0 ;
7038 PLINT temp1 ;
7039 int res1 = SWIG_TMPOBJ ;
7040 PLINT temp2 ;
7041 int res2 = SWIG_TMPOBJ ;
7042 PLINT temp3 ;
7043 int res3 = SWIG_TMPOBJ ;
7044 PLFLT temp4 ;
7045 int res4 = SWIG_TMPOBJ ;
7046
7047 arg1 = &temp1;
7048 arg2 = &temp2;
7049 arg3 = &temp3;
7050 arg4 = &temp4;
7051 (void)self;
7052 if (!SWIG_Python_UnpackTuple(args, "plgcolbga", 0, 0, 0)) SWIG_fail;
7053 plgcolbga(arg1,arg2,arg3,arg4);
7054 resultobj = SWIG_Py_Void();
7055 if (SWIG_IsTmpObj(res1)) {
7056 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7057 } else {
7058 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7059 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7060 }
7061 if (SWIG_IsTmpObj(res2)) {
7062 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7063 } else {
7064 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7065 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7066 }
7067 if (SWIG_IsTmpObj(res3)) {
7068 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
7069 } else {
7070 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7071 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
7072 }
7073 if (SWIG_IsTmpObj(res4)) {
7074 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7075 } else {
7076 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7077 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7078 }
7079 return resultobj;
7080fail:
7081 return NULL;
7082}
7083
7084
7085SWIGINTERN PyObject *_wrap_plgcompression(PyObject *self, PyObject *args) {
7086 PyObject *resultobj = 0;
7087 PLINT *arg1 = (PLINT *) 0 ;
7088 PLINT temp1 ;
7089 int res1 = SWIG_TMPOBJ ;
7090
7091 arg1 = &temp1;
7092 (void)self;
7093 if (!SWIG_Python_UnpackTuple(args, "plgcompression", 0, 0, 0)) SWIG_fail;
7094 plgcompression(arg1);
7095 resultobj = SWIG_Py_Void();
7096 if (SWIG_IsTmpObj(res1)) {
7097 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7098 } else {
7099 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7100 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7101 }
7102 return resultobj;
7103fail:
7104 return NULL;
7105}
7106
7107
7108SWIGINTERN PyObject *_wrap_plgdev(PyObject *self, PyObject *args) {
7109 PyObject *resultobj = 0;
7110 char *arg1 = (char *) 0 ;
7111 char buff1[1000] ;
7112
7113 {
7114 arg1 = buff1;
7115 }
7116 (void)self;
7117 if (!SWIG_Python_UnpackTuple(args, "plgdev", 0, 0, 0)) SWIG_fail;
7118 plgdev(arg1);
7119 resultobj = SWIG_Py_Void();
7120 {
7121 PyObject *o = PyString_FromString( arg1 );
7122 resultobj = SWIG_Python_AppendOutput(resultobj, o, 1);
7123 }
7124 return resultobj;
7125fail:
7126 return NULL;
7127}
7128
7129
7130SWIGINTERN PyObject *_wrap_plgdidev(PyObject *self, PyObject *args) {
7131 PyObject *resultobj = 0;
7132 PLFLT *arg1 = (PLFLT *) 0 ;
7133 PLFLT *arg2 = (PLFLT *) 0 ;
7134 PLFLT *arg3 = (PLFLT *) 0 ;
7135 PLFLT *arg4 = (PLFLT *) 0 ;
7136 PLFLT temp1 ;
7137 int res1 = SWIG_TMPOBJ ;
7138 PLFLT temp2 ;
7139 int res2 = SWIG_TMPOBJ ;
7140 PLFLT temp3 ;
7141 int res3 = SWIG_TMPOBJ ;
7142 PLFLT temp4 ;
7143 int res4 = SWIG_TMPOBJ ;
7144
7145 arg1 = &temp1;
7146 arg2 = &temp2;
7147 arg3 = &temp3;
7148 arg4 = &temp4;
7149 (void)self;
7150 if (!SWIG_Python_UnpackTuple(args, "plgdidev", 0, 0, 0)) SWIG_fail;
7151 plgdidev(arg1,arg2,arg3,arg4);
7152 resultobj = SWIG_Py_Void();
7153 if (SWIG_IsTmpObj(res1)) {
7154 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7155 } else {
7156 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7157 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7158 }
7159 if (SWIG_IsTmpObj(res2)) {
7160 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7161 } else {
7162 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7163 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7164 }
7165 if (SWIG_IsTmpObj(res3)) {
7166 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
7167 } else {
7168 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7169 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
7170 }
7171 if (SWIG_IsTmpObj(res4)) {
7172 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7173 } else {
7174 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7175 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7176 }
7177 return resultobj;
7178fail:
7179 return NULL;
7180}
7181
7182
7183SWIGINTERN PyObject *_wrap_plgdiori(PyObject *self, PyObject *args) {
7184 PyObject *resultobj = 0;
7185 PLFLT *arg1 = (PLFLT *) 0 ;
7186 PLFLT temp1 ;
7187 int res1 = SWIG_TMPOBJ ;
7188
7189 arg1 = &temp1;
7190 (void)self;
7191 if (!SWIG_Python_UnpackTuple(args, "plgdiori", 0, 0, 0)) SWIG_fail;
7192 plgdiori(arg1);
7193 resultobj = SWIG_Py_Void();
7194 if (SWIG_IsTmpObj(res1)) {
7195 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7196 } else {
7197 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7198 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7199 }
7200 return resultobj;
7201fail:
7202 return NULL;
7203}
7204
7205
7206SWIGINTERN PyObject *_wrap_plgdiplt(PyObject *self, PyObject *args) {
7207 PyObject *resultobj = 0;
7208 PLFLT *arg1 = (PLFLT *) 0 ;
7209 PLFLT *arg2 = (PLFLT *) 0 ;
7210 PLFLT *arg3 = (PLFLT *) 0 ;
7211 PLFLT *arg4 = (PLFLT *) 0 ;
7212 PLFLT temp1 ;
7213 int res1 = SWIG_TMPOBJ ;
7214 PLFLT temp2 ;
7215 int res2 = SWIG_TMPOBJ ;
7216 PLFLT temp3 ;
7217 int res3 = SWIG_TMPOBJ ;
7218 PLFLT temp4 ;
7219 int res4 = SWIG_TMPOBJ ;
7220
7221 arg1 = &temp1;
7222 arg2 = &temp2;
7223 arg3 = &temp3;
7224 arg4 = &temp4;
7225 (void)self;
7226 if (!SWIG_Python_UnpackTuple(args, "plgdiplt", 0, 0, 0)) SWIG_fail;
7227 plgdiplt(arg1,arg2,arg3,arg4);
7228 resultobj = SWIG_Py_Void();
7229 if (SWIG_IsTmpObj(res1)) {
7230 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7231 } else {
7232 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7233 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7234 }
7235 if (SWIG_IsTmpObj(res2)) {
7236 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7237 } else {
7238 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7239 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7240 }
7241 if (SWIG_IsTmpObj(res3)) {
7242 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
7243 } else {
7244 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7245 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
7246 }
7247 if (SWIG_IsTmpObj(res4)) {
7248 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7249 } else {
7250 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7251 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7252 }
7253 return resultobj;
7254fail:
7255 return NULL;
7256}
7257
7258
7259SWIGINTERN PyObject *_wrap_plgfam(PyObject *self, PyObject *args) {
7260 PyObject *resultobj = 0;
7261 PLINT *arg1 = (PLINT *) 0 ;
7262 PLINT *arg2 = (PLINT *) 0 ;
7263 PLINT *arg3 = (PLINT *) 0 ;
7264 PLINT temp1 ;
7265 int res1 = SWIG_TMPOBJ ;
7266 PLINT temp2 ;
7267 int res2 = SWIG_TMPOBJ ;
7268 PLINT temp3 ;
7269 int res3 = SWIG_TMPOBJ ;
7270
7271 arg1 = &temp1;
7272 arg2 = &temp2;
7273 arg3 = &temp3;
7274 (void)self;
7275 if (!SWIG_Python_UnpackTuple(args, "plgfam", 0, 0, 0)) SWIG_fail;
7276 plgfam(arg1,arg2,arg3);
7277 resultobj = SWIG_Py_Void();
7278 if (SWIG_IsTmpObj(res1)) {
7279 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7280 } else {
7281 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7282 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7283 }
7284 if (SWIG_IsTmpObj(res2)) {
7285 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7286 } else {
7287 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7288 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7289 }
7290 if (SWIG_IsTmpObj(res3)) {
7291 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
7292 } else {
7293 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7294 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
7295 }
7296 return resultobj;
7297fail:
7298 return NULL;
7299}
7300
7301
7302SWIGINTERN PyObject *_wrap_plgfci(PyObject *self, PyObject *args) {
7303 PyObject *resultobj = 0;
7304 PLUNICODE *arg1 = (PLUNICODE *) 0 ;
7305 PLUNICODE temp1 ;
7306 int res1 = SWIG_TMPOBJ ;
7307
7308 arg1 = &temp1;
7309 (void)self;
7310 if (!SWIG_Python_UnpackTuple(args, "plgfci", 0, 0, 0)) SWIG_fail;
7311 plgfci(arg1);
7312 resultobj = SWIG_Py_Void();
7313 if (SWIG_IsTmpObj(res1)) {
7314 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_int((*arg1)), 1);
7315 } else {
7316 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7317 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_unsigned_int, new_flags), 1);
7318 }
7319 return resultobj;
7320fail:
7321 return NULL;
7322}
7323
7324
7325SWIGINTERN PyObject *_wrap_plgfnam(PyObject *self, PyObject *args) {
7326 PyObject *resultobj = 0;
7327 char *arg1 = (char *) 0 ;
7328 char buff1[1000] ;
7329
7330 {
7331 arg1 = buff1;
7332 }
7333 (void)self;
7334 if (!SWIG_Python_UnpackTuple(args, "plgfnam", 0, 0, 0)) SWIG_fail;
7335 plgfnam(arg1);
7336 resultobj = SWIG_Py_Void();
7337 {
7338 PyObject *o = PyString_FromString( arg1 );
7339 resultobj = SWIG_Python_AppendOutput(resultobj, o, 1);
7340 }
7341 return resultobj;
7342fail:
7343 return NULL;
7344}
7345
7346
7347SWIGINTERN PyObject *_wrap_plgfont(PyObject *self, PyObject *args) {
7348 PyObject *resultobj = 0;
7349 PLINT *arg1 = (PLINT *) 0 ;
7350 PLINT *arg2 = (PLINT *) 0 ;
7351 PLINT *arg3 = (PLINT *) 0 ;
7352 PLINT temp1 ;
7353 int res1 = SWIG_TMPOBJ ;
7354 PLINT temp2 ;
7355 int res2 = SWIG_TMPOBJ ;
7356 PLINT temp3 ;
7357 int res3 = SWIG_TMPOBJ ;
7358
7359 arg1 = &temp1;
7360 arg2 = &temp2;
7361 arg3 = &temp3;
7362 (void)self;
7363 if (!SWIG_Python_UnpackTuple(args, "plgfont", 0, 0, 0)) SWIG_fail;
7364 plgfont(arg1,arg2,arg3);
7365 resultobj = SWIG_Py_Void();
7366 if (SWIG_IsTmpObj(res1)) {
7367 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7368 } else {
7369 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7370 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7371 }
7372 if (SWIG_IsTmpObj(res2)) {
7373 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7374 } else {
7375 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7376 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7377 }
7378 if (SWIG_IsTmpObj(res3)) {
7379 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
7380 } else {
7381 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7382 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
7383 }
7384 return resultobj;
7385fail:
7386 return NULL;
7387}
7388
7389
7390SWIGINTERN PyObject *_wrap_plglevel(PyObject *self, PyObject *args) {
7391 PyObject *resultobj = 0;
7392 PLINT *arg1 = (PLINT *) 0 ;
7393 PLINT temp1 ;
7394 int res1 = SWIG_TMPOBJ ;
7395
7396 arg1 = &temp1;
7397 (void)self;
7398 if (!SWIG_Python_UnpackTuple(args, "plglevel", 0, 0, 0)) SWIG_fail;
7399 plglevel(arg1);
7400 resultobj = SWIG_Py_Void();
7401 if (SWIG_IsTmpObj(res1)) {
7402 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7403 } else {
7404 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7405 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7406 }
7407 return resultobj;
7408fail:
7409 return NULL;
7410}
7411
7412
7413SWIGINTERN PyObject *_wrap_plgpage(PyObject *self, PyObject *args) {
7414 PyObject *resultobj = 0;
7415 PLFLT *arg1 = (PLFLT *) 0 ;
7416 PLFLT *arg2 = (PLFLT *) 0 ;
7417 PLINT *arg3 = (PLINT *) 0 ;
7418 PLINT *arg4 = (PLINT *) 0 ;
7419 PLINT *arg5 = (PLINT *) 0 ;
7420 PLINT *arg6 = (PLINT *) 0 ;
7421 PLFLT temp1 ;
7422 int res1 = SWIG_TMPOBJ ;
7423 PLFLT temp2 ;
7424 int res2 = SWIG_TMPOBJ ;
7425 PLINT temp3 ;
7426 int res3 = SWIG_TMPOBJ ;
7427 PLINT temp4 ;
7428 int res4 = SWIG_TMPOBJ ;
7429 PLINT temp5 ;
7430 int res5 = SWIG_TMPOBJ ;
7431 PLINT temp6 ;
7432 int res6 = SWIG_TMPOBJ ;
7433
7434 arg1 = &temp1;
7435 arg2 = &temp2;
7436 arg3 = &temp3;
7437 arg4 = &temp4;
7438 arg5 = &temp5;
7439 arg6 = &temp6;
7440 (void)self;
7441 if (!SWIG_Python_UnpackTuple(args, "plgpage", 0, 0, 0)) SWIG_fail;
7442 plgpage(arg1,arg2,arg3,arg4,arg5,arg6);
7443 resultobj = SWIG_Py_Void();
7444 if (SWIG_IsTmpObj(res1)) {
7445 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7446 } else {
7447 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7448 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7449 }
7450 if (SWIG_IsTmpObj(res2)) {
7451 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7452 } else {
7453 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7454 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7455 }
7456 if (SWIG_IsTmpObj(res3)) {
7457 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
7458 } else {
7459 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7460 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
7461 }
7462 if (SWIG_IsTmpObj(res4)) {
7463 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)), 1);
7464 } else {
7465 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7466 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags), 1);
7467 }
7468 if (SWIG_IsTmpObj(res5)) {
7469 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)), 1);
7470 } else {
7471 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7472 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags), 1);
7473 }
7474 if (SWIG_IsTmpObj(res6)) {
7475 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg6)), 1);
7476 } else {
7477 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7478 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, new_flags), 1);
7479 }
7480 return resultobj;
7481fail:
7482 return NULL;
7483}
7484
7485
7486SWIGINTERN PyObject *_wrap_plgra(PyObject *self, PyObject *args) {
7487 PyObject *resultobj = 0;
7488
7489 (void)self;
7490 if (!SWIG_Python_UnpackTuple(args, "plgra", 0, 0, 0)) SWIG_fail;
7491 plgra();
7492 resultobj = SWIG_Py_Void();
7493 return resultobj;
7494fail:
7495 return NULL;
7496}
7497
7498
7499SWIGINTERN PyObject *_wrap_plgriddata(PyObject *self, PyObject *args) {
7500 PyObject *resultobj = 0;
7501 PLFLT *arg1 = (PLFLT *) 0 ;
7502 PLFLT *arg2 = (PLFLT *) 0 ;
7503 PLFLT *arg3 = (PLFLT *) 0 ;
7504 PLINT arg4 ;
7505 PLFLT *arg5 = (PLFLT *) 0 ;
7506 PLINT arg6 ;
7507 PLFLT *arg7 = (PLFLT *) 0 ;
7508 PLINT arg8 ;
7509 PLFLT **arg9 = (PLFLT **) 0 ;
7510 PLINT arg10 ;
7511 PLFLT arg11 ;
7512 PyArrayObject *tmp1 = NULL ;
7513 PyArrayObject *tmp2 = NULL ;
7514 PyArrayObject *tmp3 = NULL ;
7515 PyArrayObject *tmp5 = NULL ;
7516 PyArrayObject *tmp7 = NULL ;
7517 PyObject *array7 = NULL ;
7518 int val10 ;
7519 int ecode10 = 0 ;
7520 double val11 ;
7521 int ecode11 = 0 ;
7522 PyObject *swig_obj[7] ;
7523
7524 (void)self;
7525 if (!SWIG_Python_UnpackTuple(args, "plgriddata", 7, 7, swig_obj)) SWIG_fail;
7526 {
7527 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
7528 if ( tmp1 == NULL )
7529 return NULL;
7530 Alen = PyArray_DIMS( tmp1 )[0];
7531 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
7532 }
7533 {
7534 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
7535 if ( tmp2 == NULL )
7536 return NULL;
7537 if ( PyArray_DIMS( tmp2 )[0] != Alen )
7538 {
7539 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
7540 return NULL;
7541 }
7542 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
7543 }
7544 {
7545 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
7546 if ( tmp3 == NULL )
7547 return NULL;
7548 if ( PyArray_DIMS( tmp3 )[0] != Alen )
7549 {
7550 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
7551 return NULL;
7552 }
7553 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
7554 arg4 = PyArray_DIMS( tmp3 )[0];
7555 }
7556 {
7557 tmp5 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[3], NPY_PLFLT, 1, 1 );
7558 if ( tmp5 == NULL )
7559 return NULL;
7560 Xlen = PyArray_DIMS( tmp5 )[0];
7561 arg6 = Xlen;
7562 arg5 = (PLFLT *) PyArray_DATA( tmp5 );
7563 }
7564 {
7565 int i, size;
7566 npy_intp dims[2];
7567 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
7568 if ( tmp7 == NULL )
7569 return NULL;
7570 Ylen = PyArray_DIMS( tmp7 )[0];
7571 arg8 = Ylen;
7572 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
7573 // Make created 2D array7 have dimensions from prior ArrayX in the argument
7574 // list and this ArrayY.
7575 dims[0] = Xlen;
7576 dims[1] = Ylen;
7577 array7 = PyArray_SimpleNew( 2, dims, NPY_PLFLT );
7578 if ( !array7 )
7579 return NULL;
7580 size = Ylen;
7581 arg9 = (PLFLT **) malloc( sizeof ( double * ) * (size_t) Xlen );
7582 for ( i = 0; i < Xlen; i++ )
7583 arg9[i] = ( (PLFLT *) PyArray_DATA( (PyArrayObject *) array7 ) + i * size );
7584 }
7585 ecode10 = SWIG_AsVal_int(swig_obj[5], &val10);
7586 if (!SWIG_IsOK(ecode10)) {
7587 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plgriddata" "', argument " "10"" of type '" "PLINT""'");
7588 }
7589 arg10 = (PLINT)(val10);
7590 ecode11 = SWIG_AsVal_double(swig_obj[6], &val11);
7591 if (!SWIG_IsOK(ecode11)) {
7592 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plgriddata" "', argument " "11"" of type '" "PLFLT""'");
7593 }
7594 arg11 = (PLFLT)(val11);
7595 plgriddata((double const *)arg1,(double const *)arg2,(double const *)arg3,arg4,(double const *)arg5,arg6,(double const *)arg7,arg8,arg9,arg10,arg11);
7596 resultobj = SWIG_Py_Void();
7597 {
7598 resultobj = SWIG_Python_AppendOutput(resultobj, array7, 1);
7599 }
7600 {
7601 Py_CLEAR( tmp1 );
7602 }
7603 {
7604 Py_CLEAR( tmp2 );
7605 }
7606 {
7607 Py_CLEAR( tmp3 );
7608 }
7609 {
7610 Py_CLEAR( tmp5 );
7611 }
7612 {
7613 Py_CLEAR( tmp7 );
7614 free( arg9 );
7615 }
7616 return resultobj;
7617fail:
7618 {
7619 Py_CLEAR( tmp1 );
7620 }
7621 {
7622 Py_CLEAR( tmp2 );
7623 }
7624 {
7625 Py_CLEAR( tmp3 );
7626 }
7627 {
7628 Py_CLEAR( tmp5 );
7629 }
7630 {
7631 Py_CLEAR( tmp7 );
7632 free( arg9 );
7633 }
7634 return NULL;
7635}
7636
7637
7638SWIGINTERN PyObject *_wrap_plgspa(PyObject *self, PyObject *args) {
7639 PyObject *resultobj = 0;
7640 PLFLT *arg1 = (PLFLT *) 0 ;
7641 PLFLT *arg2 = (PLFLT *) 0 ;
7642 PLFLT *arg3 = (PLFLT *) 0 ;
7643 PLFLT *arg4 = (PLFLT *) 0 ;
7644 PLFLT temp1 ;
7645 int res1 = SWIG_TMPOBJ ;
7646 PLFLT temp2 ;
7647 int res2 = SWIG_TMPOBJ ;
7648 PLFLT temp3 ;
7649 int res3 = SWIG_TMPOBJ ;
7650 PLFLT temp4 ;
7651 int res4 = SWIG_TMPOBJ ;
7652
7653 arg1 = &temp1;
7654 arg2 = &temp2;
7655 arg3 = &temp3;
7656 arg4 = &temp4;
7657 (void)self;
7658 if (!SWIG_Python_UnpackTuple(args, "plgspa", 0, 0, 0)) SWIG_fail;
7659 plgspa(arg1,arg2,arg3,arg4);
7660 resultobj = SWIG_Py_Void();
7661 if (SWIG_IsTmpObj(res1)) {
7662 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7663 } else {
7664 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7665 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7666 }
7667 if (SWIG_IsTmpObj(res2)) {
7668 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7669 } else {
7670 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7671 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7672 }
7673 if (SWIG_IsTmpObj(res3)) {
7674 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
7675 } else {
7676 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7677 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
7678 }
7679 if (SWIG_IsTmpObj(res4)) {
7680 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7681 } else {
7682 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7683 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7684 }
7685 return resultobj;
7686fail:
7687 return NULL;
7688}
7689
7690
7691SWIGINTERN PyObject *_wrap_plgstrm(PyObject *self, PyObject *args) {
7692 PyObject *resultobj = 0;
7693 PLINT *arg1 = (PLINT *) 0 ;
7694 PLINT temp1 ;
7695 int res1 = SWIG_TMPOBJ ;
7696
7697 arg1 = &temp1;
7698 (void)self;
7699 if (!SWIG_Python_UnpackTuple(args, "plgstrm", 0, 0, 0)) SWIG_fail;
7700 plgstrm(arg1);
7701 resultobj = SWIG_Py_Void();
7702 if (SWIG_IsTmpObj(res1)) {
7703 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7704 } else {
7705 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7706 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7707 }
7708 return resultobj;
7709fail:
7710 return NULL;
7711}
7712
7713
7714SWIGINTERN PyObject *_wrap_plgver(PyObject *self, PyObject *args) {
7715 PyObject *resultobj = 0;
7716 char *arg1 = (char *) 0 ;
7717 char buff1[1000] ;
7718
7719 {
7720 arg1 = buff1;
7721 }
7722 (void)self;
7723 if (!SWIG_Python_UnpackTuple(args, "plgver", 0, 0, 0)) SWIG_fail;
7724 plgver(arg1);
7725 resultobj = SWIG_Py_Void();
7726 {
7727 PyObject *o = PyString_FromString( arg1 );
7728 resultobj = SWIG_Python_AppendOutput(resultobj, o, 1);
7729 }
7730 return resultobj;
7731fail:
7732 return NULL;
7733}
7734
7735
7736SWIGINTERN PyObject *_wrap_plgvpd(PyObject *self, PyObject *args) {
7737 PyObject *resultobj = 0;
7738 PLFLT *arg1 = (PLFLT *) 0 ;
7739 PLFLT *arg2 = (PLFLT *) 0 ;
7740 PLFLT *arg3 = (PLFLT *) 0 ;
7741 PLFLT *arg4 = (PLFLT *) 0 ;
7742 PLFLT temp1 ;
7743 int res1 = SWIG_TMPOBJ ;
7744 PLFLT temp2 ;
7745 int res2 = SWIG_TMPOBJ ;
7746 PLFLT temp3 ;
7747 int res3 = SWIG_TMPOBJ ;
7748 PLFLT temp4 ;
7749 int res4 = SWIG_TMPOBJ ;
7750
7751 arg1 = &temp1;
7752 arg2 = &temp2;
7753 arg3 = &temp3;
7754 arg4 = &temp4;
7755 (void)self;
7756 if (!SWIG_Python_UnpackTuple(args, "plgvpd", 0, 0, 0)) SWIG_fail;
7757 plgvpd(arg1,arg2,arg3,arg4);
7758 resultobj = SWIG_Py_Void();
7759 if (SWIG_IsTmpObj(res1)) {
7760 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7761 } else {
7762 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7763 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7764 }
7765 if (SWIG_IsTmpObj(res2)) {
7766 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7767 } else {
7768 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7769 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7770 }
7771 if (SWIG_IsTmpObj(res3)) {
7772 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
7773 } else {
7774 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7775 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
7776 }
7777 if (SWIG_IsTmpObj(res4)) {
7778 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7779 } else {
7780 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7781 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7782 }
7783 return resultobj;
7784fail:
7785 return NULL;
7786}
7787
7788
7789SWIGINTERN PyObject *_wrap_plgvpw(PyObject *self, PyObject *args) {
7790 PyObject *resultobj = 0;
7791 PLFLT *arg1 = (PLFLT *) 0 ;
7792 PLFLT *arg2 = (PLFLT *) 0 ;
7793 PLFLT *arg3 = (PLFLT *) 0 ;
7794 PLFLT *arg4 = (PLFLT *) 0 ;
7795 PLFLT temp1 ;
7796 int res1 = SWIG_TMPOBJ ;
7797 PLFLT temp2 ;
7798 int res2 = SWIG_TMPOBJ ;
7799 PLFLT temp3 ;
7800 int res3 = SWIG_TMPOBJ ;
7801 PLFLT temp4 ;
7802 int res4 = SWIG_TMPOBJ ;
7803
7804 arg1 = &temp1;
7805 arg2 = &temp2;
7806 arg3 = &temp3;
7807 arg4 = &temp4;
7808 (void)self;
7809 if (!SWIG_Python_UnpackTuple(args, "plgvpw", 0, 0, 0)) SWIG_fail;
7810 plgvpw(arg1,arg2,arg3,arg4);
7811 resultobj = SWIG_Py_Void();
7812 if (SWIG_IsTmpObj(res1)) {
7813 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7814 } else {
7815 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7816 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7817 }
7818 if (SWIG_IsTmpObj(res2)) {
7819 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7820 } else {
7821 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7822 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7823 }
7824 if (SWIG_IsTmpObj(res3)) {
7825 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
7826 } else {
7827 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7828 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
7829 }
7830 if (SWIG_IsTmpObj(res4)) {
7831 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7832 } else {
7833 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7834 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7835 }
7836 return resultobj;
7837fail:
7838 return NULL;
7839}
7840
7841
7842SWIGINTERN PyObject *_wrap_plgxax(PyObject *self, PyObject *args) {
7843 PyObject *resultobj = 0;
7844 PLINT *arg1 = (PLINT *) 0 ;
7845 PLINT *arg2 = (PLINT *) 0 ;
7846 PLINT temp1 ;
7847 int res1 = SWIG_TMPOBJ ;
7848 PLINT temp2 ;
7849 int res2 = SWIG_TMPOBJ ;
7850
7851 arg1 = &temp1;
7852 arg2 = &temp2;
7853 (void)self;
7854 if (!SWIG_Python_UnpackTuple(args, "plgxax", 0, 0, 0)) SWIG_fail;
7855 plgxax(arg1,arg2);
7856 resultobj = SWIG_Py_Void();
7857 if (SWIG_IsTmpObj(res1)) {
7858 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7859 } else {
7860 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7861 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7862 }
7863 if (SWIG_IsTmpObj(res2)) {
7864 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7865 } else {
7866 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7867 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7868 }
7869 return resultobj;
7870fail:
7871 return NULL;
7872}
7873
7874
7875SWIGINTERN PyObject *_wrap_plgyax(PyObject *self, PyObject *args) {
7876 PyObject *resultobj = 0;
7877 PLINT *arg1 = (PLINT *) 0 ;
7878 PLINT *arg2 = (PLINT *) 0 ;
7879 PLINT temp1 ;
7880 int res1 = SWIG_TMPOBJ ;
7881 PLINT temp2 ;
7882 int res2 = SWIG_TMPOBJ ;
7883
7884 arg1 = &temp1;
7885 arg2 = &temp2;
7886 (void)self;
7887 if (!SWIG_Python_UnpackTuple(args, "plgyax", 0, 0, 0)) SWIG_fail;
7888 plgyax(arg1,arg2);
7889 resultobj = SWIG_Py_Void();
7890 if (SWIG_IsTmpObj(res1)) {
7891 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7892 } else {
7893 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7894 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7895 }
7896 if (SWIG_IsTmpObj(res2)) {
7897 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7898 } else {
7899 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7900 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7901 }
7902 return resultobj;
7903fail:
7904 return NULL;
7905}
7906
7907
7908SWIGINTERN PyObject *_wrap_plgzax(PyObject *self, PyObject *args) {
7909 PyObject *resultobj = 0;
7910 PLINT *arg1 = (PLINT *) 0 ;
7911 PLINT *arg2 = (PLINT *) 0 ;
7912 PLINT temp1 ;
7913 int res1 = SWIG_TMPOBJ ;
7914 PLINT temp2 ;
7915 int res2 = SWIG_TMPOBJ ;
7916
7917 arg1 = &temp1;
7918 arg2 = &temp2;
7919 (void)self;
7920 if (!SWIG_Python_UnpackTuple(args, "plgzax", 0, 0, 0)) SWIG_fail;
7921 plgzax(arg1,arg2);
7922 resultobj = SWIG_Py_Void();
7923 if (SWIG_IsTmpObj(res1)) {
7924 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7925 } else {
7926 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7927 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7928 }
7929 if (SWIG_IsTmpObj(res2)) {
7930 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7931 } else {
7932 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7933 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7934 }
7935 return resultobj;
7936fail:
7937 return NULL;
7938}
7939
7940
7941SWIGINTERN PyObject *_wrap_plhist(PyObject *self, PyObject *args) {
7942 PyObject *resultobj = 0;
7943 PLINT arg1 ;
7944 PLFLT *arg2 = (PLFLT *) 0 ;
7945 PLFLT arg3 ;
7946 PLFLT arg4 ;
7947 PLINT arg5 ;
7948 PLINT arg6 ;
7949 PyArrayObject *tmp1 = NULL ;
7950 double val3 ;
7951 int ecode3 = 0 ;
7952 double val4 ;
7953 int ecode4 = 0 ;
7954 int val5 ;
7955 int ecode5 = 0 ;
7956 int val6 ;
7957 int ecode6 = 0 ;
7958 PyObject *swig_obj[5] ;
7959
7960 (void)self;
7961 if (!SWIG_Python_UnpackTuple(args, "plhist", 5, 5, swig_obj)) SWIG_fail;
7962 {
7963 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
7964 if ( tmp1 == NULL )
7965 return NULL;
7966 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
7967 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
7968 }
7969 ecode3 = SWIG_AsVal_double(swig_obj[1], &val3);
7970 if (!SWIG_IsOK(ecode3)) {
7971 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plhist" "', argument " "3"" of type '" "PLFLT""'");
7972 }
7973 arg3 = (PLFLT)(val3);
7974 ecode4 = SWIG_AsVal_double(swig_obj[2], &val4);
7975 if (!SWIG_IsOK(ecode4)) {
7976 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plhist" "', argument " "4"" of type '" "PLFLT""'");
7977 }
7978 arg4 = (PLFLT)(val4);
7979 ecode5 = SWIG_AsVal_int(swig_obj[3], &val5);
7980 if (!SWIG_IsOK(ecode5)) {
7981 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plhist" "', argument " "5"" of type '" "PLINT""'");
7982 }
7983 arg5 = (PLINT)(val5);
7984 ecode6 = SWIG_AsVal_int(swig_obj[4], &val6);
7985 if (!SWIG_IsOK(ecode6)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plhist" "', argument " "6"" of type '" "PLINT""'");
7987 }
7988 arg6 = (PLINT)(val6);
7989 plhist(arg1,(double const *)arg2,arg3,arg4,arg5,arg6);
7990 resultobj = SWIG_Py_Void();
7991 {
7992 Py_CLEAR( tmp1 );
7993 }
7994 return resultobj;
7995fail:
7996 {
7997 Py_CLEAR( tmp1 );
7998 }
7999 return NULL;
8000}
8001
8002
8003SWIGINTERN PyObject *_wrap_plhlsrgb(PyObject *self, PyObject *args) {
8004 PyObject *resultobj = 0;
8005 PLFLT arg1 ;
8006 PLFLT arg2 ;
8007 PLFLT arg3 ;
8008 PLFLT *arg4 = (PLFLT *) 0 ;
8009 PLFLT *arg5 = (PLFLT *) 0 ;
8010 PLFLT *arg6 = (PLFLT *) 0 ;
8011 double val1 ;
8012 int ecode1 = 0 ;
8013 double val2 ;
8014 int ecode2 = 0 ;
8015 double val3 ;
8016 int ecode3 = 0 ;
8017 PLFLT temp4 ;
8018 int res4 = SWIG_TMPOBJ ;
8019 PLFLT temp5 ;
8020 int res5 = SWIG_TMPOBJ ;
8021 PLFLT temp6 ;
8022 int res6 = SWIG_TMPOBJ ;
8023 PyObject *swig_obj[3] ;
8024
8025 arg4 = &temp4;
8026 arg5 = &temp5;
8027 arg6 = &temp6;
8028 (void)self;
8029 if (!SWIG_Python_UnpackTuple(args, "plhlsrgb", 3, 3, swig_obj)) SWIG_fail;
8030 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
8031 if (!SWIG_IsOK(ecode1)) {
8032 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plhlsrgb" "', argument " "1"" of type '" "PLFLT""'");
8033 }
8034 arg1 = (PLFLT)(val1);
8035 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
8036 if (!SWIG_IsOK(ecode2)) {
8037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plhlsrgb" "', argument " "2"" of type '" "PLFLT""'");
8038 }
8039 arg2 = (PLFLT)(val2);
8040 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
8041 if (!SWIG_IsOK(ecode3)) {
8042 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plhlsrgb" "', argument " "3"" of type '" "PLFLT""'");
8043 }
8044 arg3 = (PLFLT)(val3);
8045 plhlsrgb(arg1,arg2,arg3,arg4,arg5,arg6);
8046 resultobj = SWIG_Py_Void();
8047 if (SWIG_IsTmpObj(res4)) {
8048 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
8049 } else {
8050 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8051 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
8052 }
8053 if (SWIG_IsTmpObj(res5)) {
8054 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg5)), 1);
8055 } else {
8056 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8057 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags), 1);
8058 }
8059 if (SWIG_IsTmpObj(res6)) {
8060 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg6)), 1);
8061 } else {
8062 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8063 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags), 1);
8064 }
8065 return resultobj;
8066fail:
8067 return NULL;
8068}
8069
8070
8071SWIGINTERN PyObject *_wrap_plinit(PyObject *self, PyObject *args) {
8072 PyObject *resultobj = 0;
8073
8074 (void)self;
8075 if (!SWIG_Python_UnpackTuple(args, "plinit", 0, 0, 0)) SWIG_fail;
8076 plinit();
8077 resultobj = SWIG_Py_Void();
8078 return resultobj;
8079fail:
8080 return NULL;
8081}
8082
8083
8084SWIGINTERN PyObject *_wrap_pljoin(PyObject *self, PyObject *args) {
8085 PyObject *resultobj = 0;
8086 PLFLT arg1 ;
8087 PLFLT arg2 ;
8088 PLFLT arg3 ;
8089 PLFLT arg4 ;
8090 double val1 ;
8091 int ecode1 = 0 ;
8092 double val2 ;
8093 int ecode2 = 0 ;
8094 double val3 ;
8095 int ecode3 = 0 ;
8096 double val4 ;
8097 int ecode4 = 0 ;
8098 PyObject *swig_obj[4] ;
8099
8100 (void)self;
8101 if (!SWIG_Python_UnpackTuple(args, "pljoin", 4, 4, swig_obj)) SWIG_fail;
8102 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
8103 if (!SWIG_IsOK(ecode1)) {
8104 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pljoin" "', argument " "1"" of type '" "PLFLT""'");
8105 }
8106 arg1 = (PLFLT)(val1);
8107 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
8108 if (!SWIG_IsOK(ecode2)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pljoin" "', argument " "2"" of type '" "PLFLT""'");
8110 }
8111 arg2 = (PLFLT)(val2);
8112 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
8113 if (!SWIG_IsOK(ecode3)) {
8114 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pljoin" "', argument " "3"" of type '" "PLFLT""'");
8115 }
8116 arg3 = (PLFLT)(val3);
8117 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
8118 if (!SWIG_IsOK(ecode4)) {
8119 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pljoin" "', argument " "4"" of type '" "PLFLT""'");
8120 }
8121 arg4 = (PLFLT)(val4);
8122 pljoin(arg1,arg2,arg3,arg4);
8123 resultobj = SWIG_Py_Void();
8124 return resultobj;
8125fail:
8126 return NULL;
8127}
8128
8129
8130SWIGINTERN PyObject *_wrap_pllab(PyObject *self, PyObject *args) {
8131 PyObject *resultobj = 0;
8132 char *arg1 = (char *) 0 ;
8133 char *arg2 = (char *) 0 ;
8134 char *arg3 = (char *) 0 ;
8135 int res1 ;
8136 char *buf1 = 0 ;
8137 int alloc1 = 0 ;
8138 int res2 ;
8139 char *buf2 = 0 ;
8140 int alloc2 = 0 ;
8141 int res3 ;
8142 char *buf3 = 0 ;
8143 int alloc3 = 0 ;
8144 PyObject *swig_obj[3] ;
8145
8146 (void)self;
8147 if (!SWIG_Python_UnpackTuple(args, "pllab", 3, 3, swig_obj)) SWIG_fail;
8148 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
8149 if (!SWIG_IsOK(res1)) {
8150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pllab" "', argument " "1"" of type '" "char const *""'");
8151 }
8152 arg1 = (char *)(buf1);
8153 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
8154 if (!SWIG_IsOK(res2)) {
8155 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pllab" "', argument " "2"" of type '" "char const *""'");
8156 }
8157 arg2 = (char *)(buf2);
8158 res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
8159 if (!SWIG_IsOK(res3)) {
8160 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pllab" "', argument " "3"" of type '" "char const *""'");
8161 }
8162 arg3 = (char *)(buf3);
8163 pllab((char const *)arg1,(char const *)arg2,(char const *)arg3);
8164 resultobj = SWIG_Py_Void();
8165 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8166 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8167 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8168 return resultobj;
8169fail:
8170 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8171 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8172 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8173 return NULL;
8174}
8175
8176
8177SWIGINTERN PyObject *_wrap_pllegend(PyObject *self, PyObject *args) {
8178 PyObject *resultobj = 0;
8179 PLFLT *arg1 = (PLFLT *) 0 ;
8180 PLFLT *arg2 = (PLFLT *) 0 ;
8181 PLINT arg3 ;
8182 PLINT arg4 ;
8183 PLFLT arg5 ;
8184 PLFLT arg6 ;
8185 PLFLT arg7 ;
8186 PLINT arg8 ;
8187 PLINT arg9 ;
8188 PLINT arg10 ;
8189 PLINT arg11 ;
8190 PLINT arg12 ;
8191 PLINT arg13 ;
8192 PLINT *arg14 = (PLINT *) 0 ;
8193 PLFLT arg15 ;
8194 PLFLT arg16 ;
8195 PLFLT arg17 ;
8196 PLFLT arg18 ;
8197 PLINT *arg19 = (PLINT *) 0 ;
8198 char **arg20 = (char **) 0 ;
8199 PLINT *arg21 = (PLINT *) 0 ;
8200 PLINT *arg22 = (PLINT *) 0 ;
8201 PLFLT *arg23 = (PLFLT *) 0 ;
8202 PLFLT *arg24 = (PLFLT *) 0 ;
8203 PLINT *arg25 = (PLINT *) 0 ;
8204 PLINT *arg26 = (PLINT *) 0 ;
8205 PLFLT *arg27 = (PLFLT *) 0 ;
8206 PLINT *arg28 = (PLINT *) 0 ;
8207 PLFLT *arg29 = (PLFLT *) 0 ;
8208 PLINT *arg30 = (PLINT *) 0 ;
8209 char **arg31 = (char **) 0 ;
8210 PLFLT temp1 ;
8211 int res1 = SWIG_TMPOBJ ;
8212 PLFLT temp2 ;
8213 int res2 = SWIG_TMPOBJ ;
8214 int val3 ;
8215 int ecode3 = 0 ;
8216 int val4 ;
8217 int ecode4 = 0 ;
8218 double val5 ;
8219 int ecode5 = 0 ;
8220 double val6 ;
8221 int ecode6 = 0 ;
8222 double val7 ;
8223 int ecode7 = 0 ;
8224 int val8 ;
8225 int ecode8 = 0 ;
8226 int val9 ;
8227 int ecode9 = 0 ;
8228 int val10 ;
8229 int ecode10 = 0 ;
8230 int val11 ;
8231 int ecode11 = 0 ;
8232 int val12 ;
8233 int ecode12 = 0 ;
8234 PyArrayObject *tmp13 = NULL ;
8235 double val15 ;
8236 int ecode15 = 0 ;
8237 double val16 ;
8238 int ecode16 = 0 ;
8239 double val17 ;
8240 int ecode17 = 0 ;
8241 double val18 ;
8242 int ecode18 = 0 ;
8243 PyArrayObject *tmp19 = NULL ;
8244 PyArrayObject *tmp20 = NULL ;
8245 PyArrayObject *tmp21 = NULL ;
8246 PyArrayObject *tmp22 = NULL ;
8247 PyArrayObject *tmp23 = NULL ;
8248 PyArrayObject *tmp24 = NULL ;
8249 PyArrayObject *tmp25 = NULL ;
8250 PyArrayObject *tmp26 = NULL ;
8251 PyArrayObject *tmp27 = NULL ;
8252 PyArrayObject *tmp28 = NULL ;
8253 PyArrayObject *tmp29 = NULL ;
8254 PyArrayObject *tmp30 = NULL ;
8255 PyArrayObject *tmp31 = NULL ;
8256 PyObject *swig_obj[28] ;
8257
8258 arg1 = &temp1;
8259 arg2 = &temp2;
8260 (void)self;
8261 if (!SWIG_Python_UnpackTuple(args, "pllegend", 28, 28, swig_obj)) SWIG_fail;
8262 ecode3 = SWIG_AsVal_int(swig_obj[0], &val3);
8263 if (!SWIG_IsOK(ecode3)) {
8264 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pllegend" "', argument " "3"" of type '" "PLINT""'");
8265 }
8266 arg3 = (PLINT)(val3);
8267 ecode4 = SWIG_AsVal_int(swig_obj[1], &val4);
8268 if (!SWIG_IsOK(ecode4)) {
8269 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pllegend" "', argument " "4"" of type '" "PLINT""'");
8270 }
8271 arg4 = (PLINT)(val4);
8272 ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
8273 if (!SWIG_IsOK(ecode5)) {
8274 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pllegend" "', argument " "5"" of type '" "PLFLT""'");
8275 }
8276 arg5 = (PLFLT)(val5);
8277 ecode6 = SWIG_AsVal_double(swig_obj[3], &val6);
8278 if (!SWIG_IsOK(ecode6)) {
8279 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "pllegend" "', argument " "6"" of type '" "PLFLT""'");
8280 }
8281 arg6 = (PLFLT)(val6);
8282 ecode7 = SWIG_AsVal_double(swig_obj[4], &val7);
8283 if (!SWIG_IsOK(ecode7)) {
8284 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "pllegend" "', argument " "7"" of type '" "PLFLT""'");
8285 }
8286 arg7 = (PLFLT)(val7);
8287 ecode8 = SWIG_AsVal_int(swig_obj[5], &val8);
8288 if (!SWIG_IsOK(ecode8)) {
8289 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "pllegend" "', argument " "8"" of type '" "PLINT""'");
8290 }
8291 arg8 = (PLINT)(val8);
8292 ecode9 = SWIG_AsVal_int(swig_obj[6], &val9);
8293 if (!SWIG_IsOK(ecode9)) {
8294 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "pllegend" "', argument " "9"" of type '" "PLINT""'");
8295 }
8296 arg9 = (PLINT)(val9);
8297 ecode10 = SWIG_AsVal_int(swig_obj[7], &val10);
8298 if (!SWIG_IsOK(ecode10)) {
8299 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "pllegend" "', argument " "10"" of type '" "PLINT""'");
8300 }
8301 arg10 = (PLINT)(val10);
8302 ecode11 = SWIG_AsVal_int(swig_obj[8], &val11);
8303 if (!SWIG_IsOK(ecode11)) {
8304 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "pllegend" "', argument " "11"" of type '" "PLINT""'");
8305 }
8306 arg11 = (PLINT)(val11);
8307 ecode12 = SWIG_AsVal_int(swig_obj[9], &val12);
8308 if (!SWIG_IsOK(ecode12)) {
8309 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "pllegend" "', argument " "12"" of type '" "PLINT""'");
8310 }
8311 arg12 = (PLINT)(val12);
8312 {
8313 tmp13 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[10], NPY_PLINT, 1, 1 );
8314 if ( tmp13 == NULL )
8315 return NULL;
8316 arg13 = Alen = PyArray_DIMS( tmp13 )[0];
8317 arg14 = (PLINT *) PyArray_DATA( tmp13 );
8318 }
8319 ecode15 = SWIG_AsVal_double(swig_obj[11], &val15);
8320 if (!SWIG_IsOK(ecode15)) {
8321 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "pllegend" "', argument " "15"" of type '" "PLFLT""'");
8322 }
8323 arg15 = (PLFLT)(val15);
8324 ecode16 = SWIG_AsVal_double(swig_obj[12], &val16);
8325 if (!SWIG_IsOK(ecode16)) {
8326 SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "pllegend" "', argument " "16"" of type '" "PLFLT""'");
8327 }
8328 arg16 = (PLFLT)(val16);
8329 ecode17 = SWIG_AsVal_double(swig_obj[13], &val17);
8330 if (!SWIG_IsOK(ecode17)) {
8331 SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "pllegend" "', argument " "17"" of type '" "PLFLT""'");
8332 }
8333 arg17 = (PLFLT)(val17);
8334 ecode18 = SWIG_AsVal_double(swig_obj[14], &val18);
8335 if (!SWIG_IsOK(ecode18)) {
8336 SWIG_exception_fail(SWIG_ArgError(ecode18), "in method '" "pllegend" "', argument " "18"" of type '" "PLFLT""'");
8337 }
8338 arg18 = (PLFLT)(val18);
8339 {
8340 tmp19 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[15], NPY_PLINT, 1, 1 );
8341 if ( tmp19 == NULL )
8342 return NULL;
8343 if ( PyArray_DIMS( tmp19 )[0] != Alen )
8344 {
8345 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8346 return NULL;
8347 }
8348 arg19 = (PLINT *) PyArray_DATA( tmp19 );
8349 }
8350 {
8351 int i;
8352 tmp20 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[16], NPY_STRING, 1, 1 );
8353 if ( tmp20 == NULL )
8354 return NULL;
8355 if ( PyArray_DIMS( tmp20 )[0] != Alen )
8356 {
8357 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8358 return NULL;
8359 }
8360 arg20 = (char **) malloc( sizeof ( char* ) * (size_t) Alen );
8361 for ( i = 0; i < Alen; i++ )
8362 {
8363 arg20[i] = (char *) PyArray_DATA( tmp20 ) + i * PyArray_STRIDES( tmp20 )[0];
8364 if ( arg20[i] == NULL )
8365 {
8366 free( arg20 );
8367 return NULL;
8368 }
8369 }
8370 }
8371 {
8372 tmp21 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[17], NPY_PLINT, 1, 1 );
8373 if ( tmp21 == NULL )
8374 return NULL;
8375 if ( PyArray_DIMS( tmp21 )[0] != Alen )
8376 {
8377 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8378 return NULL;
8379 }
8380 arg21 = (PLINT *) PyArray_DATA( tmp21 );
8381 }
8382 {
8383 tmp22 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[18], NPY_PLINT, 1, 1 );
8384 if ( tmp22 == NULL )
8385 return NULL;
8386 if ( PyArray_DIMS( tmp22 )[0] != Alen )
8387 {
8388 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8389 return NULL;
8390 }
8391 arg22 = (PLINT *) PyArray_DATA( tmp22 );
8392 }
8393 {
8394 if ( swig_obj[19] != Py_None )
8395 {
8396 tmp23 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[19], NPY_PLFLT, 1, 1 );
8397 if ( tmp23 == NULL )
8398 return NULL;
8399 if ( PyArray_DIMS( tmp23 )[0] != Alen )
8400 {
8401 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8402 return NULL;
8403 }
8404 arg23 = (PLFLT *) PyArray_DATA( tmp23 );
8405 }
8406 else
8407 {
8408 arg23 = NULL;
8409 }
8410 }
8411 {
8412 if ( swig_obj[20] != Py_None )
8413 {
8414 tmp24 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[20], NPY_PLFLT, 1, 1 );
8415 if ( tmp24 == NULL )
8416 return NULL;
8417 if ( PyArray_DIMS( tmp24 )[0] != Alen )
8418 {
8419 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8420 return NULL;
8421 }
8422 arg24 = (PLFLT *) PyArray_DATA( tmp24 );
8423 }
8424 else
8425 {
8426 arg24 = NULL;
8427 }
8428 }
8429 {
8430 tmp25 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[21], NPY_PLINT, 1, 1 );
8431 if ( tmp25 == NULL )
8432 return NULL;
8433 if ( PyArray_DIMS( tmp25 )[0] != Alen )
8434 {
8435 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8436 return NULL;
8437 }
8438 arg25 = (PLINT *) PyArray_DATA( tmp25 );
8439 }
8440 {
8441 tmp26 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[22], NPY_PLINT, 1, 1 );
8442 if ( tmp26 == NULL )
8443 return NULL;
8444 if ( PyArray_DIMS( tmp26 )[0] != Alen )
8445 {
8446 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8447 return NULL;
8448 }
8449 arg26 = (PLINT *) PyArray_DATA( tmp26 );
8450 }
8451 {
8452 if ( swig_obj[23] != Py_None )
8453 {
8454 tmp27 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[23], NPY_PLFLT, 1, 1 );
8455 if ( tmp27 == NULL )
8456 return NULL;
8457 if ( PyArray_DIMS( tmp27 )[0] != Alen )
8458 {
8459 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8460 return NULL;
8461 }
8462 arg27 = (PLFLT *) PyArray_DATA( tmp27 );
8463 }
8464 else
8465 {
8466 arg27 = NULL;
8467 }
8468 }
8469 {
8470 tmp28 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[24], NPY_PLINT, 1, 1 );
8471 if ( tmp28 == NULL )
8472 return NULL;
8473 if ( PyArray_DIMS( tmp28 )[0] != Alen )
8474 {
8475 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8476 return NULL;
8477 }
8478 arg28 = (PLINT *) PyArray_DATA( tmp28 );
8479 }
8480 {
8481 if ( swig_obj[25] != Py_None )
8482 {
8483 tmp29 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[25], NPY_PLFLT, 1, 1 );
8484 if ( tmp29 == NULL )
8485 return NULL;
8486 if ( PyArray_DIMS( tmp29 )[0] != Alen )
8487 {
8488 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8489 return NULL;
8490 }
8491 arg29 = (PLFLT *) PyArray_DATA( tmp29 );
8492 }
8493 else
8494 {
8495 arg29 = NULL;
8496 }
8497 }
8498 {
8499 tmp30 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[26], NPY_PLINT, 1, 1 );
8500 if ( tmp30 == NULL )
8501 return NULL;
8502 if ( PyArray_DIMS( tmp30 )[0] != Alen )
8503 {
8504 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8505 return NULL;
8506 }
8507 arg30 = (PLINT *) PyArray_DATA( tmp30 );
8508 }
8509 {
8510 int i;
8511 tmp31 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[27], NPY_STRING, 1, 1 );
8512 if ( tmp31 == NULL )
8513 return NULL;
8514 if ( PyArray_DIMS( tmp31 )[0] != Alen )
8515 {
8516 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8517 return NULL;
8518 }
8519 arg31 = (char **) malloc( sizeof ( char* ) * (size_t) Alen );
8520 for ( i = 0; i < Alen; i++ )
8521 {
8522 arg31[i] = (char *) PyArray_DATA( tmp31 ) + i * PyArray_STRIDES( tmp31 )[0];
8523 if ( arg31[i] == NULL )
8524 {
8525 free( arg31 );
8526 return NULL;
8527 }
8528 }
8529 }
8530 pllegend(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,(int const *)arg14,arg15,arg16,arg17,arg18,(int const *)arg19,(char const **)arg20,(int const *)arg21,(int const *)arg22,(double const *)arg23,(double const *)arg24,(int const *)arg25,(int const *)arg26,(double const *)arg27,(int const *)arg28,(double const *)arg29,(int const *)arg30,(char const **)arg31);
8531 resultobj = SWIG_Py_Void();
8532 if (SWIG_IsTmpObj(res1)) {
8533 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
8534 } else {
8535 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8536 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
8537 }
8538 if (SWIG_IsTmpObj(res2)) {
8539 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
8540 } else {
8541 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8542 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
8543 }
8544 {
8545 Py_CLEAR( tmp13 );
8546 }
8547 {
8548 Py_CLEAR( tmp19 );
8549 }
8550 {
8551 Py_CLEAR( tmp20 ); free( arg20 );
8552 }
8553 {
8554 Py_CLEAR( tmp21 );
8555 }
8556 {
8557 Py_CLEAR( tmp22 );
8558 }
8559 {
8560 Py_CLEAR( tmp23 );
8561 }
8562 {
8563 Py_CLEAR( tmp24 );
8564 }
8565 {
8566 Py_CLEAR( tmp25 );
8567 }
8568 {
8569 Py_CLEAR( tmp26 );
8570 }
8571 {
8572 Py_CLEAR( tmp27 );
8573 }
8574 {
8575 Py_CLEAR( tmp28 );
8576 }
8577 {
8578 Py_CLEAR( tmp29 );
8579 }
8580 {
8581 Py_CLEAR( tmp30 );
8582 }
8583 {
8584 Py_CLEAR( tmp31 ); free( arg31 );
8585 }
8586 return resultobj;
8587fail:
8588 {
8589 Py_CLEAR( tmp13 );
8590 }
8591 {
8592 Py_CLEAR( tmp19 );
8593 }
8594 {
8595 Py_CLEAR( tmp20 ); free( arg20 );
8596 }
8597 {
8598 Py_CLEAR( tmp21 );
8599 }
8600 {
8601 Py_CLEAR( tmp22 );
8602 }
8603 {
8604 Py_CLEAR( tmp23 );
8605 }
8606 {
8607 Py_CLEAR( tmp24 );
8608 }
8609 {
8610 Py_CLEAR( tmp25 );
8611 }
8612 {
8613 Py_CLEAR( tmp26 );
8614 }
8615 {
8616 Py_CLEAR( tmp27 );
8617 }
8618 {
8619 Py_CLEAR( tmp28 );
8620 }
8621 {
8622 Py_CLEAR( tmp29 );
8623 }
8624 {
8625 Py_CLEAR( tmp30 );
8626 }
8627 {
8628 Py_CLEAR( tmp31 ); free( arg31 );
8629 }
8630 return NULL;
8631}
8632
8633
8634SWIGINTERN PyObject *_wrap_plcolorbar(PyObject *self, PyObject *args) {
8635 PyObject *resultobj = 0;
8636 PLFLT *arg1 = (PLFLT *) 0 ;
8637 PLFLT *arg2 = (PLFLT *) 0 ;
8638 PLINT arg3 ;
8639 PLINT arg4 ;
8640 PLFLT arg5 ;
8641 PLFLT arg6 ;
8642 PLFLT arg7 ;
8643 PLFLT arg8 ;
8644 PLINT arg9 ;
8645 PLINT arg10 ;
8646 PLINT arg11 ;
8647 PLFLT arg12 ;
8648 PLFLT arg13 ;
8649 PLINT arg14 ;
8650 PLFLT arg15 ;
8651 PLINT arg16 ;
8652 PLINT *arg17 = (PLINT *) 0 ;
8653 char **arg18 = (char **) 0 ;
8654 PLINT arg19 ;
8655 char **arg20 = (char **) 0 ;
8656 PLFLT *arg21 = (PLFLT *) 0 ;
8657 PLINT *arg22 = (PLINT *) 0 ;
8658 PLINT *arg23 = (PLINT *) 0 ;
8659 PLFLT **arg24 = (PLFLT **) 0 ;
8660 PLFLT temp1 ;
8661 int res1 = SWIG_TMPOBJ ;
8662 PLFLT temp2 ;
8663 int res2 = SWIG_TMPOBJ ;
8664 int val3 ;
8665 int ecode3 = 0 ;
8666 int val4 ;
8667 int ecode4 = 0 ;
8668 double val5 ;
8669 int ecode5 = 0 ;
8670 double val6 ;
8671 int ecode6 = 0 ;
8672 double val7 ;
8673 int ecode7 = 0 ;
8674 double val8 ;
8675 int ecode8 = 0 ;
8676 int val9 ;
8677 int ecode9 = 0 ;
8678 int val10 ;
8679 int ecode10 = 0 ;
8680 int val11 ;
8681 int ecode11 = 0 ;
8682 double val12 ;
8683 int ecode12 = 0 ;
8684 double val13 ;
8685 int ecode13 = 0 ;
8686 int val14 ;
8687 int ecode14 = 0 ;
8688 double val15 ;
8689 int ecode15 = 0 ;
8690 PyArrayObject *tmp16 = NULL ;
8691 PyArrayObject *tmp18 = NULL ;
8692 PyArrayObject *tmp19 = NULL ;
8693 PyArrayObject *tmp21 = NULL ;
8694 PyArrayObject *tmp22 = NULL ;
8695 PyArrayObject *tmp23 = NULL ;
8696 PyArrayObject *tmp24 = NULL ;
8697 PyObject *swig_obj[20] ;
8698
8699 arg1 = &temp1;
8700 arg2 = &temp2;
8701 (void)self;
8702 if (!SWIG_Python_UnpackTuple(args, "plcolorbar", 20, 20, swig_obj)) SWIG_fail;
8703 ecode3 = SWIG_AsVal_int(swig_obj[0], &val3);
8704 if (!SWIG_IsOK(ecode3)) {
8705 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plcolorbar" "', argument " "3"" of type '" "PLINT""'");
8706 }
8707 arg3 = (PLINT)(val3);
8708 ecode4 = SWIG_AsVal_int(swig_obj[1], &val4);
8709 if (!SWIG_IsOK(ecode4)) {
8710 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcolorbar" "', argument " "4"" of type '" "PLINT""'");
8711 }
8712 arg4 = (PLINT)(val4);
8713 ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
8714 if (!SWIG_IsOK(ecode5)) {
8715 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcolorbar" "', argument " "5"" of type '" "PLFLT""'");
8716 }
8717 arg5 = (PLFLT)(val5);
8718 ecode6 = SWIG_AsVal_double(swig_obj[3], &val6);
8719 if (!SWIG_IsOK(ecode6)) {
8720 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcolorbar" "', argument " "6"" of type '" "PLFLT""'");
8721 }
8722 arg6 = (PLFLT)(val6);
8723 ecode7 = SWIG_AsVal_double(swig_obj[4], &val7);
8724 if (!SWIG_IsOK(ecode7)) {
8725 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcolorbar" "', argument " "7"" of type '" "PLFLT""'");
8726 }
8727 arg7 = (PLFLT)(val7);
8728 ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
8729 if (!SWIG_IsOK(ecode8)) {
8730 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plcolorbar" "', argument " "8"" of type '" "PLFLT""'");
8731 }
8732 arg8 = (PLFLT)(val8);
8733 ecode9 = SWIG_AsVal_int(swig_obj[6], &val9);
8734 if (!SWIG_IsOK(ecode9)) {
8735 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plcolorbar" "', argument " "9"" of type '" "PLINT""'");
8736 }
8737 arg9 = (PLINT)(val9);
8738 ecode10 = SWIG_AsVal_int(swig_obj[7], &val10);
8739 if (!SWIG_IsOK(ecode10)) {
8740 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plcolorbar" "', argument " "10"" of type '" "PLINT""'");
8741 }
8742 arg10 = (PLINT)(val10);
8743 ecode11 = SWIG_AsVal_int(swig_obj[8], &val11);
8744 if (!SWIG_IsOK(ecode11)) {
8745 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plcolorbar" "', argument " "11"" of type '" "PLINT""'");
8746 }
8747 arg11 = (PLINT)(val11);
8748 ecode12 = SWIG_AsVal_double(swig_obj[9], &val12);
8749 if (!SWIG_IsOK(ecode12)) {
8750 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plcolorbar" "', argument " "12"" of type '" "PLFLT""'");
8751 }
8752 arg12 = (PLFLT)(val12);
8753 ecode13 = SWIG_AsVal_double(swig_obj[10], &val13);
8754 if (!SWIG_IsOK(ecode13)) {
8755 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plcolorbar" "', argument " "13"" of type '" "PLFLT""'");
8756 }
8757 arg13 = (PLFLT)(val13);
8758 ecode14 = SWIG_AsVal_int(swig_obj[11], &val14);
8759 if (!SWIG_IsOK(ecode14)) {
8760 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plcolorbar" "', argument " "14"" of type '" "PLINT""'");
8761 }
8762 arg14 = (PLINT)(val14);
8763 ecode15 = SWIG_AsVal_double(swig_obj[12], &val15);
8764 if (!SWIG_IsOK(ecode15)) {
8765 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plcolorbar" "', argument " "15"" of type '" "PLFLT""'");
8766 }
8767 arg15 = (PLFLT)(val15);
8768 {
8769 tmp16 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[13], NPY_PLINT, 1, 1 );
8770 if ( tmp16 == NULL )
8771 return NULL;
8772 arg16 = Alen = PyArray_DIMS( tmp16 )[0];
8773 arg17 = (PLINT *) PyArray_DATA( tmp16 );
8774 }
8775 {
8776 int i;
8777 tmp18 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[14], NPY_STRING, 1, 1 );
8778 if ( tmp18 == NULL )
8779 return NULL;
8780 if ( PyArray_DIMS( tmp18 )[0] != Alen )
8781 {
8782 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8783 return NULL;
8784 }
8785 arg18 = (char **) malloc( sizeof ( char* ) * (size_t) Alen );
8786 for ( i = 0; i < Alen; i++ )
8787 {
8788 arg18[i] = (char *) PyArray_DATA( tmp18 ) + i * PyArray_STRIDES( tmp18 )[0];
8789 if ( arg18[i] == NULL )
8790 {
8791 free( arg18 );
8792 return NULL;
8793 }
8794 }
8795 }
8796 {
8797 int i;
8798 tmp19 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[15], NPY_STRING, 1, 1 );
8799 if ( tmp19 == NULL )
8800 return NULL;
8801 Alen = PyArray_DIMS( tmp19 )[0];
8802 arg19 = Alen;
8803 arg20 = (char **) malloc( sizeof ( char* ) * (size_t) Alen );
8804 for ( i = 0; i < Alen; i++ )
8805 {
8806 arg20[i] = (char *) PyArray_DATA( tmp19 ) + i * PyArray_STRIDES( tmp19 )[0];
8807 if ( arg20[i] == NULL )
8808 {
8809 free( arg20 );
8810 return NULL;
8811 }
8812 }
8813 }
8814 {
8815 tmp21 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[16], NPY_PLFLT, 1, 1 );
8816 if ( tmp21 == NULL )
8817 return NULL;
8818 if ( PyArray_DIMS( tmp21 )[0] != Alen )
8819 {
8820 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8821 return NULL;
8822 }
8823 arg21 = (PLFLT *) PyArray_DATA( tmp21 );
8824 }
8825 {
8826 tmp22 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[17], NPY_PLINT, 1, 1 );
8827 if ( tmp22 == NULL )
8828 return NULL;
8829 if ( PyArray_DIMS( tmp22 )[0] != Alen )
8830 {
8831 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8832 return NULL;
8833 }
8834 arg22 = (PLINT *) PyArray_DATA( tmp22 );
8835 }
8836 {
8837 int i;
8838 tmp23 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[18], NPY_PLINT, 1, 1 );
8839 if ( tmp23 == NULL )
8840 return NULL;
8841 if ( PyArray_DIMS( tmp23 )[0] != Alen )
8842 {
8843 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8844 return NULL;
8845 }
8846 Xlen = PyArray_DIMS( tmp23 )[0];
8847 arg23 = (PLINT *) PyArray_DATA( tmp23 );
8848 Ylen = -1;
8849 for ( i = 0; i < Xlen; i++ )
8850 if ( arg23[i] > Ylen )
8851 Ylen = arg23[i];
8852 }
8853 {
8854 int i, size;
8855 tmp24 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[19], NPY_PLFLT, 2, 2 );
8856 if ( tmp24 == NULL )
8857 return NULL;
8858 if ( PyArray_DIMS( tmp24 )[0] != Xlen || PyArray_DIMS( tmp24 )[1] != Ylen )
8859 {
8860 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
8861 return NULL;
8862 }
8863 size = Ylen;
8864 arg24 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) Xlen );
8865 for ( i = 0; i < Xlen; i++ )
8866 arg24[i] = ( (PLFLT *) PyArray_DATA( tmp24 ) + i * size );
8867 }
8868 plcolorbar(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,(int const *)arg17,(char const **)arg18,arg19,(char const **)arg20,(double const *)arg21,(int const *)arg22,(int const *)arg23,(double const **)arg24);
8869 resultobj = SWIG_Py_Void();
8870 if (SWIG_IsTmpObj(res1)) {
8871 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
8872 } else {
8873 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8874 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
8875 }
8876 if (SWIG_IsTmpObj(res2)) {
8877 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
8878 } else {
8879 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8880 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
8881 }
8882 {
8883 Py_CLEAR( tmp16 );
8884 }
8885 {
8886 Py_CLEAR( tmp18 ); free( arg18 );
8887 }
8888 {
8889 Py_CLEAR( tmp19 ); free( arg20 );
8890 }
8891 {
8892 Py_CLEAR( tmp21 );
8893 }
8894 {
8895 Py_CLEAR( tmp22 );
8896 }
8897 {
8898 Py_CLEAR( tmp23 );
8899 }
8900 {
8901 Py_CLEAR( tmp24 );
8902 free( arg24 );
8903 }
8904 return resultobj;
8905fail:
8906 {
8907 Py_CLEAR( tmp16 );
8908 }
8909 {
8910 Py_CLEAR( tmp18 ); free( arg18 );
8911 }
8912 {
8913 Py_CLEAR( tmp19 ); free( arg20 );
8914 }
8915 {
8916 Py_CLEAR( tmp21 );
8917 }
8918 {
8919 Py_CLEAR( tmp22 );
8920 }
8921 {
8922 Py_CLEAR( tmp23 );
8923 }
8924 {
8925 Py_CLEAR( tmp24 );
8926 free( arg24 );
8927 }
8928 return NULL;
8929}
8930
8931
8932SWIGINTERN PyObject *_wrap_pllightsource(PyObject *self, PyObject *args) {
8933 PyObject *resultobj = 0;
8934 PLFLT arg1 ;
8935 PLFLT arg2 ;
8936 PLFLT arg3 ;
8937 double val1 ;
8938 int ecode1 = 0 ;
8939 double val2 ;
8940 int ecode2 = 0 ;
8941 double val3 ;
8942 int ecode3 = 0 ;
8943 PyObject *swig_obj[3] ;
8944
8945 (void)self;
8946 if (!SWIG_Python_UnpackTuple(args, "pllightsource", 3, 3, swig_obj)) SWIG_fail;
8947 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
8948 if (!SWIG_IsOK(ecode1)) {
8949 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pllightsource" "', argument " "1"" of type '" "PLFLT""'");
8950 }
8951 arg1 = (PLFLT)(val1);
8952 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
8953 if (!SWIG_IsOK(ecode2)) {
8954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pllightsource" "', argument " "2"" of type '" "PLFLT""'");
8955 }
8956 arg2 = (PLFLT)(val2);
8957 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
8958 if (!SWIG_IsOK(ecode3)) {
8959 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pllightsource" "', argument " "3"" of type '" "PLFLT""'");
8960 }
8961 arg3 = (PLFLT)(val3);
8962 pllightsource(arg1,arg2,arg3);
8963 resultobj = SWIG_Py_Void();
8964 return resultobj;
8965fail:
8966 return NULL;
8967}
8968
8969
8970SWIGINTERN PyObject *_wrap_plline(PyObject *self, PyObject *args) {
8971 PyObject *resultobj = 0;
8972 PLINT arg1 ;
8973 PLFLT *arg2 = (PLFLT *) 0 ;
8974 PLFLT *arg3 = (PLFLT *) 0 ;
8975 PyArrayObject *tmp1 = NULL ;
8976 PyArrayObject *tmp3 = NULL ;
8977 PyObject *swig_obj[2] ;
8978
8979 (void)self;
8980 if (!SWIG_Python_UnpackTuple(args, "plline", 2, 2, swig_obj)) SWIG_fail;
8981 {
8982 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
8983 if ( tmp1 == NULL )
8984 return NULL;
8985 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
8986 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
8987 }
8988 {
8989 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
8990 if ( tmp3 == NULL )
8991 return NULL;
8992 if ( PyArray_DIMS( tmp3 )[0] != Alen )
8993 {
8994 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8995 return NULL;
8996 }
8997 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
8998 }
8999 plline(arg1,(double const *)arg2,(double const *)arg3);
9000 resultobj = SWIG_Py_Void();
9001 {
9002 Py_CLEAR( tmp1 );
9003 }
9004 {
9005 Py_CLEAR( tmp3 );
9006 }
9007 return resultobj;
9008fail:
9009 {
9010 Py_CLEAR( tmp1 );
9011 }
9012 {
9013 Py_CLEAR( tmp3 );
9014 }
9015 return NULL;
9016}
9017
9018
9019SWIGINTERN PyObject *_wrap_plline3(PyObject *self, PyObject *args) {
9020 PyObject *resultobj = 0;
9021 PLINT arg1 ;
9022 PLFLT *arg2 = (PLFLT *) 0 ;
9023 PLFLT *arg3 = (PLFLT *) 0 ;
9024 PLFLT *arg4 = (PLFLT *) 0 ;
9025 PyArrayObject *tmp1 = NULL ;
9026 PyArrayObject *tmp3 = NULL ;
9027 PyArrayObject *tmp4 = NULL ;
9028 PyObject *swig_obj[3] ;
9029
9030 (void)self;
9031 if (!SWIG_Python_UnpackTuple(args, "plline3", 3, 3, swig_obj)) SWIG_fail;
9032 {
9033 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9034 if ( tmp1 == NULL )
9035 return NULL;
9036 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
9037 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
9038 }
9039 {
9040 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9041 if ( tmp3 == NULL )
9042 return NULL;
9043 if ( PyArray_DIMS( tmp3 )[0] != Alen )
9044 {
9045 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
9046 return NULL;
9047 }
9048 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
9049 }
9050 {
9051 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
9052 if ( tmp4 == NULL )
9053 return NULL;
9054 if ( PyArray_DIMS( tmp4 )[0] != Alen )
9055 {
9056 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
9057 return NULL;
9058 }
9059 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
9060 }
9061 plline3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
9062 resultobj = SWIG_Py_Void();
9063 {
9064 Py_CLEAR( tmp1 );
9065 }
9066 {
9067 Py_CLEAR( tmp3 );
9068 }
9069 {
9070 Py_CLEAR( tmp4 );
9071 }
9072 return resultobj;
9073fail:
9074 {
9075 Py_CLEAR( tmp1 );
9076 }
9077 {
9078 Py_CLEAR( tmp3 );
9079 }
9080 {
9081 Py_CLEAR( tmp4 );
9082 }
9083 return NULL;
9084}
9085
9086
9087SWIGINTERN PyObject *_wrap_pllsty(PyObject *self, PyObject *args) {
9088 PyObject *resultobj = 0;
9089 PLINT arg1 ;
9090 int val1 ;
9091 int ecode1 = 0 ;
9092 PyObject *swig_obj[1] ;
9093
9094 (void)self;
9095 if (!args) SWIG_fail;
9096 swig_obj[0] = args;
9097 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
9098 if (!SWIG_IsOK(ecode1)) {
9099 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pllsty" "', argument " "1"" of type '" "PLINT""'");
9100 }
9101 arg1 = (PLINT)(val1);
9102 pllsty(arg1);
9103 resultobj = SWIG_Py_Void();
9104 return resultobj;
9105fail:
9106 return NULL;
9107}
9108
9109
9110SWIGINTERN PyObject *_wrap_plmesh(PyObject *self, PyObject *args) {
9111 PyObject *resultobj = 0;
9112 PLFLT *arg1 = (PLFLT *) 0 ;
9113 PLFLT *arg2 = (PLFLT *) 0 ;
9114 PLFLT **arg3 = (PLFLT **) 0 ;
9115 PLINT arg4 ;
9116 PLINT arg5 ;
9117 PLINT arg6 ;
9118 PyArrayObject *tmp1 = NULL ;
9119 PyArrayObject *tmp2 = NULL ;
9120 PyArrayObject *tmp3 = NULL ;
9121 int val6 ;
9122 int ecode6 = 0 ;
9123 PyObject *swig_obj[4] ;
9124
9125 (void)self;
9126 if (!SWIG_Python_UnpackTuple(args, "plmesh", 4, 4, swig_obj)) SWIG_fail;
9127 {
9128 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9129 if ( tmp1 == NULL )
9130 return NULL;
9131 Xlen = PyArray_DIMS( tmp1 )[0];
9132 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9133 }
9134 {
9135 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9136 if ( tmp2 == NULL )
9137 return NULL;
9138 Ylen = PyArray_DIMS( tmp2 )[0];
9139 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9140 }
9141 {
9142 int i, size;
9143 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9144 if ( tmp3 == NULL )
9145 return NULL;
9146 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9147 {
9148 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9149 return NULL;
9150 }
9151 arg4 = PyArray_DIMS( tmp3 )[0];
9152 arg5 = PyArray_DIMS( tmp3 )[1];
9153 size = arg5;
9154 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9155 for ( i = 0; i < arg4; i++ )
9156 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9157 }
9158 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9159 if (!SWIG_IsOK(ecode6)) {
9160 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmesh" "', argument " "6"" of type '" "PLINT""'");
9161 }
9162 arg6 = (PLINT)(val6);
9163 plmesh((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6);
9164 resultobj = SWIG_Py_Void();
9165 {
9166 Py_CLEAR( tmp1 );
9167 }
9168 {
9169 Py_CLEAR( tmp2 );
9170 }
9171 {
9172 Py_CLEAR( tmp3 );
9173 free( arg3 );
9174 }
9175 return resultobj;
9176fail:
9177 {
9178 Py_CLEAR( tmp1 );
9179 }
9180 {
9181 Py_CLEAR( tmp2 );
9182 }
9183 {
9184 Py_CLEAR( tmp3 );
9185 free( arg3 );
9186 }
9187 return NULL;
9188}
9189
9190
9191SWIGINTERN PyObject *_wrap_plmeshc(PyObject *self, PyObject *args) {
9192 PyObject *resultobj = 0;
9193 PLFLT *arg1 = (PLFLT *) 0 ;
9194 PLFLT *arg2 = (PLFLT *) 0 ;
9195 PLFLT **arg3 = (PLFLT **) 0 ;
9196 PLINT arg4 ;
9197 PLINT arg5 ;
9198 PLINT arg6 ;
9199 PLFLT *arg7 = (PLFLT *) 0 ;
9200 PLINT arg8 ;
9201 PyArrayObject *tmp1 = NULL ;
9202 PyArrayObject *tmp2 = NULL ;
9203 PyArrayObject *tmp3 = NULL ;
9204 int val6 ;
9205 int ecode6 = 0 ;
9206 PyArrayObject *tmp7 = NULL ;
9207 PyObject *swig_obj[5] ;
9208
9209 (void)self;
9210 if (!SWIG_Python_UnpackTuple(args, "plmeshc", 5, 5, swig_obj)) SWIG_fail;
9211 {
9212 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9213 if ( tmp1 == NULL )
9214 return NULL;
9215 Xlen = PyArray_DIMS( tmp1 )[0];
9216 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9217 }
9218 {
9219 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9220 if ( tmp2 == NULL )
9221 return NULL;
9222 Ylen = PyArray_DIMS( tmp2 )[0];
9223 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9224 }
9225 {
9226 int i, size;
9227 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9228 if ( tmp3 == NULL )
9229 return NULL;
9230 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9231 {
9232 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9233 return NULL;
9234 }
9235 arg4 = PyArray_DIMS( tmp3 )[0];
9236 arg5 = PyArray_DIMS( tmp3 )[1];
9237 size = arg5;
9238 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9239 for ( i = 0; i < arg4; i++ )
9240 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9241 }
9242 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9243 if (!SWIG_IsOK(ecode6)) {
9244 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmeshc" "', argument " "6"" of type '" "PLINT""'");
9245 }
9246 arg6 = (PLINT)(val6);
9247 {
9248 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
9249 if ( tmp7 == NULL )
9250 return NULL;
9251 arg8 = PyArray_DIMS( tmp7 )[0];
9252 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9253 }
9254 plmeshc((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
9255 resultobj = SWIG_Py_Void();
9256 {
9257 Py_CLEAR( tmp1 );
9258 }
9259 {
9260 Py_CLEAR( tmp2 );
9261 }
9262 {
9263 Py_CLEAR( tmp3 );
9264 free( arg3 );
9265 }
9266 {
9267 Py_CLEAR( tmp7 );
9268 }
9269 return resultobj;
9270fail:
9271 {
9272 Py_CLEAR( tmp1 );
9273 }
9274 {
9275 Py_CLEAR( tmp2 );
9276 }
9277 {
9278 Py_CLEAR( tmp3 );
9279 free( arg3 );
9280 }
9281 {
9282 Py_CLEAR( tmp7 );
9283 }
9284 return NULL;
9285}
9286
9287
9288SWIGINTERN PyObject *_wrap_plmkstrm(PyObject *self, PyObject *args) {
9289 PyObject *resultobj = 0;
9290 PLINT *arg1 = (PLINT *) 0 ;
9291 PLINT temp1 ;
9292 int res1 = SWIG_TMPOBJ ;
9293
9294 arg1 = &temp1;
9295 (void)self;
9296 if (!SWIG_Python_UnpackTuple(args, "plmkstrm", 0, 0, 0)) SWIG_fail;
9297 plmkstrm(arg1);
9298 resultobj = SWIG_Py_Void();
9299 if (SWIG_IsTmpObj(res1)) {
9300 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
9301 } else {
9302 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9303 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
9304 }
9305 return resultobj;
9306fail:
9307 return NULL;
9308}
9309
9310
9311SWIGINTERN PyObject *_wrap_plmtex(PyObject *self, PyObject *args) {
9312 PyObject *resultobj = 0;
9313 char *arg1 = (char *) 0 ;
9314 PLFLT arg2 ;
9315 PLFLT arg3 ;
9316 PLFLT arg4 ;
9317 char *arg5 = (char *) 0 ;
9318 int res1 ;
9319 char *buf1 = 0 ;
9320 int alloc1 = 0 ;
9321 double val2 ;
9322 int ecode2 = 0 ;
9323 double val3 ;
9324 int ecode3 = 0 ;
9325 double val4 ;
9326 int ecode4 = 0 ;
9327 int res5 ;
9328 char *buf5 = 0 ;
9329 int alloc5 = 0 ;
9330 PyObject *swig_obj[5] ;
9331
9332 (void)self;
9333 if (!SWIG_Python_UnpackTuple(args, "plmtex", 5, 5, swig_obj)) SWIG_fail;
9334 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
9335 if (!SWIG_IsOK(res1)) {
9336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plmtex" "', argument " "1"" of type '" "char const *""'");
9337 }
9338 arg1 = (char *)(buf1);
9339 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
9340 if (!SWIG_IsOK(ecode2)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plmtex" "', argument " "2"" of type '" "PLFLT""'");
9342 }
9343 arg2 = (PLFLT)(val2);
9344 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
9345 if (!SWIG_IsOK(ecode3)) {
9346 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmtex" "', argument " "3"" of type '" "PLFLT""'");
9347 }
9348 arg3 = (PLFLT)(val3);
9349 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
9350 if (!SWIG_IsOK(ecode4)) {
9351 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmtex" "', argument " "4"" of type '" "PLFLT""'");
9352 }
9353 arg4 = (PLFLT)(val4);
9354 res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
9355 if (!SWIG_IsOK(res5)) {
9356 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plmtex" "', argument " "5"" of type '" "char const *""'");
9357 }
9358 arg5 = (char *)(buf5);
9359 plmtex((char const *)arg1,arg2,arg3,arg4,(char const *)arg5);
9360 resultobj = SWIG_Py_Void();
9361 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9362 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9363 return resultobj;
9364fail:
9365 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9366 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9367 return NULL;
9368}
9369
9370
9371SWIGINTERN PyObject *_wrap_plmtex3(PyObject *self, PyObject *args) {
9372 PyObject *resultobj = 0;
9373 char *arg1 = (char *) 0 ;
9374 PLFLT arg2 ;
9375 PLFLT arg3 ;
9376 PLFLT arg4 ;
9377 char *arg5 = (char *) 0 ;
9378 int res1 ;
9379 char *buf1 = 0 ;
9380 int alloc1 = 0 ;
9381 double val2 ;
9382 int ecode2 = 0 ;
9383 double val3 ;
9384 int ecode3 = 0 ;
9385 double val4 ;
9386 int ecode4 = 0 ;
9387 int res5 ;
9388 char *buf5 = 0 ;
9389 int alloc5 = 0 ;
9390 PyObject *swig_obj[5] ;
9391
9392 (void)self;
9393 if (!SWIG_Python_UnpackTuple(args, "plmtex3", 5, 5, swig_obj)) SWIG_fail;
9394 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
9395 if (!SWIG_IsOK(res1)) {
9396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plmtex3" "', argument " "1"" of type '" "char const *""'");
9397 }
9398 arg1 = (char *)(buf1);
9399 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
9400 if (!SWIG_IsOK(ecode2)) {
9401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plmtex3" "', argument " "2"" of type '" "PLFLT""'");
9402 }
9403 arg2 = (PLFLT)(val2);
9404 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
9405 if (!SWIG_IsOK(ecode3)) {
9406 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmtex3" "', argument " "3"" of type '" "PLFLT""'");
9407 }
9408 arg3 = (PLFLT)(val3);
9409 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
9410 if (!SWIG_IsOK(ecode4)) {
9411 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmtex3" "', argument " "4"" of type '" "PLFLT""'");
9412 }
9413 arg4 = (PLFLT)(val4);
9414 res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
9415 if (!SWIG_IsOK(res5)) {
9416 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plmtex3" "', argument " "5"" of type '" "char const *""'");
9417 }
9418 arg5 = (char *)(buf5);
9419 plmtex3((char const *)arg1,arg2,arg3,arg4,(char const *)arg5);
9420 resultobj = SWIG_Py_Void();
9421 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9422 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9423 return resultobj;
9424fail:
9425 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9426 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9427 return NULL;
9428}
9429
9430
9431SWIGINTERN PyObject *_wrap_plot3d(PyObject *self, PyObject *args) {
9432 PyObject *resultobj = 0;
9433 PLFLT *arg1 = (PLFLT *) 0 ;
9434 PLFLT *arg2 = (PLFLT *) 0 ;
9435 PLFLT **arg3 = (PLFLT **) 0 ;
9436 PLINT arg4 ;
9437 PLINT arg5 ;
9438 PLINT arg6 ;
9439 PLBOOL arg7 ;
9440 PyArrayObject *tmp1 = NULL ;
9441 PyArrayObject *tmp2 = NULL ;
9442 PyArrayObject *tmp3 = NULL ;
9443 int val6 ;
9444 int ecode6 = 0 ;
9445 int val7 ;
9446 int ecode7 = 0 ;
9447 PyObject *swig_obj[5] ;
9448
9449 (void)self;
9450 if (!SWIG_Python_UnpackTuple(args, "plot3d", 5, 5, swig_obj)) SWIG_fail;
9451 {
9452 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9453 if ( tmp1 == NULL )
9454 return NULL;
9455 Xlen = PyArray_DIMS( tmp1 )[0];
9456 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9457 }
9458 {
9459 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9460 if ( tmp2 == NULL )
9461 return NULL;
9462 Ylen = PyArray_DIMS( tmp2 )[0];
9463 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9464 }
9465 {
9466 int i, size;
9467 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9468 if ( tmp3 == NULL )
9469 return NULL;
9470 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9471 {
9472 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9473 return NULL;
9474 }
9475 arg4 = PyArray_DIMS( tmp3 )[0];
9476 arg5 = PyArray_DIMS( tmp3 )[1];
9477 size = arg5;
9478 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9479 for ( i = 0; i < arg4; i++ )
9480 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9481 }
9482 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9483 if (!SWIG_IsOK(ecode6)) {
9484 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plot3d" "', argument " "6"" of type '" "PLINT""'");
9485 }
9486 arg6 = (PLINT)(val6);
9487 ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
9488 if (!SWIG_IsOK(ecode7)) {
9489 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plot3d" "', argument " "7"" of type '" "PLBOOL""'");
9490 }
9491 arg7 = (PLBOOL)(val7);
9492 plot3d((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6,arg7);
9493 resultobj = SWIG_Py_Void();
9494 {
9495 Py_CLEAR( tmp1 );
9496 }
9497 {
9498 Py_CLEAR( tmp2 );
9499 }
9500 {
9501 Py_CLEAR( tmp3 );
9502 free( arg3 );
9503 }
9504 return resultobj;
9505fail:
9506 {
9507 Py_CLEAR( tmp1 );
9508 }
9509 {
9510 Py_CLEAR( tmp2 );
9511 }
9512 {
9513 Py_CLEAR( tmp3 );
9514 free( arg3 );
9515 }
9516 return NULL;
9517}
9518
9519
9520SWIGINTERN PyObject *_wrap_plot3dc(PyObject *self, PyObject *args) {
9521 PyObject *resultobj = 0;
9522 PLFLT *arg1 = (PLFLT *) 0 ;
9523 PLFLT *arg2 = (PLFLT *) 0 ;
9524 PLFLT **arg3 = (PLFLT **) 0 ;
9525 PLINT arg4 ;
9526 PLINT arg5 ;
9527 PLINT arg6 ;
9528 PLFLT *arg7 = (PLFLT *) 0 ;
9529 PLINT arg8 ;
9530 PyArrayObject *tmp1 = NULL ;
9531 PyArrayObject *tmp2 = NULL ;
9532 PyArrayObject *tmp3 = NULL ;
9533 int val6 ;
9534 int ecode6 = 0 ;
9535 PyArrayObject *tmp7 = NULL ;
9536 PyObject *swig_obj[5] ;
9537
9538 (void)self;
9539 if (!SWIG_Python_UnpackTuple(args, "plot3dc", 5, 5, swig_obj)) SWIG_fail;
9540 {
9541 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9542 if ( tmp1 == NULL )
9543 return NULL;
9544 Xlen = PyArray_DIMS( tmp1 )[0];
9545 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9546 }
9547 {
9548 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9549 if ( tmp2 == NULL )
9550 return NULL;
9551 Ylen = PyArray_DIMS( tmp2 )[0];
9552 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9553 }
9554 {
9555 int i, size;
9556 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9557 if ( tmp3 == NULL )
9558 return NULL;
9559 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9560 {
9561 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9562 return NULL;
9563 }
9564 arg4 = PyArray_DIMS( tmp3 )[0];
9565 arg5 = PyArray_DIMS( tmp3 )[1];
9566 size = arg5;
9567 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9568 for ( i = 0; i < arg4; i++ )
9569 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9570 }
9571 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9572 if (!SWIG_IsOK(ecode6)) {
9573 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plot3dc" "', argument " "6"" of type '" "PLINT""'");
9574 }
9575 arg6 = (PLINT)(val6);
9576 {
9577 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
9578 if ( tmp7 == NULL )
9579 return NULL;
9580 arg8 = PyArray_DIMS( tmp7 )[0];
9581 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9582 }
9583 plot3dc((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
9584 resultobj = SWIG_Py_Void();
9585 {
9586 Py_CLEAR( tmp1 );
9587 }
9588 {
9589 Py_CLEAR( tmp2 );
9590 }
9591 {
9592 Py_CLEAR( tmp3 );
9593 free( arg3 );
9594 }
9595 {
9596 Py_CLEAR( tmp7 );
9597 }
9598 return resultobj;
9599fail:
9600 {
9601 Py_CLEAR( tmp1 );
9602 }
9603 {
9604 Py_CLEAR( tmp2 );
9605 }
9606 {
9607 Py_CLEAR( tmp3 );
9608 free( arg3 );
9609 }
9610 {
9611 Py_CLEAR( tmp7 );
9612 }
9613 return NULL;
9614}
9615
9616
9617SWIGINTERN PyObject *_wrap_plot3dcl(PyObject *self, PyObject *args) {
9618 PyObject *resultobj = 0;
9619 PLFLT *arg1 = (PLFLT *) 0 ;
9620 PLFLT *arg2 = (PLFLT *) 0 ;
9621 PLFLT **arg3 = (PLFLT **) 0 ;
9622 PLINT arg4 ;
9623 PLINT arg5 ;
9624 PLINT arg6 ;
9625 PLFLT *arg7 = (PLFLT *) 0 ;
9626 PLINT arg8 ;
9627 PLINT arg9 ;
9628 PLINT arg10 ;
9629 PLINT *arg11 = (PLINT *) 0 ;
9630 PLINT *arg12 = (PLINT *) 0 ;
9631 PyArrayObject *tmp1 = NULL ;
9632 PyArrayObject *tmp2 = NULL ;
9633 PyArrayObject *tmp3 = NULL ;
9634 int val6 ;
9635 int ecode6 = 0 ;
9636 PyArrayObject *tmp7 = NULL ;
9637 int val9 ;
9638 int ecode9 = 0 ;
9639 PyArrayObject *tmp10 = NULL ;
9640 PyArrayObject *tmp12 = NULL ;
9641 PyObject *swig_obj[8] ;
9642
9643 (void)self;
9644 if (!SWIG_Python_UnpackTuple(args, "plot3dcl", 8, 8, swig_obj)) SWIG_fail;
9645 {
9646 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9647 if ( tmp1 == NULL )
9648 return NULL;
9649 Xlen = PyArray_DIMS( tmp1 )[0];
9650 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9651 }
9652 {
9653 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9654 if ( tmp2 == NULL )
9655 return NULL;
9656 Ylen = PyArray_DIMS( tmp2 )[0];
9657 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9658 }
9659 {
9660 int i, size;
9661 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9662 if ( tmp3 == NULL )
9663 return NULL;
9664 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9665 {
9666 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9667 return NULL;
9668 }
9669 arg4 = PyArray_DIMS( tmp3 )[0];
9670 arg5 = PyArray_DIMS( tmp3 )[1];
9671 size = arg5;
9672 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9673 for ( i = 0; i < arg4; i++ )
9674 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9675 }
9676 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9677 if (!SWIG_IsOK(ecode6)) {
9678 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plot3dcl" "', argument " "6"" of type '" "PLINT""'");
9679 }
9680 arg6 = (PLINT)(val6);
9681 {
9682 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
9683 if ( tmp7 == NULL )
9684 return NULL;
9685 arg8 = PyArray_DIMS( tmp7 )[0];
9686 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9687 }
9688 ecode9 = SWIG_AsVal_int(swig_obj[5], &val9);
9689 if (!SWIG_IsOK(ecode9)) {
9690 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plot3dcl" "', argument " "9"" of type '" "PLINT""'");
9691 }
9692 arg9 = (PLINT)(val9);
9693 {
9694 tmp10 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[6], NPY_PLINT, 1, 1 );
9695 if ( tmp10 == NULL )
9696 return NULL;
9697 arg10 = Alen = PyArray_DIMS( tmp10 )[0];
9698 arg11 = (PLINT *) PyArray_DATA( tmp10 );
9699 }
9700 {
9701 tmp12 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[7], NPY_PLINT, 1, 1 );
9702 if ( tmp12 == NULL )
9703 return NULL;
9704 if ( PyArray_DIMS( tmp12 )[0] != Alen )
9705 {
9706 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
9707 return NULL;
9708 }
9709 arg12 = (PLINT *) PyArray_DATA( tmp12 );
9710 }
9711 plot3dcl((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6,(double const *)arg7,arg8,arg9,arg10,(int const *)arg11,(int const *)arg12);
9712 resultobj = SWIG_Py_Void();
9713 {
9714 Py_CLEAR( tmp1 );
9715 }
9716 {
9717 Py_CLEAR( tmp2 );
9718 }
9719 {
9720 Py_CLEAR( tmp3 );
9721 free( arg3 );
9722 }
9723 {
9724 Py_CLEAR( tmp7 );
9725 }
9726 {
9727 Py_CLEAR( tmp10 );
9728 }
9729 {
9730 Py_CLEAR( tmp12 );
9731 }
9732 return resultobj;
9733fail:
9734 {
9735 Py_CLEAR( tmp1 );
9736 }
9737 {
9738 Py_CLEAR( tmp2 );
9739 }
9740 {
9741 Py_CLEAR( tmp3 );
9742 free( arg3 );
9743 }
9744 {
9745 Py_CLEAR( tmp7 );
9746 }
9747 {
9748 Py_CLEAR( tmp10 );
9749 }
9750 {
9751 Py_CLEAR( tmp12 );
9752 }
9753 return NULL;
9754}
9755
9756
9757SWIGINTERN PyObject *_wrap_plsurf3d(PyObject *self, PyObject *args) {
9758 PyObject *resultobj = 0;
9759 PLFLT *arg1 = (PLFLT *) 0 ;
9760 PLFLT *arg2 = (PLFLT *) 0 ;
9761 PLFLT **arg3 = (PLFLT **) 0 ;
9762 PLINT arg4 ;
9763 PLINT arg5 ;
9764 PLINT arg6 ;
9765 PLFLT *arg7 = (PLFLT *) 0 ;
9766 PLINT arg8 ;
9767 PyArrayObject *tmp1 = NULL ;
9768 PyArrayObject *tmp2 = NULL ;
9769 PyArrayObject *tmp3 = NULL ;
9770 int val6 ;
9771 int ecode6 = 0 ;
9772 PyArrayObject *tmp7 = NULL ;
9773 PyObject *swig_obj[5] ;
9774
9775 (void)self;
9776 if (!SWIG_Python_UnpackTuple(args, "plsurf3d", 5, 5, swig_obj)) SWIG_fail;
9777 {
9778 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9779 if ( tmp1 == NULL )
9780 return NULL;
9781 Xlen = PyArray_DIMS( tmp1 )[0];
9782 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9783 }
9784 {
9785 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9786 if ( tmp2 == NULL )
9787 return NULL;
9788 Ylen = PyArray_DIMS( tmp2 )[0];
9789 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9790 }
9791 {
9792 int i, size;
9793 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9794 if ( tmp3 == NULL )
9795 return NULL;
9796 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9797 {
9798 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9799 return NULL;
9800 }
9801 arg4 = PyArray_DIMS( tmp3 )[0];
9802 arg5 = PyArray_DIMS( tmp3 )[1];
9803 size = arg5;
9804 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9805 for ( i = 0; i < arg4; i++ )
9806 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9807 }
9808 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9809 if (!SWIG_IsOK(ecode6)) {
9810 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plsurf3d" "', argument " "6"" of type '" "PLINT""'");
9811 }
9812 arg6 = (PLINT)(val6);
9813 {
9814 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
9815 if ( tmp7 == NULL )
9816 return NULL;
9817 arg8 = PyArray_DIMS( tmp7 )[0];
9818 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9819 }
9820 plsurf3d((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
9821 resultobj = SWIG_Py_Void();
9822 {
9823 Py_CLEAR( tmp1 );
9824 }
9825 {
9826 Py_CLEAR( tmp2 );
9827 }
9828 {
9829 Py_CLEAR( tmp3 );
9830 free( arg3 );
9831 }
9832 {
9833 Py_CLEAR( tmp7 );
9834 }
9835 return resultobj;
9836fail:
9837 {
9838 Py_CLEAR( tmp1 );
9839 }
9840 {
9841 Py_CLEAR( tmp2 );
9842 }
9843 {
9844 Py_CLEAR( tmp3 );
9845 free( arg3 );
9846 }
9847 {
9848 Py_CLEAR( tmp7 );
9849 }
9850 return NULL;
9851}
9852
9853
9854SWIGINTERN PyObject *_wrap_plsurf3dl(PyObject *self, PyObject *args) {
9855 PyObject *resultobj = 0;
9856 PLFLT *arg1 = (PLFLT *) 0 ;
9857 PLFLT *arg2 = (PLFLT *) 0 ;
9858 PLFLT **arg3 = (PLFLT **) 0 ;
9859 PLINT arg4 ;
9860 PLINT arg5 ;
9861 PLINT arg6 ;
9862 PLFLT *arg7 = (PLFLT *) 0 ;
9863 PLINT arg8 ;
9864 PLINT arg9 ;
9865 PLINT arg10 ;
9866 PLINT *arg11 = (PLINT *) 0 ;
9867 PLINT *arg12 = (PLINT *) 0 ;
9868 PyArrayObject *tmp1 = NULL ;
9869 PyArrayObject *tmp2 = NULL ;
9870 PyArrayObject *tmp3 = NULL ;
9871 int val6 ;
9872 int ecode6 = 0 ;
9873 PyArrayObject *tmp7 = NULL ;
9874 int val9 ;
9875 int ecode9 = 0 ;
9876 PyArrayObject *tmp10 = NULL ;
9877 PyArrayObject *tmp12 = NULL ;
9878 PyObject *swig_obj[8] ;
9879
9880 (void)self;
9881 if (!SWIG_Python_UnpackTuple(args, "plsurf3dl", 8, 8, swig_obj)) SWIG_fail;
9882 {
9883 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9884 if ( tmp1 == NULL )
9885 return NULL;
9886 Xlen = PyArray_DIMS( tmp1 )[0];
9887 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9888 }
9889 {
9890 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9891 if ( tmp2 == NULL )
9892 return NULL;
9893 Ylen = PyArray_DIMS( tmp2 )[0];
9894 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9895 }
9896 {
9897 int i, size;
9898 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9899 if ( tmp3 == NULL )
9900 return NULL;
9901 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9902 {
9903 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9904 return NULL;
9905 }
9906 arg4 = PyArray_DIMS( tmp3 )[0];
9907 arg5 = PyArray_DIMS( tmp3 )[1];
9908 size = arg5;
9909 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9910 for ( i = 0; i < arg4; i++ )
9911 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9912 }
9913 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9914 if (!SWIG_IsOK(ecode6)) {
9915 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plsurf3dl" "', argument " "6"" of type '" "PLINT""'");
9916 }
9917 arg6 = (PLINT)(val6);
9918 {
9919 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
9920 if ( tmp7 == NULL )
9921 return NULL;
9922 arg8 = PyArray_DIMS( tmp7 )[0];
9923 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9924 }
9925 ecode9 = SWIG_AsVal_int(swig_obj[5], &val9);
9926 if (!SWIG_IsOK(ecode9)) {
9927 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plsurf3dl" "', argument " "9"" of type '" "PLINT""'");
9928 }
9929 arg9 = (PLINT)(val9);
9930 {
9931 tmp10 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[6], NPY_PLINT, 1, 1 );
9932 if ( tmp10 == NULL )
9933 return NULL;
9934 arg10 = Alen = PyArray_DIMS( tmp10 )[0];
9935 arg11 = (PLINT *) PyArray_DATA( tmp10 );
9936 }
9937 {
9938 tmp12 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[7], NPY_PLINT, 1, 1 );
9939 if ( tmp12 == NULL )
9940 return NULL;
9941 if ( PyArray_DIMS( tmp12 )[0] != Alen )
9942 {
9943 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
9944 return NULL;
9945 }
9946 arg12 = (PLINT *) PyArray_DATA( tmp12 );
9947 }
9948 plsurf3dl((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6,(double const *)arg7,arg8,arg9,arg10,(int const *)arg11,(int const *)arg12);
9949 resultobj = SWIG_Py_Void();
9950 {
9951 Py_CLEAR( tmp1 );
9952 }
9953 {
9954 Py_CLEAR( tmp2 );
9955 }
9956 {
9957 Py_CLEAR( tmp3 );
9958 free( arg3 );
9959 }
9960 {
9961 Py_CLEAR( tmp7 );
9962 }
9963 {
9964 Py_CLEAR( tmp10 );
9965 }
9966 {
9967 Py_CLEAR( tmp12 );
9968 }
9969 return resultobj;
9970fail:
9971 {
9972 Py_CLEAR( tmp1 );
9973 }
9974 {
9975 Py_CLEAR( tmp2 );
9976 }
9977 {
9978 Py_CLEAR( tmp3 );
9979 free( arg3 );
9980 }
9981 {
9982 Py_CLEAR( tmp7 );
9983 }
9984 {
9985 Py_CLEAR( tmp10 );
9986 }
9987 {
9988 Py_CLEAR( tmp12 );
9989 }
9990 return NULL;
9991}
9992
9993
9994SWIGINTERN PyObject *_wrap_plparseopts(PyObject *self, PyObject *args) {
9995 PyObject *resultobj = 0;
9996 int *arg1 = (int *) 0 ;
9997 char **arg2 = (char **) 0 ;
9998 PLINT arg3 ;
9999 int tmp1 ;
10000 int val3 ;
10001 int ecode3 = 0 ;
10002 PyObject *swig_obj[2] ;
10003 PLINT result;
10004
10005 (void)self;
10006 if (!SWIG_Python_UnpackTuple(args, "plparseopts", 2, 2, swig_obj)) SWIG_fail;
10007 {
10008 int i;
10009 PyObject *unicode_string;
10010
10011 if ( !PyList_Check( swig_obj[0] ) )
10012 {
10013 PyErr_SetString( PyExc_ValueError, "Expecting a list" );
10014 return NULL;
10015 }
10016 tmp1 = PyList_Size( swig_obj[0] );
10017 arg1 = &tmp1;
10018 arg2 = (char **) malloc( (size_t) ( tmp1 + 1 ) * sizeof ( char * ) );
10019 for ( i = 0; i < tmp1; i++ )
10020 {
10021 PyObject *s = PyList_GetItem( swig_obj[0], i );
10022 if ( PyString_Check( s ) )
10023 {
10024 arg2[i] = PyString_AsString( s );
10025 }
10026 else if ( PyUnicode_Check( s ) )
10027 {
10028 // unicode_string is never freed? memory leak here?
10029 unicode_string = PyUnicode_AsEncodedString( s, "utf-8", "Error ~" );
10030 arg2[i] = PyBytes_AS_STRING( unicode_string );
10031 }
10032 else
10033 {
10034 free( arg2 );
10035 PyErr_SetString( PyExc_ValueError, "List items must be strings" );
10036 return NULL;
10037 }
10038 }
10039 arg2[i] = 0;
10040 }
10041 ecode3 = SWIG_AsVal_int(swig_obj[1], &val3);
10042 if (!SWIG_IsOK(ecode3)) {
10043 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plparseopts" "', argument " "3"" of type '" "PLINT""'");
10044 }
10045 arg3 = (PLINT)(val3);
10046 result = (PLINT)plparseopts(arg1,arg2,arg3);
10047 resultobj = SWIG_From_int((int)(result));
10048 {
10049 if ( arg2 )
10050 free( arg2 );
10051 }
10052 return resultobj;
10053fail:
10054 {
10055 if ( arg2 )
10056 free( arg2 );
10057 }
10058 return NULL;
10059}
10060
10061
10062SWIGINTERN PyObject *_wrap_plpat(PyObject *self, PyObject *args) {
10063 PyObject *resultobj = 0;
10064 PLINT arg1 ;
10065 PLINT *arg2 = (PLINT *) 0 ;
10066 PLINT *arg3 = (PLINT *) 0 ;
10067 PyArrayObject *tmp1 = NULL ;
10068 PyArrayObject *tmp3 = NULL ;
10069 PyObject *swig_obj[2] ;
10070
10071 (void)self;
10072 if (!SWIG_Python_UnpackTuple(args, "plpat", 2, 2, swig_obj)) SWIG_fail;
10073 {
10074 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
10075 if ( tmp1 == NULL )
10076 return NULL;
10077 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10078 arg2 = (PLINT *) PyArray_DATA( tmp1 );
10079 }
10080 {
10081 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
10082 if ( tmp3 == NULL )
10083 return NULL;
10084 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10085 {
10086 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10087 return NULL;
10088 }
10089 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10090 }
10091 plpat(arg1,(int const *)arg2,(int const *)arg3);
10092 resultobj = SWIG_Py_Void();
10093 {
10094 Py_CLEAR( tmp1 );
10095 }
10096 {
10097 Py_CLEAR( tmp3 );
10098 }
10099 return resultobj;
10100fail:
10101 {
10102 Py_CLEAR( tmp1 );
10103 }
10104 {
10105 Py_CLEAR( tmp3 );
10106 }
10107 return NULL;
10108}
10109
10110
10111SWIGINTERN PyObject *_wrap_plpath(PyObject *self, PyObject *args) {
10112 PyObject *resultobj = 0;
10113 PLINT arg1 ;
10114 PLFLT arg2 ;
10115 PLFLT arg3 ;
10116 PLFLT arg4 ;
10117 PLFLT arg5 ;
10118 int val1 ;
10119 int ecode1 = 0 ;
10120 double val2 ;
10121 int ecode2 = 0 ;
10122 double val3 ;
10123 int ecode3 = 0 ;
10124 double val4 ;
10125 int ecode4 = 0 ;
10126 double val5 ;
10127 int ecode5 = 0 ;
10128 PyObject *swig_obj[5] ;
10129
10130 (void)self;
10131 if (!SWIG_Python_UnpackTuple(args, "plpath", 5, 5, swig_obj)) SWIG_fail;
10132 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
10133 if (!SWIG_IsOK(ecode1)) {
10134 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plpath" "', argument " "1"" of type '" "PLINT""'");
10135 }
10136 arg1 = (PLINT)(val1);
10137 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
10138 if (!SWIG_IsOK(ecode2)) {
10139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plpath" "', argument " "2"" of type '" "PLFLT""'");
10140 }
10141 arg2 = (PLFLT)(val2);
10142 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
10143 if (!SWIG_IsOK(ecode3)) {
10144 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plpath" "', argument " "3"" of type '" "PLFLT""'");
10145 }
10146 arg3 = (PLFLT)(val3);
10147 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
10148 if (!SWIG_IsOK(ecode4)) {
10149 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plpath" "', argument " "4"" of type '" "PLFLT""'");
10150 }
10151 arg4 = (PLFLT)(val4);
10152 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
10153 if (!SWIG_IsOK(ecode5)) {
10154 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plpath" "', argument " "5"" of type '" "PLFLT""'");
10155 }
10156 arg5 = (PLFLT)(val5);
10157 plpath(arg1,arg2,arg3,arg4,arg5);
10158 resultobj = SWIG_Py_Void();
10159 return resultobj;
10160fail:
10161 return NULL;
10162}
10163
10164
10165SWIGINTERN PyObject *_wrap_plpoin(PyObject *self, PyObject *args) {
10166 PyObject *resultobj = 0;
10167 PLINT arg1 ;
10168 PLFLT *arg2 = (PLFLT *) 0 ;
10169 PLFLT *arg3 = (PLFLT *) 0 ;
10170 PLINT arg4 ;
10171 PyArrayObject *tmp1 = NULL ;
10172 PyArrayObject *tmp3 = NULL ;
10173 int val4 ;
10174 int ecode4 = 0 ;
10175 PyObject *swig_obj[3] ;
10176
10177 (void)self;
10178 if (!SWIG_Python_UnpackTuple(args, "plpoin", 3, 3, swig_obj)) SWIG_fail;
10179 {
10180 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
10181 if ( tmp1 == NULL )
10182 return NULL;
10183 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10184 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
10185 }
10186 {
10187 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
10188 if ( tmp3 == NULL )
10189 return NULL;
10190 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10191 {
10192 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10193 return NULL;
10194 }
10195 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
10196 }
10197 ecode4 = SWIG_AsVal_int(swig_obj[2], &val4);
10198 if (!SWIG_IsOK(ecode4)) {
10199 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plpoin" "', argument " "4"" of type '" "PLINT""'");
10200 }
10201 arg4 = (PLINT)(val4);
10202 plpoin(arg1,(double const *)arg2,(double const *)arg3,arg4);
10203 resultobj = SWIG_Py_Void();
10204 {
10205 Py_CLEAR( tmp1 );
10206 }
10207 {
10208 Py_CLEAR( tmp3 );
10209 }
10210 return resultobj;
10211fail:
10212 {
10213 Py_CLEAR( tmp1 );
10214 }
10215 {
10216 Py_CLEAR( tmp3 );
10217 }
10218 return NULL;
10219}
10220
10221
10222SWIGINTERN PyObject *_wrap_plpoin3(PyObject *self, PyObject *args) {
10223 PyObject *resultobj = 0;
10224 PLINT arg1 ;
10225 PLFLT *arg2 = (PLFLT *) 0 ;
10226 PLFLT *arg3 = (PLFLT *) 0 ;
10227 PLFLT *arg4 = (PLFLT *) 0 ;
10228 PLINT arg5 ;
10229 PyArrayObject *tmp1 = NULL ;
10230 PyArrayObject *tmp3 = NULL ;
10231 PyArrayObject *tmp4 = NULL ;
10232 int val5 ;
10233 int ecode5 = 0 ;
10234 PyObject *swig_obj[4] ;
10235
10236 (void)self;
10237 if (!SWIG_Python_UnpackTuple(args, "plpoin3", 4, 4, swig_obj)) SWIG_fail;
10238 {
10239 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
10240 if ( tmp1 == NULL )
10241 return NULL;
10242 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10243 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
10244 }
10245 {
10246 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
10247 if ( tmp3 == NULL )
10248 return NULL;
10249 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10250 {
10251 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10252 return NULL;
10253 }
10254 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
10255 }
10256 {
10257 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
10258 if ( tmp4 == NULL )
10259 return NULL;
10260 if ( PyArray_DIMS( tmp4 )[0] != Alen )
10261 {
10262 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10263 return NULL;
10264 }
10265 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10266 }
10267 ecode5 = SWIG_AsVal_int(swig_obj[3], &val5);
10268 if (!SWIG_IsOK(ecode5)) {
10269 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plpoin3" "', argument " "5"" of type '" "PLINT""'");
10270 }
10271 arg5 = (PLINT)(val5);
10272 plpoin3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4,arg5);
10273 resultobj = SWIG_Py_Void();
10274 {
10275 Py_CLEAR( tmp1 );
10276 }
10277 {
10278 Py_CLEAR( tmp3 );
10279 }
10280 {
10281 Py_CLEAR( tmp4 );
10282 }
10283 return resultobj;
10284fail:
10285 {
10286 Py_CLEAR( tmp1 );
10287 }
10288 {
10289 Py_CLEAR( tmp3 );
10290 }
10291 {
10292 Py_CLEAR( tmp4 );
10293 }
10294 return NULL;
10295}
10296
10297
10298SWIGINTERN PyObject *_wrap_plpoly3(PyObject *self, PyObject *args) {
10299 PyObject *resultobj = 0;
10300 PLINT arg1 ;
10301 PLFLT *arg2 = (PLFLT *) 0 ;
10302 PLFLT *arg3 = (PLFLT *) 0 ;
10303 PLFLT *arg4 = (PLFLT *) 0 ;
10304 PLBOOL *arg5 = (PLBOOL *) 0 ;
10305 PLBOOL arg6 ;
10306 PyArrayObject *tmp1 = NULL ;
10307 PyArrayObject *tmp3 = NULL ;
10308 PyArrayObject *tmp4 = NULL ;
10309 PyArrayObject *tmp5 = NULL ;
10310 int val6 ;
10311 int ecode6 = 0 ;
10312 PyObject *swig_obj[5] ;
10313
10314 (void)self;
10315 if (!SWIG_Python_UnpackTuple(args, "plpoly3", 5, 5, swig_obj)) SWIG_fail;
10316 {
10317 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
10318 if ( tmp1 == NULL )
10319 return NULL;
10320 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10321 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
10322 }
10323 {
10324 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
10325 if ( tmp3 == NULL )
10326 return NULL;
10327 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10328 {
10329 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10330 return NULL;
10331 }
10332 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
10333 }
10334 {
10335 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
10336 if ( tmp4 == NULL )
10337 return NULL;
10338 if ( PyArray_DIMS( tmp4 )[0] != Alen )
10339 {
10340 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10341 return NULL;
10342 }
10343 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10344 }
10345 {
10346 tmp5 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[3], NPY_PLINT, 1, 1 );
10347 if ( tmp5 == NULL )
10348 return NULL;
10349 if ( PyArray_DIMS( tmp5 )[0] < Alen - 1 )
10350 {
10351 PyErr_SetString( PyExc_ValueError, "Vector must be at least length of others minus 1." );
10352 return NULL;
10353 }
10354 arg5 = (PLINT *) PyArray_DATA( tmp5 );
10355 }
10356 ecode6 = SWIG_AsVal_int(swig_obj[4], &val6);
10357 if (!SWIG_IsOK(ecode6)) {
10358 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plpoly3" "', argument " "6"" of type '" "PLBOOL""'");
10359 }
10360 arg6 = (PLBOOL)(val6);
10361 plpoly3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4,(int const *)arg5,arg6);
10362 resultobj = SWIG_Py_Void();
10363 {
10364 Py_CLEAR( tmp1 );
10365 }
10366 {
10367 Py_CLEAR( tmp3 );
10368 }
10369 {
10370 Py_CLEAR( tmp4 );
10371 }
10372 {
10373 Py_CLEAR( tmp5 );
10374 }
10375 return resultobj;
10376fail:
10377 {
10378 Py_CLEAR( tmp1 );
10379 }
10380 {
10381 Py_CLEAR( tmp3 );
10382 }
10383 {
10384 Py_CLEAR( tmp4 );
10385 }
10386 {
10387 Py_CLEAR( tmp5 );
10388 }
10389 return NULL;
10390}
10391
10392
10393SWIGINTERN PyObject *_wrap_plprec(PyObject *self, PyObject *args) {
10394 PyObject *resultobj = 0;
10395 PLINT arg1 ;
10396 PLINT arg2 ;
10397 int val1 ;
10398 int ecode1 = 0 ;
10399 int val2 ;
10400 int ecode2 = 0 ;
10401 PyObject *swig_obj[2] ;
10402
10403 (void)self;
10404 if (!SWIG_Python_UnpackTuple(args, "plprec", 2, 2, swig_obj)) SWIG_fail;
10405 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
10406 if (!SWIG_IsOK(ecode1)) {
10407 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plprec" "', argument " "1"" of type '" "PLINT""'");
10408 }
10409 arg1 = (PLINT)(val1);
10410 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
10411 if (!SWIG_IsOK(ecode2)) {
10412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plprec" "', argument " "2"" of type '" "PLINT""'");
10413 }
10414 arg2 = (PLINT)(val2);
10415 plprec(arg1,arg2);
10416 resultobj = SWIG_Py_Void();
10417 return resultobj;
10418fail:
10419 return NULL;
10420}
10421
10422
10423SWIGINTERN PyObject *_wrap_plpsty(PyObject *self, PyObject *args) {
10424 PyObject *resultobj = 0;
10425 PLINT arg1 ;
10426 int val1 ;
10427 int ecode1 = 0 ;
10428 PyObject *swig_obj[1] ;
10429
10430 (void)self;
10431 if (!args) SWIG_fail;
10432 swig_obj[0] = args;
10433 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
10434 if (!SWIG_IsOK(ecode1)) {
10435 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plpsty" "', argument " "1"" of type '" "PLINT""'");
10436 }
10437 arg1 = (PLINT)(val1);
10438 plpsty(arg1);
10439 resultobj = SWIG_Py_Void();
10440 return resultobj;
10441fail:
10442 return NULL;
10443}
10444
10445
10446SWIGINTERN PyObject *_wrap_plptex(PyObject *self, PyObject *args) {
10447 PyObject *resultobj = 0;
10448 PLFLT arg1 ;
10449 PLFLT arg2 ;
10450 PLFLT arg3 ;
10451 PLFLT arg4 ;
10452 PLFLT arg5 ;
10453 char *arg6 = (char *) 0 ;
10454 double val1 ;
10455 int ecode1 = 0 ;
10456 double val2 ;
10457 int ecode2 = 0 ;
10458 double val3 ;
10459 int ecode3 = 0 ;
10460 double val4 ;
10461 int ecode4 = 0 ;
10462 double val5 ;
10463 int ecode5 = 0 ;
10464 int res6 ;
10465 char *buf6 = 0 ;
10466 int alloc6 = 0 ;
10467 PyObject *swig_obj[6] ;
10468
10469 (void)self;
10470 if (!SWIG_Python_UnpackTuple(args, "plptex", 6, 6, swig_obj)) SWIG_fail;
10471 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
10472 if (!SWIG_IsOK(ecode1)) {
10473 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plptex" "', argument " "1"" of type '" "PLFLT""'");
10474 }
10475 arg1 = (PLFLT)(val1);
10476 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
10477 if (!SWIG_IsOK(ecode2)) {
10478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plptex" "', argument " "2"" of type '" "PLFLT""'");
10479 }
10480 arg2 = (PLFLT)(val2);
10481 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
10482 if (!SWIG_IsOK(ecode3)) {
10483 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plptex" "', argument " "3"" of type '" "PLFLT""'");
10484 }
10485 arg3 = (PLFLT)(val3);
10486 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
10487 if (!SWIG_IsOK(ecode4)) {
10488 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plptex" "', argument " "4"" of type '" "PLFLT""'");
10489 }
10490 arg4 = (PLFLT)(val4);
10491 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
10492 if (!SWIG_IsOK(ecode5)) {
10493 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plptex" "', argument " "5"" of type '" "PLFLT""'");
10494 }
10495 arg5 = (PLFLT)(val5);
10496 res6 = SWIG_AsCharPtrAndSize(swig_obj[5], &buf6, NULL, &alloc6);
10497 if (!SWIG_IsOK(res6)) {
10498 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plptex" "', argument " "6"" of type '" "char const *""'");
10499 }
10500 arg6 = (char *)(buf6);
10501 plptex(arg1,arg2,arg3,arg4,arg5,(char const *)arg6);
10502 resultobj = SWIG_Py_Void();
10503 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
10504 return resultobj;
10505fail:
10506 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
10507 return NULL;
10508}
10509
10510
10511SWIGINTERN PyObject *_wrap_plptex3(PyObject *self, PyObject *args) {
10512 PyObject *resultobj = 0;
10513 PLFLT arg1 ;
10514 PLFLT arg2 ;
10515 PLFLT arg3 ;
10516 PLFLT arg4 ;
10517 PLFLT arg5 ;
10518 PLFLT arg6 ;
10519 PLFLT arg7 ;
10520 PLFLT arg8 ;
10521 PLFLT arg9 ;
10522 PLFLT arg10 ;
10523 char *arg11 = (char *) 0 ;
10524 double val1 ;
10525 int ecode1 = 0 ;
10526 double val2 ;
10527 int ecode2 = 0 ;
10528 double val3 ;
10529 int ecode3 = 0 ;
10530 double val4 ;
10531 int ecode4 = 0 ;
10532 double val5 ;
10533 int ecode5 = 0 ;
10534 double val6 ;
10535 int ecode6 = 0 ;
10536 double val7 ;
10537 int ecode7 = 0 ;
10538 double val8 ;
10539 int ecode8 = 0 ;
10540 double val9 ;
10541 int ecode9 = 0 ;
10542 double val10 ;
10543 int ecode10 = 0 ;
10544 int res11 ;
10545 char *buf11 = 0 ;
10546 int alloc11 = 0 ;
10547 PyObject *swig_obj[11] ;
10548
10549 (void)self;
10550 if (!SWIG_Python_UnpackTuple(args, "plptex3", 11, 11, swig_obj)) SWIG_fail;
10551 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
10552 if (!SWIG_IsOK(ecode1)) {
10553 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plptex3" "', argument " "1"" of type '" "PLFLT""'");
10554 }
10555 arg1 = (PLFLT)(val1);
10556 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
10557 if (!SWIG_IsOK(ecode2)) {
10558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plptex3" "', argument " "2"" of type '" "PLFLT""'");
10559 }
10560 arg2 = (PLFLT)(val2);
10561 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
10562 if (!SWIG_IsOK(ecode3)) {
10563 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plptex3" "', argument " "3"" of type '" "PLFLT""'");
10564 }
10565 arg3 = (PLFLT)(val3);
10566 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
10567 if (!SWIG_IsOK(ecode4)) {
10568 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plptex3" "', argument " "4"" of type '" "PLFLT""'");
10569 }
10570 arg4 = (PLFLT)(val4);
10571 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
10572 if (!SWIG_IsOK(ecode5)) {
10573 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plptex3" "', argument " "5"" of type '" "PLFLT""'");
10574 }
10575 arg5 = (PLFLT)(val5);
10576 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
10577 if (!SWIG_IsOK(ecode6)) {
10578 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plptex3" "', argument " "6"" of type '" "PLFLT""'");
10579 }
10580 arg6 = (PLFLT)(val6);
10581 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
10582 if (!SWIG_IsOK(ecode7)) {
10583 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plptex3" "', argument " "7"" of type '" "PLFLT""'");
10584 }
10585 arg7 = (PLFLT)(val7);
10586 ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
10587 if (!SWIG_IsOK(ecode8)) {
10588 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plptex3" "', argument " "8"" of type '" "PLFLT""'");
10589 }
10590 arg8 = (PLFLT)(val8);
10591 ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
10592 if (!SWIG_IsOK(ecode9)) {
10593 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plptex3" "', argument " "9"" of type '" "PLFLT""'");
10594 }
10595 arg9 = (PLFLT)(val9);
10596 ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
10597 if (!SWIG_IsOK(ecode10)) {
10598 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plptex3" "', argument " "10"" of type '" "PLFLT""'");
10599 }
10600 arg10 = (PLFLT)(val10);
10601 res11 = SWIG_AsCharPtrAndSize(swig_obj[10], &buf11, NULL, &alloc11);
10602 if (!SWIG_IsOK(res11)) {
10603 SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "plptex3" "', argument " "11"" of type '" "char const *""'");
10604 }
10605 arg11 = (char *)(buf11);
10606 plptex3(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(char const *)arg11);
10607 resultobj = SWIG_Py_Void();
10608 if (alloc11 == SWIG_NEWOBJ) free((char*)buf11);
10609 return resultobj;
10610fail:
10611 if (alloc11 == SWIG_NEWOBJ) free((char*)buf11);
10612 return NULL;
10613}
10614
10615
10616SWIGINTERN PyObject *_wrap_plrandd(PyObject *self, PyObject *args) {
10617 PyObject *resultobj = 0;
10618 PLFLT result;
10619
10620 (void)self;
10621 if (!SWIG_Python_UnpackTuple(args, "plrandd", 0, 0, 0)) SWIG_fail;
10622 result = (PLFLT)plrandd();
10623 resultobj = SWIG_From_double((double)(result));
10624 return resultobj;
10625fail:
10626 return NULL;
10627}
10628
10629
10630SWIGINTERN PyObject *_wrap_plreplot(PyObject *self, PyObject *args) {
10631 PyObject *resultobj = 0;
10632
10633 (void)self;
10634 if (!SWIG_Python_UnpackTuple(args, "plreplot", 0, 0, 0)) SWIG_fail;
10635 plreplot();
10636 resultobj = SWIG_Py_Void();
10637 return resultobj;
10638fail:
10639 return NULL;
10640}
10641
10642
10643SWIGINTERN PyObject *_wrap_plrgbhls(PyObject *self, PyObject *args) {
10644 PyObject *resultobj = 0;
10645 PLFLT arg1 ;
10646 PLFLT arg2 ;
10647 PLFLT arg3 ;
10648 PLFLT *arg4 = (PLFLT *) 0 ;
10649 PLFLT *arg5 = (PLFLT *) 0 ;
10650 PLFLT *arg6 = (PLFLT *) 0 ;
10651 double val1 ;
10652 int ecode1 = 0 ;
10653 double val2 ;
10654 int ecode2 = 0 ;
10655 double val3 ;
10656 int ecode3 = 0 ;
10657 PLFLT temp4 ;
10658 int res4 = SWIG_TMPOBJ ;
10659 PLFLT temp5 ;
10660 int res5 = SWIG_TMPOBJ ;
10661 PLFLT temp6 ;
10662 int res6 = SWIG_TMPOBJ ;
10663 PyObject *swig_obj[3] ;
10664
10665 arg4 = &temp4;
10666 arg5 = &temp5;
10667 arg6 = &temp6;
10668 (void)self;
10669 if (!SWIG_Python_UnpackTuple(args, "plrgbhls", 3, 3, swig_obj)) SWIG_fail;
10670 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
10671 if (!SWIG_IsOK(ecode1)) {
10672 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plrgbhls" "', argument " "1"" of type '" "PLFLT""'");
10673 }
10674 arg1 = (PLFLT)(val1);
10675 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
10676 if (!SWIG_IsOK(ecode2)) {
10677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plrgbhls" "', argument " "2"" of type '" "PLFLT""'");
10678 }
10679 arg2 = (PLFLT)(val2);
10680 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
10681 if (!SWIG_IsOK(ecode3)) {
10682 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plrgbhls" "', argument " "3"" of type '" "PLFLT""'");
10683 }
10684 arg3 = (PLFLT)(val3);
10685 plrgbhls(arg1,arg2,arg3,arg4,arg5,arg6);
10686 resultobj = SWIG_Py_Void();
10687 if (SWIG_IsTmpObj(res4)) {
10688 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
10689 } else {
10690 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10691 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
10692 }
10693 if (SWIG_IsTmpObj(res5)) {
10694 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg5)), 1);
10695 } else {
10696 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10697 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags), 1);
10698 }
10699 if (SWIG_IsTmpObj(res6)) {
10700 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg6)), 1);
10701 } else {
10702 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10703 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags), 1);
10704 }
10705 return resultobj;
10706fail:
10707 return NULL;
10708}
10709
10710
10711SWIGINTERN PyObject *_wrap_plschr(PyObject *self, PyObject *args) {
10712 PyObject *resultobj = 0;
10713 PLFLT arg1 ;
10714 PLFLT arg2 ;
10715 double val1 ;
10716 int ecode1 = 0 ;
10717 double val2 ;
10718 int ecode2 = 0 ;
10719 PyObject *swig_obj[2] ;
10720
10721 (void)self;
10722 if (!SWIG_Python_UnpackTuple(args, "plschr", 2, 2, swig_obj)) SWIG_fail;
10723 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
10724 if (!SWIG_IsOK(ecode1)) {
10725 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plschr" "', argument " "1"" of type '" "PLFLT""'");
10726 }
10727 arg1 = (PLFLT)(val1);
10728 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
10729 if (!SWIG_IsOK(ecode2)) {
10730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plschr" "', argument " "2"" of type '" "PLFLT""'");
10731 }
10732 arg2 = (PLFLT)(val2);
10733 plschr(arg1,arg2);
10734 resultobj = SWIG_Py_Void();
10735 return resultobj;
10736fail:
10737 return NULL;
10738}
10739
10740
10741SWIGINTERN PyObject *_wrap_plscmap0(PyObject *self, PyObject *args) {
10742 PyObject *resultobj = 0;
10743 PLINT *arg1 = (PLINT *) 0 ;
10744 PLINT *arg2 = (PLINT *) 0 ;
10745 PLINT *arg3 = (PLINT *) 0 ;
10746 PLINT arg4 ;
10747 PyArrayObject *tmp1 = NULL ;
10748 PyArrayObject *tmp2 = NULL ;
10749 PyArrayObject *tmp3 = NULL ;
10750 PyObject *swig_obj[3] ;
10751
10752 (void)self;
10753 if (!SWIG_Python_UnpackTuple(args, "plscmap0", 3, 3, swig_obj)) SWIG_fail;
10754 {
10755 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
10756 if ( tmp1 == NULL )
10757 return NULL;
10758 Alen = PyArray_DIMS( tmp1 )[0];
10759 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10760 }
10761 {
10762 tmp2 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
10763 if ( tmp2 == NULL )
10764 return NULL;
10765 if ( PyArray_DIMS( tmp2 )[0] != Alen )
10766 {
10767 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10768 return NULL;
10769 }
10770 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10771 }
10772 {
10773 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[2], NPY_PLINT, 1, 1 );
10774 if ( tmp3 == NULL )
10775 return NULL;
10776 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10777 {
10778 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10779 return NULL;
10780 }
10781 arg4 = PyArray_DIMS( tmp3 )[0];
10782 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10783 }
10784 plscmap0((int const *)arg1,(int const *)arg2,(int const *)arg3,arg4);
10785 resultobj = SWIG_Py_Void();
10786 {
10787 Py_CLEAR( tmp1 );
10788 }
10789 {
10790 Py_CLEAR( tmp2 );
10791 }
10792 {
10793 Py_CLEAR( tmp3 );
10794 }
10795 return resultobj;
10796fail:
10797 {
10798 Py_CLEAR( tmp1 );
10799 }
10800 {
10801 Py_CLEAR( tmp2 );
10802 }
10803 {
10804 Py_CLEAR( tmp3 );
10805 }
10806 return NULL;
10807}
10808
10809
10810SWIGINTERN PyObject *_wrap_plscmap0a(PyObject *self, PyObject *args) {
10811 PyObject *resultobj = 0;
10812 PLINT *arg1 = (PLINT *) 0 ;
10813 PLINT *arg2 = (PLINT *) 0 ;
10814 PLINT *arg3 = (PLINT *) 0 ;
10815 PLFLT *arg4 = (PLFLT *) 0 ;
10816 PLINT arg5 ;
10817 PyArrayObject *tmp1 = NULL ;
10818 PyArrayObject *tmp2 = NULL ;
10819 PyArrayObject *tmp3 = NULL ;
10820 PyArrayObject *tmp4 = NULL ;
10821 PyObject *swig_obj[4] ;
10822
10823 (void)self;
10824 if (!SWIG_Python_UnpackTuple(args, "plscmap0a", 4, 4, swig_obj)) SWIG_fail;
10825 {
10826 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
10827 if ( tmp1 == NULL )
10828 return NULL;
10829 Alen = PyArray_DIMS( tmp1 )[0];
10830 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10831 }
10832 {
10833 tmp2 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
10834 if ( tmp2 == NULL )
10835 return NULL;
10836 if ( PyArray_DIMS( tmp2 )[0] != Alen )
10837 {
10838 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10839 return NULL;
10840 }
10841 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10842 }
10843 {
10844 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[2], NPY_PLINT, 1, 1 );
10845 if ( tmp3 == NULL )
10846 return NULL;
10847 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10848 {
10849 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10850 return NULL;
10851 }
10852 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10853 }
10854 {
10855 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[3], NPY_PLFLT, 1, 1 );
10856 if ( tmp4 == NULL )
10857 return NULL;
10858 if ( PyArray_DIMS( tmp4 )[0] != Alen )
10859 {
10860 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10861 return NULL;
10862 }
10863 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10864 arg5 = PyArray_DIMS( tmp4 )[0];
10865 }
10866 plscmap0a((int const *)arg1,(int const *)arg2,(int const *)arg3,(double const *)arg4,arg5);
10867 resultobj = SWIG_Py_Void();
10868 {
10869 Py_CLEAR( tmp1 );
10870 }
10871 {
10872 Py_CLEAR( tmp2 );
10873 }
10874 {
10875 Py_CLEAR( tmp3 );
10876 }
10877 {
10878 Py_CLEAR( tmp4 );
10879 }
10880 return resultobj;
10881fail:
10882 {
10883 Py_CLEAR( tmp1 );
10884 }
10885 {
10886 Py_CLEAR( tmp2 );
10887 }
10888 {
10889 Py_CLEAR( tmp3 );
10890 }
10891 {
10892 Py_CLEAR( tmp4 );
10893 }
10894 return NULL;
10895}
10896
10897
10898SWIGINTERN PyObject *_wrap_plscmap0n(PyObject *self, PyObject *args) {
10899 PyObject *resultobj = 0;
10900 PLINT arg1 ;
10901 int val1 ;
10902 int ecode1 = 0 ;
10903 PyObject *swig_obj[1] ;
10904
10905 (void)self;
10906 if (!args) SWIG_fail;
10907 swig_obj[0] = args;
10908 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
10909 if (!SWIG_IsOK(ecode1)) {
10910 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap0n" "', argument " "1"" of type '" "PLINT""'");
10911 }
10912 arg1 = (PLINT)(val1);
10913 plscmap0n(arg1);
10914 resultobj = SWIG_Py_Void();
10915 return resultobj;
10916fail:
10917 return NULL;
10918}
10919
10920
10921SWIGINTERN PyObject *_wrap_plscmap1(PyObject *self, PyObject *args) {
10922 PyObject *resultobj = 0;
10923 PLINT *arg1 = (PLINT *) 0 ;
10924 PLINT *arg2 = (PLINT *) 0 ;
10925 PLINT *arg3 = (PLINT *) 0 ;
10926 PLINT arg4 ;
10927 PyArrayObject *tmp1 = NULL ;
10928 PyArrayObject *tmp2 = NULL ;
10929 PyArrayObject *tmp3 = NULL ;
10930 PyObject *swig_obj[3] ;
10931
10932 (void)self;
10933 if (!SWIG_Python_UnpackTuple(args, "plscmap1", 3, 3, swig_obj)) SWIG_fail;
10934 {
10935 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
10936 if ( tmp1 == NULL )
10937 return NULL;
10938 Alen = PyArray_DIMS( tmp1 )[0];
10939 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10940 }
10941 {
10942 tmp2 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
10943 if ( tmp2 == NULL )
10944 return NULL;
10945 if ( PyArray_DIMS( tmp2 )[0] != Alen )
10946 {
10947 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10948 return NULL;
10949 }
10950 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10951 }
10952 {
10953 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[2], NPY_PLINT, 1, 1 );
10954 if ( tmp3 == NULL )
10955 return NULL;
10956 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10957 {
10958 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10959 return NULL;
10960 }
10961 arg4 = PyArray_DIMS( tmp3 )[0];
10962 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10963 }
10964 plscmap1((int const *)arg1,(int const *)arg2,(int const *)arg3,arg4);
10965 resultobj = SWIG_Py_Void();
10966 {
10967 Py_CLEAR( tmp1 );
10968 }
10969 {
10970 Py_CLEAR( tmp2 );
10971 }
10972 {
10973 Py_CLEAR( tmp3 );
10974 }
10975 return resultobj;
10976fail:
10977 {
10978 Py_CLEAR( tmp1 );
10979 }
10980 {
10981 Py_CLEAR( tmp2 );
10982 }
10983 {
10984 Py_CLEAR( tmp3 );
10985 }
10986 return NULL;
10987}
10988
10989
10990SWIGINTERN PyObject *_wrap_plscmap1a(PyObject *self, PyObject *args) {
10991 PyObject *resultobj = 0;
10992 PLINT *arg1 = (PLINT *) 0 ;
10993 PLINT *arg2 = (PLINT *) 0 ;
10994 PLINT *arg3 = (PLINT *) 0 ;
10995 PLFLT *arg4 = (PLFLT *) 0 ;
10996 PLINT arg5 ;
10997 PyArrayObject *tmp1 = NULL ;
10998 PyArrayObject *tmp2 = NULL ;
10999 PyArrayObject *tmp3 = NULL ;
11000 PyArrayObject *tmp4 = NULL ;
11001 PyObject *swig_obj[4] ;
11002
11003 (void)self;
11004 if (!SWIG_Python_UnpackTuple(args, "plscmap1a", 4, 4, swig_obj)) SWIG_fail;
11005 {
11006 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
11007 if ( tmp1 == NULL )
11008 return NULL;
11009 Alen = PyArray_DIMS( tmp1 )[0];
11010 arg1 = (PLINT *) PyArray_DATA( tmp1 );
11011 }
11012 {
11013 tmp2 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
11014 if ( tmp2 == NULL )
11015 return NULL;
11016 if ( PyArray_DIMS( tmp2 )[0] != Alen )
11017 {
11018 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11019 return NULL;
11020 }
11021 arg2 = (PLINT *) PyArray_DATA( tmp2 );
11022 }
11023 {
11024 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[2], NPY_PLINT, 1, 1 );
11025 if ( tmp3 == NULL )
11026 return NULL;
11027 if ( PyArray_DIMS( tmp3 )[0] != Alen )
11028 {
11029 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11030 return NULL;
11031 }
11032 arg3 = (PLINT *) PyArray_DATA( tmp3 );
11033 }
11034 {
11035 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[3], NPY_PLFLT, 1, 1 );
11036 if ( tmp4 == NULL )
11037 return NULL;
11038 if ( PyArray_DIMS( tmp4 )[0] != Alen )
11039 {
11040 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11041 return NULL;
11042 }
11043 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
11044 arg5 = PyArray_DIMS( tmp4 )[0];
11045 }
11046 plscmap1a((int const *)arg1,(int const *)arg2,(int const *)arg3,(double const *)arg4,arg5);
11047 resultobj = SWIG_Py_Void();
11048 {
11049 Py_CLEAR( tmp1 );
11050 }
11051 {
11052 Py_CLEAR( tmp2 );
11053 }
11054 {
11055 Py_CLEAR( tmp3 );
11056 }
11057 {
11058 Py_CLEAR( tmp4 );
11059 }
11060 return resultobj;
11061fail:
11062 {
11063 Py_CLEAR( tmp1 );
11064 }
11065 {
11066 Py_CLEAR( tmp2 );
11067 }
11068 {
11069 Py_CLEAR( tmp3 );
11070 }
11071 {
11072 Py_CLEAR( tmp4 );
11073 }
11074 return NULL;
11075}
11076
11077
11078SWIGINTERN PyObject *_wrap_plscmap1l(PyObject *self, PyObject *args) {
11079 PyObject *resultobj = 0;
11080 PLBOOL arg1 ;
11081 PLINT arg2 ;
11082 PLFLT *arg3 = (PLFLT *) 0 ;
11083 PLFLT *arg4 = (PLFLT *) 0 ;
11084 PLFLT *arg5 = (PLFLT *) 0 ;
11085 PLFLT *arg6 = (PLFLT *) 0 ;
11086 PLBOOL *arg7 = (PLBOOL *) 0 ;
11087 int val1 ;
11088 int ecode1 = 0 ;
11089 PyArrayObject *tmp2 = NULL ;
11090 PyArrayObject *tmp4 = NULL ;
11091 PyArrayObject *tmp5 = NULL ;
11092 PyArrayObject *tmp6 = NULL ;
11093 PyArrayObject *tmp7 = NULL ;
11094 PyObject *swig_obj[6] ;
11095
11096 (void)self;
11097 if (!SWIG_Python_UnpackTuple(args, "plscmap1l", 6, 6, swig_obj)) SWIG_fail;
11098 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11099 if (!SWIG_IsOK(ecode1)) {
11100 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1l" "', argument " "1"" of type '" "PLBOOL""'");
11101 }
11102 arg1 = (PLBOOL)(val1);
11103 {
11104 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
11105 if ( tmp2 == NULL )
11106 return NULL;
11107 arg2 = Alen = PyArray_DIMS( tmp2 )[0];
11108 arg3 = (PLFLT *) PyArray_DATA( tmp2 );
11109 }
11110 {
11111 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
11112 if ( tmp4 == NULL )
11113 return NULL;
11114 if ( PyArray_DIMS( tmp4 )[0] != Alen )
11115 {
11116 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11117 return NULL;
11118 }
11119 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
11120 }
11121 {
11122 tmp5 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[3], NPY_PLFLT, 1, 1 );
11123 if ( tmp5 == NULL )
11124 return NULL;
11125 if ( PyArray_DIMS( tmp5 )[0] != Alen )
11126 {
11127 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11128 return NULL;
11129 }
11130 arg5 = (PLFLT *) PyArray_DATA( tmp5 );
11131 }
11132 {
11133 tmp6 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
11134 if ( tmp6 == NULL )
11135 return NULL;
11136 if ( PyArray_DIMS( tmp6 )[0] != Alen )
11137 {
11138 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11139 return NULL;
11140 }
11141 arg6 = (PLFLT *) PyArray_DATA( tmp6 );
11142 }
11143 {
11144 tmp7 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[5], NPY_PLINT, 1, 1 );
11145 if ( tmp7 == NULL )
11146 return NULL;
11147 if ( PyArray_DIMS( tmp7 )[0] < Alen - 1 )
11148 {
11149 PyErr_SetString( PyExc_ValueError, "Vector must be at least length of others minus 1." );
11150 return NULL;
11151 }
11152 arg7 = (PLINT *) PyArray_DATA( tmp7 );
11153 }
11154 plscmap1l(arg1,arg2,(double const *)arg3,(double const *)arg4,(double const *)arg5,(double const *)arg6,(int const *)arg7);
11155 resultobj = SWIG_Py_Void();
11156 {
11157 Py_CLEAR( tmp2 );
11158 }
11159 {
11160 Py_CLEAR( tmp4 );
11161 }
11162 {
11163 Py_CLEAR( tmp5 );
11164 }
11165 {
11166 Py_CLEAR( tmp6 );
11167 }
11168 {
11169 Py_CLEAR( tmp7 );
11170 }
11171 return resultobj;
11172fail:
11173 {
11174 Py_CLEAR( tmp2 );
11175 }
11176 {
11177 Py_CLEAR( tmp4 );
11178 }
11179 {
11180 Py_CLEAR( tmp5 );
11181 }
11182 {
11183 Py_CLEAR( tmp6 );
11184 }
11185 {
11186 Py_CLEAR( tmp7 );
11187 }
11188 return NULL;
11189}
11190
11191
11192SWIGINTERN PyObject *_wrap_plscmap1la(PyObject *self, PyObject *args) {
11193 PyObject *resultobj = 0;
11194 PLBOOL arg1 ;
11195 PLINT arg2 ;
11196 PLFLT *arg3 = (PLFLT *) 0 ;
11197 PLFLT *arg4 = (PLFLT *) 0 ;
11198 PLFLT *arg5 = (PLFLT *) 0 ;
11199 PLFLT *arg6 = (PLFLT *) 0 ;
11200 PLFLT *arg7 = (PLFLT *) 0 ;
11201 PLBOOL *arg8 = (PLBOOL *) 0 ;
11202 int val1 ;
11203 int ecode1 = 0 ;
11204 PyArrayObject *tmp2 = NULL ;
11205 PyArrayObject *tmp4 = NULL ;
11206 PyArrayObject *tmp5 = NULL ;
11207 PyArrayObject *tmp6 = NULL ;
11208 PyArrayObject *tmp7 = NULL ;
11209 PyArrayObject *tmp8 = NULL ;
11210 PyObject *swig_obj[7] ;
11211
11212 (void)self;
11213 if (!SWIG_Python_UnpackTuple(args, "plscmap1la", 7, 7, swig_obj)) SWIG_fail;
11214 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11215 if (!SWIG_IsOK(ecode1)) {
11216 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1la" "', argument " "1"" of type '" "PLBOOL""'");
11217 }
11218 arg1 = (PLBOOL)(val1);
11219 {
11220 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
11221 if ( tmp2 == NULL )
11222 return NULL;
11223 arg2 = Alen = PyArray_DIMS( tmp2 )[0];
11224 arg3 = (PLFLT *) PyArray_DATA( tmp2 );
11225 }
11226 {
11227 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
11228 if ( tmp4 == NULL )
11229 return NULL;
11230 if ( PyArray_DIMS( tmp4 )[0] != Alen )
11231 {
11232 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11233 return NULL;
11234 }
11235 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
11236 }
11237 {
11238 tmp5 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[3], NPY_PLFLT, 1, 1 );
11239 if ( tmp5 == NULL )
11240 return NULL;
11241 if ( PyArray_DIMS( tmp5 )[0] != Alen )
11242 {
11243 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11244 return NULL;
11245 }
11246 arg5 = (PLFLT *) PyArray_DATA( tmp5 );
11247 }
11248 {
11249 tmp6 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
11250 if ( tmp6 == NULL )
11251 return NULL;
11252 if ( PyArray_DIMS( tmp6 )[0] != Alen )
11253 {
11254 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11255 return NULL;
11256 }
11257 arg6 = (PLFLT *) PyArray_DATA( tmp6 );
11258 }
11259 {
11260 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[5], NPY_PLFLT, 1, 1 );
11261 if ( tmp7 == NULL )
11262 return NULL;
11263 if ( PyArray_DIMS( tmp7 )[0] != Alen )
11264 {
11265 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11266 return NULL;
11267 }
11268 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
11269 }
11270 {
11271 tmp8 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[6], NPY_PLINT, 1, 1 );
11272 if ( tmp8 == NULL )
11273 return NULL;
11274 if ( PyArray_DIMS( tmp8 )[0] < Alen - 1 )
11275 {
11276 PyErr_SetString( PyExc_ValueError, "Vector must be at least length of others minus 1." );
11277 return NULL;
11278 }
11279 arg8 = (PLINT *) PyArray_DATA( tmp8 );
11280 }
11281 plscmap1la(arg1,arg2,(double const *)arg3,(double const *)arg4,(double const *)arg5,(double const *)arg6,(double const *)arg7,(int const *)arg8);
11282 resultobj = SWIG_Py_Void();
11283 {
11284 Py_CLEAR( tmp2 );
11285 }
11286 {
11287 Py_CLEAR( tmp4 );
11288 }
11289 {
11290 Py_CLEAR( tmp5 );
11291 }
11292 {
11293 Py_CLEAR( tmp6 );
11294 }
11295 {
11296 Py_CLEAR( tmp7 );
11297 }
11298 {
11299 Py_CLEAR( tmp8 );
11300 }
11301 return resultobj;
11302fail:
11303 {
11304 Py_CLEAR( tmp2 );
11305 }
11306 {
11307 Py_CLEAR( tmp4 );
11308 }
11309 {
11310 Py_CLEAR( tmp5 );
11311 }
11312 {
11313 Py_CLEAR( tmp6 );
11314 }
11315 {
11316 Py_CLEAR( tmp7 );
11317 }
11318 {
11319 Py_CLEAR( tmp8 );
11320 }
11321 return NULL;
11322}
11323
11324
11325SWIGINTERN PyObject *_wrap_plscmap1n(PyObject *self, PyObject *args) {
11326 PyObject *resultobj = 0;
11327 PLINT arg1 ;
11328 int val1 ;
11329 int ecode1 = 0 ;
11330 PyObject *swig_obj[1] ;
11331
11332 (void)self;
11333 if (!args) SWIG_fail;
11334 swig_obj[0] = args;
11335 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11336 if (!SWIG_IsOK(ecode1)) {
11337 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1n" "', argument " "1"" of type '" "PLINT""'");
11338 }
11339 arg1 = (PLINT)(val1);
11340 plscmap1n(arg1);
11341 resultobj = SWIG_Py_Void();
11342 return resultobj;
11343fail:
11344 return NULL;
11345}
11346
11347
11348SWIGINTERN PyObject *_wrap_plscmap1_range(PyObject *self, PyObject *args) {
11349 PyObject *resultobj = 0;
11350 PLFLT arg1 ;
11351 PLFLT arg2 ;
11352 double val1 ;
11353 int ecode1 = 0 ;
11354 double val2 ;
11355 int ecode2 = 0 ;
11356 PyObject *swig_obj[2] ;
11357
11358 (void)self;
11359 if (!SWIG_Python_UnpackTuple(args, "plscmap1_range", 2, 2, swig_obj)) SWIG_fail;
11360 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
11361 if (!SWIG_IsOK(ecode1)) {
11362 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1_range" "', argument " "1"" of type '" "PLFLT""'");
11363 }
11364 arg1 = (PLFLT)(val1);
11365 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
11366 if (!SWIG_IsOK(ecode2)) {
11367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscmap1_range" "', argument " "2"" of type '" "PLFLT""'");
11368 }
11369 arg2 = (PLFLT)(val2);
11370 plscmap1_range(arg1,arg2);
11371 resultobj = SWIG_Py_Void();
11372 return resultobj;
11373fail:
11374 return NULL;
11375}
11376
11377
11378SWIGINTERN PyObject *_wrap_plgcmap1_range(PyObject *self, PyObject *args) {
11379 PyObject *resultobj = 0;
11380 PLFLT *arg1 = (PLFLT *) 0 ;
11381 PLFLT *arg2 = (PLFLT *) 0 ;
11382 PLFLT temp1 ;
11383 int res1 = SWIG_TMPOBJ ;
11384 PLFLT temp2 ;
11385 int res2 = SWIG_TMPOBJ ;
11386
11387 arg1 = &temp1;
11388 arg2 = &temp2;
11389 (void)self;
11390 if (!SWIG_Python_UnpackTuple(args, "plgcmap1_range", 0, 0, 0)) SWIG_fail;
11391 plgcmap1_range(arg1,arg2);
11392 resultobj = SWIG_Py_Void();
11393 if (SWIG_IsTmpObj(res1)) {
11394 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
11395 } else {
11396 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11397 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
11398 }
11399 if (SWIG_IsTmpObj(res2)) {
11400 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
11401 } else {
11402 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11403 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
11404 }
11405 return resultobj;
11406fail:
11407 return NULL;
11408}
11409
11410
11411SWIGINTERN PyObject *_wrap_plscol0(PyObject *self, PyObject *args) {
11412 PyObject *resultobj = 0;
11413 PLINT arg1 ;
11414 PLINT arg2 ;
11415 PLINT arg3 ;
11416 PLINT arg4 ;
11417 int val1 ;
11418 int ecode1 = 0 ;
11419 int val2 ;
11420 int ecode2 = 0 ;
11421 int val3 ;
11422 int ecode3 = 0 ;
11423 int val4 ;
11424 int ecode4 = 0 ;
11425 PyObject *swig_obj[4] ;
11426
11427 (void)self;
11428 if (!SWIG_Python_UnpackTuple(args, "plscol0", 4, 4, swig_obj)) SWIG_fail;
11429 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11430 if (!SWIG_IsOK(ecode1)) {
11431 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscol0" "', argument " "1"" of type '" "PLINT""'");
11432 }
11433 arg1 = (PLINT)(val1);
11434 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11435 if (!SWIG_IsOK(ecode2)) {
11436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscol0" "', argument " "2"" of type '" "PLINT""'");
11437 }
11438 arg2 = (PLINT)(val2);
11439 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11440 if (!SWIG_IsOK(ecode3)) {
11441 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscol0" "', argument " "3"" of type '" "PLINT""'");
11442 }
11443 arg3 = (PLINT)(val3);
11444 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
11445 if (!SWIG_IsOK(ecode4)) {
11446 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plscol0" "', argument " "4"" of type '" "PLINT""'");
11447 }
11448 arg4 = (PLINT)(val4);
11449 plscol0(arg1,arg2,arg3,arg4);
11450 resultobj = SWIG_Py_Void();
11451 return resultobj;
11452fail:
11453 return NULL;
11454}
11455
11456
11457SWIGINTERN PyObject *_wrap_plscol0a(PyObject *self, PyObject *args) {
11458 PyObject *resultobj = 0;
11459 PLINT arg1 ;
11460 PLINT arg2 ;
11461 PLINT arg3 ;
11462 PLINT arg4 ;
11463 PLFLT arg5 ;
11464 int val1 ;
11465 int ecode1 = 0 ;
11466 int val2 ;
11467 int ecode2 = 0 ;
11468 int val3 ;
11469 int ecode3 = 0 ;
11470 int val4 ;
11471 int ecode4 = 0 ;
11472 double val5 ;
11473 int ecode5 = 0 ;
11474 PyObject *swig_obj[5] ;
11475
11476 (void)self;
11477 if (!SWIG_Python_UnpackTuple(args, "plscol0a", 5, 5, swig_obj)) SWIG_fail;
11478 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11479 if (!SWIG_IsOK(ecode1)) {
11480 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscol0a" "', argument " "1"" of type '" "PLINT""'");
11481 }
11482 arg1 = (PLINT)(val1);
11483 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11484 if (!SWIG_IsOK(ecode2)) {
11485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscol0a" "', argument " "2"" of type '" "PLINT""'");
11486 }
11487 arg2 = (PLINT)(val2);
11488 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11489 if (!SWIG_IsOK(ecode3)) {
11490 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscol0a" "', argument " "3"" of type '" "PLINT""'");
11491 }
11492 arg3 = (PLINT)(val3);
11493 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
11494 if (!SWIG_IsOK(ecode4)) {
11495 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plscol0a" "', argument " "4"" of type '" "PLINT""'");
11496 }
11497 arg4 = (PLINT)(val4);
11498 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
11499 if (!SWIG_IsOK(ecode5)) {
11500 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plscol0a" "', argument " "5"" of type '" "PLFLT""'");
11501 }
11502 arg5 = (PLFLT)(val5);
11503 plscol0a(arg1,arg2,arg3,arg4,arg5);
11504 resultobj = SWIG_Py_Void();
11505 return resultobj;
11506fail:
11507 return NULL;
11508}
11509
11510
11511SWIGINTERN PyObject *_wrap_plscolbg(PyObject *self, PyObject *args) {
11512 PyObject *resultobj = 0;
11513 PLINT arg1 ;
11514 PLINT arg2 ;
11515 PLINT arg3 ;
11516 int val1 ;
11517 int ecode1 = 0 ;
11518 int val2 ;
11519 int ecode2 = 0 ;
11520 int val3 ;
11521 int ecode3 = 0 ;
11522 PyObject *swig_obj[3] ;
11523
11524 (void)self;
11525 if (!SWIG_Python_UnpackTuple(args, "plscolbg", 3, 3, swig_obj)) SWIG_fail;
11526 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11527 if (!SWIG_IsOK(ecode1)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscolbg" "', argument " "1"" of type '" "PLINT""'");
11529 }
11530 arg1 = (PLINT)(val1);
11531 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11532 if (!SWIG_IsOK(ecode2)) {
11533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscolbg" "', argument " "2"" of type '" "PLINT""'");
11534 }
11535 arg2 = (PLINT)(val2);
11536 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11537 if (!SWIG_IsOK(ecode3)) {
11538 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscolbg" "', argument " "3"" of type '" "PLINT""'");
11539 }
11540 arg3 = (PLINT)(val3);
11541 plscolbg(arg1,arg2,arg3);
11542 resultobj = SWIG_Py_Void();
11543 return resultobj;
11544fail:
11545 return NULL;
11546}
11547
11548
11549SWIGINTERN PyObject *_wrap_plscolbga(PyObject *self, PyObject *args) {
11550 PyObject *resultobj = 0;
11551 PLINT arg1 ;
11552 PLINT arg2 ;
11553 PLINT arg3 ;
11554 PLFLT arg4 ;
11555 int val1 ;
11556 int ecode1 = 0 ;
11557 int val2 ;
11558 int ecode2 = 0 ;
11559 int val3 ;
11560 int ecode3 = 0 ;
11561 double val4 ;
11562 int ecode4 = 0 ;
11563 PyObject *swig_obj[4] ;
11564
11565 (void)self;
11566 if (!SWIG_Python_UnpackTuple(args, "plscolbga", 4, 4, swig_obj)) SWIG_fail;
11567 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11568 if (!SWIG_IsOK(ecode1)) {
11569 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscolbga" "', argument " "1"" of type '" "PLINT""'");
11570 }
11571 arg1 = (PLINT)(val1);
11572 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11573 if (!SWIG_IsOK(ecode2)) {
11574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscolbga" "', argument " "2"" of type '" "PLINT""'");
11575 }
11576 arg2 = (PLINT)(val2);
11577 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11578 if (!SWIG_IsOK(ecode3)) {
11579 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscolbga" "', argument " "3"" of type '" "PLINT""'");
11580 }
11581 arg3 = (PLINT)(val3);
11582 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
11583 if (!SWIG_IsOK(ecode4)) {
11584 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plscolbga" "', argument " "4"" of type '" "PLFLT""'");
11585 }
11586 arg4 = (PLFLT)(val4);
11587 plscolbga(arg1,arg2,arg3,arg4);
11588 resultobj = SWIG_Py_Void();
11589 return resultobj;
11590fail:
11591 return NULL;
11592}
11593
11594
11595SWIGINTERN PyObject *_wrap_plscolor(PyObject *self, PyObject *args) {
11596 PyObject *resultobj = 0;
11597 PLINT arg1 ;
11598 int val1 ;
11599 int ecode1 = 0 ;
11600 PyObject *swig_obj[1] ;
11601
11602 (void)self;
11603 if (!args) SWIG_fail;
11604 swig_obj[0] = args;
11605 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11606 if (!SWIG_IsOK(ecode1)) {
11607 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscolor" "', argument " "1"" of type '" "PLINT""'");
11608 }
11609 arg1 = (PLINT)(val1);
11610 plscolor(arg1);
11611 resultobj = SWIG_Py_Void();
11612 return resultobj;
11613fail:
11614 return NULL;
11615}
11616
11617
11618SWIGINTERN PyObject *_wrap_plscompression(PyObject *self, PyObject *args) {
11619 PyObject *resultobj = 0;
11620 PLINT arg1 ;
11621 int val1 ;
11622 int ecode1 = 0 ;
11623 PyObject *swig_obj[1] ;
11624
11625 (void)self;
11626 if (!args) SWIG_fail;
11627 swig_obj[0] = args;
11628 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11629 if (!SWIG_IsOK(ecode1)) {
11630 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscompression" "', argument " "1"" of type '" "PLINT""'");
11631 }
11632 arg1 = (PLINT)(val1);
11633 plscompression(arg1);
11634 resultobj = SWIG_Py_Void();
11635 return resultobj;
11636fail:
11637 return NULL;
11638}
11639
11640
11641SWIGINTERN PyObject *_wrap_plsdev(PyObject *self, PyObject *args) {
11642 PyObject *resultobj = 0;
11643 char *arg1 = (char *) 0 ;
11644 int res1 ;
11645 char *buf1 = 0 ;
11646 int alloc1 = 0 ;
11647 PyObject *swig_obj[1] ;
11648
11649 (void)self;
11650 if (!args) SWIG_fail;
11651 swig_obj[0] = args;
11652 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
11653 if (!SWIG_IsOK(res1)) {
11654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plsdev" "', argument " "1"" of type '" "char const *""'");
11655 }
11656 arg1 = (char *)(buf1);
11657 plsdev((char const *)arg1);
11658 resultobj = SWIG_Py_Void();
11659 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
11660 return resultobj;
11661fail:
11662 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
11663 return NULL;
11664}
11665
11666
11667SWIGINTERN PyObject *_wrap_plsdidev(PyObject *self, PyObject *args) {
11668 PyObject *resultobj = 0;
11669 PLFLT arg1 ;
11670 PLFLT arg2 ;
11671 PLFLT arg3 ;
11672 PLFLT arg4 ;
11673 double val1 ;
11674 int ecode1 = 0 ;
11675 double val2 ;
11676 int ecode2 = 0 ;
11677 double val3 ;
11678 int ecode3 = 0 ;
11679 double val4 ;
11680 int ecode4 = 0 ;
11681 PyObject *swig_obj[4] ;
11682
11683 (void)self;
11684 if (!SWIG_Python_UnpackTuple(args, "plsdidev", 4, 4, swig_obj)) SWIG_fail;
11685 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
11686 if (!SWIG_IsOK(ecode1)) {
11687 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdidev" "', argument " "1"" of type '" "PLFLT""'");
11688 }
11689 arg1 = (PLFLT)(val1);
11690 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
11691 if (!SWIG_IsOK(ecode2)) {
11692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdidev" "', argument " "2"" of type '" "PLFLT""'");
11693 }
11694 arg2 = (PLFLT)(val2);
11695 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
11696 if (!SWIG_IsOK(ecode3)) {
11697 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdidev" "', argument " "3"" of type '" "PLFLT""'");
11698 }
11699 arg3 = (PLFLT)(val3);
11700 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
11701 if (!SWIG_IsOK(ecode4)) {
11702 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdidev" "', argument " "4"" of type '" "PLFLT""'");
11703 }
11704 arg4 = (PLFLT)(val4);
11705 plsdidev(arg1,arg2,arg3,arg4);
11706 resultobj = SWIG_Py_Void();
11707 return resultobj;
11708fail:
11709 return NULL;
11710}
11711
11712
11713SWIGINTERN PyObject *_wrap_plsdimap(PyObject *self, PyObject *args) {
11714 PyObject *resultobj = 0;
11715 PLINT arg1 ;
11716 PLINT arg2 ;
11717 PLINT arg3 ;
11718 PLINT arg4 ;
11719 PLFLT arg5 ;
11720 PLFLT arg6 ;
11721 int val1 ;
11722 int ecode1 = 0 ;
11723 int val2 ;
11724 int ecode2 = 0 ;
11725 int val3 ;
11726 int ecode3 = 0 ;
11727 int val4 ;
11728 int ecode4 = 0 ;
11729 double val5 ;
11730 int ecode5 = 0 ;
11731 double val6 ;
11732 int ecode6 = 0 ;
11733 PyObject *swig_obj[6] ;
11734
11735 (void)self;
11736 if (!SWIG_Python_UnpackTuple(args, "plsdimap", 6, 6, swig_obj)) SWIG_fail;
11737 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11738 if (!SWIG_IsOK(ecode1)) {
11739 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdimap" "', argument " "1"" of type '" "PLINT""'");
11740 }
11741 arg1 = (PLINT)(val1);
11742 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11743 if (!SWIG_IsOK(ecode2)) {
11744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdimap" "', argument " "2"" of type '" "PLINT""'");
11745 }
11746 arg2 = (PLINT)(val2);
11747 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11748 if (!SWIG_IsOK(ecode3)) {
11749 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdimap" "', argument " "3"" of type '" "PLINT""'");
11750 }
11751 arg3 = (PLINT)(val3);
11752 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
11753 if (!SWIG_IsOK(ecode4)) {
11754 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdimap" "', argument " "4"" of type '" "PLINT""'");
11755 }
11756 arg4 = (PLINT)(val4);
11757 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
11758 if (!SWIG_IsOK(ecode5)) {
11759 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plsdimap" "', argument " "5"" of type '" "PLFLT""'");
11760 }
11761 arg5 = (PLFLT)(val5);
11762 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
11763 if (!SWIG_IsOK(ecode6)) {
11764 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plsdimap" "', argument " "6"" of type '" "PLFLT""'");
11765 }
11766 arg6 = (PLFLT)(val6);
11767 plsdimap(arg1,arg2,arg3,arg4,arg5,arg6);
11768 resultobj = SWIG_Py_Void();
11769 return resultobj;
11770fail:
11771 return NULL;
11772}
11773
11774
11775SWIGINTERN PyObject *_wrap_plsdiori(PyObject *self, PyObject *args) {
11776 PyObject *resultobj = 0;
11777 PLFLT arg1 ;
11778 double val1 ;
11779 int ecode1 = 0 ;
11780 PyObject *swig_obj[1] ;
11781
11782 (void)self;
11783 if (!args) SWIG_fail;
11784 swig_obj[0] = args;
11785 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
11786 if (!SWIG_IsOK(ecode1)) {
11787 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdiori" "', argument " "1"" of type '" "PLFLT""'");
11788 }
11789 arg1 = (PLFLT)(val1);
11790 plsdiori(arg1);
11791 resultobj = SWIG_Py_Void();
11792 return resultobj;
11793fail:
11794 return NULL;
11795}
11796
11797
11798SWIGINTERN PyObject *_wrap_plsdiplt(PyObject *self, PyObject *args) {
11799 PyObject *resultobj = 0;
11800 PLFLT arg1 ;
11801 PLFLT arg2 ;
11802 PLFLT arg3 ;
11803 PLFLT arg4 ;
11804 double val1 ;
11805 int ecode1 = 0 ;
11806 double val2 ;
11807 int ecode2 = 0 ;
11808 double val3 ;
11809 int ecode3 = 0 ;
11810 double val4 ;
11811 int ecode4 = 0 ;
11812 PyObject *swig_obj[4] ;
11813
11814 (void)self;
11815 if (!SWIG_Python_UnpackTuple(args, "plsdiplt", 4, 4, swig_obj)) SWIG_fail;
11816 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
11817 if (!SWIG_IsOK(ecode1)) {
11818 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdiplt" "', argument " "1"" of type '" "PLFLT""'");
11819 }
11820 arg1 = (PLFLT)(val1);
11821 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
11822 if (!SWIG_IsOK(ecode2)) {
11823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdiplt" "', argument " "2"" of type '" "PLFLT""'");
11824 }
11825 arg2 = (PLFLT)(val2);
11826 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
11827 if (!SWIG_IsOK(ecode3)) {
11828 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdiplt" "', argument " "3"" of type '" "PLFLT""'");
11829 }
11830 arg3 = (PLFLT)(val3);
11831 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
11832 if (!SWIG_IsOK(ecode4)) {
11833 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdiplt" "', argument " "4"" of type '" "PLFLT""'");
11834 }
11835 arg4 = (PLFLT)(val4);
11836 plsdiplt(arg1,arg2,arg3,arg4);
11837 resultobj = SWIG_Py_Void();
11838 return resultobj;
11839fail:
11840 return NULL;
11841}
11842
11843
11844SWIGINTERN PyObject *_wrap_plsdiplz(PyObject *self, PyObject *args) {
11845 PyObject *resultobj = 0;
11846 PLFLT arg1 ;
11847 PLFLT arg2 ;
11848 PLFLT arg3 ;
11849 PLFLT arg4 ;
11850 double val1 ;
11851 int ecode1 = 0 ;
11852 double val2 ;
11853 int ecode2 = 0 ;
11854 double val3 ;
11855 int ecode3 = 0 ;
11856 double val4 ;
11857 int ecode4 = 0 ;
11858 PyObject *swig_obj[4] ;
11859
11860 (void)self;
11861 if (!SWIG_Python_UnpackTuple(args, "plsdiplz", 4, 4, swig_obj)) SWIG_fail;
11862 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
11863 if (!SWIG_IsOK(ecode1)) {
11864 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdiplz" "', argument " "1"" of type '" "PLFLT""'");
11865 }
11866 arg1 = (PLFLT)(val1);
11867 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
11868 if (!SWIG_IsOK(ecode2)) {
11869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdiplz" "', argument " "2"" of type '" "PLFLT""'");
11870 }
11871 arg2 = (PLFLT)(val2);
11872 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
11873 if (!SWIG_IsOK(ecode3)) {
11874 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdiplz" "', argument " "3"" of type '" "PLFLT""'");
11875 }
11876 arg3 = (PLFLT)(val3);
11877 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
11878 if (!SWIG_IsOK(ecode4)) {
11879 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdiplz" "', argument " "4"" of type '" "PLFLT""'");
11880 }
11881 arg4 = (PLFLT)(val4);
11882 plsdiplz(arg1,arg2,arg3,arg4);
11883 resultobj = SWIG_Py_Void();
11884 return resultobj;
11885fail:
11886 return NULL;
11887}
11888
11889
11890SWIGINTERN PyObject *_wrap_plseed(PyObject *self, PyObject *args) {
11891 PyObject *resultobj = 0;
11892 unsigned int arg1 ;
11893 unsigned int val1 ;
11894 int ecode1 = 0 ;
11895 PyObject *swig_obj[1] ;
11896
11897 (void)self;
11898 if (!args) SWIG_fail;
11899 swig_obj[0] = args;
11900 ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
11901 if (!SWIG_IsOK(ecode1)) {
11902 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plseed" "', argument " "1"" of type '" "unsigned int""'");
11903 }
11904 arg1 = (unsigned int)(val1);
11905 plseed(arg1);
11906 resultobj = SWIG_Py_Void();
11907 return resultobj;
11908fail:
11909 return NULL;
11910}
11911
11912
11913SWIGINTERN PyObject *_wrap_plsesc(PyObject *self, PyObject *args) {
11914 PyObject *resultobj = 0;
11915 char arg1 ;
11916 char val1 ;
11917 int ecode1 = 0 ;
11918 PyObject *swig_obj[1] ;
11919
11920 (void)self;
11921 if (!args) SWIG_fail;
11922 swig_obj[0] = args;
11923 ecode1 = SWIG_AsVal_char(swig_obj[0], &val1);
11924 if (!SWIG_IsOK(ecode1)) {
11925 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsesc" "', argument " "1"" of type '" "char""'");
11926 }
11927 arg1 = (char)(val1);
11928 plsesc(arg1);
11929 resultobj = SWIG_Py_Void();
11930 return resultobj;
11931fail:
11932 return NULL;
11933}
11934
11935
11936SWIGINTERN PyObject *_wrap_plsetopt(PyObject *self, PyObject *args) {
11937 PyObject *resultobj = 0;
11938 char *arg1 = (char *) 0 ;
11939 char *arg2 = (char *) 0 ;
11940 int res1 ;
11941 char *buf1 = 0 ;
11942 int alloc1 = 0 ;
11943 int res2 ;
11944 char *buf2 = 0 ;
11945 int alloc2 = 0 ;
11946 PyObject *swig_obj[2] ;
11947 PLINT result;
11948
11949 (void)self;
11950 if (!SWIG_Python_UnpackTuple(args, "plsetopt", 2, 2, swig_obj)) SWIG_fail;
11951 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
11952 if (!SWIG_IsOK(res1)) {
11953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plsetopt" "', argument " "1"" of type '" "char const *""'");
11954 }
11955 arg1 = (char *)(buf1);
11956 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
11957 if (!SWIG_IsOK(res2)) {
11958 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plsetopt" "', argument " "2"" of type '" "char const *""'");
11959 }
11960 arg2 = (char *)(buf2);
11961 result = (PLINT)plsetopt((char const *)arg1,(char const *)arg2);
11962 resultobj = SWIG_From_int((int)(result));
11963 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
11964 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11965 return resultobj;
11966fail:
11967 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
11968 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11969 return NULL;
11970}
11971
11972
11973SWIGINTERN PyObject *_wrap_plsfam(PyObject *self, PyObject *args) {
11974 PyObject *resultobj = 0;
11975 PLINT arg1 ;
11976 PLINT arg2 ;
11977 PLINT arg3 ;
11978 int val1 ;
11979 int ecode1 = 0 ;
11980 int val2 ;
11981 int ecode2 = 0 ;
11982 int val3 ;
11983 int ecode3 = 0 ;
11984 PyObject *swig_obj[3] ;
11985
11986 (void)self;
11987 if (!SWIG_Python_UnpackTuple(args, "plsfam", 3, 3, swig_obj)) SWIG_fail;
11988 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11989 if (!SWIG_IsOK(ecode1)) {
11990 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsfam" "', argument " "1"" of type '" "PLINT""'");
11991 }
11992 arg1 = (PLINT)(val1);
11993 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11994 if (!SWIG_IsOK(ecode2)) {
11995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsfam" "', argument " "2"" of type '" "PLINT""'");
11996 }
11997 arg2 = (PLINT)(val2);
11998 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11999 if (!SWIG_IsOK(ecode3)) {
12000 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsfam" "', argument " "3"" of type '" "PLINT""'");
12001 }
12002 arg3 = (PLINT)(val3);
12003 plsfam(arg1,arg2,arg3);
12004 resultobj = SWIG_Py_Void();
12005 return resultobj;
12006fail:
12007 return NULL;
12008}
12009
12010
12011SWIGINTERN PyObject *_wrap_plsfci(PyObject *self, PyObject *args) {
12012 PyObject *resultobj = 0;
12013 PLUNICODE arg1 ;
12014 unsigned int val1 ;
12015 int ecode1 = 0 ;
12016 PyObject *swig_obj[1] ;
12017
12018 (void)self;
12019 if (!args) SWIG_fail;
12020 swig_obj[0] = args;
12021 ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
12022 if (!SWIG_IsOK(ecode1)) {
12023 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsfci" "', argument " "1"" of type '" "PLUNICODE""'");
12024 }
12025 arg1 = (PLUNICODE)(val1);
12026 plsfci(arg1);
12027 resultobj = SWIG_Py_Void();
12028 return resultobj;
12029fail:
12030 return NULL;
12031}
12032
12033
12034SWIGINTERN PyObject *_wrap_plsfnam(PyObject *self, PyObject *args) {
12035 PyObject *resultobj = 0;
12036 char *arg1 = (char *) 0 ;
12037 int res1 ;
12038 char *buf1 = 0 ;
12039 int alloc1 = 0 ;
12040 PyObject *swig_obj[1] ;
12041
12042 (void)self;
12043 if (!args) SWIG_fail;
12044 swig_obj[0] = args;
12045 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
12046 if (!SWIG_IsOK(res1)) {
12047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plsfnam" "', argument " "1"" of type '" "char const *""'");
12048 }
12049 arg1 = (char *)(buf1);
12050 plsfnam((char const *)arg1);
12051 resultobj = SWIG_Py_Void();
12052 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12053 return resultobj;
12054fail:
12055 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12056 return NULL;
12057}
12058
12059
12060SWIGINTERN PyObject *_wrap_plsfont(PyObject *self, PyObject *args) {
12061 PyObject *resultobj = 0;
12062 PLINT arg1 ;
12063 PLINT arg2 ;
12064 PLINT arg3 ;
12065 int val1 ;
12066 int ecode1 = 0 ;
12067 int val2 ;
12068 int ecode2 = 0 ;
12069 int val3 ;
12070 int ecode3 = 0 ;
12071 PyObject *swig_obj[3] ;
12072
12073 (void)self;
12074 if (!SWIG_Python_UnpackTuple(args, "plsfont", 3, 3, swig_obj)) SWIG_fail;
12075 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12076 if (!SWIG_IsOK(ecode1)) {
12077 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsfont" "', argument " "1"" of type '" "PLINT""'");
12078 }
12079 arg1 = (PLINT)(val1);
12080 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12081 if (!SWIG_IsOK(ecode2)) {
12082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsfont" "', argument " "2"" of type '" "PLINT""'");
12083 }
12084 arg2 = (PLINT)(val2);
12085 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
12086 if (!SWIG_IsOK(ecode3)) {
12087 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsfont" "', argument " "3"" of type '" "PLINT""'");
12088 }
12089 arg3 = (PLINT)(val3);
12090 plsfont(arg1,arg2,arg3);
12091 resultobj = SWIG_Py_Void();
12092 return resultobj;
12093fail:
12094 return NULL;
12095}
12096
12097
12098SWIGINTERN PyObject *_wrap_plshades(PyObject *self, PyObject *args) {
12099 PyObject *resultobj = 0;
12100 PLFLT **arg1 = (PLFLT **) 0 ;
12101 PLINT arg2 ;
12102 PLINT arg3 ;
12103 defined_func arg4 = (defined_func) 0 ;
12104 PLFLT arg5 ;
12105 PLFLT arg6 ;
12106 PLFLT arg7 ;
12107 PLFLT arg8 ;
12108 PLFLT *arg9 = (PLFLT *) 0 ;
12109 PLINT arg10 ;
12110 PLFLT arg11 ;
12111 PLINT arg12 ;
12112 PLFLT arg13 ;
12113 fill_func arg14 = (fill_func) 0 ;
12114 PLBOOL arg15 ;
12115 pltr_func arg16 = (pltr_func) 0 ;
12116 PLPointer arg17 = (PLPointer) 0 ;
12117 PyArrayObject *tmp1 = NULL ;
12118 double val5 ;
12119 int ecode5 = 0 ;
12120 double val6 ;
12121 int ecode6 = 0 ;
12122 double val7 ;
12123 int ecode7 = 0 ;
12124 double val8 ;
12125 int ecode8 = 0 ;
12126 PyArrayObject *tmp9 = NULL ;
12127 double val11 ;
12128 int ecode11 = 0 ;
12129 int val12 ;
12130 int ecode12 = 0 ;
12131 double val13 ;
12132 int ecode13 = 0 ;
12133 int val15 ;
12134 int ecode15 = 0 ;
12135 PyObject *swig_obj[12] ;
12136
12137 {
12138 python_pltr = 0;
12139 arg16 = NULL;
12140 }
12141 {
12142 arg17 = NULL;
12143 }
12144 {
12145 arg4 = NULL;
12146 }
12147 {
12148 arg14 = plfill;
12149 }
12150 (void)self;
12151 if (!SWIG_Python_UnpackTuple(args, "plshades", 10, 12, swig_obj)) SWIG_fail;
12152 {
12153 int i, size;
12154 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
12155 if ( tmp1 == NULL )
12156 return NULL;
12157 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
12158 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
12159 size = arg3;
12160 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
12161 for ( i = 0; i < arg2; i++ )
12162 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
12163 }
12164 ecode5 = SWIG_AsVal_double(swig_obj[1], &val5);
12165 if (!SWIG_IsOK(ecode5)) {
12166 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshades" "', argument " "5"" of type '" "PLFLT""'");
12167 }
12168 arg5 = (PLFLT)(val5);
12169 ecode6 = SWIG_AsVal_double(swig_obj[2], &val6);
12170 if (!SWIG_IsOK(ecode6)) {
12171 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshades" "', argument " "6"" of type '" "PLFLT""'");
12172 }
12173 arg6 = (PLFLT)(val6);
12174 ecode7 = SWIG_AsVal_double(swig_obj[3], &val7);
12175 if (!SWIG_IsOK(ecode7)) {
12176 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshades" "', argument " "7"" of type '" "PLFLT""'");
12177 }
12178 arg7 = (PLFLT)(val7);
12179 ecode8 = SWIG_AsVal_double(swig_obj[4], &val8);
12180 if (!SWIG_IsOK(ecode8)) {
12181 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plshades" "', argument " "8"" of type '" "PLFLT""'");
12182 }
12183 arg8 = (PLFLT)(val8);
12184 {
12185 tmp9 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[5], NPY_PLFLT, 1, 1 );
12186 if ( tmp9 == NULL )
12187 return NULL;
12188 arg10 = PyArray_DIMS( tmp9 )[0];
12189 arg9 = (PLFLT *) PyArray_DATA( tmp9 );
12190 }
12191 ecode11 = SWIG_AsVal_double(swig_obj[6], &val11);
12192 if (!SWIG_IsOK(ecode11)) {
12193 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshades" "', argument " "11"" of type '" "PLFLT""'");
12194 }
12195 arg11 = (PLFLT)(val11);
12196 ecode12 = SWIG_AsVal_int(swig_obj[7], &val12);
12197 if (!SWIG_IsOK(ecode12)) {
12198 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshades" "', argument " "12"" of type '" "PLINT""'");
12199 }
12200 arg12 = (PLINT)(val12);
12201 ecode13 = SWIG_AsVal_double(swig_obj[8], &val13);
12202 if (!SWIG_IsOK(ecode13)) {
12203 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshades" "', argument " "13"" of type '" "PLFLT""'");
12204 }
12205 arg13 = (PLFLT)(val13);
12206 ecode15 = SWIG_AsVal_int(swig_obj[9], &val15);
12207 if (!SWIG_IsOK(ecode15)) {
12208 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plshades" "', argument " "15"" of type '" "PLBOOL""'");
12209 }
12210 arg15 = (PLBOOL)(val15);
12211 if (swig_obj[10]) {
12212 {
12213 // it must be a callable or None
12214 if ( swig_obj[10] == Py_None )
12215 {
12216 arg16 = NULL;
12217 }
12218 else
12219 {
12220 if ( !PyCallable_Check( (PyObject *) swig_obj[10] ) )
12221 {
12222 PyErr_SetString( PyExc_ValueError, "pltr argument must be callable" );
12223 return NULL;
12224 }
12225 arg16 = marshal_pltr( swig_obj[10] );
12226 }
12227 }
12228 }
12229 if (swig_obj[11]) {
12230 {
12231 if ( swig_obj[11] == Py_None )
12232 arg17 = NULL;
12233 else
12234 {
12235 arg17 = marshal_PLPointer( swig_obj[11], 0 );
12236 }
12237 }
12238 }
12239 plshades((double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(double const *)arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17);
12240 resultobj = SWIG_Py_Void();
12241 {
12242 Py_CLEAR( tmp1 );
12243 free( arg1 );
12244 }
12245 {
12246 Py_CLEAR( tmp9 );
12247 }
12248 {
12249 cleanup_pltr();
12250 }
12251 {
12253 }
12254 return resultobj;
12255fail:
12256 {
12257 Py_CLEAR( tmp1 );
12258 free( arg1 );
12259 }
12260 {
12261 Py_CLEAR( tmp9 );
12262 }
12263 {
12264 cleanup_pltr();
12265 }
12266 {
12268 }
12269 return NULL;
12270}
12271
12272
12273SWIGINTERN PyObject *_wrap_plshade(PyObject *self, PyObject *args) {
12274 PyObject *resultobj = 0;
12275 PLFLT **arg1 = (PLFLT **) 0 ;
12276 PLINT arg2 ;
12277 PLINT arg3 ;
12278 defined_func arg4 = (defined_func) 0 ;
12279 PLFLT arg5 ;
12280 PLFLT arg6 ;
12281 PLFLT arg7 ;
12282 PLFLT arg8 ;
12283 PLFLT arg9 ;
12284 PLFLT arg10 ;
12285 PLINT arg11 ;
12286 PLFLT arg12 ;
12287 PLFLT arg13 ;
12288 PLINT arg14 ;
12289 PLFLT arg15 ;
12290 PLINT arg16 ;
12291 PLFLT arg17 ;
12292 fill_func arg18 = (fill_func) 0 ;
12293 PLBOOL arg19 ;
12294 pltr_func arg20 = (pltr_func) 0 ;
12295 PLPointer arg21 = (PLPointer) 0 ;
12296 PyArrayObject *tmp1 = NULL ;
12297 double val5 ;
12298 int ecode5 = 0 ;
12299 double val6 ;
12300 int ecode6 = 0 ;
12301 double val7 ;
12302 int ecode7 = 0 ;
12303 double val8 ;
12304 int ecode8 = 0 ;
12305 double val9 ;
12306 int ecode9 = 0 ;
12307 double val10 ;
12308 int ecode10 = 0 ;
12309 int val11 ;
12310 int ecode11 = 0 ;
12311 double val12 ;
12312 int ecode12 = 0 ;
12313 double val13 ;
12314 int ecode13 = 0 ;
12315 int val14 ;
12316 int ecode14 = 0 ;
12317 double val15 ;
12318 int ecode15 = 0 ;
12319 int val16 ;
12320 int ecode16 = 0 ;
12321 double val17 ;
12322 int ecode17 = 0 ;
12323 int val19 ;
12324 int ecode19 = 0 ;
12325 PyObject *swig_obj[17] ;
12326
12327 {
12328 python_pltr = 0;
12329 arg20 = NULL;
12330 }
12331 {
12332 arg21 = NULL;
12333 }
12334 {
12335 arg4 = NULL;
12336 }
12337 {
12338 arg18 = plfill;
12339 }
12340 (void)self;
12341 if (!SWIG_Python_UnpackTuple(args, "plshade", 15, 17, swig_obj)) SWIG_fail;
12342 {
12343 int i, size;
12344 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
12345 if ( tmp1 == NULL )
12346 return NULL;
12347 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
12348 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
12349 size = arg3;
12350 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
12351 for ( i = 0; i < arg2; i++ )
12352 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
12353 }
12354 ecode5 = SWIG_AsVal_double(swig_obj[1], &val5);
12355 if (!SWIG_IsOK(ecode5)) {
12356 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshade" "', argument " "5"" of type '" "PLFLT""'");
12357 }
12358 arg5 = (PLFLT)(val5);
12359 ecode6 = SWIG_AsVal_double(swig_obj[2], &val6);
12360 if (!SWIG_IsOK(ecode6)) {
12361 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshade" "', argument " "6"" of type '" "PLFLT""'");
12362 }
12363 arg6 = (PLFLT)(val6);
12364 ecode7 = SWIG_AsVal_double(swig_obj[3], &val7);
12365 if (!SWIG_IsOK(ecode7)) {
12366 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshade" "', argument " "7"" of type '" "PLFLT""'");
12367 }
12368 arg7 = (PLFLT)(val7);
12369 ecode8 = SWIG_AsVal_double(swig_obj[4], &val8);
12370 if (!SWIG_IsOK(ecode8)) {
12371 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plshade" "', argument " "8"" of type '" "PLFLT""'");
12372 }
12373 arg8 = (PLFLT)(val8);
12374 ecode9 = SWIG_AsVal_double(swig_obj[5], &val9);
12375 if (!SWIG_IsOK(ecode9)) {
12376 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plshade" "', argument " "9"" of type '" "PLFLT""'");
12377 }
12378 arg9 = (PLFLT)(val9);
12379 ecode10 = SWIG_AsVal_double(swig_obj[6], &val10);
12380 if (!SWIG_IsOK(ecode10)) {
12381 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshade" "', argument " "10"" of type '" "PLFLT""'");
12382 }
12383 arg10 = (PLFLT)(val10);
12384 ecode11 = SWIG_AsVal_int(swig_obj[7], &val11);
12385 if (!SWIG_IsOK(ecode11)) {
12386 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshade" "', argument " "11"" of type '" "PLINT""'");
12387 }
12388 arg11 = (PLINT)(val11);
12389 ecode12 = SWIG_AsVal_double(swig_obj[8], &val12);
12390 if (!SWIG_IsOK(ecode12)) {
12391 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshade" "', argument " "12"" of type '" "PLFLT""'");
12392 }
12393 arg12 = (PLFLT)(val12);
12394 ecode13 = SWIG_AsVal_double(swig_obj[9], &val13);
12395 if (!SWIG_IsOK(ecode13)) {
12396 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshade" "', argument " "13"" of type '" "PLFLT""'");
12397 }
12398 arg13 = (PLFLT)(val13);
12399 ecode14 = SWIG_AsVal_int(swig_obj[10], &val14);
12400 if (!SWIG_IsOK(ecode14)) {
12401 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plshade" "', argument " "14"" of type '" "PLINT""'");
12402 }
12403 arg14 = (PLINT)(val14);
12404 ecode15 = SWIG_AsVal_double(swig_obj[11], &val15);
12405 if (!SWIG_IsOK(ecode15)) {
12406 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plshade" "', argument " "15"" of type '" "PLFLT""'");
12407 }
12408 arg15 = (PLFLT)(val15);
12409 ecode16 = SWIG_AsVal_int(swig_obj[12], &val16);
12410 if (!SWIG_IsOK(ecode16)) {
12411 SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "plshade" "', argument " "16"" of type '" "PLINT""'");
12412 }
12413 arg16 = (PLINT)(val16);
12414 ecode17 = SWIG_AsVal_double(swig_obj[13], &val17);
12415 if (!SWIG_IsOK(ecode17)) {
12416 SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "plshade" "', argument " "17"" of type '" "PLFLT""'");
12417 }
12418 arg17 = (PLFLT)(val17);
12419 ecode19 = SWIG_AsVal_int(swig_obj[14], &val19);
12420 if (!SWIG_IsOK(ecode19)) {
12421 SWIG_exception_fail(SWIG_ArgError(ecode19), "in method '" "plshade" "', argument " "19"" of type '" "PLBOOL""'");
12422 }
12423 arg19 = (PLBOOL)(val19);
12424 if (swig_obj[15]) {
12425 {
12426 // it must be a callable or None
12427 if ( swig_obj[15] == Py_None )
12428 {
12429 arg20 = NULL;
12430 }
12431 else
12432 {
12433 if ( !PyCallable_Check( (PyObject *) swig_obj[15] ) )
12434 {
12435 PyErr_SetString( PyExc_ValueError, "pltr argument must be callable" );
12436 return NULL;
12437 }
12438 arg20 = marshal_pltr( swig_obj[15] );
12439 }
12440 }
12441 }
12442 if (swig_obj[16]) {
12443 {
12444 if ( swig_obj[16] == Py_None )
12445 arg21 = NULL;
12446 else
12447 {
12448 arg21 = marshal_PLPointer( swig_obj[16], 0 );
12449 }
12450 }
12451 }
12452 plshade((double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21);
12453 resultobj = SWIG_Py_Void();
12454 {
12455 Py_CLEAR( tmp1 );
12456 free( arg1 );
12457 }
12458 {
12459 cleanup_pltr();
12460 }
12461 {
12463 }
12464 return resultobj;
12465fail:
12466 {
12467 Py_CLEAR( tmp1 );
12468 free( arg1 );
12469 }
12470 {
12471 cleanup_pltr();
12472 }
12473 {
12475 }
12476 return NULL;
12477}
12478
12479
12480SWIGINTERN PyObject *_wrap_plslabelfunc(PyObject *self, PyObject *args) {
12481 PyObject *resultobj = 0;
12482 label_func arg1 = (label_func) 0 ;
12483 PLPointer arg2 = (PLPointer) 0 ;
12484 int res2 ;
12485 PyObject *swig_obj[2] ;
12486
12487 (void)self;
12488 if (!SWIG_Python_UnpackTuple(args, "plslabelfunc", 2, 2, swig_obj)) SWIG_fail;
12489 {
12490 // Release reference to previous function if applicable
12491 if ( python_label )
12492 {
12493 Py_CLEAR( python_label );
12494 python_label = 0;
12495 }
12496 // it must be a callable or None
12497 if ( swig_obj[0] == Py_None )
12498 {
12499 arg1 = NULL;
12500 }
12501 else
12502 {
12503 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
12504 {
12505 PyErr_SetString( PyExc_ValueError, "label_func argument must be callable" );
12506 return NULL;
12507 }
12508 // hold a reference to it
12509 Py_XINCREF( (PyObject *) swig_obj[0] );
12510 python_label = (PyObject *) swig_obj[0];
12511 // this function handles calling the python function
12512 arg1 = do_label_callback;
12513 }
12514 }
12515 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, 0);
12516 if (!SWIG_IsOK(res2)) {
12517 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plslabelfunc" "', argument " "2"" of type '" "PLPointer""'");
12518 }
12519 plslabelfunc(arg1,arg2);
12520 resultobj = SWIG_Py_Void();
12521 return resultobj;
12522fail:
12523 return NULL;
12524}
12525
12526
12527SWIGINTERN PyObject *_wrap_plsmaj(PyObject *self, PyObject *args) {
12528 PyObject *resultobj = 0;
12529 PLFLT arg1 ;
12530 PLFLT arg2 ;
12531 double val1 ;
12532 int ecode1 = 0 ;
12533 double val2 ;
12534 int ecode2 = 0 ;
12535 PyObject *swig_obj[2] ;
12536
12537 (void)self;
12538 if (!SWIG_Python_UnpackTuple(args, "plsmaj", 2, 2, swig_obj)) SWIG_fail;
12539 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
12540 if (!SWIG_IsOK(ecode1)) {
12541 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmaj" "', argument " "1"" of type '" "PLFLT""'");
12542 }
12543 arg1 = (PLFLT)(val1);
12544 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
12545 if (!SWIG_IsOK(ecode2)) {
12546 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmaj" "', argument " "2"" of type '" "PLFLT""'");
12547 }
12548 arg2 = (PLFLT)(val2);
12549 plsmaj(arg1,arg2);
12550 resultobj = SWIG_Py_Void();
12551 return resultobj;
12552fail:
12553 return NULL;
12554}
12555
12556
12557SWIGINTERN PyObject *_wrap_plsmem(PyObject *self, PyObject *args) {
12558 PyObject *resultobj = 0;
12559 PLINT arg1 ;
12560 PLINT arg2 ;
12561 void *arg3 = (void *) 0 ;
12562 int val1 ;
12563 int ecode1 = 0 ;
12564 int val2 ;
12565 int ecode2 = 0 ;
12566 PyObject *swig_obj[3] ;
12567
12568 (void)self;
12569 if (!SWIG_Python_UnpackTuple(args, "plsmem", 3, 3, swig_obj)) SWIG_fail;
12570 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12571 if (!SWIG_IsOK(ecode1)) {
12572 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmem" "', argument " "1"" of type '" "PLINT""'");
12573 }
12574 arg1 = (PLINT)(val1);
12575 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12576 if (!SWIG_IsOK(ecode2)) {
12577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmem" "', argument " "2"" of type '" "PLINT""'");
12578 }
12579 arg2 = (PLINT)(val2);
12580 {
12581 int res; void *buf = 0;
12582#ifndef Py_LIMITED_API
12583 Py_buffer view;
12584 res = PyObject_GetBuffer(swig_obj[2], &view, PyBUF_WRITABLE);
12585#else
12586#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12587#pragma GCC diagnostic push
12588#pragma GCC diagnostic ignored "-Wdeprecated"
12589#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
12590#elif defined(_MSC_VER)
12591#pragma warning(push)
12592#pragma warning(disable: 4996)
12593#endif
12594 Py_ssize_t size;
12595 res = PyObject_AsWriteBuffer(swig_obj[2], &buf, &size);
12596#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12597#pragma GCC diagnostic pop
12598#elif defined(_MSC_VER)
12599#pragma warning(pop)
12600#endif
12601#endif
12602 if (res < 0) {
12603 PyErr_Clear();
12604 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "plsmem" "', argument " "3"" of type '" "(void * plotmem)""'");
12605 }
12606#ifndef Py_LIMITED_API
12607 buf = view.buf;
12608 PyBuffer_Release(&view);
12609#endif
12610 arg3 = (void *) buf;
12611 }
12612 plsmem(arg1,arg2,arg3);
12613 resultobj = SWIG_Py_Void();
12614 return resultobj;
12615fail:
12616 return NULL;
12617}
12618
12619
12620SWIGINTERN PyObject *_wrap_plsmema(PyObject *self, PyObject *args) {
12621 PyObject *resultobj = 0;
12622 PLINT arg1 ;
12623 PLINT arg2 ;
12624 void *arg3 = (void *) 0 ;
12625 int val1 ;
12626 int ecode1 = 0 ;
12627 int val2 ;
12628 int ecode2 = 0 ;
12629 PyObject *swig_obj[3] ;
12630
12631 (void)self;
12632 if (!SWIG_Python_UnpackTuple(args, "plsmema", 3, 3, swig_obj)) SWIG_fail;
12633 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12634 if (!SWIG_IsOK(ecode1)) {
12635 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmema" "', argument " "1"" of type '" "PLINT""'");
12636 }
12637 arg1 = (PLINT)(val1);
12638 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12639 if (!SWIG_IsOK(ecode2)) {
12640 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmema" "', argument " "2"" of type '" "PLINT""'");
12641 }
12642 arg2 = (PLINT)(val2);
12643 {
12644 int res; void *buf = 0;
12645#ifndef Py_LIMITED_API
12646 Py_buffer view;
12647 res = PyObject_GetBuffer(swig_obj[2], &view, PyBUF_WRITABLE);
12648#else
12649#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12650#pragma GCC diagnostic push
12651#pragma GCC diagnostic ignored "-Wdeprecated"
12652#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
12653#elif defined(_MSC_VER)
12654#pragma warning(push)
12655#pragma warning(disable: 4996)
12656#endif
12657 Py_ssize_t size;
12658 res = PyObject_AsWriteBuffer(swig_obj[2], &buf, &size);
12659#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12660#pragma GCC diagnostic pop
12661#elif defined(_MSC_VER)
12662#pragma warning(pop)
12663#endif
12664#endif
12665 if (res < 0) {
12666 PyErr_Clear();
12667 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "plsmema" "', argument " "3"" of type '" "(void * plotmem)""'");
12668 }
12669#ifndef Py_LIMITED_API
12670 buf = view.buf;
12671 PyBuffer_Release(&view);
12672#endif
12673 arg3 = (void *) buf;
12674 }
12675 plsmema(arg1,arg2,arg3);
12676 resultobj = SWIG_Py_Void();
12677 return resultobj;
12678fail:
12679 return NULL;
12680}
12681
12682
12683SWIGINTERN PyObject *_wrap_plsmin(PyObject *self, PyObject *args) {
12684 PyObject *resultobj = 0;
12685 PLFLT arg1 ;
12686 PLFLT arg2 ;
12687 double val1 ;
12688 int ecode1 = 0 ;
12689 double val2 ;
12690 int ecode2 = 0 ;
12691 PyObject *swig_obj[2] ;
12692
12693 (void)self;
12694 if (!SWIG_Python_UnpackTuple(args, "plsmin", 2, 2, swig_obj)) SWIG_fail;
12695 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
12696 if (!SWIG_IsOK(ecode1)) {
12697 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmin" "', argument " "1"" of type '" "PLFLT""'");
12698 }
12699 arg1 = (PLFLT)(val1);
12700 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
12701 if (!SWIG_IsOK(ecode2)) {
12702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmin" "', argument " "2"" of type '" "PLFLT""'");
12703 }
12704 arg2 = (PLFLT)(val2);
12705 plsmin(arg1,arg2);
12706 resultobj = SWIG_Py_Void();
12707 return resultobj;
12708fail:
12709 return NULL;
12710}
12711
12712
12713SWIGINTERN PyObject *_wrap_plsori(PyObject *self, PyObject *args) {
12714 PyObject *resultobj = 0;
12715 PLINT arg1 ;
12716 int val1 ;
12717 int ecode1 = 0 ;
12718 PyObject *swig_obj[1] ;
12719
12720 (void)self;
12721 if (!args) SWIG_fail;
12722 swig_obj[0] = args;
12723 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12724 if (!SWIG_IsOK(ecode1)) {
12725 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsori" "', argument " "1"" of type '" "PLINT""'");
12726 }
12727 arg1 = (PLINT)(val1);
12728 plsori(arg1);
12729 resultobj = SWIG_Py_Void();
12730 return resultobj;
12731fail:
12732 return NULL;
12733}
12734
12735
12736SWIGINTERN PyObject *_wrap_plspage(PyObject *self, PyObject *args) {
12737 PyObject *resultobj = 0;
12738 PLFLT arg1 ;
12739 PLFLT arg2 ;
12740 PLINT arg3 ;
12741 PLINT arg4 ;
12742 PLINT arg5 ;
12743 PLINT arg6 ;
12744 double val1 ;
12745 int ecode1 = 0 ;
12746 double val2 ;
12747 int ecode2 = 0 ;
12748 int val3 ;
12749 int ecode3 = 0 ;
12750 int val4 ;
12751 int ecode4 = 0 ;
12752 int val5 ;
12753 int ecode5 = 0 ;
12754 int val6 ;
12755 int ecode6 = 0 ;
12756 PyObject *swig_obj[6] ;
12757
12758 (void)self;
12759 if (!SWIG_Python_UnpackTuple(args, "plspage", 6, 6, swig_obj)) SWIG_fail;
12760 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
12761 if (!SWIG_IsOK(ecode1)) {
12762 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plspage" "', argument " "1"" of type '" "PLFLT""'");
12763 }
12764 arg1 = (PLFLT)(val1);
12765 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
12766 if (!SWIG_IsOK(ecode2)) {
12767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plspage" "', argument " "2"" of type '" "PLFLT""'");
12768 }
12769 arg2 = (PLFLT)(val2);
12770 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
12771 if (!SWIG_IsOK(ecode3)) {
12772 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plspage" "', argument " "3"" of type '" "PLINT""'");
12773 }
12774 arg3 = (PLINT)(val3);
12775 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
12776 if (!SWIG_IsOK(ecode4)) {
12777 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plspage" "', argument " "4"" of type '" "PLINT""'");
12778 }
12779 arg4 = (PLINT)(val4);
12780 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
12781 if (!SWIG_IsOK(ecode5)) {
12782 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plspage" "', argument " "5"" of type '" "PLINT""'");
12783 }
12784 arg5 = (PLINT)(val5);
12785 ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
12786 if (!SWIG_IsOK(ecode6)) {
12787 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plspage" "', argument " "6"" of type '" "PLINT""'");
12788 }
12789 arg6 = (PLINT)(val6);
12790 plspage(arg1,arg2,arg3,arg4,arg5,arg6);
12791 resultobj = SWIG_Py_Void();
12792 return resultobj;
12793fail:
12794 return NULL;
12795}
12796
12797
12798SWIGINTERN PyObject *_wrap_plspal0(PyObject *self, PyObject *args) {
12799 PyObject *resultobj = 0;
12800 char *arg1 = (char *) 0 ;
12801 int res1 ;
12802 char *buf1 = 0 ;
12803 int alloc1 = 0 ;
12804 PyObject *swig_obj[1] ;
12805
12806 (void)self;
12807 if (!args) SWIG_fail;
12808 swig_obj[0] = args;
12809 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
12810 if (!SWIG_IsOK(res1)) {
12811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plspal0" "', argument " "1"" of type '" "char const *""'");
12812 }
12813 arg1 = (char *)(buf1);
12814 plspal0((char const *)arg1);
12815 resultobj = SWIG_Py_Void();
12816 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12817 return resultobj;
12818fail:
12819 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12820 return NULL;
12821}
12822
12823
12824SWIGINTERN PyObject *_wrap_plspal1(PyObject *self, PyObject *args) {
12825 PyObject *resultobj = 0;
12826 char *arg1 = (char *) 0 ;
12827 PLBOOL arg2 ;
12828 int res1 ;
12829 char *buf1 = 0 ;
12830 int alloc1 = 0 ;
12831 int val2 ;
12832 int ecode2 = 0 ;
12833 PyObject *swig_obj[2] ;
12834
12835 (void)self;
12836 if (!SWIG_Python_UnpackTuple(args, "plspal1", 2, 2, swig_obj)) SWIG_fail;
12837 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
12838 if (!SWIG_IsOK(res1)) {
12839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plspal1" "', argument " "1"" of type '" "char const *""'");
12840 }
12841 arg1 = (char *)(buf1);
12842 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12843 if (!SWIG_IsOK(ecode2)) {
12844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plspal1" "', argument " "2"" of type '" "PLBOOL""'");
12845 }
12846 arg2 = (PLBOOL)(val2);
12847 plspal1((char const *)arg1,arg2);
12848 resultobj = SWIG_Py_Void();
12849 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12850 return resultobj;
12851fail:
12852 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12853 return NULL;
12854}
12855
12856
12857SWIGINTERN PyObject *_wrap_plspause(PyObject *self, PyObject *args) {
12858 PyObject *resultobj = 0;
12859 PLBOOL arg1 ;
12860 int val1 ;
12861 int ecode1 = 0 ;
12862 PyObject *swig_obj[1] ;
12863
12864 (void)self;
12865 if (!args) SWIG_fail;
12866 swig_obj[0] = args;
12867 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12868 if (!SWIG_IsOK(ecode1)) {
12869 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plspause" "', argument " "1"" of type '" "PLBOOL""'");
12870 }
12871 arg1 = (PLBOOL)(val1);
12872 plspause(arg1);
12873 resultobj = SWIG_Py_Void();
12874 return resultobj;
12875fail:
12876 return NULL;
12877}
12878
12879
12880SWIGINTERN PyObject *_wrap_plsstrm(PyObject *self, PyObject *args) {
12881 PyObject *resultobj = 0;
12882 PLINT arg1 ;
12883 int val1 ;
12884 int ecode1 = 0 ;
12885 PyObject *swig_obj[1] ;
12886
12887 (void)self;
12888 if (!args) SWIG_fail;
12889 swig_obj[0] = args;
12890 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12891 if (!SWIG_IsOK(ecode1)) {
12892 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsstrm" "', argument " "1"" of type '" "PLINT""'");
12893 }
12894 arg1 = (PLINT)(val1);
12895 plsstrm(arg1);
12896 resultobj = SWIG_Py_Void();
12897 return resultobj;
12898fail:
12899 return NULL;
12900}
12901
12902
12903SWIGINTERN PyObject *_wrap_plssub(PyObject *self, PyObject *args) {
12904 PyObject *resultobj = 0;
12905 PLINT arg1 ;
12906 PLINT arg2 ;
12907 int val1 ;
12908 int ecode1 = 0 ;
12909 int val2 ;
12910 int ecode2 = 0 ;
12911 PyObject *swig_obj[2] ;
12912
12913 (void)self;
12914 if (!SWIG_Python_UnpackTuple(args, "plssub", 2, 2, swig_obj)) SWIG_fail;
12915 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12916 if (!SWIG_IsOK(ecode1)) {
12917 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plssub" "', argument " "1"" of type '" "PLINT""'");
12918 }
12919 arg1 = (PLINT)(val1);
12920 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12921 if (!SWIG_IsOK(ecode2)) {
12922 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plssub" "', argument " "2"" of type '" "PLINT""'");
12923 }
12924 arg2 = (PLINT)(val2);
12925 plssub(arg1,arg2);
12926 resultobj = SWIG_Py_Void();
12927 return resultobj;
12928fail:
12929 return NULL;
12930}
12931
12932
12933SWIGINTERN PyObject *_wrap_plssym(PyObject *self, PyObject *args) {
12934 PyObject *resultobj = 0;
12935 PLFLT arg1 ;
12936 PLFLT arg2 ;
12937 double val1 ;
12938 int ecode1 = 0 ;
12939 double val2 ;
12940 int ecode2 = 0 ;
12941 PyObject *swig_obj[2] ;
12942
12943 (void)self;
12944 if (!SWIG_Python_UnpackTuple(args, "plssym", 2, 2, swig_obj)) SWIG_fail;
12945 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
12946 if (!SWIG_IsOK(ecode1)) {
12947 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plssym" "', argument " "1"" of type '" "PLFLT""'");
12948 }
12949 arg1 = (PLFLT)(val1);
12950 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
12951 if (!SWIG_IsOK(ecode2)) {
12952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plssym" "', argument " "2"" of type '" "PLFLT""'");
12953 }
12954 arg2 = (PLFLT)(val2);
12955 plssym(arg1,arg2);
12956 resultobj = SWIG_Py_Void();
12957 return resultobj;
12958fail:
12959 return NULL;
12960}
12961
12962
12963SWIGINTERN PyObject *_wrap_plstar(PyObject *self, PyObject *args) {
12964 PyObject *resultobj = 0;
12965 PLINT arg1 ;
12966 PLINT arg2 ;
12967 int val1 ;
12968 int ecode1 = 0 ;
12969 int val2 ;
12970 int ecode2 = 0 ;
12971 PyObject *swig_obj[2] ;
12972
12973 (void)self;
12974 if (!SWIG_Python_UnpackTuple(args, "plstar", 2, 2, swig_obj)) SWIG_fail;
12975 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12976 if (!SWIG_IsOK(ecode1)) {
12977 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plstar" "', argument " "1"" of type '" "PLINT""'");
12978 }
12979 arg1 = (PLINT)(val1);
12980 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12981 if (!SWIG_IsOK(ecode2)) {
12982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plstar" "', argument " "2"" of type '" "PLINT""'");
12983 }
12984 arg2 = (PLINT)(val2);
12985 plstar(arg1,arg2);
12986 resultobj = SWIG_Py_Void();
12987 return resultobj;
12988fail:
12989 return NULL;
12990}
12991
12992
12993SWIGINTERN PyObject *_wrap_plstart(PyObject *self, PyObject *args) {
12994 PyObject *resultobj = 0;
12995 char *arg1 = (char *) 0 ;
12996 PLINT arg2 ;
12997 PLINT arg3 ;
12998 int res1 ;
12999 char *buf1 = 0 ;
13000 int alloc1 = 0 ;
13001 int val2 ;
13002 int ecode2 = 0 ;
13003 int val3 ;
13004 int ecode3 = 0 ;
13005 PyObject *swig_obj[3] ;
13006
13007 (void)self;
13008 if (!SWIG_Python_UnpackTuple(args, "plstart", 3, 3, swig_obj)) SWIG_fail;
13009 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
13010 if (!SWIG_IsOK(res1)) {
13011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plstart" "', argument " "1"" of type '" "char const *""'");
13012 }
13013 arg1 = (char *)(buf1);
13014 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13015 if (!SWIG_IsOK(ecode2)) {
13016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plstart" "', argument " "2"" of type '" "PLINT""'");
13017 }
13018 arg2 = (PLINT)(val2);
13019 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
13020 if (!SWIG_IsOK(ecode3)) {
13021 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plstart" "', argument " "3"" of type '" "PLINT""'");
13022 }
13023 arg3 = (PLINT)(val3);
13024 plstart((char const *)arg1,arg2,arg3);
13025 resultobj = SWIG_Py_Void();
13026 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
13027 return resultobj;
13028fail:
13029 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
13030 return NULL;
13031}
13032
13033
13034SWIGINTERN PyObject *_wrap_plstransform(PyObject *self, PyObject *args) {
13035 PyObject *resultobj = 0;
13036 ct_func arg1 = (ct_func) 0 ;
13037 PLPointer arg2 = (PLPointer) 0 ;
13038 int res2 ;
13039 PyObject *swig_obj[2] ;
13040
13041 {
13042 python_ct = 0;
13043 arg1 = NULL;
13044 }
13045 (void)self;
13046 if (!SWIG_Python_UnpackTuple(args, "plstransform", 0, 2, swig_obj)) SWIG_fail;
13047 if (swig_obj[0]) {
13048 {
13049 if ( python_ct )
13050 cleanup_ct();
13051 // it must be a callable or none
13052 if ( swig_obj[0] == Py_None )
13053 {
13054 arg1 = NULL;
13055 }
13056 else
13057 {
13058 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
13059 {
13060 PyErr_SetString( PyExc_ValueError, "coordinate transform argument must be callable" );
13061 return NULL;
13062 }
13063 arg1 = marshal_ct( swig_obj[0] );
13064 }
13065 }
13066 }
13067 if (swig_obj[1]) {
13068 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, 0);
13069 if (!SWIG_IsOK(res2)) {
13070 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plstransform" "', argument " "2"" of type '" "PLPointer""'");
13071 }
13072 }
13073 plstransform(arg1,arg2);
13074 resultobj = SWIG_Py_Void();
13075 return resultobj;
13076fail:
13077 return NULL;
13078}
13079
13080
13081SWIGINTERN PyObject *_wrap_plstring(PyObject *self, PyObject *args) {
13082 PyObject *resultobj = 0;
13083 PLINT arg1 ;
13084 PLFLT *arg2 = (PLFLT *) 0 ;
13085 PLFLT *arg3 = (PLFLT *) 0 ;
13086 char *arg4 = (char *) 0 ;
13087 PyArrayObject *tmp1 = NULL ;
13088 PyArrayObject *tmp3 = NULL ;
13089 int res4 ;
13090 char *buf4 = 0 ;
13091 int alloc4 = 0 ;
13092 PyObject *swig_obj[3] ;
13093
13094 (void)self;
13095 if (!SWIG_Python_UnpackTuple(args, "plstring", 3, 3, swig_obj)) SWIG_fail;
13096 {
13097 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
13098 if ( tmp1 == NULL )
13099 return NULL;
13100 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13101 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
13102 }
13103 {
13104 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
13105 if ( tmp3 == NULL )
13106 return NULL;
13107 if ( PyArray_DIMS( tmp3 )[0] != Alen )
13108 {
13109 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13110 return NULL;
13111 }
13112 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
13113 }
13114 res4 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf4, NULL, &alloc4);
13115 if (!SWIG_IsOK(res4)) {
13116 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "plstring" "', argument " "4"" of type '" "char const *""'");
13117 }
13118 arg4 = (char *)(buf4);
13119 plstring(arg1,(double const *)arg2,(double const *)arg3,(char const *)arg4);
13120 resultobj = SWIG_Py_Void();
13121 {
13122 Py_CLEAR( tmp1 );
13123 }
13124 {
13125 Py_CLEAR( tmp3 );
13126 }
13127 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
13128 return resultobj;
13129fail:
13130 {
13131 Py_CLEAR( tmp1 );
13132 }
13133 {
13134 Py_CLEAR( tmp3 );
13135 }
13136 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
13137 return NULL;
13138}
13139
13140
13141SWIGINTERN PyObject *_wrap_plstring3(PyObject *self, PyObject *args) {
13142 PyObject *resultobj = 0;
13143 PLINT arg1 ;
13144 PLFLT *arg2 = (PLFLT *) 0 ;
13145 PLFLT *arg3 = (PLFLT *) 0 ;
13146 PLFLT *arg4 = (PLFLT *) 0 ;
13147 char *arg5 = (char *) 0 ;
13148 PyArrayObject *tmp1 = NULL ;
13149 PyArrayObject *tmp3 = NULL ;
13150 PyArrayObject *tmp4 = NULL ;
13151 int res5 ;
13152 char *buf5 = 0 ;
13153 int alloc5 = 0 ;
13154 PyObject *swig_obj[4] ;
13155
13156 (void)self;
13157 if (!SWIG_Python_UnpackTuple(args, "plstring3", 4, 4, swig_obj)) SWIG_fail;
13158 {
13159 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
13160 if ( tmp1 == NULL )
13161 return NULL;
13162 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13163 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
13164 }
13165 {
13166 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
13167 if ( tmp3 == NULL )
13168 return NULL;
13169 if ( PyArray_DIMS( tmp3 )[0] != Alen )
13170 {
13171 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13172 return NULL;
13173 }
13174 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
13175 }
13176 {
13177 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
13178 if ( tmp4 == NULL )
13179 return NULL;
13180 if ( PyArray_DIMS( tmp4 )[0] != Alen )
13181 {
13182 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13183 return NULL;
13184 }
13185 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
13186 }
13187 res5 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf5, NULL, &alloc5);
13188 if (!SWIG_IsOK(res5)) {
13189 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plstring3" "', argument " "5"" of type '" "char const *""'");
13190 }
13191 arg5 = (char *)(buf5);
13192 plstring3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4,(char const *)arg5);
13193 resultobj = SWIG_Py_Void();
13194 {
13195 Py_CLEAR( tmp1 );
13196 }
13197 {
13198 Py_CLEAR( tmp3 );
13199 }
13200 {
13201 Py_CLEAR( tmp4 );
13202 }
13203 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
13204 return resultobj;
13205fail:
13206 {
13207 Py_CLEAR( tmp1 );
13208 }
13209 {
13210 Py_CLEAR( tmp3 );
13211 }
13212 {
13213 Py_CLEAR( tmp4 );
13214 }
13215 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
13216 return NULL;
13217}
13218
13219
13220SWIGINTERN PyObject *_wrap_plstripa(PyObject *self, PyObject *args) {
13221 PyObject *resultobj = 0;
13222 PLINT arg1 ;
13223 PLINT arg2 ;
13224 PLFLT arg3 ;
13225 PLFLT arg4 ;
13226 int val1 ;
13227 int ecode1 = 0 ;
13228 int val2 ;
13229 int ecode2 = 0 ;
13230 double val3 ;
13231 int ecode3 = 0 ;
13232 double val4 ;
13233 int ecode4 = 0 ;
13234 PyObject *swig_obj[4] ;
13235
13236 (void)self;
13237 if (!SWIG_Python_UnpackTuple(args, "plstripa", 4, 4, swig_obj)) SWIG_fail;
13238 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13239 if (!SWIG_IsOK(ecode1)) {
13240 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plstripa" "', argument " "1"" of type '" "PLINT""'");
13241 }
13242 arg1 = (PLINT)(val1);
13243 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13244 if (!SWIG_IsOK(ecode2)) {
13245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plstripa" "', argument " "2"" of type '" "PLINT""'");
13246 }
13247 arg2 = (PLINT)(val2);
13248 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
13249 if (!SWIG_IsOK(ecode3)) {
13250 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plstripa" "', argument " "3"" of type '" "PLFLT""'");
13251 }
13252 arg3 = (PLFLT)(val3);
13253 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
13254 if (!SWIG_IsOK(ecode4)) {
13255 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plstripa" "', argument " "4"" of type '" "PLFLT""'");
13256 }
13257 arg4 = (PLFLT)(val4);
13258 plstripa(arg1,arg2,arg3,arg4);
13259 resultobj = SWIG_Py_Void();
13260 return resultobj;
13261fail:
13262 return NULL;
13263}
13264
13265
13266SWIGINTERN PyObject *_wrap_plstripc(PyObject *self, PyObject *args) {
13267 PyObject *resultobj = 0;
13268 PLINT *arg1 = (PLINT *) 0 ;
13269 char *arg2 = (char *) 0 ;
13270 char *arg3 = (char *) 0 ;
13271 PLFLT arg4 ;
13272 PLFLT arg5 ;
13273 PLFLT arg6 ;
13274 PLFLT arg7 ;
13275 PLFLT arg8 ;
13276 PLFLT arg9 ;
13277 PLFLT arg10 ;
13278 PLBOOL arg11 ;
13279 PLBOOL arg12 ;
13280 PLINT arg13 ;
13281 PLINT arg14 ;
13282 PLINT *arg15 = (PLINT *) 0 ;
13283 PLINT *arg16 = (PLINT *) 0 ;
13284 char **arg17 = (char **) (char **)0 ;
13285 char *arg18 = (char *) 0 ;
13286 char *arg19 = (char *) 0 ;
13287 char *arg20 = (char *) 0 ;
13288 PLINT temp1 ;
13289 int res1 = SWIG_TMPOBJ ;
13290 int res2 ;
13291 char *buf2 = 0 ;
13292 int alloc2 = 0 ;
13293 int res3 ;
13294 char *buf3 = 0 ;
13295 int alloc3 = 0 ;
13296 double val4 ;
13297 int ecode4 = 0 ;
13298 double val5 ;
13299 int ecode5 = 0 ;
13300 double val6 ;
13301 int ecode6 = 0 ;
13302 double val7 ;
13303 int ecode7 = 0 ;
13304 double val8 ;
13305 int ecode8 = 0 ;
13306 double val9 ;
13307 int ecode9 = 0 ;
13308 double val10 ;
13309 int ecode10 = 0 ;
13310 int val11 ;
13311 int ecode11 = 0 ;
13312 int val12 ;
13313 int ecode12 = 0 ;
13314 int val13 ;
13315 int ecode13 = 0 ;
13316 int val14 ;
13317 int ecode14 = 0 ;
13318 PyArrayObject *tmp15 = NULL ;
13319 PyArrayObject *tmp16 = NULL ;
13320 char **tmp17 = NULL ;
13321 int res18 ;
13322 char *buf18 = 0 ;
13323 int alloc18 = 0 ;
13324 int res19 ;
13325 char *buf19 = 0 ;
13326 int alloc19 = 0 ;
13327 int res20 ;
13328 char *buf20 = 0 ;
13329 int alloc20 = 0 ;
13330 PyObject *swig_obj[19] ;
13331
13332 arg1 = &temp1;
13333 (void)self;
13334 if (!SWIG_Python_UnpackTuple(args, "plstripc", 19, 19, swig_obj)) SWIG_fail;
13335 res2 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf2, NULL, &alloc2);
13336 if (!SWIG_IsOK(res2)) {
13337 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plstripc" "', argument " "2"" of type '" "char const *""'");
13338 }
13339 arg2 = (char *)(buf2);
13340 res3 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf3, NULL, &alloc3);
13341 if (!SWIG_IsOK(res3)) {
13342 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "plstripc" "', argument " "3"" of type '" "char const *""'");
13343 }
13344 arg3 = (char *)(buf3);
13345 ecode4 = SWIG_AsVal_double(swig_obj[2], &val4);
13346 if (!SWIG_IsOK(ecode4)) {
13347 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plstripc" "', argument " "4"" of type '" "PLFLT""'");
13348 }
13349 arg4 = (PLFLT)(val4);
13350 ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
13351 if (!SWIG_IsOK(ecode5)) {
13352 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plstripc" "', argument " "5"" of type '" "PLFLT""'");
13353 }
13354 arg5 = (PLFLT)(val5);
13355 ecode6 = SWIG_AsVal_double(swig_obj[4], &val6);
13356 if (!SWIG_IsOK(ecode6)) {
13357 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plstripc" "', argument " "6"" of type '" "PLFLT""'");
13358 }
13359 arg6 = (PLFLT)(val6);
13360 ecode7 = SWIG_AsVal_double(swig_obj[5], &val7);
13361 if (!SWIG_IsOK(ecode7)) {
13362 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plstripc" "', argument " "7"" of type '" "PLFLT""'");
13363 }
13364 arg7 = (PLFLT)(val7);
13365 ecode8 = SWIG_AsVal_double(swig_obj[6], &val8);
13366 if (!SWIG_IsOK(ecode8)) {
13367 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plstripc" "', argument " "8"" of type '" "PLFLT""'");
13368 }
13369 arg8 = (PLFLT)(val8);
13370 ecode9 = SWIG_AsVal_double(swig_obj[7], &val9);
13371 if (!SWIG_IsOK(ecode9)) {
13372 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plstripc" "', argument " "9"" of type '" "PLFLT""'");
13373 }
13374 arg9 = (PLFLT)(val9);
13375 ecode10 = SWIG_AsVal_double(swig_obj[8], &val10);
13376 if (!SWIG_IsOK(ecode10)) {
13377 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plstripc" "', argument " "10"" of type '" "PLFLT""'");
13378 }
13379 arg10 = (PLFLT)(val10);
13380 ecode11 = SWIG_AsVal_int(swig_obj[9], &val11);
13381 if (!SWIG_IsOK(ecode11)) {
13382 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plstripc" "', argument " "11"" of type '" "PLBOOL""'");
13383 }
13384 arg11 = (PLBOOL)(val11);
13385 ecode12 = SWIG_AsVal_int(swig_obj[10], &val12);
13386 if (!SWIG_IsOK(ecode12)) {
13387 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plstripc" "', argument " "12"" of type '" "PLBOOL""'");
13388 }
13389 arg12 = (PLBOOL)(val12);
13390 ecode13 = SWIG_AsVal_int(swig_obj[11], &val13);
13391 if (!SWIG_IsOK(ecode13)) {
13392 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plstripc" "', argument " "13"" of type '" "PLINT""'");
13393 }
13394 arg13 = (PLINT)(val13);
13395 ecode14 = SWIG_AsVal_int(swig_obj[12], &val14);
13396 if (!SWIG_IsOK(ecode14)) {
13397 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plstripc" "', argument " "14"" of type '" "PLINT""'");
13398 }
13399 arg14 = (PLINT)(val14);
13400 {
13401 tmp15 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[13], NPY_PLINT, 1, 1 );
13402 if ( tmp15 == NULL )
13403 return NULL;
13404 Alen = PyArray_DIMS( tmp15 )[0];
13405 arg15 = (PLINT *) PyArray_DATA( tmp15 );
13406 }
13407 {
13408 tmp16 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[14], NPY_PLINT, 1, 1 );
13409 if ( tmp16 == NULL )
13410 return NULL;
13411 if ( PyArray_DIMS( tmp16 )[0] != Alen )
13412 {
13413 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13414 return NULL;
13415 }
13416 arg16 = (PLINT *) PyArray_DATA( tmp16 );
13417 }
13418 {
13419 int i;
13420 PyObject *elt, *unicode_string;
13421
13422 if ( !PySequence_Check( swig_obj[15] ) || PySequence_Size( swig_obj[15] ) != 4 )
13423 {
13424 PyErr_SetString( PyExc_ValueError, "Requires a sequence of 4 strings." );
13425 return NULL;
13426 }
13427 if ( Alen != 4 )
13428 {
13429 PyErr_SetString( PyExc_ValueError, "colline and styline args must be length 4." );
13430 return NULL;
13431 }
13432 tmp17 = (char **) malloc( sizeof ( char* ) * 4 );
13433 if ( tmp17 == NULL )
13434 return NULL;
13435 arg17 = tmp17;
13436 for ( i = 0; i < 4; i++ )
13437 {
13438 arg17[i] = NULL;
13439 elt = PySequence_Fast_GET_ITEM( swig_obj[15], i );
13440 if ( PyString_Check( elt ) )
13441 {
13442 arg17[i] = PyString_AsString( elt );
13443 }
13444 else if ( PyUnicode_Check( elt ) )
13445 {
13446 unicode_string = PyUnicode_AsEncodedString( elt, "utf-8", "Error ~" );
13447 arg17[i] = PyBytes_AS_STRING( unicode_string );
13448 }
13449 if ( arg17[i] == NULL )
13450 {
13451 free( tmp17 );
13452 return NULL;
13453 }
13454 }
13455 }
13456 res18 = SWIG_AsCharPtrAndSize(swig_obj[16], &buf18, NULL, &alloc18);
13457 if (!SWIG_IsOK(res18)) {
13458 SWIG_exception_fail(SWIG_ArgError(res18), "in method '" "plstripc" "', argument " "18"" of type '" "char const *""'");
13459 }
13460 arg18 = (char *)(buf18);
13461 res19 = SWIG_AsCharPtrAndSize(swig_obj[17], &buf19, NULL, &alloc19);
13462 if (!SWIG_IsOK(res19)) {
13463 SWIG_exception_fail(SWIG_ArgError(res19), "in method '" "plstripc" "', argument " "19"" of type '" "char const *""'");
13464 }
13465 arg19 = (char *)(buf19);
13466 res20 = SWIG_AsCharPtrAndSize(swig_obj[18], &buf20, NULL, &alloc20);
13467 if (!SWIG_IsOK(res20)) {
13468 SWIG_exception_fail(SWIG_ArgError(res20), "in method '" "plstripc" "', argument " "20"" of type '" "char const *""'");
13469 }
13470 arg20 = (char *)(buf20);
13471 plstripc(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,(int const *)arg15,(int const *)arg16,(char const *(*))arg17,(char const *)arg18,(char const *)arg19,(char const *)arg20);
13472 resultobj = SWIG_Py_Void();
13473 if (SWIG_IsTmpObj(res1)) {
13474 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
13475 } else {
13476 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13477 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
13478 }
13479 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13480 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13481 {
13482 Py_CLEAR( tmp15 );
13483 }
13484 {
13485 Py_CLEAR( tmp16 );
13486 }
13487 {
13488 free( tmp17 );
13489 }
13490 if (alloc18 == SWIG_NEWOBJ) free((char*)buf18);
13491 if (alloc19 == SWIG_NEWOBJ) free((char*)buf19);
13492 if (alloc20 == SWIG_NEWOBJ) free((char*)buf20);
13493 return resultobj;
13494fail:
13495 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13496 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13497 {
13498 Py_CLEAR( tmp15 );
13499 }
13500 {
13501 Py_CLEAR( tmp16 );
13502 }
13503 {
13504 free( tmp17 );
13505 }
13506 if (alloc18 == SWIG_NEWOBJ) free((char*)buf18);
13507 if (alloc19 == SWIG_NEWOBJ) free((char*)buf19);
13508 if (alloc20 == SWIG_NEWOBJ) free((char*)buf20);
13509 return NULL;
13510}
13511
13512
13513SWIGINTERN PyObject *_wrap_plstripd(PyObject *self, PyObject *args) {
13514 PyObject *resultobj = 0;
13515 PLINT arg1 ;
13516 int val1 ;
13517 int ecode1 = 0 ;
13518 PyObject *swig_obj[1] ;
13519
13520 (void)self;
13521 if (!args) SWIG_fail;
13522 swig_obj[0] = args;
13523 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13524 if (!SWIG_IsOK(ecode1)) {
13525 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plstripd" "', argument " "1"" of type '" "PLINT""'");
13526 }
13527 arg1 = (PLINT)(val1);
13528 plstripd(arg1);
13529 resultobj = SWIG_Py_Void();
13530 return resultobj;
13531fail:
13532 return NULL;
13533}
13534
13535
13536SWIGINTERN PyObject *_wrap_plstyl(PyObject *self, PyObject *args) {
13537 PyObject *resultobj = 0;
13538 PLINT arg1 ;
13539 PLINT *arg2 = (PLINT *) 0 ;
13540 PLINT *arg3 = (PLINT *) 0 ;
13541 PyArrayObject *tmp1 = NULL ;
13542 PyArrayObject *tmp3 = NULL ;
13543 PyObject *swig_obj[2] ;
13544
13545 (void)self;
13546 if (!SWIG_Python_UnpackTuple(args, "plstyl", 2, 2, swig_obj)) SWIG_fail;
13547 {
13548 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
13549 if ( tmp1 == NULL )
13550 return NULL;
13551 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13552 arg2 = (PLINT *) PyArray_DATA( tmp1 );
13553 }
13554 {
13555 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
13556 if ( tmp3 == NULL )
13557 return NULL;
13558 if ( PyArray_DIMS( tmp3 )[0] != Alen )
13559 {
13560 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13561 return NULL;
13562 }
13563 arg3 = (PLINT *) PyArray_DATA( tmp3 );
13564 }
13565 plstyl(arg1,(int const *)arg2,(int const *)arg3);
13566 resultobj = SWIG_Py_Void();
13567 {
13568 Py_CLEAR( tmp1 );
13569 }
13570 {
13571 Py_CLEAR( tmp3 );
13572 }
13573 return resultobj;
13574fail:
13575 {
13576 Py_CLEAR( tmp1 );
13577 }
13578 {
13579 Py_CLEAR( tmp3 );
13580 }
13581 return NULL;
13582}
13583
13584
13585SWIGINTERN PyObject *_wrap_plsvect(PyObject *self, PyObject *args) {
13586 PyObject *resultobj = 0;
13587 PLFLT *arg1 = (PLFLT *) 0 ;
13588 PLFLT *arg2 = (PLFLT *) 0 ;
13589 PLINT arg3 ;
13590 PLBOOL arg4 ;
13591 PyArrayObject *tmp1 = NULL ;
13592 PyArrayObject *tmp2 = NULL ;
13593 int val4 ;
13594 int ecode4 = 0 ;
13595 PyObject *swig_obj[3] ;
13596
13597 (void)self;
13598 if (!SWIG_Python_UnpackTuple(args, "plsvect", 3, 3, swig_obj)) SWIG_fail;
13599 {
13600 if ( swig_obj[0] != Py_None )
13601 {
13602 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
13603 if ( tmp1 == NULL )
13604 return NULL;
13605 Alen = PyArray_DIMS( tmp1 )[0];
13606 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
13607 }
13608 else
13609 {
13610 arg1 = NULL;
13611 Alen = 0;
13612 }
13613 }
13614 {
13615 if ( swig_obj[1] != Py_None )
13616 {
13617 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
13618 if ( tmp2 == NULL )
13619 return NULL;
13620 if ( PyArray_DIMS( tmp2 )[0] != Alen )
13621 {
13622 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13623 return NULL;
13624 }
13625 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
13626 arg3 = PyArray_DIMS( tmp2 )[0];
13627 }
13628 else
13629 {
13630 arg2 = NULL;
13631 arg3 = 0;
13632 }
13633 }
13634 ecode4 = SWIG_AsVal_int(swig_obj[2], &val4);
13635 if (!SWIG_IsOK(ecode4)) {
13636 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsvect" "', argument " "4"" of type '" "PLBOOL""'");
13637 }
13638 arg4 = (PLBOOL)(val4);
13639 plsvect((double const *)arg1,(double const *)arg2,arg3,arg4);
13640 resultobj = SWIG_Py_Void();
13641 {
13642 Py_CLEAR( tmp1 );
13643 }
13644 {
13645 Py_CLEAR( tmp2 );
13646 }
13647 return resultobj;
13648fail:
13649 {
13650 Py_CLEAR( tmp1 );
13651 }
13652 {
13653 Py_CLEAR( tmp2 );
13654 }
13655 return NULL;
13656}
13657
13658
13659SWIGINTERN PyObject *_wrap_plsvpa(PyObject *self, PyObject *args) {
13660 PyObject *resultobj = 0;
13661 PLFLT arg1 ;
13662 PLFLT arg2 ;
13663 PLFLT arg3 ;
13664 PLFLT arg4 ;
13665 double val1 ;
13666 int ecode1 = 0 ;
13667 double val2 ;
13668 int ecode2 = 0 ;
13669 double val3 ;
13670 int ecode3 = 0 ;
13671 double val4 ;
13672 int ecode4 = 0 ;
13673 PyObject *swig_obj[4] ;
13674
13675 (void)self;
13676 if (!SWIG_Python_UnpackTuple(args, "plsvpa", 4, 4, swig_obj)) SWIG_fail;
13677 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
13678 if (!SWIG_IsOK(ecode1)) {
13679 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsvpa" "', argument " "1"" of type '" "PLFLT""'");
13680 }
13681 arg1 = (PLFLT)(val1);
13682 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
13683 if (!SWIG_IsOK(ecode2)) {
13684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsvpa" "', argument " "2"" of type '" "PLFLT""'");
13685 }
13686 arg2 = (PLFLT)(val2);
13687 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
13688 if (!SWIG_IsOK(ecode3)) {
13689 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsvpa" "', argument " "3"" of type '" "PLFLT""'");
13690 }
13691 arg3 = (PLFLT)(val3);
13692 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
13693 if (!SWIG_IsOK(ecode4)) {
13694 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsvpa" "', argument " "4"" of type '" "PLFLT""'");
13695 }
13696 arg4 = (PLFLT)(val4);
13697 plsvpa(arg1,arg2,arg3,arg4);
13698 resultobj = SWIG_Py_Void();
13699 return resultobj;
13700fail:
13701 return NULL;
13702}
13703
13704
13705SWIGINTERN PyObject *_wrap_plsxax(PyObject *self, PyObject *args) {
13706 PyObject *resultobj = 0;
13707 PLINT arg1 ;
13708 PLINT arg2 ;
13709 int val1 ;
13710 int ecode1 = 0 ;
13711 int val2 ;
13712 int ecode2 = 0 ;
13713 PyObject *swig_obj[2] ;
13714
13715 (void)self;
13716 if (!SWIG_Python_UnpackTuple(args, "plsxax", 2, 2, swig_obj)) SWIG_fail;
13717 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13718 if (!SWIG_IsOK(ecode1)) {
13719 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsxax" "', argument " "1"" of type '" "PLINT""'");
13720 }
13721 arg1 = (PLINT)(val1);
13722 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13723 if (!SWIG_IsOK(ecode2)) {
13724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsxax" "', argument " "2"" of type '" "PLINT""'");
13725 }
13726 arg2 = (PLINT)(val2);
13727 plsxax(arg1,arg2);
13728 resultobj = SWIG_Py_Void();
13729 return resultobj;
13730fail:
13731 return NULL;
13732}
13733
13734
13735SWIGINTERN PyObject *_wrap_plsyax(PyObject *self, PyObject *args) {
13736 PyObject *resultobj = 0;
13737 PLINT arg1 ;
13738 PLINT arg2 ;
13739 int val1 ;
13740 int ecode1 = 0 ;
13741 int val2 ;
13742 int ecode2 = 0 ;
13743 PyObject *swig_obj[2] ;
13744
13745 (void)self;
13746 if (!SWIG_Python_UnpackTuple(args, "plsyax", 2, 2, swig_obj)) SWIG_fail;
13747 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13748 if (!SWIG_IsOK(ecode1)) {
13749 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsyax" "', argument " "1"" of type '" "PLINT""'");
13750 }
13751 arg1 = (PLINT)(val1);
13752 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13753 if (!SWIG_IsOK(ecode2)) {
13754 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsyax" "', argument " "2"" of type '" "PLINT""'");
13755 }
13756 arg2 = (PLINT)(val2);
13757 plsyax(arg1,arg2);
13758 resultobj = SWIG_Py_Void();
13759 return resultobj;
13760fail:
13761 return NULL;
13762}
13763
13764
13765SWIGINTERN PyObject *_wrap_plsym(PyObject *self, PyObject *args) {
13766 PyObject *resultobj = 0;
13767 PLINT arg1 ;
13768 PLFLT *arg2 = (PLFLT *) 0 ;
13769 PLFLT *arg3 = (PLFLT *) 0 ;
13770 PLINT arg4 ;
13771 PyArrayObject *tmp1 = NULL ;
13772 PyArrayObject *tmp3 = NULL ;
13773 int val4 ;
13774 int ecode4 = 0 ;
13775 PyObject *swig_obj[3] ;
13776
13777 (void)self;
13778 if (!SWIG_Python_UnpackTuple(args, "plsym", 3, 3, swig_obj)) SWIG_fail;
13779 {
13780 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
13781 if ( tmp1 == NULL )
13782 return NULL;
13783 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13784 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
13785 }
13786 {
13787 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
13788 if ( tmp3 == NULL )
13789 return NULL;
13790 if ( PyArray_DIMS( tmp3 )[0] != Alen )
13791 {
13792 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13793 return NULL;
13794 }
13795 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
13796 }
13797 ecode4 = SWIG_AsVal_int(swig_obj[2], &val4);
13798 if (!SWIG_IsOK(ecode4)) {
13799 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsym" "', argument " "4"" of type '" "PLINT""'");
13800 }
13801 arg4 = (PLINT)(val4);
13802 plsym(arg1,(double const *)arg2,(double const *)arg3,arg4);
13803 resultobj = SWIG_Py_Void();
13804 {
13805 Py_CLEAR( tmp1 );
13806 }
13807 {
13808 Py_CLEAR( tmp3 );
13809 }
13810 return resultobj;
13811fail:
13812 {
13813 Py_CLEAR( tmp1 );
13814 }
13815 {
13816 Py_CLEAR( tmp3 );
13817 }
13818 return NULL;
13819}
13820
13821
13822SWIGINTERN PyObject *_wrap_plszax(PyObject *self, PyObject *args) {
13823 PyObject *resultobj = 0;
13824 PLINT arg1 ;
13825 PLINT arg2 ;
13826 int val1 ;
13827 int ecode1 = 0 ;
13828 int val2 ;
13829 int ecode2 = 0 ;
13830 PyObject *swig_obj[2] ;
13831
13832 (void)self;
13833 if (!SWIG_Python_UnpackTuple(args, "plszax", 2, 2, swig_obj)) SWIG_fail;
13834 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13835 if (!SWIG_IsOK(ecode1)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plszax" "', argument " "1"" of type '" "PLINT""'");
13837 }
13838 arg1 = (PLINT)(val1);
13839 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13840 if (!SWIG_IsOK(ecode2)) {
13841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plszax" "', argument " "2"" of type '" "PLINT""'");
13842 }
13843 arg2 = (PLINT)(val2);
13844 plszax(arg1,arg2);
13845 resultobj = SWIG_Py_Void();
13846 return resultobj;
13847fail:
13848 return NULL;
13849}
13850
13851
13852SWIGINTERN PyObject *_wrap_pltext(PyObject *self, PyObject *args) {
13853 PyObject *resultobj = 0;
13854
13855 (void)self;
13856 if (!SWIG_Python_UnpackTuple(args, "pltext", 0, 0, 0)) SWIG_fail;
13857 pltext();
13858 resultobj = SWIG_Py_Void();
13859 return resultobj;
13860fail:
13861 return NULL;
13862}
13863
13864
13865SWIGINTERN PyObject *_wrap_pltimefmt(PyObject *self, PyObject *args) {
13866 PyObject *resultobj = 0;
13867 char *arg1 = (char *) 0 ;
13868 int res1 ;
13869 char *buf1 = 0 ;
13870 int alloc1 = 0 ;
13871 PyObject *swig_obj[1] ;
13872
13873 (void)self;
13874 if (!args) SWIG_fail;
13875 swig_obj[0] = args;
13876 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
13877 if (!SWIG_IsOK(res1)) {
13878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pltimefmt" "', argument " "1"" of type '" "char const *""'");
13879 }
13880 arg1 = (char *)(buf1);
13881 pltimefmt((char const *)arg1);
13882 resultobj = SWIG_Py_Void();
13883 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
13884 return resultobj;
13885fail:
13886 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
13887 return NULL;
13888}
13889
13890
13891SWIGINTERN PyObject *_wrap_plvasp(PyObject *self, PyObject *args) {
13892 PyObject *resultobj = 0;
13893 PLFLT arg1 ;
13894 double val1 ;
13895 int ecode1 = 0 ;
13896 PyObject *swig_obj[1] ;
13897
13898 (void)self;
13899 if (!args) SWIG_fail;
13900 swig_obj[0] = args;
13901 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
13902 if (!SWIG_IsOK(ecode1)) {
13903 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plvasp" "', argument " "1"" of type '" "PLFLT""'");
13904 }
13905 arg1 = (PLFLT)(val1);
13906 plvasp(arg1);
13907 resultobj = SWIG_Py_Void();
13908 return resultobj;
13909fail:
13910 return NULL;
13911}
13912
13913
13914SWIGINTERN PyObject *_wrap_plvect(PyObject *self, PyObject *args) {
13915 PyObject *resultobj = 0;
13916 PLFLT **arg1 = (PLFLT **) 0 ;
13917 PLFLT **arg2 = (PLFLT **) 0 ;
13918 PLINT arg3 ;
13919 PLINT arg4 ;
13920 PLFLT arg5 ;
13921 pltr_func arg6 = (pltr_func) 0 ;
13922 PLPointer arg7 = (PLPointer) 0 ;
13923 PyArrayObject *tmp1 = NULL ;
13924 PyArrayObject *tmp2 = NULL ;
13925 double val5 ;
13926 int ecode5 = 0 ;
13927 PyObject *swig_obj[5] ;
13928
13929 {
13930 python_pltr = 0;
13931 arg6 = NULL;
13932 }
13933 {
13934 arg7 = NULL;
13935 }
13936 (void)self;
13937 if (!SWIG_Python_UnpackTuple(args, "plvect", 3, 5, swig_obj)) SWIG_fail;
13938 {
13939 int i, size;
13940 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
13941 if ( tmp1 == NULL )
13942 return NULL;
13943 Xlen = PyArray_DIMS( tmp1 )[0];
13944 Ylen = PyArray_DIMS( tmp1 )[1];
13945 size = Ylen;
13946 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) Xlen );
13947 for ( i = 0; i < Xlen; i++ )
13948 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
13949 }
13950 {
13951 int i, size;
13952 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 2, 2 );
13953 if ( tmp2 == NULL )
13954 return NULL;
13955 if ( Xlen != PyArray_DIMS( tmp2 )[0] || Ylen != PyArray_DIMS( tmp2 )[1] )
13956 {
13957 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
13958 return NULL;
13959 }
13960 arg3 = PyArray_DIMS( tmp2 )[0];
13961 arg4 = PyArray_DIMS( tmp2 )[1];
13962 size = arg4;
13963 arg2 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg3 );
13964 for ( i = 0; i < arg3; i++ )
13965 arg2[i] = ( (PLFLT *) PyArray_DATA( tmp2 ) + i * size );
13966 }
13967 ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
13968 if (!SWIG_IsOK(ecode5)) {
13969 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plvect" "', argument " "5"" of type '" "PLFLT""'");
13970 }
13971 arg5 = (PLFLT)(val5);
13972 if (swig_obj[3]) {
13973 {
13974 // it must be a callable or None
13975 if ( swig_obj[3] == Py_None )
13976 {
13977 arg6 = NULL;
13978 }
13979 else
13980 {
13981 if ( !PyCallable_Check( (PyObject *) swig_obj[3] ) )
13982 {
13983 PyErr_SetString( PyExc_ValueError, "pltr argument must be callable" );
13984 return NULL;
13985 }
13986 arg6 = marshal_pltr( swig_obj[3] );
13987 }
13988 }
13989 }
13990 if (swig_obj[4]) {
13991 {
13992 if ( swig_obj[4] == Py_None )
13993 arg7 = NULL;
13994 else
13995 {
13996 arg7 = marshal_PLPointer( swig_obj[4], 0 );
13997 }
13998 }
13999 }
14000 plvect((double const **)arg1,(double const **)arg2,arg3,arg4,arg5,arg6,arg7);
14001 resultobj = SWIG_Py_Void();
14002 {
14003 Py_CLEAR( tmp1 );
14004 free( arg1 );
14005 }
14006 {
14007 Py_CLEAR( tmp2 );
14008 free( arg2 );
14009 }
14010 {
14011 cleanup_pltr();
14012 }
14013 {
14015 }
14016 return resultobj;
14017fail:
14018 {
14019 Py_CLEAR( tmp1 );
14020 free( arg1 );
14021 }
14022 {
14023 Py_CLEAR( tmp2 );
14024 free( arg2 );
14025 }
14026 {
14027 cleanup_pltr();
14028 }
14029 {
14031 }
14032 return NULL;
14033}
14034
14035
14036SWIGINTERN PyObject *_wrap_plvpas(PyObject *self, PyObject *args) {
14037 PyObject *resultobj = 0;
14038 PLFLT arg1 ;
14039 PLFLT arg2 ;
14040 PLFLT arg3 ;
14041 PLFLT arg4 ;
14042 PLFLT arg5 ;
14043 double val1 ;
14044 int ecode1 = 0 ;
14045 double val2 ;
14046 int ecode2 = 0 ;
14047 double val3 ;
14048 int ecode3 = 0 ;
14049 double val4 ;
14050 int ecode4 = 0 ;
14051 double val5 ;
14052 int ecode5 = 0 ;
14053 PyObject *swig_obj[5] ;
14054
14055 (void)self;
14056 if (!SWIG_Python_UnpackTuple(args, "plvpas", 5, 5, swig_obj)) SWIG_fail;
14057 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
14058 if (!SWIG_IsOK(ecode1)) {
14059 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plvpas" "', argument " "1"" of type '" "PLFLT""'");
14060 }
14061 arg1 = (PLFLT)(val1);
14062 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
14063 if (!SWIG_IsOK(ecode2)) {
14064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plvpas" "', argument " "2"" of type '" "PLFLT""'");
14065 }
14066 arg2 = (PLFLT)(val2);
14067 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14068 if (!SWIG_IsOK(ecode3)) {
14069 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plvpas" "', argument " "3"" of type '" "PLFLT""'");
14070 }
14071 arg3 = (PLFLT)(val3);
14072 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14073 if (!SWIG_IsOK(ecode4)) {
14074 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plvpas" "', argument " "4"" of type '" "PLFLT""'");
14075 }
14076 arg4 = (PLFLT)(val4);
14077 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14078 if (!SWIG_IsOK(ecode5)) {
14079 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plvpas" "', argument " "5"" of type '" "PLFLT""'");
14080 }
14081 arg5 = (PLFLT)(val5);
14082 plvpas(arg1,arg2,arg3,arg4,arg5);
14083 resultobj = SWIG_Py_Void();
14084 return resultobj;
14085fail:
14086 return NULL;
14087}
14088
14089
14090SWIGINTERN PyObject *_wrap_plvpor(PyObject *self, PyObject *args) {
14091 PyObject *resultobj = 0;
14092 PLFLT arg1 ;
14093 PLFLT arg2 ;
14094 PLFLT arg3 ;
14095 PLFLT arg4 ;
14096 double val1 ;
14097 int ecode1 = 0 ;
14098 double val2 ;
14099 int ecode2 = 0 ;
14100 double val3 ;
14101 int ecode3 = 0 ;
14102 double val4 ;
14103 int ecode4 = 0 ;
14104 PyObject *swig_obj[4] ;
14105
14106 (void)self;
14107 if (!SWIG_Python_UnpackTuple(args, "plvpor", 4, 4, swig_obj)) SWIG_fail;
14108 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
14109 if (!SWIG_IsOK(ecode1)) {
14110 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plvpor" "', argument " "1"" of type '" "PLFLT""'");
14111 }
14112 arg1 = (PLFLT)(val1);
14113 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
14114 if (!SWIG_IsOK(ecode2)) {
14115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plvpor" "', argument " "2"" of type '" "PLFLT""'");
14116 }
14117 arg2 = (PLFLT)(val2);
14118 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14119 if (!SWIG_IsOK(ecode3)) {
14120 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plvpor" "', argument " "3"" of type '" "PLFLT""'");
14121 }
14122 arg3 = (PLFLT)(val3);
14123 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14124 if (!SWIG_IsOK(ecode4)) {
14125 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plvpor" "', argument " "4"" of type '" "PLFLT""'");
14126 }
14127 arg4 = (PLFLT)(val4);
14128 plvpor(arg1,arg2,arg3,arg4);
14129 resultobj = SWIG_Py_Void();
14130 return resultobj;
14131fail:
14132 return NULL;
14133}
14134
14135
14136SWIGINTERN PyObject *_wrap_plvsta(PyObject *self, PyObject *args) {
14137 PyObject *resultobj = 0;
14138
14139 (void)self;
14140 if (!SWIG_Python_UnpackTuple(args, "plvsta", 0, 0, 0)) SWIG_fail;
14141 plvsta();
14142 resultobj = SWIG_Py_Void();
14143 return resultobj;
14144fail:
14145 return NULL;
14146}
14147
14148
14149SWIGINTERN PyObject *_wrap_plw3d(PyObject *self, PyObject *args) {
14150 PyObject *resultobj = 0;
14151 PLFLT arg1 ;
14152 PLFLT arg2 ;
14153 PLFLT arg3 ;
14154 PLFLT arg4 ;
14155 PLFLT arg5 ;
14156 PLFLT arg6 ;
14157 PLFLT arg7 ;
14158 PLFLT arg8 ;
14159 PLFLT arg9 ;
14160 PLFLT arg10 ;
14161 PLFLT arg11 ;
14162 double val1 ;
14163 int ecode1 = 0 ;
14164 double val2 ;
14165 int ecode2 = 0 ;
14166 double val3 ;
14167 int ecode3 = 0 ;
14168 double val4 ;
14169 int ecode4 = 0 ;
14170 double val5 ;
14171 int ecode5 = 0 ;
14172 double val6 ;
14173 int ecode6 = 0 ;
14174 double val7 ;
14175 int ecode7 = 0 ;
14176 double val8 ;
14177 int ecode8 = 0 ;
14178 double val9 ;
14179 int ecode9 = 0 ;
14180 double val10 ;
14181 int ecode10 = 0 ;
14182 double val11 ;
14183 int ecode11 = 0 ;
14184 PyObject *swig_obj[11] ;
14185
14186 (void)self;
14187 if (!SWIG_Python_UnpackTuple(args, "plw3d", 11, 11, swig_obj)) SWIG_fail;
14188 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
14189 if (!SWIG_IsOK(ecode1)) {
14190 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plw3d" "', argument " "1"" of type '" "PLFLT""'");
14191 }
14192 arg1 = (PLFLT)(val1);
14193 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
14194 if (!SWIG_IsOK(ecode2)) {
14195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plw3d" "', argument " "2"" of type '" "PLFLT""'");
14196 }
14197 arg2 = (PLFLT)(val2);
14198 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14199 if (!SWIG_IsOK(ecode3)) {
14200 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plw3d" "', argument " "3"" of type '" "PLFLT""'");
14201 }
14202 arg3 = (PLFLT)(val3);
14203 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14204 if (!SWIG_IsOK(ecode4)) {
14205 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plw3d" "', argument " "4"" of type '" "PLFLT""'");
14206 }
14207 arg4 = (PLFLT)(val4);
14208 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14209 if (!SWIG_IsOK(ecode5)) {
14210 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plw3d" "', argument " "5"" of type '" "PLFLT""'");
14211 }
14212 arg5 = (PLFLT)(val5);
14213 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14214 if (!SWIG_IsOK(ecode6)) {
14215 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plw3d" "', argument " "6"" of type '" "PLFLT""'");
14216 }
14217 arg6 = (PLFLT)(val6);
14218 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
14219 if (!SWIG_IsOK(ecode7)) {
14220 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plw3d" "', argument " "7"" of type '" "PLFLT""'");
14221 }
14222 arg7 = (PLFLT)(val7);
14223 ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
14224 if (!SWIG_IsOK(ecode8)) {
14225 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plw3d" "', argument " "8"" of type '" "PLFLT""'");
14226 }
14227 arg8 = (PLFLT)(val8);
14228 ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
14229 if (!SWIG_IsOK(ecode9)) {
14230 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plw3d" "', argument " "9"" of type '" "PLFLT""'");
14231 }
14232 arg9 = (PLFLT)(val9);
14233 ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
14234 if (!SWIG_IsOK(ecode10)) {
14235 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plw3d" "', argument " "10"" of type '" "PLFLT""'");
14236 }
14237 arg10 = (PLFLT)(val10);
14238 ecode11 = SWIG_AsVal_double(swig_obj[10], &val11);
14239 if (!SWIG_IsOK(ecode11)) {
14240 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plw3d" "', argument " "11"" of type '" "PLFLT""'");
14241 }
14242 arg11 = (PLFLT)(val11);
14243 plw3d(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
14244 resultobj = SWIG_Py_Void();
14245 return resultobj;
14246fail:
14247 return NULL;
14248}
14249
14250
14251SWIGINTERN PyObject *_wrap_plwidth(PyObject *self, PyObject *args) {
14252 PyObject *resultobj = 0;
14253 PLFLT arg1 ;
14254 double val1 ;
14255 int ecode1 = 0 ;
14256 PyObject *swig_obj[1] ;
14257
14258 (void)self;
14259 if (!args) SWIG_fail;
14260 swig_obj[0] = args;
14261 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
14262 if (!SWIG_IsOK(ecode1)) {
14263 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plwidth" "', argument " "1"" of type '" "PLFLT""'");
14264 }
14265 arg1 = (PLFLT)(val1);
14266 plwidth(arg1);
14267 resultobj = SWIG_Py_Void();
14268 return resultobj;
14269fail:
14270 return NULL;
14271}
14272
14273
14274SWIGINTERN PyObject *_wrap_plwind(PyObject *self, PyObject *args) {
14275 PyObject *resultobj = 0;
14276 PLFLT arg1 ;
14277 PLFLT arg2 ;
14278 PLFLT arg3 ;
14279 PLFLT arg4 ;
14280 double val1 ;
14281 int ecode1 = 0 ;
14282 double val2 ;
14283 int ecode2 = 0 ;
14284 double val3 ;
14285 int ecode3 = 0 ;
14286 double val4 ;
14287 int ecode4 = 0 ;
14288 PyObject *swig_obj[4] ;
14289
14290 (void)self;
14291 if (!SWIG_Python_UnpackTuple(args, "plwind", 4, 4, swig_obj)) SWIG_fail;
14292 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
14293 if (!SWIG_IsOK(ecode1)) {
14294 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plwind" "', argument " "1"" of type '" "PLFLT""'");
14295 }
14296 arg1 = (PLFLT)(val1);
14297 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
14298 if (!SWIG_IsOK(ecode2)) {
14299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plwind" "', argument " "2"" of type '" "PLFLT""'");
14300 }
14301 arg2 = (PLFLT)(val2);
14302 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14303 if (!SWIG_IsOK(ecode3)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plwind" "', argument " "3"" of type '" "PLFLT""'");
14305 }
14306 arg3 = (PLFLT)(val3);
14307 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14308 if (!SWIG_IsOK(ecode4)) {
14309 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plwind" "', argument " "4"" of type '" "PLFLT""'");
14310 }
14311 arg4 = (PLFLT)(val4);
14312 plwind(arg1,arg2,arg3,arg4);
14313 resultobj = SWIG_Py_Void();
14314 return resultobj;
14315fail:
14316 return NULL;
14317}
14318
14319
14320SWIGINTERN PyObject *_wrap_plxormod(PyObject *self, PyObject *args) {
14321 PyObject *resultobj = 0;
14322 PLBOOL arg1 ;
14323 PLBOOL *arg2 = (PLBOOL *) 0 ;
14324 int val1 ;
14325 int ecode1 = 0 ;
14326 PLBOOL temp2 ;
14327 int res2 = SWIG_TMPOBJ ;
14328 PyObject *swig_obj[1] ;
14329
14330 arg2 = &temp2;
14331 (void)self;
14332 if (!args) SWIG_fail;
14333 swig_obj[0] = args;
14334 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
14335 if (!SWIG_IsOK(ecode1)) {
14336 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plxormod" "', argument " "1"" of type '" "PLBOOL""'");
14337 }
14338 arg1 = (PLBOOL)(val1);
14339 plxormod(arg1,arg2);
14340 resultobj = SWIG_Py_Void();
14341 if (SWIG_IsTmpObj(res2)) {
14342 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
14343 } else {
14344 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
14345 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
14346 }
14347 return resultobj;
14348fail:
14349 return NULL;
14350}
14351
14352
14353SWIGINTERN PyObject *_wrap_plmap(PyObject *self, PyObject *args) {
14354 PyObject *resultobj = 0;
14355 mapform_func arg1 = (mapform_func) 0 ;
14356 char *arg2 = (char *) 0 ;
14357 PLFLT arg3 ;
14358 PLFLT arg4 ;
14359 PLFLT arg5 ;
14360 PLFLT arg6 ;
14361 int res2 ;
14362 char *buf2 = 0 ;
14363 int alloc2 = 0 ;
14364 double val3 ;
14365 int ecode3 = 0 ;
14366 double val4 ;
14367 int ecode4 = 0 ;
14368 double val5 ;
14369 int ecode5 = 0 ;
14370 double val6 ;
14371 int ecode6 = 0 ;
14372 PyObject *swig_obj[6] ;
14373
14374 (void)self;
14375 if (!SWIG_Python_UnpackTuple(args, "plmap", 6, 6, swig_obj)) SWIG_fail;
14376 {
14377 // it must be a callable or none
14378 if ( swig_obj[0] == Py_None )
14379 {
14380 arg1 = NULL;
14381 }
14382 else
14383 {
14384 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14385 {
14386 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14387 return NULL;
14388 }
14389 arg1 = marshal_mapform( swig_obj[0] );
14390 }
14391 }
14392 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
14393 if (!SWIG_IsOK(res2)) {
14394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmap" "', argument " "2"" of type '" "char const *""'");
14395 }
14396 arg2 = (char *)(buf2);
14397 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14398 if (!SWIG_IsOK(ecode3)) {
14399 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmap" "', argument " "3"" of type '" "PLFLT""'");
14400 }
14401 arg3 = (PLFLT)(val3);
14402 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14403 if (!SWIG_IsOK(ecode4)) {
14404 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmap" "', argument " "4"" of type '" "PLFLT""'");
14405 }
14406 arg4 = (PLFLT)(val4);
14407 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14408 if (!SWIG_IsOK(ecode5)) {
14409 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmap" "', argument " "5"" of type '" "PLFLT""'");
14410 }
14411 arg5 = (PLFLT)(val5);
14412 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14413 if (!SWIG_IsOK(ecode6)) {
14414 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmap" "', argument " "6"" of type '" "PLFLT""'");
14415 }
14416 arg6 = (PLFLT)(val6);
14417 plmap(arg1,(char const *)arg2,arg3,arg4,arg5,arg6);
14418 resultobj = SWIG_Py_Void();
14419 {
14421 }
14422 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14423 return resultobj;
14424fail:
14425 {
14427 }
14428 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14429 return NULL;
14430}
14431
14432
14433SWIGINTERN PyObject *_wrap_plmapline(PyObject *self, PyObject *args) {
14434 PyObject *resultobj = 0;
14435 mapform_func arg1 = (mapform_func) 0 ;
14436 char *arg2 = (char *) 0 ;
14437 PLFLT arg3 ;
14438 PLFLT arg4 ;
14439 PLFLT arg5 ;
14440 PLFLT arg6 ;
14441 PLINT *arg7 = (PLINT *) 0 ;
14442 PLINT arg8 ;
14443 int res2 ;
14444 char *buf2 = 0 ;
14445 int alloc2 = 0 ;
14446 double val3 ;
14447 int ecode3 = 0 ;
14448 double val4 ;
14449 int ecode4 = 0 ;
14450 double val5 ;
14451 int ecode5 = 0 ;
14452 double val6 ;
14453 int ecode6 = 0 ;
14454 PyArrayObject *tmp7 = NULL ;
14455 PyObject *swig_obj[7] ;
14456
14457 (void)self;
14458 if (!SWIG_Python_UnpackTuple(args, "plmapline", 7, 7, swig_obj)) SWIG_fail;
14459 {
14460 // it must be a callable or none
14461 if ( swig_obj[0] == Py_None )
14462 {
14463 arg1 = NULL;
14464 }
14465 else
14466 {
14467 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14468 {
14469 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14470 return NULL;
14471 }
14472 arg1 = marshal_mapform( swig_obj[0] );
14473 }
14474 }
14475 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
14476 if (!SWIG_IsOK(res2)) {
14477 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmapline" "', argument " "2"" of type '" "char const *""'");
14478 }
14479 arg2 = (char *)(buf2);
14480 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14481 if (!SWIG_IsOK(ecode3)) {
14482 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmapline" "', argument " "3"" of type '" "PLFLT""'");
14483 }
14484 arg3 = (PLFLT)(val3);
14485 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14486 if (!SWIG_IsOK(ecode4)) {
14487 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmapline" "', argument " "4"" of type '" "PLFLT""'");
14488 }
14489 arg4 = (PLFLT)(val4);
14490 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14491 if (!SWIG_IsOK(ecode5)) {
14492 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmapline" "', argument " "5"" of type '" "PLFLT""'");
14493 }
14494 arg5 = (PLFLT)(val5);
14495 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14496 if (!SWIG_IsOK(ecode6)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmapline" "', argument " "6"" of type '" "PLFLT""'");
14498 }
14499 arg6 = (PLFLT)(val6);
14500 {
14501 if ( swig_obj[6] != Py_None )
14502 {
14503 tmp7 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[6], NPY_PLINT, 1, 1 );
14504 if ( tmp7 == NULL )
14505 return NULL;
14506 arg7 = (PLINT *) PyArray_DATA( tmp7 );
14507 arg8 = PyArray_DIMS( tmp7 )[0];
14508 }
14509 else
14510 {
14511 arg7 = NULL;
14512 arg8 = 0;
14513 }
14514 }
14515 plmapline(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,(int const *)arg7,arg8);
14516 resultobj = SWIG_Py_Void();
14517 {
14519 }
14520 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14521 {
14522 Py_CLEAR( tmp7 );
14523 }
14524 return resultobj;
14525fail:
14526 {
14528 }
14529 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14530 {
14531 Py_CLEAR( tmp7 );
14532 }
14533 return NULL;
14534}
14535
14536
14537SWIGINTERN PyObject *_wrap_plmapstring(PyObject *self, PyObject *args) {
14538 PyObject *resultobj = 0;
14539 mapform_func arg1 = (mapform_func) 0 ;
14540 char *arg2 = (char *) 0 ;
14541 char *arg3 = (char *) 0 ;
14542 PLFLT arg4 ;
14543 PLFLT arg5 ;
14544 PLFLT arg6 ;
14545 PLFLT arg7 ;
14546 PLINT *arg8 = (PLINT *) 0 ;
14547 PLINT arg9 ;
14548 int res2 ;
14549 char *buf2 = 0 ;
14550 int alloc2 = 0 ;
14551 int res3 ;
14552 char *buf3 = 0 ;
14553 int alloc3 = 0 ;
14554 double val4 ;
14555 int ecode4 = 0 ;
14556 double val5 ;
14557 int ecode5 = 0 ;
14558 double val6 ;
14559 int ecode6 = 0 ;
14560 double val7 ;
14561 int ecode7 = 0 ;
14562 PyArrayObject *tmp8 = NULL ;
14563 PyObject *swig_obj[8] ;
14564
14565 (void)self;
14566 if (!SWIG_Python_UnpackTuple(args, "plmapstring", 8, 8, swig_obj)) SWIG_fail;
14567 {
14568 // it must be a callable or none
14569 if ( swig_obj[0] == Py_None )
14570 {
14571 arg1 = NULL;
14572 }
14573 else
14574 {
14575 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14576 {
14577 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14578 return NULL;
14579 }
14580 arg1 = marshal_mapform( swig_obj[0] );
14581 }
14582 }
14583 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
14584 if (!SWIG_IsOK(res2)) {
14585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmapstring" "', argument " "2"" of type '" "char const *""'");
14586 }
14587 arg2 = (char *)(buf2);
14588 res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
14589 if (!SWIG_IsOK(res3)) {
14590 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "plmapstring" "', argument " "3"" of type '" "char const *""'");
14591 }
14592 arg3 = (char *)(buf3);
14593 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14594 if (!SWIG_IsOK(ecode4)) {
14595 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmapstring" "', argument " "4"" of type '" "PLFLT""'");
14596 }
14597 arg4 = (PLFLT)(val4);
14598 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14599 if (!SWIG_IsOK(ecode5)) {
14600 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmapstring" "', argument " "5"" of type '" "PLFLT""'");
14601 }
14602 arg5 = (PLFLT)(val5);
14603 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14604 if (!SWIG_IsOK(ecode6)) {
14605 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmapstring" "', argument " "6"" of type '" "PLFLT""'");
14606 }
14607 arg6 = (PLFLT)(val6);
14608 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
14609 if (!SWIG_IsOK(ecode7)) {
14610 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plmapstring" "', argument " "7"" of type '" "PLFLT""'");
14611 }
14612 arg7 = (PLFLT)(val7);
14613 {
14614 if ( swig_obj[7] != Py_None )
14615 {
14616 tmp8 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[7], NPY_PLINT, 1, 1 );
14617 if ( tmp8 == NULL )
14618 return NULL;
14619 arg8 = (PLINT *) PyArray_DATA( tmp8 );
14620 arg9 = PyArray_DIMS( tmp8 )[0];
14621 }
14622 else
14623 {
14624 arg8 = NULL;
14625 arg9 = 0;
14626 }
14627 }
14628 plmapstring(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,(int const *)arg8,arg9);
14629 resultobj = SWIG_Py_Void();
14630 {
14632 }
14633 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14634 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14635 {
14636 Py_CLEAR( tmp8 );
14637 }
14638 return resultobj;
14639fail:
14640 {
14642 }
14643 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14644 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14645 {
14646 Py_CLEAR( tmp8 );
14647 }
14648 return NULL;
14649}
14650
14651
14652SWIGINTERN PyObject *_wrap_plmaptex(PyObject *self, PyObject *args) {
14653 PyObject *resultobj = 0;
14654 mapform_func arg1 = (mapform_func) 0 ;
14655 char *arg2 = (char *) 0 ;
14656 PLFLT arg3 ;
14657 PLFLT arg4 ;
14658 PLFLT arg5 ;
14659 char *arg6 = (char *) 0 ;
14660 PLFLT arg7 ;
14661 PLFLT arg8 ;
14662 PLFLT arg9 ;
14663 PLFLT arg10 ;
14664 PLINT arg11 ;
14665 int res2 ;
14666 char *buf2 = 0 ;
14667 int alloc2 = 0 ;
14668 double val3 ;
14669 int ecode3 = 0 ;
14670 double val4 ;
14671 int ecode4 = 0 ;
14672 double val5 ;
14673 int ecode5 = 0 ;
14674 int res6 ;
14675 char *buf6 = 0 ;
14676 int alloc6 = 0 ;
14677 double val7 ;
14678 int ecode7 = 0 ;
14679 double val8 ;
14680 int ecode8 = 0 ;
14681 double val9 ;
14682 int ecode9 = 0 ;
14683 double val10 ;
14684 int ecode10 = 0 ;
14685 int val11 ;
14686 int ecode11 = 0 ;
14687 PyObject *swig_obj[11] ;
14688
14689 (void)self;
14690 if (!SWIG_Python_UnpackTuple(args, "plmaptex", 11, 11, swig_obj)) SWIG_fail;
14691 {
14692 // it must be a callable or none
14693 if ( swig_obj[0] == Py_None )
14694 {
14695 arg1 = NULL;
14696 }
14697 else
14698 {
14699 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14700 {
14701 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14702 return NULL;
14703 }
14704 arg1 = marshal_mapform( swig_obj[0] );
14705 }
14706 }
14707 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
14708 if (!SWIG_IsOK(res2)) {
14709 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmaptex" "', argument " "2"" of type '" "char const *""'");
14710 }
14711 arg2 = (char *)(buf2);
14712 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14713 if (!SWIG_IsOK(ecode3)) {
14714 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmaptex" "', argument " "3"" of type '" "PLFLT""'");
14715 }
14716 arg3 = (PLFLT)(val3);
14717 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14718 if (!SWIG_IsOK(ecode4)) {
14719 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmaptex" "', argument " "4"" of type '" "PLFLT""'");
14720 }
14721 arg4 = (PLFLT)(val4);
14722 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14723 if (!SWIG_IsOK(ecode5)) {
14724 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmaptex" "', argument " "5"" of type '" "PLFLT""'");
14725 }
14726 arg5 = (PLFLT)(val5);
14727 res6 = SWIG_AsCharPtrAndSize(swig_obj[5], &buf6, NULL, &alloc6);
14728 if (!SWIG_IsOK(res6)) {
14729 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plmaptex" "', argument " "6"" of type '" "char const *""'");
14730 }
14731 arg6 = (char *)(buf6);
14732 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
14733 if (!SWIG_IsOK(ecode7)) {
14734 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plmaptex" "', argument " "7"" of type '" "PLFLT""'");
14735 }
14736 arg7 = (PLFLT)(val7);
14737 ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
14738 if (!SWIG_IsOK(ecode8)) {
14739 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plmaptex" "', argument " "8"" of type '" "PLFLT""'");
14740 }
14741 arg8 = (PLFLT)(val8);
14742 ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
14743 if (!SWIG_IsOK(ecode9)) {
14744 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plmaptex" "', argument " "9"" of type '" "PLFLT""'");
14745 }
14746 arg9 = (PLFLT)(val9);
14747 ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
14748 if (!SWIG_IsOK(ecode10)) {
14749 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plmaptex" "', argument " "10"" of type '" "PLFLT""'");
14750 }
14751 arg10 = (PLFLT)(val10);
14752 ecode11 = SWIG_AsVal_int(swig_obj[10], &val11);
14753 if (!SWIG_IsOK(ecode11)) {
14754 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plmaptex" "', argument " "11"" of type '" "PLINT""'");
14755 }
14756 arg11 = (PLINT)(val11);
14757 plmaptex(arg1,(char const *)arg2,arg3,arg4,arg5,(char const *)arg6,arg7,arg8,arg9,arg10,arg11);
14758 resultobj = SWIG_Py_Void();
14759 {
14761 }
14762 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14763 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
14764 return resultobj;
14765fail:
14766 {
14768 }
14769 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14770 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
14771 return NULL;
14772}
14773
14774
14775SWIGINTERN PyObject *_wrap_plmapfill(PyObject *self, PyObject *args) {
14776 PyObject *resultobj = 0;
14777 mapform_func arg1 = (mapform_func) 0 ;
14778 char *arg2 = (char *) 0 ;
14779 PLFLT arg3 ;
14780 PLFLT arg4 ;
14781 PLFLT arg5 ;
14782 PLFLT arg6 ;
14783 PLINT *arg7 = (PLINT *) 0 ;
14784 PLINT arg8 ;
14785 int res2 ;
14786 char *buf2 = 0 ;
14787 int alloc2 = 0 ;
14788 double val3 ;
14789 int ecode3 = 0 ;
14790 double val4 ;
14791 int ecode4 = 0 ;
14792 double val5 ;
14793 int ecode5 = 0 ;
14794 double val6 ;
14795 int ecode6 = 0 ;
14796 PyArrayObject *tmp7 = NULL ;
14797 PyObject *swig_obj[7] ;
14798
14799 (void)self;
14800 if (!SWIG_Python_UnpackTuple(args, "plmapfill", 7, 7, swig_obj)) SWIG_fail;
14801 {
14802 // it must be a callable or none
14803 if ( swig_obj[0] == Py_None )
14804 {
14805 arg1 = NULL;
14806 }
14807 else
14808 {
14809 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14810 {
14811 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14812 return NULL;
14813 }
14814 arg1 = marshal_mapform( swig_obj[0] );
14815 }
14816 }
14817 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
14818 if (!SWIG_IsOK(res2)) {
14819 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmapfill" "', argument " "2"" of type '" "char const *""'");
14820 }
14821 arg2 = (char *)(buf2);
14822 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14823 if (!SWIG_IsOK(ecode3)) {
14824 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmapfill" "', argument " "3"" of type '" "PLFLT""'");
14825 }
14826 arg3 = (PLFLT)(val3);
14827 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14828 if (!SWIG_IsOK(ecode4)) {
14829 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmapfill" "', argument " "4"" of type '" "PLFLT""'");
14830 }
14831 arg4 = (PLFLT)(val4);
14832 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14833 if (!SWIG_IsOK(ecode5)) {
14834 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmapfill" "', argument " "5"" of type '" "PLFLT""'");
14835 }
14836 arg5 = (PLFLT)(val5);
14837 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14838 if (!SWIG_IsOK(ecode6)) {
14839 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmapfill" "', argument " "6"" of type '" "PLFLT""'");
14840 }
14841 arg6 = (PLFLT)(val6);
14842 {
14843 if ( swig_obj[6] != Py_None )
14844 {
14845 tmp7 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[6], NPY_PLINT, 1, 1 );
14846 if ( tmp7 == NULL )
14847 return NULL;
14848 arg7 = (PLINT *) PyArray_DATA( tmp7 );
14849 arg8 = PyArray_DIMS( tmp7 )[0];
14850 }
14851 else
14852 {
14853 arg7 = NULL;
14854 arg8 = 0;
14855 }
14856 }
14857 plmapfill(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,(int const *)arg7,arg8);
14858 resultobj = SWIG_Py_Void();
14859 {
14861 }
14862 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14863 {
14864 Py_CLEAR( tmp7 );
14865 }
14866 return resultobj;
14867fail:
14868 {
14870 }
14871 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14872 {
14873 Py_CLEAR( tmp7 );
14874 }
14875 return NULL;
14876}
14877
14878
14879SWIGINTERN PyObject *_wrap_plmeridians(PyObject *self, PyObject *args) {
14880 PyObject *resultobj = 0;
14881 mapform_func arg1 = (mapform_func) 0 ;
14882 PLFLT arg2 ;
14883 PLFLT arg3 ;
14884 PLFLT arg4 ;
14885 PLFLT arg5 ;
14886 PLFLT arg6 ;
14887 PLFLT arg7 ;
14888 double val2 ;
14889 int ecode2 = 0 ;
14890 double val3 ;
14891 int ecode3 = 0 ;
14892 double val4 ;
14893 int ecode4 = 0 ;
14894 double val5 ;
14895 int ecode5 = 0 ;
14896 double val6 ;
14897 int ecode6 = 0 ;
14898 double val7 ;
14899 int ecode7 = 0 ;
14900 PyObject *swig_obj[7] ;
14901
14902 (void)self;
14903 if (!SWIG_Python_UnpackTuple(args, "plmeridians", 7, 7, swig_obj)) SWIG_fail;
14904 {
14905 // it must be a callable or none
14906 if ( swig_obj[0] == Py_None )
14907 {
14908 arg1 = NULL;
14909 }
14910 else
14911 {
14912 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14913 {
14914 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14915 return NULL;
14916 }
14917 arg1 = marshal_mapform( swig_obj[0] );
14918 }
14919 }
14920 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
14921 if (!SWIG_IsOK(ecode2)) {
14922 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plmeridians" "', argument " "2"" of type '" "PLFLT""'");
14923 }
14924 arg2 = (PLFLT)(val2);
14925 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14926 if (!SWIG_IsOK(ecode3)) {
14927 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmeridians" "', argument " "3"" of type '" "PLFLT""'");
14928 }
14929 arg3 = (PLFLT)(val3);
14930 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14931 if (!SWIG_IsOK(ecode4)) {
14932 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmeridians" "', argument " "4"" of type '" "PLFLT""'");
14933 }
14934 arg4 = (PLFLT)(val4);
14935 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14936 if (!SWIG_IsOK(ecode5)) {
14937 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmeridians" "', argument " "5"" of type '" "PLFLT""'");
14938 }
14939 arg5 = (PLFLT)(val5);
14940 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14941 if (!SWIG_IsOK(ecode6)) {
14942 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmeridians" "', argument " "6"" of type '" "PLFLT""'");
14943 }
14944 arg6 = (PLFLT)(val6);
14945 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
14946 if (!SWIG_IsOK(ecode7)) {
14947 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plmeridians" "', argument " "7"" of type '" "PLFLT""'");
14948 }
14949 arg7 = (PLFLT)(val7);
14950 plmeridians(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
14951 resultobj = SWIG_Py_Void();
14952 {
14954 }
14955 return resultobj;
14956fail:
14957 {
14959 }
14960 return NULL;
14961}
14962
14963
14964SWIGINTERN PyObject *_wrap_plimage(PyObject *self, PyObject *args) {
14965 PyObject *resultobj = 0;
14966 PLFLT **arg1 = (PLFLT **) 0 ;
14967 PLINT arg2 ;
14968 PLINT arg3 ;
14969 PLFLT arg4 ;
14970 PLFLT arg5 ;
14971 PLFLT arg6 ;
14972 PLFLT arg7 ;
14973 PLFLT arg8 ;
14974 PLFLT arg9 ;
14975 PLFLT arg10 ;
14976 PLFLT arg11 ;
14977 PLFLT arg12 ;
14978 PLFLT arg13 ;
14979 PyArrayObject *tmp1 = NULL ;
14980 double val4 ;
14981 int ecode4 = 0 ;
14982 double val5 ;
14983 int ecode5 = 0 ;
14984 double val6 ;
14985 int ecode6 = 0 ;
14986 double val7 ;
14987 int ecode7 = 0 ;
14988 double val8 ;
14989 int ecode8 = 0 ;
14990 double val9 ;
14991 int ecode9 = 0 ;
14992 double val10 ;
14993 int ecode10 = 0 ;
14994 double val11 ;
14995 int ecode11 = 0 ;
14996 double val12 ;
14997 int ecode12 = 0 ;
14998 double val13 ;
14999 int ecode13 = 0 ;
15000 PyObject *swig_obj[11] ;
15001
15002 (void)self;
15003 if (!SWIG_Python_UnpackTuple(args, "plimage", 11, 11, swig_obj)) SWIG_fail;
15004 {
15005 int i, size;
15006 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
15007 if ( tmp1 == NULL )
15008 return NULL;
15009 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15010 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15011 size = arg3;
15012 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
15013 for ( i = 0; i < arg2; i++ )
15014 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15015 }
15016 ecode4 = SWIG_AsVal_double(swig_obj[1], &val4);
15017 if (!SWIG_IsOK(ecode4)) {
15018 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plimage" "', argument " "4"" of type '" "PLFLT""'");
15019 }
15020 arg4 = (PLFLT)(val4);
15021 ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
15022 if (!SWIG_IsOK(ecode5)) {
15023 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plimage" "', argument " "5"" of type '" "PLFLT""'");
15024 }
15025 arg5 = (PLFLT)(val5);
15026 ecode6 = SWIG_AsVal_double(swig_obj[3], &val6);
15027 if (!SWIG_IsOK(ecode6)) {
15028 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plimage" "', argument " "6"" of type '" "PLFLT""'");
15029 }
15030 arg6 = (PLFLT)(val6);
15031 ecode7 = SWIG_AsVal_double(swig_obj[4], &val7);
15032 if (!SWIG_IsOK(ecode7)) {
15033 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plimage" "', argument " "7"" of type '" "PLFLT""'");
15034 }
15035 arg7 = (PLFLT)(val7);
15036 ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
15037 if (!SWIG_IsOK(ecode8)) {
15038 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plimage" "', argument " "8"" of type '" "PLFLT""'");
15039 }
15040 arg8 = (PLFLT)(val8);
15041 ecode9 = SWIG_AsVal_double(swig_obj[6], &val9);
15042 if (!SWIG_IsOK(ecode9)) {
15043 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plimage" "', argument " "9"" of type '" "PLFLT""'");
15044 }
15045 arg9 = (PLFLT)(val9);
15046 ecode10 = SWIG_AsVal_double(swig_obj[7], &val10);
15047 if (!SWIG_IsOK(ecode10)) {
15048 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plimage" "', argument " "10"" of type '" "PLFLT""'");
15049 }
15050 arg10 = (PLFLT)(val10);
15051 ecode11 = SWIG_AsVal_double(swig_obj[8], &val11);
15052 if (!SWIG_IsOK(ecode11)) {
15053 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plimage" "', argument " "11"" of type '" "PLFLT""'");
15054 }
15055 arg11 = (PLFLT)(val11);
15056 ecode12 = SWIG_AsVal_double(swig_obj[9], &val12);
15057 if (!SWIG_IsOK(ecode12)) {
15058 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plimage" "', argument " "12"" of type '" "PLFLT""'");
15059 }
15060 arg12 = (PLFLT)(val12);
15061 ecode13 = SWIG_AsVal_double(swig_obj[10], &val13);
15062 if (!SWIG_IsOK(ecode13)) {
15063 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plimage" "', argument " "13"" of type '" "PLFLT""'");
15064 }
15065 arg13 = (PLFLT)(val13);
15066 plimage((double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
15067 resultobj = SWIG_Py_Void();
15068 {
15069 Py_CLEAR( tmp1 );
15070 free( arg1 );
15071 }
15072 return resultobj;
15073fail:
15074 {
15075 Py_CLEAR( tmp1 );
15076 free( arg1 );
15077 }
15078 return NULL;
15079}
15080
15081
15082SWIGINTERN PyObject *_wrap_plimagefr(PyObject *self, PyObject *args) {
15083 PyObject *resultobj = 0;
15084 PLFLT **arg1 = (PLFLT **) 0 ;
15085 PLINT arg2 ;
15086 PLINT arg3 ;
15087 PLFLT arg4 ;
15088 PLFLT arg5 ;
15089 PLFLT arg6 ;
15090 PLFLT arg7 ;
15091 PLFLT arg8 ;
15092 PLFLT arg9 ;
15093 PLFLT arg10 ;
15094 PLFLT arg11 ;
15095 pltr_func arg12 = (pltr_func) 0 ;
15096 PLPointer arg13 = (PLPointer) 0 ;
15097 PyArrayObject *tmp1 = NULL ;
15098 double val4 ;
15099 int ecode4 = 0 ;
15100 double val5 ;
15101 int ecode5 = 0 ;
15102 double val6 ;
15103 int ecode6 = 0 ;
15104 double val7 ;
15105 int ecode7 = 0 ;
15106 double val8 ;
15107 int ecode8 = 0 ;
15108 double val9 ;
15109 int ecode9 = 0 ;
15110 double val10 ;
15111 int ecode10 = 0 ;
15112 double val11 ;
15113 int ecode11 = 0 ;
15114 PyObject *swig_obj[11] ;
15115
15116 {
15117 python_pltr = 0;
15118 arg12 = NULL;
15119 }
15120 {
15121 arg13 = NULL;
15122 }
15123 (void)self;
15124 if (!SWIG_Python_UnpackTuple(args, "plimagefr", 9, 11, swig_obj)) SWIG_fail;
15125 {
15126 int i, size;
15127 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
15128 if ( tmp1 == NULL )
15129 return NULL;
15130 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15131 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15132 size = arg3;
15133 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
15134 for ( i = 0; i < arg2; i++ )
15135 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15136 }
15137 ecode4 = SWIG_AsVal_double(swig_obj[1], &val4);
15138 if (!SWIG_IsOK(ecode4)) {
15139 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plimagefr" "', argument " "4"" of type '" "PLFLT""'");
15140 }
15141 arg4 = (PLFLT)(val4);
15142 ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
15143 if (!SWIG_IsOK(ecode5)) {
15144 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plimagefr" "', argument " "5"" of type '" "PLFLT""'");
15145 }
15146 arg5 = (PLFLT)(val5);
15147 ecode6 = SWIG_AsVal_double(swig_obj[3], &val6);
15148 if (!SWIG_IsOK(ecode6)) {
15149 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plimagefr" "', argument " "6"" of type '" "PLFLT""'");
15150 }
15151 arg6 = (PLFLT)(val6);
15152 ecode7 = SWIG_AsVal_double(swig_obj[4], &val7);
15153 if (!SWIG_IsOK(ecode7)) {
15154 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plimagefr" "', argument " "7"" of type '" "PLFLT""'");
15155 }
15156 arg7 = (PLFLT)(val7);
15157 ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
15158 if (!SWIG_IsOK(ecode8)) {
15159 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plimagefr" "', argument " "8"" of type '" "PLFLT""'");
15160 }
15161 arg8 = (PLFLT)(val8);
15162 ecode9 = SWIG_AsVal_double(swig_obj[6], &val9);
15163 if (!SWIG_IsOK(ecode9)) {
15164 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plimagefr" "', argument " "9"" of type '" "PLFLT""'");
15165 }
15166 arg9 = (PLFLT)(val9);
15167 ecode10 = SWIG_AsVal_double(swig_obj[7], &val10);
15168 if (!SWIG_IsOK(ecode10)) {
15169 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plimagefr" "', argument " "10"" of type '" "PLFLT""'");
15170 }
15171 arg10 = (PLFLT)(val10);
15172 ecode11 = SWIG_AsVal_double(swig_obj[8], &val11);
15173 if (!SWIG_IsOK(ecode11)) {
15174 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plimagefr" "', argument " "11"" of type '" "PLFLT""'");
15175 }
15176 arg11 = (PLFLT)(val11);
15177 if (swig_obj[9]) {
15178 {
15179 // it must be a callable or None
15180 if ( swig_obj[9] == Py_None )
15181 {
15182 arg12 = NULL;
15183 }
15184 else
15185 {
15186 if ( !PyCallable_Check( (PyObject *) swig_obj[9] ) )
15187 {
15188 PyErr_SetString( PyExc_ValueError, "pltr argument must be callable" );
15189 return NULL;
15190 }
15191 arg12 = marshal_pltr( swig_obj[9] );
15192 }
15193 }
15194 }
15195 if (swig_obj[10]) {
15196 {
15197 if ( swig_obj[10] == Py_None )
15198 arg13 = NULL;
15199 else
15200 {
15201 arg13 = marshal_PLPointer( swig_obj[10], 1 );
15202 }
15203 }
15204 }
15205 plimagefr((double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
15206 resultobj = SWIG_Py_Void();
15207 {
15208 Py_CLEAR( tmp1 );
15209 free( arg1 );
15210 }
15211 {
15212 cleanup_pltr();
15213 }
15214 {
15216 }
15217 return resultobj;
15218fail:
15219 {
15220 Py_CLEAR( tmp1 );
15221 free( arg1 );
15222 }
15223 {
15224 cleanup_pltr();
15225 }
15226 {
15228 }
15229 return NULL;
15230}
15231
15232
15233SWIGINTERN PyObject *_wrap_plClearOpts(PyObject *self, PyObject *args) {
15234 PyObject *resultobj = 0;
15235
15236 (void)self;
15237 if (!SWIG_Python_UnpackTuple(args, "plClearOpts", 0, 0, 0)) SWIG_fail;
15238 plClearOpts();
15239 resultobj = SWIG_Py_Void();
15240 return resultobj;
15241fail:
15242 return NULL;
15243}
15244
15245
15246SWIGINTERN PyObject *_wrap_plResetOpts(PyObject *self, PyObject *args) {
15247 PyObject *resultobj = 0;
15248
15249 (void)self;
15250 if (!SWIG_Python_UnpackTuple(args, "plResetOpts", 0, 0, 0)) SWIG_fail;
15251 plResetOpts();
15252 resultobj = SWIG_Py_Void();
15253 return resultobj;
15254fail:
15255 return NULL;
15256}
15257
15258
15259SWIGINTERN PyObject *_wrap_plSetUsage(PyObject *self, PyObject *args) {
15260 PyObject *resultobj = 0;
15261 char *arg1 = (char *) 0 ;
15262 char *arg2 = (char *) 0 ;
15263 int res1 ;
15264 char *buf1 = 0 ;
15265 int alloc1 = 0 ;
15266 int res2 ;
15267 char *buf2 = 0 ;
15268 int alloc2 = 0 ;
15269 PyObject *swig_obj[2] ;
15270
15271 (void)self;
15272 if (!SWIG_Python_UnpackTuple(args, "plSetUsage", 2, 2, swig_obj)) SWIG_fail;
15273 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
15274 if (!SWIG_IsOK(res1)) {
15275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plSetUsage" "', argument " "1"" of type '" "char const *""'");
15276 }
15277 arg1 = (char *)(buf1);
15278 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
15279 if (!SWIG_IsOK(res2)) {
15280 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plSetUsage" "', argument " "2"" of type '" "char const *""'");
15281 }
15282 arg2 = (char *)(buf2);
15283 plSetUsage((char const *)arg1,(char const *)arg2);
15284 resultobj = SWIG_Py_Void();
15285 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
15286 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15287 return resultobj;
15288fail:
15289 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
15290 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15291 return NULL;
15292}
15293
15294
15295SWIGINTERN PyObject *_wrap_plOptUsage(PyObject *self, PyObject *args) {
15296 PyObject *resultobj = 0;
15297
15298 (void)self;
15299 if (!SWIG_Python_UnpackTuple(args, "plOptUsage", 0, 0, 0)) SWIG_fail;
15300 plOptUsage();
15301 resultobj = SWIG_Py_Void();
15302 return resultobj;
15303fail:
15304 return NULL;
15305}
15306
15307
15308SWIGINTERN PyObject *_wrap_plMinMax2dGrid(PyObject *self, PyObject *args) {
15309 PyObject *resultobj = 0;
15310 PLFLT **arg1 = (PLFLT **) 0 ;
15311 PLINT arg2 ;
15312 PLINT arg3 ;
15313 PLFLT *arg4 = (PLFLT *) 0 ;
15314 PLFLT *arg5 = (PLFLT *) 0 ;
15315 PyArrayObject *tmp1 = NULL ;
15316 PLFLT temp4 ;
15317 int res4 = SWIG_TMPOBJ ;
15318 PLFLT temp5 ;
15319 int res5 = SWIG_TMPOBJ ;
15320 PyObject *swig_obj[1] ;
15321
15322 arg4 = &temp4;
15323 arg5 = &temp5;
15324 (void)self;
15325 if (!args) SWIG_fail;
15326 swig_obj[0] = args;
15327 {
15328 int i, size;
15329 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
15330 if ( tmp1 == NULL )
15331 return NULL;
15332 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15333 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15334 size = arg3;
15335 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
15336 for ( i = 0; i < arg2; i++ )
15337 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15338 }
15339 plMinMax2dGrid((double const **)arg1,arg2,arg3,arg4,arg5);
15340 resultobj = SWIG_Py_Void();
15341 if (SWIG_IsTmpObj(res4)) {
15342 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
15343 } else {
15344 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
15345 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
15346 }
15347 if (SWIG_IsTmpObj(res5)) {
15348 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg5)), 1);
15349 } else {
15350 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
15351 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags), 1);
15352 }
15353 {
15354 Py_CLEAR( tmp1 );
15355 free( arg1 );
15356 }
15357 return resultobj;
15358fail:
15359 {
15360 Py_CLEAR( tmp1 );
15361 free( arg1 );
15362 }
15363 return NULL;
15364}
15365
15366
15367SWIGINTERN PyObject *_wrap_plGetCursor(PyObject *self, PyObject *args) {
15368 PyObject *resultobj = 0;
15369 PLGraphicsIn *arg1 = (PLGraphicsIn *) 0 ;
15370 void *argp1 = 0 ;
15371 int res1 = 0 ;
15372 PyObject *swig_obj[1] ;
15373 PLINT result;
15374
15375 (void)self;
15376 if (!args) SWIG_fail;
15377 swig_obj[0] = args;
15378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
15379 if (!SWIG_IsOK(res1)) {
15380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plGetCursor" "', argument " "1"" of type '" "PLGraphicsIn *""'");
15381 }
15382 arg1 = (PLGraphicsIn *)(argp1);
15383 result = (PLINT)plGetCursor(arg1);
15384 resultobj = SWIG_From_int((int)(result));
15385 return resultobj;
15386fail:
15387 return NULL;
15388}
15389
15390
15391static PyMethodDef SwigMethods[] = {
15392 { "pltr0", _wrap_pltr0, METH_VARARGS, NULL},
15393 { "pltr1", _wrap_pltr1, METH_VARARGS, NULL},
15394 { "pltr2", _wrap_pltr2, METH_VARARGS, NULL},
15395 { "PLGraphicsIn_type_set", _wrap_PLGraphicsIn_type_set, METH_VARARGS, NULL},
15396 { "PLGraphicsIn_type_get", _wrap_PLGraphicsIn_type_get, METH_O, NULL},
15397 { "PLGraphicsIn_state_set", _wrap_PLGraphicsIn_state_set, METH_VARARGS, NULL},
15398 { "PLGraphicsIn_state_get", _wrap_PLGraphicsIn_state_get, METH_O, NULL},
15399 { "PLGraphicsIn_keysym_set", _wrap_PLGraphicsIn_keysym_set, METH_VARARGS, NULL},
15400 { "PLGraphicsIn_keysym_get", _wrap_PLGraphicsIn_keysym_get, METH_O, NULL},
15401 { "PLGraphicsIn_button_set", _wrap_PLGraphicsIn_button_set, METH_VARARGS, NULL},
15402 { "PLGraphicsIn_button_get", _wrap_PLGraphicsIn_button_get, METH_O, NULL},
15403 { "PLGraphicsIn_subwindow_set", _wrap_PLGraphicsIn_subwindow_set, METH_VARARGS, NULL},
15404 { "PLGraphicsIn_subwindow_get", _wrap_PLGraphicsIn_subwindow_get, METH_O, NULL},
15405 { "PLGraphicsIn_string_set", _wrap_PLGraphicsIn_string_set, METH_VARARGS, NULL},
15406 { "PLGraphicsIn_string_get", _wrap_PLGraphicsIn_string_get, METH_O, NULL},
15407 { "PLGraphicsIn_pX_set", _wrap_PLGraphicsIn_pX_set, METH_VARARGS, NULL},
15408 { "PLGraphicsIn_pX_get", _wrap_PLGraphicsIn_pX_get, METH_O, NULL},
15409 { "PLGraphicsIn_pY_set", _wrap_PLGraphicsIn_pY_set, METH_VARARGS, NULL},
15410 { "PLGraphicsIn_pY_get", _wrap_PLGraphicsIn_pY_get, METH_O, NULL},
15411 { "PLGraphicsIn_dX_set", _wrap_PLGraphicsIn_dX_set, METH_VARARGS, NULL},
15412 { "PLGraphicsIn_dX_get", _wrap_PLGraphicsIn_dX_get, METH_O, NULL},
15413 { "PLGraphicsIn_dY_set", _wrap_PLGraphicsIn_dY_set, METH_VARARGS, NULL},
15414 { "PLGraphicsIn_dY_get", _wrap_PLGraphicsIn_dY_get, METH_O, NULL},
15415 { "PLGraphicsIn_wX_set", _wrap_PLGraphicsIn_wX_set, METH_VARARGS, NULL},
15416 { "PLGraphicsIn_wX_get", _wrap_PLGraphicsIn_wX_get, METH_O, NULL},
15417 { "PLGraphicsIn_wY_set", _wrap_PLGraphicsIn_wY_set, METH_VARARGS, NULL},
15418 { "PLGraphicsIn_wY_get", _wrap_PLGraphicsIn_wY_get, METH_O, NULL},
15419 { "new_PLGraphicsIn", _wrap_new_PLGraphicsIn, METH_NOARGS, NULL},
15420 { "delete_PLGraphicsIn", _wrap_delete_PLGraphicsIn, METH_O, NULL},
15421 { "PLGraphicsIn_swigregister", PLGraphicsIn_swigregister, METH_O, NULL},
15422 { "PLGraphicsIn_swiginit", PLGraphicsIn_swiginit, METH_VARARGS, NULL},
15423 { "plsxwin", _wrap_plsxwin, METH_O, NULL},
15424 { "pl_setcontlabelformat", _wrap_pl_setcontlabelformat, METH_VARARGS, "\n"
15425 "Set format of numerical label for contours\n"
15426 "\n"
15427 "DESCRIPTION:\n"
15428 "\n"
15429 " Set format of numerical label for contours.\n"
15430 "\n"
15431 " Redacted form: pl_setcontlabelformat(lexp, sigdig)\n"
15432 "\n"
15433 " This function is used example 9.\n"
15434 "\n"
15435 "\n"
15436 "\n"
15437 "SYNOPSIS:\n"
15438 "\n"
15439 "pl_setcontlabelformat(lexp, sigdig)\n"
15440 "\n"
15441 "ARGUMENTS:\n"
15442 "\n"
15443 " lexp (PLINT, input) : If the contour numerical label is greater\n"
15444 " than 10^(lexp) or less than 10^(-lexp), then the exponential\n"
15445 " format is used. Default value of lexp is 4.\n"
15446 "\n"
15447 " sigdig (PLINT, input) : Number of significant digits. Default\n"
15448 " value is 2.\n"
15449 "\n"
15450 ""},
15451 { "pl_setcontlabelparam", _wrap_pl_setcontlabelparam, METH_VARARGS, "\n"
15452 "Set parameters of contour labelling other than format of numerical label\n"
15453 "\n"
15454 "DESCRIPTION:\n"
15455 "\n"
15456 " Set parameters of contour labelling other than those handled by\n"
15457 " pl_setcontlabelformat.\n"
15458 "\n"
15459 " Redacted form: pl_setcontlabelparam(offset, size, spacing, active)\n"
15460 "\n"
15461 " This function is used in example 9.\n"
15462 "\n"
15463 "\n"
15464 "\n"
15465 "SYNOPSIS:\n"
15466 "\n"
15467 "pl_setcontlabelparam(offset, size, spacing, active)\n"
15468 "\n"
15469 "ARGUMENTS:\n"
15470 "\n"
15471 " offset (PLFLT, input) : Offset of label from contour line (if set\n"
15472 " to 0.0, labels are printed on the lines). Default value is 0.006.\n"
15473 "\n"
15474 " size (PLFLT, input) : Font height for contour labels (normalized).\n"
15475 " Default value is 0.3.\n"
15476 "\n"
15477 " spacing (PLFLT, input) : Spacing parameter for contour labels.\n"
15478 " Default value is 0.1.\n"
15479 "\n"
15480 " active (PLINT, input) : Activate labels. Set to 1 if you want\n"
15481 " contour labels on. Default is off (0).\n"
15482 "\n"
15483 ""},
15484 { "pladv", _wrap_pladv, METH_O, "\n"
15485 "Advance the (sub-)page\n"
15486 "\n"
15487 "DESCRIPTION:\n"
15488 "\n"
15489 " Advances to the next subpage if sub=0, performing a page advance if\n"
15490 " there are no remaining subpages on the current page. If subpages\n"
15491 " aren't being used, pladv(0) will always advance the page. If page>0,\n"
15492 " PLplot switches to the specified subpage. Note that this allows you\n"
15493 " to overwrite a plot on the specified subpage; if this is not what you\n"
15494 " intended, use pleop followed by plbop to first advance the page. This\n"
15495 " routine is called automatically (with page=0) by plenv, but if plenv\n"
15496 " is not used, pladv must be called after initializing PLplot but before\n"
15497 " defining the viewport.\n"
15498 "\n"
15499 " Redacted form: pladv(page)\n"
15500 "\n"
15501 " This function is used in examples 1, 2, 4, 6-12, 14-18, 20, 21, 23-27,\n"
15502 " 29, and 31.\n"
15503 "\n"
15504 "\n"
15505 "\n"
15506 "SYNOPSIS:\n"
15507 "\n"
15508 "pladv(page)\n"
15509 "\n"
15510 "ARGUMENTS:\n"
15511 "\n"
15512 " page (PLINT, input) : Specifies the subpage number (starting from 1\n"
15513 " in the top left corner and increasing along the rows) to which to\n"
15514 " advance. Set to zero to advance to the next subpage (or to the\n"
15515 " next page if subpages are not being used).\n"
15516 "\n"
15517 ""},
15518 { "plarc", _wrap_plarc, METH_VARARGS, "\n"
15519 "Draw a circular or elliptical arc\n"
15520 "\n"
15521 "DESCRIPTION:\n"
15522 "\n"
15523 " Draw a possibly filled arc centered at x, y with semimajor axis a and\n"
15524 " semiminor axis b, starting at angle1 and ending at angle2.\n"
15525 "\n"
15526 " Redacted form: General: plarc(x, y, a, b, angle1, angle2, rotate,\n"
15527 " fill)\n"
15528 "\n"
15529 "\n"
15530 " This function is used in examples 3 and 27.\n"
15531 "\n"
15532 "\n"
15533 "\n"
15534 "SYNOPSIS:\n"
15535 "\n"
15536 "plarc(x, y, a, b, angle1, angle2, rotate, fill)\n"
15537 "\n"
15538 "ARGUMENTS:\n"
15539 "\n"
15540 " x (PLFLT, input) : X coordinate of arc center.\n"
15541 "\n"
15542 " y (PLFLT, input) : Y coordinate of arc center.\n"
15543 "\n"
15544 " a (PLFLT, input) : Length of the semimajor axis of the arc.\n"
15545 "\n"
15546 " b (PLFLT, input) : Length of the semiminor axis of the arc.\n"
15547 "\n"
15548 " angle1 (PLFLT, input) : Starting angle of the arc relative to the\n"
15549 " semimajor axis.\n"
15550 "\n"
15551 " angle2 (PLFLT, input) : Ending angle of the arc relative to the\n"
15552 " semimajor axis.\n"
15553 "\n"
15554 " rotate (PLFLT, input) : Angle of the semimajor axis relative to the\n"
15555 " X-axis.\n"
15556 "\n"
15557 " fill (PLBOOL, input) : Draw a filled arc.\n"
15558 "\n"
15559 ""},
15560 { "plaxes", _wrap_plaxes, METH_VARARGS, "\n"
15561 "Draw a box with axes, etc. with arbitrary origin\n"
15562 "\n"
15563 "DESCRIPTION:\n"
15564 "\n"
15565 " Draws a box around the currently defined viewport with arbitrary\n"
15566 " world-coordinate origin specified by x0 and y0 and labels it with\n"
15567 " world coordinate values appropriate to the window. Thus plaxes should\n"
15568 " only be called after defining both viewport and window. The ascii\n"
15569 " character strings xopt and yopt specify how the box should be drawn as\n"
15570 " described below. If ticks and/or subticks are to be drawn for a\n"
15571 " particular axis, the tick intervals and number of subintervals may be\n"
15572 " specified explicitly, or they may be defaulted by setting the\n"
15573 " appropriate arguments to zero.\n"
15574 "\n"
15575 " Redacted form: General: plaxes(x0, y0, xopt, xtick, nxsub, yopt,\n"
15576 " ytick, nysub)\n"
15577 "\n"
15578 "\n"
15579 " This function is not used in any examples.\n"
15580 "\n"
15581 "\n"
15582 "\n"
15583 "SYNOPSIS:\n"
15584 "\n"
15585 "plaxes(x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub)\n"
15586 "\n"
15587 "ARGUMENTS:\n"
15588 "\n"
15589 " x0 (PLFLT, input) : World X coordinate of origin.\n"
15590 "\n"
15591 " y0 (PLFLT, input) : World Y coordinate of origin.\n"
15592 "\n"
15593 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15594 " options for the x axis. The string can include any combination of\n"
15595 " the following letters (upper or lower case) in any order: a: Draws\n"
15596 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n"
15597 " (x=0).\n"
15598 " b: Draws bottom (X) or left (Y) edge of frame.\n"
15599 " c: Draws top (X) or right (Y) edge of frame.\n"
15600 " d: Plot labels as date / time. Values are assumed to be\n"
15601 " seconds since the epoch (as used by gmtime).\n"
15602 " f: Always use fixed point numeric labels.\n"
15603 " g: Draws a grid at the major tick interval.\n"
15604 " h: Draws a grid at the minor tick interval.\n"
15605 " i: Inverts tick marks, so they are drawn outwards, rather than\n"
15606 " inwards.\n"
15607 " l: Labels axis logarithmically. This only affects the labels,\n"
15608 " not the data, and so it is necessary to compute the logarithms\n"
15609 " of data points before passing them to any of the drawing\n"
15610 " routines.\n"
15611 " m: Writes numeric labels at major tick intervals in the\n"
15612 " unconventional location (above box for X, right of box for Y).\n"
15613 " n: Writes numeric labels at major tick intervals in the\n"
15614 " conventional location (below box for X, left of box for Y).\n"
15615 " o: Use custom labelling function to generate axis label text.\n"
15616 " The custom labelling function can be defined with the\n"
15617 " plslabelfunc command.\n"
15618 " s: Enables subticks between major ticks, only valid if t is\n"
15619 " also specified.\n"
15620 " t: Draws major ticks.\n"
15621 " u: Exactly like \"b\" except don't draw edge line.\n"
15622 " w: Exactly like \"c\" except don't draw edge line.\n"
15623 " x: Exactly like \"t\" (including the side effect of the\n"
15624 " numerical labels for the major ticks) except exclude drawing\n"
15625 " the major and minor tick marks.\n"
15626 "\n"
15627 "\n"
15628 " xtick (PLFLT, input) : World coordinate interval between major\n"
15629 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
15630 " generates a suitable tick interval.\n"
15631 "\n"
15632 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
15633 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15634 " generates a suitable minor tick interval.\n"
15635 "\n"
15636 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15637 " options for the y axis. The string can include any combination of\n"
15638 " the letters defined above for xopt, and in addition may contain:\n"
15639 " v: Write numeric labels for the y axis parallel to the base of the\n"
15640 " graph, rather than parallel to the axis.\n"
15641 "\n"
15642 "\n"
15643 " ytick (PLFLT, input) : World coordinate interval between major\n"
15644 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
15645 " generates a suitable tick interval.\n"
15646 "\n"
15647 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
15648 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15649 " generates a suitable minor tick interval.\n"
15650 "\n"
15651 ""},
15652 { "plbin", _wrap_plbin, METH_VARARGS, "\n"
15653 "Plot a histogram from binned data\n"
15654 "\n"
15655 "DESCRIPTION:\n"
15656 "\n"
15657 " Plots a histogram consisting of nbin bins. The value associated with\n"
15658 " the i'th bin is placed in x[i], and the number of points in the bin is\n"
15659 " placed in y[i]. For proper operation, the values in x[i] must form a\n"
15660 " strictly increasing sequence. By default, x[i] is the left-hand edge\n"
15661 " of the i'th bin. If opt=PL_BIN_CENTRED is used, the bin boundaries are\n"
15662 " placed midway between the values in the x vector. Also see plhist for\n"
15663 " drawing histograms from unbinned data.\n"
15664 "\n"
15665 " Redacted form: General: plbin(x, y, opt)\n"
15666 " Python: plbin(nbin, x, y, opt)\n"
15667 "\n"
15668 "\n"
15669 " This function is not used in any examples.\n"
15670 "\n"
15671 "\n"
15672 "\n"
15673 "SYNOPSIS:\n"
15674 "\n"
15675 "plbin(nbin, x, y, opt)\n"
15676 "\n"
15677 "ARGUMENTS:\n"
15678 "\n"
15679 " nbin (PLINT, input) : Number of bins (i.e., number of values in x\n"
15680 " and y vectors.)\n"
15681 "\n"
15682 " x (PLFLT_VECTOR, input) : A vector containing values associated\n"
15683 " with bins. These must form a strictly increasing sequence.\n"
15684 "\n"
15685 " y (PLFLT_VECTOR, input) : A vector containing a number which is\n"
15686 " proportional to the number of points in each bin. This is a PLFLT\n"
15687 " (instead of PLINT) vector so as to allow histograms of\n"
15688 " probabilities, etc.\n"
15689 "\n"
15690 " opt (PLINT, input) : Is a combination of several flags:\n"
15691 " opt=PL_BIN_DEFAULT: The x represent the lower bin boundaries, the\n"
15692 " outer bins are expanded to fill up the entire x-axis and bins of\n"
15693 " zero height are simply drawn.\n"
15694 " opt=PL_BIN_CENTRED|...: The bin boundaries are to be midway\n"
15695 " between the x values. If the values in x are equally spaced,\n"
15696 " the values are the center values of the bins.\n"
15697 " opt=PL_BIN_NOEXPAND|...: The outer bins are drawn with equal\n"
15698 " size as the ones inside.\n"
15699 " opt=PL_BIN_NOEMPTY|...: Bins with zero height are not drawn\n"
15700 " (there is a gap for such bins).\n"
15701 "\n"
15702 ""},
15703 { "plbtime", _wrap_plbtime, METH_O, "\n"
15704 "Calculate broken-down time from continuous time for the current stream\n"
15705 "\n"
15706 "DESCRIPTION:\n"
15707 "\n"
15708 " Calculate broken-down time; year, month, day, hour, min, sec; from\n"
15709 " continuous time, ctime for the current stream. This function is the\n"
15710 " inverse of plctime.\n"
15711 "\n"
15712 " The PLplot definition of broken-down time is a calendar time that\n"
15713 " completely ignores all time zone offsets, i.e., it is the user's\n"
15714 " responsibility to apply those offsets (if so desired) before using the\n"
15715 " PLplot time API. By default broken-down time is defined using the\n"
15716 " proleptic Gregorian calendar without the insertion of leap seconds and\n"
15717 " continuous time is defined as the number of seconds since the Unix\n"
15718 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n"
15719 " broken-down and continuous time are possible, see plconfigtime.\n"
15720 "\n"
15721 " Redacted form: General: plbtime(year, month, day, hour, min, sec,\n"
15722 " ctime)\n"
15723 "\n"
15724 "\n"
15725 " This function is used in example 29.\n"
15726 "\n"
15727 "\n"
15728 "\n"
15729 "SYNOPSIS:\n"
15730 "\n"
15731 "plbtime(year, month, day, hour, min, sec, ctime)\n"
15732 "\n"
15733 "ARGUMENTS:\n"
15734 "\n"
15735 " year (PLINT_NC_SCALAR, output) : Returned value of years with\n"
15736 " positive values corresponding to CE (i.e., 1 = 1 CE, etc.) and\n"
15737 " non-negative values corresponding to BCE (e.g., 0 = 1 BCE, -1 = 2\n"
15738 " BCE, etc.)\n"
15739 "\n"
15740 " month (PLINT_NC_SCALAR, output) : Returned value of month within\n"
15741 " the year in the range from 0 (January) to 11 (December).\n"
15742 "\n"
15743 " day (PLINT_NC_SCALAR, output) : Returned value of day within the\n"
15744 " month in the range from 1 to 31.\n"
15745 "\n"
15746 " hour (PLINT_NC_SCALAR, output) : Returned value of hour within the\n"
15747 " day in the range from 0 to 23.\n"
15748 "\n"
15749 " min (PLINT_NC_SCALAR, output) : Returned value of minute within the\n"
15750 " hour in the range from 0 to 59\n"
15751 "\n"
15752 " sec (PLFLT_NC_SCALAR, output) : Returned value of second within the\n"
15753 " minute in range from 0. to 60.\n"
15754 "\n"
15755 " ctime (PLFLT, input) : Continuous time from which the broken-down\n"
15756 " time is calculated.\n"
15757 "\n"
15758 ""},
15759 { "plbop", _wrap_plbop, METH_NOARGS, "\n"
15760 "Begin a new page\n"
15761 "\n"
15762 "DESCRIPTION:\n"
15763 "\n"
15764 " Begins a new page. For a file driver, the output file is opened if\n"
15765 " necessary. Advancing the page via pleop and plbop is useful when a\n"
15766 " page break is desired at a particular point when plotting to subpages.\n"
15767 " Another use for pleop and plbop is when plotting pages to different\n"
15768 " files, since you can manually set the file name by calling plsfnam\n"
15769 " after the call to pleop. (In fact some drivers may only support a\n"
15770 " single page per file, making this a necessity.) One way to handle\n"
15771 " this case automatically is to page advance via pladv, but enable\n"
15772 " familying (see plsfam) with a small limit on the file size so that a\n"
15773 " new family member file will be created on each page break.\n"
15774 "\n"
15775 " Redacted form: plbop()\n"
15776 "\n"
15777 " This function is used in examples 2 and 20.\n"
15778 "\n"
15779 "\n"
15780 "\n"
15781 "SYNOPSIS:\n"
15782 "\n"
15783 "plbop()\n"
15784 "\n"
15785 ""},
15786 { "plbox", _wrap_plbox, METH_VARARGS, "\n"
15787 "Draw a box with axes, etc\n"
15788 "\n"
15789 "DESCRIPTION:\n"
15790 "\n"
15791 " Draws a box around the currently defined viewport, and labels it with\n"
15792 " world coordinate values appropriate to the window. Thus plbox should\n"
15793 " only be called after defining both viewport and window. The ascii\n"
15794 " character strings xopt and yopt specify how the box should be drawn as\n"
15795 " described below. If ticks and/or subticks are to be drawn for a\n"
15796 " particular axis, the tick intervals and number of subintervals may be\n"
15797 " specified explicitly, or they may be defaulted by setting the\n"
15798 " appropriate arguments to zero.\n"
15799 "\n"
15800 " Redacted form: General: plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n"
15801 "\n"
15802 "\n"
15803 " This function is used in examples 1, 2, 4, 6, 6-12, 14-18, 21, 23-26,\n"
15804 " and 29.\n"
15805 "\n"
15806 "\n"
15807 "\n"
15808 "SYNOPSIS:\n"
15809 "\n"
15810 "plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n"
15811 "\n"
15812 "ARGUMENTS:\n"
15813 "\n"
15814 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15815 " options for the x axis. The string can include any combination of\n"
15816 " the following letters (upper or lower case) in any order: a: Draws\n"
15817 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n"
15818 " (x=0).\n"
15819 " b: Draws bottom (X) or left (Y) edge of frame.\n"
15820 " c: Draws top (X) or right (Y) edge of frame.\n"
15821 " d: Plot labels as date / time. Values are assumed to be\n"
15822 " seconds since the epoch (as used by gmtime).\n"
15823 " f: Always use fixed point numeric labels.\n"
15824 " g: Draws a grid at the major tick interval.\n"
15825 " h: Draws a grid at the minor tick interval.\n"
15826 " i: Inverts tick marks, so they are drawn outwards, rather than\n"
15827 " inwards.\n"
15828 " l: Labels axis logarithmically. This only affects the labels,\n"
15829 " not the data, and so it is necessary to compute the logarithms\n"
15830 " of data points before passing them to any of the drawing\n"
15831 " routines.\n"
15832 " m: Writes numeric labels at major tick intervals in the\n"
15833 " unconventional location (above box for X, right of box for Y).\n"
15834 " n: Writes numeric labels at major tick intervals in the\n"
15835 " conventional location (below box for X, left of box for Y).\n"
15836 " o: Use custom labelling function to generate axis label text.\n"
15837 " The custom labelling function can be defined with the\n"
15838 " plslabelfunc command.\n"
15839 " s: Enables subticks between major ticks, only valid if t is\n"
15840 " also specified.\n"
15841 " t: Draws major ticks.\n"
15842 " u: Exactly like \"b\" except don't draw edge line.\n"
15843 " w: Exactly like \"c\" except don't draw edge line.\n"
15844 " x: Exactly like \"t\" (including the side effect of the\n"
15845 " numerical labels for the major ticks) except exclude drawing\n"
15846 " the major and minor tick marks.\n"
15847 "\n"
15848 "\n"
15849 " xtick (PLFLT, input) : World coordinate interval between major\n"
15850 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
15851 " generates a suitable tick interval.\n"
15852 "\n"
15853 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
15854 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15855 " generates a suitable minor tick interval.\n"
15856 "\n"
15857 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15858 " options for the y axis. The string can include any combination of\n"
15859 " the letters defined above for xopt, and in addition may contain:\n"
15860 " v: Write numeric labels for the y axis parallel to the base of the\n"
15861 " graph, rather than parallel to the axis.\n"
15862 "\n"
15863 "\n"
15864 " ytick (PLFLT, input) : World coordinate interval between major\n"
15865 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
15866 " generates a suitable tick interval.\n"
15867 "\n"
15868 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
15869 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15870 " generates a suitable minor tick interval.\n"
15871 "\n"
15872 ""},
15873 { "plbox3", _wrap_plbox3, METH_VARARGS, "\n"
15874 "Draw a box with axes, etc, in 3-d\n"
15875 "\n"
15876 "DESCRIPTION:\n"
15877 "\n"
15878 " Draws axes, numeric and text labels for a three-dimensional surface\n"
15879 " plot. For a more complete description of three-dimensional plotting\n"
15880 " see the PLplot documentation.\n"
15881 "\n"
15882 " Redacted form: General: plbox3(xopt, xlabel, xtick, nxsub, yopt,\n"
15883 " ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n"
15884 "\n"
15885 "\n"
15886 " This function is used in examples 8, 11, 18, and 21.\n"
15887 "\n"
15888 "\n"
15889 "\n"
15890 "SYNOPSIS:\n"
15891 "\n"
15892 "plbox3(xopt, xlabel, xtick, nxsub, yopt, ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n"
15893 "\n"
15894 "ARGUMENTS:\n"
15895 "\n"
15896 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15897 " options for the x axis. The string can include any combination of\n"
15898 " the following letters (upper or lower case) in any order: b: Draws\n"
15899 " axis at base, at height z=\n"
15900 " zmin where zmin is defined by call to plw3d. This character must be\n"
15901 " specified in order to use any of the other options.\n"
15902 " d: Plot labels as date / time. Values are assumed to be\n"
15903 " seconds since the epoch (as used by gmtime).\n"
15904 " f: Always use fixed point numeric labels.\n"
15905 " i: Inverts tick marks, so they are drawn downwards, rather\n"
15906 " than upwards.\n"
15907 " l: Labels axis logarithmically. This only affects the labels,\n"
15908 " not the data, and so it is necessary to compute the logarithms\n"
15909 " of data points before passing them to any of the drawing\n"
15910 " routines.\n"
15911 " n: Writes numeric labels at major tick intervals.\n"
15912 " o: Use custom labelling function to generate axis label text.\n"
15913 " The custom labelling function can be defined with the\n"
15914 " plslabelfunc command.\n"
15915 " s: Enables subticks between major ticks, only valid if t is\n"
15916 " also specified.\n"
15917 " t: Draws major ticks.\n"
15918 " u: If this is specified, the text label for the axis is\n"
15919 " written under the axis.\n"
15920 "\n"
15921 "\n"
15922 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
15923 " the text label for the x axis. It is only drawn if u is in the\n"
15924 " xopt string.\n"
15925 "\n"
15926 " xtick (PLFLT, input) : World coordinate interval between major\n"
15927 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
15928 " generates a suitable tick interval.\n"
15929 "\n"
15930 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
15931 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15932 " generates a suitable minor tick interval.\n"
15933 "\n"
15934 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15935 " options for the y axis. The string is interpreted in the same way\n"
15936 " as xopt.\n"
15937 "\n"
15938 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
15939 " the text label for the y axis. It is only drawn if u is in the\n"
15940 " yopt string.\n"
15941 "\n"
15942 " ytick (PLFLT, input) : World coordinate interval between major\n"
15943 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
15944 " generates a suitable tick interval.\n"
15945 "\n"
15946 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
15947 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15948 " generates a suitable minor tick interval.\n"
15949 "\n"
15950 " zopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15951 " options for the z axis. The string can include any combination of\n"
15952 " the following letters (upper or lower case) in any order: b: Draws\n"
15953 " z axis to the left of the surface plot.\n"
15954 " c: Draws z axis to the right of the surface plot.\n"
15955 " d: Draws grid lines parallel to the x-y plane behind the\n"
15956 " figure. These lines are not drawn until after plot3d or\n"
15957 " plmesh are called because of the need for hidden line removal.\n"
15958 " e: Plot labels as date / time. Values are assumed to be\n"
15959 " seconds since the epoch (as used by gmtime). Note this\n"
15960 " suboption is interpreted the same as the d suboption for xopt\n"
15961 " and yopt, but it has to be identified as e for zopt since d\n"
15962 " has already been used for the different purpose above.\n"
15963 " f: Always use fixed point numeric labels.\n"
15964 " i: Inverts tick marks, so they are drawn away from the center.\n"
15965 " l: Labels axis logarithmically. This only affects the labels,\n"
15966 " not the data, and so it is necessary to compute the logarithms\n"
15967 " of data points before passing them to any of the drawing\n"
15968 " routines.\n"
15969 " m: Writes numeric labels at major tick intervals on the\n"
15970 " right-hand z axis.\n"
15971 " n: Writes numeric labels at major tick intervals on the\n"
15972 " left-hand z axis.\n"
15973 " o: Use custom labelling function to generate axis label text.\n"
15974 " The custom labelling function can be defined with the\n"
15975 " plslabelfunc command.\n"
15976 " s: Enables subticks between major ticks, only valid if t is\n"
15977 " also specified.\n"
15978 " t: Draws major ticks.\n"
15979 " u: If this is specified, the text label is written beside the\n"
15980 " left-hand axis.\n"
15981 " v: If this is specified, the text label is written beside the\n"
15982 " right-hand axis.\n"
15983 "\n"
15984 "\n"
15985 " zlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
15986 " the text label for the z axis. It is only drawn if u or v are in\n"
15987 " the zopt string.\n"
15988 "\n"
15989 " ztick (PLFLT, input) : World coordinate interval between major\n"
15990 " ticks on the z axis. If it is set to zero, PLplot automatically\n"
15991 " generates a suitable tick interval.\n"
15992 "\n"
15993 " nzsub (PLINT, input) : Number of subintervals between major z axis\n"
15994 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15995 " generates a suitable minor tick interval.\n"
15996 "\n"
15997 ""},
15998 { "plcalc_world", _wrap_plcalc_world, METH_VARARGS, "\n"
15999 "Calculate world coordinates and corresponding window index from relative device coordinates\n"
16000 "\n"
16001 "DESCRIPTION:\n"
16002 "\n"
16003 " Calculate world coordinates, wx and wy, and corresponding window index\n"
16004 " from relative device coordinates, rx and ry.\n"
16005 "\n"
16006 " Redacted form: General: plcalc_world(rx, ry, wx, wy, window)\n"
16007 "\n"
16008 "\n"
16009 " This function is used in example 31.\n"
16010 "\n"
16011 "\n"
16012 "\n"
16013 "SYNOPSIS:\n"
16014 "\n"
16015 "plcalc_world(rx, ry, wx, wy, window)\n"
16016 "\n"
16017 "ARGUMENTS:\n"
16018 "\n"
16019 " rx (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n"
16020 " the x coordinate.\n"
16021 "\n"
16022 " ry (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n"
16023 " the y coordinate.\n"
16024 "\n"
16025 " wx (PLFLT_NC_SCALAR, output) : Returned value of the x world\n"
16026 " coordinate corresponding to the relative device coordinates rx and\n"
16027 " ry.\n"
16028 "\n"
16029 " wy (PLFLT_NC_SCALAR, output) : Returned value of the y world\n"
16030 " coordinate corresponding to the relative device coordinates rx and\n"
16031 " ry.\n"
16032 "\n"
16033 " window (PLINT_NC_SCALAR, output) : Returned value of the last\n"
16034 " defined window index that corresponds to the input relative device\n"
16035 " coordinates (and the returned world coordinates). To give some\n"
16036 " background on the window index, for each page the initial window\n"
16037 " index is set to zero, and each time plwind is called within the\n"
16038 " page, world and device coordinates are stored for the window and\n"
16039 " the window index is incremented. Thus, for a simple page layout\n"
16040 " with non-overlapping viewports and one window per viewport, window\n"
16041 " corresponds to the viewport index (in the order which the\n"
16042 " viewport/windows were created) of the only viewport/window\n"
16043 " corresponding to rx and ry. However, for more complicated layouts\n"
16044 " with potentially overlapping viewports and possibly more than one\n"
16045 " window (set of world coordinates) per viewport, window and the\n"
16046 " corresponding output world coordinates corresponds to the last\n"
16047 " window created that fulfills the criterion that the relative\n"
16048 " device coordinates are inside it. Finally, in all cases where the\n"
16049 " input relative device coordinates are not inside any\n"
16050 " viewport/window, then the returned value of the last defined\n"
16051 " window index is set to -1.\n"
16052 "\n"
16053 ""},
16054 { "plclear", _wrap_plclear, METH_NOARGS, "\n"
16055 "Clear current (sub)page\n"
16056 "\n"
16057 "DESCRIPTION:\n"
16058 "\n"
16059 " Clears the current page, effectively erasing everything that have been\n"
16060 " drawn. This command only works with interactive drivers; if the\n"
16061 " driver does not support this, the page is filled with the background\n"
16062 " color in use. If the current page is divided into subpages, only the\n"
16063 " current subpage is erased. The nth subpage can be selected with\n"
16064 " pladv(n).\n"
16065 "\n"
16066 " Redacted form: General: plclear()\n"
16067 "\n"
16068 "\n"
16069 " This function is not used in any examples.\n"
16070 "\n"
16071 "\n"
16072 "\n"
16073 "SYNOPSIS:\n"
16074 "\n"
16075 "plclear()\n"
16076 "\n"
16077 ""},
16078 { "plcol0", _wrap_plcol0, METH_O, "\n"
16079 "Set color, cmap0\n"
16080 "\n"
16081 "DESCRIPTION:\n"
16082 "\n"
16083 " Sets the color index for cmap0 (see the PLplot documentation).\n"
16084 "\n"
16085 " Redacted form: plcol0(icol0)\n"
16086 "\n"
16087 " This function is used in examples 1-9, 11-16, 18-27, and 29.\n"
16088 "\n"
16089 "\n"
16090 "\n"
16091 "SYNOPSIS:\n"
16092 "\n"
16093 "plcol0(icol0)\n"
16094 "\n"
16095 "ARGUMENTS:\n"
16096 "\n"
16097 " icol0 (PLINT, input) : Integer representing the color. The\n"
16098 " defaults at present are (these may change):\n"
16099 " 0 black (default background)\n"
16100 " 1 red (default foreground)\n"
16101 " 2 yellow\n"
16102 " 3 green\n"
16103 " 4 aquamarine\n"
16104 " 5 pink\n"
16105 " 6 wheat\n"
16106 " 7 grey\n"
16107 " 8 brown\n"
16108 " 9 blue\n"
16109 " 10 BlueViolet\n"
16110 " 11 cyan\n"
16111 " 12 turquoise\n"
16112 " 13 magenta\n"
16113 " 14 salmon\n"
16114 " 15 white\n"
16115 "\n"
16116 " Use plscmap0 to change the entire cmap0 color palette and plscol0 to\n"
16117 " change an individual color in the cmap0 color palette.\n"
16118 "\n"
16119 ""},
16120 { "plcol1", _wrap_plcol1, METH_O, "\n"
16121 "Set color, cmap1\n"
16122 "\n"
16123 "DESCRIPTION:\n"
16124 "\n"
16125 " Sets the color for cmap1 (see the PLplot documentation).\n"
16126 "\n"
16127 " Redacted form: plcol1(col1)\n"
16128 "\n"
16129 " This function is used in examples 12 and 21.\n"
16130 "\n"
16131 "\n"
16132 "\n"
16133 "SYNOPSIS:\n"
16134 "\n"
16135 "plcol1(col1)\n"
16136 "\n"
16137 "ARGUMENTS:\n"
16138 "\n"
16139 " col1 (PLFLT, input) : This value must be in the range (0.0-1.0) and\n"
16140 " is mapped to color using the continuous cmap1 palette which by\n"
16141 " default ranges from blue to the background color to red. The\n"
16142 " cmap1 palette can also be straightforwardly changed by the user\n"
16143 " with plscmap1 or plscmap1l.\n"
16144 "\n"
16145 ""},
16146 { "plconfigtime", _wrap_plconfigtime, METH_VARARGS, "\n"
16147 "Configure the transformation between continuous and broken-down time for the current stream\n"
16148 "\n"
16149 "DESCRIPTION:\n"
16150 "\n"
16151 " Configure the transformation between continuous and broken-down time\n"
16152 " for the current stream. This transformation is used by both plbtime\n"
16153 " and plctime.\n"
16154 "\n"
16155 " Redacted form: General: plconfigtime(scale, offset1, offset2,\n"
16156 " ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n"
16157 "\n"
16158 "\n"
16159 " This function is used in example 29.\n"
16160 "\n"
16161 "\n"
16162 "\n"
16163 "SYNOPSIS:\n"
16164 "\n"
16165 "plconfigtime(scale, offset1, offset2, ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n"
16166 "\n"
16167 "ARGUMENTS:\n"
16168 "\n"
16169 " scale (PLFLT, input) : The number of days per continuous time unit.\n"
16170 " As a special case, if\n"
16171 " scale is 0., then all other arguments are ignored, and the result (the\n"
16172 " default used by PLplot) is the equivalent of a call to\n"
16173 " plconfigtime(1./86400., 0., 0., 0x0, 1, 1970, 0, 1, 0, 0, 0.).\n"
16174 " That is, for this special case broken-down time is calculated with\n"
16175 " the proleptic Gregorian calendar with no leap seconds inserted,\n"
16176 " and the continuous time is defined as the number of seconds since\n"
16177 " the Unix epoch of 1970-01-01T00:00:00Z.\n"
16178 "\n"
16179 " offset1 (PLFLT, input) : If\n"
16180 " ifbtime_offset is true, the parameters\n"
16181 " offset1 and\n"
16182 " offset2 are completely ignored. Otherwise, the sum of these parameters\n"
16183 " (with units in days) specify the epoch of the continuous time\n"
16184 " relative to the MJD epoch corresponding to the Gregorian calendar\n"
16185 " date of 1858-11-17T00:00:00Z or JD = 2400000.5. Two PLFLT numbers\n"
16186 " are used to specify the origin to allow users (by specifying\n"
16187 " offset1 as an integer that can be exactly represented by a\n"
16188 " floating-point variable and specifying\n"
16189 " offset2 as a number in the range from 0. to 1) the chance to minimize\n"
16190 " the numerical errors of the continuous time representation.\n"
16191 "\n"
16192 " offset2 (PLFLT, input) : See documentation of\n"
16193 " offset1.\n"
16194 "\n"
16195 " ccontrol (PLINT, input) : ccontrol contains bits controlling the\n"
16196 " transformation. If the 0x1 bit is set, then the proleptic Julian\n"
16197 " calendar is used for broken-down time rather than the proleptic\n"
16198 " Gregorian calendar. If the 0x2 bit is set, then leap seconds that\n"
16199 " have been historically used to define UTC are inserted into the\n"
16200 " broken-down time. Other possibilities for additional control bits\n"
16201 " for ccontrol exist such as making the historical time corrections\n"
16202 " in the broken-down time corresponding to ET (ephemeris time) or\n"
16203 " making the (slightly non-constant) corrections from international\n"
16204 " atomic time (TAI) to what astronomers define as terrestrial time\n"
16205 " (TT). But those additional possibilities have not been\n"
16206 " implemented yet in the qsastime library (one of the PLplot utility\n"
16207 " libraries).\n"
16208 "\n"
16209 " ifbtime_offset (PLBOOL, input) : ifbtime_offset controls how the\n"
16210 " epoch of the continuous time scale is specified by the user. If\n"
16211 " ifbtime_offset is false, then\n"
16212 " offset1 and\n"
16213 " offset2 are used to specify the epoch, and the following broken-down\n"
16214 " time parameters are completely ignored. If\n"
16215 " ifbtime_offset is true, then\n"
16216 " offset1 and\n"
16217 " offset2 are completely ignored, and the following broken-down time\n"
16218 " parameters are used to specify the epoch.\n"
16219 "\n"
16220 " year (PLINT, input) : Year of epoch.\n"
16221 "\n"
16222 " month (PLINT, input) : Month of epoch in range from 0 (January) to\n"
16223 " 11 (December).\n"
16224 "\n"
16225 " day (PLINT, input) : Day of epoch in range from 1 to 31.\n"
16226 "\n"
16227 " hour (PLINT, input) : Hour of epoch in range from 0 to 23\n"
16228 "\n"
16229 " min (PLINT, input) : Minute of epoch in range from 0 to 59.\n"
16230 "\n"
16231 " sec (PLFLT, input) : Second of epoch in range from 0. to 60.\n"
16232 "\n"
16233 ""},
16234 { "plcont", _wrap_plcont, METH_VARARGS, "\n"
16235 "Contour plot\n"
16236 "\n"
16237 "DESCRIPTION:\n"
16238 "\n"
16239 " Draws a contour plot of the data in f[\n"
16240 " nx][\n"
16241 " ny], using the nlevel contour levels specified by clevel. Only the\n"
16242 " region of the matrix from kx to lx and from ky to ly is plotted out\n"
16243 " where all these index ranges are interpreted as one-based for\n"
16244 " historical reasons. A transformation routine pointed to by pltr with\n"
16245 " a generic pointer pltr_data for additional data required by the\n"
16246 " transformation routine is used to map indices within the matrix to the\n"
16247 " world coordinates.\n"
16248 "\n"
16249 " Redacted form: plcont(f, kx, lx, ky, ly, clevel, pltr, pltr_data)\n"
16250 " where (see above discussion) the pltr, pltr_data callback arguments\n"
16251 " are sometimes replaced by a tr vector with 6 elements; xg and yg\n"
16252 " vectors; or xg and yg matrices.\n"
16253 "\n"
16254 " This function is used in examples 9, 14, 16, and 22.\n"
16255 "\n"
16256 "\n"
16257 "\n"
16258 "SYNOPSIS:\n"
16259 "\n"
16260 "plcont(f, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr, pltr_data)\n"
16261 "\n"
16262 "ARGUMENTS:\n"
16263 "\n"
16264 " f (PLFLT_MATRIX, input) : A matrix containing data to be contoured.\n"
16265 "\n"
16266 " nx, ny (PLINT, input) : The dimensions of the matrix f.\n"
16267 "\n"
16268 " kx, lx (PLINT, input) : Range of x indices to consider where 0 <=\n"
16269 " kx-1 < lx-1 < nx. Values of kx and lx are one-based rather than\n"
16270 " zero-based for historical backwards-compatibility reasons.\n"
16271 "\n"
16272 " ky, ly (PLINT, input) : Range of y indices to consider where 0 <=\n"
16273 " ky-1 < ly-1 < ny. Values of ky and ly are one-based rather than\n"
16274 " zero-based for historical backwards-compatibility reasons.\n"
16275 "\n"
16276 " clevel (PLFLT_VECTOR, input) : A vector specifying the levels at\n"
16277 " which to draw contours.\n"
16278 "\n"
16279 " nlevel (PLINT, input) : Number of contour levels to draw.\n"
16280 "\n"
16281 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
16282 " defines the transformation between the zero-based indices of the\n"
16283 " matrix f and the world coordinates.For the C case, transformation\n"
16284 " functions are provided in the PLplot library: pltr0 for the\n"
16285 " identity mapping, and pltr1 and pltr2 for arbitrary mappings\n"
16286 " respectively defined by vectors and matrices. In addition, C\n"
16287 " callback routines for the transformation can be supplied by the\n"
16288 " user such as the mypltr function in examples/c/x09c.c which\n"
16289 " provides a general linear transformation between index coordinates\n"
16290 " and world coordinates.For languages other than C you should\n"
16291 " consult the PLplot documentation for the details concerning how\n"
16292 " PLTRANSFORM_callback arguments are interfaced. However, in\n"
16293 " general, a particular pattern of callback-associated arguments\n"
16294 " such as a tr vector with 6 elements; xg and yg vectors; or xg and\n"
16295 " yg matrices are respectively interfaced to a linear-transformation\n"
16296 " routine similar to the above mypltr function; pltr1; and pltr2.\n"
16297 " Furthermore, some of our more sophisticated bindings (see, e.g.,\n"
16298 " the PLplot documentation) support native language callbacks for\n"
16299 " handling index to world-coordinate transformations. Examples of\n"
16300 " these various approaches are given in examples/<language>x09*,\n"
16301 " examples/<language>x16*, examples/<language>x20*,\n"
16302 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
16303 " supported languages.\n"
16304 "\n"
16305 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
16306 " information to pltr0, pltr1, pltr2, or whatever callback routine\n"
16307 " that is externally supplied.\n"
16308 "\n"
16309 ""},
16310 { "plctime", _wrap_plctime, METH_VARARGS, "\n"
16311 "Calculate continuous time from broken-down time for the current stream\n"
16312 "\n"
16313 "DESCRIPTION:\n"
16314 "\n"
16315 " Calculate continuous time, ctime, from broken-down time for the\n"
16316 " current stream. The broken-down\n"
16317 " time is specified by the following parameters: year, month, day, hour,\n"
16318 " min, and sec. This function is the inverse of plbtime.\n"
16319 "\n"
16320 " The PLplot definition of broken-down time is a calendar time that\n"
16321 " completely ignores all time zone offsets, i.e., it is the user's\n"
16322 " responsibility to apply those offsets (if so desired) before using the\n"
16323 " PLplot time API. By default broken-down time is defined using the\n"
16324 " proleptic Gregorian calendar without the insertion of leap seconds and\n"
16325 " continuous time is defined as the number of seconds since the Unix\n"
16326 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n"
16327 " broken-down and continuous time are possible, see plconfigtime which\n"
16328 " specifies that transformation for the current stream.\n"
16329 "\n"
16330 " Redacted form: General: plctime(year, month, day, hour, min, sec,\n"
16331 " ctime)\n"
16332 "\n"
16333 "\n"
16334 " This function is used in example 29.\n"
16335 "\n"
16336 "\n"
16337 "\n"
16338 "SYNOPSIS:\n"
16339 "\n"
16340 "plctime(year, month, day, hour, min, sec, ctime)\n"
16341 "\n"
16342 "ARGUMENTS:\n"
16343 "\n"
16344 " year (PLINT, input) : Input year.\n"
16345 "\n"
16346 " month (PLINT, input) : Input month in range from 0 (January) to 11\n"
16347 " (December).\n"
16348 "\n"
16349 " day (PLINT, input) : Input day in range from 1 to 31.\n"
16350 "\n"
16351 " hour (PLINT, input) : Input hour in range from 0 to 23\n"
16352 "\n"
16353 " min (PLINT, input) : Input minute in range from 0 to 59.\n"
16354 "\n"
16355 " sec (PLFLT, input) : Input second in range from 0. to 60.\n"
16356 "\n"
16357 " ctime (PLFLT_NC_SCALAR, output) : Returned value of the continuous\n"
16358 " time calculated from the broken-down time specified by the\n"
16359 " previous parameters.\n"
16360 "\n"
16361 ""},
16362 { "plcpstrm", _wrap_plcpstrm, METH_VARARGS, "\n"
16363 "Copy state parameters from the reference stream to the current stream\n"
16364 "\n"
16365 "DESCRIPTION:\n"
16366 "\n"
16367 " Copies state parameters from the reference stream to the current\n"
16368 " stream. Tell driver interface to map device coordinates unless flags\n"
16369 " == 1.\n"
16370 "\n"
16371 " This function is used for making save files of selected plots (e.g.\n"
16372 " from the TK driver). After initializing, you can get a copy of the\n"
16373 " current plot to the specified device by switching to this stream and\n"
16374 " issuing a plcpstrm and a plreplot, with calls to plbop and pleop as\n"
16375 " appropriate. The plot buffer must have previously been enabled (done\n"
16376 " automatically by some display drivers, such as X).\n"
16377 "\n"
16378 " Redacted form: plcpstrm(iplsr, flags)\n"
16379 "\n"
16380 " This function is used in example 1,20.\n"
16381 "\n"
16382 "\n"
16383 "\n"
16384 "SYNOPSIS:\n"
16385 "\n"
16386 "plcpstrm(iplsr, flags)\n"
16387 "\n"
16388 "ARGUMENTS:\n"
16389 "\n"
16390 " iplsr (PLINT, input) : Number of reference stream.\n"
16391 "\n"
16392 " flags (PLBOOL, input) : If flags is set to true the device\n"
16393 " coordinates are not copied from the reference to current stream.\n"
16394 "\n"
16395 ""},
16396 { "plend", _wrap_plend, METH_NOARGS, "\n"
16397 "End plotting session\n"
16398 "\n"
16399 "DESCRIPTION:\n"
16400 "\n"
16401 " Ends a plotting session, tidies up all the output files, switches\n"
16402 " interactive devices back into text mode and frees up any memory that\n"
16403 " was allocated. Must be called before end of program.\n"
16404 "\n"
16405 " By default, PLplot's interactive devices (Xwin, TK, etc.) go into a\n"
16406 " wait state after a call to plend or other functions which trigger the\n"
16407 " end of a plot page. To avoid this, use the plspause function.\n"
16408 "\n"
16409 " Redacted form: plend()\n"
16410 "\n"
16411 " This function is used in all of the examples.\n"
16412 "\n"
16413 "\n"
16414 "\n"
16415 "SYNOPSIS:\n"
16416 "\n"
16417 "plend()\n"
16418 "\n"
16419 ""},
16420 { "plend1", _wrap_plend1, METH_NOARGS, "\n"
16421 "End plotting session for current stream\n"
16422 "\n"
16423 "DESCRIPTION:\n"
16424 "\n"
16425 " Ends a plotting session for the current output stream only. See\n"
16426 " plsstrm for more info.\n"
16427 "\n"
16428 " Redacted form: plend1()\n"
16429 "\n"
16430 " This function is used in examples 1 and 20.\n"
16431 "\n"
16432 "\n"
16433 "\n"
16434 "SYNOPSIS:\n"
16435 "\n"
16436 "plend1()\n"
16437 "\n"
16438 ""},
16439 { "plenv", _wrap_plenv, METH_VARARGS, "\n"
16440 "Set up standard window and draw box\n"
16441 "\n"
16442 "DESCRIPTION:\n"
16443 "\n"
16444 " Sets up plotter environment for simple graphs by calling pladv and\n"
16445 " setting up viewport and window to sensible default values. plenv\n"
16446 " leaves a standard margin (left-hand margin of eight character heights,\n"
16447 " and a margin around the other three sides of five character heights)\n"
16448 " around most graphs for axis labels and a title. When these defaults\n"
16449 " are not suitable, use the individual routines plvpas, plvpor, or\n"
16450 " plvasp for setting up the viewport, plwind for defining the window,\n"
16451 " and plbox for drawing the box.\n"
16452 "\n"
16453 " Redacted form: plenv(xmin, xmax, ymin, ymax, just, axis)\n"
16454 "\n"
16455 " This function is used in example 1,3,9,13,14,19-22,29.\n"
16456 "\n"
16457 "\n"
16458 "\n"
16459 "SYNOPSIS:\n"
16460 "\n"
16461 "plenv(xmin, xmax, ymin, ymax, just, axis)\n"
16462 "\n"
16463 "ARGUMENTS:\n"
16464 "\n"
16465 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n"
16466 " world coordinates).\n"
16467 "\n"
16468 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n"
16469 " world coordinates).\n"
16470 "\n"
16471 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n"
16472 " coordinates).\n"
16473 "\n"
16474 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n"
16475 " coordinates).\n"
16476 "\n"
16477 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n"
16478 " scales will not be set, the user must set up the scale before\n"
16479 " calling plenv using plsvpa, plvasp or other.\n"
16480 " 0: the x and y axes are scaled independently to use as much of\n"
16481 " the screen as possible.\n"
16482 " 1: the scales of the x and y axes are made equal.\n"
16483 " 2: the axis of the x and y axes are made equal, and the plot\n"
16484 " box will be square.\n"
16485 "\n"
16486 "\n"
16487 " axis (PLINT, input) : Controls drawing of the box around the plot:\n"
16488 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n"
16489 " -1: draw box only.\n"
16490 " 0: draw box, ticks, and numeric tick labels.\n"
16491 " 1: also draw coordinate axes at x=0 and y=0.\n"
16492 " 2: also draw a grid at major tick positions in both\n"
16493 " coordinates.\n"
16494 " 3: also draw a grid at minor tick positions in both\n"
16495 " coordinates.\n"
16496 " 10: same as 0 except logarithmic x tick marks. (The x data\n"
16497 " have to be converted to logarithms separately.)\n"
16498 " 11: same as 1 except logarithmic x tick marks. (The x data\n"
16499 " have to be converted to logarithms separately.)\n"
16500 " 12: same as 2 except logarithmic x tick marks. (The x data\n"
16501 " have to be converted to logarithms separately.)\n"
16502 " 13: same as 3 except logarithmic x tick marks. (The x data\n"
16503 " have to be converted to logarithms separately.)\n"
16504 " 20: same as 0 except logarithmic y tick marks. (The y data\n"
16505 " have to be converted to logarithms separately.)\n"
16506 " 21: same as 1 except logarithmic y tick marks. (The y data\n"
16507 " have to be converted to logarithms separately.)\n"
16508 " 22: same as 2 except logarithmic y tick marks. (The y data\n"
16509 " have to be converted to logarithms separately.)\n"
16510 " 23: same as 3 except logarithmic y tick marks. (The y data\n"
16511 " have to be converted to logarithms separately.)\n"
16512 " 30: same as 0 except logarithmic x and y tick marks. (The x\n"
16513 " and y data have to be converted to logarithms separately.)\n"
16514 " 31: same as 1 except logarithmic x and y tick marks. (The x\n"
16515 " and y data have to be converted to logarithms separately.)\n"
16516 " 32: same as 2 except logarithmic x and y tick marks. (The x\n"
16517 " and y data have to be converted to logarithms separately.)\n"
16518 " 33: same as 3 except logarithmic x and y tick marks. (The x\n"
16519 " and y data have to be converted to logarithms separately.)\n"
16520 " 40: same as 0 except date / time x labels.\n"
16521 " 41: same as 1 except date / time x labels.\n"
16522 " 42: same as 2 except date / time x labels.\n"
16523 " 43: same as 3 except date / time x labels.\n"
16524 " 50: same as 0 except date / time y labels.\n"
16525 " 51: same as 1 except date / time y labels.\n"
16526 " 52: same as 2 except date / time y labels.\n"
16527 " 53: same as 3 except date / time y labels.\n"
16528 " 60: same as 0 except date / time x and y labels.\n"
16529 " 61: same as 1 except date / time x and y labels.\n"
16530 " 62: same as 2 except date / time x and y labels.\n"
16531 " 63: same as 3 except date / time x and y labels.\n"
16532 " 70: same as 0 except custom x and y labels.\n"
16533 " 71: same as 1 except custom x and y labels.\n"
16534 " 72: same as 2 except custom x and y labels.\n"
16535 " 73: same as 3 except custom x and y labels.\n"
16536 "\n"
16537 ""},
16538 { "plenv0", _wrap_plenv0, METH_VARARGS, "\n"
16539 "Same as plenv but if in multiplot mode does not advance the subpage, instead clears it\n"
16540 "\n"
16541 "DESCRIPTION:\n"
16542 "\n"
16543 " Sets up plotter environment for simple graphs by calling pladv and\n"
16544 " setting up viewport and window to sensible default values. plenv0\n"
16545 " leaves a standard margin (left-hand margin of eight character heights,\n"
16546 " and a margin around the other three sides of five character heights)\n"
16547 " around most graphs for axis labels and a title. When these defaults\n"
16548 " are not suitable, use the individual routines plvpas, plvpor, or\n"
16549 " plvasp for setting up the viewport, plwind for defining the window,\n"
16550 " and plbox for drawing the box.\n"
16551 "\n"
16552 " Redacted form: plenv0(xmin, xmax, ymin, ymax, just, axis)\n"
16553 "\n"
16554 " This function is used in example 21.\n"
16555 "\n"
16556 "\n"
16557 "\n"
16558 "SYNOPSIS:\n"
16559 "\n"
16560 "plenv0(xmin, xmax, ymin, ymax, just, axis)\n"
16561 "\n"
16562 "ARGUMENTS:\n"
16563 "\n"
16564 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n"
16565 " world coordinates).\n"
16566 "\n"
16567 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n"
16568 " world coordinates).\n"
16569 "\n"
16570 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n"
16571 " coordinates).\n"
16572 "\n"
16573 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n"
16574 " coordinates).\n"
16575 "\n"
16576 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n"
16577 " scales will not be set, the user must set up the scale before\n"
16578 " calling plenv0 using plsvpa, plvasp or other.\n"
16579 " 0: the x and y axes are scaled independently to use as much of\n"
16580 " the screen as possible.\n"
16581 " 1: the scales of the x and y axes are made equal.\n"
16582 " 2: the axis of the x and y axes are made equal, and the plot\n"
16583 " box will be square.\n"
16584 "\n"
16585 "\n"
16586 " axis (PLINT, input) : Controls drawing of the box around the plot:\n"
16587 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n"
16588 " -1: draw box only.\n"
16589 " 0: draw box, ticks, and numeric tick labels.\n"
16590 " 1: also draw coordinate axes at x=0 and y=0.\n"
16591 " 2: also draw a grid at major tick positions in both\n"
16592 " coordinates.\n"
16593 " 3: also draw a grid at minor tick positions in both\n"
16594 " coordinates.\n"
16595 " 10: same as 0 except logarithmic x tick marks. (The x data\n"
16596 " have to be converted to logarithms separately.)\n"
16597 " 11: same as 1 except logarithmic x tick marks. (The x data\n"
16598 " have to be converted to logarithms separately.)\n"
16599 " 12: same as 2 except logarithmic x tick marks. (The x data\n"
16600 " have to be converted to logarithms separately.)\n"
16601 " 13: same as 3 except logarithmic x tick marks. (The x data\n"
16602 " have to be converted to logarithms separately.)\n"
16603 " 20: same as 0 except logarithmic y tick marks. (The y data\n"
16604 " have to be converted to logarithms separately.)\n"
16605 " 21: same as 1 except logarithmic y tick marks. (The y data\n"
16606 " have to be converted to logarithms separately.)\n"
16607 " 22: same as 2 except logarithmic y tick marks. (The y data\n"
16608 " have to be converted to logarithms separately.)\n"
16609 " 23: same as 3 except logarithmic y tick marks. (The y data\n"
16610 " have to be converted to logarithms separately.)\n"
16611 " 30: same as 0 except logarithmic x and y tick marks. (The x\n"
16612 " and y data have to be converted to logarithms separately.)\n"
16613 " 31: same as 1 except logarithmic x and y tick marks. (The x\n"
16614 " and y data have to be converted to logarithms separately.)\n"
16615 " 32: same as 2 except logarithmic x and y tick marks. (The x\n"
16616 " and y data have to be converted to logarithms separately.)\n"
16617 " 33: same as 3 except logarithmic x and y tick marks. (The x\n"
16618 " and y data have to be converted to logarithms separately.)\n"
16619 " 40: same as 0 except date / time x labels.\n"
16620 " 41: same as 1 except date / time x labels.\n"
16621 " 42: same as 2 except date / time x labels.\n"
16622 " 43: same as 3 except date / time x labels.\n"
16623 " 50: same as 0 except date / time y labels.\n"
16624 " 51: same as 1 except date / time y labels.\n"
16625 " 52: same as 2 except date / time y labels.\n"
16626 " 53: same as 3 except date / time y labels.\n"
16627 " 60: same as 0 except date / time x and y labels.\n"
16628 " 61: same as 1 except date / time x and y labels.\n"
16629 " 62: same as 2 except date / time x and y labels.\n"
16630 " 63: same as 3 except date / time x and y labels.\n"
16631 " 70: same as 0 except custom x and y labels.\n"
16632 " 71: same as 1 except custom x and y labels.\n"
16633 " 72: same as 2 except custom x and y labels.\n"
16634 " 73: same as 3 except custom x and y labels.\n"
16635 "\n"
16636 ""},
16637 { "pleop", _wrap_pleop, METH_NOARGS, "\n"
16638 "Eject current page\n"
16639 "\n"
16640 "DESCRIPTION:\n"
16641 "\n"
16642 " Clears the graphics screen of an interactive device, or ejects a page\n"
16643 " on a plotter. See plbop for more information.\n"
16644 "\n"
16645 " Redacted form: pleop()\n"
16646 "\n"
16647 " This function is used in example 2,14.\n"
16648 "\n"
16649 "\n"
16650 "\n"
16651 "SYNOPSIS:\n"
16652 "\n"
16653 "pleop()\n"
16654 "\n"
16655 ""},
16656 { "plerrx", _wrap_plerrx, METH_VARARGS, "\n"
16657 "Draw error bars in x direction\n"
16658 "\n"
16659 "DESCRIPTION:\n"
16660 "\n"
16661 " Draws a set of n error bars in x direction, the i'th error bar\n"
16662 " extending from xmin[i] to xmax[i] at y coordinate y[i]. The terminals\n"
16663 " of the error bars are of length equal to the minor tick length\n"
16664 " (settable using plsmin).\n"
16665 "\n"
16666 " Redacted form: General: plerrx(xmin, ymax, y)\n"
16667 "\n"
16668 "\n"
16669 " This function is used in example 29.\n"
16670 "\n"
16671 "\n"
16672 "\n"
16673 "SYNOPSIS:\n"
16674 "\n"
16675 "plerrx(n, xmin, xmax, y)\n"
16676 "\n"
16677 "ARGUMENTS:\n"
16678 "\n"
16679 " n (PLINT, input) : Number of error bars to draw.\n"
16680 "\n"
16681 " xmin (PLFLT_VECTOR, input) : A vector containing the x coordinates\n"
16682 " of the left-hand endpoints of the error bars.\n"
16683 "\n"
16684 " xmax (PLFLT_VECTOR, input) : A vector containing the x coordinates\n"
16685 " of the right-hand endpoints of the error bars.\n"
16686 "\n"
16687 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16688 " the error bars.\n"
16689 "\n"
16690 ""},
16691 { "plerry", _wrap_plerry, METH_VARARGS, "\n"
16692 "Draw error bars in the y direction\n"
16693 "\n"
16694 "DESCRIPTION:\n"
16695 "\n"
16696 " Draws a set of n error bars in the y direction, the i'th error bar\n"
16697 " extending from ymin[i] to ymax[i] at x coordinate x[i]. The terminals\n"
16698 " of the error bars are of length equal to the minor tick length\n"
16699 " (settable using plsmin).\n"
16700 "\n"
16701 " Redacted form: General: plerry(x, ymin, ymax)\n"
16702 "\n"
16703 "\n"
16704 " This function is used in example 29.\n"
16705 "\n"
16706 "\n"
16707 "\n"
16708 "SYNOPSIS:\n"
16709 "\n"
16710 "plerry(n, x, ymin, ymax)\n"
16711 "\n"
16712 "ARGUMENTS:\n"
16713 "\n"
16714 " n (PLINT, input) : Number of error bars to draw.\n"
16715 "\n"
16716 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16717 " the error bars.\n"
16718 "\n"
16719 " ymin (PLFLT_VECTOR, input) : A vector containing the y coordinates\n"
16720 " of the lower endpoints of the error bars.\n"
16721 "\n"
16722 " ymax (PLFLT_VECTOR, input) : A vector containing the y coordinates\n"
16723 " of the upper endpoints of the error bars.\n"
16724 "\n"
16725 ""},
16726 { "plfamadv", _wrap_plfamadv, METH_NOARGS, "\n"
16727 "Advance to the next family file on the next new page\n"
16728 "\n"
16729 "DESCRIPTION:\n"
16730 "\n"
16731 " Advance to the next family file on the next new page.\n"
16732 "\n"
16733 " Redacted form: plfamadv()\n"
16734 "\n"
16735 " This function is not used in any examples.\n"
16736 "\n"
16737 "\n"
16738 "\n"
16739 "SYNOPSIS:\n"
16740 "\n"
16741 "plfamadv()\n"
16742 "\n"
16743 ""},
16744 { "plfill", _wrap_plfill, METH_VARARGS, "\n"
16745 "Draw filled polygon\n"
16746 "\n"
16747 "DESCRIPTION:\n"
16748 "\n"
16749 " Fills the polygon defined by the n points (\n"
16750 " x[i],\n"
16751 " y[i]) using the pattern defined by plpsty or plpat. The default fill\n"
16752 " style is a solid fill. The routine will automatically close the\n"
16753 " polygon between the last and first vertices. If multiple closed\n"
16754 " polygons are passed in x and y then plfill will fill in between them.\n"
16755 "\n"
16756 " Redacted form: plfill(x,y)\n"
16757 "\n"
16758 " This function is used in examples 12, 13, 15, 16, 21, 24, and 25.\n"
16759 "\n"
16760 "\n"
16761 "\n"
16762 "SYNOPSIS:\n"
16763 "\n"
16764 "plfill(n, x, y)\n"
16765 "\n"
16766 "ARGUMENTS:\n"
16767 "\n"
16768 " n (PLINT, input) : Number of vertices in polygon.\n"
16769 "\n"
16770 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16771 " vertices.\n"
16772 "\n"
16773 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16774 " vertices.\n"
16775 "\n"
16776 ""},
16777 { "plfill3", _wrap_plfill3, METH_VARARGS, "\n"
16778 "Draw filled polygon in 3D\n"
16779 "\n"
16780 "DESCRIPTION:\n"
16781 "\n"
16782 " Fills the 3D polygon defined by the n points in the x, y, and z\n"
16783 " vectors using the pattern defined by plpsty or plpat. The routine\n"
16784 " will automatically close the polygon between the last and first\n"
16785 " vertices. If multiple closed polygons are passed in x, y, and z then\n"
16786 " plfill3 will fill in between them.\n"
16787 "\n"
16788 " Redacted form: General: plfill3(x, y, z)\n"
16789 "\n"
16790 "\n"
16791 " This function is used in example 15.\n"
16792 "\n"
16793 "\n"
16794 "\n"
16795 "SYNOPSIS:\n"
16796 "\n"
16797 "plfill3(n, x, y, z)\n"
16798 "\n"
16799 "ARGUMENTS:\n"
16800 "\n"
16801 " n (PLINT, input) : Number of vertices in polygon.\n"
16802 "\n"
16803 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16804 " vertices.\n"
16805 "\n"
16806 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16807 " vertices.\n"
16808 "\n"
16809 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
16810 " vertices.\n"
16811 "\n"
16812 ""},
16813 { "plgradient", _wrap_plgradient, METH_VARARGS, "\n"
16814 "Draw linear gradient inside polygon\n"
16815 "\n"
16816 "DESCRIPTION:\n"
16817 "\n"
16818 " Draw a linear gradient using cmap1 inside the polygon defined by the n\n"
16819 " points (\n"
16820 " x[i],\n"
16821 " y[i]). Interpretation of the polygon is the same as for plfill. The\n"
16822 " polygon coordinates and the gradient angle are all expressed in world\n"
16823 " coordinates. The angle from the x axis for both the rotated\n"
16824 " coordinate system and the gradient vector is specified by angle. The\n"
16825 " magnitude of the gradient vector is the difference between the maximum\n"
16826 " and minimum values of x for the vertices in the rotated coordinate\n"
16827 " system. The origin of the gradient vector can be interpreted as being\n"
16828 " anywhere on the line corresponding to the minimum x value for the\n"
16829 " vertices in the rotated coordinate system. The distance along the\n"
16830 " gradient vector is linearly transformed to the independent variable of\n"
16831 " color map 1 which ranges from 0. at the tail of the gradient vector to\n"
16832 " 1. at the head of the gradient vector. What is drawn is the RGBA\n"
16833 " color corresponding to the independent variable of cmap1. For more\n"
16834 " information about cmap1 (see the PLplot documentation).\n"
16835 "\n"
16836 " Redacted form: plgradient(x,y,angle)\n"
16837 "\n"
16838 " This function is used in examples 25 and 30.\n"
16839 "\n"
16840 "\n"
16841 "\n"
16842 "SYNOPSIS:\n"
16843 "\n"
16844 "plgradient(n, x, y, angle)\n"
16845 "\n"
16846 "ARGUMENTS:\n"
16847 "\n"
16848 " n (PLINT, input) : Number of vertices in polygon.\n"
16849 "\n"
16850 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16851 " vertices.\n"
16852 "\n"
16853 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16854 " vertices.\n"
16855 "\n"
16856 " angle (PLFLT, input) : Angle (degrees) of gradient vector from x\n"
16857 " axis.\n"
16858 "\n"
16859 ""},
16860 { "plflush", _wrap_plflush, METH_NOARGS, "\n"
16861 "Flushes the output stream\n"
16862 "\n"
16863 "DESCRIPTION:\n"
16864 "\n"
16865 " Flushes the output stream. Use sparingly, if at all.\n"
16866 "\n"
16867 " Redacted form: plflush()\n"
16868 "\n"
16869 " This function is used in examples 1 and 14.\n"
16870 "\n"
16871 "\n"
16872 "\n"
16873 "SYNOPSIS:\n"
16874 "\n"
16875 "plflush()\n"
16876 "\n"
16877 ""},
16878 { "plfont", _wrap_plfont, METH_O, "\n"
16879 "Set font\n"
16880 "\n"
16881 "DESCRIPTION:\n"
16882 "\n"
16883 " Sets the font used for subsequent text and symbols. For devices that\n"
16884 " still use Hershey fonts this routine has no effect unless the Hershey\n"
16885 " fonts with extended character set are loaded (see plfontld). For\n"
16886 " unicode-aware devices that use system fonts instead of Hershey fonts,\n"
16887 " this routine calls the plsfci routine with argument set up\n"
16888 " appropriately for the various cases below. However, this method of\n"
16889 " specifying the font for unicode-aware devices is deprecated, and the\n"
16890 " much more flexible method of calling plsfont directly is recommended\n"
16891 " instead (where plsfont provides a user-friendly interface to plsfci),\n"
16892 "\n"
16893 " Redacted form: plfont(ifont)\n"
16894 "\n"
16895 " This function is used in examples 1, 2, 4, 7, 13, 24, and 26.\n"
16896 "\n"
16897 "\n"
16898 "\n"
16899 "SYNOPSIS:\n"
16900 "\n"
16901 "plfont(ifont)\n"
16902 "\n"
16903 "ARGUMENTS:\n"
16904 "\n"
16905 " ifont (PLINT, input) : Specifies the font: 1: Sans serif font\n"
16906 " (simplest and fastest)\n"
16907 " 2: Serif font\n"
16908 " 3: Italic font\n"
16909 " 4: Script font\n"
16910 "\n"
16911 ""},
16912 { "plfontld", _wrap_plfontld, METH_O, "\n"
16913 "Load Hershey fonts\n"
16914 "\n"
16915 "DESCRIPTION:\n"
16916 "\n"
16917 " Loads the Hershey fonts used for text and symbols. This routine may\n"
16918 " be called before or after initializing PLplot. If not explicitly\n"
16919 " called before PLplot initialization, then by default that\n"
16920 " initialization loads Hershey fonts with the extended character set.\n"
16921 " This routine only has a practical effect for devices that still use\n"
16922 " Hershey fonts (as opposed to modern devices that use unicode-aware\n"
16923 " system fonts instead of Hershey fonts).\n"
16924 "\n"
16925 " Redacted form: plfontld(fnt)\n"
16926 "\n"
16927 " This function is used in examples 1 and 7.\n"
16928 "\n"
16929 "\n"
16930 "\n"
16931 "SYNOPSIS:\n"
16932 "\n"
16933 "plfontld(fnt)\n"
16934 "\n"
16935 "ARGUMENTS:\n"
16936 "\n"
16937 " fnt (PLINT, input) : Specifies the type of Hershey fonts to load.\n"
16938 " A zero value specifies Hershey fonts with the standard character\n"
16939 " set and a non-zero value (the default assumed if plfontld is never\n"
16940 " called) specifies Hershey fonts with the extended character set.\n"
16941 "\n"
16942 ""},
16943 { "plgchr", _wrap_plgchr, METH_NOARGS, "\n"
16944 "Get character default height and current (scaled) height\n"
16945 "\n"
16946 "DESCRIPTION:\n"
16947 "\n"
16948 " Get character default height and current (scaled) height.\n"
16949 "\n"
16950 " Redacted form: plgchr(p_def, p_ht)\n"
16951 "\n"
16952 " This function is used in example 23.\n"
16953 "\n"
16954 "\n"
16955 "\n"
16956 "SYNOPSIS:\n"
16957 "\n"
16958 "plgchr(p_def, p_ht)\n"
16959 "\n"
16960 "ARGUMENTS:\n"
16961 "\n"
16962 " p_def (PLFLT_NC_SCALAR, output) : Returned value of the default\n"
16963 " character height (mm).\n"
16964 "\n"
16965 " p_ht (PLFLT_NC_SCALAR, output) : Returned value of the scaled\n"
16966 " character height (mm).\n"
16967 "\n"
16968 ""},
16969 { "plgcol0", _wrap_plgcol0, METH_O, "\n"
16970 "Returns 8-bit RGB values for given color index from cmap0\n"
16971 "\n"
16972 "DESCRIPTION:\n"
16973 "\n"
16974 " Returns 8-bit RGB values (0-255) for given color from cmap0 (see the\n"
16975 " PLplot documentation). Values are negative if an invalid color id is\n"
16976 " given.\n"
16977 "\n"
16978 " Redacted form: plgcol0(icol0, r, g, b)\n"
16979 "\n"
16980 " This function is used in example 2.\n"
16981 "\n"
16982 "\n"
16983 "\n"
16984 "SYNOPSIS:\n"
16985 "\n"
16986 "plgcol0(icol0, r, g, b)\n"
16987 "\n"
16988 "ARGUMENTS:\n"
16989 "\n"
16990 " icol0 (PLINT, input) : Index of desired cmap0 color.\n"
16991 "\n"
16992 " r (PLINT_NC_SCALAR, output) : Returned value of the 8-bit red\n"
16993 " value.\n"
16994 "\n"
16995 " g (PLINT_NC_SCALAR, output) : Returned value of the 8-bit green\n"
16996 " value.\n"
16997 "\n"
16998 " b (PLINT_NC_SCALAR, output) : Returned value of the 8-bit blue\n"
16999 " value.\n"
17000 "\n"
17001 ""},
17002 { "plgcol0a", _wrap_plgcol0a, METH_O, "\n"
17003 "Returns 8-bit RGB values and PLFLT alpha transparency value for given color index from cmap0\n"
17004 "\n"
17005 "DESCRIPTION:\n"
17006 "\n"
17007 " Returns 8-bit RGB values (0-255) and PLFLT alpha transparency value\n"
17008 " (0.0-1.0) for given color from cmap0 (see the PLplot documentation).\n"
17009 " Values are negative if an invalid color id is given.\n"
17010 "\n"
17011 " Redacted form: plgcola(r, g, b)\n"
17012 "\n"
17013 " This function is used in example 30.\n"
17014 "\n"
17015 "\n"
17016 "\n"
17017 "SYNOPSIS:\n"
17018 "\n"
17019 "plgcol0a(icol0, r, g, b, alpha)\n"
17020 "\n"
17021 "ARGUMENTS:\n"
17022 "\n"
17023 " icol0 (PLINT, input) : Index of desired cmap0 color.\n"
17024 "\n"
17025 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
17026 " in the range from 0 to 255.\n"
17027 "\n"
17028 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
17029 " in the range from 0 to 255.\n"
17030 "\n"
17031 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
17032 " in the range from 0 to 255.\n"
17033 "\n"
17034 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n"
17035 " transparency in the range from (0.0-1.0).\n"
17036 "\n"
17037 ""},
17038 { "plgcolbg", _wrap_plgcolbg, METH_NOARGS, "\n"
17039 "Returns the background color (cmap0[0]) by 8-bit RGB value\n"
17040 "\n"
17041 "DESCRIPTION:\n"
17042 "\n"
17043 " Returns the background color (cmap0[0]) by 8-bit RGB value.\n"
17044 "\n"
17045 " Redacted form: plgcolbg(r, g, b)\n"
17046 "\n"
17047 " This function is used in example 31.\n"
17048 "\n"
17049 "\n"
17050 "\n"
17051 "SYNOPSIS:\n"
17052 "\n"
17053 "plgcolbg(r, g, b)\n"
17054 "\n"
17055 "ARGUMENTS:\n"
17056 "\n"
17057 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
17058 " in the range from 0 to 255.\n"
17059 "\n"
17060 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
17061 " in the range from 0 to 255.\n"
17062 "\n"
17063 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
17064 " in the range from 0 to 255.\n"
17065 "\n"
17066 ""},
17067 { "plgcolbga", _wrap_plgcolbga, METH_NOARGS, "\n"
17068 "Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT alpha transparency value\n"
17069 "\n"
17070 "DESCRIPTION:\n"
17071 "\n"
17072 " Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT\n"
17073 " alpha transparency value.\n"
17074 "\n"
17075 " This function is used in example 31.\n"
17076 "\n"
17077 "\n"
17078 "\n"
17079 "SYNOPSIS:\n"
17080 "\n"
17081 "plgcolbga(r, g, b, alpha)\n"
17082 "\n"
17083 "ARGUMENTS:\n"
17084 "\n"
17085 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
17086 " in the range from 0 to 255.\n"
17087 "\n"
17088 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
17089 " in the range from 0 to 255.\n"
17090 "\n"
17091 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
17092 " in the range from 0 to 255.\n"
17093 "\n"
17094 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n"
17095 " transparency in the range (0.0-1.0).\n"
17096 "\n"
17097 ""},
17098 { "plgcompression", _wrap_plgcompression, METH_NOARGS, "\n"
17099 "Get the current device-compression setting\n"
17100 "\n"
17101 "DESCRIPTION:\n"
17102 "\n"
17103 " Get the current device-compression setting. This parameter is only\n"
17104 " used for drivers that provide compression.\n"
17105 "\n"
17106 " Redacted form: plgcompression(compression)\n"
17107 "\n"
17108 " This function is used in example 31.\n"
17109 "\n"
17110 "\n"
17111 "\n"
17112 "SYNOPSIS:\n"
17113 "\n"
17114 "plgcompression(compression)\n"
17115 "\n"
17116 "ARGUMENTS:\n"
17117 "\n"
17118 " compression (PLINT_NC_SCALAR, output) : Returned value of the\n"
17119 " compression setting for the current device.\n"
17120 "\n"
17121 ""},
17122 { "plgdev", _wrap_plgdev, METH_NOARGS, "\n"
17123 "Get the current device (keyword) name\n"
17124 "\n"
17125 "DESCRIPTION:\n"
17126 "\n"
17127 " Get the current device (keyword) name. Note: you must have allocated\n"
17128 " space for this (80 characters is safe).\n"
17129 "\n"
17130 " Redacted form: plgdev(p_dev)\n"
17131 "\n"
17132 " This function is used in example 14.\n"
17133 "\n"
17134 "\n"
17135 "\n"
17136 "SYNOPSIS:\n"
17137 "\n"
17138 "plgdev(p_dev)\n"
17139 "\n"
17140 "ARGUMENTS:\n"
17141 "\n"
17142 " p_dev (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
17143 " (with preallocated length of 80 characters or more) containing the\n"
17144 " device (keyword) name.\n"
17145 "\n"
17146 ""},
17147 { "plgdidev", _wrap_plgdidev, METH_NOARGS, "\n"
17148 "Get parameters that define current device-space window\n"
17149 "\n"
17150 "DESCRIPTION:\n"
17151 "\n"
17152 " Get relative margin width, aspect ratio, and relative justification\n"
17153 " that define current device-space window. If plsdidev has not been\n"
17154 " called the default values pointed to by p_mar, p_aspect, p_jx, and\n"
17155 " p_jy will all be 0.\n"
17156 "\n"
17157 " Redacted form: plgdidev(p_mar, p_aspect, p_jx, p_jy)\n"
17158 "\n"
17159 " This function is used in example 31.\n"
17160 "\n"
17161 "\n"
17162 "\n"
17163 "SYNOPSIS:\n"
17164 "\n"
17165 "plgdidev(p_mar, p_aspect, p_jx, p_jy)\n"
17166 "\n"
17167 "ARGUMENTS:\n"
17168 "\n"
17169 " p_mar (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17170 " margin width.\n"
17171 "\n"
17172 " p_aspect (PLFLT_NC_SCALAR, output) : Returned value of the aspect\n"
17173 " ratio.\n"
17174 "\n"
17175 " p_jx (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17176 " justification in x.\n"
17177 "\n"
17178 " p_jy (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17179 " justification in y.\n"
17180 "\n"
17181 ""},
17182 { "plgdiori", _wrap_plgdiori, METH_NOARGS, "\n"
17183 "Get plot orientation\n"
17184 "\n"
17185 "DESCRIPTION:\n"
17186 "\n"
17187 " Get plot orientation parameter which is multiplied by 90 degrees to\n"
17188 " obtain the angle of rotation. Note, arbitrary rotation parameters\n"
17189 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n"
17190 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n"
17191 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n"
17192 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori has\n"
17193 " not been called the default value pointed to by p_rot will be 0.\n"
17194 "\n"
17195 " Redacted form: plgdiori(p_rot)\n"
17196 "\n"
17197 " This function is not used in any examples.\n"
17198 "\n"
17199 "\n"
17200 "\n"
17201 "SYNOPSIS:\n"
17202 "\n"
17203 "plgdiori(p_rot)\n"
17204 "\n"
17205 "ARGUMENTS:\n"
17206 "\n"
17207 " p_rot (PLFLT_NC_SCALAR, output) : Returned value of the orientation\n"
17208 " parameter.\n"
17209 "\n"
17210 ""},
17211 { "plgdiplt", _wrap_plgdiplt, METH_NOARGS, "\n"
17212 "Get parameters that define current plot-space window\n"
17213 "\n"
17214 "DESCRIPTION:\n"
17215 "\n"
17216 " Get relative minima and maxima that define current plot-space window.\n"
17217 " If plsdiplt has not been called the default values pointed to by\n"
17218 " p_xmin, p_ymin, p_xmax, and p_ymax will be 0., 0., 1., and 1.\n"
17219 "\n"
17220 " Redacted form: plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n"
17221 "\n"
17222 " This function is used in example 31.\n"
17223 "\n"
17224 "\n"
17225 "\n"
17226 "SYNOPSIS:\n"
17227 "\n"
17228 "plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n"
17229 "\n"
17230 "ARGUMENTS:\n"
17231 "\n"
17232 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17233 " minimum in x.\n"
17234 "\n"
17235 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17236 " minimum in y.\n"
17237 "\n"
17238 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17239 " maximum in x.\n"
17240 "\n"
17241 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17242 " maximum in y.\n"
17243 "\n"
17244 ""},
17245 { "plgfam", _wrap_plgfam, METH_NOARGS, "\n"
17246 "Get family file parameters\n"
17247 "\n"
17248 "DESCRIPTION:\n"
17249 "\n"
17250 " Gets information about current family file, if familying is enabled.\n"
17251 " See the PLplot documentation for more information.\n"
17252 "\n"
17253 " Redacted form: plgfam(p_fam, p_num, p_bmax)\n"
17254 "\n"
17255 " This function is used in examples 14 and 31.\n"
17256 "\n"
17257 "\n"
17258 "\n"
17259 "SYNOPSIS:\n"
17260 "\n"
17261 "plgfam(p_fam, p_num, p_bmax)\n"
17262 "\n"
17263 "ARGUMENTS:\n"
17264 "\n"
17265 " p_fam (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17266 " family flag value. If nonzero, familying is enabled for the\n"
17267 " current device.\n"
17268 "\n"
17269 " p_num (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17270 " family file number.\n"
17271 "\n"
17272 " p_bmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17273 " file size (in bytes) for a family file.\n"
17274 "\n"
17275 ""},
17276 { "plgfci", _wrap_plgfci, METH_NOARGS, "\n"
17277 "Get FCI (font characterization integer)\n"
17278 "\n"
17279 "DESCRIPTION:\n"
17280 "\n"
17281 " Gets information about the current font using the FCI approach. See\n"
17282 " the PLplot documentation for more information.\n"
17283 "\n"
17284 " Redacted form: plgfci(p_fci)\n"
17285 "\n"
17286 " This function is used in example 23.\n"
17287 "\n"
17288 "\n"
17289 "\n"
17290 "SYNOPSIS:\n"
17291 "\n"
17292 "plgfci(p_fci)\n"
17293 "\n"
17294 "ARGUMENTS:\n"
17295 "\n"
17296 " p_fci (PLUNICODE_NC_SCALAR, output) : Returned value of the current\n"
17297 " FCI value.\n"
17298 "\n"
17299 ""},
17300 { "plgfnam", _wrap_plgfnam, METH_NOARGS, "\n"
17301 "Get output file name\n"
17302 "\n"
17303 "DESCRIPTION:\n"
17304 "\n"
17305 " Gets the current output file name, if applicable.\n"
17306 "\n"
17307 " Redacted form: plgfnam(fnam)\n"
17308 "\n"
17309 " This function is used in example 31.\n"
17310 "\n"
17311 "\n"
17312 "\n"
17313 "SYNOPSIS:\n"
17314 "\n"
17315 "plgfnam(fnam)\n"
17316 "\n"
17317 "ARGUMENTS:\n"
17318 "\n"
17319 " fnam (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
17320 " (with preallocated length of 80 characters or more) containing the\n"
17321 " file name.\n"
17322 "\n"
17323 ""},
17324 { "plgfont", _wrap_plgfont, METH_NOARGS, "\n"
17325 "Get family, style and weight of the current font\n"
17326 "\n"
17327 "DESCRIPTION:\n"
17328 "\n"
17329 " Gets information about current font. See the PLplot documentation for\n"
17330 " more information on font selection.\n"
17331 "\n"
17332 " Redacted form: plgfont(p_family, p_style, p_weight)\n"
17333 "\n"
17334 " This function is used in example 23.\n"
17335 "\n"
17336 "\n"
17337 "\n"
17338 "SYNOPSIS:\n"
17339 "\n"
17340 "plgfont(p_family, p_style, p_weight)\n"
17341 "\n"
17342 "ARGUMENTS:\n"
17343 "\n"
17344 " p_family (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17345 " font family. The available values are given by the PL_FCI_*\n"
17346 " constants in plplot.h. Current options are PL_FCI_SANS,\n"
17347 " PL_FCI_SERIF, PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. If\n"
17348 " p_family is NULL then the font family is not returned.\n"
17349 "\n"
17350 " p_style (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17351 " font style. The available values are given by the PL_FCI_*\n"
17352 " constants in plplot.h. Current options are PL_FCI_UPRIGHT,\n"
17353 " PL_FCI_ITALIC and PL_FCI_OBLIQUE. If p_style is NULL then the font\n"
17354 " style is not returned.\n"
17355 "\n"
17356 " p_weight (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17357 " font weight. The available values are given by the PL_FCI_*\n"
17358 " constants in plplot.h. Current options are PL_FCI_MEDIUM and\n"
17359 " PL_FCI_BOLD. If p_weight is NULL then the font weight is not\n"
17360 " returned.\n"
17361 "\n"
17362 ""},
17363 { "plglevel", _wrap_plglevel, METH_NOARGS, "\n"
17364 "Get the (current) run level\n"
17365 "\n"
17366 "DESCRIPTION:\n"
17367 "\n"
17368 " Get the (current) run level. Valid settings are: 0, uninitialized\n"
17369 " 1, initialized\n"
17370 " 2, viewport defined\n"
17371 " 3, world coordinates defined\n"
17372 "\n"
17373 "\n"
17374 " Redacted form: plglevel(p_level)\n"
17375 "\n"
17376 " This function is used in example 31.\n"
17377 "\n"
17378 "\n"
17379 "\n"
17380 "SYNOPSIS:\n"
17381 "\n"
17382 "plglevel(p_level)\n"
17383 "\n"
17384 "ARGUMENTS:\n"
17385 "\n"
17386 " p_level (PLINT_NC_SCALAR, output) : Returned value of the run\n"
17387 " level.\n"
17388 "\n"
17389 ""},
17390 { "plgpage", _wrap_plgpage, METH_NOARGS, "\n"
17391 "Get page parameters\n"
17392 "\n"
17393 "DESCRIPTION:\n"
17394 "\n"
17395 " Gets the current page configuration. The length and offset values are\n"
17396 " expressed in units that are specific to the current driver. For\n"
17397 " instance: screen drivers will usually interpret them as number of\n"
17398 " pixels, whereas printer drivers will usually use mm.\n"
17399 "\n"
17400 " Redacted form: plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n"
17401 "\n"
17402 " This function is used in examples 14 and 31.\n"
17403 "\n"
17404 "\n"
17405 "\n"
17406 "SYNOPSIS:\n"
17407 "\n"
17408 "plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n"
17409 "\n"
17410 "ARGUMENTS:\n"
17411 "\n"
17412 " p_xp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n"
17413 " pixels/inch (DPI) in x.\n"
17414 "\n"
17415 " p_yp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n"
17416 " pixels/inch (DPI) in y.\n"
17417 "\n"
17418 " p_xleng (PLINT_NC_SCALAR, output) : Returned value of the x page\n"
17419 " length.\n"
17420 "\n"
17421 " p_yleng (PLINT_NC_SCALAR, output) : Returned value of the y page\n"
17422 " length.\n"
17423 "\n"
17424 " p_xoff (PLINT_NC_SCALAR, output) : Returned value of the x page\n"
17425 " offset.\n"
17426 "\n"
17427 " p_yoff (PLINT_NC_SCALAR, output) : Returned value of the y page\n"
17428 " offset.\n"
17429 "\n"
17430 ""},
17431 { "plgra", _wrap_plgra, METH_NOARGS, "\n"
17432 "Switch to graphics screen\n"
17433 "\n"
17434 "DESCRIPTION:\n"
17435 "\n"
17436 " Sets an interactive device to graphics mode, used in conjunction with\n"
17437 " pltext to allow graphics and text to be interspersed. On a device\n"
17438 " which supports separate text and graphics windows, this command causes\n"
17439 " control to be switched to the graphics window. If already in graphics\n"
17440 " mode, this command is ignored. It is also ignored on devices which\n"
17441 " only support a single window or use a different method for shifting\n"
17442 " focus. See also pltext.\n"
17443 "\n"
17444 " Redacted form: plgra()\n"
17445 "\n"
17446 " This function is used in example 1.\n"
17447 "\n"
17448 "\n"
17449 "\n"
17450 "SYNOPSIS:\n"
17451 "\n"
17452 "plgra()\n"
17453 "\n"
17454 ""},
17455 { "plgriddata", _wrap_plgriddata, METH_VARARGS, "\n"
17456 "Grid data from irregularly sampled data\n"
17457 "\n"
17458 "DESCRIPTION:\n"
17459 "\n"
17460 " Real world data is frequently irregularly sampled, but PLplot 3D plots\n"
17461 " require data organized as a grid, i.e., with x sample point values\n"
17462 " independent of y coordinate and vice versa. This function takes\n"
17463 " irregularly sampled data from the x[npts], y[npts], and z[npts]\n"
17464 " vectors; reads the desired grid location from the input vectors\n"
17465 " xg[nptsx] and yg[nptsy]; and returns the interpolated result on that\n"
17466 " grid using the output matrix zg[nptsx][nptsy]. The algorithm used to\n"
17467 " interpolate the data to the grid is specified with the argument type\n"
17468 " which can have one parameter specified in argument data.\n"
17469 "\n"
17470 " Redacted form: General: plgriddata(x, y, z, xg, yg, zg, type, data)\n"
17471 " Python: zg=plgriddata(x, y, z, xg, yg, type, data)\n"
17472 "\n"
17473 "\n"
17474 " This function is used in example 21.\n"
17475 "\n"
17476 "\n"
17477 "\n"
17478 "SYNOPSIS:\n"
17479 "\n"
17480 "plgriddata(x, y, z, npts, xg, nptsx, yg, nptsy, zg, type, data)\n"
17481 "\n"
17482 "ARGUMENTS:\n"
17483 "\n"
17484 " x (PLFLT_VECTOR, input) : The input x vector.\n"
17485 "\n"
17486 " y (PLFLT_VECTOR, input) : The input y vector.\n"
17487 "\n"
17488 " z (PLFLT_VECTOR, input) : The input z vector. Each triple x[i],\n"
17489 " y[i], z[i] represents one data sample coordinate.\n"
17490 "\n"
17491 " npts (PLINT, input) : The number of data samples in the x, y and z\n"
17492 " vectors.\n"
17493 "\n"
17494 " xg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n"
17495 " in the x direction. Usually xg has nptsx equally spaced values\n"
17496 " from the minimum to the maximum values of the x input vector.\n"
17497 "\n"
17498 " nptsx (PLINT, input) : The number of points in the xg vector.\n"
17499 "\n"
17500 " yg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n"
17501 " in the y direction. Similar to the xg parameter.\n"
17502 "\n"
17503 " nptsy (PLINT, input) : The number of points in the yg vector.\n"
17504 "\n"
17505 " zg (PLFLT_NC_MATRIX, output) : The matrix of interpolated results\n"
17506 " where data lies in the grid specified by xg and yg. Therefore the\n"
17507 " zg matrix must be dimensioned\n"
17508 " nptsx by\n"
17509 " nptsy.\n"
17510 "\n"
17511 " type (PLINT, input) : The type of grid interpolation algorithm to\n"
17512 " use, which can be: GRID_CSA: Bivariate Cubic Spline approximation\n"
17513 " GRID_DTLI: Delaunay Triangulation Linear Interpolation\n"
17514 " GRID_NNI: Natural Neighbors Interpolation\n"
17515 " GRID_NNIDW: Nearest Neighbors Inverse Distance Weighted\n"
17516 " GRID_NNLI: Nearest Neighbors Linear Interpolation\n"
17517 " GRID_NNAIDW: Nearest Neighbors Around Inverse Distance\n"
17518 " Weighted\n"
17519 " For details of the algorithms read the source file plgridd.c.\n"
17520 "\n"
17521 " data (PLFLT, input) : Some gridding algorithms require extra data,\n"
17522 " which can be specified through this argument. Currently, for\n"
17523 " algorithm: GRID_NNIDW, data specifies the number of neighbors to\n"
17524 " use, the lower the value, the noisier (more local) the\n"
17525 " approximation is.\n"
17526 " GRID_NNLI, data specifies what a thin triangle is, in the\n"
17527 " range [1. .. 2.]. High values enable the usage of very thin\n"
17528 " triangles for interpolation, possibly resulting in error in\n"
17529 " the approximation.\n"
17530 " GRID_NNI, only weights greater than data will be accepted. If\n"
17531 " 0, all weights will be accepted.\n"
17532 "\n"
17533 ""},
17534 { "plgspa", _wrap_plgspa, METH_NOARGS, "\n"
17535 "Get current subpage parameters\n"
17536 "\n"
17537 "DESCRIPTION:\n"
17538 "\n"
17539 " Gets the size of the current subpage in millimeters measured from the\n"
17540 " bottom left hand corner of the output device page or screen. Can be\n"
17541 " used in conjunction with plsvpa for setting the size of a viewport in\n"
17542 " absolute coordinates (millimeters).\n"
17543 "\n"
17544 " Redacted form: plgspa(xmin, xmax, ymin, ymax)\n"
17545 "\n"
17546 " This function is used in example 23.\n"
17547 "\n"
17548 "\n"
17549 "\n"
17550 "SYNOPSIS:\n"
17551 "\n"
17552 "plgspa(xmin, xmax, ymin, ymax)\n"
17553 "\n"
17554 "ARGUMENTS:\n"
17555 "\n"
17556 " xmin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17557 " the left hand edge of the subpage in millimeters.\n"
17558 "\n"
17559 " xmax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17560 " the right hand edge of the subpage in millimeters.\n"
17561 "\n"
17562 " ymin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17563 " the bottom edge of the subpage in millimeters.\n"
17564 "\n"
17565 " ymax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17566 " the top edge of the subpage in millimeters.\n"
17567 "\n"
17568 ""},
17569 { "plgstrm", _wrap_plgstrm, METH_NOARGS, "\n"
17570 "Get current stream number\n"
17571 "\n"
17572 "DESCRIPTION:\n"
17573 "\n"
17574 " Gets the number of the current output stream. See also plsstrm.\n"
17575 "\n"
17576 " Redacted form: plgstrm(p_strm)\n"
17577 "\n"
17578 " This function is used in example 1,20.\n"
17579 "\n"
17580 "\n"
17581 "\n"
17582 "SYNOPSIS:\n"
17583 "\n"
17584 "plgstrm(p_strm)\n"
17585 "\n"
17586 "ARGUMENTS:\n"
17587 "\n"
17588 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17589 " stream value.\n"
17590 "\n"
17591 ""},
17592 { "plgver", _wrap_plgver, METH_NOARGS, "\n"
17593 "Get the current library version number\n"
17594 "\n"
17595 "DESCRIPTION:\n"
17596 "\n"
17597 " Get the current library version number. Note: you must have allocated\n"
17598 " space for this (80 characters is safe).\n"
17599 "\n"
17600 " Redacted form: plgver(p_ver)\n"
17601 "\n"
17602 " This function is used in example 1.\n"
17603 "\n"
17604 "\n"
17605 "\n"
17606 "SYNOPSIS:\n"
17607 "\n"
17608 "plgver(p_ver)\n"
17609 "\n"
17610 "ARGUMENTS:\n"
17611 "\n"
17612 " p_ver (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
17613 " (with preallocated length of 80 characters or more) containing the\n"
17614 " PLplot version number.\n"
17615 "\n"
17616 ""},
17617 { "plgvpd", _wrap_plgvpd, METH_NOARGS, "\n"
17618 "Get viewport limits in normalized device coordinates\n"
17619 "\n"
17620 "DESCRIPTION:\n"
17621 "\n"
17622 " Get viewport limits in normalized device coordinates.\n"
17623 "\n"
17624 " Redacted form: General: plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17625 "\n"
17626 "\n"
17627 " This function is used in example 31.\n"
17628 "\n"
17629 "\n"
17630 "\n"
17631 "SYNOPSIS:\n"
17632 "\n"
17633 "plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17634 "\n"
17635 "ARGUMENTS:\n"
17636 "\n"
17637 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17638 " viewport limit of the normalized device coordinate in x.\n"
17639 "\n"
17640 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17641 " viewport limit of the normalized device coordinate in x.\n"
17642 "\n"
17643 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17644 " viewport limit of the normalized device coordinate in y.\n"
17645 "\n"
17646 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17647 " viewport limit of the normalized device coordinate in y.\n"
17648 "\n"
17649 ""},
17650 { "plgvpw", _wrap_plgvpw, METH_NOARGS, "\n"
17651 "Get viewport limits in world coordinates\n"
17652 "\n"
17653 "DESCRIPTION:\n"
17654 "\n"
17655 " Get viewport limits in world coordinates.\n"
17656 "\n"
17657 " Redacted form: General: plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17658 "\n"
17659 "\n"
17660 " This function is used in example 31.\n"
17661 "\n"
17662 "\n"
17663 "\n"
17664 "SYNOPSIS:\n"
17665 "\n"
17666 "plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17667 "\n"
17668 "ARGUMENTS:\n"
17669 "\n"
17670 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17671 " viewport limit of the world coordinate in x.\n"
17672 "\n"
17673 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17674 " viewport limit of the world coordinate in x.\n"
17675 "\n"
17676 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17677 " viewport limit of the world coordinate in y.\n"
17678 "\n"
17679 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17680 " viewport limit of the world coordinate in y.\n"
17681 "\n"
17682 ""},
17683 { "plgxax", _wrap_plgxax, METH_NOARGS, "\n"
17684 "Get x axis parameters\n"
17685 "\n"
17686 "DESCRIPTION:\n"
17687 "\n"
17688 " Returns current values of the p_digmax and p_digits flags for the x\n"
17689 " axis. p_digits is updated after the plot is drawn, so this routine\n"
17690 " should only be called after the call to plbox (or plbox3) is complete.\n"
17691 " See the PLplot documentation for more information.\n"
17692 "\n"
17693 " Redacted form: plgxax(p_digmax, p_digits)\n"
17694 "\n"
17695 " This function is used in example 31.\n"
17696 "\n"
17697 "\n"
17698 "\n"
17699 "SYNOPSIS:\n"
17700 "\n"
17701 "plgxax(p_digmax, p_digits)\n"
17702 "\n"
17703 "ARGUMENTS:\n"
17704 "\n"
17705 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17706 " number of digits for the x axis. If nonzero, the printed label\n"
17707 " has been switched to a floating-point representation when the\n"
17708 " number of digits exceeds this value.\n"
17709 "\n"
17710 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17711 " number of digits for the numeric labels (x axis) from the last\n"
17712 " plot.\n"
17713 "\n"
17714 ""},
17715 { "plgyax", _wrap_plgyax, METH_NOARGS, "\n"
17716 "Get y axis parameters\n"
17717 "\n"
17718 "DESCRIPTION:\n"
17719 "\n"
17720 " Identical to plgxax, except that arguments are flags for y axis. See\n"
17721 " the description of plgxax for more detail.\n"
17722 "\n"
17723 " Redacted form: plgyax(p_digmax, p_digits)\n"
17724 "\n"
17725 " This function is used in example 31.\n"
17726 "\n"
17727 "\n"
17728 "\n"
17729 "SYNOPSIS:\n"
17730 "\n"
17731 "plgyax(p_digmax, p_digits)\n"
17732 "\n"
17733 "ARGUMENTS:\n"
17734 "\n"
17735 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17736 " number of digits for the y axis. If nonzero, the printed label\n"
17737 " has been switched to a floating-point representation when the\n"
17738 " number of digits exceeds this value.\n"
17739 "\n"
17740 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17741 " number of digits for the numeric labels (y axis) from the last\n"
17742 " plot.\n"
17743 "\n"
17744 ""},
17745 { "plgzax", _wrap_plgzax, METH_NOARGS, "\n"
17746 "Get z axis parameters\n"
17747 "\n"
17748 "DESCRIPTION:\n"
17749 "\n"
17750 " Identical to plgxax, except that arguments are flags for z axis. See\n"
17751 " the description of plgxax for more detail.\n"
17752 "\n"
17753 " Redacted form: plgzax(p_digmax, p_digits)\n"
17754 "\n"
17755 " This function is used in example 31.\n"
17756 "\n"
17757 "\n"
17758 "\n"
17759 "SYNOPSIS:\n"
17760 "\n"
17761 "plgzax(p_digmax, p_digits)\n"
17762 "\n"
17763 "ARGUMENTS:\n"
17764 "\n"
17765 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17766 " number of digits for the z axis. If nonzero, the printed label\n"
17767 " has been switched to a floating-point representation when the\n"
17768 " number of digits exceeds this value.\n"
17769 "\n"
17770 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17771 " number of digits for the numeric labels (z axis) from the last\n"
17772 " plot.\n"
17773 "\n"
17774 ""},
17775 { "plhist", _wrap_plhist, METH_VARARGS, "\n"
17776 "Plot a histogram from unbinned data\n"
17777 "\n"
17778 "DESCRIPTION:\n"
17779 "\n"
17780 " Plots a histogram from n data points stored in the data vector. This\n"
17781 " routine bins the data into nbin bins equally spaced between datmin and\n"
17782 " datmax, and calls plbin to draw the resulting histogram. Parameter\n"
17783 " opt allows, among other things, the histogram either to be plotted in\n"
17784 " an existing window or causes plhist to call plenv with suitable limits\n"
17785 " before plotting the histogram.\n"
17786 "\n"
17787 " Redacted form: plhist(data, datmin, datmax, nbin, opt)\n"
17788 "\n"
17789 " This function is used in example 5.\n"
17790 "\n"
17791 "\n"
17792 "\n"
17793 "SYNOPSIS:\n"
17794 "\n"
17795 "plhist(n, data, datmin, datmax, nbin, opt)\n"
17796 "\n"
17797 "ARGUMENTS:\n"
17798 "\n"
17799 " n (PLINT, input) : Number of data points.\n"
17800 "\n"
17801 " data (PLFLT_VECTOR, input) : A vector containing the values of the\n"
17802 " n data points.\n"
17803 "\n"
17804 " datmin (PLFLT, input) : Left-hand edge of lowest-valued bin.\n"
17805 "\n"
17806 " datmax (PLFLT, input) : Right-hand edge of highest-valued bin.\n"
17807 "\n"
17808 " nbin (PLINT, input) : Number of (equal-sized) bins into which to\n"
17809 " divide the interval xmin to xmax.\n"
17810 "\n"
17811 " opt (PLINT, input) : Is a combination of several flags:\n"
17812 " opt=PL_HIST_DEFAULT: The axes are automatically rescaled to fit\n"
17813 " the histogram data, the outer bins are expanded to fill up the\n"
17814 " entire x-axis, data outside the given extremes are assigned to the\n"
17815 " outer bins and bins of zero height are simply drawn.\n"
17816 " opt=PL_HIST_NOSCALING|...: The existing axes are not rescaled\n"
17817 " to fit the histogram data, without this flag, plenv is called\n"
17818 " to set the world coordinates.\n"
17819 " opt=PL_HIST_IGNORE_OUTLIERS|...: Data outside the given\n"
17820 " extremes are not taken into account. This option should\n"
17821 " probably be combined with opt=PL_HIST_NOEXPAND|..., so as to\n"
17822 " properly present the data.\n"
17823 " opt=PL_HIST_NOEXPAND|...: The outer bins are drawn with equal\n"
17824 " size as the ones inside.\n"
17825 " opt=PL_HIST_NOEMPTY|...: Bins with zero height are not drawn\n"
17826 " (there is a gap for such bins).\n"
17827 "\n"
17828 ""},
17829 { "plhlsrgb", _wrap_plhlsrgb, METH_VARARGS, "\n"
17830 "Convert HLS color to RGB\n"
17831 "\n"
17832 "DESCRIPTION:\n"
17833 "\n"
17834 " Convert HLS color coordinates to RGB.\n"
17835 "\n"
17836 " Redacted form: General: plhlsrgb(h, l, s, p_r, p_g, p_b)\n"
17837 "\n"
17838 "\n"
17839 " This function is used in example 2.\n"
17840 "\n"
17841 "\n"
17842 "\n"
17843 "SYNOPSIS:\n"
17844 "\n"
17845 "plhlsrgb(h, l, s, p_r, p_g, p_b)\n"
17846 "\n"
17847 "ARGUMENTS:\n"
17848 "\n"
17849 " h (PLFLT, input) : Hue in degrees (0.0-360.0) on the color\n"
17850 " cylinder.\n"
17851 "\n"
17852 " l (PLFLT, input) : Lightness expressed as a fraction (0.0-1.0) of\n"
17853 " the axis of the color cylinder.\n"
17854 "\n"
17855 " s (PLFLT, input) : Saturation expressed as a fraction (0.0-1.0) of\n"
17856 " the radius of the color cylinder.\n"
17857 "\n"
17858 " p_r (PLFLT_NC_SCALAR, output) : Returned value of the red intensity\n"
17859 " (0.0-1.0) of the color.\n"
17860 "\n"
17861 " p_g (PLFLT_NC_SCALAR, output) : Returned value of the green\n"
17862 " intensity (0.0-1.0) of the color.\n"
17863 "\n"
17864 " p_b (PLFLT_NC_SCALAR, output) : Returned value of the blue\n"
17865 " intensity (0.0-1.0) of the color.\n"
17866 "\n"
17867 ""},
17868 { "plinit", _wrap_plinit, METH_NOARGS, "\n"
17869 "Initialize PLplot\n"
17870 "\n"
17871 "DESCRIPTION:\n"
17872 "\n"
17873 " Initializing the plotting package. The program prompts for the device\n"
17874 " keyword or number of the desired output device. Hitting a RETURN in\n"
17875 " response to the prompt is the same as selecting the first device.\n"
17876 " plinit will issue no prompt if either the device was specified\n"
17877 " previously (via command line flag, the plsetopt function, or the\n"
17878 " plsdev function), or if only one device is enabled when PLplot is\n"
17879 " installed. If subpages have been specified, the output device is\n"
17880 " divided into nx by ny subpages, each of which may be used\n"
17881 " independently. If plinit is called again during a program, the\n"
17882 " previously opened file will be closed. The subroutine pladv is used\n"
17883 " to advance from one subpage to the next.\n"
17884 "\n"
17885 " Redacted form: plinit()\n"
17886 "\n"
17887 " This function is used in all of the examples.\n"
17888 "\n"
17889 "\n"
17890 "\n"
17891 "SYNOPSIS:\n"
17892 "\n"
17893 "plinit()\n"
17894 "\n"
17895 ""},
17896 { "pljoin", _wrap_pljoin, METH_VARARGS, "\n"
17897 "Draw a line between two points\n"
17898 "\n"
17899 "DESCRIPTION:\n"
17900 "\n"
17901 " Joins the point (\n"
17902 " x1,\n"
17903 " y1) to (\n"
17904 " x2,\n"
17905 " y2).\n"
17906 "\n"
17907 " Redacted form: pljoin(x1,y1,x2,y2)\n"
17908 "\n"
17909 " This function is used in examples 3 and 14.\n"
17910 "\n"
17911 "\n"
17912 "\n"
17913 "SYNOPSIS:\n"
17914 "\n"
17915 "pljoin(x1, y1, x2, y2)\n"
17916 "\n"
17917 "ARGUMENTS:\n"
17918 "\n"
17919 " x1 (PLFLT, input) : x coordinate of first point.\n"
17920 "\n"
17921 " y1 (PLFLT, input) : y coordinate of first point.\n"
17922 "\n"
17923 " x2 (PLFLT, input) : x coordinate of second point.\n"
17924 "\n"
17925 " y2 (PLFLT, input) : y coordinate of second point.\n"
17926 "\n"
17927 ""},
17928 { "pllab", _wrap_pllab, METH_VARARGS, "\n"
17929 "Simple routine to write labels\n"
17930 "\n"
17931 "DESCRIPTION:\n"
17932 "\n"
17933 " Routine for writing simple labels. Use plmtex for more complex labels.\n"
17934 "\n"
17935 " Redacted form: pllab(xlabel, ylabel, tlabel)\n"
17936 "\n"
17937 " This function is used in examples 1, 5, 9, 12, 14-16, 20-22, and 29.\n"
17938 "\n"
17939 "\n"
17940 "\n"
17941 "SYNOPSIS:\n"
17942 "\n"
17943 "pllab(xlabel, ylabel, tlabel)\n"
17944 "\n"
17945 "ARGUMENTS:\n"
17946 "\n"
17947 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
17948 " the label for the x axis.\n"
17949 "\n"
17950 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
17951 " the label for the y axis.\n"
17952 "\n"
17953 " tlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
17954 " the title of the plot.\n"
17955 "\n"
17956 ""},
17957 { "pllegend", _wrap_pllegend, METH_VARARGS, "\n"
17958 "Plot legend using discretely annotated filled boxes, lines, and/or lines of symbols\n"
17959 "\n"
17960 "DESCRIPTION:\n"
17961 "\n"
17962 " Routine for creating a discrete plot legend with a plotted filled box,\n"
17963 " line, and/or line of symbols for each annotated legend entry. (See\n"
17964 " plcolorbar for similar functionality for creating continuous color\n"
17965 " bars.) The arguments of pllegend provide control over the location\n"
17966 " and size of the legend as well as the location and characteristics of\n"
17967 " the elements (most of which are optional) within that legend. The\n"
17968 " resulting legend is clipped at the boundaries of the current subpage.\n"
17969 " (N.B. the adopted coordinate system used for some of the parameters is\n"
17970 " defined in the documentation of the position parameter.)\n"
17971 "\n"
17972 " Redacted form: pllegend(p_legend_width, p_legend_height, opt,\n"
17973 " position, x, y, plot_width, bg_color, bb_color, bb_style, nrow,\n"
17974 " ncolumn, opt_array, text_offset, text_scale, text_spacing,\n"
17975 " test_justification, text_colors, text, box_colors, box_patterns,\n"
17976 " box_scales, box_line_widths, line_colors, line_styles, line_widths,\n"
17977 " symbol_colors, symbol_scales, symbol_numbers, symbols)\n"
17978 "\n"
17979 " This function is used in examples 4, 26, and 33.\n"
17980 "\n"
17981 "\n"
17982 "\n"
17983 "SYNOPSIS:\n"
17984 "\n"
17985 "pllegend(p_legend_width, p_legend_height, opt, position, x, y, plot_width, bg_color, bb_color, bb_style, nrow, ncolumn, nlegend, opt_array, text_offset, text_scale, text_spacing, test_justification, text_colors, text, box_colors, box_patterns, box_scales, box_line_widths, line_colors, line_styles, line_widths, symbol_colors, symbol_scales, symbol_numbers, symbols)\n"
17986 "\n"
17987 "ARGUMENTS:\n"
17988 "\n"
17989 " p_legend_width (PLFLT_NC_SCALAR, output) : Returned value of the\n"
17990 " legend width in adopted coordinates. This quantity is calculated\n"
17991 " from plot_width, text_offset, ncolumn (possibly modified inside\n"
17992 " the routine depending on nlegend and nrow), and the length\n"
17993 " (calculated internally) of the longest text string.\n"
17994 "\n"
17995 " p_legend_height (PLFLT_NC_SCALAR, output) : Returned value of the\n"
17996 " legend height in adopted coordinates. This quantity is calculated\n"
17997 " from text_scale, text_spacing, and nrow (possibly modified inside\n"
17998 " the routine depending on nlegend and nrow).\n"
17999 "\n"
18000 " opt (PLINT, input) : opt contains bits controlling the overall\n"
18001 " legend. If the PL_LEGEND_TEXT_LEFT bit is set, put the text area\n"
18002 " on the left of the legend and the plotted area on the right.\n"
18003 " Otherwise, put the text area on the right of the legend and the\n"
18004 " plotted area on the left. If the PL_LEGEND_BACKGROUND bit is set,\n"
18005 " plot a (semitransparent) background for the legend. If the\n"
18006 " PL_LEGEND_BOUNDING_BOX bit is set, plot a bounding box for the\n"
18007 " legend. If the PL_LEGEND_ROW_MAJOR bit is set and (both of the\n"
18008 " possibly internally transformed) nrow > 1 and ncolumn > 1, then\n"
18009 " plot the resulting array of legend entries in row-major order.\n"
18010 " Otherwise, plot the legend entries in column-major order.\n"
18011 "\n"
18012 " position (PLINT, input) : position contains bits which control the\n"
18013 " overall position of the legend and the definition of the adopted\n"
18014 " coordinates used for positions just like what is done for the\n"
18015 " position argument for plcolorbar. However, note that the defaults\n"
18016 " for the position bits (see below) are different than the\n"
18017 " plcolorbar case. The combination of the PL_POSITION_LEFT,\n"
18018 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n"
18019 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n"
18020 " the 16 possible standard positions (the 4 corners and centers of\n"
18021 " the 4 sides for both the inside and outside cases) of the legend\n"
18022 " relative to the adopted coordinate system. The corner positions\n"
18023 " are specified by the appropriate combination of two of the\n"
18024 " PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n"
18025 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n"
18026 " value of one of those bits. The adopted coordinates are\n"
18027 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n"
18028 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n"
18029 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n"
18030 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n"
18031 " then use the combination of PL_POSITION_RIGHT and PL_POSITION_TOP.\n"
18032 " If neither of PL_POSITION_INSIDE or PL_POSITION_OUTSIDE is set,\n"
18033 " use PL_POSITION_INSIDE. If neither of PL_POSITION_VIEWPORT or\n"
18034 " PL_POSITION_SUBPAGE is set, use PL_POSITION_VIEWPORT.\n"
18035 "\n"
18036 " x (PLFLT, input) : X offset of the legend position in adopted\n"
18037 " coordinates from the specified standard position of the legend.\n"
18038 " For positive x, the direction of motion away from the standard\n"
18039 " position is inward/outward from the standard corner positions or\n"
18040 " standard left or right positions if the\n"
18041 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
18042 " For the standard top or bottom positions, the direction of motion\n"
18043 " is toward positive X.\n"
18044 "\n"
18045 " y (PLFLT, input) : Y offset of the legend position in adopted\n"
18046 " coordinates from the specified standard position of the legend.\n"
18047 " For positive y, the direction of motion away from the standard\n"
18048 " position is inward/outward from the standard corner positions or\n"
18049 " standard top or bottom positions if the\n"
18050 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position. For\n"
18051 " the standard left or right positions, the direction of motion is\n"
18052 " toward positive Y.\n"
18053 "\n"
18054 " plot_width (PLFLT, input) : Horizontal width in adopted coordinates\n"
18055 " of the plot area (where the colored boxes, lines, and/or lines of\n"
18056 " symbols are drawn) of the legend.\n"
18057 "\n"
18058 " bg_color (PLINT, input) : The cmap0 color of the background for the\n"
18059 " legend (PL_LEGEND_BACKGROUND).\n"
18060 "\n"
18061 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n"
18062 " for the legend (PL_LEGEND_BOUNDING_BOX).\n"
18063 "\n"
18064 " bb_style (PLINT, input) : The pllsty style number for the\n"
18065 " bounding-box line for the legend (PL_LEGEND_BACKGROUND).\n"
18066 "\n"
18067 " nrow (PLINT, input) : The number of rows in the matrix used to\n"
18068 " render the\n"
18069 " nlegend legend entries. For internal transformations of\n"
18070 " nrow, see further remarks under\n"
18071 " nlegend.\n"
18072 "\n"
18073 " ncolumn (PLINT, input) : The number of columns in the matrix used\n"
18074 " to render the\n"
18075 " nlegend legend entries. For internal transformations of\n"
18076 " ncolumn, see further remarks under\n"
18077 " nlegend.\n"
18078 "\n"
18079 " nlegend (PLINT, input) : Number of legend entries. The above\n"
18080 " nrow and\n"
18081 " ncolumn values are transformed internally to be consistent with\n"
18082 " nlegend. If either\n"
18083 " nrow or\n"
18084 " ncolumn is non-positive it is replaced by 1. If the resulting product\n"
18085 " of\n"
18086 " nrow and\n"
18087 " ncolumn is less than\n"
18088 " nlegend, the smaller of the two (or\n"
18089 " nrow, if\n"
18090 " nrow ==\n"
18091 " ncolumn) is increased so the product is >=\n"
18092 " nlegend. Thus, for example, the common\n"
18093 " nrow = 0,\n"
18094 " ncolumn = 0 case is transformed internally to\n"
18095 " nrow =\n"
18096 " nlegend,\n"
18097 " ncolumn = 1; i.e., the usual case of a legend rendered as a single\n"
18098 " column.\n"
18099 "\n"
18100 " opt_array (PLINT_VECTOR, input) : A vector of\n"
18101 " nlegend values of options to control each individual plotted area\n"
18102 " corresponding to a legend entry. If the\n"
18103 " PL_LEGEND_NONE bit is set, then nothing is plotted in the plotted\n"
18104 " area. If the\n"
18105 " PL_LEGEND_COLOR_BOX,\n"
18106 " PL_LEGEND_LINE, and/or\n"
18107 " PL_LEGEND_SYMBOL bits are set, the area corresponding to a legend\n"
18108 " entry is plotted with a colored box; a line; and/or a line of\n"
18109 " symbols.\n"
18110 "\n"
18111 " text_offset (PLFLT, input) : Offset of the text area from the plot\n"
18112 " area in units of character width.\n"
18113 "\n"
18114 " text_scale (PLFLT, input) : Character height scale for text\n"
18115 " annotations.\n"
18116 "\n"
18117 " text_spacing (PLFLT, input) : Vertical spacing in units of the\n"
18118 " character height from one legend entry to the next.\n"
18119 "\n"
18120 " text_justification (PLFLT, input) : Justification parameter used\n"
18121 " for text justification. The most common values of\n"
18122 " text_justification are 0., 0.5, or 1. corresponding to a text that\n"
18123 " is left justified, centred, or right justified within the text\n"
18124 " area, but other values are allowed as well.\n"
18125 "\n"
18126 " text_colors (PLINT_VECTOR, input) : A vector containing\n"
18127 " nlegend cmap0 text colors.\n"
18128 "\n"
18129 " text (PLCHAR_MATRIX, input) : A vector of\n"
18130 " nlegend UTF-8 character strings containing the legend annotations.\n"
18131 "\n"
18132 " box_colors (PLINT_VECTOR, input) : A vector containing\n"
18133 " nlegend cmap0 colors for the discrete colored boxes (\n"
18134 " PL_LEGEND_COLOR_BOX).\n"
18135 "\n"
18136 " box_patterns (PLINT_VECTOR, input) : A vector containing\n"
18137 " nlegend patterns (plpsty indices) for the discrete colored boxes (\n"
18138 " PL_LEGEND_COLOR_BOX).\n"
18139 "\n"
18140 " box_scales (PLFLT_VECTOR, input) : A vector containing\n"
18141 " nlegend scales (units of fraction of character height) for the height\n"
18142 " of the discrete colored boxes (\n"
18143 " PL_LEGEND_COLOR_BOX).\n"
18144 "\n"
18145 " box_line_widths (PLFLT_VECTOR, input) : A vector containing\n"
18146 " nlegend line widths for the patterns specified by box_patterns (\n"
18147 " PL_LEGEND_COLOR_BOX).\n"
18148 "\n"
18149 " line_colors (PLINT_VECTOR, input) : A vector containing\n"
18150 " nlegend cmap0 line colors (\n"
18151 " PL_LEGEND_LINE).\n"
18152 "\n"
18153 " line_styles (PLINT_VECTOR, input) : A vector containing\n"
18154 " nlegend line styles (plsty indices) (\n"
18155 " PL_LEGEND_LINE).\n"
18156 "\n"
18157 " line_widths (PLFLT_VECTOR, input) : A vector containing\n"
18158 " nlegend line widths (\n"
18159 " PL_LEGEND_LINE).\n"
18160 "\n"
18161 " symbol_colors (PLINT_VECTOR, input) : A vector containing\n"
18162 " nlegend cmap0 symbol colors (\n"
18163 " PL_LEGEND_SYMBOL).\n"
18164 "\n"
18165 " symbol_scales (PLFLT_VECTOR, input) : A vector containing\n"
18166 " nlegend scale values for the symbol height (\n"
18167 " PL_LEGEND_SYMBOL).\n"
18168 "\n"
18169 " symbol_numbers (PLINT_VECTOR, input) : A vector containing\n"
18170 " nlegend numbers of symbols to be drawn across the width of the plotted\n"
18171 " area (\n"
18172 " PL_LEGEND_SYMBOL).\n"
18173 "\n"
18174 " symbols (PLCHAR_MATRIX, input) : A vector of\n"
18175 " nlegend UTF-8 character strings containing the legend symbols. (\n"
18176 " PL_LEGEND_SYMBOL).\n"
18177 "\n"
18178 ""},
18179 { "plcolorbar", _wrap_plcolorbar, METH_VARARGS, "\n"
18180 "Plot color bar for image, shade or gradient plots\n"
18181 "\n"
18182 "DESCRIPTION:\n"
18183 "\n"
18184 " Routine for creating a continuous color bar for image, shade, or\n"
18185 " gradient plots. (See pllegend for similar functionality for creating\n"
18186 " legends with discrete elements). The arguments of plcolorbar provide\n"
18187 " control over the location and size of the color bar as well as the\n"
18188 " location and characteristics of the elements (most of which are\n"
18189 " optional) within that color bar. The resulting color bar is clipped\n"
18190 " at the boundaries of the current subpage. (N.B. the adopted coordinate\n"
18191 " system used for some of the parameters is defined in the documentation\n"
18192 " of the position parameter.)\n"
18193 "\n"
18194 " Redacted form: plcolorbar(p_colorbar_width, p_colorbar_height, opt,\n"
18195 " position, x, y, x_length, y_length, bg_color, bb_color, bb_style,\n"
18196 " low_cap_color, high_cap_color, cont_color, cont_width, label_opts,\n"
18197 " labels, axis_opts, ticks, sub_ticks, values)\n"
18198 "\n"
18199 " This function is used in examples 16 and 33.\n"
18200 "\n"
18201 "\n"
18202 "\n"
18203 "SYNOPSIS:\n"
18204 "\n"
18205 "plcolorbar(p_colorbar_width, p_colorbar_height, opt, position, x, y, x_length, y_length, bg_color, bb_color, bb_style, low_cap_color, high_cap_color, cont_color, cont_width, n_labels, label_opts, labels, naxes, axis_opts, ticks, sub_ticks, n_values, values)\n"
18206 "\n"
18207 "ARGUMENTS:\n"
18208 "\n"
18209 " p_colorbar_width (PLFLT_NC_SCALAR, output) : Returned value of the\n"
18210 " labelled and decorated color bar width in adopted coordinates.\n"
18211 "\n"
18212 " p_colorbar_height (PLFLT_NC_SCALAR, output) : Returned value of the\n"
18213 " labelled and decorated color bar height in adopted coordinates.\n"
18214 "\n"
18215 " opt (PLINT, input) : opt contains bits controlling the overall\n"
18216 " color bar. The orientation (direction of the maximum value) of\n"
18217 " the color bar is specified with PL_ORIENT_RIGHT, PL_ORIENT_TOP,\n"
18218 " PL_ORIENT_LEFT, or PL_ORIENT_BOTTOM. If none of these bits are\n"
18219 " specified, the default orientation is toward the top if the\n"
18220 " colorbar is placed on the left or right of the viewport or toward\n"
18221 " the right if the colorbar is placed on the top or bottom of the\n"
18222 " viewport. If the PL_COLORBAR_BACKGROUND bit is set, plot a\n"
18223 " (semitransparent) background for the color bar. If the\n"
18224 " PL_COLORBAR_BOUNDING_BOX bit is set, plot a bounding box for the\n"
18225 " color bar. The type of color bar must be specified with one of\n"
18226 " PL_COLORBAR_IMAGE, PL_COLORBAR_SHADE, or PL_COLORBAR_GRADIENT. If\n"
18227 " more than one of those bits is set only the first one in the above\n"
18228 " list is honored. The position of the (optional) label/title can be\n"
18229 " specified with PL_LABEL_RIGHT, PL_LABEL_TOP, PL_LABEL_LEFT, or\n"
18230 " PL_LABEL_BOTTOM. If no label position bit is set then no label\n"
18231 " will be drawn. If more than one of this list of bits is specified,\n"
18232 " only the first one on the list is honored. End-caps for the color\n"
18233 " bar can added with PL_COLORBAR_CAP_LOW and PL_COLORBAR_CAP_HIGH.\n"
18234 " If a particular color bar cap option is not specified then no cap\n"
18235 " will be drawn for that end. As a special case for\n"
18236 " PL_COLORBAR_SHADE, the option PL_COLORBAR_SHADE_LABEL can be\n"
18237 " specified. If this option is provided then any tick marks and tick\n"
18238 " labels will be placed at the breaks between shaded segments. TODO:\n"
18239 " This should be expanded to support custom placement of tick marks\n"
18240 " and tick labels at custom value locations for any color bar type.\n"
18241 "\n"
18242 " position (PLINT, input) : position contains bits which control the\n"
18243 " overall position of the color bar and the definition of the\n"
18244 " adopted coordinates used for positions just like what is done for\n"
18245 " the position argument for pllegend. However, note that the\n"
18246 " defaults for the position bits (see below) are different than the\n"
18247 " pllegend case. The combination of the PL_POSITION_LEFT,\n"
18248 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n"
18249 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n"
18250 " the 16 possible standard positions (the 4 corners and centers of\n"
18251 " the 4 sides for both the inside and outside cases) of the color\n"
18252 " bar relative to the adopted coordinate system. The corner\n"
18253 " positions are specified by the appropriate combination of two of\n"
18254 " the PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n"
18255 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n"
18256 " value of one of those bits. The adopted coordinates are\n"
18257 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n"
18258 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n"
18259 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n"
18260 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n"
18261 " then use PL_POSITION_RIGHT. If neither of PL_POSITION_INSIDE or\n"
18262 " PL_POSITION_OUTSIDE is set, use PL_POSITION_OUTSIDE. If neither of\n"
18263 " PL_POSITION_VIEWPORT or PL_POSITION_SUBPAGE is set, use\n"
18264 " PL_POSITION_VIEWPORT.\n"
18265 "\n"
18266 " x (PLFLT, input) : X offset of the color bar position in adopted\n"
18267 " coordinates from the specified standard position of the color bar.\n"
18268 " For positive x, the direction of motion away from the standard\n"
18269 " position is inward/outward from the standard corner positions or\n"
18270 " standard left or right positions if the\n"
18271 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
18272 " For the standard top or bottom positions, the direction of motion\n"
18273 " is toward positive X.\n"
18274 "\n"
18275 " y (PLFLT, input) : Y offset of the color bar position in adopted\n"
18276 " coordinates from the specified standard position of the color bar.\n"
18277 " For positive y, the direction of motion away from the standard\n"
18278 " position is inward/outward from the standard corner positions or\n"
18279 " standard top or bottom positions if the\n"
18280 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
18281 " For the standard left or right positions, the direction of motion\n"
18282 " is toward positive Y.\n"
18283 "\n"
18284 " x_length (PLFLT, input) : Length of the body of the color bar in\n"
18285 " the X direction in adopted coordinates.\n"
18286 "\n"
18287 " y_length (PLFLT, input) : Length of the body of the color bar in\n"
18288 " the Y direction in adopted coordinates.\n"
18289 "\n"
18290 " bg_color (PLINT, input) : The cmap0 color of the background for the\n"
18291 " color bar (PL_COLORBAR_BACKGROUND).\n"
18292 "\n"
18293 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n"
18294 " for the color bar (PL_COLORBAR_BOUNDING_BOX).\n"
18295 "\n"
18296 " bb_style (PLINT, input) : The pllsty style number for the\n"
18297 " bounding-box line for the color bar (PL_COLORBAR_BACKGROUND).\n"
18298 "\n"
18299 " low_cap_color (PLFLT, input) : The cmap1 color of the low-end color\n"
18300 " bar cap, if it is drawn (PL_COLORBAR_CAP_LOW).\n"
18301 "\n"
18302 " high_cap_color (PLFLT, input) : The cmap1 color of the high-end\n"
18303 " color bar cap, if it is drawn (PL_COLORBAR_CAP_HIGH).\n"
18304 "\n"
18305 " cont_color (PLINT, input) : The cmap0 contour color for\n"
18306 " PL_COLORBAR_SHADE plots. This is passed directly to plshades, so\n"
18307 " it will be interpreted according to the design of plshades.\n"
18308 "\n"
18309 " cont_width (PLFLT, input) : Contour width for PL_COLORBAR_SHADE\n"
18310 " plots. This is passed directly to plshades, so it will be\n"
18311 " interpreted according to the design of plshades.\n"
18312 "\n"
18313 " n_labels (PLINT, input) : Number of labels to place around the\n"
18314 " color bar.\n"
18315 "\n"
18316 " label_opts (PLINT_VECTOR, input) : A vector of options for each of\n"
18317 " n_labels labels.\n"
18318 "\n"
18319 " labels (PLCHAR_MATRIX, input) : A vector of\n"
18320 " n_labels UTF-8 character strings containing the labels for the color\n"
18321 " bar. Ignored if no label position is specified with one of the\n"
18322 " PL_COLORBAR_LABEL_RIGHT, PL_COLORBAR_LABEL_TOP,\n"
18323 " PL_COLORBAR_LABEL_LEFT, or PL_COLORBAR_LABEL_BOTTOM bits in the\n"
18324 " corresponding label_opts field.\n"
18325 "\n"
18326 " n_axes (PLINT, input) : Number of axis definitions provided. This\n"
18327 " value must be greater than 0. It is typically 1 (numerical axis\n"
18328 " labels are provided for one of the long edges of the color bar),\n"
18329 " but it can be larger if multiple numerical axis labels for the\n"
18330 " long edges of the color bar are desired.\n"
18331 "\n"
18332 " axis_opts (PLCHAR_MATRIX, input) : A vector of\n"
18333 " n_axes ascii character strings containing options (interpreted as for\n"
18334 " plbox) for the color bar's axis definitions.\n"
18335 "\n"
18336 " ticks (PLFLT_VECTOR, input) : A vector of n_axes values of the\n"
18337 " spacing of the major tick marks (interpreted as for plbox) for the\n"
18338 " color bar's axis definitions.\n"
18339 "\n"
18340 " sub_ticks (PLINT_VECTOR, input) : A vector of n_axes values of the\n"
18341 " number of subticks (interpreted as for plbox) for the color bar's\n"
18342 " axis definitions.\n"
18343 "\n"
18344 " n_values (PLINT_VECTOR, input) : A vector containing the number of\n"
18345 " elements in each of the n_axes rows of the values matrix.\n"
18346 "\n"
18347 " values (PLFLT_MATRIX, input) : A matrix containing the numeric\n"
18348 " values for the data range represented by the color bar. For a row\n"
18349 " index of i_axis (where 0 < i_axis < n_axes), the number of\n"
18350 " elements in the row is specified by n_values[i_axis]. For\n"
18351 " PL_COLORBAR_IMAGE and PL_COLORBAR_GRADIENT the number of elements\n"
18352 " is 2, and the corresponding row elements of the values matrix are\n"
18353 " the minimum and maximum value represented by the colorbar. For\n"
18354 " PL_COLORBAR_SHADE, the number and values of the elements of a row\n"
18355 " of the values matrix is interpreted the same as the nlevel and\n"
18356 " clevel arguments of plshades.\n"
18357 "\n"
18358 ""},
18359 { "pllightsource", _wrap_pllightsource, METH_VARARGS, "\n"
18360 "Sets the 3D position of the light source\n"
18361 "\n"
18362 "DESCRIPTION:\n"
18363 "\n"
18364 " Sets the 3D position of the light source for use with plsurf3d and\n"
18365 " plsurf3dl\n"
18366 "\n"
18367 " Redacted form: pllightsource(x, y, z)\n"
18368 "\n"
18369 " This function is used in example 8.\n"
18370 "\n"
18371 "\n"
18372 "\n"
18373 "SYNOPSIS:\n"
18374 "\n"
18375 "pllightsource(x, y, z)\n"
18376 "\n"
18377 "ARGUMENTS:\n"
18378 "\n"
18379 " x (PLFLT, input) : X-coordinate of the light source.\n"
18380 "\n"
18381 " y (PLFLT, input) : Y-coordinate of the light source.\n"
18382 "\n"
18383 " z (PLFLT, input) : Z-coordinate of the light source.\n"
18384 "\n"
18385 ""},
18386 { "plline", _wrap_plline, METH_VARARGS, "\n"
18387 "Draw a line\n"
18388 "\n"
18389 "DESCRIPTION:\n"
18390 "\n"
18391 " Draws line defined by n points in x and y.\n"
18392 "\n"
18393 " Redacted form: plline(x, y)\n"
18394 "\n"
18395 " This function is used in examples 1, 3, 4, 9, 12-14, 16, 18, 20, 22,\n"
18396 " 25-27, and 29.\n"
18397 "\n"
18398 "\n"
18399 "\n"
18400 "SYNOPSIS:\n"
18401 "\n"
18402 "plline(n, x, y)\n"
18403 "\n"
18404 "ARGUMENTS:\n"
18405 "\n"
18406 " n (PLINT, input) : Number of points defining line.\n"
18407 "\n"
18408 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
18409 " points.\n"
18410 "\n"
18411 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
18412 " points.\n"
18413 "\n"
18414 ""},
18415 { "plline3", _wrap_plline3, METH_VARARGS, "\n"
18416 "Draw a line in 3 space\n"
18417 "\n"
18418 "DESCRIPTION:\n"
18419 "\n"
18420 " Draws line in 3 space defined by n points in x, y, and z. You must\n"
18421 " first set up the viewport, the 2d viewing window (in world\n"
18422 " coordinates), and the 3d normalized coordinate box. See x18c.c for\n"
18423 " more info.\n"
18424 "\n"
18425 " Redacted form: plline3(x, y, z)\n"
18426 "\n"
18427 " This function is used in example 18.\n"
18428 "\n"
18429 "\n"
18430 "\n"
18431 "SYNOPSIS:\n"
18432 "\n"
18433 "plline3(n, x, y, z)\n"
18434 "\n"
18435 "ARGUMENTS:\n"
18436 "\n"
18437 " n (PLINT, input) : Number of points defining line.\n"
18438 "\n"
18439 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
18440 " points.\n"
18441 "\n"
18442 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
18443 " points.\n"
18444 "\n"
18445 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
18446 " points.\n"
18447 "\n"
18448 ""},
18449 { "pllsty", _wrap_pllsty, METH_O, "\n"
18450 "Select line style\n"
18451 "\n"
18452 "DESCRIPTION:\n"
18453 "\n"
18454 " This sets the line style according to one of eight predefined patterns\n"
18455 " (also see plstyl).\n"
18456 "\n"
18457 " Redacted form: pllsty(lin)\n"
18458 "\n"
18459 " This function is used in examples 9, 12, 22, and 25.\n"
18460 "\n"
18461 "\n"
18462 "\n"
18463 "SYNOPSIS:\n"
18464 "\n"
18465 "pllsty(lin)\n"
18466 "\n"
18467 "ARGUMENTS:\n"
18468 "\n"
18469 " lin (PLINT, input) : Integer value between 1 and 8. Line style 1 is\n"
18470 " a continuous line, line style 2 is a line with short dashes and\n"
18471 " gaps, line style 3 is a line with long dashes and gaps, line style\n"
18472 " 4 has long dashes and short gaps and so on.\n"
18473 "\n"
18474 ""},
18475 { "plmesh", _wrap_plmesh, METH_VARARGS, "\n"
18476 "Plot surface mesh\n"
18477 "\n"
18478 "DESCRIPTION:\n"
18479 "\n"
18480 " Plots a surface mesh within the environment set up by plw3d. The\n"
18481 " surface is defined by the matrix z[\n"
18482 " nx][\n"
18483 " ny] , the point z[i][j] being the value of the function at (\n"
18484 " x[i],\n"
18485 " y[j]). Note that the points in vectors x and y do not need to be\n"
18486 " equally spaced, but must be stored in ascending order. The parameter\n"
18487 " opt controls the way in which the surface is displayed. For further\n"
18488 " details see the PLplot documentation.\n"
18489 "\n"
18490 " Redacted form: plmesh(x, y, z, opt)\n"
18491 "\n"
18492 " This function is used in example 11.\n"
18493 "\n"
18494 "\n"
18495 "\n"
18496 "SYNOPSIS:\n"
18497 "\n"
18498 "plmesh(x, y, z, nx, ny, opt)\n"
18499 "\n"
18500 "ARGUMENTS:\n"
18501 "\n"
18502 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18503 " which the function is evaluated.\n"
18504 "\n"
18505 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18506 " which the function is evaluated.\n"
18507 "\n"
18508 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18509 " plot. Should have dimensions of\n"
18510 " nx by\n"
18511 " ny.\n"
18512 "\n"
18513 " nx (PLINT, input) : Number of x values at which function has been\n"
18514 " evaluated.\n"
18515 "\n"
18516 " ny (PLINT, input) : Number of y values at which function has been\n"
18517 " evaluated.\n"
18518 "\n"
18519 " opt (PLINT, input) : Determines the way in which the surface is\n"
18520 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n"
18521 " function of x for each value of y[j] .\n"
18522 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18523 " for each value of x[i] .\n"
18524 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18525 " at which function is defined.\n"
18526 "\n"
18527 ""},
18528 { "plmeshc", _wrap_plmeshc, METH_VARARGS, "\n"
18529 "Magnitude colored plot surface mesh with contour\n"
18530 "\n"
18531 "DESCRIPTION:\n"
18532 "\n"
18533 " A more powerful form of plmesh: the surface mesh can be colored\n"
18534 " accordingly to the current z value being plotted, a contour plot can\n"
18535 " be drawn at the base XY plane, and a curtain can be drawn between the\n"
18536 " plotted function border and the base XY plane.\n"
18537 "\n"
18538 " Redacted form: plmeshc(x, y, z, opt, clevel)\n"
18539 "\n"
18540 " This function is used in example 11.\n"
18541 "\n"
18542 "\n"
18543 "\n"
18544 "SYNOPSIS:\n"
18545 "\n"
18546 "plmeshc(x, y, z, nx, ny, opt, clevel, nlevel)\n"
18547 "\n"
18548 "ARGUMENTS:\n"
18549 "\n"
18550 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18551 " which the function is evaluated.\n"
18552 "\n"
18553 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18554 " which the function is evaluated.\n"
18555 "\n"
18556 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18557 " plot. Should have dimensions of\n"
18558 " nx by\n"
18559 " ny.\n"
18560 "\n"
18561 " nx (PLINT, input) : Number of x values at which function is\n"
18562 " evaluated.\n"
18563 "\n"
18564 " ny (PLINT, input) : Number of y values at which function is\n"
18565 " evaluated.\n"
18566 "\n"
18567 " opt (PLINT, input) : Determines the way in which the surface is\n"
18568 " represented. To specify more than one option just add the options,\n"
18569 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
18570 " showing z as a function of x for each value of y[j] .\n"
18571 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18572 " for each value of x[i] .\n"
18573 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18574 " at which function is defined.\n"
18575 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
18576 " the z value being plotted. The color is used from the current\n"
18577 " cmap1.\n"
18578 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18579 " using parameters\n"
18580 " nlevel and\n"
18581 " clevel.\n"
18582 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18583 " the borders of the plotted function.\n"
18584 "\n"
18585 "\n"
18586 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18587 " levels.\n"
18588 "\n"
18589 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18590 "\n"
18591 ""},
18592 { "plmkstrm", _wrap_plmkstrm, METH_NOARGS, "\n"
18593 "Creates a new stream and makes it the default\n"
18594 "\n"
18595 "DESCRIPTION:\n"
18596 "\n"
18597 " Creates a new stream and makes it the default. Differs from using\n"
18598 " plsstrm, in that a free stream number is found, and returned.\n"
18599 " Unfortunately, I have to start at stream 1 and work upward, since\n"
18600 " stream 0 is preallocated. One of the big flaws in the PLplot API is\n"
18601 " that no initial, library-opening call is required. So stream 0 must\n"
18602 " be preallocated, and there is no simple way of determining whether it\n"
18603 " is already in use or not.\n"
18604 "\n"
18605 " Redacted form: plmkstrm(p_strm)\n"
18606 "\n"
18607 " This function is used in examples 1 and 20.\n"
18608 "\n"
18609 "\n"
18610 "\n"
18611 "SYNOPSIS:\n"
18612 "\n"
18613 "plmkstrm(p_strm)\n"
18614 "\n"
18615 "ARGUMENTS:\n"
18616 "\n"
18617 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the stream\n"
18618 " number of the created stream.\n"
18619 "\n"
18620 ""},
18621 { "plmtex", _wrap_plmtex, METH_VARARGS, "\n"
18622 "Write text relative to viewport boundaries\n"
18623 "\n"
18624 "DESCRIPTION:\n"
18625 "\n"
18626 " Writes text at a specified position relative to the viewport\n"
18627 " boundaries. Text may be written inside or outside the viewport, but\n"
18628 " is clipped at the subpage boundaries. The reference point of a string\n"
18629 " lies along a line passing through the string at half the height of a\n"
18630 " capital letter. The position of the reference point along this line\n"
18631 " is determined by just, and the position of the reference point\n"
18632 " relative to the viewport is set by disp and pos.\n"
18633 "\n"
18634 " Redacted form: General: plmtex(side, disp, pos, just, text)\n"
18635 "\n"
18636 "\n"
18637 " This function is used in examples 3, 4, 6-8, 11, 12, 14, 18, 23, and\n"
18638 " 26.\n"
18639 "\n"
18640 "\n"
18641 "\n"
18642 "SYNOPSIS:\n"
18643 "\n"
18644 "plmtex(side, disp, pos, just, text)\n"
18645 "\n"
18646 "ARGUMENTS:\n"
18647 "\n"
18648 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
18649 " the side of the viewport along which the text is to be written.\n"
18650 " The string must be one of: b: Bottom of viewport, text written\n"
18651 " parallel to edge.\n"
18652 " bv: Bottom of viewport, text written at right angles to edge.\n"
18653 " l: Left of viewport, text written parallel to edge.\n"
18654 " lv: Left of viewport, text written at right angles to edge.\n"
18655 " r: Right of viewport, text written parallel to edge.\n"
18656 " rv: Right of viewport, text written at right angles to edge.\n"
18657 " t: Top of viewport, text written parallel to edge.\n"
18658 " tv: Top of viewport, text written at right angles to edge.\n"
18659 "\n"
18660 "\n"
18661 " disp (PLFLT, input) : Position of the reference point of string,\n"
18662 " measured outwards from the specified viewport edge in units of the\n"
18663 " current character height. Use negative disp to write within the\n"
18664 " viewport.\n"
18665 "\n"
18666 " pos (PLFLT, input) : Position of the reference point of string\n"
18667 " along the specified edge, expressed as a fraction of the length of\n"
18668 " the edge.\n"
18669 "\n"
18670 " just (PLFLT, input) : Specifies the position of the string relative\n"
18671 " to its reference point. If just=0. , the reference point is at\n"
18672 " the left and if just=1. , it is at the right of the string. Other\n"
18673 " values of just give intermediate justifications.\n"
18674 "\n"
18675 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
18676 " written out.\n"
18677 "\n"
18678 ""},
18679 { "plmtex3", _wrap_plmtex3, METH_VARARGS, "\n"
18680 "Write text relative to viewport boundaries in 3D plots\n"
18681 "\n"
18682 "DESCRIPTION:\n"
18683 "\n"
18684 " Writes text at a specified position relative to the viewport\n"
18685 " boundaries. Text may be written inside or outside the viewport, but\n"
18686 " is clipped at the subpage boundaries. The reference point of a string\n"
18687 " lies along a line passing through the string at half the height of a\n"
18688 " capital letter. The position of the reference point along this line\n"
18689 " is determined by just, and the position of the reference point\n"
18690 " relative to the viewport is set by disp and pos.\n"
18691 "\n"
18692 " Redacted form: plmtex3(side, disp, pos, just, text)\n"
18693 "\n"
18694 " This function is used in example 28.\n"
18695 "\n"
18696 "\n"
18697 "\n"
18698 "SYNOPSIS:\n"
18699 "\n"
18700 "plmtex3(side, disp, pos, just, text)\n"
18701 "\n"
18702 "ARGUMENTS:\n"
18703 "\n"
18704 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
18705 " the side of the viewport along which the text is to be written.\n"
18706 " The string should contain one or more of the following characters:\n"
18707 " [xyz][ps][v]. Only one label is drawn at a time, i.e. xyp will\n"
18708 " only label the X axis, not both the X and Y axes. x: Label the X\n"
18709 " axis.\n"
18710 " y: Label the Y axis.\n"
18711 " z: Label the Z axis.\n"
18712 " p: Label the primary axis. For Z this is the leftmost Z axis.\n"
18713 " For X it is the axis that starts at y-min. For Y it is the\n"
18714 " axis that starts at x-min.\n"
18715 " s: Label the secondary axis.\n"
18716 " v: Draw the text perpendicular to the axis.\n"
18717 "\n"
18718 "\n"
18719 " disp (PLFLT, input) : Position of the reference point of string,\n"
18720 " measured outwards from the specified viewport edge in units of the\n"
18721 " current character height. Use negative disp to write within the\n"
18722 " viewport.\n"
18723 "\n"
18724 " pos (PLFLT, input) : Position of the reference point of string\n"
18725 " along the specified edge, expressed as a fraction of the length of\n"
18726 " the edge.\n"
18727 "\n"
18728 " just (PLFLT, input) : Specifies the position of the string relative\n"
18729 " to its reference point. If just=0. , the reference point is at\n"
18730 " the left and if just=1. , it is at the right of the string. Other\n"
18731 " values of just give intermediate justifications.\n"
18732 "\n"
18733 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
18734 " written out.\n"
18735 "\n"
18736 ""},
18737 { "plot3d", _wrap_plot3d, METH_VARARGS, "\n"
18738 "Plot 3-d surface plot\n"
18739 "\n"
18740 "DESCRIPTION:\n"
18741 "\n"
18742 " Plots a three-dimensional surface plot within the environment set up\n"
18743 " by plw3d. The surface is defined by the matrix z[\n"
18744 " nx][\n"
18745 " ny] , the point z[i][j] being the value of the function at (\n"
18746 " x[i],\n"
18747 " y[j]). Note that the points in vectors x and y do not need to be\n"
18748 " equally spaced, but must be stored in ascending order. The parameter\n"
18749 " opt controls the way in which the surface is displayed. For further\n"
18750 " details see the PLplot documentation. The only difference between\n"
18751 " plmesh and plot3d is that plmesh draws the bottom side of the surface,\n"
18752 " while plot3d only draws the surface as viewed from the top.\n"
18753 "\n"
18754 " Redacted form: plot3d(x, y, z, opt, side)\n"
18755 "\n"
18756 " This function is used in examples 11 and 21.\n"
18757 "\n"
18758 "\n"
18759 "\n"
18760 "SYNOPSIS:\n"
18761 "\n"
18762 "plot3d(x, y, z, nx, ny, opt, side)\n"
18763 "\n"
18764 "ARGUMENTS:\n"
18765 "\n"
18766 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18767 " which the function is evaluated.\n"
18768 "\n"
18769 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18770 " which the function is evaluated.\n"
18771 "\n"
18772 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18773 " plot. Should have dimensions of\n"
18774 " nx by\n"
18775 " ny.\n"
18776 "\n"
18777 " nx (PLINT, input) : Number of x values at which function is\n"
18778 " evaluated.\n"
18779 "\n"
18780 " ny (PLINT, input) : Number of y values at which function is\n"
18781 " evaluated.\n"
18782 "\n"
18783 " opt (PLINT, input) : Determines the way in which the surface is\n"
18784 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n"
18785 " function of x for each value of y[j] .\n"
18786 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18787 " for each value of x[i] .\n"
18788 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18789 " at which function is defined.\n"
18790 "\n"
18791 "\n"
18792 " side (PLBOOL, input) : Flag to indicate whether or not ``sides''\n"
18793 " should be draw on the figure. If side is true sides are drawn,\n"
18794 " otherwise no sides are drawn.\n"
18795 "\n"
18796 ""},
18797 { "plot3dc", _wrap_plot3dc, METH_VARARGS, "\n"
18798 "Magnitude colored plot surface with contour\n"
18799 "\n"
18800 "DESCRIPTION:\n"
18801 "\n"
18802 " Aside from dropping the\n"
18803 " side functionality this is a more powerful form of plot3d: the surface\n"
18804 " mesh can be colored accordingly to the current z value being plotted,\n"
18805 " a contour plot can be drawn at the base XY plane, and a curtain can be\n"
18806 " drawn between the plotted function border and the base XY plane. The\n"
18807 " arguments are identical to those of plmeshc. The only difference\n"
18808 " between plmeshc and plot3dc is that plmeshc draws the bottom side of\n"
18809 " the surface, while plot3dc only draws the surface as viewed from the\n"
18810 " top.\n"
18811 "\n"
18812 " Redacted form: General: plot3dc(x, y, z, opt, clevel)\n"
18813 "\n"
18814 "\n"
18815 " This function is used in example 21.\n"
18816 "\n"
18817 "\n"
18818 "\n"
18819 "SYNOPSIS:\n"
18820 "\n"
18821 "plot3dc(x, y, z, nx, ny, opt, clevel, nlevel)\n"
18822 "\n"
18823 "ARGUMENTS:\n"
18824 "\n"
18825 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18826 " which the function is evaluated.\n"
18827 "\n"
18828 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18829 " which the function is evaluated.\n"
18830 "\n"
18831 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18832 " plot. Should have dimensions of\n"
18833 " nx by\n"
18834 " ny.\n"
18835 "\n"
18836 " nx (PLINT, input) : Number of x values at which function is\n"
18837 " evaluated.\n"
18838 "\n"
18839 " ny (PLINT, input) : Number of y values at which function is\n"
18840 " evaluated.\n"
18841 "\n"
18842 " opt (PLINT, input) : Determines the way in which the surface is\n"
18843 " represented. To specify more than one option just add the options,\n"
18844 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
18845 " showing z as a function of x for each value of y[j] .\n"
18846 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18847 " for each value of x[i] .\n"
18848 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18849 " at which function is defined.\n"
18850 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
18851 " the z value being plotted. The color is used from the current\n"
18852 " cmap1.\n"
18853 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18854 " using parameters\n"
18855 " nlevel and\n"
18856 " clevel.\n"
18857 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18858 " the borders of the plotted function.\n"
18859 "\n"
18860 "\n"
18861 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18862 " levels.\n"
18863 "\n"
18864 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18865 "\n"
18866 ""},
18867 { "plot3dcl", _wrap_plot3dcl, METH_VARARGS, "\n"
18868 "Magnitude colored plot surface with contour for z[x][y] with y index limits\n"
18869 "\n"
18870 "DESCRIPTION:\n"
18871 "\n"
18872 " When the implementation is completed this variant of plot3dc (see that\n"
18873 " function's documentation for more details) should be suitable for the\n"
18874 " case where the area of the x, y coordinate grid where z is defined can\n"
18875 " be non-rectangular. The implementation is incomplete so the last 4\n"
18876 " parameters of plot3dcl; indexxmin, indexxmax, indexymin, and\n"
18877 " indexymax; are currently ignored and the functionality is otherwise\n"
18878 " identical to that of plot3dc.\n"
18879 "\n"
18880 " Redacted form: General: plot3dcl(x, y, z, opt, clevel, indexxmin,\n"
18881 " indexymin, indexymax)\n"
18882 "\n"
18883 "\n"
18884 " This function is not used in any example.\n"
18885 "\n"
18886 "\n"
18887 "\n"
18888 "SYNOPSIS:\n"
18889 "\n"
18890 "plot3dcl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n"
18891 "\n"
18892 "ARGUMENTS:\n"
18893 "\n"
18894 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18895 " which the function is evaluated.\n"
18896 "\n"
18897 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18898 " which the function is evaluated.\n"
18899 "\n"
18900 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18901 " plot. Should have dimensions of\n"
18902 " nx by\n"
18903 " ny.\n"
18904 "\n"
18905 " nx (PLINT, input) : Number of x values at which the function is\n"
18906 " evaluated.\n"
18907 "\n"
18908 " ny (PLINT, input) : Number of y values at which the function is\n"
18909 " evaluated.\n"
18910 "\n"
18911 " opt (PLINT, input) : Determines the way in which the surface is\n"
18912 " represented. To specify more than one option just add the options,\n"
18913 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
18914 " showing z as a function of x for each value of y[j] .\n"
18915 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18916 " for each value of x[i] .\n"
18917 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18918 " at which function is defined.\n"
18919 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
18920 " the z value being plotted. The color is used from the current\n"
18921 " cmap1.\n"
18922 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18923 " using parameters\n"
18924 " nlevel and\n"
18925 " clevel.\n"
18926 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18927 " the borders of the plotted function.\n"
18928 "\n"
18929 "\n"
18930 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18931 " levels.\n"
18932 "\n"
18933 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18934 "\n"
18935 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n"
18936 " corresponds to the first x index where z is defined.\n"
18937 "\n"
18938 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n"
18939 " which corresponds (by convention) to one more than the last x\n"
18940 " index value where z is defined.\n"
18941 "\n"
18942 " indexymin (PLINT_VECTOR, input) : A vector containing y index\n"
18943 " values which all must be ≥ 0. These values are the first y index\n"
18944 " where z is defined for a particular x index in the range from\n"
18945 " indexxmin to indexxmax - 1. The dimension of indexymin is\n"
18946 " indexxmax.\n"
18947 "\n"
18948 " indexymax (PLINT_VECTOR, input) : A vector containing y index\n"
18949 " values which all must be ≤ ny. These values correspond (by\n"
18950 " convention) to one more than the last y index where z is defined\n"
18951 " for a particular x index in the range from indexxmin to indexxmax\n"
18952 " - 1. The dimension of indexymax is indexxmax.\n"
18953 "\n"
18954 ""},
18955 { "plsurf3d", _wrap_plsurf3d, METH_VARARGS, "\n"
18956 "Plot shaded 3-d surface plot\n"
18957 "\n"
18958 "DESCRIPTION:\n"
18959 "\n"
18960 " Plots a three-dimensional shaded surface plot within the environment\n"
18961 " set up by plw3d. The surface is defined by the two-dimensional matrix\n"
18962 " z[\n"
18963 " nx][\n"
18964 " ny], the point z[i][j] being the value of the function at (\n"
18965 " x[i],\n"
18966 " y[j]). Note that the points in vectors x and y do not need to be\n"
18967 " equally spaced, but must be stored in ascending order. For further\n"
18968 " details see the PLplot documentation.\n"
18969 "\n"
18970 " Redacted form: plsurf3d(x, y, z, opt, clevel)\n"
18971 "\n"
18972 " This function is not used in any examples.\n"
18973 "\n"
18974 "\n"
18975 "\n"
18976 "SYNOPSIS:\n"
18977 "\n"
18978 "plsurf3d(x, y, z, nx, ny, opt, clevel, nlevel)\n"
18979 "\n"
18980 "ARGUMENTS:\n"
18981 "\n"
18982 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18983 " which the function is evaluated.\n"
18984 "\n"
18985 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18986 " which the function is evaluated.\n"
18987 "\n"
18988 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18989 " plot. Should have dimensions of\n"
18990 " nx by\n"
18991 " ny.\n"
18992 "\n"
18993 " nx (PLINT, input) : Number of x values at which function is\n"
18994 " evaluated.\n"
18995 "\n"
18996 " ny (PLINT, input) : Number of y values at which function is\n"
18997 " evaluated.\n"
18998 "\n"
18999 " opt (PLINT, input) : Determines the way in which the surface is\n"
19000 " represented. To specify more than one option just add the options,\n"
19001 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n"
19002 " connecting points at which function is defined.\n"
19003 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
19004 " using parameters\n"
19005 " nlevel and\n"
19006 " clevel.\n"
19007 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n"
19008 " using parameters\n"
19009 " nlevel and\n"
19010 " clevel.\n"
19011 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
19012 " the borders of the plotted function.\n"
19013 " opt=MAG_COLOR : the surface is colored according to the value\n"
19014 " of Z; if MAG_COLOR is not used, then the surface is colored\n"
19015 " according to the intensity of the reflected light in the\n"
19016 " surface from a light source whose position is set using\n"
19017 " pllightsource.\n"
19018 "\n"
19019 "\n"
19020 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
19021 " levels.\n"
19022 "\n"
19023 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
19024 "\n"
19025 ""},
19026 { "plsurf3dl", _wrap_plsurf3dl, METH_VARARGS, "\n"
19027 "Plot shaded 3-d surface plot for z[x][y] with y index limits\n"
19028 "\n"
19029 "DESCRIPTION:\n"
19030 "\n"
19031 " This variant of plsurf3d (see that function's documentation for more\n"
19032 " details) should be suitable for the case where the area of the x, y\n"
19033 " coordinate grid where z is defined can be non-rectangular. The limits\n"
19034 " of that grid are provided by the parameters indexxmin, indexxmax,\n"
19035 " indexymin, and indexymax.\n"
19036 "\n"
19037 " Redacted form: plsurf3dl(x, y, z, opt, clevel, indexxmin, indexymin,\n"
19038 " indexymax)\n"
19039 "\n"
19040 " This function is used in example 8.\n"
19041 "\n"
19042 "\n"
19043 "\n"
19044 "SYNOPSIS:\n"
19045 "\n"
19046 "plsurf3dl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n"
19047 "\n"
19048 "ARGUMENTS:\n"
19049 "\n"
19050 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
19051 " which the function is evaluated.\n"
19052 "\n"
19053 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
19054 " which the function is evaluated.\n"
19055 "\n"
19056 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
19057 " plot. Should have dimensions of\n"
19058 " nx by\n"
19059 " ny.\n"
19060 "\n"
19061 " nx (PLINT, input) : Number of x values at which function is\n"
19062 " evaluated.\n"
19063 "\n"
19064 " ny (PLINT, input) : Number of y values at which function is\n"
19065 " evaluated.\n"
19066 "\n"
19067 " opt (PLINT, input) : Determines the way in which the surface is\n"
19068 " represented. To specify more than one option just add the options,\n"
19069 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n"
19070 " connecting points at which function is defined.\n"
19071 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
19072 " using parameters\n"
19073 " nlevel and\n"
19074 " clevel.\n"
19075 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n"
19076 " using parameters\n"
19077 " nlevel and\n"
19078 " clevel.\n"
19079 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
19080 " the borders of the plotted function.\n"
19081 " opt=MAG_COLOR : the surface is colored according to the value\n"
19082 " of Z; if MAG_COLOR is not used, then the surface is colored\n"
19083 " according to the intensity of the reflected light in the\n"
19084 " surface from a light source whose position is set using\n"
19085 " pllightsource.\n"
19086 "\n"
19087 "\n"
19088 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
19089 " levels.\n"
19090 "\n"
19091 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
19092 "\n"
19093 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n"
19094 " corresponds to the first x index where z is defined.\n"
19095 "\n"
19096 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n"
19097 " which corresponds (by convention) to one more than the last x\n"
19098 " index value where z is defined.\n"
19099 "\n"
19100 " indexymin (PLINT_VECTOR, input) : A vector containing the y index\n"
19101 " values which all must be ≥ 0. These values are the first y index\n"
19102 " where z is defined for a particular x index in the range from\n"
19103 " indexxmin to indexxmax - 1. The dimension of indexymin is\n"
19104 " indexxmax.\n"
19105 "\n"
19106 " indexymax (PLINT_VECTOR, input) : A vector containing the y index\n"
19107 " values which all must be ≤ ny. These values correspond (by\n"
19108 " convention) to one more than the last y index where z is defined\n"
19109 " for a particular x index in the range from indexxmin to indexxmax\n"
19110 " - 1. The dimension of indexymax is indexxmax.\n"
19111 "\n"
19112 ""},
19113 { "plparseopts", _wrap_plparseopts, METH_VARARGS, "\n"
19114 "Parse command-line arguments\n"
19115 "\n"
19116 "DESCRIPTION:\n"
19117 "\n"
19118 " Parse command-line arguments.\n"
19119 "\n"
19120 " plparseopts removes all recognized flags (decreasing argc\n"
19121 " accordingly), so that invalid input may be readily detected. It can\n"
19122 " also be used to process user command line flags. The user can merge\n"
19123 " an option table of type PLOptionTable into the internal option table\n"
19124 " info structure using plMergeOpts. Or, the user can specify that ONLY\n"
19125 " the external table(s) be parsed by calling plClearOpts before\n"
19126 " plMergeOpts.\n"
19127 "\n"
19128 " The default action taken by plparseopts is as follows:\n"
19129 " Returns with an error if an unrecognized option or badly formed\n"
19130 " option-value pair are encountered.\n"
19131 " Returns immediately (return code 0) when the first non-option command\n"
19132 " line argument is found.\n"
19133 " Returns with the return code of the option handler, if one was called.\n"
19134 "\n"
19135 " Deletes command line arguments from argv list as they are found, and\n"
19136 " decrements argc accordingly.\n"
19137 " Does not show \"invisible\" options in usage or help messages.\n"
19138 " Assumes the program name is contained in argv[0].\n"
19139 "\n"
19140 " These behaviors may be controlled through the\n"
19141 " mode argument.\n"
19142 "\n"
19143 " Redacted form: General: plparseopts(argv, mode)\n"
19144 "\n"
19145 "\n"
19146 " This function is used in all of the examples.\n"
19147 "\n"
19148 "\n"
19149 "\n"
19150 "SYNOPSIS:\n"
19151 "\n"
19152 "PLINT plparseopts(p_argc, argv, mode)\n"
19153 "\n"
19154 "ARGUMENTS:\n"
19155 "\n"
19156 " p_argc (int *, input/output) : Number of arguments.\n"
19157 "\n"
19158 " argv (PLCHAR_NC_MATRIX, input/output) : A vector of character\n"
19159 " strings containing *p_argc command-line arguments.\n"
19160 "\n"
19161 " mode (PLINT, input) : Parsing mode with the following\n"
19162 " possibilities: PL_PARSE_FULL (1) -- Full parsing of command line\n"
19163 " and all error messages enabled, including program exit when an\n"
19164 " error occurs. Anything on the command line that isn't recognized\n"
19165 " as a valid option or option argument is flagged as an error.\n"
19166 " PL_PARSE_QUIET (2) -- Turns off all output except in the case\n"
19167 " of errors.\n"
19168 " PL_PARSE_NODELETE (4) -- Turns off deletion of processed\n"
19169 " arguments.\n"
19170 " PL_PARSE_SHOWALL (8) -- Show invisible options\n"
19171 " PL_PARSE_NOPROGRAM (32) -- Specified if argv[0] is NOT a\n"
19172 " pointer to the program name.\n"
19173 " PL_PARSE_NODASH (64) -- Set if leading dash is NOT required.\n"
19174 " PL_PARSE_SKIP (128) -- Set to quietly skip over any\n"
19175 " unrecognized arguments.\n"
19176 "\n"
19177 ""},
19178 { "plpat", _wrap_plpat, METH_VARARGS, "\n"
19179 "Set area line fill pattern\n"
19180 "\n"
19181 "DESCRIPTION:\n"
19182 "\n"
19183 " Sets the area line fill pattern to be used, e.g., for calls to plfill.\n"
19184 " The pattern consists of 1 or 2 sets of parallel lines with specified\n"
19185 " inclinations and spacings. The arguments to this routine are the\n"
19186 " number of sets to use (1 or 2) followed by two vectors (with 1 or 2\n"
19187 " elements) specifying the inclinations in tenths of a degree and the\n"
19188 " spacing in micrometers. (See also plpsty)\n"
19189 "\n"
19190 " Redacted form: General: plpat(inc, del)\n"
19191 "\n"
19192 "\n"
19193 " This function is used in example 15.\n"
19194 "\n"
19195 "\n"
19196 "\n"
19197 "SYNOPSIS:\n"
19198 "\n"
19199 "plpat(nlin, inc, del)\n"
19200 "\n"
19201 "ARGUMENTS:\n"
19202 "\n"
19203 " nlin (PLINT, input) : Number of sets of lines making up the\n"
19204 " pattern, either 1 or 2.\n"
19205 "\n"
19206 " inc (PLINT_VECTOR, input) : A vector containing nlin values of the\n"
19207 " inclination in tenths of a degree. (Should be between -900 and\n"
19208 " 900).\n"
19209 "\n"
19210 " del (PLINT_VECTOR, input) : A vector containing nlin values of the\n"
19211 " spacing in micrometers between the lines making up the pattern.\n"
19212 "\n"
19213 ""},
19214 { "plpath", _wrap_plpath, METH_VARARGS, "\n"
19215 "Draw a line between two points, accounting for coordinate transforms\n"
19216 "\n"
19217 "DESCRIPTION:\n"
19218 "\n"
19219 " Joins the point (\n"
19220 " x1,\n"
19221 " y1) to (\n"
19222 " x2,\n"
19223 " y2) . If a global coordinate transform is defined then the line is\n"
19224 " broken in to n segments to approximate the path. If no transform is\n"
19225 " defined then this simply acts like a call to pljoin.\n"
19226 "\n"
19227 " Redacted form: plpath(n,x1,y1,x2,y2)\n"
19228 "\n"
19229 " This function is used in example 22.\n"
19230 "\n"
19231 "\n"
19232 "\n"
19233 "SYNOPSIS:\n"
19234 "\n"
19235 "plpath(n, x1, y1, x2, y2)\n"
19236 "\n"
19237 "ARGUMENTS:\n"
19238 "\n"
19239 " n (PLINT, input) : number of points to use to approximate the path.\n"
19240 "\n"
19241 " x1 (PLFLT, input) : x coordinate of first point.\n"
19242 "\n"
19243 " y1 (PLFLT, input) : y coordinate of first point.\n"
19244 "\n"
19245 " x2 (PLFLT, input) : x coordinate of second point.\n"
19246 "\n"
19247 " y2 (PLFLT, input) : y coordinate of second point.\n"
19248 "\n"
19249 ""},
19250 { "plpoin", _wrap_plpoin, METH_VARARGS, "\n"
19251 "Plot a glyph at the specified points\n"
19252 "\n"
19253 "DESCRIPTION:\n"
19254 "\n"
19255 " Plot a glyph at the specified points. (This function is largely\n"
19256 " superseded by plstring which gives access to many[!] more glyphs.)\n"
19257 " code=-1 means try to just draw a point. Right now it's just a move\n"
19258 " and a draw at the same place. Not ideal, since a sufficiently\n"
19259 " intelligent output device may optimize it away, or there may be faster\n"
19260 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n"
19261 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n"
19262 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n"
19263 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n"
19264 " code <= 127 the corresponding printable ASCII character is plotted.\n"
19265 "\n"
19266 " Redacted form: plpoin(x, y, code)\n"
19267 "\n"
19268 " This function is used in examples 1, 6, 14, and 29.\n"
19269 "\n"
19270 "\n"
19271 "\n"
19272 "SYNOPSIS:\n"
19273 "\n"
19274 "plpoin(n, x, y, code)\n"
19275 "\n"
19276 "ARGUMENTS:\n"
19277 "\n"
19278 " n (PLINT, input) : Number of points in the x and y vectors.\n"
19279 "\n"
19280 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
19281 " points.\n"
19282 "\n"
19283 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
19284 " points.\n"
19285 "\n"
19286 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n"
19287 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n"
19288 " each of the n points.\n"
19289 "\n"
19290 ""},
19291 { "plpoin3", _wrap_plpoin3, METH_VARARGS, "\n"
19292 "Plot a glyph at the specified 3D points\n"
19293 "\n"
19294 "DESCRIPTION:\n"
19295 "\n"
19296 " Plot a glyph at the specified 3D points. (This function is largely\n"
19297 " superseded by plstring3 which gives access to many[!] more glyphs.)\n"
19298 " Set up the call to this function similar to what is done for plline3.\n"
19299 " code=-1 means try to just draw a point. Right now it's just a move\n"
19300 " and a draw at the same place. Not ideal, since a sufficiently\n"
19301 " intelligent output device may optimize it away, or there may be faster\n"
19302 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n"
19303 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n"
19304 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n"
19305 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n"
19306 " code <= 127 the corresponding printable ASCII character is plotted.\n"
19307 "\n"
19308 " Redacted form: plpoin3(x, y, z, code)\n"
19309 "\n"
19310 " This function is not used in any example.\n"
19311 "\n"
19312 "\n"
19313 "\n"
19314 "SYNOPSIS:\n"
19315 "\n"
19316 "plpoin3(n, x, y, z, code)\n"
19317 "\n"
19318 "ARGUMENTS:\n"
19319 "\n"
19320 " n (PLINT, input) : Number of points in the x and y vectors.\n"
19321 "\n"
19322 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
19323 " points.\n"
19324 "\n"
19325 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
19326 " points.\n"
19327 "\n"
19328 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
19329 " points.\n"
19330 "\n"
19331 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n"
19332 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n"
19333 " each of the n points.\n"
19334 "\n"
19335 ""},
19336 { "plpoly3", _wrap_plpoly3, METH_VARARGS, "\n"
19337 "Draw a polygon in 3 space\n"
19338 "\n"
19339 "DESCRIPTION:\n"
19340 "\n"
19341 " Draws a polygon in 3 space defined by n points in x, y, and z. Setup\n"
19342 " like plline3, but differs from that function in that plpoly3 attempts\n"
19343 " to determine if the polygon is viewable depending on the order of the\n"
19344 " points within the vector and the value of ifcc. If the back of\n"
19345 " polygon is facing the viewer, then it isn't drawn. If this isn't what\n"
19346 " you want, then use plline3 instead.\n"
19347 "\n"
19348 " The points are assumed to be in a plane, and the directionality of the\n"
19349 " plane is determined from the first three points. Additional points do\n"
19350 " not have to lie on the plane defined by the first three, but if they\n"
19351 " do not, then the determination of visibility obviously can't be 100%\n"
19352 " accurate... So if you're 3 space polygons are too far from planar,\n"
19353 " consider breaking them into smaller polygons. 3 points define a plane\n"
19354 " :-).\n"
19355 "\n"
19356 " Bugs: If one of the first two segments is of zero length, or if they\n"
19357 " are co-linear, the calculation of visibility has a 50/50 chance of\n"
19358 " being correct. Avoid such situations :-). See x18c.c for an example\n"
19359 " of this problem. (Search for 20.1).\n"
19360 "\n"
19361 " Redacted form: plpoly3(x, y, z, code)\n"
19362 "\n"
19363 " This function is used in example 18.\n"
19364 "\n"
19365 "\n"
19366 "\n"
19367 "SYNOPSIS:\n"
19368 "\n"
19369 "plpoly3(n, x, y, z, draw, ifcc)\n"
19370 "\n"
19371 "ARGUMENTS:\n"
19372 "\n"
19373 " n (PLINT, input) : Number of points defining line.\n"
19374 "\n"
19375 " x (PLFLT_VECTOR, input) : A vector containing\n"
19376 " n x coordinates of points.\n"
19377 "\n"
19378 " y (PLFLT_VECTOR, input) : A vector containing\n"
19379 " n y coordinates of points.\n"
19380 "\n"
19381 " z (PLFLT_VECTOR, input) : A vector containing\n"
19382 " n z coordinates of points.\n"
19383 "\n"
19384 " draw (PLBOOL_VECTOR, input) : A vector containing\n"
19385 " n-1 Boolean values which control drawing the segments of the polygon.\n"
19386 " If draw[i] is true, then the polygon segment from index [i] to\n"
19387 " [i+1] is drawn, otherwise, not.\n"
19388 "\n"
19389 " ifcc (PLBOOL, input) : If ifcc is true the directionality of the\n"
19390 " polygon is determined by assuming the points are laid out in a\n"
19391 " counter-clockwise order. Otherwise, the directionality of the\n"
19392 " polygon is determined by assuming the points are laid out in a\n"
19393 " clockwise order.\n"
19394 "\n"
19395 ""},
19396 { "plprec", _wrap_plprec, METH_VARARGS, "\n"
19397 "Set precision in numeric labels\n"
19398 "\n"
19399 "DESCRIPTION:\n"
19400 "\n"
19401 " Sets the number of places after the decimal point in numeric labels.\n"
19402 "\n"
19403 " Redacted form: plprec(setp, prec)\n"
19404 "\n"
19405 " This function is used in example 29.\n"
19406 "\n"
19407 "\n"
19408 "\n"
19409 "SYNOPSIS:\n"
19410 "\n"
19411 "plprec(setp, prec)\n"
19412 "\n"
19413 "ARGUMENTS:\n"
19414 "\n"
19415 " setp (PLINT, input) : If setp is equal to 0 then PLplot\n"
19416 " automatically determines the number of places to use after the\n"
19417 " decimal point in numeric labels (like those used to label axes).\n"
19418 " If setp is 1 then prec sets the number of places.\n"
19419 "\n"
19420 " prec (PLINT, input) : The number of characters to draw after the\n"
19421 " decimal point in numeric labels.\n"
19422 "\n"
19423 ""},
19424 { "plpsty", _wrap_plpsty, METH_O, "\n"
19425 "Select area fill pattern\n"
19426 "\n"
19427 "DESCRIPTION:\n"
19428 "\n"
19429 " If\n"
19430 " patt is zero or less use either a hardware solid fill if the drivers\n"
19431 " have that capability (virtually all do) or fall back to a software\n"
19432 " emulation of a solid fill using the eighth area line fill pattern. If\n"
19433 " 0 <\n"
19434 " patt <= 8, then select one of eight predefined area line fill patterns\n"
19435 " to use (see plpat if you desire other patterns).\n"
19436 "\n"
19437 " Redacted form: plpsty(patt)\n"
19438 "\n"
19439 " This function is used in examples 12, 13, 15, 16, and 25.\n"
19440 "\n"
19441 "\n"
19442 "\n"
19443 "SYNOPSIS:\n"
19444 "\n"
19445 "plpsty(patt)\n"
19446 "\n"
19447 "ARGUMENTS:\n"
19448 "\n"
19449 " patt (PLINT, input) : The desired pattern index. If\n"
19450 " patt is zero or less, then a solid fill is (normally, see qualifiers\n"
19451 " above) used. For\n"
19452 " patt in the range from 1 to 8 and assuming the driver has not supplied\n"
19453 " line fill capability itself (most deliberately do not so that line\n"
19454 " fill patterns look identical for those drivers), the patterns\n"
19455 " consist of (1) horizontal lines, (2) vertical lines, (3) lines at\n"
19456 " 45 degrees, (4) lines at -45 degrees, (5) lines at 30 degrees, (6)\n"
19457 " lines at -30 degrees, (7) both vertical and horizontal lines, and\n"
19458 " (8) lines at both 45 degrees and -45 degrees.\n"
19459 "\n"
19460 ""},
19461 { "plptex", _wrap_plptex, METH_VARARGS, "\n"
19462 "Write text inside the viewport\n"
19463 "\n"
19464 "DESCRIPTION:\n"
19465 "\n"
19466 " Writes text at a specified position and inclination within the\n"
19467 " viewport. Text is clipped at the viewport boundaries. The reference\n"
19468 " point of a string lies along a line passing through the string at half\n"
19469 " the height of a capital letter. The position of the reference point\n"
19470 " along this line is determined by just, the reference point is placed\n"
19471 " at world coordinates (\n"
19472 " x,\n"
19473 " y) within the viewport. The inclination of the string is specified\n"
19474 " in terms of differences of world coordinates making it easy to write\n"
19475 " text parallel to a line in a graph.\n"
19476 "\n"
19477 " Redacted form: plptex(x, y, dx, dy, just, text)\n"
19478 "\n"
19479 " This function is used in example 2-4,10,12-14,20,23,24,26.\n"
19480 "\n"
19481 "\n"
19482 "\n"
19483 "SYNOPSIS:\n"
19484 "\n"
19485 "plptex(x, y, dx, dy, just, text)\n"
19486 "\n"
19487 "ARGUMENTS:\n"
19488 "\n"
19489 " x (PLFLT, input) : x coordinate of reference point of string.\n"
19490 "\n"
19491 " y (PLFLT, input) : y coordinate of reference point of string.\n"
19492 "\n"
19493 " dx (PLFLT, input) : Together with dy, this specifies the\n"
19494 " inclination of the string. The baseline of the string is parallel\n"
19495 " to a line joining (\n"
19496 " x,\n"
19497 " y) to (\n"
19498 " x+\n"
19499 " dx,\n"
19500 " y+\n"
19501 " dy) .\n"
19502 "\n"
19503 " dy (PLFLT, input) : Together with dx, this specifies the\n"
19504 " inclination of the string.\n"
19505 "\n"
19506 " just (PLFLT, input) : Specifies the position of the string relative\n"
19507 " to its reference point. If just=0. , the reference point is at\n"
19508 " the left and if just=1. , it is at the right of the string. Other\n"
19509 " values of just give intermediate justifications.\n"
19510 "\n"
19511 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
19512 " written out.\n"
19513 "\n"
19514 ""},
19515 { "plptex3", _wrap_plptex3, METH_VARARGS, "\n"
19516 "Write text inside the viewport of a 3D plot\n"
19517 "\n"
19518 "DESCRIPTION:\n"
19519 "\n"
19520 " Writes text at a specified position and inclination and with a\n"
19521 " specified shear within the viewport. Text is clipped at the viewport\n"
19522 " boundaries. The reference point of a string lies along a line passing\n"
19523 " through the string at half the height of a capital letter. The\n"
19524 " position of the reference point along this line is determined by just,\n"
19525 " and the reference point is placed at world coordinates (\n"
19526 " wx,\n"
19527 " wy,\n"
19528 " wz) within the viewport. The inclination and shear of the string is\n"
19529 " specified in terms of differences of world coordinates making it easy\n"
19530 " to write text parallel to a line in a graph.\n"
19531 "\n"
19532 " Redacted form: plptex3(x, y, z, dx, dy, dz, sx, sy, sz, just, text)\n"
19533 "\n"
19534 " This function is used in example 28.\n"
19535 "\n"
19536 "\n"
19537 "\n"
19538 "SYNOPSIS:\n"
19539 "\n"
19540 "plptex3(wx, wy, wz, dx, dy, dz, sx, sy, sz, just, text)\n"
19541 "\n"
19542 "ARGUMENTS:\n"
19543 "\n"
19544 " wx (PLFLT, input) : x world coordinate of reference point of\n"
19545 " string.\n"
19546 "\n"
19547 " wy (PLFLT, input) : y world coordinate of reference point of\n"
19548 " string.\n"
19549 "\n"
19550 " wz (PLFLT, input) : z world coordinate of reference point of\n"
19551 " string.\n"
19552 "\n"
19553 " dx (PLFLT, input) : Together with dy and\n"
19554 " dz , this specifies the inclination of the string. The baseline of\n"
19555 " the string is parallel to a line joining (\n"
19556 " x,\n"
19557 " y,\n"
19558 " z) to (\n"
19559 " x+\n"
19560 " dx,\n"
19561 " y+\n"
19562 " dy,\n"
19563 " z+\n"
19564 " dz) .\n"
19565 "\n"
19566 " dy (PLFLT, input) : Together with dx and\n"
19567 " dz, this specifies the inclination of the string.\n"
19568 "\n"
19569 " dz (PLFLT, input) : Together with dx and\n"
19570 " dy, this specifies the inclination of the string.\n"
19571 "\n"
19572 " sx (PLFLT, input) : Together with sy and\n"
19573 " sz , this specifies the shear of the string. The string is sheared so\n"
19574 " that the characters are vertically parallel to a line joining (\n"
19575 " x,\n"
19576 " y,\n"
19577 " z) to (\n"
19578 " x+\n"
19579 " sx,\n"
19580 " y+\n"
19581 " sy,\n"
19582 " z+\n"
19583 " sz) . If sx =\n"
19584 " sy =\n"
19585 " sz = 0.) then the text is not sheared.\n"
19586 "\n"
19587 " sy (PLFLT, input) : Together with sx and\n"
19588 " sz, this specifies shear of the string.\n"
19589 "\n"
19590 " sz (PLFLT, input) : Together with sx and\n"
19591 " sy, this specifies shear of the string.\n"
19592 "\n"
19593 " just (PLFLT, input) : Specifies the position of the string relative\n"
19594 " to its reference point. If just=0. , the reference point is at\n"
19595 " the left and if just=1. , it is at the right of the string. Other\n"
19596 " values of just give intermediate justifications.\n"
19597 "\n"
19598 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
19599 " written out.\n"
19600 "\n"
19601 ""},
19602 { "plrandd", _wrap_plrandd, METH_NOARGS, "\n"
19603 "Random number generator returning a real random number in the range [0,1]\n"
19604 "\n"
19605 "DESCRIPTION:\n"
19606 "\n"
19607 " Random number generator returning a real random number in the range\n"
19608 " [0,1]. The generator is based on the Mersenne Twister. Most languages\n"
19609 " / compilers provide their own random number generator, and so this is\n"
19610 " provided purely for convenience and to give a consistent random number\n"
19611 " generator across all languages supported by PLplot. This is\n"
19612 " particularly useful for comparing results from the test suite of\n"
19613 " examples.\n"
19614 "\n"
19615 " Redacted form: plrandd()\n"
19616 "\n"
19617 " This function is used in examples 17 and 21.\n"
19618 "\n"
19619 "\n"
19620 "\n"
19621 "SYNOPSIS:\n"
19622 "\n"
19623 "plrandd()\n"
19624 "\n"
19625 ""},
19626 { "plreplot", _wrap_plreplot, METH_NOARGS, "\n"
19627 "Replays contents of plot buffer to current device/file\n"
19628 "\n"
19629 "DESCRIPTION:\n"
19630 "\n"
19631 " Replays contents of plot buffer to current device/file.\n"
19632 "\n"
19633 " Redacted form: plreplot()\n"
19634 "\n"
19635 " This function is used in example 1,20.\n"
19636 "\n"
19637 "\n"
19638 "\n"
19639 "SYNOPSIS:\n"
19640 "\n"
19641 "plreplot()\n"
19642 "\n"
19643 ""},
19644 { "plrgbhls", _wrap_plrgbhls, METH_VARARGS, "\n"
19645 "Convert RGB color to HLS\n"
19646 "\n"
19647 "DESCRIPTION:\n"
19648 "\n"
19649 " Convert RGB color coordinates to HLS\n"
19650 "\n"
19651 " Redacted form: General: plrgbhls(r, g, b, p_h, p_l, p_s)\n"
19652 "\n"
19653 "\n"
19654 " This function is used in example 2.\n"
19655 "\n"
19656 "\n"
19657 "\n"
19658 "SYNOPSIS:\n"
19659 "\n"
19660 "plrgbhls(r, g, b, p_h, p_l, p_s)\n"
19661 "\n"
19662 "ARGUMENTS:\n"
19663 "\n"
19664 " r (PLFLT, input) : Red intensity (0.0-1.0) of the color.\n"
19665 "\n"
19666 " g (PLFLT, input) : Green intensity (0.0-1.0) of the color.\n"
19667 "\n"
19668 " b (PLFLT, input) : Blue intensity (0.0-1.0) of the color.\n"
19669 "\n"
19670 " p_h (PLFLT_NC_SCALAR, output) : Returned value of the hue in\n"
19671 " degrees (0.0-360.0) on the color cylinder.\n"
19672 "\n"
19673 " p_l (PLFLT_NC_SCALAR, output) : Returned value of the lightness\n"
19674 " expressed as a fraction (0.0-1.0) of the axis of the color\n"
19675 " cylinder.\n"
19676 "\n"
19677 " p_s (PLFLT_NC_SCALAR, output) : Returned value of the saturation\n"
19678 " expressed as a fraction (0.0-1.0) of the radius of the color\n"
19679 " cylinder.\n"
19680 "\n"
19681 ""},
19682 { "plschr", _wrap_plschr, METH_VARARGS, "\n"
19683 "Set character size\n"
19684 "\n"
19685 "DESCRIPTION:\n"
19686 "\n"
19687 " This sets up the size of all subsequent characters drawn. The actual\n"
19688 " height of a character is the product of the default character size and\n"
19689 " a scaling factor.\n"
19690 "\n"
19691 " Redacted form: plschr(def, scale)\n"
19692 "\n"
19693 " This function is used in examples 2, 13, 23, and 24.\n"
19694 "\n"
19695 "\n"
19696 "\n"
19697 "SYNOPSIS:\n"
19698 "\n"
19699 "plschr(def, scale)\n"
19700 "\n"
19701 "ARGUMENTS:\n"
19702 "\n"
19703 " def (PLFLT, input) : The default height of a character in\n"
19704 " millimeters, should be set to zero if the default height is to\n"
19705 " remain unchanged. For rasterized drivers the dx and dy values\n"
19706 " specified in plspage are used to convert from mm to pixels (note\n"
19707 " the different unit systems used). This dpi aware scaling is not\n"
19708 " implemented for all drivers yet.\n"
19709 "\n"
19710 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
19711 " actual character height.\n"
19712 "\n"
19713 ""},
19714 { "plscmap0", _wrap_plscmap0, METH_VARARGS, "\n"
19715 "Set cmap0 colors by 8-bit RGB values\n"
19716 "\n"
19717 "DESCRIPTION:\n"
19718 "\n"
19719 " Set cmap0 colors using 8-bit RGB values (see the PLplot\n"
19720 " documentation). This sets the entire color map -- only as many colors\n"
19721 " as specified will be allocated.\n"
19722 "\n"
19723 " Redacted form: plscmap0(r, g, b)\n"
19724 "\n"
19725 " This function is used in examples 2 and 24.\n"
19726 "\n"
19727 "\n"
19728 "\n"
19729 "SYNOPSIS:\n"
19730 "\n"
19731 "plscmap0(r, g, b, ncol0)\n"
19732 "\n"
19733 "ARGUMENTS:\n"
19734 "\n"
19735 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19736 " integers (0-255) representing the degree of red in the color.\n"
19737 "\n"
19738 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19739 " integers (0-255) representing the degree of green in the color.\n"
19740 "\n"
19741 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19742 " integers (0-255) representing the degree of blue in the color.\n"
19743 "\n"
19744 " ncol0 (PLINT, input) : Number of items in the r, g, and b vectors.\n"
19745 "\n"
19746 ""},
19747 { "plscmap0a", _wrap_plscmap0a, METH_VARARGS, "\n"
19748 "Set cmap0 colors by 8-bit RGB values and PLFLT alpha transparency value\n"
19749 "\n"
19750 "DESCRIPTION:\n"
19751 "\n"
19752 " Set cmap0 colors using 8-bit RGB values (see the PLplot documentation)\n"
19753 " and PLFLT alpha transparency value. This sets the entire color map --\n"
19754 " only as many colors as specified will be allocated.\n"
19755 "\n"
19756 " Redacted form: plscmap0a(r, g, b, alpha)\n"
19757 "\n"
19758 " This function is used in examples 30.\n"
19759 "\n"
19760 "\n"
19761 "\n"
19762 "SYNOPSIS:\n"
19763 "\n"
19764 "plscmap0a(r, g, b, alpha, ncol0)\n"
19765 "\n"
19766 "ARGUMENTS:\n"
19767 "\n"
19768 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19769 " integers (0-255) representing the degree of red in the color.\n"
19770 "\n"
19771 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19772 " integers (0-255) representing the degree of green in the color.\n"
19773 "\n"
19774 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19775 " integers (0-255) representing the degree of blue in the color.\n"
19776 "\n"
19777 " alpha (PLFLT_VECTOR, input) : A vector containing values (0.0-1.0)\n"
19778 " representing the alpha transparency of the color.\n"
19779 "\n"
19780 " ncol0 (PLINT, input) : Number of items in the r, g, b, and alpha\n"
19781 " vectors.\n"
19782 "\n"
19783 ""},
19784 { "plscmap0n", _wrap_plscmap0n, METH_O, "\n"
19785 "Set number of colors in cmap0\n"
19786 "\n"
19787 "DESCRIPTION:\n"
19788 "\n"
19789 " Set number of colors in cmap0 (see the PLplot documentation). Allocate\n"
19790 " (or reallocate) cmap0, and fill with default values for those colors\n"
19791 " not previously allocated. The first 16 default colors are given in\n"
19792 " the plcol0 documentation. For larger indices the default color is\n"
19793 " red.\n"
19794 "\n"
19795 " The drivers are not guaranteed to support more than 16 colors.\n"
19796 "\n"
19797 " Redacted form: plscmap0n(ncol0)\n"
19798 "\n"
19799 " This function is used in examples 15, 16, and 24.\n"
19800 "\n"
19801 "\n"
19802 "\n"
19803 "SYNOPSIS:\n"
19804 "\n"
19805 "plscmap0n(ncol0)\n"
19806 "\n"
19807 "ARGUMENTS:\n"
19808 "\n"
19809 " ncol0 (PLINT, input) : Number of colors that will be allocated in\n"
19810 " the cmap0 palette. If this number is zero or less, then the value\n"
19811 " from the previous call to plscmap0n is used and if there is no\n"
19812 " previous call, then a default value is used.\n"
19813 "\n"
19814 ""},
19815 { "plscmap1", _wrap_plscmap1, METH_VARARGS, "\n"
19816 "Set opaque RGB cmap1 colors values\n"
19817 "\n"
19818 "DESCRIPTION:\n"
19819 "\n"
19820 " Set opaque cmap1 colors (see the PLplot documentation) using RGB\n"
19821 " vector values. This function also sets the number of cmap1 colors.\n"
19822 " N.B. Continuous cmap1 colors are indexed with a floating-point index\n"
19823 " in the range from 0.0-1.0 which is linearly transformed (e.g., by\n"
19824 " plcol1) to an integer index of these RGB vectors in the range from 0\n"
19825 " to\n"
19826 " ncol1-1. So in order for this continuous color model to work\n"
19827 " properly, it is the responsibility of the user of plscmap1 to insure\n"
19828 " that these RGB vectors are continuous functions of their integer\n"
19829 " indices.\n"
19830 "\n"
19831 " Redacted form: plscmap1(r, g, b)\n"
19832 "\n"
19833 " This function is used in example 31.\n"
19834 "\n"
19835 "\n"
19836 "\n"
19837 "SYNOPSIS:\n"
19838 "\n"
19839 "plscmap1(r, g, b, ncol1)\n"
19840 "\n"
19841 "ARGUMENTS:\n"
19842 "\n"
19843 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19844 " 8-bit integers in the range from 0-255) the degree of red in the\n"
19845 " color as a continuous function of the integer index of the vector.\n"
19846 "\n"
19847 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19848 " 8-bit integers in the range from 0-255) the degree of green in the\n"
19849 " color as a continuous function of the integer index of the vector.\n"
19850 "\n"
19851 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19852 " 8-bit integers in the range from 0-255) the degree of blue in the\n"
19853 " color as a continuous function of the integer index of the vector.\n"
19854 "\n"
19855 " ncol1 (PLINT, input) : Number of items in the r, g, and b vectors.\n"
19856 "\n"
19857 ""},
19858 { "plscmap1a", _wrap_plscmap1a, METH_VARARGS, "\n"
19859 "Set semitransparent cmap1 RGBA colors.\n"
19860 "\n"
19861 "DESCRIPTION:\n"
19862 "\n"
19863 " Set semitransparent cmap1 colors (see the PLplot documentation) using\n"
19864 " RGBA vector values. This function also sets the number of cmap1\n"
19865 " colors. N.B. Continuous cmap1 colors are indexed with a\n"
19866 " floating-point index in the range from 0.0-1.0 which is linearly\n"
19867 " transformed (e.g., by plcol1) to an integer index of these RGBA\n"
19868 " vectors in the range from 0 to\n"
19869 " ncol1-1. So in order for this continuous color model to work\n"
19870 " properly, it is the responsibility of the user of plscmap1 to insure\n"
19871 " that these RGBA vectors are continuous functions of their integer\n"
19872 " indices.\n"
19873 "\n"
19874 " Redacted form: plscmap1a(r, g, b, alpha)\n"
19875 "\n"
19876 " This function is used in example 31.\n"
19877 "\n"
19878 "\n"
19879 "\n"
19880 "SYNOPSIS:\n"
19881 "\n"
19882 "plscmap1a(r, g, b, alpha, ncol1)\n"
19883 "\n"
19884 "ARGUMENTS:\n"
19885 "\n"
19886 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19887 " 8-bit integers in the range from 0-255) the degree of red in the\n"
19888 " color as a continuous function of the integer index of the vector.\n"
19889 "\n"
19890 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19891 " 8-bit integers in the range from 0-255) the degree of green in the\n"
19892 " color as a continuous function of the integer index of the vector.\n"
19893 "\n"
19894 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19895 " 8-bit integers in the range from 0-255) the degree of blue in the\n"
19896 " color as a continuous function of the integer index of the vector.\n"
19897 "\n"
19898 " alpha (PLFLT_VECTOR, input) : A vector that represents (using PLFLT\n"
19899 " values in the range from 0.0-1.0 where 0.0 corresponds to\n"
19900 " completely transparent and 1.0 corresponds to completely opaque)\n"
19901 " the alpha transparency of the color as a continuous function of\n"
19902 " the integer index of the vector.\n"
19903 "\n"
19904 " ncol1 (PLINT, input) : Number of items in the r, g, b, and alpha\n"
19905 " vectors.\n"
19906 "\n"
19907 ""},
19908 { "plscmap1l", _wrap_plscmap1l, METH_VARARGS, "\n"
19909 "Set cmap1 colors using a piece-wise linear relationship\n"
19910 "\n"
19911 "DESCRIPTION:\n"
19912 "\n"
19913 " Set cmap1 colors using a piece-wise linear relationship between the\n"
19914 " cmap1 intensity index (0.0-1.0) and position in HLS or RGB color space\n"
19915 " (see the PLplot documentation). May be called at any time.\n"
19916 "\n"
19917 " The idea here is to specify a number of control points that define the\n"
19918 " mapping between input cmap1 intensity indices and HLS or RGB. Between\n"
19919 " these points, linear interpolation is used which gives a smooth\n"
19920 " variation of color with intensity index. Any number of control points\n"
19921 " may be specified, located at arbitrary positions, although typically 2\n"
19922 " - 4 are enough. Another way of stating this is that we are traversing\n"
19923 " a given number of lines through HLS or RGB space as we move through\n"
19924 " cmap1 intensity indices. The control points at the minimum and\n"
19925 " maximum position (0 and 1) must always be specified. By adding more\n"
19926 " control points you can get more variation. One good technique for\n"
19927 " plotting functions that vary about some expected average is to use an\n"
19928 " additional 2 control points in the center (position ~= 0.5) that are\n"
19929 " the same lightness as the background (typically white for paper\n"
19930 " output, black for crt), and same hue as the boundary control points.\n"
19931 " This allows the highs and lows to be very easily distinguished.\n"
19932 "\n"
19933 " Each control point must specify the cmap1 intensity index and the\n"
19934 " associated three coordinates in HLS or RGB space. The first point\n"
19935 " must correspond to position = 0, and the last to position = 1.\n"
19936 "\n"
19937 " If RGB colors are provided then the interpolation takes place in RGB\n"
19938 " space and is trivial. However if HLS colors are provided then, because\n"
19939 " of the circular nature of the color wheel for the hue coordinate, the\n"
19940 " interpolation could be performed in either direction around the color\n"
19941 " wheel. The default behaviour is for the hue to be linearly\n"
19942 " interpolated ignoring this circular property of hue. So for example,\n"
19943 " the hues 0 (red) and 240 (blue) will get interpolated via yellow,\n"
19944 " green and cyan. If instead you wish to interpolate the other way\n"
19945 " around the color wheel you have two options. You may provide hues\n"
19946 " outside the range [0, 360), so by using a hue of -120 for blue or 360\n"
19947 " for red the interpolation will proceed via magenta. Alternatively you\n"
19948 " can utilise the alt_hue_path variable to reverse the direction of\n"
19949 " interpolation if you need to provide hues within the [0-360) range.\n"
19950 "\n"
19951 " Examples of interpolation Huealt_hue_pathcolor scheme[120\n"
19952 " 240]falsegreen-cyan-blue[240 120]falseblue-cyan-green[120\n"
19953 " -120]falsegreen-yellow-red-magenta-blue[240\n"
19954 " 480]falseblue-magenta-red-yellow-green[120\n"
19955 " 240]truegreen-yellow-red-magenta-blue[240\n"
19956 " 120]trueblue-magenta-red-yellow-green\n"
19957 "\n"
19958 " Bounds on coordinatesRGBR[0, 1]magnitudeRGBG[0, 1]magnitudeRGBB[0,\n"
19959 " 1]magnitudeHLShue[0, 360]degreesHLSlightness[0,\n"
19960 " 1]magnitudeHLSsaturation[0, 1]magnitude\n"
19961 "\n"
19962 " Redacted form: plscmap1l(itype, intensity, coord1, coord2, coord3,\n"
19963 " alt_hue_path)\n"
19964 "\n"
19965 " This function is used in examples 8, 11, 12, 15, 20, and 21.\n"
19966 "\n"
19967 "\n"
19968 "\n"
19969 "SYNOPSIS:\n"
19970 "\n"
19971 "plscmap1l(itype, npts, intensity, coord1, coord2, coord3, alt_hue_path)\n"
19972 "\n"
19973 "ARGUMENTS:\n"
19974 "\n"
19975 " itype (PLBOOL, input) : true: RGB, false: HLS.\n"
19976 "\n"
19977 " npts (PLINT, input) : number of control points\n"
19978 "\n"
19979 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n"
19980 " intensity index (0.0-1.0) in ascending order for each control\n"
19981 " point.\n"
19982 "\n"
19983 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n"
19984 " coordinate (H or R) for each control point.\n"
19985 "\n"
19986 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n"
19987 " coordinate (L or G) for each control point.\n"
19988 "\n"
19989 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n"
19990 " coordinate (S or B) for each control point.\n"
19991 "\n"
19992 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n"
19993 " npts - 1 elements), each containing either true to use the reversed\n"
19994 " HLS interpolation or false to use the regular HLS interpolation.\n"
19995 " (alt_hue_path[i] refers to the interpolation interval between the\n"
19996 " i and i + 1 control points). This parameter is not used for RGB\n"
19997 " colors (\n"
19998 " itype = true).\n"
19999 "\n"
20000 ""},
20001 { "plscmap1la", _wrap_plscmap1la, METH_VARARGS, "\n"
20002 "Set cmap1 colors and alpha transparency using a piece-wise linear relationship\n"
20003 "\n"
20004 "DESCRIPTION:\n"
20005 "\n"
20006 " This is a variant of plscmap1l that supports alpha channel\n"
20007 " transparency. It sets cmap1 colors using a piece-wise linear\n"
20008 " relationship between cmap1 intensity index (0.0-1.0) and position in\n"
20009 " HLS or RGB color space (see the PLplot documentation) with alpha\n"
20010 " transparency value (0.0-1.0). It may be called at any time.\n"
20011 "\n"
20012 " Redacted form: plscmap1la(itype, intensity, coord1, coord2, coord3,\n"
20013 " alpha, alt_hue_path)\n"
20014 "\n"
20015 " This function is used in example 30.\n"
20016 "\n"
20017 "\n"
20018 "\n"
20019 "SYNOPSIS:\n"
20020 "\n"
20021 "plscmap1la(itype, npts, intensity, coord1, coord2, coord3, alpha, alt_hue_path)\n"
20022 "\n"
20023 "ARGUMENTS:\n"
20024 "\n"
20025 " itype (PLBOOL, input) : true: RGB, false: HLS.\n"
20026 "\n"
20027 " npts (PLINT, input) : number of control points.\n"
20028 "\n"
20029 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n"
20030 " intensity index (0.0-1.0) in ascending order for each control\n"
20031 " point.\n"
20032 "\n"
20033 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n"
20034 " coordinate (H or R) for each control point.\n"
20035 "\n"
20036 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n"
20037 " coordinate (L or G) for each control point.\n"
20038 "\n"
20039 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n"
20040 " coordinate (S or B) for each control point.\n"
20041 "\n"
20042 " alpha (PLFLT_VECTOR, input) : A vector containing the alpha\n"
20043 " transparency value (0.0-1.0) for each control point.\n"
20044 "\n"
20045 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n"
20046 " npts - 1 elements) containing the alternative interpolation method\n"
20047 " Boolean value for each control point interval. (alt_hue_path[i]\n"
20048 " refers to the interpolation interval between the i and i + 1\n"
20049 " control points).\n"
20050 "\n"
20051 ""},
20052 { "plscmap1n", _wrap_plscmap1n, METH_O, "\n"
20053 "Set number of colors in cmap1\n"
20054 "\n"
20055 "DESCRIPTION:\n"
20056 "\n"
20057 " Set number of colors in cmap1, (re-)allocate cmap1, and set default\n"
20058 " values if this is the first allocation (see the PLplot documentation).\n"
20059 "\n"
20060 " Redacted form: plscmap1n(ncol1)\n"
20061 "\n"
20062 " This function is used in examples 8, 11, 20, and 21.\n"
20063 "\n"
20064 "\n"
20065 "\n"
20066 "SYNOPSIS:\n"
20067 "\n"
20068 "plscmap1n(ncol1)\n"
20069 "\n"
20070 "ARGUMENTS:\n"
20071 "\n"
20072 " ncol1 (PLINT, input) : Number of colors that will be allocated in\n"
20073 " the cmap1 palette. If this number is zero or less, then the value\n"
20074 " from the previous call to plscmap1n is used and if there is no\n"
20075 " previous call, then a default value is used.\n"
20076 "\n"
20077 ""},
20078 { "plscmap1_range", _wrap_plscmap1_range, METH_VARARGS, "\n"
20079 "Set the cmap1 argument range for continuous color plots\n"
20080 "\n"
20081 "DESCRIPTION:\n"
20082 "\n"
20083 " Set the cmap1 argument range for continuous color plots that\n"
20084 " corresponds to the range of data values. The maximum range\n"
20085 " corresponding to the entire cmap1 palette is 0.0-1.0, and the smaller\n"
20086 " the cmap1 argument range that is specified with this routine, the\n"
20087 " smaller the subset of the cmap1 color palette that is used to\n"
20088 " represent the continuous data being plotted. If\n"
20089 " min_color is greater than\n"
20090 " max_color or\n"
20091 " max_color is greater than 1.0 or\n"
20092 " min_color is less than 0.0 then no change is made to the cmap1\n"
20093 " argument range. (Use plgcmap1_range to get the cmap1 argument range.)\n"
20094 "\n"
20095 " Redacted form: plscmap1_range(min_color, max_color)\n"
20096 "\n"
20097 " This function is currently used in example 33.\n"
20098 "\n"
20099 "\n"
20100 "\n"
20101 "SYNOPSIS:\n"
20102 "\n"
20103 "plscmap1_range(min_color, max_color)\n"
20104 "\n"
20105 "ARGUMENTS:\n"
20106 "\n"
20107 " min_color (PLFLT, input) : The minimum cmap1 argument. If less\n"
20108 " than 0.0, then 0.0 is used instead.\n"
20109 "\n"
20110 " max_color (PLFLT, input) : The maximum cmap1 argument. If greater\n"
20111 " than 1.0, then 1.0 is used instead.\n"
20112 "\n"
20113 ""},
20114 { "plgcmap1_range", _wrap_plgcmap1_range, METH_NOARGS, "\n"
20115 "Get the cmap1 argument range for continuous color plots\n"
20116 "\n"
20117 "DESCRIPTION:\n"
20118 "\n"
20119 " Get the cmap1 argument range for continuous color plots. (Use\n"
20120 " plscmap1_range to set the cmap1 argument range.)\n"
20121 "\n"
20122 " Redacted form: plgcmap1_range(min_color, max_color)\n"
20123 "\n"
20124 " This function is currently not used in any example.\n"
20125 "\n"
20126 "\n"
20127 "\n"
20128 "SYNOPSIS:\n"
20129 "\n"
20130 "plgcmap1_range(min_color, max_color)\n"
20131 "\n"
20132 "ARGUMENTS:\n"
20133 "\n"
20134 " min_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n"
20135 " minimum cmap1 argument.\n"
20136 "\n"
20137 " max_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n"
20138 " maximum cmap1 argument.\n"
20139 "\n"
20140 ""},
20141 { "plscol0", _wrap_plscol0, METH_VARARGS, "\n"
20142 "Set 8-bit RGB values for given cmap0 color index\n"
20143 "\n"
20144 "DESCRIPTION:\n"
20145 "\n"
20146 " Set 8-bit RGB values for given cmap0 (see the PLplot documentation)\n"
20147 " index. Overwrites the previous color value for the given index and,\n"
20148 " thus, does not result in any additional allocation of space for\n"
20149 " colors.\n"
20150 "\n"
20151 " Redacted form: plscol0(icol0, r, g, b)\n"
20152 "\n"
20153 " This function is used in any example 31.\n"
20154 "\n"
20155 "\n"
20156 "\n"
20157 "SYNOPSIS:\n"
20158 "\n"
20159 "plscol0(icol0, r, g, b)\n"
20160 "\n"
20161 "ARGUMENTS:\n"
20162 "\n"
20163 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n"
20164 " number of colors (which is set by default, by plscmap0n, or even\n"
20165 " by plscmap0).\n"
20166 "\n"
20167 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20168 " degree of red in the color.\n"
20169 "\n"
20170 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20171 " degree of green in the color.\n"
20172 "\n"
20173 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20174 " degree of blue in the color.\n"
20175 "\n"
20176 ""},
20177 { "plscol0a", _wrap_plscol0a, METH_VARARGS, "\n"
20178 "Set 8-bit RGB values and PLFLT alpha transparency value for given cmap0 color index\n"
20179 "\n"
20180 "DESCRIPTION:\n"
20181 "\n"
20182 " Set 8-bit RGB value and PLFLT alpha transparency value for given cmap0\n"
20183 " (see the PLplot documentation) index. Overwrites the previous color\n"
20184 " value for the given index and, thus, does not result in any additional\n"
20185 " allocation of space for colors.\n"
20186 "\n"
20187 " This function is used in example 30.\n"
20188 "\n"
20189 "\n"
20190 "\n"
20191 "SYNOPSIS:\n"
20192 "\n"
20193 "plscol0a(icol0, r, g, b, alpha)\n"
20194 "\n"
20195 "ARGUMENTS:\n"
20196 "\n"
20197 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n"
20198 " number of colors (which is set by default, by plscmap0n, or even\n"
20199 " by plscmap0).\n"
20200 "\n"
20201 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20202 " degree of red in the color.\n"
20203 "\n"
20204 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20205 " degree of green in the color.\n"
20206 "\n"
20207 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20208 " degree of blue in the color.\n"
20209 "\n"
20210 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n"
20211 " (0.0-1.0).\n"
20212 "\n"
20213 ""},
20214 { "plscolbg", _wrap_plscolbg, METH_VARARGS, "\n"
20215 "Set the background color by 8-bit RGB value\n"
20216 "\n"
20217 "DESCRIPTION:\n"
20218 "\n"
20219 " Set the background color (color 0 in cmap0) by 8-bit RGB value (see\n"
20220 " the PLplot documentation).\n"
20221 "\n"
20222 " Redacted form: plscolbg(r, g, b)\n"
20223 "\n"
20224 " This function is used in examples 15 and 31.\n"
20225 "\n"
20226 "\n"
20227 "\n"
20228 "SYNOPSIS:\n"
20229 "\n"
20230 "plscolbg(r, g, b)\n"
20231 "\n"
20232 "ARGUMENTS:\n"
20233 "\n"
20234 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20235 " degree of red in the color.\n"
20236 "\n"
20237 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20238 " degree of green in the color.\n"
20239 "\n"
20240 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20241 " degree of blue in the color.\n"
20242 "\n"
20243 ""},
20244 { "plscolbga", _wrap_plscolbga, METH_VARARGS, "\n"
20245 "Set the background color by 8-bit RGB value and PLFLT alpha transparency value.\n"
20246 "\n"
20247 "DESCRIPTION:\n"
20248 "\n"
20249 " Set the background color (color 0 in cmap0) by 8-bit RGB value and\n"
20250 " PLFLT alpha transparency value (see the PLplot documentation).\n"
20251 "\n"
20252 " This function is used in example 31.\n"
20253 "\n"
20254 "\n"
20255 "\n"
20256 "SYNOPSIS:\n"
20257 "\n"
20258 "plscolbga(r, g, b, alpha)\n"
20259 "\n"
20260 "ARGUMENTS:\n"
20261 "\n"
20262 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20263 " degree of red in the color.\n"
20264 "\n"
20265 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20266 " degree of green in the color.\n"
20267 "\n"
20268 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20269 " degree of blue in the color.\n"
20270 "\n"
20271 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n"
20272 " (0.0-1.0).\n"
20273 "\n"
20274 ""},
20275 { "plscolor", _wrap_plscolor, METH_O, "\n"
20276 "Used to globally turn color output on/off\n"
20277 "\n"
20278 "DESCRIPTION:\n"
20279 "\n"
20280 " Used to globally turn color output on/off for those drivers/devices\n"
20281 " that support it.\n"
20282 "\n"
20283 " Redacted form: plscolor(color)\n"
20284 "\n"
20285 " This function is used in example 31.\n"
20286 "\n"
20287 "\n"
20288 "\n"
20289 "SYNOPSIS:\n"
20290 "\n"
20291 "plscolor(color)\n"
20292 "\n"
20293 "ARGUMENTS:\n"
20294 "\n"
20295 " color (PLINT, input) : Color flag (Boolean). If zero, color is\n"
20296 " turned off. If non-zero, color is turned on.\n"
20297 "\n"
20298 ""},
20299 { "plscompression", _wrap_plscompression, METH_O, "\n"
20300 "Set device-compression level\n"
20301 "\n"
20302 "DESCRIPTION:\n"
20303 "\n"
20304 " Set device-compression level. Only used for drivers that provide\n"
20305 " compression. This function, if used, should be invoked before a call\n"
20306 " to plinit.\n"
20307 "\n"
20308 " Redacted form: plscompression(compression)\n"
20309 "\n"
20310 " This function is used in example 31.\n"
20311 "\n"
20312 "\n"
20313 "\n"
20314 "SYNOPSIS:\n"
20315 "\n"
20316 "plscompression(compression)\n"
20317 "\n"
20318 "ARGUMENTS:\n"
20319 "\n"
20320 " compression (PLINT, input) : The desired compression level. This is\n"
20321 " a device-dependent value. Currently only the jpeg and png devices\n"
20322 " use these values. For jpeg value is the jpeg quality which should\n"
20323 " normally be in the range 0-95. Higher values denote higher quality\n"
20324 " and hence larger image sizes. For png values are in the range -1\n"
20325 " to 99. Values of 0-9 are taken as the compression level for zlib.\n"
20326 " A value of -1 denotes the default zlib compression level. Values\n"
20327 " in the range 10-99 are divided by 10 and then used as the zlib\n"
20328 " compression level. Higher compression levels correspond to greater\n"
20329 " compression and small file sizes at the expense of more\n"
20330 " computation.\n"
20331 "\n"
20332 ""},
20333 { "plsdev", _wrap_plsdev, METH_O, "\n"
20334 "Set the device (keyword) name\n"
20335 "\n"
20336 "DESCRIPTION:\n"
20337 "\n"
20338 " Set the device (keyword) name.\n"
20339 "\n"
20340 " Redacted form: plsdev(devname)\n"
20341 "\n"
20342 " This function is used in examples 1, 14, and 20.\n"
20343 "\n"
20344 "\n"
20345 "\n"
20346 "SYNOPSIS:\n"
20347 "\n"
20348 "plsdev(devname)\n"
20349 "\n"
20350 "ARGUMENTS:\n"
20351 "\n"
20352 " devname (PLCHAR_VECTOR, input) : An ascii character string\n"
20353 " containing the device name keyword of the required output device.\n"
20354 " If\n"
20355 " devname is NULL or if the first character of the string is a ``?'',\n"
20356 " the normal (prompted) start up is used.\n"
20357 "\n"
20358 ""},
20359 { "plsdidev", _wrap_plsdidev, METH_VARARGS, "\n"
20360 "Set parameters that define current device-space window\n"
20361 "\n"
20362 "DESCRIPTION:\n"
20363 "\n"
20364 " Set relative margin width, aspect ratio, and relative justification\n"
20365 " that define current device-space window. If you want to just use the\n"
20366 " previous value for any of these, just pass in the magic value\n"
20367 " PL_NOTSET. It is unlikely that one should ever need to change the\n"
20368 " aspect ratio but it's in there for completeness. If plsdidev is not\n"
20369 " called the default values of mar, jx, and jy are all 0. aspect is set\n"
20370 " to a device-specific value.\n"
20371 "\n"
20372 " Redacted form: plsdidev(mar, aspect, jx, jy)\n"
20373 "\n"
20374 " This function is used in example 31.\n"
20375 "\n"
20376 "\n"
20377 "\n"
20378 "SYNOPSIS:\n"
20379 "\n"
20380 "plsdidev(mar, aspect, jx, jy)\n"
20381 "\n"
20382 "ARGUMENTS:\n"
20383 "\n"
20384 " mar (PLFLT, input) : Relative margin width.\n"
20385 "\n"
20386 " aspect (PLFLT, input) : Aspect ratio.\n"
20387 "\n"
20388 " jx (PLFLT, input) : Relative justification in x. Value must lie in\n"
20389 " the range -0.5 to 0.5.\n"
20390 "\n"
20391 " jy (PLFLT, input) : Relative justification in y. Value must lie in\n"
20392 " the range -0.5 to 0.5.\n"
20393 "\n"
20394 ""},
20395 { "plsdimap", _wrap_plsdimap, METH_VARARGS, "\n"
20396 "Set up transformation from metafile coordinates\n"
20397 "\n"
20398 "DESCRIPTION:\n"
20399 "\n"
20400 " Set up transformation from metafile coordinates. The size of the plot\n"
20401 " is scaled so as to preserve aspect ratio. This isn't intended to be a\n"
20402 " general-purpose facility just yet (not sure why the user would need\n"
20403 " it, for one).\n"
20404 "\n"
20405 " Redacted form: plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm,\n"
20406 " dimypmm)\n"
20407 "\n"
20408 " This function is not used in any examples.\n"
20409 "\n"
20410 "\n"
20411 "\n"
20412 "SYNOPSIS:\n"
20413 "\n"
20414 "plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm, dimypmm)\n"
20415 "\n"
20416 "ARGUMENTS:\n"
20417 "\n"
20418 " dimxmin (PLINT, input) : NEEDS DOCUMENTATION\n"
20419 "\n"
20420 " dimxmax (PLINT, input) : NEEDS DOCUMENTATION\n"
20421 "\n"
20422 " dimymin (PLINT, input) : NEEDS DOCUMENTATION\n"
20423 "\n"
20424 " dimymax (PLINT, input) : NEEDS DOCUMENTATION\n"
20425 "\n"
20426 " dimxpmm (PLFLT, input) : NEEDS DOCUMENTATION\n"
20427 "\n"
20428 " dimypmm (PLFLT, input) : NEEDS DOCUMENTATION\n"
20429 "\n"
20430 ""},
20431 { "plsdiori", _wrap_plsdiori, METH_O, "\n"
20432 "Set plot orientation\n"
20433 "\n"
20434 "DESCRIPTION:\n"
20435 "\n"
20436 " Set plot orientation parameter which is multiplied by 90 degrees to\n"
20437 " obtain the angle of rotation. Note, arbitrary rotation parameters\n"
20438 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n"
20439 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n"
20440 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n"
20441 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori is\n"
20442 " not called the default value of rot is 0.\n"
20443 "\n"
20444 " N.B. aspect ratio is unaffected by calls to plsdiori. So you will\n"
20445 " probably want to change the aspect ratio to a value suitable for the\n"
20446 " plot orientation using a call to plsdidev or the command-line options\n"
20447 " -a or -freeaspect. For more documentation of those options see the\n"
20448 " PLplot documentation. Such command-line options can be set internally\n"
20449 " using plsetopt or set directly using the command line and parsed using\n"
20450 " a call to plparseopts.\n"
20451 "\n"
20452 " Redacted form: plsdiori(rot)\n"
20453 "\n"
20454 " This function is not used in any examples.\n"
20455 "\n"
20456 "\n"
20457 "\n"
20458 "SYNOPSIS:\n"
20459 "\n"
20460 "plsdiori(rot)\n"
20461 "\n"
20462 "ARGUMENTS:\n"
20463 "\n"
20464 " rot (PLFLT, input) : Plot orientation parameter.\n"
20465 "\n"
20466 ""},
20467 { "plsdiplt", _wrap_plsdiplt, METH_VARARGS, "\n"
20468 "Set parameters that define current plot-space window\n"
20469 "\n"
20470 "DESCRIPTION:\n"
20471 "\n"
20472 " Set relative minima and maxima that define the current plot-space\n"
20473 " window. If plsdiplt is not called the default values of xmin, ymin,\n"
20474 " xmax, and ymax are 0., 0., 1., and 1.\n"
20475 "\n"
20476 " Redacted form: plsdiplt(xmin, ymin, xmax, ymax)\n"
20477 "\n"
20478 " This function is used in example 31.\n"
20479 "\n"
20480 "\n"
20481 "\n"
20482 "SYNOPSIS:\n"
20483 "\n"
20484 "plsdiplt(xmin, ymin, xmax, ymax)\n"
20485 "\n"
20486 "ARGUMENTS:\n"
20487 "\n"
20488 " xmin (PLFLT, input) : Relative minimum in x.\n"
20489 "\n"
20490 " ymin (PLFLT, input) : Relative minimum in y.\n"
20491 "\n"
20492 " xmax (PLFLT, input) : Relative maximum in x.\n"
20493 "\n"
20494 " ymax (PLFLT, input) : Relative maximum in y.\n"
20495 "\n"
20496 ""},
20497 { "plsdiplz", _wrap_plsdiplz, METH_VARARGS, "\n"
20498 "Set parameters incrementally (zoom mode) that define current plot-space window\n"
20499 "\n"
20500 "DESCRIPTION:\n"
20501 "\n"
20502 " Set relative minima and maxima incrementally (zoom mode) that define\n"
20503 " the current plot-space window. This function has the same effect as\n"
20504 " plsdiplt if that function has not been previously called. Otherwise,\n"
20505 " this function implements zoom mode using the transformation min_used =\n"
20506 " old_min + old_length*min and max_used = old_min + old_length*max for\n"
20507 " each axis. For example, if min = 0.05 and max = 0.95 for each axis,\n"
20508 " repeated calls to plsdiplz will zoom in by 10 per cent for each call.\n"
20509 "\n"
20510 " Redacted form: plsdiplz(xmin, ymin, xmax, ymax)\n"
20511 "\n"
20512 " This function is used in example 31.\n"
20513 "\n"
20514 "\n"
20515 "\n"
20516 "SYNOPSIS:\n"
20517 "\n"
20518 "plsdiplz(xmin, ymin, xmax, ymax)\n"
20519 "\n"
20520 "ARGUMENTS:\n"
20521 "\n"
20522 " xmin (PLFLT, input) : Relative (incremental) minimum in x.\n"
20523 "\n"
20524 " ymin (PLFLT, input) : Relative (incremental) minimum in y.\n"
20525 "\n"
20526 " xmax (PLFLT, input) : Relative (incremental) maximum in x.\n"
20527 "\n"
20528 " ymax (PLFLT, input) : Relative (incremental) maximum in y.\n"
20529 "\n"
20530 ""},
20531 { "plseed", _wrap_plseed, METH_O, "\n"
20532 "Set seed for internal random number generator.\n"
20533 "\n"
20534 "DESCRIPTION:\n"
20535 "\n"
20536 " Set the seed for the internal random number generator. See plrandd for\n"
20537 " further details.\n"
20538 "\n"
20539 " Redacted form: plseed(seed)\n"
20540 "\n"
20541 " This function is used in example 21.\n"
20542 "\n"
20543 "\n"
20544 "\n"
20545 "SYNOPSIS:\n"
20546 "\n"
20547 "plseed(seed)\n"
20548 "\n"
20549 "ARGUMENTS:\n"
20550 "\n"
20551 " seed (unsigned int, input) : Seed for random number generator.\n"
20552 "\n"
20553 ""},
20554 { "plsesc", _wrap_plsesc, METH_O, "\n"
20555 "Set the escape character for text strings\n"
20556 "\n"
20557 "DESCRIPTION:\n"
20558 "\n"
20559 " Set the escape character for text strings. From C (in contrast to\n"
20560 " Fortran, see plsescfortran) you pass esc as a character. Only selected\n"
20561 " characters are allowed to prevent the user from shooting himself in\n"
20562 " the foot (For example, a \\ isn't allowed since it conflicts with C's\n"
20563 " use of backslash as a character escape). Here are the allowed escape\n"
20564 " characters and their corresponding decimal ASCII values: !, ASCII 33\n"
20565 " #, ASCII 35\n"
20566 " $, ASCII 36\n"
20567 " %, ASCII 37\n"
20568 " &, ASCII 38\n"
20569 " *, ASCII 42\n"
20570 " @, ASCII 64\n"
20571 " ^, ASCII 94\n"
20572 " ~, ASCII 126\n"
20573 "\n"
20574 "\n"
20575 " Redacted form: General: plsesc(esc)\n"
20576 "\n"
20577 "\n"
20578 " This function is used in example 29.\n"
20579 "\n"
20580 "\n"
20581 "\n"
20582 "SYNOPSIS:\n"
20583 "\n"
20584 "plsesc(esc)\n"
20585 "\n"
20586 "ARGUMENTS:\n"
20587 "\n"
20588 " esc (char, input) : Escape character.\n"
20589 "\n"
20590 ""},
20591 { "plsetopt", _wrap_plsetopt, METH_VARARGS, "\n"
20592 "Set any command-line option\n"
20593 "\n"
20594 "DESCRIPTION:\n"
20595 "\n"
20596 " Set any command-line option internally from a program before it\n"
20597 " invokes plinit. opt is the name of the command-line option and optarg\n"
20598 " is the corresponding command-line option argument.\n"
20599 "\n"
20600 " This function returns 0 on success.\n"
20601 "\n"
20602 " Redacted form: plsetopt(opt, optarg)\n"
20603 "\n"
20604 " This function is used in example 14.\n"
20605 "\n"
20606 "\n"
20607 "\n"
20608 "SYNOPSIS:\n"
20609 "\n"
20610 "PLINT plsetopt(opt, optarg)\n"
20611 "\n"
20612 "ARGUMENTS:\n"
20613 "\n"
20614 " opt (PLCHAR_VECTOR, input) : An ascii character string containing\n"
20615 " the command-line option.\n"
20616 "\n"
20617 " optarg (PLCHAR_VECTOR, input) : An ascii character string\n"
20618 " containing the argument of the command-line option.\n"
20619 "\n"
20620 ""},
20621 { "plsfam", _wrap_plsfam, METH_VARARGS, "\n"
20622 "Set family file parameters\n"
20623 "\n"
20624 "DESCRIPTION:\n"
20625 "\n"
20626 " Sets variables dealing with output file familying. Does nothing if\n"
20627 " familying not supported by the driver. This routine, if used, must be\n"
20628 " called before initializing PLplot. See the PLplot documentation for\n"
20629 " more information.\n"
20630 "\n"
20631 " Redacted form: plsfam(fam, num, bmax)\n"
20632 "\n"
20633 " This function is used in examples 14 and 31.\n"
20634 "\n"
20635 "\n"
20636 "\n"
20637 "SYNOPSIS:\n"
20638 "\n"
20639 "plsfam(fam, num, bmax)\n"
20640 "\n"
20641 "ARGUMENTS:\n"
20642 "\n"
20643 " fam (PLINT, input) : Family flag (Boolean). If nonzero, familying\n"
20644 " is enabled.\n"
20645 "\n"
20646 " num (PLINT, input) : Current family file number.\n"
20647 "\n"
20648 " bmax (PLINT, input) : Maximum file size (in bytes) for a family\n"
20649 " file.\n"
20650 "\n"
20651 ""},
20652 { "plsfci", _wrap_plsfci, METH_O, "\n"
20653 "Set FCI (font characterization integer)\n"
20654 "\n"
20655 "DESCRIPTION:\n"
20656 "\n"
20657 " Sets font characteristics to be used at the start of the next string\n"
20658 " using the FCI approach. See the PLplot documentation for more\n"
20659 " information. Note, plsfont (which calls plsfci internally) provides a\n"
20660 " more user-friendly API for setting the font characterisitics.\n"
20661 "\n"
20662 " Redacted form: General: plsfci(fci)\n"
20663 "\n"
20664 "\n"
20665 " This function is used in example 23.\n"
20666 "\n"
20667 "\n"
20668 "\n"
20669 "SYNOPSIS:\n"
20670 "\n"
20671 "plsfci(fci)\n"
20672 "\n"
20673 "ARGUMENTS:\n"
20674 "\n"
20675 " fci (PLUNICODE, input) : PLUNICODE (unsigned 32-bit integer) value\n"
20676 " of FCI.\n"
20677 "\n"
20678 ""},
20679 { "plsfnam", _wrap_plsfnam, METH_O, "\n"
20680 "Set output file name\n"
20681 "\n"
20682 "DESCRIPTION:\n"
20683 "\n"
20684 " Sets the current output file name, if applicable. If the file name\n"
20685 " has not been specified and is required by the driver, the user will be\n"
20686 " prompted for it. If using the X-windows output driver, this sets the\n"
20687 " display name. This routine, if used, must be called before\n"
20688 " initializing PLplot.\n"
20689 "\n"
20690 " Redacted form: plsfnam(fnam)\n"
20691 "\n"
20692 " This function is used in examples 1 and 20.\n"
20693 "\n"
20694 "\n"
20695 "\n"
20696 "SYNOPSIS:\n"
20697 "\n"
20698 "plsfnam(fnam)\n"
20699 "\n"
20700 "ARGUMENTS:\n"
20701 "\n"
20702 " fnam (PLCHAR_VECTOR, input) : An ascii character string containing\n"
20703 " the file name.\n"
20704 "\n"
20705 ""},
20706 { "plsfont", _wrap_plsfont, METH_VARARGS, "\n"
20707 "Set family, style and weight of the current font\n"
20708 "\n"
20709 "DESCRIPTION:\n"
20710 "\n"
20711 " Sets the current font. See the PLplot documentation for more\n"
20712 " information on font selection.\n"
20713 "\n"
20714 " Redacted form: plsfont(family, style, weight)\n"
20715 "\n"
20716 " This function is used in example 23.\n"
20717 "\n"
20718 "\n"
20719 "\n"
20720 "SYNOPSIS:\n"
20721 "\n"
20722 "plsfont(family, style, weight)\n"
20723 "\n"
20724 "ARGUMENTS:\n"
20725 "\n"
20726 " family (PLINT, input) : Font family to select for the current font.\n"
20727 " The available values are given by the PL_FCI_* constants in\n"
20728 " plplot.h. Current options are PL_FCI_SANS, PL_FCI_SERIF,\n"
20729 " PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. A negative value\n"
20730 " signifies that the font family should not be altered.\n"
20731 "\n"
20732 " style (PLINT, input) : Font style to select for the current font.\n"
20733 " The available values are given by the PL_FCI_* constants in\n"
20734 " plplot.h. Current options are PL_FCI_UPRIGHT, PL_FCI_ITALIC and\n"
20735 " PL_FCI_OBLIQUE. A negative value signifies that the font style\n"
20736 " should not be altered.\n"
20737 "\n"
20738 " weight (PLINT, input) : Font weight to select for the current font.\n"
20739 " The available values are given by the PL_FCI_* constants in\n"
20740 " plplot.h. Current options are PL_FCI_MEDIUM and PL_FCI_BOLD. A\n"
20741 " negative value signifies that the font weight should not be\n"
20742 " altered.\n"
20743 "\n"
20744 ""},
20745 { "plshades", _wrap_plshades, METH_VARARGS, "\n"
20746 "Shade regions on the basis of value\n"
20747 "\n"
20748 "DESCRIPTION:\n"
20749 "\n"
20750 " Shade regions on the basis of value. This is the high-level routine\n"
20751 " for making continuous color shaded plots with cmap1 while plshade\n"
20752 " should be used to plot individual shaded regions using either cmap0 or\n"
20753 " cmap1. examples/;<language>/x16* shows how to use plshades for each of\n"
20754 " our supported languages.\n"
20755 "\n"
20756 " Redacted form: General: plshades(a, defined, xmin, xmax, ymin, ymax,\n"
20757 " clevel, fill_width, cont_color, cont_width, fill, rectangular, pltr,\n"
20758 " pltr_data)\n"
20759 "\n"
20760 "\n"
20761 " This function is used in examples 16, 21, and 22.\n"
20762 "\n"
20763 "\n"
20764 "\n"
20765 "SYNOPSIS:\n"
20766 "\n"
20767 "plshades(a, nx, ny, defined, xmin, xmax, ymin, ymax, clevel, nlevel, fill_width, cont_color, cont_width, fill, rectangular, pltr, pltr_data)\n"
20768 "\n"
20769 "ARGUMENTS:\n"
20770 "\n"
20771 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n"
20772 " plot. Should have dimensions of\n"
20773 " nx by\n"
20774 " ny.\n"
20775 "\n"
20776 " nx (PLINT, input) : First dimension of matrix \"a\".\n"
20777 "\n"
20778 " ny (PLINT, input) : Second dimension of matrix \"a\".\n"
20779 "\n"
20780 " defined (PLDEFINED_callback, input) : Callback function specifying\n"
20781 " the region that should be plotted in the shade plot. This\n"
20782 " function accepts x and y coordinates as input arguments and must\n"
20783 " return 1 if the point is to be included in the shade plot and 0\n"
20784 " otherwise. If you want to plot the entire shade plot (the usual\n"
20785 " case), this argument should be set to NULL.\n"
20786 "\n"
20787 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
20788 " pltr below for how these arguments are used (only for the special case\n"
20789 " when the callback function\n"
20790 " pltr is not supplied).\n"
20791 "\n"
20792 " clevel (PLFLT_VECTOR, input) : A vector containing the data levels\n"
20793 " corresponding to the edges of each shaded region that will be\n"
20794 " plotted by this function. To work properly the levels should be\n"
20795 " monotonic.\n"
20796 "\n"
20797 " nlevel (PLINT, input) : Number of shades plus 1 (i.e., the number\n"
20798 " of shade edge values in clevel).\n"
20799 "\n"
20800 " fill_width (PLFLT, input) : Defines the line width used by the fill\n"
20801 " pattern.\n"
20802 "\n"
20803 " cont_color (PLINT, input) : Defines cmap0 pen color used for\n"
20804 " contours defining edges of shaded regions. The pen color is only\n"
20805 " temporary set for the contour drawing. Set this value to zero or\n"
20806 " less if no shade edge contours are wanted.\n"
20807 "\n"
20808 " cont_width (PLFLT, input) : Defines line width used for contours\n"
20809 " defining edges of shaded regions. This value may not be honored\n"
20810 " by all drivers. The pen width is only temporary set for the\n"
20811 " contour drawing. Set this value to zero or less if no shade edge\n"
20812 " contours are wanted.\n"
20813 "\n"
20814 " fill (PLFILL_callback, input) : Callback routine used to fill the\n"
20815 " region. Use plfill for this purpose.\n"
20816 "\n"
20817 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n"
20818 " map to rectangles after coordinate transformation with pltrl.\n"
20819 " Otherwise, set rectangular to false. If rectangular is set to\n"
20820 " true, plshade tries to save time by filling large rectangles.\n"
20821 " This optimization fails if the coordinate transformation distorts\n"
20822 " the shape of rectangles. For example a plot in polar coordinates\n"
20823 " has to have rectangular set to false.\n"
20824 "\n"
20825 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
20826 " defines the transformation between the zero-based indices of the\n"
20827 " matrix a and world coordinates. If\n"
20828 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
20829 " indices of a are mapped to the range\n"
20830 " xmin through\n"
20831 " xmax and the y indices of a are mapped to the range\n"
20832 " ymin through\n"
20833 " ymax.For the C case, transformation functions are provided in the\n"
20834 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
20835 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
20836 " matrices. In addition, C callback routines for the transformation\n"
20837 " can be supplied by the user such as the mypltr function in\n"
20838 " examples/c/x09c.c which provides a general linear transformation\n"
20839 " between index coordinates and world coordinates.For languages\n"
20840 " other than C you should consult the PLplot documentation for the\n"
20841 " details concerning how PLTRANSFORM_callback arguments are\n"
20842 " interfaced. However, in general, a particular pattern of\n"
20843 " callback-associated arguments such as a tr vector with 6 elements;\n"
20844 " xg and yg vectors; or xg and yg matrices are respectively\n"
20845 " interfaced to a linear-transformation routine similar to the above\n"
20846 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
20847 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
20848 " support native language callbacks for handling index to\n"
20849 " world-coordinate transformations. Examples of these various\n"
20850 " approaches are given in examples/<language>x09*,\n"
20851 " examples/<language>x16*, examples/<language>x20*,\n"
20852 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
20853 " supported languages.\n"
20854 "\n"
20855 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
20856 " information to pltr0, pltr1, pltr2, or whatever routine that is\n"
20857 " externally supplied.\n"
20858 "\n"
20859 ""},
20860 { "plshade", _wrap_plshade, METH_VARARGS, "\n"
20861 "Shade individual region on the basis of value\n"
20862 "\n"
20863 "DESCRIPTION:\n"
20864 "\n"
20865 " Shade individual region on the basis of value. Use plshades if you\n"
20866 " want to shade a number of contiguous regions using continuous colors.\n"
20867 " In particular the edge contours are treated properly in plshades. If\n"
20868 " you attempt to do contiguous regions with plshade the contours at the\n"
20869 " edge of the shade are partially obliterated by subsequent plots of\n"
20870 " contiguous shaded regions.\n"
20871 "\n"
20872 " Redacted form: General: plshade(a, defined, xmin, xmax, ymin, ymax,\n"
20873 " shade_min, shade_max, sh_cmap, sh_color, sh_width, min_color,\n"
20874 " min_width, max_color, max_width, fill, rectangular, pltr, pltr_data)\n"
20875 "\n"
20876 "\n"
20877 " This function is used in example 15.\n"
20878 "\n"
20879 "\n"
20880 "\n"
20881 "SYNOPSIS:\n"
20882 "\n"
20883 "plshade(a, nx, ny, defined, xmin, xmax, ymin, ymax, shade_min, shade_max, sh_cmap, sh_color, sh_width, min_color, min_width, max_color, max_width, fill, rectangular, pltr, pltr_data)\n"
20884 "\n"
20885 "ARGUMENTS:\n"
20886 "\n"
20887 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n"
20888 " plot. Should have dimensions of\n"
20889 " nx by\n"
20890 " ny.\n"
20891 "\n"
20892 " nx (PLINT, input) : First dimension of the matrix \"a\".\n"
20893 "\n"
20894 " ny (PLINT, input) : Second dimension of the matrix \"a\".\n"
20895 "\n"
20896 " defined (PLDEFINED_callback, input) : Callback function specifying\n"
20897 " the region that should be plotted in the shade plot. This\n"
20898 " function accepts x and y coordinates as input arguments and must\n"
20899 " return 1 if the point is to be included in the shade plot and 0\n"
20900 " otherwise. If you want to plot the entire shade plot (the usual\n"
20901 " case), this argument should be set to NULL.\n"
20902 "\n"
20903 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
20904 " pltr below for how these arguments are used (only for the special case\n"
20905 " when the callback function\n"
20906 " pltr is not supplied).\n"
20907 "\n"
20908 " shade_min (PLFLT, input) : Defines the lower end of the interval to\n"
20909 " be shaded. If shade_max <= shade_min, plshade does nothing.\n"
20910 "\n"
20911 " shade_max (PLFLT, input) : Defines the upper end of the interval to\n"
20912 " be shaded. If shade_max <= shade_min, plshade does nothing.\n"
20913 "\n"
20914 " sh_cmap (PLINT, input) : Defines color map. If sh_cmap=0, then\n"
20915 " sh_color is interpreted as a cmap0 (integer) index. If sh_cmap=1,\n"
20916 " then sh_color is interpreted as a cmap1 argument in the range\n"
20917 " (0.0-1.0).\n"
20918 "\n"
20919 " sh_color (PLFLT, input) : Defines color map index with integer\n"
20920 " value if cmap0 or value in range (0.0-1.0) if cmap1.\n"
20921 "\n"
20922 " sh_width (PLFLT, input) : Defines width used by the fill pattern.\n"
20923 "\n"
20924 " min_color (PLINT, input) : Defines pen color, width used by the\n"
20925 " boundary of shaded region. The min values are used for the\n"
20926 " shade_min boundary, and the max values are used on the shade_max\n"
20927 " boundary. Set color and width to zero for no plotted boundaries.\n"
20928 "\n"
20929 " min_width (PLFLT, input) : Defines pen color, width used by the\n"
20930 " boundary of shaded region. The min values are used for the\n"
20931 " shade_min boundary, and the max values are used on the shade_max\n"
20932 " boundary. Set color and width to zero for no plotted boundaries.\n"
20933 "\n"
20934 " max_color (PLINT, input) : Defines pen color, width used by the\n"
20935 " boundary of shaded region. The min values are used for the\n"
20936 " shade_min boundary, and the max values are used on the shade_max\n"
20937 " boundary. Set color and width to zero for no plotted boundaries.\n"
20938 "\n"
20939 " max_width (PLFLT, input) : Defines pen color, width used by the\n"
20940 " boundary of shaded region. The min values are used for the\n"
20941 " shade_min boundary, and the max values are used on the shade_max\n"
20942 " boundary. Set color and width to zero for no plotted boundaries.\n"
20943 "\n"
20944 " fill (PLFILL_callback, input) : Routine used to fill the region.\n"
20945 " Use plfill. Future version of PLplot may have other fill\n"
20946 " routines.\n"
20947 "\n"
20948 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n"
20949 " map to rectangles after coordinate transformation with pltrl.\n"
20950 " Otherwise, set rectangular to false. If rectangular is set to\n"
20951 " true, plshade tries to save time by filling large rectangles.\n"
20952 " This optimization fails if the coordinate transformation distorts\n"
20953 " the shape of rectangles. For example a plot in polar coordinates\n"
20954 " has to have rectangular set to false.\n"
20955 "\n"
20956 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
20957 " defines the transformation between the zero-based indices of the\n"
20958 " matrix a and world coordinates. If\n"
20959 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
20960 " indices of a are mapped to the range\n"
20961 " xmin through\n"
20962 " xmax and the y indices of a are mapped to the range\n"
20963 " ymin through\n"
20964 " ymax.For the C case, transformation functions are provided in the\n"
20965 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
20966 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
20967 " matrices. In addition, C callback routines for the transformation\n"
20968 " can be supplied by the user such as the mypltr function in\n"
20969 " examples/c/x09c.c which provides a general linear transformation\n"
20970 " between index coordinates and world coordinates.For languages\n"
20971 " other than C you should consult the PLplot documentation for the\n"
20972 " details concerning how PLTRANSFORM_callback arguments are\n"
20973 " interfaced. However, in general, a particular pattern of\n"
20974 " callback-associated arguments such as a tr vector with 6 elements;\n"
20975 " xg and yg vectors; or xg and yg matrices are respectively\n"
20976 " interfaced to a linear-transformation routine similar to the above\n"
20977 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
20978 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
20979 " support native language callbacks for handling index to\n"
20980 " world-coordinate transformations. Examples of these various\n"
20981 " approaches are given in examples/<language>x09*,\n"
20982 " examples/<language>x16*, examples/<language>x20*,\n"
20983 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
20984 " supported languages.\n"
20985 "\n"
20986 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
20987 " information to pltr0, pltr1, pltr2, or whatever routine that is\n"
20988 " externally supplied.\n"
20989 "\n"
20990 ""},
20991 { "plslabelfunc", _wrap_plslabelfunc, METH_VARARGS, "\n"
20992 "Assign a function to use for generating custom axis labels\n"
20993 "\n"
20994 "DESCRIPTION:\n"
20995 "\n"
20996 " This function allows a user to provide their own function to provide\n"
20997 " axis label text. The user function is given the numeric value for a\n"
20998 " point on an axis and returns a string label to correspond with that\n"
20999 " value. Custom axis labels can be enabled by passing appropriate\n"
21000 " arguments to plenv, plbox, plbox3 and similar functions.\n"
21001 "\n"
21002 " This function is used in example 19.\n"
21003 "\n"
21004 "\n"
21005 "\n"
21006 "SYNOPSIS:\n"
21007 "\n"
21008 "plslabelfunc(label_func, label_data)\n"
21009 "\n"
21010 "ARGUMENTS:\n"
21011 "\n"
21012 " label_func (PLLABEL_FUNC_callback, input) : This is the custom\n"
21013 " label function. In order to reset to the default labelling, set\n"
21014 " this to NULL. The labelling function parameters are, in order:\n"
21015 " axis: This indicates which axis a label is being requested for.\n"
21016 " The value will be one of PL_X_AXIS, PL_Y_AXIS or PL_Z_AXIS.\n"
21017 "\n"
21018 " value: This is the value along the axis which is being labelled.\n"
21019 "\n"
21020 " label_text: The string representation of the label value.\n"
21021 "\n"
21022 " length: The maximum length in characters allowed for label_text.\n"
21023 "\n"
21024 "\n"
21025 " label_data (PLPointer, input) : This parameter may be used to pass\n"
21026 " data to the label_func function.\n"
21027 "\n"
21028 ""},
21029 { "plsmaj", _wrap_plsmaj, METH_VARARGS, "\n"
21030 "Set length of major ticks\n"
21031 "\n"
21032 "DESCRIPTION:\n"
21033 "\n"
21034 " This sets up the length of the major ticks. The actual length is the\n"
21035 " product of the default length and a scaling factor as for character\n"
21036 " height.\n"
21037 "\n"
21038 " Redacted form: plsmaj(def, scale)\n"
21039 "\n"
21040 " This function is used in example 29.\n"
21041 "\n"
21042 "\n"
21043 "\n"
21044 "SYNOPSIS:\n"
21045 "\n"
21046 "plsmaj(def, scale)\n"
21047 "\n"
21048 "ARGUMENTS:\n"
21049 "\n"
21050 " def (PLFLT, input) : The default length of a major tick in\n"
21051 " millimeters, should be set to zero if the default length is to\n"
21052 " remain unchanged.\n"
21053 "\n"
21054 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
21055 " actual tick length.\n"
21056 "\n"
21057 ""},
21058 { "plsmem", _wrap_plsmem, METH_VARARGS, "\n"
21059 "Set the memory area to be plotted (RGB)\n"
21060 "\n"
21061 "DESCRIPTION:\n"
21062 "\n"
21063 " Set the memory area to be plotted (with the mem or memcairo driver) as\n"
21064 " the dev member of the stream structure. Also set the number of pixels\n"
21065 " in the memory passed in\n"
21066 " plotmem, which is a block of memory\n"
21067 " maxy by\n"
21068 " maxx by 3 bytes long, say: 480 x 640 x 3 (Y, X, RGB)\n"
21069 "\n"
21070 " This memory will have to be freed by the user!\n"
21071 "\n"
21072 " Redacted form: plsmem(maxx, maxy, plotmem)\n"
21073 "\n"
21074 " This function is not used in any examples.\n"
21075 "\n"
21076 "\n"
21077 "\n"
21078 "SYNOPSIS:\n"
21079 "\n"
21080 "plsmem(maxx, maxy, plotmem)\n"
21081 "\n"
21082 "ARGUMENTS:\n"
21083 "\n"
21084 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n"
21085 "\n"
21086 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n"
21087 "\n"
21088 " plotmem (PLPointer, input) : Pointer to the beginning of a\n"
21089 " user-supplied writeable memory area.\n"
21090 "\n"
21091 ""},
21092 { "plsmema", _wrap_plsmema, METH_VARARGS, "\n"
21093 "Set the memory area to be plotted (RGBA)\n"
21094 "\n"
21095 "DESCRIPTION:\n"
21096 "\n"
21097 " Set the memory area to be plotted (with the memcairo driver) as the\n"
21098 " dev member of the stream structure. Also set the number of pixels in\n"
21099 " the memory passed in\n"
21100 " plotmem, which is a block of memory\n"
21101 " maxy by\n"
21102 " maxx by 4 bytes long, say: 480 x 640 x 4 (Y, X, RGBA)\n"
21103 "\n"
21104 " This memory will have to be freed by the user!\n"
21105 "\n"
21106 " Redacted form: plsmema(maxx, maxy, plotmem)\n"
21107 "\n"
21108 " This function is not used in any examples.\n"
21109 "\n"
21110 "\n"
21111 "\n"
21112 "SYNOPSIS:\n"
21113 "\n"
21114 "plsmema(maxx, maxy, plotmem)\n"
21115 "\n"
21116 "ARGUMENTS:\n"
21117 "\n"
21118 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n"
21119 "\n"
21120 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n"
21121 "\n"
21122 " plotmem (PLPointer, input) : Pointer to the beginning of a\n"
21123 " user-supplied writeable memory area.\n"
21124 "\n"
21125 ""},
21126 { "plsmin", _wrap_plsmin, METH_VARARGS, "\n"
21127 "Set length of minor ticks\n"
21128 "\n"
21129 "DESCRIPTION:\n"
21130 "\n"
21131 " This sets up the length of the minor ticks and the length of the\n"
21132 " terminals on error bars. The actual length is the product of the\n"
21133 " default length and a scaling factor as for character height.\n"
21134 "\n"
21135 " Redacted form: plsmin(def, scale)\n"
21136 "\n"
21137 " This function is used in example 29.\n"
21138 "\n"
21139 "\n"
21140 "\n"
21141 "SYNOPSIS:\n"
21142 "\n"
21143 "plsmin(def, scale)\n"
21144 "\n"
21145 "ARGUMENTS:\n"
21146 "\n"
21147 " def (PLFLT, input) : The default length of a minor tick in\n"
21148 " millimeters, should be set to zero if the default length is to\n"
21149 " remain unchanged.\n"
21150 "\n"
21151 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
21152 " actual tick length.\n"
21153 "\n"
21154 ""},
21155 { "plsori", _wrap_plsori, METH_O, "\n"
21156 "Set orientation\n"
21157 "\n"
21158 "DESCRIPTION:\n"
21159 "\n"
21160 " Set integer plot orientation parameter. This function is identical to\n"
21161 " plsdiori except for the type of the argument, and should be used in\n"
21162 " the same way. See the documentation of plsdiori for details.\n"
21163 "\n"
21164 " Redacted form: plsori(ori)\n"
21165 "\n"
21166 " This function is used in example 3.\n"
21167 "\n"
21168 "\n"
21169 "\n"
21170 "SYNOPSIS:\n"
21171 "\n"
21172 "plsori(ori)\n"
21173 "\n"
21174 "ARGUMENTS:\n"
21175 "\n"
21176 " ori (PLINT, input) : Orientation value (0 for landscape, 1 for\n"
21177 " portrait, etc.) The value is multiplied by 90 degrees to get the\n"
21178 " angle.\n"
21179 "\n"
21180 ""},
21181 { "plspage", _wrap_plspage, METH_VARARGS, "\n"
21182 "Set page parameters\n"
21183 "\n"
21184 "DESCRIPTION:\n"
21185 "\n"
21186 " Sets the page configuration (optional). If an individual parameter is\n"
21187 " zero then that parameter value is not updated. Not all parameters are\n"
21188 " recognized by all drivers and the interpretation is device-dependent.\n"
21189 " The X-window driver uses the length and offset parameters to determine\n"
21190 " the window size and location. The length and offset values are\n"
21191 " expressed in units that are specific to the current driver. For\n"
21192 " instance: screen drivers will usually interpret them as number of\n"
21193 " pixels, whereas printer drivers will usually use mm.\n"
21194 "\n"
21195 " This routine, if used, must be called before initializing PLplot. It\n"
21196 " may be called at later times for interactive drivers to change only\n"
21197 " the dpi for subsequent redraws which you can force via a call to\n"
21198 " plreplot. If this function is not called then the page size defaults\n"
21199 " to landscape A4 for drivers which use real world page sizes and 744\n"
21200 " pixels wide by 538 pixels high for raster drivers. The default value\n"
21201 " for dx and dy is 90 pixels per inch for raster drivers.\n"
21202 "\n"
21203 "\n"
21204 "\n"
21205 " Redacted form: plspage(xp, yp, xleng, yleng, xoff, yoff)\n"
21206 "\n"
21207 " This function is used in examples 14 and 31.\n"
21208 "\n"
21209 "\n"
21210 "\n"
21211 "SYNOPSIS:\n"
21212 "\n"
21213 "plspage(xp, yp, xleng, yleng, xoff, yoff)\n"
21214 "\n"
21215 "ARGUMENTS:\n"
21216 "\n"
21217 " xp (PLFLT, input) : Number of pixels per inch (DPI), x. Used only\n"
21218 " by raster drivers, ignored by drivers which use \"real world\" units\n"
21219 " (e.g. mm).\n"
21220 "\n"
21221 " yp (PLFLT, input) : Number of pixels per inch (DPI), y. Used only\n"
21222 " by raster drivers, ignored by drivers which use \"real world\" units\n"
21223 " (e.g. mm).\n"
21224 "\n"
21225 " xleng (PLINT, input) : Page length, x.\n"
21226 "\n"
21227 " yleng (PLINT, input) : Page length, y.\n"
21228 "\n"
21229 " xoff (PLINT, input) : Page offset, x.\n"
21230 "\n"
21231 " yoff (PLINT, input) : Page offset, y.\n"
21232 "\n"
21233 ""},
21234 { "plspal0", _wrap_plspal0, METH_O, "\n"
21235 "Set the cmap0 palette using the specified cmap0*.pal format file\n"
21236 "\n"
21237 "DESCRIPTION:\n"
21238 "\n"
21239 " Set the cmap0 palette using the specified cmap0*.pal format file.\n"
21240 "\n"
21241 " Redacted form: plspal0(filename)\n"
21242 "\n"
21243 " This function is in example 16.\n"
21244 "\n"
21245 "\n"
21246 "\n"
21247 "SYNOPSIS:\n"
21248 "\n"
21249 "plspal0(filename)\n"
21250 "\n"
21251 "ARGUMENTS:\n"
21252 "\n"
21253 " filename (PLCHAR_VECTOR, input) : An ascii character string\n"
21254 " containing the name of the cmap0*.pal file. If this string is\n"
21255 " empty, use the default cmap0*.pal file.\n"
21256 "\n"
21257 ""},
21258 { "plspal1", _wrap_plspal1, METH_VARARGS, "\n"
21259 "Set the cmap1 palette using the specified cmap1*.pal format file\n"
21260 "\n"
21261 "DESCRIPTION:\n"
21262 "\n"
21263 " Set the cmap1 palette using the specified cmap1*.pal format file.\n"
21264 "\n"
21265 " Redacted form: plspal1(filename, interpolate)\n"
21266 "\n"
21267 " This function is used in example 16.\n"
21268 "\n"
21269 "\n"
21270 "\n"
21271 "SYNOPSIS:\n"
21272 "\n"
21273 "plspal1(filename, interpolate)\n"
21274 "\n"
21275 "ARGUMENTS:\n"
21276 "\n"
21277 " filename (PLCHAR_VECTOR, input) : An ascii character string\n"
21278 " containing the name of the cmap1*.pal file. If this string is\n"
21279 " empty, use the default cmap1*.pal file.\n"
21280 "\n"
21281 " interpolate (PLBOOL, input) : If this parameter is true, the\n"
21282 " columns containing the intensity index, r, g, b, alpha and\n"
21283 " alt_hue_path in the cmap1*.pal file are used to set the cmap1\n"
21284 " palette with a call to plscmap1la. (The cmap1*.pal header contains\n"
21285 " a flag which controls whether the r, g, b data sent to plscmap1la\n"
21286 " are interpreted as HLS or RGB.) If this parameter is false, the\n"
21287 " intensity index and alt_hue_path columns are ignored and the r, g,\n"
21288 " b (interpreted as RGB), and alpha columns of the cmap1*.pal file\n"
21289 " are used instead to set the cmap1 palette directly with a call to\n"
21290 " plscmap1a.\n"
21291 "\n"
21292 ""},
21293 { "plspause", _wrap_plspause, METH_O, "\n"
21294 "Set the pause (on end-of-page) status\n"
21295 "\n"
21296 "DESCRIPTION:\n"
21297 "\n"
21298 " Set the pause (on end-of-page) status.\n"
21299 "\n"
21300 " Redacted form: plspause(pause)\n"
21301 "\n"
21302 " This function is in examples 14,20.\n"
21303 "\n"
21304 "\n"
21305 "\n"
21306 "SYNOPSIS:\n"
21307 "\n"
21308 "plspause(pause)\n"
21309 "\n"
21310 "ARGUMENTS:\n"
21311 "\n"
21312 " pause (PLBOOL, input) : If pause is true there will be a pause on\n"
21313 " end-of-page for those drivers which support this. Otherwise there\n"
21314 " is no pause.\n"
21315 "\n"
21316 ""},
21317 { "plsstrm", _wrap_plsstrm, METH_O, "\n"
21318 "Set current output stream\n"
21319 "\n"
21320 "DESCRIPTION:\n"
21321 "\n"
21322 " Sets the number of the current output stream. The stream number\n"
21323 " defaults to 0 unless changed by this routine. The first use of this\n"
21324 " routine must be followed by a call initializing PLplot (e.g. plstar).\n"
21325 "\n"
21326 " Redacted form: plsstrm(strm)\n"
21327 "\n"
21328 " This function is examples 1,14,20.\n"
21329 "\n"
21330 "\n"
21331 "\n"
21332 "SYNOPSIS:\n"
21333 "\n"
21334 "plsstrm(strm)\n"
21335 "\n"
21336 "ARGUMENTS:\n"
21337 "\n"
21338 " strm (PLINT, input) : The current stream number.\n"
21339 "\n"
21340 ""},
21341 { "plssub", _wrap_plssub, METH_VARARGS, "\n"
21342 "Set the number of subpages in x and y\n"
21343 "\n"
21344 "DESCRIPTION:\n"
21345 "\n"
21346 " Set the number of subpages in x and y.\n"
21347 "\n"
21348 " Redacted form: plssub(nx, ny)\n"
21349 "\n"
21350 " This function is examples 1,2,14,21,25,27.\n"
21351 "\n"
21352 "\n"
21353 "\n"
21354 "SYNOPSIS:\n"
21355 "\n"
21356 "plssub(nx, ny)\n"
21357 "\n"
21358 "ARGUMENTS:\n"
21359 "\n"
21360 " nx (PLINT, input) : Number of windows in x direction (i.e., number\n"
21361 " of window columns).\n"
21362 "\n"
21363 " ny (PLINT, input) : Number of windows in y direction (i.e., number\n"
21364 " of window rows).\n"
21365 "\n"
21366 ""},
21367 { "plssym", _wrap_plssym, METH_VARARGS, "\n"
21368 "Set symbol size\n"
21369 "\n"
21370 "DESCRIPTION:\n"
21371 "\n"
21372 " This sets up the size of all subsequent symbols drawn by plpoin and\n"
21373 " plsym. The actual height of a symbol is the product of the default\n"
21374 " symbol size and a scaling factor as for the character height.\n"
21375 "\n"
21376 " Redacted form: plssym(def, scale)\n"
21377 "\n"
21378 " This function is used in example 29.\n"
21379 "\n"
21380 "\n"
21381 "\n"
21382 "SYNOPSIS:\n"
21383 "\n"
21384 "plssym(def, scale)\n"
21385 "\n"
21386 "ARGUMENTS:\n"
21387 "\n"
21388 " def (PLFLT, input) : The default height of a symbol in millimeters,\n"
21389 " should be set to zero if the default height is to remain\n"
21390 " unchanged.\n"
21391 "\n"
21392 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
21393 " actual symbol height.\n"
21394 "\n"
21395 ""},
21396 { "plstar", _wrap_plstar, METH_VARARGS, "\n"
21397 "Initialization\n"
21398 "\n"
21399 "DESCRIPTION:\n"
21400 "\n"
21401 " Initializing the plotting package. The program prompts for the device\n"
21402 " keyword or number of the desired output device. Hitting a RETURN in\n"
21403 " response to the prompt is the same as selecting the first device. If\n"
21404 " only one device is enabled when PLplot is installed, plstar will issue\n"
21405 " no prompt. The output device is divided into nx by ny subpages, each\n"
21406 " of which may be used independently. The subroutine pladv is used to\n"
21407 " advance from one subpage to the next.\n"
21408 "\n"
21409 " Redacted form: plstar(nx, ny)\n"
21410 "\n"
21411 " This function is used in example 1.\n"
21412 "\n"
21413 "\n"
21414 "\n"
21415 "SYNOPSIS:\n"
21416 "\n"
21417 "plstar(nx, ny)\n"
21418 "\n"
21419 "ARGUMENTS:\n"
21420 "\n"
21421 " nx (PLINT, input) : Number of subpages to divide output page in the\n"
21422 " x direction.\n"
21423 "\n"
21424 " ny (PLINT, input) : Number of subpages to divide output page in the\n"
21425 " y direction.\n"
21426 "\n"
21427 ""},
21428 { "plstart", _wrap_plstart, METH_VARARGS, "\n"
21429 "Initialization\n"
21430 "\n"
21431 "DESCRIPTION:\n"
21432 "\n"
21433 " Alternative to plstar for initializing the plotting package. The\n"
21434 " device name keyword for the desired output device must be supplied as\n"
21435 " an argument. These keywords are the same as those printed out by\n"
21436 " plstar. If the requested device is not available, or if the input\n"
21437 " string is empty or begins with ``?'', the prompted start up of plstar\n"
21438 " is used. This routine also divides the output device page into nx by\n"
21439 " ny subpages, each of which may be used independently. The subroutine\n"
21440 " pladv is used to advance from one subpage to the next.\n"
21441 "\n"
21442 " Redacted form: General: plstart(devname, nx, ny)\n"
21443 "\n"
21444 "\n"
21445 " This function is not used in any examples.\n"
21446 "\n"
21447 "\n"
21448 "\n"
21449 "SYNOPSIS:\n"
21450 "\n"
21451 "plstart(devname, nx, ny)\n"
21452 "\n"
21453 "ARGUMENTS:\n"
21454 "\n"
21455 " devname (PLCHAR_VECTOR, input) : An ascii character string\n"
21456 " containing the device name keyword of the required output device.\n"
21457 " If\n"
21458 " devname is NULL or if the first character of the string is a ``?'',\n"
21459 " the normal (prompted) start up is used.\n"
21460 "\n"
21461 " nx (PLINT, input) : Number of subpages to divide output page in the\n"
21462 " x direction.\n"
21463 "\n"
21464 " ny (PLINT, input) : Number of subpages to divide output page in the\n"
21465 " y direction.\n"
21466 "\n"
21467 ""},
21468 { "plstransform", _wrap_plstransform, METH_VARARGS, "\n"
21469 "Set a global coordinate transform function\n"
21470 "\n"
21471 "DESCRIPTION:\n"
21472 "\n"
21473 " This function can be used to define a coordinate transformation which\n"
21474 " affects all elements drawn within the current plot window. The\n"
21475 " coordinate_transform callback function is similar to that provided for\n"
21476 " the plmap and plmeridians functions. The coordinate_transform_data\n"
21477 " parameter may be used to pass extra data to coordinate_transform.\n"
21478 "\n"
21479 " Redacted form: General: plstransform(coordinate_transform,\n"
21480 " coordinate_transform_data)\n"
21481 "\n"
21482 "\n"
21483 " This function is used in examples 19 and 22.\n"
21484 "\n"
21485 "\n"
21486 "\n"
21487 "SYNOPSIS:\n"
21488 "\n"
21489 "plstransform(coordinate_transform, coordinate_transform_data)\n"
21490 "\n"
21491 "ARGUMENTS:\n"
21492 "\n"
21493 " coordinate_transform (PLTRANSFORM_callback, input) : A callback\n"
21494 " function that defines the transformation from the input (x, y)\n"
21495 " world coordinates to new PLplot world coordinates. If\n"
21496 " coordinate_transform is not supplied (e.g., is set to NULL in the C\n"
21497 " case), then no transform is applied.\n"
21498 "\n"
21499 " coordinate_transform_data (PLPointer, input) : Optional extra data\n"
21500 " for\n"
21501 " coordinate_transform.\n"
21502 "\n"
21503 ""},
21504 { "plstring", _wrap_plstring, METH_VARARGS, "\n"
21505 "Plot a glyph at the specified points\n"
21506 "\n"
21507 "DESCRIPTION:\n"
21508 "\n"
21509 " Plot a glyph at the specified points. (Supersedes plpoin and plsym\n"
21510 " because many[!] more glyphs are accessible with plstring.) The glyph\n"
21511 " is specified with a PLplot user string. Note that the user string is\n"
21512 " not actually limited to one glyph so it is possible (but not normally\n"
21513 " useful) to plot more than one glyph at the specified points with this\n"
21514 " function. As with plmtex and plptex, the user string can contain FCI\n"
21515 " escapes to determine the font, UTF-8 code to determine the glyph or\n"
21516 " else PLplot escapes for Hershey or unicode text to determine the\n"
21517 " glyph.\n"
21518 "\n"
21519 " Redacted form: plstring(x, y, string)\n"
21520 "\n"
21521 " This function is used in examples 4, 21 and 26.\n"
21522 "\n"
21523 "\n"
21524 "\n"
21525 "SYNOPSIS:\n"
21526 "\n"
21527 "plstring(n, x, y, string)\n"
21528 "\n"
21529 "ARGUMENTS:\n"
21530 "\n"
21531 " n (PLINT, input) : Number of points in the x and y vectors.\n"
21532 "\n"
21533 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21534 " the points.\n"
21535 "\n"
21536 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21537 " the points.\n"
21538 "\n"
21539 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21540 " the glyph(s) to be plotted at each of the n points.\n"
21541 "\n"
21542 ""},
21543 { "plstring3", _wrap_plstring3, METH_VARARGS, "\n"
21544 "Plot a glyph at the specified 3D points\n"
21545 "\n"
21546 "DESCRIPTION:\n"
21547 "\n"
21548 " Plot a glyph at the specified 3D points. (Supersedes plpoin3 because\n"
21549 " many[!] more glyphs are accessible with plstring3.) Set up the call to\n"
21550 " this function similar to what is done for plline3. The glyph is\n"
21551 " specified with a PLplot user string. Note that the user string is not\n"
21552 " actually limited to one glyph so it is possible (but not normally\n"
21553 " useful) to plot more than one glyph at the specified points with this\n"
21554 " function. As with plmtex and plptex, the user string can contain FCI\n"
21555 " escapes to determine the font, UTF-8 code to determine the glyph or\n"
21556 " else PLplot escapes for Hershey or unicode text to determine the\n"
21557 " glyph.\n"
21558 "\n"
21559 " Redacted form: plstring3(x, y, z, string)\n"
21560 "\n"
21561 " This function is used in example 18.\n"
21562 "\n"
21563 "\n"
21564 "\n"
21565 "SYNOPSIS:\n"
21566 "\n"
21567 "plstring3(n, x, y, z, string)\n"
21568 "\n"
21569 "ARGUMENTS:\n"
21570 "\n"
21571 " n (PLINT, input) : Number of points in the x, y, and z vectors.\n"
21572 "\n"
21573 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21574 " the points.\n"
21575 "\n"
21576 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21577 " the points.\n"
21578 "\n"
21579 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
21580 " the points.\n"
21581 "\n"
21582 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21583 " the glyph(s) to be plotted at each of the n points. points.\n"
21584 "\n"
21585 ""},
21586 { "plstripa", _wrap_plstripa, METH_VARARGS, "\n"
21587 "Add a point to a strip chart\n"
21588 "\n"
21589 "DESCRIPTION:\n"
21590 "\n"
21591 " Add a point to a given pen of a given strip chart. There is no need\n"
21592 " for all pens to have the same number of points or to be equally\n"
21593 " sampled in the x coordinate. Allocates memory and rescales as\n"
21594 " necessary.\n"
21595 "\n"
21596 " Redacted form: plstripa(id, pen, x, y)\n"
21597 "\n"
21598 " This function is used in example 17.\n"
21599 "\n"
21600 "\n"
21601 "\n"
21602 "SYNOPSIS:\n"
21603 "\n"
21604 "plstripa(id, pen, x, y)\n"
21605 "\n"
21606 "ARGUMENTS:\n"
21607 "\n"
21608 " id (PLINT, input) : Identification number of the strip chart (set\n"
21609 " up in plstripc).\n"
21610 "\n"
21611 " pen (PLINT, input) : Pen number (ranges from 0 to 3).\n"
21612 "\n"
21613 " x (PLFLT, input) : X coordinate of point to plot.\n"
21614 "\n"
21615 " y (PLFLT, input) : Y coordinate of point to plot.\n"
21616 "\n"
21617 ""},
21618 { "plstripc", _wrap_plstripc, METH_VARARGS, "\n"
21619 "Create a 4-pen strip chart\n"
21620 "\n"
21621 "DESCRIPTION:\n"
21622 "\n"
21623 " Create a 4-pen strip chart, to be used afterwards by plstripa\n"
21624 "\n"
21625 " Redacted form: General: plstripc(id, xspec, yspec, xmin, xmax, xjump,\n"
21626 " ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline,\n"
21627 " styline, legline, labx, laby, labz)\n"
21628 "\n"
21629 "\n"
21630 " This function is used in example 17.\n"
21631 "\n"
21632 "\n"
21633 "\n"
21634 "SYNOPSIS:\n"
21635 "\n"
21636 "plstripc(id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline, styline, legline[], labx, laby, labtop)\n"
21637 "\n"
21638 "ARGUMENTS:\n"
21639 "\n"
21640 " id (PLINT_NC_SCALAR, output) : Returned value of the identification\n"
21641 " number of the strip chart to use on plstripa and plstripd.\n"
21642 "\n"
21643 " xspec (PLCHAR_VECTOR, input) : An ascii character string containing\n"
21644 " the x-axis specification as in plbox.\n"
21645 "\n"
21646 " yspec (PLCHAR_VECTOR, input) : An ascii character string containing\n"
21647 " the y-axis specification as in plbox.\n"
21648 "\n"
21649 " xmin (PLFLT, input) : Initial coordinates of plot box; they will\n"
21650 " change as data are added.\n"
21651 "\n"
21652 " xmax (PLFLT, input) : Initial coordinates of plot box; they will\n"
21653 " change as data are added.\n"
21654 "\n"
21655 " xjump (PLFLT, input) : When x attains xmax, the length of the plot\n"
21656 " is multiplied by the factor (1 +\n"
21657 " xjump) .\n"
21658 "\n"
21659 " ymin (PLFLT, input) : Initial coordinates of plot box; they will\n"
21660 " change as data are added.\n"
21661 "\n"
21662 " ymax (PLFLT, input) : Initial coordinates of plot box; they will\n"
21663 " change as data are added.\n"
21664 "\n"
21665 " xlpos (PLFLT, input) : X legend box position (range from 0 to 1).\n"
21666 "\n"
21667 " ylpos (PLFLT, input) : Y legend box position (range from 0 to 1).\n"
21668 "\n"
21669 " y_ascl (PLBOOL, input) : Autoscale y between x jumps if y_ascl is\n"
21670 " true, otherwise not.\n"
21671 "\n"
21672 " acc (PLBOOL, input) : Accumulate strip plot if acc is true,\n"
21673 " otherwise slide display.\n"
21674 "\n"
21675 " colbox (PLINT, input) : Plot box color index (cmap0).\n"
21676 "\n"
21677 " collab (PLINT, input) : Legend color index (cmap0).\n"
21678 "\n"
21679 " colline (PLINT_VECTOR, input) : A vector containing the cmap0 color\n"
21680 " indices for the 4 pens.\n"
21681 "\n"
21682 " styline (PLINT_VECTOR, input) : A vector containing the line style\n"
21683 " indices for the 4 pens.\n"
21684 "\n"
21685 " legline (PLCHAR_MATRIX, input) : A vector of UTF-8 character\n"
21686 " strings containing legends for the 4 pens.\n"
21687 "\n"
21688 " labx (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21689 " the label for the x axis.\n"
21690 "\n"
21691 " laby (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21692 " the label for the y axis.\n"
21693 "\n"
21694 " labtop (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21695 " the plot title.\n"
21696 "\n"
21697 ""},
21698 { "plstripd", _wrap_plstripd, METH_O, "\n"
21699 "Deletes and releases memory used by a strip chart\n"
21700 "\n"
21701 "DESCRIPTION:\n"
21702 "\n"
21703 " Deletes and releases memory used by a strip chart.\n"
21704 "\n"
21705 " Redacted form: plstripd(id)\n"
21706 "\n"
21707 " This function is used in example 17.\n"
21708 "\n"
21709 "\n"
21710 "\n"
21711 "SYNOPSIS:\n"
21712 "\n"
21713 "plstripd(id)\n"
21714 "\n"
21715 "ARGUMENTS:\n"
21716 "\n"
21717 " id (PLINT, input) : Identification number of strip chart to delete.\n"
21718 "\n"
21719 ""},
21720 { "plstyl", _wrap_plstyl, METH_VARARGS, "\n"
21721 "Set line style\n"
21722 "\n"
21723 "DESCRIPTION:\n"
21724 "\n"
21725 " This sets up the line style for all lines subsequently drawn. A line\n"
21726 " consists of segments in which the pen is alternately down and up. The\n"
21727 " lengths of these segments are passed in the vectors mark and space\n"
21728 " respectively. The number of mark-space pairs is specified by nms. In\n"
21729 " order to return the line style to the default continuous line, plstyl\n"
21730 " should be called with nms =0 .(see also pllsty)\n"
21731 "\n"
21732 " Redacted form: plstyl(mark, space)\n"
21733 "\n"
21734 " This function is used in examples 1, 9, and 14.\n"
21735 "\n"
21736 "\n"
21737 "\n"
21738 "SYNOPSIS:\n"
21739 "\n"
21740 "plstyl(nms, mark, space)\n"
21741 "\n"
21742 "ARGUMENTS:\n"
21743 "\n"
21744 " nms (PLINT, input) : The number of mark and space elements in a\n"
21745 " line. Thus a simple broken line can be obtained by setting nms=1\n"
21746 " . A continuous line is specified by setting nms=0 .\n"
21747 "\n"
21748 " mark (PLINT_VECTOR, input) : A vector containing the lengths of the\n"
21749 " segments during which the pen is down, measured in micrometers.\n"
21750 "\n"
21751 " space (PLINT_VECTOR, input) : A vector containing the lengths of\n"
21752 " the segments during which the pen is up, measured in micrometers.\n"
21753 "\n"
21754 ""},
21755 { "plsvect", _wrap_plsvect, METH_VARARGS, "\n"
21756 "Set arrow style for vector plots\n"
21757 "\n"
21758 "DESCRIPTION:\n"
21759 "\n"
21760 " Set the style for the arrow used by plvect to plot vectors.\n"
21761 "\n"
21762 " Redacted form: plsvect(arrowx, arrowy, fill)\n"
21763 "\n"
21764 " This function is used in example 22.\n"
21765 "\n"
21766 "\n"
21767 "\n"
21768 "SYNOPSIS:\n"
21769 "\n"
21770 "plsvect(arrowx, arrowy, npts, fill)\n"
21771 "\n"
21772 "ARGUMENTS:\n"
21773 "\n"
21774 " arrowx, arrowy (PLFLT_VECTOR, input) : A pair of vectors containing\n"
21775 " the x and y points which make up the arrow. The arrow is plotted\n"
21776 " by joining these points to form a polygon. The scaling assumes\n"
21777 " that the x and y points in the arrow lie in the range -0.5 <= x,y\n"
21778 " <= 0.5. If both arrowx and arrowy are NULL then the arrow style\n"
21779 " will be reset to its default.\n"
21780 "\n"
21781 " npts (PLINT, input) : Number of points in the vectors arrowx and\n"
21782 " arrowy.\n"
21783 "\n"
21784 " fill (PLBOOL, input) : If fill is true then the arrow is closed, if\n"
21785 " fill is false then the arrow is open.\n"
21786 "\n"
21787 ""},
21788 { "plsvpa", _wrap_plsvpa, METH_VARARGS, "\n"
21789 "Specify viewport in absolute coordinates\n"
21790 "\n"
21791 "DESCRIPTION:\n"
21792 "\n"
21793 " Alternate routine to plvpor for setting up the viewport. This routine\n"
21794 " should be used only if the viewport is required to have a definite\n"
21795 " size in millimeters. The routine plgspa is useful for finding out the\n"
21796 " size of the current subpage.\n"
21797 "\n"
21798 " Redacted form: plsvpa(xmin, xmax, ymin, ymax)\n"
21799 "\n"
21800 " This function is used in example 10.\n"
21801 "\n"
21802 "\n"
21803 "\n"
21804 "SYNOPSIS:\n"
21805 "\n"
21806 "plsvpa(xmin, xmax, ymin, ymax)\n"
21807 "\n"
21808 "ARGUMENTS:\n"
21809 "\n"
21810 " xmin (PLFLT, input) : The distance of the left-hand edge of the\n"
21811 " viewport from the left-hand edge of the subpage in millimeters.\n"
21812 "\n"
21813 " xmax (PLFLT, input) : The distance of the right-hand edge of the\n"
21814 " viewport from the left-hand edge of the subpage in millimeters.\n"
21815 "\n"
21816 " ymin (PLFLT, input) : The distance of the bottom edge of the\n"
21817 " viewport from the bottom edge of the subpage in millimeters.\n"
21818 "\n"
21819 " ymax (PLFLT, input) : The distance of the top edge of the viewport\n"
21820 " from the bottom edge of the subpage in millimeters.\n"
21821 "\n"
21822 ""},
21823 { "plsxax", _wrap_plsxax, METH_VARARGS, "\n"
21824 "Set x axis parameters\n"
21825 "\n"
21826 "DESCRIPTION:\n"
21827 "\n"
21828 " Sets values of the digmax and digits flags for the x axis. See the\n"
21829 " PLplot documentation for more information.\n"
21830 "\n"
21831 " Redacted form: plsxax(digmax, digits)\n"
21832 "\n"
21833 " This function is used in example 31.\n"
21834 "\n"
21835 "\n"
21836 "\n"
21837 "SYNOPSIS:\n"
21838 "\n"
21839 "plsxax(digmax, digits)\n"
21840 "\n"
21841 "ARGUMENTS:\n"
21842 "\n"
21843 " digmax (PLINT, input) : Variable to set the maximum number of\n"
21844 " digits for the x axis. If nonzero, the printed label will be\n"
21845 " switched to a floating-point representation when the number of\n"
21846 " digits exceeds digmax.\n"
21847 "\n"
21848 " digits (PLINT, input) : Field digits value. Currently, changing\n"
21849 " its value here has no effect since it is set only by plbox or\n"
21850 " plbox3. However, the user may obtain its value after a call to\n"
21851 " either of these functions by calling plgxax.\n"
21852 "\n"
21853 ""},
21854 { "plsyax", _wrap_plsyax, METH_VARARGS, "\n"
21855 "Set y axis parameters\n"
21856 "\n"
21857 "DESCRIPTION:\n"
21858 "\n"
21859 " Identical to plsxax, except that arguments are flags for y axis. See\n"
21860 " the description of plsxax for more detail.\n"
21861 "\n"
21862 " Redacted form: plsyax(digmax, digits)\n"
21863 "\n"
21864 " This function is used in examples 1, 14, and 31.\n"
21865 "\n"
21866 "\n"
21867 "\n"
21868 "SYNOPSIS:\n"
21869 "\n"
21870 "plsyax(digmax, digits)\n"
21871 "\n"
21872 "ARGUMENTS:\n"
21873 "\n"
21874 " digmax (PLINT, input) : Variable to set the maximum number of\n"
21875 " digits for the y axis. If nonzero, the printed label will be\n"
21876 " switched to a floating-point representation when the number of\n"
21877 " digits exceeds digmax.\n"
21878 "\n"
21879 " digits (PLINT, input) : Field digits value. Currently, changing\n"
21880 " its value here has no effect since it is set only by plbox or\n"
21881 " plbox3. However, the user may obtain its value after a call to\n"
21882 " either of these functions by calling plgyax.\n"
21883 "\n"
21884 ""},
21885 { "plsym", _wrap_plsym, METH_VARARGS, "\n"
21886 "Plot a glyph at the specified points\n"
21887 "\n"
21888 "DESCRIPTION:\n"
21889 "\n"
21890 " Plot a glyph at the specified points. (This function is largely\n"
21891 " superseded by plstring which gives access to many[!] more glyphs.)\n"
21892 "\n"
21893 " Redacted form: plsym(x, y, code)\n"
21894 "\n"
21895 " This function is used in example 7.\n"
21896 "\n"
21897 "\n"
21898 "\n"
21899 "SYNOPSIS:\n"
21900 "\n"
21901 "plsym(n, x, y, code)\n"
21902 "\n"
21903 "ARGUMENTS:\n"
21904 "\n"
21905 " n (PLINT, input) : Number of points in the x and y vectors.\n"
21906 "\n"
21907 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21908 " the points.\n"
21909 "\n"
21910 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21911 " the points.\n"
21912 "\n"
21913 " code (PLINT, input) : Hershey symbol code corresponding to a glyph\n"
21914 " to be plotted at each of the n points.\n"
21915 "\n"
21916 ""},
21917 { "plszax", _wrap_plszax, METH_VARARGS, "\n"
21918 "Set z axis parameters\n"
21919 "\n"
21920 "DESCRIPTION:\n"
21921 "\n"
21922 " Identical to plsxax, except that arguments are flags for z axis. See\n"
21923 " the description of plsxax for more detail.\n"
21924 "\n"
21925 " Redacted form: plszax(digmax, digits)\n"
21926 "\n"
21927 " This function is used in example 31.\n"
21928 "\n"
21929 "\n"
21930 "\n"
21931 "SYNOPSIS:\n"
21932 "\n"
21933 "plszax(digmax, digits)\n"
21934 "\n"
21935 "ARGUMENTS:\n"
21936 "\n"
21937 " digmax (PLINT, input) : Variable to set the maximum number of\n"
21938 " digits for the z axis. If nonzero, the printed label will be\n"
21939 " switched to a floating-point representation when the number of\n"
21940 " digits exceeds digmax.\n"
21941 "\n"
21942 " digits (PLINT, input) : Field digits value. Currently, changing\n"
21943 " its value here has no effect since it is set only by plbox or\n"
21944 " plbox3. However, the user may obtain its value after a call to\n"
21945 " either of these functions by calling plgzax.\n"
21946 "\n"
21947 ""},
21948 { "pltext", _wrap_pltext, METH_NOARGS, "\n"
21949 "Switch to text screen\n"
21950 "\n"
21951 "DESCRIPTION:\n"
21952 "\n"
21953 " Sets an interactive device to text mode, used in conjunction with\n"
21954 " plgra to allow graphics and text to be interspersed. On a device\n"
21955 " which supports separate text and graphics windows, this command causes\n"
21956 " control to be switched to the text window. This can be useful for\n"
21957 " printing diagnostic messages or getting user input, which would\n"
21958 " otherwise interfere with the plots. The program must switch back to\n"
21959 " the graphics window before issuing plot commands, as the text (or\n"
21960 " console) device will probably become quite confused otherwise. If\n"
21961 " already in text mode, this command is ignored. It is also ignored on\n"
21962 " devices which only support a single window or use a different method\n"
21963 " for shifting focus (see also plgra).\n"
21964 "\n"
21965 " Redacted form: pltext()\n"
21966 "\n"
21967 " This function is used in example 1.\n"
21968 "\n"
21969 "\n"
21970 "\n"
21971 "SYNOPSIS:\n"
21972 "\n"
21973 "pltext()\n"
21974 "\n"
21975 ""},
21976 { "pltimefmt", _wrap_pltimefmt, METH_O, "\n"
21977 "Set format for date / time labels\n"
21978 "\n"
21979 "DESCRIPTION:\n"
21980 "\n"
21981 " Sets the format for date / time labels. To enable date / time format\n"
21982 " labels see the options to plbox, plbox3, and plenv.\n"
21983 "\n"
21984 " Redacted form: pltimefmt(fmt)\n"
21985 "\n"
21986 " This function is used in example 29.\n"
21987 "\n"
21988 "\n"
21989 "\n"
21990 "SYNOPSIS:\n"
21991 "\n"
21992 "pltimefmt(fmt)\n"
21993 "\n"
21994 "ARGUMENTS:\n"
21995 "\n"
21996 " fmt (PLCHAR_VECTOR, input) : An ascii character string which is\n"
21997 " interpreted similarly to the format specifier of typical system\n"
21998 " strftime routines except that PLplot ignores locale and also\n"
21999 " supplies some useful extensions in the context of plotting. All\n"
22000 " text in the string is printed as-is other than conversion\n"
22001 " specifications which take the form of a '%' character followed by\n"
22002 " further conversion specification character. The conversion\n"
22003 " specifications which are similar to those provided by system\n"
22004 " strftime routines are the following: %a: The abbreviated (English)\n"
22005 " weekday name.\n"
22006 " %A: The full (English) weekday name.\n"
22007 " %b: The abbreviated (English) month name.\n"
22008 " %B: The full (English) month name.\n"
22009 " %c: Equivalent to %a %b %d %T %Y (non-ISO).\n"
22010 " %C: The century number (year/100) as a 2-digit integer.\n"
22011 " %d: The day of the month as a decimal number (range 01 to 31).\n"
22012 " %D: Equivalent to %m/%d/%y (non-ISO).\n"
22013 " %e: Like %d, but a leading zero is replaced by a space.\n"
22014 " %F: Equivalent to %Y-%m-%d (the ISO 8601 date format).\n"
22015 " %h: Equivalent to %b.\n"
22016 " %H: The hour as a decimal number using a 24-hour clock (range\n"
22017 " 00 to 23).\n"
22018 " %I: The hour as a decimal number using a 12-hour clock (range\n"
22019 " 01 to 12).\n"
22020 " %j: The day of the year as a decimal number (range 001 to\n"
22021 " 366).\n"
22022 " %k: The hour (24-hour clock) as a decimal number (range 0 to\n"
22023 " 23); single digits are preceded by a blank. (See also %H.)\n"
22024 " %l: The hour (12-hour clock) as a decimal number (range 1 to\n"
22025 " 12); single digits are preceded by a blank. (See also %I.)\n"
22026 " %m: The month as a decimal number (range 01 to 12).\n"
22027 " %M: The minute as a decimal number (range 00 to 59).\n"
22028 " %n: A newline character.\n"
22029 " %p: Either \"AM\" or \"PM\" according to the given time value.\n"
22030 " Noon is treated as \"PM\" and midnight as \"AM\".\n"
22031 " %r: Equivalent to %I:%M:%S %p.\n"
22032 " %R: The time in 24-hour notation (%H:%M). For a version\n"
22033 " including the seconds, see %T below.\n"
22034 " %s: The number of seconds since the Epoch, 1970-01-01 00:00:00\n"
22035 " +0000 (UTC).\n"
22036 " %S: The second as a decimal number (range 00 to 60). (The\n"
22037 " range is up to 60 to allow for occasional leap seconds.)\n"
22038 " %t: A tab character.\n"
22039 " %T: The time in 24-hour notation (%H:%M:%S).\n"
22040 " %u: The day of the week as a decimal, range 1 to 7, Monday\n"
22041 " being 1. See also %w.\n"
22042 " %U: The week number of the current year as a decimal number,\n"
22043 " range 00 to 53, starting with the first Sunday as the first\n"
22044 " day of week 01. See also %V and %W.\n"
22045 " %v: Equivalent to %e-%b-%Y.\n"
22046 " %V: The ISO 8601 week number of the current year as a decimal\n"
22047 " number, range 01 to 53, where week 1 is the first week that\n"
22048 " has at least 4 days in the new year. See also %U and %W.\n"
22049 " %w: The day of the week as a decimal, range 0 to 6, Sunday\n"
22050 " being 0. See also %u.\n"
22051 " %W: The week number of the current year as a decimal number,\n"
22052 " range 00 to 53, starting with the first Monday as the first\n"
22053 " day of week 01.\n"
22054 " %x: Equivalent to %a %b %d %Y.\n"
22055 " %X: Equivalent to %T.\n"
22056 " %y: The year as a decimal number without a century (range 00\n"
22057 " to 99).\n"
22058 " %Y: The year as a decimal number including a century.\n"
22059 " %z: The UTC time-zone string = \"+0000\".\n"
22060 " %Z: The UTC time-zone abbreviation = \"UTC\".\n"
22061 " %+: The UTC date and time in default format of the Unix date\n"
22062 " command which is equivalent to %a %b %d %T %Z %Y.\n"
22063 " %%: A literal \"%\" character.\n"
22064 " The conversion specifications which are extensions to those normally\n"
22065 " provided by system strftime routines are the following: %(0-9):\n"
22066 " The fractional part of the seconds field (including leading\n"
22067 " decimal point) to the specified accuracy. Thus %S%3 would give\n"
22068 " seconds to millisecond accuracy (00.000).\n"
22069 " %.: The fractional part of the seconds field (including\n"
22070 " leading decimal point) to the maximum available accuracy. Thus\n"
22071 " %S%. would give seconds with fractional part up to 9 decimal\n"
22072 " places if available.\n"
22073 "\n"
22074 ""},
22075 { "plvasp", _wrap_plvasp, METH_O, "\n"
22076 "Specify viewport using aspect ratio only\n"
22077 "\n"
22078 "DESCRIPTION:\n"
22079 "\n"
22080 " Selects the largest viewport with the given aspect ratio within the\n"
22081 " subpage that leaves a standard margin (left-hand margin of eight\n"
22082 " character heights, and a margin around the other three sides of five\n"
22083 " character heights).\n"
22084 "\n"
22085 " Redacted form: plvasp(aspect)\n"
22086 "\n"
22087 " This function is used in example 13.\n"
22088 "\n"
22089 "\n"
22090 "\n"
22091 "SYNOPSIS:\n"
22092 "\n"
22093 "plvasp(aspect)\n"
22094 "\n"
22095 "ARGUMENTS:\n"
22096 "\n"
22097 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n"
22098 " axis of resulting viewport.\n"
22099 "\n"
22100 ""},
22101 { "plvect", _wrap_plvect, METH_VARARGS, "\n"
22102 "Vector plot\n"
22103 "\n"
22104 "DESCRIPTION:\n"
22105 "\n"
22106 " Draws a plot of vector data contained in the matrices (\n"
22107 " u[\n"
22108 " nx][\n"
22109 " ny],\n"
22110 " v[\n"
22111 " nx][\n"
22112 " ny]) . The scaling factor for the vectors is given by scale. A\n"
22113 " transformation routine pointed to by pltr with a pointer pltr_data for\n"
22114 " additional data required by the transformation routine to map indices\n"
22115 " within the matrices to the world coordinates. The style of the vector\n"
22116 " arrow may be set using plsvect.\n"
22117 "\n"
22118 " Redacted form: plvect(u, v, scale, pltr, pltr_data) where (see above\n"
22119 " discussion) the pltr, pltr_data callback arguments are sometimes\n"
22120 " replaced by a tr vector with 6 elements, or xg and yg array arguments\n"
22121 " with either one or two dimensions.\n"
22122 "\n"
22123 " This function is used in example 22.\n"
22124 "\n"
22125 "\n"
22126 "\n"
22127 "SYNOPSIS:\n"
22128 "\n"
22129 "plvect(u, v, nx, ny, scale, pltr, pltr_data)\n"
22130 "\n"
22131 "ARGUMENTS:\n"
22132 "\n"
22133 " u, v (PLFLT_MATRIX, input) : A pair of matrices containing the x\n"
22134 " and y components of the vector data to be plotted.\n"
22135 "\n"
22136 " nx, ny (PLINT, input) : Dimensions of the matrices u and v.\n"
22137 "\n"
22138 " scale (PLFLT, input) : Parameter to control the scaling factor of\n"
22139 " the vectors for plotting. If scale = 0 then the scaling factor is\n"
22140 " automatically calculated for the data. If scale < 0 then the\n"
22141 " scaling factor is automatically calculated for the data and then\n"
22142 " multiplied by -\n"
22143 " scale. If scale > 0 then the scaling factor is set to scale.\n"
22144 "\n"
22145 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
22146 " defines the transformation between the zero-based indices of the\n"
22147 " matrices u and v and world coordinates.For the C case,\n"
22148 " transformation functions are provided in the PLplot library: pltr0\n"
22149 " for the identity mapping, and pltr1 and pltr2 for arbitrary\n"
22150 " mappings respectively defined by vectors and matrices. In\n"
22151 " addition, C callback routines for the transformation can be\n"
22152 " supplied by the user such as the mypltr function in\n"
22153 " examples/c/x09c.c which provides a general linear transformation\n"
22154 " between index coordinates and world coordinates.For languages\n"
22155 " other than C you should consult the PLplot documentation for the\n"
22156 " details concerning how PLTRANSFORM_callback arguments are\n"
22157 " interfaced. However, in general, a particular pattern of\n"
22158 " callback-associated arguments such as a tr vector with 6 elements;\n"
22159 " xg and yg vectors; or xg and yg matrices are respectively\n"
22160 " interfaced to a linear-transformation routine similar to the above\n"
22161 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
22162 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
22163 " support native language callbacks for handling index to\n"
22164 " world-coordinate transformations. Examples of these various\n"
22165 " approaches are given in examples/<language>x09*,\n"
22166 " examples/<language>x16*, examples/<language>x20*,\n"
22167 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
22168 " supported languages.\n"
22169 "\n"
22170 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
22171 " information to pltr0, pltr1, pltr2, or whatever callback routine\n"
22172 " that is externally supplied.\n"
22173 "\n"
22174 ""},
22175 { "plvpas", _wrap_plvpas, METH_VARARGS, "\n"
22176 "Specify viewport using coordinates and aspect ratio\n"
22177 "\n"
22178 "DESCRIPTION:\n"
22179 "\n"
22180 " Device-independent routine for setting up the viewport. The viewport\n"
22181 " is chosen to be the largest with the given aspect ratio that fits\n"
22182 " within the specified region (in terms of normalized subpage\n"
22183 " coordinates). This routine is functionally equivalent to plvpor when\n"
22184 " a ``natural'' aspect ratio (0.0) is chosen. Unlike plvasp, this\n"
22185 " routine reserves no extra space at the edges for labels.\n"
22186 "\n"
22187 " Redacted form: plvpas(xmin, xmax, ymin, ymax, aspect)\n"
22188 "\n"
22189 " This function is used in example 9.\n"
22190 "\n"
22191 "\n"
22192 "\n"
22193 "SYNOPSIS:\n"
22194 "\n"
22195 "plvpas(xmin, xmax, ymin, ymax, aspect)\n"
22196 "\n"
22197 "ARGUMENTS:\n"
22198 "\n"
22199 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n"
22200 " left-hand edge of the viewport.\n"
22201 "\n"
22202 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n"
22203 " right-hand edge of the viewport.\n"
22204 "\n"
22205 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n"
22206 " bottom edge of the viewport.\n"
22207 "\n"
22208 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n"
22209 " edge of the viewport.\n"
22210 "\n"
22211 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n"
22212 " axis.\n"
22213 "\n"
22214 ""},
22215 { "plvpor", _wrap_plvpor, METH_VARARGS, "\n"
22216 "Specify viewport using normalized subpage coordinates\n"
22217 "\n"
22218 "DESCRIPTION:\n"
22219 "\n"
22220 " Device-independent routine for setting up the viewport. This defines\n"
22221 " the viewport in terms of normalized subpage coordinates which run from\n"
22222 " 0.0 to 1.0 (left to right and bottom to top) along each edge of the\n"
22223 " current subpage. Use the alternate routine plsvpa in order to create\n"
22224 " a viewport of a definite size.\n"
22225 "\n"
22226 " Redacted form: plvpor(xmin, xmax, ymin, ymax)\n"
22227 "\n"
22228 " This function is used in examples 2, 6-8, 10, 11, 15, 16, 18, 21, 23,\n"
22229 " 24, 26, 27, and 31.\n"
22230 "\n"
22231 "\n"
22232 "\n"
22233 "SYNOPSIS:\n"
22234 "\n"
22235 "plvpor(xmin, xmax, ymin, ymax)\n"
22236 "\n"
22237 "ARGUMENTS:\n"
22238 "\n"
22239 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n"
22240 " left-hand edge of the viewport.\n"
22241 "\n"
22242 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n"
22243 " right-hand edge of the viewport.\n"
22244 "\n"
22245 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n"
22246 " bottom edge of the viewport.\n"
22247 "\n"
22248 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n"
22249 " edge of the viewport.\n"
22250 "\n"
22251 ""},
22252 { "plvsta", _wrap_plvsta, METH_NOARGS, "\n"
22253 "Select standard viewport\n"
22254 "\n"
22255 "DESCRIPTION:\n"
22256 "\n"
22257 " Selects the largest viewport within the subpage that leaves a standard\n"
22258 " margin (left-hand margin of eight character heights, and a margin\n"
22259 " around the other three sides of five character heights).\n"
22260 "\n"
22261 " Redacted form: plvsta()\n"
22262 "\n"
22263 " This function is used in examples 1, 12, 14, 17, 25, and 29.\n"
22264 "\n"
22265 "\n"
22266 "\n"
22267 "SYNOPSIS:\n"
22268 "\n"
22269 "plvsta()\n"
22270 "\n"
22271 ""},
22272 { "plw3d", _wrap_plw3d, METH_VARARGS, "\n"
22273 "Configure the transformations required for projecting a 3D surface on a 2D window\n"
22274 "\n"
22275 "DESCRIPTION:\n"
22276 "\n"
22277 " Configure the transformations required for projecting a 3D surface on\n"
22278 " an existing 2D window. Those transformations (see the PLplot\n"
22279 " documentation) are done to a rectangular cuboid enclosing the 3D\n"
22280 " surface which has its limits expressed in 3D world coordinates and\n"
22281 " also normalized 3D coordinates (used for interpreting the altitude and\n"
22282 " azimuth of the viewing angle). The transformations consist of the\n"
22283 " linear transform from 3D world coordinates to normalized 3D\n"
22284 " coordinates, and the 3D rotation of normalized coordinates required to\n"
22285 " align the pole of the new 3D coordinate system with the viewing\n"
22286 " direction specified by altitude and azimuth so that x and y of the\n"
22287 " surface elements in that transformed coordinate system are the\n"
22288 " projection of the 3D surface with given viewing direction on the 2D\n"
22289 " window.\n"
22290 "\n"
22291 " The enclosing rectangular cuboid for the surface plot is defined by\n"
22292 " xmin, xmax, ymin, ymax, zmin and zmax in 3D world coordinates. It is\n"
22293 " mapped into the same rectangular cuboid with normalized 3D coordinate\n"
22294 " sizes of basex by basey by height so that xmin maps to -\n"
22295 " basex/2, xmax maps to basex/2, ymin maps to -\n"
22296 " basey/2, ymax maps to basey/2, zmin maps to 0 and zmax maps to height.\n"
22297 " The resulting rectangular cuboid in normalized coordinates is then\n"
22298 " viewed by an observer at altitude alt and azimuth az. This routine\n"
22299 " must be called before plbox3 or any of the 3D surface plotting\n"
22300 " routines; plmesh, plmeshc, plot3d, plot3dc, plot3dcl, plsurf3d,\n"
22301 " plsurf3dl or plfill3.\n"
22302 "\n"
22303 " Redacted form: plw3d(basex, basey, height, xmin, xmax, ymin, ymax,\n"
22304 " zmin, zmax, alt, az)\n"
22305 "\n"
22306 " This function is examples 8, 11, 18, and 21.\n"
22307 "\n"
22308 "\n"
22309 "\n"
22310 "SYNOPSIS:\n"
22311 "\n"
22312 "plw3d(basex, basey, height, xmin, xmax, ymin, ymax, zmin, zmax, alt, az)\n"
22313 "\n"
22314 "ARGUMENTS:\n"
22315 "\n"
22316 " basex (PLFLT, input) : The normalized x coordinate size of the\n"
22317 " rectangular cuboid.\n"
22318 "\n"
22319 " basey (PLFLT, input) : The normalized y coordinate size of the\n"
22320 " rectangular cuboid.\n"
22321 "\n"
22322 " height (PLFLT, input) : The normalized z coordinate size of the\n"
22323 " rectangular cuboid.\n"
22324 "\n"
22325 " xmin (PLFLT, input) : The minimum x world coordinate of the\n"
22326 " rectangular cuboid.\n"
22327 "\n"
22328 " xmax (PLFLT, input) : The maximum x world coordinate of the\n"
22329 " rectangular cuboid.\n"
22330 "\n"
22331 " ymin (PLFLT, input) : The minimum y world coordinate of the\n"
22332 " rectangular cuboid.\n"
22333 "\n"
22334 " ymax (PLFLT, input) : The maximum y world coordinate of the\n"
22335 " rectangular cuboid.\n"
22336 "\n"
22337 " zmin (PLFLT, input) : The minimum z world coordinate of the\n"
22338 " rectangular cuboid.\n"
22339 "\n"
22340 " zmax (PLFLT, input) : The maximum z world coordinate of the\n"
22341 " rectangular cuboid.\n"
22342 "\n"
22343 " alt (PLFLT, input) : The viewing altitude in degrees above the xy\n"
22344 " plane of the rectangular cuboid in normalized coordinates.\n"
22345 "\n"
22346 " az (PLFLT, input) : The viewing azimuth in degrees of the\n"
22347 " rectangular cuboid in normalized coordinates. When az=0, the\n"
22348 " observer is looking face onto the zx plane of the rectangular\n"
22349 " cuboid in normalized coordinates, and as az is increased, the\n"
22350 " observer moves clockwise around that cuboid when viewed from above\n"
22351 " the xy plane.\n"
22352 "\n"
22353 ""},
22354 { "plwidth", _wrap_plwidth, METH_O, "\n"
22355 "Set pen width\n"
22356 "\n"
22357 "DESCRIPTION:\n"
22358 "\n"
22359 " Sets the pen width.\n"
22360 "\n"
22361 " Redacted form: plwidth(width)\n"
22362 "\n"
22363 " This function is used in examples 1 and 2.\n"
22364 "\n"
22365 "\n"
22366 "\n"
22367 "SYNOPSIS:\n"
22368 "\n"
22369 "plwidth(width)\n"
22370 "\n"
22371 "ARGUMENTS:\n"
22372 "\n"
22373 " width (PLFLT, input) : The desired pen width. If width is negative\n"
22374 " or the same as the previous value no action is taken. width = 0.\n"
22375 " should be interpreted as as the minimum valid pen width for the\n"
22376 " device. The interpretation of positive width values is also\n"
22377 " device dependent.\n"
22378 "\n"
22379 ""},
22380 { "plwind", _wrap_plwind, METH_VARARGS, "\n"
22381 "Specify window\n"
22382 "\n"
22383 "DESCRIPTION:\n"
22384 "\n"
22385 " Specify the window, i.e., the world coordinates of the edges of the\n"
22386 " viewport.\n"
22387 "\n"
22388 " Redacted form: plwind(xmin, xmax, ymin, ymax)\n"
22389 "\n"
22390 " This function is used in examples 1, 2, 4, 6-12, 14-16, 18, 21, 23-27,\n"
22391 " 29, and 31.\n"
22392 "\n"
22393 "\n"
22394 "\n"
22395 "SYNOPSIS:\n"
22396 "\n"
22397 "plwind(xmin, xmax, ymin, ymax)\n"
22398 "\n"
22399 "ARGUMENTS:\n"
22400 "\n"
22401 " xmin (PLFLT, input) : The world x coordinate of the left-hand edge\n"
22402 " of the viewport.\n"
22403 "\n"
22404 " xmax (PLFLT, input) : The world x coordinate of the right-hand edge\n"
22405 " of the viewport.\n"
22406 "\n"
22407 " ymin (PLFLT, input) : The world y coordinate of the bottom edge of\n"
22408 " the viewport.\n"
22409 "\n"
22410 " ymax (PLFLT, input) : The world y coordinate of the top edge of the\n"
22411 " viewport.\n"
22412 "\n"
22413 ""},
22414 { "plxormod", _wrap_plxormod, METH_O, "\n"
22415 "Enter or leave xor mode\n"
22416 "\n"
22417 "DESCRIPTION:\n"
22418 "\n"
22419 " Enter (when mode is true) or leave (when mode is false) xor mode for\n"
22420 " those drivers (e.g., the xwin driver) that support it. Enables\n"
22421 " erasing plots by drawing twice the same line, symbol, etc. If driver\n"
22422 " is not capable of xor operation it returns a status of false.\n"
22423 "\n"
22424 " Redacted form: plxormod(mode, status)\n"
22425 "\n"
22426 " This function is used in examples 1 and 20.\n"
22427 "\n"
22428 "\n"
22429 "\n"
22430 "SYNOPSIS:\n"
22431 "\n"
22432 "plxormod(mode, status)\n"
22433 "\n"
22434 "ARGUMENTS:\n"
22435 "\n"
22436 " mode (PLBOOL, input) : mode is true means enter xor mode and mode\n"
22437 " is false means leave xor mode.\n"
22438 "\n"
22439 " status (PLBOOL_NC_SCALAR, output) : Returned value of the status.\n"
22440 " modestatus of true (false) means driver is capable (incapable) of\n"
22441 " xor mode.\n"
22442 "\n"
22443 ""},
22444 { "plmap", _wrap_plmap, METH_VARARGS, "\n"
22445 "Plot continental outline or shapefile data in world coordinates\n"
22446 "\n"
22447 "DESCRIPTION:\n"
22448 "\n"
22449 " Plots continental outlines or shapefile data in world coordinates. A\n"
22450 " demonstration of how to use this function to create different\n"
22451 " projections can be found in examples/c/x19c. PLplot is provided with\n"
22452 " basic coastal outlines and USA state borders. To use the map\n"
22453 " functionality PLplot must be compiled with the shapelib library.\n"
22454 " Shapefiles have become a popular standard for geographical data and\n"
22455 " data in this format can be easily found from a number of online\n"
22456 " sources. Shapefile data is actually provided as three or more files\n"
22457 " with the same filename, but different extensions. The .shp and .shx\n"
22458 " files are required for plotting Shapefile data with PLplot.\n"
22459 "\n"
22460 " PLplot currently supports the point, multipoint, polyline and polygon\n"
22461 " objects within shapefiles. However holes in polygons are not\n"
22462 " supported. When plmap is used the type of object is derived from the\n"
22463 " shapefile, if you wish to override the type then use one of the other\n"
22464 " plmap variants. The built in maps have line data only.\n"
22465 "\n"
22466 " Redacted form: plmap(mapform, name, minx, maxx, miny, maxy)\n"
22467 "\n"
22468 " This function is used in example 19.\n"
22469 "\n"
22470 "\n"
22471 "\n"
22472 "SYNOPSIS:\n"
22473 "\n"
22474 "plmap(mapform, name, minx, maxx, miny, maxy)\n"
22475 "\n"
22476 "ARGUMENTS:\n"
22477 "\n"
22478 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22479 " transform the original map data coordinates to a new coordinate\n"
22480 " system. The PLplot-supplied map data is provided as latitudes and\n"
22481 " longitudes; other Shapefile data may be provided in other\n"
22482 " coordinate systems as can be found in their .prj plain text files.\n"
22483 " For example, by using this transform we can change from a\n"
22484 " longitude, latitude coordinate to a polar stereographic\n"
22485 " projection. Initially, x[0]..[n-1] are the original x coordinates\n"
22486 " (longitudes for the PLplot-supplied data) and y[0]..y[n-1] are the\n"
22487 " corresponding y coordinates (latitudes for the PLplot supplied\n"
22488 " data). After the call to mapform(), x[] and y[] should be\n"
22489 " replaced by the corresponding plot coordinates. If no transform is\n"
22490 " desired, mapform can be replaced by NULL.\n"
22491 "\n"
22492 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22493 " the type of map plotted. This is either one of the PLplot built-in\n"
22494 " maps or the file name of a set of Shapefile files without the file\n"
22495 " extensions. For the PLplot built-in maps the possible values are:\n"
22496 " \"globe\" -- continental outlines\n"
22497 " \"usa\" -- USA and state boundaries\n"
22498 " \"cglobe\" -- continental outlines and countries\n"
22499 " \"usaglobe\" -- USA, state boundaries and continental outlines\n"
22500 "\n"
22501 "\n"
22502 " minx (PLFLT, input) : The minimum x value of map elements to be\n"
22503 " drawn. The units must match the shapefile (built in maps are\n"
22504 " degrees lat/lon). Objects in the file which do not encroach on the\n"
22505 " box defined by minx, maxx, miny, maxy will not be rendered. But\n"
22506 " note this is simply an optimisation, not a clipping so for objects\n"
22507 " with some points inside the box and some points outside the box\n"
22508 " all the points will be rendered. These parameters also define\n"
22509 " latitude and longitude wrapping for shapefiles using these units.\n"
22510 " Longitude points will be wrapped by integer multiples of 360\n"
22511 " degrees to place them in the box. This allows the same data to be\n"
22512 " used on plots from -180-180 or 0-360 longitude ranges. In fact if\n"
22513 " you plot from -180-540 you will get two cycles of data drawn. The\n"
22514 " value of minx must be less than the value of maxx. Passing in a\n"
22515 " nan, max/-max floating point number or +/-infinity will case the\n"
22516 " bounding box from the shapefile to be used.\n"
22517 "\n"
22518 " maxx (PLFLT, input) : The maximum x value of map elements to be\n"
22519 " drawn - see minx.\n"
22520 "\n"
22521 " miny (PLFLT, input) : The minimum y value of map elements to be\n"
22522 " drawn - see minx.\n"
22523 "\n"
22524 " maxy (PLFLT, input) : The maximum y value of map elements to be\n"
22525 " drawn - see minx.\n"
22526 "\n"
22527 ""},
22528 { "plmapline", _wrap_plmapline, METH_VARARGS, "\n"
22529 "Plot all or a subset of Shapefile data using lines in world coordinates\n"
22530 "\n"
22531 "DESCRIPTION:\n"
22532 "\n"
22533 " Plot all or a subset of Shapefile data using lines in world\n"
22534 " coordinates. Our 19th standard example demonstrates how to use this\n"
22535 " function. This function plots data from a Shapefile using lines as in\n"
22536 " plmap, however it also has the option of also only drawing specified\n"
22537 " elements from the Shapefile. The vector of indices of the required\n"
22538 " elements are passed as a function argument. The Shapefile data should\n"
22539 " include a metadata file (extension.dbf) listing all items within the\n"
22540 " Shapefile. This file can be opened by most popular spreadsheet\n"
22541 " programs and can be used to decide which indices to pass to this\n"
22542 " function.\n"
22543 "\n"
22544 " Redacted form: plmapline(mapform, name, minx, maxx, miny, maxy,\n"
22545 " plotentries)\n"
22546 "\n"
22547 " This function is used in example 19.\n"
22548 "\n"
22549 "\n"
22550 "\n"
22551 "SYNOPSIS:\n"
22552 "\n"
22553 "plmapline(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22554 "\n"
22555 "ARGUMENTS:\n"
22556 "\n"
22557 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22558 " transform the coordinates given in the shapefile into a plot\n"
22559 " coordinate system. By using this transform, we can change from a\n"
22560 " longitude, latitude coordinate to a polar stereographic project,\n"
22561 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22562 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22563 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22564 " plot coordinates. If no transform is desired, mapform can be\n"
22565 " replaced by NULL.\n"
22566 "\n"
22567 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22568 " the file name of a set of Shapefile files without the file\n"
22569 " extension.\n"
22570 "\n"
22571 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22572 " be in the same units as used by the Shapefile. You could use a\n"
22573 " very large negative number to plot everything, but you can improve\n"
22574 " performance by limiting the area drawn. The units must match those\n"
22575 " of the Shapefile projection, which may be for example longitude or\n"
22576 " distance. The value of minx must be less than the value of maxx.\n"
22577 "\n"
22578 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22579 " use a very large number to plot everything, but you can improve\n"
22580 " performance by limiting the area drawn.\n"
22581 "\n"
22582 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22583 " be in the same units as used by the Shapefile. You could use a\n"
22584 " very large negative number to plot everything, but you can improve\n"
22585 " performance by limiting the area drawn. The units must match those\n"
22586 " of the Shapefile projection, which may be for example latitude or\n"
22587 " distance. The value of miny must be less than the value of maxy.\n"
22588 "\n"
22589 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22590 " use a very large number to plot everything, but you can improve\n"
22591 " performance by limiting the area drawn.\n"
22592 "\n"
22593 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22594 " zero-based indices of the Shapefile elements which will be drawn.\n"
22595 " Setting\n"
22596 " plotentries to NULL will plot all elements of the Shapefile.\n"
22597 "\n"
22598 " nplotentries (PLINT, input) : The number of items in\n"
22599 " plotentries. Ignored if\n"
22600 " plotentries is NULL.\n"
22601 "\n"
22602 ""},
22603 { "plmapstring", _wrap_plmapstring, METH_VARARGS, "\n"
22604 "Plot all or a subset of Shapefile data using strings or points in world coordinates\n"
22605 "\n"
22606 "DESCRIPTION:\n"
22607 "\n"
22608 " As per plmapline, however the items are plotted as strings or points\n"
22609 " in the same way as plstring.\n"
22610 "\n"
22611 " Redacted form: plmapstring(mapform, name, string, minx, maxx, miny,\n"
22612 " maxy, plotentries)\n"
22613 "\n"
22614 " This function is not used in any examples.\n"
22615 "\n"
22616 "\n"
22617 "\n"
22618 "SYNOPSIS:\n"
22619 "\n"
22620 "plmapstring(mapform, name, string, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22621 "\n"
22622 "ARGUMENTS:\n"
22623 "\n"
22624 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22625 " transform the coordinates given in the shapefile into a plot\n"
22626 " coordinate system. By using this transform, we can change from a\n"
22627 " longitude, latitude coordinate to a polar stereographic project,\n"
22628 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22629 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22630 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22631 " plot coordinates. If no transform is desired, mapform can be\n"
22632 " replaced by NULL.\n"
22633 "\n"
22634 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22635 " the file name of a set of Shapefile files without the file\n"
22636 " extension.\n"
22637 "\n"
22638 " string (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
22639 " drawn.\n"
22640 "\n"
22641 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22642 " be in the same units as used by the Shapefile. You could use a\n"
22643 " very large negative number to plot everything, but you can improve\n"
22644 " performance by limiting the area drawn. The units must match those\n"
22645 " of the Shapefile projection, which may be for example longitude or\n"
22646 " distance. The value of minx must be less than the value of maxx.\n"
22647 "\n"
22648 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22649 " use a very large number to plot everything, but you can improve\n"
22650 " performance by limiting the area drawn.\n"
22651 "\n"
22652 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22653 " be in the same units as used by the Shapefile. You could use a\n"
22654 " very large negative number to plot everything, but you can improve\n"
22655 " performance by limiting the area drawn. The units must match those\n"
22656 " of the Shapefile projection, which may be for example latitude or\n"
22657 " distance. The value of miny must be less than the value of maxy.\n"
22658 "\n"
22659 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22660 " use a very large number to plot everything, but you can improve\n"
22661 " performance by limiting the area drawn.\n"
22662 "\n"
22663 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22664 " zero-based indices of the Shapefile elements which will be drawn.\n"
22665 " Setting\n"
22666 " plotentries to NULL will plot all elements of the Shapefile.\n"
22667 "\n"
22668 " nplotentries (PLINT, input) : The number of items in\n"
22669 " plotentries. Ignored if\n"
22670 " plotentries is NULL.\n"
22671 "\n"
22672 ""},
22673 { "plmaptex", _wrap_plmaptex, METH_VARARGS, "\n"
22674 "Draw text at points defined by Shapefile data in world coordinates\n"
22675 "\n"
22676 "DESCRIPTION:\n"
22677 "\n"
22678 " As per plmapline, however the items are plotted as text in the same\n"
22679 " way as plptex.\n"
22680 "\n"
22681 " Redacted form: plmaptex(mapform, name, dx, dy, just, text, minx, maxx,\n"
22682 " miny, maxy, plotentry)\n"
22683 "\n"
22684 " This function is used in example 19.\n"
22685 "\n"
22686 "\n"
22687 "\n"
22688 "SYNOPSIS:\n"
22689 "\n"
22690 "plmaptex(mapform, name, dx, dy, just, text, minx, maxx, miny, maxy, plotentry)\n"
22691 "\n"
22692 "ARGUMENTS:\n"
22693 "\n"
22694 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22695 " transform the coordinates given in the shapefile into a plot\n"
22696 " coordinate system. By using this transform, we can change from a\n"
22697 " longitude, latitude coordinate to a polar stereographic project,\n"
22698 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22699 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22700 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22701 " plot coordinates. If no transform is desired, mapform can be\n"
22702 " replaced by NULL.\n"
22703 "\n"
22704 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22705 " the file name of a set of Shapefile files without the file\n"
22706 " extension.\n"
22707 "\n"
22708 " dx (PLFLT, input) : Used to define the slope of the texts which is\n"
22709 " dy/dx.\n"
22710 "\n"
22711 " dy (PLFLT, input) : Used to define the slope of the texts which is\n"
22712 " dy/dx.\n"
22713 "\n"
22714 " just (PLFLT, input) : Set the justification of the text. The value\n"
22715 " given will be the fraction of the distance along the string that\n"
22716 " sits at the given point. 0.0 gives left aligned text, 0.5 gives\n"
22717 " centralized text and 1.0 gives right aligned text.\n"
22718 "\n"
22719 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be drawn.\n"
22720 "\n"
22721 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22722 " be in the same units as used by the Shapefile. You could use a\n"
22723 " very large negative number to plot everything, but you can improve\n"
22724 " performance by limiting the area drawn. The units must match those\n"
22725 " of the Shapefile projection, which may be for example longitude or\n"
22726 " distance. The value of minx must be less than the value of maxx.\n"
22727 "\n"
22728 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22729 " use a very large number to plot everything, but you can improve\n"
22730 " performance by limiting the area drawn.\n"
22731 "\n"
22732 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22733 " be in the same units as used by the Shapefile. You could use a\n"
22734 " very large negative number to plot everything, but you can improve\n"
22735 " performance by limiting the area drawn. The units must match those\n"
22736 " of the Shapefile projection, which may be for example latitude or\n"
22737 " distance. The value of miny must be less than the value of maxy.\n"
22738 "\n"
22739 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22740 " use a very large number to plot everything, but you can improve\n"
22741 " performance by limiting the area drawn.\n"
22742 "\n"
22743 " plotentry (PLINT, input) : An integer indicating which text string\n"
22744 " of the Shapefile (zero indexed) will be drawn.\n"
22745 "\n"
22746 ""},
22747 { "plmapfill", _wrap_plmapfill, METH_VARARGS, "\n"
22748 "Plot all or a subset of Shapefile data, filling the polygons\n"
22749 "\n"
22750 "DESCRIPTION:\n"
22751 "\n"
22752 " As per plmapline, however the items are filled in the same way as\n"
22753 " plfill.\n"
22754 "\n"
22755 " Redacted form: plmapfill(mapform, name, minx, maxx, miny, maxy,\n"
22756 " plotentries)\n"
22757 "\n"
22758 " This function is used in example 19.\n"
22759 "\n"
22760 "\n"
22761 "\n"
22762 "SYNOPSIS:\n"
22763 "\n"
22764 "plmapfill(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22765 "\n"
22766 "ARGUMENTS:\n"
22767 "\n"
22768 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22769 " transform the coordinates given in the shapefile into a plot\n"
22770 " coordinate system. By using this transform, we can change from a\n"
22771 " longitude, latitude coordinate to a polar stereographic project,\n"
22772 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22773 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22774 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22775 " plot coordinates. If no transform is desired, mapform can be\n"
22776 " replaced by NULL.\n"
22777 "\n"
22778 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22779 " the file name of a set of Shapefile files without the file\n"
22780 " extension.\n"
22781 "\n"
22782 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22783 " be in the same units as used by the Shapefile. You could use a\n"
22784 " very large negative number to plot everything, but you can improve\n"
22785 " performance by limiting the area drawn. The units must match those\n"
22786 " of the Shapefile projection, which may be for example longitude or\n"
22787 " distance. The value of minx must be less than the value of maxx.\n"
22788 "\n"
22789 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22790 " use a very large number to plot everything, but you can improve\n"
22791 " performance by limiting the area drawn.\n"
22792 "\n"
22793 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22794 " be in the same units as used by the Shapefile. You could use a\n"
22795 " very large negative number to plot everything, but you can improve\n"
22796 " performance by limiting the area drawn. The units must match those\n"
22797 " of the Shapefile projection, which may be for example latitude or\n"
22798 " distance. The value of miny must be less than the value of maxy.\n"
22799 "\n"
22800 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22801 " use a very large number to plot everything, but you can improve\n"
22802 " performance by limiting the area drawn.\n"
22803 "\n"
22804 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22805 " zero-based indices of the Shapefile elements which will be drawn.\n"
22806 " Setting\n"
22807 " plotentries to NULL will plot all elements of the Shapefile.\n"
22808 "\n"
22809 " nplotentries (PLINT, input) : The number of items in\n"
22810 " plotentries. Ignored if\n"
22811 " plotentries is NULL.\n"
22812 "\n"
22813 ""},
22814 { "plmeridians", _wrap_plmeridians, METH_VARARGS, "\n"
22815 "Plot latitude and longitude lines\n"
22816 "\n"
22817 "DESCRIPTION:\n"
22818 "\n"
22819 " Displays latitude and longitude on the current plot. The lines are\n"
22820 " plotted in the current color and line style.\n"
22821 "\n"
22822 " Redacted form: plmeridians(mapform, dlong, dlat, minlong, maxlong,\n"
22823 " minlat, maxlat)\n"
22824 "\n"
22825 " This function is used in example 19.\n"
22826 "\n"
22827 "\n"
22828 "\n"
22829 "SYNOPSIS:\n"
22830 "\n"
22831 "plmeridians(mapform, dlong, dlat, minlong, maxlong, minlat, maxlat)\n"
22832 "\n"
22833 "ARGUMENTS:\n"
22834 "\n"
22835 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22836 " transform the coordinate longitudes and latitudes to a plot\n"
22837 " coordinate system. By using this transform, we can change from a\n"
22838 " longitude, latitude coordinate to a polar stereographic project,\n"
22839 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22840 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22841 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22842 " plot coordinates. If no transform is desired, mapform can be\n"
22843 " replaced by NULL.\n"
22844 "\n"
22845 " dlong (PLFLT, input) : The interval in degrees at which the\n"
22846 " longitude lines are to be plotted.\n"
22847 "\n"
22848 " dlat (PLFLT, input) : The interval in degrees at which the latitude\n"
22849 " lines are to be plotted.\n"
22850 "\n"
22851 " minlong (PLFLT, input) : The value of the longitude on the left\n"
22852 " side of the plot. The value of minlong must be less than the value\n"
22853 " of maxlong, and the quantity maxlong-minlong must be less than or\n"
22854 " equal to 360.\n"
22855 "\n"
22856 " maxlong (PLFLT, input) : The value of the longitude on the right\n"
22857 " side of the plot.\n"
22858 "\n"
22859 " minlat (PLFLT, input) : The minimum latitude to be plotted on the\n"
22860 " background. One can always use -90.0 as the boundary outside the\n"
22861 " plot window will be automatically eliminated. However, the\n"
22862 " program will be faster if one can reduce the size of the\n"
22863 " background plotted.\n"
22864 "\n"
22865 " maxlat (PLFLT, input) : The maximum latitudes to be plotted on the\n"
22866 " background. One can always use 90.0 as the boundary outside the\n"
22867 " plot window will be automatically eliminated.\n"
22868 "\n"
22869 ""},
22870 { "plimage", _wrap_plimage, METH_VARARGS, "\n"
22871 "Plot a 2D matrix using cmap1 with automatic color adjustment\n"
22872 "\n"
22873 "DESCRIPTION:\n"
22874 "\n"
22875 " Plot a 2D matrix using the cmap1 palette. The color scale is\n"
22876 " automatically adjusted to use the maximum and minimum values in idata\n"
22877 " as valuemin and valuemax in a call to plimagefr.\n"
22878 "\n"
22879 " Redacted form: General: plimage(idata, xmin, xmax, ymin, ymax, zmin,\n"
22880 " zmax, Dxmin, Dxmax, Dymin, Dymax)\n"
22881 "\n"
22882 "\n"
22883 " This function is used in example 20.\n"
22884 "\n"
22885 "\n"
22886 "\n"
22887 "SYNOPSIS:\n"
22888 "\n"
22889 "plimage(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, Dxmin, Dxmax, Dymin, Dymax)\n"
22890 "\n"
22891 "ARGUMENTS:\n"
22892 "\n"
22893 " idata (PLFLT_MATRIX, input) : A matrix containing function values\n"
22894 " to plot. Should have dimensions of\n"
22895 " nx by\n"
22896 " ny.\n"
22897 "\n"
22898 " nx, ny (PLINT, input) : Dimensions of idata\n"
22899 "\n"
22900 " xmin, xmax, ymin, ymax (PLFLT, input) : The x and y index ranges\n"
22901 " are linearly transformed to these world coordinate ranges such\n"
22902 " that idata[0][0] corresponds to (xmin, ymin) and idata[nx - 1][ny\n"
22903 " - 1] corresponds to (xmax, ymax).\n"
22904 "\n"
22905 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n"
22906 " (inclusive) will be plotted.\n"
22907 "\n"
22908 " Dxmin, Dxmax, Dymin, Dymax (PLFLT, input) : Plot only the window of\n"
22909 " points whose plot coordinates fall inside the window of (Dxmin,\n"
22910 " Dymin) to (Dxmax, Dymax).\n"
22911 "\n"
22912 ""},
22913 { "plimagefr", _wrap_plimagefr, METH_VARARGS, "\n"
22914 "Plot a 2D matrix using cmap1\n"
22915 "\n"
22916 "DESCRIPTION:\n"
22917 "\n"
22918 " Plot a 2D matrix using cmap1.\n"
22919 "\n"
22920 " Redacted form: General: plimagefr(idata, xmin, xmax, ymin, ymax, zmin,\n"
22921 " zmax, valuemin, valuemax, pltr, pltr_data)\n"
22922 "\n"
22923 "\n"
22924 " This function is used in example 20.\n"
22925 "\n"
22926 "\n"
22927 "\n"
22928 "SYNOPSIS:\n"
22929 "\n"
22930 "plimagefr(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr, pltr_data)\n"
22931 "\n"
22932 "ARGUMENTS:\n"
22933 "\n"
22934 " idata (PLFLT_MATRIX, input) : A matrix of values (intensities) to\n"
22935 " plot. Should have dimensions of\n"
22936 " nx by\n"
22937 " ny.\n"
22938 "\n"
22939 " nx, ny (PLINT, input) : Dimensions of idata\n"
22940 "\n"
22941 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
22942 " pltr below for how these arguments are used (only for the special case\n"
22943 " when the callback function\n"
22944 " pltr is not supplied).\n"
22945 "\n"
22946 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n"
22947 " (inclusive) will be plotted.\n"
22948 "\n"
22949 " valuemin, valuemax (PLFLT, input) : The minimum and maximum data\n"
22950 " values to use for value to color mappings. A datum equal to or\n"
22951 " less than valuemin will be plotted with color 0.0, while a datum\n"
22952 " equal to or greater than valuemax will be plotted with color 1.0.\n"
22953 " Data between valuemin and valuemax map linearly to colors in the\n"
22954 " range (0.0-1.0).\n"
22955 "\n"
22956 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
22957 " defines the transformation between the zero-based indices of the\n"
22958 " matrix idata and world coordinates. If\n"
22959 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
22960 " indices of idata are mapped to the range\n"
22961 " xmin through\n"
22962 " xmax and the y indices of idata are mapped to the range\n"
22963 " ymin through\n"
22964 " ymax.For the C case, transformation functions are provided in the\n"
22965 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
22966 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
22967 " matrices. In addition, C callback routines for the transformation\n"
22968 " can be supplied by the user such as the mypltr function in\n"
22969 " examples/c/x09c.c which provides a general linear transformation\n"
22970 " between index coordinates and world coordinates.For languages\n"
22971 " other than C you should consult the PLplot documentation for the\n"
22972 " details concerning how PLTRANSFORM_callback arguments are\n"
22973 " interfaced. However, in general, a particular pattern of\n"
22974 " callback-associated arguments such as a tr vector with 6 elements;\n"
22975 " xg and yg vectors; or xg and yg matrices are respectively\n"
22976 " interfaced to a linear-transformation routine similar to the above\n"
22977 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
22978 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
22979 " support native language callbacks for handling index to\n"
22980 " world-coordinate transformations. Examples of these various\n"
22981 " approaches are given in examples/<language>x09*,\n"
22982 " examples/<language>x16*, examples/<language>x20*,\n"
22983 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
22984 " supported languages.\n"
22985 "\n"
22986 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
22987 " information to pltr0, pltr1, pltr2, or whatever routine is\n"
22988 " externally supplied.\n"
22989 "\n"
22990 ""},
22991 { "plClearOpts", _wrap_plClearOpts, METH_NOARGS, NULL},
22992 { "plResetOpts", _wrap_plResetOpts, METH_NOARGS, NULL},
22993 { "plSetUsage", _wrap_plSetUsage, METH_VARARGS, NULL},
22994 { "plOptUsage", _wrap_plOptUsage, METH_NOARGS, NULL},
22995 { "plMinMax2dGrid", _wrap_plMinMax2dGrid, METH_O, NULL},
22996 { "plGetCursor", _wrap_plGetCursor, METH_O, "\n"
22997 "Wait for graphics input event and translate to world coordinates.\n"
22998 "\n"
22999 "DESCRIPTION:\n"
23000 "\n"
23001 " Wait for graphics input event and translate to world coordinates.\n"
23002 " Returns 0 if no translation to world coordinates is possible.\n"
23003 "\n"
23004 " This function returns 1 on success and 0 if no translation to world\n"
23005 " coordinates is possible.\n"
23006 "\n"
23007 " Redacted form: plGetCursor(gin)\n"
23008 "\n"
23009 " This function is used in examples 1 and 20.\n"
23010 "\n"
23011 "\n"
23012 "\n"
23013 "SYNOPSIS:\n"
23014 "\n"
23015 "PLINT plGetCursor(gin)\n"
23016 "\n"
23017 "ARGUMENTS:\n"
23018 "\n"
23019 " gin (PLGraphicsIn *, output) : Pointer to PLGraphicsIn structure\n"
23020 " which will contain the output. The structure is not allocated by\n"
23021 " the routine and must exist before the function is called.\n"
23022 "\n"
23023 ""},
23024 { NULL, NULL, 0, NULL }
23025};
23026
23027
23028/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23029
23030static swig_type_info _swigt__p_PLGraphicsIn = {"_p_PLGraphicsIn", "PLGraphicsIn *", 0, 0, (void*)0, 0};
23031static swig_type_info _swigt__p_PLcGrid = {"_p_PLcGrid", "PLcGrid *", 0, 0, (void*)0, 0};
23032static swig_type_info _swigt__p_PLcGrid2 = {"_p_PLcGrid2", "PLcGrid2 *", 0, 0, (void*)0, 0};
23033static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
23034static swig_type_info _swigt__p_double = {"_p_double", "PLFLT *|double *", 0, 0, (void*)0, 0};
23035static swig_type_info _swigt__p_f_double_double__int = {"_p_f_double_double__int", "defined_func|int (*)(double,double)", 0, 0, (void*)0, 0};
23036static swig_type_info _swigt__p_f_double_double_p_double_p_double_p_void__void = {"_p_f_double_double_p_double_p_double_p_void__void", "ct_func|pltr_func|void (*)(double,double,double *,double *,void *)", 0, 0, (void*)0, 0};
23037static swig_type_info _swigt__p_f_int_double_p_char_int_p_void__void = {"_p_f_int_double_p_char_int_p_void__void", "label_func|void (*)(int,double,char *,int,void *)", 0, 0, (void*)0, 0};
23038static swig_type_info _swigt__p_f_int_p_double_p_double__void = {"_p_f_int_p_double_p_double__void", "mapform_func|void (*)(int,double *,double *)", 0, 0, (void*)0, 0};
23039static swig_type_info _swigt__p_f_int_p_q_const__double_p_q_const__double__void = {"_p_f_int_p_q_const__double_p_q_const__double__void", "fill_func|void (*)(int,double const *,double const *)", 0, 0, (void*)0, 0};
23040static swig_type_info _swigt__p_int = {"_p_int", "PLBOOL *|PLINT *|int *", 0, 0, (void*)0, 0};
23041static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
23042static swig_type_info _swigt__p_p_double = {"_p_p_double", "PLFLT **|double **", 0, 0, (void*)0, 0};
23043static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "PLUNICODE *|unsigned int *", 0, 0, (void*)0, 0};
23044
23061
23062static swig_cast_info _swigc__p_PLGraphicsIn[] = { {&_swigt__p_PLGraphicsIn, 0, 0, 0},{0, 0, 0, 0}};
23063static swig_cast_info _swigc__p_PLcGrid[] = { {&_swigt__p_PLcGrid, 0, 0, 0},{0, 0, 0, 0}};
23064static swig_cast_info _swigc__p_PLcGrid2[] = { {&_swigt__p_PLcGrid2, 0, 0, 0},{0, 0, 0, 0}};
23065static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
23066static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
23072static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
23073static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
23074static swig_cast_info _swigc__p_p_double[] = { {&_swigt__p_p_double, 0, 0, 0},{0, 0, 0, 0}};
23075static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
23076
23093
23094
23095/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
23096
23098{0, 0, 0, 0.0, 0, 0}};
23099
23100#ifdef __cplusplus
23101}
23102#endif
23103/* -----------------------------------------------------------------------------
23104 * Type initialization:
23105 * This problem is tough by the requirement that no dynamic
23106 * memory is used. Also, since swig_type_info structures store pointers to
23107 * swig_cast_info structures and swig_cast_info structures store pointers back
23108 * to swig_type_info structures, we need some lookup code at initialization.
23109 * The idea is that swig generates all the structures that are needed.
23110 * The runtime then collects these partially filled structures.
23111 * The SWIG_InitializeModule function takes these initial arrays out of
23112 * swig_module, and does all the lookup, filling in the swig_module.types
23113 * array with the correct data and linking the correct swig_cast_info
23114 * structures together.
23115 *
23116 * The generated swig_type_info structures are assigned statically to an initial
23117 * array. We just loop through that array, and handle each type individually.
23118 * First we lookup if this type has been already loaded, and if so, use the
23119 * loaded structure instead of the generated one. Then we have to fill in the
23120 * cast linked list. The cast data is initially stored in something like a
23121 * two-dimensional array. Each row corresponds to a type (there are the same
23122 * number of rows as there are in the swig_type_initial array). Each entry in
23123 * a column is one of the swig_cast_info structures for that type.
23124 * The cast_initial array is actually an array of arrays, because each row has
23125 * a variable number of columns. So to actually build the cast linked list,
23126 * we find the array of casts associated with the type, and loop through it
23127 * adding the casts to the list. The one last trick we need to do is making
23128 * sure the type pointer in the swig_cast_info struct is correct.
23129 *
23130 * First off, we lookup the cast->type name to see if it is already loaded.
23131 * There are three cases to handle:
23132 * 1) If the cast->type has already been loaded AND the type we are adding
23133 * casting info to has not been loaded (it is in this module), THEN we
23134 * replace the cast->type pointer with the type pointer that has already
23135 * been loaded.
23136 * 2) If BOTH types (the one we are adding casting info to, and the
23137 * cast->type) are loaded, THEN the cast info has already been loaded by
23138 * the previous module so we just ignore it.
23139 * 3) Finally, if cast->type has not already been loaded, then we add that
23140 * swig_cast_info to the linked list (because the cast->type) pointer will
23141 * be correct.
23142 * ----------------------------------------------------------------------------- */
23143
23144#ifdef __cplusplus
23145extern "C" {
23146#if 0
23147} /* c-mode */
23148#endif
23149#endif
23150
23151#if 0
23152#define SWIGRUNTIME_DEBUG
23153#endif
23154
23155#ifndef SWIG_INIT_CLIENT_DATA_TYPE
23156#define SWIG_INIT_CLIENT_DATA_TYPE void *
23157#endif
23158
23159SWIGRUNTIME void
23161 size_t i;
23162 swig_module_info *module_head, *iter;
23163 int init;
23164
23165 /* check to see if the circular list has been setup, if not, set it up */
23166 if (swig_module.next==0) {
23167 /* Initialize the swig_module */
23168 swig_module.type_initial = swig_type_initial;
23169 swig_module.cast_initial = swig_cast_initial;
23170 swig_module.next = &swig_module;
23171 init = 1;
23172 } else {
23173 init = 0;
23174 }
23175
23176 /* Try and load any already created modules */
23177 module_head = SWIG_GetModule(clientdata);
23178 if (!module_head) {
23179 /* This is the first module loaded for this interpreter */
23180 /* so set the swig module into the interpreter */
23181 SWIG_SetModule(clientdata, &swig_module);
23182 } else {
23183 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
23184 iter=module_head;
23185 do {
23186 if (iter==&swig_module) {
23187 /* Our module is already in the list, so there's nothing more to do. */
23188 return;
23189 }
23190 iter=iter->next;
23191 } while (iter!= module_head);
23192
23193 /* otherwise we must add our module into the list */
23194 swig_module.next = module_head->next;
23195 module_head->next = &swig_module;
23196 }
23197
23198 /* When multiple interpreters are used, a module could have already been initialized in
23199 a different interpreter, but not yet have a pointer in this interpreter.
23200 In this case, we do not want to continue adding types... everything should be
23201 set up already */
23202 if (init == 0) return;
23203
23204 /* Now work on filling in swig_module.types */
23205#ifdef SWIGRUNTIME_DEBUG
23206 printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
23207#endif
23208 for (i = 0; i < swig_module.size; ++i) {
23209 swig_type_info *type = 0;
23210 swig_type_info *ret;
23211 swig_cast_info *cast;
23212
23213#ifdef SWIGRUNTIME_DEBUG
23214 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
23215#endif
23216
23217 /* if there is another module already loaded */
23218 if (swig_module.next != &swig_module) {
23219 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
23220 }
23221 if (type) {
23222 /* Overwrite clientdata field */
23223#ifdef SWIGRUNTIME_DEBUG
23224 printf("SWIG_InitializeModule: found type %s\n", type->name);
23225#endif
23226 if (swig_module.type_initial[i]->clientdata) {
23227 type->clientdata = swig_module.type_initial[i]->clientdata;
23228#ifdef SWIGRUNTIME_DEBUG
23229 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
23230#endif
23231 }
23232 } else {
23233 type = swig_module.type_initial[i];
23234 }
23235
23236 /* Insert casting types */
23237 cast = swig_module.cast_initial[i];
23238 while (cast->type) {
23239 /* Don't need to add information already in the list */
23240 ret = 0;
23241#ifdef SWIGRUNTIME_DEBUG
23242 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
23243#endif
23244 if (swig_module.next != &swig_module) {
23246#ifdef SWIGRUNTIME_DEBUG
23247 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
23248#endif
23249 }
23250 if (ret) {
23251 if (type == swig_module.type_initial[i]) {
23252#ifdef SWIGRUNTIME_DEBUG
23253 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
23254#endif
23255 cast->type = ret;
23256 ret = 0;
23257 } else {
23258 /* Check for casting already in the list */
23259 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
23260#ifdef SWIGRUNTIME_DEBUG
23261 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
23262#endif
23263 if (!ocast) ret = 0;
23264 }
23265 }
23266
23267 if (!ret) {
23268#ifdef SWIGRUNTIME_DEBUG
23269 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
23270#endif
23271 if (type->cast) {
23272 type->cast->prev = cast;
23273 cast->next = type->cast;
23274 }
23275 type->cast = cast;
23276 }
23277 cast++;
23278 }
23279 /* Set entry in modules->types array equal to the type */
23280 swig_module.types[i] = type;
23281 }
23282 swig_module.types[i] = 0;
23283
23284#ifdef SWIGRUNTIME_DEBUG
23285 printf("**** SWIG_InitializeModule: Cast List ******\n");
23286 for (i = 0; i < swig_module.size; ++i) {
23287 int j = 0;
23288 swig_cast_info *cast = swig_module.cast_initial[i];
23289 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
23290 while (cast->type) {
23291 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
23292 cast++;
23293 ++j;
23294 }
23295 printf("---- Total casts: %d\n",j);
23296 }
23297 printf("**** SWIG_InitializeModule: Cast List ******\n");
23298#endif
23299}
23300
23301/* This function will propagate the clientdata field of type to
23302* any new swig_type_info structures that have been added into the list
23303* of equivalent types. It is like calling
23304* SWIG_TypeClientData(type, clientdata) a second time.
23305*/
23306SWIGRUNTIME void
23308 size_t i;
23309 swig_cast_info *equiv;
23310 static int init_run = 0;
23311
23312 if (init_run) return;
23313 init_run = 1;
23314
23315 for (i = 0; i < swig_module.size; i++) {
23316 if (swig_module.types[i]->clientdata) {
23317 equiv = swig_module.types[i]->cast;
23318 while (equiv) {
23319 if (!equiv->converter) {
23320 if (equiv->type && !equiv->type->clientdata)
23321 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
23322 }
23323 equiv = equiv->next;
23324 }
23325 }
23326 }
23327}
23328
23329#ifdef __cplusplus
23330#if 0
23331{
23332 /* c-mode */
23333#endif
23334}
23335#endif
23336
23337
23338
23339#ifdef __cplusplus
23340extern "C" {
23341#endif
23342
23343 /* -----------------------------------------------------------------------------
23344 * constants/methods manipulation
23345 * ----------------------------------------------------------------------------- */
23346
23347 /* Install Constants */
23348 SWIGINTERN void
23350 PyObject *obj = 0;
23351 size_t i;
23352 for (i = 0; constants[i].type; ++i) {
23353 switch(constants[i].type) {
23354 case SWIG_PY_POINTER:
23355 obj = SWIG_InternalNewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
23356 break;
23357 case SWIG_PY_BINARY:
23358 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
23359 break;
23360 default:
23361 obj = 0;
23362 break;
23363 }
23364 if (obj) {
23365 PyDict_SetItemString(d, constants[i].name, obj);
23366 SWIG_Py_DECREF(obj);
23367 }
23368 }
23369 }
23370
23371 /* -----------------------------------------------------------------------------
23372 * Patch %callback methods' docstrings to hold the callback ptrs
23373 * -----------------------------------------------------------------------------*/
23374
23375 SWIGINTERN void
23376 SWIG_Python_FixMethods(PyMethodDef *methods, const swig_const_info *const_table, swig_type_info **types, swig_type_info **types_initial) {
23377 size_t i;
23378 for (i = 0; methods[i].ml_name; ++i) {
23379 const char *c = methods[i].ml_doc;
23380 if (!c) continue;
23381 c = strstr(c, "swig_ptr: ");
23382 if (c) {
23383 int j;
23384 const swig_const_info *ci = 0;
23385 const char *name = c + 10;
23386 for (j = 0; const_table[j].type; ++j) {
23387 if (strncmp(const_table[j].name, name,
23388 strlen(const_table[j].name)) == 0) {
23389 ci = &(const_table[j]);
23390 break;
23391 }
23392 }
23393 if (ci) {
23394 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
23395 if (ptr) {
23396 size_t shift = (ci->ptype) - types;
23397 swig_type_info *ty = types_initial[shift];
23398 size_t ldoc = (c - methods[i].ml_doc);
23399 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
23400 char *ndoc = (char*)malloc(ldoc + lptr + 10);
23401 if (ndoc) {
23402 char *buff = ndoc;
23403 memcpy(buff, methods[i].ml_doc, ldoc);
23404 buff += ldoc;
23405 memcpy(buff, "swig_ptr: ", 10);
23406 buff += 10;
23407 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
23408 methods[i].ml_doc = ndoc;
23409 }
23410 }
23411 }
23412 }
23413 }
23414 }
23415
23416#ifdef __cplusplus
23417}
23418#endif
23419
23420
23421
23422
23423/* -----------------------------------------------------------------------------*
23424 * Partial Init method
23425 * -----------------------------------------------------------------------------*/
23426
23427#ifdef __cplusplus
23428extern "C"
23429#endif
23430
23432#if PY_VERSION_HEX >= 0x03000000
23433PyObject*
23434#else
23435void
23436#endif
23438 PyObject *m, *d, *md, *globals;
23439
23440#if PY_VERSION_HEX >= 0x03000000
23441 static struct PyModuleDef SWIG_module = {
23442 PyModuleDef_HEAD_INIT,
23443 SWIG_name,
23444 NULL,
23445 -1,
23447 NULL,
23448 NULL,
23449 NULL,
23450 NULL
23451 };
23452#endif
23453
23454#if defined(SWIGPYTHON_BUILTIN)
23455 static SwigPyClientData SwigPyObject_clientdata = {
23456 0, 0, 0, 0, 0, 0, 0
23457 };
23458 static PyGetSetDef this_getset_def = {
23459 (char *)"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
23460 };
23461 static SwigPyGetSet thisown_getset_closure = {
23464 };
23465 static PyGetSetDef thisown_getset_def = {
23466 (char *)"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
23467 };
23468 PyTypeObject *builtin_pytype;
23469 int builtin_base_count;
23470 swig_type_info *builtin_basetype;
23471 PyObject *tuple;
23472 PyGetSetDescrObject *static_getset;
23473 PyTypeObject *metatype;
23474 PyTypeObject *swigpyobject;
23475 SwigPyClientData *cd;
23476 PyObject *public_interface, *public_symbol;
23477 PyObject *this_descr;
23478 PyObject *thisown_descr;
23479 PyObject *self = 0;
23480 int i;
23481
23482 (void)builtin_pytype;
23483 (void)builtin_base_count;
23484 (void)builtin_basetype;
23485 (void)tuple;
23486 (void)static_getset;
23487 (void)self;
23488
23489 /* Metaclass is used to implement static member variables */
23490 metatype = SwigPyObjectType();
23491 assert(metatype);
23492#endif
23493
23494 (void)globals;
23495
23496 /* Create singletons now to avoid potential deadlocks with multi-threaded usage after module initialization */
23498 SWIG_This();
23501#ifndef SWIGPYTHON_BUILTIN
23503#endif
23504
23505 /* Fix SwigMethods to carry the callback ptrs when needed */
23507
23508#if PY_VERSION_HEX >= 0x03000000
23509 m = PyModule_Create(&SWIG_module);
23510#else
23511 m = Py_InitModule(SWIG_name, SwigMethods);
23512#endif
23513
23514 md = d = PyModule_GetDict(m);
23515 (void)md;
23516
23518
23519#ifdef SWIGPYTHON_BUILTIN
23520 swigpyobject = SwigPyObject_TypeOnce();
23521
23522 SwigPyObject_stype = SWIG_MangledTypeQuery("_p_SwigPyObject");
23523 assert(SwigPyObject_stype);
23524 cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
23525 if (!cd) {
23526 SwigPyObject_stype->clientdata = &SwigPyObject_clientdata;
23527 SwigPyObject_clientdata.pytype = swigpyobject;
23528 } else if (swigpyobject->tp_basicsize != cd->pytype->tp_basicsize) {
23529 PyErr_SetString(PyExc_RuntimeError, "Import error: attempted to load two incompatible swig-generated modules.");
23530# if PY_VERSION_HEX >= 0x03000000
23531 return NULL;
23532# else
23533 return;
23534# endif
23535 }
23536
23537 /* All objects have a 'this' attribute */
23538 this_descr = PyDescr_NewGetSet(SwigPyObject_type(), &this_getset_def);
23539 (void)this_descr;
23540
23541 /* All objects have a 'thisown' attribute */
23542 thisown_descr = PyDescr_NewGetSet(SwigPyObject_type(), &thisown_getset_def);
23543 (void)thisown_descr;
23544
23545 public_interface = PyList_New(0);
23546 public_symbol = 0;
23547 (void)public_symbol;
23548
23549 PyDict_SetItemString(md, "__all__", public_interface);
23550 SWIG_Py_DECREF(public_interface);
23551 for (i = 0; SwigMethods[i].ml_name != NULL; ++i)
23552 SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name);
23553 for (i = 0; swig_const_table[i].name != 0; ++i)
23554 SwigPyBuiltin_AddPublicSymbol(public_interface, swig_const_table[i].name);
23555#endif
23556
23558
23559
23560 import_array();
23561
23562 SWIG_Python_SetConstant(d, "PLESC_SET_RGB",SWIG_From_int((int)(1)));
23563 SWIG_Python_SetConstant(d, "PLESC_ALLOC_NCOL",SWIG_From_int((int)(2)));
23564 SWIG_Python_SetConstant(d, "PLESC_SET_LPB",SWIG_From_int((int)(3)));
23565 SWIG_Python_SetConstant(d, "PLESC_EXPOSE",SWIG_From_int((int)(4)));
23566 SWIG_Python_SetConstant(d, "PLESC_RESIZE",SWIG_From_int((int)(5)));
23567 SWIG_Python_SetConstant(d, "PLESC_REDRAW",SWIG_From_int((int)(6)));
23568 SWIG_Python_SetConstant(d, "PLESC_TEXT",SWIG_From_int((int)(7)));
23569 SWIG_Python_SetConstant(d, "PLESC_GRAPH",SWIG_From_int((int)(8)));
23570 SWIG_Python_SetConstant(d, "PLESC_FILL",SWIG_From_int((int)(9)));
23571 SWIG_Python_SetConstant(d, "PLESC_DI",SWIG_From_int((int)(10)));
23572 SWIG_Python_SetConstant(d, "PLESC_FLUSH",SWIG_From_int((int)(11)));
23573 SWIG_Python_SetConstant(d, "PLESC_EH",SWIG_From_int((int)(12)));
23574 SWIG_Python_SetConstant(d, "PLESC_GETC",SWIG_From_int((int)(13)));
23575 SWIG_Python_SetConstant(d, "PLESC_SWIN",SWIG_From_int((int)(14)));
23576 SWIG_Python_SetConstant(d, "PLESC_DOUBLEBUFFERING",SWIG_From_int((int)(15)));
23577 SWIG_Python_SetConstant(d, "PLESC_XORMOD",SWIG_From_int((int)(16)));
23578 SWIG_Python_SetConstant(d, "PLESC_SET_COMPRESSION",SWIG_From_int((int)(17)));
23579 SWIG_Python_SetConstant(d, "PLESC_CLEAR",SWIG_From_int((int)(18)));
23580 SWIG_Python_SetConstant(d, "PLESC_DASH",SWIG_From_int((int)(19)));
23581 SWIG_Python_SetConstant(d, "PLESC_HAS_TEXT",SWIG_From_int((int)(20)));
23582 SWIG_Python_SetConstant(d, "PLESC_IMAGE",SWIG_From_int((int)(21)));
23583 SWIG_Python_SetConstant(d, "PLESC_IMAGEOPS",SWIG_From_int((int)(22)));
23584 SWIG_Python_SetConstant(d, "PLESC_PL2DEVCOL",SWIG_From_int((int)(23)));
23585 SWIG_Python_SetConstant(d, "PLESC_DEV2PLCOL",SWIG_From_int((int)(24)));
23586 SWIG_Python_SetConstant(d, "PLESC_SETBGFG",SWIG_From_int((int)(25)));
23587 SWIG_Python_SetConstant(d, "PLESC_DEVINIT",SWIG_From_int((int)(26)));
23588 SWIG_Python_SetConstant(d, "PLESC_GETBACKEND",SWIG_From_int((int)(27)));
23589 SWIG_Python_SetConstant(d, "PLESC_BEGIN_TEXT",SWIG_From_int((int)(28)));
23590 SWIG_Python_SetConstant(d, "PLESC_TEXT_CHAR",SWIG_From_int((int)(29)));
23591 SWIG_Python_SetConstant(d, "PLESC_CONTROL_CHAR",SWIG_From_int((int)(30)));
23592 SWIG_Python_SetConstant(d, "PLESC_END_TEXT",SWIG_From_int((int)(31)));
23593 SWIG_Python_SetConstant(d, "PLESC_START_RASTERIZE",SWIG_From_int((int)(32)));
23594 SWIG_Python_SetConstant(d, "PLESC_END_RASTERIZE",SWIG_From_int((int)(33)));
23595 SWIG_Python_SetConstant(d, "PLESC_ARC",SWIG_From_int((int)(34)));
23596 SWIG_Python_SetConstant(d, "PLESC_GRADIENT",SWIG_From_int((int)(35)));
23597 SWIG_Python_SetConstant(d, "PLESC_MODESET",SWIG_From_int((int)(36)));
23598 SWIG_Python_SetConstant(d, "PLESC_MODEGET",SWIG_From_int((int)(37)));
23599 SWIG_Python_SetConstant(d, "PLESC_FIXASPECT",SWIG_From_int((int)(38)));
23600 SWIG_Python_SetConstant(d, "PLESC_IMPORT_BUFFER",SWIG_From_int((int)(39)));
23601 SWIG_Python_SetConstant(d, "PLESC_APPEND_BUFFER",SWIG_From_int((int)(40)));
23602 SWIG_Python_SetConstant(d, "PLESC_FLUSH_REMAINING_BUFFER",SWIG_From_int((int)(41)));
23603 SWIG_Python_SetConstant(d, "PLTEXT_FONTCHANGE",SWIG_From_int((int)(0)));
23604 SWIG_Python_SetConstant(d, "PLTEXT_SUPERSCRIPT",SWIG_From_int((int)(1)));
23605 SWIG_Python_SetConstant(d, "PLTEXT_SUBSCRIPT",SWIG_From_int((int)(2)));
23606 SWIG_Python_SetConstant(d, "PLTEXT_BACKCHAR",SWIG_From_int((int)(3)));
23607 SWIG_Python_SetConstant(d, "PLTEXT_OVERLINE",SWIG_From_int((int)(4)));
23608 SWIG_Python_SetConstant(d, "PLTEXT_UNDERLINE",SWIG_From_int((int)(5)));
23609 SWIG_Python_SetConstant(d, "ZEROW2B",SWIG_From_int((int)(1)));
23610 SWIG_Python_SetConstant(d, "ZEROW2D",SWIG_From_int((int)(2)));
23611 SWIG_Python_SetConstant(d, "ONEW2B",SWIG_From_int((int)(3)));
23612 SWIG_Python_SetConstant(d, "ONEW2D",SWIG_From_int((int)(4)));
23613 SWIG_Python_SetConstant(d, "PLSWIN_DEVICE",SWIG_From_int((int)(1)));
23614 SWIG_Python_SetConstant(d, "PLSWIN_WORLD",SWIG_From_int((int)(2)));
23615 SWIG_Python_SetConstant(d, "PL_X_AXIS",SWIG_From_int((int)(1)));
23616 SWIG_Python_SetConstant(d, "PL_Y_AXIS",SWIG_From_int((int)(2)));
23617 SWIG_Python_SetConstant(d, "PL_Z_AXIS",SWIG_From_int((int)(3)));
23618 SWIG_Python_SetConstant(d, "PL_OPT_ENABLED",SWIG_From_int((int)(0x0001)));
23619 SWIG_Python_SetConstant(d, "PL_OPT_ARG",SWIG_From_int((int)(0x0002)));
23620 SWIG_Python_SetConstant(d, "PL_OPT_NODELETE",SWIG_From_int((int)(0x0004)));
23621 SWIG_Python_SetConstant(d, "PL_OPT_INVISIBLE",SWIG_From_int((int)(0x0008)));
23622 SWIG_Python_SetConstant(d, "PL_OPT_DISABLED",SWIG_From_int((int)(0x0010)));
23623 SWIG_Python_SetConstant(d, "PL_OPT_FUNC",SWIG_From_int((int)(0x0100)));
23624 SWIG_Python_SetConstant(d, "PL_OPT_BOOL",SWIG_From_int((int)(0x0200)));
23625 SWIG_Python_SetConstant(d, "PL_OPT_INT",SWIG_From_int((int)(0x0400)));
23626 SWIG_Python_SetConstant(d, "PL_OPT_FLOAT",SWIG_From_int((int)(0x0800)));
23627 SWIG_Python_SetConstant(d, "PL_OPT_STRING",SWIG_From_int((int)(0x1000)));
23628 SWIG_Python_SetConstant(d, "PL_PARSE_PARTIAL",SWIG_From_int((int)(0x0000)));
23629 SWIG_Python_SetConstant(d, "PL_PARSE_FULL",SWIG_From_int((int)(0x0001)));
23630 SWIG_Python_SetConstant(d, "PL_PARSE_QUIET",SWIG_From_int((int)(0x0002)));
23631 SWIG_Python_SetConstant(d, "PL_PARSE_NODELETE",SWIG_From_int((int)(0x0004)));
23632 SWIG_Python_SetConstant(d, "PL_PARSE_SHOWALL",SWIG_From_int((int)(0x0008)));
23633 SWIG_Python_SetConstant(d, "PL_PARSE_OVERRIDE",SWIG_From_int((int)(0x0010)));
23634 SWIG_Python_SetConstant(d, "PL_PARSE_NOPROGRAM",SWIG_From_int((int)(0x0020)));
23635 SWIG_Python_SetConstant(d, "PL_PARSE_NODASH",SWIG_From_int((int)(0x0040)));
23636 SWIG_Python_SetConstant(d, "PL_PARSE_SKIP",SWIG_From_int((int)(0x0080)));
23637 SWIG_Python_SetConstant(d, "PL_FCI_MARK",SWIG_From_int((int)(0x80000000)));
23638 SWIG_Python_SetConstant(d, "PL_FCI_IMPOSSIBLE",SWIG_From_int((int)(0x00000000)));
23639 SWIG_Python_SetConstant(d, "PL_FCI_HEXDIGIT_MASK",SWIG_From_int((int)(0xf)));
23640 SWIG_Python_SetConstant(d, "PL_FCI_HEXPOWER_MASK",SWIG_From_int((int)(0x7)));
23641 SWIG_Python_SetConstant(d, "PL_FCI_HEXPOWER_IMPOSSIBLE",SWIG_From_int((int)(0xf)));
23642 SWIG_Python_SetConstant(d, "PL_FCI_FAMILY",SWIG_From_int((int)(0x0)));
23643 SWIG_Python_SetConstant(d, "PL_FCI_STYLE",SWIG_From_int((int)(0x1)));
23644 SWIG_Python_SetConstant(d, "PL_FCI_WEIGHT",SWIG_From_int((int)(0x2)));
23645 SWIG_Python_SetConstant(d, "PL_FCI_SANS",SWIG_From_int((int)(0x0)));
23646 SWIG_Python_SetConstant(d, "PL_FCI_SERIF",SWIG_From_int((int)(0x1)));
23647 SWIG_Python_SetConstant(d, "PL_FCI_MONO",SWIG_From_int((int)(0x2)));
23648 SWIG_Python_SetConstant(d, "PL_FCI_SCRIPT",SWIG_From_int((int)(0x3)));
23649 SWIG_Python_SetConstant(d, "PL_FCI_SYMBOL",SWIG_From_int((int)(0x4)));
23650 SWIG_Python_SetConstant(d, "PL_FCI_UPRIGHT",SWIG_From_int((int)(0x0)));
23651 SWIG_Python_SetConstant(d, "PL_FCI_ITALIC",SWIG_From_int((int)(0x1)));
23652 SWIG_Python_SetConstant(d, "PL_FCI_OBLIQUE",SWIG_From_int((int)(0x2)));
23653 SWIG_Python_SetConstant(d, "PL_FCI_MEDIUM",SWIG_From_int((int)(0x0)));
23654 SWIG_Python_SetConstant(d, "PL_FCI_BOLD",SWIG_From_int((int)(0x1)));
23655 SWIG_Python_SetConstant(d, "PL_MAXKEY",SWIG_From_int((int)(16)));
23656 SWIG_Python_SetConstant(d, "PL_MASK_SHIFT",SWIG_From_int((int)(0x1)));
23657 SWIG_Python_SetConstant(d, "PL_MASK_CAPS",SWIG_From_int((int)(0x2)));
23658 SWIG_Python_SetConstant(d, "PL_MASK_CONTROL",SWIG_From_int((int)(0x4)));
23659 SWIG_Python_SetConstant(d, "PL_MASK_ALT",SWIG_From_int((int)(0x8)));
23660 SWIG_Python_SetConstant(d, "PL_MASK_NUM",SWIG_From_int((int)(0x10)));
23661 SWIG_Python_SetConstant(d, "PL_MASK_ALTGR",SWIG_From_int((int)(0x20)));
23662 SWIG_Python_SetConstant(d, "PL_MASK_WIN",SWIG_From_int((int)(0x40)));
23663 SWIG_Python_SetConstant(d, "PL_MASK_SCROLL",SWIG_From_int((int)(0x80)));
23664 SWIG_Python_SetConstant(d, "PL_MASK_BUTTON1",SWIG_From_int((int)(0x100)));
23665 SWIG_Python_SetConstant(d, "PL_MASK_BUTTON2",SWIG_From_int((int)(0x200)));
23666 SWIG_Python_SetConstant(d, "PL_MASK_BUTTON3",SWIG_From_int((int)(0x400)));
23667 SWIG_Python_SetConstant(d, "PL_MASK_BUTTON4",SWIG_From_int((int)(0x800)));
23668 SWIG_Python_SetConstant(d, "PL_MASK_BUTTON5",SWIG_From_int((int)(0x1000)));
23669 SWIG_Python_SetConstant(d, "PL_MAXWINDOWS",SWIG_From_int((int)(64)));
23670 SWIG_Python_SetConstant(d, "PL_NOTSET",SWIG_From_int((int)((-42))));
23671 SWIG_Python_SetConstant(d, "PL_DEFAULT_NCOL0",SWIG_From_int((int)(16)));
23672 SWIG_Python_SetConstant(d, "PL_DEFAULT_NCOL1",SWIG_From_int((int)(128)));
23673 SWIG_Python_SetConstant(d, "MIN_PLINT_RGB",SWIG_From_int((int)(0)));
23674 SWIG_Python_SetConstant(d, "MAX_PLINT_RGB",SWIG_From_int((int)(255)));
23675 SWIG_Python_SetConstant(d, "MIN_PLFLT_CMAP1",SWIG_From_double((double)(0.)));
23676 SWIG_Python_SetConstant(d, "MAX_PLFLT_CMAP1",SWIG_From_double((double)(1.)));
23677 SWIG_Python_SetConstant(d, "MIN_PLFLT_ALPHA",SWIG_From_double((double)(0.)));
23678 SWIG_Python_SetConstant(d, "MAX_PLFLT_ALPHA",SWIG_From_double((double)(1.)));
23679 SWIG_Python_SetConstant(d, "PLESC_DOUBLEBUFFERING_ENABLE",SWIG_From_int((int)(1)));
23680 SWIG_Python_SetConstant(d, "PLESC_DOUBLEBUFFERING_DISABLE",SWIG_From_int((int)(2)));
23681 SWIG_Python_SetConstant(d, "PLESC_DOUBLEBUFFERING_QUERY",SWIG_From_int((int)(3)));
23682 SWIG_Python_SetConstant(d, "PL_BIN_DEFAULT",SWIG_From_int((int)(0x0)));
23683 SWIG_Python_SetConstant(d, "PL_BIN_CENTRED",SWIG_From_int((int)(0x1)));
23684 SWIG_Python_SetConstant(d, "PL_BIN_NOEXPAND",SWIG_From_int((int)(0x2)));
23685 SWIG_Python_SetConstant(d, "PL_BIN_NOEMPTY",SWIG_From_int((int)(0x4)));
23686 SWIG_Python_SetConstant(d, "GRID_CSA",SWIG_From_int((int)(1)));
23687 SWIG_Python_SetConstant(d, "GRID_DTLI",SWIG_From_int((int)(2)));
23688 SWIG_Python_SetConstant(d, "GRID_NNI",SWIG_From_int((int)(3)));
23689 SWIG_Python_SetConstant(d, "GRID_NNIDW",SWIG_From_int((int)(4)));
23690 SWIG_Python_SetConstant(d, "GRID_NNLI",SWIG_From_int((int)(5)));
23691 SWIG_Python_SetConstant(d, "GRID_NNAIDW",SWIG_From_int((int)(6)));
23692 SWIG_Python_SetConstant(d, "PL_HIST_DEFAULT",SWIG_From_int((int)(0x00)));
23693 SWIG_Python_SetConstant(d, "PL_HIST_NOSCALING",SWIG_From_int((int)(0x01)));
23694 SWIG_Python_SetConstant(d, "PL_HIST_IGNORE_OUTLIERS",SWIG_From_int((int)(0x02)));
23695 SWIG_Python_SetConstant(d, "PL_HIST_NOEXPAND",SWIG_From_int((int)(0x08)));
23696 SWIG_Python_SetConstant(d, "PL_HIST_NOEMPTY",SWIG_From_int((int)(0x10)));
23697 SWIG_Python_SetConstant(d, "PL_POSITION_NULL",SWIG_From_int((int)(0x0)));
23698 SWIG_Python_SetConstant(d, "PL_POSITION_LEFT",SWIG_From_int((int)(0x1)));
23699 SWIG_Python_SetConstant(d, "PL_POSITION_RIGHT",SWIG_From_int((int)(0x2)));
23700 SWIG_Python_SetConstant(d, "PL_POSITION_TOP",SWIG_From_int((int)(0x4)));
23701 SWIG_Python_SetConstant(d, "PL_POSITION_BOTTOM",SWIG_From_int((int)(0x8)));
23702 SWIG_Python_SetConstant(d, "PL_POSITION_INSIDE",SWIG_From_int((int)(0x10)));
23703 SWIG_Python_SetConstant(d, "PL_POSITION_OUTSIDE",SWIG_From_int((int)(0x20)));
23704 SWIG_Python_SetConstant(d, "PL_POSITION_VIEWPORT",SWIG_From_int((int)(0x40)));
23705 SWIG_Python_SetConstant(d, "PL_POSITION_SUBPAGE",SWIG_From_int((int)(0x80)));
23706 SWIG_Python_SetConstant(d, "PL_LEGEND_NULL",SWIG_From_int((int)(0x0)));
23707 SWIG_Python_SetConstant(d, "PL_LEGEND_NONE",SWIG_From_int((int)(0x1)));
23708 SWIG_Python_SetConstant(d, "PL_LEGEND_COLOR_BOX",SWIG_From_int((int)(0x2)));
23709 SWIG_Python_SetConstant(d, "PL_LEGEND_LINE",SWIG_From_int((int)(0x4)));
23710 SWIG_Python_SetConstant(d, "PL_LEGEND_SYMBOL",SWIG_From_int((int)(0x8)));
23711 SWIG_Python_SetConstant(d, "PL_LEGEND_TEXT_LEFT",SWIG_From_int((int)(0x10)));
23712 SWIG_Python_SetConstant(d, "PL_LEGEND_BACKGROUND",SWIG_From_int((int)(0x20)));
23713 SWIG_Python_SetConstant(d, "PL_LEGEND_BOUNDING_BOX",SWIG_From_int((int)(0x40)));
23714 SWIG_Python_SetConstant(d, "PL_LEGEND_ROW_MAJOR",SWIG_From_int((int)(0x80)));
23715 SWIG_Python_SetConstant(d, "PL_COLORBAR_NULL",SWIG_From_int((int)(0x0)));
23716 SWIG_Python_SetConstant(d, "PL_COLORBAR_LABEL_LEFT",SWIG_From_int((int)(0x1)));
23717 SWIG_Python_SetConstant(d, "PL_COLORBAR_LABEL_RIGHT",SWIG_From_int((int)(0x2)));
23718 SWIG_Python_SetConstant(d, "PL_COLORBAR_LABEL_TOP",SWIG_From_int((int)(0x4)));
23719 SWIG_Python_SetConstant(d, "PL_COLORBAR_LABEL_BOTTOM",SWIG_From_int((int)(0x8)));
23720 SWIG_Python_SetConstant(d, "PL_COLORBAR_IMAGE",SWIG_From_int((int)(0x10)));
23721 SWIG_Python_SetConstant(d, "PL_COLORBAR_SHADE",SWIG_From_int((int)(0x20)));
23722 SWIG_Python_SetConstant(d, "PL_COLORBAR_GRADIENT",SWIG_From_int((int)(0x40)));
23723 SWIG_Python_SetConstant(d, "PL_COLORBAR_CAP_NONE",SWIG_From_int((int)(0x80)));
23724 SWIG_Python_SetConstant(d, "PL_COLORBAR_CAP_LOW",SWIG_From_int((int)(0x100)));
23725 SWIG_Python_SetConstant(d, "PL_COLORBAR_CAP_HIGH",SWIG_From_int((int)(0x200)));
23726 SWIG_Python_SetConstant(d, "PL_COLORBAR_SHADE_LABEL",SWIG_From_int((int)(0x400)));
23727 SWIG_Python_SetConstant(d, "PL_COLORBAR_ORIENT_RIGHT",SWIG_From_int((int)(0x800)));
23728 SWIG_Python_SetConstant(d, "PL_COLORBAR_ORIENT_TOP",SWIG_From_int((int)(0x1000)));
23729 SWIG_Python_SetConstant(d, "PL_COLORBAR_ORIENT_LEFT",SWIG_From_int((int)(0x2000)));
23730 SWIG_Python_SetConstant(d, "PL_COLORBAR_ORIENT_BOTTOM",SWIG_From_int((int)(0x4000)));
23731 SWIG_Python_SetConstant(d, "PL_COLORBAR_BACKGROUND",SWIG_From_int((int)(0x8000)));
23732 SWIG_Python_SetConstant(d, "PL_COLORBAR_BOUNDING_BOX",SWIG_From_int((int)(0x10000)));
23733 SWIG_Python_SetConstant(d, "PL_DRAWMODE_UNKNOWN",SWIG_From_int((int)(0x0)));
23734 SWIG_Python_SetConstant(d, "PL_DRAWMODE_DEFAULT",SWIG_From_int((int)(0x1)));
23735 SWIG_Python_SetConstant(d, "PL_DRAWMODE_REPLACE",SWIG_From_int((int)(0x2)));
23736 SWIG_Python_SetConstant(d, "PL_DRAWMODE_XOR",SWIG_From_int((int)(0x4)));
23737 SWIG_Python_SetConstant(d, "DRAW_LINEX",SWIG_From_int((int)(0x001)));
23738 SWIG_Python_SetConstant(d, "DRAW_LINEY",SWIG_From_int((int)(0x002)));
23739 SWIG_Python_SetConstant(d, "DRAW_LINEXY",SWIG_From_int((int)(0x003)));
23740 SWIG_Python_SetConstant(d, "MAG_COLOR",SWIG_From_int((int)(0x004)));
23741 SWIG_Python_SetConstant(d, "BASE_CONT",SWIG_From_int((int)(0x008)));
23742 SWIG_Python_SetConstant(d, "TOP_CONT",SWIG_From_int((int)(0x010)));
23743 SWIG_Python_SetConstant(d, "SURF_CONT",SWIG_From_int((int)(0x020)));
23744 SWIG_Python_SetConstant(d, "DRAW_SIDES",SWIG_From_int((int)(0x040)));
23745 SWIG_Python_SetConstant(d, "FACETED",SWIG_From_int((int)(0x080)));
23746 SWIG_Python_SetConstant(d, "MESH",SWIG_From_int((int)(0x100)));
23747#if PY_VERSION_HEX >= 0x03000000
23748 return m;
23749#else
23750 return;
23751#endif
23752}
23753
#define min(x, y)
Definition nnpi.c:87
#define max(x, y)
Definition nnpi.c:88
void plOptUsage(void)
Definition plargs.c:1304
void plClearOpts(void)
Definition plargs.c:830
void plResetOpts(void)
Definition plargs.c:843
void plSetUsage(PLCHAR_VECTOR program_string, PLCHAR_VECTOR usage_string)
Definition plargs.c:1287
static int error
Definition plcont.c:61
void pltr2(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
Definition plcont.c:941
void pltr1(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
Definition plcont.c:874
void pltr0(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer PL_UNUSED(pltr_data))
Definition plcont.c:858
void plsxwin(PLINT window_id)
Definition plcore.c:3978
static PLFLT value(double n1, double n2, double hue)
Definition plctrl.c:1219
void plMinMax2dGrid(PLFLT_MATRIX f, PLINT nx, PLINT ny, PLFLT *fnmax, PLFLT *fnmin)
Definition plmem.c:141
PLINT plGetCursor(PLGraphicsIn *plg)
Definition plpage.c:244
#define plgfci
Definition plplot.h:735
#define plgstrm
Definition plplot.h:744
#define plpat
Definition plplot.h:779
#define plschr
Definition plplot.h:790
#define plfontld
Definition plplot.h:721
#define plpath
Definition plplot.h:761
#define plerry
Definition plplot.h:715
#define plsfam
Definition plplot.h:816
#define plsmaj
Definition plplot.h:826
#define plsmin
Definition plplot.h:829
#define pleop
Definition plplot.h:713
#define plimage
Definition plplot.h:753
#define plstransform
Definition plplot.h:840
#define plmap
Definition plplot.h:764
#define plfill
Definition plplot.h:717
#define plvpas
Definition plplot.h:859
#define plgdiplt
Definition plplot.h:732
#define plerrx
Definition plplot.h:714
#define plinit
Definition plplot.h:755
#define plscmap1l
Definition plplot.h:796
#define plsori
Definition plplot.h:830
#define plbox3
Definition plplot.h:698
#define plmapfill
Definition plplot.h:768
#define plcol1
Definition plplot.h:703
#define pltimefmt
Definition plplot.h:856
PLUINT PLUNICODE
Definition plplot.h:201
#define plmaptex
Definition plplot.h:767
#define plvect
Definition plplot.h:858
#define plgchr
Definition plplot.h:722
float PLFLT
Definition plplot.h:163
#define pllegend
Definition plplot.h:758
#define plsyax
Definition plplot.h:852
#define plgver
Definition plplot.h:745
#define plscolbg
Definition plplot.h:802
#define plpsty
Definition plplot.h:784
#define plgfont
Definition plplot.h:737
#define plenv
Definition plplot.h:711
#define pllightsource
Definition plplot.h:759
#define plsmema
Definition plplot.h:828
#define plpoin3
Definition plplot.h:781
#define plgspa
Definition plplot.h:743
#define plscol0
Definition plplot.h:800
#define plptex
Definition plplot.h:785
#define plrgbhls
Definition plplot.h:789
#define plbop
Definition plplot.h:696
#define plgdidev
Definition plplot.h:730
#define plpoin
Definition plplot.h:780
#define plptex3
Definition plplot.h:786
#define plstripd
Definition plplot.h:845
#define plhist
Definition plplot.h:751
#define plmapline
Definition plplot.h:765
#define plgfnam
Definition plplot.h:736
#define plgdiori
Definition plplot.h:731
#define plszax
Definition plplot.h:854
#define plsmem
Definition plplot.h:827
#define plstripa
Definition plplot.h:843
#define plgxax
Definition plplot.h:748
#define plgra
Definition plplot.h:740
#define plenv0
Definition plplot.h:712
#define plspal1
Definition plplot.h:833
#define plstring3
Definition plplot.h:842
#define plxormod
Definition plplot.h:865
#define plspause
Definition plplot.h:834
#define plgdev
Definition plplot.h:729
#define plgradient
Definition plplot.h:741
#define plspal0
Definition plplot.h:832
#define plcalc_world
Definition plplot.h:700
#define plwidth
Definition plplot.h:863
#define pllab
Definition plplot.h:757
#define plsurf3d
Definition plplot.h:847
#define plsurf3dl
Definition plplot.h:848
#define plvasp
Definition plplot.h:857
#define plscmap0n
Definition plplot.h:793
#define plmtex3
Definition plplot.h:774
#define plctime
Definition plplot.h:708
#define plclear
Definition plplot.h:701
#define plsvpa
Definition plplot.h:850
#define plw3d
Definition plplot.h:862
#define plot3dcl
Definition plplot.h:777
#define plscmap1n
Definition plplot.h:798
#define plgvpd
Definition plplot.h:746
#define plhlsrgb
Definition plplot.h:752
#define pl_setcontlabelformat
Definition plplot.h:690
#define plsdev
Definition plplot.h:806
#define plconfigtime
Definition plplot.h:705
#define plscolbga
Definition plplot.h:803
#define PL_UNUSED(x)
Definition plplot.h:138
#define plscmap1
Definition plplot.h:794
#define plsdiplz
Definition plplot.h:811
#define plparseopts
Definition plplot.h:778
#define plmapstring
Definition plplot.h:766
#define plot3d
Definition plplot.h:775
#define plsesc
Definition plplot.h:814
#define plarc
Definition plplot.h:693
#define plsetopt
Definition plplot.h:815
#define plgvpw
Definition plplot.h:747
#define pltext
Definition plplot.h:855
#define plstring
Definition plplot.h:841
#define plsdiori
Definition plplot.h:809
#define plcont
Definition plplot.h:706
#define plspage
Definition plplot.h:831
#define plaxes
Definition plplot.h:694
#define pllsty
Definition plplot.h:763
#define plslabelfunc
Definition plplot.h:825
#define plshades
Definition plplot.h:824
#define plglevel
Definition plplot.h:738
#define plscompression
Definition plplot.h:805
#define plfamadv
Definition plplot.h:716
#define plfont
Definition plplot.h:720
#define plscmap0a
Definition plplot.h:792
#define plgcol0a
Definition plplot.h:725
#define plscmap1_range
Definition plplot.h:799
#define plmeshc
Definition plplot.h:771
#define plshade
Definition plplot.h:820
#define plsym
Definition plplot.h:853
#define plscmap1a
Definition plplot.h:795
#define plscmap0
Definition plplot.h:791
#define plgriddata
Definition plplot.h:742
#define plstripc
Definition plplot.h:844
#define pl_setcontlabelparam
Definition plplot.h:691
#define plsvect
Definition plplot.h:849
#define plstyl
Definition plplot.h:846
#define plline
Definition plplot.h:760
#define pljoin
Definition plplot.h:756
#define plgzax
Definition plplot.h:750
#define plsstrm
Definition plplot.h:835
#define plscmap1la
Definition plplot.h:797
#define plssym
Definition plplot.h:837
#define plscolor
Definition plplot.h:804
#define plcol0
Definition plplot.h:702
#define plsdiplt
Definition plplot.h:810
#define plcolorbar
Definition plplot.h:704
#define plvsta
Definition plplot.h:861
#define plmeridians
Definition plplot.h:769
#define plot3dc
Definition plplot.h:776
#define plcpstrm
Definition plplot.h:707
#define plmkstrm
Definition plplot.h:772
#define plgcol0
Definition plplot.h:724
#define pladv
Definition plplot.h:692
#define plgcolbga
Definition plplot.h:727
#define plline3
Definition plplot.h:762
#define plprec
Definition plplot.h:783
#define plfill3
Definition plplot.h:718
#define plseed
Definition plplot.h:813
#define plgcompression
Definition plplot.h:728
#define plimagefr
Definition plplot.h:754
#define plsfont
Definition plplot.h:819
int PLINT
Definition plplot.h:181
#define plgfam
Definition plplot.h:734
#define plscol0a
Definition plplot.h:801
#define plend1
Definition plplot.h:710
#define plrandd
Definition plplot.h:787
#define plbin
Definition plplot.h:695
#define plsdidev
Definition plplot.h:807
#define plsfnam
Definition plplot.h:818
void * PLPointer
Definition plplot.h:209
#define plflush
Definition plplot.h:719
#define plwind
Definition plplot.h:864
#define plstar
Definition plplot.h:838
#define plmtex
Definition plplot.h:773
PLINT PLBOOL
Definition plplot.h:204
#define plsdimap
Definition plplot.h:808
#define plsfci
Definition plplot.h:817
#define plend
Definition plplot.h:709
#define plmesh
Definition plplot.h:770
#define plreplot
Definition plplot.h:788
#define plgcolbg
Definition plplot.h:726
#define plgcmap1_range
Definition plplot.h:723
#define plstart
Definition plplot.h:839
#define plsxax
Definition plplot.h:851
#define plbox
Definition plplot.h:697
#define plbtime
Definition plplot.h:699
#define plgyax
Definition plplot.h:749
#define plvpor
Definition plplot.h:860
#define plpoly3
Definition plplot.h:782
#define plgpage
Definition plplot.h:739
#define plssub
Definition plplot.h:836
SWIGINTERN int SWIG_AsVal_long(const octave_value &ov, long *val)
SWIGINTERN int SWIG_AsVal_double(const octave_value &ov, double *val)
SWIGINTERN PyObject * _wrap_plstransform(PyObject *self, PyObject *args)
SWIGRUNTIME void SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata)
SWIGINTERN PyObject * _wrap_plgcol0a(PyObject *self, PyObject *args)
SWIGRUNTIME swig_module_info * SWIG_Python_GetModule(void *SWIGUNUSEDPARM(clientdata))
SWIGINTERN PyObject * _wrap_plsxwin(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgchr(PyObject *self, PyObject *args)
SWIGINTERNINLINE PyObject * SWIG_From_int(int value)
SWIGRUNTIME int SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty)
SWIGINTERN PyObject * _wrap_plcolorbar(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstripc(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_type_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plshade(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plhlsrgb(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgra(PyObject *self, PyObject *args)
static int interpreter_counter
static PLcGrid2 tmpGrid2
SWIGINTERN PyObject * _wrap_plvpas(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsdiori(PyObject *self, PyObject *args)
#define SWIG_MangledTypeQuery(name)
SWIGINTERN PyObject * _wrap_plSetUsage(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plssub(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmaptex(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsdiplt(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscolbg(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dY_set(PyObject *self, PyObject *args)
static PLcGrid tmpGrid1
SWIGINTERN PyObject * _wrap_plResetOpts(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plshades(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsdimap(PyObject *self, PyObject *args)
static PyObject * Swig_This_global
SWIGRUNTIME int SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w)
SWIGINTERN int SWIG_AsVal_double(PyObject *obj, double *val)
static swig_cast_info _swigc__p_PLcGrid2[]
SWIGINTERN PyObject * _wrap_plerrx(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plprec(PyObject *self, PyObject *args)
SWIGINTERN Py_ssize_t SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
#define SWIG_TypeQuery(name)
PLFLT do_f2eval_callback(PLINT x, PLINT y, PLPointer data)
#define SWIG_Py_XDECREF
SWIGINTERN PyObject * _wrap_PLGraphicsIn_keysym_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_string_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap0n(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plfill3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_subwindow_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsurf3d(PyObject *self, PyObject *args)
#define SWIG_POINTER_NEW
SWIGINTERN PyObject * _wrap_plgfont(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plvsta(PyObject *self, PyObject *args)
#define SWIG_CheckState(r)
static PyObject * Swig_runtime_data_module_global
void cleanup_mapform(void)
void cleanup_PLPointer(void)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pX_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plschr(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_keysym_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstart(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgvpw(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb)
#define SWIG_Py_XINCREF
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dY_get(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_Python_AddErrMesg(const char *mesg, int infront)
SWIGRUNTIME PyObject * SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this)
SWIGINTERN void SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[])
pltr_func marshal_pltr(PyObject *input)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_button_get(PyObject *self, PyObject *args)
#define SWIG_Py_DECREF
SWIGINTERN PyObject * _wrap_PLGraphicsIn_string_get(PyObject *self, PyObject *args)
#define myArray_ContiguousFromObject
SWIGRUNTIME PyObject * SwigPyObject_next(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_plgyax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plend(PyObject *self, PyObject *args)
#define SWIG_POINTER_IMPLICIT_CONV
SWIGINTERN PyObject * _wrap_plscmap1la(PyObject *self, PyObject *args)
void do_mapform_callback(PLINT n, PLFLT *x, PLFLT *y)
SWIGRUNTIME PyObject * SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
SWIGINTERN PyObject * _wrap_plbin(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcol1(PyObject *self, PyObject *args)
#define SWIG_PY_POINTER
struct swig_cast_info swig_cast_info
SWIGINTERN PyObject * _wrap_plpoin(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pltext(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcalc_world(PyObject *self, PyObject *args)
#define SWIG_init
SWIGRUNTIME int SWIG_TypeNameComp(const char *f1, const char *l1, const char *f2, const char *l2)
SWIGRUNTIME PyObject * SwigPyObject_hex(SwigPyObject *v)
#define SWIG_Python_ConvertPtr(obj, pptr, type, flags)
SWIGRUNTIME void SwigPyObject_dealloc(PyObject *v)
SWIGRUNTIME PyTypeObject * SwigPyPacked_TypeOnce(void)
#define SWIG_PYTHON_THREAD_END_BLOCK
SWIGINTERN PyObject * _wrap_plClearOpts(PyObject *self, PyObject *args)
SWIGINTERN size_t SWIG_strnlen(const char *s, size_t maxlen)
SWIGINTERN PyObject * _wrap_plgradient(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_richcompare(SwigPyObject *v, SwigPyObject *w, int op)
SWIGINTERN PyObject * _wrap_pladv(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_append(PyObject *v, PyObject *next)
SWIGINTERN PyObject * _wrap_plsdev(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgxax(PyObject *self, PyObject *args)
#define SWIGPY_CAPSULE_ATTR_NAME
SWIGINTERN PyObject * _wrap_plsfont(PyObject *self, PyObject *args)
SWIGINTERN void SwigVarLink_dealloc(PyObject *o)
SWIGINTERN PyObject * SWIG_Python_newvarlink(void)
SWIGINTERN PyObject * _wrap_plsdidev(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsmema(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pl_setcontlabelformat(PyObject *self, PyObject *args)
#define SWIG_NewClientData(obj)
SWIGINTERN PyObject * _wrap_plot3d(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plptex3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dX_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plspal1(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plwidth(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgpage(PyObject *self, PyObject *args)
mapform_func marshal_mapform(PyObject *input)
SWIGINTERN PyObject * _wrap_plline(PyObject *self, PyObject *args)
SWIGINTERNINLINE int SWIG_CanCastAsInteger(double *d, double min, double max)
SWIGINTERN int SWIG_AsVal_unsigned_SS_long(PyObject *obj, unsigned long *val)
SWIGINTERN PyObject * _wrap_plscmap1(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plvasp(PyObject *self, PyObject *args)
#define SWIG_PY_BINARY
SWIGINTERN PyObject * _wrap_plscmap0a(PyObject *self, PyObject *args)
#define SWIG_as_voidptrptr(a)
SWIGINTERN PyObject * _wrap_plsmaj(PyObject *self, PyObject *args)
PyObject * python_f2eval
SWIGINTERN PyObject * _wrap_plscolor(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plrgbhls(PyObject *self, PyObject *args)
SWIGRUNTIMEINLINE const char * SwigPyObject_GetDesc(PyObject *self)
SWIGINTERN PyObject * _wrap_plssym(PyObject *self, PyObject *args)
SWIGINTERN PyObject * SwigPyObject_own(PyObject *v, PyObject *args)
SWIGINTERN PyObject * _wrap_plptex(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstar(PyObject *self, PyObject *args)
#define SWIG_POINTER_NOSHADOW
SWIGINTERN PyObject * _wrap_plwind(PyObject *self, PyObject *args)
SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata)
SWIGINTERN PyObject * _wrap_plstyl(PyObject *self, PyObject *args)
SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
SWIGINTERN void SWIG_Python_addvarlink(PyObject *p, const char *name, PyObject *(*get_attr)(void), int(*set_attr)(PyObject *p))
SWIGINTERN PyObject * _wrap_plend1(PyObject *self, PyObject *args)
SWIGINTERN PyObject * SwigPyObject_acquire(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_plgcompression(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsmin(PyObject *self, PyObject *args)
SWIGRUNTIME char * SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz)
SWIGINTERN PyObject * _wrap_plgcmap1_range(PyObject *self, PyObject *args)
#define SWIG_AddCast(r)
void cleanup_PLcGrid1(void)
SWIGRUNTIME PyObject * SWIG_Python_TypeCache(void)
#define SWIG_IsNewObj(r)
SWIGINTERN PyObject * _wrap_plgcol0(PyObject *self, PyObject *args)
#define SWIG_InternalNewPointerObj(ptr, type, flags)
SWIGINTERN PyObject * _wrap_plscmap1_range(PyObject *self, PyObject *args)
#define NPY_PLFLT
SWIGINTERN PyObject * _wrap_plscol0a(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_long(SwigPyObject *v)
#define SWIG_exception_fail(code, msg)
void cleanup_ct(void)
SWIGINTERN PyObject * _wrap_plOptUsage(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plarc(PyObject *self, PyObject *args)
SWIGRUNTIMEINLINE PyObject * SWIG_Py_Void(void)
SWIGINTERN PyObject * _wrap_plsfam(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pltr2(PyObject *self, PyObject *args)
void do_label_callback(PLINT axis, PLFLT value, char *string, PLINT len, PLPointer data)
SWIGINTERN PyObject * _wrap_plscmap1l(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_state_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pY_get(PyObject *self, PyObject *args)
SWIGRUNTIME const char * SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_state_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsvpa(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgvpd(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pltr1(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgdev(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_Python_TypeErrorOccurred(PyObject *obj)
SWIGRUNTIME void SWIG_Python_DestroyModule(PyObject *obj)
#define SWIG_SetModule(clientdata, pointer)
SWIGINTERN PyObject * _wrap_plstripd(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plw3d(PyObject *self, PyObject *args)
SWIGRUNTIME SwigPyClientData * SwigPyClientData_New(PyObject *obj)
SWIGINTERN PyTypeObject * swig_varlink_type(void)
SWIGINTERN PyObject * _wrap_pllab(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcpstrm(PyObject *self, PyObject *args)
static PyMethodDef SwigPyObject_methods[]
#define SWIGUNUSEDPARM(p)
SWIGINTERN PyObject * _wrap_plvpor(PyObject *self, PyObject *args)
PLPointer marshal_PLPointer(PyObject *input, int isimg)
SWIGINTERN PyObject * _wrap_plstring3(PyObject *self, PyObject *args)
SWIGRUNTIME swig_type_info * SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
#define SWIG_as_voidptr(a)
SWIGINTERN swig_type_info * SWIG_pchar_descriptor(void)
static swig_const_info swig_const_table[]
SWIGINTERN PyObject * SwigPyObject_disown(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_plscol0(PyObject *self, PyObject *args)
SWIGRUNTIMEINLINE int SwigPyPacked_Check(PyObject *op)
#define SWIG_Python_CallFunctor(functor, obj)
SWIGINTERN PyObject * _wrap_plmapline(PyObject *self, PyObject *args)
SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata)
SWIGINTERN PyObject * _wrap_plgfnam(PyObject *self, PyObject *args)
SWIGRUNTIME int SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w)
PyObject * python_label
#define SWIG_ConvertPtr(obj, pptr, type, flags)
SWIGRUNTIME int SWIG_TypeCmp(const char *nb, const char *tb)
SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz)
SWIGINTERN PyObject * _wrap_plpsty(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plbox3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plimage(PyObject *self, PyObject *args)
SWIGINTERN int SWIG_Python_CheckNoKeywords(PyObject *kwargs, const char *name)
SWIGINTERN PyObject * _wrap_plmesh(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plszax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plinit(PyObject *self, PyObject *args)
static PyObject * Swig_Globals_global
SWIGINTERN PyObject * _wrap_plpoly3(PyObject *self, PyObject *args)
void *(* swig_converter_func)(void *, int *)
SWIGINTERN PyObject * _wrap_plsvect(PyObject *self, PyObject *args)
#define SWIG_RUNTIME_MODULE
SWIGINTERN PyObject * _wrap_plmapfill(PyObject *self, PyObject *args)
SWIGINTERN PyObject * SWIG_runtime_data_module()
SWIGRUNTIME PyObject * SwigPyPacked_repr(SwigPyPacked *v)
SWIGINTERN PyObject * _wrap_plsetopt(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap0(PyObject *self, PyObject *args)
#define SWIG_newvarlink()
SWIGRUNTIME void SWIG_Python_RaiseOrModifyTypeError(const char *message)
SWIGRUNTIME swig_type_info * SWIG_Python_TypeQuery(const char *type)
SWIGINTERN const char * SWIG_PyUnicode_AsUTF8AndSize(PyObject *str, Py_ssize_t *psize, PyObject **pbytes)
SWIGINTERN PyObject * _wrap_plparseopts(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wX_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wY_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pljoin(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plfill(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmtex3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap1a(PyObject *self, PyObject *args)
void cleanup_pltr(void)
void cleanup_PLcGrid2(void)
static PyObject * Swig_TypeCache_global
SWIGINTERN PyObject * _wrap_plglevel(PyObject *self, PyObject *args)
SWIGRUNTIMEINLINE PyObject * SWIG_Python_ExceptionType(swig_type_info *desc)
SWIGINTERN PyObject * _wrap_plgriddata(PyObject *self, PyObject *args)
SWIGINTERN int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
SWIGRUNTIMEINLINE int SwigPyObject_Check(PyObject *op)
SWIGINTERN PyObject * _wrap_plpath(PyObject *self, PyObject *args)
#define SWIG_From_double
SWIGINTERN void SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj)
SWIGINTERN int SWIG_AsVal_char(PyObject *obj, char *val)
SWIGINTERN PyObject * _wrap_plot3dcl(PyObject *self, PyObject *args)
#define SWIG_Py_INCREF
SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
SWIGINTERN PyObject * SwigVarLink_getattr(PyObject *o, char *n)
PyArrayObject * myIntArray_ContiguousFromObject(PyObject *in, int type, int mindims, int maxdims)
#define SWIGPY_CAPSULE_NAME
SWIGRUNTIME void * SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags)
#define SWIG_ArgError(r)
SWIGRUNTIME void SWIG_Python_AddErrorMsg(const char *mesg)
PyObject * python_pltr
SWIGINTERN PyObject * SwigVarLink_repr(PyObject *SWIGUNUSEDPARM(v))
SWIGINTERNINLINE PyObject * SWIG_FromCharPtrAndSize(const char *carray, size_t size)
SWIGRUNTIME const char * SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name)
#define SWIG_NewPointerObj(ptr, type, flags)
SWIGRUNTIME void SWIG_Python_SetModule(swig_module_info *swig_module)
SWIGINTERN PyObject * _wrap_plgspa(PyObject *self, PyObject *args)
ct_func marshal_ct(PyObject *input)
SWIGINTERN void SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj)
SWIGINTERN PyObject * _wrap_plsesc(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plline3(PyObject *self, PyObject *args)
#define SWIG_Python_str_FromFormat
#define SWIG_InstallConstants(d, constants)
SWIGINTERN PyObject * _wrap_pllegend(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsxax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgfci(PyObject *self, PyObject *args)
static PyMethodDef SwigMethods[]
SWIGINTERN PyObject * SWIG_Python_AppendOutput(PyObject *result, PyObject *obj, int is_void)
SWIGRUNTIME PyTypeObject * SwigPyPacked_type(void)
SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty)
SWIGINTERN PyObject * _wrap_pleop(PyObject *self, PyObject *args)
SWIGINTERNINLINE PyObject * SWIG_From_unsigned_SS_int(unsigned int value)
void do_ct_callback(PLFLT x, PLFLT y, PLFLT *xt, PLFLT *yt, PLPointer data)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_button_set(PyObject *self, PyObject *args)
#define SWIG_STATIC_POINTER(var)
struct swig_type_info swig_type_info
PyObject * python_mapform
SWIGINTERN PyObject * _wrap_plgdidev(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgstrm(PyObject *self, PyObject *args)
SWIGRUNTIME char * SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz)
SWIGINTERN PyObject * _wrap_plflush(PyObject *self, PyObject *args)
#define SWIG_IsTmpObj(r)
SWIGINTERN PyObject * _wrap_plgzax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcont(PyObject *self, PyObject *args)
SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz)
SWIGRUNTIME int SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty)
SWIGINTERN void SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg)
SWIGINTERN PyObject * _wrap_plsori(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstripa(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plrandd(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsym(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_format(const char *fmt, SwigPyObject *v)
SWIGINTERN PyObject * _wrap_plbop(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags)
#define MY_BLOCK_THREADS
SWIGINTERN PyObject * _wrap_plgver(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsfnam(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmapstring(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plreplot(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plvect(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgdiplt(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pllsty(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_Python_ArgFail(int argnum)
#define SWIG_DelNewMask(r)
SWIGRUNTIME swig_type_info * SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
SWIGINTERN PyObject * _wrap_plpoin3(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own)
SWIGINTERN PyObject * _wrap_plimagefr(PyObject *self, PyObject *args)
#define SWIG_NewPackedObj(ptr, sz, type)
static swig_cast_info _swigc__p_PLcGrid[]
SWIGINTERN PyObject * _wrap_plot3dc(PyObject *self, PyObject *args)
PLcGrid * marshal_PLcGrid1(PyObject *input, int isimg)
#define SWIG_GetModule(clientdata)
SWIGINTERN PyObject * _wrap_plsstrm(PyObject *self, PyObject *args)
SWIGINTERN PyObject * PLGraphicsIn_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plGetCursor(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plspage(PyObject *self, PyObject *args)
SWIGRUNTIME swig_cast_info * SWIG_TypeCheckStruct(const swig_type_info *from, swig_type_info *ty)
SWIGRUNTIME void SWIG_PropagateClientData(void)
PyArrayObject * pltr_xg
SWIGINTERN PyObject * _wrap_plscolbga(PyObject *self, PyObject *args)
#define NPY_PLINT
SWIGRUNTIME PyObject * SwigPyPacked_str(SwigPyPacked *v)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pX_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pltimefmt(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type)
SWIGINTERN PyObject * _wrap_plsmem(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmkstrm(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcol0(PyObject *self, PyObject *args)
SWIGINTERN void SWIG_Python_FixMethods(PyMethodDef *methods, const swig_const_info *const_table, swig_type_info **types, swig_type_info **types_initial)
SWIGRUNTIMEINLINE PyObject * SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type)
SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty)
SWIGRUNTIME PyObject * SWIG_This(void)
SWIGINTERN PyObject * _wrap_plenv(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsurf3dl(PyObject *self, PyObject *args)
SWIGRUNTIME void SWIG_Python_TypeError(const char *type, PyObject *obj)
SWIGINTERN int SWIG_AsVal_int(PyObject *obj, int *val)
SWIGINTERN PyObject * _wrap_plenv0(PyObject *self, PyObject *args)
static swig_type_info _swigt__p_PLcGrid
#define SWIG_BUILTIN_TP_INIT
SWIGRUNTIME PyObject * SwigPyObject_repr(SwigPyObject *v)
SWIGINTERN PyObject * _wrap_plfont(PyObject *self, PyObject *args)
SWIGINTERN int SWIG_AsVal_long(PyObject *obj, long *val)
SWIGINTERN int SWIG_AsCharArray(PyObject *obj, char *val, size_t size)
SWIGINTERN PyObject * _wrap_plslabelfunc(PyObject *self, PyObject *args)
PyArrayObject * pltr_yg
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pY_set(PyObject *self, PyObject *args)
struct swig_module_info swig_module_info
PyObject * python_ct
SWIGINTERN int SwigVarLink_setattr(PyObject *o, char *n, PyObject *p)
SWIGINTERN PyObject * _wrap_plgcolbg(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SWIG_Python_ErrorType(int code)
SWIGRUNTIME void SwigPyClientData_Del(SwigPyClientData *data)
SWIGRUNTIME SwigPyObject * SWIG_Python_GetSwigThis(PyObject *pyobj)
void do_pltr_callback(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer data)
SWIGINTERN PyObject * _wrap_plscompression(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmeridians(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dX_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsfci(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plerry(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plxormod(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plclear(PyObject *self, PyObject *args)
SWIGRUNTIME void SwigPyPacked_dealloc(PyObject *v)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_subwindow_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgcolbga(PyObject *self, PyObject *args)
SWIGINTERN PyObject * SWIG_Python_str_FromChar(const char *c)
#define PySequence_Fast_GET_ITEM
SWIGINTERN PyObject * _wrap_plmap(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
SWIGINTERN PyObject * _wrap_plhist(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pltr0(PyObject *self, PyObject *args)
SWIGRUNTIMEINLINE int SWIG_Python_CheckImplicit(swig_type_info *ty)
SWIGINTERN PyObject * _wrap_plsyax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plpat(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmeshc(PyObject *self, PyObject *args)
PLcGrid2 * marshal_PLcGrid2(PyObject *input, int isimg)
SWIGINTERN PyObject * _wrap_plfamadv(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wY_set(PyObject *self, PyObject *args)
#define PySequence_Size
SWIGINTERN PyObject * _wrap_plMinMax2dGrid(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plseed(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmtex(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plfontld(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_delete_PLGraphicsIn(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_new_PLGraphicsIn(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wX_set(PyObject *self, PyObject *args)
SWIGRUNTIME PyTypeObject * SwigPyObject_type(void)
SWIGINTERN PyObject * _wrap_plconfigtime(PyObject *self, PyObject *args)
SWIGRUNTIME PyTypeObject * SwigPyObject_TypeOnce(void)
#define SWIG_IsOK(r)
SWIGINTERN PyObject * _wrap_plstring(PyObject *self, PyObject *args)
SWIGINTERN int SWIG_AsCharPtrAndSize(PyObject *obj, char **cptr, size_t *psize, int *alloc)
static PyObject * Swig_Capsule_global
static swig_type_info _swigt__p_PLcGrid2
SWIGINTERN PyObject * _wrap_plctime(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgfam(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plspause(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plspal0(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_oct(SwigPyObject *v)
SWIGRUNTIME PyObject * SwigPyObject_repr2(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_plgdiori(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pllightsource(PyObject *self, PyObject *args)
SWIGINTERN PyObject * PLGraphicsIn_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * SWIG_Python_InitShadowInstance(PyObject *args)
SWIGINTERN PyObject * _wrap_plsdiplz(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plbtime(PyObject *self, PyObject *args)
#define SWIG_AddNewMask(r)
SWIGINTERN PyObject * SWIG_globals(void)
SWIGINTERN PyObject * _wrap_pl_setcontlabelparam(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plbox(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_type_set(PyObject *self, PyObject *args)
#define SWIG_PYOBJ_REFCNT(OBJ)
#define SWIG_PYTHON_THREAD_BEGIN_BLOCK
SWIGINTERN PyObject * _wrap_plscmap1n(PyObject *self, PyObject *args)
enum callback_type pltr_type
SWIGINTERN PyObject * _wrap_plaxes(PyObject *self, PyObject *args)
SWIGINTERN PyObject * SwigVarLink_str(PyObject *o)
SWIGRUNTIME int SWIG_Python_AcquirePtr(PyObject *obj, int own)
#define MY_UNBLOCK_THREADS
SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory)
static int _wrap_PLGraphicsIn_wX_get(lua_State *L)
static swig_cast_info * swig_cast_initial[]
static int _wrap_PLGraphicsIn_button_get(lua_State *L)
static int _wrap_PLGraphicsIn_keysym_get(lua_State *L)
static swig_type_info _swigt__p_f_double_double_p_double_p_double_p_void__void
static int _wrap_PLGraphicsIn_subwindow_get(lua_State *L)
static int _wrap_plend(lua_State *L)
#define SWIG_POINTER_OWN
#define SWIG_SyntaxError
static swig_cast_info _swigc__p_f_double_double__int[]
static swig_cast_info _swigc__p_int[]
SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb)
#define SWIG_BUFFER_SIZE
#define SWIG_TypeError
static PLINT Alen
static swig_cast_info _swigc__p_double[]
#define SWIGTYPE_p_PLGraphicsIn
static int _wrap_plGetCursor(lua_State *L)
void(* label_func)(PLINT, PLFLT, char *, PLINT, PLPointer)
static int _wrap_PLGraphicsIn_pY_set(lua_State *L)
#define SWIG_RuntimeError
void(* mapform_func)(PLINT, PLFLT *, PLFLT *)
void(* pltr_func)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer)
static swig_cast_info _swigc__p_f_double_double_p_double_p_double_p_void__void[]
static int _wrap_PLGraphicsIn_state_get(lua_State *L)
#define SWIGRUNTIME
#define SWIG_OLDOBJ
#define SWIG_ValueError
static int _wrap_new_PLGraphicsIn(lua_State *L)
static int _wrap_PLGraphicsIn_dX_get(lua_State *L)
static int _wrap_PLGraphicsIn_pY_get(lua_State *L)
static swig_type_info * swig_types[13]
static int _wrap_plResetOpts(lua_State *L)
static swig_cast_info _swigc__p_f_int_p_double_p_double__void[]
#define SWIG_AttributeError
static int _wrap_plot3dcl(lua_State *L)
static int _wrap_plOptUsage(lua_State *L)
static swig_module_info swig_module
static int _wrap_PLGraphicsIn_state_set(lua_State *L)
static PLINT Ylen
static swig_type_info _swigt__p_double
#define SWIG_INIT_CLIENT_DATA_TYPE
#define SWIG_POINTER_RELEASE
static int _wrap_PLGraphicsIn_string_get(lua_State *L)
static swig_type_info _swigt__p_p_char
static int _wrap_plend1(lua_State *L)
static swig_type_info _swigt__p_p_double
#define SWIG_POINTER_CLEAR
#define SWIGTYPE_p_int
static int _wrap_PLGraphicsIn_string_set(lua_State *L)
PLFLT(* f2eval_func)(PLINT, PLINT, PLPointer)
static int _wrap_plClearOpts(lua_State *L)
static swig_cast_info _swigc__p_char[]
static int _wrap_plot3d(lua_State *L)
static swig_type_info _swigt__p_f_int_p_q_const__double_p_q_const__double__void
PLINT(* defined_func)(PLFLT, PLFLT)
static swig_cast_info _swigc__p_p_double[]
#define SWIGINTERN
static int _wrap_PLGraphicsIn_keysym_set(lua_State *L)
static int _wrap_PLGraphicsIn_dY_get(lua_State *L)
void(* ct_func)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer)
#define SWIG_POINTER_NO_NULL
static int _wrap_PLGraphicsIn_type_get(lua_State *L)
struct swig_type_info *(* swig_dycast_func)(void **)
#define SWIG_IOError
#define SWIG_NullReferenceError
static int _wrap_PLGraphicsIn_type_set(lua_State *L)
#define SWIG_POINTER_DISOWN
static swig_type_info _swigt__p_PLGraphicsIn
static swig_type_info _swigt__p_f_double_double__int
static int _wrap_PLGraphicsIn_subwindow_set(lua_State *L)
static int _wrap_plot3dc(lua_State *L)
static int _wrap_PLGraphicsIn_wY_get(lua_State *L)
#define SWIG_NEWOBJ
#define SWIG_TMPOBJ
static int _wrap_PLGraphicsIn_dX_set(lua_State *L)
static int _wrap_PLGraphicsIn_wX_set(lua_State *L)
static swig_cast_info _swigc__p_unsigned_int[]
#define SWIG_fail
static swig_type_info _swigt__p_int
static swig_cast_info _swigc__p_f_int_double_p_char_int_p_void__void[]
static int _wrap_plSetUsage(lua_State *L)
static int _wrap_PLGraphicsIn_pX_set(lua_State *L)
#define SWIG_ERROR_RELEASE_NOT_OWNED
static swig_type_info _swigt__p_unsigned_int
#define SWIG_CAST_NEW_MEMORY
static PLINT Xlen
static swig_type_info _swigt__p_f_int_p_double_p_double__void
#define SWIGTYPE_p_unsigned_int
#define SWIG_ERROR
#define SWIG_name
static swig_type_info _swigt__p_f_int_double_p_char_int_p_void__void
static int _wrap_PLGraphicsIn_button_set(lua_State *L)
static swig_type_info * swig_type_initial[]
static swig_cast_info _swigc__p_PLGraphicsIn[]
static swig_cast_info _swigc__p_p_char[]
static int _wrap_PLGraphicsIn_pX_get(lua_State *L)
#define SWIG_MemoryError
#define SWIG_SystemError
#define SWIG_DivisionByZero
#define SWIGTYPE_p_double
static swig_type_info _swigt__p_char
#define SWIG_OverflowError
#define SWIGEXPORT
void(* fill_func)(PLINT, const PLFLT *, const PLFLT *)
#define SWIG_IndexError
static int _wrap_PLGraphicsIn_dY_set(lua_State *L)
static swig_cast_info _swigc__p_f_int_p_q_const__double_p_q_const__double__void[]
#define SWIG_OK
static int _wrap_PLGraphicsIn_wY_set(lua_State *L)
#define SWIGINTERNINLINE
#define SWIGRUNTIMEINLINE
char string[PL_MAXKEY]
Definition plplot.h:440
PyObject_HEAD void * ptr
swig_type_info * ty
swig_type_info * ty
PyObject_HEAD void * pack
swig_type_info * type
struct swig_cast_info * prev
struct swig_cast_info * next
swig_converter_func converter
swig_type_info ** ptype
PyObject *(* get_attr)(void)
struct swig_globalvar * next
int(* set_attr)(PyObject *)
swig_type_info ** types
swig_cast_info ** cast_initial
swig_type_info ** type_initial
struct swig_module_info * next
swig_dycast_func dcast
struct swig_cast_info * cast
PyObject_HEAD swig_globalvar * vars
static char buf[200]
Definition tclAPI.c:873
static tclMatrixXtnsnDescr * tail
Definition tclMatrix.c:461
static const char * name
Definition tkMain.c:135