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.5.0
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 0x040500
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) || defined (__clang__)
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#define SWIG_QUOTE_STRING(x) #x
146#define SWIG_STRINGIFY(x) SWIG_QUOTE_STRING(x)
147
148/* -----------------------------------------------------------------------------
149 * swigcompat.swg
150 *
151 * Macros to provide support compatibility with older C and C++ standards.
152 *
153 * Note that SWIG expects __cplusplus to be defined to the appropriate C++ standard.
154 * MSVC users are urged to check and examine the /Zc:__cplusplus compiler option.
155 * See https://learn.microsoft.com/en-us/cpp/build/reference/zc-cplusplus.
156 * ----------------------------------------------------------------------------- */
157
158/* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF
159 * if you're missing it.
160 */
161#if ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) || \
162 (defined __cplusplus && __cplusplus >= 201103L) || \
163 defined SWIG_HAVE_SNPRINTF) && \
164 !defined SWIG_NO_SNPRINTF
165# define SWIG_snprintf(O,S,F,A) snprintf(O,S,F,A)
166# define SWIG_snprintf2(O,S,F,A,B) snprintf(O,S,F,A,B)
167#else
168/* Fallback versions ignore the buffer size, but most of our uses either have a
169 * fixed maximum possible size or dynamically allocate a buffer that's large
170 * enough.
171 */
172# define SWIG_snprintf(O,S,F,A) sprintf(O,F,A)
173# define SWIG_snprintf2(O,S,F,A,B) sprintf(O,F,A,B)
174#endif
175
176
177#if defined(__GNUC__) && defined(_WIN32) && !defined(SWIG_PYTHON_NO_HYPOT_WORKAROUND)
178/* Workaround for '::hypot' has not been declared', see https://bugs.python.org/issue11566 */
179# include <math.h>
180#endif
181
182#if !defined(PY_SSIZE_T_CLEAN) && !defined(SWIG_NO_PY_SSIZE_T_CLEAN)
183#define PY_SSIZE_T_CLEAN
184#endif
185
186#if __GNUC__ >= 7
187#pragma GCC diagnostic push
188#if defined(__cplusplus) && __cplusplus >= 201703L
189#pragma GCC diagnostic ignored "-Wregister" /* For python-2.7 headers that use register */
190#endif
191#endif
192
193#if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG)
194/* Use debug wrappers with the Python release dll */
195
196#if defined(_MSC_VER) && _MSC_VER >= 1929
197/* Workaround compilation errors when redefining _DEBUG in MSVC 2019 version 16.10 and later
198 * See https://github.com/swig/swig/issues/2090 */
199# include <corecrt.h>
200#endif
201
202# undef _DEBUG
203# include <Python.h>
204# define _DEBUG 1
205#else
206# include <Python.h>
207#endif
208
209
210#if __GNUC__ >= 7
211#pragma GCC diagnostic pop
212#endif
213
214#include <stdio.h>
215#include <stdlib.h>
216
217/* -----------------------------------------------------------------------------
218 * swigrun.swg
219 *
220 * This file contains generic C API SWIG runtime support for pointer
221 * type checking.
222 * ----------------------------------------------------------------------------- */
223
224/* This should only be incremented when either the layout of swig_type_info changes,
225 or for whatever reason, the runtime changes incompatibly */
226#define SWIG_RUNTIME_VERSION "5"
227
228/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
229#ifdef SWIG_TYPE_TABLE
230# define SWIG_TYPE_TABLE_NAME SWIG_STRINGIFY(SWIG_TYPE_TABLE)
231#else
232# define SWIG_TYPE_TABLE_NAME
233#endif
234
235/*
236 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
237 creating a static or dynamic library from the SWIG runtime code.
238 In 99.9% of the cases, SWIG just needs to declare them as 'static'.
239
240 But only do this if strictly necessary, ie, if you have problems
241 with your compiler or suchlike.
242*/
243
244#ifndef SWIGRUNTIME
245# define SWIGRUNTIME SWIGINTERN
246#endif
247
248#ifndef SWIGRUNTIMEINLINE
249# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
250#endif
251
252/* Generic buffer size */
253#ifndef SWIG_BUFFER_SIZE
254# define SWIG_BUFFER_SIZE 1024
255#endif
256
257/* Flags for pointer conversions */
258#define SWIG_POINTER_DISOWN 0x1
259#define SWIG_CAST_NEW_MEMORY 0x2
260#define SWIG_POINTER_NO_NULL 0x4
261#define SWIG_POINTER_CLEAR 0x8
262#define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN)
263
264/* Flags for new pointer objects */
265#define SWIG_POINTER_OWN 0x1
266
267
268/*
269 Flags/methods for returning states.
270
271 The SWIG conversion methods, as ConvertPtr, return an integer
272 that tells if the conversion was successful or not. And if not,
273 an error code can be returned (see swigerrors.swg for the codes).
274
275 Use the following macros/flags to set or process the returning
276 states.
277
278 In old versions of SWIG, code such as the following was usually written:
279
280 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
281 // success code
282 } else {
283 //fail code
284 }
285
286 Now you can be more explicit:
287
288 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
289 if (SWIG_IsOK(res)) {
290 // success code
291 } else {
292 // fail code
293 }
294
295 which is the same really, but now you can also do
296
297 Type *ptr;
298 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
299 if (SWIG_IsOK(res)) {
300 // success code
301 if (SWIG_IsNewObj(res) {
302 ...
303 delete *ptr;
304 } else {
305 ...
306 }
307 } else {
308 // fail code
309 }
310
311 I.e., now SWIG_ConvertPtr can return new objects and you can
312 identify the case and take care of the deallocation. Of course that
313 also requires SWIG_ConvertPtr to return new result values, such as
314
315 int SWIG_ConvertPtr(obj, ptr,...) {
316 if (<obj is ok>) {
317 if (<need new object>) {
318 *ptr = <ptr to new allocated object>;
319 return SWIG_NEWOBJ;
320 } else {
321 *ptr = <ptr to old object>;
322 return SWIG_OLDOBJ;
323 }
324 } else {
325 return SWIG_BADOBJ;
326 }
327 }
328
329 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
330 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
331 SWIG errors code.
332
333 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
334 allows returning the 'cast rank', for example, if you have this
335
336 int food(double)
337 int fooi(int);
338
339 and you call
340
341 food(1) // cast rank '1' (1 -> 1.0)
342 fooi(1) // cast rank '0'
343
344 just use the SWIG_AddCast()/SWIG_CheckState()
345*/
346
347#define SWIG_OK (0)
348/* Runtime errors are < 0 */
349#define SWIG_ERROR (-1)
350/* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */
351/* Errors in range -100 to -199 are language specific errors defined in *errors.swg */
352/* Errors < -200 are generic runtime specific errors */
353#define SWIG_ERROR_RELEASE_NOT_OWNED (-200)
354
355#define SWIG_IsOK(r) (r >= 0)
356#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
357
358/* The CastRankLimit says how many bits are used for the cast rank */
359#define SWIG_CASTRANKLIMIT (1 << 8)
360/* The NewMask denotes the object was created (using new/malloc) */
361#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
362/* The TmpMask is for in/out typemaps that use temporary objects */
363#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
364/* The binary string mask denotes using string without unicode */
365#define SWIG_BINARYSTRMASK (SWIG_TMPOBJMASK << 1)
366/* Simple returning values */
367#define SWIG_BADOBJ (SWIG_ERROR)
368#define SWIG_OLDOBJ (SWIG_OK)
369#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
370#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
371#define SWIG_BINARYSTR (SWIG_OK | SWIG_BINARYSTRMASK)
372/* Check, add and del object mask methods */
373#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
374#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
375#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
376#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
377#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
378#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
379#define SWIG_AddBinaryStrMask(r) (SWIG_IsOK(r) ? (r | SWIG_BINARYSTRMASK) : r)
380#define SWIG_DelBinaryStrMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_BINARYSTRMASK) : r)
381#define SWIG_IsBinaryStr(r) (SWIG_IsOK(r) && (r & SWIG_BINARYSTRMASK))
382
383/* Cast-Rank Mode */
384#if defined(SWIG_CASTRANK_MODE)
385# ifndef SWIG_TypeRank
386# define SWIG_TypeRank unsigned long
387# endif
388# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
389# define SWIG_MAXCASTRANK (2)
390# endif
391# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
392# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
394 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
395}
397 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
398}
399#else /* no cast-rank mode */
400# define SWIG_AddCast(r) (r)
401# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
402#endif
403
404
405#include <string.h>
406
407#ifdef __cplusplus
408extern "C" {
409#endif
410
411typedef void *(*swig_converter_func)(void *, int *);
412typedef struct swig_type_info *(*swig_dycast_func)(void **);
413
414/* Structure to store information on one type */
415typedef struct swig_type_info {
416 const char *name; /* mangled name of this type */
417 const char *str; /* human readable name of this type */
418 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
419 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
420 void *clientdata; /* language specific type data */
421 int owndata; /* flag if the structure owns the clientdata */
423
424/* Structure to store a type and conversion function used for casting */
425typedef struct swig_cast_info {
426 swig_type_info *type; /* pointer to type that is equivalent to this type */
427 swig_converter_func converter; /* function to cast the void pointers */
428 struct swig_cast_info *next; /* pointer to next array of casts | pointer to cast hashed by value */
429 unsigned int value; /* index of the last valid element in the array | typename hash value */
431
432/* Structure used to store module information
433 * Each module generates one structure like this, and the runtime collects
434 * all of these structures and stores them in a circularly linked list.*/
435typedef struct swig_module_info {
436 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
437 size_t size; /* Number of types in this module */
438 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
439 swig_type_info **type_initial; /* Array of initially generated type structures */
440 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
441 void *clientdata; /* Language specific module data */
443
444/*
445 Compare two type names skipping the space characters, therefore
446 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
447
448 Return 0 when the two name types are equivalent, as in
449 strncmp, but skipping ' '.
450*/
451SWIGRUNTIME int
452SWIG_TypeNameComp(const char *f1, const char *l1,
453 const char *f2, const char *l2) {
454 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
455 while ((*f1 == ' ') && (f1 != l1)) ++f1;
456 while ((*f2 == ' ') && (f2 != l2)) ++f2;
457 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
458 }
459 return (int)((l1 - f1) - (l2 - f2));
460}
461
462/*
463 Check type equivalence in a name list like <name1>|<name2>|...
464 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
465*/
466SWIGRUNTIME int
467SWIG_TypeCmp(const char *nb, const char *tb) {
468 int equiv = 1;
469 const char* te = tb + strlen(tb);
470 const char* ne = nb;
471 while (equiv != 0 && *ne) {
472 for (nb = ne; *ne; ++ne) {
473 if (*ne == '|') break;
474 }
475 equiv = SWIG_TypeNameComp(nb, ne, tb, te);
476 if (*ne) ++ne;
477 }
478 return equiv;
479}
480
481/*
482 Check type equivalence in a name list like <name1>|<name2>|...
483 Return 0 if not equal, 1 if equal
484*/
485SWIGRUNTIME int
486SWIG_TypeEquiv(const char *nb, const char *tb) {
487 return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
488}
489
490/*
491 * Hash function for type name strings, based on maRushPrime1Hash (http://amsoftware.narod.ru/algo2.html)
492 */
493SWIGRUNTIME unsigned int SWIG_Hash(const char *str, unsigned int len) {
494 const unsigned char *data = (const unsigned char *)str;
495 unsigned int hash = len, i = 0, k;
496 int rem = (int)len;
497
498 while (rem >= (int)sizeof(unsigned int)) {
499 memcpy(&k, data, sizeof(unsigned int));
500 k += i++;
501 hash ^= k;
502 hash *= 171717;
503 data += sizeof(unsigned int);
504 rem -= (int)sizeof(unsigned int);
505 }
506
507 switch (rem) {
508 case 3: k = (unsigned int)(data[2]) << 16;
509 k |= (unsigned int)(data[1]) << 8;
510 k |= (unsigned int)(data[0]);
511 k += i++;
512 hash ^= k;
513 hash *= 171717;
514 break;
515 case 2: k = (unsigned int)(data[1]) << 8;
516 k |= (unsigned int)(data[0]);
517 k += i++;
518 hash ^= k;
519 hash *= 171717;
520 break;
521 case 1: k = (unsigned int)(data[0]);
522 k += i++;
523 hash ^= k;
524 hash *= 171717;
525 break;
526 }
527 return hash;
528}
529
530/*
531 Check the typename
532*/
534SWIG_TypeCheck(const char *c, swig_type_info *ty) {
535 static const unsigned int scan_threshold = 4;
536 if (ty) {
537 swig_cast_info *head = ty->cast;
538 unsigned int hash_value = 0;
539 int hashed = 0;
540
541 while (head) {
542
543 if (strcmp(head->type->name, c) == 0) {
544 return head;
545 }
546
547 if (head->value) {
548 swig_cast_info *iter;
549 swig_cast_info *last = head + head->value;
550 swig_cast_info *first = head + 1;
551 int search = 1;
552
553 if (!hashed) {
554 if (head->value < scan_threshold) {
555 for (iter = first; iter <= last; iter++) {
556 if (strcmp(iter->type->name, c) == 0) {
557 return iter;
558 }
559 }
560 search = 0;
561 } else {
562 hashed = 1;
563 hash_value = SWIG_Hash(c, (unsigned int)strlen(c));
564 }
565 }
566
567 if (search) {
568 /* Binary search over sorted <'next'|'value'> pairs */
569 do {
570 iter = first + ((last - first) >> 1);
571 if (iter->value < hash_value) {
572 first = iter + 1;
573 } else if (iter->value == hash_value) {
574
575 if (strcmp(iter->next->type->name, c) == 0) {
576 return iter->next;
577 }
578
579 /* Hash collision check */
580 for (last = iter + 1; last->next && last->value == hash_value; last++) {
581 if (strcmp(last->next->type->name, c) == 0) {
582 return last->next;
583 }
584 }
585 for (first = iter - 1; first != head && first->value == hash_value; first--) {
586 if (strcmp(first->next->type->name, c) == 0) {
587 return first->next;
588 }
589 }
590 break;
591 } else
592 last = iter - 1;
593 } while (first <= last);
594 }
595 }
596 head = head->next;
597 }
598 }
599 return 0;
600}
601
602/*
603 Check the type by type address
604*/
607 if (ty) {
608 swig_cast_info *head = ty->cast;
609 while (head) {
610 if (head->type == from) {
611 return head;
612 }
613
614 if (head->value) {
615 swig_cast_info *iter;
616 swig_cast_info *last = head + head->value;
617 swig_cast_info *first = head + 1;
618
619 /* Binary search over sorted array of casts */
620 do {
621 iter = first + ((last - first) >> 1);
622 if (iter->type < from) {
623 first = iter + 1;
624 } else if (iter->type == from) {
625 return iter;
626 } else
627 last = iter - 1;
628 } while (first <= last);
629 }
630 head = head->next;
631 }
632 }
633 return 0;
634}
635
636/*
637 Cast a pointer up an inheritance hierarchy
638*/
640SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
641 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
642}
643
644/*
645 Dynamic pointer casting. Down an inheritance hierarchy
646*/
649 swig_type_info *lastty = ty;
650 if (!ty || !ty->dcast) return ty;
651 while (ty && (ty->dcast)) {
652 ty = (*ty->dcast)(ptr);
653 if (ty) lastty = ty;
654 }
655 return lastty;
656}
657
658/*
659 Return the name associated with this type
660*/
661SWIGRUNTIMEINLINE const char *
663 return ty->name;
664}
665
666/*
667 Return the pretty name associated with this type,
668 that is an unmangled type name in a form presentable to the user.
669*/
670SWIGRUNTIME const char *
672 /* The "str" field contains the equivalent pretty names of the
673 type, separated by vertical-bar characters. Choose the last
674 name. It should be the most specific; a fully resolved name
675 but not necessarily with default template parameters expanded. */
676 if (!type) return NULL;
677 if (type->str != NULL) {
678 const char *last_name = type->str;
679 const char *s;
680 for (s = type->str; *s; s++)
681 if (*s == '|') last_name = s+1;
682 return last_name;
683 }
684 else
685 return type->name;
686}
687
688/*
689 Set the clientdata field for a type
690*/
691SWIGRUNTIME void
693 swig_cast_info *head = ti->cast;
694 /* if (ti->clientdata == clientdata) return; */
696
697 while (head) {
698 swig_cast_info *cast;
699 for (cast = head; (unsigned int)(cast - head) <= head->value; cast++) {
700 if (!cast->converter) {
701 swig_type_info *tc = cast->type;
702 if (!tc->clientdata) {
704 }
705 }
706 }
707 head = head->next;
708 }
709}
710
711SWIGRUNTIME void
716
717/*
718 Search for a swig_type_info structure only by mangled name
719 Search is a O(log #types)
720
721 We start searching at module start, and finish searching when start == end.
722 Note: if start == end at the beginning of the function, we go all the way around
723 the circular list.
724*/
727 swig_module_info *end,
728 const char *name) {
729 swig_module_info *iter = start;
730 do {
731 if (iter->size) {
732 size_t l = 0;
733 size_t r = iter->size - 1;
734 do {
735 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
736 size_t i = (l + r) >> 1;
737 const char *iname = iter->types[i]->name;
738 if (iname) {
739 int compare = strcmp(name, iname);
740 if (compare == 0) {
741 return iter->types[i];
742 } else if (compare < 0) {
743 if (i) {
744 r = i - 1;
745 } else {
746 break;
747 }
748 } else if (compare > 0) {
749 l = i + 1;
750 }
751 } else {
752 break; /* should never happen */
753 }
754 } while (l <= r);
755 }
756 iter = iter->next;
757 } while (iter != end);
758 return 0;
759}
760
761/*
762 Search for a swig_type_info structure for either a mangled name or a human readable name.
763 It first searches the mangled names of the types, which is a O(log #types)
764 If a type is not found it then searches the human readable names, which is O(#types).
765
766 We start searching at module start, and finish searching when start == end.
767 Note: if start == end at the beginning of the function, we go all the way around
768 the circular list.
769*/
772 swig_module_info *end,
773 const char *name) {
774 /* STEP 1: Search the name field using binary search */
776 if (ret) {
777 return ret;
778 } else {
779 /* STEP 2: If the type hasn't been found, do a complete search
780 of the str field (the human readable name) */
781 swig_module_info *iter = start;
782 do {
783 size_t i = 0;
784 for (; i < iter->size; ++i) {
785 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
786 return iter->types[i];
787 }
788 iter = iter->next;
789 } while (iter != end);
790 }
791
792 /* neither found a match */
793 return 0;
794}
795
796/*
797 Pack binary data into a string
798*/
799SWIGRUNTIME char *
800SWIG_PackData(char *c, void *ptr, size_t sz) {
801 static const char hex[17] = "0123456789abcdef";
802 const unsigned char *u = (unsigned char *) ptr;
803 const unsigned char *eu = u + sz;
804 for (; u != eu; ++u) {
805 unsigned char uu = *u;
806 *(c++) = hex[(uu & 0xf0) >> 4];
807 *(c++) = hex[uu & 0xf];
808 }
809 return c;
810}
811
812/*
813 Unpack binary data from a string
814*/
815SWIGRUNTIME const char *
816SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
817 unsigned char *u = (unsigned char *) ptr;
818 const unsigned char *eu = u + sz;
819 for (; u != eu; ++u) {
820 char d = *(c++);
821 unsigned char uu;
822 if ((d >= '0') && (d <= '9'))
823 uu = (unsigned char)((d - '0') << 4);
824 else if ((d >= 'a') && (d <= 'f'))
825 uu = (unsigned char)((d - ('a'-10)) << 4);
826 else
827 return (char *) 0;
828 d = *(c++);
829 if ((d >= '0') && (d <= '9'))
830 uu |= (unsigned char)(d - '0');
831 else if ((d >= 'a') && (d <= 'f'))
832 uu |= (unsigned char)(d - ('a'-10));
833 else
834 return (char *) 0;
835 *u = uu;
836 }
837 return c;
838}
839
840/*
841 Pack 'void *' into a string buffer.
842*/
843SWIGRUNTIME char *
844SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
845 char *r = buff;
846 if ((2*sizeof(void *) + 2) > bsz) return 0;
847 *(r++) = '_';
848 r = SWIG_PackData(r,&ptr,sizeof(void *));
849 if (strlen(name) + 1 > (bsz - (size_t)(r - buff))) return 0;
850 strcpy(r,name);
851 return buff;
852}
853
854SWIGRUNTIME const char *
855SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
856 if (*c != '_') {
857 if (strcmp(c,"NULL") == 0) {
858 *ptr = (void *) 0;
859 return name;
860 } else {
861 return 0;
862 }
863 }
864 return SWIG_UnpackData(++c,ptr,sizeof(void *));
865}
866
867SWIGRUNTIME char *
868SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
869 char *r = buff;
870 size_t lname = (name ? strlen(name) : 0);
871 if ((2*sz + 2 + lname) > bsz) return 0;
872 *(r++) = '_';
873 r = SWIG_PackData(r,ptr,sz);
874 if (lname) {
875 strncpy(r,name,lname+1);
876 } else {
877 *r = 0;
878 }
879 return buff;
880}
881
882SWIGRUNTIME const char *
883SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
884 if (*c != '_') {
885 if (strcmp(c,"NULL") == 0) {
886 memset(ptr,0,sz);
887 return name;
888 } else {
889 return 0;
890 }
891 }
892 return SWIG_UnpackData(++c,ptr,sz);
893}
894
895#ifdef __cplusplus
896}
897#endif
898
899/* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */
900#define SWIG_UnknownError -1
901#define SWIG_IOError -2
902#define SWIG_RuntimeError -3
903#define SWIG_IndexError -4
904#define SWIG_TypeError -5
905#define SWIG_DivisionByZero -6
906#define SWIG_OverflowError -7
907#define SWIG_SyntaxError -8
908#define SWIG_ValueError -9
909#define SWIG_SystemError -10
910#define SWIG_AttributeError -11
911#define SWIG_MemoryError -12
912#define SWIG_NullReferenceError -13
913
914
915#if !defined(SWIG_NO_HEAPTYPES)
916#if !defined(SWIG_HEAPTYPES)
917#define SWIG_HEAPTYPES
918#endif
919#endif
920
921#if defined(SWIG_HEAPTYPES)
922#if PY_VERSION_HEX < 0x030c0000
923#include <structmember.h>
924#define Py_READONLY READONLY
925#define Py_T_PYSSIZET T_PYSSIZET
926#endif
927#endif
928
929#include <stddef.h> /* For offsetof */
930
931
932/* Wrapper around PyUnicode_AsUTF8AndSize - call Py_XDECREF on the returned pbytes when finished with the returned string */
933SWIGINTERN const char *
934SWIG_PyUnicode_AsUTF8AndSize(PyObject *str, Py_ssize_t *psize, PyObject **pbytes)
935{
936#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030A0000
937 *pbytes = NULL;
938 return PyUnicode_AsUTF8AndSize(str, psize);
939#else
940 const char *chars;
941 *pbytes = PyUnicode_AsUTF8String(str);
942 chars = *pbytes ? PyBytes_AsString(*pbytes) : NULL;
943 if (chars && psize)
944 *psize = PyBytes_Size(*pbytes);
945 return chars;
946#endif
947}
948
949#define SWIG_RUNTIME_MODULE "swig_runtime_data" SWIG_RUNTIME_VERSION
950
951/* SWIGPY_USE_CAPSULE is no longer used within SWIG itself, but some user interface files check for it. */
952# define SWIGPY_USE_CAPSULE
953#ifdef SWIGPYTHON_BUILTIN
954# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule_builtin" SWIG_TYPE_TABLE_NAME
955#else
956# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule" SWIG_TYPE_TABLE_NAME
957#endif
958#define SWIGPY_CAPSULE_NAME SWIG_RUNTIME_MODULE "." SWIGPY_CAPSULE_ATTR_NAME
959
960#if defined(Py_LIMITED_API)
961# define PyTuple_GET_ITEM PyTuple_GetItem
962/* 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
963 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. */
964# define PyTuple_SET_ITEM PyTuple_SetItem
965# define PyTuple_GET_SIZE PyTuple_Size
966# define PyCFunction_GET_FLAGS PyCFunction_GetFlags
967# define PyCFunction_GET_FUNCTION PyCFunction_GetFunction
968# define PyCFunction_GET_SELF PyCFunction_GetSelf
969# define PyList_GET_ITEM PyList_GetItem
970# define PyList_SET_ITEM PyList_SetItem
971# define PySliceObject PyObject
972#endif
973
974/* Increment and Decrement wrappers - for portability when using the stable abi and for performance otherwise */
975#ifdef Py_LIMITED_API
976# define SWIG_Py_INCREF Py_IncRef
977# define SWIG_Py_XINCREF Py_IncRef
978# define SWIG_Py_DECREF Py_DecRef
979# define SWIG_Py_XDECREF Py_DecRef
980#else
981# define SWIG_Py_INCREF Py_INCREF
982# define SWIG_Py_XINCREF Py_XINCREF
983# define SWIG_Py_DECREF Py_DECREF
984# define SWIG_Py_XDECREF Py_XDECREF
985#endif
986
987#if (PY_VERSION_HEX >= 0x030d00a6) && (!defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d00a6)
988# define SWIG_PyType_GetFullyQualifiedName PyType_GetFullyQualifiedName
989#else
990SWIGINTERN PyObject *
992 PyObject *result = NULL;
993 PyObject *qualname = PyObject_GetAttrString((PyObject *)type, "__qualname__");
994 if (qualname) {
995 PyObject *mod = PyObject_GetAttrString((PyObject *)type, "__module__");
996 if (mod) {
997 if (PyUnicode_Check(mod) && PyUnicode_CompareWithASCIIString(mod, "builtins") && PyUnicode_CompareWithASCIIString(mod, "__main__")) {
998 result = PyUnicode_FromFormat("%U%c%U", mod, '.', qualname);
999 SWIG_Py_DECREF(qualname);
1000 } else {
1001 result = qualname;
1002 }
1003 SWIG_Py_DECREF(mod);
1004 } else {
1005 result = qualname;
1006 }
1007 }
1008
1009 return result;
1010}
1011#endif
1012
1013/* gh-114329 added PyList_GetItemRef() to Python 3.13.0a4 */
1014#if (PY_VERSION_HEX >= 0x030d00a4) && (!defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d00a4)
1015# define SWIG_PyList_GetItemRef PyList_GetItemRef
1016#else
1017SWIGINTERN PyObject *
1018SWIG_PyList_GetItemRef(PyObject *op, Py_ssize_t index) {
1019 PyObject *item = PyList_GetItem(op, index);
1020 Py_XINCREF(item);
1021 return item;
1022}
1023#endif
1024
1025/* gh-106004 added PyDict_GetItemRef() and PyDict_GetItemStringRef() to Python 3.13.0a1
1026 functions are renamed here for compatibility with abi3audit */
1027#if (PY_VERSION_HEX >= 0x030d00a1) && (!defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d00a1)
1028# define SWIG_PyDict_GetItemRef PyDict_GetItemRef
1029# define SWIG_PyDict_GetItemStringRef PyDict_GetItemStringRef
1030#else
1031SWIGINTERN int
1032SWIG_PyDict_GetItemRef(PyObject *mp, PyObject *key, PyObject **result) {
1033 PyObject *item = PyDict_GetItemWithError(mp, key);
1034 if (item != NULL) {
1035 *result = (PyObject *)(item);
1036 SWIG_Py_INCREF(*result);
1037 return 1;
1038 }
1039 if (!PyErr_Occurred()) {
1040 *result = NULL;
1041 return 0;
1042 }
1043 *result = NULL;
1044 return -1;
1045}
1046
1047SWIGINTERN int
1048SWIG_PyDict_GetItemStringRef(PyObject *mp, const char *key, PyObject **result) {
1049 int res;
1050 PyObject *key_obj = PyUnicode_FromString(key);
1051 if (key_obj == NULL) {
1052 *result = NULL;
1053 return -1;
1054 }
1055 res = SWIG_PyDict_GetItemRef(mp, key_obj, result);
1056 Py_DECREF(key_obj);
1057 return res;
1058}
1059#endif
1060
1061/* -----------------------------------------------------------------------------
1062 * error manipulation
1063 * ----------------------------------------------------------------------------- */
1064
1065SWIGRUNTIME PyObject*
1067 PyObject* type = 0;
1068 switch(code) {
1069 case SWIG_MemoryError:
1070 type = PyExc_MemoryError;
1071 break;
1072 case SWIG_IOError:
1073 type = PyExc_IOError;
1074 break;
1075 case SWIG_RuntimeError:
1076 type = PyExc_RuntimeError;
1077 break;
1078 case SWIG_IndexError:
1079 type = PyExc_IndexError;
1080 break;
1081 case SWIG_TypeError:
1082 type = PyExc_TypeError;
1083 break;
1085 type = PyExc_ZeroDivisionError;
1086 break;
1087 case SWIG_OverflowError:
1088 type = PyExc_OverflowError;
1089 break;
1090 case SWIG_SyntaxError:
1091 type = PyExc_SyntaxError;
1092 break;
1093 case SWIG_ValueError:
1094 type = PyExc_ValueError;
1095 break;
1096 case SWIG_SystemError:
1097 type = PyExc_SystemError;
1098 break;
1100 type = PyExc_AttributeError;
1101 break;
1103 type = PyExc_TypeError;
1104 break;
1105 default:
1106 type = PyExc_RuntimeError;
1107 }
1108 return type;
1109}
1110
1111
1112SWIGRUNTIME void
1114{
1115 PyObject *type = 0;
1116 PyObject *value = 0;
1117 PyObject *traceback = 0;
1118
1119 if (PyErr_Occurred())
1120 PyErr_Fetch(&type, &value, &traceback);
1121 if (value) {
1122 PyObject *old_str = PyObject_Str(value);
1123 PyObject *bytes = NULL;
1124 const char *tmp = SWIG_PyUnicode_AsUTF8AndSize(old_str, NULL, &bytes);
1125 PyErr_Clear();
1126 SWIG_Py_XINCREF(type);
1127 if (tmp)
1128 PyErr_Format(type, "%s %s", tmp, mesg);
1129 else
1130 PyErr_Format(type, "%s", mesg);
1131 SWIG_Py_XDECREF(bytes);
1132 SWIG_Py_DECREF(old_str);
1134 } else {
1135 PyErr_SetString(PyExc_RuntimeError, mesg);
1136 }
1137}
1138
1139SWIGRUNTIME int
1141{
1142 PyObject *error;
1143 if (obj)
1144 return 0;
1145 error = PyErr_Occurred();
1146 return error && PyErr_GivenExceptionMatches(error, PyExc_TypeError);
1147}
1148
1149SWIGRUNTIME void
1151{
1153 /* Use existing TypeError to preserve stacktrace and enhance with given message */
1154 PyObject *newvalue;
1155 PyObject *type = NULL, *value = NULL, *traceback = NULL;
1156 PyErr_Fetch(&type, &value, &traceback);
1157 newvalue = PyUnicode_FromFormat("%S\nAdditional information:\n%s", value, message);
1158 if (newvalue) {
1160 PyErr_Restore(type, newvalue, traceback);
1161 } else {
1162 PyErr_Restore(type, value, traceback);
1163 }
1164 } else {
1165 /* Raise TypeError using given message */
1166 PyErr_SetString(PyExc_TypeError, message);
1167 }
1168}
1169
1170#if defined(SWIG_PYTHON_NO_THREADS)
1171# if defined(SWIG_PYTHON_THREADS)
1172# undef SWIG_PYTHON_THREADS
1173# endif
1174#endif
1175#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
1176# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
1177# define SWIG_PYTHON_USE_GIL
1178# endif
1179# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
1180# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
1181# if PY_VERSION_HEX < 0x03070000
1182# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
1183# else
1184# define SWIG_PYTHON_INITIALIZE_THREADS
1185# endif
1186# endif
1187# ifdef __cplusplus /* C++ code */
1188 class SWIG_Python_Thread_Block {
1189 bool status;
1190 PyGILState_STATE state;
1191 public:
1192 void end() { if (status) { PyGILState_Release(state); status = false;} }
1193 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
1194 ~SWIG_Python_Thread_Block() { end(); }
1195 };
1196 class SWIG_Python_Thread_Allow {
1197 bool status;
1198 PyThreadState *save;
1199 public:
1200 void end() { if (status) { status = false; PyEval_RestoreThread(save); }}
1201 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
1202 ~SWIG_Python_Thread_Allow() { end(); }
1203 };
1204# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
1205# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
1206# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
1207# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
1208# else /* C code */
1209# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
1210# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
1211# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
1212# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
1213# endif
1214# else /* Old thread way, not implemented, user must provide it */
1215# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
1216# define SWIG_PYTHON_INITIALIZE_THREADS
1217# endif
1218# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
1219# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1220# endif
1221# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
1222# define SWIG_PYTHON_THREAD_END_BLOCK
1223# endif
1224# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
1225# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1226# endif
1227# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
1228# define SWIG_PYTHON_THREAD_END_ALLOW
1229# endif
1230# endif
1231#else /* No thread support */
1232# define SWIG_PYTHON_INITIALIZE_THREADS
1233# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1234# define SWIG_PYTHON_THREAD_END_BLOCK
1235# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1236# define SWIG_PYTHON_THREAD_END_ALLOW
1237#endif
1238
1239/* -----------------------------------------------------------------------------
1240 * Python API portion that goes into the runtime
1241 * ----------------------------------------------------------------------------- */
1242
1243#ifdef __cplusplus
1244extern "C" {
1245#endif
1246
1247/* -----------------------------------------------------------------------------
1248 * Constant declarations
1249 * ----------------------------------------------------------------------------- */
1250
1251/* Constant Types */
1252#define SWIG_PY_POINTER 4
1253#define SWIG_PY_BINARY 5
1254
1255/* Constant information structure */
1264
1265#ifdef __cplusplus
1266}
1267#endif
1268
1269
1270/* -----------------------------------------------------------------------------
1271 * pyrun.swg
1272 *
1273 * This file contains the runtime support for Python modules
1274 * and includes code for managing global variables and pointer
1275 * type checking.
1276 *
1277 * ----------------------------------------------------------------------------- */
1278
1279#if PY_VERSION_HEX < 0x03050000
1280# error "This version of SWIG only supports Python >= 3.5"
1281#endif
1282
1283/* Common SWIG API */
1284
1285/* for raw pointers */
1286#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1287#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
1288#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
1289
1290#ifdef SWIGPYTHON_BUILTIN
1291#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
1292#else
1293#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1294#endif
1295
1296#define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1297
1298#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
1299#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
1300#define swig_owntype int
1301
1302/* for raw packed data */
1303#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1304#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1305
1306/* for class or struct pointers */
1307#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1308#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1309
1310/* for C or C++ function pointers */
1311#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1312#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(NULL, ptr, type, 0)
1313
1314/* for C++ member pointers, ie, member methods */
1315#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1316#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1317
1318
1319/* Runtime API */
1320
1321#define SWIG_GetModule(clientdata) SWIG_Python_GetModule(clientdata)
1322#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1323#define SWIG_NewClientData(obj) SwigPyClientData_New(obj)
1324
1325#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1326#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1327#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1328#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1329#define SWIG_fail goto fail
1330
1331/* Runtime API implementation */
1332
1333/* Error manipulation */
1334
1335SWIGINTERN void
1336SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1338 PyErr_SetObject(errtype, obj);
1339 SWIG_Py_DECREF(obj);
1341}
1342
1343SWIGINTERN void
1344SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1346 PyErr_SetString(errtype, msg);
1348}
1349
1350#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1351
1352/* Set a constant value */
1353
1354#if defined(SWIGPYTHON_BUILTIN)
1355
1356SWIGINTERN void
1357SwigPyBuiltin_AddPublicSymbol(PyObject *seq, const char *key) {
1358 PyObject *s = PyUnicode_InternFromString(key);
1359 PyList_Append(seq, s);
1360 SWIG_Py_DECREF(s);
1361}
1362
1363SWIGINTERN void
1364SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) {
1365 PyDict_SetItemString(d, name, obj);
1366 SWIG_Py_DECREF(obj);
1367 if (public_interface)
1368 SwigPyBuiltin_AddPublicSymbol(public_interface, name);
1369}
1370
1371#else
1372
1373SWIGINTERN void
1374SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1375 PyDict_SetItemString(d, name, obj);
1376 SWIG_Py_DECREF(obj);
1377}
1378
1379#endif
1380
1381/* SWIG runtime data Python module */
1382static PyObject *Swig_runtime_data_module_global = NULL;
1383
1384/* Create/obtain the single swig_runtime_data module which is used across different SWIG generated modules */
1385SWIGINTERN PyObject *
1388#if (PY_VERSION_HEX >= 0x030d0000) && (!defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000)
1389 /* free-threading note: the GIL is always enabled when this function is first called
1390 by SWIG_init, so there's no risk of race conditions */
1392#else
1395#endif
1396 }
1399}
1400
1401/* Append a value to the result obj */
1402SWIGINTERN PyObject*
1403SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) {
1404 if (!result) {
1405 result = obj;
1406 } else if (result == Py_None && is_void) {
1407 SWIG_Py_DECREF(result);
1408 result = obj;
1409 } else {
1410 if (!PyList_Check(result)) {
1411 PyObject *o2 = result;
1412 result = PyList_New(1);
1413 if (result) {
1414 PyList_SET_ITEM(result, 0, o2);
1415 } else {
1416 SWIG_Py_DECREF(obj);
1417 return o2;
1418 }
1419 }
1420 PyList_Append(result,obj);
1421 SWIG_Py_DECREF(obj);
1422 }
1423 return result;
1424}
1425
1426/* Unpack the argument tuple */
1427
1428SWIGINTERN Py_ssize_t
1429SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
1430{
1431 if (!args) {
1432 if (!min && !max) {
1433 return 1;
1434 } else {
1435 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1436 name, (min == max ? "" : "at least "), (int)min);
1437 return 0;
1438 }
1439 }
1440 if (!PyTuple_Check(args)) {
1441 if (min <= 1 && max >= 1) {
1442 Py_ssize_t i;
1443 objs[0] = args;
1444 for (i = 1; i < max; ++i) {
1445 objs[i] = 0;
1446 }
1447 return 2;
1448 }
1449 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1450 return 0;
1451 } else {
1452 Py_ssize_t l = PyTuple_GET_SIZE(args);
1453 if (l < min) {
1454 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1455 name, (min == max ? "" : "at least "), (int)min, (int)l);
1456 return 0;
1457 } else if (l > max) {
1458 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1459 name, (min == max ? "" : "at most "), (int)max, (int)l);
1460 return 0;
1461 } else {
1462 Py_ssize_t i;
1463 for (i = 0; i < l; ++i) {
1464 objs[i] = PyTuple_GET_ITEM(args, i);
1465 }
1466 for (; l < max; ++l) {
1467 objs[l] = 0;
1468 }
1469 return i + 1;
1470 }
1471 }
1472}
1473
1474SWIGINTERN int
1475SWIG_Python_CheckNoKeywords(PyObject *kwargs, const char *name) {
1476 int no_kwargs = 1;
1477 if (kwargs) {
1478 assert(PyDict_Check(kwargs));
1479 if (PyDict_Size(kwargs) > 0) {
1480 PyErr_Format(PyExc_TypeError, "%s() does not take keyword arguments", name);
1481 no_kwargs = 0;
1482 }
1483 }
1484 return no_kwargs;
1485}
1486
1487/* A functor is a function object with one single object argument */
1488#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1489
1490/*
1491 Helper for static pointer initialization for both C and C++ code, for example
1492 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1493*/
1494#ifdef __cplusplus
1495#define SWIG_STATIC_POINTER(var) var
1496#else
1497#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1498#endif
1499
1500#ifdef __cplusplus
1501extern "C" {
1502#endif
1503
1504/* Python-specific SWIG API */
1505#define SWIG_newvarlink() SWIG_Python_newvarlink()
1506#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
1507#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
1508
1509/* -----------------------------------------------------------------------------
1510 * global variable support code.
1511 * ----------------------------------------------------------------------------- */
1512
1513typedef struct swig_globalvar {
1514 char *name; /* Name of global variable */
1515 PyObject *(*get_attr)(void); /* Return the current value */
1516 int (*set_attr)(PyObject *); /* Set the value */
1519
1524
1525SWIGINTERN PyObject *
1527 return PyUnicode_InternFromString("<Swig global variables>");
1528}
1529
1530SWIGINTERN PyObject *
1531SwigVarLink_str(PyObject *o) {
1533 PyObject *str = PyUnicode_InternFromString("(");
1534 PyObject *tail;
1535 PyObject *joined;
1536 swig_globalvar *var;
1537 for (var = v->vars; var; var=var->next) {
1538 tail = PyUnicode_FromString(var->name);
1539 joined = PyUnicode_Concat(str, tail);
1540 SWIG_Py_DECREF(str);
1542 str = joined;
1543 if (var->next) {
1544 tail = PyUnicode_InternFromString(", ");
1545 joined = PyUnicode_Concat(str, tail);
1546 SWIG_Py_DECREF(str);
1548 str = joined;
1549 }
1550 }
1551 tail = PyUnicode_InternFromString(")");
1552 joined = PyUnicode_Concat(str, tail);
1553 SWIG_Py_DECREF(str);
1555 str = joined;
1556 return str;
1557}
1558
1559SWIGINTERN void
1562 swig_globalvar *var = v->vars;
1563 while (var) {
1564 swig_globalvar *n = var->next;
1565 free(var->name);
1566 free(var);
1567 var = n;
1568 }
1569}
1570
1571SWIGINTERN PyObject *
1572SwigVarLink_getattr(PyObject *o, char *n) {
1574 PyObject *res = NULL;
1575 swig_globalvar *var = v->vars;
1576 while (var) {
1577 if (strcmp(var->name,n) == 0) {
1578 res = (*var->get_attr)();
1579 break;
1580 }
1581 var = var->next;
1582 }
1583 if (res == NULL && !PyErr_Occurred()) {
1584 PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n);
1585 }
1586 return res;
1587}
1588
1589SWIGINTERN int
1590SwigVarLink_setattr(PyObject *o, char *n, PyObject *p) {
1592 int res = 1;
1593 swig_globalvar *var = v->vars;
1594 while (var) {
1595 if (strcmp(var->name,n) == 0) {
1596 res = (*var->set_attr)(p);
1597 break;
1598 }
1599 var = var->next;
1600 }
1601 if (res == 1 && !PyErr_Occurred()) {
1602 PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n);
1603 }
1604 return res;
1605}
1606
1607SWIGINTERN PyTypeObject*
1609 static char SwigVarLink_doc[] = "Swig variable link object";
1610#ifndef SWIG_HEAPTYPES
1611 static PyTypeObject varlink_type;
1612 static int type_init = 0;
1613 if (!type_init) {
1614 const PyTypeObject tmp = {
1615 PyVarObject_HEAD_INIT(NULL, 0)
1616 SWIG_RUNTIME_MODULE ".SwigVarLink", /* tp_name */
1617 sizeof(swig_varlinkobject), /* tp_basicsize */
1618 0, /* tp_itemsize */
1619 (destructor) SwigVarLink_dealloc, /* tp_dealloc */
1620#if PY_VERSION_HEX < 0x030800b4
1621 (printfunc)0, /* tp_print */
1622#else
1623 (Py_ssize_t)0, /* tp_vectorcall_offset */
1624#endif
1625 (getattrfunc) SwigVarLink_getattr, /* tp_getattr */
1626 (setattrfunc) SwigVarLink_setattr, /* tp_setattr */
1627 0, /* tp_compare */
1628 (reprfunc) SwigVarLink_repr, /* tp_repr */
1629 0, /* tp_as_number */
1630 0, /* tp_as_sequence */
1631 0, /* tp_as_mapping */
1632 0, /* tp_hash */
1633 0, /* tp_call */
1634 (reprfunc) SwigVarLink_str, /* tp_str */
1635 0, /* tp_getattro */
1636 0, /* tp_setattro */
1637 0, /* tp_as_buffer */
1638 0, /* tp_flags */
1639 SwigVarLink_doc, /* tp_doc */
1640 0, /* tp_traverse */
1641 0, /* tp_clear */
1642 0, /* tp_richcompare */
1643 0, /* tp_weaklistoffset */
1644 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
1645 0, /* tp_del */
1646 0, /* tp_version_tag */
1647 0, /* tp_finalize */
1648#if PY_VERSION_HEX >= 0x03080000
1649 0, /* tp_vectorcall */
1650#endif
1651#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
1652 0, /* tp_print */
1653#endif
1654#if PY_VERSION_HEX >= 0x030c0000
1655 0, /* tp_watched */
1656#endif
1657#if PY_VERSION_HEX >= 0x030d00a4
1658 0, /* tp_versions_used */
1659#endif
1660#ifdef COUNT_ALLOCS
1661 0, /* tp_allocs */
1662 0, /* tp_frees */
1663 0, /* tp_maxalloc */
1664 0, /* tp_prev */
1665 0 /* tp_next */
1666#endif
1667 };
1668 PyObject *runtime_data_module = SWIG_runtime_data_module();
1669 varlink_type = tmp;
1670 type_init = 1;
1671 if (PyType_Ready(&varlink_type) < 0)
1672 return NULL;
1673 if (PyModule_AddObject(runtime_data_module, "SwigVarLink", (PyObject *)&varlink_type) == 0)
1674 SWIG_Py_INCREF((PyObject *)&varlink_type);
1675 }
1676 return &varlink_type;
1677#else
1678 PyType_Slot slots[] = {
1679 { Py_tp_dealloc, (void *)SwigVarLink_dealloc },
1680 { Py_tp_repr, (void *)SwigVarLink_repr },
1681 { Py_tp_getattr, (void *)SwigVarLink_getattr },
1682 { Py_tp_setattr, (void *)SwigVarLink_setattr },
1683 { Py_tp_str, (void *)SwigVarLink_str },
1684 { Py_tp_doc, (void *)SwigVarLink_doc },
1685 { 0, NULL }
1686 };
1687 PyType_Spec spec = {
1688 SWIG_RUNTIME_MODULE ".SwigVarLink",
1689 sizeof(swig_varlinkobject),
1690 0,
1691 Py_TPFLAGS_DEFAULT,
1692 slots
1693 };
1694 PyObject *pytype = PyType_FromSpec(&spec);
1695 PyObject *runtime_data_module = SWIG_runtime_data_module();
1696 if (pytype && PyModule_AddObject(runtime_data_module, "SwigVarLink", pytype) == 0)
1697 SWIG_Py_INCREF(pytype);
1698 return (PyTypeObject *)pytype;
1699#endif
1700}
1701
1702SWIGRUNTIME PyTypeObject*
1704 static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigVarLink_TypeOnce();
1705 return type;
1706}
1707
1708/* Create a variable linking object for use later */
1709SWIGINTERN PyObject *
1711 swig_varlinkobject *result = PyObject_New(swig_varlinkobject, SwigVarLink_Type());
1712 if (result) {
1713 result->vars = 0;
1714 }
1715 return ((PyObject*) result);
1716}
1717
1718SWIGINTERN void
1719SWIG_Python_addvarlink(PyObject *p, const char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
1721 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
1722 if (gv) {
1723 size_t size = strlen(name)+1;
1724 gv->name = (char *)malloc(size);
1725 if (gv->name) {
1726 memcpy(gv->name, name, size);
1727 gv->get_attr = get_attr;
1728 gv->set_attr = set_attr;
1729 gv->next = v->vars;
1730 }
1731 }
1732 v->vars = gv;
1733}
1734
1735
1736static PyObject *Swig_Globals_global = NULL;
1737
1738SWIGINTERN PyObject *
1740 if (Swig_Globals_global == NULL) {
1742 }
1743 return Swig_Globals_global;
1744}
1745
1746#ifdef __cplusplus
1747}
1748#endif
1749
1750/* -----------------------------------------------------------------------------
1751 * Pointer declarations
1752 * ----------------------------------------------------------------------------- */
1753
1754/* Flags for new pointer objects */
1755#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1756#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1757
1758#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1759
1760#define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2)
1761#define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN)
1762
1763#ifdef __cplusplus
1764extern "C" {
1765#endif
1766
1767/* The python void return value */
1768
1769SWIGRUNTIMEINLINE PyObject *
1771{
1772 PyObject *none = Py_None;
1773 SWIG_Py_INCREF(none);
1774 return none;
1775}
1776
1777/* SwigPyClientData */
1778
1779typedef struct {
1780 PyObject *klass;
1781 PyObject *newraw;
1782 PyObject *newargs;
1783 PyObject *destroy;
1786 PyTypeObject *pytype;
1788
1791{
1793 int fail = data ? data->implicitconv : 0;
1794 if (fail)
1795 PyErr_SetString(PyExc_TypeError, "Implicit conversion is prohibited for explicit constructors.");
1796 return fail;
1797}
1798
1799SWIGRUNTIMEINLINE PyObject *
1801 SwigPyClientData *data = desc ? (SwigPyClientData *) desc->clientdata : 0;
1802 PyObject *klass = data ? data->klass : 0;
1803 return (klass ? klass : PyExc_RuntimeError);
1804}
1805
1806
1809{
1810 if (!obj) {
1811 return 0;
1812 } else {
1813 SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData));
1814 /* the klass element */
1815 data->klass = obj;
1816 SWIG_Py_INCREF(data->klass);
1817 /* the newraw method and newargs arguments used to create a new raw instance */
1818 if (PyObject_IsInstance(obj, (PyObject *)&PyType_Type)) {
1819 data->newraw = 0;
1820 SWIG_Py_INCREF(obj);
1821 data->newargs = obj;
1822 } else {
1823 data->newraw = PyObject_GetAttrString(data->klass, "__new__");
1824 if (data->newraw) {
1825 data->newargs = PyTuple_New(1);
1826 if (data->newargs) {
1827 SWIG_Py_INCREF(obj);
1828 PyTuple_SET_ITEM(data->newargs, 0, obj);
1829 } else {
1830 SWIG_Py_DECREF(data->newraw);
1831 SWIG_Py_DECREF(data->klass);
1832 free(data);
1833 return 0;
1834 }
1835 } else {
1836 SWIG_Py_INCREF(obj);
1837 data->newargs = obj;
1838 }
1839 }
1840 /* the destroy method, aka as the C++ delete method */
1841 data->destroy = PyObject_GetAttrString(data->klass, "__swig_destroy__");
1842 if (PyErr_Occurred()) {
1843 PyErr_Clear();
1844 data->destroy = 0;
1845 }
1846 if (data->destroy) {
1847 data->delargs = !(PyCFunction_GET_FLAGS(data->destroy) & METH_O);
1848 } else {
1849 data->delargs = 0;
1850 }
1851 data->implicitconv = 0;
1852 data->pytype = 0;
1853 return data;
1854 }
1855}
1856
1857SWIGRUNTIME void
1859{
1860 SWIG_Py_XDECREF(data->klass);
1861 SWIG_Py_XDECREF(data->newraw);
1862 SWIG_Py_XDECREF(data->newargs);
1863 SWIG_Py_XDECREF(data->destroy);
1864 free(data);
1865}
1866
1867/* =============== SwigPyObject =====================*/
1868
1869typedef struct {
1870 PyObject_HEAD
1871 void *ptr;
1873 int own;
1874 PyObject *next;
1875 PyObject *swigdict;
1876 PyObject *weakreflist;
1877} SwigPyObject;
1878
1879
1880#ifdef SWIGPYTHON_BUILTIN
1881
1882SWIGRUNTIME PyObject *
1883SwigPyObject_get___dict__(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
1884{
1885 SwigPyObject *sobj = (SwigPyObject *)v;
1886
1887 if (!sobj->swigdict)
1888 sobj->swigdict = PyDict_New();
1889
1891 return sobj->swigdict;
1892}
1893
1894#endif
1895
1896SWIGRUNTIME PyObject *
1898{
1899 return PyLong_FromVoidPtr(v->ptr);
1900}
1901
1902SWIGRUNTIME PyObject *
1904{
1905 PyObject *res = NULL;
1906 PyObject *args = PyTuple_New(1);
1907 if (args) {
1908 PyObject *val = SwigPyObject_long(v);
1909 if (val) {
1910 PyObject *ofmt;
1911 PyTuple_SET_ITEM(args, 0, val);
1912 ofmt = PyUnicode_FromString(fmt);
1913 if (ofmt) {
1914 res = PyUnicode_Format(ofmt,args);
1915 SWIG_Py_DECREF(ofmt);
1916 }
1917 }
1918 SWIG_Py_DECREF(args);
1919 }
1920 return res;
1921}
1922
1923SWIGRUNTIME PyObject *
1925{
1926 return SwigPyObject_format("%o",v);
1927}
1928
1929SWIGRUNTIME PyObject *
1931{
1932 return SwigPyObject_format("%x",v);
1933}
1934
1935SWIGRUNTIME PyObject *
1937{
1938 const char *name = SWIG_TypePrettyName(v->ty);
1939 PyObject *repr = PyUnicode_FromFormat("<Swig Object of type '%s' at %p>", (name ? name : "unknown"), (void *)v);
1940 if (repr && v->next) {
1941 PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next);
1942 if (nrep) {
1943 PyObject *joined = PyUnicode_Concat(repr, nrep);
1944 SWIG_Py_DECREF(repr);
1945 SWIG_Py_DECREF(nrep);
1946 repr = joined;
1947 } else {
1948 SWIG_Py_DECREF(repr);
1949 repr = NULL;
1950 }
1951 }
1952 return repr;
1953}
1954
1955/* We need a version taking two PyObject* parameters so it's a valid
1956 * PyCFunction to use in SwigPyObject_methods[]. */
1957SWIGRUNTIME PyObject *
1958SwigPyObject_repr2(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
1959{
1960 return SwigPyObject_repr((SwigPyObject*)v);
1961}
1962
1963SWIGRUNTIME int
1964SwigPyObject_compare(PyObject *v, PyObject *w)
1965{
1966 /* tp_compare is only called when both objects have the same type, so
1967 * the casts are guaranteed to be ok. */
1968 void *i = ((SwigPyObject *)v)->ptr;
1969 void *j = ((SwigPyObject *)w)->ptr;
1970 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1971}
1972
1974
1975/* Rich comparison support */
1976SWIGRUNTIME PyObject*
1977SwigPyObject_richcompare(PyObject *v, PyObject *w, int op)
1978{
1979 PyObject* res = NULL;
1980 if (!PyErr_Occurred()) {
1981 /* Per https://docs.python.org/3/c-api/typeobj.html#c.PyTypeObject.tp_richcompare
1982 * the first argument is guaranteed to be an instance of SwigPyObject, but the
1983 * second is not, so we typecheck that one. */
1984 if ((op != Py_EQ && op != Py_NE) || !SwigPyObject_Check(w)) {
1985 SWIG_Py_INCREF(Py_NotImplemented);
1986 return Py_NotImplemented;
1987 }
1988 res = PyBool_FromLong( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) ? 1 : 0);
1989 }
1990 return res;
1991}
1992
1993
1994SWIGRUNTIME PyTypeObject* SwigPyObject_TypeOnce(void);
1995
1996#ifdef SWIGPYTHON_BUILTIN
1997static swig_type_info *SwigPyObject_stype = 0;
1998SWIGRUNTIME PyTypeObject*
1999SwigPyObject_Type(void) {
2000 SwigPyClientData *cd;
2001 assert(SwigPyObject_stype);
2002 cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
2003 assert(cd);
2004 assert(cd->pytype);
2005 return cd->pytype;
2006}
2007#else
2008SWIGRUNTIME PyTypeObject*
2010 static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyObject_TypeOnce();
2011 return type;
2012}
2013#endif
2014
2016SwigPyObject_Check(PyObject *op) {
2017 PyTypeObject *target_tp = SwigPyObject_Type();
2018 PyTypeObject *op_type = Py_TYPE(op);
2019#ifdef SWIGPYTHON_BUILTIN
2020 /* Only builtin types have SwigPyObject as a base type */
2021 return PyType_IsSubtype(op_type, target_tp);
2022#else
2023 /* Check for an exact match to SwigPyObject */
2024 if (op_type == target_tp) {
2025 return 1;
2026 } else {
2027 /* Fallback for multiple modules */
2028 int cmp;
2029 PyObject *tpname = SWIG_PyType_GetFullyQualifiedName(op_type);
2030 if (!tpname)
2031 return 0;
2032 cmp = PyUnicode_CompareWithASCIIString(tpname, SWIG_RUNTIME_MODULE ".SwigPyObject");
2033 SWIG_Py_DECREF(tpname);
2034 return cmp == 0;
2035 }
2036#endif
2037}
2038
2039SWIGRUNTIME PyObject *
2040SwigPyObject_New(void *ptr, swig_type_info *ty, int own);
2041
2042static PyObject* Swig_Capsule_global = NULL;
2043
2044SWIGRUNTIME void
2046{
2047 SwigPyObject *sobj = (SwigPyObject *) v;
2048 PyObject *next = sobj->next;
2049 if (sobj->own == SWIG_POINTER_OWN) {
2050 swig_type_info *ty = sobj->ty;
2051 SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
2052 PyObject *destroy = data ? data->destroy : 0;
2053 if (destroy) {
2054 /* destroy is always a VARARGS method */
2055 PyObject *res;
2056
2057 /* PyObject_CallFunction() has the potential to silently drop
2058 the active exception. In cases of unnamed temporary
2059 variable or where we just finished iterating over a generator
2060 StopIteration will be active right now, and this needs to
2061 remain true upon return from SwigPyObject_dealloc. So save
2062 and restore. */
2063
2064 PyObject *type = NULL, *value = NULL, *traceback = NULL;
2065 PyErr_Fetch(&type, &value, &traceback);
2066
2067 if (data->delargs) {
2068 /* we need to create a temporary object to carry the destroy operation */
2069 PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0);
2070 if (tmp) {
2071 res = SWIG_Python_CallFunctor(destroy, tmp);
2072 } else {
2073 res = 0;
2074 }
2075 SWIG_Py_XDECREF(tmp);
2076 } else {
2077 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
2078 PyObject *mself = PyCFunction_GET_SELF(destroy);
2079 res = ((*meth)(mself, v));
2080 }
2081 if (!res)
2082 PyErr_WriteUnraisable(destroy);
2083
2084 PyErr_Restore(type, value, traceback);
2085
2086 SWIG_Py_XDECREF(res);
2087 }
2088#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
2089 else {
2090 const char *name = SWIG_TypePrettyName(ty);
2091 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown"));
2092 }
2093#endif
2095 }
2096 SWIG_Py_XDECREF(next);
2098 PyObject_Free(v);
2099}
2100
2101SWIGRUNTIME PyObject*
2102SwigPyObject_append(PyObject* v, PyObject* next)
2103{
2104 SwigPyObject *sobj = (SwigPyObject *) v;
2105 if (!SwigPyObject_Check(next)) {
2106 PyErr_SetString(PyExc_TypeError, "Attempt to append a non SwigPyObject");
2107 return NULL;
2108 }
2109 ((SwigPyObject *)next)->next = sobj->next;
2110 sobj->next = next;
2111 SWIG_Py_INCREF(next);
2112 return SWIG_Py_Void();
2113}
2114
2115SWIGRUNTIME PyObject*
2116SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
2117{
2118 SwigPyObject *sobj = (SwigPyObject *) v;
2119 if (sobj->next) {
2120 SWIG_Py_INCREF(sobj->next);
2121 return sobj->next;
2122 } else {
2123 return SWIG_Py_Void();
2124 }
2125}
2126
2127SWIGINTERN PyObject*
2128SwigPyObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
2129{
2130 SwigPyObject *sobj = (SwigPyObject *)v;
2131 sobj->own = 0;
2132 return SWIG_Py_Void();
2133}
2134
2135SWIGINTERN PyObject*
2136SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
2137{
2138 SwigPyObject *sobj = (SwigPyObject *)v;
2139 sobj->own = SWIG_POINTER_OWN;
2140 return SWIG_Py_Void();
2141}
2142
2143SWIGINTERN PyObject*
2144SwigPyObject_own(PyObject *v, PyObject *args)
2145{
2146 PyObject *val = 0;
2147 if (!PyArg_UnpackTuple(args, "own", 0, 1, &val)) {
2148 return NULL;
2149 } else {
2150 SwigPyObject *sobj = (SwigPyObject *)v;
2151 PyObject *obj = PyBool_FromLong(sobj->own);
2152 if (val) {
2153 if (PyObject_IsTrue(val)) {
2155 } else {
2157 }
2158 }
2159 return obj;
2160 }
2161}
2162
2163static PyMethodDef
2165 {"disown", SwigPyObject_disown, METH_NOARGS, "releases ownership of the pointer"},
2166 {"acquire", SwigPyObject_acquire, METH_NOARGS, "acquires ownership of the pointer"},
2167 {"own", SwigPyObject_own, METH_VARARGS, "returns/sets ownership of the pointer"},
2168 {"append", SwigPyObject_append, METH_O, "appends another 'this' object"},
2169 {"next", SwigPyObject_next, METH_NOARGS, "returns the next 'this' object"},
2170 {"__repr__",SwigPyObject_repr2, METH_NOARGS, "returns object representation"},
2171 {0, 0, 0, 0}
2172};
2173
2174SWIGRUNTIME PyTypeObject*
2176 static char SwigPyObject_doc[] = "Swig object holding a C/C++ pointer";
2177#ifndef SWIG_HEAPTYPES
2178 static PyNumberMethods SwigPyObject_as_number = {
2179 (binaryfunc)0, /*nb_add*/
2180 (binaryfunc)0, /*nb_subtract*/
2181 (binaryfunc)0, /*nb_multiply*/
2182 (binaryfunc)0, /*nb_remainder*/
2183 (binaryfunc)0, /*nb_divmod*/
2184 (ternaryfunc)0,/*nb_power*/
2185 (unaryfunc)0, /*nb_negative*/
2186 (unaryfunc)0, /*nb_positive*/
2187 (unaryfunc)0, /*nb_absolute*/
2188 (inquiry)0, /*nb_bool*/
2189 0, /*nb_invert*/
2190 0, /*nb_lshift*/
2191 0, /*nb_rshift*/
2192 0, /*nb_and*/
2193 0, /*nb_xor*/
2194 0, /*nb_or*/
2195 (unaryfunc)SwigPyObject_long, /*nb_int*/
2196 0, /*nb_reserved*/
2197 (unaryfunc)0, /*nb_float*/
2198 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_matrix_multiply */
2199 };
2200
2201 static PyTypeObject swigpyobject_type;
2202 static int type_init = 0;
2203 if (!type_init) {
2204 const PyTypeObject tmp = {
2205 PyVarObject_HEAD_INIT(NULL, 0)
2206 SWIG_RUNTIME_MODULE ".SwigPyObject", /* tp_name */
2207 sizeof(SwigPyObject), /* tp_basicsize */
2208 0, /* tp_itemsize */
2209 (destructor)SwigPyObject_dealloc, /* tp_dealloc */
2210#if PY_VERSION_HEX < 0x030800b4
2211 (printfunc)0, /* tp_print */
2212#else
2213 (Py_ssize_t)0, /* tp_vectorcall_offset */
2214#endif
2215 (getattrfunc)0, /* tp_getattr */
2216 (setattrfunc)0, /* tp_setattr */
2217 0, /* tp_reserved in 3.0.1, tp_compare in 3.0.0 but not used */
2218 (reprfunc)SwigPyObject_repr, /* tp_repr */
2219 &SwigPyObject_as_number, /* tp_as_number */
2220 0, /* tp_as_sequence */
2221 0, /* tp_as_mapping */
2222 (hashfunc)0, /* tp_hash */
2223 (ternaryfunc)0, /* tp_call */
2224 0, /* tp_str */
2225 PyObject_GenericGetAttr, /* tp_getattro */
2226 0, /* tp_setattro */
2227 0, /* tp_as_buffer */
2228 Py_TPFLAGS_DEFAULT, /* tp_flags */
2229 SwigPyObject_doc, /* tp_doc */
2230 0, /* tp_traverse */
2231 0, /* tp_clear */
2232 (richcmpfunc)SwigPyObject_richcompare,/* tp_richcompare */
2233 offsetof(SwigPyObject, weakreflist), /* tp_weaklistoffset */
2234 0, /* tp_iter */
2235 0, /* tp_iternext */
2236 SwigPyObject_methods, /* tp_methods */
2237 0, /* tp_members */
2238 0, /* tp_getset */
2239 0, /* tp_base */
2240 0, /* tp_dict */
2241 0, /* tp_descr_get */
2242 0, /* tp_descr_set */
2243 0, /* tp_dictoffset */
2244 0, /* tp_init */
2245 0, /* tp_alloc */
2246 0, /* tp_new */
2247 0, /* tp_free */
2248 0, /* tp_is_gc */
2249 0, /* tp_bases */
2250 0, /* tp_mro */
2251 0, /* tp_cache */
2252 0, /* tp_subclasses */
2253 0, /* tp_weaklist */
2254 0, /* tp_del */
2255 0, /* tp_version_tag */
2256 0, /* tp_finalize */
2257#if PY_VERSION_HEX >= 0x03080000
2258 0, /* tp_vectorcall */
2259#endif
2260#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
2261 0, /* tp_print */
2262#endif
2263#if PY_VERSION_HEX >= 0x030c0000
2264 0, /* tp_watched */
2265#endif
2266#if PY_VERSION_HEX >= 0x030d00a4
2267 0, /* tp_versions_used */
2268#endif
2269#ifdef COUNT_ALLOCS
2270 0, /* tp_allocs */
2271 0, /* tp_frees */
2272 0, /* tp_maxalloc */
2273 0, /* tp_prev */
2274 0 /* tp_next */
2275#endif
2276 };
2277 PyObject *runtime_data_module = SWIG_runtime_data_module();
2278 swigpyobject_type = tmp;
2279 type_init = 1;
2280 if (PyType_Ready(&swigpyobject_type) != 0)
2281 return NULL;
2282 if (PyModule_AddObject(runtime_data_module, "SwigPyObject", (PyObject *)&swigpyobject_type) == 0)
2283 SWIG_Py_INCREF((PyObject *)&swigpyobject_type);
2284 }
2285 return &swigpyobject_type;
2286#else
2287 static PyMemberDef SwigPyObject_members[] = {
2288 { (char *)"__dictoffset__", Py_T_PYSSIZET, offsetof(SwigPyObject, swigdict), Py_READONLY, NULL },
2289 { (char *)"__weaklistoffset__", Py_T_PYSSIZET, offsetof(SwigPyObject, weakreflist), Py_READONLY, NULL },
2290 { NULL, 0, 0, 0, NULL }
2291 };
2292 PyType_Slot slots[] = {
2293 { Py_tp_dealloc, (void *)SwigPyObject_dealloc },
2294 { Py_tp_repr, (void *)SwigPyObject_repr },
2295 { Py_tp_getattro, (void *)PyObject_GenericGetAttr },
2296 { Py_tp_doc, (void *)SwigPyObject_doc },
2297 { Py_tp_richcompare, (void *)SwigPyObject_richcompare },
2298 { Py_tp_methods, (void *)SwigPyObject_methods },
2299 { Py_nb_int, (void *)SwigPyObject_long },
2300 { Py_tp_members, (void *)SwigPyObject_members },
2301 { 0, NULL }
2302 };
2303 PyType_Spec spec = {
2304 SWIG_RUNTIME_MODULE ".SwigPyObject",
2305 sizeof(SwigPyObject),
2306 0,
2307 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE,
2308 slots
2309 };
2310 PyObject *pytype = PyType_FromSpec(&spec);
2311 PyObject *runtime_data_module = SWIG_runtime_data_module();
2312#if !defined(Py_LIMITED_API)
2313/* While this __dictoffset__ is only used with the builtin wrappers, SwigPyObject ought to be
2314 identical when created for use by proxy class wrappers in case it is shared across multiple modules. */
2315#if PY_VERSION_HEX < 0x03090000
2316 /* Workaround as __dictoffset__ and __weaklistoffset__ above are only supported from python-3.9 */
2317 if (pytype) {
2318 ((PyTypeObject *)pytype)->tp_dictoffset = offsetof(SwigPyObject, swigdict);
2319 ((PyTypeObject *)pytype)->tp_weaklistoffset = offsetof(SwigPyObject, weakreflist);
2320 }
2321#endif
2322#endif
2323 if (pytype && PyModule_AddObject(runtime_data_module, "SwigPyObject", pytype) == 0)
2324 SWIG_Py_INCREF(pytype);
2325 return (PyTypeObject *)pytype;
2326#endif
2327}
2328
2329SWIGRUNTIME PyObject *
2330SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
2331{
2332 SwigPyObject *sobj = PyObject_New(SwigPyObject, SwigPyObject_Type());
2333 if (sobj) {
2334 sobj->ptr = ptr;
2335 sobj->ty = ty;
2336 sobj->own = own;
2337 sobj->next = 0;
2338 sobj->swigdict = 0;
2339 sobj->weakreflist = 0;
2340 if (own == SWIG_POINTER_OWN) {
2341 /* Obtain a reference to the Python capsule wrapping the module information, so that the
2342 * module information is correctly destroyed after all SWIG python objects have been freed
2343 * by the GC (and corresponding destructors invoked) */
2345 }
2346 }
2347 return (PyObject *)sobj;
2348}
2349
2350/* -----------------------------------------------------------------------------
2351 * Implements a simple Swig Packed type, and use it instead of string
2352 * ----------------------------------------------------------------------------- */
2353
2354typedef struct {
2355 PyObject_HEAD
2356 void *pack;
2358 size_t size;
2359} SwigPyPacked;
2360
2361SWIGRUNTIME PyObject *
2363{
2364 char result[SWIG_BUFFER_SIZE];
2365 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
2366 return PyUnicode_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
2367 } else {
2368 return PyUnicode_FromFormat("<Swig Packed %s>", v->ty->name);
2369 }
2370}
2371
2372SWIGRUNTIME PyObject *
2374{
2375 char result[SWIG_BUFFER_SIZE];
2376 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
2377 return PyUnicode_FromFormat("%s%s", result, v->ty->name);
2378 } else {
2379 return PyUnicode_FromString(v->ty->name);
2380 }
2381}
2382
2383SWIGRUNTIME int
2385{
2386 size_t i = v->size;
2387 size_t j = w->size;
2388 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
2389 return s ? s : strncmp((const char *)v->pack, (const char *)w->pack, 2*v->size);
2390}
2391
2392SWIGRUNTIME PyTypeObject* SwigPyPacked_TypeOnce(void);
2393
2394SWIGRUNTIME PyTypeObject*
2396 static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyPacked_TypeOnce();
2397 return type;
2398}
2399
2401SwigPyPacked_Check(PyObject *op) {
2402 PyTypeObject *target_tp = SwigPyPacked_Type();
2403 PyTypeObject *op_type = Py_TYPE(op);
2404 /* Check for an exact match to SwigPyPacked */
2405 if (op_type == target_tp) {
2406 return 1;
2407 } else {
2408 /* Fallback for multiple modules */
2409 int cmp;
2410 PyObject *tpname = SWIG_PyType_GetFullyQualifiedName(op_type);
2411 if (!tpname)
2412 return 0;
2413 cmp = PyUnicode_CompareWithASCIIString(tpname, SWIG_RUNTIME_MODULE ".SwigPyPacked");
2414 SWIG_Py_DECREF(tpname);
2415 return cmp == 0;
2416 }
2417}
2418
2419SWIGRUNTIME void
2421{
2422 if (SwigPyPacked_Check(v)) {
2423 SwigPyPacked *sobj = (SwigPyPacked *) v;
2424 free(sobj->pack);
2425 }
2426 PyObject_Free(v);
2427}
2428
2429SWIGRUNTIME PyTypeObject*
2431 static char SwigPyPacked_doc[] = "Swig object holding a C/C++ function pointer";
2432#ifndef SWIG_HEAPTYPES
2433 static PyTypeObject swigpypacked_type;
2434 static int type_init = 0;
2435 if (!type_init) {
2436 const PyTypeObject tmp = {
2437 PyVarObject_HEAD_INIT(NULL, 0)
2438 SWIG_RUNTIME_MODULE ".SwigPyPacked", /* tp_name */
2439 sizeof(SwigPyPacked), /* tp_basicsize */
2440 0, /* tp_itemsize */
2441 (destructor)SwigPyPacked_dealloc, /* tp_dealloc */
2442#if PY_VERSION_HEX < 0x030800b4
2443 (printfunc)0, /* tp_print */
2444#else
2445 (Py_ssize_t)0, /* tp_vectorcall_offset */
2446#endif
2447 (getattrfunc)0, /* tp_getattr */
2448 (setattrfunc)0, /* tp_setattr */
2449 0, /* tp_reserved in 3.0.1 */
2450 (reprfunc)SwigPyPacked_repr, /* tp_repr */
2451 0, /* tp_as_number */
2452 0, /* tp_as_sequence */
2453 0, /* tp_as_mapping */
2454 (hashfunc)0, /* tp_hash */
2455 (ternaryfunc)0, /* tp_call */
2456 (reprfunc)SwigPyPacked_str, /* tp_str */
2457 PyObject_GenericGetAttr, /* tp_getattro */
2458 0, /* tp_setattro */
2459 0, /* tp_as_buffer */
2460 Py_TPFLAGS_DEFAULT, /* tp_flags */
2461 SwigPyPacked_doc, /* tp_doc */
2462 0, /* tp_traverse */
2463 0, /* tp_clear */
2464 0, /* tp_richcompare */
2465 0, /* tp_weaklistoffset */
2466 0, /* tp_iter */
2467 0, /* tp_iternext */
2468 0, /* tp_methods */
2469 0, /* tp_members */
2470 0, /* tp_getset */
2471 0, /* tp_base */
2472 0, /* tp_dict */
2473 0, /* tp_descr_get */
2474 0, /* tp_descr_set */
2475 0, /* tp_dictoffset */
2476 0, /* tp_init */
2477 0, /* tp_alloc */
2478 0, /* tp_new */
2479 0, /* tp_free */
2480 0, /* tp_is_gc */
2481 0, /* tp_bases */
2482 0, /* tp_mro */
2483 0, /* tp_cache */
2484 0, /* tp_subclasses */
2485 0, /* tp_weaklist */
2486 0, /* tp_del */
2487 0, /* tp_version_tag */
2488 0, /* tp_finalize */
2489#if PY_VERSION_HEX >= 0x03080000
2490 0, /* tp_vectorcall */
2491#endif
2492#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
2493 0, /* tp_print */
2494#endif
2495#if PY_VERSION_HEX >= 0x030c0000
2496 0, /* tp_watched */
2497#endif
2498#if PY_VERSION_HEX >= 0x030d00a4
2499 0, /* tp_versions_used */
2500#endif
2501#ifdef COUNT_ALLOCS
2502 0, /* tp_allocs */
2503 0, /* tp_frees */
2504 0, /* tp_maxalloc */
2505 0, /* tp_prev */
2506 0 /* tp_next */
2507#endif
2508 };
2509 PyObject *runtime_data_module = SWIG_runtime_data_module();
2510 swigpypacked_type = tmp;
2511 type_init = 1;
2512 if (PyType_Ready(&swigpypacked_type) != 0)
2513 return NULL;
2514 if (PyModule_AddObject(runtime_data_module, "SwigPyPacked", (PyObject *)&swigpypacked_type) == 0)
2515 SWIG_Py_INCREF((PyObject *)&swigpypacked_type);
2516 }
2517 return &swigpypacked_type;
2518#else
2519 PyType_Slot slots[] = {
2520 { Py_tp_dealloc, (void *)SwigPyPacked_dealloc },
2521 { Py_tp_repr, (void *)SwigPyPacked_repr },
2522 { Py_tp_str, (void *)SwigPyPacked_str },
2523 { Py_tp_getattro, (void *)PyObject_GenericGetAttr },
2524 { Py_tp_doc, (void *)SwigPyPacked_doc },
2525 { 0, NULL }
2526 };
2527 PyType_Spec spec = {
2528 SWIG_RUNTIME_MODULE ".SwigPyPacked",
2529 sizeof(SwigPyPacked),
2530 0,
2531 Py_TPFLAGS_DEFAULT,
2532 slots
2533 };
2534 PyObject *pytype = PyType_FromSpec(&spec);
2535 PyObject *runtime_data_module = SWIG_runtime_data_module();
2536 if (pytype && PyModule_AddObject(runtime_data_module, "SwigPyPacked", pytype) == 0)
2537 SWIG_Py_INCREF(pytype);
2538 return (PyTypeObject *)pytype;
2539#endif
2540}
2541
2542SWIGRUNTIME PyObject *
2543SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
2544{
2545 SwigPyPacked *sobj = PyObject_New(SwigPyPacked, SwigPyPacked_Type());
2546 if (sobj) {
2547 void *pack = malloc(size);
2548 if (pack) {
2549 memcpy(pack, ptr, size);
2550 sobj->pack = pack;
2551 sobj->ty = ty;
2552 sobj->size = size;
2553 } else {
2554 PyObject_Free((PyObject *)sobj);
2555 sobj = 0;
2556 }
2557 }
2558 return (PyObject *) sobj;
2559}
2560
2562SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
2563{
2564 if (SwigPyPacked_Check(obj)) {
2565 SwigPyPacked *sobj = (SwigPyPacked *)obj;
2566 if (sobj->size != size) return 0;
2567 memcpy(ptr, sobj->pack, size);
2568 return sobj->ty;
2569 } else {
2570 return 0;
2571 }
2572}
2573
2574/* -----------------------------------------------------------------------------
2575 * pointers/data manipulation
2576 * ----------------------------------------------------------------------------- */
2577
2578static PyObject *Swig_This_global = NULL;
2579
2580SWIGRUNTIME PyObject *
2582{
2583 if (Swig_This_global == NULL)
2584 Swig_This_global = PyUnicode_FromString("this");
2585 return Swig_This_global;
2586}
2587
2588/* Returns a borrowed reference to the 'this' object */
2591{
2592 PyObject *obj;
2593
2594 if (SwigPyObject_Check(pyobj))
2595 return (SwigPyObject *) pyobj;
2596
2597#ifdef SWIGPYTHON_BUILTIN
2598 (void)obj;
2599 if (PyWeakref_CheckProxy(pyobj)) {
2600#if PY_VERSION_HEX >= 0x030d0000
2601 if (PyWeakref_GetRef(pyobj, &pyobj) > 0)
2602 Py_DECREF(pyobj);
2603 else
2604 pyobj = NULL;
2605#else
2606 pyobj = PyWeakref_GetObject(pyobj);
2607#endif
2608 if (pyobj && SwigPyObject_Check(pyobj))
2609 return (SwigPyObject*) pyobj;
2610 }
2611 return NULL;
2612#else
2613
2614 obj = 0;
2615
2616 obj = PyObject_GetAttr(pyobj, SWIG_This());
2617 if (obj) {
2618 SWIG_Py_DECREF(obj);
2619 } else {
2620 if (PyErr_Occurred()) PyErr_Clear();
2621 return 0;
2622 }
2623 if (obj && !SwigPyObject_Check(obj)) {
2624 /* a PyObject is called 'this', try to get the 'real this'
2625 SwigPyObject from it */
2626 return SWIG_Python_GetSwigThis(obj);
2627 }
2628 return (SwigPyObject *)obj;
2629#endif
2630}
2631
2632/* Acquire a pointer value */
2633
2634SWIGRUNTIME int
2635SWIG_Python_AcquirePtr(PyObject *obj, int own) {
2636 if (own == SWIG_POINTER_OWN) {
2638 if (sobj) {
2639 int oldown = sobj->own;
2640 sobj->own = own;
2641 return oldown;
2642 }
2643 }
2644 return 0;
2645}
2646
2647/* Convert a pointer value */
2648
2649SWIGRUNTIME int
2650SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
2651 int res;
2652 SwigPyObject *sobj;
2653 int implicit_conv = (flags & SWIG_POINTER_IMPLICIT_CONV) != 0;
2654
2655 if (!obj)
2656 return SWIG_ERROR;
2657 if (obj == Py_None && !implicit_conv) {
2658 if (ptr)
2659 *ptr = 0;
2661 }
2662
2663 res = SWIG_ERROR;
2664
2665 sobj = SWIG_Python_GetSwigThis(obj);
2666 if (own)
2667 *own = 0;
2668 while (sobj) {
2669 void *vptr = sobj->ptr;
2670 if (ty) {
2671 swig_type_info *to = sobj->ty;
2672 if (to == ty) {
2673 /* no type cast needed */
2674 if (ptr) *ptr = vptr;
2675 break;
2676 } else {
2677 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2678 if (!tc) {
2679 sobj = (SwigPyObject *)sobj->next;
2680 } else {
2681 if (ptr) {
2682 int newmemory = 0;
2683 *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2684 if (newmemory == SWIG_CAST_NEW_MEMORY) {
2685 assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
2686 if (own)
2687 *own = *own | SWIG_CAST_NEW_MEMORY;
2688 }
2689 }
2690 break;
2691 }
2692 }
2693 } else {
2694 if (ptr) *ptr = vptr;
2695 break;
2696 }
2697 }
2698 if (sobj) {
2699 if (((flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE) && !sobj->own) {
2701 } else {
2702 if (own)
2703 *own = *own | sobj->own;
2704 if (flags & SWIG_POINTER_DISOWN) {
2705 sobj->own = 0;
2706 }
2707 if (flags & SWIG_POINTER_CLEAR) {
2708 sobj->ptr = 0;
2709 }
2710 res = SWIG_OK;
2711 }
2712 } else {
2713 if (implicit_conv) {
2714 SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0;
2715 if (data && !data->implicitconv) {
2716 PyObject *klass = data->klass;
2717 if (klass) {
2718 PyObject *impconv;
2719 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2720 impconv = SWIG_Python_CallFunctor(klass, obj);
2721 data->implicitconv = 0;
2722 if (PyErr_Occurred()) {
2723 PyErr_Clear();
2724 impconv = 0;
2725 }
2726 if (impconv) {
2727 SwigPyObject *iobj = SWIG_Python_GetSwigThis(impconv);
2728 if (iobj) {
2729 void *vptr;
2730 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2731 if (SWIG_IsOK(res)) {
2732 if (ptr) {
2733 *ptr = vptr;
2734 /* transfer the ownership to 'ptr' */
2735 iobj->own = 0;
2736 res = SWIG_AddCast(res);
2737 res = SWIG_AddNewMask(res);
2738 } else {
2739 res = SWIG_AddCast(res);
2740 }
2741 }
2742 }
2743 SWIG_Py_DECREF(impconv);
2744 }
2745 }
2746 }
2747 if (!SWIG_IsOK(res) && obj == Py_None) {
2748 if (ptr)
2749 *ptr = 0;
2750 if (PyErr_Occurred())
2751 PyErr_Clear();
2752 res = SWIG_OK;
2753 }
2754 }
2755 }
2756 return res;
2757}
2758
2759/* Convert a function ptr value */
2760
2761SWIGRUNTIME int
2762SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2763 if (!PyCFunction_Check(obj)) {
2764 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2765 } else {
2766 void *vptr = 0;
2767 swig_cast_info *tc;
2768
2769 /* here we get the method pointer for callbacks */
2770#ifndef Py_LIMITED_API
2771 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2772#else
2773 PyObject* pystr_doc = PyObject_GetAttrString(obj, "__doc__");
2774 PyObject *bytes = NULL;
2775 const char *doc = pystr_doc ? SWIG_PyUnicode_AsUTF8AndSize(pystr_doc, NULL, &bytes) : 0;
2776#endif
2777 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2778 if (desc)
2779 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2780#ifdef Py_LIMITED_API
2781 SWIG_Py_XDECREF(bytes);
2782 SWIG_Py_XDECREF(pystr_doc);
2783#endif
2784 if (!desc)
2785 return SWIG_ERROR;
2786 tc = SWIG_TypeCheck(desc,ty);
2787 if (tc) {
2788 int newmemory = 0;
2789 *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2790 assert(!newmemory); /* newmemory handling not yet implemented */
2791 } else {
2792 return SWIG_ERROR;
2793 }
2794 return SWIG_OK;
2795 }
2796}
2797
2798/* Convert a packed pointer value */
2799
2800SWIGRUNTIME int
2801SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2802 swig_type_info *to = SwigPyPacked_UnpackData(obj, ptr, sz);
2803 if (!to) return SWIG_ERROR;
2804 if (ty) {
2805 if (to != ty) {
2806 /* check type cast? */
2807 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2808 if (!tc) return SWIG_ERROR;
2809 }
2810 }
2811 return SWIG_OK;
2812}
2813
2814/* -----------------------------------------------------------------------------
2815 * Create a new pointer object
2816 * ----------------------------------------------------------------------------- */
2817
2818/*
2819 Create a new instance object, without calling __init__, and set the
2820 'this' attribute.
2821*/
2822
2823SWIGRUNTIME PyObject*
2825{
2826 PyObject *inst = 0;
2827 PyObject *newraw = data->newraw;
2828 if (newraw) {
2829 inst = PyObject_Call(newraw, data->newargs, NULL);
2830 if (inst) {
2831 if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) {
2832 SWIG_Py_DECREF(inst);
2833 inst = 0;
2834 }
2835 }
2836 } else {
2837 PyObject *empty_args = PyTuple_New(0);
2838 if (empty_args) {
2839 PyObject *empty_kwargs = PyDict_New();
2840 if (empty_kwargs) {
2841#ifndef Py_LIMITED_API
2842 newfunc newfn = ((PyTypeObject *)data->newargs)->tp_new;
2843#else
2844 newfunc newfn = (newfunc)PyType_GetSlot((PyTypeObject *)data->newargs, Py_tp_new);
2845#endif
2846 inst = newfn((PyTypeObject *)data->newargs, empty_args, empty_kwargs);
2847 SWIG_Py_DECREF(empty_kwargs);
2848 if (inst) {
2849 if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) {
2850 SWIG_Py_DECREF(inst);
2851 inst = 0;
2852 } else {
2853 PyType_Modified(Py_TYPE(inst));
2854 }
2855 }
2856 }
2857 SWIG_Py_DECREF(empty_args);
2858 }
2859 }
2860 return inst;
2861}
2862
2863SWIGRUNTIME int
2864SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2865{
2866 return PyObject_SetAttr(inst, SWIG_This(), swig_this);
2867}
2868
2869
2870SWIGINTERN PyObject *
2872 PyObject *obj[2];
2873 if (!SWIG_Python_UnpackTuple(args, "swiginit", 2, 2, obj)) {
2874 return NULL;
2875 } else {
2876 SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2877 if (sthis) {
2878 SWIG_Py_DECREF(SwigPyObject_append((PyObject*) sthis, obj[1]));
2879 } else {
2880 if (SWIG_Python_SetSwigThis(obj[0], obj[1]) != 0)
2881 return NULL;
2882 }
2883 return SWIG_Py_Void();
2884 }
2885}
2886
2887/* Create a new pointer object */
2888
2889SWIGRUNTIME PyObject *
2890SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags) {
2891 SwigPyClientData *clientdata;
2892 PyObject * robj;
2893 int own;
2894
2895 if (!ptr)
2896 return SWIG_Py_Void();
2897
2898 clientdata = type ? (SwigPyClientData *)(type->clientdata) : 0;
2899 own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2900 if (clientdata && clientdata->pytype) {
2901 SwigPyObject *newobj;
2902 if (flags & SWIG_BUILTIN_TP_INIT) {
2903 newobj = (SwigPyObject*) self;
2904 if (newobj->ptr) {
2905#ifndef Py_LIMITED_API
2906 allocfunc alloc = clientdata->pytype->tp_alloc;
2907#else
2908 allocfunc alloc = (allocfunc)PyType_GetSlot(clientdata->pytype, Py_tp_alloc);
2909#endif
2910 PyObject *next_self = alloc(clientdata->pytype, 0);
2911 while (newobj->next)
2912 newobj = (SwigPyObject *) newobj->next;
2913 newobj->next = next_self;
2914 newobj = (SwigPyObject *)next_self;
2915 newobj->swigdict = 0;
2916 newobj->weakreflist = 0;
2917 }
2918 } else {
2919 newobj = PyObject_New(SwigPyObject, clientdata->pytype);
2920 if (newobj) {
2921 newobj->swigdict = 0;
2922 newobj->weakreflist = 0;
2923 }
2924 }
2925 if (newobj) {
2926 newobj->ptr = ptr;
2927 newobj->ty = type;
2928 newobj->own = own;
2929 newobj->next = 0;
2930 return (PyObject*) newobj;
2931 }
2932 return SWIG_Py_Void();
2933 }
2934
2935 assert(!(flags & SWIG_BUILTIN_TP_INIT));
2936
2937 robj = SwigPyObject_New(ptr, type, own);
2938 if (robj && clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2939 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2940 SWIG_Py_DECREF(robj);
2941 robj = inst;
2942 }
2943 return robj;
2944}
2945
2946/* Create a new packed object */
2947
2948SWIGRUNTIMEINLINE PyObject *
2949SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2950 return ptr ? SwigPyPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2951}
2952
2953/* -----------------------------------------------------------------------------*
2954 * Get type list
2955 * -----------------------------------------------------------------------------*/
2956
2957#ifdef SWIG_LINK_RUNTIME
2958void *SWIG_ReturnGlobalTypeList(void *);
2959#endif
2960
2961static PyObject *Swig_TypeCache_global = NULL;
2962
2963/* The python cached type query */
2964SWIGRUNTIME PyObject *
2966 if (Swig_TypeCache_global == NULL) {
2967 Swig_TypeCache_global = PyDict_New();
2968 }
2969 return Swig_TypeCache_global;
2970}
2971
2974#ifdef SWIG_LINK_RUNTIME
2975 static void *type_pointer = (void *)0;
2976 /* first check if module already created */
2977 if (!type_pointer) {
2978 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2979 }
2980#else
2981 void *type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0);
2982 if (PyErr_Occurred()) {
2983 PyErr_Clear();
2984 type_pointer = (void *)0;
2985 }
2986#endif
2987 return (swig_module_info *) type_pointer;
2988}
2989
2990
2991#if defined(SWIG_REFCNT_DEBUG)
2992#define SWIG_PYOBJ_REFCNT(OBJ) fprintf(stdout, "" #OBJ " count %ld\n", (OBJ ? Py_REFCNT(OBJ) : 0))
2993#else
2994#define SWIG_PYOBJ_REFCNT(OBJ)
2995#endif
2996
2997static int interpreter_counter = 0; /* how many (sub-)interpreters are using swig_module's types */
2998
2999SWIGRUNTIME void
3001{
3002 swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME);
3003 swig_type_info **types = swig_module->types;
3004 size_t i;
3005 if (--interpreter_counter != 0) /* another sub-interpreter may still be using the swig_module's types */
3006 return;
3007 for (i = 0; i < swig_module->size; ++i) {
3008 swig_type_info *ty = types[i];
3009 if (ty->owndata) {
3011 ty->clientdata = 0;
3012 if (data) SwigPyClientData_Del(data);
3013 }
3014 }
3017 Swig_This_global = NULL;
3018
3021 Swig_Globals_global = NULL;
3022
3025 Swig_TypeCache_global = NULL;
3026
3028 Swig_Capsule_global = NULL;
3029
3033}
3034
3035SWIGRUNTIME void
3037 PyObject *runtime_data_module = SWIG_runtime_data_module();
3038 PyObject *pointer = PyCapsule_New((void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyModule);
3039 if (pointer && runtime_data_module) {
3040 if (PyModule_AddObject(runtime_data_module, SWIGPY_CAPSULE_ATTR_NAME, pointer) == 0) {
3042 Swig_Capsule_global = pointer;
3043 } else {
3044 SWIG_Py_DECREF(pointer);
3045 }
3046 } else {
3047 SWIG_Py_XDECREF(pointer);
3048 }
3049}
3050
3052SWIG_Python_TypeQuery(const char *type)
3053{
3054 swig_type_info *descriptor;
3055 PyObject *cache = SWIG_Python_TypeCache();
3056 PyObject *obj;
3057 SWIG_PyDict_GetItemStringRef(cache, type, &obj);
3058 if (obj) {
3059 descriptor = (swig_type_info *) PyCapsule_GetPointer(obj, NULL);
3060 } else {
3062 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
3063 if (descriptor) {
3064 obj = PyCapsule_New((void*) descriptor, NULL, NULL);
3065 if (obj) PyDict_SetItemString(cache, type, obj);
3066 }
3067 }
3068 SWIG_Py_XDECREF(obj);
3069 return descriptor;
3070}
3071
3072/*
3073 For backward compatibility only
3074*/
3075#define SWIG_POINTER_EXCEPTION 0
3076#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
3077#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
3078
3079SWIGRUNTIME int
3080SWIG_Python_AddErrMesg(const char* mesg, int infront)
3081{
3082 if (PyErr_Occurred()) {
3083 PyObject *type = 0;
3084 PyObject *value = 0;
3085 PyObject *traceback = 0;
3086 PyErr_Fetch(&type, &value, &traceback);
3087 if (value) {
3088 PyObject *old_str = PyObject_Str(value);
3089 PyObject *bytes = NULL;
3090 const char *tmp = SWIG_PyUnicode_AsUTF8AndSize(old_str, NULL, &bytes);
3091 const char *errmesg = tmp ? tmp : "Invalid error message";
3092 SWIG_Py_XINCREF(type);
3093 PyErr_Clear();
3094 if (infront) {
3095 PyErr_Format(type, "%s %s", mesg, errmesg);
3096 } else {
3097 PyErr_Format(type, "%s %s", errmesg, mesg);
3098 }
3099 SWIG_Py_XDECREF(bytes);
3100 SWIG_Py_DECREF(old_str);
3101 }
3102 return 1;
3103 } else {
3104 return 0;
3105 }
3106}
3107
3108SWIGRUNTIME int
3110{
3111 if (PyErr_Occurred()) {
3112 /* add information about failing argument */
3113 char mesg[256];
3114 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
3115 return SWIG_Python_AddErrMesg(mesg, 1);
3116 } else {
3117 return 0;
3118 }
3119}
3120
3121SWIGRUNTIMEINLINE const char *
3123{
3124 SwigPyObject *v = (SwigPyObject *)self;
3125 swig_type_info *ty = v ? v->ty : 0;
3126 return ty ? ty->str : "";
3127}
3128
3129/* Convert a pointer value, signal an exception on a type mismatch */
3130SWIGRUNTIME void *
3131SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags) {
3132 void *result;
3133 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
3134 PyErr_Clear();
3135 }
3136 return result;
3137}
3138
3139#ifdef SWIGPYTHON_BUILTIN
3140SWIGRUNTIME int
3141SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) {
3142 PyTypeObject *tp = Py_TYPE(obj);
3143 PyObject *descr;
3144 PyObject *encoded_name;
3145 descrsetfunc f;
3146 int res = -1;
3147
3148# ifdef Py_USING_UNICODE
3149 if (PyBytes_Check(name)) {
3150 name = PyUnicode_Decode(PyBytes_AsString(name), PyBytes_Size(name), NULL, NULL);
3151 if (!name)
3152 return -1;
3153 } else if (!PyUnicode_Check(name))
3154# else
3155 if (!PyBytes_Check(name))
3156# endif
3157 {
3158 PyObject *tpname = SWIG_PyType_GetFullyQualifiedName(Py_TYPE(name));
3159 PyErr_Format(PyExc_TypeError, "attribute name must be string, not '%S'", tpname);
3160 SWIG_Py_DECREF(tpname);
3161 return -1;
3162 } else {
3164 }
3165
3166 if (!tp->tp_dict) {
3167 if (PyType_Ready(tp) != 0)
3168 goto done;
3169 }
3170
3171 descr = _PyType_Lookup(tp, name);
3172 f = NULL;
3173 if (descr != NULL)
3174 f = Py_TYPE(descr)->tp_descr_set;
3175 if (!f) {
3176 if (PyBytes_Check(name)) {
3177 encoded_name = name;
3179 } else {
3180 encoded_name = PyUnicode_AsUTF8String(name);
3181 if (!encoded_name)
3182 goto done;
3183 }
3184 PyErr_Format(PyExc_AttributeError, "'%s' object has no attribute '%s'", tp->tp_name, PyBytes_AsString(encoded_name));
3185 SWIG_Py_DECREF(encoded_name);
3186 } else {
3187 res = f(descr, obj, value);
3188 }
3189
3190 done:
3192 return res;
3193}
3194#endif
3195
3196
3197#ifdef __cplusplus
3198}
3199#endif
3200
3201
3202
3203#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
3204
3205#define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0)
3206
3207
3208
3209/* -------- TYPES TABLE (BEGIN) -------- */
3210
3211#define SWIGTYPE_p_PLGraphicsIn swig_types[0]
3212#define SWIGTYPE_p_PLcGrid swig_types[1]
3213#define SWIGTYPE_p_PLcGrid2 swig_types[2]
3214#define SWIGTYPE_p_char swig_types[3]
3215#define SWIGTYPE_p_double swig_types[4]
3216#define SWIGTYPE_p_f_double_double__int swig_types[5]
3217#define SWIGTYPE_p_f_double_double_p_double_p_double_p_void__void swig_types[6]
3218#define SWIGTYPE_p_f_int_double_p_char_int_p_void__void swig_types[7]
3219#define SWIGTYPE_p_f_int_p_double_p_double__void swig_types[8]
3220#define SWIGTYPE_p_f_int_p_q_const__double_p_q_const__double__void swig_types[9]
3221#define SWIGTYPE_p_int swig_types[10]
3222#define SWIGTYPE_p_p_char swig_types[11]
3223#define SWIGTYPE_p_p_double swig_types[12]
3224#define SWIGTYPE_p_unsigned_int swig_types[13]
3226static swig_module_info swig_module = {swig_types, 14, 0, 0, 0, 0};
3227#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
3228#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
3229
3230/* -------- TYPES TABLE (END) -------- */
3231
3232#ifdef SWIG_TypeQuery
3233# undef SWIG_TypeQuery
3234#endif
3235#define SWIG_TypeQuery SWIG_Python_TypeQuery
3236
3237/*-----------------------------------------------
3238 @(target):= _plplotc.so
3239 ------------------------------------------------*/
3240#define SWIG_init PyInit__plplotc
3241
3242
3243#define SWIG_as_voidptr(a) (void *)((const void *)(a))
3244#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
3245
3246
3247#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
3248#include <arrayobject.h>
3249#include "plplot.h"
3250#include "plplotP.h"
3251
3252#define NPY_PLINT NPY_INT32
3253
3254#ifdef PL_DOUBLE
3255#define NPY_PLFLT NPY_FLOAT64
3256#else
3257#define NPY_PLFLT NPY_FLOAT32
3258#endif
3259
3260// python-1.5 compatibility mode?
3261#if !defined ( PySequence_Fast_GET_ITEM )
3262 #define PySequence_Fast_GET_ITEM PySequence_GetItem
3263#endif
3264#define PySequence_Size PySequence_Length
3265
3266
3267 static PLINT Alen = 0;
3268 static PLINT Xlen = 0, Ylen = 0;
3269
3270
3271SWIGINTERN int
3272SWIG_AsVal_double (PyObject *obj, double *val)
3273{
3274 int res = SWIG_TypeError;
3275 if (PyFloat_Check(obj)) {
3276 if (val) *val = PyFloat_AsDouble(obj);
3277 return SWIG_OK;
3278 } else if (PyLong_Check(obj)) {
3279 double v = PyLong_AsDouble(obj);
3280 if (!PyErr_Occurred()) {
3281 if (val) *val = v;
3282 return SWIG_OK;
3283 } else {
3284 PyErr_Clear();
3285 }
3286 }
3287#ifdef SWIG_PYTHON_CAST_MODE
3288 {
3289 int dispatch = 0;
3290 double d = PyFloat_AsDouble(obj);
3291 if (!PyErr_Occurred()) {
3292 if (val) *val = d;
3293 return SWIG_AddCast(SWIG_OK);
3294 } else {
3295 PyErr_Clear();
3296 }
3297 if (!dispatch) {
3298 long v = PyLong_AsLong(obj);
3299 if (!PyErr_Occurred()) {
3300 if (val) *val = v;
3302 } else {
3303 PyErr_Clear();
3304 }
3305 }
3306 }
3307#endif
3308 return res;
3309}
3310
3311
3312 #define SWIG_From_double PyFloat_FromDouble
3313
3314
3315 typedef PLINT ( *defined_func )( PLFLT, PLFLT );
3316 typedef void ( *fill_func )( PLINT, const PLFLT*, const PLFLT* );
3317 typedef void ( *pltr_func )( PLFLT, PLFLT, PLFLT *, PLFLT*, PLPointer );
3318 typedef void ( *ct_func )( PLFLT, PLFLT, PLFLT *, PLFLT*, PLPointer );
3319 typedef void ( *mapform_func )( PLINT, PLFLT *, PLFLT* );
3321 typedef void ( *label_func )( PLINT, PLFLT, char *, PLINT, PLPointer );
3322
3323
3324SWIGINTERNINLINE PyObject*
3326{
3327 return PyLong_FromLong((long) value);
3328}
3329
3330
3331#include <limits.h>
3332#if !defined(SWIG_NO_LLONG_MAX)
3333# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
3334# define LLONG_MAX __LONG_LONG_MAX__
3335# define LLONG_MIN (-LLONG_MAX - 1LL)
3336# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
3337# endif
3338#endif
3339
3340
3341#include <errno.h>
3342
3343
3344#include <float.h>
3345
3346
3347#include <math.h>
3348
3349
3351SWIG_CanCastAsInteger(double *d, double min, double max) {
3352 double x = *d;
3353 if ((min <= x && x <= max)) {
3354 double fx, cx, rd;
3355 errno = 0;
3356 fx = floor(x);
3357 cx = ceil(x);
3358 rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */
3359 if ((errno == EDOM) || (errno == ERANGE)) {
3360 errno = 0;
3361 } else {
3362 double summ, reps, diff;
3363 if (rd < x) {
3364 diff = x - rd;
3365 } else if (rd > x) {
3366 diff = rd - x;
3367 } else {
3368 return 1;
3369 }
3370 summ = rd + x;
3371 reps = diff/summ;
3372 if (reps < 8*DBL_EPSILON) {
3373 *d = rd;
3374 return 1;
3375 }
3376 }
3377 }
3378 return 0;
3379}
3380
3381
3382SWIGINTERN int
3383SWIG_AsVal_long (PyObject *obj, long* val)
3384{
3385 if (PyLong_Check(obj)) {
3386 long v = PyLong_AsLong(obj);
3387 if (!PyErr_Occurred()) {
3388 if (val) *val = v;
3389 return SWIG_OK;
3390 } else {
3391 PyErr_Clear();
3392 return SWIG_OverflowError;
3393 }
3394 }
3395#ifdef SWIG_PYTHON_CAST_MODE
3396 {
3397 int dispatch = 0;
3398 long v = PyLong_AsLong(obj);
3399 if (!PyErr_Occurred()) {
3400 if (val) *val = v;
3401 return SWIG_AddCast(SWIG_OK);
3402 } else {
3403 PyErr_Clear();
3404 }
3405 if (!dispatch) {
3406 double d;
3407 int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
3408 // Largest double not larger than LONG_MAX (not portably calculated easily)
3409 // Note that double(LONG_MAX) is stored in a double rounded up by one (for 64-bit long)
3410 // 0x7ffffffffffffc00LL == (int64_t)std::nextafter(double(__uint128_t(LONG_MAX)+1), double(0))
3411 const double long_max = sizeof(long) == 8 ? 0x7ffffffffffffc00LL : LONG_MAX;
3412 // No equivalent needed for 64-bit double(LONG_MIN) is exactly LONG_MIN
3413 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, long_max)) {
3414 if (val) *val = (long)(d);
3415 return res;
3416 }
3417 }
3418 }
3419#endif
3420 return SWIG_TypeError;
3421}
3422
3423
3424SWIGINTERN int
3425SWIG_AsVal_int (PyObject * obj, int *val)
3426{
3427 long v;
3428 int res = SWIG_AsVal_long (obj, &v);
3429 if (SWIG_IsOK(res)) {
3430 if ((v < INT_MIN || v > INT_MAX)) {
3431 return SWIG_OverflowError;
3432 } else {
3433 if (val) *val = (int)(v);
3434 }
3435 }
3436 return res;
3437}
3438
3439
3440SWIGINTERN int
3441SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val)
3442{
3443 if (PyLong_Check(obj)) {
3444 unsigned long v = PyLong_AsUnsignedLong(obj);
3445 if (!PyErr_Occurred()) {
3446 if (val) *val = v;
3447 return SWIG_OK;
3448 } else {
3449 PyErr_Clear();
3450 return SWIG_OverflowError;
3451 }
3452 }
3453#ifdef SWIG_PYTHON_CAST_MODE
3454 {
3455 int dispatch = 0;
3456 unsigned long v = PyLong_AsUnsignedLong(obj);
3457 if (!PyErr_Occurred()) {
3458 if (val) *val = v;
3459 return SWIG_AddCast(SWIG_OK);
3460 } else {
3461 PyErr_Clear();
3462 }
3463 if (!dispatch) {
3464 double d;
3465 int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
3466 // Largest double not larger than ULONG_MAX (not portably calculated easily)
3467 // Note that double(ULONG_MAX) is stored in a double rounded up by one (for 64-bit unsigned long)
3468 // 0xfffffffffffff800ULL == (uint64_t)std::nextafter(double(__uint128_t(ULONG_MAX)+1), double(0))
3469 const double ulong_max = sizeof(unsigned long) == 8 ? 0xfffffffffffff800ULL : ULONG_MAX;
3470 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ulong_max)) {
3471 if (val) *val = (unsigned long)(d);
3472 return res;
3473 }
3474 }
3475 }
3476#endif
3477 return SWIG_TypeError;
3478}
3479
3480
3481SWIGINTERN int
3482SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
3483{
3484 unsigned long v;
3485 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3486 if (SWIG_IsOK(res)) {
3487 if ((v > UINT_MAX)) {
3488 return SWIG_OverflowError;
3489 } else {
3490 if (val) *val = (unsigned int)(v);
3491 }
3492 }
3493 return res;
3494}
3495
3496
3497SWIGINTERNINLINE PyObject*
3499{
3500 return PyLong_FromSize_t((size_t) value);
3501}
3502
3503
3506{
3507 static swig_type_info* info = 0;
3508 if (!info) {
3509 info = SWIG_TypeQuery("_p_char");
3510 }
3511 return info;
3512}
3513
3514
3515/* Return string from Python obj. NOTE: obj must remain in scope in order
3516 to use the returned cptr (but only when alloc is set to SWIG_OLDOBJ) */
3517SWIGINTERN int
3518SWIG_AsCharPtrAndSize(PyObject *obj, char **cptr, size_t *psize, int *alloc)
3519{
3520 int use_binary = 0; /* extract the value as raw bytes rather than as UTF-8 text */
3521 int is_binary = 0; /* SWIG_BINARYSTR was passed: report the exact byte count */
3522 if (alloc != NULL) {
3523 is_binary = SWIG_IsBinaryStr(*alloc);
3524 use_binary = is_binary;
3525 *alloc = 0;
3526 }
3527#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3528 use_binary = 1;
3529#endif
3530 if (use_binary ? PyBytes_Check(obj) : PyUnicode_Check(obj))
3531 {
3532 char *cstr = NULL;
3533 Py_ssize_t len = 0;
3534 PyObject *bytes = NULL;
3535 int ret = SWIG_OK;
3536 if (alloc)
3537 *alloc = SWIG_OLDOBJ;
3538 if (use_binary) {
3539 if (PyBytes_AsStringAndSize(obj, &cstr, &len) == -1)
3540 return SWIG_TypeError;
3541 } else {
3542 cstr = (char *)SWIG_PyUnicode_AsUTF8AndSize(obj, &len, &bytes);
3543 if (!cstr)
3544 return SWIG_TypeError;
3545 /* The returned string is only duplicated if the char * returned is not owned and memory managed by obj */
3546 if (bytes && cptr) {
3547 if (alloc) {
3548 size_t alen = (size_t)(len + 1);
3549 char *p = (char *)calloc(alen, sizeof(char));
3550 if (p == NULL) {
3551 SWIG_Py_XDECREF(bytes);
3552 return SWIG_MemoryError;
3553 }
3554 memcpy(p, cstr, alen);
3555 cstr = p;
3556 *alloc = SWIG_NEWOBJ;
3557 } else {
3558 /* alloc must be set in order to clean up allocated memory */
3559 SWIG_Py_XDECREF(bytes);
3560 return SWIG_RuntimeError;
3561 }
3562 }
3563 }
3564 if (cptr) *cptr = cstr;
3565 if (psize) *psize = is_binary ? (size_t)len : (size_t)(len + 1);
3566 SWIG_Py_XDECREF(bytes);
3567 return ret;
3568 } else {
3569
3570 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
3571 if (pchar_descriptor) {
3572 void* vptr = 0;
3573 if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
3574 if (cptr) *cptr = (char *) vptr;
3575 if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
3576 if (alloc) *alloc = SWIG_OLDOBJ;
3577 return SWIG_OK;
3578 }
3579 }
3580 }
3581 return SWIG_TypeError;
3582}
3583
3584
3585SWIGINTERN int
3586SWIG_AsCharArray(PyObject * obj, char *val, size_t size)
3587{
3588 char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
3589 int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
3590 if (SWIG_IsOK(res)) {
3591 /* special case of single char conversion when we don't need space for NUL */
3592 if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
3593 if (csize <= size) {
3594 if (val) {
3595 if (csize) memcpy(val, cptr, csize*sizeof(char));
3596 if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
3597 }
3598 if (alloc == SWIG_NEWOBJ) {
3599 free((char*)cptr);
3600 res = SWIG_DelNewMask(res);
3601 }
3602 return res;
3603 }
3604 if (alloc == SWIG_NEWOBJ) free((char*)cptr);
3605 }
3606 return SWIG_TypeError;
3607}
3608
3609
3610#define SWIG_FromCharPtrAndSize(carray, size) SWIG_FromBinaryCharPtrAndSize(carray, size, 0)
3611SWIGINTERNINLINE PyObject *
3612SWIG_FromBinaryCharPtrAndSize(const char* carray, size_t size, int flags)
3613{
3614 if (carray) {
3615 if (size > (size_t)PY_SSIZE_T_MAX) {
3616 swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
3617 return pchar_descriptor ?
3618 SWIG_InternalNewPointerObj((char *)(carray), pchar_descriptor, 0) : SWIG_Py_Void();
3619 } else {
3620#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3621 return PyBytes_FromStringAndSize(carray, (Py_ssize_t)(size));
3622#else
3623 if (SWIG_IsBinaryStr(flags))
3624 return PyBytes_FromStringAndSize(carray, (Py_ssize_t)(size));
3625 return PyUnicode_DecodeUTF8(carray, (Py_ssize_t)(size), "surrogateescape");
3626#endif
3627 }
3628 } else {
3629 return SWIG_Py_Void();
3630 }
3631}
3632
3633
3634SWIGINTERN size_t
3635SWIG_strnlen(const char* s, size_t maxlen)
3636{
3637 const char *p;
3638 for (p = s; maxlen-- && *p; p++)
3639 ;
3640 return (size_t)(p - s);
3641}
3642
3643
3644
3645
3646
3647SWIGINTERN int
3648SWIG_AsVal_char (PyObject * obj, char *val)
3649{
3650 int res = SWIG_AsCharArray(obj, val, 1);
3651 if (!SWIG_IsOK(res)) {
3652 long v;
3653 res = SWIG_AddCast(SWIG_AsVal_long (obj, &v));
3654 if (SWIG_IsOK(res)) {
3655 if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
3656 if (val) *val = (char)(v);
3657 } else {
3658 res = SWIG_OverflowError;
3659 }
3660 }
3661 }
3662 return res;
3663}
3664
3665
3666#if !defined(SWIG_NO_PYTHON_OLD_BUFFER_PROTOCOL)
3667#if defined(Py_LIMITED_API) && Py_LIMITED_API<0x030b0000
3668#if !defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL)
3669#define SWIG_PYTHON_OLD_BUFFER_PROTOCOL
3670#endif
3671#endif
3672#endif
3673
3674#if defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL) && PY_VERSION_HEX >= 0x030d0000
3675#if defined(Py_LIMITED_API) && Py_LIMITED_API<0x030b0000
3676#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."
3677#endif
3678#endif
3679
3680#ifdef __cplusplus
3681extern "C" {
3682#endif
3683
3684 PyArrayObject* myIntArray_ContiguousFromObject( PyObject* in, int type, int mindims, int maxdims );
3685
3686// some really twisted stuff to allow calling a single precision library from python
3687 PyArrayObject* myIntArray_ContiguousFromObject( PyObject* in, int PL_UNUSED( type ), int mindims, int maxdims )
3688 {
3689 PyArrayObject* tmp = (PyArrayObject *) PyArray_ContiguousFromObject( in, NPY_PLINT,
3690 mindims, maxdims );
3691 if ( !tmp )
3692 {
3693 // could be an incoming long array which can't be "safely" converted, do it anyway
3694 if ( PyArray_Check( in ) )
3695 {
3696 PyErr_Clear();
3697 tmp = (PyArrayObject *) PyArray_Cast( (PyArrayObject *) in, NPY_PLINT );
3698 }
3699 }
3700 return tmp;
3701 }
3702
3703
3704#define myArray_ContiguousFromObject PyArray_ContiguousFromObject
3705
3706SWIGINTERN PyObject *_wrap_pltr0(PyObject *self, PyObject *args) {
3707 PyObject *resultobj = 0;
3708 PLFLT arg1 ;
3709 PLFLT arg2 ;
3710 PLFLT *arg3 = 0 ;
3711 PLFLT *arg4 = 0 ;
3712 PLPointer arg5 = 0 ;
3713 double val1 ;
3714 int ecode1 = 0 ;
3715 double val2 ;
3716 int ecode2 = 0 ;
3717 PLFLT temp3 ;
3718 int res3 = SWIG_TMPOBJ ;
3719 PLFLT temp4 ;
3720 int res4 = SWIG_TMPOBJ ;
3721 PyObject *swig_obj[2] ;
3722
3723 arg3 = &temp3;
3724 arg4 = &temp4;
3725 {
3726 arg5 = NULL;
3727 }
3728 (void)self;
3729 if (!SWIG_Python_UnpackTuple(args, "pltr0", 2, 2, swig_obj)) SWIG_fail;
3730 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
3731 if (!SWIG_IsOK(ecode1)) {
3732 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pltr0" "', argument " "1"" of type '" "PLFLT""'");
3733 }
3734 arg1 = (PLFLT)(val1);
3735 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
3736 if (!SWIG_IsOK(ecode2)) {
3737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pltr0" "', argument " "2"" of type '" "PLFLT""'");
3738 }
3739 arg2 = (PLFLT)(val2);
3740 pltr0(arg1,arg2,arg3,arg4,arg5);
3741 resultobj = SWIG_Py_Void();
3742 if (SWIG_IsTmpObj(res3)) {
3743 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
3744 } else {
3745 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
3746 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
3747 }
3748 if (SWIG_IsTmpObj(res4)) {
3749 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
3750 } else {
3751 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
3752 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
3753 }
3754 return resultobj;
3755fail:
3756 return NULL;
3757}
3758
3759
3760
3761 PyArrayObject *pltr_xg, *pltr_yg;
3764
3765 PLcGrid* marshal_PLcGrid1( PyObject* input, int isimg );
3766 void cleanup_PLcGrid1( void );
3767 PLcGrid2* marshal_PLcGrid2( PyObject* input, int isimg );
3768 void cleanup_PLcGrid2( void );
3769
3770 PLcGrid* marshal_PLcGrid1( PyObject* input, int isimg )
3771 {
3772 // fprintf(stderr, "marshal PLcGrid1\n");
3773 if ( !PySequence_Check( input ) || PySequence_Size( input ) != 2 )
3774 {
3775 PyErr_SetString( PyExc_ValueError, "Expected a sequence of two arrays." );
3776 return NULL;
3777 }
3778 pltr_xg = (PyArrayObject *) myArray_ContiguousFromObject( PySequence_Fast_GET_ITEM( input, 0 ),
3779 NPY_PLFLT, 1, 1 );
3780 pltr_yg = (PyArrayObject *) myArray_ContiguousFromObject( PySequence_Fast_GET_ITEM( input, 1 ),
3781 NPY_PLFLT, 1, 1 );
3782 if ( pltr_xg == 0 || pltr_yg == 0 )
3783 {
3784 PyErr_SetString( PyExc_ValueError, "Expected a sequence to two 1D arrays." );
3785 return NULL;
3786 }
3787 tmpGrid1.nx = (PLINT) PyArray_DIMS( pltr_xg )[0];
3788 tmpGrid1.ny = (PLINT) PyArray_DIMS( pltr_yg )[0];
3789 if ( isimg == 0 )
3790 {
3791 if ( Xlen != tmpGrid1.nx || Ylen != tmpGrid1.ny )
3792 {
3793 PyErr_SetString( PyExc_ValueError, "pltr arguments must have X and Y dimensions of first arg." );
3794 return NULL;
3795 }
3796 }
3797 else
3798 {
3799 if ( Xlen != tmpGrid1.nx - 1 || Ylen != tmpGrid1.ny - 1 )
3800 {
3801 PyErr_SetString( PyExc_ValueError, "pltr arguments must have X and Y dimensions of first arg + 1." );
3802 return NULL;
3803 }
3804 }
3805 tmpGrid1.xg = (PLFLT *) PyArray_DATA( pltr_xg );
3806 tmpGrid1.yg = (PLFLT *) PyArray_DATA( pltr_yg );
3807 return &tmpGrid1;
3808 }
3809
3810 void cleanup_PLcGrid1( void )
3811 {
3812 // fprintf(stderr, "cleanup PLcGrid1\n");
3813 Py_CLEAR( pltr_xg );
3814 Py_CLEAR( pltr_yg );
3815 }
3816
3817 PLcGrid2* marshal_PLcGrid2( PyObject* input, int isimg )
3818 {
3819 int i, size;
3820 // fprintf(stderr, "marshal PLcGrid2\n");
3821 if ( !PySequence_Check( input ) || PySequence_Size( input ) != 2 )
3822 {
3823 PyErr_SetString( PyExc_ValueError, "Expected a sequence of two arrays." );
3824 return NULL;
3825 }
3826 pltr_xg = (PyArrayObject *) myArray_ContiguousFromObject( PySequence_Fast_GET_ITEM( input, 0 ),
3827 NPY_PLFLT, 2, 2 );
3828 pltr_yg = (PyArrayObject *) myArray_ContiguousFromObject( PySequence_Fast_GET_ITEM( input, 1 ),
3829 NPY_PLFLT, 2, 2 );
3830 if ( pltr_xg == 0 || pltr_yg == 0 )
3831 {
3832 PyErr_SetString( PyExc_ValueError, "Expected a sequence of two 2D arrays." );
3833 return NULL;
3834 }
3835 if ( PyArray_DIMS( pltr_xg )[0] != PyArray_DIMS( pltr_yg )[0] ||
3836 PyArray_DIMS( pltr_xg )[1] != PyArray_DIMS( pltr_yg )[1] )
3837 {
3838 PyErr_SetString( PyExc_ValueError, "Arrays must be same size." );
3839 return NULL;
3840 }
3841 tmpGrid2.nx = (PLINT) PyArray_DIMS( pltr_xg )[0];
3842 tmpGrid2.ny = (PLINT) PyArray_DIMS( pltr_xg )[1];
3843 if ( isimg == 0 )
3844 {
3845 if ( Xlen != tmpGrid2.nx || Ylen != tmpGrid2.ny )
3846 {
3847 PyErr_SetString( PyExc_ValueError, "pltr arguments must have X and Y dimensions of first arg." );
3848 return NULL;
3849 }
3850 }
3851 else
3852 {
3853 if ( Xlen != tmpGrid2.nx - 1 || Ylen != tmpGrid2.ny - 1 )
3854 {
3855 PyErr_SetString( PyExc_ValueError, "pltr arguments must have X and Y dimensions of first arg + 1." );
3856 return NULL;
3857 }
3858 }
3859 size = tmpGrid2.ny;
3860 tmpGrid2.xg = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) tmpGrid2.nx );
3861 for ( i = 0; i < tmpGrid2.nx; i++ )
3862 tmpGrid2.xg[i] = ( (PLFLT *) PyArray_DATA( pltr_xg ) + i * size );
3863 tmpGrid2.yg = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) tmpGrid2.nx );
3864 for ( i = 0; i < tmpGrid2.nx; i++ )
3865 tmpGrid2.yg[i] = ( (PLFLT *) PyArray_DATA( pltr_yg ) + i * size );
3866 return &tmpGrid2;
3867 }
3868
3869 void cleanup_PLcGrid2( void )
3870 {
3871 // fprintf(stderr, "cleanup PLcGrid2\n");
3872 free( tmpGrid2.xg );
3873 free( tmpGrid2.yg );
3874 Py_CLEAR( pltr_xg );
3875 Py_CLEAR( pltr_yg );
3876 }
3877
3878SWIGINTERN PyObject *_wrap_pltr1(PyObject *self, PyObject *args) {
3879 PyObject *resultobj = 0;
3880 PLFLT arg1 ;
3881 PLFLT arg2 ;
3882 PLFLT *arg3 = 0 ;
3883 PLFLT *arg4 = 0 ;
3884 PLcGrid *arg5 = 0 ;
3885 double val1 ;
3886 int ecode1 = 0 ;
3887 double val2 ;
3888 int ecode2 = 0 ;
3889 PLFLT temp3 ;
3890 int res3 = SWIG_TMPOBJ ;
3891 PLFLT temp4 ;
3892 int res4 = SWIG_TMPOBJ ;
3893 PyObject *swig_obj[3] ;
3894
3895 arg3 = &temp3;
3896 arg4 = &temp4;
3897 (void)self;
3898 if (!SWIG_Python_UnpackTuple(args, "pltr1", 3, 3, swig_obj)) SWIG_fail;
3899 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
3900 if (!SWIG_IsOK(ecode1)) {
3901 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pltr1" "', argument " "1"" of type '" "PLFLT""'");
3902 }
3903 arg1 = (PLFLT)(val1);
3904 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
3905 if (!SWIG_IsOK(ecode2)) {
3906 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pltr1" "', argument " "2"" of type '" "PLFLT""'");
3907 }
3908 arg2 = (PLFLT)(val2);
3909 {
3910 arg5 = marshal_PLcGrid1( swig_obj[2], 0 );
3911 if ( !arg5 )
3912 return NULL;
3913 }
3914 pltr1(arg1,arg2,arg3,arg4,arg5);
3915 resultobj = SWIG_Py_Void();
3916 if (SWIG_IsTmpObj(res3)) {
3917 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
3918 } else {
3919 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
3920 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
3921 }
3922 if (SWIG_IsTmpObj(res4)) {
3923 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
3924 } else {
3925 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
3926 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
3927 }
3928 {
3930 }
3931 return resultobj;
3932fail:
3933 {
3935 }
3936 return NULL;
3937}
3938
3939
3940SWIGINTERN PyObject *_wrap_pltr2(PyObject *self, PyObject *args) {
3941 PyObject *resultobj = 0;
3942 PLFLT arg1 ;
3943 PLFLT arg2 ;
3944 PLFLT *arg3 = 0 ;
3945 PLFLT *arg4 = 0 ;
3946 PLcGrid2 *arg5 = 0 ;
3947 double val1 ;
3948 int ecode1 = 0 ;
3949 double val2 ;
3950 int ecode2 = 0 ;
3951 PLFLT temp3 ;
3952 int res3 = SWIG_TMPOBJ ;
3953 PLFLT temp4 ;
3954 int res4 = SWIG_TMPOBJ ;
3955 PyObject *swig_obj[3] ;
3956
3957 arg3 = &temp3;
3958 arg4 = &temp4;
3959 (void)self;
3960 if (!SWIG_Python_UnpackTuple(args, "pltr2", 3, 3, swig_obj)) SWIG_fail;
3961 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
3962 if (!SWIG_IsOK(ecode1)) {
3963 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pltr2" "', argument " "1"" of type '" "PLFLT""'");
3964 }
3965 arg1 = (PLFLT)(val1);
3966 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
3967 if (!SWIG_IsOK(ecode2)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pltr2" "', argument " "2"" of type '" "PLFLT""'");
3969 }
3970 arg2 = (PLFLT)(val2);
3971 {
3972 arg5 = marshal_PLcGrid2( swig_obj[2], 0 );
3973 if ( !arg5 )
3974 return NULL;
3975 }
3976 pltr2(arg1,arg2,arg3,arg4,arg5);
3977 resultobj = SWIG_Py_Void();
3978 if (SWIG_IsTmpObj(res3)) {
3979 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
3980 } else {
3981 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
3982 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
3983 }
3984 if (SWIG_IsTmpObj(res4)) {
3985 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
3986 } else {
3987 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
3988 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
3989 }
3990 {
3992 }
3993 return resultobj;
3994fail:
3995 {
3997 }
3998 return NULL;
3999}
4000
4001
4002
4003 // helper code for handling the callback
4004#if 0
4005 static PyInterpreterState *save_interp = NULL;
4006#endif
4008 PyObject* python_pltr = NULL;
4009 PyObject* python_f2eval = NULL;
4010 PyObject* python_ct = NULL;
4011 PyObject* python_mapform = NULL;
4012 PyObject* python_label = NULL;
4013
4014#if 0
4015#define MY_BLOCK_THREADS { \
4016 PyThreadState *prev_state, *new_state; \
4017 /* need to have started a thread at some stage */ \
4018 /* for the following to work */ \
4019 PyEval_AcquireLock(); \
4020 new_state = PyThreadState_New( save_interp ); \
4021 prev_state = PyThreadState_Swap( new_state );
4022#define MY_UNBLOCK_THREADS \
4023 new_state = PyThreadState_Swap( prev_state ); \
4024 PyThreadState_Clear( new_state ); \
4025 PyEval_ReleaseLock(); \
4026 PyThreadState_Delete( new_state ); \
4027 }
4028#else
4029#define MY_BLOCK_THREADS
4030#define MY_UNBLOCK_THREADS
4031#endif
4032
4033// Function prototypes
4034 void do_pltr_callback( PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer data );
4036 void do_label_callback( PLINT axis, PLFLT value, char *string, PLINT len, PLPointer data );
4037 void do_ct_callback( PLFLT x, PLFLT y, PLFLT *xt, PLFLT *yt, PLPointer data );
4038 void do_mapform_callback( PLINT n, PLFLT *x, PLFLT *y );
4039 pltr_func marshal_pltr( PyObject* input );
4040 void cleanup_pltr( void );
4041 ct_func marshal_ct( PyObject* input );
4042 void cleanup_ct( void );
4043 mapform_func marshal_mapform( PyObject* input );
4044 void cleanup_mapform( void );
4045 PLPointer marshal_PLPointer( PyObject* input, int isimg );
4046 void cleanup_PLPointer( void );
4047
4048
4049// This is the callback that gets handed to the C code. It, in turn, calls the Python callback
4050
4051 void do_pltr_callback( PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer data )
4052 {
4053 PyObject *pdata, *arglist, *result;
4054 PyArrayObject *tmp;
4055
4056 // the data argument is acutally a pointer to a python object
4057 pdata = (PyObject *) data;
4058 if ( data == NULL )
4059 {
4060 pdata = Py_None;
4061 }
4062 if ( python_pltr ) // if not something is terribly wrong
4063 { // hold a reference to the data object
4064 Py_XINCREF( pdata );
4065 // grab the Global Interpreter Lock to be sure threads don't mess us up
4067 // build the argument list
4068#ifdef PL_DOUBLE
4069 arglist = Py_BuildValue( "(ddO)", x, y, pdata );
4070#else
4071 arglist = Py_BuildValue( "(ffO)", x, y, pdata );
4072#endif
4073 if ( arglist == NULL )
4074 {
4075 fprintf( stderr, "Py_BuildValue failed to make argument list.\n" );
4076 *tx = *ty = 0;
4077 return;
4078 }
4079 // call the python function
4080 result = PyObject_CallObject( python_pltr, arglist );
4081 // release the argument list
4082 Py_CLEAR( arglist );
4083 // check and unpack the result
4084 if ( result == NULL )
4085 {
4086 fprintf( stderr, "call to python pltr function with 3 arguments failed\n" );
4087 PyErr_SetString( PyExc_RuntimeError, "pltr callback must take 3 arguments." );
4088 *tx = *ty = 0;
4089 }
4090 else
4091 {
4092 tmp = (PyArrayObject *) myArray_ContiguousFromObject( result, NPY_PLFLT, 1, 1 );
4093 if ( tmp == 0 || PyArray_DIMS( tmp )[0] != 2 )
4094 {
4095 fprintf( stderr, "pltr callback must return a 2 element array or sequence\n" );
4096 PyErr_SetString( PyExc_RuntimeError, "pltr callback must return a 2-sequence." );
4097 *tx = *ty = 0;
4098 }
4099 else
4100 {
4101 PLFLT* t = (PLFLT *) PyArray_DATA( tmp );
4102 *tx = t[0];
4103 *ty = t[1];
4104 Py_CLEAR( tmp );
4105 }
4106 }
4107 // release the result
4108 Py_CLEAR( result );
4109 // release the global interpreter lock
4111 }
4112 }
4113
4115 {
4116 PyObject *pdata, *arglist, *result;
4117 PLFLT fresult = 0.0;
4118
4119 // the data argument is acutally a pointer to a python object
4120 pdata = (PyObject *) data;
4121 if ( python_f2eval ) // if not something is terribly wrong
4122 { // hold a reference to the data object
4123 Py_XINCREF( pdata );
4124 // grab the Global Interpreter Lock to be sure threads don't mess us up
4126 // build the argument list
4127 arglist = Py_BuildValue( "(iiO)", x, y, pdata );
4128 // call the python function
4129 result = PyObject_CallObject( python_f2eval, arglist );
4130 // release the argument list
4131 Py_CLEAR( arglist );
4132 // check and unpack the result
4133 if ( !PyFloat_Check( result ) )
4134 {
4135 fprintf( stderr, "f2eval callback must return a float\n" );
4136 PyErr_SetString( PyExc_RuntimeError, "f2eval callback must return a float." );
4137 }
4138 else
4139 {
4140 // should I test the type here?
4141 fresult = (PLFLT) PyFloat_AsDouble( result );
4142 }
4143 // release the result
4144 Py_CLEAR( result );
4145 // release the global interpreter lock
4147 }
4148 return fresult;
4149 }
4150
4151 void do_label_callback( PLINT axis, PLFLT value, char *string, PLINT len, PLPointer data )
4152 {
4153 PyObject *pdata, *arglist, *result, *unicode_string;
4154 char *pystring;
4155
4156 // the data argument is acutally a pointer to a python object
4157 if ( data )
4158 pdata = (PyObject *) data;
4159 else
4160 pdata = Py_None;
4161 if ( python_label ) // if not something is terribly wrong
4162 { // hold a reference to the data object
4163 Py_XINCREF( pdata );
4164 // grab the Global Interpreter Lock to be sure threads don't mess us up
4166 // build the argument list
4167#ifdef PL_DOUBLE
4168 arglist = Py_BuildValue( "(ldO)", axis, value, pdata );
4169#else
4170 arglist = Py_BuildValue( "(lfO)", axis, value, pdata );
4171#endif
4172 // call the python function
4173 result = PyObject_CallObject( python_label, arglist );
4174 // release the argument list
4175 //Py_CLEAR(arglist);
4176 // check and unpack the result
4177 if ( result == NULL )
4178 {
4179 fprintf( stderr, "label callback failed with 3 arguments\n" );
4180 PyErr_SetString( PyExc_RuntimeError, "label callback must take 3 arguments." );
4181 }
4182 else if ( PyBytes_Check( result ) )
4183 {
4184 // should I test the type here?
4185 pystring = PyBytes_AsString( result );
4186 strncpy( string, pystring, len );
4187 }
4188 else if ( PyUnicode_Check( result ) )
4189 {
4190 // unicode_string is never freed? memory leak here?
4191 unicode_string = PyUnicode_AsEncodedString( result, "utf-8", "Error ~" );
4192 pystring = PyBytes_AS_STRING( unicode_string );
4193 // len may be different then the byte string length w/ unicode?
4194 strncpy( string, pystring, len );
4195 }
4196 else
4197 {
4198 fprintf( stderr, "label callback must return a string\n" );
4199 PyErr_SetString( PyExc_RuntimeError, "label callback must return a string." );
4200 }
4201 // release the result
4202 Py_CLEAR( result );
4203 // release the global interpreter lock
4205 }
4206 }
4207
4208 void do_ct_callback( PLFLT x, PLFLT y, PLFLT *xt, PLFLT *yt, PLPointer data )
4209 {
4210 PyObject *px, *py, *pdata, *arglist, *result;
4211 npy_intp n;
4212 n = 1;
4213
4214 // the data argument is acutally a pointer to a python object
4215 pdata = (PyObject *) data;
4216 if ( data == NULL )
4217 {
4218 pdata = Py_None;
4219 }
4220 if ( python_ct ) // if not something is terribly wrong
4221 { // hold a reference to the data object
4222 Py_XINCREF( pdata );
4223 // grab the Global Interpreter Lock to be sure threads don't mess us up
4225 // build the argument list
4226 px = PyArray_SimpleNewFromData( 1, &n, NPY_PLFLT, (void *) xt );
4227 py = PyArray_SimpleNewFromData( 1, &n, NPY_PLFLT, (void *) yt );
4228 arglist = Py_BuildValue( "(ddOOO)", x, y, px, py, pdata );
4229 // call the python function
4230 result = PyObject_CallObject( python_ct, arglist );
4231 // release the argument list
4232 Py_CLEAR( arglist );
4233 Py_CLEAR( px );
4234 Py_CLEAR( py );
4235 Py_CLEAR( pdata );
4236 // check and unpack the result
4237 if ( result == NULL )
4238 {
4239 fprintf( stderr, "call to python coordinate transform function with 5 arguments failed\n" );
4240 PyErr_SetString( PyExc_RuntimeError, "coordinate transform callback must take 5 arguments." );
4241 }
4242 // release the result
4243 Py_CLEAR( result );
4244 // release the global interpreter lock
4246 }
4247 }
4248
4250 {
4251 PyObject *px, *py, *arglist, *result;
4252 // PyArrayObject *tmpx, *tmpy;
4253// PLFLT *xx, *yy;
4254// PLINT i;
4255 npy_intp nn;
4256 nn = n;
4257
4258 if ( python_mapform ) // if not something is terribly wrong
4259 { // grab the Global Interpreter Lock to be sure threads don't mess us up
4261 // build the argument list
4262#ifdef PL_HAVE_PTHREAD
4263 px = PyArray_SimpleNewFromData( 1, &nn, NPY_PLFLT, (void *) x );
4264 py = PyArray_SimpleNewFromData( 1, &nn, NPY_PLFLT, (void *) y );
4265#else
4266 px = PyArray_FromDimsAndData( 1, &n, NPY_PLFLT, (char *) x );
4267 py = PyArray_FromDimsAndData( 1, &n, NPY_PLFLT, (char *) y );
4268#endif
4269 arglist = Py_BuildValue( "(iOO)", n, px, py );
4270 // call the python function
4271 result = PyObject_CallObject( python_mapform, arglist );
4272 // release the argument list
4273 Py_CLEAR( arglist );
4274 Py_CLEAR( px );
4275 Py_CLEAR( py );
4276 // check and unpack the result
4277 if ( result == NULL )
4278 {
4279 fprintf( stderr, "call to python mapform function with 3 arguments failed\n" );
4280 PyErr_SetString( PyExc_RuntimeError, "mapform callback must take 3 arguments." );
4281 }
4282 // release the result
4283 Py_CLEAR( result );
4284 // release the global interpreter lock
4286 }
4287 }
4288
4289// marshal the pltr function pointer argument
4290 pltr_func marshal_pltr( PyObject* input )
4291 {
4292 pltr_func result = do_pltr_callback;
4293 PyObject * rep = PyObject_Repr( input );
4294 if ( rep )
4295 {
4296 // Memory leaks here? str and uni_str are not freed?
4297 char* str;
4298 if ( PyUnicode_Check( rep ) )
4299 {
4300 PyObject *uni_str = PyUnicode_AsEncodedString( rep, "utf-8", "Error ~" );
4301 str = PyBytes_AS_STRING( uni_str );
4302 }
4303 else
4304 {
4305 str = PyBytes_AsString( rep );
4306 }
4307 if ( strstr( str, "function pltr0" ) != 0 )
4308 {
4309 result = pltr0;
4310 pltr_type = CB_0;
4311 python_pltr = NULL;
4312 }
4313 else if ( strstr( str, "function pltr1" ) != 0 )
4314 {
4315 result = pltr1;
4316 pltr_type = CB_1;
4317 python_pltr = NULL;
4318 }
4319 else if ( strstr( str, "function pltr2" ) != 0 )
4320 {
4321 result = pltr2;
4322 pltr_type = CB_2;
4323 python_pltr = NULL;
4324 }
4325 else
4326 {
4327 python_pltr = input;
4329 Py_XINCREF( input );
4330 }
4331 Py_CLEAR( rep );
4332 }
4333 else
4334 {
4335 python_pltr = input;
4337 Py_XINCREF( input );
4338 }
4339 return result;
4340 }
4341
4342 void cleanup_pltr( void )
4343 {
4344 Py_CLEAR( python_pltr );
4345 python_pltr = 0;
4346 }
4347
4348// marshal the ct function pointer argument
4349 ct_func marshal_ct( PyObject* input )
4350 {
4351 ct_func result = do_ct_callback;
4352 python_ct = input;
4353 Py_XINCREF( input );
4354 return result;
4355 }
4356
4357 void cleanup_ct( void )
4358 {
4359 Py_CLEAR( python_ct );
4360 python_ct = 0;
4361 }
4362
4363// marshal the mapform function pointer argument
4365 {
4367 python_mapform = input;
4368 Py_XINCREF( input );
4369 return result;
4370 }
4371
4372 void cleanup_mapform( void )
4373 {
4374 Py_CLEAR( python_mapform );
4375 python_mapform = 0;
4376 }
4377
4378 PLPointer marshal_PLPointer( PyObject* input, int isimg )
4379 {
4380 PLPointer result = NULL;
4381 switch ( pltr_type )
4382 {
4383 case CB_0:
4384 break;
4385 case CB_1:
4386 if ( input != Py_None )
4387 result = marshal_PLcGrid1( input, isimg );
4388 break;
4389 case CB_2:
4390 if ( input != Py_None )
4391 result = marshal_PLcGrid2( input, isimg );
4392 break;
4393 case CB_Python:
4394 Py_XINCREF( input );
4395 result = (PLPointer *) input;
4396 break;
4397 default:
4398 fprintf( stderr, "pltr_type is invalid\n" );
4399 }
4400 return result;
4401 }
4402
4404 {
4405 switch ( pltr_type )
4406 {
4407 case CB_0:
4408 break;
4409 case CB_1:
4411 break;
4412 case CB_2:
4414 break;
4415 case CB_Python:
4416 Py_CLEAR( python_pltr );
4417 break;
4418 default:
4419 fprintf( stderr, "pltr_type is invalid\n" );
4420 }
4421 python_pltr = 0;
4422 pltr_type = CB_0;
4423 }
4424
4425
4426
4427SWIGINTERN PyObject *_wrap_PLGraphicsIn_type_set(PyObject *self, PyObject *args) {
4428 PyObject *resultobj = 0;
4429 PLGraphicsIn *arg1 = 0 ;
4430 int arg2 ;
4431 void *argp1 = 0 ;
4432 int res1 = 0 ;
4433 int val2 ;
4434 int ecode2 = 0 ;
4435 PyObject *swig_obj[2] ;
4436
4437 (void)self;
4438 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_type_set", 2, 2, swig_obj)) SWIG_fail;
4439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4440 if (!SWIG_IsOK(res1)) {
4441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_type_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4442 }
4443 arg1 = (PLGraphicsIn *)(argp1);
4444 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4445 if (!SWIG_IsOK(ecode2)) {
4446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_type_set" "', argument " "2"" of type '" "int""'");
4447 }
4448 arg2 = (int)(val2);
4449 if (arg1) (arg1)->type = arg2;
4450 resultobj = SWIG_Py_Void();
4451 return resultobj;
4452fail:
4453 return NULL;
4454}
4455
4456
4457SWIGINTERN PyObject *_wrap_PLGraphicsIn_type_get(PyObject *self, PyObject *args) {
4458 PyObject *resultobj = 0;
4459 PLGraphicsIn *arg1 = 0 ;
4460 void *argp1 = 0 ;
4461 int res1 = 0 ;
4462 PyObject *swig_obj[1] ;
4463 int result;
4464
4465 (void)self;
4466 if (!args) SWIG_fail;
4467 swig_obj[0] = args;
4468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4469 if (!SWIG_IsOK(res1)) {
4470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_type_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4471 }
4472 arg1 = (PLGraphicsIn *)(argp1);
4473 result = (int) ((arg1)->type);
4474 resultobj = SWIG_From_int((int)(result));
4475 return resultobj;
4476fail:
4477 return NULL;
4478}
4479
4480
4481SWIGINTERN PyObject *_wrap_PLGraphicsIn_state_set(PyObject *self, PyObject *args) {
4482 PyObject *resultobj = 0;
4483 PLGraphicsIn *arg1 = 0 ;
4484 unsigned int arg2 ;
4485 void *argp1 = 0 ;
4486 int res1 = 0 ;
4487 unsigned int val2 ;
4488 int ecode2 = 0 ;
4489 PyObject *swig_obj[2] ;
4490
4491 (void)self;
4492 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_state_set", 2, 2, swig_obj)) SWIG_fail;
4493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4494 if (!SWIG_IsOK(res1)) {
4495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_state_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4496 }
4497 arg1 = (PLGraphicsIn *)(argp1);
4498 ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
4499 if (!SWIG_IsOK(ecode2)) {
4500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_state_set" "', argument " "2"" of type '" "unsigned int""'");
4501 }
4502 arg2 = (unsigned int)(val2);
4503 if (arg1) (arg1)->state = arg2;
4504 resultobj = SWIG_Py_Void();
4505 return resultobj;
4506fail:
4507 return NULL;
4508}
4509
4510
4511SWIGINTERN PyObject *_wrap_PLGraphicsIn_state_get(PyObject *self, PyObject *args) {
4512 PyObject *resultobj = 0;
4513 PLGraphicsIn *arg1 = 0 ;
4514 void *argp1 = 0 ;
4515 int res1 = 0 ;
4516 PyObject *swig_obj[1] ;
4517 unsigned int result;
4518
4519 (void)self;
4520 if (!args) SWIG_fail;
4521 swig_obj[0] = args;
4522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4523 if (!SWIG_IsOK(res1)) {
4524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_state_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4525 }
4526 arg1 = (PLGraphicsIn *)(argp1);
4527 result = (unsigned int) ((arg1)->state);
4528 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4529 return resultobj;
4530fail:
4531 return NULL;
4532}
4533
4534
4535SWIGINTERN PyObject *_wrap_PLGraphicsIn_keysym_set(PyObject *self, PyObject *args) {
4536 PyObject *resultobj = 0;
4537 PLGraphicsIn *arg1 = 0 ;
4538 unsigned int arg2 ;
4539 void *argp1 = 0 ;
4540 int res1 = 0 ;
4541 unsigned int val2 ;
4542 int ecode2 = 0 ;
4543 PyObject *swig_obj[2] ;
4544
4545 (void)self;
4546 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_keysym_set", 2, 2, swig_obj)) SWIG_fail;
4547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4548 if (!SWIG_IsOK(res1)) {
4549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_keysym_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4550 }
4551 arg1 = (PLGraphicsIn *)(argp1);
4552 ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
4553 if (!SWIG_IsOK(ecode2)) {
4554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_keysym_set" "', argument " "2"" of type '" "unsigned int""'");
4555 }
4556 arg2 = (unsigned int)(val2);
4557 if (arg1) (arg1)->keysym = arg2;
4558 resultobj = SWIG_Py_Void();
4559 return resultobj;
4560fail:
4561 return NULL;
4562}
4563
4564
4565SWIGINTERN PyObject *_wrap_PLGraphicsIn_keysym_get(PyObject *self, PyObject *args) {
4566 PyObject *resultobj = 0;
4567 PLGraphicsIn *arg1 = 0 ;
4568 void *argp1 = 0 ;
4569 int res1 = 0 ;
4570 PyObject *swig_obj[1] ;
4571 unsigned int result;
4572
4573 (void)self;
4574 if (!args) SWIG_fail;
4575 swig_obj[0] = args;
4576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4577 if (!SWIG_IsOK(res1)) {
4578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_keysym_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4579 }
4580 arg1 = (PLGraphicsIn *)(argp1);
4581 result = (unsigned int) ((arg1)->keysym);
4582 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4583 return resultobj;
4584fail:
4585 return NULL;
4586}
4587
4588
4589SWIGINTERN PyObject *_wrap_PLGraphicsIn_button_set(PyObject *self, PyObject *args) {
4590 PyObject *resultobj = 0;
4591 PLGraphicsIn *arg1 = 0 ;
4592 unsigned int arg2 ;
4593 void *argp1 = 0 ;
4594 int res1 = 0 ;
4595 unsigned int val2 ;
4596 int ecode2 = 0 ;
4597 PyObject *swig_obj[2] ;
4598
4599 (void)self;
4600 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_button_set", 2, 2, swig_obj)) SWIG_fail;
4601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4602 if (!SWIG_IsOK(res1)) {
4603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_button_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4604 }
4605 arg1 = (PLGraphicsIn *)(argp1);
4606 ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
4607 if (!SWIG_IsOK(ecode2)) {
4608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_button_set" "', argument " "2"" of type '" "unsigned int""'");
4609 }
4610 arg2 = (unsigned int)(val2);
4611 if (arg1) (arg1)->button = arg2;
4612 resultobj = SWIG_Py_Void();
4613 return resultobj;
4614fail:
4615 return NULL;
4616}
4617
4618
4619SWIGINTERN PyObject *_wrap_PLGraphicsIn_button_get(PyObject *self, PyObject *args) {
4620 PyObject *resultobj = 0;
4621 PLGraphicsIn *arg1 = 0 ;
4622 void *argp1 = 0 ;
4623 int res1 = 0 ;
4624 PyObject *swig_obj[1] ;
4625 unsigned int result;
4626
4627 (void)self;
4628 if (!args) SWIG_fail;
4629 swig_obj[0] = args;
4630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4631 if (!SWIG_IsOK(res1)) {
4632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_button_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4633 }
4634 arg1 = (PLGraphicsIn *)(argp1);
4635 result = (unsigned int) ((arg1)->button);
4636 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4637 return resultobj;
4638fail:
4639 return NULL;
4640}
4641
4642
4643SWIGINTERN PyObject *_wrap_PLGraphicsIn_subwindow_set(PyObject *self, PyObject *args) {
4644 PyObject *resultobj = 0;
4645 PLGraphicsIn *arg1 = 0 ;
4646 PLINT arg2 ;
4647 void *argp1 = 0 ;
4648 int res1 = 0 ;
4649 int val2 ;
4650 int ecode2 = 0 ;
4651 PyObject *swig_obj[2] ;
4652
4653 (void)self;
4654 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_subwindow_set", 2, 2, swig_obj)) SWIG_fail;
4655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4656 if (!SWIG_IsOK(res1)) {
4657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_subwindow_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4658 }
4659 arg1 = (PLGraphicsIn *)(argp1);
4660 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4661 if (!SWIG_IsOK(ecode2)) {
4662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_subwindow_set" "', argument " "2"" of type '" "PLINT""'");
4663 }
4664 arg2 = (PLINT)(val2);
4665 if (arg1) (arg1)->subwindow = arg2;
4666 resultobj = SWIG_Py_Void();
4667 return resultobj;
4668fail:
4669 return NULL;
4670}
4671
4672
4673SWIGINTERN PyObject *_wrap_PLGraphicsIn_subwindow_get(PyObject *self, PyObject *args) {
4674 PyObject *resultobj = 0;
4675 PLGraphicsIn *arg1 = 0 ;
4676 void *argp1 = 0 ;
4677 int res1 = 0 ;
4678 PyObject *swig_obj[1] ;
4679 PLINT result;
4680
4681 (void)self;
4682 if (!args) SWIG_fail;
4683 swig_obj[0] = args;
4684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4685 if (!SWIG_IsOK(res1)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_subwindow_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4687 }
4688 arg1 = (PLGraphicsIn *)(argp1);
4689 result = (PLINT) ((arg1)->subwindow);
4690 resultobj = SWIG_From_int((int)(result));
4691 return resultobj;
4692fail:
4693 return NULL;
4694}
4695
4696
4697SWIGINTERN PyObject *_wrap_PLGraphicsIn_string_set(PyObject *self, PyObject *args) {
4698 PyObject *resultobj = 0;
4699 PLGraphicsIn *arg1 = 0 ;
4700 char *arg2 = (char *)0 ;
4701 void *argp1 = 0 ;
4702 int res1 = 0 ;
4703 char temp2[16] ;
4704 int res2 ;
4705 PyObject *swig_obj[2] ;
4706
4707 (void)self;
4708 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_string_set", 2, 2, swig_obj)) SWIG_fail;
4709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4710 if (!SWIG_IsOK(res1)) {
4711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_string_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4712 }
4713 arg1 = (PLGraphicsIn *)(argp1);
4714 res2 = SWIG_AsCharArray(swig_obj[1], temp2, 16);
4715 if (!SWIG_IsOK(res2)) {
4716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PLGraphicsIn_string_set" "', argument " "2"" of type '" "char [16]""'");
4717 }
4718 arg2 = (char *)(temp2);
4719 if (arg2) memcpy(arg1->string,arg2,16*sizeof(char));
4720 else memset(arg1->string,0,16*sizeof(char));
4721 resultobj = SWIG_Py_Void();
4722 return resultobj;
4723fail:
4724 return NULL;
4725}
4726
4727
4728SWIGINTERN PyObject *_wrap_PLGraphicsIn_string_get(PyObject *self, PyObject *args) {
4729 PyObject *resultobj = 0;
4730 PLGraphicsIn *arg1 = 0 ;
4731 void *argp1 = 0 ;
4732 int res1 = 0 ;
4733 PyObject *swig_obj[1] ;
4734 char *result = 0 ;
4735
4736 (void)self;
4737 if (!args) SWIG_fail;
4738 swig_obj[0] = args;
4739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4740 if (!SWIG_IsOK(res1)) {
4741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_string_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4742 }
4743 arg1 = (PLGraphicsIn *)(argp1);
4744 result = (char *)(char *) ((arg1)->string);
4745 {
4746 size_t size = SWIG_strnlen(result, 16);
4747
4748
4749
4750 resultobj = SWIG_FromCharPtrAndSize(result, size);
4751 }
4752 return resultobj;
4753fail:
4754 return NULL;
4755}
4756
4757
4758SWIGINTERN PyObject *_wrap_PLGraphicsIn_pX_set(PyObject *self, PyObject *args) {
4759 PyObject *resultobj = 0;
4760 PLGraphicsIn *arg1 = 0 ;
4761 int arg2 ;
4762 void *argp1 = 0 ;
4763 int res1 = 0 ;
4764 int val2 ;
4765 int ecode2 = 0 ;
4766 PyObject *swig_obj[2] ;
4767
4768 (void)self;
4769 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_pX_set", 2, 2, swig_obj)) SWIG_fail;
4770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4771 if (!SWIG_IsOK(res1)) {
4772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pX_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4773 }
4774 arg1 = (PLGraphicsIn *)(argp1);
4775 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4776 if (!SWIG_IsOK(ecode2)) {
4777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_pX_set" "', argument " "2"" of type '" "int""'");
4778 }
4779 arg2 = (int)(val2);
4780 if (arg1) (arg1)->pX = arg2;
4781 resultobj = SWIG_Py_Void();
4782 return resultobj;
4783fail:
4784 return NULL;
4785}
4786
4787
4788SWIGINTERN PyObject *_wrap_PLGraphicsIn_pX_get(PyObject *self, PyObject *args) {
4789 PyObject *resultobj = 0;
4790 PLGraphicsIn *arg1 = 0 ;
4791 void *argp1 = 0 ;
4792 int res1 = 0 ;
4793 PyObject *swig_obj[1] ;
4794 int result;
4795
4796 (void)self;
4797 if (!args) SWIG_fail;
4798 swig_obj[0] = args;
4799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4800 if (!SWIG_IsOK(res1)) {
4801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pX_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4802 }
4803 arg1 = (PLGraphicsIn *)(argp1);
4804 result = (int) ((arg1)->pX);
4805 resultobj = SWIG_From_int((int)(result));
4806 return resultobj;
4807fail:
4808 return NULL;
4809}
4810
4811
4812SWIGINTERN PyObject *_wrap_PLGraphicsIn_pY_set(PyObject *self, PyObject *args) {
4813 PyObject *resultobj = 0;
4814 PLGraphicsIn *arg1 = 0 ;
4815 int arg2 ;
4816 void *argp1 = 0 ;
4817 int res1 = 0 ;
4818 int val2 ;
4819 int ecode2 = 0 ;
4820 PyObject *swig_obj[2] ;
4821
4822 (void)self;
4823 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_pY_set", 2, 2, swig_obj)) SWIG_fail;
4824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4825 if (!SWIG_IsOK(res1)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pY_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4827 }
4828 arg1 = (PLGraphicsIn *)(argp1);
4829 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4830 if (!SWIG_IsOK(ecode2)) {
4831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_pY_set" "', argument " "2"" of type '" "int""'");
4832 }
4833 arg2 = (int)(val2);
4834 if (arg1) (arg1)->pY = arg2;
4835 resultobj = SWIG_Py_Void();
4836 return resultobj;
4837fail:
4838 return NULL;
4839}
4840
4841
4842SWIGINTERN PyObject *_wrap_PLGraphicsIn_pY_get(PyObject *self, PyObject *args) {
4843 PyObject *resultobj = 0;
4844 PLGraphicsIn *arg1 = 0 ;
4845 void *argp1 = 0 ;
4846 int res1 = 0 ;
4847 PyObject *swig_obj[1] ;
4848 int result;
4849
4850 (void)self;
4851 if (!args) SWIG_fail;
4852 swig_obj[0] = args;
4853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4854 if (!SWIG_IsOK(res1)) {
4855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pY_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4856 }
4857 arg1 = (PLGraphicsIn *)(argp1);
4858 result = (int) ((arg1)->pY);
4859 resultobj = SWIG_From_int((int)(result));
4860 return resultobj;
4861fail:
4862 return NULL;
4863}
4864
4865
4866SWIGINTERN PyObject *_wrap_PLGraphicsIn_dX_set(PyObject *self, PyObject *args) {
4867 PyObject *resultobj = 0;
4868 PLGraphicsIn *arg1 = 0 ;
4869 PLFLT arg2 ;
4870 void *argp1 = 0 ;
4871 int res1 = 0 ;
4872 double val2 ;
4873 int ecode2 = 0 ;
4874 PyObject *swig_obj[2] ;
4875
4876 (void)self;
4877 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_dX_set", 2, 2, swig_obj)) SWIG_fail;
4878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4879 if (!SWIG_IsOK(res1)) {
4880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dX_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4881 }
4882 arg1 = (PLGraphicsIn *)(argp1);
4883 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
4884 if (!SWIG_IsOK(ecode2)) {
4885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_dX_set" "', argument " "2"" of type '" "PLFLT""'");
4886 }
4887 arg2 = (PLFLT)(val2);
4888 if (arg1) (arg1)->dX = arg2;
4889 resultobj = SWIG_Py_Void();
4890 return resultobj;
4891fail:
4892 return NULL;
4893}
4894
4895
4896SWIGINTERN PyObject *_wrap_PLGraphicsIn_dX_get(PyObject *self, PyObject *args) {
4897 PyObject *resultobj = 0;
4898 PLGraphicsIn *arg1 = 0 ;
4899 void *argp1 = 0 ;
4900 int res1 = 0 ;
4901 PyObject *swig_obj[1] ;
4902 PLFLT result;
4903
4904 (void)self;
4905 if (!args) SWIG_fail;
4906 swig_obj[0] = args;
4907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4908 if (!SWIG_IsOK(res1)) {
4909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dX_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4910 }
4911 arg1 = (PLGraphicsIn *)(argp1);
4912 result = (PLFLT) ((arg1)->dX);
4913 resultobj = SWIG_From_double((double)(result));
4914 return resultobj;
4915fail:
4916 return NULL;
4917}
4918
4919
4920SWIGINTERN PyObject *_wrap_PLGraphicsIn_dY_set(PyObject *self, PyObject *args) {
4921 PyObject *resultobj = 0;
4922 PLGraphicsIn *arg1 = 0 ;
4923 PLFLT arg2 ;
4924 void *argp1 = 0 ;
4925 int res1 = 0 ;
4926 double val2 ;
4927 int ecode2 = 0 ;
4928 PyObject *swig_obj[2] ;
4929
4930 (void)self;
4931 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_dY_set", 2, 2, swig_obj)) SWIG_fail;
4932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4933 if (!SWIG_IsOK(res1)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dY_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4935 }
4936 arg1 = (PLGraphicsIn *)(argp1);
4937 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
4938 if (!SWIG_IsOK(ecode2)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_dY_set" "', argument " "2"" of type '" "PLFLT""'");
4940 }
4941 arg2 = (PLFLT)(val2);
4942 if (arg1) (arg1)->dY = arg2;
4943 resultobj = SWIG_Py_Void();
4944 return resultobj;
4945fail:
4946 return NULL;
4947}
4948
4949
4950SWIGINTERN PyObject *_wrap_PLGraphicsIn_dY_get(PyObject *self, PyObject *args) {
4951 PyObject *resultobj = 0;
4952 PLGraphicsIn *arg1 = 0 ;
4953 void *argp1 = 0 ;
4954 int res1 = 0 ;
4955 PyObject *swig_obj[1] ;
4956 PLFLT result;
4957
4958 (void)self;
4959 if (!args) SWIG_fail;
4960 swig_obj[0] = args;
4961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4962 if (!SWIG_IsOK(res1)) {
4963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dY_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4964 }
4965 arg1 = (PLGraphicsIn *)(argp1);
4966 result = (PLFLT) ((arg1)->dY);
4967 resultobj = SWIG_From_double((double)(result));
4968 return resultobj;
4969fail:
4970 return NULL;
4971}
4972
4973
4974SWIGINTERN PyObject *_wrap_PLGraphicsIn_wX_set(PyObject *self, PyObject *args) {
4975 PyObject *resultobj = 0;
4976 PLGraphicsIn *arg1 = 0 ;
4977 PLFLT arg2 ;
4978 void *argp1 = 0 ;
4979 int res1 = 0 ;
4980 double val2 ;
4981 int ecode2 = 0 ;
4982 PyObject *swig_obj[2] ;
4983
4984 (void)self;
4985 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_wX_set", 2, 2, swig_obj)) SWIG_fail;
4986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
4987 if (!SWIG_IsOK(res1)) {
4988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wX_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
4989 }
4990 arg1 = (PLGraphicsIn *)(argp1);
4991 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
4992 if (!SWIG_IsOK(ecode2)) {
4993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_wX_set" "', argument " "2"" of type '" "PLFLT""'");
4994 }
4995 arg2 = (PLFLT)(val2);
4996 if (arg1) (arg1)->wX = arg2;
4997 resultobj = SWIG_Py_Void();
4998 return resultobj;
4999fail:
5000 return NULL;
5001}
5002
5003
5004SWIGINTERN PyObject *_wrap_PLGraphicsIn_wX_get(PyObject *self, PyObject *args) {
5005 PyObject *resultobj = 0;
5006 PLGraphicsIn *arg1 = 0 ;
5007 void *argp1 = 0 ;
5008 int res1 = 0 ;
5009 PyObject *swig_obj[1] ;
5010 PLFLT result;
5011
5012 (void)self;
5013 if (!args) SWIG_fail;
5014 swig_obj[0] = args;
5015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5016 if (!SWIG_IsOK(res1)) {
5017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wX_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5018 }
5019 arg1 = (PLGraphicsIn *)(argp1);
5020 result = (PLFLT) ((arg1)->wX);
5021 resultobj = SWIG_From_double((double)(result));
5022 return resultobj;
5023fail:
5024 return NULL;
5025}
5026
5027
5028SWIGINTERN PyObject *_wrap_PLGraphicsIn_wY_set(PyObject *self, PyObject *args) {
5029 PyObject *resultobj = 0;
5030 PLGraphicsIn *arg1 = 0 ;
5031 PLFLT arg2 ;
5032 void *argp1 = 0 ;
5033 int res1 = 0 ;
5034 double val2 ;
5035 int ecode2 = 0 ;
5036 PyObject *swig_obj[2] ;
5037
5038 (void)self;
5039 if (!SWIG_Python_UnpackTuple(args, "PLGraphicsIn_wY_set", 2, 2, swig_obj)) SWIG_fail;
5040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5041 if (!SWIG_IsOK(res1)) {
5042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wY_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5043 }
5044 arg1 = (PLGraphicsIn *)(argp1);
5045 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5046 if (!SWIG_IsOK(ecode2)) {
5047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_wY_set" "', argument " "2"" of type '" "PLFLT""'");
5048 }
5049 arg2 = (PLFLT)(val2);
5050 if (arg1) (arg1)->wY = arg2;
5051 resultobj = SWIG_Py_Void();
5052 return resultobj;
5053fail:
5054 return NULL;
5055}
5056
5057
5058SWIGINTERN PyObject *_wrap_PLGraphicsIn_wY_get(PyObject *self, PyObject *args) {
5059 PyObject *resultobj = 0;
5060 PLGraphicsIn *arg1 = 0 ;
5061 void *argp1 = 0 ;
5062 int res1 = 0 ;
5063 PyObject *swig_obj[1] ;
5064 PLFLT result;
5065
5066 (void)self;
5067 if (!args) SWIG_fail;
5068 swig_obj[0] = args;
5069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
5070 if (!SWIG_IsOK(res1)) {
5071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wY_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5072 }
5073 arg1 = (PLGraphicsIn *)(argp1);
5074 result = (PLFLT) ((arg1)->wY);
5075 resultobj = SWIG_From_double((double)(result));
5076 return resultobj;
5077fail:
5078 return NULL;
5079}
5080
5081
5082SWIGINTERN PyObject *_wrap_new_PLGraphicsIn(PyObject *self, PyObject *args) {
5083 PyObject *resultobj = 0;
5084 PLGraphicsIn *result = 0 ;
5085
5086 (void)self;
5087 if (!SWIG_Python_UnpackTuple(args, "new_PLGraphicsIn", 0, 0, 0)) SWIG_fail;
5088 result = (PLGraphicsIn *)calloc(1, sizeof(PLGraphicsIn));
5090 return resultobj;
5091fail:
5092 return NULL;
5093}
5094
5095
5096SWIGINTERN PyObject *_wrap_delete_PLGraphicsIn(PyObject *self, PyObject *args) {
5097 PyObject *resultobj = 0;
5098 PLGraphicsIn *arg1 = 0 ;
5099 void *argp1 = 0 ;
5100 int res1 = 0 ;
5101 PyObject *swig_obj[1] ;
5102
5103 (void)self;
5104 if (!args) SWIG_fail;
5105 swig_obj[0] = args;
5106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, SWIG_POINTER_DISOWN | 0 );
5107 if (!SWIG_IsOK(res1)) {
5108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PLGraphicsIn" "', argument " "1"" of type '" "PLGraphicsIn *""'");
5109 }
5110 arg1 = (PLGraphicsIn *)(argp1);
5111 free((char *) arg1);
5112 resultobj = SWIG_Py_Void();
5113 return resultobj;
5114fail:
5115 return NULL;
5116}
5117
5118
5119SWIGINTERN PyObject *PLGraphicsIn_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5120 PyObject *obj = NULL;
5121 if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
5123 return SWIG_Py_Void();
5124}
5125
5126SWIGINTERN PyObject *PLGraphicsIn_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5127 return SWIG_Python_InitShadowInstance(args);
5128}
5129
5130SWIGINTERN PyObject *_wrap_plsxwin(PyObject *self, PyObject *args) {
5131 PyObject *resultobj = 0;
5132 PLINT arg1 ;
5133 int val1 ;
5134 int ecode1 = 0 ;
5135 PyObject *swig_obj[1] ;
5136
5137 (void)self;
5138 if (!args) SWIG_fail;
5139 swig_obj[0] = args;
5140 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
5141 if (!SWIG_IsOK(ecode1)) {
5142 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsxwin" "', argument " "1"" of type '" "PLINT""'");
5143 }
5144 arg1 = (PLINT)(val1);
5145 plsxwin(arg1);
5146 resultobj = SWIG_Py_Void();
5147 return resultobj;
5148fail:
5149 return NULL;
5150}
5151
5152
5153SWIGINTERN PyObject *_wrap_pl_setcontlabelformat(PyObject *self, PyObject *args) {
5154 PyObject *resultobj = 0;
5155 PLINT arg1 ;
5156 PLINT arg2 ;
5157 int val1 ;
5158 int ecode1 = 0 ;
5159 int val2 ;
5160 int ecode2 = 0 ;
5161 PyObject *swig_obj[2] ;
5162
5163 (void)self;
5164 if (!SWIG_Python_UnpackTuple(args, "pl_setcontlabelformat", 2, 2, swig_obj)) SWIG_fail;
5165 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
5166 if (!SWIG_IsOK(ecode1)) {
5167 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pl_setcontlabelformat" "', argument " "1"" of type '" "PLINT""'");
5168 }
5169 arg1 = (PLINT)(val1);
5170 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
5171 if (!SWIG_IsOK(ecode2)) {
5172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pl_setcontlabelformat" "', argument " "2"" of type '" "PLINT""'");
5173 }
5174 arg2 = (PLINT)(val2);
5175 pl_setcontlabelformat(arg1,arg2);
5176 resultobj = SWIG_Py_Void();
5177 return resultobj;
5178fail:
5179 return NULL;
5180}
5181
5182
5183SWIGINTERN PyObject *_wrap_pl_setcontlabelparam(PyObject *self, PyObject *args) {
5184 PyObject *resultobj = 0;
5185 PLFLT arg1 ;
5186 PLFLT arg2 ;
5187 PLFLT arg3 ;
5188 PLINT arg4 ;
5189 double val1 ;
5190 int ecode1 = 0 ;
5191 double val2 ;
5192 int ecode2 = 0 ;
5193 double val3 ;
5194 int ecode3 = 0 ;
5195 int val4 ;
5196 int ecode4 = 0 ;
5197 PyObject *swig_obj[4] ;
5198
5199 (void)self;
5200 if (!SWIG_Python_UnpackTuple(args, "pl_setcontlabelparam", 4, 4, swig_obj)) SWIG_fail;
5201 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
5202 if (!SWIG_IsOK(ecode1)) {
5203 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pl_setcontlabelparam" "', argument " "1"" of type '" "PLFLT""'");
5204 }
5205 arg1 = (PLFLT)(val1);
5206 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5207 if (!SWIG_IsOK(ecode2)) {
5208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pl_setcontlabelparam" "', argument " "2"" of type '" "PLFLT""'");
5209 }
5210 arg2 = (PLFLT)(val2);
5211 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
5212 if (!SWIG_IsOK(ecode3)) {
5213 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pl_setcontlabelparam" "', argument " "3"" of type '" "PLFLT""'");
5214 }
5215 arg3 = (PLFLT)(val3);
5216 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
5217 if (!SWIG_IsOK(ecode4)) {
5218 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pl_setcontlabelparam" "', argument " "4"" of type '" "PLINT""'");
5219 }
5220 arg4 = (PLINT)(val4);
5221 pl_setcontlabelparam(arg1,arg2,arg3,arg4);
5222 resultobj = SWIG_Py_Void();
5223 return resultobj;
5224fail:
5225 return NULL;
5226}
5227
5228
5229SWIGINTERN PyObject *_wrap_pladv(PyObject *self, PyObject *args) {
5230 PyObject *resultobj = 0;
5231 PLINT arg1 ;
5232 int val1 ;
5233 int ecode1 = 0 ;
5234 PyObject *swig_obj[1] ;
5235
5236 (void)self;
5237 if (!args) SWIG_fail;
5238 swig_obj[0] = args;
5239 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
5240 if (!SWIG_IsOK(ecode1)) {
5241 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pladv" "', argument " "1"" of type '" "PLINT""'");
5242 }
5243 arg1 = (PLINT)(val1);
5244 pladv(arg1);
5245 resultobj = SWIG_Py_Void();
5246 return resultobj;
5247fail:
5248 return NULL;
5249}
5250
5251
5252SWIGINTERN PyObject *_wrap_plarc(PyObject *self, PyObject *args) {
5253 PyObject *resultobj = 0;
5254 PLFLT arg1 ;
5255 PLFLT arg2 ;
5256 PLFLT arg3 ;
5257 PLFLT arg4 ;
5258 PLFLT arg5 ;
5259 PLFLT arg6 ;
5260 PLFLT arg7 ;
5261 PLBOOL arg8 ;
5262 double val1 ;
5263 int ecode1 = 0 ;
5264 double val2 ;
5265 int ecode2 = 0 ;
5266 double val3 ;
5267 int ecode3 = 0 ;
5268 double val4 ;
5269 int ecode4 = 0 ;
5270 double val5 ;
5271 int ecode5 = 0 ;
5272 double val6 ;
5273 int ecode6 = 0 ;
5274 double val7 ;
5275 int ecode7 = 0 ;
5276 int val8 ;
5277 int ecode8 = 0 ;
5278 PyObject *swig_obj[8] ;
5279
5280 (void)self;
5281 if (!SWIG_Python_UnpackTuple(args, "plarc", 8, 8, swig_obj)) SWIG_fail;
5282 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
5283 if (!SWIG_IsOK(ecode1)) {
5284 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plarc" "', argument " "1"" of type '" "PLFLT""'");
5285 }
5286 arg1 = (PLFLT)(val1);
5287 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5288 if (!SWIG_IsOK(ecode2)) {
5289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plarc" "', argument " "2"" of type '" "PLFLT""'");
5290 }
5291 arg2 = (PLFLT)(val2);
5292 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
5293 if (!SWIG_IsOK(ecode3)) {
5294 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plarc" "', argument " "3"" of type '" "PLFLT""'");
5295 }
5296 arg3 = (PLFLT)(val3);
5297 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
5298 if (!SWIG_IsOK(ecode4)) {
5299 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plarc" "', argument " "4"" of type '" "PLFLT""'");
5300 }
5301 arg4 = (PLFLT)(val4);
5302 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
5303 if (!SWIG_IsOK(ecode5)) {
5304 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plarc" "', argument " "5"" of type '" "PLFLT""'");
5305 }
5306 arg5 = (PLFLT)(val5);
5307 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
5308 if (!SWIG_IsOK(ecode6)) {
5309 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plarc" "', argument " "6"" of type '" "PLFLT""'");
5310 }
5311 arg6 = (PLFLT)(val6);
5312 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
5313 if (!SWIG_IsOK(ecode7)) {
5314 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plarc" "', argument " "7"" of type '" "PLFLT""'");
5315 }
5316 arg7 = (PLFLT)(val7);
5317 ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
5318 if (!SWIG_IsOK(ecode8)) {
5319 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plarc" "', argument " "8"" of type '" "PLBOOL""'");
5320 }
5321 arg8 = (PLBOOL)(val8);
5322 plarc(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5323 resultobj = SWIG_Py_Void();
5324 return resultobj;
5325fail:
5326 return NULL;
5327}
5328
5329
5330SWIGINTERN PyObject *_wrap_plaxes(PyObject *self, PyObject *args) {
5331 PyObject *resultobj = 0;
5332 PLFLT arg1 ;
5333 PLFLT arg2 ;
5334 char *arg3 = 0 ;
5335 PLFLT arg4 ;
5336 PLINT arg5 ;
5337 char *arg6 = 0 ;
5338 PLFLT arg7 ;
5339 PLINT arg8 ;
5340 double val1 ;
5341 int ecode1 = 0 ;
5342 double val2 ;
5343 int ecode2 = 0 ;
5344 int res3 ;
5345 char *buf3 = 0 ;
5346 int alloc3 = 0 ;
5347 double val4 ;
5348 int ecode4 = 0 ;
5349 int val5 ;
5350 int ecode5 = 0 ;
5351 int res6 ;
5352 char *buf6 = 0 ;
5353 int alloc6 = 0 ;
5354 double val7 ;
5355 int ecode7 = 0 ;
5356 int val8 ;
5357 int ecode8 = 0 ;
5358 PyObject *swig_obj[8] ;
5359
5360 (void)self;
5361 if (!SWIG_Python_UnpackTuple(args, "plaxes", 8, 8, swig_obj)) SWIG_fail;
5362 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
5363 if (!SWIG_IsOK(ecode1)) {
5364 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plaxes" "', argument " "1"" of type '" "PLFLT""'");
5365 }
5366 arg1 = (PLFLT)(val1);
5367 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5368 if (!SWIG_IsOK(ecode2)) {
5369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plaxes" "', argument " "2"" of type '" "PLFLT""'");
5370 }
5371 arg2 = (PLFLT)(val2);
5372 res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
5373 if (!SWIG_IsOK(res3)) {
5374 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "plaxes" "', argument " "3"" of type '" "char const *""'");
5375 }
5376 arg3 = (char *)(buf3);
5377 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
5378 if (!SWIG_IsOK(ecode4)) {
5379 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plaxes" "', argument " "4"" of type '" "PLFLT""'");
5380 }
5381 arg4 = (PLFLT)(val4);
5382 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
5383 if (!SWIG_IsOK(ecode5)) {
5384 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plaxes" "', argument " "5"" of type '" "PLINT""'");
5385 }
5386 arg5 = (PLINT)(val5);
5387 res6 = SWIG_AsCharPtrAndSize(swig_obj[5], &buf6, NULL, &alloc6);
5388 if (!SWIG_IsOK(res6)) {
5389 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plaxes" "', argument " "6"" of type '" "char const *""'");
5390 }
5391 arg6 = (char *)(buf6);
5392 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
5393 if (!SWIG_IsOK(ecode7)) {
5394 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plaxes" "', argument " "7"" of type '" "PLFLT""'");
5395 }
5396 arg7 = (PLFLT)(val7);
5397 ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
5398 if (!SWIG_IsOK(ecode8)) {
5399 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plaxes" "', argument " "8"" of type '" "PLINT""'");
5400 }
5401 arg8 = (PLINT)(val8);
5402 plaxes(arg1,arg2,(char const *)arg3,arg4,arg5,(char const *)arg6,arg7,arg8);
5403 resultobj = SWIG_Py_Void();
5404 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5405 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
5406 return resultobj;
5407fail:
5408 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
5409 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
5410 return NULL;
5411}
5412
5413
5414SWIGINTERN PyObject *_wrap_plbin(PyObject *self, PyObject *args) {
5415 PyObject *resultobj = 0;
5416 PLINT arg1 ;
5417 PLFLT *arg2 = 0 ;
5418 PLFLT *arg3 = 0 ;
5419 PLINT arg4 ;
5420 PyArrayObject *tmp1 = NULL ;
5421 PyArrayObject *tmp3 = NULL ;
5422 int val4 ;
5423 int ecode4 = 0 ;
5424 PyObject *swig_obj[3] ;
5425
5426 (void)self;
5427 if (!SWIG_Python_UnpackTuple(args, "plbin", 3, 3, swig_obj)) SWIG_fail;
5428 {
5429 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
5430 if ( tmp1 == NULL )
5431 return NULL;
5432 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
5433 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
5434 }
5435 {
5436 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
5437 if ( tmp3 == NULL )
5438 return NULL;
5439 if ( PyArray_DIMS( tmp3 )[0] != Alen )
5440 {
5441 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
5442 return NULL;
5443 }
5444 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
5445 }
5446 ecode4 = SWIG_AsVal_int(swig_obj[2], &val4);
5447 if (!SWIG_IsOK(ecode4)) {
5448 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plbin" "', argument " "4"" of type '" "PLINT""'");
5449 }
5450 arg4 = (PLINT)(val4);
5451 plbin(arg1,(double const *)arg2,(double const *)arg3,arg4);
5452 resultobj = SWIG_Py_Void();
5453 {
5454 Py_CLEAR( tmp1 );
5455 }
5456 {
5457 Py_CLEAR( tmp3 );
5458 }
5459 return resultobj;
5460fail:
5461 {
5462 Py_CLEAR( tmp1 );
5463 }
5464 {
5465 Py_CLEAR( tmp3 );
5466 }
5467 return NULL;
5468}
5469
5470
5471SWIGINTERN PyObject *_wrap_plbtime(PyObject *self, PyObject *args) {
5472 PyObject *resultobj = 0;
5473 PLINT *arg1 = 0 ;
5474 PLINT *arg2 = 0 ;
5475 PLINT *arg3 = 0 ;
5476 PLINT *arg4 = 0 ;
5477 PLINT *arg5 = 0 ;
5478 PLFLT *arg6 = 0 ;
5479 PLFLT arg7 ;
5480 PLINT temp1 ;
5481 int res1 = SWIG_TMPOBJ ;
5482 PLINT temp2 ;
5483 int res2 = SWIG_TMPOBJ ;
5484 PLINT temp3 ;
5485 int res3 = SWIG_TMPOBJ ;
5486 PLINT temp4 ;
5487 int res4 = SWIG_TMPOBJ ;
5488 PLINT temp5 ;
5489 int res5 = SWIG_TMPOBJ ;
5490 PLFLT temp6 ;
5491 int res6 = SWIG_TMPOBJ ;
5492 double val7 ;
5493 int ecode7 = 0 ;
5494 PyObject *swig_obj[1] ;
5495
5496 arg1 = &temp1;
5497 arg2 = &temp2;
5498 arg3 = &temp3;
5499 arg4 = &temp4;
5500 arg5 = &temp5;
5501 arg6 = &temp6;
5502 (void)self;
5503 if (!args) SWIG_fail;
5504 swig_obj[0] = args;
5505 ecode7 = SWIG_AsVal_double(swig_obj[0], &val7);
5506 if (!SWIG_IsOK(ecode7)) {
5507 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plbtime" "', argument " "7"" of type '" "PLFLT""'");
5508 }
5509 arg7 = (PLFLT)(val7);
5510 plbtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5511 resultobj = SWIG_Py_Void();
5512 if (SWIG_IsTmpObj(res1)) {
5513 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
5514 } else {
5515 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5516 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
5517 }
5518 if (SWIG_IsTmpObj(res2)) {
5519 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
5520 } else {
5521 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5522 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
5523 }
5524 if (SWIG_IsTmpObj(res3)) {
5525 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
5526 } else {
5527 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5528 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
5529 }
5530 if (SWIG_IsTmpObj(res4)) {
5531 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)), 1);
5532 } else {
5533 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5534 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags), 1);
5535 }
5536 if (SWIG_IsTmpObj(res5)) {
5537 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)), 1);
5538 } else {
5539 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5540 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags), 1);
5541 }
5542 if (SWIG_IsTmpObj(res6)) {
5543 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg6)), 1);
5544 } else {
5545 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5546 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags), 1);
5547 }
5548 return resultobj;
5549fail:
5550 return NULL;
5551}
5552
5553
5554SWIGINTERN PyObject *_wrap_plbop(PyObject *self, PyObject *args) {
5555 PyObject *resultobj = 0;
5556
5557 (void)self;
5558 if (!SWIG_Python_UnpackTuple(args, "plbop", 0, 0, 0)) SWIG_fail;
5559 plbop();
5560 resultobj = SWIG_Py_Void();
5561 return resultobj;
5562fail:
5563 return NULL;
5564}
5565
5566
5567SWIGINTERN PyObject *_wrap_plbox(PyObject *self, PyObject *args) {
5568 PyObject *resultobj = 0;
5569 char *arg1 = 0 ;
5570 PLFLT arg2 ;
5571 PLINT arg3 ;
5572 char *arg4 = 0 ;
5573 PLFLT arg5 ;
5574 PLINT arg6 ;
5575 int res1 ;
5576 char *buf1 = 0 ;
5577 int alloc1 = 0 ;
5578 double val2 ;
5579 int ecode2 = 0 ;
5580 int val3 ;
5581 int ecode3 = 0 ;
5582 int res4 ;
5583 char *buf4 = 0 ;
5584 int alloc4 = 0 ;
5585 double val5 ;
5586 int ecode5 = 0 ;
5587 int val6 ;
5588 int ecode6 = 0 ;
5589 PyObject *swig_obj[6] ;
5590
5591 (void)self;
5592 if (!SWIG_Python_UnpackTuple(args, "plbox", 6, 6, swig_obj)) SWIG_fail;
5593 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
5594 if (!SWIG_IsOK(res1)) {
5595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plbox" "', argument " "1"" of type '" "char const *""'");
5596 }
5597 arg1 = (char *)(buf1);
5598 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5599 if (!SWIG_IsOK(ecode2)) {
5600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plbox" "', argument " "2"" of type '" "PLFLT""'");
5601 }
5602 arg2 = (PLFLT)(val2);
5603 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
5604 if (!SWIG_IsOK(ecode3)) {
5605 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plbox" "', argument " "3"" of type '" "PLINT""'");
5606 }
5607 arg3 = (PLINT)(val3);
5608 res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
5609 if (!SWIG_IsOK(res4)) {
5610 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "plbox" "', argument " "4"" of type '" "char const *""'");
5611 }
5612 arg4 = (char *)(buf4);
5613 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
5614 if (!SWIG_IsOK(ecode5)) {
5615 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plbox" "', argument " "5"" of type '" "PLFLT""'");
5616 }
5617 arg5 = (PLFLT)(val5);
5618 ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
5619 if (!SWIG_IsOK(ecode6)) {
5620 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plbox" "', argument " "6"" of type '" "PLINT""'");
5621 }
5622 arg6 = (PLINT)(val6);
5623 plbox((char const *)arg1,arg2,arg3,(char const *)arg4,arg5,arg6);
5624 resultobj = SWIG_Py_Void();
5625 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
5626 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
5627 return resultobj;
5628fail:
5629 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
5630 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
5631 return NULL;
5632}
5633
5634
5635SWIGINTERN PyObject *_wrap_plbox3(PyObject *self, PyObject *args) {
5636 PyObject *resultobj = 0;
5637 char *arg1 = 0 ;
5638 char *arg2 = 0 ;
5639 PLFLT arg3 ;
5640 PLINT arg4 ;
5641 char *arg5 = 0 ;
5642 char *arg6 = 0 ;
5643 PLFLT arg7 ;
5644 PLINT arg8 ;
5645 char *arg9 = 0 ;
5646 char *arg10 = 0 ;
5647 PLFLT arg11 ;
5648 PLINT arg12 ;
5649 int res1 ;
5650 char *buf1 = 0 ;
5651 int alloc1 = 0 ;
5652 int res2 ;
5653 char *buf2 = 0 ;
5654 int alloc2 = 0 ;
5655 double val3 ;
5656 int ecode3 = 0 ;
5657 int val4 ;
5658 int ecode4 = 0 ;
5659 int res5 ;
5660 char *buf5 = 0 ;
5661 int alloc5 = 0 ;
5662 int res6 ;
5663 char *buf6 = 0 ;
5664 int alloc6 = 0 ;
5665 double val7 ;
5666 int ecode7 = 0 ;
5667 int val8 ;
5668 int ecode8 = 0 ;
5669 int res9 ;
5670 char *buf9 = 0 ;
5671 int alloc9 = 0 ;
5672 int res10 ;
5673 char *buf10 = 0 ;
5674 int alloc10 = 0 ;
5675 double val11 ;
5676 int ecode11 = 0 ;
5677 int val12 ;
5678 int ecode12 = 0 ;
5679 PyObject *swig_obj[12] ;
5680
5681 (void)self;
5682 if (!SWIG_Python_UnpackTuple(args, "plbox3", 12, 12, swig_obj)) SWIG_fail;
5683 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
5684 if (!SWIG_IsOK(res1)) {
5685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plbox3" "', argument " "1"" of type '" "char const *""'");
5686 }
5687 arg1 = (char *)(buf1);
5688 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
5689 if (!SWIG_IsOK(res2)) {
5690 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plbox3" "', argument " "2"" of type '" "char const *""'");
5691 }
5692 arg2 = (char *)(buf2);
5693 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
5694 if (!SWIG_IsOK(ecode3)) {
5695 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plbox3" "', argument " "3"" of type '" "PLFLT""'");
5696 }
5697 arg3 = (PLFLT)(val3);
5698 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
5699 if (!SWIG_IsOK(ecode4)) {
5700 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plbox3" "', argument " "4"" of type '" "PLINT""'");
5701 }
5702 arg4 = (PLINT)(val4);
5703 res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
5704 if (!SWIG_IsOK(res5)) {
5705 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plbox3" "', argument " "5"" of type '" "char const *""'");
5706 }
5707 arg5 = (char *)(buf5);
5708 res6 = SWIG_AsCharPtrAndSize(swig_obj[5], &buf6, NULL, &alloc6);
5709 if (!SWIG_IsOK(res6)) {
5710 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plbox3" "', argument " "6"" of type '" "char const *""'");
5711 }
5712 arg6 = (char *)(buf6);
5713 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
5714 if (!SWIG_IsOK(ecode7)) {
5715 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plbox3" "', argument " "7"" of type '" "PLFLT""'");
5716 }
5717 arg7 = (PLFLT)(val7);
5718 ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
5719 if (!SWIG_IsOK(ecode8)) {
5720 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plbox3" "', argument " "8"" of type '" "PLINT""'");
5721 }
5722 arg8 = (PLINT)(val8);
5723 res9 = SWIG_AsCharPtrAndSize(swig_obj[8], &buf9, NULL, &alloc9);
5724 if (!SWIG_IsOK(res9)) {
5725 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "plbox3" "', argument " "9"" of type '" "char const *""'");
5726 }
5727 arg9 = (char *)(buf9);
5728 res10 = SWIG_AsCharPtrAndSize(swig_obj[9], &buf10, NULL, &alloc10);
5729 if (!SWIG_IsOK(res10)) {
5730 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "plbox3" "', argument " "10"" of type '" "char const *""'");
5731 }
5732 arg10 = (char *)(buf10);
5733 ecode11 = SWIG_AsVal_double(swig_obj[10], &val11);
5734 if (!SWIG_IsOK(ecode11)) {
5735 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plbox3" "', argument " "11"" of type '" "PLFLT""'");
5736 }
5737 arg11 = (PLFLT)(val11);
5738 ecode12 = SWIG_AsVal_int(swig_obj[11], &val12);
5739 if (!SWIG_IsOK(ecode12)) {
5740 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plbox3" "', argument " "12"" of type '" "PLINT""'");
5741 }
5742 arg12 = (PLINT)(val12);
5743 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);
5744 resultobj = SWIG_Py_Void();
5745 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
5746 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5747 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
5748 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
5749 if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
5750 if (alloc10 == SWIG_NEWOBJ) free((char*)buf10);
5751 return resultobj;
5752fail:
5753 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
5754 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5755 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
5756 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
5757 if (alloc9 == SWIG_NEWOBJ) free((char*)buf9);
5758 if (alloc10 == SWIG_NEWOBJ) free((char*)buf10);
5759 return NULL;
5760}
5761
5762
5763SWIGINTERN PyObject *_wrap_plcalc_world(PyObject *self, PyObject *args) {
5764 PyObject *resultobj = 0;
5765 PLFLT arg1 ;
5766 PLFLT arg2 ;
5767 PLFLT *arg3 = 0 ;
5768 PLFLT *arg4 = 0 ;
5769 PLINT *arg5 = 0 ;
5770 double val1 ;
5771 int ecode1 = 0 ;
5772 double val2 ;
5773 int ecode2 = 0 ;
5774 PLFLT temp3 ;
5775 int res3 = SWIG_TMPOBJ ;
5776 PLFLT temp4 ;
5777 int res4 = SWIG_TMPOBJ ;
5778 PLINT temp5 ;
5779 int res5 = SWIG_TMPOBJ ;
5780 PyObject *swig_obj[2] ;
5781
5782 arg3 = &temp3;
5783 arg4 = &temp4;
5784 arg5 = &temp5;
5785 (void)self;
5786 if (!SWIG_Python_UnpackTuple(args, "plcalc_world", 2, 2, swig_obj)) SWIG_fail;
5787 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
5788 if (!SWIG_IsOK(ecode1)) {
5789 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcalc_world" "', argument " "1"" of type '" "PLFLT""'");
5790 }
5791 arg1 = (PLFLT)(val1);
5792 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5793 if (!SWIG_IsOK(ecode2)) {
5794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plcalc_world" "', argument " "2"" of type '" "PLFLT""'");
5795 }
5796 arg2 = (PLFLT)(val2);
5797 plcalc_world(arg1,arg2,arg3,arg4,arg5);
5798 resultobj = SWIG_Py_Void();
5799 if (SWIG_IsTmpObj(res3)) {
5800 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
5801 } else {
5802 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5803 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
5804 }
5805 if (SWIG_IsTmpObj(res4)) {
5806 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
5807 } else {
5808 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5809 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
5810 }
5811 if (SWIG_IsTmpObj(res5)) {
5812 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)), 1);
5813 } else {
5814 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5815 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags), 1);
5816 }
5817 return resultobj;
5818fail:
5819 return NULL;
5820}
5821
5822
5823SWIGINTERN PyObject *_wrap_plclear(PyObject *self, PyObject *args) {
5824 PyObject *resultobj = 0;
5825
5826 (void)self;
5827 if (!SWIG_Python_UnpackTuple(args, "plclear", 0, 0, 0)) SWIG_fail;
5828 plclear();
5829 resultobj = SWIG_Py_Void();
5830 return resultobj;
5831fail:
5832 return NULL;
5833}
5834
5835
5836SWIGINTERN PyObject *_wrap_plcol0(PyObject *self, PyObject *args) {
5837 PyObject *resultobj = 0;
5838 PLINT arg1 ;
5839 int val1 ;
5840 int ecode1 = 0 ;
5841 PyObject *swig_obj[1] ;
5842
5843 (void)self;
5844 if (!args) SWIG_fail;
5845 swig_obj[0] = args;
5846 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
5847 if (!SWIG_IsOK(ecode1)) {
5848 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcol0" "', argument " "1"" of type '" "PLINT""'");
5849 }
5850 arg1 = (PLINT)(val1);
5851 plcol0(arg1);
5852 resultobj = SWIG_Py_Void();
5853 return resultobj;
5854fail:
5855 return NULL;
5856}
5857
5858
5859SWIGINTERN PyObject *_wrap_plcol1(PyObject *self, PyObject *args) {
5860 PyObject *resultobj = 0;
5861 PLFLT arg1 ;
5862 double val1 ;
5863 int ecode1 = 0 ;
5864 PyObject *swig_obj[1] ;
5865
5866 (void)self;
5867 if (!args) SWIG_fail;
5868 swig_obj[0] = args;
5869 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
5870 if (!SWIG_IsOK(ecode1)) {
5871 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcol1" "', argument " "1"" of type '" "PLFLT""'");
5872 }
5873 arg1 = (PLFLT)(val1);
5874 plcol1(arg1);
5875 resultobj = SWIG_Py_Void();
5876 return resultobj;
5877fail:
5878 return NULL;
5879}
5880
5881
5882SWIGINTERN PyObject *_wrap_plconfigtime(PyObject *self, PyObject *args) {
5883 PyObject *resultobj = 0;
5884 PLFLT arg1 ;
5885 PLFLT arg2 ;
5886 PLFLT arg3 ;
5887 PLINT arg4 ;
5888 PLBOOL arg5 ;
5889 PLINT arg6 ;
5890 PLINT arg7 ;
5891 PLINT arg8 ;
5892 PLINT arg9 ;
5893 PLINT arg10 ;
5894 PLFLT arg11 ;
5895 double val1 ;
5896 int ecode1 = 0 ;
5897 double val2 ;
5898 int ecode2 = 0 ;
5899 double val3 ;
5900 int ecode3 = 0 ;
5901 int val4 ;
5902 int ecode4 = 0 ;
5903 int val5 ;
5904 int ecode5 = 0 ;
5905 int val6 ;
5906 int ecode6 = 0 ;
5907 int val7 ;
5908 int ecode7 = 0 ;
5909 int val8 ;
5910 int ecode8 = 0 ;
5911 int val9 ;
5912 int ecode9 = 0 ;
5913 int val10 ;
5914 int ecode10 = 0 ;
5915 double val11 ;
5916 int ecode11 = 0 ;
5917 PyObject *swig_obj[11] ;
5918
5919 (void)self;
5920 if (!SWIG_Python_UnpackTuple(args, "plconfigtime", 11, 11, swig_obj)) SWIG_fail;
5921 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
5922 if (!SWIG_IsOK(ecode1)) {
5923 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plconfigtime" "', argument " "1"" of type '" "PLFLT""'");
5924 }
5925 arg1 = (PLFLT)(val1);
5926 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
5927 if (!SWIG_IsOK(ecode2)) {
5928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plconfigtime" "', argument " "2"" of type '" "PLFLT""'");
5929 }
5930 arg2 = (PLFLT)(val2);
5931 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
5932 if (!SWIG_IsOK(ecode3)) {
5933 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plconfigtime" "', argument " "3"" of type '" "PLFLT""'");
5934 }
5935 arg3 = (PLFLT)(val3);
5936 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
5937 if (!SWIG_IsOK(ecode4)) {
5938 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plconfigtime" "', argument " "4"" of type '" "PLINT""'");
5939 }
5940 arg4 = (PLINT)(val4);
5941 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
5942 if (!SWIG_IsOK(ecode5)) {
5943 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plconfigtime" "', argument " "5"" of type '" "PLBOOL""'");
5944 }
5945 arg5 = (PLBOOL)(val5);
5946 ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
5947 if (!SWIG_IsOK(ecode6)) {
5948 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plconfigtime" "', argument " "6"" of type '" "PLINT""'");
5949 }
5950 arg6 = (PLINT)(val6);
5951 ecode7 = SWIG_AsVal_int(swig_obj[6], &val7);
5952 if (!SWIG_IsOK(ecode7)) {
5953 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plconfigtime" "', argument " "7"" of type '" "PLINT""'");
5954 }
5955 arg7 = (PLINT)(val7);
5956 ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
5957 if (!SWIG_IsOK(ecode8)) {
5958 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plconfigtime" "', argument " "8"" of type '" "PLINT""'");
5959 }
5960 arg8 = (PLINT)(val8);
5961 ecode9 = SWIG_AsVal_int(swig_obj[8], &val9);
5962 if (!SWIG_IsOK(ecode9)) {
5963 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plconfigtime" "', argument " "9"" of type '" "PLINT""'");
5964 }
5965 arg9 = (PLINT)(val9);
5966 ecode10 = SWIG_AsVal_int(swig_obj[9], &val10);
5967 if (!SWIG_IsOK(ecode10)) {
5968 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plconfigtime" "', argument " "10"" of type '" "PLINT""'");
5969 }
5970 arg10 = (PLINT)(val10);
5971 ecode11 = SWIG_AsVal_double(swig_obj[10], &val11);
5972 if (!SWIG_IsOK(ecode11)) {
5973 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plconfigtime" "', argument " "11"" of type '" "PLFLT""'");
5974 }
5975 arg11 = (PLFLT)(val11);
5976 plconfigtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
5977 resultobj = SWIG_Py_Void();
5978 return resultobj;
5979fail:
5980 return NULL;
5981}
5982
5983
5984SWIGINTERN PyObject *_wrap_plcont(PyObject *self, PyObject *args) {
5985 PyObject *resultobj = 0;
5986 PLFLT **arg1 = 0 ;
5987 PLINT arg2 ;
5988 PLINT arg3 ;
5989 PLINT arg4 ;
5990 PLINT arg5 ;
5991 PLINT arg6 ;
5992 PLINT arg7 ;
5993 PLFLT *arg8 = 0 ;
5994 PLINT arg9 ;
5995 pltr_func arg10 = 0 ;
5996 PLPointer arg11 = 0 ;
5997 PyArrayObject *tmp1 = NULL ;
5998 int val4 ;
5999 int ecode4 = 0 ;
6000 int val5 ;
6001 int ecode5 = 0 ;
6002 int val6 ;
6003 int ecode6 = 0 ;
6004 int val7 ;
6005 int ecode7 = 0 ;
6006 PyArrayObject *tmp8 = NULL ;
6007 PyObject *swig_obj[8] ;
6008
6009 {
6010 python_pltr = 0;
6011 arg10 = NULL;
6012 }
6013 {
6014 arg11 = NULL;
6015 }
6016 (void)self;
6017 if (!SWIG_Python_UnpackTuple(args, "plcont", 6, 8, swig_obj)) SWIG_fail;
6018 {
6019 int i, size;
6020 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
6021 if ( tmp1 == NULL )
6022 return NULL;
6023 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
6024 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
6025 size = arg3;
6026 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
6027 for ( i = 0; i < arg2; i++ )
6028 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
6029 }
6030 ecode4 = SWIG_AsVal_int(swig_obj[1], &val4);
6031 if (!SWIG_IsOK(ecode4)) {
6032 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcont" "', argument " "4"" of type '" "PLINT""'");
6033 }
6034 arg4 = (PLINT)(val4);
6035 ecode5 = SWIG_AsVal_int(swig_obj[2], &val5);
6036 if (!SWIG_IsOK(ecode5)) {
6037 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcont" "', argument " "5"" of type '" "PLINT""'");
6038 }
6039 arg5 = (PLINT)(val5);
6040 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
6041 if (!SWIG_IsOK(ecode6)) {
6042 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcont" "', argument " "6"" of type '" "PLINT""'");
6043 }
6044 arg6 = (PLINT)(val6);
6045 ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
6046 if (!SWIG_IsOK(ecode7)) {
6047 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcont" "', argument " "7"" of type '" "PLINT""'");
6048 }
6049 arg7 = (PLINT)(val7);
6050 {
6051 tmp8 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[5], NPY_PLFLT, 1, 1 );
6052 if ( tmp8 == NULL )
6053 return NULL;
6054 arg9 = PyArray_DIMS( tmp8 )[0];
6055 arg8 = (PLFLT *) PyArray_DATA( tmp8 );
6056 }
6057 if (swig_obj[6]) {
6058 {
6059 // it must be a callable or None
6060 if ( swig_obj[6] == Py_None )
6061 {
6062 arg10 = NULL;
6063 }
6064 else
6065 {
6066 if ( !PyCallable_Check( (PyObject *) swig_obj[6] ) )
6067 {
6068 PyErr_SetString( PyExc_ValueError, "pltr argument must be callable" );
6069 return NULL;
6070 }
6071 arg10 = marshal_pltr( swig_obj[6] );
6072 }
6073 }
6074 }
6075 if (swig_obj[7]) {
6076 {
6077 if ( swig_obj[7] == Py_None )
6078 arg11 = NULL;
6079 else
6080 {
6081 arg11 = marshal_PLPointer( swig_obj[7], 0 );
6082 }
6083 }
6084 }
6085 plcont((double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,arg10,arg11);
6086 resultobj = SWIG_Py_Void();
6087 {
6088 Py_CLEAR( tmp1 );
6089 free( arg1 );
6090 }
6091 {
6092 Py_CLEAR( tmp8 );
6093 }
6094 {
6095 cleanup_pltr();
6096 }
6097 {
6099 }
6100 return resultobj;
6101fail:
6102 {
6103 Py_CLEAR( tmp1 );
6104 free( arg1 );
6105 }
6106 {
6107 Py_CLEAR( tmp8 );
6108 }
6109 {
6110 cleanup_pltr();
6111 }
6112 {
6114 }
6115 return NULL;
6116}
6117
6118
6119SWIGINTERN PyObject *_wrap_plctime(PyObject *self, PyObject *args) {
6120 PyObject *resultobj = 0;
6121 PLINT arg1 ;
6122 PLINT arg2 ;
6123 PLINT arg3 ;
6124 PLINT arg4 ;
6125 PLINT arg5 ;
6126 PLFLT arg6 ;
6127 PLFLT *arg7 = 0 ;
6128 int val1 ;
6129 int ecode1 = 0 ;
6130 int val2 ;
6131 int ecode2 = 0 ;
6132 int val3 ;
6133 int ecode3 = 0 ;
6134 int val4 ;
6135 int ecode4 = 0 ;
6136 int val5 ;
6137 int ecode5 = 0 ;
6138 double val6 ;
6139 int ecode6 = 0 ;
6140 PLFLT temp7 ;
6141 int res7 = SWIG_TMPOBJ ;
6142 PyObject *swig_obj[6] ;
6143
6144 arg7 = &temp7;
6145 (void)self;
6146 if (!SWIG_Python_UnpackTuple(args, "plctime", 6, 6, swig_obj)) SWIG_fail;
6147 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
6148 if (!SWIG_IsOK(ecode1)) {
6149 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plctime" "', argument " "1"" of type '" "PLINT""'");
6150 }
6151 arg1 = (PLINT)(val1);
6152 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6153 if (!SWIG_IsOK(ecode2)) {
6154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plctime" "', argument " "2"" of type '" "PLINT""'");
6155 }
6156 arg2 = (PLINT)(val2);
6157 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
6158 if (!SWIG_IsOK(ecode3)) {
6159 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plctime" "', argument " "3"" of type '" "PLINT""'");
6160 }
6161 arg3 = (PLINT)(val3);
6162 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
6163 if (!SWIG_IsOK(ecode4)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plctime" "', argument " "4"" of type '" "PLINT""'");
6165 }
6166 arg4 = (PLINT)(val4);
6167 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
6168 if (!SWIG_IsOK(ecode5)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plctime" "', argument " "5"" of type '" "PLINT""'");
6170 }
6171 arg5 = (PLINT)(val5);
6172 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
6173 if (!SWIG_IsOK(ecode6)) {
6174 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plctime" "', argument " "6"" of type '" "PLFLT""'");
6175 }
6176 arg6 = (PLFLT)(val6);
6177 plctime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
6178 resultobj = SWIG_Py_Void();
6179 if (SWIG_IsTmpObj(res7)) {
6180 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg7)), 1);
6181 } else {
6182 int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6183 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_double, new_flags), 1);
6184 }
6185 return resultobj;
6186fail:
6187 return NULL;
6188}
6189
6190
6191SWIGINTERN PyObject *_wrap_plcpstrm(PyObject *self, PyObject *args) {
6192 PyObject *resultobj = 0;
6193 PLINT arg1 ;
6194 PLBOOL arg2 ;
6195 int val1 ;
6196 int ecode1 = 0 ;
6197 int val2 ;
6198 int ecode2 = 0 ;
6199 PyObject *swig_obj[2] ;
6200
6201 (void)self;
6202 if (!SWIG_Python_UnpackTuple(args, "plcpstrm", 2, 2, swig_obj)) SWIG_fail;
6203 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
6204 if (!SWIG_IsOK(ecode1)) {
6205 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcpstrm" "', argument " "1"" of type '" "PLINT""'");
6206 }
6207 arg1 = (PLINT)(val1);
6208 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6209 if (!SWIG_IsOK(ecode2)) {
6210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plcpstrm" "', argument " "2"" of type '" "PLBOOL""'");
6211 }
6212 arg2 = (PLBOOL)(val2);
6213 plcpstrm(arg1,arg2);
6214 resultobj = SWIG_Py_Void();
6215 return resultobj;
6216fail:
6217 return NULL;
6218}
6219
6220
6221SWIGINTERN PyObject *_wrap_plend(PyObject *self, PyObject *args) {
6222 PyObject *resultobj = 0;
6223
6224 (void)self;
6225 if (!SWIG_Python_UnpackTuple(args, "plend", 0, 0, 0)) SWIG_fail;
6226 plend();
6227 resultobj = SWIG_Py_Void();
6228 return resultobj;
6229fail:
6230 return NULL;
6231}
6232
6233
6234SWIGINTERN PyObject *_wrap_plend1(PyObject *self, PyObject *args) {
6235 PyObject *resultobj = 0;
6236
6237 (void)self;
6238 if (!SWIG_Python_UnpackTuple(args, "plend1", 0, 0, 0)) SWIG_fail;
6239 plend1();
6240 resultobj = SWIG_Py_Void();
6241 return resultobj;
6242fail:
6243 return NULL;
6244}
6245
6246
6247SWIGINTERN PyObject *_wrap_plenv(PyObject *self, PyObject *args) {
6248 PyObject *resultobj = 0;
6249 PLFLT arg1 ;
6250 PLFLT arg2 ;
6251 PLFLT arg3 ;
6252 PLFLT arg4 ;
6253 PLINT arg5 ;
6254 PLINT arg6 ;
6255 double val1 ;
6256 int ecode1 = 0 ;
6257 double val2 ;
6258 int ecode2 = 0 ;
6259 double val3 ;
6260 int ecode3 = 0 ;
6261 double val4 ;
6262 int ecode4 = 0 ;
6263 int val5 ;
6264 int ecode5 = 0 ;
6265 int val6 ;
6266 int ecode6 = 0 ;
6267 PyObject *swig_obj[6] ;
6268
6269 (void)self;
6270 if (!SWIG_Python_UnpackTuple(args, "plenv", 6, 6, swig_obj)) SWIG_fail;
6271 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
6272 if (!SWIG_IsOK(ecode1)) {
6273 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plenv" "', argument " "1"" of type '" "PLFLT""'");
6274 }
6275 arg1 = (PLFLT)(val1);
6276 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
6277 if (!SWIG_IsOK(ecode2)) {
6278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plenv" "', argument " "2"" of type '" "PLFLT""'");
6279 }
6280 arg2 = (PLFLT)(val2);
6281 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
6282 if (!SWIG_IsOK(ecode3)) {
6283 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plenv" "', argument " "3"" of type '" "PLFLT""'");
6284 }
6285 arg3 = (PLFLT)(val3);
6286 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
6287 if (!SWIG_IsOK(ecode4)) {
6288 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plenv" "', argument " "4"" of type '" "PLFLT""'");
6289 }
6290 arg4 = (PLFLT)(val4);
6291 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
6292 if (!SWIG_IsOK(ecode5)) {
6293 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plenv" "', argument " "5"" of type '" "PLINT""'");
6294 }
6295 arg5 = (PLINT)(val5);
6296 ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
6297 if (!SWIG_IsOK(ecode6)) {
6298 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plenv" "', argument " "6"" of type '" "PLINT""'");
6299 }
6300 arg6 = (PLINT)(val6);
6301 plenv(arg1,arg2,arg3,arg4,arg5,arg6);
6302 resultobj = SWIG_Py_Void();
6303 return resultobj;
6304fail:
6305 return NULL;
6306}
6307
6308
6309SWIGINTERN PyObject *_wrap_plenv0(PyObject *self, PyObject *args) {
6310 PyObject *resultobj = 0;
6311 PLFLT arg1 ;
6312 PLFLT arg2 ;
6313 PLFLT arg3 ;
6314 PLFLT arg4 ;
6315 PLINT arg5 ;
6316 PLINT arg6 ;
6317 double val1 ;
6318 int ecode1 = 0 ;
6319 double val2 ;
6320 int ecode2 = 0 ;
6321 double val3 ;
6322 int ecode3 = 0 ;
6323 double val4 ;
6324 int ecode4 = 0 ;
6325 int val5 ;
6326 int ecode5 = 0 ;
6327 int val6 ;
6328 int ecode6 = 0 ;
6329 PyObject *swig_obj[6] ;
6330
6331 (void)self;
6332 if (!SWIG_Python_UnpackTuple(args, "plenv0", 6, 6, swig_obj)) SWIG_fail;
6333 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
6334 if (!SWIG_IsOK(ecode1)) {
6335 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plenv0" "', argument " "1"" of type '" "PLFLT""'");
6336 }
6337 arg1 = (PLFLT)(val1);
6338 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
6339 if (!SWIG_IsOK(ecode2)) {
6340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plenv0" "', argument " "2"" of type '" "PLFLT""'");
6341 }
6342 arg2 = (PLFLT)(val2);
6343 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
6344 if (!SWIG_IsOK(ecode3)) {
6345 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plenv0" "', argument " "3"" of type '" "PLFLT""'");
6346 }
6347 arg3 = (PLFLT)(val3);
6348 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
6349 if (!SWIG_IsOK(ecode4)) {
6350 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plenv0" "', argument " "4"" of type '" "PLFLT""'");
6351 }
6352 arg4 = (PLFLT)(val4);
6353 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
6354 if (!SWIG_IsOK(ecode5)) {
6355 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plenv0" "', argument " "5"" of type '" "PLINT""'");
6356 }
6357 arg5 = (PLINT)(val5);
6358 ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
6359 if (!SWIG_IsOK(ecode6)) {
6360 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plenv0" "', argument " "6"" of type '" "PLINT""'");
6361 }
6362 arg6 = (PLINT)(val6);
6363 plenv0(arg1,arg2,arg3,arg4,arg5,arg6);
6364 resultobj = SWIG_Py_Void();
6365 return resultobj;
6366fail:
6367 return NULL;
6368}
6369
6370
6371SWIGINTERN PyObject *_wrap_pleop(PyObject *self, PyObject *args) {
6372 PyObject *resultobj = 0;
6373
6374 (void)self;
6375 if (!SWIG_Python_UnpackTuple(args, "pleop", 0, 0, 0)) SWIG_fail;
6376 pleop();
6377 resultobj = SWIG_Py_Void();
6378 return resultobj;
6379fail:
6380 return NULL;
6381}
6382
6383
6384SWIGINTERN PyObject *_wrap_plerrx(PyObject *self, PyObject *args) {
6385 PyObject *resultobj = 0;
6386 PLINT arg1 ;
6387 PLFLT *arg2 = 0 ;
6388 PLFLT *arg3 = 0 ;
6389 PLFLT *arg4 = 0 ;
6390 PyArrayObject *tmp1 = NULL ;
6391 PyArrayObject *tmp3 = NULL ;
6392 PyArrayObject *tmp4 = NULL ;
6393 PyObject *swig_obj[3] ;
6394
6395 (void)self;
6396 if (!SWIG_Python_UnpackTuple(args, "plerrx", 3, 3, swig_obj)) SWIG_fail;
6397 {
6398 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
6399 if ( tmp1 == NULL )
6400 return NULL;
6401 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6402 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6403 }
6404 {
6405 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
6406 if ( tmp3 == NULL )
6407 return NULL;
6408 if ( PyArray_DIMS( tmp3 )[0] != Alen )
6409 {
6410 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6411 return NULL;
6412 }
6413 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6414 }
6415 {
6416 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
6417 if ( tmp4 == NULL )
6418 return NULL;
6419 if ( PyArray_DIMS( tmp4 )[0] != Alen )
6420 {
6421 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6422 return NULL;
6423 }
6424 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
6425 }
6426 plerrx(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
6427 resultobj = SWIG_Py_Void();
6428 {
6429 Py_CLEAR( tmp1 );
6430 }
6431 {
6432 Py_CLEAR( tmp3 );
6433 }
6434 {
6435 Py_CLEAR( tmp4 );
6436 }
6437 return resultobj;
6438fail:
6439 {
6440 Py_CLEAR( tmp1 );
6441 }
6442 {
6443 Py_CLEAR( tmp3 );
6444 }
6445 {
6446 Py_CLEAR( tmp4 );
6447 }
6448 return NULL;
6449}
6450
6451
6452SWIGINTERN PyObject *_wrap_plerry(PyObject *self, PyObject *args) {
6453 PyObject *resultobj = 0;
6454 PLINT arg1 ;
6455 PLFLT *arg2 = 0 ;
6456 PLFLT *arg3 = 0 ;
6457 PLFLT *arg4 = 0 ;
6458 PyArrayObject *tmp1 = NULL ;
6459 PyArrayObject *tmp3 = NULL ;
6460 PyArrayObject *tmp4 = NULL ;
6461 PyObject *swig_obj[3] ;
6462
6463 (void)self;
6464 if (!SWIG_Python_UnpackTuple(args, "plerry", 3, 3, swig_obj)) SWIG_fail;
6465 {
6466 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
6467 if ( tmp1 == NULL )
6468 return NULL;
6469 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6470 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6471 }
6472 {
6473 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
6474 if ( tmp3 == NULL )
6475 return NULL;
6476 if ( PyArray_DIMS( tmp3 )[0] != Alen )
6477 {
6478 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6479 return NULL;
6480 }
6481 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6482 }
6483 {
6484 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
6485 if ( tmp4 == NULL )
6486 return NULL;
6487 if ( PyArray_DIMS( tmp4 )[0] != Alen )
6488 {
6489 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6490 return NULL;
6491 }
6492 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
6493 }
6494 plerry(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
6495 resultobj = SWIG_Py_Void();
6496 {
6497 Py_CLEAR( tmp1 );
6498 }
6499 {
6500 Py_CLEAR( tmp3 );
6501 }
6502 {
6503 Py_CLEAR( tmp4 );
6504 }
6505 return resultobj;
6506fail:
6507 {
6508 Py_CLEAR( tmp1 );
6509 }
6510 {
6511 Py_CLEAR( tmp3 );
6512 }
6513 {
6514 Py_CLEAR( tmp4 );
6515 }
6516 return NULL;
6517}
6518
6519
6520SWIGINTERN PyObject *_wrap_plfamadv(PyObject *self, PyObject *args) {
6521 PyObject *resultobj = 0;
6522
6523 (void)self;
6524 if (!SWIG_Python_UnpackTuple(args, "plfamadv", 0, 0, 0)) SWIG_fail;
6525 plfamadv();
6526 resultobj = SWIG_Py_Void();
6527 return resultobj;
6528fail:
6529 return NULL;
6530}
6531
6532
6533SWIGINTERN PyObject *_wrap_plfill(PyObject *self, PyObject *args) {
6534 PyObject *resultobj = 0;
6535 PLINT arg1 ;
6536 PLFLT *arg2 = 0 ;
6537 PLFLT *arg3 = 0 ;
6538 PyArrayObject *tmp1 = NULL ;
6539 PyArrayObject *tmp3 = NULL ;
6540 PyObject *swig_obj[2] ;
6541
6542 (void)self;
6543 if (!SWIG_Python_UnpackTuple(args, "plfill", 2, 2, swig_obj)) SWIG_fail;
6544 {
6545 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
6546 if ( tmp1 == NULL )
6547 return NULL;
6548 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6549 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6550 }
6551 {
6552 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
6553 if ( tmp3 == NULL )
6554 return NULL;
6555 if ( PyArray_DIMS( tmp3 )[0] != Alen )
6556 {
6557 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6558 return NULL;
6559 }
6560 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6561 }
6562 plfill(arg1,(double const *)arg2,(double const *)arg3);
6563 resultobj = SWIG_Py_Void();
6564 {
6565 Py_CLEAR( tmp1 );
6566 }
6567 {
6568 Py_CLEAR( tmp3 );
6569 }
6570 return resultobj;
6571fail:
6572 {
6573 Py_CLEAR( tmp1 );
6574 }
6575 {
6576 Py_CLEAR( tmp3 );
6577 }
6578 return NULL;
6579}
6580
6581
6582SWIGINTERN PyObject *_wrap_plfill3(PyObject *self, PyObject *args) {
6583 PyObject *resultobj = 0;
6584 PLINT arg1 ;
6585 PLFLT *arg2 = 0 ;
6586 PLFLT *arg3 = 0 ;
6587 PLFLT *arg4 = 0 ;
6588 PyArrayObject *tmp1 = NULL ;
6589 PyArrayObject *tmp3 = NULL ;
6590 PyArrayObject *tmp4 = NULL ;
6591 PyObject *swig_obj[3] ;
6592
6593 (void)self;
6594 if (!SWIG_Python_UnpackTuple(args, "plfill3", 3, 3, swig_obj)) SWIG_fail;
6595 {
6596 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
6597 if ( tmp1 == NULL )
6598 return NULL;
6599 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6600 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6601 }
6602 {
6603 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
6604 if ( tmp3 == NULL )
6605 return NULL;
6606 if ( PyArray_DIMS( tmp3 )[0] != Alen )
6607 {
6608 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6609 return NULL;
6610 }
6611 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6612 }
6613 {
6614 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
6615 if ( tmp4 == NULL )
6616 return NULL;
6617 if ( PyArray_DIMS( tmp4 )[0] != Alen )
6618 {
6619 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6620 return NULL;
6621 }
6622 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
6623 }
6624 plfill3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
6625 resultobj = SWIG_Py_Void();
6626 {
6627 Py_CLEAR( tmp1 );
6628 }
6629 {
6630 Py_CLEAR( tmp3 );
6631 }
6632 {
6633 Py_CLEAR( tmp4 );
6634 }
6635 return resultobj;
6636fail:
6637 {
6638 Py_CLEAR( tmp1 );
6639 }
6640 {
6641 Py_CLEAR( tmp3 );
6642 }
6643 {
6644 Py_CLEAR( tmp4 );
6645 }
6646 return NULL;
6647}
6648
6649
6650SWIGINTERN PyObject *_wrap_plgradient(PyObject *self, PyObject *args) {
6651 PyObject *resultobj = 0;
6652 PLINT arg1 ;
6653 PLFLT *arg2 = 0 ;
6654 PLFLT *arg3 = 0 ;
6655 PLFLT arg4 ;
6656 PyArrayObject *tmp1 = NULL ;
6657 PyArrayObject *tmp3 = NULL ;
6658 double val4 ;
6659 int ecode4 = 0 ;
6660 PyObject *swig_obj[3] ;
6661
6662 (void)self;
6663 if (!SWIG_Python_UnpackTuple(args, "plgradient", 3, 3, swig_obj)) SWIG_fail;
6664 {
6665 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
6666 if ( tmp1 == NULL )
6667 return NULL;
6668 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6669 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6670 }
6671 {
6672 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
6673 if ( tmp3 == NULL )
6674 return NULL;
6675 if ( PyArray_DIMS( tmp3 )[0] != Alen )
6676 {
6677 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
6678 return NULL;
6679 }
6680 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6681 }
6682 ecode4 = SWIG_AsVal_double(swig_obj[2], &val4);
6683 if (!SWIG_IsOK(ecode4)) {
6684 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plgradient" "', argument " "4"" of type '" "PLFLT""'");
6685 }
6686 arg4 = (PLFLT)(val4);
6687 plgradient(arg1,(double const *)arg2,(double const *)arg3,arg4);
6688 resultobj = SWIG_Py_Void();
6689 {
6690 Py_CLEAR( tmp1 );
6691 }
6692 {
6693 Py_CLEAR( tmp3 );
6694 }
6695 return resultobj;
6696fail:
6697 {
6698 Py_CLEAR( tmp1 );
6699 }
6700 {
6701 Py_CLEAR( tmp3 );
6702 }
6703 return NULL;
6704}
6705
6706
6707SWIGINTERN PyObject *_wrap_plflush(PyObject *self, PyObject *args) {
6708 PyObject *resultobj = 0;
6709
6710 (void)self;
6711 if (!SWIG_Python_UnpackTuple(args, "plflush", 0, 0, 0)) SWIG_fail;
6712 plflush();
6713 resultobj = SWIG_Py_Void();
6714 return resultobj;
6715fail:
6716 return NULL;
6717}
6718
6719
6720SWIGINTERN PyObject *_wrap_plfont(PyObject *self, PyObject *args) {
6721 PyObject *resultobj = 0;
6722 PLINT arg1 ;
6723 int val1 ;
6724 int ecode1 = 0 ;
6725 PyObject *swig_obj[1] ;
6726
6727 (void)self;
6728 if (!args) SWIG_fail;
6729 swig_obj[0] = args;
6730 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
6731 if (!SWIG_IsOK(ecode1)) {
6732 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plfont" "', argument " "1"" of type '" "PLINT""'");
6733 }
6734 arg1 = (PLINT)(val1);
6735 plfont(arg1);
6736 resultobj = SWIG_Py_Void();
6737 return resultobj;
6738fail:
6739 return NULL;
6740}
6741
6742
6743SWIGINTERN PyObject *_wrap_plfontld(PyObject *self, PyObject *args) {
6744 PyObject *resultobj = 0;
6745 PLINT arg1 ;
6746 int val1 ;
6747 int ecode1 = 0 ;
6748 PyObject *swig_obj[1] ;
6749
6750 (void)self;
6751 if (!args) SWIG_fail;
6752 swig_obj[0] = args;
6753 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
6754 if (!SWIG_IsOK(ecode1)) {
6755 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plfontld" "', argument " "1"" of type '" "PLINT""'");
6756 }
6757 arg1 = (PLINT)(val1);
6758 plfontld(arg1);
6759 resultobj = SWIG_Py_Void();
6760 return resultobj;
6761fail:
6762 return NULL;
6763}
6764
6765
6766SWIGINTERN PyObject *_wrap_plgchr(PyObject *self, PyObject *args) {
6767 PyObject *resultobj = 0;
6768 PLFLT *arg1 = 0 ;
6769 PLFLT *arg2 = 0 ;
6770 PLFLT temp1 ;
6771 int res1 = SWIG_TMPOBJ ;
6772 PLFLT temp2 ;
6773 int res2 = SWIG_TMPOBJ ;
6774
6775 arg1 = &temp1;
6776 arg2 = &temp2;
6777 (void)self;
6778 if (!SWIG_Python_UnpackTuple(args, "plgchr", 0, 0, 0)) SWIG_fail;
6779 plgchr(arg1,arg2);
6780 resultobj = SWIG_Py_Void();
6781 if (SWIG_IsTmpObj(res1)) {
6782 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
6783 } else {
6784 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6785 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
6786 }
6787 if (SWIG_IsTmpObj(res2)) {
6788 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
6789 } else {
6790 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6791 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
6792 }
6793 return resultobj;
6794fail:
6795 return NULL;
6796}
6797
6798
6799SWIGINTERN PyObject *_wrap_plgcol0(PyObject *self, PyObject *args) {
6800 PyObject *resultobj = 0;
6801 PLINT arg1 ;
6802 PLINT *arg2 = 0 ;
6803 PLINT *arg3 = 0 ;
6804 PLINT *arg4 = 0 ;
6805 int val1 ;
6806 int ecode1 = 0 ;
6807 PLINT temp2 ;
6808 int res2 = SWIG_TMPOBJ ;
6809 PLINT temp3 ;
6810 int res3 = SWIG_TMPOBJ ;
6811 PLINT temp4 ;
6812 int res4 = SWIG_TMPOBJ ;
6813 PyObject *swig_obj[1] ;
6814
6815 arg2 = &temp2;
6816 arg3 = &temp3;
6817 arg4 = &temp4;
6818 (void)self;
6819 if (!args) SWIG_fail;
6820 swig_obj[0] = args;
6821 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
6822 if (!SWIG_IsOK(ecode1)) {
6823 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plgcol0" "', argument " "1"" of type '" "PLINT""'");
6824 }
6825 arg1 = (PLINT)(val1);
6826 plgcol0(arg1,arg2,arg3,arg4);
6827 resultobj = SWIG_Py_Void();
6828 if (SWIG_IsTmpObj(res2)) {
6829 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
6830 } else {
6831 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6832 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
6833 }
6834 if (SWIG_IsTmpObj(res3)) {
6835 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
6836 } else {
6837 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6838 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
6839 }
6840 if (SWIG_IsTmpObj(res4)) {
6841 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)), 1);
6842 } else {
6843 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6844 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags), 1);
6845 }
6846 return resultobj;
6847fail:
6848 return NULL;
6849}
6850
6851
6852SWIGINTERN PyObject *_wrap_plgcol0a(PyObject *self, PyObject *args) {
6853 PyObject *resultobj = 0;
6854 PLINT arg1 ;
6855 PLINT *arg2 = 0 ;
6856 PLINT *arg3 = 0 ;
6857 PLINT *arg4 = 0 ;
6858 PLFLT *arg5 = 0 ;
6859 int val1 ;
6860 int ecode1 = 0 ;
6861 PLINT temp2 ;
6862 int res2 = SWIG_TMPOBJ ;
6863 PLINT temp3 ;
6864 int res3 = SWIG_TMPOBJ ;
6865 PLINT temp4 ;
6866 int res4 = SWIG_TMPOBJ ;
6867 PLFLT temp5 ;
6868 int res5 = SWIG_TMPOBJ ;
6869 PyObject *swig_obj[1] ;
6870
6871 arg2 = &temp2;
6872 arg3 = &temp3;
6873 arg4 = &temp4;
6874 arg5 = &temp5;
6875 (void)self;
6876 if (!args) SWIG_fail;
6877 swig_obj[0] = args;
6878 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
6879 if (!SWIG_IsOK(ecode1)) {
6880 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plgcol0a" "', argument " "1"" of type '" "PLINT""'");
6881 }
6882 arg1 = (PLINT)(val1);
6883 plgcol0a(arg1,arg2,arg3,arg4,arg5);
6884 resultobj = SWIG_Py_Void();
6885 if (SWIG_IsTmpObj(res2)) {
6886 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
6887 } else {
6888 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6889 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
6890 }
6891 if (SWIG_IsTmpObj(res3)) {
6892 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
6893 } else {
6894 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6895 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
6896 }
6897 if (SWIG_IsTmpObj(res4)) {
6898 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)), 1);
6899 } else {
6900 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6901 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags), 1);
6902 }
6903 if (SWIG_IsTmpObj(res5)) {
6904 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg5)), 1);
6905 } else {
6906 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6907 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags), 1);
6908 }
6909 return resultobj;
6910fail:
6911 return NULL;
6912}
6913
6914
6915SWIGINTERN PyObject *_wrap_plgcolbg(PyObject *self, PyObject *args) {
6916 PyObject *resultobj = 0;
6917 PLINT *arg1 = 0 ;
6918 PLINT *arg2 = 0 ;
6919 PLINT *arg3 = 0 ;
6920 PLINT temp1 ;
6921 int res1 = SWIG_TMPOBJ ;
6922 PLINT temp2 ;
6923 int res2 = SWIG_TMPOBJ ;
6924 PLINT temp3 ;
6925 int res3 = SWIG_TMPOBJ ;
6926
6927 arg1 = &temp1;
6928 arg2 = &temp2;
6929 arg3 = &temp3;
6930 (void)self;
6931 if (!SWIG_Python_UnpackTuple(args, "plgcolbg", 0, 0, 0)) SWIG_fail;
6932 plgcolbg(arg1,arg2,arg3);
6933 resultobj = SWIG_Py_Void();
6934 if (SWIG_IsTmpObj(res1)) {
6935 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
6936 } else {
6937 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6938 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
6939 }
6940 if (SWIG_IsTmpObj(res2)) {
6941 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
6942 } else {
6943 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6944 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
6945 }
6946 if (SWIG_IsTmpObj(res3)) {
6947 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
6948 } else {
6949 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6950 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
6951 }
6952 return resultobj;
6953fail:
6954 return NULL;
6955}
6956
6957
6958SWIGINTERN PyObject *_wrap_plgcolbga(PyObject *self, PyObject *args) {
6959 PyObject *resultobj = 0;
6960 PLINT *arg1 = 0 ;
6961 PLINT *arg2 = 0 ;
6962 PLINT *arg3 = 0 ;
6963 PLFLT *arg4 = 0 ;
6964 PLINT temp1 ;
6965 int res1 = SWIG_TMPOBJ ;
6966 PLINT temp2 ;
6967 int res2 = SWIG_TMPOBJ ;
6968 PLINT temp3 ;
6969 int res3 = SWIG_TMPOBJ ;
6970 PLFLT temp4 ;
6971 int res4 = SWIG_TMPOBJ ;
6972
6973 arg1 = &temp1;
6974 arg2 = &temp2;
6975 arg3 = &temp3;
6976 arg4 = &temp4;
6977 (void)self;
6978 if (!SWIG_Python_UnpackTuple(args, "plgcolbga", 0, 0, 0)) SWIG_fail;
6979 plgcolbga(arg1,arg2,arg3,arg4);
6980 resultobj = SWIG_Py_Void();
6981 if (SWIG_IsTmpObj(res1)) {
6982 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
6983 } else {
6984 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6985 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
6986 }
6987 if (SWIG_IsTmpObj(res2)) {
6988 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
6989 } else {
6990 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6991 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
6992 }
6993 if (SWIG_IsTmpObj(res3)) {
6994 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
6995 } else {
6996 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6997 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
6998 }
6999 if (SWIG_IsTmpObj(res4)) {
7000 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7001 } else {
7002 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7003 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7004 }
7005 return resultobj;
7006fail:
7007 return NULL;
7008}
7009
7010
7011SWIGINTERN PyObject *_wrap_plgcompression(PyObject *self, PyObject *args) {
7012 PyObject *resultobj = 0;
7013 PLINT *arg1 = 0 ;
7014 PLINT temp1 ;
7015 int res1 = SWIG_TMPOBJ ;
7016
7017 arg1 = &temp1;
7018 (void)self;
7019 if (!SWIG_Python_UnpackTuple(args, "plgcompression", 0, 0, 0)) SWIG_fail;
7020 plgcompression(arg1);
7021 resultobj = SWIG_Py_Void();
7022 if (SWIG_IsTmpObj(res1)) {
7023 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7024 } else {
7025 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7026 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7027 }
7028 return resultobj;
7029fail:
7030 return NULL;
7031}
7032
7033
7034SWIGINTERN PyObject *_wrap_plgdev(PyObject *self, PyObject *args) {
7035 PyObject *resultobj = 0;
7036 char *arg1 = 0 ;
7037 char buff1[1000] ;
7038
7039 {
7040 arg1 = buff1;
7041 }
7042 (void)self;
7043 if (!SWIG_Python_UnpackTuple(args, "plgdev", 0, 0, 0)) SWIG_fail;
7044 plgdev(arg1);
7045 resultobj = SWIG_Py_Void();
7046 {
7047 PyObject *o = PyUnicode_FromString( arg1 );
7048 resultobj = SWIG_Python_AppendOutput(resultobj, o, 1);
7049 }
7050 return resultobj;
7051fail:
7052 return NULL;
7053}
7054
7055
7056SWIGINTERN PyObject *_wrap_plgdidev(PyObject *self, PyObject *args) {
7057 PyObject *resultobj = 0;
7058 PLFLT *arg1 = 0 ;
7059 PLFLT *arg2 = 0 ;
7060 PLFLT *arg3 = 0 ;
7061 PLFLT *arg4 = 0 ;
7062 PLFLT temp1 ;
7063 int res1 = SWIG_TMPOBJ ;
7064 PLFLT temp2 ;
7065 int res2 = SWIG_TMPOBJ ;
7066 PLFLT temp3 ;
7067 int res3 = SWIG_TMPOBJ ;
7068 PLFLT temp4 ;
7069 int res4 = SWIG_TMPOBJ ;
7070
7071 arg1 = &temp1;
7072 arg2 = &temp2;
7073 arg3 = &temp3;
7074 arg4 = &temp4;
7075 (void)self;
7076 if (!SWIG_Python_UnpackTuple(args, "plgdidev", 0, 0, 0)) SWIG_fail;
7077 plgdidev(arg1,arg2,arg3,arg4);
7078 resultobj = SWIG_Py_Void();
7079 if (SWIG_IsTmpObj(res1)) {
7080 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7081 } else {
7082 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7083 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7084 }
7085 if (SWIG_IsTmpObj(res2)) {
7086 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7087 } else {
7088 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7089 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7090 }
7091 if (SWIG_IsTmpObj(res3)) {
7092 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
7093 } else {
7094 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7095 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
7096 }
7097 if (SWIG_IsTmpObj(res4)) {
7098 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7099 } else {
7100 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7101 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7102 }
7103 return resultobj;
7104fail:
7105 return NULL;
7106}
7107
7108
7109SWIGINTERN PyObject *_wrap_plgdiori(PyObject *self, PyObject *args) {
7110 PyObject *resultobj = 0;
7111 PLFLT *arg1 = 0 ;
7112 PLFLT temp1 ;
7113 int res1 = SWIG_TMPOBJ ;
7114
7115 arg1 = &temp1;
7116 (void)self;
7117 if (!SWIG_Python_UnpackTuple(args, "plgdiori", 0, 0, 0)) SWIG_fail;
7118 plgdiori(arg1);
7119 resultobj = SWIG_Py_Void();
7120 if (SWIG_IsTmpObj(res1)) {
7121 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7122 } else {
7123 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7124 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7125 }
7126 return resultobj;
7127fail:
7128 return NULL;
7129}
7130
7131
7132SWIGINTERN PyObject *_wrap_plgdiplt(PyObject *self, PyObject *args) {
7133 PyObject *resultobj = 0;
7134 PLFLT *arg1 = 0 ;
7135 PLFLT *arg2 = 0 ;
7136 PLFLT *arg3 = 0 ;
7137 PLFLT *arg4 = 0 ;
7138 PLFLT temp1 ;
7139 int res1 = SWIG_TMPOBJ ;
7140 PLFLT temp2 ;
7141 int res2 = SWIG_TMPOBJ ;
7142 PLFLT temp3 ;
7143 int res3 = SWIG_TMPOBJ ;
7144 PLFLT temp4 ;
7145 int res4 = SWIG_TMPOBJ ;
7146
7147 arg1 = &temp1;
7148 arg2 = &temp2;
7149 arg3 = &temp3;
7150 arg4 = &temp4;
7151 (void)self;
7152 if (!SWIG_Python_UnpackTuple(args, "plgdiplt", 0, 0, 0)) SWIG_fail;
7153 plgdiplt(arg1,arg2,arg3,arg4);
7154 resultobj = SWIG_Py_Void();
7155 if (SWIG_IsTmpObj(res1)) {
7156 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7157 } else {
7158 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7159 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7160 }
7161 if (SWIG_IsTmpObj(res2)) {
7162 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7163 } else {
7164 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7165 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7166 }
7167 if (SWIG_IsTmpObj(res3)) {
7168 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
7169 } else {
7170 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7171 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
7172 }
7173 if (SWIG_IsTmpObj(res4)) {
7174 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7175 } else {
7176 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7177 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7178 }
7179 return resultobj;
7180fail:
7181 return NULL;
7182}
7183
7184
7185SWIGINTERN PyObject *_wrap_plgfam(PyObject *self, PyObject *args) {
7186 PyObject *resultobj = 0;
7187 PLINT *arg1 = 0 ;
7188 PLINT *arg2 = 0 ;
7189 PLINT *arg3 = 0 ;
7190 PLINT temp1 ;
7191 int res1 = SWIG_TMPOBJ ;
7192 PLINT temp2 ;
7193 int res2 = SWIG_TMPOBJ ;
7194 PLINT temp3 ;
7195 int res3 = SWIG_TMPOBJ ;
7196
7197 arg1 = &temp1;
7198 arg2 = &temp2;
7199 arg3 = &temp3;
7200 (void)self;
7201 if (!SWIG_Python_UnpackTuple(args, "plgfam", 0, 0, 0)) SWIG_fail;
7202 plgfam(arg1,arg2,arg3);
7203 resultobj = SWIG_Py_Void();
7204 if (SWIG_IsTmpObj(res1)) {
7205 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7206 } else {
7207 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7208 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7209 }
7210 if (SWIG_IsTmpObj(res2)) {
7211 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7212 } else {
7213 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7214 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7215 }
7216 if (SWIG_IsTmpObj(res3)) {
7217 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
7218 } else {
7219 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7220 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
7221 }
7222 return resultobj;
7223fail:
7224 return NULL;
7225}
7226
7227
7228SWIGINTERN PyObject *_wrap_plgfci(PyObject *self, PyObject *args) {
7229 PyObject *resultobj = 0;
7230 PLUNICODE *arg1 = 0 ;
7231 PLUNICODE temp1 ;
7232 int res1 = SWIG_TMPOBJ ;
7233
7234 arg1 = &temp1;
7235 (void)self;
7236 if (!SWIG_Python_UnpackTuple(args, "plgfci", 0, 0, 0)) SWIG_fail;
7237 plgfci(arg1);
7238 resultobj = SWIG_Py_Void();
7239 if (SWIG_IsTmpObj(res1)) {
7240 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_int((*arg1)), 1);
7241 } else {
7242 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7243 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_unsigned_int, new_flags), 1);
7244 }
7245 return resultobj;
7246fail:
7247 return NULL;
7248}
7249
7250
7251SWIGINTERN PyObject *_wrap_plgfnam(PyObject *self, PyObject *args) {
7252 PyObject *resultobj = 0;
7253 char *arg1 = 0 ;
7254 char buff1[1000] ;
7255
7256 {
7257 arg1 = buff1;
7258 }
7259 (void)self;
7260 if (!SWIG_Python_UnpackTuple(args, "plgfnam", 0, 0, 0)) SWIG_fail;
7261 plgfnam(arg1);
7262 resultobj = SWIG_Py_Void();
7263 {
7264 PyObject *o = PyUnicode_FromString( arg1 );
7265 resultobj = SWIG_Python_AppendOutput(resultobj, o, 1);
7266 }
7267 return resultobj;
7268fail:
7269 return NULL;
7270}
7271
7272
7273SWIGINTERN PyObject *_wrap_plgfont(PyObject *self, PyObject *args) {
7274 PyObject *resultobj = 0;
7275 PLINT *arg1 = 0 ;
7276 PLINT *arg2 = 0 ;
7277 PLINT *arg3 = 0 ;
7278 PLINT temp1 ;
7279 int res1 = SWIG_TMPOBJ ;
7280 PLINT temp2 ;
7281 int res2 = SWIG_TMPOBJ ;
7282 PLINT temp3 ;
7283 int res3 = SWIG_TMPOBJ ;
7284
7285 arg1 = &temp1;
7286 arg2 = &temp2;
7287 arg3 = &temp3;
7288 (void)self;
7289 if (!SWIG_Python_UnpackTuple(args, "plgfont", 0, 0, 0)) SWIG_fail;
7290 plgfont(arg1,arg2,arg3);
7291 resultobj = SWIG_Py_Void();
7292 if (SWIG_IsTmpObj(res1)) {
7293 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7294 } else {
7295 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7296 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7297 }
7298 if (SWIG_IsTmpObj(res2)) {
7299 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7300 } else {
7301 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7302 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7303 }
7304 if (SWIG_IsTmpObj(res3)) {
7305 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
7306 } else {
7307 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7308 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
7309 }
7310 return resultobj;
7311fail:
7312 return NULL;
7313}
7314
7315
7316SWIGINTERN PyObject *_wrap_plglevel(PyObject *self, PyObject *args) {
7317 PyObject *resultobj = 0;
7318 PLINT *arg1 = 0 ;
7319 PLINT temp1 ;
7320 int res1 = SWIG_TMPOBJ ;
7321
7322 arg1 = &temp1;
7323 (void)self;
7324 if (!SWIG_Python_UnpackTuple(args, "plglevel", 0, 0, 0)) SWIG_fail;
7325 plglevel(arg1);
7326 resultobj = SWIG_Py_Void();
7327 if (SWIG_IsTmpObj(res1)) {
7328 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7329 } else {
7330 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7331 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7332 }
7333 return resultobj;
7334fail:
7335 return NULL;
7336}
7337
7338
7339SWIGINTERN PyObject *_wrap_plgpage(PyObject *self, PyObject *args) {
7340 PyObject *resultobj = 0;
7341 PLFLT *arg1 = 0 ;
7342 PLFLT *arg2 = 0 ;
7343 PLINT *arg3 = 0 ;
7344 PLINT *arg4 = 0 ;
7345 PLINT *arg5 = 0 ;
7346 PLINT *arg6 = 0 ;
7347 PLFLT temp1 ;
7348 int res1 = SWIG_TMPOBJ ;
7349 PLFLT temp2 ;
7350 int res2 = SWIG_TMPOBJ ;
7351 PLINT temp3 ;
7352 int res3 = SWIG_TMPOBJ ;
7353 PLINT temp4 ;
7354 int res4 = SWIG_TMPOBJ ;
7355 PLINT temp5 ;
7356 int res5 = SWIG_TMPOBJ ;
7357 PLINT temp6 ;
7358 int res6 = SWIG_TMPOBJ ;
7359
7360 arg1 = &temp1;
7361 arg2 = &temp2;
7362 arg3 = &temp3;
7363 arg4 = &temp4;
7364 arg5 = &temp5;
7365 arg6 = &temp6;
7366 (void)self;
7367 if (!SWIG_Python_UnpackTuple(args, "plgpage", 0, 0, 0)) SWIG_fail;
7368 plgpage(arg1,arg2,arg3,arg4,arg5,arg6);
7369 resultobj = SWIG_Py_Void();
7370 if (SWIG_IsTmpObj(res1)) {
7371 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7372 } else {
7373 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7374 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7375 }
7376 if (SWIG_IsTmpObj(res2)) {
7377 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7378 } else {
7379 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7380 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7381 }
7382 if (SWIG_IsTmpObj(res3)) {
7383 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)), 1);
7384 } else {
7385 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7386 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags), 1);
7387 }
7388 if (SWIG_IsTmpObj(res4)) {
7389 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)), 1);
7390 } else {
7391 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7392 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags), 1);
7393 }
7394 if (SWIG_IsTmpObj(res5)) {
7395 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)), 1);
7396 } else {
7397 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7398 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags), 1);
7399 }
7400 if (SWIG_IsTmpObj(res6)) {
7401 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg6)), 1);
7402 } else {
7403 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7404 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, new_flags), 1);
7405 }
7406 return resultobj;
7407fail:
7408 return NULL;
7409}
7410
7411
7412SWIGINTERN PyObject *_wrap_plgra(PyObject *self, PyObject *args) {
7413 PyObject *resultobj = 0;
7414
7415 (void)self;
7416 if (!SWIG_Python_UnpackTuple(args, "plgra", 0, 0, 0)) SWIG_fail;
7417 plgra();
7418 resultobj = SWIG_Py_Void();
7419 return resultobj;
7420fail:
7421 return NULL;
7422}
7423
7424
7425SWIGINTERN PyObject *_wrap_plgriddata(PyObject *self, PyObject *args) {
7426 PyObject *resultobj = 0;
7427 PLFLT *arg1 = 0 ;
7428 PLFLT *arg2 = 0 ;
7429 PLFLT *arg3 = 0 ;
7430 PLINT arg4 ;
7431 PLFLT *arg5 = 0 ;
7432 PLINT arg6 ;
7433 PLFLT *arg7 = 0 ;
7434 PLINT arg8 ;
7435 PLFLT **arg9 = 0 ;
7436 PLINT arg10 ;
7437 PLFLT arg11 ;
7438 PyArrayObject *tmp1 = NULL ;
7439 PyArrayObject *tmp2 = NULL ;
7440 PyArrayObject *tmp3 = NULL ;
7441 PyArrayObject *tmp5 = NULL ;
7442 PyArrayObject *tmp7 = NULL ;
7443 PyObject *array7 = NULL ;
7444 int val10 ;
7445 int ecode10 = 0 ;
7446 double val11 ;
7447 int ecode11 = 0 ;
7448 PyObject *swig_obj[7] ;
7449
7450 (void)self;
7451 if (!SWIG_Python_UnpackTuple(args, "plgriddata", 7, 7, swig_obj)) SWIG_fail;
7452 {
7453 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
7454 if ( tmp1 == NULL )
7455 return NULL;
7456 Alen = PyArray_DIMS( tmp1 )[0];
7457 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
7458 }
7459 {
7460 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
7461 if ( tmp2 == NULL )
7462 return NULL;
7463 if ( PyArray_DIMS( tmp2 )[0] != Alen )
7464 {
7465 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
7466 return NULL;
7467 }
7468 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
7469 }
7470 {
7471 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
7472 if ( tmp3 == NULL )
7473 return NULL;
7474 if ( PyArray_DIMS( tmp3 )[0] != Alen )
7475 {
7476 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
7477 return NULL;
7478 }
7479 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
7480 arg4 = PyArray_DIMS( tmp3 )[0];
7481 }
7482 {
7483 tmp5 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[3], NPY_PLFLT, 1, 1 );
7484 if ( tmp5 == NULL )
7485 return NULL;
7486 Xlen = PyArray_DIMS( tmp5 )[0];
7487 arg6 = Xlen;
7488 arg5 = (PLFLT *) PyArray_DATA( tmp5 );
7489 }
7490 {
7491 int i, size;
7492 npy_intp dims[2];
7493 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
7494 if ( tmp7 == NULL )
7495 return NULL;
7496 Ylen = PyArray_DIMS( tmp7 )[0];
7497 arg8 = Ylen;
7498 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
7499 // Make created 2D array7 have dimensions from prior ArrayX in the argument
7500 // list and this ArrayY.
7501 dims[0] = Xlen;
7502 dims[1] = Ylen;
7503 array7 = PyArray_SimpleNew( 2, dims, NPY_PLFLT );
7504 if ( !array7 )
7505 return NULL;
7506 size = Ylen;
7507 arg9 = (PLFLT **) malloc( sizeof ( double * ) * (size_t) Xlen );
7508 for ( i = 0; i < Xlen; i++ )
7509 arg9[i] = ( (PLFLT *) PyArray_DATA( (PyArrayObject *) array7 ) + i * size );
7510 }
7511 ecode10 = SWIG_AsVal_int(swig_obj[5], &val10);
7512 if (!SWIG_IsOK(ecode10)) {
7513 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plgriddata" "', argument " "10"" of type '" "PLINT""'");
7514 }
7515 arg10 = (PLINT)(val10);
7516 ecode11 = SWIG_AsVal_double(swig_obj[6], &val11);
7517 if (!SWIG_IsOK(ecode11)) {
7518 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plgriddata" "', argument " "11"" of type '" "PLFLT""'");
7519 }
7520 arg11 = (PLFLT)(val11);
7521 plgriddata((double const *)arg1,(double const *)arg2,(double const *)arg3,arg4,(double const *)arg5,arg6,(double const *)arg7,arg8,arg9,arg10,arg11);
7522 resultobj = SWIG_Py_Void();
7523 {
7524 resultobj = SWIG_Python_AppendOutput(resultobj, array7, 1);
7525 }
7526 {
7527 Py_CLEAR( tmp1 );
7528 }
7529 {
7530 Py_CLEAR( tmp2 );
7531 }
7532 {
7533 Py_CLEAR( tmp3 );
7534 }
7535 {
7536 Py_CLEAR( tmp5 );
7537 }
7538 {
7539 Py_CLEAR( tmp7 );
7540 free( arg9 );
7541 }
7542 return resultobj;
7543fail:
7544 {
7545 Py_CLEAR( tmp1 );
7546 }
7547 {
7548 Py_CLEAR( tmp2 );
7549 }
7550 {
7551 Py_CLEAR( tmp3 );
7552 }
7553 {
7554 Py_CLEAR( tmp5 );
7555 }
7556 {
7557 Py_CLEAR( tmp7 );
7558 free( arg9 );
7559 }
7560 return NULL;
7561}
7562
7563
7564SWIGINTERN PyObject *_wrap_plgspa(PyObject *self, PyObject *args) {
7565 PyObject *resultobj = 0;
7566 PLFLT *arg1 = 0 ;
7567 PLFLT *arg2 = 0 ;
7568 PLFLT *arg3 = 0 ;
7569 PLFLT *arg4 = 0 ;
7570 PLFLT temp1 ;
7571 int res1 = SWIG_TMPOBJ ;
7572 PLFLT temp2 ;
7573 int res2 = SWIG_TMPOBJ ;
7574 PLFLT temp3 ;
7575 int res3 = SWIG_TMPOBJ ;
7576 PLFLT temp4 ;
7577 int res4 = SWIG_TMPOBJ ;
7578
7579 arg1 = &temp1;
7580 arg2 = &temp2;
7581 arg3 = &temp3;
7582 arg4 = &temp4;
7583 (void)self;
7584 if (!SWIG_Python_UnpackTuple(args, "plgspa", 0, 0, 0)) SWIG_fail;
7585 plgspa(arg1,arg2,arg3,arg4);
7586 resultobj = SWIG_Py_Void();
7587 if (SWIG_IsTmpObj(res1)) {
7588 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7589 } else {
7590 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7591 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7592 }
7593 if (SWIG_IsTmpObj(res2)) {
7594 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7595 } else {
7596 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7597 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7598 }
7599 if (SWIG_IsTmpObj(res3)) {
7600 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
7601 } else {
7602 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7603 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
7604 }
7605 if (SWIG_IsTmpObj(res4)) {
7606 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7607 } else {
7608 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7609 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7610 }
7611 return resultobj;
7612fail:
7613 return NULL;
7614}
7615
7616
7617SWIGINTERN PyObject *_wrap_plgstrm(PyObject *self, PyObject *args) {
7618 PyObject *resultobj = 0;
7619 PLINT *arg1 = 0 ;
7620 PLINT temp1 ;
7621 int res1 = SWIG_TMPOBJ ;
7622
7623 arg1 = &temp1;
7624 (void)self;
7625 if (!SWIG_Python_UnpackTuple(args, "plgstrm", 0, 0, 0)) SWIG_fail;
7626 plgstrm(arg1);
7627 resultobj = SWIG_Py_Void();
7628 if (SWIG_IsTmpObj(res1)) {
7629 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7630 } else {
7631 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7632 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7633 }
7634 return resultobj;
7635fail:
7636 return NULL;
7637}
7638
7639
7640SWIGINTERN PyObject *_wrap_plgver(PyObject *self, PyObject *args) {
7641 PyObject *resultobj = 0;
7642 char *arg1 = 0 ;
7643 char buff1[1000] ;
7644
7645 {
7646 arg1 = buff1;
7647 }
7648 (void)self;
7649 if (!SWIG_Python_UnpackTuple(args, "plgver", 0, 0, 0)) SWIG_fail;
7650 plgver(arg1);
7651 resultobj = SWIG_Py_Void();
7652 {
7653 PyObject *o = PyUnicode_FromString( arg1 );
7654 resultobj = SWIG_Python_AppendOutput(resultobj, o, 1);
7655 }
7656 return resultobj;
7657fail:
7658 return NULL;
7659}
7660
7661
7662SWIGINTERN PyObject *_wrap_plgvpd(PyObject *self, PyObject *args) {
7663 PyObject *resultobj = 0;
7664 PLFLT *arg1 = 0 ;
7665 PLFLT *arg2 = 0 ;
7666 PLFLT *arg3 = 0 ;
7667 PLFLT *arg4 = 0 ;
7668 PLFLT temp1 ;
7669 int res1 = SWIG_TMPOBJ ;
7670 PLFLT temp2 ;
7671 int res2 = SWIG_TMPOBJ ;
7672 PLFLT temp3 ;
7673 int res3 = SWIG_TMPOBJ ;
7674 PLFLT temp4 ;
7675 int res4 = SWIG_TMPOBJ ;
7676
7677 arg1 = &temp1;
7678 arg2 = &temp2;
7679 arg3 = &temp3;
7680 arg4 = &temp4;
7681 (void)self;
7682 if (!SWIG_Python_UnpackTuple(args, "plgvpd", 0, 0, 0)) SWIG_fail;
7683 plgvpd(arg1,arg2,arg3,arg4);
7684 resultobj = SWIG_Py_Void();
7685 if (SWIG_IsTmpObj(res1)) {
7686 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7687 } else {
7688 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7689 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7690 }
7691 if (SWIG_IsTmpObj(res2)) {
7692 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7693 } else {
7694 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7695 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7696 }
7697 if (SWIG_IsTmpObj(res3)) {
7698 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
7699 } else {
7700 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7701 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
7702 }
7703 if (SWIG_IsTmpObj(res4)) {
7704 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7705 } else {
7706 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7707 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7708 }
7709 return resultobj;
7710fail:
7711 return NULL;
7712}
7713
7714
7715SWIGINTERN PyObject *_wrap_plgvpw(PyObject *self, PyObject *args) {
7716 PyObject *resultobj = 0;
7717 PLFLT *arg1 = 0 ;
7718 PLFLT *arg2 = 0 ;
7719 PLFLT *arg3 = 0 ;
7720 PLFLT *arg4 = 0 ;
7721 PLFLT temp1 ;
7722 int res1 = SWIG_TMPOBJ ;
7723 PLFLT temp2 ;
7724 int res2 = SWIG_TMPOBJ ;
7725 PLFLT temp3 ;
7726 int res3 = SWIG_TMPOBJ ;
7727 PLFLT temp4 ;
7728 int res4 = SWIG_TMPOBJ ;
7729
7730 arg1 = &temp1;
7731 arg2 = &temp2;
7732 arg3 = &temp3;
7733 arg4 = &temp4;
7734 (void)self;
7735 if (!SWIG_Python_UnpackTuple(args, "plgvpw", 0, 0, 0)) SWIG_fail;
7736 plgvpw(arg1,arg2,arg3,arg4);
7737 resultobj = SWIG_Py_Void();
7738 if (SWIG_IsTmpObj(res1)) {
7739 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
7740 } else {
7741 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7742 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
7743 }
7744 if (SWIG_IsTmpObj(res2)) {
7745 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
7746 } else {
7747 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7748 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
7749 }
7750 if (SWIG_IsTmpObj(res3)) {
7751 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)), 1);
7752 } else {
7753 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7754 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags), 1);
7755 }
7756 if (SWIG_IsTmpObj(res4)) {
7757 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7758 } else {
7759 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7760 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7761 }
7762 return resultobj;
7763fail:
7764 return NULL;
7765}
7766
7767
7768SWIGINTERN PyObject *_wrap_plgxax(PyObject *self, PyObject *args) {
7769 PyObject *resultobj = 0;
7770 PLINT *arg1 = 0 ;
7771 PLINT *arg2 = 0 ;
7772 PLINT temp1 ;
7773 int res1 = SWIG_TMPOBJ ;
7774 PLINT temp2 ;
7775 int res2 = SWIG_TMPOBJ ;
7776
7777 arg1 = &temp1;
7778 arg2 = &temp2;
7779 (void)self;
7780 if (!SWIG_Python_UnpackTuple(args, "plgxax", 0, 0, 0)) SWIG_fail;
7781 plgxax(arg1,arg2);
7782 resultobj = SWIG_Py_Void();
7783 if (SWIG_IsTmpObj(res1)) {
7784 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7785 } else {
7786 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7787 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7788 }
7789 if (SWIG_IsTmpObj(res2)) {
7790 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7791 } else {
7792 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7793 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7794 }
7795 return resultobj;
7796fail:
7797 return NULL;
7798}
7799
7800
7801SWIGINTERN PyObject *_wrap_plgyax(PyObject *self, PyObject *args) {
7802 PyObject *resultobj = 0;
7803 PLINT *arg1 = 0 ;
7804 PLINT *arg2 = 0 ;
7805 PLINT temp1 ;
7806 int res1 = SWIG_TMPOBJ ;
7807 PLINT temp2 ;
7808 int res2 = SWIG_TMPOBJ ;
7809
7810 arg1 = &temp1;
7811 arg2 = &temp2;
7812 (void)self;
7813 if (!SWIG_Python_UnpackTuple(args, "plgyax", 0, 0, 0)) SWIG_fail;
7814 plgyax(arg1,arg2);
7815 resultobj = SWIG_Py_Void();
7816 if (SWIG_IsTmpObj(res1)) {
7817 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7818 } else {
7819 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7820 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7821 }
7822 if (SWIG_IsTmpObj(res2)) {
7823 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7824 } else {
7825 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7826 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7827 }
7828 return resultobj;
7829fail:
7830 return NULL;
7831}
7832
7833
7834SWIGINTERN PyObject *_wrap_plgzax(PyObject *self, PyObject *args) {
7835 PyObject *resultobj = 0;
7836 PLINT *arg1 = 0 ;
7837 PLINT *arg2 = 0 ;
7838 PLINT temp1 ;
7839 int res1 = SWIG_TMPOBJ ;
7840 PLINT temp2 ;
7841 int res2 = SWIG_TMPOBJ ;
7842
7843 arg1 = &temp1;
7844 arg2 = &temp2;
7845 (void)self;
7846 if (!SWIG_Python_UnpackTuple(args, "plgzax", 0, 0, 0)) SWIG_fail;
7847 plgzax(arg1,arg2);
7848 resultobj = SWIG_Py_Void();
7849 if (SWIG_IsTmpObj(res1)) {
7850 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
7851 } else {
7852 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7853 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
7854 }
7855 if (SWIG_IsTmpObj(res2)) {
7856 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
7857 } else {
7858 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7859 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
7860 }
7861 return resultobj;
7862fail:
7863 return NULL;
7864}
7865
7866
7867SWIGINTERN PyObject *_wrap_plhist(PyObject *self, PyObject *args) {
7868 PyObject *resultobj = 0;
7869 PLINT arg1 ;
7870 PLFLT *arg2 = 0 ;
7871 PLFLT arg3 ;
7872 PLFLT arg4 ;
7873 PLINT arg5 ;
7874 PLINT arg6 ;
7875 PyArrayObject *tmp1 = NULL ;
7876 double val3 ;
7877 int ecode3 = 0 ;
7878 double val4 ;
7879 int ecode4 = 0 ;
7880 int val5 ;
7881 int ecode5 = 0 ;
7882 int val6 ;
7883 int ecode6 = 0 ;
7884 PyObject *swig_obj[5] ;
7885
7886 (void)self;
7887 if (!SWIG_Python_UnpackTuple(args, "plhist", 5, 5, swig_obj)) SWIG_fail;
7888 {
7889 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
7890 if ( tmp1 == NULL )
7891 return NULL;
7892 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
7893 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
7894 }
7895 ecode3 = SWIG_AsVal_double(swig_obj[1], &val3);
7896 if (!SWIG_IsOK(ecode3)) {
7897 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plhist" "', argument " "3"" of type '" "PLFLT""'");
7898 }
7899 arg3 = (PLFLT)(val3);
7900 ecode4 = SWIG_AsVal_double(swig_obj[2], &val4);
7901 if (!SWIG_IsOK(ecode4)) {
7902 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plhist" "', argument " "4"" of type '" "PLFLT""'");
7903 }
7904 arg4 = (PLFLT)(val4);
7905 ecode5 = SWIG_AsVal_int(swig_obj[3], &val5);
7906 if (!SWIG_IsOK(ecode5)) {
7907 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plhist" "', argument " "5"" of type '" "PLINT""'");
7908 }
7909 arg5 = (PLINT)(val5);
7910 ecode6 = SWIG_AsVal_int(swig_obj[4], &val6);
7911 if (!SWIG_IsOK(ecode6)) {
7912 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plhist" "', argument " "6"" of type '" "PLINT""'");
7913 }
7914 arg6 = (PLINT)(val6);
7915 plhist(arg1,(double const *)arg2,arg3,arg4,arg5,arg6);
7916 resultobj = SWIG_Py_Void();
7917 {
7918 Py_CLEAR( tmp1 );
7919 }
7920 return resultobj;
7921fail:
7922 {
7923 Py_CLEAR( tmp1 );
7924 }
7925 return NULL;
7926}
7927
7928
7929SWIGINTERN PyObject *_wrap_plhlsrgb(PyObject *self, PyObject *args) {
7930 PyObject *resultobj = 0;
7931 PLFLT arg1 ;
7932 PLFLT arg2 ;
7933 PLFLT arg3 ;
7934 PLFLT *arg4 = 0 ;
7935 PLFLT *arg5 = 0 ;
7936 PLFLT *arg6 = 0 ;
7937 double val1 ;
7938 int ecode1 = 0 ;
7939 double val2 ;
7940 int ecode2 = 0 ;
7941 double val3 ;
7942 int ecode3 = 0 ;
7943 PLFLT temp4 ;
7944 int res4 = SWIG_TMPOBJ ;
7945 PLFLT temp5 ;
7946 int res5 = SWIG_TMPOBJ ;
7947 PLFLT temp6 ;
7948 int res6 = SWIG_TMPOBJ ;
7949 PyObject *swig_obj[3] ;
7950
7951 arg4 = &temp4;
7952 arg5 = &temp5;
7953 arg6 = &temp6;
7954 (void)self;
7955 if (!SWIG_Python_UnpackTuple(args, "plhlsrgb", 3, 3, swig_obj)) SWIG_fail;
7956 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
7957 if (!SWIG_IsOK(ecode1)) {
7958 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plhlsrgb" "', argument " "1"" of type '" "PLFLT""'");
7959 }
7960 arg1 = (PLFLT)(val1);
7961 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
7962 if (!SWIG_IsOK(ecode2)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plhlsrgb" "', argument " "2"" of type '" "PLFLT""'");
7964 }
7965 arg2 = (PLFLT)(val2);
7966 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
7967 if (!SWIG_IsOK(ecode3)) {
7968 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plhlsrgb" "', argument " "3"" of type '" "PLFLT""'");
7969 }
7970 arg3 = (PLFLT)(val3);
7971 plhlsrgb(arg1,arg2,arg3,arg4,arg5,arg6);
7972 resultobj = SWIG_Py_Void();
7973 if (SWIG_IsTmpObj(res4)) {
7974 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
7975 } else {
7976 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7977 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
7978 }
7979 if (SWIG_IsTmpObj(res5)) {
7980 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg5)), 1);
7981 } else {
7982 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7983 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags), 1);
7984 }
7985 if (SWIG_IsTmpObj(res6)) {
7986 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg6)), 1);
7987 } else {
7988 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7989 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags), 1);
7990 }
7991 return resultobj;
7992fail:
7993 return NULL;
7994}
7995
7996
7997SWIGINTERN PyObject *_wrap_plinit(PyObject *self, PyObject *args) {
7998 PyObject *resultobj = 0;
7999
8000 (void)self;
8001 if (!SWIG_Python_UnpackTuple(args, "plinit", 0, 0, 0)) SWIG_fail;
8002 plinit();
8003 resultobj = SWIG_Py_Void();
8004 return resultobj;
8005fail:
8006 return NULL;
8007}
8008
8009
8010SWIGINTERN PyObject *_wrap_pljoin(PyObject *self, PyObject *args) {
8011 PyObject *resultobj = 0;
8012 PLFLT arg1 ;
8013 PLFLT arg2 ;
8014 PLFLT arg3 ;
8015 PLFLT arg4 ;
8016 double val1 ;
8017 int ecode1 = 0 ;
8018 double val2 ;
8019 int ecode2 = 0 ;
8020 double val3 ;
8021 int ecode3 = 0 ;
8022 double val4 ;
8023 int ecode4 = 0 ;
8024 PyObject *swig_obj[4] ;
8025
8026 (void)self;
8027 if (!SWIG_Python_UnpackTuple(args, "pljoin", 4, 4, swig_obj)) SWIG_fail;
8028 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
8029 if (!SWIG_IsOK(ecode1)) {
8030 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pljoin" "', argument " "1"" of type '" "PLFLT""'");
8031 }
8032 arg1 = (PLFLT)(val1);
8033 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
8034 if (!SWIG_IsOK(ecode2)) {
8035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pljoin" "', argument " "2"" of type '" "PLFLT""'");
8036 }
8037 arg2 = (PLFLT)(val2);
8038 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
8039 if (!SWIG_IsOK(ecode3)) {
8040 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pljoin" "', argument " "3"" of type '" "PLFLT""'");
8041 }
8042 arg3 = (PLFLT)(val3);
8043 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
8044 if (!SWIG_IsOK(ecode4)) {
8045 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pljoin" "', argument " "4"" of type '" "PLFLT""'");
8046 }
8047 arg4 = (PLFLT)(val4);
8048 pljoin(arg1,arg2,arg3,arg4);
8049 resultobj = SWIG_Py_Void();
8050 return resultobj;
8051fail:
8052 return NULL;
8053}
8054
8055
8056SWIGINTERN PyObject *_wrap_pllab(PyObject *self, PyObject *args) {
8057 PyObject *resultobj = 0;
8058 char *arg1 = 0 ;
8059 char *arg2 = 0 ;
8060 char *arg3 = 0 ;
8061 int res1 ;
8062 char *buf1 = 0 ;
8063 int alloc1 = 0 ;
8064 int res2 ;
8065 char *buf2 = 0 ;
8066 int alloc2 = 0 ;
8067 int res3 ;
8068 char *buf3 = 0 ;
8069 int alloc3 = 0 ;
8070 PyObject *swig_obj[3] ;
8071
8072 (void)self;
8073 if (!SWIG_Python_UnpackTuple(args, "pllab", 3, 3, swig_obj)) SWIG_fail;
8074 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
8075 if (!SWIG_IsOK(res1)) {
8076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pllab" "', argument " "1"" of type '" "char const *""'");
8077 }
8078 arg1 = (char *)(buf1);
8079 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
8080 if (!SWIG_IsOK(res2)) {
8081 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pllab" "', argument " "2"" of type '" "char const *""'");
8082 }
8083 arg2 = (char *)(buf2);
8084 res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
8085 if (!SWIG_IsOK(res3)) {
8086 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pllab" "', argument " "3"" of type '" "char const *""'");
8087 }
8088 arg3 = (char *)(buf3);
8089 pllab((char const *)arg1,(char const *)arg2,(char const *)arg3);
8090 resultobj = SWIG_Py_Void();
8091 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8092 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8093 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8094 return resultobj;
8095fail:
8096 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
8097 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8098 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
8099 return NULL;
8100}
8101
8102
8103SWIGINTERN PyObject *_wrap_pllegend(PyObject *self, PyObject *args) {
8104 PyObject *resultobj = 0;
8105 PLFLT *arg1 = 0 ;
8106 PLFLT *arg2 = 0 ;
8107 PLINT arg3 ;
8108 PLINT arg4 ;
8109 PLFLT arg5 ;
8110 PLFLT arg6 ;
8111 PLFLT arg7 ;
8112 PLINT arg8 ;
8113 PLINT arg9 ;
8114 PLINT arg10 ;
8115 PLINT arg11 ;
8116 PLINT arg12 ;
8117 PLINT arg13 ;
8118 PLINT *arg14 = 0 ;
8119 PLFLT arg15 ;
8120 PLFLT arg16 ;
8121 PLFLT arg17 ;
8122 PLFLT arg18 ;
8123 PLINT *arg19 = 0 ;
8124 char **arg20 = 0 ;
8125 PLINT *arg21 = 0 ;
8126 PLINT *arg22 = 0 ;
8127 PLFLT *arg23 = 0 ;
8128 PLFLT *arg24 = 0 ;
8129 PLINT *arg25 = 0 ;
8130 PLINT *arg26 = 0 ;
8131 PLFLT *arg27 = 0 ;
8132 PLINT *arg28 = 0 ;
8133 PLFLT *arg29 = 0 ;
8134 PLINT *arg30 = 0 ;
8135 char **arg31 = 0 ;
8136 PLFLT temp1 ;
8137 int res1 = SWIG_TMPOBJ ;
8138 PLFLT temp2 ;
8139 int res2 = SWIG_TMPOBJ ;
8140 int val3 ;
8141 int ecode3 = 0 ;
8142 int val4 ;
8143 int ecode4 = 0 ;
8144 double val5 ;
8145 int ecode5 = 0 ;
8146 double val6 ;
8147 int ecode6 = 0 ;
8148 double val7 ;
8149 int ecode7 = 0 ;
8150 int val8 ;
8151 int ecode8 = 0 ;
8152 int val9 ;
8153 int ecode9 = 0 ;
8154 int val10 ;
8155 int ecode10 = 0 ;
8156 int val11 ;
8157 int ecode11 = 0 ;
8158 int val12 ;
8159 int ecode12 = 0 ;
8160 PyArrayObject *tmp13 = NULL ;
8161 double val15 ;
8162 int ecode15 = 0 ;
8163 double val16 ;
8164 int ecode16 = 0 ;
8165 double val17 ;
8166 int ecode17 = 0 ;
8167 double val18 ;
8168 int ecode18 = 0 ;
8169 PyArrayObject *tmp19 = NULL ;
8170 PyArrayObject *tmp20 = NULL ;
8171 PyArrayObject *tmp21 = NULL ;
8172 PyArrayObject *tmp22 = NULL ;
8173 PyArrayObject *tmp23 = NULL ;
8174 PyArrayObject *tmp24 = NULL ;
8175 PyArrayObject *tmp25 = NULL ;
8176 PyArrayObject *tmp26 = NULL ;
8177 PyArrayObject *tmp27 = NULL ;
8178 PyArrayObject *tmp28 = NULL ;
8179 PyArrayObject *tmp29 = NULL ;
8180 PyArrayObject *tmp30 = NULL ;
8181 PyArrayObject *tmp31 = NULL ;
8182 PyObject *swig_obj[28] ;
8183
8184 arg1 = &temp1;
8185 arg2 = &temp2;
8186 (void)self;
8187 if (!SWIG_Python_UnpackTuple(args, "pllegend", 28, 28, swig_obj)) SWIG_fail;
8188 ecode3 = SWIG_AsVal_int(swig_obj[0], &val3);
8189 if (!SWIG_IsOK(ecode3)) {
8190 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pllegend" "', argument " "3"" of type '" "PLINT""'");
8191 }
8192 arg3 = (PLINT)(val3);
8193 ecode4 = SWIG_AsVal_int(swig_obj[1], &val4);
8194 if (!SWIG_IsOK(ecode4)) {
8195 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pllegend" "', argument " "4"" of type '" "PLINT""'");
8196 }
8197 arg4 = (PLINT)(val4);
8198 ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
8199 if (!SWIG_IsOK(ecode5)) {
8200 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pllegend" "', argument " "5"" of type '" "PLFLT""'");
8201 }
8202 arg5 = (PLFLT)(val5);
8203 ecode6 = SWIG_AsVal_double(swig_obj[3], &val6);
8204 if (!SWIG_IsOK(ecode6)) {
8205 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "pllegend" "', argument " "6"" of type '" "PLFLT""'");
8206 }
8207 arg6 = (PLFLT)(val6);
8208 ecode7 = SWIG_AsVal_double(swig_obj[4], &val7);
8209 if (!SWIG_IsOK(ecode7)) {
8210 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "pllegend" "', argument " "7"" of type '" "PLFLT""'");
8211 }
8212 arg7 = (PLFLT)(val7);
8213 ecode8 = SWIG_AsVal_int(swig_obj[5], &val8);
8214 if (!SWIG_IsOK(ecode8)) {
8215 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "pllegend" "', argument " "8"" of type '" "PLINT""'");
8216 }
8217 arg8 = (PLINT)(val8);
8218 ecode9 = SWIG_AsVal_int(swig_obj[6], &val9);
8219 if (!SWIG_IsOK(ecode9)) {
8220 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "pllegend" "', argument " "9"" of type '" "PLINT""'");
8221 }
8222 arg9 = (PLINT)(val9);
8223 ecode10 = SWIG_AsVal_int(swig_obj[7], &val10);
8224 if (!SWIG_IsOK(ecode10)) {
8225 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "pllegend" "', argument " "10"" of type '" "PLINT""'");
8226 }
8227 arg10 = (PLINT)(val10);
8228 ecode11 = SWIG_AsVal_int(swig_obj[8], &val11);
8229 if (!SWIG_IsOK(ecode11)) {
8230 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "pllegend" "', argument " "11"" of type '" "PLINT""'");
8231 }
8232 arg11 = (PLINT)(val11);
8233 ecode12 = SWIG_AsVal_int(swig_obj[9], &val12);
8234 if (!SWIG_IsOK(ecode12)) {
8235 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "pllegend" "', argument " "12"" of type '" "PLINT""'");
8236 }
8237 arg12 = (PLINT)(val12);
8238 {
8239 tmp13 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[10], NPY_PLINT, 1, 1 );
8240 if ( tmp13 == NULL )
8241 return NULL;
8242 arg13 = Alen = PyArray_DIMS( tmp13 )[0];
8243 arg14 = (PLINT *) PyArray_DATA( tmp13 );
8244 }
8245 ecode15 = SWIG_AsVal_double(swig_obj[11], &val15);
8246 if (!SWIG_IsOK(ecode15)) {
8247 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "pllegend" "', argument " "15"" of type '" "PLFLT""'");
8248 }
8249 arg15 = (PLFLT)(val15);
8250 ecode16 = SWIG_AsVal_double(swig_obj[12], &val16);
8251 if (!SWIG_IsOK(ecode16)) {
8252 SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "pllegend" "', argument " "16"" of type '" "PLFLT""'");
8253 }
8254 arg16 = (PLFLT)(val16);
8255 ecode17 = SWIG_AsVal_double(swig_obj[13], &val17);
8256 if (!SWIG_IsOK(ecode17)) {
8257 SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "pllegend" "', argument " "17"" of type '" "PLFLT""'");
8258 }
8259 arg17 = (PLFLT)(val17);
8260 ecode18 = SWIG_AsVal_double(swig_obj[14], &val18);
8261 if (!SWIG_IsOK(ecode18)) {
8262 SWIG_exception_fail(SWIG_ArgError(ecode18), "in method '" "pllegend" "', argument " "18"" of type '" "PLFLT""'");
8263 }
8264 arg18 = (PLFLT)(val18);
8265 {
8266 tmp19 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[15], NPY_PLINT, 1, 1 );
8267 if ( tmp19 == NULL )
8268 return NULL;
8269 if ( PyArray_DIMS( tmp19 )[0] != Alen )
8270 {
8271 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8272 return NULL;
8273 }
8274 arg19 = (PLINT *) PyArray_DATA( tmp19 );
8275 }
8276 {
8277 int i;
8278 tmp20 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[16], NPY_STRING, 1, 1 );
8279 if ( tmp20 == NULL )
8280 return NULL;
8281 if ( PyArray_DIMS( tmp20 )[0] != Alen )
8282 {
8283 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8284 return NULL;
8285 }
8286 arg20 = (char **) malloc( sizeof ( char* ) * (size_t) Alen );
8287 for ( i = 0; i < Alen; i++ )
8288 {
8289 arg20[i] = (char *) PyArray_DATA( tmp20 ) + i * PyArray_STRIDES( tmp20 )[0];
8290 if ( arg20[i] == NULL )
8291 {
8292 free( arg20 );
8293 return NULL;
8294 }
8295 }
8296 }
8297 {
8298 tmp21 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[17], NPY_PLINT, 1, 1 );
8299 if ( tmp21 == NULL )
8300 return NULL;
8301 if ( PyArray_DIMS( tmp21 )[0] != Alen )
8302 {
8303 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8304 return NULL;
8305 }
8306 arg21 = (PLINT *) PyArray_DATA( tmp21 );
8307 }
8308 {
8309 tmp22 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[18], NPY_PLINT, 1, 1 );
8310 if ( tmp22 == NULL )
8311 return NULL;
8312 if ( PyArray_DIMS( tmp22 )[0] != Alen )
8313 {
8314 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8315 return NULL;
8316 }
8317 arg22 = (PLINT *) PyArray_DATA( tmp22 );
8318 }
8319 {
8320 if ( swig_obj[19] != Py_None )
8321 {
8322 tmp23 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[19], NPY_PLFLT, 1, 1 );
8323 if ( tmp23 == NULL )
8324 return NULL;
8325 if ( PyArray_DIMS( tmp23 )[0] != Alen )
8326 {
8327 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8328 return NULL;
8329 }
8330 arg23 = (PLFLT *) PyArray_DATA( tmp23 );
8331 }
8332 else
8333 {
8334 arg23 = NULL;
8335 }
8336 }
8337 {
8338 if ( swig_obj[20] != Py_None )
8339 {
8340 tmp24 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[20], NPY_PLFLT, 1, 1 );
8341 if ( tmp24 == NULL )
8342 return NULL;
8343 if ( PyArray_DIMS( tmp24 )[0] != Alen )
8344 {
8345 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8346 return NULL;
8347 }
8348 arg24 = (PLFLT *) PyArray_DATA( tmp24 );
8349 }
8350 else
8351 {
8352 arg24 = NULL;
8353 }
8354 }
8355 {
8356 tmp25 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[21], NPY_PLINT, 1, 1 );
8357 if ( tmp25 == NULL )
8358 return NULL;
8359 if ( PyArray_DIMS( tmp25 )[0] != Alen )
8360 {
8361 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8362 return NULL;
8363 }
8364 arg25 = (PLINT *) PyArray_DATA( tmp25 );
8365 }
8366 {
8367 tmp26 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[22], NPY_PLINT, 1, 1 );
8368 if ( tmp26 == NULL )
8369 return NULL;
8370 if ( PyArray_DIMS( tmp26 )[0] != Alen )
8371 {
8372 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8373 return NULL;
8374 }
8375 arg26 = (PLINT *) PyArray_DATA( tmp26 );
8376 }
8377 {
8378 if ( swig_obj[23] != Py_None )
8379 {
8380 tmp27 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[23], NPY_PLFLT, 1, 1 );
8381 if ( tmp27 == NULL )
8382 return NULL;
8383 if ( PyArray_DIMS( tmp27 )[0] != Alen )
8384 {
8385 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8386 return NULL;
8387 }
8388 arg27 = (PLFLT *) PyArray_DATA( tmp27 );
8389 }
8390 else
8391 {
8392 arg27 = NULL;
8393 }
8394 }
8395 {
8396 tmp28 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[24], NPY_PLINT, 1, 1 );
8397 if ( tmp28 == NULL )
8398 return NULL;
8399 if ( PyArray_DIMS( tmp28 )[0] != Alen )
8400 {
8401 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8402 return NULL;
8403 }
8404 arg28 = (PLINT *) PyArray_DATA( tmp28 );
8405 }
8406 {
8407 if ( swig_obj[25] != Py_None )
8408 {
8409 tmp29 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[25], NPY_PLFLT, 1, 1 );
8410 if ( tmp29 == NULL )
8411 return NULL;
8412 if ( PyArray_DIMS( tmp29 )[0] != Alen )
8413 {
8414 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8415 return NULL;
8416 }
8417 arg29 = (PLFLT *) PyArray_DATA( tmp29 );
8418 }
8419 else
8420 {
8421 arg29 = NULL;
8422 }
8423 }
8424 {
8425 tmp30 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[26], NPY_PLINT, 1, 1 );
8426 if ( tmp30 == NULL )
8427 return NULL;
8428 if ( PyArray_DIMS( tmp30 )[0] != Alen )
8429 {
8430 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8431 return NULL;
8432 }
8433 arg30 = (PLINT *) PyArray_DATA( tmp30 );
8434 }
8435 {
8436 int i;
8437 tmp31 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[27], NPY_STRING, 1, 1 );
8438 if ( tmp31 == NULL )
8439 return NULL;
8440 if ( PyArray_DIMS( tmp31 )[0] != Alen )
8441 {
8442 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8443 return NULL;
8444 }
8445 arg31 = (char **) malloc( sizeof ( char* ) * (size_t) Alen );
8446 for ( i = 0; i < Alen; i++ )
8447 {
8448 arg31[i] = (char *) PyArray_DATA( tmp31 ) + i * PyArray_STRIDES( tmp31 )[0];
8449 if ( arg31[i] == NULL )
8450 {
8451 free( arg31 );
8452 return NULL;
8453 }
8454 }
8455 }
8456 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);
8457 resultobj = SWIG_Py_Void();
8458 if (SWIG_IsTmpObj(res1)) {
8459 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
8460 } else {
8461 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8462 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
8463 }
8464 if (SWIG_IsTmpObj(res2)) {
8465 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
8466 } else {
8467 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8468 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
8469 }
8470 {
8471 Py_CLEAR( tmp13 );
8472 }
8473 {
8474 Py_CLEAR( tmp19 );
8475 }
8476 {
8477 Py_CLEAR( tmp20 ); free( arg20 );
8478 }
8479 {
8480 Py_CLEAR( tmp21 );
8481 }
8482 {
8483 Py_CLEAR( tmp22 );
8484 }
8485 {
8486 Py_CLEAR( tmp23 );
8487 }
8488 {
8489 Py_CLEAR( tmp24 );
8490 }
8491 {
8492 Py_CLEAR( tmp25 );
8493 }
8494 {
8495 Py_CLEAR( tmp26 );
8496 }
8497 {
8498 Py_CLEAR( tmp27 );
8499 }
8500 {
8501 Py_CLEAR( tmp28 );
8502 }
8503 {
8504 Py_CLEAR( tmp29 );
8505 }
8506 {
8507 Py_CLEAR( tmp30 );
8508 }
8509 {
8510 Py_CLEAR( tmp31 ); free( arg31 );
8511 }
8512 return resultobj;
8513fail:
8514 {
8515 Py_CLEAR( tmp13 );
8516 }
8517 {
8518 Py_CLEAR( tmp19 );
8519 }
8520 {
8521 Py_CLEAR( tmp20 ); free( arg20 );
8522 }
8523 {
8524 Py_CLEAR( tmp21 );
8525 }
8526 {
8527 Py_CLEAR( tmp22 );
8528 }
8529 {
8530 Py_CLEAR( tmp23 );
8531 }
8532 {
8533 Py_CLEAR( tmp24 );
8534 }
8535 {
8536 Py_CLEAR( tmp25 );
8537 }
8538 {
8539 Py_CLEAR( tmp26 );
8540 }
8541 {
8542 Py_CLEAR( tmp27 );
8543 }
8544 {
8545 Py_CLEAR( tmp28 );
8546 }
8547 {
8548 Py_CLEAR( tmp29 );
8549 }
8550 {
8551 Py_CLEAR( tmp30 );
8552 }
8553 {
8554 Py_CLEAR( tmp31 ); free( arg31 );
8555 }
8556 return NULL;
8557}
8558
8559
8560SWIGINTERN PyObject *_wrap_plcolorbar(PyObject *self, PyObject *args) {
8561 PyObject *resultobj = 0;
8562 PLFLT *arg1 = 0 ;
8563 PLFLT *arg2 = 0 ;
8564 PLINT arg3 ;
8565 PLINT arg4 ;
8566 PLFLT arg5 ;
8567 PLFLT arg6 ;
8568 PLFLT arg7 ;
8569 PLFLT arg8 ;
8570 PLINT arg9 ;
8571 PLINT arg10 ;
8572 PLINT arg11 ;
8573 PLFLT arg12 ;
8574 PLFLT arg13 ;
8575 PLINT arg14 ;
8576 PLFLT arg15 ;
8577 PLINT arg16 ;
8578 PLINT *arg17 = 0 ;
8579 char **arg18 = 0 ;
8580 PLINT arg19 ;
8581 char **arg20 = 0 ;
8582 PLFLT *arg21 = 0 ;
8583 PLINT *arg22 = 0 ;
8584 PLINT *arg23 = 0 ;
8585 PLFLT **arg24 = 0 ;
8586 PLFLT temp1 ;
8587 int res1 = SWIG_TMPOBJ ;
8588 PLFLT temp2 ;
8589 int res2 = SWIG_TMPOBJ ;
8590 int val3 ;
8591 int ecode3 = 0 ;
8592 int val4 ;
8593 int ecode4 = 0 ;
8594 double val5 ;
8595 int ecode5 = 0 ;
8596 double val6 ;
8597 int ecode6 = 0 ;
8598 double val7 ;
8599 int ecode7 = 0 ;
8600 double val8 ;
8601 int ecode8 = 0 ;
8602 int val9 ;
8603 int ecode9 = 0 ;
8604 int val10 ;
8605 int ecode10 = 0 ;
8606 int val11 ;
8607 int ecode11 = 0 ;
8608 double val12 ;
8609 int ecode12 = 0 ;
8610 double val13 ;
8611 int ecode13 = 0 ;
8612 int val14 ;
8613 int ecode14 = 0 ;
8614 double val15 ;
8615 int ecode15 = 0 ;
8616 PyArrayObject *tmp16 = NULL ;
8617 PyArrayObject *tmp18 = NULL ;
8618 PyArrayObject *tmp19 = NULL ;
8619 PyArrayObject *tmp21 = NULL ;
8620 PyArrayObject *tmp22 = NULL ;
8621 PyArrayObject *tmp23 = NULL ;
8622 PyArrayObject *tmp24 = NULL ;
8623 PyObject *swig_obj[20] ;
8624
8625 arg1 = &temp1;
8626 arg2 = &temp2;
8627 (void)self;
8628 if (!SWIG_Python_UnpackTuple(args, "plcolorbar", 20, 20, swig_obj)) SWIG_fail;
8629 ecode3 = SWIG_AsVal_int(swig_obj[0], &val3);
8630 if (!SWIG_IsOK(ecode3)) {
8631 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plcolorbar" "', argument " "3"" of type '" "PLINT""'");
8632 }
8633 arg3 = (PLINT)(val3);
8634 ecode4 = SWIG_AsVal_int(swig_obj[1], &val4);
8635 if (!SWIG_IsOK(ecode4)) {
8636 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcolorbar" "', argument " "4"" of type '" "PLINT""'");
8637 }
8638 arg4 = (PLINT)(val4);
8639 ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
8640 if (!SWIG_IsOK(ecode5)) {
8641 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcolorbar" "', argument " "5"" of type '" "PLFLT""'");
8642 }
8643 arg5 = (PLFLT)(val5);
8644 ecode6 = SWIG_AsVal_double(swig_obj[3], &val6);
8645 if (!SWIG_IsOK(ecode6)) {
8646 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcolorbar" "', argument " "6"" of type '" "PLFLT""'");
8647 }
8648 arg6 = (PLFLT)(val6);
8649 ecode7 = SWIG_AsVal_double(swig_obj[4], &val7);
8650 if (!SWIG_IsOK(ecode7)) {
8651 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcolorbar" "', argument " "7"" of type '" "PLFLT""'");
8652 }
8653 arg7 = (PLFLT)(val7);
8654 ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
8655 if (!SWIG_IsOK(ecode8)) {
8656 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plcolorbar" "', argument " "8"" of type '" "PLFLT""'");
8657 }
8658 arg8 = (PLFLT)(val8);
8659 ecode9 = SWIG_AsVal_int(swig_obj[6], &val9);
8660 if (!SWIG_IsOK(ecode9)) {
8661 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plcolorbar" "', argument " "9"" of type '" "PLINT""'");
8662 }
8663 arg9 = (PLINT)(val9);
8664 ecode10 = SWIG_AsVal_int(swig_obj[7], &val10);
8665 if (!SWIG_IsOK(ecode10)) {
8666 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plcolorbar" "', argument " "10"" of type '" "PLINT""'");
8667 }
8668 arg10 = (PLINT)(val10);
8669 ecode11 = SWIG_AsVal_int(swig_obj[8], &val11);
8670 if (!SWIG_IsOK(ecode11)) {
8671 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plcolorbar" "', argument " "11"" of type '" "PLINT""'");
8672 }
8673 arg11 = (PLINT)(val11);
8674 ecode12 = SWIG_AsVal_double(swig_obj[9], &val12);
8675 if (!SWIG_IsOK(ecode12)) {
8676 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plcolorbar" "', argument " "12"" of type '" "PLFLT""'");
8677 }
8678 arg12 = (PLFLT)(val12);
8679 ecode13 = SWIG_AsVal_double(swig_obj[10], &val13);
8680 if (!SWIG_IsOK(ecode13)) {
8681 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plcolorbar" "', argument " "13"" of type '" "PLFLT""'");
8682 }
8683 arg13 = (PLFLT)(val13);
8684 ecode14 = SWIG_AsVal_int(swig_obj[11], &val14);
8685 if (!SWIG_IsOK(ecode14)) {
8686 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plcolorbar" "', argument " "14"" of type '" "PLINT""'");
8687 }
8688 arg14 = (PLINT)(val14);
8689 ecode15 = SWIG_AsVal_double(swig_obj[12], &val15);
8690 if (!SWIG_IsOK(ecode15)) {
8691 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plcolorbar" "', argument " "15"" of type '" "PLFLT""'");
8692 }
8693 arg15 = (PLFLT)(val15);
8694 {
8695 tmp16 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[13], NPY_PLINT, 1, 1 );
8696 if ( tmp16 == NULL )
8697 return NULL;
8698 arg16 = Alen = PyArray_DIMS( tmp16 )[0];
8699 arg17 = (PLINT *) PyArray_DATA( tmp16 );
8700 }
8701 {
8702 int i;
8703 tmp18 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[14], NPY_STRING, 1, 1 );
8704 if ( tmp18 == NULL )
8705 return NULL;
8706 if ( PyArray_DIMS( tmp18 )[0] != Alen )
8707 {
8708 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8709 return NULL;
8710 }
8711 arg18 = (char **) malloc( sizeof ( char* ) * (size_t) Alen );
8712 for ( i = 0; i < Alen; i++ )
8713 {
8714 arg18[i] = (char *) PyArray_DATA( tmp18 ) + i * PyArray_STRIDES( tmp18 )[0];
8715 if ( arg18[i] == NULL )
8716 {
8717 free( arg18 );
8718 return NULL;
8719 }
8720 }
8721 }
8722 {
8723 int i;
8724 tmp19 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[15], NPY_STRING, 1, 1 );
8725 if ( tmp19 == NULL )
8726 return NULL;
8727 Alen = PyArray_DIMS( tmp19 )[0];
8728 arg19 = Alen;
8729 arg20 = (char **) malloc( sizeof ( char* ) * (size_t) Alen );
8730 for ( i = 0; i < Alen; i++ )
8731 {
8732 arg20[i] = (char *) PyArray_DATA( tmp19 ) + i * PyArray_STRIDES( tmp19 )[0];
8733 if ( arg20[i] == NULL )
8734 {
8735 free( arg20 );
8736 return NULL;
8737 }
8738 }
8739 }
8740 {
8741 tmp21 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[16], NPY_PLFLT, 1, 1 );
8742 if ( tmp21 == NULL )
8743 return NULL;
8744 if ( PyArray_DIMS( tmp21 )[0] != Alen )
8745 {
8746 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8747 return NULL;
8748 }
8749 arg21 = (PLFLT *) PyArray_DATA( tmp21 );
8750 }
8751 {
8752 tmp22 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[17], NPY_PLINT, 1, 1 );
8753 if ( tmp22 == NULL )
8754 return NULL;
8755 if ( PyArray_DIMS( tmp22 )[0] != Alen )
8756 {
8757 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8758 return NULL;
8759 }
8760 arg22 = (PLINT *) PyArray_DATA( tmp22 );
8761 }
8762 {
8763 int i;
8764 tmp23 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[18], NPY_PLINT, 1, 1 );
8765 if ( tmp23 == NULL )
8766 return NULL;
8767 if ( PyArray_DIMS( tmp23 )[0] != Alen )
8768 {
8769 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8770 return NULL;
8771 }
8772 Xlen = PyArray_DIMS( tmp23 )[0];
8773 arg23 = (PLINT *) PyArray_DATA( tmp23 );
8774 Ylen = -1;
8775 for ( i = 0; i < Xlen; i++ )
8776 if ( arg23[i] > Ylen )
8777 Ylen = arg23[i];
8778 }
8779 {
8780 int i, size;
8781 tmp24 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[19], NPY_PLFLT, 2, 2 );
8782 if ( tmp24 == NULL )
8783 return NULL;
8784 if ( PyArray_DIMS( tmp24 )[0] != Xlen || PyArray_DIMS( tmp24 )[1] != Ylen )
8785 {
8786 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
8787 return NULL;
8788 }
8789 size = Ylen;
8790 arg24 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) Xlen );
8791 for ( i = 0; i < Xlen; i++ )
8792 arg24[i] = ( (PLFLT *) PyArray_DATA( tmp24 ) + i * size );
8793 }
8794 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);
8795 resultobj = SWIG_Py_Void();
8796 if (SWIG_IsTmpObj(res1)) {
8797 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
8798 } else {
8799 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8800 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
8801 }
8802 if (SWIG_IsTmpObj(res2)) {
8803 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
8804 } else {
8805 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
8806 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
8807 }
8808 {
8809 Py_CLEAR( tmp16 );
8810 }
8811 {
8812 Py_CLEAR( tmp18 ); free( arg18 );
8813 }
8814 {
8815 Py_CLEAR( tmp19 ); free( arg20 );
8816 }
8817 {
8818 Py_CLEAR( tmp21 );
8819 }
8820 {
8821 Py_CLEAR( tmp22 );
8822 }
8823 {
8824 Py_CLEAR( tmp23 );
8825 }
8826 {
8827 Py_CLEAR( tmp24 );
8828 free( arg24 );
8829 }
8830 return resultobj;
8831fail:
8832 {
8833 Py_CLEAR( tmp16 );
8834 }
8835 {
8836 Py_CLEAR( tmp18 ); free( arg18 );
8837 }
8838 {
8839 Py_CLEAR( tmp19 ); free( arg20 );
8840 }
8841 {
8842 Py_CLEAR( tmp21 );
8843 }
8844 {
8845 Py_CLEAR( tmp22 );
8846 }
8847 {
8848 Py_CLEAR( tmp23 );
8849 }
8850 {
8851 Py_CLEAR( tmp24 );
8852 free( arg24 );
8853 }
8854 return NULL;
8855}
8856
8857
8858SWIGINTERN PyObject *_wrap_pllightsource(PyObject *self, PyObject *args) {
8859 PyObject *resultobj = 0;
8860 PLFLT arg1 ;
8861 PLFLT arg2 ;
8862 PLFLT arg3 ;
8863 double val1 ;
8864 int ecode1 = 0 ;
8865 double val2 ;
8866 int ecode2 = 0 ;
8867 double val3 ;
8868 int ecode3 = 0 ;
8869 PyObject *swig_obj[3] ;
8870
8871 (void)self;
8872 if (!SWIG_Python_UnpackTuple(args, "pllightsource", 3, 3, swig_obj)) SWIG_fail;
8873 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
8874 if (!SWIG_IsOK(ecode1)) {
8875 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pllightsource" "', argument " "1"" of type '" "PLFLT""'");
8876 }
8877 arg1 = (PLFLT)(val1);
8878 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
8879 if (!SWIG_IsOK(ecode2)) {
8880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pllightsource" "', argument " "2"" of type '" "PLFLT""'");
8881 }
8882 arg2 = (PLFLT)(val2);
8883 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
8884 if (!SWIG_IsOK(ecode3)) {
8885 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pllightsource" "', argument " "3"" of type '" "PLFLT""'");
8886 }
8887 arg3 = (PLFLT)(val3);
8888 pllightsource(arg1,arg2,arg3);
8889 resultobj = SWIG_Py_Void();
8890 return resultobj;
8891fail:
8892 return NULL;
8893}
8894
8895
8896SWIGINTERN PyObject *_wrap_plline(PyObject *self, PyObject *args) {
8897 PyObject *resultobj = 0;
8898 PLINT arg1 ;
8899 PLFLT *arg2 = 0 ;
8900 PLFLT *arg3 = 0 ;
8901 PyArrayObject *tmp1 = NULL ;
8902 PyArrayObject *tmp3 = NULL ;
8903 PyObject *swig_obj[2] ;
8904
8905 (void)self;
8906 if (!SWIG_Python_UnpackTuple(args, "plline", 2, 2, swig_obj)) SWIG_fail;
8907 {
8908 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
8909 if ( tmp1 == NULL )
8910 return NULL;
8911 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
8912 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
8913 }
8914 {
8915 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
8916 if ( tmp3 == NULL )
8917 return NULL;
8918 if ( PyArray_DIMS( tmp3 )[0] != Alen )
8919 {
8920 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8921 return NULL;
8922 }
8923 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
8924 }
8925 plline(arg1,(double const *)arg2,(double const *)arg3);
8926 resultobj = SWIG_Py_Void();
8927 {
8928 Py_CLEAR( tmp1 );
8929 }
8930 {
8931 Py_CLEAR( tmp3 );
8932 }
8933 return resultobj;
8934fail:
8935 {
8936 Py_CLEAR( tmp1 );
8937 }
8938 {
8939 Py_CLEAR( tmp3 );
8940 }
8941 return NULL;
8942}
8943
8944
8945SWIGINTERN PyObject *_wrap_plline3(PyObject *self, PyObject *args) {
8946 PyObject *resultobj = 0;
8947 PLINT arg1 ;
8948 PLFLT *arg2 = 0 ;
8949 PLFLT *arg3 = 0 ;
8950 PLFLT *arg4 = 0 ;
8951 PyArrayObject *tmp1 = NULL ;
8952 PyArrayObject *tmp3 = NULL ;
8953 PyArrayObject *tmp4 = NULL ;
8954 PyObject *swig_obj[3] ;
8955
8956 (void)self;
8957 if (!SWIG_Python_UnpackTuple(args, "plline3", 3, 3, swig_obj)) SWIG_fail;
8958 {
8959 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
8960 if ( tmp1 == NULL )
8961 return NULL;
8962 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
8963 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
8964 }
8965 {
8966 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
8967 if ( tmp3 == NULL )
8968 return NULL;
8969 if ( PyArray_DIMS( tmp3 )[0] != Alen )
8970 {
8971 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8972 return NULL;
8973 }
8974 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
8975 }
8976 {
8977 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
8978 if ( tmp4 == NULL )
8979 return NULL;
8980 if ( PyArray_DIMS( tmp4 )[0] != Alen )
8981 {
8982 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
8983 return NULL;
8984 }
8985 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
8986 }
8987 plline3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
8988 resultobj = SWIG_Py_Void();
8989 {
8990 Py_CLEAR( tmp1 );
8991 }
8992 {
8993 Py_CLEAR( tmp3 );
8994 }
8995 {
8996 Py_CLEAR( tmp4 );
8997 }
8998 return resultobj;
8999fail:
9000 {
9001 Py_CLEAR( tmp1 );
9002 }
9003 {
9004 Py_CLEAR( tmp3 );
9005 }
9006 {
9007 Py_CLEAR( tmp4 );
9008 }
9009 return NULL;
9010}
9011
9012
9013SWIGINTERN PyObject *_wrap_pllsty(PyObject *self, PyObject *args) {
9014 PyObject *resultobj = 0;
9015 PLINT arg1 ;
9016 int val1 ;
9017 int ecode1 = 0 ;
9018 PyObject *swig_obj[1] ;
9019
9020 (void)self;
9021 if (!args) SWIG_fail;
9022 swig_obj[0] = args;
9023 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
9024 if (!SWIG_IsOK(ecode1)) {
9025 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pllsty" "', argument " "1"" of type '" "PLINT""'");
9026 }
9027 arg1 = (PLINT)(val1);
9028 pllsty(arg1);
9029 resultobj = SWIG_Py_Void();
9030 return resultobj;
9031fail:
9032 return NULL;
9033}
9034
9035
9036SWIGINTERN PyObject *_wrap_plmesh(PyObject *self, PyObject *args) {
9037 PyObject *resultobj = 0;
9038 PLFLT *arg1 = 0 ;
9039 PLFLT *arg2 = 0 ;
9040 PLFLT **arg3 = 0 ;
9041 PLINT arg4 ;
9042 PLINT arg5 ;
9043 PLINT arg6 ;
9044 PyArrayObject *tmp1 = NULL ;
9045 PyArrayObject *tmp2 = NULL ;
9046 PyArrayObject *tmp3 = NULL ;
9047 int val6 ;
9048 int ecode6 = 0 ;
9049 PyObject *swig_obj[4] ;
9050
9051 (void)self;
9052 if (!SWIG_Python_UnpackTuple(args, "plmesh", 4, 4, swig_obj)) SWIG_fail;
9053 {
9054 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9055 if ( tmp1 == NULL )
9056 return NULL;
9057 Xlen = PyArray_DIMS( tmp1 )[0];
9058 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9059 }
9060 {
9061 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9062 if ( tmp2 == NULL )
9063 return NULL;
9064 Ylen = PyArray_DIMS( tmp2 )[0];
9065 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9066 }
9067 {
9068 int i, size;
9069 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9070 if ( tmp3 == NULL )
9071 return NULL;
9072 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9073 {
9074 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9075 return NULL;
9076 }
9077 arg4 = PyArray_DIMS( tmp3 )[0];
9078 arg5 = PyArray_DIMS( tmp3 )[1];
9079 size = arg5;
9080 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9081 for ( i = 0; i < arg4; i++ )
9082 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9083 }
9084 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9085 if (!SWIG_IsOK(ecode6)) {
9086 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmesh" "', argument " "6"" of type '" "PLINT""'");
9087 }
9088 arg6 = (PLINT)(val6);
9089 plmesh((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6);
9090 resultobj = SWIG_Py_Void();
9091 {
9092 Py_CLEAR( tmp1 );
9093 }
9094 {
9095 Py_CLEAR( tmp2 );
9096 }
9097 {
9098 Py_CLEAR( tmp3 );
9099 free( arg3 );
9100 }
9101 return resultobj;
9102fail:
9103 {
9104 Py_CLEAR( tmp1 );
9105 }
9106 {
9107 Py_CLEAR( tmp2 );
9108 }
9109 {
9110 Py_CLEAR( tmp3 );
9111 free( arg3 );
9112 }
9113 return NULL;
9114}
9115
9116
9117SWIGINTERN PyObject *_wrap_plmeshc(PyObject *self, PyObject *args) {
9118 PyObject *resultobj = 0;
9119 PLFLT *arg1 = 0 ;
9120 PLFLT *arg2 = 0 ;
9121 PLFLT **arg3 = 0 ;
9122 PLINT arg4 ;
9123 PLINT arg5 ;
9124 PLINT arg6 ;
9125 PLFLT *arg7 = 0 ;
9126 PLINT arg8 ;
9127 PyArrayObject *tmp1 = NULL ;
9128 PyArrayObject *tmp2 = NULL ;
9129 PyArrayObject *tmp3 = NULL ;
9130 int val6 ;
9131 int ecode6 = 0 ;
9132 PyArrayObject *tmp7 = NULL ;
9133 PyObject *swig_obj[5] ;
9134
9135 (void)self;
9136 if (!SWIG_Python_UnpackTuple(args, "plmeshc", 5, 5, swig_obj)) SWIG_fail;
9137 {
9138 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9139 if ( tmp1 == NULL )
9140 return NULL;
9141 Xlen = PyArray_DIMS( tmp1 )[0];
9142 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9143 }
9144 {
9145 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9146 if ( tmp2 == NULL )
9147 return NULL;
9148 Ylen = PyArray_DIMS( tmp2 )[0];
9149 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9150 }
9151 {
9152 int i, size;
9153 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9154 if ( tmp3 == NULL )
9155 return NULL;
9156 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9157 {
9158 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9159 return NULL;
9160 }
9161 arg4 = PyArray_DIMS( tmp3 )[0];
9162 arg5 = PyArray_DIMS( tmp3 )[1];
9163 size = arg5;
9164 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9165 for ( i = 0; i < arg4; i++ )
9166 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9167 }
9168 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9169 if (!SWIG_IsOK(ecode6)) {
9170 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmeshc" "', argument " "6"" of type '" "PLINT""'");
9171 }
9172 arg6 = (PLINT)(val6);
9173 {
9174 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
9175 if ( tmp7 == NULL )
9176 return NULL;
9177 arg8 = PyArray_DIMS( tmp7 )[0];
9178 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9179 }
9180 plmeshc((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
9181 resultobj = SWIG_Py_Void();
9182 {
9183 Py_CLEAR( tmp1 );
9184 }
9185 {
9186 Py_CLEAR( tmp2 );
9187 }
9188 {
9189 Py_CLEAR( tmp3 );
9190 free( arg3 );
9191 }
9192 {
9193 Py_CLEAR( tmp7 );
9194 }
9195 return resultobj;
9196fail:
9197 {
9198 Py_CLEAR( tmp1 );
9199 }
9200 {
9201 Py_CLEAR( tmp2 );
9202 }
9203 {
9204 Py_CLEAR( tmp3 );
9205 free( arg3 );
9206 }
9207 {
9208 Py_CLEAR( tmp7 );
9209 }
9210 return NULL;
9211}
9212
9213
9214SWIGINTERN PyObject *_wrap_plmkstrm(PyObject *self, PyObject *args) {
9215 PyObject *resultobj = 0;
9216 PLINT *arg1 = 0 ;
9217 PLINT temp1 ;
9218 int res1 = SWIG_TMPOBJ ;
9219
9220 arg1 = &temp1;
9221 (void)self;
9222 if (!SWIG_Python_UnpackTuple(args, "plmkstrm", 0, 0, 0)) SWIG_fail;
9223 plmkstrm(arg1);
9224 resultobj = SWIG_Py_Void();
9225 if (SWIG_IsTmpObj(res1)) {
9226 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
9227 } else {
9228 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9229 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
9230 }
9231 return resultobj;
9232fail:
9233 return NULL;
9234}
9235
9236
9237SWIGINTERN PyObject *_wrap_plmtex(PyObject *self, PyObject *args) {
9238 PyObject *resultobj = 0;
9239 char *arg1 = 0 ;
9240 PLFLT arg2 ;
9241 PLFLT arg3 ;
9242 PLFLT arg4 ;
9243 char *arg5 = 0 ;
9244 int res1 ;
9245 char *buf1 = 0 ;
9246 int alloc1 = 0 ;
9247 double val2 ;
9248 int ecode2 = 0 ;
9249 double val3 ;
9250 int ecode3 = 0 ;
9251 double val4 ;
9252 int ecode4 = 0 ;
9253 int res5 ;
9254 char *buf5 = 0 ;
9255 int alloc5 = 0 ;
9256 PyObject *swig_obj[5] ;
9257
9258 (void)self;
9259 if (!SWIG_Python_UnpackTuple(args, "plmtex", 5, 5, swig_obj)) SWIG_fail;
9260 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
9261 if (!SWIG_IsOK(res1)) {
9262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plmtex" "', argument " "1"" of type '" "char const *""'");
9263 }
9264 arg1 = (char *)(buf1);
9265 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
9266 if (!SWIG_IsOK(ecode2)) {
9267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plmtex" "', argument " "2"" of type '" "PLFLT""'");
9268 }
9269 arg2 = (PLFLT)(val2);
9270 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
9271 if (!SWIG_IsOK(ecode3)) {
9272 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmtex" "', argument " "3"" of type '" "PLFLT""'");
9273 }
9274 arg3 = (PLFLT)(val3);
9275 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
9276 if (!SWIG_IsOK(ecode4)) {
9277 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmtex" "', argument " "4"" of type '" "PLFLT""'");
9278 }
9279 arg4 = (PLFLT)(val4);
9280 res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
9281 if (!SWIG_IsOK(res5)) {
9282 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plmtex" "', argument " "5"" of type '" "char const *""'");
9283 }
9284 arg5 = (char *)(buf5);
9285 plmtex((char const *)arg1,arg2,arg3,arg4,(char const *)arg5);
9286 resultobj = SWIG_Py_Void();
9287 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9288 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9289 return resultobj;
9290fail:
9291 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9292 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9293 return NULL;
9294}
9295
9296
9297SWIGINTERN PyObject *_wrap_plmtex3(PyObject *self, PyObject *args) {
9298 PyObject *resultobj = 0;
9299 char *arg1 = 0 ;
9300 PLFLT arg2 ;
9301 PLFLT arg3 ;
9302 PLFLT arg4 ;
9303 char *arg5 = 0 ;
9304 int res1 ;
9305 char *buf1 = 0 ;
9306 int alloc1 = 0 ;
9307 double val2 ;
9308 int ecode2 = 0 ;
9309 double val3 ;
9310 int ecode3 = 0 ;
9311 double val4 ;
9312 int ecode4 = 0 ;
9313 int res5 ;
9314 char *buf5 = 0 ;
9315 int alloc5 = 0 ;
9316 PyObject *swig_obj[5] ;
9317
9318 (void)self;
9319 if (!SWIG_Python_UnpackTuple(args, "plmtex3", 5, 5, swig_obj)) SWIG_fail;
9320 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
9321 if (!SWIG_IsOK(res1)) {
9322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plmtex3" "', argument " "1"" of type '" "char const *""'");
9323 }
9324 arg1 = (char *)(buf1);
9325 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
9326 if (!SWIG_IsOK(ecode2)) {
9327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plmtex3" "', argument " "2"" of type '" "PLFLT""'");
9328 }
9329 arg2 = (PLFLT)(val2);
9330 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
9331 if (!SWIG_IsOK(ecode3)) {
9332 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmtex3" "', argument " "3"" of type '" "PLFLT""'");
9333 }
9334 arg3 = (PLFLT)(val3);
9335 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
9336 if (!SWIG_IsOK(ecode4)) {
9337 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmtex3" "', argument " "4"" of type '" "PLFLT""'");
9338 }
9339 arg4 = (PLFLT)(val4);
9340 res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
9341 if (!SWIG_IsOK(res5)) {
9342 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plmtex3" "', argument " "5"" of type '" "char const *""'");
9343 }
9344 arg5 = (char *)(buf5);
9345 plmtex3((char const *)arg1,arg2,arg3,arg4,(char const *)arg5);
9346 resultobj = SWIG_Py_Void();
9347 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9348 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9349 return resultobj;
9350fail:
9351 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
9352 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
9353 return NULL;
9354}
9355
9356
9357SWIGINTERN PyObject *_wrap_plot3d(PyObject *self, PyObject *args) {
9358 PyObject *resultobj = 0;
9359 PLFLT *arg1 = 0 ;
9360 PLFLT *arg2 = 0 ;
9361 PLFLT **arg3 = 0 ;
9362 PLINT arg4 ;
9363 PLINT arg5 ;
9364 PLINT arg6 ;
9365 PLBOOL arg7 ;
9366 PyArrayObject *tmp1 = NULL ;
9367 PyArrayObject *tmp2 = NULL ;
9368 PyArrayObject *tmp3 = NULL ;
9369 int val6 ;
9370 int ecode6 = 0 ;
9371 int val7 ;
9372 int ecode7 = 0 ;
9373 PyObject *swig_obj[5] ;
9374
9375 (void)self;
9376 if (!SWIG_Python_UnpackTuple(args, "plot3d", 5, 5, swig_obj)) SWIG_fail;
9377 {
9378 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9379 if ( tmp1 == NULL )
9380 return NULL;
9381 Xlen = PyArray_DIMS( tmp1 )[0];
9382 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9383 }
9384 {
9385 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9386 if ( tmp2 == NULL )
9387 return NULL;
9388 Ylen = PyArray_DIMS( tmp2 )[0];
9389 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9390 }
9391 {
9392 int i, size;
9393 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9394 if ( tmp3 == NULL )
9395 return NULL;
9396 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9397 {
9398 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9399 return NULL;
9400 }
9401 arg4 = PyArray_DIMS( tmp3 )[0];
9402 arg5 = PyArray_DIMS( tmp3 )[1];
9403 size = arg5;
9404 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9405 for ( i = 0; i < arg4; i++ )
9406 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9407 }
9408 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9409 if (!SWIG_IsOK(ecode6)) {
9410 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plot3d" "', argument " "6"" of type '" "PLINT""'");
9411 }
9412 arg6 = (PLINT)(val6);
9413 ecode7 = SWIG_AsVal_int(swig_obj[4], &val7);
9414 if (!SWIG_IsOK(ecode7)) {
9415 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plot3d" "', argument " "7"" of type '" "PLBOOL""'");
9416 }
9417 arg7 = (PLBOOL)(val7);
9418 plot3d((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6,arg7);
9419 resultobj = SWIG_Py_Void();
9420 {
9421 Py_CLEAR( tmp1 );
9422 }
9423 {
9424 Py_CLEAR( tmp2 );
9425 }
9426 {
9427 Py_CLEAR( tmp3 );
9428 free( arg3 );
9429 }
9430 return resultobj;
9431fail:
9432 {
9433 Py_CLEAR( tmp1 );
9434 }
9435 {
9436 Py_CLEAR( tmp2 );
9437 }
9438 {
9439 Py_CLEAR( tmp3 );
9440 free( arg3 );
9441 }
9442 return NULL;
9443}
9444
9445
9446SWIGINTERN PyObject *_wrap_plot3dc(PyObject *self, PyObject *args) {
9447 PyObject *resultobj = 0;
9448 PLFLT *arg1 = 0 ;
9449 PLFLT *arg2 = 0 ;
9450 PLFLT **arg3 = 0 ;
9451 PLINT arg4 ;
9452 PLINT arg5 ;
9453 PLINT arg6 ;
9454 PLFLT *arg7 = 0 ;
9455 PLINT arg8 ;
9456 PyArrayObject *tmp1 = NULL ;
9457 PyArrayObject *tmp2 = NULL ;
9458 PyArrayObject *tmp3 = NULL ;
9459 int val6 ;
9460 int ecode6 = 0 ;
9461 PyArrayObject *tmp7 = NULL ;
9462 PyObject *swig_obj[5] ;
9463
9464 (void)self;
9465 if (!SWIG_Python_UnpackTuple(args, "plot3dc", 5, 5, swig_obj)) SWIG_fail;
9466 {
9467 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9468 if ( tmp1 == NULL )
9469 return NULL;
9470 Xlen = PyArray_DIMS( tmp1 )[0];
9471 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9472 }
9473 {
9474 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9475 if ( tmp2 == NULL )
9476 return NULL;
9477 Ylen = PyArray_DIMS( tmp2 )[0];
9478 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9479 }
9480 {
9481 int i, size;
9482 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9483 if ( tmp3 == NULL )
9484 return NULL;
9485 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9486 {
9487 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9488 return NULL;
9489 }
9490 arg4 = PyArray_DIMS( tmp3 )[0];
9491 arg5 = PyArray_DIMS( tmp3 )[1];
9492 size = arg5;
9493 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9494 for ( i = 0; i < arg4; i++ )
9495 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9496 }
9497 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9498 if (!SWIG_IsOK(ecode6)) {
9499 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plot3dc" "', argument " "6"" of type '" "PLINT""'");
9500 }
9501 arg6 = (PLINT)(val6);
9502 {
9503 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
9504 if ( tmp7 == NULL )
9505 return NULL;
9506 arg8 = PyArray_DIMS( tmp7 )[0];
9507 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9508 }
9509 plot3dc((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
9510 resultobj = SWIG_Py_Void();
9511 {
9512 Py_CLEAR( tmp1 );
9513 }
9514 {
9515 Py_CLEAR( tmp2 );
9516 }
9517 {
9518 Py_CLEAR( tmp3 );
9519 free( arg3 );
9520 }
9521 {
9522 Py_CLEAR( tmp7 );
9523 }
9524 return resultobj;
9525fail:
9526 {
9527 Py_CLEAR( tmp1 );
9528 }
9529 {
9530 Py_CLEAR( tmp2 );
9531 }
9532 {
9533 Py_CLEAR( tmp3 );
9534 free( arg3 );
9535 }
9536 {
9537 Py_CLEAR( tmp7 );
9538 }
9539 return NULL;
9540}
9541
9542
9543SWIGINTERN PyObject *_wrap_plot3dcl(PyObject *self, PyObject *args) {
9544 PyObject *resultobj = 0;
9545 PLFLT *arg1 = 0 ;
9546 PLFLT *arg2 = 0 ;
9547 PLFLT **arg3 = 0 ;
9548 PLINT arg4 ;
9549 PLINT arg5 ;
9550 PLINT arg6 ;
9551 PLFLT *arg7 = 0 ;
9552 PLINT arg8 ;
9553 PLINT arg9 ;
9554 PLINT arg10 ;
9555 PLINT *arg11 = 0 ;
9556 PLINT *arg12 = 0 ;
9557 PyArrayObject *tmp1 = NULL ;
9558 PyArrayObject *tmp2 = NULL ;
9559 PyArrayObject *tmp3 = NULL ;
9560 int val6 ;
9561 int ecode6 = 0 ;
9562 PyArrayObject *tmp7 = NULL ;
9563 int val9 ;
9564 int ecode9 = 0 ;
9565 PyArrayObject *tmp10 = NULL ;
9566 PyArrayObject *tmp12 = NULL ;
9567 PyObject *swig_obj[8] ;
9568
9569 (void)self;
9570 if (!SWIG_Python_UnpackTuple(args, "plot3dcl", 8, 8, swig_obj)) SWIG_fail;
9571 {
9572 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9573 if ( tmp1 == NULL )
9574 return NULL;
9575 Xlen = PyArray_DIMS( tmp1 )[0];
9576 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9577 }
9578 {
9579 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9580 if ( tmp2 == NULL )
9581 return NULL;
9582 Ylen = PyArray_DIMS( tmp2 )[0];
9583 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9584 }
9585 {
9586 int i, size;
9587 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9588 if ( tmp3 == NULL )
9589 return NULL;
9590 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9591 {
9592 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9593 return NULL;
9594 }
9595 arg4 = PyArray_DIMS( tmp3 )[0];
9596 arg5 = PyArray_DIMS( tmp3 )[1];
9597 size = arg5;
9598 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9599 for ( i = 0; i < arg4; i++ )
9600 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9601 }
9602 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9603 if (!SWIG_IsOK(ecode6)) {
9604 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plot3dcl" "', argument " "6"" of type '" "PLINT""'");
9605 }
9606 arg6 = (PLINT)(val6);
9607 {
9608 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
9609 if ( tmp7 == NULL )
9610 return NULL;
9611 arg8 = PyArray_DIMS( tmp7 )[0];
9612 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9613 }
9614 ecode9 = SWIG_AsVal_int(swig_obj[5], &val9);
9615 if (!SWIG_IsOK(ecode9)) {
9616 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plot3dcl" "', argument " "9"" of type '" "PLINT""'");
9617 }
9618 arg9 = (PLINT)(val9);
9619 {
9620 tmp10 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[6], NPY_PLINT, 1, 1 );
9621 if ( tmp10 == NULL )
9622 return NULL;
9623 arg10 = Alen = PyArray_DIMS( tmp10 )[0];
9624 arg11 = (PLINT *) PyArray_DATA( tmp10 );
9625 }
9626 {
9627 tmp12 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[7], NPY_PLINT, 1, 1 );
9628 if ( tmp12 == NULL )
9629 return NULL;
9630 if ( PyArray_DIMS( tmp12 )[0] != Alen )
9631 {
9632 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
9633 return NULL;
9634 }
9635 arg12 = (PLINT *) PyArray_DATA( tmp12 );
9636 }
9637 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);
9638 resultobj = SWIG_Py_Void();
9639 {
9640 Py_CLEAR( tmp1 );
9641 }
9642 {
9643 Py_CLEAR( tmp2 );
9644 }
9645 {
9646 Py_CLEAR( tmp3 );
9647 free( arg3 );
9648 }
9649 {
9650 Py_CLEAR( tmp7 );
9651 }
9652 {
9653 Py_CLEAR( tmp10 );
9654 }
9655 {
9656 Py_CLEAR( tmp12 );
9657 }
9658 return resultobj;
9659fail:
9660 {
9661 Py_CLEAR( tmp1 );
9662 }
9663 {
9664 Py_CLEAR( tmp2 );
9665 }
9666 {
9667 Py_CLEAR( tmp3 );
9668 free( arg3 );
9669 }
9670 {
9671 Py_CLEAR( tmp7 );
9672 }
9673 {
9674 Py_CLEAR( tmp10 );
9675 }
9676 {
9677 Py_CLEAR( tmp12 );
9678 }
9679 return NULL;
9680}
9681
9682
9683SWIGINTERN PyObject *_wrap_plsurf3d(PyObject *self, PyObject *args) {
9684 PyObject *resultobj = 0;
9685 PLFLT *arg1 = 0 ;
9686 PLFLT *arg2 = 0 ;
9687 PLFLT **arg3 = 0 ;
9688 PLINT arg4 ;
9689 PLINT arg5 ;
9690 PLINT arg6 ;
9691 PLFLT *arg7 = 0 ;
9692 PLINT arg8 ;
9693 PyArrayObject *tmp1 = NULL ;
9694 PyArrayObject *tmp2 = NULL ;
9695 PyArrayObject *tmp3 = NULL ;
9696 int val6 ;
9697 int ecode6 = 0 ;
9698 PyArrayObject *tmp7 = NULL ;
9699 PyObject *swig_obj[5] ;
9700
9701 (void)self;
9702 if (!SWIG_Python_UnpackTuple(args, "plsurf3d", 5, 5, swig_obj)) SWIG_fail;
9703 {
9704 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9705 if ( tmp1 == NULL )
9706 return NULL;
9707 Xlen = PyArray_DIMS( tmp1 )[0];
9708 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9709 }
9710 {
9711 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9712 if ( tmp2 == NULL )
9713 return NULL;
9714 Ylen = PyArray_DIMS( tmp2 )[0];
9715 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9716 }
9717 {
9718 int i, size;
9719 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9720 if ( tmp3 == NULL )
9721 return NULL;
9722 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9723 {
9724 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9725 return NULL;
9726 }
9727 arg4 = PyArray_DIMS( tmp3 )[0];
9728 arg5 = PyArray_DIMS( tmp3 )[1];
9729 size = arg5;
9730 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9731 for ( i = 0; i < arg4; i++ )
9732 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9733 }
9734 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9735 if (!SWIG_IsOK(ecode6)) {
9736 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plsurf3d" "', argument " "6"" of type '" "PLINT""'");
9737 }
9738 arg6 = (PLINT)(val6);
9739 {
9740 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
9741 if ( tmp7 == NULL )
9742 return NULL;
9743 arg8 = PyArray_DIMS( tmp7 )[0];
9744 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9745 }
9746 plsurf3d((double const *)arg1,(double const *)arg2,(double const **)arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
9747 resultobj = SWIG_Py_Void();
9748 {
9749 Py_CLEAR( tmp1 );
9750 }
9751 {
9752 Py_CLEAR( tmp2 );
9753 }
9754 {
9755 Py_CLEAR( tmp3 );
9756 free( arg3 );
9757 }
9758 {
9759 Py_CLEAR( tmp7 );
9760 }
9761 return resultobj;
9762fail:
9763 {
9764 Py_CLEAR( tmp1 );
9765 }
9766 {
9767 Py_CLEAR( tmp2 );
9768 }
9769 {
9770 Py_CLEAR( tmp3 );
9771 free( arg3 );
9772 }
9773 {
9774 Py_CLEAR( tmp7 );
9775 }
9776 return NULL;
9777}
9778
9779
9780SWIGINTERN PyObject *_wrap_plsurf3dl(PyObject *self, PyObject *args) {
9781 PyObject *resultobj = 0;
9782 PLFLT *arg1 = 0 ;
9783 PLFLT *arg2 = 0 ;
9784 PLFLT **arg3 = 0 ;
9785 PLINT arg4 ;
9786 PLINT arg5 ;
9787 PLINT arg6 ;
9788 PLFLT *arg7 = 0 ;
9789 PLINT arg8 ;
9790 PLINT arg9 ;
9791 PLINT arg10 ;
9792 PLINT *arg11 = 0 ;
9793 PLINT *arg12 = 0 ;
9794 PyArrayObject *tmp1 = NULL ;
9795 PyArrayObject *tmp2 = NULL ;
9796 PyArrayObject *tmp3 = NULL ;
9797 int val6 ;
9798 int ecode6 = 0 ;
9799 PyArrayObject *tmp7 = NULL ;
9800 int val9 ;
9801 int ecode9 = 0 ;
9802 PyArrayObject *tmp10 = NULL ;
9803 PyArrayObject *tmp12 = NULL ;
9804 PyObject *swig_obj[8] ;
9805
9806 (void)self;
9807 if (!SWIG_Python_UnpackTuple(args, "plsurf3dl", 8, 8, swig_obj)) SWIG_fail;
9808 {
9809 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
9810 if ( tmp1 == NULL )
9811 return NULL;
9812 Xlen = PyArray_DIMS( tmp1 )[0];
9813 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9814 }
9815 {
9816 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
9817 if ( tmp2 == NULL )
9818 return NULL;
9819 Ylen = PyArray_DIMS( tmp2 )[0];
9820 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9821 }
9822 {
9823 int i, size;
9824 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 2, 2 );
9825 if ( tmp3 == NULL )
9826 return NULL;
9827 if ( Xlen != PyArray_DIMS( tmp3 )[0] || Ylen != PyArray_DIMS( tmp3 )[1] )
9828 {
9829 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
9830 return NULL;
9831 }
9832 arg4 = PyArray_DIMS( tmp3 )[0];
9833 arg5 = PyArray_DIMS( tmp3 )[1];
9834 size = arg5;
9835 arg3 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg4 );
9836 for ( i = 0; i < arg4; i++ )
9837 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9838 }
9839 ecode6 = SWIG_AsVal_int(swig_obj[3], &val6);
9840 if (!SWIG_IsOK(ecode6)) {
9841 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plsurf3dl" "', argument " "6"" of type '" "PLINT""'");
9842 }
9843 arg6 = (PLINT)(val6);
9844 {
9845 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
9846 if ( tmp7 == NULL )
9847 return NULL;
9848 arg8 = PyArray_DIMS( tmp7 )[0];
9849 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9850 }
9851 ecode9 = SWIG_AsVal_int(swig_obj[5], &val9);
9852 if (!SWIG_IsOK(ecode9)) {
9853 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plsurf3dl" "', argument " "9"" of type '" "PLINT""'");
9854 }
9855 arg9 = (PLINT)(val9);
9856 {
9857 tmp10 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[6], NPY_PLINT, 1, 1 );
9858 if ( tmp10 == NULL )
9859 return NULL;
9860 arg10 = Alen = PyArray_DIMS( tmp10 )[0];
9861 arg11 = (PLINT *) PyArray_DATA( tmp10 );
9862 }
9863 {
9864 tmp12 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[7], NPY_PLINT, 1, 1 );
9865 if ( tmp12 == NULL )
9866 return NULL;
9867 if ( PyArray_DIMS( tmp12 )[0] != Alen )
9868 {
9869 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
9870 return NULL;
9871 }
9872 arg12 = (PLINT *) PyArray_DATA( tmp12 );
9873 }
9874 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);
9875 resultobj = SWIG_Py_Void();
9876 {
9877 Py_CLEAR( tmp1 );
9878 }
9879 {
9880 Py_CLEAR( tmp2 );
9881 }
9882 {
9883 Py_CLEAR( tmp3 );
9884 free( arg3 );
9885 }
9886 {
9887 Py_CLEAR( tmp7 );
9888 }
9889 {
9890 Py_CLEAR( tmp10 );
9891 }
9892 {
9893 Py_CLEAR( tmp12 );
9894 }
9895 return resultobj;
9896fail:
9897 {
9898 Py_CLEAR( tmp1 );
9899 }
9900 {
9901 Py_CLEAR( tmp2 );
9902 }
9903 {
9904 Py_CLEAR( tmp3 );
9905 free( arg3 );
9906 }
9907 {
9908 Py_CLEAR( tmp7 );
9909 }
9910 {
9911 Py_CLEAR( tmp10 );
9912 }
9913 {
9914 Py_CLEAR( tmp12 );
9915 }
9916 return NULL;
9917}
9918
9919
9920SWIGINTERN PyObject *_wrap_plparseopts(PyObject *self, PyObject *args) {
9921 PyObject *resultobj = 0;
9922 int *arg1 = 0 ;
9923 char **arg2 = 0 ;
9924 PLINT arg3 ;
9925 int tmp1 ;
9926 int val3 ;
9927 int ecode3 = 0 ;
9928 PyObject *swig_obj[2] ;
9929 PLINT result;
9930
9931 (void)self;
9932 if (!SWIG_Python_UnpackTuple(args, "plparseopts", 2, 2, swig_obj)) SWIG_fail;
9933 {
9934 int i;
9935 PyObject *unicode_string;
9936
9937 if ( !PyList_Check( swig_obj[0] ) )
9938 {
9939 PyErr_SetString( PyExc_ValueError, "Expecting a list" );
9940 return NULL;
9941 }
9942 tmp1 = PyList_Size( swig_obj[0] );
9943 arg1 = &tmp1;
9944 arg2 = (char **) malloc( (size_t) ( tmp1 + 1 ) * sizeof ( char * ) );
9945 for ( i = 0; i < tmp1; i++ )
9946 {
9947 PyObject *s = PyList_GetItem( swig_obj[0], i );
9948 if ( PyBytes_Check( s ) )
9949 {
9950 arg2[i] = PyBytes_AsString( s );
9951 }
9952 else if ( PyUnicode_Check( s ) )
9953 {
9954 // unicode_string is never freed? memory leak here?
9955 unicode_string = PyUnicode_AsEncodedString( s, "utf-8", "Error ~" );
9956 arg2[i] = PyBytes_AS_STRING( unicode_string );
9957 }
9958 else
9959 {
9960 free( arg2 );
9961 PyErr_SetString( PyExc_ValueError, "List items must be strings" );
9962 return NULL;
9963 }
9964 }
9965 arg2[i] = 0;
9966 }
9967 ecode3 = SWIG_AsVal_int(swig_obj[1], &val3);
9968 if (!SWIG_IsOK(ecode3)) {
9969 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plparseopts" "', argument " "3"" of type '" "PLINT""'");
9970 }
9971 arg3 = (PLINT)(val3);
9972 result = (PLINT)plparseopts(arg1,arg2,arg3);
9973 resultobj = SWIG_From_int((int)(result));
9974 {
9975 if ( arg2 )
9976 free( arg2 );
9977 }
9978 return resultobj;
9979fail:
9980 {
9981 if ( arg2 )
9982 free( arg2 );
9983 }
9984 return NULL;
9985}
9986
9987
9988SWIGINTERN PyObject *_wrap_plpat(PyObject *self, PyObject *args) {
9989 PyObject *resultobj = 0;
9990 PLINT arg1 ;
9991 PLINT *arg2 = 0 ;
9992 PLINT *arg3 = 0 ;
9993 PyArrayObject *tmp1 = NULL ;
9994 PyArrayObject *tmp3 = NULL ;
9995 PyObject *swig_obj[2] ;
9996
9997 (void)self;
9998 if (!SWIG_Python_UnpackTuple(args, "plpat", 2, 2, swig_obj)) SWIG_fail;
9999 {
10000 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
10001 if ( tmp1 == NULL )
10002 return NULL;
10003 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10004 arg2 = (PLINT *) PyArray_DATA( tmp1 );
10005 }
10006 {
10007 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
10008 if ( tmp3 == NULL )
10009 return NULL;
10010 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10011 {
10012 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10013 return NULL;
10014 }
10015 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10016 }
10017 plpat(arg1,(int const *)arg2,(int const *)arg3);
10018 resultobj = SWIG_Py_Void();
10019 {
10020 Py_CLEAR( tmp1 );
10021 }
10022 {
10023 Py_CLEAR( tmp3 );
10024 }
10025 return resultobj;
10026fail:
10027 {
10028 Py_CLEAR( tmp1 );
10029 }
10030 {
10031 Py_CLEAR( tmp3 );
10032 }
10033 return NULL;
10034}
10035
10036
10037SWIGINTERN PyObject *_wrap_plpath(PyObject *self, PyObject *args) {
10038 PyObject *resultobj = 0;
10039 PLINT arg1 ;
10040 PLFLT arg2 ;
10041 PLFLT arg3 ;
10042 PLFLT arg4 ;
10043 PLFLT arg5 ;
10044 int val1 ;
10045 int ecode1 = 0 ;
10046 double val2 ;
10047 int ecode2 = 0 ;
10048 double val3 ;
10049 int ecode3 = 0 ;
10050 double val4 ;
10051 int ecode4 = 0 ;
10052 double val5 ;
10053 int ecode5 = 0 ;
10054 PyObject *swig_obj[5] ;
10055
10056 (void)self;
10057 if (!SWIG_Python_UnpackTuple(args, "plpath", 5, 5, swig_obj)) SWIG_fail;
10058 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
10059 if (!SWIG_IsOK(ecode1)) {
10060 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plpath" "', argument " "1"" of type '" "PLINT""'");
10061 }
10062 arg1 = (PLINT)(val1);
10063 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
10064 if (!SWIG_IsOK(ecode2)) {
10065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plpath" "', argument " "2"" of type '" "PLFLT""'");
10066 }
10067 arg2 = (PLFLT)(val2);
10068 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
10069 if (!SWIG_IsOK(ecode3)) {
10070 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plpath" "', argument " "3"" of type '" "PLFLT""'");
10071 }
10072 arg3 = (PLFLT)(val3);
10073 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
10074 if (!SWIG_IsOK(ecode4)) {
10075 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plpath" "', argument " "4"" of type '" "PLFLT""'");
10076 }
10077 arg4 = (PLFLT)(val4);
10078 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
10079 if (!SWIG_IsOK(ecode5)) {
10080 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plpath" "', argument " "5"" of type '" "PLFLT""'");
10081 }
10082 arg5 = (PLFLT)(val5);
10083 plpath(arg1,arg2,arg3,arg4,arg5);
10084 resultobj = SWIG_Py_Void();
10085 return resultobj;
10086fail:
10087 return NULL;
10088}
10089
10090
10091SWIGINTERN PyObject *_wrap_plpoin(PyObject *self, PyObject *args) {
10092 PyObject *resultobj = 0;
10093 PLINT arg1 ;
10094 PLFLT *arg2 = 0 ;
10095 PLFLT *arg3 = 0 ;
10096 PLINT arg4 ;
10097 PyArrayObject *tmp1 = NULL ;
10098 PyArrayObject *tmp3 = NULL ;
10099 int val4 ;
10100 int ecode4 = 0 ;
10101 PyObject *swig_obj[3] ;
10102
10103 (void)self;
10104 if (!SWIG_Python_UnpackTuple(args, "plpoin", 3, 3, swig_obj)) SWIG_fail;
10105 {
10106 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
10107 if ( tmp1 == NULL )
10108 return NULL;
10109 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10110 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
10111 }
10112 {
10113 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
10114 if ( tmp3 == NULL )
10115 return NULL;
10116 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10117 {
10118 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10119 return NULL;
10120 }
10121 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
10122 }
10123 ecode4 = SWIG_AsVal_int(swig_obj[2], &val4);
10124 if (!SWIG_IsOK(ecode4)) {
10125 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plpoin" "', argument " "4"" of type '" "PLINT""'");
10126 }
10127 arg4 = (PLINT)(val4);
10128 plpoin(arg1,(double const *)arg2,(double const *)arg3,arg4);
10129 resultobj = SWIG_Py_Void();
10130 {
10131 Py_CLEAR( tmp1 );
10132 }
10133 {
10134 Py_CLEAR( tmp3 );
10135 }
10136 return resultobj;
10137fail:
10138 {
10139 Py_CLEAR( tmp1 );
10140 }
10141 {
10142 Py_CLEAR( tmp3 );
10143 }
10144 return NULL;
10145}
10146
10147
10148SWIGINTERN PyObject *_wrap_plpoin3(PyObject *self, PyObject *args) {
10149 PyObject *resultobj = 0;
10150 PLINT arg1 ;
10151 PLFLT *arg2 = 0 ;
10152 PLFLT *arg3 = 0 ;
10153 PLFLT *arg4 = 0 ;
10154 PLINT arg5 ;
10155 PyArrayObject *tmp1 = NULL ;
10156 PyArrayObject *tmp3 = NULL ;
10157 PyArrayObject *tmp4 = NULL ;
10158 int val5 ;
10159 int ecode5 = 0 ;
10160 PyObject *swig_obj[4] ;
10161
10162 (void)self;
10163 if (!SWIG_Python_UnpackTuple(args, "plpoin3", 4, 4, swig_obj)) SWIG_fail;
10164 {
10165 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
10166 if ( tmp1 == NULL )
10167 return NULL;
10168 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10169 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
10170 }
10171 {
10172 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
10173 if ( tmp3 == NULL )
10174 return NULL;
10175 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10176 {
10177 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10178 return NULL;
10179 }
10180 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
10181 }
10182 {
10183 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
10184 if ( tmp4 == NULL )
10185 return NULL;
10186 if ( PyArray_DIMS( tmp4 )[0] != Alen )
10187 {
10188 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10189 return NULL;
10190 }
10191 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10192 }
10193 ecode5 = SWIG_AsVal_int(swig_obj[3], &val5);
10194 if (!SWIG_IsOK(ecode5)) {
10195 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plpoin3" "', argument " "5"" of type '" "PLINT""'");
10196 }
10197 arg5 = (PLINT)(val5);
10198 plpoin3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4,arg5);
10199 resultobj = SWIG_Py_Void();
10200 {
10201 Py_CLEAR( tmp1 );
10202 }
10203 {
10204 Py_CLEAR( tmp3 );
10205 }
10206 {
10207 Py_CLEAR( tmp4 );
10208 }
10209 return resultobj;
10210fail:
10211 {
10212 Py_CLEAR( tmp1 );
10213 }
10214 {
10215 Py_CLEAR( tmp3 );
10216 }
10217 {
10218 Py_CLEAR( tmp4 );
10219 }
10220 return NULL;
10221}
10222
10223
10224SWIGINTERN PyObject *_wrap_plpoly3(PyObject *self, PyObject *args) {
10225 PyObject *resultobj = 0;
10226 PLINT arg1 ;
10227 PLFLT *arg2 = 0 ;
10228 PLFLT *arg3 = 0 ;
10229 PLFLT *arg4 = 0 ;
10230 PLBOOL *arg5 = 0 ;
10231 PLBOOL arg6 ;
10232 PyArrayObject *tmp1 = NULL ;
10233 PyArrayObject *tmp3 = NULL ;
10234 PyArrayObject *tmp4 = NULL ;
10235 PyArrayObject *tmp5 = NULL ;
10236 int val6 ;
10237 int ecode6 = 0 ;
10238 PyObject *swig_obj[5] ;
10239
10240 (void)self;
10241 if (!SWIG_Python_UnpackTuple(args, "plpoly3", 5, 5, swig_obj)) SWIG_fail;
10242 {
10243 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
10244 if ( tmp1 == NULL )
10245 return NULL;
10246 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10247 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
10248 }
10249 {
10250 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
10251 if ( tmp3 == NULL )
10252 return NULL;
10253 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10254 {
10255 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10256 return NULL;
10257 }
10258 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
10259 }
10260 {
10261 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
10262 if ( tmp4 == NULL )
10263 return NULL;
10264 if ( PyArray_DIMS( tmp4 )[0] != Alen )
10265 {
10266 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10267 return NULL;
10268 }
10269 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10270 }
10271 {
10272 tmp5 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[3], NPY_PLINT, 1, 1 );
10273 if ( tmp5 == NULL )
10274 return NULL;
10275 if ( PyArray_DIMS( tmp5 )[0] < Alen - 1 )
10276 {
10277 PyErr_SetString( PyExc_ValueError, "Vector must be at least length of others minus 1." );
10278 return NULL;
10279 }
10280 arg5 = (PLINT *) PyArray_DATA( tmp5 );
10281 }
10282 ecode6 = SWIG_AsVal_int(swig_obj[4], &val6);
10283 if (!SWIG_IsOK(ecode6)) {
10284 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plpoly3" "', argument " "6"" of type '" "PLBOOL""'");
10285 }
10286 arg6 = (PLBOOL)(val6);
10287 plpoly3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4,(int const *)arg5,arg6);
10288 resultobj = SWIG_Py_Void();
10289 {
10290 Py_CLEAR( tmp1 );
10291 }
10292 {
10293 Py_CLEAR( tmp3 );
10294 }
10295 {
10296 Py_CLEAR( tmp4 );
10297 }
10298 {
10299 Py_CLEAR( tmp5 );
10300 }
10301 return resultobj;
10302fail:
10303 {
10304 Py_CLEAR( tmp1 );
10305 }
10306 {
10307 Py_CLEAR( tmp3 );
10308 }
10309 {
10310 Py_CLEAR( tmp4 );
10311 }
10312 {
10313 Py_CLEAR( tmp5 );
10314 }
10315 return NULL;
10316}
10317
10318
10319SWIGINTERN PyObject *_wrap_plprec(PyObject *self, PyObject *args) {
10320 PyObject *resultobj = 0;
10321 PLINT arg1 ;
10322 PLINT arg2 ;
10323 int val1 ;
10324 int ecode1 = 0 ;
10325 int val2 ;
10326 int ecode2 = 0 ;
10327 PyObject *swig_obj[2] ;
10328
10329 (void)self;
10330 if (!SWIG_Python_UnpackTuple(args, "plprec", 2, 2, swig_obj)) SWIG_fail;
10331 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
10332 if (!SWIG_IsOK(ecode1)) {
10333 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plprec" "', argument " "1"" of type '" "PLINT""'");
10334 }
10335 arg1 = (PLINT)(val1);
10336 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
10337 if (!SWIG_IsOK(ecode2)) {
10338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plprec" "', argument " "2"" of type '" "PLINT""'");
10339 }
10340 arg2 = (PLINT)(val2);
10341 plprec(arg1,arg2);
10342 resultobj = SWIG_Py_Void();
10343 return resultobj;
10344fail:
10345 return NULL;
10346}
10347
10348
10349SWIGINTERN PyObject *_wrap_plpsty(PyObject *self, PyObject *args) {
10350 PyObject *resultobj = 0;
10351 PLINT arg1 ;
10352 int val1 ;
10353 int ecode1 = 0 ;
10354 PyObject *swig_obj[1] ;
10355
10356 (void)self;
10357 if (!args) SWIG_fail;
10358 swig_obj[0] = args;
10359 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
10360 if (!SWIG_IsOK(ecode1)) {
10361 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plpsty" "', argument " "1"" of type '" "PLINT""'");
10362 }
10363 arg1 = (PLINT)(val1);
10364 plpsty(arg1);
10365 resultobj = SWIG_Py_Void();
10366 return resultobj;
10367fail:
10368 return NULL;
10369}
10370
10371
10372SWIGINTERN PyObject *_wrap_plptex(PyObject *self, PyObject *args) {
10373 PyObject *resultobj = 0;
10374 PLFLT arg1 ;
10375 PLFLT arg2 ;
10376 PLFLT arg3 ;
10377 PLFLT arg4 ;
10378 PLFLT arg5 ;
10379 char *arg6 = 0 ;
10380 double val1 ;
10381 int ecode1 = 0 ;
10382 double val2 ;
10383 int ecode2 = 0 ;
10384 double val3 ;
10385 int ecode3 = 0 ;
10386 double val4 ;
10387 int ecode4 = 0 ;
10388 double val5 ;
10389 int ecode5 = 0 ;
10390 int res6 ;
10391 char *buf6 = 0 ;
10392 int alloc6 = 0 ;
10393 PyObject *swig_obj[6] ;
10394
10395 (void)self;
10396 if (!SWIG_Python_UnpackTuple(args, "plptex", 6, 6, swig_obj)) SWIG_fail;
10397 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
10398 if (!SWIG_IsOK(ecode1)) {
10399 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plptex" "', argument " "1"" of type '" "PLFLT""'");
10400 }
10401 arg1 = (PLFLT)(val1);
10402 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
10403 if (!SWIG_IsOK(ecode2)) {
10404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plptex" "', argument " "2"" of type '" "PLFLT""'");
10405 }
10406 arg2 = (PLFLT)(val2);
10407 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
10408 if (!SWIG_IsOK(ecode3)) {
10409 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plptex" "', argument " "3"" of type '" "PLFLT""'");
10410 }
10411 arg3 = (PLFLT)(val3);
10412 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
10413 if (!SWIG_IsOK(ecode4)) {
10414 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plptex" "', argument " "4"" of type '" "PLFLT""'");
10415 }
10416 arg4 = (PLFLT)(val4);
10417 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
10418 if (!SWIG_IsOK(ecode5)) {
10419 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plptex" "', argument " "5"" of type '" "PLFLT""'");
10420 }
10421 arg5 = (PLFLT)(val5);
10422 res6 = SWIG_AsCharPtrAndSize(swig_obj[5], &buf6, NULL, &alloc6);
10423 if (!SWIG_IsOK(res6)) {
10424 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plptex" "', argument " "6"" of type '" "char const *""'");
10425 }
10426 arg6 = (char *)(buf6);
10427 plptex(arg1,arg2,arg3,arg4,arg5,(char const *)arg6);
10428 resultobj = SWIG_Py_Void();
10429 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
10430 return resultobj;
10431fail:
10432 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
10433 return NULL;
10434}
10435
10436
10437SWIGINTERN PyObject *_wrap_plptex3(PyObject *self, PyObject *args) {
10438 PyObject *resultobj = 0;
10439 PLFLT arg1 ;
10440 PLFLT arg2 ;
10441 PLFLT arg3 ;
10442 PLFLT arg4 ;
10443 PLFLT arg5 ;
10444 PLFLT arg6 ;
10445 PLFLT arg7 ;
10446 PLFLT arg8 ;
10447 PLFLT arg9 ;
10448 PLFLT arg10 ;
10449 char *arg11 = 0 ;
10450 double val1 ;
10451 int ecode1 = 0 ;
10452 double val2 ;
10453 int ecode2 = 0 ;
10454 double val3 ;
10455 int ecode3 = 0 ;
10456 double val4 ;
10457 int ecode4 = 0 ;
10458 double val5 ;
10459 int ecode5 = 0 ;
10460 double val6 ;
10461 int ecode6 = 0 ;
10462 double val7 ;
10463 int ecode7 = 0 ;
10464 double val8 ;
10465 int ecode8 = 0 ;
10466 double val9 ;
10467 int ecode9 = 0 ;
10468 double val10 ;
10469 int ecode10 = 0 ;
10470 int res11 ;
10471 char *buf11 = 0 ;
10472 int alloc11 = 0 ;
10473 PyObject *swig_obj[11] ;
10474
10475 (void)self;
10476 if (!SWIG_Python_UnpackTuple(args, "plptex3", 11, 11, swig_obj)) SWIG_fail;
10477 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
10478 if (!SWIG_IsOK(ecode1)) {
10479 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plptex3" "', argument " "1"" of type '" "PLFLT""'");
10480 }
10481 arg1 = (PLFLT)(val1);
10482 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
10483 if (!SWIG_IsOK(ecode2)) {
10484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plptex3" "', argument " "2"" of type '" "PLFLT""'");
10485 }
10486 arg2 = (PLFLT)(val2);
10487 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
10488 if (!SWIG_IsOK(ecode3)) {
10489 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plptex3" "', argument " "3"" of type '" "PLFLT""'");
10490 }
10491 arg3 = (PLFLT)(val3);
10492 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
10493 if (!SWIG_IsOK(ecode4)) {
10494 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plptex3" "', argument " "4"" of type '" "PLFLT""'");
10495 }
10496 arg4 = (PLFLT)(val4);
10497 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
10498 if (!SWIG_IsOK(ecode5)) {
10499 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plptex3" "', argument " "5"" of type '" "PLFLT""'");
10500 }
10501 arg5 = (PLFLT)(val5);
10502 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
10503 if (!SWIG_IsOK(ecode6)) {
10504 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plptex3" "', argument " "6"" of type '" "PLFLT""'");
10505 }
10506 arg6 = (PLFLT)(val6);
10507 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
10508 if (!SWIG_IsOK(ecode7)) {
10509 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plptex3" "', argument " "7"" of type '" "PLFLT""'");
10510 }
10511 arg7 = (PLFLT)(val7);
10512 ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
10513 if (!SWIG_IsOK(ecode8)) {
10514 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plptex3" "', argument " "8"" of type '" "PLFLT""'");
10515 }
10516 arg8 = (PLFLT)(val8);
10517 ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
10518 if (!SWIG_IsOK(ecode9)) {
10519 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plptex3" "', argument " "9"" of type '" "PLFLT""'");
10520 }
10521 arg9 = (PLFLT)(val9);
10522 ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
10523 if (!SWIG_IsOK(ecode10)) {
10524 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plptex3" "', argument " "10"" of type '" "PLFLT""'");
10525 }
10526 arg10 = (PLFLT)(val10);
10527 res11 = SWIG_AsCharPtrAndSize(swig_obj[10], &buf11, NULL, &alloc11);
10528 if (!SWIG_IsOK(res11)) {
10529 SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "plptex3" "', argument " "11"" of type '" "char const *""'");
10530 }
10531 arg11 = (char *)(buf11);
10532 plptex3(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(char const *)arg11);
10533 resultobj = SWIG_Py_Void();
10534 if (alloc11 == SWIG_NEWOBJ) free((char*)buf11);
10535 return resultobj;
10536fail:
10537 if (alloc11 == SWIG_NEWOBJ) free((char*)buf11);
10538 return NULL;
10539}
10540
10541
10542SWIGINTERN PyObject *_wrap_plrandd(PyObject *self, PyObject *args) {
10543 PyObject *resultobj = 0;
10544 PLFLT result;
10545
10546 (void)self;
10547 if (!SWIG_Python_UnpackTuple(args, "plrandd", 0, 0, 0)) SWIG_fail;
10548 result = (PLFLT)plrandd();
10549 resultobj = SWIG_From_double((double)(result));
10550 return resultobj;
10551fail:
10552 return NULL;
10553}
10554
10555
10556SWIGINTERN PyObject *_wrap_plreplot(PyObject *self, PyObject *args) {
10557 PyObject *resultobj = 0;
10558
10559 (void)self;
10560 if (!SWIG_Python_UnpackTuple(args, "plreplot", 0, 0, 0)) SWIG_fail;
10561 plreplot();
10562 resultobj = SWIG_Py_Void();
10563 return resultobj;
10564fail:
10565 return NULL;
10566}
10567
10568
10569SWIGINTERN PyObject *_wrap_plrgbhls(PyObject *self, PyObject *args) {
10570 PyObject *resultobj = 0;
10571 PLFLT arg1 ;
10572 PLFLT arg2 ;
10573 PLFLT arg3 ;
10574 PLFLT *arg4 = 0 ;
10575 PLFLT *arg5 = 0 ;
10576 PLFLT *arg6 = 0 ;
10577 double val1 ;
10578 int ecode1 = 0 ;
10579 double val2 ;
10580 int ecode2 = 0 ;
10581 double val3 ;
10582 int ecode3 = 0 ;
10583 PLFLT temp4 ;
10584 int res4 = SWIG_TMPOBJ ;
10585 PLFLT temp5 ;
10586 int res5 = SWIG_TMPOBJ ;
10587 PLFLT temp6 ;
10588 int res6 = SWIG_TMPOBJ ;
10589 PyObject *swig_obj[3] ;
10590
10591 arg4 = &temp4;
10592 arg5 = &temp5;
10593 arg6 = &temp6;
10594 (void)self;
10595 if (!SWIG_Python_UnpackTuple(args, "plrgbhls", 3, 3, swig_obj)) SWIG_fail;
10596 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
10597 if (!SWIG_IsOK(ecode1)) {
10598 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plrgbhls" "', argument " "1"" of type '" "PLFLT""'");
10599 }
10600 arg1 = (PLFLT)(val1);
10601 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
10602 if (!SWIG_IsOK(ecode2)) {
10603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plrgbhls" "', argument " "2"" of type '" "PLFLT""'");
10604 }
10605 arg2 = (PLFLT)(val2);
10606 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
10607 if (!SWIG_IsOK(ecode3)) {
10608 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plrgbhls" "', argument " "3"" of type '" "PLFLT""'");
10609 }
10610 arg3 = (PLFLT)(val3);
10611 plrgbhls(arg1,arg2,arg3,arg4,arg5,arg6);
10612 resultobj = SWIG_Py_Void();
10613 if (SWIG_IsTmpObj(res4)) {
10614 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
10615 } else {
10616 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10617 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
10618 }
10619 if (SWIG_IsTmpObj(res5)) {
10620 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg5)), 1);
10621 } else {
10622 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10623 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags), 1);
10624 }
10625 if (SWIG_IsTmpObj(res6)) {
10626 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg6)), 1);
10627 } else {
10628 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10629 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags), 1);
10630 }
10631 return resultobj;
10632fail:
10633 return NULL;
10634}
10635
10636
10637SWIGINTERN PyObject *_wrap_plschr(PyObject *self, PyObject *args) {
10638 PyObject *resultobj = 0;
10639 PLFLT arg1 ;
10640 PLFLT arg2 ;
10641 double val1 ;
10642 int ecode1 = 0 ;
10643 double val2 ;
10644 int ecode2 = 0 ;
10645 PyObject *swig_obj[2] ;
10646
10647 (void)self;
10648 if (!SWIG_Python_UnpackTuple(args, "plschr", 2, 2, swig_obj)) SWIG_fail;
10649 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
10650 if (!SWIG_IsOK(ecode1)) {
10651 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plschr" "', argument " "1"" of type '" "PLFLT""'");
10652 }
10653 arg1 = (PLFLT)(val1);
10654 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
10655 if (!SWIG_IsOK(ecode2)) {
10656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plschr" "', argument " "2"" of type '" "PLFLT""'");
10657 }
10658 arg2 = (PLFLT)(val2);
10659 plschr(arg1,arg2);
10660 resultobj = SWIG_Py_Void();
10661 return resultobj;
10662fail:
10663 return NULL;
10664}
10665
10666
10667SWIGINTERN PyObject *_wrap_plscmap0(PyObject *self, PyObject *args) {
10668 PyObject *resultobj = 0;
10669 PLINT *arg1 = 0 ;
10670 PLINT *arg2 = 0 ;
10671 PLINT *arg3 = 0 ;
10672 PLINT arg4 ;
10673 PyArrayObject *tmp1 = NULL ;
10674 PyArrayObject *tmp2 = NULL ;
10675 PyArrayObject *tmp3 = NULL ;
10676 PyObject *swig_obj[3] ;
10677
10678 (void)self;
10679 if (!SWIG_Python_UnpackTuple(args, "plscmap0", 3, 3, swig_obj)) SWIG_fail;
10680 {
10681 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
10682 if ( tmp1 == NULL )
10683 return NULL;
10684 Alen = PyArray_DIMS( tmp1 )[0];
10685 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10686 }
10687 {
10688 tmp2 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
10689 if ( tmp2 == NULL )
10690 return NULL;
10691 if ( PyArray_DIMS( tmp2 )[0] != Alen )
10692 {
10693 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10694 return NULL;
10695 }
10696 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10697 }
10698 {
10699 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[2], NPY_PLINT, 1, 1 );
10700 if ( tmp3 == NULL )
10701 return NULL;
10702 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10703 {
10704 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10705 return NULL;
10706 }
10707 arg4 = PyArray_DIMS( tmp3 )[0];
10708 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10709 }
10710 plscmap0((int const *)arg1,(int const *)arg2,(int const *)arg3,arg4);
10711 resultobj = SWIG_Py_Void();
10712 {
10713 Py_CLEAR( tmp1 );
10714 }
10715 {
10716 Py_CLEAR( tmp2 );
10717 }
10718 {
10719 Py_CLEAR( tmp3 );
10720 }
10721 return resultobj;
10722fail:
10723 {
10724 Py_CLEAR( tmp1 );
10725 }
10726 {
10727 Py_CLEAR( tmp2 );
10728 }
10729 {
10730 Py_CLEAR( tmp3 );
10731 }
10732 return NULL;
10733}
10734
10735
10736SWIGINTERN PyObject *_wrap_plscmap0a(PyObject *self, PyObject *args) {
10737 PyObject *resultobj = 0;
10738 PLINT *arg1 = 0 ;
10739 PLINT *arg2 = 0 ;
10740 PLINT *arg3 = 0 ;
10741 PLFLT *arg4 = 0 ;
10742 PLINT arg5 ;
10743 PyArrayObject *tmp1 = NULL ;
10744 PyArrayObject *tmp2 = NULL ;
10745 PyArrayObject *tmp3 = NULL ;
10746 PyArrayObject *tmp4 = NULL ;
10747 PyObject *swig_obj[4] ;
10748
10749 (void)self;
10750 if (!SWIG_Python_UnpackTuple(args, "plscmap0a", 4, 4, swig_obj)) SWIG_fail;
10751 {
10752 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
10753 if ( tmp1 == NULL )
10754 return NULL;
10755 Alen = PyArray_DIMS( tmp1 )[0];
10756 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10757 }
10758 {
10759 tmp2 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
10760 if ( tmp2 == NULL )
10761 return NULL;
10762 if ( PyArray_DIMS( tmp2 )[0] != Alen )
10763 {
10764 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10765 return NULL;
10766 }
10767 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10768 }
10769 {
10770 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[2], NPY_PLINT, 1, 1 );
10771 if ( tmp3 == NULL )
10772 return NULL;
10773 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10774 {
10775 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10776 return NULL;
10777 }
10778 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10779 }
10780 {
10781 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[3], NPY_PLFLT, 1, 1 );
10782 if ( tmp4 == NULL )
10783 return NULL;
10784 if ( PyArray_DIMS( tmp4 )[0] != Alen )
10785 {
10786 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10787 return NULL;
10788 }
10789 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10790 arg5 = PyArray_DIMS( tmp4 )[0];
10791 }
10792 plscmap0a((int const *)arg1,(int const *)arg2,(int const *)arg3,(double const *)arg4,arg5);
10793 resultobj = SWIG_Py_Void();
10794 {
10795 Py_CLEAR( tmp1 );
10796 }
10797 {
10798 Py_CLEAR( tmp2 );
10799 }
10800 {
10801 Py_CLEAR( tmp3 );
10802 }
10803 {
10804 Py_CLEAR( tmp4 );
10805 }
10806 return resultobj;
10807fail:
10808 {
10809 Py_CLEAR( tmp1 );
10810 }
10811 {
10812 Py_CLEAR( tmp2 );
10813 }
10814 {
10815 Py_CLEAR( tmp3 );
10816 }
10817 {
10818 Py_CLEAR( tmp4 );
10819 }
10820 return NULL;
10821}
10822
10823
10824SWIGINTERN PyObject *_wrap_plscmap0n(PyObject *self, PyObject *args) {
10825 PyObject *resultobj = 0;
10826 PLINT arg1 ;
10827 int val1 ;
10828 int ecode1 = 0 ;
10829 PyObject *swig_obj[1] ;
10830
10831 (void)self;
10832 if (!args) SWIG_fail;
10833 swig_obj[0] = args;
10834 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
10835 if (!SWIG_IsOK(ecode1)) {
10836 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap0n" "', argument " "1"" of type '" "PLINT""'");
10837 }
10838 arg1 = (PLINT)(val1);
10839 plscmap0n(arg1);
10840 resultobj = SWIG_Py_Void();
10841 return resultobj;
10842fail:
10843 return NULL;
10844}
10845
10846
10847SWIGINTERN PyObject *_wrap_plscmap1(PyObject *self, PyObject *args) {
10848 PyObject *resultobj = 0;
10849 PLINT *arg1 = 0 ;
10850 PLINT *arg2 = 0 ;
10851 PLINT *arg3 = 0 ;
10852 PLINT arg4 ;
10853 PyArrayObject *tmp1 = NULL ;
10854 PyArrayObject *tmp2 = NULL ;
10855 PyArrayObject *tmp3 = NULL ;
10856 PyObject *swig_obj[3] ;
10857
10858 (void)self;
10859 if (!SWIG_Python_UnpackTuple(args, "plscmap1", 3, 3, swig_obj)) SWIG_fail;
10860 {
10861 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
10862 if ( tmp1 == NULL )
10863 return NULL;
10864 Alen = PyArray_DIMS( tmp1 )[0];
10865 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10866 }
10867 {
10868 tmp2 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
10869 if ( tmp2 == NULL )
10870 return NULL;
10871 if ( PyArray_DIMS( tmp2 )[0] != Alen )
10872 {
10873 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10874 return NULL;
10875 }
10876 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10877 }
10878 {
10879 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[2], NPY_PLINT, 1, 1 );
10880 if ( tmp3 == NULL )
10881 return NULL;
10882 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10883 {
10884 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10885 return NULL;
10886 }
10887 arg4 = PyArray_DIMS( tmp3 )[0];
10888 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10889 }
10890 plscmap1((int const *)arg1,(int const *)arg2,(int const *)arg3,arg4);
10891 resultobj = SWIG_Py_Void();
10892 {
10893 Py_CLEAR( tmp1 );
10894 }
10895 {
10896 Py_CLEAR( tmp2 );
10897 }
10898 {
10899 Py_CLEAR( tmp3 );
10900 }
10901 return resultobj;
10902fail:
10903 {
10904 Py_CLEAR( tmp1 );
10905 }
10906 {
10907 Py_CLEAR( tmp2 );
10908 }
10909 {
10910 Py_CLEAR( tmp3 );
10911 }
10912 return NULL;
10913}
10914
10915
10916SWIGINTERN PyObject *_wrap_plscmap1a(PyObject *self, PyObject *args) {
10917 PyObject *resultobj = 0;
10918 PLINT *arg1 = 0 ;
10919 PLINT *arg2 = 0 ;
10920 PLINT *arg3 = 0 ;
10921 PLFLT *arg4 = 0 ;
10922 PLINT arg5 ;
10923 PyArrayObject *tmp1 = NULL ;
10924 PyArrayObject *tmp2 = NULL ;
10925 PyArrayObject *tmp3 = NULL ;
10926 PyArrayObject *tmp4 = NULL ;
10927 PyObject *swig_obj[4] ;
10928
10929 (void)self;
10930 if (!SWIG_Python_UnpackTuple(args, "plscmap1a", 4, 4, swig_obj)) SWIG_fail;
10931 {
10932 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
10933 if ( tmp1 == NULL )
10934 return NULL;
10935 Alen = PyArray_DIMS( tmp1 )[0];
10936 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10937 }
10938 {
10939 tmp2 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
10940 if ( tmp2 == NULL )
10941 return NULL;
10942 if ( PyArray_DIMS( tmp2 )[0] != Alen )
10943 {
10944 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10945 return NULL;
10946 }
10947 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10948 }
10949 {
10950 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[2], NPY_PLINT, 1, 1 );
10951 if ( tmp3 == NULL )
10952 return NULL;
10953 if ( PyArray_DIMS( tmp3 )[0] != Alen )
10954 {
10955 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10956 return NULL;
10957 }
10958 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10959 }
10960 {
10961 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[3], NPY_PLFLT, 1, 1 );
10962 if ( tmp4 == NULL )
10963 return NULL;
10964 if ( PyArray_DIMS( tmp4 )[0] != Alen )
10965 {
10966 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
10967 return NULL;
10968 }
10969 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10970 arg5 = PyArray_DIMS( tmp4 )[0];
10971 }
10972 plscmap1a((int const *)arg1,(int const *)arg2,(int const *)arg3,(double const *)arg4,arg5);
10973 resultobj = SWIG_Py_Void();
10974 {
10975 Py_CLEAR( tmp1 );
10976 }
10977 {
10978 Py_CLEAR( tmp2 );
10979 }
10980 {
10981 Py_CLEAR( tmp3 );
10982 }
10983 {
10984 Py_CLEAR( tmp4 );
10985 }
10986 return resultobj;
10987fail:
10988 {
10989 Py_CLEAR( tmp1 );
10990 }
10991 {
10992 Py_CLEAR( tmp2 );
10993 }
10994 {
10995 Py_CLEAR( tmp3 );
10996 }
10997 {
10998 Py_CLEAR( tmp4 );
10999 }
11000 return NULL;
11001}
11002
11003
11004SWIGINTERN PyObject *_wrap_plscmap1l(PyObject *self, PyObject *args) {
11005 PyObject *resultobj = 0;
11006 PLBOOL arg1 ;
11007 PLINT arg2 ;
11008 PLFLT *arg3 = 0 ;
11009 PLFLT *arg4 = 0 ;
11010 PLFLT *arg5 = 0 ;
11011 PLFLT *arg6 = 0 ;
11012 PLBOOL *arg7 = 0 ;
11013 int val1 ;
11014 int ecode1 = 0 ;
11015 PyArrayObject *tmp2 = NULL ;
11016 PyArrayObject *tmp4 = NULL ;
11017 PyArrayObject *tmp5 = NULL ;
11018 PyArrayObject *tmp6 = NULL ;
11019 PyArrayObject *tmp7 = NULL ;
11020 PyObject *swig_obj[6] ;
11021
11022 (void)self;
11023 if (!SWIG_Python_UnpackTuple(args, "plscmap1l", 6, 6, swig_obj)) SWIG_fail;
11024 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11025 if (!SWIG_IsOK(ecode1)) {
11026 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1l" "', argument " "1"" of type '" "PLBOOL""'");
11027 }
11028 arg1 = (PLBOOL)(val1);
11029 {
11030 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
11031 if ( tmp2 == NULL )
11032 return NULL;
11033 arg2 = Alen = PyArray_DIMS( tmp2 )[0];
11034 arg3 = (PLFLT *) PyArray_DATA( tmp2 );
11035 }
11036 {
11037 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
11038 if ( tmp4 == NULL )
11039 return NULL;
11040 if ( PyArray_DIMS( tmp4 )[0] != Alen )
11041 {
11042 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11043 return NULL;
11044 }
11045 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
11046 }
11047 {
11048 tmp5 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[3], NPY_PLFLT, 1, 1 );
11049 if ( tmp5 == NULL )
11050 return NULL;
11051 if ( PyArray_DIMS( tmp5 )[0] != Alen )
11052 {
11053 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11054 return NULL;
11055 }
11056 arg5 = (PLFLT *) PyArray_DATA( tmp5 );
11057 }
11058 {
11059 tmp6 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
11060 if ( tmp6 == NULL )
11061 return NULL;
11062 if ( PyArray_DIMS( tmp6 )[0] != Alen )
11063 {
11064 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11065 return NULL;
11066 }
11067 arg6 = (PLFLT *) PyArray_DATA( tmp6 );
11068 }
11069 {
11070 tmp7 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[5], NPY_PLINT, 1, 1 );
11071 if ( tmp7 == NULL )
11072 return NULL;
11073 if ( PyArray_DIMS( tmp7 )[0] < Alen - 1 )
11074 {
11075 PyErr_SetString( PyExc_ValueError, "Vector must be at least length of others minus 1." );
11076 return NULL;
11077 }
11078 arg7 = (PLINT *) PyArray_DATA( tmp7 );
11079 }
11080 plscmap1l(arg1,arg2,(double const *)arg3,(double const *)arg4,(double const *)arg5,(double const *)arg6,(int const *)arg7);
11081 resultobj = SWIG_Py_Void();
11082 {
11083 Py_CLEAR( tmp2 );
11084 }
11085 {
11086 Py_CLEAR( tmp4 );
11087 }
11088 {
11089 Py_CLEAR( tmp5 );
11090 }
11091 {
11092 Py_CLEAR( tmp6 );
11093 }
11094 {
11095 Py_CLEAR( tmp7 );
11096 }
11097 return resultobj;
11098fail:
11099 {
11100 Py_CLEAR( tmp2 );
11101 }
11102 {
11103 Py_CLEAR( tmp4 );
11104 }
11105 {
11106 Py_CLEAR( tmp5 );
11107 }
11108 {
11109 Py_CLEAR( tmp6 );
11110 }
11111 {
11112 Py_CLEAR( tmp7 );
11113 }
11114 return NULL;
11115}
11116
11117
11118SWIGINTERN PyObject *_wrap_plscmap1la(PyObject *self, PyObject *args) {
11119 PyObject *resultobj = 0;
11120 PLBOOL arg1 ;
11121 PLINT arg2 ;
11122 PLFLT *arg3 = 0 ;
11123 PLFLT *arg4 = 0 ;
11124 PLFLT *arg5 = 0 ;
11125 PLFLT *arg6 = 0 ;
11126 PLFLT *arg7 = 0 ;
11127 PLBOOL *arg8 = 0 ;
11128 int val1 ;
11129 int ecode1 = 0 ;
11130 PyArrayObject *tmp2 = NULL ;
11131 PyArrayObject *tmp4 = NULL ;
11132 PyArrayObject *tmp5 = NULL ;
11133 PyArrayObject *tmp6 = NULL ;
11134 PyArrayObject *tmp7 = NULL ;
11135 PyArrayObject *tmp8 = NULL ;
11136 PyObject *swig_obj[7] ;
11137
11138 (void)self;
11139 if (!SWIG_Python_UnpackTuple(args, "plscmap1la", 7, 7, swig_obj)) SWIG_fail;
11140 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11141 if (!SWIG_IsOK(ecode1)) {
11142 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1la" "', argument " "1"" of type '" "PLBOOL""'");
11143 }
11144 arg1 = (PLBOOL)(val1);
11145 {
11146 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
11147 if ( tmp2 == NULL )
11148 return NULL;
11149 arg2 = Alen = PyArray_DIMS( tmp2 )[0];
11150 arg3 = (PLFLT *) PyArray_DATA( tmp2 );
11151 }
11152 {
11153 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
11154 if ( tmp4 == NULL )
11155 return NULL;
11156 if ( PyArray_DIMS( tmp4 )[0] != Alen )
11157 {
11158 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11159 return NULL;
11160 }
11161 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
11162 }
11163 {
11164 tmp5 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[3], NPY_PLFLT, 1, 1 );
11165 if ( tmp5 == NULL )
11166 return NULL;
11167 if ( PyArray_DIMS( tmp5 )[0] != Alen )
11168 {
11169 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11170 return NULL;
11171 }
11172 arg5 = (PLFLT *) PyArray_DATA( tmp5 );
11173 }
11174 {
11175 tmp6 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[4], NPY_PLFLT, 1, 1 );
11176 if ( tmp6 == NULL )
11177 return NULL;
11178 if ( PyArray_DIMS( tmp6 )[0] != Alen )
11179 {
11180 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11181 return NULL;
11182 }
11183 arg6 = (PLFLT *) PyArray_DATA( tmp6 );
11184 }
11185 {
11186 tmp7 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[5], NPY_PLFLT, 1, 1 );
11187 if ( tmp7 == NULL )
11188 return NULL;
11189 if ( PyArray_DIMS( tmp7 )[0] != Alen )
11190 {
11191 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
11192 return NULL;
11193 }
11194 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
11195 }
11196 {
11197 tmp8 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[6], NPY_PLINT, 1, 1 );
11198 if ( tmp8 == NULL )
11199 return NULL;
11200 if ( PyArray_DIMS( tmp8 )[0] < Alen - 1 )
11201 {
11202 PyErr_SetString( PyExc_ValueError, "Vector must be at least length of others minus 1." );
11203 return NULL;
11204 }
11205 arg8 = (PLINT *) PyArray_DATA( tmp8 );
11206 }
11207 plscmap1la(arg1,arg2,(double const *)arg3,(double const *)arg4,(double const *)arg5,(double const *)arg6,(double const *)arg7,(int const *)arg8);
11208 resultobj = SWIG_Py_Void();
11209 {
11210 Py_CLEAR( tmp2 );
11211 }
11212 {
11213 Py_CLEAR( tmp4 );
11214 }
11215 {
11216 Py_CLEAR( tmp5 );
11217 }
11218 {
11219 Py_CLEAR( tmp6 );
11220 }
11221 {
11222 Py_CLEAR( tmp7 );
11223 }
11224 {
11225 Py_CLEAR( tmp8 );
11226 }
11227 return resultobj;
11228fail:
11229 {
11230 Py_CLEAR( tmp2 );
11231 }
11232 {
11233 Py_CLEAR( tmp4 );
11234 }
11235 {
11236 Py_CLEAR( tmp5 );
11237 }
11238 {
11239 Py_CLEAR( tmp6 );
11240 }
11241 {
11242 Py_CLEAR( tmp7 );
11243 }
11244 {
11245 Py_CLEAR( tmp8 );
11246 }
11247 return NULL;
11248}
11249
11250
11251SWIGINTERN PyObject *_wrap_plscmap1n(PyObject *self, PyObject *args) {
11252 PyObject *resultobj = 0;
11253 PLINT arg1 ;
11254 int val1 ;
11255 int ecode1 = 0 ;
11256 PyObject *swig_obj[1] ;
11257
11258 (void)self;
11259 if (!args) SWIG_fail;
11260 swig_obj[0] = args;
11261 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11262 if (!SWIG_IsOK(ecode1)) {
11263 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1n" "', argument " "1"" of type '" "PLINT""'");
11264 }
11265 arg1 = (PLINT)(val1);
11266 plscmap1n(arg1);
11267 resultobj = SWIG_Py_Void();
11268 return resultobj;
11269fail:
11270 return NULL;
11271}
11272
11273
11274SWIGINTERN PyObject *_wrap_plscmap1_range(PyObject *self, PyObject *args) {
11275 PyObject *resultobj = 0;
11276 PLFLT arg1 ;
11277 PLFLT arg2 ;
11278 double val1 ;
11279 int ecode1 = 0 ;
11280 double val2 ;
11281 int ecode2 = 0 ;
11282 PyObject *swig_obj[2] ;
11283
11284 (void)self;
11285 if (!SWIG_Python_UnpackTuple(args, "plscmap1_range", 2, 2, swig_obj)) SWIG_fail;
11286 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
11287 if (!SWIG_IsOK(ecode1)) {
11288 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1_range" "', argument " "1"" of type '" "PLFLT""'");
11289 }
11290 arg1 = (PLFLT)(val1);
11291 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
11292 if (!SWIG_IsOK(ecode2)) {
11293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscmap1_range" "', argument " "2"" of type '" "PLFLT""'");
11294 }
11295 arg2 = (PLFLT)(val2);
11296 plscmap1_range(arg1,arg2);
11297 resultobj = SWIG_Py_Void();
11298 return resultobj;
11299fail:
11300 return NULL;
11301}
11302
11303
11304SWIGINTERN PyObject *_wrap_plgcmap1_range(PyObject *self, PyObject *args) {
11305 PyObject *resultobj = 0;
11306 PLFLT *arg1 = 0 ;
11307 PLFLT *arg2 = 0 ;
11308 PLFLT temp1 ;
11309 int res1 = SWIG_TMPOBJ ;
11310 PLFLT temp2 ;
11311 int res2 = SWIG_TMPOBJ ;
11312
11313 arg1 = &temp1;
11314 arg2 = &temp2;
11315 (void)self;
11316 if (!SWIG_Python_UnpackTuple(args, "plgcmap1_range", 0, 0, 0)) SWIG_fail;
11317 plgcmap1_range(arg1,arg2);
11318 resultobj = SWIG_Py_Void();
11319 if (SWIG_IsTmpObj(res1)) {
11320 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg1)), 1);
11321 } else {
11322 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11323 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags), 1);
11324 }
11325 if (SWIG_IsTmpObj(res2)) {
11326 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg2)), 1);
11327 } else {
11328 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11329 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags), 1);
11330 }
11331 return resultobj;
11332fail:
11333 return NULL;
11334}
11335
11336
11337SWIGINTERN PyObject *_wrap_plscol0(PyObject *self, PyObject *args) {
11338 PyObject *resultobj = 0;
11339 PLINT arg1 ;
11340 PLINT arg2 ;
11341 PLINT arg3 ;
11342 PLINT arg4 ;
11343 int val1 ;
11344 int ecode1 = 0 ;
11345 int val2 ;
11346 int ecode2 = 0 ;
11347 int val3 ;
11348 int ecode3 = 0 ;
11349 int val4 ;
11350 int ecode4 = 0 ;
11351 PyObject *swig_obj[4] ;
11352
11353 (void)self;
11354 if (!SWIG_Python_UnpackTuple(args, "plscol0", 4, 4, swig_obj)) SWIG_fail;
11355 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11356 if (!SWIG_IsOK(ecode1)) {
11357 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscol0" "', argument " "1"" of type '" "PLINT""'");
11358 }
11359 arg1 = (PLINT)(val1);
11360 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11361 if (!SWIG_IsOK(ecode2)) {
11362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscol0" "', argument " "2"" of type '" "PLINT""'");
11363 }
11364 arg2 = (PLINT)(val2);
11365 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11366 if (!SWIG_IsOK(ecode3)) {
11367 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscol0" "', argument " "3"" of type '" "PLINT""'");
11368 }
11369 arg3 = (PLINT)(val3);
11370 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
11371 if (!SWIG_IsOK(ecode4)) {
11372 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plscol0" "', argument " "4"" of type '" "PLINT""'");
11373 }
11374 arg4 = (PLINT)(val4);
11375 plscol0(arg1,arg2,arg3,arg4);
11376 resultobj = SWIG_Py_Void();
11377 return resultobj;
11378fail:
11379 return NULL;
11380}
11381
11382
11383SWIGINTERN PyObject *_wrap_plscol0a(PyObject *self, PyObject *args) {
11384 PyObject *resultobj = 0;
11385 PLINT arg1 ;
11386 PLINT arg2 ;
11387 PLINT arg3 ;
11388 PLINT arg4 ;
11389 PLFLT arg5 ;
11390 int val1 ;
11391 int ecode1 = 0 ;
11392 int val2 ;
11393 int ecode2 = 0 ;
11394 int val3 ;
11395 int ecode3 = 0 ;
11396 int val4 ;
11397 int ecode4 = 0 ;
11398 double val5 ;
11399 int ecode5 = 0 ;
11400 PyObject *swig_obj[5] ;
11401
11402 (void)self;
11403 if (!SWIG_Python_UnpackTuple(args, "plscol0a", 5, 5, swig_obj)) SWIG_fail;
11404 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11405 if (!SWIG_IsOK(ecode1)) {
11406 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscol0a" "', argument " "1"" of type '" "PLINT""'");
11407 }
11408 arg1 = (PLINT)(val1);
11409 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11410 if (!SWIG_IsOK(ecode2)) {
11411 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscol0a" "', argument " "2"" of type '" "PLINT""'");
11412 }
11413 arg2 = (PLINT)(val2);
11414 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11415 if (!SWIG_IsOK(ecode3)) {
11416 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscol0a" "', argument " "3"" of type '" "PLINT""'");
11417 }
11418 arg3 = (PLINT)(val3);
11419 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
11420 if (!SWIG_IsOK(ecode4)) {
11421 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plscol0a" "', argument " "4"" of type '" "PLINT""'");
11422 }
11423 arg4 = (PLINT)(val4);
11424 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
11425 if (!SWIG_IsOK(ecode5)) {
11426 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plscol0a" "', argument " "5"" of type '" "PLFLT""'");
11427 }
11428 arg5 = (PLFLT)(val5);
11429 plscol0a(arg1,arg2,arg3,arg4,arg5);
11430 resultobj = SWIG_Py_Void();
11431 return resultobj;
11432fail:
11433 return NULL;
11434}
11435
11436
11437SWIGINTERN PyObject *_wrap_plscolbg(PyObject *self, PyObject *args) {
11438 PyObject *resultobj = 0;
11439 PLINT arg1 ;
11440 PLINT arg2 ;
11441 PLINT arg3 ;
11442 int val1 ;
11443 int ecode1 = 0 ;
11444 int val2 ;
11445 int ecode2 = 0 ;
11446 int val3 ;
11447 int ecode3 = 0 ;
11448 PyObject *swig_obj[3] ;
11449
11450 (void)self;
11451 if (!SWIG_Python_UnpackTuple(args, "plscolbg", 3, 3, swig_obj)) SWIG_fail;
11452 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11453 if (!SWIG_IsOK(ecode1)) {
11454 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscolbg" "', argument " "1"" of type '" "PLINT""'");
11455 }
11456 arg1 = (PLINT)(val1);
11457 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11458 if (!SWIG_IsOK(ecode2)) {
11459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscolbg" "', argument " "2"" of type '" "PLINT""'");
11460 }
11461 arg2 = (PLINT)(val2);
11462 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11463 if (!SWIG_IsOK(ecode3)) {
11464 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscolbg" "', argument " "3"" of type '" "PLINT""'");
11465 }
11466 arg3 = (PLINT)(val3);
11467 plscolbg(arg1,arg2,arg3);
11468 resultobj = SWIG_Py_Void();
11469 return resultobj;
11470fail:
11471 return NULL;
11472}
11473
11474
11475SWIGINTERN PyObject *_wrap_plscolbga(PyObject *self, PyObject *args) {
11476 PyObject *resultobj = 0;
11477 PLINT arg1 ;
11478 PLINT arg2 ;
11479 PLINT arg3 ;
11480 PLFLT arg4 ;
11481 int val1 ;
11482 int ecode1 = 0 ;
11483 int val2 ;
11484 int ecode2 = 0 ;
11485 int val3 ;
11486 int ecode3 = 0 ;
11487 double val4 ;
11488 int ecode4 = 0 ;
11489 PyObject *swig_obj[4] ;
11490
11491 (void)self;
11492 if (!SWIG_Python_UnpackTuple(args, "plscolbga", 4, 4, swig_obj)) SWIG_fail;
11493 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11494 if (!SWIG_IsOK(ecode1)) {
11495 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscolbga" "', argument " "1"" of type '" "PLINT""'");
11496 }
11497 arg1 = (PLINT)(val1);
11498 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11499 if (!SWIG_IsOK(ecode2)) {
11500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscolbga" "', argument " "2"" of type '" "PLINT""'");
11501 }
11502 arg2 = (PLINT)(val2);
11503 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11504 if (!SWIG_IsOK(ecode3)) {
11505 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscolbga" "', argument " "3"" of type '" "PLINT""'");
11506 }
11507 arg3 = (PLINT)(val3);
11508 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
11509 if (!SWIG_IsOK(ecode4)) {
11510 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plscolbga" "', argument " "4"" of type '" "PLFLT""'");
11511 }
11512 arg4 = (PLFLT)(val4);
11513 plscolbga(arg1,arg2,arg3,arg4);
11514 resultobj = SWIG_Py_Void();
11515 return resultobj;
11516fail:
11517 return NULL;
11518}
11519
11520
11521SWIGINTERN PyObject *_wrap_plscolor(PyObject *self, PyObject *args) {
11522 PyObject *resultobj = 0;
11523 PLINT arg1 ;
11524 int val1 ;
11525 int ecode1 = 0 ;
11526 PyObject *swig_obj[1] ;
11527
11528 (void)self;
11529 if (!args) SWIG_fail;
11530 swig_obj[0] = args;
11531 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11532 if (!SWIG_IsOK(ecode1)) {
11533 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscolor" "', argument " "1"" of type '" "PLINT""'");
11534 }
11535 arg1 = (PLINT)(val1);
11536 plscolor(arg1);
11537 resultobj = SWIG_Py_Void();
11538 return resultobj;
11539fail:
11540 return NULL;
11541}
11542
11543
11544SWIGINTERN PyObject *_wrap_plscompression(PyObject *self, PyObject *args) {
11545 PyObject *resultobj = 0;
11546 PLINT arg1 ;
11547 int val1 ;
11548 int ecode1 = 0 ;
11549 PyObject *swig_obj[1] ;
11550
11551 (void)self;
11552 if (!args) SWIG_fail;
11553 swig_obj[0] = args;
11554 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11555 if (!SWIG_IsOK(ecode1)) {
11556 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscompression" "', argument " "1"" of type '" "PLINT""'");
11557 }
11558 arg1 = (PLINT)(val1);
11559 plscompression(arg1);
11560 resultobj = SWIG_Py_Void();
11561 return resultobj;
11562fail:
11563 return NULL;
11564}
11565
11566
11567SWIGINTERN PyObject *_wrap_plsdev(PyObject *self, PyObject *args) {
11568 PyObject *resultobj = 0;
11569 char *arg1 = 0 ;
11570 int res1 ;
11571 char *buf1 = 0 ;
11572 int alloc1 = 0 ;
11573 PyObject *swig_obj[1] ;
11574
11575 (void)self;
11576 if (!args) SWIG_fail;
11577 swig_obj[0] = args;
11578 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
11579 if (!SWIG_IsOK(res1)) {
11580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plsdev" "', argument " "1"" of type '" "char const *""'");
11581 }
11582 arg1 = (char *)(buf1);
11583 plsdev((char const *)arg1);
11584 resultobj = SWIG_Py_Void();
11585 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
11586 return resultobj;
11587fail:
11588 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
11589 return NULL;
11590}
11591
11592
11593SWIGINTERN PyObject *_wrap_plsdidev(PyObject *self, PyObject *args) {
11594 PyObject *resultobj = 0;
11595 PLFLT arg1 ;
11596 PLFLT arg2 ;
11597 PLFLT arg3 ;
11598 PLFLT arg4 ;
11599 double val1 ;
11600 int ecode1 = 0 ;
11601 double val2 ;
11602 int ecode2 = 0 ;
11603 double val3 ;
11604 int ecode3 = 0 ;
11605 double val4 ;
11606 int ecode4 = 0 ;
11607 PyObject *swig_obj[4] ;
11608
11609 (void)self;
11610 if (!SWIG_Python_UnpackTuple(args, "plsdidev", 4, 4, swig_obj)) SWIG_fail;
11611 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
11612 if (!SWIG_IsOK(ecode1)) {
11613 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdidev" "', argument " "1"" of type '" "PLFLT""'");
11614 }
11615 arg1 = (PLFLT)(val1);
11616 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
11617 if (!SWIG_IsOK(ecode2)) {
11618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdidev" "', argument " "2"" of type '" "PLFLT""'");
11619 }
11620 arg2 = (PLFLT)(val2);
11621 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
11622 if (!SWIG_IsOK(ecode3)) {
11623 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdidev" "', argument " "3"" of type '" "PLFLT""'");
11624 }
11625 arg3 = (PLFLT)(val3);
11626 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
11627 if (!SWIG_IsOK(ecode4)) {
11628 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdidev" "', argument " "4"" of type '" "PLFLT""'");
11629 }
11630 arg4 = (PLFLT)(val4);
11631 plsdidev(arg1,arg2,arg3,arg4);
11632 resultobj = SWIG_Py_Void();
11633 return resultobj;
11634fail:
11635 return NULL;
11636}
11637
11638
11639SWIGINTERN PyObject *_wrap_plsdimap(PyObject *self, PyObject *args) {
11640 PyObject *resultobj = 0;
11641 PLINT arg1 ;
11642 PLINT arg2 ;
11643 PLINT arg3 ;
11644 PLINT arg4 ;
11645 PLFLT arg5 ;
11646 PLFLT arg6 ;
11647 int val1 ;
11648 int ecode1 = 0 ;
11649 int val2 ;
11650 int ecode2 = 0 ;
11651 int val3 ;
11652 int ecode3 = 0 ;
11653 int val4 ;
11654 int ecode4 = 0 ;
11655 double val5 ;
11656 int ecode5 = 0 ;
11657 double val6 ;
11658 int ecode6 = 0 ;
11659 PyObject *swig_obj[6] ;
11660
11661 (void)self;
11662 if (!SWIG_Python_UnpackTuple(args, "plsdimap", 6, 6, swig_obj)) SWIG_fail;
11663 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11664 if (!SWIG_IsOK(ecode1)) {
11665 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdimap" "', argument " "1"" of type '" "PLINT""'");
11666 }
11667 arg1 = (PLINT)(val1);
11668 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11669 if (!SWIG_IsOK(ecode2)) {
11670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdimap" "', argument " "2"" of type '" "PLINT""'");
11671 }
11672 arg2 = (PLINT)(val2);
11673 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11674 if (!SWIG_IsOK(ecode3)) {
11675 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdimap" "', argument " "3"" of type '" "PLINT""'");
11676 }
11677 arg3 = (PLINT)(val3);
11678 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
11679 if (!SWIG_IsOK(ecode4)) {
11680 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdimap" "', argument " "4"" of type '" "PLINT""'");
11681 }
11682 arg4 = (PLINT)(val4);
11683 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
11684 if (!SWIG_IsOK(ecode5)) {
11685 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plsdimap" "', argument " "5"" of type '" "PLFLT""'");
11686 }
11687 arg5 = (PLFLT)(val5);
11688 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
11689 if (!SWIG_IsOK(ecode6)) {
11690 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plsdimap" "', argument " "6"" of type '" "PLFLT""'");
11691 }
11692 arg6 = (PLFLT)(val6);
11693 plsdimap(arg1,arg2,arg3,arg4,arg5,arg6);
11694 resultobj = SWIG_Py_Void();
11695 return resultobj;
11696fail:
11697 return NULL;
11698}
11699
11700
11701SWIGINTERN PyObject *_wrap_plsdiori(PyObject *self, PyObject *args) {
11702 PyObject *resultobj = 0;
11703 PLFLT arg1 ;
11704 double val1 ;
11705 int ecode1 = 0 ;
11706 PyObject *swig_obj[1] ;
11707
11708 (void)self;
11709 if (!args) SWIG_fail;
11710 swig_obj[0] = args;
11711 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
11712 if (!SWIG_IsOK(ecode1)) {
11713 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdiori" "', argument " "1"" of type '" "PLFLT""'");
11714 }
11715 arg1 = (PLFLT)(val1);
11716 plsdiori(arg1);
11717 resultobj = SWIG_Py_Void();
11718 return resultobj;
11719fail:
11720 return NULL;
11721}
11722
11723
11724SWIGINTERN PyObject *_wrap_plsdiplt(PyObject *self, PyObject *args) {
11725 PyObject *resultobj = 0;
11726 PLFLT arg1 ;
11727 PLFLT arg2 ;
11728 PLFLT arg3 ;
11729 PLFLT arg4 ;
11730 double val1 ;
11731 int ecode1 = 0 ;
11732 double val2 ;
11733 int ecode2 = 0 ;
11734 double val3 ;
11735 int ecode3 = 0 ;
11736 double val4 ;
11737 int ecode4 = 0 ;
11738 PyObject *swig_obj[4] ;
11739
11740 (void)self;
11741 if (!SWIG_Python_UnpackTuple(args, "plsdiplt", 4, 4, swig_obj)) SWIG_fail;
11742 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
11743 if (!SWIG_IsOK(ecode1)) {
11744 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdiplt" "', argument " "1"" of type '" "PLFLT""'");
11745 }
11746 arg1 = (PLFLT)(val1);
11747 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
11748 if (!SWIG_IsOK(ecode2)) {
11749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdiplt" "', argument " "2"" of type '" "PLFLT""'");
11750 }
11751 arg2 = (PLFLT)(val2);
11752 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
11753 if (!SWIG_IsOK(ecode3)) {
11754 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdiplt" "', argument " "3"" of type '" "PLFLT""'");
11755 }
11756 arg3 = (PLFLT)(val3);
11757 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
11758 if (!SWIG_IsOK(ecode4)) {
11759 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdiplt" "', argument " "4"" of type '" "PLFLT""'");
11760 }
11761 arg4 = (PLFLT)(val4);
11762 plsdiplt(arg1,arg2,arg3,arg4);
11763 resultobj = SWIG_Py_Void();
11764 return resultobj;
11765fail:
11766 return NULL;
11767}
11768
11769
11770SWIGINTERN PyObject *_wrap_plsdiplz(PyObject *self, PyObject *args) {
11771 PyObject *resultobj = 0;
11772 PLFLT arg1 ;
11773 PLFLT arg2 ;
11774 PLFLT arg3 ;
11775 PLFLT arg4 ;
11776 double val1 ;
11777 int ecode1 = 0 ;
11778 double val2 ;
11779 int ecode2 = 0 ;
11780 double val3 ;
11781 int ecode3 = 0 ;
11782 double val4 ;
11783 int ecode4 = 0 ;
11784 PyObject *swig_obj[4] ;
11785
11786 (void)self;
11787 if (!SWIG_Python_UnpackTuple(args, "plsdiplz", 4, 4, swig_obj)) SWIG_fail;
11788 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
11789 if (!SWIG_IsOK(ecode1)) {
11790 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdiplz" "', argument " "1"" of type '" "PLFLT""'");
11791 }
11792 arg1 = (PLFLT)(val1);
11793 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
11794 if (!SWIG_IsOK(ecode2)) {
11795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdiplz" "', argument " "2"" of type '" "PLFLT""'");
11796 }
11797 arg2 = (PLFLT)(val2);
11798 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
11799 if (!SWIG_IsOK(ecode3)) {
11800 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdiplz" "', argument " "3"" of type '" "PLFLT""'");
11801 }
11802 arg3 = (PLFLT)(val3);
11803 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
11804 if (!SWIG_IsOK(ecode4)) {
11805 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdiplz" "', argument " "4"" of type '" "PLFLT""'");
11806 }
11807 arg4 = (PLFLT)(val4);
11808 plsdiplz(arg1,arg2,arg3,arg4);
11809 resultobj = SWIG_Py_Void();
11810 return resultobj;
11811fail:
11812 return NULL;
11813}
11814
11815
11816SWIGINTERN PyObject *_wrap_plseed(PyObject *self, PyObject *args) {
11817 PyObject *resultobj = 0;
11818 unsigned int arg1 ;
11819 unsigned int val1 ;
11820 int ecode1 = 0 ;
11821 PyObject *swig_obj[1] ;
11822
11823 (void)self;
11824 if (!args) SWIG_fail;
11825 swig_obj[0] = args;
11826 ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
11827 if (!SWIG_IsOK(ecode1)) {
11828 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plseed" "', argument " "1"" of type '" "unsigned int""'");
11829 }
11830 arg1 = (unsigned int)(val1);
11831 plseed(arg1);
11832 resultobj = SWIG_Py_Void();
11833 return resultobj;
11834fail:
11835 return NULL;
11836}
11837
11838
11839SWIGINTERN PyObject *_wrap_plsesc(PyObject *self, PyObject *args) {
11840 PyObject *resultobj = 0;
11841 char arg1 ;
11842 char val1 ;
11843 int ecode1 = 0 ;
11844 PyObject *swig_obj[1] ;
11845
11846 (void)self;
11847 if (!args) SWIG_fail;
11848 swig_obj[0] = args;
11849 ecode1 = SWIG_AsVal_char(swig_obj[0], &val1);
11850 if (!SWIG_IsOK(ecode1)) {
11851 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsesc" "', argument " "1"" of type '" "char""'");
11852 }
11853 arg1 = (char)(val1);
11854 plsesc(arg1);
11855 resultobj = SWIG_Py_Void();
11856 return resultobj;
11857fail:
11858 return NULL;
11859}
11860
11861
11862SWIGINTERN PyObject *_wrap_plsetopt(PyObject *self, PyObject *args) {
11863 PyObject *resultobj = 0;
11864 char *arg1 = 0 ;
11865 char *arg2 = 0 ;
11866 int res1 ;
11867 char *buf1 = 0 ;
11868 int alloc1 = 0 ;
11869 int res2 ;
11870 char *buf2 = 0 ;
11871 int alloc2 = 0 ;
11872 PyObject *swig_obj[2] ;
11873 PLINT result;
11874
11875 (void)self;
11876 if (!SWIG_Python_UnpackTuple(args, "plsetopt", 2, 2, swig_obj)) SWIG_fail;
11877 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
11878 if (!SWIG_IsOK(res1)) {
11879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plsetopt" "', argument " "1"" of type '" "char const *""'");
11880 }
11881 arg1 = (char *)(buf1);
11882 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
11883 if (!SWIG_IsOK(res2)) {
11884 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plsetopt" "', argument " "2"" of type '" "char const *""'");
11885 }
11886 arg2 = (char *)(buf2);
11887 result = (PLINT)plsetopt((char const *)arg1,(char const *)arg2);
11888 resultobj = SWIG_From_int((int)(result));
11889 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
11890 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11891 return resultobj;
11892fail:
11893 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
11894 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11895 return NULL;
11896}
11897
11898
11899SWIGINTERN PyObject *_wrap_plsfam(PyObject *self, PyObject *args) {
11900 PyObject *resultobj = 0;
11901 PLINT arg1 ;
11902 PLINT arg2 ;
11903 PLINT arg3 ;
11904 int val1 ;
11905 int ecode1 = 0 ;
11906 int val2 ;
11907 int ecode2 = 0 ;
11908 int val3 ;
11909 int ecode3 = 0 ;
11910 PyObject *swig_obj[3] ;
11911
11912 (void)self;
11913 if (!SWIG_Python_UnpackTuple(args, "plsfam", 3, 3, swig_obj)) SWIG_fail;
11914 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
11915 if (!SWIG_IsOK(ecode1)) {
11916 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsfam" "', argument " "1"" of type '" "PLINT""'");
11917 }
11918 arg1 = (PLINT)(val1);
11919 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11920 if (!SWIG_IsOK(ecode2)) {
11921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsfam" "', argument " "2"" of type '" "PLINT""'");
11922 }
11923 arg2 = (PLINT)(val2);
11924 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
11925 if (!SWIG_IsOK(ecode3)) {
11926 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsfam" "', argument " "3"" of type '" "PLINT""'");
11927 }
11928 arg3 = (PLINT)(val3);
11929 plsfam(arg1,arg2,arg3);
11930 resultobj = SWIG_Py_Void();
11931 return resultobj;
11932fail:
11933 return NULL;
11934}
11935
11936
11937SWIGINTERN PyObject *_wrap_plsfci(PyObject *self, PyObject *args) {
11938 PyObject *resultobj = 0;
11939 PLUNICODE arg1 ;
11940 unsigned int val1 ;
11941 int ecode1 = 0 ;
11942 PyObject *swig_obj[1] ;
11943
11944 (void)self;
11945 if (!args) SWIG_fail;
11946 swig_obj[0] = args;
11947 ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
11948 if (!SWIG_IsOK(ecode1)) {
11949 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsfci" "', argument " "1"" of type '" "PLUNICODE""'");
11950 }
11951 arg1 = (PLUNICODE)(val1);
11952 plsfci(arg1);
11953 resultobj = SWIG_Py_Void();
11954 return resultobj;
11955fail:
11956 return NULL;
11957}
11958
11959
11960SWIGINTERN PyObject *_wrap_plsfnam(PyObject *self, PyObject *args) {
11961 PyObject *resultobj = 0;
11962 char *arg1 = 0 ;
11963 int res1 ;
11964 char *buf1 = 0 ;
11965 int alloc1 = 0 ;
11966 PyObject *swig_obj[1] ;
11967
11968 (void)self;
11969 if (!args) SWIG_fail;
11970 swig_obj[0] = args;
11971 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
11972 if (!SWIG_IsOK(res1)) {
11973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plsfnam" "', argument " "1"" of type '" "char const *""'");
11974 }
11975 arg1 = (char *)(buf1);
11976 plsfnam((char const *)arg1);
11977 resultobj = SWIG_Py_Void();
11978 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
11979 return resultobj;
11980fail:
11981 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
11982 return NULL;
11983}
11984
11985
11986SWIGINTERN PyObject *_wrap_plsfont(PyObject *self, PyObject *args) {
11987 PyObject *resultobj = 0;
11988 PLINT arg1 ;
11989 PLINT arg2 ;
11990 PLINT arg3 ;
11991 int val1 ;
11992 int ecode1 = 0 ;
11993 int val2 ;
11994 int ecode2 = 0 ;
11995 int val3 ;
11996 int ecode3 = 0 ;
11997 PyObject *swig_obj[3] ;
11998
11999 (void)self;
12000 if (!SWIG_Python_UnpackTuple(args, "plsfont", 3, 3, swig_obj)) SWIG_fail;
12001 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12002 if (!SWIG_IsOK(ecode1)) {
12003 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsfont" "', argument " "1"" of type '" "PLINT""'");
12004 }
12005 arg1 = (PLINT)(val1);
12006 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12007 if (!SWIG_IsOK(ecode2)) {
12008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsfont" "', argument " "2"" of type '" "PLINT""'");
12009 }
12010 arg2 = (PLINT)(val2);
12011 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
12012 if (!SWIG_IsOK(ecode3)) {
12013 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsfont" "', argument " "3"" of type '" "PLINT""'");
12014 }
12015 arg3 = (PLINT)(val3);
12016 plsfont(arg1,arg2,arg3);
12017 resultobj = SWIG_Py_Void();
12018 return resultobj;
12019fail:
12020 return NULL;
12021}
12022
12023
12024SWIGINTERN PyObject *_wrap_plshades(PyObject *self, PyObject *args) {
12025 PyObject *resultobj = 0;
12026 PLFLT **arg1 = 0 ;
12027 PLINT arg2 ;
12028 PLINT arg3 ;
12029 defined_func arg4 = 0 ;
12030 PLFLT arg5 ;
12031 PLFLT arg6 ;
12032 PLFLT arg7 ;
12033 PLFLT arg8 ;
12034 PLFLT *arg9 = 0 ;
12035 PLINT arg10 ;
12036 PLFLT arg11 ;
12037 PLINT arg12 ;
12038 PLFLT arg13 ;
12039 fill_func arg14 = 0 ;
12040 PLBOOL arg15 ;
12041 pltr_func arg16 = 0 ;
12042 PLPointer arg17 = 0 ;
12043 PyArrayObject *tmp1 = NULL ;
12044 double val5 ;
12045 int ecode5 = 0 ;
12046 double val6 ;
12047 int ecode6 = 0 ;
12048 double val7 ;
12049 int ecode7 = 0 ;
12050 double val8 ;
12051 int ecode8 = 0 ;
12052 PyArrayObject *tmp9 = NULL ;
12053 double val11 ;
12054 int ecode11 = 0 ;
12055 int val12 ;
12056 int ecode12 = 0 ;
12057 double val13 ;
12058 int ecode13 = 0 ;
12059 int val15 ;
12060 int ecode15 = 0 ;
12061 PyObject *swig_obj[12] ;
12062
12063 {
12064 python_pltr = 0;
12065 arg16 = NULL;
12066 }
12067 {
12068 arg17 = NULL;
12069 }
12070 {
12071 arg4 = NULL;
12072 }
12073 {
12074 arg14 = plfill;
12075 }
12076 (void)self;
12077 if (!SWIG_Python_UnpackTuple(args, "plshades", 10, 12, swig_obj)) SWIG_fail;
12078 {
12079 int i, size;
12080 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
12081 if ( tmp1 == NULL )
12082 return NULL;
12083 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
12084 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
12085 size = arg3;
12086 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
12087 for ( i = 0; i < arg2; i++ )
12088 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
12089 }
12090 ecode5 = SWIG_AsVal_double(swig_obj[1], &val5);
12091 if (!SWIG_IsOK(ecode5)) {
12092 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshades" "', argument " "5"" of type '" "PLFLT""'");
12093 }
12094 arg5 = (PLFLT)(val5);
12095 ecode6 = SWIG_AsVal_double(swig_obj[2], &val6);
12096 if (!SWIG_IsOK(ecode6)) {
12097 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshades" "', argument " "6"" of type '" "PLFLT""'");
12098 }
12099 arg6 = (PLFLT)(val6);
12100 ecode7 = SWIG_AsVal_double(swig_obj[3], &val7);
12101 if (!SWIG_IsOK(ecode7)) {
12102 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshades" "', argument " "7"" of type '" "PLFLT""'");
12103 }
12104 arg7 = (PLFLT)(val7);
12105 ecode8 = SWIG_AsVal_double(swig_obj[4], &val8);
12106 if (!SWIG_IsOK(ecode8)) {
12107 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plshades" "', argument " "8"" of type '" "PLFLT""'");
12108 }
12109 arg8 = (PLFLT)(val8);
12110 {
12111 tmp9 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[5], NPY_PLFLT, 1, 1 );
12112 if ( tmp9 == NULL )
12113 return NULL;
12114 arg10 = PyArray_DIMS( tmp9 )[0];
12115 arg9 = (PLFLT *) PyArray_DATA( tmp9 );
12116 }
12117 ecode11 = SWIG_AsVal_double(swig_obj[6], &val11);
12118 if (!SWIG_IsOK(ecode11)) {
12119 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshades" "', argument " "11"" of type '" "PLFLT""'");
12120 }
12121 arg11 = (PLFLT)(val11);
12122 ecode12 = SWIG_AsVal_int(swig_obj[7], &val12);
12123 if (!SWIG_IsOK(ecode12)) {
12124 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshades" "', argument " "12"" of type '" "PLINT""'");
12125 }
12126 arg12 = (PLINT)(val12);
12127 ecode13 = SWIG_AsVal_double(swig_obj[8], &val13);
12128 if (!SWIG_IsOK(ecode13)) {
12129 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshades" "', argument " "13"" of type '" "PLFLT""'");
12130 }
12131 arg13 = (PLFLT)(val13);
12132 ecode15 = SWIG_AsVal_int(swig_obj[9], &val15);
12133 if (!SWIG_IsOK(ecode15)) {
12134 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plshades" "', argument " "15"" of type '" "PLBOOL""'");
12135 }
12136 arg15 = (PLBOOL)(val15);
12137 if (swig_obj[10]) {
12138 {
12139 // it must be a callable or None
12140 if ( swig_obj[10] == Py_None )
12141 {
12142 arg16 = NULL;
12143 }
12144 else
12145 {
12146 if ( !PyCallable_Check( (PyObject *) swig_obj[10] ) )
12147 {
12148 PyErr_SetString( PyExc_ValueError, "pltr argument must be callable" );
12149 return NULL;
12150 }
12151 arg16 = marshal_pltr( swig_obj[10] );
12152 }
12153 }
12154 }
12155 if (swig_obj[11]) {
12156 {
12157 if ( swig_obj[11] == Py_None )
12158 arg17 = NULL;
12159 else
12160 {
12161 arg17 = marshal_PLPointer( swig_obj[11], 0 );
12162 }
12163 }
12164 }
12165 plshades((double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(double const *)arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17);
12166 resultobj = SWIG_Py_Void();
12167 {
12168 Py_CLEAR( tmp1 );
12169 free( arg1 );
12170 }
12171 {
12172 Py_CLEAR( tmp9 );
12173 }
12174 {
12175 cleanup_pltr();
12176 }
12177 {
12179 }
12180 return resultobj;
12181fail:
12182 {
12183 Py_CLEAR( tmp1 );
12184 free( arg1 );
12185 }
12186 {
12187 Py_CLEAR( tmp9 );
12188 }
12189 {
12190 cleanup_pltr();
12191 }
12192 {
12194 }
12195 return NULL;
12196}
12197
12198
12199SWIGINTERN PyObject *_wrap_plshade(PyObject *self, PyObject *args) {
12200 PyObject *resultobj = 0;
12201 PLFLT **arg1 = 0 ;
12202 PLINT arg2 ;
12203 PLINT arg3 ;
12204 defined_func arg4 = 0 ;
12205 PLFLT arg5 ;
12206 PLFLT arg6 ;
12207 PLFLT arg7 ;
12208 PLFLT arg8 ;
12209 PLFLT arg9 ;
12210 PLFLT arg10 ;
12211 PLINT arg11 ;
12212 PLFLT arg12 ;
12213 PLFLT arg13 ;
12214 PLINT arg14 ;
12215 PLFLT arg15 ;
12216 PLINT arg16 ;
12217 PLFLT arg17 ;
12218 fill_func arg18 = 0 ;
12219 PLBOOL arg19 ;
12220 pltr_func arg20 = 0 ;
12221 PLPointer arg21 = 0 ;
12222 PyArrayObject *tmp1 = NULL ;
12223 double val5 ;
12224 int ecode5 = 0 ;
12225 double val6 ;
12226 int ecode6 = 0 ;
12227 double val7 ;
12228 int ecode7 = 0 ;
12229 double val8 ;
12230 int ecode8 = 0 ;
12231 double val9 ;
12232 int ecode9 = 0 ;
12233 double val10 ;
12234 int ecode10 = 0 ;
12235 int val11 ;
12236 int ecode11 = 0 ;
12237 double val12 ;
12238 int ecode12 = 0 ;
12239 double val13 ;
12240 int ecode13 = 0 ;
12241 int val14 ;
12242 int ecode14 = 0 ;
12243 double val15 ;
12244 int ecode15 = 0 ;
12245 int val16 ;
12246 int ecode16 = 0 ;
12247 double val17 ;
12248 int ecode17 = 0 ;
12249 int val19 ;
12250 int ecode19 = 0 ;
12251 PyObject *swig_obj[17] ;
12252
12253 {
12254 python_pltr = 0;
12255 arg20 = NULL;
12256 }
12257 {
12258 arg21 = NULL;
12259 }
12260 {
12261 arg4 = NULL;
12262 }
12263 {
12264 arg18 = plfill;
12265 }
12266 (void)self;
12267 if (!SWIG_Python_UnpackTuple(args, "plshade", 15, 17, swig_obj)) SWIG_fail;
12268 {
12269 int i, size;
12270 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
12271 if ( tmp1 == NULL )
12272 return NULL;
12273 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
12274 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
12275 size = arg3;
12276 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
12277 for ( i = 0; i < arg2; i++ )
12278 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
12279 }
12280 ecode5 = SWIG_AsVal_double(swig_obj[1], &val5);
12281 if (!SWIG_IsOK(ecode5)) {
12282 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshade" "', argument " "5"" of type '" "PLFLT""'");
12283 }
12284 arg5 = (PLFLT)(val5);
12285 ecode6 = SWIG_AsVal_double(swig_obj[2], &val6);
12286 if (!SWIG_IsOK(ecode6)) {
12287 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshade" "', argument " "6"" of type '" "PLFLT""'");
12288 }
12289 arg6 = (PLFLT)(val6);
12290 ecode7 = SWIG_AsVal_double(swig_obj[3], &val7);
12291 if (!SWIG_IsOK(ecode7)) {
12292 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshade" "', argument " "7"" of type '" "PLFLT""'");
12293 }
12294 arg7 = (PLFLT)(val7);
12295 ecode8 = SWIG_AsVal_double(swig_obj[4], &val8);
12296 if (!SWIG_IsOK(ecode8)) {
12297 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plshade" "', argument " "8"" of type '" "PLFLT""'");
12298 }
12299 arg8 = (PLFLT)(val8);
12300 ecode9 = SWIG_AsVal_double(swig_obj[5], &val9);
12301 if (!SWIG_IsOK(ecode9)) {
12302 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plshade" "', argument " "9"" of type '" "PLFLT""'");
12303 }
12304 arg9 = (PLFLT)(val9);
12305 ecode10 = SWIG_AsVal_double(swig_obj[6], &val10);
12306 if (!SWIG_IsOK(ecode10)) {
12307 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshade" "', argument " "10"" of type '" "PLFLT""'");
12308 }
12309 arg10 = (PLFLT)(val10);
12310 ecode11 = SWIG_AsVal_int(swig_obj[7], &val11);
12311 if (!SWIG_IsOK(ecode11)) {
12312 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshade" "', argument " "11"" of type '" "PLINT""'");
12313 }
12314 arg11 = (PLINT)(val11);
12315 ecode12 = SWIG_AsVal_double(swig_obj[8], &val12);
12316 if (!SWIG_IsOK(ecode12)) {
12317 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshade" "', argument " "12"" of type '" "PLFLT""'");
12318 }
12319 arg12 = (PLFLT)(val12);
12320 ecode13 = SWIG_AsVal_double(swig_obj[9], &val13);
12321 if (!SWIG_IsOK(ecode13)) {
12322 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshade" "', argument " "13"" of type '" "PLFLT""'");
12323 }
12324 arg13 = (PLFLT)(val13);
12325 ecode14 = SWIG_AsVal_int(swig_obj[10], &val14);
12326 if (!SWIG_IsOK(ecode14)) {
12327 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plshade" "', argument " "14"" of type '" "PLINT""'");
12328 }
12329 arg14 = (PLINT)(val14);
12330 ecode15 = SWIG_AsVal_double(swig_obj[11], &val15);
12331 if (!SWIG_IsOK(ecode15)) {
12332 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plshade" "', argument " "15"" of type '" "PLFLT""'");
12333 }
12334 arg15 = (PLFLT)(val15);
12335 ecode16 = SWIG_AsVal_int(swig_obj[12], &val16);
12336 if (!SWIG_IsOK(ecode16)) {
12337 SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "plshade" "', argument " "16"" of type '" "PLINT""'");
12338 }
12339 arg16 = (PLINT)(val16);
12340 ecode17 = SWIG_AsVal_double(swig_obj[13], &val17);
12341 if (!SWIG_IsOK(ecode17)) {
12342 SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "plshade" "', argument " "17"" of type '" "PLFLT""'");
12343 }
12344 arg17 = (PLFLT)(val17);
12345 ecode19 = SWIG_AsVal_int(swig_obj[14], &val19);
12346 if (!SWIG_IsOK(ecode19)) {
12347 SWIG_exception_fail(SWIG_ArgError(ecode19), "in method '" "plshade" "', argument " "19"" of type '" "PLBOOL""'");
12348 }
12349 arg19 = (PLBOOL)(val19);
12350 if (swig_obj[15]) {
12351 {
12352 // it must be a callable or None
12353 if ( swig_obj[15] == Py_None )
12354 {
12355 arg20 = NULL;
12356 }
12357 else
12358 {
12359 if ( !PyCallable_Check( (PyObject *) swig_obj[15] ) )
12360 {
12361 PyErr_SetString( PyExc_ValueError, "pltr argument must be callable" );
12362 return NULL;
12363 }
12364 arg20 = marshal_pltr( swig_obj[15] );
12365 }
12366 }
12367 }
12368 if (swig_obj[16]) {
12369 {
12370 if ( swig_obj[16] == Py_None )
12371 arg21 = NULL;
12372 else
12373 {
12374 arg21 = marshal_PLPointer( swig_obj[16], 0 );
12375 }
12376 }
12377 }
12378 plshade((double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21);
12379 resultobj = SWIG_Py_Void();
12380 {
12381 Py_CLEAR( tmp1 );
12382 free( arg1 );
12383 }
12384 {
12385 cleanup_pltr();
12386 }
12387 {
12389 }
12390 return resultobj;
12391fail:
12392 {
12393 Py_CLEAR( tmp1 );
12394 free( arg1 );
12395 }
12396 {
12397 cleanup_pltr();
12398 }
12399 {
12401 }
12402 return NULL;
12403}
12404
12405
12406SWIGINTERN PyObject *_wrap_plslabelfunc(PyObject *self, PyObject *args) {
12407 PyObject *resultobj = 0;
12408 label_func arg1 = 0 ;
12409 PLPointer arg2 = 0 ;
12410 int res2 ;
12411 PyObject *swig_obj[2] ;
12412
12413 (void)self;
12414 if (!SWIG_Python_UnpackTuple(args, "plslabelfunc", 2, 2, swig_obj)) SWIG_fail;
12415 {
12416 // Release reference to previous function if applicable
12417 if ( python_label )
12418 {
12419 Py_CLEAR( python_label );
12420 python_label = 0;
12421 }
12422 // it must be a callable or None
12423 if ( swig_obj[0] == Py_None )
12424 {
12425 arg1 = NULL;
12426 }
12427 else
12428 {
12429 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
12430 {
12431 PyErr_SetString( PyExc_ValueError, "label_func argument must be callable" );
12432 return NULL;
12433 }
12434 // hold a reference to it
12435 Py_XINCREF( (PyObject *) swig_obj[0] );
12436 python_label = (PyObject *) swig_obj[0];
12437 // this function handles calling the python function
12438 arg1 = do_label_callback;
12439 }
12440 }
12441 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, 0);
12442 if (!SWIG_IsOK(res2)) {
12443 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plslabelfunc" "', argument " "2"" of type '" "PLPointer""'");
12444 }
12445 plslabelfunc(arg1,arg2);
12446 resultobj = SWIG_Py_Void();
12447 return resultobj;
12448fail:
12449 return NULL;
12450}
12451
12452
12453SWIGINTERN PyObject *_wrap_plsmaj(PyObject *self, PyObject *args) {
12454 PyObject *resultobj = 0;
12455 PLFLT arg1 ;
12456 PLFLT arg2 ;
12457 double val1 ;
12458 int ecode1 = 0 ;
12459 double val2 ;
12460 int ecode2 = 0 ;
12461 PyObject *swig_obj[2] ;
12462
12463 (void)self;
12464 if (!SWIG_Python_UnpackTuple(args, "plsmaj", 2, 2, swig_obj)) SWIG_fail;
12465 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
12466 if (!SWIG_IsOK(ecode1)) {
12467 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmaj" "', argument " "1"" of type '" "PLFLT""'");
12468 }
12469 arg1 = (PLFLT)(val1);
12470 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
12471 if (!SWIG_IsOK(ecode2)) {
12472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmaj" "', argument " "2"" of type '" "PLFLT""'");
12473 }
12474 arg2 = (PLFLT)(val2);
12475 plsmaj(arg1,arg2);
12476 resultobj = SWIG_Py_Void();
12477 return resultobj;
12478fail:
12479 return NULL;
12480}
12481
12482
12483SWIGINTERN PyObject *_wrap_plsmem(PyObject *self, PyObject *args) {
12484 PyObject *resultobj = 0;
12485 PLINT arg1 ;
12486 PLINT arg2 ;
12487 void *arg3 = 0 ;
12488 int val1 ;
12489 int ecode1 = 0 ;
12490 int val2 ;
12491 int ecode2 = 0 ;
12492 PyObject *swig_obj[3] ;
12493
12494 (void)self;
12495 if (!SWIG_Python_UnpackTuple(args, "plsmem", 3, 3, swig_obj)) SWIG_fail;
12496 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12497 if (!SWIG_IsOK(ecode1)) {
12498 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmem" "', argument " "1"" of type '" "PLINT""'");
12499 }
12500 arg1 = (PLINT)(val1);
12501 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12502 if (!SWIG_IsOK(ecode2)) {
12503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmem" "', argument " "2"" of type '" "PLINT""'");
12504 }
12505 arg2 = (PLINT)(val2);
12506 {
12507 int res; void *buf = 0;
12508#if !defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL)
12509 Py_buffer view;
12510 res = PyObject_GetBuffer(swig_obj[2], &view, PyBUF_WRITABLE);
12511#else
12512#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12513#pragma GCC diagnostic push
12514#pragma GCC diagnostic ignored "-Wdeprecated"
12515#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
12516#elif defined(_MSC_VER)
12517#pragma warning(push)
12518#pragma warning(disable: 4996)
12519#endif
12520 Py_ssize_t size;
12521 res = PyObject_AsWriteBuffer(swig_obj[2], &buf, &size);
12522#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12523#pragma GCC diagnostic pop
12524#elif defined(_MSC_VER)
12525#pragma warning(pop)
12526#endif
12527#endif
12528 if (res < 0) {
12529 PyErr_Clear();
12530 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "plsmem" "', argument " "3"" of type '" "(void * plotmem)""'");
12531 }
12532#if !defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL)
12533 buf = view.buf;
12534 PyBuffer_Release(&view);
12535#endif
12536 arg3 = (void *) buf;
12537 }
12538 plsmem(arg1,arg2,arg3);
12539 resultobj = SWIG_Py_Void();
12540 return resultobj;
12541fail:
12542 return NULL;
12543}
12544
12545
12546SWIGINTERN PyObject *_wrap_plsmema(PyObject *self, PyObject *args) {
12547 PyObject *resultobj = 0;
12548 PLINT arg1 ;
12549 PLINT arg2 ;
12550 void *arg3 = 0 ;
12551 int val1 ;
12552 int ecode1 = 0 ;
12553 int val2 ;
12554 int ecode2 = 0 ;
12555 PyObject *swig_obj[3] ;
12556
12557 (void)self;
12558 if (!SWIG_Python_UnpackTuple(args, "plsmema", 3, 3, swig_obj)) SWIG_fail;
12559 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12560 if (!SWIG_IsOK(ecode1)) {
12561 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmema" "', argument " "1"" of type '" "PLINT""'");
12562 }
12563 arg1 = (PLINT)(val1);
12564 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12565 if (!SWIG_IsOK(ecode2)) {
12566 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmema" "', argument " "2"" of type '" "PLINT""'");
12567 }
12568 arg2 = (PLINT)(val2);
12569 {
12570 int res; void *buf = 0;
12571#if !defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL)
12572 Py_buffer view;
12573 res = PyObject_GetBuffer(swig_obj[2], &view, PyBUF_WRITABLE);
12574#else
12575#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12576#pragma GCC diagnostic push
12577#pragma GCC diagnostic ignored "-Wdeprecated"
12578#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
12579#elif defined(_MSC_VER)
12580#pragma warning(push)
12581#pragma warning(disable: 4996)
12582#endif
12583 Py_ssize_t size;
12584 res = PyObject_AsWriteBuffer(swig_obj[2], &buf, &size);
12585#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12586#pragma GCC diagnostic pop
12587#elif defined(_MSC_VER)
12588#pragma warning(pop)
12589#endif
12590#endif
12591 if (res < 0) {
12592 PyErr_Clear();
12593 SWIG_exception_fail(SWIG_ArgError(res), "in method '" "plsmema" "', argument " "3"" of type '" "(void * plotmem)""'");
12594 }
12595#if !defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL)
12596 buf = view.buf;
12597 PyBuffer_Release(&view);
12598#endif
12599 arg3 = (void *) buf;
12600 }
12601 plsmema(arg1,arg2,arg3);
12602 resultobj = SWIG_Py_Void();
12603 return resultobj;
12604fail:
12605 return NULL;
12606}
12607
12608
12609SWIGINTERN PyObject *_wrap_plsmin(PyObject *self, PyObject *args) {
12610 PyObject *resultobj = 0;
12611 PLFLT arg1 ;
12612 PLFLT arg2 ;
12613 double val1 ;
12614 int ecode1 = 0 ;
12615 double val2 ;
12616 int ecode2 = 0 ;
12617 PyObject *swig_obj[2] ;
12618
12619 (void)self;
12620 if (!SWIG_Python_UnpackTuple(args, "plsmin", 2, 2, swig_obj)) SWIG_fail;
12621 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
12622 if (!SWIG_IsOK(ecode1)) {
12623 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmin" "', argument " "1"" of type '" "PLFLT""'");
12624 }
12625 arg1 = (PLFLT)(val1);
12626 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
12627 if (!SWIG_IsOK(ecode2)) {
12628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmin" "', argument " "2"" of type '" "PLFLT""'");
12629 }
12630 arg2 = (PLFLT)(val2);
12631 plsmin(arg1,arg2);
12632 resultobj = SWIG_Py_Void();
12633 return resultobj;
12634fail:
12635 return NULL;
12636}
12637
12638
12639SWIGINTERN PyObject *_wrap_plsori(PyObject *self, PyObject *args) {
12640 PyObject *resultobj = 0;
12641 PLINT arg1 ;
12642 int val1 ;
12643 int ecode1 = 0 ;
12644 PyObject *swig_obj[1] ;
12645
12646 (void)self;
12647 if (!args) SWIG_fail;
12648 swig_obj[0] = args;
12649 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12650 if (!SWIG_IsOK(ecode1)) {
12651 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsori" "', argument " "1"" of type '" "PLINT""'");
12652 }
12653 arg1 = (PLINT)(val1);
12654 plsori(arg1);
12655 resultobj = SWIG_Py_Void();
12656 return resultobj;
12657fail:
12658 return NULL;
12659}
12660
12661
12662SWIGINTERN PyObject *_wrap_plspage(PyObject *self, PyObject *args) {
12663 PyObject *resultobj = 0;
12664 PLFLT arg1 ;
12665 PLFLT arg2 ;
12666 PLINT arg3 ;
12667 PLINT arg4 ;
12668 PLINT arg5 ;
12669 PLINT arg6 ;
12670 double val1 ;
12671 int ecode1 = 0 ;
12672 double val2 ;
12673 int ecode2 = 0 ;
12674 int val3 ;
12675 int ecode3 = 0 ;
12676 int val4 ;
12677 int ecode4 = 0 ;
12678 int val5 ;
12679 int ecode5 = 0 ;
12680 int val6 ;
12681 int ecode6 = 0 ;
12682 PyObject *swig_obj[6] ;
12683
12684 (void)self;
12685 if (!SWIG_Python_UnpackTuple(args, "plspage", 6, 6, swig_obj)) SWIG_fail;
12686 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
12687 if (!SWIG_IsOK(ecode1)) {
12688 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plspage" "', argument " "1"" of type '" "PLFLT""'");
12689 }
12690 arg1 = (PLFLT)(val1);
12691 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
12692 if (!SWIG_IsOK(ecode2)) {
12693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plspage" "', argument " "2"" of type '" "PLFLT""'");
12694 }
12695 arg2 = (PLFLT)(val2);
12696 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
12697 if (!SWIG_IsOK(ecode3)) {
12698 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plspage" "', argument " "3"" of type '" "PLINT""'");
12699 }
12700 arg3 = (PLINT)(val3);
12701 ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
12702 if (!SWIG_IsOK(ecode4)) {
12703 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plspage" "', argument " "4"" of type '" "PLINT""'");
12704 }
12705 arg4 = (PLINT)(val4);
12706 ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
12707 if (!SWIG_IsOK(ecode5)) {
12708 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plspage" "', argument " "5"" of type '" "PLINT""'");
12709 }
12710 arg5 = (PLINT)(val5);
12711 ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
12712 if (!SWIG_IsOK(ecode6)) {
12713 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plspage" "', argument " "6"" of type '" "PLINT""'");
12714 }
12715 arg6 = (PLINT)(val6);
12716 plspage(arg1,arg2,arg3,arg4,arg5,arg6);
12717 resultobj = SWIG_Py_Void();
12718 return resultobj;
12719fail:
12720 return NULL;
12721}
12722
12723
12724SWIGINTERN PyObject *_wrap_plspal0(PyObject *self, PyObject *args) {
12725 PyObject *resultobj = 0;
12726 char *arg1 = 0 ;
12727 int res1 ;
12728 char *buf1 = 0 ;
12729 int alloc1 = 0 ;
12730 PyObject *swig_obj[1] ;
12731
12732 (void)self;
12733 if (!args) SWIG_fail;
12734 swig_obj[0] = args;
12735 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
12736 if (!SWIG_IsOK(res1)) {
12737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plspal0" "', argument " "1"" of type '" "char const *""'");
12738 }
12739 arg1 = (char *)(buf1);
12740 plspal0((char const *)arg1);
12741 resultobj = SWIG_Py_Void();
12742 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12743 return resultobj;
12744fail:
12745 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12746 return NULL;
12747}
12748
12749
12750SWIGINTERN PyObject *_wrap_plspal1(PyObject *self, PyObject *args) {
12751 PyObject *resultobj = 0;
12752 char *arg1 = 0 ;
12753 PLBOOL arg2 ;
12754 int res1 ;
12755 char *buf1 = 0 ;
12756 int alloc1 = 0 ;
12757 int val2 ;
12758 int ecode2 = 0 ;
12759 PyObject *swig_obj[2] ;
12760
12761 (void)self;
12762 if (!SWIG_Python_UnpackTuple(args, "plspal1", 2, 2, swig_obj)) SWIG_fail;
12763 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
12764 if (!SWIG_IsOK(res1)) {
12765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plspal1" "', argument " "1"" of type '" "char const *""'");
12766 }
12767 arg1 = (char *)(buf1);
12768 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12769 if (!SWIG_IsOK(ecode2)) {
12770 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plspal1" "', argument " "2"" of type '" "PLBOOL""'");
12771 }
12772 arg2 = (PLBOOL)(val2);
12773 plspal1((char const *)arg1,arg2);
12774 resultobj = SWIG_Py_Void();
12775 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12776 return resultobj;
12777fail:
12778 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12779 return NULL;
12780}
12781
12782
12783SWIGINTERN PyObject *_wrap_plspause(PyObject *self, PyObject *args) {
12784 PyObject *resultobj = 0;
12785 PLBOOL arg1 ;
12786 int val1 ;
12787 int ecode1 = 0 ;
12788 PyObject *swig_obj[1] ;
12789
12790 (void)self;
12791 if (!args) SWIG_fail;
12792 swig_obj[0] = args;
12793 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12794 if (!SWIG_IsOK(ecode1)) {
12795 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plspause" "', argument " "1"" of type '" "PLBOOL""'");
12796 }
12797 arg1 = (PLBOOL)(val1);
12798 plspause(arg1);
12799 resultobj = SWIG_Py_Void();
12800 return resultobj;
12801fail:
12802 return NULL;
12803}
12804
12805
12806SWIGINTERN PyObject *_wrap_plsstrm(PyObject *self, PyObject *args) {
12807 PyObject *resultobj = 0;
12808 PLINT arg1 ;
12809 int val1 ;
12810 int ecode1 = 0 ;
12811 PyObject *swig_obj[1] ;
12812
12813 (void)self;
12814 if (!args) SWIG_fail;
12815 swig_obj[0] = args;
12816 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12817 if (!SWIG_IsOK(ecode1)) {
12818 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsstrm" "', argument " "1"" of type '" "PLINT""'");
12819 }
12820 arg1 = (PLINT)(val1);
12821 plsstrm(arg1);
12822 resultobj = SWIG_Py_Void();
12823 return resultobj;
12824fail:
12825 return NULL;
12826}
12827
12828
12829SWIGINTERN PyObject *_wrap_plssub(PyObject *self, PyObject *args) {
12830 PyObject *resultobj = 0;
12831 PLINT arg1 ;
12832 PLINT arg2 ;
12833 int val1 ;
12834 int ecode1 = 0 ;
12835 int val2 ;
12836 int ecode2 = 0 ;
12837 PyObject *swig_obj[2] ;
12838
12839 (void)self;
12840 if (!SWIG_Python_UnpackTuple(args, "plssub", 2, 2, swig_obj)) SWIG_fail;
12841 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12842 if (!SWIG_IsOK(ecode1)) {
12843 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plssub" "', argument " "1"" of type '" "PLINT""'");
12844 }
12845 arg1 = (PLINT)(val1);
12846 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12847 if (!SWIG_IsOK(ecode2)) {
12848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plssub" "', argument " "2"" of type '" "PLINT""'");
12849 }
12850 arg2 = (PLINT)(val2);
12851 plssub(arg1,arg2);
12852 resultobj = SWIG_Py_Void();
12853 return resultobj;
12854fail:
12855 return NULL;
12856}
12857
12858
12859SWIGINTERN PyObject *_wrap_plssym(PyObject *self, PyObject *args) {
12860 PyObject *resultobj = 0;
12861 PLFLT arg1 ;
12862 PLFLT arg2 ;
12863 double val1 ;
12864 int ecode1 = 0 ;
12865 double val2 ;
12866 int ecode2 = 0 ;
12867 PyObject *swig_obj[2] ;
12868
12869 (void)self;
12870 if (!SWIG_Python_UnpackTuple(args, "plssym", 2, 2, swig_obj)) SWIG_fail;
12871 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
12872 if (!SWIG_IsOK(ecode1)) {
12873 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plssym" "', argument " "1"" of type '" "PLFLT""'");
12874 }
12875 arg1 = (PLFLT)(val1);
12876 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
12877 if (!SWIG_IsOK(ecode2)) {
12878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plssym" "', argument " "2"" of type '" "PLFLT""'");
12879 }
12880 arg2 = (PLFLT)(val2);
12881 plssym(arg1,arg2);
12882 resultobj = SWIG_Py_Void();
12883 return resultobj;
12884fail:
12885 return NULL;
12886}
12887
12888
12889SWIGINTERN PyObject *_wrap_plstar(PyObject *self, PyObject *args) {
12890 PyObject *resultobj = 0;
12891 PLINT arg1 ;
12892 PLINT arg2 ;
12893 int val1 ;
12894 int ecode1 = 0 ;
12895 int val2 ;
12896 int ecode2 = 0 ;
12897 PyObject *swig_obj[2] ;
12898
12899 (void)self;
12900 if (!SWIG_Python_UnpackTuple(args, "plstar", 2, 2, swig_obj)) SWIG_fail;
12901 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
12902 if (!SWIG_IsOK(ecode1)) {
12903 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plstar" "', argument " "1"" of type '" "PLINT""'");
12904 }
12905 arg1 = (PLINT)(val1);
12906 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12907 if (!SWIG_IsOK(ecode2)) {
12908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plstar" "', argument " "2"" of type '" "PLINT""'");
12909 }
12910 arg2 = (PLINT)(val2);
12911 plstar(arg1,arg2);
12912 resultobj = SWIG_Py_Void();
12913 return resultobj;
12914fail:
12915 return NULL;
12916}
12917
12918
12919SWIGINTERN PyObject *_wrap_plstart(PyObject *self, PyObject *args) {
12920 PyObject *resultobj = 0;
12921 char *arg1 = 0 ;
12922 PLINT arg2 ;
12923 PLINT arg3 ;
12924 int res1 ;
12925 char *buf1 = 0 ;
12926 int alloc1 = 0 ;
12927 int val2 ;
12928 int ecode2 = 0 ;
12929 int val3 ;
12930 int ecode3 = 0 ;
12931 PyObject *swig_obj[3] ;
12932
12933 (void)self;
12934 if (!SWIG_Python_UnpackTuple(args, "plstart", 3, 3, swig_obj)) SWIG_fail;
12935 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
12936 if (!SWIG_IsOK(res1)) {
12937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plstart" "', argument " "1"" of type '" "char const *""'");
12938 }
12939 arg1 = (char *)(buf1);
12940 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12941 if (!SWIG_IsOK(ecode2)) {
12942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plstart" "', argument " "2"" of type '" "PLINT""'");
12943 }
12944 arg2 = (PLINT)(val2);
12945 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
12946 if (!SWIG_IsOK(ecode3)) {
12947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plstart" "', argument " "3"" of type '" "PLINT""'");
12948 }
12949 arg3 = (PLINT)(val3);
12950 plstart((char const *)arg1,arg2,arg3);
12951 resultobj = SWIG_Py_Void();
12952 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12953 return resultobj;
12954fail:
12955 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
12956 return NULL;
12957}
12958
12959
12960SWIGINTERN PyObject *_wrap_plstransform(PyObject *self, PyObject *args) {
12961 PyObject *resultobj = 0;
12962 ct_func arg1 = 0 ;
12963 PLPointer arg2 = 0 ;
12964 int res2 ;
12965 PyObject *swig_obj[2] ;
12966
12967 {
12968 python_ct = 0;
12969 arg1 = NULL;
12970 }
12971 (void)self;
12972 if (!SWIG_Python_UnpackTuple(args, "plstransform", 0, 2, swig_obj)) SWIG_fail;
12973 if (swig_obj[0]) {
12974 {
12975 if ( python_ct )
12976 cleanup_ct();
12977 // it must be a callable or none
12978 if ( swig_obj[0] == Py_None )
12979 {
12980 arg1 = NULL;
12981 }
12982 else
12983 {
12984 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
12985 {
12986 PyErr_SetString( PyExc_ValueError, "coordinate transform argument must be callable" );
12987 return NULL;
12988 }
12989 arg1 = marshal_ct( swig_obj[0] );
12990 }
12991 }
12992 }
12993 if (swig_obj[1]) {
12994 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, 0);
12995 if (!SWIG_IsOK(res2)) {
12996 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plstransform" "', argument " "2"" of type '" "PLPointer""'");
12997 }
12998 }
12999 plstransform(arg1,arg2);
13000 resultobj = SWIG_Py_Void();
13001 return resultobj;
13002fail:
13003 return NULL;
13004}
13005
13006
13007SWIGINTERN PyObject *_wrap_plstring(PyObject *self, PyObject *args) {
13008 PyObject *resultobj = 0;
13009 PLINT arg1 ;
13010 PLFLT *arg2 = 0 ;
13011 PLFLT *arg3 = 0 ;
13012 char *arg4 = 0 ;
13013 PyArrayObject *tmp1 = NULL ;
13014 PyArrayObject *tmp3 = NULL ;
13015 int res4 ;
13016 char *buf4 = 0 ;
13017 int alloc4 = 0 ;
13018 PyObject *swig_obj[3] ;
13019
13020 (void)self;
13021 if (!SWIG_Python_UnpackTuple(args, "plstring", 3, 3, swig_obj)) SWIG_fail;
13022 {
13023 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
13024 if ( tmp1 == NULL )
13025 return NULL;
13026 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13027 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
13028 }
13029 {
13030 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
13031 if ( tmp3 == NULL )
13032 return NULL;
13033 if ( PyArray_DIMS( tmp3 )[0] != Alen )
13034 {
13035 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13036 return NULL;
13037 }
13038 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
13039 }
13040 res4 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf4, NULL, &alloc4);
13041 if (!SWIG_IsOK(res4)) {
13042 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "plstring" "', argument " "4"" of type '" "char const *""'");
13043 }
13044 arg4 = (char *)(buf4);
13045 plstring(arg1,(double const *)arg2,(double const *)arg3,(char const *)arg4);
13046 resultobj = SWIG_Py_Void();
13047 {
13048 Py_CLEAR( tmp1 );
13049 }
13050 {
13051 Py_CLEAR( tmp3 );
13052 }
13053 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
13054 return resultobj;
13055fail:
13056 {
13057 Py_CLEAR( tmp1 );
13058 }
13059 {
13060 Py_CLEAR( tmp3 );
13061 }
13062 if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
13063 return NULL;
13064}
13065
13066
13067SWIGINTERN PyObject *_wrap_plstring3(PyObject *self, PyObject *args) {
13068 PyObject *resultobj = 0;
13069 PLINT arg1 ;
13070 PLFLT *arg2 = 0 ;
13071 PLFLT *arg3 = 0 ;
13072 PLFLT *arg4 = 0 ;
13073 char *arg5 = 0 ;
13074 PyArrayObject *tmp1 = NULL ;
13075 PyArrayObject *tmp3 = NULL ;
13076 PyArrayObject *tmp4 = NULL ;
13077 int res5 ;
13078 char *buf5 = 0 ;
13079 int alloc5 = 0 ;
13080 PyObject *swig_obj[4] ;
13081
13082 (void)self;
13083 if (!SWIG_Python_UnpackTuple(args, "plstring3", 4, 4, swig_obj)) SWIG_fail;
13084 {
13085 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
13086 if ( tmp1 == NULL )
13087 return NULL;
13088 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13089 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
13090 }
13091 {
13092 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
13093 if ( tmp3 == NULL )
13094 return NULL;
13095 if ( PyArray_DIMS( tmp3 )[0] != Alen )
13096 {
13097 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13098 return NULL;
13099 }
13100 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
13101 }
13102 {
13103 tmp4 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[2], NPY_PLFLT, 1, 1 );
13104 if ( tmp4 == NULL )
13105 return NULL;
13106 if ( PyArray_DIMS( tmp4 )[0] != Alen )
13107 {
13108 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13109 return NULL;
13110 }
13111 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
13112 }
13113 res5 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf5, NULL, &alloc5);
13114 if (!SWIG_IsOK(res5)) {
13115 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plstring3" "', argument " "5"" of type '" "char const *""'");
13116 }
13117 arg5 = (char *)(buf5);
13118 plstring3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4,(char const *)arg5);
13119 resultobj = SWIG_Py_Void();
13120 {
13121 Py_CLEAR( tmp1 );
13122 }
13123 {
13124 Py_CLEAR( tmp3 );
13125 }
13126 {
13127 Py_CLEAR( tmp4 );
13128 }
13129 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
13130 return resultobj;
13131fail:
13132 {
13133 Py_CLEAR( tmp1 );
13134 }
13135 {
13136 Py_CLEAR( tmp3 );
13137 }
13138 {
13139 Py_CLEAR( tmp4 );
13140 }
13141 if (alloc5 == SWIG_NEWOBJ) free((char*)buf5);
13142 return NULL;
13143}
13144
13145
13146SWIGINTERN PyObject *_wrap_plstripa(PyObject *self, PyObject *args) {
13147 PyObject *resultobj = 0;
13148 PLINT arg1 ;
13149 PLINT arg2 ;
13150 PLFLT arg3 ;
13151 PLFLT arg4 ;
13152 int val1 ;
13153 int ecode1 = 0 ;
13154 int val2 ;
13155 int ecode2 = 0 ;
13156 double val3 ;
13157 int ecode3 = 0 ;
13158 double val4 ;
13159 int ecode4 = 0 ;
13160 PyObject *swig_obj[4] ;
13161
13162 (void)self;
13163 if (!SWIG_Python_UnpackTuple(args, "plstripa", 4, 4, swig_obj)) SWIG_fail;
13164 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13165 if (!SWIG_IsOK(ecode1)) {
13166 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plstripa" "', argument " "1"" of type '" "PLINT""'");
13167 }
13168 arg1 = (PLINT)(val1);
13169 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13170 if (!SWIG_IsOK(ecode2)) {
13171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plstripa" "', argument " "2"" of type '" "PLINT""'");
13172 }
13173 arg2 = (PLINT)(val2);
13174 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
13175 if (!SWIG_IsOK(ecode3)) {
13176 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plstripa" "', argument " "3"" of type '" "PLFLT""'");
13177 }
13178 arg3 = (PLFLT)(val3);
13179 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
13180 if (!SWIG_IsOK(ecode4)) {
13181 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plstripa" "', argument " "4"" of type '" "PLFLT""'");
13182 }
13183 arg4 = (PLFLT)(val4);
13184 plstripa(arg1,arg2,arg3,arg4);
13185 resultobj = SWIG_Py_Void();
13186 return resultobj;
13187fail:
13188 return NULL;
13189}
13190
13191
13192SWIGINTERN PyObject *_wrap_plstripc(PyObject *self, PyObject *args) {
13193 PyObject *resultobj = 0;
13194 PLINT *arg1 = 0 ;
13195 char *arg2 = 0 ;
13196 char *arg3 = 0 ;
13197 PLFLT arg4 ;
13198 PLFLT arg5 ;
13199 PLFLT arg6 ;
13200 PLFLT arg7 ;
13201 PLFLT arg8 ;
13202 PLFLT arg9 ;
13203 PLFLT arg10 ;
13204 PLBOOL arg11 ;
13205 PLBOOL arg12 ;
13206 PLINT arg13 ;
13207 PLINT arg14 ;
13208 PLINT *arg15 = 0 ;
13209 PLINT *arg16 = 0 ;
13210 char **arg17 = (char **)0 ;
13211 char *arg18 = 0 ;
13212 char *arg19 = 0 ;
13213 char *arg20 = 0 ;
13214 PLINT temp1 ;
13215 int res1 = SWIG_TMPOBJ ;
13216 int res2 ;
13217 char *buf2 = 0 ;
13218 int alloc2 = 0 ;
13219 int res3 ;
13220 char *buf3 = 0 ;
13221 int alloc3 = 0 ;
13222 double val4 ;
13223 int ecode4 = 0 ;
13224 double val5 ;
13225 int ecode5 = 0 ;
13226 double val6 ;
13227 int ecode6 = 0 ;
13228 double val7 ;
13229 int ecode7 = 0 ;
13230 double val8 ;
13231 int ecode8 = 0 ;
13232 double val9 ;
13233 int ecode9 = 0 ;
13234 double val10 ;
13235 int ecode10 = 0 ;
13236 int val11 ;
13237 int ecode11 = 0 ;
13238 int val12 ;
13239 int ecode12 = 0 ;
13240 int val13 ;
13241 int ecode13 = 0 ;
13242 int val14 ;
13243 int ecode14 = 0 ;
13244 PyArrayObject *tmp15 = NULL ;
13245 PyArrayObject *tmp16 = NULL ;
13246 char **tmp17 = NULL ;
13247 int res18 ;
13248 char *buf18 = 0 ;
13249 int alloc18 = 0 ;
13250 int res19 ;
13251 char *buf19 = 0 ;
13252 int alloc19 = 0 ;
13253 int res20 ;
13254 char *buf20 = 0 ;
13255 int alloc20 = 0 ;
13256 PyObject *swig_obj[19] ;
13257
13258 arg1 = &temp1;
13259 (void)self;
13260 if (!SWIG_Python_UnpackTuple(args, "plstripc", 19, 19, swig_obj)) SWIG_fail;
13261 res2 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf2, NULL, &alloc2);
13262 if (!SWIG_IsOK(res2)) {
13263 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plstripc" "', argument " "2"" of type '" "char const *""'");
13264 }
13265 arg2 = (char *)(buf2);
13266 res3 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf3, NULL, &alloc3);
13267 if (!SWIG_IsOK(res3)) {
13268 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "plstripc" "', argument " "3"" of type '" "char const *""'");
13269 }
13270 arg3 = (char *)(buf3);
13271 ecode4 = SWIG_AsVal_double(swig_obj[2], &val4);
13272 if (!SWIG_IsOK(ecode4)) {
13273 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plstripc" "', argument " "4"" of type '" "PLFLT""'");
13274 }
13275 arg4 = (PLFLT)(val4);
13276 ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
13277 if (!SWIG_IsOK(ecode5)) {
13278 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plstripc" "', argument " "5"" of type '" "PLFLT""'");
13279 }
13280 arg5 = (PLFLT)(val5);
13281 ecode6 = SWIG_AsVal_double(swig_obj[4], &val6);
13282 if (!SWIG_IsOK(ecode6)) {
13283 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plstripc" "', argument " "6"" of type '" "PLFLT""'");
13284 }
13285 arg6 = (PLFLT)(val6);
13286 ecode7 = SWIG_AsVal_double(swig_obj[5], &val7);
13287 if (!SWIG_IsOK(ecode7)) {
13288 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plstripc" "', argument " "7"" of type '" "PLFLT""'");
13289 }
13290 arg7 = (PLFLT)(val7);
13291 ecode8 = SWIG_AsVal_double(swig_obj[6], &val8);
13292 if (!SWIG_IsOK(ecode8)) {
13293 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plstripc" "', argument " "8"" of type '" "PLFLT""'");
13294 }
13295 arg8 = (PLFLT)(val8);
13296 ecode9 = SWIG_AsVal_double(swig_obj[7], &val9);
13297 if (!SWIG_IsOK(ecode9)) {
13298 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plstripc" "', argument " "9"" of type '" "PLFLT""'");
13299 }
13300 arg9 = (PLFLT)(val9);
13301 ecode10 = SWIG_AsVal_double(swig_obj[8], &val10);
13302 if (!SWIG_IsOK(ecode10)) {
13303 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plstripc" "', argument " "10"" of type '" "PLFLT""'");
13304 }
13305 arg10 = (PLFLT)(val10);
13306 ecode11 = SWIG_AsVal_int(swig_obj[9], &val11);
13307 if (!SWIG_IsOK(ecode11)) {
13308 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plstripc" "', argument " "11"" of type '" "PLBOOL""'");
13309 }
13310 arg11 = (PLBOOL)(val11);
13311 ecode12 = SWIG_AsVal_int(swig_obj[10], &val12);
13312 if (!SWIG_IsOK(ecode12)) {
13313 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plstripc" "', argument " "12"" of type '" "PLBOOL""'");
13314 }
13315 arg12 = (PLBOOL)(val12);
13316 ecode13 = SWIG_AsVal_int(swig_obj[11], &val13);
13317 if (!SWIG_IsOK(ecode13)) {
13318 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plstripc" "', argument " "13"" of type '" "PLINT""'");
13319 }
13320 arg13 = (PLINT)(val13);
13321 ecode14 = SWIG_AsVal_int(swig_obj[12], &val14);
13322 if (!SWIG_IsOK(ecode14)) {
13323 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plstripc" "', argument " "14"" of type '" "PLINT""'");
13324 }
13325 arg14 = (PLINT)(val14);
13326 {
13327 tmp15 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[13], NPY_PLINT, 1, 1 );
13328 if ( tmp15 == NULL )
13329 return NULL;
13330 Alen = PyArray_DIMS( tmp15 )[0];
13331 arg15 = (PLINT *) PyArray_DATA( tmp15 );
13332 }
13333 {
13334 tmp16 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[14], NPY_PLINT, 1, 1 );
13335 if ( tmp16 == NULL )
13336 return NULL;
13337 if ( PyArray_DIMS( tmp16 )[0] != Alen )
13338 {
13339 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13340 return NULL;
13341 }
13342 arg16 = (PLINT *) PyArray_DATA( tmp16 );
13343 }
13344 {
13345 int i;
13346 PyObject *elt, *unicode_string;
13347
13348 if ( !PySequence_Check( swig_obj[15] ) || PySequence_Size( swig_obj[15] ) != 4 )
13349 {
13350 PyErr_SetString( PyExc_ValueError, "Requires a sequence of 4 strings." );
13351 return NULL;
13352 }
13353 if ( Alen != 4 )
13354 {
13355 PyErr_SetString( PyExc_ValueError, "colline and styline args must be length 4." );
13356 return NULL;
13357 }
13358 tmp17 = (char **) malloc( sizeof ( char* ) * 4 );
13359 if ( tmp17 == NULL )
13360 return NULL;
13361 arg17 = tmp17;
13362 for ( i = 0; i < 4; i++ )
13363 {
13364 arg17[i] = NULL;
13365 elt = PySequence_Fast_GET_ITEM( swig_obj[15], i );
13366 if ( PyBytes_Check( elt ) )
13367 {
13368 arg17[i] = PyBytes_AsString( elt );
13369 }
13370 else if ( PyUnicode_Check( elt ) )
13371 {
13372 unicode_string = PyUnicode_AsEncodedString( elt, "utf-8", "Error ~" );
13373 arg17[i] = PyBytes_AS_STRING( unicode_string );
13374 }
13375 if ( arg17[i] == NULL )
13376 {
13377 free( tmp17 );
13378 return NULL;
13379 }
13380 }
13381 }
13382 res18 = SWIG_AsCharPtrAndSize(swig_obj[16], &buf18, NULL, &alloc18);
13383 if (!SWIG_IsOK(res18)) {
13384 SWIG_exception_fail(SWIG_ArgError(res18), "in method '" "plstripc" "', argument " "18"" of type '" "char const *""'");
13385 }
13386 arg18 = (char *)(buf18);
13387 res19 = SWIG_AsCharPtrAndSize(swig_obj[17], &buf19, NULL, &alloc19);
13388 if (!SWIG_IsOK(res19)) {
13389 SWIG_exception_fail(SWIG_ArgError(res19), "in method '" "plstripc" "', argument " "19"" of type '" "char const *""'");
13390 }
13391 arg19 = (char *)(buf19);
13392 res20 = SWIG_AsCharPtrAndSize(swig_obj[18], &buf20, NULL, &alloc20);
13393 if (!SWIG_IsOK(res20)) {
13394 SWIG_exception_fail(SWIG_ArgError(res20), "in method '" "plstripc" "', argument " "20"" of type '" "char const *""'");
13395 }
13396 arg20 = (char *)(buf20);
13397 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);
13398 resultobj = SWIG_Py_Void();
13399 if (SWIG_IsTmpObj(res1)) {
13400 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg1)), 1);
13401 } else {
13402 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13403 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags), 1);
13404 }
13405 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13406 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13407 {
13408 Py_CLEAR( tmp15 );
13409 }
13410 {
13411 Py_CLEAR( tmp16 );
13412 }
13413 {
13414 free( tmp17 );
13415 }
13416 if (alloc18 == SWIG_NEWOBJ) free((char*)buf18);
13417 if (alloc19 == SWIG_NEWOBJ) free((char*)buf19);
13418 if (alloc20 == SWIG_NEWOBJ) free((char*)buf20);
13419 return resultobj;
13420fail:
13421 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
13422 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
13423 {
13424 Py_CLEAR( tmp15 );
13425 }
13426 {
13427 Py_CLEAR( tmp16 );
13428 }
13429 {
13430 free( tmp17 );
13431 }
13432 if (alloc18 == SWIG_NEWOBJ) free((char*)buf18);
13433 if (alloc19 == SWIG_NEWOBJ) free((char*)buf19);
13434 if (alloc20 == SWIG_NEWOBJ) free((char*)buf20);
13435 return NULL;
13436}
13437
13438
13439SWIGINTERN PyObject *_wrap_plstripd(PyObject *self, PyObject *args) {
13440 PyObject *resultobj = 0;
13441 PLINT arg1 ;
13442 int val1 ;
13443 int ecode1 = 0 ;
13444 PyObject *swig_obj[1] ;
13445
13446 (void)self;
13447 if (!args) SWIG_fail;
13448 swig_obj[0] = args;
13449 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13450 if (!SWIG_IsOK(ecode1)) {
13451 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plstripd" "', argument " "1"" of type '" "PLINT""'");
13452 }
13453 arg1 = (PLINT)(val1);
13454 plstripd(arg1);
13455 resultobj = SWIG_Py_Void();
13456 return resultobj;
13457fail:
13458 return NULL;
13459}
13460
13461
13462SWIGINTERN PyObject *_wrap_plstyl(PyObject *self, PyObject *args) {
13463 PyObject *resultobj = 0;
13464 PLINT arg1 ;
13465 PLINT *arg2 = 0 ;
13466 PLINT *arg3 = 0 ;
13467 PyArrayObject *tmp1 = NULL ;
13468 PyArrayObject *tmp3 = NULL ;
13469 PyObject *swig_obj[2] ;
13470
13471 (void)self;
13472 if (!SWIG_Python_UnpackTuple(args, "plstyl", 2, 2, swig_obj)) SWIG_fail;
13473 {
13474 tmp1 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[0], NPY_PLINT, 1, 1 );
13475 if ( tmp1 == NULL )
13476 return NULL;
13477 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13478 arg2 = (PLINT *) PyArray_DATA( tmp1 );
13479 }
13480 {
13481 tmp3 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[1], NPY_PLINT, 1, 1 );
13482 if ( tmp3 == NULL )
13483 return NULL;
13484 if ( PyArray_DIMS( tmp3 )[0] != Alen )
13485 {
13486 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13487 return NULL;
13488 }
13489 arg3 = (PLINT *) PyArray_DATA( tmp3 );
13490 }
13491 plstyl(arg1,(int const *)arg2,(int const *)arg3);
13492 resultobj = SWIG_Py_Void();
13493 {
13494 Py_CLEAR( tmp1 );
13495 }
13496 {
13497 Py_CLEAR( tmp3 );
13498 }
13499 return resultobj;
13500fail:
13501 {
13502 Py_CLEAR( tmp1 );
13503 }
13504 {
13505 Py_CLEAR( tmp3 );
13506 }
13507 return NULL;
13508}
13509
13510
13511SWIGINTERN PyObject *_wrap_plsvect(PyObject *self, PyObject *args) {
13512 PyObject *resultobj = 0;
13513 PLFLT *arg1 = 0 ;
13514 PLFLT *arg2 = 0 ;
13515 PLINT arg3 ;
13516 PLBOOL arg4 ;
13517 PyArrayObject *tmp1 = NULL ;
13518 PyArrayObject *tmp2 = NULL ;
13519 int val4 ;
13520 int ecode4 = 0 ;
13521 PyObject *swig_obj[3] ;
13522
13523 (void)self;
13524 if (!SWIG_Python_UnpackTuple(args, "plsvect", 3, 3, swig_obj)) SWIG_fail;
13525 {
13526 if ( swig_obj[0] != Py_None )
13527 {
13528 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
13529 if ( tmp1 == NULL )
13530 return NULL;
13531 Alen = PyArray_DIMS( tmp1 )[0];
13532 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
13533 }
13534 else
13535 {
13536 arg1 = NULL;
13537 Alen = 0;
13538 }
13539 }
13540 {
13541 if ( swig_obj[1] != Py_None )
13542 {
13543 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
13544 if ( tmp2 == NULL )
13545 return NULL;
13546 if ( PyArray_DIMS( tmp2 )[0] != Alen )
13547 {
13548 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13549 return NULL;
13550 }
13551 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
13552 arg3 = PyArray_DIMS( tmp2 )[0];
13553 }
13554 else
13555 {
13556 arg2 = NULL;
13557 arg3 = 0;
13558 }
13559 }
13560 ecode4 = SWIG_AsVal_int(swig_obj[2], &val4);
13561 if (!SWIG_IsOK(ecode4)) {
13562 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsvect" "', argument " "4"" of type '" "PLBOOL""'");
13563 }
13564 arg4 = (PLBOOL)(val4);
13565 plsvect((double const *)arg1,(double const *)arg2,arg3,arg4);
13566 resultobj = SWIG_Py_Void();
13567 {
13568 Py_CLEAR( tmp1 );
13569 }
13570 {
13571 Py_CLEAR( tmp2 );
13572 }
13573 return resultobj;
13574fail:
13575 {
13576 Py_CLEAR( tmp1 );
13577 }
13578 {
13579 Py_CLEAR( tmp2 );
13580 }
13581 return NULL;
13582}
13583
13584
13585SWIGINTERN PyObject *_wrap_plsvpa(PyObject *self, PyObject *args) {
13586 PyObject *resultobj = 0;
13587 PLFLT arg1 ;
13588 PLFLT arg2 ;
13589 PLFLT arg3 ;
13590 PLFLT arg4 ;
13591 double val1 ;
13592 int ecode1 = 0 ;
13593 double val2 ;
13594 int ecode2 = 0 ;
13595 double val3 ;
13596 int ecode3 = 0 ;
13597 double val4 ;
13598 int ecode4 = 0 ;
13599 PyObject *swig_obj[4] ;
13600
13601 (void)self;
13602 if (!SWIG_Python_UnpackTuple(args, "plsvpa", 4, 4, swig_obj)) SWIG_fail;
13603 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
13604 if (!SWIG_IsOK(ecode1)) {
13605 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsvpa" "', argument " "1"" of type '" "PLFLT""'");
13606 }
13607 arg1 = (PLFLT)(val1);
13608 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
13609 if (!SWIG_IsOK(ecode2)) {
13610 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsvpa" "', argument " "2"" of type '" "PLFLT""'");
13611 }
13612 arg2 = (PLFLT)(val2);
13613 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
13614 if (!SWIG_IsOK(ecode3)) {
13615 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsvpa" "', argument " "3"" of type '" "PLFLT""'");
13616 }
13617 arg3 = (PLFLT)(val3);
13618 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
13619 if (!SWIG_IsOK(ecode4)) {
13620 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsvpa" "', argument " "4"" of type '" "PLFLT""'");
13621 }
13622 arg4 = (PLFLT)(val4);
13623 plsvpa(arg1,arg2,arg3,arg4);
13624 resultobj = SWIG_Py_Void();
13625 return resultobj;
13626fail:
13627 return NULL;
13628}
13629
13630
13631SWIGINTERN PyObject *_wrap_plsxax(PyObject *self, PyObject *args) {
13632 PyObject *resultobj = 0;
13633 PLINT arg1 ;
13634 PLINT arg2 ;
13635 int val1 ;
13636 int ecode1 = 0 ;
13637 int val2 ;
13638 int ecode2 = 0 ;
13639 PyObject *swig_obj[2] ;
13640
13641 (void)self;
13642 if (!SWIG_Python_UnpackTuple(args, "plsxax", 2, 2, swig_obj)) SWIG_fail;
13643 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13644 if (!SWIG_IsOK(ecode1)) {
13645 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsxax" "', argument " "1"" of type '" "PLINT""'");
13646 }
13647 arg1 = (PLINT)(val1);
13648 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13649 if (!SWIG_IsOK(ecode2)) {
13650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsxax" "', argument " "2"" of type '" "PLINT""'");
13651 }
13652 arg2 = (PLINT)(val2);
13653 plsxax(arg1,arg2);
13654 resultobj = SWIG_Py_Void();
13655 return resultobj;
13656fail:
13657 return NULL;
13658}
13659
13660
13661SWIGINTERN PyObject *_wrap_plsyax(PyObject *self, PyObject *args) {
13662 PyObject *resultobj = 0;
13663 PLINT arg1 ;
13664 PLINT arg2 ;
13665 int val1 ;
13666 int ecode1 = 0 ;
13667 int val2 ;
13668 int ecode2 = 0 ;
13669 PyObject *swig_obj[2] ;
13670
13671 (void)self;
13672 if (!SWIG_Python_UnpackTuple(args, "plsyax", 2, 2, swig_obj)) SWIG_fail;
13673 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13674 if (!SWIG_IsOK(ecode1)) {
13675 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsyax" "', argument " "1"" of type '" "PLINT""'");
13676 }
13677 arg1 = (PLINT)(val1);
13678 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13679 if (!SWIG_IsOK(ecode2)) {
13680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsyax" "', argument " "2"" of type '" "PLINT""'");
13681 }
13682 arg2 = (PLINT)(val2);
13683 plsyax(arg1,arg2);
13684 resultobj = SWIG_Py_Void();
13685 return resultobj;
13686fail:
13687 return NULL;
13688}
13689
13690
13691SWIGINTERN PyObject *_wrap_plsym(PyObject *self, PyObject *args) {
13692 PyObject *resultobj = 0;
13693 PLINT arg1 ;
13694 PLFLT *arg2 = 0 ;
13695 PLFLT *arg3 = 0 ;
13696 PLINT arg4 ;
13697 PyArrayObject *tmp1 = NULL ;
13698 PyArrayObject *tmp3 = NULL ;
13699 int val4 ;
13700 int ecode4 = 0 ;
13701 PyObject *swig_obj[3] ;
13702
13703 (void)self;
13704 if (!SWIG_Python_UnpackTuple(args, "plsym", 3, 3, swig_obj)) SWIG_fail;
13705 {
13706 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 1, 1 );
13707 if ( tmp1 == NULL )
13708 return NULL;
13709 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13710 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
13711 }
13712 {
13713 tmp3 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 1, 1 );
13714 if ( tmp3 == NULL )
13715 return NULL;
13716 if ( PyArray_DIMS( tmp3 )[0] != Alen )
13717 {
13718 PyErr_SetString( PyExc_ValueError, "Vectors must be same length." );
13719 return NULL;
13720 }
13721 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
13722 }
13723 ecode4 = SWIG_AsVal_int(swig_obj[2], &val4);
13724 if (!SWIG_IsOK(ecode4)) {
13725 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsym" "', argument " "4"" of type '" "PLINT""'");
13726 }
13727 arg4 = (PLINT)(val4);
13728 plsym(arg1,(double const *)arg2,(double const *)arg3,arg4);
13729 resultobj = SWIG_Py_Void();
13730 {
13731 Py_CLEAR( tmp1 );
13732 }
13733 {
13734 Py_CLEAR( tmp3 );
13735 }
13736 return resultobj;
13737fail:
13738 {
13739 Py_CLEAR( tmp1 );
13740 }
13741 {
13742 Py_CLEAR( tmp3 );
13743 }
13744 return NULL;
13745}
13746
13747
13748SWIGINTERN PyObject *_wrap_plszax(PyObject *self, PyObject *args) {
13749 PyObject *resultobj = 0;
13750 PLINT arg1 ;
13751 PLINT arg2 ;
13752 int val1 ;
13753 int ecode1 = 0 ;
13754 int val2 ;
13755 int ecode2 = 0 ;
13756 PyObject *swig_obj[2] ;
13757
13758 (void)self;
13759 if (!SWIG_Python_UnpackTuple(args, "plszax", 2, 2, swig_obj)) SWIG_fail;
13760 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
13761 if (!SWIG_IsOK(ecode1)) {
13762 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plszax" "', argument " "1"" of type '" "PLINT""'");
13763 }
13764 arg1 = (PLINT)(val1);
13765 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
13766 if (!SWIG_IsOK(ecode2)) {
13767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plszax" "', argument " "2"" of type '" "PLINT""'");
13768 }
13769 arg2 = (PLINT)(val2);
13770 plszax(arg1,arg2);
13771 resultobj = SWIG_Py_Void();
13772 return resultobj;
13773fail:
13774 return NULL;
13775}
13776
13777
13778SWIGINTERN PyObject *_wrap_pltext(PyObject *self, PyObject *args) {
13779 PyObject *resultobj = 0;
13780
13781 (void)self;
13782 if (!SWIG_Python_UnpackTuple(args, "pltext", 0, 0, 0)) SWIG_fail;
13783 pltext();
13784 resultobj = SWIG_Py_Void();
13785 return resultobj;
13786fail:
13787 return NULL;
13788}
13789
13790
13791SWIGINTERN PyObject *_wrap_pltimefmt(PyObject *self, PyObject *args) {
13792 PyObject *resultobj = 0;
13793 char *arg1 = 0 ;
13794 int res1 ;
13795 char *buf1 = 0 ;
13796 int alloc1 = 0 ;
13797 PyObject *swig_obj[1] ;
13798
13799 (void)self;
13800 if (!args) SWIG_fail;
13801 swig_obj[0] = args;
13802 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
13803 if (!SWIG_IsOK(res1)) {
13804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pltimefmt" "', argument " "1"" of type '" "char const *""'");
13805 }
13806 arg1 = (char *)(buf1);
13807 pltimefmt((char const *)arg1);
13808 resultobj = SWIG_Py_Void();
13809 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
13810 return resultobj;
13811fail:
13812 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
13813 return NULL;
13814}
13815
13816
13817SWIGINTERN PyObject *_wrap_plvasp(PyObject *self, PyObject *args) {
13818 PyObject *resultobj = 0;
13819 PLFLT arg1 ;
13820 double val1 ;
13821 int ecode1 = 0 ;
13822 PyObject *swig_obj[1] ;
13823
13824 (void)self;
13825 if (!args) SWIG_fail;
13826 swig_obj[0] = args;
13827 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
13828 if (!SWIG_IsOK(ecode1)) {
13829 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plvasp" "', argument " "1"" of type '" "PLFLT""'");
13830 }
13831 arg1 = (PLFLT)(val1);
13832 plvasp(arg1);
13833 resultobj = SWIG_Py_Void();
13834 return resultobj;
13835fail:
13836 return NULL;
13837}
13838
13839
13840SWIGINTERN PyObject *_wrap_plvect(PyObject *self, PyObject *args) {
13841 PyObject *resultobj = 0;
13842 PLFLT **arg1 = 0 ;
13843 PLFLT **arg2 = 0 ;
13844 PLINT arg3 ;
13845 PLINT arg4 ;
13846 PLFLT arg5 ;
13847 pltr_func arg6 = 0 ;
13848 PLPointer arg7 = 0 ;
13849 PyArrayObject *tmp1 = NULL ;
13850 PyArrayObject *tmp2 = NULL ;
13851 double val5 ;
13852 int ecode5 = 0 ;
13853 PyObject *swig_obj[5] ;
13854
13855 {
13856 python_pltr = 0;
13857 arg6 = NULL;
13858 }
13859 {
13860 arg7 = NULL;
13861 }
13862 (void)self;
13863 if (!SWIG_Python_UnpackTuple(args, "plvect", 3, 5, swig_obj)) SWIG_fail;
13864 {
13865 int i, size;
13866 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
13867 if ( tmp1 == NULL )
13868 return NULL;
13869 Xlen = PyArray_DIMS( tmp1 )[0];
13870 Ylen = PyArray_DIMS( tmp1 )[1];
13871 size = Ylen;
13872 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) Xlen );
13873 for ( i = 0; i < Xlen; i++ )
13874 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
13875 }
13876 {
13877 int i, size;
13878 tmp2 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[1], NPY_PLFLT, 2, 2 );
13879 if ( tmp2 == NULL )
13880 return NULL;
13881 if ( Xlen != PyArray_DIMS( tmp2 )[0] || Ylen != PyArray_DIMS( tmp2 )[1] )
13882 {
13883 PyErr_SetString( PyExc_ValueError, "Vectors must match matrix." );
13884 return NULL;
13885 }
13886 arg3 = PyArray_DIMS( tmp2 )[0];
13887 arg4 = PyArray_DIMS( tmp2 )[1];
13888 size = arg4;
13889 arg2 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg3 );
13890 for ( i = 0; i < arg3; i++ )
13891 arg2[i] = ( (PLFLT *) PyArray_DATA( tmp2 ) + i * size );
13892 }
13893 ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
13894 if (!SWIG_IsOK(ecode5)) {
13895 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plvect" "', argument " "5"" of type '" "PLFLT""'");
13896 }
13897 arg5 = (PLFLT)(val5);
13898 if (swig_obj[3]) {
13899 {
13900 // it must be a callable or None
13901 if ( swig_obj[3] == Py_None )
13902 {
13903 arg6 = NULL;
13904 }
13905 else
13906 {
13907 if ( !PyCallable_Check( (PyObject *) swig_obj[3] ) )
13908 {
13909 PyErr_SetString( PyExc_ValueError, "pltr argument must be callable" );
13910 return NULL;
13911 }
13912 arg6 = marshal_pltr( swig_obj[3] );
13913 }
13914 }
13915 }
13916 if (swig_obj[4]) {
13917 {
13918 if ( swig_obj[4] == Py_None )
13919 arg7 = NULL;
13920 else
13921 {
13922 arg7 = marshal_PLPointer( swig_obj[4], 0 );
13923 }
13924 }
13925 }
13926 plvect((double const **)arg1,(double const **)arg2,arg3,arg4,arg5,arg6,arg7);
13927 resultobj = SWIG_Py_Void();
13928 {
13929 Py_CLEAR( tmp1 );
13930 free( arg1 );
13931 }
13932 {
13933 Py_CLEAR( tmp2 );
13934 free( arg2 );
13935 }
13936 {
13937 cleanup_pltr();
13938 }
13939 {
13941 }
13942 return resultobj;
13943fail:
13944 {
13945 Py_CLEAR( tmp1 );
13946 free( arg1 );
13947 }
13948 {
13949 Py_CLEAR( tmp2 );
13950 free( arg2 );
13951 }
13952 {
13953 cleanup_pltr();
13954 }
13955 {
13957 }
13958 return NULL;
13959}
13960
13961
13962SWIGINTERN PyObject *_wrap_plvpas(PyObject *self, PyObject *args) {
13963 PyObject *resultobj = 0;
13964 PLFLT arg1 ;
13965 PLFLT arg2 ;
13966 PLFLT arg3 ;
13967 PLFLT arg4 ;
13968 PLFLT arg5 ;
13969 double val1 ;
13970 int ecode1 = 0 ;
13971 double val2 ;
13972 int ecode2 = 0 ;
13973 double val3 ;
13974 int ecode3 = 0 ;
13975 double val4 ;
13976 int ecode4 = 0 ;
13977 double val5 ;
13978 int ecode5 = 0 ;
13979 PyObject *swig_obj[5] ;
13980
13981 (void)self;
13982 if (!SWIG_Python_UnpackTuple(args, "plvpas", 5, 5, swig_obj)) SWIG_fail;
13983 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
13984 if (!SWIG_IsOK(ecode1)) {
13985 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plvpas" "', argument " "1"" of type '" "PLFLT""'");
13986 }
13987 arg1 = (PLFLT)(val1);
13988 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
13989 if (!SWIG_IsOK(ecode2)) {
13990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plvpas" "', argument " "2"" of type '" "PLFLT""'");
13991 }
13992 arg2 = (PLFLT)(val2);
13993 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
13994 if (!SWIG_IsOK(ecode3)) {
13995 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plvpas" "', argument " "3"" of type '" "PLFLT""'");
13996 }
13997 arg3 = (PLFLT)(val3);
13998 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
13999 if (!SWIG_IsOK(ecode4)) {
14000 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plvpas" "', argument " "4"" of type '" "PLFLT""'");
14001 }
14002 arg4 = (PLFLT)(val4);
14003 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14004 if (!SWIG_IsOK(ecode5)) {
14005 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plvpas" "', argument " "5"" of type '" "PLFLT""'");
14006 }
14007 arg5 = (PLFLT)(val5);
14008 plvpas(arg1,arg2,arg3,arg4,arg5);
14009 resultobj = SWIG_Py_Void();
14010 return resultobj;
14011fail:
14012 return NULL;
14013}
14014
14015
14016SWIGINTERN PyObject *_wrap_plvpor(PyObject *self, PyObject *args) {
14017 PyObject *resultobj = 0;
14018 PLFLT arg1 ;
14019 PLFLT arg2 ;
14020 PLFLT arg3 ;
14021 PLFLT arg4 ;
14022 double val1 ;
14023 int ecode1 = 0 ;
14024 double val2 ;
14025 int ecode2 = 0 ;
14026 double val3 ;
14027 int ecode3 = 0 ;
14028 double val4 ;
14029 int ecode4 = 0 ;
14030 PyObject *swig_obj[4] ;
14031
14032 (void)self;
14033 if (!SWIG_Python_UnpackTuple(args, "plvpor", 4, 4, swig_obj)) SWIG_fail;
14034 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
14035 if (!SWIG_IsOK(ecode1)) {
14036 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plvpor" "', argument " "1"" of type '" "PLFLT""'");
14037 }
14038 arg1 = (PLFLT)(val1);
14039 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
14040 if (!SWIG_IsOK(ecode2)) {
14041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plvpor" "', argument " "2"" of type '" "PLFLT""'");
14042 }
14043 arg2 = (PLFLT)(val2);
14044 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14045 if (!SWIG_IsOK(ecode3)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plvpor" "', argument " "3"" of type '" "PLFLT""'");
14047 }
14048 arg3 = (PLFLT)(val3);
14049 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14050 if (!SWIG_IsOK(ecode4)) {
14051 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plvpor" "', argument " "4"" of type '" "PLFLT""'");
14052 }
14053 arg4 = (PLFLT)(val4);
14054 plvpor(arg1,arg2,arg3,arg4);
14055 resultobj = SWIG_Py_Void();
14056 return resultobj;
14057fail:
14058 return NULL;
14059}
14060
14061
14062SWIGINTERN PyObject *_wrap_plvsta(PyObject *self, PyObject *args) {
14063 PyObject *resultobj = 0;
14064
14065 (void)self;
14066 if (!SWIG_Python_UnpackTuple(args, "plvsta", 0, 0, 0)) SWIG_fail;
14067 plvsta();
14068 resultobj = SWIG_Py_Void();
14069 return resultobj;
14070fail:
14071 return NULL;
14072}
14073
14074
14075SWIGINTERN PyObject *_wrap_plw3d(PyObject *self, PyObject *args) {
14076 PyObject *resultobj = 0;
14077 PLFLT arg1 ;
14078 PLFLT arg2 ;
14079 PLFLT arg3 ;
14080 PLFLT arg4 ;
14081 PLFLT arg5 ;
14082 PLFLT arg6 ;
14083 PLFLT arg7 ;
14084 PLFLT arg8 ;
14085 PLFLT arg9 ;
14086 PLFLT arg10 ;
14087 PLFLT arg11 ;
14088 double val1 ;
14089 int ecode1 = 0 ;
14090 double val2 ;
14091 int ecode2 = 0 ;
14092 double val3 ;
14093 int ecode3 = 0 ;
14094 double val4 ;
14095 int ecode4 = 0 ;
14096 double val5 ;
14097 int ecode5 = 0 ;
14098 double val6 ;
14099 int ecode6 = 0 ;
14100 double val7 ;
14101 int ecode7 = 0 ;
14102 double val8 ;
14103 int ecode8 = 0 ;
14104 double val9 ;
14105 int ecode9 = 0 ;
14106 double val10 ;
14107 int ecode10 = 0 ;
14108 double val11 ;
14109 int ecode11 = 0 ;
14110 PyObject *swig_obj[11] ;
14111
14112 (void)self;
14113 if (!SWIG_Python_UnpackTuple(args, "plw3d", 11, 11, swig_obj)) SWIG_fail;
14114 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
14115 if (!SWIG_IsOK(ecode1)) {
14116 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plw3d" "', argument " "1"" of type '" "PLFLT""'");
14117 }
14118 arg1 = (PLFLT)(val1);
14119 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
14120 if (!SWIG_IsOK(ecode2)) {
14121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plw3d" "', argument " "2"" of type '" "PLFLT""'");
14122 }
14123 arg2 = (PLFLT)(val2);
14124 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14125 if (!SWIG_IsOK(ecode3)) {
14126 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plw3d" "', argument " "3"" of type '" "PLFLT""'");
14127 }
14128 arg3 = (PLFLT)(val3);
14129 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14130 if (!SWIG_IsOK(ecode4)) {
14131 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plw3d" "', argument " "4"" of type '" "PLFLT""'");
14132 }
14133 arg4 = (PLFLT)(val4);
14134 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14135 if (!SWIG_IsOK(ecode5)) {
14136 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plw3d" "', argument " "5"" of type '" "PLFLT""'");
14137 }
14138 arg5 = (PLFLT)(val5);
14139 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14140 if (!SWIG_IsOK(ecode6)) {
14141 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plw3d" "', argument " "6"" of type '" "PLFLT""'");
14142 }
14143 arg6 = (PLFLT)(val6);
14144 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
14145 if (!SWIG_IsOK(ecode7)) {
14146 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plw3d" "', argument " "7"" of type '" "PLFLT""'");
14147 }
14148 arg7 = (PLFLT)(val7);
14149 ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
14150 if (!SWIG_IsOK(ecode8)) {
14151 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plw3d" "', argument " "8"" of type '" "PLFLT""'");
14152 }
14153 arg8 = (PLFLT)(val8);
14154 ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
14155 if (!SWIG_IsOK(ecode9)) {
14156 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plw3d" "', argument " "9"" of type '" "PLFLT""'");
14157 }
14158 arg9 = (PLFLT)(val9);
14159 ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
14160 if (!SWIG_IsOK(ecode10)) {
14161 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plw3d" "', argument " "10"" of type '" "PLFLT""'");
14162 }
14163 arg10 = (PLFLT)(val10);
14164 ecode11 = SWIG_AsVal_double(swig_obj[10], &val11);
14165 if (!SWIG_IsOK(ecode11)) {
14166 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plw3d" "', argument " "11"" of type '" "PLFLT""'");
14167 }
14168 arg11 = (PLFLT)(val11);
14169 plw3d(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
14170 resultobj = SWIG_Py_Void();
14171 return resultobj;
14172fail:
14173 return NULL;
14174}
14175
14176
14177SWIGINTERN PyObject *_wrap_plwidth(PyObject *self, PyObject *args) {
14178 PyObject *resultobj = 0;
14179 PLFLT arg1 ;
14180 double val1 ;
14181 int ecode1 = 0 ;
14182 PyObject *swig_obj[1] ;
14183
14184 (void)self;
14185 if (!args) SWIG_fail;
14186 swig_obj[0] = args;
14187 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
14188 if (!SWIG_IsOK(ecode1)) {
14189 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plwidth" "', argument " "1"" of type '" "PLFLT""'");
14190 }
14191 arg1 = (PLFLT)(val1);
14192 plwidth(arg1);
14193 resultobj = SWIG_Py_Void();
14194 return resultobj;
14195fail:
14196 return NULL;
14197}
14198
14199
14200SWIGINTERN PyObject *_wrap_plwind(PyObject *self, PyObject *args) {
14201 PyObject *resultobj = 0;
14202 PLFLT arg1 ;
14203 PLFLT arg2 ;
14204 PLFLT arg3 ;
14205 PLFLT arg4 ;
14206 double val1 ;
14207 int ecode1 = 0 ;
14208 double val2 ;
14209 int ecode2 = 0 ;
14210 double val3 ;
14211 int ecode3 = 0 ;
14212 double val4 ;
14213 int ecode4 = 0 ;
14214 PyObject *swig_obj[4] ;
14215
14216 (void)self;
14217 if (!SWIG_Python_UnpackTuple(args, "plwind", 4, 4, swig_obj)) SWIG_fail;
14218 ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
14219 if (!SWIG_IsOK(ecode1)) {
14220 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plwind" "', argument " "1"" of type '" "PLFLT""'");
14221 }
14222 arg1 = (PLFLT)(val1);
14223 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
14224 if (!SWIG_IsOK(ecode2)) {
14225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plwind" "', argument " "2"" of type '" "PLFLT""'");
14226 }
14227 arg2 = (PLFLT)(val2);
14228 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14229 if (!SWIG_IsOK(ecode3)) {
14230 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plwind" "', argument " "3"" of type '" "PLFLT""'");
14231 }
14232 arg3 = (PLFLT)(val3);
14233 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14234 if (!SWIG_IsOK(ecode4)) {
14235 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plwind" "', argument " "4"" of type '" "PLFLT""'");
14236 }
14237 arg4 = (PLFLT)(val4);
14238 plwind(arg1,arg2,arg3,arg4);
14239 resultobj = SWIG_Py_Void();
14240 return resultobj;
14241fail:
14242 return NULL;
14243}
14244
14245
14246SWIGINTERN PyObject *_wrap_plxormod(PyObject *self, PyObject *args) {
14247 PyObject *resultobj = 0;
14248 PLBOOL arg1 ;
14249 PLBOOL *arg2 = 0 ;
14250 int val1 ;
14251 int ecode1 = 0 ;
14252 PLBOOL temp2 ;
14253 int res2 = SWIG_TMPOBJ ;
14254 PyObject *swig_obj[1] ;
14255
14256 arg2 = &temp2;
14257 (void)self;
14258 if (!args) SWIG_fail;
14259 swig_obj[0] = args;
14260 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
14261 if (!SWIG_IsOK(ecode1)) {
14262 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plxormod" "', argument " "1"" of type '" "PLBOOL""'");
14263 }
14264 arg1 = (PLBOOL)(val1);
14265 plxormod(arg1,arg2);
14266 resultobj = SWIG_Py_Void();
14267 if (SWIG_IsTmpObj(res2)) {
14268 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)), 1);
14269 } else {
14270 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
14271 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags), 1);
14272 }
14273 return resultobj;
14274fail:
14275 return NULL;
14276}
14277
14278
14279SWIGINTERN PyObject *_wrap_plmap(PyObject *self, PyObject *args) {
14280 PyObject *resultobj = 0;
14281 mapform_func arg1 = 0 ;
14282 char *arg2 = 0 ;
14283 PLFLT arg3 ;
14284 PLFLT arg4 ;
14285 PLFLT arg5 ;
14286 PLFLT arg6 ;
14287 int res2 ;
14288 char *buf2 = 0 ;
14289 int alloc2 = 0 ;
14290 double val3 ;
14291 int ecode3 = 0 ;
14292 double val4 ;
14293 int ecode4 = 0 ;
14294 double val5 ;
14295 int ecode5 = 0 ;
14296 double val6 ;
14297 int ecode6 = 0 ;
14298 PyObject *swig_obj[6] ;
14299
14300 (void)self;
14301 if (!SWIG_Python_UnpackTuple(args, "plmap", 6, 6, swig_obj)) SWIG_fail;
14302 {
14303 // it must be a callable or none
14304 if ( swig_obj[0] == Py_None )
14305 {
14306 arg1 = NULL;
14307 }
14308 else
14309 {
14310 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14311 {
14312 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14313 return NULL;
14314 }
14315 arg1 = marshal_mapform( swig_obj[0] );
14316 }
14317 }
14318 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
14319 if (!SWIG_IsOK(res2)) {
14320 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmap" "', argument " "2"" of type '" "char const *""'");
14321 }
14322 arg2 = (char *)(buf2);
14323 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14324 if (!SWIG_IsOK(ecode3)) {
14325 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmap" "', argument " "3"" of type '" "PLFLT""'");
14326 }
14327 arg3 = (PLFLT)(val3);
14328 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14329 if (!SWIG_IsOK(ecode4)) {
14330 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmap" "', argument " "4"" of type '" "PLFLT""'");
14331 }
14332 arg4 = (PLFLT)(val4);
14333 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14334 if (!SWIG_IsOK(ecode5)) {
14335 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmap" "', argument " "5"" of type '" "PLFLT""'");
14336 }
14337 arg5 = (PLFLT)(val5);
14338 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14339 if (!SWIG_IsOK(ecode6)) {
14340 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmap" "', argument " "6"" of type '" "PLFLT""'");
14341 }
14342 arg6 = (PLFLT)(val6);
14343 plmap(arg1,(char const *)arg2,arg3,arg4,arg5,arg6);
14344 resultobj = SWIG_Py_Void();
14345 {
14347 }
14348 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14349 return resultobj;
14350fail:
14351 {
14353 }
14354 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14355 return NULL;
14356}
14357
14358
14359SWIGINTERN PyObject *_wrap_plmapline(PyObject *self, PyObject *args) {
14360 PyObject *resultobj = 0;
14361 mapform_func arg1 = 0 ;
14362 char *arg2 = 0 ;
14363 PLFLT arg3 ;
14364 PLFLT arg4 ;
14365 PLFLT arg5 ;
14366 PLFLT arg6 ;
14367 PLINT *arg7 = 0 ;
14368 PLINT arg8 ;
14369 int res2 ;
14370 char *buf2 = 0 ;
14371 int alloc2 = 0 ;
14372 double val3 ;
14373 int ecode3 = 0 ;
14374 double val4 ;
14375 int ecode4 = 0 ;
14376 double val5 ;
14377 int ecode5 = 0 ;
14378 double val6 ;
14379 int ecode6 = 0 ;
14380 PyArrayObject *tmp7 = NULL ;
14381 PyObject *swig_obj[7] ;
14382
14383 (void)self;
14384 if (!SWIG_Python_UnpackTuple(args, "plmapline", 7, 7, swig_obj)) SWIG_fail;
14385 {
14386 // it must be a callable or none
14387 if ( swig_obj[0] == Py_None )
14388 {
14389 arg1 = NULL;
14390 }
14391 else
14392 {
14393 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14394 {
14395 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14396 return NULL;
14397 }
14398 arg1 = marshal_mapform( swig_obj[0] );
14399 }
14400 }
14401 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
14402 if (!SWIG_IsOK(res2)) {
14403 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmapline" "', argument " "2"" of type '" "char const *""'");
14404 }
14405 arg2 = (char *)(buf2);
14406 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14407 if (!SWIG_IsOK(ecode3)) {
14408 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmapline" "', argument " "3"" of type '" "PLFLT""'");
14409 }
14410 arg3 = (PLFLT)(val3);
14411 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14412 if (!SWIG_IsOK(ecode4)) {
14413 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmapline" "', argument " "4"" of type '" "PLFLT""'");
14414 }
14415 arg4 = (PLFLT)(val4);
14416 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14417 if (!SWIG_IsOK(ecode5)) {
14418 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmapline" "', argument " "5"" of type '" "PLFLT""'");
14419 }
14420 arg5 = (PLFLT)(val5);
14421 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14422 if (!SWIG_IsOK(ecode6)) {
14423 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmapline" "', argument " "6"" of type '" "PLFLT""'");
14424 }
14425 arg6 = (PLFLT)(val6);
14426 {
14427 if ( swig_obj[6] != Py_None )
14428 {
14429 tmp7 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[6], NPY_PLINT, 1, 1 );
14430 if ( tmp7 == NULL )
14431 return NULL;
14432 arg7 = (PLINT *) PyArray_DATA( tmp7 );
14433 arg8 = PyArray_DIMS( tmp7 )[0];
14434 }
14435 else
14436 {
14437 arg7 = NULL;
14438 arg8 = 0;
14439 }
14440 }
14441 plmapline(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,(int const *)arg7,arg8);
14442 resultobj = SWIG_Py_Void();
14443 {
14445 }
14446 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14447 {
14448 Py_CLEAR( tmp7 );
14449 }
14450 return resultobj;
14451fail:
14452 {
14454 }
14455 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14456 {
14457 Py_CLEAR( tmp7 );
14458 }
14459 return NULL;
14460}
14461
14462
14463SWIGINTERN PyObject *_wrap_plmapstring(PyObject *self, PyObject *args) {
14464 PyObject *resultobj = 0;
14465 mapform_func arg1 = 0 ;
14466 char *arg2 = 0 ;
14467 char *arg3 = 0 ;
14468 PLFLT arg4 ;
14469 PLFLT arg5 ;
14470 PLFLT arg6 ;
14471 PLFLT arg7 ;
14472 PLINT *arg8 = 0 ;
14473 PLINT arg9 ;
14474 int res2 ;
14475 char *buf2 = 0 ;
14476 int alloc2 = 0 ;
14477 int res3 ;
14478 char *buf3 = 0 ;
14479 int alloc3 = 0 ;
14480 double val4 ;
14481 int ecode4 = 0 ;
14482 double val5 ;
14483 int ecode5 = 0 ;
14484 double val6 ;
14485 int ecode6 = 0 ;
14486 double val7 ;
14487 int ecode7 = 0 ;
14488 PyArrayObject *tmp8 = NULL ;
14489 PyObject *swig_obj[8] ;
14490
14491 (void)self;
14492 if (!SWIG_Python_UnpackTuple(args, "plmapstring", 8, 8, swig_obj)) SWIG_fail;
14493 {
14494 // it must be a callable or none
14495 if ( swig_obj[0] == Py_None )
14496 {
14497 arg1 = NULL;
14498 }
14499 else
14500 {
14501 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14502 {
14503 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14504 return NULL;
14505 }
14506 arg1 = marshal_mapform( swig_obj[0] );
14507 }
14508 }
14509 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
14510 if (!SWIG_IsOK(res2)) {
14511 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmapstring" "', argument " "2"" of type '" "char const *""'");
14512 }
14513 arg2 = (char *)(buf2);
14514 res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
14515 if (!SWIG_IsOK(res3)) {
14516 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "plmapstring" "', argument " "3"" of type '" "char const *""'");
14517 }
14518 arg3 = (char *)(buf3);
14519 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14520 if (!SWIG_IsOK(ecode4)) {
14521 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmapstring" "', argument " "4"" of type '" "PLFLT""'");
14522 }
14523 arg4 = (PLFLT)(val4);
14524 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14525 if (!SWIG_IsOK(ecode5)) {
14526 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmapstring" "', argument " "5"" of type '" "PLFLT""'");
14527 }
14528 arg5 = (PLFLT)(val5);
14529 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14530 if (!SWIG_IsOK(ecode6)) {
14531 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmapstring" "', argument " "6"" of type '" "PLFLT""'");
14532 }
14533 arg6 = (PLFLT)(val6);
14534 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
14535 if (!SWIG_IsOK(ecode7)) {
14536 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plmapstring" "', argument " "7"" of type '" "PLFLT""'");
14537 }
14538 arg7 = (PLFLT)(val7);
14539 {
14540 if ( swig_obj[7] != Py_None )
14541 {
14542 tmp8 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[7], NPY_PLINT, 1, 1 );
14543 if ( tmp8 == NULL )
14544 return NULL;
14545 arg8 = (PLINT *) PyArray_DATA( tmp8 );
14546 arg9 = PyArray_DIMS( tmp8 )[0];
14547 }
14548 else
14549 {
14550 arg8 = NULL;
14551 arg9 = 0;
14552 }
14553 }
14554 plmapstring(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,(int const *)arg8,arg9);
14555 resultobj = SWIG_Py_Void();
14556 {
14558 }
14559 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14560 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14561 {
14562 Py_CLEAR( tmp8 );
14563 }
14564 return resultobj;
14565fail:
14566 {
14568 }
14569 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14570 if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14571 {
14572 Py_CLEAR( tmp8 );
14573 }
14574 return NULL;
14575}
14576
14577
14578SWIGINTERN PyObject *_wrap_plmaptex(PyObject *self, PyObject *args) {
14579 PyObject *resultobj = 0;
14580 mapform_func arg1 = 0 ;
14581 char *arg2 = 0 ;
14582 PLFLT arg3 ;
14583 PLFLT arg4 ;
14584 PLFLT arg5 ;
14585 char *arg6 = 0 ;
14586 PLFLT arg7 ;
14587 PLFLT arg8 ;
14588 PLFLT arg9 ;
14589 PLFLT arg10 ;
14590 PLINT arg11 ;
14591 int res2 ;
14592 char *buf2 = 0 ;
14593 int alloc2 = 0 ;
14594 double val3 ;
14595 int ecode3 = 0 ;
14596 double val4 ;
14597 int ecode4 = 0 ;
14598 double val5 ;
14599 int ecode5 = 0 ;
14600 int res6 ;
14601 char *buf6 = 0 ;
14602 int alloc6 = 0 ;
14603 double val7 ;
14604 int ecode7 = 0 ;
14605 double val8 ;
14606 int ecode8 = 0 ;
14607 double val9 ;
14608 int ecode9 = 0 ;
14609 double val10 ;
14610 int ecode10 = 0 ;
14611 int val11 ;
14612 int ecode11 = 0 ;
14613 PyObject *swig_obj[11] ;
14614
14615 (void)self;
14616 if (!SWIG_Python_UnpackTuple(args, "plmaptex", 11, 11, swig_obj)) SWIG_fail;
14617 {
14618 // it must be a callable or none
14619 if ( swig_obj[0] == Py_None )
14620 {
14621 arg1 = NULL;
14622 }
14623 else
14624 {
14625 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14626 {
14627 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14628 return NULL;
14629 }
14630 arg1 = marshal_mapform( swig_obj[0] );
14631 }
14632 }
14633 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
14634 if (!SWIG_IsOK(res2)) {
14635 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmaptex" "', argument " "2"" of type '" "char const *""'");
14636 }
14637 arg2 = (char *)(buf2);
14638 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14639 if (!SWIG_IsOK(ecode3)) {
14640 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmaptex" "', argument " "3"" of type '" "PLFLT""'");
14641 }
14642 arg3 = (PLFLT)(val3);
14643 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14644 if (!SWIG_IsOK(ecode4)) {
14645 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmaptex" "', argument " "4"" of type '" "PLFLT""'");
14646 }
14647 arg4 = (PLFLT)(val4);
14648 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14649 if (!SWIG_IsOK(ecode5)) {
14650 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmaptex" "', argument " "5"" of type '" "PLFLT""'");
14651 }
14652 arg5 = (PLFLT)(val5);
14653 res6 = SWIG_AsCharPtrAndSize(swig_obj[5], &buf6, NULL, &alloc6);
14654 if (!SWIG_IsOK(res6)) {
14655 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plmaptex" "', argument " "6"" of type '" "char const *""'");
14656 }
14657 arg6 = (char *)(buf6);
14658 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
14659 if (!SWIG_IsOK(ecode7)) {
14660 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plmaptex" "', argument " "7"" of type '" "PLFLT""'");
14661 }
14662 arg7 = (PLFLT)(val7);
14663 ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
14664 if (!SWIG_IsOK(ecode8)) {
14665 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plmaptex" "', argument " "8"" of type '" "PLFLT""'");
14666 }
14667 arg8 = (PLFLT)(val8);
14668 ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
14669 if (!SWIG_IsOK(ecode9)) {
14670 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plmaptex" "', argument " "9"" of type '" "PLFLT""'");
14671 }
14672 arg9 = (PLFLT)(val9);
14673 ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
14674 if (!SWIG_IsOK(ecode10)) {
14675 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plmaptex" "', argument " "10"" of type '" "PLFLT""'");
14676 }
14677 arg10 = (PLFLT)(val10);
14678 ecode11 = SWIG_AsVal_int(swig_obj[10], &val11);
14679 if (!SWIG_IsOK(ecode11)) {
14680 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plmaptex" "', argument " "11"" of type '" "PLINT""'");
14681 }
14682 arg11 = (PLINT)(val11);
14683 plmaptex(arg1,(char const *)arg2,arg3,arg4,arg5,(char const *)arg6,arg7,arg8,arg9,arg10,arg11);
14684 resultobj = SWIG_Py_Void();
14685 {
14687 }
14688 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14689 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
14690 return resultobj;
14691fail:
14692 {
14694 }
14695 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14696 if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
14697 return NULL;
14698}
14699
14700
14701SWIGINTERN PyObject *_wrap_plmapfill(PyObject *self, PyObject *args) {
14702 PyObject *resultobj = 0;
14703 mapform_func arg1 = 0 ;
14704 char *arg2 = 0 ;
14705 PLFLT arg3 ;
14706 PLFLT arg4 ;
14707 PLFLT arg5 ;
14708 PLFLT arg6 ;
14709 PLINT *arg7 = 0 ;
14710 PLINT arg8 ;
14711 int res2 ;
14712 char *buf2 = 0 ;
14713 int alloc2 = 0 ;
14714 double val3 ;
14715 int ecode3 = 0 ;
14716 double val4 ;
14717 int ecode4 = 0 ;
14718 double val5 ;
14719 int ecode5 = 0 ;
14720 double val6 ;
14721 int ecode6 = 0 ;
14722 PyArrayObject *tmp7 = NULL ;
14723 PyObject *swig_obj[7] ;
14724
14725 (void)self;
14726 if (!SWIG_Python_UnpackTuple(args, "plmapfill", 7, 7, swig_obj)) SWIG_fail;
14727 {
14728 // it must be a callable or none
14729 if ( swig_obj[0] == Py_None )
14730 {
14731 arg1 = NULL;
14732 }
14733 else
14734 {
14735 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14736 {
14737 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14738 return NULL;
14739 }
14740 arg1 = marshal_mapform( swig_obj[0] );
14741 }
14742 }
14743 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
14744 if (!SWIG_IsOK(res2)) {
14745 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmapfill" "', argument " "2"" of type '" "char const *""'");
14746 }
14747 arg2 = (char *)(buf2);
14748 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14749 if (!SWIG_IsOK(ecode3)) {
14750 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmapfill" "', argument " "3"" of type '" "PLFLT""'");
14751 }
14752 arg3 = (PLFLT)(val3);
14753 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14754 if (!SWIG_IsOK(ecode4)) {
14755 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmapfill" "', argument " "4"" of type '" "PLFLT""'");
14756 }
14757 arg4 = (PLFLT)(val4);
14758 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14759 if (!SWIG_IsOK(ecode5)) {
14760 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmapfill" "', argument " "5"" of type '" "PLFLT""'");
14761 }
14762 arg5 = (PLFLT)(val5);
14763 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14764 if (!SWIG_IsOK(ecode6)) {
14765 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmapfill" "', argument " "6"" of type '" "PLFLT""'");
14766 }
14767 arg6 = (PLFLT)(val6);
14768 {
14769 if ( swig_obj[6] != Py_None )
14770 {
14771 tmp7 = (PyArrayObject *) myIntArray_ContiguousFromObject( swig_obj[6], NPY_PLINT, 1, 1 );
14772 if ( tmp7 == NULL )
14773 return NULL;
14774 arg7 = (PLINT *) PyArray_DATA( tmp7 );
14775 arg8 = PyArray_DIMS( tmp7 )[0];
14776 }
14777 else
14778 {
14779 arg7 = NULL;
14780 arg8 = 0;
14781 }
14782 }
14783 plmapfill(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,(int const *)arg7,arg8);
14784 resultobj = SWIG_Py_Void();
14785 {
14787 }
14788 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14789 {
14790 Py_CLEAR( tmp7 );
14791 }
14792 return resultobj;
14793fail:
14794 {
14796 }
14797 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14798 {
14799 Py_CLEAR( tmp7 );
14800 }
14801 return NULL;
14802}
14803
14804
14805SWIGINTERN PyObject *_wrap_plmeridians(PyObject *self, PyObject *args) {
14806 PyObject *resultobj = 0;
14807 mapform_func arg1 = 0 ;
14808 PLFLT arg2 ;
14809 PLFLT arg3 ;
14810 PLFLT arg4 ;
14811 PLFLT arg5 ;
14812 PLFLT arg6 ;
14813 PLFLT arg7 ;
14814 double val2 ;
14815 int ecode2 = 0 ;
14816 double val3 ;
14817 int ecode3 = 0 ;
14818 double val4 ;
14819 int ecode4 = 0 ;
14820 double val5 ;
14821 int ecode5 = 0 ;
14822 double val6 ;
14823 int ecode6 = 0 ;
14824 double val7 ;
14825 int ecode7 = 0 ;
14826 PyObject *swig_obj[7] ;
14827
14828 (void)self;
14829 if (!SWIG_Python_UnpackTuple(args, "plmeridians", 7, 7, swig_obj)) SWIG_fail;
14830 {
14831 // it must be a callable or none
14832 if ( swig_obj[0] == Py_None )
14833 {
14834 arg1 = NULL;
14835 }
14836 else
14837 {
14838 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14839 {
14840 PyErr_SetString( PyExc_ValueError, "mapform argument must be callable" );
14841 return NULL;
14842 }
14843 arg1 = marshal_mapform( swig_obj[0] );
14844 }
14845 }
14846 ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
14847 if (!SWIG_IsOK(ecode2)) {
14848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plmeridians" "', argument " "2"" of type '" "PLFLT""'");
14849 }
14850 arg2 = (PLFLT)(val2);
14851 ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
14852 if (!SWIG_IsOK(ecode3)) {
14853 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmeridians" "', argument " "3"" of type '" "PLFLT""'");
14854 }
14855 arg3 = (PLFLT)(val3);
14856 ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
14857 if (!SWIG_IsOK(ecode4)) {
14858 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmeridians" "', argument " "4"" of type '" "PLFLT""'");
14859 }
14860 arg4 = (PLFLT)(val4);
14861 ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
14862 if (!SWIG_IsOK(ecode5)) {
14863 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmeridians" "', argument " "5"" of type '" "PLFLT""'");
14864 }
14865 arg5 = (PLFLT)(val5);
14866 ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
14867 if (!SWIG_IsOK(ecode6)) {
14868 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmeridians" "', argument " "6"" of type '" "PLFLT""'");
14869 }
14870 arg6 = (PLFLT)(val6);
14871 ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
14872 if (!SWIG_IsOK(ecode7)) {
14873 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plmeridians" "', argument " "7"" of type '" "PLFLT""'");
14874 }
14875 arg7 = (PLFLT)(val7);
14876 plmeridians(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
14877 resultobj = SWIG_Py_Void();
14878 {
14880 }
14881 return resultobj;
14882fail:
14883 {
14885 }
14886 return NULL;
14887}
14888
14889
14890SWIGINTERN PyObject *_wrap_plimage(PyObject *self, PyObject *args) {
14891 PyObject *resultobj = 0;
14892 PLFLT **arg1 = 0 ;
14893 PLINT arg2 ;
14894 PLINT arg3 ;
14895 PLFLT arg4 ;
14896 PLFLT arg5 ;
14897 PLFLT arg6 ;
14898 PLFLT arg7 ;
14899 PLFLT arg8 ;
14900 PLFLT arg9 ;
14901 PLFLT arg10 ;
14902 PLFLT arg11 ;
14903 PLFLT arg12 ;
14904 PLFLT arg13 ;
14905 PyArrayObject *tmp1 = NULL ;
14906 double val4 ;
14907 int ecode4 = 0 ;
14908 double val5 ;
14909 int ecode5 = 0 ;
14910 double val6 ;
14911 int ecode6 = 0 ;
14912 double val7 ;
14913 int ecode7 = 0 ;
14914 double val8 ;
14915 int ecode8 = 0 ;
14916 double val9 ;
14917 int ecode9 = 0 ;
14918 double val10 ;
14919 int ecode10 = 0 ;
14920 double val11 ;
14921 int ecode11 = 0 ;
14922 double val12 ;
14923 int ecode12 = 0 ;
14924 double val13 ;
14925 int ecode13 = 0 ;
14926 PyObject *swig_obj[11] ;
14927
14928 (void)self;
14929 if (!SWIG_Python_UnpackTuple(args, "plimage", 11, 11, swig_obj)) SWIG_fail;
14930 {
14931 int i, size;
14932 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
14933 if ( tmp1 == NULL )
14934 return NULL;
14935 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
14936 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
14937 size = arg3;
14938 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
14939 for ( i = 0; i < arg2; i++ )
14940 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
14941 }
14942 ecode4 = SWIG_AsVal_double(swig_obj[1], &val4);
14943 if (!SWIG_IsOK(ecode4)) {
14944 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plimage" "', argument " "4"" of type '" "PLFLT""'");
14945 }
14946 arg4 = (PLFLT)(val4);
14947 ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
14948 if (!SWIG_IsOK(ecode5)) {
14949 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plimage" "', argument " "5"" of type '" "PLFLT""'");
14950 }
14951 arg5 = (PLFLT)(val5);
14952 ecode6 = SWIG_AsVal_double(swig_obj[3], &val6);
14953 if (!SWIG_IsOK(ecode6)) {
14954 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plimage" "', argument " "6"" of type '" "PLFLT""'");
14955 }
14956 arg6 = (PLFLT)(val6);
14957 ecode7 = SWIG_AsVal_double(swig_obj[4], &val7);
14958 if (!SWIG_IsOK(ecode7)) {
14959 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plimage" "', argument " "7"" of type '" "PLFLT""'");
14960 }
14961 arg7 = (PLFLT)(val7);
14962 ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
14963 if (!SWIG_IsOK(ecode8)) {
14964 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plimage" "', argument " "8"" of type '" "PLFLT""'");
14965 }
14966 arg8 = (PLFLT)(val8);
14967 ecode9 = SWIG_AsVal_double(swig_obj[6], &val9);
14968 if (!SWIG_IsOK(ecode9)) {
14969 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plimage" "', argument " "9"" of type '" "PLFLT""'");
14970 }
14971 arg9 = (PLFLT)(val9);
14972 ecode10 = SWIG_AsVal_double(swig_obj[7], &val10);
14973 if (!SWIG_IsOK(ecode10)) {
14974 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plimage" "', argument " "10"" of type '" "PLFLT""'");
14975 }
14976 arg10 = (PLFLT)(val10);
14977 ecode11 = SWIG_AsVal_double(swig_obj[8], &val11);
14978 if (!SWIG_IsOK(ecode11)) {
14979 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plimage" "', argument " "11"" of type '" "PLFLT""'");
14980 }
14981 arg11 = (PLFLT)(val11);
14982 ecode12 = SWIG_AsVal_double(swig_obj[9], &val12);
14983 if (!SWIG_IsOK(ecode12)) {
14984 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plimage" "', argument " "12"" of type '" "PLFLT""'");
14985 }
14986 arg12 = (PLFLT)(val12);
14987 ecode13 = SWIG_AsVal_double(swig_obj[10], &val13);
14988 if (!SWIG_IsOK(ecode13)) {
14989 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plimage" "', argument " "13"" of type '" "PLFLT""'");
14990 }
14991 arg13 = (PLFLT)(val13);
14992 plimage((double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
14993 resultobj = SWIG_Py_Void();
14994 {
14995 Py_CLEAR( tmp1 );
14996 free( arg1 );
14997 }
14998 return resultobj;
14999fail:
15000 {
15001 Py_CLEAR( tmp1 );
15002 free( arg1 );
15003 }
15004 return NULL;
15005}
15006
15007
15008SWIGINTERN PyObject *_wrap_plimagefr(PyObject *self, PyObject *args) {
15009 PyObject *resultobj = 0;
15010 PLFLT **arg1 = 0 ;
15011 PLINT arg2 ;
15012 PLINT arg3 ;
15013 PLFLT arg4 ;
15014 PLFLT arg5 ;
15015 PLFLT arg6 ;
15016 PLFLT arg7 ;
15017 PLFLT arg8 ;
15018 PLFLT arg9 ;
15019 PLFLT arg10 ;
15020 PLFLT arg11 ;
15021 pltr_func arg12 = 0 ;
15022 PLPointer arg13 = 0 ;
15023 PyArrayObject *tmp1 = NULL ;
15024 double val4 ;
15025 int ecode4 = 0 ;
15026 double val5 ;
15027 int ecode5 = 0 ;
15028 double val6 ;
15029 int ecode6 = 0 ;
15030 double val7 ;
15031 int ecode7 = 0 ;
15032 double val8 ;
15033 int ecode8 = 0 ;
15034 double val9 ;
15035 int ecode9 = 0 ;
15036 double val10 ;
15037 int ecode10 = 0 ;
15038 double val11 ;
15039 int ecode11 = 0 ;
15040 PyObject *swig_obj[11] ;
15041
15042 {
15043 python_pltr = 0;
15044 arg12 = NULL;
15045 }
15046 {
15047 arg13 = NULL;
15048 }
15049 (void)self;
15050 if (!SWIG_Python_UnpackTuple(args, "plimagefr", 9, 11, swig_obj)) SWIG_fail;
15051 {
15052 int i, size;
15053 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
15054 if ( tmp1 == NULL )
15055 return NULL;
15056 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15057 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15058 size = arg3;
15059 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
15060 for ( i = 0; i < arg2; i++ )
15061 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15062 }
15063 ecode4 = SWIG_AsVal_double(swig_obj[1], &val4);
15064 if (!SWIG_IsOK(ecode4)) {
15065 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plimagefr" "', argument " "4"" of type '" "PLFLT""'");
15066 }
15067 arg4 = (PLFLT)(val4);
15068 ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
15069 if (!SWIG_IsOK(ecode5)) {
15070 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plimagefr" "', argument " "5"" of type '" "PLFLT""'");
15071 }
15072 arg5 = (PLFLT)(val5);
15073 ecode6 = SWIG_AsVal_double(swig_obj[3], &val6);
15074 if (!SWIG_IsOK(ecode6)) {
15075 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plimagefr" "', argument " "6"" of type '" "PLFLT""'");
15076 }
15077 arg6 = (PLFLT)(val6);
15078 ecode7 = SWIG_AsVal_double(swig_obj[4], &val7);
15079 if (!SWIG_IsOK(ecode7)) {
15080 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plimagefr" "', argument " "7"" of type '" "PLFLT""'");
15081 }
15082 arg7 = (PLFLT)(val7);
15083 ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
15084 if (!SWIG_IsOK(ecode8)) {
15085 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plimagefr" "', argument " "8"" of type '" "PLFLT""'");
15086 }
15087 arg8 = (PLFLT)(val8);
15088 ecode9 = SWIG_AsVal_double(swig_obj[6], &val9);
15089 if (!SWIG_IsOK(ecode9)) {
15090 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plimagefr" "', argument " "9"" of type '" "PLFLT""'");
15091 }
15092 arg9 = (PLFLT)(val9);
15093 ecode10 = SWIG_AsVal_double(swig_obj[7], &val10);
15094 if (!SWIG_IsOK(ecode10)) {
15095 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plimagefr" "', argument " "10"" of type '" "PLFLT""'");
15096 }
15097 arg10 = (PLFLT)(val10);
15098 ecode11 = SWIG_AsVal_double(swig_obj[8], &val11);
15099 if (!SWIG_IsOK(ecode11)) {
15100 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plimagefr" "', argument " "11"" of type '" "PLFLT""'");
15101 }
15102 arg11 = (PLFLT)(val11);
15103 if (swig_obj[9]) {
15104 {
15105 // it must be a callable or None
15106 if ( swig_obj[9] == Py_None )
15107 {
15108 arg12 = NULL;
15109 }
15110 else
15111 {
15112 if ( !PyCallable_Check( (PyObject *) swig_obj[9] ) )
15113 {
15114 PyErr_SetString( PyExc_ValueError, "pltr argument must be callable" );
15115 return NULL;
15116 }
15117 arg12 = marshal_pltr( swig_obj[9] );
15118 }
15119 }
15120 }
15121 if (swig_obj[10]) {
15122 {
15123 if ( swig_obj[10] == Py_None )
15124 arg13 = NULL;
15125 else
15126 {
15127 arg13 = marshal_PLPointer( swig_obj[10], 1 );
15128 }
15129 }
15130 }
15131 plimagefr((double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
15132 resultobj = SWIG_Py_Void();
15133 {
15134 Py_CLEAR( tmp1 );
15135 free( arg1 );
15136 }
15137 {
15138 cleanup_pltr();
15139 }
15140 {
15142 }
15143 return resultobj;
15144fail:
15145 {
15146 Py_CLEAR( tmp1 );
15147 free( arg1 );
15148 }
15149 {
15150 cleanup_pltr();
15151 }
15152 {
15154 }
15155 return NULL;
15156}
15157
15158
15159SWIGINTERN PyObject *_wrap_plClearOpts(PyObject *self, PyObject *args) {
15160 PyObject *resultobj = 0;
15161
15162 (void)self;
15163 if (!SWIG_Python_UnpackTuple(args, "plClearOpts", 0, 0, 0)) SWIG_fail;
15164 plClearOpts();
15165 resultobj = SWIG_Py_Void();
15166 return resultobj;
15167fail:
15168 return NULL;
15169}
15170
15171
15172SWIGINTERN PyObject *_wrap_plResetOpts(PyObject *self, PyObject *args) {
15173 PyObject *resultobj = 0;
15174
15175 (void)self;
15176 if (!SWIG_Python_UnpackTuple(args, "plResetOpts", 0, 0, 0)) SWIG_fail;
15177 plResetOpts();
15178 resultobj = SWIG_Py_Void();
15179 return resultobj;
15180fail:
15181 return NULL;
15182}
15183
15184
15185SWIGINTERN PyObject *_wrap_plSetUsage(PyObject *self, PyObject *args) {
15186 PyObject *resultobj = 0;
15187 char *arg1 = 0 ;
15188 char *arg2 = 0 ;
15189 int res1 ;
15190 char *buf1 = 0 ;
15191 int alloc1 = 0 ;
15192 int res2 ;
15193 char *buf2 = 0 ;
15194 int alloc2 = 0 ;
15195 PyObject *swig_obj[2] ;
15196
15197 (void)self;
15198 if (!SWIG_Python_UnpackTuple(args, "plSetUsage", 2, 2, swig_obj)) SWIG_fail;
15199 res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1);
15200 if (!SWIG_IsOK(res1)) {
15201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plSetUsage" "', argument " "1"" of type '" "char const *""'");
15202 }
15203 arg1 = (char *)(buf1);
15204 res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
15205 if (!SWIG_IsOK(res2)) {
15206 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plSetUsage" "', argument " "2"" of type '" "char const *""'");
15207 }
15208 arg2 = (char *)(buf2);
15209 plSetUsage((char const *)arg1,(char const *)arg2);
15210 resultobj = SWIG_Py_Void();
15211 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
15212 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15213 return resultobj;
15214fail:
15215 if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
15216 if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15217 return NULL;
15218}
15219
15220
15221SWIGINTERN PyObject *_wrap_plOptUsage(PyObject *self, PyObject *args) {
15222 PyObject *resultobj = 0;
15223
15224 (void)self;
15225 if (!SWIG_Python_UnpackTuple(args, "plOptUsage", 0, 0, 0)) SWIG_fail;
15226 plOptUsage();
15227 resultobj = SWIG_Py_Void();
15228 return resultobj;
15229fail:
15230 return NULL;
15231}
15232
15233
15234SWIGINTERN PyObject *_wrap_plMinMax2dGrid(PyObject *self, PyObject *args) {
15235 PyObject *resultobj = 0;
15236 PLFLT **arg1 = 0 ;
15237 PLINT arg2 ;
15238 PLINT arg3 ;
15239 PLFLT *arg4 = 0 ;
15240 PLFLT *arg5 = 0 ;
15241 PyArrayObject *tmp1 = NULL ;
15242 PLFLT temp4 ;
15243 int res4 = SWIG_TMPOBJ ;
15244 PLFLT temp5 ;
15245 int res5 = SWIG_TMPOBJ ;
15246 PyObject *swig_obj[1] ;
15247
15248 arg4 = &temp4;
15249 arg5 = &temp5;
15250 (void)self;
15251 if (!args) SWIG_fail;
15252 swig_obj[0] = args;
15253 {
15254 int i, size;
15255 tmp1 = (PyArrayObject *) myArray_ContiguousFromObject( swig_obj[0], NPY_PLFLT, 2, 2 );
15256 if ( tmp1 == NULL )
15257 return NULL;
15258 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15259 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15260 size = arg3;
15261 arg1 = (PLFLT **) malloc( sizeof ( PLFLT* ) * (size_t) arg2 );
15262 for ( i = 0; i < arg2; i++ )
15263 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15264 }
15265 plMinMax2dGrid((double const **)arg1,arg2,arg3,arg4,arg5);
15266 resultobj = SWIG_Py_Void();
15267 if (SWIG_IsTmpObj(res4)) {
15268 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)), 1);
15269 } else {
15270 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
15271 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags), 1);
15272 }
15273 if (SWIG_IsTmpObj(res5)) {
15274 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg5)), 1);
15275 } else {
15276 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
15277 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags), 1);
15278 }
15279 {
15280 Py_CLEAR( tmp1 );
15281 free( arg1 );
15282 }
15283 return resultobj;
15284fail:
15285 {
15286 Py_CLEAR( tmp1 );
15287 free( arg1 );
15288 }
15289 return NULL;
15290}
15291
15292
15293SWIGINTERN PyObject *_wrap_plGetCursor(PyObject *self, PyObject *args) {
15294 PyObject *resultobj = 0;
15295 PLGraphicsIn *arg1 = 0 ;
15296 void *argp1 = 0 ;
15297 int res1 = 0 ;
15298 PyObject *swig_obj[1] ;
15299 PLINT result;
15300
15301 (void)self;
15302 if (!args) SWIG_fail;
15303 swig_obj[0] = args;
15304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
15305 if (!SWIG_IsOK(res1)) {
15306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plGetCursor" "', argument " "1"" of type '" "PLGraphicsIn *""'");
15307 }
15308 arg1 = (PLGraphicsIn *)(argp1);
15309 result = (PLINT)plGetCursor(arg1);
15310 resultobj = SWIG_From_int((int)(result));
15311 return resultobj;
15312fail:
15313 return NULL;
15314}
15315
15316
15317static PyMethodDef SwigMethods[] = {
15318 { "pltr0", _wrap_pltr0, METH_VARARGS, NULL},
15319 { "pltr1", _wrap_pltr1, METH_VARARGS, NULL},
15320 { "pltr2", _wrap_pltr2, METH_VARARGS, NULL},
15321 { "PLGraphicsIn_type_set", _wrap_PLGraphicsIn_type_set, METH_VARARGS, NULL},
15322 { "PLGraphicsIn_type_get", _wrap_PLGraphicsIn_type_get, METH_O, NULL},
15323 { "PLGraphicsIn_state_set", _wrap_PLGraphicsIn_state_set, METH_VARARGS, NULL},
15324 { "PLGraphicsIn_state_get", _wrap_PLGraphicsIn_state_get, METH_O, NULL},
15325 { "PLGraphicsIn_keysym_set", _wrap_PLGraphicsIn_keysym_set, METH_VARARGS, NULL},
15326 { "PLGraphicsIn_keysym_get", _wrap_PLGraphicsIn_keysym_get, METH_O, NULL},
15327 { "PLGraphicsIn_button_set", _wrap_PLGraphicsIn_button_set, METH_VARARGS, NULL},
15328 { "PLGraphicsIn_button_get", _wrap_PLGraphicsIn_button_get, METH_O, NULL},
15329 { "PLGraphicsIn_subwindow_set", _wrap_PLGraphicsIn_subwindow_set, METH_VARARGS, NULL},
15330 { "PLGraphicsIn_subwindow_get", _wrap_PLGraphicsIn_subwindow_get, METH_O, NULL},
15331 { "PLGraphicsIn_string_set", _wrap_PLGraphicsIn_string_set, METH_VARARGS, NULL},
15332 { "PLGraphicsIn_string_get", _wrap_PLGraphicsIn_string_get, METH_O, NULL},
15333 { "PLGraphicsIn_pX_set", _wrap_PLGraphicsIn_pX_set, METH_VARARGS, NULL},
15334 { "PLGraphicsIn_pX_get", _wrap_PLGraphicsIn_pX_get, METH_O, NULL},
15335 { "PLGraphicsIn_pY_set", _wrap_PLGraphicsIn_pY_set, METH_VARARGS, NULL},
15336 { "PLGraphicsIn_pY_get", _wrap_PLGraphicsIn_pY_get, METH_O, NULL},
15337 { "PLGraphicsIn_dX_set", _wrap_PLGraphicsIn_dX_set, METH_VARARGS, NULL},
15338 { "PLGraphicsIn_dX_get", _wrap_PLGraphicsIn_dX_get, METH_O, NULL},
15339 { "PLGraphicsIn_dY_set", _wrap_PLGraphicsIn_dY_set, METH_VARARGS, NULL},
15340 { "PLGraphicsIn_dY_get", _wrap_PLGraphicsIn_dY_get, METH_O, NULL},
15341 { "PLGraphicsIn_wX_set", _wrap_PLGraphicsIn_wX_set, METH_VARARGS, NULL},
15342 { "PLGraphicsIn_wX_get", _wrap_PLGraphicsIn_wX_get, METH_O, NULL},
15343 { "PLGraphicsIn_wY_set", _wrap_PLGraphicsIn_wY_set, METH_VARARGS, NULL},
15344 { "PLGraphicsIn_wY_get", _wrap_PLGraphicsIn_wY_get, METH_O, NULL},
15345 { "new_PLGraphicsIn", _wrap_new_PLGraphicsIn, METH_NOARGS, NULL},
15346 { "delete_PLGraphicsIn", _wrap_delete_PLGraphicsIn, METH_O, NULL},
15347 { "PLGraphicsIn_swigregister", PLGraphicsIn_swigregister, METH_O, NULL},
15348 { "PLGraphicsIn_swiginit", PLGraphicsIn_swiginit, METH_VARARGS, NULL},
15349 { "plsxwin", _wrap_plsxwin, METH_O, NULL},
15350 { "pl_setcontlabelformat", _wrap_pl_setcontlabelformat, METH_VARARGS, "\n"
15351 "Set format of numerical label for contours\n"
15352 "\n"
15353 "DESCRIPTION:\n"
15354 "\n"
15355 " Set format of numerical label for contours.\n"
15356 "\n"
15357 " Redacted form: pl_setcontlabelformat(lexp, sigdig)\n"
15358 "\n"
15359 " This function is used example 9.\n"
15360 "\n"
15361 "\n"
15362 "\n"
15363 "SYNOPSIS:\n"
15364 "\n"
15365 "pl_setcontlabelformat(lexp, sigdig)\n"
15366 "\n"
15367 "ARGUMENTS:\n"
15368 "\n"
15369 " lexp (PLINT, input) : If the contour numerical label is greater\n"
15370 " than 10^(lexp) or less than 10^(-lexp), then the exponential\n"
15371 " format is used. Default value of lexp is 4.\n"
15372 "\n"
15373 " sigdig (PLINT, input) : Number of significant digits. Default\n"
15374 " value is 2.\n"
15375 "\n"
15376 ""},
15377 { "pl_setcontlabelparam", _wrap_pl_setcontlabelparam, METH_VARARGS, "\n"
15378 "Set parameters of contour labelling other than format of numerical label\n"
15379 "\n"
15380 "DESCRIPTION:\n"
15381 "\n"
15382 " Set parameters of contour labelling other than those handled by\n"
15383 " pl_setcontlabelformat.\n"
15384 "\n"
15385 " Redacted form: pl_setcontlabelparam(offset, size, spacing, active)\n"
15386 "\n"
15387 " This function is used in example 9.\n"
15388 "\n"
15389 "\n"
15390 "\n"
15391 "SYNOPSIS:\n"
15392 "\n"
15393 "pl_setcontlabelparam(offset, size, spacing, active)\n"
15394 "\n"
15395 "ARGUMENTS:\n"
15396 "\n"
15397 " offset (PLFLT, input) : Offset of label from contour line (if set\n"
15398 " to 0.0, labels are printed on the lines). Default value is 0.006.\n"
15399 "\n"
15400 " size (PLFLT, input) : Font height for contour labels (normalized).\n"
15401 " Default value is 0.3.\n"
15402 "\n"
15403 " spacing (PLFLT, input) : Spacing parameter for contour labels.\n"
15404 " Default value is 0.1.\n"
15405 "\n"
15406 " active (PLINT, input) : Activate labels. Set to 1 if you want\n"
15407 " contour labels on. Default is off (0).\n"
15408 "\n"
15409 ""},
15410 { "pladv", _wrap_pladv, METH_O, "\n"
15411 "Advance the (sub-)page\n"
15412 "\n"
15413 "DESCRIPTION:\n"
15414 "\n"
15415 " Advances to the next subpage if sub=0, performing a page advance if\n"
15416 " there are no remaining subpages on the current page. If subpages\n"
15417 " aren't being used, pladv(0) will always advance the page. If page>0,\n"
15418 " PLplot switches to the specified subpage. Note that this allows you\n"
15419 " to overwrite a plot on the specified subpage; if this is not what you\n"
15420 " intended, use pleop followed by plbop to first advance the page. This\n"
15421 " routine is called automatically (with page=0) by plenv, but if plenv\n"
15422 " is not used, pladv must be called after initializing PLplot but before\n"
15423 " defining the viewport.\n"
15424 "\n"
15425 " Redacted form: pladv(page)\n"
15426 "\n"
15427 " This function is used in examples 1, 2, 4, 6-12, 14-18, 20, 21, 23-27,\n"
15428 " 29, and 31.\n"
15429 "\n"
15430 "\n"
15431 "\n"
15432 "SYNOPSIS:\n"
15433 "\n"
15434 "pladv(page)\n"
15435 "\n"
15436 "ARGUMENTS:\n"
15437 "\n"
15438 " page (PLINT, input) : Specifies the subpage number (starting from 1\n"
15439 " in the top left corner and increasing along the rows) to which to\n"
15440 " advance. Set to zero to advance to the next subpage (or to the\n"
15441 " next page if subpages are not being used).\n"
15442 "\n"
15443 ""},
15444 { "plarc", _wrap_plarc, METH_VARARGS, "\n"
15445 "Draw a circular or elliptical arc\n"
15446 "\n"
15447 "DESCRIPTION:\n"
15448 "\n"
15449 " Draw a possibly filled arc centered at x, y with semimajor axis a and\n"
15450 " semiminor axis b, starting at angle1 and ending at angle2.\n"
15451 "\n"
15452 " Redacted form: General: plarc(x, y, a, b, angle1, angle2, rotate,\n"
15453 " fill)\n"
15454 "\n"
15455 "\n"
15456 " This function is used in examples 3 and 27.\n"
15457 "\n"
15458 "\n"
15459 "\n"
15460 "SYNOPSIS:\n"
15461 "\n"
15462 "plarc(x, y, a, b, angle1, angle2, rotate, fill)\n"
15463 "\n"
15464 "ARGUMENTS:\n"
15465 "\n"
15466 " x (PLFLT, input) : X coordinate of arc center.\n"
15467 "\n"
15468 " y (PLFLT, input) : Y coordinate of arc center.\n"
15469 "\n"
15470 " a (PLFLT, input) : Length of the semimajor axis of the arc.\n"
15471 "\n"
15472 " b (PLFLT, input) : Length of the semiminor axis of the arc.\n"
15473 "\n"
15474 " angle1 (PLFLT, input) : Starting angle of the arc relative to the\n"
15475 " semimajor axis.\n"
15476 "\n"
15477 " angle2 (PLFLT, input) : Ending angle of the arc relative to the\n"
15478 " semimajor axis.\n"
15479 "\n"
15480 " rotate (PLFLT, input) : Angle of the semimajor axis relative to the\n"
15481 " X-axis.\n"
15482 "\n"
15483 " fill (PLBOOL, input) : Draw a filled arc.\n"
15484 "\n"
15485 ""},
15486 { "plaxes", _wrap_plaxes, METH_VARARGS, "\n"
15487 "Draw a box with axes, etc. with arbitrary origin\n"
15488 "\n"
15489 "DESCRIPTION:\n"
15490 "\n"
15491 " Draws a box around the currently defined viewport with arbitrary\n"
15492 " world-coordinate origin specified by x0 and y0 and labels it with\n"
15493 " world coordinate values appropriate to the window. Thus plaxes should\n"
15494 " only be called after defining both viewport and window. The ascii\n"
15495 " character strings xopt and yopt specify how the box should be drawn as\n"
15496 " described below. If ticks and/or subticks are to be drawn for a\n"
15497 " particular axis, the tick intervals and number of subintervals may be\n"
15498 " specified explicitly, or they may be defaulted by setting the\n"
15499 " appropriate arguments to zero.\n"
15500 "\n"
15501 " Redacted form: General: plaxes(x0, y0, xopt, xtick, nxsub, yopt,\n"
15502 " ytick, nysub)\n"
15503 "\n"
15504 "\n"
15505 " This function is not used in any examples.\n"
15506 "\n"
15507 "\n"
15508 "\n"
15509 "SYNOPSIS:\n"
15510 "\n"
15511 "plaxes(x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub)\n"
15512 "\n"
15513 "ARGUMENTS:\n"
15514 "\n"
15515 " x0 (PLFLT, input) : World X coordinate of origin.\n"
15516 "\n"
15517 " y0 (PLFLT, input) : World Y coordinate of origin.\n"
15518 "\n"
15519 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15520 " options for the x axis. The string can include any combination of\n"
15521 " the following letters (upper or lower case) in any order: a: Draws\n"
15522 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n"
15523 " (x=0).\n"
15524 " b: Draws bottom (X) or left (Y) edge of frame.\n"
15525 " c: Draws top (X) or right (Y) edge of frame.\n"
15526 " d: Plot labels as date / time. Values are assumed to be\n"
15527 " seconds since the epoch (as used by gmtime).\n"
15528 " f: Always use fixed point numeric labels.\n"
15529 " g: Draws a grid at the major tick interval.\n"
15530 " h: Draws a grid at the minor tick interval.\n"
15531 " i: Inverts tick marks, so they are drawn outwards, rather than\n"
15532 " inwards.\n"
15533 " l: Labels axis logarithmically. This only affects the labels,\n"
15534 " not the data, and so it is necessary to compute the logarithms\n"
15535 " of data points before passing them to any of the drawing\n"
15536 " routines.\n"
15537 " m: Writes numeric labels at major tick intervals in the\n"
15538 " unconventional location (above box for X, right of box for Y).\n"
15539 " n: Writes numeric labels at major tick intervals in the\n"
15540 " conventional location (below box for X, left of box for Y).\n"
15541 " o: Use custom labelling function to generate axis label text.\n"
15542 " The custom labelling function can be defined with the\n"
15543 " plslabelfunc command.\n"
15544 " s: Enables subticks between major ticks, only valid if t is\n"
15545 " also specified.\n"
15546 " t: Draws major ticks.\n"
15547 " u: Exactly like \"b\" except don't draw edge line.\n"
15548 " w: Exactly like \"c\" except don't draw edge line.\n"
15549 " x: Exactly like \"t\" (including the side effect of the\n"
15550 " numerical labels for the major ticks) except exclude drawing\n"
15551 " the major and minor tick marks.\n"
15552 "\n"
15553 "\n"
15554 " xtick (PLFLT, input) : World coordinate interval between major\n"
15555 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
15556 " generates a suitable tick interval.\n"
15557 "\n"
15558 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
15559 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15560 " generates a suitable minor tick interval.\n"
15561 "\n"
15562 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15563 " options for the y axis. The string can include any combination of\n"
15564 " the letters defined above for xopt, and in addition may contain:\n"
15565 " v: Write numeric labels for the y axis parallel to the base of the\n"
15566 " graph, rather than parallel to the axis.\n"
15567 "\n"
15568 "\n"
15569 " ytick (PLFLT, input) : World coordinate interval between major\n"
15570 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
15571 " generates a suitable tick interval.\n"
15572 "\n"
15573 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
15574 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15575 " generates a suitable minor tick interval.\n"
15576 "\n"
15577 ""},
15578 { "plbin", _wrap_plbin, METH_VARARGS, "\n"
15579 "Plot a histogram from binned data\n"
15580 "\n"
15581 "DESCRIPTION:\n"
15582 "\n"
15583 " Plots a histogram consisting of nbin bins. The value associated with\n"
15584 " the i'th bin is placed in x[i], and the number of points in the bin is\n"
15585 " placed in y[i]. For proper operation, the values in x[i] must form a\n"
15586 " strictly increasing sequence. By default, x[i] is the left-hand edge\n"
15587 " of the i'th bin. If opt=PL_BIN_CENTRED is used, the bin boundaries are\n"
15588 " placed midway between the values in the x vector. Also see plhist for\n"
15589 " drawing histograms from unbinned data.\n"
15590 "\n"
15591 " Redacted form: General: plbin(x, y, opt)\n"
15592 " Python: plbin(nbin, x, y, opt)\n"
15593 "\n"
15594 "\n"
15595 " This function is not used in any examples.\n"
15596 "\n"
15597 "\n"
15598 "\n"
15599 "SYNOPSIS:\n"
15600 "\n"
15601 "plbin(nbin, x, y, opt)\n"
15602 "\n"
15603 "ARGUMENTS:\n"
15604 "\n"
15605 " nbin (PLINT, input) : Number of bins (i.e., number of values in x\n"
15606 " and y vectors.)\n"
15607 "\n"
15608 " x (PLFLT_VECTOR, input) : A vector containing values associated\n"
15609 " with bins. These must form a strictly increasing sequence.\n"
15610 "\n"
15611 " y (PLFLT_VECTOR, input) : A vector containing a number which is\n"
15612 " proportional to the number of points in each bin. This is a PLFLT\n"
15613 " (instead of PLINT) vector so as to allow histograms of\n"
15614 " probabilities, etc.\n"
15615 "\n"
15616 " opt (PLINT, input) : Is a combination of several flags:\n"
15617 " opt=PL_BIN_DEFAULT: The x represent the lower bin boundaries, the\n"
15618 " outer bins are expanded to fill up the entire x-axis and bins of\n"
15619 " zero height are simply drawn.\n"
15620 " opt=PL_BIN_CENTRED|...: The bin boundaries are to be midway\n"
15621 " between the x values. If the values in x are equally spaced,\n"
15622 " the values are the center values of the bins.\n"
15623 " opt=PL_BIN_NOEXPAND|...: The outer bins are drawn with equal\n"
15624 " size as the ones inside.\n"
15625 " opt=PL_BIN_NOEMPTY|...: Bins with zero height are not drawn\n"
15626 " (there is a gap for such bins).\n"
15627 "\n"
15628 ""},
15629 { "plbtime", _wrap_plbtime, METH_O, "\n"
15630 "Calculate broken-down time from continuous time for the current stream\n"
15631 "\n"
15632 "DESCRIPTION:\n"
15633 "\n"
15634 " Calculate broken-down time; year, month, day, hour, min, sec; from\n"
15635 " continuous time, ctime for the current stream. This function is the\n"
15636 " inverse of plctime.\n"
15637 "\n"
15638 " The PLplot definition of broken-down time is a calendar time that\n"
15639 " completely ignores all time zone offsets, i.e., it is the user's\n"
15640 " responsibility to apply those offsets (if so desired) before using the\n"
15641 " PLplot time API. By default broken-down time is defined using the\n"
15642 " proleptic Gregorian calendar without the insertion of leap seconds and\n"
15643 " continuous time is defined as the number of seconds since the Unix\n"
15644 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n"
15645 " broken-down and continuous time are possible, see plconfigtime.\n"
15646 "\n"
15647 " Redacted form: General: plbtime(year, month, day, hour, min, sec,\n"
15648 " ctime)\n"
15649 "\n"
15650 "\n"
15651 " This function is used in example 29.\n"
15652 "\n"
15653 "\n"
15654 "\n"
15655 "SYNOPSIS:\n"
15656 "\n"
15657 "plbtime(year, month, day, hour, min, sec, ctime)\n"
15658 "\n"
15659 "ARGUMENTS:\n"
15660 "\n"
15661 " year (PLINT_NC_SCALAR, output) : Returned value of years with\n"
15662 " positive values corresponding to CE (i.e., 1 = 1 CE, etc.) and\n"
15663 " non-negative values corresponding to BCE (e.g., 0 = 1 BCE, -1 = 2\n"
15664 " BCE, etc.)\n"
15665 "\n"
15666 " month (PLINT_NC_SCALAR, output) : Returned value of month within\n"
15667 " the year in the range from 0 (January) to 11 (December).\n"
15668 "\n"
15669 " day (PLINT_NC_SCALAR, output) : Returned value of day within the\n"
15670 " month in the range from 1 to 31.\n"
15671 "\n"
15672 " hour (PLINT_NC_SCALAR, output) : Returned value of hour within the\n"
15673 " day in the range from 0 to 23.\n"
15674 "\n"
15675 " min (PLINT_NC_SCALAR, output) : Returned value of minute within the\n"
15676 " hour in the range from 0 to 59\n"
15677 "\n"
15678 " sec (PLFLT_NC_SCALAR, output) : Returned value of second within the\n"
15679 " minute in range from 0. to 60.\n"
15680 "\n"
15681 " ctime (PLFLT, input) : Continuous time from which the broken-down\n"
15682 " time is calculated.\n"
15683 "\n"
15684 ""},
15685 { "plbop", _wrap_plbop, METH_NOARGS, "\n"
15686 "Begin a new page\n"
15687 "\n"
15688 "DESCRIPTION:\n"
15689 "\n"
15690 " Begins a new page. For a file driver, the output file is opened if\n"
15691 " necessary. Advancing the page via pleop and plbop is useful when a\n"
15692 " page break is desired at a particular point when plotting to subpages.\n"
15693 " Another use for pleop and plbop is when plotting pages to different\n"
15694 " files, since you can manually set the file name by calling plsfnam\n"
15695 " after the call to pleop. (In fact some drivers may only support a\n"
15696 " single page per file, making this a necessity.) One way to handle\n"
15697 " this case automatically is to page advance via pladv, but enable\n"
15698 " familying (see plsfam) with a small limit on the file size so that a\n"
15699 " new family member file will be created on each page break.\n"
15700 "\n"
15701 " Redacted form: plbop()\n"
15702 "\n"
15703 " This function is used in examples 2 and 20.\n"
15704 "\n"
15705 "\n"
15706 "\n"
15707 "SYNOPSIS:\n"
15708 "\n"
15709 "plbop()\n"
15710 "\n"
15711 ""},
15712 { "plbox", _wrap_plbox, METH_VARARGS, "\n"
15713 "Draw a box with axes, etc\n"
15714 "\n"
15715 "DESCRIPTION:\n"
15716 "\n"
15717 " Draws a box around the currently defined viewport, and labels it with\n"
15718 " world coordinate values appropriate to the window. Thus plbox should\n"
15719 " only be called after defining both viewport and window. The ascii\n"
15720 " character strings xopt and yopt specify how the box should be drawn as\n"
15721 " described below. If ticks and/or subticks are to be drawn for a\n"
15722 " particular axis, the tick intervals and number of subintervals may be\n"
15723 " specified explicitly, or they may be defaulted by setting the\n"
15724 " appropriate arguments to zero.\n"
15725 "\n"
15726 " Redacted form: General: plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n"
15727 "\n"
15728 "\n"
15729 " This function is used in examples 1, 2, 4, 6, 6-12, 14-18, 21, 23-26,\n"
15730 " and 29.\n"
15731 "\n"
15732 "\n"
15733 "\n"
15734 "SYNOPSIS:\n"
15735 "\n"
15736 "plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n"
15737 "\n"
15738 "ARGUMENTS:\n"
15739 "\n"
15740 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15741 " options for the x axis. The string can include any combination of\n"
15742 " the following letters (upper or lower case) in any order: a: Draws\n"
15743 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n"
15744 " (x=0).\n"
15745 " b: Draws bottom (X) or left (Y) edge of frame.\n"
15746 " c: Draws top (X) or right (Y) edge of frame.\n"
15747 " d: Plot labels as date / time. Values are assumed to be\n"
15748 " seconds since the epoch (as used by gmtime).\n"
15749 " f: Always use fixed point numeric labels.\n"
15750 " g: Draws a grid at the major tick interval.\n"
15751 " h: Draws a grid at the minor tick interval.\n"
15752 " i: Inverts tick marks, so they are drawn outwards, rather than\n"
15753 " inwards.\n"
15754 " l: Labels axis logarithmically. This only affects the labels,\n"
15755 " not the data, and so it is necessary to compute the logarithms\n"
15756 " of data points before passing them to any of the drawing\n"
15757 " routines.\n"
15758 " m: Writes numeric labels at major tick intervals in the\n"
15759 " unconventional location (above box for X, right of box for Y).\n"
15760 " n: Writes numeric labels at major tick intervals in the\n"
15761 " conventional location (below box for X, left of box for Y).\n"
15762 " o: Use custom labelling function to generate axis label text.\n"
15763 " The custom labelling function can be defined with the\n"
15764 " plslabelfunc command.\n"
15765 " s: Enables subticks between major ticks, only valid if t is\n"
15766 " also specified.\n"
15767 " t: Draws major ticks.\n"
15768 " u: Exactly like \"b\" except don't draw edge line.\n"
15769 " w: Exactly like \"c\" except don't draw edge line.\n"
15770 " x: Exactly like \"t\" (including the side effect of the\n"
15771 " numerical labels for the major ticks) except exclude drawing\n"
15772 " the major and minor tick marks.\n"
15773 "\n"
15774 "\n"
15775 " xtick (PLFLT, input) : World coordinate interval between major\n"
15776 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
15777 " generates a suitable tick interval.\n"
15778 "\n"
15779 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
15780 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15781 " generates a suitable minor tick interval.\n"
15782 "\n"
15783 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15784 " options for the y axis. The string can include any combination of\n"
15785 " the letters defined above for xopt, and in addition may contain:\n"
15786 " v: Write numeric labels for the y axis parallel to the base of the\n"
15787 " graph, rather than parallel to the axis.\n"
15788 "\n"
15789 "\n"
15790 " ytick (PLFLT, input) : World coordinate interval between major\n"
15791 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
15792 " generates a suitable tick interval.\n"
15793 "\n"
15794 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
15795 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15796 " generates a suitable minor tick interval.\n"
15797 "\n"
15798 ""},
15799 { "plbox3", _wrap_plbox3, METH_VARARGS, "\n"
15800 "Draw a box with axes, etc, in 3-d\n"
15801 "\n"
15802 "DESCRIPTION:\n"
15803 "\n"
15804 " Draws axes, numeric and text labels for a three-dimensional surface\n"
15805 " plot. For a more complete description of three-dimensional plotting\n"
15806 " see the PLplot documentation.\n"
15807 "\n"
15808 " Redacted form: General: plbox3(xopt, xlabel, xtick, nxsub, yopt,\n"
15809 " ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n"
15810 "\n"
15811 "\n"
15812 " This function is used in examples 8, 11, 18, and 21.\n"
15813 "\n"
15814 "\n"
15815 "\n"
15816 "SYNOPSIS:\n"
15817 "\n"
15818 "plbox3(xopt, xlabel, xtick, nxsub, yopt, ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n"
15819 "\n"
15820 "ARGUMENTS:\n"
15821 "\n"
15822 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15823 " options for the x axis. The string can include any combination of\n"
15824 " the following letters (upper or lower case) in any order: b: Draws\n"
15825 " axis at base, at height z=\n"
15826 " zmin where zmin is defined by call to plw3d. This character must be\n"
15827 " specified in order to use any of the other options.\n"
15828 " d: Plot labels as date / time. Values are assumed to be\n"
15829 " seconds since the epoch (as used by gmtime).\n"
15830 " f: Always use fixed point numeric labels.\n"
15831 " i: Inverts tick marks, so they are drawn downwards, rather\n"
15832 " than upwards.\n"
15833 " l: Labels axis logarithmically. This only affects the labels,\n"
15834 " not the data, and so it is necessary to compute the logarithms\n"
15835 " of data points before passing them to any of the drawing\n"
15836 " routines.\n"
15837 " n: Writes numeric labels at major tick intervals.\n"
15838 " o: Use custom labelling function to generate axis label text.\n"
15839 " The custom labelling function can be defined with the\n"
15840 " plslabelfunc command.\n"
15841 " s: Enables subticks between major ticks, only valid if t is\n"
15842 " also specified.\n"
15843 " t: Draws major ticks.\n"
15844 " u: If this is specified, the text label for the axis is\n"
15845 " written under the axis.\n"
15846 "\n"
15847 "\n"
15848 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
15849 " the text label for the x axis. It is only drawn if u is in the\n"
15850 " xopt string.\n"
15851 "\n"
15852 " xtick (PLFLT, input) : World coordinate interval between major\n"
15853 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
15854 " generates a suitable tick interval.\n"
15855 "\n"
15856 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
15857 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15858 " generates a suitable minor tick interval.\n"
15859 "\n"
15860 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15861 " options for the y axis. The string is interpreted in the same way\n"
15862 " as xopt.\n"
15863 "\n"
15864 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
15865 " the text label for the y axis. It is only drawn if u is in the\n"
15866 " yopt string.\n"
15867 "\n"
15868 " ytick (PLFLT, input) : World coordinate interval between major\n"
15869 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
15870 " generates a suitable tick interval.\n"
15871 "\n"
15872 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
15873 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15874 " generates a suitable minor tick interval.\n"
15875 "\n"
15876 " zopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15877 " options for the z axis. The string can include any combination of\n"
15878 " the following letters (upper or lower case) in any order: b: Draws\n"
15879 " z axis to the left of the surface plot.\n"
15880 " c: Draws z axis to the right of the surface plot.\n"
15881 " d: Draws grid lines parallel to the x-y plane behind the\n"
15882 " figure. These lines are not drawn until after plot3d or\n"
15883 " plmesh are called because of the need for hidden line removal.\n"
15884 " e: Plot labels as date / time. Values are assumed to be\n"
15885 " seconds since the epoch (as used by gmtime). Note this\n"
15886 " suboption is interpreted the same as the d suboption for xopt\n"
15887 " and yopt, but it has to be identified as e for zopt since d\n"
15888 " has already been used for the different purpose above.\n"
15889 " f: Always use fixed point numeric labels.\n"
15890 " i: Inverts tick marks, so they are drawn away from the center.\n"
15891 " l: Labels axis logarithmically. This only affects the labels,\n"
15892 " not the data, and so it is necessary to compute the logarithms\n"
15893 " of data points before passing them to any of the drawing\n"
15894 " routines.\n"
15895 " m: Writes numeric labels at major tick intervals on the\n"
15896 " right-hand z axis.\n"
15897 " n: Writes numeric labels at major tick intervals on the\n"
15898 " left-hand z axis.\n"
15899 " o: Use custom labelling function to generate axis label text.\n"
15900 " The custom labelling function can be defined with the\n"
15901 " plslabelfunc command.\n"
15902 " s: Enables subticks between major ticks, only valid if t is\n"
15903 " also specified.\n"
15904 " t: Draws major ticks.\n"
15905 " u: If this is specified, the text label is written beside the\n"
15906 " left-hand axis.\n"
15907 " v: If this is specified, the text label is written beside the\n"
15908 " right-hand axis.\n"
15909 "\n"
15910 "\n"
15911 " zlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
15912 " the text label for the z axis. It is only drawn if u or v are in\n"
15913 " the zopt string.\n"
15914 "\n"
15915 " ztick (PLFLT, input) : World coordinate interval between major\n"
15916 " ticks on the z axis. If it is set to zero, PLplot automatically\n"
15917 " generates a suitable tick interval.\n"
15918 "\n"
15919 " nzsub (PLINT, input) : Number of subintervals between major z axis\n"
15920 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15921 " generates a suitable minor tick interval.\n"
15922 "\n"
15923 ""},
15924 { "plcalc_world", _wrap_plcalc_world, METH_VARARGS, "\n"
15925 "Calculate world coordinates and corresponding window index from relative device coordinates\n"
15926 "\n"
15927 "DESCRIPTION:\n"
15928 "\n"
15929 " Calculate world coordinates, wx and wy, and corresponding window index\n"
15930 " from relative device coordinates, rx and ry.\n"
15931 "\n"
15932 " Redacted form: General: plcalc_world(rx, ry, wx, wy, window)\n"
15933 "\n"
15934 "\n"
15935 " This function is used in example 31.\n"
15936 "\n"
15937 "\n"
15938 "\n"
15939 "SYNOPSIS:\n"
15940 "\n"
15941 "plcalc_world(rx, ry, wx, wy, window)\n"
15942 "\n"
15943 "ARGUMENTS:\n"
15944 "\n"
15945 " rx (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n"
15946 " the x coordinate.\n"
15947 "\n"
15948 " ry (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n"
15949 " the y coordinate.\n"
15950 "\n"
15951 " wx (PLFLT_NC_SCALAR, output) : Returned value of the x world\n"
15952 " coordinate corresponding to the relative device coordinates rx and\n"
15953 " ry.\n"
15954 "\n"
15955 " wy (PLFLT_NC_SCALAR, output) : Returned value of the y world\n"
15956 " coordinate corresponding to the relative device coordinates rx and\n"
15957 " ry.\n"
15958 "\n"
15959 " window (PLINT_NC_SCALAR, output) : Returned value of the last\n"
15960 " defined window index that corresponds to the input relative device\n"
15961 " coordinates (and the returned world coordinates). To give some\n"
15962 " background on the window index, for each page the initial window\n"
15963 " index is set to zero, and each time plwind is called within the\n"
15964 " page, world and device coordinates are stored for the window and\n"
15965 " the window index is incremented. Thus, for a simple page layout\n"
15966 " with non-overlapping viewports and one window per viewport, window\n"
15967 " corresponds to the viewport index (in the order which the\n"
15968 " viewport/windows were created) of the only viewport/window\n"
15969 " corresponding to rx and ry. However, for more complicated layouts\n"
15970 " with potentially overlapping viewports and possibly more than one\n"
15971 " window (set of world coordinates) per viewport, window and the\n"
15972 " corresponding output world coordinates corresponds to the last\n"
15973 " window created that fulfills the criterion that the relative\n"
15974 " device coordinates are inside it. Finally, in all cases where the\n"
15975 " input relative device coordinates are not inside any\n"
15976 " viewport/window, then the returned value of the last defined\n"
15977 " window index is set to -1.\n"
15978 "\n"
15979 ""},
15980 { "plclear", _wrap_plclear, METH_NOARGS, "\n"
15981 "Clear current (sub)page\n"
15982 "\n"
15983 "DESCRIPTION:\n"
15984 "\n"
15985 " Clears the current page, effectively erasing everything that have been\n"
15986 " drawn. This command only works with interactive drivers; if the\n"
15987 " driver does not support this, the page is filled with the background\n"
15988 " color in use. If the current page is divided into subpages, only the\n"
15989 " current subpage is erased. The nth subpage can be selected with\n"
15990 " pladv(n).\n"
15991 "\n"
15992 " Redacted form: General: plclear()\n"
15993 "\n"
15994 "\n"
15995 " This function is not used in any examples.\n"
15996 "\n"
15997 "\n"
15998 "\n"
15999 "SYNOPSIS:\n"
16000 "\n"
16001 "plclear()\n"
16002 "\n"
16003 ""},
16004 { "plcol0", _wrap_plcol0, METH_O, "\n"
16005 "Set color, cmap0\n"
16006 "\n"
16007 "DESCRIPTION:\n"
16008 "\n"
16009 " Sets the color index for cmap0 (see the PLplot documentation).\n"
16010 "\n"
16011 " Redacted form: plcol0(icol0)\n"
16012 "\n"
16013 " This function is used in examples 1-9, 11-16, 18-27, and 29.\n"
16014 "\n"
16015 "\n"
16016 "\n"
16017 "SYNOPSIS:\n"
16018 "\n"
16019 "plcol0(icol0)\n"
16020 "\n"
16021 "ARGUMENTS:\n"
16022 "\n"
16023 " icol0 (PLINT, input) : Integer representing the color. The\n"
16024 " defaults at present are (these may change):\n"
16025 " 0 black (default background)\n"
16026 " 1 red (default foreground)\n"
16027 " 2 yellow\n"
16028 " 3 green\n"
16029 " 4 aquamarine\n"
16030 " 5 pink\n"
16031 " 6 wheat\n"
16032 " 7 grey\n"
16033 " 8 brown\n"
16034 " 9 blue\n"
16035 " 10 BlueViolet\n"
16036 " 11 cyan\n"
16037 " 12 turquoise\n"
16038 " 13 magenta\n"
16039 " 14 salmon\n"
16040 " 15 white\n"
16041 "\n"
16042 " Use plscmap0 to change the entire cmap0 color palette and plscol0 to\n"
16043 " change an individual color in the cmap0 color palette.\n"
16044 "\n"
16045 ""},
16046 { "plcol1", _wrap_plcol1, METH_O, "\n"
16047 "Set color, cmap1\n"
16048 "\n"
16049 "DESCRIPTION:\n"
16050 "\n"
16051 " Sets the color for cmap1 (see the PLplot documentation).\n"
16052 "\n"
16053 " Redacted form: plcol1(col1)\n"
16054 "\n"
16055 " This function is used in examples 12 and 21.\n"
16056 "\n"
16057 "\n"
16058 "\n"
16059 "SYNOPSIS:\n"
16060 "\n"
16061 "plcol1(col1)\n"
16062 "\n"
16063 "ARGUMENTS:\n"
16064 "\n"
16065 " col1 (PLFLT, input) : This value must be in the range (0.0-1.0) and\n"
16066 " is mapped to color using the continuous cmap1 palette which by\n"
16067 " default ranges from blue to the background color to red. The\n"
16068 " cmap1 palette can also be straightforwardly changed by the user\n"
16069 " with plscmap1 or plscmap1l.\n"
16070 "\n"
16071 ""},
16072 { "plconfigtime", _wrap_plconfigtime, METH_VARARGS, "\n"
16073 "Configure the transformation between continuous and broken-down time for the current stream\n"
16074 "\n"
16075 "DESCRIPTION:\n"
16076 "\n"
16077 " Configure the transformation between continuous and broken-down time\n"
16078 " for the current stream. This transformation is used by both plbtime\n"
16079 " and plctime.\n"
16080 "\n"
16081 " Redacted form: General: plconfigtime(scale, offset1, offset2,\n"
16082 " ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n"
16083 "\n"
16084 "\n"
16085 " This function is used in example 29.\n"
16086 "\n"
16087 "\n"
16088 "\n"
16089 "SYNOPSIS:\n"
16090 "\n"
16091 "plconfigtime(scale, offset1, offset2, ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n"
16092 "\n"
16093 "ARGUMENTS:\n"
16094 "\n"
16095 " scale (PLFLT, input) : The number of days per continuous time unit.\n"
16096 " As a special case, if\n"
16097 " scale is 0., then all other arguments are ignored, and the result (the\n"
16098 " default used by PLplot) is the equivalent of a call to\n"
16099 " plconfigtime(1./86400., 0., 0., 0x0, 1, 1970, 0, 1, 0, 0, 0.).\n"
16100 " That is, for this special case broken-down time is calculated with\n"
16101 " the proleptic Gregorian calendar with no leap seconds inserted,\n"
16102 " and the continuous time is defined as the number of seconds since\n"
16103 " the Unix epoch of 1970-01-01T00:00:00Z.\n"
16104 "\n"
16105 " offset1 (PLFLT, input) : If\n"
16106 " ifbtime_offset is true, the parameters\n"
16107 " offset1 and\n"
16108 " offset2 are completely ignored. Otherwise, the sum of these parameters\n"
16109 " (with units in days) specify the epoch of the continuous time\n"
16110 " relative to the MJD epoch corresponding to the Gregorian calendar\n"
16111 " date of 1858-11-17T00:00:00Z or JD = 2400000.5. Two PLFLT numbers\n"
16112 " are used to specify the origin to allow users (by specifying\n"
16113 " offset1 as an integer that can be exactly represented by a\n"
16114 " floating-point variable and specifying\n"
16115 " offset2 as a number in the range from 0. to 1) the chance to minimize\n"
16116 " the numerical errors of the continuous time representation.\n"
16117 "\n"
16118 " offset2 (PLFLT, input) : See documentation of\n"
16119 " offset1.\n"
16120 "\n"
16121 " ccontrol (PLINT, input) : ccontrol contains bits controlling the\n"
16122 " transformation. If the 0x1 bit is set, then the proleptic Julian\n"
16123 " calendar is used for broken-down time rather than the proleptic\n"
16124 " Gregorian calendar. If the 0x2 bit is set, then leap seconds that\n"
16125 " have been historically used to define UTC are inserted into the\n"
16126 " broken-down time. Other possibilities for additional control bits\n"
16127 " for ccontrol exist such as making the historical time corrections\n"
16128 " in the broken-down time corresponding to ET (ephemeris time) or\n"
16129 " making the (slightly non-constant) corrections from international\n"
16130 " atomic time (TAI) to what astronomers define as terrestrial time\n"
16131 " (TT). But those additional possibilities have not been\n"
16132 " implemented yet in the qsastime library (one of the PLplot utility\n"
16133 " libraries).\n"
16134 "\n"
16135 " ifbtime_offset (PLBOOL, input) : ifbtime_offset controls how the\n"
16136 " epoch of the continuous time scale is specified by the user. If\n"
16137 " ifbtime_offset is false, then\n"
16138 " offset1 and\n"
16139 " offset2 are used to specify the epoch, and the following broken-down\n"
16140 " time parameters are completely ignored. If\n"
16141 " ifbtime_offset is true, then\n"
16142 " offset1 and\n"
16143 " offset2 are completely ignored, and the following broken-down time\n"
16144 " parameters are used to specify the epoch.\n"
16145 "\n"
16146 " year (PLINT, input) : Year of epoch.\n"
16147 "\n"
16148 " month (PLINT, input) : Month of epoch in range from 0 (January) to\n"
16149 " 11 (December).\n"
16150 "\n"
16151 " day (PLINT, input) : Day of epoch in range from 1 to 31.\n"
16152 "\n"
16153 " hour (PLINT, input) : Hour of epoch in range from 0 to 23\n"
16154 "\n"
16155 " min (PLINT, input) : Minute of epoch in range from 0 to 59.\n"
16156 "\n"
16157 " sec (PLFLT, input) : Second of epoch in range from 0. to 60.\n"
16158 "\n"
16159 ""},
16160 { "plcont", _wrap_plcont, METH_VARARGS, "\n"
16161 "Contour plot\n"
16162 "\n"
16163 "DESCRIPTION:\n"
16164 "\n"
16165 " Draws a contour plot of the data in f[\n"
16166 " nx][\n"
16167 " ny], using the nlevel contour levels specified by clevel. Only the\n"
16168 " region of the matrix from kx to lx and from ky to ly is plotted out\n"
16169 " where all these index ranges are interpreted as one-based for\n"
16170 " historical reasons. A transformation routine pointed to by pltr with\n"
16171 " a generic pointer pltr_data for additional data required by the\n"
16172 " transformation routine is used to map indices within the matrix to the\n"
16173 " world coordinates.\n"
16174 "\n"
16175 " Redacted form: plcont(f, kx, lx, ky, ly, clevel, pltr, pltr_data)\n"
16176 " where (see above discussion) the pltr, pltr_data callback arguments\n"
16177 " are sometimes replaced by a tr vector with 6 elements; xg and yg\n"
16178 " vectors; or xg and yg matrices.\n"
16179 "\n"
16180 " This function is used in examples 9, 14, 16, and 22.\n"
16181 "\n"
16182 "\n"
16183 "\n"
16184 "SYNOPSIS:\n"
16185 "\n"
16186 "plcont(f, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr, pltr_data)\n"
16187 "\n"
16188 "ARGUMENTS:\n"
16189 "\n"
16190 " f (PLFLT_MATRIX, input) : A matrix containing data to be contoured.\n"
16191 "\n"
16192 " nx, ny (PLINT, input) : The dimensions of the matrix f.\n"
16193 "\n"
16194 " kx, lx (PLINT, input) : Range of x indices to consider where 0 <=\n"
16195 " kx-1 < lx-1 < nx. Values of kx and lx are one-based rather than\n"
16196 " zero-based for historical backwards-compatibility reasons.\n"
16197 "\n"
16198 " ky, ly (PLINT, input) : Range of y indices to consider where 0 <=\n"
16199 " ky-1 < ly-1 < ny. Values of ky and ly are one-based rather than\n"
16200 " zero-based for historical backwards-compatibility reasons.\n"
16201 "\n"
16202 " clevel (PLFLT_VECTOR, input) : A vector specifying the levels at\n"
16203 " which to draw contours.\n"
16204 "\n"
16205 " nlevel (PLINT, input) : Number of contour levels to draw.\n"
16206 "\n"
16207 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
16208 " defines the transformation between the zero-based indices of the\n"
16209 " matrix f and the world coordinates.For the C case, transformation\n"
16210 " functions are provided in the PLplot library: pltr0 for the\n"
16211 " identity mapping, and pltr1 and pltr2 for arbitrary mappings\n"
16212 " respectively defined by vectors and matrices. In addition, C\n"
16213 " callback routines for the transformation can be supplied by the\n"
16214 " user such as the mypltr function in examples/c/x09c.c which\n"
16215 " provides a general linear transformation between index coordinates\n"
16216 " and world coordinates.For languages other than C you should\n"
16217 " consult the PLplot documentation for the details concerning how\n"
16218 " PLTRANSFORM_callback arguments are interfaced. However, in\n"
16219 " general, a particular pattern of callback-associated arguments\n"
16220 " such as a tr vector with 6 elements; xg and yg vectors; or xg and\n"
16221 " yg matrices are respectively interfaced to a linear-transformation\n"
16222 " routine similar to the above mypltr function; pltr1; and pltr2.\n"
16223 " Furthermore, some of our more sophisticated bindings (see, e.g.,\n"
16224 " the PLplot documentation) support native language callbacks for\n"
16225 " handling index to world-coordinate transformations. Examples of\n"
16226 " these various approaches are given in examples/<language>x09*,\n"
16227 " examples/<language>x16*, examples/<language>x20*,\n"
16228 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
16229 " supported languages.\n"
16230 "\n"
16231 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
16232 " information to pltr0, pltr1, pltr2, or whatever callback routine\n"
16233 " that is externally supplied.\n"
16234 "\n"
16235 ""},
16236 { "plctime", _wrap_plctime, METH_VARARGS, "\n"
16237 "Calculate continuous time from broken-down time for the current stream\n"
16238 "\n"
16239 "DESCRIPTION:\n"
16240 "\n"
16241 " Calculate continuous time, ctime, from broken-down time for the\n"
16242 " current stream. The broken-down\n"
16243 " time is specified by the following parameters: year, month, day, hour,\n"
16244 " min, and sec. This function is the inverse of plbtime.\n"
16245 "\n"
16246 " The PLplot definition of broken-down time is a calendar time that\n"
16247 " completely ignores all time zone offsets, i.e., it is the user's\n"
16248 " responsibility to apply those offsets (if so desired) before using the\n"
16249 " PLplot time API. By default broken-down time is defined using the\n"
16250 " proleptic Gregorian calendar without the insertion of leap seconds and\n"
16251 " continuous time is defined as the number of seconds since the Unix\n"
16252 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n"
16253 " broken-down and continuous time are possible, see plconfigtime which\n"
16254 " specifies that transformation for the current stream.\n"
16255 "\n"
16256 " Redacted form: General: plctime(year, month, day, hour, min, sec,\n"
16257 " ctime)\n"
16258 "\n"
16259 "\n"
16260 " This function is used in example 29.\n"
16261 "\n"
16262 "\n"
16263 "\n"
16264 "SYNOPSIS:\n"
16265 "\n"
16266 "plctime(year, month, day, hour, min, sec, ctime)\n"
16267 "\n"
16268 "ARGUMENTS:\n"
16269 "\n"
16270 " year (PLINT, input) : Input year.\n"
16271 "\n"
16272 " month (PLINT, input) : Input month in range from 0 (January) to 11\n"
16273 " (December).\n"
16274 "\n"
16275 " day (PLINT, input) : Input day in range from 1 to 31.\n"
16276 "\n"
16277 " hour (PLINT, input) : Input hour in range from 0 to 23\n"
16278 "\n"
16279 " min (PLINT, input) : Input minute in range from 0 to 59.\n"
16280 "\n"
16281 " sec (PLFLT, input) : Input second in range from 0. to 60.\n"
16282 "\n"
16283 " ctime (PLFLT_NC_SCALAR, output) : Returned value of the continuous\n"
16284 " time calculated from the broken-down time specified by the\n"
16285 " previous parameters.\n"
16286 "\n"
16287 ""},
16288 { "plcpstrm", _wrap_plcpstrm, METH_VARARGS, "\n"
16289 "Copy state parameters from the reference stream to the current stream\n"
16290 "\n"
16291 "DESCRIPTION:\n"
16292 "\n"
16293 " Copies state parameters from the reference stream to the current\n"
16294 " stream. Tell driver interface to map device coordinates unless flags\n"
16295 " == 1.\n"
16296 "\n"
16297 " This function is used for making save files of selected plots (e.g.\n"
16298 " from the TK driver). After initializing, you can get a copy of the\n"
16299 " current plot to the specified device by switching to this stream and\n"
16300 " issuing a plcpstrm and a plreplot, with calls to plbop and pleop as\n"
16301 " appropriate. The plot buffer must have previously been enabled (done\n"
16302 " automatically by some display drivers, such as X).\n"
16303 "\n"
16304 " Redacted form: plcpstrm(iplsr, flags)\n"
16305 "\n"
16306 " This function is used in example 1,20.\n"
16307 "\n"
16308 "\n"
16309 "\n"
16310 "SYNOPSIS:\n"
16311 "\n"
16312 "plcpstrm(iplsr, flags)\n"
16313 "\n"
16314 "ARGUMENTS:\n"
16315 "\n"
16316 " iplsr (PLINT, input) : Number of reference stream.\n"
16317 "\n"
16318 " flags (PLBOOL, input) : If flags is set to true the device\n"
16319 " coordinates are not copied from the reference to current stream.\n"
16320 "\n"
16321 ""},
16322 { "plend", _wrap_plend, METH_NOARGS, "\n"
16323 "End plotting session\n"
16324 "\n"
16325 "DESCRIPTION:\n"
16326 "\n"
16327 " Ends a plotting session, tidies up all the output files, switches\n"
16328 " interactive devices back into text mode and frees up any memory that\n"
16329 " was allocated. Must be called before end of program.\n"
16330 "\n"
16331 " By default, PLplot's interactive devices (Xwin, TK, etc.) go into a\n"
16332 " wait state after a call to plend or other functions which trigger the\n"
16333 " end of a plot page. To avoid this, use the plspause function.\n"
16334 "\n"
16335 " Redacted form: plend()\n"
16336 "\n"
16337 " This function is used in all of the examples.\n"
16338 "\n"
16339 "\n"
16340 "\n"
16341 "SYNOPSIS:\n"
16342 "\n"
16343 "plend()\n"
16344 "\n"
16345 ""},
16346 { "plend1", _wrap_plend1, METH_NOARGS, "\n"
16347 "End plotting session for current stream\n"
16348 "\n"
16349 "DESCRIPTION:\n"
16350 "\n"
16351 " Ends a plotting session for the current output stream only. See\n"
16352 " plsstrm for more info.\n"
16353 "\n"
16354 " Redacted form: plend1()\n"
16355 "\n"
16356 " This function is used in examples 1 and 20.\n"
16357 "\n"
16358 "\n"
16359 "\n"
16360 "SYNOPSIS:\n"
16361 "\n"
16362 "plend1()\n"
16363 "\n"
16364 ""},
16365 { "plenv", _wrap_plenv, METH_VARARGS, "\n"
16366 "Set up standard window and draw box\n"
16367 "\n"
16368 "DESCRIPTION:\n"
16369 "\n"
16370 " Sets up plotter environment for simple graphs by calling pladv and\n"
16371 " setting up viewport and window to sensible default values. plenv\n"
16372 " leaves a standard margin (left-hand margin of eight character heights,\n"
16373 " and a margin around the other three sides of five character heights)\n"
16374 " around most graphs for axis labels and a title. When these defaults\n"
16375 " are not suitable, use the individual routines plvpas, plvpor, or\n"
16376 " plvasp for setting up the viewport, plwind for defining the window,\n"
16377 " and plbox for drawing the box.\n"
16378 "\n"
16379 " Redacted form: plenv(xmin, xmax, ymin, ymax, just, axis)\n"
16380 "\n"
16381 " This function is used in example 1,3,9,13,14,19-22,29.\n"
16382 "\n"
16383 "\n"
16384 "\n"
16385 "SYNOPSIS:\n"
16386 "\n"
16387 "plenv(xmin, xmax, ymin, ymax, just, axis)\n"
16388 "\n"
16389 "ARGUMENTS:\n"
16390 "\n"
16391 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n"
16392 " world coordinates).\n"
16393 "\n"
16394 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n"
16395 " world coordinates).\n"
16396 "\n"
16397 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n"
16398 " coordinates).\n"
16399 "\n"
16400 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n"
16401 " coordinates).\n"
16402 "\n"
16403 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n"
16404 " scales will not be set, the user must set up the scale before\n"
16405 " calling plenv using plsvpa, plvasp or other.\n"
16406 " 0: the x and y axes are scaled independently to use as much of\n"
16407 " the screen as possible.\n"
16408 " 1: the scales of the x and y axes are made equal.\n"
16409 " 2: the axis of the x and y axes are made equal, and the plot\n"
16410 " box will be square.\n"
16411 "\n"
16412 "\n"
16413 " axis (PLINT, input) : Controls drawing of the box around the plot:\n"
16414 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n"
16415 " -1: draw box only.\n"
16416 " 0: draw box, ticks, and numeric tick labels.\n"
16417 " 1: also draw coordinate axes at x=0 and y=0.\n"
16418 " 2: also draw a grid at major tick positions in both\n"
16419 " coordinates.\n"
16420 " 3: also draw a grid at minor tick positions in both\n"
16421 " coordinates.\n"
16422 " 10: same as 0 except logarithmic x tick marks. (The x data\n"
16423 " have to be converted to logarithms separately.)\n"
16424 " 11: same as 1 except logarithmic x tick marks. (The x data\n"
16425 " have to be converted to logarithms separately.)\n"
16426 " 12: same as 2 except logarithmic x tick marks. (The x data\n"
16427 " have to be converted to logarithms separately.)\n"
16428 " 13: same as 3 except logarithmic x tick marks. (The x data\n"
16429 " have to be converted to logarithms separately.)\n"
16430 " 20: same as 0 except logarithmic y tick marks. (The y data\n"
16431 " have to be converted to logarithms separately.)\n"
16432 " 21: same as 1 except logarithmic y tick marks. (The y data\n"
16433 " have to be converted to logarithms separately.)\n"
16434 " 22: same as 2 except logarithmic y tick marks. (The y data\n"
16435 " have to be converted to logarithms separately.)\n"
16436 " 23: same as 3 except logarithmic y tick marks. (The y data\n"
16437 " have to be converted to logarithms separately.)\n"
16438 " 30: same as 0 except logarithmic x and y tick marks. (The x\n"
16439 " and y data have to be converted to logarithms separately.)\n"
16440 " 31: same as 1 except logarithmic x and y tick marks. (The x\n"
16441 " and y data have to be converted to logarithms separately.)\n"
16442 " 32: same as 2 except logarithmic x and y tick marks. (The x\n"
16443 " and y data have to be converted to logarithms separately.)\n"
16444 " 33: same as 3 except logarithmic x and y tick marks. (The x\n"
16445 " and y data have to be converted to logarithms separately.)\n"
16446 " 40: same as 0 except date / time x labels.\n"
16447 " 41: same as 1 except date / time x labels.\n"
16448 " 42: same as 2 except date / time x labels.\n"
16449 " 43: same as 3 except date / time x labels.\n"
16450 " 50: same as 0 except date / time y labels.\n"
16451 " 51: same as 1 except date / time y labels.\n"
16452 " 52: same as 2 except date / time y labels.\n"
16453 " 53: same as 3 except date / time y labels.\n"
16454 " 60: same as 0 except date / time x and y labels.\n"
16455 " 61: same as 1 except date / time x and y labels.\n"
16456 " 62: same as 2 except date / time x and y labels.\n"
16457 " 63: same as 3 except date / time x and y labels.\n"
16458 " 70: same as 0 except custom x and y labels.\n"
16459 " 71: same as 1 except custom x and y labels.\n"
16460 " 72: same as 2 except custom x and y labels.\n"
16461 " 73: same as 3 except custom x and y labels.\n"
16462 "\n"
16463 ""},
16464 { "plenv0", _wrap_plenv0, METH_VARARGS, "\n"
16465 "Same as plenv but if in multiplot mode does not advance the subpage, instead clears it\n"
16466 "\n"
16467 "DESCRIPTION:\n"
16468 "\n"
16469 " Sets up plotter environment for simple graphs by calling pladv and\n"
16470 " setting up viewport and window to sensible default values. plenv0\n"
16471 " leaves a standard margin (left-hand margin of eight character heights,\n"
16472 " and a margin around the other three sides of five character heights)\n"
16473 " around most graphs for axis labels and a title. When these defaults\n"
16474 " are not suitable, use the individual routines plvpas, plvpor, or\n"
16475 " plvasp for setting up the viewport, plwind for defining the window,\n"
16476 " and plbox for drawing the box.\n"
16477 "\n"
16478 " Redacted form: plenv0(xmin, xmax, ymin, ymax, just, axis)\n"
16479 "\n"
16480 " This function is used in example 21.\n"
16481 "\n"
16482 "\n"
16483 "\n"
16484 "SYNOPSIS:\n"
16485 "\n"
16486 "plenv0(xmin, xmax, ymin, ymax, just, axis)\n"
16487 "\n"
16488 "ARGUMENTS:\n"
16489 "\n"
16490 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n"
16491 " world coordinates).\n"
16492 "\n"
16493 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n"
16494 " world coordinates).\n"
16495 "\n"
16496 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n"
16497 " coordinates).\n"
16498 "\n"
16499 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n"
16500 " coordinates).\n"
16501 "\n"
16502 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n"
16503 " scales will not be set, the user must set up the scale before\n"
16504 " calling plenv0 using plsvpa, plvasp or other.\n"
16505 " 0: the x and y axes are scaled independently to use as much of\n"
16506 " the screen as possible.\n"
16507 " 1: the scales of the x and y axes are made equal.\n"
16508 " 2: the axis of the x and y axes are made equal, and the plot\n"
16509 " box will be square.\n"
16510 "\n"
16511 "\n"
16512 " axis (PLINT, input) : Controls drawing of the box around the plot:\n"
16513 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n"
16514 " -1: draw box only.\n"
16515 " 0: draw box, ticks, and numeric tick labels.\n"
16516 " 1: also draw coordinate axes at x=0 and y=0.\n"
16517 " 2: also draw a grid at major tick positions in both\n"
16518 " coordinates.\n"
16519 " 3: also draw a grid at minor tick positions in both\n"
16520 " coordinates.\n"
16521 " 10: same as 0 except logarithmic x tick marks. (The x data\n"
16522 " have to be converted to logarithms separately.)\n"
16523 " 11: same as 1 except logarithmic x tick marks. (The x data\n"
16524 " have to be converted to logarithms separately.)\n"
16525 " 12: same as 2 except logarithmic x tick marks. (The x data\n"
16526 " have to be converted to logarithms separately.)\n"
16527 " 13: same as 3 except logarithmic x tick marks. (The x data\n"
16528 " have to be converted to logarithms separately.)\n"
16529 " 20: same as 0 except logarithmic y tick marks. (The y data\n"
16530 " have to be converted to logarithms separately.)\n"
16531 " 21: same as 1 except logarithmic y tick marks. (The y data\n"
16532 " have to be converted to logarithms separately.)\n"
16533 " 22: same as 2 except logarithmic y tick marks. (The y data\n"
16534 " have to be converted to logarithms separately.)\n"
16535 " 23: same as 3 except logarithmic y tick marks. (The y data\n"
16536 " have to be converted to logarithms separately.)\n"
16537 " 30: same as 0 except logarithmic x and y tick marks. (The x\n"
16538 " and y data have to be converted to logarithms separately.)\n"
16539 " 31: same as 1 except logarithmic x and y tick marks. (The x\n"
16540 " and y data have to be converted to logarithms separately.)\n"
16541 " 32: same as 2 except logarithmic x and y tick marks. (The x\n"
16542 " and y data have to be converted to logarithms separately.)\n"
16543 " 33: same as 3 except logarithmic x and y tick marks. (The x\n"
16544 " and y data have to be converted to logarithms separately.)\n"
16545 " 40: same as 0 except date / time x labels.\n"
16546 " 41: same as 1 except date / time x labels.\n"
16547 " 42: same as 2 except date / time x labels.\n"
16548 " 43: same as 3 except date / time x labels.\n"
16549 " 50: same as 0 except date / time y labels.\n"
16550 " 51: same as 1 except date / time y labels.\n"
16551 " 52: same as 2 except date / time y labels.\n"
16552 " 53: same as 3 except date / time y labels.\n"
16553 " 60: same as 0 except date / time x and y labels.\n"
16554 " 61: same as 1 except date / time x and y labels.\n"
16555 " 62: same as 2 except date / time x and y labels.\n"
16556 " 63: same as 3 except date / time x and y labels.\n"
16557 " 70: same as 0 except custom x and y labels.\n"
16558 " 71: same as 1 except custom x and y labels.\n"
16559 " 72: same as 2 except custom x and y labels.\n"
16560 " 73: same as 3 except custom x and y labels.\n"
16561 "\n"
16562 ""},
16563 { "pleop", _wrap_pleop, METH_NOARGS, "\n"
16564 "Eject current page\n"
16565 "\n"
16566 "DESCRIPTION:\n"
16567 "\n"
16568 " Clears the graphics screen of an interactive device, or ejects a page\n"
16569 " on a plotter. See plbop for more information.\n"
16570 "\n"
16571 " Redacted form: pleop()\n"
16572 "\n"
16573 " This function is used in example 2,14.\n"
16574 "\n"
16575 "\n"
16576 "\n"
16577 "SYNOPSIS:\n"
16578 "\n"
16579 "pleop()\n"
16580 "\n"
16581 ""},
16582 { "plerrx", _wrap_plerrx, METH_VARARGS, "\n"
16583 "Draw error bars in x direction\n"
16584 "\n"
16585 "DESCRIPTION:\n"
16586 "\n"
16587 " Draws a set of n error bars in x direction, the i'th error bar\n"
16588 " extending from xmin[i] to xmax[i] at y coordinate y[i]. The terminals\n"
16589 " of the error bars are of length equal to the minor tick length\n"
16590 " (settable using plsmin).\n"
16591 "\n"
16592 " Redacted form: General: plerrx(xmin, ymax, y)\n"
16593 "\n"
16594 "\n"
16595 " This function is used in example 29.\n"
16596 "\n"
16597 "\n"
16598 "\n"
16599 "SYNOPSIS:\n"
16600 "\n"
16601 "plerrx(n, xmin, xmax, y)\n"
16602 "\n"
16603 "ARGUMENTS:\n"
16604 "\n"
16605 " n (PLINT, input) : Number of error bars to draw.\n"
16606 "\n"
16607 " xmin (PLFLT_VECTOR, input) : A vector containing the x coordinates\n"
16608 " of the left-hand endpoints of the error bars.\n"
16609 "\n"
16610 " xmax (PLFLT_VECTOR, input) : A vector containing the x coordinates\n"
16611 " of the right-hand endpoints of the error bars.\n"
16612 "\n"
16613 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16614 " the error bars.\n"
16615 "\n"
16616 ""},
16617 { "plerry", _wrap_plerry, METH_VARARGS, "\n"
16618 "Draw error bars in the y direction\n"
16619 "\n"
16620 "DESCRIPTION:\n"
16621 "\n"
16622 " Draws a set of n error bars in the y direction, the i'th error bar\n"
16623 " extending from ymin[i] to ymax[i] at x coordinate x[i]. The terminals\n"
16624 " of the error bars are of length equal to the minor tick length\n"
16625 " (settable using plsmin).\n"
16626 "\n"
16627 " Redacted form: General: plerry(x, ymin, ymax)\n"
16628 "\n"
16629 "\n"
16630 " This function is used in example 29.\n"
16631 "\n"
16632 "\n"
16633 "\n"
16634 "SYNOPSIS:\n"
16635 "\n"
16636 "plerry(n, x, ymin, ymax)\n"
16637 "\n"
16638 "ARGUMENTS:\n"
16639 "\n"
16640 " n (PLINT, input) : Number of error bars to draw.\n"
16641 "\n"
16642 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16643 " the error bars.\n"
16644 "\n"
16645 " ymin (PLFLT_VECTOR, input) : A vector containing the y coordinates\n"
16646 " of the lower endpoints of the error bars.\n"
16647 "\n"
16648 " ymax (PLFLT_VECTOR, input) : A vector containing the y coordinates\n"
16649 " of the upper endpoints of the error bars.\n"
16650 "\n"
16651 ""},
16652 { "plfamadv", _wrap_plfamadv, METH_NOARGS, "\n"
16653 "Advance to the next family file on the next new page\n"
16654 "\n"
16655 "DESCRIPTION:\n"
16656 "\n"
16657 " Advance to the next family file on the next new page.\n"
16658 "\n"
16659 " Redacted form: plfamadv()\n"
16660 "\n"
16661 " This function is not used in any examples.\n"
16662 "\n"
16663 "\n"
16664 "\n"
16665 "SYNOPSIS:\n"
16666 "\n"
16667 "plfamadv()\n"
16668 "\n"
16669 ""},
16670 { "plfill", _wrap_plfill, METH_VARARGS, "\n"
16671 "Draw filled polygon\n"
16672 "\n"
16673 "DESCRIPTION:\n"
16674 "\n"
16675 " Fills the polygon defined by the n points (\n"
16676 " x[i],\n"
16677 " y[i]) using the pattern defined by plpsty or plpat. The default fill\n"
16678 " style is a solid fill. The routine will automatically close the\n"
16679 " polygon between the last and first vertices. If multiple closed\n"
16680 " polygons are passed in x and y then plfill will fill in between them.\n"
16681 "\n"
16682 " Redacted form: plfill(x,y)\n"
16683 "\n"
16684 " This function is used in examples 12, 13, 15, 16, 21, 24, and 25.\n"
16685 "\n"
16686 "\n"
16687 "\n"
16688 "SYNOPSIS:\n"
16689 "\n"
16690 "plfill(n, x, y)\n"
16691 "\n"
16692 "ARGUMENTS:\n"
16693 "\n"
16694 " n (PLINT, input) : Number of vertices in polygon.\n"
16695 "\n"
16696 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16697 " vertices.\n"
16698 "\n"
16699 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16700 " vertices.\n"
16701 "\n"
16702 ""},
16703 { "plfill3", _wrap_plfill3, METH_VARARGS, "\n"
16704 "Draw filled polygon in 3D\n"
16705 "\n"
16706 "DESCRIPTION:\n"
16707 "\n"
16708 " Fills the 3D polygon defined by the n points in the x, y, and z\n"
16709 " vectors using the pattern defined by plpsty or plpat. The routine\n"
16710 " will automatically close the polygon between the last and first\n"
16711 " vertices. If multiple closed polygons are passed in x, y, and z then\n"
16712 " plfill3 will fill in between them.\n"
16713 "\n"
16714 " Redacted form: General: plfill3(x, y, z)\n"
16715 "\n"
16716 "\n"
16717 " This function is used in example 15.\n"
16718 "\n"
16719 "\n"
16720 "\n"
16721 "SYNOPSIS:\n"
16722 "\n"
16723 "plfill3(n, x, y, z)\n"
16724 "\n"
16725 "ARGUMENTS:\n"
16726 "\n"
16727 " n (PLINT, input) : Number of vertices in polygon.\n"
16728 "\n"
16729 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16730 " vertices.\n"
16731 "\n"
16732 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16733 " vertices.\n"
16734 "\n"
16735 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
16736 " vertices.\n"
16737 "\n"
16738 ""},
16739 { "plgradient", _wrap_plgradient, METH_VARARGS, "\n"
16740 "Draw linear gradient inside polygon\n"
16741 "\n"
16742 "DESCRIPTION:\n"
16743 "\n"
16744 " Draw a linear gradient using cmap1 inside the polygon defined by the n\n"
16745 " points (\n"
16746 " x[i],\n"
16747 " y[i]). Interpretation of the polygon is the same as for plfill. The\n"
16748 " polygon coordinates and the gradient angle are all expressed in world\n"
16749 " coordinates. The angle from the x axis for both the rotated\n"
16750 " coordinate system and the gradient vector is specified by angle. The\n"
16751 " magnitude of the gradient vector is the difference between the maximum\n"
16752 " and minimum values of x for the vertices in the rotated coordinate\n"
16753 " system. The origin of the gradient vector can be interpreted as being\n"
16754 " anywhere on the line corresponding to the minimum x value for the\n"
16755 " vertices in the rotated coordinate system. The distance along the\n"
16756 " gradient vector is linearly transformed to the independent variable of\n"
16757 " color map 1 which ranges from 0. at the tail of the gradient vector to\n"
16758 " 1. at the head of the gradient vector. What is drawn is the RGBA\n"
16759 " color corresponding to the independent variable of cmap1. For more\n"
16760 " information about cmap1 (see the PLplot documentation).\n"
16761 "\n"
16762 " Redacted form: plgradient(x,y,angle)\n"
16763 "\n"
16764 " This function is used in examples 25 and 30.\n"
16765 "\n"
16766 "\n"
16767 "\n"
16768 "SYNOPSIS:\n"
16769 "\n"
16770 "plgradient(n, x, y, angle)\n"
16771 "\n"
16772 "ARGUMENTS:\n"
16773 "\n"
16774 " n (PLINT, input) : Number of vertices in polygon.\n"
16775 "\n"
16776 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16777 " vertices.\n"
16778 "\n"
16779 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16780 " vertices.\n"
16781 "\n"
16782 " angle (PLFLT, input) : Angle (degrees) of gradient vector from x\n"
16783 " axis.\n"
16784 "\n"
16785 ""},
16786 { "plflush", _wrap_plflush, METH_NOARGS, "\n"
16787 "Flushes the output stream\n"
16788 "\n"
16789 "DESCRIPTION:\n"
16790 "\n"
16791 " Flushes the output stream. Use sparingly, if at all.\n"
16792 "\n"
16793 " Redacted form: plflush()\n"
16794 "\n"
16795 " This function is used in examples 1 and 14.\n"
16796 "\n"
16797 "\n"
16798 "\n"
16799 "SYNOPSIS:\n"
16800 "\n"
16801 "plflush()\n"
16802 "\n"
16803 ""},
16804 { "plfont", _wrap_plfont, METH_O, "\n"
16805 "Set font\n"
16806 "\n"
16807 "DESCRIPTION:\n"
16808 "\n"
16809 " Sets the font used for subsequent text and symbols. For devices that\n"
16810 " still use Hershey fonts this routine has no effect unless the Hershey\n"
16811 " fonts with extended character set are loaded (see plfontld). For\n"
16812 " unicode-aware devices that use system fonts instead of Hershey fonts,\n"
16813 " this routine calls the plsfci routine with argument set up\n"
16814 " appropriately for the various cases below. However, this method of\n"
16815 " specifying the font for unicode-aware devices is deprecated, and the\n"
16816 " much more flexible method of calling plsfont directly is recommended\n"
16817 " instead (where plsfont provides a user-friendly interface to plsfci),\n"
16818 "\n"
16819 " Redacted form: plfont(ifont)\n"
16820 "\n"
16821 " This function is used in examples 1, 2, 4, 7, 13, 24, and 26.\n"
16822 "\n"
16823 "\n"
16824 "\n"
16825 "SYNOPSIS:\n"
16826 "\n"
16827 "plfont(ifont)\n"
16828 "\n"
16829 "ARGUMENTS:\n"
16830 "\n"
16831 " ifont (PLINT, input) : Specifies the font: 1: Sans serif font\n"
16832 " (simplest and fastest)\n"
16833 " 2: Serif font\n"
16834 " 3: Italic font\n"
16835 " 4: Script font\n"
16836 "\n"
16837 ""},
16838 { "plfontld", _wrap_plfontld, METH_O, "\n"
16839 "Load Hershey fonts\n"
16840 "\n"
16841 "DESCRIPTION:\n"
16842 "\n"
16843 " Loads the Hershey fonts used for text and symbols. This routine may\n"
16844 " be called before or after initializing PLplot. If not explicitly\n"
16845 " called before PLplot initialization, then by default that\n"
16846 " initialization loads Hershey fonts with the extended character set.\n"
16847 " This routine only has a practical effect for devices that still use\n"
16848 " Hershey fonts (as opposed to modern devices that use unicode-aware\n"
16849 " system fonts instead of Hershey fonts).\n"
16850 "\n"
16851 " Redacted form: plfontld(fnt)\n"
16852 "\n"
16853 " This function is used in examples 1 and 7.\n"
16854 "\n"
16855 "\n"
16856 "\n"
16857 "SYNOPSIS:\n"
16858 "\n"
16859 "plfontld(fnt)\n"
16860 "\n"
16861 "ARGUMENTS:\n"
16862 "\n"
16863 " fnt (PLINT, input) : Specifies the type of Hershey fonts to load.\n"
16864 " A zero value specifies Hershey fonts with the standard character\n"
16865 " set and a non-zero value (the default assumed if plfontld is never\n"
16866 " called) specifies Hershey fonts with the extended character set.\n"
16867 "\n"
16868 ""},
16869 { "plgchr", _wrap_plgchr, METH_NOARGS, "\n"
16870 "Get character default height and current (scaled) height\n"
16871 "\n"
16872 "DESCRIPTION:\n"
16873 "\n"
16874 " Get character default height and current (scaled) height.\n"
16875 "\n"
16876 " Redacted form: plgchr(p_def, p_ht)\n"
16877 "\n"
16878 " This function is used in example 23.\n"
16879 "\n"
16880 "\n"
16881 "\n"
16882 "SYNOPSIS:\n"
16883 "\n"
16884 "plgchr(p_def, p_ht)\n"
16885 "\n"
16886 "ARGUMENTS:\n"
16887 "\n"
16888 " p_def (PLFLT_NC_SCALAR, output) : Returned value of the default\n"
16889 " character height (mm).\n"
16890 "\n"
16891 " p_ht (PLFLT_NC_SCALAR, output) : Returned value of the scaled\n"
16892 " character height (mm).\n"
16893 "\n"
16894 ""},
16895 { "plgcol0", _wrap_plgcol0, METH_O, "\n"
16896 "Returns 8-bit RGB values for given color index from cmap0\n"
16897 "\n"
16898 "DESCRIPTION:\n"
16899 "\n"
16900 " Returns 8-bit RGB values (0-255) for given color from cmap0 (see the\n"
16901 " PLplot documentation). Values are negative if an invalid color id is\n"
16902 " given.\n"
16903 "\n"
16904 " Redacted form: plgcol0(icol0, r, g, b)\n"
16905 "\n"
16906 " This function is used in example 2.\n"
16907 "\n"
16908 "\n"
16909 "\n"
16910 "SYNOPSIS:\n"
16911 "\n"
16912 "plgcol0(icol0, r, g, b)\n"
16913 "\n"
16914 "ARGUMENTS:\n"
16915 "\n"
16916 " icol0 (PLINT, input) : Index of desired cmap0 color.\n"
16917 "\n"
16918 " r (PLINT_NC_SCALAR, output) : Returned value of the 8-bit red\n"
16919 " value.\n"
16920 "\n"
16921 " g (PLINT_NC_SCALAR, output) : Returned value of the 8-bit green\n"
16922 " value.\n"
16923 "\n"
16924 " b (PLINT_NC_SCALAR, output) : Returned value of the 8-bit blue\n"
16925 " value.\n"
16926 "\n"
16927 ""},
16928 { "plgcol0a", _wrap_plgcol0a, METH_O, "\n"
16929 "Returns 8-bit RGB values and PLFLT alpha transparency value for given color index from cmap0\n"
16930 "\n"
16931 "DESCRIPTION:\n"
16932 "\n"
16933 " Returns 8-bit RGB values (0-255) and PLFLT alpha transparency value\n"
16934 " (0.0-1.0) for given color from cmap0 (see the PLplot documentation).\n"
16935 " Values are negative if an invalid color id is given.\n"
16936 "\n"
16937 " Redacted form: plgcola(r, g, b)\n"
16938 "\n"
16939 " This function is used in example 30.\n"
16940 "\n"
16941 "\n"
16942 "\n"
16943 "SYNOPSIS:\n"
16944 "\n"
16945 "plgcol0a(icol0, r, g, b, alpha)\n"
16946 "\n"
16947 "ARGUMENTS:\n"
16948 "\n"
16949 " icol0 (PLINT, input) : Index of desired cmap0 color.\n"
16950 "\n"
16951 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
16952 " in the range from 0 to 255.\n"
16953 "\n"
16954 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
16955 " in the range from 0 to 255.\n"
16956 "\n"
16957 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
16958 " in the range from 0 to 255.\n"
16959 "\n"
16960 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n"
16961 " transparency in the range from (0.0-1.0).\n"
16962 "\n"
16963 ""},
16964 { "plgcolbg", _wrap_plgcolbg, METH_NOARGS, "\n"
16965 "Returns the background color (cmap0[0]) by 8-bit RGB value\n"
16966 "\n"
16967 "DESCRIPTION:\n"
16968 "\n"
16969 " Returns the background color (cmap0[0]) by 8-bit RGB value.\n"
16970 "\n"
16971 " Redacted form: plgcolbg(r, g, b)\n"
16972 "\n"
16973 " This function is used in example 31.\n"
16974 "\n"
16975 "\n"
16976 "\n"
16977 "SYNOPSIS:\n"
16978 "\n"
16979 "plgcolbg(r, g, b)\n"
16980 "\n"
16981 "ARGUMENTS:\n"
16982 "\n"
16983 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
16984 " in the range from 0 to 255.\n"
16985 "\n"
16986 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
16987 " in the range from 0 to 255.\n"
16988 "\n"
16989 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
16990 " in the range from 0 to 255.\n"
16991 "\n"
16992 ""},
16993 { "plgcolbga", _wrap_plgcolbga, METH_NOARGS, "\n"
16994 "Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT alpha transparency value\n"
16995 "\n"
16996 "DESCRIPTION:\n"
16997 "\n"
16998 " Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT\n"
16999 " alpha transparency value.\n"
17000 "\n"
17001 " This function is used in example 31.\n"
17002 "\n"
17003 "\n"
17004 "\n"
17005 "SYNOPSIS:\n"
17006 "\n"
17007 "plgcolbga(r, g, b, alpha)\n"
17008 "\n"
17009 "ARGUMENTS:\n"
17010 "\n"
17011 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
17012 " in the range from 0 to 255.\n"
17013 "\n"
17014 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
17015 " in the range from 0 to 255.\n"
17016 "\n"
17017 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
17018 " in the range from 0 to 255.\n"
17019 "\n"
17020 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n"
17021 " transparency in the range (0.0-1.0).\n"
17022 "\n"
17023 ""},
17024 { "plgcompression", _wrap_plgcompression, METH_NOARGS, "\n"
17025 "Get the current device-compression setting\n"
17026 "\n"
17027 "DESCRIPTION:\n"
17028 "\n"
17029 " Get the current device-compression setting. This parameter is only\n"
17030 " used for drivers that provide compression.\n"
17031 "\n"
17032 " Redacted form: plgcompression(compression)\n"
17033 "\n"
17034 " This function is used in example 31.\n"
17035 "\n"
17036 "\n"
17037 "\n"
17038 "SYNOPSIS:\n"
17039 "\n"
17040 "plgcompression(compression)\n"
17041 "\n"
17042 "ARGUMENTS:\n"
17043 "\n"
17044 " compression (PLINT_NC_SCALAR, output) : Returned value of the\n"
17045 " compression setting for the current device.\n"
17046 "\n"
17047 ""},
17048 { "plgdev", _wrap_plgdev, METH_NOARGS, "\n"
17049 "Get the current device (keyword) name\n"
17050 "\n"
17051 "DESCRIPTION:\n"
17052 "\n"
17053 " Get the current device (keyword) name. Note: you must have allocated\n"
17054 " space for this (80 characters is safe).\n"
17055 "\n"
17056 " Redacted form: plgdev(p_dev)\n"
17057 "\n"
17058 " This function is used in example 14.\n"
17059 "\n"
17060 "\n"
17061 "\n"
17062 "SYNOPSIS:\n"
17063 "\n"
17064 "plgdev(p_dev)\n"
17065 "\n"
17066 "ARGUMENTS:\n"
17067 "\n"
17068 " p_dev (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
17069 " (with preallocated length of 80 characters or more) containing the\n"
17070 " device (keyword) name.\n"
17071 "\n"
17072 ""},
17073 { "plgdidev", _wrap_plgdidev, METH_NOARGS, "\n"
17074 "Get parameters that define current device-space window\n"
17075 "\n"
17076 "DESCRIPTION:\n"
17077 "\n"
17078 " Get relative margin width, aspect ratio, and relative justification\n"
17079 " that define current device-space window. If plsdidev has not been\n"
17080 " called the default values pointed to by p_mar, p_aspect, p_jx, and\n"
17081 " p_jy will all be 0.\n"
17082 "\n"
17083 " Redacted form: plgdidev(p_mar, p_aspect, p_jx, p_jy)\n"
17084 "\n"
17085 " This function is used in example 31.\n"
17086 "\n"
17087 "\n"
17088 "\n"
17089 "SYNOPSIS:\n"
17090 "\n"
17091 "plgdidev(p_mar, p_aspect, p_jx, p_jy)\n"
17092 "\n"
17093 "ARGUMENTS:\n"
17094 "\n"
17095 " p_mar (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17096 " margin width.\n"
17097 "\n"
17098 " p_aspect (PLFLT_NC_SCALAR, output) : Returned value of the aspect\n"
17099 " ratio.\n"
17100 "\n"
17101 " p_jx (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17102 " justification in x.\n"
17103 "\n"
17104 " p_jy (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17105 " justification in y.\n"
17106 "\n"
17107 ""},
17108 { "plgdiori", _wrap_plgdiori, METH_NOARGS, "\n"
17109 "Get plot orientation\n"
17110 "\n"
17111 "DESCRIPTION:\n"
17112 "\n"
17113 " Get plot orientation parameter which is multiplied by 90 degrees to\n"
17114 " obtain the angle of rotation. Note, arbitrary rotation parameters\n"
17115 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n"
17116 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n"
17117 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n"
17118 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori has\n"
17119 " not been called the default value pointed to by p_rot will be 0.\n"
17120 "\n"
17121 " Redacted form: plgdiori(p_rot)\n"
17122 "\n"
17123 " This function is not used in any examples.\n"
17124 "\n"
17125 "\n"
17126 "\n"
17127 "SYNOPSIS:\n"
17128 "\n"
17129 "plgdiori(p_rot)\n"
17130 "\n"
17131 "ARGUMENTS:\n"
17132 "\n"
17133 " p_rot (PLFLT_NC_SCALAR, output) : Returned value of the orientation\n"
17134 " parameter.\n"
17135 "\n"
17136 ""},
17137 { "plgdiplt", _wrap_plgdiplt, METH_NOARGS, "\n"
17138 "Get parameters that define current plot-space window\n"
17139 "\n"
17140 "DESCRIPTION:\n"
17141 "\n"
17142 " Get relative minima and maxima that define current plot-space window.\n"
17143 " If plsdiplt has not been called the default values pointed to by\n"
17144 " p_xmin, p_ymin, p_xmax, and p_ymax will be 0., 0., 1., and 1.\n"
17145 "\n"
17146 " Redacted form: plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n"
17147 "\n"
17148 " This function is used in example 31.\n"
17149 "\n"
17150 "\n"
17151 "\n"
17152 "SYNOPSIS:\n"
17153 "\n"
17154 "plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n"
17155 "\n"
17156 "ARGUMENTS:\n"
17157 "\n"
17158 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17159 " minimum in x.\n"
17160 "\n"
17161 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17162 " minimum in y.\n"
17163 "\n"
17164 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17165 " maximum in x.\n"
17166 "\n"
17167 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17168 " maximum in y.\n"
17169 "\n"
17170 ""},
17171 { "plgfam", _wrap_plgfam, METH_NOARGS, "\n"
17172 "Get family file parameters\n"
17173 "\n"
17174 "DESCRIPTION:\n"
17175 "\n"
17176 " Gets information about current family file, if familying is enabled.\n"
17177 " See the PLplot documentation for more information.\n"
17178 "\n"
17179 " Redacted form: plgfam(p_fam, p_num, p_bmax)\n"
17180 "\n"
17181 " This function is used in examples 14 and 31.\n"
17182 "\n"
17183 "\n"
17184 "\n"
17185 "SYNOPSIS:\n"
17186 "\n"
17187 "plgfam(p_fam, p_num, p_bmax)\n"
17188 "\n"
17189 "ARGUMENTS:\n"
17190 "\n"
17191 " p_fam (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17192 " family flag value. If nonzero, familying is enabled for the\n"
17193 " current device.\n"
17194 "\n"
17195 " p_num (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17196 " family file number.\n"
17197 "\n"
17198 " p_bmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17199 " file size (in bytes) for a family file.\n"
17200 "\n"
17201 ""},
17202 { "plgfci", _wrap_plgfci, METH_NOARGS, "\n"
17203 "Get FCI (font characterization integer)\n"
17204 "\n"
17205 "DESCRIPTION:\n"
17206 "\n"
17207 " Gets information about the current font using the FCI approach. See\n"
17208 " the PLplot documentation for more information.\n"
17209 "\n"
17210 " Redacted form: plgfci(p_fci)\n"
17211 "\n"
17212 " This function is used in example 23.\n"
17213 "\n"
17214 "\n"
17215 "\n"
17216 "SYNOPSIS:\n"
17217 "\n"
17218 "plgfci(p_fci)\n"
17219 "\n"
17220 "ARGUMENTS:\n"
17221 "\n"
17222 " p_fci (PLUNICODE_NC_SCALAR, output) : Returned value of the current\n"
17223 " FCI value.\n"
17224 "\n"
17225 ""},
17226 { "plgfnam", _wrap_plgfnam, METH_NOARGS, "\n"
17227 "Get output file name\n"
17228 "\n"
17229 "DESCRIPTION:\n"
17230 "\n"
17231 " Gets the current output file name, if applicable.\n"
17232 "\n"
17233 " Redacted form: plgfnam(fnam)\n"
17234 "\n"
17235 " This function is used in example 31.\n"
17236 "\n"
17237 "\n"
17238 "\n"
17239 "SYNOPSIS:\n"
17240 "\n"
17241 "plgfnam(fnam)\n"
17242 "\n"
17243 "ARGUMENTS:\n"
17244 "\n"
17245 " fnam (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
17246 " (with preallocated length of 80 characters or more) containing the\n"
17247 " file name.\n"
17248 "\n"
17249 ""},
17250 { "plgfont", _wrap_plgfont, METH_NOARGS, "\n"
17251 "Get family, style and weight of the current font\n"
17252 "\n"
17253 "DESCRIPTION:\n"
17254 "\n"
17255 " Gets information about current font. See the PLplot documentation for\n"
17256 " more information on font selection.\n"
17257 "\n"
17258 " Redacted form: plgfont(p_family, p_style, p_weight)\n"
17259 "\n"
17260 " This function is used in example 23.\n"
17261 "\n"
17262 "\n"
17263 "\n"
17264 "SYNOPSIS:\n"
17265 "\n"
17266 "plgfont(p_family, p_style, p_weight)\n"
17267 "\n"
17268 "ARGUMENTS:\n"
17269 "\n"
17270 " p_family (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17271 " font family. The available values are given by the PL_FCI_*\n"
17272 " constants in plplot.h. Current options are PL_FCI_SANS,\n"
17273 " PL_FCI_SERIF, PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. If\n"
17274 " p_family is NULL then the font family is not returned.\n"
17275 "\n"
17276 " p_style (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17277 " font style. The available values are given by the PL_FCI_*\n"
17278 " constants in plplot.h. Current options are PL_FCI_UPRIGHT,\n"
17279 " PL_FCI_ITALIC and PL_FCI_OBLIQUE. If p_style is NULL then the font\n"
17280 " style is not returned.\n"
17281 "\n"
17282 " p_weight (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17283 " font weight. The available values are given by the PL_FCI_*\n"
17284 " constants in plplot.h. Current options are PL_FCI_MEDIUM and\n"
17285 " PL_FCI_BOLD. If p_weight is NULL then the font weight is not\n"
17286 " returned.\n"
17287 "\n"
17288 ""},
17289 { "plglevel", _wrap_plglevel, METH_NOARGS, "\n"
17290 "Get the (current) run level\n"
17291 "\n"
17292 "DESCRIPTION:\n"
17293 "\n"
17294 " Get the (current) run level. Valid settings are: 0, uninitialized\n"
17295 " 1, initialized\n"
17296 " 2, viewport defined\n"
17297 " 3, world coordinates defined\n"
17298 "\n"
17299 "\n"
17300 " Redacted form: plglevel(p_level)\n"
17301 "\n"
17302 " This function is used in example 31.\n"
17303 "\n"
17304 "\n"
17305 "\n"
17306 "SYNOPSIS:\n"
17307 "\n"
17308 "plglevel(p_level)\n"
17309 "\n"
17310 "ARGUMENTS:\n"
17311 "\n"
17312 " p_level (PLINT_NC_SCALAR, output) : Returned value of the run\n"
17313 " level.\n"
17314 "\n"
17315 ""},
17316 { "plgpage", _wrap_plgpage, METH_NOARGS, "\n"
17317 "Get page parameters\n"
17318 "\n"
17319 "DESCRIPTION:\n"
17320 "\n"
17321 " Gets the current page configuration. The length and offset values are\n"
17322 " expressed in units that are specific to the current driver. For\n"
17323 " instance: screen drivers will usually interpret them as number of\n"
17324 " pixels, whereas printer drivers will usually use mm.\n"
17325 "\n"
17326 " Redacted form: plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n"
17327 "\n"
17328 " This function is used in examples 14 and 31.\n"
17329 "\n"
17330 "\n"
17331 "\n"
17332 "SYNOPSIS:\n"
17333 "\n"
17334 "plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n"
17335 "\n"
17336 "ARGUMENTS:\n"
17337 "\n"
17338 " p_xp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n"
17339 " pixels/inch (DPI) in x.\n"
17340 "\n"
17341 " p_yp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n"
17342 " pixels/inch (DPI) in y.\n"
17343 "\n"
17344 " p_xleng (PLINT_NC_SCALAR, output) : Returned value of the x page\n"
17345 " length.\n"
17346 "\n"
17347 " p_yleng (PLINT_NC_SCALAR, output) : Returned value of the y page\n"
17348 " length.\n"
17349 "\n"
17350 " p_xoff (PLINT_NC_SCALAR, output) : Returned value of the x page\n"
17351 " offset.\n"
17352 "\n"
17353 " p_yoff (PLINT_NC_SCALAR, output) : Returned value of the y page\n"
17354 " offset.\n"
17355 "\n"
17356 ""},
17357 { "plgra", _wrap_plgra, METH_NOARGS, "\n"
17358 "Switch to graphics screen\n"
17359 "\n"
17360 "DESCRIPTION:\n"
17361 "\n"
17362 " Sets an interactive device to graphics mode, used in conjunction with\n"
17363 " pltext to allow graphics and text to be interspersed. On a device\n"
17364 " which supports separate text and graphics windows, this command causes\n"
17365 " control to be switched to the graphics window. If already in graphics\n"
17366 " mode, this command is ignored. It is also ignored on devices which\n"
17367 " only support a single window or use a different method for shifting\n"
17368 " focus. See also pltext.\n"
17369 "\n"
17370 " Redacted form: plgra()\n"
17371 "\n"
17372 " This function is used in example 1.\n"
17373 "\n"
17374 "\n"
17375 "\n"
17376 "SYNOPSIS:\n"
17377 "\n"
17378 "plgra()\n"
17379 "\n"
17380 ""},
17381 { "plgriddata", _wrap_plgriddata, METH_VARARGS, "\n"
17382 "Grid data from irregularly sampled data\n"
17383 "\n"
17384 "DESCRIPTION:\n"
17385 "\n"
17386 " Real world data is frequently irregularly sampled, but PLplot 3D plots\n"
17387 " require data organized as a grid, i.e., with x sample point values\n"
17388 " independent of y coordinate and vice versa. This function takes\n"
17389 " irregularly sampled data from the x[npts], y[npts], and z[npts]\n"
17390 " vectors; reads the desired grid location from the input vectors\n"
17391 " xg[nptsx] and yg[nptsy]; and returns the interpolated result on that\n"
17392 " grid using the output matrix zg[nptsx][nptsy]. The algorithm used to\n"
17393 " interpolate the data to the grid is specified with the argument type\n"
17394 " which can have one parameter specified in argument data.\n"
17395 "\n"
17396 " Redacted form: General: plgriddata(x, y, z, xg, yg, zg, type, data)\n"
17397 " Python: zg=plgriddata(x, y, z, xg, yg, type, data)\n"
17398 "\n"
17399 "\n"
17400 " This function is used in example 21.\n"
17401 "\n"
17402 "\n"
17403 "\n"
17404 "SYNOPSIS:\n"
17405 "\n"
17406 "plgriddata(x, y, z, npts, xg, nptsx, yg, nptsy, zg, type, data)\n"
17407 "\n"
17408 "ARGUMENTS:\n"
17409 "\n"
17410 " x (PLFLT_VECTOR, input) : The input x vector.\n"
17411 "\n"
17412 " y (PLFLT_VECTOR, input) : The input y vector.\n"
17413 "\n"
17414 " z (PLFLT_VECTOR, input) : The input z vector. Each triple x[i],\n"
17415 " y[i], z[i] represents one data sample coordinate.\n"
17416 "\n"
17417 " npts (PLINT, input) : The number of data samples in the x, y and z\n"
17418 " vectors.\n"
17419 "\n"
17420 " xg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n"
17421 " in the x direction. Usually xg has nptsx equally spaced values\n"
17422 " from the minimum to the maximum values of the x input vector.\n"
17423 "\n"
17424 " nptsx (PLINT, input) : The number of points in the xg vector.\n"
17425 "\n"
17426 " yg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n"
17427 " in the y direction. Similar to the xg parameter.\n"
17428 "\n"
17429 " nptsy (PLINT, input) : The number of points in the yg vector.\n"
17430 "\n"
17431 " zg (PLFLT_NC_MATRIX, output) : The matrix of interpolated results\n"
17432 " where data lies in the grid specified by xg and yg. Therefore the\n"
17433 " zg matrix must be dimensioned\n"
17434 " nptsx by\n"
17435 " nptsy.\n"
17436 "\n"
17437 " type (PLINT, input) : The type of grid interpolation algorithm to\n"
17438 " use, which can be: GRID_CSA: Bivariate Cubic Spline approximation\n"
17439 " GRID_DTLI: Delaunay Triangulation Linear Interpolation\n"
17440 " GRID_NNI: Natural Neighbors Interpolation\n"
17441 " GRID_NNIDW: Nearest Neighbors Inverse Distance Weighted\n"
17442 " GRID_NNLI: Nearest Neighbors Linear Interpolation\n"
17443 " GRID_NNAIDW: Nearest Neighbors Around Inverse Distance\n"
17444 " Weighted\n"
17445 " For details of the algorithms read the source file plgridd.c.\n"
17446 "\n"
17447 " data (PLFLT, input) : Some gridding algorithms require extra data,\n"
17448 " which can be specified through this argument. Currently, for\n"
17449 " algorithm: GRID_NNIDW, data specifies the number of neighbors to\n"
17450 " use, the lower the value, the noisier (more local) the\n"
17451 " approximation is.\n"
17452 " GRID_NNLI, data specifies what a thin triangle is, in the\n"
17453 " range [1. .. 2.]. High values enable the usage of very thin\n"
17454 " triangles for interpolation, possibly resulting in error in\n"
17455 " the approximation.\n"
17456 " GRID_NNI, only weights greater than data will be accepted. If\n"
17457 " 0, all weights will be accepted.\n"
17458 "\n"
17459 ""},
17460 { "plgspa", _wrap_plgspa, METH_NOARGS, "\n"
17461 "Get current subpage parameters\n"
17462 "\n"
17463 "DESCRIPTION:\n"
17464 "\n"
17465 " Gets the size of the current subpage in millimeters measured from the\n"
17466 " bottom left hand corner of the output device page or screen. Can be\n"
17467 " used in conjunction with plsvpa for setting the size of a viewport in\n"
17468 " absolute coordinates (millimeters).\n"
17469 "\n"
17470 " Redacted form: plgspa(xmin, xmax, ymin, ymax)\n"
17471 "\n"
17472 " This function is used in example 23.\n"
17473 "\n"
17474 "\n"
17475 "\n"
17476 "SYNOPSIS:\n"
17477 "\n"
17478 "plgspa(xmin, xmax, ymin, ymax)\n"
17479 "\n"
17480 "ARGUMENTS:\n"
17481 "\n"
17482 " xmin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17483 " the left hand edge of the subpage in millimeters.\n"
17484 "\n"
17485 " xmax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17486 " the right hand edge of the subpage in millimeters.\n"
17487 "\n"
17488 " ymin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17489 " the bottom edge of the subpage in millimeters.\n"
17490 "\n"
17491 " ymax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17492 " the top edge of the subpage in millimeters.\n"
17493 "\n"
17494 ""},
17495 { "plgstrm", _wrap_plgstrm, METH_NOARGS, "\n"
17496 "Get current stream number\n"
17497 "\n"
17498 "DESCRIPTION:\n"
17499 "\n"
17500 " Gets the number of the current output stream. See also plsstrm.\n"
17501 "\n"
17502 " Redacted form: plgstrm(p_strm)\n"
17503 "\n"
17504 " This function is used in example 1,20.\n"
17505 "\n"
17506 "\n"
17507 "\n"
17508 "SYNOPSIS:\n"
17509 "\n"
17510 "plgstrm(p_strm)\n"
17511 "\n"
17512 "ARGUMENTS:\n"
17513 "\n"
17514 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17515 " stream value.\n"
17516 "\n"
17517 ""},
17518 { "plgver", _wrap_plgver, METH_NOARGS, "\n"
17519 "Get the current library version number\n"
17520 "\n"
17521 "DESCRIPTION:\n"
17522 "\n"
17523 " Get the current library version number. Note: you must have allocated\n"
17524 " space for this (80 characters is safe).\n"
17525 "\n"
17526 " Redacted form: plgver(p_ver)\n"
17527 "\n"
17528 " This function is used in example 1.\n"
17529 "\n"
17530 "\n"
17531 "\n"
17532 "SYNOPSIS:\n"
17533 "\n"
17534 "plgver(p_ver)\n"
17535 "\n"
17536 "ARGUMENTS:\n"
17537 "\n"
17538 " p_ver (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
17539 " (with preallocated length of 80 characters or more) containing the\n"
17540 " PLplot version number.\n"
17541 "\n"
17542 ""},
17543 { "plgvpd", _wrap_plgvpd, METH_NOARGS, "\n"
17544 "Get viewport limits in normalized device coordinates\n"
17545 "\n"
17546 "DESCRIPTION:\n"
17547 "\n"
17548 " Get viewport limits in normalized device coordinates.\n"
17549 "\n"
17550 " Redacted form: General: plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17551 "\n"
17552 "\n"
17553 " This function is used in example 31.\n"
17554 "\n"
17555 "\n"
17556 "\n"
17557 "SYNOPSIS:\n"
17558 "\n"
17559 "plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17560 "\n"
17561 "ARGUMENTS:\n"
17562 "\n"
17563 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17564 " viewport limit of the normalized device coordinate in x.\n"
17565 "\n"
17566 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17567 " viewport limit of the normalized device coordinate in x.\n"
17568 "\n"
17569 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17570 " viewport limit of the normalized device coordinate in y.\n"
17571 "\n"
17572 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17573 " viewport limit of the normalized device coordinate in y.\n"
17574 "\n"
17575 ""},
17576 { "plgvpw", _wrap_plgvpw, METH_NOARGS, "\n"
17577 "Get viewport limits in world coordinates\n"
17578 "\n"
17579 "DESCRIPTION:\n"
17580 "\n"
17581 " Get viewport limits in world coordinates.\n"
17582 "\n"
17583 " Redacted form: General: plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17584 "\n"
17585 "\n"
17586 " This function is used in example 31.\n"
17587 "\n"
17588 "\n"
17589 "\n"
17590 "SYNOPSIS:\n"
17591 "\n"
17592 "plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17593 "\n"
17594 "ARGUMENTS:\n"
17595 "\n"
17596 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17597 " viewport limit of the world coordinate in x.\n"
17598 "\n"
17599 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17600 " viewport limit of the world coordinate in x.\n"
17601 "\n"
17602 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17603 " viewport limit of the world coordinate in y.\n"
17604 "\n"
17605 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17606 " viewport limit of the world coordinate in y.\n"
17607 "\n"
17608 ""},
17609 { "plgxax", _wrap_plgxax, METH_NOARGS, "\n"
17610 "Get x axis parameters\n"
17611 "\n"
17612 "DESCRIPTION:\n"
17613 "\n"
17614 " Returns current values of the p_digmax and p_digits flags for the x\n"
17615 " axis. p_digits is updated after the plot is drawn, so this routine\n"
17616 " should only be called after the call to plbox (or plbox3) is complete.\n"
17617 " See the PLplot documentation for more information.\n"
17618 "\n"
17619 " Redacted form: plgxax(p_digmax, p_digits)\n"
17620 "\n"
17621 " This function is used in example 31.\n"
17622 "\n"
17623 "\n"
17624 "\n"
17625 "SYNOPSIS:\n"
17626 "\n"
17627 "plgxax(p_digmax, p_digits)\n"
17628 "\n"
17629 "ARGUMENTS:\n"
17630 "\n"
17631 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17632 " number of digits for the x axis. If nonzero, the printed label\n"
17633 " has been switched to a floating-point representation when the\n"
17634 " number of digits exceeds this value.\n"
17635 "\n"
17636 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17637 " number of digits for the numeric labels (x axis) from the last\n"
17638 " plot.\n"
17639 "\n"
17640 ""},
17641 { "plgyax", _wrap_plgyax, METH_NOARGS, "\n"
17642 "Get y axis parameters\n"
17643 "\n"
17644 "DESCRIPTION:\n"
17645 "\n"
17646 " Identical to plgxax, except that arguments are flags for y axis. See\n"
17647 " the description of plgxax for more detail.\n"
17648 "\n"
17649 " Redacted form: plgyax(p_digmax, p_digits)\n"
17650 "\n"
17651 " This function is used in example 31.\n"
17652 "\n"
17653 "\n"
17654 "\n"
17655 "SYNOPSIS:\n"
17656 "\n"
17657 "plgyax(p_digmax, p_digits)\n"
17658 "\n"
17659 "ARGUMENTS:\n"
17660 "\n"
17661 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17662 " number of digits for the y axis. If nonzero, the printed label\n"
17663 " has been switched to a floating-point representation when the\n"
17664 " number of digits exceeds this value.\n"
17665 "\n"
17666 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17667 " number of digits for the numeric labels (y axis) from the last\n"
17668 " plot.\n"
17669 "\n"
17670 ""},
17671 { "plgzax", _wrap_plgzax, METH_NOARGS, "\n"
17672 "Get z axis parameters\n"
17673 "\n"
17674 "DESCRIPTION:\n"
17675 "\n"
17676 " Identical to plgxax, except that arguments are flags for z axis. See\n"
17677 " the description of plgxax for more detail.\n"
17678 "\n"
17679 " Redacted form: plgzax(p_digmax, p_digits)\n"
17680 "\n"
17681 " This function is used in example 31.\n"
17682 "\n"
17683 "\n"
17684 "\n"
17685 "SYNOPSIS:\n"
17686 "\n"
17687 "plgzax(p_digmax, p_digits)\n"
17688 "\n"
17689 "ARGUMENTS:\n"
17690 "\n"
17691 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17692 " number of digits for the z axis. If nonzero, the printed label\n"
17693 " has been switched to a floating-point representation when the\n"
17694 " number of digits exceeds this value.\n"
17695 "\n"
17696 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17697 " number of digits for the numeric labels (z axis) from the last\n"
17698 " plot.\n"
17699 "\n"
17700 ""},
17701 { "plhist", _wrap_plhist, METH_VARARGS, "\n"
17702 "Plot a histogram from unbinned data\n"
17703 "\n"
17704 "DESCRIPTION:\n"
17705 "\n"
17706 " Plots a histogram from n data points stored in the data vector. This\n"
17707 " routine bins the data into nbin bins equally spaced between datmin and\n"
17708 " datmax, and calls plbin to draw the resulting histogram. Parameter\n"
17709 " opt allows, among other things, the histogram either to be plotted in\n"
17710 " an existing window or causes plhist to call plenv with suitable limits\n"
17711 " before plotting the histogram.\n"
17712 "\n"
17713 " Redacted form: plhist(data, datmin, datmax, nbin, opt)\n"
17714 "\n"
17715 " This function is used in example 5.\n"
17716 "\n"
17717 "\n"
17718 "\n"
17719 "SYNOPSIS:\n"
17720 "\n"
17721 "plhist(n, data, datmin, datmax, nbin, opt)\n"
17722 "\n"
17723 "ARGUMENTS:\n"
17724 "\n"
17725 " n (PLINT, input) : Number of data points.\n"
17726 "\n"
17727 " data (PLFLT_VECTOR, input) : A vector containing the values of the\n"
17728 " n data points.\n"
17729 "\n"
17730 " datmin (PLFLT, input) : Left-hand edge of lowest-valued bin.\n"
17731 "\n"
17732 " datmax (PLFLT, input) : Right-hand edge of highest-valued bin.\n"
17733 "\n"
17734 " nbin (PLINT, input) : Number of (equal-sized) bins into which to\n"
17735 " divide the interval xmin to xmax.\n"
17736 "\n"
17737 " opt (PLINT, input) : Is a combination of several flags:\n"
17738 " opt=PL_HIST_DEFAULT: The axes are automatically rescaled to fit\n"
17739 " the histogram data, the outer bins are expanded to fill up the\n"
17740 " entire x-axis, data outside the given extremes are assigned to the\n"
17741 " outer bins and bins of zero height are simply drawn.\n"
17742 " opt=PL_HIST_NOSCALING|...: The existing axes are not rescaled\n"
17743 " to fit the histogram data, without this flag, plenv is called\n"
17744 " to set the world coordinates.\n"
17745 " opt=PL_HIST_IGNORE_OUTLIERS|...: Data outside the given\n"
17746 " extremes are not taken into account. This option should\n"
17747 " probably be combined with opt=PL_HIST_NOEXPAND|..., so as to\n"
17748 " properly present the data.\n"
17749 " opt=PL_HIST_NOEXPAND|...: The outer bins are drawn with equal\n"
17750 " size as the ones inside.\n"
17751 " opt=PL_HIST_NOEMPTY|...: Bins with zero height are not drawn\n"
17752 " (there is a gap for such bins).\n"
17753 "\n"
17754 ""},
17755 { "plhlsrgb", _wrap_plhlsrgb, METH_VARARGS, "\n"
17756 "Convert HLS color to RGB\n"
17757 "\n"
17758 "DESCRIPTION:\n"
17759 "\n"
17760 " Convert HLS color coordinates to RGB.\n"
17761 "\n"
17762 " Redacted form: General: plhlsrgb(h, l, s, p_r, p_g, p_b)\n"
17763 "\n"
17764 "\n"
17765 " This function is used in example 2.\n"
17766 "\n"
17767 "\n"
17768 "\n"
17769 "SYNOPSIS:\n"
17770 "\n"
17771 "plhlsrgb(h, l, s, p_r, p_g, p_b)\n"
17772 "\n"
17773 "ARGUMENTS:\n"
17774 "\n"
17775 " h (PLFLT, input) : Hue in degrees (0.0-360.0) on the color\n"
17776 " cylinder.\n"
17777 "\n"
17778 " l (PLFLT, input) : Lightness expressed as a fraction (0.0-1.0) of\n"
17779 " the axis of the color cylinder.\n"
17780 "\n"
17781 " s (PLFLT, input) : Saturation expressed as a fraction (0.0-1.0) of\n"
17782 " the radius of the color cylinder.\n"
17783 "\n"
17784 " p_r (PLFLT_NC_SCALAR, output) : Returned value of the red intensity\n"
17785 " (0.0-1.0) of the color.\n"
17786 "\n"
17787 " p_g (PLFLT_NC_SCALAR, output) : Returned value of the green\n"
17788 " intensity (0.0-1.0) of the color.\n"
17789 "\n"
17790 " p_b (PLFLT_NC_SCALAR, output) : Returned value of the blue\n"
17791 " intensity (0.0-1.0) of the color.\n"
17792 "\n"
17793 ""},
17794 { "plinit", _wrap_plinit, METH_NOARGS, "\n"
17795 "Initialize PLplot\n"
17796 "\n"
17797 "DESCRIPTION:\n"
17798 "\n"
17799 " Initializing the plotting package. The program prompts for the device\n"
17800 " keyword or number of the desired output device. Hitting a RETURN in\n"
17801 " response to the prompt is the same as selecting the first device.\n"
17802 " plinit will issue no prompt if either the device was specified\n"
17803 " previously (via command line flag, the plsetopt function, or the\n"
17804 " plsdev function), or if only one device is enabled when PLplot is\n"
17805 " installed. If subpages have been specified, the output device is\n"
17806 " divided into nx by ny subpages, each of which may be used\n"
17807 " independently. If plinit is called again during a program, the\n"
17808 " previously opened file will be closed. The subroutine pladv is used\n"
17809 " to advance from one subpage to the next.\n"
17810 "\n"
17811 " Redacted form: plinit()\n"
17812 "\n"
17813 " This function is used in all of the examples.\n"
17814 "\n"
17815 "\n"
17816 "\n"
17817 "SYNOPSIS:\n"
17818 "\n"
17819 "plinit()\n"
17820 "\n"
17821 ""},
17822 { "pljoin", _wrap_pljoin, METH_VARARGS, "\n"
17823 "Draw a line between two points\n"
17824 "\n"
17825 "DESCRIPTION:\n"
17826 "\n"
17827 " Joins the point (\n"
17828 " x1,\n"
17829 " y1) to (\n"
17830 " x2,\n"
17831 " y2).\n"
17832 "\n"
17833 " Redacted form: pljoin(x1,y1,x2,y2)\n"
17834 "\n"
17835 " This function is used in examples 3 and 14.\n"
17836 "\n"
17837 "\n"
17838 "\n"
17839 "SYNOPSIS:\n"
17840 "\n"
17841 "pljoin(x1, y1, x2, y2)\n"
17842 "\n"
17843 "ARGUMENTS:\n"
17844 "\n"
17845 " x1 (PLFLT, input) : x coordinate of first point.\n"
17846 "\n"
17847 " y1 (PLFLT, input) : y coordinate of first point.\n"
17848 "\n"
17849 " x2 (PLFLT, input) : x coordinate of second point.\n"
17850 "\n"
17851 " y2 (PLFLT, input) : y coordinate of second point.\n"
17852 "\n"
17853 ""},
17854 { "pllab", _wrap_pllab, METH_VARARGS, "\n"
17855 "Simple routine to write labels\n"
17856 "\n"
17857 "DESCRIPTION:\n"
17858 "\n"
17859 " Routine for writing simple labels. Use plmtex for more complex labels.\n"
17860 "\n"
17861 " Redacted form: pllab(xlabel, ylabel, tlabel)\n"
17862 "\n"
17863 " This function is used in examples 1, 5, 9, 12, 14-16, 20-22, and 29.\n"
17864 "\n"
17865 "\n"
17866 "\n"
17867 "SYNOPSIS:\n"
17868 "\n"
17869 "pllab(xlabel, ylabel, tlabel)\n"
17870 "\n"
17871 "ARGUMENTS:\n"
17872 "\n"
17873 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
17874 " the label for the x axis.\n"
17875 "\n"
17876 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
17877 " the label for the y axis.\n"
17878 "\n"
17879 " tlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
17880 " the title of the plot.\n"
17881 "\n"
17882 ""},
17883 { "pllegend", _wrap_pllegend, METH_VARARGS, "\n"
17884 "Plot legend using discretely annotated filled boxes, lines, and/or lines of symbols\n"
17885 "\n"
17886 "DESCRIPTION:\n"
17887 "\n"
17888 " Routine for creating a discrete plot legend with a plotted filled box,\n"
17889 " line, and/or line of symbols for each annotated legend entry. (See\n"
17890 " plcolorbar for similar functionality for creating continuous color\n"
17891 " bars.) The arguments of pllegend provide control over the location\n"
17892 " and size of the legend as well as the location and characteristics of\n"
17893 " the elements (most of which are optional) within that legend. The\n"
17894 " resulting legend is clipped at the boundaries of the current subpage.\n"
17895 " (N.B. the adopted coordinate system used for some of the parameters is\n"
17896 " defined in the documentation of the position parameter.)\n"
17897 "\n"
17898 " Redacted form: pllegend(p_legend_width, p_legend_height, opt,\n"
17899 " position, x, y, plot_width, bg_color, bb_color, bb_style, nrow,\n"
17900 " ncolumn, opt_array, text_offset, text_scale, text_spacing,\n"
17901 " test_justification, text_colors, text, box_colors, box_patterns,\n"
17902 " box_scales, box_line_widths, line_colors, line_styles, line_widths,\n"
17903 " symbol_colors, symbol_scales, symbol_numbers, symbols)\n"
17904 "\n"
17905 " This function is used in examples 4, 26, and 33.\n"
17906 "\n"
17907 "\n"
17908 "\n"
17909 "SYNOPSIS:\n"
17910 "\n"
17911 "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"
17912 "\n"
17913 "ARGUMENTS:\n"
17914 "\n"
17915 " p_legend_width (PLFLT_NC_SCALAR, output) : Returned value of the\n"
17916 " legend width in adopted coordinates. This quantity is calculated\n"
17917 " from plot_width, text_offset, ncolumn (possibly modified inside\n"
17918 " the routine depending on nlegend and nrow), and the length\n"
17919 " (calculated internally) of the longest text string.\n"
17920 "\n"
17921 " p_legend_height (PLFLT_NC_SCALAR, output) : Returned value of the\n"
17922 " legend height in adopted coordinates. This quantity is calculated\n"
17923 " from text_scale, text_spacing, and nrow (possibly modified inside\n"
17924 " the routine depending on nlegend and nrow).\n"
17925 "\n"
17926 " opt (PLINT, input) : opt contains bits controlling the overall\n"
17927 " legend. If the PL_LEGEND_TEXT_LEFT bit is set, put the text area\n"
17928 " on the left of the legend and the plotted area on the right.\n"
17929 " Otherwise, put the text area on the right of the legend and the\n"
17930 " plotted area on the left. If the PL_LEGEND_BACKGROUND bit is set,\n"
17931 " plot a (semitransparent) background for the legend. If the\n"
17932 " PL_LEGEND_BOUNDING_BOX bit is set, plot a bounding box for the\n"
17933 " legend. If the PL_LEGEND_ROW_MAJOR bit is set and (both of the\n"
17934 " possibly internally transformed) nrow > 1 and ncolumn > 1, then\n"
17935 " plot the resulting array of legend entries in row-major order.\n"
17936 " Otherwise, plot the legend entries in column-major order.\n"
17937 "\n"
17938 " position (PLINT, input) : position contains bits which control the\n"
17939 " overall position of the legend and the definition of the adopted\n"
17940 " coordinates used for positions just like what is done for the\n"
17941 " position argument for plcolorbar. However, note that the defaults\n"
17942 " for the position bits (see below) are different than the\n"
17943 " plcolorbar case. The combination of the PL_POSITION_LEFT,\n"
17944 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n"
17945 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n"
17946 " the 16 possible standard positions (the 4 corners and centers of\n"
17947 " the 4 sides for both the inside and outside cases) of the legend\n"
17948 " relative to the adopted coordinate system. The corner positions\n"
17949 " are specified by the appropriate combination of two of the\n"
17950 " PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n"
17951 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n"
17952 " value of one of those bits. The adopted coordinates are\n"
17953 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n"
17954 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n"
17955 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n"
17956 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n"
17957 " then use the combination of PL_POSITION_RIGHT and PL_POSITION_TOP.\n"
17958 " If neither of PL_POSITION_INSIDE or PL_POSITION_OUTSIDE is set,\n"
17959 " use PL_POSITION_INSIDE. If neither of PL_POSITION_VIEWPORT or\n"
17960 " PL_POSITION_SUBPAGE is set, use PL_POSITION_VIEWPORT.\n"
17961 "\n"
17962 " x (PLFLT, input) : X offset of the legend position in adopted\n"
17963 " coordinates from the specified standard position of the legend.\n"
17964 " For positive x, the direction of motion away from the standard\n"
17965 " position is inward/outward from the standard corner positions or\n"
17966 " standard left or right positions if the\n"
17967 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
17968 " For the standard top or bottom positions, the direction of motion\n"
17969 " is toward positive X.\n"
17970 "\n"
17971 " y (PLFLT, input) : Y offset of the legend position in adopted\n"
17972 " coordinates from the specified standard position of the legend.\n"
17973 " For positive y, the direction of motion away from the standard\n"
17974 " position is inward/outward from the standard corner positions or\n"
17975 " standard top or bottom positions if the\n"
17976 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position. For\n"
17977 " the standard left or right positions, the direction of motion is\n"
17978 " toward positive Y.\n"
17979 "\n"
17980 " plot_width (PLFLT, input) : Horizontal width in adopted coordinates\n"
17981 " of the plot area (where the colored boxes, lines, and/or lines of\n"
17982 " symbols are drawn) of the legend.\n"
17983 "\n"
17984 " bg_color (PLINT, input) : The cmap0 color of the background for the\n"
17985 " legend (PL_LEGEND_BACKGROUND).\n"
17986 "\n"
17987 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n"
17988 " for the legend (PL_LEGEND_BOUNDING_BOX).\n"
17989 "\n"
17990 " bb_style (PLINT, input) : The pllsty style number for the\n"
17991 " bounding-box line for the legend (PL_LEGEND_BACKGROUND).\n"
17992 "\n"
17993 " nrow (PLINT, input) : The number of rows in the matrix used to\n"
17994 " render the\n"
17995 " nlegend legend entries. For internal transformations of\n"
17996 " nrow, see further remarks under\n"
17997 " nlegend.\n"
17998 "\n"
17999 " ncolumn (PLINT, input) : The number of columns in the matrix used\n"
18000 " to render the\n"
18001 " nlegend legend entries. For internal transformations of\n"
18002 " ncolumn, see further remarks under\n"
18003 " nlegend.\n"
18004 "\n"
18005 " nlegend (PLINT, input) : Number of legend entries. The above\n"
18006 " nrow and\n"
18007 " ncolumn values are transformed internally to be consistent with\n"
18008 " nlegend. If either\n"
18009 " nrow or\n"
18010 " ncolumn is non-positive it is replaced by 1. If the resulting product\n"
18011 " of\n"
18012 " nrow and\n"
18013 " ncolumn is less than\n"
18014 " nlegend, the smaller of the two (or\n"
18015 " nrow, if\n"
18016 " nrow ==\n"
18017 " ncolumn) is increased so the product is >=\n"
18018 " nlegend. Thus, for example, the common\n"
18019 " nrow = 0,\n"
18020 " ncolumn = 0 case is transformed internally to\n"
18021 " nrow =\n"
18022 " nlegend,\n"
18023 " ncolumn = 1; i.e., the usual case of a legend rendered as a single\n"
18024 " column.\n"
18025 "\n"
18026 " opt_array (PLINT_VECTOR, input) : A vector of\n"
18027 " nlegend values of options to control each individual plotted area\n"
18028 " corresponding to a legend entry. If the\n"
18029 " PL_LEGEND_NONE bit is set, then nothing is plotted in the plotted\n"
18030 " area. If the\n"
18031 " PL_LEGEND_COLOR_BOX,\n"
18032 " PL_LEGEND_LINE, and/or\n"
18033 " PL_LEGEND_SYMBOL bits are set, the area corresponding to a legend\n"
18034 " entry is plotted with a colored box; a line; and/or a line of\n"
18035 " symbols.\n"
18036 "\n"
18037 " text_offset (PLFLT, input) : Offset of the text area from the plot\n"
18038 " area in units of character width.\n"
18039 "\n"
18040 " text_scale (PLFLT, input) : Character height scale for text\n"
18041 " annotations.\n"
18042 "\n"
18043 " text_spacing (PLFLT, input) : Vertical spacing in units of the\n"
18044 " character height from one legend entry to the next.\n"
18045 "\n"
18046 " text_justification (PLFLT, input) : Justification parameter used\n"
18047 " for text justification. The most common values of\n"
18048 " text_justification are 0., 0.5, or 1. corresponding to a text that\n"
18049 " is left justified, centred, or right justified within the text\n"
18050 " area, but other values are allowed as well.\n"
18051 "\n"
18052 " text_colors (PLINT_VECTOR, input) : A vector containing\n"
18053 " nlegend cmap0 text colors.\n"
18054 "\n"
18055 " text (PLCHAR_MATRIX, input) : A vector of\n"
18056 " nlegend UTF-8 character strings containing the legend annotations.\n"
18057 "\n"
18058 " box_colors (PLINT_VECTOR, input) : A vector containing\n"
18059 " nlegend cmap0 colors for the discrete colored boxes (\n"
18060 " PL_LEGEND_COLOR_BOX).\n"
18061 "\n"
18062 " box_patterns (PLINT_VECTOR, input) : A vector containing\n"
18063 " nlegend patterns (plpsty indices) for the discrete colored boxes (\n"
18064 " PL_LEGEND_COLOR_BOX).\n"
18065 "\n"
18066 " box_scales (PLFLT_VECTOR, input) : A vector containing\n"
18067 " nlegend scales (units of fraction of character height) for the height\n"
18068 " of the discrete colored boxes (\n"
18069 " PL_LEGEND_COLOR_BOX).\n"
18070 "\n"
18071 " box_line_widths (PLFLT_VECTOR, input) : A vector containing\n"
18072 " nlegend line widths for the patterns specified by box_patterns (\n"
18073 " PL_LEGEND_COLOR_BOX).\n"
18074 "\n"
18075 " line_colors (PLINT_VECTOR, input) : A vector containing\n"
18076 " nlegend cmap0 line colors (\n"
18077 " PL_LEGEND_LINE).\n"
18078 "\n"
18079 " line_styles (PLINT_VECTOR, input) : A vector containing\n"
18080 " nlegend line styles (plsty indices) (\n"
18081 " PL_LEGEND_LINE).\n"
18082 "\n"
18083 " line_widths (PLFLT_VECTOR, input) : A vector containing\n"
18084 " nlegend line widths (\n"
18085 " PL_LEGEND_LINE).\n"
18086 "\n"
18087 " symbol_colors (PLINT_VECTOR, input) : A vector containing\n"
18088 " nlegend cmap0 symbol colors (\n"
18089 " PL_LEGEND_SYMBOL).\n"
18090 "\n"
18091 " symbol_scales (PLFLT_VECTOR, input) : A vector containing\n"
18092 " nlegend scale values for the symbol height (\n"
18093 " PL_LEGEND_SYMBOL).\n"
18094 "\n"
18095 " symbol_numbers (PLINT_VECTOR, input) : A vector containing\n"
18096 " nlegend numbers of symbols to be drawn across the width of the plotted\n"
18097 " area (\n"
18098 " PL_LEGEND_SYMBOL).\n"
18099 "\n"
18100 " symbols (PLCHAR_MATRIX, input) : A vector of\n"
18101 " nlegend UTF-8 character strings containing the legend symbols. (\n"
18102 " PL_LEGEND_SYMBOL).\n"
18103 "\n"
18104 ""},
18105 { "plcolorbar", _wrap_plcolorbar, METH_VARARGS, "\n"
18106 "Plot color bar for image, shade or gradient plots\n"
18107 "\n"
18108 "DESCRIPTION:\n"
18109 "\n"
18110 " Routine for creating a continuous color bar for image, shade, or\n"
18111 " gradient plots. (See pllegend for similar functionality for creating\n"
18112 " legends with discrete elements). The arguments of plcolorbar provide\n"
18113 " control over the location and size of the color bar as well as the\n"
18114 " location and characteristics of the elements (most of which are\n"
18115 " optional) within that color bar. The resulting color bar is clipped\n"
18116 " at the boundaries of the current subpage. (N.B. the adopted coordinate\n"
18117 " system used for some of the parameters is defined in the documentation\n"
18118 " of the position parameter.)\n"
18119 "\n"
18120 " Redacted form: plcolorbar(p_colorbar_width, p_colorbar_height, opt,\n"
18121 " position, x, y, x_length, y_length, bg_color, bb_color, bb_style,\n"
18122 " low_cap_color, high_cap_color, cont_color, cont_width, label_opts,\n"
18123 " labels, axis_opts, ticks, sub_ticks, values)\n"
18124 "\n"
18125 " This function is used in examples 16 and 33.\n"
18126 "\n"
18127 "\n"
18128 "\n"
18129 "SYNOPSIS:\n"
18130 "\n"
18131 "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"
18132 "\n"
18133 "ARGUMENTS:\n"
18134 "\n"
18135 " p_colorbar_width (PLFLT_NC_SCALAR, output) : Returned value of the\n"
18136 " labelled and decorated color bar width in adopted coordinates.\n"
18137 "\n"
18138 " p_colorbar_height (PLFLT_NC_SCALAR, output) : Returned value of the\n"
18139 " labelled and decorated color bar height in adopted coordinates.\n"
18140 "\n"
18141 " opt (PLINT, input) : opt contains bits controlling the overall\n"
18142 " color bar. The orientation (direction of the maximum value) of\n"
18143 " the color bar is specified with PL_ORIENT_RIGHT, PL_ORIENT_TOP,\n"
18144 " PL_ORIENT_LEFT, or PL_ORIENT_BOTTOM. If none of these bits are\n"
18145 " specified, the default orientation is toward the top if the\n"
18146 " colorbar is placed on the left or right of the viewport or toward\n"
18147 " the right if the colorbar is placed on the top or bottom of the\n"
18148 " viewport. If the PL_COLORBAR_BACKGROUND bit is set, plot a\n"
18149 " (semitransparent) background for the color bar. If the\n"
18150 " PL_COLORBAR_BOUNDING_BOX bit is set, plot a bounding box for the\n"
18151 " color bar. The type of color bar must be specified with one of\n"
18152 " PL_COLORBAR_IMAGE, PL_COLORBAR_SHADE, or PL_COLORBAR_GRADIENT. If\n"
18153 " more than one of those bits is set only the first one in the above\n"
18154 " list is honored. The position of the (optional) label/title can be\n"
18155 " specified with PL_LABEL_RIGHT, PL_LABEL_TOP, PL_LABEL_LEFT, or\n"
18156 " PL_LABEL_BOTTOM. If no label position bit is set then no label\n"
18157 " will be drawn. If more than one of this list of bits is specified,\n"
18158 " only the first one on the list is honored. End-caps for the color\n"
18159 " bar can added with PL_COLORBAR_CAP_LOW and PL_COLORBAR_CAP_HIGH.\n"
18160 " If a particular color bar cap option is not specified then no cap\n"
18161 " will be drawn for that end. As a special case for\n"
18162 " PL_COLORBAR_SHADE, the option PL_COLORBAR_SHADE_LABEL can be\n"
18163 " specified. If this option is provided then any tick marks and tick\n"
18164 " labels will be placed at the breaks between shaded segments. TODO:\n"
18165 " This should be expanded to support custom placement of tick marks\n"
18166 " and tick labels at custom value locations for any color bar type.\n"
18167 "\n"
18168 " position (PLINT, input) : position contains bits which control the\n"
18169 " overall position of the color bar and the definition of the\n"
18170 " adopted coordinates used for positions just like what is done for\n"
18171 " the position argument for pllegend. However, note that the\n"
18172 " defaults for the position bits (see below) are different than the\n"
18173 " pllegend case. The combination of the PL_POSITION_LEFT,\n"
18174 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n"
18175 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n"
18176 " the 16 possible standard positions (the 4 corners and centers of\n"
18177 " the 4 sides for both the inside and outside cases) of the color\n"
18178 " bar relative to the adopted coordinate system. The corner\n"
18179 " positions are specified by the appropriate combination of two of\n"
18180 " the PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n"
18181 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n"
18182 " value of one of those bits. The adopted coordinates are\n"
18183 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n"
18184 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n"
18185 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n"
18186 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n"
18187 " then use PL_POSITION_RIGHT. If neither of PL_POSITION_INSIDE or\n"
18188 " PL_POSITION_OUTSIDE is set, use PL_POSITION_OUTSIDE. If neither of\n"
18189 " PL_POSITION_VIEWPORT or PL_POSITION_SUBPAGE is set, use\n"
18190 " PL_POSITION_VIEWPORT.\n"
18191 "\n"
18192 " x (PLFLT, input) : X offset of the color bar position in adopted\n"
18193 " coordinates from the specified standard position of the color bar.\n"
18194 " For positive x, the direction of motion away from the standard\n"
18195 " position is inward/outward from the standard corner positions or\n"
18196 " standard left or right positions if the\n"
18197 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
18198 " For the standard top or bottom positions, the direction of motion\n"
18199 " is toward positive X.\n"
18200 "\n"
18201 " y (PLFLT, input) : Y offset of the color bar position in adopted\n"
18202 " coordinates from the specified standard position of the color bar.\n"
18203 " For positive y, the direction of motion away from the standard\n"
18204 " position is inward/outward from the standard corner positions or\n"
18205 " standard top or bottom positions if the\n"
18206 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
18207 " For the standard left or right positions, the direction of motion\n"
18208 " is toward positive Y.\n"
18209 "\n"
18210 " x_length (PLFLT, input) : Length of the body of the color bar in\n"
18211 " the X direction in adopted coordinates.\n"
18212 "\n"
18213 " y_length (PLFLT, input) : Length of the body of the color bar in\n"
18214 " the Y direction in adopted coordinates.\n"
18215 "\n"
18216 " bg_color (PLINT, input) : The cmap0 color of the background for the\n"
18217 " color bar (PL_COLORBAR_BACKGROUND).\n"
18218 "\n"
18219 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n"
18220 " for the color bar (PL_COLORBAR_BOUNDING_BOX).\n"
18221 "\n"
18222 " bb_style (PLINT, input) : The pllsty style number for the\n"
18223 " bounding-box line for the color bar (PL_COLORBAR_BACKGROUND).\n"
18224 "\n"
18225 " low_cap_color (PLFLT, input) : The cmap1 color of the low-end color\n"
18226 " bar cap, if it is drawn (PL_COLORBAR_CAP_LOW).\n"
18227 "\n"
18228 " high_cap_color (PLFLT, input) : The cmap1 color of the high-end\n"
18229 " color bar cap, if it is drawn (PL_COLORBAR_CAP_HIGH).\n"
18230 "\n"
18231 " cont_color (PLINT, input) : The cmap0 contour color for\n"
18232 " PL_COLORBAR_SHADE plots. This is passed directly to plshades, so\n"
18233 " it will be interpreted according to the design of plshades.\n"
18234 "\n"
18235 " cont_width (PLFLT, input) : Contour width for PL_COLORBAR_SHADE\n"
18236 " plots. This is passed directly to plshades, so it will be\n"
18237 " interpreted according to the design of plshades.\n"
18238 "\n"
18239 " n_labels (PLINT, input) : Number of labels to place around the\n"
18240 " color bar.\n"
18241 "\n"
18242 " label_opts (PLINT_VECTOR, input) : A vector of options for each of\n"
18243 " n_labels labels.\n"
18244 "\n"
18245 " labels (PLCHAR_MATRIX, input) : A vector of\n"
18246 " n_labels UTF-8 character strings containing the labels for the color\n"
18247 " bar. Ignored if no label position is specified with one of the\n"
18248 " PL_COLORBAR_LABEL_RIGHT, PL_COLORBAR_LABEL_TOP,\n"
18249 " PL_COLORBAR_LABEL_LEFT, or PL_COLORBAR_LABEL_BOTTOM bits in the\n"
18250 " corresponding label_opts field.\n"
18251 "\n"
18252 " n_axes (PLINT, input) : Number of axis definitions provided. This\n"
18253 " value must be greater than 0. It is typically 1 (numerical axis\n"
18254 " labels are provided for one of the long edges of the color bar),\n"
18255 " but it can be larger if multiple numerical axis labels for the\n"
18256 " long edges of the color bar are desired.\n"
18257 "\n"
18258 " axis_opts (PLCHAR_MATRIX, input) : A vector of\n"
18259 " n_axes ascii character strings containing options (interpreted as for\n"
18260 " plbox) for the color bar's axis definitions.\n"
18261 "\n"
18262 " ticks (PLFLT_VECTOR, input) : A vector of n_axes values of the\n"
18263 " spacing of the major tick marks (interpreted as for plbox) for the\n"
18264 " color bar's axis definitions.\n"
18265 "\n"
18266 " sub_ticks (PLINT_VECTOR, input) : A vector of n_axes values of the\n"
18267 " number of subticks (interpreted as for plbox) for the color bar's\n"
18268 " axis definitions.\n"
18269 "\n"
18270 " n_values (PLINT_VECTOR, input) : A vector containing the number of\n"
18271 " elements in each of the n_axes rows of the values matrix.\n"
18272 "\n"
18273 " values (PLFLT_MATRIX, input) : A matrix containing the numeric\n"
18274 " values for the data range represented by the color bar. For a row\n"
18275 " index of i_axis (where 0 < i_axis < n_axes), the number of\n"
18276 " elements in the row is specified by n_values[i_axis]. For\n"
18277 " PL_COLORBAR_IMAGE and PL_COLORBAR_GRADIENT the number of elements\n"
18278 " is 2, and the corresponding row elements of the values matrix are\n"
18279 " the minimum and maximum value represented by the colorbar. For\n"
18280 " PL_COLORBAR_SHADE, the number and values of the elements of a row\n"
18281 " of the values matrix is interpreted the same as the nlevel and\n"
18282 " clevel arguments of plshades.\n"
18283 "\n"
18284 ""},
18285 { "pllightsource", _wrap_pllightsource, METH_VARARGS, "\n"
18286 "Sets the 3D position of the light source\n"
18287 "\n"
18288 "DESCRIPTION:\n"
18289 "\n"
18290 " Sets the 3D position of the light source for use with plsurf3d and\n"
18291 " plsurf3dl\n"
18292 "\n"
18293 " Redacted form: pllightsource(x, y, z)\n"
18294 "\n"
18295 " This function is used in example 8.\n"
18296 "\n"
18297 "\n"
18298 "\n"
18299 "SYNOPSIS:\n"
18300 "\n"
18301 "pllightsource(x, y, z)\n"
18302 "\n"
18303 "ARGUMENTS:\n"
18304 "\n"
18305 " x (PLFLT, input) : X-coordinate of the light source.\n"
18306 "\n"
18307 " y (PLFLT, input) : Y-coordinate of the light source.\n"
18308 "\n"
18309 " z (PLFLT, input) : Z-coordinate of the light source.\n"
18310 "\n"
18311 ""},
18312 { "plline", _wrap_plline, METH_VARARGS, "\n"
18313 "Draw a line\n"
18314 "\n"
18315 "DESCRIPTION:\n"
18316 "\n"
18317 " Draws line defined by n points in x and y.\n"
18318 "\n"
18319 " Redacted form: plline(x, y)\n"
18320 "\n"
18321 " This function is used in examples 1, 3, 4, 9, 12-14, 16, 18, 20, 22,\n"
18322 " 25-27, and 29.\n"
18323 "\n"
18324 "\n"
18325 "\n"
18326 "SYNOPSIS:\n"
18327 "\n"
18328 "plline(n, x, y)\n"
18329 "\n"
18330 "ARGUMENTS:\n"
18331 "\n"
18332 " n (PLINT, input) : Number of points defining line.\n"
18333 "\n"
18334 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
18335 " points.\n"
18336 "\n"
18337 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
18338 " points.\n"
18339 "\n"
18340 ""},
18341 { "plline3", _wrap_plline3, METH_VARARGS, "\n"
18342 "Draw a line in 3 space\n"
18343 "\n"
18344 "DESCRIPTION:\n"
18345 "\n"
18346 " Draws line in 3 space defined by n points in x, y, and z. You must\n"
18347 " first set up the viewport, the 2d viewing window (in world\n"
18348 " coordinates), and the 3d normalized coordinate box. See x18c.c for\n"
18349 " more info.\n"
18350 "\n"
18351 " Redacted form: plline3(x, y, z)\n"
18352 "\n"
18353 " This function is used in example 18.\n"
18354 "\n"
18355 "\n"
18356 "\n"
18357 "SYNOPSIS:\n"
18358 "\n"
18359 "plline3(n, x, y, z)\n"
18360 "\n"
18361 "ARGUMENTS:\n"
18362 "\n"
18363 " n (PLINT, input) : Number of points defining line.\n"
18364 "\n"
18365 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
18366 " points.\n"
18367 "\n"
18368 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
18369 " points.\n"
18370 "\n"
18371 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
18372 " points.\n"
18373 "\n"
18374 ""},
18375 { "pllsty", _wrap_pllsty, METH_O, "\n"
18376 "Select line style\n"
18377 "\n"
18378 "DESCRIPTION:\n"
18379 "\n"
18380 " This sets the line style according to one of eight predefined patterns\n"
18381 " (also see plstyl).\n"
18382 "\n"
18383 " Redacted form: pllsty(lin)\n"
18384 "\n"
18385 " This function is used in examples 9, 12, 22, and 25.\n"
18386 "\n"
18387 "\n"
18388 "\n"
18389 "SYNOPSIS:\n"
18390 "\n"
18391 "pllsty(lin)\n"
18392 "\n"
18393 "ARGUMENTS:\n"
18394 "\n"
18395 " lin (PLINT, input) : Integer value between 1 and 8. Line style 1 is\n"
18396 " a continuous line, line style 2 is a line with short dashes and\n"
18397 " gaps, line style 3 is a line with long dashes and gaps, line style\n"
18398 " 4 has long dashes and short gaps and so on.\n"
18399 "\n"
18400 ""},
18401 { "plmesh", _wrap_plmesh, METH_VARARGS, "\n"
18402 "Plot surface mesh\n"
18403 "\n"
18404 "DESCRIPTION:\n"
18405 "\n"
18406 " Plots a surface mesh within the environment set up by plw3d. The\n"
18407 " surface is defined by the matrix z[\n"
18408 " nx][\n"
18409 " ny] , the point z[i][j] being the value of the function at (\n"
18410 " x[i],\n"
18411 " y[j]). Note that the points in vectors x and y do not need to be\n"
18412 " equally spaced, but must be stored in ascending order. The parameter\n"
18413 " opt controls the way in which the surface is displayed. For further\n"
18414 " details see the PLplot documentation.\n"
18415 "\n"
18416 " Redacted form: plmesh(x, y, z, opt)\n"
18417 "\n"
18418 " This function is used in example 11.\n"
18419 "\n"
18420 "\n"
18421 "\n"
18422 "SYNOPSIS:\n"
18423 "\n"
18424 "plmesh(x, y, z, nx, ny, opt)\n"
18425 "\n"
18426 "ARGUMENTS:\n"
18427 "\n"
18428 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18429 " which the function is evaluated.\n"
18430 "\n"
18431 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18432 " which the function is evaluated.\n"
18433 "\n"
18434 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18435 " plot. Should have dimensions of\n"
18436 " nx by\n"
18437 " ny.\n"
18438 "\n"
18439 " nx (PLINT, input) : Number of x values at which function has been\n"
18440 " evaluated.\n"
18441 "\n"
18442 " ny (PLINT, input) : Number of y values at which function has been\n"
18443 " evaluated.\n"
18444 "\n"
18445 " opt (PLINT, input) : Determines the way in which the surface is\n"
18446 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n"
18447 " function of x for each value of y[j] .\n"
18448 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18449 " for each value of x[i] .\n"
18450 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18451 " at which function is defined.\n"
18452 "\n"
18453 ""},
18454 { "plmeshc", _wrap_plmeshc, METH_VARARGS, "\n"
18455 "Magnitude colored plot surface mesh with contour\n"
18456 "\n"
18457 "DESCRIPTION:\n"
18458 "\n"
18459 " A more powerful form of plmesh: the surface mesh can be colored\n"
18460 " accordingly to the current z value being plotted, a contour plot can\n"
18461 " be drawn at the base XY plane, and a curtain can be drawn between the\n"
18462 " plotted function border and the base XY plane.\n"
18463 "\n"
18464 " Redacted form: plmeshc(x, y, z, opt, clevel)\n"
18465 "\n"
18466 " This function is used in example 11.\n"
18467 "\n"
18468 "\n"
18469 "\n"
18470 "SYNOPSIS:\n"
18471 "\n"
18472 "plmeshc(x, y, z, nx, ny, opt, clevel, nlevel)\n"
18473 "\n"
18474 "ARGUMENTS:\n"
18475 "\n"
18476 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18477 " which the function is evaluated.\n"
18478 "\n"
18479 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18480 " which the function is evaluated.\n"
18481 "\n"
18482 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18483 " plot. Should have dimensions of\n"
18484 " nx by\n"
18485 " ny.\n"
18486 "\n"
18487 " nx (PLINT, input) : Number of x values at which function is\n"
18488 " evaluated.\n"
18489 "\n"
18490 " ny (PLINT, input) : Number of y values at which function is\n"
18491 " evaluated.\n"
18492 "\n"
18493 " opt (PLINT, input) : Determines the way in which the surface is\n"
18494 " represented. To specify more than one option just add the options,\n"
18495 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
18496 " showing z as a function of x for each value of y[j] .\n"
18497 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18498 " for each value of x[i] .\n"
18499 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18500 " at which function is defined.\n"
18501 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
18502 " the z value being plotted. The color is used from the current\n"
18503 " cmap1.\n"
18504 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18505 " using parameters\n"
18506 " nlevel and\n"
18507 " clevel.\n"
18508 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18509 " the borders of the plotted function.\n"
18510 "\n"
18511 "\n"
18512 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18513 " levels.\n"
18514 "\n"
18515 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18516 "\n"
18517 ""},
18518 { "plmkstrm", _wrap_plmkstrm, METH_NOARGS, "\n"
18519 "Creates a new stream and makes it the default\n"
18520 "\n"
18521 "DESCRIPTION:\n"
18522 "\n"
18523 " Creates a new stream and makes it the default. Differs from using\n"
18524 " plsstrm, in that a free stream number is found, and returned.\n"
18525 " Unfortunately, I have to start at stream 1 and work upward, since\n"
18526 " stream 0 is preallocated. One of the big flaws in the PLplot API is\n"
18527 " that no initial, library-opening call is required. So stream 0 must\n"
18528 " be preallocated, and there is no simple way of determining whether it\n"
18529 " is already in use or not.\n"
18530 "\n"
18531 " Redacted form: plmkstrm(p_strm)\n"
18532 "\n"
18533 " This function is used in examples 1 and 20.\n"
18534 "\n"
18535 "\n"
18536 "\n"
18537 "SYNOPSIS:\n"
18538 "\n"
18539 "plmkstrm(p_strm)\n"
18540 "\n"
18541 "ARGUMENTS:\n"
18542 "\n"
18543 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the stream\n"
18544 " number of the created stream.\n"
18545 "\n"
18546 ""},
18547 { "plmtex", _wrap_plmtex, METH_VARARGS, "\n"
18548 "Write text relative to viewport boundaries\n"
18549 "\n"
18550 "DESCRIPTION:\n"
18551 "\n"
18552 " Writes text at a specified position relative to the viewport\n"
18553 " boundaries. Text may be written inside or outside the viewport, but\n"
18554 " is clipped at the subpage boundaries. The reference point of a string\n"
18555 " lies along a line passing through the string at half the height of a\n"
18556 " capital letter. The position of the reference point along this line\n"
18557 " is determined by just, and the position of the reference point\n"
18558 " relative to the viewport is set by disp and pos.\n"
18559 "\n"
18560 " Redacted form: General: plmtex(side, disp, pos, just, text)\n"
18561 "\n"
18562 "\n"
18563 " This function is used in examples 3, 4, 6-8, 11, 12, 14, 18, 23, and\n"
18564 " 26.\n"
18565 "\n"
18566 "\n"
18567 "\n"
18568 "SYNOPSIS:\n"
18569 "\n"
18570 "plmtex(side, disp, pos, just, text)\n"
18571 "\n"
18572 "ARGUMENTS:\n"
18573 "\n"
18574 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
18575 " the side of the viewport along which the text is to be written.\n"
18576 " The string must be one of: b: Bottom of viewport, text written\n"
18577 " parallel to edge.\n"
18578 " bv: Bottom of viewport, text written at right angles to edge.\n"
18579 " l: Left of viewport, text written parallel to edge.\n"
18580 " lv: Left of viewport, text written at right angles to edge.\n"
18581 " r: Right of viewport, text written parallel to edge.\n"
18582 " rv: Right of viewport, text written at right angles to edge.\n"
18583 " t: Top of viewport, text written parallel to edge.\n"
18584 " tv: Top of viewport, text written at right angles to edge.\n"
18585 "\n"
18586 "\n"
18587 " disp (PLFLT, input) : Position of the reference point of string,\n"
18588 " measured outwards from the specified viewport edge in units of the\n"
18589 " current character height. Use negative disp to write within the\n"
18590 " viewport.\n"
18591 "\n"
18592 " pos (PLFLT, input) : Position of the reference point of string\n"
18593 " along the specified edge, expressed as a fraction of the length of\n"
18594 " the edge.\n"
18595 "\n"
18596 " just (PLFLT, input) : Specifies the position of the string relative\n"
18597 " to its reference point. If just=0. , the reference point is at\n"
18598 " the left and if just=1. , it is at the right of the string. Other\n"
18599 " values of just give intermediate justifications.\n"
18600 "\n"
18601 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
18602 " written out.\n"
18603 "\n"
18604 ""},
18605 { "plmtex3", _wrap_plmtex3, METH_VARARGS, "\n"
18606 "Write text relative to viewport boundaries in 3D plots\n"
18607 "\n"
18608 "DESCRIPTION:\n"
18609 "\n"
18610 " Writes text at a specified position relative to the viewport\n"
18611 " boundaries. Text may be written inside or outside the viewport, but\n"
18612 " is clipped at the subpage boundaries. The reference point of a string\n"
18613 " lies along a line passing through the string at half the height of a\n"
18614 " capital letter. The position of the reference point along this line\n"
18615 " is determined by just, and the position of the reference point\n"
18616 " relative to the viewport is set by disp and pos.\n"
18617 "\n"
18618 " Redacted form: plmtex3(side, disp, pos, just, text)\n"
18619 "\n"
18620 " This function is used in example 28.\n"
18621 "\n"
18622 "\n"
18623 "\n"
18624 "SYNOPSIS:\n"
18625 "\n"
18626 "plmtex3(side, disp, pos, just, text)\n"
18627 "\n"
18628 "ARGUMENTS:\n"
18629 "\n"
18630 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
18631 " the side of the viewport along which the text is to be written.\n"
18632 " The string should contain one or more of the following characters:\n"
18633 " [xyz][ps][v]. Only one label is drawn at a time, i.e. xyp will\n"
18634 " only label the X axis, not both the X and Y axes. x: Label the X\n"
18635 " axis.\n"
18636 " y: Label the Y axis.\n"
18637 " z: Label the Z axis.\n"
18638 " p: Label the primary axis. For Z this is the leftmost Z axis.\n"
18639 " For X it is the axis that starts at y-min. For Y it is the\n"
18640 " axis that starts at x-min.\n"
18641 " s: Label the secondary axis.\n"
18642 " v: Draw the text perpendicular to the axis.\n"
18643 "\n"
18644 "\n"
18645 " disp (PLFLT, input) : Position of the reference point of string,\n"
18646 " measured outwards from the specified viewport edge in units of the\n"
18647 " current character height. Use negative disp to write within the\n"
18648 " viewport.\n"
18649 "\n"
18650 " pos (PLFLT, input) : Position of the reference point of string\n"
18651 " along the specified edge, expressed as a fraction of the length of\n"
18652 " the edge.\n"
18653 "\n"
18654 " just (PLFLT, input) : Specifies the position of the string relative\n"
18655 " to its reference point. If just=0. , the reference point is at\n"
18656 " the left and if just=1. , it is at the right of the string. Other\n"
18657 " values of just give intermediate justifications.\n"
18658 "\n"
18659 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
18660 " written out.\n"
18661 "\n"
18662 ""},
18663 { "plot3d", _wrap_plot3d, METH_VARARGS, "\n"
18664 "Plot 3-d surface plot\n"
18665 "\n"
18666 "DESCRIPTION:\n"
18667 "\n"
18668 " Plots a three-dimensional surface plot within the environment set up\n"
18669 " by plw3d. The surface is defined by the matrix z[\n"
18670 " nx][\n"
18671 " ny] , the point z[i][j] being the value of the function at (\n"
18672 " x[i],\n"
18673 " y[j]). Note that the points in vectors x and y do not need to be\n"
18674 " equally spaced, but must be stored in ascending order. The parameter\n"
18675 " opt controls the way in which the surface is displayed. For further\n"
18676 " details see the PLplot documentation. The only difference between\n"
18677 " plmesh and plot3d is that plmesh draws the bottom side of the surface,\n"
18678 " while plot3d only draws the surface as viewed from the top.\n"
18679 "\n"
18680 " Redacted form: plot3d(x, y, z, opt, side)\n"
18681 "\n"
18682 " This function is used in examples 11 and 21.\n"
18683 "\n"
18684 "\n"
18685 "\n"
18686 "SYNOPSIS:\n"
18687 "\n"
18688 "plot3d(x, y, z, nx, ny, opt, side)\n"
18689 "\n"
18690 "ARGUMENTS:\n"
18691 "\n"
18692 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18693 " which the function is evaluated.\n"
18694 "\n"
18695 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18696 " which the function is evaluated.\n"
18697 "\n"
18698 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18699 " plot. Should have dimensions of\n"
18700 " nx by\n"
18701 " ny.\n"
18702 "\n"
18703 " nx (PLINT, input) : Number of x values at which function is\n"
18704 " evaluated.\n"
18705 "\n"
18706 " ny (PLINT, input) : Number of y values at which function is\n"
18707 " evaluated.\n"
18708 "\n"
18709 " opt (PLINT, input) : Determines the way in which the surface is\n"
18710 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n"
18711 " function of x for each value of y[j] .\n"
18712 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18713 " for each value of x[i] .\n"
18714 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18715 " at which function is defined.\n"
18716 "\n"
18717 "\n"
18718 " side (PLBOOL, input) : Flag to indicate whether or not ``sides''\n"
18719 " should be draw on the figure. If side is true sides are drawn,\n"
18720 " otherwise no sides are drawn.\n"
18721 "\n"
18722 ""},
18723 { "plot3dc", _wrap_plot3dc, METH_VARARGS, "\n"
18724 "Magnitude colored plot surface with contour\n"
18725 "\n"
18726 "DESCRIPTION:\n"
18727 "\n"
18728 " Aside from dropping the\n"
18729 " side functionality this is a more powerful form of plot3d: the surface\n"
18730 " mesh can be colored accordingly to the current z value being plotted,\n"
18731 " a contour plot can be drawn at the base XY plane, and a curtain can be\n"
18732 " drawn between the plotted function border and the base XY plane. The\n"
18733 " arguments are identical to those of plmeshc. The only difference\n"
18734 " between plmeshc and plot3dc is that plmeshc draws the bottom side of\n"
18735 " the surface, while plot3dc only draws the surface as viewed from the\n"
18736 " top.\n"
18737 "\n"
18738 " Redacted form: General: plot3dc(x, y, z, opt, clevel)\n"
18739 "\n"
18740 "\n"
18741 " This function is used in example 21.\n"
18742 "\n"
18743 "\n"
18744 "\n"
18745 "SYNOPSIS:\n"
18746 "\n"
18747 "plot3dc(x, y, z, nx, ny, opt, clevel, nlevel)\n"
18748 "\n"
18749 "ARGUMENTS:\n"
18750 "\n"
18751 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18752 " which the function is evaluated.\n"
18753 "\n"
18754 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18755 " which the function is evaluated.\n"
18756 "\n"
18757 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18758 " plot. Should have dimensions of\n"
18759 " nx by\n"
18760 " ny.\n"
18761 "\n"
18762 " nx (PLINT, input) : Number of x values at which function is\n"
18763 " evaluated.\n"
18764 "\n"
18765 " ny (PLINT, input) : Number of y values at which function is\n"
18766 " evaluated.\n"
18767 "\n"
18768 " opt (PLINT, input) : Determines the way in which the surface is\n"
18769 " represented. To specify more than one option just add the options,\n"
18770 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
18771 " showing z as a function of x for each value of y[j] .\n"
18772 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18773 " for each value of x[i] .\n"
18774 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18775 " at which function is defined.\n"
18776 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
18777 " the z value being plotted. The color is used from the current\n"
18778 " cmap1.\n"
18779 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18780 " using parameters\n"
18781 " nlevel and\n"
18782 " clevel.\n"
18783 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18784 " the borders of the plotted function.\n"
18785 "\n"
18786 "\n"
18787 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18788 " levels.\n"
18789 "\n"
18790 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18791 "\n"
18792 ""},
18793 { "plot3dcl", _wrap_plot3dcl, METH_VARARGS, "\n"
18794 "Magnitude colored plot surface with contour for z[x][y] with y index limits\n"
18795 "\n"
18796 "DESCRIPTION:\n"
18797 "\n"
18798 " When the implementation is completed this variant of plot3dc (see that\n"
18799 " function's documentation for more details) should be suitable for the\n"
18800 " case where the area of the x, y coordinate grid where z is defined can\n"
18801 " be non-rectangular. The implementation is incomplete so the last 4\n"
18802 " parameters of plot3dcl; indexxmin, indexxmax, indexymin, and\n"
18803 " indexymax; are currently ignored and the functionality is otherwise\n"
18804 " identical to that of plot3dc.\n"
18805 "\n"
18806 " Redacted form: General: plot3dcl(x, y, z, opt, clevel, indexxmin,\n"
18807 " indexymin, indexymax)\n"
18808 "\n"
18809 "\n"
18810 " This function is not used in any example.\n"
18811 "\n"
18812 "\n"
18813 "\n"
18814 "SYNOPSIS:\n"
18815 "\n"
18816 "plot3dcl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n"
18817 "\n"
18818 "ARGUMENTS:\n"
18819 "\n"
18820 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18821 " which the function is evaluated.\n"
18822 "\n"
18823 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18824 " which the function is evaluated.\n"
18825 "\n"
18826 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18827 " plot. Should have dimensions of\n"
18828 " nx by\n"
18829 " ny.\n"
18830 "\n"
18831 " nx (PLINT, input) : Number of x values at which the function is\n"
18832 " evaluated.\n"
18833 "\n"
18834 " ny (PLINT, input) : Number of y values at which the function is\n"
18835 " evaluated.\n"
18836 "\n"
18837 " opt (PLINT, input) : Determines the way in which the surface is\n"
18838 " represented. To specify more than one option just add the options,\n"
18839 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
18840 " showing z as a function of x for each value of y[j] .\n"
18841 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18842 " for each value of x[i] .\n"
18843 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18844 " at which function is defined.\n"
18845 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
18846 " the z value being plotted. The color is used from the current\n"
18847 " cmap1.\n"
18848 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18849 " using parameters\n"
18850 " nlevel and\n"
18851 " clevel.\n"
18852 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18853 " the borders of the plotted function.\n"
18854 "\n"
18855 "\n"
18856 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18857 " levels.\n"
18858 "\n"
18859 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18860 "\n"
18861 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n"
18862 " corresponds to the first x index where z is defined.\n"
18863 "\n"
18864 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n"
18865 " which corresponds (by convention) to one more than the last x\n"
18866 " index value where z is defined.\n"
18867 "\n"
18868 " indexymin (PLINT_VECTOR, input) : A vector containing y index\n"
18869 " values which all must be ≥ 0. These values are the first y index\n"
18870 " where z is defined for a particular x index in the range from\n"
18871 " indexxmin to indexxmax - 1. The dimension of indexymin is\n"
18872 " indexxmax.\n"
18873 "\n"
18874 " indexymax (PLINT_VECTOR, input) : A vector containing y index\n"
18875 " values which all must be ≤ ny. These values correspond (by\n"
18876 " convention) to one more than the last y index where z is defined\n"
18877 " for a particular x index in the range from indexxmin to indexxmax\n"
18878 " - 1. The dimension of indexymax is indexxmax.\n"
18879 "\n"
18880 ""},
18881 { "plsurf3d", _wrap_plsurf3d, METH_VARARGS, "\n"
18882 "Plot shaded 3-d surface plot\n"
18883 "\n"
18884 "DESCRIPTION:\n"
18885 "\n"
18886 " Plots a three-dimensional shaded surface plot within the environment\n"
18887 " set up by plw3d. The surface is defined by the two-dimensional matrix\n"
18888 " z[\n"
18889 " nx][\n"
18890 " ny], the point z[i][j] being the value of the function at (\n"
18891 " x[i],\n"
18892 " y[j]). Note that the points in vectors x and y do not need to be\n"
18893 " equally spaced, but must be stored in ascending order. For further\n"
18894 " details see the PLplot documentation.\n"
18895 "\n"
18896 " Redacted form: plsurf3d(x, y, z, opt, clevel)\n"
18897 "\n"
18898 " This function is not used in any examples.\n"
18899 "\n"
18900 "\n"
18901 "\n"
18902 "SYNOPSIS:\n"
18903 "\n"
18904 "plsurf3d(x, y, z, nx, ny, opt, clevel, nlevel)\n"
18905 "\n"
18906 "ARGUMENTS:\n"
18907 "\n"
18908 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18909 " which the function is evaluated.\n"
18910 "\n"
18911 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18912 " which the function is evaluated.\n"
18913 "\n"
18914 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18915 " plot. Should have dimensions of\n"
18916 " nx by\n"
18917 " ny.\n"
18918 "\n"
18919 " nx (PLINT, input) : Number of x values at which function is\n"
18920 " evaluated.\n"
18921 "\n"
18922 " ny (PLINT, input) : Number of y values at which function is\n"
18923 " evaluated.\n"
18924 "\n"
18925 " opt (PLINT, input) : Determines the way in which the surface is\n"
18926 " represented. To specify more than one option just add the options,\n"
18927 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n"
18928 " connecting points at which function is defined.\n"
18929 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18930 " using parameters\n"
18931 " nlevel and\n"
18932 " clevel.\n"
18933 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n"
18934 " using parameters\n"
18935 " nlevel and\n"
18936 " clevel.\n"
18937 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18938 " the borders of the plotted function.\n"
18939 " opt=MAG_COLOR : the surface is colored according to the value\n"
18940 " of Z; if MAG_COLOR is not used, then the surface is colored\n"
18941 " according to the intensity of the reflected light in the\n"
18942 " surface from a light source whose position is set using\n"
18943 " pllightsource.\n"
18944 "\n"
18945 "\n"
18946 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18947 " levels.\n"
18948 "\n"
18949 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18950 "\n"
18951 ""},
18952 { "plsurf3dl", _wrap_plsurf3dl, METH_VARARGS, "\n"
18953 "Plot shaded 3-d surface plot for z[x][y] with y index limits\n"
18954 "\n"
18955 "DESCRIPTION:\n"
18956 "\n"
18957 " This variant of plsurf3d (see that function's documentation for more\n"
18958 " details) should be suitable for the case where the area of the x, y\n"
18959 " coordinate grid where z is defined can be non-rectangular. The limits\n"
18960 " of that grid are provided by the parameters indexxmin, indexxmax,\n"
18961 " indexymin, and indexymax.\n"
18962 "\n"
18963 " Redacted form: plsurf3dl(x, y, z, opt, clevel, indexxmin, indexymin,\n"
18964 " indexymax)\n"
18965 "\n"
18966 " This function is used in example 8.\n"
18967 "\n"
18968 "\n"
18969 "\n"
18970 "SYNOPSIS:\n"
18971 "\n"
18972 "plsurf3dl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n"
18973 "\n"
18974 "ARGUMENTS:\n"
18975 "\n"
18976 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18977 " which the function is evaluated.\n"
18978 "\n"
18979 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18980 " which the function is evaluated.\n"
18981 "\n"
18982 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18983 " plot. Should have dimensions of\n"
18984 " nx by\n"
18985 " ny.\n"
18986 "\n"
18987 " nx (PLINT, input) : Number of x values at which function is\n"
18988 " evaluated.\n"
18989 "\n"
18990 " ny (PLINT, input) : Number of y values at which function is\n"
18991 " evaluated.\n"
18992 "\n"
18993 " opt (PLINT, input) : Determines the way in which the surface is\n"
18994 " represented. To specify more than one option just add the options,\n"
18995 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n"
18996 " connecting points at which function is defined.\n"
18997 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18998 " using parameters\n"
18999 " nlevel and\n"
19000 " clevel.\n"
19001 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n"
19002 " using parameters\n"
19003 " nlevel and\n"
19004 " clevel.\n"
19005 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
19006 " the borders of the plotted function.\n"
19007 " opt=MAG_COLOR : the surface is colored according to the value\n"
19008 " of Z; if MAG_COLOR is not used, then the surface is colored\n"
19009 " according to the intensity of the reflected light in the\n"
19010 " surface from a light source whose position is set using\n"
19011 " pllightsource.\n"
19012 "\n"
19013 "\n"
19014 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
19015 " levels.\n"
19016 "\n"
19017 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
19018 "\n"
19019 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n"
19020 " corresponds to the first x index where z is defined.\n"
19021 "\n"
19022 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n"
19023 " which corresponds (by convention) to one more than the last x\n"
19024 " index value where z is defined.\n"
19025 "\n"
19026 " indexymin (PLINT_VECTOR, input) : A vector containing the y index\n"
19027 " values which all must be ≥ 0. These values are the first y index\n"
19028 " where z is defined for a particular x index in the range from\n"
19029 " indexxmin to indexxmax - 1. The dimension of indexymin is\n"
19030 " indexxmax.\n"
19031 "\n"
19032 " indexymax (PLINT_VECTOR, input) : A vector containing the y index\n"
19033 " values which all must be ≤ ny. These values correspond (by\n"
19034 " convention) to one more than the last y index where z is defined\n"
19035 " for a particular x index in the range from indexxmin to indexxmax\n"
19036 " - 1. The dimension of indexymax is indexxmax.\n"
19037 "\n"
19038 ""},
19039 { "plparseopts", _wrap_plparseopts, METH_VARARGS, "\n"
19040 "Parse command-line arguments\n"
19041 "\n"
19042 "DESCRIPTION:\n"
19043 "\n"
19044 " Parse command-line arguments.\n"
19045 "\n"
19046 " plparseopts removes all recognized flags (decreasing argc\n"
19047 " accordingly), so that invalid input may be readily detected. It can\n"
19048 " also be used to process user command line flags. The user can merge\n"
19049 " an option table of type PLOptionTable into the internal option table\n"
19050 " info structure using plMergeOpts. Or, the user can specify that ONLY\n"
19051 " the external table(s) be parsed by calling plClearOpts before\n"
19052 " plMergeOpts.\n"
19053 "\n"
19054 " The default action taken by plparseopts is as follows:\n"
19055 " Returns with an error if an unrecognized option or badly formed\n"
19056 " option-value pair are encountered.\n"
19057 " Returns immediately (return code 0) when the first non-option command\n"
19058 " line argument is found.\n"
19059 " Returns with the return code of the option handler, if one was called.\n"
19060 "\n"
19061 " Deletes command line arguments from argv list as they are found, and\n"
19062 " decrements argc accordingly.\n"
19063 " Does not show \"invisible\" options in usage or help messages.\n"
19064 " Assumes the program name is contained in argv[0].\n"
19065 "\n"
19066 " These behaviors may be controlled through the\n"
19067 " mode argument.\n"
19068 "\n"
19069 " Redacted form: General: plparseopts(argv, mode)\n"
19070 "\n"
19071 "\n"
19072 " This function is used in all of the examples.\n"
19073 "\n"
19074 "\n"
19075 "\n"
19076 "SYNOPSIS:\n"
19077 "\n"
19078 "PLINT plparseopts(p_argc, argv, mode)\n"
19079 "\n"
19080 "ARGUMENTS:\n"
19081 "\n"
19082 " p_argc (int *, input/output) : Number of arguments.\n"
19083 "\n"
19084 " argv (PLCHAR_NC_MATRIX, input/output) : A vector of character\n"
19085 " strings containing *p_argc command-line arguments.\n"
19086 "\n"
19087 " mode (PLINT, input) : Parsing mode with the following\n"
19088 " possibilities: PL_PARSE_FULL (1) -- Full parsing of command line\n"
19089 " and all error messages enabled, including program exit when an\n"
19090 " error occurs. Anything on the command line that isn't recognized\n"
19091 " as a valid option or option argument is flagged as an error.\n"
19092 " PL_PARSE_QUIET (2) -- Turns off all output except in the case\n"
19093 " of errors.\n"
19094 " PL_PARSE_NODELETE (4) -- Turns off deletion of processed\n"
19095 " arguments.\n"
19096 " PL_PARSE_SHOWALL (8) -- Show invisible options\n"
19097 " PL_PARSE_NOPROGRAM (32) -- Specified if argv[0] is NOT a\n"
19098 " pointer to the program name.\n"
19099 " PL_PARSE_NODASH (64) -- Set if leading dash is NOT required.\n"
19100 " PL_PARSE_SKIP (128) -- Set to quietly skip over any\n"
19101 " unrecognized arguments.\n"
19102 "\n"
19103 ""},
19104 { "plpat", _wrap_plpat, METH_VARARGS, "\n"
19105 "Set area line fill pattern\n"
19106 "\n"
19107 "DESCRIPTION:\n"
19108 "\n"
19109 " Sets the area line fill pattern to be used, e.g., for calls to plfill.\n"
19110 " The pattern consists of 1 or 2 sets of parallel lines with specified\n"
19111 " inclinations and spacings. The arguments to this routine are the\n"
19112 " number of sets to use (1 or 2) followed by two vectors (with 1 or 2\n"
19113 " elements) specifying the inclinations in tenths of a degree and the\n"
19114 " spacing in micrometers. (See also plpsty)\n"
19115 "\n"
19116 " Redacted form: General: plpat(inc, del)\n"
19117 "\n"
19118 "\n"
19119 " This function is used in example 15.\n"
19120 "\n"
19121 "\n"
19122 "\n"
19123 "SYNOPSIS:\n"
19124 "\n"
19125 "plpat(nlin, inc, del)\n"
19126 "\n"
19127 "ARGUMENTS:\n"
19128 "\n"
19129 " nlin (PLINT, input) : Number of sets of lines making up the\n"
19130 " pattern, either 1 or 2.\n"
19131 "\n"
19132 " inc (PLINT_VECTOR, input) : A vector containing nlin values of the\n"
19133 " inclination in tenths of a degree. (Should be between -900 and\n"
19134 " 900).\n"
19135 "\n"
19136 " del (PLINT_VECTOR, input) : A vector containing nlin values of the\n"
19137 " spacing in micrometers between the lines making up the pattern.\n"
19138 "\n"
19139 ""},
19140 { "plpath", _wrap_plpath, METH_VARARGS, "\n"
19141 "Draw a line between two points, accounting for coordinate transforms\n"
19142 "\n"
19143 "DESCRIPTION:\n"
19144 "\n"
19145 " Joins the point (\n"
19146 " x1,\n"
19147 " y1) to (\n"
19148 " x2,\n"
19149 " y2) . If a global coordinate transform is defined then the line is\n"
19150 " broken in to n segments to approximate the path. If no transform is\n"
19151 " defined then this simply acts like a call to pljoin.\n"
19152 "\n"
19153 " Redacted form: plpath(n,x1,y1,x2,y2)\n"
19154 "\n"
19155 " This function is used in example 22.\n"
19156 "\n"
19157 "\n"
19158 "\n"
19159 "SYNOPSIS:\n"
19160 "\n"
19161 "plpath(n, x1, y1, x2, y2)\n"
19162 "\n"
19163 "ARGUMENTS:\n"
19164 "\n"
19165 " n (PLINT, input) : number of points to use to approximate the path.\n"
19166 "\n"
19167 " x1 (PLFLT, input) : x coordinate of first point.\n"
19168 "\n"
19169 " y1 (PLFLT, input) : y coordinate of first point.\n"
19170 "\n"
19171 " x2 (PLFLT, input) : x coordinate of second point.\n"
19172 "\n"
19173 " y2 (PLFLT, input) : y coordinate of second point.\n"
19174 "\n"
19175 ""},
19176 { "plpoin", _wrap_plpoin, METH_VARARGS, "\n"
19177 "Plot a glyph at the specified points\n"
19178 "\n"
19179 "DESCRIPTION:\n"
19180 "\n"
19181 " Plot a glyph at the specified points. (This function is largely\n"
19182 " superseded by plstring which gives access to many[!] more glyphs.)\n"
19183 " code=-1 means try to just draw a point. Right now it's just a move\n"
19184 " and a draw at the same place. Not ideal, since a sufficiently\n"
19185 " intelligent output device may optimize it away, or there may be faster\n"
19186 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n"
19187 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n"
19188 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n"
19189 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n"
19190 " code <= 127 the corresponding printable ASCII character is plotted.\n"
19191 "\n"
19192 " Redacted form: plpoin(x, y, code)\n"
19193 "\n"
19194 " This function is used in examples 1, 6, 14, and 29.\n"
19195 "\n"
19196 "\n"
19197 "\n"
19198 "SYNOPSIS:\n"
19199 "\n"
19200 "plpoin(n, x, y, code)\n"
19201 "\n"
19202 "ARGUMENTS:\n"
19203 "\n"
19204 " n (PLINT, input) : Number of points in the x and y vectors.\n"
19205 "\n"
19206 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
19207 " points.\n"
19208 "\n"
19209 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
19210 " points.\n"
19211 "\n"
19212 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n"
19213 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n"
19214 " each of the n points.\n"
19215 "\n"
19216 ""},
19217 { "plpoin3", _wrap_plpoin3, METH_VARARGS, "\n"
19218 "Plot a glyph at the specified 3D points\n"
19219 "\n"
19220 "DESCRIPTION:\n"
19221 "\n"
19222 " Plot a glyph at the specified 3D points. (This function is largely\n"
19223 " superseded by plstring3 which gives access to many[!] more glyphs.)\n"
19224 " Set up the call to this function similar to what is done for plline3.\n"
19225 " code=-1 means try to just draw a point. Right now it's just a move\n"
19226 " and a draw at the same place. Not ideal, since a sufficiently\n"
19227 " intelligent output device may optimize it away, or there may be faster\n"
19228 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n"
19229 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n"
19230 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n"
19231 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n"
19232 " code <= 127 the corresponding printable ASCII character is plotted.\n"
19233 "\n"
19234 " Redacted form: plpoin3(x, y, z, code)\n"
19235 "\n"
19236 " This function is not used in any example.\n"
19237 "\n"
19238 "\n"
19239 "\n"
19240 "SYNOPSIS:\n"
19241 "\n"
19242 "plpoin3(n, x, y, z, code)\n"
19243 "\n"
19244 "ARGUMENTS:\n"
19245 "\n"
19246 " n (PLINT, input) : Number of points in the x and y vectors.\n"
19247 "\n"
19248 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
19249 " points.\n"
19250 "\n"
19251 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
19252 " points.\n"
19253 "\n"
19254 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
19255 " points.\n"
19256 "\n"
19257 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n"
19258 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n"
19259 " each of the n points.\n"
19260 "\n"
19261 ""},
19262 { "plpoly3", _wrap_plpoly3, METH_VARARGS, "\n"
19263 "Draw a polygon in 3 space\n"
19264 "\n"
19265 "DESCRIPTION:\n"
19266 "\n"
19267 " Draws a polygon in 3 space defined by n points in x, y, and z. Setup\n"
19268 " like plline3, but differs from that function in that plpoly3 attempts\n"
19269 " to determine if the polygon is viewable depending on the order of the\n"
19270 " points within the vector and the value of ifcc. If the back of\n"
19271 " polygon is facing the viewer, then it isn't drawn. If this isn't what\n"
19272 " you want, then use plline3 instead.\n"
19273 "\n"
19274 " The points are assumed to be in a plane, and the directionality of the\n"
19275 " plane is determined from the first three points. Additional points do\n"
19276 " not have to lie on the plane defined by the first three, but if they\n"
19277 " do not, then the determination of visibility obviously can't be 100%\n"
19278 " accurate... So if you're 3 space polygons are too far from planar,\n"
19279 " consider breaking them into smaller polygons. 3 points define a plane\n"
19280 " :-).\n"
19281 "\n"
19282 " Bugs: If one of the first two segments is of zero length, or if they\n"
19283 " are co-linear, the calculation of visibility has a 50/50 chance of\n"
19284 " being correct. Avoid such situations :-). See x18c.c for an example\n"
19285 " of this problem. (Search for 20.1).\n"
19286 "\n"
19287 " Redacted form: plpoly3(x, y, z, code)\n"
19288 "\n"
19289 " This function is used in example 18.\n"
19290 "\n"
19291 "\n"
19292 "\n"
19293 "SYNOPSIS:\n"
19294 "\n"
19295 "plpoly3(n, x, y, z, draw, ifcc)\n"
19296 "\n"
19297 "ARGUMENTS:\n"
19298 "\n"
19299 " n (PLINT, input) : Number of points defining line.\n"
19300 "\n"
19301 " x (PLFLT_VECTOR, input) : A vector containing\n"
19302 " n x coordinates of points.\n"
19303 "\n"
19304 " y (PLFLT_VECTOR, input) : A vector containing\n"
19305 " n y coordinates of points.\n"
19306 "\n"
19307 " z (PLFLT_VECTOR, input) : A vector containing\n"
19308 " n z coordinates of points.\n"
19309 "\n"
19310 " draw (PLBOOL_VECTOR, input) : A vector containing\n"
19311 " n-1 Boolean values which control drawing the segments of the polygon.\n"
19312 " If draw[i] is true, then the polygon segment from index [i] to\n"
19313 " [i+1] is drawn, otherwise, not.\n"
19314 "\n"
19315 " ifcc (PLBOOL, input) : If ifcc is true the directionality of the\n"
19316 " polygon is determined by assuming the points are laid out in a\n"
19317 " counter-clockwise order. Otherwise, the directionality of the\n"
19318 " polygon is determined by assuming the points are laid out in a\n"
19319 " clockwise order.\n"
19320 "\n"
19321 ""},
19322 { "plprec", _wrap_plprec, METH_VARARGS, "\n"
19323 "Set precision in numeric labels\n"
19324 "\n"
19325 "DESCRIPTION:\n"
19326 "\n"
19327 " Sets the number of places after the decimal point in numeric labels.\n"
19328 "\n"
19329 " Redacted form: plprec(setp, prec)\n"
19330 "\n"
19331 " This function is used in example 29.\n"
19332 "\n"
19333 "\n"
19334 "\n"
19335 "SYNOPSIS:\n"
19336 "\n"
19337 "plprec(setp, prec)\n"
19338 "\n"
19339 "ARGUMENTS:\n"
19340 "\n"
19341 " setp (PLINT, input) : If setp is equal to 0 then PLplot\n"
19342 " automatically determines the number of places to use after the\n"
19343 " decimal point in numeric labels (like those used to label axes).\n"
19344 " If setp is 1 then prec sets the number of places.\n"
19345 "\n"
19346 " prec (PLINT, input) : The number of characters to draw after the\n"
19347 " decimal point in numeric labels.\n"
19348 "\n"
19349 ""},
19350 { "plpsty", _wrap_plpsty, METH_O, "\n"
19351 "Select area fill pattern\n"
19352 "\n"
19353 "DESCRIPTION:\n"
19354 "\n"
19355 " If\n"
19356 " patt is zero or less use either a hardware solid fill if the drivers\n"
19357 " have that capability (virtually all do) or fall back to a software\n"
19358 " emulation of a solid fill using the eighth area line fill pattern. If\n"
19359 " 0 <\n"
19360 " patt <= 8, then select one of eight predefined area line fill patterns\n"
19361 " to use (see plpat if you desire other patterns).\n"
19362 "\n"
19363 " Redacted form: plpsty(patt)\n"
19364 "\n"
19365 " This function is used in examples 12, 13, 15, 16, and 25.\n"
19366 "\n"
19367 "\n"
19368 "\n"
19369 "SYNOPSIS:\n"
19370 "\n"
19371 "plpsty(patt)\n"
19372 "\n"
19373 "ARGUMENTS:\n"
19374 "\n"
19375 " patt (PLINT, input) : The desired pattern index. If\n"
19376 " patt is zero or less, then a solid fill is (normally, see qualifiers\n"
19377 " above) used. For\n"
19378 " patt in the range from 1 to 8 and assuming the driver has not supplied\n"
19379 " line fill capability itself (most deliberately do not so that line\n"
19380 " fill patterns look identical for those drivers), the patterns\n"
19381 " consist of (1) horizontal lines, (2) vertical lines, (3) lines at\n"
19382 " 45 degrees, (4) lines at -45 degrees, (5) lines at 30 degrees, (6)\n"
19383 " lines at -30 degrees, (7) both vertical and horizontal lines, and\n"
19384 " (8) lines at both 45 degrees and -45 degrees.\n"
19385 "\n"
19386 ""},
19387 { "plptex", _wrap_plptex, METH_VARARGS, "\n"
19388 "Write text inside the viewport\n"
19389 "\n"
19390 "DESCRIPTION:\n"
19391 "\n"
19392 " Writes text at a specified position and inclination within the\n"
19393 " viewport. Text is clipped at the viewport boundaries. The reference\n"
19394 " point of a string lies along a line passing through the string at half\n"
19395 " the height of a capital letter. The position of the reference point\n"
19396 " along this line is determined by just, the reference point is placed\n"
19397 " at world coordinates (\n"
19398 " x,\n"
19399 " y) within the viewport. The inclination of the string is specified\n"
19400 " in terms of differences of world coordinates making it easy to write\n"
19401 " text parallel to a line in a graph.\n"
19402 "\n"
19403 " Redacted form: plptex(x, y, dx, dy, just, text)\n"
19404 "\n"
19405 " This function is used in example 2-4,10,12-14,20,23,24,26.\n"
19406 "\n"
19407 "\n"
19408 "\n"
19409 "SYNOPSIS:\n"
19410 "\n"
19411 "plptex(x, y, dx, dy, just, text)\n"
19412 "\n"
19413 "ARGUMENTS:\n"
19414 "\n"
19415 " x (PLFLT, input) : x coordinate of reference point of string.\n"
19416 "\n"
19417 " y (PLFLT, input) : y coordinate of reference point of string.\n"
19418 "\n"
19419 " dx (PLFLT, input) : Together with dy, this specifies the\n"
19420 " inclination of the string. The baseline of the string is parallel\n"
19421 " to a line joining (\n"
19422 " x,\n"
19423 " y) to (\n"
19424 " x+\n"
19425 " dx,\n"
19426 " y+\n"
19427 " dy) .\n"
19428 "\n"
19429 " dy (PLFLT, input) : Together with dx, this specifies the\n"
19430 " inclination of the string.\n"
19431 "\n"
19432 " just (PLFLT, input) : Specifies the position of the string relative\n"
19433 " to its reference point. If just=0. , the reference point is at\n"
19434 " the left and if just=1. , it is at the right of the string. Other\n"
19435 " values of just give intermediate justifications.\n"
19436 "\n"
19437 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
19438 " written out.\n"
19439 "\n"
19440 ""},
19441 { "plptex3", _wrap_plptex3, METH_VARARGS, "\n"
19442 "Write text inside the viewport of a 3D plot\n"
19443 "\n"
19444 "DESCRIPTION:\n"
19445 "\n"
19446 " Writes text at a specified position and inclination and with a\n"
19447 " specified shear within the viewport. Text is clipped at the viewport\n"
19448 " boundaries. The reference point of a string lies along a line passing\n"
19449 " through the string at half the height of a capital letter. The\n"
19450 " position of the reference point along this line is determined by just,\n"
19451 " and the reference point is placed at world coordinates (\n"
19452 " wx,\n"
19453 " wy,\n"
19454 " wz) within the viewport. The inclination and shear of the string is\n"
19455 " specified in terms of differences of world coordinates making it easy\n"
19456 " to write text parallel to a line in a graph.\n"
19457 "\n"
19458 " Redacted form: plptex3(x, y, z, dx, dy, dz, sx, sy, sz, just, text)\n"
19459 "\n"
19460 " This function is used in example 28.\n"
19461 "\n"
19462 "\n"
19463 "\n"
19464 "SYNOPSIS:\n"
19465 "\n"
19466 "plptex3(wx, wy, wz, dx, dy, dz, sx, sy, sz, just, text)\n"
19467 "\n"
19468 "ARGUMENTS:\n"
19469 "\n"
19470 " wx (PLFLT, input) : x world coordinate of reference point of\n"
19471 " string.\n"
19472 "\n"
19473 " wy (PLFLT, input) : y world coordinate of reference point of\n"
19474 " string.\n"
19475 "\n"
19476 " wz (PLFLT, input) : z world coordinate of reference point of\n"
19477 " string.\n"
19478 "\n"
19479 " dx (PLFLT, input) : Together with dy and\n"
19480 " dz , this specifies the inclination of the string. The baseline of\n"
19481 " the string is parallel to a line joining (\n"
19482 " x,\n"
19483 " y,\n"
19484 " z) to (\n"
19485 " x+\n"
19486 " dx,\n"
19487 " y+\n"
19488 " dy,\n"
19489 " z+\n"
19490 " dz) .\n"
19491 "\n"
19492 " dy (PLFLT, input) : Together with dx and\n"
19493 " dz, this specifies the inclination of the string.\n"
19494 "\n"
19495 " dz (PLFLT, input) : Together with dx and\n"
19496 " dy, this specifies the inclination of the string.\n"
19497 "\n"
19498 " sx (PLFLT, input) : Together with sy and\n"
19499 " sz , this specifies the shear of the string. The string is sheared so\n"
19500 " that the characters are vertically parallel to a line joining (\n"
19501 " x,\n"
19502 " y,\n"
19503 " z) to (\n"
19504 " x+\n"
19505 " sx,\n"
19506 " y+\n"
19507 " sy,\n"
19508 " z+\n"
19509 " sz) . If sx =\n"
19510 " sy =\n"
19511 " sz = 0.) then the text is not sheared.\n"
19512 "\n"
19513 " sy (PLFLT, input) : Together with sx and\n"
19514 " sz, this specifies shear of the string.\n"
19515 "\n"
19516 " sz (PLFLT, input) : Together with sx and\n"
19517 " sy, this specifies shear of the string.\n"
19518 "\n"
19519 " just (PLFLT, input) : Specifies the position of the string relative\n"
19520 " to its reference point. If just=0. , the reference point is at\n"
19521 " the left and if just=1. , it is at the right of the string. Other\n"
19522 " values of just give intermediate justifications.\n"
19523 "\n"
19524 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
19525 " written out.\n"
19526 "\n"
19527 ""},
19528 { "plrandd", _wrap_plrandd, METH_NOARGS, "\n"
19529 "Random number generator returning a real random number in the range [0,1]\n"
19530 "\n"
19531 "DESCRIPTION:\n"
19532 "\n"
19533 " Random number generator returning a real random number in the range\n"
19534 " [0,1]. The generator is based on the Mersenne Twister. Most languages\n"
19535 " / compilers provide their own random number generator, and so this is\n"
19536 " provided purely for convenience and to give a consistent random number\n"
19537 " generator across all languages supported by PLplot. This is\n"
19538 " particularly useful for comparing results from the test suite of\n"
19539 " examples.\n"
19540 "\n"
19541 " Redacted form: plrandd()\n"
19542 "\n"
19543 " This function is used in examples 17 and 21.\n"
19544 "\n"
19545 "\n"
19546 "\n"
19547 "SYNOPSIS:\n"
19548 "\n"
19549 "plrandd()\n"
19550 "\n"
19551 ""},
19552 { "plreplot", _wrap_plreplot, METH_NOARGS, "\n"
19553 "Replays contents of plot buffer to current device/file\n"
19554 "\n"
19555 "DESCRIPTION:\n"
19556 "\n"
19557 " Replays contents of plot buffer to current device/file.\n"
19558 "\n"
19559 " Redacted form: plreplot()\n"
19560 "\n"
19561 " This function is used in example 1,20.\n"
19562 "\n"
19563 "\n"
19564 "\n"
19565 "SYNOPSIS:\n"
19566 "\n"
19567 "plreplot()\n"
19568 "\n"
19569 ""},
19570 { "plrgbhls", _wrap_plrgbhls, METH_VARARGS, "\n"
19571 "Convert RGB color to HLS\n"
19572 "\n"
19573 "DESCRIPTION:\n"
19574 "\n"
19575 " Convert RGB color coordinates to HLS\n"
19576 "\n"
19577 " Redacted form: General: plrgbhls(r, g, b, p_h, p_l, p_s)\n"
19578 "\n"
19579 "\n"
19580 " This function is used in example 2.\n"
19581 "\n"
19582 "\n"
19583 "\n"
19584 "SYNOPSIS:\n"
19585 "\n"
19586 "plrgbhls(r, g, b, p_h, p_l, p_s)\n"
19587 "\n"
19588 "ARGUMENTS:\n"
19589 "\n"
19590 " r (PLFLT, input) : Red intensity (0.0-1.0) of the color.\n"
19591 "\n"
19592 " g (PLFLT, input) : Green intensity (0.0-1.0) of the color.\n"
19593 "\n"
19594 " b (PLFLT, input) : Blue intensity (0.0-1.0) of the color.\n"
19595 "\n"
19596 " p_h (PLFLT_NC_SCALAR, output) : Returned value of the hue in\n"
19597 " degrees (0.0-360.0) on the color cylinder.\n"
19598 "\n"
19599 " p_l (PLFLT_NC_SCALAR, output) : Returned value of the lightness\n"
19600 " expressed as a fraction (0.0-1.0) of the axis of the color\n"
19601 " cylinder.\n"
19602 "\n"
19603 " p_s (PLFLT_NC_SCALAR, output) : Returned value of the saturation\n"
19604 " expressed as a fraction (0.0-1.0) of the radius of the color\n"
19605 " cylinder.\n"
19606 "\n"
19607 ""},
19608 { "plschr", _wrap_plschr, METH_VARARGS, "\n"
19609 "Set character size\n"
19610 "\n"
19611 "DESCRIPTION:\n"
19612 "\n"
19613 " This sets up the size of all subsequent characters drawn. The actual\n"
19614 " height of a character is the product of the default character size and\n"
19615 " a scaling factor.\n"
19616 "\n"
19617 " Redacted form: plschr(def, scale)\n"
19618 "\n"
19619 " This function is used in examples 2, 13, 23, and 24.\n"
19620 "\n"
19621 "\n"
19622 "\n"
19623 "SYNOPSIS:\n"
19624 "\n"
19625 "plschr(def, scale)\n"
19626 "\n"
19627 "ARGUMENTS:\n"
19628 "\n"
19629 " def (PLFLT, input) : The default height of a character in\n"
19630 " millimeters, should be set to zero if the default height is to\n"
19631 " remain unchanged. For rasterized drivers the dx and dy values\n"
19632 " specified in plspage are used to convert from mm to pixels (note\n"
19633 " the different unit systems used). This dpi aware scaling is not\n"
19634 " implemented for all drivers yet.\n"
19635 "\n"
19636 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
19637 " actual character height.\n"
19638 "\n"
19639 ""},
19640 { "plscmap0", _wrap_plscmap0, METH_VARARGS, "\n"
19641 "Set cmap0 colors by 8-bit RGB values\n"
19642 "\n"
19643 "DESCRIPTION:\n"
19644 "\n"
19645 " Set cmap0 colors using 8-bit RGB values (see the PLplot\n"
19646 " documentation). This sets the entire color map -- only as many colors\n"
19647 " as specified will be allocated.\n"
19648 "\n"
19649 " Redacted form: plscmap0(r, g, b)\n"
19650 "\n"
19651 " This function is used in examples 2 and 24.\n"
19652 "\n"
19653 "\n"
19654 "\n"
19655 "SYNOPSIS:\n"
19656 "\n"
19657 "plscmap0(r, g, b, ncol0)\n"
19658 "\n"
19659 "ARGUMENTS:\n"
19660 "\n"
19661 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19662 " integers (0-255) representing the degree of red in the color.\n"
19663 "\n"
19664 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19665 " integers (0-255) representing the degree of green in the color.\n"
19666 "\n"
19667 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19668 " integers (0-255) representing the degree of blue in the color.\n"
19669 "\n"
19670 " ncol0 (PLINT, input) : Number of items in the r, g, and b vectors.\n"
19671 "\n"
19672 ""},
19673 { "plscmap0a", _wrap_plscmap0a, METH_VARARGS, "\n"
19674 "Set cmap0 colors by 8-bit RGB values and PLFLT alpha transparency value\n"
19675 "\n"
19676 "DESCRIPTION:\n"
19677 "\n"
19678 " Set cmap0 colors using 8-bit RGB values (see the PLplot documentation)\n"
19679 " and PLFLT alpha transparency value. This sets the entire color map --\n"
19680 " only as many colors as specified will be allocated.\n"
19681 "\n"
19682 " Redacted form: plscmap0a(r, g, b, alpha)\n"
19683 "\n"
19684 " This function is used in examples 30.\n"
19685 "\n"
19686 "\n"
19687 "\n"
19688 "SYNOPSIS:\n"
19689 "\n"
19690 "plscmap0a(r, g, b, alpha, ncol0)\n"
19691 "\n"
19692 "ARGUMENTS:\n"
19693 "\n"
19694 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19695 " integers (0-255) representing the degree of red in the color.\n"
19696 "\n"
19697 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19698 " integers (0-255) representing the degree of green in the color.\n"
19699 "\n"
19700 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19701 " integers (0-255) representing the degree of blue in the color.\n"
19702 "\n"
19703 " alpha (PLFLT_VECTOR, input) : A vector containing values (0.0-1.0)\n"
19704 " representing the alpha transparency of the color.\n"
19705 "\n"
19706 " ncol0 (PLINT, input) : Number of items in the r, g, b, and alpha\n"
19707 " vectors.\n"
19708 "\n"
19709 ""},
19710 { "plscmap0n", _wrap_plscmap0n, METH_O, "\n"
19711 "Set number of colors in cmap0\n"
19712 "\n"
19713 "DESCRIPTION:\n"
19714 "\n"
19715 " Set number of colors in cmap0 (see the PLplot documentation). Allocate\n"
19716 " (or reallocate) cmap0, and fill with default values for those colors\n"
19717 " not previously allocated. The first 16 default colors are given in\n"
19718 " the plcol0 documentation. For larger indices the default color is\n"
19719 " red.\n"
19720 "\n"
19721 " The drivers are not guaranteed to support more than 16 colors.\n"
19722 "\n"
19723 " Redacted form: plscmap0n(ncol0)\n"
19724 "\n"
19725 " This function is used in examples 15, 16, and 24.\n"
19726 "\n"
19727 "\n"
19728 "\n"
19729 "SYNOPSIS:\n"
19730 "\n"
19731 "plscmap0n(ncol0)\n"
19732 "\n"
19733 "ARGUMENTS:\n"
19734 "\n"
19735 " ncol0 (PLINT, input) : Number of colors that will be allocated in\n"
19736 " the cmap0 palette. If this number is zero or less, then the value\n"
19737 " from the previous call to plscmap0n is used and if there is no\n"
19738 " previous call, then a default value is used.\n"
19739 "\n"
19740 ""},
19741 { "plscmap1", _wrap_plscmap1, METH_VARARGS, "\n"
19742 "Set opaque RGB cmap1 colors values\n"
19743 "\n"
19744 "DESCRIPTION:\n"
19745 "\n"
19746 " Set opaque cmap1 colors (see the PLplot documentation) using RGB\n"
19747 " vector values. This function also sets the number of cmap1 colors.\n"
19748 " N.B. Continuous cmap1 colors are indexed with a floating-point index\n"
19749 " in the range from 0.0-1.0 which is linearly transformed (e.g., by\n"
19750 " plcol1) to an integer index of these RGB vectors in the range from 0\n"
19751 " to\n"
19752 " ncol1-1. So in order for this continuous color model to work\n"
19753 " properly, it is the responsibility of the user of plscmap1 to insure\n"
19754 " that these RGB vectors are continuous functions of their integer\n"
19755 " indices.\n"
19756 "\n"
19757 " Redacted form: plscmap1(r, g, b)\n"
19758 "\n"
19759 " This function is used in example 31.\n"
19760 "\n"
19761 "\n"
19762 "\n"
19763 "SYNOPSIS:\n"
19764 "\n"
19765 "plscmap1(r, g, b, ncol1)\n"
19766 "\n"
19767 "ARGUMENTS:\n"
19768 "\n"
19769 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19770 " 8-bit integers in the range from 0-255) the degree of red in the\n"
19771 " color as a continuous function of the integer index of the vector.\n"
19772 "\n"
19773 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19774 " 8-bit integers in the range from 0-255) the degree of green in the\n"
19775 " color as a continuous function of the integer index of the vector.\n"
19776 "\n"
19777 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19778 " 8-bit integers in the range from 0-255) the degree of blue in the\n"
19779 " color as a continuous function of the integer index of the vector.\n"
19780 "\n"
19781 " ncol1 (PLINT, input) : Number of items in the r, g, and b vectors.\n"
19782 "\n"
19783 ""},
19784 { "plscmap1a", _wrap_plscmap1a, METH_VARARGS, "\n"
19785 "Set semitransparent cmap1 RGBA colors.\n"
19786 "\n"
19787 "DESCRIPTION:\n"
19788 "\n"
19789 " Set semitransparent cmap1 colors (see the PLplot documentation) using\n"
19790 " RGBA vector values. This function also sets the number of cmap1\n"
19791 " colors. N.B. Continuous cmap1 colors are indexed with a\n"
19792 " floating-point index in the range from 0.0-1.0 which is linearly\n"
19793 " transformed (e.g., by plcol1) to an integer index of these RGBA\n"
19794 " vectors in the range from 0 to\n"
19795 " ncol1-1. So in order for this continuous color model to work\n"
19796 " properly, it is the responsibility of the user of plscmap1 to insure\n"
19797 " that these RGBA vectors are continuous functions of their integer\n"
19798 " indices.\n"
19799 "\n"
19800 " Redacted form: plscmap1a(r, g, b, alpha)\n"
19801 "\n"
19802 " This function is used in example 31.\n"
19803 "\n"
19804 "\n"
19805 "\n"
19806 "SYNOPSIS:\n"
19807 "\n"
19808 "plscmap1a(r, g, b, alpha, ncol1)\n"
19809 "\n"
19810 "ARGUMENTS:\n"
19811 "\n"
19812 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19813 " 8-bit integers in the range from 0-255) the degree of red in the\n"
19814 " color as a continuous function of the integer index of the vector.\n"
19815 "\n"
19816 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19817 " 8-bit integers in the range from 0-255) the degree of green in the\n"
19818 " color as a continuous function of the integer index of the vector.\n"
19819 "\n"
19820 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19821 " 8-bit integers in the range from 0-255) the degree of blue in the\n"
19822 " color as a continuous function of the integer index of the vector.\n"
19823 "\n"
19824 " alpha (PLFLT_VECTOR, input) : A vector that represents (using PLFLT\n"
19825 " values in the range from 0.0-1.0 where 0.0 corresponds to\n"
19826 " completely transparent and 1.0 corresponds to completely opaque)\n"
19827 " the alpha transparency of the color as a continuous function of\n"
19828 " the integer index of the vector.\n"
19829 "\n"
19830 " ncol1 (PLINT, input) : Number of items in the r, g, b, and alpha\n"
19831 " vectors.\n"
19832 "\n"
19833 ""},
19834 { "plscmap1l", _wrap_plscmap1l, METH_VARARGS, "\n"
19835 "Set cmap1 colors using a piece-wise linear relationship\n"
19836 "\n"
19837 "DESCRIPTION:\n"
19838 "\n"
19839 " Set cmap1 colors using a piece-wise linear relationship between the\n"
19840 " cmap1 intensity index (0.0-1.0) and position in HLS or RGB color space\n"
19841 " (see the PLplot documentation). May be called at any time.\n"
19842 "\n"
19843 " The idea here is to specify a number of control points that define the\n"
19844 " mapping between input cmap1 intensity indices and HLS or RGB. Between\n"
19845 " these points, linear interpolation is used which gives a smooth\n"
19846 " variation of color with intensity index. Any number of control points\n"
19847 " may be specified, located at arbitrary positions, although typically 2\n"
19848 " - 4 are enough. Another way of stating this is that we are traversing\n"
19849 " a given number of lines through HLS or RGB space as we move through\n"
19850 " cmap1 intensity indices. The control points at the minimum and\n"
19851 " maximum position (0 and 1) must always be specified. By adding more\n"
19852 " control points you can get more variation. One good technique for\n"
19853 " plotting functions that vary about some expected average is to use an\n"
19854 " additional 2 control points in the center (position ~= 0.5) that are\n"
19855 " the same lightness as the background (typically white for paper\n"
19856 " output, black for crt), and same hue as the boundary control points.\n"
19857 " This allows the highs and lows to be very easily distinguished.\n"
19858 "\n"
19859 " Each control point must specify the cmap1 intensity index and the\n"
19860 " associated three coordinates in HLS or RGB space. The first point\n"
19861 " must correspond to position = 0, and the last to position = 1.\n"
19862 "\n"
19863 " If RGB colors are provided then the interpolation takes place in RGB\n"
19864 " space and is trivial. However if HLS colors are provided then, because\n"
19865 " of the circular nature of the color wheel for the hue coordinate, the\n"
19866 " interpolation could be performed in either direction around the color\n"
19867 " wheel. The default behaviour is for the hue to be linearly\n"
19868 " interpolated ignoring this circular property of hue. So for example,\n"
19869 " the hues 0 (red) and 240 (blue) will get interpolated via yellow,\n"
19870 " green and cyan. If instead you wish to interpolate the other way\n"
19871 " around the color wheel you have two options. You may provide hues\n"
19872 " outside the range [0, 360), so by using a hue of -120 for blue or 360\n"
19873 " for red the interpolation will proceed via magenta. Alternatively you\n"
19874 " can utilise the alt_hue_path variable to reverse the direction of\n"
19875 " interpolation if you need to provide hues within the [0-360) range.\n"
19876 "\n"
19877 " Examples of interpolation Huealt_hue_pathcolor scheme[120\n"
19878 " 240]falsegreen-cyan-blue[240 120]falseblue-cyan-green[120\n"
19879 " -120]falsegreen-yellow-red-magenta-blue[240\n"
19880 " 480]falseblue-magenta-red-yellow-green[120\n"
19881 " 240]truegreen-yellow-red-magenta-blue[240\n"
19882 " 120]trueblue-magenta-red-yellow-green\n"
19883 "\n"
19884 " Bounds on coordinatesRGBR[0, 1]magnitudeRGBG[0, 1]magnitudeRGBB[0,\n"
19885 " 1]magnitudeHLShue[0, 360]degreesHLSlightness[0,\n"
19886 " 1]magnitudeHLSsaturation[0, 1]magnitude\n"
19887 "\n"
19888 " Redacted form: plscmap1l(itype, intensity, coord1, coord2, coord3,\n"
19889 " alt_hue_path)\n"
19890 "\n"
19891 " This function is used in examples 8, 11, 12, 15, 20, and 21.\n"
19892 "\n"
19893 "\n"
19894 "\n"
19895 "SYNOPSIS:\n"
19896 "\n"
19897 "plscmap1l(itype, npts, intensity, coord1, coord2, coord3, alt_hue_path)\n"
19898 "\n"
19899 "ARGUMENTS:\n"
19900 "\n"
19901 " itype (PLBOOL, input) : true: RGB, false: HLS.\n"
19902 "\n"
19903 " npts (PLINT, input) : number of control points\n"
19904 "\n"
19905 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n"
19906 " intensity index (0.0-1.0) in ascending order for each control\n"
19907 " point.\n"
19908 "\n"
19909 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n"
19910 " coordinate (H or R) for each control point.\n"
19911 "\n"
19912 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n"
19913 " coordinate (L or G) for each control point.\n"
19914 "\n"
19915 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n"
19916 " coordinate (S or B) for each control point.\n"
19917 "\n"
19918 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n"
19919 " npts - 1 elements), each containing either true to use the reversed\n"
19920 " HLS interpolation or false to use the regular HLS interpolation.\n"
19921 " (alt_hue_path[i] refers to the interpolation interval between the\n"
19922 " i and i + 1 control points). This parameter is not used for RGB\n"
19923 " colors (\n"
19924 " itype = true).\n"
19925 "\n"
19926 ""},
19927 { "plscmap1la", _wrap_plscmap1la, METH_VARARGS, "\n"
19928 "Set cmap1 colors and alpha transparency using a piece-wise linear relationship\n"
19929 "\n"
19930 "DESCRIPTION:\n"
19931 "\n"
19932 " This is a variant of plscmap1l that supports alpha channel\n"
19933 " transparency. It sets cmap1 colors using a piece-wise linear\n"
19934 " relationship between cmap1 intensity index (0.0-1.0) and position in\n"
19935 " HLS or RGB color space (see the PLplot documentation) with alpha\n"
19936 " transparency value (0.0-1.0). It may be called at any time.\n"
19937 "\n"
19938 " Redacted form: plscmap1la(itype, intensity, coord1, coord2, coord3,\n"
19939 " alpha, alt_hue_path)\n"
19940 "\n"
19941 " This function is used in example 30.\n"
19942 "\n"
19943 "\n"
19944 "\n"
19945 "SYNOPSIS:\n"
19946 "\n"
19947 "plscmap1la(itype, npts, intensity, coord1, coord2, coord3, alpha, alt_hue_path)\n"
19948 "\n"
19949 "ARGUMENTS:\n"
19950 "\n"
19951 " itype (PLBOOL, input) : true: RGB, false: HLS.\n"
19952 "\n"
19953 " npts (PLINT, input) : number of control points.\n"
19954 "\n"
19955 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n"
19956 " intensity index (0.0-1.0) in ascending order for each control\n"
19957 " point.\n"
19958 "\n"
19959 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n"
19960 " coordinate (H or R) for each control point.\n"
19961 "\n"
19962 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n"
19963 " coordinate (L or G) for each control point.\n"
19964 "\n"
19965 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n"
19966 " coordinate (S or B) for each control point.\n"
19967 "\n"
19968 " alpha (PLFLT_VECTOR, input) : A vector containing the alpha\n"
19969 " transparency value (0.0-1.0) for each control point.\n"
19970 "\n"
19971 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n"
19972 " npts - 1 elements) containing the alternative interpolation method\n"
19973 " Boolean value for each control point interval. (alt_hue_path[i]\n"
19974 " refers to the interpolation interval between the i and i + 1\n"
19975 " control points).\n"
19976 "\n"
19977 ""},
19978 { "plscmap1n", _wrap_plscmap1n, METH_O, "\n"
19979 "Set number of colors in cmap1\n"
19980 "\n"
19981 "DESCRIPTION:\n"
19982 "\n"
19983 " Set number of colors in cmap1, (re-)allocate cmap1, and set default\n"
19984 " values if this is the first allocation (see the PLplot documentation).\n"
19985 "\n"
19986 " Redacted form: plscmap1n(ncol1)\n"
19987 "\n"
19988 " This function is used in examples 8, 11, 20, and 21.\n"
19989 "\n"
19990 "\n"
19991 "\n"
19992 "SYNOPSIS:\n"
19993 "\n"
19994 "plscmap1n(ncol1)\n"
19995 "\n"
19996 "ARGUMENTS:\n"
19997 "\n"
19998 " ncol1 (PLINT, input) : Number of colors that will be allocated in\n"
19999 " the cmap1 palette. If this number is zero or less, then the value\n"
20000 " from the previous call to plscmap1n is used and if there is no\n"
20001 " previous call, then a default value is used.\n"
20002 "\n"
20003 ""},
20004 { "plscmap1_range", _wrap_plscmap1_range, METH_VARARGS, "\n"
20005 "Set the cmap1 argument range for continuous color plots\n"
20006 "\n"
20007 "DESCRIPTION:\n"
20008 "\n"
20009 " Set the cmap1 argument range for continuous color plots that\n"
20010 " corresponds to the range of data values. The maximum range\n"
20011 " corresponding to the entire cmap1 palette is 0.0-1.0, and the smaller\n"
20012 " the cmap1 argument range that is specified with this routine, the\n"
20013 " smaller the subset of the cmap1 color palette that is used to\n"
20014 " represent the continuous data being plotted. If\n"
20015 " min_color is greater than\n"
20016 " max_color or\n"
20017 " max_color is greater than 1.0 or\n"
20018 " min_color is less than 0.0 then no change is made to the cmap1\n"
20019 " argument range. (Use plgcmap1_range to get the cmap1 argument range.)\n"
20020 "\n"
20021 " Redacted form: plscmap1_range(min_color, max_color)\n"
20022 "\n"
20023 " This function is currently used in example 33.\n"
20024 "\n"
20025 "\n"
20026 "\n"
20027 "SYNOPSIS:\n"
20028 "\n"
20029 "plscmap1_range(min_color, max_color)\n"
20030 "\n"
20031 "ARGUMENTS:\n"
20032 "\n"
20033 " min_color (PLFLT, input) : The minimum cmap1 argument. If less\n"
20034 " than 0.0, then 0.0 is used instead.\n"
20035 "\n"
20036 " max_color (PLFLT, input) : The maximum cmap1 argument. If greater\n"
20037 " than 1.0, then 1.0 is used instead.\n"
20038 "\n"
20039 ""},
20040 { "plgcmap1_range", _wrap_plgcmap1_range, METH_NOARGS, "\n"
20041 "Get the cmap1 argument range for continuous color plots\n"
20042 "\n"
20043 "DESCRIPTION:\n"
20044 "\n"
20045 " Get the cmap1 argument range for continuous color plots. (Use\n"
20046 " plscmap1_range to set the cmap1 argument range.)\n"
20047 "\n"
20048 " Redacted form: plgcmap1_range(min_color, max_color)\n"
20049 "\n"
20050 " This function is currently not used in any example.\n"
20051 "\n"
20052 "\n"
20053 "\n"
20054 "SYNOPSIS:\n"
20055 "\n"
20056 "plgcmap1_range(min_color, max_color)\n"
20057 "\n"
20058 "ARGUMENTS:\n"
20059 "\n"
20060 " min_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n"
20061 " minimum cmap1 argument.\n"
20062 "\n"
20063 " max_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n"
20064 " maximum cmap1 argument.\n"
20065 "\n"
20066 ""},
20067 { "plscol0", _wrap_plscol0, METH_VARARGS, "\n"
20068 "Set 8-bit RGB values for given cmap0 color index\n"
20069 "\n"
20070 "DESCRIPTION:\n"
20071 "\n"
20072 " Set 8-bit RGB values for given cmap0 (see the PLplot documentation)\n"
20073 " index. Overwrites the previous color value for the given index and,\n"
20074 " thus, does not result in any additional allocation of space for\n"
20075 " colors.\n"
20076 "\n"
20077 " Redacted form: plscol0(icol0, r, g, b)\n"
20078 "\n"
20079 " This function is used in any example 31.\n"
20080 "\n"
20081 "\n"
20082 "\n"
20083 "SYNOPSIS:\n"
20084 "\n"
20085 "plscol0(icol0, r, g, b)\n"
20086 "\n"
20087 "ARGUMENTS:\n"
20088 "\n"
20089 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n"
20090 " number of colors (which is set by default, by plscmap0n, or even\n"
20091 " by plscmap0).\n"
20092 "\n"
20093 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20094 " degree of red in the color.\n"
20095 "\n"
20096 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20097 " degree of green in the color.\n"
20098 "\n"
20099 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20100 " degree of blue in the color.\n"
20101 "\n"
20102 ""},
20103 { "plscol0a", _wrap_plscol0a, METH_VARARGS, "\n"
20104 "Set 8-bit RGB values and PLFLT alpha transparency value for given cmap0 color index\n"
20105 "\n"
20106 "DESCRIPTION:\n"
20107 "\n"
20108 " Set 8-bit RGB value and PLFLT alpha transparency value for given cmap0\n"
20109 " (see the PLplot documentation) index. Overwrites the previous color\n"
20110 " value for the given index and, thus, does not result in any additional\n"
20111 " allocation of space for colors.\n"
20112 "\n"
20113 " This function is used in example 30.\n"
20114 "\n"
20115 "\n"
20116 "\n"
20117 "SYNOPSIS:\n"
20118 "\n"
20119 "plscol0a(icol0, r, g, b, alpha)\n"
20120 "\n"
20121 "ARGUMENTS:\n"
20122 "\n"
20123 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n"
20124 " number of colors (which is set by default, by plscmap0n, or even\n"
20125 " by plscmap0).\n"
20126 "\n"
20127 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20128 " degree of red in the color.\n"
20129 "\n"
20130 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20131 " degree of green in the color.\n"
20132 "\n"
20133 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20134 " degree of blue in the color.\n"
20135 "\n"
20136 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n"
20137 " (0.0-1.0).\n"
20138 "\n"
20139 ""},
20140 { "plscolbg", _wrap_plscolbg, METH_VARARGS, "\n"
20141 "Set the background color by 8-bit RGB value\n"
20142 "\n"
20143 "DESCRIPTION:\n"
20144 "\n"
20145 " Set the background color (color 0 in cmap0) by 8-bit RGB value (see\n"
20146 " the PLplot documentation).\n"
20147 "\n"
20148 " Redacted form: plscolbg(r, g, b)\n"
20149 "\n"
20150 " This function is used in examples 15 and 31.\n"
20151 "\n"
20152 "\n"
20153 "\n"
20154 "SYNOPSIS:\n"
20155 "\n"
20156 "plscolbg(r, g, b)\n"
20157 "\n"
20158 "ARGUMENTS:\n"
20159 "\n"
20160 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20161 " degree of red in the color.\n"
20162 "\n"
20163 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20164 " degree of green in the color.\n"
20165 "\n"
20166 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20167 " degree of blue in the color.\n"
20168 "\n"
20169 ""},
20170 { "plscolbga", _wrap_plscolbga, METH_VARARGS, "\n"
20171 "Set the background color by 8-bit RGB value and PLFLT alpha transparency value.\n"
20172 "\n"
20173 "DESCRIPTION:\n"
20174 "\n"
20175 " Set the background color (color 0 in cmap0) by 8-bit RGB value and\n"
20176 " PLFLT alpha transparency value (see the PLplot documentation).\n"
20177 "\n"
20178 " This function is used in example 31.\n"
20179 "\n"
20180 "\n"
20181 "\n"
20182 "SYNOPSIS:\n"
20183 "\n"
20184 "plscolbga(r, g, b, alpha)\n"
20185 "\n"
20186 "ARGUMENTS:\n"
20187 "\n"
20188 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20189 " degree of red in the color.\n"
20190 "\n"
20191 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20192 " degree of green in the color.\n"
20193 "\n"
20194 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20195 " degree of blue in the color.\n"
20196 "\n"
20197 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n"
20198 " (0.0-1.0).\n"
20199 "\n"
20200 ""},
20201 { "plscolor", _wrap_plscolor, METH_O, "\n"
20202 "Used to globally turn color output on/off\n"
20203 "\n"
20204 "DESCRIPTION:\n"
20205 "\n"
20206 " Used to globally turn color output on/off for those drivers/devices\n"
20207 " that support it.\n"
20208 "\n"
20209 " Redacted form: plscolor(color)\n"
20210 "\n"
20211 " This function is used in example 31.\n"
20212 "\n"
20213 "\n"
20214 "\n"
20215 "SYNOPSIS:\n"
20216 "\n"
20217 "plscolor(color)\n"
20218 "\n"
20219 "ARGUMENTS:\n"
20220 "\n"
20221 " color (PLINT, input) : Color flag (Boolean). If zero, color is\n"
20222 " turned off. If non-zero, color is turned on.\n"
20223 "\n"
20224 ""},
20225 { "plscompression", _wrap_plscompression, METH_O, "\n"
20226 "Set device-compression level\n"
20227 "\n"
20228 "DESCRIPTION:\n"
20229 "\n"
20230 " Set device-compression level. Only used for drivers that provide\n"
20231 " compression. This function, if used, should be invoked before a call\n"
20232 " to plinit.\n"
20233 "\n"
20234 " Redacted form: plscompression(compression)\n"
20235 "\n"
20236 " This function is used in example 31.\n"
20237 "\n"
20238 "\n"
20239 "\n"
20240 "SYNOPSIS:\n"
20241 "\n"
20242 "plscompression(compression)\n"
20243 "\n"
20244 "ARGUMENTS:\n"
20245 "\n"
20246 " compression (PLINT, input) : The desired compression level. This is\n"
20247 " a device-dependent value. Currently only the jpeg and png devices\n"
20248 " use these values. For jpeg value is the jpeg quality which should\n"
20249 " normally be in the range 0-95. Higher values denote higher quality\n"
20250 " and hence larger image sizes. For png values are in the range -1\n"
20251 " to 99. Values of 0-9 are taken as the compression level for zlib.\n"
20252 " A value of -1 denotes the default zlib compression level. Values\n"
20253 " in the range 10-99 are divided by 10 and then used as the zlib\n"
20254 " compression level. Higher compression levels correspond to greater\n"
20255 " compression and small file sizes at the expense of more\n"
20256 " computation.\n"
20257 "\n"
20258 ""},
20259 { "plsdev", _wrap_plsdev, METH_O, "\n"
20260 "Set the device (keyword) name\n"
20261 "\n"
20262 "DESCRIPTION:\n"
20263 "\n"
20264 " Set the device (keyword) name.\n"
20265 "\n"
20266 " Redacted form: plsdev(devname)\n"
20267 "\n"
20268 " This function is used in examples 1, 14, and 20.\n"
20269 "\n"
20270 "\n"
20271 "\n"
20272 "SYNOPSIS:\n"
20273 "\n"
20274 "plsdev(devname)\n"
20275 "\n"
20276 "ARGUMENTS:\n"
20277 "\n"
20278 " devname (PLCHAR_VECTOR, input) : An ascii character string\n"
20279 " containing the device name keyword of the required output device.\n"
20280 " If\n"
20281 " devname is NULL or if the first character of the string is a ``?'',\n"
20282 " the normal (prompted) start up is used.\n"
20283 "\n"
20284 ""},
20285 { "plsdidev", _wrap_plsdidev, METH_VARARGS, "\n"
20286 "Set parameters that define current device-space window\n"
20287 "\n"
20288 "DESCRIPTION:\n"
20289 "\n"
20290 " Set relative margin width, aspect ratio, and relative justification\n"
20291 " that define current device-space window. If you want to just use the\n"
20292 " previous value for any of these, just pass in the magic value\n"
20293 " PL_NOTSET. It is unlikely that one should ever need to change the\n"
20294 " aspect ratio but it's in there for completeness. If plsdidev is not\n"
20295 " called the default values of mar, jx, and jy are all 0. aspect is set\n"
20296 " to a device-specific value.\n"
20297 "\n"
20298 " Redacted form: plsdidev(mar, aspect, jx, jy)\n"
20299 "\n"
20300 " This function is used in example 31.\n"
20301 "\n"
20302 "\n"
20303 "\n"
20304 "SYNOPSIS:\n"
20305 "\n"
20306 "plsdidev(mar, aspect, jx, jy)\n"
20307 "\n"
20308 "ARGUMENTS:\n"
20309 "\n"
20310 " mar (PLFLT, input) : Relative margin width.\n"
20311 "\n"
20312 " aspect (PLFLT, input) : Aspect ratio.\n"
20313 "\n"
20314 " jx (PLFLT, input) : Relative justification in x. Value must lie in\n"
20315 " the range -0.5 to 0.5.\n"
20316 "\n"
20317 " jy (PLFLT, input) : Relative justification in y. Value must lie in\n"
20318 " the range -0.5 to 0.5.\n"
20319 "\n"
20320 ""},
20321 { "plsdimap", _wrap_plsdimap, METH_VARARGS, "\n"
20322 "Set up transformation from metafile coordinates\n"
20323 "\n"
20324 "DESCRIPTION:\n"
20325 "\n"
20326 " Set up transformation from metafile coordinates. The size of the plot\n"
20327 " is scaled so as to preserve aspect ratio. This isn't intended to be a\n"
20328 " general-purpose facility just yet (not sure why the user would need\n"
20329 " it, for one).\n"
20330 "\n"
20331 " Redacted form: plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm,\n"
20332 " dimypmm)\n"
20333 "\n"
20334 " This function is not used in any examples.\n"
20335 "\n"
20336 "\n"
20337 "\n"
20338 "SYNOPSIS:\n"
20339 "\n"
20340 "plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm, dimypmm)\n"
20341 "\n"
20342 "ARGUMENTS:\n"
20343 "\n"
20344 " dimxmin (PLINT, input) : NEEDS DOCUMENTATION\n"
20345 "\n"
20346 " dimxmax (PLINT, input) : NEEDS DOCUMENTATION\n"
20347 "\n"
20348 " dimymin (PLINT, input) : NEEDS DOCUMENTATION\n"
20349 "\n"
20350 " dimymax (PLINT, input) : NEEDS DOCUMENTATION\n"
20351 "\n"
20352 " dimxpmm (PLFLT, input) : NEEDS DOCUMENTATION\n"
20353 "\n"
20354 " dimypmm (PLFLT, input) : NEEDS DOCUMENTATION\n"
20355 "\n"
20356 ""},
20357 { "plsdiori", _wrap_plsdiori, METH_O, "\n"
20358 "Set plot orientation\n"
20359 "\n"
20360 "DESCRIPTION:\n"
20361 "\n"
20362 " Set plot orientation parameter which is multiplied by 90 degrees to\n"
20363 " obtain the angle of rotation. Note, arbitrary rotation parameters\n"
20364 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n"
20365 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n"
20366 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n"
20367 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori is\n"
20368 " not called the default value of rot is 0.\n"
20369 "\n"
20370 " N.B. aspect ratio is unaffected by calls to plsdiori. So you will\n"
20371 " probably want to change the aspect ratio to a value suitable for the\n"
20372 " plot orientation using a call to plsdidev or the command-line options\n"
20373 " -a or -freeaspect. For more documentation of those options see the\n"
20374 " PLplot documentation. Such command-line options can be set internally\n"
20375 " using plsetopt or set directly using the command line and parsed using\n"
20376 " a call to plparseopts.\n"
20377 "\n"
20378 " Redacted form: plsdiori(rot)\n"
20379 "\n"
20380 " This function is not used in any examples.\n"
20381 "\n"
20382 "\n"
20383 "\n"
20384 "SYNOPSIS:\n"
20385 "\n"
20386 "plsdiori(rot)\n"
20387 "\n"
20388 "ARGUMENTS:\n"
20389 "\n"
20390 " rot (PLFLT, input) : Plot orientation parameter.\n"
20391 "\n"
20392 ""},
20393 { "plsdiplt", _wrap_plsdiplt, METH_VARARGS, "\n"
20394 "Set parameters that define current plot-space window\n"
20395 "\n"
20396 "DESCRIPTION:\n"
20397 "\n"
20398 " Set relative minima and maxima that define the current plot-space\n"
20399 " window. If plsdiplt is not called the default values of xmin, ymin,\n"
20400 " xmax, and ymax are 0., 0., 1., and 1.\n"
20401 "\n"
20402 " Redacted form: plsdiplt(xmin, ymin, xmax, ymax)\n"
20403 "\n"
20404 " This function is used in example 31.\n"
20405 "\n"
20406 "\n"
20407 "\n"
20408 "SYNOPSIS:\n"
20409 "\n"
20410 "plsdiplt(xmin, ymin, xmax, ymax)\n"
20411 "\n"
20412 "ARGUMENTS:\n"
20413 "\n"
20414 " xmin (PLFLT, input) : Relative minimum in x.\n"
20415 "\n"
20416 " ymin (PLFLT, input) : Relative minimum in y.\n"
20417 "\n"
20418 " xmax (PLFLT, input) : Relative maximum in x.\n"
20419 "\n"
20420 " ymax (PLFLT, input) : Relative maximum in y.\n"
20421 "\n"
20422 ""},
20423 { "plsdiplz", _wrap_plsdiplz, METH_VARARGS, "\n"
20424 "Set parameters incrementally (zoom mode) that define current plot-space window\n"
20425 "\n"
20426 "DESCRIPTION:\n"
20427 "\n"
20428 " Set relative minima and maxima incrementally (zoom mode) that define\n"
20429 " the current plot-space window. This function has the same effect as\n"
20430 " plsdiplt if that function has not been previously called. Otherwise,\n"
20431 " this function implements zoom mode using the transformation min_used =\n"
20432 " old_min + old_length*min and max_used = old_min + old_length*max for\n"
20433 " each axis. For example, if min = 0.05 and max = 0.95 for each axis,\n"
20434 " repeated calls to plsdiplz will zoom in by 10 per cent for each call.\n"
20435 "\n"
20436 " Redacted form: plsdiplz(xmin, ymin, xmax, ymax)\n"
20437 "\n"
20438 " This function is used in example 31.\n"
20439 "\n"
20440 "\n"
20441 "\n"
20442 "SYNOPSIS:\n"
20443 "\n"
20444 "plsdiplz(xmin, ymin, xmax, ymax)\n"
20445 "\n"
20446 "ARGUMENTS:\n"
20447 "\n"
20448 " xmin (PLFLT, input) : Relative (incremental) minimum in x.\n"
20449 "\n"
20450 " ymin (PLFLT, input) : Relative (incremental) minimum in y.\n"
20451 "\n"
20452 " xmax (PLFLT, input) : Relative (incremental) maximum in x.\n"
20453 "\n"
20454 " ymax (PLFLT, input) : Relative (incremental) maximum in y.\n"
20455 "\n"
20456 ""},
20457 { "plseed", _wrap_plseed, METH_O, "\n"
20458 "Set seed for internal random number generator.\n"
20459 "\n"
20460 "DESCRIPTION:\n"
20461 "\n"
20462 " Set the seed for the internal random number generator. See plrandd for\n"
20463 " further details.\n"
20464 "\n"
20465 " Redacted form: plseed(seed)\n"
20466 "\n"
20467 " This function is used in example 21.\n"
20468 "\n"
20469 "\n"
20470 "\n"
20471 "SYNOPSIS:\n"
20472 "\n"
20473 "plseed(seed)\n"
20474 "\n"
20475 "ARGUMENTS:\n"
20476 "\n"
20477 " seed (unsigned int, input) : Seed for random number generator.\n"
20478 "\n"
20479 ""},
20480 { "plsesc", _wrap_plsesc, METH_O, "\n"
20481 "Set the escape character for text strings\n"
20482 "\n"
20483 "DESCRIPTION:\n"
20484 "\n"
20485 " Set the escape character for text strings. From C (in contrast to\n"
20486 " Fortran, see plsescfortran) you pass esc as a character. Only selected\n"
20487 " characters are allowed to prevent the user from shooting himself in\n"
20488 " the foot (For example, a \\ isn't allowed since it conflicts with C's\n"
20489 " use of backslash as a character escape). Here are the allowed escape\n"
20490 " characters and their corresponding decimal ASCII values: !, ASCII 33\n"
20491 " #, ASCII 35\n"
20492 " $, ASCII 36\n"
20493 " %, ASCII 37\n"
20494 " &, ASCII 38\n"
20495 " *, ASCII 42\n"
20496 " @, ASCII 64\n"
20497 " ^, ASCII 94\n"
20498 " ~, ASCII 126\n"
20499 "\n"
20500 "\n"
20501 " Redacted form: General: plsesc(esc)\n"
20502 "\n"
20503 "\n"
20504 " This function is used in example 29.\n"
20505 "\n"
20506 "\n"
20507 "\n"
20508 "SYNOPSIS:\n"
20509 "\n"
20510 "plsesc(esc)\n"
20511 "\n"
20512 "ARGUMENTS:\n"
20513 "\n"
20514 " esc (char, input) : Escape character.\n"
20515 "\n"
20516 ""},
20517 { "plsetopt", _wrap_plsetopt, METH_VARARGS, "\n"
20518 "Set any command-line option\n"
20519 "\n"
20520 "DESCRIPTION:\n"
20521 "\n"
20522 " Set any command-line option internally from a program before it\n"
20523 " invokes plinit. opt is the name of the command-line option and optarg\n"
20524 " is the corresponding command-line option argument.\n"
20525 "\n"
20526 " This function returns 0 on success.\n"
20527 "\n"
20528 " Redacted form: plsetopt(opt, optarg)\n"
20529 "\n"
20530 " This function is used in example 14.\n"
20531 "\n"
20532 "\n"
20533 "\n"
20534 "SYNOPSIS:\n"
20535 "\n"
20536 "PLINT plsetopt(opt, optarg)\n"
20537 "\n"
20538 "ARGUMENTS:\n"
20539 "\n"
20540 " opt (PLCHAR_VECTOR, input) : An ascii character string containing\n"
20541 " the command-line option.\n"
20542 "\n"
20543 " optarg (PLCHAR_VECTOR, input) : An ascii character string\n"
20544 " containing the argument of the command-line option.\n"
20545 "\n"
20546 ""},
20547 { "plsfam", _wrap_plsfam, METH_VARARGS, "\n"
20548 "Set family file parameters\n"
20549 "\n"
20550 "DESCRIPTION:\n"
20551 "\n"
20552 " Sets variables dealing with output file familying. Does nothing if\n"
20553 " familying not supported by the driver. This routine, if used, must be\n"
20554 " called before initializing PLplot. See the PLplot documentation for\n"
20555 " more information.\n"
20556 "\n"
20557 " Redacted form: plsfam(fam, num, bmax)\n"
20558 "\n"
20559 " This function is used in examples 14 and 31.\n"
20560 "\n"
20561 "\n"
20562 "\n"
20563 "SYNOPSIS:\n"
20564 "\n"
20565 "plsfam(fam, num, bmax)\n"
20566 "\n"
20567 "ARGUMENTS:\n"
20568 "\n"
20569 " fam (PLINT, input) : Family flag (Boolean). If nonzero, familying\n"
20570 " is enabled.\n"
20571 "\n"
20572 " num (PLINT, input) : Current family file number.\n"
20573 "\n"
20574 " bmax (PLINT, input) : Maximum file size (in bytes) for a family\n"
20575 " file.\n"
20576 "\n"
20577 ""},
20578 { "plsfci", _wrap_plsfci, METH_O, "\n"
20579 "Set FCI (font characterization integer)\n"
20580 "\n"
20581 "DESCRIPTION:\n"
20582 "\n"
20583 " Sets font characteristics to be used at the start of the next string\n"
20584 " using the FCI approach. See the PLplot documentation for more\n"
20585 " information. Note, plsfont (which calls plsfci internally) provides a\n"
20586 " more user-friendly API for setting the font characterisitics.\n"
20587 "\n"
20588 " Redacted form: General: plsfci(fci)\n"
20589 "\n"
20590 "\n"
20591 " This function is used in example 23.\n"
20592 "\n"
20593 "\n"
20594 "\n"
20595 "SYNOPSIS:\n"
20596 "\n"
20597 "plsfci(fci)\n"
20598 "\n"
20599 "ARGUMENTS:\n"
20600 "\n"
20601 " fci (PLUNICODE, input) : PLUNICODE (unsigned 32-bit integer) value\n"
20602 " of FCI.\n"
20603 "\n"
20604 ""},
20605 { "plsfnam", _wrap_plsfnam, METH_O, "\n"
20606 "Set output file name\n"
20607 "\n"
20608 "DESCRIPTION:\n"
20609 "\n"
20610 " Sets the current output file name, if applicable. If the file name\n"
20611 " has not been specified and is required by the driver, the user will be\n"
20612 " prompted for it. If using the X-windows output driver, this sets the\n"
20613 " display name. This routine, if used, must be called before\n"
20614 " initializing PLplot.\n"
20615 "\n"
20616 " Redacted form: plsfnam(fnam)\n"
20617 "\n"
20618 " This function is used in examples 1 and 20.\n"
20619 "\n"
20620 "\n"
20621 "\n"
20622 "SYNOPSIS:\n"
20623 "\n"
20624 "plsfnam(fnam)\n"
20625 "\n"
20626 "ARGUMENTS:\n"
20627 "\n"
20628 " fnam (PLCHAR_VECTOR, input) : An ascii character string containing\n"
20629 " the file name.\n"
20630 "\n"
20631 ""},
20632 { "plsfont", _wrap_plsfont, METH_VARARGS, "\n"
20633 "Set family, style and weight of the current font\n"
20634 "\n"
20635 "DESCRIPTION:\n"
20636 "\n"
20637 " Sets the current font. See the PLplot documentation for more\n"
20638 " information on font selection.\n"
20639 "\n"
20640 " Redacted form: plsfont(family, style, weight)\n"
20641 "\n"
20642 " This function is used in example 23.\n"
20643 "\n"
20644 "\n"
20645 "\n"
20646 "SYNOPSIS:\n"
20647 "\n"
20648 "plsfont(family, style, weight)\n"
20649 "\n"
20650 "ARGUMENTS:\n"
20651 "\n"
20652 " family (PLINT, input) : Font family to select for the current font.\n"
20653 " The available values are given by the PL_FCI_* constants in\n"
20654 " plplot.h. Current options are PL_FCI_SANS, PL_FCI_SERIF,\n"
20655 " PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. A negative value\n"
20656 " signifies that the font family should not be altered.\n"
20657 "\n"
20658 " style (PLINT, input) : Font style to select for the current font.\n"
20659 " The available values are given by the PL_FCI_* constants in\n"
20660 " plplot.h. Current options are PL_FCI_UPRIGHT, PL_FCI_ITALIC and\n"
20661 " PL_FCI_OBLIQUE. A negative value signifies that the font style\n"
20662 " should not be altered.\n"
20663 "\n"
20664 " weight (PLINT, input) : Font weight to select for the current font.\n"
20665 " The available values are given by the PL_FCI_* constants in\n"
20666 " plplot.h. Current options are PL_FCI_MEDIUM and PL_FCI_BOLD. A\n"
20667 " negative value signifies that the font weight should not be\n"
20668 " altered.\n"
20669 "\n"
20670 ""},
20671 { "plshades", _wrap_plshades, METH_VARARGS, "\n"
20672 "Shade regions on the basis of value\n"
20673 "\n"
20674 "DESCRIPTION:\n"
20675 "\n"
20676 " Shade regions on the basis of value. This is the high-level routine\n"
20677 " for making continuous color shaded plots with cmap1 while plshade\n"
20678 " should be used to plot individual shaded regions using either cmap0 or\n"
20679 " cmap1. examples/;<language>/x16* shows how to use plshades for each of\n"
20680 " our supported languages.\n"
20681 "\n"
20682 " Redacted form: General: plshades(a, defined, xmin, xmax, ymin, ymax,\n"
20683 " clevel, fill_width, cont_color, cont_width, fill, rectangular, pltr,\n"
20684 " pltr_data)\n"
20685 "\n"
20686 "\n"
20687 " This function is used in examples 16, 21, and 22.\n"
20688 "\n"
20689 "\n"
20690 "\n"
20691 "SYNOPSIS:\n"
20692 "\n"
20693 "plshades(a, nx, ny, defined, xmin, xmax, ymin, ymax, clevel, nlevel, fill_width, cont_color, cont_width, fill, rectangular, pltr, pltr_data)\n"
20694 "\n"
20695 "ARGUMENTS:\n"
20696 "\n"
20697 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n"
20698 " plot. Should have dimensions of\n"
20699 " nx by\n"
20700 " ny.\n"
20701 "\n"
20702 " nx (PLINT, input) : First dimension of matrix \"a\".\n"
20703 "\n"
20704 " ny (PLINT, input) : Second dimension of matrix \"a\".\n"
20705 "\n"
20706 " defined (PLDEFINED_callback, input) : Callback function specifying\n"
20707 " the region that should be plotted in the shade plot. This\n"
20708 " function accepts x and y coordinates as input arguments and must\n"
20709 " return 1 if the point is to be included in the shade plot and 0\n"
20710 " otherwise. If you want to plot the entire shade plot (the usual\n"
20711 " case), this argument should be set to NULL.\n"
20712 "\n"
20713 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
20714 " pltr below for how these arguments are used (only for the special case\n"
20715 " when the callback function\n"
20716 " pltr is not supplied).\n"
20717 "\n"
20718 " clevel (PLFLT_VECTOR, input) : A vector containing the data levels\n"
20719 " corresponding to the edges of each shaded region that will be\n"
20720 " plotted by this function. To work properly the levels should be\n"
20721 " monotonic.\n"
20722 "\n"
20723 " nlevel (PLINT, input) : Number of shades plus 1 (i.e., the number\n"
20724 " of shade edge values in clevel).\n"
20725 "\n"
20726 " fill_width (PLFLT, input) : Defines the line width used by the fill\n"
20727 " pattern.\n"
20728 "\n"
20729 " cont_color (PLINT, input) : Defines cmap0 pen color used for\n"
20730 " contours defining edges of shaded regions. The pen color is only\n"
20731 " temporary set for the contour drawing. Set this value to zero or\n"
20732 " less if no shade edge contours are wanted.\n"
20733 "\n"
20734 " cont_width (PLFLT, input) : Defines line width used for contours\n"
20735 " defining edges of shaded regions. This value may not be honored\n"
20736 " by all drivers. The pen width is only temporary set for the\n"
20737 " contour drawing. Set this value to zero or less if no shade edge\n"
20738 " contours are wanted.\n"
20739 "\n"
20740 " fill (PLFILL_callback, input) : Callback routine used to fill the\n"
20741 " region. Use plfill for this purpose.\n"
20742 "\n"
20743 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n"
20744 " map to rectangles after coordinate transformation with pltrl.\n"
20745 " Otherwise, set rectangular to false. If rectangular is set to\n"
20746 " true, plshade tries to save time by filling large rectangles.\n"
20747 " This optimization fails if the coordinate transformation distorts\n"
20748 " the shape of rectangles. For example a plot in polar coordinates\n"
20749 " has to have rectangular set to false.\n"
20750 "\n"
20751 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
20752 " defines the transformation between the zero-based indices of the\n"
20753 " matrix a and world coordinates. If\n"
20754 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
20755 " indices of a are mapped to the range\n"
20756 " xmin through\n"
20757 " xmax and the y indices of a are mapped to the range\n"
20758 " ymin through\n"
20759 " ymax.For the C case, transformation functions are provided in the\n"
20760 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
20761 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
20762 " matrices. In addition, C callback routines for the transformation\n"
20763 " can be supplied by the user such as the mypltr function in\n"
20764 " examples/c/x09c.c which provides a general linear transformation\n"
20765 " between index coordinates and world coordinates.For languages\n"
20766 " other than C you should consult the PLplot documentation for the\n"
20767 " details concerning how PLTRANSFORM_callback arguments are\n"
20768 " interfaced. However, in general, a particular pattern of\n"
20769 " callback-associated arguments such as a tr vector with 6 elements;\n"
20770 " xg and yg vectors; or xg and yg matrices are respectively\n"
20771 " interfaced to a linear-transformation routine similar to the above\n"
20772 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
20773 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
20774 " support native language callbacks for handling index to\n"
20775 " world-coordinate transformations. Examples of these various\n"
20776 " approaches are given in examples/<language>x09*,\n"
20777 " examples/<language>x16*, examples/<language>x20*,\n"
20778 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
20779 " supported languages.\n"
20780 "\n"
20781 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
20782 " information to pltr0, pltr1, pltr2, or whatever routine that is\n"
20783 " externally supplied.\n"
20784 "\n"
20785 ""},
20786 { "plshade", _wrap_plshade, METH_VARARGS, "\n"
20787 "Shade individual region on the basis of value\n"
20788 "\n"
20789 "DESCRIPTION:\n"
20790 "\n"
20791 " Shade individual region on the basis of value. Use plshades if you\n"
20792 " want to shade a number of contiguous regions using continuous colors.\n"
20793 " In particular the edge contours are treated properly in plshades. If\n"
20794 " you attempt to do contiguous regions with plshade the contours at the\n"
20795 " edge of the shade are partially obliterated by subsequent plots of\n"
20796 " contiguous shaded regions.\n"
20797 "\n"
20798 " Redacted form: General: plshade(a, defined, xmin, xmax, ymin, ymax,\n"
20799 " shade_min, shade_max, sh_cmap, sh_color, sh_width, min_color,\n"
20800 " min_width, max_color, max_width, fill, rectangular, pltr, pltr_data)\n"
20801 "\n"
20802 "\n"
20803 " This function is used in example 15.\n"
20804 "\n"
20805 "\n"
20806 "\n"
20807 "SYNOPSIS:\n"
20808 "\n"
20809 "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"
20810 "\n"
20811 "ARGUMENTS:\n"
20812 "\n"
20813 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n"
20814 " plot. Should have dimensions of\n"
20815 " nx by\n"
20816 " ny.\n"
20817 "\n"
20818 " nx (PLINT, input) : First dimension of the matrix \"a\".\n"
20819 "\n"
20820 " ny (PLINT, input) : Second dimension of the matrix \"a\".\n"
20821 "\n"
20822 " defined (PLDEFINED_callback, input) : Callback function specifying\n"
20823 " the region that should be plotted in the shade plot. This\n"
20824 " function accepts x and y coordinates as input arguments and must\n"
20825 " return 1 if the point is to be included in the shade plot and 0\n"
20826 " otherwise. If you want to plot the entire shade plot (the usual\n"
20827 " case), this argument should be set to NULL.\n"
20828 "\n"
20829 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
20830 " pltr below for how these arguments are used (only for the special case\n"
20831 " when the callback function\n"
20832 " pltr is not supplied).\n"
20833 "\n"
20834 " shade_min (PLFLT, input) : Defines the lower end of the interval to\n"
20835 " be shaded. If shade_max <= shade_min, plshade does nothing.\n"
20836 "\n"
20837 " shade_max (PLFLT, input) : Defines the upper end of the interval to\n"
20838 " be shaded. If shade_max <= shade_min, plshade does nothing.\n"
20839 "\n"
20840 " sh_cmap (PLINT, input) : Defines color map. If sh_cmap=0, then\n"
20841 " sh_color is interpreted as a cmap0 (integer) index. If sh_cmap=1,\n"
20842 " then sh_color is interpreted as a cmap1 argument in the range\n"
20843 " (0.0-1.0).\n"
20844 "\n"
20845 " sh_color (PLFLT, input) : Defines color map index with integer\n"
20846 " value if cmap0 or value in range (0.0-1.0) if cmap1.\n"
20847 "\n"
20848 " sh_width (PLFLT, input) : Defines width used by the fill pattern.\n"
20849 "\n"
20850 " min_color (PLINT, input) : Defines pen color, width used by the\n"
20851 " boundary of shaded region. The min values are used for the\n"
20852 " shade_min boundary, and the max values are used on the shade_max\n"
20853 " boundary. Set color and width to zero for no plotted boundaries.\n"
20854 "\n"
20855 " min_width (PLFLT, input) : Defines pen color, width used by the\n"
20856 " boundary of shaded region. The min values are used for the\n"
20857 " shade_min boundary, and the max values are used on the shade_max\n"
20858 " boundary. Set color and width to zero for no plotted boundaries.\n"
20859 "\n"
20860 " max_color (PLINT, input) : Defines pen color, width used by the\n"
20861 " boundary of shaded region. The min values are used for the\n"
20862 " shade_min boundary, and the max values are used on the shade_max\n"
20863 " boundary. Set color and width to zero for no plotted boundaries.\n"
20864 "\n"
20865 " max_width (PLFLT, input) : Defines pen color, width used by the\n"
20866 " boundary of shaded region. The min values are used for the\n"
20867 " shade_min boundary, and the max values are used on the shade_max\n"
20868 " boundary. Set color and width to zero for no plotted boundaries.\n"
20869 "\n"
20870 " fill (PLFILL_callback, input) : Routine used to fill the region.\n"
20871 " Use plfill. Future version of PLplot may have other fill\n"
20872 " routines.\n"
20873 "\n"
20874 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n"
20875 " map to rectangles after coordinate transformation with pltrl.\n"
20876 " Otherwise, set rectangular to false. If rectangular is set to\n"
20877 " true, plshade tries to save time by filling large rectangles.\n"
20878 " This optimization fails if the coordinate transformation distorts\n"
20879 " the shape of rectangles. For example a plot in polar coordinates\n"
20880 " has to have rectangular set to false.\n"
20881 "\n"
20882 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
20883 " defines the transformation between the zero-based indices of the\n"
20884 " matrix a and world coordinates. If\n"
20885 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
20886 " indices of a are mapped to the range\n"
20887 " xmin through\n"
20888 " xmax and the y indices of a are mapped to the range\n"
20889 " ymin through\n"
20890 " ymax.For the C case, transformation functions are provided in the\n"
20891 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
20892 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
20893 " matrices. In addition, C callback routines for the transformation\n"
20894 " can be supplied by the user such as the mypltr function in\n"
20895 " examples/c/x09c.c which provides a general linear transformation\n"
20896 " between index coordinates and world coordinates.For languages\n"
20897 " other than C you should consult the PLplot documentation for the\n"
20898 " details concerning how PLTRANSFORM_callback arguments are\n"
20899 " interfaced. However, in general, a particular pattern of\n"
20900 " callback-associated arguments such as a tr vector with 6 elements;\n"
20901 " xg and yg vectors; or xg and yg matrices are respectively\n"
20902 " interfaced to a linear-transformation routine similar to the above\n"
20903 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
20904 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
20905 " support native language callbacks for handling index to\n"
20906 " world-coordinate transformations. Examples of these various\n"
20907 " approaches are given in examples/<language>x09*,\n"
20908 " examples/<language>x16*, examples/<language>x20*,\n"
20909 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
20910 " supported languages.\n"
20911 "\n"
20912 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
20913 " information to pltr0, pltr1, pltr2, or whatever routine that is\n"
20914 " externally supplied.\n"
20915 "\n"
20916 ""},
20917 { "plslabelfunc", _wrap_plslabelfunc, METH_VARARGS, "\n"
20918 "Assign a function to use for generating custom axis labels\n"
20919 "\n"
20920 "DESCRIPTION:\n"
20921 "\n"
20922 " This function allows a user to provide their own function to provide\n"
20923 " axis label text. The user function is given the numeric value for a\n"
20924 " point on an axis and returns a string label to correspond with that\n"
20925 " value. Custom axis labels can be enabled by passing appropriate\n"
20926 " arguments to plenv, plbox, plbox3 and similar functions.\n"
20927 "\n"
20928 " This function is used in example 19.\n"
20929 "\n"
20930 "\n"
20931 "\n"
20932 "SYNOPSIS:\n"
20933 "\n"
20934 "plslabelfunc(label_func, label_data)\n"
20935 "\n"
20936 "ARGUMENTS:\n"
20937 "\n"
20938 " label_func (PLLABEL_FUNC_callback, input) : This is the custom\n"
20939 " label function. In order to reset to the default labelling, set\n"
20940 " this to NULL. The labelling function parameters are, in order:\n"
20941 " axis: This indicates which axis a label is being requested for.\n"
20942 " The value will be one of PL_X_AXIS, PL_Y_AXIS or PL_Z_AXIS.\n"
20943 "\n"
20944 " value: This is the value along the axis which is being labelled.\n"
20945 "\n"
20946 " label_text: The string representation of the label value.\n"
20947 "\n"
20948 " length: The maximum length in characters allowed for label_text.\n"
20949 "\n"
20950 "\n"
20951 " label_data (PLPointer, input) : This parameter may be used to pass\n"
20952 " data to the label_func function.\n"
20953 "\n"
20954 ""},
20955 { "plsmaj", _wrap_plsmaj, METH_VARARGS, "\n"
20956 "Set length of major ticks\n"
20957 "\n"
20958 "DESCRIPTION:\n"
20959 "\n"
20960 " This sets up the length of the major ticks. The actual length is the\n"
20961 " product of the default length and a scaling factor as for character\n"
20962 " height.\n"
20963 "\n"
20964 " Redacted form: plsmaj(def, scale)\n"
20965 "\n"
20966 " This function is used in example 29.\n"
20967 "\n"
20968 "\n"
20969 "\n"
20970 "SYNOPSIS:\n"
20971 "\n"
20972 "plsmaj(def, scale)\n"
20973 "\n"
20974 "ARGUMENTS:\n"
20975 "\n"
20976 " def (PLFLT, input) : The default length of a major tick in\n"
20977 " millimeters, should be set to zero if the default length is to\n"
20978 " remain unchanged.\n"
20979 "\n"
20980 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
20981 " actual tick length.\n"
20982 "\n"
20983 ""},
20984 { "plsmem", _wrap_plsmem, METH_VARARGS, "\n"
20985 "Set the memory area to be plotted (RGB)\n"
20986 "\n"
20987 "DESCRIPTION:\n"
20988 "\n"
20989 " Set the memory area to be plotted (with the mem or memcairo driver) as\n"
20990 " the dev member of the stream structure. Also set the number of pixels\n"
20991 " in the memory passed in\n"
20992 " plotmem, which is a block of memory\n"
20993 " maxy by\n"
20994 " maxx by 3 bytes long, say: 480 x 640 x 3 (Y, X, RGB)\n"
20995 "\n"
20996 " This memory will have to be freed by the user!\n"
20997 "\n"
20998 " Redacted form: plsmem(maxx, maxy, plotmem)\n"
20999 "\n"
21000 " This function is not used in any examples.\n"
21001 "\n"
21002 "\n"
21003 "\n"
21004 "SYNOPSIS:\n"
21005 "\n"
21006 "plsmem(maxx, maxy, plotmem)\n"
21007 "\n"
21008 "ARGUMENTS:\n"
21009 "\n"
21010 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n"
21011 "\n"
21012 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n"
21013 "\n"
21014 " plotmem (PLPointer, input) : Pointer to the beginning of a\n"
21015 " user-supplied writeable memory area.\n"
21016 "\n"
21017 ""},
21018 { "plsmema", _wrap_plsmema, METH_VARARGS, "\n"
21019 "Set the memory area to be plotted (RGBA)\n"
21020 "\n"
21021 "DESCRIPTION:\n"
21022 "\n"
21023 " Set the memory area to be plotted (with the memcairo driver) as the\n"
21024 " dev member of the stream structure. Also set the number of pixels in\n"
21025 " the memory passed in\n"
21026 " plotmem, which is a block of memory\n"
21027 " maxy by\n"
21028 " maxx by 4 bytes long, say: 480 x 640 x 4 (Y, X, RGBA)\n"
21029 "\n"
21030 " This memory will have to be freed by the user!\n"
21031 "\n"
21032 " Redacted form: plsmema(maxx, maxy, plotmem)\n"
21033 "\n"
21034 " This function is not used in any examples.\n"
21035 "\n"
21036 "\n"
21037 "\n"
21038 "SYNOPSIS:\n"
21039 "\n"
21040 "plsmema(maxx, maxy, plotmem)\n"
21041 "\n"
21042 "ARGUMENTS:\n"
21043 "\n"
21044 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n"
21045 "\n"
21046 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n"
21047 "\n"
21048 " plotmem (PLPointer, input) : Pointer to the beginning of a\n"
21049 " user-supplied writeable memory area.\n"
21050 "\n"
21051 ""},
21052 { "plsmin", _wrap_plsmin, METH_VARARGS, "\n"
21053 "Set length of minor ticks\n"
21054 "\n"
21055 "DESCRIPTION:\n"
21056 "\n"
21057 " This sets up the length of the minor ticks and the length of the\n"
21058 " terminals on error bars. The actual length is the product of the\n"
21059 " default length and a scaling factor as for character height.\n"
21060 "\n"
21061 " Redacted form: plsmin(def, scale)\n"
21062 "\n"
21063 " This function is used in example 29.\n"
21064 "\n"
21065 "\n"
21066 "\n"
21067 "SYNOPSIS:\n"
21068 "\n"
21069 "plsmin(def, scale)\n"
21070 "\n"
21071 "ARGUMENTS:\n"
21072 "\n"
21073 " def (PLFLT, input) : The default length of a minor tick in\n"
21074 " millimeters, should be set to zero if the default length is to\n"
21075 " remain unchanged.\n"
21076 "\n"
21077 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
21078 " actual tick length.\n"
21079 "\n"
21080 ""},
21081 { "plsori", _wrap_plsori, METH_O, "\n"
21082 "Set orientation\n"
21083 "\n"
21084 "DESCRIPTION:\n"
21085 "\n"
21086 " Set integer plot orientation parameter. This function is identical to\n"
21087 " plsdiori except for the type of the argument, and should be used in\n"
21088 " the same way. See the documentation of plsdiori for details.\n"
21089 "\n"
21090 " Redacted form: plsori(ori)\n"
21091 "\n"
21092 " This function is used in example 3.\n"
21093 "\n"
21094 "\n"
21095 "\n"
21096 "SYNOPSIS:\n"
21097 "\n"
21098 "plsori(ori)\n"
21099 "\n"
21100 "ARGUMENTS:\n"
21101 "\n"
21102 " ori (PLINT, input) : Orientation value (0 for landscape, 1 for\n"
21103 " portrait, etc.) The value is multiplied by 90 degrees to get the\n"
21104 " angle.\n"
21105 "\n"
21106 ""},
21107 { "plspage", _wrap_plspage, METH_VARARGS, "\n"
21108 "Set page parameters\n"
21109 "\n"
21110 "DESCRIPTION:\n"
21111 "\n"
21112 " Sets the page configuration (optional). If an individual parameter is\n"
21113 " zero then that parameter value is not updated. Not all parameters are\n"
21114 " recognized by all drivers and the interpretation is device-dependent.\n"
21115 " The X-window driver uses the length and offset parameters to determine\n"
21116 " the window size and location. The length and offset values are\n"
21117 " expressed in units that are specific to the current driver. For\n"
21118 " instance: screen drivers will usually interpret them as number of\n"
21119 " pixels, whereas printer drivers will usually use mm.\n"
21120 "\n"
21121 " This routine, if used, must be called before initializing PLplot. It\n"
21122 " may be called at later times for interactive drivers to change only\n"
21123 " the dpi for subsequent redraws which you can force via a call to\n"
21124 " plreplot. If this function is not called then the page size defaults\n"
21125 " to landscape A4 for drivers which use real world page sizes and 744\n"
21126 " pixels wide by 538 pixels high for raster drivers. The default value\n"
21127 " for dx and dy is 90 pixels per inch for raster drivers.\n"
21128 "\n"
21129 "\n"
21130 "\n"
21131 " Redacted form: plspage(xp, yp, xleng, yleng, xoff, yoff)\n"
21132 "\n"
21133 " This function is used in examples 14 and 31.\n"
21134 "\n"
21135 "\n"
21136 "\n"
21137 "SYNOPSIS:\n"
21138 "\n"
21139 "plspage(xp, yp, xleng, yleng, xoff, yoff)\n"
21140 "\n"
21141 "ARGUMENTS:\n"
21142 "\n"
21143 " xp (PLFLT, input) : Number of pixels per inch (DPI), x. Used only\n"
21144 " by raster drivers, ignored by drivers which use \"real world\" units\n"
21145 " (e.g. mm).\n"
21146 "\n"
21147 " yp (PLFLT, input) : Number of pixels per inch (DPI), y. Used only\n"
21148 " by raster drivers, ignored by drivers which use \"real world\" units\n"
21149 " (e.g. mm).\n"
21150 "\n"
21151 " xleng (PLINT, input) : Page length, x.\n"
21152 "\n"
21153 " yleng (PLINT, input) : Page length, y.\n"
21154 "\n"
21155 " xoff (PLINT, input) : Page offset, x.\n"
21156 "\n"
21157 " yoff (PLINT, input) : Page offset, y.\n"
21158 "\n"
21159 ""},
21160 { "plspal0", _wrap_plspal0, METH_O, "\n"
21161 "Set the cmap0 palette using the specified cmap0*.pal format file\n"
21162 "\n"
21163 "DESCRIPTION:\n"
21164 "\n"
21165 " Set the cmap0 palette using the specified cmap0*.pal format file.\n"
21166 "\n"
21167 " Redacted form: plspal0(filename)\n"
21168 "\n"
21169 " This function is in example 16.\n"
21170 "\n"
21171 "\n"
21172 "\n"
21173 "SYNOPSIS:\n"
21174 "\n"
21175 "plspal0(filename)\n"
21176 "\n"
21177 "ARGUMENTS:\n"
21178 "\n"
21179 " filename (PLCHAR_VECTOR, input) : An ascii character string\n"
21180 " containing the name of the cmap0*.pal file. If this string is\n"
21181 " empty, use the default cmap0*.pal file.\n"
21182 "\n"
21183 ""},
21184 { "plspal1", _wrap_plspal1, METH_VARARGS, "\n"
21185 "Set the cmap1 palette using the specified cmap1*.pal format file\n"
21186 "\n"
21187 "DESCRIPTION:\n"
21188 "\n"
21189 " Set the cmap1 palette using the specified cmap1*.pal format file.\n"
21190 "\n"
21191 " Redacted form: plspal1(filename, interpolate)\n"
21192 "\n"
21193 " This function is used in example 16.\n"
21194 "\n"
21195 "\n"
21196 "\n"
21197 "SYNOPSIS:\n"
21198 "\n"
21199 "plspal1(filename, interpolate)\n"
21200 "\n"
21201 "ARGUMENTS:\n"
21202 "\n"
21203 " filename (PLCHAR_VECTOR, input) : An ascii character string\n"
21204 " containing the name of the cmap1*.pal file. If this string is\n"
21205 " empty, use the default cmap1*.pal file.\n"
21206 "\n"
21207 " interpolate (PLBOOL, input) : If this parameter is true, the\n"
21208 " columns containing the intensity index, r, g, b, alpha and\n"
21209 " alt_hue_path in the cmap1*.pal file are used to set the cmap1\n"
21210 " palette with a call to plscmap1la. (The cmap1*.pal header contains\n"
21211 " a flag which controls whether the r, g, b data sent to plscmap1la\n"
21212 " are interpreted as HLS or RGB.) If this parameter is false, the\n"
21213 " intensity index and alt_hue_path columns are ignored and the r, g,\n"
21214 " b (interpreted as RGB), and alpha columns of the cmap1*.pal file\n"
21215 " are used instead to set the cmap1 palette directly with a call to\n"
21216 " plscmap1a.\n"
21217 "\n"
21218 ""},
21219 { "plspause", _wrap_plspause, METH_O, "\n"
21220 "Set the pause (on end-of-page) status\n"
21221 "\n"
21222 "DESCRIPTION:\n"
21223 "\n"
21224 " Set the pause (on end-of-page) status.\n"
21225 "\n"
21226 " Redacted form: plspause(pause)\n"
21227 "\n"
21228 " This function is in examples 14,20.\n"
21229 "\n"
21230 "\n"
21231 "\n"
21232 "SYNOPSIS:\n"
21233 "\n"
21234 "plspause(pause)\n"
21235 "\n"
21236 "ARGUMENTS:\n"
21237 "\n"
21238 " pause (PLBOOL, input) : If pause is true there will be a pause on\n"
21239 " end-of-page for those drivers which support this. Otherwise there\n"
21240 " is no pause.\n"
21241 "\n"
21242 ""},
21243 { "plsstrm", _wrap_plsstrm, METH_O, "\n"
21244 "Set current output stream\n"
21245 "\n"
21246 "DESCRIPTION:\n"
21247 "\n"
21248 " Sets the number of the current output stream. The stream number\n"
21249 " defaults to 0 unless changed by this routine. The first use of this\n"
21250 " routine must be followed by a call initializing PLplot (e.g. plstar).\n"
21251 "\n"
21252 " Redacted form: plsstrm(strm)\n"
21253 "\n"
21254 " This function is examples 1,14,20.\n"
21255 "\n"
21256 "\n"
21257 "\n"
21258 "SYNOPSIS:\n"
21259 "\n"
21260 "plsstrm(strm)\n"
21261 "\n"
21262 "ARGUMENTS:\n"
21263 "\n"
21264 " strm (PLINT, input) : The current stream number.\n"
21265 "\n"
21266 ""},
21267 { "plssub", _wrap_plssub, METH_VARARGS, "\n"
21268 "Set the number of subpages in x and y\n"
21269 "\n"
21270 "DESCRIPTION:\n"
21271 "\n"
21272 " Set the number of subpages in x and y.\n"
21273 "\n"
21274 " Redacted form: plssub(nx, ny)\n"
21275 "\n"
21276 " This function is examples 1,2,14,21,25,27.\n"
21277 "\n"
21278 "\n"
21279 "\n"
21280 "SYNOPSIS:\n"
21281 "\n"
21282 "plssub(nx, ny)\n"
21283 "\n"
21284 "ARGUMENTS:\n"
21285 "\n"
21286 " nx (PLINT, input) : Number of windows in x direction (i.e., number\n"
21287 " of window columns).\n"
21288 "\n"
21289 " ny (PLINT, input) : Number of windows in y direction (i.e., number\n"
21290 " of window rows).\n"
21291 "\n"
21292 ""},
21293 { "plssym", _wrap_plssym, METH_VARARGS, "\n"
21294 "Set symbol size\n"
21295 "\n"
21296 "DESCRIPTION:\n"
21297 "\n"
21298 " This sets up the size of all subsequent symbols drawn by plpoin and\n"
21299 " plsym. The actual height of a symbol is the product of the default\n"
21300 " symbol size and a scaling factor as for the character height.\n"
21301 "\n"
21302 " Redacted form: plssym(def, scale)\n"
21303 "\n"
21304 " This function is used in example 29.\n"
21305 "\n"
21306 "\n"
21307 "\n"
21308 "SYNOPSIS:\n"
21309 "\n"
21310 "plssym(def, scale)\n"
21311 "\n"
21312 "ARGUMENTS:\n"
21313 "\n"
21314 " def (PLFLT, input) : The default height of a symbol in millimeters,\n"
21315 " should be set to zero if the default height is to remain\n"
21316 " unchanged.\n"
21317 "\n"
21318 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
21319 " actual symbol height.\n"
21320 "\n"
21321 ""},
21322 { "plstar", _wrap_plstar, METH_VARARGS, "\n"
21323 "Initialization\n"
21324 "\n"
21325 "DESCRIPTION:\n"
21326 "\n"
21327 " Initializing the plotting package. The program prompts for the device\n"
21328 " keyword or number of the desired output device. Hitting a RETURN in\n"
21329 " response to the prompt is the same as selecting the first device. If\n"
21330 " only one device is enabled when PLplot is installed, plstar will issue\n"
21331 " no prompt. The output device is divided into nx by ny subpages, each\n"
21332 " of which may be used independently. The subroutine pladv is used to\n"
21333 " advance from one subpage to the next.\n"
21334 "\n"
21335 " Redacted form: plstar(nx, ny)\n"
21336 "\n"
21337 " This function is used in example 1.\n"
21338 "\n"
21339 "\n"
21340 "\n"
21341 "SYNOPSIS:\n"
21342 "\n"
21343 "plstar(nx, ny)\n"
21344 "\n"
21345 "ARGUMENTS:\n"
21346 "\n"
21347 " nx (PLINT, input) : Number of subpages to divide output page in the\n"
21348 " x direction.\n"
21349 "\n"
21350 " ny (PLINT, input) : Number of subpages to divide output page in the\n"
21351 " y direction.\n"
21352 "\n"
21353 ""},
21354 { "plstart", _wrap_plstart, METH_VARARGS, "\n"
21355 "Initialization\n"
21356 "\n"
21357 "DESCRIPTION:\n"
21358 "\n"
21359 " Alternative to plstar for initializing the plotting package. The\n"
21360 " device name keyword for the desired output device must be supplied as\n"
21361 " an argument. These keywords are the same as those printed out by\n"
21362 " plstar. If the requested device is not available, or if the input\n"
21363 " string is empty or begins with ``?'', the prompted start up of plstar\n"
21364 " is used. This routine also divides the output device page into nx by\n"
21365 " ny subpages, each of which may be used independently. The subroutine\n"
21366 " pladv is used to advance from one subpage to the next.\n"
21367 "\n"
21368 " Redacted form: General: plstart(devname, nx, ny)\n"
21369 "\n"
21370 "\n"
21371 " This function is not used in any examples.\n"
21372 "\n"
21373 "\n"
21374 "\n"
21375 "SYNOPSIS:\n"
21376 "\n"
21377 "plstart(devname, nx, ny)\n"
21378 "\n"
21379 "ARGUMENTS:\n"
21380 "\n"
21381 " devname (PLCHAR_VECTOR, input) : An ascii character string\n"
21382 " containing the device name keyword of the required output device.\n"
21383 " If\n"
21384 " devname is NULL or if the first character of the string is a ``?'',\n"
21385 " the normal (prompted) start up is used.\n"
21386 "\n"
21387 " nx (PLINT, input) : Number of subpages to divide output page in the\n"
21388 " x direction.\n"
21389 "\n"
21390 " ny (PLINT, input) : Number of subpages to divide output page in the\n"
21391 " y direction.\n"
21392 "\n"
21393 ""},
21394 { "plstransform", _wrap_plstransform, METH_VARARGS, "\n"
21395 "Set a global coordinate transform function\n"
21396 "\n"
21397 "DESCRIPTION:\n"
21398 "\n"
21399 " This function can be used to define a coordinate transformation which\n"
21400 " affects all elements drawn within the current plot window. The\n"
21401 " coordinate_transform callback function is similar to that provided for\n"
21402 " the plmap and plmeridians functions. The coordinate_transform_data\n"
21403 " parameter may be used to pass extra data to coordinate_transform.\n"
21404 "\n"
21405 " Redacted form: General: plstransform(coordinate_transform,\n"
21406 " coordinate_transform_data)\n"
21407 "\n"
21408 "\n"
21409 " This function is used in examples 19 and 22.\n"
21410 "\n"
21411 "\n"
21412 "\n"
21413 "SYNOPSIS:\n"
21414 "\n"
21415 "plstransform(coordinate_transform, coordinate_transform_data)\n"
21416 "\n"
21417 "ARGUMENTS:\n"
21418 "\n"
21419 " coordinate_transform (PLTRANSFORM_callback, input) : A callback\n"
21420 " function that defines the transformation from the input (x, y)\n"
21421 " world coordinates to new PLplot world coordinates. If\n"
21422 " coordinate_transform is not supplied (e.g., is set to NULL in the C\n"
21423 " case), then no transform is applied.\n"
21424 "\n"
21425 " coordinate_transform_data (PLPointer, input) : Optional extra data\n"
21426 " for\n"
21427 " coordinate_transform.\n"
21428 "\n"
21429 ""},
21430 { "plstring", _wrap_plstring, METH_VARARGS, "\n"
21431 "Plot a glyph at the specified points\n"
21432 "\n"
21433 "DESCRIPTION:\n"
21434 "\n"
21435 " Plot a glyph at the specified points. (Supersedes plpoin and plsym\n"
21436 " because many[!] more glyphs are accessible with plstring.) The glyph\n"
21437 " is specified with a PLplot user string. Note that the user string is\n"
21438 " not actually limited to one glyph so it is possible (but not normally\n"
21439 " useful) to plot more than one glyph at the specified points with this\n"
21440 " function. As with plmtex and plptex, the user string can contain FCI\n"
21441 " escapes to determine the font, UTF-8 code to determine the glyph or\n"
21442 " else PLplot escapes for Hershey or unicode text to determine the\n"
21443 " glyph.\n"
21444 "\n"
21445 " Redacted form: plstring(x, y, string)\n"
21446 "\n"
21447 " This function is used in examples 4, 21 and 26.\n"
21448 "\n"
21449 "\n"
21450 "\n"
21451 "SYNOPSIS:\n"
21452 "\n"
21453 "plstring(n, x, y, string)\n"
21454 "\n"
21455 "ARGUMENTS:\n"
21456 "\n"
21457 " n (PLINT, input) : Number of points in the x and y vectors.\n"
21458 "\n"
21459 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21460 " the points.\n"
21461 "\n"
21462 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21463 " the points.\n"
21464 "\n"
21465 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21466 " the glyph(s) to be plotted at each of the n points.\n"
21467 "\n"
21468 ""},
21469 { "plstring3", _wrap_plstring3, METH_VARARGS, "\n"
21470 "Plot a glyph at the specified 3D points\n"
21471 "\n"
21472 "DESCRIPTION:\n"
21473 "\n"
21474 " Plot a glyph at the specified 3D points. (Supersedes plpoin3 because\n"
21475 " many[!] more glyphs are accessible with plstring3.) Set up the call to\n"
21476 " this function similar to what is done for plline3. The glyph is\n"
21477 " specified with a PLplot user string. Note that the user string is not\n"
21478 " actually limited to one glyph so it is possible (but not normally\n"
21479 " useful) to plot more than one glyph at the specified points with this\n"
21480 " function. As with plmtex and plptex, the user string can contain FCI\n"
21481 " escapes to determine the font, UTF-8 code to determine the glyph or\n"
21482 " else PLplot escapes for Hershey or unicode text to determine the\n"
21483 " glyph.\n"
21484 "\n"
21485 " Redacted form: plstring3(x, y, z, string)\n"
21486 "\n"
21487 " This function is used in example 18.\n"
21488 "\n"
21489 "\n"
21490 "\n"
21491 "SYNOPSIS:\n"
21492 "\n"
21493 "plstring3(n, x, y, z, string)\n"
21494 "\n"
21495 "ARGUMENTS:\n"
21496 "\n"
21497 " n (PLINT, input) : Number of points in the x, y, and z vectors.\n"
21498 "\n"
21499 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21500 " the points.\n"
21501 "\n"
21502 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21503 " the points.\n"
21504 "\n"
21505 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
21506 " the points.\n"
21507 "\n"
21508 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21509 " the glyph(s) to be plotted at each of the n points. points.\n"
21510 "\n"
21511 ""},
21512 { "plstripa", _wrap_plstripa, METH_VARARGS, "\n"
21513 "Add a point to a strip chart\n"
21514 "\n"
21515 "DESCRIPTION:\n"
21516 "\n"
21517 " Add a point to a given pen of a given strip chart. There is no need\n"
21518 " for all pens to have the same number of points or to be equally\n"
21519 " sampled in the x coordinate. Allocates memory and rescales as\n"
21520 " necessary.\n"
21521 "\n"
21522 " Redacted form: plstripa(id, pen, x, y)\n"
21523 "\n"
21524 " This function is used in example 17.\n"
21525 "\n"
21526 "\n"
21527 "\n"
21528 "SYNOPSIS:\n"
21529 "\n"
21530 "plstripa(id, pen, x, y)\n"
21531 "\n"
21532 "ARGUMENTS:\n"
21533 "\n"
21534 " id (PLINT, input) : Identification number of the strip chart (set\n"
21535 " up in plstripc).\n"
21536 "\n"
21537 " pen (PLINT, input) : Pen number (ranges from 0 to 3).\n"
21538 "\n"
21539 " x (PLFLT, input) : X coordinate of point to plot.\n"
21540 "\n"
21541 " y (PLFLT, input) : Y coordinate of point to plot.\n"
21542 "\n"
21543 ""},
21544 { "plstripc", _wrap_plstripc, METH_VARARGS, "\n"
21545 "Create a 4-pen strip chart\n"
21546 "\n"
21547 "DESCRIPTION:\n"
21548 "\n"
21549 " Create a 4-pen strip chart, to be used afterwards by plstripa\n"
21550 "\n"
21551 " Redacted form: General: plstripc(id, xspec, yspec, xmin, xmax, xjump,\n"
21552 " ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline,\n"
21553 " styline, legline, labx, laby, labz)\n"
21554 "\n"
21555 "\n"
21556 " This function is used in example 17.\n"
21557 "\n"
21558 "\n"
21559 "\n"
21560 "SYNOPSIS:\n"
21561 "\n"
21562 "plstripc(id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline, styline, legline[], labx, laby, labtop)\n"
21563 "\n"
21564 "ARGUMENTS:\n"
21565 "\n"
21566 " id (PLINT_NC_SCALAR, output) : Returned value of the identification\n"
21567 " number of the strip chart to use on plstripa and plstripd.\n"
21568 "\n"
21569 " xspec (PLCHAR_VECTOR, input) : An ascii character string containing\n"
21570 " the x-axis specification as in plbox.\n"
21571 "\n"
21572 " yspec (PLCHAR_VECTOR, input) : An ascii character string containing\n"
21573 " the y-axis specification as in plbox.\n"
21574 "\n"
21575 " xmin (PLFLT, input) : Initial coordinates of plot box; they will\n"
21576 " change as data are added.\n"
21577 "\n"
21578 " xmax (PLFLT, input) : Initial coordinates of plot box; they will\n"
21579 " change as data are added.\n"
21580 "\n"
21581 " xjump (PLFLT, input) : When x attains xmax, the length of the plot\n"
21582 " is multiplied by the factor (1 +\n"
21583 " xjump) .\n"
21584 "\n"
21585 " ymin (PLFLT, input) : Initial coordinates of plot box; they will\n"
21586 " change as data are added.\n"
21587 "\n"
21588 " ymax (PLFLT, input) : Initial coordinates of plot box; they will\n"
21589 " change as data are added.\n"
21590 "\n"
21591 " xlpos (PLFLT, input) : X legend box position (range from 0 to 1).\n"
21592 "\n"
21593 " ylpos (PLFLT, input) : Y legend box position (range from 0 to 1).\n"
21594 "\n"
21595 " y_ascl (PLBOOL, input) : Autoscale y between x jumps if y_ascl is\n"
21596 " true, otherwise not.\n"
21597 "\n"
21598 " acc (PLBOOL, input) : Accumulate strip plot if acc is true,\n"
21599 " otherwise slide display.\n"
21600 "\n"
21601 " colbox (PLINT, input) : Plot box color index (cmap0).\n"
21602 "\n"
21603 " collab (PLINT, input) : Legend color index (cmap0).\n"
21604 "\n"
21605 " colline (PLINT_VECTOR, input) : A vector containing the cmap0 color\n"
21606 " indices for the 4 pens.\n"
21607 "\n"
21608 " styline (PLINT_VECTOR, input) : A vector containing the line style\n"
21609 " indices for the 4 pens.\n"
21610 "\n"
21611 " legline (PLCHAR_MATRIX, input) : A vector of UTF-8 character\n"
21612 " strings containing legends for the 4 pens.\n"
21613 "\n"
21614 " labx (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21615 " the label for the x axis.\n"
21616 "\n"
21617 " laby (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21618 " the label for the y axis.\n"
21619 "\n"
21620 " labtop (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21621 " the plot title.\n"
21622 "\n"
21623 ""},
21624 { "plstripd", _wrap_plstripd, METH_O, "\n"
21625 "Deletes and releases memory used by a strip chart\n"
21626 "\n"
21627 "DESCRIPTION:\n"
21628 "\n"
21629 " Deletes and releases memory used by a strip chart.\n"
21630 "\n"
21631 " Redacted form: plstripd(id)\n"
21632 "\n"
21633 " This function is used in example 17.\n"
21634 "\n"
21635 "\n"
21636 "\n"
21637 "SYNOPSIS:\n"
21638 "\n"
21639 "plstripd(id)\n"
21640 "\n"
21641 "ARGUMENTS:\n"
21642 "\n"
21643 " id (PLINT, input) : Identification number of strip chart to delete.\n"
21644 "\n"
21645 ""},
21646 { "plstyl", _wrap_plstyl, METH_VARARGS, "\n"
21647 "Set line style\n"
21648 "\n"
21649 "DESCRIPTION:\n"
21650 "\n"
21651 " This sets up the line style for all lines subsequently drawn. A line\n"
21652 " consists of segments in which the pen is alternately down and up. The\n"
21653 " lengths of these segments are passed in the vectors mark and space\n"
21654 " respectively. The number of mark-space pairs is specified by nms. In\n"
21655 " order to return the line style to the default continuous line, plstyl\n"
21656 " should be called with nms =0 .(see also pllsty)\n"
21657 "\n"
21658 " Redacted form: plstyl(mark, space)\n"
21659 "\n"
21660 " This function is used in examples 1, 9, and 14.\n"
21661 "\n"
21662 "\n"
21663 "\n"
21664 "SYNOPSIS:\n"
21665 "\n"
21666 "plstyl(nms, mark, space)\n"
21667 "\n"
21668 "ARGUMENTS:\n"
21669 "\n"
21670 " nms (PLINT, input) : The number of mark and space elements in a\n"
21671 " line. Thus a simple broken line can be obtained by setting nms=1\n"
21672 " . A continuous line is specified by setting nms=0 .\n"
21673 "\n"
21674 " mark (PLINT_VECTOR, input) : A vector containing the lengths of the\n"
21675 " segments during which the pen is down, measured in micrometers.\n"
21676 "\n"
21677 " space (PLINT_VECTOR, input) : A vector containing the lengths of\n"
21678 " the segments during which the pen is up, measured in micrometers.\n"
21679 "\n"
21680 ""},
21681 { "plsvect", _wrap_plsvect, METH_VARARGS, "\n"
21682 "Set arrow style for vector plots\n"
21683 "\n"
21684 "DESCRIPTION:\n"
21685 "\n"
21686 " Set the style for the arrow used by plvect to plot vectors.\n"
21687 "\n"
21688 " Redacted form: plsvect(arrowx, arrowy, fill)\n"
21689 "\n"
21690 " This function is used in example 22.\n"
21691 "\n"
21692 "\n"
21693 "\n"
21694 "SYNOPSIS:\n"
21695 "\n"
21696 "plsvect(arrowx, arrowy, npts, fill)\n"
21697 "\n"
21698 "ARGUMENTS:\n"
21699 "\n"
21700 " arrowx, arrowy (PLFLT_VECTOR, input) : A pair of vectors containing\n"
21701 " the x and y points which make up the arrow. The arrow is plotted\n"
21702 " by joining these points to form a polygon. The scaling assumes\n"
21703 " that the x and y points in the arrow lie in the range -0.5 <= x,y\n"
21704 " <= 0.5. If both arrowx and arrowy are NULL then the arrow style\n"
21705 " will be reset to its default.\n"
21706 "\n"
21707 " npts (PLINT, input) : Number of points in the vectors arrowx and\n"
21708 " arrowy.\n"
21709 "\n"
21710 " fill (PLBOOL, input) : If fill is true then the arrow is closed, if\n"
21711 " fill is false then the arrow is open.\n"
21712 "\n"
21713 ""},
21714 { "plsvpa", _wrap_plsvpa, METH_VARARGS, "\n"
21715 "Specify viewport in absolute coordinates\n"
21716 "\n"
21717 "DESCRIPTION:\n"
21718 "\n"
21719 " Alternate routine to plvpor for setting up the viewport. This routine\n"
21720 " should be used only if the viewport is required to have a definite\n"
21721 " size in millimeters. The routine plgspa is useful for finding out the\n"
21722 " size of the current subpage.\n"
21723 "\n"
21724 " Redacted form: plsvpa(xmin, xmax, ymin, ymax)\n"
21725 "\n"
21726 " This function is used in example 10.\n"
21727 "\n"
21728 "\n"
21729 "\n"
21730 "SYNOPSIS:\n"
21731 "\n"
21732 "plsvpa(xmin, xmax, ymin, ymax)\n"
21733 "\n"
21734 "ARGUMENTS:\n"
21735 "\n"
21736 " xmin (PLFLT, input) : The distance of the left-hand edge of the\n"
21737 " viewport from the left-hand edge of the subpage in millimeters.\n"
21738 "\n"
21739 " xmax (PLFLT, input) : The distance of the right-hand edge of the\n"
21740 " viewport from the left-hand edge of the subpage in millimeters.\n"
21741 "\n"
21742 " ymin (PLFLT, input) : The distance of the bottom edge of the\n"
21743 " viewport from the bottom edge of the subpage in millimeters.\n"
21744 "\n"
21745 " ymax (PLFLT, input) : The distance of the top edge of the viewport\n"
21746 " from the bottom edge of the subpage in millimeters.\n"
21747 "\n"
21748 ""},
21749 { "plsxax", _wrap_plsxax, METH_VARARGS, "\n"
21750 "Set x axis parameters\n"
21751 "\n"
21752 "DESCRIPTION:\n"
21753 "\n"
21754 " Sets values of the digmax and digits flags for the x axis. See the\n"
21755 " PLplot documentation for more information.\n"
21756 "\n"
21757 " Redacted form: plsxax(digmax, digits)\n"
21758 "\n"
21759 " This function is used in example 31.\n"
21760 "\n"
21761 "\n"
21762 "\n"
21763 "SYNOPSIS:\n"
21764 "\n"
21765 "plsxax(digmax, digits)\n"
21766 "\n"
21767 "ARGUMENTS:\n"
21768 "\n"
21769 " digmax (PLINT, input) : Variable to set the maximum number of\n"
21770 " digits for the x axis. If nonzero, the printed label will be\n"
21771 " switched to a floating-point representation when the number of\n"
21772 " digits exceeds digmax.\n"
21773 "\n"
21774 " digits (PLINT, input) : Field digits value. Currently, changing\n"
21775 " its value here has no effect since it is set only by plbox or\n"
21776 " plbox3. However, the user may obtain its value after a call to\n"
21777 " either of these functions by calling plgxax.\n"
21778 "\n"
21779 ""},
21780 { "plsyax", _wrap_plsyax, METH_VARARGS, "\n"
21781 "Set y axis parameters\n"
21782 "\n"
21783 "DESCRIPTION:\n"
21784 "\n"
21785 " Identical to plsxax, except that arguments are flags for y axis. See\n"
21786 " the description of plsxax for more detail.\n"
21787 "\n"
21788 " Redacted form: plsyax(digmax, digits)\n"
21789 "\n"
21790 " This function is used in examples 1, 14, and 31.\n"
21791 "\n"
21792 "\n"
21793 "\n"
21794 "SYNOPSIS:\n"
21795 "\n"
21796 "plsyax(digmax, digits)\n"
21797 "\n"
21798 "ARGUMENTS:\n"
21799 "\n"
21800 " digmax (PLINT, input) : Variable to set the maximum number of\n"
21801 " digits for the y axis. If nonzero, the printed label will be\n"
21802 " switched to a floating-point representation when the number of\n"
21803 " digits exceeds digmax.\n"
21804 "\n"
21805 " digits (PLINT, input) : Field digits value. Currently, changing\n"
21806 " its value here has no effect since it is set only by plbox or\n"
21807 " plbox3. However, the user may obtain its value after a call to\n"
21808 " either of these functions by calling plgyax.\n"
21809 "\n"
21810 ""},
21811 { "plsym", _wrap_plsym, METH_VARARGS, "\n"
21812 "Plot a glyph at the specified points\n"
21813 "\n"
21814 "DESCRIPTION:\n"
21815 "\n"
21816 " Plot a glyph at the specified points. (This function is largely\n"
21817 " superseded by plstring which gives access to many[!] more glyphs.)\n"
21818 "\n"
21819 " Redacted form: plsym(x, y, code)\n"
21820 "\n"
21821 " This function is used in example 7.\n"
21822 "\n"
21823 "\n"
21824 "\n"
21825 "SYNOPSIS:\n"
21826 "\n"
21827 "plsym(n, x, y, code)\n"
21828 "\n"
21829 "ARGUMENTS:\n"
21830 "\n"
21831 " n (PLINT, input) : Number of points in the x and y vectors.\n"
21832 "\n"
21833 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21834 " the points.\n"
21835 "\n"
21836 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21837 " the points.\n"
21838 "\n"
21839 " code (PLINT, input) : Hershey symbol code corresponding to a glyph\n"
21840 " to be plotted at each of the n points.\n"
21841 "\n"
21842 ""},
21843 { "plszax", _wrap_plszax, METH_VARARGS, "\n"
21844 "Set z axis parameters\n"
21845 "\n"
21846 "DESCRIPTION:\n"
21847 "\n"
21848 " Identical to plsxax, except that arguments are flags for z axis. See\n"
21849 " the description of plsxax for more detail.\n"
21850 "\n"
21851 " Redacted form: plszax(digmax, digits)\n"
21852 "\n"
21853 " This function is used in example 31.\n"
21854 "\n"
21855 "\n"
21856 "\n"
21857 "SYNOPSIS:\n"
21858 "\n"
21859 "plszax(digmax, digits)\n"
21860 "\n"
21861 "ARGUMENTS:\n"
21862 "\n"
21863 " digmax (PLINT, input) : Variable to set the maximum number of\n"
21864 " digits for the z axis. If nonzero, the printed label will be\n"
21865 " switched to a floating-point representation when the number of\n"
21866 " digits exceeds digmax.\n"
21867 "\n"
21868 " digits (PLINT, input) : Field digits value. Currently, changing\n"
21869 " its value here has no effect since it is set only by plbox or\n"
21870 " plbox3. However, the user may obtain its value after a call to\n"
21871 " either of these functions by calling plgzax.\n"
21872 "\n"
21873 ""},
21874 { "pltext", _wrap_pltext, METH_NOARGS, "\n"
21875 "Switch to text screen\n"
21876 "\n"
21877 "DESCRIPTION:\n"
21878 "\n"
21879 " Sets an interactive device to text mode, used in conjunction with\n"
21880 " plgra to allow graphics and text to be interspersed. On a device\n"
21881 " which supports separate text and graphics windows, this command causes\n"
21882 " control to be switched to the text window. This can be useful for\n"
21883 " printing diagnostic messages or getting user input, which would\n"
21884 " otherwise interfere with the plots. The program must switch back to\n"
21885 " the graphics window before issuing plot commands, as the text (or\n"
21886 " console) device will probably become quite confused otherwise. If\n"
21887 " already in text mode, this command is ignored. It is also ignored on\n"
21888 " devices which only support a single window or use a different method\n"
21889 " for shifting focus (see also plgra).\n"
21890 "\n"
21891 " Redacted form: pltext()\n"
21892 "\n"
21893 " This function is used in example 1.\n"
21894 "\n"
21895 "\n"
21896 "\n"
21897 "SYNOPSIS:\n"
21898 "\n"
21899 "pltext()\n"
21900 "\n"
21901 ""},
21902 { "pltimefmt", _wrap_pltimefmt, METH_O, "\n"
21903 "Set format for date / time labels\n"
21904 "\n"
21905 "DESCRIPTION:\n"
21906 "\n"
21907 " Sets the format for date / time labels. To enable date / time format\n"
21908 " labels see the options to plbox, plbox3, and plenv.\n"
21909 "\n"
21910 " Redacted form: pltimefmt(fmt)\n"
21911 "\n"
21912 " This function is used in example 29.\n"
21913 "\n"
21914 "\n"
21915 "\n"
21916 "SYNOPSIS:\n"
21917 "\n"
21918 "pltimefmt(fmt)\n"
21919 "\n"
21920 "ARGUMENTS:\n"
21921 "\n"
21922 " fmt (PLCHAR_VECTOR, input) : An ascii character string which is\n"
21923 " interpreted similarly to the format specifier of typical system\n"
21924 " strftime routines except that PLplot ignores locale and also\n"
21925 " supplies some useful extensions in the context of plotting. All\n"
21926 " text in the string is printed as-is other than conversion\n"
21927 " specifications which take the form of a '%' character followed by\n"
21928 " further conversion specification character. The conversion\n"
21929 " specifications which are similar to those provided by system\n"
21930 " strftime routines are the following: %a: The abbreviated (English)\n"
21931 " weekday name.\n"
21932 " %A: The full (English) weekday name.\n"
21933 " %b: The abbreviated (English) month name.\n"
21934 " %B: The full (English) month name.\n"
21935 " %c: Equivalent to %a %b %d %T %Y (non-ISO).\n"
21936 " %C: The century number (year/100) as a 2-digit integer.\n"
21937 " %d: The day of the month as a decimal number (range 01 to 31).\n"
21938 " %D: Equivalent to %m/%d/%y (non-ISO).\n"
21939 " %e: Like %d, but a leading zero is replaced by a space.\n"
21940 " %F: Equivalent to %Y-%m-%d (the ISO 8601 date format).\n"
21941 " %h: Equivalent to %b.\n"
21942 " %H: The hour as a decimal number using a 24-hour clock (range\n"
21943 " 00 to 23).\n"
21944 " %I: The hour as a decimal number using a 12-hour clock (range\n"
21945 " 01 to 12).\n"
21946 " %j: The day of the year as a decimal number (range 001 to\n"
21947 " 366).\n"
21948 " %k: The hour (24-hour clock) as a decimal number (range 0 to\n"
21949 " 23); single digits are preceded by a blank. (See also %H.)\n"
21950 " %l: The hour (12-hour clock) as a decimal number (range 1 to\n"
21951 " 12); single digits are preceded by a blank. (See also %I.)\n"
21952 " %m: The month as a decimal number (range 01 to 12).\n"
21953 " %M: The minute as a decimal number (range 00 to 59).\n"
21954 " %n: A newline character.\n"
21955 " %p: Either \"AM\" or \"PM\" according to the given time value.\n"
21956 " Noon is treated as \"PM\" and midnight as \"AM\".\n"
21957 " %r: Equivalent to %I:%M:%S %p.\n"
21958 " %R: The time in 24-hour notation (%H:%M). For a version\n"
21959 " including the seconds, see %T below.\n"
21960 " %s: The number of seconds since the Epoch, 1970-01-01 00:00:00\n"
21961 " +0000 (UTC).\n"
21962 " %S: The second as a decimal number (range 00 to 60). (The\n"
21963 " range is up to 60 to allow for occasional leap seconds.)\n"
21964 " %t: A tab character.\n"
21965 " %T: The time in 24-hour notation (%H:%M:%S).\n"
21966 " %u: The day of the week as a decimal, range 1 to 7, Monday\n"
21967 " being 1. See also %w.\n"
21968 " %U: The week number of the current year as a decimal number,\n"
21969 " range 00 to 53, starting with the first Sunday as the first\n"
21970 " day of week 01. See also %V and %W.\n"
21971 " %v: Equivalent to %e-%b-%Y.\n"
21972 " %V: The ISO 8601 week number of the current year as a decimal\n"
21973 " number, range 01 to 53, where week 1 is the first week that\n"
21974 " has at least 4 days in the new year. See also %U and %W.\n"
21975 " %w: The day of the week as a decimal, range 0 to 6, Sunday\n"
21976 " being 0. See also %u.\n"
21977 " %W: The week number of the current year as a decimal number,\n"
21978 " range 00 to 53, starting with the first Monday as the first\n"
21979 " day of week 01.\n"
21980 " %x: Equivalent to %a %b %d %Y.\n"
21981 " %X: Equivalent to %T.\n"
21982 " %y: The year as a decimal number without a century (range 00\n"
21983 " to 99).\n"
21984 " %Y: The year as a decimal number including a century.\n"
21985 " %z: The UTC time-zone string = \"+0000\".\n"
21986 " %Z: The UTC time-zone abbreviation = \"UTC\".\n"
21987 " %+: The UTC date and time in default format of the Unix date\n"
21988 " command which is equivalent to %a %b %d %T %Z %Y.\n"
21989 " %%: A literal \"%\" character.\n"
21990 " The conversion specifications which are extensions to those normally\n"
21991 " provided by system strftime routines are the following: %(0-9):\n"
21992 " The fractional part of the seconds field (including leading\n"
21993 " decimal point) to the specified accuracy. Thus %S%3 would give\n"
21994 " seconds to millisecond accuracy (00.000).\n"
21995 " %.: The fractional part of the seconds field (including\n"
21996 " leading decimal point) to the maximum available accuracy. Thus\n"
21997 " %S%. would give seconds with fractional part up to 9 decimal\n"
21998 " places if available.\n"
21999 "\n"
22000 ""},
22001 { "plvasp", _wrap_plvasp, METH_O, "\n"
22002 "Specify viewport using aspect ratio only\n"
22003 "\n"
22004 "DESCRIPTION:\n"
22005 "\n"
22006 " Selects the largest viewport with the given aspect ratio within the\n"
22007 " subpage that leaves a standard margin (left-hand margin of eight\n"
22008 " character heights, and a margin around the other three sides of five\n"
22009 " character heights).\n"
22010 "\n"
22011 " Redacted form: plvasp(aspect)\n"
22012 "\n"
22013 " This function is used in example 13.\n"
22014 "\n"
22015 "\n"
22016 "\n"
22017 "SYNOPSIS:\n"
22018 "\n"
22019 "plvasp(aspect)\n"
22020 "\n"
22021 "ARGUMENTS:\n"
22022 "\n"
22023 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n"
22024 " axis of resulting viewport.\n"
22025 "\n"
22026 ""},
22027 { "plvect", _wrap_plvect, METH_VARARGS, "\n"
22028 "Vector plot\n"
22029 "\n"
22030 "DESCRIPTION:\n"
22031 "\n"
22032 " Draws a plot of vector data contained in the matrices (\n"
22033 " u[\n"
22034 " nx][\n"
22035 " ny],\n"
22036 " v[\n"
22037 " nx][\n"
22038 " ny]) . The scaling factor for the vectors is given by scale. A\n"
22039 " transformation routine pointed to by pltr with a pointer pltr_data for\n"
22040 " additional data required by the transformation routine to map indices\n"
22041 " within the matrices to the world coordinates. The style of the vector\n"
22042 " arrow may be set using plsvect.\n"
22043 "\n"
22044 " Redacted form: plvect(u, v, scale, pltr, pltr_data) where (see above\n"
22045 " discussion) the pltr, pltr_data callback arguments are sometimes\n"
22046 " replaced by a tr vector with 6 elements, or xg and yg array arguments\n"
22047 " with either one or two dimensions.\n"
22048 "\n"
22049 " This function is used in example 22.\n"
22050 "\n"
22051 "\n"
22052 "\n"
22053 "SYNOPSIS:\n"
22054 "\n"
22055 "plvect(u, v, nx, ny, scale, pltr, pltr_data)\n"
22056 "\n"
22057 "ARGUMENTS:\n"
22058 "\n"
22059 " u, v (PLFLT_MATRIX, input) : A pair of matrices containing the x\n"
22060 " and y components of the vector data to be plotted.\n"
22061 "\n"
22062 " nx, ny (PLINT, input) : Dimensions of the matrices u and v.\n"
22063 "\n"
22064 " scale (PLFLT, input) : Parameter to control the scaling factor of\n"
22065 " the vectors for plotting. If scale = 0 then the scaling factor is\n"
22066 " automatically calculated for the data. If scale < 0 then the\n"
22067 " scaling factor is automatically calculated for the data and then\n"
22068 " multiplied by -\n"
22069 " scale. If scale > 0 then the scaling factor is set to scale.\n"
22070 "\n"
22071 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
22072 " defines the transformation between the zero-based indices of the\n"
22073 " matrices u and v and world coordinates.For the C case,\n"
22074 " transformation functions are provided in the PLplot library: pltr0\n"
22075 " for the identity mapping, and pltr1 and pltr2 for arbitrary\n"
22076 " mappings respectively defined by vectors and matrices. In\n"
22077 " addition, C callback routines for the transformation can be\n"
22078 " supplied by the user such as the mypltr function in\n"
22079 " examples/c/x09c.c which provides a general linear transformation\n"
22080 " between index coordinates and world coordinates.For languages\n"
22081 " other than C you should consult the PLplot documentation for the\n"
22082 " details concerning how PLTRANSFORM_callback arguments are\n"
22083 " interfaced. However, in general, a particular pattern of\n"
22084 " callback-associated arguments such as a tr vector with 6 elements;\n"
22085 " xg and yg vectors; or xg and yg matrices are respectively\n"
22086 " interfaced to a linear-transformation routine similar to the above\n"
22087 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
22088 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
22089 " support native language callbacks for handling index to\n"
22090 " world-coordinate transformations. Examples of these various\n"
22091 " approaches are given in examples/<language>x09*,\n"
22092 " examples/<language>x16*, examples/<language>x20*,\n"
22093 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
22094 " supported languages.\n"
22095 "\n"
22096 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
22097 " information to pltr0, pltr1, pltr2, or whatever callback routine\n"
22098 " that is externally supplied.\n"
22099 "\n"
22100 ""},
22101 { "plvpas", _wrap_plvpas, METH_VARARGS, "\n"
22102 "Specify viewport using coordinates and aspect ratio\n"
22103 "\n"
22104 "DESCRIPTION:\n"
22105 "\n"
22106 " Device-independent routine for setting up the viewport. The viewport\n"
22107 " is chosen to be the largest with the given aspect ratio that fits\n"
22108 " within the specified region (in terms of normalized subpage\n"
22109 " coordinates). This routine is functionally equivalent to plvpor when\n"
22110 " a ``natural'' aspect ratio (0.0) is chosen. Unlike plvasp, this\n"
22111 " routine reserves no extra space at the edges for labels.\n"
22112 "\n"
22113 " Redacted form: plvpas(xmin, xmax, ymin, ymax, aspect)\n"
22114 "\n"
22115 " This function is used in example 9.\n"
22116 "\n"
22117 "\n"
22118 "\n"
22119 "SYNOPSIS:\n"
22120 "\n"
22121 "plvpas(xmin, xmax, ymin, ymax, aspect)\n"
22122 "\n"
22123 "ARGUMENTS:\n"
22124 "\n"
22125 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n"
22126 " left-hand edge of the viewport.\n"
22127 "\n"
22128 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n"
22129 " right-hand edge of the viewport.\n"
22130 "\n"
22131 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n"
22132 " bottom edge of the viewport.\n"
22133 "\n"
22134 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n"
22135 " edge of the viewport.\n"
22136 "\n"
22137 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n"
22138 " axis.\n"
22139 "\n"
22140 ""},
22141 { "plvpor", _wrap_plvpor, METH_VARARGS, "\n"
22142 "Specify viewport using normalized subpage coordinates\n"
22143 "\n"
22144 "DESCRIPTION:\n"
22145 "\n"
22146 " Device-independent routine for setting up the viewport. This defines\n"
22147 " the viewport in terms of normalized subpage coordinates which run from\n"
22148 " 0.0 to 1.0 (left to right and bottom to top) along each edge of the\n"
22149 " current subpage. Use the alternate routine plsvpa in order to create\n"
22150 " a viewport of a definite size.\n"
22151 "\n"
22152 " Redacted form: plvpor(xmin, xmax, ymin, ymax)\n"
22153 "\n"
22154 " This function is used in examples 2, 6-8, 10, 11, 15, 16, 18, 21, 23,\n"
22155 " 24, 26, 27, and 31.\n"
22156 "\n"
22157 "\n"
22158 "\n"
22159 "SYNOPSIS:\n"
22160 "\n"
22161 "plvpor(xmin, xmax, ymin, ymax)\n"
22162 "\n"
22163 "ARGUMENTS:\n"
22164 "\n"
22165 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n"
22166 " left-hand edge of the viewport.\n"
22167 "\n"
22168 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n"
22169 " right-hand edge of the viewport.\n"
22170 "\n"
22171 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n"
22172 " bottom edge of the viewport.\n"
22173 "\n"
22174 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n"
22175 " edge of the viewport.\n"
22176 "\n"
22177 ""},
22178 { "plvsta", _wrap_plvsta, METH_NOARGS, "\n"
22179 "Select standard viewport\n"
22180 "\n"
22181 "DESCRIPTION:\n"
22182 "\n"
22183 " Selects the largest viewport within the subpage that leaves a standard\n"
22184 " margin (left-hand margin of eight character heights, and a margin\n"
22185 " around the other three sides of five character heights).\n"
22186 "\n"
22187 " Redacted form: plvsta()\n"
22188 "\n"
22189 " This function is used in examples 1, 12, 14, 17, 25, and 29.\n"
22190 "\n"
22191 "\n"
22192 "\n"
22193 "SYNOPSIS:\n"
22194 "\n"
22195 "plvsta()\n"
22196 "\n"
22197 ""},
22198 { "plw3d", _wrap_plw3d, METH_VARARGS, "\n"
22199 "Configure the transformations required for projecting a 3D surface on a 2D window\n"
22200 "\n"
22201 "DESCRIPTION:\n"
22202 "\n"
22203 " Configure the transformations required for projecting a 3D surface on\n"
22204 " an existing 2D window. Those transformations (see the PLplot\n"
22205 " documentation) are done to a rectangular cuboid enclosing the 3D\n"
22206 " surface which has its limits expressed in 3D world coordinates and\n"
22207 " also normalized 3D coordinates (used for interpreting the altitude and\n"
22208 " azimuth of the viewing angle). The transformations consist of the\n"
22209 " linear transform from 3D world coordinates to normalized 3D\n"
22210 " coordinates, and the 3D rotation of normalized coordinates required to\n"
22211 " align the pole of the new 3D coordinate system with the viewing\n"
22212 " direction specified by altitude and azimuth so that x and y of the\n"
22213 " surface elements in that transformed coordinate system are the\n"
22214 " projection of the 3D surface with given viewing direction on the 2D\n"
22215 " window.\n"
22216 "\n"
22217 " The enclosing rectangular cuboid for the surface plot is defined by\n"
22218 " xmin, xmax, ymin, ymax, zmin and zmax in 3D world coordinates. It is\n"
22219 " mapped into the same rectangular cuboid with normalized 3D coordinate\n"
22220 " sizes of basex by basey by height so that xmin maps to -\n"
22221 " basex/2, xmax maps to basex/2, ymin maps to -\n"
22222 " basey/2, ymax maps to basey/2, zmin maps to 0 and zmax maps to height.\n"
22223 " The resulting rectangular cuboid in normalized coordinates is then\n"
22224 " viewed by an observer at altitude alt and azimuth az. This routine\n"
22225 " must be called before plbox3 or any of the 3D surface plotting\n"
22226 " routines; plmesh, plmeshc, plot3d, plot3dc, plot3dcl, plsurf3d,\n"
22227 " plsurf3dl or plfill3.\n"
22228 "\n"
22229 " Redacted form: plw3d(basex, basey, height, xmin, xmax, ymin, ymax,\n"
22230 " zmin, zmax, alt, az)\n"
22231 "\n"
22232 " This function is examples 8, 11, 18, and 21.\n"
22233 "\n"
22234 "\n"
22235 "\n"
22236 "SYNOPSIS:\n"
22237 "\n"
22238 "plw3d(basex, basey, height, xmin, xmax, ymin, ymax, zmin, zmax, alt, az)\n"
22239 "\n"
22240 "ARGUMENTS:\n"
22241 "\n"
22242 " basex (PLFLT, input) : The normalized x coordinate size of the\n"
22243 " rectangular cuboid.\n"
22244 "\n"
22245 " basey (PLFLT, input) : The normalized y coordinate size of the\n"
22246 " rectangular cuboid.\n"
22247 "\n"
22248 " height (PLFLT, input) : The normalized z coordinate size of the\n"
22249 " rectangular cuboid.\n"
22250 "\n"
22251 " xmin (PLFLT, input) : The minimum x world coordinate of the\n"
22252 " rectangular cuboid.\n"
22253 "\n"
22254 " xmax (PLFLT, input) : The maximum x world coordinate of the\n"
22255 " rectangular cuboid.\n"
22256 "\n"
22257 " ymin (PLFLT, input) : The minimum y world coordinate of the\n"
22258 " rectangular cuboid.\n"
22259 "\n"
22260 " ymax (PLFLT, input) : The maximum y world coordinate of the\n"
22261 " rectangular cuboid.\n"
22262 "\n"
22263 " zmin (PLFLT, input) : The minimum z world coordinate of the\n"
22264 " rectangular cuboid.\n"
22265 "\n"
22266 " zmax (PLFLT, input) : The maximum z world coordinate of the\n"
22267 " rectangular cuboid.\n"
22268 "\n"
22269 " alt (PLFLT, input) : The viewing altitude in degrees above the xy\n"
22270 " plane of the rectangular cuboid in normalized coordinates.\n"
22271 "\n"
22272 " az (PLFLT, input) : The viewing azimuth in degrees of the\n"
22273 " rectangular cuboid in normalized coordinates. When az=0, the\n"
22274 " observer is looking face onto the zx plane of the rectangular\n"
22275 " cuboid in normalized coordinates, and as az is increased, the\n"
22276 " observer moves clockwise around that cuboid when viewed from above\n"
22277 " the xy plane.\n"
22278 "\n"
22279 ""},
22280 { "plwidth", _wrap_plwidth, METH_O, "\n"
22281 "Set pen width\n"
22282 "\n"
22283 "DESCRIPTION:\n"
22284 "\n"
22285 " Sets the pen width.\n"
22286 "\n"
22287 " Redacted form: plwidth(width)\n"
22288 "\n"
22289 " This function is used in examples 1 and 2.\n"
22290 "\n"
22291 "\n"
22292 "\n"
22293 "SYNOPSIS:\n"
22294 "\n"
22295 "plwidth(width)\n"
22296 "\n"
22297 "ARGUMENTS:\n"
22298 "\n"
22299 " width (PLFLT, input) : The desired pen width. If width is negative\n"
22300 " or the same as the previous value no action is taken. width = 0.\n"
22301 " should be interpreted as as the minimum valid pen width for the\n"
22302 " device. The interpretation of positive width values is also\n"
22303 " device dependent.\n"
22304 "\n"
22305 ""},
22306 { "plwind", _wrap_plwind, METH_VARARGS, "\n"
22307 "Specify window\n"
22308 "\n"
22309 "DESCRIPTION:\n"
22310 "\n"
22311 " Specify the window, i.e., the world coordinates of the edges of the\n"
22312 " viewport.\n"
22313 "\n"
22314 " Redacted form: plwind(xmin, xmax, ymin, ymax)\n"
22315 "\n"
22316 " This function is used in examples 1, 2, 4, 6-12, 14-16, 18, 21, 23-27,\n"
22317 " 29, and 31.\n"
22318 "\n"
22319 "\n"
22320 "\n"
22321 "SYNOPSIS:\n"
22322 "\n"
22323 "plwind(xmin, xmax, ymin, ymax)\n"
22324 "\n"
22325 "ARGUMENTS:\n"
22326 "\n"
22327 " xmin (PLFLT, input) : The world x coordinate of the left-hand edge\n"
22328 " of the viewport.\n"
22329 "\n"
22330 " xmax (PLFLT, input) : The world x coordinate of the right-hand edge\n"
22331 " of the viewport.\n"
22332 "\n"
22333 " ymin (PLFLT, input) : The world y coordinate of the bottom edge of\n"
22334 " the viewport.\n"
22335 "\n"
22336 " ymax (PLFLT, input) : The world y coordinate of the top edge of the\n"
22337 " viewport.\n"
22338 "\n"
22339 ""},
22340 { "plxormod", _wrap_plxormod, METH_O, "\n"
22341 "Enter or leave xor mode\n"
22342 "\n"
22343 "DESCRIPTION:\n"
22344 "\n"
22345 " Enter (when mode is true) or leave (when mode is false) xor mode for\n"
22346 " those drivers (e.g., the xwin driver) that support it. Enables\n"
22347 " erasing plots by drawing twice the same line, symbol, etc. If driver\n"
22348 " is not capable of xor operation it returns a status of false.\n"
22349 "\n"
22350 " Redacted form: plxormod(mode, status)\n"
22351 "\n"
22352 " This function is used in examples 1 and 20.\n"
22353 "\n"
22354 "\n"
22355 "\n"
22356 "SYNOPSIS:\n"
22357 "\n"
22358 "plxormod(mode, status)\n"
22359 "\n"
22360 "ARGUMENTS:\n"
22361 "\n"
22362 " mode (PLBOOL, input) : mode is true means enter xor mode and mode\n"
22363 " is false means leave xor mode.\n"
22364 "\n"
22365 " status (PLBOOL_NC_SCALAR, output) : Returned value of the status.\n"
22366 " modestatus of true (false) means driver is capable (incapable) of\n"
22367 " xor mode.\n"
22368 "\n"
22369 ""},
22370 { "plmap", _wrap_plmap, METH_VARARGS, "\n"
22371 "Plot continental outline or shapefile data in world coordinates\n"
22372 "\n"
22373 "DESCRIPTION:\n"
22374 "\n"
22375 " Plots continental outlines or shapefile data in world coordinates. A\n"
22376 " demonstration of how to use this function to create different\n"
22377 " projections can be found in examples/c/x19c. PLplot is provided with\n"
22378 " basic coastal outlines and USA state borders. To use the map\n"
22379 " functionality PLplot must be compiled with the shapelib library.\n"
22380 " Shapefiles have become a popular standard for geographical data and\n"
22381 " data in this format can be easily found from a number of online\n"
22382 " sources. Shapefile data is actually provided as three or more files\n"
22383 " with the same filename, but different extensions. The .shp and .shx\n"
22384 " files are required for plotting Shapefile data with PLplot.\n"
22385 "\n"
22386 " PLplot currently supports the point, multipoint, polyline and polygon\n"
22387 " objects within shapefiles. However holes in polygons are not\n"
22388 " supported. When plmap is used the type of object is derived from the\n"
22389 " shapefile, if you wish to override the type then use one of the other\n"
22390 " plmap variants. The built in maps have line data only.\n"
22391 "\n"
22392 " Redacted form: plmap(mapform, name, minx, maxx, miny, maxy)\n"
22393 "\n"
22394 " This function is used in example 19.\n"
22395 "\n"
22396 "\n"
22397 "\n"
22398 "SYNOPSIS:\n"
22399 "\n"
22400 "plmap(mapform, name, minx, maxx, miny, maxy)\n"
22401 "\n"
22402 "ARGUMENTS:\n"
22403 "\n"
22404 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22405 " transform the original map data coordinates to a new coordinate\n"
22406 " system. The PLplot-supplied map data is provided as latitudes and\n"
22407 " longitudes; other Shapefile data may be provided in other\n"
22408 " coordinate systems as can be found in their .prj plain text files.\n"
22409 " For example, by using this transform we can change from a\n"
22410 " longitude, latitude coordinate to a polar stereographic\n"
22411 " projection. Initially, x[0]..[n-1] are the original x coordinates\n"
22412 " (longitudes for the PLplot-supplied data) and y[0]..y[n-1] are the\n"
22413 " corresponding y coordinates (latitudes for the PLplot supplied\n"
22414 " data). After the call to mapform(), x[] and y[] should be\n"
22415 " replaced by the corresponding plot coordinates. If no transform is\n"
22416 " desired, mapform can be replaced by NULL.\n"
22417 "\n"
22418 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22419 " the type of map plotted. This is either one of the PLplot built-in\n"
22420 " maps or the file name of a set of Shapefile files without the file\n"
22421 " extensions. For the PLplot built-in maps the possible values are:\n"
22422 " \"globe\" -- continental outlines\n"
22423 " \"usa\" -- USA and state boundaries\n"
22424 " \"cglobe\" -- continental outlines and countries\n"
22425 " \"usaglobe\" -- USA, state boundaries and continental outlines\n"
22426 "\n"
22427 "\n"
22428 " minx (PLFLT, input) : The minimum x value of map elements to be\n"
22429 " drawn. The units must match the shapefile (built in maps are\n"
22430 " degrees lat/lon). Objects in the file which do not encroach on the\n"
22431 " box defined by minx, maxx, miny, maxy will not be rendered. But\n"
22432 " note this is simply an optimisation, not a clipping so for objects\n"
22433 " with some points inside the box and some points outside the box\n"
22434 " all the points will be rendered. These parameters also define\n"
22435 " latitude and longitude wrapping for shapefiles using these units.\n"
22436 " Longitude points will be wrapped by integer multiples of 360\n"
22437 " degrees to place them in the box. This allows the same data to be\n"
22438 " used on plots from -180-180 or 0-360 longitude ranges. In fact if\n"
22439 " you plot from -180-540 you will get two cycles of data drawn. The\n"
22440 " value of minx must be less than the value of maxx. Passing in a\n"
22441 " nan, max/-max floating point number or +/-infinity will case the\n"
22442 " bounding box from the shapefile to be used.\n"
22443 "\n"
22444 " maxx (PLFLT, input) : The maximum x value of map elements to be\n"
22445 " drawn - see minx.\n"
22446 "\n"
22447 " miny (PLFLT, input) : The minimum y value of map elements to be\n"
22448 " drawn - see minx.\n"
22449 "\n"
22450 " maxy (PLFLT, input) : The maximum y value of map elements to be\n"
22451 " drawn - see minx.\n"
22452 "\n"
22453 ""},
22454 { "plmapline", _wrap_plmapline, METH_VARARGS, "\n"
22455 "Plot all or a subset of Shapefile data using lines in world coordinates\n"
22456 "\n"
22457 "DESCRIPTION:\n"
22458 "\n"
22459 " Plot all or a subset of Shapefile data using lines in world\n"
22460 " coordinates. Our 19th standard example demonstrates how to use this\n"
22461 " function. This function plots data from a Shapefile using lines as in\n"
22462 " plmap, however it also has the option of also only drawing specified\n"
22463 " elements from the Shapefile. The vector of indices of the required\n"
22464 " elements are passed as a function argument. The Shapefile data should\n"
22465 " include a metadata file (extension.dbf) listing all items within the\n"
22466 " Shapefile. This file can be opened by most popular spreadsheet\n"
22467 " programs and can be used to decide which indices to pass to this\n"
22468 " function.\n"
22469 "\n"
22470 " Redacted form: plmapline(mapform, name, minx, maxx, miny, maxy,\n"
22471 " plotentries)\n"
22472 "\n"
22473 " This function is used in example 19.\n"
22474 "\n"
22475 "\n"
22476 "\n"
22477 "SYNOPSIS:\n"
22478 "\n"
22479 "plmapline(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22480 "\n"
22481 "ARGUMENTS:\n"
22482 "\n"
22483 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22484 " transform the coordinates given in the shapefile into a plot\n"
22485 " coordinate system. By using this transform, we can change from a\n"
22486 " longitude, latitude coordinate to a polar stereographic project,\n"
22487 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22488 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22489 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22490 " plot coordinates. If no transform is desired, mapform can be\n"
22491 " replaced by NULL.\n"
22492 "\n"
22493 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22494 " the file name of a set of Shapefile files without the file\n"
22495 " extension.\n"
22496 "\n"
22497 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22498 " be in the same units as used by the Shapefile. You could use a\n"
22499 " very large negative number to plot everything, but you can improve\n"
22500 " performance by limiting the area drawn. The units must match those\n"
22501 " of the Shapefile projection, which may be for example longitude or\n"
22502 " distance. The value of minx must be less than the value of maxx.\n"
22503 "\n"
22504 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22505 " use a very large number to plot everything, but you can improve\n"
22506 " performance by limiting the area drawn.\n"
22507 "\n"
22508 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22509 " be in the same units as used by the Shapefile. You could use a\n"
22510 " very large negative number to plot everything, but you can improve\n"
22511 " performance by limiting the area drawn. The units must match those\n"
22512 " of the Shapefile projection, which may be for example latitude or\n"
22513 " distance. The value of miny must be less than the value of maxy.\n"
22514 "\n"
22515 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22516 " use a very large number to plot everything, but you can improve\n"
22517 " performance by limiting the area drawn.\n"
22518 "\n"
22519 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22520 " zero-based indices of the Shapefile elements which will be drawn.\n"
22521 " Setting\n"
22522 " plotentries to NULL will plot all elements of the Shapefile.\n"
22523 "\n"
22524 " nplotentries (PLINT, input) : The number of items in\n"
22525 " plotentries. Ignored if\n"
22526 " plotentries is NULL.\n"
22527 "\n"
22528 ""},
22529 { "plmapstring", _wrap_plmapstring, METH_VARARGS, "\n"
22530 "Plot all or a subset of Shapefile data using strings or points in world coordinates\n"
22531 "\n"
22532 "DESCRIPTION:\n"
22533 "\n"
22534 " As per plmapline, however the items are plotted as strings or points\n"
22535 " in the same way as plstring.\n"
22536 "\n"
22537 " Redacted form: plmapstring(mapform, name, string, minx, maxx, miny,\n"
22538 " maxy, plotentries)\n"
22539 "\n"
22540 " This function is not used in any examples.\n"
22541 "\n"
22542 "\n"
22543 "\n"
22544 "SYNOPSIS:\n"
22545 "\n"
22546 "plmapstring(mapform, name, string, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22547 "\n"
22548 "ARGUMENTS:\n"
22549 "\n"
22550 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22551 " transform the coordinates given in the shapefile into a plot\n"
22552 " coordinate system. By using this transform, we can change from a\n"
22553 " longitude, latitude coordinate to a polar stereographic project,\n"
22554 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22555 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22556 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22557 " plot coordinates. If no transform is desired, mapform can be\n"
22558 " replaced by NULL.\n"
22559 "\n"
22560 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22561 " the file name of a set of Shapefile files without the file\n"
22562 " extension.\n"
22563 "\n"
22564 " string (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
22565 " drawn.\n"
22566 "\n"
22567 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22568 " be in the same units as used by the Shapefile. You could use a\n"
22569 " very large negative number to plot everything, but you can improve\n"
22570 " performance by limiting the area drawn. The units must match those\n"
22571 " of the Shapefile projection, which may be for example longitude or\n"
22572 " distance. The value of minx must be less than the value of maxx.\n"
22573 "\n"
22574 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22575 " use a very large number to plot everything, but you can improve\n"
22576 " performance by limiting the area drawn.\n"
22577 "\n"
22578 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22579 " be in the same units as used by the Shapefile. You could use a\n"
22580 " very large negative number to plot everything, but you can improve\n"
22581 " performance by limiting the area drawn. The units must match those\n"
22582 " of the Shapefile projection, which may be for example latitude or\n"
22583 " distance. The value of miny must be less than the value of maxy.\n"
22584 "\n"
22585 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22586 " use a very large number to plot everything, but you can improve\n"
22587 " performance by limiting the area drawn.\n"
22588 "\n"
22589 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22590 " zero-based indices of the Shapefile elements which will be drawn.\n"
22591 " Setting\n"
22592 " plotentries to NULL will plot all elements of the Shapefile.\n"
22593 "\n"
22594 " nplotentries (PLINT, input) : The number of items in\n"
22595 " plotentries. Ignored if\n"
22596 " plotentries is NULL.\n"
22597 "\n"
22598 ""},
22599 { "plmaptex", _wrap_plmaptex, METH_VARARGS, "\n"
22600 "Draw text at points defined by Shapefile data in world coordinates\n"
22601 "\n"
22602 "DESCRIPTION:\n"
22603 "\n"
22604 " As per plmapline, however the items are plotted as text in the same\n"
22605 " way as plptex.\n"
22606 "\n"
22607 " Redacted form: plmaptex(mapform, name, dx, dy, just, text, minx, maxx,\n"
22608 " miny, maxy, plotentry)\n"
22609 "\n"
22610 " This function is used in example 19.\n"
22611 "\n"
22612 "\n"
22613 "\n"
22614 "SYNOPSIS:\n"
22615 "\n"
22616 "plmaptex(mapform, name, dx, dy, just, text, minx, maxx, miny, maxy, plotentry)\n"
22617 "\n"
22618 "ARGUMENTS:\n"
22619 "\n"
22620 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22621 " transform the coordinates given in the shapefile into a plot\n"
22622 " coordinate system. By using this transform, we can change from a\n"
22623 " longitude, latitude coordinate to a polar stereographic project,\n"
22624 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22625 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22626 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22627 " plot coordinates. If no transform is desired, mapform can be\n"
22628 " replaced by NULL.\n"
22629 "\n"
22630 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22631 " the file name of a set of Shapefile files without the file\n"
22632 " extension.\n"
22633 "\n"
22634 " dx (PLFLT, input) : Used to define the slope of the texts which is\n"
22635 " dy/dx.\n"
22636 "\n"
22637 " dy (PLFLT, input) : Used to define the slope of the texts which is\n"
22638 " dy/dx.\n"
22639 "\n"
22640 " just (PLFLT, input) : Set the justification of the text. The value\n"
22641 " given will be the fraction of the distance along the string that\n"
22642 " sits at the given point. 0.0 gives left aligned text, 0.5 gives\n"
22643 " centralized text and 1.0 gives right aligned text.\n"
22644 "\n"
22645 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be drawn.\n"
22646 "\n"
22647 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22648 " be in the same units as used by the Shapefile. You could use a\n"
22649 " very large negative number to plot everything, but you can improve\n"
22650 " performance by limiting the area drawn. The units must match those\n"
22651 " of the Shapefile projection, which may be for example longitude or\n"
22652 " distance. The value of minx must be less than the value of maxx.\n"
22653 "\n"
22654 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22655 " use a very large number to plot everything, but you can improve\n"
22656 " performance by limiting the area drawn.\n"
22657 "\n"
22658 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22659 " be in the same units as used by the Shapefile. You could use a\n"
22660 " very large negative number to plot everything, but you can improve\n"
22661 " performance by limiting the area drawn. The units must match those\n"
22662 " of the Shapefile projection, which may be for example latitude or\n"
22663 " distance. The value of miny must be less than the value of maxy.\n"
22664 "\n"
22665 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22666 " use a very large number to plot everything, but you can improve\n"
22667 " performance by limiting the area drawn.\n"
22668 "\n"
22669 " plotentry (PLINT, input) : An integer indicating which text string\n"
22670 " of the Shapefile (zero indexed) will be drawn.\n"
22671 "\n"
22672 ""},
22673 { "plmapfill", _wrap_plmapfill, METH_VARARGS, "\n"
22674 "Plot all or a subset of Shapefile data, filling the polygons\n"
22675 "\n"
22676 "DESCRIPTION:\n"
22677 "\n"
22678 " As per plmapline, however the items are filled in the same way as\n"
22679 " plfill.\n"
22680 "\n"
22681 " Redacted form: plmapfill(mapform, name, minx, maxx, miny, maxy,\n"
22682 " plotentries)\n"
22683 "\n"
22684 " This function is used in example 19.\n"
22685 "\n"
22686 "\n"
22687 "\n"
22688 "SYNOPSIS:\n"
22689 "\n"
22690 "plmapfill(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22691 "\n"
22692 "ARGUMENTS:\n"
22693 "\n"
22694 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22695 " transform the coordinates given in the shapefile into a plot\n"
22696 " coordinate system. By using this transform, we can change from a\n"
22697 " longitude, latitude coordinate to a polar stereographic project,\n"
22698 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22699 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22700 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22701 " plot coordinates. If no transform is desired, mapform can be\n"
22702 " replaced by NULL.\n"
22703 "\n"
22704 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22705 " the file name of a set of Shapefile files without the file\n"
22706 " extension.\n"
22707 "\n"
22708 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22709 " be in the same units as used by the Shapefile. You could use a\n"
22710 " very large negative number to plot everything, but you can improve\n"
22711 " performance by limiting the area drawn. The units must match those\n"
22712 " of the Shapefile projection, which may be for example longitude or\n"
22713 " distance. The value of minx must be less than the value of maxx.\n"
22714 "\n"
22715 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22716 " use a very large number to plot everything, but you can improve\n"
22717 " performance by limiting the area drawn.\n"
22718 "\n"
22719 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22720 " be in the same units as used by the Shapefile. You could use a\n"
22721 " very large negative number to plot everything, but you can improve\n"
22722 " performance by limiting the area drawn. The units must match those\n"
22723 " of the Shapefile projection, which may be for example latitude or\n"
22724 " distance. The value of miny must be less than the value of maxy.\n"
22725 "\n"
22726 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22727 " use a very large number to plot everything, but you can improve\n"
22728 " performance by limiting the area drawn.\n"
22729 "\n"
22730 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22731 " zero-based indices of the Shapefile elements which will be drawn.\n"
22732 " Setting\n"
22733 " plotentries to NULL will plot all elements of the Shapefile.\n"
22734 "\n"
22735 " nplotentries (PLINT, input) : The number of items in\n"
22736 " plotentries. Ignored if\n"
22737 " plotentries is NULL.\n"
22738 "\n"
22739 ""},
22740 { "plmeridians", _wrap_plmeridians, METH_VARARGS, "\n"
22741 "Plot latitude and longitude lines\n"
22742 "\n"
22743 "DESCRIPTION:\n"
22744 "\n"
22745 " Displays latitude and longitude on the current plot. The lines are\n"
22746 " plotted in the current color and line style.\n"
22747 "\n"
22748 " Redacted form: plmeridians(mapform, dlong, dlat, minlong, maxlong,\n"
22749 " minlat, maxlat)\n"
22750 "\n"
22751 " This function is used in example 19.\n"
22752 "\n"
22753 "\n"
22754 "\n"
22755 "SYNOPSIS:\n"
22756 "\n"
22757 "plmeridians(mapform, dlong, dlat, minlong, maxlong, minlat, maxlat)\n"
22758 "\n"
22759 "ARGUMENTS:\n"
22760 "\n"
22761 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22762 " transform the coordinate longitudes and latitudes to a plot\n"
22763 " coordinate system. By using this transform, we can change from a\n"
22764 " longitude, latitude coordinate to a polar stereographic project,\n"
22765 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22766 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22767 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22768 " plot coordinates. If no transform is desired, mapform can be\n"
22769 " replaced by NULL.\n"
22770 "\n"
22771 " dlong (PLFLT, input) : The interval in degrees at which the\n"
22772 " longitude lines are to be plotted.\n"
22773 "\n"
22774 " dlat (PLFLT, input) : The interval in degrees at which the latitude\n"
22775 " lines are to be plotted.\n"
22776 "\n"
22777 " minlong (PLFLT, input) : The value of the longitude on the left\n"
22778 " side of the plot. The value of minlong must be less than the value\n"
22779 " of maxlong, and the quantity maxlong-minlong must be less than or\n"
22780 " equal to 360.\n"
22781 "\n"
22782 " maxlong (PLFLT, input) : The value of the longitude on the right\n"
22783 " side of the plot.\n"
22784 "\n"
22785 " minlat (PLFLT, input) : The minimum latitude to be plotted on the\n"
22786 " background. One can always use -90.0 as the boundary outside the\n"
22787 " plot window will be automatically eliminated. However, the\n"
22788 " program will be faster if one can reduce the size of the\n"
22789 " background plotted.\n"
22790 "\n"
22791 " maxlat (PLFLT, input) : The maximum latitudes to be plotted on the\n"
22792 " background. One can always use 90.0 as the boundary outside the\n"
22793 " plot window will be automatically eliminated.\n"
22794 "\n"
22795 ""},
22796 { "plimage", _wrap_plimage, METH_VARARGS, "\n"
22797 "Plot a 2D matrix using cmap1 with automatic color adjustment\n"
22798 "\n"
22799 "DESCRIPTION:\n"
22800 "\n"
22801 " Plot a 2D matrix using the cmap1 palette. The color scale is\n"
22802 " automatically adjusted to use the maximum and minimum values in idata\n"
22803 " as valuemin and valuemax in a call to plimagefr.\n"
22804 "\n"
22805 " Redacted form: General: plimage(idata, xmin, xmax, ymin, ymax, zmin,\n"
22806 " zmax, Dxmin, Dxmax, Dymin, Dymax)\n"
22807 "\n"
22808 "\n"
22809 " This function is used in example 20.\n"
22810 "\n"
22811 "\n"
22812 "\n"
22813 "SYNOPSIS:\n"
22814 "\n"
22815 "plimage(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, Dxmin, Dxmax, Dymin, Dymax)\n"
22816 "\n"
22817 "ARGUMENTS:\n"
22818 "\n"
22819 " idata (PLFLT_MATRIX, input) : A matrix containing function values\n"
22820 " to plot. Should have dimensions of\n"
22821 " nx by\n"
22822 " ny.\n"
22823 "\n"
22824 " nx, ny (PLINT, input) : Dimensions of idata\n"
22825 "\n"
22826 " xmin, xmax, ymin, ymax (PLFLT, input) : The x and y index ranges\n"
22827 " are linearly transformed to these world coordinate ranges such\n"
22828 " that idata[0][0] corresponds to (xmin, ymin) and idata[nx - 1][ny\n"
22829 " - 1] corresponds to (xmax, ymax).\n"
22830 "\n"
22831 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n"
22832 " (inclusive) will be plotted.\n"
22833 "\n"
22834 " Dxmin, Dxmax, Dymin, Dymax (PLFLT, input) : Plot only the window of\n"
22835 " points whose plot coordinates fall inside the window of (Dxmin,\n"
22836 " Dymin) to (Dxmax, Dymax).\n"
22837 "\n"
22838 ""},
22839 { "plimagefr", _wrap_plimagefr, METH_VARARGS, "\n"
22840 "Plot a 2D matrix using cmap1\n"
22841 "\n"
22842 "DESCRIPTION:\n"
22843 "\n"
22844 " Plot a 2D matrix using cmap1.\n"
22845 "\n"
22846 " Redacted form: General: plimagefr(idata, xmin, xmax, ymin, ymax, zmin,\n"
22847 " zmax, valuemin, valuemax, pltr, pltr_data)\n"
22848 "\n"
22849 "\n"
22850 " This function is used in example 20.\n"
22851 "\n"
22852 "\n"
22853 "\n"
22854 "SYNOPSIS:\n"
22855 "\n"
22856 "plimagefr(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr, pltr_data)\n"
22857 "\n"
22858 "ARGUMENTS:\n"
22859 "\n"
22860 " idata (PLFLT_MATRIX, input) : A matrix of values (intensities) to\n"
22861 " plot. Should have dimensions of\n"
22862 " nx by\n"
22863 " ny.\n"
22864 "\n"
22865 " nx, ny (PLINT, input) : Dimensions of idata\n"
22866 "\n"
22867 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
22868 " pltr below for how these arguments are used (only for the special case\n"
22869 " when the callback function\n"
22870 " pltr is not supplied).\n"
22871 "\n"
22872 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n"
22873 " (inclusive) will be plotted.\n"
22874 "\n"
22875 " valuemin, valuemax (PLFLT, input) : The minimum and maximum data\n"
22876 " values to use for value to color mappings. A datum equal to or\n"
22877 " less than valuemin will be plotted with color 0.0, while a datum\n"
22878 " equal to or greater than valuemax will be plotted with color 1.0.\n"
22879 " Data between valuemin and valuemax map linearly to colors in the\n"
22880 " range (0.0-1.0).\n"
22881 "\n"
22882 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
22883 " defines the transformation between the zero-based indices of the\n"
22884 " matrix idata and world coordinates. If\n"
22885 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
22886 " indices of idata are mapped to the range\n"
22887 " xmin through\n"
22888 " xmax and the y indices of idata are mapped to the range\n"
22889 " ymin through\n"
22890 " ymax.For the C case, transformation functions are provided in the\n"
22891 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
22892 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
22893 " matrices. In addition, C callback routines for the transformation\n"
22894 " can be supplied by the user such as the mypltr function in\n"
22895 " examples/c/x09c.c which provides a general linear transformation\n"
22896 " between index coordinates and world coordinates.For languages\n"
22897 " other than C you should consult the PLplot documentation for the\n"
22898 " details concerning how PLTRANSFORM_callback arguments are\n"
22899 " interfaced. However, in general, a particular pattern of\n"
22900 " callback-associated arguments such as a tr vector with 6 elements;\n"
22901 " xg and yg vectors; or xg and yg matrices are respectively\n"
22902 " interfaced to a linear-transformation routine similar to the above\n"
22903 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
22904 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
22905 " support native language callbacks for handling index to\n"
22906 " world-coordinate transformations. Examples of these various\n"
22907 " approaches are given in examples/<language>x09*,\n"
22908 " examples/<language>x16*, examples/<language>x20*,\n"
22909 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
22910 " supported languages.\n"
22911 "\n"
22912 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
22913 " information to pltr0, pltr1, pltr2, or whatever routine is\n"
22914 " externally supplied.\n"
22915 "\n"
22916 ""},
22917 { "plClearOpts", _wrap_plClearOpts, METH_NOARGS, NULL},
22918 { "plResetOpts", _wrap_plResetOpts, METH_NOARGS, NULL},
22919 { "plSetUsage", _wrap_plSetUsage, METH_VARARGS, NULL},
22920 { "plOptUsage", _wrap_plOptUsage, METH_NOARGS, NULL},
22921 { "plMinMax2dGrid", _wrap_plMinMax2dGrid, METH_O, NULL},
22922 { "plGetCursor", _wrap_plGetCursor, METH_O, "\n"
22923 "Wait for graphics input event and translate to world coordinates.\n"
22924 "\n"
22925 "DESCRIPTION:\n"
22926 "\n"
22927 " Wait for graphics input event and translate to world coordinates.\n"
22928 " Returns 0 if no translation to world coordinates is possible.\n"
22929 "\n"
22930 " This function returns 1 on success and 0 if no translation to world\n"
22931 " coordinates is possible.\n"
22932 "\n"
22933 " Redacted form: plGetCursor(gin)\n"
22934 "\n"
22935 " This function is used in examples 1 and 20.\n"
22936 "\n"
22937 "\n"
22938 "\n"
22939 "SYNOPSIS:\n"
22940 "\n"
22941 "PLINT plGetCursor(gin)\n"
22942 "\n"
22943 "ARGUMENTS:\n"
22944 "\n"
22945 " gin (PLGraphicsIn *, output) : Pointer to PLGraphicsIn structure\n"
22946 " which will contain the output. The structure is not allocated by\n"
22947 " the routine and must exist before the function is called.\n"
22948 "\n"
22949 ""},
22950 { NULL, NULL, 0, NULL }
22951};
22952
22953
22954/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
22955
22956static swig_type_info _swigt__p_PLGraphicsIn = {"_p_PLGraphicsIn", "PLGraphicsIn *", 0, 0, (void*)0, 0};
22957static swig_type_info _swigt__p_PLcGrid = {"_p_PLcGrid", "PLcGrid *", 0, 0, (void*)0, 0};
22958static swig_type_info _swigt__p_PLcGrid2 = {"_p_PLcGrid2", "PLcGrid2 *", 0, 0, (void*)0, 0};
22959static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
22960static swig_type_info _swigt__p_double = {"_p_double", "PLFLT *|double *", 0, 0, (void*)0, 0};
22961static swig_type_info _swigt__p_f_double_double__int = {"_p_f_double_double__int", "defined_func|int (*)(double,double)", 0, 0, (void*)0, 0};
22962static 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};
22963static 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};
22964static 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};
22965static 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};
22966static swig_type_info _swigt__p_int = {"_p_int", "PLBOOL *|PLINT *|int *", 0, 0, (void*)0, 0};
22967static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
22968static swig_type_info _swigt__p_p_double = {"_p_p_double", "PLFLT **|double **", 0, 0, (void*)0, 0};
22969static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "PLUNICODE *|unsigned int *", 0, 0, (void*)0, 0};
22970
22987
22988static swig_cast_info _swigc__p_PLGraphicsIn[] = { {&_swigt__p_PLGraphicsIn, 0, 0, 0},{0, 0, 0, 0}};
22989static swig_cast_info _swigc__p_PLcGrid[] = { {&_swigt__p_PLcGrid, 0, 0, 0},{0, 0, 0, 0}};
22990static swig_cast_info _swigc__p_PLcGrid2[] = { {&_swigt__p_PLcGrid2, 0, 0, 0},{0, 0, 0, 0}};
22991static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
22992static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
22998static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
22999static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
23000static swig_cast_info _swigc__p_p_double[] = { {&_swigt__p_p_double, 0, 0, 0},{0, 0, 0, 0}};
23001static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
23002
23019
23020
23021/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
23022
23024{0, 0, 0, 0.0, 0, 0}};
23025
23026#ifdef __cplusplus
23027}
23028#endif
23029/* -----------------------------------------------------------------------------
23030 * Type initialization:
23031 * This problem is made tough by the requirement that no dynamic
23032 * memory is used. Also, since swig_type_info structures store pointers to
23033 * swig_cast_info structures and swig_cast_info structures store pointers back
23034 * to swig_type_info structures, we need some lookup code at initialization.
23035 * The idea is that swig generates all the structures that are needed.
23036 * The runtime then collects these partially filled structures.
23037 * The SWIG_InitializeModule function takes these initial arrays out of
23038 * swig_module, and does all the lookup, filling in the swig_module.types
23039 * array with the correct data and linking the correct swig_cast_info
23040 * structures together.
23041 *
23042 * The generated swig_type_info structures are assigned statically to an initial
23043 * array. We just loop through that array, and handle each type individually.
23044 * First we lookup if this type has been already loaded, and if so, use the
23045 * loaded structure instead of the generated one. Then we have to fill in the
23046 * cast dependencies. The cast data is initially stored in something like a
23047 * two-dimensional array. Each row corresponds to a type (there are the same
23048 * number of rows as there are in the swig_type_initial array). Each entry in
23049 * a column is one of the swig_cast_info structures for that type.
23050 * The cast_initial array is actually an array of arrays, because each row has
23051 * a variable number of columns.
23052 *
23053 * We loop through the cast[] array associated with the type and mark casts
23054 * which have not been defined in previously loaded modules by assigning
23055 * cast pointer value to cast->next. We also hash cast->type->name string
23056 * and store the value in the cast->value field. If we encounter swig_cast_info
23057 * structure that represents a cast to self we move it to the beginning
23058 * of the cast array. One trick we need to do is making sure the type pointer
23059 * in the swig_cast_info struct is correct.
23060 *
23061 * First off, we lookup the cast->type name to see if it is already loaded.
23062 * There are three cases to handle:
23063 * 1) If the cast->type has already been loaded AND the type we are adding
23064 * casting info to has not been loaded (it is in this module), THEN we
23065 * replace the cast->type pointer with the type pointer that has already
23066 * been loaded.
23067 * 2) If BOTH types (the one we are adding casting info to, and the
23068 * cast->type) are loaded, THEN the cast info has already been loaded by
23069 * the previous module so we just ignore it.
23070 * 3) Finally, if cast->type has not already been loaded, then we add that
23071 * swig_cast_info to the list (because the cast->type) pointer will
23072 * be correct.
23073 *
23074 * Once the cast array has been set up AND it does have new casts that need
23075 * to be added we sort non-self cast entries to move filtered out entries
23076 * to the end of the array and to arrange the rest in the increasing order
23077 * of their type pointer values. We store the index of the last added entry
23078 * in the cast->value field of the entry[0] (overwriting the name hash). Then
23079 * we sort <next|value> fields of the remaining entries to arrange hash values
23080 * in the increasing order. This way cast->next->type->name field matches
23081 * the cast->value hash.
23082 *
23083 * Example:
23084 * Array of casts for type stored at 0x5000, cast to type stored at 0x3000
23085 * has already been loaded
23086 *
23087 * After sweep-and-hash: After sort-by-type: After sort-by-hash:
23088 * ________________ ________________ ________________
23089 * | | | | | |
23090 * Entry | type = 0x5000 | | type = 0x5000 | | type = 0x5000 |
23091 * 0 | | | | | |
23092 * | next = Entry0 | | next = Entry0 | | next = Entry0 |
23093 * | value = 1212 | | value = 3 | | value = 3 |
23094 * | | | | | |
23095 * |================| |================| |================|
23096 * | | | | | |
23097 * Entry | type = 0x2000 | | type = 0x1000 | | type = 0x1000 |
23098 * 1 | | | | | |
23099 * | next = Entry1 | | next = Entry1 | | next = Entry3 |
23100 * | value = 3434 | | value = 4545 | | value = 2323 |
23101 * |________________| |________________| |________________|
23102 * | | | | | |
23103 * Entry | type = 0x3000 | | type = 0x2000 | | type = 0x2000 |
23104 * 2 | | | | | |
23105 * | next = 0 | | next = Entry2 | | next = Entry2 |
23106 * | value = 0 | | value = 3434 | | value = 3434 |
23107 * |________________| |________________| |________________|
23108 * | | | | | |
23109 * Entry | type = 0x1000 | | type = 0x4000 | | type = 0x4000 |
23110 * 3 | | | | | |
23111 * | next = Entry3 | | next = Entry3 | | next = Entry1 |
23112 * | value = 4545 | | value = 2323 | | value = 4545 |
23113 * |________________| |________________| |________________|
23114 * | | | | | |
23115 * Entry | type = 0x4000 | | type = 0x3000 | | type = 0x3000 |
23116 * 4 | | | | | |
23117 * | next = Entry4 | | next = 0 | | next = 0 |
23118 * | value = 2323 | | value = 0 | | value = 0 |
23119 * |________________| |________________| |________________|
23120 *
23121 * Once the cast array has been initialized, we use cast[0]->next field to link
23122 * it into the list of cast arrays for the type.
23123 * ____ ____ ____
23124 * type->cast->|next|->|next|->|next|->0
23125 * |----| |----| |----|
23126 * |----| |----| |----|
23127 * |----| |----| |----|
23128 *
23129 * Subsequent cast resolution works as follows:
23130 *
23131 * 1. Check whether the type matches the first entry in the current cast array.
23132 * 2. If not, then do a binary search over the (0:cast->value] interval using
23133 * either type address or the hash value of the type name.
23134 * 3. If not found, then move over to the next cast array (cast[0]->next).
23135 *
23136 * ----------------------------------------------------------------------------- */
23137
23138#ifdef __cplusplus
23139extern "C" {
23140#if 0
23141} /* c-mode */
23142#endif
23143#endif
23144
23145#if 0
23146#define SWIGRUNTIME_DEBUG
23147#endif
23148
23149#ifndef SWIG_INIT_CLIENT_DATA_TYPE
23150#define SWIG_INIT_CLIENT_DATA_TYPE void *
23151#endif
23152
23153/*
23154 * Sort function that puts cast entries with nonzero 'next' at the front
23155 * of the array while ordering them by addresses of their 'type' structs.
23156 */
23157SWIGINTERN int SWIG_CastCmpStruct(const void *pa, const void *pb) {
23158 swig_cast_info *pca = (swig_cast_info *)pa;
23159 swig_cast_info *pcb = (swig_cast_info *)pb;
23160 /* Entries with next != 0 (newly mapped) come before entries with next == 0 (already loaded) */
23161 if (!pca->next && pcb->next) return 1;
23162 if (pca->next && !pcb->next) return -1;
23163 /* Within the same group, sort by type pointer for binary search */
23164 if (pca->type < pcb->type) return -1;
23165 if (pca->type > pcb->type) return 1;
23166 return 0;
23167}
23168
23169/*
23170 * Shell-sort 'next' and 'value' field pairs to order them by 'value'.
23171 */
23173 const int hmax = size/9;
23174 int h, i;
23175 for(h = 1; h <= hmax; h = 3*h+1);
23176 for(; h > 0; h /= 3)
23177 {
23178 for(i = h; i < size; ++i)
23179 {
23180 swig_cast_info *p = cast[i].next;
23181 unsigned int hash = cast[i].value;
23182 int j = i;
23183 while(j >= h && hash < cast[j-h].value)
23184 {
23185 cast[j].next = cast[j-h].next;
23186 cast[j].value = cast[j-h].value;
23187 j -= h;
23188 }
23189 cast[j].next = p;
23190 cast[j].value = hash;
23191 }
23192 }
23193}
23194
23195SWIGRUNTIME void
23197 size_t i;
23198 swig_module_info *module_head, *iter;
23199 int init;
23200
23201 /* check to see if the circular list has been setup, if not, set it up */
23202 if (swig_module.next==0) {
23203 /* Initialize the swig_module */
23204 swig_module.type_initial = swig_type_initial;
23205 swig_module.cast_initial = swig_cast_initial;
23206 swig_module.next = &swig_module;
23207 init = 1;
23208 } else {
23209 init = 0;
23210 }
23211
23212 /* Try and load any already created modules */
23213 module_head = SWIG_GetModule(clientdata);
23214 if (!module_head) {
23215 /* This is the first module loaded for this interpreter */
23216 /* so set the swig module into the interpreter */
23217 SWIG_SetModule(clientdata, &swig_module);
23218 } else {
23219 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
23220 iter=module_head;
23221 do {
23222 if (iter==&swig_module) {
23223 /* Our module is already in the list, so there's nothing more to do. */
23224 return;
23225 }
23226 iter=iter->next;
23227 } while (iter!= module_head);
23228
23229 /* otherwise we must add our module into the list */
23230 swig_module.next = module_head->next;
23231 module_head->next = &swig_module;
23232 }
23233
23234 /* When multiple interpreters are used, a module could have already been initialized in
23235 a different interpreter, but not yet have a pointer in this interpreter.
23236 In this case, we do not want to continue adding types... everything should be
23237 set up already */
23238 if (init == 0) return;
23239
23240 /* Now work on filling in swig_module.types */
23241#ifdef SWIGRUNTIME_DEBUG
23242 printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
23243#endif
23244 for (i = 0; i < swig_module.size; ++i) {
23245 swig_type_info *type = 0;
23246 swig_type_info *target_type;
23247 swig_cast_info *cast, *first;
23248 int num_mapped = 0;
23249
23250#ifdef SWIGRUNTIME_DEBUG
23251 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
23252#endif
23253
23254 /* if there is another module already loaded */
23255 if (swig_module.next != &swig_module) {
23256 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
23257 }
23258 if (type) {
23259 /* Overwrite clientdata field */
23260#ifdef SWIGRUNTIME_DEBUG
23261 printf("SWIG_InitializeModule: found type %s\n", type->name);
23262#endif
23263 if (swig_module.type_initial[i]->clientdata) {
23264 type->clientdata = swig_module.type_initial[i]->clientdata;
23265#ifdef SWIGRUNTIME_DEBUG
23266 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
23267#endif
23268 }
23269 } else {
23270 type = swig_module.type_initial[i];
23271 }
23272
23273 /* Insert casting types */
23274 cast = first = swig_module.cast_initial[i];
23275 while (cast->type) {
23276 /* Don't need to add information already in the list */
23277 target_type = 0;
23278#ifdef SWIGRUNTIME_DEBUG
23279 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
23280#endif
23281 if (swig_module.next != &swig_module) {
23282 target_type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
23283 if (target_type) {
23284 /* Target type already defined in another module */
23285#ifdef SWIGRUNTIME_DEBUG
23286 printf("SWIG_InitializeModule: found cast %s\n", target_type->name);
23287#endif
23288 if (type == swig_module.type_initial[i]) {
23289#ifdef SWIGRUNTIME_DEBUG
23290 printf("SWIG_InitializeModule: skip old type %s\n", target_type->name);
23291#endif
23292 cast->type = target_type;
23293 target_type = 0;
23294 } else {
23295 /* Check if this cast is already in the list */
23296 swig_cast_info *ocast = SWIG_TypeCheck(target_type->name, type);
23297#ifdef SWIGRUNTIME_DEBUG
23298 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", target_type->name);
23299#endif
23300 if (!ocast) {
23301 cast->type = target_type;
23302 target_type = 0;
23303 }
23304 }
23305 }
23306 }
23307
23308 if (!target_type) {
23309#ifdef SWIGRUNTIME_DEBUG
23310 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
23311#endif
23312 /* Set inclusion mark for sorting */
23313 cast->next = cast;
23314 num_mapped++;
23315
23316 if (type == cast->type) {
23317#ifdef SWIGRUNTIME_DEBUG
23318 printf("%s : self cast at pos [%li]\n", type->name, cast - first);
23319#endif
23320 if (cast - first) {
23321 /* Move cast to itself to the first entry in the array */
23322
23323 swig_cast_info tmp = *cast;
23324 *cast = *first;
23325 *first = tmp;
23326 }
23327 first++;
23328
23329 } else {
23330 cast->value = SWIG_Hash(cast->type->name, (unsigned int)strlen(cast->type->name));
23331 }
23332 }
23333 cast++;
23334 }
23335
23336 if (num_mapped) {
23337 if (cast - first) {
23338 swig_cast_info *tmp;
23339
23340 /* Sort casts by type address for binary search in SWIG_TypeCheckStruct */
23341 qsort(first, (size_t)(cast - first), sizeof(swig_cast_info), SWIG_CastCmpStruct);
23342
23343 /* Remap back links for added entries */
23344 cast = swig_module.cast_initial[i] + num_mapped;
23345 for (tmp = first; tmp < cast; tmp++) {
23346 tmp->next = tmp;
23347 }
23348 }
23349
23350 /* Set the value field of the first entry to the index of the last added entry */
23351 cast = swig_module.cast_initial[i];
23352 cast->value = (unsigned int)(num_mapped - 1);
23353
23354 num_mapped -= (int)(first - cast);
23355 if (num_mapped > 1) {
23356 /* Sort <'next','value'> pairs by 'value' for binary search in SWIG_TypeCheck */
23357
23358 SWIG_CastHashSort(first, num_mapped);
23359 }
23360
23361 first = type->cast;
23362 if (first) {
23363 /* Link the current set into the list of cast arrays */
23364 cast->next = first->next;
23365 first->next = cast;
23366 } else {
23367 cast->next = 0;
23368 type->cast = cast;
23369 }
23370 }
23371
23372 /* Set entry in modules->types array equal to the type */
23373 swig_module.types[i] = type;
23374 }
23375 swig_module.types[i] = 0;
23376
23377#ifdef SWIGRUNTIME_DEBUG
23378 printf("**** SWIG_InitializeModule: Cast List ******\n");
23379 for (i = 0; i < swig_module.size; ++i) {
23380 int j = 0;
23381 swig_cast_info *cast = swig_module.cast_initial[i];
23382 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
23383 while (cast->type) {
23384 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
23385 cast++;
23386 ++j;
23387 }
23388 printf("---- Total casts: %d\n",j);
23389 }
23390 printf("**** SWIG_InitializeModule: Cast List ******\n");
23391#endif
23392}
23393
23394/* This function will propagate the clientdata field of type to
23395* any new swig_type_info structures that have been added into the list
23396* of equivalent types. It is like calling
23397* SWIG_TypeClientData(type, clientdata) a second time.
23398*/
23399SWIGRUNTIME void
23401 size_t i;
23402 static int init_run = 0;
23403
23404 if (init_run) return;
23405 init_run = 1;
23406
23407 for (i = 0; i < swig_module.size; i++) {
23408 if (swig_module.types[i]->clientdata) {
23409 swig_cast_info *head, *cast;
23410 head = swig_module.types[i]->cast;
23411 while (head) {
23412 for (cast = head; (cast - head) <= head->value; cast++) {
23413 if (!cast->converter) {
23414 if (cast->type && !cast->type->clientdata)
23415 SWIG_TypeClientData(cast->type, swig_module.types[i]->clientdata);
23416 }
23417 }
23418 head = head->next;
23419 }
23420 }
23421 }
23422}
23423
23424#ifdef __cplusplus
23425#if 0
23426{
23427 /* c-mode */
23428#endif
23429}
23430#endif
23431
23432
23433
23434#ifdef __cplusplus
23435extern "C" {
23436#endif
23437
23438 /* -----------------------------------------------------------------------------
23439 * constants/methods manipulation
23440 * ----------------------------------------------------------------------------- */
23441
23442 /* Install Constants */
23443 SWIGINTERN void
23445 PyObject *obj = 0;
23446 size_t i;
23447 for (i = 0; constants[i].type; ++i) {
23448 switch(constants[i].type) {
23449 case SWIG_PY_POINTER:
23450 obj = SWIG_InternalNewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
23451 break;
23452 case SWIG_PY_BINARY:
23453 obj = SWIG_NewPackedObj(constants[i].pvalue, (size_t)constants[i].lvalue, *(constants[i].ptype));
23454 break;
23455 default:
23456 obj = 0;
23457 break;
23458 }
23459 if (obj) {
23460 PyDict_SetItemString(d, constants[i].name, obj);
23461 SWIG_Py_DECREF(obj);
23462 }
23463 }
23464 }
23465
23466 /* -----------------------------------------------------------------------------
23467 * Patch %callback methods' docstrings to hold the callback ptrs
23468 * -----------------------------------------------------------------------------*/
23469
23470 SWIGINTERN void
23471 SWIG_Python_FixMethods(PyMethodDef *methods, const swig_const_info *const_table, swig_type_info **types, swig_type_info **types_initial) {
23472 size_t i;
23473 for (i = 0; methods[i].ml_name; ++i) {
23474 const char *c = methods[i].ml_doc;
23475 if (!c) continue;
23476 c = strstr(c, "swig_ptr: ");
23477 if (c) {
23478 int j;
23479 const swig_const_info *ci = 0;
23480 const char *name = c + 10;
23481 for (j = 0; const_table[j].type; ++j) {
23482 if (strncmp(const_table[j].name, name,
23483 strlen(const_table[j].name)) == 0) {
23484 ci = &(const_table[j]);
23485 break;
23486 }
23487 }
23488 if (ci) {
23489 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
23490 if (ptr) {
23491 size_t shift = (size_t)((ci->ptype) - types);
23492 swig_type_info *ty = types_initial[shift];
23493 size_t ldoc = (size_t)(c - methods[i].ml_doc);
23494 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
23495 char *ndoc = (char*)malloc(ldoc + lptr + 10);
23496 if (ndoc) {
23497 char *buff = ndoc;
23498 memcpy(buff, methods[i].ml_doc, ldoc);
23499 buff += ldoc;
23500 memcpy(buff, "swig_ptr: ", 10);
23501 buff += 10;
23502 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
23503 methods[i].ml_doc = ndoc;
23504 }
23505 }
23506 }
23507 }
23508 }
23509 }
23510
23511#ifdef __cplusplus
23512}
23513#endif
23514
23515
23516
23517
23518/* -----------------------------------------------------------------------------*
23519 * Partial Init method
23520 * -----------------------------------------------------------------------------*/
23521
23522SWIGINTERN int SWIG_mod_exec(PyObject *module);
23523
23524#ifdef __cplusplus
23525extern "C"
23526#endif
23527
23529PyObject*
23531 static PyModuleDef_Slot SwigSlots[] = {
23532 {
23533 Py_mod_exec, (void *)SWIG_mod_exec
23534 },
23535#ifdef SWIGPYTHON_NOGIL
23536#ifdef Py_GIL_DISABLED
23537 {
23538 Py_mod_gil, Py_MOD_GIL_NOT_USED
23539 },
23540#endif
23541#endif
23542 {
23543 0, NULL
23544 }
23545 };
23546
23547 static struct PyModuleDef SWIG_module = {
23548 PyModuleDef_HEAD_INIT,
23549 SWIG_name,
23550 NULL,
23551 0,
23553 SwigSlots,
23554 NULL,
23555 NULL,
23556 NULL
23557 };
23558
23559 return PyModuleDef_Init(&SWIG_module);
23560}
23561
23562SWIGINTERN int SWIG_mod_exec(PyObject *m) {
23563 PyObject *d, *md, *globals;
23564
23565#if defined(SWIGPYTHON_BUILTIN)
23566 static SwigPyClientData SwigPyObject_clientdata = {
23567 0, 0, 0, 0, 0, 0, 0
23568 };
23569 static PyGetSetDef this_getset_def = {
23570 (char *)"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
23571 };
23572 static SwigPyGetSet thisown_getset_closure = {
23575 };
23576 static PyGetSetDef thisown_getset_def = {
23577 (char *)"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
23578 };
23579 PyTypeObject *builtin_pytype;
23580 int builtin_base_count;
23581 swig_type_info *builtin_basetype;
23582 PyObject *tuple;
23583 PyGetSetDescrObject *static_getset;
23584 PyTypeObject *metatype;
23585 PyTypeObject *swigpyobject;
23586 SwigPyClientData *cd;
23587 PyObject *public_interface, *public_symbol;
23588 PyObject *this_descr;
23589 PyObject *thisown_descr;
23590 PyObject *self = 0;
23591 int i;
23592
23593 (void)builtin_pytype;
23594 (void)builtin_base_count;
23595 (void)builtin_basetype;
23596 (void)tuple;
23597 (void)static_getset;
23598 (void)self;
23599
23600 /* Metaclass is used to implement static member variables */
23601 metatype = SwigPyObjectType_Type();
23602 assert(metatype);
23603
23604 SwigPyStaticVar_Type();
23605#endif
23606
23607 (void)globals;
23608
23609 /* Create singletons now to avoid potential deadlocks with multi-threaded usage after module initialization */
23611 SWIG_This();
23615#ifndef SWIGPYTHON_BUILTIN
23617#endif
23618
23619 /* Fix SwigMethods to carry the callback ptrs when needed */
23621
23622#ifdef SWIGPYTHON_NOGIL
23623#ifdef Py_GIL_DISABLED
23624 PyUnstable_Module_SetGIL(m, Py_MOD_GIL_NOT_USED);
23625#endif
23626#endif
23627
23628 md = d = PyModule_GetDict(m);
23629 (void)md;
23630
23632
23633#ifdef SWIGPYTHON_BUILTIN
23634 swigpyobject = SwigPyObject_TypeOnce();
23635
23636 SwigPyObject_stype = SWIG_MangledTypeQuery("_p_SwigPyObject");
23637 assert(SwigPyObject_stype);
23638 cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
23639 if (!cd) {
23640 SwigPyObject_stype->clientdata = &SwigPyObject_clientdata;
23641 SwigPyObject_clientdata.pytype = swigpyobject;
23642 } else if (swigpyobject->tp_basicsize != cd->pytype->tp_basicsize) {
23643 PyErr_SetString(PyExc_RuntimeError, "Import error: attempted to load two incompatible swig-generated modules.");
23644 return -1;
23645 }
23646
23647 /* All objects have a 'this' attribute */
23648 this_descr = PyDescr_NewGetSet(SwigPyObject_Type(), &this_getset_def);
23649 (void)this_descr;
23650
23651 /* All objects have a 'thisown' attribute */
23652 thisown_descr = PyDescr_NewGetSet(SwigPyObject_Type(), &thisown_getset_def);
23653 (void)thisown_descr;
23654
23655 public_interface = PyList_New(0);
23656 public_symbol = 0;
23657 (void)public_symbol;
23658
23659 PyDict_SetItemString(md, "__all__", public_interface);
23660 SWIG_Py_DECREF(public_interface);
23661 for (i = 0; SwigMethods[i].ml_name != NULL; ++i)
23662 SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name);
23663 for (i = 0; swig_const_table[i].name != 0; ++i)
23664 SwigPyBuiltin_AddPublicSymbol(public_interface, swig_const_table[i].name);
23665#endif
23666
23668
23669
23670#if SWIG_VERSION >= 0x040400 // SWIG >= 4.4.0
23671 // TODO: plplot should return -1 on failure here
23672 // swig uses a function here ...
23673 import_array1(-1);
23674#else
23675 import_array();
23676#endif
23677
23678 SWIG_Python_SetConstant(d, "PLESC_SET_RGB",SWIG_From_int((int)(1)));
23679 SWIG_Python_SetConstant(d, "PLESC_ALLOC_NCOL",SWIG_From_int((int)(2)));
23680 SWIG_Python_SetConstant(d, "PLESC_SET_LPB",SWIG_From_int((int)(3)));
23681 SWIG_Python_SetConstant(d, "PLESC_EXPOSE",SWIG_From_int((int)(4)));
23682 SWIG_Python_SetConstant(d, "PLESC_RESIZE",SWIG_From_int((int)(5)));
23683 SWIG_Python_SetConstant(d, "PLESC_REDRAW",SWIG_From_int((int)(6)));
23684 SWIG_Python_SetConstant(d, "PLESC_TEXT",SWIG_From_int((int)(7)));
23685 SWIG_Python_SetConstant(d, "PLESC_GRAPH",SWIG_From_int((int)(8)));
23686 SWIG_Python_SetConstant(d, "PLESC_FILL",SWIG_From_int((int)(9)));
23687 SWIG_Python_SetConstant(d, "PLESC_DI",SWIG_From_int((int)(10)));
23688 SWIG_Python_SetConstant(d, "PLESC_FLUSH",SWIG_From_int((int)(11)));
23689 SWIG_Python_SetConstant(d, "PLESC_EH",SWIG_From_int((int)(12)));
23690 SWIG_Python_SetConstant(d, "PLESC_GETC",SWIG_From_int((int)(13)));
23691 SWIG_Python_SetConstant(d, "PLESC_SWIN",SWIG_From_int((int)(14)));
23692 SWIG_Python_SetConstant(d, "PLESC_DOUBLEBUFFERING",SWIG_From_int((int)(15)));
23693 SWIG_Python_SetConstant(d, "PLESC_XORMOD",SWIG_From_int((int)(16)));
23694 SWIG_Python_SetConstant(d, "PLESC_SET_COMPRESSION",SWIG_From_int((int)(17)));
23695 SWIG_Python_SetConstant(d, "PLESC_CLEAR",SWIG_From_int((int)(18)));
23696 SWIG_Python_SetConstant(d, "PLESC_DASH",SWIG_From_int((int)(19)));
23697 SWIG_Python_SetConstant(d, "PLESC_HAS_TEXT",SWIG_From_int((int)(20)));
23698 SWIG_Python_SetConstant(d, "PLESC_IMAGE",SWIG_From_int((int)(21)));
23699 SWIG_Python_SetConstant(d, "PLESC_IMAGEOPS",SWIG_From_int((int)(22)));
23700 SWIG_Python_SetConstant(d, "PLESC_PL2DEVCOL",SWIG_From_int((int)(23)));
23701 SWIG_Python_SetConstant(d, "PLESC_DEV2PLCOL",SWIG_From_int((int)(24)));
23702 SWIG_Python_SetConstant(d, "PLESC_SETBGFG",SWIG_From_int((int)(25)));
23703 SWIG_Python_SetConstant(d, "PLESC_DEVINIT",SWIG_From_int((int)(26)));
23704 SWIG_Python_SetConstant(d, "PLESC_GETBACKEND",SWIG_From_int((int)(27)));
23705 SWIG_Python_SetConstant(d, "PLESC_BEGIN_TEXT",SWIG_From_int((int)(28)));
23706 SWIG_Python_SetConstant(d, "PLESC_TEXT_CHAR",SWIG_From_int((int)(29)));
23707 SWIG_Python_SetConstant(d, "PLESC_CONTROL_CHAR",SWIG_From_int((int)(30)));
23708 SWIG_Python_SetConstant(d, "PLESC_END_TEXT",SWIG_From_int((int)(31)));
23709 SWIG_Python_SetConstant(d, "PLESC_START_RASTERIZE",SWIG_From_int((int)(32)));
23710 SWIG_Python_SetConstant(d, "PLESC_END_RASTERIZE",SWIG_From_int((int)(33)));
23711 SWIG_Python_SetConstant(d, "PLESC_ARC",SWIG_From_int((int)(34)));
23712 SWIG_Python_SetConstant(d, "PLESC_GRADIENT",SWIG_From_int((int)(35)));
23713 SWIG_Python_SetConstant(d, "PLESC_MODESET",SWIG_From_int((int)(36)));
23714 SWIG_Python_SetConstant(d, "PLESC_MODEGET",SWIG_From_int((int)(37)));
23715 SWIG_Python_SetConstant(d, "PLESC_FIXASPECT",SWIG_From_int((int)(38)));
23716 SWIG_Python_SetConstant(d, "PLESC_IMPORT_BUFFER",SWIG_From_int((int)(39)));
23717 SWIG_Python_SetConstant(d, "PLESC_APPEND_BUFFER",SWIG_From_int((int)(40)));
23718 SWIG_Python_SetConstant(d, "PLESC_FLUSH_REMAINING_BUFFER",SWIG_From_int((int)(41)));
23719 SWIG_Python_SetConstant(d, "PLTEXT_FONTCHANGE",SWIG_From_int((int)(0)));
23720 SWIG_Python_SetConstant(d, "PLTEXT_SUPERSCRIPT",SWIG_From_int((int)(1)));
23721 SWIG_Python_SetConstant(d, "PLTEXT_SUBSCRIPT",SWIG_From_int((int)(2)));
23722 SWIG_Python_SetConstant(d, "PLTEXT_BACKCHAR",SWIG_From_int((int)(3)));
23723 SWIG_Python_SetConstant(d, "PLTEXT_OVERLINE",SWIG_From_int((int)(4)));
23724 SWIG_Python_SetConstant(d, "PLTEXT_UNDERLINE",SWIG_From_int((int)(5)));
23725 SWIG_Python_SetConstant(d, "ZEROW2B",SWIG_From_int((int)(1)));
23726 SWIG_Python_SetConstant(d, "ZEROW2D",SWIG_From_int((int)(2)));
23727 SWIG_Python_SetConstant(d, "ONEW2B",SWIG_From_int((int)(3)));
23728 SWIG_Python_SetConstant(d, "ONEW2D",SWIG_From_int((int)(4)));
23729 SWIG_Python_SetConstant(d, "PLSWIN_DEVICE",SWIG_From_int((int)(1)));
23730 SWIG_Python_SetConstant(d, "PLSWIN_WORLD",SWIG_From_int((int)(2)));
23731 SWIG_Python_SetConstant(d, "PL_X_AXIS",SWIG_From_int((int)(1)));
23732 SWIG_Python_SetConstant(d, "PL_Y_AXIS",SWIG_From_int((int)(2)));
23733 SWIG_Python_SetConstant(d, "PL_Z_AXIS",SWIG_From_int((int)(3)));
23734 SWIG_Python_SetConstant(d, "PL_OPT_ENABLED",SWIG_From_int((int)(0x0001)));
23735 SWIG_Python_SetConstant(d, "PL_OPT_ARG",SWIG_From_int((int)(0x0002)));
23736 SWIG_Python_SetConstant(d, "PL_OPT_NODELETE",SWIG_From_int((int)(0x0004)));
23737 SWIG_Python_SetConstant(d, "PL_OPT_INVISIBLE",SWIG_From_int((int)(0x0008)));
23738 SWIG_Python_SetConstant(d, "PL_OPT_DISABLED",SWIG_From_int((int)(0x0010)));
23739 SWIG_Python_SetConstant(d, "PL_OPT_FUNC",SWIG_From_int((int)(0x0100)));
23740 SWIG_Python_SetConstant(d, "PL_OPT_BOOL",SWIG_From_int((int)(0x0200)));
23741 SWIG_Python_SetConstant(d, "PL_OPT_INT",SWIG_From_int((int)(0x0400)));
23742 SWIG_Python_SetConstant(d, "PL_OPT_FLOAT",SWIG_From_int((int)(0x0800)));
23743 SWIG_Python_SetConstant(d, "PL_OPT_STRING",SWIG_From_int((int)(0x1000)));
23744 SWIG_Python_SetConstant(d, "PL_PARSE_PARTIAL",SWIG_From_int((int)(0x0000)));
23745 SWIG_Python_SetConstant(d, "PL_PARSE_FULL",SWIG_From_int((int)(0x0001)));
23746 SWIG_Python_SetConstant(d, "PL_PARSE_QUIET",SWIG_From_int((int)(0x0002)));
23747 SWIG_Python_SetConstant(d, "PL_PARSE_NODELETE",SWIG_From_int((int)(0x0004)));
23748 SWIG_Python_SetConstant(d, "PL_PARSE_SHOWALL",SWIG_From_int((int)(0x0008)));
23749 SWIG_Python_SetConstant(d, "PL_PARSE_OVERRIDE",SWIG_From_int((int)(0x0010)));
23750 SWIG_Python_SetConstant(d, "PL_PARSE_NOPROGRAM",SWIG_From_int((int)(0x0020)));
23751 SWIG_Python_SetConstant(d, "PL_PARSE_NODASH",SWIG_From_int((int)(0x0040)));
23752 SWIG_Python_SetConstant(d, "PL_PARSE_SKIP",SWIG_From_int((int)(0x0080)));
23753 SWIG_Python_SetConstant(d, "PL_FCI_MARK",SWIG_From_int((int)(0x80000000)));
23754 SWIG_Python_SetConstant(d, "PL_FCI_IMPOSSIBLE",SWIG_From_int((int)(0x00000000)));
23755 SWIG_Python_SetConstant(d, "PL_FCI_HEXDIGIT_MASK",SWIG_From_int((int)(0xf)));
23756 SWIG_Python_SetConstant(d, "PL_FCI_HEXPOWER_MASK",SWIG_From_int((int)(0x7)));
23757 SWIG_Python_SetConstant(d, "PL_FCI_HEXPOWER_IMPOSSIBLE",SWIG_From_int((int)(0xf)));
23758 SWIG_Python_SetConstant(d, "PL_FCI_FAMILY",SWIG_From_int((int)(0x0)));
23759 SWIG_Python_SetConstant(d, "PL_FCI_STYLE",SWIG_From_int((int)(0x1)));
23760 SWIG_Python_SetConstant(d, "PL_FCI_WEIGHT",SWIG_From_int((int)(0x2)));
23761 SWIG_Python_SetConstant(d, "PL_FCI_SANS",SWIG_From_int((int)(0x0)));
23762 SWIG_Python_SetConstant(d, "PL_FCI_SERIF",SWIG_From_int((int)(0x1)));
23763 SWIG_Python_SetConstant(d, "PL_FCI_MONO",SWIG_From_int((int)(0x2)));
23764 SWIG_Python_SetConstant(d, "PL_FCI_SCRIPT",SWIG_From_int((int)(0x3)));
23765 SWIG_Python_SetConstant(d, "PL_FCI_SYMBOL",SWIG_From_int((int)(0x4)));
23766 SWIG_Python_SetConstant(d, "PL_FCI_UPRIGHT",SWIG_From_int((int)(0x0)));
23767 SWIG_Python_SetConstant(d, "PL_FCI_ITALIC",SWIG_From_int((int)(0x1)));
23768 SWIG_Python_SetConstant(d, "PL_FCI_OBLIQUE",SWIG_From_int((int)(0x2)));
23769 SWIG_Python_SetConstant(d, "PL_FCI_MEDIUM",SWIG_From_int((int)(0x0)));
23770 SWIG_Python_SetConstant(d, "PL_FCI_BOLD",SWIG_From_int((int)(0x1)));
23771 SWIG_Python_SetConstant(d, "PL_MAXKEY",SWIG_From_int((int)(16)));
23772 SWIG_Python_SetConstant(d, "PL_MASK_SHIFT",SWIG_From_int((int)(0x1)));
23773 SWIG_Python_SetConstant(d, "PL_MASK_CAPS",SWIG_From_int((int)(0x2)));
23774 SWIG_Python_SetConstant(d, "PL_MASK_CONTROL",SWIG_From_int((int)(0x4)));
23775 SWIG_Python_SetConstant(d, "PL_MASK_ALT",SWIG_From_int((int)(0x8)));
23776 SWIG_Python_SetConstant(d, "PL_MASK_NUM",SWIG_From_int((int)(0x10)));
23777 SWIG_Python_SetConstant(d, "PL_MASK_ALTGR",SWIG_From_int((int)(0x20)));
23778 SWIG_Python_SetConstant(d, "PL_MASK_WIN",SWIG_From_int((int)(0x40)));
23779 SWIG_Python_SetConstant(d, "PL_MASK_SCROLL",SWIG_From_int((int)(0x80)));
23780 SWIG_Python_SetConstant(d, "PL_MASK_BUTTON1",SWIG_From_int((int)(0x100)));
23781 SWIG_Python_SetConstant(d, "PL_MASK_BUTTON2",SWIG_From_int((int)(0x200)));
23782 SWIG_Python_SetConstant(d, "PL_MASK_BUTTON3",SWIG_From_int((int)(0x400)));
23783 SWIG_Python_SetConstant(d, "PL_MASK_BUTTON4",SWIG_From_int((int)(0x800)));
23784 SWIG_Python_SetConstant(d, "PL_MASK_BUTTON5",SWIG_From_int((int)(0x1000)));
23785 SWIG_Python_SetConstant(d, "PL_MAXWINDOWS",SWIG_From_int((int)(64)));
23786 SWIG_Python_SetConstant(d, "PL_NOTSET",SWIG_From_int((int)((-42))));
23787 SWIG_Python_SetConstant(d, "PL_DEFAULT_NCOL0",SWIG_From_int((int)(16)));
23788 SWIG_Python_SetConstant(d, "PL_DEFAULT_NCOL1",SWIG_From_int((int)(128)));
23789 SWIG_Python_SetConstant(d, "MIN_PLINT_RGB",SWIG_From_int((int)(0)));
23790 SWIG_Python_SetConstant(d, "MAX_PLINT_RGB",SWIG_From_int((int)(255)));
23791 SWIG_Python_SetConstant(d, "MIN_PLFLT_CMAP1",SWIG_From_double((double)(0.)));
23792 SWIG_Python_SetConstant(d, "MAX_PLFLT_CMAP1",SWIG_From_double((double)(1.)));
23793 SWIG_Python_SetConstant(d, "MIN_PLFLT_ALPHA",SWIG_From_double((double)(0.)));
23794 SWIG_Python_SetConstant(d, "MAX_PLFLT_ALPHA",SWIG_From_double((double)(1.)));
23795 SWIG_Python_SetConstant(d, "PLESC_DOUBLEBUFFERING_ENABLE",SWIG_From_int((int)(1)));
23796 SWIG_Python_SetConstant(d, "PLESC_DOUBLEBUFFERING_DISABLE",SWIG_From_int((int)(2)));
23797 SWIG_Python_SetConstant(d, "PLESC_DOUBLEBUFFERING_QUERY",SWIG_From_int((int)(3)));
23798 SWIG_Python_SetConstant(d, "PL_BIN_DEFAULT",SWIG_From_int((int)(0x0)));
23799 SWIG_Python_SetConstant(d, "PL_BIN_CENTRED",SWIG_From_int((int)(0x1)));
23800 SWIG_Python_SetConstant(d, "PL_BIN_NOEXPAND",SWIG_From_int((int)(0x2)));
23801 SWIG_Python_SetConstant(d, "PL_BIN_NOEMPTY",SWIG_From_int((int)(0x4)));
23802 SWIG_Python_SetConstant(d, "GRID_CSA",SWIG_From_int((int)(1)));
23803 SWIG_Python_SetConstant(d, "GRID_DTLI",SWIG_From_int((int)(2)));
23804 SWIG_Python_SetConstant(d, "GRID_NNI",SWIG_From_int((int)(3)));
23805 SWIG_Python_SetConstant(d, "GRID_NNIDW",SWIG_From_int((int)(4)));
23806 SWIG_Python_SetConstant(d, "GRID_NNLI",SWIG_From_int((int)(5)));
23807 SWIG_Python_SetConstant(d, "GRID_NNAIDW",SWIG_From_int((int)(6)));
23808 SWIG_Python_SetConstant(d, "PL_HIST_DEFAULT",SWIG_From_int((int)(0x00)));
23809 SWIG_Python_SetConstant(d, "PL_HIST_NOSCALING",SWIG_From_int((int)(0x01)));
23810 SWIG_Python_SetConstant(d, "PL_HIST_IGNORE_OUTLIERS",SWIG_From_int((int)(0x02)));
23811 SWIG_Python_SetConstant(d, "PL_HIST_NOEXPAND",SWIG_From_int((int)(0x08)));
23812 SWIG_Python_SetConstant(d, "PL_HIST_NOEMPTY",SWIG_From_int((int)(0x10)));
23813 SWIG_Python_SetConstant(d, "PL_POSITION_NULL",SWIG_From_int((int)(0x0)));
23814 SWIG_Python_SetConstant(d, "PL_POSITION_LEFT",SWIG_From_int((int)(0x1)));
23815 SWIG_Python_SetConstant(d, "PL_POSITION_RIGHT",SWIG_From_int((int)(0x2)));
23816 SWIG_Python_SetConstant(d, "PL_POSITION_TOP",SWIG_From_int((int)(0x4)));
23817 SWIG_Python_SetConstant(d, "PL_POSITION_BOTTOM",SWIG_From_int((int)(0x8)));
23818 SWIG_Python_SetConstant(d, "PL_POSITION_INSIDE",SWIG_From_int((int)(0x10)));
23819 SWIG_Python_SetConstant(d, "PL_POSITION_OUTSIDE",SWIG_From_int((int)(0x20)));
23820 SWIG_Python_SetConstant(d, "PL_POSITION_VIEWPORT",SWIG_From_int((int)(0x40)));
23821 SWIG_Python_SetConstant(d, "PL_POSITION_SUBPAGE",SWIG_From_int((int)(0x80)));
23822 SWIG_Python_SetConstant(d, "PL_LEGEND_NULL",SWIG_From_int((int)(0x0)));
23823 SWIG_Python_SetConstant(d, "PL_LEGEND_NONE",SWIG_From_int((int)(0x1)));
23824 SWIG_Python_SetConstant(d, "PL_LEGEND_COLOR_BOX",SWIG_From_int((int)(0x2)));
23825 SWIG_Python_SetConstant(d, "PL_LEGEND_LINE",SWIG_From_int((int)(0x4)));
23826 SWIG_Python_SetConstant(d, "PL_LEGEND_SYMBOL",SWIG_From_int((int)(0x8)));
23827 SWIG_Python_SetConstant(d, "PL_LEGEND_TEXT_LEFT",SWIG_From_int((int)(0x10)));
23828 SWIG_Python_SetConstant(d, "PL_LEGEND_BACKGROUND",SWIG_From_int((int)(0x20)));
23829 SWIG_Python_SetConstant(d, "PL_LEGEND_BOUNDING_BOX",SWIG_From_int((int)(0x40)));
23830 SWIG_Python_SetConstant(d, "PL_LEGEND_ROW_MAJOR",SWIG_From_int((int)(0x80)));
23831 SWIG_Python_SetConstant(d, "PL_COLORBAR_NULL",SWIG_From_int((int)(0x0)));
23832 SWIG_Python_SetConstant(d, "PL_COLORBAR_LABEL_LEFT",SWIG_From_int((int)(0x1)));
23833 SWIG_Python_SetConstant(d, "PL_COLORBAR_LABEL_RIGHT",SWIG_From_int((int)(0x2)));
23834 SWIG_Python_SetConstant(d, "PL_COLORBAR_LABEL_TOP",SWIG_From_int((int)(0x4)));
23835 SWIG_Python_SetConstant(d, "PL_COLORBAR_LABEL_BOTTOM",SWIG_From_int((int)(0x8)));
23836 SWIG_Python_SetConstant(d, "PL_COLORBAR_IMAGE",SWIG_From_int((int)(0x10)));
23837 SWIG_Python_SetConstant(d, "PL_COLORBAR_SHADE",SWIG_From_int((int)(0x20)));
23838 SWIG_Python_SetConstant(d, "PL_COLORBAR_GRADIENT",SWIG_From_int((int)(0x40)));
23839 SWIG_Python_SetConstant(d, "PL_COLORBAR_CAP_NONE",SWIG_From_int((int)(0x80)));
23840 SWIG_Python_SetConstant(d, "PL_COLORBAR_CAP_LOW",SWIG_From_int((int)(0x100)));
23841 SWIG_Python_SetConstant(d, "PL_COLORBAR_CAP_HIGH",SWIG_From_int((int)(0x200)));
23842 SWIG_Python_SetConstant(d, "PL_COLORBAR_SHADE_LABEL",SWIG_From_int((int)(0x400)));
23843 SWIG_Python_SetConstant(d, "PL_COLORBAR_ORIENT_RIGHT",SWIG_From_int((int)(0x800)));
23844 SWIG_Python_SetConstant(d, "PL_COLORBAR_ORIENT_TOP",SWIG_From_int((int)(0x1000)));
23845 SWIG_Python_SetConstant(d, "PL_COLORBAR_ORIENT_LEFT",SWIG_From_int((int)(0x2000)));
23846 SWIG_Python_SetConstant(d, "PL_COLORBAR_ORIENT_BOTTOM",SWIG_From_int((int)(0x4000)));
23847 SWIG_Python_SetConstant(d, "PL_COLORBAR_BACKGROUND",SWIG_From_int((int)(0x8000)));
23848 SWIG_Python_SetConstant(d, "PL_COLORBAR_BOUNDING_BOX",SWIG_From_int((int)(0x10000)));
23849 SWIG_Python_SetConstant(d, "PL_DRAWMODE_UNKNOWN",SWIG_From_int((int)(0x0)));
23850 SWIG_Python_SetConstant(d, "PL_DRAWMODE_DEFAULT",SWIG_From_int((int)(0x1)));
23851 SWIG_Python_SetConstant(d, "PL_DRAWMODE_REPLACE",SWIG_From_int((int)(0x2)));
23852 SWIG_Python_SetConstant(d, "PL_DRAWMODE_XOR",SWIG_From_int((int)(0x4)));
23853 SWIG_Python_SetConstant(d, "DRAW_LINEX",SWIG_From_int((int)(0x001)));
23854 SWIG_Python_SetConstant(d, "DRAW_LINEY",SWIG_From_int((int)(0x002)));
23855 SWIG_Python_SetConstant(d, "DRAW_LINEXY",SWIG_From_int((int)(0x003)));
23856 SWIG_Python_SetConstant(d, "MAG_COLOR",SWIG_From_int((int)(0x004)));
23857 SWIG_Python_SetConstant(d, "BASE_CONT",SWIG_From_int((int)(0x008)));
23858 SWIG_Python_SetConstant(d, "TOP_CONT",SWIG_From_int((int)(0x010)));
23859 SWIG_Python_SetConstant(d, "SURF_CONT",SWIG_From_int((int)(0x020)));
23860 SWIG_Python_SetConstant(d, "DRAW_SIDES",SWIG_From_int((int)(0x040)));
23861 SWIG_Python_SetConstant(d, "FACETED",SWIG_From_int((int)(0x080)));
23862 SWIG_Python_SetConstant(d, "MESH",SWIG_From_int((int)(0x100)));
23863 return 0;
23864}
23865
#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)
#define SWIG_FromBinaryCharPtrAndSize(carray, size, flags)
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)
#define Py_READONLY
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
#define SWIG_IsBinaryStr(r)
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)
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_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)
SWIGINTERN PyObject * SWIG_PyType_GetFullyQualifiedName(PyTypeObject *type)
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)
#define Py_T_PYSSIZET
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)
#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)
#define SWIG_FromCharPtrAndSize(carray, size)
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:879
char * strcpy(char *dst, const char *src)
static tclMatrixXtnsnDescr * tail
Definition tclMatrix.c:467
static tclMatrixXtnsnDescr * head
Definition tclMatrix.c:466
static const char * name
Definition tkMain.c:132