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.4.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 0x040401
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_NOEXCEPT noexcept
141#else
142# define SWIG_NOEXCEPT throw()
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
207#if __GNUC__ >= 7
208#pragma GCC diagnostic pop
209#endif
210
211#include <stdio.h>
212#include <stdlib.h>
213
214/* -----------------------------------------------------------------------------
215 * swigrun.swg
216 *
217 * This file contains generic C API SWIG runtime support for pointer
218 * type checking.
219 * ----------------------------------------------------------------------------- */
220
221/* This should only be incremented when either the layout of swig_type_info changes,
222 or for whatever reason, the runtime changes incompatibly */
223#define SWIG_RUNTIME_VERSION "5"
224
225/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
226#ifdef SWIG_TYPE_TABLE
227# define SWIG_QUOTE_STRING(x) #x
228# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
229# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
230#else
231# define SWIG_TYPE_TABLE_NAME
232#endif
233
234/*
235 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
236 creating a static or dynamic library from the SWIG runtime code.
237 In 99.9% of the cases, SWIG just needs to declare them as 'static'.
238
239 But only do this if strictly necessary, ie, if you have problems
240 with your compiler or suchlike.
241*/
242
243#ifndef SWIGRUNTIME
244# define SWIGRUNTIME SWIGINTERN
245#endif
246
247#ifndef SWIGRUNTIMEINLINE
248# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
249#endif
250
251/* Generic buffer size */
252#ifndef SWIG_BUFFER_SIZE
253# define SWIG_BUFFER_SIZE 1024
254#endif
255
256/* Flags for pointer conversions */
257#define SWIG_POINTER_DISOWN 0x1
258#define SWIG_CAST_NEW_MEMORY 0x2
259#define SWIG_POINTER_NO_NULL 0x4
260#define SWIG_POINTER_CLEAR 0x8
261#define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN)
262
263/* Flags for new pointer objects */
264#define SWIG_POINTER_OWN 0x1
265
266
267/*
268 Flags/methods for returning states.
269
270 The SWIG conversion methods, as ConvertPtr, return an integer
271 that tells if the conversion was successful or not. And if not,
272 an error code can be returned (see swigerrors.swg for the codes).
273
274 Use the following macros/flags to set or process the returning
275 states.
276
277 In old versions of SWIG, code such as the following was usually written:
278
279 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
280 // success code
281 } else {
282 //fail code
283 }
284
285 Now you can be more explicit:
286
287 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
288 if (SWIG_IsOK(res)) {
289 // success code
290 } else {
291 // fail code
292 }
293
294 which is the same really, but now you can also do
295
296 Type *ptr;
297 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
298 if (SWIG_IsOK(res)) {
299 // success code
300 if (SWIG_IsNewObj(res) {
301 ...
302 delete *ptr;
303 } else {
304 ...
305 }
306 } else {
307 // fail code
308 }
309
310 I.e., now SWIG_ConvertPtr can return new objects and you can
311 identify the case and take care of the deallocation. Of course that
312 also requires SWIG_ConvertPtr to return new result values, such as
313
314 int SWIG_ConvertPtr(obj, ptr,...) {
315 if (<obj is ok>) {
316 if (<need new object>) {
317 *ptr = <ptr to new allocated object>;
318 return SWIG_NEWOBJ;
319 } else {
320 *ptr = <ptr to old object>;
321 return SWIG_OLDOBJ;
322 }
323 } else {
324 return SWIG_BADOBJ;
325 }
326 }
327
328 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
329 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
330 SWIG errors code.
331
332 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
333 allows returning the 'cast rank', for example, if you have this
334
335 int food(double)
336 int fooi(int);
337
338 and you call
339
340 food(1) // cast rank '1' (1 -> 1.0)
341 fooi(1) // cast rank '0'
342
343 just use the SWIG_AddCast()/SWIG_CheckState()
344*/
345
346#define SWIG_OK (0)
347/* Runtime errors are < 0 */
348#define SWIG_ERROR (-1)
349/* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */
350/* Errors in range -100 to -199 are language specific errors defined in *errors.swg */
351/* Errors < -200 are generic runtime specific errors */
352#define SWIG_ERROR_RELEASE_NOT_OWNED (-200)
353
354#define SWIG_IsOK(r) (r >= 0)
355#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
356
357/* The CastRankLimit says how many bits are used for the cast rank */
358#define SWIG_CASTRANKLIMIT (1 << 8)
359/* The NewMask denotes the object was created (using new/malloc) */
360#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
361/* The TmpMask is for in/out typemaps that use temporary objects */
362#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
363/* Simple returning values */
364#define SWIG_BADOBJ (SWIG_ERROR)
365#define SWIG_OLDOBJ (SWIG_OK)
366#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
367#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
368/* Check, add and del object mask methods */
369#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
370#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
371#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
372#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
373#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
374#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
375
376/* Cast-Rank Mode */
377#if defined(SWIG_CASTRANK_MODE)
378# ifndef SWIG_TypeRank
379# define SWIG_TypeRank unsigned long
380# endif
381# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
382# define SWIG_MAXCASTRANK (2)
383# endif
384# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
385# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
387 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
388}
390 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
391}
392#else /* no cast-rank mode */
393# define SWIG_AddCast(r) (r)
394# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
395#endif
396
397
398#include <string.h>
399
400#ifdef __cplusplus
401extern "C" {
402#endif
403
404typedef void *(*swig_converter_func)(void *, int *);
405typedef struct swig_type_info *(*swig_dycast_func)(void **);
406
407/* Structure to store information on one type */
408typedef struct swig_type_info {
409 const char *name; /* mangled name of this type */
410 const char *str; /* human readable name of this type */
411 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
412 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
413 void *clientdata; /* language specific type data */
414 int owndata; /* flag if the structure owns the clientdata */
416
417/* Structure to store a type and conversion function used for casting */
418typedef struct swig_cast_info {
419 swig_type_info *type; /* pointer to type that is equivalent to this type */
420 swig_converter_func converter; /* function to cast the void pointers */
421 struct swig_cast_info *next; /* pointer to next array of casts | pointer to cast hashed by value */
422 unsigned int value; /* index of the last valid element in the array | typename hash value */
424
425/* Structure used to store module information
426 * Each module generates one structure like this, and the runtime collects
427 * all of these structures and stores them in a circularly linked list.*/
428typedef struct swig_module_info {
429 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
430 size_t size; /* Number of types in this module */
431 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
432 swig_type_info **type_initial; /* Array of initially generated type structures */
433 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
434 void *clientdata; /* Language specific module data */
436
437/*
438 Compare two type names skipping the space characters, therefore
439 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
440
441 Return 0 when the two name types are equivalent, as in
442 strncmp, but skipping ' '.
443*/
444SWIGRUNTIME int
445SWIG_TypeNameComp(const char *f1, const char *l1,
446 const char *f2, const char *l2) {
447 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
448 while ((*f1 == ' ') && (f1 != l1)) ++f1;
449 while ((*f2 == ' ') && (f2 != l2)) ++f2;
450 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
451 }
452 return (int)((l1 - f1) - (l2 - f2));
453}
454
455/*
456 Check type equivalence in a name list like <name1>|<name2>|...
457 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
458*/
459SWIGRUNTIME int
460SWIG_TypeCmp(const char *nb, const char *tb) {
461 int equiv = 1;
462 const char* te = tb + strlen(tb);
463 const char* ne = nb;
464 while (equiv != 0 && *ne) {
465 for (nb = ne; *ne; ++ne) {
466 if (*ne == '|') break;
467 }
468 equiv = SWIG_TypeNameComp(nb, ne, tb, te);
469 if (*ne) ++ne;
470 }
471 return equiv;
472}
473
474/*
475 Check type equivalence in a name list like <name1>|<name2>|...
476 Return 0 if not equal, 1 if equal
477*/
478SWIGRUNTIME int
479SWIG_TypeEquiv(const char *nb, const char *tb) {
480 return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
481}
482
483/*
484 * Hash function for type name strings, based on maRushPrime1Hash (http://amsoftware.narod.ru/algo2.html)
485 */
486SWIGRUNTIME unsigned int SWIG_Hash(const char *str, unsigned int len) {
487 const unsigned char *data = (const unsigned char *)str;
488 unsigned int hash = len, i = 0, k;
489 int rem = (int)len;
490
491 while (rem >= (int)sizeof(unsigned int)) {
492 memcpy(&k, data, sizeof(unsigned int));
493 k += i++;
494 hash ^= k;
495 hash *= 171717;
496 data += sizeof(unsigned int);
497 rem -= sizeof(unsigned int);
498 }
499
500 switch (rem) {
501 case 3: k = (unsigned int)(data[2]) << 16;
502 k |= (unsigned int)(data[1]) << 8;
503 k |= (unsigned int)(data[0]);
504 k += i++;
505 hash ^= k;
506 hash *= 171717;
507 break;
508 case 2: k = (unsigned int)(data[1]) << 8;
509 k |= (unsigned int)(data[0]);
510 k += i++;
511 hash ^= k;
512 hash *= 171717;
513 break;
514 case 1: k = (unsigned int)(data[0]);
515 k += i++;
516 hash ^= k;
517 hash *= 171717;
518 break;
519 }
520 return hash;
521}
522
523/*
524 Check the typename
525*/
527SWIG_TypeCheck(const char *c, swig_type_info *ty) {
528 static const unsigned int scan_threshold = 4;
529 if (ty) {
530 swig_cast_info *head = ty->cast;
531 unsigned int hash_value = 0;
532 int hashed = 0;
533
534 while (head) {
535
536 if (strcmp(head->type->name, c) == 0) {
537 return head;
538 }
539
540 if (head->value) {
541 swig_cast_info *iter;
542 swig_cast_info *last = head + head->value;
543 swig_cast_info *first = head + 1;
544 int search = 1;
545
546 if (!hashed) {
547 if (head->value < scan_threshold) {
548 for (iter = first; iter <= last; iter++) {
549 if (strcmp(iter->type->name, c) == 0) {
550 return iter;
551 }
552 }
553 search = 0;
554 } else {
555 hashed = 1;
556 hash_value = SWIG_Hash(c, (unsigned int)strlen(c));
557 }
558 }
559
560 if (search) {
561 /* Binary search over sorted <'next'|'value'> pairs */
562 do {
563 iter = first + ((last - first) >> 1);
564 if (iter->value < hash_value) {
565 first = iter + 1;
566 } else if (iter->value == hash_value) {
567
568 if (strcmp(iter->next->type->name, c) == 0) {
569 return iter->next;
570 }
571
572 /* Hash collision check */
573 for (last = iter + 1; last->next && last->value == hash_value; last++) {
574 if (strcmp(last->next->type->name, c) == 0) {
575 return last->next;
576 }
577 }
578 for (first = iter - 1; first != head && first->value == hash_value; first--) {
579 if (strcmp(first->next->type->name, c) == 0) {
580 return first->next;
581 }
582 }
583 break;
584 } else
585 last = iter - 1;
586 } while (first <= last);
587 }
588 }
589 head = head->next;
590 }
591 }
592 return 0;
593}
594
595/*
596 Check the type by type address
597*/
600 if (ty) {
601 swig_cast_info *head = ty->cast;
602 while (head) {
603 if (head->type == from) {
604 return head;
605 }
606
607 if (head->value) {
608 swig_cast_info *iter;
609 swig_cast_info *last = head + head->value;
610 swig_cast_info *first = head + 1;
611
612 /* Binary search over sorted array of casts */
613 do {
614 iter = first + ((last - first) >> 1);
615 if (iter->type < from) {
616 first = iter + 1;
617 } else if (iter->type == from) {
618 return iter;
619 } else
620 last = iter - 1;
621 } while (first <= last);
622 }
623 head = head->next;
624 }
625 }
626 return 0;
627}
628
629/*
630 Cast a pointer up an inheritance hierarchy
631*/
633SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
634 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
635}
636
637/*
638 Dynamic pointer casting. Down an inheritance hierarchy
639*/
642 swig_type_info *lastty = ty;
643 if (!ty || !ty->dcast) return ty;
644 while (ty && (ty->dcast)) {
645 ty = (*ty->dcast)(ptr);
646 if (ty) lastty = ty;
647 }
648 return lastty;
649}
650
651/*
652 Return the name associated with this type
653*/
654SWIGRUNTIMEINLINE const char *
656 return ty->name;
657}
658
659/*
660 Return the pretty name associated with this type,
661 that is an unmangled type name in a form presentable to the user.
662*/
663SWIGRUNTIME const char *
665 /* The "str" field contains the equivalent pretty names of the
666 type, separated by vertical-bar characters. Choose the last
667 name. It should be the most specific; a fully resolved name
668 but not necessarily with default template parameters expanded. */
669 if (!type) return NULL;
670 if (type->str != NULL) {
671 const char *last_name = type->str;
672 const char *s;
673 for (s = type->str; *s; s++)
674 if (*s == '|') last_name = s+1;
675 return last_name;
676 }
677 else
678 return type->name;
679}
680
681/*
682 Set the clientdata field for a type
683*/
684SWIGRUNTIME void
686 swig_cast_info *head = ti->cast;
687 /* if (ti->clientdata == clientdata) return; */
689
690 while (head) {
691 swig_cast_info *cast;
692 for (cast = head; (cast - head) <= head->value; cast++) {
693 if (!cast->converter) {
694 swig_type_info *tc = cast->type;
695 if (!tc->clientdata) {
697 }
698 }
699 }
700 head = head->next;
701 }
702}
703
704SWIGRUNTIME void
709
710/*
711 Search for a swig_type_info structure only by mangled name
712 Search is a O(log #types)
713
714 We start searching at module start, and finish searching when start == end.
715 Note: if start == end at the beginning of the function, we go all the way around
716 the circular list.
717*/
720 swig_module_info *end,
721 const char *name) {
722 swig_module_info *iter = start;
723 do {
724 if (iter->size) {
725 size_t l = 0;
726 size_t r = iter->size - 1;
727 do {
728 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
729 size_t i = (l + r) >> 1;
730 const char *iname = iter->types[i]->name;
731 if (iname) {
732 int compare = strcmp(name, iname);
733 if (compare == 0) {
734 return iter->types[i];
735 } else if (compare < 0) {
736 if (i) {
737 r = i - 1;
738 } else {
739 break;
740 }
741 } else if (compare > 0) {
742 l = i + 1;
743 }
744 } else {
745 break; /* should never happen */
746 }
747 } while (l <= r);
748 }
749 iter = iter->next;
750 } while (iter != end);
751 return 0;
752}
753
754/*
755 Search for a swig_type_info structure for either a mangled name or a human readable name.
756 It first searches the mangled names of the types, which is a O(log #types)
757 If a type is not found it then searches the human readable names, which is O(#types).
758
759 We start searching at module start, and finish searching when start == end.
760 Note: if start == end at the beginning of the function, we go all the way around
761 the circular list.
762*/
765 swig_module_info *end,
766 const char *name) {
767 /* STEP 1: Search the name field using binary search */
769 if (ret) {
770 return ret;
771 } else {
772 /* STEP 2: If the type hasn't been found, do a complete search
773 of the str field (the human readable name) */
774 swig_module_info *iter = start;
775 do {
776 size_t i = 0;
777 for (; i < iter->size; ++i) {
778 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
779 return iter->types[i];
780 }
781 iter = iter->next;
782 } while (iter != end);
783 }
784
785 /* neither found a match */
786 return 0;
787}
788
789/*
790 Pack binary data into a string
791*/
792SWIGRUNTIME char *
793SWIG_PackData(char *c, void *ptr, size_t sz) {
794 static const char hex[17] = "0123456789abcdef";
795 const unsigned char *u = (unsigned char *) ptr;
796 const unsigned char *eu = u + sz;
797 for (; u != eu; ++u) {
798 unsigned char uu = *u;
799 *(c++) = hex[(uu & 0xf0) >> 4];
800 *(c++) = hex[uu & 0xf];
801 }
802 return c;
803}
804
805/*
806 Unpack binary data from a string
807*/
808SWIGRUNTIME const char *
809SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
810 unsigned char *u = (unsigned char *) ptr;
811 const unsigned char *eu = u + sz;
812 for (; u != eu; ++u) {
813 char d = *(c++);
814 unsigned char uu;
815 if ((d >= '0') && (d <= '9'))
816 uu = (unsigned char)((d - '0') << 4);
817 else if ((d >= 'a') && (d <= 'f'))
818 uu = (unsigned char)((d - ('a'-10)) << 4);
819 else
820 return (char *) 0;
821 d = *(c++);
822 if ((d >= '0') && (d <= '9'))
823 uu |= (unsigned char)(d - '0');
824 else if ((d >= 'a') && (d <= 'f'))
825 uu |= (unsigned char)(d - ('a'-10));
826 else
827 return (char *) 0;
828 *u = uu;
829 }
830 return c;
831}
832
833/*
834 Pack 'void *' into a string buffer.
835*/
836SWIGRUNTIME char *
837SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
838 char *r = buff;
839 if ((2*sizeof(void *) + 2) > bsz) return 0;
840 *(r++) = '_';
841 r = SWIG_PackData(r,&ptr,sizeof(void *));
842 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
843 strcpy(r,name);
844 return buff;
845}
846
847SWIGRUNTIME const char *
848SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
849 if (*c != '_') {
850 if (strcmp(c,"NULL") == 0) {
851 *ptr = (void *) 0;
852 return name;
853 } else {
854 return 0;
855 }
856 }
857 return SWIG_UnpackData(++c,ptr,sizeof(void *));
858}
859
860SWIGRUNTIME char *
861SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
862 char *r = buff;
863 size_t lname = (name ? strlen(name) : 0);
864 if ((2*sz + 2 + lname) > bsz) return 0;
865 *(r++) = '_';
866 r = SWIG_PackData(r,ptr,sz);
867 if (lname) {
868 strncpy(r,name,lname+1);
869 } else {
870 *r = 0;
871 }
872 return buff;
873}
874
875SWIGRUNTIME const char *
876SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
877 if (*c != '_') {
878 if (strcmp(c,"NULL") == 0) {
879 memset(ptr,0,sz);
880 return name;
881 } else {
882 return 0;
883 }
884 }
885 return SWIG_UnpackData(++c,ptr,sz);
886}
887
888#ifdef __cplusplus
889}
890#endif
891
892/* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */
893#define SWIG_UnknownError -1
894#define SWIG_IOError -2
895#define SWIG_RuntimeError -3
896#define SWIG_IndexError -4
897#define SWIG_TypeError -5
898#define SWIG_DivisionByZero -6
899#define SWIG_OverflowError -7
900#define SWIG_SyntaxError -8
901#define SWIG_ValueError -9
902#define SWIG_SystemError -10
903#define SWIG_AttributeError -11
904#define SWIG_MemoryError -12
905#define SWIG_NullReferenceError -13
906
907
908#if PY_VERSION_HEX >= 0x03030000 && !defined(SWIG_NO_HEAPTYPES)
909#if !defined(SWIG_HEAPTYPES)
910#define SWIG_HEAPTYPES
911#endif
912#endif
913
914/* Compatibility macros for Python 3 */
915#if PY_VERSION_HEX >= 0x03000000
916
917#define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type)
918#define PyInt_Check(x) PyLong_Check(x)
919#define PyInt_AsLong(x) PyLong_AsLong(x)
920#define PyInt_FromLong(x) PyLong_FromLong(x)
921#define PyInt_FromSize_t(x) PyLong_FromSize_t(x)
922#define PyString_Check(name) PyBytes_Check(name)
923#define PyString_FromString(x) PyUnicode_FromString(x)
924#define PyString_Format(fmt, args) PyUnicode_Format(fmt, args)
925#define PyString_AsString(str) PyBytes_AsString(str)
926#define PyString_Size(str) PyBytes_Size(str)
927#define PyString_InternFromString(key) PyUnicode_InternFromString(key)
928#define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE
929#define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x)
930
931#endif
932
933/* SWIG APIs for compatibility of both Python 2 & 3 */
934
935#if PY_VERSION_HEX >= 0x03000000
936# define SWIG_Python_str_FromFormat PyUnicode_FromFormat
937#else
938# define SWIG_Python_str_FromFormat PyString_FromFormat
939#endif
940
941#if defined(SWIG_HEAPTYPES)
942#if PY_VERSION_HEX < 0x030c0000
943#include <structmember.h>
944#define Py_READONLY READONLY
945#define Py_T_PYSSIZET T_PYSSIZET
946#endif
947#endif
948
949#include <stddef.h> /* For offsetof */
950
951
952/* Wrapper around PyUnicode_AsUTF8AndSize - call Py_XDECREF on the returned pbytes when finished with the returned string */
953SWIGINTERN const char *
954SWIG_PyUnicode_AsUTF8AndSize(PyObject *str, Py_ssize_t *psize, PyObject **pbytes)
955{
956#if PY_VERSION_HEX >= 0x03030000
957# if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030A0000
958 *pbytes = NULL;
959 return PyUnicode_AsUTF8AndSize(str, psize);
960# else
961 const char *chars;
962 *pbytes = PyUnicode_AsUTF8String(str);
963 chars = *pbytes ? PyBytes_AsString(*pbytes) : NULL;
964 if (chars && psize)
965 *psize = PyBytes_Size(*pbytes);
966 return chars;
967# endif
968#else
969 char *chars = NULL;
970 *pbytes = NULL;
971 PyString_AsStringAndSize(str, &chars, psize);
972 return chars;
973#endif
974}
975
976SWIGINTERN PyObject *
978{
979#if PY_VERSION_HEX >= 0x03000000
980 return PyUnicode_FromString(c);
981#else
982 return PyString_FromString(c);
983#endif
984}
985
986#define SWIG_RUNTIME_MODULE "swig_runtime_data" SWIG_RUNTIME_VERSION
987
988/* SWIGPY_USE_CAPSULE is no longer used within SWIG itself, but some user interface files check for it. */
989# define SWIGPY_USE_CAPSULE
990#ifdef SWIGPYTHON_BUILTIN
991# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule_builtin" SWIG_TYPE_TABLE_NAME
992#else
993# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule" SWIG_TYPE_TABLE_NAME
994#endif
995#define SWIGPY_CAPSULE_NAME SWIG_RUNTIME_MODULE "." SWIGPY_CAPSULE_ATTR_NAME
996
997#if PY_VERSION_HEX < 0x03020000
998#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
999#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
1000#define Py_hash_t long
1001#endif
1002
1003#if defined(Py_LIMITED_API)
1004# define PyTuple_GET_ITEM PyTuple_GetItem
1005/* 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
1006 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. */
1007# define PyTuple_SET_ITEM PyTuple_SetItem
1008# define PyTuple_GET_SIZE PyTuple_Size
1009# define PyCFunction_GET_FLAGS PyCFunction_GetFlags
1010# define PyCFunction_GET_FUNCTION PyCFunction_GetFunction
1011# define PyCFunction_GET_SELF PyCFunction_GetSelf
1012# define PyList_GET_ITEM PyList_GetItem
1013# define PyList_SET_ITEM PyList_SetItem
1014# define PySliceObject PyObject
1015#endif
1016
1017/* Increment and Decrement wrappers - for portability when using the stable abi and for performance otherwise */
1018#ifdef Py_LIMITED_API
1019# define SWIG_Py_INCREF Py_IncRef
1020# define SWIG_Py_XINCREF Py_IncRef
1021# define SWIG_Py_DECREF Py_DecRef
1022# define SWIG_Py_XDECREF Py_DecRef
1023#else
1024# define SWIG_Py_INCREF Py_INCREF
1025# define SWIG_Py_XINCREF Py_XINCREF
1026# define SWIG_Py_DECREF Py_DECREF
1027# define SWIG_Py_XDECREF Py_XDECREF
1028#endif
1029
1030#if PY_VERSION_HEX >= 0x03000000
1031#if (PY_VERSION_HEX >= 0x030d00a6) && (!defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d00a6)
1032# define SWIG_PyType_GetFullyQualifiedName PyType_GetFullyQualifiedName
1033#else
1034SWIGINTERN PyObject *
1035SWIG_PyType_GetFullyQualifiedName(PyTypeObject *type) {
1036 PyObject *result = NULL;
1037 PyObject *qualname = PyObject_GetAttrString((PyObject *)type, "__qualname__");
1038 if (qualname) {
1039 PyObject *mod = PyObject_GetAttrString((PyObject *)type, "__module__");
1040 if (mod) {
1041 if (PyUnicode_Check(mod) && PyUnicode_CompareWithASCIIString(mod, "builtins") && PyUnicode_CompareWithASCIIString(mod, "__main__")) {
1042 result = PyUnicode_FromFormat("%U%c%U", mod, '.', qualname);
1043 SWIG_Py_DECREF(qualname);
1044 } else {
1045 result = qualname;
1046 }
1047 SWIG_Py_DECREF(mod);
1048 } else {
1049 result = qualname;
1050 }
1051 }
1052
1053 return result;
1054}
1055#endif
1056#endif
1057
1058/* gh-114329 added PyList_GetItemRef() to Python 3.13.0a4 */
1059#if (PY_VERSION_HEX >= 0x030d00a4) && (!defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d00a4)
1060# define SWIG_PyList_GetItemRef PyList_GetItemRef
1061#else
1062SWIGINTERN PyObject *
1063SWIG_PyList_GetItemRef(PyObject *op, Py_ssize_t index) {
1064 PyObject *item = PyList_GetItem(op, index);
1065 Py_XINCREF(item);
1066 return item;
1067}
1068#endif
1069
1070/* gh-106004 added PyDict_GetItemRef() and PyDict_GetItemStringRef() to Python 3.13.0a1
1071 functions are renamed here for compatibility with abi3audit */
1072#if (PY_VERSION_HEX >= 0x030d00a1) && (!defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d00a1)
1073# define SWIG_PyDict_GetItemRef PyDict_GetItemRef
1074# define SWIG_PyDict_GetItemStringRef PyDict_GetItemStringRef
1075#else
1076SWIGINTERN int
1077SWIG_PyDict_GetItemRef(PyObject *mp, PyObject *key, PyObject **result) {
1078#if PY_VERSION_HEX >= 0x03000000
1079 PyObject *item = PyDict_GetItemWithError(mp, key);
1080#else
1081 PyObject *item = _PyDict_GetItemWithError(mp, key);
1082#endif
1083 if (item != NULL) {
1084 *result = (PyObject *)(item);
1085 SWIG_Py_INCREF(*result);
1086 return 1;
1087 }
1088 if (!PyErr_Occurred()) {
1089 *result = NULL;
1090 return 0;
1091 }
1092 *result = NULL;
1093 return -1;
1094}
1095
1096SWIGINTERN int
1097SWIG_PyDict_GetItemStringRef(PyObject *mp, const char *key, PyObject **result) {
1098 int res;
1099#if PY_VERSION_HEX >= 0x03000000
1100 PyObject *key_obj = PyUnicode_FromString(key);
1101#else
1102 PyObject *key_obj = PyString_FromString(key);
1103#endif
1104 if (key_obj == NULL) {
1105 *result = NULL;
1106 return -1;
1107 }
1108 res = SWIG_PyDict_GetItemRef(mp, key_obj, result);
1109 Py_DECREF(key_obj);
1110 return res;
1111}
1112#endif
1113
1114/* -----------------------------------------------------------------------------
1115 * error manipulation
1116 * ----------------------------------------------------------------------------- */
1117
1118SWIGRUNTIME PyObject*
1120 PyObject* type = 0;
1121 switch(code) {
1122 case SWIG_MemoryError:
1123 type = PyExc_MemoryError;
1124 break;
1125 case SWIG_IOError:
1126 type = PyExc_IOError;
1127 break;
1128 case SWIG_RuntimeError:
1129 type = PyExc_RuntimeError;
1130 break;
1131 case SWIG_IndexError:
1132 type = PyExc_IndexError;
1133 break;
1134 case SWIG_TypeError:
1135 type = PyExc_TypeError;
1136 break;
1138 type = PyExc_ZeroDivisionError;
1139 break;
1140 case SWIG_OverflowError:
1141 type = PyExc_OverflowError;
1142 break;
1143 case SWIG_SyntaxError:
1144 type = PyExc_SyntaxError;
1145 break;
1146 case SWIG_ValueError:
1147 type = PyExc_ValueError;
1148 break;
1149 case SWIG_SystemError:
1150 type = PyExc_SystemError;
1151 break;
1153 type = PyExc_AttributeError;
1154 break;
1156 type = PyExc_TypeError;
1157 break;
1158 default:
1159 type = PyExc_RuntimeError;
1160 }
1161 return type;
1162}
1163
1164
1165SWIGRUNTIME void
1167{
1168 PyObject *type = 0;
1169 PyObject *value = 0;
1170 PyObject *traceback = 0;
1171
1172 if (PyErr_Occurred())
1173 PyErr_Fetch(&type, &value, &traceback);
1174 if (value) {
1175 PyObject *old_str = PyObject_Str(value);
1176 PyObject *bytes = NULL;
1177 const char *tmp = SWIG_PyUnicode_AsUTF8AndSize(old_str, NULL, &bytes);
1178 PyErr_Clear();
1179 SWIG_Py_XINCREF(type);
1180 if (tmp)
1181 PyErr_Format(type, "%s %s", tmp, mesg);
1182 else
1183 PyErr_Format(type, "%s", mesg);
1184 SWIG_Py_XDECREF(bytes);
1185 SWIG_Py_DECREF(old_str);
1187 } else {
1188 PyErr_SetString(PyExc_RuntimeError, mesg);
1189 }
1190}
1191
1192SWIGRUNTIME int
1194{
1195 PyObject *error;
1196 if (obj)
1197 return 0;
1198 error = PyErr_Occurred();
1199 return error && PyErr_GivenExceptionMatches(error, PyExc_TypeError);
1200}
1201
1202SWIGRUNTIME void
1204{
1206 /* Use existing TypeError to preserve stacktrace and enhance with given message */
1207 PyObject *newvalue;
1208 PyObject *type = NULL, *value = NULL, *traceback = NULL;
1209 PyErr_Fetch(&type, &value, &traceback);
1210#if PY_VERSION_HEX >= 0x03000000
1211 newvalue = PyUnicode_FromFormat("%S\nAdditional information:\n%s", value, message);
1212#else
1213 newvalue = PyString_FromFormat("%s\nAdditional information:\n%s", PyString_AsString(value), message);
1214#endif
1215 if (newvalue) {
1217 PyErr_Restore(type, newvalue, traceback);
1218 } else {
1219 PyErr_Restore(type, value, traceback);
1220 }
1221 } else {
1222 /* Raise TypeError using given message */
1223 PyErr_SetString(PyExc_TypeError, message);
1224 }
1225}
1226
1227#if defined(SWIG_PYTHON_NO_THREADS)
1228# if defined(SWIG_PYTHON_THREADS)
1229# undef SWIG_PYTHON_THREADS
1230# endif
1231#endif
1232#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
1233# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
1234# define SWIG_PYTHON_USE_GIL
1235# endif
1236# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
1237# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
1238# if PY_VERSION_HEX < 0x03070000
1239# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
1240# else
1241# define SWIG_PYTHON_INITIALIZE_THREADS
1242# endif
1243# endif
1244# ifdef __cplusplus /* C++ code */
1245 class SWIG_Python_Thread_Block {
1246 bool status;
1247 PyGILState_STATE state;
1248 public:
1249 void end() { if (status) { PyGILState_Release(state); status = false;} }
1250 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
1251 ~SWIG_Python_Thread_Block() { end(); }
1252 };
1253 class SWIG_Python_Thread_Allow {
1254 bool status;
1255 PyThreadState *save;
1256 public:
1257 void end() { if (status) { status = false; PyEval_RestoreThread(save); }}
1258 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
1259 ~SWIG_Python_Thread_Allow() { end(); }
1260 };
1261# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
1262# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
1263# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
1264# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
1265# else /* C code */
1266# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
1267# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
1268# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
1269# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
1270# endif
1271# else /* Old thread way, not implemented, user must provide it */
1272# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
1273# define SWIG_PYTHON_INITIALIZE_THREADS
1274# endif
1275# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
1276# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1277# endif
1278# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
1279# define SWIG_PYTHON_THREAD_END_BLOCK
1280# endif
1281# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
1282# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1283# endif
1284# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
1285# define SWIG_PYTHON_THREAD_END_ALLOW
1286# endif
1287# endif
1288#else /* No thread support */
1289# define SWIG_PYTHON_INITIALIZE_THREADS
1290# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1291# define SWIG_PYTHON_THREAD_END_BLOCK
1292# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1293# define SWIG_PYTHON_THREAD_END_ALLOW
1294#endif
1295
1296/* -----------------------------------------------------------------------------
1297 * Python API portion that goes into the runtime
1298 * ----------------------------------------------------------------------------- */
1299
1300#ifdef __cplusplus
1301extern "C" {
1302#endif
1303
1304/* -----------------------------------------------------------------------------
1305 * Constant declarations
1306 * ----------------------------------------------------------------------------- */
1307
1308/* Constant Types */
1309#define SWIG_PY_POINTER 4
1310#define SWIG_PY_BINARY 5
1311
1312/* Constant information structure */
1321
1322#ifdef __cplusplus
1323}
1324#endif
1325
1326
1327/* -----------------------------------------------------------------------------
1328 * pyrun.swg
1329 *
1330 * This file contains the runtime support for Python modules
1331 * and includes code for managing global variables and pointer
1332 * type checking.
1333 *
1334 * ----------------------------------------------------------------------------- */
1335
1336#if PY_VERSION_HEX < 0x02070000 /* 2.7.0 */
1337# error "This version of SWIG only supports Python >= 2.7"
1338#endif
1339
1340#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03050000
1341# error "This version of SWIG only supports Python 3 >= 3.5"
1342#endif
1343
1344/* Common SWIG API */
1345
1346/* for raw pointers */
1347#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1348#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
1349#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
1350
1351#ifdef SWIGPYTHON_BUILTIN
1352#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
1353#else
1354#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1355#endif
1356
1357#define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1358
1359#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
1360#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
1361#define swig_owntype int
1362
1363/* for raw packed data */
1364#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1365#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1366
1367/* for class or struct pointers */
1368#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1369#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1370
1371/* for C or C++ function pointers */
1372#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1373#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(NULL, ptr, type, 0)
1374
1375/* for C++ member pointers, ie, member methods */
1376#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1377#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1378
1379
1380/* Runtime API */
1381
1382#define SWIG_GetModule(clientdata) SWIG_Python_GetModule(clientdata)
1383#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1384#define SWIG_NewClientData(obj) SwigPyClientData_New(obj)
1385
1386#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1387#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1388#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1389#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1390#define SWIG_fail goto fail
1391
1392/* Runtime API implementation */
1393
1394/* Error manipulation */
1395
1396SWIGINTERN void
1397SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1399 PyErr_SetObject(errtype, obj);
1400 SWIG_Py_DECREF(obj);
1402}
1403
1404SWIGINTERN void
1405SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1407 PyErr_SetString(errtype, msg);
1409}
1410
1411#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1412
1413/* Set a constant value */
1414
1415#if defined(SWIGPYTHON_BUILTIN)
1416
1417SWIGINTERN void
1418SwigPyBuiltin_AddPublicSymbol(PyObject *seq, const char *key) {
1419 PyObject *s = PyString_InternFromString(key);
1420 PyList_Append(seq, s);
1421 SWIG_Py_DECREF(s);
1422}
1423
1424SWIGINTERN void
1425SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) {
1426 PyDict_SetItemString(d, name, obj);
1427 SWIG_Py_DECREF(obj);
1428 if (public_interface)
1429 SwigPyBuiltin_AddPublicSymbol(public_interface, name);
1430}
1431
1432#else
1433
1434SWIGINTERN void
1435SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1436 PyDict_SetItemString(d, name, obj);
1437 SWIG_Py_DECREF(obj);
1438}
1439
1440#endif
1441
1442/* SWIG runtime data Python module */
1443static PyObject *Swig_runtime_data_module_global = NULL;
1444
1445/* Create/obtain the single swig_runtime_data module which is used across different SWIG generated modules */
1446SWIGINTERN PyObject *
1449#if (PY_VERSION_HEX >= 0x030d0000) && (!defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000)
1450 /* free-threading note: the GIL is always enabled when this function is first called
1451 by SWIG_init, so there's no risk of race conditions */
1453#elif PY_VERSION_HEX >= 0x03000000
1456#else
1457 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} }; /* Sentinel */
1458 Swig_runtime_data_module_global = Py_InitModule(SWIG_RUNTIME_MODULE, swig_empty_runtime_method_table);
1460#endif
1461 }
1464}
1465
1466/* Append a value to the result obj */
1467SWIGINTERN PyObject*
1468SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) {
1469 if (!result) {
1470 result = obj;
1471 } else if (result == Py_None && is_void) {
1472 SWIG_Py_DECREF(result);
1473 result = obj;
1474 } else {
1475 if (!PyList_Check(result)) {
1476 PyObject *o2 = result;
1477 result = PyList_New(1);
1478 if (result) {
1479 PyList_SET_ITEM(result, 0, o2);
1480 } else {
1481 SWIG_Py_DECREF(obj);
1482 return o2;
1483 }
1484 }
1485 PyList_Append(result,obj);
1486 SWIG_Py_DECREF(obj);
1487 }
1488 return result;
1489}
1490
1491/* Unpack the argument tuple */
1492
1493SWIGINTERN Py_ssize_t
1494SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
1495{
1496 if (!args) {
1497 if (!min && !max) {
1498 return 1;
1499 } else {
1500 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1501 name, (min == max ? "" : "at least "), (int)min);
1502 return 0;
1503 }
1504 }
1505 if (!PyTuple_Check(args)) {
1506 if (min <= 1 && max >= 1) {
1507 Py_ssize_t i;
1508 objs[0] = args;
1509 for (i = 1; i < max; ++i) {
1510 objs[i] = 0;
1511 }
1512 return 2;
1513 }
1514 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1515 return 0;
1516 } else {
1517 Py_ssize_t l = PyTuple_GET_SIZE(args);
1518 if (l < min) {
1519 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1520 name, (min == max ? "" : "at least "), (int)min, (int)l);
1521 return 0;
1522 } else if (l > max) {
1523 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1524 name, (min == max ? "" : "at most "), (int)max, (int)l);
1525 return 0;
1526 } else {
1527 Py_ssize_t i;
1528 for (i = 0; i < l; ++i) {
1529 objs[i] = PyTuple_GET_ITEM(args, i);
1530 }
1531 for (; l < max; ++l) {
1532 objs[l] = 0;
1533 }
1534 return i + 1;
1535 }
1536 }
1537}
1538
1539SWIGINTERN int
1540SWIG_Python_CheckNoKeywords(PyObject *kwargs, const char *name) {
1541 int no_kwargs = 1;
1542 if (kwargs) {
1543 assert(PyDict_Check(kwargs));
1544 if (PyDict_Size(kwargs) > 0) {
1545 PyErr_Format(PyExc_TypeError, "%s() does not take keyword arguments", name);
1546 no_kwargs = 0;
1547 }
1548 }
1549 return no_kwargs;
1550}
1551
1552/* A functor is a function object with one single object argument */
1553#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1554
1555/*
1556 Helper for static pointer initialization for both C and C++ code, for example
1557 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1558*/
1559#ifdef __cplusplus
1560#define SWIG_STATIC_POINTER(var) var
1561#else
1562#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1563#endif
1564
1565#ifdef __cplusplus
1566extern "C" {
1567#endif
1568
1569/* Python-specific SWIG API */
1570#define SWIG_newvarlink() SWIG_Python_newvarlink()
1571#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
1572#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
1573
1574/* -----------------------------------------------------------------------------
1575 * global variable support code.
1576 * ----------------------------------------------------------------------------- */
1577
1578typedef struct swig_globalvar {
1579 char *name; /* Name of global variable */
1580 PyObject *(*get_attr)(void); /* Return the current value */
1581 int (*set_attr)(PyObject *); /* Set the value */
1584
1589
1590SWIGINTERN PyObject *
1592#if PY_VERSION_HEX >= 0x03000000
1593 return PyUnicode_InternFromString("<Swig global variables>");
1594#else
1595 return PyString_FromString("<Swig global variables>");
1596#endif
1597}
1598
1599SWIGINTERN PyObject *
1600SwigVarLink_str(PyObject *o) {
1602#if PY_VERSION_HEX >= 0x03000000
1603 PyObject *str = PyUnicode_InternFromString("(");
1604 PyObject *tail;
1605 PyObject *joined;
1606 swig_globalvar *var;
1607 for (var = v->vars; var; var=var->next) {
1608 tail = PyUnicode_FromString(var->name);
1609 joined = PyUnicode_Concat(str, tail);
1610 SWIG_Py_DECREF(str);
1612 str = joined;
1613 if (var->next) {
1614 tail = PyUnicode_InternFromString(", ");
1615 joined = PyUnicode_Concat(str, tail);
1616 SWIG_Py_DECREF(str);
1618 str = joined;
1619 }
1620 }
1621 tail = PyUnicode_InternFromString(")");
1622 joined = PyUnicode_Concat(str, tail);
1623 SWIG_Py_DECREF(str);
1625 str = joined;
1626#else
1627 PyObject *str = PyString_FromString("(");
1628 swig_globalvar *var;
1629 for (var = v->vars; var; var=var->next) {
1630 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
1631 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
1632 }
1633 PyString_ConcatAndDel(&str,PyString_FromString(")"));
1634#endif
1635 return str;
1636}
1637
1638SWIGINTERN void
1641 swig_globalvar *var = v->vars;
1642 while (var) {
1643 swig_globalvar *n = var->next;
1644 free(var->name);
1645 free(var);
1646 var = n;
1647 }
1648}
1649
1650SWIGINTERN PyObject *
1651SwigVarLink_getattr(PyObject *o, char *n) {
1653 PyObject *res = NULL;
1654 swig_globalvar *var = v->vars;
1655 while (var) {
1656 if (strcmp(var->name,n) == 0) {
1657 res = (*var->get_attr)();
1658 break;
1659 }
1660 var = var->next;
1661 }
1662 if (res == NULL && !PyErr_Occurred()) {
1663 PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n);
1664 }
1665 return res;
1666}
1667
1668SWIGINTERN int
1669SwigVarLink_setattr(PyObject *o, char *n, PyObject *p) {
1671 int res = 1;
1672 swig_globalvar *var = v->vars;
1673 while (var) {
1674 if (strcmp(var->name,n) == 0) {
1675 res = (*var->set_attr)(p);
1676 break;
1677 }
1678 var = var->next;
1679 }
1680 if (res == 1 && !PyErr_Occurred()) {
1681 PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n);
1682 }
1683 return res;
1684}
1685
1686SWIGINTERN PyTypeObject*
1688 static char SwigVarLink_doc[] = "Swig variable link object";
1689#ifndef SWIG_HEAPTYPES
1690 static PyTypeObject varlink_type;
1691 static int type_init = 0;
1692 if (!type_init) {
1693 const PyTypeObject tmp = {
1694#if PY_VERSION_HEX >= 0x03000000
1695 PyVarObject_HEAD_INIT(NULL, 0)
1696#else
1697 PyObject_HEAD_INIT(NULL)
1698 0, /* ob_size */
1699#endif
1700 SWIG_RUNTIME_MODULE ".SwigVarLink", /* tp_name */
1701 sizeof(swig_varlinkobject), /* tp_basicsize */
1702 0, /* tp_itemsize */
1703 (destructor) SwigVarLink_dealloc, /* tp_dealloc */
1704#if PY_VERSION_HEX < 0x030800b4
1705 (printfunc)0, /* tp_print */
1706#else
1707 (Py_ssize_t)0, /* tp_vectorcall_offset */
1708#endif
1709 (getattrfunc) SwigVarLink_getattr, /* tp_getattr */
1710 (setattrfunc) SwigVarLink_setattr, /* tp_setattr */
1711 0, /* tp_compare */
1712 (reprfunc) SwigVarLink_repr, /* tp_repr */
1713 0, /* tp_as_number */
1714 0, /* tp_as_sequence */
1715 0, /* tp_as_mapping */
1716 0, /* tp_hash */
1717 0, /* tp_call */
1718 (reprfunc) SwigVarLink_str, /* tp_str */
1719 0, /* tp_getattro */
1720 0, /* tp_setattro */
1721 0, /* tp_as_buffer */
1722 0, /* tp_flags */
1723 SwigVarLink_doc, /* tp_doc */
1724 0, /* tp_traverse */
1725 0, /* tp_clear */
1726 0, /* tp_richcompare */
1727 0, /* tp_weaklistoffset */
1728 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
1729 0, /* tp_del */
1730 0, /* tp_version_tag */
1731#if PY_VERSION_HEX >= 0x03040000
1732 0, /* tp_finalize */
1733#endif
1734#if PY_VERSION_HEX >= 0x03080000
1735 0, /* tp_vectorcall */
1736#endif
1737#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
1738 0, /* tp_print */
1739#endif
1740#if PY_VERSION_HEX >= 0x030c0000
1741 0, /* tp_watched */
1742#endif
1743#if PY_VERSION_HEX >= 0x030d00a4
1744 0, /* tp_versions_used */
1745#endif
1746#ifdef COUNT_ALLOCS
1747 0, /* tp_allocs */
1748 0, /* tp_frees */
1749 0, /* tp_maxalloc */
1750 0, /* tp_prev */
1751 0 /* tp_next */
1752#endif
1753 };
1754 PyObject *runtime_data_module = SWIG_runtime_data_module();
1755 varlink_type = tmp;
1756 type_init = 1;
1757 if (PyType_Ready(&varlink_type) < 0)
1758 return NULL;
1759 if (PyModule_AddObject(runtime_data_module, "SwigVarLink", (PyObject *)&varlink_type) == 0)
1760 SWIG_Py_INCREF((PyObject *)&varlink_type);
1761 }
1762 return &varlink_type;
1763#else
1764 PyType_Slot slots[] = {
1765 { Py_tp_dealloc, (void *)SwigVarLink_dealloc },
1766 { Py_tp_repr, (void *)SwigVarLink_repr },
1767 { Py_tp_getattr, (void *)SwigVarLink_getattr },
1768 { Py_tp_setattr, (void *)SwigVarLink_setattr },
1769 { Py_tp_str, (void *)SwigVarLink_str },
1770 { Py_tp_doc, (void *)SwigVarLink_doc },
1771 { 0, NULL }
1772 };
1773 PyType_Spec spec = {
1774 SWIG_RUNTIME_MODULE ".SwigVarLink",
1775 sizeof(swig_varlinkobject),
1776 0,
1777 Py_TPFLAGS_DEFAULT,
1778 slots
1779 };
1780 PyObject *pytype = PyType_FromSpec(&spec);
1781 PyObject *runtime_data_module = SWIG_runtime_data_module();
1782 if (pytype && PyModule_AddObject(runtime_data_module, "SwigVarLink", pytype) == 0)
1783 SWIG_Py_INCREF(pytype);
1784 return (PyTypeObject *)pytype;
1785#endif
1786}
1787
1788SWIGRUNTIME PyTypeObject*
1790 static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigVarLink_TypeOnce();
1791 return type;
1792}
1793
1794/* Create a variable linking object for use later */
1795SWIGINTERN PyObject *
1797 swig_varlinkobject *result = PyObject_New(swig_varlinkobject, SwigVarLink_Type());
1798 if (result) {
1799 result->vars = 0;
1800 }
1801 return ((PyObject*) result);
1802}
1803
1804SWIGINTERN void
1805SWIG_Python_addvarlink(PyObject *p, const char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
1807 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
1808 if (gv) {
1809 size_t size = strlen(name)+1;
1810 gv->name = (char *)malloc(size);
1811 if (gv->name) {
1812 memcpy(gv->name, name, size);
1813 gv->get_attr = get_attr;
1814 gv->set_attr = set_attr;
1815 gv->next = v->vars;
1816 }
1817 }
1818 v->vars = gv;
1819}
1820
1821
1822static PyObject *Swig_Globals_global = NULL;
1823
1824SWIGINTERN PyObject *
1826 if (Swig_Globals_global == NULL) {
1828 }
1829 return Swig_Globals_global;
1830}
1831
1832#ifdef __cplusplus
1833}
1834#endif
1835
1836/* -----------------------------------------------------------------------------
1837 * Pointer declarations
1838 * ----------------------------------------------------------------------------- */
1839
1840/* Flags for new pointer objects */
1841#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1842#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1843
1844#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1845
1846#define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2)
1847#define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN)
1848
1849#ifdef __cplusplus
1850extern "C" {
1851#endif
1852
1853/* The python void return value */
1854
1855SWIGRUNTIMEINLINE PyObject *
1857{
1858 PyObject *none = Py_None;
1859 SWIG_Py_INCREF(none);
1860 return none;
1861}
1862
1863/* SwigPyClientData */
1864
1865typedef struct {
1866 PyObject *klass;
1867 PyObject *newraw;
1868 PyObject *newargs;
1869 PyObject *destroy;
1872 PyTypeObject *pytype;
1874
1877{
1879 int fail = data ? data->implicitconv : 0;
1880 if (fail)
1881 PyErr_SetString(PyExc_TypeError, "Implicit conversion is prohibited for explicit constructors.");
1882 return fail;
1883}
1884
1885SWIGRUNTIMEINLINE PyObject *
1887 SwigPyClientData *data = desc ? (SwigPyClientData *) desc->clientdata : 0;
1888 PyObject *klass = data ? data->klass : 0;
1889 return (klass ? klass : PyExc_RuntimeError);
1890}
1891
1892
1895{
1896 if (!obj) {
1897 return 0;
1898 } else {
1899 SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData));
1900 /* the klass element */
1901 data->klass = obj;
1902 SWIG_Py_INCREF(data->klass);
1903 /* the newraw method and newargs arguments used to create a new raw instance */
1904 if (PyClass_Check(obj)) {
1905 data->newraw = 0;
1906 SWIG_Py_INCREF(obj);
1907 data->newargs = obj;
1908 } else {
1909 data->newraw = PyObject_GetAttrString(data->klass, "__new__");
1910 if (data->newraw) {
1911 data->newargs = PyTuple_New(1);
1912 if (data->newargs) {
1913 SWIG_Py_INCREF(obj);
1914 PyTuple_SET_ITEM(data->newargs, 0, obj);
1915 } else {
1916 SWIG_Py_DECREF(data->newraw);
1917 SWIG_Py_DECREF(data->klass);
1918 free(data);
1919 return 0;
1920 }
1921 } else {
1922 SWIG_Py_INCREF(obj);
1923 data->newargs = obj;
1924 }
1925 }
1926 /* the destroy method, aka as the C++ delete method */
1927 data->destroy = PyObject_GetAttrString(data->klass, "__swig_destroy__");
1928 if (PyErr_Occurred()) {
1929 PyErr_Clear();
1930 data->destroy = 0;
1931 }
1932 if (data->destroy) {
1933 data->delargs = !(PyCFunction_GET_FLAGS(data->destroy) & METH_O);
1934 } else {
1935 data->delargs = 0;
1936 }
1937 data->implicitconv = 0;
1938 data->pytype = 0;
1939 return data;
1940 }
1941}
1942
1943SWIGRUNTIME void
1945{
1946 SWIG_Py_XDECREF(data->klass);
1947 SWIG_Py_XDECREF(data->newraw);
1948 SWIG_Py_XDECREF(data->newargs);
1949 SWIG_Py_XDECREF(data->destroy);
1950 free(data);
1951}
1952
1953/* =============== SwigPyObject =====================*/
1954
1955typedef struct {
1956 PyObject_HEAD
1957 void *ptr;
1959 int own;
1960 PyObject *next;
1961 PyObject *swigdict;
1962 PyObject *weakreflist;
1963} SwigPyObject;
1964
1965
1966#ifdef SWIGPYTHON_BUILTIN
1967
1968SWIGRUNTIME PyObject *
1969SwigPyObject_get___dict__(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
1970{
1971 SwigPyObject *sobj = (SwigPyObject *)v;
1972
1973 if (!sobj->swigdict)
1974 sobj->swigdict = PyDict_New();
1975
1977 return sobj->swigdict;
1978}
1979
1980#endif
1981
1982SWIGRUNTIME PyObject *
1984{
1985 return PyLong_FromVoidPtr(v->ptr);
1986}
1987
1988SWIGRUNTIME PyObject *
1990{
1991 PyObject *res = NULL;
1992 PyObject *args = PyTuple_New(1);
1993 if (args) {
1994 PyObject *val = SwigPyObject_long(v);
1995 if (val) {
1996 PyObject *ofmt;
1997 PyTuple_SET_ITEM(args, 0, val);
1998 ofmt = SWIG_Python_str_FromChar(fmt);
1999 if (ofmt) {
2000#if PY_VERSION_HEX >= 0x03000000
2001 res = PyUnicode_Format(ofmt,args);
2002#else
2003 res = PyString_Format(ofmt,args);
2004#endif
2005 SWIG_Py_DECREF(ofmt);
2006 }
2007 }
2008 SWIG_Py_DECREF(args);
2009 }
2010 return res;
2011}
2012
2013SWIGRUNTIME PyObject *
2015{
2016 return SwigPyObject_format("%o",v);
2017}
2018
2019SWIGRUNTIME PyObject *
2021{
2022 return SwigPyObject_format("%x",v);
2023}
2024
2025SWIGRUNTIME PyObject *
2027{
2028 const char *name = SWIG_TypePrettyName(v->ty);
2029 PyObject *repr = SWIG_Python_str_FromFormat("<Swig Object of type '%s' at %p>", (name ? name : "unknown"), (void *)v);
2030 if (repr && v->next) {
2031 PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next);
2032 if (nrep) {
2033# if PY_VERSION_HEX >= 0x03000000
2034 PyObject *joined = PyUnicode_Concat(repr, nrep);
2035 SWIG_Py_DECREF(repr);
2036 SWIG_Py_DECREF(nrep);
2037 repr = joined;
2038# else
2039 PyString_ConcatAndDel(&repr,nrep);
2040# endif
2041 } else {
2042 SWIG_Py_DECREF(repr);
2043 repr = NULL;
2044 }
2045 }
2046 return repr;
2047}
2048
2049/* We need a version taking two PyObject* parameters so it's a valid
2050 * PyCFunction to use in SwigPyObject_methods[]. */
2051SWIGRUNTIME PyObject *
2052SwigPyObject_repr2(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
2053{
2054 return SwigPyObject_repr((SwigPyObject*)v);
2055}
2056
2057SWIGRUNTIME int
2058SwigPyObject_compare(PyObject *v, PyObject *w)
2059{
2060 /* tp_compare is only called when both objects have the same type, so
2061 * the casts are guaranteed to be ok. */
2062 void *i = ((SwigPyObject *)v)->ptr;
2063 void *j = ((SwigPyObject *)w)->ptr;
2064 return (i < j) ? -1 : ((i > j) ? 1 : 0);
2065}
2066
2068
2069/* Added for Python 3.x, would it also be useful for Python 2.x? */
2070SWIGRUNTIME PyObject*
2071SwigPyObject_richcompare(PyObject *v, PyObject *w, int op)
2072{
2073 PyObject* res = NULL;
2074 if (!PyErr_Occurred()) {
2075 /* Per https://docs.python.org/3/c-api/typeobj.html#c.PyTypeObject.tp_richcompare
2076 * the first argument is guaranteed to be an instance of SwigPyObject, but the
2077 * second is not, so we typecheck that one. */
2078 if ((op != Py_EQ && op != Py_NE) || !SwigPyObject_Check(w)) {
2079 SWIG_Py_INCREF(Py_NotImplemented);
2080 return Py_NotImplemented;
2081 }
2082 res = PyBool_FromLong( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) ? 1 : 0);
2083 }
2084 return res;
2085}
2086
2087
2088SWIGRUNTIME PyTypeObject* SwigPyObject_TypeOnce(void);
2089
2090#ifdef SWIGPYTHON_BUILTIN
2091static swig_type_info *SwigPyObject_stype = 0;
2092SWIGRUNTIME PyTypeObject*
2093SwigPyObject_Type(void) {
2094 SwigPyClientData *cd;
2095 assert(SwigPyObject_stype);
2096 cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
2097 assert(cd);
2098 assert(cd->pytype);
2099 return cd->pytype;
2100}
2101#else
2102SWIGRUNTIME PyTypeObject*
2104 static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyObject_TypeOnce();
2105 return type;
2106}
2107#endif
2108
2110SwigPyObject_Check(PyObject *op) {
2111 PyTypeObject *target_tp = SwigPyObject_Type();
2112 PyTypeObject *op_type = Py_TYPE(op);
2113#ifdef SWIGPYTHON_BUILTIN
2114 /* Only builtin types have SwigPyObject as a base type */
2115 return PyType_IsSubtype(op_type, target_tp);
2116#else
2117 /* Check for an exact match to SwigPyObject */
2118 if (op_type == target_tp) {
2119 return 1;
2120 } else {
2121 /* Fallback for multiple modules */
2122#if PY_VERSION_HEX >= 0x03000000
2123 int cmp;
2124 PyObject *tpname = SWIG_PyType_GetFullyQualifiedName(op_type);
2125 if (!tpname)
2126 return 0;
2127 cmp = PyUnicode_CompareWithASCIIString(tpname, SWIG_RUNTIME_MODULE ".SwigPyObject");
2128 SWIG_Py_DECREF(tpname);
2129 return cmp == 0;
2130#else
2131 return strcmp(op_type->tp_name, SWIG_RUNTIME_MODULE ".SwigPyObject") == 0;
2132#endif
2133 }
2134#endif
2135}
2136
2137SWIGRUNTIME PyObject *
2138SwigPyObject_New(void *ptr, swig_type_info *ty, int own);
2139
2140static PyObject* Swig_Capsule_global = NULL;
2141
2142SWIGRUNTIME void
2144{
2145 SwigPyObject *sobj = (SwigPyObject *) v;
2146 PyObject *next = sobj->next;
2147 if (sobj->own == SWIG_POINTER_OWN) {
2148 swig_type_info *ty = sobj->ty;
2149 SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
2150 PyObject *destroy = data ? data->destroy : 0;
2151 if (destroy) {
2152 /* destroy is always a VARARGS method */
2153 PyObject *res;
2154
2155 /* PyObject_CallFunction() has the potential to silently drop
2156 the active exception. In cases of unnamed temporary
2157 variable or where we just finished iterating over a generator
2158 StopIteration will be active right now, and this needs to
2159 remain true upon return from SwigPyObject_dealloc. So save
2160 and restore. */
2161
2162 PyObject *type = NULL, *value = NULL, *traceback = NULL;
2163 PyErr_Fetch(&type, &value, &traceback);
2164
2165 if (data->delargs) {
2166 /* we need to create a temporary object to carry the destroy operation */
2167 PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0);
2168 if (tmp) {
2169 res = SWIG_Python_CallFunctor(destroy, tmp);
2170 } else {
2171 res = 0;
2172 }
2173 SWIG_Py_XDECREF(tmp);
2174 } else {
2175 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
2176 PyObject *mself = PyCFunction_GET_SELF(destroy);
2177 res = ((*meth)(mself, v));
2178 }
2179 if (!res)
2180 PyErr_WriteUnraisable(destroy);
2181
2182 PyErr_Restore(type, value, traceback);
2183
2184 SWIG_Py_XDECREF(res);
2185 }
2186#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
2187 else {
2188 const char *name = SWIG_TypePrettyName(ty);
2189 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown"));
2190 }
2191#endif
2193 }
2194 SWIG_Py_XDECREF(next);
2196 PyObject_Free(v);
2197}
2198
2199SWIGRUNTIME PyObject*
2200SwigPyObject_append(PyObject* v, PyObject* next)
2201{
2202 SwigPyObject *sobj = (SwigPyObject *) v;
2203 if (!SwigPyObject_Check(next)) {
2204 PyErr_SetString(PyExc_TypeError, "Attempt to append a non SwigPyObject");
2205 return NULL;
2206 }
2207 ((SwigPyObject *)next)->next = sobj->next;
2208 sobj->next = next;
2209 SWIG_Py_INCREF(next);
2210 return SWIG_Py_Void();
2211}
2212
2213SWIGRUNTIME PyObject*
2214SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
2215{
2216 SwigPyObject *sobj = (SwigPyObject *) v;
2217 if (sobj->next) {
2218 SWIG_Py_INCREF(sobj->next);
2219 return sobj->next;
2220 } else {
2221 return SWIG_Py_Void();
2222 }
2223}
2224
2225SWIGINTERN PyObject*
2226SwigPyObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
2227{
2228 SwigPyObject *sobj = (SwigPyObject *)v;
2229 sobj->own = 0;
2230 return SWIG_Py_Void();
2231}
2232
2233SWIGINTERN PyObject*
2234SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
2235{
2236 SwigPyObject *sobj = (SwigPyObject *)v;
2237 sobj->own = SWIG_POINTER_OWN;
2238 return SWIG_Py_Void();
2239}
2240
2241SWIGINTERN PyObject*
2242SwigPyObject_own(PyObject *v, PyObject *args)
2243{
2244 PyObject *val = 0;
2245 if (!PyArg_UnpackTuple(args, "own", 0, 1, &val)) {
2246 return NULL;
2247 } else {
2248 SwigPyObject *sobj = (SwigPyObject *)v;
2249 PyObject *obj = PyBool_FromLong(sobj->own);
2250 if (val) {
2251 if (PyObject_IsTrue(val)) {
2253 } else {
2255 }
2256 }
2257 return obj;
2258 }
2259}
2260
2261static PyMethodDef
2263 {"disown", SwigPyObject_disown, METH_NOARGS, "releases ownership of the pointer"},
2264 {"acquire", SwigPyObject_acquire, METH_NOARGS, "acquires ownership of the pointer"},
2265 {"own", SwigPyObject_own, METH_VARARGS, "returns/sets ownership of the pointer"},
2266 {"append", SwigPyObject_append, METH_O, "appends another 'this' object"},
2267 {"next", SwigPyObject_next, METH_NOARGS, "returns the next 'this' object"},
2268 {"__repr__",SwigPyObject_repr2, METH_NOARGS, "returns object representation"},
2269 {0, 0, 0, 0}
2270};
2271
2272SWIGRUNTIME PyTypeObject*
2274 static char SwigPyObject_doc[] = "Swig object holding a C/C++ pointer";
2275#ifndef SWIG_HEAPTYPES
2276 static PyNumberMethods SwigPyObject_as_number = {
2277 (binaryfunc)0, /*nb_add*/
2278 (binaryfunc)0, /*nb_subtract*/
2279 (binaryfunc)0, /*nb_multiply*/
2280 /* nb_divide removed in Python 3 */
2281#if PY_VERSION_HEX < 0x03000000
2282 (binaryfunc)0, /*nb_divide*/
2283#endif
2284 (binaryfunc)0, /*nb_remainder*/
2285 (binaryfunc)0, /*nb_divmod*/
2286 (ternaryfunc)0,/*nb_power*/
2287 (unaryfunc)0, /*nb_negative*/
2288 (unaryfunc)0, /*nb_positive*/
2289 (unaryfunc)0, /*nb_absolute*/
2290 (inquiry)0, /*nb_nonzero*/
2291 0, /*nb_invert*/
2292 0, /*nb_lshift*/
2293 0, /*nb_rshift*/
2294 0, /*nb_and*/
2295 0, /*nb_xor*/
2296 0, /*nb_or*/
2297#if PY_VERSION_HEX < 0x03000000
2298 0, /*nb_coerce*/
2299#endif
2300 (unaryfunc)SwigPyObject_long, /*nb_int*/
2301#if PY_VERSION_HEX < 0x03000000
2302 (unaryfunc)SwigPyObject_long, /*nb_long*/
2303#else
2304 0, /*nb_reserved*/
2305#endif
2306 (unaryfunc)0, /*nb_float*/
2307#if PY_VERSION_HEX < 0x03000000
2308 (unaryfunc)SwigPyObject_oct, /*nb_oct*/
2309 (unaryfunc)SwigPyObject_hex, /*nb_hex*/
2310#endif
2311#if PY_VERSION_HEX >= 0x03050000 /* 3.5 */
2312 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_matrix_multiply */
2313#elif PY_VERSION_HEX >= 0x03000000 /* 3.0 */
2314 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */
2315#else
2316 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */
2317#endif
2318 };
2319
2320 static PyTypeObject swigpyobject_type;
2321 static int type_init = 0;
2322 if (!type_init) {
2323 const PyTypeObject tmp = {
2324#if PY_VERSION_HEX >= 0x03000000
2325 PyVarObject_HEAD_INIT(NULL, 0)
2326#else
2327 PyObject_HEAD_INIT(NULL)
2328 0, /* ob_size */
2329#endif
2330 SWIG_RUNTIME_MODULE ".SwigPyObject", /* tp_name */
2331 sizeof(SwigPyObject), /* tp_basicsize */
2332 0, /* tp_itemsize */
2333 (destructor)SwigPyObject_dealloc, /* tp_dealloc */
2334#if PY_VERSION_HEX < 0x030800b4
2335 (printfunc)0, /* tp_print */
2336#else
2337 (Py_ssize_t)0, /* tp_vectorcall_offset */
2338#endif
2339 (getattrfunc)0, /* tp_getattr */
2340 (setattrfunc)0, /* tp_setattr */
2341#if PY_VERSION_HEX >= 0x03000000
2342 0, /* tp_reserved in 3.0.1, tp_compare in 3.0.0 but not used */
2343#else
2344 (cmpfunc)SwigPyObject_compare, /* tp_compare */
2345#endif
2346 (reprfunc)SwigPyObject_repr, /* tp_repr */
2347 &SwigPyObject_as_number, /* tp_as_number */
2348 0, /* tp_as_sequence */
2349 0, /* tp_as_mapping */
2350 (hashfunc)0, /* tp_hash */
2351 (ternaryfunc)0, /* tp_call */
2352 0, /* tp_str */
2353 PyObject_GenericGetAttr, /* tp_getattro */
2354 0, /* tp_setattro */
2355 0, /* tp_as_buffer */
2356 Py_TPFLAGS_DEFAULT, /* tp_flags */
2357 SwigPyObject_doc, /* tp_doc */
2358 0, /* tp_traverse */
2359 0, /* tp_clear */
2360 (richcmpfunc)SwigPyObject_richcompare,/* tp_richcompare */
2361 offsetof(SwigPyObject, weakreflist), /* tp_weaklistoffset */
2362 0, /* tp_iter */
2363 0, /* tp_iternext */
2364 SwigPyObject_methods, /* tp_methods */
2365 0, /* tp_members */
2366 0, /* tp_getset */
2367 0, /* tp_base */
2368 0, /* tp_dict */
2369 0, /* tp_descr_get */
2370 0, /* tp_descr_set */
2371 0, /* tp_dictoffset */
2372 0, /* tp_init */
2373 0, /* tp_alloc */
2374 0, /* tp_new */
2375 0, /* tp_free */
2376 0, /* tp_is_gc */
2377 0, /* tp_bases */
2378 0, /* tp_mro */
2379 0, /* tp_cache */
2380 0, /* tp_subclasses */
2381 0, /* tp_weaklist */
2382 0, /* tp_del */
2383 0, /* tp_version_tag */
2384#if PY_VERSION_HEX >= 0x03040000
2385 0, /* tp_finalize */
2386#endif
2387#if PY_VERSION_HEX >= 0x03080000
2388 0, /* tp_vectorcall */
2389#endif
2390#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
2391 0, /* tp_print */
2392#endif
2393#if PY_VERSION_HEX >= 0x030c0000
2394 0, /* tp_watched */
2395#endif
2396#if PY_VERSION_HEX >= 0x030d00a4
2397 0, /* tp_versions_used */
2398#endif
2399#ifdef COUNT_ALLOCS
2400 0, /* tp_allocs */
2401 0, /* tp_frees */
2402 0, /* tp_maxalloc */
2403 0, /* tp_prev */
2404 0 /* tp_next */
2405#endif
2406 };
2407 PyObject *runtime_data_module = SWIG_runtime_data_module();
2408 swigpyobject_type = tmp;
2409 type_init = 1;
2410 if (PyType_Ready(&swigpyobject_type) != 0)
2411 return NULL;
2412 if (PyModule_AddObject(runtime_data_module, "SwigPyObject", (PyObject *)&swigpyobject_type) == 0)
2413 SWIG_Py_INCREF((PyObject *)&swigpyobject_type);
2414 }
2415 return &swigpyobject_type;
2416#else
2417 static PyMemberDef SwigPyObject_members[] = {
2418 { (char *)"__dictoffset__", Py_T_PYSSIZET, offsetof(SwigPyObject, swigdict), Py_READONLY, NULL },
2419 { (char *)"__weaklistoffset__", Py_T_PYSSIZET, offsetof(SwigPyObject, weakreflist), Py_READONLY, NULL },
2420 { NULL, 0, 0, 0, NULL }
2421 };
2422 PyType_Slot slots[] = {
2423 { Py_tp_dealloc, (void *)SwigPyObject_dealloc },
2424 { Py_tp_repr, (void *)SwigPyObject_repr },
2425 { Py_tp_getattro, (void *)PyObject_GenericGetAttr },
2426 { Py_tp_doc, (void *)SwigPyObject_doc },
2427 { Py_tp_richcompare, (void *)SwigPyObject_richcompare },
2428 { Py_tp_methods, (void *)SwigPyObject_methods },
2429 { Py_nb_int, (void *)SwigPyObject_long },
2430 { Py_tp_members, (void *)SwigPyObject_members },
2431 { 0, NULL }
2432 };
2433 PyType_Spec spec = {
2434 SWIG_RUNTIME_MODULE ".SwigPyObject",
2435 sizeof(SwigPyObject),
2436 0,
2437 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE,
2438 slots
2439 };
2440 PyObject *pytype = PyType_FromSpec(&spec);
2441 PyObject *runtime_data_module = SWIG_runtime_data_module();
2442#if !defined(Py_LIMITED_API)
2443/* While this __dictoffset__ is only used with the builtin wrappers, SwigPyObject ought to be
2444 identical when created for use by proxy class wrappers in case it is shared across multiple modules. */
2445#if PY_VERSION_HEX < 0x03090000
2446 /* Workaround as __dictoffset__ and __weaklistoffset__ above are only supported from python-3.9 */
2447 if (pytype) {
2448 ((PyTypeObject *)pytype)->tp_dictoffset = offsetof(SwigPyObject, swigdict);
2449 ((PyTypeObject *)pytype)->tp_weaklistoffset = offsetof(SwigPyObject, weakreflist);
2450 }
2451#endif
2452#endif
2453 if (pytype && PyModule_AddObject(runtime_data_module, "SwigPyObject", pytype) == 0)
2454 SWIG_Py_INCREF(pytype);
2455 return (PyTypeObject *)pytype;
2456#endif
2457}
2458
2459SWIGRUNTIME PyObject *
2460SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
2461{
2462 SwigPyObject *sobj = PyObject_New(SwigPyObject, SwigPyObject_Type());
2463 if (sobj) {
2464 sobj->ptr = ptr;
2465 sobj->ty = ty;
2466 sobj->own = own;
2467 sobj->next = 0;
2468 sobj->swigdict = 0;
2469 sobj->weakreflist = 0;
2470 if (own == SWIG_POINTER_OWN) {
2471 /* Obtain a reference to the Python capsule wrapping the module information, so that the
2472 * module information is correctly destroyed after all SWIG python objects have been freed
2473 * by the GC (and corresponding destructors invoked) */
2475 }
2476 }
2477 return (PyObject *)sobj;
2478}
2479
2480/* -----------------------------------------------------------------------------
2481 * Implements a simple Swig Packed type, and use it instead of string
2482 * ----------------------------------------------------------------------------- */
2483
2484typedef struct {
2485 PyObject_HEAD
2486 void *pack;
2488 size_t size;
2489} SwigPyPacked;
2490
2491SWIGRUNTIME PyObject *
2493{
2494 char result[SWIG_BUFFER_SIZE];
2495 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
2496 return SWIG_Python_str_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
2497 } else {
2498 return SWIG_Python_str_FromFormat("<Swig Packed %s>", v->ty->name);
2499 }
2500}
2501
2502SWIGRUNTIME PyObject *
2504{
2505 char result[SWIG_BUFFER_SIZE];
2506 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
2507 return SWIG_Python_str_FromFormat("%s%s", result, v->ty->name);
2508 } else {
2509 return SWIG_Python_str_FromChar(v->ty->name);
2510 }
2511}
2512
2513SWIGRUNTIME int
2515{
2516 size_t i = v->size;
2517 size_t j = w->size;
2518 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
2519 return s ? s : strncmp((const char *)v->pack, (const char *)w->pack, 2*v->size);
2520}
2521
2522SWIGRUNTIME PyTypeObject* SwigPyPacked_TypeOnce(void);
2523
2524SWIGRUNTIME PyTypeObject*
2526 static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyPacked_TypeOnce();
2527 return type;
2528}
2529
2531SwigPyPacked_Check(PyObject *op) {
2532 PyTypeObject *target_tp = SwigPyPacked_Type();
2533 PyTypeObject *op_type = Py_TYPE(op);
2534 /* Check for an exact match to SwigPyPacked */
2535 if (op_type == target_tp) {
2536 return 1;
2537 } else {
2538 /* Fallback for multiple modules */
2539#if PY_VERSION_HEX >= 0x03000000
2540 int cmp;
2541 PyObject *tpname = SWIG_PyType_GetFullyQualifiedName(op_type);
2542 if (!tpname)
2543 return 0;
2544 cmp = PyUnicode_CompareWithASCIIString(tpname, SWIG_RUNTIME_MODULE ".SwigPyPacked");
2545 SWIG_Py_DECREF(tpname);
2546 return cmp == 0;
2547#else
2548 return strcmp(op_type->tp_name, SWIG_RUNTIME_MODULE ".SwigPyPacked") == 0;
2549#endif
2550 }
2551}
2552
2553SWIGRUNTIME void
2555{
2556 if (SwigPyPacked_Check(v)) {
2557 SwigPyPacked *sobj = (SwigPyPacked *) v;
2558 free(sobj->pack);
2559 }
2560 PyObject_Free(v);
2561}
2562
2563SWIGRUNTIME PyTypeObject*
2565 static char SwigPyPacked_doc[] = "Swig object holding a C/C++ function pointer";
2566#ifndef SWIG_HEAPTYPES
2567 static PyTypeObject swigpypacked_type;
2568 static int type_init = 0;
2569 if (!type_init) {
2570 const PyTypeObject tmp = {
2571#if PY_VERSION_HEX >= 0x03000000
2572 PyVarObject_HEAD_INIT(NULL, 0)
2573#else
2574 PyObject_HEAD_INIT(NULL)
2575 0, /* ob_size */
2576#endif
2577 SWIG_RUNTIME_MODULE ".SwigPyPacked", /* tp_name */
2578 sizeof(SwigPyPacked), /* tp_basicsize */
2579 0, /* tp_itemsize */
2580 (destructor)SwigPyPacked_dealloc, /* tp_dealloc */
2581#if PY_VERSION_HEX < 0x030800b4
2582 (printfunc)0, /* tp_print */
2583#else
2584 (Py_ssize_t)0, /* tp_vectorcall_offset */
2585#endif
2586 (getattrfunc)0, /* tp_getattr */
2587 (setattrfunc)0, /* tp_setattr */
2588#if PY_VERSION_HEX >= 0x03000000
2589 0, /* tp_reserved in 3.0.1 */
2590#else
2591 (cmpfunc)SwigPyPacked_compare, /* tp_compare */
2592#endif
2593 (reprfunc)SwigPyPacked_repr, /* tp_repr */
2594 0, /* tp_as_number */
2595 0, /* tp_as_sequence */
2596 0, /* tp_as_mapping */
2597 (hashfunc)0, /* tp_hash */
2598 (ternaryfunc)0, /* tp_call */
2599 (reprfunc)SwigPyPacked_str, /* tp_str */
2600 PyObject_GenericGetAttr, /* tp_getattro */
2601 0, /* tp_setattro */
2602 0, /* tp_as_buffer */
2603 Py_TPFLAGS_DEFAULT, /* tp_flags */
2604 SwigPyPacked_doc, /* tp_doc */
2605 0, /* tp_traverse */
2606 0, /* tp_clear */
2607 0, /* tp_richcompare */
2608 0, /* tp_weaklistoffset */
2609 0, /* tp_iter */
2610 0, /* tp_iternext */
2611 0, /* tp_methods */
2612 0, /* tp_members */
2613 0, /* tp_getset */
2614 0, /* tp_base */
2615 0, /* tp_dict */
2616 0, /* tp_descr_get */
2617 0, /* tp_descr_set */
2618 0, /* tp_dictoffset */
2619 0, /* tp_init */
2620 0, /* tp_alloc */
2621 0, /* tp_new */
2622 0, /* tp_free */
2623 0, /* tp_is_gc */
2624 0, /* tp_bases */
2625 0, /* tp_mro */
2626 0, /* tp_cache */
2627 0, /* tp_subclasses */
2628 0, /* tp_weaklist */
2629 0, /* tp_del */
2630 0, /* tp_version_tag */
2631#if PY_VERSION_HEX >= 0x03040000
2632 0, /* tp_finalize */
2633#endif
2634#if PY_VERSION_HEX >= 0x03080000
2635 0, /* tp_vectorcall */
2636#endif
2637#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
2638 0, /* tp_print */
2639#endif
2640#if PY_VERSION_HEX >= 0x030c0000
2641 0, /* tp_watched */
2642#endif
2643#if PY_VERSION_HEX >= 0x030d00a4
2644 0, /* tp_versions_used */
2645#endif
2646#ifdef COUNT_ALLOCS
2647 0, /* tp_allocs */
2648 0, /* tp_frees */
2649 0, /* tp_maxalloc */
2650 0, /* tp_prev */
2651 0 /* tp_next */
2652#endif
2653 };
2654 PyObject *runtime_data_module = SWIG_runtime_data_module();
2655 swigpypacked_type = tmp;
2656 type_init = 1;
2657 if (PyType_Ready(&swigpypacked_type) != 0)
2658 return NULL;
2659 if (PyModule_AddObject(runtime_data_module, "SwigPyPacked", (PyObject *)&swigpypacked_type) == 0)
2660 SWIG_Py_INCREF((PyObject *)&swigpypacked_type);
2661 }
2662 return &swigpypacked_type;
2663#else
2664 PyType_Slot slots[] = {
2665 { Py_tp_dealloc, (void *)SwigPyPacked_dealloc },
2666 { Py_tp_repr, (void *)SwigPyPacked_repr },
2667 { Py_tp_str, (void *)SwigPyPacked_str },
2668 { Py_tp_getattro, (void *)PyObject_GenericGetAttr },
2669 { Py_tp_doc, (void *)SwigPyPacked_doc },
2670 { 0, NULL }
2671 };
2672 PyType_Spec spec = {
2673 SWIG_RUNTIME_MODULE ".SwigPyPacked",
2674 sizeof(SwigPyPacked),
2675 0,
2676 Py_TPFLAGS_DEFAULT,
2677 slots
2678 };
2679 PyObject *pytype = PyType_FromSpec(&spec);
2680 PyObject *runtime_data_module = SWIG_runtime_data_module();
2681 if (pytype && PyModule_AddObject(runtime_data_module, "SwigPyPacked", pytype) == 0)
2682 SWIG_Py_INCREF(pytype);
2683 return (PyTypeObject *)pytype;
2684#endif
2685}
2686
2687SWIGRUNTIME PyObject *
2688SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
2689{
2690 SwigPyPacked *sobj = PyObject_New(SwigPyPacked, SwigPyPacked_Type());
2691 if (sobj) {
2692 void *pack = malloc(size);
2693 if (pack) {
2694 memcpy(pack, ptr, size);
2695 sobj->pack = pack;
2696 sobj->ty = ty;
2697 sobj->size = size;
2698 } else {
2699 PyObject_Free((PyObject *)sobj);
2700 sobj = 0;
2701 }
2702 }
2703 return (PyObject *) sobj;
2704}
2705
2707SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
2708{
2709 if (SwigPyPacked_Check(obj)) {
2710 SwigPyPacked *sobj = (SwigPyPacked *)obj;
2711 if (sobj->size != size) return 0;
2712 memcpy(ptr, sobj->pack, size);
2713 return sobj->ty;
2714 } else {
2715 return 0;
2716 }
2717}
2718
2719/* -----------------------------------------------------------------------------
2720 * pointers/data manipulation
2721 * ----------------------------------------------------------------------------- */
2722
2723static PyObject *Swig_This_global = NULL;
2724
2725SWIGRUNTIME PyObject *
2727{
2728 if (Swig_This_global == NULL)
2730 return Swig_This_global;
2731}
2732
2733/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
2734
2735/* TODO: I don't know how to implement the fast getset in Python 3 right now */
2736#if PY_VERSION_HEX >= 0x03000000
2737#define SWIG_PYTHON_SLOW_GETSET_THIS
2738#endif
2739
2740/* Returns a borrowed reference to the 'this' object */
2743{
2744 PyObject *obj;
2745
2746 if (SwigPyObject_Check(pyobj))
2747 return (SwigPyObject *) pyobj;
2748
2749#ifdef SWIGPYTHON_BUILTIN
2750 (void)obj;
2751 if (PyWeakref_CheckProxy(pyobj)) {
2752#if PY_VERSION_HEX >= 0x030d0000
2753 if (PyWeakref_GetRef(pyobj, &pyobj) > 0)
2754 Py_DECREF(pyobj);
2755 else
2756 pyobj = NULL;
2757#else
2758 pyobj = PyWeakref_GetObject(pyobj);
2759#endif
2760 if (pyobj && SwigPyObject_Check(pyobj))
2761 return (SwigPyObject*) pyobj;
2762 }
2763 return NULL;
2764#else
2765
2766 obj = 0;
2767
2768#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2769 if (PyInstance_Check(pyobj)) {
2770 obj = _PyInstance_Lookup(pyobj, SWIG_This());
2771 } else {
2772 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
2773 if (dictptr != NULL) {
2774 PyObject *dict = *dictptr;
2775 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
2776 } else {
2777 if (PyWeakref_CheckProxy(pyobj)) {
2778 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
2779 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
2780 }
2781 obj = PyObject_GetAttr(pyobj, SWIG_This());
2782 if (obj) {
2783 SWIG_Py_DECREF(obj);
2784 } else {
2785 if (PyErr_Occurred()) PyErr_Clear();
2786 return 0;
2787 }
2788 }
2789 }
2790#else
2791 obj = PyObject_GetAttr(pyobj, SWIG_This());
2792 if (obj) {
2793 SWIG_Py_DECREF(obj);
2794 } else {
2795 if (PyErr_Occurred()) PyErr_Clear();
2796 return 0;
2797 }
2798#endif
2799 if (obj && !SwigPyObject_Check(obj)) {
2800 /* a PyObject is called 'this', try to get the 'real this'
2801 SwigPyObject from it */
2802 return SWIG_Python_GetSwigThis(obj);
2803 }
2804 return (SwigPyObject *)obj;
2805#endif
2806}
2807
2808/* Acquire a pointer value */
2809
2810SWIGRUNTIME int
2811SWIG_Python_AcquirePtr(PyObject *obj, int own) {
2812 if (own == SWIG_POINTER_OWN) {
2814 if (sobj) {
2815 int oldown = sobj->own;
2816 sobj->own = own;
2817 return oldown;
2818 }
2819 }
2820 return 0;
2821}
2822
2823/* Convert a pointer value */
2824
2825SWIGRUNTIME int
2826SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
2827 int res;
2828 SwigPyObject *sobj;
2829 int implicit_conv = (flags & SWIG_POINTER_IMPLICIT_CONV) != 0;
2830
2831 if (!obj)
2832 return SWIG_ERROR;
2833 if (obj == Py_None && !implicit_conv) {
2834 if (ptr)
2835 *ptr = 0;
2837 }
2838
2839 res = SWIG_ERROR;
2840
2841 sobj = SWIG_Python_GetSwigThis(obj);
2842 if (own)
2843 *own = 0;
2844 while (sobj) {
2845 void *vptr = sobj->ptr;
2846 if (ty) {
2847 swig_type_info *to = sobj->ty;
2848 if (to == ty) {
2849 /* no type cast needed */
2850 if (ptr) *ptr = vptr;
2851 break;
2852 } else {
2853 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2854 if (!tc) {
2855 sobj = (SwigPyObject *)sobj->next;
2856 } else {
2857 if (ptr) {
2858 int newmemory = 0;
2859 *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2860 if (newmemory == SWIG_CAST_NEW_MEMORY) {
2861 assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
2862 if (own)
2863 *own = *own | SWIG_CAST_NEW_MEMORY;
2864 }
2865 }
2866 break;
2867 }
2868 }
2869 } else {
2870 if (ptr) *ptr = vptr;
2871 break;
2872 }
2873 }
2874 if (sobj) {
2875 if (((flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE) && !sobj->own) {
2877 } else {
2878 if (own)
2879 *own = *own | sobj->own;
2880 if (flags & SWIG_POINTER_DISOWN) {
2881 sobj->own = 0;
2882 }
2883 if (flags & SWIG_POINTER_CLEAR) {
2884 sobj->ptr = 0;
2885 }
2886 res = SWIG_OK;
2887 }
2888 } else {
2889 if (implicit_conv) {
2890 SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
2891 if (data && !data->implicitconv) {
2892 PyObject *klass = data->klass;
2893 if (klass) {
2894 PyObject *impconv;
2895 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2896 impconv = SWIG_Python_CallFunctor(klass, obj);
2897 data->implicitconv = 0;
2898 if (PyErr_Occurred()) {
2899 PyErr_Clear();
2900 impconv = 0;
2901 }
2902 if (impconv) {
2903 SwigPyObject *iobj = SWIG_Python_GetSwigThis(impconv);
2904 if (iobj) {
2905 void *vptr;
2906 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2907 if (SWIG_IsOK(res)) {
2908 if (ptr) {
2909 *ptr = vptr;
2910 /* transfer the ownership to 'ptr' */
2911 iobj->own = 0;
2912 res = SWIG_AddCast(res);
2913 res = SWIG_AddNewMask(res);
2914 } else {
2915 res = SWIG_AddCast(res);
2916 }
2917 }
2918 }
2919 SWIG_Py_DECREF(impconv);
2920 }
2921 }
2922 }
2923 if (!SWIG_IsOK(res) && obj == Py_None) {
2924 if (ptr)
2925 *ptr = 0;
2926 if (PyErr_Occurred())
2927 PyErr_Clear();
2928 res = SWIG_OK;
2929 }
2930 }
2931 }
2932 return res;
2933}
2934
2935/* Convert a function ptr value */
2936
2937SWIGRUNTIME int
2938SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2939 if (!PyCFunction_Check(obj)) {
2940 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2941 } else {
2942 void *vptr = 0;
2943 swig_cast_info *tc;
2944
2945 /* here we get the method pointer for callbacks */
2946#ifndef Py_LIMITED_API
2947 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2948#else
2949 PyObject* pystr_doc = PyObject_GetAttrString(obj, "__doc__");
2950 PyObject *bytes = NULL;
2951 const char *doc = pystr_doc ? SWIG_PyUnicode_AsUTF8AndSize(pystr_doc, NULL, &bytes) : 0;
2952#endif
2953 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2954 if (desc)
2955 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2956#ifdef Py_LIMITED_API
2957 SWIG_Py_XDECREF(bytes);
2958 SWIG_Py_XDECREF(pystr_doc);
2959#endif
2960 if (!desc)
2961 return SWIG_ERROR;
2962 tc = SWIG_TypeCheck(desc,ty);
2963 if (tc) {
2964 int newmemory = 0;
2965 *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2966 assert(!newmemory); /* newmemory handling not yet implemented */
2967 } else {
2968 return SWIG_ERROR;
2969 }
2970 return SWIG_OK;
2971 }
2972}
2973
2974/* Convert a packed pointer value */
2975
2976SWIGRUNTIME int
2977SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2978 swig_type_info *to = SwigPyPacked_UnpackData(obj, ptr, sz);
2979 if (!to) return SWIG_ERROR;
2980 if (ty) {
2981 if (to != ty) {
2982 /* check type cast? */
2983 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2984 if (!tc) return SWIG_ERROR;
2985 }
2986 }
2987 return SWIG_OK;
2988}
2989
2990/* -----------------------------------------------------------------------------
2991 * Create a new pointer object
2992 * ----------------------------------------------------------------------------- */
2993
2994/*
2995 Create a new instance object, without calling __init__, and set the
2996 'this' attribute.
2997*/
2998
2999SWIGRUNTIME PyObject*
3001{
3002 PyObject *inst = 0;
3003 PyObject *newraw = data->newraw;
3004 if (newraw) {
3005 inst = PyObject_Call(newraw, data->newargs, NULL);
3006 if (inst) {
3007#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
3008 PyObject **dictptr = _PyObject_GetDictPtr(inst);
3009 if (dictptr != NULL) {
3010 PyObject *dict = *dictptr;
3011 if (dict == NULL) {
3012 dict = PyDict_New();
3013 *dictptr = dict;
3014 }
3015 if (dict) {
3016 PyDict_SetItem(dict, SWIG_This(), swig_this);
3017 } else{
3018 SWIG_Py_DECREF(inst);
3019 inst = 0;
3020 }
3021 }
3022#else
3023 if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) {
3024 SWIG_Py_DECREF(inst);
3025 inst = 0;
3026 }
3027#endif
3028 }
3029 } else {
3030#if PY_VERSION_HEX >= 0x03000000
3031 PyObject *empty_args = PyTuple_New(0);
3032 if (empty_args) {
3033 PyObject *empty_kwargs = PyDict_New();
3034 if (empty_kwargs) {
3035#ifndef Py_LIMITED_API
3036 newfunc newfn = ((PyTypeObject *)data->newargs)->tp_new;
3037#else
3038 newfunc newfn = (newfunc)PyType_GetSlot((PyTypeObject *)data->newargs, Py_tp_new);
3039#endif
3040 inst = newfn((PyTypeObject *)data->newargs, empty_args, empty_kwargs);
3041 SWIG_Py_DECREF(empty_kwargs);
3042 if (inst) {
3043 if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) {
3044 SWIG_Py_DECREF(inst);
3045 inst = 0;
3046 } else {
3047 PyType_Modified(Py_TYPE(inst));
3048 }
3049 }
3050 }
3051 SWIG_Py_DECREF(empty_args);
3052 }
3053#else
3054 PyObject *dict = PyDict_New();
3055 if (dict) {
3056 PyDict_SetItem(dict, SWIG_This(), swig_this);
3057 inst = PyInstance_NewRaw(data->newargs, dict);
3058 SWIG_Py_DECREF(dict);
3059 }
3060#endif
3061 }
3062 return inst;
3063}
3064
3065SWIGRUNTIME int
3066SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
3067{
3068#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
3069 PyObject **dictptr = _PyObject_GetDictPtr(inst);
3070 if (dictptr != NULL) {
3071 PyObject *dict = *dictptr;
3072 if (dict == NULL) {
3073 dict = PyDict_New();
3074 *dictptr = dict;
3075 }
3076 if (dict) {
3077 return PyDict_SetItem(dict, SWIG_This(), swig_this);
3078 } else{
3079 return -1;
3080 }
3081 }
3082#endif
3083 return PyObject_SetAttr(inst, SWIG_This(), swig_this);
3084}
3085
3086
3087SWIGINTERN PyObject *
3089 PyObject *obj[2];
3090 if (!SWIG_Python_UnpackTuple(args, "swiginit", 2, 2, obj)) {
3091 return NULL;
3092 } else {
3093 SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
3094 if (sthis) {
3095 SWIG_Py_DECREF(SwigPyObject_append((PyObject*) sthis, obj[1]));
3096 } else {
3097 if (SWIG_Python_SetSwigThis(obj[0], obj[1]) != 0)
3098 return NULL;
3099 }
3100 return SWIG_Py_Void();
3101 }
3102}
3103
3104/* Create a new pointer object */
3105
3106SWIGRUNTIME PyObject *
3107SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags) {
3108 SwigPyClientData *clientdata;
3109 PyObject * robj;
3110 int own;
3111
3112 if (!ptr)
3113 return SWIG_Py_Void();
3114
3115 clientdata = type ? (SwigPyClientData *)(type->clientdata) : 0;
3116 own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
3117 if (clientdata && clientdata->pytype) {
3118 SwigPyObject *newobj;
3119 if (flags & SWIG_BUILTIN_TP_INIT) {
3120 newobj = (SwigPyObject*) self;
3121 if (newobj->ptr) {
3122#ifndef Py_LIMITED_API
3123 allocfunc alloc = clientdata->pytype->tp_alloc;
3124#else
3125 allocfunc alloc = (allocfunc)PyType_GetSlot(clientdata->pytype, Py_tp_alloc);
3126#endif
3127 PyObject *next_self = alloc(clientdata->pytype, 0);
3128 while (newobj->next)
3129 newobj = (SwigPyObject *) newobj->next;
3130 newobj->next = next_self;
3131 newobj = (SwigPyObject *)next_self;
3132 newobj->swigdict = 0;
3133 newobj->weakreflist = 0;
3134 }
3135 } else {
3136 newobj = PyObject_New(SwigPyObject, clientdata->pytype);
3137 if (newobj) {
3138 newobj->swigdict = 0;
3139 newobj->weakreflist = 0;
3140 }
3141 }
3142 if (newobj) {
3143 newobj->ptr = ptr;
3144 newobj->ty = type;
3145 newobj->own = own;
3146 newobj->next = 0;
3147 return (PyObject*) newobj;
3148 }
3149 return SWIG_Py_Void();
3150 }
3151
3152 assert(!(flags & SWIG_BUILTIN_TP_INIT));
3153
3154 robj = SwigPyObject_New(ptr, type, own);
3155 if (robj && clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
3156 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
3157 SWIG_Py_DECREF(robj);
3158 robj = inst;
3159 }
3160 return robj;
3161}
3162
3163/* Create a new packed object */
3164
3165SWIGRUNTIMEINLINE PyObject *
3166SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
3167 return ptr ? SwigPyPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
3168}
3169
3170/* -----------------------------------------------------------------------------*
3171 * Get type list
3172 * -----------------------------------------------------------------------------*/
3173
3174#ifdef SWIG_LINK_RUNTIME
3175void *SWIG_ReturnGlobalTypeList(void *);
3176#endif
3177
3178static PyObject *Swig_TypeCache_global = NULL;
3179
3180/* The python cached type query */
3181SWIGRUNTIME PyObject *
3183 if (Swig_TypeCache_global == NULL) {
3184 Swig_TypeCache_global = PyDict_New();
3185 }
3186 return Swig_TypeCache_global;
3187}
3188
3191#ifdef SWIG_LINK_RUNTIME
3192 static void *type_pointer = (void *)0;
3193 /* first check if module already created */
3194 if (!type_pointer) {
3195 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
3196 }
3197#else
3198 void *type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0);
3199 if (PyErr_Occurred()) {
3200 PyErr_Clear();
3201 type_pointer = (void *)0;
3202 }
3203#endif
3204 return (swig_module_info *) type_pointer;
3205}
3206
3207
3208#if defined(SWIG_REFCNT_DEBUG)
3209#define SWIG_PYOBJ_REFCNT(OBJ) fprintf(stdout, "" #OBJ " count %ld\n", (OBJ ? Py_REFCNT(OBJ) : 0))
3210#else
3211#define SWIG_PYOBJ_REFCNT(OBJ)
3212#endif
3213
3214static int interpreter_counter = 0; /* how many (sub-)interpreters are using swig_module's types */
3215
3216SWIGRUNTIME void
3218{
3219 swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME);
3220 swig_type_info **types = swig_module->types;
3221 size_t i;
3222 if (--interpreter_counter != 0) /* another sub-interpreter may still be using the swig_module's types */
3223 return;
3224 for (i = 0; i < swig_module->size; ++i) {
3225 swig_type_info *ty = types[i];
3226 if (ty->owndata) {
3228 ty->clientdata = 0;
3229 if (data) SwigPyClientData_Del(data);
3230 }
3231 }
3234 Swig_This_global = NULL;
3235
3238 Swig_Globals_global = NULL;
3239
3242 Swig_TypeCache_global = NULL;
3243
3245 Swig_Capsule_global = NULL;
3246
3250}
3251
3252SWIGRUNTIME void
3254 PyObject *runtime_data_module = SWIG_runtime_data_module();
3255 PyObject *pointer = PyCapsule_New((void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyModule);
3256 if (pointer && runtime_data_module) {
3257 if (PyModule_AddObject(runtime_data_module, SWIGPY_CAPSULE_ATTR_NAME, pointer) == 0) {
3259 Swig_Capsule_global = pointer;
3260 } else {
3261 SWIG_Py_DECREF(pointer);
3262 }
3263 } else {
3264 SWIG_Py_XDECREF(pointer);
3265 }
3266}
3267
3269SWIG_Python_TypeQuery(const char *type)
3270{
3271 swig_type_info *descriptor;
3272 PyObject *cache = SWIG_Python_TypeCache();
3273 PyObject *obj;
3274 SWIG_PyDict_GetItemStringRef(cache, type, &obj);
3275 if (obj) {
3276 descriptor = (swig_type_info *) PyCapsule_GetPointer(obj, NULL);
3277 } else {
3279 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
3280 if (descriptor) {
3281 obj = PyCapsule_New((void*) descriptor, NULL, NULL);
3282 if (obj) PyDict_SetItemString(cache, type, obj);
3283 }
3284 }
3285 SWIG_Py_XDECREF(obj);
3286 return descriptor;
3287}
3288
3289/*
3290 For backward compatibility only
3291*/
3292#define SWIG_POINTER_EXCEPTION 0
3293#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
3294#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
3295
3296SWIGRUNTIME int
3297SWIG_Python_AddErrMesg(const char* mesg, int infront)
3298{
3299 if (PyErr_Occurred()) {
3300 PyObject *type = 0;
3301 PyObject *value = 0;
3302 PyObject *traceback = 0;
3303 PyErr_Fetch(&type, &value, &traceback);
3304 if (value) {
3305 PyObject *old_str = PyObject_Str(value);
3306 PyObject *bytes = NULL;
3307 const char *tmp = SWIG_PyUnicode_AsUTF8AndSize(old_str, NULL, &bytes);
3308 const char *errmesg = tmp ? tmp : "Invalid error message";
3309 SWIG_Py_XINCREF(type);
3310 PyErr_Clear();
3311 if (infront) {
3312 PyErr_Format(type, "%s %s", mesg, errmesg);
3313 } else {
3314 PyErr_Format(type, "%s %s", errmesg, mesg);
3315 }
3316 SWIG_Py_XDECREF(bytes);
3317 SWIG_Py_DECREF(old_str);
3318 }
3319 return 1;
3320 } else {
3321 return 0;
3322 }
3323}
3324
3325SWIGRUNTIME int
3327{
3328 if (PyErr_Occurred()) {
3329 /* add information about failing argument */
3330 char mesg[256];
3331 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
3332 return SWIG_Python_AddErrMesg(mesg, 1);
3333 } else {
3334 return 0;
3335 }
3336}
3337
3338SWIGRUNTIMEINLINE const char *
3340{
3341 SwigPyObject *v = (SwigPyObject *)self;
3342 swig_type_info *ty = v ? v->ty : 0;
3343 return ty ? ty->str : "";
3344}
3345
3346/* Convert a pointer value, signal an exception on a type mismatch */
3347SWIGRUNTIME void *
3348SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags) {
3349 void *result;
3350 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
3351 PyErr_Clear();
3352 }
3353 return result;
3354}
3355
3356#ifdef SWIGPYTHON_BUILTIN
3357SWIGRUNTIME int
3358SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) {
3359 PyTypeObject *tp = Py_TYPE(obj);
3360 PyObject *descr;
3361 PyObject *encoded_name;
3362 descrsetfunc f;
3363 int res = -1;
3364
3365# ifdef Py_USING_UNICODE
3366 if (PyString_Check(name)) {
3367 name = PyUnicode_Decode(PyString_AsString(name), PyString_Size(name), NULL, NULL);
3368 if (!name)
3369 return -1;
3370 } else if (!PyUnicode_Check(name))
3371# else
3372 if (!PyString_Check(name))
3373# endif
3374 {
3375#if PY_VERSION_HEX >= 0x03000000
3376 PyObject *tpname = SWIG_PyType_GetFullyQualifiedName(Py_TYPE(name));
3377 PyErr_Format(PyExc_TypeError, "attribute name must be string, not '%S'", tpname);
3378 SWIG_Py_DECREF(tpname);
3379#else
3380 PyErr_Format(PyExc_TypeError, "attribute name must be string, not '%s'", Py_TYPE(name)->tp_name);
3381#endif
3382 return -1;
3383 } else {
3385 }
3386
3387 if (!tp->tp_dict) {
3388 if (PyType_Ready(tp) != 0)
3389 goto done;
3390 }
3391
3392 descr = _PyType_Lookup(tp, name);
3393 f = NULL;
3394 if (descr != NULL)
3395 f = Py_TYPE(descr)->tp_descr_set;
3396 if (!f) {
3397 if (PyString_Check(name)) {
3398 encoded_name = name;
3400 } else {
3401 encoded_name = PyUnicode_AsUTF8String(name);
3402 if (!encoded_name)
3403 goto done;
3404 }
3405#if PY_VERSION_HEX >= 0x03000000
3406 {
3407 PyObject *tpname = SWIG_PyType_GetFullyQualifiedName(tp);
3408 PyErr_Format(PyExc_AttributeError, "'%S' object has no attribute '%s'", tpname, PyString_AsString(encoded_name));
3409 SWIG_Py_DECREF(tpname);
3410 }
3411#else
3412 PyErr_Format(PyExc_AttributeError, "'%s' object has no attribute '%s'", tp->tp_name, PyString_AsString(encoded_name));
3413#endif
3414 SWIG_Py_DECREF(encoded_name);
3415 } else {
3416 res = f(descr, obj, value);
3417 }
3418
3419 done:
3421 return res;
3422}
3423#endif
3424
3425
3426#ifdef __cplusplus
3427}
3428#endif
3429
3430
3431
3432#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
3433
3434#define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0)
3435
3436
3437
3438/* -------- TYPES TABLE (BEGIN) -------- */
3439
3440#define SWIGTYPE_p_PLGraphicsIn swig_types[0]
3441#define SWIGTYPE_p_PLcGrid swig_types[1]
3442#define SWIGTYPE_p_PLcGrid2 swig_types[2]
3443#define SWIGTYPE_p_char swig_types[3]
3444#define SWIGTYPE_p_double swig_types[4]
3445#define SWIGTYPE_p_f_double_double__int swig_types[5]
3446#define SWIGTYPE_p_f_double_double_p_double_p_double_p_void__void swig_types[6]
3447#define SWIGTYPE_p_f_int_double_p_char_int_p_void__void swig_types[7]
3448#define SWIGTYPE_p_f_int_p_double_p_double__void swig_types[8]
3449#define SWIGTYPE_p_f_int_p_q_const__double_p_q_const__double__void swig_types[9]
3450#define SWIGTYPE_p_int swig_types[10]
3451#define SWIGTYPE_p_p_char swig_types[11]
3452#define SWIGTYPE_p_p_double swig_types[12]
3453#define SWIGTYPE_p_unsigned_int swig_types[13]
3455static swig_module_info swig_module = {swig_types, 14, 0, 0, 0, 0};
3456#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
3457#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
3458
3459/* -------- TYPES TABLE (END) -------- */
3460
3461#ifdef SWIG_TypeQuery
3462# undef SWIG_TypeQuery
3463#endif
3464#define SWIG_TypeQuery SWIG_Python_TypeQuery
3465
3466/*-----------------------------------------------
3467 @(target):= _plplotc.so
3468 ------------------------------------------------*/
3469#if PY_VERSION_HEX >= 0x03000000
3470# define SWIG_init PyInit__plplotc
3471
3472#else
3473# define SWIG_init init_plplotc
3474
3475#endif
3476
3477#define SWIG_as_voidptr(a) (void *)((const void *)(a))
3478#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
3479
3480
3481#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
3482#include <arrayobject.h>
3483#include "plplot.h"
3484#include "plplotP.h"
3485
3486#define NPY_PLINT NPY_INT32
3487
3488#ifdef PL_DOUBLE
3489#define NPY_PLFLT NPY_FLOAT64
3490#else
3491#define NPY_PLFLT NPY_FLOAT32
3492#endif
3493
3494// python-1.5 compatibility mode?
3495#if !defined ( PySequence_Fast_GET_ITEM )
3496 #define PySequence_Fast_GET_ITEM PySequence_GetItem
3497#endif
3498#define PySequence_Size PySequence_Length
3499
3500
3501 static PLINT Alen = 0;
3502 static PLINT Xlen = 0, Ylen = 0;
3503
3504
3505SWIGINTERN int
3506SWIG_AsVal_double (PyObject *obj, double *val)
3507{
3508 int res = SWIG_TypeError;
3509 if (PyFloat_Check(obj)) {
3510 if (val) *val = PyFloat_AsDouble(obj);
3511 return SWIG_OK;
3512#if PY_VERSION_HEX < 0x03000000
3513 } else if (PyInt_Check(obj)) {
3514 if (val) *val = (double) PyInt_AsLong(obj);
3515 return SWIG_OK;
3516#endif
3517 } else if (PyLong_Check(obj)) {
3518 double v = PyLong_AsDouble(obj);
3519 if (!PyErr_Occurred()) {
3520 if (val) *val = v;
3521 return SWIG_OK;
3522 } else {
3523 PyErr_Clear();
3524 }
3525 }
3526#ifdef SWIG_PYTHON_CAST_MODE
3527 {
3528 int dispatch = 0;
3529 double d = PyFloat_AsDouble(obj);
3530 if (!PyErr_Occurred()) {
3531 if (val) *val = d;
3532 return SWIG_AddCast(SWIG_OK);
3533 } else {
3534 PyErr_Clear();
3535 }
3536 if (!dispatch) {
3537 long v = PyLong_AsLong(obj);
3538 if (!PyErr_Occurred()) {
3539 if (val) *val = v;
3541 } else {
3542 PyErr_Clear();
3543 }
3544 }
3545 }
3546#endif
3547 return res;
3548}
3549
3550
3551 #define SWIG_From_double PyFloat_FromDouble
3552
3553
3554 typedef PLINT ( *defined_func )( PLFLT, PLFLT );
3555 typedef void ( *fill_func )( PLINT, const PLFLT*, const PLFLT* );
3556 typedef void ( *pltr_func )( PLFLT, PLFLT, PLFLT *, PLFLT*, PLPointer );
3557 typedef void ( *ct_func )( PLFLT, PLFLT, PLFLT *, PLFLT*, PLPointer );
3558 typedef void ( *mapform_func )( PLINT, PLFLT *, PLFLT* );
3560 typedef void ( *label_func )( PLINT, PLFLT, char *, PLINT, PLPointer );
3561
3562
3563SWIGINTERNINLINE PyObject*
3565{
3566 return PyInt_FromLong((long) value);
3567}
3568
3569
3570#include <limits.h>
3571#if !defined(SWIG_NO_LLONG_MAX)
3572# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
3573# define LLONG_MAX __LONG_LONG_MAX__
3574# define LLONG_MIN (-LLONG_MAX - 1LL)
3575# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
3576# endif
3577#endif
3578
3579
3580#include <errno.h>
3581
3582
3583#include <float.h>
3584
3585
3586#include <math.h>
3587
3588
3590SWIG_CanCastAsInteger(double *d, double min, double max) {
3591 double x = *d;
3592 if ((min <= x && x <= max)) {
3593 double fx, cx, rd;
3594 errno = 0;
3595 fx = floor(x);
3596 cx = ceil(x);
3597 rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */
3598 if ((errno == EDOM) || (errno == ERANGE)) {
3599 errno = 0;
3600 } else {
3601 double summ, reps, diff;
3602 if (rd < x) {
3603 diff = x - rd;
3604 } else if (rd > x) {
3605 diff = rd - x;
3606 } else {
3607 return 1;
3608 }
3609 summ = rd + x;
3610 reps = diff/summ;
3611 if (reps < 8*DBL_EPSILON) {
3612 *d = rd;
3613 return 1;
3614 }
3615 }
3616 }
3617 return 0;
3618}
3619
3620
3621SWIGINTERN int
3622SWIG_AsVal_long (PyObject *obj, long* val)
3623{
3624#if PY_VERSION_HEX < 0x03000000
3625 if (PyInt_Check(obj)) {
3626 if (val) *val = PyInt_AsLong(obj);
3627 return SWIG_OK;
3628 } else
3629#endif
3630 if (PyLong_Check(obj)) {
3631 long v = PyLong_AsLong(obj);
3632 if (!PyErr_Occurred()) {
3633 if (val) *val = v;
3634 return SWIG_OK;
3635 } else {
3636 PyErr_Clear();
3637 return SWIG_OverflowError;
3638 }
3639 }
3640#ifdef SWIG_PYTHON_CAST_MODE
3641 {
3642 int dispatch = 0;
3643 long v = PyInt_AsLong(obj);
3644 if (!PyErr_Occurred()) {
3645 if (val) *val = v;
3646 return SWIG_AddCast(SWIG_OK);
3647 } else {
3648 PyErr_Clear();
3649 }
3650 if (!dispatch) {
3651 double d;
3652 int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
3653 // Largest double not larger than LONG_MAX (not portably calculated easily)
3654 // Note that double(LONG_MAX) is stored in a double rounded up by one (for 64-bit long)
3655 // 0x7ffffffffffffc00LL == (int64_t)std::nextafter(double(__uint128_t(LONG_MAX)+1), double(0))
3656 const double long_max = sizeof(long) == 8 ? 0x7ffffffffffffc00LL : LONG_MAX;
3657 // No equivalent needed for 64-bit double(LONG_MIN) is exactly LONG_MIN
3658 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, long_max)) {
3659 if (val) *val = (long)(d);
3660 return res;
3661 }
3662 }
3663 }
3664#endif
3665 return SWIG_TypeError;
3666}
3667
3668
3669SWIGINTERN int
3670SWIG_AsVal_int (PyObject * obj, int *val)
3671{
3672 long v;
3673 int res = SWIG_AsVal_long (obj, &v);
3674 if (SWIG_IsOK(res)) {
3675 if ((v < INT_MIN || v > INT_MAX)) {
3676 return SWIG_OverflowError;
3677 } else {
3678 if (val) *val = (int)(v);
3679 }
3680 }
3681 return res;
3682}
3683
3684
3685SWIGINTERN int
3686SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val)
3687{
3688#if PY_VERSION_HEX < 0x03000000
3689 if (PyInt_Check(obj)) {
3690 long v = PyInt_AsLong(obj);
3691 if (v >= 0) {
3692 if (val) *val = v;
3693 return SWIG_OK;
3694 } else {
3695 return SWIG_OverflowError;
3696 }
3697 } else
3698#endif
3699 if (PyLong_Check(obj)) {
3700 unsigned long v = PyLong_AsUnsignedLong(obj);
3701 if (!PyErr_Occurred()) {
3702 if (val) *val = v;
3703 return SWIG_OK;
3704 } else {
3705 PyErr_Clear();
3706 return SWIG_OverflowError;
3707 }
3708 }
3709#ifdef SWIG_PYTHON_CAST_MODE
3710 {
3711 int dispatch = 0;
3712 unsigned long v = PyLong_AsUnsignedLong(obj);
3713 if (!PyErr_Occurred()) {
3714 if (val) *val = v;
3715 return SWIG_AddCast(SWIG_OK);
3716 } else {
3717 PyErr_Clear();
3718 }
3719 if (!dispatch) {
3720 double d;
3721 int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
3722 // Largest double not larger than ULONG_MAX (not portably calculated easily)
3723 // Note that double(ULONG_MAX) is stored in a double rounded up by one (for 64-bit unsigned long)
3724 // 0xfffffffffffff800ULL == (uint64_t)std::nextafter(double(__uint128_t(ULONG_MAX)+1), double(0))
3725 const double ulong_max = sizeof(unsigned long) == 8 ? 0xfffffffffffff800ULL : ULONG_MAX;
3726 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ulong_max)) {
3727 if (val) *val = (unsigned long)(d);
3728 return res;
3729 }
3730 }
3731 }
3732#endif
3733 return SWIG_TypeError;
3734}
3735
3736
3737SWIGINTERN int
3738SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
3739{
3740 unsigned long v;
3741 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3742 if (SWIG_IsOK(res)) {
3743 if ((v > UINT_MAX)) {
3744 return SWIG_OverflowError;
3745 } else {
3746 if (val) *val = (unsigned int)(v);
3747 }
3748 }
3749 return res;
3750}
3751
3752
3753SWIGINTERNINLINE PyObject*
3755{
3756 return PyInt_FromSize_t((size_t) value);
3757}
3758
3759
3762{
3763 static swig_type_info* info = 0;
3764 if (!info) {
3765 info = SWIG_TypeQuery("_p_char");
3766 }
3767 return info;
3768}
3769
3770
3771/* Return string from Python obj. NOTE: obj must remain in scope in order
3772 to use the returned cptr (but only when alloc is set to SWIG_OLDOBJ) */
3773SWIGINTERN int
3774SWIG_AsCharPtrAndSize(PyObject *obj, char **cptr, size_t *psize, int *alloc)
3775{
3776#if PY_VERSION_HEX >= 0x03000000
3777#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3778 if (PyBytes_Check(obj))
3779#else
3780 if (PyUnicode_Check(obj))
3781#endif
3782#else
3783 if (PyString_Check(obj))
3784#endif
3785 {
3786 char *cstr; Py_ssize_t len;
3787 PyObject *bytes = NULL;
3788 int ret = SWIG_OK;
3789 if (alloc)
3790 *alloc = SWIG_OLDOBJ;
3791#if PY_VERSION_HEX >= 0x03000000 && defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3792 if (PyBytes_AsStringAndSize(obj, &cstr, &len) == -1)
3793 return SWIG_TypeError;
3794#else
3795 cstr = (char *)SWIG_PyUnicode_AsUTF8AndSize(obj, &len, &bytes);
3796 if (!cstr)
3797 return SWIG_TypeError;
3798 /* The returned string is only duplicated if the char * returned is not owned and memory managed by obj */
3799 if (bytes && cptr) {
3800 if (alloc) {
3801 cstr = (char *)memcpy(malloc((len + 1)*sizeof(char)), cstr, sizeof(char)*(len + 1));
3802 *alloc = SWIG_NEWOBJ;
3803 } else {
3804 /* alloc must be set in order to clean up allocated memory */
3805 return SWIG_RuntimeError;
3806 }
3807 }
3808#endif
3809 if (cptr) *cptr = cstr;
3810 if (psize) *psize = len + 1;
3811 SWIG_Py_XDECREF(bytes);
3812 return ret;
3813 } else {
3814#if defined(SWIG_PYTHON_2_UNICODE)
3815#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3816#error "Cannot use both SWIG_PYTHON_2_UNICODE and SWIG_PYTHON_STRICT_BYTE_CHAR at once"
3817#endif
3818#if PY_VERSION_HEX < 0x03000000
3819 if (PyUnicode_Check(obj)) {
3820 char *cstr; Py_ssize_t len;
3821 if (!alloc && cptr) {
3822 return SWIG_RuntimeError;
3823 }
3824 obj = PyUnicode_AsUTF8String(obj);
3825 if (!obj)
3826 return SWIG_TypeError;
3827 if (PyString_AsStringAndSize(obj, &cstr, &len) != -1) {
3828 if (cptr) {
3829 if (alloc) *alloc = SWIG_NEWOBJ;
3830 *cptr = (char *)memcpy(malloc((len + 1)*sizeof(char)), cstr, sizeof(char)*(len + 1));
3831 }
3832 if (psize) *psize = len + 1;
3833
3834 SWIG_Py_XDECREF(obj);
3835 return SWIG_OK;
3836 } else {
3837 SWIG_Py_XDECREF(obj);
3838 }
3839 }
3840#endif
3841#endif
3842
3843 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
3844 if (pchar_descriptor) {
3845 void* vptr = 0;
3846 if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
3847 if (cptr) *cptr = (char *) vptr;
3848 if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
3849 if (alloc) *alloc = SWIG_OLDOBJ;
3850 return SWIG_OK;
3851 }
3852 }
3853 }
3854 return SWIG_TypeError;
3855}
3856
3857
3858SWIGINTERN int
3859SWIG_AsCharArray(PyObject * obj, char *val, size_t size)
3860{
3861 char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
3862 int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
3863 if (SWIG_IsOK(res)) {
3864 /* special case of single char conversion when we don't need space for NUL */
3865 if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
3866 if (csize <= size) {
3867 if (val) {
3868 if (csize) memcpy(val, cptr, csize*sizeof(char));
3869 if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
3870 }
3871 if (alloc == SWIG_NEWOBJ) {
3872 free((char*)cptr);
3873 res = SWIG_DelNewMask(res);
3874 }
3875 return res;
3876 }
3877 if (alloc == SWIG_NEWOBJ) free((char*)cptr);
3878 }
3879 return SWIG_TypeError;
3880}
3881
3882
3883SWIGINTERNINLINE PyObject *
3884SWIG_FromCharPtrAndSize(const char* carray, size_t size)
3885{
3886 if (carray) {
3887 if (size > (size_t)PY_SSIZE_T_MAX) {
3888 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
3889 return pchar_descriptor ?
3890 SWIG_InternalNewPointerObj((char *)(carray), pchar_descriptor, 0) : SWIG_Py_Void();
3891 } else {
3892#if PY_VERSION_HEX >= 0x03000000
3893#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3894 return PyBytes_FromStringAndSize(carray, (Py_ssize_t)(size));
3895#else
3896 return PyUnicode_DecodeUTF8(carray, (Py_ssize_t)(size), "surrogateescape");
3897#endif
3898#else
3899 return PyString_FromStringAndSize(carray, (Py_ssize_t)(size));
3900#endif
3901 }
3902 } else {
3903 return SWIG_Py_Void();
3904 }
3905}
3906
3907
3908SWIGINTERN size_t
3909SWIG_strnlen(const char* s, size_t maxlen)
3910{
3911 const char *p;
3912 for (p = s; maxlen-- && *p; p++)
3913 ;
3914 return p - s;
3915}
3916
3917
3918
3919
3920
3921SWIGINTERN int
3922SWIG_AsVal_char (PyObject * obj, char *val)
3923{
3924 int res = SWIG_AsCharArray(obj, val, 1);
3925 if (!SWIG_IsOK(res)) {
3926 long v;
3927 res = SWIG_AddCast(SWIG_AsVal_long (obj, &v));
3928 if (SWIG_IsOK(res)) {
3929 if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
3930 if (val) *val = (char)(v);
3931 } else {
3932 res = SWIG_OverflowError;
3933 }
3934 }
3935 }
3936 return res;
3937}
3938
3939
3940#if !defined(SWIG_NO_PYTHON_OLD_BUFFER_PROTOCOL)
3941#if defined(Py_LIMITED_API) && Py_LIMITED_API<0x030b0000
3942#if !defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL)
3943#define SWIG_PYTHON_OLD_BUFFER_PROTOCOL
3944#endif
3945#endif
3946#endif
3947
3948#if defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL) && PY_VERSION_HEX >= 0x030d0000
3949#if defined(Py_LIMITED_API) && Py_LIMITED_API<0x030b0000
3950#error "The old Buffer Protocol was removed in python-3.13, including from the Stable ABI. Note that the new Buffer Protocol must be used from python-3.13, however, it is only available in the Stable ABI from python-3.11, so Py_LIMITED_API must be >= 0x030b0000 for python-3.13 and later."
3951#endif
3952#endif
3953
3954#ifdef __cplusplus
3955extern "C" {
3956#endif
3957
3958 PyArrayObject* myIntArray_ContiguousFromObject( PyObject* in, int type, int mindims, int maxdims );
3959
3960// some really twisted stuff to allow calling a single precision library from python
3961 PyArrayObject* myIntArray_ContiguousFromObject( PyObject* in, int PL_UNUSED( type ), int mindims, int maxdims )
3962 {
3963 PyArrayObject* tmp = (PyArrayObject *) PyArray_ContiguousFromObject( in, NPY_PLINT,
3964 mindims, maxdims );
3965 if ( !tmp )
3966 {
3967 // could be an incoming long array which can't be "safely" converted, do it anyway
3968 if ( PyArray_Check( in ) )
3969 {
3970 PyErr_Clear();
3971 tmp = (PyArrayObject *) PyArray_Cast( (PyArrayObject *) in, NPY_PLINT );
3972 }
3973 }
3974 return tmp;
3975 }
3976
3977
3978#define myArray_ContiguousFromObject PyArray_ContiguousFromObject
3979
3980SWIGINTERN PyObject *_wrap_pltr0(PyObject *self, PyObject *args) {
3981 PyObject *resultobj = 0;
3982 PLFLT arg1 ;
3983 PLFLT arg2 ;
3984 PLFLT *arg3 = 0 ;
3985 PLFLT *arg4 = 0 ;
3986 PLPointer arg5 = 0 ;
3987 double val1 ;
3988 int ecode1 = 0 ;
3989 double val2 ;
3990 int ecode2 = 0 ;
3991 PLFLT temp3 ;
3992 int res3 = SWIG_TMPOBJ ;
3993 PLFLT temp4 ;
3994 int res4 = SWIG_TMPOBJ ;
3995 PyObject *swig_obj[2] ;
3996
3997 arg3 = &temp3;
3998 arg4 = &temp4;
3999 {
4000 arg5 = NULL;
4001 }
4002 (void)self;
4003 if (!SWIG_Python_UnpackTuple(args, "pltr0", 2, 2, swig_obj)) SWIG_fail;
4004 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
4005 if (!SWIG_IsOK(ecode1)) {
4006 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pltr0" "', argument " "1"" of type '" "PLFLT""'");
4007 }
4008 arg1 = (PLFLT)(val1);
4009 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
4010 if (!SWIG_IsOK(ecode2)) {
4011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pltr0" "', argument " "2"" of type '" "PLFLT""'");
4012 }
4013 arg2 = (PLFLT)(val2);
4014 pltr0(arg1,arg2,arg3,arg4,arg5);
4015 resultobj = SWIG_Py_Void();
4016 if (SWIG_IsTmpObj(res3)) {
4017 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
4018 } else {
4019 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4020 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
4021 }
4022 if (SWIG_IsTmpObj(res4)) {
4023 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
4024 } else {
4025 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4026 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
4027 }
4028 return resultobj;
4029fail:
4030 return NULL;
4031}
4032
4033
4034
4035 PyArrayObject *pltr_xg, *pltr_yg;
4038
4039 PLcGrid* marshal_PLcGrid1( PyObject* input, int isimg );
4040 void cleanup_PLcGrid1( void );
4041 PLcGrid2* marshal_PLcGrid2( PyObject* input, int isimg );
4042 void cleanup_PLcGrid2( void );
4043
4044 PLcGrid* marshal_PLcGrid1( PyObject* input, int isimg )
4045 {
4046 // fprintf(stderr, "marshal PLcGrid1\n");
4047 if ( !PySequence_Check( input ) || PySequence_Size( input ) != 2 )
4048 {
4049 PyErr_SetString( PyExc_ValueError, "Expected a sequence of two arrays." );
4050 return NULL;
4051 }
4052 pltr_xg = (PyArrayObject *) myArray_ContiguousFromObject( PySequence_Fast_GET_ITEM( input, 0 ),
4053 NPY_PLFLT, 1, 1 );
4054 pltr_yg = (PyArrayObject *) myArray_ContiguousFromObject( PySequence_Fast_GET_ITEM( input, 1 ),
4055 NPY_PLFLT, 1, 1 );
4056 if ( pltr_xg == 0 || pltr_yg == 0 )
4057 {
4058 PyErr_SetString( PyExc_ValueError, "Expected a sequence to two 1D arrays." );
4059 return NULL;
4060 }
4061 tmpGrid1.nx = (PLINT) PyArray_DIMS( pltr_xg )[0];
4062 tmpGrid1.ny = (PLINT) PyArray_DIMS( pltr_yg )[0];
4063 if ( isimg == 0 )
4064 {
4065 if ( Xlen != tmpGrid1.nx || Ylen != tmpGrid1.ny )
4066 {
4067 PyErr_SetString( PyExc_ValueError, "pltr arguments must have X and Y dimensions of first arg." );
4068 return NULL;
4069 }
4070 }
4071 else
4072 {
4073 if ( Xlen != tmpGrid1.nx - 1 || Ylen != tmpGrid1.ny - 1 )
4074 {
4075 PyErr_SetString( PyExc_ValueError, "pltr arguments must have X and Y dimensions of first arg + 1." );
4076 return NULL;
4077 }
4078 }
4079 tmpGrid1.xg = (PLFLT *) PyArray_DATA( pltr_xg );
4080 tmpGrid1.yg = (PLFLT *) PyArray_DATA( pltr_yg );
4081 return &tmpGrid1;
4082 }
4083
4084 void cleanup_PLcGrid1( void )
4085 {
4086 // fprintf(stderr, "cleanup PLcGrid1\n");
4087 Py_CLEAR( pltr_xg );
4088 Py_CLEAR( pltr_yg );
4089 }
4090
4091 PLcGrid2* marshal_PLcGrid2( PyObject* input, int isimg )
4092 {
4093 int i, size;
4094 // fprintf(stderr, "marshal PLcGrid2\n");
4095 if ( !PySequence_Check( input ) || PySequence_Size( input ) != 2 )
4096 {
4097 PyErr_SetString( PyExc_ValueError, "Expected a sequence of two arrays." );
4098 return NULL;
4099 }
4100 pltr_xg = (PyArrayObject *) myArray_ContiguousFromObject( PySequence_Fast_GET_ITEM( input, 0 ),
4101 NPY_PLFLT, 2, 2 );
4102 pltr_yg = (PyArrayObject *) myArray_ContiguousFromObject( PySequence_Fast_GET_ITEM( input, 1 ),
4103 NPY_PLFLT, 2, 2 );
4104 if ( pltr_xg == 0 || pltr_yg == 0 )
4105 {
4106 PyErr_SetString( PyExc_ValueError, "Expected a sequence of two 2D arrays." );
4107 return NULL;
4108 }
4109 if ( PyArray_DIMS( pltr_xg )[0] != PyArray_DIMS( pltr_yg )[0] ||
4110 PyArray_DIMS( pltr_xg )[1] != PyArray_DIMS( pltr_yg )[1] )
4111 {
4112 PyErr_SetString( PyExc_ValueError, "Arrays must be same size." );
4113 return NULL;
4114 }
4115 tmpGrid2.nx = (PLINT) PyArray_DIMS( pltr_xg )[0];
4116 tmpGrid2.ny = (PLINT) PyArray_DIMS( pltr_xg )[1];
4117 if ( isimg == 0 )
4118 {
4119 if ( Xlen != tmpGrid2.nx || Ylen != tmpGrid2.ny )
4120 {
4121 PyErr_SetString( PyExc_ValueError, "pltr arguments must have X and Y dimensions of first arg." );
4122 return NULL;
4123 }
4124 }
4125 else
4126 {
4127 if ( Xlen != tmpGrid2.nx - 1 || Ylen != tmpGrid2.ny - 1 )
4128 {
4129 PyErr_SetString( PyExc_ValueError, "pltr arguments must have X and Y dimensions of first arg + 1." );
4130 return NULL;
4131 }
4132 }
4133 size = tmpGrid2.ny;
4134 tmpGrid2.xg = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) tmpGrid2.nx );
4135 for ( i = 0; i < tmpGrid2.nx; i++ )
4136 tmpGrid2.xg[i] = ( (PLFLT *) PyArray_DATA( pltr_xg ) + i * size );
4137 tmpGrid2.yg = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) tmpGrid2.nx );
4138 for ( i = 0; i < tmpGrid2.nx; i++ )
4139 tmpGrid2.yg[i] = ( (PLFLT *) PyArray_DATA( pltr_yg ) + i * size );
4140 return &tmpGrid2;
4141 }
4142
4143 void cleanup_PLcGrid2( void )
4144 {
4145 // fprintf(stderr, "cleanup PLcGrid2\n");
4146 free( tmpGrid2.xg );
4147 free( tmpGrid2.yg );
4148 Py_CLEAR( pltr_xg );
4149 Py_CLEAR( pltr_yg );
4150 }
4151
4152SWIGINTERN PyObject *_wrap_pltr1(PyObject *self, PyObject *args) {
4153 PyObject *resultobj = 0;
4154 PLFLT arg1 ;
4155 PLFLT arg2 ;
4156 PLFLT *arg3 = 0 ;
4157 PLFLT *arg4 = 0 ;
4158 PLcGrid *arg5 = 0 ;
4159 double val1 ;
4160 int ecode1 = 0 ;
4161 double val2 ;
4162 int ecode2 = 0 ;
4163 PLFLT temp3 ;
4164 int res3 = SWIG_TMPOBJ ;
4165 PLFLT temp4 ;
4166 int res4 = SWIG_TMPOBJ ;
4167 PyObject *swig_obj[3] ;
4168
4169 arg3 = &temp3;
4170 arg4 = &temp4;
4171 (void)self;
4172 if (!SWIG_Python_UnpackTuple(args, "pltr1", 3, 3, swig_obj)) SWIG_fail;
4173 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
4174 if (!SWIG_IsOK(ecode1)) {
4175 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pltr1" "', argument " "1"" of type '" "PLFLT""'");
4176 }
4177 arg1 = (PLFLT)(val1);
4178 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
4179 if (!SWIG_IsOK(ecode2)) {
4180 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pltr1" "', argument " "2"" of type '" "PLFLT""'");
4181 }
4182 arg2 = (PLFLT)(val2);
4183 {
4184 arg5 = marshal_PLcGrid1( swig_obj[2], 0 );
4185 if ( !arg5 )
4186 return NULL;
4187 }
4188 pltr1(arg1,arg2,arg3,arg4,arg5);
4189 resultobj = SWIG_Py_Void();
4190 if (SWIG_IsTmpObj(res3)) {
4191 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
4192 } else {
4193 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4194 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
4195 }
4196 if (SWIG_IsTmpObj(res4)) {
4197 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
4198 } else {
4199 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4200 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
4201 }
4202 {
4204 }
4205 return resultobj;
4206fail:
4207 {
4209 }
4210 return NULL;
4211}
4212
4213
4214SWIGINTERN PyObject *_wrap_pltr2(PyObject *self, PyObject *args) {
4215 PyObject *resultobj = 0;
4216 PLFLT arg1 ;
4217 PLFLT arg2 ;
4218 PLFLT *arg3 = 0 ;
4219 PLFLT *arg4 = 0 ;
4220 PLcGrid2 *arg5 = 0 ;
4221 double val1 ;
4222 int ecode1 = 0 ;
4223 double val2 ;
4224 int ecode2 = 0 ;
4225 PLFLT temp3 ;
4226 int res3 = SWIG_TMPOBJ ;
4227 PLFLT temp4 ;
4228 int res4 = SWIG_TMPOBJ ;
4229 PyObject *swig_obj[3] ;
4230
4231 arg3 = &temp3;
4232 arg4 = &temp4;
4233 (void)self;
4234 if (!SWIG_Python_UnpackTuple(args, "pltr2", 3, 3, swig_obj)) SWIG_fail;
4235 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
4236 if (!SWIG_IsOK(ecode1)) {
4237 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pltr2" "', argument " "1"" of type '" "PLFLT""'");
4238 }
4239 arg1 = (PLFLT)(val1);
4240 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
4241 if (!SWIG_IsOK(ecode2)) {
4242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pltr2" "', argument " "2"" of type '" "PLFLT""'");
4243 }
4244 arg2 = (PLFLT)(val2);
4245 {
4246 arg5 = marshal_PLcGrid2( swig_obj[2], 0 );
4247 if ( !arg5 )
4248 return NULL;
4249 }
4250 pltr2(arg1,arg2,arg3,arg4,arg5);
4251 resultobj = SWIG_Py_Void();
4252 if (SWIG_IsTmpObj(res3)) {
4253 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
4254 } else {
4255 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4256 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
4257 }
4258 if (SWIG_IsTmpObj(res4)) {
4259 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
4260 } else {
4261 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4262 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
4263 }
4264 {
4266 }
4267 return resultobj;
4268fail:
4269 {
4271 }
4272 return NULL;
4273}
4274
4275
4276
4277 // helper code for handling the callback
4278#if 0
4279 static PyInterpreterState *save_interp = NULL;
4280#endif
4282 PyObject* python_pltr = NULL;
4283 PyObject* python_f2eval = NULL;
4284 PyObject* python_ct = NULL;
4285 PyObject* python_mapform = NULL;
4286 PyObject* python_label = NULL;
4287
4288#if 0
4289#define MY_BLOCK_THREADS { \
4290 PyThreadState *prev_state, *new_state; \
4291 /* need to have started a thread at some stage */ \
4292 /* for the following to work */ \
4293 PyEval_AcquireLock(); \
4294 new_state = PyThreadState_New( save_interp ); \
4295 prev_state = PyThreadState_Swap( new_state );
4296#define MY_UNBLOCK_THREADS \
4297 new_state = PyThreadState_Swap( prev_state ); \
4298 PyThreadState_Clear( new_state ); \
4299 PyEval_ReleaseLock(); \
4300 PyThreadState_Delete( new_state ); \
4301 }
4302#else
4303#define MY_BLOCK_THREADS
4304#define MY_UNBLOCK_THREADS
4305#endif
4306
4307// Function prototypes
4308 void do_pltr_callback( PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer data );
4310 void do_label_callback( PLINT axis, PLFLT value, char *string, PLINT len, PLPointer data );
4311 void do_ct_callback( PLFLT x, PLFLT y, PLFLT *xt, PLFLT *yt, PLPointer data );
4312 void do_mapform_callback( PLINT n, PLFLT *x, PLFLT *y );
4313 pltr_func marshal_pltr( PyObject* input );
4314 void cleanup_pltr( void );
4315 ct_func marshal_ct( PyObject* input );
4316 void cleanup_ct( void );
4317 mapform_func marshal_mapform( PyObject* input );
4318 void cleanup_mapform( void );
4319 PLPointer marshal_PLPointer( PyObject* input, int isimg );
4320 void cleanup_PLPointer( void );
4321
4322
4323// This is the callback that gets handed to the C code. It, in turn, calls the Python callback
4324
4325 void do_pltr_callback( PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer data )
4326 {
4327 PyObject *pdata, *arglist, *result;
4328 PyArrayObject *tmp;
4329
4330 // the data argument is acutally a pointer to a python object
4331 pdata = (PyObject *) data;
4332 if ( data == NULL )
4333 {
4334 pdata = Py_None;
4335 }
4336 if ( python_pltr ) // if not something is terribly wrong
4337 { // hold a reference to the data object
4338 Py_XINCREF( pdata );
4339 // grab the Global Interpreter Lock to be sure threads don't mess us up
4341 // build the argument list
4342#ifdef PL_DOUBLE
4343 arglist = Py_BuildValue( "(ddO)", x, y, pdata );
4344#else
4345 arglist = Py_BuildValue( "(ffO)", x, y, pdata );
4346#endif
4347 if ( arglist == NULL )
4348 {
4349 fprintf( stderr, "Py_BuildValue failed to make argument list.\n" );
4350 *tx = *ty = 0;
4351 return;
4352 }
4353 // call the python function
4354 result = PyObject_CallObject( python_pltr, arglist );
4355 // release the argument list
4356 Py_CLEAR( arglist );
4357 // check and unpack the result
4358 if ( result == NULL )
4359 {
4360 fprintf( stderr, "call to python pltr function with 3 arguments failed\n" );
4361 PyErr_SetString( PyExc_RuntimeError, "pltr callback must take 3 arguments." );
4362 *tx = *ty = 0;
4363 }
4364 else
4365 {
4366 tmp = (PyArrayObject *) myArray_ContiguousFromObject( result, NPY_PLFLT, 1, 1 );
4367 if ( tmp == 0 || PyArray_DIMS( tmp )[0] != 2 )
4368 {
4369 fprintf( stderr, "pltr callback must return a 2 element array or sequence\n" );
4370 PyErr_SetString( PyExc_RuntimeError, "pltr callback must return a 2-sequence." );
4371 *tx = *ty = 0;
4372 }
4373 else
4374 {
4375 PLFLT* t = (PLFLT *) PyArray_DATA( tmp );
4376 *tx = t[0];
4377 *ty = t[1];
4378 Py_CLEAR( tmp );
4379 }
4380 }
4381 // release the result
4382 Py_CLEAR( result );
4383 // release the global interpreter lock
4385 }
4386 }
4387
4389 {
4390 PyObject *pdata, *arglist, *result;
4391 PLFLT fresult = 0.0;
4392
4393 // the data argument is acutally a pointer to a python object
4394 pdata = (PyObject *) data;
4395 if ( python_f2eval ) // if not something is terribly wrong
4396 { // hold a reference to the data object
4397 Py_XINCREF( pdata );
4398 // grab the Global Interpreter Lock to be sure threads don't mess us up
4400 // build the argument list
4401 arglist = Py_BuildValue( "(iiO)", x, y, pdata );
4402 // call the python function
4403 result = PyObject_CallObject( python_f2eval, arglist );
4404 // release the argument list
4405 Py_CLEAR( arglist );
4406 // check and unpack the result
4407 if ( !PyFloat_Check( result ) )
4408 {
4409 fprintf( stderr, "f2eval callback must return a float\n" );
4410 PyErr_SetString( PyExc_RuntimeError, "f2eval callback must return a float." );
4411 }
4412 else
4413 {
4414 // should I test the type here?
4415 fresult = (PLFLT) PyFloat_AsDouble( result );
4416 }
4417 // release the result
4418 Py_CLEAR( result );
4419 // release the global interpreter lock
4421 }
4422 return fresult;
4423 }
4424
4425 void do_label_callback( PLINT axis, PLFLT value, char *string, PLINT len, PLPointer data )
4426 {
4427 PyObject *pdata, *arglist, *result, *unicode_string;
4428 char *pystring;
4429
4430 // the data argument is acutally a pointer to a python object
4431 if ( data )
4432 pdata = (PyObject *) data;
4433 else
4434 pdata = Py_None;
4435 if ( python_label ) // if not something is terribly wrong
4436 { // hold a reference to the data object
4437 Py_XINCREF( pdata );
4438 // grab the Global Interpreter Lock to be sure threads don't mess us up
4440 // build the argument list
4441#ifdef PL_DOUBLE
4442 arglist = Py_BuildValue( "(ldO)", axis, value, pdata );
4443#else
4444 arglist = Py_BuildValue( "(lfO)", axis, value, pdata );
4445#endif
4446 // call the python function
4447 result = PyObject_CallObject( python_label, arglist );
4448 // release the argument list
4449 //Py_CLEAR(arglist);
4450 // check and unpack the result
4451 if ( result == NULL )
4452 {
4453 fprintf( stderr, "label callback failed with 3 arguments\n" );
4454 PyErr_SetString( PyExc_RuntimeError, "label callback must take 3 arguments." );
4455 }
4456 else if ( PyString_Check( result ) )
4457 {
4458 // should I test the type here?
4459 pystring = PyString_AsString( result );
4460 strncpy( string, pystring, len );
4461 }
4462 else if ( PyUnicode_Check( result ) )
4463 {
4464 // unicode_string is never freed? memory leak here?
4465 unicode_string = PyUnicode_AsEncodedString( result, "utf-8", "Error ~" );
4466 pystring = PyBytes_AS_STRING( unicode_string );
4467 // len may be different then the byte string length w/ unicode?
4468 strncpy( string, pystring, len );
4469 }
4470 else
4471 {
4472 fprintf( stderr, "label callback must return a string\n" );
4473 PyErr_SetString( PyExc_RuntimeError, "label callback must return a string." );
4474 }
4475 // release the result
4476 Py_CLEAR( result );
4477 // release the global interpreter lock
4479 }
4480 }
4481
4482 void do_ct_callback( PLFLT x, PLFLT y, PLFLT *xt, PLFLT *yt, PLPointer data )
4483 {
4484 PyObject *px, *py, *pdata, *arglist, *result;
4485 npy_intp n;
4486 n = 1;
4487
4488 // the data argument is acutally a pointer to a python object
4489 pdata = (PyObject *) data;
4490 if ( data == NULL )
4491 {
4492 pdata = Py_None;
4493 }
4494 if ( python_ct ) // if not something is terribly wrong
4495 { // hold a reference to the data object
4496 Py_XINCREF( pdata );
4497 // grab the Global Interpreter Lock to be sure threads don't mess us up
4499 // build the argument list
4500 px = PyArray_SimpleNewFromData( 1, &n, NPY_PLFLT, (void *) xt );
4501 py = PyArray_SimpleNewFromData( 1, &n, NPY_PLFLT, (void *) yt );
4502 arglist = Py_BuildValue( "(ddOOO)", x, y, px, py, pdata );
4503 // call the python function
4504 result = PyObject_CallObject( python_ct, arglist );
4505 // release the argument list
4506 Py_CLEAR( arglist );
4507 Py_CLEAR( px );
4508 Py_CLEAR( py );
4509 Py_CLEAR( pdata );
4510 // check and unpack the result
4511 if ( result == NULL )
4512 {
4513 fprintf( stderr, "call to python coordinate transform function with 5 arguments failed\n" );
4514 PyErr_SetString( PyExc_RuntimeError, "coordinate transform callback must take 5 arguments." );
4515 }
4516 // release the result
4517 Py_CLEAR( result );
4518 // release the global interpreter lock
4520 }
4521 }
4522
4524 {
4525 PyObject *px, *py, *arglist, *result;
4526 // PyArrayObject *tmpx, *tmpy;
4527// PLFLT *xx, *yy;
4528// PLINT i;
4529 npy_intp nn;
4530 nn = n;
4531
4532 if ( python_mapform ) // if not something is terribly wrong
4533 { // grab the Global Interpreter Lock to be sure threads don't mess us up
4535 // build the argument list
4536#ifdef PL_HAVE_PTHREAD
4537 px = PyArray_SimpleNewFromData( 1, &nn, NPY_PLFLT, (void *) x );
4538 py = PyArray_SimpleNewFromData( 1, &nn, NPY_PLFLT, (void *) y );
4539#else
4540 px = PyArray_FromDimsAndData( 1, &n, NPY_PLFLT, (char *) x );
4541 py = PyArray_FromDimsAndData( 1, &n, NPY_PLFLT, (char *) y );
4542#endif
4543 arglist = Py_BuildValue( "(iOO)", n, px, py );
4544 // call the python function
4545 result = PyObject_CallObject( python_mapform, arglist );
4546 // release the argument list
4547 Py_CLEAR( arglist );
4548 Py_CLEAR( px );
4549 Py_CLEAR( py );
4550 // check and unpack the result
4551 if ( result == NULL )
4552 {
4553 fprintf( stderr, "call to python mapform function with 3 arguments failed\n" );
4554 PyErr_SetString( PyExc_RuntimeError, "mapform callback must take 3 arguments." );
4555 }
4556 // release the result
4557 Py_CLEAR( result );
4558 // release the global interpreter lock
4560 }
4561 }
4562
4563// marshal the pltr function pointer argument
4564 pltr_func marshal_pltr( PyObject* input )
4565 {
4566 pltr_func result = do_pltr_callback;
4567 PyObject * rep = PyObject_Repr( input );
4568 if ( rep )
4569 {
4570 // Memory leaks here? str and uni_str are not freed?
4571 char* str;
4572 if ( PyUnicode_Check( rep ) )
4573 {
4574 PyObject *uni_str = PyUnicode_AsEncodedString( rep, "utf-8", "Error ~" );
4575 str = PyBytes_AS_STRING( uni_str );
4576 }
4577 else
4578 {
4579 str = PyString_AsString( rep );
4580 }
4581 if ( strstr( str, "function pltr0" ) != 0 )
4582 {
4583 result = pltr0;
4584 pltr_type = CB_0;
4585 python_pltr = NULL;
4586 }
4587 else if ( strstr( str, "function pltr1" ) != 0 )
4588 {
4589 result = pltr1;
4590 pltr_type = CB_1;
4591 python_pltr = NULL;
4592 }
4593 else if ( strstr( str, "function pltr2" ) != 0 )
4594 {
4595 result = pltr2;
4596 pltr_type = CB_2;
4597 python_pltr = NULL;
4598 }
4599 else
4600 {
4601 python_pltr = input;
4603 Py_XINCREF( input );
4604 }
4605 Py_CLEAR( rep );
4606 }
4607 else
4608 {
4609 python_pltr = input;
4611 Py_XINCREF( input );
4612 }
4613 return result;
4614 }
4615
4616 void cleanup_pltr( void )
4617 {
4618 Py_CLEAR( python_pltr );
4619 python_pltr = 0;
4620 }
4621
4622// marshal the ct function pointer argument
4623 ct_func marshal_ct( PyObject* input )
4624 {
4625 ct_func result = do_ct_callback;
4626 python_ct = input;
4627 Py_XINCREF( input );
4628 return result;
4629 }
4630
4631 void cleanup_ct( void )
4632 {
4633 Py_CLEAR( python_ct );
4634 python_ct = 0;
4635 }
4636
4637// marshal the mapform function pointer argument
4639 {
4641 python_mapform = input;
4642 Py_XINCREF( input );
4643 return result;
4644 }
4645
4646 void cleanup_mapform( void )
4647 {
4648 Py_CLEAR( python_mapform );
4649 python_mapform = 0;
4650 }
4651
4652 PLPointer marshal_PLPointer( PyObject* input, int isimg )
4653 {
4654 PLPointer result = NULL;
4655 switch ( pltr_type )
4656 {
4657 case CB_0:
4658 break;
4659 case CB_1:
4660 if ( input != Py_None )
4661 result = marshal_PLcGrid1( input, isimg );
4662 break;
4663 case CB_2:
4664 if ( input != Py_None )
4665 result = marshal_PLcGrid2( input, isimg );
4666 break;
4667 case CB_Python:
4668 Py_XINCREF( input );
4669 result = (PLPointer *) input;
4670 break;
4671 default:
4672 fprintf( stderr, "pltr_type is invalid\n" );
4673 }
4674 return result;
4675 }
4676
4678 {
4679 switch ( pltr_type )
4680 {
4681 case CB_0:
4682 break;
4683 case CB_1:
4685 break;
4686 case CB_2:
4688 break;
4689 case CB_Python:
4690 Py_CLEAR( python_pltr );
4691 break;
4692 default:
4693 fprintf( stderr, "pltr_type is invalid\n" );
4694 }
4695 python_pltr = 0;
4696 pltr_type = CB_0;
4697 }
4698
4699
4700
4701SWIGINTERN PyObject *_wrap_PLGraphicsIn_type_set(PyObject *self, PyObject *args) {
4702 PyObject *resultobj = 0;
4703 PLGraphicsIn *arg1 = 0 ;
4704 int arg2 ;
4705 void *argp1 = 0 ;
4706 int res1 = 0 ;
4707 int val2 ;
4708 int ecode2 = 0 ;
4709 PyObject *swig_obj[2] ;
4710
4711 (void)self;
4712 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_type_set", 2, 2, swig_obj)) SWIG_fail;
4713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4714 if (!SWIG_IsOK(res1)) {
4715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_type_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4716 }
4717 arg1 = (PLGraphicsIn *)(argp1);
4718 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4719 if (!SWIG_IsOK(ecode2)) {
4720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_type_set" "', argument " "2"" of type '" "int""'");
4721 }
4722 arg2 = (int)(val2);
4723 if (arg1) (arg1)->type = arg2;
4724 resultobj = SWIG_Py_Void();
4725 return resultobj;
4726fail:
4727 return NULL;
4728}
4729
4730
4731SWIGINTERN PyObject *_wrap_PLGraphicsIn_type_get(PyObject *self, PyObject *args) {
4732 PyObject *resultobj = 0;
4733 PLGraphicsIn *arg1 = 0 ;
4734 void *argp1 = 0 ;
4735 int res1 = 0 ;
4736 PyObject *swig_obj[1] ;
4737 int result;
4738
4739 (void)self;
4740 if (!args) SWIG_fail;
4741 swig_obj[0] = args;
4742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4743 if (!SWIG_IsOK(res1)) {
4744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_type_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4745 }
4746 arg1 = (PLGraphicsIn *)(argp1);
4747 result = (int) ((arg1)->type);
4748 resultobj = SWIG_From_int((int)(result));
4749 return resultobj;
4750fail:
4751 return NULL;
4752}
4753
4754
4755SWIGINTERN PyObject *_wrap_PLGraphicsIn_state_set(PyObject *self, PyObject *args) {
4756 PyObject *resultobj = 0;
4757 PLGraphicsIn *arg1 = 0 ;
4758 unsigned int arg2 ;
4759 void *argp1 = 0 ;
4760 int res1 = 0 ;
4761 unsigned int val2 ;
4762 int ecode2 = 0 ;
4763 PyObject *swig_obj[2] ;
4764
4765 (void)self;
4766 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_state_set", 2, 2, swig_obj)) SWIG_fail;
4767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4768 if (!SWIG_IsOK(res1)) {
4769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_state_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4770 }
4771 arg1 = (PLGraphicsIn *)(argp1);
4772 ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
4773 if (!SWIG_IsOK(ecode2)) {
4774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_state_set" "', argument " "2"" of type '" "unsigned int""'");
4775 }
4776 arg2 = (unsigned int)(val2);
4777 if (arg1) (arg1)->state = arg2;
4778 resultobj = SWIG_Py_Void();
4779 return resultobj;
4780fail:
4781 return NULL;
4782}
4783
4784
4785SWIGINTERN PyObject *_wrap_PLGraphicsIn_state_get(PyObject *self, PyObject *args) {
4786 PyObject *resultobj = 0;
4787 PLGraphicsIn *arg1 = 0 ;
4788 void *argp1 = 0 ;
4789 int res1 = 0 ;
4790 PyObject *swig_obj[1] ;
4791 unsigned int result;
4792
4793 (void)self;
4794 if (!args) SWIG_fail;
4795 swig_obj[0] = args;
4796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4797 if (!SWIG_IsOK(res1)) {
4798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_state_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4799 }
4800 arg1 = (PLGraphicsIn *)(argp1);
4801 result = (unsigned int) ((arg1)->state);
4802 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4803 return resultobj;
4804fail:
4805 return NULL;
4806}
4807
4808
4809SWIGINTERN PyObject *_wrap_PLGraphicsIn_keysym_set(PyObject *self, PyObject *args) {
4810 PyObject *resultobj = 0;
4811 PLGraphicsIn *arg1 = 0 ;
4812 unsigned int arg2 ;
4813 void *argp1 = 0 ;
4814 int res1 = 0 ;
4815 unsigned int val2 ;
4816 int ecode2 = 0 ;
4817 PyObject *swig_obj[2] ;
4818
4819 (void)self;
4820 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_keysym_set", 2, 2, swig_obj)) SWIG_fail;
4821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4822 if (!SWIG_IsOK(res1)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_keysym_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4824 }
4825 arg1 = (PLGraphicsIn *)(argp1);
4826 ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
4827 if (!SWIG_IsOK(ecode2)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_keysym_set" "', argument " "2"" of type '" "unsigned int""'");
4829 }
4830 arg2 = (unsigned int)(val2);
4831 if (arg1) (arg1)->keysym = arg2;
4832 resultobj = SWIG_Py_Void();
4833 return resultobj;
4834fail:
4835 return NULL;
4836}
4837
4838
4839SWIGINTERN PyObject *_wrap_PLGraphicsIn_keysym_get(PyObject *self, PyObject *args) {
4840 PyObject *resultobj = 0;
4841 PLGraphicsIn *arg1 = 0 ;
4842 void *argp1 = 0 ;
4843 int res1 = 0 ;
4844 PyObject *swig_obj[1] ;
4845 unsigned int result;
4846
4847 (void)self;
4848 if (!args) SWIG_fail;
4849 swig_obj[0] = args;
4850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4851 if (!SWIG_IsOK(res1)) {
4852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_keysym_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4853 }
4854 arg1 = (PLGraphicsIn *)(argp1);
4855 result = (unsigned int) ((arg1)->keysym);
4856 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4857 return resultobj;
4858fail:
4859 return NULL;
4860}
4861
4862
4863SWIGINTERN PyObject *_wrap_PLGraphicsIn_button_set(PyObject *self, PyObject *args) {
4864 PyObject *resultobj = 0;
4865 PLGraphicsIn *arg1 = 0 ;
4866 unsigned int arg2 ;
4867 void *argp1 = 0 ;
4868 int res1 = 0 ;
4869 unsigned int val2 ;
4870 int ecode2 = 0 ;
4871 PyObject *swig_obj[2] ;
4872
4873 (void)self;
4874 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_button_set", 2, 2, swig_obj)) SWIG_fail;
4875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4876 if (!SWIG_IsOK(res1)) {
4877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_button_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4878 }
4879 arg1 = (PLGraphicsIn *)(argp1);
4880 ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
4881 if (!SWIG_IsOK(ecode2)) {
4882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_button_set" "', argument " "2"" of type '" "unsigned int""'");
4883 }
4884 arg2 = (unsigned int)(val2);
4885 if (arg1) (arg1)->button = arg2;
4886 resultobj = SWIG_Py_Void();
4887 return resultobj;
4888fail:
4889 return NULL;
4890}
4891
4892
4893SWIGINTERN PyObject *_wrap_PLGraphicsIn_button_get(PyObject *self, PyObject *args) {
4894 PyObject *resultobj = 0;
4895 PLGraphicsIn *arg1 = 0 ;
4896 void *argp1 = 0 ;
4897 int res1 = 0 ;
4898 PyObject *swig_obj[1] ;
4899 unsigned int result;
4900
4901 (void)self;
4902 if (!args) SWIG_fail;
4903 swig_obj[0] = args;
4904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4905 if (!SWIG_IsOK(res1)) {
4906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_button_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4907 }
4908 arg1 = (PLGraphicsIn *)(argp1);
4909 result = (unsigned int) ((arg1)->button);
4910 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4911 return resultobj;
4912fail:
4913 return NULL;
4914}
4915
4916
4917SWIGINTERN PyObject *_wrap_PLGraphicsIn_subwindow_set(PyObject *self, PyObject *args) {
4918 PyObject *resultobj = 0;
4919 PLGraphicsIn *arg1 = 0 ;
4920 PLINT arg2 ;
4921 void *argp1 = 0 ;
4922 int res1 = 0 ;
4923 int val2 ;
4924 int ecode2 = 0 ;
4925 PyObject *swig_obj[2] ;
4926
4927 (void)self;
4928 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_subwindow_set", 2, 2, swig_obj)) SWIG_fail;
4929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4930 if (!SWIG_IsOK(res1)) {
4931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_subwindow_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4932 }
4933 arg1 = (PLGraphicsIn *)(argp1);
4934 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4935 if (!SWIG_IsOK(ecode2)) {
4936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_subwindow_set" "', argument " "2"" of type '" "PLINT""'");
4937 }
4938 arg2 = (PLINT)(val2);
4939 if (arg1) (arg1)->subwindow = arg2;
4940 resultobj = SWIG_Py_Void();
4941 return resultobj;
4942fail:
4943 return NULL;
4944}
4945
4946
4947SWIGINTERN PyObject *_wrap_PLGraphicsIn_subwindow_get(PyObject *self, PyObject *args) {
4948 PyObject *resultobj = 0;
4949 PLGraphicsIn *arg1 = 0 ;
4950 void *argp1 = 0 ;
4951 int res1 = 0 ;
4952 PyObject *swig_obj[1] ;
4953 PLINT result;
4954
4955 (void)self;
4956 if (!args) SWIG_fail;
4957 swig_obj[0] = args;
4958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4959 if (!SWIG_IsOK(res1)) {
4960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_subwindow_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4961 }
4962 arg1 = (PLGraphicsIn *)(argp1);
4963 result = (PLINT) ((arg1)->subwindow);
4964 resultobj = SWIG_From_int((int)(result));
4965 return resultobj;
4966fail:
4967 return NULL;
4968}
4969
4970
4971SWIGINTERN PyObject *_wrap_PLGraphicsIn_string_set(PyObject *self, PyObject *args) {
4972 PyObject *resultobj = 0;
4973 PLGraphicsIn *arg1 = 0 ;
4974 char *arg2 = (char *)0 ;
4975 void *argp1 = 0 ;
4976 int res1 = 0 ;
4977 char temp2[16] ;
4978 int res2 ;
4979 PyObject *swig_obj[2] ;
4980
4981 (void)self;
4982 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_string_set", 2, 2, swig_obj)) SWIG_fail;
4983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4984 if (!SWIG_IsOK(res1)) {
4985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_string_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4986 }
4987 arg1 = (PLGraphicsIn *)(argp1);
4988 res2 = SWIG_AsCharArray(swig_obj[1], temp2, 16);
4989 if (!SWIG_IsOK(res2)) {
4990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PLGraphicsIn_string_set" "', argument " "2"" of type '" "char [16]""'");
4991 }
4992 arg2 = (char *)(temp2);
4993 if (arg2) memcpy(arg1->string,arg2,16*sizeof(char));
4994 else memset(arg1->string,0,16*sizeof(char));
4995 resultobj = SWIG_Py_Void();
4996 return resultobj;
4997fail:
4998 return NULL;
4999}
5000
5001
5002SWIGINTERN PyObject *_wrap_PLGraphicsIn_string_get(PyObject *self, PyObject *args) {
5003 PyObject *resultobj = 0;
5004 PLGraphicsIn *arg1 = 0 ;
5005 void *argp1 = 0 ;
5006 int res1 = 0 ;
5007 PyObject *swig_obj[1] ;
5008 char *result = 0 ;
5009
5010 (void)self;
5011 if (!args) SWIG_fail;
5012 swig_obj[0] = args;
5013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5014 if (!SWIG_IsOK(res1)) {
5015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_string_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5016 }
5017 arg1 = (PLGraphicsIn *)(argp1);
5018 result = (char *)(char *) ((arg1)->string);
5019 {
5020 size_t size = SWIG_strnlen(result, 16);
5021
5022
5023
5024 resultobj = SWIG_FromCharPtrAndSize(result, size);
5025 }
5026 return resultobj;
5027fail:
5028 return NULL;
5029}
5030
5031
5032SWIGINTERN PyObject *_wrap_PLGraphicsIn_pX_set(PyObject *self, PyObject *args) {
5033 PyObject *resultobj = 0;
5034 PLGraphicsIn *arg1 = 0 ;
5035 int arg2 ;
5036 void *argp1 = 0 ;
5037 int res1 = 0 ;
5038 int val2 ;
5039 int ecode2 = 0 ;
5040 PyObject *swig_obj[2] ;
5041
5042 (void)self;
5043 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_pX_set", 2, 2, swig_obj)) SWIG_fail;
5044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5045 if (!SWIG_IsOK(res1)) {
5046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pX_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5047 }
5048 arg1 = (PLGraphicsIn *)(argp1);
5049 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
5050 if (!SWIG_IsOK(ecode2)) {
5051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_pX_set" "', argument " "2"" of type '" "int""'");
5052 }
5053 arg2 = (int)(val2);
5054 if (arg1) (arg1)->pX = arg2;
5055 resultobj = SWIG_Py_Void();
5056 return resultobj;
5057fail:
5058 return NULL;
5059}
5060
5061
5062SWIGINTERN PyObject *_wrap_PLGraphicsIn_pX_get(PyObject *self, PyObject *args) {
5063 PyObject *resultobj = 0;
5064 PLGraphicsIn *arg1 = 0 ;
5065 void *argp1 = 0 ;
5066 int res1 = 0 ;
5067 PyObject *swig_obj[1] ;
5068 int result;
5069
5070 (void)self;
5071 if (!args) SWIG_fail;
5072 swig_obj[0] = args;
5073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5074 if (!SWIG_IsOK(res1)) {
5075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pX_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5076 }
5077 arg1 = (PLGraphicsIn *)(argp1);
5078 result = (int) ((arg1)->pX);
5079 resultobj = SWIG_From_int((int)(result));
5080 return resultobj;
5081fail:
5082 return NULL;
5083}
5084
5085
5086SWIGINTERN PyObject *_wrap_PLGraphicsIn_pY_set(PyObject *self, PyObject *args) {
5087 PyObject *resultobj = 0;
5088 PLGraphicsIn *arg1 = 0 ;
5089 int arg2 ;
5090 void *argp1 = 0 ;
5091 int res1 = 0 ;
5092 int val2 ;
5093 int ecode2 = 0 ;
5094 PyObject *swig_obj[2] ;
5095
5096 (void)self;
5097 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_pY_set", 2, 2, swig_obj)) SWIG_fail;
5098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5099 if (!SWIG_IsOK(res1)) {
5100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pY_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5101 }
5102 arg1 = (PLGraphicsIn *)(argp1);
5103 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
5104 if (!SWIG_IsOK(ecode2)) {
5105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_pY_set" "', argument " "2"" of type '" "int""'");
5106 }
5107 arg2 = (int)(val2);
5108 if (arg1) (arg1)->pY = arg2;
5109 resultobj = SWIG_Py_Void();
5110 return resultobj;
5111fail:
5112 return NULL;
5113}
5114
5115
5116SWIGINTERN PyObject *_wrap_PLGraphicsIn_pY_get(PyObject *self, PyObject *args) {
5117 PyObject *resultobj = 0;
5118 PLGraphicsIn *arg1 = 0 ;
5119 void *argp1 = 0 ;
5120 int res1 = 0 ;
5121 PyObject *swig_obj[1] ;
5122 int result;
5123
5124 (void)self;
5125 if (!args) SWIG_fail;
5126 swig_obj[0] = args;
5127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5128 if (!SWIG_IsOK(res1)) {
5129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pY_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5130 }
5131 arg1 = (PLGraphicsIn *)(argp1);
5132 result = (int) ((arg1)->pY);
5133 resultobj = SWIG_From_int((int)(result));
5134 return resultobj;
5135fail:
5136 return NULL;
5137}
5138
5139
5140SWIGINTERN PyObject *_wrap_PLGraphicsIn_dX_set(PyObject *self, PyObject *args) {
5141 PyObject *resultobj = 0;
5142 PLGraphicsIn *arg1 = 0 ;
5143 PLFLT arg2 ;
5144 void *argp1 = 0 ;
5145 int res1 = 0 ;
5146 double val2 ;
5147 int ecode2 = 0 ;
5148 PyObject *swig_obj[2] ;
5149
5150 (void)self;
5151 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_dX_set", 2, 2, swig_obj)) SWIG_fail;
5152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5153 if (!SWIG_IsOK(res1)) {
5154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dX_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5155 }
5156 arg1 = (PLGraphicsIn *)(argp1);
5157 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5158 if (!SWIG_IsOK(ecode2)) {
5159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_dX_set" "', argument " "2"" of type '" "PLFLT""'");
5160 }
5161 arg2 = (PLFLT)(val2);
5162 if (arg1) (arg1)->dX = arg2;
5163 resultobj = SWIG_Py_Void();
5164 return resultobj;
5165fail:
5166 return NULL;
5167}
5168
5169
5170SWIGINTERN PyObject *_wrap_PLGraphicsIn_dX_get(PyObject *self, PyObject *args) {
5171 PyObject *resultobj = 0;
5172 PLGraphicsIn *arg1 = 0 ;
5173 void *argp1 = 0 ;
5174 int res1 = 0 ;
5175 PyObject *swig_obj[1] ;
5176 PLFLT result;
5177
5178 (void)self;
5179 if (!args) SWIG_fail;
5180 swig_obj[0] = args;
5181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5182 if (!SWIG_IsOK(res1)) {
5183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dX_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5184 }
5185 arg1 = (PLGraphicsIn *)(argp1);
5186 result = (PLFLT) ((arg1)->dX);
5187 resultobj = SWIG_From_double((double)(result));
5188 return resultobj;
5189fail:
5190 return NULL;
5191}
5192
5193
5194SWIGINTERN PyObject *_wrap_PLGraphicsIn_dY_set(PyObject *self, PyObject *args) {
5195 PyObject *resultobj = 0;
5196 PLGraphicsIn *arg1 = 0 ;
5197 PLFLT arg2 ;
5198 void *argp1 = 0 ;
5199 int res1 = 0 ;
5200 double val2 ;
5201 int ecode2 = 0 ;
5202 PyObject *swig_obj[2] ;
5203
5204 (void)self;
5205 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_dY_set", 2, 2, swig_obj)) SWIG_fail;
5206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5207 if (!SWIG_IsOK(res1)) {
5208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dY_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5209 }
5210 arg1 = (PLGraphicsIn *)(argp1);
5211 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5212 if (!SWIG_IsOK(ecode2)) {
5213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_dY_set" "', argument " "2"" of type '" "PLFLT""'");
5214 }
5215 arg2 = (PLFLT)(val2);
5216 if (arg1) (arg1)->dY = arg2;
5217 resultobj = SWIG_Py_Void();
5218 return resultobj;
5219fail:
5220 return NULL;
5221}
5222
5223
5224SWIGINTERN PyObject *_wrap_PLGraphicsIn_dY_get(PyObject *self, PyObject *args) {
5225 PyObject *resultobj = 0;
5226 PLGraphicsIn *arg1 = 0 ;
5227 void *argp1 = 0 ;
5228 int res1 = 0 ;
5229 PyObject *swig_obj[1] ;
5230 PLFLT result;
5231
5232 (void)self;
5233 if (!args) SWIG_fail;
5234 swig_obj[0] = args;
5235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5236 if (!SWIG_IsOK(res1)) {
5237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dY_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5238 }
5239 arg1 = (PLGraphicsIn *)(argp1);
5240 result = (PLFLT) ((arg1)->dY);
5241 resultobj = SWIG_From_double((double)(result));
5242 return resultobj;
5243fail:
5244 return NULL;
5245}
5246
5247
5248SWIGINTERN PyObject *_wrap_PLGraphicsIn_wX_set(PyObject *self, PyObject *args) {
5249 PyObject *resultobj = 0;
5250 PLGraphicsIn *arg1 = 0 ;
5251 PLFLT arg2 ;
5252 void *argp1 = 0 ;
5253 int res1 = 0 ;
5254 double val2 ;
5255 int ecode2 = 0 ;
5256 PyObject *swig_obj[2] ;
5257
5258 (void)self;
5259 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_wX_set", 2, 2, swig_obj)) SWIG_fail;
5260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5261 if (!SWIG_IsOK(res1)) {
5262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wX_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5263 }
5264 arg1 = (PLGraphicsIn *)(argp1);
5265 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5266 if (!SWIG_IsOK(ecode2)) {
5267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_wX_set" "', argument " "2"" of type '" "PLFLT""'");
5268 }
5269 arg2 = (PLFLT)(val2);
5270 if (arg1) (arg1)->wX = arg2;
5271 resultobj = SWIG_Py_Void();
5272 return resultobj;
5273fail:
5274 return NULL;
5275}
5276
5277
5278SWIGINTERN PyObject *_wrap_PLGraphicsIn_wX_get(PyObject *self, PyObject *args) {
5279 PyObject *resultobj = 0;
5280 PLGraphicsIn *arg1 = 0 ;
5281 void *argp1 = 0 ;
5282 int res1 = 0 ;
5283 PyObject *swig_obj[1] ;
5284 PLFLT result;
5285
5286 (void)self;
5287 if (!args) SWIG_fail;
5288 swig_obj[0] = args;
5289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5290 if (!SWIG_IsOK(res1)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wX_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5292 }
5293 arg1 = (PLGraphicsIn *)(argp1);
5294 result = (PLFLT) ((arg1)->wX);
5295 resultobj = SWIG_From_double((double)(result));
5296 return resultobj;
5297fail:
5298 return NULL;
5299}
5300
5301
5302SWIGINTERN PyObject *_wrap_PLGraphicsIn_wY_set(PyObject *self, PyObject *args) {
5303 PyObject *resultobj = 0;
5304 PLGraphicsIn *arg1 = 0 ;
5305 PLFLT arg2 ;
5306 void *argp1 = 0 ;
5307 int res1 = 0 ;
5308 double val2 ;
5309 int ecode2 = 0 ;
5310 PyObject *swig_obj[2] ;
5311
5312 (void)self;
5313 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_wY_set", 2, 2, swig_obj)) SWIG_fail;
5314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5315 if (!SWIG_IsOK(res1)) {
5316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wY_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5317 }
5318 arg1 = (PLGraphicsIn *)(argp1);
5319 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5320 if (!SWIG_IsOK(ecode2)) {
5321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_wY_set" "', argument " "2"" of type '" "PLFLT""'");
5322 }
5323 arg2 = (PLFLT)(val2);
5324 if (arg1) (arg1)->wY = arg2;
5325 resultobj = SWIG_Py_Void();
5326 return resultobj;
5327fail:
5328 return NULL;
5329}
5330
5331
5332SWIGINTERN PyObject *_wrap_PLGraphicsIn_wY_get(PyObject *self, PyObject *args) {
5333 PyObject *resultobj = 0;
5334 PLGraphicsIn *arg1 = 0 ;
5335 void *argp1 = 0 ;
5336 int res1 = 0 ;
5337 PyObject *swig_obj[1] ;
5338 PLFLT result;
5339
5340 (void)self;
5341 if (!args) SWIG_fail;
5342 swig_obj[0] = args;
5343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5344 if (!SWIG_IsOK(res1)) {
5345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wY_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5346 }
5347 arg1 = (PLGraphicsIn *)(argp1);
5348 result = (PLFLT) ((arg1)->wY);
5349 resultobj = SWIG_From_double((double)(result));
5350 return resultobj;
5351fail:
5352 return NULL;
5353}
5354
5355
5356SWIGINTERN PyObject *_wrap_new_PLGraphicsIn(PyObject *self, PyObject *args) {
5357 PyObject *resultobj = 0;
5358 PLGraphicsIn *result = 0 ;
5359
5360 (void)self;
5361 if (!SWIG_Python_UnpackTuple(args, "new_PLGraphicsIn", 0, 0, 0)) SWIG_fail;
5362 result = (PLGraphicsIn *)calloc(1, sizeof(PLGraphicsIn));
5364 return resultobj;
5365fail:
5366 return NULL;
5367}
5368
5369
5370SWIGINTERN PyObject *_wrap_delete_PLGraphicsIn(PyObject *self, PyObject *args) {
5371 PyObject *resultobj = 0;
5372 PLGraphicsIn *arg1 = 0 ;
5373 void *argp1 = 0 ;
5374 int res1 = 0 ;
5375 PyObject *swig_obj[1] ;
5376
5377 (void)self;
5378 if (!args) SWIG_fail;
5379 swig_obj[0] = args;
5380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, SWIG_POINTER_DISOWN | 0 );
5381 if (!SWIG_IsOK(res1)) {
5382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PLGraphicsIn" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5383 }
5384 arg1 = (PLGraphicsIn *)(argp1);
5385 free((char *) arg1);
5386 resultobj = SWIG_Py_Void();
5387 return resultobj;
5388fail:
5389 return NULL;
5390}
5391
5392
5393SWIGINTERN PyObject *PLGraphicsIn_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5394 PyObject *obj = NULL;
5395 if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
5397 return SWIG_Py_Void();
5398}
5399
5400SWIGINTERN PyObject *PLGraphicsIn_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5401 return SWIG_Python_InitShadowInstance(args);
5402}
5403
5404SWIGINTERN PyObject *_wrap_plsxwin(PyObject *self, PyObject *args) {
5405 PyObject *resultobj = 0;
5406 PLINT arg1 ;
5407 int val1 ;
5408 int ecode1 = 0 ;
5409 PyObject *swig_obj[1] ;
5410
5411 (void)self;
5412 if (!args) SWIG_fail;
5413 swig_obj[0] = args;
5414 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
5415 if (!SWIG_IsOK(ecode1)) {
5416 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsxwin" "', argument " "1"" of type '" "PLINT""'");
5417 }
5418 arg1 = (PLINT)(val1);
5419 plsxwin(arg1);
5420 resultobj = SWIG_Py_Void();
5421 return resultobj;
5422fail:
5423 return NULL;
5424}
5425
5426
5427SWIGINTERN PyObject *_wrap_pl_setcontlabelformat(PyObject *self, PyObject *args) {
5428 PyObject *resultobj = 0;
5429 PLINT arg1 ;
5430 PLINT arg2 ;
5431 int val1 ;
5432 int ecode1 = 0 ;
5433 int val2 ;
5434 int ecode2 = 0 ;
5435 PyObject *swig_obj[2] ;
5436
5437 (void)self;
5438 if (!SWIG_Python_UnpackTuple(args, "pl_setcontlabelformat", 2, 2, swig_obj)) SWIG_fail;
5439 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
5440 if (!SWIG_IsOK(ecode1)) {
5441 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pl_setcontlabelformat" "', argument " "1"" of type '" "PLINT""'");
5442 }
5443 arg1 = (PLINT)(val1);
5444 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
5445 if (!SWIG_IsOK(ecode2)) {
5446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pl_setcontlabelformat" "', argument " "2"" of type '" "PLINT""'");
5447 }
5448 arg2 = (PLINT)(val2);
5449 pl_setcontlabelformat(arg1,arg2);
5450 resultobj = SWIG_Py_Void();
5451 return resultobj;
5452fail:
5453 return NULL;
5454}
5455
5456
5457SWIGINTERN PyObject *_wrap_pl_setcontlabelparam(PyObject *self, PyObject *args) {
5458 PyObject *resultobj = 0;
5459 PLFLT arg1 ;
5460 PLFLT arg2 ;
5461 PLFLT arg3 ;
5462 PLINT arg4 ;
5463 double val1 ;
5464 int ecode1 = 0 ;
5465 double val2 ;
5466 int ecode2 = 0 ;
5467 double val3 ;
5468 int ecode3 = 0 ;
5469 int val4 ;
5470 int ecode4 = 0 ;
5471 PyObject *swig_obj[4] ;
5472
5473 (void)self;
5474 if (!SWIG_Python_UnpackTuple(args, "pl_setcontlabelparam", 4, 4, swig_obj)) SWIG_fail;
5475 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
5476 if (!SWIG_IsOK(ecode1)) {
5477 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pl_setcontlabelparam" "', argument " "1"" of type '" "PLFLT""'");
5478 }
5479 arg1 = (PLFLT)(val1);
5480 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5481 if (!SWIG_IsOK(ecode2)) {
5482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pl_setcontlabelparam" "', argument " "2"" of type '" "PLFLT""'");
5483 }
5484 arg2 = (PLFLT)(val2);
5485 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
5486 if (!SWIG_IsOK(ecode3)) {
5487 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pl_setcontlabelparam" "', argument " "3"" of type '" "PLFLT""'");
5488 }
5489 arg3 = (PLFLT)(val3);
5490 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
5491 if (!SWIG_IsOK(ecode4)) {
5492 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pl_setcontlabelparam" "', argument " "4"" of type '" "PLINT""'");
5493 }
5494 arg4 = (PLINT)(val4);
5495 pl_setcontlabelparam(arg1,arg2,arg3,arg4);
5496 resultobj = SWIG_Py_Void();
5497 return resultobj;
5498fail:
5499 return NULL;
5500}
5501
5502
5503SWIGINTERN PyObject *_wrap_pladv(PyObject *self, PyObject *args) {
5504 PyObject *resultobj = 0;
5505 PLINT arg1 ;
5506 int val1 ;
5507 int ecode1 = 0 ;
5508 PyObject *swig_obj[1] ;
5509
5510 (void)self;
5511 if (!args) SWIG_fail;
5512 swig_obj[0] = args;
5513 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
5514 if (!SWIG_IsOK(ecode1)) {
5515 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pladv" "', argument " "1"" of type '" "PLINT""'");
5516 }
5517 arg1 = (PLINT)(val1);
5518 pladv(arg1);
5519 resultobj = SWIG_Py_Void();
5520 return resultobj;
5521fail:
5522 return NULL;
5523}
5524
5525
5526SWIGINTERN PyObject *_wrap_plarc(PyObject *self, PyObject *args) {
5527 PyObject *resultobj = 0;
5528 PLFLT arg1 ;
5529 PLFLT arg2 ;
5530 PLFLT arg3 ;
5531 PLFLT arg4 ;
5532 PLFLT arg5 ;
5533 PLFLT arg6 ;
5534 PLFLT arg7 ;
5535 PLBOOL arg8 ;
5536 double val1 ;
5537 int ecode1 = 0 ;
5538 double val2 ;
5539 int ecode2 = 0 ;
5540 double val3 ;
5541 int ecode3 = 0 ;
5542 double val4 ;
5543 int ecode4 = 0 ;
5544 double val5 ;
5545 int ecode5 = 0 ;
5546 double val6 ;
5547 int ecode6 = 0 ;
5548 double val7 ;
5549 int ecode7 = 0 ;
5550 int val8 ;
5551 int ecode8 = 0 ;
5552 PyObject *swig_obj[8] ;
5553
5554 (void)self;
5555 if (!SWIG_Python_UnpackTuple(args, "plarc", 8, 8, swig_obj)) SWIG_fail;
5556 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
5557 if (!SWIG_IsOK(ecode1)) {
5558 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plarc" "', argument " "1"" of type '" "PLFLT""'");
5559 }
5560 arg1 = (PLFLT)(val1);
5561 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5562 if (!SWIG_IsOK(ecode2)) {
5563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plarc" "', argument " "2"" of type '" "PLFLT""'");
5564 }
5565 arg2 = (PLFLT)(val2);
5566 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
5567 if (!SWIG_IsOK(ecode3)) {
5568 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plarc" "', argument " "3"" of type '" "PLFLT""'");
5569 }
5570 arg3 = (PLFLT)(val3);
5571 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
5572 if (!SWIG_IsOK(ecode4)) {
5573 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plarc" "', argument " "4"" of type '" "PLFLT""'");
5574 }
5575 arg4 = (PLFLT)(val4);
5576 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
5577 if (!SWIG_IsOK(ecode5)) {
5578 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plarc" "', argument " "5"" of type '" "PLFLT""'");
5579 }
5580 arg5 = (PLFLT)(val5);
5581 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
5582 if (!SWIG_IsOK(ecode6)) {
5583 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plarc" "', argument " "6"" of type '" "PLFLT""'");
5584 }
5585 arg6 = (PLFLT)(val6);
5586 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
5587 if (!SWIG_IsOK(ecode7)) {
5588 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plarc" "', argument " "7"" of type '" "PLFLT""'");
5589 }
5590 arg7 = (PLFLT)(val7);
5591 ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
5592 if (!SWIG_IsOK(ecode8)) {
5593 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plarc" "', argument " "8"" of type '" "PLBOOL""'");
5594 }
5595 arg8 = (PLBOOL)(val8);
5596 plarc(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5597 resultobj = SWIG_Py_Void();
5598 return resultobj;
5599fail:
5600 return NULL;
5601}
5602
5603
5604SWIGINTERN PyObject *_wrap_plaxes(PyObject *self, PyObject *args) {
5605 PyObject *resultobj = 0;
5606 PLFLT arg1 ;
5607 PLFLT arg2 ;
5608 char *arg3 = 0 ;
5609 PLFLT arg4 ;
5610 PLINT arg5 ;
5611 char *arg6 = 0 ;
5612 PLFLT arg7 ;
5613 PLINT arg8 ;
5614 double val1 ;
5615 int ecode1 = 0 ;
5616 double val2 ;
5617 int ecode2 = 0 ;
5618 int res3 ;
5619 char *buf3 = 0 ;
5620 int alloc3 = 0 ;
5621 double val4 ;
5622 int ecode4 = 0 ;
5623 int val5 ;
5624 int ecode5 = 0 ;
5625 int res6 ;
5626 char *buf6 = 0 ;
5627 int alloc6 = 0 ;
5628 double val7 ;
5629 int ecode7 = 0 ;
5630 int val8 ;
5631 int ecode8 = 0 ;
5632 PyObject *swig_obj[8] ;
5633
5634 (void)self;
5635 if (!SWIG_Python_UnpackTuple(args, "plaxes", 8, 8, swig_obj)) SWIG_fail;
5636 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
5637 if (!SWIG_IsOK(ecode1)) {
5638 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plaxes" "', argument " "1"" of type '" "PLFLT""'");
5639 }
5640 arg1 = (PLFLT)(val1);
5641 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5642 if (!SWIG_IsOK(ecode2)) {
5643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plaxes" "', argument " "2"" of type '" "PLFLT""'");
5644 }
5645 arg2 = (PLFLT)(val2);
5646 res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
5647 if (!SWIG_IsOK(res3)) {
5648 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "plaxes" "', argument " "3"" of type '" "char const *""'");
5649 }
5650 arg3 = (char *)(buf3);
5651 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
5652 if (!SWIG_IsOK(ecode4)) {
5653 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plaxes" "', argument " "4"" of type '" "PLFLT""'");
5654 }
5655 arg4 = (PLFLT)(val4);
5656 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
5657 if (!SWIG_IsOK(ecode5)) {
5658 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plaxes" "', argument " "5"" of type '" "PLINT""'");
5659 }
5660 arg5 = (PLINT)(val5);
5661 res6 = SWIG_AsCharPtrAndSize(swig_obj[5], &buf6, NULL, &alloc6);
5662 if (!SWIG_IsOK(res6)) {
5663 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plaxes" "', argument " "6"" of type '" "char const *""'");
5664 }
5665 arg6 = (char *)(buf6);
5666 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
5667 if (!SWIG_IsOK(ecode7)) {
5668 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plaxes" "', argument " "7"" of type '" "PLFLT""'");
5669 }
5670 arg7 = (PLFLT)(val7);
5671 ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
5672 if (!SWIG_IsOK(ecode8)) {
5673 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plaxes" "', argument " "8"" of type '" "PLINT""'");
5674 }
5675 arg8 = (PLINT)(val8);
5676 plaxes(arg1,arg2,(char const *)arg3,arg4,arg5,(char const *)arg6,arg7,arg8);
5677 resultobj = SWIG_Py_Void();
5678 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5679 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
5680 return resultobj;
5681fail:
5682 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5683 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
5684 return NULL;
5685}
5686
5687
5688SWIGINTERN PyObject *_wrap_plbin(PyObject *self, PyObject *args) {
5689 PyObject *resultobj = 0;
5690 PLINT arg1 ;
5691 PLFLT *arg2 = 0 ;
5692 PLFLT *arg3 = 0 ;
5693 PLINT arg4 ;
5694 PyArrayObject *tmp1 = NULL ;
5695 PyArrayObject *tmp3 = NULL ;
5696 int val4 ;
5697 int ecode4 = 0 ;
5698 PyObject *swig_obj[3] ;
5699
5700 (void)self;
5701 if (!SWIG_Python_UnpackTuple(args, "plbin", 3, 3, swig_obj)) SWIG_fail;
5702 {
5703 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
5704 if ( tmp1 == NULL )
5705 return NULL;
5706 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
5707 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
5708 }
5709 {
5710 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
5711 if ( tmp3 == NULL )
5712 return NULL;
5713 if ( PyArray_DIMS( tmp3 )[0] != Alen )
5714 {
5715 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
5716 return NULL;
5717 }
5718 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
5719 }
5720 ecode4 = SWIG_AsVal_int(swig_obj[2], &val4);
5721 if (!SWIG_IsOK(ecode4)) {
5722 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plbin" "', argument " "4"" of type '" "PLINT""'");
5723 }
5724 arg4 = (PLINT)(val4);
5725 plbin(arg1,(double const *)arg2,(double const *)arg3,arg4);
5726 resultobj = SWIG_Py_Void();
5727 {
5728 Py_CLEAR( tmp1 );
5729 }
5730 {
5731 Py_CLEAR( tmp3 );
5732 }
5733 return resultobj;
5734fail:
5735 {
5736 Py_CLEAR( tmp1 );
5737 }
5738 {
5739 Py_CLEAR( tmp3 );
5740 }
5741 return NULL;
5742}
5743
5744
5745SWIGINTERN PyObject *_wrap_plbtime(PyObject *self, PyObject *args) {
5746 PyObject *resultobj = 0;
5747 PLINT *arg1 = 0 ;
5748 PLINT *arg2 = 0 ;
5749 PLINT *arg3 = 0 ;
5750 PLINT *arg4 = 0 ;
5751 PLINT *arg5 = 0 ;
5752 PLFLT *arg6 = 0 ;
5753 PLFLT arg7 ;
5754 PLINT temp1 ;
5755 int res1 = SWIG_TMPOBJ ;
5756 PLINT temp2 ;
5757 int res2 = SWIG_TMPOBJ ;
5758 PLINT temp3 ;
5759 int res3 = SWIG_TMPOBJ ;
5760 PLINT temp4 ;
5761 int res4 = SWIG_TMPOBJ ;
5762 PLINT temp5 ;
5763 int res5 = SWIG_TMPOBJ ;
5764 PLFLT temp6 ;
5765 int res6 = SWIG_TMPOBJ ;
5766 double val7 ;
5767 int ecode7 = 0 ;
5768 PyObject *swig_obj[1] ;
5769
5770 arg1 = &temp1;
5771 arg2 = &temp2;
5772 arg3 = &temp3;
5773 arg4 = &temp4;
5774 arg5 = &temp5;
5775 arg6 = &temp6;
5776 (void)self;
5777 if (!args) SWIG_fail;
5778 swig_obj[0] = args;
5779 ecode7 = SWIG_AsVal_double(swig_obj[0], &val7);
5780 if (!SWIG_IsOK(ecode7)) {
5781 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plbtime" "', argument " "7"" of type '" "PLFLT""'");
5782 }
5783 arg7 = (PLFLT)(val7);
5784 plbtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5785 resultobj = SWIG_Py_Void();
5786 if (SWIG_IsTmpObj(res1)) {
5787 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
5788 } else {
5789 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5790 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
5791 }
5792 if (SWIG_IsTmpObj(res2)) {
5793 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
5794 } else {
5795 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5796 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
5797 }
5798 if (SWIG_IsTmpObj(res3)) {
5799 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
5800 } else {
5801 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5802 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
5803 }
5804 if (SWIG_IsTmpObj(res4)) {
5805 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)), 1);
5806 } else {
5807 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5808 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags), 1);
5809 }
5810 if (SWIG_IsTmpObj(res5)) {
5811 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)), 1);
5812 } else {
5813 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5814 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags), 1);
5815 }
5816 if (SWIG_IsTmpObj(res6)) {
5817 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg6)), 1);
5818 } else {
5819 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5820 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags), 1);
5821 }
5822 return resultobj;
5823fail:
5824 return NULL;
5825}
5826
5827
5828SWIGINTERN PyObject *_wrap_plbop(PyObject *self, PyObject *args) {
5829 PyObject *resultobj = 0;
5830
5831 (void)self;
5832 if (!SWIG_Python_UnpackTuple(args, "plbop", 0, 0, 0)) SWIG_fail;
5833 plbop();
5834 resultobj = SWIG_Py_Void();
5835 return resultobj;
5836fail:
5837 return NULL;
5838}
5839
5840
5841SWIGINTERN PyObject *_wrap_plbox(PyObject *self, PyObject *args) {
5842 PyObject *resultobj = 0;
5843 char *arg1 = 0 ;
5844 PLFLT arg2 ;
5845 PLINT arg3 ;
5846 char *arg4 = 0 ;
5847 PLFLT arg5 ;
5848 PLINT arg6 ;
5849 int res1 ;
5850 char *buf1 = 0 ;
5851 int alloc1 = 0 ;
5852 double val2 ;
5853 int ecode2 = 0 ;
5854 int val3 ;
5855 int ecode3 = 0 ;
5856 int res4 ;
5857 char *buf4 = 0 ;
5858 int alloc4 = 0 ;
5859 double val5 ;
5860 int ecode5 = 0 ;
5861 int val6 ;
5862 int ecode6 = 0 ;
5863 PyObject *swig_obj[6] ;
5864
5865 (void)self;
5866 if (!SWIG_Python_UnpackTuple(args, "plbox", 6, 6, swig_obj)) SWIG_fail;
5867 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
5868 if (!SWIG_IsOK(res1)) {
5869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plbox" "', argument " "1"" of type '" "char const *""'");
5870 }
5871 arg1 = (char *)(buf1);
5872 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5873 if (!SWIG_IsOK(ecode2)) {
5874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plbox" "', argument " "2"" of type '" "PLFLT""'");
5875 }
5876 arg2 = (PLFLT)(val2);
5877 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
5878 if (!SWIG_IsOK(ecode3)) {
5879 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plbox" "', argument " "3"" of type '" "PLINT""'");
5880 }
5881 arg3 = (PLINT)(val3);
5882 res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
5883 if (!SWIG_IsOK(res4)) {
5884 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "plbox" "', argument " "4"" of type '" "char const *""'");
5885 }
5886 arg4 = (char *)(buf4);
5887 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
5888 if (!SWIG_IsOK(ecode5)) {
5889 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plbox" "', argument " "5"" of type '" "PLFLT""'");
5890 }
5891 arg5 = (PLFLT)(val5);
5892 ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
5893 if (!SWIG_IsOK(ecode6)) {
5894 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plbox" "', argument " "6"" of type '" "PLINT""'");
5895 }
5896 arg6 = (PLINT)(val6);
5897 plbox((char const *)arg1,arg2,arg3,(char const *)arg4,arg5,arg6);
5898 resultobj = SWIG_Py_Void();
5899 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
5900 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
5901 return resultobj;
5902fail:
5903 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
5904 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
5905 return NULL;
5906}
5907
5908
5909SWIGINTERN PyObject *_wrap_plbox3(PyObject *self, PyObject *args) {
5910 PyObject *resultobj = 0;
5911 char *arg1 = 0 ;
5912 char *arg2 = 0 ;
5913 PLFLT arg3 ;
5914 PLINT arg4 ;
5915 char *arg5 = 0 ;
5916 char *arg6 = 0 ;
5917 PLFLT arg7 ;
5918 PLINT arg8 ;
5919 char *arg9 = 0 ;
5920 char *arg10 = 0 ;
5921 PLFLT arg11 ;
5922 PLINT arg12 ;
5923 int res1 ;
5924 char *buf1 = 0 ;
5925 int alloc1 = 0 ;
5926 int res2 ;
5927 char *buf2 = 0 ;
5928 int alloc2 = 0 ;
5929 double val3 ;
5930 int ecode3 = 0 ;
5931 int val4 ;
5932 int ecode4 = 0 ;
5933 int res5 ;
5934 char *buf5 = 0 ;
5935 int alloc5 = 0 ;
5936 int res6 ;
5937 char *buf6 = 0 ;
5938 int alloc6 = 0 ;
5939 double val7 ;
5940 int ecode7 = 0 ;
5941 int val8 ;
5942 int ecode8 = 0 ;
5943 int res9 ;
5944 char *buf9 = 0 ;
5945 int alloc9 = 0 ;
5946 int res10 ;
5947 char *buf10 = 0 ;
5948 int alloc10 = 0 ;
5949 double val11 ;
5950 int ecode11 = 0 ;
5951 int val12 ;
5952 int ecode12 = 0 ;
5953 PyObject *swig_obj[12] ;
5954
5955 (void)self;
5956 if (!SWIG_Python_UnpackTuple(args, "plbox3", 12, 12, swig_obj)) SWIG_fail;
5957 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
5958 if (!SWIG_IsOK(res1)) {
5959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plbox3" "', argument " "1"" of type '" "char const *""'");
5960 }
5961 arg1 = (char *)(buf1);
5962 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
5963 if (!SWIG_IsOK(res2)) {
5964 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plbox3" "', argument " "2"" of type '" "char const *""'");
5965 }
5966 arg2 = (char *)(buf2);
5967 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
5968 if (!SWIG_IsOK(ecode3)) {
5969 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plbox3" "', argument " "3"" of type '" "PLFLT""'");
5970 }
5971 arg3 = (PLFLT)(val3);
5972 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
5973 if (!SWIG_IsOK(ecode4)) {
5974 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plbox3" "', argument " "4"" of type '" "PLINT""'");
5975 }
5976 arg4 = (PLINT)(val4);
5977 res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
5978 if (!SWIG_IsOK(res5)) {
5979 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plbox3" "', argument " "5"" of type '" "char const *""'");
5980 }
5981 arg5 = (char *)(buf5);
5982 res6 = SWIG_AsCharPtrAndSize(swig_obj[5], &buf6, NULL, &alloc6);
5983 if (!SWIG_IsOK(res6)) {
5984 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plbox3" "', argument " "6"" of type '" "char const *""'");
5985 }
5986 arg6 = (char *)(buf6);
5987 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
5988 if (!SWIG_IsOK(ecode7)) {
5989 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plbox3" "', argument " "7"" of type '" "PLFLT""'");
5990 }
5991 arg7 = (PLFLT)(val7);
5992 ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
5993 if (!SWIG_IsOK(ecode8)) {
5994 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plbox3" "', argument " "8"" of type '" "PLINT""'");
5995 }
5996 arg8 = (PLINT)(val8);
5997 res9 = SWIG_AsCharPtrAndSize(swig_obj[8], &buf9, NULL, &alloc9);
5998 if (!SWIG_IsOK(res9)) {
5999 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "plbox3" "', argument " "9"" of type '" "char const *""'");
6000 }
6001 arg9 = (char *)(buf9);
6002 res10 = SWIG_AsCharPtrAndSize(swig_obj[9], &buf10, NULL, &alloc10);
6003 if (!SWIG_IsOK(res10)) {
6004 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "plbox3" "', argument " "10"" of type '" "char const *""'");
6005 }
6006 arg10 = (char *)(buf10);
6007 ecode11 = SWIG_AsVal_double(swig_obj[10], &val11);
6008 if (!SWIG_IsOK(ecode11)) {
6009 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plbox3" "', argument " "11"" of type '" "PLFLT""'");
6010 }
6011 arg11 = (PLFLT)(val11);
6012 ecode12 = SWIG_AsVal_int(swig_obj[11], &val12);
6013 if (!SWIG_IsOK(ecode12)) {
6014 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plbox3" "', argument " "12"" of type '" "PLINT""'");
6015 }
6016 arg12 = (PLINT)(val12);
6017 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);
6018 resultobj = SWIG_Py_Void();
6019 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
6020 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6021 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
6022 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
6023 if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
6024 if (alloc10 == SWIG_NEWOBJ) free((char*)buf10);
6025 return resultobj;
6026fail:
6027 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
6028 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6029 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
6030 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
6031 if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
6032 if (alloc10 == SWIG_NEWOBJ) free((char*)buf10);
6033 return NULL;
6034}
6035
6036
6037SWIGINTERN PyObject *_wrap_plcalc_world(PyObject *self, PyObject *args) {
6038 PyObject *resultobj = 0;
6039 PLFLT arg1 ;
6040 PLFLT arg2 ;
6041 PLFLT *arg3 = 0 ;
6042 PLFLT *arg4 = 0 ;
6043 PLINT *arg5 = 0 ;
6044 double val1 ;
6045 int ecode1 = 0 ;
6046 double val2 ;
6047 int ecode2 = 0 ;
6048 PLFLT temp3 ;
6049 int res3 = SWIG_TMPOBJ ;
6050 PLFLT temp4 ;
6051 int res4 = SWIG_TMPOBJ ;
6052 PLINT temp5 ;
6053 int res5 = SWIG_TMPOBJ ;
6054 PyObject *swig_obj[2] ;
6055
6056 arg3 = &temp3;
6057 arg4 = &temp4;
6058 arg5 = &temp5;
6059 (void)self;
6060 if (!SWIG_Python_UnpackTuple(args, "plcalc_world", 2, 2, swig_obj)) SWIG_fail;
6061 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
6062 if (!SWIG_IsOK(ecode1)) {
6063 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcalc_world" "', argument " "1"" of type '" "PLFLT""'");
6064 }
6065 arg1 = (PLFLT)(val1);
6066 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
6067 if (!SWIG_IsOK(ecode2)) {
6068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plcalc_world" "', argument " "2"" of type '" "PLFLT""'");
6069 }
6070 arg2 = (PLFLT)(val2);
6071 plcalc_world(arg1,arg2,arg3,arg4,arg5);
6072 resultobj = SWIG_Py_Void();
6073 if (SWIG_IsTmpObj(res3)) {
6074 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
6075 } else {
6076 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6077 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
6078 }
6079 if (SWIG_IsTmpObj(res4)) {
6080 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
6081 } else {
6082 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6083 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
6084 }
6085 if (SWIG_IsTmpObj(res5)) {
6086 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)), 1);
6087 } else {
6088 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6089 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags), 1);
6090 }
6091 return resultobj;
6092fail:
6093 return NULL;
6094}
6095
6096
6097SWIGINTERN PyObject *_wrap_plclear(PyObject *self, PyObject *args) {
6098 PyObject *resultobj = 0;
6099
6100 (void)self;
6101 if (!SWIG_Python_UnpackTuple(args, "plclear", 0, 0, 0)) SWIG_fail;
6102 plclear();
6103 resultobj = SWIG_Py_Void();
6104 return resultobj;
6105fail:
6106 return NULL;
6107}
6108
6109
6110SWIGINTERN PyObject *_wrap_plcol0(PyObject *self, PyObject *args) {
6111 PyObject *resultobj = 0;
6112 PLINT arg1 ;
6113 int val1 ;
6114 int ecode1 = 0 ;
6115 PyObject *swig_obj[1] ;
6116
6117 (void)self;
6118 if (!args) SWIG_fail;
6119 swig_obj[0] = args;
6120 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
6121 if (!SWIG_IsOK(ecode1)) {
6122 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcol0" "', argument " "1"" of type '" "PLINT""'");
6123 }
6124 arg1 = (PLINT)(val1);
6125 plcol0(arg1);
6126 resultobj = SWIG_Py_Void();
6127 return resultobj;
6128fail:
6129 return NULL;
6130}
6131
6132
6133SWIGINTERN PyObject *_wrap_plcol1(PyObject *self, PyObject *args) {
6134 PyObject *resultobj = 0;
6135 PLFLT arg1 ;
6136 double val1 ;
6137 int ecode1 = 0 ;
6138 PyObject *swig_obj[1] ;
6139
6140 (void)self;
6141 if (!args) SWIG_fail;
6142 swig_obj[0] = args;
6143 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
6144 if (!SWIG_IsOK(ecode1)) {
6145 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcol1" "', argument " "1"" of type '" "PLFLT""'");
6146 }
6147 arg1 = (PLFLT)(val1);
6148 plcol1(arg1);
6149 resultobj = SWIG_Py_Void();
6150 return resultobj;
6151fail:
6152 return NULL;
6153}
6154
6155
6156SWIGINTERN PyObject *_wrap_plconfigtime(PyObject *self, PyObject *args) {
6157 PyObject *resultobj = 0;
6158 PLFLT arg1 ;
6159 PLFLT arg2 ;
6160 PLFLT arg3 ;
6161 PLINT arg4 ;
6162 PLBOOL arg5 ;
6163 PLINT arg6 ;
6164 PLINT arg7 ;
6165 PLINT arg8 ;
6166 PLINT arg9 ;
6167 PLINT arg10 ;
6168 PLFLT arg11 ;
6169 double val1 ;
6170 int ecode1 = 0 ;
6171 double val2 ;
6172 int ecode2 = 0 ;
6173 double val3 ;
6174 int ecode3 = 0 ;
6175 int val4 ;
6176 int ecode4 = 0 ;
6177 int val5 ;
6178 int ecode5 = 0 ;
6179 int val6 ;
6180 int ecode6 = 0 ;
6181 int val7 ;
6182 int ecode7 = 0 ;
6183 int val8 ;
6184 int ecode8 = 0 ;
6185 int val9 ;
6186 int ecode9 = 0 ;
6187 int val10 ;
6188 int ecode10 = 0 ;
6189 double val11 ;
6190 int ecode11 = 0 ;
6191 PyObject *swig_obj[11] ;
6192
6193 (void)self;
6194 if (!SWIG_Python_UnpackTuple(args, "plconfigtime", 11, 11, swig_obj)) SWIG_fail;
6195 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
6196 if (!SWIG_IsOK(ecode1)) {
6197 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plconfigtime" "', argument " "1"" of type '" "PLFLT""'");
6198 }
6199 arg1 = (PLFLT)(val1);
6200 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
6201 if (!SWIG_IsOK(ecode2)) {
6202 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plconfigtime" "', argument " "2"" of type '" "PLFLT""'");
6203 }
6204 arg2 = (PLFLT)(val2);
6205 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
6206 if (!SWIG_IsOK(ecode3)) {
6207 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plconfigtime" "', argument " "3"" of type '" "PLFLT""'");
6208 }
6209 arg3 = (PLFLT)(val3);
6210 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
6211 if (!SWIG_IsOK(ecode4)) {
6212 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plconfigtime" "', argument " "4"" of type '" "PLINT""'");
6213 }
6214 arg4 = (PLINT)(val4);
6215 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
6216 if (!SWIG_IsOK(ecode5)) {
6217 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plconfigtime" "', argument " "5"" of type '" "PLBOOL""'");
6218 }
6219 arg5 = (PLBOOL)(val5);
6220 ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
6221 if (!SWIG_IsOK(ecode6)) {
6222 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plconfigtime" "', argument " "6"" of type '" "PLINT""'");
6223 }
6224 arg6 = (PLINT)(val6);
6225 ecode7 = SWIG_AsVal_int(swig_obj[6], &val7);
6226 if (!SWIG_IsOK(ecode7)) {
6227 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plconfigtime" "', argument " "7"" of type '" "PLINT""'");
6228 }
6229 arg7 = (PLINT)(val7);
6230 ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
6231 if (!SWIG_IsOK(ecode8)) {
6232 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plconfigtime" "', argument " "8"" of type '" "PLINT""'");
6233 }
6234 arg8 = (PLINT)(val8);
6235 ecode9 = SWIG_AsVal_int(swig_obj[8], &val9);
6236 if (!SWIG_IsOK(ecode9)) {
6237 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plconfigtime" "', argument " "9"" of type '" "PLINT""'");
6238 }
6239 arg9 = (PLINT)(val9);
6240 ecode10 = SWIG_AsVal_int(swig_obj[9], &val10);
6241 if (!SWIG_IsOK(ecode10)) {
6242 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plconfigtime" "', argument " "10"" of type '" "PLINT""'");
6243 }
6244 arg10 = (PLINT)(val10);
6245 ecode11 = SWIG_AsVal_double(swig_obj[10], &val11);
6246 if (!SWIG_IsOK(ecode11)) {
6247 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plconfigtime" "', argument " "11"" of type '" "PLFLT""'");
6248 }
6249 arg11 = (PLFLT)(val11);
6250 plconfigtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
6251 resultobj = SWIG_Py_Void();
6252 return resultobj;
6253fail:
6254 return NULL;
6255}
6256
6257
6258SWIGINTERN PyObject *_wrap_plcont(PyObject *self, PyObject *args) {
6259 PyObject *resultobj = 0;
6260 PLFLT **arg1 = 0 ;
6261 PLINT arg2 ;
6262 PLINT arg3 ;
6263 PLINT arg4 ;
6264 PLINT arg5 ;
6265 PLINT arg6 ;
6266 PLINT arg7 ;
6267 PLFLT *arg8 = 0 ;
6268 PLINT arg9 ;
6269 pltr_func arg10 = 0 ;
6270 PLPointer arg11 = 0 ;
6271 PyArrayObject *tmp1 = NULL ;
6272 int val4 ;
6273 int ecode4 = 0 ;
6274 int val5 ;
6275 int ecode5 = 0 ;
6276 int val6 ;
6277 int ecode6 = 0 ;
6278 int val7 ;
6279 int ecode7 = 0 ;
6280 PyArrayObject *tmp8 = NULL ;
6281 PyObject *swig_obj[8] ;
6282
6283 {
6284 python_pltr = 0;
6285 arg10 = NULL;
6286 }
6287 {
6288 arg11 = NULL;
6289 }
6290 (void)self;
6291 if (!SWIG_Python_UnpackTuple(args, "plcont", 6, 8, swig_obj)) SWIG_fail;
6292 {
6293 int i, size;
6294 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
6295 if ( tmp1 == NULL )
6296 return NULL;
6297 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
6298 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
6299 size = arg3;
6300 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
6301 for ( i = 0; i < arg2; i++ )
6302 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
6303 }
6304 ecode4 = SWIG_AsVal_int(swig_obj[1], &val4);
6305 if (!SWIG_IsOK(ecode4)) {
6306 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcont" "', argument " "4"" of type '" "PLINT""'");
6307 }
6308 arg4 = (PLINT)(val4);
6309 ecode5 = SWIG_AsVal_int(swig_obj[2], &val5);
6310 if (!SWIG_IsOK(ecode5)) {
6311 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcont" "', argument " "5"" of type '" "PLINT""'");
6312 }
6313 arg5 = (PLINT)(val5);
6314 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
6315 if (!SWIG_IsOK(ecode6)) {
6316 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcont" "', argument " "6"" of type '" "PLINT""'");
6317 }
6318 arg6 = (PLINT)(val6);
6319 ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
6320 if (!SWIG_IsOK(ecode7)) {
6321 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcont" "', argument " "7"" of type '" "PLINT""'");
6322 }
6323 arg7 = (PLINT)(val7);
6324 {
6325 tmp8 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[5], NPY_PLFLT, 1, 1 );
6326 if ( tmp8 == NULL )
6327 return NULL;
6328 arg9 = PyArray_DIMS( tmp8 )[0];
6329 arg8 = (PLFLT *) PyArray_DATA( tmp8 );
6330 }
6331 if (swig_obj[6]) {
6332 {
6333 // it must be a callable or None
6334 if ( swig_obj[6] == Py_None )
6335 {
6336 arg10 = NULL;
6337 }
6338 else
6339 {
6340 if ( !PyCallable_Check( (PyObject *) swig_obj[6] ) )
6341 {
6342 PyErr_SetString( PyExc_ValueError, "pltr argument must be callable" );
6343 return NULL;
6344 }
6345 arg10 = marshal_pltr( swig_obj[6] );
6346 }
6347 }
6348 }
6349 if (swig_obj[7]) {
6350 {
6351 if ( swig_obj[7] == Py_None )
6352 arg11 = NULL;
6353 else
6354 {
6355 arg11 = marshal_PLPointer( swig_obj[7], 0 );
6356 }
6357 }
6358 }
6359 plcont((double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,arg10,arg11);
6360 resultobj = SWIG_Py_Void();
6361 {
6362 Py_CLEAR( tmp1 );
6363 free( arg1 );
6364 }
6365 {
6366 Py_CLEAR( tmp8 );
6367 }
6368 {
6369 cleanup_pltr();
6370 }
6371 {
6373 }
6374 return resultobj;
6375fail:
6376 {
6377 Py_CLEAR( tmp1 );
6378 free( arg1 );
6379 }
6380 {
6381 Py_CLEAR( tmp8 );
6382 }
6383 {
6384 cleanup_pltr();
6385 }
6386 {
6388 }
6389 return NULL;
6390}
6391
6392
6393SWIGINTERN PyObject *_wrap_plctime(PyObject *self, PyObject *args) {
6394 PyObject *resultobj = 0;
6395 PLINT arg1 ;
6396 PLINT arg2 ;
6397 PLINT arg3 ;
6398 PLINT arg4 ;
6399 PLINT arg5 ;
6400 PLFLT arg6 ;
6401 PLFLT *arg7 = 0 ;
6402 int val1 ;
6403 int ecode1 = 0 ;
6404 int val2 ;
6405 int ecode2 = 0 ;
6406 int val3 ;
6407 int ecode3 = 0 ;
6408 int val4 ;
6409 int ecode4 = 0 ;
6410 int val5 ;
6411 int ecode5 = 0 ;
6412 double val6 ;
6413 int ecode6 = 0 ;
6414 PLFLT temp7 ;
6415 int res7 = SWIG_TMPOBJ ;
6416 PyObject *swig_obj[6] ;
6417
6418 arg7 = &temp7;
6419 (void)self;
6420 if (!SWIG_Python_UnpackTuple(args, "plctime", 6, 6, swig_obj)) SWIG_fail;
6421 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
6422 if (!SWIG_IsOK(ecode1)) {
6423 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plctime" "', argument " "1"" of type '" "PLINT""'");
6424 }
6425 arg1 = (PLINT)(val1);
6426 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6427 if (!SWIG_IsOK(ecode2)) {
6428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plctime" "', argument " "2"" of type '" "PLINT""'");
6429 }
6430 arg2 = (PLINT)(val2);
6431 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
6432 if (!SWIG_IsOK(ecode3)) {
6433 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plctime" "', argument " "3"" of type '" "PLINT""'");
6434 }
6435 arg3 = (PLINT)(val3);
6436 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
6437 if (!SWIG_IsOK(ecode4)) {
6438 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plctime" "', argument " "4"" of type '" "PLINT""'");
6439 }
6440 arg4 = (PLINT)(val4);
6441 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
6442 if (!SWIG_IsOK(ecode5)) {
6443 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plctime" "', argument " "5"" of type '" "PLINT""'");
6444 }
6445 arg5 = (PLINT)(val5);
6446 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
6447 if (!SWIG_IsOK(ecode6)) {
6448 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plctime" "', argument " "6"" of type '" "PLFLT""'");
6449 }
6450 arg6 = (PLFLT)(val6);
6451 plctime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
6452 resultobj = SWIG_Py_Void();
6453 if (SWIG_IsTmpObj(res7)) {
6454 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg7)), 1);
6455 } else {
6456 int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6457 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_double, new_flags), 1);
6458 }
6459 return resultobj;
6460fail:
6461 return NULL;
6462}
6463
6464
6465SWIGINTERN PyObject *_wrap_plcpstrm(PyObject *self, PyObject *args) {
6466 PyObject *resultobj = 0;
6467 PLINT arg1 ;
6468 PLBOOL arg2 ;
6469 int val1 ;
6470 int ecode1 = 0 ;
6471 int val2 ;
6472 int ecode2 = 0 ;
6473 PyObject *swig_obj[2] ;
6474
6475 (void)self;
6476 if (!SWIG_Python_UnpackTuple(args, "plcpstrm", 2, 2, swig_obj)) SWIG_fail;
6477 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
6478 if (!SWIG_IsOK(ecode1)) {
6479 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcpstrm" "', argument " "1"" of type '" "PLINT""'");
6480 }
6481 arg1 = (PLINT)(val1);
6482 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6483 if (!SWIG_IsOK(ecode2)) {
6484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plcpstrm" "', argument " "2"" of type '" "PLBOOL""'");
6485 }
6486 arg2 = (PLBOOL)(val2);
6487 plcpstrm(arg1,arg2);
6488 resultobj = SWIG_Py_Void();
6489 return resultobj;
6490fail:
6491 return NULL;
6492}
6493
6494
6495SWIGINTERN PyObject *_wrap_plend(PyObject *self, PyObject *args) {
6496 PyObject *resultobj = 0;
6497
6498 (void)self;
6499 if (!SWIG_Python_UnpackTuple(args, "plend", 0, 0, 0)) SWIG_fail;
6500 plend();
6501 resultobj = SWIG_Py_Void();
6502 return resultobj;
6503fail:
6504 return NULL;
6505}
6506
6507
6508SWIGINTERN PyObject *_wrap_plend1(PyObject *self, PyObject *args) {
6509 PyObject *resultobj = 0;
6510
6511 (void)self;
6512 if (!SWIG_Python_UnpackTuple(args, "plend1", 0, 0, 0)) SWIG_fail;
6513 plend1();
6514 resultobj = SWIG_Py_Void();
6515 return resultobj;
6516fail:
6517 return NULL;
6518}
6519
6520
6521SWIGINTERN PyObject *_wrap_plenv(PyObject *self, PyObject *args) {
6522 PyObject *resultobj = 0;
6523 PLFLT arg1 ;
6524 PLFLT arg2 ;
6525 PLFLT arg3 ;
6526 PLFLT arg4 ;
6527 PLINT arg5 ;
6528 PLINT arg6 ;
6529 double val1 ;
6530 int ecode1 = 0 ;
6531 double val2 ;
6532 int ecode2 = 0 ;
6533 double val3 ;
6534 int ecode3 = 0 ;
6535 double val4 ;
6536 int ecode4 = 0 ;
6537 int val5 ;
6538 int ecode5 = 0 ;
6539 int val6 ;
6540 int ecode6 = 0 ;
6541 PyObject *swig_obj[6] ;
6542
6543 (void)self;
6544 if (!SWIG_Python_UnpackTuple(args, "plenv", 6, 6, swig_obj)) SWIG_fail;
6545 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
6546 if (!SWIG_IsOK(ecode1)) {
6547 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plenv" "', argument " "1"" of type '" "PLFLT""'");
6548 }
6549 arg1 = (PLFLT)(val1);
6550 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
6551 if (!SWIG_IsOK(ecode2)) {
6552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plenv" "', argument " "2"" of type '" "PLFLT""'");
6553 }
6554 arg2 = (PLFLT)(val2);
6555 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
6556 if (!SWIG_IsOK(ecode3)) {
6557 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plenv" "', argument " "3"" of type '" "PLFLT""'");
6558 }
6559 arg3 = (PLFLT)(val3);
6560 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
6561 if (!SWIG_IsOK(ecode4)) {
6562 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plenv" "', argument " "4"" of type '" "PLFLT""'");
6563 }
6564 arg4 = (PLFLT)(val4);
6565 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
6566 if (!SWIG_IsOK(ecode5)) {
6567 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plenv" "', argument " "5"" of type '" "PLINT""'");
6568 }
6569 arg5 = (PLINT)(val5);
6570 ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
6571 if (!SWIG_IsOK(ecode6)) {
6572 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plenv" "', argument " "6"" of type '" "PLINT""'");
6573 }
6574 arg6 = (PLINT)(val6);
6575 plenv(arg1,arg2,arg3,arg4,arg5,arg6);
6576 resultobj = SWIG_Py_Void();
6577 return resultobj;
6578fail:
6579 return NULL;
6580}
6581
6582
6583SWIGINTERN PyObject *_wrap_plenv0(PyObject *self, PyObject *args) {
6584 PyObject *resultobj = 0;
6585 PLFLT arg1 ;
6586 PLFLT arg2 ;
6587 PLFLT arg3 ;
6588 PLFLT arg4 ;
6589 PLINT arg5 ;
6590 PLINT arg6 ;
6591 double val1 ;
6592 int ecode1 = 0 ;
6593 double val2 ;
6594 int ecode2 = 0 ;
6595 double val3 ;
6596 int ecode3 = 0 ;
6597 double val4 ;
6598 int ecode4 = 0 ;
6599 int val5 ;
6600 int ecode5 = 0 ;
6601 int val6 ;
6602 int ecode6 = 0 ;
6603 PyObject *swig_obj[6] ;
6604
6605 (void)self;
6606 if (!SWIG_Python_UnpackTuple(args, "plenv0", 6, 6, swig_obj)) SWIG_fail;
6607 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
6608 if (!SWIG_IsOK(ecode1)) {
6609 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plenv0" "', argument " "1"" of type '" "PLFLT""'");
6610 }
6611 arg1 = (PLFLT)(val1);
6612 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
6613 if (!SWIG_IsOK(ecode2)) {
6614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plenv0" "', argument " "2"" of type '" "PLFLT""'");
6615 }
6616 arg2 = (PLFLT)(val2);
6617 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
6618 if (!SWIG_IsOK(ecode3)) {
6619 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plenv0" "', argument " "3"" of type '" "PLFLT""'");
6620 }
6621 arg3 = (PLFLT)(val3);
6622 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
6623 if (!SWIG_IsOK(ecode4)) {
6624 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plenv0" "', argument " "4"" of type '" "PLFLT""'");
6625 }
6626 arg4 = (PLFLT)(val4);
6627 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
6628 if (!SWIG_IsOK(ecode5)) {
6629 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plenv0" "', argument " "5"" of type '" "PLINT""'");
6630 }
6631 arg5 = (PLINT)(val5);
6632 ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
6633 if (!SWIG_IsOK(ecode6)) {
6634 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plenv0" "', argument " "6"" of type '" "PLINT""'");
6635 }
6636 arg6 = (PLINT)(val6);
6637 plenv0(arg1,arg2,arg3,arg4,arg5,arg6);
6638 resultobj = SWIG_Py_Void();
6639 return resultobj;
6640fail:
6641 return NULL;
6642}
6643
6644
6645SWIGINTERN PyObject *_wrap_pleop(PyObject *self, PyObject *args) {
6646 PyObject *resultobj = 0;
6647
6648 (void)self;
6649 if (!SWIG_Python_UnpackTuple(args, "pleop", 0, 0, 0)) SWIG_fail;
6650 pleop();
6651 resultobj = SWIG_Py_Void();
6652 return resultobj;
6653fail:
6654 return NULL;
6655}
6656
6657
6658SWIGINTERN PyObject *_wrap_plerrx(PyObject *self, PyObject *args) {
6659 PyObject *resultobj = 0;
6660 PLINT arg1 ;
6661 PLFLT *arg2 = 0 ;
6662 PLFLT *arg3 = 0 ;
6663 PLFLT *arg4 = 0 ;
6664 PyArrayObject *tmp1 = NULL ;
6665 PyArrayObject *tmp3 = NULL ;
6666 PyArrayObject *tmp4 = NULL ;
6667 PyObject *swig_obj[3] ;
6668
6669 (void)self;
6670 if (!SWIG_Python_UnpackTuple(args, "plerrx", 3, 3, swig_obj)) SWIG_fail;
6671 {
6672 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
6673 if ( tmp1 == NULL )
6674 return NULL;
6675 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6676 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6677 }
6678 {
6679 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
6680 if ( tmp3 == NULL )
6681 return NULL;
6682 if ( PyArray_DIMS( tmp3 )[0] != Alen )
6683 {
6684 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6685 return NULL;
6686 }
6687 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6688 }
6689 {
6690 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
6691 if ( tmp4 == NULL )
6692 return NULL;
6693 if ( PyArray_DIMS( tmp4 )[0] != Alen )
6694 {
6695 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6696 return NULL;
6697 }
6698 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
6699 }
6700 plerrx(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
6701 resultobj = SWIG_Py_Void();
6702 {
6703 Py_CLEAR( tmp1 );
6704 }
6705 {
6706 Py_CLEAR( tmp3 );
6707 }
6708 {
6709 Py_CLEAR( tmp4 );
6710 }
6711 return resultobj;
6712fail:
6713 {
6714 Py_CLEAR( tmp1 );
6715 }
6716 {
6717 Py_CLEAR( tmp3 );
6718 }
6719 {
6720 Py_CLEAR( tmp4 );
6721 }
6722 return NULL;
6723}
6724
6725
6726SWIGINTERN PyObject *_wrap_plerry(PyObject *self, PyObject *args) {
6727 PyObject *resultobj = 0;
6728 PLINT arg1 ;
6729 PLFLT *arg2 = 0 ;
6730 PLFLT *arg3 = 0 ;
6731 PLFLT *arg4 = 0 ;
6732 PyArrayObject *tmp1 = NULL ;
6733 PyArrayObject *tmp3 = NULL ;
6734 PyArrayObject *tmp4 = NULL ;
6735 PyObject *swig_obj[3] ;
6736
6737 (void)self;
6738 if (!SWIG_Python_UnpackTuple(args, "plerry", 3, 3, swig_obj)) SWIG_fail;
6739 {
6740 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
6741 if ( tmp1 == NULL )
6742 return NULL;
6743 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6744 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6745 }
6746 {
6747 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
6748 if ( tmp3 == NULL )
6749 return NULL;
6750 if ( PyArray_DIMS( tmp3 )[0] != Alen )
6751 {
6752 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6753 return NULL;
6754 }
6755 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6756 }
6757 {
6758 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
6759 if ( tmp4 == NULL )
6760 return NULL;
6761 if ( PyArray_DIMS( tmp4 )[0] != Alen )
6762 {
6763 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6764 return NULL;
6765 }
6766 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
6767 }
6768 plerry(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
6769 resultobj = SWIG_Py_Void();
6770 {
6771 Py_CLEAR( tmp1 );
6772 }
6773 {
6774 Py_CLEAR( tmp3 );
6775 }
6776 {
6777 Py_CLEAR( tmp4 );
6778 }
6779 return resultobj;
6780fail:
6781 {
6782 Py_CLEAR( tmp1 );
6783 }
6784 {
6785 Py_CLEAR( tmp3 );
6786 }
6787 {
6788 Py_CLEAR( tmp4 );
6789 }
6790 return NULL;
6791}
6792
6793
6794SWIGINTERN PyObject *_wrap_plfamadv(PyObject *self, PyObject *args) {
6795 PyObject *resultobj = 0;
6796
6797 (void)self;
6798 if (!SWIG_Python_UnpackTuple(args, "plfamadv", 0, 0, 0)) SWIG_fail;
6799 plfamadv();
6800 resultobj = SWIG_Py_Void();
6801 return resultobj;
6802fail:
6803 return NULL;
6804}
6805
6806
6807SWIGINTERN PyObject *_wrap_plfill(PyObject *self, PyObject *args) {
6808 PyObject *resultobj = 0;
6809 PLINT arg1 ;
6810 PLFLT *arg2 = 0 ;
6811 PLFLT *arg3 = 0 ;
6812 PyArrayObject *tmp1 = NULL ;
6813 PyArrayObject *tmp3 = NULL ;
6814 PyObject *swig_obj[2] ;
6815
6816 (void)self;
6817 if (!SWIG_Python_UnpackTuple(args, "plfill", 2, 2, swig_obj)) SWIG_fail;
6818 {
6819 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
6820 if ( tmp1 == NULL )
6821 return NULL;
6822 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6823 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6824 }
6825 {
6826 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
6827 if ( tmp3 == NULL )
6828 return NULL;
6829 if ( PyArray_DIMS( tmp3 )[0] != Alen )
6830 {
6831 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6832 return NULL;
6833 }
6834 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6835 }
6836 plfill(arg1,(double const *)arg2,(double const *)arg3);
6837 resultobj = SWIG_Py_Void();
6838 {
6839 Py_CLEAR( tmp1 );
6840 }
6841 {
6842 Py_CLEAR( tmp3 );
6843 }
6844 return resultobj;
6845fail:
6846 {
6847 Py_CLEAR( tmp1 );
6848 }
6849 {
6850 Py_CLEAR( tmp3 );
6851 }
6852 return NULL;
6853}
6854
6855
6856SWIGINTERN PyObject *_wrap_plfill3(PyObject *self, PyObject *args) {
6857 PyObject *resultobj = 0;
6858 PLINT arg1 ;
6859 PLFLT *arg2 = 0 ;
6860 PLFLT *arg3 = 0 ;
6861 PLFLT *arg4 = 0 ;
6862 PyArrayObject *tmp1 = NULL ;
6863 PyArrayObject *tmp3 = NULL ;
6864 PyArrayObject *tmp4 = NULL ;
6865 PyObject *swig_obj[3] ;
6866
6867 (void)self;
6868 if (!SWIG_Python_UnpackTuple(args, "plfill3", 3, 3, swig_obj)) SWIG_fail;
6869 {
6870 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
6871 if ( tmp1 == NULL )
6872 return NULL;
6873 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6874 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6875 }
6876 {
6877 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
6878 if ( tmp3 == NULL )
6879 return NULL;
6880 if ( PyArray_DIMS( tmp3 )[0] != Alen )
6881 {
6882 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6883 return NULL;
6884 }
6885 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6886 }
6887 {
6888 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
6889 if ( tmp4 == NULL )
6890 return NULL;
6891 if ( PyArray_DIMS( tmp4 )[0] != Alen )
6892 {
6893 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6894 return NULL;
6895 }
6896 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
6897 }
6898 plfill3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
6899 resultobj = SWIG_Py_Void();
6900 {
6901 Py_CLEAR( tmp1 );
6902 }
6903 {
6904 Py_CLEAR( tmp3 );
6905 }
6906 {
6907 Py_CLEAR( tmp4 );
6908 }
6909 return resultobj;
6910fail:
6911 {
6912 Py_CLEAR( tmp1 );
6913 }
6914 {
6915 Py_CLEAR( tmp3 );
6916 }
6917 {
6918 Py_CLEAR( tmp4 );
6919 }
6920 return NULL;
6921}
6922
6923
6924SWIGINTERN PyObject *_wrap_plgradient(PyObject *self, PyObject *args) {
6925 PyObject *resultobj = 0;
6926 PLINT arg1 ;
6927 PLFLT *arg2 = 0 ;
6928 PLFLT *arg3 = 0 ;
6929 PLFLT arg4 ;
6930 PyArrayObject *tmp1 = NULL ;
6931 PyArrayObject *tmp3 = NULL ;
6932 double val4 ;
6933 int ecode4 = 0 ;
6934 PyObject *swig_obj[3] ;
6935
6936 (void)self;
6937 if (!SWIG_Python_UnpackTuple(args, "plgradient", 3, 3, swig_obj)) SWIG_fail;
6938 {
6939 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
6940 if ( tmp1 == NULL )
6941 return NULL;
6942 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6943 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6944 }
6945 {
6946 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
6947 if ( tmp3 == NULL )
6948 return NULL;
6949 if ( PyArray_DIMS( tmp3 )[0] != Alen )
6950 {
6951 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6952 return NULL;
6953 }
6954 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6955 }
6956 ecode4 = SWIG_AsVal_double(swig_obj[2], &val4);
6957 if (!SWIG_IsOK(ecode4)) {
6958 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plgradient" "', argument " "4"" of type '" "PLFLT""'");
6959 }
6960 arg4 = (PLFLT)(val4);
6961 plgradient(arg1,(double const *)arg2,(double const *)arg3,arg4);
6962 resultobj = SWIG_Py_Void();
6963 {
6964 Py_CLEAR( tmp1 );
6965 }
6966 {
6967 Py_CLEAR( tmp3 );
6968 }
6969 return resultobj;
6970fail:
6971 {
6972 Py_CLEAR( tmp1 );
6973 }
6974 {
6975 Py_CLEAR( tmp3 );
6976 }
6977 return NULL;
6978}
6979
6980
6981SWIGINTERN PyObject *_wrap_plflush(PyObject *self, PyObject *args) {
6982 PyObject *resultobj = 0;
6983
6984 (void)self;
6985 if (!SWIG_Python_UnpackTuple(args, "plflush", 0, 0, 0)) SWIG_fail;
6986 plflush();
6987 resultobj = SWIG_Py_Void();
6988 return resultobj;
6989fail:
6990 return NULL;
6991}
6992
6993
6994SWIGINTERN PyObject *_wrap_plfont(PyObject *self, PyObject *args) {
6995 PyObject *resultobj = 0;
6996 PLINT arg1 ;
6997 int val1 ;
6998 int ecode1 = 0 ;
6999 PyObject *swig_obj[1] ;
7000
7001 (void)self;
7002 if (!args) SWIG_fail;
7003 swig_obj[0] = args;
7004 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
7005 if (!SWIG_IsOK(ecode1)) {
7006 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plfont" "', argument " "1"" of type '" "PLINT""'");
7007 }
7008 arg1 = (PLINT)(val1);
7009 plfont(arg1);
7010 resultobj = SWIG_Py_Void();
7011 return resultobj;
7012fail:
7013 return NULL;
7014}
7015
7016
7017SWIGINTERN PyObject *_wrap_plfontld(PyObject *self, PyObject *args) {
7018 PyObject *resultobj = 0;
7019 PLINT arg1 ;
7020 int val1 ;
7021 int ecode1 = 0 ;
7022 PyObject *swig_obj[1] ;
7023
7024 (void)self;
7025 if (!args) SWIG_fail;
7026 swig_obj[0] = args;
7027 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
7028 if (!SWIG_IsOK(ecode1)) {
7029 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plfontld" "', argument " "1"" of type '" "PLINT""'");
7030 }
7031 arg1 = (PLINT)(val1);
7032 plfontld(arg1);
7033 resultobj = SWIG_Py_Void();
7034 return resultobj;
7035fail:
7036 return NULL;
7037}
7038
7039
7040SWIGINTERN PyObject *_wrap_plgchr(PyObject *self, PyObject *args) {
7041 PyObject *resultobj = 0;
7042 PLFLT *arg1 = 0 ;
7043 PLFLT *arg2 = 0 ;
7044 PLFLT temp1 ;
7045 int res1 = SWIG_TMPOBJ ;
7046 PLFLT temp2 ;
7047 int res2 = SWIG_TMPOBJ ;
7048
7049 arg1 = &temp1;
7050 arg2 = &temp2;
7051 (void)self;
7052 if (!SWIG_Python_UnpackTuple(args, "plgchr", 0, 0, 0)) SWIG_fail;
7053 plgchr(arg1,arg2);
7054 resultobj = SWIG_Py_Void();
7055 if (SWIG_IsTmpObj(res1)) {
7056 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*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_double, new_flags), 1);
7060 }
7061 if (SWIG_IsTmpObj(res2)) {
7062 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*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_double, new_flags), 1);
7066 }
7067 return resultobj;
7068fail:
7069 return NULL;
7070}
7071
7072
7073SWIGINTERN PyObject *_wrap_plgcol0(PyObject *self, PyObject *args) {
7074 PyObject *resultobj = 0;
7075 PLINT arg1 ;
7076 PLINT *arg2 = 0 ;
7077 PLINT *arg3 = 0 ;
7078 PLINT *arg4 = 0 ;
7079 int val1 ;
7080 int ecode1 = 0 ;
7081 PLINT temp2 ;
7082 int res2 = SWIG_TMPOBJ ;
7083 PLINT temp3 ;
7084 int res3 = SWIG_TMPOBJ ;
7085 PLINT temp4 ;
7086 int res4 = SWIG_TMPOBJ ;
7087 PyObject *swig_obj[1] ;
7088
7089 arg2 = &temp2;
7090 arg3 = &temp3;
7091 arg4 = &temp4;
7092 (void)self;
7093 if (!args) SWIG_fail;
7094 swig_obj[0] = args;
7095 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
7096 if (!SWIG_IsOK(ecode1)) {
7097 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plgcol0" "', argument " "1"" of type '" "PLINT""'");
7098 }
7099 arg1 = (PLINT)(val1);
7100 plgcol0(arg1,arg2,arg3,arg4);
7101 resultobj = SWIG_Py_Void();
7102 if (SWIG_IsTmpObj(res2)) {
7103 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7104 } else {
7105 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7106 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7107 }
7108 if (SWIG_IsTmpObj(res3)) {
7109 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
7110 } else {
7111 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7112 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
7113 }
7114 if (SWIG_IsTmpObj(res4)) {
7115 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)), 1);
7116 } else {
7117 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7118 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags), 1);
7119 }
7120 return resultobj;
7121fail:
7122 return NULL;
7123}
7124
7125
7126SWIGINTERN PyObject *_wrap_plgcol0a(PyObject *self, PyObject *args) {
7127 PyObject *resultobj = 0;
7128 PLINT arg1 ;
7129 PLINT *arg2 = 0 ;
7130 PLINT *arg3 = 0 ;
7131 PLINT *arg4 = 0 ;
7132 PLFLT *arg5 = 0 ;
7133 int val1 ;
7134 int ecode1 = 0 ;
7135 PLINT temp2 ;
7136 int res2 = SWIG_TMPOBJ ;
7137 PLINT temp3 ;
7138 int res3 = SWIG_TMPOBJ ;
7139 PLINT temp4 ;
7140 int res4 = SWIG_TMPOBJ ;
7141 PLFLT temp5 ;
7142 int res5 = SWIG_TMPOBJ ;
7143 PyObject *swig_obj[1] ;
7144
7145 arg2 = &temp2;
7146 arg3 = &temp3;
7147 arg4 = &temp4;
7148 arg5 = &temp5;
7149 (void)self;
7150 if (!args) SWIG_fail;
7151 swig_obj[0] = args;
7152 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
7153 if (!SWIG_IsOK(ecode1)) {
7154 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plgcol0a" "', argument " "1"" of type '" "PLINT""'");
7155 }
7156 arg1 = (PLINT)(val1);
7157 plgcol0a(arg1,arg2,arg3,arg4,arg5);
7158 resultobj = SWIG_Py_Void();
7159 if (SWIG_IsTmpObj(res2)) {
7160 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*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_int, new_flags), 1);
7164 }
7165 if (SWIG_IsTmpObj(res3)) {
7166 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*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_int, new_flags), 1);
7170 }
7171 if (SWIG_IsTmpObj(res4)) {
7172 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*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_int, new_flags), 1);
7176 }
7177 if (SWIG_IsTmpObj(res5)) {
7178 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg5)), 1);
7179 } else {
7180 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7181 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags), 1);
7182 }
7183 return resultobj;
7184fail:
7185 return NULL;
7186}
7187
7188
7189SWIGINTERN PyObject *_wrap_plgcolbg(PyObject *self, PyObject *args) {
7190 PyObject *resultobj = 0;
7191 PLINT *arg1 = 0 ;
7192 PLINT *arg2 = 0 ;
7193 PLINT *arg3 = 0 ;
7194 PLINT temp1 ;
7195 int res1 = SWIG_TMPOBJ ;
7196 PLINT temp2 ;
7197 int res2 = SWIG_TMPOBJ ;
7198 PLINT temp3 ;
7199 int res3 = SWIG_TMPOBJ ;
7200
7201 arg1 = &temp1;
7202 arg2 = &temp2;
7203 arg3 = &temp3;
7204 (void)self;
7205 if (!SWIG_Python_UnpackTuple(args, "plgcolbg", 0, 0, 0)) SWIG_fail;
7206 plgcolbg(arg1,arg2,arg3);
7207 resultobj = SWIG_Py_Void();
7208 if (SWIG_IsTmpObj(res1)) {
7209 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7210 } else {
7211 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7212 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7213 }
7214 if (SWIG_IsTmpObj(res2)) {
7215 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7216 } else {
7217 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7218 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7219 }
7220 if (SWIG_IsTmpObj(res3)) {
7221 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
7222 } else {
7223 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7224 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
7225 }
7226 return resultobj;
7227fail:
7228 return NULL;
7229}
7230
7231
7232SWIGINTERN PyObject *_wrap_plgcolbga(PyObject *self, PyObject *args) {
7233 PyObject *resultobj = 0;
7234 PLINT *arg1 = 0 ;
7235 PLINT *arg2 = 0 ;
7236 PLINT *arg3 = 0 ;
7237 PLFLT *arg4 = 0 ;
7238 PLINT temp1 ;
7239 int res1 = SWIG_TMPOBJ ;
7240 PLINT temp2 ;
7241 int res2 = SWIG_TMPOBJ ;
7242 PLINT temp3 ;
7243 int res3 = SWIG_TMPOBJ ;
7244 PLFLT temp4 ;
7245 int res4 = SWIG_TMPOBJ ;
7246
7247 arg1 = &temp1;
7248 arg2 = &temp2;
7249 arg3 = &temp3;
7250 arg4 = &temp4;
7251 (void)self;
7252 if (!SWIG_Python_UnpackTuple(args, "plgcolbga", 0, 0, 0)) SWIG_fail;
7253 plgcolbga(arg1,arg2,arg3,arg4);
7254 resultobj = SWIG_Py_Void();
7255 if (SWIG_IsTmpObj(res1)) {
7256 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7257 } else {
7258 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7259 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7260 }
7261 if (SWIG_IsTmpObj(res2)) {
7262 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7263 } else {
7264 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7265 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7266 }
7267 if (SWIG_IsTmpObj(res3)) {
7268 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
7269 } else {
7270 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7271 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
7272 }
7273 if (SWIG_IsTmpObj(res4)) {
7274 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7275 } else {
7276 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7277 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7278 }
7279 return resultobj;
7280fail:
7281 return NULL;
7282}
7283
7284
7285SWIGINTERN PyObject *_wrap_plgcompression(PyObject *self, PyObject *args) {
7286 PyObject *resultobj = 0;
7287 PLINT *arg1 = 0 ;
7288 PLINT temp1 ;
7289 int res1 = SWIG_TMPOBJ ;
7290
7291 arg1 = &temp1;
7292 (void)self;
7293 if (!SWIG_Python_UnpackTuple(args, "plgcompression", 0, 0, 0)) SWIG_fail;
7294 plgcompression(arg1);
7295 resultobj = SWIG_Py_Void();
7296 if (SWIG_IsTmpObj(res1)) {
7297 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7298 } else {
7299 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7300 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7301 }
7302 return resultobj;
7303fail:
7304 return NULL;
7305}
7306
7307
7308SWIGINTERN PyObject *_wrap_plgdev(PyObject *self, PyObject *args) {
7309 PyObject *resultobj = 0;
7310 char *arg1 = 0 ;
7311 char buff1[1000] ;
7312
7313 {
7314 arg1 = buff1;
7315 }
7316 (void)self;
7317 if (!SWIG_Python_UnpackTuple(args, "plgdev", 0, 0, 0)) SWIG_fail;
7318 plgdev(arg1);
7319 resultobj = SWIG_Py_Void();
7320 {
7321 PyObject *o = PyString_FromString( arg1 );
7322 resultobj = SWIG_Python_AppendOutput(resultobj, o, 1);
7323 }
7324 return resultobj;
7325fail:
7326 return NULL;
7327}
7328
7329
7330SWIGINTERN PyObject *_wrap_plgdidev(PyObject *self, PyObject *args) {
7331 PyObject *resultobj = 0;
7332 PLFLT *arg1 = 0 ;
7333 PLFLT *arg2 = 0 ;
7334 PLFLT *arg3 = 0 ;
7335 PLFLT *arg4 = 0 ;
7336 PLFLT temp1 ;
7337 int res1 = SWIG_TMPOBJ ;
7338 PLFLT temp2 ;
7339 int res2 = SWIG_TMPOBJ ;
7340 PLFLT temp3 ;
7341 int res3 = SWIG_TMPOBJ ;
7342 PLFLT temp4 ;
7343 int res4 = SWIG_TMPOBJ ;
7344
7345 arg1 = &temp1;
7346 arg2 = &temp2;
7347 arg3 = &temp3;
7348 arg4 = &temp4;
7349 (void)self;
7350 if (!SWIG_Python_UnpackTuple(args, "plgdidev", 0, 0, 0)) SWIG_fail;
7351 plgdidev(arg1,arg2,arg3,arg4);
7352 resultobj = SWIG_Py_Void();
7353 if (SWIG_IsTmpObj(res1)) {
7354 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7355 } else {
7356 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7357 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7358 }
7359 if (SWIG_IsTmpObj(res2)) {
7360 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7361 } else {
7362 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7363 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7364 }
7365 if (SWIG_IsTmpObj(res3)) {
7366 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
7367 } else {
7368 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7369 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
7370 }
7371 if (SWIG_IsTmpObj(res4)) {
7372 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7373 } else {
7374 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7375 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7376 }
7377 return resultobj;
7378fail:
7379 return NULL;
7380}
7381
7382
7383SWIGINTERN PyObject *_wrap_plgdiori(PyObject *self, PyObject *args) {
7384 PyObject *resultobj = 0;
7385 PLFLT *arg1 = 0 ;
7386 PLFLT temp1 ;
7387 int res1 = SWIG_TMPOBJ ;
7388
7389 arg1 = &temp1;
7390 (void)self;
7391 if (!SWIG_Python_UnpackTuple(args, "plgdiori", 0, 0, 0)) SWIG_fail;
7392 plgdiori(arg1);
7393 resultobj = SWIG_Py_Void();
7394 if (SWIG_IsTmpObj(res1)) {
7395 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7396 } else {
7397 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7398 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7399 }
7400 return resultobj;
7401fail:
7402 return NULL;
7403}
7404
7405
7406SWIGINTERN PyObject *_wrap_plgdiplt(PyObject *self, PyObject *args) {
7407 PyObject *resultobj = 0;
7408 PLFLT *arg1 = 0 ;
7409 PLFLT *arg2 = 0 ;
7410 PLFLT *arg3 = 0 ;
7411 PLFLT *arg4 = 0 ;
7412 PLFLT temp1 ;
7413 int res1 = SWIG_TMPOBJ ;
7414 PLFLT temp2 ;
7415 int res2 = SWIG_TMPOBJ ;
7416 PLFLT temp3 ;
7417 int res3 = SWIG_TMPOBJ ;
7418 PLFLT temp4 ;
7419 int res4 = SWIG_TMPOBJ ;
7420
7421 arg1 = &temp1;
7422 arg2 = &temp2;
7423 arg3 = &temp3;
7424 arg4 = &temp4;
7425 (void)self;
7426 if (!SWIG_Python_UnpackTuple(args, "plgdiplt", 0, 0, 0)) SWIG_fail;
7427 plgdiplt(arg1,arg2,arg3,arg4);
7428 resultobj = SWIG_Py_Void();
7429 if (SWIG_IsTmpObj(res1)) {
7430 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7431 } else {
7432 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7433 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7434 }
7435 if (SWIG_IsTmpObj(res2)) {
7436 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7437 } else {
7438 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7439 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7440 }
7441 if (SWIG_IsTmpObj(res3)) {
7442 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
7443 } else {
7444 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7445 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
7446 }
7447 if (SWIG_IsTmpObj(res4)) {
7448 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7449 } else {
7450 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7451 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7452 }
7453 return resultobj;
7454fail:
7455 return NULL;
7456}
7457
7458
7459SWIGINTERN PyObject *_wrap_plgfam(PyObject *self, PyObject *args) {
7460 PyObject *resultobj = 0;
7461 PLINT *arg1 = 0 ;
7462 PLINT *arg2 = 0 ;
7463 PLINT *arg3 = 0 ;
7464 PLINT temp1 ;
7465 int res1 = SWIG_TMPOBJ ;
7466 PLINT temp2 ;
7467 int res2 = SWIG_TMPOBJ ;
7468 PLINT temp3 ;
7469 int res3 = SWIG_TMPOBJ ;
7470
7471 arg1 = &temp1;
7472 arg2 = &temp2;
7473 arg3 = &temp3;
7474 (void)self;
7475 if (!SWIG_Python_UnpackTuple(args, "plgfam", 0, 0, 0)) SWIG_fail;
7476 plgfam(arg1,arg2,arg3);
7477 resultobj = SWIG_Py_Void();
7478 if (SWIG_IsTmpObj(res1)) {
7479 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7480 } else {
7481 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7482 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7483 }
7484 if (SWIG_IsTmpObj(res2)) {
7485 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7486 } else {
7487 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7488 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7489 }
7490 if (SWIG_IsTmpObj(res3)) {
7491 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
7492 } else {
7493 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7494 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
7495 }
7496 return resultobj;
7497fail:
7498 return NULL;
7499}
7500
7501
7502SWIGINTERN PyObject *_wrap_plgfci(PyObject *self, PyObject *args) {
7503 PyObject *resultobj = 0;
7504 PLUNICODE *arg1 = 0 ;
7505 PLUNICODE temp1 ;
7506 int res1 = SWIG_TMPOBJ ;
7507
7508 arg1 = &temp1;
7509 (void)self;
7510 if (!SWIG_Python_UnpackTuple(args, "plgfci", 0, 0, 0)) SWIG_fail;
7511 plgfci(arg1);
7512 resultobj = SWIG_Py_Void();
7513 if (SWIG_IsTmpObj(res1)) {
7514 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_int((*arg1)), 1);
7515 } else {
7516 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7517 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_unsigned_int, new_flags), 1);
7518 }
7519 return resultobj;
7520fail:
7521 return NULL;
7522}
7523
7524
7525SWIGINTERN PyObject *_wrap_plgfnam(PyObject *self, PyObject *args) {
7526 PyObject *resultobj = 0;
7527 char *arg1 = 0 ;
7528 char buff1[1000] ;
7529
7530 {
7531 arg1 = buff1;
7532 }
7533 (void)self;
7534 if (!SWIG_Python_UnpackTuple(args, "plgfnam", 0, 0, 0)) SWIG_fail;
7535 plgfnam(arg1);
7536 resultobj = SWIG_Py_Void();
7537 {
7538 PyObject *o = PyString_FromString( arg1 );
7539 resultobj = SWIG_Python_AppendOutput(resultobj, o, 1);
7540 }
7541 return resultobj;
7542fail:
7543 return NULL;
7544}
7545
7546
7547SWIGINTERN PyObject *_wrap_plgfont(PyObject *self, PyObject *args) {
7548 PyObject *resultobj = 0;
7549 PLINT *arg1 = 0 ;
7550 PLINT *arg2 = 0 ;
7551 PLINT *arg3 = 0 ;
7552 PLINT temp1 ;
7553 int res1 = SWIG_TMPOBJ ;
7554 PLINT temp2 ;
7555 int res2 = SWIG_TMPOBJ ;
7556 PLINT temp3 ;
7557 int res3 = SWIG_TMPOBJ ;
7558
7559 arg1 = &temp1;
7560 arg2 = &temp2;
7561 arg3 = &temp3;
7562 (void)self;
7563 if (!SWIG_Python_UnpackTuple(args, "plgfont", 0, 0, 0)) SWIG_fail;
7564 plgfont(arg1,arg2,arg3);
7565 resultobj = SWIG_Py_Void();
7566 if (SWIG_IsTmpObj(res1)) {
7567 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7568 } else {
7569 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7570 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7571 }
7572 if (SWIG_IsTmpObj(res2)) {
7573 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7574 } else {
7575 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7576 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7577 }
7578 if (SWIG_IsTmpObj(res3)) {
7579 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
7580 } else {
7581 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7582 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
7583 }
7584 return resultobj;
7585fail:
7586 return NULL;
7587}
7588
7589
7590SWIGINTERN PyObject *_wrap_plglevel(PyObject *self, PyObject *args) {
7591 PyObject *resultobj = 0;
7592 PLINT *arg1 = 0 ;
7593 PLINT temp1 ;
7594 int res1 = SWIG_TMPOBJ ;
7595
7596 arg1 = &temp1;
7597 (void)self;
7598 if (!SWIG_Python_UnpackTuple(args, "plglevel", 0, 0, 0)) SWIG_fail;
7599 plglevel(arg1);
7600 resultobj = SWIG_Py_Void();
7601 if (SWIG_IsTmpObj(res1)) {
7602 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7603 } else {
7604 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7605 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7606 }
7607 return resultobj;
7608fail:
7609 return NULL;
7610}
7611
7612
7613SWIGINTERN PyObject *_wrap_plgpage(PyObject *self, PyObject *args) {
7614 PyObject *resultobj = 0;
7615 PLFLT *arg1 = 0 ;
7616 PLFLT *arg2 = 0 ;
7617 PLINT *arg3 = 0 ;
7618 PLINT *arg4 = 0 ;
7619 PLINT *arg5 = 0 ;
7620 PLINT *arg6 = 0 ;
7621 PLFLT temp1 ;
7622 int res1 = SWIG_TMPOBJ ;
7623 PLFLT temp2 ;
7624 int res2 = SWIG_TMPOBJ ;
7625 PLINT temp3 ;
7626 int res3 = SWIG_TMPOBJ ;
7627 PLINT temp4 ;
7628 int res4 = SWIG_TMPOBJ ;
7629 PLINT temp5 ;
7630 int res5 = SWIG_TMPOBJ ;
7631 PLINT temp6 ;
7632 int res6 = SWIG_TMPOBJ ;
7633
7634 arg1 = &temp1;
7635 arg2 = &temp2;
7636 arg3 = &temp3;
7637 arg4 = &temp4;
7638 arg5 = &temp5;
7639 arg6 = &temp6;
7640 (void)self;
7641 if (!SWIG_Python_UnpackTuple(args, "plgpage", 0, 0, 0)) SWIG_fail;
7642 plgpage(arg1,arg2,arg3,arg4,arg5,arg6);
7643 resultobj = SWIG_Py_Void();
7644 if (SWIG_IsTmpObj(res1)) {
7645 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7646 } else {
7647 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7648 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7649 }
7650 if (SWIG_IsTmpObj(res2)) {
7651 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7652 } else {
7653 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7654 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7655 }
7656 if (SWIG_IsTmpObj(res3)) {
7657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
7658 } else {
7659 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7660 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
7661 }
7662 if (SWIG_IsTmpObj(res4)) {
7663 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)), 1);
7664 } else {
7665 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7666 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags), 1);
7667 }
7668 if (SWIG_IsTmpObj(res5)) {
7669 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)), 1);
7670 } else {
7671 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7672 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags), 1);
7673 }
7674 if (SWIG_IsTmpObj(res6)) {
7675 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg6)), 1);
7676 } else {
7677 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7678 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, new_flags), 1);
7679 }
7680 return resultobj;
7681fail:
7682 return NULL;
7683}
7684
7685
7686SWIGINTERN PyObject *_wrap_plgra(PyObject *self, PyObject *args) {
7687 PyObject *resultobj = 0;
7688
7689 (void)self;
7690 if (!SWIG_Python_UnpackTuple(args, "plgra", 0, 0, 0)) SWIG_fail;
7691 plgra();
7692 resultobj = SWIG_Py_Void();
7693 return resultobj;
7694fail:
7695 return NULL;
7696}
7697
7698
7699SWIGINTERN PyObject *_wrap_plgriddata(PyObject *self, PyObject *args) {
7700 PyObject *resultobj = 0;
7701 PLFLT *arg1 = 0 ;
7702 PLFLT *arg2 = 0 ;
7703 PLFLT *arg3 = 0 ;
7704 PLINT arg4 ;
7705 PLFLT *arg5 = 0 ;
7706 PLINT arg6 ;
7707 PLFLT *arg7 = 0 ;
7708 PLINT arg8 ;
7709 PLFLT **arg9 = 0 ;
7710 PLINT arg10 ;
7711 PLFLT arg11 ;
7712 PyArrayObject *tmp1 = NULL ;
7713 PyArrayObject *tmp2 = NULL ;
7714 PyArrayObject *tmp3 = NULL ;
7715 PyArrayObject *tmp5 = NULL ;
7716 PyArrayObject *tmp7 = NULL ;
7717 PyObject *array7 = NULL ;
7718 int val10 ;
7719 int ecode10 = 0 ;
7720 double val11 ;
7721 int ecode11 = 0 ;
7722 PyObject *swig_obj[7] ;
7723
7724 (void)self;
7725 if (!SWIG_Python_UnpackTuple(args, "plgriddata", 7, 7, swig_obj)) SWIG_fail;
7726 {
7727 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
7728 if ( tmp1 == NULL )
7729 return NULL;
7730 Alen = PyArray_DIMS( tmp1 )[0];
7731 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
7732 }
7733 {
7734 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
7735 if ( tmp2 == NULL )
7736 return NULL;
7737 if ( PyArray_DIMS( tmp2 )[0] != Alen )
7738 {
7739 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
7740 return NULL;
7741 }
7742 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
7743 }
7744 {
7745 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
7746 if ( tmp3 == NULL )
7747 return NULL;
7748 if ( PyArray_DIMS( tmp3 )[0] != Alen )
7749 {
7750 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
7751 return NULL;
7752 }
7753 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
7754 arg4 = PyArray_DIMS( tmp3 )[0];
7755 }
7756 {
7757 tmp5 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[3], NPY_PLFLT, 1, 1 );
7758 if ( tmp5 == NULL )
7759 return NULL;
7760 Xlen = PyArray_DIMS( tmp5 )[0];
7761 arg6 = Xlen;
7762 arg5 = (PLFLT *) PyArray_DATA( tmp5 );
7763 }
7764 {
7765 int i, size;
7766 npy_intp dims[2];
7767 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
7768 if ( tmp7 == NULL )
7769 return NULL;
7770 Ylen = PyArray_DIMS( tmp7 )[0];
7771 arg8 = Ylen;
7772 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
7773 // Make created 2D array7 have dimensions from prior ArrayX in the argument
7774 // list and this ArrayY.
7775 dims[0] = Xlen;
7776 dims[1] = Ylen;
7777 array7 = PyArray_SimpleNew( 2, dims, NPY_PLFLT );
7778 if ( !array7 )
7779 return NULL;
7780 size = Ylen;
7781 arg9 = (PLFLT **) malloc( sizeof ( double * ) * (size_t) Xlen );
7782 for ( i = 0; i < Xlen; i++ )
7783 arg9[i] = ( (PLFLT *) PyArray_DATA( (PyArrayObject *) array7 ) + i * size );
7784 }
7785 ecode10 = SWIG_AsVal_int(swig_obj[5], &val10);
7786 if (!SWIG_IsOK(ecode10)) {
7787 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plgriddata" "', argument " "10"" of type '" "PLINT""'");
7788 }
7789 arg10 = (PLINT)(val10);
7790 ecode11 = SWIG_AsVal_double(swig_obj[6], &val11);
7791 if (!SWIG_IsOK(ecode11)) {
7792 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plgriddata" "', argument " "11"" of type '" "PLFLT""'");
7793 }
7794 arg11 = (PLFLT)(val11);
7795 plgriddata((double const *)arg1,(double const *)arg2,(double const *)arg3,arg4,(double const *)arg5,arg6,(double const *)arg7,arg8,arg9,arg10,arg11);
7796 resultobj = SWIG_Py_Void();
7797 {
7798 resultobj = SWIG_Python_AppendOutput(resultobj, array7, 1);
7799 }
7800 {
7801 Py_CLEAR( tmp1 );
7802 }
7803 {
7804 Py_CLEAR( tmp2 );
7805 }
7806 {
7807 Py_CLEAR( tmp3 );
7808 }
7809 {
7810 Py_CLEAR( tmp5 );
7811 }
7812 {
7813 Py_CLEAR( tmp7 );
7814 free( arg9 );
7815 }
7816 return resultobj;
7817fail:
7818 {
7819 Py_CLEAR( tmp1 );
7820 }
7821 {
7822 Py_CLEAR( tmp2 );
7823 }
7824 {
7825 Py_CLEAR( tmp3 );
7826 }
7827 {
7828 Py_CLEAR( tmp5 );
7829 }
7830 {
7831 Py_CLEAR( tmp7 );
7832 free( arg9 );
7833 }
7834 return NULL;
7835}
7836
7837
7838SWIGINTERN PyObject *_wrap_plgspa(PyObject *self, PyObject *args) {
7839 PyObject *resultobj = 0;
7840 PLFLT *arg1 = 0 ;
7841 PLFLT *arg2 = 0 ;
7842 PLFLT *arg3 = 0 ;
7843 PLFLT *arg4 = 0 ;
7844 PLFLT temp1 ;
7845 int res1 = SWIG_TMPOBJ ;
7846 PLFLT temp2 ;
7847 int res2 = SWIG_TMPOBJ ;
7848 PLFLT temp3 ;
7849 int res3 = SWIG_TMPOBJ ;
7850 PLFLT temp4 ;
7851 int res4 = SWIG_TMPOBJ ;
7852
7853 arg1 = &temp1;
7854 arg2 = &temp2;
7855 arg3 = &temp3;
7856 arg4 = &temp4;
7857 (void)self;
7858 if (!SWIG_Python_UnpackTuple(args, "plgspa", 0, 0, 0)) SWIG_fail;
7859 plgspa(arg1,arg2,arg3,arg4);
7860 resultobj = SWIG_Py_Void();
7861 if (SWIG_IsTmpObj(res1)) {
7862 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7863 } else {
7864 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7865 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7866 }
7867 if (SWIG_IsTmpObj(res2)) {
7868 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7869 } else {
7870 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7871 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7872 }
7873 if (SWIG_IsTmpObj(res3)) {
7874 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
7875 } else {
7876 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7877 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
7878 }
7879 if (SWIG_IsTmpObj(res4)) {
7880 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7881 } else {
7882 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7883 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7884 }
7885 return resultobj;
7886fail:
7887 return NULL;
7888}
7889
7890
7891SWIGINTERN PyObject *_wrap_plgstrm(PyObject *self, PyObject *args) {
7892 PyObject *resultobj = 0;
7893 PLINT *arg1 = 0 ;
7894 PLINT temp1 ;
7895 int res1 = SWIG_TMPOBJ ;
7896
7897 arg1 = &temp1;
7898 (void)self;
7899 if (!SWIG_Python_UnpackTuple(args, "plgstrm", 0, 0, 0)) SWIG_fail;
7900 plgstrm(arg1);
7901 resultobj = SWIG_Py_Void();
7902 if (SWIG_IsTmpObj(res1)) {
7903 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7904 } else {
7905 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7906 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7907 }
7908 return resultobj;
7909fail:
7910 return NULL;
7911}
7912
7913
7914SWIGINTERN PyObject *_wrap_plgver(PyObject *self, PyObject *args) {
7915 PyObject *resultobj = 0;
7916 char *arg1 = 0 ;
7917 char buff1[1000] ;
7918
7919 {
7920 arg1 = buff1;
7921 }
7922 (void)self;
7923 if (!SWIG_Python_UnpackTuple(args, "plgver", 0, 0, 0)) SWIG_fail;
7924 plgver(arg1);
7925 resultobj = SWIG_Py_Void();
7926 {
7927 PyObject *o = PyString_FromString( arg1 );
7928 resultobj = SWIG_Python_AppendOutput(resultobj, o, 1);
7929 }
7930 return resultobj;
7931fail:
7932 return NULL;
7933}
7934
7935
7936SWIGINTERN PyObject *_wrap_plgvpd(PyObject *self, PyObject *args) {
7937 PyObject *resultobj = 0;
7938 PLFLT *arg1 = 0 ;
7939 PLFLT *arg2 = 0 ;
7940 PLFLT *arg3 = 0 ;
7941 PLFLT *arg4 = 0 ;
7942 PLFLT temp1 ;
7943 int res1 = SWIG_TMPOBJ ;
7944 PLFLT temp2 ;
7945 int res2 = SWIG_TMPOBJ ;
7946 PLFLT temp3 ;
7947 int res3 = SWIG_TMPOBJ ;
7948 PLFLT temp4 ;
7949 int res4 = SWIG_TMPOBJ ;
7950
7951 arg1 = &temp1;
7952 arg2 = &temp2;
7953 arg3 = &temp3;
7954 arg4 = &temp4;
7955 (void)self;
7956 if (!SWIG_Python_UnpackTuple(args, "plgvpd", 0, 0, 0)) SWIG_fail;
7957 plgvpd(arg1,arg2,arg3,arg4);
7958 resultobj = SWIG_Py_Void();
7959 if (SWIG_IsTmpObj(res1)) {
7960 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7961 } else {
7962 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7963 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7964 }
7965 if (SWIG_IsTmpObj(res2)) {
7966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7967 } else {
7968 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7969 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7970 }
7971 if (SWIG_IsTmpObj(res3)) {
7972 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
7973 } else {
7974 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7975 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
7976 }
7977 if (SWIG_IsTmpObj(res4)) {
7978 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7979 } else {
7980 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7981 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7982 }
7983 return resultobj;
7984fail:
7985 return NULL;
7986}
7987
7988
7989SWIGINTERN PyObject *_wrap_plgvpw(PyObject *self, PyObject *args) {
7990 PyObject *resultobj = 0;
7991 PLFLT *arg1 = 0 ;
7992 PLFLT *arg2 = 0 ;
7993 PLFLT *arg3 = 0 ;
7994 PLFLT *arg4 = 0 ;
7995 PLFLT temp1 ;
7996 int res1 = SWIG_TMPOBJ ;
7997 PLFLT temp2 ;
7998 int res2 = SWIG_TMPOBJ ;
7999 PLFLT temp3 ;
8000 int res3 = SWIG_TMPOBJ ;
8001 PLFLT temp4 ;
8002 int res4 = SWIG_TMPOBJ ;
8003
8004 arg1 = &temp1;
8005 arg2 = &temp2;
8006 arg3 = &temp3;
8007 arg4 = &temp4;
8008 (void)self;
8009 if (!SWIG_Python_UnpackTuple(args, "plgvpw", 0, 0, 0)) SWIG_fail;
8010 plgvpw(arg1,arg2,arg3,arg4);
8011 resultobj = SWIG_Py_Void();
8012 if (SWIG_IsTmpObj(res1)) {
8013 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
8014 } else {
8015 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8016 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
8017 }
8018 if (SWIG_IsTmpObj(res2)) {
8019 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
8020 } else {
8021 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8022 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
8023 }
8024 if (SWIG_IsTmpObj(res3)) {
8025 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
8026 } else {
8027 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8028 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
8029 }
8030 if (SWIG_IsTmpObj(res4)) {
8031 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
8032 } else {
8033 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8034 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
8035 }
8036 return resultobj;
8037fail:
8038 return NULL;
8039}
8040
8041
8042SWIGINTERN PyObject *_wrap_plgxax(PyObject *self, PyObject *args) {
8043 PyObject *resultobj = 0;
8044 PLINT *arg1 = 0 ;
8045 PLINT *arg2 = 0 ;
8046 PLINT temp1 ;
8047 int res1 = SWIG_TMPOBJ ;
8048 PLINT temp2 ;
8049 int res2 = SWIG_TMPOBJ ;
8050
8051 arg1 = &temp1;
8052 arg2 = &temp2;
8053 (void)self;
8054 if (!SWIG_Python_UnpackTuple(args, "plgxax", 0, 0, 0)) SWIG_fail;
8055 plgxax(arg1,arg2);
8056 resultobj = SWIG_Py_Void();
8057 if (SWIG_IsTmpObj(res1)) {
8058 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
8059 } else {
8060 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8061 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
8062 }
8063 if (SWIG_IsTmpObj(res2)) {
8064 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
8065 } else {
8066 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8067 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
8068 }
8069 return resultobj;
8070fail:
8071 return NULL;
8072}
8073
8074
8075SWIGINTERN PyObject *_wrap_plgyax(PyObject *self, PyObject *args) {
8076 PyObject *resultobj = 0;
8077 PLINT *arg1 = 0 ;
8078 PLINT *arg2 = 0 ;
8079 PLINT temp1 ;
8080 int res1 = SWIG_TMPOBJ ;
8081 PLINT temp2 ;
8082 int res2 = SWIG_TMPOBJ ;
8083
8084 arg1 = &temp1;
8085 arg2 = &temp2;
8086 (void)self;
8087 if (!SWIG_Python_UnpackTuple(args, "plgyax", 0, 0, 0)) SWIG_fail;
8088 plgyax(arg1,arg2);
8089 resultobj = SWIG_Py_Void();
8090 if (SWIG_IsTmpObj(res1)) {
8091 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
8092 } else {
8093 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8094 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
8095 }
8096 if (SWIG_IsTmpObj(res2)) {
8097 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
8098 } else {
8099 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8100 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
8101 }
8102 return resultobj;
8103fail:
8104 return NULL;
8105}
8106
8107
8108SWIGINTERN PyObject *_wrap_plgzax(PyObject *self, PyObject *args) {
8109 PyObject *resultobj = 0;
8110 PLINT *arg1 = 0 ;
8111 PLINT *arg2 = 0 ;
8112 PLINT temp1 ;
8113 int res1 = SWIG_TMPOBJ ;
8114 PLINT temp2 ;
8115 int res2 = SWIG_TMPOBJ ;
8116
8117 arg1 = &temp1;
8118 arg2 = &temp2;
8119 (void)self;
8120 if (!SWIG_Python_UnpackTuple(args, "plgzax", 0, 0, 0)) SWIG_fail;
8121 plgzax(arg1,arg2);
8122 resultobj = SWIG_Py_Void();
8123 if (SWIG_IsTmpObj(res1)) {
8124 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
8125 } else {
8126 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8127 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
8128 }
8129 if (SWIG_IsTmpObj(res2)) {
8130 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
8131 } else {
8132 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8133 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
8134 }
8135 return resultobj;
8136fail:
8137 return NULL;
8138}
8139
8140
8141SWIGINTERN PyObject *_wrap_plhist(PyObject *self, PyObject *args) {
8142 PyObject *resultobj = 0;
8143 PLINT arg1 ;
8144 PLFLT *arg2 = 0 ;
8145 PLFLT arg3 ;
8146 PLFLT arg4 ;
8147 PLINT arg5 ;
8148 PLINT arg6 ;
8149 PyArrayObject *tmp1 = NULL ;
8150 double val3 ;
8151 int ecode3 = 0 ;
8152 double val4 ;
8153 int ecode4 = 0 ;
8154 int val5 ;
8155 int ecode5 = 0 ;
8156 int val6 ;
8157 int ecode6 = 0 ;
8158 PyObject *swig_obj[5] ;
8159
8160 (void)self;
8161 if (!SWIG_Python_UnpackTuple(args, "plhist", 5, 5, swig_obj)) SWIG_fail;
8162 {
8163 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
8164 if ( tmp1 == NULL )
8165 return NULL;
8166 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
8167 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
8168 }
8169 ecode3 = SWIG_AsVal_double(swig_obj[1], &val3);
8170 if (!SWIG_IsOK(ecode3)) {
8171 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plhist" "', argument " "3"" of type '" "PLFLT""'");
8172 }
8173 arg3 = (PLFLT)(val3);
8174 ecode4 = SWIG_AsVal_double(swig_obj[2], &val4);
8175 if (!SWIG_IsOK(ecode4)) {
8176 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plhist" "', argument " "4"" of type '" "PLFLT""'");
8177 }
8178 arg4 = (PLFLT)(val4);
8179 ecode5 = SWIG_AsVal_int(swig_obj[3], &val5);
8180 if (!SWIG_IsOK(ecode5)) {
8181 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plhist" "', argument " "5"" of type '" "PLINT""'");
8182 }
8183 arg5 = (PLINT)(val5);
8184 ecode6 = SWIG_AsVal_int(swig_obj[4], &val6);
8185 if (!SWIG_IsOK(ecode6)) {
8186 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plhist" "', argument " "6"" of type '" "PLINT""'");
8187 }
8188 arg6 = (PLINT)(val6);
8189 plhist(arg1,(double const *)arg2,arg3,arg4,arg5,arg6);
8190 resultobj = SWIG_Py_Void();
8191 {
8192 Py_CLEAR( tmp1 );
8193 }
8194 return resultobj;
8195fail:
8196 {
8197 Py_CLEAR( tmp1 );
8198 }
8199 return NULL;
8200}
8201
8202
8203SWIGINTERN PyObject *_wrap_plhlsrgb(PyObject *self, PyObject *args) {
8204 PyObject *resultobj = 0;
8205 PLFLT arg1 ;
8206 PLFLT arg2 ;
8207 PLFLT arg3 ;
8208 PLFLT *arg4 = 0 ;
8209 PLFLT *arg5 = 0 ;
8210 PLFLT *arg6 = 0 ;
8211 double val1 ;
8212 int ecode1 = 0 ;
8213 double val2 ;
8214 int ecode2 = 0 ;
8215 double val3 ;
8216 int ecode3 = 0 ;
8217 PLFLT temp4 ;
8218 int res4 = SWIG_TMPOBJ ;
8219 PLFLT temp5 ;
8220 int res5 = SWIG_TMPOBJ ;
8221 PLFLT temp6 ;
8222 int res6 = SWIG_TMPOBJ ;
8223 PyObject *swig_obj[3] ;
8224
8225 arg4 = &temp4;
8226 arg5 = &temp5;
8227 arg6 = &temp6;
8228 (void)self;
8229 if (!SWIG_Python_UnpackTuple(args, "plhlsrgb", 3, 3, swig_obj)) SWIG_fail;
8230 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
8231 if (!SWIG_IsOK(ecode1)) {
8232 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plhlsrgb" "', argument " "1"" of type '" "PLFLT""'");
8233 }
8234 arg1 = (PLFLT)(val1);
8235 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
8236 if (!SWIG_IsOK(ecode2)) {
8237 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plhlsrgb" "', argument " "2"" of type '" "PLFLT""'");
8238 }
8239 arg2 = (PLFLT)(val2);
8240 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
8241 if (!SWIG_IsOK(ecode3)) {
8242 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plhlsrgb" "', argument " "3"" of type '" "PLFLT""'");
8243 }
8244 arg3 = (PLFLT)(val3);
8245 plhlsrgb(arg1,arg2,arg3,arg4,arg5,arg6);
8246 resultobj = SWIG_Py_Void();
8247 if (SWIG_IsTmpObj(res4)) {
8248 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
8249 } else {
8250 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8251 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
8252 }
8253 if (SWIG_IsTmpObj(res5)) {
8254 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg5)), 1);
8255 } else {
8256 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8257 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags), 1);
8258 }
8259 if (SWIG_IsTmpObj(res6)) {
8260 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg6)), 1);
8261 } else {
8262 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8263 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags), 1);
8264 }
8265 return resultobj;
8266fail:
8267 return NULL;
8268}
8269
8270
8271SWIGINTERN PyObject *_wrap_plinit(PyObject *self, PyObject *args) {
8272 PyObject *resultobj = 0;
8273
8274 (void)self;
8275 if (!SWIG_Python_UnpackTuple(args, "plinit", 0, 0, 0)) SWIG_fail;
8276 plinit();
8277 resultobj = SWIG_Py_Void();
8278 return resultobj;
8279fail:
8280 return NULL;
8281}
8282
8283
8284SWIGINTERN PyObject *_wrap_pljoin(PyObject *self, PyObject *args) {
8285 PyObject *resultobj = 0;
8286 PLFLT arg1 ;
8287 PLFLT arg2 ;
8288 PLFLT arg3 ;
8289 PLFLT arg4 ;
8290 double val1 ;
8291 int ecode1 = 0 ;
8292 double val2 ;
8293 int ecode2 = 0 ;
8294 double val3 ;
8295 int ecode3 = 0 ;
8296 double val4 ;
8297 int ecode4 = 0 ;
8298 PyObject *swig_obj[4] ;
8299
8300 (void)self;
8301 if (!SWIG_Python_UnpackTuple(args, "pljoin", 4, 4, swig_obj)) SWIG_fail;
8302 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
8303 if (!SWIG_IsOK(ecode1)) {
8304 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pljoin" "', argument " "1"" of type '" "PLFLT""'");
8305 }
8306 arg1 = (PLFLT)(val1);
8307 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
8308 if (!SWIG_IsOK(ecode2)) {
8309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pljoin" "', argument " "2"" of type '" "PLFLT""'");
8310 }
8311 arg2 = (PLFLT)(val2);
8312 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
8313 if (!SWIG_IsOK(ecode3)) {
8314 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pljoin" "', argument " "3"" of type '" "PLFLT""'");
8315 }
8316 arg3 = (PLFLT)(val3);
8317 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
8318 if (!SWIG_IsOK(ecode4)) {
8319 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pljoin" "', argument " "4"" of type '" "PLFLT""'");
8320 }
8321 arg4 = (PLFLT)(val4);
8322 pljoin(arg1,arg2,arg3,arg4);
8323 resultobj = SWIG_Py_Void();
8324 return resultobj;
8325fail:
8326 return NULL;
8327}
8328
8329
8330SWIGINTERN PyObject *_wrap_pllab(PyObject *self, PyObject *args) {
8331 PyObject *resultobj = 0;
8332 char *arg1 = 0 ;
8333 char *arg2 = 0 ;
8334 char *arg3 = 0 ;
8335 int res1 ;
8336 char *buf1 = 0 ;
8337 int alloc1 = 0 ;
8338 int res2 ;
8339 char *buf2 = 0 ;
8340 int alloc2 = 0 ;
8341 int res3 ;
8342 char *buf3 = 0 ;
8343 int alloc3 = 0 ;
8344 PyObject *swig_obj[3] ;
8345
8346 (void)self;
8347 if (!SWIG_Python_UnpackTuple(args, "pllab", 3, 3, swig_obj)) SWIG_fail;
8348 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
8349 if (!SWIG_IsOK(res1)) {
8350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pllab" "', argument " "1"" of type '" "char const *""'");
8351 }
8352 arg1 = (char *)(buf1);
8353 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
8354 if (!SWIG_IsOK(res2)) {
8355 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pllab" "', argument " "2"" of type '" "char const *""'");
8356 }
8357 arg2 = (char *)(buf2);
8358 res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
8359 if (!SWIG_IsOK(res3)) {
8360 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pllab" "', argument " "3"" of type '" "char const *""'");
8361 }
8362 arg3 = (char *)(buf3);
8363 pllab((char const *)arg1,(char const *)arg2,(char const *)arg3);
8364 resultobj = SWIG_Py_Void();
8365 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8366 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8367 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8368 return resultobj;
8369fail:
8370 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8371 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8372 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8373 return NULL;
8374}
8375
8376
8377SWIGINTERN PyObject *_wrap_pllegend(PyObject *self, PyObject *args) {
8378 PyObject *resultobj = 0;
8379 PLFLT *arg1 = 0 ;
8380 PLFLT *arg2 = 0 ;
8381 PLINT arg3 ;
8382 PLINT arg4 ;
8383 PLFLT arg5 ;
8384 PLFLT arg6 ;
8385 PLFLT arg7 ;
8386 PLINT arg8 ;
8387 PLINT arg9 ;
8388 PLINT arg10 ;
8389 PLINT arg11 ;
8390 PLINT arg12 ;
8391 PLINT arg13 ;
8392 PLINT *arg14 = 0 ;
8393 PLFLT arg15 ;
8394 PLFLT arg16 ;
8395 PLFLT arg17 ;
8396 PLFLT arg18 ;
8397 PLINT *arg19 = 0 ;
8398 char **arg20 = 0 ;
8399 PLINT *arg21 = 0 ;
8400 PLINT *arg22 = 0 ;
8401 PLFLT *arg23 = 0 ;
8402 PLFLT *arg24 = 0 ;
8403 PLINT *arg25 = 0 ;
8404 PLINT *arg26 = 0 ;
8405 PLFLT *arg27 = 0 ;
8406 PLINT *arg28 = 0 ;
8407 PLFLT *arg29 = 0 ;
8408 PLINT *arg30 = 0 ;
8409 char **arg31 = 0 ;
8410 PLFLT temp1 ;
8411 int res1 = SWIG_TMPOBJ ;
8412 PLFLT temp2 ;
8413 int res2 = SWIG_TMPOBJ ;
8414 int val3 ;
8415 int ecode3 = 0 ;
8416 int val4 ;
8417 int ecode4 = 0 ;
8418 double val5 ;
8419 int ecode5 = 0 ;
8420 double val6 ;
8421 int ecode6 = 0 ;
8422 double val7 ;
8423 int ecode7 = 0 ;
8424 int val8 ;
8425 int ecode8 = 0 ;
8426 int val9 ;
8427 int ecode9 = 0 ;
8428 int val10 ;
8429 int ecode10 = 0 ;
8430 int val11 ;
8431 int ecode11 = 0 ;
8432 int val12 ;
8433 int ecode12 = 0 ;
8434 PyArrayObject *tmp13 = NULL ;
8435 double val15 ;
8436 int ecode15 = 0 ;
8437 double val16 ;
8438 int ecode16 = 0 ;
8439 double val17 ;
8440 int ecode17 = 0 ;
8441 double val18 ;
8442 int ecode18 = 0 ;
8443 PyArrayObject *tmp19 = NULL ;
8444 PyArrayObject *tmp20 = NULL ;
8445 PyArrayObject *tmp21 = NULL ;
8446 PyArrayObject *tmp22 = NULL ;
8447 PyArrayObject *tmp23 = NULL ;
8448 PyArrayObject *tmp24 = NULL ;
8449 PyArrayObject *tmp25 = NULL ;
8450 PyArrayObject *tmp26 = NULL ;
8451 PyArrayObject *tmp27 = NULL ;
8452 PyArrayObject *tmp28 = NULL ;
8453 PyArrayObject *tmp29 = NULL ;
8454 PyArrayObject *tmp30 = NULL ;
8455 PyArrayObject *tmp31 = NULL ;
8456 PyObject *swig_obj[28] ;
8457
8458 arg1 = &temp1;
8459 arg2 = &temp2;
8460 (void)self;
8461 if (!SWIG_Python_UnpackTuple(args, "pllegend", 28, 28, swig_obj)) SWIG_fail;
8462 ecode3 = SWIG_AsVal_int(swig_obj[0], &val3);
8463 if (!SWIG_IsOK(ecode3)) {
8464 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pllegend" "', argument " "3"" of type '" "PLINT""'");
8465 }
8466 arg3 = (PLINT)(val3);
8467 ecode4 = SWIG_AsVal_int(swig_obj[1], &val4);
8468 if (!SWIG_IsOK(ecode4)) {
8469 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pllegend" "', argument " "4"" of type '" "PLINT""'");
8470 }
8471 arg4 = (PLINT)(val4);
8472 ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
8473 if (!SWIG_IsOK(ecode5)) {
8474 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pllegend" "', argument " "5"" of type '" "PLFLT""'");
8475 }
8476 arg5 = (PLFLT)(val5);
8477 ecode6 = SWIG_AsVal_double(swig_obj[3], &val6);
8478 if (!SWIG_IsOK(ecode6)) {
8479 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "pllegend" "', argument " "6"" of type '" "PLFLT""'");
8480 }
8481 arg6 = (PLFLT)(val6);
8482 ecode7 = SWIG_AsVal_double(swig_obj[4], &val7);
8483 if (!SWIG_IsOK(ecode7)) {
8484 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "pllegend" "', argument " "7"" of type '" "PLFLT""'");
8485 }
8486 arg7 = (PLFLT)(val7);
8487 ecode8 = SWIG_AsVal_int(swig_obj[5], &val8);
8488 if (!SWIG_IsOK(ecode8)) {
8489 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "pllegend" "', argument " "8"" of type '" "PLINT""'");
8490 }
8491 arg8 = (PLINT)(val8);
8492 ecode9 = SWIG_AsVal_int(swig_obj[6], &val9);
8493 if (!SWIG_IsOK(ecode9)) {
8494 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "pllegend" "', argument " "9"" of type '" "PLINT""'");
8495 }
8496 arg9 = (PLINT)(val9);
8497 ecode10 = SWIG_AsVal_int(swig_obj[7], &val10);
8498 if (!SWIG_IsOK(ecode10)) {
8499 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "pllegend" "', argument " "10"" of type '" "PLINT""'");
8500 }
8501 arg10 = (PLINT)(val10);
8502 ecode11 = SWIG_AsVal_int(swig_obj[8], &val11);
8503 if (!SWIG_IsOK(ecode11)) {
8504 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "pllegend" "', argument " "11"" of type '" "PLINT""'");
8505 }
8506 arg11 = (PLINT)(val11);
8507 ecode12 = SWIG_AsVal_int(swig_obj[9], &val12);
8508 if (!SWIG_IsOK(ecode12)) {
8509 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "pllegend" "', argument " "12"" of type '" "PLINT""'");
8510 }
8511 arg12 = (PLINT)(val12);
8512 {
8513 tmp13 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[10], NPY_PLINT, 1, 1 );
8514 if ( tmp13 == NULL )
8515 return NULL;
8516 arg13 = Alen = PyArray_DIMS( tmp13 )[0];
8517 arg14 = (PLINT *) PyArray_DATA( tmp13 );
8518 }
8519 ecode15 = SWIG_AsVal_double(swig_obj[11], &val15);
8520 if (!SWIG_IsOK(ecode15)) {
8521 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "pllegend" "', argument " "15"" of type '" "PLFLT""'");
8522 }
8523 arg15 = (PLFLT)(val15);
8524 ecode16 = SWIG_AsVal_double(swig_obj[12], &val16);
8525 if (!SWIG_IsOK(ecode16)) {
8526 SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "pllegend" "', argument " "16"" of type '" "PLFLT""'");
8527 }
8528 arg16 = (PLFLT)(val16);
8529 ecode17 = SWIG_AsVal_double(swig_obj[13], &val17);
8530 if (!SWIG_IsOK(ecode17)) {
8531 SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "pllegend" "', argument " "17"" of type '" "PLFLT""'");
8532 }
8533 arg17 = (PLFLT)(val17);
8534 ecode18 = SWIG_AsVal_double(swig_obj[14], &val18);
8535 if (!SWIG_IsOK(ecode18)) {
8536 SWIG_exception_fail(SWIG_ArgError(ecode18), "in method '" "pllegend" "', argument " "18"" of type '" "PLFLT""'");
8537 }
8538 arg18 = (PLFLT)(val18);
8539 {
8540 tmp19 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[15], NPY_PLINT, 1, 1 );
8541 if ( tmp19 == NULL )
8542 return NULL;
8543 if ( PyArray_DIMS( tmp19 )[0] != Alen )
8544 {
8545 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8546 return NULL;
8547 }
8548 arg19 = (PLINT *) PyArray_DATA( tmp19 );
8549 }
8550 {
8551 int i;
8552 tmp20 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[16], NPY_STRING, 1, 1 );
8553 if ( tmp20 == NULL )
8554 return NULL;
8555 if ( PyArray_DIMS( tmp20 )[0] != Alen )
8556 {
8557 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8558 return NULL;
8559 }
8560 arg20 = (char **) malloc( sizeof ( char* ) * (size_t) Alen );
8561 for ( i = 0; i < Alen; i++ )
8562 {
8563 arg20[i] = (char *) PyArray_DATA( tmp20 ) + i * PyArray_STRIDES( tmp20 )[0];
8564 if ( arg20[i] == NULL )
8565 {
8566 free( arg20 );
8567 return NULL;
8568 }
8569 }
8570 }
8571 {
8572 tmp21 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[17], NPY_PLINT, 1, 1 );
8573 if ( tmp21 == NULL )
8574 return NULL;
8575 if ( PyArray_DIMS( tmp21 )[0] != Alen )
8576 {
8577 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8578 return NULL;
8579 }
8580 arg21 = (PLINT *) PyArray_DATA( tmp21 );
8581 }
8582 {
8583 tmp22 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[18], NPY_PLINT, 1, 1 );
8584 if ( tmp22 == NULL )
8585 return NULL;
8586 if ( PyArray_DIMS( tmp22 )[0] != Alen )
8587 {
8588 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8589 return NULL;
8590 }
8591 arg22 = (PLINT *) PyArray_DATA( tmp22 );
8592 }
8593 {
8594 if ( swig_obj[19] != Py_None )
8595 {
8596 tmp23 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[19], NPY_PLFLT, 1, 1 );
8597 if ( tmp23 == NULL )
8598 return NULL;
8599 if ( PyArray_DIMS( tmp23 )[0] != Alen )
8600 {
8601 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8602 return NULL;
8603 }
8604 arg23 = (PLFLT *) PyArray_DATA( tmp23 );
8605 }
8606 else
8607 {
8608 arg23 = NULL;
8609 }
8610 }
8611 {
8612 if ( swig_obj[20] != Py_None )
8613 {
8614 tmp24 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[20], NPY_PLFLT, 1, 1 );
8615 if ( tmp24 == NULL )
8616 return NULL;
8617 if ( PyArray_DIMS( tmp24 )[0] != Alen )
8618 {
8619 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8620 return NULL;
8621 }
8622 arg24 = (PLFLT *) PyArray_DATA( tmp24 );
8623 }
8624 else
8625 {
8626 arg24 = NULL;
8627 }
8628 }
8629 {
8630 tmp25 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[21], NPY_PLINT, 1, 1 );
8631 if ( tmp25 == NULL )
8632 return NULL;
8633 if ( PyArray_DIMS( tmp25 )[0] != Alen )
8634 {
8635 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8636 return NULL;
8637 }
8638 arg25 = (PLINT *) PyArray_DATA( tmp25 );
8639 }
8640 {
8641 tmp26 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[22], NPY_PLINT, 1, 1 );
8642 if ( tmp26 == NULL )
8643 return NULL;
8644 if ( PyArray_DIMS( tmp26 )[0] != Alen )
8645 {
8646 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8647 return NULL;
8648 }
8649 arg26 = (PLINT *) PyArray_DATA( tmp26 );
8650 }
8651 {
8652 if ( swig_obj[23] != Py_None )
8653 {
8654 tmp27 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[23], NPY_PLFLT, 1, 1 );
8655 if ( tmp27 == NULL )
8656 return NULL;
8657 if ( PyArray_DIMS( tmp27 )[0] != Alen )
8658 {
8659 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8660 return NULL;
8661 }
8662 arg27 = (PLFLT *) PyArray_DATA( tmp27 );
8663 }
8664 else
8665 {
8666 arg27 = NULL;
8667 }
8668 }
8669 {
8670 tmp28 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[24], NPY_PLINT, 1, 1 );
8671 if ( tmp28 == NULL )
8672 return NULL;
8673 if ( PyArray_DIMS( tmp28 )[0] != Alen )
8674 {
8675 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8676 return NULL;
8677 }
8678 arg28 = (PLINT *) PyArray_DATA( tmp28 );
8679 }
8680 {
8681 if ( swig_obj[25] != Py_None )
8682 {
8683 tmp29 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[25], NPY_PLFLT, 1, 1 );
8684 if ( tmp29 == NULL )
8685 return NULL;
8686 if ( PyArray_DIMS( tmp29 )[0] != Alen )
8687 {
8688 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8689 return NULL;
8690 }
8691 arg29 = (PLFLT *) PyArray_DATA( tmp29 );
8692 }
8693 else
8694 {
8695 arg29 = NULL;
8696 }
8697 }
8698 {
8699 tmp30 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[26], NPY_PLINT, 1, 1 );
8700 if ( tmp30 == NULL )
8701 return NULL;
8702 if ( PyArray_DIMS( tmp30 )[0] != Alen )
8703 {
8704 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8705 return NULL;
8706 }
8707 arg30 = (PLINT *) PyArray_DATA( tmp30 );
8708 }
8709 {
8710 int i;
8711 tmp31 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[27], NPY_STRING, 1, 1 );
8712 if ( tmp31 == NULL )
8713 return NULL;
8714 if ( PyArray_DIMS( tmp31 )[0] != Alen )
8715 {
8716 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8717 return NULL;
8718 }
8719 arg31 = (char **) malloc( sizeof ( char* ) * (size_t) Alen );
8720 for ( i = 0; i < Alen; i++ )
8721 {
8722 arg31[i] = (char *) PyArray_DATA( tmp31 ) + i * PyArray_STRIDES( tmp31 )[0];
8723 if ( arg31[i] == NULL )
8724 {
8725 free( arg31 );
8726 return NULL;
8727 }
8728 }
8729 }
8730 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);
8731 resultobj = SWIG_Py_Void();
8732 if (SWIG_IsTmpObj(res1)) {
8733 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
8734 } else {
8735 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8736 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
8737 }
8738 if (SWIG_IsTmpObj(res2)) {
8739 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
8740 } else {
8741 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8742 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
8743 }
8744 {
8745 Py_CLEAR( tmp13 );
8746 }
8747 {
8748 Py_CLEAR( tmp19 );
8749 }
8750 {
8751 Py_CLEAR( tmp20 ); free( arg20 );
8752 }
8753 {
8754 Py_CLEAR( tmp21 );
8755 }
8756 {
8757 Py_CLEAR( tmp22 );
8758 }
8759 {
8760 Py_CLEAR( tmp23 );
8761 }
8762 {
8763 Py_CLEAR( tmp24 );
8764 }
8765 {
8766 Py_CLEAR( tmp25 );
8767 }
8768 {
8769 Py_CLEAR( tmp26 );
8770 }
8771 {
8772 Py_CLEAR( tmp27 );
8773 }
8774 {
8775 Py_CLEAR( tmp28 );
8776 }
8777 {
8778 Py_CLEAR( tmp29 );
8779 }
8780 {
8781 Py_CLEAR( tmp30 );
8782 }
8783 {
8784 Py_CLEAR( tmp31 ); free( arg31 );
8785 }
8786 return resultobj;
8787fail:
8788 {
8789 Py_CLEAR( tmp13 );
8790 }
8791 {
8792 Py_CLEAR( tmp19 );
8793 }
8794 {
8795 Py_CLEAR( tmp20 ); free( arg20 );
8796 }
8797 {
8798 Py_CLEAR( tmp21 );
8799 }
8800 {
8801 Py_CLEAR( tmp22 );
8802 }
8803 {
8804 Py_CLEAR( tmp23 );
8805 }
8806 {
8807 Py_CLEAR( tmp24 );
8808 }
8809 {
8810 Py_CLEAR( tmp25 );
8811 }
8812 {
8813 Py_CLEAR( tmp26 );
8814 }
8815 {
8816 Py_CLEAR( tmp27 );
8817 }
8818 {
8819 Py_CLEAR( tmp28 );
8820 }
8821 {
8822 Py_CLEAR( tmp29 );
8823 }
8824 {
8825 Py_CLEAR( tmp30 );
8826 }
8827 {
8828 Py_CLEAR( tmp31 ); free( arg31 );
8829 }
8830 return NULL;
8831}
8832
8833
8834SWIGINTERN PyObject *_wrap_plcolorbar(PyObject *self, PyObject *args) {
8835 PyObject *resultobj = 0;
8836 PLFLT *arg1 = 0 ;
8837 PLFLT *arg2 = 0 ;
8838 PLINT arg3 ;
8839 PLINT arg4 ;
8840 PLFLT arg5 ;
8841 PLFLT arg6 ;
8842 PLFLT arg7 ;
8843 PLFLT arg8 ;
8844 PLINT arg9 ;
8845 PLINT arg10 ;
8846 PLINT arg11 ;
8847 PLFLT arg12 ;
8848 PLFLT arg13 ;
8849 PLINT arg14 ;
8850 PLFLT arg15 ;
8851 PLINT arg16 ;
8852 PLINT *arg17 = 0 ;
8853 char **arg18 = 0 ;
8854 PLINT arg19 ;
8855 char **arg20 = 0 ;
8856 PLFLT *arg21 = 0 ;
8857 PLINT *arg22 = 0 ;
8858 PLINT *arg23 = 0 ;
8859 PLFLT **arg24 = 0 ;
8860 PLFLT temp1 ;
8861 int res1 = SWIG_TMPOBJ ;
8862 PLFLT temp2 ;
8863 int res2 = SWIG_TMPOBJ ;
8864 int val3 ;
8865 int ecode3 = 0 ;
8866 int val4 ;
8867 int ecode4 = 0 ;
8868 double val5 ;
8869 int ecode5 = 0 ;
8870 double val6 ;
8871 int ecode6 = 0 ;
8872 double val7 ;
8873 int ecode7 = 0 ;
8874 double val8 ;
8875 int ecode8 = 0 ;
8876 int val9 ;
8877 int ecode9 = 0 ;
8878 int val10 ;
8879 int ecode10 = 0 ;
8880 int val11 ;
8881 int ecode11 = 0 ;
8882 double val12 ;
8883 int ecode12 = 0 ;
8884 double val13 ;
8885 int ecode13 = 0 ;
8886 int val14 ;
8887 int ecode14 = 0 ;
8888 double val15 ;
8889 int ecode15 = 0 ;
8890 PyArrayObject *tmp16 = NULL ;
8891 PyArrayObject *tmp18 = NULL ;
8892 PyArrayObject *tmp19 = NULL ;
8893 PyArrayObject *tmp21 = NULL ;
8894 PyArrayObject *tmp22 = NULL ;
8895 PyArrayObject *tmp23 = NULL ;
8896 PyArrayObject *tmp24 = NULL ;
8897 PyObject *swig_obj[20] ;
8898
8899 arg1 = &temp1;
8900 arg2 = &temp2;
8901 (void)self;
8902 if (!SWIG_Python_UnpackTuple(args, "plcolorbar", 20, 20, swig_obj)) SWIG_fail;
8903 ecode3 = SWIG_AsVal_int(swig_obj[0], &val3);
8904 if (!SWIG_IsOK(ecode3)) {
8905 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plcolorbar" "', argument " "3"" of type '" "PLINT""'");
8906 }
8907 arg3 = (PLINT)(val3);
8908 ecode4 = SWIG_AsVal_int(swig_obj[1], &val4);
8909 if (!SWIG_IsOK(ecode4)) {
8910 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcolorbar" "', argument " "4"" of type '" "PLINT""'");
8911 }
8912 arg4 = (PLINT)(val4);
8913 ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
8914 if (!SWIG_IsOK(ecode5)) {
8915 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcolorbar" "', argument " "5"" of type '" "PLFLT""'");
8916 }
8917 arg5 = (PLFLT)(val5);
8918 ecode6 = SWIG_AsVal_double(swig_obj[3], &val6);
8919 if (!SWIG_IsOK(ecode6)) {
8920 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcolorbar" "', argument " "6"" of type '" "PLFLT""'");
8921 }
8922 arg6 = (PLFLT)(val6);
8923 ecode7 = SWIG_AsVal_double(swig_obj[4], &val7);
8924 if (!SWIG_IsOK(ecode7)) {
8925 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcolorbar" "', argument " "7"" of type '" "PLFLT""'");
8926 }
8927 arg7 = (PLFLT)(val7);
8928 ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
8929 if (!SWIG_IsOK(ecode8)) {
8930 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plcolorbar" "', argument " "8"" of type '" "PLFLT""'");
8931 }
8932 arg8 = (PLFLT)(val8);
8933 ecode9 = SWIG_AsVal_int(swig_obj[6], &val9);
8934 if (!SWIG_IsOK(ecode9)) {
8935 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plcolorbar" "', argument " "9"" of type '" "PLINT""'");
8936 }
8937 arg9 = (PLINT)(val9);
8938 ecode10 = SWIG_AsVal_int(swig_obj[7], &val10);
8939 if (!SWIG_IsOK(ecode10)) {
8940 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plcolorbar" "', argument " "10"" of type '" "PLINT""'");
8941 }
8942 arg10 = (PLINT)(val10);
8943 ecode11 = SWIG_AsVal_int(swig_obj[8], &val11);
8944 if (!SWIG_IsOK(ecode11)) {
8945 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plcolorbar" "', argument " "11"" of type '" "PLINT""'");
8946 }
8947 arg11 = (PLINT)(val11);
8948 ecode12 = SWIG_AsVal_double(swig_obj[9], &val12);
8949 if (!SWIG_IsOK(ecode12)) {
8950 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plcolorbar" "', argument " "12"" of type '" "PLFLT""'");
8951 }
8952 arg12 = (PLFLT)(val12);
8953 ecode13 = SWIG_AsVal_double(swig_obj[10], &val13);
8954 if (!SWIG_IsOK(ecode13)) {
8955 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plcolorbar" "', argument " "13"" of type '" "PLFLT""'");
8956 }
8957 arg13 = (PLFLT)(val13);
8958 ecode14 = SWIG_AsVal_int(swig_obj[11], &val14);
8959 if (!SWIG_IsOK(ecode14)) {
8960 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plcolorbar" "', argument " "14"" of type '" "PLINT""'");
8961 }
8962 arg14 = (PLINT)(val14);
8963 ecode15 = SWIG_AsVal_double(swig_obj[12], &val15);
8964 if (!SWIG_IsOK(ecode15)) {
8965 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plcolorbar" "', argument " "15"" of type '" "PLFLT""'");
8966 }
8967 arg15 = (PLFLT)(val15);
8968 {
8969 tmp16 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[13], NPY_PLINT, 1, 1 );
8970 if ( tmp16 == NULL )
8971 return NULL;
8972 arg16 = Alen = PyArray_DIMS( tmp16 )[0];
8973 arg17 = (PLINT *) PyArray_DATA( tmp16 );
8974 }
8975 {
8976 int i;
8977 tmp18 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[14], NPY_STRING, 1, 1 );
8978 if ( tmp18 == NULL )
8979 return NULL;
8980 if ( PyArray_DIMS( tmp18 )[0] != Alen )
8981 {
8982 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8983 return NULL;
8984 }
8985 arg18 = (char **) malloc( sizeof ( char* ) * (size_t) Alen );
8986 for ( i = 0; i < Alen; i++ )
8987 {
8988 arg18[i] = (char *) PyArray_DATA( tmp18 ) + i * PyArray_STRIDES( tmp18 )[0];
8989 if ( arg18[i] == NULL )
8990 {
8991 free( arg18 );
8992 return NULL;
8993 }
8994 }
8995 }
8996 {
8997 int i;
8998 tmp19 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[15], NPY_STRING, 1, 1 );
8999 if ( tmp19 == NULL )
9000 return NULL;
9001 Alen = PyArray_DIMS( tmp19 )[0];
9002 arg19 = Alen;
9003 arg20 = (char **) malloc( sizeof ( char* ) * (size_t) Alen );
9004 for ( i = 0; i < Alen; i++ )
9005 {
9006 arg20[i] = (char *) PyArray_DATA( tmp19 ) + i * PyArray_STRIDES( tmp19 )[0];
9007 if ( arg20[i] == NULL )
9008 {
9009 free( arg20 );
9010 return NULL;
9011 }
9012 }
9013 }
9014 {
9015 tmp21 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[16], NPY_PLFLT, 1, 1 );
9016 if ( tmp21 == NULL )
9017 return NULL;
9018 if ( PyArray_DIMS( tmp21 )[0] != Alen )
9019 {
9020 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
9021 return NULL;
9022 }
9023 arg21 = (PLFLT *) PyArray_DATA( tmp21 );
9024 }
9025 {
9026 tmp22 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[17], NPY_PLINT, 1, 1 );
9027 if ( tmp22 == NULL )
9028 return NULL;
9029 if ( PyArray_DIMS( tmp22 )[0] != Alen )
9030 {
9031 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
9032 return NULL;
9033 }
9034 arg22 = (PLINT *) PyArray_DATA( tmp22 );
9035 }
9036 {
9037 int i;
9038 tmp23 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[18], NPY_PLINT, 1, 1 );
9039 if ( tmp23 == NULL )
9040 return NULL;
9041 if ( PyArray_DIMS( tmp23 )[0] != Alen )
9042 {
9043 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
9044 return NULL;
9045 }
9046 Xlen = PyArray_DIMS( tmp23 )[0];
9047 arg23 = (PLINT *) PyArray_DATA( tmp23 );
9048 Ylen = -1;
9049 for ( i = 0; i < Xlen; i++ )
9050 if ( arg23[i] > Ylen )
9051 Ylen = arg23[i];
9052 }
9053 {
9054 int i, size;
9055 tmp24 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[19], NPY_PLFLT, 2, 2 );
9056 if ( tmp24 == NULL )
9057 return NULL;
9058 if ( PyArray_DIMS( tmp24 )[0] != Xlen || PyArray_DIMS( tmp24 )[1] != Ylen )
9059 {
9060 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9061 return NULL;
9062 }
9063 size = Ylen;
9064 arg24 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) Xlen );
9065 for ( i = 0; i < Xlen; i++ )
9066 arg24[i] = ( (PLFLT *) PyArray_DATA( tmp24 ) + i * size );
9067 }
9068 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);
9069 resultobj = SWIG_Py_Void();
9070 if (SWIG_IsTmpObj(res1)) {
9071 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
9072 } else {
9073 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9074 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
9075 }
9076 if (SWIG_IsTmpObj(res2)) {
9077 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
9078 } else {
9079 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9080 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
9081 }
9082 {
9083 Py_CLEAR( tmp16 );
9084 }
9085 {
9086 Py_CLEAR( tmp18 ); free( arg18 );
9087 }
9088 {
9089 Py_CLEAR( tmp19 ); free( arg20 );
9090 }
9091 {
9092 Py_CLEAR( tmp21 );
9093 }
9094 {
9095 Py_CLEAR( tmp22 );
9096 }
9097 {
9098 Py_CLEAR( tmp23 );
9099 }
9100 {
9101 Py_CLEAR( tmp24 );
9102 free( arg24 );
9103 }
9104 return resultobj;
9105fail:
9106 {
9107 Py_CLEAR( tmp16 );
9108 }
9109 {
9110 Py_CLEAR( tmp18 ); free( arg18 );
9111 }
9112 {
9113 Py_CLEAR( tmp19 ); free( arg20 );
9114 }
9115 {
9116 Py_CLEAR( tmp21 );
9117 }
9118 {
9119 Py_CLEAR( tmp22 );
9120 }
9121 {
9122 Py_CLEAR( tmp23 );
9123 }
9124 {
9125 Py_CLEAR( tmp24 );
9126 free( arg24 );
9127 }
9128 return NULL;
9129}
9130
9131
9132SWIGINTERN PyObject *_wrap_pllightsource(PyObject *self, PyObject *args) {
9133 PyObject *resultobj = 0;
9134 PLFLT arg1 ;
9135 PLFLT arg2 ;
9136 PLFLT arg3 ;
9137 double val1 ;
9138 int ecode1 = 0 ;
9139 double val2 ;
9140 int ecode2 = 0 ;
9141 double val3 ;
9142 int ecode3 = 0 ;
9143 PyObject *swig_obj[3] ;
9144
9145 (void)self;
9146 if (!SWIG_Python_UnpackTuple(args, "pllightsource", 3, 3, swig_obj)) SWIG_fail;
9147 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
9148 if (!SWIG_IsOK(ecode1)) {
9149 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pllightsource" "', argument " "1"" of type '" "PLFLT""'");
9150 }
9151 arg1 = (PLFLT)(val1);
9152 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
9153 if (!SWIG_IsOK(ecode2)) {
9154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pllightsource" "', argument " "2"" of type '" "PLFLT""'");
9155 }
9156 arg2 = (PLFLT)(val2);
9157 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
9158 if (!SWIG_IsOK(ecode3)) {
9159 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pllightsource" "', argument " "3"" of type '" "PLFLT""'");
9160 }
9161 arg3 = (PLFLT)(val3);
9162 pllightsource(arg1,arg2,arg3);
9163 resultobj = SWIG_Py_Void();
9164 return resultobj;
9165fail:
9166 return NULL;
9167}
9168
9169
9170SWIGINTERN PyObject *_wrap_plline(PyObject *self, PyObject *args) {
9171 PyObject *resultobj = 0;
9172 PLINT arg1 ;
9173 PLFLT *arg2 = 0 ;
9174 PLFLT *arg3 = 0 ;
9175 PyArrayObject *tmp1 = NULL ;
9176 PyArrayObject *tmp3 = NULL ;
9177 PyObject *swig_obj[2] ;
9178
9179 (void)self;
9180 if (!SWIG_Python_UnpackTuple(args, "plline", 2, 2, swig_obj)) SWIG_fail;
9181 {
9182 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9183 if ( tmp1 == NULL )
9184 return NULL;
9185 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
9186 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
9187 }
9188 {
9189 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9190 if ( tmp3 == NULL )
9191 return NULL;
9192 if ( PyArray_DIMS( tmp3 )[0] != Alen )
9193 {
9194 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
9195 return NULL;
9196 }
9197 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
9198 }
9199 plline(arg1,(double const *)arg2,(double const *)arg3);
9200 resultobj = SWIG_Py_Void();
9201 {
9202 Py_CLEAR( tmp1 );
9203 }
9204 {
9205 Py_CLEAR( tmp3 );
9206 }
9207 return resultobj;
9208fail:
9209 {
9210 Py_CLEAR( tmp1 );
9211 }
9212 {
9213 Py_CLEAR( tmp3 );
9214 }
9215 return NULL;
9216}
9217
9218
9219SWIGINTERN PyObject *_wrap_plline3(PyObject *self, PyObject *args) {
9220 PyObject *resultobj = 0;
9221 PLINT arg1 ;
9222 PLFLT *arg2 = 0 ;
9223 PLFLT *arg3 = 0 ;
9224 PLFLT *arg4 = 0 ;
9225 PyArrayObject *tmp1 = NULL ;
9226 PyArrayObject *tmp3 = NULL ;
9227 PyArrayObject *tmp4 = NULL ;
9228 PyObject *swig_obj[3] ;
9229
9230 (void)self;
9231 if (!SWIG_Python_UnpackTuple(args, "plline3", 3, 3, swig_obj)) SWIG_fail;
9232 {
9233 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9234 if ( tmp1 == NULL )
9235 return NULL;
9236 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
9237 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
9238 }
9239 {
9240 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9241 if ( tmp3 == NULL )
9242 return NULL;
9243 if ( PyArray_DIMS( tmp3 )[0] != Alen )
9244 {
9245 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
9246 return NULL;
9247 }
9248 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
9249 }
9250 {
9251 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
9252 if ( tmp4 == NULL )
9253 return NULL;
9254 if ( PyArray_DIMS( tmp4 )[0] != Alen )
9255 {
9256 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
9257 return NULL;
9258 }
9259 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
9260 }
9261 plline3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
9262 resultobj = SWIG_Py_Void();
9263 {
9264 Py_CLEAR( tmp1 );
9265 }
9266 {
9267 Py_CLEAR( tmp3 );
9268 }
9269 {
9270 Py_CLEAR( tmp4 );
9271 }
9272 return resultobj;
9273fail:
9274 {
9275 Py_CLEAR( tmp1 );
9276 }
9277 {
9278 Py_CLEAR( tmp3 );
9279 }
9280 {
9281 Py_CLEAR( tmp4 );
9282 }
9283 return NULL;
9284}
9285
9286
9287SWIGINTERN PyObject *_wrap_pllsty(PyObject *self, PyObject *args) {
9288 PyObject *resultobj = 0;
9289 PLINT arg1 ;
9290 int val1 ;
9291 int ecode1 = 0 ;
9292 PyObject *swig_obj[1] ;
9293
9294 (void)self;
9295 if (!args) SWIG_fail;
9296 swig_obj[0] = args;
9297 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
9298 if (!SWIG_IsOK(ecode1)) {
9299 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pllsty" "', argument " "1"" of type '" "PLINT""'");
9300 }
9301 arg1 = (PLINT)(val1);
9302 pllsty(arg1);
9303 resultobj = SWIG_Py_Void();
9304 return resultobj;
9305fail:
9306 return NULL;
9307}
9308
9309
9310SWIGINTERN PyObject *_wrap_plmesh(PyObject *self, PyObject *args) {
9311 PyObject *resultobj = 0;
9312 PLFLT *arg1 = 0 ;
9313 PLFLT *arg2 = 0 ;
9314 PLFLT **arg3 = 0 ;
9315 PLINT arg4 ;
9316 PLINT arg5 ;
9317 PLINT arg6 ;
9318 PyArrayObject *tmp1 = NULL ;
9319 PyArrayObject *tmp2 = NULL ;
9320 PyArrayObject *tmp3 = NULL ;
9321 int val6 ;
9322 int ecode6 = 0 ;
9323 PyObject *swig_obj[4] ;
9324
9325 (void)self;
9326 if (!SWIG_Python_UnpackTuple(args, "plmesh", 4, 4, swig_obj)) SWIG_fail;
9327 {
9328 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9329 if ( tmp1 == NULL )
9330 return NULL;
9331 Xlen = PyArray_DIMS( tmp1 )[0];
9332 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9333 }
9334 {
9335 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9336 if ( tmp2 == NULL )
9337 return NULL;
9338 Ylen = PyArray_DIMS( tmp2 )[0];
9339 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9340 }
9341 {
9342 int i, size;
9343 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9344 if ( tmp3 == NULL )
9345 return NULL;
9346 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9347 {
9348 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9349 return NULL;
9350 }
9351 arg4 = PyArray_DIMS( tmp3 )[0];
9352 arg5 = PyArray_DIMS( tmp3 )[1];
9353 size = arg5;
9354 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9355 for ( i = 0; i < arg4; i++ )
9356 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9357 }
9358 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9359 if (!SWIG_IsOK(ecode6)) {
9360 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmesh" "', argument " "6"" of type '" "PLINT""'");
9361 }
9362 arg6 = (PLINT)(val6);
9363 plmesh((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6);
9364 resultobj = SWIG_Py_Void();
9365 {
9366 Py_CLEAR( tmp1 );
9367 }
9368 {
9369 Py_CLEAR( tmp2 );
9370 }
9371 {
9372 Py_CLEAR( tmp3 );
9373 free( arg3 );
9374 }
9375 return resultobj;
9376fail:
9377 {
9378 Py_CLEAR( tmp1 );
9379 }
9380 {
9381 Py_CLEAR( tmp2 );
9382 }
9383 {
9384 Py_CLEAR( tmp3 );
9385 free( arg3 );
9386 }
9387 return NULL;
9388}
9389
9390
9391SWIGINTERN PyObject *_wrap_plmeshc(PyObject *self, PyObject *args) {
9392 PyObject *resultobj = 0;
9393 PLFLT *arg1 = 0 ;
9394 PLFLT *arg2 = 0 ;
9395 PLFLT **arg3 = 0 ;
9396 PLINT arg4 ;
9397 PLINT arg5 ;
9398 PLINT arg6 ;
9399 PLFLT *arg7 = 0 ;
9400 PLINT arg8 ;
9401 PyArrayObject *tmp1 = NULL ;
9402 PyArrayObject *tmp2 = NULL ;
9403 PyArrayObject *tmp3 = NULL ;
9404 int val6 ;
9405 int ecode6 = 0 ;
9406 PyArrayObject *tmp7 = NULL ;
9407 PyObject *swig_obj[5] ;
9408
9409 (void)self;
9410 if (!SWIG_Python_UnpackTuple(args, "plmeshc", 5, 5, swig_obj)) SWIG_fail;
9411 {
9412 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9413 if ( tmp1 == NULL )
9414 return NULL;
9415 Xlen = PyArray_DIMS( tmp1 )[0];
9416 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9417 }
9418 {
9419 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9420 if ( tmp2 == NULL )
9421 return NULL;
9422 Ylen = PyArray_DIMS( tmp2 )[0];
9423 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9424 }
9425 {
9426 int i, size;
9427 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9428 if ( tmp3 == NULL )
9429 return NULL;
9430 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9431 {
9432 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9433 return NULL;
9434 }
9435 arg4 = PyArray_DIMS( tmp3 )[0];
9436 arg5 = PyArray_DIMS( tmp3 )[1];
9437 size = arg5;
9438 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9439 for ( i = 0; i < arg4; i++ )
9440 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9441 }
9442 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9443 if (!SWIG_IsOK(ecode6)) {
9444 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmeshc" "', argument " "6"" of type '" "PLINT""'");
9445 }
9446 arg6 = (PLINT)(val6);
9447 {
9448 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
9449 if ( tmp7 == NULL )
9450 return NULL;
9451 arg8 = PyArray_DIMS( tmp7 )[0];
9452 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9453 }
9454 plmeshc((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
9455 resultobj = SWIG_Py_Void();
9456 {
9457 Py_CLEAR( tmp1 );
9458 }
9459 {
9460 Py_CLEAR( tmp2 );
9461 }
9462 {
9463 Py_CLEAR( tmp3 );
9464 free( arg3 );
9465 }
9466 {
9467 Py_CLEAR( tmp7 );
9468 }
9469 return resultobj;
9470fail:
9471 {
9472 Py_CLEAR( tmp1 );
9473 }
9474 {
9475 Py_CLEAR( tmp2 );
9476 }
9477 {
9478 Py_CLEAR( tmp3 );
9479 free( arg3 );
9480 }
9481 {
9482 Py_CLEAR( tmp7 );
9483 }
9484 return NULL;
9485}
9486
9487
9488SWIGINTERN PyObject *_wrap_plmkstrm(PyObject *self, PyObject *args) {
9489 PyObject *resultobj = 0;
9490 PLINT *arg1 = 0 ;
9491 PLINT temp1 ;
9492 int res1 = SWIG_TMPOBJ ;
9493
9494 arg1 = &temp1;
9495 (void)self;
9496 if (!SWIG_Python_UnpackTuple(args, "plmkstrm", 0, 0, 0)) SWIG_fail;
9497 plmkstrm(arg1);
9498 resultobj = SWIG_Py_Void();
9499 if (SWIG_IsTmpObj(res1)) {
9500 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
9501 } else {
9502 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9503 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
9504 }
9505 return resultobj;
9506fail:
9507 return NULL;
9508}
9509
9510
9511SWIGINTERN PyObject *_wrap_plmtex(PyObject *self, PyObject *args) {
9512 PyObject *resultobj = 0;
9513 char *arg1 = 0 ;
9514 PLFLT arg2 ;
9515 PLFLT arg3 ;
9516 PLFLT arg4 ;
9517 char *arg5 = 0 ;
9518 int res1 ;
9519 char *buf1 = 0 ;
9520 int alloc1 = 0 ;
9521 double val2 ;
9522 int ecode2 = 0 ;
9523 double val3 ;
9524 int ecode3 = 0 ;
9525 double val4 ;
9526 int ecode4 = 0 ;
9527 int res5 ;
9528 char *buf5 = 0 ;
9529 int alloc5 = 0 ;
9530 PyObject *swig_obj[5] ;
9531
9532 (void)self;
9533 if (!SWIG_Python_UnpackTuple(args, "plmtex", 5, 5, swig_obj)) SWIG_fail;
9534 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
9535 if (!SWIG_IsOK(res1)) {
9536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plmtex" "', argument " "1"" of type '" "char const *""'");
9537 }
9538 arg1 = (char *)(buf1);
9539 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
9540 if (!SWIG_IsOK(ecode2)) {
9541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plmtex" "', argument " "2"" of type '" "PLFLT""'");
9542 }
9543 arg2 = (PLFLT)(val2);
9544 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
9545 if (!SWIG_IsOK(ecode3)) {
9546 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmtex" "', argument " "3"" of type '" "PLFLT""'");
9547 }
9548 arg3 = (PLFLT)(val3);
9549 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
9550 if (!SWIG_IsOK(ecode4)) {
9551 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmtex" "', argument " "4"" of type '" "PLFLT""'");
9552 }
9553 arg4 = (PLFLT)(val4);
9554 res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
9555 if (!SWIG_IsOK(res5)) {
9556 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plmtex" "', argument " "5"" of type '" "char const *""'");
9557 }
9558 arg5 = (char *)(buf5);
9559 plmtex((char const *)arg1,arg2,arg3,arg4,(char const *)arg5);
9560 resultobj = SWIG_Py_Void();
9561 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9562 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9563 return resultobj;
9564fail:
9565 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9566 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9567 return NULL;
9568}
9569
9570
9571SWIGINTERN PyObject *_wrap_plmtex3(PyObject *self, PyObject *args) {
9572 PyObject *resultobj = 0;
9573 char *arg1 = 0 ;
9574 PLFLT arg2 ;
9575 PLFLT arg3 ;
9576 PLFLT arg4 ;
9577 char *arg5 = 0 ;
9578 int res1 ;
9579 char *buf1 = 0 ;
9580 int alloc1 = 0 ;
9581 double val2 ;
9582 int ecode2 = 0 ;
9583 double val3 ;
9584 int ecode3 = 0 ;
9585 double val4 ;
9586 int ecode4 = 0 ;
9587 int res5 ;
9588 char *buf5 = 0 ;
9589 int alloc5 = 0 ;
9590 PyObject *swig_obj[5] ;
9591
9592 (void)self;
9593 if (!SWIG_Python_UnpackTuple(args, "plmtex3", 5, 5, swig_obj)) SWIG_fail;
9594 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
9595 if (!SWIG_IsOK(res1)) {
9596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plmtex3" "', argument " "1"" of type '" "char const *""'");
9597 }
9598 arg1 = (char *)(buf1);
9599 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
9600 if (!SWIG_IsOK(ecode2)) {
9601 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plmtex3" "', argument " "2"" of type '" "PLFLT""'");
9602 }
9603 arg2 = (PLFLT)(val2);
9604 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
9605 if (!SWIG_IsOK(ecode3)) {
9606 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmtex3" "', argument " "3"" of type '" "PLFLT""'");
9607 }
9608 arg3 = (PLFLT)(val3);
9609 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
9610 if (!SWIG_IsOK(ecode4)) {
9611 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmtex3" "', argument " "4"" of type '" "PLFLT""'");
9612 }
9613 arg4 = (PLFLT)(val4);
9614 res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
9615 if (!SWIG_IsOK(res5)) {
9616 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plmtex3" "', argument " "5"" of type '" "char const *""'");
9617 }
9618 arg5 = (char *)(buf5);
9619 plmtex3((char const *)arg1,arg2,arg3,arg4,(char const *)arg5);
9620 resultobj = SWIG_Py_Void();
9621 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9622 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9623 return resultobj;
9624fail:
9625 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9626 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9627 return NULL;
9628}
9629
9630
9631SWIGINTERN PyObject *_wrap_plot3d(PyObject *self, PyObject *args) {
9632 PyObject *resultobj = 0;
9633 PLFLT *arg1 = 0 ;
9634 PLFLT *arg2 = 0 ;
9635 PLFLT **arg3 = 0 ;
9636 PLINT arg4 ;
9637 PLINT arg5 ;
9638 PLINT arg6 ;
9639 PLBOOL arg7 ;
9640 PyArrayObject *tmp1 = NULL ;
9641 PyArrayObject *tmp2 = NULL ;
9642 PyArrayObject *tmp3 = NULL ;
9643 int val6 ;
9644 int ecode6 = 0 ;
9645 int val7 ;
9646 int ecode7 = 0 ;
9647 PyObject *swig_obj[5] ;
9648
9649 (void)self;
9650 if (!SWIG_Python_UnpackTuple(args, "plot3d", 5, 5, swig_obj)) SWIG_fail;
9651 {
9652 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9653 if ( tmp1 == NULL )
9654 return NULL;
9655 Xlen = PyArray_DIMS( tmp1 )[0];
9656 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9657 }
9658 {
9659 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9660 if ( tmp2 == NULL )
9661 return NULL;
9662 Ylen = PyArray_DIMS( tmp2 )[0];
9663 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9664 }
9665 {
9666 int i, size;
9667 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9668 if ( tmp3 == NULL )
9669 return NULL;
9670 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9671 {
9672 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9673 return NULL;
9674 }
9675 arg4 = PyArray_DIMS( tmp3 )[0];
9676 arg5 = PyArray_DIMS( tmp3 )[1];
9677 size = arg5;
9678 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9679 for ( i = 0; i < arg4; i++ )
9680 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9681 }
9682 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9683 if (!SWIG_IsOK(ecode6)) {
9684 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plot3d" "', argument " "6"" of type '" "PLINT""'");
9685 }
9686 arg6 = (PLINT)(val6);
9687 ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
9688 if (!SWIG_IsOK(ecode7)) {
9689 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plot3d" "', argument " "7"" of type '" "PLBOOL""'");
9690 }
9691 arg7 = (PLBOOL)(val7);
9692 plot3d((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6,arg7);
9693 resultobj = SWIG_Py_Void();
9694 {
9695 Py_CLEAR( tmp1 );
9696 }
9697 {
9698 Py_CLEAR( tmp2 );
9699 }
9700 {
9701 Py_CLEAR( tmp3 );
9702 free( arg3 );
9703 }
9704 return resultobj;
9705fail:
9706 {
9707 Py_CLEAR( tmp1 );
9708 }
9709 {
9710 Py_CLEAR( tmp2 );
9711 }
9712 {
9713 Py_CLEAR( tmp3 );
9714 free( arg3 );
9715 }
9716 return NULL;
9717}
9718
9719
9720SWIGINTERN PyObject *_wrap_plot3dc(PyObject *self, PyObject *args) {
9721 PyObject *resultobj = 0;
9722 PLFLT *arg1 = 0 ;
9723 PLFLT *arg2 = 0 ;
9724 PLFLT **arg3 = 0 ;
9725 PLINT arg4 ;
9726 PLINT arg5 ;
9727 PLINT arg6 ;
9728 PLFLT *arg7 = 0 ;
9729 PLINT arg8 ;
9730 PyArrayObject *tmp1 = NULL ;
9731 PyArrayObject *tmp2 = NULL ;
9732 PyArrayObject *tmp3 = NULL ;
9733 int val6 ;
9734 int ecode6 = 0 ;
9735 PyArrayObject *tmp7 = NULL ;
9736 PyObject *swig_obj[5] ;
9737
9738 (void)self;
9739 if (!SWIG_Python_UnpackTuple(args, "plot3dc", 5, 5, swig_obj)) SWIG_fail;
9740 {
9741 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9742 if ( tmp1 == NULL )
9743 return NULL;
9744 Xlen = PyArray_DIMS( tmp1 )[0];
9745 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9746 }
9747 {
9748 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9749 if ( tmp2 == NULL )
9750 return NULL;
9751 Ylen = PyArray_DIMS( tmp2 )[0];
9752 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9753 }
9754 {
9755 int i, size;
9756 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9757 if ( tmp3 == NULL )
9758 return NULL;
9759 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9760 {
9761 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9762 return NULL;
9763 }
9764 arg4 = PyArray_DIMS( tmp3 )[0];
9765 arg5 = PyArray_DIMS( tmp3 )[1];
9766 size = arg5;
9767 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9768 for ( i = 0; i < arg4; i++ )
9769 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9770 }
9771 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9772 if (!SWIG_IsOK(ecode6)) {
9773 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plot3dc" "', argument " "6"" of type '" "PLINT""'");
9774 }
9775 arg6 = (PLINT)(val6);
9776 {
9777 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
9778 if ( tmp7 == NULL )
9779 return NULL;
9780 arg8 = PyArray_DIMS( tmp7 )[0];
9781 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9782 }
9783 plot3dc((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
9784 resultobj = SWIG_Py_Void();
9785 {
9786 Py_CLEAR( tmp1 );
9787 }
9788 {
9789 Py_CLEAR( tmp2 );
9790 }
9791 {
9792 Py_CLEAR( tmp3 );
9793 free( arg3 );
9794 }
9795 {
9796 Py_CLEAR( tmp7 );
9797 }
9798 return resultobj;
9799fail:
9800 {
9801 Py_CLEAR( tmp1 );
9802 }
9803 {
9804 Py_CLEAR( tmp2 );
9805 }
9806 {
9807 Py_CLEAR( tmp3 );
9808 free( arg3 );
9809 }
9810 {
9811 Py_CLEAR( tmp7 );
9812 }
9813 return NULL;
9814}
9815
9816
9817SWIGINTERN PyObject *_wrap_plot3dcl(PyObject *self, PyObject *args) {
9818 PyObject *resultobj = 0;
9819 PLFLT *arg1 = 0 ;
9820 PLFLT *arg2 = 0 ;
9821 PLFLT **arg3 = 0 ;
9822 PLINT arg4 ;
9823 PLINT arg5 ;
9824 PLINT arg6 ;
9825 PLFLT *arg7 = 0 ;
9826 PLINT arg8 ;
9827 PLINT arg9 ;
9828 PLINT arg10 ;
9829 PLINT *arg11 = 0 ;
9830 PLINT *arg12 = 0 ;
9831 PyArrayObject *tmp1 = NULL ;
9832 PyArrayObject *tmp2 = NULL ;
9833 PyArrayObject *tmp3 = NULL ;
9834 int val6 ;
9835 int ecode6 = 0 ;
9836 PyArrayObject *tmp7 = NULL ;
9837 int val9 ;
9838 int ecode9 = 0 ;
9839 PyArrayObject *tmp10 = NULL ;
9840 PyArrayObject *tmp12 = NULL ;
9841 PyObject *swig_obj[8] ;
9842
9843 (void)self;
9844 if (!SWIG_Python_UnpackTuple(args, "plot3dcl", 8, 8, swig_obj)) SWIG_fail;
9845 {
9846 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9847 if ( tmp1 == NULL )
9848 return NULL;
9849 Xlen = PyArray_DIMS( tmp1 )[0];
9850 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9851 }
9852 {
9853 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9854 if ( tmp2 == NULL )
9855 return NULL;
9856 Ylen = PyArray_DIMS( tmp2 )[0];
9857 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9858 }
9859 {
9860 int i, size;
9861 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9862 if ( tmp3 == NULL )
9863 return NULL;
9864 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9865 {
9866 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9867 return NULL;
9868 }
9869 arg4 = PyArray_DIMS( tmp3 )[0];
9870 arg5 = PyArray_DIMS( tmp3 )[1];
9871 size = arg5;
9872 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9873 for ( i = 0; i < arg4; i++ )
9874 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9875 }
9876 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9877 if (!SWIG_IsOK(ecode6)) {
9878 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plot3dcl" "', argument " "6"" of type '" "PLINT""'");
9879 }
9880 arg6 = (PLINT)(val6);
9881 {
9882 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
9883 if ( tmp7 == NULL )
9884 return NULL;
9885 arg8 = PyArray_DIMS( tmp7 )[0];
9886 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9887 }
9888 ecode9 = SWIG_AsVal_int(swig_obj[5], &val9);
9889 if (!SWIG_IsOK(ecode9)) {
9890 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plot3dcl" "', argument " "9"" of type '" "PLINT""'");
9891 }
9892 arg9 = (PLINT)(val9);
9893 {
9894 tmp10 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[6], NPY_PLINT, 1, 1 );
9895 if ( tmp10 == NULL )
9896 return NULL;
9897 arg10 = Alen = PyArray_DIMS( tmp10 )[0];
9898 arg11 = (PLINT *) PyArray_DATA( tmp10 );
9899 }
9900 {
9901 tmp12 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[7], NPY_PLINT, 1, 1 );
9902 if ( tmp12 == NULL )
9903 return NULL;
9904 if ( PyArray_DIMS( tmp12 )[0] != Alen )
9905 {
9906 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
9907 return NULL;
9908 }
9909 arg12 = (PLINT *) PyArray_DATA( tmp12 );
9910 }
9911 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);
9912 resultobj = SWIG_Py_Void();
9913 {
9914 Py_CLEAR( tmp1 );
9915 }
9916 {
9917 Py_CLEAR( tmp2 );
9918 }
9919 {
9920 Py_CLEAR( tmp3 );
9921 free( arg3 );
9922 }
9923 {
9924 Py_CLEAR( tmp7 );
9925 }
9926 {
9927 Py_CLEAR( tmp10 );
9928 }
9929 {
9930 Py_CLEAR( tmp12 );
9931 }
9932 return resultobj;
9933fail:
9934 {
9935 Py_CLEAR( tmp1 );
9936 }
9937 {
9938 Py_CLEAR( tmp2 );
9939 }
9940 {
9941 Py_CLEAR( tmp3 );
9942 free( arg3 );
9943 }
9944 {
9945 Py_CLEAR( tmp7 );
9946 }
9947 {
9948 Py_CLEAR( tmp10 );
9949 }
9950 {
9951 Py_CLEAR( tmp12 );
9952 }
9953 return NULL;
9954}
9955
9956
9957SWIGINTERN PyObject *_wrap_plsurf3d(PyObject *self, PyObject *args) {
9958 PyObject *resultobj = 0;
9959 PLFLT *arg1 = 0 ;
9960 PLFLT *arg2 = 0 ;
9961 PLFLT **arg3 = 0 ;
9962 PLINT arg4 ;
9963 PLINT arg5 ;
9964 PLINT arg6 ;
9965 PLFLT *arg7 = 0 ;
9966 PLINT arg8 ;
9967 PyArrayObject *tmp1 = NULL ;
9968 PyArrayObject *tmp2 = NULL ;
9969 PyArrayObject *tmp3 = NULL ;
9970 int val6 ;
9971 int ecode6 = 0 ;
9972 PyArrayObject *tmp7 = NULL ;
9973 PyObject *swig_obj[5] ;
9974
9975 (void)self;
9976 if (!SWIG_Python_UnpackTuple(args, "plsurf3d", 5, 5, swig_obj)) SWIG_fail;
9977 {
9978 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9979 if ( tmp1 == NULL )
9980 return NULL;
9981 Xlen = PyArray_DIMS( tmp1 )[0];
9982 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9983 }
9984 {
9985 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9986 if ( tmp2 == NULL )
9987 return NULL;
9988 Ylen = PyArray_DIMS( tmp2 )[0];
9989 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9990 }
9991 {
9992 int i, size;
9993 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9994 if ( tmp3 == NULL )
9995 return NULL;
9996 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9997 {
9998 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9999 return NULL;
10000 }
10001 arg4 = PyArray_DIMS( tmp3 )[0];
10002 arg5 = PyArray_DIMS( tmp3 )[1];
10003 size = arg5;
10004 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
10005 for ( i = 0; i < arg4; i++ )
10006 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
10007 }
10008 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
10009 if (!SWIG_IsOK(ecode6)) {
10010 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plsurf3d" "', argument " "6"" of type '" "PLINT""'");
10011 }
10012 arg6 = (PLINT)(val6);
10013 {
10014 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
10015 if ( tmp7 == NULL )
10016 return NULL;
10017 arg8 = PyArray_DIMS( tmp7 )[0];
10018 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
10019 }
10020 plsurf3d((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
10021 resultobj = SWIG_Py_Void();
10022 {
10023 Py_CLEAR( tmp1 );
10024 }
10025 {
10026 Py_CLEAR( tmp2 );
10027 }
10028 {
10029 Py_CLEAR( tmp3 );
10030 free( arg3 );
10031 }
10032 {
10033 Py_CLEAR( tmp7 );
10034 }
10035 return resultobj;
10036fail:
10037 {
10038 Py_CLEAR( tmp1 );
10039 }
10040 {
10041 Py_CLEAR( tmp2 );
10042 }
10043 {
10044 Py_CLEAR( tmp3 );
10045 free( arg3 );
10046 }
10047 {
10048 Py_CLEAR( tmp7 );
10049 }
10050 return NULL;
10051}
10052
10053
10054SWIGINTERN PyObject *_wrap_plsurf3dl(PyObject *self, PyObject *args) {
10055 PyObject *resultobj = 0;
10056 PLFLT *arg1 = 0 ;
10057 PLFLT *arg2 = 0 ;
10058 PLFLT **arg3 = 0 ;
10059 PLINT arg4 ;
10060 PLINT arg5 ;
10061 PLINT arg6 ;
10062 PLFLT *arg7 = 0 ;
10063 PLINT arg8 ;
10064 PLINT arg9 ;
10065 PLINT arg10 ;
10066 PLINT *arg11 = 0 ;
10067 PLINT *arg12 = 0 ;
10068 PyArrayObject *tmp1 = NULL ;
10069 PyArrayObject *tmp2 = NULL ;
10070 PyArrayObject *tmp3 = NULL ;
10071 int val6 ;
10072 int ecode6 = 0 ;
10073 PyArrayObject *tmp7 = NULL ;
10074 int val9 ;
10075 int ecode9 = 0 ;
10076 PyArrayObject *tmp10 = NULL ;
10077 PyArrayObject *tmp12 = NULL ;
10078 PyObject *swig_obj[8] ;
10079
10080 (void)self;
10081 if (!SWIG_Python_UnpackTuple(args, "plsurf3dl", 8, 8, swig_obj)) SWIG_fail;
10082 {
10083 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
10084 if ( tmp1 == NULL )
10085 return NULL;
10086 Xlen = PyArray_DIMS( tmp1 )[0];
10087 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
10088 }
10089 {
10090 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
10091 if ( tmp2 == NULL )
10092 return NULL;
10093 Ylen = PyArray_DIMS( tmp2 )[0];
10094 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
10095 }
10096 {
10097 int i, size;
10098 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
10099 if ( tmp3 == NULL )
10100 return NULL;
10101 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
10102 {
10103 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
10104 return NULL;
10105 }
10106 arg4 = PyArray_DIMS( tmp3 )[0];
10107 arg5 = PyArray_DIMS( tmp3 )[1];
10108 size = arg5;
10109 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
10110 for ( i = 0; i < arg4; i++ )
10111 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
10112 }
10113 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
10114 if (!SWIG_IsOK(ecode6)) {
10115 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plsurf3dl" "', argument " "6"" of type '" "PLINT""'");
10116 }
10117 arg6 = (PLINT)(val6);
10118 {
10119 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
10120 if ( tmp7 == NULL )
10121 return NULL;
10122 arg8 = PyArray_DIMS( tmp7 )[0];
10123 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
10124 }
10125 ecode9 = SWIG_AsVal_int(swig_obj[5], &val9);
10126 if (!SWIG_IsOK(ecode9)) {
10127 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plsurf3dl" "', argument " "9"" of type '" "PLINT""'");
10128 }
10129 arg9 = (PLINT)(val9);
10130 {
10131 tmp10 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[6], NPY_PLINT, 1, 1 );
10132 if ( tmp10 == NULL )
10133 return NULL;
10134 arg10 = Alen = PyArray_DIMS( tmp10 )[0];
10135 arg11 = (PLINT *) PyArray_DATA( tmp10 );
10136 }
10137 {
10138 tmp12 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[7], NPY_PLINT, 1, 1 );
10139 if ( tmp12 == NULL )
10140 return NULL;
10141 if ( PyArray_DIMS( tmp12 )[0] != Alen )
10142 {
10143 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10144 return NULL;
10145 }
10146 arg12 = (PLINT *) PyArray_DATA( tmp12 );
10147 }
10148 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);
10149 resultobj = SWIG_Py_Void();
10150 {
10151 Py_CLEAR( tmp1 );
10152 }
10153 {
10154 Py_CLEAR( tmp2 );
10155 }
10156 {
10157 Py_CLEAR( tmp3 );
10158 free( arg3 );
10159 }
10160 {
10161 Py_CLEAR( tmp7 );
10162 }
10163 {
10164 Py_CLEAR( tmp10 );
10165 }
10166 {
10167 Py_CLEAR( tmp12 );
10168 }
10169 return resultobj;
10170fail:
10171 {
10172 Py_CLEAR( tmp1 );
10173 }
10174 {
10175 Py_CLEAR( tmp2 );
10176 }
10177 {
10178 Py_CLEAR( tmp3 );
10179 free( arg3 );
10180 }
10181 {
10182 Py_CLEAR( tmp7 );
10183 }
10184 {
10185 Py_CLEAR( tmp10 );
10186 }
10187 {
10188 Py_CLEAR( tmp12 );
10189 }
10190 return NULL;
10191}
10192
10193
10194SWIGINTERN PyObject *_wrap_plparseopts(PyObject *self, PyObject *args) {
10195 PyObject *resultobj = 0;
10196 int *arg1 = 0 ;
10197 char **arg2 = 0 ;
10198 PLINT arg3 ;
10199 int tmp1 ;
10200 int val3 ;
10201 int ecode3 = 0 ;
10202 PyObject *swig_obj[2] ;
10203 PLINT result;
10204
10205 (void)self;
10206 if (!SWIG_Python_UnpackTuple(args, "plparseopts", 2, 2, swig_obj)) SWIG_fail;
10207 {
10208 int i;
10209 PyObject *unicode_string;
10210
10211 if ( !PyList_Check( swig_obj[0] ) )
10212 {
10213 PyErr_SetString( PyExc_ValueError, "Expecting a list" );
10214 return NULL;
10215 }
10216 tmp1 = PyList_Size( swig_obj[0] );
10217 arg1 = &tmp1;
10218 arg2 = (char **) malloc( (size_t) ( tmp1 + 1 ) * sizeof ( char * ) );
10219 for ( i = 0; i < tmp1; i++ )
10220 {
10221 PyObject *s = PyList_GetItem( swig_obj[0], i );
10222 if ( PyString_Check( s ) )
10223 {
10224 arg2[i] = PyString_AsString( s );
10225 }
10226 else if ( PyUnicode_Check( s ) )
10227 {
10228 // unicode_string is never freed? memory leak here?
10229 unicode_string = PyUnicode_AsEncodedString( s, "utf-8", "Error ~" );
10230 arg2[i] = PyBytes_AS_STRING( unicode_string );
10231 }
10232 else
10233 {
10234 free( arg2 );
10235 PyErr_SetString( PyExc_ValueError, "List items must be strings" );
10236 return NULL;
10237 }
10238 }
10239 arg2[i] = 0;
10240 }
10241 ecode3 = SWIG_AsVal_int(swig_obj[1], &val3);
10242 if (!SWIG_IsOK(ecode3)) {
10243 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plparseopts" "', argument " "3"" of type '" "PLINT""'");
10244 }
10245 arg3 = (PLINT)(val3);
10246 result = (PLINT)plparseopts(arg1,arg2,arg3);
10247 resultobj = SWIG_From_int((int)(result));
10248 {
10249 if ( arg2 )
10250 free( arg2 );
10251 }
10252 return resultobj;
10253fail:
10254 {
10255 if ( arg2 )
10256 free( arg2 );
10257 }
10258 return NULL;
10259}
10260
10261
10262SWIGINTERN PyObject *_wrap_plpat(PyObject *self, PyObject *args) {
10263 PyObject *resultobj = 0;
10264 PLINT arg1 ;
10265 PLINT *arg2 = 0 ;
10266 PLINT *arg3 = 0 ;
10267 PyArrayObject *tmp1 = NULL ;
10268 PyArrayObject *tmp3 = NULL ;
10269 PyObject *swig_obj[2] ;
10270
10271 (void)self;
10272 if (!SWIG_Python_UnpackTuple(args, "plpat", 2, 2, swig_obj)) SWIG_fail;
10273 {
10274 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
10275 if ( tmp1 == NULL )
10276 return NULL;
10277 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10278 arg2 = (PLINT *) PyArray_DATA( tmp1 );
10279 }
10280 {
10281 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
10282 if ( tmp3 == NULL )
10283 return NULL;
10284 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10285 {
10286 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10287 return NULL;
10288 }
10289 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10290 }
10291 plpat(arg1,(int const *)arg2,(int const *)arg3);
10292 resultobj = SWIG_Py_Void();
10293 {
10294 Py_CLEAR( tmp1 );
10295 }
10296 {
10297 Py_CLEAR( tmp3 );
10298 }
10299 return resultobj;
10300fail:
10301 {
10302 Py_CLEAR( tmp1 );
10303 }
10304 {
10305 Py_CLEAR( tmp3 );
10306 }
10307 return NULL;
10308}
10309
10310
10311SWIGINTERN PyObject *_wrap_plpath(PyObject *self, PyObject *args) {
10312 PyObject *resultobj = 0;
10313 PLINT arg1 ;
10314 PLFLT arg2 ;
10315 PLFLT arg3 ;
10316 PLFLT arg4 ;
10317 PLFLT arg5 ;
10318 int val1 ;
10319 int ecode1 = 0 ;
10320 double val2 ;
10321 int ecode2 = 0 ;
10322 double val3 ;
10323 int ecode3 = 0 ;
10324 double val4 ;
10325 int ecode4 = 0 ;
10326 double val5 ;
10327 int ecode5 = 0 ;
10328 PyObject *swig_obj[5] ;
10329
10330 (void)self;
10331 if (!SWIG_Python_UnpackTuple(args, "plpath", 5, 5, swig_obj)) SWIG_fail;
10332 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
10333 if (!SWIG_IsOK(ecode1)) {
10334 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plpath" "', argument " "1"" of type '" "PLINT""'");
10335 }
10336 arg1 = (PLINT)(val1);
10337 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
10338 if (!SWIG_IsOK(ecode2)) {
10339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plpath" "', argument " "2"" of type '" "PLFLT""'");
10340 }
10341 arg2 = (PLFLT)(val2);
10342 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
10343 if (!SWIG_IsOK(ecode3)) {
10344 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plpath" "', argument " "3"" of type '" "PLFLT""'");
10345 }
10346 arg3 = (PLFLT)(val3);
10347 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
10348 if (!SWIG_IsOK(ecode4)) {
10349 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plpath" "', argument " "4"" of type '" "PLFLT""'");
10350 }
10351 arg4 = (PLFLT)(val4);
10352 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
10353 if (!SWIG_IsOK(ecode5)) {
10354 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plpath" "', argument " "5"" of type '" "PLFLT""'");
10355 }
10356 arg5 = (PLFLT)(val5);
10357 plpath(arg1,arg2,arg3,arg4,arg5);
10358 resultobj = SWIG_Py_Void();
10359 return resultobj;
10360fail:
10361 return NULL;
10362}
10363
10364
10365SWIGINTERN PyObject *_wrap_plpoin(PyObject *self, PyObject *args) {
10366 PyObject *resultobj = 0;
10367 PLINT arg1 ;
10368 PLFLT *arg2 = 0 ;
10369 PLFLT *arg3 = 0 ;
10370 PLINT arg4 ;
10371 PyArrayObject *tmp1 = NULL ;
10372 PyArrayObject *tmp3 = NULL ;
10373 int val4 ;
10374 int ecode4 = 0 ;
10375 PyObject *swig_obj[3] ;
10376
10377 (void)self;
10378 if (!SWIG_Python_UnpackTuple(args, "plpoin", 3, 3, swig_obj)) SWIG_fail;
10379 {
10380 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
10381 if ( tmp1 == NULL )
10382 return NULL;
10383 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10384 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
10385 }
10386 {
10387 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
10388 if ( tmp3 == NULL )
10389 return NULL;
10390 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10391 {
10392 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10393 return NULL;
10394 }
10395 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
10396 }
10397 ecode4 = SWIG_AsVal_int(swig_obj[2], &val4);
10398 if (!SWIG_IsOK(ecode4)) {
10399 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plpoin" "', argument " "4"" of type '" "PLINT""'");
10400 }
10401 arg4 = (PLINT)(val4);
10402 plpoin(arg1,(double const *)arg2,(double const *)arg3,arg4);
10403 resultobj = SWIG_Py_Void();
10404 {
10405 Py_CLEAR( tmp1 );
10406 }
10407 {
10408 Py_CLEAR( tmp3 );
10409 }
10410 return resultobj;
10411fail:
10412 {
10413 Py_CLEAR( tmp1 );
10414 }
10415 {
10416 Py_CLEAR( tmp3 );
10417 }
10418 return NULL;
10419}
10420
10421
10422SWIGINTERN PyObject *_wrap_plpoin3(PyObject *self, PyObject *args) {
10423 PyObject *resultobj = 0;
10424 PLINT arg1 ;
10425 PLFLT *arg2 = 0 ;
10426 PLFLT *arg3 = 0 ;
10427 PLFLT *arg4 = 0 ;
10428 PLINT arg5 ;
10429 PyArrayObject *tmp1 = NULL ;
10430 PyArrayObject *tmp3 = NULL ;
10431 PyArrayObject *tmp4 = NULL ;
10432 int val5 ;
10433 int ecode5 = 0 ;
10434 PyObject *swig_obj[4] ;
10435
10436 (void)self;
10437 if (!SWIG_Python_UnpackTuple(args, "plpoin3", 4, 4, swig_obj)) SWIG_fail;
10438 {
10439 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
10440 if ( tmp1 == NULL )
10441 return NULL;
10442 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10443 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
10444 }
10445 {
10446 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
10447 if ( tmp3 == NULL )
10448 return NULL;
10449 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10450 {
10451 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10452 return NULL;
10453 }
10454 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
10455 }
10456 {
10457 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
10458 if ( tmp4 == NULL )
10459 return NULL;
10460 if ( PyArray_DIMS( tmp4 )[0] != Alen )
10461 {
10462 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10463 return NULL;
10464 }
10465 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10466 }
10467 ecode5 = SWIG_AsVal_int(swig_obj[3], &val5);
10468 if (!SWIG_IsOK(ecode5)) {
10469 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plpoin3" "', argument " "5"" of type '" "PLINT""'");
10470 }
10471 arg5 = (PLINT)(val5);
10472 plpoin3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4,arg5);
10473 resultobj = SWIG_Py_Void();
10474 {
10475 Py_CLEAR( tmp1 );
10476 }
10477 {
10478 Py_CLEAR( tmp3 );
10479 }
10480 {
10481 Py_CLEAR( tmp4 );
10482 }
10483 return resultobj;
10484fail:
10485 {
10486 Py_CLEAR( tmp1 );
10487 }
10488 {
10489 Py_CLEAR( tmp3 );
10490 }
10491 {
10492 Py_CLEAR( tmp4 );
10493 }
10494 return NULL;
10495}
10496
10497
10498SWIGINTERN PyObject *_wrap_plpoly3(PyObject *self, PyObject *args) {
10499 PyObject *resultobj = 0;
10500 PLINT arg1 ;
10501 PLFLT *arg2 = 0 ;
10502 PLFLT *arg3 = 0 ;
10503 PLFLT *arg4 = 0 ;
10504 PLBOOL *arg5 = 0 ;
10505 PLBOOL arg6 ;
10506 PyArrayObject *tmp1 = NULL ;
10507 PyArrayObject *tmp3 = NULL ;
10508 PyArrayObject *tmp4 = NULL ;
10509 PyArrayObject *tmp5 = NULL ;
10510 int val6 ;
10511 int ecode6 = 0 ;
10512 PyObject *swig_obj[5] ;
10513
10514 (void)self;
10515 if (!SWIG_Python_UnpackTuple(args, "plpoly3", 5, 5, swig_obj)) SWIG_fail;
10516 {
10517 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
10518 if ( tmp1 == NULL )
10519 return NULL;
10520 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10521 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
10522 }
10523 {
10524 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
10525 if ( tmp3 == NULL )
10526 return NULL;
10527 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10528 {
10529 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10530 return NULL;
10531 }
10532 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
10533 }
10534 {
10535 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
10536 if ( tmp4 == NULL )
10537 return NULL;
10538 if ( PyArray_DIMS( tmp4 )[0] != Alen )
10539 {
10540 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10541 return NULL;
10542 }
10543 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10544 }
10545 {
10546 tmp5 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[3], NPY_PLINT, 1, 1 );
10547 if ( tmp5 == NULL )
10548 return NULL;
10549 if ( PyArray_DIMS( tmp5 )[0] < Alen - 1 )
10550 {
10551 PyErr_SetString( PyExc_ValueError, "Vector must be at least length of others minus 1." );
10552 return NULL;
10553 }
10554 arg5 = (PLINT *) PyArray_DATA( tmp5 );
10555 }
10556 ecode6 = SWIG_AsVal_int(swig_obj[4], &val6);
10557 if (!SWIG_IsOK(ecode6)) {
10558 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plpoly3" "', argument " "6"" of type '" "PLBOOL""'");
10559 }
10560 arg6 = (PLBOOL)(val6);
10561 plpoly3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4,(int const *)arg5,arg6);
10562 resultobj = SWIG_Py_Void();
10563 {
10564 Py_CLEAR( tmp1 );
10565 }
10566 {
10567 Py_CLEAR( tmp3 );
10568 }
10569 {
10570 Py_CLEAR( tmp4 );
10571 }
10572 {
10573 Py_CLEAR( tmp5 );
10574 }
10575 return resultobj;
10576fail:
10577 {
10578 Py_CLEAR( tmp1 );
10579 }
10580 {
10581 Py_CLEAR( tmp3 );
10582 }
10583 {
10584 Py_CLEAR( tmp4 );
10585 }
10586 {
10587 Py_CLEAR( tmp5 );
10588 }
10589 return NULL;
10590}
10591
10592
10593SWIGINTERN PyObject *_wrap_plprec(PyObject *self, PyObject *args) {
10594 PyObject *resultobj = 0;
10595 PLINT arg1 ;
10596 PLINT arg2 ;
10597 int val1 ;
10598 int ecode1 = 0 ;
10599 int val2 ;
10600 int ecode2 = 0 ;
10601 PyObject *swig_obj[2] ;
10602
10603 (void)self;
10604 if (!SWIG_Python_UnpackTuple(args, "plprec", 2, 2, swig_obj)) SWIG_fail;
10605 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
10606 if (!SWIG_IsOK(ecode1)) {
10607 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plprec" "', argument " "1"" of type '" "PLINT""'");
10608 }
10609 arg1 = (PLINT)(val1);
10610 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
10611 if (!SWIG_IsOK(ecode2)) {
10612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plprec" "', argument " "2"" of type '" "PLINT""'");
10613 }
10614 arg2 = (PLINT)(val2);
10615 plprec(arg1,arg2);
10616 resultobj = SWIG_Py_Void();
10617 return resultobj;
10618fail:
10619 return NULL;
10620}
10621
10622
10623SWIGINTERN PyObject *_wrap_plpsty(PyObject *self, PyObject *args) {
10624 PyObject *resultobj = 0;
10625 PLINT arg1 ;
10626 int val1 ;
10627 int ecode1 = 0 ;
10628 PyObject *swig_obj[1] ;
10629
10630 (void)self;
10631 if (!args) SWIG_fail;
10632 swig_obj[0] = args;
10633 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
10634 if (!SWIG_IsOK(ecode1)) {
10635 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plpsty" "', argument " "1"" of type '" "PLINT""'");
10636 }
10637 arg1 = (PLINT)(val1);
10638 plpsty(arg1);
10639 resultobj = SWIG_Py_Void();
10640 return resultobj;
10641fail:
10642 return NULL;
10643}
10644
10645
10646SWIGINTERN PyObject *_wrap_plptex(PyObject *self, PyObject *args) {
10647 PyObject *resultobj = 0;
10648 PLFLT arg1 ;
10649 PLFLT arg2 ;
10650 PLFLT arg3 ;
10651 PLFLT arg4 ;
10652 PLFLT arg5 ;
10653 char *arg6 = 0 ;
10654 double val1 ;
10655 int ecode1 = 0 ;
10656 double val2 ;
10657 int ecode2 = 0 ;
10658 double val3 ;
10659 int ecode3 = 0 ;
10660 double val4 ;
10661 int ecode4 = 0 ;
10662 double val5 ;
10663 int ecode5 = 0 ;
10664 int res6 ;
10665 char *buf6 = 0 ;
10666 int alloc6 = 0 ;
10667 PyObject *swig_obj[6] ;
10668
10669 (void)self;
10670 if (!SWIG_Python_UnpackTuple(args, "plptex", 6, 6, swig_obj)) SWIG_fail;
10671 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
10672 if (!SWIG_IsOK(ecode1)) {
10673 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plptex" "', argument " "1"" of type '" "PLFLT""'");
10674 }
10675 arg1 = (PLFLT)(val1);
10676 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
10677 if (!SWIG_IsOK(ecode2)) {
10678 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plptex" "', argument " "2"" of type '" "PLFLT""'");
10679 }
10680 arg2 = (PLFLT)(val2);
10681 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
10682 if (!SWIG_IsOK(ecode3)) {
10683 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plptex" "', argument " "3"" of type '" "PLFLT""'");
10684 }
10685 arg3 = (PLFLT)(val3);
10686 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
10687 if (!SWIG_IsOK(ecode4)) {
10688 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plptex" "', argument " "4"" of type '" "PLFLT""'");
10689 }
10690 arg4 = (PLFLT)(val4);
10691 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
10692 if (!SWIG_IsOK(ecode5)) {
10693 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plptex" "', argument " "5"" of type '" "PLFLT""'");
10694 }
10695 arg5 = (PLFLT)(val5);
10696 res6 = SWIG_AsCharPtrAndSize(swig_obj[5], &buf6, NULL, &alloc6);
10697 if (!SWIG_IsOK(res6)) {
10698 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plptex" "', argument " "6"" of type '" "char const *""'");
10699 }
10700 arg6 = (char *)(buf6);
10701 plptex(arg1,arg2,arg3,arg4,arg5,(char const *)arg6);
10702 resultobj = SWIG_Py_Void();
10703 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
10704 return resultobj;
10705fail:
10706 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
10707 return NULL;
10708}
10709
10710
10711SWIGINTERN PyObject *_wrap_plptex3(PyObject *self, PyObject *args) {
10712 PyObject *resultobj = 0;
10713 PLFLT arg1 ;
10714 PLFLT arg2 ;
10715 PLFLT arg3 ;
10716 PLFLT arg4 ;
10717 PLFLT arg5 ;
10718 PLFLT arg6 ;
10719 PLFLT arg7 ;
10720 PLFLT arg8 ;
10721 PLFLT arg9 ;
10722 PLFLT arg10 ;
10723 char *arg11 = 0 ;
10724 double val1 ;
10725 int ecode1 = 0 ;
10726 double val2 ;
10727 int ecode2 = 0 ;
10728 double val3 ;
10729 int ecode3 = 0 ;
10730 double val4 ;
10731 int ecode4 = 0 ;
10732 double val5 ;
10733 int ecode5 = 0 ;
10734 double val6 ;
10735 int ecode6 = 0 ;
10736 double val7 ;
10737 int ecode7 = 0 ;
10738 double val8 ;
10739 int ecode8 = 0 ;
10740 double val9 ;
10741 int ecode9 = 0 ;
10742 double val10 ;
10743 int ecode10 = 0 ;
10744 int res11 ;
10745 char *buf11 = 0 ;
10746 int alloc11 = 0 ;
10747 PyObject *swig_obj[11] ;
10748
10749 (void)self;
10750 if (!SWIG_Python_UnpackTuple(args, "plptex3", 11, 11, swig_obj)) SWIG_fail;
10751 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
10752 if (!SWIG_IsOK(ecode1)) {
10753 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plptex3" "', argument " "1"" of type '" "PLFLT""'");
10754 }
10755 arg1 = (PLFLT)(val1);
10756 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
10757 if (!SWIG_IsOK(ecode2)) {
10758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plptex3" "', argument " "2"" of type '" "PLFLT""'");
10759 }
10760 arg2 = (PLFLT)(val2);
10761 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
10762 if (!SWIG_IsOK(ecode3)) {
10763 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plptex3" "', argument " "3"" of type '" "PLFLT""'");
10764 }
10765 arg3 = (PLFLT)(val3);
10766 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
10767 if (!SWIG_IsOK(ecode4)) {
10768 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plptex3" "', argument " "4"" of type '" "PLFLT""'");
10769 }
10770 arg4 = (PLFLT)(val4);
10771 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
10772 if (!SWIG_IsOK(ecode5)) {
10773 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plptex3" "', argument " "5"" of type '" "PLFLT""'");
10774 }
10775 arg5 = (PLFLT)(val5);
10776 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
10777 if (!SWIG_IsOK(ecode6)) {
10778 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plptex3" "', argument " "6"" of type '" "PLFLT""'");
10779 }
10780 arg6 = (PLFLT)(val6);
10781 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
10782 if (!SWIG_IsOK(ecode7)) {
10783 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plptex3" "', argument " "7"" of type '" "PLFLT""'");
10784 }
10785 arg7 = (PLFLT)(val7);
10786 ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
10787 if (!SWIG_IsOK(ecode8)) {
10788 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plptex3" "', argument " "8"" of type '" "PLFLT""'");
10789 }
10790 arg8 = (PLFLT)(val8);
10791 ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
10792 if (!SWIG_IsOK(ecode9)) {
10793 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plptex3" "', argument " "9"" of type '" "PLFLT""'");
10794 }
10795 arg9 = (PLFLT)(val9);
10796 ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
10797 if (!SWIG_IsOK(ecode10)) {
10798 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plptex3" "', argument " "10"" of type '" "PLFLT""'");
10799 }
10800 arg10 = (PLFLT)(val10);
10801 res11 = SWIG_AsCharPtrAndSize(swig_obj[10], &buf11, NULL, &alloc11);
10802 if (!SWIG_IsOK(res11)) {
10803 SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "plptex3" "', argument " "11"" of type '" "char const *""'");
10804 }
10805 arg11 = (char *)(buf11);
10806 plptex3(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(char const *)arg11);
10807 resultobj = SWIG_Py_Void();
10808 if (alloc11 == SWIG_NEWOBJ) free((char*)buf11);
10809 return resultobj;
10810fail:
10811 if (alloc11 == SWIG_NEWOBJ) free((char*)buf11);
10812 return NULL;
10813}
10814
10815
10816SWIGINTERN PyObject *_wrap_plrandd(PyObject *self, PyObject *args) {
10817 PyObject *resultobj = 0;
10818 PLFLT result;
10819
10820 (void)self;
10821 if (!SWIG_Python_UnpackTuple(args, "plrandd", 0, 0, 0)) SWIG_fail;
10822 result = (PLFLT)plrandd();
10823 resultobj = SWIG_From_double((double)(result));
10824 return resultobj;
10825fail:
10826 return NULL;
10827}
10828
10829
10830SWIGINTERN PyObject *_wrap_plreplot(PyObject *self, PyObject *args) {
10831 PyObject *resultobj = 0;
10832
10833 (void)self;
10834 if (!SWIG_Python_UnpackTuple(args, "plreplot", 0, 0, 0)) SWIG_fail;
10835 plreplot();
10836 resultobj = SWIG_Py_Void();
10837 return resultobj;
10838fail:
10839 return NULL;
10840}
10841
10842
10843SWIGINTERN PyObject *_wrap_plrgbhls(PyObject *self, PyObject *args) {
10844 PyObject *resultobj = 0;
10845 PLFLT arg1 ;
10846 PLFLT arg2 ;
10847 PLFLT arg3 ;
10848 PLFLT *arg4 = 0 ;
10849 PLFLT *arg5 = 0 ;
10850 PLFLT *arg6 = 0 ;
10851 double val1 ;
10852 int ecode1 = 0 ;
10853 double val2 ;
10854 int ecode2 = 0 ;
10855 double val3 ;
10856 int ecode3 = 0 ;
10857 PLFLT temp4 ;
10858 int res4 = SWIG_TMPOBJ ;
10859 PLFLT temp5 ;
10860 int res5 = SWIG_TMPOBJ ;
10861 PLFLT temp6 ;
10862 int res6 = SWIG_TMPOBJ ;
10863 PyObject *swig_obj[3] ;
10864
10865 arg4 = &temp4;
10866 arg5 = &temp5;
10867 arg6 = &temp6;
10868 (void)self;
10869 if (!SWIG_Python_UnpackTuple(args, "plrgbhls", 3, 3, swig_obj)) SWIG_fail;
10870 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
10871 if (!SWIG_IsOK(ecode1)) {
10872 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plrgbhls" "', argument " "1"" of type '" "PLFLT""'");
10873 }
10874 arg1 = (PLFLT)(val1);
10875 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
10876 if (!SWIG_IsOK(ecode2)) {
10877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plrgbhls" "', argument " "2"" of type '" "PLFLT""'");
10878 }
10879 arg2 = (PLFLT)(val2);
10880 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
10881 if (!SWIG_IsOK(ecode3)) {
10882 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plrgbhls" "', argument " "3"" of type '" "PLFLT""'");
10883 }
10884 arg3 = (PLFLT)(val3);
10885 plrgbhls(arg1,arg2,arg3,arg4,arg5,arg6);
10886 resultobj = SWIG_Py_Void();
10887 if (SWIG_IsTmpObj(res4)) {
10888 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
10889 } else {
10890 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10891 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
10892 }
10893 if (SWIG_IsTmpObj(res5)) {
10894 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg5)), 1);
10895 } else {
10896 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10897 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags), 1);
10898 }
10899 if (SWIG_IsTmpObj(res6)) {
10900 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg6)), 1);
10901 } else {
10902 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10903 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags), 1);
10904 }
10905 return resultobj;
10906fail:
10907 return NULL;
10908}
10909
10910
10911SWIGINTERN PyObject *_wrap_plschr(PyObject *self, PyObject *args) {
10912 PyObject *resultobj = 0;
10913 PLFLT arg1 ;
10914 PLFLT arg2 ;
10915 double val1 ;
10916 int ecode1 = 0 ;
10917 double val2 ;
10918 int ecode2 = 0 ;
10919 PyObject *swig_obj[2] ;
10920
10921 (void)self;
10922 if (!SWIG_Python_UnpackTuple(args, "plschr", 2, 2, swig_obj)) SWIG_fail;
10923 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
10924 if (!SWIG_IsOK(ecode1)) {
10925 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plschr" "', argument " "1"" of type '" "PLFLT""'");
10926 }
10927 arg1 = (PLFLT)(val1);
10928 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
10929 if (!SWIG_IsOK(ecode2)) {
10930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plschr" "', argument " "2"" of type '" "PLFLT""'");
10931 }
10932 arg2 = (PLFLT)(val2);
10933 plschr(arg1,arg2);
10934 resultobj = SWIG_Py_Void();
10935 return resultobj;
10936fail:
10937 return NULL;
10938}
10939
10940
10941SWIGINTERN PyObject *_wrap_plscmap0(PyObject *self, PyObject *args) {
10942 PyObject *resultobj = 0;
10943 PLINT *arg1 = 0 ;
10944 PLINT *arg2 = 0 ;
10945 PLINT *arg3 = 0 ;
10946 PLINT arg4 ;
10947 PyArrayObject *tmp1 = NULL ;
10948 PyArrayObject *tmp2 = NULL ;
10949 PyArrayObject *tmp3 = NULL ;
10950 PyObject *swig_obj[3] ;
10951
10952 (void)self;
10953 if (!SWIG_Python_UnpackTuple(args, "plscmap0", 3, 3, swig_obj)) SWIG_fail;
10954 {
10955 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
10956 if ( tmp1 == NULL )
10957 return NULL;
10958 Alen = PyArray_DIMS( tmp1 )[0];
10959 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10960 }
10961 {
10962 tmp2 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
10963 if ( tmp2 == NULL )
10964 return NULL;
10965 if ( PyArray_DIMS( tmp2 )[0] != Alen )
10966 {
10967 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10968 return NULL;
10969 }
10970 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10971 }
10972 {
10973 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[2], NPY_PLINT, 1, 1 );
10974 if ( tmp3 == NULL )
10975 return NULL;
10976 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10977 {
10978 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10979 return NULL;
10980 }
10981 arg4 = PyArray_DIMS( tmp3 )[0];
10982 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10983 }
10984 plscmap0((int const *)arg1,(int const *)arg2,(int const *)arg3,arg4);
10985 resultobj = SWIG_Py_Void();
10986 {
10987 Py_CLEAR( tmp1 );
10988 }
10989 {
10990 Py_CLEAR( tmp2 );
10991 }
10992 {
10993 Py_CLEAR( tmp3 );
10994 }
10995 return resultobj;
10996fail:
10997 {
10998 Py_CLEAR( tmp1 );
10999 }
11000 {
11001 Py_CLEAR( tmp2 );
11002 }
11003 {
11004 Py_CLEAR( tmp3 );
11005 }
11006 return NULL;
11007}
11008
11009
11010SWIGINTERN PyObject *_wrap_plscmap0a(PyObject *self, PyObject *args) {
11011 PyObject *resultobj = 0;
11012 PLINT *arg1 = 0 ;
11013 PLINT *arg2 = 0 ;
11014 PLINT *arg3 = 0 ;
11015 PLFLT *arg4 = 0 ;
11016 PLINT arg5 ;
11017 PyArrayObject *tmp1 = NULL ;
11018 PyArrayObject *tmp2 = NULL ;
11019 PyArrayObject *tmp3 = NULL ;
11020 PyArrayObject *tmp4 = NULL ;
11021 PyObject *swig_obj[4] ;
11022
11023 (void)self;
11024 if (!SWIG_Python_UnpackTuple(args, "plscmap0a", 4, 4, swig_obj)) SWIG_fail;
11025 {
11026 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
11027 if ( tmp1 == NULL )
11028 return NULL;
11029 Alen = PyArray_DIMS( tmp1 )[0];
11030 arg1 = (PLINT *) PyArray_DATA( tmp1 );
11031 }
11032 {
11033 tmp2 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
11034 if ( tmp2 == NULL )
11035 return NULL;
11036 if ( PyArray_DIMS( tmp2 )[0] != Alen )
11037 {
11038 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11039 return NULL;
11040 }
11041 arg2 = (PLINT *) PyArray_DATA( tmp2 );
11042 }
11043 {
11044 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[2], NPY_PLINT, 1, 1 );
11045 if ( tmp3 == NULL )
11046 return NULL;
11047 if ( PyArray_DIMS( tmp3 )[0] != Alen )
11048 {
11049 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11050 return NULL;
11051 }
11052 arg3 = (PLINT *) PyArray_DATA( tmp3 );
11053 }
11054 {
11055 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[3], NPY_PLFLT, 1, 1 );
11056 if ( tmp4 == NULL )
11057 return NULL;
11058 if ( PyArray_DIMS( tmp4 )[0] != Alen )
11059 {
11060 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11061 return NULL;
11062 }
11063 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
11064 arg5 = PyArray_DIMS( tmp4 )[0];
11065 }
11066 plscmap0a((int const *)arg1,(int const *)arg2,(int const *)arg3,(double const *)arg4,arg5);
11067 resultobj = SWIG_Py_Void();
11068 {
11069 Py_CLEAR( tmp1 );
11070 }
11071 {
11072 Py_CLEAR( tmp2 );
11073 }
11074 {
11075 Py_CLEAR( tmp3 );
11076 }
11077 {
11078 Py_CLEAR( tmp4 );
11079 }
11080 return resultobj;
11081fail:
11082 {
11083 Py_CLEAR( tmp1 );
11084 }
11085 {
11086 Py_CLEAR( tmp2 );
11087 }
11088 {
11089 Py_CLEAR( tmp3 );
11090 }
11091 {
11092 Py_CLEAR( tmp4 );
11093 }
11094 return NULL;
11095}
11096
11097
11098SWIGINTERN PyObject *_wrap_plscmap0n(PyObject *self, PyObject *args) {
11099 PyObject *resultobj = 0;
11100 PLINT arg1 ;
11101 int val1 ;
11102 int ecode1 = 0 ;
11103 PyObject *swig_obj[1] ;
11104
11105 (void)self;
11106 if (!args) SWIG_fail;
11107 swig_obj[0] = args;
11108 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11109 if (!SWIG_IsOK(ecode1)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap0n" "', argument " "1"" of type '" "PLINT""'");
11111 }
11112 arg1 = (PLINT)(val1);
11113 plscmap0n(arg1);
11114 resultobj = SWIG_Py_Void();
11115 return resultobj;
11116fail:
11117 return NULL;
11118}
11119
11120
11121SWIGINTERN PyObject *_wrap_plscmap1(PyObject *self, PyObject *args) {
11122 PyObject *resultobj = 0;
11123 PLINT *arg1 = 0 ;
11124 PLINT *arg2 = 0 ;
11125 PLINT *arg3 = 0 ;
11126 PLINT arg4 ;
11127 PyArrayObject *tmp1 = NULL ;
11128 PyArrayObject *tmp2 = NULL ;
11129 PyArrayObject *tmp3 = NULL ;
11130 PyObject *swig_obj[3] ;
11131
11132 (void)self;
11133 if (!SWIG_Python_UnpackTuple(args, "plscmap1", 3, 3, swig_obj)) SWIG_fail;
11134 {
11135 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
11136 if ( tmp1 == NULL )
11137 return NULL;
11138 Alen = PyArray_DIMS( tmp1 )[0];
11139 arg1 = (PLINT *) PyArray_DATA( tmp1 );
11140 }
11141 {
11142 tmp2 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
11143 if ( tmp2 == NULL )
11144 return NULL;
11145 if ( PyArray_DIMS( tmp2 )[0] != Alen )
11146 {
11147 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11148 return NULL;
11149 }
11150 arg2 = (PLINT *) PyArray_DATA( tmp2 );
11151 }
11152 {
11153 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[2], NPY_PLINT, 1, 1 );
11154 if ( tmp3 == NULL )
11155 return NULL;
11156 if ( PyArray_DIMS( tmp3 )[0] != Alen )
11157 {
11158 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11159 return NULL;
11160 }
11161 arg4 = PyArray_DIMS( tmp3 )[0];
11162 arg3 = (PLINT *) PyArray_DATA( tmp3 );
11163 }
11164 plscmap1((int const *)arg1,(int const *)arg2,(int const *)arg3,arg4);
11165 resultobj = SWIG_Py_Void();
11166 {
11167 Py_CLEAR( tmp1 );
11168 }
11169 {
11170 Py_CLEAR( tmp2 );
11171 }
11172 {
11173 Py_CLEAR( tmp3 );
11174 }
11175 return resultobj;
11176fail:
11177 {
11178 Py_CLEAR( tmp1 );
11179 }
11180 {
11181 Py_CLEAR( tmp2 );
11182 }
11183 {
11184 Py_CLEAR( tmp3 );
11185 }
11186 return NULL;
11187}
11188
11189
11190SWIGINTERN PyObject *_wrap_plscmap1a(PyObject *self, PyObject *args) {
11191 PyObject *resultobj = 0;
11192 PLINT *arg1 = 0 ;
11193 PLINT *arg2 = 0 ;
11194 PLINT *arg3 = 0 ;
11195 PLFLT *arg4 = 0 ;
11196 PLINT arg5 ;
11197 PyArrayObject *tmp1 = NULL ;
11198 PyArrayObject *tmp2 = NULL ;
11199 PyArrayObject *tmp3 = NULL ;
11200 PyArrayObject *tmp4 = NULL ;
11201 PyObject *swig_obj[4] ;
11202
11203 (void)self;
11204 if (!SWIG_Python_UnpackTuple(args, "plscmap1a", 4, 4, swig_obj)) SWIG_fail;
11205 {
11206 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
11207 if ( tmp1 == NULL )
11208 return NULL;
11209 Alen = PyArray_DIMS( tmp1 )[0];
11210 arg1 = (PLINT *) PyArray_DATA( tmp1 );
11211 }
11212 {
11213 tmp2 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
11214 if ( tmp2 == NULL )
11215 return NULL;
11216 if ( PyArray_DIMS( tmp2 )[0] != Alen )
11217 {
11218 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11219 return NULL;
11220 }
11221 arg2 = (PLINT *) PyArray_DATA( tmp2 );
11222 }
11223 {
11224 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[2], NPY_PLINT, 1, 1 );
11225 if ( tmp3 == NULL )
11226 return NULL;
11227 if ( PyArray_DIMS( tmp3 )[0] != Alen )
11228 {
11229 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11230 return NULL;
11231 }
11232 arg3 = (PLINT *) PyArray_DATA( tmp3 );
11233 }
11234 {
11235 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[3], NPY_PLFLT, 1, 1 );
11236 if ( tmp4 == NULL )
11237 return NULL;
11238 if ( PyArray_DIMS( tmp4 )[0] != Alen )
11239 {
11240 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11241 return NULL;
11242 }
11243 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
11244 arg5 = PyArray_DIMS( tmp4 )[0];
11245 }
11246 plscmap1a((int const *)arg1,(int const *)arg2,(int const *)arg3,(double const *)arg4,arg5);
11247 resultobj = SWIG_Py_Void();
11248 {
11249 Py_CLEAR( tmp1 );
11250 }
11251 {
11252 Py_CLEAR( tmp2 );
11253 }
11254 {
11255 Py_CLEAR( tmp3 );
11256 }
11257 {
11258 Py_CLEAR( tmp4 );
11259 }
11260 return resultobj;
11261fail:
11262 {
11263 Py_CLEAR( tmp1 );
11264 }
11265 {
11266 Py_CLEAR( tmp2 );
11267 }
11268 {
11269 Py_CLEAR( tmp3 );
11270 }
11271 {
11272 Py_CLEAR( tmp4 );
11273 }
11274 return NULL;
11275}
11276
11277
11278SWIGINTERN PyObject *_wrap_plscmap1l(PyObject *self, PyObject *args) {
11279 PyObject *resultobj = 0;
11280 PLBOOL arg1 ;
11281 PLINT arg2 ;
11282 PLFLT *arg3 = 0 ;
11283 PLFLT *arg4 = 0 ;
11284 PLFLT *arg5 = 0 ;
11285 PLFLT *arg6 = 0 ;
11286 PLBOOL *arg7 = 0 ;
11287 int val1 ;
11288 int ecode1 = 0 ;
11289 PyArrayObject *tmp2 = NULL ;
11290 PyArrayObject *tmp4 = NULL ;
11291 PyArrayObject *tmp5 = NULL ;
11292 PyArrayObject *tmp6 = NULL ;
11293 PyArrayObject *tmp7 = NULL ;
11294 PyObject *swig_obj[6] ;
11295
11296 (void)self;
11297 if (!SWIG_Python_UnpackTuple(args, "plscmap1l", 6, 6, swig_obj)) SWIG_fail;
11298 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11299 if (!SWIG_IsOK(ecode1)) {
11300 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1l" "', argument " "1"" of type '" "PLBOOL""'");
11301 }
11302 arg1 = (PLBOOL)(val1);
11303 {
11304 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
11305 if ( tmp2 == NULL )
11306 return NULL;
11307 arg2 = Alen = PyArray_DIMS( tmp2 )[0];
11308 arg3 = (PLFLT *) PyArray_DATA( tmp2 );
11309 }
11310 {
11311 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
11312 if ( tmp4 == NULL )
11313 return NULL;
11314 if ( PyArray_DIMS( tmp4 )[0] != Alen )
11315 {
11316 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11317 return NULL;
11318 }
11319 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
11320 }
11321 {
11322 tmp5 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[3], NPY_PLFLT, 1, 1 );
11323 if ( tmp5 == NULL )
11324 return NULL;
11325 if ( PyArray_DIMS( tmp5 )[0] != Alen )
11326 {
11327 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11328 return NULL;
11329 }
11330 arg5 = (PLFLT *) PyArray_DATA( tmp5 );
11331 }
11332 {
11333 tmp6 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
11334 if ( tmp6 == NULL )
11335 return NULL;
11336 if ( PyArray_DIMS( tmp6 )[0] != Alen )
11337 {
11338 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11339 return NULL;
11340 }
11341 arg6 = (PLFLT *) PyArray_DATA( tmp6 );
11342 }
11343 {
11344 tmp7 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[5], NPY_PLINT, 1, 1 );
11345 if ( tmp7 == NULL )
11346 return NULL;
11347 if ( PyArray_DIMS( tmp7 )[0] < Alen - 1 )
11348 {
11349 PyErr_SetString( PyExc_ValueError, "Vector must be at least length of others minus 1." );
11350 return NULL;
11351 }
11352 arg7 = (PLINT *) PyArray_DATA( tmp7 );
11353 }
11354 plscmap1l(arg1,arg2,(double const *)arg3,(double const *)arg4,(double const *)arg5,(double const *)arg6,(int const *)arg7);
11355 resultobj = SWIG_Py_Void();
11356 {
11357 Py_CLEAR( tmp2 );
11358 }
11359 {
11360 Py_CLEAR( tmp4 );
11361 }
11362 {
11363 Py_CLEAR( tmp5 );
11364 }
11365 {
11366 Py_CLEAR( tmp6 );
11367 }
11368 {
11369 Py_CLEAR( tmp7 );
11370 }
11371 return resultobj;
11372fail:
11373 {
11374 Py_CLEAR( tmp2 );
11375 }
11376 {
11377 Py_CLEAR( tmp4 );
11378 }
11379 {
11380 Py_CLEAR( tmp5 );
11381 }
11382 {
11383 Py_CLEAR( tmp6 );
11384 }
11385 {
11386 Py_CLEAR( tmp7 );
11387 }
11388 return NULL;
11389}
11390
11391
11392SWIGINTERN PyObject *_wrap_plscmap1la(PyObject *self, PyObject *args) {
11393 PyObject *resultobj = 0;
11394 PLBOOL arg1 ;
11395 PLINT arg2 ;
11396 PLFLT *arg3 = 0 ;
11397 PLFLT *arg4 = 0 ;
11398 PLFLT *arg5 = 0 ;
11399 PLFLT *arg6 = 0 ;
11400 PLFLT *arg7 = 0 ;
11401 PLBOOL *arg8 = 0 ;
11402 int val1 ;
11403 int ecode1 = 0 ;
11404 PyArrayObject *tmp2 = NULL ;
11405 PyArrayObject *tmp4 = NULL ;
11406 PyArrayObject *tmp5 = NULL ;
11407 PyArrayObject *tmp6 = NULL ;
11408 PyArrayObject *tmp7 = NULL ;
11409 PyArrayObject *tmp8 = NULL ;
11410 PyObject *swig_obj[7] ;
11411
11412 (void)self;
11413 if (!SWIG_Python_UnpackTuple(args, "plscmap1la", 7, 7, swig_obj)) SWIG_fail;
11414 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11415 if (!SWIG_IsOK(ecode1)) {
11416 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1la" "', argument " "1"" of type '" "PLBOOL""'");
11417 }
11418 arg1 = (PLBOOL)(val1);
11419 {
11420 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
11421 if ( tmp2 == NULL )
11422 return NULL;
11423 arg2 = Alen = PyArray_DIMS( tmp2 )[0];
11424 arg3 = (PLFLT *) PyArray_DATA( tmp2 );
11425 }
11426 {
11427 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
11428 if ( tmp4 == NULL )
11429 return NULL;
11430 if ( PyArray_DIMS( tmp4 )[0] != Alen )
11431 {
11432 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11433 return NULL;
11434 }
11435 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
11436 }
11437 {
11438 tmp5 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[3], NPY_PLFLT, 1, 1 );
11439 if ( tmp5 == NULL )
11440 return NULL;
11441 if ( PyArray_DIMS( tmp5 )[0] != Alen )
11442 {
11443 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11444 return NULL;
11445 }
11446 arg5 = (PLFLT *) PyArray_DATA( tmp5 );
11447 }
11448 {
11449 tmp6 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
11450 if ( tmp6 == NULL )
11451 return NULL;
11452 if ( PyArray_DIMS( tmp6 )[0] != Alen )
11453 {
11454 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11455 return NULL;
11456 }
11457 arg6 = (PLFLT *) PyArray_DATA( tmp6 );
11458 }
11459 {
11460 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[5], NPY_PLFLT, 1, 1 );
11461 if ( tmp7 == NULL )
11462 return NULL;
11463 if ( PyArray_DIMS( tmp7 )[0] != Alen )
11464 {
11465 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11466 return NULL;
11467 }
11468 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
11469 }
11470 {
11471 tmp8 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[6], NPY_PLINT, 1, 1 );
11472 if ( tmp8 == NULL )
11473 return NULL;
11474 if ( PyArray_DIMS( tmp8 )[0] < Alen - 1 )
11475 {
11476 PyErr_SetString( PyExc_ValueError, "Vector must be at least length of others minus 1." );
11477 return NULL;
11478 }
11479 arg8 = (PLINT *) PyArray_DATA( tmp8 );
11480 }
11481 plscmap1la(arg1,arg2,(double const *)arg3,(double const *)arg4,(double const *)arg5,(double const *)arg6,(double const *)arg7,(int const *)arg8);
11482 resultobj = SWIG_Py_Void();
11483 {
11484 Py_CLEAR( tmp2 );
11485 }
11486 {
11487 Py_CLEAR( tmp4 );
11488 }
11489 {
11490 Py_CLEAR( tmp5 );
11491 }
11492 {
11493 Py_CLEAR( tmp6 );
11494 }
11495 {
11496 Py_CLEAR( tmp7 );
11497 }
11498 {
11499 Py_CLEAR( tmp8 );
11500 }
11501 return resultobj;
11502fail:
11503 {
11504 Py_CLEAR( tmp2 );
11505 }
11506 {
11507 Py_CLEAR( tmp4 );
11508 }
11509 {
11510 Py_CLEAR( tmp5 );
11511 }
11512 {
11513 Py_CLEAR( tmp6 );
11514 }
11515 {
11516 Py_CLEAR( tmp7 );
11517 }
11518 {
11519 Py_CLEAR( tmp8 );
11520 }
11521 return NULL;
11522}
11523
11524
11525SWIGINTERN PyObject *_wrap_plscmap1n(PyObject *self, PyObject *args) {
11526 PyObject *resultobj = 0;
11527 PLINT arg1 ;
11528 int val1 ;
11529 int ecode1 = 0 ;
11530 PyObject *swig_obj[1] ;
11531
11532 (void)self;
11533 if (!args) SWIG_fail;
11534 swig_obj[0] = args;
11535 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11536 if (!SWIG_IsOK(ecode1)) {
11537 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1n" "', argument " "1"" of type '" "PLINT""'");
11538 }
11539 arg1 = (PLINT)(val1);
11540 plscmap1n(arg1);
11541 resultobj = SWIG_Py_Void();
11542 return resultobj;
11543fail:
11544 return NULL;
11545}
11546
11547
11548SWIGINTERN PyObject *_wrap_plscmap1_range(PyObject *self, PyObject *args) {
11549 PyObject *resultobj = 0;
11550 PLFLT arg1 ;
11551 PLFLT arg2 ;
11552 double val1 ;
11553 int ecode1 = 0 ;
11554 double val2 ;
11555 int ecode2 = 0 ;
11556 PyObject *swig_obj[2] ;
11557
11558 (void)self;
11559 if (!SWIG_Python_UnpackTuple(args, "plscmap1_range", 2, 2, swig_obj)) SWIG_fail;
11560 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
11561 if (!SWIG_IsOK(ecode1)) {
11562 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1_range" "', argument " "1"" of type '" "PLFLT""'");
11563 }
11564 arg1 = (PLFLT)(val1);
11565 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
11566 if (!SWIG_IsOK(ecode2)) {
11567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscmap1_range" "', argument " "2"" of type '" "PLFLT""'");
11568 }
11569 arg2 = (PLFLT)(val2);
11570 plscmap1_range(arg1,arg2);
11571 resultobj = SWIG_Py_Void();
11572 return resultobj;
11573fail:
11574 return NULL;
11575}
11576
11577
11578SWIGINTERN PyObject *_wrap_plgcmap1_range(PyObject *self, PyObject *args) {
11579 PyObject *resultobj = 0;
11580 PLFLT *arg1 = 0 ;
11581 PLFLT *arg2 = 0 ;
11582 PLFLT temp1 ;
11583 int res1 = SWIG_TMPOBJ ;
11584 PLFLT temp2 ;
11585 int res2 = SWIG_TMPOBJ ;
11586
11587 arg1 = &temp1;
11588 arg2 = &temp2;
11589 (void)self;
11590 if (!SWIG_Python_UnpackTuple(args, "plgcmap1_range", 0, 0, 0)) SWIG_fail;
11591 plgcmap1_range(arg1,arg2);
11592 resultobj = SWIG_Py_Void();
11593 if (SWIG_IsTmpObj(res1)) {
11594 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
11595 } else {
11596 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11597 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
11598 }
11599 if (SWIG_IsTmpObj(res2)) {
11600 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
11601 } else {
11602 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11603 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
11604 }
11605 return resultobj;
11606fail:
11607 return NULL;
11608}
11609
11610
11611SWIGINTERN PyObject *_wrap_plscol0(PyObject *self, PyObject *args) {
11612 PyObject *resultobj = 0;
11613 PLINT arg1 ;
11614 PLINT arg2 ;
11615 PLINT arg3 ;
11616 PLINT arg4 ;
11617 int val1 ;
11618 int ecode1 = 0 ;
11619 int val2 ;
11620 int ecode2 = 0 ;
11621 int val3 ;
11622 int ecode3 = 0 ;
11623 int val4 ;
11624 int ecode4 = 0 ;
11625 PyObject *swig_obj[4] ;
11626
11627 (void)self;
11628 if (!SWIG_Python_UnpackTuple(args, "plscol0", 4, 4, swig_obj)) SWIG_fail;
11629 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11630 if (!SWIG_IsOK(ecode1)) {
11631 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscol0" "', argument " "1"" of type '" "PLINT""'");
11632 }
11633 arg1 = (PLINT)(val1);
11634 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11635 if (!SWIG_IsOK(ecode2)) {
11636 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscol0" "', argument " "2"" of type '" "PLINT""'");
11637 }
11638 arg2 = (PLINT)(val2);
11639 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11640 if (!SWIG_IsOK(ecode3)) {
11641 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscol0" "', argument " "3"" of type '" "PLINT""'");
11642 }
11643 arg3 = (PLINT)(val3);
11644 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
11645 if (!SWIG_IsOK(ecode4)) {
11646 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plscol0" "', argument " "4"" of type '" "PLINT""'");
11647 }
11648 arg4 = (PLINT)(val4);
11649 plscol0(arg1,arg2,arg3,arg4);
11650 resultobj = SWIG_Py_Void();
11651 return resultobj;
11652fail:
11653 return NULL;
11654}
11655
11656
11657SWIGINTERN PyObject *_wrap_plscol0a(PyObject *self, PyObject *args) {
11658 PyObject *resultobj = 0;
11659 PLINT arg1 ;
11660 PLINT arg2 ;
11661 PLINT arg3 ;
11662 PLINT arg4 ;
11663 PLFLT arg5 ;
11664 int val1 ;
11665 int ecode1 = 0 ;
11666 int val2 ;
11667 int ecode2 = 0 ;
11668 int val3 ;
11669 int ecode3 = 0 ;
11670 int val4 ;
11671 int ecode4 = 0 ;
11672 double val5 ;
11673 int ecode5 = 0 ;
11674 PyObject *swig_obj[5] ;
11675
11676 (void)self;
11677 if (!SWIG_Python_UnpackTuple(args, "plscol0a", 5, 5, swig_obj)) SWIG_fail;
11678 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11679 if (!SWIG_IsOK(ecode1)) {
11680 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscol0a" "', argument " "1"" of type '" "PLINT""'");
11681 }
11682 arg1 = (PLINT)(val1);
11683 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11684 if (!SWIG_IsOK(ecode2)) {
11685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscol0a" "', argument " "2"" of type '" "PLINT""'");
11686 }
11687 arg2 = (PLINT)(val2);
11688 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11689 if (!SWIG_IsOK(ecode3)) {
11690 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscol0a" "', argument " "3"" of type '" "PLINT""'");
11691 }
11692 arg3 = (PLINT)(val3);
11693 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
11694 if (!SWIG_IsOK(ecode4)) {
11695 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plscol0a" "', argument " "4"" of type '" "PLINT""'");
11696 }
11697 arg4 = (PLINT)(val4);
11698 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
11699 if (!SWIG_IsOK(ecode5)) {
11700 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plscol0a" "', argument " "5"" of type '" "PLFLT""'");
11701 }
11702 arg5 = (PLFLT)(val5);
11703 plscol0a(arg1,arg2,arg3,arg4,arg5);
11704 resultobj = SWIG_Py_Void();
11705 return resultobj;
11706fail:
11707 return NULL;
11708}
11709
11710
11711SWIGINTERN PyObject *_wrap_plscolbg(PyObject *self, PyObject *args) {
11712 PyObject *resultobj = 0;
11713 PLINT arg1 ;
11714 PLINT arg2 ;
11715 PLINT arg3 ;
11716 int val1 ;
11717 int ecode1 = 0 ;
11718 int val2 ;
11719 int ecode2 = 0 ;
11720 int val3 ;
11721 int ecode3 = 0 ;
11722 PyObject *swig_obj[3] ;
11723
11724 (void)self;
11725 if (!SWIG_Python_UnpackTuple(args, "plscolbg", 3, 3, swig_obj)) SWIG_fail;
11726 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11727 if (!SWIG_IsOK(ecode1)) {
11728 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscolbg" "', argument " "1"" of type '" "PLINT""'");
11729 }
11730 arg1 = (PLINT)(val1);
11731 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11732 if (!SWIG_IsOK(ecode2)) {
11733 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscolbg" "', argument " "2"" of type '" "PLINT""'");
11734 }
11735 arg2 = (PLINT)(val2);
11736 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11737 if (!SWIG_IsOK(ecode3)) {
11738 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscolbg" "', argument " "3"" of type '" "PLINT""'");
11739 }
11740 arg3 = (PLINT)(val3);
11741 plscolbg(arg1,arg2,arg3);
11742 resultobj = SWIG_Py_Void();
11743 return resultobj;
11744fail:
11745 return NULL;
11746}
11747
11748
11749SWIGINTERN PyObject *_wrap_plscolbga(PyObject *self, PyObject *args) {
11750 PyObject *resultobj = 0;
11751 PLINT arg1 ;
11752 PLINT arg2 ;
11753 PLINT arg3 ;
11754 PLFLT arg4 ;
11755 int val1 ;
11756 int ecode1 = 0 ;
11757 int val2 ;
11758 int ecode2 = 0 ;
11759 int val3 ;
11760 int ecode3 = 0 ;
11761 double val4 ;
11762 int ecode4 = 0 ;
11763 PyObject *swig_obj[4] ;
11764
11765 (void)self;
11766 if (!SWIG_Python_UnpackTuple(args, "plscolbga", 4, 4, swig_obj)) SWIG_fail;
11767 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11768 if (!SWIG_IsOK(ecode1)) {
11769 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscolbga" "', argument " "1"" of type '" "PLINT""'");
11770 }
11771 arg1 = (PLINT)(val1);
11772 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11773 if (!SWIG_IsOK(ecode2)) {
11774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscolbga" "', argument " "2"" of type '" "PLINT""'");
11775 }
11776 arg2 = (PLINT)(val2);
11777 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11778 if (!SWIG_IsOK(ecode3)) {
11779 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscolbga" "', argument " "3"" of type '" "PLINT""'");
11780 }
11781 arg3 = (PLINT)(val3);
11782 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
11783 if (!SWIG_IsOK(ecode4)) {
11784 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plscolbga" "', argument " "4"" of type '" "PLFLT""'");
11785 }
11786 arg4 = (PLFLT)(val4);
11787 plscolbga(arg1,arg2,arg3,arg4);
11788 resultobj = SWIG_Py_Void();
11789 return resultobj;
11790fail:
11791 return NULL;
11792}
11793
11794
11795SWIGINTERN PyObject *_wrap_plscolor(PyObject *self, PyObject *args) {
11796 PyObject *resultobj = 0;
11797 PLINT arg1 ;
11798 int val1 ;
11799 int ecode1 = 0 ;
11800 PyObject *swig_obj[1] ;
11801
11802 (void)self;
11803 if (!args) SWIG_fail;
11804 swig_obj[0] = args;
11805 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11806 if (!SWIG_IsOK(ecode1)) {
11807 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscolor" "', argument " "1"" of type '" "PLINT""'");
11808 }
11809 arg1 = (PLINT)(val1);
11810 plscolor(arg1);
11811 resultobj = SWIG_Py_Void();
11812 return resultobj;
11813fail:
11814 return NULL;
11815}
11816
11817
11818SWIGINTERN PyObject *_wrap_plscompression(PyObject *self, PyObject *args) {
11819 PyObject *resultobj = 0;
11820 PLINT arg1 ;
11821 int val1 ;
11822 int ecode1 = 0 ;
11823 PyObject *swig_obj[1] ;
11824
11825 (void)self;
11826 if (!args) SWIG_fail;
11827 swig_obj[0] = args;
11828 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11829 if (!SWIG_IsOK(ecode1)) {
11830 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscompression" "', argument " "1"" of type '" "PLINT""'");
11831 }
11832 arg1 = (PLINT)(val1);
11833 plscompression(arg1);
11834 resultobj = SWIG_Py_Void();
11835 return resultobj;
11836fail:
11837 return NULL;
11838}
11839
11840
11841SWIGINTERN PyObject *_wrap_plsdev(PyObject *self, PyObject *args) {
11842 PyObject *resultobj = 0;
11843 char *arg1 = 0 ;
11844 int res1 ;
11845 char *buf1 = 0 ;
11846 int alloc1 = 0 ;
11847 PyObject *swig_obj[1] ;
11848
11849 (void)self;
11850 if (!args) SWIG_fail;
11851 swig_obj[0] = args;
11852 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
11853 if (!SWIG_IsOK(res1)) {
11854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plsdev" "', argument " "1"" of type '" "char const *""'");
11855 }
11856 arg1 = (char *)(buf1);
11857 plsdev((char const *)arg1);
11858 resultobj = SWIG_Py_Void();
11859 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
11860 return resultobj;
11861fail:
11862 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
11863 return NULL;
11864}
11865
11866
11867SWIGINTERN PyObject *_wrap_plsdidev(PyObject *self, PyObject *args) {
11868 PyObject *resultobj = 0;
11869 PLFLT arg1 ;
11870 PLFLT arg2 ;
11871 PLFLT arg3 ;
11872 PLFLT arg4 ;
11873 double val1 ;
11874 int ecode1 = 0 ;
11875 double val2 ;
11876 int ecode2 = 0 ;
11877 double val3 ;
11878 int ecode3 = 0 ;
11879 double val4 ;
11880 int ecode4 = 0 ;
11881 PyObject *swig_obj[4] ;
11882
11883 (void)self;
11884 if (!SWIG_Python_UnpackTuple(args, "plsdidev", 4, 4, swig_obj)) SWIG_fail;
11885 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
11886 if (!SWIG_IsOK(ecode1)) {
11887 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdidev" "', argument " "1"" of type '" "PLFLT""'");
11888 }
11889 arg1 = (PLFLT)(val1);
11890 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
11891 if (!SWIG_IsOK(ecode2)) {
11892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdidev" "', argument " "2"" of type '" "PLFLT""'");
11893 }
11894 arg2 = (PLFLT)(val2);
11895 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
11896 if (!SWIG_IsOK(ecode3)) {
11897 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdidev" "', argument " "3"" of type '" "PLFLT""'");
11898 }
11899 arg3 = (PLFLT)(val3);
11900 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
11901 if (!SWIG_IsOK(ecode4)) {
11902 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdidev" "', argument " "4"" of type '" "PLFLT""'");
11903 }
11904 arg4 = (PLFLT)(val4);
11905 plsdidev(arg1,arg2,arg3,arg4);
11906 resultobj = SWIG_Py_Void();
11907 return resultobj;
11908fail:
11909 return NULL;
11910}
11911
11912
11913SWIGINTERN PyObject *_wrap_plsdimap(PyObject *self, PyObject *args) {
11914 PyObject *resultobj = 0;
11915 PLINT arg1 ;
11916 PLINT arg2 ;
11917 PLINT arg3 ;
11918 PLINT arg4 ;
11919 PLFLT arg5 ;
11920 PLFLT arg6 ;
11921 int val1 ;
11922 int ecode1 = 0 ;
11923 int val2 ;
11924 int ecode2 = 0 ;
11925 int val3 ;
11926 int ecode3 = 0 ;
11927 int val4 ;
11928 int ecode4 = 0 ;
11929 double val5 ;
11930 int ecode5 = 0 ;
11931 double val6 ;
11932 int ecode6 = 0 ;
11933 PyObject *swig_obj[6] ;
11934
11935 (void)self;
11936 if (!SWIG_Python_UnpackTuple(args, "plsdimap", 6, 6, swig_obj)) SWIG_fail;
11937 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11938 if (!SWIG_IsOK(ecode1)) {
11939 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdimap" "', argument " "1"" of type '" "PLINT""'");
11940 }
11941 arg1 = (PLINT)(val1);
11942 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11943 if (!SWIG_IsOK(ecode2)) {
11944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdimap" "', argument " "2"" of type '" "PLINT""'");
11945 }
11946 arg2 = (PLINT)(val2);
11947 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11948 if (!SWIG_IsOK(ecode3)) {
11949 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdimap" "', argument " "3"" of type '" "PLINT""'");
11950 }
11951 arg3 = (PLINT)(val3);
11952 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
11953 if (!SWIG_IsOK(ecode4)) {
11954 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdimap" "', argument " "4"" of type '" "PLINT""'");
11955 }
11956 arg4 = (PLINT)(val4);
11957 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
11958 if (!SWIG_IsOK(ecode5)) {
11959 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plsdimap" "', argument " "5"" of type '" "PLFLT""'");
11960 }
11961 arg5 = (PLFLT)(val5);
11962 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
11963 if (!SWIG_IsOK(ecode6)) {
11964 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plsdimap" "', argument " "6"" of type '" "PLFLT""'");
11965 }
11966 arg6 = (PLFLT)(val6);
11967 plsdimap(arg1,arg2,arg3,arg4,arg5,arg6);
11968 resultobj = SWIG_Py_Void();
11969 return resultobj;
11970fail:
11971 return NULL;
11972}
11973
11974
11975SWIGINTERN PyObject *_wrap_plsdiori(PyObject *self, PyObject *args) {
11976 PyObject *resultobj = 0;
11977 PLFLT arg1 ;
11978 double val1 ;
11979 int ecode1 = 0 ;
11980 PyObject *swig_obj[1] ;
11981
11982 (void)self;
11983 if (!args) SWIG_fail;
11984 swig_obj[0] = args;
11985 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
11986 if (!SWIG_IsOK(ecode1)) {
11987 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdiori" "', argument " "1"" of type '" "PLFLT""'");
11988 }
11989 arg1 = (PLFLT)(val1);
11990 plsdiori(arg1);
11991 resultobj = SWIG_Py_Void();
11992 return resultobj;
11993fail:
11994 return NULL;
11995}
11996
11997
11998SWIGINTERN PyObject *_wrap_plsdiplt(PyObject *self, PyObject *args) {
11999 PyObject *resultobj = 0;
12000 PLFLT arg1 ;
12001 PLFLT arg2 ;
12002 PLFLT arg3 ;
12003 PLFLT arg4 ;
12004 double val1 ;
12005 int ecode1 = 0 ;
12006 double val2 ;
12007 int ecode2 = 0 ;
12008 double val3 ;
12009 int ecode3 = 0 ;
12010 double val4 ;
12011 int ecode4 = 0 ;
12012 PyObject *swig_obj[4] ;
12013
12014 (void)self;
12015 if (!SWIG_Python_UnpackTuple(args, "plsdiplt", 4, 4, swig_obj)) SWIG_fail;
12016 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
12017 if (!SWIG_IsOK(ecode1)) {
12018 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdiplt" "', argument " "1"" of type '" "PLFLT""'");
12019 }
12020 arg1 = (PLFLT)(val1);
12021 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
12022 if (!SWIG_IsOK(ecode2)) {
12023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdiplt" "', argument " "2"" of type '" "PLFLT""'");
12024 }
12025 arg2 = (PLFLT)(val2);
12026 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
12027 if (!SWIG_IsOK(ecode3)) {
12028 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdiplt" "', argument " "3"" of type '" "PLFLT""'");
12029 }
12030 arg3 = (PLFLT)(val3);
12031 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
12032 if (!SWIG_IsOK(ecode4)) {
12033 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdiplt" "', argument " "4"" of type '" "PLFLT""'");
12034 }
12035 arg4 = (PLFLT)(val4);
12036 plsdiplt(arg1,arg2,arg3,arg4);
12037 resultobj = SWIG_Py_Void();
12038 return resultobj;
12039fail:
12040 return NULL;
12041}
12042
12043
12044SWIGINTERN PyObject *_wrap_plsdiplz(PyObject *self, PyObject *args) {
12045 PyObject *resultobj = 0;
12046 PLFLT arg1 ;
12047 PLFLT arg2 ;
12048 PLFLT arg3 ;
12049 PLFLT arg4 ;
12050 double val1 ;
12051 int ecode1 = 0 ;
12052 double val2 ;
12053 int ecode2 = 0 ;
12054 double val3 ;
12055 int ecode3 = 0 ;
12056 double val4 ;
12057 int ecode4 = 0 ;
12058 PyObject *swig_obj[4] ;
12059
12060 (void)self;
12061 if (!SWIG_Python_UnpackTuple(args, "plsdiplz", 4, 4, swig_obj)) SWIG_fail;
12062 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
12063 if (!SWIG_IsOK(ecode1)) {
12064 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdiplz" "', argument " "1"" of type '" "PLFLT""'");
12065 }
12066 arg1 = (PLFLT)(val1);
12067 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
12068 if (!SWIG_IsOK(ecode2)) {
12069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdiplz" "', argument " "2"" of type '" "PLFLT""'");
12070 }
12071 arg2 = (PLFLT)(val2);
12072 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
12073 if (!SWIG_IsOK(ecode3)) {
12074 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdiplz" "', argument " "3"" of type '" "PLFLT""'");
12075 }
12076 arg3 = (PLFLT)(val3);
12077 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
12078 if (!SWIG_IsOK(ecode4)) {
12079 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdiplz" "', argument " "4"" of type '" "PLFLT""'");
12080 }
12081 arg4 = (PLFLT)(val4);
12082 plsdiplz(arg1,arg2,arg3,arg4);
12083 resultobj = SWIG_Py_Void();
12084 return resultobj;
12085fail:
12086 return NULL;
12087}
12088
12089
12090SWIGINTERN PyObject *_wrap_plseed(PyObject *self, PyObject *args) {
12091 PyObject *resultobj = 0;
12092 unsigned int arg1 ;
12093 unsigned int val1 ;
12094 int ecode1 = 0 ;
12095 PyObject *swig_obj[1] ;
12096
12097 (void)self;
12098 if (!args) SWIG_fail;
12099 swig_obj[0] = args;
12100 ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
12101 if (!SWIG_IsOK(ecode1)) {
12102 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plseed" "', argument " "1"" of type '" "unsigned int""'");
12103 }
12104 arg1 = (unsigned int)(val1);
12105 plseed(arg1);
12106 resultobj = SWIG_Py_Void();
12107 return resultobj;
12108fail:
12109 return NULL;
12110}
12111
12112
12113SWIGINTERN PyObject *_wrap_plsesc(PyObject *self, PyObject *args) {
12114 PyObject *resultobj = 0;
12115 char arg1 ;
12116 char val1 ;
12117 int ecode1 = 0 ;
12118 PyObject *swig_obj[1] ;
12119
12120 (void)self;
12121 if (!args) SWIG_fail;
12122 swig_obj[0] = args;
12123 ecode1 = SWIG_AsVal_char(swig_obj[0], &val1);
12124 if (!SWIG_IsOK(ecode1)) {
12125 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsesc" "', argument " "1"" of type '" "char""'");
12126 }
12127 arg1 = (char)(val1);
12128 plsesc(arg1);
12129 resultobj = SWIG_Py_Void();
12130 return resultobj;
12131fail:
12132 return NULL;
12133}
12134
12135
12136SWIGINTERN PyObject *_wrap_plsetopt(PyObject *self, PyObject *args) {
12137 PyObject *resultobj = 0;
12138 char *arg1 = 0 ;
12139 char *arg2 = 0 ;
12140 int res1 ;
12141 char *buf1 = 0 ;
12142 int alloc1 = 0 ;
12143 int res2 ;
12144 char *buf2 = 0 ;
12145 int alloc2 = 0 ;
12146 PyObject *swig_obj[2] ;
12147 PLINT result;
12148
12149 (void)self;
12150 if (!SWIG_Python_UnpackTuple(args, "plsetopt", 2, 2, swig_obj)) SWIG_fail;
12151 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
12152 if (!SWIG_IsOK(res1)) {
12153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plsetopt" "', argument " "1"" of type '" "char const *""'");
12154 }
12155 arg1 = (char *)(buf1);
12156 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
12157 if (!SWIG_IsOK(res2)) {
12158 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plsetopt" "', argument " "2"" of type '" "char const *""'");
12159 }
12160 arg2 = (char *)(buf2);
12161 result = (PLINT)plsetopt((char const *)arg1,(char const *)arg2);
12162 resultobj = SWIG_From_int((int)(result));
12163 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12164 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12165 return resultobj;
12166fail:
12167 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12168 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12169 return NULL;
12170}
12171
12172
12173SWIGINTERN PyObject *_wrap_plsfam(PyObject *self, PyObject *args) {
12174 PyObject *resultobj = 0;
12175 PLINT arg1 ;
12176 PLINT arg2 ;
12177 PLINT arg3 ;
12178 int val1 ;
12179 int ecode1 = 0 ;
12180 int val2 ;
12181 int ecode2 = 0 ;
12182 int val3 ;
12183 int ecode3 = 0 ;
12184 PyObject *swig_obj[3] ;
12185
12186 (void)self;
12187 if (!SWIG_Python_UnpackTuple(args, "plsfam", 3, 3, swig_obj)) SWIG_fail;
12188 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12189 if (!SWIG_IsOK(ecode1)) {
12190 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsfam" "', argument " "1"" of type '" "PLINT""'");
12191 }
12192 arg1 = (PLINT)(val1);
12193 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12194 if (!SWIG_IsOK(ecode2)) {
12195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsfam" "', argument " "2"" of type '" "PLINT""'");
12196 }
12197 arg2 = (PLINT)(val2);
12198 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
12199 if (!SWIG_IsOK(ecode3)) {
12200 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsfam" "', argument " "3"" of type '" "PLINT""'");
12201 }
12202 arg3 = (PLINT)(val3);
12203 plsfam(arg1,arg2,arg3);
12204 resultobj = SWIG_Py_Void();
12205 return resultobj;
12206fail:
12207 return NULL;
12208}
12209
12210
12211SWIGINTERN PyObject *_wrap_plsfci(PyObject *self, PyObject *args) {
12212 PyObject *resultobj = 0;
12213 PLUNICODE arg1 ;
12214 unsigned int val1 ;
12215 int ecode1 = 0 ;
12216 PyObject *swig_obj[1] ;
12217
12218 (void)self;
12219 if (!args) SWIG_fail;
12220 swig_obj[0] = args;
12221 ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
12222 if (!SWIG_IsOK(ecode1)) {
12223 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsfci" "', argument " "1"" of type '" "PLUNICODE""'");
12224 }
12225 arg1 = (PLUNICODE)(val1);
12226 plsfci(arg1);
12227 resultobj = SWIG_Py_Void();
12228 return resultobj;
12229fail:
12230 return NULL;
12231}
12232
12233
12234SWIGINTERN PyObject *_wrap_plsfnam(PyObject *self, PyObject *args) {
12235 PyObject *resultobj = 0;
12236 char *arg1 = 0 ;
12237 int res1 ;
12238 char *buf1 = 0 ;
12239 int alloc1 = 0 ;
12240 PyObject *swig_obj[1] ;
12241
12242 (void)self;
12243 if (!args) SWIG_fail;
12244 swig_obj[0] = args;
12245 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
12246 if (!SWIG_IsOK(res1)) {
12247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plsfnam" "', argument " "1"" of type '" "char const *""'");
12248 }
12249 arg1 = (char *)(buf1);
12250 plsfnam((char const *)arg1);
12251 resultobj = SWIG_Py_Void();
12252 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12253 return resultobj;
12254fail:
12255 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12256 return NULL;
12257}
12258
12259
12260SWIGINTERN PyObject *_wrap_plsfont(PyObject *self, PyObject *args) {
12261 PyObject *resultobj = 0;
12262 PLINT arg1 ;
12263 PLINT arg2 ;
12264 PLINT arg3 ;
12265 int val1 ;
12266 int ecode1 = 0 ;
12267 int val2 ;
12268 int ecode2 = 0 ;
12269 int val3 ;
12270 int ecode3 = 0 ;
12271 PyObject *swig_obj[3] ;
12272
12273 (void)self;
12274 if (!SWIG_Python_UnpackTuple(args, "plsfont", 3, 3, swig_obj)) SWIG_fail;
12275 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12276 if (!SWIG_IsOK(ecode1)) {
12277 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsfont" "', argument " "1"" of type '" "PLINT""'");
12278 }
12279 arg1 = (PLINT)(val1);
12280 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12281 if (!SWIG_IsOK(ecode2)) {
12282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsfont" "', argument " "2"" of type '" "PLINT""'");
12283 }
12284 arg2 = (PLINT)(val2);
12285 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
12286 if (!SWIG_IsOK(ecode3)) {
12287 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsfont" "', argument " "3"" of type '" "PLINT""'");
12288 }
12289 arg3 = (PLINT)(val3);
12290 plsfont(arg1,arg2,arg3);
12291 resultobj = SWIG_Py_Void();
12292 return resultobj;
12293fail:
12294 return NULL;
12295}
12296
12297
12298SWIGINTERN PyObject *_wrap_plshades(PyObject *self, PyObject *args) {
12299 PyObject *resultobj = 0;
12300 PLFLT **arg1 = 0 ;
12301 PLINT arg2 ;
12302 PLINT arg3 ;
12303 defined_func arg4 = 0 ;
12304 PLFLT arg5 ;
12305 PLFLT arg6 ;
12306 PLFLT arg7 ;
12307 PLFLT arg8 ;
12308 PLFLT *arg9 = 0 ;
12309 PLINT arg10 ;
12310 PLFLT arg11 ;
12311 PLINT arg12 ;
12312 PLFLT arg13 ;
12313 fill_func arg14 = 0 ;
12314 PLBOOL arg15 ;
12315 pltr_func arg16 = 0 ;
12316 PLPointer arg17 = 0 ;
12317 PyArrayObject *tmp1 = NULL ;
12318 double val5 ;
12319 int ecode5 = 0 ;
12320 double val6 ;
12321 int ecode6 = 0 ;
12322 double val7 ;
12323 int ecode7 = 0 ;
12324 double val8 ;
12325 int ecode8 = 0 ;
12326 PyArrayObject *tmp9 = NULL ;
12327 double val11 ;
12328 int ecode11 = 0 ;
12329 int val12 ;
12330 int ecode12 = 0 ;
12331 double val13 ;
12332 int ecode13 = 0 ;
12333 int val15 ;
12334 int ecode15 = 0 ;
12335 PyObject *swig_obj[12] ;
12336
12337 {
12338 python_pltr = 0;
12339 arg16 = NULL;
12340 }
12341 {
12342 arg17 = NULL;
12343 }
12344 {
12345 arg4 = NULL;
12346 }
12347 {
12348 arg14 = plfill;
12349 }
12350 (void)self;
12351 if (!SWIG_Python_UnpackTuple(args, "plshades", 10, 12, swig_obj)) SWIG_fail;
12352 {
12353 int i, size;
12354 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
12355 if ( tmp1 == NULL )
12356 return NULL;
12357 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
12358 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
12359 size = arg3;
12360 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
12361 for ( i = 0; i < arg2; i++ )
12362 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
12363 }
12364 ecode5 = SWIG_AsVal_double(swig_obj[1], &val5);
12365 if (!SWIG_IsOK(ecode5)) {
12366 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshades" "', argument " "5"" of type '" "PLFLT""'");
12367 }
12368 arg5 = (PLFLT)(val5);
12369 ecode6 = SWIG_AsVal_double(swig_obj[2], &val6);
12370 if (!SWIG_IsOK(ecode6)) {
12371 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshades" "', argument " "6"" of type '" "PLFLT""'");
12372 }
12373 arg6 = (PLFLT)(val6);
12374 ecode7 = SWIG_AsVal_double(swig_obj[3], &val7);
12375 if (!SWIG_IsOK(ecode7)) {
12376 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshades" "', argument " "7"" of type '" "PLFLT""'");
12377 }
12378 arg7 = (PLFLT)(val7);
12379 ecode8 = SWIG_AsVal_double(swig_obj[4], &val8);
12380 if (!SWIG_IsOK(ecode8)) {
12381 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plshades" "', argument " "8"" of type '" "PLFLT""'");
12382 }
12383 arg8 = (PLFLT)(val8);
12384 {
12385 tmp9 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[5], NPY_PLFLT, 1, 1 );
12386 if ( tmp9 == NULL )
12387 return NULL;
12388 arg10 = PyArray_DIMS( tmp9 )[0];
12389 arg9 = (PLFLT *) PyArray_DATA( tmp9 );
12390 }
12391 ecode11 = SWIG_AsVal_double(swig_obj[6], &val11);
12392 if (!SWIG_IsOK(ecode11)) {
12393 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshades" "', argument " "11"" of type '" "PLFLT""'");
12394 }
12395 arg11 = (PLFLT)(val11);
12396 ecode12 = SWIG_AsVal_int(swig_obj[7], &val12);
12397 if (!SWIG_IsOK(ecode12)) {
12398 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshades" "', argument " "12"" of type '" "PLINT""'");
12399 }
12400 arg12 = (PLINT)(val12);
12401 ecode13 = SWIG_AsVal_double(swig_obj[8], &val13);
12402 if (!SWIG_IsOK(ecode13)) {
12403 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshades" "', argument " "13"" of type '" "PLFLT""'");
12404 }
12405 arg13 = (PLFLT)(val13);
12406 ecode15 = SWIG_AsVal_int(swig_obj[9], &val15);
12407 if (!SWIG_IsOK(ecode15)) {
12408 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plshades" "', argument " "15"" of type '" "PLBOOL""'");
12409 }
12410 arg15 = (PLBOOL)(val15);
12411 if (swig_obj[10]) {
12412 {
12413 // it must be a callable or None
12414 if ( swig_obj[10] == Py_None )
12415 {
12416 arg16 = NULL;
12417 }
12418 else
12419 {
12420 if ( !PyCallable_Check( (PyObject *) swig_obj[10] ) )
12421 {
12422 PyErr_SetString( PyExc_ValueError, "pltr argument must be callable" );
12423 return NULL;
12424 }
12425 arg16 = marshal_pltr( swig_obj[10] );
12426 }
12427 }
12428 }
12429 if (swig_obj[11]) {
12430 {
12431 if ( swig_obj[11] == Py_None )
12432 arg17 = NULL;
12433 else
12434 {
12435 arg17 = marshal_PLPointer( swig_obj[11], 0 );
12436 }
12437 }
12438 }
12439 plshades((double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(double const *)arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17);
12440 resultobj = SWIG_Py_Void();
12441 {
12442 Py_CLEAR( tmp1 );
12443 free( arg1 );
12444 }
12445 {
12446 Py_CLEAR( tmp9 );
12447 }
12448 {
12449 cleanup_pltr();
12450 }
12451 {
12453 }
12454 return resultobj;
12455fail:
12456 {
12457 Py_CLEAR( tmp1 );
12458 free( arg1 );
12459 }
12460 {
12461 Py_CLEAR( tmp9 );
12462 }
12463 {
12464 cleanup_pltr();
12465 }
12466 {
12468 }
12469 return NULL;
12470}
12471
12472
12473SWIGINTERN PyObject *_wrap_plshade(PyObject *self, PyObject *args) {
12474 PyObject *resultobj = 0;
12475 PLFLT **arg1 = 0 ;
12476 PLINT arg2 ;
12477 PLINT arg3 ;
12478 defined_func arg4 = 0 ;
12479 PLFLT arg5 ;
12480 PLFLT arg6 ;
12481 PLFLT arg7 ;
12482 PLFLT arg8 ;
12483 PLFLT arg9 ;
12484 PLFLT arg10 ;
12485 PLINT arg11 ;
12486 PLFLT arg12 ;
12487 PLFLT arg13 ;
12488 PLINT arg14 ;
12489 PLFLT arg15 ;
12490 PLINT arg16 ;
12491 PLFLT arg17 ;
12492 fill_func arg18 = 0 ;
12493 PLBOOL arg19 ;
12494 pltr_func arg20 = 0 ;
12495 PLPointer arg21 = 0 ;
12496 PyArrayObject *tmp1 = NULL ;
12497 double val5 ;
12498 int ecode5 = 0 ;
12499 double val6 ;
12500 int ecode6 = 0 ;
12501 double val7 ;
12502 int ecode7 = 0 ;
12503 double val8 ;
12504 int ecode8 = 0 ;
12505 double val9 ;
12506 int ecode9 = 0 ;
12507 double val10 ;
12508 int ecode10 = 0 ;
12509 int val11 ;
12510 int ecode11 = 0 ;
12511 double val12 ;
12512 int ecode12 = 0 ;
12513 double val13 ;
12514 int ecode13 = 0 ;
12515 int val14 ;
12516 int ecode14 = 0 ;
12517 double val15 ;
12518 int ecode15 = 0 ;
12519 int val16 ;
12520 int ecode16 = 0 ;
12521 double val17 ;
12522 int ecode17 = 0 ;
12523 int val19 ;
12524 int ecode19 = 0 ;
12525 PyObject *swig_obj[17] ;
12526
12527 {
12528 python_pltr = 0;
12529 arg20 = NULL;
12530 }
12531 {
12532 arg21 = NULL;
12533 }
12534 {
12535 arg4 = NULL;
12536 }
12537 {
12538 arg18 = plfill;
12539 }
12540 (void)self;
12541 if (!SWIG_Python_UnpackTuple(args, "plshade", 15, 17, swig_obj)) SWIG_fail;
12542 {
12543 int i, size;
12544 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
12545 if ( tmp1 == NULL )
12546 return NULL;
12547 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
12548 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
12549 size = arg3;
12550 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
12551 for ( i = 0; i < arg2; i++ )
12552 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
12553 }
12554 ecode5 = SWIG_AsVal_double(swig_obj[1], &val5);
12555 if (!SWIG_IsOK(ecode5)) {
12556 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshade" "', argument " "5"" of type '" "PLFLT""'");
12557 }
12558 arg5 = (PLFLT)(val5);
12559 ecode6 = SWIG_AsVal_double(swig_obj[2], &val6);
12560 if (!SWIG_IsOK(ecode6)) {
12561 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshade" "', argument " "6"" of type '" "PLFLT""'");
12562 }
12563 arg6 = (PLFLT)(val6);
12564 ecode7 = SWIG_AsVal_double(swig_obj[3], &val7);
12565 if (!SWIG_IsOK(ecode7)) {
12566 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshade" "', argument " "7"" of type '" "PLFLT""'");
12567 }
12568 arg7 = (PLFLT)(val7);
12569 ecode8 = SWIG_AsVal_double(swig_obj[4], &val8);
12570 if (!SWIG_IsOK(ecode8)) {
12571 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plshade" "', argument " "8"" of type '" "PLFLT""'");
12572 }
12573 arg8 = (PLFLT)(val8);
12574 ecode9 = SWIG_AsVal_double(swig_obj[5], &val9);
12575 if (!SWIG_IsOK(ecode9)) {
12576 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plshade" "', argument " "9"" of type '" "PLFLT""'");
12577 }
12578 arg9 = (PLFLT)(val9);
12579 ecode10 = SWIG_AsVal_double(swig_obj[6], &val10);
12580 if (!SWIG_IsOK(ecode10)) {
12581 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshade" "', argument " "10"" of type '" "PLFLT""'");
12582 }
12583 arg10 = (PLFLT)(val10);
12584 ecode11 = SWIG_AsVal_int(swig_obj[7], &val11);
12585 if (!SWIG_IsOK(ecode11)) {
12586 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshade" "', argument " "11"" of type '" "PLINT""'");
12587 }
12588 arg11 = (PLINT)(val11);
12589 ecode12 = SWIG_AsVal_double(swig_obj[8], &val12);
12590 if (!SWIG_IsOK(ecode12)) {
12591 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshade" "', argument " "12"" of type '" "PLFLT""'");
12592 }
12593 arg12 = (PLFLT)(val12);
12594 ecode13 = SWIG_AsVal_double(swig_obj[9], &val13);
12595 if (!SWIG_IsOK(ecode13)) {
12596 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshade" "', argument " "13"" of type '" "PLFLT""'");
12597 }
12598 arg13 = (PLFLT)(val13);
12599 ecode14 = SWIG_AsVal_int(swig_obj[10], &val14);
12600 if (!SWIG_IsOK(ecode14)) {
12601 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plshade" "', argument " "14"" of type '" "PLINT""'");
12602 }
12603 arg14 = (PLINT)(val14);
12604 ecode15 = SWIG_AsVal_double(swig_obj[11], &val15);
12605 if (!SWIG_IsOK(ecode15)) {
12606 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plshade" "', argument " "15"" of type '" "PLFLT""'");
12607 }
12608 arg15 = (PLFLT)(val15);
12609 ecode16 = SWIG_AsVal_int(swig_obj[12], &val16);
12610 if (!SWIG_IsOK(ecode16)) {
12611 SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "plshade" "', argument " "16"" of type '" "PLINT""'");
12612 }
12613 arg16 = (PLINT)(val16);
12614 ecode17 = SWIG_AsVal_double(swig_obj[13], &val17);
12615 if (!SWIG_IsOK(ecode17)) {
12616 SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "plshade" "', argument " "17"" of type '" "PLFLT""'");
12617 }
12618 arg17 = (PLFLT)(val17);
12619 ecode19 = SWIG_AsVal_int(swig_obj[14], &val19);
12620 if (!SWIG_IsOK(ecode19)) {
12621 SWIG_exception_fail(SWIG_ArgError(ecode19), "in method '" "plshade" "', argument " "19"" of type '" "PLBOOL""'");
12622 }
12623 arg19 = (PLBOOL)(val19);
12624 if (swig_obj[15]) {
12625 {
12626 // it must be a callable or None
12627 if ( swig_obj[15] == Py_None )
12628 {
12629 arg20 = NULL;
12630 }
12631 else
12632 {
12633 if ( !PyCallable_Check( (PyObject *) swig_obj[15] ) )
12634 {
12635 PyErr_SetString( PyExc_ValueError, "pltr argument must be callable" );
12636 return NULL;
12637 }
12638 arg20 = marshal_pltr( swig_obj[15] );
12639 }
12640 }
12641 }
12642 if (swig_obj[16]) {
12643 {
12644 if ( swig_obj[16] == Py_None )
12645 arg21 = NULL;
12646 else
12647 {
12648 arg21 = marshal_PLPointer( swig_obj[16], 0 );
12649 }
12650 }
12651 }
12652 plshade((double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21);
12653 resultobj = SWIG_Py_Void();
12654 {
12655 Py_CLEAR( tmp1 );
12656 free( arg1 );
12657 }
12658 {
12659 cleanup_pltr();
12660 }
12661 {
12663 }
12664 return resultobj;
12665fail:
12666 {
12667 Py_CLEAR( tmp1 );
12668 free( arg1 );
12669 }
12670 {
12671 cleanup_pltr();
12672 }
12673 {
12675 }
12676 return NULL;
12677}
12678
12679
12680SWIGINTERN PyObject *_wrap_plslabelfunc(PyObject *self, PyObject *args) {
12681 PyObject *resultobj = 0;
12682 label_func arg1 = 0 ;
12683 PLPointer arg2 = 0 ;
12684 int res2 ;
12685 PyObject *swig_obj[2] ;
12686
12687 (void)self;
12688 if (!SWIG_Python_UnpackTuple(args, "plslabelfunc", 2, 2, swig_obj)) SWIG_fail;
12689 {
12690 // Release reference to previous function if applicable
12691 if ( python_label )
12692 {
12693 Py_CLEAR( python_label );
12694 python_label = 0;
12695 }
12696 // it must be a callable or None
12697 if ( swig_obj[0] == Py_None )
12698 {
12699 arg1 = NULL;
12700 }
12701 else
12702 {
12703 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
12704 {
12705 PyErr_SetString( PyExc_ValueError, "label_func argument must be callable" );
12706 return NULL;
12707 }
12708 // hold a reference to it
12709 Py_XINCREF( (PyObject *) swig_obj[0] );
12710 python_label = (PyObject *) swig_obj[0];
12711 // this function handles calling the python function
12712 arg1 = do_label_callback;
12713 }
12714 }
12715 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, 0);
12716 if (!SWIG_IsOK(res2)) {
12717 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plslabelfunc" "', argument " "2"" of type '" "PLPointer""'");
12718 }
12719 plslabelfunc(arg1,arg2);
12720 resultobj = SWIG_Py_Void();
12721 return resultobj;
12722fail:
12723 return NULL;
12724}
12725
12726
12727SWIGINTERN PyObject *_wrap_plsmaj(PyObject *self, PyObject *args) {
12728 PyObject *resultobj = 0;
12729 PLFLT arg1 ;
12730 PLFLT arg2 ;
12731 double val1 ;
12732 int ecode1 = 0 ;
12733 double val2 ;
12734 int ecode2 = 0 ;
12735 PyObject *swig_obj[2] ;
12736
12737 (void)self;
12738 if (!SWIG_Python_UnpackTuple(args, "plsmaj", 2, 2, swig_obj)) SWIG_fail;
12739 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
12740 if (!SWIG_IsOK(ecode1)) {
12741 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmaj" "', argument " "1"" of type '" "PLFLT""'");
12742 }
12743 arg1 = (PLFLT)(val1);
12744 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
12745 if (!SWIG_IsOK(ecode2)) {
12746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmaj" "', argument " "2"" of type '" "PLFLT""'");
12747 }
12748 arg2 = (PLFLT)(val2);
12749 plsmaj(arg1,arg2);
12750 resultobj = SWIG_Py_Void();
12751 return resultobj;
12752fail:
12753 return NULL;
12754}
12755
12756
12757SWIGINTERN PyObject *_wrap_plsmem(PyObject *self, PyObject *args) {
12758 PyObject *resultobj = 0;
12759 PLINT arg1 ;
12760 PLINT arg2 ;
12761 void *arg3 = 0 ;
12762 int val1 ;
12763 int ecode1 = 0 ;
12764 int val2 ;
12765 int ecode2 = 0 ;
12766 PyObject *swig_obj[3] ;
12767
12768 (void)self;
12769 if (!SWIG_Python_UnpackTuple(args, "plsmem", 3, 3, swig_obj)) SWIG_fail;
12770 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12771 if (!SWIG_IsOK(ecode1)) {
12772 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmem" "', argument " "1"" of type '" "PLINT""'");
12773 }
12774 arg1 = (PLINT)(val1);
12775 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12776 if (!SWIG_IsOK(ecode2)) {
12777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmem" "', argument " "2"" of type '" "PLINT""'");
12778 }
12779 arg2 = (PLINT)(val2);
12780 {
12781 int res; void *buf = 0;
12782#if !defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL)
12783 Py_buffer view;
12784 res = PyObject_GetBuffer(swig_obj[2], &view, PyBUF_WRITABLE);
12785#else
12786#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12787#pragma GCC diagnostic push
12788#pragma GCC diagnostic ignored "-Wdeprecated"
12789#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
12790#elif defined(_MSC_VER)
12791#pragma warning(push)
12792#pragma warning(disable: 4996)
12793#endif
12794 Py_ssize_t size;
12795 res = PyObject_AsWriteBuffer(swig_obj[2], &buf, &size);
12796#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12797#pragma GCC diagnostic pop
12798#elif defined(_MSC_VER)
12799#pragma warning(pop)
12800#endif
12801#endif
12802 if (res < 0) {
12803 PyErr_Clear();
12804 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "plsmem" "', argument " "3"" of type '" "(void * plotmem)""'");
12805 }
12806#if !defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL)
12807 buf = view.buf;
12808 PyBuffer_Release(&view);
12809#endif
12810 arg3 = (void *) buf;
12811 }
12812 plsmem(arg1,arg2,arg3);
12813 resultobj = SWIG_Py_Void();
12814 return resultobj;
12815fail:
12816 return NULL;
12817}
12818
12819
12820SWIGINTERN PyObject *_wrap_plsmema(PyObject *self, PyObject *args) {
12821 PyObject *resultobj = 0;
12822 PLINT arg1 ;
12823 PLINT arg2 ;
12824 void *arg3 = 0 ;
12825 int val1 ;
12826 int ecode1 = 0 ;
12827 int val2 ;
12828 int ecode2 = 0 ;
12829 PyObject *swig_obj[3] ;
12830
12831 (void)self;
12832 if (!SWIG_Python_UnpackTuple(args, "plsmema", 3, 3, swig_obj)) SWIG_fail;
12833 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12834 if (!SWIG_IsOK(ecode1)) {
12835 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmema" "', argument " "1"" of type '" "PLINT""'");
12836 }
12837 arg1 = (PLINT)(val1);
12838 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12839 if (!SWIG_IsOK(ecode2)) {
12840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmema" "', argument " "2"" of type '" "PLINT""'");
12841 }
12842 arg2 = (PLINT)(val2);
12843 {
12844 int res; void *buf = 0;
12845#if !defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL)
12846 Py_buffer view;
12847 res = PyObject_GetBuffer(swig_obj[2], &view, PyBUF_WRITABLE);
12848#else
12849#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12850#pragma GCC diagnostic push
12851#pragma GCC diagnostic ignored "-Wdeprecated"
12852#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
12853#elif defined(_MSC_VER)
12854#pragma warning(push)
12855#pragma warning(disable: 4996)
12856#endif
12857 Py_ssize_t size;
12858 res = PyObject_AsWriteBuffer(swig_obj[2], &buf, &size);
12859#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12860#pragma GCC diagnostic pop
12861#elif defined(_MSC_VER)
12862#pragma warning(pop)
12863#endif
12864#endif
12865 if (res < 0) {
12866 PyErr_Clear();
12867 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "plsmema" "', argument " "3"" of type '" "(void * plotmem)""'");
12868 }
12869#if !defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL)
12870 buf = view.buf;
12871 PyBuffer_Release(&view);
12872#endif
12873 arg3 = (void *) buf;
12874 }
12875 plsmema(arg1,arg2,arg3);
12876 resultobj = SWIG_Py_Void();
12877 return resultobj;
12878fail:
12879 return NULL;
12880}
12881
12882
12883SWIGINTERN PyObject *_wrap_plsmin(PyObject *self, PyObject *args) {
12884 PyObject *resultobj = 0;
12885 PLFLT arg1 ;
12886 PLFLT arg2 ;
12887 double val1 ;
12888 int ecode1 = 0 ;
12889 double val2 ;
12890 int ecode2 = 0 ;
12891 PyObject *swig_obj[2] ;
12892
12893 (void)self;
12894 if (!SWIG_Python_UnpackTuple(args, "plsmin", 2, 2, swig_obj)) SWIG_fail;
12895 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
12896 if (!SWIG_IsOK(ecode1)) {
12897 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmin" "', argument " "1"" of type '" "PLFLT""'");
12898 }
12899 arg1 = (PLFLT)(val1);
12900 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
12901 if (!SWIG_IsOK(ecode2)) {
12902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmin" "', argument " "2"" of type '" "PLFLT""'");
12903 }
12904 arg2 = (PLFLT)(val2);
12905 plsmin(arg1,arg2);
12906 resultobj = SWIG_Py_Void();
12907 return resultobj;
12908fail:
12909 return NULL;
12910}
12911
12912
12913SWIGINTERN PyObject *_wrap_plsori(PyObject *self, PyObject *args) {
12914 PyObject *resultobj = 0;
12915 PLINT arg1 ;
12916 int val1 ;
12917 int ecode1 = 0 ;
12918 PyObject *swig_obj[1] ;
12919
12920 (void)self;
12921 if (!args) SWIG_fail;
12922 swig_obj[0] = args;
12923 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12924 if (!SWIG_IsOK(ecode1)) {
12925 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsori" "', argument " "1"" of type '" "PLINT""'");
12926 }
12927 arg1 = (PLINT)(val1);
12928 plsori(arg1);
12929 resultobj = SWIG_Py_Void();
12930 return resultobj;
12931fail:
12932 return NULL;
12933}
12934
12935
12936SWIGINTERN PyObject *_wrap_plspage(PyObject *self, PyObject *args) {
12937 PyObject *resultobj = 0;
12938 PLFLT arg1 ;
12939 PLFLT arg2 ;
12940 PLINT arg3 ;
12941 PLINT arg4 ;
12942 PLINT arg5 ;
12943 PLINT arg6 ;
12944 double val1 ;
12945 int ecode1 = 0 ;
12946 double val2 ;
12947 int ecode2 = 0 ;
12948 int val3 ;
12949 int ecode3 = 0 ;
12950 int val4 ;
12951 int ecode4 = 0 ;
12952 int val5 ;
12953 int ecode5 = 0 ;
12954 int val6 ;
12955 int ecode6 = 0 ;
12956 PyObject *swig_obj[6] ;
12957
12958 (void)self;
12959 if (!SWIG_Python_UnpackTuple(args, "plspage", 6, 6, swig_obj)) SWIG_fail;
12960 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
12961 if (!SWIG_IsOK(ecode1)) {
12962 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plspage" "', argument " "1"" of type '" "PLFLT""'");
12963 }
12964 arg1 = (PLFLT)(val1);
12965 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
12966 if (!SWIG_IsOK(ecode2)) {
12967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plspage" "', argument " "2"" of type '" "PLFLT""'");
12968 }
12969 arg2 = (PLFLT)(val2);
12970 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
12971 if (!SWIG_IsOK(ecode3)) {
12972 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plspage" "', argument " "3"" of type '" "PLINT""'");
12973 }
12974 arg3 = (PLINT)(val3);
12975 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
12976 if (!SWIG_IsOK(ecode4)) {
12977 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plspage" "', argument " "4"" of type '" "PLINT""'");
12978 }
12979 arg4 = (PLINT)(val4);
12980 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
12981 if (!SWIG_IsOK(ecode5)) {
12982 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plspage" "', argument " "5"" of type '" "PLINT""'");
12983 }
12984 arg5 = (PLINT)(val5);
12985 ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
12986 if (!SWIG_IsOK(ecode6)) {
12987 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plspage" "', argument " "6"" of type '" "PLINT""'");
12988 }
12989 arg6 = (PLINT)(val6);
12990 plspage(arg1,arg2,arg3,arg4,arg5,arg6);
12991 resultobj = SWIG_Py_Void();
12992 return resultobj;
12993fail:
12994 return NULL;
12995}
12996
12997
12998SWIGINTERN PyObject *_wrap_plspal0(PyObject *self, PyObject *args) {
12999 PyObject *resultobj = 0;
13000 char *arg1 = 0 ;
13001 int res1 ;
13002 char *buf1 = 0 ;
13003 int alloc1 = 0 ;
13004 PyObject *swig_obj[1] ;
13005
13006 (void)self;
13007 if (!args) SWIG_fail;
13008 swig_obj[0] = args;
13009 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
13010 if (!SWIG_IsOK(res1)) {
13011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plspal0" "', argument " "1"" of type '" "char const *""'");
13012 }
13013 arg1 = (char *)(buf1);
13014 plspal0((char const *)arg1);
13015 resultobj = SWIG_Py_Void();
13016 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
13017 return resultobj;
13018fail:
13019 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
13020 return NULL;
13021}
13022
13023
13024SWIGINTERN PyObject *_wrap_plspal1(PyObject *self, PyObject *args) {
13025 PyObject *resultobj = 0;
13026 char *arg1 = 0 ;
13027 PLBOOL arg2 ;
13028 int res1 ;
13029 char *buf1 = 0 ;
13030 int alloc1 = 0 ;
13031 int val2 ;
13032 int ecode2 = 0 ;
13033 PyObject *swig_obj[2] ;
13034
13035 (void)self;
13036 if (!SWIG_Python_UnpackTuple(args, "plspal1", 2, 2, swig_obj)) SWIG_fail;
13037 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
13038 if (!SWIG_IsOK(res1)) {
13039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plspal1" "', argument " "1"" of type '" "char const *""'");
13040 }
13041 arg1 = (char *)(buf1);
13042 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13043 if (!SWIG_IsOK(ecode2)) {
13044 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plspal1" "', argument " "2"" of type '" "PLBOOL""'");
13045 }
13046 arg2 = (PLBOOL)(val2);
13047 plspal1((char const *)arg1,arg2);
13048 resultobj = SWIG_Py_Void();
13049 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
13050 return resultobj;
13051fail:
13052 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
13053 return NULL;
13054}
13055
13056
13057SWIGINTERN PyObject *_wrap_plspause(PyObject *self, PyObject *args) {
13058 PyObject *resultobj = 0;
13059 PLBOOL arg1 ;
13060 int val1 ;
13061 int ecode1 = 0 ;
13062 PyObject *swig_obj[1] ;
13063
13064 (void)self;
13065 if (!args) SWIG_fail;
13066 swig_obj[0] = args;
13067 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13068 if (!SWIG_IsOK(ecode1)) {
13069 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plspause" "', argument " "1"" of type '" "PLBOOL""'");
13070 }
13071 arg1 = (PLBOOL)(val1);
13072 plspause(arg1);
13073 resultobj = SWIG_Py_Void();
13074 return resultobj;
13075fail:
13076 return NULL;
13077}
13078
13079
13080SWIGINTERN PyObject *_wrap_plsstrm(PyObject *self, PyObject *args) {
13081 PyObject *resultobj = 0;
13082 PLINT arg1 ;
13083 int val1 ;
13084 int ecode1 = 0 ;
13085 PyObject *swig_obj[1] ;
13086
13087 (void)self;
13088 if (!args) SWIG_fail;
13089 swig_obj[0] = args;
13090 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13091 if (!SWIG_IsOK(ecode1)) {
13092 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsstrm" "', argument " "1"" of type '" "PLINT""'");
13093 }
13094 arg1 = (PLINT)(val1);
13095 plsstrm(arg1);
13096 resultobj = SWIG_Py_Void();
13097 return resultobj;
13098fail:
13099 return NULL;
13100}
13101
13102
13103SWIGINTERN PyObject *_wrap_plssub(PyObject *self, PyObject *args) {
13104 PyObject *resultobj = 0;
13105 PLINT arg1 ;
13106 PLINT arg2 ;
13107 int val1 ;
13108 int ecode1 = 0 ;
13109 int val2 ;
13110 int ecode2 = 0 ;
13111 PyObject *swig_obj[2] ;
13112
13113 (void)self;
13114 if (!SWIG_Python_UnpackTuple(args, "plssub", 2, 2, swig_obj)) SWIG_fail;
13115 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13116 if (!SWIG_IsOK(ecode1)) {
13117 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plssub" "', argument " "1"" of type '" "PLINT""'");
13118 }
13119 arg1 = (PLINT)(val1);
13120 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13121 if (!SWIG_IsOK(ecode2)) {
13122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plssub" "', argument " "2"" of type '" "PLINT""'");
13123 }
13124 arg2 = (PLINT)(val2);
13125 plssub(arg1,arg2);
13126 resultobj = SWIG_Py_Void();
13127 return resultobj;
13128fail:
13129 return NULL;
13130}
13131
13132
13133SWIGINTERN PyObject *_wrap_plssym(PyObject *self, PyObject *args) {
13134 PyObject *resultobj = 0;
13135 PLFLT arg1 ;
13136 PLFLT arg2 ;
13137 double val1 ;
13138 int ecode1 = 0 ;
13139 double val2 ;
13140 int ecode2 = 0 ;
13141 PyObject *swig_obj[2] ;
13142
13143 (void)self;
13144 if (!SWIG_Python_UnpackTuple(args, "plssym", 2, 2, swig_obj)) SWIG_fail;
13145 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
13146 if (!SWIG_IsOK(ecode1)) {
13147 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plssym" "', argument " "1"" of type '" "PLFLT""'");
13148 }
13149 arg1 = (PLFLT)(val1);
13150 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
13151 if (!SWIG_IsOK(ecode2)) {
13152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plssym" "', argument " "2"" of type '" "PLFLT""'");
13153 }
13154 arg2 = (PLFLT)(val2);
13155 plssym(arg1,arg2);
13156 resultobj = SWIG_Py_Void();
13157 return resultobj;
13158fail:
13159 return NULL;
13160}
13161
13162
13163SWIGINTERN PyObject *_wrap_plstar(PyObject *self, PyObject *args) {
13164 PyObject *resultobj = 0;
13165 PLINT arg1 ;
13166 PLINT arg2 ;
13167 int val1 ;
13168 int ecode1 = 0 ;
13169 int val2 ;
13170 int ecode2 = 0 ;
13171 PyObject *swig_obj[2] ;
13172
13173 (void)self;
13174 if (!SWIG_Python_UnpackTuple(args, "plstar", 2, 2, swig_obj)) SWIG_fail;
13175 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13176 if (!SWIG_IsOK(ecode1)) {
13177 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plstar" "', argument " "1"" of type '" "PLINT""'");
13178 }
13179 arg1 = (PLINT)(val1);
13180 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13181 if (!SWIG_IsOK(ecode2)) {
13182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plstar" "', argument " "2"" of type '" "PLINT""'");
13183 }
13184 arg2 = (PLINT)(val2);
13185 plstar(arg1,arg2);
13186 resultobj = SWIG_Py_Void();
13187 return resultobj;
13188fail:
13189 return NULL;
13190}
13191
13192
13193SWIGINTERN PyObject *_wrap_plstart(PyObject *self, PyObject *args) {
13194 PyObject *resultobj = 0;
13195 char *arg1 = 0 ;
13196 PLINT arg2 ;
13197 PLINT arg3 ;
13198 int res1 ;
13199 char *buf1 = 0 ;
13200 int alloc1 = 0 ;
13201 int val2 ;
13202 int ecode2 = 0 ;
13203 int val3 ;
13204 int ecode3 = 0 ;
13205 PyObject *swig_obj[3] ;
13206
13207 (void)self;
13208 if (!SWIG_Python_UnpackTuple(args, "plstart", 3, 3, swig_obj)) SWIG_fail;
13209 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
13210 if (!SWIG_IsOK(res1)) {
13211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plstart" "', argument " "1"" of type '" "char const *""'");
13212 }
13213 arg1 = (char *)(buf1);
13214 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13215 if (!SWIG_IsOK(ecode2)) {
13216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plstart" "', argument " "2"" of type '" "PLINT""'");
13217 }
13218 arg2 = (PLINT)(val2);
13219 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
13220 if (!SWIG_IsOK(ecode3)) {
13221 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plstart" "', argument " "3"" of type '" "PLINT""'");
13222 }
13223 arg3 = (PLINT)(val3);
13224 plstart((char const *)arg1,arg2,arg3);
13225 resultobj = SWIG_Py_Void();
13226 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
13227 return resultobj;
13228fail:
13229 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
13230 return NULL;
13231}
13232
13233
13234SWIGINTERN PyObject *_wrap_plstransform(PyObject *self, PyObject *args) {
13235 PyObject *resultobj = 0;
13236 ct_func arg1 = 0 ;
13237 PLPointer arg2 = 0 ;
13238 int res2 ;
13239 PyObject *swig_obj[2] ;
13240
13241 {
13242 python_ct = 0;
13243 arg1 = NULL;
13244 }
13245 (void)self;
13246 if (!SWIG_Python_UnpackTuple(args, "plstransform", 0, 2, swig_obj)) SWIG_fail;
13247 if (swig_obj[0]) {
13248 {
13249 if ( python_ct )
13250 cleanup_ct();
13251 // it must be a callable or none
13252 if ( swig_obj[0] == Py_None )
13253 {
13254 arg1 = NULL;
13255 }
13256 else
13257 {
13258 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
13259 {
13260 PyErr_SetString( PyExc_ValueError, "coordinate transform argument must be callable" );
13261 return NULL;
13262 }
13263 arg1 = marshal_ct( swig_obj[0] );
13264 }
13265 }
13266 }
13267 if (swig_obj[1]) {
13268 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, 0);
13269 if (!SWIG_IsOK(res2)) {
13270 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plstransform" "', argument " "2"" of type '" "PLPointer""'");
13271 }
13272 }
13273 plstransform(arg1,arg2);
13274 resultobj = SWIG_Py_Void();
13275 return resultobj;
13276fail:
13277 return NULL;
13278}
13279
13280
13281SWIGINTERN PyObject *_wrap_plstring(PyObject *self, PyObject *args) {
13282 PyObject *resultobj = 0;
13283 PLINT arg1 ;
13284 PLFLT *arg2 = 0 ;
13285 PLFLT *arg3 = 0 ;
13286 char *arg4 = 0 ;
13287 PyArrayObject *tmp1 = NULL ;
13288 PyArrayObject *tmp3 = NULL ;
13289 int res4 ;
13290 char *buf4 = 0 ;
13291 int alloc4 = 0 ;
13292 PyObject *swig_obj[3] ;
13293
13294 (void)self;
13295 if (!SWIG_Python_UnpackTuple(args, "plstring", 3, 3, swig_obj)) SWIG_fail;
13296 {
13297 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
13298 if ( tmp1 == NULL )
13299 return NULL;
13300 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13301 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
13302 }
13303 {
13304 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
13305 if ( tmp3 == NULL )
13306 return NULL;
13307 if ( PyArray_DIMS( tmp3 )[0] != Alen )
13308 {
13309 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13310 return NULL;
13311 }
13312 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
13313 }
13314 res4 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf4, NULL, &alloc4);
13315 if (!SWIG_IsOK(res4)) {
13316 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "plstring" "', argument " "4"" of type '" "char const *""'");
13317 }
13318 arg4 = (char *)(buf4);
13319 plstring(arg1,(double const *)arg2,(double const *)arg3,(char const *)arg4);
13320 resultobj = SWIG_Py_Void();
13321 {
13322 Py_CLEAR( tmp1 );
13323 }
13324 {
13325 Py_CLEAR( tmp3 );
13326 }
13327 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
13328 return resultobj;
13329fail:
13330 {
13331 Py_CLEAR( tmp1 );
13332 }
13333 {
13334 Py_CLEAR( tmp3 );
13335 }
13336 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
13337 return NULL;
13338}
13339
13340
13341SWIGINTERN PyObject *_wrap_plstring3(PyObject *self, PyObject *args) {
13342 PyObject *resultobj = 0;
13343 PLINT arg1 ;
13344 PLFLT *arg2 = 0 ;
13345 PLFLT *arg3 = 0 ;
13346 PLFLT *arg4 = 0 ;
13347 char *arg5 = 0 ;
13348 PyArrayObject *tmp1 = NULL ;
13349 PyArrayObject *tmp3 = NULL ;
13350 PyArrayObject *tmp4 = NULL ;
13351 int res5 ;
13352 char *buf5 = 0 ;
13353 int alloc5 = 0 ;
13354 PyObject *swig_obj[4] ;
13355
13356 (void)self;
13357 if (!SWIG_Python_UnpackTuple(args, "plstring3", 4, 4, swig_obj)) SWIG_fail;
13358 {
13359 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
13360 if ( tmp1 == NULL )
13361 return NULL;
13362 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13363 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
13364 }
13365 {
13366 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
13367 if ( tmp3 == NULL )
13368 return NULL;
13369 if ( PyArray_DIMS( tmp3 )[0] != Alen )
13370 {
13371 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13372 return NULL;
13373 }
13374 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
13375 }
13376 {
13377 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
13378 if ( tmp4 == NULL )
13379 return NULL;
13380 if ( PyArray_DIMS( tmp4 )[0] != Alen )
13381 {
13382 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13383 return NULL;
13384 }
13385 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
13386 }
13387 res5 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf5, NULL, &alloc5);
13388 if (!SWIG_IsOK(res5)) {
13389 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plstring3" "', argument " "5"" of type '" "char const *""'");
13390 }
13391 arg5 = (char *)(buf5);
13392 plstring3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4,(char const *)arg5);
13393 resultobj = SWIG_Py_Void();
13394 {
13395 Py_CLEAR( tmp1 );
13396 }
13397 {
13398 Py_CLEAR( tmp3 );
13399 }
13400 {
13401 Py_CLEAR( tmp4 );
13402 }
13403 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
13404 return resultobj;
13405fail:
13406 {
13407 Py_CLEAR( tmp1 );
13408 }
13409 {
13410 Py_CLEAR( tmp3 );
13411 }
13412 {
13413 Py_CLEAR( tmp4 );
13414 }
13415 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
13416 return NULL;
13417}
13418
13419
13420SWIGINTERN PyObject *_wrap_plstripa(PyObject *self, PyObject *args) {
13421 PyObject *resultobj = 0;
13422 PLINT arg1 ;
13423 PLINT arg2 ;
13424 PLFLT arg3 ;
13425 PLFLT arg4 ;
13426 int val1 ;
13427 int ecode1 = 0 ;
13428 int val2 ;
13429 int ecode2 = 0 ;
13430 double val3 ;
13431 int ecode3 = 0 ;
13432 double val4 ;
13433 int ecode4 = 0 ;
13434 PyObject *swig_obj[4] ;
13435
13436 (void)self;
13437 if (!SWIG_Python_UnpackTuple(args, "plstripa", 4, 4, swig_obj)) SWIG_fail;
13438 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13439 if (!SWIG_IsOK(ecode1)) {
13440 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plstripa" "', argument " "1"" of type '" "PLINT""'");
13441 }
13442 arg1 = (PLINT)(val1);
13443 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13444 if (!SWIG_IsOK(ecode2)) {
13445 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plstripa" "', argument " "2"" of type '" "PLINT""'");
13446 }
13447 arg2 = (PLINT)(val2);
13448 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
13449 if (!SWIG_IsOK(ecode3)) {
13450 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plstripa" "', argument " "3"" of type '" "PLFLT""'");
13451 }
13452 arg3 = (PLFLT)(val3);
13453 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
13454 if (!SWIG_IsOK(ecode4)) {
13455 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plstripa" "', argument " "4"" of type '" "PLFLT""'");
13456 }
13457 arg4 = (PLFLT)(val4);
13458 plstripa(arg1,arg2,arg3,arg4);
13459 resultobj = SWIG_Py_Void();
13460 return resultobj;
13461fail:
13462 return NULL;
13463}
13464
13465
13466SWIGINTERN PyObject *_wrap_plstripc(PyObject *self, PyObject *args) {
13467 PyObject *resultobj = 0;
13468 PLINT *arg1 = 0 ;
13469 char *arg2 = 0 ;
13470 char *arg3 = 0 ;
13471 PLFLT arg4 ;
13472 PLFLT arg5 ;
13473 PLFLT arg6 ;
13474 PLFLT arg7 ;
13475 PLFLT arg8 ;
13476 PLFLT arg9 ;
13477 PLFLT arg10 ;
13478 PLBOOL arg11 ;
13479 PLBOOL arg12 ;
13480 PLINT arg13 ;
13481 PLINT arg14 ;
13482 PLINT *arg15 = 0 ;
13483 PLINT *arg16 = 0 ;
13484 char **arg17 = (char **)0 ;
13485 char *arg18 = 0 ;
13486 char *arg19 = 0 ;
13487 char *arg20 = 0 ;
13488 PLINT temp1 ;
13489 int res1 = SWIG_TMPOBJ ;
13490 int res2 ;
13491 char *buf2 = 0 ;
13492 int alloc2 = 0 ;
13493 int res3 ;
13494 char *buf3 = 0 ;
13495 int alloc3 = 0 ;
13496 double val4 ;
13497 int ecode4 = 0 ;
13498 double val5 ;
13499 int ecode5 = 0 ;
13500 double val6 ;
13501 int ecode6 = 0 ;
13502 double val7 ;
13503 int ecode7 = 0 ;
13504 double val8 ;
13505 int ecode8 = 0 ;
13506 double val9 ;
13507 int ecode9 = 0 ;
13508 double val10 ;
13509 int ecode10 = 0 ;
13510 int val11 ;
13511 int ecode11 = 0 ;
13512 int val12 ;
13513 int ecode12 = 0 ;
13514 int val13 ;
13515 int ecode13 = 0 ;
13516 int val14 ;
13517 int ecode14 = 0 ;
13518 PyArrayObject *tmp15 = NULL ;
13519 PyArrayObject *tmp16 = NULL ;
13520 char **tmp17 = NULL ;
13521 int res18 ;
13522 char *buf18 = 0 ;
13523 int alloc18 = 0 ;
13524 int res19 ;
13525 char *buf19 = 0 ;
13526 int alloc19 = 0 ;
13527 int res20 ;
13528 char *buf20 = 0 ;
13529 int alloc20 = 0 ;
13530 PyObject *swig_obj[19] ;
13531
13532 arg1 = &temp1;
13533 (void)self;
13534 if (!SWIG_Python_UnpackTuple(args, "plstripc", 19, 19, swig_obj)) SWIG_fail;
13535 res2 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf2, NULL, &alloc2);
13536 if (!SWIG_IsOK(res2)) {
13537 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plstripc" "', argument " "2"" of type '" "char const *""'");
13538 }
13539 arg2 = (char *)(buf2);
13540 res3 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf3, NULL, &alloc3);
13541 if (!SWIG_IsOK(res3)) {
13542 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "plstripc" "', argument " "3"" of type '" "char const *""'");
13543 }
13544 arg3 = (char *)(buf3);
13545 ecode4 = SWIG_AsVal_double(swig_obj[2], &val4);
13546 if (!SWIG_IsOK(ecode4)) {
13547 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plstripc" "', argument " "4"" of type '" "PLFLT""'");
13548 }
13549 arg4 = (PLFLT)(val4);
13550 ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
13551 if (!SWIG_IsOK(ecode5)) {
13552 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plstripc" "', argument " "5"" of type '" "PLFLT""'");
13553 }
13554 arg5 = (PLFLT)(val5);
13555 ecode6 = SWIG_AsVal_double(swig_obj[4], &val6);
13556 if (!SWIG_IsOK(ecode6)) {
13557 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plstripc" "', argument " "6"" of type '" "PLFLT""'");
13558 }
13559 arg6 = (PLFLT)(val6);
13560 ecode7 = SWIG_AsVal_double(swig_obj[5], &val7);
13561 if (!SWIG_IsOK(ecode7)) {
13562 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plstripc" "', argument " "7"" of type '" "PLFLT""'");
13563 }
13564 arg7 = (PLFLT)(val7);
13565 ecode8 = SWIG_AsVal_double(swig_obj[6], &val8);
13566 if (!SWIG_IsOK(ecode8)) {
13567 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plstripc" "', argument " "8"" of type '" "PLFLT""'");
13568 }
13569 arg8 = (PLFLT)(val8);
13570 ecode9 = SWIG_AsVal_double(swig_obj[7], &val9);
13571 if (!SWIG_IsOK(ecode9)) {
13572 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plstripc" "', argument " "9"" of type '" "PLFLT""'");
13573 }
13574 arg9 = (PLFLT)(val9);
13575 ecode10 = SWIG_AsVal_double(swig_obj[8], &val10);
13576 if (!SWIG_IsOK(ecode10)) {
13577 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plstripc" "', argument " "10"" of type '" "PLFLT""'");
13578 }
13579 arg10 = (PLFLT)(val10);
13580 ecode11 = SWIG_AsVal_int(swig_obj[9], &val11);
13581 if (!SWIG_IsOK(ecode11)) {
13582 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plstripc" "', argument " "11"" of type '" "PLBOOL""'");
13583 }
13584 arg11 = (PLBOOL)(val11);
13585 ecode12 = SWIG_AsVal_int(swig_obj[10], &val12);
13586 if (!SWIG_IsOK(ecode12)) {
13587 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plstripc" "', argument " "12"" of type '" "PLBOOL""'");
13588 }
13589 arg12 = (PLBOOL)(val12);
13590 ecode13 = SWIG_AsVal_int(swig_obj[11], &val13);
13591 if (!SWIG_IsOK(ecode13)) {
13592 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plstripc" "', argument " "13"" of type '" "PLINT""'");
13593 }
13594 arg13 = (PLINT)(val13);
13595 ecode14 = SWIG_AsVal_int(swig_obj[12], &val14);
13596 if (!SWIG_IsOK(ecode14)) {
13597 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plstripc" "', argument " "14"" of type '" "PLINT""'");
13598 }
13599 arg14 = (PLINT)(val14);
13600 {
13601 tmp15 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[13], NPY_PLINT, 1, 1 );
13602 if ( tmp15 == NULL )
13603 return NULL;
13604 Alen = PyArray_DIMS( tmp15 )[0];
13605 arg15 = (PLINT *) PyArray_DATA( tmp15 );
13606 }
13607 {
13608 tmp16 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[14], NPY_PLINT, 1, 1 );
13609 if ( tmp16 == NULL )
13610 return NULL;
13611 if ( PyArray_DIMS( tmp16 )[0] != Alen )
13612 {
13613 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13614 return NULL;
13615 }
13616 arg16 = (PLINT *) PyArray_DATA( tmp16 );
13617 }
13618 {
13619 int i;
13620 PyObject *elt, *unicode_string;
13621
13622 if ( !PySequence_Check( swig_obj[15] ) || PySequence_Size( swig_obj[15] ) != 4 )
13623 {
13624 PyErr_SetString( PyExc_ValueError, "Requires a sequence of 4 strings." );
13625 return NULL;
13626 }
13627 if ( Alen != 4 )
13628 {
13629 PyErr_SetString( PyExc_ValueError, "colline and styline args must be length 4." );
13630 return NULL;
13631 }
13632 tmp17 = (char **) malloc( sizeof ( char* ) * 4 );
13633 if ( tmp17 == NULL )
13634 return NULL;
13635 arg17 = tmp17;
13636 for ( i = 0; i < 4; i++ )
13637 {
13638 arg17[i] = NULL;
13639 elt = PySequence_Fast_GET_ITEM( swig_obj[15], i );
13640 if ( PyString_Check( elt ) )
13641 {
13642 arg17[i] = PyString_AsString( elt );
13643 }
13644 else if ( PyUnicode_Check( elt ) )
13645 {
13646 unicode_string = PyUnicode_AsEncodedString( elt, "utf-8", "Error ~" );
13647 arg17[i] = PyBytes_AS_STRING( unicode_string );
13648 }
13649 if ( arg17[i] == NULL )
13650 {
13651 free( tmp17 );
13652 return NULL;
13653 }
13654 }
13655 }
13656 res18 = SWIG_AsCharPtrAndSize(swig_obj[16], &buf18, NULL, &alloc18);
13657 if (!SWIG_IsOK(res18)) {
13658 SWIG_exception_fail(SWIG_ArgError(res18), "in method '" "plstripc" "', argument " "18"" of type '" "char const *""'");
13659 }
13660 arg18 = (char *)(buf18);
13661 res19 = SWIG_AsCharPtrAndSize(swig_obj[17], &buf19, NULL, &alloc19);
13662 if (!SWIG_IsOK(res19)) {
13663 SWIG_exception_fail(SWIG_ArgError(res19), "in method '" "plstripc" "', argument " "19"" of type '" "char const *""'");
13664 }
13665 arg19 = (char *)(buf19);
13666 res20 = SWIG_AsCharPtrAndSize(swig_obj[18], &buf20, NULL, &alloc20);
13667 if (!SWIG_IsOK(res20)) {
13668 SWIG_exception_fail(SWIG_ArgError(res20), "in method '" "plstripc" "', argument " "20"" of type '" "char const *""'");
13669 }
13670 arg20 = (char *)(buf20);
13671 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);
13672 resultobj = SWIG_Py_Void();
13673 if (SWIG_IsTmpObj(res1)) {
13674 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
13675 } else {
13676 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13677 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
13678 }
13679 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13680 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13681 {
13682 Py_CLEAR( tmp15 );
13683 }
13684 {
13685 Py_CLEAR( tmp16 );
13686 }
13687 {
13688 free( tmp17 );
13689 }
13690 if (alloc18 == SWIG_NEWOBJ) free((char*)buf18);
13691 if (alloc19 == SWIG_NEWOBJ) free((char*)buf19);
13692 if (alloc20 == SWIG_NEWOBJ) free((char*)buf20);
13693 return resultobj;
13694fail:
13695 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13696 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13697 {
13698 Py_CLEAR( tmp15 );
13699 }
13700 {
13701 Py_CLEAR( tmp16 );
13702 }
13703 {
13704 free( tmp17 );
13705 }
13706 if (alloc18 == SWIG_NEWOBJ) free((char*)buf18);
13707 if (alloc19 == SWIG_NEWOBJ) free((char*)buf19);
13708 if (alloc20 == SWIG_NEWOBJ) free((char*)buf20);
13709 return NULL;
13710}
13711
13712
13713SWIGINTERN PyObject *_wrap_plstripd(PyObject *self, PyObject *args) {
13714 PyObject *resultobj = 0;
13715 PLINT arg1 ;
13716 int val1 ;
13717 int ecode1 = 0 ;
13718 PyObject *swig_obj[1] ;
13719
13720 (void)self;
13721 if (!args) SWIG_fail;
13722 swig_obj[0] = args;
13723 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13724 if (!SWIG_IsOK(ecode1)) {
13725 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plstripd" "', argument " "1"" of type '" "PLINT""'");
13726 }
13727 arg1 = (PLINT)(val1);
13728 plstripd(arg1);
13729 resultobj = SWIG_Py_Void();
13730 return resultobj;
13731fail:
13732 return NULL;
13733}
13734
13735
13736SWIGINTERN PyObject *_wrap_plstyl(PyObject *self, PyObject *args) {
13737 PyObject *resultobj = 0;
13738 PLINT arg1 ;
13739 PLINT *arg2 = 0 ;
13740 PLINT *arg3 = 0 ;
13741 PyArrayObject *tmp1 = NULL ;
13742 PyArrayObject *tmp3 = NULL ;
13743 PyObject *swig_obj[2] ;
13744
13745 (void)self;
13746 if (!SWIG_Python_UnpackTuple(args, "plstyl", 2, 2, swig_obj)) SWIG_fail;
13747 {
13748 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
13749 if ( tmp1 == NULL )
13750 return NULL;
13751 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13752 arg2 = (PLINT *) PyArray_DATA( tmp1 );
13753 }
13754 {
13755 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
13756 if ( tmp3 == NULL )
13757 return NULL;
13758 if ( PyArray_DIMS( tmp3 )[0] != Alen )
13759 {
13760 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13761 return NULL;
13762 }
13763 arg3 = (PLINT *) PyArray_DATA( tmp3 );
13764 }
13765 plstyl(arg1,(int const *)arg2,(int const *)arg3);
13766 resultobj = SWIG_Py_Void();
13767 {
13768 Py_CLEAR( tmp1 );
13769 }
13770 {
13771 Py_CLEAR( tmp3 );
13772 }
13773 return resultobj;
13774fail:
13775 {
13776 Py_CLEAR( tmp1 );
13777 }
13778 {
13779 Py_CLEAR( tmp3 );
13780 }
13781 return NULL;
13782}
13783
13784
13785SWIGINTERN PyObject *_wrap_plsvect(PyObject *self, PyObject *args) {
13786 PyObject *resultobj = 0;
13787 PLFLT *arg1 = 0 ;
13788 PLFLT *arg2 = 0 ;
13789 PLINT arg3 ;
13790 PLBOOL arg4 ;
13791 PyArrayObject *tmp1 = NULL ;
13792 PyArrayObject *tmp2 = NULL ;
13793 int val4 ;
13794 int ecode4 = 0 ;
13795 PyObject *swig_obj[3] ;
13796
13797 (void)self;
13798 if (!SWIG_Python_UnpackTuple(args, "plsvect", 3, 3, swig_obj)) SWIG_fail;
13799 {
13800 if ( swig_obj[0] != Py_None )
13801 {
13802 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
13803 if ( tmp1 == NULL )
13804 return NULL;
13805 Alen = PyArray_DIMS( tmp1 )[0];
13806 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
13807 }
13808 else
13809 {
13810 arg1 = NULL;
13811 Alen = 0;
13812 }
13813 }
13814 {
13815 if ( swig_obj[1] != Py_None )
13816 {
13817 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
13818 if ( tmp2 == NULL )
13819 return NULL;
13820 if ( PyArray_DIMS( tmp2 )[0] != Alen )
13821 {
13822 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13823 return NULL;
13824 }
13825 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
13826 arg3 = PyArray_DIMS( tmp2 )[0];
13827 }
13828 else
13829 {
13830 arg2 = NULL;
13831 arg3 = 0;
13832 }
13833 }
13834 ecode4 = SWIG_AsVal_int(swig_obj[2], &val4);
13835 if (!SWIG_IsOK(ecode4)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsvect" "', argument " "4"" of type '" "PLBOOL""'");
13837 }
13838 arg4 = (PLBOOL)(val4);
13839 plsvect((double const *)arg1,(double const *)arg2,arg3,arg4);
13840 resultobj = SWIG_Py_Void();
13841 {
13842 Py_CLEAR( tmp1 );
13843 }
13844 {
13845 Py_CLEAR( tmp2 );
13846 }
13847 return resultobj;
13848fail:
13849 {
13850 Py_CLEAR( tmp1 );
13851 }
13852 {
13853 Py_CLEAR( tmp2 );
13854 }
13855 return NULL;
13856}
13857
13858
13859SWIGINTERN PyObject *_wrap_plsvpa(PyObject *self, PyObject *args) {
13860 PyObject *resultobj = 0;
13861 PLFLT arg1 ;
13862 PLFLT arg2 ;
13863 PLFLT arg3 ;
13864 PLFLT arg4 ;
13865 double val1 ;
13866 int ecode1 = 0 ;
13867 double val2 ;
13868 int ecode2 = 0 ;
13869 double val3 ;
13870 int ecode3 = 0 ;
13871 double val4 ;
13872 int ecode4 = 0 ;
13873 PyObject *swig_obj[4] ;
13874
13875 (void)self;
13876 if (!SWIG_Python_UnpackTuple(args, "plsvpa", 4, 4, swig_obj)) SWIG_fail;
13877 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
13878 if (!SWIG_IsOK(ecode1)) {
13879 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsvpa" "', argument " "1"" of type '" "PLFLT""'");
13880 }
13881 arg1 = (PLFLT)(val1);
13882 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
13883 if (!SWIG_IsOK(ecode2)) {
13884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsvpa" "', argument " "2"" of type '" "PLFLT""'");
13885 }
13886 arg2 = (PLFLT)(val2);
13887 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
13888 if (!SWIG_IsOK(ecode3)) {
13889 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsvpa" "', argument " "3"" of type '" "PLFLT""'");
13890 }
13891 arg3 = (PLFLT)(val3);
13892 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
13893 if (!SWIG_IsOK(ecode4)) {
13894 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsvpa" "', argument " "4"" of type '" "PLFLT""'");
13895 }
13896 arg4 = (PLFLT)(val4);
13897 plsvpa(arg1,arg2,arg3,arg4);
13898 resultobj = SWIG_Py_Void();
13899 return resultobj;
13900fail:
13901 return NULL;
13902}
13903
13904
13905SWIGINTERN PyObject *_wrap_plsxax(PyObject *self, PyObject *args) {
13906 PyObject *resultobj = 0;
13907 PLINT arg1 ;
13908 PLINT arg2 ;
13909 int val1 ;
13910 int ecode1 = 0 ;
13911 int val2 ;
13912 int ecode2 = 0 ;
13913 PyObject *swig_obj[2] ;
13914
13915 (void)self;
13916 if (!SWIG_Python_UnpackTuple(args, "plsxax", 2, 2, swig_obj)) SWIG_fail;
13917 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13918 if (!SWIG_IsOK(ecode1)) {
13919 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsxax" "', argument " "1"" of type '" "PLINT""'");
13920 }
13921 arg1 = (PLINT)(val1);
13922 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13923 if (!SWIG_IsOK(ecode2)) {
13924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsxax" "', argument " "2"" of type '" "PLINT""'");
13925 }
13926 arg2 = (PLINT)(val2);
13927 plsxax(arg1,arg2);
13928 resultobj = SWIG_Py_Void();
13929 return resultobj;
13930fail:
13931 return NULL;
13932}
13933
13934
13935SWIGINTERN PyObject *_wrap_plsyax(PyObject *self, PyObject *args) {
13936 PyObject *resultobj = 0;
13937 PLINT arg1 ;
13938 PLINT arg2 ;
13939 int val1 ;
13940 int ecode1 = 0 ;
13941 int val2 ;
13942 int ecode2 = 0 ;
13943 PyObject *swig_obj[2] ;
13944
13945 (void)self;
13946 if (!SWIG_Python_UnpackTuple(args, "plsyax", 2, 2, swig_obj)) SWIG_fail;
13947 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13948 if (!SWIG_IsOK(ecode1)) {
13949 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsyax" "', argument " "1"" of type '" "PLINT""'");
13950 }
13951 arg1 = (PLINT)(val1);
13952 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13953 if (!SWIG_IsOK(ecode2)) {
13954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsyax" "', argument " "2"" of type '" "PLINT""'");
13955 }
13956 arg2 = (PLINT)(val2);
13957 plsyax(arg1,arg2);
13958 resultobj = SWIG_Py_Void();
13959 return resultobj;
13960fail:
13961 return NULL;
13962}
13963
13964
13965SWIGINTERN PyObject *_wrap_plsym(PyObject *self, PyObject *args) {
13966 PyObject *resultobj = 0;
13967 PLINT arg1 ;
13968 PLFLT *arg2 = 0 ;
13969 PLFLT *arg3 = 0 ;
13970 PLINT arg4 ;
13971 PyArrayObject *tmp1 = NULL ;
13972 PyArrayObject *tmp3 = NULL ;
13973 int val4 ;
13974 int ecode4 = 0 ;
13975 PyObject *swig_obj[3] ;
13976
13977 (void)self;
13978 if (!SWIG_Python_UnpackTuple(args, "plsym", 3, 3, swig_obj)) SWIG_fail;
13979 {
13980 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
13981 if ( tmp1 == NULL )
13982 return NULL;
13983 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13984 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
13985 }
13986 {
13987 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
13988 if ( tmp3 == NULL )
13989 return NULL;
13990 if ( PyArray_DIMS( tmp3 )[0] != Alen )
13991 {
13992 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13993 return NULL;
13994 }
13995 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
13996 }
13997 ecode4 = SWIG_AsVal_int(swig_obj[2], &val4);
13998 if (!SWIG_IsOK(ecode4)) {
13999 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsym" "', argument " "4"" of type '" "PLINT""'");
14000 }
14001 arg4 = (PLINT)(val4);
14002 plsym(arg1,(double const *)arg2,(double const *)arg3,arg4);
14003 resultobj = SWIG_Py_Void();
14004 {
14005 Py_CLEAR( tmp1 );
14006 }
14007 {
14008 Py_CLEAR( tmp3 );
14009 }
14010 return resultobj;
14011fail:
14012 {
14013 Py_CLEAR( tmp1 );
14014 }
14015 {
14016 Py_CLEAR( tmp3 );
14017 }
14018 return NULL;
14019}
14020
14021
14022SWIGINTERN PyObject *_wrap_plszax(PyObject *self, PyObject *args) {
14023 PyObject *resultobj = 0;
14024 PLINT arg1 ;
14025 PLINT arg2 ;
14026 int val1 ;
14027 int ecode1 = 0 ;
14028 int val2 ;
14029 int ecode2 = 0 ;
14030 PyObject *swig_obj[2] ;
14031
14032 (void)self;
14033 if (!SWIG_Python_UnpackTuple(args, "plszax", 2, 2, swig_obj)) SWIG_fail;
14034 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
14035 if (!SWIG_IsOK(ecode1)) {
14036 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plszax" "', argument " "1"" of type '" "PLINT""'");
14037 }
14038 arg1 = (PLINT)(val1);
14039 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
14040 if (!SWIG_IsOK(ecode2)) {
14041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plszax" "', argument " "2"" of type '" "PLINT""'");
14042 }
14043 arg2 = (PLINT)(val2);
14044 plszax(arg1,arg2);
14045 resultobj = SWIG_Py_Void();
14046 return resultobj;
14047fail:
14048 return NULL;
14049}
14050
14051
14052SWIGINTERN PyObject *_wrap_pltext(PyObject *self, PyObject *args) {
14053 PyObject *resultobj = 0;
14054
14055 (void)self;
14056 if (!SWIG_Python_UnpackTuple(args, "pltext", 0, 0, 0)) SWIG_fail;
14057 pltext();
14058 resultobj = SWIG_Py_Void();
14059 return resultobj;
14060fail:
14061 return NULL;
14062}
14063
14064
14065SWIGINTERN PyObject *_wrap_pltimefmt(PyObject *self, PyObject *args) {
14066 PyObject *resultobj = 0;
14067 char *arg1 = 0 ;
14068 int res1 ;
14069 char *buf1 = 0 ;
14070 int alloc1 = 0 ;
14071 PyObject *swig_obj[1] ;
14072
14073 (void)self;
14074 if (!args) SWIG_fail;
14075 swig_obj[0] = args;
14076 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
14077 if (!SWIG_IsOK(res1)) {
14078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pltimefmt" "', argument " "1"" of type '" "char const *""'");
14079 }
14080 arg1 = (char *)(buf1);
14081 pltimefmt((char const *)arg1);
14082 resultobj = SWIG_Py_Void();
14083 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14084 return resultobj;
14085fail:
14086 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
14087 return NULL;
14088}
14089
14090
14091SWIGINTERN PyObject *_wrap_plvasp(PyObject *self, PyObject *args) {
14092 PyObject *resultobj = 0;
14093 PLFLT arg1 ;
14094 double val1 ;
14095 int ecode1 = 0 ;
14096 PyObject *swig_obj[1] ;
14097
14098 (void)self;
14099 if (!args) SWIG_fail;
14100 swig_obj[0] = args;
14101 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
14102 if (!SWIG_IsOK(ecode1)) {
14103 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plvasp" "', argument " "1"" of type '" "PLFLT""'");
14104 }
14105 arg1 = (PLFLT)(val1);
14106 plvasp(arg1);
14107 resultobj = SWIG_Py_Void();
14108 return resultobj;
14109fail:
14110 return NULL;
14111}
14112
14113
14114SWIGINTERN PyObject *_wrap_plvect(PyObject *self, PyObject *args) {
14115 PyObject *resultobj = 0;
14116 PLFLT **arg1 = 0 ;
14117 PLFLT **arg2 = 0 ;
14118 PLINT arg3 ;
14119 PLINT arg4 ;
14120 PLFLT arg5 ;
14121 pltr_func arg6 = 0 ;
14122 PLPointer arg7 = 0 ;
14123 PyArrayObject *tmp1 = NULL ;
14124 PyArrayObject *tmp2 = NULL ;
14125 double val5 ;
14126 int ecode5 = 0 ;
14127 PyObject *swig_obj[5] ;
14128
14129 {
14130 python_pltr = 0;
14131 arg6 = NULL;
14132 }
14133 {
14134 arg7 = NULL;
14135 }
14136 (void)self;
14137 if (!SWIG_Python_UnpackTuple(args, "plvect", 3, 5, swig_obj)) SWIG_fail;
14138 {
14139 int i, size;
14140 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
14141 if ( tmp1 == NULL )
14142 return NULL;
14143 Xlen = PyArray_DIMS( tmp1 )[0];
14144 Ylen = PyArray_DIMS( tmp1 )[1];
14145 size = Ylen;
14146 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) Xlen );
14147 for ( i = 0; i < Xlen; i++ )
14148 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
14149 }
14150 {
14151 int i, size;
14152 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 2, 2 );
14153 if ( tmp2 == NULL )
14154 return NULL;
14155 if ( Xlen != PyArray_DIMS( tmp2 )[0] || Ylen != PyArray_DIMS( tmp2 )[1] )
14156 {
14157 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
14158 return NULL;
14159 }
14160 arg3 = PyArray_DIMS( tmp2 )[0];
14161 arg4 = PyArray_DIMS( tmp2 )[1];
14162 size = arg4;
14163 arg2 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg3 );
14164 for ( i = 0; i < arg3; i++ )
14165 arg2[i] = ( (PLFLT *) PyArray_DATA( tmp2 ) + i * size );
14166 }
14167 ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
14168 if (!SWIG_IsOK(ecode5)) {
14169 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plvect" "', argument " "5"" of type '" "PLFLT""'");
14170 }
14171 arg5 = (PLFLT)(val5);
14172 if (swig_obj[3]) {
14173 {
14174 // it must be a callable or None
14175 if ( swig_obj[3] == Py_None )
14176 {
14177 arg6 = NULL;
14178 }
14179 else
14180 {
14181 if ( !PyCallable_Check( (PyObject *) swig_obj[3] ) )
14182 {
14183 PyErr_SetString( PyExc_ValueError, "pltr argument must be callable" );
14184 return NULL;
14185 }
14186 arg6 = marshal_pltr( swig_obj[3] );
14187 }
14188 }
14189 }
14190 if (swig_obj[4]) {
14191 {
14192 if ( swig_obj[4] == Py_None )
14193 arg7 = NULL;
14194 else
14195 {
14196 arg7 = marshal_PLPointer( swig_obj[4], 0 );
14197 }
14198 }
14199 }
14200 plvect((double const **)arg1,(double const **)arg2,arg3,arg4,arg5,arg6,arg7);
14201 resultobj = SWIG_Py_Void();
14202 {
14203 Py_CLEAR( tmp1 );
14204 free( arg1 );
14205 }
14206 {
14207 Py_CLEAR( tmp2 );
14208 free( arg2 );
14209 }
14210 {
14211 cleanup_pltr();
14212 }
14213 {
14215 }
14216 return resultobj;
14217fail:
14218 {
14219 Py_CLEAR( tmp1 );
14220 free( arg1 );
14221 }
14222 {
14223 Py_CLEAR( tmp2 );
14224 free( arg2 );
14225 }
14226 {
14227 cleanup_pltr();
14228 }
14229 {
14231 }
14232 return NULL;
14233}
14234
14235
14236SWIGINTERN PyObject *_wrap_plvpas(PyObject *self, PyObject *args) {
14237 PyObject *resultobj = 0;
14238 PLFLT arg1 ;
14239 PLFLT arg2 ;
14240 PLFLT arg3 ;
14241 PLFLT arg4 ;
14242 PLFLT arg5 ;
14243 double val1 ;
14244 int ecode1 = 0 ;
14245 double val2 ;
14246 int ecode2 = 0 ;
14247 double val3 ;
14248 int ecode3 = 0 ;
14249 double val4 ;
14250 int ecode4 = 0 ;
14251 double val5 ;
14252 int ecode5 = 0 ;
14253 PyObject *swig_obj[5] ;
14254
14255 (void)self;
14256 if (!SWIG_Python_UnpackTuple(args, "plvpas", 5, 5, swig_obj)) SWIG_fail;
14257 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
14258 if (!SWIG_IsOK(ecode1)) {
14259 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plvpas" "', argument " "1"" of type '" "PLFLT""'");
14260 }
14261 arg1 = (PLFLT)(val1);
14262 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
14263 if (!SWIG_IsOK(ecode2)) {
14264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plvpas" "', argument " "2"" of type '" "PLFLT""'");
14265 }
14266 arg2 = (PLFLT)(val2);
14267 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14268 if (!SWIG_IsOK(ecode3)) {
14269 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plvpas" "', argument " "3"" of type '" "PLFLT""'");
14270 }
14271 arg3 = (PLFLT)(val3);
14272 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14273 if (!SWIG_IsOK(ecode4)) {
14274 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plvpas" "', argument " "4"" of type '" "PLFLT""'");
14275 }
14276 arg4 = (PLFLT)(val4);
14277 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14278 if (!SWIG_IsOK(ecode5)) {
14279 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plvpas" "', argument " "5"" of type '" "PLFLT""'");
14280 }
14281 arg5 = (PLFLT)(val5);
14282 plvpas(arg1,arg2,arg3,arg4,arg5);
14283 resultobj = SWIG_Py_Void();
14284 return resultobj;
14285fail:
14286 return NULL;
14287}
14288
14289
14290SWIGINTERN PyObject *_wrap_plvpor(PyObject *self, PyObject *args) {
14291 PyObject *resultobj = 0;
14292 PLFLT arg1 ;
14293 PLFLT arg2 ;
14294 PLFLT arg3 ;
14295 PLFLT arg4 ;
14296 double val1 ;
14297 int ecode1 = 0 ;
14298 double val2 ;
14299 int ecode2 = 0 ;
14300 double val3 ;
14301 int ecode3 = 0 ;
14302 double val4 ;
14303 int ecode4 = 0 ;
14304 PyObject *swig_obj[4] ;
14305
14306 (void)self;
14307 if (!SWIG_Python_UnpackTuple(args, "plvpor", 4, 4, swig_obj)) SWIG_fail;
14308 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
14309 if (!SWIG_IsOK(ecode1)) {
14310 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plvpor" "', argument " "1"" of type '" "PLFLT""'");
14311 }
14312 arg1 = (PLFLT)(val1);
14313 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
14314 if (!SWIG_IsOK(ecode2)) {
14315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plvpor" "', argument " "2"" of type '" "PLFLT""'");
14316 }
14317 arg2 = (PLFLT)(val2);
14318 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14319 if (!SWIG_IsOK(ecode3)) {
14320 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plvpor" "', argument " "3"" of type '" "PLFLT""'");
14321 }
14322 arg3 = (PLFLT)(val3);
14323 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14324 if (!SWIG_IsOK(ecode4)) {
14325 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plvpor" "', argument " "4"" of type '" "PLFLT""'");
14326 }
14327 arg4 = (PLFLT)(val4);
14328 plvpor(arg1,arg2,arg3,arg4);
14329 resultobj = SWIG_Py_Void();
14330 return resultobj;
14331fail:
14332 return NULL;
14333}
14334
14335
14336SWIGINTERN PyObject *_wrap_plvsta(PyObject *self, PyObject *args) {
14337 PyObject *resultobj = 0;
14338
14339 (void)self;
14340 if (!SWIG_Python_UnpackTuple(args, "plvsta", 0, 0, 0)) SWIG_fail;
14341 plvsta();
14342 resultobj = SWIG_Py_Void();
14343 return resultobj;
14344fail:
14345 return NULL;
14346}
14347
14348
14349SWIGINTERN PyObject *_wrap_plw3d(PyObject *self, PyObject *args) {
14350 PyObject *resultobj = 0;
14351 PLFLT arg1 ;
14352 PLFLT arg2 ;
14353 PLFLT arg3 ;
14354 PLFLT arg4 ;
14355 PLFLT arg5 ;
14356 PLFLT arg6 ;
14357 PLFLT arg7 ;
14358 PLFLT arg8 ;
14359 PLFLT arg9 ;
14360 PLFLT arg10 ;
14361 PLFLT arg11 ;
14362 double val1 ;
14363 int ecode1 = 0 ;
14364 double val2 ;
14365 int ecode2 = 0 ;
14366 double val3 ;
14367 int ecode3 = 0 ;
14368 double val4 ;
14369 int ecode4 = 0 ;
14370 double val5 ;
14371 int ecode5 = 0 ;
14372 double val6 ;
14373 int ecode6 = 0 ;
14374 double val7 ;
14375 int ecode7 = 0 ;
14376 double val8 ;
14377 int ecode8 = 0 ;
14378 double val9 ;
14379 int ecode9 = 0 ;
14380 double val10 ;
14381 int ecode10 = 0 ;
14382 double val11 ;
14383 int ecode11 = 0 ;
14384 PyObject *swig_obj[11] ;
14385
14386 (void)self;
14387 if (!SWIG_Python_UnpackTuple(args, "plw3d", 11, 11, swig_obj)) SWIG_fail;
14388 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
14389 if (!SWIG_IsOK(ecode1)) {
14390 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plw3d" "', argument " "1"" of type '" "PLFLT""'");
14391 }
14392 arg1 = (PLFLT)(val1);
14393 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
14394 if (!SWIG_IsOK(ecode2)) {
14395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plw3d" "', argument " "2"" of type '" "PLFLT""'");
14396 }
14397 arg2 = (PLFLT)(val2);
14398 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14399 if (!SWIG_IsOK(ecode3)) {
14400 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plw3d" "', argument " "3"" of type '" "PLFLT""'");
14401 }
14402 arg3 = (PLFLT)(val3);
14403 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14404 if (!SWIG_IsOK(ecode4)) {
14405 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plw3d" "', argument " "4"" of type '" "PLFLT""'");
14406 }
14407 arg4 = (PLFLT)(val4);
14408 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14409 if (!SWIG_IsOK(ecode5)) {
14410 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plw3d" "', argument " "5"" of type '" "PLFLT""'");
14411 }
14412 arg5 = (PLFLT)(val5);
14413 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14414 if (!SWIG_IsOK(ecode6)) {
14415 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plw3d" "', argument " "6"" of type '" "PLFLT""'");
14416 }
14417 arg6 = (PLFLT)(val6);
14418 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
14419 if (!SWIG_IsOK(ecode7)) {
14420 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plw3d" "', argument " "7"" of type '" "PLFLT""'");
14421 }
14422 arg7 = (PLFLT)(val7);
14423 ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
14424 if (!SWIG_IsOK(ecode8)) {
14425 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plw3d" "', argument " "8"" of type '" "PLFLT""'");
14426 }
14427 arg8 = (PLFLT)(val8);
14428 ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
14429 if (!SWIG_IsOK(ecode9)) {
14430 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plw3d" "', argument " "9"" of type '" "PLFLT""'");
14431 }
14432 arg9 = (PLFLT)(val9);
14433 ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
14434 if (!SWIG_IsOK(ecode10)) {
14435 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plw3d" "', argument " "10"" of type '" "PLFLT""'");
14436 }
14437 arg10 = (PLFLT)(val10);
14438 ecode11 = SWIG_AsVal_double(swig_obj[10], &val11);
14439 if (!SWIG_IsOK(ecode11)) {
14440 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plw3d" "', argument " "11"" of type '" "PLFLT""'");
14441 }
14442 arg11 = (PLFLT)(val11);
14443 plw3d(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
14444 resultobj = SWIG_Py_Void();
14445 return resultobj;
14446fail:
14447 return NULL;
14448}
14449
14450
14451SWIGINTERN PyObject *_wrap_plwidth(PyObject *self, PyObject *args) {
14452 PyObject *resultobj = 0;
14453 PLFLT arg1 ;
14454 double val1 ;
14455 int ecode1 = 0 ;
14456 PyObject *swig_obj[1] ;
14457
14458 (void)self;
14459 if (!args) SWIG_fail;
14460 swig_obj[0] = args;
14461 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
14462 if (!SWIG_IsOK(ecode1)) {
14463 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plwidth" "', argument " "1"" of type '" "PLFLT""'");
14464 }
14465 arg1 = (PLFLT)(val1);
14466 plwidth(arg1);
14467 resultobj = SWIG_Py_Void();
14468 return resultobj;
14469fail:
14470 return NULL;
14471}
14472
14473
14474SWIGINTERN PyObject *_wrap_plwind(PyObject *self, PyObject *args) {
14475 PyObject *resultobj = 0;
14476 PLFLT arg1 ;
14477 PLFLT arg2 ;
14478 PLFLT arg3 ;
14479 PLFLT arg4 ;
14480 double val1 ;
14481 int ecode1 = 0 ;
14482 double val2 ;
14483 int ecode2 = 0 ;
14484 double val3 ;
14485 int ecode3 = 0 ;
14486 double val4 ;
14487 int ecode4 = 0 ;
14488 PyObject *swig_obj[4] ;
14489
14490 (void)self;
14491 if (!SWIG_Python_UnpackTuple(args, "plwind", 4, 4, swig_obj)) SWIG_fail;
14492 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
14493 if (!SWIG_IsOK(ecode1)) {
14494 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plwind" "', argument " "1"" of type '" "PLFLT""'");
14495 }
14496 arg1 = (PLFLT)(val1);
14497 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
14498 if (!SWIG_IsOK(ecode2)) {
14499 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plwind" "', argument " "2"" of type '" "PLFLT""'");
14500 }
14501 arg2 = (PLFLT)(val2);
14502 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14503 if (!SWIG_IsOK(ecode3)) {
14504 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plwind" "', argument " "3"" of type '" "PLFLT""'");
14505 }
14506 arg3 = (PLFLT)(val3);
14507 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14508 if (!SWIG_IsOK(ecode4)) {
14509 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plwind" "', argument " "4"" of type '" "PLFLT""'");
14510 }
14511 arg4 = (PLFLT)(val4);
14512 plwind(arg1,arg2,arg3,arg4);
14513 resultobj = SWIG_Py_Void();
14514 return resultobj;
14515fail:
14516 return NULL;
14517}
14518
14519
14520SWIGINTERN PyObject *_wrap_plxormod(PyObject *self, PyObject *args) {
14521 PyObject *resultobj = 0;
14522 PLBOOL arg1 ;
14523 PLBOOL *arg2 = 0 ;
14524 int val1 ;
14525 int ecode1 = 0 ;
14526 PLBOOL temp2 ;
14527 int res2 = SWIG_TMPOBJ ;
14528 PyObject *swig_obj[1] ;
14529
14530 arg2 = &temp2;
14531 (void)self;
14532 if (!args) SWIG_fail;
14533 swig_obj[0] = args;
14534 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
14535 if (!SWIG_IsOK(ecode1)) {
14536 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plxormod" "', argument " "1"" of type '" "PLBOOL""'");
14537 }
14538 arg1 = (PLBOOL)(val1);
14539 plxormod(arg1,arg2);
14540 resultobj = SWIG_Py_Void();
14541 if (SWIG_IsTmpObj(res2)) {
14542 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
14543 } else {
14544 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
14545 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
14546 }
14547 return resultobj;
14548fail:
14549 return NULL;
14550}
14551
14552
14553SWIGINTERN PyObject *_wrap_plmap(PyObject *self, PyObject *args) {
14554 PyObject *resultobj = 0;
14555 mapform_func arg1 = 0 ;
14556 char *arg2 = 0 ;
14557 PLFLT arg3 ;
14558 PLFLT arg4 ;
14559 PLFLT arg5 ;
14560 PLFLT arg6 ;
14561 int res2 ;
14562 char *buf2 = 0 ;
14563 int alloc2 = 0 ;
14564 double val3 ;
14565 int ecode3 = 0 ;
14566 double val4 ;
14567 int ecode4 = 0 ;
14568 double val5 ;
14569 int ecode5 = 0 ;
14570 double val6 ;
14571 int ecode6 = 0 ;
14572 PyObject *swig_obj[6] ;
14573
14574 (void)self;
14575 if (!SWIG_Python_UnpackTuple(args, "plmap", 6, 6, swig_obj)) SWIG_fail;
14576 {
14577 // it must be a callable or none
14578 if ( swig_obj[0] == Py_None )
14579 {
14580 arg1 = NULL;
14581 }
14582 else
14583 {
14584 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14585 {
14586 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14587 return NULL;
14588 }
14589 arg1 = marshal_mapform( swig_obj[0] );
14590 }
14591 }
14592 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
14593 if (!SWIG_IsOK(res2)) {
14594 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmap" "', argument " "2"" of type '" "char const *""'");
14595 }
14596 arg2 = (char *)(buf2);
14597 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14598 if (!SWIG_IsOK(ecode3)) {
14599 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmap" "', argument " "3"" of type '" "PLFLT""'");
14600 }
14601 arg3 = (PLFLT)(val3);
14602 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14603 if (!SWIG_IsOK(ecode4)) {
14604 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmap" "', argument " "4"" of type '" "PLFLT""'");
14605 }
14606 arg4 = (PLFLT)(val4);
14607 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14608 if (!SWIG_IsOK(ecode5)) {
14609 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmap" "', argument " "5"" of type '" "PLFLT""'");
14610 }
14611 arg5 = (PLFLT)(val5);
14612 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14613 if (!SWIG_IsOK(ecode6)) {
14614 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmap" "', argument " "6"" of type '" "PLFLT""'");
14615 }
14616 arg6 = (PLFLT)(val6);
14617 plmap(arg1,(char const *)arg2,arg3,arg4,arg5,arg6);
14618 resultobj = SWIG_Py_Void();
14619 {
14621 }
14622 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14623 return resultobj;
14624fail:
14625 {
14627 }
14628 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14629 return NULL;
14630}
14631
14632
14633SWIGINTERN PyObject *_wrap_plmapline(PyObject *self, PyObject *args) {
14634 PyObject *resultobj = 0;
14635 mapform_func arg1 = 0 ;
14636 char *arg2 = 0 ;
14637 PLFLT arg3 ;
14638 PLFLT arg4 ;
14639 PLFLT arg5 ;
14640 PLFLT arg6 ;
14641 PLINT *arg7 = 0 ;
14642 PLINT arg8 ;
14643 int res2 ;
14644 char *buf2 = 0 ;
14645 int alloc2 = 0 ;
14646 double val3 ;
14647 int ecode3 = 0 ;
14648 double val4 ;
14649 int ecode4 = 0 ;
14650 double val5 ;
14651 int ecode5 = 0 ;
14652 double val6 ;
14653 int ecode6 = 0 ;
14654 PyArrayObject *tmp7 = NULL ;
14655 PyObject *swig_obj[7] ;
14656
14657 (void)self;
14658 if (!SWIG_Python_UnpackTuple(args, "plmapline", 7, 7, swig_obj)) SWIG_fail;
14659 {
14660 // it must be a callable or none
14661 if ( swig_obj[0] == Py_None )
14662 {
14663 arg1 = NULL;
14664 }
14665 else
14666 {
14667 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14668 {
14669 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14670 return NULL;
14671 }
14672 arg1 = marshal_mapform( swig_obj[0] );
14673 }
14674 }
14675 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
14676 if (!SWIG_IsOK(res2)) {
14677 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmapline" "', argument " "2"" of type '" "char const *""'");
14678 }
14679 arg2 = (char *)(buf2);
14680 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14681 if (!SWIG_IsOK(ecode3)) {
14682 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmapline" "', argument " "3"" of type '" "PLFLT""'");
14683 }
14684 arg3 = (PLFLT)(val3);
14685 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14686 if (!SWIG_IsOK(ecode4)) {
14687 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmapline" "', argument " "4"" of type '" "PLFLT""'");
14688 }
14689 arg4 = (PLFLT)(val4);
14690 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14691 if (!SWIG_IsOK(ecode5)) {
14692 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmapline" "', argument " "5"" of type '" "PLFLT""'");
14693 }
14694 arg5 = (PLFLT)(val5);
14695 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14696 if (!SWIG_IsOK(ecode6)) {
14697 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmapline" "', argument " "6"" of type '" "PLFLT""'");
14698 }
14699 arg6 = (PLFLT)(val6);
14700 {
14701 if ( swig_obj[6] != Py_None )
14702 {
14703 tmp7 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[6], NPY_PLINT, 1, 1 );
14704 if ( tmp7 == NULL )
14705 return NULL;
14706 arg7 = (PLINT *) PyArray_DATA( tmp7 );
14707 arg8 = PyArray_DIMS( tmp7 )[0];
14708 }
14709 else
14710 {
14711 arg7 = NULL;
14712 arg8 = 0;
14713 }
14714 }
14715 plmapline(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,(int const *)arg7,arg8);
14716 resultobj = SWIG_Py_Void();
14717 {
14719 }
14720 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14721 {
14722 Py_CLEAR( tmp7 );
14723 }
14724 return resultobj;
14725fail:
14726 {
14728 }
14729 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14730 {
14731 Py_CLEAR( tmp7 );
14732 }
14733 return NULL;
14734}
14735
14736
14737SWIGINTERN PyObject *_wrap_plmapstring(PyObject *self, PyObject *args) {
14738 PyObject *resultobj = 0;
14739 mapform_func arg1 = 0 ;
14740 char *arg2 = 0 ;
14741 char *arg3 = 0 ;
14742 PLFLT arg4 ;
14743 PLFLT arg5 ;
14744 PLFLT arg6 ;
14745 PLFLT arg7 ;
14746 PLINT *arg8 = 0 ;
14747 PLINT arg9 ;
14748 int res2 ;
14749 char *buf2 = 0 ;
14750 int alloc2 = 0 ;
14751 int res3 ;
14752 char *buf3 = 0 ;
14753 int alloc3 = 0 ;
14754 double val4 ;
14755 int ecode4 = 0 ;
14756 double val5 ;
14757 int ecode5 = 0 ;
14758 double val6 ;
14759 int ecode6 = 0 ;
14760 double val7 ;
14761 int ecode7 = 0 ;
14762 PyArrayObject *tmp8 = NULL ;
14763 PyObject *swig_obj[8] ;
14764
14765 (void)self;
14766 if (!SWIG_Python_UnpackTuple(args, "plmapstring", 8, 8, swig_obj)) SWIG_fail;
14767 {
14768 // it must be a callable or none
14769 if ( swig_obj[0] == Py_None )
14770 {
14771 arg1 = NULL;
14772 }
14773 else
14774 {
14775 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14776 {
14777 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14778 return NULL;
14779 }
14780 arg1 = marshal_mapform( swig_obj[0] );
14781 }
14782 }
14783 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
14784 if (!SWIG_IsOK(res2)) {
14785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmapstring" "', argument " "2"" of type '" "char const *""'");
14786 }
14787 arg2 = (char *)(buf2);
14788 res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
14789 if (!SWIG_IsOK(res3)) {
14790 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "plmapstring" "', argument " "3"" of type '" "char const *""'");
14791 }
14792 arg3 = (char *)(buf3);
14793 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14794 if (!SWIG_IsOK(ecode4)) {
14795 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmapstring" "', argument " "4"" of type '" "PLFLT""'");
14796 }
14797 arg4 = (PLFLT)(val4);
14798 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14799 if (!SWIG_IsOK(ecode5)) {
14800 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmapstring" "', argument " "5"" of type '" "PLFLT""'");
14801 }
14802 arg5 = (PLFLT)(val5);
14803 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14804 if (!SWIG_IsOK(ecode6)) {
14805 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmapstring" "', argument " "6"" of type '" "PLFLT""'");
14806 }
14807 arg6 = (PLFLT)(val6);
14808 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
14809 if (!SWIG_IsOK(ecode7)) {
14810 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plmapstring" "', argument " "7"" of type '" "PLFLT""'");
14811 }
14812 arg7 = (PLFLT)(val7);
14813 {
14814 if ( swig_obj[7] != Py_None )
14815 {
14816 tmp8 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[7], NPY_PLINT, 1, 1 );
14817 if ( tmp8 == NULL )
14818 return NULL;
14819 arg8 = (PLINT *) PyArray_DATA( tmp8 );
14820 arg9 = PyArray_DIMS( tmp8 )[0];
14821 }
14822 else
14823 {
14824 arg8 = NULL;
14825 arg9 = 0;
14826 }
14827 }
14828 plmapstring(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,(int const *)arg8,arg9);
14829 resultobj = SWIG_Py_Void();
14830 {
14832 }
14833 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14834 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14835 {
14836 Py_CLEAR( tmp8 );
14837 }
14838 return resultobj;
14839fail:
14840 {
14842 }
14843 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14844 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14845 {
14846 Py_CLEAR( tmp8 );
14847 }
14848 return NULL;
14849}
14850
14851
14852SWIGINTERN PyObject *_wrap_plmaptex(PyObject *self, PyObject *args) {
14853 PyObject *resultobj = 0;
14854 mapform_func arg1 = 0 ;
14855 char *arg2 = 0 ;
14856 PLFLT arg3 ;
14857 PLFLT arg4 ;
14858 PLFLT arg5 ;
14859 char *arg6 = 0 ;
14860 PLFLT arg7 ;
14861 PLFLT arg8 ;
14862 PLFLT arg9 ;
14863 PLFLT arg10 ;
14864 PLINT arg11 ;
14865 int res2 ;
14866 char *buf2 = 0 ;
14867 int alloc2 = 0 ;
14868 double val3 ;
14869 int ecode3 = 0 ;
14870 double val4 ;
14871 int ecode4 = 0 ;
14872 double val5 ;
14873 int ecode5 = 0 ;
14874 int res6 ;
14875 char *buf6 = 0 ;
14876 int alloc6 = 0 ;
14877 double val7 ;
14878 int ecode7 = 0 ;
14879 double val8 ;
14880 int ecode8 = 0 ;
14881 double val9 ;
14882 int ecode9 = 0 ;
14883 double val10 ;
14884 int ecode10 = 0 ;
14885 int val11 ;
14886 int ecode11 = 0 ;
14887 PyObject *swig_obj[11] ;
14888
14889 (void)self;
14890 if (!SWIG_Python_UnpackTuple(args, "plmaptex", 11, 11, swig_obj)) SWIG_fail;
14891 {
14892 // it must be a callable or none
14893 if ( swig_obj[0] == Py_None )
14894 {
14895 arg1 = NULL;
14896 }
14897 else
14898 {
14899 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14900 {
14901 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14902 return NULL;
14903 }
14904 arg1 = marshal_mapform( swig_obj[0] );
14905 }
14906 }
14907 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
14908 if (!SWIG_IsOK(res2)) {
14909 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmaptex" "', argument " "2"" of type '" "char const *""'");
14910 }
14911 arg2 = (char *)(buf2);
14912 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14913 if (!SWIG_IsOK(ecode3)) {
14914 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmaptex" "', argument " "3"" of type '" "PLFLT""'");
14915 }
14916 arg3 = (PLFLT)(val3);
14917 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14918 if (!SWIG_IsOK(ecode4)) {
14919 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmaptex" "', argument " "4"" of type '" "PLFLT""'");
14920 }
14921 arg4 = (PLFLT)(val4);
14922 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14923 if (!SWIG_IsOK(ecode5)) {
14924 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmaptex" "', argument " "5"" of type '" "PLFLT""'");
14925 }
14926 arg5 = (PLFLT)(val5);
14927 res6 = SWIG_AsCharPtrAndSize(swig_obj[5], &buf6, NULL, &alloc6);
14928 if (!SWIG_IsOK(res6)) {
14929 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plmaptex" "', argument " "6"" of type '" "char const *""'");
14930 }
14931 arg6 = (char *)(buf6);
14932 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
14933 if (!SWIG_IsOK(ecode7)) {
14934 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plmaptex" "', argument " "7"" of type '" "PLFLT""'");
14935 }
14936 arg7 = (PLFLT)(val7);
14937 ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
14938 if (!SWIG_IsOK(ecode8)) {
14939 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plmaptex" "', argument " "8"" of type '" "PLFLT""'");
14940 }
14941 arg8 = (PLFLT)(val8);
14942 ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
14943 if (!SWIG_IsOK(ecode9)) {
14944 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plmaptex" "', argument " "9"" of type '" "PLFLT""'");
14945 }
14946 arg9 = (PLFLT)(val9);
14947 ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
14948 if (!SWIG_IsOK(ecode10)) {
14949 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plmaptex" "', argument " "10"" of type '" "PLFLT""'");
14950 }
14951 arg10 = (PLFLT)(val10);
14952 ecode11 = SWIG_AsVal_int(swig_obj[10], &val11);
14953 if (!SWIG_IsOK(ecode11)) {
14954 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plmaptex" "', argument " "11"" of type '" "PLINT""'");
14955 }
14956 arg11 = (PLINT)(val11);
14957 plmaptex(arg1,(char const *)arg2,arg3,arg4,arg5,(char const *)arg6,arg7,arg8,arg9,arg10,arg11);
14958 resultobj = SWIG_Py_Void();
14959 {
14961 }
14962 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14963 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
14964 return resultobj;
14965fail:
14966 {
14968 }
14969 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14970 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
14971 return NULL;
14972}
14973
14974
14975SWIGINTERN PyObject *_wrap_plmapfill(PyObject *self, PyObject *args) {
14976 PyObject *resultobj = 0;
14977 mapform_func arg1 = 0 ;
14978 char *arg2 = 0 ;
14979 PLFLT arg3 ;
14980 PLFLT arg4 ;
14981 PLFLT arg5 ;
14982 PLFLT arg6 ;
14983 PLINT *arg7 = 0 ;
14984 PLINT arg8 ;
14985 int res2 ;
14986 char *buf2 = 0 ;
14987 int alloc2 = 0 ;
14988 double val3 ;
14989 int ecode3 = 0 ;
14990 double val4 ;
14991 int ecode4 = 0 ;
14992 double val5 ;
14993 int ecode5 = 0 ;
14994 double val6 ;
14995 int ecode6 = 0 ;
14996 PyArrayObject *tmp7 = NULL ;
14997 PyObject *swig_obj[7] ;
14998
14999 (void)self;
15000 if (!SWIG_Python_UnpackTuple(args, "plmapfill", 7, 7, swig_obj)) SWIG_fail;
15001 {
15002 // it must be a callable or none
15003 if ( swig_obj[0] == Py_None )
15004 {
15005 arg1 = NULL;
15006 }
15007 else
15008 {
15009 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
15010 {
15011 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
15012 return NULL;
15013 }
15014 arg1 = marshal_mapform( swig_obj[0] );
15015 }
15016 }
15017 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
15018 if (!SWIG_IsOK(res2)) {
15019 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmapfill" "', argument " "2"" of type '" "char const *""'");
15020 }
15021 arg2 = (char *)(buf2);
15022 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
15023 if (!SWIG_IsOK(ecode3)) {
15024 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmapfill" "', argument " "3"" of type '" "PLFLT""'");
15025 }
15026 arg3 = (PLFLT)(val3);
15027 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
15028 if (!SWIG_IsOK(ecode4)) {
15029 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmapfill" "', argument " "4"" of type '" "PLFLT""'");
15030 }
15031 arg4 = (PLFLT)(val4);
15032 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
15033 if (!SWIG_IsOK(ecode5)) {
15034 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmapfill" "', argument " "5"" of type '" "PLFLT""'");
15035 }
15036 arg5 = (PLFLT)(val5);
15037 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
15038 if (!SWIG_IsOK(ecode6)) {
15039 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmapfill" "', argument " "6"" of type '" "PLFLT""'");
15040 }
15041 arg6 = (PLFLT)(val6);
15042 {
15043 if ( swig_obj[6] != Py_None )
15044 {
15045 tmp7 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[6], NPY_PLINT, 1, 1 );
15046 if ( tmp7 == NULL )
15047 return NULL;
15048 arg7 = (PLINT *) PyArray_DATA( tmp7 );
15049 arg8 = PyArray_DIMS( tmp7 )[0];
15050 }
15051 else
15052 {
15053 arg7 = NULL;
15054 arg8 = 0;
15055 }
15056 }
15057 plmapfill(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,(int const *)arg7,arg8);
15058 resultobj = SWIG_Py_Void();
15059 {
15061 }
15062 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15063 {
15064 Py_CLEAR( tmp7 );
15065 }
15066 return resultobj;
15067fail:
15068 {
15070 }
15071 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15072 {
15073 Py_CLEAR( tmp7 );
15074 }
15075 return NULL;
15076}
15077
15078
15079SWIGINTERN PyObject *_wrap_plmeridians(PyObject *self, PyObject *args) {
15080 PyObject *resultobj = 0;
15081 mapform_func arg1 = 0 ;
15082 PLFLT arg2 ;
15083 PLFLT arg3 ;
15084 PLFLT arg4 ;
15085 PLFLT arg5 ;
15086 PLFLT arg6 ;
15087 PLFLT arg7 ;
15088 double val2 ;
15089 int ecode2 = 0 ;
15090 double val3 ;
15091 int ecode3 = 0 ;
15092 double val4 ;
15093 int ecode4 = 0 ;
15094 double val5 ;
15095 int ecode5 = 0 ;
15096 double val6 ;
15097 int ecode6 = 0 ;
15098 double val7 ;
15099 int ecode7 = 0 ;
15100 PyObject *swig_obj[7] ;
15101
15102 (void)self;
15103 if (!SWIG_Python_UnpackTuple(args, "plmeridians", 7, 7, swig_obj)) SWIG_fail;
15104 {
15105 // it must be a callable or none
15106 if ( swig_obj[0] == Py_None )
15107 {
15108 arg1 = NULL;
15109 }
15110 else
15111 {
15112 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
15113 {
15114 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
15115 return NULL;
15116 }
15117 arg1 = marshal_mapform( swig_obj[0] );
15118 }
15119 }
15120 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
15121 if (!SWIG_IsOK(ecode2)) {
15122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plmeridians" "', argument " "2"" of type '" "PLFLT""'");
15123 }
15124 arg2 = (PLFLT)(val2);
15125 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
15126 if (!SWIG_IsOK(ecode3)) {
15127 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmeridians" "', argument " "3"" of type '" "PLFLT""'");
15128 }
15129 arg3 = (PLFLT)(val3);
15130 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
15131 if (!SWIG_IsOK(ecode4)) {
15132 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmeridians" "', argument " "4"" of type '" "PLFLT""'");
15133 }
15134 arg4 = (PLFLT)(val4);
15135 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
15136 if (!SWIG_IsOK(ecode5)) {
15137 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmeridians" "', argument " "5"" of type '" "PLFLT""'");
15138 }
15139 arg5 = (PLFLT)(val5);
15140 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
15141 if (!SWIG_IsOK(ecode6)) {
15142 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmeridians" "', argument " "6"" of type '" "PLFLT""'");
15143 }
15144 arg6 = (PLFLT)(val6);
15145 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
15146 if (!SWIG_IsOK(ecode7)) {
15147 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plmeridians" "', argument " "7"" of type '" "PLFLT""'");
15148 }
15149 arg7 = (PLFLT)(val7);
15150 plmeridians(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
15151 resultobj = SWIG_Py_Void();
15152 {
15154 }
15155 return resultobj;
15156fail:
15157 {
15159 }
15160 return NULL;
15161}
15162
15163
15164SWIGINTERN PyObject *_wrap_plimage(PyObject *self, PyObject *args) {
15165 PyObject *resultobj = 0;
15166 PLFLT **arg1 = 0 ;
15167 PLINT arg2 ;
15168 PLINT arg3 ;
15169 PLFLT arg4 ;
15170 PLFLT arg5 ;
15171 PLFLT arg6 ;
15172 PLFLT arg7 ;
15173 PLFLT arg8 ;
15174 PLFLT arg9 ;
15175 PLFLT arg10 ;
15176 PLFLT arg11 ;
15177 PLFLT arg12 ;
15178 PLFLT arg13 ;
15179 PyArrayObject *tmp1 = NULL ;
15180 double val4 ;
15181 int ecode4 = 0 ;
15182 double val5 ;
15183 int ecode5 = 0 ;
15184 double val6 ;
15185 int ecode6 = 0 ;
15186 double val7 ;
15187 int ecode7 = 0 ;
15188 double val8 ;
15189 int ecode8 = 0 ;
15190 double val9 ;
15191 int ecode9 = 0 ;
15192 double val10 ;
15193 int ecode10 = 0 ;
15194 double val11 ;
15195 int ecode11 = 0 ;
15196 double val12 ;
15197 int ecode12 = 0 ;
15198 double val13 ;
15199 int ecode13 = 0 ;
15200 PyObject *swig_obj[11] ;
15201
15202 (void)self;
15203 if (!SWIG_Python_UnpackTuple(args, "plimage", 11, 11, swig_obj)) SWIG_fail;
15204 {
15205 int i, size;
15206 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
15207 if ( tmp1 == NULL )
15208 return NULL;
15209 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15210 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15211 size = arg3;
15212 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
15213 for ( i = 0; i < arg2; i++ )
15214 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15215 }
15216 ecode4 = SWIG_AsVal_double(swig_obj[1], &val4);
15217 if (!SWIG_IsOK(ecode4)) {
15218 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plimage" "', argument " "4"" of type '" "PLFLT""'");
15219 }
15220 arg4 = (PLFLT)(val4);
15221 ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
15222 if (!SWIG_IsOK(ecode5)) {
15223 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plimage" "', argument " "5"" of type '" "PLFLT""'");
15224 }
15225 arg5 = (PLFLT)(val5);
15226 ecode6 = SWIG_AsVal_double(swig_obj[3], &val6);
15227 if (!SWIG_IsOK(ecode6)) {
15228 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plimage" "', argument " "6"" of type '" "PLFLT""'");
15229 }
15230 arg6 = (PLFLT)(val6);
15231 ecode7 = SWIG_AsVal_double(swig_obj[4], &val7);
15232 if (!SWIG_IsOK(ecode7)) {
15233 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plimage" "', argument " "7"" of type '" "PLFLT""'");
15234 }
15235 arg7 = (PLFLT)(val7);
15236 ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
15237 if (!SWIG_IsOK(ecode8)) {
15238 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plimage" "', argument " "8"" of type '" "PLFLT""'");
15239 }
15240 arg8 = (PLFLT)(val8);
15241 ecode9 = SWIG_AsVal_double(swig_obj[6], &val9);
15242 if (!SWIG_IsOK(ecode9)) {
15243 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plimage" "', argument " "9"" of type '" "PLFLT""'");
15244 }
15245 arg9 = (PLFLT)(val9);
15246 ecode10 = SWIG_AsVal_double(swig_obj[7], &val10);
15247 if (!SWIG_IsOK(ecode10)) {
15248 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plimage" "', argument " "10"" of type '" "PLFLT""'");
15249 }
15250 arg10 = (PLFLT)(val10);
15251 ecode11 = SWIG_AsVal_double(swig_obj[8], &val11);
15252 if (!SWIG_IsOK(ecode11)) {
15253 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plimage" "', argument " "11"" of type '" "PLFLT""'");
15254 }
15255 arg11 = (PLFLT)(val11);
15256 ecode12 = SWIG_AsVal_double(swig_obj[9], &val12);
15257 if (!SWIG_IsOK(ecode12)) {
15258 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plimage" "', argument " "12"" of type '" "PLFLT""'");
15259 }
15260 arg12 = (PLFLT)(val12);
15261 ecode13 = SWIG_AsVal_double(swig_obj[10], &val13);
15262 if (!SWIG_IsOK(ecode13)) {
15263 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plimage" "', argument " "13"" of type '" "PLFLT""'");
15264 }
15265 arg13 = (PLFLT)(val13);
15266 plimage((double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
15267 resultobj = SWIG_Py_Void();
15268 {
15269 Py_CLEAR( tmp1 );
15270 free( arg1 );
15271 }
15272 return resultobj;
15273fail:
15274 {
15275 Py_CLEAR( tmp1 );
15276 free( arg1 );
15277 }
15278 return NULL;
15279}
15280
15281
15282SWIGINTERN PyObject *_wrap_plimagefr(PyObject *self, PyObject *args) {
15283 PyObject *resultobj = 0;
15284 PLFLT **arg1 = 0 ;
15285 PLINT arg2 ;
15286 PLINT arg3 ;
15287 PLFLT arg4 ;
15288 PLFLT arg5 ;
15289 PLFLT arg6 ;
15290 PLFLT arg7 ;
15291 PLFLT arg8 ;
15292 PLFLT arg9 ;
15293 PLFLT arg10 ;
15294 PLFLT arg11 ;
15295 pltr_func arg12 = 0 ;
15296 PLPointer arg13 = 0 ;
15297 PyArrayObject *tmp1 = NULL ;
15298 double val4 ;
15299 int ecode4 = 0 ;
15300 double val5 ;
15301 int ecode5 = 0 ;
15302 double val6 ;
15303 int ecode6 = 0 ;
15304 double val7 ;
15305 int ecode7 = 0 ;
15306 double val8 ;
15307 int ecode8 = 0 ;
15308 double val9 ;
15309 int ecode9 = 0 ;
15310 double val10 ;
15311 int ecode10 = 0 ;
15312 double val11 ;
15313 int ecode11 = 0 ;
15314 PyObject *swig_obj[11] ;
15315
15316 {
15317 python_pltr = 0;
15318 arg12 = NULL;
15319 }
15320 {
15321 arg13 = NULL;
15322 }
15323 (void)self;
15324 if (!SWIG_Python_UnpackTuple(args, "plimagefr", 9, 11, swig_obj)) SWIG_fail;
15325 {
15326 int i, size;
15327 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
15328 if ( tmp1 == NULL )
15329 return NULL;
15330 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15331 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15332 size = arg3;
15333 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
15334 for ( i = 0; i < arg2; i++ )
15335 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15336 }
15337 ecode4 = SWIG_AsVal_double(swig_obj[1], &val4);
15338 if (!SWIG_IsOK(ecode4)) {
15339 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plimagefr" "', argument " "4"" of type '" "PLFLT""'");
15340 }
15341 arg4 = (PLFLT)(val4);
15342 ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
15343 if (!SWIG_IsOK(ecode5)) {
15344 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plimagefr" "', argument " "5"" of type '" "PLFLT""'");
15345 }
15346 arg5 = (PLFLT)(val5);
15347 ecode6 = SWIG_AsVal_double(swig_obj[3], &val6);
15348 if (!SWIG_IsOK(ecode6)) {
15349 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plimagefr" "', argument " "6"" of type '" "PLFLT""'");
15350 }
15351 arg6 = (PLFLT)(val6);
15352 ecode7 = SWIG_AsVal_double(swig_obj[4], &val7);
15353 if (!SWIG_IsOK(ecode7)) {
15354 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plimagefr" "', argument " "7"" of type '" "PLFLT""'");
15355 }
15356 arg7 = (PLFLT)(val7);
15357 ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
15358 if (!SWIG_IsOK(ecode8)) {
15359 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plimagefr" "', argument " "8"" of type '" "PLFLT""'");
15360 }
15361 arg8 = (PLFLT)(val8);
15362 ecode9 = SWIG_AsVal_double(swig_obj[6], &val9);
15363 if (!SWIG_IsOK(ecode9)) {
15364 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plimagefr" "', argument " "9"" of type '" "PLFLT""'");
15365 }
15366 arg9 = (PLFLT)(val9);
15367 ecode10 = SWIG_AsVal_double(swig_obj[7], &val10);
15368 if (!SWIG_IsOK(ecode10)) {
15369 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plimagefr" "', argument " "10"" of type '" "PLFLT""'");
15370 }
15371 arg10 = (PLFLT)(val10);
15372 ecode11 = SWIG_AsVal_double(swig_obj[8], &val11);
15373 if (!SWIG_IsOK(ecode11)) {
15374 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plimagefr" "', argument " "11"" of type '" "PLFLT""'");
15375 }
15376 arg11 = (PLFLT)(val11);
15377 if (swig_obj[9]) {
15378 {
15379 // it must be a callable or None
15380 if ( swig_obj[9] == Py_None )
15381 {
15382 arg12 = NULL;
15383 }
15384 else
15385 {
15386 if ( !PyCallable_Check( (PyObject *) swig_obj[9] ) )
15387 {
15388 PyErr_SetString( PyExc_ValueError, "pltr argument must be callable" );
15389 return NULL;
15390 }
15391 arg12 = marshal_pltr( swig_obj[9] );
15392 }
15393 }
15394 }
15395 if (swig_obj[10]) {
15396 {
15397 if ( swig_obj[10] == Py_None )
15398 arg13 = NULL;
15399 else
15400 {
15401 arg13 = marshal_PLPointer( swig_obj[10], 1 );
15402 }
15403 }
15404 }
15405 plimagefr((double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
15406 resultobj = SWIG_Py_Void();
15407 {
15408 Py_CLEAR( tmp1 );
15409 free( arg1 );
15410 }
15411 {
15412 cleanup_pltr();
15413 }
15414 {
15416 }
15417 return resultobj;
15418fail:
15419 {
15420 Py_CLEAR( tmp1 );
15421 free( arg1 );
15422 }
15423 {
15424 cleanup_pltr();
15425 }
15426 {
15428 }
15429 return NULL;
15430}
15431
15432
15433SWIGINTERN PyObject *_wrap_plClearOpts(PyObject *self, PyObject *args) {
15434 PyObject *resultobj = 0;
15435
15436 (void)self;
15437 if (!SWIG_Python_UnpackTuple(args, "plClearOpts", 0, 0, 0)) SWIG_fail;
15438 plClearOpts();
15439 resultobj = SWIG_Py_Void();
15440 return resultobj;
15441fail:
15442 return NULL;
15443}
15444
15445
15446SWIGINTERN PyObject *_wrap_plResetOpts(PyObject *self, PyObject *args) {
15447 PyObject *resultobj = 0;
15448
15449 (void)self;
15450 if (!SWIG_Python_UnpackTuple(args, "plResetOpts", 0, 0, 0)) SWIG_fail;
15451 plResetOpts();
15452 resultobj = SWIG_Py_Void();
15453 return resultobj;
15454fail:
15455 return NULL;
15456}
15457
15458
15459SWIGINTERN PyObject *_wrap_plSetUsage(PyObject *self, PyObject *args) {
15460 PyObject *resultobj = 0;
15461 char *arg1 = 0 ;
15462 char *arg2 = 0 ;
15463 int res1 ;
15464 char *buf1 = 0 ;
15465 int alloc1 = 0 ;
15466 int res2 ;
15467 char *buf2 = 0 ;
15468 int alloc2 = 0 ;
15469 PyObject *swig_obj[2] ;
15470
15471 (void)self;
15472 if (!SWIG_Python_UnpackTuple(args, "plSetUsage", 2, 2, swig_obj)) SWIG_fail;
15473 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
15474 if (!SWIG_IsOK(res1)) {
15475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plSetUsage" "', argument " "1"" of type '" "char const *""'");
15476 }
15477 arg1 = (char *)(buf1);
15478 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
15479 if (!SWIG_IsOK(res2)) {
15480 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plSetUsage" "', argument " "2"" of type '" "char const *""'");
15481 }
15482 arg2 = (char *)(buf2);
15483 plSetUsage((char const *)arg1,(char const *)arg2);
15484 resultobj = SWIG_Py_Void();
15485 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
15486 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15487 return resultobj;
15488fail:
15489 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
15490 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15491 return NULL;
15492}
15493
15494
15495SWIGINTERN PyObject *_wrap_plOptUsage(PyObject *self, PyObject *args) {
15496 PyObject *resultobj = 0;
15497
15498 (void)self;
15499 if (!SWIG_Python_UnpackTuple(args, "plOptUsage", 0, 0, 0)) SWIG_fail;
15500 plOptUsage();
15501 resultobj = SWIG_Py_Void();
15502 return resultobj;
15503fail:
15504 return NULL;
15505}
15506
15507
15508SWIGINTERN PyObject *_wrap_plMinMax2dGrid(PyObject *self, PyObject *args) {
15509 PyObject *resultobj = 0;
15510 PLFLT **arg1 = 0 ;
15511 PLINT arg2 ;
15512 PLINT arg3 ;
15513 PLFLT *arg4 = 0 ;
15514 PLFLT *arg5 = 0 ;
15515 PyArrayObject *tmp1 = NULL ;
15516 PLFLT temp4 ;
15517 int res4 = SWIG_TMPOBJ ;
15518 PLFLT temp5 ;
15519 int res5 = SWIG_TMPOBJ ;
15520 PyObject *swig_obj[1] ;
15521
15522 arg4 = &temp4;
15523 arg5 = &temp5;
15524 (void)self;
15525 if (!args) SWIG_fail;
15526 swig_obj[0] = args;
15527 {
15528 int i, size;
15529 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
15530 if ( tmp1 == NULL )
15531 return NULL;
15532 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15533 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15534 size = arg3;
15535 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
15536 for ( i = 0; i < arg2; i++ )
15537 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15538 }
15539 plMinMax2dGrid((double const **)arg1,arg2,arg3,arg4,arg5);
15540 resultobj = SWIG_Py_Void();
15541 if (SWIG_IsTmpObj(res4)) {
15542 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
15543 } else {
15544 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
15545 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
15546 }
15547 if (SWIG_IsTmpObj(res5)) {
15548 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg5)), 1);
15549 } else {
15550 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
15551 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags), 1);
15552 }
15553 {
15554 Py_CLEAR( tmp1 );
15555 free( arg1 );
15556 }
15557 return resultobj;
15558fail:
15559 {
15560 Py_CLEAR( tmp1 );
15561 free( arg1 );
15562 }
15563 return NULL;
15564}
15565
15566
15567SWIGINTERN PyObject *_wrap_plGetCursor(PyObject *self, PyObject *args) {
15568 PyObject *resultobj = 0;
15569 PLGraphicsIn *arg1 = 0 ;
15570 void *argp1 = 0 ;
15571 int res1 = 0 ;
15572 PyObject *swig_obj[1] ;
15573 PLINT result;
15574
15575 (void)self;
15576 if (!args) SWIG_fail;
15577 swig_obj[0] = args;
15578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
15579 if (!SWIG_IsOK(res1)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plGetCursor" "', argument " "1"" of type '" "PLGraphicsIn *""'");
15581 }
15582 arg1 = (PLGraphicsIn *)(argp1);
15583 result = (PLINT)plGetCursor(arg1);
15584 resultobj = SWIG_From_int((int)(result));
15585 return resultobj;
15586fail:
15587 return NULL;
15588}
15589
15590
15591static PyMethodDef SwigMethods[] = {
15592 { "pltr0", _wrap_pltr0, METH_VARARGS, NULL},
15593 { "pltr1", _wrap_pltr1, METH_VARARGS, NULL},
15594 { "pltr2", _wrap_pltr2, METH_VARARGS, NULL},
15595 { "PLGraphicsIn_type_set", _wrap_PLGraphicsIn_type_set, METH_VARARGS, NULL},
15596 { "PLGraphicsIn_type_get", _wrap_PLGraphicsIn_type_get, METH_O, NULL},
15597 { "PLGraphicsIn_state_set", _wrap_PLGraphicsIn_state_set, METH_VARARGS, NULL},
15598 { "PLGraphicsIn_state_get", _wrap_PLGraphicsIn_state_get, METH_O, NULL},
15599 { "PLGraphicsIn_keysym_set", _wrap_PLGraphicsIn_keysym_set, METH_VARARGS, NULL},
15600 { "PLGraphicsIn_keysym_get", _wrap_PLGraphicsIn_keysym_get, METH_O, NULL},
15601 { "PLGraphicsIn_button_set", _wrap_PLGraphicsIn_button_set, METH_VARARGS, NULL},
15602 { "PLGraphicsIn_button_get", _wrap_PLGraphicsIn_button_get, METH_O, NULL},
15603 { "PLGraphicsIn_subwindow_set", _wrap_PLGraphicsIn_subwindow_set, METH_VARARGS, NULL},
15604 { "PLGraphicsIn_subwindow_get", _wrap_PLGraphicsIn_subwindow_get, METH_O, NULL},
15605 { "PLGraphicsIn_string_set", _wrap_PLGraphicsIn_string_set, METH_VARARGS, NULL},
15606 { "PLGraphicsIn_string_get", _wrap_PLGraphicsIn_string_get, METH_O, NULL},
15607 { "PLGraphicsIn_pX_set", _wrap_PLGraphicsIn_pX_set, METH_VARARGS, NULL},
15608 { "PLGraphicsIn_pX_get", _wrap_PLGraphicsIn_pX_get, METH_O, NULL},
15609 { "PLGraphicsIn_pY_set", _wrap_PLGraphicsIn_pY_set, METH_VARARGS, NULL},
15610 { "PLGraphicsIn_pY_get", _wrap_PLGraphicsIn_pY_get, METH_O, NULL},
15611 { "PLGraphicsIn_dX_set", _wrap_PLGraphicsIn_dX_set, METH_VARARGS, NULL},
15612 { "PLGraphicsIn_dX_get", _wrap_PLGraphicsIn_dX_get, METH_O, NULL},
15613 { "PLGraphicsIn_dY_set", _wrap_PLGraphicsIn_dY_set, METH_VARARGS, NULL},
15614 { "PLGraphicsIn_dY_get", _wrap_PLGraphicsIn_dY_get, METH_O, NULL},
15615 { "PLGraphicsIn_wX_set", _wrap_PLGraphicsIn_wX_set, METH_VARARGS, NULL},
15616 { "PLGraphicsIn_wX_get", _wrap_PLGraphicsIn_wX_get, METH_O, NULL},
15617 { "PLGraphicsIn_wY_set", _wrap_PLGraphicsIn_wY_set, METH_VARARGS, NULL},
15618 { "PLGraphicsIn_wY_get", _wrap_PLGraphicsIn_wY_get, METH_O, NULL},
15619 { "new_PLGraphicsIn", _wrap_new_PLGraphicsIn, METH_NOARGS, NULL},
15620 { "delete_PLGraphicsIn", _wrap_delete_PLGraphicsIn, METH_O, NULL},
15621 { "PLGraphicsIn_swigregister", PLGraphicsIn_swigregister, METH_O, NULL},
15622 { "PLGraphicsIn_swiginit", PLGraphicsIn_swiginit, METH_VARARGS, NULL},
15623 { "plsxwin", _wrap_plsxwin, METH_O, NULL},
15624 { "pl_setcontlabelformat", _wrap_pl_setcontlabelformat, METH_VARARGS, "\n"
15625 "Set format of numerical label for contours\n"
15626 "\n"
15627 "DESCRIPTION:\n"
15628 "\n"
15629 " Set format of numerical label for contours.\n"
15630 "\n"
15631 " Redacted form: pl_setcontlabelformat(lexp, sigdig)\n"
15632 "\n"
15633 " This function is used example 9.\n"
15634 "\n"
15635 "\n"
15636 "\n"
15637 "SYNOPSIS:\n"
15638 "\n"
15639 "pl_setcontlabelformat(lexp, sigdig)\n"
15640 "\n"
15641 "ARGUMENTS:\n"
15642 "\n"
15643 " lexp (PLINT, input) : If the contour numerical label is greater\n"
15644 " than 10^(lexp) or less than 10^(-lexp), then the exponential\n"
15645 " format is used. Default value of lexp is 4.\n"
15646 "\n"
15647 " sigdig (PLINT, input) : Number of significant digits. Default\n"
15648 " value is 2.\n"
15649 "\n"
15650 ""},
15651 { "pl_setcontlabelparam", _wrap_pl_setcontlabelparam, METH_VARARGS, "\n"
15652 "Set parameters of contour labelling other than format of numerical label\n"
15653 "\n"
15654 "DESCRIPTION:\n"
15655 "\n"
15656 " Set parameters of contour labelling other than those handled by\n"
15657 " pl_setcontlabelformat.\n"
15658 "\n"
15659 " Redacted form: pl_setcontlabelparam(offset, size, spacing, active)\n"
15660 "\n"
15661 " This function is used in example 9.\n"
15662 "\n"
15663 "\n"
15664 "\n"
15665 "SYNOPSIS:\n"
15666 "\n"
15667 "pl_setcontlabelparam(offset, size, spacing, active)\n"
15668 "\n"
15669 "ARGUMENTS:\n"
15670 "\n"
15671 " offset (PLFLT, input) : Offset of label from contour line (if set\n"
15672 " to 0.0, labels are printed on the lines). Default value is 0.006.\n"
15673 "\n"
15674 " size (PLFLT, input) : Font height for contour labels (normalized).\n"
15675 " Default value is 0.3.\n"
15676 "\n"
15677 " spacing (PLFLT, input) : Spacing parameter for contour labels.\n"
15678 " Default value is 0.1.\n"
15679 "\n"
15680 " active (PLINT, input) : Activate labels. Set to 1 if you want\n"
15681 " contour labels on. Default is off (0).\n"
15682 "\n"
15683 ""},
15684 { "pladv", _wrap_pladv, METH_O, "\n"
15685 "Advance the (sub-)page\n"
15686 "\n"
15687 "DESCRIPTION:\n"
15688 "\n"
15689 " Advances to the next subpage if sub=0, performing a page advance if\n"
15690 " there are no remaining subpages on the current page. If subpages\n"
15691 " aren't being used, pladv(0) will always advance the page. If page>0,\n"
15692 " PLplot switches to the specified subpage. Note that this allows you\n"
15693 " to overwrite a plot on the specified subpage; if this is not what you\n"
15694 " intended, use pleop followed by plbop to first advance the page. This\n"
15695 " routine is called automatically (with page=0) by plenv, but if plenv\n"
15696 " is not used, pladv must be called after initializing PLplot but before\n"
15697 " defining the viewport.\n"
15698 "\n"
15699 " Redacted form: pladv(page)\n"
15700 "\n"
15701 " This function is used in examples 1, 2, 4, 6-12, 14-18, 20, 21, 23-27,\n"
15702 " 29, and 31.\n"
15703 "\n"
15704 "\n"
15705 "\n"
15706 "SYNOPSIS:\n"
15707 "\n"
15708 "pladv(page)\n"
15709 "\n"
15710 "ARGUMENTS:\n"
15711 "\n"
15712 " page (PLINT, input) : Specifies the subpage number (starting from 1\n"
15713 " in the top left corner and increasing along the rows) to which to\n"
15714 " advance. Set to zero to advance to the next subpage (or to the\n"
15715 " next page if subpages are not being used).\n"
15716 "\n"
15717 ""},
15718 { "plarc", _wrap_plarc, METH_VARARGS, "\n"
15719 "Draw a circular or elliptical arc\n"
15720 "\n"
15721 "DESCRIPTION:\n"
15722 "\n"
15723 " Draw a possibly filled arc centered at x, y with semimajor axis a and\n"
15724 " semiminor axis b, starting at angle1 and ending at angle2.\n"
15725 "\n"
15726 " Redacted form: General: plarc(x, y, a, b, angle1, angle2, rotate,\n"
15727 " fill)\n"
15728 "\n"
15729 "\n"
15730 " This function is used in examples 3 and 27.\n"
15731 "\n"
15732 "\n"
15733 "\n"
15734 "SYNOPSIS:\n"
15735 "\n"
15736 "plarc(x, y, a, b, angle1, angle2, rotate, fill)\n"
15737 "\n"
15738 "ARGUMENTS:\n"
15739 "\n"
15740 " x (PLFLT, input) : X coordinate of arc center.\n"
15741 "\n"
15742 " y (PLFLT, input) : Y coordinate of arc center.\n"
15743 "\n"
15744 " a (PLFLT, input) : Length of the semimajor axis of the arc.\n"
15745 "\n"
15746 " b (PLFLT, input) : Length of the semiminor axis of the arc.\n"
15747 "\n"
15748 " angle1 (PLFLT, input) : Starting angle of the arc relative to the\n"
15749 " semimajor axis.\n"
15750 "\n"
15751 " angle2 (PLFLT, input) : Ending angle of the arc relative to the\n"
15752 " semimajor axis.\n"
15753 "\n"
15754 " rotate (PLFLT, input) : Angle of the semimajor axis relative to the\n"
15755 " X-axis.\n"
15756 "\n"
15757 " fill (PLBOOL, input) : Draw a filled arc.\n"
15758 "\n"
15759 ""},
15760 { "plaxes", _wrap_plaxes, METH_VARARGS, "\n"
15761 "Draw a box with axes, etc. with arbitrary origin\n"
15762 "\n"
15763 "DESCRIPTION:\n"
15764 "\n"
15765 " Draws a box around the currently defined viewport with arbitrary\n"
15766 " world-coordinate origin specified by x0 and y0 and labels it with\n"
15767 " world coordinate values appropriate to the window. Thus plaxes should\n"
15768 " only be called after defining both viewport and window. The ascii\n"
15769 " character strings xopt and yopt specify how the box should be drawn as\n"
15770 " described below. If ticks and/or subticks are to be drawn for a\n"
15771 " particular axis, the tick intervals and number of subintervals may be\n"
15772 " specified explicitly, or they may be defaulted by setting the\n"
15773 " appropriate arguments to zero.\n"
15774 "\n"
15775 " Redacted form: General: plaxes(x0, y0, xopt, xtick, nxsub, yopt,\n"
15776 " ytick, nysub)\n"
15777 "\n"
15778 "\n"
15779 " This function is not used in any examples.\n"
15780 "\n"
15781 "\n"
15782 "\n"
15783 "SYNOPSIS:\n"
15784 "\n"
15785 "plaxes(x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub)\n"
15786 "\n"
15787 "ARGUMENTS:\n"
15788 "\n"
15789 " x0 (PLFLT, input) : World X coordinate of origin.\n"
15790 "\n"
15791 " y0 (PLFLT, input) : World Y coordinate of origin.\n"
15792 "\n"
15793 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15794 " options for the x axis. The string can include any combination of\n"
15795 " the following letters (upper or lower case) in any order: a: Draws\n"
15796 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n"
15797 " (x=0).\n"
15798 " b: Draws bottom (X) or left (Y) edge of frame.\n"
15799 " c: Draws top (X) or right (Y) edge of frame.\n"
15800 " d: Plot labels as date / time. Values are assumed to be\n"
15801 " seconds since the epoch (as used by gmtime).\n"
15802 " f: Always use fixed point numeric labels.\n"
15803 " g: Draws a grid at the major tick interval.\n"
15804 " h: Draws a grid at the minor tick interval.\n"
15805 " i: Inverts tick marks, so they are drawn outwards, rather than\n"
15806 " inwards.\n"
15807 " l: Labels axis logarithmically. This only affects the labels,\n"
15808 " not the data, and so it is necessary to compute the logarithms\n"
15809 " of data points before passing them to any of the drawing\n"
15810 " routines.\n"
15811 " m: Writes numeric labels at major tick intervals in the\n"
15812 " unconventional location (above box for X, right of box for Y).\n"
15813 " n: Writes numeric labels at major tick intervals in the\n"
15814 " conventional location (below box for X, left of box for Y).\n"
15815 " o: Use custom labelling function to generate axis label text.\n"
15816 " The custom labelling function can be defined with the\n"
15817 " plslabelfunc command.\n"
15818 " s: Enables subticks between major ticks, only valid if t is\n"
15819 " also specified.\n"
15820 " t: Draws major ticks.\n"
15821 " u: Exactly like \"b\" except don't draw edge line.\n"
15822 " w: Exactly like \"c\" except don't draw edge line.\n"
15823 " x: Exactly like \"t\" (including the side effect of the\n"
15824 " numerical labels for the major ticks) except exclude drawing\n"
15825 " the major and minor tick marks.\n"
15826 "\n"
15827 "\n"
15828 " xtick (PLFLT, input) : World coordinate interval between major\n"
15829 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
15830 " generates a suitable tick interval.\n"
15831 "\n"
15832 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
15833 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15834 " generates a suitable minor tick interval.\n"
15835 "\n"
15836 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15837 " options for the y axis. The string can include any combination of\n"
15838 " the letters defined above for xopt, and in addition may contain:\n"
15839 " v: Write numeric labels for the y axis parallel to the base of the\n"
15840 " graph, rather than parallel to the axis.\n"
15841 "\n"
15842 "\n"
15843 " ytick (PLFLT, input) : World coordinate interval between major\n"
15844 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
15845 " generates a suitable tick interval.\n"
15846 "\n"
15847 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
15848 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15849 " generates a suitable minor tick interval.\n"
15850 "\n"
15851 ""},
15852 { "plbin", _wrap_plbin, METH_VARARGS, "\n"
15853 "Plot a histogram from binned data\n"
15854 "\n"
15855 "DESCRIPTION:\n"
15856 "\n"
15857 " Plots a histogram consisting of nbin bins. The value associated with\n"
15858 " the i'th bin is placed in x[i], and the number of points in the bin is\n"
15859 " placed in y[i]. For proper operation, the values in x[i] must form a\n"
15860 " strictly increasing sequence. By default, x[i] is the left-hand edge\n"
15861 " of the i'th bin. If opt=PL_BIN_CENTRED is used, the bin boundaries are\n"
15862 " placed midway between the values in the x vector. Also see plhist for\n"
15863 " drawing histograms from unbinned data.\n"
15864 "\n"
15865 " Redacted form: General: plbin(x, y, opt)\n"
15866 " Python: plbin(nbin, x, y, opt)\n"
15867 "\n"
15868 "\n"
15869 " This function is not used in any examples.\n"
15870 "\n"
15871 "\n"
15872 "\n"
15873 "SYNOPSIS:\n"
15874 "\n"
15875 "plbin(nbin, x, y, opt)\n"
15876 "\n"
15877 "ARGUMENTS:\n"
15878 "\n"
15879 " nbin (PLINT, input) : Number of bins (i.e., number of values in x\n"
15880 " and y vectors.)\n"
15881 "\n"
15882 " x (PLFLT_VECTOR, input) : A vector containing values associated\n"
15883 " with bins. These must form a strictly increasing sequence.\n"
15884 "\n"
15885 " y (PLFLT_VECTOR, input) : A vector containing a number which is\n"
15886 " proportional to the number of points in each bin. This is a PLFLT\n"
15887 " (instead of PLINT) vector so as to allow histograms of\n"
15888 " probabilities, etc.\n"
15889 "\n"
15890 " opt (PLINT, input) : Is a combination of several flags:\n"
15891 " opt=PL_BIN_DEFAULT: The x represent the lower bin boundaries, the\n"
15892 " outer bins are expanded to fill up the entire x-axis and bins of\n"
15893 " zero height are simply drawn.\n"
15894 " opt=PL_BIN_CENTRED|...: The bin boundaries are to be midway\n"
15895 " between the x values. If the values in x are equally spaced,\n"
15896 " the values are the center values of the bins.\n"
15897 " opt=PL_BIN_NOEXPAND|...: The outer bins are drawn with equal\n"
15898 " size as the ones inside.\n"
15899 " opt=PL_BIN_NOEMPTY|...: Bins with zero height are not drawn\n"
15900 " (there is a gap for such bins).\n"
15901 "\n"
15902 ""},
15903 { "plbtime", _wrap_plbtime, METH_O, "\n"
15904 "Calculate broken-down time from continuous time for the current stream\n"
15905 "\n"
15906 "DESCRIPTION:\n"
15907 "\n"
15908 " Calculate broken-down time; year, month, day, hour, min, sec; from\n"
15909 " continuous time, ctime for the current stream. This function is the\n"
15910 " inverse of plctime.\n"
15911 "\n"
15912 " The PLplot definition of broken-down time is a calendar time that\n"
15913 " completely ignores all time zone offsets, i.e., it is the user's\n"
15914 " responsibility to apply those offsets (if so desired) before using the\n"
15915 " PLplot time API. By default broken-down time is defined using the\n"
15916 " proleptic Gregorian calendar without the insertion of leap seconds and\n"
15917 " continuous time is defined as the number of seconds since the Unix\n"
15918 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n"
15919 " broken-down and continuous time are possible, see plconfigtime.\n"
15920 "\n"
15921 " Redacted form: General: plbtime(year, month, day, hour, min, sec,\n"
15922 " ctime)\n"
15923 "\n"
15924 "\n"
15925 " This function is used in example 29.\n"
15926 "\n"
15927 "\n"
15928 "\n"
15929 "SYNOPSIS:\n"
15930 "\n"
15931 "plbtime(year, month, day, hour, min, sec, ctime)\n"
15932 "\n"
15933 "ARGUMENTS:\n"
15934 "\n"
15935 " year (PLINT_NC_SCALAR, output) : Returned value of years with\n"
15936 " positive values corresponding to CE (i.e., 1 = 1 CE, etc.) and\n"
15937 " non-negative values corresponding to BCE (e.g., 0 = 1 BCE, -1 = 2\n"
15938 " BCE, etc.)\n"
15939 "\n"
15940 " month (PLINT_NC_SCALAR, output) : Returned value of month within\n"
15941 " the year in the range from 0 (January) to 11 (December).\n"
15942 "\n"
15943 " day (PLINT_NC_SCALAR, output) : Returned value of day within the\n"
15944 " month in the range from 1 to 31.\n"
15945 "\n"
15946 " hour (PLINT_NC_SCALAR, output) : Returned value of hour within the\n"
15947 " day in the range from 0 to 23.\n"
15948 "\n"
15949 " min (PLINT_NC_SCALAR, output) : Returned value of minute within the\n"
15950 " hour in the range from 0 to 59\n"
15951 "\n"
15952 " sec (PLFLT_NC_SCALAR, output) : Returned value of second within the\n"
15953 " minute in range from 0. to 60.\n"
15954 "\n"
15955 " ctime (PLFLT, input) : Continuous time from which the broken-down\n"
15956 " time is calculated.\n"
15957 "\n"
15958 ""},
15959 { "plbop", _wrap_plbop, METH_NOARGS, "\n"
15960 "Begin a new page\n"
15961 "\n"
15962 "DESCRIPTION:\n"
15963 "\n"
15964 " Begins a new page. For a file driver, the output file is opened if\n"
15965 " necessary. Advancing the page via pleop and plbop is useful when a\n"
15966 " page break is desired at a particular point when plotting to subpages.\n"
15967 " Another use for pleop and plbop is when plotting pages to different\n"
15968 " files, since you can manually set the file name by calling plsfnam\n"
15969 " after the call to pleop. (In fact some drivers may only support a\n"
15970 " single page per file, making this a necessity.) One way to handle\n"
15971 " this case automatically is to page advance via pladv, but enable\n"
15972 " familying (see plsfam) with a small limit on the file size so that a\n"
15973 " new family member file will be created on each page break.\n"
15974 "\n"
15975 " Redacted form: plbop()\n"
15976 "\n"
15977 " This function is used in examples 2 and 20.\n"
15978 "\n"
15979 "\n"
15980 "\n"
15981 "SYNOPSIS:\n"
15982 "\n"
15983 "plbop()\n"
15984 "\n"
15985 ""},
15986 { "plbox", _wrap_plbox, METH_VARARGS, "\n"
15987 "Draw a box with axes, etc\n"
15988 "\n"
15989 "DESCRIPTION:\n"
15990 "\n"
15991 " Draws a box around the currently defined viewport, and labels it with\n"
15992 " world coordinate values appropriate to the window. Thus plbox should\n"
15993 " only be called after defining both viewport and window. The ascii\n"
15994 " character strings xopt and yopt specify how the box should be drawn as\n"
15995 " described below. If ticks and/or subticks are to be drawn for a\n"
15996 " particular axis, the tick intervals and number of subintervals may be\n"
15997 " specified explicitly, or they may be defaulted by setting the\n"
15998 " appropriate arguments to zero.\n"
15999 "\n"
16000 " Redacted form: General: plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n"
16001 "\n"
16002 "\n"
16003 " This function is used in examples 1, 2, 4, 6, 6-12, 14-18, 21, 23-26,\n"
16004 " and 29.\n"
16005 "\n"
16006 "\n"
16007 "\n"
16008 "SYNOPSIS:\n"
16009 "\n"
16010 "plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n"
16011 "\n"
16012 "ARGUMENTS:\n"
16013 "\n"
16014 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
16015 " options for the x axis. The string can include any combination of\n"
16016 " the following letters (upper or lower case) in any order: a: Draws\n"
16017 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n"
16018 " (x=0).\n"
16019 " b: Draws bottom (X) or left (Y) edge of frame.\n"
16020 " c: Draws top (X) or right (Y) edge of frame.\n"
16021 " d: Plot labels as date / time. Values are assumed to be\n"
16022 " seconds since the epoch (as used by gmtime).\n"
16023 " f: Always use fixed point numeric labels.\n"
16024 " g: Draws a grid at the major tick interval.\n"
16025 " h: Draws a grid at the minor tick interval.\n"
16026 " i: Inverts tick marks, so they are drawn outwards, rather than\n"
16027 " inwards.\n"
16028 " l: Labels axis logarithmically. This only affects the labels,\n"
16029 " not the data, and so it is necessary to compute the logarithms\n"
16030 " of data points before passing them to any of the drawing\n"
16031 " routines.\n"
16032 " m: Writes numeric labels at major tick intervals in the\n"
16033 " unconventional location (above box for X, right of box for Y).\n"
16034 " n: Writes numeric labels at major tick intervals in the\n"
16035 " conventional location (below box for X, left of box for Y).\n"
16036 " o: Use custom labelling function to generate axis label text.\n"
16037 " The custom labelling function can be defined with the\n"
16038 " plslabelfunc command.\n"
16039 " s: Enables subticks between major ticks, only valid if t is\n"
16040 " also specified.\n"
16041 " t: Draws major ticks.\n"
16042 " u: Exactly like \"b\" except don't draw edge line.\n"
16043 " w: Exactly like \"c\" except don't draw edge line.\n"
16044 " x: Exactly like \"t\" (including the side effect of the\n"
16045 " numerical labels for the major ticks) except exclude drawing\n"
16046 " the major and minor tick marks.\n"
16047 "\n"
16048 "\n"
16049 " xtick (PLFLT, input) : World coordinate interval between major\n"
16050 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
16051 " generates a suitable tick interval.\n"
16052 "\n"
16053 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
16054 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
16055 " generates a suitable minor tick interval.\n"
16056 "\n"
16057 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
16058 " options for the y axis. The string can include any combination of\n"
16059 " the letters defined above for xopt, and in addition may contain:\n"
16060 " v: Write numeric labels for the y axis parallel to the base of the\n"
16061 " graph, rather than parallel to the axis.\n"
16062 "\n"
16063 "\n"
16064 " ytick (PLFLT, input) : World coordinate interval between major\n"
16065 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
16066 " generates a suitable tick interval.\n"
16067 "\n"
16068 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
16069 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
16070 " generates a suitable minor tick interval.\n"
16071 "\n"
16072 ""},
16073 { "plbox3", _wrap_plbox3, METH_VARARGS, "\n"
16074 "Draw a box with axes, etc, in 3-d\n"
16075 "\n"
16076 "DESCRIPTION:\n"
16077 "\n"
16078 " Draws axes, numeric and text labels for a three-dimensional surface\n"
16079 " plot. For a more complete description of three-dimensional plotting\n"
16080 " see the PLplot documentation.\n"
16081 "\n"
16082 " Redacted form: General: plbox3(xopt, xlabel, xtick, nxsub, yopt,\n"
16083 " ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n"
16084 "\n"
16085 "\n"
16086 " This function is used in examples 8, 11, 18, and 21.\n"
16087 "\n"
16088 "\n"
16089 "\n"
16090 "SYNOPSIS:\n"
16091 "\n"
16092 "plbox3(xopt, xlabel, xtick, nxsub, yopt, ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n"
16093 "\n"
16094 "ARGUMENTS:\n"
16095 "\n"
16096 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
16097 " options for the x axis. The string can include any combination of\n"
16098 " the following letters (upper or lower case) in any order: b: Draws\n"
16099 " axis at base, at height z=\n"
16100 " zmin where zmin is defined by call to plw3d. This character must be\n"
16101 " specified in order to use any of the other options.\n"
16102 " d: Plot labels as date / time. Values are assumed to be\n"
16103 " seconds since the epoch (as used by gmtime).\n"
16104 " f: Always use fixed point numeric labels.\n"
16105 " i: Inverts tick marks, so they are drawn downwards, rather\n"
16106 " than upwards.\n"
16107 " l: Labels axis logarithmically. This only affects the labels,\n"
16108 " not the data, and so it is necessary to compute the logarithms\n"
16109 " of data points before passing them to any of the drawing\n"
16110 " routines.\n"
16111 " n: Writes numeric labels at major tick intervals.\n"
16112 " o: Use custom labelling function to generate axis label text.\n"
16113 " The custom labelling function can be defined with the\n"
16114 " plslabelfunc command.\n"
16115 " s: Enables subticks between major ticks, only valid if t is\n"
16116 " also specified.\n"
16117 " t: Draws major ticks.\n"
16118 " u: If this is specified, the text label for the axis is\n"
16119 " written under the axis.\n"
16120 "\n"
16121 "\n"
16122 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
16123 " the text label for the x axis. It is only drawn if u is in the\n"
16124 " xopt string.\n"
16125 "\n"
16126 " xtick (PLFLT, input) : World coordinate interval between major\n"
16127 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
16128 " generates a suitable tick interval.\n"
16129 "\n"
16130 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
16131 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
16132 " generates a suitable minor tick interval.\n"
16133 "\n"
16134 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
16135 " options for the y axis. The string is interpreted in the same way\n"
16136 " as xopt.\n"
16137 "\n"
16138 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
16139 " the text label for the y axis. It is only drawn if u is in the\n"
16140 " yopt string.\n"
16141 "\n"
16142 " ytick (PLFLT, input) : World coordinate interval between major\n"
16143 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
16144 " generates a suitable tick interval.\n"
16145 "\n"
16146 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
16147 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
16148 " generates a suitable minor tick interval.\n"
16149 "\n"
16150 " zopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
16151 " options for the z axis. The string can include any combination of\n"
16152 " the following letters (upper or lower case) in any order: b: Draws\n"
16153 " z axis to the left of the surface plot.\n"
16154 " c: Draws z axis to the right of the surface plot.\n"
16155 " d: Draws grid lines parallel to the x-y plane behind the\n"
16156 " figure. These lines are not drawn until after plot3d or\n"
16157 " plmesh are called because of the need for hidden line removal.\n"
16158 " e: Plot labels as date / time. Values are assumed to be\n"
16159 " seconds since the epoch (as used by gmtime). Note this\n"
16160 " suboption is interpreted the same as the d suboption for xopt\n"
16161 " and yopt, but it has to be identified as e for zopt since d\n"
16162 " has already been used for the different purpose above.\n"
16163 " f: Always use fixed point numeric labels.\n"
16164 " i: Inverts tick marks, so they are drawn away from the center.\n"
16165 " l: Labels axis logarithmically. This only affects the labels,\n"
16166 " not the data, and so it is necessary to compute the logarithms\n"
16167 " of data points before passing them to any of the drawing\n"
16168 " routines.\n"
16169 " m: Writes numeric labels at major tick intervals on the\n"
16170 " right-hand z axis.\n"
16171 " n: Writes numeric labels at major tick intervals on the\n"
16172 " left-hand z axis.\n"
16173 " o: Use custom labelling function to generate axis label text.\n"
16174 " The custom labelling function can be defined with the\n"
16175 " plslabelfunc command.\n"
16176 " s: Enables subticks between major ticks, only valid if t is\n"
16177 " also specified.\n"
16178 " t: Draws major ticks.\n"
16179 " u: If this is specified, the text label is written beside the\n"
16180 " left-hand axis.\n"
16181 " v: If this is specified, the text label is written beside the\n"
16182 " right-hand axis.\n"
16183 "\n"
16184 "\n"
16185 " zlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
16186 " the text label for the z axis. It is only drawn if u or v are in\n"
16187 " the zopt string.\n"
16188 "\n"
16189 " ztick (PLFLT, input) : World coordinate interval between major\n"
16190 " ticks on the z axis. If it is set to zero, PLplot automatically\n"
16191 " generates a suitable tick interval.\n"
16192 "\n"
16193 " nzsub (PLINT, input) : Number of subintervals between major z axis\n"
16194 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
16195 " generates a suitable minor tick interval.\n"
16196 "\n"
16197 ""},
16198 { "plcalc_world", _wrap_plcalc_world, METH_VARARGS, "\n"
16199 "Calculate world coordinates and corresponding window index from relative device coordinates\n"
16200 "\n"
16201 "DESCRIPTION:\n"
16202 "\n"
16203 " Calculate world coordinates, wx and wy, and corresponding window index\n"
16204 " from relative device coordinates, rx and ry.\n"
16205 "\n"
16206 " Redacted form: General: plcalc_world(rx, ry, wx, wy, window)\n"
16207 "\n"
16208 "\n"
16209 " This function is used in example 31.\n"
16210 "\n"
16211 "\n"
16212 "\n"
16213 "SYNOPSIS:\n"
16214 "\n"
16215 "plcalc_world(rx, ry, wx, wy, window)\n"
16216 "\n"
16217 "ARGUMENTS:\n"
16218 "\n"
16219 " rx (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n"
16220 " the x coordinate.\n"
16221 "\n"
16222 " ry (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n"
16223 " the y coordinate.\n"
16224 "\n"
16225 " wx (PLFLT_NC_SCALAR, output) : Returned value of the x world\n"
16226 " coordinate corresponding to the relative device coordinates rx and\n"
16227 " ry.\n"
16228 "\n"
16229 " wy (PLFLT_NC_SCALAR, output) : Returned value of the y world\n"
16230 " coordinate corresponding to the relative device coordinates rx and\n"
16231 " ry.\n"
16232 "\n"
16233 " window (PLINT_NC_SCALAR, output) : Returned value of the last\n"
16234 " defined window index that corresponds to the input relative device\n"
16235 " coordinates (and the returned world coordinates). To give some\n"
16236 " background on the window index, for each page the initial window\n"
16237 " index is set to zero, and each time plwind is called within the\n"
16238 " page, world and device coordinates are stored for the window and\n"
16239 " the window index is incremented. Thus, for a simple page layout\n"
16240 " with non-overlapping viewports and one window per viewport, window\n"
16241 " corresponds to the viewport index (in the order which the\n"
16242 " viewport/windows were created) of the only viewport/window\n"
16243 " corresponding to rx and ry. However, for more complicated layouts\n"
16244 " with potentially overlapping viewports and possibly more than one\n"
16245 " window (set of world coordinates) per viewport, window and the\n"
16246 " corresponding output world coordinates corresponds to the last\n"
16247 " window created that fulfills the criterion that the relative\n"
16248 " device coordinates are inside it. Finally, in all cases where the\n"
16249 " input relative device coordinates are not inside any\n"
16250 " viewport/window, then the returned value of the last defined\n"
16251 " window index is set to -1.\n"
16252 "\n"
16253 ""},
16254 { "plclear", _wrap_plclear, METH_NOARGS, "\n"
16255 "Clear current (sub)page\n"
16256 "\n"
16257 "DESCRIPTION:\n"
16258 "\n"
16259 " Clears the current page, effectively erasing everything that have been\n"
16260 " drawn. This command only works with interactive drivers; if the\n"
16261 " driver does not support this, the page is filled with the background\n"
16262 " color in use. If the current page is divided into subpages, only the\n"
16263 " current subpage is erased. The nth subpage can be selected with\n"
16264 " pladv(n).\n"
16265 "\n"
16266 " Redacted form: General: plclear()\n"
16267 "\n"
16268 "\n"
16269 " This function is not used in any examples.\n"
16270 "\n"
16271 "\n"
16272 "\n"
16273 "SYNOPSIS:\n"
16274 "\n"
16275 "plclear()\n"
16276 "\n"
16277 ""},
16278 { "plcol0", _wrap_plcol0, METH_O, "\n"
16279 "Set color, cmap0\n"
16280 "\n"
16281 "DESCRIPTION:\n"
16282 "\n"
16283 " Sets the color index for cmap0 (see the PLplot documentation).\n"
16284 "\n"
16285 " Redacted form: plcol0(icol0)\n"
16286 "\n"
16287 " This function is used in examples 1-9, 11-16, 18-27, and 29.\n"
16288 "\n"
16289 "\n"
16290 "\n"
16291 "SYNOPSIS:\n"
16292 "\n"
16293 "plcol0(icol0)\n"
16294 "\n"
16295 "ARGUMENTS:\n"
16296 "\n"
16297 " icol0 (PLINT, input) : Integer representing the color. The\n"
16298 " defaults at present are (these may change):\n"
16299 " 0 black (default background)\n"
16300 " 1 red (default foreground)\n"
16301 " 2 yellow\n"
16302 " 3 green\n"
16303 " 4 aquamarine\n"
16304 " 5 pink\n"
16305 " 6 wheat\n"
16306 " 7 grey\n"
16307 " 8 brown\n"
16308 " 9 blue\n"
16309 " 10 BlueViolet\n"
16310 " 11 cyan\n"
16311 " 12 turquoise\n"
16312 " 13 magenta\n"
16313 " 14 salmon\n"
16314 " 15 white\n"
16315 "\n"
16316 " Use plscmap0 to change the entire cmap0 color palette and plscol0 to\n"
16317 " change an individual color in the cmap0 color palette.\n"
16318 "\n"
16319 ""},
16320 { "plcol1", _wrap_plcol1, METH_O, "\n"
16321 "Set color, cmap1\n"
16322 "\n"
16323 "DESCRIPTION:\n"
16324 "\n"
16325 " Sets the color for cmap1 (see the PLplot documentation).\n"
16326 "\n"
16327 " Redacted form: plcol1(col1)\n"
16328 "\n"
16329 " This function is used in examples 12 and 21.\n"
16330 "\n"
16331 "\n"
16332 "\n"
16333 "SYNOPSIS:\n"
16334 "\n"
16335 "plcol1(col1)\n"
16336 "\n"
16337 "ARGUMENTS:\n"
16338 "\n"
16339 " col1 (PLFLT, input) : This value must be in the range (0.0-1.0) and\n"
16340 " is mapped to color using the continuous cmap1 palette which by\n"
16341 " default ranges from blue to the background color to red. The\n"
16342 " cmap1 palette can also be straightforwardly changed by the user\n"
16343 " with plscmap1 or plscmap1l.\n"
16344 "\n"
16345 ""},
16346 { "plconfigtime", _wrap_plconfigtime, METH_VARARGS, "\n"
16347 "Configure the transformation between continuous and broken-down time for the current stream\n"
16348 "\n"
16349 "DESCRIPTION:\n"
16350 "\n"
16351 " Configure the transformation between continuous and broken-down time\n"
16352 " for the current stream. This transformation is used by both plbtime\n"
16353 " and plctime.\n"
16354 "\n"
16355 " Redacted form: General: plconfigtime(scale, offset1, offset2,\n"
16356 " ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n"
16357 "\n"
16358 "\n"
16359 " This function is used in example 29.\n"
16360 "\n"
16361 "\n"
16362 "\n"
16363 "SYNOPSIS:\n"
16364 "\n"
16365 "plconfigtime(scale, offset1, offset2, ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n"
16366 "\n"
16367 "ARGUMENTS:\n"
16368 "\n"
16369 " scale (PLFLT, input) : The number of days per continuous time unit.\n"
16370 " As a special case, if\n"
16371 " scale is 0., then all other arguments are ignored, and the result (the\n"
16372 " default used by PLplot) is the equivalent of a call to\n"
16373 " plconfigtime(1./86400., 0., 0., 0x0, 1, 1970, 0, 1, 0, 0, 0.).\n"
16374 " That is, for this special case broken-down time is calculated with\n"
16375 " the proleptic Gregorian calendar with no leap seconds inserted,\n"
16376 " and the continuous time is defined as the number of seconds since\n"
16377 " the Unix epoch of 1970-01-01T00:00:00Z.\n"
16378 "\n"
16379 " offset1 (PLFLT, input) : If\n"
16380 " ifbtime_offset is true, the parameters\n"
16381 " offset1 and\n"
16382 " offset2 are completely ignored. Otherwise, the sum of these parameters\n"
16383 " (with units in days) specify the epoch of the continuous time\n"
16384 " relative to the MJD epoch corresponding to the Gregorian calendar\n"
16385 " date of 1858-11-17T00:00:00Z or JD = 2400000.5. Two PLFLT numbers\n"
16386 " are used to specify the origin to allow users (by specifying\n"
16387 " offset1 as an integer that can be exactly represented by a\n"
16388 " floating-point variable and specifying\n"
16389 " offset2 as a number in the range from 0. to 1) the chance to minimize\n"
16390 " the numerical errors of the continuous time representation.\n"
16391 "\n"
16392 " offset2 (PLFLT, input) : See documentation of\n"
16393 " offset1.\n"
16394 "\n"
16395 " ccontrol (PLINT, input) : ccontrol contains bits controlling the\n"
16396 " transformation. If the 0x1 bit is set, then the proleptic Julian\n"
16397 " calendar is used for broken-down time rather than the proleptic\n"
16398 " Gregorian calendar. If the 0x2 bit is set, then leap seconds that\n"
16399 " have been historically used to define UTC are inserted into the\n"
16400 " broken-down time. Other possibilities for additional control bits\n"
16401 " for ccontrol exist such as making the historical time corrections\n"
16402 " in the broken-down time corresponding to ET (ephemeris time) or\n"
16403 " making the (slightly non-constant) corrections from international\n"
16404 " atomic time (TAI) to what astronomers define as terrestrial time\n"
16405 " (TT). But those additional possibilities have not been\n"
16406 " implemented yet in the qsastime library (one of the PLplot utility\n"
16407 " libraries).\n"
16408 "\n"
16409 " ifbtime_offset (PLBOOL, input) : ifbtime_offset controls how the\n"
16410 " epoch of the continuous time scale is specified by the user. If\n"
16411 " ifbtime_offset is false, then\n"
16412 " offset1 and\n"
16413 " offset2 are used to specify the epoch, and the following broken-down\n"
16414 " time parameters are completely ignored. If\n"
16415 " ifbtime_offset is true, then\n"
16416 " offset1 and\n"
16417 " offset2 are completely ignored, and the following broken-down time\n"
16418 " parameters are used to specify the epoch.\n"
16419 "\n"
16420 " year (PLINT, input) : Year of epoch.\n"
16421 "\n"
16422 " month (PLINT, input) : Month of epoch in range from 0 (January) to\n"
16423 " 11 (December).\n"
16424 "\n"
16425 " day (PLINT, input) : Day of epoch in range from 1 to 31.\n"
16426 "\n"
16427 " hour (PLINT, input) : Hour of epoch in range from 0 to 23\n"
16428 "\n"
16429 " min (PLINT, input) : Minute of epoch in range from 0 to 59.\n"
16430 "\n"
16431 " sec (PLFLT, input) : Second of epoch in range from 0. to 60.\n"
16432 "\n"
16433 ""},
16434 { "plcont", _wrap_plcont, METH_VARARGS, "\n"
16435 "Contour plot\n"
16436 "\n"
16437 "DESCRIPTION:\n"
16438 "\n"
16439 " Draws a contour plot of the data in f[\n"
16440 " nx][\n"
16441 " ny], using the nlevel contour levels specified by clevel. Only the\n"
16442 " region of the matrix from kx to lx and from ky to ly is plotted out\n"
16443 " where all these index ranges are interpreted as one-based for\n"
16444 " historical reasons. A transformation routine pointed to by pltr with\n"
16445 " a generic pointer pltr_data for additional data required by the\n"
16446 " transformation routine is used to map indices within the matrix to the\n"
16447 " world coordinates.\n"
16448 "\n"
16449 " Redacted form: plcont(f, kx, lx, ky, ly, clevel, pltr, pltr_data)\n"
16450 " where (see above discussion) the pltr, pltr_data callback arguments\n"
16451 " are sometimes replaced by a tr vector with 6 elements; xg and yg\n"
16452 " vectors; or xg and yg matrices.\n"
16453 "\n"
16454 " This function is used in examples 9, 14, 16, and 22.\n"
16455 "\n"
16456 "\n"
16457 "\n"
16458 "SYNOPSIS:\n"
16459 "\n"
16460 "plcont(f, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr, pltr_data)\n"
16461 "\n"
16462 "ARGUMENTS:\n"
16463 "\n"
16464 " f (PLFLT_MATRIX, input) : A matrix containing data to be contoured.\n"
16465 "\n"
16466 " nx, ny (PLINT, input) : The dimensions of the matrix f.\n"
16467 "\n"
16468 " kx, lx (PLINT, input) : Range of x indices to consider where 0 <=\n"
16469 " kx-1 < lx-1 < nx. Values of kx and lx are one-based rather than\n"
16470 " zero-based for historical backwards-compatibility reasons.\n"
16471 "\n"
16472 " ky, ly (PLINT, input) : Range of y indices to consider where 0 <=\n"
16473 " ky-1 < ly-1 < ny. Values of ky and ly are one-based rather than\n"
16474 " zero-based for historical backwards-compatibility reasons.\n"
16475 "\n"
16476 " clevel (PLFLT_VECTOR, input) : A vector specifying the levels at\n"
16477 " which to draw contours.\n"
16478 "\n"
16479 " nlevel (PLINT, input) : Number of contour levels to draw.\n"
16480 "\n"
16481 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
16482 " defines the transformation between the zero-based indices of the\n"
16483 " matrix f and the world coordinates.For the C case, transformation\n"
16484 " functions are provided in the PLplot library: pltr0 for the\n"
16485 " identity mapping, and pltr1 and pltr2 for arbitrary mappings\n"
16486 " respectively defined by vectors and matrices. In addition, C\n"
16487 " callback routines for the transformation can be supplied by the\n"
16488 " user such as the mypltr function in examples/c/x09c.c which\n"
16489 " provides a general linear transformation between index coordinates\n"
16490 " and world coordinates.For languages other than C you should\n"
16491 " consult the PLplot documentation for the details concerning how\n"
16492 " PLTRANSFORM_callback arguments are interfaced. However, in\n"
16493 " general, a particular pattern of callback-associated arguments\n"
16494 " such as a tr vector with 6 elements; xg and yg vectors; or xg and\n"
16495 " yg matrices are respectively interfaced to a linear-transformation\n"
16496 " routine similar to the above mypltr function; pltr1; and pltr2.\n"
16497 " Furthermore, some of our more sophisticated bindings (see, e.g.,\n"
16498 " the PLplot documentation) support native language callbacks for\n"
16499 " handling index to world-coordinate transformations. Examples of\n"
16500 " these various approaches are given in examples/<language>x09*,\n"
16501 " examples/<language>x16*, examples/<language>x20*,\n"
16502 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
16503 " supported languages.\n"
16504 "\n"
16505 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
16506 " information to pltr0, pltr1, pltr2, or whatever callback routine\n"
16507 " that is externally supplied.\n"
16508 "\n"
16509 ""},
16510 { "plctime", _wrap_plctime, METH_VARARGS, "\n"
16511 "Calculate continuous time from broken-down time for the current stream\n"
16512 "\n"
16513 "DESCRIPTION:\n"
16514 "\n"
16515 " Calculate continuous time, ctime, from broken-down time for the\n"
16516 " current stream. The broken-down\n"
16517 " time is specified by the following parameters: year, month, day, hour,\n"
16518 " min, and sec. This function is the inverse of plbtime.\n"
16519 "\n"
16520 " The PLplot definition of broken-down time is a calendar time that\n"
16521 " completely ignores all time zone offsets, i.e., it is the user's\n"
16522 " responsibility to apply those offsets (if so desired) before using the\n"
16523 " PLplot time API. By default broken-down time is defined using the\n"
16524 " proleptic Gregorian calendar without the insertion of leap seconds and\n"
16525 " continuous time is defined as the number of seconds since the Unix\n"
16526 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n"
16527 " broken-down and continuous time are possible, see plconfigtime which\n"
16528 " specifies that transformation for the current stream.\n"
16529 "\n"
16530 " Redacted form: General: plctime(year, month, day, hour, min, sec,\n"
16531 " ctime)\n"
16532 "\n"
16533 "\n"
16534 " This function is used in example 29.\n"
16535 "\n"
16536 "\n"
16537 "\n"
16538 "SYNOPSIS:\n"
16539 "\n"
16540 "plctime(year, month, day, hour, min, sec, ctime)\n"
16541 "\n"
16542 "ARGUMENTS:\n"
16543 "\n"
16544 " year (PLINT, input) : Input year.\n"
16545 "\n"
16546 " month (PLINT, input) : Input month in range from 0 (January) to 11\n"
16547 " (December).\n"
16548 "\n"
16549 " day (PLINT, input) : Input day in range from 1 to 31.\n"
16550 "\n"
16551 " hour (PLINT, input) : Input hour in range from 0 to 23\n"
16552 "\n"
16553 " min (PLINT, input) : Input minute in range from 0 to 59.\n"
16554 "\n"
16555 " sec (PLFLT, input) : Input second in range from 0. to 60.\n"
16556 "\n"
16557 " ctime (PLFLT_NC_SCALAR, output) : Returned value of the continuous\n"
16558 " time calculated from the broken-down time specified by the\n"
16559 " previous parameters.\n"
16560 "\n"
16561 ""},
16562 { "plcpstrm", _wrap_plcpstrm, METH_VARARGS, "\n"
16563 "Copy state parameters from the reference stream to the current stream\n"
16564 "\n"
16565 "DESCRIPTION:\n"
16566 "\n"
16567 " Copies state parameters from the reference stream to the current\n"
16568 " stream. Tell driver interface to map device coordinates unless flags\n"
16569 " == 1.\n"
16570 "\n"
16571 " This function is used for making save files of selected plots (e.g.\n"
16572 " from the TK driver). After initializing, you can get a copy of the\n"
16573 " current plot to the specified device by switching to this stream and\n"
16574 " issuing a plcpstrm and a plreplot, with calls to plbop and pleop as\n"
16575 " appropriate. The plot buffer must have previously been enabled (done\n"
16576 " automatically by some display drivers, such as X).\n"
16577 "\n"
16578 " Redacted form: plcpstrm(iplsr, flags)\n"
16579 "\n"
16580 " This function is used in example 1,20.\n"
16581 "\n"
16582 "\n"
16583 "\n"
16584 "SYNOPSIS:\n"
16585 "\n"
16586 "plcpstrm(iplsr, flags)\n"
16587 "\n"
16588 "ARGUMENTS:\n"
16589 "\n"
16590 " iplsr (PLINT, input) : Number of reference stream.\n"
16591 "\n"
16592 " flags (PLBOOL, input) : If flags is set to true the device\n"
16593 " coordinates are not copied from the reference to current stream.\n"
16594 "\n"
16595 ""},
16596 { "plend", _wrap_plend, METH_NOARGS, "\n"
16597 "End plotting session\n"
16598 "\n"
16599 "DESCRIPTION:\n"
16600 "\n"
16601 " Ends a plotting session, tidies up all the output files, switches\n"
16602 " interactive devices back into text mode and frees up any memory that\n"
16603 " was allocated. Must be called before end of program.\n"
16604 "\n"
16605 " By default, PLplot's interactive devices (Xwin, TK, etc.) go into a\n"
16606 " wait state after a call to plend or other functions which trigger the\n"
16607 " end of a plot page. To avoid this, use the plspause function.\n"
16608 "\n"
16609 " Redacted form: plend()\n"
16610 "\n"
16611 " This function is used in all of the examples.\n"
16612 "\n"
16613 "\n"
16614 "\n"
16615 "SYNOPSIS:\n"
16616 "\n"
16617 "plend()\n"
16618 "\n"
16619 ""},
16620 { "plend1", _wrap_plend1, METH_NOARGS, "\n"
16621 "End plotting session for current stream\n"
16622 "\n"
16623 "DESCRIPTION:\n"
16624 "\n"
16625 " Ends a plotting session for the current output stream only. See\n"
16626 " plsstrm for more info.\n"
16627 "\n"
16628 " Redacted form: plend1()\n"
16629 "\n"
16630 " This function is used in examples 1 and 20.\n"
16631 "\n"
16632 "\n"
16633 "\n"
16634 "SYNOPSIS:\n"
16635 "\n"
16636 "plend1()\n"
16637 "\n"
16638 ""},
16639 { "plenv", _wrap_plenv, METH_VARARGS, "\n"
16640 "Set up standard window and draw box\n"
16641 "\n"
16642 "DESCRIPTION:\n"
16643 "\n"
16644 " Sets up plotter environment for simple graphs by calling pladv and\n"
16645 " setting up viewport and window to sensible default values. plenv\n"
16646 " leaves a standard margin (left-hand margin of eight character heights,\n"
16647 " and a margin around the other three sides of five character heights)\n"
16648 " around most graphs for axis labels and a title. When these defaults\n"
16649 " are not suitable, use the individual routines plvpas, plvpor, or\n"
16650 " plvasp for setting up the viewport, plwind for defining the window,\n"
16651 " and plbox for drawing the box.\n"
16652 "\n"
16653 " Redacted form: plenv(xmin, xmax, ymin, ymax, just, axis)\n"
16654 "\n"
16655 " This function is used in example 1,3,9,13,14,19-22,29.\n"
16656 "\n"
16657 "\n"
16658 "\n"
16659 "SYNOPSIS:\n"
16660 "\n"
16661 "plenv(xmin, xmax, ymin, ymax, just, axis)\n"
16662 "\n"
16663 "ARGUMENTS:\n"
16664 "\n"
16665 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n"
16666 " world coordinates).\n"
16667 "\n"
16668 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n"
16669 " world coordinates).\n"
16670 "\n"
16671 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n"
16672 " coordinates).\n"
16673 "\n"
16674 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n"
16675 " coordinates).\n"
16676 "\n"
16677 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n"
16678 " scales will not be set, the user must set up the scale before\n"
16679 " calling plenv using plsvpa, plvasp or other.\n"
16680 " 0: the x and y axes are scaled independently to use as much of\n"
16681 " the screen as possible.\n"
16682 " 1: the scales of the x and y axes are made equal.\n"
16683 " 2: the axis of the x and y axes are made equal, and the plot\n"
16684 " box will be square.\n"
16685 "\n"
16686 "\n"
16687 " axis (PLINT, input) : Controls drawing of the box around the plot:\n"
16688 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n"
16689 " -1: draw box only.\n"
16690 " 0: draw box, ticks, and numeric tick labels.\n"
16691 " 1: also draw coordinate axes at x=0 and y=0.\n"
16692 " 2: also draw a grid at major tick positions in both\n"
16693 " coordinates.\n"
16694 " 3: also draw a grid at minor tick positions in both\n"
16695 " coordinates.\n"
16696 " 10: same as 0 except logarithmic x tick marks. (The x data\n"
16697 " have to be converted to logarithms separately.)\n"
16698 " 11: same as 1 except logarithmic x tick marks. (The x data\n"
16699 " have to be converted to logarithms separately.)\n"
16700 " 12: same as 2 except logarithmic x tick marks. (The x data\n"
16701 " have to be converted to logarithms separately.)\n"
16702 " 13: same as 3 except logarithmic x tick marks. (The x data\n"
16703 " have to be converted to logarithms separately.)\n"
16704 " 20: same as 0 except logarithmic y tick marks. (The y data\n"
16705 " have to be converted to logarithms separately.)\n"
16706 " 21: same as 1 except logarithmic y tick marks. (The y data\n"
16707 " have to be converted to logarithms separately.)\n"
16708 " 22: same as 2 except logarithmic y tick marks. (The y data\n"
16709 " have to be converted to logarithms separately.)\n"
16710 " 23: same as 3 except logarithmic y tick marks. (The y data\n"
16711 " have to be converted to logarithms separately.)\n"
16712 " 30: same as 0 except logarithmic x and y tick marks. (The x\n"
16713 " and y data have to be converted to logarithms separately.)\n"
16714 " 31: same as 1 except logarithmic x and y tick marks. (The x\n"
16715 " and y data have to be converted to logarithms separately.)\n"
16716 " 32: same as 2 except logarithmic x and y tick marks. (The x\n"
16717 " and y data have to be converted to logarithms separately.)\n"
16718 " 33: same as 3 except logarithmic x and y tick marks. (The x\n"
16719 " and y data have to be converted to logarithms separately.)\n"
16720 " 40: same as 0 except date / time x labels.\n"
16721 " 41: same as 1 except date / time x labels.\n"
16722 " 42: same as 2 except date / time x labels.\n"
16723 " 43: same as 3 except date / time x labels.\n"
16724 " 50: same as 0 except date / time y labels.\n"
16725 " 51: same as 1 except date / time y labels.\n"
16726 " 52: same as 2 except date / time y labels.\n"
16727 " 53: same as 3 except date / time y labels.\n"
16728 " 60: same as 0 except date / time x and y labels.\n"
16729 " 61: same as 1 except date / time x and y labels.\n"
16730 " 62: same as 2 except date / time x and y labels.\n"
16731 " 63: same as 3 except date / time x and y labels.\n"
16732 " 70: same as 0 except custom x and y labels.\n"
16733 " 71: same as 1 except custom x and y labels.\n"
16734 " 72: same as 2 except custom x and y labels.\n"
16735 " 73: same as 3 except custom x and y labels.\n"
16736 "\n"
16737 ""},
16738 { "plenv0", _wrap_plenv0, METH_VARARGS, "\n"
16739 "Same as plenv but if in multiplot mode does not advance the subpage, instead clears it\n"
16740 "\n"
16741 "DESCRIPTION:\n"
16742 "\n"
16743 " Sets up plotter environment for simple graphs by calling pladv and\n"
16744 " setting up viewport and window to sensible default values. plenv0\n"
16745 " leaves a standard margin (left-hand margin of eight character heights,\n"
16746 " and a margin around the other three sides of five character heights)\n"
16747 " around most graphs for axis labels and a title. When these defaults\n"
16748 " are not suitable, use the individual routines plvpas, plvpor, or\n"
16749 " plvasp for setting up the viewport, plwind for defining the window,\n"
16750 " and plbox for drawing the box.\n"
16751 "\n"
16752 " Redacted form: plenv0(xmin, xmax, ymin, ymax, just, axis)\n"
16753 "\n"
16754 " This function is used in example 21.\n"
16755 "\n"
16756 "\n"
16757 "\n"
16758 "SYNOPSIS:\n"
16759 "\n"
16760 "plenv0(xmin, xmax, ymin, ymax, just, axis)\n"
16761 "\n"
16762 "ARGUMENTS:\n"
16763 "\n"
16764 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n"
16765 " world coordinates).\n"
16766 "\n"
16767 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n"
16768 " world coordinates).\n"
16769 "\n"
16770 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n"
16771 " coordinates).\n"
16772 "\n"
16773 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n"
16774 " coordinates).\n"
16775 "\n"
16776 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n"
16777 " scales will not be set, the user must set up the scale before\n"
16778 " calling plenv0 using plsvpa, plvasp or other.\n"
16779 " 0: the x and y axes are scaled independently to use as much of\n"
16780 " the screen as possible.\n"
16781 " 1: the scales of the x and y axes are made equal.\n"
16782 " 2: the axis of the x and y axes are made equal, and the plot\n"
16783 " box will be square.\n"
16784 "\n"
16785 "\n"
16786 " axis (PLINT, input) : Controls drawing of the box around the plot:\n"
16787 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n"
16788 " -1: draw box only.\n"
16789 " 0: draw box, ticks, and numeric tick labels.\n"
16790 " 1: also draw coordinate axes at x=0 and y=0.\n"
16791 " 2: also draw a grid at major tick positions in both\n"
16792 " coordinates.\n"
16793 " 3: also draw a grid at minor tick positions in both\n"
16794 " coordinates.\n"
16795 " 10: same as 0 except logarithmic x tick marks. (The x data\n"
16796 " have to be converted to logarithms separately.)\n"
16797 " 11: same as 1 except logarithmic x tick marks. (The x data\n"
16798 " have to be converted to logarithms separately.)\n"
16799 " 12: same as 2 except logarithmic x tick marks. (The x data\n"
16800 " have to be converted to logarithms separately.)\n"
16801 " 13: same as 3 except logarithmic x tick marks. (The x data\n"
16802 " have to be converted to logarithms separately.)\n"
16803 " 20: same as 0 except logarithmic y tick marks. (The y data\n"
16804 " have to be converted to logarithms separately.)\n"
16805 " 21: same as 1 except logarithmic y tick marks. (The y data\n"
16806 " have to be converted to logarithms separately.)\n"
16807 " 22: same as 2 except logarithmic y tick marks. (The y data\n"
16808 " have to be converted to logarithms separately.)\n"
16809 " 23: same as 3 except logarithmic y tick marks. (The y data\n"
16810 " have to be converted to logarithms separately.)\n"
16811 " 30: same as 0 except logarithmic x and y tick marks. (The x\n"
16812 " and y data have to be converted to logarithms separately.)\n"
16813 " 31: same as 1 except logarithmic x and y tick marks. (The x\n"
16814 " and y data have to be converted to logarithms separately.)\n"
16815 " 32: same as 2 except logarithmic x and y tick marks. (The x\n"
16816 " and y data have to be converted to logarithms separately.)\n"
16817 " 33: same as 3 except logarithmic x and y tick marks. (The x\n"
16818 " and y data have to be converted to logarithms separately.)\n"
16819 " 40: same as 0 except date / time x labels.\n"
16820 " 41: same as 1 except date / time x labels.\n"
16821 " 42: same as 2 except date / time x labels.\n"
16822 " 43: same as 3 except date / time x labels.\n"
16823 " 50: same as 0 except date / time y labels.\n"
16824 " 51: same as 1 except date / time y labels.\n"
16825 " 52: same as 2 except date / time y labels.\n"
16826 " 53: same as 3 except date / time y labels.\n"
16827 " 60: same as 0 except date / time x and y labels.\n"
16828 " 61: same as 1 except date / time x and y labels.\n"
16829 " 62: same as 2 except date / time x and y labels.\n"
16830 " 63: same as 3 except date / time x and y labels.\n"
16831 " 70: same as 0 except custom x and y labels.\n"
16832 " 71: same as 1 except custom x and y labels.\n"
16833 " 72: same as 2 except custom x and y labels.\n"
16834 " 73: same as 3 except custom x and y labels.\n"
16835 "\n"
16836 ""},
16837 { "pleop", _wrap_pleop, METH_NOARGS, "\n"
16838 "Eject current page\n"
16839 "\n"
16840 "DESCRIPTION:\n"
16841 "\n"
16842 " Clears the graphics screen of an interactive device, or ejects a page\n"
16843 " on a plotter. See plbop for more information.\n"
16844 "\n"
16845 " Redacted form: pleop()\n"
16846 "\n"
16847 " This function is used in example 2,14.\n"
16848 "\n"
16849 "\n"
16850 "\n"
16851 "SYNOPSIS:\n"
16852 "\n"
16853 "pleop()\n"
16854 "\n"
16855 ""},
16856 { "plerrx", _wrap_plerrx, METH_VARARGS, "\n"
16857 "Draw error bars in x direction\n"
16858 "\n"
16859 "DESCRIPTION:\n"
16860 "\n"
16861 " Draws a set of n error bars in x direction, the i'th error bar\n"
16862 " extending from xmin[i] to xmax[i] at y coordinate y[i]. The terminals\n"
16863 " of the error bars are of length equal to the minor tick length\n"
16864 " (settable using plsmin).\n"
16865 "\n"
16866 " Redacted form: General: plerrx(xmin, ymax, y)\n"
16867 "\n"
16868 "\n"
16869 " This function is used in example 29.\n"
16870 "\n"
16871 "\n"
16872 "\n"
16873 "SYNOPSIS:\n"
16874 "\n"
16875 "plerrx(n, xmin, xmax, y)\n"
16876 "\n"
16877 "ARGUMENTS:\n"
16878 "\n"
16879 " n (PLINT, input) : Number of error bars to draw.\n"
16880 "\n"
16881 " xmin (PLFLT_VECTOR, input) : A vector containing the x coordinates\n"
16882 " of the left-hand endpoints of the error bars.\n"
16883 "\n"
16884 " xmax (PLFLT_VECTOR, input) : A vector containing the x coordinates\n"
16885 " of the right-hand endpoints of the error bars.\n"
16886 "\n"
16887 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16888 " the error bars.\n"
16889 "\n"
16890 ""},
16891 { "plerry", _wrap_plerry, METH_VARARGS, "\n"
16892 "Draw error bars in the y direction\n"
16893 "\n"
16894 "DESCRIPTION:\n"
16895 "\n"
16896 " Draws a set of n error bars in the y direction, the i'th error bar\n"
16897 " extending from ymin[i] to ymax[i] at x coordinate x[i]. The terminals\n"
16898 " of the error bars are of length equal to the minor tick length\n"
16899 " (settable using plsmin).\n"
16900 "\n"
16901 " Redacted form: General: plerry(x, ymin, ymax)\n"
16902 "\n"
16903 "\n"
16904 " This function is used in example 29.\n"
16905 "\n"
16906 "\n"
16907 "\n"
16908 "SYNOPSIS:\n"
16909 "\n"
16910 "plerry(n, x, ymin, ymax)\n"
16911 "\n"
16912 "ARGUMENTS:\n"
16913 "\n"
16914 " n (PLINT, input) : Number of error bars to draw.\n"
16915 "\n"
16916 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16917 " the error bars.\n"
16918 "\n"
16919 " ymin (PLFLT_VECTOR, input) : A vector containing the y coordinates\n"
16920 " of the lower endpoints of the error bars.\n"
16921 "\n"
16922 " ymax (PLFLT_VECTOR, input) : A vector containing the y coordinates\n"
16923 " of the upper endpoints of the error bars.\n"
16924 "\n"
16925 ""},
16926 { "plfamadv", _wrap_plfamadv, METH_NOARGS, "\n"
16927 "Advance to the next family file on the next new page\n"
16928 "\n"
16929 "DESCRIPTION:\n"
16930 "\n"
16931 " Advance to the next family file on the next new page.\n"
16932 "\n"
16933 " Redacted form: plfamadv()\n"
16934 "\n"
16935 " This function is not used in any examples.\n"
16936 "\n"
16937 "\n"
16938 "\n"
16939 "SYNOPSIS:\n"
16940 "\n"
16941 "plfamadv()\n"
16942 "\n"
16943 ""},
16944 { "plfill", _wrap_plfill, METH_VARARGS, "\n"
16945 "Draw filled polygon\n"
16946 "\n"
16947 "DESCRIPTION:\n"
16948 "\n"
16949 " Fills the polygon defined by the n points (\n"
16950 " x[i],\n"
16951 " y[i]) using the pattern defined by plpsty or plpat. The default fill\n"
16952 " style is a solid fill. The routine will automatically close the\n"
16953 " polygon between the last and first vertices. If multiple closed\n"
16954 " polygons are passed in x and y then plfill will fill in between them.\n"
16955 "\n"
16956 " Redacted form: plfill(x,y)\n"
16957 "\n"
16958 " This function is used in examples 12, 13, 15, 16, 21, 24, and 25.\n"
16959 "\n"
16960 "\n"
16961 "\n"
16962 "SYNOPSIS:\n"
16963 "\n"
16964 "plfill(n, x, y)\n"
16965 "\n"
16966 "ARGUMENTS:\n"
16967 "\n"
16968 " n (PLINT, input) : Number of vertices in polygon.\n"
16969 "\n"
16970 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16971 " vertices.\n"
16972 "\n"
16973 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16974 " vertices.\n"
16975 "\n"
16976 ""},
16977 { "plfill3", _wrap_plfill3, METH_VARARGS, "\n"
16978 "Draw filled polygon in 3D\n"
16979 "\n"
16980 "DESCRIPTION:\n"
16981 "\n"
16982 " Fills the 3D polygon defined by the n points in the x, y, and z\n"
16983 " vectors using the pattern defined by plpsty or plpat. The routine\n"
16984 " will automatically close the polygon between the last and first\n"
16985 " vertices. If multiple closed polygons are passed in x, y, and z then\n"
16986 " plfill3 will fill in between them.\n"
16987 "\n"
16988 " Redacted form: General: plfill3(x, y, z)\n"
16989 "\n"
16990 "\n"
16991 " This function is used in example 15.\n"
16992 "\n"
16993 "\n"
16994 "\n"
16995 "SYNOPSIS:\n"
16996 "\n"
16997 "plfill3(n, x, y, z)\n"
16998 "\n"
16999 "ARGUMENTS:\n"
17000 "\n"
17001 " n (PLINT, input) : Number of vertices in polygon.\n"
17002 "\n"
17003 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
17004 " vertices.\n"
17005 "\n"
17006 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
17007 " vertices.\n"
17008 "\n"
17009 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
17010 " vertices.\n"
17011 "\n"
17012 ""},
17013 { "plgradient", _wrap_plgradient, METH_VARARGS, "\n"
17014 "Draw linear gradient inside polygon\n"
17015 "\n"
17016 "DESCRIPTION:\n"
17017 "\n"
17018 " Draw a linear gradient using cmap1 inside the polygon defined by the n\n"
17019 " points (\n"
17020 " x[i],\n"
17021 " y[i]). Interpretation of the polygon is the same as for plfill. The\n"
17022 " polygon coordinates and the gradient angle are all expressed in world\n"
17023 " coordinates. The angle from the x axis for both the rotated\n"
17024 " coordinate system and the gradient vector is specified by angle. The\n"
17025 " magnitude of the gradient vector is the difference between the maximum\n"
17026 " and minimum values of x for the vertices in the rotated coordinate\n"
17027 " system. The origin of the gradient vector can be interpreted as being\n"
17028 " anywhere on the line corresponding to the minimum x value for the\n"
17029 " vertices in the rotated coordinate system. The distance along the\n"
17030 " gradient vector is linearly transformed to the independent variable of\n"
17031 " color map 1 which ranges from 0. at the tail of the gradient vector to\n"
17032 " 1. at the head of the gradient vector. What is drawn is the RGBA\n"
17033 " color corresponding to the independent variable of cmap1. For more\n"
17034 " information about cmap1 (see the PLplot documentation).\n"
17035 "\n"
17036 " Redacted form: plgradient(x,y,angle)\n"
17037 "\n"
17038 " This function is used in examples 25 and 30.\n"
17039 "\n"
17040 "\n"
17041 "\n"
17042 "SYNOPSIS:\n"
17043 "\n"
17044 "plgradient(n, x, y, angle)\n"
17045 "\n"
17046 "ARGUMENTS:\n"
17047 "\n"
17048 " n (PLINT, input) : Number of vertices in polygon.\n"
17049 "\n"
17050 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
17051 " vertices.\n"
17052 "\n"
17053 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
17054 " vertices.\n"
17055 "\n"
17056 " angle (PLFLT, input) : Angle (degrees) of gradient vector from x\n"
17057 " axis.\n"
17058 "\n"
17059 ""},
17060 { "plflush", _wrap_plflush, METH_NOARGS, "\n"
17061 "Flushes the output stream\n"
17062 "\n"
17063 "DESCRIPTION:\n"
17064 "\n"
17065 " Flushes the output stream. Use sparingly, if at all.\n"
17066 "\n"
17067 " Redacted form: plflush()\n"
17068 "\n"
17069 " This function is used in examples 1 and 14.\n"
17070 "\n"
17071 "\n"
17072 "\n"
17073 "SYNOPSIS:\n"
17074 "\n"
17075 "plflush()\n"
17076 "\n"
17077 ""},
17078 { "plfont", _wrap_plfont, METH_O, "\n"
17079 "Set font\n"
17080 "\n"
17081 "DESCRIPTION:\n"
17082 "\n"
17083 " Sets the font used for subsequent text and symbols. For devices that\n"
17084 " still use Hershey fonts this routine has no effect unless the Hershey\n"
17085 " fonts with extended character set are loaded (see plfontld). For\n"
17086 " unicode-aware devices that use system fonts instead of Hershey fonts,\n"
17087 " this routine calls the plsfci routine with argument set up\n"
17088 " appropriately for the various cases below. However, this method of\n"
17089 " specifying the font for unicode-aware devices is deprecated, and the\n"
17090 " much more flexible method of calling plsfont directly is recommended\n"
17091 " instead (where plsfont provides a user-friendly interface to plsfci),\n"
17092 "\n"
17093 " Redacted form: plfont(ifont)\n"
17094 "\n"
17095 " This function is used in examples 1, 2, 4, 7, 13, 24, and 26.\n"
17096 "\n"
17097 "\n"
17098 "\n"
17099 "SYNOPSIS:\n"
17100 "\n"
17101 "plfont(ifont)\n"
17102 "\n"
17103 "ARGUMENTS:\n"
17104 "\n"
17105 " ifont (PLINT, input) : Specifies the font: 1: Sans serif font\n"
17106 " (simplest and fastest)\n"
17107 " 2: Serif font\n"
17108 " 3: Italic font\n"
17109 " 4: Script font\n"
17110 "\n"
17111 ""},
17112 { "plfontld", _wrap_plfontld, METH_O, "\n"
17113 "Load Hershey fonts\n"
17114 "\n"
17115 "DESCRIPTION:\n"
17116 "\n"
17117 " Loads the Hershey fonts used for text and symbols. This routine may\n"
17118 " be called before or after initializing PLplot. If not explicitly\n"
17119 " called before PLplot initialization, then by default that\n"
17120 " initialization loads Hershey fonts with the extended character set.\n"
17121 " This routine only has a practical effect for devices that still use\n"
17122 " Hershey fonts (as opposed to modern devices that use unicode-aware\n"
17123 " system fonts instead of Hershey fonts).\n"
17124 "\n"
17125 " Redacted form: plfontld(fnt)\n"
17126 "\n"
17127 " This function is used in examples 1 and 7.\n"
17128 "\n"
17129 "\n"
17130 "\n"
17131 "SYNOPSIS:\n"
17132 "\n"
17133 "plfontld(fnt)\n"
17134 "\n"
17135 "ARGUMENTS:\n"
17136 "\n"
17137 " fnt (PLINT, input) : Specifies the type of Hershey fonts to load.\n"
17138 " A zero value specifies Hershey fonts with the standard character\n"
17139 " set and a non-zero value (the default assumed if plfontld is never\n"
17140 " called) specifies Hershey fonts with the extended character set.\n"
17141 "\n"
17142 ""},
17143 { "plgchr", _wrap_plgchr, METH_NOARGS, "\n"
17144 "Get character default height and current (scaled) height\n"
17145 "\n"
17146 "DESCRIPTION:\n"
17147 "\n"
17148 " Get character default height and current (scaled) height.\n"
17149 "\n"
17150 " Redacted form: plgchr(p_def, p_ht)\n"
17151 "\n"
17152 " This function is used in example 23.\n"
17153 "\n"
17154 "\n"
17155 "\n"
17156 "SYNOPSIS:\n"
17157 "\n"
17158 "plgchr(p_def, p_ht)\n"
17159 "\n"
17160 "ARGUMENTS:\n"
17161 "\n"
17162 " p_def (PLFLT_NC_SCALAR, output) : Returned value of the default\n"
17163 " character height (mm).\n"
17164 "\n"
17165 " p_ht (PLFLT_NC_SCALAR, output) : Returned value of the scaled\n"
17166 " character height (mm).\n"
17167 "\n"
17168 ""},
17169 { "plgcol0", _wrap_plgcol0, METH_O, "\n"
17170 "Returns 8-bit RGB values for given color index from cmap0\n"
17171 "\n"
17172 "DESCRIPTION:\n"
17173 "\n"
17174 " Returns 8-bit RGB values (0-255) for given color from cmap0 (see the\n"
17175 " PLplot documentation). Values are negative if an invalid color id is\n"
17176 " given.\n"
17177 "\n"
17178 " Redacted form: plgcol0(icol0, r, g, b)\n"
17179 "\n"
17180 " This function is used in example 2.\n"
17181 "\n"
17182 "\n"
17183 "\n"
17184 "SYNOPSIS:\n"
17185 "\n"
17186 "plgcol0(icol0, r, g, b)\n"
17187 "\n"
17188 "ARGUMENTS:\n"
17189 "\n"
17190 " icol0 (PLINT, input) : Index of desired cmap0 color.\n"
17191 "\n"
17192 " r (PLINT_NC_SCALAR, output) : Returned value of the 8-bit red\n"
17193 " value.\n"
17194 "\n"
17195 " g (PLINT_NC_SCALAR, output) : Returned value of the 8-bit green\n"
17196 " value.\n"
17197 "\n"
17198 " b (PLINT_NC_SCALAR, output) : Returned value of the 8-bit blue\n"
17199 " value.\n"
17200 "\n"
17201 ""},
17202 { "plgcol0a", _wrap_plgcol0a, METH_O, "\n"
17203 "Returns 8-bit RGB values and PLFLT alpha transparency value for given color index from cmap0\n"
17204 "\n"
17205 "DESCRIPTION:\n"
17206 "\n"
17207 " Returns 8-bit RGB values (0-255) and PLFLT alpha transparency value\n"
17208 " (0.0-1.0) for given color from cmap0 (see the PLplot documentation).\n"
17209 " Values are negative if an invalid color id is given.\n"
17210 "\n"
17211 " Redacted form: plgcola(r, g, b)\n"
17212 "\n"
17213 " This function is used in example 30.\n"
17214 "\n"
17215 "\n"
17216 "\n"
17217 "SYNOPSIS:\n"
17218 "\n"
17219 "plgcol0a(icol0, r, g, b, alpha)\n"
17220 "\n"
17221 "ARGUMENTS:\n"
17222 "\n"
17223 " icol0 (PLINT, input) : Index of desired cmap0 color.\n"
17224 "\n"
17225 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
17226 " in the range from 0 to 255.\n"
17227 "\n"
17228 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
17229 " in the range from 0 to 255.\n"
17230 "\n"
17231 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
17232 " in the range from 0 to 255.\n"
17233 "\n"
17234 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n"
17235 " transparency in the range from (0.0-1.0).\n"
17236 "\n"
17237 ""},
17238 { "plgcolbg", _wrap_plgcolbg, METH_NOARGS, "\n"
17239 "Returns the background color (cmap0[0]) by 8-bit RGB value\n"
17240 "\n"
17241 "DESCRIPTION:\n"
17242 "\n"
17243 " Returns the background color (cmap0[0]) by 8-bit RGB value.\n"
17244 "\n"
17245 " Redacted form: plgcolbg(r, g, b)\n"
17246 "\n"
17247 " This function is used in example 31.\n"
17248 "\n"
17249 "\n"
17250 "\n"
17251 "SYNOPSIS:\n"
17252 "\n"
17253 "plgcolbg(r, g, b)\n"
17254 "\n"
17255 "ARGUMENTS:\n"
17256 "\n"
17257 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
17258 " in the range from 0 to 255.\n"
17259 "\n"
17260 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
17261 " in the range from 0 to 255.\n"
17262 "\n"
17263 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
17264 " in the range from 0 to 255.\n"
17265 "\n"
17266 ""},
17267 { "plgcolbga", _wrap_plgcolbga, METH_NOARGS, "\n"
17268 "Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT alpha transparency value\n"
17269 "\n"
17270 "DESCRIPTION:\n"
17271 "\n"
17272 " Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT\n"
17273 " alpha transparency value.\n"
17274 "\n"
17275 " This function is used in example 31.\n"
17276 "\n"
17277 "\n"
17278 "\n"
17279 "SYNOPSIS:\n"
17280 "\n"
17281 "plgcolbga(r, g, b, alpha)\n"
17282 "\n"
17283 "ARGUMENTS:\n"
17284 "\n"
17285 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
17286 " in the range from 0 to 255.\n"
17287 "\n"
17288 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
17289 " in the range from 0 to 255.\n"
17290 "\n"
17291 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
17292 " in the range from 0 to 255.\n"
17293 "\n"
17294 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n"
17295 " transparency in the range (0.0-1.0).\n"
17296 "\n"
17297 ""},
17298 { "plgcompression", _wrap_plgcompression, METH_NOARGS, "\n"
17299 "Get the current device-compression setting\n"
17300 "\n"
17301 "DESCRIPTION:\n"
17302 "\n"
17303 " Get the current device-compression setting. This parameter is only\n"
17304 " used for drivers that provide compression.\n"
17305 "\n"
17306 " Redacted form: plgcompression(compression)\n"
17307 "\n"
17308 " This function is used in example 31.\n"
17309 "\n"
17310 "\n"
17311 "\n"
17312 "SYNOPSIS:\n"
17313 "\n"
17314 "plgcompression(compression)\n"
17315 "\n"
17316 "ARGUMENTS:\n"
17317 "\n"
17318 " compression (PLINT_NC_SCALAR, output) : Returned value of the\n"
17319 " compression setting for the current device.\n"
17320 "\n"
17321 ""},
17322 { "plgdev", _wrap_plgdev, METH_NOARGS, "\n"
17323 "Get the current device (keyword) name\n"
17324 "\n"
17325 "DESCRIPTION:\n"
17326 "\n"
17327 " Get the current device (keyword) name. Note: you must have allocated\n"
17328 " space for this (80 characters is safe).\n"
17329 "\n"
17330 " Redacted form: plgdev(p_dev)\n"
17331 "\n"
17332 " This function is used in example 14.\n"
17333 "\n"
17334 "\n"
17335 "\n"
17336 "SYNOPSIS:\n"
17337 "\n"
17338 "plgdev(p_dev)\n"
17339 "\n"
17340 "ARGUMENTS:\n"
17341 "\n"
17342 " p_dev (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
17343 " (with preallocated length of 80 characters or more) containing the\n"
17344 " device (keyword) name.\n"
17345 "\n"
17346 ""},
17347 { "plgdidev", _wrap_plgdidev, METH_NOARGS, "\n"
17348 "Get parameters that define current device-space window\n"
17349 "\n"
17350 "DESCRIPTION:\n"
17351 "\n"
17352 " Get relative margin width, aspect ratio, and relative justification\n"
17353 " that define current device-space window. If plsdidev has not been\n"
17354 " called the default values pointed to by p_mar, p_aspect, p_jx, and\n"
17355 " p_jy will all be 0.\n"
17356 "\n"
17357 " Redacted form: plgdidev(p_mar, p_aspect, p_jx, p_jy)\n"
17358 "\n"
17359 " This function is used in example 31.\n"
17360 "\n"
17361 "\n"
17362 "\n"
17363 "SYNOPSIS:\n"
17364 "\n"
17365 "plgdidev(p_mar, p_aspect, p_jx, p_jy)\n"
17366 "\n"
17367 "ARGUMENTS:\n"
17368 "\n"
17369 " p_mar (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17370 " margin width.\n"
17371 "\n"
17372 " p_aspect (PLFLT_NC_SCALAR, output) : Returned value of the aspect\n"
17373 " ratio.\n"
17374 "\n"
17375 " p_jx (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17376 " justification in x.\n"
17377 "\n"
17378 " p_jy (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17379 " justification in y.\n"
17380 "\n"
17381 ""},
17382 { "plgdiori", _wrap_plgdiori, METH_NOARGS, "\n"
17383 "Get plot orientation\n"
17384 "\n"
17385 "DESCRIPTION:\n"
17386 "\n"
17387 " Get plot orientation parameter which is multiplied by 90 degrees to\n"
17388 " obtain the angle of rotation. Note, arbitrary rotation parameters\n"
17389 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n"
17390 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n"
17391 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n"
17392 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori has\n"
17393 " not been called the default value pointed to by p_rot will be 0.\n"
17394 "\n"
17395 " Redacted form: plgdiori(p_rot)\n"
17396 "\n"
17397 " This function is not used in any examples.\n"
17398 "\n"
17399 "\n"
17400 "\n"
17401 "SYNOPSIS:\n"
17402 "\n"
17403 "plgdiori(p_rot)\n"
17404 "\n"
17405 "ARGUMENTS:\n"
17406 "\n"
17407 " p_rot (PLFLT_NC_SCALAR, output) : Returned value of the orientation\n"
17408 " parameter.\n"
17409 "\n"
17410 ""},
17411 { "plgdiplt", _wrap_plgdiplt, METH_NOARGS, "\n"
17412 "Get parameters that define current plot-space window\n"
17413 "\n"
17414 "DESCRIPTION:\n"
17415 "\n"
17416 " Get relative minima and maxima that define current plot-space window.\n"
17417 " If plsdiplt has not been called the default values pointed to by\n"
17418 " p_xmin, p_ymin, p_xmax, and p_ymax will be 0., 0., 1., and 1.\n"
17419 "\n"
17420 " Redacted form: plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n"
17421 "\n"
17422 " This function is used in example 31.\n"
17423 "\n"
17424 "\n"
17425 "\n"
17426 "SYNOPSIS:\n"
17427 "\n"
17428 "plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n"
17429 "\n"
17430 "ARGUMENTS:\n"
17431 "\n"
17432 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17433 " minimum in x.\n"
17434 "\n"
17435 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17436 " minimum in y.\n"
17437 "\n"
17438 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17439 " maximum in x.\n"
17440 "\n"
17441 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17442 " maximum in y.\n"
17443 "\n"
17444 ""},
17445 { "plgfam", _wrap_plgfam, METH_NOARGS, "\n"
17446 "Get family file parameters\n"
17447 "\n"
17448 "DESCRIPTION:\n"
17449 "\n"
17450 " Gets information about current family file, if familying is enabled.\n"
17451 " See the PLplot documentation for more information.\n"
17452 "\n"
17453 " Redacted form: plgfam(p_fam, p_num, p_bmax)\n"
17454 "\n"
17455 " This function is used in examples 14 and 31.\n"
17456 "\n"
17457 "\n"
17458 "\n"
17459 "SYNOPSIS:\n"
17460 "\n"
17461 "plgfam(p_fam, p_num, p_bmax)\n"
17462 "\n"
17463 "ARGUMENTS:\n"
17464 "\n"
17465 " p_fam (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17466 " family flag value. If nonzero, familying is enabled for the\n"
17467 " current device.\n"
17468 "\n"
17469 " p_num (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17470 " family file number.\n"
17471 "\n"
17472 " p_bmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17473 " file size (in bytes) for a family file.\n"
17474 "\n"
17475 ""},
17476 { "plgfci", _wrap_plgfci, METH_NOARGS, "\n"
17477 "Get FCI (font characterization integer)\n"
17478 "\n"
17479 "DESCRIPTION:\n"
17480 "\n"
17481 " Gets information about the current font using the FCI approach. See\n"
17482 " the PLplot documentation for more information.\n"
17483 "\n"
17484 " Redacted form: plgfci(p_fci)\n"
17485 "\n"
17486 " This function is used in example 23.\n"
17487 "\n"
17488 "\n"
17489 "\n"
17490 "SYNOPSIS:\n"
17491 "\n"
17492 "plgfci(p_fci)\n"
17493 "\n"
17494 "ARGUMENTS:\n"
17495 "\n"
17496 " p_fci (PLUNICODE_NC_SCALAR, output) : Returned value of the current\n"
17497 " FCI value.\n"
17498 "\n"
17499 ""},
17500 { "plgfnam", _wrap_plgfnam, METH_NOARGS, "\n"
17501 "Get output file name\n"
17502 "\n"
17503 "DESCRIPTION:\n"
17504 "\n"
17505 " Gets the current output file name, if applicable.\n"
17506 "\n"
17507 " Redacted form: plgfnam(fnam)\n"
17508 "\n"
17509 " This function is used in example 31.\n"
17510 "\n"
17511 "\n"
17512 "\n"
17513 "SYNOPSIS:\n"
17514 "\n"
17515 "plgfnam(fnam)\n"
17516 "\n"
17517 "ARGUMENTS:\n"
17518 "\n"
17519 " fnam (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
17520 " (with preallocated length of 80 characters or more) containing the\n"
17521 " file name.\n"
17522 "\n"
17523 ""},
17524 { "plgfont", _wrap_plgfont, METH_NOARGS, "\n"
17525 "Get family, style and weight of the current font\n"
17526 "\n"
17527 "DESCRIPTION:\n"
17528 "\n"
17529 " Gets information about current font. See the PLplot documentation for\n"
17530 " more information on font selection.\n"
17531 "\n"
17532 " Redacted form: plgfont(p_family, p_style, p_weight)\n"
17533 "\n"
17534 " This function is used in example 23.\n"
17535 "\n"
17536 "\n"
17537 "\n"
17538 "SYNOPSIS:\n"
17539 "\n"
17540 "plgfont(p_family, p_style, p_weight)\n"
17541 "\n"
17542 "ARGUMENTS:\n"
17543 "\n"
17544 " p_family (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17545 " font family. The available values are given by the PL_FCI_*\n"
17546 " constants in plplot.h. Current options are PL_FCI_SANS,\n"
17547 " PL_FCI_SERIF, PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. If\n"
17548 " p_family is NULL then the font family is not returned.\n"
17549 "\n"
17550 " p_style (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17551 " font style. The available values are given by the PL_FCI_*\n"
17552 " constants in plplot.h. Current options are PL_FCI_UPRIGHT,\n"
17553 " PL_FCI_ITALIC and PL_FCI_OBLIQUE. If p_style is NULL then the font\n"
17554 " style is not returned.\n"
17555 "\n"
17556 " p_weight (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17557 " font weight. The available values are given by the PL_FCI_*\n"
17558 " constants in plplot.h. Current options are PL_FCI_MEDIUM and\n"
17559 " PL_FCI_BOLD. If p_weight is NULL then the font weight is not\n"
17560 " returned.\n"
17561 "\n"
17562 ""},
17563 { "plglevel", _wrap_plglevel, METH_NOARGS, "\n"
17564 "Get the (current) run level\n"
17565 "\n"
17566 "DESCRIPTION:\n"
17567 "\n"
17568 " Get the (current) run level. Valid settings are: 0, uninitialized\n"
17569 " 1, initialized\n"
17570 " 2, viewport defined\n"
17571 " 3, world coordinates defined\n"
17572 "\n"
17573 "\n"
17574 " Redacted form: plglevel(p_level)\n"
17575 "\n"
17576 " This function is used in example 31.\n"
17577 "\n"
17578 "\n"
17579 "\n"
17580 "SYNOPSIS:\n"
17581 "\n"
17582 "plglevel(p_level)\n"
17583 "\n"
17584 "ARGUMENTS:\n"
17585 "\n"
17586 " p_level (PLINT_NC_SCALAR, output) : Returned value of the run\n"
17587 " level.\n"
17588 "\n"
17589 ""},
17590 { "plgpage", _wrap_plgpage, METH_NOARGS, "\n"
17591 "Get page parameters\n"
17592 "\n"
17593 "DESCRIPTION:\n"
17594 "\n"
17595 " Gets the current page configuration. The length and offset values are\n"
17596 " expressed in units that are specific to the current driver. For\n"
17597 " instance: screen drivers will usually interpret them as number of\n"
17598 " pixels, whereas printer drivers will usually use mm.\n"
17599 "\n"
17600 " Redacted form: plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n"
17601 "\n"
17602 " This function is used in examples 14 and 31.\n"
17603 "\n"
17604 "\n"
17605 "\n"
17606 "SYNOPSIS:\n"
17607 "\n"
17608 "plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n"
17609 "\n"
17610 "ARGUMENTS:\n"
17611 "\n"
17612 " p_xp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n"
17613 " pixels/inch (DPI) in x.\n"
17614 "\n"
17615 " p_yp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n"
17616 " pixels/inch (DPI) in y.\n"
17617 "\n"
17618 " p_xleng (PLINT_NC_SCALAR, output) : Returned value of the x page\n"
17619 " length.\n"
17620 "\n"
17621 " p_yleng (PLINT_NC_SCALAR, output) : Returned value of the y page\n"
17622 " length.\n"
17623 "\n"
17624 " p_xoff (PLINT_NC_SCALAR, output) : Returned value of the x page\n"
17625 " offset.\n"
17626 "\n"
17627 " p_yoff (PLINT_NC_SCALAR, output) : Returned value of the y page\n"
17628 " offset.\n"
17629 "\n"
17630 ""},
17631 { "plgra", _wrap_plgra, METH_NOARGS, "\n"
17632 "Switch to graphics screen\n"
17633 "\n"
17634 "DESCRIPTION:\n"
17635 "\n"
17636 " Sets an interactive device to graphics mode, used in conjunction with\n"
17637 " pltext to allow graphics and text to be interspersed. On a device\n"
17638 " which supports separate text and graphics windows, this command causes\n"
17639 " control to be switched to the graphics window. If already in graphics\n"
17640 " mode, this command is ignored. It is also ignored on devices which\n"
17641 " only support a single window or use a different method for shifting\n"
17642 " focus. See also pltext.\n"
17643 "\n"
17644 " Redacted form: plgra()\n"
17645 "\n"
17646 " This function is used in example 1.\n"
17647 "\n"
17648 "\n"
17649 "\n"
17650 "SYNOPSIS:\n"
17651 "\n"
17652 "plgra()\n"
17653 "\n"
17654 ""},
17655 { "plgriddata", _wrap_plgriddata, METH_VARARGS, "\n"
17656 "Grid data from irregularly sampled data\n"
17657 "\n"
17658 "DESCRIPTION:\n"
17659 "\n"
17660 " Real world data is frequently irregularly sampled, but PLplot 3D plots\n"
17661 " require data organized as a grid, i.e., with x sample point values\n"
17662 " independent of y coordinate and vice versa. This function takes\n"
17663 " irregularly sampled data from the x[npts], y[npts], and z[npts]\n"
17664 " vectors; reads the desired grid location from the input vectors\n"
17665 " xg[nptsx] and yg[nptsy]; and returns the interpolated result on that\n"
17666 " grid using the output matrix zg[nptsx][nptsy]. The algorithm used to\n"
17667 " interpolate the data to the grid is specified with the argument type\n"
17668 " which can have one parameter specified in argument data.\n"
17669 "\n"
17670 " Redacted form: General: plgriddata(x, y, z, xg, yg, zg, type, data)\n"
17671 " Python: zg=plgriddata(x, y, z, xg, yg, type, data)\n"
17672 "\n"
17673 "\n"
17674 " This function is used in example 21.\n"
17675 "\n"
17676 "\n"
17677 "\n"
17678 "SYNOPSIS:\n"
17679 "\n"
17680 "plgriddata(x, y, z, npts, xg, nptsx, yg, nptsy, zg, type, data)\n"
17681 "\n"
17682 "ARGUMENTS:\n"
17683 "\n"
17684 " x (PLFLT_VECTOR, input) : The input x vector.\n"
17685 "\n"
17686 " y (PLFLT_VECTOR, input) : The input y vector.\n"
17687 "\n"
17688 " z (PLFLT_VECTOR, input) : The input z vector. Each triple x[i],\n"
17689 " y[i], z[i] represents one data sample coordinate.\n"
17690 "\n"
17691 " npts (PLINT, input) : The number of data samples in the x, y and z\n"
17692 " vectors.\n"
17693 "\n"
17694 " xg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n"
17695 " in the x direction. Usually xg has nptsx equally spaced values\n"
17696 " from the minimum to the maximum values of the x input vector.\n"
17697 "\n"
17698 " nptsx (PLINT, input) : The number of points in the xg vector.\n"
17699 "\n"
17700 " yg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n"
17701 " in the y direction. Similar to the xg parameter.\n"
17702 "\n"
17703 " nptsy (PLINT, input) : The number of points in the yg vector.\n"
17704 "\n"
17705 " zg (PLFLT_NC_MATRIX, output) : The matrix of interpolated results\n"
17706 " where data lies in the grid specified by xg and yg. Therefore the\n"
17707 " zg matrix must be dimensioned\n"
17708 " nptsx by\n"
17709 " nptsy.\n"
17710 "\n"
17711 " type (PLINT, input) : The type of grid interpolation algorithm to\n"
17712 " use, which can be: GRID_CSA: Bivariate Cubic Spline approximation\n"
17713 " GRID_DTLI: Delaunay Triangulation Linear Interpolation\n"
17714 " GRID_NNI: Natural Neighbors Interpolation\n"
17715 " GRID_NNIDW: Nearest Neighbors Inverse Distance Weighted\n"
17716 " GRID_NNLI: Nearest Neighbors Linear Interpolation\n"
17717 " GRID_NNAIDW: Nearest Neighbors Around Inverse Distance\n"
17718 " Weighted\n"
17719 " For details of the algorithms read the source file plgridd.c.\n"
17720 "\n"
17721 " data (PLFLT, input) : Some gridding algorithms require extra data,\n"
17722 " which can be specified through this argument. Currently, for\n"
17723 " algorithm: GRID_NNIDW, data specifies the number of neighbors to\n"
17724 " use, the lower the value, the noisier (more local) the\n"
17725 " approximation is.\n"
17726 " GRID_NNLI, data specifies what a thin triangle is, in the\n"
17727 " range [1. .. 2.]. High values enable the usage of very thin\n"
17728 " triangles for interpolation, possibly resulting in error in\n"
17729 " the approximation.\n"
17730 " GRID_NNI, only weights greater than data will be accepted. If\n"
17731 " 0, all weights will be accepted.\n"
17732 "\n"
17733 ""},
17734 { "plgspa", _wrap_plgspa, METH_NOARGS, "\n"
17735 "Get current subpage parameters\n"
17736 "\n"
17737 "DESCRIPTION:\n"
17738 "\n"
17739 " Gets the size of the current subpage in millimeters measured from the\n"
17740 " bottom left hand corner of the output device page or screen. Can be\n"
17741 " used in conjunction with plsvpa for setting the size of a viewport in\n"
17742 " absolute coordinates (millimeters).\n"
17743 "\n"
17744 " Redacted form: plgspa(xmin, xmax, ymin, ymax)\n"
17745 "\n"
17746 " This function is used in example 23.\n"
17747 "\n"
17748 "\n"
17749 "\n"
17750 "SYNOPSIS:\n"
17751 "\n"
17752 "plgspa(xmin, xmax, ymin, ymax)\n"
17753 "\n"
17754 "ARGUMENTS:\n"
17755 "\n"
17756 " xmin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17757 " the left hand edge of the subpage in millimeters.\n"
17758 "\n"
17759 " xmax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17760 " the right hand edge of the subpage in millimeters.\n"
17761 "\n"
17762 " ymin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17763 " the bottom edge of the subpage in millimeters.\n"
17764 "\n"
17765 " ymax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17766 " the top edge of the subpage in millimeters.\n"
17767 "\n"
17768 ""},
17769 { "plgstrm", _wrap_plgstrm, METH_NOARGS, "\n"
17770 "Get current stream number\n"
17771 "\n"
17772 "DESCRIPTION:\n"
17773 "\n"
17774 " Gets the number of the current output stream. See also plsstrm.\n"
17775 "\n"
17776 " Redacted form: plgstrm(p_strm)\n"
17777 "\n"
17778 " This function is used in example 1,20.\n"
17779 "\n"
17780 "\n"
17781 "\n"
17782 "SYNOPSIS:\n"
17783 "\n"
17784 "plgstrm(p_strm)\n"
17785 "\n"
17786 "ARGUMENTS:\n"
17787 "\n"
17788 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17789 " stream value.\n"
17790 "\n"
17791 ""},
17792 { "plgver", _wrap_plgver, METH_NOARGS, "\n"
17793 "Get the current library version number\n"
17794 "\n"
17795 "DESCRIPTION:\n"
17796 "\n"
17797 " Get the current library version number. Note: you must have allocated\n"
17798 " space for this (80 characters is safe).\n"
17799 "\n"
17800 " Redacted form: plgver(p_ver)\n"
17801 "\n"
17802 " This function is used in example 1.\n"
17803 "\n"
17804 "\n"
17805 "\n"
17806 "SYNOPSIS:\n"
17807 "\n"
17808 "plgver(p_ver)\n"
17809 "\n"
17810 "ARGUMENTS:\n"
17811 "\n"
17812 " p_ver (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
17813 " (with preallocated length of 80 characters or more) containing the\n"
17814 " PLplot version number.\n"
17815 "\n"
17816 ""},
17817 { "plgvpd", _wrap_plgvpd, METH_NOARGS, "\n"
17818 "Get viewport limits in normalized device coordinates\n"
17819 "\n"
17820 "DESCRIPTION:\n"
17821 "\n"
17822 " Get viewport limits in normalized device coordinates.\n"
17823 "\n"
17824 " Redacted form: General: plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17825 "\n"
17826 "\n"
17827 " This function is used in example 31.\n"
17828 "\n"
17829 "\n"
17830 "\n"
17831 "SYNOPSIS:\n"
17832 "\n"
17833 "plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17834 "\n"
17835 "ARGUMENTS:\n"
17836 "\n"
17837 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17838 " viewport limit of the normalized device coordinate in x.\n"
17839 "\n"
17840 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17841 " viewport limit of the normalized device coordinate in x.\n"
17842 "\n"
17843 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17844 " viewport limit of the normalized device coordinate in y.\n"
17845 "\n"
17846 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17847 " viewport limit of the normalized device coordinate in y.\n"
17848 "\n"
17849 ""},
17850 { "plgvpw", _wrap_plgvpw, METH_NOARGS, "\n"
17851 "Get viewport limits in world coordinates\n"
17852 "\n"
17853 "DESCRIPTION:\n"
17854 "\n"
17855 " Get viewport limits in world coordinates.\n"
17856 "\n"
17857 " Redacted form: General: plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17858 "\n"
17859 "\n"
17860 " This function is used in example 31.\n"
17861 "\n"
17862 "\n"
17863 "\n"
17864 "SYNOPSIS:\n"
17865 "\n"
17866 "plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17867 "\n"
17868 "ARGUMENTS:\n"
17869 "\n"
17870 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17871 " viewport limit of the world coordinate in x.\n"
17872 "\n"
17873 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17874 " viewport limit of the world coordinate in x.\n"
17875 "\n"
17876 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17877 " viewport limit of the world coordinate in y.\n"
17878 "\n"
17879 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17880 " viewport limit of the world coordinate in y.\n"
17881 "\n"
17882 ""},
17883 { "plgxax", _wrap_plgxax, METH_NOARGS, "\n"
17884 "Get x axis parameters\n"
17885 "\n"
17886 "DESCRIPTION:\n"
17887 "\n"
17888 " Returns current values of the p_digmax and p_digits flags for the x\n"
17889 " axis. p_digits is updated after the plot is drawn, so this routine\n"
17890 " should only be called after the call to plbox (or plbox3) is complete.\n"
17891 " See the PLplot documentation for more information.\n"
17892 "\n"
17893 " Redacted form: plgxax(p_digmax, p_digits)\n"
17894 "\n"
17895 " This function is used in example 31.\n"
17896 "\n"
17897 "\n"
17898 "\n"
17899 "SYNOPSIS:\n"
17900 "\n"
17901 "plgxax(p_digmax, p_digits)\n"
17902 "\n"
17903 "ARGUMENTS:\n"
17904 "\n"
17905 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17906 " number of digits for the x axis. If nonzero, the printed label\n"
17907 " has been switched to a floating-point representation when the\n"
17908 " number of digits exceeds this value.\n"
17909 "\n"
17910 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17911 " number of digits for the numeric labels (x axis) from the last\n"
17912 " plot.\n"
17913 "\n"
17914 ""},
17915 { "plgyax", _wrap_plgyax, METH_NOARGS, "\n"
17916 "Get y axis parameters\n"
17917 "\n"
17918 "DESCRIPTION:\n"
17919 "\n"
17920 " Identical to plgxax, except that arguments are flags for y axis. See\n"
17921 " the description of plgxax for more detail.\n"
17922 "\n"
17923 " Redacted form: plgyax(p_digmax, p_digits)\n"
17924 "\n"
17925 " This function is used in example 31.\n"
17926 "\n"
17927 "\n"
17928 "\n"
17929 "SYNOPSIS:\n"
17930 "\n"
17931 "plgyax(p_digmax, p_digits)\n"
17932 "\n"
17933 "ARGUMENTS:\n"
17934 "\n"
17935 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17936 " number of digits for the y axis. If nonzero, the printed label\n"
17937 " has been switched to a floating-point representation when the\n"
17938 " number of digits exceeds this value.\n"
17939 "\n"
17940 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17941 " number of digits for the numeric labels (y axis) from the last\n"
17942 " plot.\n"
17943 "\n"
17944 ""},
17945 { "plgzax", _wrap_plgzax, METH_NOARGS, "\n"
17946 "Get z axis parameters\n"
17947 "\n"
17948 "DESCRIPTION:\n"
17949 "\n"
17950 " Identical to plgxax, except that arguments are flags for z axis. See\n"
17951 " the description of plgxax for more detail.\n"
17952 "\n"
17953 " Redacted form: plgzax(p_digmax, p_digits)\n"
17954 "\n"
17955 " This function is used in example 31.\n"
17956 "\n"
17957 "\n"
17958 "\n"
17959 "SYNOPSIS:\n"
17960 "\n"
17961 "plgzax(p_digmax, p_digits)\n"
17962 "\n"
17963 "ARGUMENTS:\n"
17964 "\n"
17965 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17966 " number of digits for the z axis. If nonzero, the printed label\n"
17967 " has been switched to a floating-point representation when the\n"
17968 " number of digits exceeds this value.\n"
17969 "\n"
17970 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17971 " number of digits for the numeric labels (z axis) from the last\n"
17972 " plot.\n"
17973 "\n"
17974 ""},
17975 { "plhist", _wrap_plhist, METH_VARARGS, "\n"
17976 "Plot a histogram from unbinned data\n"
17977 "\n"
17978 "DESCRIPTION:\n"
17979 "\n"
17980 " Plots a histogram from n data points stored in the data vector. This\n"
17981 " routine bins the data into nbin bins equally spaced between datmin and\n"
17982 " datmax, and calls plbin to draw the resulting histogram. Parameter\n"
17983 " opt allows, among other things, the histogram either to be plotted in\n"
17984 " an existing window or causes plhist to call plenv with suitable limits\n"
17985 " before plotting the histogram.\n"
17986 "\n"
17987 " Redacted form: plhist(data, datmin, datmax, nbin, opt)\n"
17988 "\n"
17989 " This function is used in example 5.\n"
17990 "\n"
17991 "\n"
17992 "\n"
17993 "SYNOPSIS:\n"
17994 "\n"
17995 "plhist(n, data, datmin, datmax, nbin, opt)\n"
17996 "\n"
17997 "ARGUMENTS:\n"
17998 "\n"
17999 " n (PLINT, input) : Number of data points.\n"
18000 "\n"
18001 " data (PLFLT_VECTOR, input) : A vector containing the values of the\n"
18002 " n data points.\n"
18003 "\n"
18004 " datmin (PLFLT, input) : Left-hand edge of lowest-valued bin.\n"
18005 "\n"
18006 " datmax (PLFLT, input) : Right-hand edge of highest-valued bin.\n"
18007 "\n"
18008 " nbin (PLINT, input) : Number of (equal-sized) bins into which to\n"
18009 " divide the interval xmin to xmax.\n"
18010 "\n"
18011 " opt (PLINT, input) : Is a combination of several flags:\n"
18012 " opt=PL_HIST_DEFAULT: The axes are automatically rescaled to fit\n"
18013 " the histogram data, the outer bins are expanded to fill up the\n"
18014 " entire x-axis, data outside the given extremes are assigned to the\n"
18015 " outer bins and bins of zero height are simply drawn.\n"
18016 " opt=PL_HIST_NOSCALING|...: The existing axes are not rescaled\n"
18017 " to fit the histogram data, without this flag, plenv is called\n"
18018 " to set the world coordinates.\n"
18019 " opt=PL_HIST_IGNORE_OUTLIERS|...: Data outside the given\n"
18020 " extremes are not taken into account. This option should\n"
18021 " probably be combined with opt=PL_HIST_NOEXPAND|..., so as to\n"
18022 " properly present the data.\n"
18023 " opt=PL_HIST_NOEXPAND|...: The outer bins are drawn with equal\n"
18024 " size as the ones inside.\n"
18025 " opt=PL_HIST_NOEMPTY|...: Bins with zero height are not drawn\n"
18026 " (there is a gap for such bins).\n"
18027 "\n"
18028 ""},
18029 { "plhlsrgb", _wrap_plhlsrgb, METH_VARARGS, "\n"
18030 "Convert HLS color to RGB\n"
18031 "\n"
18032 "DESCRIPTION:\n"
18033 "\n"
18034 " Convert HLS color coordinates to RGB.\n"
18035 "\n"
18036 " Redacted form: General: plhlsrgb(h, l, s, p_r, p_g, p_b)\n"
18037 "\n"
18038 "\n"
18039 " This function is used in example 2.\n"
18040 "\n"
18041 "\n"
18042 "\n"
18043 "SYNOPSIS:\n"
18044 "\n"
18045 "plhlsrgb(h, l, s, p_r, p_g, p_b)\n"
18046 "\n"
18047 "ARGUMENTS:\n"
18048 "\n"
18049 " h (PLFLT, input) : Hue in degrees (0.0-360.0) on the color\n"
18050 " cylinder.\n"
18051 "\n"
18052 " l (PLFLT, input) : Lightness expressed as a fraction (0.0-1.0) of\n"
18053 " the axis of the color cylinder.\n"
18054 "\n"
18055 " s (PLFLT, input) : Saturation expressed as a fraction (0.0-1.0) of\n"
18056 " the radius of the color cylinder.\n"
18057 "\n"
18058 " p_r (PLFLT_NC_SCALAR, output) : Returned value of the red intensity\n"
18059 " (0.0-1.0) of the color.\n"
18060 "\n"
18061 " p_g (PLFLT_NC_SCALAR, output) : Returned value of the green\n"
18062 " intensity (0.0-1.0) of the color.\n"
18063 "\n"
18064 " p_b (PLFLT_NC_SCALAR, output) : Returned value of the blue\n"
18065 " intensity (0.0-1.0) of the color.\n"
18066 "\n"
18067 ""},
18068 { "plinit", _wrap_plinit, METH_NOARGS, "\n"
18069 "Initialize PLplot\n"
18070 "\n"
18071 "DESCRIPTION:\n"
18072 "\n"
18073 " Initializing the plotting package. The program prompts for the device\n"
18074 " keyword or number of the desired output device. Hitting a RETURN in\n"
18075 " response to the prompt is the same as selecting the first device.\n"
18076 " plinit will issue no prompt if either the device was specified\n"
18077 " previously (via command line flag, the plsetopt function, or the\n"
18078 " plsdev function), or if only one device is enabled when PLplot is\n"
18079 " installed. If subpages have been specified, the output device is\n"
18080 " divided into nx by ny subpages, each of which may be used\n"
18081 " independently. If plinit is called again during a program, the\n"
18082 " previously opened file will be closed. The subroutine pladv is used\n"
18083 " to advance from one subpage to the next.\n"
18084 "\n"
18085 " Redacted form: plinit()\n"
18086 "\n"
18087 " This function is used in all of the examples.\n"
18088 "\n"
18089 "\n"
18090 "\n"
18091 "SYNOPSIS:\n"
18092 "\n"
18093 "plinit()\n"
18094 "\n"
18095 ""},
18096 { "pljoin", _wrap_pljoin, METH_VARARGS, "\n"
18097 "Draw a line between two points\n"
18098 "\n"
18099 "DESCRIPTION:\n"
18100 "\n"
18101 " Joins the point (\n"
18102 " x1,\n"
18103 " y1) to (\n"
18104 " x2,\n"
18105 " y2).\n"
18106 "\n"
18107 " Redacted form: pljoin(x1,y1,x2,y2)\n"
18108 "\n"
18109 " This function is used in examples 3 and 14.\n"
18110 "\n"
18111 "\n"
18112 "\n"
18113 "SYNOPSIS:\n"
18114 "\n"
18115 "pljoin(x1, y1, x2, y2)\n"
18116 "\n"
18117 "ARGUMENTS:\n"
18118 "\n"
18119 " x1 (PLFLT, input) : x coordinate of first point.\n"
18120 "\n"
18121 " y1 (PLFLT, input) : y coordinate of first point.\n"
18122 "\n"
18123 " x2 (PLFLT, input) : x coordinate of second point.\n"
18124 "\n"
18125 " y2 (PLFLT, input) : y coordinate of second point.\n"
18126 "\n"
18127 ""},
18128 { "pllab", _wrap_pllab, METH_VARARGS, "\n"
18129 "Simple routine to write labels\n"
18130 "\n"
18131 "DESCRIPTION:\n"
18132 "\n"
18133 " Routine for writing simple labels. Use plmtex for more complex labels.\n"
18134 "\n"
18135 " Redacted form: pllab(xlabel, ylabel, tlabel)\n"
18136 "\n"
18137 " This function is used in examples 1, 5, 9, 12, 14-16, 20-22, and 29.\n"
18138 "\n"
18139 "\n"
18140 "\n"
18141 "SYNOPSIS:\n"
18142 "\n"
18143 "pllab(xlabel, ylabel, tlabel)\n"
18144 "\n"
18145 "ARGUMENTS:\n"
18146 "\n"
18147 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
18148 " the label for the x axis.\n"
18149 "\n"
18150 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
18151 " the label for the y axis.\n"
18152 "\n"
18153 " tlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
18154 " the title of the plot.\n"
18155 "\n"
18156 ""},
18157 { "pllegend", _wrap_pllegend, METH_VARARGS, "\n"
18158 "Plot legend using discretely annotated filled boxes, lines, and/or lines of symbols\n"
18159 "\n"
18160 "DESCRIPTION:\n"
18161 "\n"
18162 " Routine for creating a discrete plot legend with a plotted filled box,\n"
18163 " line, and/or line of symbols for each annotated legend entry. (See\n"
18164 " plcolorbar for similar functionality for creating continuous color\n"
18165 " bars.) The arguments of pllegend provide control over the location\n"
18166 " and size of the legend as well as the location and characteristics of\n"
18167 " the elements (most of which are optional) within that legend. The\n"
18168 " resulting legend is clipped at the boundaries of the current subpage.\n"
18169 " (N.B. the adopted coordinate system used for some of the parameters is\n"
18170 " defined in the documentation of the position parameter.)\n"
18171 "\n"
18172 " Redacted form: pllegend(p_legend_width, p_legend_height, opt,\n"
18173 " position, x, y, plot_width, bg_color, bb_color, bb_style, nrow,\n"
18174 " ncolumn, opt_array, text_offset, text_scale, text_spacing,\n"
18175 " test_justification, text_colors, text, box_colors, box_patterns,\n"
18176 " box_scales, box_line_widths, line_colors, line_styles, line_widths,\n"
18177 " symbol_colors, symbol_scales, symbol_numbers, symbols)\n"
18178 "\n"
18179 " This function is used in examples 4, 26, and 33.\n"
18180 "\n"
18181 "\n"
18182 "\n"
18183 "SYNOPSIS:\n"
18184 "\n"
18185 "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"
18186 "\n"
18187 "ARGUMENTS:\n"
18188 "\n"
18189 " p_legend_width (PLFLT_NC_SCALAR, output) : Returned value of the\n"
18190 " legend width in adopted coordinates. This quantity is calculated\n"
18191 " from plot_width, text_offset, ncolumn (possibly modified inside\n"
18192 " the routine depending on nlegend and nrow), and the length\n"
18193 " (calculated internally) of the longest text string.\n"
18194 "\n"
18195 " p_legend_height (PLFLT_NC_SCALAR, output) : Returned value of the\n"
18196 " legend height in adopted coordinates. This quantity is calculated\n"
18197 " from text_scale, text_spacing, and nrow (possibly modified inside\n"
18198 " the routine depending on nlegend and nrow).\n"
18199 "\n"
18200 " opt (PLINT, input) : opt contains bits controlling the overall\n"
18201 " legend. If the PL_LEGEND_TEXT_LEFT bit is set, put the text area\n"
18202 " on the left of the legend and the plotted area on the right.\n"
18203 " Otherwise, put the text area on the right of the legend and the\n"
18204 " plotted area on the left. If the PL_LEGEND_BACKGROUND bit is set,\n"
18205 " plot a (semitransparent) background for the legend. If the\n"
18206 " PL_LEGEND_BOUNDING_BOX bit is set, plot a bounding box for the\n"
18207 " legend. If the PL_LEGEND_ROW_MAJOR bit is set and (both of the\n"
18208 " possibly internally transformed) nrow > 1 and ncolumn > 1, then\n"
18209 " plot the resulting array of legend entries in row-major order.\n"
18210 " Otherwise, plot the legend entries in column-major order.\n"
18211 "\n"
18212 " position (PLINT, input) : position contains bits which control the\n"
18213 " overall position of the legend and the definition of the adopted\n"
18214 " coordinates used for positions just like what is done for the\n"
18215 " position argument for plcolorbar. However, note that the defaults\n"
18216 " for the position bits (see below) are different than the\n"
18217 " plcolorbar case. The combination of the PL_POSITION_LEFT,\n"
18218 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n"
18219 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n"
18220 " the 16 possible standard positions (the 4 corners and centers of\n"
18221 " the 4 sides for both the inside and outside cases) of the legend\n"
18222 " relative to the adopted coordinate system. The corner positions\n"
18223 " are specified by the appropriate combination of two of the\n"
18224 " PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n"
18225 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n"
18226 " value of one of those bits. The adopted coordinates are\n"
18227 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n"
18228 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n"
18229 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n"
18230 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n"
18231 " then use the combination of PL_POSITION_RIGHT and PL_POSITION_TOP.\n"
18232 " If neither of PL_POSITION_INSIDE or PL_POSITION_OUTSIDE is set,\n"
18233 " use PL_POSITION_INSIDE. If neither of PL_POSITION_VIEWPORT or\n"
18234 " PL_POSITION_SUBPAGE is set, use PL_POSITION_VIEWPORT.\n"
18235 "\n"
18236 " x (PLFLT, input) : X offset of the legend position in adopted\n"
18237 " coordinates from the specified standard position of the legend.\n"
18238 " For positive x, the direction of motion away from the standard\n"
18239 " position is inward/outward from the standard corner positions or\n"
18240 " standard left or right positions if the\n"
18241 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
18242 " For the standard top or bottom positions, the direction of motion\n"
18243 " is toward positive X.\n"
18244 "\n"
18245 " y (PLFLT, input) : Y offset of the legend position in adopted\n"
18246 " coordinates from the specified standard position of the legend.\n"
18247 " For positive y, the direction of motion away from the standard\n"
18248 " position is inward/outward from the standard corner positions or\n"
18249 " standard top or bottom positions if the\n"
18250 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position. For\n"
18251 " the standard left or right positions, the direction of motion is\n"
18252 " toward positive Y.\n"
18253 "\n"
18254 " plot_width (PLFLT, input) : Horizontal width in adopted coordinates\n"
18255 " of the plot area (where the colored boxes, lines, and/or lines of\n"
18256 " symbols are drawn) of the legend.\n"
18257 "\n"
18258 " bg_color (PLINT, input) : The cmap0 color of the background for the\n"
18259 " legend (PL_LEGEND_BACKGROUND).\n"
18260 "\n"
18261 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n"
18262 " for the legend (PL_LEGEND_BOUNDING_BOX).\n"
18263 "\n"
18264 " bb_style (PLINT, input) : The pllsty style number for the\n"
18265 " bounding-box line for the legend (PL_LEGEND_BACKGROUND).\n"
18266 "\n"
18267 " nrow (PLINT, input) : The number of rows in the matrix used to\n"
18268 " render the\n"
18269 " nlegend legend entries. For internal transformations of\n"
18270 " nrow, see further remarks under\n"
18271 " nlegend.\n"
18272 "\n"
18273 " ncolumn (PLINT, input) : The number of columns in the matrix used\n"
18274 " to render the\n"
18275 " nlegend legend entries. For internal transformations of\n"
18276 " ncolumn, see further remarks under\n"
18277 " nlegend.\n"
18278 "\n"
18279 " nlegend (PLINT, input) : Number of legend entries. The above\n"
18280 " nrow and\n"
18281 " ncolumn values are transformed internally to be consistent with\n"
18282 " nlegend. If either\n"
18283 " nrow or\n"
18284 " ncolumn is non-positive it is replaced by 1. If the resulting product\n"
18285 " of\n"
18286 " nrow and\n"
18287 " ncolumn is less than\n"
18288 " nlegend, the smaller of the two (or\n"
18289 " nrow, if\n"
18290 " nrow ==\n"
18291 " ncolumn) is increased so the product is >=\n"
18292 " nlegend. Thus, for example, the common\n"
18293 " nrow = 0,\n"
18294 " ncolumn = 0 case is transformed internally to\n"
18295 " nrow =\n"
18296 " nlegend,\n"
18297 " ncolumn = 1; i.e., the usual case of a legend rendered as a single\n"
18298 " column.\n"
18299 "\n"
18300 " opt_array (PLINT_VECTOR, input) : A vector of\n"
18301 " nlegend values of options to control each individual plotted area\n"
18302 " corresponding to a legend entry. If the\n"
18303 " PL_LEGEND_NONE bit is set, then nothing is plotted in the plotted\n"
18304 " area. If the\n"
18305 " PL_LEGEND_COLOR_BOX,\n"
18306 " PL_LEGEND_LINE, and/or\n"
18307 " PL_LEGEND_SYMBOL bits are set, the area corresponding to a legend\n"
18308 " entry is plotted with a colored box; a line; and/or a line of\n"
18309 " symbols.\n"
18310 "\n"
18311 " text_offset (PLFLT, input) : Offset of the text area from the plot\n"
18312 " area in units of character width.\n"
18313 "\n"
18314 " text_scale (PLFLT, input) : Character height scale for text\n"
18315 " annotations.\n"
18316 "\n"
18317 " text_spacing (PLFLT, input) : Vertical spacing in units of the\n"
18318 " character height from one legend entry to the next.\n"
18319 "\n"
18320 " text_justification (PLFLT, input) : Justification parameter used\n"
18321 " for text justification. The most common values of\n"
18322 " text_justification are 0., 0.5, or 1. corresponding to a text that\n"
18323 " is left justified, centred, or right justified within the text\n"
18324 " area, but other values are allowed as well.\n"
18325 "\n"
18326 " text_colors (PLINT_VECTOR, input) : A vector containing\n"
18327 " nlegend cmap0 text colors.\n"
18328 "\n"
18329 " text (PLCHAR_MATRIX, input) : A vector of\n"
18330 " nlegend UTF-8 character strings containing the legend annotations.\n"
18331 "\n"
18332 " box_colors (PLINT_VECTOR, input) : A vector containing\n"
18333 " nlegend cmap0 colors for the discrete colored boxes (\n"
18334 " PL_LEGEND_COLOR_BOX).\n"
18335 "\n"
18336 " box_patterns (PLINT_VECTOR, input) : A vector containing\n"
18337 " nlegend patterns (plpsty indices) for the discrete colored boxes (\n"
18338 " PL_LEGEND_COLOR_BOX).\n"
18339 "\n"
18340 " box_scales (PLFLT_VECTOR, input) : A vector containing\n"
18341 " nlegend scales (units of fraction of character height) for the height\n"
18342 " of the discrete colored boxes (\n"
18343 " PL_LEGEND_COLOR_BOX).\n"
18344 "\n"
18345 " box_line_widths (PLFLT_VECTOR, input) : A vector containing\n"
18346 " nlegend line widths for the patterns specified by box_patterns (\n"
18347 " PL_LEGEND_COLOR_BOX).\n"
18348 "\n"
18349 " line_colors (PLINT_VECTOR, input) : A vector containing\n"
18350 " nlegend cmap0 line colors (\n"
18351 " PL_LEGEND_LINE).\n"
18352 "\n"
18353 " line_styles (PLINT_VECTOR, input) : A vector containing\n"
18354 " nlegend line styles (plsty indices) (\n"
18355 " PL_LEGEND_LINE).\n"
18356 "\n"
18357 " line_widths (PLFLT_VECTOR, input) : A vector containing\n"
18358 " nlegend line widths (\n"
18359 " PL_LEGEND_LINE).\n"
18360 "\n"
18361 " symbol_colors (PLINT_VECTOR, input) : A vector containing\n"
18362 " nlegend cmap0 symbol colors (\n"
18363 " PL_LEGEND_SYMBOL).\n"
18364 "\n"
18365 " symbol_scales (PLFLT_VECTOR, input) : A vector containing\n"
18366 " nlegend scale values for the symbol height (\n"
18367 " PL_LEGEND_SYMBOL).\n"
18368 "\n"
18369 " symbol_numbers (PLINT_VECTOR, input) : A vector containing\n"
18370 " nlegend numbers of symbols to be drawn across the width of the plotted\n"
18371 " area (\n"
18372 " PL_LEGEND_SYMBOL).\n"
18373 "\n"
18374 " symbols (PLCHAR_MATRIX, input) : A vector of\n"
18375 " nlegend UTF-8 character strings containing the legend symbols. (\n"
18376 " PL_LEGEND_SYMBOL).\n"
18377 "\n"
18378 ""},
18379 { "plcolorbar", _wrap_plcolorbar, METH_VARARGS, "\n"
18380 "Plot color bar for image, shade or gradient plots\n"
18381 "\n"
18382 "DESCRIPTION:\n"
18383 "\n"
18384 " Routine for creating a continuous color bar for image, shade, or\n"
18385 " gradient plots. (See pllegend for similar functionality for creating\n"
18386 " legends with discrete elements). The arguments of plcolorbar provide\n"
18387 " control over the location and size of the color bar as well as the\n"
18388 " location and characteristics of the elements (most of which are\n"
18389 " optional) within that color bar. The resulting color bar is clipped\n"
18390 " at the boundaries of the current subpage. (N.B. the adopted coordinate\n"
18391 " system used for some of the parameters is defined in the documentation\n"
18392 " of the position parameter.)\n"
18393 "\n"
18394 " Redacted form: plcolorbar(p_colorbar_width, p_colorbar_height, opt,\n"
18395 " position, x, y, x_length, y_length, bg_color, bb_color, bb_style,\n"
18396 " low_cap_color, high_cap_color, cont_color, cont_width, label_opts,\n"
18397 " labels, axis_opts, ticks, sub_ticks, values)\n"
18398 "\n"
18399 " This function is used in examples 16 and 33.\n"
18400 "\n"
18401 "\n"
18402 "\n"
18403 "SYNOPSIS:\n"
18404 "\n"
18405 "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"
18406 "\n"
18407 "ARGUMENTS:\n"
18408 "\n"
18409 " p_colorbar_width (PLFLT_NC_SCALAR, output) : Returned value of the\n"
18410 " labelled and decorated color bar width in adopted coordinates.\n"
18411 "\n"
18412 " p_colorbar_height (PLFLT_NC_SCALAR, output) : Returned value of the\n"
18413 " labelled and decorated color bar height in adopted coordinates.\n"
18414 "\n"
18415 " opt (PLINT, input) : opt contains bits controlling the overall\n"
18416 " color bar. The orientation (direction of the maximum value) of\n"
18417 " the color bar is specified with PL_ORIENT_RIGHT, PL_ORIENT_TOP,\n"
18418 " PL_ORIENT_LEFT, or PL_ORIENT_BOTTOM. If none of these bits are\n"
18419 " specified, the default orientation is toward the top if the\n"
18420 " colorbar is placed on the left or right of the viewport or toward\n"
18421 " the right if the colorbar is placed on the top or bottom of the\n"
18422 " viewport. If the PL_COLORBAR_BACKGROUND bit is set, plot a\n"
18423 " (semitransparent) background for the color bar. If the\n"
18424 " PL_COLORBAR_BOUNDING_BOX bit is set, plot a bounding box for the\n"
18425 " color bar. The type of color bar must be specified with one of\n"
18426 " PL_COLORBAR_IMAGE, PL_COLORBAR_SHADE, or PL_COLORBAR_GRADIENT. If\n"
18427 " more than one of those bits is set only the first one in the above\n"
18428 " list is honored. The position of the (optional) label/title can be\n"
18429 " specified with PL_LABEL_RIGHT, PL_LABEL_TOP, PL_LABEL_LEFT, or\n"
18430 " PL_LABEL_BOTTOM. If no label position bit is set then no label\n"
18431 " will be drawn. If more than one of this list of bits is specified,\n"
18432 " only the first one on the list is honored. End-caps for the color\n"
18433 " bar can added with PL_COLORBAR_CAP_LOW and PL_COLORBAR_CAP_HIGH.\n"
18434 " If a particular color bar cap option is not specified then no cap\n"
18435 " will be drawn for that end. As a special case for\n"
18436 " PL_COLORBAR_SHADE, the option PL_COLORBAR_SHADE_LABEL can be\n"
18437 " specified. If this option is provided then any tick marks and tick\n"
18438 " labels will be placed at the breaks between shaded segments. TODO:\n"
18439 " This should be expanded to support custom placement of tick marks\n"
18440 " and tick labels at custom value locations for any color bar type.\n"
18441 "\n"
18442 " position (PLINT, input) : position contains bits which control the\n"
18443 " overall position of the color bar and the definition of the\n"
18444 " adopted coordinates used for positions just like what is done for\n"
18445 " the position argument for pllegend. However, note that the\n"
18446 " defaults for the position bits (see below) are different than the\n"
18447 " pllegend case. The combination of the PL_POSITION_LEFT,\n"
18448 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n"
18449 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n"
18450 " the 16 possible standard positions (the 4 corners and centers of\n"
18451 " the 4 sides for both the inside and outside cases) of the color\n"
18452 " bar relative to the adopted coordinate system. The corner\n"
18453 " positions are specified by the appropriate combination of two of\n"
18454 " the PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n"
18455 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n"
18456 " value of one of those bits. The adopted coordinates are\n"
18457 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n"
18458 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n"
18459 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n"
18460 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n"
18461 " then use PL_POSITION_RIGHT. If neither of PL_POSITION_INSIDE or\n"
18462 " PL_POSITION_OUTSIDE is set, use PL_POSITION_OUTSIDE. If neither of\n"
18463 " PL_POSITION_VIEWPORT or PL_POSITION_SUBPAGE is set, use\n"
18464 " PL_POSITION_VIEWPORT.\n"
18465 "\n"
18466 " x (PLFLT, input) : X offset of the color bar position in adopted\n"
18467 " coordinates from the specified standard position of the color bar.\n"
18468 " For positive x, the direction of motion away from the standard\n"
18469 " position is inward/outward from the standard corner positions or\n"
18470 " standard left or right positions if the\n"
18471 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
18472 " For the standard top or bottom positions, the direction of motion\n"
18473 " is toward positive X.\n"
18474 "\n"
18475 " y (PLFLT, input) : Y offset of the color bar position in adopted\n"
18476 " coordinates from the specified standard position of the color bar.\n"
18477 " For positive y, the direction of motion away from the standard\n"
18478 " position is inward/outward from the standard corner positions or\n"
18479 " standard top or bottom positions if the\n"
18480 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
18481 " For the standard left or right positions, the direction of motion\n"
18482 " is toward positive Y.\n"
18483 "\n"
18484 " x_length (PLFLT, input) : Length of the body of the color bar in\n"
18485 " the X direction in adopted coordinates.\n"
18486 "\n"
18487 " y_length (PLFLT, input) : Length of the body of the color bar in\n"
18488 " the Y direction in adopted coordinates.\n"
18489 "\n"
18490 " bg_color (PLINT, input) : The cmap0 color of the background for the\n"
18491 " color bar (PL_COLORBAR_BACKGROUND).\n"
18492 "\n"
18493 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n"
18494 " for the color bar (PL_COLORBAR_BOUNDING_BOX).\n"
18495 "\n"
18496 " bb_style (PLINT, input) : The pllsty style number for the\n"
18497 " bounding-box line for the color bar (PL_COLORBAR_BACKGROUND).\n"
18498 "\n"
18499 " low_cap_color (PLFLT, input) : The cmap1 color of the low-end color\n"
18500 " bar cap, if it is drawn (PL_COLORBAR_CAP_LOW).\n"
18501 "\n"
18502 " high_cap_color (PLFLT, input) : The cmap1 color of the high-end\n"
18503 " color bar cap, if it is drawn (PL_COLORBAR_CAP_HIGH).\n"
18504 "\n"
18505 " cont_color (PLINT, input) : The cmap0 contour color for\n"
18506 " PL_COLORBAR_SHADE plots. This is passed directly to plshades, so\n"
18507 " it will be interpreted according to the design of plshades.\n"
18508 "\n"
18509 " cont_width (PLFLT, input) : Contour width for PL_COLORBAR_SHADE\n"
18510 " plots. This is passed directly to plshades, so it will be\n"
18511 " interpreted according to the design of plshades.\n"
18512 "\n"
18513 " n_labels (PLINT, input) : Number of labels to place around the\n"
18514 " color bar.\n"
18515 "\n"
18516 " label_opts (PLINT_VECTOR, input) : A vector of options for each of\n"
18517 " n_labels labels.\n"
18518 "\n"
18519 " labels (PLCHAR_MATRIX, input) : A vector of\n"
18520 " n_labels UTF-8 character strings containing the labels for the color\n"
18521 " bar. Ignored if no label position is specified with one of the\n"
18522 " PL_COLORBAR_LABEL_RIGHT, PL_COLORBAR_LABEL_TOP,\n"
18523 " PL_COLORBAR_LABEL_LEFT, or PL_COLORBAR_LABEL_BOTTOM bits in the\n"
18524 " corresponding label_opts field.\n"
18525 "\n"
18526 " n_axes (PLINT, input) : Number of axis definitions provided. This\n"
18527 " value must be greater than 0. It is typically 1 (numerical axis\n"
18528 " labels are provided for one of the long edges of the color bar),\n"
18529 " but it can be larger if multiple numerical axis labels for the\n"
18530 " long edges of the color bar are desired.\n"
18531 "\n"
18532 " axis_opts (PLCHAR_MATRIX, input) : A vector of\n"
18533 " n_axes ascii character strings containing options (interpreted as for\n"
18534 " plbox) for the color bar's axis definitions.\n"
18535 "\n"
18536 " ticks (PLFLT_VECTOR, input) : A vector of n_axes values of the\n"
18537 " spacing of the major tick marks (interpreted as for plbox) for the\n"
18538 " color bar's axis definitions.\n"
18539 "\n"
18540 " sub_ticks (PLINT_VECTOR, input) : A vector of n_axes values of the\n"
18541 " number of subticks (interpreted as for plbox) for the color bar's\n"
18542 " axis definitions.\n"
18543 "\n"
18544 " n_values (PLINT_VECTOR, input) : A vector containing the number of\n"
18545 " elements in each of the n_axes rows of the values matrix.\n"
18546 "\n"
18547 " values (PLFLT_MATRIX, input) : A matrix containing the numeric\n"
18548 " values for the data range represented by the color bar. For a row\n"
18549 " index of i_axis (where 0 < i_axis < n_axes), the number of\n"
18550 " elements in the row is specified by n_values[i_axis]. For\n"
18551 " PL_COLORBAR_IMAGE and PL_COLORBAR_GRADIENT the number of elements\n"
18552 " is 2, and the corresponding row elements of the values matrix are\n"
18553 " the minimum and maximum value represented by the colorbar. For\n"
18554 " PL_COLORBAR_SHADE, the number and values of the elements of a row\n"
18555 " of the values matrix is interpreted the same as the nlevel and\n"
18556 " clevel arguments of plshades.\n"
18557 "\n"
18558 ""},
18559 { "pllightsource", _wrap_pllightsource, METH_VARARGS, "\n"
18560 "Sets the 3D position of the light source\n"
18561 "\n"
18562 "DESCRIPTION:\n"
18563 "\n"
18564 " Sets the 3D position of the light source for use with plsurf3d and\n"
18565 " plsurf3dl\n"
18566 "\n"
18567 " Redacted form: pllightsource(x, y, z)\n"
18568 "\n"
18569 " This function is used in example 8.\n"
18570 "\n"
18571 "\n"
18572 "\n"
18573 "SYNOPSIS:\n"
18574 "\n"
18575 "pllightsource(x, y, z)\n"
18576 "\n"
18577 "ARGUMENTS:\n"
18578 "\n"
18579 " x (PLFLT, input) : X-coordinate of the light source.\n"
18580 "\n"
18581 " y (PLFLT, input) : Y-coordinate of the light source.\n"
18582 "\n"
18583 " z (PLFLT, input) : Z-coordinate of the light source.\n"
18584 "\n"
18585 ""},
18586 { "plline", _wrap_plline, METH_VARARGS, "\n"
18587 "Draw a line\n"
18588 "\n"
18589 "DESCRIPTION:\n"
18590 "\n"
18591 " Draws line defined by n points in x and y.\n"
18592 "\n"
18593 " Redacted form: plline(x, y)\n"
18594 "\n"
18595 " This function is used in examples 1, 3, 4, 9, 12-14, 16, 18, 20, 22,\n"
18596 " 25-27, and 29.\n"
18597 "\n"
18598 "\n"
18599 "\n"
18600 "SYNOPSIS:\n"
18601 "\n"
18602 "plline(n, x, y)\n"
18603 "\n"
18604 "ARGUMENTS:\n"
18605 "\n"
18606 " n (PLINT, input) : Number of points defining line.\n"
18607 "\n"
18608 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
18609 " points.\n"
18610 "\n"
18611 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
18612 " points.\n"
18613 "\n"
18614 ""},
18615 { "plline3", _wrap_plline3, METH_VARARGS, "\n"
18616 "Draw a line in 3 space\n"
18617 "\n"
18618 "DESCRIPTION:\n"
18619 "\n"
18620 " Draws line in 3 space defined by n points in x, y, and z. You must\n"
18621 " first set up the viewport, the 2d viewing window (in world\n"
18622 " coordinates), and the 3d normalized coordinate box. See x18c.c for\n"
18623 " more info.\n"
18624 "\n"
18625 " Redacted form: plline3(x, y, z)\n"
18626 "\n"
18627 " This function is used in example 18.\n"
18628 "\n"
18629 "\n"
18630 "\n"
18631 "SYNOPSIS:\n"
18632 "\n"
18633 "plline3(n, x, y, z)\n"
18634 "\n"
18635 "ARGUMENTS:\n"
18636 "\n"
18637 " n (PLINT, input) : Number of points defining line.\n"
18638 "\n"
18639 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
18640 " points.\n"
18641 "\n"
18642 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
18643 " points.\n"
18644 "\n"
18645 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
18646 " points.\n"
18647 "\n"
18648 ""},
18649 { "pllsty", _wrap_pllsty, METH_O, "\n"
18650 "Select line style\n"
18651 "\n"
18652 "DESCRIPTION:\n"
18653 "\n"
18654 " This sets the line style according to one of eight predefined patterns\n"
18655 " (also see plstyl).\n"
18656 "\n"
18657 " Redacted form: pllsty(lin)\n"
18658 "\n"
18659 " This function is used in examples 9, 12, 22, and 25.\n"
18660 "\n"
18661 "\n"
18662 "\n"
18663 "SYNOPSIS:\n"
18664 "\n"
18665 "pllsty(lin)\n"
18666 "\n"
18667 "ARGUMENTS:\n"
18668 "\n"
18669 " lin (PLINT, input) : Integer value between 1 and 8. Line style 1 is\n"
18670 " a continuous line, line style 2 is a line with short dashes and\n"
18671 " gaps, line style 3 is a line with long dashes and gaps, line style\n"
18672 " 4 has long dashes and short gaps and so on.\n"
18673 "\n"
18674 ""},
18675 { "plmesh", _wrap_plmesh, METH_VARARGS, "\n"
18676 "Plot surface mesh\n"
18677 "\n"
18678 "DESCRIPTION:\n"
18679 "\n"
18680 " Plots a surface mesh within the environment set up by plw3d. The\n"
18681 " surface is defined by the matrix z[\n"
18682 " nx][\n"
18683 " ny] , the point z[i][j] being the value of the function at (\n"
18684 " x[i],\n"
18685 " y[j]). Note that the points in vectors x and y do not need to be\n"
18686 " equally spaced, but must be stored in ascending order. The parameter\n"
18687 " opt controls the way in which the surface is displayed. For further\n"
18688 " details see the PLplot documentation.\n"
18689 "\n"
18690 " Redacted form: plmesh(x, y, z, opt)\n"
18691 "\n"
18692 " This function is used in example 11.\n"
18693 "\n"
18694 "\n"
18695 "\n"
18696 "SYNOPSIS:\n"
18697 "\n"
18698 "plmesh(x, y, z, nx, ny, opt)\n"
18699 "\n"
18700 "ARGUMENTS:\n"
18701 "\n"
18702 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18703 " which the function is evaluated.\n"
18704 "\n"
18705 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18706 " which the function is evaluated.\n"
18707 "\n"
18708 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18709 " plot. Should have dimensions of\n"
18710 " nx by\n"
18711 " ny.\n"
18712 "\n"
18713 " nx (PLINT, input) : Number of x values at which function has been\n"
18714 " evaluated.\n"
18715 "\n"
18716 " ny (PLINT, input) : Number of y values at which function has been\n"
18717 " evaluated.\n"
18718 "\n"
18719 " opt (PLINT, input) : Determines the way in which the surface is\n"
18720 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n"
18721 " function of x for each value of y[j] .\n"
18722 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18723 " for each value of x[i] .\n"
18724 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18725 " at which function is defined.\n"
18726 "\n"
18727 ""},
18728 { "plmeshc", _wrap_plmeshc, METH_VARARGS, "\n"
18729 "Magnitude colored plot surface mesh with contour\n"
18730 "\n"
18731 "DESCRIPTION:\n"
18732 "\n"
18733 " A more powerful form of plmesh: the surface mesh can be colored\n"
18734 " accordingly to the current z value being plotted, a contour plot can\n"
18735 " be drawn at the base XY plane, and a curtain can be drawn between the\n"
18736 " plotted function border and the base XY plane.\n"
18737 "\n"
18738 " Redacted form: plmeshc(x, y, z, opt, clevel)\n"
18739 "\n"
18740 " This function is used in example 11.\n"
18741 "\n"
18742 "\n"
18743 "\n"
18744 "SYNOPSIS:\n"
18745 "\n"
18746 "plmeshc(x, y, z, nx, ny, opt, clevel, nlevel)\n"
18747 "\n"
18748 "ARGUMENTS:\n"
18749 "\n"
18750 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18751 " which the function is evaluated.\n"
18752 "\n"
18753 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18754 " which the function is evaluated.\n"
18755 "\n"
18756 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18757 " plot. Should have dimensions of\n"
18758 " nx by\n"
18759 " ny.\n"
18760 "\n"
18761 " nx (PLINT, input) : Number of x values at which function is\n"
18762 " evaluated.\n"
18763 "\n"
18764 " ny (PLINT, input) : Number of y values at which function is\n"
18765 " evaluated.\n"
18766 "\n"
18767 " opt (PLINT, input) : Determines the way in which the surface is\n"
18768 " represented. To specify more than one option just add the options,\n"
18769 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
18770 " showing z as a function of x for each value of y[j] .\n"
18771 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18772 " for each value of x[i] .\n"
18773 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18774 " at which function is defined.\n"
18775 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
18776 " the z value being plotted. The color is used from the current\n"
18777 " cmap1.\n"
18778 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18779 " using parameters\n"
18780 " nlevel and\n"
18781 " clevel.\n"
18782 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18783 " the borders of the plotted function.\n"
18784 "\n"
18785 "\n"
18786 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18787 " levels.\n"
18788 "\n"
18789 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18790 "\n"
18791 ""},
18792 { "plmkstrm", _wrap_plmkstrm, METH_NOARGS, "\n"
18793 "Creates a new stream and makes it the default\n"
18794 "\n"
18795 "DESCRIPTION:\n"
18796 "\n"
18797 " Creates a new stream and makes it the default. Differs from using\n"
18798 " plsstrm, in that a free stream number is found, and returned.\n"
18799 " Unfortunately, I have to start at stream 1 and work upward, since\n"
18800 " stream 0 is preallocated. One of the big flaws in the PLplot API is\n"
18801 " that no initial, library-opening call is required. So stream 0 must\n"
18802 " be preallocated, and there is no simple way of determining whether it\n"
18803 " is already in use or not.\n"
18804 "\n"
18805 " Redacted form: plmkstrm(p_strm)\n"
18806 "\n"
18807 " This function is used in examples 1 and 20.\n"
18808 "\n"
18809 "\n"
18810 "\n"
18811 "SYNOPSIS:\n"
18812 "\n"
18813 "plmkstrm(p_strm)\n"
18814 "\n"
18815 "ARGUMENTS:\n"
18816 "\n"
18817 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the stream\n"
18818 " number of the created stream.\n"
18819 "\n"
18820 ""},
18821 { "plmtex", _wrap_plmtex, METH_VARARGS, "\n"
18822 "Write text relative to viewport boundaries\n"
18823 "\n"
18824 "DESCRIPTION:\n"
18825 "\n"
18826 " Writes text at a specified position relative to the viewport\n"
18827 " boundaries. Text may be written inside or outside the viewport, but\n"
18828 " is clipped at the subpage boundaries. The reference point of a string\n"
18829 " lies along a line passing through the string at half the height of a\n"
18830 " capital letter. The position of the reference point along this line\n"
18831 " is determined by just, and the position of the reference point\n"
18832 " relative to the viewport is set by disp and pos.\n"
18833 "\n"
18834 " Redacted form: General: plmtex(side, disp, pos, just, text)\n"
18835 "\n"
18836 "\n"
18837 " This function is used in examples 3, 4, 6-8, 11, 12, 14, 18, 23, and\n"
18838 " 26.\n"
18839 "\n"
18840 "\n"
18841 "\n"
18842 "SYNOPSIS:\n"
18843 "\n"
18844 "plmtex(side, disp, pos, just, text)\n"
18845 "\n"
18846 "ARGUMENTS:\n"
18847 "\n"
18848 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
18849 " the side of the viewport along which the text is to be written.\n"
18850 " The string must be one of: b: Bottom of viewport, text written\n"
18851 " parallel to edge.\n"
18852 " bv: Bottom of viewport, text written at right angles to edge.\n"
18853 " l: Left of viewport, text written parallel to edge.\n"
18854 " lv: Left of viewport, text written at right angles to edge.\n"
18855 " r: Right of viewport, text written parallel to edge.\n"
18856 " rv: Right of viewport, text written at right angles to edge.\n"
18857 " t: Top of viewport, text written parallel to edge.\n"
18858 " tv: Top of viewport, text written at right angles to edge.\n"
18859 "\n"
18860 "\n"
18861 " disp (PLFLT, input) : Position of the reference point of string,\n"
18862 " measured outwards from the specified viewport edge in units of the\n"
18863 " current character height. Use negative disp to write within the\n"
18864 " viewport.\n"
18865 "\n"
18866 " pos (PLFLT, input) : Position of the reference point of string\n"
18867 " along the specified edge, expressed as a fraction of the length of\n"
18868 " the edge.\n"
18869 "\n"
18870 " just (PLFLT, input) : Specifies the position of the string relative\n"
18871 " to its reference point. If just=0. , the reference point is at\n"
18872 " the left and if just=1. , it is at the right of the string. Other\n"
18873 " values of just give intermediate justifications.\n"
18874 "\n"
18875 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
18876 " written out.\n"
18877 "\n"
18878 ""},
18879 { "plmtex3", _wrap_plmtex3, METH_VARARGS, "\n"
18880 "Write text relative to viewport boundaries in 3D plots\n"
18881 "\n"
18882 "DESCRIPTION:\n"
18883 "\n"
18884 " Writes text at a specified position relative to the viewport\n"
18885 " boundaries. Text may be written inside or outside the viewport, but\n"
18886 " is clipped at the subpage boundaries. The reference point of a string\n"
18887 " lies along a line passing through the string at half the height of a\n"
18888 " capital letter. The position of the reference point along this line\n"
18889 " is determined by just, and the position of the reference point\n"
18890 " relative to the viewport is set by disp and pos.\n"
18891 "\n"
18892 " Redacted form: plmtex3(side, disp, pos, just, text)\n"
18893 "\n"
18894 " This function is used in example 28.\n"
18895 "\n"
18896 "\n"
18897 "\n"
18898 "SYNOPSIS:\n"
18899 "\n"
18900 "plmtex3(side, disp, pos, just, text)\n"
18901 "\n"
18902 "ARGUMENTS:\n"
18903 "\n"
18904 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
18905 " the side of the viewport along which the text is to be written.\n"
18906 " The string should contain one or more of the following characters:\n"
18907 " [xyz][ps][v]. Only one label is drawn at a time, i.e. xyp will\n"
18908 " only label the X axis, not both the X and Y axes. x: Label the X\n"
18909 " axis.\n"
18910 " y: Label the Y axis.\n"
18911 " z: Label the Z axis.\n"
18912 " p: Label the primary axis. For Z this is the leftmost Z axis.\n"
18913 " For X it is the axis that starts at y-min. For Y it is the\n"
18914 " axis that starts at x-min.\n"
18915 " s: Label the secondary axis.\n"
18916 " v: Draw the text perpendicular to the axis.\n"
18917 "\n"
18918 "\n"
18919 " disp (PLFLT, input) : Position of the reference point of string,\n"
18920 " measured outwards from the specified viewport edge in units of the\n"
18921 " current character height. Use negative disp to write within the\n"
18922 " viewport.\n"
18923 "\n"
18924 " pos (PLFLT, input) : Position of the reference point of string\n"
18925 " along the specified edge, expressed as a fraction of the length of\n"
18926 " the edge.\n"
18927 "\n"
18928 " just (PLFLT, input) : Specifies the position of the string relative\n"
18929 " to its reference point. If just=0. , the reference point is at\n"
18930 " the left and if just=1. , it is at the right of the string. Other\n"
18931 " values of just give intermediate justifications.\n"
18932 "\n"
18933 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
18934 " written out.\n"
18935 "\n"
18936 ""},
18937 { "plot3d", _wrap_plot3d, METH_VARARGS, "\n"
18938 "Plot 3-d surface plot\n"
18939 "\n"
18940 "DESCRIPTION:\n"
18941 "\n"
18942 " Plots a three-dimensional surface plot within the environment set up\n"
18943 " by plw3d. The surface is defined by the matrix z[\n"
18944 " nx][\n"
18945 " ny] , the point z[i][j] being the value of the function at (\n"
18946 " x[i],\n"
18947 " y[j]). Note that the points in vectors x and y do not need to be\n"
18948 " equally spaced, but must be stored in ascending order. The parameter\n"
18949 " opt controls the way in which the surface is displayed. For further\n"
18950 " details see the PLplot documentation. The only difference between\n"
18951 " plmesh and plot3d is that plmesh draws the bottom side of the surface,\n"
18952 " while plot3d only draws the surface as viewed from the top.\n"
18953 "\n"
18954 " Redacted form: plot3d(x, y, z, opt, side)\n"
18955 "\n"
18956 " This function is used in examples 11 and 21.\n"
18957 "\n"
18958 "\n"
18959 "\n"
18960 "SYNOPSIS:\n"
18961 "\n"
18962 "plot3d(x, y, z, nx, ny, opt, side)\n"
18963 "\n"
18964 "ARGUMENTS:\n"
18965 "\n"
18966 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18967 " which the function is evaluated.\n"
18968 "\n"
18969 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18970 " which the function is evaluated.\n"
18971 "\n"
18972 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18973 " plot. Should have dimensions of\n"
18974 " nx by\n"
18975 " ny.\n"
18976 "\n"
18977 " nx (PLINT, input) : Number of x values at which function is\n"
18978 " evaluated.\n"
18979 "\n"
18980 " ny (PLINT, input) : Number of y values at which function is\n"
18981 " evaluated.\n"
18982 "\n"
18983 " opt (PLINT, input) : Determines the way in which the surface is\n"
18984 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n"
18985 " function of x for each value of y[j] .\n"
18986 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18987 " for each value of x[i] .\n"
18988 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18989 " at which function is defined.\n"
18990 "\n"
18991 "\n"
18992 " side (PLBOOL, input) : Flag to indicate whether or not ``sides''\n"
18993 " should be draw on the figure. If side is true sides are drawn,\n"
18994 " otherwise no sides are drawn.\n"
18995 "\n"
18996 ""},
18997 { "plot3dc", _wrap_plot3dc, METH_VARARGS, "\n"
18998 "Magnitude colored plot surface with contour\n"
18999 "\n"
19000 "DESCRIPTION:\n"
19001 "\n"
19002 " Aside from dropping the\n"
19003 " side functionality this is a more powerful form of plot3d: the surface\n"
19004 " mesh can be colored accordingly to the current z value being plotted,\n"
19005 " a contour plot can be drawn at the base XY plane, and a curtain can be\n"
19006 " drawn between the plotted function border and the base XY plane. The\n"
19007 " arguments are identical to those of plmeshc. The only difference\n"
19008 " between plmeshc and plot3dc is that plmeshc draws the bottom side of\n"
19009 " the surface, while plot3dc only draws the surface as viewed from the\n"
19010 " top.\n"
19011 "\n"
19012 " Redacted form: General: plot3dc(x, y, z, opt, clevel)\n"
19013 "\n"
19014 "\n"
19015 " This function is used in example 21.\n"
19016 "\n"
19017 "\n"
19018 "\n"
19019 "SYNOPSIS:\n"
19020 "\n"
19021 "plot3dc(x, y, z, nx, ny, opt, clevel, nlevel)\n"
19022 "\n"
19023 "ARGUMENTS:\n"
19024 "\n"
19025 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
19026 " which the function is evaluated.\n"
19027 "\n"
19028 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
19029 " which the function is evaluated.\n"
19030 "\n"
19031 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
19032 " plot. Should have dimensions of\n"
19033 " nx by\n"
19034 " ny.\n"
19035 "\n"
19036 " nx (PLINT, input) : Number of x values at which function is\n"
19037 " evaluated.\n"
19038 "\n"
19039 " ny (PLINT, input) : Number of y values at which function is\n"
19040 " evaluated.\n"
19041 "\n"
19042 " opt (PLINT, input) : Determines the way in which the surface is\n"
19043 " represented. To specify more than one option just add the options,\n"
19044 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
19045 " showing z as a function of x for each value of y[j] .\n"
19046 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
19047 " for each value of x[i] .\n"
19048 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
19049 " at which function is defined.\n"
19050 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
19051 " the z value being plotted. The color is used from the current\n"
19052 " cmap1.\n"
19053 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
19054 " using parameters\n"
19055 " nlevel and\n"
19056 " clevel.\n"
19057 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
19058 " the borders of the plotted function.\n"
19059 "\n"
19060 "\n"
19061 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
19062 " levels.\n"
19063 "\n"
19064 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
19065 "\n"
19066 ""},
19067 { "plot3dcl", _wrap_plot3dcl, METH_VARARGS, "\n"
19068 "Magnitude colored plot surface with contour for z[x][y] with y index limits\n"
19069 "\n"
19070 "DESCRIPTION:\n"
19071 "\n"
19072 " When the implementation is completed this variant of plot3dc (see that\n"
19073 " function's documentation for more details) should be suitable for the\n"
19074 " case where the area of the x, y coordinate grid where z is defined can\n"
19075 " be non-rectangular. The implementation is incomplete so the last 4\n"
19076 " parameters of plot3dcl; indexxmin, indexxmax, indexymin, and\n"
19077 " indexymax; are currently ignored and the functionality is otherwise\n"
19078 " identical to that of plot3dc.\n"
19079 "\n"
19080 " Redacted form: General: plot3dcl(x, y, z, opt, clevel, indexxmin,\n"
19081 " indexymin, indexymax)\n"
19082 "\n"
19083 "\n"
19084 " This function is not used in any example.\n"
19085 "\n"
19086 "\n"
19087 "\n"
19088 "SYNOPSIS:\n"
19089 "\n"
19090 "plot3dcl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n"
19091 "\n"
19092 "ARGUMENTS:\n"
19093 "\n"
19094 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
19095 " which the function is evaluated.\n"
19096 "\n"
19097 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
19098 " which the function is evaluated.\n"
19099 "\n"
19100 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
19101 " plot. Should have dimensions of\n"
19102 " nx by\n"
19103 " ny.\n"
19104 "\n"
19105 " nx (PLINT, input) : Number of x values at which the function is\n"
19106 " evaluated.\n"
19107 "\n"
19108 " ny (PLINT, input) : Number of y values at which the function is\n"
19109 " evaluated.\n"
19110 "\n"
19111 " opt (PLINT, input) : Determines the way in which the surface is\n"
19112 " represented. To specify more than one option just add the options,\n"
19113 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
19114 " showing z as a function of x for each value of y[j] .\n"
19115 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
19116 " for each value of x[i] .\n"
19117 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
19118 " at which function is defined.\n"
19119 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
19120 " the z value being plotted. The color is used from the current\n"
19121 " cmap1.\n"
19122 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
19123 " using parameters\n"
19124 " nlevel and\n"
19125 " clevel.\n"
19126 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
19127 " the borders of the plotted function.\n"
19128 "\n"
19129 "\n"
19130 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
19131 " levels.\n"
19132 "\n"
19133 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
19134 "\n"
19135 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n"
19136 " corresponds to the first x index where z is defined.\n"
19137 "\n"
19138 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n"
19139 " which corresponds (by convention) to one more than the last x\n"
19140 " index value where z is defined.\n"
19141 "\n"
19142 " indexymin (PLINT_VECTOR, input) : A vector containing y index\n"
19143 " values which all must be ≥ 0. These values are the first y index\n"
19144 " where z is defined for a particular x index in the range from\n"
19145 " indexxmin to indexxmax - 1. The dimension of indexymin is\n"
19146 " indexxmax.\n"
19147 "\n"
19148 " indexymax (PLINT_VECTOR, input) : A vector containing y index\n"
19149 " values which all must be ≤ ny. These values correspond (by\n"
19150 " convention) to one more than the last y index where z is defined\n"
19151 " for a particular x index in the range from indexxmin to indexxmax\n"
19152 " - 1. The dimension of indexymax is indexxmax.\n"
19153 "\n"
19154 ""},
19155 { "plsurf3d", _wrap_plsurf3d, METH_VARARGS, "\n"
19156 "Plot shaded 3-d surface plot\n"
19157 "\n"
19158 "DESCRIPTION:\n"
19159 "\n"
19160 " Plots a three-dimensional shaded surface plot within the environment\n"
19161 " set up by plw3d. The surface is defined by the two-dimensional matrix\n"
19162 " z[\n"
19163 " nx][\n"
19164 " ny], the point z[i][j] being the value of the function at (\n"
19165 " x[i],\n"
19166 " y[j]). Note that the points in vectors x and y do not need to be\n"
19167 " equally spaced, but must be stored in ascending order. For further\n"
19168 " details see the PLplot documentation.\n"
19169 "\n"
19170 " Redacted form: plsurf3d(x, y, z, opt, clevel)\n"
19171 "\n"
19172 " This function is not used in any examples.\n"
19173 "\n"
19174 "\n"
19175 "\n"
19176 "SYNOPSIS:\n"
19177 "\n"
19178 "plsurf3d(x, y, z, nx, ny, opt, clevel, nlevel)\n"
19179 "\n"
19180 "ARGUMENTS:\n"
19181 "\n"
19182 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
19183 " which the function is evaluated.\n"
19184 "\n"
19185 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
19186 " which the function is evaluated.\n"
19187 "\n"
19188 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
19189 " plot. Should have dimensions of\n"
19190 " nx by\n"
19191 " ny.\n"
19192 "\n"
19193 " nx (PLINT, input) : Number of x values at which function is\n"
19194 " evaluated.\n"
19195 "\n"
19196 " ny (PLINT, input) : Number of y values at which function is\n"
19197 " evaluated.\n"
19198 "\n"
19199 " opt (PLINT, input) : Determines the way in which the surface is\n"
19200 " represented. To specify more than one option just add the options,\n"
19201 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n"
19202 " connecting points at which function is defined.\n"
19203 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
19204 " using parameters\n"
19205 " nlevel and\n"
19206 " clevel.\n"
19207 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n"
19208 " using parameters\n"
19209 " nlevel and\n"
19210 " clevel.\n"
19211 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
19212 " the borders of the plotted function.\n"
19213 " opt=MAG_COLOR : the surface is colored according to the value\n"
19214 " of Z; if MAG_COLOR is not used, then the surface is colored\n"
19215 " according to the intensity of the reflected light in the\n"
19216 " surface from a light source whose position is set using\n"
19217 " pllightsource.\n"
19218 "\n"
19219 "\n"
19220 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
19221 " levels.\n"
19222 "\n"
19223 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
19224 "\n"
19225 ""},
19226 { "plsurf3dl", _wrap_plsurf3dl, METH_VARARGS, "\n"
19227 "Plot shaded 3-d surface plot for z[x][y] with y index limits\n"
19228 "\n"
19229 "DESCRIPTION:\n"
19230 "\n"
19231 " This variant of plsurf3d (see that function's documentation for more\n"
19232 " details) should be suitable for the case where the area of the x, y\n"
19233 " coordinate grid where z is defined can be non-rectangular. The limits\n"
19234 " of that grid are provided by the parameters indexxmin, indexxmax,\n"
19235 " indexymin, and indexymax.\n"
19236 "\n"
19237 " Redacted form: plsurf3dl(x, y, z, opt, clevel, indexxmin, indexymin,\n"
19238 " indexymax)\n"
19239 "\n"
19240 " This function is used in example 8.\n"
19241 "\n"
19242 "\n"
19243 "\n"
19244 "SYNOPSIS:\n"
19245 "\n"
19246 "plsurf3dl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n"
19247 "\n"
19248 "ARGUMENTS:\n"
19249 "\n"
19250 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
19251 " which the function is evaluated.\n"
19252 "\n"
19253 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
19254 " which the function is evaluated.\n"
19255 "\n"
19256 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
19257 " plot. Should have dimensions of\n"
19258 " nx by\n"
19259 " ny.\n"
19260 "\n"
19261 " nx (PLINT, input) : Number of x values at which function is\n"
19262 " evaluated.\n"
19263 "\n"
19264 " ny (PLINT, input) : Number of y values at which function is\n"
19265 " evaluated.\n"
19266 "\n"
19267 " opt (PLINT, input) : Determines the way in which the surface is\n"
19268 " represented. To specify more than one option just add the options,\n"
19269 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n"
19270 " connecting points at which function is defined.\n"
19271 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
19272 " using parameters\n"
19273 " nlevel and\n"
19274 " clevel.\n"
19275 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n"
19276 " using parameters\n"
19277 " nlevel and\n"
19278 " clevel.\n"
19279 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
19280 " the borders of the plotted function.\n"
19281 " opt=MAG_COLOR : the surface is colored according to the value\n"
19282 " of Z; if MAG_COLOR is not used, then the surface is colored\n"
19283 " according to the intensity of the reflected light in the\n"
19284 " surface from a light source whose position is set using\n"
19285 " pllightsource.\n"
19286 "\n"
19287 "\n"
19288 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
19289 " levels.\n"
19290 "\n"
19291 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
19292 "\n"
19293 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n"
19294 " corresponds to the first x index where z is defined.\n"
19295 "\n"
19296 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n"
19297 " which corresponds (by convention) to one more than the last x\n"
19298 " index value where z is defined.\n"
19299 "\n"
19300 " indexymin (PLINT_VECTOR, input) : A vector containing the y index\n"
19301 " values which all must be ≥ 0. These values are the first y index\n"
19302 " where z is defined for a particular x index in the range from\n"
19303 " indexxmin to indexxmax - 1. The dimension of indexymin is\n"
19304 " indexxmax.\n"
19305 "\n"
19306 " indexymax (PLINT_VECTOR, input) : A vector containing the y index\n"
19307 " values which all must be ≤ ny. These values correspond (by\n"
19308 " convention) to one more than the last y index where z is defined\n"
19309 " for a particular x index in the range from indexxmin to indexxmax\n"
19310 " - 1. The dimension of indexymax is indexxmax.\n"
19311 "\n"
19312 ""},
19313 { "plparseopts", _wrap_plparseopts, METH_VARARGS, "\n"
19314 "Parse command-line arguments\n"
19315 "\n"
19316 "DESCRIPTION:\n"
19317 "\n"
19318 " Parse command-line arguments.\n"
19319 "\n"
19320 " plparseopts removes all recognized flags (decreasing argc\n"
19321 " accordingly), so that invalid input may be readily detected. It can\n"
19322 " also be used to process user command line flags. The user can merge\n"
19323 " an option table of type PLOptionTable into the internal option table\n"
19324 " info structure using plMergeOpts. Or, the user can specify that ONLY\n"
19325 " the external table(s) be parsed by calling plClearOpts before\n"
19326 " plMergeOpts.\n"
19327 "\n"
19328 " The default action taken by plparseopts is as follows:\n"
19329 " Returns with an error if an unrecognized option or badly formed\n"
19330 " option-value pair are encountered.\n"
19331 " Returns immediately (return code 0) when the first non-option command\n"
19332 " line argument is found.\n"
19333 " Returns with the return code of the option handler, if one was called.\n"
19334 "\n"
19335 " Deletes command line arguments from argv list as they are found, and\n"
19336 " decrements argc accordingly.\n"
19337 " Does not show \"invisible\" options in usage or help messages.\n"
19338 " Assumes the program name is contained in argv[0].\n"
19339 "\n"
19340 " These behaviors may be controlled through the\n"
19341 " mode argument.\n"
19342 "\n"
19343 " Redacted form: General: plparseopts(argv, mode)\n"
19344 "\n"
19345 "\n"
19346 " This function is used in all of the examples.\n"
19347 "\n"
19348 "\n"
19349 "\n"
19350 "SYNOPSIS:\n"
19351 "\n"
19352 "PLINT plparseopts(p_argc, argv, mode)\n"
19353 "\n"
19354 "ARGUMENTS:\n"
19355 "\n"
19356 " p_argc (int *, input/output) : Number of arguments.\n"
19357 "\n"
19358 " argv (PLCHAR_NC_MATRIX, input/output) : A vector of character\n"
19359 " strings containing *p_argc command-line arguments.\n"
19360 "\n"
19361 " mode (PLINT, input) : Parsing mode with the following\n"
19362 " possibilities: PL_PARSE_FULL (1) -- Full parsing of command line\n"
19363 " and all error messages enabled, including program exit when an\n"
19364 " error occurs. Anything on the command line that isn't recognized\n"
19365 " as a valid option or option argument is flagged as an error.\n"
19366 " PL_PARSE_QUIET (2) -- Turns off all output except in the case\n"
19367 " of errors.\n"
19368 " PL_PARSE_NODELETE (4) -- Turns off deletion of processed\n"
19369 " arguments.\n"
19370 " PL_PARSE_SHOWALL (8) -- Show invisible options\n"
19371 " PL_PARSE_NOPROGRAM (32) -- Specified if argv[0] is NOT a\n"
19372 " pointer to the program name.\n"
19373 " PL_PARSE_NODASH (64) -- Set if leading dash is NOT required.\n"
19374 " PL_PARSE_SKIP (128) -- Set to quietly skip over any\n"
19375 " unrecognized arguments.\n"
19376 "\n"
19377 ""},
19378 { "plpat", _wrap_plpat, METH_VARARGS, "\n"
19379 "Set area line fill pattern\n"
19380 "\n"
19381 "DESCRIPTION:\n"
19382 "\n"
19383 " Sets the area line fill pattern to be used, e.g., for calls to plfill.\n"
19384 " The pattern consists of 1 or 2 sets of parallel lines with specified\n"
19385 " inclinations and spacings. The arguments to this routine are the\n"
19386 " number of sets to use (1 or 2) followed by two vectors (with 1 or 2\n"
19387 " elements) specifying the inclinations in tenths of a degree and the\n"
19388 " spacing in micrometers. (See also plpsty)\n"
19389 "\n"
19390 " Redacted form: General: plpat(inc, del)\n"
19391 "\n"
19392 "\n"
19393 " This function is used in example 15.\n"
19394 "\n"
19395 "\n"
19396 "\n"
19397 "SYNOPSIS:\n"
19398 "\n"
19399 "plpat(nlin, inc, del)\n"
19400 "\n"
19401 "ARGUMENTS:\n"
19402 "\n"
19403 " nlin (PLINT, input) : Number of sets of lines making up the\n"
19404 " pattern, either 1 or 2.\n"
19405 "\n"
19406 " inc (PLINT_VECTOR, input) : A vector containing nlin values of the\n"
19407 " inclination in tenths of a degree. (Should be between -900 and\n"
19408 " 900).\n"
19409 "\n"
19410 " del (PLINT_VECTOR, input) : A vector containing nlin values of the\n"
19411 " spacing in micrometers between the lines making up the pattern.\n"
19412 "\n"
19413 ""},
19414 { "plpath", _wrap_plpath, METH_VARARGS, "\n"
19415 "Draw a line between two points, accounting for coordinate transforms\n"
19416 "\n"
19417 "DESCRIPTION:\n"
19418 "\n"
19419 " Joins the point (\n"
19420 " x1,\n"
19421 " y1) to (\n"
19422 " x2,\n"
19423 " y2) . If a global coordinate transform is defined then the line is\n"
19424 " broken in to n segments to approximate the path. If no transform is\n"
19425 " defined then this simply acts like a call to pljoin.\n"
19426 "\n"
19427 " Redacted form: plpath(n,x1,y1,x2,y2)\n"
19428 "\n"
19429 " This function is used in example 22.\n"
19430 "\n"
19431 "\n"
19432 "\n"
19433 "SYNOPSIS:\n"
19434 "\n"
19435 "plpath(n, x1, y1, x2, y2)\n"
19436 "\n"
19437 "ARGUMENTS:\n"
19438 "\n"
19439 " n (PLINT, input) : number of points to use to approximate the path.\n"
19440 "\n"
19441 " x1 (PLFLT, input) : x coordinate of first point.\n"
19442 "\n"
19443 " y1 (PLFLT, input) : y coordinate of first point.\n"
19444 "\n"
19445 " x2 (PLFLT, input) : x coordinate of second point.\n"
19446 "\n"
19447 " y2 (PLFLT, input) : y coordinate of second point.\n"
19448 "\n"
19449 ""},
19450 { "plpoin", _wrap_plpoin, METH_VARARGS, "\n"
19451 "Plot a glyph at the specified points\n"
19452 "\n"
19453 "DESCRIPTION:\n"
19454 "\n"
19455 " Plot a glyph at the specified points. (This function is largely\n"
19456 " superseded by plstring which gives access to many[!] more glyphs.)\n"
19457 " code=-1 means try to just draw a point. Right now it's just a move\n"
19458 " and a draw at the same place. Not ideal, since a sufficiently\n"
19459 " intelligent output device may optimize it away, or there may be faster\n"
19460 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n"
19461 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n"
19462 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n"
19463 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n"
19464 " code <= 127 the corresponding printable ASCII character is plotted.\n"
19465 "\n"
19466 " Redacted form: plpoin(x, y, code)\n"
19467 "\n"
19468 " This function is used in examples 1, 6, 14, and 29.\n"
19469 "\n"
19470 "\n"
19471 "\n"
19472 "SYNOPSIS:\n"
19473 "\n"
19474 "plpoin(n, x, y, code)\n"
19475 "\n"
19476 "ARGUMENTS:\n"
19477 "\n"
19478 " n (PLINT, input) : Number of points in the x and y vectors.\n"
19479 "\n"
19480 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
19481 " points.\n"
19482 "\n"
19483 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
19484 " points.\n"
19485 "\n"
19486 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n"
19487 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n"
19488 " each of the n points.\n"
19489 "\n"
19490 ""},
19491 { "plpoin3", _wrap_plpoin3, METH_VARARGS, "\n"
19492 "Plot a glyph at the specified 3D points\n"
19493 "\n"
19494 "DESCRIPTION:\n"
19495 "\n"
19496 " Plot a glyph at the specified 3D points. (This function is largely\n"
19497 " superseded by plstring3 which gives access to many[!] more glyphs.)\n"
19498 " Set up the call to this function similar to what is done for plline3.\n"
19499 " code=-1 means try to just draw a point. Right now it's just a move\n"
19500 " and a draw at the same place. Not ideal, since a sufficiently\n"
19501 " intelligent output device may optimize it away, or there may be faster\n"
19502 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n"
19503 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n"
19504 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n"
19505 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n"
19506 " code <= 127 the corresponding printable ASCII character is plotted.\n"
19507 "\n"
19508 " Redacted form: plpoin3(x, y, z, code)\n"
19509 "\n"
19510 " This function is not used in any example.\n"
19511 "\n"
19512 "\n"
19513 "\n"
19514 "SYNOPSIS:\n"
19515 "\n"
19516 "plpoin3(n, x, y, z, code)\n"
19517 "\n"
19518 "ARGUMENTS:\n"
19519 "\n"
19520 " n (PLINT, input) : Number of points in the x and y vectors.\n"
19521 "\n"
19522 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
19523 " points.\n"
19524 "\n"
19525 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
19526 " points.\n"
19527 "\n"
19528 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
19529 " points.\n"
19530 "\n"
19531 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n"
19532 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n"
19533 " each of the n points.\n"
19534 "\n"
19535 ""},
19536 { "plpoly3", _wrap_plpoly3, METH_VARARGS, "\n"
19537 "Draw a polygon in 3 space\n"
19538 "\n"
19539 "DESCRIPTION:\n"
19540 "\n"
19541 " Draws a polygon in 3 space defined by n points in x, y, and z. Setup\n"
19542 " like plline3, but differs from that function in that plpoly3 attempts\n"
19543 " to determine if the polygon is viewable depending on the order of the\n"
19544 " points within the vector and the value of ifcc. If the back of\n"
19545 " polygon is facing the viewer, then it isn't drawn. If this isn't what\n"
19546 " you want, then use plline3 instead.\n"
19547 "\n"
19548 " The points are assumed to be in a plane, and the directionality of the\n"
19549 " plane is determined from the first three points. Additional points do\n"
19550 " not have to lie on the plane defined by the first three, but if they\n"
19551 " do not, then the determination of visibility obviously can't be 100%\n"
19552 " accurate... So if you're 3 space polygons are too far from planar,\n"
19553 " consider breaking them into smaller polygons. 3 points define a plane\n"
19554 " :-).\n"
19555 "\n"
19556 " Bugs: If one of the first two segments is of zero length, or if they\n"
19557 " are co-linear, the calculation of visibility has a 50/50 chance of\n"
19558 " being correct. Avoid such situations :-). See x18c.c for an example\n"
19559 " of this problem. (Search for 20.1).\n"
19560 "\n"
19561 " Redacted form: plpoly3(x, y, z, code)\n"
19562 "\n"
19563 " This function is used in example 18.\n"
19564 "\n"
19565 "\n"
19566 "\n"
19567 "SYNOPSIS:\n"
19568 "\n"
19569 "plpoly3(n, x, y, z, draw, ifcc)\n"
19570 "\n"
19571 "ARGUMENTS:\n"
19572 "\n"
19573 " n (PLINT, input) : Number of points defining line.\n"
19574 "\n"
19575 " x (PLFLT_VECTOR, input) : A vector containing\n"
19576 " n x coordinates of points.\n"
19577 "\n"
19578 " y (PLFLT_VECTOR, input) : A vector containing\n"
19579 " n y coordinates of points.\n"
19580 "\n"
19581 " z (PLFLT_VECTOR, input) : A vector containing\n"
19582 " n z coordinates of points.\n"
19583 "\n"
19584 " draw (PLBOOL_VECTOR, input) : A vector containing\n"
19585 " n-1 Boolean values which control drawing the segments of the polygon.\n"
19586 " If draw[i] is true, then the polygon segment from index [i] to\n"
19587 " [i+1] is drawn, otherwise, not.\n"
19588 "\n"
19589 " ifcc (PLBOOL, input) : If ifcc is true the directionality of the\n"
19590 " polygon is determined by assuming the points are laid out in a\n"
19591 " counter-clockwise order. Otherwise, the directionality of the\n"
19592 " polygon is determined by assuming the points are laid out in a\n"
19593 " clockwise order.\n"
19594 "\n"
19595 ""},
19596 { "plprec", _wrap_plprec, METH_VARARGS, "\n"
19597 "Set precision in numeric labels\n"
19598 "\n"
19599 "DESCRIPTION:\n"
19600 "\n"
19601 " Sets the number of places after the decimal point in numeric labels.\n"
19602 "\n"
19603 " Redacted form: plprec(setp, prec)\n"
19604 "\n"
19605 " This function is used in example 29.\n"
19606 "\n"
19607 "\n"
19608 "\n"
19609 "SYNOPSIS:\n"
19610 "\n"
19611 "plprec(setp, prec)\n"
19612 "\n"
19613 "ARGUMENTS:\n"
19614 "\n"
19615 " setp (PLINT, input) : If setp is equal to 0 then PLplot\n"
19616 " automatically determines the number of places to use after the\n"
19617 " decimal point in numeric labels (like those used to label axes).\n"
19618 " If setp is 1 then prec sets the number of places.\n"
19619 "\n"
19620 " prec (PLINT, input) : The number of characters to draw after the\n"
19621 " decimal point in numeric labels.\n"
19622 "\n"
19623 ""},
19624 { "plpsty", _wrap_plpsty, METH_O, "\n"
19625 "Select area fill pattern\n"
19626 "\n"
19627 "DESCRIPTION:\n"
19628 "\n"
19629 " If\n"
19630 " patt is zero or less use either a hardware solid fill if the drivers\n"
19631 " have that capability (virtually all do) or fall back to a software\n"
19632 " emulation of a solid fill using the eighth area line fill pattern. If\n"
19633 " 0 <\n"
19634 " patt <= 8, then select one of eight predefined area line fill patterns\n"
19635 " to use (see plpat if you desire other patterns).\n"
19636 "\n"
19637 " Redacted form: plpsty(patt)\n"
19638 "\n"
19639 " This function is used in examples 12, 13, 15, 16, and 25.\n"
19640 "\n"
19641 "\n"
19642 "\n"
19643 "SYNOPSIS:\n"
19644 "\n"
19645 "plpsty(patt)\n"
19646 "\n"
19647 "ARGUMENTS:\n"
19648 "\n"
19649 " patt (PLINT, input) : The desired pattern index. If\n"
19650 " patt is zero or less, then a solid fill is (normally, see qualifiers\n"
19651 " above) used. For\n"
19652 " patt in the range from 1 to 8 and assuming the driver has not supplied\n"
19653 " line fill capability itself (most deliberately do not so that line\n"
19654 " fill patterns look identical for those drivers), the patterns\n"
19655 " consist of (1) horizontal lines, (2) vertical lines, (3) lines at\n"
19656 " 45 degrees, (4) lines at -45 degrees, (5) lines at 30 degrees, (6)\n"
19657 " lines at -30 degrees, (7) both vertical and horizontal lines, and\n"
19658 " (8) lines at both 45 degrees and -45 degrees.\n"
19659 "\n"
19660 ""},
19661 { "plptex", _wrap_plptex, METH_VARARGS, "\n"
19662 "Write text inside the viewport\n"
19663 "\n"
19664 "DESCRIPTION:\n"
19665 "\n"
19666 " Writes text at a specified position and inclination within the\n"
19667 " viewport. Text is clipped at the viewport boundaries. The reference\n"
19668 " point of a string lies along a line passing through the string at half\n"
19669 " the height of a capital letter. The position of the reference point\n"
19670 " along this line is determined by just, the reference point is placed\n"
19671 " at world coordinates (\n"
19672 " x,\n"
19673 " y) within the viewport. The inclination of the string is specified\n"
19674 " in terms of differences of world coordinates making it easy to write\n"
19675 " text parallel to a line in a graph.\n"
19676 "\n"
19677 " Redacted form: plptex(x, y, dx, dy, just, text)\n"
19678 "\n"
19679 " This function is used in example 2-4,10,12-14,20,23,24,26.\n"
19680 "\n"
19681 "\n"
19682 "\n"
19683 "SYNOPSIS:\n"
19684 "\n"
19685 "plptex(x, y, dx, dy, just, text)\n"
19686 "\n"
19687 "ARGUMENTS:\n"
19688 "\n"
19689 " x (PLFLT, input) : x coordinate of reference point of string.\n"
19690 "\n"
19691 " y (PLFLT, input) : y coordinate of reference point of string.\n"
19692 "\n"
19693 " dx (PLFLT, input) : Together with dy, this specifies the\n"
19694 " inclination of the string. The baseline of the string is parallel\n"
19695 " to a line joining (\n"
19696 " x,\n"
19697 " y) to (\n"
19698 " x+\n"
19699 " dx,\n"
19700 " y+\n"
19701 " dy) .\n"
19702 "\n"
19703 " dy (PLFLT, input) : Together with dx, this specifies the\n"
19704 " inclination of the string.\n"
19705 "\n"
19706 " just (PLFLT, input) : Specifies the position of the string relative\n"
19707 " to its reference point. If just=0. , the reference point is at\n"
19708 " the left and if just=1. , it is at the right of the string. Other\n"
19709 " values of just give intermediate justifications.\n"
19710 "\n"
19711 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
19712 " written out.\n"
19713 "\n"
19714 ""},
19715 { "plptex3", _wrap_plptex3, METH_VARARGS, "\n"
19716 "Write text inside the viewport of a 3D plot\n"
19717 "\n"
19718 "DESCRIPTION:\n"
19719 "\n"
19720 " Writes text at a specified position and inclination and with a\n"
19721 " specified shear within the viewport. Text is clipped at the viewport\n"
19722 " boundaries. The reference point of a string lies along a line passing\n"
19723 " through the string at half the height of a capital letter. The\n"
19724 " position of the reference point along this line is determined by just,\n"
19725 " and the reference point is placed at world coordinates (\n"
19726 " wx,\n"
19727 " wy,\n"
19728 " wz) within the viewport. The inclination and shear of the string is\n"
19729 " specified in terms of differences of world coordinates making it easy\n"
19730 " to write text parallel to a line in a graph.\n"
19731 "\n"
19732 " Redacted form: plptex3(x, y, z, dx, dy, dz, sx, sy, sz, just, text)\n"
19733 "\n"
19734 " This function is used in example 28.\n"
19735 "\n"
19736 "\n"
19737 "\n"
19738 "SYNOPSIS:\n"
19739 "\n"
19740 "plptex3(wx, wy, wz, dx, dy, dz, sx, sy, sz, just, text)\n"
19741 "\n"
19742 "ARGUMENTS:\n"
19743 "\n"
19744 " wx (PLFLT, input) : x world coordinate of reference point of\n"
19745 " string.\n"
19746 "\n"
19747 " wy (PLFLT, input) : y world coordinate of reference point of\n"
19748 " string.\n"
19749 "\n"
19750 " wz (PLFLT, input) : z world coordinate of reference point of\n"
19751 " string.\n"
19752 "\n"
19753 " dx (PLFLT, input) : Together with dy and\n"
19754 " dz , this specifies the inclination of the string. The baseline of\n"
19755 " the string is parallel to a line joining (\n"
19756 " x,\n"
19757 " y,\n"
19758 " z) to (\n"
19759 " x+\n"
19760 " dx,\n"
19761 " y+\n"
19762 " dy,\n"
19763 " z+\n"
19764 " dz) .\n"
19765 "\n"
19766 " dy (PLFLT, input) : Together with dx and\n"
19767 " dz, this specifies the inclination of the string.\n"
19768 "\n"
19769 " dz (PLFLT, input) : Together with dx and\n"
19770 " dy, this specifies the inclination of the string.\n"
19771 "\n"
19772 " sx (PLFLT, input) : Together with sy and\n"
19773 " sz , this specifies the shear of the string. The string is sheared so\n"
19774 " that the characters are vertically parallel to a line joining (\n"
19775 " x,\n"
19776 " y,\n"
19777 " z) to (\n"
19778 " x+\n"
19779 " sx,\n"
19780 " y+\n"
19781 " sy,\n"
19782 " z+\n"
19783 " sz) . If sx =\n"
19784 " sy =\n"
19785 " sz = 0.) then the text is not sheared.\n"
19786 "\n"
19787 " sy (PLFLT, input) : Together with sx and\n"
19788 " sz, this specifies shear of the string.\n"
19789 "\n"
19790 " sz (PLFLT, input) : Together with sx and\n"
19791 " sy, this specifies shear of the string.\n"
19792 "\n"
19793 " just (PLFLT, input) : Specifies the position of the string relative\n"
19794 " to its reference point. If just=0. , the reference point is at\n"
19795 " the left and if just=1. , it is at the right of the string. Other\n"
19796 " values of just give intermediate justifications.\n"
19797 "\n"
19798 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
19799 " written out.\n"
19800 "\n"
19801 ""},
19802 { "plrandd", _wrap_plrandd, METH_NOARGS, "\n"
19803 "Random number generator returning a real random number in the range [0,1]\n"
19804 "\n"
19805 "DESCRIPTION:\n"
19806 "\n"
19807 " Random number generator returning a real random number in the range\n"
19808 " [0,1]. The generator is based on the Mersenne Twister. Most languages\n"
19809 " / compilers provide their own random number generator, and so this is\n"
19810 " provided purely for convenience and to give a consistent random number\n"
19811 " generator across all languages supported by PLplot. This is\n"
19812 " particularly useful for comparing results from the test suite of\n"
19813 " examples.\n"
19814 "\n"
19815 " Redacted form: plrandd()\n"
19816 "\n"
19817 " This function is used in examples 17 and 21.\n"
19818 "\n"
19819 "\n"
19820 "\n"
19821 "SYNOPSIS:\n"
19822 "\n"
19823 "plrandd()\n"
19824 "\n"
19825 ""},
19826 { "plreplot", _wrap_plreplot, METH_NOARGS, "\n"
19827 "Replays contents of plot buffer to current device/file\n"
19828 "\n"
19829 "DESCRIPTION:\n"
19830 "\n"
19831 " Replays contents of plot buffer to current device/file.\n"
19832 "\n"
19833 " Redacted form: plreplot()\n"
19834 "\n"
19835 " This function is used in example 1,20.\n"
19836 "\n"
19837 "\n"
19838 "\n"
19839 "SYNOPSIS:\n"
19840 "\n"
19841 "plreplot()\n"
19842 "\n"
19843 ""},
19844 { "plrgbhls", _wrap_plrgbhls, METH_VARARGS, "\n"
19845 "Convert RGB color to HLS\n"
19846 "\n"
19847 "DESCRIPTION:\n"
19848 "\n"
19849 " Convert RGB color coordinates to HLS\n"
19850 "\n"
19851 " Redacted form: General: plrgbhls(r, g, b, p_h, p_l, p_s)\n"
19852 "\n"
19853 "\n"
19854 " This function is used in example 2.\n"
19855 "\n"
19856 "\n"
19857 "\n"
19858 "SYNOPSIS:\n"
19859 "\n"
19860 "plrgbhls(r, g, b, p_h, p_l, p_s)\n"
19861 "\n"
19862 "ARGUMENTS:\n"
19863 "\n"
19864 " r (PLFLT, input) : Red intensity (0.0-1.0) of the color.\n"
19865 "\n"
19866 " g (PLFLT, input) : Green intensity (0.0-1.0) of the color.\n"
19867 "\n"
19868 " b (PLFLT, input) : Blue intensity (0.0-1.0) of the color.\n"
19869 "\n"
19870 " p_h (PLFLT_NC_SCALAR, output) : Returned value of the hue in\n"
19871 " degrees (0.0-360.0) on the color cylinder.\n"
19872 "\n"
19873 " p_l (PLFLT_NC_SCALAR, output) : Returned value of the lightness\n"
19874 " expressed as a fraction (0.0-1.0) of the axis of the color\n"
19875 " cylinder.\n"
19876 "\n"
19877 " p_s (PLFLT_NC_SCALAR, output) : Returned value of the saturation\n"
19878 " expressed as a fraction (0.0-1.0) of the radius of the color\n"
19879 " cylinder.\n"
19880 "\n"
19881 ""},
19882 { "plschr", _wrap_plschr, METH_VARARGS, "\n"
19883 "Set character size\n"
19884 "\n"
19885 "DESCRIPTION:\n"
19886 "\n"
19887 " This sets up the size of all subsequent characters drawn. The actual\n"
19888 " height of a character is the product of the default character size and\n"
19889 " a scaling factor.\n"
19890 "\n"
19891 " Redacted form: plschr(def, scale)\n"
19892 "\n"
19893 " This function is used in examples 2, 13, 23, and 24.\n"
19894 "\n"
19895 "\n"
19896 "\n"
19897 "SYNOPSIS:\n"
19898 "\n"
19899 "plschr(def, scale)\n"
19900 "\n"
19901 "ARGUMENTS:\n"
19902 "\n"
19903 " def (PLFLT, input) : The default height of a character in\n"
19904 " millimeters, should be set to zero if the default height is to\n"
19905 " remain unchanged. For rasterized drivers the dx and dy values\n"
19906 " specified in plspage are used to convert from mm to pixels (note\n"
19907 " the different unit systems used). This dpi aware scaling is not\n"
19908 " implemented for all drivers yet.\n"
19909 "\n"
19910 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
19911 " actual character height.\n"
19912 "\n"
19913 ""},
19914 { "plscmap0", _wrap_plscmap0, METH_VARARGS, "\n"
19915 "Set cmap0 colors by 8-bit RGB values\n"
19916 "\n"
19917 "DESCRIPTION:\n"
19918 "\n"
19919 " Set cmap0 colors using 8-bit RGB values (see the PLplot\n"
19920 " documentation). This sets the entire color map -- only as many colors\n"
19921 " as specified will be allocated.\n"
19922 "\n"
19923 " Redacted form: plscmap0(r, g, b)\n"
19924 "\n"
19925 " This function is used in examples 2 and 24.\n"
19926 "\n"
19927 "\n"
19928 "\n"
19929 "SYNOPSIS:\n"
19930 "\n"
19931 "plscmap0(r, g, b, ncol0)\n"
19932 "\n"
19933 "ARGUMENTS:\n"
19934 "\n"
19935 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19936 " integers (0-255) representing the degree of red in the color.\n"
19937 "\n"
19938 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19939 " integers (0-255) representing the degree of green in the color.\n"
19940 "\n"
19941 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19942 " integers (0-255) representing the degree of blue in the color.\n"
19943 "\n"
19944 " ncol0 (PLINT, input) : Number of items in the r, g, and b vectors.\n"
19945 "\n"
19946 ""},
19947 { "plscmap0a", _wrap_plscmap0a, METH_VARARGS, "\n"
19948 "Set cmap0 colors by 8-bit RGB values and PLFLT alpha transparency value\n"
19949 "\n"
19950 "DESCRIPTION:\n"
19951 "\n"
19952 " Set cmap0 colors using 8-bit RGB values (see the PLplot documentation)\n"
19953 " and PLFLT alpha transparency value. This sets the entire color map --\n"
19954 " only as many colors as specified will be allocated.\n"
19955 "\n"
19956 " Redacted form: plscmap0a(r, g, b, alpha)\n"
19957 "\n"
19958 " This function is used in examples 30.\n"
19959 "\n"
19960 "\n"
19961 "\n"
19962 "SYNOPSIS:\n"
19963 "\n"
19964 "plscmap0a(r, g, b, alpha, ncol0)\n"
19965 "\n"
19966 "ARGUMENTS:\n"
19967 "\n"
19968 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19969 " integers (0-255) representing the degree of red in the color.\n"
19970 "\n"
19971 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19972 " integers (0-255) representing the degree of green in the color.\n"
19973 "\n"
19974 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19975 " integers (0-255) representing the degree of blue in the color.\n"
19976 "\n"
19977 " alpha (PLFLT_VECTOR, input) : A vector containing values (0.0-1.0)\n"
19978 " representing the alpha transparency of the color.\n"
19979 "\n"
19980 " ncol0 (PLINT, input) : Number of items in the r, g, b, and alpha\n"
19981 " vectors.\n"
19982 "\n"
19983 ""},
19984 { "plscmap0n", _wrap_plscmap0n, METH_O, "\n"
19985 "Set number of colors in cmap0\n"
19986 "\n"
19987 "DESCRIPTION:\n"
19988 "\n"
19989 " Set number of colors in cmap0 (see the PLplot documentation). Allocate\n"
19990 " (or reallocate) cmap0, and fill with default values for those colors\n"
19991 " not previously allocated. The first 16 default colors are given in\n"
19992 " the plcol0 documentation. For larger indices the default color is\n"
19993 " red.\n"
19994 "\n"
19995 " The drivers are not guaranteed to support more than 16 colors.\n"
19996 "\n"
19997 " Redacted form: plscmap0n(ncol0)\n"
19998 "\n"
19999 " This function is used in examples 15, 16, and 24.\n"
20000 "\n"
20001 "\n"
20002 "\n"
20003 "SYNOPSIS:\n"
20004 "\n"
20005 "plscmap0n(ncol0)\n"
20006 "\n"
20007 "ARGUMENTS:\n"
20008 "\n"
20009 " ncol0 (PLINT, input) : Number of colors that will be allocated in\n"
20010 " the cmap0 palette. If this number is zero or less, then the value\n"
20011 " from the previous call to plscmap0n is used and if there is no\n"
20012 " previous call, then a default value is used.\n"
20013 "\n"
20014 ""},
20015 { "plscmap1", _wrap_plscmap1, METH_VARARGS, "\n"
20016 "Set opaque RGB cmap1 colors values\n"
20017 "\n"
20018 "DESCRIPTION:\n"
20019 "\n"
20020 " Set opaque cmap1 colors (see the PLplot documentation) using RGB\n"
20021 " vector values. This function also sets the number of cmap1 colors.\n"
20022 " N.B. Continuous cmap1 colors are indexed with a floating-point index\n"
20023 " in the range from 0.0-1.0 which is linearly transformed (e.g., by\n"
20024 " plcol1) to an integer index of these RGB vectors in the range from 0\n"
20025 " to\n"
20026 " ncol1-1. So in order for this continuous color model to work\n"
20027 " properly, it is the responsibility of the user of plscmap1 to insure\n"
20028 " that these RGB vectors are continuous functions of their integer\n"
20029 " indices.\n"
20030 "\n"
20031 " Redacted form: plscmap1(r, g, b)\n"
20032 "\n"
20033 " This function is used in example 31.\n"
20034 "\n"
20035 "\n"
20036 "\n"
20037 "SYNOPSIS:\n"
20038 "\n"
20039 "plscmap1(r, g, b, ncol1)\n"
20040 "\n"
20041 "ARGUMENTS:\n"
20042 "\n"
20043 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
20044 " 8-bit integers in the range from 0-255) the degree of red in the\n"
20045 " color as a continuous function of the integer index of the vector.\n"
20046 "\n"
20047 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
20048 " 8-bit integers in the range from 0-255) the degree of green in the\n"
20049 " color as a continuous function of the integer index of the vector.\n"
20050 "\n"
20051 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
20052 " 8-bit integers in the range from 0-255) the degree of blue in the\n"
20053 " color as a continuous function of the integer index of the vector.\n"
20054 "\n"
20055 " ncol1 (PLINT, input) : Number of items in the r, g, and b vectors.\n"
20056 "\n"
20057 ""},
20058 { "plscmap1a", _wrap_plscmap1a, METH_VARARGS, "\n"
20059 "Set semitransparent cmap1 RGBA colors.\n"
20060 "\n"
20061 "DESCRIPTION:\n"
20062 "\n"
20063 " Set semitransparent cmap1 colors (see the PLplot documentation) using\n"
20064 " RGBA vector values. This function also sets the number of cmap1\n"
20065 " colors. N.B. Continuous cmap1 colors are indexed with a\n"
20066 " floating-point index in the range from 0.0-1.0 which is linearly\n"
20067 " transformed (e.g., by plcol1) to an integer index of these RGBA\n"
20068 " vectors in the range from 0 to\n"
20069 " ncol1-1. So in order for this continuous color model to work\n"
20070 " properly, it is the responsibility of the user of plscmap1 to insure\n"
20071 " that these RGBA vectors are continuous functions of their integer\n"
20072 " indices.\n"
20073 "\n"
20074 " Redacted form: plscmap1a(r, g, b, alpha)\n"
20075 "\n"
20076 " This function is used in example 31.\n"
20077 "\n"
20078 "\n"
20079 "\n"
20080 "SYNOPSIS:\n"
20081 "\n"
20082 "plscmap1a(r, g, b, alpha, ncol1)\n"
20083 "\n"
20084 "ARGUMENTS:\n"
20085 "\n"
20086 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
20087 " 8-bit integers in the range from 0-255) the degree of red in the\n"
20088 " color as a continuous function of the integer index of the vector.\n"
20089 "\n"
20090 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
20091 " 8-bit integers in the range from 0-255) the degree of green in the\n"
20092 " color as a continuous function of the integer index of the vector.\n"
20093 "\n"
20094 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
20095 " 8-bit integers in the range from 0-255) the degree of blue in the\n"
20096 " color as a continuous function of the integer index of the vector.\n"
20097 "\n"
20098 " alpha (PLFLT_VECTOR, input) : A vector that represents (using PLFLT\n"
20099 " values in the range from 0.0-1.0 where 0.0 corresponds to\n"
20100 " completely transparent and 1.0 corresponds to completely opaque)\n"
20101 " the alpha transparency of the color as a continuous function of\n"
20102 " the integer index of the vector.\n"
20103 "\n"
20104 " ncol1 (PLINT, input) : Number of items in the r, g, b, and alpha\n"
20105 " vectors.\n"
20106 "\n"
20107 ""},
20108 { "plscmap1l", _wrap_plscmap1l, METH_VARARGS, "\n"
20109 "Set cmap1 colors using a piece-wise linear relationship\n"
20110 "\n"
20111 "DESCRIPTION:\n"
20112 "\n"
20113 " Set cmap1 colors using a piece-wise linear relationship between the\n"
20114 " cmap1 intensity index (0.0-1.0) and position in HLS or RGB color space\n"
20115 " (see the PLplot documentation). May be called at any time.\n"
20116 "\n"
20117 " The idea here is to specify a number of control points that define the\n"
20118 " mapping between input cmap1 intensity indices and HLS or RGB. Between\n"
20119 " these points, linear interpolation is used which gives a smooth\n"
20120 " variation of color with intensity index. Any number of control points\n"
20121 " may be specified, located at arbitrary positions, although typically 2\n"
20122 " - 4 are enough. Another way of stating this is that we are traversing\n"
20123 " a given number of lines through HLS or RGB space as we move through\n"
20124 " cmap1 intensity indices. The control points at the minimum and\n"
20125 " maximum position (0 and 1) must always be specified. By adding more\n"
20126 " control points you can get more variation. One good technique for\n"
20127 " plotting functions that vary about some expected average is to use an\n"
20128 " additional 2 control points in the center (position ~= 0.5) that are\n"
20129 " the same lightness as the background (typically white for paper\n"
20130 " output, black for crt), and same hue as the boundary control points.\n"
20131 " This allows the highs and lows to be very easily distinguished.\n"
20132 "\n"
20133 " Each control point must specify the cmap1 intensity index and the\n"
20134 " associated three coordinates in HLS or RGB space. The first point\n"
20135 " must correspond to position = 0, and the last to position = 1.\n"
20136 "\n"
20137 " If RGB colors are provided then the interpolation takes place in RGB\n"
20138 " space and is trivial. However if HLS colors are provided then, because\n"
20139 " of the circular nature of the color wheel for the hue coordinate, the\n"
20140 " interpolation could be performed in either direction around the color\n"
20141 " wheel. The default behaviour is for the hue to be linearly\n"
20142 " interpolated ignoring this circular property of hue. So for example,\n"
20143 " the hues 0 (red) and 240 (blue) will get interpolated via yellow,\n"
20144 " green and cyan. If instead you wish to interpolate the other way\n"
20145 " around the color wheel you have two options. You may provide hues\n"
20146 " outside the range [0, 360), so by using a hue of -120 for blue or 360\n"
20147 " for red the interpolation will proceed via magenta. Alternatively you\n"
20148 " can utilise the alt_hue_path variable to reverse the direction of\n"
20149 " interpolation if you need to provide hues within the [0-360) range.\n"
20150 "\n"
20151 " Examples of interpolation Huealt_hue_pathcolor scheme[120\n"
20152 " 240]falsegreen-cyan-blue[240 120]falseblue-cyan-green[120\n"
20153 " -120]falsegreen-yellow-red-magenta-blue[240\n"
20154 " 480]falseblue-magenta-red-yellow-green[120\n"
20155 " 240]truegreen-yellow-red-magenta-blue[240\n"
20156 " 120]trueblue-magenta-red-yellow-green\n"
20157 "\n"
20158 " Bounds on coordinatesRGBR[0, 1]magnitudeRGBG[0, 1]magnitudeRGBB[0,\n"
20159 " 1]magnitudeHLShue[0, 360]degreesHLSlightness[0,\n"
20160 " 1]magnitudeHLSsaturation[0, 1]magnitude\n"
20161 "\n"
20162 " Redacted form: plscmap1l(itype, intensity, coord1, coord2, coord3,\n"
20163 " alt_hue_path)\n"
20164 "\n"
20165 " This function is used in examples 8, 11, 12, 15, 20, and 21.\n"
20166 "\n"
20167 "\n"
20168 "\n"
20169 "SYNOPSIS:\n"
20170 "\n"
20171 "plscmap1l(itype, npts, intensity, coord1, coord2, coord3, alt_hue_path)\n"
20172 "\n"
20173 "ARGUMENTS:\n"
20174 "\n"
20175 " itype (PLBOOL, input) : true: RGB, false: HLS.\n"
20176 "\n"
20177 " npts (PLINT, input) : number of control points\n"
20178 "\n"
20179 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n"
20180 " intensity index (0.0-1.0) in ascending order for each control\n"
20181 " point.\n"
20182 "\n"
20183 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n"
20184 " coordinate (H or R) for each control point.\n"
20185 "\n"
20186 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n"
20187 " coordinate (L or G) for each control point.\n"
20188 "\n"
20189 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n"
20190 " coordinate (S or B) for each control point.\n"
20191 "\n"
20192 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n"
20193 " npts - 1 elements), each containing either true to use the reversed\n"
20194 " HLS interpolation or false to use the regular HLS interpolation.\n"
20195 " (alt_hue_path[i] refers to the interpolation interval between the\n"
20196 " i and i + 1 control points). This parameter is not used for RGB\n"
20197 " colors (\n"
20198 " itype = true).\n"
20199 "\n"
20200 ""},
20201 { "plscmap1la", _wrap_plscmap1la, METH_VARARGS, "\n"
20202 "Set cmap1 colors and alpha transparency using a piece-wise linear relationship\n"
20203 "\n"
20204 "DESCRIPTION:\n"
20205 "\n"
20206 " This is a variant of plscmap1l that supports alpha channel\n"
20207 " transparency. It sets cmap1 colors using a piece-wise linear\n"
20208 " relationship between cmap1 intensity index (0.0-1.0) and position in\n"
20209 " HLS or RGB color space (see the PLplot documentation) with alpha\n"
20210 " transparency value (0.0-1.0). It may be called at any time.\n"
20211 "\n"
20212 " Redacted form: plscmap1la(itype, intensity, coord1, coord2, coord3,\n"
20213 " alpha, alt_hue_path)\n"
20214 "\n"
20215 " This function is used in example 30.\n"
20216 "\n"
20217 "\n"
20218 "\n"
20219 "SYNOPSIS:\n"
20220 "\n"
20221 "plscmap1la(itype, npts, intensity, coord1, coord2, coord3, alpha, alt_hue_path)\n"
20222 "\n"
20223 "ARGUMENTS:\n"
20224 "\n"
20225 " itype (PLBOOL, input) : true: RGB, false: HLS.\n"
20226 "\n"
20227 " npts (PLINT, input) : number of control points.\n"
20228 "\n"
20229 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n"
20230 " intensity index (0.0-1.0) in ascending order for each control\n"
20231 " point.\n"
20232 "\n"
20233 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n"
20234 " coordinate (H or R) for each control point.\n"
20235 "\n"
20236 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n"
20237 " coordinate (L or G) for each control point.\n"
20238 "\n"
20239 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n"
20240 " coordinate (S or B) for each control point.\n"
20241 "\n"
20242 " alpha (PLFLT_VECTOR, input) : A vector containing the alpha\n"
20243 " transparency value (0.0-1.0) for each control point.\n"
20244 "\n"
20245 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n"
20246 " npts - 1 elements) containing the alternative interpolation method\n"
20247 " Boolean value for each control point interval. (alt_hue_path[i]\n"
20248 " refers to the interpolation interval between the i and i + 1\n"
20249 " control points).\n"
20250 "\n"
20251 ""},
20252 { "plscmap1n", _wrap_plscmap1n, METH_O, "\n"
20253 "Set number of colors in cmap1\n"
20254 "\n"
20255 "DESCRIPTION:\n"
20256 "\n"
20257 " Set number of colors in cmap1, (re-)allocate cmap1, and set default\n"
20258 " values if this is the first allocation (see the PLplot documentation).\n"
20259 "\n"
20260 " Redacted form: plscmap1n(ncol1)\n"
20261 "\n"
20262 " This function is used in examples 8, 11, 20, and 21.\n"
20263 "\n"
20264 "\n"
20265 "\n"
20266 "SYNOPSIS:\n"
20267 "\n"
20268 "plscmap1n(ncol1)\n"
20269 "\n"
20270 "ARGUMENTS:\n"
20271 "\n"
20272 " ncol1 (PLINT, input) : Number of colors that will be allocated in\n"
20273 " the cmap1 palette. If this number is zero or less, then the value\n"
20274 " from the previous call to plscmap1n is used and if there is no\n"
20275 " previous call, then a default value is used.\n"
20276 "\n"
20277 ""},
20278 { "plscmap1_range", _wrap_plscmap1_range, METH_VARARGS, "\n"
20279 "Set the cmap1 argument range for continuous color plots\n"
20280 "\n"
20281 "DESCRIPTION:\n"
20282 "\n"
20283 " Set the cmap1 argument range for continuous color plots that\n"
20284 " corresponds to the range of data values. The maximum range\n"
20285 " corresponding to the entire cmap1 palette is 0.0-1.0, and the smaller\n"
20286 " the cmap1 argument range that is specified with this routine, the\n"
20287 " smaller the subset of the cmap1 color palette that is used to\n"
20288 " represent the continuous data being plotted. If\n"
20289 " min_color is greater than\n"
20290 " max_color or\n"
20291 " max_color is greater than 1.0 or\n"
20292 " min_color is less than 0.0 then no change is made to the cmap1\n"
20293 " argument range. (Use plgcmap1_range to get the cmap1 argument range.)\n"
20294 "\n"
20295 " Redacted form: plscmap1_range(min_color, max_color)\n"
20296 "\n"
20297 " This function is currently used in example 33.\n"
20298 "\n"
20299 "\n"
20300 "\n"
20301 "SYNOPSIS:\n"
20302 "\n"
20303 "plscmap1_range(min_color, max_color)\n"
20304 "\n"
20305 "ARGUMENTS:\n"
20306 "\n"
20307 " min_color (PLFLT, input) : The minimum cmap1 argument. If less\n"
20308 " than 0.0, then 0.0 is used instead.\n"
20309 "\n"
20310 " max_color (PLFLT, input) : The maximum cmap1 argument. If greater\n"
20311 " than 1.0, then 1.0 is used instead.\n"
20312 "\n"
20313 ""},
20314 { "plgcmap1_range", _wrap_plgcmap1_range, METH_NOARGS, "\n"
20315 "Get the cmap1 argument range for continuous color plots\n"
20316 "\n"
20317 "DESCRIPTION:\n"
20318 "\n"
20319 " Get the cmap1 argument range for continuous color plots. (Use\n"
20320 " plscmap1_range to set the cmap1 argument range.)\n"
20321 "\n"
20322 " Redacted form: plgcmap1_range(min_color, max_color)\n"
20323 "\n"
20324 " This function is currently not used in any example.\n"
20325 "\n"
20326 "\n"
20327 "\n"
20328 "SYNOPSIS:\n"
20329 "\n"
20330 "plgcmap1_range(min_color, max_color)\n"
20331 "\n"
20332 "ARGUMENTS:\n"
20333 "\n"
20334 " min_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n"
20335 " minimum cmap1 argument.\n"
20336 "\n"
20337 " max_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n"
20338 " maximum cmap1 argument.\n"
20339 "\n"
20340 ""},
20341 { "plscol0", _wrap_plscol0, METH_VARARGS, "\n"
20342 "Set 8-bit RGB values for given cmap0 color index\n"
20343 "\n"
20344 "DESCRIPTION:\n"
20345 "\n"
20346 " Set 8-bit RGB values for given cmap0 (see the PLplot documentation)\n"
20347 " index. Overwrites the previous color value for the given index and,\n"
20348 " thus, does not result in any additional allocation of space for\n"
20349 " colors.\n"
20350 "\n"
20351 " Redacted form: plscol0(icol0, r, g, b)\n"
20352 "\n"
20353 " This function is used in any example 31.\n"
20354 "\n"
20355 "\n"
20356 "\n"
20357 "SYNOPSIS:\n"
20358 "\n"
20359 "plscol0(icol0, r, g, b)\n"
20360 "\n"
20361 "ARGUMENTS:\n"
20362 "\n"
20363 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n"
20364 " number of colors (which is set by default, by plscmap0n, or even\n"
20365 " by plscmap0).\n"
20366 "\n"
20367 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20368 " degree of red in the color.\n"
20369 "\n"
20370 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20371 " degree of green in the color.\n"
20372 "\n"
20373 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20374 " degree of blue in the color.\n"
20375 "\n"
20376 ""},
20377 { "plscol0a", _wrap_plscol0a, METH_VARARGS, "\n"
20378 "Set 8-bit RGB values and PLFLT alpha transparency value for given cmap0 color index\n"
20379 "\n"
20380 "DESCRIPTION:\n"
20381 "\n"
20382 " Set 8-bit RGB value and PLFLT alpha transparency value for given cmap0\n"
20383 " (see the PLplot documentation) index. Overwrites the previous color\n"
20384 " value for the given index and, thus, does not result in any additional\n"
20385 " allocation of space for colors.\n"
20386 "\n"
20387 " This function is used in example 30.\n"
20388 "\n"
20389 "\n"
20390 "\n"
20391 "SYNOPSIS:\n"
20392 "\n"
20393 "plscol0a(icol0, r, g, b, alpha)\n"
20394 "\n"
20395 "ARGUMENTS:\n"
20396 "\n"
20397 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n"
20398 " number of colors (which is set by default, by plscmap0n, or even\n"
20399 " by plscmap0).\n"
20400 "\n"
20401 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20402 " degree of red in the color.\n"
20403 "\n"
20404 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20405 " degree of green in the color.\n"
20406 "\n"
20407 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20408 " degree of blue in the color.\n"
20409 "\n"
20410 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n"
20411 " (0.0-1.0).\n"
20412 "\n"
20413 ""},
20414 { "plscolbg", _wrap_plscolbg, METH_VARARGS, "\n"
20415 "Set the background color by 8-bit RGB value\n"
20416 "\n"
20417 "DESCRIPTION:\n"
20418 "\n"
20419 " Set the background color (color 0 in cmap0) by 8-bit RGB value (see\n"
20420 " the PLplot documentation).\n"
20421 "\n"
20422 " Redacted form: plscolbg(r, g, b)\n"
20423 "\n"
20424 " This function is used in examples 15 and 31.\n"
20425 "\n"
20426 "\n"
20427 "\n"
20428 "SYNOPSIS:\n"
20429 "\n"
20430 "plscolbg(r, g, b)\n"
20431 "\n"
20432 "ARGUMENTS:\n"
20433 "\n"
20434 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20435 " degree of red in the color.\n"
20436 "\n"
20437 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20438 " degree of green in the color.\n"
20439 "\n"
20440 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20441 " degree of blue in the color.\n"
20442 "\n"
20443 ""},
20444 { "plscolbga", _wrap_plscolbga, METH_VARARGS, "\n"
20445 "Set the background color by 8-bit RGB value and PLFLT alpha transparency value.\n"
20446 "\n"
20447 "DESCRIPTION:\n"
20448 "\n"
20449 " Set the background color (color 0 in cmap0) by 8-bit RGB value and\n"
20450 " PLFLT alpha transparency value (see the PLplot documentation).\n"
20451 "\n"
20452 " This function is used in example 31.\n"
20453 "\n"
20454 "\n"
20455 "\n"
20456 "SYNOPSIS:\n"
20457 "\n"
20458 "plscolbga(r, g, b, alpha)\n"
20459 "\n"
20460 "ARGUMENTS:\n"
20461 "\n"
20462 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20463 " degree of red in the color.\n"
20464 "\n"
20465 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20466 " degree of green in the color.\n"
20467 "\n"
20468 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20469 " degree of blue in the color.\n"
20470 "\n"
20471 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n"
20472 " (0.0-1.0).\n"
20473 "\n"
20474 ""},
20475 { "plscolor", _wrap_plscolor, METH_O, "\n"
20476 "Used to globally turn color output on/off\n"
20477 "\n"
20478 "DESCRIPTION:\n"
20479 "\n"
20480 " Used to globally turn color output on/off for those drivers/devices\n"
20481 " that support it.\n"
20482 "\n"
20483 " Redacted form: plscolor(color)\n"
20484 "\n"
20485 " This function is used in example 31.\n"
20486 "\n"
20487 "\n"
20488 "\n"
20489 "SYNOPSIS:\n"
20490 "\n"
20491 "plscolor(color)\n"
20492 "\n"
20493 "ARGUMENTS:\n"
20494 "\n"
20495 " color (PLINT, input) : Color flag (Boolean). If zero, color is\n"
20496 " turned off. If non-zero, color is turned on.\n"
20497 "\n"
20498 ""},
20499 { "plscompression", _wrap_plscompression, METH_O, "\n"
20500 "Set device-compression level\n"
20501 "\n"
20502 "DESCRIPTION:\n"
20503 "\n"
20504 " Set device-compression level. Only used for drivers that provide\n"
20505 " compression. This function, if used, should be invoked before a call\n"
20506 " to plinit.\n"
20507 "\n"
20508 " Redacted form: plscompression(compression)\n"
20509 "\n"
20510 " This function is used in example 31.\n"
20511 "\n"
20512 "\n"
20513 "\n"
20514 "SYNOPSIS:\n"
20515 "\n"
20516 "plscompression(compression)\n"
20517 "\n"
20518 "ARGUMENTS:\n"
20519 "\n"
20520 " compression (PLINT, input) : The desired compression level. This is\n"
20521 " a device-dependent value. Currently only the jpeg and png devices\n"
20522 " use these values. For jpeg value is the jpeg quality which should\n"
20523 " normally be in the range 0-95. Higher values denote higher quality\n"
20524 " and hence larger image sizes. For png values are in the range -1\n"
20525 " to 99. Values of 0-9 are taken as the compression level for zlib.\n"
20526 " A value of -1 denotes the default zlib compression level. Values\n"
20527 " in the range 10-99 are divided by 10 and then used as the zlib\n"
20528 " compression level. Higher compression levels correspond to greater\n"
20529 " compression and small file sizes at the expense of more\n"
20530 " computation.\n"
20531 "\n"
20532 ""},
20533 { "plsdev", _wrap_plsdev, METH_O, "\n"
20534 "Set the device (keyword) name\n"
20535 "\n"
20536 "DESCRIPTION:\n"
20537 "\n"
20538 " Set the device (keyword) name.\n"
20539 "\n"
20540 " Redacted form: plsdev(devname)\n"
20541 "\n"
20542 " This function is used in examples 1, 14, and 20.\n"
20543 "\n"
20544 "\n"
20545 "\n"
20546 "SYNOPSIS:\n"
20547 "\n"
20548 "plsdev(devname)\n"
20549 "\n"
20550 "ARGUMENTS:\n"
20551 "\n"
20552 " devname (PLCHAR_VECTOR, input) : An ascii character string\n"
20553 " containing the device name keyword of the required output device.\n"
20554 " If\n"
20555 " devname is NULL or if the first character of the string is a ``?'',\n"
20556 " the normal (prompted) start up is used.\n"
20557 "\n"
20558 ""},
20559 { "plsdidev", _wrap_plsdidev, METH_VARARGS, "\n"
20560 "Set parameters that define current device-space window\n"
20561 "\n"
20562 "DESCRIPTION:\n"
20563 "\n"
20564 " Set relative margin width, aspect ratio, and relative justification\n"
20565 " that define current device-space window. If you want to just use the\n"
20566 " previous value for any of these, just pass in the magic value\n"
20567 " PL_NOTSET. It is unlikely that one should ever need to change the\n"
20568 " aspect ratio but it's in there for completeness. If plsdidev is not\n"
20569 " called the default values of mar, jx, and jy are all 0. aspect is set\n"
20570 " to a device-specific value.\n"
20571 "\n"
20572 " Redacted form: plsdidev(mar, aspect, jx, jy)\n"
20573 "\n"
20574 " This function is used in example 31.\n"
20575 "\n"
20576 "\n"
20577 "\n"
20578 "SYNOPSIS:\n"
20579 "\n"
20580 "plsdidev(mar, aspect, jx, jy)\n"
20581 "\n"
20582 "ARGUMENTS:\n"
20583 "\n"
20584 " mar (PLFLT, input) : Relative margin width.\n"
20585 "\n"
20586 " aspect (PLFLT, input) : Aspect ratio.\n"
20587 "\n"
20588 " jx (PLFLT, input) : Relative justification in x. Value must lie in\n"
20589 " the range -0.5 to 0.5.\n"
20590 "\n"
20591 " jy (PLFLT, input) : Relative justification in y. Value must lie in\n"
20592 " the range -0.5 to 0.5.\n"
20593 "\n"
20594 ""},
20595 { "plsdimap", _wrap_plsdimap, METH_VARARGS, "\n"
20596 "Set up transformation from metafile coordinates\n"
20597 "\n"
20598 "DESCRIPTION:\n"
20599 "\n"
20600 " Set up transformation from metafile coordinates. The size of the plot\n"
20601 " is scaled so as to preserve aspect ratio. This isn't intended to be a\n"
20602 " general-purpose facility just yet (not sure why the user would need\n"
20603 " it, for one).\n"
20604 "\n"
20605 " Redacted form: plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm,\n"
20606 " dimypmm)\n"
20607 "\n"
20608 " This function is not used in any examples.\n"
20609 "\n"
20610 "\n"
20611 "\n"
20612 "SYNOPSIS:\n"
20613 "\n"
20614 "plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm, dimypmm)\n"
20615 "\n"
20616 "ARGUMENTS:\n"
20617 "\n"
20618 " dimxmin (PLINT, input) : NEEDS DOCUMENTATION\n"
20619 "\n"
20620 " dimxmax (PLINT, input) : NEEDS DOCUMENTATION\n"
20621 "\n"
20622 " dimymin (PLINT, input) : NEEDS DOCUMENTATION\n"
20623 "\n"
20624 " dimymax (PLINT, input) : NEEDS DOCUMENTATION\n"
20625 "\n"
20626 " dimxpmm (PLFLT, input) : NEEDS DOCUMENTATION\n"
20627 "\n"
20628 " dimypmm (PLFLT, input) : NEEDS DOCUMENTATION\n"
20629 "\n"
20630 ""},
20631 { "plsdiori", _wrap_plsdiori, METH_O, "\n"
20632 "Set plot orientation\n"
20633 "\n"
20634 "DESCRIPTION:\n"
20635 "\n"
20636 " Set plot orientation parameter which is multiplied by 90 degrees to\n"
20637 " obtain the angle of rotation. Note, arbitrary rotation parameters\n"
20638 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n"
20639 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n"
20640 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n"
20641 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori is\n"
20642 " not called the default value of rot is 0.\n"
20643 "\n"
20644 " N.B. aspect ratio is unaffected by calls to plsdiori. So you will\n"
20645 " probably want to change the aspect ratio to a value suitable for the\n"
20646 " plot orientation using a call to plsdidev or the command-line options\n"
20647 " -a or -freeaspect. For more documentation of those options see the\n"
20648 " PLplot documentation. Such command-line options can be set internally\n"
20649 " using plsetopt or set directly using the command line and parsed using\n"
20650 " a call to plparseopts.\n"
20651 "\n"
20652 " Redacted form: plsdiori(rot)\n"
20653 "\n"
20654 " This function is not used in any examples.\n"
20655 "\n"
20656 "\n"
20657 "\n"
20658 "SYNOPSIS:\n"
20659 "\n"
20660 "plsdiori(rot)\n"
20661 "\n"
20662 "ARGUMENTS:\n"
20663 "\n"
20664 " rot (PLFLT, input) : Plot orientation parameter.\n"
20665 "\n"
20666 ""},
20667 { "plsdiplt", _wrap_plsdiplt, METH_VARARGS, "\n"
20668 "Set parameters that define current plot-space window\n"
20669 "\n"
20670 "DESCRIPTION:\n"
20671 "\n"
20672 " Set relative minima and maxima that define the current plot-space\n"
20673 " window. If plsdiplt is not called the default values of xmin, ymin,\n"
20674 " xmax, and ymax are 0., 0., 1., and 1.\n"
20675 "\n"
20676 " Redacted form: plsdiplt(xmin, ymin, xmax, ymax)\n"
20677 "\n"
20678 " This function is used in example 31.\n"
20679 "\n"
20680 "\n"
20681 "\n"
20682 "SYNOPSIS:\n"
20683 "\n"
20684 "plsdiplt(xmin, ymin, xmax, ymax)\n"
20685 "\n"
20686 "ARGUMENTS:\n"
20687 "\n"
20688 " xmin (PLFLT, input) : Relative minimum in x.\n"
20689 "\n"
20690 " ymin (PLFLT, input) : Relative minimum in y.\n"
20691 "\n"
20692 " xmax (PLFLT, input) : Relative maximum in x.\n"
20693 "\n"
20694 " ymax (PLFLT, input) : Relative maximum in y.\n"
20695 "\n"
20696 ""},
20697 { "plsdiplz", _wrap_plsdiplz, METH_VARARGS, "\n"
20698 "Set parameters incrementally (zoom mode) that define current plot-space window\n"
20699 "\n"
20700 "DESCRIPTION:\n"
20701 "\n"
20702 " Set relative minima and maxima incrementally (zoom mode) that define\n"
20703 " the current plot-space window. This function has the same effect as\n"
20704 " plsdiplt if that function has not been previously called. Otherwise,\n"
20705 " this function implements zoom mode using the transformation min_used =\n"
20706 " old_min + old_length*min and max_used = old_min + old_length*max for\n"
20707 " each axis. For example, if min = 0.05 and max = 0.95 for each axis,\n"
20708 " repeated calls to plsdiplz will zoom in by 10 per cent for each call.\n"
20709 "\n"
20710 " Redacted form: plsdiplz(xmin, ymin, xmax, ymax)\n"
20711 "\n"
20712 " This function is used in example 31.\n"
20713 "\n"
20714 "\n"
20715 "\n"
20716 "SYNOPSIS:\n"
20717 "\n"
20718 "plsdiplz(xmin, ymin, xmax, ymax)\n"
20719 "\n"
20720 "ARGUMENTS:\n"
20721 "\n"
20722 " xmin (PLFLT, input) : Relative (incremental) minimum in x.\n"
20723 "\n"
20724 " ymin (PLFLT, input) : Relative (incremental) minimum in y.\n"
20725 "\n"
20726 " xmax (PLFLT, input) : Relative (incremental) maximum in x.\n"
20727 "\n"
20728 " ymax (PLFLT, input) : Relative (incremental) maximum in y.\n"
20729 "\n"
20730 ""},
20731 { "plseed", _wrap_plseed, METH_O, "\n"
20732 "Set seed for internal random number generator.\n"
20733 "\n"
20734 "DESCRIPTION:\n"
20735 "\n"
20736 " Set the seed for the internal random number generator. See plrandd for\n"
20737 " further details.\n"
20738 "\n"
20739 " Redacted form: plseed(seed)\n"
20740 "\n"
20741 " This function is used in example 21.\n"
20742 "\n"
20743 "\n"
20744 "\n"
20745 "SYNOPSIS:\n"
20746 "\n"
20747 "plseed(seed)\n"
20748 "\n"
20749 "ARGUMENTS:\n"
20750 "\n"
20751 " seed (unsigned int, input) : Seed for random number generator.\n"
20752 "\n"
20753 ""},
20754 { "plsesc", _wrap_plsesc, METH_O, "\n"
20755 "Set the escape character for text strings\n"
20756 "\n"
20757 "DESCRIPTION:\n"
20758 "\n"
20759 " Set the escape character for text strings. From C (in contrast to\n"
20760 " Fortran, see plsescfortran) you pass esc as a character. Only selected\n"
20761 " characters are allowed to prevent the user from shooting himself in\n"
20762 " the foot (For example, a \\ isn't allowed since it conflicts with C's\n"
20763 " use of backslash as a character escape). Here are the allowed escape\n"
20764 " characters and their corresponding decimal ASCII values: !, ASCII 33\n"
20765 " #, ASCII 35\n"
20766 " $, ASCII 36\n"
20767 " %, ASCII 37\n"
20768 " &, ASCII 38\n"
20769 " *, ASCII 42\n"
20770 " @, ASCII 64\n"
20771 " ^, ASCII 94\n"
20772 " ~, ASCII 126\n"
20773 "\n"
20774 "\n"
20775 " Redacted form: General: plsesc(esc)\n"
20776 "\n"
20777 "\n"
20778 " This function is used in example 29.\n"
20779 "\n"
20780 "\n"
20781 "\n"
20782 "SYNOPSIS:\n"
20783 "\n"
20784 "plsesc(esc)\n"
20785 "\n"
20786 "ARGUMENTS:\n"
20787 "\n"
20788 " esc (char, input) : Escape character.\n"
20789 "\n"
20790 ""},
20791 { "plsetopt", _wrap_plsetopt, METH_VARARGS, "\n"
20792 "Set any command-line option\n"
20793 "\n"
20794 "DESCRIPTION:\n"
20795 "\n"
20796 " Set any command-line option internally from a program before it\n"
20797 " invokes plinit. opt is the name of the command-line option and optarg\n"
20798 " is the corresponding command-line option argument.\n"
20799 "\n"
20800 " This function returns 0 on success.\n"
20801 "\n"
20802 " Redacted form: plsetopt(opt, optarg)\n"
20803 "\n"
20804 " This function is used in example 14.\n"
20805 "\n"
20806 "\n"
20807 "\n"
20808 "SYNOPSIS:\n"
20809 "\n"
20810 "PLINT plsetopt(opt, optarg)\n"
20811 "\n"
20812 "ARGUMENTS:\n"
20813 "\n"
20814 " opt (PLCHAR_VECTOR, input) : An ascii character string containing\n"
20815 " the command-line option.\n"
20816 "\n"
20817 " optarg (PLCHAR_VECTOR, input) : An ascii character string\n"
20818 " containing the argument of the command-line option.\n"
20819 "\n"
20820 ""},
20821 { "plsfam", _wrap_plsfam, METH_VARARGS, "\n"
20822 "Set family file parameters\n"
20823 "\n"
20824 "DESCRIPTION:\n"
20825 "\n"
20826 " Sets variables dealing with output file familying. Does nothing if\n"
20827 " familying not supported by the driver. This routine, if used, must be\n"
20828 " called before initializing PLplot. See the PLplot documentation for\n"
20829 " more information.\n"
20830 "\n"
20831 " Redacted form: plsfam(fam, num, bmax)\n"
20832 "\n"
20833 " This function is used in examples 14 and 31.\n"
20834 "\n"
20835 "\n"
20836 "\n"
20837 "SYNOPSIS:\n"
20838 "\n"
20839 "plsfam(fam, num, bmax)\n"
20840 "\n"
20841 "ARGUMENTS:\n"
20842 "\n"
20843 " fam (PLINT, input) : Family flag (Boolean). If nonzero, familying\n"
20844 " is enabled.\n"
20845 "\n"
20846 " num (PLINT, input) : Current family file number.\n"
20847 "\n"
20848 " bmax (PLINT, input) : Maximum file size (in bytes) for a family\n"
20849 " file.\n"
20850 "\n"
20851 ""},
20852 { "plsfci", _wrap_plsfci, METH_O, "\n"
20853 "Set FCI (font characterization integer)\n"
20854 "\n"
20855 "DESCRIPTION:\n"
20856 "\n"
20857 " Sets font characteristics to be used at the start of the next string\n"
20858 " using the FCI approach. See the PLplot documentation for more\n"
20859 " information. Note, plsfont (which calls plsfci internally) provides a\n"
20860 " more user-friendly API for setting the font characterisitics.\n"
20861 "\n"
20862 " Redacted form: General: plsfci(fci)\n"
20863 "\n"
20864 "\n"
20865 " This function is used in example 23.\n"
20866 "\n"
20867 "\n"
20868 "\n"
20869 "SYNOPSIS:\n"
20870 "\n"
20871 "plsfci(fci)\n"
20872 "\n"
20873 "ARGUMENTS:\n"
20874 "\n"
20875 " fci (PLUNICODE, input) : PLUNICODE (unsigned 32-bit integer) value\n"
20876 " of FCI.\n"
20877 "\n"
20878 ""},
20879 { "plsfnam", _wrap_plsfnam, METH_O, "\n"
20880 "Set output file name\n"
20881 "\n"
20882 "DESCRIPTION:\n"
20883 "\n"
20884 " Sets the current output file name, if applicable. If the file name\n"
20885 " has not been specified and is required by the driver, the user will be\n"
20886 " prompted for it. If using the X-windows output driver, this sets the\n"
20887 " display name. This routine, if used, must be called before\n"
20888 " initializing PLplot.\n"
20889 "\n"
20890 " Redacted form: plsfnam(fnam)\n"
20891 "\n"
20892 " This function is used in examples 1 and 20.\n"
20893 "\n"
20894 "\n"
20895 "\n"
20896 "SYNOPSIS:\n"
20897 "\n"
20898 "plsfnam(fnam)\n"
20899 "\n"
20900 "ARGUMENTS:\n"
20901 "\n"
20902 " fnam (PLCHAR_VECTOR, input) : An ascii character string containing\n"
20903 " the file name.\n"
20904 "\n"
20905 ""},
20906 { "plsfont", _wrap_plsfont, METH_VARARGS, "\n"
20907 "Set family, style and weight of the current font\n"
20908 "\n"
20909 "DESCRIPTION:\n"
20910 "\n"
20911 " Sets the current font. See the PLplot documentation for more\n"
20912 " information on font selection.\n"
20913 "\n"
20914 " Redacted form: plsfont(family, style, weight)\n"
20915 "\n"
20916 " This function is used in example 23.\n"
20917 "\n"
20918 "\n"
20919 "\n"
20920 "SYNOPSIS:\n"
20921 "\n"
20922 "plsfont(family, style, weight)\n"
20923 "\n"
20924 "ARGUMENTS:\n"
20925 "\n"
20926 " family (PLINT, input) : Font family to select for the current font.\n"
20927 " The available values are given by the PL_FCI_* constants in\n"
20928 " plplot.h. Current options are PL_FCI_SANS, PL_FCI_SERIF,\n"
20929 " PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. A negative value\n"
20930 " signifies that the font family should not be altered.\n"
20931 "\n"
20932 " style (PLINT, input) : Font style to select for the current font.\n"
20933 " The available values are given by the PL_FCI_* constants in\n"
20934 " plplot.h. Current options are PL_FCI_UPRIGHT, PL_FCI_ITALIC and\n"
20935 " PL_FCI_OBLIQUE. A negative value signifies that the font style\n"
20936 " should not be altered.\n"
20937 "\n"
20938 " weight (PLINT, input) : Font weight to select for the current font.\n"
20939 " The available values are given by the PL_FCI_* constants in\n"
20940 " plplot.h. Current options are PL_FCI_MEDIUM and PL_FCI_BOLD. A\n"
20941 " negative value signifies that the font weight should not be\n"
20942 " altered.\n"
20943 "\n"
20944 ""},
20945 { "plshades", _wrap_plshades, METH_VARARGS, "\n"
20946 "Shade regions on the basis of value\n"
20947 "\n"
20948 "DESCRIPTION:\n"
20949 "\n"
20950 " Shade regions on the basis of value. This is the high-level routine\n"
20951 " for making continuous color shaded plots with cmap1 while plshade\n"
20952 " should be used to plot individual shaded regions using either cmap0 or\n"
20953 " cmap1. examples/;<language>/x16* shows how to use plshades for each of\n"
20954 " our supported languages.\n"
20955 "\n"
20956 " Redacted form: General: plshades(a, defined, xmin, xmax, ymin, ymax,\n"
20957 " clevel, fill_width, cont_color, cont_width, fill, rectangular, pltr,\n"
20958 " pltr_data)\n"
20959 "\n"
20960 "\n"
20961 " This function is used in examples 16, 21, and 22.\n"
20962 "\n"
20963 "\n"
20964 "\n"
20965 "SYNOPSIS:\n"
20966 "\n"
20967 "plshades(a, nx, ny, defined, xmin, xmax, ymin, ymax, clevel, nlevel, fill_width, cont_color, cont_width, fill, rectangular, pltr, pltr_data)\n"
20968 "\n"
20969 "ARGUMENTS:\n"
20970 "\n"
20971 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n"
20972 " plot. Should have dimensions of\n"
20973 " nx by\n"
20974 " ny.\n"
20975 "\n"
20976 " nx (PLINT, input) : First dimension of matrix \"a\".\n"
20977 "\n"
20978 " ny (PLINT, input) : Second dimension of matrix \"a\".\n"
20979 "\n"
20980 " defined (PLDEFINED_callback, input) : Callback function specifying\n"
20981 " the region that should be plotted in the shade plot. This\n"
20982 " function accepts x and y coordinates as input arguments and must\n"
20983 " return 1 if the point is to be included in the shade plot and 0\n"
20984 " otherwise. If you want to plot the entire shade plot (the usual\n"
20985 " case), this argument should be set to NULL.\n"
20986 "\n"
20987 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
20988 " pltr below for how these arguments are used (only for the special case\n"
20989 " when the callback function\n"
20990 " pltr is not supplied).\n"
20991 "\n"
20992 " clevel (PLFLT_VECTOR, input) : A vector containing the data levels\n"
20993 " corresponding to the edges of each shaded region that will be\n"
20994 " plotted by this function. To work properly the levels should be\n"
20995 " monotonic.\n"
20996 "\n"
20997 " nlevel (PLINT, input) : Number of shades plus 1 (i.e., the number\n"
20998 " of shade edge values in clevel).\n"
20999 "\n"
21000 " fill_width (PLFLT, input) : Defines the line width used by the fill\n"
21001 " pattern.\n"
21002 "\n"
21003 " cont_color (PLINT, input) : Defines cmap0 pen color used for\n"
21004 " contours defining edges of shaded regions. The pen color is only\n"
21005 " temporary set for the contour drawing. Set this value to zero or\n"
21006 " less if no shade edge contours are wanted.\n"
21007 "\n"
21008 " cont_width (PLFLT, input) : Defines line width used for contours\n"
21009 " defining edges of shaded regions. This value may not be honored\n"
21010 " by all drivers. The pen width is only temporary set for the\n"
21011 " contour drawing. Set this value to zero or less if no shade edge\n"
21012 " contours are wanted.\n"
21013 "\n"
21014 " fill (PLFILL_callback, input) : Callback routine used to fill the\n"
21015 " region. Use plfill for this purpose.\n"
21016 "\n"
21017 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n"
21018 " map to rectangles after coordinate transformation with pltrl.\n"
21019 " Otherwise, set rectangular to false. If rectangular is set to\n"
21020 " true, plshade tries to save time by filling large rectangles.\n"
21021 " This optimization fails if the coordinate transformation distorts\n"
21022 " the shape of rectangles. For example a plot in polar coordinates\n"
21023 " has to have rectangular set to false.\n"
21024 "\n"
21025 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
21026 " defines the transformation between the zero-based indices of the\n"
21027 " matrix a and world coordinates. If\n"
21028 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
21029 " indices of a are mapped to the range\n"
21030 " xmin through\n"
21031 " xmax and the y indices of a are mapped to the range\n"
21032 " ymin through\n"
21033 " ymax.For the C case, transformation functions are provided in the\n"
21034 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
21035 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
21036 " matrices. In addition, C callback routines for the transformation\n"
21037 " can be supplied by the user such as the mypltr function in\n"
21038 " examples/c/x09c.c which provides a general linear transformation\n"
21039 " between index coordinates and world coordinates.For languages\n"
21040 " other than C you should consult the PLplot documentation for the\n"
21041 " details concerning how PLTRANSFORM_callback arguments are\n"
21042 " interfaced. However, in general, a particular pattern of\n"
21043 " callback-associated arguments such as a tr vector with 6 elements;\n"
21044 " xg and yg vectors; or xg and yg matrices are respectively\n"
21045 " interfaced to a linear-transformation routine similar to the above\n"
21046 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
21047 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
21048 " support native language callbacks for handling index to\n"
21049 " world-coordinate transformations. Examples of these various\n"
21050 " approaches are given in examples/<language>x09*,\n"
21051 " examples/<language>x16*, examples/<language>x20*,\n"
21052 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
21053 " supported languages.\n"
21054 "\n"
21055 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
21056 " information to pltr0, pltr1, pltr2, or whatever routine that is\n"
21057 " externally supplied.\n"
21058 "\n"
21059 ""},
21060 { "plshade", _wrap_plshade, METH_VARARGS, "\n"
21061 "Shade individual region on the basis of value\n"
21062 "\n"
21063 "DESCRIPTION:\n"
21064 "\n"
21065 " Shade individual region on the basis of value. Use plshades if you\n"
21066 " want to shade a number of contiguous regions using continuous colors.\n"
21067 " In particular the edge contours are treated properly in plshades. If\n"
21068 " you attempt to do contiguous regions with plshade the contours at the\n"
21069 " edge of the shade are partially obliterated by subsequent plots of\n"
21070 " contiguous shaded regions.\n"
21071 "\n"
21072 " Redacted form: General: plshade(a, defined, xmin, xmax, ymin, ymax,\n"
21073 " shade_min, shade_max, sh_cmap, sh_color, sh_width, min_color,\n"
21074 " min_width, max_color, max_width, fill, rectangular, pltr, pltr_data)\n"
21075 "\n"
21076 "\n"
21077 " This function is used in example 15.\n"
21078 "\n"
21079 "\n"
21080 "\n"
21081 "SYNOPSIS:\n"
21082 "\n"
21083 "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"
21084 "\n"
21085 "ARGUMENTS:\n"
21086 "\n"
21087 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n"
21088 " plot. Should have dimensions of\n"
21089 " nx by\n"
21090 " ny.\n"
21091 "\n"
21092 " nx (PLINT, input) : First dimension of the matrix \"a\".\n"
21093 "\n"
21094 " ny (PLINT, input) : Second dimension of the matrix \"a\".\n"
21095 "\n"
21096 " defined (PLDEFINED_callback, input) : Callback function specifying\n"
21097 " the region that should be plotted in the shade plot. This\n"
21098 " function accepts x and y coordinates as input arguments and must\n"
21099 " return 1 if the point is to be included in the shade plot and 0\n"
21100 " otherwise. If you want to plot the entire shade plot (the usual\n"
21101 " case), this argument should be set to NULL.\n"
21102 "\n"
21103 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
21104 " pltr below for how these arguments are used (only for the special case\n"
21105 " when the callback function\n"
21106 " pltr is not supplied).\n"
21107 "\n"
21108 " shade_min (PLFLT, input) : Defines the lower end of the interval to\n"
21109 " be shaded. If shade_max <= shade_min, plshade does nothing.\n"
21110 "\n"
21111 " shade_max (PLFLT, input) : Defines the upper end of the interval to\n"
21112 " be shaded. If shade_max <= shade_min, plshade does nothing.\n"
21113 "\n"
21114 " sh_cmap (PLINT, input) : Defines color map. If sh_cmap=0, then\n"
21115 " sh_color is interpreted as a cmap0 (integer) index. If sh_cmap=1,\n"
21116 " then sh_color is interpreted as a cmap1 argument in the range\n"
21117 " (0.0-1.0).\n"
21118 "\n"
21119 " sh_color (PLFLT, input) : Defines color map index with integer\n"
21120 " value if cmap0 or value in range (0.0-1.0) if cmap1.\n"
21121 "\n"
21122 " sh_width (PLFLT, input) : Defines width used by the fill pattern.\n"
21123 "\n"
21124 " min_color (PLINT, input) : Defines pen color, width used by the\n"
21125 " boundary of shaded region. The min values are used for the\n"
21126 " shade_min boundary, and the max values are used on the shade_max\n"
21127 " boundary. Set color and width to zero for no plotted boundaries.\n"
21128 "\n"
21129 " min_width (PLFLT, input) : Defines pen color, width used by the\n"
21130 " boundary of shaded region. The min values are used for the\n"
21131 " shade_min boundary, and the max values are used on the shade_max\n"
21132 " boundary. Set color and width to zero for no plotted boundaries.\n"
21133 "\n"
21134 " max_color (PLINT, input) : Defines pen color, width used by the\n"
21135 " boundary of shaded region. The min values are used for the\n"
21136 " shade_min boundary, and the max values are used on the shade_max\n"
21137 " boundary. Set color and width to zero for no plotted boundaries.\n"
21138 "\n"
21139 " max_width (PLFLT, input) : Defines pen color, width used by the\n"
21140 " boundary of shaded region. The min values are used for the\n"
21141 " shade_min boundary, and the max values are used on the shade_max\n"
21142 " boundary. Set color and width to zero for no plotted boundaries.\n"
21143 "\n"
21144 " fill (PLFILL_callback, input) : Routine used to fill the region.\n"
21145 " Use plfill. Future version of PLplot may have other fill\n"
21146 " routines.\n"
21147 "\n"
21148 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n"
21149 " map to rectangles after coordinate transformation with pltrl.\n"
21150 " Otherwise, set rectangular to false. If rectangular is set to\n"
21151 " true, plshade tries to save time by filling large rectangles.\n"
21152 " This optimization fails if the coordinate transformation distorts\n"
21153 " the shape of rectangles. For example a plot in polar coordinates\n"
21154 " has to have rectangular set to false.\n"
21155 "\n"
21156 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
21157 " defines the transformation between the zero-based indices of the\n"
21158 " matrix a and world coordinates. If\n"
21159 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
21160 " indices of a are mapped to the range\n"
21161 " xmin through\n"
21162 " xmax and the y indices of a are mapped to the range\n"
21163 " ymin through\n"
21164 " ymax.For the C case, transformation functions are provided in the\n"
21165 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
21166 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
21167 " matrices. In addition, C callback routines for the transformation\n"
21168 " can be supplied by the user such as the mypltr function in\n"
21169 " examples/c/x09c.c which provides a general linear transformation\n"
21170 " between index coordinates and world coordinates.For languages\n"
21171 " other than C you should consult the PLplot documentation for the\n"
21172 " details concerning how PLTRANSFORM_callback arguments are\n"
21173 " interfaced. However, in general, a particular pattern of\n"
21174 " callback-associated arguments such as a tr vector with 6 elements;\n"
21175 " xg and yg vectors; or xg and yg matrices are respectively\n"
21176 " interfaced to a linear-transformation routine similar to the above\n"
21177 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
21178 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
21179 " support native language callbacks for handling index to\n"
21180 " world-coordinate transformations. Examples of these various\n"
21181 " approaches are given in examples/<language>x09*,\n"
21182 " examples/<language>x16*, examples/<language>x20*,\n"
21183 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
21184 " supported languages.\n"
21185 "\n"
21186 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
21187 " information to pltr0, pltr1, pltr2, or whatever routine that is\n"
21188 " externally supplied.\n"
21189 "\n"
21190 ""},
21191 { "plslabelfunc", _wrap_plslabelfunc, METH_VARARGS, "\n"
21192 "Assign a function to use for generating custom axis labels\n"
21193 "\n"
21194 "DESCRIPTION:\n"
21195 "\n"
21196 " This function allows a user to provide their own function to provide\n"
21197 " axis label text. The user function is given the numeric value for a\n"
21198 " point on an axis and returns a string label to correspond with that\n"
21199 " value. Custom axis labels can be enabled by passing appropriate\n"
21200 " arguments to plenv, plbox, plbox3 and similar functions.\n"
21201 "\n"
21202 " This function is used in example 19.\n"
21203 "\n"
21204 "\n"
21205 "\n"
21206 "SYNOPSIS:\n"
21207 "\n"
21208 "plslabelfunc(label_func, label_data)\n"
21209 "\n"
21210 "ARGUMENTS:\n"
21211 "\n"
21212 " label_func (PLLABEL_FUNC_callback, input) : This is the custom\n"
21213 " label function. In order to reset to the default labelling, set\n"
21214 " this to NULL. The labelling function parameters are, in order:\n"
21215 " axis: This indicates which axis a label is being requested for.\n"
21216 " The value will be one of PL_X_AXIS, PL_Y_AXIS or PL_Z_AXIS.\n"
21217 "\n"
21218 " value: This is the value along the axis which is being labelled.\n"
21219 "\n"
21220 " label_text: The string representation of the label value.\n"
21221 "\n"
21222 " length: The maximum length in characters allowed for label_text.\n"
21223 "\n"
21224 "\n"
21225 " label_data (PLPointer, input) : This parameter may be used to pass\n"
21226 " data to the label_func function.\n"
21227 "\n"
21228 ""},
21229 { "plsmaj", _wrap_plsmaj, METH_VARARGS, "\n"
21230 "Set length of major ticks\n"
21231 "\n"
21232 "DESCRIPTION:\n"
21233 "\n"
21234 " This sets up the length of the major ticks. The actual length is the\n"
21235 " product of the default length and a scaling factor as for character\n"
21236 " height.\n"
21237 "\n"
21238 " Redacted form: plsmaj(def, scale)\n"
21239 "\n"
21240 " This function is used in example 29.\n"
21241 "\n"
21242 "\n"
21243 "\n"
21244 "SYNOPSIS:\n"
21245 "\n"
21246 "plsmaj(def, scale)\n"
21247 "\n"
21248 "ARGUMENTS:\n"
21249 "\n"
21250 " def (PLFLT, input) : The default length of a major tick in\n"
21251 " millimeters, should be set to zero if the default length is to\n"
21252 " remain unchanged.\n"
21253 "\n"
21254 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
21255 " actual tick length.\n"
21256 "\n"
21257 ""},
21258 { "plsmem", _wrap_plsmem, METH_VARARGS, "\n"
21259 "Set the memory area to be plotted (RGB)\n"
21260 "\n"
21261 "DESCRIPTION:\n"
21262 "\n"
21263 " Set the memory area to be plotted (with the mem or memcairo driver) as\n"
21264 " the dev member of the stream structure. Also set the number of pixels\n"
21265 " in the memory passed in\n"
21266 " plotmem, which is a block of memory\n"
21267 " maxy by\n"
21268 " maxx by 3 bytes long, say: 480 x 640 x 3 (Y, X, RGB)\n"
21269 "\n"
21270 " This memory will have to be freed by the user!\n"
21271 "\n"
21272 " Redacted form: plsmem(maxx, maxy, plotmem)\n"
21273 "\n"
21274 " This function is not used in any examples.\n"
21275 "\n"
21276 "\n"
21277 "\n"
21278 "SYNOPSIS:\n"
21279 "\n"
21280 "plsmem(maxx, maxy, plotmem)\n"
21281 "\n"
21282 "ARGUMENTS:\n"
21283 "\n"
21284 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n"
21285 "\n"
21286 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n"
21287 "\n"
21288 " plotmem (PLPointer, input) : Pointer to the beginning of a\n"
21289 " user-supplied writeable memory area.\n"
21290 "\n"
21291 ""},
21292 { "plsmema", _wrap_plsmema, METH_VARARGS, "\n"
21293 "Set the memory area to be plotted (RGBA)\n"
21294 "\n"
21295 "DESCRIPTION:\n"
21296 "\n"
21297 " Set the memory area to be plotted (with the memcairo driver) as the\n"
21298 " dev member of the stream structure. Also set the number of pixels in\n"
21299 " the memory passed in\n"
21300 " plotmem, which is a block of memory\n"
21301 " maxy by\n"
21302 " maxx by 4 bytes long, say: 480 x 640 x 4 (Y, X, RGBA)\n"
21303 "\n"
21304 " This memory will have to be freed by the user!\n"
21305 "\n"
21306 " Redacted form: plsmema(maxx, maxy, plotmem)\n"
21307 "\n"
21308 " This function is not used in any examples.\n"
21309 "\n"
21310 "\n"
21311 "\n"
21312 "SYNOPSIS:\n"
21313 "\n"
21314 "plsmema(maxx, maxy, plotmem)\n"
21315 "\n"
21316 "ARGUMENTS:\n"
21317 "\n"
21318 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n"
21319 "\n"
21320 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n"
21321 "\n"
21322 " plotmem (PLPointer, input) : Pointer to the beginning of a\n"
21323 " user-supplied writeable memory area.\n"
21324 "\n"
21325 ""},
21326 { "plsmin", _wrap_plsmin, METH_VARARGS, "\n"
21327 "Set length of minor ticks\n"
21328 "\n"
21329 "DESCRIPTION:\n"
21330 "\n"
21331 " This sets up the length of the minor ticks and the length of the\n"
21332 " terminals on error bars. The actual length is the product of the\n"
21333 " default length and a scaling factor as for character height.\n"
21334 "\n"
21335 " Redacted form: plsmin(def, scale)\n"
21336 "\n"
21337 " This function is used in example 29.\n"
21338 "\n"
21339 "\n"
21340 "\n"
21341 "SYNOPSIS:\n"
21342 "\n"
21343 "plsmin(def, scale)\n"
21344 "\n"
21345 "ARGUMENTS:\n"
21346 "\n"
21347 " def (PLFLT, input) : The default length of a minor tick in\n"
21348 " millimeters, should be set to zero if the default length is to\n"
21349 " remain unchanged.\n"
21350 "\n"
21351 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
21352 " actual tick length.\n"
21353 "\n"
21354 ""},
21355 { "plsori", _wrap_plsori, METH_O, "\n"
21356 "Set orientation\n"
21357 "\n"
21358 "DESCRIPTION:\n"
21359 "\n"
21360 " Set integer plot orientation parameter. This function is identical to\n"
21361 " plsdiori except for the type of the argument, and should be used in\n"
21362 " the same way. See the documentation of plsdiori for details.\n"
21363 "\n"
21364 " Redacted form: plsori(ori)\n"
21365 "\n"
21366 " This function is used in example 3.\n"
21367 "\n"
21368 "\n"
21369 "\n"
21370 "SYNOPSIS:\n"
21371 "\n"
21372 "plsori(ori)\n"
21373 "\n"
21374 "ARGUMENTS:\n"
21375 "\n"
21376 " ori (PLINT, input) : Orientation value (0 for landscape, 1 for\n"
21377 " portrait, etc.) The value is multiplied by 90 degrees to get the\n"
21378 " angle.\n"
21379 "\n"
21380 ""},
21381 { "plspage", _wrap_plspage, METH_VARARGS, "\n"
21382 "Set page parameters\n"
21383 "\n"
21384 "DESCRIPTION:\n"
21385 "\n"
21386 " Sets the page configuration (optional). If an individual parameter is\n"
21387 " zero then that parameter value is not updated. Not all parameters are\n"
21388 " recognized by all drivers and the interpretation is device-dependent.\n"
21389 " The X-window driver uses the length and offset parameters to determine\n"
21390 " the window size and location. The length and offset values are\n"
21391 " expressed in units that are specific to the current driver. For\n"
21392 " instance: screen drivers will usually interpret them as number of\n"
21393 " pixels, whereas printer drivers will usually use mm.\n"
21394 "\n"
21395 " This routine, if used, must be called before initializing PLplot. It\n"
21396 " may be called at later times for interactive drivers to change only\n"
21397 " the dpi for subsequent redraws which you can force via a call to\n"
21398 " plreplot. If this function is not called then the page size defaults\n"
21399 " to landscape A4 for drivers which use real world page sizes and 744\n"
21400 " pixels wide by 538 pixels high for raster drivers. The default value\n"
21401 " for dx and dy is 90 pixels per inch for raster drivers.\n"
21402 "\n"
21403 "\n"
21404 "\n"
21405 " Redacted form: plspage(xp, yp, xleng, yleng, xoff, yoff)\n"
21406 "\n"
21407 " This function is used in examples 14 and 31.\n"
21408 "\n"
21409 "\n"
21410 "\n"
21411 "SYNOPSIS:\n"
21412 "\n"
21413 "plspage(xp, yp, xleng, yleng, xoff, yoff)\n"
21414 "\n"
21415 "ARGUMENTS:\n"
21416 "\n"
21417 " xp (PLFLT, input) : Number of pixels per inch (DPI), x. Used only\n"
21418 " by raster drivers, ignored by drivers which use \"real world\" units\n"
21419 " (e.g. mm).\n"
21420 "\n"
21421 " yp (PLFLT, input) : Number of pixels per inch (DPI), y. Used only\n"
21422 " by raster drivers, ignored by drivers which use \"real world\" units\n"
21423 " (e.g. mm).\n"
21424 "\n"
21425 " xleng (PLINT, input) : Page length, x.\n"
21426 "\n"
21427 " yleng (PLINT, input) : Page length, y.\n"
21428 "\n"
21429 " xoff (PLINT, input) : Page offset, x.\n"
21430 "\n"
21431 " yoff (PLINT, input) : Page offset, y.\n"
21432 "\n"
21433 ""},
21434 { "plspal0", _wrap_plspal0, METH_O, "\n"
21435 "Set the cmap0 palette using the specified cmap0*.pal format file\n"
21436 "\n"
21437 "DESCRIPTION:\n"
21438 "\n"
21439 " Set the cmap0 palette using the specified cmap0*.pal format file.\n"
21440 "\n"
21441 " Redacted form: plspal0(filename)\n"
21442 "\n"
21443 " This function is in example 16.\n"
21444 "\n"
21445 "\n"
21446 "\n"
21447 "SYNOPSIS:\n"
21448 "\n"
21449 "plspal0(filename)\n"
21450 "\n"
21451 "ARGUMENTS:\n"
21452 "\n"
21453 " filename (PLCHAR_VECTOR, input) : An ascii character string\n"
21454 " containing the name of the cmap0*.pal file. If this string is\n"
21455 " empty, use the default cmap0*.pal file.\n"
21456 "\n"
21457 ""},
21458 { "plspal1", _wrap_plspal1, METH_VARARGS, "\n"
21459 "Set the cmap1 palette using the specified cmap1*.pal format file\n"
21460 "\n"
21461 "DESCRIPTION:\n"
21462 "\n"
21463 " Set the cmap1 palette using the specified cmap1*.pal format file.\n"
21464 "\n"
21465 " Redacted form: plspal1(filename, interpolate)\n"
21466 "\n"
21467 " This function is used in example 16.\n"
21468 "\n"
21469 "\n"
21470 "\n"
21471 "SYNOPSIS:\n"
21472 "\n"
21473 "plspal1(filename, interpolate)\n"
21474 "\n"
21475 "ARGUMENTS:\n"
21476 "\n"
21477 " filename (PLCHAR_VECTOR, input) : An ascii character string\n"
21478 " containing the name of the cmap1*.pal file. If this string is\n"
21479 " empty, use the default cmap1*.pal file.\n"
21480 "\n"
21481 " interpolate (PLBOOL, input) : If this parameter is true, the\n"
21482 " columns containing the intensity index, r, g, b, alpha and\n"
21483 " alt_hue_path in the cmap1*.pal file are used to set the cmap1\n"
21484 " palette with a call to plscmap1la. (The cmap1*.pal header contains\n"
21485 " a flag which controls whether the r, g, b data sent to plscmap1la\n"
21486 " are interpreted as HLS or RGB.) If this parameter is false, the\n"
21487 " intensity index and alt_hue_path columns are ignored and the r, g,\n"
21488 " b (interpreted as RGB), and alpha columns of the cmap1*.pal file\n"
21489 " are used instead to set the cmap1 palette directly with a call to\n"
21490 " plscmap1a.\n"
21491 "\n"
21492 ""},
21493 { "plspause", _wrap_plspause, METH_O, "\n"
21494 "Set the pause (on end-of-page) status\n"
21495 "\n"
21496 "DESCRIPTION:\n"
21497 "\n"
21498 " Set the pause (on end-of-page) status.\n"
21499 "\n"
21500 " Redacted form: plspause(pause)\n"
21501 "\n"
21502 " This function is in examples 14,20.\n"
21503 "\n"
21504 "\n"
21505 "\n"
21506 "SYNOPSIS:\n"
21507 "\n"
21508 "plspause(pause)\n"
21509 "\n"
21510 "ARGUMENTS:\n"
21511 "\n"
21512 " pause (PLBOOL, input) : If pause is true there will be a pause on\n"
21513 " end-of-page for those drivers which support this. Otherwise there\n"
21514 " is no pause.\n"
21515 "\n"
21516 ""},
21517 { "plsstrm", _wrap_plsstrm, METH_O, "\n"
21518 "Set current output stream\n"
21519 "\n"
21520 "DESCRIPTION:\n"
21521 "\n"
21522 " Sets the number of the current output stream. The stream number\n"
21523 " defaults to 0 unless changed by this routine. The first use of this\n"
21524 " routine must be followed by a call initializing PLplot (e.g. plstar).\n"
21525 "\n"
21526 " Redacted form: plsstrm(strm)\n"
21527 "\n"
21528 " This function is examples 1,14,20.\n"
21529 "\n"
21530 "\n"
21531 "\n"
21532 "SYNOPSIS:\n"
21533 "\n"
21534 "plsstrm(strm)\n"
21535 "\n"
21536 "ARGUMENTS:\n"
21537 "\n"
21538 " strm (PLINT, input) : The current stream number.\n"
21539 "\n"
21540 ""},
21541 { "plssub", _wrap_plssub, METH_VARARGS, "\n"
21542 "Set the number of subpages in x and y\n"
21543 "\n"
21544 "DESCRIPTION:\n"
21545 "\n"
21546 " Set the number of subpages in x and y.\n"
21547 "\n"
21548 " Redacted form: plssub(nx, ny)\n"
21549 "\n"
21550 " This function is examples 1,2,14,21,25,27.\n"
21551 "\n"
21552 "\n"
21553 "\n"
21554 "SYNOPSIS:\n"
21555 "\n"
21556 "plssub(nx, ny)\n"
21557 "\n"
21558 "ARGUMENTS:\n"
21559 "\n"
21560 " nx (PLINT, input) : Number of windows in x direction (i.e., number\n"
21561 " of window columns).\n"
21562 "\n"
21563 " ny (PLINT, input) : Number of windows in y direction (i.e., number\n"
21564 " of window rows).\n"
21565 "\n"
21566 ""},
21567 { "plssym", _wrap_plssym, METH_VARARGS, "\n"
21568 "Set symbol size\n"
21569 "\n"
21570 "DESCRIPTION:\n"
21571 "\n"
21572 " This sets up the size of all subsequent symbols drawn by plpoin and\n"
21573 " plsym. The actual height of a symbol is the product of the default\n"
21574 " symbol size and a scaling factor as for the character height.\n"
21575 "\n"
21576 " Redacted form: plssym(def, scale)\n"
21577 "\n"
21578 " This function is used in example 29.\n"
21579 "\n"
21580 "\n"
21581 "\n"
21582 "SYNOPSIS:\n"
21583 "\n"
21584 "plssym(def, scale)\n"
21585 "\n"
21586 "ARGUMENTS:\n"
21587 "\n"
21588 " def (PLFLT, input) : The default height of a symbol in millimeters,\n"
21589 " should be set to zero if the default height is to remain\n"
21590 " unchanged.\n"
21591 "\n"
21592 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
21593 " actual symbol height.\n"
21594 "\n"
21595 ""},
21596 { "plstar", _wrap_plstar, METH_VARARGS, "\n"
21597 "Initialization\n"
21598 "\n"
21599 "DESCRIPTION:\n"
21600 "\n"
21601 " Initializing the plotting package. The program prompts for the device\n"
21602 " keyword or number of the desired output device. Hitting a RETURN in\n"
21603 " response to the prompt is the same as selecting the first device. If\n"
21604 " only one device is enabled when PLplot is installed, plstar will issue\n"
21605 " no prompt. The output device is divided into nx by ny subpages, each\n"
21606 " of which may be used independently. The subroutine pladv is used to\n"
21607 " advance from one subpage to the next.\n"
21608 "\n"
21609 " Redacted form: plstar(nx, ny)\n"
21610 "\n"
21611 " This function is used in example 1.\n"
21612 "\n"
21613 "\n"
21614 "\n"
21615 "SYNOPSIS:\n"
21616 "\n"
21617 "plstar(nx, ny)\n"
21618 "\n"
21619 "ARGUMENTS:\n"
21620 "\n"
21621 " nx (PLINT, input) : Number of subpages to divide output page in the\n"
21622 " x direction.\n"
21623 "\n"
21624 " ny (PLINT, input) : Number of subpages to divide output page in the\n"
21625 " y direction.\n"
21626 "\n"
21627 ""},
21628 { "plstart", _wrap_plstart, METH_VARARGS, "\n"
21629 "Initialization\n"
21630 "\n"
21631 "DESCRIPTION:\n"
21632 "\n"
21633 " Alternative to plstar for initializing the plotting package. The\n"
21634 " device name keyword for the desired output device must be supplied as\n"
21635 " an argument. These keywords are the same as those printed out by\n"
21636 " plstar. If the requested device is not available, or if the input\n"
21637 " string is empty or begins with ``?'', the prompted start up of plstar\n"
21638 " is used. This routine also divides the output device page into nx by\n"
21639 " ny subpages, each of which may be used independently. The subroutine\n"
21640 " pladv is used to advance from one subpage to the next.\n"
21641 "\n"
21642 " Redacted form: General: plstart(devname, nx, ny)\n"
21643 "\n"
21644 "\n"
21645 " This function is not used in any examples.\n"
21646 "\n"
21647 "\n"
21648 "\n"
21649 "SYNOPSIS:\n"
21650 "\n"
21651 "plstart(devname, nx, ny)\n"
21652 "\n"
21653 "ARGUMENTS:\n"
21654 "\n"
21655 " devname (PLCHAR_VECTOR, input) : An ascii character string\n"
21656 " containing the device name keyword of the required output device.\n"
21657 " If\n"
21658 " devname is NULL or if the first character of the string is a ``?'',\n"
21659 " the normal (prompted) start up is used.\n"
21660 "\n"
21661 " nx (PLINT, input) : Number of subpages to divide output page in the\n"
21662 " x direction.\n"
21663 "\n"
21664 " ny (PLINT, input) : Number of subpages to divide output page in the\n"
21665 " y direction.\n"
21666 "\n"
21667 ""},
21668 { "plstransform", _wrap_plstransform, METH_VARARGS, "\n"
21669 "Set a global coordinate transform function\n"
21670 "\n"
21671 "DESCRIPTION:\n"
21672 "\n"
21673 " This function can be used to define a coordinate transformation which\n"
21674 " affects all elements drawn within the current plot window. The\n"
21675 " coordinate_transform callback function is similar to that provided for\n"
21676 " the plmap and plmeridians functions. The coordinate_transform_data\n"
21677 " parameter may be used to pass extra data to coordinate_transform.\n"
21678 "\n"
21679 " Redacted form: General: plstransform(coordinate_transform,\n"
21680 " coordinate_transform_data)\n"
21681 "\n"
21682 "\n"
21683 " This function is used in examples 19 and 22.\n"
21684 "\n"
21685 "\n"
21686 "\n"
21687 "SYNOPSIS:\n"
21688 "\n"
21689 "plstransform(coordinate_transform, coordinate_transform_data)\n"
21690 "\n"
21691 "ARGUMENTS:\n"
21692 "\n"
21693 " coordinate_transform (PLTRANSFORM_callback, input) : A callback\n"
21694 " function that defines the transformation from the input (x, y)\n"
21695 " world coordinates to new PLplot world coordinates. If\n"
21696 " coordinate_transform is not supplied (e.g., is set to NULL in the C\n"
21697 " case), then no transform is applied.\n"
21698 "\n"
21699 " coordinate_transform_data (PLPointer, input) : Optional extra data\n"
21700 " for\n"
21701 " coordinate_transform.\n"
21702 "\n"
21703 ""},
21704 { "plstring", _wrap_plstring, METH_VARARGS, "\n"
21705 "Plot a glyph at the specified points\n"
21706 "\n"
21707 "DESCRIPTION:\n"
21708 "\n"
21709 " Plot a glyph at the specified points. (Supersedes plpoin and plsym\n"
21710 " because many[!] more glyphs are accessible with plstring.) The glyph\n"
21711 " is specified with a PLplot user string. Note that the user string is\n"
21712 " not actually limited to one glyph so it is possible (but not normally\n"
21713 " useful) to plot more than one glyph at the specified points with this\n"
21714 " function. As with plmtex and plptex, the user string can contain FCI\n"
21715 " escapes to determine the font, UTF-8 code to determine the glyph or\n"
21716 " else PLplot escapes for Hershey or unicode text to determine the\n"
21717 " glyph.\n"
21718 "\n"
21719 " Redacted form: plstring(x, y, string)\n"
21720 "\n"
21721 " This function is used in examples 4, 21 and 26.\n"
21722 "\n"
21723 "\n"
21724 "\n"
21725 "SYNOPSIS:\n"
21726 "\n"
21727 "plstring(n, x, y, string)\n"
21728 "\n"
21729 "ARGUMENTS:\n"
21730 "\n"
21731 " n (PLINT, input) : Number of points in the x and y vectors.\n"
21732 "\n"
21733 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21734 " the points.\n"
21735 "\n"
21736 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21737 " the points.\n"
21738 "\n"
21739 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21740 " the glyph(s) to be plotted at each of the n points.\n"
21741 "\n"
21742 ""},
21743 { "plstring3", _wrap_plstring3, METH_VARARGS, "\n"
21744 "Plot a glyph at the specified 3D points\n"
21745 "\n"
21746 "DESCRIPTION:\n"
21747 "\n"
21748 " Plot a glyph at the specified 3D points. (Supersedes plpoin3 because\n"
21749 " many[!] more glyphs are accessible with plstring3.) Set up the call to\n"
21750 " this function similar to what is done for plline3. The glyph is\n"
21751 " specified with a PLplot user string. Note that the user string is not\n"
21752 " actually limited to one glyph so it is possible (but not normally\n"
21753 " useful) to plot more than one glyph at the specified points with this\n"
21754 " function. As with plmtex and plptex, the user string can contain FCI\n"
21755 " escapes to determine the font, UTF-8 code to determine the glyph or\n"
21756 " else PLplot escapes for Hershey or unicode text to determine the\n"
21757 " glyph.\n"
21758 "\n"
21759 " Redacted form: plstring3(x, y, z, string)\n"
21760 "\n"
21761 " This function is used in example 18.\n"
21762 "\n"
21763 "\n"
21764 "\n"
21765 "SYNOPSIS:\n"
21766 "\n"
21767 "plstring3(n, x, y, z, string)\n"
21768 "\n"
21769 "ARGUMENTS:\n"
21770 "\n"
21771 " n (PLINT, input) : Number of points in the x, y, and z vectors.\n"
21772 "\n"
21773 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21774 " the points.\n"
21775 "\n"
21776 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21777 " the points.\n"
21778 "\n"
21779 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
21780 " the points.\n"
21781 "\n"
21782 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21783 " the glyph(s) to be plotted at each of the n points. points.\n"
21784 "\n"
21785 ""},
21786 { "plstripa", _wrap_plstripa, METH_VARARGS, "\n"
21787 "Add a point to a strip chart\n"
21788 "\n"
21789 "DESCRIPTION:\n"
21790 "\n"
21791 " Add a point to a given pen of a given strip chart. There is no need\n"
21792 " for all pens to have the same number of points or to be equally\n"
21793 " sampled in the x coordinate. Allocates memory and rescales as\n"
21794 " necessary.\n"
21795 "\n"
21796 " Redacted form: plstripa(id, pen, x, y)\n"
21797 "\n"
21798 " This function is used in example 17.\n"
21799 "\n"
21800 "\n"
21801 "\n"
21802 "SYNOPSIS:\n"
21803 "\n"
21804 "plstripa(id, pen, x, y)\n"
21805 "\n"
21806 "ARGUMENTS:\n"
21807 "\n"
21808 " id (PLINT, input) : Identification number of the strip chart (set\n"
21809 " up in plstripc).\n"
21810 "\n"
21811 " pen (PLINT, input) : Pen number (ranges from 0 to 3).\n"
21812 "\n"
21813 " x (PLFLT, input) : X coordinate of point to plot.\n"
21814 "\n"
21815 " y (PLFLT, input) : Y coordinate of point to plot.\n"
21816 "\n"
21817 ""},
21818 { "plstripc", _wrap_plstripc, METH_VARARGS, "\n"
21819 "Create a 4-pen strip chart\n"
21820 "\n"
21821 "DESCRIPTION:\n"
21822 "\n"
21823 " Create a 4-pen strip chart, to be used afterwards by plstripa\n"
21824 "\n"
21825 " Redacted form: General: plstripc(id, xspec, yspec, xmin, xmax, xjump,\n"
21826 " ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline,\n"
21827 " styline, legline, labx, laby, labz)\n"
21828 "\n"
21829 "\n"
21830 " This function is used in example 17.\n"
21831 "\n"
21832 "\n"
21833 "\n"
21834 "SYNOPSIS:\n"
21835 "\n"
21836 "plstripc(id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline, styline, legline[], labx, laby, labtop)\n"
21837 "\n"
21838 "ARGUMENTS:\n"
21839 "\n"
21840 " id (PLINT_NC_SCALAR, output) : Returned value of the identification\n"
21841 " number of the strip chart to use on plstripa and plstripd.\n"
21842 "\n"
21843 " xspec (PLCHAR_VECTOR, input) : An ascii character string containing\n"
21844 " the x-axis specification as in plbox.\n"
21845 "\n"
21846 " yspec (PLCHAR_VECTOR, input) : An ascii character string containing\n"
21847 " the y-axis specification as in plbox.\n"
21848 "\n"
21849 " xmin (PLFLT, input) : Initial coordinates of plot box; they will\n"
21850 " change as data are added.\n"
21851 "\n"
21852 " xmax (PLFLT, input) : Initial coordinates of plot box; they will\n"
21853 " change as data are added.\n"
21854 "\n"
21855 " xjump (PLFLT, input) : When x attains xmax, the length of the plot\n"
21856 " is multiplied by the factor (1 +\n"
21857 " xjump) .\n"
21858 "\n"
21859 " ymin (PLFLT, input) : Initial coordinates of plot box; they will\n"
21860 " change as data are added.\n"
21861 "\n"
21862 " ymax (PLFLT, input) : Initial coordinates of plot box; they will\n"
21863 " change as data are added.\n"
21864 "\n"
21865 " xlpos (PLFLT, input) : X legend box position (range from 0 to 1).\n"
21866 "\n"
21867 " ylpos (PLFLT, input) : Y legend box position (range from 0 to 1).\n"
21868 "\n"
21869 " y_ascl (PLBOOL, input) : Autoscale y between x jumps if y_ascl is\n"
21870 " true, otherwise not.\n"
21871 "\n"
21872 " acc (PLBOOL, input) : Accumulate strip plot if acc is true,\n"
21873 " otherwise slide display.\n"
21874 "\n"
21875 " colbox (PLINT, input) : Plot box color index (cmap0).\n"
21876 "\n"
21877 " collab (PLINT, input) : Legend color index (cmap0).\n"
21878 "\n"
21879 " colline (PLINT_VECTOR, input) : A vector containing the cmap0 color\n"
21880 " indices for the 4 pens.\n"
21881 "\n"
21882 " styline (PLINT_VECTOR, input) : A vector containing the line style\n"
21883 " indices for the 4 pens.\n"
21884 "\n"
21885 " legline (PLCHAR_MATRIX, input) : A vector of UTF-8 character\n"
21886 " strings containing legends for the 4 pens.\n"
21887 "\n"
21888 " labx (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21889 " the label for the x axis.\n"
21890 "\n"
21891 " laby (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21892 " the label for the y axis.\n"
21893 "\n"
21894 " labtop (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21895 " the plot title.\n"
21896 "\n"
21897 ""},
21898 { "plstripd", _wrap_plstripd, METH_O, "\n"
21899 "Deletes and releases memory used by a strip chart\n"
21900 "\n"
21901 "DESCRIPTION:\n"
21902 "\n"
21903 " Deletes and releases memory used by a strip chart.\n"
21904 "\n"
21905 " Redacted form: plstripd(id)\n"
21906 "\n"
21907 " This function is used in example 17.\n"
21908 "\n"
21909 "\n"
21910 "\n"
21911 "SYNOPSIS:\n"
21912 "\n"
21913 "plstripd(id)\n"
21914 "\n"
21915 "ARGUMENTS:\n"
21916 "\n"
21917 " id (PLINT, input) : Identification number of strip chart to delete.\n"
21918 "\n"
21919 ""},
21920 { "plstyl", _wrap_plstyl, METH_VARARGS, "\n"
21921 "Set line style\n"
21922 "\n"
21923 "DESCRIPTION:\n"
21924 "\n"
21925 " This sets up the line style for all lines subsequently drawn. A line\n"
21926 " consists of segments in which the pen is alternately down and up. The\n"
21927 " lengths of these segments are passed in the vectors mark and space\n"
21928 " respectively. The number of mark-space pairs is specified by nms. In\n"
21929 " order to return the line style to the default continuous line, plstyl\n"
21930 " should be called with nms =0 .(see also pllsty)\n"
21931 "\n"
21932 " Redacted form: plstyl(mark, space)\n"
21933 "\n"
21934 " This function is used in examples 1, 9, and 14.\n"
21935 "\n"
21936 "\n"
21937 "\n"
21938 "SYNOPSIS:\n"
21939 "\n"
21940 "plstyl(nms, mark, space)\n"
21941 "\n"
21942 "ARGUMENTS:\n"
21943 "\n"
21944 " nms (PLINT, input) : The number of mark and space elements in a\n"
21945 " line. Thus a simple broken line can be obtained by setting nms=1\n"
21946 " . A continuous line is specified by setting nms=0 .\n"
21947 "\n"
21948 " mark (PLINT_VECTOR, input) : A vector containing the lengths of the\n"
21949 " segments during which the pen is down, measured in micrometers.\n"
21950 "\n"
21951 " space (PLINT_VECTOR, input) : A vector containing the lengths of\n"
21952 " the segments during which the pen is up, measured in micrometers.\n"
21953 "\n"
21954 ""},
21955 { "plsvect", _wrap_plsvect, METH_VARARGS, "\n"
21956 "Set arrow style for vector plots\n"
21957 "\n"
21958 "DESCRIPTION:\n"
21959 "\n"
21960 " Set the style for the arrow used by plvect to plot vectors.\n"
21961 "\n"
21962 " Redacted form: plsvect(arrowx, arrowy, fill)\n"
21963 "\n"
21964 " This function is used in example 22.\n"
21965 "\n"
21966 "\n"
21967 "\n"
21968 "SYNOPSIS:\n"
21969 "\n"
21970 "plsvect(arrowx, arrowy, npts, fill)\n"
21971 "\n"
21972 "ARGUMENTS:\n"
21973 "\n"
21974 " arrowx, arrowy (PLFLT_VECTOR, input) : A pair of vectors containing\n"
21975 " the x and y points which make up the arrow. The arrow is plotted\n"
21976 " by joining these points to form a polygon. The scaling assumes\n"
21977 " that the x and y points in the arrow lie in the range -0.5 <= x,y\n"
21978 " <= 0.5. If both arrowx and arrowy are NULL then the arrow style\n"
21979 " will be reset to its default.\n"
21980 "\n"
21981 " npts (PLINT, input) : Number of points in the vectors arrowx and\n"
21982 " arrowy.\n"
21983 "\n"
21984 " fill (PLBOOL, input) : If fill is true then the arrow is closed, if\n"
21985 " fill is false then the arrow is open.\n"
21986 "\n"
21987 ""},
21988 { "plsvpa", _wrap_plsvpa, METH_VARARGS, "\n"
21989 "Specify viewport in absolute coordinates\n"
21990 "\n"
21991 "DESCRIPTION:\n"
21992 "\n"
21993 " Alternate routine to plvpor for setting up the viewport. This routine\n"
21994 " should be used only if the viewport is required to have a definite\n"
21995 " size in millimeters. The routine plgspa is useful for finding out the\n"
21996 " size of the current subpage.\n"
21997 "\n"
21998 " Redacted form: plsvpa(xmin, xmax, ymin, ymax)\n"
21999 "\n"
22000 " This function is used in example 10.\n"
22001 "\n"
22002 "\n"
22003 "\n"
22004 "SYNOPSIS:\n"
22005 "\n"
22006 "plsvpa(xmin, xmax, ymin, ymax)\n"
22007 "\n"
22008 "ARGUMENTS:\n"
22009 "\n"
22010 " xmin (PLFLT, input) : The distance of the left-hand edge of the\n"
22011 " viewport from the left-hand edge of the subpage in millimeters.\n"
22012 "\n"
22013 " xmax (PLFLT, input) : The distance of the right-hand edge of the\n"
22014 " viewport from the left-hand edge of the subpage in millimeters.\n"
22015 "\n"
22016 " ymin (PLFLT, input) : The distance of the bottom edge of the\n"
22017 " viewport from the bottom edge of the subpage in millimeters.\n"
22018 "\n"
22019 " ymax (PLFLT, input) : The distance of the top edge of the viewport\n"
22020 " from the bottom edge of the subpage in millimeters.\n"
22021 "\n"
22022 ""},
22023 { "plsxax", _wrap_plsxax, METH_VARARGS, "\n"
22024 "Set x axis parameters\n"
22025 "\n"
22026 "DESCRIPTION:\n"
22027 "\n"
22028 " Sets values of the digmax and digits flags for the x axis. See the\n"
22029 " PLplot documentation for more information.\n"
22030 "\n"
22031 " Redacted form: plsxax(digmax, digits)\n"
22032 "\n"
22033 " This function is used in example 31.\n"
22034 "\n"
22035 "\n"
22036 "\n"
22037 "SYNOPSIS:\n"
22038 "\n"
22039 "plsxax(digmax, digits)\n"
22040 "\n"
22041 "ARGUMENTS:\n"
22042 "\n"
22043 " digmax (PLINT, input) : Variable to set the maximum number of\n"
22044 " digits for the x axis. If nonzero, the printed label will be\n"
22045 " switched to a floating-point representation when the number of\n"
22046 " digits exceeds digmax.\n"
22047 "\n"
22048 " digits (PLINT, input) : Field digits value. Currently, changing\n"
22049 " its value here has no effect since it is set only by plbox or\n"
22050 " plbox3. However, the user may obtain its value after a call to\n"
22051 " either of these functions by calling plgxax.\n"
22052 "\n"
22053 ""},
22054 { "plsyax", _wrap_plsyax, METH_VARARGS, "\n"
22055 "Set y axis parameters\n"
22056 "\n"
22057 "DESCRIPTION:\n"
22058 "\n"
22059 " Identical to plsxax, except that arguments are flags for y axis. See\n"
22060 " the description of plsxax for more detail.\n"
22061 "\n"
22062 " Redacted form: plsyax(digmax, digits)\n"
22063 "\n"
22064 " This function is used in examples 1, 14, and 31.\n"
22065 "\n"
22066 "\n"
22067 "\n"
22068 "SYNOPSIS:\n"
22069 "\n"
22070 "plsyax(digmax, digits)\n"
22071 "\n"
22072 "ARGUMENTS:\n"
22073 "\n"
22074 " digmax (PLINT, input) : Variable to set the maximum number of\n"
22075 " digits for the y axis. If nonzero, the printed label will be\n"
22076 " switched to a floating-point representation when the number of\n"
22077 " digits exceeds digmax.\n"
22078 "\n"
22079 " digits (PLINT, input) : Field digits value. Currently, changing\n"
22080 " its value here has no effect since it is set only by plbox or\n"
22081 " plbox3. However, the user may obtain its value after a call to\n"
22082 " either of these functions by calling plgyax.\n"
22083 "\n"
22084 ""},
22085 { "plsym", _wrap_plsym, METH_VARARGS, "\n"
22086 "Plot a glyph at the specified points\n"
22087 "\n"
22088 "DESCRIPTION:\n"
22089 "\n"
22090 " Plot a glyph at the specified points. (This function is largely\n"
22091 " superseded by plstring which gives access to many[!] more glyphs.)\n"
22092 "\n"
22093 " Redacted form: plsym(x, y, code)\n"
22094 "\n"
22095 " This function is used in example 7.\n"
22096 "\n"
22097 "\n"
22098 "\n"
22099 "SYNOPSIS:\n"
22100 "\n"
22101 "plsym(n, x, y, code)\n"
22102 "\n"
22103 "ARGUMENTS:\n"
22104 "\n"
22105 " n (PLINT, input) : Number of points in the x and y vectors.\n"
22106 "\n"
22107 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
22108 " the points.\n"
22109 "\n"
22110 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
22111 " the points.\n"
22112 "\n"
22113 " code (PLINT, input) : Hershey symbol code corresponding to a glyph\n"
22114 " to be plotted at each of the n points.\n"
22115 "\n"
22116 ""},
22117 { "plszax", _wrap_plszax, METH_VARARGS, "\n"
22118 "Set z axis parameters\n"
22119 "\n"
22120 "DESCRIPTION:\n"
22121 "\n"
22122 " Identical to plsxax, except that arguments are flags for z axis. See\n"
22123 " the description of plsxax for more detail.\n"
22124 "\n"
22125 " Redacted form: plszax(digmax, digits)\n"
22126 "\n"
22127 " This function is used in example 31.\n"
22128 "\n"
22129 "\n"
22130 "\n"
22131 "SYNOPSIS:\n"
22132 "\n"
22133 "plszax(digmax, digits)\n"
22134 "\n"
22135 "ARGUMENTS:\n"
22136 "\n"
22137 " digmax (PLINT, input) : Variable to set the maximum number of\n"
22138 " digits for the z axis. If nonzero, the printed label will be\n"
22139 " switched to a floating-point representation when the number of\n"
22140 " digits exceeds digmax.\n"
22141 "\n"
22142 " digits (PLINT, input) : Field digits value. Currently, changing\n"
22143 " its value here has no effect since it is set only by plbox or\n"
22144 " plbox3. However, the user may obtain its value after a call to\n"
22145 " either of these functions by calling plgzax.\n"
22146 "\n"
22147 ""},
22148 { "pltext", _wrap_pltext, METH_NOARGS, "\n"
22149 "Switch to text screen\n"
22150 "\n"
22151 "DESCRIPTION:\n"
22152 "\n"
22153 " Sets an interactive device to text mode, used in conjunction with\n"
22154 " plgra to allow graphics and text to be interspersed. On a device\n"
22155 " which supports separate text and graphics windows, this command causes\n"
22156 " control to be switched to the text window. This can be useful for\n"
22157 " printing diagnostic messages or getting user input, which would\n"
22158 " otherwise interfere with the plots. The program must switch back to\n"
22159 " the graphics window before issuing plot commands, as the text (or\n"
22160 " console) device will probably become quite confused otherwise. If\n"
22161 " already in text mode, this command is ignored. It is also ignored on\n"
22162 " devices which only support a single window or use a different method\n"
22163 " for shifting focus (see also plgra).\n"
22164 "\n"
22165 " Redacted form: pltext()\n"
22166 "\n"
22167 " This function is used in example 1.\n"
22168 "\n"
22169 "\n"
22170 "\n"
22171 "SYNOPSIS:\n"
22172 "\n"
22173 "pltext()\n"
22174 "\n"
22175 ""},
22176 { "pltimefmt", _wrap_pltimefmt, METH_O, "\n"
22177 "Set format for date / time labels\n"
22178 "\n"
22179 "DESCRIPTION:\n"
22180 "\n"
22181 " Sets the format for date / time labels. To enable date / time format\n"
22182 " labels see the options to plbox, plbox3, and plenv.\n"
22183 "\n"
22184 " Redacted form: pltimefmt(fmt)\n"
22185 "\n"
22186 " This function is used in example 29.\n"
22187 "\n"
22188 "\n"
22189 "\n"
22190 "SYNOPSIS:\n"
22191 "\n"
22192 "pltimefmt(fmt)\n"
22193 "\n"
22194 "ARGUMENTS:\n"
22195 "\n"
22196 " fmt (PLCHAR_VECTOR, input) : An ascii character string which is\n"
22197 " interpreted similarly to the format specifier of typical system\n"
22198 " strftime routines except that PLplot ignores locale and also\n"
22199 " supplies some useful extensions in the context of plotting. All\n"
22200 " text in the string is printed as-is other than conversion\n"
22201 " specifications which take the form of a '%' character followed by\n"
22202 " further conversion specification character. The conversion\n"
22203 " specifications which are similar to those provided by system\n"
22204 " strftime routines are the following: %a: The abbreviated (English)\n"
22205 " weekday name.\n"
22206 " %A: The full (English) weekday name.\n"
22207 " %b: The abbreviated (English) month name.\n"
22208 " %B: The full (English) month name.\n"
22209 " %c: Equivalent to %a %b %d %T %Y (non-ISO).\n"
22210 " %C: The century number (year/100) as a 2-digit integer.\n"
22211 " %d: The day of the month as a decimal number (range 01 to 31).\n"
22212 " %D: Equivalent to %m/%d/%y (non-ISO).\n"
22213 " %e: Like %d, but a leading zero is replaced by a space.\n"
22214 " %F: Equivalent to %Y-%m-%d (the ISO 8601 date format).\n"
22215 " %h: Equivalent to %b.\n"
22216 " %H: The hour as a decimal number using a 24-hour clock (range\n"
22217 " 00 to 23).\n"
22218 " %I: The hour as a decimal number using a 12-hour clock (range\n"
22219 " 01 to 12).\n"
22220 " %j: The day of the year as a decimal number (range 001 to\n"
22221 " 366).\n"
22222 " %k: The hour (24-hour clock) as a decimal number (range 0 to\n"
22223 " 23); single digits are preceded by a blank. (See also %H.)\n"
22224 " %l: The hour (12-hour clock) as a decimal number (range 1 to\n"
22225 " 12); single digits are preceded by a blank. (See also %I.)\n"
22226 " %m: The month as a decimal number (range 01 to 12).\n"
22227 " %M: The minute as a decimal number (range 00 to 59).\n"
22228 " %n: A newline character.\n"
22229 " %p: Either \"AM\" or \"PM\" according to the given time value.\n"
22230 " Noon is treated as \"PM\" and midnight as \"AM\".\n"
22231 " %r: Equivalent to %I:%M:%S %p.\n"
22232 " %R: The time in 24-hour notation (%H:%M). For a version\n"
22233 " including the seconds, see %T below.\n"
22234 " %s: The number of seconds since the Epoch, 1970-01-01 00:00:00\n"
22235 " +0000 (UTC).\n"
22236 " %S: The second as a decimal number (range 00 to 60). (The\n"
22237 " range is up to 60 to allow for occasional leap seconds.)\n"
22238 " %t: A tab character.\n"
22239 " %T: The time in 24-hour notation (%H:%M:%S).\n"
22240 " %u: The day of the week as a decimal, range 1 to 7, Monday\n"
22241 " being 1. See also %w.\n"
22242 " %U: The week number of the current year as a decimal number,\n"
22243 " range 00 to 53, starting with the first Sunday as the first\n"
22244 " day of week 01. See also %V and %W.\n"
22245 " %v: Equivalent to %e-%b-%Y.\n"
22246 " %V: The ISO 8601 week number of the current year as a decimal\n"
22247 " number, range 01 to 53, where week 1 is the first week that\n"
22248 " has at least 4 days in the new year. See also %U and %W.\n"
22249 " %w: The day of the week as a decimal, range 0 to 6, Sunday\n"
22250 " being 0. See also %u.\n"
22251 " %W: The week number of the current year as a decimal number,\n"
22252 " range 00 to 53, starting with the first Monday as the first\n"
22253 " day of week 01.\n"
22254 " %x: Equivalent to %a %b %d %Y.\n"
22255 " %X: Equivalent to %T.\n"
22256 " %y: The year as a decimal number without a century (range 00\n"
22257 " to 99).\n"
22258 " %Y: The year as a decimal number including a century.\n"
22259 " %z: The UTC time-zone string = \"+0000\".\n"
22260 " %Z: The UTC time-zone abbreviation = \"UTC\".\n"
22261 " %+: The UTC date and time in default format of the Unix date\n"
22262 " command which is equivalent to %a %b %d %T %Z %Y.\n"
22263 " %%: A literal \"%\" character.\n"
22264 " The conversion specifications which are extensions to those normally\n"
22265 " provided by system strftime routines are the following: %(0-9):\n"
22266 " The fractional part of the seconds field (including leading\n"
22267 " decimal point) to the specified accuracy. Thus %S%3 would give\n"
22268 " seconds to millisecond accuracy (00.000).\n"
22269 " %.: The fractional part of the seconds field (including\n"
22270 " leading decimal point) to the maximum available accuracy. Thus\n"
22271 " %S%. would give seconds with fractional part up to 9 decimal\n"
22272 " places if available.\n"
22273 "\n"
22274 ""},
22275 { "plvasp", _wrap_plvasp, METH_O, "\n"
22276 "Specify viewport using aspect ratio only\n"
22277 "\n"
22278 "DESCRIPTION:\n"
22279 "\n"
22280 " Selects the largest viewport with the given aspect ratio within the\n"
22281 " subpage that leaves a standard margin (left-hand margin of eight\n"
22282 " character heights, and a margin around the other three sides of five\n"
22283 " character heights).\n"
22284 "\n"
22285 " Redacted form: plvasp(aspect)\n"
22286 "\n"
22287 " This function is used in example 13.\n"
22288 "\n"
22289 "\n"
22290 "\n"
22291 "SYNOPSIS:\n"
22292 "\n"
22293 "plvasp(aspect)\n"
22294 "\n"
22295 "ARGUMENTS:\n"
22296 "\n"
22297 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n"
22298 " axis of resulting viewport.\n"
22299 "\n"
22300 ""},
22301 { "plvect", _wrap_plvect, METH_VARARGS, "\n"
22302 "Vector plot\n"
22303 "\n"
22304 "DESCRIPTION:\n"
22305 "\n"
22306 " Draws a plot of vector data contained in the matrices (\n"
22307 " u[\n"
22308 " nx][\n"
22309 " ny],\n"
22310 " v[\n"
22311 " nx][\n"
22312 " ny]) . The scaling factor for the vectors is given by scale. A\n"
22313 " transformation routine pointed to by pltr with a pointer pltr_data for\n"
22314 " additional data required by the transformation routine to map indices\n"
22315 " within the matrices to the world coordinates. The style of the vector\n"
22316 " arrow may be set using plsvect.\n"
22317 "\n"
22318 " Redacted form: plvect(u, v, scale, pltr, pltr_data) where (see above\n"
22319 " discussion) the pltr, pltr_data callback arguments are sometimes\n"
22320 " replaced by a tr vector with 6 elements, or xg and yg array arguments\n"
22321 " with either one or two dimensions.\n"
22322 "\n"
22323 " This function is used in example 22.\n"
22324 "\n"
22325 "\n"
22326 "\n"
22327 "SYNOPSIS:\n"
22328 "\n"
22329 "plvect(u, v, nx, ny, scale, pltr, pltr_data)\n"
22330 "\n"
22331 "ARGUMENTS:\n"
22332 "\n"
22333 " u, v (PLFLT_MATRIX, input) : A pair of matrices containing the x\n"
22334 " and y components of the vector data to be plotted.\n"
22335 "\n"
22336 " nx, ny (PLINT, input) : Dimensions of the matrices u and v.\n"
22337 "\n"
22338 " scale (PLFLT, input) : Parameter to control the scaling factor of\n"
22339 " the vectors for plotting. If scale = 0 then the scaling factor is\n"
22340 " automatically calculated for the data. If scale < 0 then the\n"
22341 " scaling factor is automatically calculated for the data and then\n"
22342 " multiplied by -\n"
22343 " scale. If scale > 0 then the scaling factor is set to scale.\n"
22344 "\n"
22345 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
22346 " defines the transformation between the zero-based indices of the\n"
22347 " matrices u and v and world coordinates.For the C case,\n"
22348 " transformation functions are provided in the PLplot library: pltr0\n"
22349 " for the identity mapping, and pltr1 and pltr2 for arbitrary\n"
22350 " mappings respectively defined by vectors and matrices. In\n"
22351 " addition, C callback routines for the transformation can be\n"
22352 " supplied by the user such as the mypltr function in\n"
22353 " examples/c/x09c.c which provides a general linear transformation\n"
22354 " between index coordinates and world coordinates.For languages\n"
22355 " other than C you should consult the PLplot documentation for the\n"
22356 " details concerning how PLTRANSFORM_callback arguments are\n"
22357 " interfaced. However, in general, a particular pattern of\n"
22358 " callback-associated arguments such as a tr vector with 6 elements;\n"
22359 " xg and yg vectors; or xg and yg matrices are respectively\n"
22360 " interfaced to a linear-transformation routine similar to the above\n"
22361 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
22362 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
22363 " support native language callbacks for handling index to\n"
22364 " world-coordinate transformations. Examples of these various\n"
22365 " approaches are given in examples/<language>x09*,\n"
22366 " examples/<language>x16*, examples/<language>x20*,\n"
22367 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
22368 " supported languages.\n"
22369 "\n"
22370 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
22371 " information to pltr0, pltr1, pltr2, or whatever callback routine\n"
22372 " that is externally supplied.\n"
22373 "\n"
22374 ""},
22375 { "plvpas", _wrap_plvpas, METH_VARARGS, "\n"
22376 "Specify viewport using coordinates and aspect ratio\n"
22377 "\n"
22378 "DESCRIPTION:\n"
22379 "\n"
22380 " Device-independent routine for setting up the viewport. The viewport\n"
22381 " is chosen to be the largest with the given aspect ratio that fits\n"
22382 " within the specified region (in terms of normalized subpage\n"
22383 " coordinates). This routine is functionally equivalent to plvpor when\n"
22384 " a ``natural'' aspect ratio (0.0) is chosen. Unlike plvasp, this\n"
22385 " routine reserves no extra space at the edges for labels.\n"
22386 "\n"
22387 " Redacted form: plvpas(xmin, xmax, ymin, ymax, aspect)\n"
22388 "\n"
22389 " This function is used in example 9.\n"
22390 "\n"
22391 "\n"
22392 "\n"
22393 "SYNOPSIS:\n"
22394 "\n"
22395 "plvpas(xmin, xmax, ymin, ymax, aspect)\n"
22396 "\n"
22397 "ARGUMENTS:\n"
22398 "\n"
22399 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n"
22400 " left-hand edge of the viewport.\n"
22401 "\n"
22402 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n"
22403 " right-hand edge of the viewport.\n"
22404 "\n"
22405 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n"
22406 " bottom edge of the viewport.\n"
22407 "\n"
22408 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n"
22409 " edge of the viewport.\n"
22410 "\n"
22411 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n"
22412 " axis.\n"
22413 "\n"
22414 ""},
22415 { "plvpor", _wrap_plvpor, METH_VARARGS, "\n"
22416 "Specify viewport using normalized subpage coordinates\n"
22417 "\n"
22418 "DESCRIPTION:\n"
22419 "\n"
22420 " Device-independent routine for setting up the viewport. This defines\n"
22421 " the viewport in terms of normalized subpage coordinates which run from\n"
22422 " 0.0 to 1.0 (left to right and bottom to top) along each edge of the\n"
22423 " current subpage. Use the alternate routine plsvpa in order to create\n"
22424 " a viewport of a definite size.\n"
22425 "\n"
22426 " Redacted form: plvpor(xmin, xmax, ymin, ymax)\n"
22427 "\n"
22428 " This function is used in examples 2, 6-8, 10, 11, 15, 16, 18, 21, 23,\n"
22429 " 24, 26, 27, and 31.\n"
22430 "\n"
22431 "\n"
22432 "\n"
22433 "SYNOPSIS:\n"
22434 "\n"
22435 "plvpor(xmin, xmax, ymin, ymax)\n"
22436 "\n"
22437 "ARGUMENTS:\n"
22438 "\n"
22439 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n"
22440 " left-hand edge of the viewport.\n"
22441 "\n"
22442 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n"
22443 " right-hand edge of the viewport.\n"
22444 "\n"
22445 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n"
22446 " bottom edge of the viewport.\n"
22447 "\n"
22448 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n"
22449 " edge of the viewport.\n"
22450 "\n"
22451 ""},
22452 { "plvsta", _wrap_plvsta, METH_NOARGS, "\n"
22453 "Select standard viewport\n"
22454 "\n"
22455 "DESCRIPTION:\n"
22456 "\n"
22457 " Selects the largest viewport within the subpage that leaves a standard\n"
22458 " margin (left-hand margin of eight character heights, and a margin\n"
22459 " around the other three sides of five character heights).\n"
22460 "\n"
22461 " Redacted form: plvsta()\n"
22462 "\n"
22463 " This function is used in examples 1, 12, 14, 17, 25, and 29.\n"
22464 "\n"
22465 "\n"
22466 "\n"
22467 "SYNOPSIS:\n"
22468 "\n"
22469 "plvsta()\n"
22470 "\n"
22471 ""},
22472 { "plw3d", _wrap_plw3d, METH_VARARGS, "\n"
22473 "Configure the transformations required for projecting a 3D surface on a 2D window\n"
22474 "\n"
22475 "DESCRIPTION:\n"
22476 "\n"
22477 " Configure the transformations required for projecting a 3D surface on\n"
22478 " an existing 2D window. Those transformations (see the PLplot\n"
22479 " documentation) are done to a rectangular cuboid enclosing the 3D\n"
22480 " surface which has its limits expressed in 3D world coordinates and\n"
22481 " also normalized 3D coordinates (used for interpreting the altitude and\n"
22482 " azimuth of the viewing angle). The transformations consist of the\n"
22483 " linear transform from 3D world coordinates to normalized 3D\n"
22484 " coordinates, and the 3D rotation of normalized coordinates required to\n"
22485 " align the pole of the new 3D coordinate system with the viewing\n"
22486 " direction specified by altitude and azimuth so that x and y of the\n"
22487 " surface elements in that transformed coordinate system are the\n"
22488 " projection of the 3D surface with given viewing direction on the 2D\n"
22489 " window.\n"
22490 "\n"
22491 " The enclosing rectangular cuboid for the surface plot is defined by\n"
22492 " xmin, xmax, ymin, ymax, zmin and zmax in 3D world coordinates. It is\n"
22493 " mapped into the same rectangular cuboid with normalized 3D coordinate\n"
22494 " sizes of basex by basey by height so that xmin maps to -\n"
22495 " basex/2, xmax maps to basex/2, ymin maps to -\n"
22496 " basey/2, ymax maps to basey/2, zmin maps to 0 and zmax maps to height.\n"
22497 " The resulting rectangular cuboid in normalized coordinates is then\n"
22498 " viewed by an observer at altitude alt and azimuth az. This routine\n"
22499 " must be called before plbox3 or any of the 3D surface plotting\n"
22500 " routines; plmesh, plmeshc, plot3d, plot3dc, plot3dcl, plsurf3d,\n"
22501 " plsurf3dl or plfill3.\n"
22502 "\n"
22503 " Redacted form: plw3d(basex, basey, height, xmin, xmax, ymin, ymax,\n"
22504 " zmin, zmax, alt, az)\n"
22505 "\n"
22506 " This function is examples 8, 11, 18, and 21.\n"
22507 "\n"
22508 "\n"
22509 "\n"
22510 "SYNOPSIS:\n"
22511 "\n"
22512 "plw3d(basex, basey, height, xmin, xmax, ymin, ymax, zmin, zmax, alt, az)\n"
22513 "\n"
22514 "ARGUMENTS:\n"
22515 "\n"
22516 " basex (PLFLT, input) : The normalized x coordinate size of the\n"
22517 " rectangular cuboid.\n"
22518 "\n"
22519 " basey (PLFLT, input) : The normalized y coordinate size of the\n"
22520 " rectangular cuboid.\n"
22521 "\n"
22522 " height (PLFLT, input) : The normalized z coordinate size of the\n"
22523 " rectangular cuboid.\n"
22524 "\n"
22525 " xmin (PLFLT, input) : The minimum x world coordinate of the\n"
22526 " rectangular cuboid.\n"
22527 "\n"
22528 " xmax (PLFLT, input) : The maximum x world coordinate of the\n"
22529 " rectangular cuboid.\n"
22530 "\n"
22531 " ymin (PLFLT, input) : The minimum y world coordinate of the\n"
22532 " rectangular cuboid.\n"
22533 "\n"
22534 " ymax (PLFLT, input) : The maximum y world coordinate of the\n"
22535 " rectangular cuboid.\n"
22536 "\n"
22537 " zmin (PLFLT, input) : The minimum z world coordinate of the\n"
22538 " rectangular cuboid.\n"
22539 "\n"
22540 " zmax (PLFLT, input) : The maximum z world coordinate of the\n"
22541 " rectangular cuboid.\n"
22542 "\n"
22543 " alt (PLFLT, input) : The viewing altitude in degrees above the xy\n"
22544 " plane of the rectangular cuboid in normalized coordinates.\n"
22545 "\n"
22546 " az (PLFLT, input) : The viewing azimuth in degrees of the\n"
22547 " rectangular cuboid in normalized coordinates. When az=0, the\n"
22548 " observer is looking face onto the zx plane of the rectangular\n"
22549 " cuboid in normalized coordinates, and as az is increased, the\n"
22550 " observer moves clockwise around that cuboid when viewed from above\n"
22551 " the xy plane.\n"
22552 "\n"
22553 ""},
22554 { "plwidth", _wrap_plwidth, METH_O, "\n"
22555 "Set pen width\n"
22556 "\n"
22557 "DESCRIPTION:\n"
22558 "\n"
22559 " Sets the pen width.\n"
22560 "\n"
22561 " Redacted form: plwidth(width)\n"
22562 "\n"
22563 " This function is used in examples 1 and 2.\n"
22564 "\n"
22565 "\n"
22566 "\n"
22567 "SYNOPSIS:\n"
22568 "\n"
22569 "plwidth(width)\n"
22570 "\n"
22571 "ARGUMENTS:\n"
22572 "\n"
22573 " width (PLFLT, input) : The desired pen width. If width is negative\n"
22574 " or the same as the previous value no action is taken. width = 0.\n"
22575 " should be interpreted as as the minimum valid pen width for the\n"
22576 " device. The interpretation of positive width values is also\n"
22577 " device dependent.\n"
22578 "\n"
22579 ""},
22580 { "plwind", _wrap_plwind, METH_VARARGS, "\n"
22581 "Specify window\n"
22582 "\n"
22583 "DESCRIPTION:\n"
22584 "\n"
22585 " Specify the window, i.e., the world coordinates of the edges of the\n"
22586 " viewport.\n"
22587 "\n"
22588 " Redacted form: plwind(xmin, xmax, ymin, ymax)\n"
22589 "\n"
22590 " This function is used in examples 1, 2, 4, 6-12, 14-16, 18, 21, 23-27,\n"
22591 " 29, and 31.\n"
22592 "\n"
22593 "\n"
22594 "\n"
22595 "SYNOPSIS:\n"
22596 "\n"
22597 "plwind(xmin, xmax, ymin, ymax)\n"
22598 "\n"
22599 "ARGUMENTS:\n"
22600 "\n"
22601 " xmin (PLFLT, input) : The world x coordinate of the left-hand edge\n"
22602 " of the viewport.\n"
22603 "\n"
22604 " xmax (PLFLT, input) : The world x coordinate of the right-hand edge\n"
22605 " of the viewport.\n"
22606 "\n"
22607 " ymin (PLFLT, input) : The world y coordinate of the bottom edge of\n"
22608 " the viewport.\n"
22609 "\n"
22610 " ymax (PLFLT, input) : The world y coordinate of the top edge of the\n"
22611 " viewport.\n"
22612 "\n"
22613 ""},
22614 { "plxormod", _wrap_plxormod, METH_O, "\n"
22615 "Enter or leave xor mode\n"
22616 "\n"
22617 "DESCRIPTION:\n"
22618 "\n"
22619 " Enter (when mode is true) or leave (when mode is false) xor mode for\n"
22620 " those drivers (e.g., the xwin driver) that support it. Enables\n"
22621 " erasing plots by drawing twice the same line, symbol, etc. If driver\n"
22622 " is not capable of xor operation it returns a status of false.\n"
22623 "\n"
22624 " Redacted form: plxormod(mode, status)\n"
22625 "\n"
22626 " This function is used in examples 1 and 20.\n"
22627 "\n"
22628 "\n"
22629 "\n"
22630 "SYNOPSIS:\n"
22631 "\n"
22632 "plxormod(mode, status)\n"
22633 "\n"
22634 "ARGUMENTS:\n"
22635 "\n"
22636 " mode (PLBOOL, input) : mode is true means enter xor mode and mode\n"
22637 " is false means leave xor mode.\n"
22638 "\n"
22639 " status (PLBOOL_NC_SCALAR, output) : Returned value of the status.\n"
22640 " modestatus of true (false) means driver is capable (incapable) of\n"
22641 " xor mode.\n"
22642 "\n"
22643 ""},
22644 { "plmap", _wrap_plmap, METH_VARARGS, "\n"
22645 "Plot continental outline or shapefile data in world coordinates\n"
22646 "\n"
22647 "DESCRIPTION:\n"
22648 "\n"
22649 " Plots continental outlines or shapefile data in world coordinates. A\n"
22650 " demonstration of how to use this function to create different\n"
22651 " projections can be found in examples/c/x19c. PLplot is provided with\n"
22652 " basic coastal outlines and USA state borders. To use the map\n"
22653 " functionality PLplot must be compiled with the shapelib library.\n"
22654 " Shapefiles have become a popular standard for geographical data and\n"
22655 " data in this format can be easily found from a number of online\n"
22656 " sources. Shapefile data is actually provided as three or more files\n"
22657 " with the same filename, but different extensions. The .shp and .shx\n"
22658 " files are required for plotting Shapefile data with PLplot.\n"
22659 "\n"
22660 " PLplot currently supports the point, multipoint, polyline and polygon\n"
22661 " objects within shapefiles. However holes in polygons are not\n"
22662 " supported. When plmap is used the type of object is derived from the\n"
22663 " shapefile, if you wish to override the type then use one of the other\n"
22664 " plmap variants. The built in maps have line data only.\n"
22665 "\n"
22666 " Redacted form: plmap(mapform, name, minx, maxx, miny, maxy)\n"
22667 "\n"
22668 " This function is used in example 19.\n"
22669 "\n"
22670 "\n"
22671 "\n"
22672 "SYNOPSIS:\n"
22673 "\n"
22674 "plmap(mapform, name, minx, maxx, miny, maxy)\n"
22675 "\n"
22676 "ARGUMENTS:\n"
22677 "\n"
22678 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22679 " transform the original map data coordinates to a new coordinate\n"
22680 " system. The PLplot-supplied map data is provided as latitudes and\n"
22681 " longitudes; other Shapefile data may be provided in other\n"
22682 " coordinate systems as can be found in their .prj plain text files.\n"
22683 " For example, by using this transform we can change from a\n"
22684 " longitude, latitude coordinate to a polar stereographic\n"
22685 " projection. Initially, x[0]..[n-1] are the original x coordinates\n"
22686 " (longitudes for the PLplot-supplied data) and y[0]..y[n-1] are the\n"
22687 " corresponding y coordinates (latitudes for the PLplot supplied\n"
22688 " data). After the call to mapform(), x[] and y[] should be\n"
22689 " replaced by the corresponding plot coordinates. If no transform is\n"
22690 " desired, mapform can be replaced by NULL.\n"
22691 "\n"
22692 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22693 " the type of map plotted. This is either one of the PLplot built-in\n"
22694 " maps or the file name of a set of Shapefile files without the file\n"
22695 " extensions. For the PLplot built-in maps the possible values are:\n"
22696 " \"globe\" -- continental outlines\n"
22697 " \"usa\" -- USA and state boundaries\n"
22698 " \"cglobe\" -- continental outlines and countries\n"
22699 " \"usaglobe\" -- USA, state boundaries and continental outlines\n"
22700 "\n"
22701 "\n"
22702 " minx (PLFLT, input) : The minimum x value of map elements to be\n"
22703 " drawn. The units must match the shapefile (built in maps are\n"
22704 " degrees lat/lon). Objects in the file which do not encroach on the\n"
22705 " box defined by minx, maxx, miny, maxy will not be rendered. But\n"
22706 " note this is simply an optimisation, not a clipping so for objects\n"
22707 " with some points inside the box and some points outside the box\n"
22708 " all the points will be rendered. These parameters also define\n"
22709 " latitude and longitude wrapping for shapefiles using these units.\n"
22710 " Longitude points will be wrapped by integer multiples of 360\n"
22711 " degrees to place them in the box. This allows the same data to be\n"
22712 " used on plots from -180-180 or 0-360 longitude ranges. In fact if\n"
22713 " you plot from -180-540 you will get two cycles of data drawn. The\n"
22714 " value of minx must be less than the value of maxx. Passing in a\n"
22715 " nan, max/-max floating point number or +/-infinity will case the\n"
22716 " bounding box from the shapefile to be used.\n"
22717 "\n"
22718 " maxx (PLFLT, input) : The maximum x value of map elements to be\n"
22719 " drawn - see minx.\n"
22720 "\n"
22721 " miny (PLFLT, input) : The minimum y value of map elements to be\n"
22722 " drawn - see minx.\n"
22723 "\n"
22724 " maxy (PLFLT, input) : The maximum y value of map elements to be\n"
22725 " drawn - see minx.\n"
22726 "\n"
22727 ""},
22728 { "plmapline", _wrap_plmapline, METH_VARARGS, "\n"
22729 "Plot all or a subset of Shapefile data using lines in world coordinates\n"
22730 "\n"
22731 "DESCRIPTION:\n"
22732 "\n"
22733 " Plot all or a subset of Shapefile data using lines in world\n"
22734 " coordinates. Our 19th standard example demonstrates how to use this\n"
22735 " function. This function plots data from a Shapefile using lines as in\n"
22736 " plmap, however it also has the option of also only drawing specified\n"
22737 " elements from the Shapefile. The vector of indices of the required\n"
22738 " elements are passed as a function argument. The Shapefile data should\n"
22739 " include a metadata file (extension.dbf) listing all items within the\n"
22740 " Shapefile. This file can be opened by most popular spreadsheet\n"
22741 " programs and can be used to decide which indices to pass to this\n"
22742 " function.\n"
22743 "\n"
22744 " Redacted form: plmapline(mapform, name, minx, maxx, miny, maxy,\n"
22745 " plotentries)\n"
22746 "\n"
22747 " This function is used in example 19.\n"
22748 "\n"
22749 "\n"
22750 "\n"
22751 "SYNOPSIS:\n"
22752 "\n"
22753 "plmapline(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22754 "\n"
22755 "ARGUMENTS:\n"
22756 "\n"
22757 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22758 " transform the coordinates given in the shapefile into a plot\n"
22759 " coordinate system. By using this transform, we can change from a\n"
22760 " longitude, latitude coordinate to a polar stereographic project,\n"
22761 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22762 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22763 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22764 " plot coordinates. If no transform is desired, mapform can be\n"
22765 " replaced by NULL.\n"
22766 "\n"
22767 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22768 " the file name of a set of Shapefile files without the file\n"
22769 " extension.\n"
22770 "\n"
22771 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22772 " be in the same units as used by the Shapefile. You could use a\n"
22773 " very large negative number to plot everything, but you can improve\n"
22774 " performance by limiting the area drawn. The units must match those\n"
22775 " of the Shapefile projection, which may be for example longitude or\n"
22776 " distance. The value of minx must be less than the value of maxx.\n"
22777 "\n"
22778 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22779 " use a very large number to plot everything, but you can improve\n"
22780 " performance by limiting the area drawn.\n"
22781 "\n"
22782 " miny (PLFLT, input) : The minimum y 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 latitude or\n"
22787 " distance. The value of miny must be less than the value of maxy.\n"
22788 "\n"
22789 " maxy (PLFLT, input) : The maximum y 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 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22794 " zero-based indices of the Shapefile elements which will be drawn.\n"
22795 " Setting\n"
22796 " plotentries to NULL will plot all elements of the Shapefile.\n"
22797 "\n"
22798 " nplotentries (PLINT, input) : The number of items in\n"
22799 " plotentries. Ignored if\n"
22800 " plotentries is NULL.\n"
22801 "\n"
22802 ""},
22803 { "plmapstring", _wrap_plmapstring, METH_VARARGS, "\n"
22804 "Plot all or a subset of Shapefile data using strings or points in world coordinates\n"
22805 "\n"
22806 "DESCRIPTION:\n"
22807 "\n"
22808 " As per plmapline, however the items are plotted as strings or points\n"
22809 " in the same way as plstring.\n"
22810 "\n"
22811 " Redacted form: plmapstring(mapform, name, string, minx, maxx, miny,\n"
22812 " maxy, plotentries)\n"
22813 "\n"
22814 " This function is not used in any examples.\n"
22815 "\n"
22816 "\n"
22817 "\n"
22818 "SYNOPSIS:\n"
22819 "\n"
22820 "plmapstring(mapform, name, string, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22821 "\n"
22822 "ARGUMENTS:\n"
22823 "\n"
22824 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22825 " transform the coordinates given in the shapefile into a plot\n"
22826 " coordinate system. By using this transform, we can change from a\n"
22827 " longitude, latitude coordinate to a polar stereographic project,\n"
22828 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22829 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22830 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22831 " plot coordinates. If no transform is desired, mapform can be\n"
22832 " replaced by NULL.\n"
22833 "\n"
22834 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22835 " the file name of a set of Shapefile files without the file\n"
22836 " extension.\n"
22837 "\n"
22838 " string (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
22839 " drawn.\n"
22840 "\n"
22841 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22842 " be in the same units as used by the Shapefile. You could use a\n"
22843 " very large negative number to plot everything, but you can improve\n"
22844 " performance by limiting the area drawn. The units must match those\n"
22845 " of the Shapefile projection, which may be for example longitude or\n"
22846 " distance. The value of minx must be less than the value of maxx.\n"
22847 "\n"
22848 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22849 " use a very large number to plot everything, but you can improve\n"
22850 " performance by limiting the area drawn.\n"
22851 "\n"
22852 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22853 " be in the same units as used by the Shapefile. You could use a\n"
22854 " very large negative number to plot everything, but you can improve\n"
22855 " performance by limiting the area drawn. The units must match those\n"
22856 " of the Shapefile projection, which may be for example latitude or\n"
22857 " distance. The value of miny must be less than the value of maxy.\n"
22858 "\n"
22859 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22860 " use a very large number to plot everything, but you can improve\n"
22861 " performance by limiting the area drawn.\n"
22862 "\n"
22863 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22864 " zero-based indices of the Shapefile elements which will be drawn.\n"
22865 " Setting\n"
22866 " plotentries to NULL will plot all elements of the Shapefile.\n"
22867 "\n"
22868 " nplotentries (PLINT, input) : The number of items in\n"
22869 " plotentries. Ignored if\n"
22870 " plotentries is NULL.\n"
22871 "\n"
22872 ""},
22873 { "plmaptex", _wrap_plmaptex, METH_VARARGS, "\n"
22874 "Draw text at points defined by Shapefile data in world coordinates\n"
22875 "\n"
22876 "DESCRIPTION:\n"
22877 "\n"
22878 " As per plmapline, however the items are plotted as text in the same\n"
22879 " way as plptex.\n"
22880 "\n"
22881 " Redacted form: plmaptex(mapform, name, dx, dy, just, text, minx, maxx,\n"
22882 " miny, maxy, plotentry)\n"
22883 "\n"
22884 " This function is used in example 19.\n"
22885 "\n"
22886 "\n"
22887 "\n"
22888 "SYNOPSIS:\n"
22889 "\n"
22890 "plmaptex(mapform, name, dx, dy, just, text, minx, maxx, miny, maxy, plotentry)\n"
22891 "\n"
22892 "ARGUMENTS:\n"
22893 "\n"
22894 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22895 " transform the coordinates given in the shapefile into a plot\n"
22896 " coordinate system. By using this transform, we can change from a\n"
22897 " longitude, latitude coordinate to a polar stereographic project,\n"
22898 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22899 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22900 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22901 " plot coordinates. If no transform is desired, mapform can be\n"
22902 " replaced by NULL.\n"
22903 "\n"
22904 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22905 " the file name of a set of Shapefile files without the file\n"
22906 " extension.\n"
22907 "\n"
22908 " dx (PLFLT, input) : Used to define the slope of the texts which is\n"
22909 " dy/dx.\n"
22910 "\n"
22911 " dy (PLFLT, input) : Used to define the slope of the texts which is\n"
22912 " dy/dx.\n"
22913 "\n"
22914 " just (PLFLT, input) : Set the justification of the text. The value\n"
22915 " given will be the fraction of the distance along the string that\n"
22916 " sits at the given point. 0.0 gives left aligned text, 0.5 gives\n"
22917 " centralized text and 1.0 gives right aligned text.\n"
22918 "\n"
22919 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be drawn.\n"
22920 "\n"
22921 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22922 " be in the same units as used by the Shapefile. You could use a\n"
22923 " very large negative number to plot everything, but you can improve\n"
22924 " performance by limiting the area drawn. The units must match those\n"
22925 " of the Shapefile projection, which may be for example longitude or\n"
22926 " distance. The value of minx must be less than the value of maxx.\n"
22927 "\n"
22928 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22929 " use a very large number to plot everything, but you can improve\n"
22930 " performance by limiting the area drawn.\n"
22931 "\n"
22932 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22933 " be in the same units as used by the Shapefile. You could use a\n"
22934 " very large negative number to plot everything, but you can improve\n"
22935 " performance by limiting the area drawn. The units must match those\n"
22936 " of the Shapefile projection, which may be for example latitude or\n"
22937 " distance. The value of miny must be less than the value of maxy.\n"
22938 "\n"
22939 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22940 " use a very large number to plot everything, but you can improve\n"
22941 " performance by limiting the area drawn.\n"
22942 "\n"
22943 " plotentry (PLINT, input) : An integer indicating which text string\n"
22944 " of the Shapefile (zero indexed) will be drawn.\n"
22945 "\n"
22946 ""},
22947 { "plmapfill", _wrap_plmapfill, METH_VARARGS, "\n"
22948 "Plot all or a subset of Shapefile data, filling the polygons\n"
22949 "\n"
22950 "DESCRIPTION:\n"
22951 "\n"
22952 " As per plmapline, however the items are filled in the same way as\n"
22953 " plfill.\n"
22954 "\n"
22955 " Redacted form: plmapfill(mapform, name, minx, maxx, miny, maxy,\n"
22956 " plotentries)\n"
22957 "\n"
22958 " This function is used in example 19.\n"
22959 "\n"
22960 "\n"
22961 "\n"
22962 "SYNOPSIS:\n"
22963 "\n"
22964 "plmapfill(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22965 "\n"
22966 "ARGUMENTS:\n"
22967 "\n"
22968 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22969 " transform the coordinates given in the shapefile into a plot\n"
22970 " coordinate system. By using this transform, we can change from a\n"
22971 " longitude, latitude coordinate to a polar stereographic project,\n"
22972 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22973 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22974 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22975 " plot coordinates. If no transform is desired, mapform can be\n"
22976 " replaced by NULL.\n"
22977 "\n"
22978 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22979 " the file name of a set of Shapefile files without the file\n"
22980 " extension.\n"
22981 "\n"
22982 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22983 " be in the same units as used by the Shapefile. You could use a\n"
22984 " very large negative number to plot everything, but you can improve\n"
22985 " performance by limiting the area drawn. The units must match those\n"
22986 " of the Shapefile projection, which may be for example longitude or\n"
22987 " distance. The value of minx must be less than the value of maxx.\n"
22988 "\n"
22989 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22990 " use a very large number to plot everything, but you can improve\n"
22991 " performance by limiting the area drawn.\n"
22992 "\n"
22993 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22994 " be in the same units as used by the Shapefile. You could use a\n"
22995 " very large negative number to plot everything, but you can improve\n"
22996 " performance by limiting the area drawn. The units must match those\n"
22997 " of the Shapefile projection, which may be for example latitude or\n"
22998 " distance. The value of miny must be less than the value of maxy.\n"
22999 "\n"
23000 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
23001 " use a very large number to plot everything, but you can improve\n"
23002 " performance by limiting the area drawn.\n"
23003 "\n"
23004 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
23005 " zero-based indices of the Shapefile elements which will be drawn.\n"
23006 " Setting\n"
23007 " plotentries to NULL will plot all elements of the Shapefile.\n"
23008 "\n"
23009 " nplotentries (PLINT, input) : The number of items in\n"
23010 " plotentries. Ignored if\n"
23011 " plotentries is NULL.\n"
23012 "\n"
23013 ""},
23014 { "plmeridians", _wrap_plmeridians, METH_VARARGS, "\n"
23015 "Plot latitude and longitude lines\n"
23016 "\n"
23017 "DESCRIPTION:\n"
23018 "\n"
23019 " Displays latitude and longitude on the current plot. The lines are\n"
23020 " plotted in the current color and line style.\n"
23021 "\n"
23022 " Redacted form: plmeridians(mapform, dlong, dlat, minlong, maxlong,\n"
23023 " minlat, maxlat)\n"
23024 "\n"
23025 " This function is used in example 19.\n"
23026 "\n"
23027 "\n"
23028 "\n"
23029 "SYNOPSIS:\n"
23030 "\n"
23031 "plmeridians(mapform, dlong, dlat, minlong, maxlong, minlat, maxlat)\n"
23032 "\n"
23033 "ARGUMENTS:\n"
23034 "\n"
23035 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
23036 " transform the coordinate longitudes and latitudes to a plot\n"
23037 " coordinate system. By using this transform, we can change from a\n"
23038 " longitude, latitude coordinate to a polar stereographic project,\n"
23039 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
23040 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
23041 " mapform(), x[] and y[] should be replaced by the corresponding\n"
23042 " plot coordinates. If no transform is desired, mapform can be\n"
23043 " replaced by NULL.\n"
23044 "\n"
23045 " dlong (PLFLT, input) : The interval in degrees at which the\n"
23046 " longitude lines are to be plotted.\n"
23047 "\n"
23048 " dlat (PLFLT, input) : The interval in degrees at which the latitude\n"
23049 " lines are to be plotted.\n"
23050 "\n"
23051 " minlong (PLFLT, input) : The value of the longitude on the left\n"
23052 " side of the plot. The value of minlong must be less than the value\n"
23053 " of maxlong, and the quantity maxlong-minlong must be less than or\n"
23054 " equal to 360.\n"
23055 "\n"
23056 " maxlong (PLFLT, input) : The value of the longitude on the right\n"
23057 " side of the plot.\n"
23058 "\n"
23059 " minlat (PLFLT, input) : The minimum latitude to be plotted on the\n"
23060 " background. One can always use -90.0 as the boundary outside the\n"
23061 " plot window will be automatically eliminated. However, the\n"
23062 " program will be faster if one can reduce the size of the\n"
23063 " background plotted.\n"
23064 "\n"
23065 " maxlat (PLFLT, input) : The maximum latitudes to be plotted on the\n"
23066 " background. One can always use 90.0 as the boundary outside the\n"
23067 " plot window will be automatically eliminated.\n"
23068 "\n"
23069 ""},
23070 { "plimage", _wrap_plimage, METH_VARARGS, "\n"
23071 "Plot a 2D matrix using cmap1 with automatic color adjustment\n"
23072 "\n"
23073 "DESCRIPTION:\n"
23074 "\n"
23075 " Plot a 2D matrix using the cmap1 palette. The color scale is\n"
23076 " automatically adjusted to use the maximum and minimum values in idata\n"
23077 " as valuemin and valuemax in a call to plimagefr.\n"
23078 "\n"
23079 " Redacted form: General: plimage(idata, xmin, xmax, ymin, ymax, zmin,\n"
23080 " zmax, Dxmin, Dxmax, Dymin, Dymax)\n"
23081 "\n"
23082 "\n"
23083 " This function is used in example 20.\n"
23084 "\n"
23085 "\n"
23086 "\n"
23087 "SYNOPSIS:\n"
23088 "\n"
23089 "plimage(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, Dxmin, Dxmax, Dymin, Dymax)\n"
23090 "\n"
23091 "ARGUMENTS:\n"
23092 "\n"
23093 " idata (PLFLT_MATRIX, input) : A matrix containing function values\n"
23094 " to plot. Should have dimensions of\n"
23095 " nx by\n"
23096 " ny.\n"
23097 "\n"
23098 " nx, ny (PLINT, input) : Dimensions of idata\n"
23099 "\n"
23100 " xmin, xmax, ymin, ymax (PLFLT, input) : The x and y index ranges\n"
23101 " are linearly transformed to these world coordinate ranges such\n"
23102 " that idata[0][0] corresponds to (xmin, ymin) and idata[nx - 1][ny\n"
23103 " - 1] corresponds to (xmax, ymax).\n"
23104 "\n"
23105 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n"
23106 " (inclusive) will be plotted.\n"
23107 "\n"
23108 " Dxmin, Dxmax, Dymin, Dymax (PLFLT, input) : Plot only the window of\n"
23109 " points whose plot coordinates fall inside the window of (Dxmin,\n"
23110 " Dymin) to (Dxmax, Dymax).\n"
23111 "\n"
23112 ""},
23113 { "plimagefr", _wrap_plimagefr, METH_VARARGS, "\n"
23114 "Plot a 2D matrix using cmap1\n"
23115 "\n"
23116 "DESCRIPTION:\n"
23117 "\n"
23118 " Plot a 2D matrix using cmap1.\n"
23119 "\n"
23120 " Redacted form: General: plimagefr(idata, xmin, xmax, ymin, ymax, zmin,\n"
23121 " zmax, valuemin, valuemax, pltr, pltr_data)\n"
23122 "\n"
23123 "\n"
23124 " This function is used in example 20.\n"
23125 "\n"
23126 "\n"
23127 "\n"
23128 "SYNOPSIS:\n"
23129 "\n"
23130 "plimagefr(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr, pltr_data)\n"
23131 "\n"
23132 "ARGUMENTS:\n"
23133 "\n"
23134 " idata (PLFLT_MATRIX, input) : A matrix of values (intensities) to\n"
23135 " plot. Should have dimensions of\n"
23136 " nx by\n"
23137 " ny.\n"
23138 "\n"
23139 " nx, ny (PLINT, input) : Dimensions of idata\n"
23140 "\n"
23141 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
23142 " pltr below for how these arguments are used (only for the special case\n"
23143 " when the callback function\n"
23144 " pltr is not supplied).\n"
23145 "\n"
23146 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n"
23147 " (inclusive) will be plotted.\n"
23148 "\n"
23149 " valuemin, valuemax (PLFLT, input) : The minimum and maximum data\n"
23150 " values to use for value to color mappings. A datum equal to or\n"
23151 " less than valuemin will be plotted with color 0.0, while a datum\n"
23152 " equal to or greater than valuemax will be plotted with color 1.0.\n"
23153 " Data between valuemin and valuemax map linearly to colors in the\n"
23154 " range (0.0-1.0).\n"
23155 "\n"
23156 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
23157 " defines the transformation between the zero-based indices of the\n"
23158 " matrix idata and world coordinates. If\n"
23159 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
23160 " indices of idata are mapped to the range\n"
23161 " xmin through\n"
23162 " xmax and the y indices of idata are mapped to the range\n"
23163 " ymin through\n"
23164 " ymax.For the C case, transformation functions are provided in the\n"
23165 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
23166 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
23167 " matrices. In addition, C callback routines for the transformation\n"
23168 " can be supplied by the user such as the mypltr function in\n"
23169 " examples/c/x09c.c which provides a general linear transformation\n"
23170 " between index coordinates and world coordinates.For languages\n"
23171 " other than C you should consult the PLplot documentation for the\n"
23172 " details concerning how PLTRANSFORM_callback arguments are\n"
23173 " interfaced. However, in general, a particular pattern of\n"
23174 " callback-associated arguments such as a tr vector with 6 elements;\n"
23175 " xg and yg vectors; or xg and yg matrices are respectively\n"
23176 " interfaced to a linear-transformation routine similar to the above\n"
23177 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
23178 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
23179 " support native language callbacks for handling index to\n"
23180 " world-coordinate transformations. Examples of these various\n"
23181 " approaches are given in examples/<language>x09*,\n"
23182 " examples/<language>x16*, examples/<language>x20*,\n"
23183 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
23184 " supported languages.\n"
23185 "\n"
23186 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
23187 " information to pltr0, pltr1, pltr2, or whatever routine is\n"
23188 " externally supplied.\n"
23189 "\n"
23190 ""},
23191 { "plClearOpts", _wrap_plClearOpts, METH_NOARGS, NULL},
23192 { "plResetOpts", _wrap_plResetOpts, METH_NOARGS, NULL},
23193 { "plSetUsage", _wrap_plSetUsage, METH_VARARGS, NULL},
23194 { "plOptUsage", _wrap_plOptUsage, METH_NOARGS, NULL},
23195 { "plMinMax2dGrid", _wrap_plMinMax2dGrid, METH_O, NULL},
23196 { "plGetCursor", _wrap_plGetCursor, METH_O, "\n"
23197 "Wait for graphics input event and translate to world coordinates.\n"
23198 "\n"
23199 "DESCRIPTION:\n"
23200 "\n"
23201 " Wait for graphics input event and translate to world coordinates.\n"
23202 " Returns 0 if no translation to world coordinates is possible.\n"
23203 "\n"
23204 " This function returns 1 on success and 0 if no translation to world\n"
23205 " coordinates is possible.\n"
23206 "\n"
23207 " Redacted form: plGetCursor(gin)\n"
23208 "\n"
23209 " This function is used in examples 1 and 20.\n"
23210 "\n"
23211 "\n"
23212 "\n"
23213 "SYNOPSIS:\n"
23214 "\n"
23215 "PLINT plGetCursor(gin)\n"
23216 "\n"
23217 "ARGUMENTS:\n"
23218 "\n"
23219 " gin (PLGraphicsIn *, output) : Pointer to PLGraphicsIn structure\n"
23220 " which will contain the output. The structure is not allocated by\n"
23221 " the routine and must exist before the function is called.\n"
23222 "\n"
23223 ""},
23224 { NULL, NULL, 0, NULL }
23225};
23226
23227
23228/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23229
23230static swig_type_info _swigt__p_PLGraphicsIn = {"_p_PLGraphicsIn", "PLGraphicsIn *", 0, 0, (void*)0, 0};
23231static swig_type_info _swigt__p_PLcGrid = {"_p_PLcGrid", "PLcGrid *", 0, 0, (void*)0, 0};
23232static swig_type_info _swigt__p_PLcGrid2 = {"_p_PLcGrid2", "PLcGrid2 *", 0, 0, (void*)0, 0};
23233static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
23234static swig_type_info _swigt__p_double = {"_p_double", "PLFLT *|double *", 0, 0, (void*)0, 0};
23235static swig_type_info _swigt__p_f_double_double__int = {"_p_f_double_double__int", "defined_func|int (*)(double,double)", 0, 0, (void*)0, 0};
23236static 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};
23237static 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};
23238static 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};
23239static 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};
23240static swig_type_info _swigt__p_int = {"_p_int", "PLBOOL *|PLINT *|int *", 0, 0, (void*)0, 0};
23241static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
23242static swig_type_info _swigt__p_p_double = {"_p_p_double", "PLFLT **|double **", 0, 0, (void*)0, 0};
23243static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "PLUNICODE *|unsigned int *", 0, 0, (void*)0, 0};
23244
23261
23262static swig_cast_info _swigc__p_PLGraphicsIn[] = { {&_swigt__p_PLGraphicsIn, 0, 0, 0},{0, 0, 0, 0}};
23263static swig_cast_info _swigc__p_PLcGrid[] = { {&_swigt__p_PLcGrid, 0, 0, 0},{0, 0, 0, 0}};
23264static swig_cast_info _swigc__p_PLcGrid2[] = { {&_swigt__p_PLcGrid2, 0, 0, 0},{0, 0, 0, 0}};
23265static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
23266static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
23272static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
23273static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
23274static swig_cast_info _swigc__p_p_double[] = { {&_swigt__p_p_double, 0, 0, 0},{0, 0, 0, 0}};
23275static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
23276
23293
23294
23295/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
23296
23298{0, 0, 0, 0.0, 0, 0}};
23299
23300#ifdef __cplusplus
23301}
23302#endif
23303/* -----------------------------------------------------------------------------
23304 * Type initialization:
23305 * This problem is made tough by the requirement that no dynamic
23306 * memory is used. Also, since swig_type_info structures store pointers to
23307 * swig_cast_info structures and swig_cast_info structures store pointers back
23308 * to swig_type_info structures, we need some lookup code at initialization.
23309 * The idea is that swig generates all the structures that are needed.
23310 * The runtime then collects these partially filled structures.
23311 * The SWIG_InitializeModule function takes these initial arrays out of
23312 * swig_module, and does all the lookup, filling in the swig_module.types
23313 * array with the correct data and linking the correct swig_cast_info
23314 * structures together.
23315 *
23316 * The generated swig_type_info structures are assigned statically to an initial
23317 * array. We just loop through that array, and handle each type individually.
23318 * First we lookup if this type has been already loaded, and if so, use the
23319 * loaded structure instead of the generated one. Then we have to fill in the
23320 * cast dependencies. The cast data is initially stored in something like a
23321 * two-dimensional array. Each row corresponds to a type (there are the same
23322 * number of rows as there are in the swig_type_initial array). Each entry in
23323 * a column is one of the swig_cast_info structures for that type.
23324 * The cast_initial array is actually an array of arrays, because each row has
23325 * a variable number of columns.
23326 *
23327 * We loop through the cast[] array associated with the type and mark casts
23328 * which have not been defined in previously loaded modules by assigning
23329 * cast pointer value to cast->next. We also hash cast->type->name string
23330 * and store the value in the cast->value field. If we encounter swig_cast_info
23331 * structure that represents a cast to self we move it to the beginning
23332 * of the cast array. One trick we need to do is making sure the type pointer
23333 * in the swig_cast_info struct is correct.
23334 *
23335 * First off, we lookup the cast->type name to see if it is already loaded.
23336 * There are three cases to handle:
23337 * 1) If the cast->type has already been loaded AND the type we are adding
23338 * casting info to has not been loaded (it is in this module), THEN we
23339 * replace the cast->type pointer with the type pointer that has already
23340 * been loaded.
23341 * 2) If BOTH types (the one we are adding casting info to, and the
23342 * cast->type) are loaded, THEN the cast info has already been loaded by
23343 * the previous module so we just ignore it.
23344 * 3) Finally, if cast->type has not already been loaded, then we add that
23345 * swig_cast_info to the list (because the cast->type) pointer will
23346 * be correct.
23347 *
23348 * Once the cast array has been set up AND it does have new casts that need
23349 * to be added we sort non-self cast entries to move filtered out entries
23350 * to the end of the array and to arrange the rest in the increasing order
23351 * of their type pointer values. We store the index of the last added entry
23352 * in the cast->value field of the entry[0] (overwriting the name hash). Then
23353 * we sort <next|value> fields of the remaining entries to arrange hash values
23354 * in the increasing order. This way cast->next->type->name field matches
23355 * the cast->value hash.
23356 *
23357 * Example:
23358 * Array of casts for type stored at 0x5000, cast to type stored at 0x3000
23359 * has already been loaded
23360 *
23361 * After sweep-and-hash: After sort-by-type: After sort-by-hash:
23362 * ________________ ________________ ________________
23363 * | | | | | |
23364 * Entry | type = 0x5000 | | type = 0x5000 | | type = 0x5000 |
23365 * 0 | | | | | |
23366 * | next = Entry0 | | next = Entry0 | | next = Entry0 |
23367 * | value = 1212 | | value = 3 | | value = 3 |
23368 * | | | | | |
23369 * |================| |================| |================|
23370 * | | | | | |
23371 * Entry | type = 0x2000 | | type = 0x1000 | | type = 0x1000 |
23372 * 1 | | | | | |
23373 * | next = Entry1 | | next = Entry1 | | next = Entry3 |
23374 * | value = 3434 | | value = 4545 | | value = 2323 |
23375 * |________________| |________________| |________________|
23376 * | | | | | |
23377 * Entry | type = 0x3000 | | type = 0x2000 | | type = 0x2000 |
23378 * 2 | | | | | |
23379 * | next = 0 | | next = Entry2 | | next = Entry2 |
23380 * | value = 0 | | value = 3434 | | value = 3434 |
23381 * |________________| |________________| |________________|
23382 * | | | | | |
23383 * Entry | type = 0x1000 | | type = 0x4000 | | type = 0x4000 |
23384 * 3 | | | | | |
23385 * | next = Entry3 | | next = Entry3 | | next = Entry1 |
23386 * | value = 4545 | | value = 2323 | | value = 4545 |
23387 * |________________| |________________| |________________|
23388 * | | | | | |
23389 * Entry | type = 0x4000 | | type = 0x3000 | | type = 0x3000 |
23390 * 4 | | | | | |
23391 * | next = Entry4 | | next = 0 | | next = 0 |
23392 * | value = 2323 | | value = 0 | | value = 0 |
23393 * |________________| |________________| |________________|
23394 *
23395 * Once the cast array has been initialized, we use cast[0]->next field to link
23396 * it into the list of cast arrays for the type.
23397 * ____ ____ ____
23398 * type->cast->|next|->|next|->|next|->0
23399 * |----| |----| |----|
23400 * |----| |----| |----|
23401 * |----| |----| |----|
23402 *
23403 * Subsequent cast resolution works as follows:
23404 *
23405 * 1. Check whether the type matches the first entry in the current cast array.
23406 * 2. If not, then do a binary search over the (0:cast->value] interval using
23407 * either type address or the hash value of the type name.
23408 * 3. If not found, then move over to the next cast array (cast[0]->next).
23409 *
23410 * ----------------------------------------------------------------------------- */
23411
23412#ifdef __cplusplus
23413extern "C" {
23414#if 0
23415} /* c-mode */
23416#endif
23417#endif
23418
23419#if 0
23420#define SWIGRUNTIME_DEBUG
23421#endif
23422
23423#ifndef SWIG_INIT_CLIENT_DATA_TYPE
23424#define SWIG_INIT_CLIENT_DATA_TYPE void *
23425#endif
23426
23427/*
23428 * Sort function that puts cast entries with nonzero 'next' at the front
23429 * of the array while ordering them by addresses of their 'type' structs.
23430 */
23431SWIGINTERN int SWIG_CastCmpStruct(const void *pa, const void *pb) {
23432 swig_cast_info *pca = (swig_cast_info *)pa;
23433 swig_cast_info *pcb = (swig_cast_info *)pb;
23434 if (pca->type < pcb->type)
23435 return (pca->next || pcb->next == 0) ? -1 : 1;
23436 if (pca->type > pcb->type)
23437 return (pcb->next || pca->next == 0) ? 1 : -1;
23438 return 0;
23439}
23440
23441/*
23442 * Shell-sort 'next' and 'value' field pairs to order them by 'value'.
23443 */
23445 const int hmax = size/9;
23446 int h, i;
23447 for(h = 1; h <= hmax; h = 3*h+1);
23448 for(; h > 0; h /= 3)
23449 {
23450 for(i = h; i < size; ++i)
23451 {
23452 swig_cast_info *p = cast[i].next;
23453 unsigned int hash = cast[i].value;
23454 int j = i;
23455 while(j >= h && hash < cast[j-h].value)
23456 {
23457 cast[j].next = cast[j-h].next;
23458 cast[j].value = cast[j-h].value;
23459 j -= h;
23460 }
23461 cast[j].next = p;
23462 cast[j].value = hash;
23463 }
23464 }
23465}
23466
23467SWIGRUNTIME void
23469 size_t i;
23470 swig_module_info *module_head, *iter;
23471 int init;
23472
23473 /* check to see if the circular list has been setup, if not, set it up */
23474 if (swig_module.next==0) {
23475 /* Initialize the swig_module */
23476 swig_module.type_initial = swig_type_initial;
23477 swig_module.cast_initial = swig_cast_initial;
23478 swig_module.next = &swig_module;
23479 init = 1;
23480 } else {
23481 init = 0;
23482 }
23483
23484 /* Try and load any already created modules */
23485 module_head = SWIG_GetModule(clientdata);
23486 if (!module_head) {
23487 /* This is the first module loaded for this interpreter */
23488 /* so set the swig module into the interpreter */
23489 SWIG_SetModule(clientdata, &swig_module);
23490 } else {
23491 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
23492 iter=module_head;
23493 do {
23494 if (iter==&swig_module) {
23495 /* Our module is already in the list, so there's nothing more to do. */
23496 return;
23497 }
23498 iter=iter->next;
23499 } while (iter!= module_head);
23500
23501 /* otherwise we must add our module into the list */
23502 swig_module.next = module_head->next;
23503 module_head->next = &swig_module;
23504 }
23505
23506 /* When multiple interpreters are used, a module could have already been initialized in
23507 a different interpreter, but not yet have a pointer in this interpreter.
23508 In this case, we do not want to continue adding types... everything should be
23509 set up already */
23510 if (init == 0) return;
23511
23512 /* Now work on filling in swig_module.types */
23513#ifdef SWIGRUNTIME_DEBUG
23514 printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
23515#endif
23516 for (i = 0; i < swig_module.size; ++i) {
23517 swig_type_info *type = 0;
23518 swig_type_info *target_type;
23519 swig_cast_info *cast, *first;
23520 int num_mapped = 0;
23521
23522#ifdef SWIGRUNTIME_DEBUG
23523 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
23524#endif
23525
23526 /* if there is another module already loaded */
23527 if (swig_module.next != &swig_module) {
23528 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
23529 }
23530 if (type) {
23531 /* Overwrite clientdata field */
23532#ifdef SWIGRUNTIME_DEBUG
23533 printf("SWIG_InitializeModule: found type %s\n", type->name);
23534#endif
23535 if (swig_module.type_initial[i]->clientdata) {
23536 type->clientdata = swig_module.type_initial[i]->clientdata;
23537#ifdef SWIGRUNTIME_DEBUG
23538 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
23539#endif
23540 }
23541 } else {
23542 type = swig_module.type_initial[i];
23543 }
23544
23545 /* Insert casting types */
23546 cast = first = swig_module.cast_initial[i];
23547 while (cast->type) {
23548 /* Don't need to add information already in the list */
23549 target_type = 0;
23550#ifdef SWIGRUNTIME_DEBUG
23551 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
23552#endif
23553 if (swig_module.next != &swig_module) {
23554 target_type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
23555 if (target_type) {
23556 /* Target type already defined in another module */
23557#ifdef SWIGRUNTIME_DEBUG
23558 printf("SWIG_InitializeModule: found cast %s\n", target_type->name);
23559#endif
23560 if (type == swig_module.type_initial[i]) {
23561#ifdef SWIGRUNTIME_DEBUG
23562 printf("SWIG_InitializeModule: skip old type %s\n", target_type->name);
23563#endif
23564 cast->type = target_type;
23565 target_type = 0;
23566 } else {
23567 /* Check if this cast is already in the list */
23568 swig_cast_info *ocast = SWIG_TypeCheck(target_type->name, type);
23569#ifdef SWIGRUNTIME_DEBUG
23570 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", target_type->name);
23571#endif
23572 if (!ocast) target_type = 0;
23573 }
23574 }
23575 }
23576
23577 if (!target_type) {
23578#ifdef SWIGRUNTIME_DEBUG
23579 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
23580#endif
23581 /* Set inclusion mark for sorting */
23582 cast->next = cast;
23583 num_mapped++;
23584
23585 if (type == cast->type) {
23586#ifdef SWIGRUNTIME_DEBUG
23587 printf("%s : self cast at pos [%li]\n", type->name, cast - first);
23588#endif
23589 if (cast - first) {
23590 /* Move cast to itself to the first entry in the array */
23591
23592 swig_cast_info tmp = *cast;
23593 *cast = *first;
23594 *first = tmp;
23595 }
23596 first++;
23597
23598 } else {
23599 cast->value = SWIG_Hash(cast->type->name, (unsigned int)strlen(cast->type->name));
23600 }
23601 }
23602 cast++;
23603 }
23604
23605 if (num_mapped) {
23606 if (cast - first) {
23607 swig_cast_info *tmp;
23608
23609 /* Sort casts by type address for binary search in SWIG_TypeCheckStruct */
23610 qsort(first, cast - first, sizeof(swig_cast_info), SWIG_CastCmpStruct);
23611
23612 /* Remap back links for added entries */
23613 cast = swig_module.cast_initial[i] + num_mapped;
23614 for (tmp = first; tmp < cast; tmp++) {
23615 tmp->next = tmp;
23616 }
23617 }
23618
23619 /* Set the value field of the first entry to the index of the last added entry */
23620 cast = swig_module.cast_initial[i];
23621 cast->value = num_mapped - 1;
23622
23623 num_mapped -= (int)(first - cast);
23624 if (num_mapped > 1) {
23625 /* Sort <'next','value'> pairs by 'value' for binary search in SWIG_TypeCheck */
23626
23627 SWIG_CastHashSort(first, num_mapped);
23628 }
23629
23630 first = type->cast;
23631 if (first) {
23632 /* Link the current set into the list of cast arrays */
23633 cast->next = first->next;
23634 first->next = cast;
23635 } else {
23636 cast->next = 0;
23637 type->cast = cast;
23638 }
23639 }
23640
23641 /* Set entry in modules->types array equal to the type */
23642 swig_module.types[i] = type;
23643 }
23644 swig_module.types[i] = 0;
23645
23646#ifdef SWIGRUNTIME_DEBUG
23647 printf("**** SWIG_InitializeModule: Cast List ******\n");
23648 for (i = 0; i < swig_module.size; ++i) {
23649 int j = 0;
23650 swig_cast_info *cast = swig_module.cast_initial[i];
23651 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
23652 while (cast->type) {
23653 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
23654 cast++;
23655 ++j;
23656 }
23657 printf("---- Total casts: %d\n",j);
23658 }
23659 printf("**** SWIG_InitializeModule: Cast List ******\n");
23660#endif
23661}
23662
23663/* This function will propagate the clientdata field of type to
23664* any new swig_type_info structures that have been added into the list
23665* of equivalent types. It is like calling
23666* SWIG_TypeClientData(type, clientdata) a second time.
23667*/
23668SWIGRUNTIME void
23670 size_t i;
23671 static int init_run = 0;
23672
23673 if (init_run) return;
23674 init_run = 1;
23675
23676 for (i = 0; i < swig_module.size; i++) {
23677 if (swig_module.types[i]->clientdata) {
23678 swig_cast_info *head, *cast;
23679 head = swig_module.types[i]->cast;
23680 while (head) {
23681 for (cast = head; (cast - head) <= head->value; cast++) {
23682 if (!cast->converter) {
23683 if (cast->type && !cast->type->clientdata)
23684 SWIG_TypeClientData(cast->type, swig_module.types[i]->clientdata);
23685 }
23686 }
23687 head = head->next;
23688 }
23689 }
23690 }
23691}
23692
23693#ifdef __cplusplus
23694#if 0
23695{
23696 /* c-mode */
23697#endif
23698}
23699#endif
23700
23701
23702
23703#ifdef __cplusplus
23704extern "C" {
23705#endif
23706
23707 /* -----------------------------------------------------------------------------
23708 * constants/methods manipulation
23709 * ----------------------------------------------------------------------------- */
23710
23711 /* Install Constants */
23712 SWIGINTERN void
23714 PyObject *obj = 0;
23715 size_t i;
23716 for (i = 0; constants[i].type; ++i) {
23717 switch(constants[i].type) {
23718 case SWIG_PY_POINTER:
23719 obj = SWIG_InternalNewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
23720 break;
23721 case SWIG_PY_BINARY:
23722 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
23723 break;
23724 default:
23725 obj = 0;
23726 break;
23727 }
23728 if (obj) {
23729 PyDict_SetItemString(d, constants[i].name, obj);
23730 SWIG_Py_DECREF(obj);
23731 }
23732 }
23733 }
23734
23735 /* -----------------------------------------------------------------------------
23736 * Patch %callback methods' docstrings to hold the callback ptrs
23737 * -----------------------------------------------------------------------------*/
23738
23739 SWIGINTERN void
23740 SWIG_Python_FixMethods(PyMethodDef *methods, const swig_const_info *const_table, swig_type_info **types, swig_type_info **types_initial) {
23741 size_t i;
23742 for (i = 0; methods[i].ml_name; ++i) {
23743 const char *c = methods[i].ml_doc;
23744 if (!c) continue;
23745 c = strstr(c, "swig_ptr: ");
23746 if (c) {
23747 int j;
23748 const swig_const_info *ci = 0;
23749 const char *name = c + 10;
23750 for (j = 0; const_table[j].type; ++j) {
23751 if (strncmp(const_table[j].name, name,
23752 strlen(const_table[j].name)) == 0) {
23753 ci = &(const_table[j]);
23754 break;
23755 }
23756 }
23757 if (ci) {
23758 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
23759 if (ptr) {
23760 size_t shift = (ci->ptype) - types;
23761 swig_type_info *ty = types_initial[shift];
23762 size_t ldoc = (c - methods[i].ml_doc);
23763 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
23764 char *ndoc = (char*)malloc(ldoc + lptr + 10);
23765 if (ndoc) {
23766 char *buff = ndoc;
23767 memcpy(buff, methods[i].ml_doc, ldoc);
23768 buff += ldoc;
23769 memcpy(buff, "swig_ptr: ", 10);
23770 buff += 10;
23771 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
23772 methods[i].ml_doc = ndoc;
23773 }
23774 }
23775 }
23776 }
23777 }
23778 }
23779
23780#ifdef __cplusplus
23781}
23782#endif
23783
23784
23785
23786
23787/* -----------------------------------------------------------------------------*
23788 * Partial Init method
23789 * -----------------------------------------------------------------------------*/
23790
23791SWIGINTERN int SWIG_mod_exec(PyObject *module);
23792
23793#ifdef __cplusplus
23794extern "C"
23795#endif
23796
23798#if PY_VERSION_HEX >= 0x03000000
23799PyObject*
23800#else
23801void
23802#endif
23804#if PY_VERSION_HEX >= 0x03000000
23805 static PyModuleDef_Slot SwigSlots[] = {
23806 {
23807 Py_mod_exec, (void *)SWIG_mod_exec
23808 },
23809#ifdef SWIGPYTHON_NOGIL
23810#ifdef Py_GIL_DISABLED
23811 {
23812 Py_mod_gil, Py_MOD_GIL_NOT_USED
23813 },
23814#endif
23815#endif
23816 {
23817 0, NULL
23818 }
23819 };
23820
23821 static struct PyModuleDef SWIG_module = {
23822 PyModuleDef_HEAD_INIT,
23823 SWIG_name,
23824 NULL,
23825 0,
23827 SwigSlots,
23828 NULL,
23829 NULL,
23830 NULL
23831 };
23832
23833 return PyModuleDef_Init(&SWIG_module);
23834#else
23835 PyObject *m = Py_InitModule(SWIG_name, SwigMethods);
23836 if (m && SWIG_mod_exec(m) != 0) {
23837 Py_DECREF(m);
23838 }
23839#endif
23840}
23841
23842SWIGINTERN int SWIG_mod_exec(PyObject *m) {
23843 PyObject *d, *md, *globals;
23844
23845#if defined(SWIGPYTHON_BUILTIN)
23846 static SwigPyClientData SwigPyObject_clientdata = {
23847 0, 0, 0, 0, 0, 0, 0
23848 };
23849 static PyGetSetDef this_getset_def = {
23850 (char *)"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
23851 };
23852 static SwigPyGetSet thisown_getset_closure = {
23855 };
23856 static PyGetSetDef thisown_getset_def = {
23857 (char *)"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
23858 };
23859 PyTypeObject *builtin_pytype;
23860 int builtin_base_count;
23861 swig_type_info *builtin_basetype;
23862 PyObject *tuple;
23863 PyGetSetDescrObject *static_getset;
23864 PyTypeObject *metatype;
23865 PyTypeObject *swigpyobject;
23866 SwigPyClientData *cd;
23867 PyObject *public_interface, *public_symbol;
23868 PyObject *this_descr;
23869 PyObject *thisown_descr;
23870 PyObject *self = 0;
23871 int i;
23872
23873 (void)builtin_pytype;
23874 (void)builtin_base_count;
23875 (void)builtin_basetype;
23876 (void)tuple;
23877 (void)static_getset;
23878 (void)self;
23879
23880 /* Metaclass is used to implement static member variables */
23881 metatype = SwigPyObjectType_Type();
23882 assert(metatype);
23883
23884 SwigPyStaticVar_Type();
23885#endif
23886
23887 (void)globals;
23888
23889 /* Create singletons now to avoid potential deadlocks with multi-threaded usage after module initialization */
23891 SWIG_This();
23895#ifndef SWIGPYTHON_BUILTIN
23897#endif
23898
23899 /* Fix SwigMethods to carry the callback ptrs when needed */
23901
23902#ifdef SWIGPYTHON_NOGIL
23903#ifdef Py_GIL_DISABLED
23904 PyUnstable_Module_SetGIL(m, Py_MOD_GIL_NOT_USED);
23905#endif
23906#endif
23907
23908 md = d = PyModule_GetDict(m);
23909 (void)md;
23910
23912
23913#ifdef SWIGPYTHON_BUILTIN
23914 swigpyobject = SwigPyObject_TypeOnce();
23915
23916 SwigPyObject_stype = SWIG_MangledTypeQuery("_p_SwigPyObject");
23917 assert(SwigPyObject_stype);
23918 cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
23919 if (!cd) {
23920 SwigPyObject_stype->clientdata = &SwigPyObject_clientdata;
23921 SwigPyObject_clientdata.pytype = swigpyobject;
23922 } else if (swigpyobject->tp_basicsize != cd->pytype->tp_basicsize) {
23923 PyErr_SetString(PyExc_RuntimeError, "Import error: attempted to load two incompatible swig-generated modules.");
23924 return -1;
23925 }
23926
23927 /* All objects have a 'this' attribute */
23928 this_descr = PyDescr_NewGetSet(SwigPyObject_Type(), &this_getset_def);
23929 (void)this_descr;
23930
23931 /* All objects have a 'thisown' attribute */
23932 thisown_descr = PyDescr_NewGetSet(SwigPyObject_Type(), &thisown_getset_def);
23933 (void)thisown_descr;
23934
23935 public_interface = PyList_New(0);
23936 public_symbol = 0;
23937 (void)public_symbol;
23938
23939 PyDict_SetItemString(md, "__all__", public_interface);
23940 SWIG_Py_DECREF(public_interface);
23941 for (i = 0; SwigMethods[i].ml_name != NULL; ++i)
23942 SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name);
23943 for (i = 0; swig_const_table[i].name != 0; ++i)
23944 SwigPyBuiltin_AddPublicSymbol(public_interface, swig_const_table[i].name);
23945#endif
23946
23948
23949
23950#if SWIG_VERSION >= 0x040400 // SWIG >= 4.4.0
23951 // TODO: plplot should return -1 on failure here
23952 // swig uses a function here ...
23953 import_array1(-1);
23954#else
23955 import_array();
23956#endif
23957
23958 SWIG_Python_SetConstant(d, "PLESC_SET_RGB",SWIG_From_int((int)(1)));
23959 SWIG_Python_SetConstant(d, "PLESC_ALLOC_NCOL",SWIG_From_int((int)(2)));
23960 SWIG_Python_SetConstant(d, "PLESC_SET_LPB",SWIG_From_int((int)(3)));
23961 SWIG_Python_SetConstant(d, "PLESC_EXPOSE",SWIG_From_int((int)(4)));
23962 SWIG_Python_SetConstant(d, "PLESC_RESIZE",SWIG_From_int((int)(5)));
23963 SWIG_Python_SetConstant(d, "PLESC_REDRAW",SWIG_From_int((int)(6)));
23964 SWIG_Python_SetConstant(d, "PLESC_TEXT",SWIG_From_int((int)(7)));
23965 SWIG_Python_SetConstant(d, "PLESC_GRAPH",SWIG_From_int((int)(8)));
23966 SWIG_Python_SetConstant(d, "PLESC_FILL",SWIG_From_int((int)(9)));
23967 SWIG_Python_SetConstant(d, "PLESC_DI",SWIG_From_int((int)(10)));
23968 SWIG_Python_SetConstant(d, "PLESC_FLUSH",SWIG_From_int((int)(11)));
23969 SWIG_Python_SetConstant(d, "PLESC_EH",SWIG_From_int((int)(12)));
23970 SWIG_Python_SetConstant(d, "PLESC_GETC",SWIG_From_int((int)(13)));
23971 SWIG_Python_SetConstant(d, "PLESC_SWIN",SWIG_From_int((int)(14)));
23972 SWIG_Python_SetConstant(d, "PLESC_DOUBLEBUFFERING",SWIG_From_int((int)(15)));
23973 SWIG_Python_SetConstant(d, "PLESC_XORMOD",SWIG_From_int((int)(16)));
23974 SWIG_Python_SetConstant(d, "PLESC_SET_COMPRESSION",SWIG_From_int((int)(17)));
23975 SWIG_Python_SetConstant(d, "PLESC_CLEAR",SWIG_From_int((int)(18)));
23976 SWIG_Python_SetConstant(d, "PLESC_DASH",SWIG_From_int((int)(19)));
23977 SWIG_Python_SetConstant(d, "PLESC_HAS_TEXT",SWIG_From_int((int)(20)));
23978 SWIG_Python_SetConstant(d, "PLESC_IMAGE",SWIG_From_int((int)(21)));
23979 SWIG_Python_SetConstant(d, "PLESC_IMAGEOPS",SWIG_From_int((int)(22)));
23980 SWIG_Python_SetConstant(d, "PLESC_PL2DEVCOL",SWIG_From_int((int)(23)));
23981 SWIG_Python_SetConstant(d, "PLESC_DEV2PLCOL",SWIG_From_int((int)(24)));
23982 SWIG_Python_SetConstant(d, "PLESC_SETBGFG",SWIG_From_int((int)(25)));
23983 SWIG_Python_SetConstant(d, "PLESC_DEVINIT",SWIG_From_int((int)(26)));
23984 SWIG_Python_SetConstant(d, "PLESC_GETBACKEND",SWIG_From_int((int)(27)));
23985 SWIG_Python_SetConstant(d, "PLESC_BEGIN_TEXT",SWIG_From_int((int)(28)));
23986 SWIG_Python_SetConstant(d, "PLESC_TEXT_CHAR",SWIG_From_int((int)(29)));
23987 SWIG_Python_SetConstant(d, "PLESC_CONTROL_CHAR",SWIG_From_int((int)(30)));
23988 SWIG_Python_SetConstant(d, "PLESC_END_TEXT",SWIG_From_int((int)(31)));
23989 SWIG_Python_SetConstant(d, "PLESC_START_RASTERIZE",SWIG_From_int((int)(32)));
23990 SWIG_Python_SetConstant(d, "PLESC_END_RASTERIZE",SWIG_From_int((int)(33)));
23991 SWIG_Python_SetConstant(d, "PLESC_ARC",SWIG_From_int((int)(34)));
23992 SWIG_Python_SetConstant(d, "PLESC_GRADIENT",SWIG_From_int((int)(35)));
23993 SWIG_Python_SetConstant(d, "PLESC_MODESET",SWIG_From_int((int)(36)));
23994 SWIG_Python_SetConstant(d, "PLESC_MODEGET",SWIG_From_int((int)(37)));
23995 SWIG_Python_SetConstant(d, "PLESC_FIXASPECT",SWIG_From_int((int)(38)));
23996 SWIG_Python_SetConstant(d, "PLESC_IMPORT_BUFFER",SWIG_From_int((int)(39)));
23997 SWIG_Python_SetConstant(d, "PLESC_APPEND_BUFFER",SWIG_From_int((int)(40)));
23998 SWIG_Python_SetConstant(d, "PLESC_FLUSH_REMAINING_BUFFER",SWIG_From_int((int)(41)));
23999 SWIG_Python_SetConstant(d, "PLTEXT_FONTCHANGE",SWIG_From_int((int)(0)));
24000 SWIG_Python_SetConstant(d, "PLTEXT_SUPERSCRIPT",SWIG_From_int((int)(1)));
24001 SWIG_Python_SetConstant(d, "PLTEXT_SUBSCRIPT",SWIG_From_int((int)(2)));
24002 SWIG_Python_SetConstant(d, "PLTEXT_BACKCHAR",SWIG_From_int((int)(3)));
24003 SWIG_Python_SetConstant(d, "PLTEXT_OVERLINE",SWIG_From_int((int)(4)));
24004 SWIG_Python_SetConstant(d, "PLTEXT_UNDERLINE",SWIG_From_int((int)(5)));
24005 SWIG_Python_SetConstant(d, "ZEROW2B",SWIG_From_int((int)(1)));
24006 SWIG_Python_SetConstant(d, "ZEROW2D",SWIG_From_int((int)(2)));
24007 SWIG_Python_SetConstant(d, "ONEW2B",SWIG_From_int((int)(3)));
24008 SWIG_Python_SetConstant(d, "ONEW2D",SWIG_From_int((int)(4)));
24009 SWIG_Python_SetConstant(d, "PLSWIN_DEVICE",SWIG_From_int((int)(1)));
24010 SWIG_Python_SetConstant(d, "PLSWIN_WORLD",SWIG_From_int((int)(2)));
24011 SWIG_Python_SetConstant(d, "PL_X_AXIS",SWIG_From_int((int)(1)));
24012 SWIG_Python_SetConstant(d, "PL_Y_AXIS",SWIG_From_int((int)(2)));
24013 SWIG_Python_SetConstant(d, "PL_Z_AXIS",SWIG_From_int((int)(3)));
24014 SWIG_Python_SetConstant(d, "PL_OPT_ENABLED",SWIG_From_int((int)(0x0001)));
24015 SWIG_Python_SetConstant(d, "PL_OPT_ARG",SWIG_From_int((int)(0x0002)));
24016 SWIG_Python_SetConstant(d, "PL_OPT_NODELETE",SWIG_From_int((int)(0x0004)));
24017 SWIG_Python_SetConstant(d, "PL_OPT_INVISIBLE",SWIG_From_int((int)(0x0008)));
24018 SWIG_Python_SetConstant(d, "PL_OPT_DISABLED",SWIG_From_int((int)(0x0010)));
24019 SWIG_Python_SetConstant(d, "PL_OPT_FUNC",SWIG_From_int((int)(0x0100)));
24020 SWIG_Python_SetConstant(d, "PL_OPT_BOOL",SWIG_From_int((int)(0x0200)));
24021 SWIG_Python_SetConstant(d, "PL_OPT_INT",SWIG_From_int((int)(0x0400)));
24022 SWIG_Python_SetConstant(d, "PL_OPT_FLOAT",SWIG_From_int((int)(0x0800)));
24023 SWIG_Python_SetConstant(d, "PL_OPT_STRING",SWIG_From_int((int)(0x1000)));
24024 SWIG_Python_SetConstant(d, "PL_PARSE_PARTIAL",SWIG_From_int((int)(0x0000)));
24025 SWIG_Python_SetConstant(d, "PL_PARSE_FULL",SWIG_From_int((int)(0x0001)));
24026 SWIG_Python_SetConstant(d, "PL_PARSE_QUIET",SWIG_From_int((int)(0x0002)));
24027 SWIG_Python_SetConstant(d, "PL_PARSE_NODELETE",SWIG_From_int((int)(0x0004)));
24028 SWIG_Python_SetConstant(d, "PL_PARSE_SHOWALL",SWIG_From_int((int)(0x0008)));
24029 SWIG_Python_SetConstant(d, "PL_PARSE_OVERRIDE",SWIG_From_int((int)(0x0010)));
24030 SWIG_Python_SetConstant(d, "PL_PARSE_NOPROGRAM",SWIG_From_int((int)(0x0020)));
24031 SWIG_Python_SetConstant(d, "PL_PARSE_NODASH",SWIG_From_int((int)(0x0040)));
24032 SWIG_Python_SetConstant(d, "PL_PARSE_SKIP",SWIG_From_int((int)(0x0080)));
24033 SWIG_Python_SetConstant(d, "PL_FCI_MARK",SWIG_From_int((int)(0x80000000)));
24034 SWIG_Python_SetConstant(d, "PL_FCI_IMPOSSIBLE",SWIG_From_int((int)(0x00000000)));
24035 SWIG_Python_SetConstant(d, "PL_FCI_HEXDIGIT_MASK",SWIG_From_int((int)(0xf)));
24036 SWIG_Python_SetConstant(d, "PL_FCI_HEXPOWER_MASK",SWIG_From_int((int)(0x7)));
24037 SWIG_Python_SetConstant(d, "PL_FCI_HEXPOWER_IMPOSSIBLE",SWIG_From_int((int)(0xf)));
24038 SWIG_Python_SetConstant(d, "PL_FCI_FAMILY",SWIG_From_int((int)(0x0)));
24039 SWIG_Python_SetConstant(d, "PL_FCI_STYLE",SWIG_From_int((int)(0x1)));
24040 SWIG_Python_SetConstant(d, "PL_FCI_WEIGHT",SWIG_From_int((int)(0x2)));
24041 SWIG_Python_SetConstant(d, "PL_FCI_SANS",SWIG_From_int((int)(0x0)));
24042 SWIG_Python_SetConstant(d, "PL_FCI_SERIF",SWIG_From_int((int)(0x1)));
24043 SWIG_Python_SetConstant(d, "PL_FCI_MONO",SWIG_From_int((int)(0x2)));
24044 SWIG_Python_SetConstant(d, "PL_FCI_SCRIPT",SWIG_From_int((int)(0x3)));
24045 SWIG_Python_SetConstant(d, "PL_FCI_SYMBOL",SWIG_From_int((int)(0x4)));
24046 SWIG_Python_SetConstant(d, "PL_FCI_UPRIGHT",SWIG_From_int((int)(0x0)));
24047 SWIG_Python_SetConstant(d, "PL_FCI_ITALIC",SWIG_From_int((int)(0x1)));
24048 SWIG_Python_SetConstant(d, "PL_FCI_OBLIQUE",SWIG_From_int((int)(0x2)));
24049 SWIG_Python_SetConstant(d, "PL_FCI_MEDIUM",SWIG_From_int((int)(0x0)));
24050 SWIG_Python_SetConstant(d, "PL_FCI_BOLD",SWIG_From_int((int)(0x1)));
24051 SWIG_Python_SetConstant(d, "PL_MAXKEY",SWIG_From_int((int)(16)));
24052 SWIG_Python_SetConstant(d, "PL_MASK_SHIFT",SWIG_From_int((int)(0x1)));
24053 SWIG_Python_SetConstant(d, "PL_MASK_CAPS",SWIG_From_int((int)(0x2)));
24054 SWIG_Python_SetConstant(d, "PL_MASK_CONTROL",SWIG_From_int((int)(0x4)));
24055 SWIG_Python_SetConstant(d, "PL_MASK_ALT",SWIG_From_int((int)(0x8)));
24056 SWIG_Python_SetConstant(d, "PL_MASK_NUM",SWIG_From_int((int)(0x10)));
24057 SWIG_Python_SetConstant(d, "PL_MASK_ALTGR",SWIG_From_int((int)(0x20)));
24058 SWIG_Python_SetConstant(d, "PL_MASK_WIN",SWIG_From_int((int)(0x40)));
24059 SWIG_Python_SetConstant(d, "PL_MASK_SCROLL",SWIG_From_int((int)(0x80)));
24060 SWIG_Python_SetConstant(d, "PL_MASK_BUTTON1",SWIG_From_int((int)(0x100)));
24061 SWIG_Python_SetConstant(d, "PL_MASK_BUTTON2",SWIG_From_int((int)(0x200)));
24062 SWIG_Python_SetConstant(d, "PL_MASK_BUTTON3",SWIG_From_int((int)(0x400)));
24063 SWIG_Python_SetConstant(d, "PL_MASK_BUTTON4",SWIG_From_int((int)(0x800)));
24064 SWIG_Python_SetConstant(d, "PL_MASK_BUTTON5",SWIG_From_int((int)(0x1000)));
24065 SWIG_Python_SetConstant(d, "PL_MAXWINDOWS",SWIG_From_int((int)(64)));
24066 SWIG_Python_SetConstant(d, "PL_NOTSET",SWIG_From_int((int)((-42))));
24067 SWIG_Python_SetConstant(d, "PL_DEFAULT_NCOL0",SWIG_From_int((int)(16)));
24068 SWIG_Python_SetConstant(d, "PL_DEFAULT_NCOL1",SWIG_From_int((int)(128)));
24069 SWIG_Python_SetConstant(d, "MIN_PLINT_RGB",SWIG_From_int((int)(0)));
24070 SWIG_Python_SetConstant(d, "MAX_PLINT_RGB",SWIG_From_int((int)(255)));
24071 SWIG_Python_SetConstant(d, "MIN_PLFLT_CMAP1",SWIG_From_double((double)(0.)));
24072 SWIG_Python_SetConstant(d, "MAX_PLFLT_CMAP1",SWIG_From_double((double)(1.)));
24073 SWIG_Python_SetConstant(d, "MIN_PLFLT_ALPHA",SWIG_From_double((double)(0.)));
24074 SWIG_Python_SetConstant(d, "MAX_PLFLT_ALPHA",SWIG_From_double((double)(1.)));
24075 SWIG_Python_SetConstant(d, "PLESC_DOUBLEBUFFERING_ENABLE",SWIG_From_int((int)(1)));
24076 SWIG_Python_SetConstant(d, "PLESC_DOUBLEBUFFERING_DISABLE",SWIG_From_int((int)(2)));
24077 SWIG_Python_SetConstant(d, "PLESC_DOUBLEBUFFERING_QUERY",SWIG_From_int((int)(3)));
24078 SWIG_Python_SetConstant(d, "PL_BIN_DEFAULT",SWIG_From_int((int)(0x0)));
24079 SWIG_Python_SetConstant(d, "PL_BIN_CENTRED",SWIG_From_int((int)(0x1)));
24080 SWIG_Python_SetConstant(d, "PL_BIN_NOEXPAND",SWIG_From_int((int)(0x2)));
24081 SWIG_Python_SetConstant(d, "PL_BIN_NOEMPTY",SWIG_From_int((int)(0x4)));
24082 SWIG_Python_SetConstant(d, "GRID_CSA",SWIG_From_int((int)(1)));
24083 SWIG_Python_SetConstant(d, "GRID_DTLI",SWIG_From_int((int)(2)));
24084 SWIG_Python_SetConstant(d, "GRID_NNI",SWIG_From_int((int)(3)));
24085 SWIG_Python_SetConstant(d, "GRID_NNIDW",SWIG_From_int((int)(4)));
24086 SWIG_Python_SetConstant(d, "GRID_NNLI",SWIG_From_int((int)(5)));
24087 SWIG_Python_SetConstant(d, "GRID_NNAIDW",SWIG_From_int((int)(6)));
24088 SWIG_Python_SetConstant(d, "PL_HIST_DEFAULT",SWIG_From_int((int)(0x00)));
24089 SWIG_Python_SetConstant(d, "PL_HIST_NOSCALING",SWIG_From_int((int)(0x01)));
24090 SWIG_Python_SetConstant(d, "PL_HIST_IGNORE_OUTLIERS",SWIG_From_int((int)(0x02)));
24091 SWIG_Python_SetConstant(d, "PL_HIST_NOEXPAND",SWIG_From_int((int)(0x08)));
24092 SWIG_Python_SetConstant(d, "PL_HIST_NOEMPTY",SWIG_From_int((int)(0x10)));
24093 SWIG_Python_SetConstant(d, "PL_POSITION_NULL",SWIG_From_int((int)(0x0)));
24094 SWIG_Python_SetConstant(d, "PL_POSITION_LEFT",SWIG_From_int((int)(0x1)));
24095 SWIG_Python_SetConstant(d, "PL_POSITION_RIGHT",SWIG_From_int((int)(0x2)));
24096 SWIG_Python_SetConstant(d, "PL_POSITION_TOP",SWIG_From_int((int)(0x4)));
24097 SWIG_Python_SetConstant(d, "PL_POSITION_BOTTOM",SWIG_From_int((int)(0x8)));
24098 SWIG_Python_SetConstant(d, "PL_POSITION_INSIDE",SWIG_From_int((int)(0x10)));
24099 SWIG_Python_SetConstant(d, "PL_POSITION_OUTSIDE",SWIG_From_int((int)(0x20)));
24100 SWIG_Python_SetConstant(d, "PL_POSITION_VIEWPORT",SWIG_From_int((int)(0x40)));
24101 SWIG_Python_SetConstant(d, "PL_POSITION_SUBPAGE",SWIG_From_int((int)(0x80)));
24102 SWIG_Python_SetConstant(d, "PL_LEGEND_NULL",SWIG_From_int((int)(0x0)));
24103 SWIG_Python_SetConstant(d, "PL_LEGEND_NONE",SWIG_From_int((int)(0x1)));
24104 SWIG_Python_SetConstant(d, "PL_LEGEND_COLOR_BOX",SWIG_From_int((int)(0x2)));
24105 SWIG_Python_SetConstant(d, "PL_LEGEND_LINE",SWIG_From_int((int)(0x4)));
24106 SWIG_Python_SetConstant(d, "PL_LEGEND_SYMBOL",SWIG_From_int((int)(0x8)));
24107 SWIG_Python_SetConstant(d, "PL_LEGEND_TEXT_LEFT",SWIG_From_int((int)(0x10)));
24108 SWIG_Python_SetConstant(d, "PL_LEGEND_BACKGROUND",SWIG_From_int((int)(0x20)));
24109 SWIG_Python_SetConstant(d, "PL_LEGEND_BOUNDING_BOX",SWIG_From_int((int)(0x40)));
24110 SWIG_Python_SetConstant(d, "PL_LEGEND_ROW_MAJOR",SWIG_From_int((int)(0x80)));
24111 SWIG_Python_SetConstant(d, "PL_COLORBAR_NULL",SWIG_From_int((int)(0x0)));
24112 SWIG_Python_SetConstant(d, "PL_COLORBAR_LABEL_LEFT",SWIG_From_int((int)(0x1)));
24113 SWIG_Python_SetConstant(d, "PL_COLORBAR_LABEL_RIGHT",SWIG_From_int((int)(0x2)));
24114 SWIG_Python_SetConstant(d, "PL_COLORBAR_LABEL_TOP",SWIG_From_int((int)(0x4)));
24115 SWIG_Python_SetConstant(d, "PL_COLORBAR_LABEL_BOTTOM",SWIG_From_int((int)(0x8)));
24116 SWIG_Python_SetConstant(d, "PL_COLORBAR_IMAGE",SWIG_From_int((int)(0x10)));
24117 SWIG_Python_SetConstant(d, "PL_COLORBAR_SHADE",SWIG_From_int((int)(0x20)));
24118 SWIG_Python_SetConstant(d, "PL_COLORBAR_GRADIENT",SWIG_From_int((int)(0x40)));
24119 SWIG_Python_SetConstant(d, "PL_COLORBAR_CAP_NONE",SWIG_From_int((int)(0x80)));
24120 SWIG_Python_SetConstant(d, "PL_COLORBAR_CAP_LOW",SWIG_From_int((int)(0x100)));
24121 SWIG_Python_SetConstant(d, "PL_COLORBAR_CAP_HIGH",SWIG_From_int((int)(0x200)));
24122 SWIG_Python_SetConstant(d, "PL_COLORBAR_SHADE_LABEL",SWIG_From_int((int)(0x400)));
24123 SWIG_Python_SetConstant(d, "PL_COLORBAR_ORIENT_RIGHT",SWIG_From_int((int)(0x800)));
24124 SWIG_Python_SetConstant(d, "PL_COLORBAR_ORIENT_TOP",SWIG_From_int((int)(0x1000)));
24125 SWIG_Python_SetConstant(d, "PL_COLORBAR_ORIENT_LEFT",SWIG_From_int((int)(0x2000)));
24126 SWIG_Python_SetConstant(d, "PL_COLORBAR_ORIENT_BOTTOM",SWIG_From_int((int)(0x4000)));
24127 SWIG_Python_SetConstant(d, "PL_COLORBAR_BACKGROUND",SWIG_From_int((int)(0x8000)));
24128 SWIG_Python_SetConstant(d, "PL_COLORBAR_BOUNDING_BOX",SWIG_From_int((int)(0x10000)));
24129 SWIG_Python_SetConstant(d, "PL_DRAWMODE_UNKNOWN",SWIG_From_int((int)(0x0)));
24130 SWIG_Python_SetConstant(d, "PL_DRAWMODE_DEFAULT",SWIG_From_int((int)(0x1)));
24131 SWIG_Python_SetConstant(d, "PL_DRAWMODE_REPLACE",SWIG_From_int((int)(0x2)));
24132 SWIG_Python_SetConstant(d, "PL_DRAWMODE_XOR",SWIG_From_int((int)(0x4)));
24133 SWIG_Python_SetConstant(d, "DRAW_LINEX",SWIG_From_int((int)(0x001)));
24134 SWIG_Python_SetConstant(d, "DRAW_LINEY",SWIG_From_int((int)(0x002)));
24135 SWIG_Python_SetConstant(d, "DRAW_LINEXY",SWIG_From_int((int)(0x003)));
24136 SWIG_Python_SetConstant(d, "MAG_COLOR",SWIG_From_int((int)(0x004)));
24137 SWIG_Python_SetConstant(d, "BASE_CONT",SWIG_From_int((int)(0x008)));
24138 SWIG_Python_SetConstant(d, "TOP_CONT",SWIG_From_int((int)(0x010)));
24139 SWIG_Python_SetConstant(d, "SURF_CONT",SWIG_From_int((int)(0x020)));
24140 SWIG_Python_SetConstant(d, "DRAW_SIDES",SWIG_From_int((int)(0x040)));
24141 SWIG_Python_SetConstant(d, "FACETED",SWIG_From_int((int)(0x080)));
24142 SWIG_Python_SetConstant(d, "MESH",SWIG_From_int((int)(0x100)));
24143 return 0;
24144}
24145
#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)
SWIGINTERN int SWIG_PyDict_GetItemRef(PyObject *mp, PyObject *key, PyObject **result)
#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 PyTypeObject * SwigVarLink_TypeOnce(void)
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
SWIGRUNTIME PyTypeObject * SwigPyObject_Type(void)
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 * SWIG_PyList_GetItemRef(PyObject *op, Py_ssize_t index)
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)
SWIGRUNTIME PyObject * SwigPyObject_richcompare(PyObject *v, PyObject *w, int op)
#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)
SWIGINTERN PyObject * SWIG_runtime_data_module(void)
SWIGINTERN int SWIG_CastCmpStruct(const void *pa, const void *pb)
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)
SWIGRUNTIME PyTypeObject * SwigVarLink_Type(void)
SWIGRUNTIME unsigned int SWIG_Hash(const char *str, unsigned int len)
SWIGINTERN PyObject * _wrap_plscmap1(PyObject *self, PyObject *args)
SWIGRUNTIME PyTypeObject * SwigPyPacked_Type(void)
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 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)
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)
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)
SWIGRUNTIME int SwigPyObject_compare(PyObject *v, PyObject *w)
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)
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))
SWIGINTERN int SWIG_PyDict_GetItemStringRef(PyObject *mp, const char *key, PyObject **result)
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)
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)
SWIGINTERN void SWIG_CastHashSort(swig_cast_info *cast, int size)
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)
SWIGINTERN int SWIG_mod_exec(PyObject *module)
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)
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)
SWIGRUNTIMEINLINE int SwigPyObject_Check(PyObject *)
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)
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
SWIGINTERN int SWIG_CastCmpStruct(const void *pa, const void *pb)
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 * 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 tclMatrixXtnsnDescr * head
Definition tclMatrix.c:460
static const char * name
Definition tkMain.c:135