PLplot 5.15.0
Loading...
Searching...
No Matches
plplot_octaveOCTAVE_wrap.cxx
Go to the documentation of this file.
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (https://www.swig.org).
3 * Version 4.4.1
4 *
5 * Do not make changes to this file unless you know what you are doing - modify
6 * the SWIG interface file instead.
7 * ----------------------------------------------------------------------------- */
8
9
10#define SWIG_VERSION 0x040401
11#define SWIGOCTAVE
12#define SWIG_name_d "plplot_octave"
13#define SWIG_name plplot_octave
14
15#define SWIG_global_name "cvar"
16#define SWIG_op_prefix "op_"
17
18/* -----------------------------------------------------------------------------
19 * This section contains generic SWIG labels for method/variable
20 * declarations/attributes, and other compiler dependent labels.
21 * ----------------------------------------------------------------------------- */
22
23/* template workaround for compilers that cannot correctly implement the C++ standard */
24#ifndef SWIGTEMPLATEDISAMBIGUATOR
25# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
26# define SWIGTEMPLATEDISAMBIGUATOR template
27# elif defined(__HP_aCC)
28/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
29/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
30# define SWIGTEMPLATEDISAMBIGUATOR template
31# else
32# define SWIGTEMPLATEDISAMBIGUATOR
33# endif
34#endif
35
36/* inline attribute */
37#ifndef SWIGINLINE
38# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
39# define SWIGINLINE inline
40# else
41# define SWIGINLINE
42# endif
43#endif
44
45/* attribute recognised by some compilers to avoid 'unused' warnings */
46#ifndef SWIGUNUSED
47# if defined(__GNUC__)
48# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
49# define SWIGUNUSED __attribute__ ((__unused__))
50# else
51# define SWIGUNUSED
52# endif
53# elif defined(__ICC)
54# define SWIGUNUSED __attribute__ ((__unused__))
55# else
56# define SWIGUNUSED
57# endif
58#endif
59
60#ifndef SWIG_MSC_UNSUPPRESS_4505
61# if defined(_MSC_VER)
62# pragma warning(disable : 4505) /* unreferenced local function has been removed */
63# endif
64#endif
65
66#ifndef SWIGUNUSEDPARM
67# ifdef __cplusplus
68# define SWIGUNUSEDPARM(p)
69# else
70# define SWIGUNUSEDPARM(p) p SWIGUNUSED
71# endif
72#endif
73
74/* internal SWIG method */
75#ifndef SWIGINTERN
76# define SWIGINTERN static SWIGUNUSED
77#endif
78
79/* internal inline SWIG method */
80#ifndef SWIGINTERNINLINE
81# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
82#endif
83
84/* exporting methods */
85#if defined(__GNUC__)
86# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
87# ifndef GCC_HASCLASSVISIBILITY
88# define GCC_HASCLASSVISIBILITY
89# endif
90# endif
91#endif
92
93#ifndef SWIGEXPORT
94# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
95# if defined(STATIC_LINKED)
96# define SWIGEXPORT
97# else
98# define SWIGEXPORT __declspec(dllexport)
99# endif
100# else
101# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
102# define SWIGEXPORT __attribute__ ((visibility("default")))
103# else
104# define SWIGEXPORT
105# endif
106# endif
107#endif
108
109/* calling conventions for Windows */
110#ifndef SWIGSTDCALL
111# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
112# define SWIGSTDCALL __stdcall
113# else
114# define SWIGSTDCALL
115# endif
116#endif
117
118/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
119#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
120# define _CRT_SECURE_NO_DEPRECATE
121#endif
122
123/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
124#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
125# define _SCL_SECURE_NO_DEPRECATE
126#endif
127
128/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
129#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
130# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
131#endif
132
133/* Intel's compiler complains if a variable which was never initialised is
134 * cast to void, which is a common idiom which we use to indicate that we
135 * are aware a variable isn't used. So we just silence that warning.
136 * See: https://github.com/swig/swig/issues/192 for more discussion.
137 */
138#ifdef __INTEL_COMPILER
139# pragma warning disable 592
140#endif
141
142#if defined(__cplusplus) && __cplusplus >=201103L
143# define SWIG_NOEXCEPT noexcept
144#else
145# define SWIG_NOEXCEPT throw()
146#endif
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// This header includes all C++ headers required for generated Octave wrapper code.
178// Using a single header file allows pre-compilation of Octave headers, as follows:
179// * Check out this header file:
180// swig -octave -co octheaders.hpp
181// * Pre-compile header file into octheaders.hpp.gch:
182// g++ -c ... octheaders.hpp
183// * Use pre-compiled header file:
184// g++ -c -include octheaders.hpp ...
185//
186
187#if !defined(SWIG_OCTAVE_OCTHEADERS_HPP)
188#define SWIG_OCTAVE_OCTHEADERS_HPP
189
190// Required C headers
191#include <assert.h>
192
193// Required C++ headers
194#include <cstdlib>
195#include <climits>
196#include <iostream>
197#include <exception>
198#include <functional>
199#include <complex>
200#include <string>
201#include <vector>
202#include <map>
203
204// Minimal headers to define Octave version
205#include <octave/oct.h>
206#include <octave/version.h>
207
208// Macro for enabling features which require Octave version >= major.minor.patch
209// - Use (OCTAVE_PATCH_VERSION + 0) to handle both '<digit>' (released) and '<digit>+' (in development) patch numbers
210#define SWIG_OCTAVE_PREREQ(major, minor, patch) \
211 ( (OCTAVE_MAJOR_VERSION<<16) + (OCTAVE_MINOR_VERSION<<8) + (OCTAVE_PATCH_VERSION + 0) >= ((major)<<16) + ((minor)<<8) + (patch) )
212
213// Reconstruct Octave major, minor, and patch versions for releases prior to 3.8.1
214#if !defined(OCTAVE_MAJOR_VERSION)
215
216# if !defined(OCTAVE_API_VERSION_NUMBER)
217
218// Hack to distinguish between Octave 3.8.0, which removed OCTAVE_API_VERSION_NUMBER but did not yet
219// introduce OCTAVE_MAJOR_VERSION, and Octave <= 3.2, which did not define OCTAVE_API_VERSION_NUMBER
220# include <octave/ov.h>
221# if defined(octave_ov_h)
222# define OCTAVE_MAJOR_VERSION 3
223# define OCTAVE_MINOR_VERSION 8
224# define OCTAVE_PATCH_VERSION 0
225# else
226
227// Hack to distinguish between Octave 3.2 and earlier versions, before OCTAVE_API_VERSION_NUMBER existed
228# define ComplexLU __ignore
229# include <octave/CmplxLU.h>
230# undef ComplexLU
231# if defined(octave_Complex_LU_h)
232
233// We know only that this version is prior to Octave 3.2, i.e. OCTAVE_API_VERSION_NUMBER < 37
234# define OCTAVE_MAJOR_VERSION 3
235# define OCTAVE_MINOR_VERSION 1
236# define OCTAVE_PATCH_VERSION 99
237
238# else
239
240// OCTAVE_API_VERSION_NUMBER == 37
241# define OCTAVE_MAJOR_VERSION 3
242# define OCTAVE_MINOR_VERSION 2
243# define OCTAVE_PATCH_VERSION 0
244
245# endif // defined(octave_Complex_LU_h)
246
247# endif // defined(octave_ov_h)
248
249// Correlation between Octave API and version numbers extracted from Octave's
250// ChangeLogs; version is the *earliest* released Octave with that API number
251# elif OCTAVE_API_VERSION_NUMBER >= 48
252# define OCTAVE_MAJOR_VERSION 3
253# define OCTAVE_MINOR_VERSION 6
254# define OCTAVE_PATCH_VERSION 0
255
256# elif OCTAVE_API_VERSION_NUMBER >= 45
257# define OCTAVE_MAJOR_VERSION 3
258# define OCTAVE_MINOR_VERSION 4
259# define OCTAVE_PATCH_VERSION 1
260
261# elif OCTAVE_API_VERSION_NUMBER >= 42
262# define OCTAVE_MAJOR_VERSION 3
263# define OCTAVE_MINOR_VERSION 3
264# define OCTAVE_PATCH_VERSION 54
265
266# elif OCTAVE_API_VERSION_NUMBER >= 41
267# define OCTAVE_MAJOR_VERSION 3
268# define OCTAVE_MINOR_VERSION 3
269# define OCTAVE_PATCH_VERSION 53
270
271# elif OCTAVE_API_VERSION_NUMBER >= 40
272# define OCTAVE_MAJOR_VERSION 3
273# define OCTAVE_MINOR_VERSION 3
274# define OCTAVE_PATCH_VERSION 52
275
276# elif OCTAVE_API_VERSION_NUMBER >= 39
277# define OCTAVE_MAJOR_VERSION 3
278# define OCTAVE_MINOR_VERSION 3
279# define OCTAVE_PATCH_VERSION 51
280
281# else // OCTAVE_API_VERSION_NUMBER == 38
282# define OCTAVE_MAJOR_VERSION 3
283# define OCTAVE_MINOR_VERSION 3
284# define OCTAVE_PATCH_VERSION 50
285
286# endif // !defined(OCTAVE_API_VERSION_NUMBER)
287
288#endif // !defined(OCTAVE_MAJOR_VERSION)
289
290// Required Octave headers
291#include <octave/Cell.h>
292#include <octave/dynamic-ld.h>
293#include <octave/oct-env.h>
294#include <octave/oct-map.h>
295#include <octave/ov-scalar.h>
296#include <octave/ov-fcn-handle.h>
297#include <octave/parse.h>
298#if SWIG_OCTAVE_PREREQ(4,2,0)
299#include <octave/interpreter.h>
300#else
301#include <octave/toplev.h>
302#endif
303#include <octave/unwind-prot.h>
304#if SWIG_OCTAVE_PREREQ(4,2,0)
305#include <octave/call-stack.h>
306#endif
307
308#endif // !defined(SWIG_OCTAVE_OCTHEADERS_HPP)
309
310/* -----------------------------------------------------------------------------
311 * swigrun.swg
312 *
313 * This file contains generic C API SWIG runtime support for pointer
314 * type checking.
315 * ----------------------------------------------------------------------------- */
316
317/* This should only be incremented when either the layout of swig_type_info changes,
318 or for whatever reason, the runtime changes incompatibly */
319#define SWIG_RUNTIME_VERSION "5"
320
321/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
322#ifdef SWIG_TYPE_TABLE
323# define SWIG_QUOTE_STRING(x) #x
324# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
325# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
326#else
327# define SWIG_TYPE_TABLE_NAME
328#endif
329
330/*
331 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
332 creating a static or dynamic library from the SWIG runtime code.
333 In 99.9% of the cases, SWIG just needs to declare them as 'static'.
334
335 But only do this if strictly necessary, ie, if you have problems
336 with your compiler or suchlike.
337*/
338
339#ifndef SWIGRUNTIME
340# define SWIGRUNTIME SWIGINTERN
341#endif
342
343#ifndef SWIGRUNTIMEINLINE
344# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
345#endif
346
347/* Generic buffer size */
348#ifndef SWIG_BUFFER_SIZE
349# define SWIG_BUFFER_SIZE 1024
350#endif
351
352/* Flags for pointer conversions */
353#define SWIG_POINTER_DISOWN 0x1
354#define SWIG_CAST_NEW_MEMORY 0x2
355#define SWIG_POINTER_NO_NULL 0x4
356#define SWIG_POINTER_CLEAR 0x8
357#define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN)
358
359/* Flags for new pointer objects */
360#define SWIG_POINTER_OWN 0x1
361
362
363/*
364 Flags/methods for returning states.
365
366 The SWIG conversion methods, as ConvertPtr, return an integer
367 that tells if the conversion was successful or not. And if not,
368 an error code can be returned (see swigerrors.swg for the codes).
369
370 Use the following macros/flags to set or process the returning
371 states.
372
373 In old versions of SWIG, code such as the following was usually written:
374
375 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
376 // success code
377 } else {
378 //fail code
379 }
380
381 Now you can be more explicit:
382
383 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
384 if (SWIG_IsOK(res)) {
385 // success code
386 } else {
387 // fail code
388 }
389
390 which is the same really, but now you can also do
391
392 Type *ptr;
393 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
394 if (SWIG_IsOK(res)) {
395 // success code
396 if (SWIG_IsNewObj(res) {
397 ...
398 delete *ptr;
399 } else {
400 ...
401 }
402 } else {
403 // fail code
404 }
405
406 I.e., now SWIG_ConvertPtr can return new objects and you can
407 identify the case and take care of the deallocation. Of course that
408 also requires SWIG_ConvertPtr to return new result values, such as
409
410 int SWIG_ConvertPtr(obj, ptr,...) {
411 if (<obj is ok>) {
412 if (<need new object>) {
413 *ptr = <ptr to new allocated object>;
414 return SWIG_NEWOBJ;
415 } else {
416 *ptr = <ptr to old object>;
417 return SWIG_OLDOBJ;
418 }
419 } else {
420 return SWIG_BADOBJ;
421 }
422 }
423
424 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
425 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
426 SWIG errors code.
427
428 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
429 allows returning the 'cast rank', for example, if you have this
430
431 int food(double)
432 int fooi(int);
433
434 and you call
435
436 food(1) // cast rank '1' (1 -> 1.0)
437 fooi(1) // cast rank '0'
438
439 just use the SWIG_AddCast()/SWIG_CheckState()
440*/
441
442#define SWIG_OK (0)
443/* Runtime errors are < 0 */
444#define SWIG_ERROR (-1)
445/* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */
446/* Errors in range -100 to -199 are language specific errors defined in *errors.swg */
447/* Errors < -200 are generic runtime specific errors */
448#define SWIG_ERROR_RELEASE_NOT_OWNED (-200)
449
450#define SWIG_IsOK(r) (r >= 0)
451#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
452
453/* The CastRankLimit says how many bits are used for the cast rank */
454#define SWIG_CASTRANKLIMIT (1 << 8)
455/* The NewMask denotes the object was created (using new/malloc) */
456#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
457/* The TmpMask is for in/out typemaps that use temporary objects */
458#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
459/* Simple returning values */
460#define SWIG_BADOBJ (SWIG_ERROR)
461#define SWIG_OLDOBJ (SWIG_OK)
462#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
463#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
464/* Check, add and del object mask methods */
465#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
466#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
467#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
468#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
469#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
470#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
471
472/* Cast-Rank Mode */
473#if defined(SWIG_CASTRANK_MODE)
474# ifndef SWIG_TypeRank
475# define SWIG_TypeRank unsigned long
476# endif
477# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
478# define SWIG_MAXCASTRANK (2)
479# endif
480# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
481# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
483 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
484}
486 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
487}
488#else /* no cast-rank mode */
489# define SWIG_AddCast(r) (r)
490# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
491#endif
492
493
494#include <string.h>
495
496#ifdef __cplusplus
497extern "C" {
498#endif
499
500typedef void *(*swig_converter_func)(void *, int *);
501typedef struct swig_type_info *(*swig_dycast_func)(void **);
502
503/* Structure to store information on one type */
504typedef struct swig_type_info {
505 const char *name; /* mangled name of this type */
506 const char *str; /* human readable name of this type */
507 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
508 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
509 void *clientdata; /* language specific type data */
510 int owndata; /* flag if the structure owns the clientdata */
512
513/* Structure to store a type and conversion function used for casting */
514typedef struct swig_cast_info {
515 swig_type_info *type; /* pointer to type that is equivalent to this type */
516 swig_converter_func converter; /* function to cast the void pointers */
517 struct swig_cast_info *next; /* pointer to next array of casts | pointer to cast hashed by value */
518 unsigned int value; /* index of the last valid element in the array | typename hash value */
520
521/* Structure used to store module information
522 * Each module generates one structure like this, and the runtime collects
523 * all of these structures and stores them in a circularly linked list.*/
524typedef struct swig_module_info {
525 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
526 size_t size; /* Number of types in this module */
527 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
528 swig_type_info **type_initial; /* Array of initially generated type structures */
529 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
530 void *clientdata; /* Language specific module data */
532
533/*
534 Compare two type names skipping the space characters, therefore
535 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
536
537 Return 0 when the two name types are equivalent, as in
538 strncmp, but skipping ' '.
539*/
540SWIGRUNTIME int
541SWIG_TypeNameComp(const char *f1, const char *l1,
542 const char *f2, const char *l2) {
543 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
544 while ((*f1 == ' ') && (f1 != l1)) ++f1;
545 while ((*f2 == ' ') && (f2 != l2)) ++f2;
546 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
547 }
548 return (int)((l1 - f1) - (l2 - f2));
549}
550
551/*
552 Check type equivalence in a name list like <name1>|<name2>|...
553 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
554*/
555SWIGRUNTIME int
556SWIG_TypeCmp(const char *nb, const char *tb) {
557 int equiv = 1;
558 const char* te = tb + strlen(tb);
559 const char* ne = nb;
560 while (equiv != 0 && *ne) {
561 for (nb = ne; *ne; ++ne) {
562 if (*ne == '|') break;
563 }
564 equiv = SWIG_TypeNameComp(nb, ne, tb, te);
565 if (*ne) ++ne;
566 }
567 return equiv;
568}
569
570/*
571 Check type equivalence in a name list like <name1>|<name2>|...
572 Return 0 if not equal, 1 if equal
573*/
574SWIGRUNTIME int
575SWIG_TypeEquiv(const char *nb, const char *tb) {
576 return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
577}
578
579/*
580 * Hash function for type name strings, based on maRushPrime1Hash (http://amsoftware.narod.ru/algo2.html)
581 */
582SWIGRUNTIME unsigned int SWIG_Hash(const char *str, unsigned int len) {
583 const unsigned char *data = (const unsigned char *)str;
584 unsigned int hash = len, i = 0, k;
585 int rem = (int)len;
586
587 while (rem >= (int)sizeof(unsigned int)) {
588 memcpy(&k, data, sizeof(unsigned int));
589 k += i++;
590 hash ^= k;
591 hash *= 171717;
592 data += sizeof(unsigned int);
593 rem -= sizeof(unsigned int);
594 }
595
596 switch (rem) {
597 case 3: k = (unsigned int)(data[2]) << 16;
598 k |= (unsigned int)(data[1]) << 8;
599 k |= (unsigned int)(data[0]);
600 k += i++;
601 hash ^= k;
602 hash *= 171717;
603 break;
604 case 2: k = (unsigned int)(data[1]) << 8;
605 k |= (unsigned int)(data[0]);
606 k += i++;
607 hash ^= k;
608 hash *= 171717;
609 break;
610 case 1: k = (unsigned int)(data[0]);
611 k += i++;
612 hash ^= k;
613 hash *= 171717;
614 break;
615 }
616 return hash;
617}
618
619/*
620 Check the typename
621*/
623SWIG_TypeCheck(const char *c, swig_type_info *ty) {
624 static const unsigned int scan_threshold = 4;
625 if (ty) {
626 swig_cast_info *head = ty->cast;
627 unsigned int hash_value = 0;
628 int hashed = 0;
629
630 while (head) {
631
632 if (strcmp(head->type->name, c) == 0) {
633 return head;
634 }
635
636 if (head->value) {
637 swig_cast_info *iter;
638 swig_cast_info *last = head + head->value;
639 swig_cast_info *first = head + 1;
640 int search = 1;
641
642 if (!hashed) {
643 if (head->value < scan_threshold) {
644 for (iter = first; iter <= last; iter++) {
645 if (strcmp(iter->type->name, c) == 0) {
646 return iter;
647 }
648 }
649 search = 0;
650 } else {
651 hashed = 1;
652 hash_value = SWIG_Hash(c, (unsigned int)strlen(c));
653 }
654 }
655
656 if (search) {
657 /* Binary search over sorted <'next'|'value'> pairs */
658 do {
659 iter = first + ((last - first) >> 1);
660 if (iter->value < hash_value) {
661 first = iter + 1;
662 } else if (iter->value == hash_value) {
663
664 if (strcmp(iter->next->type->name, c) == 0) {
665 return iter->next;
666 }
667
668 /* Hash collision check */
669 for (last = iter + 1; last->next && last->value == hash_value; last++) {
670 if (strcmp(last->next->type->name, c) == 0) {
671 return last->next;
672 }
673 }
674 for (first = iter - 1; first != head && first->value == hash_value; first--) {
675 if (strcmp(first->next->type->name, c) == 0) {
676 return first->next;
677 }
678 }
679 break;
680 } else
681 last = iter - 1;
682 } while (first <= last);
683 }
684 }
685 head = head->next;
686 }
687 }
688 return 0;
689}
690
691/*
692 Check the type by type address
693*/
696 if (ty) {
697 swig_cast_info *head = ty->cast;
698 while (head) {
699 if (head->type == from) {
700 return head;
701 }
702
703 if (head->value) {
704 swig_cast_info *iter;
705 swig_cast_info *last = head + head->value;
706 swig_cast_info *first = head + 1;
707
708 /* Binary search over sorted array of casts */
709 do {
710 iter = first + ((last - first) >> 1);
711 if (iter->type < from) {
712 first = iter + 1;
713 } else if (iter->type == from) {
714 return iter;
715 } else
716 last = iter - 1;
717 } while (first <= last);
718 }
719 head = head->next;
720 }
721 }
722 return 0;
723}
724
725/*
726 Cast a pointer up an inheritance hierarchy
727*/
729SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
730 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
731}
732
733/*
734 Dynamic pointer casting. Down an inheritance hierarchy
735*/
738 swig_type_info *lastty = ty;
739 if (!ty || !ty->dcast) return ty;
740 while (ty && (ty->dcast)) {
741 ty = (*ty->dcast)(ptr);
742 if (ty) lastty = ty;
743 }
744 return lastty;
745}
746
747/*
748 Return the name associated with this type
749*/
750SWIGRUNTIMEINLINE const char *
752 return ty->name;
753}
754
755/*
756 Return the pretty name associated with this type,
757 that is an unmangled type name in a form presentable to the user.
758*/
759SWIGRUNTIME const char *
761 /* The "str" field contains the equivalent pretty names of the
762 type, separated by vertical-bar characters. Choose the last
763 name. It should be the most specific; a fully resolved name
764 but not necessarily with default template parameters expanded. */
765 if (!type) return NULL;
766 if (type->str != NULL) {
767 const char *last_name = type->str;
768 const char *s;
769 for (s = type->str; *s; s++)
770 if (*s == '|') last_name = s+1;
771 return last_name;
772 }
773 else
774 return type->name;
775}
776
777/*
778 Set the clientdata field for a type
779*/
780SWIGRUNTIME void
782 swig_cast_info *head = ti->cast;
783 /* if (ti->clientdata == clientdata) return; */
785
786 while (head) {
787 swig_cast_info *cast;
788 for (cast = head; (cast - head) <= head->value; cast++) {
789 if (!cast->converter) {
790 swig_type_info *tc = cast->type;
791 if (!tc->clientdata) {
793 }
794 }
795 }
796 head = head->next;
797 }
798}
799
800SWIGRUNTIME void
805
806/*
807 Search for a swig_type_info structure only by mangled name
808 Search is a O(log #types)
809
810 We start searching at module start, and finish searching when start == end.
811 Note: if start == end at the beginning of the function, we go all the way around
812 the circular list.
813*/
816 swig_module_info *end,
817 const char *name) {
818 swig_module_info *iter = start;
819 do {
820 if (iter->size) {
821 size_t l = 0;
822 size_t r = iter->size - 1;
823 do {
824 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
825 size_t i = (l + r) >> 1;
826 const char *iname = iter->types[i]->name;
827 if (iname) {
828 int compare = strcmp(name, iname);
829 if (compare == 0) {
830 return iter->types[i];
831 } else if (compare < 0) {
832 if (i) {
833 r = i - 1;
834 } else {
835 break;
836 }
837 } else if (compare > 0) {
838 l = i + 1;
839 }
840 } else {
841 break; /* should never happen */
842 }
843 } while (l <= r);
844 }
845 iter = iter->next;
846 } while (iter != end);
847 return 0;
848}
849
850/*
851 Search for a swig_type_info structure for either a mangled name or a human readable name.
852 It first searches the mangled names of the types, which is a O(log #types)
853 If a type is not found it then searches the human readable names, which is O(#types).
854
855 We start searching at module start, and finish searching when start == end.
856 Note: if start == end at the beginning of the function, we go all the way around
857 the circular list.
858*/
861 swig_module_info *end,
862 const char *name) {
863 /* STEP 1: Search the name field using binary search */
865 if (ret) {
866 return ret;
867 } else {
868 /* STEP 2: If the type hasn't been found, do a complete search
869 of the str field (the human readable name) */
870 swig_module_info *iter = start;
871 do {
872 size_t i = 0;
873 for (; i < iter->size; ++i) {
874 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
875 return iter->types[i];
876 }
877 iter = iter->next;
878 } while (iter != end);
879 }
880
881 /* neither found a match */
882 return 0;
883}
884
885/*
886 Pack binary data into a string
887*/
888SWIGRUNTIME char *
889SWIG_PackData(char *c, void *ptr, size_t sz) {
890 static const char hex[17] = "0123456789abcdef";
891 const unsigned char *u = (unsigned char *) ptr;
892 const unsigned char *eu = u + sz;
893 for (; u != eu; ++u) {
894 unsigned char uu = *u;
895 *(c++) = hex[(uu & 0xf0) >> 4];
896 *(c++) = hex[uu & 0xf];
897 }
898 return c;
899}
900
901/*
902 Unpack binary data from a string
903*/
904SWIGRUNTIME const char *
905SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
906 unsigned char *u = (unsigned char *) ptr;
907 const unsigned char *eu = u + sz;
908 for (; u != eu; ++u) {
909 char d = *(c++);
910 unsigned char uu;
911 if ((d >= '0') && (d <= '9'))
912 uu = (unsigned char)((d - '0') << 4);
913 else if ((d >= 'a') && (d <= 'f'))
914 uu = (unsigned char)((d - ('a'-10)) << 4);
915 else
916 return (char *) 0;
917 d = *(c++);
918 if ((d >= '0') && (d <= '9'))
919 uu |= (unsigned char)(d - '0');
920 else if ((d >= 'a') && (d <= 'f'))
921 uu |= (unsigned char)(d - ('a'-10));
922 else
923 return (char *) 0;
924 *u = uu;
925 }
926 return c;
927}
928
929/*
930 Pack 'void *' into a string buffer.
931*/
932SWIGRUNTIME char *
933SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
934 char *r = buff;
935 if ((2*sizeof(void *) + 2) > bsz) return 0;
936 *(r++) = '_';
937 r = SWIG_PackData(r,&ptr,sizeof(void *));
938 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
939 strcpy(r,name);
940 return buff;
941}
942
943SWIGRUNTIME const char *
944SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
945 if (*c != '_') {
946 if (strcmp(c,"NULL") == 0) {
947 *ptr = (void *) 0;
948 return name;
949 } else {
950 return 0;
951 }
952 }
953 return SWIG_UnpackData(++c,ptr,sizeof(void *));
954}
955
956SWIGRUNTIME char *
957SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
958 char *r = buff;
959 size_t lname = (name ? strlen(name) : 0);
960 if ((2*sz + 2 + lname) > bsz) return 0;
961 *(r++) = '_';
962 r = SWIG_PackData(r,ptr,sz);
963 if (lname) {
964 strncpy(r,name,lname+1);
965 } else {
966 *r = 0;
967 }
968 return buff;
969}
970
971SWIGRUNTIME const char *
972SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
973 if (*c != '_') {
974 if (strcmp(c,"NULL") == 0) {
975 memset(ptr,0,sz);
976 return name;
977 } else {
978 return 0;
979 }
980 }
981 return SWIG_UnpackData(++c,ptr,sz);
982}
983
984#ifdef __cplusplus
985}
986#endif
987
988/* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */
989#define SWIG_UnknownError -1
990#define SWIG_IOError -2
991#define SWIG_RuntimeError -3
992#define SWIG_IndexError -4
993#define SWIG_TypeError -5
994#define SWIG_DivisionByZero -6
995#define SWIG_OverflowError -7
996#define SWIG_SyntaxError -8
997#define SWIG_ValueError -9
998#define SWIG_SystemError -10
999#define SWIG_AttributeError -11
1000#define SWIG_MemoryError -12
1001#define SWIG_NullReferenceError -13
1002
1003
1004#if !SWIG_OCTAVE_PREREQ(3,2,0)
1005#define SWIG_DEFUN(cname, wname, doc) DEFUNX_DLD(#cname, wname, FS ## cname, args, nargout, doc)
1006#else
1007#define SWIG_DEFUN(cname, wname, doc) DEFUNX_DLD(#cname, wname, G ## cname, args, nargout, doc)
1008#endif
1009
1010SWIGRUNTIME bool SWIG_check_num_args(const char *func_name, int num_args, int max_args, int min_args, int varargs) {
1011 if (num_args > max_args && !varargs)
1012 error("function %s takes at most %i arguments", func_name, max_args);
1013 else if (num_args < min_args)
1014 error("function %s requires at least %i arguments", func_name, min_args);
1015 else
1016 return true;
1017 return false;
1018}
1019
1020SWIGRUNTIME octave_value_list *SWIG_Octave_AppendOutput(octave_value_list *ovl, const octave_value &ov) {
1021 ovl->append(ov);
1022 return ovl;
1023}
1024
1025SWIGRUNTIME octave_value SWIG_ErrorType(int code) {
1026 switch (code) {
1027 case SWIG_MemoryError:
1028 return "SWIG_MemoryError";
1029 case SWIG_IOError:
1030 return "SWIG_IOError";
1031 case SWIG_RuntimeError:
1032 return "SWIG_RuntimeError";
1033 case SWIG_IndexError:
1034 return "SWIG_IndexError";
1035 case SWIG_TypeError:
1036 return "SWIG_TypeError";
1038 return "SWIG_DivisionByZero";
1039 case SWIG_OverflowError:
1040 return "SWIG_OverflowError";
1041 case SWIG_SyntaxError:
1042 return "SWIG_SyntaxError";
1043 case SWIG_ValueError:
1044 return "SWIG_ValueError";
1045 case SWIG_SystemError:
1046 return "SWIG_SystemError";
1048 return "SWIG_AttributeError";
1050 return "SWIG_NullReferenceError";
1051 }
1052 return "SWIG unknown error";
1053}
1054
1055SWIGRUNTIME octave_value SWIG_Error(int code, const char *msg) {
1056 octave_value type(SWIG_ErrorType(code));
1057 std::string r = msg;
1058 r += " (" + type.string_value() + ")";
1059 error("%s", r.c_str());
1060 return octave_value(r);
1061}
1062
1063#define SWIG_fail goto fail
1064
1065#define SWIG_Octave_ConvertPtr(obj, pptr, type, flags) SWIG_Octave_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1066#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Octave_ConvertPtr(obj, pptr, type, flags)
1067#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Octave_ConvertPtrAndOwn(obj, pptr, type, flags, own)
1068#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Octave_ConvertPtr(obj, pptr, type, flags)
1069#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Octave_NewPointerObj(ptr, type, flags)
1070#define swig_owntype int
1071
1072#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Octave_ConvertPacked(obj, ptr, sz, ty)
1073#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Octave_NewPackedObj(ptr, sz, type)
1074
1075#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_ConvertPtr(obj, pptr, type, 0)
1076#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_NewPointerObj(ptr, type, 0)
1077
1078#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Octave_ConvertPacked(obj, ptr, sz, ty)
1079#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Octave_NewPackedObj(ptr, sz, type)
1080
1081#define SWIG_GetModule(clientdata) SWIG_Octave_GetModule(clientdata)
1082#define SWIG_SetModule(clientdata, pointer) SWIG_Octave_SetModule(clientdata,pointer);
1083#define SWIG_MODULE_CLIENTDATA_TYPE void*
1084
1085#define Octave_Error_Occurred() 0
1086#define SWIG_Octave_AddErrorMsg(msg) {;}
1087
1090
1091// For backward compatibility only
1092#define SWIG_POINTER_EXCEPTION 0
1093#define SWIG_arg_fail(arg) 0
1094
1095// Runtime API implementation
1096
1097typedef octave_value_list(*octave_func) (const octave_value_list &, int);
1098class octave_swig_type;
1099
1100namespace Swig {
1101
1102#ifdef SWIG_DIRECTORS
1103
1104 class Director;
1105
1106 typedef std::map < void *, Director * > rtdir_map;
1107 SWIGINTERN rtdir_map* get_rtdir_map();
1108 SWIGINTERNINLINE void set_rtdir(void *vptr, Director *d);
1109 SWIGINTERNINLINE void erase_rtdir(void *vptr);
1110 SWIGINTERNINLINE Director *get_rtdir(void *vptr);
1111
1112 SWIGRUNTIME void swig_director_destroyed(octave_swig_type *self, Director *d);
1113 SWIGRUNTIME octave_swig_type *swig_director_get_self(Director *d);
1114 SWIGRUNTIME void swig_director_set_self(Director *d, octave_swig_type *self);
1115
1116#endif
1117
1118 SWIGRUNTIME octave_base_value *swig_value_ref(octave_swig_type *ost);
1120 SWIGRUNTIME octave_swig_type *swig_value_deref(const octave_base_value &ov);
1121}
1122
1123#ifdef SWIG_DIRECTORS
1124SWIGRUNTIME void swig_acquire_ownership(void *vptr);
1125SWIGRUNTIME void swig_acquire_ownership_array(void *vptr);
1126SWIGRUNTIME void swig_acquire_ownership_obj(void *vptr, int own);
1127#endif
1128
1130 const char *name;
1134 int flags; // 1 static, 2 global
1135 const char *doc;
1136 bool is_static() const {
1137 return flags &1;
1138 } bool is_global() const {
1139 return flags &2;
1140 }
1141 };
1142
1154
1155#if SWIG_OCTAVE_PREREQ(4,4,0)
1156 // in Octave 4.4 behaviour of octave_builtin() appears to have changed and 'self' argument is no longer passed
1157 // to function (maybe because this is now a 'method'??) so need to create our own octave_function subclass
1158#define SWIG_OCTAVE_BOUND_FUNC(func, args) octave_value(new octave_swig_bound_func(func, args))
1159 class octave_swig_bound_func : public octave_function {
1160 public:
1161
1162 octave_swig_bound_func(void) : octave_function(), method(0), first_args()
1163 { }
1164
1165 octave_swig_bound_func(octave_function* _method, octave_value_list _first_args)
1166 : octave_function("", ""), method(_method), first_args(_first_args)
1167 { }
1168
1169 octave_swig_bound_func(const octave_swig_bound_func& f) = delete;
1170
1171 octave_swig_bound_func& operator= (const octave_swig_bound_func& f) = delete;
1172
1173 ~octave_swig_bound_func(void) = default;
1174
1175 bool is_function(void) const { return true; }
1176
1177 octave_function* function_value(bool = false) { return this; }
1178
1179#if SWIG_OCTAVE_PREREQ(6,0,0)
1180 octave_value_list call(octave::tree_evaluator& tw, int nargout = 0, const octave_value_list& args = octave_value_list()) {
1181 return execute(tw,nargout,args);
1182 }
1183#endif
1184#if SWIG_OCTAVE_PREREQ(6,0,0)
1185 octave_value_list execute(octave::tree_evaluator& tw, int nargout = 0, const octave_value_list& args = octave_value_list()) {
1186#else
1187 octave_value_list call(octave::tree_evaluator& tw, int nargout = 0, const octave_value_list& args = octave_value_list()) {
1188#endif
1189 octave_value_list all_args;
1190 all_args.append(first_args);
1191 all_args.append(args);
1192 return method->call(tw, nargout, all_args);
1193 }
1194
1195 octave_value subsref(const std::string &ops, const std::list < octave_value_list > &idx) {
1196 octave_value_list ovl = subsref(ops, idx, 1);
1197 return ovl.length() ? ovl(0) : octave_value();
1198 }
1199
1200 octave_value_list subsref(const std::string &ops, const std::list < octave_value_list > &idx, int nargout) {
1201 assert(ops.size() > 0);
1202 assert(ops.size() == idx.size());
1203 if (ops != "(")
1204 error("invalid function call");
1205 octave::tree_evaluator& tw = octave::interpreter::the_interpreter()->get_evaluator();
1206 return call(tw, nargout, *idx.begin());
1207 }
1208
1209 protected:
1210
1211 octave_function* method;
1212 octave_value_list first_args;
1213
1214 std::set<std::string> dispatch_classes;
1215
1216 };
1217#else
1218#define SWIG_OCTAVE_BOUND_FUNC(func, args) octave_value(func)
1219#endif
1220
1221 // octave_swig_type plays the role of both the shadow class and the class
1222 // representation within Octave, since there is no support for classes.
1223 //
1224 // These should really be decoupled, with the class support added to Octave
1225 // and the shadow class given by an m-file script. That would dramatically
1226 // reduce the runtime complexity, and be more in line with other modules.
1227
1228 class octave_swig_type:public octave_base_value {
1229 struct cpp_ptr {
1230 void *ptr;
1232 cpp_ptr(void *_ptr):ptr(_ptr), destroyed(false) {
1233 }};
1234 typedef std::pair < const swig_type_info *, cpp_ptr > type_ptr_pair;
1235
1237
1238 const swig_type_info *construct_type; // type of special type object
1239 std::vector < type_ptr_pair > types; // our c++ base classes
1240 int thisown; // whether we call c++ destructors when we die
1241
1242 typedef std::pair < const swig_octave_member *, octave_value > member_value_pair;
1243 typedef std::map < std::string, member_value_pair > member_map;
1246
1247 const swig_octave_member *find_member(const swig_type_info *type, const std::string &name) {
1248 if (!type->clientdata)
1249 return 0;
1250 swig_octave_class *c = (swig_octave_class *) type->clientdata;
1251 const swig_octave_member *m;
1252 for (m = c->members; m->name; ++m)
1253 if (m->name == name)
1254 return m;
1255 for (int j = 0; c->base_names[j]; ++j) {
1256 if (!c->base[j]) {
1257 if (!module)
1258 module = SWIG_GetModule(0);
1259 assert(module);
1261 }
1262 if (!c->base[j])
1263 return 0;
1264 if ((m = find_member(c->base[j], name)))
1265 return m;
1266 }
1267 return 0;
1268 }
1269
1270 member_value_pair *find_member(const std::string &name, bool insert_if_not_found) {
1271 member_map::iterator it = members.find(name);
1272 if (it != members.end())
1273 return &it->second;
1274 const swig_octave_member *m;
1275 for (unsigned int j = 0; j < types.size(); ++j)
1276 if ((m = find_member(types[j].first, name)))
1277 return &members.insert(std::make_pair(name, std::make_pair(m, octave_value()))).first->second;
1278 if (!insert_if_not_found)
1279 return 0;
1280 return &members[name];
1281 }
1282
1283 const swig_type_info *find_base(const std::string &name, const swig_type_info *base) {
1284 if (!base) {
1285 for (unsigned int j = 0; j < types.size(); ++j) {
1286 assert(types[j].first->clientdata);
1287 swig_octave_class *cj = (swig_octave_class *) types[j].first->clientdata;
1288 if (cj->name == name)
1289 return types[j].first;
1290 }
1291 return 0;
1292 }
1293 assert(base->clientdata);
1295 for (int j = 0; c->base_names[j]; ++j) {
1296 if (!c->base[j]) {
1297 if (!module)
1298 module = SWIG_GetModule(0);
1299 assert(module);
1301 }
1302 if (!c->base[j])
1303 return 0;
1304 assert(c->base[j]->clientdata);
1306 if (cj->name == name)
1307 return c->base[j];
1308 }
1309 return 0;
1310 }
1311
1312 void load_members(const swig_octave_class* c,member_map& out) const {
1313 for (const swig_octave_member *m = c->members; m->name; ++m) {
1314 if (out.find(m->name) == out.end())
1315 out.insert(std::make_pair(m->name, std::make_pair(m, octave_value())));
1316 }
1317 for (int j = 0; c->base_names[j]; ++j) {
1318 if (!c->base[j]) {
1319 if (!module)
1320 module = SWIG_GetModule(0);
1321 assert(module);
1323 }
1324 if (!c->base[j])
1325 continue;
1326 assert(c->base[j]->clientdata);
1327 const swig_octave_class *cj =
1328 (const swig_octave_class *) c->base[j]->clientdata;
1329 load_members(cj,out);
1330 }
1331 }
1332
1333 void load_members(member_map& out) const {
1334 out=members;
1335 for (unsigned int j = 0; j < types.size(); ++j)
1336 if (types[j].first->clientdata)
1337 load_members((const swig_octave_class *) types[j].first->clientdata, out);
1338 }
1339
1340 octave_value_list member_invoke(member_value_pair *m, const octave_value_list &args, int nargout) {
1341 if (m->second.is_defined())
1342 return m->second.subsref("(", std::list < octave_value_list > (1, args), nargout);
1343 else if (m->first && m->first->method)
1344 return m->first->method(args, nargout);
1345 error("member not defined or not invocable");
1346 return octave_value_list();
1347 }
1348
1349 bool dispatch_unary_op(const std::string &symbol, octave_value &ret) const {
1350 octave_swig_type *nc_this = const_cast < octave_swig_type *>(this);
1351 member_value_pair *m = nc_this->find_member(symbol, false);
1352 if (!m || m->first->is_static() || m->first->is_global())
1353 return false;
1354 octave_value_list args;
1355 args.append(nc_this->as_value());
1356 octave_value_list argout(nc_this->member_invoke(m, args, 1));
1357 if (argout.length() < 1)
1358 return false;
1359 ret = argout(0);
1360 return true;
1361 }
1362
1363 bool dispatch_binary_op(const std::string &symbol, const octave_base_value &rhs, octave_value &ret) const {
1364 octave_swig_type *nc_this = const_cast < octave_swig_type *>(this);
1365 member_value_pair *m = nc_this->find_member(symbol, false);
1366 if (!m || m->first->is_static() || m->first->is_global())
1367 return false;
1368 octave_value_list args;
1369 args.append(nc_this->as_value());
1370 args.append(make_value_hack(rhs));
1371 octave_value_list argout(nc_this->member_invoke(m, args, 1));
1372 if (argout.length() < 1)
1373 return false;
1374 ret = argout(0);
1375 return true;
1376 }
1377
1378 bool dispatch_index_op(const std::string &symbol, const octave_value_list &rhs, octave_value_list &ret) const {
1379 octave_swig_type *nc_this = const_cast < octave_swig_type *>(this);
1380 member_value_pair *m = nc_this->find_member(symbol, false);
1381 if (!m || m->first->is_static() || m->first->is_global())
1382 return false;
1383 octave_value_list args;
1384 args.append(nc_this->as_value());
1385 args.append(rhs);
1386 octave_value_list argout(nc_this->member_invoke(m, args, 1));
1387 if (argout.length() >= 1)
1388 ret = argout(0);
1389 return true;
1390 }
1391
1392 octave_value_list member_deref(member_value_pair *m, const octave_value_list &args) {
1393 if (m->second.is_defined()) {
1394 if (m->second.is_function() || m->second.is_function_handle()) {
1395 return SWIG_OCTAVE_BOUND_FUNC(m->second.function_value(), args);
1396 } else {
1397 return m->second;
1398 }
1399 } else if (m->first) {
1400 if (m->first->get_method)
1401 return m->first->get_method(args, 1);
1402 else if (m->first->method)
1403 return SWIG_OCTAVE_BOUND_FUNC(new octave_builtin(m->first->method), args);
1404 }
1405 error("undefined member");
1406 return octave_value_list();
1407 }
1408
1409 static octave_value make_value_hack(const octave_base_value &x) {
1410#if SWIG_OCTAVE_PREREQ(9,0,0)
1411 ((octave_swig_type &) x).m_count++;
1412#else
1413 ((octave_swig_type &) x).count++;
1414#endif
1415 return octave_value((octave_base_value *) &x);
1416 }
1417
1420 public:
1421
1422 octave_swig_type(void *_ptr = 0, const swig_type_info *_type = 0, int _own = 0,
1423 bool _always_static = false)
1424 : module(0), construct_type(_ptr ? 0 : _type), thisown(_own),
1425 always_static(_always_static) {
1426 if (_type || _ptr)
1427 types.push_back(std::make_pair(_type, _ptr));
1428#ifdef SWIG_DIRECTORS
1429 if (_ptr) {
1430 Swig::Director *d = Swig::get_rtdir(_ptr);
1431 if (d)
1432 Swig::swig_director_set_self(d, this);
1433 }
1434#endif
1435 }
1436
1438 if (thisown) {
1439#if SWIG_OCTAVE_PREREQ(9,0,0)
1440 ++m_count;
1441#else
1442 ++count;
1443#endif
1444 for (unsigned int j = 0; j < types.size(); ++j) {
1445 if (!types[j].first || !types[j].first->clientdata)
1446 continue;
1447 swig_octave_class *c = (swig_octave_class *) types[j].first->clientdata;
1448 if (c->destructor && !types[j].second.destroyed && types[j].second.ptr) {
1449 c->destructor(as_value(), 0);
1450 }
1451 }
1452 }
1453#ifdef SWIG_DIRECTORS
1454 for (unsigned int j = 0; j < types.size(); ++j)
1455 Swig::erase_rtdir(types[j].second.ptr);
1456#endif
1457 }
1458
1459 dim_vector dims(void) const {
1460 octave_value out;
1461 if (!dispatch_unary_op("__dims__", out))
1462 return dim_vector(1,1);
1463
1464 // Return value should be cell or matrix of integers
1465#if SWIG_OCTAVE_PREREQ(4,4,0)
1466 if (out.iscell()) {
1467#else
1468 if (out.is_cell()) {
1469#endif
1470 const Cell & c=out.cell_value();
1471 int ndim = c.rows();
1472 if (ndim==1 && c.columns()!=1) ndim = c.columns();
1473
1474 dim_vector d;
1475 d.resize(ndim < 2 ? 2 : ndim);
1476 d(0) = d(1) = 1;
1477
1478 // Fill in dim_vector
1479 for (int k=0;k<ndim;k++) {
1480 const octave_value& obj = c(k);
1481#if SWIG_OCTAVE_PREREQ(6,0,0)
1482 try {
1483 d.elem(k) = obj.int_value();
1484 }
1485 catch (octave::execution_exception& oee) {
1486 // __dims__ should return a cell filled with integers
1487 return dim_vector(1,1);
1488 }
1489#else
1490 d.elem(k) = obj.int_value();
1491
1492 // __dims__ should return a cell filled with integers
1493 if (error_state) return dim_vector(1,1);
1494#endif
1495 }
1496 return d;
1497#if SWIG_OCTAVE_PREREQ(4,4,0)
1498 } else if (out.is_matrix_type() || out.isnumeric() ) {
1499#else
1500 } else if (out.is_matrix_type() || out.is_numeric_type() ) {
1501#endif
1502 if (out.rows()==1 || out.columns()==1) {
1503#if SWIG_OCTAVE_PREREQ(6,0,0)
1504 Array<int> a;
1505 try {
1506 a = out.int_vector_value();
1507 }
1508 catch (octave::execution_exception& oee) {
1509 return dim_vector(1,1);
1510 }
1511#else
1512 Array<int> a = out.int_vector_value();
1513 if (error_state) return dim_vector(1,1);
1514#endif
1515 dim_vector d;
1516 d.resize(a.numel() < 2 ? 2 : a.numel());
1517 d(0) = d(1) = 1;
1518 for (int k=0;k<a.numel();k++) {
1519 d.elem(k) = a(k);
1520 }
1521 return d;
1522 } else {
1523 return dim_vector(1,1);
1524 }
1525 } else {
1526 return dim_vector(1,1);
1527 }
1528 }
1529
1530 octave_value as_value() {
1531#if SWIG_OCTAVE_PREREQ(9,0,0)
1532 ++m_count;
1533#else
1534 ++count;
1535#endif
1536 return Swig::swig_value_ref(this);
1537 }
1538
1539 void incref() {
1540#if SWIG_OCTAVE_PREREQ(9,0,0)
1541 ++m_count;
1542#else
1543 ++count;
1544#endif
1545 }
1546
1547 void decref() {
1548#if SWIG_OCTAVE_PREREQ(9,0,0)
1549 if (!--m_count)
1550#else
1551 if (!--count)
1552#endif
1553 delete this;
1554 }
1555
1556 size_t swig_this() const {
1557 if (!types.size())
1558 return (size_t) this;
1559 return (size_t) types[0].second.ptr;
1560 }
1561 const char* help_text() const {
1562 if (!types.size())
1563 return 0;
1564 if (!types[0].first->clientdata)
1565 return 0;
1566 swig_octave_class *c = (swig_octave_class *) types[0].first->clientdata;
1567 return c->constructor_doc;
1568 }
1569
1570 std::string swig_type_name() const {
1571 // * need some way to manually name subclasses.
1572 // * eg optional first arg to subclass(), or named_subclass()
1573 std::string ret;
1574 for (unsigned int j = 0; j < types.size(); ++j) {
1575 if (j)
1576 ret += "_";
1577 if (types[j].first->clientdata) {
1578 swig_octave_class *c = (swig_octave_class *) types[j].first->clientdata;
1579 ret += c->name;
1580 } else
1581 ret += types[j].first->name;
1582 }
1583 return ret;
1584 }
1585
1587 rhs.thisown = 0;
1588 for (unsigned int j = 0; j < rhs.types.size(); ++j) {
1589 assert(!rhs.types[j].second.destroyed);
1590#ifdef SWIG_DIRECTORS
1591 Swig::Director *d = Swig::get_rtdir(rhs.types[j].second.ptr);
1592 if (d)
1593 Swig::swig_director_set_self(d, this);
1594#endif
1595 }
1596 types.insert(types.end(), rhs.types.begin(), rhs.types.end());
1597 members.insert(rhs.members.begin(), rhs.members.end());
1598#if SWIG_OCTAVE_PREREQ(4,4,0)
1599 assign(rhs.swig_type_name(), rhs.as_value());
1600#else
1601 rhs.types.clear();
1602 rhs.members.clear();
1603#endif
1604 }
1605
1606 typedef member_map::const_iterator swig_member_const_iterator;
1609
1610 int cast(void **vptr, swig_type_info *type, int *own, int flags) {
1611 int res = SWIG_ERROR;
1612 int clear_pointer = 0;
1613
1614 if (own)
1615 *own = 0;
1616 if (((flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE) && !thisown) {
1618 } else {
1619 if (own)
1620 *own = *own | thisown;
1621 if (flags & SWIG_POINTER_DISOWN) {
1622 thisown = 0;
1623 }
1624 if (flags & SWIG_POINTER_CLEAR) {
1625 clear_pointer = 1;
1626 }
1627 }
1628
1629 if (!type && types.size()) {
1630 if (vptr) {
1631 *vptr = types[0].second.ptr;
1632 if (clear_pointer)
1633 types[0].second.ptr = 0;
1634 }
1635 return SWIG_OK;
1636 }
1637 for (unsigned int j = 0; j < types.size(); ++j)
1638 if (type == types[j].first) {
1639 if (vptr) {
1640 *vptr = types[j].second.ptr;
1641 if (clear_pointer)
1642 types[j].second.ptr = 0;
1643 }
1644 return SWIG_OK;
1645 }
1646 for (unsigned int j = 0; j < types.size(); ++j) {
1647 swig_cast_info *tc = SWIG_TypeCheck(types[j].first->name, type);
1648 if (!tc)
1649 continue;
1650 if (vptr) {
1651 int newmemory = 0;
1652 *vptr = SWIG_TypeCast(tc, types[j].second.ptr, &newmemory);
1653 if (newmemory == SWIG_CAST_NEW_MEMORY) {
1654 assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
1655 if (own)
1656 *own = *own | SWIG_CAST_NEW_MEMORY;
1657 }
1658 if (clear_pointer)
1659 types[j].second.ptr = 0;
1660 }
1661 res = SWIG_OK;
1662 break;
1663 }
1664 return res;
1665 }
1666
1667 bool is_owned() const {
1668 return thisown;
1669 }
1670
1671#ifdef SWIG_DIRECTORS
1672 void director_destroyed(Swig::Director *d) {
1673 bool found = false;
1674 for (unsigned int j = 0; j < types.size(); ++j) {
1675 Swig::Director *dj = Swig::get_rtdir(types[j].second.ptr);
1676 if (dj == d) {
1677 types[j].second.destroyed = true;
1678 found = true;
1679 }
1680 }
1681 assert(found);
1682 }
1683#endif
1684
1685 void assign(const std::string &name, const octave_value &ov) {
1686 members[name] = std::make_pair((const swig_octave_member *) 0, ov);
1687 }
1688
1689 void assign(const std::string &name, const swig_octave_member *m) {
1690 members[name] = std::make_pair(m, octave_value());
1691 }
1692
1693 octave_base_value *clone() const {
1694 // pass-by-value is probably not desired, and is harder;
1695 // requires calling copy constructors of contained types etc.
1696 assert(0);
1697 *(int *) 0 = 0;
1698 return 0;
1699 }
1700
1701 octave_base_value *empty_clone() const {
1702 return new octave_swig_type();
1703 }
1704
1705 bool is_defined() const {
1706 return true;
1707 }
1708
1709#if SWIG_OCTAVE_PREREQ(6,0,0)
1710 virtual bool isstruct() const {
1711#else
1712 virtual bool is_map() const {
1713#endif
1714 return true;
1715 }
1716
1717 virtual octave_value subsref(const std::string &ops, const std::list < octave_value_list > &idx) {
1718 octave_value_list ovl = subsref(ops, idx, 1);
1719 return ovl.length()? ovl(0) : octave_value();
1720 }
1721
1722 virtual octave_value_list subsref(const std::string &ops, const std::list < octave_value_list > &idx, int nargout) {
1723 assert(ops.size() > 0);
1724 assert(ops.size() == idx.size());
1725
1726 std::list < octave_value_list >::const_iterator idx_it = idx.begin();
1727 int skip = 0;
1728 octave_value_list sub_ovl;
1729
1730 // constructor invocation
1731 if (ops[skip] == '(' && construct_type) {
1732 assert(construct_type->clientdata);
1734 if (!c->constructor) {
1735 error("cannot create instance");
1736 return octave_value_list();
1737 }
1738 octave_value_list args;
1739 if (c->director)
1740 args.append(Swig::swig_value_ref(new octave_swig_type(this, 0, 0)));
1741 args.append(*idx_it++);
1742 ++skip;
1743 sub_ovl = c->constructor(args, nargout);
1744 }
1745 // member dereference or invocation
1746 else if (ops[skip] == '.') {
1747 std::string subname;
1748 const swig_type_info *base = 0; // eg, a.base.base_cpp_mem
1749 for (;;) {
1750 octave_value_list subname_ovl(*idx_it++);
1751 ++skip;
1752 assert(subname_ovl.length() == 1 && subname_ovl(0).is_string());
1753 subname = subname_ovl(0).string_value();
1754
1755 const swig_type_info *next_base = find_base(subname, base);
1756 if (!next_base || skip >= (int) ops.size() || ops[skip] != '.')
1757 break;
1758 base = next_base;
1759 }
1760
1761 member_value_pair tmp, *m = &tmp;
1762 if (!base || !(m->first = find_member(base, subname)))
1763 m = find_member(subname, false);
1764 if (!m) {
1765 error("member not found");
1766 return octave_value_list();
1767 }
1768
1769 octave_value_list args;
1770 if (!always_static &&
1771 (!m->first || (!m->first->is_static() && !m->first->is_global())))
1772 args.append(as_value());
1773 if (skip < (int) ops.size() && ops[skip] == '(' &&
1774 ((m->first && m->first->method) || m->second.is_function() ||
1775 m->second.is_function_handle())) {
1776 args.append(*idx_it++);
1777 ++skip;
1778 sub_ovl = member_invoke(m, args, nargout);
1779 } else {
1780 sub_ovl = member_deref(m, args);
1781 }
1782 }
1783 // index operator
1784 else {
1785 if (ops[skip] == '(' || ops[skip] == '{') {
1786 const char *op_name = ops[skip] == '(' ? "__paren__" : "__brace__";
1787 octave_value_list args;
1788 args.append(*idx_it++);
1789 ++skip;
1790 if (!dispatch_index_op(op_name, args, sub_ovl)) {
1791 error("error evaluating index operator");
1792 return octave_value_list();
1793 }
1794 } else {
1795 error("unsupported subsref");
1796 return octave_value_list();
1797 }
1798 }
1799
1800 if (skip >= (int) ops.size())
1801 return sub_ovl;
1802 if (sub_ovl.length() < 1) {
1803 error("bad subs ref");
1804 return octave_value_list();
1805 }
1806 return sub_ovl(0).next_subsref(nargout, ops, idx, skip);
1807 }
1808
1809 octave_value subsasgn(const std::string &ops, const std::list < octave_value_list > &idx, const octave_value &rhs) {
1810 assert(ops.size() > 0);
1811 assert(ops.size() == idx.size());
1812
1813 std::list < octave_value_list >::const_iterator idx_it = idx.begin();
1814 int skip = 0;
1815
1816 if (ops.size() > 1) {
1817 std::list < octave_value_list >::const_iterator last = idx.end();
1818 --last;
1819 std::list < octave_value_list > next_idx(idx.begin(), last);
1820 octave_value next_ov = subsref(ops.substr(0, ops.size() - 1), next_idx);
1821 next_ov.subsasgn(ops.substr(ops.size() - 1), std::list < octave_value_list > (1, *last), rhs);
1822 }
1823
1824 else if (ops[skip] == '(' || ops[skip] == '{') {
1825 const char *op_name = ops[skip] == '(' ? "__paren_asgn__" : "__brace_asgn__";
1826 member_value_pair *m = find_member(op_name, false);
1827 if (m) {
1828 octave_value_list args;
1829 args.append(as_value());
1830 args.append(*idx_it);
1831 args.append(rhs);
1832 member_invoke(m, args, 1);
1833 } else
1834 error("%s member not found", op_name);
1835 }
1836
1837 else if (ops[skip] == '.') {
1838 octave_value_list subname_ovl(*idx_it++);
1839 ++skip;
1840 assert(subname_ovl.length() == 1 &&subname_ovl(0).is_string());
1841 std::string subname = subname_ovl(0).string_value();
1842
1843 member_value_pair *m = find_member(subname, true);
1844 if (!m->first || !m->first->set_method) {
1845 m->first = 0;
1846 m->second = rhs;
1847 } else if (m->first->set_method) {
1848 octave_value_list args;
1849 if (!m->first->is_static() && !m->first->is_global())
1850 args.append(as_value());
1851 args.append(rhs);
1852 m->first->set_method(args, 1);
1853 } else
1854 error("member not assignable");
1855 } else
1856 error("unsupported subsasgn");
1857
1858 return as_value();
1859 }
1860
1861#if SWIG_OCTAVE_PREREQ(4,4,0)
1862 virtual bool isobject() const {
1863#else
1864 virtual bool is_object() const {
1865#endif
1866 return true;
1867 }
1868
1869 virtual bool is_string() const {
1870 octave_swig_type *nc_this = const_cast < octave_swig_type *>(this);
1871 return !!nc_this->find_member("__str__", false);
1872 }
1873
1874 virtual std::string string_value(bool force = false) const {
1875 octave_value ret;
1876 if (!dispatch_unary_op("__str__", ret)) {
1877 error("__str__ method not defined");
1878 return std::string();
1879 }
1880 if (!ret.is_string()) {
1881 error("__str__ method did not return a string");
1882 return std::string();
1883 }
1884 return ret.string_value();
1885 }
1886
1887 virtual double scalar_value(bool frc_str_conv = false) const {
1888 octave_value ret;
1889 if (!dispatch_unary_op("__float__", ret)) {
1890 error("__float__ method not defined");
1891 }
1892 return ret.scalar_value();
1893 }
1894
1895#if SWIG_OCTAVE_PREREQ(4,2,0)
1896 virtual octave_value as_double(void) const {
1897 octave_value ret;
1898 if (!dispatch_unary_op("__float__", ret)) {
1899 error("__float__ method not defined");
1900 }
1901 return ret.as_double();
1902 }
1903
1904 virtual octave_value as_single(void) const {
1905 octave_value ret;
1906 if (!dispatch_unary_op("__float__", ret)) {
1907 error("__float__ method not defined");
1908 }
1909 return ret.as_single();
1910 }
1911#endif
1912
1913#if SWIG_OCTAVE_PREREQ(3,8,0)
1914 virtual octave_value map(octave_base_value::unary_mapper_t umap) const {
1915 const std::string opname = std::string("__") + octave_base_value::get_umap_name(umap) + std::string("__");
1916 octave_value ret;
1917 if (!dispatch_unary_op(opname, ret)) {
1918 error("%s", (opname + std::string(" method not found")).c_str());
1919 return octave_value();
1920 }
1921 return ret;
1922 }
1923#endif
1924
1925#if SWIG_OCTAVE_PREREQ(3,3,52)
1926 virtual octave_map map_value() const {
1927 return octave_map();
1928 }
1929#else
1930 virtual Octave_map map_value() const {
1931 return Octave_map();
1932 }
1933#endif
1934
1935 virtual string_vector map_keys() const {
1936 member_map tmp;
1937 load_members(tmp);
1938
1939 string_vector keys(tmp.size());
1940 int k = 0;
1941 for (member_map::iterator it = tmp.begin(); it != tmp.end(); ++it)
1942 keys(k++) = it->first;
1943
1944 return keys;
1945 }
1946
1947 virtual bool save_ascii (std::ostream& os) {
1948 return true;
1949 }
1950
1951 virtual bool load_ascii (std::istream& is) {
1952 return true;
1953 }
1954
1955 virtual bool save_binary (std::ostream& os, bool& save_as_floats) {
1956 return true;
1957 }
1958
1959 virtual bool load_binary (std::istream& is, bool swap,
1960#if SWIG_OCTAVE_PREREQ(6,0,0)
1961 octave::mach_info::float_format fmt) {
1962#else
1963 oct_mach_info::float_format fmt) {
1964#endif
1965 return true;
1966 }
1967
1968#if defined (HAVE_HDF5)
1969# if SWIG_OCTAVE_PREREQ(4,0,0)
1970 virtual bool
1971 save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats) {
1972 return true;
1973 }
1974
1975 virtual bool
1976 load_hdf5 (octave_hdf5_id loc_id, const char *name, bool have_h5giterate_bug) {
1977 return true;
1978 }
1979# else
1980 virtual bool
1981 save_hdf5 (hid_t loc_id, const char *name, bool save_as_floats) {
1982 return true;
1983 }
1984
1985 virtual bool
1986 load_hdf5 (hid_t loc_id, const char *name, bool have_h5giterate_bug) {
1987 return true;
1988 }
1989# endif
1990#endif
1991
1992 virtual octave_value convert_to_str(bool pad = false, bool force = false, char type = '"') const {
1993 return string_value();
1994 }
1995
1996 virtual octave_value convert_to_str_internal(bool pad, bool force, char type) const {
1997 return string_value();
1998 }
1999
2000 static bool dispatch_global_op(const std::string &symbol, const octave_value_list &args, octave_value &ret) {
2001 // we assume that SWIG_op_prefix-prefixed functions are installed in global namespace
2002 // (rather than any module namespace).
2003
2004 octave_function *fcn = is_valid_function(symbol, std::string(), false);
2005 if (!fcn)
2006 return false;
2007#if SWIG_OCTAVE_PREREQ(4,4,0)
2008 octave::tree_evaluator& tw = octave::interpreter::the_interpreter()->get_evaluator();
2009 octave_value_list retval = fcn->call(tw, 1, args);
2010 if (retval.length() == 1)
2011 ret = retval(0);
2012#else
2013 ret = fcn->do_multi_index_op(1, args)(0);
2014#endif
2015 return true;
2016 }
2017
2018 static octave_value dispatch_unary_op(const octave_base_value &x, const char *op_name) {
2020 assert(ost);
2021
2022 octave_value ret;
2023 if (ost->dispatch_unary_op(std::string("__") + op_name + std::string("__"), ret))
2024 return ret;
2025 std::string symbol = SWIG_op_prefix + ost->swig_type_name() + "_" + op_name;
2026 octave_value_list args;
2027 args.append(make_value_hack(x));
2028 if (dispatch_global_op(symbol, args, ret))
2029 return ret;
2030
2031 error("could not dispatch unary operator");
2032 return octave_value();
2033 }
2034
2035 static octave_value dispatch_binary_op(const octave_base_value &lhs, const octave_base_value &rhs, const char *op_name) {
2038
2039 octave_value ret;
2040 if (lhs_ost && lhs_ost->dispatch_binary_op(std::string("__") + op_name + std::string("__"), rhs, ret))
2041 return ret;
2042 if (rhs_ost) {
2043 if (strlen(op_name) == 2 && (op_name[1] == 't' || op_name[1] == 'e')) {
2044 if (op_name[0] == 'l' && rhs_ost->dispatch_binary_op(std::string("__g") + op_name[1] + std::string("__"), lhs, ret))
2045 return ret;
2046 if (op_name[0] == 'g' && rhs_ost->dispatch_binary_op(std::string("__l") + op_name[1] + std::string("__"), lhs, ret))
2047 return ret;
2048 }
2049 if (rhs_ost->dispatch_binary_op(std::string("__r") + op_name + std::string("__"), lhs, ret))
2050 return ret;
2051 }
2052
2053 std::string symbol;
2054 octave_value_list args;
2055 args.append(make_value_hack(lhs));
2056 args.append(make_value_hack(rhs));
2057
2058 symbol = SWIG_op_prefix;
2059 symbol += lhs_ost ? lhs_ost->swig_type_name() : lhs.type_name();
2060 symbol += "_";
2061 symbol += op_name;
2062 symbol += "_";
2063 symbol += rhs_ost ? rhs_ost->swig_type_name() : rhs.type_name();
2064 if (dispatch_global_op(symbol, args, ret))
2065 return ret;
2066
2067 symbol = SWIG_op_prefix;
2068 symbol += lhs_ost ? lhs_ost->swig_type_name() : lhs.type_name();
2069 symbol += "_";
2070 symbol += op_name;
2071 symbol += "_";
2072 symbol += "any";
2073 if (dispatch_global_op(symbol, args, ret))
2074 return ret;
2075
2076 symbol = SWIG_op_prefix;
2077 symbol += "any";
2078 symbol += "_";
2079 symbol += op_name;
2080 symbol += "_";
2081 symbol += rhs_ost ? rhs_ost->swig_type_name() : rhs.type_name();
2082 if (dispatch_global_op(symbol, args, ret))
2083 return ret;
2084
2085 error("could not dispatch binary operator");
2086 return octave_value();
2087 }
2088
2089#if SWIG_OCTAVE_PREREQ(4,0,0)
2090 void print(std::ostream &os, bool pr_as_read_syntax = false)
2091#else
2092 void print(std::ostream &os, bool pr_as_read_syntax = false) const
2093#endif
2094 {
2095 if (is_string()) {
2096 os << string_value();
2097 return;
2098 }
2099
2100 member_map tmp;
2101 load_members(tmp);
2102
2103 indent(os);
2104 os << "{"; newline(os);
2105 increment_indent_level();
2106 for (unsigned int j = 0; j < types.size(); ++j) {
2107 indent(os);
2108 if (types[j].first->clientdata) {
2109 const swig_octave_class *c = (const swig_octave_class *) types[j].first->clientdata;
2110 os << c->name << ", ptr = " << types[j].second.ptr; newline(os);
2111 } else {
2112 os << types[j].first->name << ", ptr = " << types[j].second.ptr; newline(os);
2113 }
2114 }
2115 for (member_map::const_iterator it = tmp.begin(); it != tmp.end(); ++it) {
2116 indent(os);
2117 if (it->second.first) {
2118 const char *objtype = it->second.first->method ? "method" : "variable";
2119 const char *modifier = (it->second.first->flags &1) ? "static " : (it->second.first->flags &2) ? "global " : "";
2120 os << it->second.first->name << " (" << modifier << objtype << ")"; newline(os);
2121 assert(it->second.first->name == it->first);
2122 } else {
2123 os << it->first; newline(os);
2124 }
2125 }
2126 decrement_indent_level();
2127 indent(os);
2128 os << "}"; newline(os);
2129 }
2130 };
2131
2132 // Octave tries hard to preserve pass-by-value semantics. Eg, assignments
2133 // will call clone() via make_unique() if there is more than one outstanding
2134 // reference to the lhs, and forces the clone's reference count to 1
2135 // (so you can't just increment your own count and return this).
2136 //
2137 // One way to fix this (without modifying Octave) is to add a level of
2138 // indirection such that clone copies ref-counted pointer and we keep
2139 // pass-by-ref semantics (which are more natural/expected for C++ bindings).
2140 //
2141 // Supporting both pass-by-{ref,value} and toggling via %feature/option
2142 // might be nice.
2143
2144 class octave_swig_ref:public octave_base_value {
2146 public:
2148 :ptr(_ptr)
2149 {
2150 // Ensure type_id() is set correctly
2151#if SWIG_OCTAVE_PREREQ(9,0,0)
2152 if (s_t_id == -1) {
2153 s_t_id = octave_swig_ref::static_type_id();
2154#else
2155 if (t_id == -1) {
2156 t_id = octave_swig_ref::static_type_id();
2157#endif
2158 }
2159 }
2160
2162 { if (ptr) ptr->decref(); }
2163
2165 { return ptr; }
2166
2167 octave_base_value *clone() const
2168 { if (ptr) ptr->incref(); return new octave_swig_ref(ptr); }
2169
2170 octave_base_value *empty_clone() const
2171 { return new octave_swig_ref(0); }
2172
2173 dim_vector dims(void) const
2174 { return ptr->dims(); }
2175
2176 bool is_defined() const
2177 { return ptr->is_defined(); }
2178
2179#if SWIG_OCTAVE_PREREQ(6,0,0)
2180 virtual bool isstruct() const
2181 { return ptr->isstruct(); }
2182#else
2183 virtual bool is_map() const
2184 { return ptr->is_map(); }
2185#endif
2186
2187 virtual octave_value subsref(const std::string &ops, const std::list < octave_value_list > &idx)
2188 { return ptr->subsref(ops, idx); }
2189
2190 virtual octave_value_list subsref(const std::string &ops, const std::list < octave_value_list > &idx, int nargout)
2191 { return ptr->subsref(ops, idx, nargout); }
2192
2193 octave_value subsasgn(const std::string &ops, const std::list < octave_value_list > &idx, const octave_value &rhs)
2194 { return ptr->subsasgn(ops, idx, rhs); }
2195
2196#if SWIG_OCTAVE_PREREQ(4,4,0)
2197 virtual bool isobject() const
2198 { return ptr->isobject(); }
2199#else
2200 virtual bool is_object() const
2201 { return ptr->is_object(); }
2202#endif
2203
2204 virtual bool is_string() const
2205 { return ptr->is_string(); }
2206
2207 virtual std::string string_value(bool force = false) const
2208 { return ptr->string_value(force); }
2209
2210 virtual double scalar_value(bool frc_str_conv = false) const
2211 { return ptr->scalar_value(frc_str_conv); }
2212
2213#if SWIG_OCTAVE_PREREQ(4,2,0)
2214 virtual octave_value as_double(void) const
2215 { return ptr->as_double(); }
2216
2217 virtual octave_value as_single(void) const
2218 { return ptr->as_single(); }
2219#endif
2220
2221#if SWIG_OCTAVE_PREREQ(3,8,0)
2222 virtual octave_value map(octave_base_value::unary_mapper_t umap) const
2223 { return ptr->map(umap); }
2224#endif
2225
2226#if SWIG_OCTAVE_PREREQ(3,3,52)
2227 virtual octave_map map_value() const
2228 { return ptr->map_value(); }
2229#else
2230 virtual Octave_map map_value() const
2231 { return ptr->map_value(); }
2232#endif
2233
2234 virtual string_vector map_keys() const
2235 { return ptr->map_keys(); }
2236
2237 virtual bool save_ascii (std::ostream& os)
2238 { return ptr->save_ascii(os); }
2239
2240 virtual bool load_ascii (std::istream& is)
2241 { return ptr->load_ascii(is); }
2242
2243 virtual bool save_binary (std::ostream& os, bool& save_as_floats)
2244 { return ptr->save_binary(os, save_as_floats); }
2245
2246 virtual bool load_binary (std::istream& is, bool swap,
2247#if SWIG_OCTAVE_PREREQ(6,0,0)
2248 octave::mach_info::float_format fmt)
2249#else
2250 oct_mach_info::float_format fmt)
2251#endif
2252 { return ptr->load_binary(is, swap, fmt); }
2253
2254#if defined (HAVE_HDF5)
2255# if SWIG_OCTAVE_PREREQ(4,0,0)
2256 virtual bool
2257 save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats)
2258 { return ptr->save_hdf5(loc_id, name, save_as_floats); }
2259
2260 virtual bool
2261 load_hdf5 (octave_hdf5_id loc_id, const char *name, bool have_h5giterate_bug)
2262 { return ptr->load_hdf5(loc_id, name, have_h5giterate_bug); }
2263# else
2264 virtual bool
2265 save_hdf5 (hid_t loc_id, const char *name, bool save_as_floats)
2266 { return ptr->save_hdf5(loc_id, name, save_as_floats); }
2267
2268 virtual bool
2269 load_hdf5 (hid_t loc_id, const char *name, bool have_h5giterate_bug)
2270 { return ptr->load_hdf5(loc_id, name, have_h5giterate_bug); }
2271# endif
2272#endif
2273
2274 virtual octave_value convert_to_str(bool pad = false, bool force = false, char type = '"') const
2275 { return ptr->convert_to_str(pad, force, type); }
2276
2277 virtual octave_value convert_to_str_internal(bool pad, bool force, char type) const
2278 { return ptr->convert_to_str_internal(pad, force, type); }
2279
2280#if SWIG_OCTAVE_PREREQ(4,0,0)
2281 void print(std::ostream &os, bool pr_as_read_syntax = false)
2282#else
2283 void print(std::ostream &os, bool pr_as_read_syntax = false) const
2284#endif
2285 { return ptr->print(os, pr_as_read_syntax); }
2286
2287#if SWIG_OCTAVE_PREREQ(9,0,0)
2288 static void set_type_id(int type_id) { s_t_id=type_id; }
2289#else
2290# if SWIG_OCTAVE_PREREQ(4,4,0)
2291 static void set_type_id(int type_id) { t_id=type_id; }
2292# endif
2293#endif
2294
2295 virtual type_conv_info numeric_conversion_function(void) const {
2296 return octave_base_value::type_conv_info (default_numeric_conversion_function,
2297 octave_scalar::static_type_id ());
2298 }
2299
2300 private:
2301 static octave_base_value *default_numeric_conversion_function (const octave_base_value& a) {
2302 const octave_swig_ref& v = dynamic_cast<const octave_swig_ref&>(a);
2303 return new octave_scalar(v.scalar_value());
2304 }
2305
2306#if !SWIG_OCTAVE_PREREQ(4,0,0)
2308#endif
2310 };
2311#if !SWIG_OCTAVE_PREREQ(4,0,0)
2313#endif
2315
2316 class octave_swig_packed:public octave_base_value {
2318 std::vector < char > buf;
2319 public:
2320
2321 octave_swig_packed(swig_type_info *_type = 0, const void *_buf = 0, size_t _buf_len = 0)
2322 : type(_type), buf((const char*)_buf, (const char*)_buf + _buf_len)
2323 {
2324 // Ensure type_id() is set correctly
2325#if SWIG_OCTAVE_PREREQ(9,0,0)
2326 if (s_t_id == -1) {
2327 s_t_id = octave_swig_packed::static_type_id();
2328#else
2329 if (t_id == -1) {
2330 t_id = octave_swig_packed::static_type_id();
2331#endif
2332 }
2333 }
2334
2335 bool copy(swig_type_info *outtype, void *ptr, size_t sz) const {
2336 if (outtype && outtype != type)
2337 return false;
2338 assert(sz <= buf.size());
2339 std::copy(buf.begin(), buf.begin()+sz, (char*)ptr);
2340 return true;
2341 }
2342
2343 octave_base_value *clone() const {
2344 return new octave_swig_packed(*this);
2345 }
2346
2347 octave_base_value *empty_clone() const {
2348 return new octave_swig_packed();
2349 }
2350
2351 bool is_defined() const {
2352 return true;
2353 }
2354
2355#if SWIG_OCTAVE_PREREQ(4,0,0)
2356 void print(std::ostream &os, bool pr_as_read_syntax = false)
2357#else
2358 void print(std::ostream &os, bool pr_as_read_syntax = false) const
2359#endif
2360 {
2361 indent(os);
2362 os << "swig packed type: name = " << (type ? type->name : std::string()) << ", len = " << buf.size(); newline(os);
2363 }
2364
2365
2366 virtual bool save_ascii (std::ostream& os) {
2367 return true;
2368 }
2369
2370 virtual bool load_ascii (std::istream& is) {
2371 return true;
2372 }
2373
2374 virtual bool save_binary (std::ostream& os, bool& save_as_floats) {
2375 return true;
2376 }
2377
2378 virtual bool load_binary (std::istream& is, bool swap,
2379#if SWIG_OCTAVE_PREREQ(6,0,0)
2380 octave::mach_info::float_format fmt) {
2381#else
2382 oct_mach_info::float_format fmt) {
2383#endif
2384 return true;
2385 }
2386
2387#if defined (HAVE_HDF5)
2388# if SWIG_OCTAVE_PREREQ(4,0,0)
2389 virtual bool
2390 save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats) {
2391 return true;
2392 }
2393
2394 virtual bool
2395 load_hdf5 (octave_hdf5_id loc_id, const char *name, bool have_h5giterate_bug) {
2396 return true;
2397 }
2398# else
2399 virtual bool
2400 save_hdf5 (hid_t loc_id, const char *name, bool save_as_floats) {
2401 return true;
2402 }
2403
2404 virtual bool
2405 load_hdf5 (hid_t loc_id, const char *name, bool have_h5giterate_bug) {
2406 return true;
2407 }
2408# endif
2409#endif
2410
2411#if SWIG_OCTAVE_PREREQ(9,0,0)
2412 static void set_type_id(int type_id) { s_t_id=type_id; }
2413#else
2414# if SWIG_OCTAVE_PREREQ(4,4,0)
2415 static void set_type_id(int type_id) { t_id=type_id; }
2416# endif
2417#endif
2418
2419 private:
2420#if !SWIG_OCTAVE_PREREQ(4,0,0)
2422#endif
2424 };
2425#if !SWIG_OCTAVE_PREREQ(4,0,0)
2427#endif
2429
2430 SWIGRUNTIME octave_value_list octave_set_immutable(const octave_value_list &args, int nargout) {
2431 error("attempt to set immutable member variable");
2432 return octave_value_list();
2433 }
2434
2436 const octave_value_list &ovl;
2437 int j;
2438
2439 octave_value_ref(const octave_value_list &_ovl, int _j)
2440 :ovl(_ovl), j(_j) { }
2441
2442 operator octave_value() const {
2443 return ovl(j);
2444 }
2445
2446 octave_value operator*() const {
2447 return ovl(j);
2448 }
2449 };
2450
2451
2452namespace Swig {
2453
2455 return new octave_swig_ref(ost);
2456 }
2457
2459 if (
2460#if SWIG_OCTAVE_PREREQ(4,4,0)
2461 ov.iscell()
2462#else
2463 ov.is_cell()
2464#endif
2465 && ov.rows() == 1 && ov.columns() == 1)
2466 ov = ov.cell_value()(0);
2467 return swig_value_deref(*ov.internal_rep());
2468 }
2469
2470 SWIGRUNTIME octave_swig_type *swig_value_deref(const octave_base_value &ov) {
2471 if (ov.type_id() != octave_swig_ref::static_type_id())
2472 return 0;
2473 const octave_swig_ref *osr = static_cast < const octave_swig_ref *>(&ov);
2474 return osr->get_ptr();
2475 }
2476
2477}
2478
2479
2480#define swig_unary_op(name) \
2481SWIGRUNTIME octave_value swig_unary_op_##name(const octave_base_value &x) { \
2482 return octave_swig_type::dispatch_unary_op(x,#name); \
2483}
2484#define swig_binary_op(name) \
2485SWIGRUNTIME octave_value swig_binary_op_##name(const octave_base_value&lhs,const octave_base_value &rhs) { \
2486 return octave_swig_type::dispatch_binary_op(lhs,rhs,#name); \
2487}
2488#if SWIG_OCTAVE_PREREQ(4,4,0)
2489#define swigreg_unary_op(name) \
2490if (!octave_value_typeinfo::lookup_unary_op(octave_value::op_##name,tid)) \
2491typeinfo.register_unary_op(octave_value::op_##name,tid,swig_unary_op_##name);
2492#else
2493#define swigreg_unary_op(name) \
2494if (!octave_value_typeinfo::lookup_unary_op(octave_value::op_##name,tid)) \
2495octave_value_typeinfo::register_unary_op(octave_value::op_##name,tid,swig_unary_op_##name);
2496#endif
2497#if SWIG_OCTAVE_PREREQ(4,4,0)
2498#define swigreg_binary_op(name) \
2499if (!octave_value_typeinfo::lookup_binary_op(octave_value::op_##name,tid1,tid2)) \
2500typeinfo.register_binary_op(octave_value::op_##name,tid1,tid2,swig_binary_op_##name);
2501#else
2502#define swigreg_binary_op(name) \
2503if (!octave_value_typeinfo::lookup_binary_op(octave_value::op_##name,tid1,tid2)) \
2504octave_value_typeinfo::register_binary_op(octave_value::op_##name,tid1,tid2,swig_binary_op_##name);
2505#endif
2506
2510 swig_unary_op(transpose);
2511 swig_unary_op(hermitian);
2514
2521#if !SWIG_OCTAVE_PREREQ(4,2,0)
2524#endif
2537
2539#if SWIG_OCTAVE_PREREQ(4,4,0)
2540 octave::type_info& typeinfo = octave::interpreter::the_interpreter()->get_type_info();
2541#endif
2542 swigreg_unary_op(not);
2543 swigreg_unary_op(uplus);
2544 swigreg_unary_op(uminus);
2545 swigreg_unary_op(transpose);
2546 swigreg_unary_op(hermitian);
2547 swigreg_unary_op(incr);
2548 swigreg_unary_op(decr);
2549 }
2550 SWIGRUNTIME void SWIG_InstallBinaryOps(int tid1, int tid2) {
2551#if SWIG_OCTAVE_PREREQ(4,4,0)
2552 octave::type_info& typeinfo = octave::interpreter::the_interpreter()->get_type_info();
2553#endif
2554 swigreg_binary_op(add);
2555 swigreg_binary_op(sub);
2556 swigreg_binary_op(mul);
2557 swigreg_binary_op(div);
2558 swigreg_binary_op(pow);
2559 swigreg_binary_op(ldiv);
2560#if !SWIG_OCTAVE_PREREQ(4,2,0)
2561 swigreg_binary_op(lshift);
2562 swigreg_binary_op(rshift);
2563#endif
2570 swigreg_binary_op(el_mul);
2571 swigreg_binary_op(el_div);
2572 swigreg_binary_op(el_pow);
2573 swigreg_binary_op(el_ldiv);
2574 swigreg_binary_op(el_and);
2575 swigreg_binary_op(el_or);
2576 }
2578 // here we assume that tid are conseq integers increasing from zero, and
2579 // that our tid is the last one. might be better to have explicit string
2580 // list of types we should bind to, and use lookup_type to resolve their tid.
2581
2583 SWIG_InstallBinaryOps(tid, tid);
2584 for (int j = 0; j < tid; ++j) {
2585 SWIG_InstallBinaryOps(j, tid);
2586 SWIG_InstallBinaryOps(tid, j);
2587 }
2588 }
2589
2590SWIGRUNTIME octave_value SWIG_Octave_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2591 int own = (flags &SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2592
2593 if (ptr) {
2594#ifdef SWIG_DIRECTORS
2595 Swig::Director *d = Swig::get_rtdir(ptr);
2596 if (d && Swig::swig_director_get_self(d))
2597 return Swig::swig_director_get_self(d)->as_value();
2598#endif
2599 return Swig::swig_value_ref(new octave_swig_type(ptr, type, own));
2600 }
2601 return octave_value(Matrix()); // null matrix
2602}
2603
2604SWIGRUNTIME int SWIG_Octave_ConvertPtrAndOwn(octave_value ov, void **ptr, swig_type_info *type, int flags, int *own) {
2605 if (
2606#if SWIG_OCTAVE_PREREQ(4,4,0)
2607 ov.iscell()
2608#else
2609 ov.is_cell()
2610#endif
2611 && ov.rows() == 1 && ov.columns() == 1)
2612 ov = ov.cell_value()(0);
2613 if (!ov.is_defined() ||
2614 (ov.is_matrix_type() && ov.rows() == 0 && ov.columns() == 0) ) {
2615 if (ptr)
2616 *ptr = 0;
2618 }
2619 if (ov.type_id() != octave_swig_ref::static_type_id())
2620 return SWIG_ERROR;
2621 octave_swig_ref *osr = static_cast < octave_swig_ref *>(ov.internal_rep());
2622 octave_swig_type *ost = osr->get_ptr();
2623 return ost->cast(ptr, type, own, flags);
2624}
2625
2626SWIGRUNTIME octave_value SWIG_Octave_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2627 return new octave_swig_packed(type, (char *) ptr, sz);
2628}
2629
2630SWIGRUNTIME int SWIG_Octave_ConvertPacked(const octave_value &ov, void *ptr, size_t sz, swig_type_info *type) {
2631 if (!ov.is_defined())
2632 return SWIG_ERROR;
2633 if (ov.type_id() != octave_swig_packed::static_type_id())
2634 return SWIG_ERROR;
2635 octave_swig_packed *ost = static_cast < octave_swig_packed *>(ov.internal_rep());
2636 return ost->copy(type, (char *) ptr, sz) ? SWIG_OK : SWIG_ERROR;
2637}
2638
2639SWIGRUNTIMEINLINE void SWIG_Octave_SetConstant(octave_swig_type *module_ns, const std::string &name, const octave_value &ov) {
2640 module_ns->assign(name, ov);
2641}
2642
2644#if SWIG_OCTAVE_PREREQ(6,0,0)
2645 octave::interpreter *interp = octave::interpreter::the_interpreter ();
2646 return interp->global_varval(name);
2647#else
2648#if SWIG_OCTAVE_PREREQ(4,4,0)
2649 octave::symbol_table& symtab = octave::interpreter::the_interpreter()->get_symbol_table();
2650 return symtab.global_varval(name);
2651#else
2652 return get_global_value(name, true);
2653#endif
2654#endif
2655}
2656
2657SWIGRUNTIME void SWIG_Octave_SetGlobalValue(std::string name, const octave_value& value) {
2658#if SWIG_OCTAVE_PREREQ(6,0,0)
2659 octave::interpreter *interp = octave::interpreter::the_interpreter ();
2660 interp->global_assign(name, value);
2661#elif SWIG_OCTAVE_PREREQ(4,4,0)
2662 octave::symbol_table& symtab = octave::interpreter::the_interpreter()->get_symbol_table();
2663 symtab.global_assign(name, value);
2664#else
2665 set_global_value(name, value);
2666#endif
2667}
2668
2670#if SWIG_OCTAVE_PREREQ(4,4,0)
2671 octave::symbol_scope symscope = octave::interpreter::the_interpreter()->get_current_scope();
2672#if SWIG_OCTAVE_PREREQ(6,0,0)
2673 octave::interpreter *interp = octave::interpreter::the_interpreter ();
2674 interp->assign(name, interp->global_varval(name));
2675 octave::tree_evaluator& tree_eval = interp->get_evaluator();
2676#if SWIG_OCTAVE_PREREQ(8,0,0)
2677 std::shared_ptr<octave::stack_frame> stackFrame = tree_eval.get_current_stack_frame();
2678#else
2679 octave::call_stack& callStack = tree_eval.get_call_stack();
2680 std::shared_ptr<octave::stack_frame> stackFrame = callStack.get_current_stack_frame();
2681#endif
2682 octave::symbol_record sym=symscope.lookup_symbol(name);
2683 stackFrame->mark_global(sym);
2684#else
2685 octave::symbol_table& symtab = octave::interpreter::the_interpreter()->get_symbol_table();
2686 symscope.assign(name, symtab.global_varval(name));
2687 symscope.mark_global(name);
2688#endif
2689#else
2690#if !SWIG_OCTAVE_PREREQ(3,2,0)
2691 link_to_global_variable(curr_sym_tab->lookup(name, true));
2692#else
2693#if !SWIG_OCTAVE_PREREQ(3,8,0)
2694 symbol_table::varref(name);
2695#endif
2696 symbol_table::mark_global(name);
2697#endif
2698#endif
2699}
2700
2702 octave_value ov = SWIG_Octave_GetGlobalValue("__SWIG_MODULE__" SWIG_TYPE_TABLE_NAME SWIG_RUNTIME_VERSION);
2703 if (!ov.is_defined() ||
2704 ov.type_id() != octave_swig_packed::static_type_id())
2705 return 0;
2706 const octave_swig_packed* osp =
2707 static_cast < const octave_swig_packed *> (ov.internal_rep());
2708 swig_module_info *pointer = 0;
2709 osp->copy(0, &pointer, sizeof(swig_module_info *));
2710 return pointer;
2711}
2712
2713SWIGRUNTIME void SWIG_Octave_SetModule(void *clientdata, swig_module_info *pointer) {
2714 octave_value ov = new octave_swig_packed(0, &pointer, sizeof(swig_module_info *));
2716}
2717
2718
2719SWIGINTERN void SWIG_Octave_Raise(const octave_value &obj, const char *type) {
2720 if (obj.is_string())
2721 error("%s", obj.string_value().c_str());
2722 else
2723 error("C++ side threw an exception of type %s", type);
2724}
2725
2726
2727
2728#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2729
2730#define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0)
2731
2732
2733
2734/* -------- TYPES TABLE (BEGIN) -------- */
2735
2736#define SWIGTYPE_p_PLGraphicsIn swig_types[0]
2737#define SWIGTYPE_p_char swig_types[1]
2738#define SWIGTYPE_p_double swig_types[2]
2739#define SWIGTYPE_p_f_double_double_p_double_p_double_p_void__void swig_types[3]
2740#define SWIGTYPE_p_f_int_double_p_char_int_p_void__void swig_types[4]
2741#define SWIGTYPE_p_f_int_p_double_p_double__void swig_types[5]
2742#define SWIGTYPE_p_int swig_types[6]
2743#define SWIGTYPE_p_p_char swig_types[7]
2744#define SWIGTYPE_p_unsigned_int swig_types[8]
2746static swig_module_info swig_module = {swig_types, 9, 0, 0, 0, 0};
2747#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2748#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2749
2750/* -------- TYPES TABLE (END) -------- */
2751
2752
2753#ifdef __cplusplus
2754#include <utility>
2755/* SwigValueWrapper is described in swig.swg */
2756template<typename T> class SwigValueWrapper {
2757 struct SwigSmartPointer {
2758 T *ptr;
2759 SwigSmartPointer(T *p) : ptr(p) { }
2760 ~SwigSmartPointer() { delete ptr; }
2761 SwigSmartPointer& operator=(SwigSmartPointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
2762 void reset(T *p) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = p; }
2763 } pointer;
2764 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
2765 SwigValueWrapper(const SwigValueWrapper<T>& rhs);
2766public:
2767 SwigValueWrapper() : pointer(0) { }
2768 SwigValueWrapper& operator=(const T& t) { SwigSmartPointer tmp(new T(t)); pointer = tmp; return *this; }
2769#if __cplusplus >=201103L
2770 SwigValueWrapper& operator=(T&& t) { SwigSmartPointer tmp(new T(std::move(t))); pointer = tmp; return *this; }
2771 operator T&&() const { return std::move(*pointer.ptr); }
2772#else
2773 operator T&() const { return *pointer.ptr; }
2774#endif
2775 T *operator&() const { return pointer.ptr; }
2776 static void reset(SwigValueWrapper& t, T *p) { t.pointer.reset(p); }
2777};
2778
2779/*
2780 * SwigValueInit() is a generic initialisation solution as the following approach:
2781 *
2782 * T c_result = T();
2783 *
2784 * doesn't compile for all types for example:
2785 *
2786 * unsigned int c_result = unsigned int();
2787 */
2788template <typename T> T SwigValueInit() {
2789 return T();
2790}
2791
2792#if __cplusplus >=201103L
2793# define SWIG_STD_MOVE(OBJ) std::move(OBJ)
2794#else
2795# define SWIG_STD_MOVE(OBJ) OBJ
2796#endif
2797
2798#endif
2799
2800#if defined(__cplusplus) && (__cplusplus >=201103L)
2801# define SWIG_OVERRIDE override
2802#else
2803# define SWIG_OVERRIDE
2804#endif
2805
2806
2807
2808#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2809#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2810
2811
2812#include <stdexcept>
2813
2814
2815// #undef PACKAGE and VERSION macros which are leaked out by the octave headers
2816#undef PACKAGE
2817#undef VERSION
2818
2819#include "plplotP.h"
2820
2821// Temporary fix for problems with -fvisibility=hidden and octave headers.
2822#ifdef OCTAVE_EXPORT
2823 #if defined ( __GNUC__ ) && __GNUC__ > 3
2824 #undef OCTAVE_EXPORT
2825 #define OCTAVE_EXPORT __attribute__ ( ( visibility( "default" ) ) )
2826 #endif
2827#endif
2828
2829
2830
2831// I hate global variables but this is the best way I can think of
2832// to manage consistency checking among function arguments.
2833 static PLINT Alen = 0;
2834 static PLINT Xlen = 0, Ylen = 0;
2835
2836
2837// Convenience functions copied from matwrap-based approach (currently
2838// stored in bindings/octave/matwrap/wrap_octave.pl) to take care of the
2839// tricky scalar case and also adopted so that the resulting
2840// swig-generated source code will look similar to the matwrap-generated
2841// source code.
2842
2843 inline int max( int a, int b )
2844 {
2845 return a >= b ? a : b;
2846 }
2847 inline int min( int a, int b )
2848 {
2849 return a >= b ? a : b;
2850 }
2851
2852//
2853// Function to get the total length (rows*columns) of an octave object of
2854// arbitrary type.
2855// Arguments:
2856// 1) The octave object.
2857//
2858// If the object is a scalar, the array length is 1.
2859//
2860 static int
2861 _arraylen( const octave_value &o_obj )
2862 {
2863 return max( o_obj.rows(), 1 ) * max( o_obj.columns(), 1 ); // Return the size.
2864 // max is necessary because sometimes
2865 // rows() or columns() return -1 or 0 for
2866 // scalars.
2867 }
2868
2869//
2870// Function to get the number of dimensions of an object.
2871//
2872 static int
2873 _n_dims( const octave_value &o_obj )
2874 {
2875 if ( max( o_obj.columns(), 1 ) > 1 )
2876 return 2;
2877 // max is necessary because sometimes
2878 // rows() or columns() return -1 or 0 for
2879 // scalars.
2880 else if ( max( o_obj.rows(), 1 ) > 1 )
2881 return 1;
2882 else
2883 return 0;
2884 }
2885
2886//
2887// Return the n'th dimension of an object. Dimension 0 is the 1st dimension.
2888//
2889 static inline int
2890 _dim( const octave_value &o_obj, int dim_idx )
2891 {
2892 if ( dim_idx == 0 )
2893 return max( o_obj.rows(), 0 );
2894 // max is necessary because sometimes
2895 // rows() or columns() return -1 or 0 for
2896 // scalars.
2897 else if ( dim_idx == 1 )
2898 return max( o_obj.columns(), 0 );
2899 else
2900 return 1;
2901 }
2902
2903//
2904// The following function converts an array of doubles into some other
2905// numeric type. Arguments:
2906// 1) Where to store the result. The type is determined from the type of
2907// this pointer.
2908// 2) A vector of doubles to convert.
2909// 3) The number of doubles.
2910//
2911 template <class FLOAT>
2912 static inline void
2913 _cvt_double_to( FLOAT *out_arr, double *in_arr, unsigned n_el )
2914 {
2915 while ( n_el-- > 0 )
2916 *out_arr++ = (FLOAT) ( *in_arr++ );
2917 }
2918
2919 template void _cvt_double_to( int *, double *, unsigned );
2920 template void _cvt_double_to( unsigned *, double *, unsigned );
2921 template void _cvt_double_to( long *, double *, unsigned );
2922 template void _cvt_double_to( unsigned long *, double *, unsigned );
2923 template void _cvt_double_to( short *, double *, unsigned );
2924 template void _cvt_double_to( unsigned short *, double *, unsigned );
2925 template void _cvt_double_to( float *, double *, unsigned );
2926 // Instantiate our templates. Octave uses
2927 // manual template instantiation.
2928
2929//
2930// Convert an array of some other type into an array of doubles. Arguments:
2931// 1) The array of objects of other type.
2932// 2) The output array of doubles.
2933// 3) The number of elements to convert.
2934//
2935 template <class FLOAT>
2936 static inline void
2937 _cvt_to_double( FLOAT *arr, double *d_arr, unsigned n_el )
2938 {
2939 while ( n_el-- > 0 )
2940 *d_arr++ = double(*arr++);
2941 }
2942
2943 template void _cvt_to_double( int *, double *, unsigned );
2944 template void _cvt_to_double( unsigned *, double *, unsigned );
2945 template void _cvt_to_double( long *, double *, unsigned );
2946 template void _cvt_to_double( unsigned long *, double *, unsigned );
2947 template void _cvt_to_double( short *, double *, unsigned );
2948 template void _cvt_to_double( unsigned short *, double *, unsigned );
2949 template void _cvt_to_double( float *, double *, unsigned );
2950 // Instantiate our templates. Octave uses
2951 // manual template instantiation.
2952
2953
2954 typedef PLINT ( *defined_func )( PLFLT, PLFLT );
2955 typedef void ( *fill_func )( PLINT, const PLFLT*, const PLFLT* );
2956 typedef void ( *pltr_func )( PLFLT, PLFLT, PLFLT *, PLFLT*, PLPointer );
2957 typedef void ( *ct_func )( PLFLT, PLFLT, PLFLT *, PLFLT*, PLPointer );
2958 typedef void ( *mapform_func )( PLINT, PLFLT *, PLFLT* );
2960 typedef void ( *label_func )( PLINT, PLFLT, char*, PLINT, PLPointer );
2961
2962
2963#include <iostream>
2964
2965 octave_function *fcnMapForm;
2966 std::string nameMapForm;
2967
2969 {
2970 octave_idx_type i;
2971 octave_value_list functionArguments;
2972 octave_value_list retval;
2973
2974 Matrix xin( n, 1 );
2975 Matrix yin( n, 1 );
2976 Matrix xout;
2977 Matrix yout;
2978
2979 for ( i = 0; i < n; i++ )
2980 {
2981 xin( i, 0 ) = x[i];
2982 yin( i, 0 ) = y[i];
2983 }
2984
2985 functionArguments( 0 ) = xin;
2986 functionArguments( 1 ) = yin;
2987
2988 if ( fcnMapForm != NULL )
2989#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
2990 retval = octave::feval( fcnMapForm, functionArguments, 1 );
2991#else
2992 retval = feval( fcnMapForm, functionArguments, 1 );
2993#endif
2994 else
2995#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
2996 retval = octave::feval( nameMapForm, functionArguments, 1 );
2997#else
2998 retval = feval( nameMapForm, functionArguments, 1 );
2999#endif
3000
3001 if ( retval.length() >= 2 )
3002 {
3003 xout = retval( 0 ).matrix_value();
3004 yout = retval( 1 ).matrix_value();
3005
3006 for ( i = 0; i < n; i++ )
3007 {
3008 x[i] = xout( i, 0 );
3009 y[i] = yout( i, 0 );
3010 }
3011 }
3012 }
3013
3014
3015 octave_function *fcnLabelFunc;
3016 std::string nameLabelFunc;
3017
3018 void labelfunc_octave( PLINT axis, PLFLT value, char *label, PLINT length, PLPointer data )
3019 {
3020 int i;
3021 octave_value_list functionArguments;
3022 octave_value_list retval;
3023
3024 Matrix inAxis( 1, 1 );
3025 Matrix inValue( 1, 1 );
3026 inAxis( 0, 0 ) = axis;
3027 inValue( 0, 0 ) = value;
3028
3029 functionArguments( 0 ) = inAxis;
3030 functionArguments( 1 ) = inValue;
3031
3032 if ( fcnLabelFunc != NULL )
3033#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
3034 retval = octave::feval( fcnLabelFunc, functionArguments, 1 );
3035#else
3036 retval = feval( fcnLabelFunc, functionArguments, 1 );
3037#endif
3038 else
3039#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
3040 retval = octave::feval( nameLabelFunc, functionArguments, 1 );
3041#else
3042 retval = feval( nameLabelFunc, functionArguments, 1 );
3043#endif
3044
3045 strncpy( label, retval( 0 ).string_value().c_str(), length );
3046 }
3047
3048
3049 octave_function *fcnCoordTrans;
3050 std::string nameCoordTrans;
3051
3052 void ct_octave( PLFLT x, PLFLT y, PLFLT *xt, PLFLT *yt, PLPointer data )
3053 {
3054 octave_idx_type i;
3055 octave_value_list functionArguments;
3056 octave_value_list retval;
3057
3058 Matrix xin( 1, 1 );
3059 Matrix yin( 1, 1 );
3060 Matrix xout;
3061 Matrix yout;
3062
3063 xin( 0, 0 ) = x;
3064 yin( 0, 0 ) = y;
3065
3066 functionArguments( 0 ) = xin;
3067 functionArguments( 1 ) = yin;
3068
3069 if ( fcnCoordTrans != NULL )
3070#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
3071 retval = octave::feval( fcnCoordTrans, functionArguments, 1 );
3072#else
3073 retval = feval( fcnCoordTrans, functionArguments, 1 );
3074#endif
3075 else
3076#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
3077 retval = octave::feval( nameCoordTrans, functionArguments, 1 );
3078#else
3079 retval = feval( nameCoordTrans, functionArguments, 1 );
3080#endif
3081
3082 if ( retval.length() >= 2 )
3083 {
3084 xout = retval( 0 ).matrix_value();
3085 yout = retval( 1 ).matrix_value();
3086
3087 *xt = xout( 0, 0 );
3088 *yt = yout( 0, 0 );
3089 }
3090 }
3091
3092
3093 void testppchar( PLINT nlegend, const PLINT *opt_array, const char ** text )
3094 {
3095 PLINT i;
3096 printf( "nlegend =%d\n", nlegend );
3097 for ( i = 0; i < nlegend; i++ )
3098 {
3099 printf( "opt_array[%d] =%d\n", i, opt_array[i] );
3100 printf( "strlen(text[%d]) =%d\n", i, (int) strlen( text[i] ) );
3101 printf( "text[%d] =%s\n", i, text[i] );
3102 }
3103 }
3104
3105
3106#include <limits.h>
3107#if !defined(SWIG_NO_LLONG_MAX)
3108# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
3109# define LLONG_MAX __LONG_LONG_MAX__
3110# define LLONG_MIN (-LLONG_MAX - 1LL)
3111# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
3112# endif
3113#endif
3114
3115
3116 SWIGINTERN int SWIG_AsVal_long (const octave_value& ov, long* val)
3117 {
3118 if (!ov.is_scalar_type())
3119 return SWIG_TypeError;
3120 if (ov.is_complex_scalar())
3121 return SWIG_TypeError;
3122 if (ov.is_double_type()||ov.is_single_type()) {
3123 double v=ov.double_value();
3124 if (v!=floor(v))
3125 return SWIG_TypeError;
3126 }
3127 if (val)
3128 *val = ov.long_value();
3129 return SWIG_OK;
3130 }
3131
3132
3133SWIGINTERN int
3134SWIG_AsVal_int (octave_value obj, int *val)
3135{
3136 long v;
3137 int res = SWIG_AsVal_long (obj, &v);
3138 if (SWIG_IsOK(res)) {
3139 if ((v < INT_MIN || v > INT_MAX)) {
3140 return SWIG_OverflowError;
3141 } else {
3142 if (val) *val = static_cast< int >(v);
3143 }
3144 }
3145 return res;
3146}
3147
3148
3149 static int my_plGetCursor( int *state, int *keysym, int *button, char *string, int *pX, int *pY, PLFLT *dX, PLFLT *dY, PLFLT *wX, PLFLT *wY, int *subwin )
3150 {
3151 PLGraphicsIn gin;
3152 int status; status = plGetCursor( &gin );
3153 *subwin = gin.subwindow; *state = gin.state; *keysym = gin.keysym; *button = gin.button;
3154 strncpy( string, gin.string, PL_MAXKEY - 1 );
3155 string[PL_MAXKEY - 1] = '\0';
3156
3157 *pX = gin.pX; *pY = gin.pY; *dX = gin.dX; *dY = gin.dY; *wX = gin.wX; *wY = gin.wY;
3158 return status;
3159 }
3160
3161
3162SWIGINTERN int
3163SWIG_AsCharPtrAndSize(octave_value ov, char** cptr, size_t* psize, int *alloc)
3164{
3165 if (
3166#if SWIG_OCTAVE_PREREQ(4,4,0)
3167 ov.iscell()
3168#else
3169 ov.is_cell()
3170#endif
3171 && ov.rows() == 1 && ov.columns() == 1)
3172 ov = ov.cell_value()(0);
3173
3174 if (ov.is_string()) {
3175 std::string str=ov.string_value();
3176 size_t len=str.size();
3177 char* cstr=(char*)str.c_str();
3178 if (alloc) {
3179 *cptr = reinterpret_cast< char* >(memcpy(new char[len + 1], cstr, sizeof(char)*(len + 1)));
3180 *alloc = SWIG_NEWOBJ;
3181 } else if (cptr)
3182 *cptr = cstr;
3183 if (psize)
3184 *psize = len + 1;
3185 } else if (!ov.is_defined() || (ov.is_matrix_type() && ov.rows() == 0 && ov.columns() == 0) ) {
3186 if (cptr)
3187 *cptr = 0;
3188 } else {
3189 return SWIG_TypeError;
3190 }
3191 return SWIG_OK;
3192}
3193
3194
3195
3196
3197
3199 {
3200 return octave_value(value);
3201 }
3202
3203
3204SWIGINTERNINLINE octave_value
3206{
3207 return SWIG_From_long (value);
3208}
3209
3210
3212 {
3213 return octave_value(value);
3214 }
3215
3216
3217// Translates relative device coordinates to world coordinates.
3218 static int my_plTranslateCursor( PLFLT *x, PLFLT *y, PLFLT x_in, PLFLT y_in )
3219 {
3220 PLGraphicsIn gin;
3221 int st;
3222 gin.dX = x_in; gin.dY = y_in;
3223 st = plTranslateCursor( &gin );
3224 *x = gin.wX; *y = gin.wY;
3225 return st;
3226 }
3227
3228
3229 SWIGINTERN int SWIG_AsVal_double (const octave_value& ov, double* val)
3230 {
3231 if (!ov.is_scalar_type())
3232 return SWIG_TypeError;
3233 if (ov.is_complex_scalar())
3234 return SWIG_TypeError;
3235 if (val)
3236 *val = ov.double_value();
3237 return SWIG_OK;
3238 }
3239
3240
3241// Create 1d stripchart
3242
3243 void my_plstripc( PLINT *id, const char *xspec, const char *yspec,
3244 PLFLT xmin, PLFLT xmax, PLFLT xjump, PLFLT ymin, PLFLT ymax,
3245 PLFLT xlpos, PLFLT ylpos,
3246 PLBOOL y_ascl, PLBOOL acc,
3247 PLINT colbox, PLINT collab,
3248 const PLINT *colline, const PLINT *styline,
3249 const char *legline1, const char *legline2, const char *legline3, const char *legline4,
3250 const char *labx, const char *laby, const char *labtop )
3251 {
3252 const char *legline[4];
3253 legline[0] = legline1; legline[1] = legline2;
3254 legline[2] = legline3; legline[3] = legline4;
3255 c_plstripc( id, xspec, yspec, xmin, xmax, xjump, ymin, ymax,
3256 xlpos, ylpos, y_ascl, acc, colbox, collab, colline, styline, legline,
3257 labx, laby, labtop );
3258 }
3259
3260
3261// One more hack. As it is not possible (and would not be desirable) to pass
3262// an Octave function to plcont(), I have defined three plcont():
3263// plcont uses a defined here xform()
3264// plcont0 uses pltr0()
3265// plcont1 uses pltr1()
3266// plcont2 uses pltr2()
3267// plcont2p uses pltr2p()
3268//
3269// Also, as plplot expect vectorized bidimensional arrays, I provided a
3270// f2c, which is a #define that does the necessary conversion.
3271//
3272
3273 void xform( PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data )
3274 {
3275 *tx = *( (PLFLT *) pltr_data + 0 ) * x + *( (PLFLT *) pltr_data + 1 ) * y + *( (PLFLT *) pltr_data + 2 );
3276 *ty = *( (PLFLT *) pltr_data + 3 ) * x + *( (PLFLT *) pltr_data + 4 ) * y + *( (PLFLT *) pltr_data + 5 );
3277 }
3278
3279// convert from Fortran like arrays (one vector), to C like 2D arrays
3280
3281#define f2c( f, ff, nx, ny ) \
3282 PLFLT * *ff; \
3283 ff = (PLFLT **) alloca( nx * sizeof ( PLFLT * ) ); \
3284 for ( int i = 0; i < nx; i++ ) { \
3285 ff[i] = (PLFLT *) alloca( ny * sizeof ( PLFLT ) ); \
3286 for ( int j = 0; j < ny; j++ ) \
3287 *( ff[i] + j ) = *( f + nx * j + i );}
3288
3289// simpler plcont() for use with xform()
3290
3291 void my_plcont( const PLFLT *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky,
3292 PLINT ly, const PLFLT *clevel, PLINT nlevel, PLFLT *tr )
3293 {
3294 f2c( f, ff, nx, ny );
3295 c_plcont( (const PLFLT **) ff, nx, ny, kx, lx, ky, ly, clevel, nlevel, xform, tr );
3296 }
3297
3298// plcont() for use with pltr0() NOT TESTED
3299
3300 void my_plcont0( const PLFLT *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky,
3301 PLINT ly, const PLFLT *clevel, PLINT nlevel )
3302 {
3303 f2c( f, ff, nx, ny );
3304 c_plcont( (const PLFLT **) ff, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr0, NULL );
3305 }
3306
3307// plcont() for use with pltr1()
3308
3309 void my_plcont1( const PLFLT *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky,
3310 PLINT ly, const PLFLT *clevel, PLINT nlevel, const PLFLT *xg, const PLFLT *yg )
3311 {
3312 PLcGrid grid1;
3313 grid1.nx = nx; grid1.ny = ny;
3314 grid1.xg = (PLFLT *) xg; grid1.yg = (PLFLT *) yg;
3315 f2c( f, ff, nx, ny );
3316 c_plcont( (const PLFLT **) ff, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr1, &grid1 );
3317 }
3318
3319// plcont() for use with pltr2()
3320 void my_plcont2( const PLFLT *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky,
3321 PLINT ly, const PLFLT *clevel, PLINT nlevel, const PLFLT *xg, const PLFLT *yg )
3322 {
3323 PLcGrid2 grid2;
3324 f2c( xg, xgg, nx, ny );
3325 f2c( yg, ygg, nx, ny );
3326 grid2.nx = nx; grid2.ny = ny;
3327 grid2.xg = xgg; grid2.yg = ygg;
3328 f2c( f, ff, nx, ny );
3329 c_plcont( (const PLFLT **) ff, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr2, &grid2 );
3330 }
3331
3332// plcont() for use with pltr2p()
3333
3334 void my_plcont2p( const PLFLT *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky,
3335 PLINT ly, const PLFLT *clevel, PLINT nlevel, const PLFLT *xg, const PLFLT *yg )
3336 {
3337 PLcGrid2 grid2;
3338 f2c( xg, xgg, nx, ny );
3339 f2c( yg, ygg, nx, ny );
3340 grid2.nx = nx; grid2.ny = ny;
3341 grid2.xg = xgg; grid2.yg = ygg;
3342 f2c( f, ff, nx, ny );
3343 c_plcont( (const PLFLT **) ff, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr2, &grid2 );
3344 }
3345
3346
3347 void my_plgriddata( const PLFLT *x, const PLFLT *y, const PLFLT *z, int npts,
3348 const PLFLT *xg, int nptsx, const PLFLT *yg, int nptsy,
3349 PLFLT *zg, int type, PLFLT data )
3350 {
3351 f2c( zg, zgg, nptsx, nptsy );
3352 plgriddata( x, y, z, npts, xg, nptsx, yg, nptsy, zgg, type, data );
3353 for ( int i = 0; i < nptsx; i++ )
3354 for ( int j = 0; j < nptsy; j++ )
3355 *( zg + nptsx * j + i ) = zgg[i][j];
3356 }
3357
3358
3359// Plots a mesh representation of the function z[x][y].
3360
3361 void my_plmesh( const PLFLT *x, const PLFLT *y, const PLFLT *z, PLINT nx, PLINT ny, PLINT opt )
3362 {
3363 f2c( z, zz, nx, ny );
3364 c_plmesh( x, y, (const PLFLT **) zz, nx, ny, opt );
3365 }
3366
3367// Plots a mesh representation of the function z[x][y] with contour
3368
3369 void my_plmeshc( const PLFLT *x, const PLFLT *y, const PLFLT *z, PLINT nx, PLINT ny, PLINT opt, const PLFLT *clevel, PLINT nlevel )
3370 {
3371 f2c( z, zz, nx, ny );
3372 c_plmeshc( x, y, (const PLFLT **) zz, nx, ny, opt, clevel, nlevel );
3373 }
3374
3375
3376// Plots a 3-d representation of the function z[x][y].
3377 void my_plot3d( const PLFLT *x, const PLFLT *y, const PLFLT *z,
3378 PLINT nx, PLINT ny, PLINT opt, PLINT side )
3379 {
3380 f2c( z, zz, nx, ny );
3381 c_plot3d( x, y, (const PLFLT **) zz, nx, ny, opt, side );
3382 }
3383
3384// Plots a 3-d representation of the function z[x][y] with contour
3385 void my_plot3dc( const PLFLT *x, const PLFLT *y, const PLFLT *z,
3386 PLINT nx, PLINT ny, PLINT opt,
3387 const PLFLT *clevel, PLINT nlevel )
3388 {
3389 f2c( z, zz, nx, ny );
3390 c_plot3dc( x, y, (const PLFLT **) zz, nx, ny, opt, clevel, nlevel );
3391 }
3392// Plots a 3-d representation of the function z[x][y] with contour with y
3393// index limits
3394 void my_plot3dcl( const PLFLT * x, const PLFLT * y, const PLFLT * z,
3395 PLINT nx, PLINT ny, PLINT opt,
3396 const PLFLT * clevel, PLINT nlevel,
3397 PLINT indexxmin, PLINT indexxmax, const PLINT * indexymin, const PLINT * indexymax )
3398 {
3399 f2c( z, zz, nx, ny );
3400 c_plot3dcl( x, y, (const PLFLT **) zz, nx, ny, opt, clevel, nlevel,
3401 indexxmin, indexxmax, indexymin, indexymax );
3402 }
3403
3404
3405 void my_plsurf3d( const PLFLT *x, const PLFLT *y, const PLFLT *z,
3406 PLINT nx, PLINT ny, PLINT opt, const PLFLT *clevel, PLINT nlevel )
3407 {
3408 f2c( z, zz, nx, ny );
3409 c_plsurf3d( x, y, (const PLFLT **) zz, nx, ny, opt, clevel, nlevel );
3410 }
3411
3412 void my_plsurf3dl( const PLFLT * x, const PLFLT * y, const PLFLT * z,
3413 PLINT nx, PLINT ny, PLINT opt, const PLFLT * clevel, PLINT nlevel,
3414 PLINT indexxmin, PLINT indexxmax, const PLINT * indexymin, const PLINT * indexymax )
3415 {
3416 f2c( z, zz, nx, ny );
3417 c_plsurf3dl( x, y, (const PLFLT **) zz, nx, ny, opt, clevel, nlevel,
3418 indexxmin, indexxmax, indexymin, indexymax );
3419 }
3420
3421
3422// The same as in plcont. I have hardcoded the first function pointer
3423// to plfill(). The second function pointer will use the same convention
3424// as in plcont().
3425//
3426
3427// the simpler plshade()
3428 void my_plshade( const PLFLT *a, PLINT nx, PLINT ny, const PLFLT *defined,
3429 PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
3430 PLFLT shade_min, PLFLT shade_max,
3431 PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
3432 PLINT min_color, PLINT min_width,
3433 PLINT max_color, PLINT max_width,
3434 PLINT rectangular, PLFLT *tr )
3435 {
3436 f2c( a, aa, nx, ny );
3437 c_plshade( (const PLFLT **) aa, nx, ny, NULL, left, right, bottom, top,
3438 shade_min, shade_max, sh_cmap, sh_color, sh_width,
3439 min_color, min_width, max_color, max_width,
3440 plfill, rectangular, xform, tr );
3441 }
3442
3443// plshade() for use with pltr1
3444 void my_plshade1( const PLFLT *a, PLINT nx, PLINT ny, const char *defined,
3445 PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
3446 PLFLT shade_min, PLFLT shade_max,
3447 PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
3448 PLINT min_color, PLINT min_width,
3449 PLINT max_color, PLINT max_width,
3450 PLINT rectangular, const PLFLT *xg, const PLFLT *yg )
3451 {
3452 PLcGrid grid1;
3453 grid1.nx = nx; grid1.ny = ny;
3454 grid1.xg = (PLFLT *) xg; grid1.yg = (PLFLT *) yg;
3455 f2c( a, aa, nx, ny );
3456 c_plshade( (const PLFLT **) aa, nx, ny, NULL, left, right, bottom, top,
3457 shade_min, shade_max, sh_cmap, sh_color, sh_width,
3458 min_color, min_width, max_color, max_width,
3459 plfill, rectangular, pltr1, &grid1 );
3460 }
3461
3462// plshade() for use with pltr2
3463 void my_plshade2( const PLFLT *a, PLINT nx, PLINT ny, const char *defined,
3464 PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
3465 PLFLT shade_min, PLFLT shade_max,
3466 PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
3467 PLINT min_color, PLINT min_width,
3468 PLINT max_color, PLINT max_width,
3469 PLINT rectangular, const PLFLT *xg, const PLFLT *yg )
3470 {
3471 PLcGrid2 grid2;
3472 f2c( xg, xgg, nx, ny );
3473 f2c( yg, ygg, nx, ny );
3474 grid2.nx = nx; grid2.ny = ny;
3475 grid2.xg = xgg; grid2.yg = ygg;
3476 f2c( a, aa, nx, ny );
3477 c_plshade( (const PLFLT **) aa, nx, ny, NULL, left, right, bottom, top,
3478 shade_min, shade_max, sh_cmap, sh_color, sh_width,
3479 min_color, min_width, max_color, max_width,
3480 plfill, rectangular, pltr2, &grid2 );
3481 }
3482
3483
3484
3485 void my_plshades( const PLFLT *a, PLINT nx, PLINT ny,
3486 PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
3487 const PLFLT *clevel, PLINT nlevel, PLINT fill_width,
3488 PLINT cont_color, PLINT cont_width,
3489 PLINT rectangular )
3490 {
3491 f2c( a, aa, nx, ny );
3492 c_plshades( (const PLFLT **) aa, nx, ny, NULL, left, right, bottom, top,
3493 clevel, nlevel, fill_width, cont_color, cont_width,
3494 plfill, rectangular, NULL, NULL );
3495 }
3496
3497 void my_plshadesx( const PLFLT *a, PLINT nx, PLINT ny,
3498 PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
3499 const PLFLT *clevel, PLINT nlevel, PLINT fill_width,
3500 PLINT cont_color, PLINT cont_width,
3501 PLINT rectangular, PLFLT *tr )
3502 {
3503 f2c( a, aa, nx, ny );
3504 c_plshades( (const PLFLT **) aa, nx, ny, NULL, left, right, bottom, top,
3505 clevel, nlevel, fill_width, cont_color, cont_width,
3506 plfill, rectangular, xform, tr );
3507 }
3508
3509 void my_plshades1( const PLFLT *a, PLINT nx, PLINT ny,
3510 PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
3511 const PLFLT *clevel, PLINT nlevel, PLINT fill_width,
3512 PLINT cont_color, PLINT cont_width,
3513 PLINT rectangular, const PLFLT *xg, const PLFLT *yg )
3514 {
3515 PLcGrid grid1;
3516 grid1.nx = nx; grid1.ny = ny;
3517 grid1.xg = (PLFLT *) xg; grid1.yg = (PLFLT *) yg;
3518
3519 f2c( a, aa, nx, ny );
3520 c_plshades( (const PLFLT **) aa, nx, ny, NULL, left, right, bottom, top,
3521 clevel, nlevel, fill_width, cont_color, cont_width,
3522 plfill, rectangular, pltr1, &grid1 );
3523 }
3524
3525 void my_plshades2( const PLFLT *a, PLINT nx, PLINT ny,
3526 PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
3527 const PLFLT *clevel, PLINT nlevel, PLINT fill_width,
3528 PLINT cont_color, PLINT cont_width,
3529 PLINT rectangular, const PLFLT *xg, const PLFLT *yg )
3530 {
3531 PLcGrid2 grid2;
3532 f2c( xg, xgg, nx, ny );
3533 f2c( yg, ygg, nx, ny );
3534 grid2.nx = nx; grid2.ny = ny;
3535 grid2.xg = xgg; grid2.yg = ygg;
3536 f2c( a, aa, nx, ny );
3537 c_plshades( (const PLFLT **) aa, nx, ny, NULL, left, right, bottom, top,
3538 clevel, nlevel, fill_width, cont_color, cont_width,
3539 plfill, rectangular, pltr2, &grid2 );
3540 }
3541
3542
3543// Plot an array of vector arrows - uses the same function pointer
3544// convention as plcont
3545
3546 void my_plvect( const PLFLT *u, const PLFLT *v, PLINT nx, PLINT ny, PLFLT scale, PLFLT *tr )
3547 {
3548 f2c( u, uu, nx, ny );
3549 f2c( v, vv, nx, ny );
3550 c_plvect( (const PLFLT **) uu, (const PLFLT **) vv, nx, ny, scale, xform, tr );
3551 }
3552
3553// plvect() for use with pltr1
3554 void my_plvect1( const PLFLT *u, const PLFLT *v, PLINT nx, PLINT ny, PLFLT scale, const PLFLT *xg, const PLFLT *yg )
3555 {
3556 PLcGrid grid1;
3557 grid1.nx = nx; grid1.ny = ny;
3558 grid1.xg = (PLFLT *) xg; grid1.yg = (PLFLT *) yg;
3559 f2c( u, uu, nx, ny );
3560 f2c( v, vv, nx, ny );
3561 c_plvect( (const PLFLT **) uu, (const PLFLT **) vv, nx, ny, scale, pltr1, &grid1 );
3562 }
3563
3564// plvect() for use with pltr2
3565 void my_plvect2( const PLFLT *u, const PLFLT *v, PLINT nx, PLINT ny, PLFLT scale, const PLFLT *xg, const PLFLT *yg )
3566 {
3567 PLcGrid2 grid2;
3568 f2c( xg, xgg, nx, ny );
3569 f2c( yg, ygg, nx, ny );
3570 grid2.nx = nx; grid2.ny = ny;
3571 grid2.xg = xgg; grid2.yg = ygg;
3572 f2c( u, uu, nx, ny );
3573 f2c( v, vv, nx, ny );
3574 c_plvect( (const PLFLT **) uu, (const PLFLT **) vv, nx, ny, scale, pltr2, &grid2 );
3575 }
3576
3577
3578// Plot an image with distortion - uses the same function pointer
3579 void my_plimage( const PLFLT *a, PLINT nx, PLINT ny,
3580 PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
3581 PLFLT zmin, PLFLT zmax,
3582 PLFLT dxmin, PLFLT dxmax, PLFLT dymin, PLFLT dymax )
3583 {
3584 f2c( a, aa, nx, ny );
3585 plimage( (const PLFLT **) aa, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, dxmin, dxmax, dymin, dymax );
3586 }
3587
3588// Plot an image with distortion - uses the same function pointer
3589// convention as plcont
3590 void my_plimagefr( const PLFLT *a, PLINT nx, PLINT ny,
3591 PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
3592 PLFLT zmin, PLFLT zmax,
3593 PLFLT valuemin, PLFLT valuemax )
3594 {
3595 f2c( a, aa, nx, ny );
3596 plimagefr( (const PLFLT **) aa, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, NULL, NULL );
3597 }
3598
3599 void my_plimagefrx( const PLFLT *a, PLINT nx, PLINT ny,
3600 PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
3601 PLFLT zmin, PLFLT zmax,
3602 PLFLT valuemin, PLFLT valuemax, PLFLT *tr )
3603 {
3604 f2c( a, aa, nx, ny );
3605 plimagefr( (const PLFLT **) aa, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, xform, tr );
3606 }
3607
3608// plimagefr() for use with pltr1
3609 void my_plimagefr1( const PLFLT *a, PLINT nx, PLINT ny,
3610 PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
3611 PLFLT zmin, PLFLT zmax,
3612 PLFLT valuemin, PLFLT valuemax, const PLFLT *xg, const PLFLT *yg )
3613 {
3614 PLcGrid grid1;
3615 grid1.nx = nx + 1; grid1.ny = ny + 1;
3616 grid1.xg = (PLFLT *) xg; grid1.yg = (PLFLT *) yg;
3617 f2c( a, aa, nx, ny );
3618 c_plimagefr( (const PLFLT **) aa, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr1, &grid1 );
3619 }
3620
3621// plimagefr() for use with pltr2
3622 void my_plimagefr2( const PLFLT *a, PLINT nx, PLINT ny,
3623 PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
3624 PLFLT zmin, PLFLT zmax,
3625 PLFLT valuemin, PLFLT valuemax, const PLFLT *xg, const PLFLT *yg )
3626 {
3627 PLcGrid2 grid2;
3628 f2c( xg, xgg, ( nx + 1 ), ( ny + 1 ) );
3629 f2c( yg, ygg, ( nx + 1 ), ( ny + 1 ) );
3630 grid2.nx = nx + 1; grid2.ny = ny + 1;
3631 grid2.xg = xgg; grid2.yg = ygg;
3632 f2c( a, aa, nx, ny );
3633 c_plimagefr( (const PLFLT **) aa, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr2, &grid2 );
3634 }
3635
3636
3637
3638 void my_plcolorbar( PLFLT *p_colorbar_width, PLFLT *p_colorbar_height,
3639 PLINT opt, PLINT position, PLFLT x, PLFLT y,
3640 PLFLT x_length, PLFLT y_length,
3641 PLINT bg_color, PLINT bb_color, PLINT bb_style,
3642 PLFLT low_cap_color, PLFLT high_cap_color,
3643 PLINT cont_color, PLFLT cont_width,
3644 PLINT n_labels, const PLINT *label_opts, const char **label,
3645 PLINT n_axes, const char ** axis_opts,
3646 const PLFLT *ticks, const PLINT *sub_ticks,
3647 const PLINT *n_values, const PLFLT *a )
3648 {
3649 PLINT nx, ny, i;
3650 nx = n_axes;
3651 ny = -1;
3652 for ( i = 0; i < nx; i++ )
3653 if ( n_values[i] > ny )
3654 ny = n_values[i];
3655 f2c( a, aa, nx, ny );
3656 c_plcolorbar( p_colorbar_width, p_colorbar_height,
3657 opt, position, x, y,
3658 x_length, y_length,
3659 bg_color, bb_color, bb_style,
3660 low_cap_color, high_cap_color,
3661 cont_color, cont_width,
3662 n_labels, label_opts, label,
3663 n_axes, axis_opts,
3664 ticks, sub_ticks,
3665 n_values, aa );
3666 }
3667
3668
3669
3670 SWIGINTERN int SWIG_AsVal_unsigned_SS_long (const octave_value& ov, unsigned long* val)
3671 {
3672 if (!ov.is_scalar_type())
3673 return SWIG_TypeError;
3674 if (ov.is_complex_scalar())
3675 return SWIG_TypeError;
3676 if (ov.is_double_type()||ov.is_single_type()) {
3677 double v=ov.double_value();
3678 if (v<0)
3679 return SWIG_OverflowError;
3680 if (v!=floor(v))
3681 return SWIG_TypeError;
3682 }
3683 if (ov.is_int8_type()||ov.is_int16_type()||
3684 ov.is_int32_type()) {
3685 long v=ov.long_value();
3686 if (v<0)
3687 return SWIG_OverflowError;
3688 }
3689 if (ov.is_int64_type()) {
3690 long long v=ov.int64_scalar_value().value();
3691 if (v<0)
3692 return SWIG_OverflowError;
3693 }
3694 if (val)
3695 *val = ov.ulong_value();
3696 return SWIG_OK;
3697 }
3698
3699
3700SWIGINTERN int
3701SWIG_AsVal_unsigned_SS_int (octave_value obj, unsigned int *val)
3702{
3703 unsigned long v;
3704 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3705 if (SWIG_IsOK(res)) {
3706 if ((v > UINT_MAX)) {
3707 return SWIG_OverflowError;
3708 } else {
3709 if (val) *val = static_cast< unsigned int >(v);
3710 }
3711 }
3712 return res;
3713}
3714
3715
3717 {
3718 return octave_value(value);
3719 }
3720
3721
3722SWIGINTERNINLINE octave_value
3724{
3726}
3727
3728
3729SWIGINTERN int
3730SWIG_AsCharArray(octave_value obj, char *val, size_t size)
3731{
3732 char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
3733 int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
3734 if (SWIG_IsOK(res)) {
3735 /* special case of single char conversion when we don't need space for NUL */
3736 if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
3737 if (csize <= size) {
3738 if (val) {
3739 if (csize) memcpy(val, cptr, csize*sizeof(char));
3740 if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
3741 }
3742 if (alloc == SWIG_NEWOBJ) {
3743 delete[] cptr;
3744 res = SWIG_DelNewMask(res);
3745 }
3746 return res;
3747 }
3748 if (alloc == SWIG_NEWOBJ) delete[] cptr;
3749 }
3750 return SWIG_TypeError;
3751}
3752
3753
3756{
3757 static swig_type_info* info = 0;
3758 if (!info) {
3759 info = SWIG_TypeQuery("_p_char");
3760 }
3761 return info;
3762}
3763
3764
3765SWIGINTERNINLINE octave_value
3766SWIG_FromCharPtrAndSize(const char* carray, size_t size)
3767{
3768 return std::string(carray,carray+size);
3769}
3770
3771
3772SWIGINTERN size_t
3773SWIG_strnlen(const char* s, size_t maxlen)
3774{
3775 const char *p;
3776 for (p = s; maxlen-- && *p; p++)
3777 ;
3778 return p - s;
3779}
3780
3781
3782SWIGINTERN int
3783SWIG_AsVal_char (octave_value obj, char *val)
3784{
3785 int res = SWIG_AsCharArray(obj, val, 1);
3786 if (!SWIG_IsOK(res)) {
3787 long v;
3788 res = SWIG_AddCast(SWIG_AsVal_long (obj, &v));
3789 if (SWIG_IsOK(res)) {
3790 if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
3791 if (val) *val = static_cast< char >(v);
3792 } else {
3793 res = SWIG_OverflowError;
3794 }
3795 }
3796 }
3797 return res;
3798}
3799
3800static const char* _wrap_plsdimap_texinfo = "-*- texinfo -*-\n\
3801Set up transformation from metafile coordinates\n\
3802\n\
3803DESCRIPTION:\n\
3804\n\
3805 Set up transformation from metafile coordinates. The size of the plot\n\
3806 is scaled so as to preserve aspect ratio. This isn\'t intended to be a\n\
3807 general-purpose facility just yet (not sure why the user would need\n\
3808 it, for one).\n\
3809\n\
3810 Redacted form: plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm,\n\
3811 dimypmm)\n\
3812\n\
3813 This function is not used in any examples.\n\
3814\n\
3815\n\
3816\n\
3817SYNOPSIS:\n\
3818\n\
3819plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm, dimypmm)\n\
3820\n\
3821ARGUMENTS:\n\
3822\n\
3823 dimxmin (PLINT, input) : NEEDS DOCUMENTATION\n\
3824\n\
3825 dimxmax (PLINT, input) : NEEDS DOCUMENTATION\n\
3826\n\
3827 dimymin (PLINT, input) : NEEDS DOCUMENTATION\n\
3828\n\
3829 dimymax (PLINT, input) : NEEDS DOCUMENTATION\n\
3830\n\
3831 dimxpmm (PLFLT, input) : NEEDS DOCUMENTATION\n\
3832\n\
3833 dimypmm (PLFLT, input) : NEEDS DOCUMENTATION\n\
3834";
3835static const char* _wrap_plspal0_texinfo = "-*- texinfo -*-\n\
3836Set the cmap0 palette using the specified cmap0*.pal format file\n\
3837\n\
3838DESCRIPTION:\n\
3839\n\
3840 Set the cmap0 palette using the specified cmap0*.pal format file.\n\
3841\n\
3842 Redacted form: plspal0(filename)\n\
3843\n\
3844 This function is in example 16.\n\
3845\n\
3846\n\
3847\n\
3848SYNOPSIS:\n\
3849\n\
3850plspal0(filename)\n\
3851\n\
3852ARGUMENTS:\n\
3853\n\
3854 filename (PLCHAR_VECTOR, input) : An ascii character string\n\
3855 containing the name of the cmap0*.pal file. If this string is\n\
3856 empty, use the default cmap0*.pal file.\n\
3857";
3858static const char* _wrap_plspal1_texinfo = "-*- texinfo -*-\n\
3859Set the cmap1 palette using the specified cmap1*.pal format file\n\
3860\n\
3861DESCRIPTION:\n\
3862\n\
3863 Set the cmap1 palette using the specified cmap1*.pal format file.\n\
3864\n\
3865 Redacted form: plspal1(filename, interpolate)\n\
3866\n\
3867 This function is used in example 16.\n\
3868\n\
3869\n\
3870\n\
3871SYNOPSIS:\n\
3872\n\
3873plspal1(filename, interpolate)\n\
3874\n\
3875ARGUMENTS:\n\
3876\n\
3877 filename (PLCHAR_VECTOR, input) : An ascii character string\n\
3878 containing the name of the cmap1*.pal file. If this string is\n\
3879 empty, use the default cmap1*.pal file.\n\
3880\n\
3881 interpolate (PLBOOL, input) : If this parameter is true, the\n\
3882 columns containing the intensity index, r, g, b, alpha and\n\
3883 alt_hue_path in the cmap1*.pal file are used to set the cmap1\n\
3884 palette with a call to plscmap1la. (The cmap1*.pal header contains\n\
3885 a flag which controls whether the r, g, b data sent to plscmap1la\n\
3886 are interpreted as HLS or RGB.) If this parameter is false, the\n\
3887 intensity index and alt_hue_path columns are ignored and the r, g,\n\
3888 b (interpreted as RGB), and alpha columns of the cmap1*.pal file\n\
3889 are used instead to set the cmap1 palette directly with a call to\n\
3890 plscmap1a.\n\
3891";
3892static const char* _wrap_plline3_texinfo = "-*- texinfo -*-\n\
3893Draw a line in 3 space\n\
3894\n\
3895DESCRIPTION:\n\
3896\n\
3897 Draws line in 3 space defined by n points in x, y, and z. You must\n\
3898 first set up the viewport, the 2d viewing window (in world\n\
3899 coordinates), and the 3d normalized coordinate box. See x18c.c for\n\
3900 more info.\n\
3901\n\
3902 Redacted form: plline3(x, y, z)\n\
3903\n\
3904 This function is used in example 18.\n\
3905\n\
3906\n\
3907\n\
3908SYNOPSIS:\n\
3909\n\
3910plline3(n, x, y, z)\n\
3911\n\
3912ARGUMENTS:\n\
3913\n\
3914 n (PLINT, input) : Number of points defining line.\n\
3915\n\
3916 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
3917 points.\n\
3918\n\
3919 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
3920 points.\n\
3921\n\
3922 z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n\
3923 points.\n\
3924";
3925static const char* _wrap_plmeshc_texinfo = "-*- texinfo -*-\n\
3926Magnitude colored plot surface mesh with contour\n\
3927\n\
3928DESCRIPTION:\n\
3929\n\
3930 A more powerful form of plmesh: the surface mesh can be colored\n\
3931 accordingly to the current z value being plotted, a contour plot can\n\
3932 be drawn at the base XY plane, and a curtain can be drawn between the\n\
3933 plotted function border and the base XY plane.\n\
3934\n\
3935 Redacted form: plmeshc(x, y, z, opt, clevel)\n\
3936\n\
3937 This function is used in example 11.\n\
3938\n\
3939\n\
3940\n\
3941SYNOPSIS:\n\
3942\n\
3943plmeshc(x, y, z, nx, ny, opt, clevel, nlevel)\n\
3944\n\
3945ARGUMENTS:\n\
3946\n\
3947 x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n\
3948 which the function is evaluated.\n\
3949\n\
3950 y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n\
3951 which the function is evaluated.\n\
3952\n\
3953 z (PLFLT_MATRIX, input) : A matrix containing function values to\n\
3954 plot. Should have dimensions of\n\
3955 nx by\n\
3956 ny.\n\
3957\n\
3958 nx (PLINT, input) : Number of x values at which function is\n\
3959 evaluated.\n\
3960\n\
3961 ny (PLINT, input) : Number of y values at which function is\n\
3962 evaluated.\n\
3963\n\
3964 opt (PLINT, input) : Determines the way in which the surface is\n\
3965 represented. To specify more than one option just add the options,\n\
3966 e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n\
3967 showing z as a function of x for each value of y[j] .\n\
3968 opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n\
3969 for each value of x[i] .\n\
3970 opt=DRAW_LINEXY : Network of lines is drawn connecting points\n\
3971 at which function is defined.\n\
3972 opt=MAG_COLOR : Each line in the mesh is colored according to\n\
3973 the z value being plotted. The color is used from the current\n\
3974 cmap1.\n\
3975 opt=BASE_CONT : A contour plot is drawn at the base XY plane\n\
3976 using parameters\n\
3977 nlevel and\n\
3978 clevel.\n\
3979 opt=DRAW_SIDES : draws a curtain between the base XY plane and\n\
3980 the borders of the plotted function.\n\
3981\n\
3982\n\
3983 clevel (PLFLT_VECTOR, input) : A vector containing the contour\n\
3984 levels.\n\
3985\n\
3986 nlevel (PLINT, input) : Number of elements in the clevel vector.\n\
3987";
3988static const char* _wrap_plpath_texinfo = "-*- texinfo -*-\n\
3989Draw a line between two points, accounting for coordinate transforms\n\
3990\n\
3991DESCRIPTION:\n\
3992\n\
3993 Joins the point (\n\
3994 x1,\n\
3995 y1) to (\n\
3996 x2,\n\
3997 y2) . If a global coordinate transform is defined then the line is\n\
3998 broken in to n segments to approximate the path. If no transform is\n\
3999 defined then this simply acts like a call to pljoin.\n\
4000\n\
4001 Redacted form: plpath(n,x1,y1,x2,y2)\n\
4002\n\
4003 This function is used in example 22.\n\
4004\n\
4005\n\
4006\n\
4007SYNOPSIS:\n\
4008\n\
4009plpath(n, x1, y1, x2, y2)\n\
4010\n\
4011ARGUMENTS:\n\
4012\n\
4013 n (PLINT, input) : number of points to use to approximate the path.\n\
4014\n\
4015 x1 (PLFLT, input) : x coordinate of first point.\n\
4016\n\
4017 y1 (PLFLT, input) : y coordinate of first point.\n\
4018\n\
4019 x2 (PLFLT, input) : x coordinate of second point.\n\
4020\n\
4021 y2 (PLFLT, input) : y coordinate of second point.\n\
4022";
4023static const char* _wrap_plptex_texinfo = "-*- texinfo -*-\n\
4024Write text inside the viewport\n\
4025\n\
4026DESCRIPTION:\n\
4027\n\
4028 Writes text at a specified position and inclination within the\n\
4029 viewport. Text is clipped at the viewport boundaries. The reference\n\
4030 point of a string lies along a line passing through the string at half\n\
4031 the height of a capital letter. The position of the reference point\n\
4032 along this line is determined by just, the reference point is placed\n\
4033 at world coordinates (\n\
4034 x,\n\
4035 y) within the viewport. The inclination of the string is specified\n\
4036 in terms of differences of world coordinates making it easy to write\n\
4037 text parallel to a line in a graph.\n\
4038\n\
4039 Redacted form: plptex(x, y, dx, dy, just, text)\n\
4040\n\
4041 This function is used in example 2-4,10,12-14,20,23,24,26.\n\
4042\n\
4043\n\
4044\n\
4045SYNOPSIS:\n\
4046\n\
4047plptex(x, y, dx, dy, just, text)\n\
4048\n\
4049ARGUMENTS:\n\
4050\n\
4051 x (PLFLT, input) : x coordinate of reference point of string.\n\
4052\n\
4053 y (PLFLT, input) : y coordinate of reference point of string.\n\
4054\n\
4055 dx (PLFLT, input) : Together with dy, this specifies the\n\
4056 inclination of the string. The baseline of the string is parallel\n\
4057 to a line joining (\n\
4058 x,\n\
4059 y) to (\n\
4060 x+\n\
4061 dx,\n\
4062 y+\n\
4063 dy) .\n\
4064\n\
4065 dy (PLFLT, input) : Together with dx, this specifies the\n\
4066 inclination of the string.\n\
4067\n\
4068 just (PLFLT, input) : Specifies the position of the string relative\n\
4069 to its reference point. If just=0. , the reference point is at\n\
4070 the left and if just=1. , it is at the right of the string. Other\n\
4071 values of just give intermediate justifications.\n\
4072\n\
4073 text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n\
4074 written out.\n\
4075";
4076static const char* _wrap_plsfam_texinfo = "-*- texinfo -*-\n\
4077Set family file parameters\n\
4078\n\
4079DESCRIPTION:\n\
4080\n\
4081 Sets variables dealing with output file familying. Does nothing if\n\
4082 familying not supported by the driver. This routine, if used, must be\n\
4083 called before initializing PLplot. See the PLplot documentation for\n\
4084 more information.\n\
4085\n\
4086 Redacted form: plsfam(fam, num, bmax)\n\
4087\n\
4088 This function is used in examples 14 and 31.\n\
4089\n\
4090\n\
4091\n\
4092SYNOPSIS:\n\
4093\n\
4094plsfam(fam, num, bmax)\n\
4095\n\
4096ARGUMENTS:\n\
4097\n\
4098 fam (PLINT, input) : Family flag (Boolean). If nonzero, familying\n\
4099 is enabled.\n\
4100\n\
4101 num (PLINT, input) : Current family file number.\n\
4102\n\
4103 bmax (PLINT, input) : Maximum file size (in bytes) for a family\n\
4104 file.\n\
4105";
4106static const char* _wrap_plsyax_texinfo = "-*- texinfo -*-\n\
4107Set y axis parameters\n\
4108\n\
4109DESCRIPTION:\n\
4110\n\
4111 Identical to plsxax, except that arguments are flags for y axis. See\n\
4112 the description of plsxax for more detail.\n\
4113\n\
4114 Redacted form: plsyax(digmax, digits)\n\
4115\n\
4116 This function is used in examples 1, 14, and 31.\n\
4117\n\
4118\n\
4119\n\
4120SYNOPSIS:\n\
4121\n\
4122plsyax(digmax, digits)\n\
4123\n\
4124ARGUMENTS:\n\
4125\n\
4126 digmax (PLINT, input) : Variable to set the maximum number of\n\
4127 digits for the y axis. If nonzero, the printed label will be\n\
4128 switched to a floating-point representation when the number of\n\
4129 digits exceeds digmax.\n\
4130\n\
4131 digits (PLINT, input) : Field digits value. Currently, changing\n\
4132 its value here has no effect since it is set only by plbox or\n\
4133 plbox3. However, the user may obtain its value after a call to\n\
4134 either of these functions by calling plgyax.\n\
4135";
4136static const char* _wrap_plgzax_texinfo = "-*- texinfo -*-\n\
4137Get z axis parameters\n\
4138\n\
4139DESCRIPTION:\n\
4140\n\
4141 Identical to plgxax, except that arguments are flags for z axis. See\n\
4142 the description of plgxax for more detail.\n\
4143\n\
4144 Redacted form: plgzax(p_digmax, p_digits)\n\
4145\n\
4146 This function is used in example 31.\n\
4147\n\
4148\n\
4149\n\
4150SYNOPSIS:\n\
4151\n\
4152plgzax(p_digmax, p_digits)\n\
4153\n\
4154ARGUMENTS:\n\
4155\n\
4156 p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n\
4157 number of digits for the z axis. If nonzero, the printed label\n\
4158 has been switched to a floating-point representation when the\n\
4159 number of digits exceeds this value.\n\
4160\n\
4161 p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n\
4162 number of digits for the numeric labels (z axis) from the last\n\
4163 plot.\n\
4164";
4165static const char* _wrap_pl_setcontlabelformat_texinfo = "-*- texinfo -*-\n\
4166Set format of numerical label for contours\n\
4167\n\
4168DESCRIPTION:\n\
4169\n\
4170 Set format of numerical label for contours.\n\
4171\n\
4172 Redacted form: pl_setcontlabelformat(lexp, sigdig)\n\
4173\n\
4174 This function is used example 9.\n\
4175\n\
4176\n\
4177\n\
4178SYNOPSIS:\n\
4179\n\
4180pl_setcontlabelformat(lexp, sigdig)\n\
4181\n\
4182ARGUMENTS:\n\
4183\n\
4184 lexp (PLINT, input) : If the contour numerical label is greater\n\
4185 than 10^(lexp) or less than 10^(-lexp), then the exponential\n\
4186 format is used. Default value of lexp is 4.\n\
4187\n\
4188 sigdig (PLINT, input) : Number of significant digits. Default\n\
4189 value is 2.\n\
4190";
4191static const char* _wrap_plwidth_texinfo = "-*- texinfo -*-\n\
4192Set pen width\n\
4193\n\
4194DESCRIPTION:\n\
4195\n\
4196 Sets the pen width.\n\
4197\n\
4198 Redacted form: plwidth(width)\n\
4199\n\
4200 This function is used in examples 1 and 2.\n\
4201\n\
4202\n\
4203\n\
4204SYNOPSIS:\n\
4205\n\
4206plwidth(width)\n\
4207\n\
4208ARGUMENTS:\n\
4209\n\
4210 width (PLFLT, input) : The desired pen width. If width is negative\n\
4211 or the same as the previous value no action is taken. width = 0.\n\
4212 should be interpreted as as the minimum valid pen width for the\n\
4213 device. The interpretation of positive width values is also\n\
4214 device dependent.\n\
4215";
4216static const char* _wrap_plgdiplt_texinfo = "-*- texinfo -*-\n\
4217Get parameters that define current plot-space window\n\
4218\n\
4219DESCRIPTION:\n\
4220\n\
4221 Get relative minima and maxima that define current plot-space window.\n\
4222 If plsdiplt has not been called the default values pointed to by\n\
4223 p_xmin, p_ymin, p_xmax, and p_ymax will be 0., 0., 1., and 1.\n\
4224\n\
4225 Redacted form: plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n\
4226\n\
4227 This function is used in example 31.\n\
4228\n\
4229\n\
4230\n\
4231SYNOPSIS:\n\
4232\n\
4233plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n\
4234\n\
4235ARGUMENTS:\n\
4236\n\
4237 p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n\
4238 minimum in x.\n\
4239\n\
4240 p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n\
4241 minimum in y.\n\
4242\n\
4243 p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n\
4244 maximum in x.\n\
4245\n\
4246 p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n\
4247 maximum in y.\n\
4248";
4249static const char* _wrap_plscmap1_range_texinfo = "-*- texinfo -*-\n\
4250Set the cmap1 argument range for continuous color plots\n\
4251\n\
4252DESCRIPTION:\n\
4253\n\
4254 Set the cmap1 argument range for continuous color plots that\n\
4255 corresponds to the range of data values. The maximum range\n\
4256 corresponding to the entire cmap1 palette is 0.0-1.0, and the smaller\n\
4257 the cmap1 argument range that is specified with this routine, the\n\
4258 smaller the subset of the cmap1 color palette that is used to\n\
4259 represent the continuous data being plotted. If\n\
4260 min_color is greater than\n\
4261 max_color or\n\
4262 max_color is greater than 1.0 or\n\
4263 min_color is less than 0.0 then no change is made to the cmap1\n\
4264 argument range. (Use plgcmap1_range to get the cmap1 argument range.)\n\
4265\n\
4266 Redacted form: plscmap1_range(min_color, max_color)\n\
4267\n\
4268 This function is currently used in example 33.\n\
4269\n\
4270\n\
4271\n\
4272SYNOPSIS:\n\
4273\n\
4274plscmap1_range(min_color, max_color)\n\
4275\n\
4276ARGUMENTS:\n\
4277\n\
4278 min_color (PLFLT, input) : The minimum cmap1 argument. If less\n\
4279 than 0.0, then 0.0 is used instead.\n\
4280\n\
4281 max_color (PLFLT, input) : The maximum cmap1 argument. If greater\n\
4282 than 1.0, then 1.0 is used instead.\n\
4283";
4284static const char* _wrap_plvsta_texinfo = "-*- texinfo -*-\n\
4285Select standard viewport\n\
4286\n\
4287DESCRIPTION:\n\
4288\n\
4289 Selects the largest viewport within the subpage that leaves a standard\n\
4290 margin (left-hand margin of eight character heights, and a margin\n\
4291 around the other three sides of five character heights).\n\
4292\n\
4293 Redacted form: plvsta()\n\
4294\n\
4295 This function is used in examples 1, 12, 14, 17, 25, and 29.\n\
4296\n\
4297\n\
4298\n\
4299SYNOPSIS:\n\
4300\n\
4301plvsta()\n\
4302";
4303static const char* _wrap_plfontld_texinfo = "-*- texinfo -*-\n\
4304Load Hershey fonts\n\
4305\n\
4306DESCRIPTION:\n\
4307\n\
4308 Loads the Hershey fonts used for text and symbols. This routine may\n\
4309 be called before or after initializing PLplot. If not explicitly\n\
4310 called before PLplot initialization, then by default that\n\
4311 initialization loads Hershey fonts with the extended character set.\n\
4312 This routine only has a practical effect for devices that still use\n\
4313 Hershey fonts (as opposed to modern devices that use unicode-aware\n\
4314 system fonts instead of Hershey fonts).\n\
4315\n\
4316 Redacted form: plfontld(fnt)\n\
4317\n\
4318 This function is used in examples 1 and 7.\n\
4319\n\
4320\n\
4321\n\
4322SYNOPSIS:\n\
4323\n\
4324plfontld(fnt)\n\
4325\n\
4326ARGUMENTS:\n\
4327\n\
4328 fnt (PLINT, input) : Specifies the type of Hershey fonts to load.\n\
4329 A zero value specifies Hershey fonts with the standard character\n\
4330 set and a non-zero value (the default assumed if plfontld is never\n\
4331 called) specifies Hershey fonts with the extended character set.\n\
4332";
4333static const char* _wrap_plerrx_texinfo = "-*- texinfo -*-\n\
4334Draw error bars in x direction\n\
4335\n\
4336DESCRIPTION:\n\
4337\n\
4338 Draws a set of n error bars in x direction, the i\'th error bar\n\
4339 extending from xmin[i] to xmax[i] at y coordinate y[i]. The terminals\n\
4340 of the error bars are of length equal to the minor tick length\n\
4341 (settable using plsmin).\n\
4342\n\
4343 Redacted form: General: plerrx(xmin, ymax, y)\n\
4344\n\
4345\n\
4346 This function is used in example 29.\n\
4347\n\
4348\n\
4349\n\
4350SYNOPSIS:\n\
4351\n\
4352plerrx(n, xmin, xmax, y)\n\
4353\n\
4354ARGUMENTS:\n\
4355\n\
4356 n (PLINT, input) : Number of error bars to draw.\n\
4357\n\
4358 xmin (PLFLT_VECTOR, input) : A vector containing the x coordinates\n\
4359 of the left-hand endpoints of the error bars.\n\
4360\n\
4361 xmax (PLFLT_VECTOR, input) : A vector containing the x coordinates\n\
4362 of the right-hand endpoints of the error bars.\n\
4363\n\
4364 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
4365 the error bars.\n\
4366";
4367static const char* _wrap_plsurf3d_texinfo = "-*- texinfo -*-\n\
4368Plot shaded 3-d surface plot\n\
4369\n\
4370DESCRIPTION:\n\
4371\n\
4372 Plots a three-dimensional shaded surface plot within the environment\n\
4373 set up by plw3d. The surface is defined by the two-dimensional matrix\n\
4374 z[\n\
4375 nx][\n\
4376 ny], the point z[i][j] being the value of the function at (\n\
4377 x[i],\n\
4378 y[j]). Note that the points in vectors x and y do not need to be\n\
4379 equally spaced, but must be stored in ascending order. For further\n\
4380 details see the PLplot documentation.\n\
4381\n\
4382 Redacted form: plsurf3d(x, y, z, opt, clevel)\n\
4383\n\
4384 This function is not used in any examples.\n\
4385\n\
4386\n\
4387\n\
4388SYNOPSIS:\n\
4389\n\
4390plsurf3d(x, y, z, nx, ny, opt, clevel, nlevel)\n\
4391\n\
4392ARGUMENTS:\n\
4393\n\
4394 x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n\
4395 which the function is evaluated.\n\
4396\n\
4397 y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n\
4398 which the function is evaluated.\n\
4399\n\
4400 z (PLFLT_MATRIX, input) : A matrix containing function values to\n\
4401 plot. Should have dimensions of\n\
4402 nx by\n\
4403 ny.\n\
4404\n\
4405 nx (PLINT, input) : Number of x values at which function is\n\
4406 evaluated.\n\
4407\n\
4408 ny (PLINT, input) : Number of y values at which function is\n\
4409 evaluated.\n\
4410\n\
4411 opt (PLINT, input) : Determines the way in which the surface is\n\
4412 represented. To specify more than one option just add the options,\n\
4413 e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n\
4414 connecting points at which function is defined.\n\
4415 opt=BASE_CONT : A contour plot is drawn at the base XY plane\n\
4416 using parameters\n\
4417 nlevel and\n\
4418 clevel.\n\
4419 opt=SURF_CONT : A contour plot is drawn at the surface plane\n\
4420 using parameters\n\
4421 nlevel and\n\
4422 clevel.\n\
4423 opt=DRAW_SIDES : draws a curtain between the base XY plane and\n\
4424 the borders of the plotted function.\n\
4425 opt=MAG_COLOR : the surface is colored according to the value\n\
4426 of Z; if MAG_COLOR is not used, then the surface is colored\n\
4427 according to the intensity of the reflected light in the\n\
4428 surface from a light source whose position is set using\n\
4429 pllightsource.\n\
4430\n\
4431\n\
4432 clevel (PLFLT_VECTOR, input) : A vector containing the contour\n\
4433 levels.\n\
4434\n\
4435 nlevel (PLINT, input) : Number of elements in the clevel vector.\n\
4436";
4437static const char* _wrap_plgver_texinfo = "-*- texinfo -*-\n\
4438Get the current library version number\n\
4439\n\
4440DESCRIPTION:\n\
4441\n\
4442 Get the current library version number. Note: you must have allocated\n\
4443 space for this (80 characters is safe).\n\
4444\n\
4445 Redacted form: plgver(p_ver)\n\
4446\n\
4447 This function is used in example 1.\n\
4448\n\
4449\n\
4450\n\
4451SYNOPSIS:\n\
4452\n\
4453plgver(p_ver)\n\
4454\n\
4455ARGUMENTS:\n\
4456\n\
4457 p_ver (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n\
4458 (with preallocated length of 80 characters or more) containing the\n\
4459 PLplot version number.\n\
4460";
4461static const char* _wrap_plend1_texinfo = "-*- texinfo -*-\n\
4462End plotting session for current stream\n\
4463\n\
4464DESCRIPTION:\n\
4465\n\
4466 Ends a plotting session for the current output stream only. See\n\
4467 plsstrm for more info.\n\
4468\n\
4469 Redacted form: plend1()\n\
4470\n\
4471 This function is used in examples 1 and 20.\n\
4472\n\
4473\n\
4474\n\
4475SYNOPSIS:\n\
4476\n\
4477plend1()\n\
4478";
4479static const char* _wrap_plerry_texinfo = "-*- texinfo -*-\n\
4480Draw error bars in the y direction\n\
4481\n\
4482DESCRIPTION:\n\
4483\n\
4484 Draws a set of n error bars in the y direction, the i\'th error bar\n\
4485 extending from ymin[i] to ymax[i] at x coordinate x[i]. The terminals\n\
4486 of the error bars are of length equal to the minor tick length\n\
4487 (settable using plsmin).\n\
4488\n\
4489 Redacted form: General: plerry(x, ymin, ymax)\n\
4490\n\
4491\n\
4492 This function is used in example 29.\n\
4493\n\
4494\n\
4495\n\
4496SYNOPSIS:\n\
4497\n\
4498plerry(n, x, ymin, ymax)\n\
4499\n\
4500ARGUMENTS:\n\
4501\n\
4502 n (PLINT, input) : Number of error bars to draw.\n\
4503\n\
4504 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
4505 the error bars.\n\
4506\n\
4507 ymin (PLFLT_VECTOR, input) : A vector containing the y coordinates\n\
4508 of the lower endpoints of the error bars.\n\
4509\n\
4510 ymax (PLFLT_VECTOR, input) : A vector containing the y coordinates\n\
4511 of the upper endpoints of the error bars.\n\
4512";
4513static const char* _wrap_plseed_texinfo = "-*- texinfo -*-\n\
4514Set seed for internal random number generator.\n\
4515\n\
4516DESCRIPTION:\n\
4517\n\
4518 Set the seed for the internal random number generator. See plrandd for\n\
4519 further details.\n\
4520\n\
4521 Redacted form: plseed(seed)\n\
4522\n\
4523 This function is used in example 21.\n\
4524\n\
4525\n\
4526\n\
4527SYNOPSIS:\n\
4528\n\
4529plseed(seed)\n\
4530\n\
4531ARGUMENTS:\n\
4532\n\
4533 seed (unsigned int, input) : Seed for random number generator.\n\
4534";
4535static const char* _wrap_plvpor_texinfo = "-*- texinfo -*-\n\
4536Specify viewport using normalized subpage coordinates\n\
4537\n\
4538DESCRIPTION:\n\
4539\n\
4540 Device-independent routine for setting up the viewport. This defines\n\
4541 the viewport in terms of normalized subpage coordinates which run from\n\
4542 0.0 to 1.0 (left to right and bottom to top) along each edge of the\n\
4543 current subpage. Use the alternate routine plsvpa in order to create\n\
4544 a viewport of a definite size.\n\
4545\n\
4546 Redacted form: plvpor(xmin, xmax, ymin, ymax)\n\
4547\n\
4548 This function is used in examples 2, 6-8, 10, 11, 15, 16, 18, 21, 23,\n\
4549 24, 26, 27, and 31.\n\
4550\n\
4551\n\
4552\n\
4553SYNOPSIS:\n\
4554\n\
4555plvpor(xmin, xmax, ymin, ymax)\n\
4556\n\
4557ARGUMENTS:\n\
4558\n\
4559 xmin (PLFLT, input) : The normalized subpage coordinate of the\n\
4560 left-hand edge of the viewport.\n\
4561\n\
4562 xmax (PLFLT, input) : The normalized subpage coordinate of the\n\
4563 right-hand edge of the viewport.\n\
4564\n\
4565 ymin (PLFLT, input) : The normalized subpage coordinate of the\n\
4566 bottom edge of the viewport.\n\
4567\n\
4568 ymax (PLFLT, input) : The normalized subpage coordinate of the top\n\
4569 edge of the viewport.\n\
4570";
4571static const char* _wrap_plmesh_texinfo = "-*- texinfo -*-\n\
4572Plot surface mesh\n\
4573\n\
4574DESCRIPTION:\n\
4575\n\
4576 Plots a surface mesh within the environment set up by plw3d. The\n\
4577 surface is defined by the matrix z[\n\
4578 nx][\n\
4579 ny] , the point z[i][j] being the value of the function at (\n\
4580 x[i],\n\
4581 y[j]). Note that the points in vectors x and y do not need to be\n\
4582 equally spaced, but must be stored in ascending order. The parameter\n\
4583 opt controls the way in which the surface is displayed. For further\n\
4584 details see the PLplot documentation.\n\
4585\n\
4586 Redacted form: plmesh(x, y, z, opt)\n\
4587\n\
4588 This function is used in example 11.\n\
4589\n\
4590\n\
4591\n\
4592SYNOPSIS:\n\
4593\n\
4594plmesh(x, y, z, nx, ny, opt)\n\
4595\n\
4596ARGUMENTS:\n\
4597\n\
4598 x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n\
4599 which the function is evaluated.\n\
4600\n\
4601 y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n\
4602 which the function is evaluated.\n\
4603\n\
4604 z (PLFLT_MATRIX, input) : A matrix containing function values to\n\
4605 plot. Should have dimensions of\n\
4606 nx by\n\
4607 ny.\n\
4608\n\
4609 nx (PLINT, input) : Number of x values at which function has been\n\
4610 evaluated.\n\
4611\n\
4612 ny (PLINT, input) : Number of y values at which function has been\n\
4613 evaluated.\n\
4614\n\
4615 opt (PLINT, input) : Determines the way in which the surface is\n\
4616 represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n\
4617 function of x for each value of y[j] .\n\
4618 opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n\
4619 for each value of x[i] .\n\
4620 opt=DRAW_LINEXY : Network of lines is drawn connecting points\n\
4621 at which function is defined.\n\
4622";
4623static const char* _wrap_plgcmap1_range_texinfo = "-*- texinfo -*-\n\
4624Get the cmap1 argument range for continuous color plots\n\
4625\n\
4626DESCRIPTION:\n\
4627\n\
4628 Get the cmap1 argument range for continuous color plots. (Use\n\
4629 plscmap1_range to set the cmap1 argument range.)\n\
4630\n\
4631 Redacted form: plgcmap1_range(min_color, max_color)\n\
4632\n\
4633 This function is currently not used in any example.\n\
4634\n\
4635\n\
4636\n\
4637SYNOPSIS:\n\
4638\n\
4639plgcmap1_range(min_color, max_color)\n\
4640\n\
4641ARGUMENTS:\n\
4642\n\
4643 min_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n\
4644 minimum cmap1 argument.\n\
4645\n\
4646 max_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n\
4647 maximum cmap1 argument.\n\
4648";
4649static const char* _wrap_plsvect_texinfo = "-*- texinfo -*-\n\
4650Set arrow style for vector plots\n\
4651\n\
4652DESCRIPTION:\n\
4653\n\
4654 Set the style for the arrow used by plvect to plot vectors.\n\
4655\n\
4656 Redacted form: plsvect(arrowx, arrowy, fill)\n\
4657\n\
4658 This function is used in example 22.\n\
4659\n\
4660\n\
4661\n\
4662SYNOPSIS:\n\
4663\n\
4664plsvect(arrowx, arrowy, npts, fill)\n\
4665\n\
4666ARGUMENTS:\n\
4667\n\
4668 arrowx, arrowy (PLFLT_VECTOR, input) : A pair of vectors containing\n\
4669 the x and y points which make up the arrow. The arrow is plotted\n\
4670 by joining these points to form a polygon. The scaling assumes\n\
4671 that the x and y points in the arrow lie in the range -0.5 <= x,y\n\
4672 <= 0.5. If both arrowx and arrowy are NULL then the arrow style\n\
4673 will be reset to its default.\n\
4674\n\
4675 npts (PLINT, input) : Number of points in the vectors arrowx and\n\
4676 arrowy.\n\
4677\n\
4678 fill (PLBOOL, input) : If fill is true then the arrow is closed, if\n\
4679 fill is false then the arrow is open.\n\
4680";
4681static const char* _wrap_plfill_texinfo = "-*- texinfo -*-\n\
4682Draw filled polygon\n\
4683\n\
4684DESCRIPTION:\n\
4685\n\
4686 Fills the polygon defined by the n points (\n\
4687 x[i],\n\
4688 y[i]) using the pattern defined by plpsty or plpat. The default fill\n\
4689 style is a solid fill. The routine will automatically close the\n\
4690 polygon between the last and first vertices. If multiple closed\n\
4691 polygons are passed in x and y then plfill will fill in between them.\n\
4692\n\
4693 Redacted form: plfill(x,y)\n\
4694\n\
4695 This function is used in examples 12, 13, 15, 16, 21, 24, and 25.\n\
4696\n\
4697\n\
4698\n\
4699SYNOPSIS:\n\
4700\n\
4701plfill(n, x, y)\n\
4702\n\
4703ARGUMENTS:\n\
4704\n\
4705 n (PLINT, input) : Number of vertices in polygon.\n\
4706\n\
4707 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
4708 vertices.\n\
4709\n\
4710 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
4711 vertices.\n\
4712";
4713static const char* _wrap_plhlsrgb_texinfo = "-*- texinfo -*-\n\
4714Convert HLS color to RGB\n\
4715\n\
4716DESCRIPTION:\n\
4717\n\
4718 Convert HLS color coordinates to RGB.\n\
4719\n\
4720 Redacted form: General: plhlsrgb(h, l, s, p_r, p_g, p_b)\n\
4721\n\
4722\n\
4723 This function is used in example 2.\n\
4724\n\
4725\n\
4726\n\
4727SYNOPSIS:\n\
4728\n\
4729plhlsrgb(h, l, s, p_r, p_g, p_b)\n\
4730\n\
4731ARGUMENTS:\n\
4732\n\
4733 h (PLFLT, input) : Hue in degrees (0.0-360.0) on the color\n\
4734 cylinder.\n\
4735\n\
4736 l (PLFLT, input) : Lightness expressed as a fraction (0.0-1.0) of\n\
4737 the axis of the color cylinder.\n\
4738\n\
4739 s (PLFLT, input) : Saturation expressed as a fraction (0.0-1.0) of\n\
4740 the radius of the color cylinder.\n\
4741\n\
4742 p_r (PLFLT_NC_SCALAR, output) : Returned value of the red intensity\n\
4743 (0.0-1.0) of the color.\n\
4744\n\
4745 p_g (PLFLT_NC_SCALAR, output) : Returned value of the green\n\
4746 intensity (0.0-1.0) of the color.\n\
4747\n\
4748 p_b (PLFLT_NC_SCALAR, output) : Returned value of the blue\n\
4749 intensity (0.0-1.0) of the color.\n\
4750";
4751static const char* _wrap_pltimefmt_texinfo = "-*- texinfo -*-\n\
4752Set format for date / time labels\n\
4753\n\
4754DESCRIPTION:\n\
4755\n\
4756 Sets the format for date / time labels. To enable date / time format\n\
4757 labels see the options to plbox, plbox3, and plenv.\n\
4758\n\
4759 Redacted form: pltimefmt(fmt)\n\
4760\n\
4761 This function is used in example 29.\n\
4762\n\
4763\n\
4764\n\
4765SYNOPSIS:\n\
4766\n\
4767pltimefmt(fmt)\n\
4768\n\
4769ARGUMENTS:\n\
4770\n\
4771 fmt (PLCHAR_VECTOR, input) : An ascii character string which is\n\
4772 interpreted similarly to the format specifier of typical system\n\
4773 strftime routines except that PLplot ignores locale and also\n\
4774 supplies some useful extensions in the context of plotting. All\n\
4775 text in the string is printed as-is other than conversion\n\
4776 specifications which take the form of a \'%\' character followed by\n\
4777 further conversion specification character. The conversion\n\
4778 specifications which are similar to those provided by system\n\
4779 strftime routines are the following: %a: The abbreviated (English)\n\
4780 weekday name.\n\
4781 %A: The full (English) weekday name.\n\
4782 %b: The abbreviated (English) month name.\n\
4783 %B: The full (English) month name.\n\
4784 %c: Equivalent to %a %b %d %T %Y (non-ISO).\n\
4785 %C: The century number (year/100) as a 2-digit integer.\n\
4786 %d: The day of the month as a decimal number (range 01 to 31).\n\
4787 %D: Equivalent to %m/%d/%y (non-ISO).\n\
4788 %e: Like %d, but a leading zero is replaced by a space.\n\
4789 %F: Equivalent to %Y-%m-%d (the ISO 8601 date format).\n\
4790 %h: Equivalent to %b.\n\
4791 %H: The hour as a decimal number using a 24-hour clock (range\n\
4792 00 to 23).\n\
4793 %I: The hour as a decimal number using a 12-hour clock (range\n\
4794 01 to 12).\n\
4795 %j: The day of the year as a decimal number (range 001 to\n\
4796 366).\n\
4797 %k: The hour (24-hour clock) as a decimal number (range 0 to\n\
4798 23); single digits are preceded by a blank. (See also %H.)\n\
4799 %l: The hour (12-hour clock) as a decimal number (range 1 to\n\
4800 12); single digits are preceded by a blank. (See also %I.)\n\
4801 %m: The month as a decimal number (range 01 to 12).\n\
4802 %M: The minute as a decimal number (range 00 to 59).\n\
4803 %n: A newline character.\n\
4804 %p: Either \"AM\" or \"PM\" according to the given time value.\n\
4805 Noon is treated as \"PM\" and midnight as \"AM\".\n\
4806 %r: Equivalent to %I:%M:%S %p.\n\
4807 %R: The time in 24-hour notation (%H:%M). For a version\n\
4808 including the seconds, see %T below.\n\
4809 %s: The number of seconds since the Epoch, 1970-01-01 00:00:00\n\
4810 +0000 (UTC).\n\
4811 %S: The second as a decimal number (range 00 to 60). (The\n\
4812 range is up to 60 to allow for occasional leap seconds.)\n\
4813 %t: A tab character.\n\
4814 %T: The time in 24-hour notation (%H:%M:%S).\n\
4815 %u: The day of the week as a decimal, range 1 to 7, Monday\n\
4816 being 1. See also %w.\n\
4817 %U: The week number of the current year as a decimal number,\n\
4818 range 00 to 53, starting with the first Sunday as the first\n\
4819 day of week 01. See also %V and %W.\n\
4820 %v: Equivalent to %e-%b-%Y.\n\
4821 %V: The ISO 8601 week number of the current year as a decimal\n\
4822 number, range 01 to 53, where week 1 is the first week that\n\
4823 has at least 4 days in the new year. See also %U and %W.\n\
4824 %w: The day of the week as a decimal, range 0 to 6, Sunday\n\
4825 being 0. See also %u.\n\
4826 %W: The week number of the current year as a decimal number,\n\
4827 range 00 to 53, starting with the first Monday as the first\n\
4828 day of week 01.\n\
4829 %x: Equivalent to %a %b %d %Y.\n\
4830 %X: Equivalent to %T.\n\
4831 %y: The year as a decimal number without a century (range 00\n\
4832 to 99).\n\
4833 %Y: The year as a decimal number including a century.\n\
4834 %z: The UTC time-zone string = \"+0000\".\n\
4835 %Z: The UTC time-zone abbreviation = \"UTC\".\n\
4836 %+: The UTC date and time in default format of the Unix date\n\
4837 command which is equivalent to %a %b %d %T %Z %Y.\n\
4838 %%: A literal \"%\" character.\n\
4839 The conversion specifications which are extensions to those normally\n\
4840 provided by system strftime routines are the following: %(0-9):\n\
4841 The fractional part of the seconds field (including leading\n\
4842 decimal point) to the specified accuracy. Thus %S%3 would give\n\
4843 seconds to millisecond accuracy (00.000).\n\
4844 %.: The fractional part of the seconds field (including\n\
4845 leading decimal point) to the maximum available accuracy. Thus\n\
4846 %S%. would give seconds with fractional part up to 9 decimal\n\
4847 places if available.\n\
4848";
4849static const char* _wrap_plgspa_texinfo = "-*- texinfo -*-\n\
4850Get current subpage parameters\n\
4851\n\
4852DESCRIPTION:\n\
4853\n\
4854 Gets the size of the current subpage in millimeters measured from the\n\
4855 bottom left hand corner of the output device page or screen. Can be\n\
4856 used in conjunction with plsvpa for setting the size of a viewport in\n\
4857 absolute coordinates (millimeters).\n\
4858\n\
4859 Redacted form: plgspa(xmin, xmax, ymin, ymax)\n\
4860\n\
4861 This function is used in example 23.\n\
4862\n\
4863\n\
4864\n\
4865SYNOPSIS:\n\
4866\n\
4867plgspa(xmin, xmax, ymin, ymax)\n\
4868\n\
4869ARGUMENTS:\n\
4870\n\
4871 xmin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n\
4872 the left hand edge of the subpage in millimeters.\n\
4873\n\
4874 xmax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n\
4875 the right hand edge of the subpage in millimeters.\n\
4876\n\
4877 ymin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n\
4878 the bottom edge of the subpage in millimeters.\n\
4879\n\
4880 ymax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n\
4881 the top edge of the subpage in millimeters.\n\
4882";
4883static const char* _wrap_plcalc_world_texinfo = "-*- texinfo -*-\n\
4884Calculate world coordinates and corresponding window index from relative device coordinates\n\
4885\n\
4886DESCRIPTION:\n\
4887\n\
4888 Calculate world coordinates, wx and wy, and corresponding window index\n\
4889 from relative device coordinates, rx and ry.\n\
4890\n\
4891 Redacted form: General: plcalc_world(rx, ry, wx, wy, window)\n\
4892\n\
4893\n\
4894 This function is used in example 31.\n\
4895\n\
4896\n\
4897\n\
4898SYNOPSIS:\n\
4899\n\
4900plcalc_world(rx, ry, wx, wy, window)\n\
4901\n\
4902ARGUMENTS:\n\
4903\n\
4904 rx (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n\
4905 the x coordinate.\n\
4906\n\
4907 ry (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n\
4908 the y coordinate.\n\
4909\n\
4910 wx (PLFLT_NC_SCALAR, output) : Returned value of the x world\n\
4911 coordinate corresponding to the relative device coordinates rx and\n\
4912 ry.\n\
4913\n\
4914 wy (PLFLT_NC_SCALAR, output) : Returned value of the y world\n\
4915 coordinate corresponding to the relative device coordinates rx and\n\
4916 ry.\n\
4917\n\
4918 window (PLINT_NC_SCALAR, output) : Returned value of the last\n\
4919 defined window index that corresponds to the input relative device\n\
4920 coordinates (and the returned world coordinates). To give some\n\
4921 background on the window index, for each page the initial window\n\
4922 index is set to zero, and each time plwind is called within the\n\
4923 page, world and device coordinates are stored for the window and\n\
4924 the window index is incremented. Thus, for a simple page layout\n\
4925 with non-overlapping viewports and one window per viewport, window\n\
4926 corresponds to the viewport index (in the order which the\n\
4927 viewport/windows were created) of the only viewport/window\n\
4928 corresponding to rx and ry. However, for more complicated layouts\n\
4929 with potentially overlapping viewports and possibly more than one\n\
4930 window (set of world coordinates) per viewport, window and the\n\
4931 corresponding output world coordinates corresponds to the last\n\
4932 window created that fulfills the criterion that the relative\n\
4933 device coordinates are inside it. Finally, in all cases where the\n\
4934 input relative device coordinates are not inside any\n\
4935 viewport/window, then the returned value of the last defined\n\
4936 window index is set to -1.\n\
4937";
4938static const char* _wrap_plgfnam_texinfo = "-*- texinfo -*-\n\
4939Get output file name\n\
4940\n\
4941DESCRIPTION:\n\
4942\n\
4943 Gets the current output file name, if applicable.\n\
4944\n\
4945 Redacted form: plgfnam(fnam)\n\
4946\n\
4947 This function is used in example 31.\n\
4948\n\
4949\n\
4950\n\
4951SYNOPSIS:\n\
4952\n\
4953plgfnam(fnam)\n\
4954\n\
4955ARGUMENTS:\n\
4956\n\
4957 fnam (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n\
4958 (with preallocated length of 80 characters or more) containing the\n\
4959 file name.\n\
4960";
4961static const char* _wrap_plvect_texinfo = "-*- texinfo -*-\n\
4962Vector plot\n\
4963\n\
4964DESCRIPTION:\n\
4965\n\
4966 Draws a plot of vector data contained in the matrices (\n\
4967 u[\n\
4968 nx][\n\
4969 ny],\n\
4970 v[\n\
4971 nx][\n\
4972 ny]) . The scaling factor for the vectors is given by scale. A\n\
4973 transformation routine pointed to by pltr with a pointer pltr_data for\n\
4974 additional data required by the transformation routine to map indices\n\
4975 within the matrices to the world coordinates. The style of the vector\n\
4976 arrow may be set using plsvect.\n\
4977\n\
4978 Redacted form: plvect(u, v, scale, pltr, pltr_data) where (see above\n\
4979 discussion) the pltr, pltr_data callback arguments are sometimes\n\
4980 replaced by a tr vector with 6 elements, or xg and yg array arguments\n\
4981 with either one or two dimensions.\n\
4982\n\
4983 This function is used in example 22.\n\
4984\n\
4985\n\
4986\n\
4987SYNOPSIS:\n\
4988\n\
4989plvect(u, v, nx, ny, scale, pltr, pltr_data)\n\
4990\n\
4991ARGUMENTS:\n\
4992\n\
4993 u, v (PLFLT_MATRIX, input) : A pair of matrices containing the x\n\
4994 and y components of the vector data to be plotted.\n\
4995\n\
4996 nx, ny (PLINT, input) : Dimensions of the matrices u and v.\n\
4997\n\
4998 scale (PLFLT, input) : Parameter to control the scaling factor of\n\
4999 the vectors for plotting. If scale = 0 then the scaling factor is\n\
5000 automatically calculated for the data. If scale < 0 then the\n\
5001 scaling factor is automatically calculated for the data and then\n\
5002 multiplied by -\n\
5003 scale. If scale > 0 then the scaling factor is set to scale.\n\
5004\n\
5005 pltr (PLTRANSFORM_callback, input) : A callback function that\n\
5006 defines the transformation between the zero-based indices of the\n\
5007 matrices u and v and world coordinates.For the C case,\n\
5008 transformation functions are provided in the PLplot library: pltr0\n\
5009 for the identity mapping, and pltr1 and pltr2 for arbitrary\n\
5010 mappings respectively defined by vectors and matrices. In\n\
5011 addition, C callback routines for the transformation can be\n\
5012 supplied by the user such as the mypltr function in\n\
5013 examples/c/x09c.c which provides a general linear transformation\n\
5014 between index coordinates and world coordinates.For languages\n\
5015 other than C you should consult the PLplot documentation for the\n\
5016 details concerning how PLTRANSFORM_callback arguments are\n\
5017 interfaced. However, in general, a particular pattern of\n\
5018 callback-associated arguments such as a tr vector with 6 elements;\n\
5019 xg and yg vectors; or xg and yg matrices are respectively\n\
5020 interfaced to a linear-transformation routine similar to the above\n\
5021 mypltr function; pltr1; and pltr2. Furthermore, some of our more\n\
5022 sophisticated bindings (see, e.g., the PLplot documentation)\n\
5023 support native language callbacks for handling index to\n\
5024 world-coordinate transformations. Examples of these various\n\
5025 approaches are given in examples/<language>x09*,\n\
5026 examples/<language>x16*, examples/<language>x20*,\n\
5027 examples/<language>x21*, and examples/<language>x22*, for all our\n\
5028 supported languages.\n\
5029\n\
5030 pltr_data (PLPointer, input) : Extra parameter to help pass\n\
5031 information to pltr0, pltr1, pltr2, or whatever callback routine\n\
5032 that is externally supplied.\n\
5033";
5034static const char* _wrap_plsym_texinfo = "-*- texinfo -*-\n\
5035Plot a glyph at the specified points\n\
5036\n\
5037DESCRIPTION:\n\
5038\n\
5039 Plot a glyph at the specified points. (This function is largely\n\
5040 superseded by plstring which gives access to many[!] more glyphs.)\n\
5041\n\
5042 Redacted form: plsym(x, y, code)\n\
5043\n\
5044 This function is used in example 7.\n\
5045\n\
5046\n\
5047\n\
5048SYNOPSIS:\n\
5049\n\
5050plsym(n, x, y, code)\n\
5051\n\
5052ARGUMENTS:\n\
5053\n\
5054 n (PLINT, input) : Number of points in the x and y vectors.\n\
5055\n\
5056 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
5057 the points.\n\
5058\n\
5059 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
5060 the points.\n\
5061\n\
5062 code (PLINT, input) : Hershey symbol code corresponding to a glyph\n\
5063 to be plotted at each of the n points.\n\
5064";
5065static const char* _wrap_plgvpd_texinfo = "-*- texinfo -*-\n\
5066Get viewport limits in normalized device coordinates\n\
5067\n\
5068DESCRIPTION:\n\
5069\n\
5070 Get viewport limits in normalized device coordinates.\n\
5071\n\
5072 Redacted form: General: plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n\
5073\n\
5074\n\
5075 This function is used in example 31.\n\
5076\n\
5077\n\
5078\n\
5079SYNOPSIS:\n\
5080\n\
5081plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n\
5082\n\
5083ARGUMENTS:\n\
5084\n\
5085 p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n\
5086 viewport limit of the normalized device coordinate in x.\n\
5087\n\
5088 p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n\
5089 viewport limit of the normalized device coordinate in x.\n\
5090\n\
5091 p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n\
5092 viewport limit of the normalized device coordinate in y.\n\
5093\n\
5094 p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n\
5095 viewport limit of the normalized device coordinate in y.\n\
5096";
5097static const char* _wrap_plgpage_texinfo = "-*- texinfo -*-\n\
5098Get page parameters\n\
5099\n\
5100DESCRIPTION:\n\
5101\n\
5102 Gets the current page configuration. The length and offset values are\n\
5103 expressed in units that are specific to the current driver. For\n\
5104 instance: screen drivers will usually interpret them as number of\n\
5105 pixels, whereas printer drivers will usually use mm.\n\
5106\n\
5107 Redacted form: plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n\
5108\n\
5109 This function is used in examples 14 and 31.\n\
5110\n\
5111\n\
5112\n\
5113SYNOPSIS:\n\
5114\n\
5115plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n\
5116\n\
5117ARGUMENTS:\n\
5118\n\
5119 p_xp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n\
5120 pixels/inch (DPI) in x.\n\
5121\n\
5122 p_yp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n\
5123 pixels/inch (DPI) in y.\n\
5124\n\
5125 p_xleng (PLINT_NC_SCALAR, output) : Returned value of the x page\n\
5126 length.\n\
5127\n\
5128 p_yleng (PLINT_NC_SCALAR, output) : Returned value of the y page\n\
5129 length.\n\
5130\n\
5131 p_xoff (PLINT_NC_SCALAR, output) : Returned value of the x page\n\
5132 offset.\n\
5133\n\
5134 p_yoff (PLINT_NC_SCALAR, output) : Returned value of the y page\n\
5135 offset.\n\
5136";
5137static const char* _wrap_plstring3_texinfo = "-*- texinfo -*-\n\
5138Plot a glyph at the specified 3D points\n\
5139\n\
5140DESCRIPTION:\n\
5141\n\
5142 Plot a glyph at the specified 3D points. (Supersedes plpoin3 because\n\
5143 many[!] more glyphs are accessible with plstring3.) Set up the call to\n\
5144 this function similar to what is done for plline3. The glyph is\n\
5145 specified with a PLplot user string. Note that the user string is not\n\
5146 actually limited to one glyph so it is possible (but not normally\n\
5147 useful) to plot more than one glyph at the specified points with this\n\
5148 function. As with plmtex and plptex, the user string can contain FCI\n\
5149 escapes to determine the font, UTF-8 code to determine the glyph or\n\
5150 else PLplot escapes for Hershey or unicode text to determine the\n\
5151 glyph.\n\
5152\n\
5153 Redacted form: plstring3(x, y, z, string)\n\
5154\n\
5155 This function is used in example 18.\n\
5156\n\
5157\n\
5158\n\
5159SYNOPSIS:\n\
5160\n\
5161plstring3(n, x, y, z, string)\n\
5162\n\
5163ARGUMENTS:\n\
5164\n\
5165 n (PLINT, input) : Number of points in the x, y, and z vectors.\n\
5166\n\
5167 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
5168 the points.\n\
5169\n\
5170 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
5171 the points.\n\
5172\n\
5173 z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n\
5174 the points.\n\
5175\n\
5176 string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n\
5177 the glyph(s) to be plotted at each of the n points. points.\n\
5178";
5179static const char* _wrap_plshades_texinfo = "-*- texinfo -*-\n\
5180Shade regions on the basis of value\n\
5181\n\
5182DESCRIPTION:\n\
5183\n\
5184 Shade regions on the basis of value. This is the high-level routine\n\
5185 for making continuous color shaded plots with cmap1 while plshade\n\
5186 should be used to plot individual shaded regions using either cmap0 or\n\
5187 cmap1. examples/;<language>/x16* shows how to use plshades for each of\n\
5188 our supported languages.\n\
5189\n\
5190 Redacted form: General: plshades(a, defined, xmin, xmax, ymin, ymax,\n\
5191 clevel, fill_width, cont_color, cont_width, fill, rectangular, pltr,\n\
5192 pltr_data)\n\
5193\n\
5194\n\
5195 This function is used in examples 16, 21, and 22.\n\
5196\n\
5197\n\
5198\n\
5199SYNOPSIS:\n\
5200\n\
5201plshades(a, nx, ny, defined, xmin, xmax, ymin, ymax, clevel, nlevel, fill_width, cont_color, cont_width, fill, rectangular, pltr, pltr_data)\n\
5202\n\
5203ARGUMENTS:\n\
5204\n\
5205 a (PLFLT_MATRIX, input) : A matrix containing function values to\n\
5206 plot. Should have dimensions of\n\
5207 nx by\n\
5208 ny.\n\
5209\n\
5210 nx (PLINT, input) : First dimension of matrix \"a\".\n\
5211\n\
5212 ny (PLINT, input) : Second dimension of matrix \"a\".\n\
5213\n\
5214 defined (PLDEFINED_callback, input) : Callback function specifying\n\
5215 the region that should be plotted in the shade plot. This\n\
5216 function accepts x and y coordinates as input arguments and must\n\
5217 return 1 if the point is to be included in the shade plot and 0\n\
5218 otherwise. If you want to plot the entire shade plot (the usual\n\
5219 case), this argument should be set to NULL.\n\
5220\n\
5221 xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n\
5222 pltr below for how these arguments are used (only for the special case\n\
5223 when the callback function\n\
5224 pltr is not supplied).\n\
5225\n\
5226 clevel (PLFLT_VECTOR, input) : A vector containing the data levels\n\
5227 corresponding to the edges of each shaded region that will be\n\
5228 plotted by this function. To work properly the levels should be\n\
5229 monotonic.\n\
5230\n\
5231 nlevel (PLINT, input) : Number of shades plus 1 (i.e., the number\n\
5232 of shade edge values in clevel).\n\
5233\n\
5234 fill_width (PLFLT, input) : Defines the line width used by the fill\n\
5235 pattern.\n\
5236\n\
5237 cont_color (PLINT, input) : Defines cmap0 pen color used for\n\
5238 contours defining edges of shaded regions. The pen color is only\n\
5239 temporary set for the contour drawing. Set this value to zero or\n\
5240 less if no shade edge contours are wanted.\n\
5241\n\
5242 cont_width (PLFLT, input) : Defines line width used for contours\n\
5243 defining edges of shaded regions. This value may not be honored\n\
5244 by all drivers. The pen width is only temporary set for the\n\
5245 contour drawing. Set this value to zero or less if no shade edge\n\
5246 contours are wanted.\n\
5247\n\
5248 fill (PLFILL_callback, input) : Callback routine used to fill the\n\
5249 region. Use plfill for this purpose.\n\
5250\n\
5251 rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n\
5252 map to rectangles after coordinate transformation with pltrl.\n\
5253 Otherwise, set rectangular to false. If rectangular is set to\n\
5254 true, plshade tries to save time by filling large rectangles.\n\
5255 This optimization fails if the coordinate transformation distorts\n\
5256 the shape of rectangles. For example a plot in polar coordinates\n\
5257 has to have rectangular set to false.\n\
5258\n\
5259 pltr (PLTRANSFORM_callback, input) : A callback function that\n\
5260 defines the transformation between the zero-based indices of the\n\
5261 matrix a and world coordinates. If\n\
5262 pltr is not supplied (e.g., is set to NULL in the C case), then the x\n\
5263 indices of a are mapped to the range\n\
5264 xmin through\n\
5265 xmax and the y indices of a are mapped to the range\n\
5266 ymin through\n\
5267 ymax.For the C case, transformation functions are provided in the\n\
5268 PLplot library: pltr0 for the identity mapping, and pltr1 and\n\
5269 pltr2 for arbitrary mappings respectively defined by vectors and\n\
5270 matrices. In addition, C callback routines for the transformation\n\
5271 can be supplied by the user such as the mypltr function in\n\
5272 examples/c/x09c.c which provides a general linear transformation\n\
5273 between index coordinates and world coordinates.For languages\n\
5274 other than C you should consult the PLplot documentation for the\n\
5275 details concerning how PLTRANSFORM_callback arguments are\n\
5276 interfaced. However, in general, a particular pattern of\n\
5277 callback-associated arguments such as a tr vector with 6 elements;\n\
5278 xg and yg vectors; or xg and yg matrices are respectively\n\
5279 interfaced to a linear-transformation routine similar to the above\n\
5280 mypltr function; pltr1; and pltr2. Furthermore, some of our more\n\
5281 sophisticated bindings (see, e.g., the PLplot documentation)\n\
5282 support native language callbacks for handling index to\n\
5283 world-coordinate transformations. Examples of these various\n\
5284 approaches are given in examples/<language>x09*,\n\
5285 examples/<language>x16*, examples/<language>x20*,\n\
5286 examples/<language>x21*, and examples/<language>x22*, for all our\n\
5287 supported languages.\n\
5288\n\
5289 pltr_data (PLPointer, input) : Extra parameter to help pass\n\
5290 information to pltr0, pltr1, pltr2, or whatever routine that is\n\
5291 externally supplied.\n\
5292";
5293static const char* _wrap_plsfnam_texinfo = "-*- texinfo -*-\n\
5294Set output file name\n\
5295\n\
5296DESCRIPTION:\n\
5297\n\
5298 Sets the current output file name, if applicable. If the file name\n\
5299 has not been specified and is required by the driver, the user will be\n\
5300 prompted for it. If using the X-windows output driver, this sets the\n\
5301 display name. This routine, if used, must be called before\n\
5302 initializing PLplot.\n\
5303\n\
5304 Redacted form: plsfnam(fnam)\n\
5305\n\
5306 This function is used in examples 1 and 20.\n\
5307\n\
5308\n\
5309\n\
5310SYNOPSIS:\n\
5311\n\
5312plsfnam(fnam)\n\
5313\n\
5314ARGUMENTS:\n\
5315\n\
5316 fnam (PLCHAR_VECTOR, input) : An ascii character string containing\n\
5317 the file name.\n\
5318";
5319static const char* _wrap_plcont_texinfo = "-*- texinfo -*-\n\
5320Contour plot\n\
5321\n\
5322DESCRIPTION:\n\
5323\n\
5324 Draws a contour plot of the data in f[\n\
5325 nx][\n\
5326 ny], using the nlevel contour levels specified by clevel. Only the\n\
5327 region of the matrix from kx to lx and from ky to ly is plotted out\n\
5328 where all these index ranges are interpreted as one-based for\n\
5329 historical reasons. A transformation routine pointed to by pltr with\n\
5330 a generic pointer pltr_data for additional data required by the\n\
5331 transformation routine is used to map indices within the matrix to the\n\
5332 world coordinates.\n\
5333\n\
5334 Redacted form: plcont(f, kx, lx, ky, ly, clevel, pltr, pltr_data)\n\
5335 where (see above discussion) the pltr, pltr_data callback arguments\n\
5336 are sometimes replaced by a tr vector with 6 elements; xg and yg\n\
5337 vectors; or xg and yg matrices.\n\
5338\n\
5339 This function is used in examples 9, 14, 16, and 22.\n\
5340\n\
5341\n\
5342\n\
5343SYNOPSIS:\n\
5344\n\
5345plcont(f, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr, pltr_data)\n\
5346\n\
5347ARGUMENTS:\n\
5348\n\
5349 f (PLFLT_MATRIX, input) : A matrix containing data to be contoured.\n\
5350\n\
5351 nx, ny (PLINT, input) : The dimensions of the matrix f.\n\
5352\n\
5353 kx, lx (PLINT, input) : Range of x indices to consider where 0 <=\n\
5354 kx-1 < lx-1 < nx. Values of kx and lx are one-based rather than\n\
5355 zero-based for historical backwards-compatibility reasons.\n\
5356\n\
5357 ky, ly (PLINT, input) : Range of y indices to consider where 0 <=\n\
5358 ky-1 < ly-1 < ny. Values of ky and ly are one-based rather than\n\
5359 zero-based for historical backwards-compatibility reasons.\n\
5360\n\
5361 clevel (PLFLT_VECTOR, input) : A vector specifying the levels at\n\
5362 which to draw contours.\n\
5363\n\
5364 nlevel (PLINT, input) : Number of contour levels to draw.\n\
5365\n\
5366 pltr (PLTRANSFORM_callback, input) : A callback function that\n\
5367 defines the transformation between the zero-based indices of the\n\
5368 matrix f and the world coordinates.For the C case, transformation\n\
5369 functions are provided in the PLplot library: pltr0 for the\n\
5370 identity mapping, and pltr1 and pltr2 for arbitrary mappings\n\
5371 respectively defined by vectors and matrices. In addition, C\n\
5372 callback routines for the transformation can be supplied by the\n\
5373 user such as the mypltr function in examples/c/x09c.c which\n\
5374 provides a general linear transformation between index coordinates\n\
5375 and world coordinates.For languages other than C you should\n\
5376 consult the PLplot documentation for the details concerning how\n\
5377 PLTRANSFORM_callback arguments are interfaced. However, in\n\
5378 general, a particular pattern of callback-associated arguments\n\
5379 such as a tr vector with 6 elements; xg and yg vectors; or xg and\n\
5380 yg matrices are respectively interfaced to a linear-transformation\n\
5381 routine similar to the above mypltr function; pltr1; and pltr2.\n\
5382 Furthermore, some of our more sophisticated bindings (see, e.g.,\n\
5383 the PLplot documentation) support native language callbacks for\n\
5384 handling index to world-coordinate transformations. Examples of\n\
5385 these various approaches are given in examples/<language>x09*,\n\
5386 examples/<language>x16*, examples/<language>x20*,\n\
5387 examples/<language>x21*, and examples/<language>x22*, for all our\n\
5388 supported languages.\n\
5389\n\
5390 pltr_data (PLPointer, input) : Extra parameter to help pass\n\
5391 information to pltr0, pltr1, pltr2, or whatever callback routine\n\
5392 that is externally supplied.\n\
5393";
5394static const char* _wrap_plsdiplt_texinfo = "-*- texinfo -*-\n\
5395Set parameters that define current plot-space window\n\
5396\n\
5397DESCRIPTION:\n\
5398\n\
5399 Set relative minima and maxima that define the current plot-space\n\
5400 window. If plsdiplt is not called the default values of xmin, ymin,\n\
5401 xmax, and ymax are 0., 0., 1., and 1.\n\
5402\n\
5403 Redacted form: plsdiplt(xmin, ymin, xmax, ymax)\n\
5404\n\
5405 This function is used in example 31.\n\
5406\n\
5407\n\
5408\n\
5409SYNOPSIS:\n\
5410\n\
5411plsdiplt(xmin, ymin, xmax, ymax)\n\
5412\n\
5413ARGUMENTS:\n\
5414\n\
5415 xmin (PLFLT, input) : Relative minimum in x.\n\
5416\n\
5417 ymin (PLFLT, input) : Relative minimum in y.\n\
5418\n\
5419 xmax (PLFLT, input) : Relative maximum in x.\n\
5420\n\
5421 ymax (PLFLT, input) : Relative maximum in y.\n\
5422";
5423static const char* _wrap_plptex3_texinfo = "-*- texinfo -*-\n\
5424Write text inside the viewport of a 3D plot\n\
5425\n\
5426DESCRIPTION:\n\
5427\n\
5428 Writes text at a specified position and inclination and with a\n\
5429 specified shear within the viewport. Text is clipped at the viewport\n\
5430 boundaries. The reference point of a string lies along a line passing\n\
5431 through the string at half the height of a capital letter. The\n\
5432 position of the reference point along this line is determined by just,\n\
5433 and the reference point is placed at world coordinates (\n\
5434 wx,\n\
5435 wy,\n\
5436 wz) within the viewport. The inclination and shear of the string is\n\
5437 specified in terms of differences of world coordinates making it easy\n\
5438 to write text parallel to a line in a graph.\n\
5439\n\
5440 Redacted form: plptex3(x, y, z, dx, dy, dz, sx, sy, sz, just, text)\n\
5441\n\
5442 This function is used in example 28.\n\
5443\n\
5444\n\
5445\n\
5446SYNOPSIS:\n\
5447\n\
5448plptex3(wx, wy, wz, dx, dy, dz, sx, sy, sz, just, text)\n\
5449\n\
5450ARGUMENTS:\n\
5451\n\
5452 wx (PLFLT, input) : x world coordinate of reference point of\n\
5453 string.\n\
5454\n\
5455 wy (PLFLT, input) : y world coordinate of reference point of\n\
5456 string.\n\
5457\n\
5458 wz (PLFLT, input) : z world coordinate of reference point of\n\
5459 string.\n\
5460\n\
5461 dx (PLFLT, input) : Together with dy and\n\
5462 dz , this specifies the inclination of the string. The baseline of\n\
5463 the string is parallel to a line joining (\n\
5464 x,\n\
5465 y,\n\
5466 z) to (\n\
5467 x+\n\
5468 dx,\n\
5469 y+\n\
5470 dy,\n\
5471 z+\n\
5472 dz) .\n\
5473\n\
5474 dy (PLFLT, input) : Together with dx and\n\
5475 dz, this specifies the inclination of the string.\n\
5476\n\
5477 dz (PLFLT, input) : Together with dx and\n\
5478 dy, this specifies the inclination of the string.\n\
5479\n\
5480 sx (PLFLT, input) : Together with sy and\n\
5481 sz , this specifies the shear of the string. The string is sheared so\n\
5482 that the characters are vertically parallel to a line joining (\n\
5483 x,\n\
5484 y,\n\
5485 z) to (\n\
5486 x+\n\
5487 sx,\n\
5488 y+\n\
5489 sy,\n\
5490 z+\n\
5491 sz) . If sx =\n\
5492 sy =\n\
5493 sz = 0.) then the text is not sheared.\n\
5494\n\
5495 sy (PLFLT, input) : Together with sx and\n\
5496 sz, this specifies shear of the string.\n\
5497\n\
5498 sz (PLFLT, input) : Together with sx and\n\
5499 sy, this specifies shear of the string.\n\
5500\n\
5501 just (PLFLT, input) : Specifies the position of the string relative\n\
5502 to its reference point. If just=0. , the reference point is at\n\
5503 the left and if just=1. , it is at the right of the string. Other\n\
5504 values of just give intermediate justifications.\n\
5505\n\
5506 text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n\
5507 written out.\n\
5508";
5509static const char* _wrap_plmap_texinfo = "-*- texinfo -*-\n\
5510Plot continental outline or shapefile data in world coordinates\n\
5511\n\
5512DESCRIPTION:\n\
5513\n\
5514 Plots continental outlines or shapefile data in world coordinates. A\n\
5515 demonstration of how to use this function to create different\n\
5516 projections can be found in examples/c/x19c. PLplot is provided with\n\
5517 basic coastal outlines and USA state borders. To use the map\n\
5518 functionality PLplot must be compiled with the shapelib library.\n\
5519 Shapefiles have become a popular standard for geographical data and\n\
5520 data in this format can be easily found from a number of online\n\
5521 sources. Shapefile data is actually provided as three or more files\n\
5522 with the same filename, but different extensions. The .shp and .shx\n\
5523 files are required for plotting Shapefile data with PLplot.\n\
5524\n\
5525 PLplot currently supports the point, multipoint, polyline and polygon\n\
5526 objects within shapefiles. However holes in polygons are not\n\
5527 supported. When plmap is used the type of object is derived from the\n\
5528 shapefile, if you wish to override the type then use one of the other\n\
5529 plmap variants. The built in maps have line data only.\n\
5530\n\
5531 Redacted form: plmap(mapform, name, minx, maxx, miny, maxy)\n\
5532\n\
5533 This function is used in example 19.\n\
5534\n\
5535\n\
5536\n\
5537SYNOPSIS:\n\
5538\n\
5539plmap(mapform, name, minx, maxx, miny, maxy)\n\
5540\n\
5541ARGUMENTS:\n\
5542\n\
5543 mapform (PLMAPFORM_callback, input) : A user supplied function to\n\
5544 transform the original map data coordinates to a new coordinate\n\
5545 system. The PLplot-supplied map data is provided as latitudes and\n\
5546 longitudes; other Shapefile data may be provided in other\n\
5547 coordinate systems as can be found in their .prj plain text files.\n\
5548 For example, by using this transform we can change from a\n\
5549 longitude, latitude coordinate to a polar stereographic\n\
5550 projection. Initially, x[0]..[n-1] are the original x coordinates\n\
5551 (longitudes for the PLplot-supplied data) and y[0]..y[n-1] are the\n\
5552 corresponding y coordinates (latitudes for the PLplot supplied\n\
5553 data). After the call to mapform(), x[] and y[] should be\n\
5554 replaced by the corresponding plot coordinates. If no transform is\n\
5555 desired, mapform can be replaced by NULL.\n\
5556\n\
5557 name (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
5558 the type of map plotted. This is either one of the PLplot built-in\n\
5559 maps or the file name of a set of Shapefile files without the file\n\
5560 extensions. For the PLplot built-in maps the possible values are:\n\
5561 \"globe\" -- continental outlines\n\
5562 \"usa\" -- USA and state boundaries\n\
5563 \"cglobe\" -- continental outlines and countries\n\
5564 \"usaglobe\" -- USA, state boundaries and continental outlines\n\
5565\n\
5566\n\
5567 minx (PLFLT, input) : The minimum x value of map elements to be\n\
5568 drawn. The units must match the shapefile (built in maps are\n\
5569 degrees lat/lon). Objects in the file which do not encroach on the\n\
5570 box defined by minx, maxx, miny, maxy will not be rendered. But\n\
5571 note this is simply an optimisation, not a clipping so for objects\n\
5572 with some points inside the box and some points outside the box\n\
5573 all the points will be rendered. These parameters also define\n\
5574 latitude and longitude wrapping for shapefiles using these units.\n\
5575 Longitude points will be wrapped by integer multiples of 360\n\
5576 degrees to place them in the box. This allows the same data to be\n\
5577 used on plots from -180-180 or 0-360 longitude ranges. In fact if\n\
5578 you plot from -180-540 you will get two cycles of data drawn. The\n\
5579 value of minx must be less than the value of maxx. Passing in a\n\
5580 nan, max/-max floating point number or +/-infinity will case the\n\
5581 bounding box from the shapefile to be used.\n\
5582\n\
5583 maxx (PLFLT, input) : The maximum x value of map elements to be\n\
5584 drawn - see minx.\n\
5585\n\
5586 miny (PLFLT, input) : The minimum y value of map elements to be\n\
5587 drawn - see minx.\n\
5588\n\
5589 maxy (PLFLT, input) : The maximum y value of map elements to be\n\
5590 drawn - see minx.\n\
5591";
5592static const char* _wrap_plvpas_texinfo = "-*- texinfo -*-\n\
5593Specify viewport using coordinates and aspect ratio\n\
5594\n\
5595DESCRIPTION:\n\
5596\n\
5597 Device-independent routine for setting up the viewport. The viewport\n\
5598 is chosen to be the largest with the given aspect ratio that fits\n\
5599 within the specified region (in terms of normalized subpage\n\
5600 coordinates). This routine is functionally equivalent to plvpor when\n\
5601 a ``natural\'\' aspect ratio (0.0) is chosen. Unlike plvasp, this\n\
5602 routine reserves no extra space at the edges for labels.\n\
5603\n\
5604 Redacted form: plvpas(xmin, xmax, ymin, ymax, aspect)\n\
5605\n\
5606 This function is used in example 9.\n\
5607\n\
5608\n\
5609\n\
5610SYNOPSIS:\n\
5611\n\
5612plvpas(xmin, xmax, ymin, ymax, aspect)\n\
5613\n\
5614ARGUMENTS:\n\
5615\n\
5616 xmin (PLFLT, input) : The normalized subpage coordinate of the\n\
5617 left-hand edge of the viewport.\n\
5618\n\
5619 xmax (PLFLT, input) : The normalized subpage coordinate of the\n\
5620 right-hand edge of the viewport.\n\
5621\n\
5622 ymin (PLFLT, input) : The normalized subpage coordinate of the\n\
5623 bottom edge of the viewport.\n\
5624\n\
5625 ymax (PLFLT, input) : The normalized subpage coordinate of the top\n\
5626 edge of the viewport.\n\
5627\n\
5628 aspect (PLFLT, input) : Ratio of length of y axis to length of x\n\
5629 axis.\n\
5630";
5631static const char* _wrap_plspause_texinfo = "-*- texinfo -*-\n\
5632Set the pause (on end-of-page) status\n\
5633\n\
5634DESCRIPTION:\n\
5635\n\
5636 Set the pause (on end-of-page) status.\n\
5637\n\
5638 Redacted form: plspause(pause)\n\
5639\n\
5640 This function is in examples 14,20.\n\
5641\n\
5642\n\
5643\n\
5644SYNOPSIS:\n\
5645\n\
5646plspause(pause)\n\
5647\n\
5648ARGUMENTS:\n\
5649\n\
5650 pause (PLBOOL, input) : If pause is true there will be a pause on\n\
5651 end-of-page for those drivers which support this. Otherwise there\n\
5652 is no pause.\n\
5653";
5654static const char* _wrap_plot3d_texinfo = "-*- texinfo -*-\n\
5655Plot 3-d surface plot\n\
5656\n\
5657DESCRIPTION:\n\
5658\n\
5659 Plots a three-dimensional surface plot within the environment set up\n\
5660 by plw3d. The surface is defined by the matrix z[\n\
5661 nx][\n\
5662 ny] , the point z[i][j] being the value of the function at (\n\
5663 x[i],\n\
5664 y[j]). Note that the points in vectors x and y do not need to be\n\
5665 equally spaced, but must be stored in ascending order. The parameter\n\
5666 opt controls the way in which the surface is displayed. For further\n\
5667 details see the PLplot documentation. The only difference between\n\
5668 plmesh and plot3d is that plmesh draws the bottom side of the surface,\n\
5669 while plot3d only draws the surface as viewed from the top.\n\
5670\n\
5671 Redacted form: plot3d(x, y, z, opt, side)\n\
5672\n\
5673 This function is used in examples 11 and 21.\n\
5674\n\
5675\n\
5676\n\
5677SYNOPSIS:\n\
5678\n\
5679plot3d(x, y, z, nx, ny, opt, side)\n\
5680\n\
5681ARGUMENTS:\n\
5682\n\
5683 x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n\
5684 which the function is evaluated.\n\
5685\n\
5686 y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n\
5687 which the function is evaluated.\n\
5688\n\
5689 z (PLFLT_MATRIX, input) : A matrix containing function values to\n\
5690 plot. Should have dimensions of\n\
5691 nx by\n\
5692 ny.\n\
5693\n\
5694 nx (PLINT, input) : Number of x values at which function is\n\
5695 evaluated.\n\
5696\n\
5697 ny (PLINT, input) : Number of y values at which function is\n\
5698 evaluated.\n\
5699\n\
5700 opt (PLINT, input) : Determines the way in which the surface is\n\
5701 represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n\
5702 function of x for each value of y[j] .\n\
5703 opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n\
5704 for each value of x[i] .\n\
5705 opt=DRAW_LINEXY : Network of lines is drawn connecting points\n\
5706 at which function is defined.\n\
5707\n\
5708\n\
5709 side (PLBOOL, input) : Flag to indicate whether or not ``sides\'\'\n\
5710 should be draw on the figure. If side is true sides are drawn,\n\
5711 otherwise no sides are drawn.\n\
5712";
5713static const char* _wrap_plcpstrm_texinfo = "-*- texinfo -*-\n\
5714Copy state parameters from the reference stream to the current stream\n\
5715\n\
5716DESCRIPTION:\n\
5717\n\
5718 Copies state parameters from the reference stream to the current\n\
5719 stream. Tell driver interface to map device coordinates unless flags\n\
5720 == 1.\n\
5721\n\
5722 This function is used for making save files of selected plots (e.g.\n\
5723 from the TK driver). After initializing, you can get a copy of the\n\
5724 current plot to the specified device by switching to this stream and\n\
5725 issuing a plcpstrm and a plreplot, with calls to plbop and pleop as\n\
5726 appropriate. The plot buffer must have previously been enabled (done\n\
5727 automatically by some display drivers, such as X).\n\
5728\n\
5729 Redacted form: plcpstrm(iplsr, flags)\n\
5730\n\
5731 This function is used in example 1,20.\n\
5732\n\
5733\n\
5734\n\
5735SYNOPSIS:\n\
5736\n\
5737plcpstrm(iplsr, flags)\n\
5738\n\
5739ARGUMENTS:\n\
5740\n\
5741 iplsr (PLINT, input) : Number of reference stream.\n\
5742\n\
5743 flags (PLBOOL, input) : If flags is set to true the device\n\
5744 coordinates are not copied from the reference to current stream.\n\
5745";
5746static const char* _wrap_plspage_texinfo = "-*- texinfo -*-\n\
5747Set page parameters\n\
5748\n\
5749DESCRIPTION:\n\
5750\n\
5751 Sets the page configuration (optional). If an individual parameter is\n\
5752 zero then that parameter value is not updated. Not all parameters are\n\
5753 recognized by all drivers and the interpretation is device-dependent.\n\
5754 The X-window driver uses the length and offset parameters to determine\n\
5755 the window size and location. The length and offset values are\n\
5756 expressed in units that are specific to the current driver. For\n\
5757 instance: screen drivers will usually interpret them as number of\n\
5758 pixels, whereas printer drivers will usually use mm.\n\
5759\n\
5760 This routine, if used, must be called before initializing PLplot. It\n\
5761 may be called at later times for interactive drivers to change only\n\
5762 the dpi for subsequent redraws which you can force via a call to\n\
5763 plreplot. If this function is not called then the page size defaults\n\
5764 to landscape A4 for drivers which use real world page sizes and 744\n\
5765 pixels wide by 538 pixels high for raster drivers. The default value\n\
5766 for dx and dy is 90 pixels per inch for raster drivers.\n\
5767\n\
5768\n\
5769\n\
5770 Redacted form: plspage(xp, yp, xleng, yleng, xoff, yoff)\n\
5771\n\
5772 This function is used in examples 14 and 31.\n\
5773\n\
5774\n\
5775\n\
5776SYNOPSIS:\n\
5777\n\
5778plspage(xp, yp, xleng, yleng, xoff, yoff)\n\
5779\n\
5780ARGUMENTS:\n\
5781\n\
5782 xp (PLFLT, input) : Number of pixels per inch (DPI), x. Used only\n\
5783 by raster drivers, ignored by drivers which use \"real world\" units\n\
5784 (e.g. mm).\n\
5785\n\
5786 yp (PLFLT, input) : Number of pixels per inch (DPI), y. Used only\n\
5787 by raster drivers, ignored by drivers which use \"real world\" units\n\
5788 (e.g. mm).\n\
5789\n\
5790 xleng (PLINT, input) : Page length, x.\n\
5791\n\
5792 yleng (PLINT, input) : Page length, y.\n\
5793\n\
5794 xoff (PLINT, input) : Page offset, x.\n\
5795\n\
5796 yoff (PLINT, input) : Page offset, y.\n\
5797";
5798static const char* _wrap_plgcol0a_texinfo = "-*- texinfo -*-\n\
5799Returns 8-bit RGB values and PLFLT alpha transparency value for given color index from cmap0\n\
5800\n\
5801DESCRIPTION:\n\
5802\n\
5803 Returns 8-bit RGB values (0-255) and PLFLT alpha transparency value\n\
5804 (0.0-1.0) for given color from cmap0 (see the PLplot documentation).\n\
5805 Values are negative if an invalid color id is given.\n\
5806\n\
5807 Redacted form: plgcola(r, g, b)\n\
5808\n\
5809 This function is used in example 30.\n\
5810\n\
5811\n\
5812\n\
5813SYNOPSIS:\n\
5814\n\
5815plgcol0a(icol0, r, g, b, alpha)\n\
5816\n\
5817ARGUMENTS:\n\
5818\n\
5819 icol0 (PLINT, input) : Index of desired cmap0 color.\n\
5820\n\
5821 r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n\
5822 in the range from 0 to 255.\n\
5823\n\
5824 g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n\
5825 in the range from 0 to 255.\n\
5826\n\
5827 b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n\
5828 in the range from 0 to 255.\n\
5829\n\
5830 alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n\
5831 transparency in the range from (0.0-1.0).\n\
5832";
5833static const char* _wrap_plgcol0_texinfo = "-*- texinfo -*-\n\
5834Returns 8-bit RGB values for given color index from cmap0\n\
5835\n\
5836DESCRIPTION:\n\
5837\n\
5838 Returns 8-bit RGB values (0-255) for given color from cmap0 (see the\n\
5839 PLplot documentation). Values are negative if an invalid color id is\n\
5840 given.\n\
5841\n\
5842 Redacted form: plgcol0(icol0, r, g, b)\n\
5843\n\
5844 This function is used in example 2.\n\
5845\n\
5846\n\
5847\n\
5848SYNOPSIS:\n\
5849\n\
5850plgcol0(icol0, r, g, b)\n\
5851\n\
5852ARGUMENTS:\n\
5853\n\
5854 icol0 (PLINT, input) : Index of desired cmap0 color.\n\
5855\n\
5856 r (PLINT_NC_SCALAR, output) : Returned value of the 8-bit red\n\
5857 value.\n\
5858\n\
5859 g (PLINT_NC_SCALAR, output) : Returned value of the 8-bit green\n\
5860 value.\n\
5861\n\
5862 b (PLINT_NC_SCALAR, output) : Returned value of the 8-bit blue\n\
5863 value.\n\
5864";
5865static const char* _wrap_plsdiplz_texinfo = "-*- texinfo -*-\n\
5866Set parameters incrementally (zoom mode) that define current plot-space window\n\
5867\n\
5868DESCRIPTION:\n\
5869\n\
5870 Set relative minima and maxima incrementally (zoom mode) that define\n\
5871 the current plot-space window. This function has the same effect as\n\
5872 plsdiplt if that function has not been previously called. Otherwise,\n\
5873 this function implements zoom mode using the transformation min_used =\n\
5874 old_min + old_length*min and max_used = old_min + old_length*max for\n\
5875 each axis. For example, if min = 0.05 and max = 0.95 for each axis,\n\
5876 repeated calls to plsdiplz will zoom in by 10 per cent for each call.\n\
5877\n\
5878 Redacted form: plsdiplz(xmin, ymin, xmax, ymax)\n\
5879\n\
5880 This function is used in example 31.\n\
5881\n\
5882\n\
5883\n\
5884SYNOPSIS:\n\
5885\n\
5886plsdiplz(xmin, ymin, xmax, ymax)\n\
5887\n\
5888ARGUMENTS:\n\
5889\n\
5890 xmin (PLFLT, input) : Relative (incremental) minimum in x.\n\
5891\n\
5892 ymin (PLFLT, input) : Relative (incremental) minimum in y.\n\
5893\n\
5894 xmax (PLFLT, input) : Relative (incremental) maximum in x.\n\
5895\n\
5896 ymax (PLFLT, input) : Relative (incremental) maximum in y.\n\
5897";
5898static const char* _wrap_plmapfill_texinfo = "-*- texinfo -*-\n\
5899Plot all or a subset of Shapefile data, filling the polygons\n\
5900\n\
5901DESCRIPTION:\n\
5902\n\
5903 As per plmapline, however the items are filled in the same way as\n\
5904 plfill.\n\
5905\n\
5906 Redacted form: plmapfill(mapform, name, minx, maxx, miny, maxy,\n\
5907 plotentries)\n\
5908\n\
5909 This function is used in example 19.\n\
5910\n\
5911\n\
5912\n\
5913SYNOPSIS:\n\
5914\n\
5915plmapfill(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n\
5916\n\
5917ARGUMENTS:\n\
5918\n\
5919 mapform (PLMAPFORM_callback, input) : A user supplied function to\n\
5920 transform the coordinates given in the shapefile into a plot\n\
5921 coordinate system. By using this transform, we can change from a\n\
5922 longitude, latitude coordinate to a polar stereographic project,\n\
5923 for example. Initially, x[0]..[n-1] are the longitudes and\n\
5924 y[0]..y[n-1] are the corresponding latitudes. After the call to\n\
5925 mapform(), x[] and y[] should be replaced by the corresponding\n\
5926 plot coordinates. If no transform is desired, mapform can be\n\
5927 replaced by NULL.\n\
5928\n\
5929 name (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
5930 the file name of a set of Shapefile files without the file\n\
5931 extension.\n\
5932\n\
5933 minx (PLFLT, input) : The minimum x value to be plotted. This must\n\
5934 be in the same units as used by the Shapefile. You could use a\n\
5935 very large negative number to plot everything, but you can improve\n\
5936 performance by limiting the area drawn. The units must match those\n\
5937 of the Shapefile projection, which may be for example longitude or\n\
5938 distance. The value of minx must be less than the value of maxx.\n\
5939\n\
5940 maxx (PLFLT, input) : The maximum x value to be plotted. You could\n\
5941 use a very large number to plot everything, but you can improve\n\
5942 performance by limiting the area drawn.\n\
5943\n\
5944 miny (PLFLT, input) : The minimum y value to be plotted. This must\n\
5945 be in the same units as used by the Shapefile. You could use a\n\
5946 very large negative number to plot everything, but you can improve\n\
5947 performance by limiting the area drawn. The units must match those\n\
5948 of the Shapefile projection, which may be for example latitude or\n\
5949 distance. The value of miny must be less than the value of maxy.\n\
5950\n\
5951 maxy (PLFLT, input) : The maximum y value to be plotted. You could\n\
5952 use a very large number to plot everything, but you can improve\n\
5953 performance by limiting the area drawn.\n\
5954\n\
5955 plotentries (PLINT_VECTOR, input) : A vector containing the\n\
5956 zero-based indices of the Shapefile elements which will be drawn.\n\
5957 Setting\n\
5958 plotentries to NULL will plot all elements of the Shapefile.\n\
5959\n\
5960 nplotentries (PLINT, input) : The number of items in\n\
5961 plotentries. Ignored if\n\
5962 plotentries is NULL.\n\
5963";
5964static const char* _wrap_plline_texinfo = "-*- texinfo -*-\n\
5965Draw a line\n\
5966\n\
5967DESCRIPTION:\n\
5968\n\
5969 Draws line defined by n points in x and y.\n\
5970\n\
5971 Redacted form: plline(x, y)\n\
5972\n\
5973 This function is used in examples 1, 3, 4, 9, 12-14, 16, 18, 20, 22,\n\
5974 25-27, and 29.\n\
5975\n\
5976\n\
5977\n\
5978SYNOPSIS:\n\
5979\n\
5980plline(n, x, y)\n\
5981\n\
5982ARGUMENTS:\n\
5983\n\
5984 n (PLINT, input) : Number of points defining line.\n\
5985\n\
5986 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
5987 points.\n\
5988\n\
5989 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
5990 points.\n\
5991";
5992static const char* _wrap_plgvpw_texinfo = "-*- texinfo -*-\n\
5993Get viewport limits in world coordinates\n\
5994\n\
5995DESCRIPTION:\n\
5996\n\
5997 Get viewport limits in world coordinates.\n\
5998\n\
5999 Redacted form: General: plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n\
6000\n\
6001\n\
6002 This function is used in example 31.\n\
6003\n\
6004\n\
6005\n\
6006SYNOPSIS:\n\
6007\n\
6008plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n\
6009\n\
6010ARGUMENTS:\n\
6011\n\
6012 p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n\
6013 viewport limit of the world coordinate in x.\n\
6014\n\
6015 p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n\
6016 viewport limit of the world coordinate in x.\n\
6017\n\
6018 p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n\
6019 viewport limit of the world coordinate in y.\n\
6020\n\
6021 p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n\
6022 viewport limit of the world coordinate in y.\n\
6023";
6024static const char* _wrap_plpat_texinfo = "-*- texinfo -*-\n\
6025Set area line fill pattern\n\
6026\n\
6027DESCRIPTION:\n\
6028\n\
6029 Sets the area line fill pattern to be used, e.g., for calls to plfill.\n\
6030 The pattern consists of 1 or 2 sets of parallel lines with specified\n\
6031 inclinations and spacings. The arguments to this routine are the\n\
6032 number of sets to use (1 or 2) followed by two vectors (with 1 or 2\n\
6033 elements) specifying the inclinations in tenths of a degree and the\n\
6034 spacing in micrometers. (See also plpsty)\n\
6035\n\
6036 Redacted form: General: plpat(inc, del)\n\
6037\n\
6038\n\
6039 This function is used in example 15.\n\
6040\n\
6041\n\
6042\n\
6043SYNOPSIS:\n\
6044\n\
6045plpat(nlin, inc, del)\n\
6046\n\
6047ARGUMENTS:\n\
6048\n\
6049 nlin (PLINT, input) : Number of sets of lines making up the\n\
6050 pattern, either 1 or 2.\n\
6051\n\
6052 inc (PLINT_VECTOR, input) : A vector containing nlin values of the\n\
6053 inclination in tenths of a degree. (Should be between -900 and\n\
6054 900).\n\
6055\n\
6056 del (PLINT_VECTOR, input) : A vector containing nlin values of the\n\
6057 spacing in micrometers between the lines making up the pattern.\n\
6058";
6059static const char* _wrap_plsxax_texinfo = "-*- texinfo -*-\n\
6060Set x axis parameters\n\
6061\n\
6062DESCRIPTION:\n\
6063\n\
6064 Sets values of the digmax and digits flags for the x axis. See the\n\
6065 PLplot documentation for more information.\n\
6066\n\
6067 Redacted form: plsxax(digmax, digits)\n\
6068\n\
6069 This function is used in example 31.\n\
6070\n\
6071\n\
6072\n\
6073SYNOPSIS:\n\
6074\n\
6075plsxax(digmax, digits)\n\
6076\n\
6077ARGUMENTS:\n\
6078\n\
6079 digmax (PLINT, input) : Variable to set the maximum number of\n\
6080 digits for the x axis. If nonzero, the printed label will be\n\
6081 switched to a floating-point representation when the number of\n\
6082 digits exceeds digmax.\n\
6083\n\
6084 digits (PLINT, input) : Field digits value. Currently, changing\n\
6085 its value here has no effect since it is set only by plbox or\n\
6086 plbox3. However, the user may obtain its value after a call to\n\
6087 either of these functions by calling plgxax.\n\
6088";
6089static const char* _wrap_plgfam_texinfo = "-*- texinfo -*-\n\
6090Get family file parameters\n\
6091\n\
6092DESCRIPTION:\n\
6093\n\
6094 Gets information about current family file, if familying is enabled.\n\
6095 See the PLplot documentation for more information.\n\
6096\n\
6097 Redacted form: plgfam(p_fam, p_num, p_bmax)\n\
6098\n\
6099 This function is used in examples 14 and 31.\n\
6100\n\
6101\n\
6102\n\
6103SYNOPSIS:\n\
6104\n\
6105plgfam(p_fam, p_num, p_bmax)\n\
6106\n\
6107ARGUMENTS:\n\
6108\n\
6109 p_fam (PLINT_NC_SCALAR, output) : Returned value of the current\n\
6110 family flag value. If nonzero, familying is enabled for the\n\
6111 current device.\n\
6112\n\
6113 p_num (PLINT_NC_SCALAR, output) : Returned value of the current\n\
6114 family file number.\n\
6115\n\
6116 p_bmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n\
6117 file size (in bytes) for a family file.\n\
6118";
6119static const char* _wrap_plgyax_texinfo = "-*- texinfo -*-\n\
6120Get y axis parameters\n\
6121\n\
6122DESCRIPTION:\n\
6123\n\
6124 Identical to plgxax, except that arguments are flags for y axis. See\n\
6125 the description of plgxax for more detail.\n\
6126\n\
6127 Redacted form: plgyax(p_digmax, p_digits)\n\
6128\n\
6129 This function is used in example 31.\n\
6130\n\
6131\n\
6132\n\
6133SYNOPSIS:\n\
6134\n\
6135plgyax(p_digmax, p_digits)\n\
6136\n\
6137ARGUMENTS:\n\
6138\n\
6139 p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n\
6140 number of digits for the y axis. If nonzero, the printed label\n\
6141 has been switched to a floating-point representation when the\n\
6142 number of digits exceeds this value.\n\
6143\n\
6144 p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n\
6145 number of digits for the numeric labels (y axis) from the last\n\
6146 plot.\n\
6147";
6148static const char* _wrap_plpoin_texinfo = "-*- texinfo -*-\n\
6149Plot a glyph at the specified points\n\
6150\n\
6151DESCRIPTION:\n\
6152\n\
6153 Plot a glyph at the specified points. (This function is largely\n\
6154 superseded by plstring which gives access to many[!] more glyphs.)\n\
6155 code=-1 means try to just draw a point. Right now it\'s just a move\n\
6156 and a draw at the same place. Not ideal, since a sufficiently\n\
6157 intelligent output device may optimize it away, or there may be faster\n\
6158 ways of doing it. This is OK for now, though, and offers a 4X speedup\n\
6159 over drawing a Hershey font \"point\" (which is actually diamond shaped\n\
6160 and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n\
6161 useful (but small subset) of Hershey symbols is plotted. If 32 <=\n\
6162 code <= 127 the corresponding printable ASCII character is plotted.\n\
6163\n\
6164 Redacted form: plpoin(x, y, code)\n\
6165\n\
6166 This function is used in examples 1, 6, 14, and 29.\n\
6167\n\
6168\n\
6169\n\
6170SYNOPSIS:\n\
6171\n\
6172plpoin(n, x, y, code)\n\
6173\n\
6174ARGUMENTS:\n\
6175\n\
6176 n (PLINT, input) : Number of points in the x and y vectors.\n\
6177\n\
6178 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
6179 points.\n\
6180\n\
6181 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
6182 points.\n\
6183\n\
6184 code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n\
6185 with -1 <= code <= 127) corresponding to a glyph to be plotted at\n\
6186 each of the n points.\n\
6187";
6188static const char* _wrap_plmapstring_texinfo = "-*- texinfo -*-\n\
6189Plot all or a subset of Shapefile data using strings or points in world coordinates\n\
6190\n\
6191DESCRIPTION:\n\
6192\n\
6193 As per plmapline, however the items are plotted as strings or points\n\
6194 in the same way as plstring.\n\
6195\n\
6196 Redacted form: plmapstring(mapform, name, string, minx, maxx, miny,\n\
6197 maxy, plotentries)\n\
6198\n\
6199 This function is not used in any examples.\n\
6200\n\
6201\n\
6202\n\
6203SYNOPSIS:\n\
6204\n\
6205plmapstring(mapform, name, string, minx, maxx, miny, maxy, plotentries, nplotentries)\n\
6206\n\
6207ARGUMENTS:\n\
6208\n\
6209 mapform (PLMAPFORM_callback, input) : A user supplied function to\n\
6210 transform the coordinates given in the shapefile into a plot\n\
6211 coordinate system. By using this transform, we can change from a\n\
6212 longitude, latitude coordinate to a polar stereographic project,\n\
6213 for example. Initially, x[0]..[n-1] are the longitudes and\n\
6214 y[0]..y[n-1] are the corresponding latitudes. After the call to\n\
6215 mapform(), x[] and y[] should be replaced by the corresponding\n\
6216 plot coordinates. If no transform is desired, mapform can be\n\
6217 replaced by NULL.\n\
6218\n\
6219 name (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
6220 the file name of a set of Shapefile files without the file\n\
6221 extension.\n\
6222\n\
6223 string (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n\
6224 drawn.\n\
6225\n\
6226 minx (PLFLT, input) : The minimum x value to be plotted. This must\n\
6227 be in the same units as used by the Shapefile. You could use a\n\
6228 very large negative number to plot everything, but you can improve\n\
6229 performance by limiting the area drawn. The units must match those\n\
6230 of the Shapefile projection, which may be for example longitude or\n\
6231 distance. The value of minx must be less than the value of maxx.\n\
6232\n\
6233 maxx (PLFLT, input) : The maximum x value to be plotted. You could\n\
6234 use a very large number to plot everything, but you can improve\n\
6235 performance by limiting the area drawn.\n\
6236\n\
6237 miny (PLFLT, input) : The minimum y value to be plotted. This must\n\
6238 be in the same units as used by the Shapefile. You could use a\n\
6239 very large negative number to plot everything, but you can improve\n\
6240 performance by limiting the area drawn. The units must match those\n\
6241 of the Shapefile projection, which may be for example latitude or\n\
6242 distance. The value of miny must be less than the value of maxy.\n\
6243\n\
6244 maxy (PLFLT, input) : The maximum y value to be plotted. You could\n\
6245 use a very large number to plot everything, but you can improve\n\
6246 performance by limiting the area drawn.\n\
6247\n\
6248 plotentries (PLINT_VECTOR, input) : A vector containing the\n\
6249 zero-based indices of the Shapefile elements which will be drawn.\n\
6250 Setting\n\
6251 plotentries to NULL will plot all elements of the Shapefile.\n\
6252\n\
6253 nplotentries (PLINT, input) : The number of items in\n\
6254 plotentries. Ignored if\n\
6255 plotentries is NULL.\n\
6256";
6257static const char* _wrap_plpsty_texinfo = "-*- texinfo -*-\n\
6258Select area fill pattern\n\
6259\n\
6260DESCRIPTION:\n\
6261\n\
6262 If\n\
6263 patt is zero or less use either a hardware solid fill if the drivers\n\
6264 have that capability (virtually all do) or fall back to a software\n\
6265 emulation of a solid fill using the eighth area line fill pattern. If\n\
6266 0 <\n\
6267 patt <= 8, then select one of eight predefined area line fill patterns\n\
6268 to use (see plpat if you desire other patterns).\n\
6269\n\
6270 Redacted form: plpsty(patt)\n\
6271\n\
6272 This function is used in examples 12, 13, 15, 16, and 25.\n\
6273\n\
6274\n\
6275\n\
6276SYNOPSIS:\n\
6277\n\
6278plpsty(patt)\n\
6279\n\
6280ARGUMENTS:\n\
6281\n\
6282 patt (PLINT, input) : The desired pattern index. If\n\
6283 patt is zero or less, then a solid fill is (normally, see qualifiers\n\
6284 above) used. For\n\
6285 patt in the range from 1 to 8 and assuming the driver has not supplied\n\
6286 line fill capability itself (most deliberately do not so that line\n\
6287 fill patterns look identical for those drivers), the patterns\n\
6288 consist of (1) horizontal lines, (2) vertical lines, (3) lines at\n\
6289 45 degrees, (4) lines at -45 degrees, (5) lines at 30 degrees, (6)\n\
6290 lines at -30 degrees, (7) both vertical and horizontal lines, and\n\
6291 (8) lines at both 45 degrees and -45 degrees.\n\
6292";
6293static const char* _wrap_plscol0_texinfo = "-*- texinfo -*-\n\
6294Set 8-bit RGB values for given cmap0 color index\n\
6295\n\
6296DESCRIPTION:\n\
6297\n\
6298 Set 8-bit RGB values for given cmap0 (see the PLplot documentation)\n\
6299 index. Overwrites the previous color value for the given index and,\n\
6300 thus, does not result in any additional allocation of space for\n\
6301 colors.\n\
6302\n\
6303 Redacted form: plscol0(icol0, r, g, b)\n\
6304\n\
6305 This function is used in any example 31.\n\
6306\n\
6307\n\
6308\n\
6309SYNOPSIS:\n\
6310\n\
6311plscol0(icol0, r, g, b)\n\
6312\n\
6313ARGUMENTS:\n\
6314\n\
6315 icol0 (PLINT, input) : Color index. Must be less than the maximum\n\
6316 number of colors (which is set by default, by plscmap0n, or even\n\
6317 by plscmap0).\n\
6318\n\
6319 r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
6320 degree of red in the color.\n\
6321\n\
6322 g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
6323 degree of green in the color.\n\
6324\n\
6325 b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
6326 degree of blue in the color.\n\
6327";
6328static const char* _wrap_plscolor_texinfo = "-*- texinfo -*-\n\
6329Used to globally turn color output on/off\n\
6330\n\
6331DESCRIPTION:\n\
6332\n\
6333 Used to globally turn color output on/off for those drivers/devices\n\
6334 that support it.\n\
6335\n\
6336 Redacted form: plscolor(color)\n\
6337\n\
6338 This function is used in example 31.\n\
6339\n\
6340\n\
6341\n\
6342SYNOPSIS:\n\
6343\n\
6344plscolor(color)\n\
6345\n\
6346ARGUMENTS:\n\
6347\n\
6348 color (PLINT, input) : Color flag (Boolean). If zero, color is\n\
6349 turned off. If non-zero, color is turned on.\n\
6350";
6351static const char* _wrap_plend_texinfo = "-*- texinfo -*-\n\
6352End plotting session\n\
6353\n\
6354DESCRIPTION:\n\
6355\n\
6356 Ends a plotting session, tidies up all the output files, switches\n\
6357 interactive devices back into text mode and frees up any memory that\n\
6358 was allocated. Must be called before end of program.\n\
6359\n\
6360 By default, PLplot\'s interactive devices (Xwin, TK, etc.) go into a\n\
6361 wait state after a call to plend or other functions which trigger the\n\
6362 end of a plot page. To avoid this, use the plspause function.\n\
6363\n\
6364 Redacted form: plend()\n\
6365\n\
6366 This function is used in all of the examples.\n\
6367\n\
6368\n\
6369\n\
6370SYNOPSIS:\n\
6371\n\
6372plend()\n\
6373";
6374static const char* _wrap_plbin_texinfo = "-*- texinfo -*-\n\
6375Plot a histogram from binned data\n\
6376\n\
6377DESCRIPTION:\n\
6378\n\
6379 Plots a histogram consisting of nbin bins. The value associated with\n\
6380 the i\'th bin is placed in x[i], and the number of points in the bin is\n\
6381 placed in y[i]. For proper operation, the values in x[i] must form a\n\
6382 strictly increasing sequence. By default, x[i] is the left-hand edge\n\
6383 of the i\'th bin. If opt=PL_BIN_CENTRED is used, the bin boundaries are\n\
6384 placed midway between the values in the x vector. Also see plhist for\n\
6385 drawing histograms from unbinned data.\n\
6386\n\
6387 Redacted form: General: plbin(x, y, opt)\n\
6388 Python: plbin(nbin, x, y, opt)\n\
6389\n\
6390\n\
6391 This function is not used in any examples.\n\
6392\n\
6393\n\
6394\n\
6395SYNOPSIS:\n\
6396\n\
6397plbin(nbin, x, y, opt)\n\
6398\n\
6399ARGUMENTS:\n\
6400\n\
6401 nbin (PLINT, input) : Number of bins (i.e., number of values in x\n\
6402 and y vectors.)\n\
6403\n\
6404 x (PLFLT_VECTOR, input) : A vector containing values associated\n\
6405 with bins. These must form a strictly increasing sequence.\n\
6406\n\
6407 y (PLFLT_VECTOR, input) : A vector containing a number which is\n\
6408 proportional to the number of points in each bin. This is a PLFLT\n\
6409 (instead of PLINT) vector so as to allow histograms of\n\
6410 probabilities, etc.\n\
6411\n\
6412 opt (PLINT, input) : Is a combination of several flags:\n\
6413 opt=PL_BIN_DEFAULT: The x represent the lower bin boundaries, the\n\
6414 outer bins are expanded to fill up the entire x-axis and bins of\n\
6415 zero height are simply drawn.\n\
6416 opt=PL_BIN_CENTRED|...: The bin boundaries are to be midway\n\
6417 between the x values. If the values in x are equally spaced,\n\
6418 the values are the center values of the bins.\n\
6419 opt=PL_BIN_NOEXPAND|...: The outer bins are drawn with equal\n\
6420 size as the ones inside.\n\
6421 opt=PL_BIN_NOEMPTY|...: Bins with zero height are not drawn\n\
6422 (there is a gap for such bins).\n\
6423";
6424static const char* _wrap_plimagefr_texinfo = "-*- texinfo -*-\n\
6425Plot a 2D matrix using cmap1\n\
6426\n\
6427DESCRIPTION:\n\
6428\n\
6429 Plot a 2D matrix using cmap1.\n\
6430\n\
6431 Redacted form: General: plimagefr(idata, xmin, xmax, ymin, ymax, zmin,\n\
6432 zmax, valuemin, valuemax, pltr, pltr_data)\n\
6433\n\
6434\n\
6435 This function is used in example 20.\n\
6436\n\
6437\n\
6438\n\
6439SYNOPSIS:\n\
6440\n\
6441plimagefr(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr, pltr_data)\n\
6442\n\
6443ARGUMENTS:\n\
6444\n\
6445 idata (PLFLT_MATRIX, input) : A matrix of values (intensities) to\n\
6446 plot. Should have dimensions of\n\
6447 nx by\n\
6448 ny.\n\
6449\n\
6450 nx, ny (PLINT, input) : Dimensions of idata\n\
6451\n\
6452 xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n\
6453 pltr below for how these arguments are used (only for the special case\n\
6454 when the callback function\n\
6455 pltr is not supplied).\n\
6456\n\
6457 zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n\
6458 (inclusive) will be plotted.\n\
6459\n\
6460 valuemin, valuemax (PLFLT, input) : The minimum and maximum data\n\
6461 values to use for value to color mappings. A datum equal to or\n\
6462 less than valuemin will be plotted with color 0.0, while a datum\n\
6463 equal to or greater than valuemax will be plotted with color 1.0.\n\
6464 Data between valuemin and valuemax map linearly to colors in the\n\
6465 range (0.0-1.0).\n\
6466\n\
6467 pltr (PLTRANSFORM_callback, input) : A callback function that\n\
6468 defines the transformation between the zero-based indices of the\n\
6469 matrix idata and world coordinates. If\n\
6470 pltr is not supplied (e.g., is set to NULL in the C case), then the x\n\
6471 indices of idata are mapped to the range\n\
6472 xmin through\n\
6473 xmax and the y indices of idata are mapped to the range\n\
6474 ymin through\n\
6475 ymax.For the C case, transformation functions are provided in the\n\
6476 PLplot library: pltr0 for the identity mapping, and pltr1 and\n\
6477 pltr2 for arbitrary mappings respectively defined by vectors and\n\
6478 matrices. In addition, C callback routines for the transformation\n\
6479 can be supplied by the user such as the mypltr function in\n\
6480 examples/c/x09c.c which provides a general linear transformation\n\
6481 between index coordinates and world coordinates.For languages\n\
6482 other than C you should consult the PLplot documentation for the\n\
6483 details concerning how PLTRANSFORM_callback arguments are\n\
6484 interfaced. However, in general, a particular pattern of\n\
6485 callback-associated arguments such as a tr vector with 6 elements;\n\
6486 xg and yg vectors; or xg and yg matrices are respectively\n\
6487 interfaced to a linear-transformation routine similar to the above\n\
6488 mypltr function; pltr1; and pltr2. Furthermore, some of our more\n\
6489 sophisticated bindings (see, e.g., the PLplot documentation)\n\
6490 support native language callbacks for handling index to\n\
6491 world-coordinate transformations. Examples of these various\n\
6492 approaches are given in examples/<language>x09*,\n\
6493 examples/<language>x16*, examples/<language>x20*,\n\
6494 examples/<language>x21*, and examples/<language>x22*, for all our\n\
6495 supported languages.\n\
6496\n\
6497 pltr_data (PLPointer, input) : Extra parameter to help pass\n\
6498 information to pltr0, pltr1, pltr2, or whatever routine is\n\
6499 externally supplied.\n\
6500";
6501static const char* _wrap_pllightsource_texinfo = "-*- texinfo -*-\n\
6502Sets the 3D position of the light source\n\
6503\n\
6504DESCRIPTION:\n\
6505\n\
6506 Sets the 3D position of the light source for use with plsurf3d and\n\
6507 plsurf3dl\n\
6508\n\
6509 Redacted form: pllightsource(x, y, z)\n\
6510\n\
6511 This function is used in example 8.\n\
6512\n\
6513\n\
6514\n\
6515SYNOPSIS:\n\
6516\n\
6517pllightsource(x, y, z)\n\
6518\n\
6519ARGUMENTS:\n\
6520\n\
6521 x (PLFLT, input) : X-coordinate of the light source.\n\
6522\n\
6523 y (PLFLT, input) : Y-coordinate of the light source.\n\
6524\n\
6525 z (PLFLT, input) : Z-coordinate of the light source.\n\
6526";
6527static const char* _wrap_plot3dcl_texinfo = "-*- texinfo -*-\n\
6528Magnitude colored plot surface with contour for z[x][y] with y index limits\n\
6529\n\
6530DESCRIPTION:\n\
6531\n\
6532 When the implementation is completed this variant of plot3dc (see that\n\
6533 function\'s documentation for more details) should be suitable for the\n\
6534 case where the area of the x, y coordinate grid where z is defined can\n\
6535 be non-rectangular. The implementation is incomplete so the last 4\n\
6536 parameters of plot3dcl; indexxmin, indexxmax, indexymin, and\n\
6537 indexymax; are currently ignored and the functionality is otherwise\n\
6538 identical to that of plot3dc.\n\
6539\n\
6540 Redacted form: General: plot3dcl(x, y, z, opt, clevel, indexxmin,\n\
6541 indexymin, indexymax)\n\
6542\n\
6543\n\
6544 This function is not used in any example.\n\
6545\n\
6546\n\
6547\n\
6548SYNOPSIS:\n\
6549\n\
6550plot3dcl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n\
6551\n\
6552ARGUMENTS:\n\
6553\n\
6554 x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n\
6555 which the function is evaluated.\n\
6556\n\
6557 y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n\
6558 which the function is evaluated.\n\
6559\n\
6560 z (PLFLT_MATRIX, input) : A matrix containing function values to\n\
6561 plot. Should have dimensions of\n\
6562 nx by\n\
6563 ny.\n\
6564\n\
6565 nx (PLINT, input) : Number of x values at which the function is\n\
6566 evaluated.\n\
6567\n\
6568 ny (PLINT, input) : Number of y values at which the function is\n\
6569 evaluated.\n\
6570\n\
6571 opt (PLINT, input) : Determines the way in which the surface is\n\
6572 represented. To specify more than one option just add the options,\n\
6573 e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n\
6574 showing z as a function of x for each value of y[j] .\n\
6575 opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n\
6576 for each value of x[i] .\n\
6577 opt=DRAW_LINEXY : Network of lines is drawn connecting points\n\
6578 at which function is defined.\n\
6579 opt=MAG_COLOR : Each line in the mesh is colored according to\n\
6580 the z value being plotted. The color is used from the current\n\
6581 cmap1.\n\
6582 opt=BASE_CONT : A contour plot is drawn at the base XY plane\n\
6583 using parameters\n\
6584 nlevel and\n\
6585 clevel.\n\
6586 opt=DRAW_SIDES : draws a curtain between the base XY plane and\n\
6587 the borders of the plotted function.\n\
6588\n\
6589\n\
6590 clevel (PLFLT_VECTOR, input) : A vector containing the contour\n\
6591 levels.\n\
6592\n\
6593 nlevel (PLINT, input) : Number of elements in the clevel vector.\n\
6594\n\
6595 indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n\
6596 corresponds to the first x index where z is defined.\n\
6597\n\
6598 indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n\
6599 which corresponds (by convention) to one more than the last x\n\
6600 index value where z is defined.\n\
6601\n\
6602 indexymin (PLINT_VECTOR, input) : A vector containing y index\n\
6603 values which all must be ≥ 0. These values are the first y index\n\
6604 where z is defined for a particular x index in the range from\n\
6605 indexxmin to indexxmax - 1. The dimension of indexymin is\n\
6606 indexxmax.\n\
6607\n\
6608 indexymax (PLINT_VECTOR, input) : A vector containing y index\n\
6609 values which all must be ≤ ny. These values correspond (by\n\
6610 convention) to one more than the last y index where z is defined\n\
6611 for a particular x index in the range from indexxmin to indexxmax\n\
6612 - 1. The dimension of indexymax is indexxmax.\n\
6613";
6614static const char* _wrap_plmkstrm_texinfo = "-*- texinfo -*-\n\
6615Creates a new stream and makes it the default\n\
6616\n\
6617DESCRIPTION:\n\
6618\n\
6619 Creates a new stream and makes it the default. Differs from using\n\
6620 plsstrm, in that a free stream number is found, and returned.\n\
6621 Unfortunately, I have to start at stream 1 and work upward, since\n\
6622 stream 0 is preallocated. One of the big flaws in the PLplot API is\n\
6623 that no initial, library-opening call is required. So stream 0 must\n\
6624 be preallocated, and there is no simple way of determining whether it\n\
6625 is already in use or not.\n\
6626\n\
6627 Redacted form: plmkstrm(p_strm)\n\
6628\n\
6629 This function is used in examples 1 and 20.\n\
6630\n\
6631\n\
6632\n\
6633SYNOPSIS:\n\
6634\n\
6635plmkstrm(p_strm)\n\
6636\n\
6637ARGUMENTS:\n\
6638\n\
6639 p_strm (PLINT_NC_SCALAR, output) : Returned value of the stream\n\
6640 number of the created stream.\n\
6641";
6642static const char* _wrap_plsfci_texinfo = "-*- texinfo -*-\n\
6643Set FCI (font characterization integer)\n\
6644\n\
6645DESCRIPTION:\n\
6646\n\
6647 Sets font characteristics to be used at the start of the next string\n\
6648 using the FCI approach. See the PLplot documentation for more\n\
6649 information. Note, plsfont (which calls plsfci internally) provides a\n\
6650 more user-friendly API for setting the font characterisitics.\n\
6651\n\
6652 Redacted form: General: plsfci(fci)\n\
6653\n\
6654\n\
6655 This function is used in example 23.\n\
6656\n\
6657\n\
6658\n\
6659SYNOPSIS:\n\
6660\n\
6661plsfci(fci)\n\
6662\n\
6663ARGUMENTS:\n\
6664\n\
6665 fci (PLUNICODE, input) : PLUNICODE (unsigned 32-bit integer) value\n\
6666 of FCI.\n\
6667";
6668static const char* _wrap_plinit_texinfo = "-*- texinfo -*-\n\
6669Initialize PLplot\n\
6670\n\
6671DESCRIPTION:\n\
6672\n\
6673 Initializing the plotting package. The program prompts for the device\n\
6674 keyword or number of the desired output device. Hitting a RETURN in\n\
6675 response to the prompt is the same as selecting the first device.\n\
6676 plinit will issue no prompt if either the device was specified\n\
6677 previously (via command line flag, the plsetopt function, or the\n\
6678 plsdev function), or if only one device is enabled when PLplot is\n\
6679 installed. If subpages have been specified, the output device is\n\
6680 divided into nx by ny subpages, each of which may be used\n\
6681 independently. If plinit is called again during a program, the\n\
6682 previously opened file will be closed. The subroutine pladv is used\n\
6683 to advance from one subpage to the next.\n\
6684\n\
6685 Redacted form: plinit()\n\
6686\n\
6687 This function is used in all of the examples.\n\
6688\n\
6689\n\
6690\n\
6691SYNOPSIS:\n\
6692\n\
6693plinit()\n\
6694";
6695static const char* _wrap_plstyl_texinfo = "-*- texinfo -*-\n\
6696Set line style\n\
6697\n\
6698DESCRIPTION:\n\
6699\n\
6700 This sets up the line style for all lines subsequently drawn. A line\n\
6701 consists of segments in which the pen is alternately down and up. The\n\
6702 lengths of these segments are passed in the vectors mark and space\n\
6703 respectively. The number of mark-space pairs is specified by nms. In\n\
6704 order to return the line style to the default continuous line, plstyl\n\
6705 should be called with nms =0 .(see also pllsty)\n\
6706\n\
6707 Redacted form: plstyl(mark, space)\n\
6708\n\
6709 This function is used in examples 1, 9, and 14.\n\
6710\n\
6711\n\
6712\n\
6713SYNOPSIS:\n\
6714\n\
6715plstyl(nms, mark, space)\n\
6716\n\
6717ARGUMENTS:\n\
6718\n\
6719 nms (PLINT, input) : The number of mark and space elements in a\n\
6720 line. Thus a simple broken line can be obtained by setting nms=1\n\
6721 . A continuous line is specified by setting nms=0 .\n\
6722\n\
6723 mark (PLINT_VECTOR, input) : A vector containing the lengths of the\n\
6724 segments during which the pen is down, measured in micrometers.\n\
6725\n\
6726 space (PLINT_VECTOR, input) : A vector containing the lengths of\n\
6727 the segments during which the pen is up, measured in micrometers.\n\
6728";
6729static const char* _wrap_plsmin_texinfo = "-*- texinfo -*-\n\
6730Set length of minor ticks\n\
6731\n\
6732DESCRIPTION:\n\
6733\n\
6734 This sets up the length of the minor ticks and the length of the\n\
6735 terminals on error bars. The actual length is the product of the\n\
6736 default length and a scaling factor as for character height.\n\
6737\n\
6738 Redacted form: plsmin(def, scale)\n\
6739\n\
6740 This function is used in example 29.\n\
6741\n\
6742\n\
6743\n\
6744SYNOPSIS:\n\
6745\n\
6746plsmin(def, scale)\n\
6747\n\
6748ARGUMENTS:\n\
6749\n\
6750 def (PLFLT, input) : The default length of a minor tick in\n\
6751 millimeters, should be set to zero if the default length is to\n\
6752 remain unchanged.\n\
6753\n\
6754 scale (PLFLT, input) : Scale factor to be applied to default to get\n\
6755 actual tick length.\n\
6756";
6757static const char* _wrap_plbox3_texinfo = "-*- texinfo -*-\n\
6758Draw a box with axes, etc, in 3-d\n\
6759\n\
6760DESCRIPTION:\n\
6761\n\
6762 Draws axes, numeric and text labels for a three-dimensional surface\n\
6763 plot. For a more complete description of three-dimensional plotting\n\
6764 see the PLplot documentation.\n\
6765\n\
6766 Redacted form: General: plbox3(xopt, xlabel, xtick, nxsub, yopt,\n\
6767 ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n\
6768\n\
6769\n\
6770 This function is used in examples 8, 11, 18, and 21.\n\
6771\n\
6772\n\
6773\n\
6774SYNOPSIS:\n\
6775\n\
6776plbox3(xopt, xlabel, xtick, nxsub, yopt, ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n\
6777\n\
6778ARGUMENTS:\n\
6779\n\
6780 xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
6781 options for the x axis. The string can include any combination of\n\
6782 the following letters (upper or lower case) in any order: b: Draws\n\
6783 axis at base, at height z=\n\
6784 zmin where zmin is defined by call to plw3d. This character must be\n\
6785 specified in order to use any of the other options.\n\
6786 d: Plot labels as date / time. Values are assumed to be\n\
6787 seconds since the epoch (as used by gmtime).\n\
6788 f: Always use fixed point numeric labels.\n\
6789 i: Inverts tick marks, so they are drawn downwards, rather\n\
6790 than upwards.\n\
6791 l: Labels axis logarithmically. This only affects the labels,\n\
6792 not the data, and so it is necessary to compute the logarithms\n\
6793 of data points before passing them to any of the drawing\n\
6794 routines.\n\
6795 n: Writes numeric labels at major tick intervals.\n\
6796 o: Use custom labelling function to generate axis label text.\n\
6797 The custom labelling function can be defined with the\n\
6798 plslabelfunc command.\n\
6799 s: Enables subticks between major ticks, only valid if t is\n\
6800 also specified.\n\
6801 t: Draws major ticks.\n\
6802 u: If this is specified, the text label for the axis is\n\
6803 written under the axis.\n\
6804\n\
6805\n\
6806 xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n\
6807 the text label for the x axis. It is only drawn if u is in the\n\
6808 xopt string.\n\
6809\n\
6810 xtick (PLFLT, input) : World coordinate interval between major\n\
6811 ticks on the x axis. If it is set to zero, PLplot automatically\n\
6812 generates a suitable tick interval.\n\
6813\n\
6814 nxsub (PLINT, input) : Number of subintervals between major x axis\n\
6815 ticks for minor ticks. If it is set to zero, PLplot automatically\n\
6816 generates a suitable minor tick interval.\n\
6817\n\
6818 yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
6819 options for the y axis. The string is interpreted in the same way\n\
6820 as xopt.\n\
6821\n\
6822 ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n\
6823 the text label for the y axis. It is only drawn if u is in the\n\
6824 yopt string.\n\
6825\n\
6826 ytick (PLFLT, input) : World coordinate interval between major\n\
6827 ticks on the y axis. If it is set to zero, PLplot automatically\n\
6828 generates a suitable tick interval.\n\
6829\n\
6830 nysub (PLINT, input) : Number of subintervals between major y axis\n\
6831 ticks for minor ticks. If it is set to zero, PLplot automatically\n\
6832 generates a suitable minor tick interval.\n\
6833\n\
6834 zopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
6835 options for the z axis. The string can include any combination of\n\
6836 the following letters (upper or lower case) in any order: b: Draws\n\
6837 z axis to the left of the surface plot.\n\
6838 c: Draws z axis to the right of the surface plot.\n\
6839 d: Draws grid lines parallel to the x-y plane behind the\n\
6840 figure. These lines are not drawn until after plot3d or\n\
6841 plmesh are called because of the need for hidden line removal.\n\
6842 e: Plot labels as date / time. Values are assumed to be\n\
6843 seconds since the epoch (as used by gmtime). Note this\n\
6844 suboption is interpreted the same as the d suboption for xopt\n\
6845 and yopt, but it has to be identified as e for zopt since d\n\
6846 has already been used for the different purpose above.\n\
6847 f: Always use fixed point numeric labels.\n\
6848 i: Inverts tick marks, so they are drawn away from the center.\n\
6849 l: Labels axis logarithmically. This only affects the labels,\n\
6850 not the data, and so it is necessary to compute the logarithms\n\
6851 of data points before passing them to any of the drawing\n\
6852 routines.\n\
6853 m: Writes numeric labels at major tick intervals on the\n\
6854 right-hand z axis.\n\
6855 n: Writes numeric labels at major tick intervals on the\n\
6856 left-hand z axis.\n\
6857 o: Use custom labelling function to generate axis label text.\n\
6858 The custom labelling function can be defined with the\n\
6859 plslabelfunc command.\n\
6860 s: Enables subticks between major ticks, only valid if t is\n\
6861 also specified.\n\
6862 t: Draws major ticks.\n\
6863 u: If this is specified, the text label is written beside the\n\
6864 left-hand axis.\n\
6865 v: If this is specified, the text label is written beside the\n\
6866 right-hand axis.\n\
6867\n\
6868\n\
6869 zlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n\
6870 the text label for the z axis. It is only drawn if u or v are in\n\
6871 the zopt string.\n\
6872\n\
6873 ztick (PLFLT, input) : World coordinate interval between major\n\
6874 ticks on the z axis. If it is set to zero, PLplot automatically\n\
6875 generates a suitable tick interval.\n\
6876\n\
6877 nzsub (PLINT, input) : Number of subintervals between major z axis\n\
6878 ticks for minor ticks. If it is set to zero, PLplot automatically\n\
6879 generates a suitable minor tick interval.\n\
6880";
6881static const char* _wrap_plschr_texinfo = "-*- texinfo -*-\n\
6882Set character size\n\
6883\n\
6884DESCRIPTION:\n\
6885\n\
6886 This sets up the size of all subsequent characters drawn. The actual\n\
6887 height of a character is the product of the default character size and\n\
6888 a scaling factor.\n\
6889\n\
6890 Redacted form: plschr(def, scale)\n\
6891\n\
6892 This function is used in examples 2, 13, 23, and 24.\n\
6893\n\
6894\n\
6895\n\
6896SYNOPSIS:\n\
6897\n\
6898plschr(def, scale)\n\
6899\n\
6900ARGUMENTS:\n\
6901\n\
6902 def (PLFLT, input) : The default height of a character in\n\
6903 millimeters, should be set to zero if the default height is to\n\
6904 remain unchanged. For rasterized drivers the dx and dy values\n\
6905 specified in plspage are used to convert from mm to pixels (note\n\
6906 the different unit systems used). This dpi aware scaling is not\n\
6907 implemented for all drivers yet.\n\
6908\n\
6909 scale (PLFLT, input) : Scale factor to be applied to default to get\n\
6910 actual character height.\n\
6911";
6912static const char* _wrap_plctime_texinfo = "-*- texinfo -*-\n\
6913Calculate continuous time from broken-down time for the current stream\n\
6914\n\
6915DESCRIPTION:\n\
6916\n\
6917 Calculate continuous time, ctime, from broken-down time for the\n\
6918 current stream. The broken-down\n\
6919 time is specified by the following parameters: year, month, day, hour,\n\
6920 min, and sec. This function is the inverse of plbtime.\n\
6921\n\
6922 The PLplot definition of broken-down time is a calendar time that\n\
6923 completely ignores all time zone offsets, i.e., it is the user\'s\n\
6924 responsibility to apply those offsets (if so desired) before using the\n\
6925 PLplot time API. By default broken-down time is defined using the\n\
6926 proleptic Gregorian calendar without the insertion of leap seconds and\n\
6927 continuous time is defined as the number of seconds since the Unix\n\
6928 epoch of 1970-01-01T00:00:00Z. However, other definitions of\n\
6929 broken-down and continuous time are possible, see plconfigtime which\n\
6930 specifies that transformation for the current stream.\n\
6931\n\
6932 Redacted form: General: plctime(year, month, day, hour, min, sec,\n\
6933 ctime)\n\
6934\n\
6935\n\
6936 This function is used in example 29.\n\
6937\n\
6938\n\
6939\n\
6940SYNOPSIS:\n\
6941\n\
6942plctime(year, month, day, hour, min, sec, ctime)\n\
6943\n\
6944ARGUMENTS:\n\
6945\n\
6946 year (PLINT, input) : Input year.\n\
6947\n\
6948 month (PLINT, input) : Input month in range from 0 (January) to 11\n\
6949 (December).\n\
6950\n\
6951 day (PLINT, input) : Input day in range from 1 to 31.\n\
6952\n\
6953 hour (PLINT, input) : Input hour in range from 0 to 23\n\
6954\n\
6955 min (PLINT, input) : Input minute in range from 0 to 59.\n\
6956\n\
6957 sec (PLFLT, input) : Input second in range from 0. to 60.\n\
6958\n\
6959 ctime (PLFLT_NC_SCALAR, output) : Returned value of the continuous\n\
6960 time calculated from the broken-down time specified by the\n\
6961 previous parameters.\n\
6962";
6963static const char* _wrap_plcol0_texinfo = "-*- texinfo -*-\n\
6964Set color, cmap0\n\
6965\n\
6966DESCRIPTION:\n\
6967\n\
6968 Sets the color index for cmap0 (see the PLplot documentation).\n\
6969\n\
6970 Redacted form: plcol0(icol0)\n\
6971\n\
6972 This function is used in examples 1-9, 11-16, 18-27, and 29.\n\
6973\n\
6974\n\
6975\n\
6976SYNOPSIS:\n\
6977\n\
6978plcol0(icol0)\n\
6979\n\
6980ARGUMENTS:\n\
6981\n\
6982 icol0 (PLINT, input) : Integer representing the color. The\n\
6983 defaults at present are (these may change):\n\
6984 0 black (default background)\n\
6985 1 red (default foreground)\n\
6986 2 yellow\n\
6987 3 green\n\
6988 4 aquamarine\n\
6989 5 pink\n\
6990 6 wheat\n\
6991 7 grey\n\
6992 8 brown\n\
6993 9 blue\n\
6994 10 BlueViolet\n\
6995 11 cyan\n\
6996 12 turquoise\n\
6997 13 magenta\n\
6998 14 salmon\n\
6999 15 white\n\
7000\n\
7001 Use plscmap0 to change the entire cmap0 color palette and plscol0 to\n\
7002 change an individual color in the cmap0 color palette.\n\
7003";
7004static const char* _wrap_plcol1_texinfo = "-*- texinfo -*-\n\
7005Set color, cmap1\n\
7006\n\
7007DESCRIPTION:\n\
7008\n\
7009 Sets the color for cmap1 (see the PLplot documentation).\n\
7010\n\
7011 Redacted form: plcol1(col1)\n\
7012\n\
7013 This function is used in examples 12 and 21.\n\
7014\n\
7015\n\
7016\n\
7017SYNOPSIS:\n\
7018\n\
7019plcol1(col1)\n\
7020\n\
7021ARGUMENTS:\n\
7022\n\
7023 col1 (PLFLT, input) : This value must be in the range (0.0-1.0) and\n\
7024 is mapped to color using the continuous cmap1 palette which by\n\
7025 default ranges from blue to the background color to red. The\n\
7026 cmap1 palette can also be straightforwardly changed by the user\n\
7027 with plscmap1 or plscmap1l.\n\
7028";
7029static const char* _wrap_plgcolbg_texinfo = "-*- texinfo -*-\n\
7030Returns the background color (cmap0[0]) by 8-bit RGB value\n\
7031\n\
7032DESCRIPTION:\n\
7033\n\
7034 Returns the background color (cmap0[0]) by 8-bit RGB value.\n\
7035\n\
7036 Redacted form: plgcolbg(r, g, b)\n\
7037\n\
7038 This function is used in example 31.\n\
7039\n\
7040\n\
7041\n\
7042SYNOPSIS:\n\
7043\n\
7044plgcolbg(r, g, b)\n\
7045\n\
7046ARGUMENTS:\n\
7047\n\
7048 r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n\
7049 in the range from 0 to 255.\n\
7050\n\
7051 g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n\
7052 in the range from 0 to 255.\n\
7053\n\
7054 b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n\
7055 in the range from 0 to 255.\n\
7056";
7057static const char* _wrap_plarc_texinfo = "-*- texinfo -*-\n\
7058Draw a circular or elliptical arc\n\
7059\n\
7060DESCRIPTION:\n\
7061\n\
7062 Draw a possibly filled arc centered at x, y with semimajor axis a and\n\
7063 semiminor axis b, starting at angle1 and ending at angle2.\n\
7064\n\
7065 Redacted form: General: plarc(x, y, a, b, angle1, angle2, rotate,\n\
7066 fill)\n\
7067\n\
7068\n\
7069 This function is used in examples 3 and 27.\n\
7070\n\
7071\n\
7072\n\
7073SYNOPSIS:\n\
7074\n\
7075plarc(x, y, a, b, angle1, angle2, rotate, fill)\n\
7076\n\
7077ARGUMENTS:\n\
7078\n\
7079 x (PLFLT, input) : X coordinate of arc center.\n\
7080\n\
7081 y (PLFLT, input) : Y coordinate of arc center.\n\
7082\n\
7083 a (PLFLT, input) : Length of the semimajor axis of the arc.\n\
7084\n\
7085 b (PLFLT, input) : Length of the semiminor axis of the arc.\n\
7086\n\
7087 angle1 (PLFLT, input) : Starting angle of the arc relative to the\n\
7088 semimajor axis.\n\
7089\n\
7090 angle2 (PLFLT, input) : Ending angle of the arc relative to the\n\
7091 semimajor axis.\n\
7092\n\
7093 rotate (PLFLT, input) : Angle of the semimajor axis relative to the\n\
7094 X-axis.\n\
7095\n\
7096 fill (PLBOOL, input) : Draw a filled arc.\n\
7097";
7098static const char* _wrap_plparseopts_texinfo = "-*- texinfo -*-\n\
7099Parse command-line arguments\n\
7100\n\
7101DESCRIPTION:\n\
7102\n\
7103 Parse command-line arguments.\n\
7104\n\
7105 plparseopts removes all recognized flags (decreasing argc\n\
7106 accordingly), so that invalid input may be readily detected. It can\n\
7107 also be used to process user command line flags. The user can merge\n\
7108 an option table of type PLOptionTable into the internal option table\n\
7109 info structure using plMergeOpts. Or, the user can specify that ONLY\n\
7110 the external table(s) be parsed by calling plClearOpts before\n\
7111 plMergeOpts.\n\
7112\n\
7113 The default action taken by plparseopts is as follows:\n\
7114 Returns with an error if an unrecognized option or badly formed\n\
7115 option-value pair are encountered.\n\
7116 Returns immediately (return code 0) when the first non-option command\n\
7117 line argument is found.\n\
7118 Returns with the return code of the option handler, if one was called.\n\
7119\n\
7120 Deletes command line arguments from argv list as they are found, and\n\
7121 decrements argc accordingly.\n\
7122 Does not show \"invisible\" options in usage or help messages.\n\
7123 Assumes the program name is contained in argv[0].\n\
7124\n\
7125 These behaviors may be controlled through the\n\
7126 mode argument.\n\
7127\n\
7128 Redacted form: General: plparseopts(argv, mode)\n\
7129\n\
7130\n\
7131 This function is used in all of the examples.\n\
7132\n\
7133\n\
7134\n\
7135SYNOPSIS:\n\
7136\n\
7137PLINT plparseopts(p_argc, argv, mode)\n\
7138\n\
7139ARGUMENTS:\n\
7140\n\
7141 p_argc (int *, input/output) : Number of arguments.\n\
7142\n\
7143 argv (PLCHAR_NC_MATRIX, input/output) : A vector of character\n\
7144 strings containing *p_argc command-line arguments.\n\
7145\n\
7146 mode (PLINT, input) : Parsing mode with the following\n\
7147 possibilities: PL_PARSE_FULL (1) -- Full parsing of command line\n\
7148 and all error messages enabled, including program exit when an\n\
7149 error occurs. Anything on the command line that isn\'t recognized\n\
7150 as a valid option or option argument is flagged as an error.\n\
7151 PL_PARSE_QUIET (2) -- Turns off all output except in the case\n\
7152 of errors.\n\
7153 PL_PARSE_NODELETE (4) -- Turns off deletion of processed\n\
7154 arguments.\n\
7155 PL_PARSE_SHOWALL (8) -- Show invisible options\n\
7156 PL_PARSE_NOPROGRAM (32) -- Specified if argv[0] is NOT a\n\
7157 pointer to the program name.\n\
7158 PL_PARSE_NODASH (64) -- Set if leading dash is NOT required.\n\
7159 PL_PARSE_SKIP (128) -- Set to quietly skip over any\n\
7160 unrecognized arguments.\n\
7161";
7162static const char* _wrap_plgdidev_texinfo = "-*- texinfo -*-\n\
7163Get parameters that define current device-space window\n\
7164\n\
7165DESCRIPTION:\n\
7166\n\
7167 Get relative margin width, aspect ratio, and relative justification\n\
7168 that define current device-space window. If plsdidev has not been\n\
7169 called the default values pointed to by p_mar, p_aspect, p_jx, and\n\
7170 p_jy will all be 0.\n\
7171\n\
7172 Redacted form: plgdidev(p_mar, p_aspect, p_jx, p_jy)\n\
7173\n\
7174 This function is used in example 31.\n\
7175\n\
7176\n\
7177\n\
7178SYNOPSIS:\n\
7179\n\
7180plgdidev(p_mar, p_aspect, p_jx, p_jy)\n\
7181\n\
7182ARGUMENTS:\n\
7183\n\
7184 p_mar (PLFLT_NC_SCALAR, output) : Returned value of the relative\n\
7185 margin width.\n\
7186\n\
7187 p_aspect (PLFLT_NC_SCALAR, output) : Returned value of the aspect\n\
7188 ratio.\n\
7189\n\
7190 p_jx (PLFLT_NC_SCALAR, output) : Returned value of the relative\n\
7191 justification in x.\n\
7192\n\
7193 p_jy (PLFLT_NC_SCALAR, output) : Returned value of the relative\n\
7194 justification in y.\n\
7195";
7196static const char* _wrap_plslabelfunc_texinfo = "-*- texinfo -*-\n\
7197Assign a function to use for generating custom axis labels\n\
7198\n\
7199DESCRIPTION:\n\
7200\n\
7201 This function allows a user to provide their own function to provide\n\
7202 axis label text. The user function is given the numeric value for a\n\
7203 point on an axis and returns a string label to correspond with that\n\
7204 value. Custom axis labels can be enabled by passing appropriate\n\
7205 arguments to plenv, plbox, plbox3 and similar functions.\n\
7206\n\
7207 This function is used in example 19.\n\
7208\n\
7209\n\
7210\n\
7211SYNOPSIS:\n\
7212\n\
7213plslabelfunc(label_func, label_data)\n\
7214\n\
7215ARGUMENTS:\n\
7216\n\
7217 label_func (PLLABEL_FUNC_callback, input) : This is the custom\n\
7218 label function. In order to reset to the default labelling, set\n\
7219 this to NULL. The labelling function parameters are, in order:\n\
7220 axis: This indicates which axis a label is being requested for.\n\
7221 The value will be one of PL_X_AXIS, PL_Y_AXIS or PL_Z_AXIS.\n\
7222\n\
7223 value: This is the value along the axis which is being labelled.\n\
7224\n\
7225 label_text: The string representation of the label value.\n\
7226\n\
7227 length: The maximum length in characters allowed for label_text.\n\
7228\n\
7229\n\
7230 label_data (PLPointer, input) : This parameter may be used to pass\n\
7231 data to the label_func function.\n\
7232";
7233static const char* _wrap_plglevel_texinfo = "-*- texinfo -*-\n\
7234Get the (current) run level\n\
7235\n\
7236DESCRIPTION:\n\
7237\n\
7238 Get the (current) run level. Valid settings are: 0, uninitialized\n\
7239 1, initialized\n\
7240 2, viewport defined\n\
7241 3, world coordinates defined\n\
7242\n\
7243\n\
7244 Redacted form: plglevel(p_level)\n\
7245\n\
7246 This function is used in example 31.\n\
7247\n\
7248\n\
7249\n\
7250SYNOPSIS:\n\
7251\n\
7252plglevel(p_level)\n\
7253\n\
7254ARGUMENTS:\n\
7255\n\
7256 p_level (PLINT_NC_SCALAR, output) : Returned value of the run\n\
7257 level.\n\
7258";
7259static const char* _wrap_pllsty_texinfo = "-*- texinfo -*-\n\
7260Select line style\n\
7261\n\
7262DESCRIPTION:\n\
7263\n\
7264 This sets the line style according to one of eight predefined patterns\n\
7265 (also see plstyl).\n\
7266\n\
7267 Redacted form: pllsty(lin)\n\
7268\n\
7269 This function is used in examples 9, 12, 22, and 25.\n\
7270\n\
7271\n\
7272\n\
7273SYNOPSIS:\n\
7274\n\
7275pllsty(lin)\n\
7276\n\
7277ARGUMENTS:\n\
7278\n\
7279 lin (PLINT, input) : Integer value between 1 and 8. Line style 1 is\n\
7280 a continuous line, line style 2 is a line with short dashes and\n\
7281 gaps, line style 3 is a line with long dashes and gaps, line style\n\
7282 4 has long dashes and short gaps and so on.\n\
7283";
7284static const char* _wrap_plenv_texinfo = "-*- texinfo -*-\n\
7285Set up standard window and draw box\n\
7286\n\
7287DESCRIPTION:\n\
7288\n\
7289 Sets up plotter environment for simple graphs by calling pladv and\n\
7290 setting up viewport and window to sensible default values. plenv\n\
7291 leaves a standard margin (left-hand margin of eight character heights,\n\
7292 and a margin around the other three sides of five character heights)\n\
7293 around most graphs for axis labels and a title. When these defaults\n\
7294 are not suitable, use the individual routines plvpas, plvpor, or\n\
7295 plvasp for setting up the viewport, plwind for defining the window,\n\
7296 and plbox for drawing the box.\n\
7297\n\
7298 Redacted form: plenv(xmin, xmax, ymin, ymax, just, axis)\n\
7299\n\
7300 This function is used in example 1,3,9,13,14,19-22,29.\n\
7301\n\
7302\n\
7303\n\
7304SYNOPSIS:\n\
7305\n\
7306plenv(xmin, xmax, ymin, ymax, just, axis)\n\
7307\n\
7308ARGUMENTS:\n\
7309\n\
7310 xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n\
7311 world coordinates).\n\
7312\n\
7313 xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n\
7314 world coordinates).\n\
7315\n\
7316 ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n\
7317 coordinates).\n\
7318\n\
7319 ymax (PLFLT, input) : Value of y at top edge of window (in world\n\
7320 coordinates).\n\
7321\n\
7322 just (PLINT, input) : Controls how the axes will be scaled: -1: the\n\
7323 scales will not be set, the user must set up the scale before\n\
7324 calling plenv using plsvpa, plvasp or other.\n\
7325 0: the x and y axes are scaled independently to use as much of\n\
7326 the screen as possible.\n\
7327 1: the scales of the x and y axes are made equal.\n\
7328 2: the axis of the x and y axes are made equal, and the plot\n\
7329 box will be square.\n\
7330\n\
7331\n\
7332 axis (PLINT, input) : Controls drawing of the box around the plot:\n\
7333 -2: draw no box, no tick marks, no numeric tick labels, no axes.\n\
7334 -1: draw box only.\n\
7335 0: draw box, ticks, and numeric tick labels.\n\
7336 1: also draw coordinate axes at x=0 and y=0.\n\
7337 2: also draw a grid at major tick positions in both\n\
7338 coordinates.\n\
7339 3: also draw a grid at minor tick positions in both\n\
7340 coordinates.\n\
7341 10: same as 0 except logarithmic x tick marks. (The x data\n\
7342 have to be converted to logarithms separately.)\n\
7343 11: same as 1 except logarithmic x tick marks. (The x data\n\
7344 have to be converted to logarithms separately.)\n\
7345 12: same as 2 except logarithmic x tick marks. (The x data\n\
7346 have to be converted to logarithms separately.)\n\
7347 13: same as 3 except logarithmic x tick marks. (The x data\n\
7348 have to be converted to logarithms separately.)\n\
7349 20: same as 0 except logarithmic y tick marks. (The y data\n\
7350 have to be converted to logarithms separately.)\n\
7351 21: same as 1 except logarithmic y tick marks. (The y data\n\
7352 have to be converted to logarithms separately.)\n\
7353 22: same as 2 except logarithmic y tick marks. (The y data\n\
7354 have to be converted to logarithms separately.)\n\
7355 23: same as 3 except logarithmic y tick marks. (The y data\n\
7356 have to be converted to logarithms separately.)\n\
7357 30: same as 0 except logarithmic x and y tick marks. (The x\n\
7358 and y data have to be converted to logarithms separately.)\n\
7359 31: same as 1 except logarithmic x and y tick marks. (The x\n\
7360 and y data have to be converted to logarithms separately.)\n\
7361 32: same as 2 except logarithmic x and y tick marks. (The x\n\
7362 and y data have to be converted to logarithms separately.)\n\
7363 33: same as 3 except logarithmic x and y tick marks. (The x\n\
7364 and y data have to be converted to logarithms separately.)\n\
7365 40: same as 0 except date / time x labels.\n\
7366 41: same as 1 except date / time x labels.\n\
7367 42: same as 2 except date / time x labels.\n\
7368 43: same as 3 except date / time x labels.\n\
7369 50: same as 0 except date / time y labels.\n\
7370 51: same as 1 except date / time y labels.\n\
7371 52: same as 2 except date / time y labels.\n\
7372 53: same as 3 except date / time y labels.\n\
7373 60: same as 0 except date / time x and y labels.\n\
7374 61: same as 1 except date / time x and y labels.\n\
7375 62: same as 2 except date / time x and y labels.\n\
7376 63: same as 3 except date / time x and y labels.\n\
7377 70: same as 0 except custom x and y labels.\n\
7378 71: same as 1 except custom x and y labels.\n\
7379 72: same as 2 except custom x and y labels.\n\
7380 73: same as 3 except custom x and y labels.\n\
7381";
7382static const char* _wrap_plstart_texinfo = "-*- texinfo -*-\n\
7383Initialization\n\
7384\n\
7385DESCRIPTION:\n\
7386\n\
7387 Alternative to plstar for initializing the plotting package. The\n\
7388 device name keyword for the desired output device must be supplied as\n\
7389 an argument. These keywords are the same as those printed out by\n\
7390 plstar. If the requested device is not available, or if the input\n\
7391 string is empty or begins with ``?\'\', the prompted start up of plstar\n\
7392 is used. This routine also divides the output device page into nx by\n\
7393 ny subpages, each of which may be used independently. The subroutine\n\
7394 pladv is used to advance from one subpage to the next.\n\
7395\n\
7396 Redacted form: General: plstart(devname, nx, ny)\n\
7397\n\
7398\n\
7399 This function is not used in any examples.\n\
7400\n\
7401\n\
7402\n\
7403SYNOPSIS:\n\
7404\n\
7405plstart(devname, nx, ny)\n\
7406\n\
7407ARGUMENTS:\n\
7408\n\
7409 devname (PLCHAR_VECTOR, input) : An ascii character string\n\
7410 containing the device name keyword of the required output device.\n\
7411 If\n\
7412 devname is NULL or if the first character of the string is a ``?\'\',\n\
7413 the normal (prompted) start up is used.\n\
7414\n\
7415 nx (PLINT, input) : Number of subpages to divide output page in the\n\
7416 x direction.\n\
7417\n\
7418 ny (PLINT, input) : Number of subpages to divide output page in the\n\
7419 y direction.\n\
7420";
7421static const char* _wrap_plstring_texinfo = "-*- texinfo -*-\n\
7422Plot a glyph at the specified points\n\
7423\n\
7424DESCRIPTION:\n\
7425\n\
7426 Plot a glyph at the specified points. (Supersedes plpoin and plsym\n\
7427 because many[!] more glyphs are accessible with plstring.) The glyph\n\
7428 is specified with a PLplot user string. Note that the user string is\n\
7429 not actually limited to one glyph so it is possible (but not normally\n\
7430 useful) to plot more than one glyph at the specified points with this\n\
7431 function. As with plmtex and plptex, the user string can contain FCI\n\
7432 escapes to determine the font, UTF-8 code to determine the glyph or\n\
7433 else PLplot escapes for Hershey or unicode text to determine the\n\
7434 glyph.\n\
7435\n\
7436 Redacted form: plstring(x, y, string)\n\
7437\n\
7438 This function is used in examples 4, 21 and 26.\n\
7439\n\
7440\n\
7441\n\
7442SYNOPSIS:\n\
7443\n\
7444plstring(n, x, y, string)\n\
7445\n\
7446ARGUMENTS:\n\
7447\n\
7448 n (PLINT, input) : Number of points in the x and y vectors.\n\
7449\n\
7450 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
7451 the points.\n\
7452\n\
7453 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
7454 the points.\n\
7455\n\
7456 string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n\
7457 the glyph(s) to be plotted at each of the n points.\n\
7458";
7459static const char* _wrap_plmtex3_texinfo = "-*- texinfo -*-\n\
7460Write text relative to viewport boundaries in 3D plots\n\
7461\n\
7462DESCRIPTION:\n\
7463\n\
7464 Writes text at a specified position relative to the viewport\n\
7465 boundaries. Text may be written inside or outside the viewport, but\n\
7466 is clipped at the subpage boundaries. The reference point of a string\n\
7467 lies along a line passing through the string at half the height of a\n\
7468 capital letter. The position of the reference point along this line\n\
7469 is determined by just, and the position of the reference point\n\
7470 relative to the viewport is set by disp and pos.\n\
7471\n\
7472 Redacted form: plmtex3(side, disp, pos, just, text)\n\
7473\n\
7474 This function is used in example 28.\n\
7475\n\
7476\n\
7477\n\
7478SYNOPSIS:\n\
7479\n\
7480plmtex3(side, disp, pos, just, text)\n\
7481\n\
7482ARGUMENTS:\n\
7483\n\
7484 side (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
7485 the side of the viewport along which the text is to be written.\n\
7486 The string should contain one or more of the following characters:\n\
7487 [xyz][ps][v]. Only one label is drawn at a time, i.e. xyp will\n\
7488 only label the X axis, not both the X and Y axes. x: Label the X\n\
7489 axis.\n\
7490 y: Label the Y axis.\n\
7491 z: Label the Z axis.\n\
7492 p: Label the primary axis. For Z this is the leftmost Z axis.\n\
7493 For X it is the axis that starts at y-min. For Y it is the\n\
7494 axis that starts at x-min.\n\
7495 s: Label the secondary axis.\n\
7496 v: Draw the text perpendicular to the axis.\n\
7497\n\
7498\n\
7499 disp (PLFLT, input) : Position of the reference point of string,\n\
7500 measured outwards from the specified viewport edge in units of the\n\
7501 current character height. Use negative disp to write within the\n\
7502 viewport.\n\
7503\n\
7504 pos (PLFLT, input) : Position of the reference point of string\n\
7505 along the specified edge, expressed as a fraction of the length of\n\
7506 the edge.\n\
7507\n\
7508 just (PLFLT, input) : Specifies the position of the string relative\n\
7509 to its reference point. If just=0. , the reference point is at\n\
7510 the left and if just=1. , it is at the right of the string. Other\n\
7511 values of just give intermediate justifications.\n\
7512\n\
7513 text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n\
7514 written out.\n\
7515";
7516static const char* _wrap_plgdiori_texinfo = "-*- texinfo -*-\n\
7517Get plot orientation\n\
7518\n\
7519DESCRIPTION:\n\
7520\n\
7521 Get plot orientation parameter which is multiplied by 90 degrees to\n\
7522 obtain the angle of rotation. Note, arbitrary rotation parameters\n\
7523 such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n\
7524 values for the rotation parameter are 0., 1., 2., and 3. corresponding\n\
7525 to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n\
7526 (seascape mode), and 270 degrees (upside-down mode). If plsdiori has\n\
7527 not been called the default value pointed to by p_rot will be 0.\n\
7528\n\
7529 Redacted form: plgdiori(p_rot)\n\
7530\n\
7531 This function is not used in any examples.\n\
7532\n\
7533\n\
7534\n\
7535SYNOPSIS:\n\
7536\n\
7537plgdiori(p_rot)\n\
7538\n\
7539ARGUMENTS:\n\
7540\n\
7541 p_rot (PLFLT_NC_SCALAR, output) : Returned value of the orientation\n\
7542 parameter.\n\
7543";
7544static const char* _wrap_pllab_texinfo = "-*- texinfo -*-\n\
7545Simple routine to write labels\n\
7546\n\
7547DESCRIPTION:\n\
7548\n\
7549 Routine for writing simple labels. Use plmtex for more complex labels.\n\
7550\n\
7551 Redacted form: pllab(xlabel, ylabel, tlabel)\n\
7552\n\
7553 This function is used in examples 1, 5, 9, 12, 14-16, 20-22, and 29.\n\
7554\n\
7555\n\
7556\n\
7557SYNOPSIS:\n\
7558\n\
7559pllab(xlabel, ylabel, tlabel)\n\
7560\n\
7561ARGUMENTS:\n\
7562\n\
7563 xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n\
7564 the label for the x axis.\n\
7565\n\
7566 ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n\
7567 the label for the y axis.\n\
7568\n\
7569 tlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n\
7570 the title of the plot.\n\
7571";
7572static const char* _wrap_pltext_texinfo = "-*- texinfo -*-\n\
7573Switch to text screen\n\
7574\n\
7575DESCRIPTION:\n\
7576\n\
7577 Sets an interactive device to text mode, used in conjunction with\n\
7578 plgra to allow graphics and text to be interspersed. On a device\n\
7579 which supports separate text and graphics windows, this command causes\n\
7580 control to be switched to the text window. This can be useful for\n\
7581 printing diagnostic messages or getting user input, which would\n\
7582 otherwise interfere with the plots. The program must switch back to\n\
7583 the graphics window before issuing plot commands, as the text (or\n\
7584 console) device will probably become quite confused otherwise. If\n\
7585 already in text mode, this command is ignored. It is also ignored on\n\
7586 devices which only support a single window or use a different method\n\
7587 for shifting focus (see also plgra).\n\
7588\n\
7589 Redacted form: pltext()\n\
7590\n\
7591 This function is used in example 1.\n\
7592\n\
7593\n\
7594\n\
7595SYNOPSIS:\n\
7596\n\
7597pltext()\n\
7598";
7599static const char* _wrap_plmapline_texinfo = "-*- texinfo -*-\n\
7600Plot all or a subset of Shapefile data using lines in world coordinates\n\
7601\n\
7602DESCRIPTION:\n\
7603\n\
7604 Plot all or a subset of Shapefile data using lines in world\n\
7605 coordinates. Our 19th standard example demonstrates how to use this\n\
7606 function. This function plots data from a Shapefile using lines as in\n\
7607 plmap, however it also has the option of also only drawing specified\n\
7608 elements from the Shapefile. The vector of indices of the required\n\
7609 elements are passed as a function argument. The Shapefile data should\n\
7610 include a metadata file (extension.dbf) listing all items within the\n\
7611 Shapefile. This file can be opened by most popular spreadsheet\n\
7612 programs and can be used to decide which indices to pass to this\n\
7613 function.\n\
7614\n\
7615 Redacted form: plmapline(mapform, name, minx, maxx, miny, maxy,\n\
7616 plotentries)\n\
7617\n\
7618 This function is used in example 19.\n\
7619\n\
7620\n\
7621\n\
7622SYNOPSIS:\n\
7623\n\
7624plmapline(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n\
7625\n\
7626ARGUMENTS:\n\
7627\n\
7628 mapform (PLMAPFORM_callback, input) : A user supplied function to\n\
7629 transform the coordinates given in the shapefile into a plot\n\
7630 coordinate system. By using this transform, we can change from a\n\
7631 longitude, latitude coordinate to a polar stereographic project,\n\
7632 for example. Initially, x[0]..[n-1] are the longitudes and\n\
7633 y[0]..y[n-1] are the corresponding latitudes. After the call to\n\
7634 mapform(), x[] and y[] should be replaced by the corresponding\n\
7635 plot coordinates. If no transform is desired, mapform can be\n\
7636 replaced by NULL.\n\
7637\n\
7638 name (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
7639 the file name of a set of Shapefile files without the file\n\
7640 extension.\n\
7641\n\
7642 minx (PLFLT, input) : The minimum x value to be plotted. This must\n\
7643 be in the same units as used by the Shapefile. You could use a\n\
7644 very large negative number to plot everything, but you can improve\n\
7645 performance by limiting the area drawn. The units must match those\n\
7646 of the Shapefile projection, which may be for example longitude or\n\
7647 distance. The value of minx must be less than the value of maxx.\n\
7648\n\
7649 maxx (PLFLT, input) : The maximum x value to be plotted. You could\n\
7650 use a very large number to plot everything, but you can improve\n\
7651 performance by limiting the area drawn.\n\
7652\n\
7653 miny (PLFLT, input) : The minimum y value to be plotted. This must\n\
7654 be in the same units as used by the Shapefile. You could use a\n\
7655 very large negative number to plot everything, but you can improve\n\
7656 performance by limiting the area drawn. The units must match those\n\
7657 of the Shapefile projection, which may be for example latitude or\n\
7658 distance. The value of miny must be less than the value of maxy.\n\
7659\n\
7660 maxy (PLFLT, input) : The maximum y value to be plotted. You could\n\
7661 use a very large number to plot everything, but you can improve\n\
7662 performance by limiting the area drawn.\n\
7663\n\
7664 plotentries (PLINT_VECTOR, input) : A vector containing the\n\
7665 zero-based indices of the Shapefile elements which will be drawn.\n\
7666 Setting\n\
7667 plotentries to NULL will plot all elements of the Shapefile.\n\
7668\n\
7669 nplotentries (PLINT, input) : The number of items in\n\
7670 plotentries. Ignored if\n\
7671 plotentries is NULL.\n\
7672";
7673static const char* _wrap_plprec_texinfo = "-*- texinfo -*-\n\
7674Set precision in numeric labels\n\
7675\n\
7676DESCRIPTION:\n\
7677\n\
7678 Sets the number of places after the decimal point in numeric labels.\n\
7679\n\
7680 Redacted form: plprec(setp, prec)\n\
7681\n\
7682 This function is used in example 29.\n\
7683\n\
7684\n\
7685\n\
7686SYNOPSIS:\n\
7687\n\
7688plprec(setp, prec)\n\
7689\n\
7690ARGUMENTS:\n\
7691\n\
7692 setp (PLINT, input) : If setp is equal to 0 then PLplot\n\
7693 automatically determines the number of places to use after the\n\
7694 decimal point in numeric labels (like those used to label axes).\n\
7695 If setp is 1 then prec sets the number of places.\n\
7696\n\
7697 prec (PLINT, input) : The number of characters to draw after the\n\
7698 decimal point in numeric labels.\n\
7699";
7700static const char* _wrap_pljoin_texinfo = "-*- texinfo -*-\n\
7701Draw a line between two points\n\
7702\n\
7703DESCRIPTION:\n\
7704\n\
7705 Joins the point (\n\
7706 x1,\n\
7707 y1) to (\n\
7708 x2,\n\
7709 y2).\n\
7710\n\
7711 Redacted form: pljoin(x1,y1,x2,y2)\n\
7712\n\
7713 This function is used in examples 3 and 14.\n\
7714\n\
7715\n\
7716\n\
7717SYNOPSIS:\n\
7718\n\
7719pljoin(x1, y1, x2, y2)\n\
7720\n\
7721ARGUMENTS:\n\
7722\n\
7723 x1 (PLFLT, input) : x coordinate of first point.\n\
7724\n\
7725 y1 (PLFLT, input) : y coordinate of first point.\n\
7726\n\
7727 x2 (PLFLT, input) : x coordinate of second point.\n\
7728\n\
7729 y2 (PLFLT, input) : y coordinate of second point.\n\
7730";
7731static const char* _wrap_plsdev_texinfo = "-*- texinfo -*-\n\
7732Set the device (keyword) name\n\
7733\n\
7734DESCRIPTION:\n\
7735\n\
7736 Set the device (keyword) name.\n\
7737\n\
7738 Redacted form: plsdev(devname)\n\
7739\n\
7740 This function is used in examples 1, 14, and 20.\n\
7741\n\
7742\n\
7743\n\
7744SYNOPSIS:\n\
7745\n\
7746plsdev(devname)\n\
7747\n\
7748ARGUMENTS:\n\
7749\n\
7750 devname (PLCHAR_VECTOR, input) : An ascii character string\n\
7751 containing the device name keyword of the required output device.\n\
7752 If\n\
7753 devname is NULL or if the first character of the string is a ``?\'\',\n\
7754 the normal (prompted) start up is used.\n\
7755";
7756static const char* _wrap_plscol0a_texinfo = "-*- texinfo -*-\n\
7757Set 8-bit RGB values and PLFLT alpha transparency value for given cmap0 color index\n\
7758\n\
7759DESCRIPTION:\n\
7760\n\
7761 Set 8-bit RGB value and PLFLT alpha transparency value for given cmap0\n\
7762 (see the PLplot documentation) index. Overwrites the previous color\n\
7763 value for the given index and, thus, does not result in any additional\n\
7764 allocation of space for colors.\n\
7765\n\
7766 This function is used in example 30.\n\
7767\n\
7768\n\
7769\n\
7770SYNOPSIS:\n\
7771\n\
7772plscol0a(icol0, r, g, b, alpha)\n\
7773\n\
7774ARGUMENTS:\n\
7775\n\
7776 icol0 (PLINT, input) : Color index. Must be less than the maximum\n\
7777 number of colors (which is set by default, by plscmap0n, or even\n\
7778 by plscmap0).\n\
7779\n\
7780 r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
7781 degree of red in the color.\n\
7782\n\
7783 g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
7784 degree of green in the color.\n\
7785\n\
7786 b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
7787 degree of blue in the color.\n\
7788\n\
7789 alpha (PLFLT, input) : Value of the alpha transparency in the range\n\
7790 (0.0-1.0).\n\
7791";
7792static const char* _wrap_plfill3_texinfo = "-*- texinfo -*-\n\
7793Draw filled polygon in 3D\n\
7794\n\
7795DESCRIPTION:\n\
7796\n\
7797 Fills the 3D polygon defined by the n points in the x, y, and z\n\
7798 vectors using the pattern defined by plpsty or plpat. The routine\n\
7799 will automatically close the polygon between the last and first\n\
7800 vertices. If multiple closed polygons are passed in x, y, and z then\n\
7801 plfill3 will fill in between them.\n\
7802\n\
7803 Redacted form: General: plfill3(x, y, z)\n\
7804\n\
7805\n\
7806 This function is used in example 15.\n\
7807\n\
7808\n\
7809\n\
7810SYNOPSIS:\n\
7811\n\
7812plfill3(n, x, y, z)\n\
7813\n\
7814ARGUMENTS:\n\
7815\n\
7816 n (PLINT, input) : Number of vertices in polygon.\n\
7817\n\
7818 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
7819 vertices.\n\
7820\n\
7821 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
7822 vertices.\n\
7823\n\
7824 z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n\
7825 vertices.\n\
7826";
7827static const char* _wrap_plwind_texinfo = "-*- texinfo -*-\n\
7828Specify window\n\
7829\n\
7830DESCRIPTION:\n\
7831\n\
7832 Specify the window, i.e., the world coordinates of the edges of the\n\
7833 viewport.\n\
7834\n\
7835 Redacted form: plwind(xmin, xmax, ymin, ymax)\n\
7836\n\
7837 This function is used in examples 1, 2, 4, 6-12, 14-16, 18, 21, 23-27,\n\
7838 29, and 31.\n\
7839\n\
7840\n\
7841\n\
7842SYNOPSIS:\n\
7843\n\
7844plwind(xmin, xmax, ymin, ymax)\n\
7845\n\
7846ARGUMENTS:\n\
7847\n\
7848 xmin (PLFLT, input) : The world x coordinate of the left-hand edge\n\
7849 of the viewport.\n\
7850\n\
7851 xmax (PLFLT, input) : The world x coordinate of the right-hand edge\n\
7852 of the viewport.\n\
7853\n\
7854 ymin (PLFLT, input) : The world y coordinate of the bottom edge of\n\
7855 the viewport.\n\
7856\n\
7857 ymax (PLFLT, input) : The world y coordinate of the top edge of the\n\
7858 viewport.\n\
7859";
7860static const char* _wrap_plmaptex_texinfo = "-*- texinfo -*-\n\
7861Draw text at points defined by Shapefile data in world coordinates\n\
7862\n\
7863DESCRIPTION:\n\
7864\n\
7865 As per plmapline, however the items are plotted as text in the same\n\
7866 way as plptex.\n\
7867\n\
7868 Redacted form: plmaptex(mapform, name, dx, dy, just, text, minx, maxx,\n\
7869 miny, maxy, plotentry)\n\
7870\n\
7871 This function is used in example 19.\n\
7872\n\
7873\n\
7874\n\
7875SYNOPSIS:\n\
7876\n\
7877plmaptex(mapform, name, dx, dy, just, text, minx, maxx, miny, maxy, plotentry)\n\
7878\n\
7879ARGUMENTS:\n\
7880\n\
7881 mapform (PLMAPFORM_callback, input) : A user supplied function to\n\
7882 transform the coordinates given in the shapefile into a plot\n\
7883 coordinate system. By using this transform, we can change from a\n\
7884 longitude, latitude coordinate to a polar stereographic project,\n\
7885 for example. Initially, x[0]..[n-1] are the longitudes and\n\
7886 y[0]..y[n-1] are the corresponding latitudes. After the call to\n\
7887 mapform(), x[] and y[] should be replaced by the corresponding\n\
7888 plot coordinates. If no transform is desired, mapform can be\n\
7889 replaced by NULL.\n\
7890\n\
7891 name (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
7892 the file name of a set of Shapefile files without the file\n\
7893 extension.\n\
7894\n\
7895 dx (PLFLT, input) : Used to define the slope of the texts which is\n\
7896 dy/dx.\n\
7897\n\
7898 dy (PLFLT, input) : Used to define the slope of the texts which is\n\
7899 dy/dx.\n\
7900\n\
7901 just (PLFLT, input) : Set the justification of the text. The value\n\
7902 given will be the fraction of the distance along the string that\n\
7903 sits at the given point. 0.0 gives left aligned text, 0.5 gives\n\
7904 centralized text and 1.0 gives right aligned text.\n\
7905\n\
7906 text (PLCHAR_VECTOR, input) : A UTF-8 character string to be drawn.\n\
7907\n\
7908 minx (PLFLT, input) : The minimum x value to be plotted. This must\n\
7909 be in the same units as used by the Shapefile. You could use a\n\
7910 very large negative number to plot everything, but you can improve\n\
7911 performance by limiting the area drawn. The units must match those\n\
7912 of the Shapefile projection, which may be for example longitude or\n\
7913 distance. The value of minx must be less than the value of maxx.\n\
7914\n\
7915 maxx (PLFLT, input) : The maximum x value to be plotted. You could\n\
7916 use a very large number to plot everything, but you can improve\n\
7917 performance by limiting the area drawn.\n\
7918\n\
7919 miny (PLFLT, input) : The minimum y value to be plotted. This must\n\
7920 be in the same units as used by the Shapefile. You could use a\n\
7921 very large negative number to plot everything, but you can improve\n\
7922 performance by limiting the area drawn. The units must match those\n\
7923 of the Shapefile projection, which may be for example latitude or\n\
7924 distance. The value of miny must be less than the value of maxy.\n\
7925\n\
7926 maxy (PLFLT, input) : The maximum y value to be plotted. You could\n\
7927 use a very large number to plot everything, but you can improve\n\
7928 performance by limiting the area drawn.\n\
7929\n\
7930 plotentry (PLINT, input) : An integer indicating which text string\n\
7931 of the Shapefile (zero indexed) will be drawn.\n\
7932";
7933static const char* _wrap_plgra_texinfo = "-*- texinfo -*-\n\
7934Switch to graphics screen\n\
7935\n\
7936DESCRIPTION:\n\
7937\n\
7938 Sets an interactive device to graphics mode, used in conjunction with\n\
7939 pltext to allow graphics and text to be interspersed. On a device\n\
7940 which supports separate text and graphics windows, this command causes\n\
7941 control to be switched to the graphics window. If already in graphics\n\
7942 mode, this command is ignored. It is also ignored on devices which\n\
7943 only support a single window or use a different method for shifting\n\
7944 focus. See also pltext.\n\
7945\n\
7946 Redacted form: plgra()\n\
7947\n\
7948 This function is used in example 1.\n\
7949\n\
7950\n\
7951\n\
7952SYNOPSIS:\n\
7953\n\
7954plgra()\n\
7955";
7956static const char* _wrap_pl_setcontlabelparam_texinfo = "-*- texinfo -*-\n\
7957Set parameters of contour labelling other than format of numerical label\n\
7958\n\
7959DESCRIPTION:\n\
7960\n\
7961 Set parameters of contour labelling other than those handled by\n\
7962 pl_setcontlabelformat.\n\
7963\n\
7964 Redacted form: pl_setcontlabelparam(offset, size, spacing, active)\n\
7965\n\
7966 This function is used in example 9.\n\
7967\n\
7968\n\
7969\n\
7970SYNOPSIS:\n\
7971\n\
7972pl_setcontlabelparam(offset, size, spacing, active)\n\
7973\n\
7974ARGUMENTS:\n\
7975\n\
7976 offset (PLFLT, input) : Offset of label from contour line (if set\n\
7977 to 0.0, labels are printed on the lines). Default value is 0.006.\n\
7978\n\
7979 size (PLFLT, input) : Font height for contour labels (normalized).\n\
7980 Default value is 0.3.\n\
7981\n\
7982 spacing (PLFLT, input) : Spacing parameter for contour labels.\n\
7983 Default value is 0.1.\n\
7984\n\
7985 active (PLINT, input) : Activate labels. Set to 1 if you want\n\
7986 contour labels on. Default is off (0).\n\
7987";
7988static const char* _wrap_plgfont_texinfo = "-*- texinfo -*-\n\
7989Get family, style and weight of the current font\n\
7990\n\
7991DESCRIPTION:\n\
7992\n\
7993 Gets information about current font. See the PLplot documentation for\n\
7994 more information on font selection.\n\
7995\n\
7996 Redacted form: plgfont(p_family, p_style, p_weight)\n\
7997\n\
7998 This function is used in example 23.\n\
7999\n\
8000\n\
8001\n\
8002SYNOPSIS:\n\
8003\n\
8004plgfont(p_family, p_style, p_weight)\n\
8005\n\
8006ARGUMENTS:\n\
8007\n\
8008 p_family (PLINT_NC_SCALAR, output) : Returned value of the current\n\
8009 font family. The available values are given by the PL_FCI_*\n\
8010 constants in plplot.h. Current options are PL_FCI_SANS,\n\
8011 PL_FCI_SERIF, PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. If\n\
8012 p_family is NULL then the font family is not returned.\n\
8013\n\
8014 p_style (PLINT_NC_SCALAR, output) : Returned value of the current\n\
8015 font style. The available values are given by the PL_FCI_*\n\
8016 constants in plplot.h. Current options are PL_FCI_UPRIGHT,\n\
8017 PL_FCI_ITALIC and PL_FCI_OBLIQUE. If p_style is NULL then the font\n\
8018 style is not returned.\n\
8019\n\
8020 p_weight (PLINT_NC_SCALAR, output) : Returned value of the current\n\
8021 font weight. The available values are given by the PL_FCI_*\n\
8022 constants in plplot.h. Current options are PL_FCI_MEDIUM and\n\
8023 PL_FCI_BOLD. If p_weight is NULL then the font weight is not\n\
8024 returned.\n\
8025";
8026static const char* _wrap_plhist_texinfo = "-*- texinfo -*-\n\
8027Plot a histogram from unbinned data\n\
8028\n\
8029DESCRIPTION:\n\
8030\n\
8031 Plots a histogram from n data points stored in the data vector. This\n\
8032 routine bins the data into nbin bins equally spaced between datmin and\n\
8033 datmax, and calls plbin to draw the resulting histogram. Parameter\n\
8034 opt allows, among other things, the histogram either to be plotted in\n\
8035 an existing window or causes plhist to call plenv with suitable limits\n\
8036 before plotting the histogram.\n\
8037\n\
8038 Redacted form: plhist(data, datmin, datmax, nbin, opt)\n\
8039\n\
8040 This function is used in example 5.\n\
8041\n\
8042\n\
8043\n\
8044SYNOPSIS:\n\
8045\n\
8046plhist(n, data, datmin, datmax, nbin, opt)\n\
8047\n\
8048ARGUMENTS:\n\
8049\n\
8050 n (PLINT, input) : Number of data points.\n\
8051\n\
8052 data (PLFLT_VECTOR, input) : A vector containing the values of the\n\
8053 n data points.\n\
8054\n\
8055 datmin (PLFLT, input) : Left-hand edge of lowest-valued bin.\n\
8056\n\
8057 datmax (PLFLT, input) : Right-hand edge of highest-valued bin.\n\
8058\n\
8059 nbin (PLINT, input) : Number of (equal-sized) bins into which to\n\
8060 divide the interval xmin to xmax.\n\
8061\n\
8062 opt (PLINT, input) : Is a combination of several flags:\n\
8063 opt=PL_HIST_DEFAULT: The axes are automatically rescaled to fit\n\
8064 the histogram data, the outer bins are expanded to fill up the\n\
8065 entire x-axis, data outside the given extremes are assigned to the\n\
8066 outer bins and bins of zero height are simply drawn.\n\
8067 opt=PL_HIST_NOSCALING|...: The existing axes are not rescaled\n\
8068 to fit the histogram data, without this flag, plenv is called\n\
8069 to set the world coordinates.\n\
8070 opt=PL_HIST_IGNORE_OUTLIERS|...: Data outside the given\n\
8071 extremes are not taken into account. This option should\n\
8072 probably be combined with opt=PL_HIST_NOEXPAND|..., so as to\n\
8073 properly present the data.\n\
8074 opt=PL_HIST_NOEXPAND|...: The outer bins are drawn with equal\n\
8075 size as the ones inside.\n\
8076 opt=PL_HIST_NOEMPTY|...: Bins with zero height are not drawn\n\
8077 (there is a gap for such bins).\n\
8078";
8079static const char* _wrap_plgcolbga_texinfo = "-*- texinfo -*-\n\
8080Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT alpha transparency value\n\
8081\n\
8082DESCRIPTION:\n\
8083\n\
8084 Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT\n\
8085 alpha transparency value.\n\
8086\n\
8087 This function is used in example 31.\n\
8088\n\
8089\n\
8090\n\
8091SYNOPSIS:\n\
8092\n\
8093plgcolbga(r, g, b, alpha)\n\
8094\n\
8095ARGUMENTS:\n\
8096\n\
8097 r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n\
8098 in the range from 0 to 255.\n\
8099\n\
8100 g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n\
8101 in the range from 0 to 255.\n\
8102\n\
8103 b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n\
8104 in the range from 0 to 255.\n\
8105\n\
8106 alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n\
8107 transparency in the range (0.0-1.0).\n\
8108";
8109static const char* _wrap_plsori_texinfo = "-*- texinfo -*-\n\
8110Set orientation\n\
8111\n\
8112DESCRIPTION:\n\
8113\n\
8114 Set integer plot orientation parameter. This function is identical to\n\
8115 plsdiori except for the type of the argument, and should be used in\n\
8116 the same way. See the documentation of plsdiori for details.\n\
8117\n\
8118 Redacted form: plsori(ori)\n\
8119\n\
8120 This function is used in example 3.\n\
8121\n\
8122\n\
8123\n\
8124SYNOPSIS:\n\
8125\n\
8126plsori(ori)\n\
8127\n\
8128ARGUMENTS:\n\
8129\n\
8130 ori (PLINT, input) : Orientation value (0 for landscape, 1 for\n\
8131 portrait, etc.) The value is multiplied by 90 degrees to get the\n\
8132 angle.\n\
8133";
8134static const char* _wrap_plmeridians_texinfo = "-*- texinfo -*-\n\
8135Plot latitude and longitude lines\n\
8136\n\
8137DESCRIPTION:\n\
8138\n\
8139 Displays latitude and longitude on the current plot. The lines are\n\
8140 plotted in the current color and line style.\n\
8141\n\
8142 Redacted form: plmeridians(mapform, dlong, dlat, minlong, maxlong,\n\
8143 minlat, maxlat)\n\
8144\n\
8145 This function is used in example 19.\n\
8146\n\
8147\n\
8148\n\
8149SYNOPSIS:\n\
8150\n\
8151plmeridians(mapform, dlong, dlat, minlong, maxlong, minlat, maxlat)\n\
8152\n\
8153ARGUMENTS:\n\
8154\n\
8155 mapform (PLMAPFORM_callback, input) : A user supplied function to\n\
8156 transform the coordinate longitudes and latitudes to a plot\n\
8157 coordinate system. By using this transform, we can change from a\n\
8158 longitude, latitude coordinate to a polar stereographic project,\n\
8159 for example. Initially, x[0]..[n-1] are the longitudes and\n\
8160 y[0]..y[n-1] are the corresponding latitudes. After the call to\n\
8161 mapform(), x[] and y[] should be replaced by the corresponding\n\
8162 plot coordinates. If no transform is desired, mapform can be\n\
8163 replaced by NULL.\n\
8164\n\
8165 dlong (PLFLT, input) : The interval in degrees at which the\n\
8166 longitude lines are to be plotted.\n\
8167\n\
8168 dlat (PLFLT, input) : The interval in degrees at which the latitude\n\
8169 lines are to be plotted.\n\
8170\n\
8171 minlong (PLFLT, input) : The value of the longitude on the left\n\
8172 side of the plot. The value of minlong must be less than the value\n\
8173 of maxlong, and the quantity maxlong-minlong must be less than or\n\
8174 equal to 360.\n\
8175\n\
8176 maxlong (PLFLT, input) : The value of the longitude on the right\n\
8177 side of the plot.\n\
8178\n\
8179 minlat (PLFLT, input) : The minimum latitude to be plotted on the\n\
8180 background. One can always use -90.0 as the boundary outside the\n\
8181 plot window will be automatically eliminated. However, the\n\
8182 program will be faster if one can reduce the size of the\n\
8183 background plotted.\n\
8184\n\
8185 maxlat (PLFLT, input) : The maximum latitudes to be plotted on the\n\
8186 background. One can always use 90.0 as the boundary outside the\n\
8187 plot window will be automatically eliminated.\n\
8188";
8189static const char* _wrap_plclear_texinfo = "-*- texinfo -*-\n\
8190Clear current (sub)page\n\
8191\n\
8192DESCRIPTION:\n\
8193\n\
8194 Clears the current page, effectively erasing everything that have been\n\
8195 drawn. This command only works with interactive drivers; if the\n\
8196 driver does not support this, the page is filled with the background\n\
8197 color in use. If the current page is divided into subpages, only the\n\
8198 current subpage is erased. The nth subpage can be selected with\n\
8199 pladv(n).\n\
8200\n\
8201 Redacted form: General: plclear()\n\
8202\n\
8203\n\
8204 This function is not used in any examples.\n\
8205\n\
8206\n\
8207\n\
8208SYNOPSIS:\n\
8209\n\
8210plclear()\n\
8211";
8212static const char* _wrap_plstar_texinfo = "-*- texinfo -*-\n\
8213Initialization\n\
8214\n\
8215DESCRIPTION:\n\
8216\n\
8217 Initializing the plotting package. The program prompts for the device\n\
8218 keyword or number of the desired output device. Hitting a RETURN in\n\
8219 response to the prompt is the same as selecting the first device. If\n\
8220 only one device is enabled when PLplot is installed, plstar will issue\n\
8221 no prompt. The output device is divided into nx by ny subpages, each\n\
8222 of which may be used independently. The subroutine pladv is used to\n\
8223 advance from one subpage to the next.\n\
8224\n\
8225 Redacted form: plstar(nx, ny)\n\
8226\n\
8227 This function is used in example 1.\n\
8228\n\
8229\n\
8230\n\
8231SYNOPSIS:\n\
8232\n\
8233plstar(nx, ny)\n\
8234\n\
8235ARGUMENTS:\n\
8236\n\
8237 nx (PLINT, input) : Number of subpages to divide output page in the\n\
8238 x direction.\n\
8239\n\
8240 ny (PLINT, input) : Number of subpages to divide output page in the\n\
8241 y direction.\n\
8242";
8243static const char* _wrap_plmtex_texinfo = "-*- texinfo -*-\n\
8244Write text relative to viewport boundaries\n\
8245\n\
8246DESCRIPTION:\n\
8247\n\
8248 Writes text at a specified position relative to the viewport\n\
8249 boundaries. Text may be written inside or outside the viewport, but\n\
8250 is clipped at the subpage boundaries. The reference point of a string\n\
8251 lies along a line passing through the string at half the height of a\n\
8252 capital letter. The position of the reference point along this line\n\
8253 is determined by just, and the position of the reference point\n\
8254 relative to the viewport is set by disp and pos.\n\
8255\n\
8256 Redacted form: General: plmtex(side, disp, pos, just, text)\n\
8257\n\
8258\n\
8259 This function is used in examples 3, 4, 6-8, 11, 12, 14, 18, 23, and\n\
8260 26.\n\
8261\n\
8262\n\
8263\n\
8264SYNOPSIS:\n\
8265\n\
8266plmtex(side, disp, pos, just, text)\n\
8267\n\
8268ARGUMENTS:\n\
8269\n\
8270 side (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
8271 the side of the viewport along which the text is to be written.\n\
8272 The string must be one of: b: Bottom of viewport, text written\n\
8273 parallel to edge.\n\
8274 bv: Bottom of viewport, text written at right angles to edge.\n\
8275 l: Left of viewport, text written parallel to edge.\n\
8276 lv: Left of viewport, text written at right angles to edge.\n\
8277 r: Right of viewport, text written parallel to edge.\n\
8278 rv: Right of viewport, text written at right angles to edge.\n\
8279 t: Top of viewport, text written parallel to edge.\n\
8280 tv: Top of viewport, text written at right angles to edge.\n\
8281\n\
8282\n\
8283 disp (PLFLT, input) : Position of the reference point of string,\n\
8284 measured outwards from the specified viewport edge in units of the\n\
8285 current character height. Use negative disp to write within the\n\
8286 viewport.\n\
8287\n\
8288 pos (PLFLT, input) : Position of the reference point of string\n\
8289 along the specified edge, expressed as a fraction of the length of\n\
8290 the edge.\n\
8291\n\
8292 just (PLFLT, input) : Specifies the position of the string relative\n\
8293 to its reference point. If just=0. , the reference point is at\n\
8294 the left and if just=1. , it is at the right of the string. Other\n\
8295 values of just give intermediate justifications.\n\
8296\n\
8297 text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n\
8298 written out.\n\
8299";
8300static const char* _wrap_plscolbga_texinfo = "-*- texinfo -*-\n\
8301Set the background color by 8-bit RGB value and PLFLT alpha transparency value.\n\
8302\n\
8303DESCRIPTION:\n\
8304\n\
8305 Set the background color (color 0 in cmap0) by 8-bit RGB value and\n\
8306 PLFLT alpha transparency value (see the PLplot documentation).\n\
8307\n\
8308 This function is used in example 31.\n\
8309\n\
8310\n\
8311\n\
8312SYNOPSIS:\n\
8313\n\
8314plscolbga(r, g, b, alpha)\n\
8315\n\
8316ARGUMENTS:\n\
8317\n\
8318 r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
8319 degree of red in the color.\n\
8320\n\
8321 g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
8322 degree of green in the color.\n\
8323\n\
8324 b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
8325 degree of blue in the color.\n\
8326\n\
8327 alpha (PLFLT, input) : Value of the alpha transparency in the range\n\
8328 (0.0-1.0).\n\
8329";
8330static const char* _wrap_plreplot_texinfo = "-*- texinfo -*-\n\
8331Replays contents of plot buffer to current device/file\n\
8332\n\
8333DESCRIPTION:\n\
8334\n\
8335 Replays contents of plot buffer to current device/file.\n\
8336\n\
8337 Redacted form: plreplot()\n\
8338\n\
8339 This function is used in example 1,20.\n\
8340\n\
8341\n\
8342\n\
8343SYNOPSIS:\n\
8344\n\
8345plreplot()\n\
8346";
8347static const char* _wrap_plpoin3_texinfo = "-*- texinfo -*-\n\
8348Plot a glyph at the specified 3D points\n\
8349\n\
8350DESCRIPTION:\n\
8351\n\
8352 Plot a glyph at the specified 3D points. (This function is largely\n\
8353 superseded by plstring3 which gives access to many[!] more glyphs.)\n\
8354 Set up the call to this function similar to what is done for plline3.\n\
8355 code=-1 means try to just draw a point. Right now it\'s just a move\n\
8356 and a draw at the same place. Not ideal, since a sufficiently\n\
8357 intelligent output device may optimize it away, or there may be faster\n\
8358 ways of doing it. This is OK for now, though, and offers a 4X speedup\n\
8359 over drawing a Hershey font \"point\" (which is actually diamond shaped\n\
8360 and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n\
8361 useful (but small subset) of Hershey symbols is plotted. If 32 <=\n\
8362 code <= 127 the corresponding printable ASCII character is plotted.\n\
8363\n\
8364 Redacted form: plpoin3(x, y, z, code)\n\
8365\n\
8366 This function is not used in any example.\n\
8367\n\
8368\n\
8369\n\
8370SYNOPSIS:\n\
8371\n\
8372plpoin3(n, x, y, z, code)\n\
8373\n\
8374ARGUMENTS:\n\
8375\n\
8376 n (PLINT, input) : Number of points in the x and y vectors.\n\
8377\n\
8378 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
8379 points.\n\
8380\n\
8381 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
8382 points.\n\
8383\n\
8384 z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n\
8385 points.\n\
8386\n\
8387 code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n\
8388 with -1 <= code <= 127) corresponding to a glyph to be plotted at\n\
8389 each of the n points.\n\
8390";
8391static const char* _wrap_plsfont_texinfo = "-*- texinfo -*-\n\
8392Set family, style and weight of the current font\n\
8393\n\
8394DESCRIPTION:\n\
8395\n\
8396 Sets the current font. See the PLplot documentation for more\n\
8397 information on font selection.\n\
8398\n\
8399 Redacted form: plsfont(family, style, weight)\n\
8400\n\
8401 This function is used in example 23.\n\
8402\n\
8403\n\
8404\n\
8405SYNOPSIS:\n\
8406\n\
8407plsfont(family, style, weight)\n\
8408\n\
8409ARGUMENTS:\n\
8410\n\
8411 family (PLINT, input) : Font family to select for the current font.\n\
8412 The available values are given by the PL_FCI_* constants in\n\
8413 plplot.h. Current options are PL_FCI_SANS, PL_FCI_SERIF,\n\
8414 PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. A negative value\n\
8415 signifies that the font family should not be altered.\n\
8416\n\
8417 style (PLINT, input) : Font style to select for the current font.\n\
8418 The available values are given by the PL_FCI_* constants in\n\
8419 plplot.h. Current options are PL_FCI_UPRIGHT, PL_FCI_ITALIC and\n\
8420 PL_FCI_OBLIQUE. A negative value signifies that the font style\n\
8421 should not be altered.\n\
8422\n\
8423 weight (PLINT, input) : Font weight to select for the current font.\n\
8424 The available values are given by the PL_FCI_* constants in\n\
8425 plplot.h. Current options are PL_FCI_MEDIUM and PL_FCI_BOLD. A\n\
8426 negative value signifies that the font weight should not be\n\
8427 altered.\n\
8428";
8429static const char* _wrap_plaxes_texinfo = "-*- texinfo -*-\n\
8430Draw a box with axes, etc. with arbitrary origin\n\
8431\n\
8432DESCRIPTION:\n\
8433\n\
8434 Draws a box around the currently defined viewport with arbitrary\n\
8435 world-coordinate origin specified by x0 and y0 and labels it with\n\
8436 world coordinate values appropriate to the window. Thus plaxes should\n\
8437 only be called after defining both viewport and window. The ascii\n\
8438 character strings xopt and yopt specify how the box should be drawn as\n\
8439 described below. If ticks and/or subticks are to be drawn for a\n\
8440 particular axis, the tick intervals and number of subintervals may be\n\
8441 specified explicitly, or they may be defaulted by setting the\n\
8442 appropriate arguments to zero.\n\
8443\n\
8444 Redacted form: General: plaxes(x0, y0, xopt, xtick, nxsub, yopt,\n\
8445 ytick, nysub)\n\
8446\n\
8447\n\
8448 This function is not used in any examples.\n\
8449\n\
8450\n\
8451\n\
8452SYNOPSIS:\n\
8453\n\
8454plaxes(x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub)\n\
8455\n\
8456ARGUMENTS:\n\
8457\n\
8458 x0 (PLFLT, input) : World X coordinate of origin.\n\
8459\n\
8460 y0 (PLFLT, input) : World Y coordinate of origin.\n\
8461\n\
8462 xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
8463 options for the x axis. The string can include any combination of\n\
8464 the following letters (upper or lower case) in any order: a: Draws\n\
8465 axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n\
8466 (x=0).\n\
8467 b: Draws bottom (X) or left (Y) edge of frame.\n\
8468 c: Draws top (X) or right (Y) edge of frame.\n\
8469 d: Plot labels as date / time. Values are assumed to be\n\
8470 seconds since the epoch (as used by gmtime).\n\
8471 f: Always use fixed point numeric labels.\n\
8472 g: Draws a grid at the major tick interval.\n\
8473 h: Draws a grid at the minor tick interval.\n\
8474 i: Inverts tick marks, so they are drawn outwards, rather than\n\
8475 inwards.\n\
8476 l: Labels axis logarithmically. This only affects the labels,\n\
8477 not the data, and so it is necessary to compute the logarithms\n\
8478 of data points before passing them to any of the drawing\n\
8479 routines.\n\
8480 m: Writes numeric labels at major tick intervals in the\n\
8481 unconventional location (above box for X, right of box for Y).\n\
8482 n: Writes numeric labels at major tick intervals in the\n\
8483 conventional location (below box for X, left of box for Y).\n\
8484 o: Use custom labelling function to generate axis label text.\n\
8485 The custom labelling function can be defined with the\n\
8486 plslabelfunc command.\n\
8487 s: Enables subticks between major ticks, only valid if t is\n\
8488 also specified.\n\
8489 t: Draws major ticks.\n\
8490 u: Exactly like \"b\" except don\'t draw edge line.\n\
8491 w: Exactly like \"c\" except don\'t draw edge line.\n\
8492 x: Exactly like \"t\" (including the side effect of the\n\
8493 numerical labels for the major ticks) except exclude drawing\n\
8494 the major and minor tick marks.\n\
8495\n\
8496\n\
8497 xtick (PLFLT, input) : World coordinate interval between major\n\
8498 ticks on the x axis. If it is set to zero, PLplot automatically\n\
8499 generates a suitable tick interval.\n\
8500\n\
8501 nxsub (PLINT, input) : Number of subintervals between major x axis\n\
8502 ticks for minor ticks. If it is set to zero, PLplot automatically\n\
8503 generates a suitable minor tick interval.\n\
8504\n\
8505 yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
8506 options for the y axis. The string can include any combination of\n\
8507 the letters defined above for xopt, and in addition may contain:\n\
8508 v: Write numeric labels for the y axis parallel to the base of the\n\
8509 graph, rather than parallel to the axis.\n\
8510\n\
8511\n\
8512 ytick (PLFLT, input) : World coordinate interval between major\n\
8513 ticks on the y axis. If it is set to zero, PLplot automatically\n\
8514 generates a suitable tick interval.\n\
8515\n\
8516 nysub (PLINT, input) : Number of subintervals between major y axis\n\
8517 ticks for minor ticks. If it is set to zero, PLplot automatically\n\
8518 generates a suitable minor tick interval.\n\
8519";
8520static const char* _wrap_plbop_texinfo = "-*- texinfo -*-\n\
8521Begin a new page\n\
8522\n\
8523DESCRIPTION:\n\
8524\n\
8525 Begins a new page. For a file driver, the output file is opened if\n\
8526 necessary. Advancing the page via pleop and plbop is useful when a\n\
8527 page break is desired at a particular point when plotting to subpages.\n\
8528 Another use for pleop and plbop is when plotting pages to different\n\
8529 files, since you can manually set the file name by calling plsfnam\n\
8530 after the call to pleop. (In fact some drivers may only support a\n\
8531 single page per file, making this a necessity.) One way to handle\n\
8532 this case automatically is to page advance via pladv, but enable\n\
8533 familying (see plsfam) with a small limit on the file size so that a\n\
8534 new family member file will be created on each page break.\n\
8535\n\
8536 Redacted form: plbop()\n\
8537\n\
8538 This function is used in examples 2 and 20.\n\
8539\n\
8540\n\
8541\n\
8542SYNOPSIS:\n\
8543\n\
8544plbop()\n\
8545";
8546static const char* _wrap_plscmap0a_texinfo = "-*- texinfo -*-\n\
8547Set cmap0 colors by 8-bit RGB values and PLFLT alpha transparency value\n\
8548\n\
8549DESCRIPTION:\n\
8550\n\
8551 Set cmap0 colors using 8-bit RGB values (see the PLplot documentation)\n\
8552 and PLFLT alpha transparency value. This sets the entire color map --\n\
8553 only as many colors as specified will be allocated.\n\
8554\n\
8555 Redacted form: plscmap0a(r, g, b, alpha)\n\
8556\n\
8557 This function is used in examples 30.\n\
8558\n\
8559\n\
8560\n\
8561SYNOPSIS:\n\
8562\n\
8563plscmap0a(r, g, b, alpha, ncol0)\n\
8564\n\
8565ARGUMENTS:\n\
8566\n\
8567 r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n\
8568 integers (0-255) representing the degree of red in the color.\n\
8569\n\
8570 g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n\
8571 integers (0-255) representing the degree of green in the color.\n\
8572\n\
8573 b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n\
8574 integers (0-255) representing the degree of blue in the color.\n\
8575\n\
8576 alpha (PLFLT_VECTOR, input) : A vector containing values (0.0-1.0)\n\
8577 representing the alpha transparency of the color.\n\
8578\n\
8579 ncol0 (PLINT, input) : Number of items in the r, g, b, and alpha\n\
8580 vectors.\n\
8581";
8582static const char* _wrap_plscmap1la_texinfo = "-*- texinfo -*-\n\
8583Set cmap1 colors and alpha transparency using a piece-wise linear relationship\n\
8584\n\
8585DESCRIPTION:\n\
8586\n\
8587 This is a variant of plscmap1l that supports alpha channel\n\
8588 transparency. It sets cmap1 colors using a piece-wise linear\n\
8589 relationship between cmap1 intensity index (0.0-1.0) and position in\n\
8590 HLS or RGB color space (see the PLplot documentation) with alpha\n\
8591 transparency value (0.0-1.0). It may be called at any time.\n\
8592\n\
8593 Redacted form: plscmap1la(itype, intensity, coord1, coord2, coord3,\n\
8594 alpha, alt_hue_path)\n\
8595\n\
8596 This function is used in example 30.\n\
8597\n\
8598\n\
8599\n\
8600SYNOPSIS:\n\
8601\n\
8602plscmap1la(itype, npts, intensity, coord1, coord2, coord3, alpha, alt_hue_path)\n\
8603\n\
8604ARGUMENTS:\n\
8605\n\
8606 itype (PLBOOL, input) : true: RGB, false: HLS.\n\
8607\n\
8608 npts (PLINT, input) : number of control points.\n\
8609\n\
8610 intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n\
8611 intensity index (0.0-1.0) in ascending order for each control\n\
8612 point.\n\
8613\n\
8614 coord1 (PLFLT_VECTOR, input) : A vector containing the first\n\
8615 coordinate (H or R) for each control point.\n\
8616\n\
8617 coord2 (PLFLT_VECTOR, input) : A vector containing the second\n\
8618 coordinate (L or G) for each control point.\n\
8619\n\
8620 coord3 (PLFLT_VECTOR, input) : A vector containing the third\n\
8621 coordinate (S or B) for each control point.\n\
8622\n\
8623 alpha (PLFLT_VECTOR, input) : A vector containing the alpha\n\
8624 transparency value (0.0-1.0) for each control point.\n\
8625\n\
8626 alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n\
8627 npts - 1 elements) containing the alternative interpolation method\n\
8628 Boolean value for each control point interval. (alt_hue_path[i]\n\
8629 refers to the interpolation interval between the i and i + 1\n\
8630 control points).\n\
8631";
8632static const char* _wrap_plxormod_texinfo = "-*- texinfo -*-\n\
8633Enter or leave xor mode\n\
8634\n\
8635DESCRIPTION:\n\
8636\n\
8637 Enter (when mode is true) or leave (when mode is false) xor mode for\n\
8638 those drivers (e.g., the xwin driver) that support it. Enables\n\
8639 erasing plots by drawing twice the same line, symbol, etc. If driver\n\
8640 is not capable of xor operation it returns a status of false.\n\
8641\n\
8642 Redacted form: plxormod(mode, status)\n\
8643\n\
8644 This function is used in examples 1 and 20.\n\
8645\n\
8646\n\
8647\n\
8648SYNOPSIS:\n\
8649\n\
8650plxormod(mode, status)\n\
8651\n\
8652ARGUMENTS:\n\
8653\n\
8654 mode (PLBOOL, input) : mode is true means enter xor mode and mode\n\
8655 is false means leave xor mode.\n\
8656\n\
8657 status (PLBOOL_NC_SCALAR, output) : Returned value of the status.\n\
8658 modestatus of true (false) means driver is capable (incapable) of\n\
8659 xor mode.\n\
8660";
8661static const char* _wrap_pleop_texinfo = "-*- texinfo -*-\n\
8662Eject current page\n\
8663\n\
8664DESCRIPTION:\n\
8665\n\
8666 Clears the graphics screen of an interactive device, or ejects a page\n\
8667 on a plotter. See plbop for more information.\n\
8668\n\
8669 Redacted form: pleop()\n\
8670\n\
8671 This function is used in example 2,14.\n\
8672\n\
8673\n\
8674\n\
8675SYNOPSIS:\n\
8676\n\
8677pleop()\n\
8678";
8679static const char* _wrap_plbox_texinfo = "-*- texinfo -*-\n\
8680Draw a box with axes, etc\n\
8681\n\
8682DESCRIPTION:\n\
8683\n\
8684 Draws a box around the currently defined viewport, and labels it with\n\
8685 world coordinate values appropriate to the window. Thus plbox should\n\
8686 only be called after defining both viewport and window. The ascii\n\
8687 character strings xopt and yopt specify how the box should be drawn as\n\
8688 described below. If ticks and/or subticks are to be drawn for a\n\
8689 particular axis, the tick intervals and number of subintervals may be\n\
8690 specified explicitly, or they may be defaulted by setting the\n\
8691 appropriate arguments to zero.\n\
8692\n\
8693 Redacted form: General: plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n\
8694\n\
8695\n\
8696 This function is used in examples 1, 2, 4, 6, 6-12, 14-18, 21, 23-26,\n\
8697 and 29.\n\
8698\n\
8699\n\
8700\n\
8701SYNOPSIS:\n\
8702\n\
8703plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n\
8704\n\
8705ARGUMENTS:\n\
8706\n\
8707 xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
8708 options for the x axis. The string can include any combination of\n\
8709 the following letters (upper or lower case) in any order: a: Draws\n\
8710 axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n\
8711 (x=0).\n\
8712 b: Draws bottom (X) or left (Y) edge of frame.\n\
8713 c: Draws top (X) or right (Y) edge of frame.\n\
8714 d: Plot labels as date / time. Values are assumed to be\n\
8715 seconds since the epoch (as used by gmtime).\n\
8716 f: Always use fixed point numeric labels.\n\
8717 g: Draws a grid at the major tick interval.\n\
8718 h: Draws a grid at the minor tick interval.\n\
8719 i: Inverts tick marks, so they are drawn outwards, rather than\n\
8720 inwards.\n\
8721 l: Labels axis logarithmically. This only affects the labels,\n\
8722 not the data, and so it is necessary to compute the logarithms\n\
8723 of data points before passing them to any of the drawing\n\
8724 routines.\n\
8725 m: Writes numeric labels at major tick intervals in the\n\
8726 unconventional location (above box for X, right of box for Y).\n\
8727 n: Writes numeric labels at major tick intervals in the\n\
8728 conventional location (below box for X, left of box for Y).\n\
8729 o: Use custom labelling function to generate axis label text.\n\
8730 The custom labelling function can be defined with the\n\
8731 plslabelfunc command.\n\
8732 s: Enables subticks between major ticks, only valid if t is\n\
8733 also specified.\n\
8734 t: Draws major ticks.\n\
8735 u: Exactly like \"b\" except don\'t draw edge line.\n\
8736 w: Exactly like \"c\" except don\'t draw edge line.\n\
8737 x: Exactly like \"t\" (including the side effect of the\n\
8738 numerical labels for the major ticks) except exclude drawing\n\
8739 the major and minor tick marks.\n\
8740\n\
8741\n\
8742 xtick (PLFLT, input) : World coordinate interval between major\n\
8743 ticks on the x axis. If it is set to zero, PLplot automatically\n\
8744 generates a suitable tick interval.\n\
8745\n\
8746 nxsub (PLINT, input) : Number of subintervals between major x axis\n\
8747 ticks for minor ticks. If it is set to zero, PLplot automatically\n\
8748 generates a suitable minor tick interval.\n\
8749\n\
8750 yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
8751 options for the y axis. The string can include any combination of\n\
8752 the letters defined above for xopt, and in addition may contain:\n\
8753 v: Write numeric labels for the y axis parallel to the base of the\n\
8754 graph, rather than parallel to the axis.\n\
8755\n\
8756\n\
8757 ytick (PLFLT, input) : World coordinate interval between major\n\
8758 ticks on the y axis. If it is set to zero, PLplot automatically\n\
8759 generates a suitable tick interval.\n\
8760\n\
8761 nysub (PLINT, input) : Number of subintervals between major y axis\n\
8762 ticks for minor ticks. If it is set to zero, PLplot automatically\n\
8763 generates a suitable minor tick interval.\n\
8764";
8765static const char* _wrap_plgxax_texinfo = "-*- texinfo -*-\n\
8766Get x axis parameters\n\
8767\n\
8768DESCRIPTION:\n\
8769\n\
8770 Returns current values of the p_digmax and p_digits flags for the x\n\
8771 axis. p_digits is updated after the plot is drawn, so this routine\n\
8772 should only be called after the call to plbox (or plbox3) is complete.\n\
8773 See the PLplot documentation for more information.\n\
8774\n\
8775 Redacted form: plgxax(p_digmax, p_digits)\n\
8776\n\
8777 This function is used in example 31.\n\
8778\n\
8779\n\
8780\n\
8781SYNOPSIS:\n\
8782\n\
8783plgxax(p_digmax, p_digits)\n\
8784\n\
8785ARGUMENTS:\n\
8786\n\
8787 p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n\
8788 number of digits for the x axis. If nonzero, the printed label\n\
8789 has been switched to a floating-point representation when the\n\
8790 number of digits exceeds this value.\n\
8791\n\
8792 p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n\
8793 number of digits for the numeric labels (x axis) from the last\n\
8794 plot.\n\
8795";
8796static const char* _wrap_plfont_texinfo = "-*- texinfo -*-\n\
8797Set font\n\
8798\n\
8799DESCRIPTION:\n\
8800\n\
8801 Sets the font used for subsequent text and symbols. For devices that\n\
8802 still use Hershey fonts this routine has no effect unless the Hershey\n\
8803 fonts with extended character set are loaded (see plfontld). For\n\
8804 unicode-aware devices that use system fonts instead of Hershey fonts,\n\
8805 this routine calls the plsfci routine with argument set up\n\
8806 appropriately for the various cases below. However, this method of\n\
8807 specifying the font for unicode-aware devices is deprecated, and the\n\
8808 much more flexible method of calling plsfont directly is recommended\n\
8809 instead (where plsfont provides a user-friendly interface to plsfci),\n\
8810\n\
8811 Redacted form: plfont(ifont)\n\
8812\n\
8813 This function is used in examples 1, 2, 4, 7, 13, 24, and 26.\n\
8814\n\
8815\n\
8816\n\
8817SYNOPSIS:\n\
8818\n\
8819plfont(ifont)\n\
8820\n\
8821ARGUMENTS:\n\
8822\n\
8823 ifont (PLINT, input) : Specifies the font: 1: Sans serif font\n\
8824 (simplest and fastest)\n\
8825 2: Serif font\n\
8826 3: Italic font\n\
8827 4: Script font\n\
8828";
8829static const char* _wrap_pllegend_texinfo = "-*- texinfo -*-\n\
8830Plot legend using discretely annotated filled boxes, lines, and/or lines of symbols\n\
8831\n\
8832DESCRIPTION:\n\
8833\n\
8834 Routine for creating a discrete plot legend with a plotted filled box,\n\
8835 line, and/or line of symbols for each annotated legend entry. (See\n\
8836 plcolorbar for similar functionality for creating continuous color\n\
8837 bars.) The arguments of pllegend provide control over the location\n\
8838 and size of the legend as well as the location and characteristics of\n\
8839 the elements (most of which are optional) within that legend. The\n\
8840 resulting legend is clipped at the boundaries of the current subpage.\n\
8841 (N.B. the adopted coordinate system used for some of the parameters is\n\
8842 defined in the documentation of the position parameter.)\n\
8843\n\
8844 Redacted form: pllegend(p_legend_width, p_legend_height, opt,\n\
8845 position, x, y, plot_width, bg_color, bb_color, bb_style, nrow,\n\
8846 ncolumn, opt_array, text_offset, text_scale, text_spacing,\n\
8847 test_justification, text_colors, text, box_colors, box_patterns,\n\
8848 box_scales, box_line_widths, line_colors, line_styles, line_widths,\n\
8849 symbol_colors, symbol_scales, symbol_numbers, symbols)\n\
8850\n\
8851 This function is used in examples 4, 26, and 33.\n\
8852\n\
8853\n\
8854\n\
8855SYNOPSIS:\n\
8856\n\
8857pllegend(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\
8858\n\
8859ARGUMENTS:\n\
8860\n\
8861 p_legend_width (PLFLT_NC_SCALAR, output) : Returned value of the\n\
8862 legend width in adopted coordinates. This quantity is calculated\n\
8863 from plot_width, text_offset, ncolumn (possibly modified inside\n\
8864 the routine depending on nlegend and nrow), and the length\n\
8865 (calculated internally) of the longest text string.\n\
8866\n\
8867 p_legend_height (PLFLT_NC_SCALAR, output) : Returned value of the\n\
8868 legend height in adopted coordinates. This quantity is calculated\n\
8869 from text_scale, text_spacing, and nrow (possibly modified inside\n\
8870 the routine depending on nlegend and nrow).\n\
8871\n\
8872 opt (PLINT, input) : opt contains bits controlling the overall\n\
8873 legend. If the PL_LEGEND_TEXT_LEFT bit is set, put the text area\n\
8874 on the left of the legend and the plotted area on the right.\n\
8875 Otherwise, put the text area on the right of the legend and the\n\
8876 plotted area on the left. If the PL_LEGEND_BACKGROUND bit is set,\n\
8877 plot a (semitransparent) background for the legend. If the\n\
8878 PL_LEGEND_BOUNDING_BOX bit is set, plot a bounding box for the\n\
8879 legend. If the PL_LEGEND_ROW_MAJOR bit is set and (both of the\n\
8880 possibly internally transformed) nrow > 1 and ncolumn > 1, then\n\
8881 plot the resulting array of legend entries in row-major order.\n\
8882 Otherwise, plot the legend entries in column-major order.\n\
8883\n\
8884 position (PLINT, input) : position contains bits which control the\n\
8885 overall position of the legend and the definition of the adopted\n\
8886 coordinates used for positions just like what is done for the\n\
8887 position argument for plcolorbar. However, note that the defaults\n\
8888 for the position bits (see below) are different than the\n\
8889 plcolorbar case. The combination of the PL_POSITION_LEFT,\n\
8890 PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n\
8891 PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n\
8892 the 16 possible standard positions (the 4 corners and centers of\n\
8893 the 4 sides for both the inside and outside cases) of the legend\n\
8894 relative to the adopted coordinate system. The corner positions\n\
8895 are specified by the appropriate combination of two of the\n\
8896 PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n\
8897 PL_POSITION_BOTTOM bits while the sides are specified by a single\n\
8898 value of one of those bits. The adopted coordinates are\n\
8899 normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n\
8900 set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n\
8901 bit is set. Default position bits: If none of PL_POSITION_LEFT,\n\
8902 PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n\
8903 then use the combination of PL_POSITION_RIGHT and PL_POSITION_TOP.\n\
8904 If neither of PL_POSITION_INSIDE or PL_POSITION_OUTSIDE is set,\n\
8905 use PL_POSITION_INSIDE. If neither of PL_POSITION_VIEWPORT or\n\
8906 PL_POSITION_SUBPAGE is set, use PL_POSITION_VIEWPORT.\n\
8907\n\
8908 x (PLFLT, input) : X offset of the legend position in adopted\n\
8909 coordinates from the specified standard position of the legend.\n\
8910 For positive x, the direction of motion away from the standard\n\
8911 position is inward/outward from the standard corner positions or\n\
8912 standard left or right positions if the\n\
8913 PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n\
8914 For the standard top or bottom positions, the direction of motion\n\
8915 is toward positive X.\n\
8916\n\
8917 y (PLFLT, input) : Y offset of the legend position in adopted\n\
8918 coordinates from the specified standard position of the legend.\n\
8919 For positive y, the direction of motion away from the standard\n\
8920 position is inward/outward from the standard corner positions or\n\
8921 standard top or bottom positions if the\n\
8922 PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position. For\n\
8923 the standard left or right positions, the direction of motion is\n\
8924 toward positive Y.\n\
8925\n\
8926 plot_width (PLFLT, input) : Horizontal width in adopted coordinates\n\
8927 of the plot area (where the colored boxes, lines, and/or lines of\n\
8928 symbols are drawn) of the legend.\n\
8929\n\
8930 bg_color (PLINT, input) : The cmap0 color of the background for the\n\
8931 legend (PL_LEGEND_BACKGROUND).\n\
8932\n\
8933 bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n\
8934 for the legend (PL_LEGEND_BOUNDING_BOX).\n\
8935\n\
8936 bb_style (PLINT, input) : The pllsty style number for the\n\
8937 bounding-box line for the legend (PL_LEGEND_BACKGROUND).\n\
8938\n\
8939 nrow (PLINT, input) : The number of rows in the matrix used to\n\
8940 render the\n\
8941 nlegend legend entries. For internal transformations of\n\
8942 nrow, see further remarks under\n\
8943 nlegend.\n\
8944\n\
8945 ncolumn (PLINT, input) : The number of columns in the matrix used\n\
8946 to render the\n\
8947 nlegend legend entries. For internal transformations of\n\
8948 ncolumn, see further remarks under\n\
8949 nlegend.\n\
8950\n\
8951 nlegend (PLINT, input) : Number of legend entries. The above\n\
8952 nrow and\n\
8953 ncolumn values are transformed internally to be consistent with\n\
8954 nlegend. If either\n\
8955 nrow or\n\
8956 ncolumn is non-positive it is replaced by 1. If the resulting product\n\
8957 of\n\
8958 nrow and\n\
8959 ncolumn is less than\n\
8960 nlegend, the smaller of the two (or\n\
8961 nrow, if\n\
8962 nrow ==\n\
8963 ncolumn) is increased so the product is >=\n\
8964 nlegend. Thus, for example, the common\n\
8965 nrow = 0,\n\
8966 ncolumn = 0 case is transformed internally to\n\
8967 nrow =\n\
8968 nlegend,\n\
8969 ncolumn = 1; i.e., the usual case of a legend rendered as a single\n\
8970 column.\n\
8971\n\
8972 opt_array (PLINT_VECTOR, input) : A vector of\n\
8973 nlegend values of options to control each individual plotted area\n\
8974 corresponding to a legend entry. If the\n\
8975 PL_LEGEND_NONE bit is set, then nothing is plotted in the plotted\n\
8976 area. If the\n\
8977 PL_LEGEND_COLOR_BOX,\n\
8978 PL_LEGEND_LINE, and/or\n\
8979 PL_LEGEND_SYMBOL bits are set, the area corresponding to a legend\n\
8980 entry is plotted with a colored box; a line; and/or a line of\n\
8981 symbols.\n\
8982\n\
8983 text_offset (PLFLT, input) : Offset of the text area from the plot\n\
8984 area in units of character width.\n\
8985\n\
8986 text_scale (PLFLT, input) : Character height scale for text\n\
8987 annotations.\n\
8988\n\
8989 text_spacing (PLFLT, input) : Vertical spacing in units of the\n\
8990 character height from one legend entry to the next.\n\
8991\n\
8992 text_justification (PLFLT, input) : Justification parameter used\n\
8993 for text justification. The most common values of\n\
8994 text_justification are 0., 0.5, or 1. corresponding to a text that\n\
8995 is left justified, centred, or right justified within the text\n\
8996 area, but other values are allowed as well.\n\
8997\n\
8998 text_colors (PLINT_VECTOR, input) : A vector containing\n\
8999 nlegend cmap0 text colors.\n\
9000\n\
9001 text (PLCHAR_MATRIX, input) : A vector of\n\
9002 nlegend UTF-8 character strings containing the legend annotations.\n\
9003\n\
9004 box_colors (PLINT_VECTOR, input) : A vector containing\n\
9005 nlegend cmap0 colors for the discrete colored boxes (\n\
9006 PL_LEGEND_COLOR_BOX).\n\
9007\n\
9008 box_patterns (PLINT_VECTOR, input) : A vector containing\n\
9009 nlegend patterns (plpsty indices) for the discrete colored boxes (\n\
9010 PL_LEGEND_COLOR_BOX).\n\
9011\n\
9012 box_scales (PLFLT_VECTOR, input) : A vector containing\n\
9013 nlegend scales (units of fraction of character height) for the height\n\
9014 of the discrete colored boxes (\n\
9015 PL_LEGEND_COLOR_BOX).\n\
9016\n\
9017 box_line_widths (PLFLT_VECTOR, input) : A vector containing\n\
9018 nlegend line widths for the patterns specified by box_patterns (\n\
9019 PL_LEGEND_COLOR_BOX).\n\
9020\n\
9021 line_colors (PLINT_VECTOR, input) : A vector containing\n\
9022 nlegend cmap0 line colors (\n\
9023 PL_LEGEND_LINE).\n\
9024\n\
9025 line_styles (PLINT_VECTOR, input) : A vector containing\n\
9026 nlegend line styles (plsty indices) (\n\
9027 PL_LEGEND_LINE).\n\
9028\n\
9029 line_widths (PLFLT_VECTOR, input) : A vector containing\n\
9030 nlegend line widths (\n\
9031 PL_LEGEND_LINE).\n\
9032\n\
9033 symbol_colors (PLINT_VECTOR, input) : A vector containing\n\
9034 nlegend cmap0 symbol colors (\n\
9035 PL_LEGEND_SYMBOL).\n\
9036\n\
9037 symbol_scales (PLFLT_VECTOR, input) : A vector containing\n\
9038 nlegend scale values for the symbol height (\n\
9039 PL_LEGEND_SYMBOL).\n\
9040\n\
9041 symbol_numbers (PLINT_VECTOR, input) : A vector containing\n\
9042 nlegend numbers of symbols to be drawn across the width of the plotted\n\
9043 area (\n\
9044 PL_LEGEND_SYMBOL).\n\
9045\n\
9046 symbols (PLCHAR_MATRIX, input) : A vector of\n\
9047 nlegend UTF-8 character strings containing the legend symbols. (\n\
9048 PL_LEGEND_SYMBOL).\n\
9049";
9050static const char* _wrap_plscolbg_texinfo = "-*- texinfo -*-\n\
9051Set the background color by 8-bit RGB value\n\
9052\n\
9053DESCRIPTION:\n\
9054\n\
9055 Set the background color (color 0 in cmap0) by 8-bit RGB value (see\n\
9056 the PLplot documentation).\n\
9057\n\
9058 Redacted form: plscolbg(r, g, b)\n\
9059\n\
9060 This function is used in examples 15 and 31.\n\
9061\n\
9062\n\
9063\n\
9064SYNOPSIS:\n\
9065\n\
9066plscolbg(r, g, b)\n\
9067\n\
9068ARGUMENTS:\n\
9069\n\
9070 r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
9071 degree of red in the color.\n\
9072\n\
9073 g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
9074 degree of green in the color.\n\
9075\n\
9076 b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
9077 degree of blue in the color.\n\
9078";
9079static const char* _wrap_plsdidev_texinfo = "-*- texinfo -*-\n\
9080Set parameters that define current device-space window\n\
9081\n\
9082DESCRIPTION:\n\
9083\n\
9084 Set relative margin width, aspect ratio, and relative justification\n\
9085 that define current device-space window. If you want to just use the\n\
9086 previous value for any of these, just pass in the magic value\n\
9087 PL_NOTSET. It is unlikely that one should ever need to change the\n\
9088 aspect ratio but it\'s in there for completeness. If plsdidev is not\n\
9089 called the default values of mar, jx, and jy are all 0. aspect is set\n\
9090 to a device-specific value.\n\
9091\n\
9092 Redacted form: plsdidev(mar, aspect, jx, jy)\n\
9093\n\
9094 This function is used in example 31.\n\
9095\n\
9096\n\
9097\n\
9098SYNOPSIS:\n\
9099\n\
9100plsdidev(mar, aspect, jx, jy)\n\
9101\n\
9102ARGUMENTS:\n\
9103\n\
9104 mar (PLFLT, input) : Relative margin width.\n\
9105\n\
9106 aspect (PLFLT, input) : Aspect ratio.\n\
9107\n\
9108 jx (PLFLT, input) : Relative justification in x. Value must lie in\n\
9109 the range -0.5 to 0.5.\n\
9110\n\
9111 jy (PLFLT, input) : Relative justification in y. Value must lie in\n\
9112 the range -0.5 to 0.5.\n\
9113";
9114static const char* _wrap_plvasp_texinfo = "-*- texinfo -*-\n\
9115Specify viewport using aspect ratio only\n\
9116\n\
9117DESCRIPTION:\n\
9118\n\
9119 Selects the largest viewport with the given aspect ratio within the\n\
9120 subpage that leaves a standard margin (left-hand margin of eight\n\
9121 character heights, and a margin around the other three sides of five\n\
9122 character heights).\n\
9123\n\
9124 Redacted form: plvasp(aspect)\n\
9125\n\
9126 This function is used in example 13.\n\
9127\n\
9128\n\
9129\n\
9130SYNOPSIS:\n\
9131\n\
9132plvasp(aspect)\n\
9133\n\
9134ARGUMENTS:\n\
9135\n\
9136 aspect (PLFLT, input) : Ratio of length of y axis to length of x\n\
9137 axis of resulting viewport.\n\
9138";
9139static const char* _wrap_plw3d_texinfo = "-*- texinfo -*-\n\
9140Configure the transformations required for projecting a 3D surface on a 2D window\n\
9141\n\
9142DESCRIPTION:\n\
9143\n\
9144 Configure the transformations required for projecting a 3D surface on\n\
9145 an existing 2D window. Those transformations (see the PLplot\n\
9146 documentation) are done to a rectangular cuboid enclosing the 3D\n\
9147 surface which has its limits expressed in 3D world coordinates and\n\
9148 also normalized 3D coordinates (used for interpreting the altitude and\n\
9149 azimuth of the viewing angle). The transformations consist of the\n\
9150 linear transform from 3D world coordinates to normalized 3D\n\
9151 coordinates, and the 3D rotation of normalized coordinates required to\n\
9152 align the pole of the new 3D coordinate system with the viewing\n\
9153 direction specified by altitude and azimuth so that x and y of the\n\
9154 surface elements in that transformed coordinate system are the\n\
9155 projection of the 3D surface with given viewing direction on the 2D\n\
9156 window.\n\
9157\n\
9158 The enclosing rectangular cuboid for the surface plot is defined by\n\
9159 xmin, xmax, ymin, ymax, zmin and zmax in 3D world coordinates. It is\n\
9160 mapped into the same rectangular cuboid with normalized 3D coordinate\n\
9161 sizes of basex by basey by height so that xmin maps to -\n\
9162 basex/2, xmax maps to basex/2, ymin maps to -\n\
9163 basey/2, ymax maps to basey/2, zmin maps to 0 and zmax maps to height.\n\
9164 The resulting rectangular cuboid in normalized coordinates is then\n\
9165 viewed by an observer at altitude alt and azimuth az. This routine\n\
9166 must be called before plbox3 or any of the 3D surface plotting\n\
9167 routines; plmesh, plmeshc, plot3d, plot3dc, plot3dcl, plsurf3d,\n\
9168 plsurf3dl or plfill3.\n\
9169\n\
9170 Redacted form: plw3d(basex, basey, height, xmin, xmax, ymin, ymax,\n\
9171 zmin, zmax, alt, az)\n\
9172\n\
9173 This function is examples 8, 11, 18, and 21.\n\
9174\n\
9175\n\
9176\n\
9177SYNOPSIS:\n\
9178\n\
9179plw3d(basex, basey, height, xmin, xmax, ymin, ymax, zmin, zmax, alt, az)\n\
9180\n\
9181ARGUMENTS:\n\
9182\n\
9183 basex (PLFLT, input) : The normalized x coordinate size of the\n\
9184 rectangular cuboid.\n\
9185\n\
9186 basey (PLFLT, input) : The normalized y coordinate size of the\n\
9187 rectangular cuboid.\n\
9188\n\
9189 height (PLFLT, input) : The normalized z coordinate size of the\n\
9190 rectangular cuboid.\n\
9191\n\
9192 xmin (PLFLT, input) : The minimum x world coordinate of the\n\
9193 rectangular cuboid.\n\
9194\n\
9195 xmax (PLFLT, input) : The maximum x world coordinate of the\n\
9196 rectangular cuboid.\n\
9197\n\
9198 ymin (PLFLT, input) : The minimum y world coordinate of the\n\
9199 rectangular cuboid.\n\
9200\n\
9201 ymax (PLFLT, input) : The maximum y world coordinate of the\n\
9202 rectangular cuboid.\n\
9203\n\
9204 zmin (PLFLT, input) : The minimum z world coordinate of the\n\
9205 rectangular cuboid.\n\
9206\n\
9207 zmax (PLFLT, input) : The maximum z world coordinate of the\n\
9208 rectangular cuboid.\n\
9209\n\
9210 alt (PLFLT, input) : The viewing altitude in degrees above the xy\n\
9211 plane of the rectangular cuboid in normalized coordinates.\n\
9212\n\
9213 az (PLFLT, input) : The viewing azimuth in degrees of the\n\
9214 rectangular cuboid in normalized coordinates. When az=0, the\n\
9215 observer is looking face onto the zx plane of the rectangular\n\
9216 cuboid in normalized coordinates, and as az is increased, the\n\
9217 observer moves clockwise around that cuboid when viewed from above\n\
9218 the xy plane.\n\
9219";
9220static const char* _wrap_plGetCursor_texinfo = "-*- texinfo -*-\n\
9221Wait for graphics input event and translate to world coordinates.\n\
9222\n\
9223DESCRIPTION:\n\
9224\n\
9225 Wait for graphics input event and translate to world coordinates.\n\
9226 Returns 0 if no translation to world coordinates is possible.\n\
9227\n\
9228 This function returns 1 on success and 0 if no translation to world\n\
9229 coordinates is possible.\n\
9230\n\
9231 Redacted form: plGetCursor(gin)\n\
9232\n\
9233 This function is used in examples 1 and 20.\n\
9234\n\
9235\n\
9236\n\
9237SYNOPSIS:\n\
9238\n\
9239PLINT plGetCursor(gin)\n\
9240\n\
9241ARGUMENTS:\n\
9242\n\
9243 gin (PLGraphicsIn *, output) : Pointer to PLGraphicsIn structure\n\
9244 which will contain the output. The structure is not allocated by\n\
9245 the routine and must exist before the function is called.\n\
9246";
9247static const char* _wrap_plscmap0n_texinfo = "-*- texinfo -*-\n\
9248Set number of colors in cmap0\n\
9249\n\
9250DESCRIPTION:\n\
9251\n\
9252 Set number of colors in cmap0 (see the PLplot documentation). Allocate\n\
9253 (or reallocate) cmap0, and fill with default values for those colors\n\
9254 not previously allocated. The first 16 default colors are given in\n\
9255 the plcol0 documentation. For larger indices the default color is\n\
9256 red.\n\
9257\n\
9258 The drivers are not guaranteed to support more than 16 colors.\n\
9259\n\
9260 Redacted form: plscmap0n(ncol0)\n\
9261\n\
9262 This function is used in examples 15, 16, and 24.\n\
9263\n\
9264\n\
9265\n\
9266SYNOPSIS:\n\
9267\n\
9268plscmap0n(ncol0)\n\
9269\n\
9270ARGUMENTS:\n\
9271\n\
9272 ncol0 (PLINT, input) : Number of colors that will be allocated in\n\
9273 the cmap0 palette. If this number is zero or less, then the value\n\
9274 from the previous call to plscmap0n is used and if there is no\n\
9275 previous call, then a default value is used.\n\
9276";
9277static const char* _wrap_plszax_texinfo = "-*- texinfo -*-\n\
9278Set z axis parameters\n\
9279\n\
9280DESCRIPTION:\n\
9281\n\
9282 Identical to plsxax, except that arguments are flags for z axis. See\n\
9283 the description of plsxax for more detail.\n\
9284\n\
9285 Redacted form: plszax(digmax, digits)\n\
9286\n\
9287 This function is used in example 31.\n\
9288\n\
9289\n\
9290\n\
9291SYNOPSIS:\n\
9292\n\
9293plszax(digmax, digits)\n\
9294\n\
9295ARGUMENTS:\n\
9296\n\
9297 digmax (PLINT, input) : Variable to set the maximum number of\n\
9298 digits for the z axis. If nonzero, the printed label will be\n\
9299 switched to a floating-point representation when the number of\n\
9300 digits exceeds digmax.\n\
9301\n\
9302 digits (PLINT, input) : Field digits value. Currently, changing\n\
9303 its value here has no effect since it is set only by plbox or\n\
9304 plbox3. However, the user may obtain its value after a call to\n\
9305 either of these functions by calling plgzax.\n\
9306";
9307static const char* _wrap_plgfci_texinfo = "-*- texinfo -*-\n\
9308Get FCI (font characterization integer)\n\
9309\n\
9310DESCRIPTION:\n\
9311\n\
9312 Gets information about the current font using the FCI approach. See\n\
9313 the PLplot documentation for more information.\n\
9314\n\
9315 Redacted form: plgfci(p_fci)\n\
9316\n\
9317 This function is used in example 23.\n\
9318\n\
9319\n\
9320\n\
9321SYNOPSIS:\n\
9322\n\
9323plgfci(p_fci)\n\
9324\n\
9325ARGUMENTS:\n\
9326\n\
9327 p_fci (PLUNICODE_NC_SCALAR, output) : Returned value of the current\n\
9328 FCI value.\n\
9329";
9330static const char* _wrap_plenv0_texinfo = "-*- texinfo -*-\n\
9331Same as plenv but if in multiplot mode does not advance the subpage, instead clears it\n\
9332\n\
9333DESCRIPTION:\n\
9334\n\
9335 Sets up plotter environment for simple graphs by calling pladv and\n\
9336 setting up viewport and window to sensible default values. plenv0\n\
9337 leaves a standard margin (left-hand margin of eight character heights,\n\
9338 and a margin around the other three sides of five character heights)\n\
9339 around most graphs for axis labels and a title. When these defaults\n\
9340 are not suitable, use the individual routines plvpas, plvpor, or\n\
9341 plvasp for setting up the viewport, plwind for defining the window,\n\
9342 and plbox for drawing the box.\n\
9343\n\
9344 Redacted form: plenv0(xmin, xmax, ymin, ymax, just, axis)\n\
9345\n\
9346 This function is used in example 21.\n\
9347\n\
9348\n\
9349\n\
9350SYNOPSIS:\n\
9351\n\
9352plenv0(xmin, xmax, ymin, ymax, just, axis)\n\
9353\n\
9354ARGUMENTS:\n\
9355\n\
9356 xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n\
9357 world coordinates).\n\
9358\n\
9359 xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n\
9360 world coordinates).\n\
9361\n\
9362 ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n\
9363 coordinates).\n\
9364\n\
9365 ymax (PLFLT, input) : Value of y at top edge of window (in world\n\
9366 coordinates).\n\
9367\n\
9368 just (PLINT, input) : Controls how the axes will be scaled: -1: the\n\
9369 scales will not be set, the user must set up the scale before\n\
9370 calling plenv0 using plsvpa, plvasp or other.\n\
9371 0: the x and y axes are scaled independently to use as much of\n\
9372 the screen as possible.\n\
9373 1: the scales of the x and y axes are made equal.\n\
9374 2: the axis of the x and y axes are made equal, and the plot\n\
9375 box will be square.\n\
9376\n\
9377\n\
9378 axis (PLINT, input) : Controls drawing of the box around the plot:\n\
9379 -2: draw no box, no tick marks, no numeric tick labels, no axes.\n\
9380 -1: draw box only.\n\
9381 0: draw box, ticks, and numeric tick labels.\n\
9382 1: also draw coordinate axes at x=0 and y=0.\n\
9383 2: also draw a grid at major tick positions in both\n\
9384 coordinates.\n\
9385 3: also draw a grid at minor tick positions in both\n\
9386 coordinates.\n\
9387 10: same as 0 except logarithmic x tick marks. (The x data\n\
9388 have to be converted to logarithms separately.)\n\
9389 11: same as 1 except logarithmic x tick marks. (The x data\n\
9390 have to be converted to logarithms separately.)\n\
9391 12: same as 2 except logarithmic x tick marks. (The x data\n\
9392 have to be converted to logarithms separately.)\n\
9393 13: same as 3 except logarithmic x tick marks. (The x data\n\
9394 have to be converted to logarithms separately.)\n\
9395 20: same as 0 except logarithmic y tick marks. (The y data\n\
9396 have to be converted to logarithms separately.)\n\
9397 21: same as 1 except logarithmic y tick marks. (The y data\n\
9398 have to be converted to logarithms separately.)\n\
9399 22: same as 2 except logarithmic y tick marks. (The y data\n\
9400 have to be converted to logarithms separately.)\n\
9401 23: same as 3 except logarithmic y tick marks. (The y data\n\
9402 have to be converted to logarithms separately.)\n\
9403 30: same as 0 except logarithmic x and y tick marks. (The x\n\
9404 and y data have to be converted to logarithms separately.)\n\
9405 31: same as 1 except logarithmic x and y tick marks. (The x\n\
9406 and y data have to be converted to logarithms separately.)\n\
9407 32: same as 2 except logarithmic x and y tick marks. (The x\n\
9408 and y data have to be converted to logarithms separately.)\n\
9409 33: same as 3 except logarithmic x and y tick marks. (The x\n\
9410 and y data have to be converted to logarithms separately.)\n\
9411 40: same as 0 except date / time x labels.\n\
9412 41: same as 1 except date / time x labels.\n\
9413 42: same as 2 except date / time x labels.\n\
9414 43: same as 3 except date / time x labels.\n\
9415 50: same as 0 except date / time y labels.\n\
9416 51: same as 1 except date / time y labels.\n\
9417 52: same as 2 except date / time y labels.\n\
9418 53: same as 3 except date / time y labels.\n\
9419 60: same as 0 except date / time x and y labels.\n\
9420 61: same as 1 except date / time x and y labels.\n\
9421 62: same as 2 except date / time x and y labels.\n\
9422 63: same as 3 except date / time x and y labels.\n\
9423 70: same as 0 except custom x and y labels.\n\
9424 71: same as 1 except custom x and y labels.\n\
9425 72: same as 2 except custom x and y labels.\n\
9426 73: same as 3 except custom x and y labels.\n\
9427";
9428static const char* _wrap_plssym_texinfo = "-*- texinfo -*-\n\
9429Set symbol size\n\
9430\n\
9431DESCRIPTION:\n\
9432\n\
9433 This sets up the size of all subsequent symbols drawn by plpoin and\n\
9434 plsym. The actual height of a symbol is the product of the default\n\
9435 symbol size and a scaling factor as for the character height.\n\
9436\n\
9437 Redacted form: plssym(def, scale)\n\
9438\n\
9439 This function is used in example 29.\n\
9440\n\
9441\n\
9442\n\
9443SYNOPSIS:\n\
9444\n\
9445plssym(def, scale)\n\
9446\n\
9447ARGUMENTS:\n\
9448\n\
9449 def (PLFLT, input) : The default height of a symbol in millimeters,\n\
9450 should be set to zero if the default height is to remain\n\
9451 unchanged.\n\
9452\n\
9453 scale (PLFLT, input) : Scale factor to be applied to default to get\n\
9454 actual symbol height.\n\
9455";
9456static const char* _wrap_plsdiori_texinfo = "-*- texinfo -*-\n\
9457Set plot orientation\n\
9458\n\
9459DESCRIPTION:\n\
9460\n\
9461 Set plot orientation parameter which is multiplied by 90 degrees to\n\
9462 obtain the angle of rotation. Note, arbitrary rotation parameters\n\
9463 such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n\
9464 values for the rotation parameter are 0., 1., 2., and 3. corresponding\n\
9465 to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n\
9466 (seascape mode), and 270 degrees (upside-down mode). If plsdiori is\n\
9467 not called the default value of rot is 0.\n\
9468\n\
9469 N.B. aspect ratio is unaffected by calls to plsdiori. So you will\n\
9470 probably want to change the aspect ratio to a value suitable for the\n\
9471 plot orientation using a call to plsdidev or the command-line options\n\
9472 -a or -freeaspect. For more documentation of those options see the\n\
9473 PLplot documentation. Such command-line options can be set internally\n\
9474 using plsetopt or set directly using the command line and parsed using\n\
9475 a call to plparseopts.\n\
9476\n\
9477 Redacted form: plsdiori(rot)\n\
9478\n\
9479 This function is not used in any examples.\n\
9480\n\
9481\n\
9482\n\
9483SYNOPSIS:\n\
9484\n\
9485plsdiori(rot)\n\
9486\n\
9487ARGUMENTS:\n\
9488\n\
9489 rot (PLFLT, input) : Plot orientation parameter.\n\
9490";
9491static const char* _wrap_pladv_texinfo = "-*- texinfo -*-\n\
9492Advance the (sub-)page\n\
9493\n\
9494DESCRIPTION:\n\
9495\n\
9496 Advances to the next subpage if sub=0, performing a page advance if\n\
9497 there are no remaining subpages on the current page. If subpages\n\
9498 aren\'t being used, pladv(0) will always advance the page. If page>0,\n\
9499 PLplot switches to the specified subpage. Note that this allows you\n\
9500 to overwrite a plot on the specified subpage; if this is not what you\n\
9501 intended, use pleop followed by plbop to first advance the page. This\n\
9502 routine is called automatically (with page=0) by plenv, but if plenv\n\
9503 is not used, pladv must be called after initializing PLplot but before\n\
9504 defining the viewport.\n\
9505\n\
9506 Redacted form: pladv(page)\n\
9507\n\
9508 This function is used in examples 1, 2, 4, 6-12, 14-18, 20, 21, 23-27,\n\
9509 29, and 31.\n\
9510\n\
9511\n\
9512\n\
9513SYNOPSIS:\n\
9514\n\
9515pladv(page)\n\
9516\n\
9517ARGUMENTS:\n\
9518\n\
9519 page (PLINT, input) : Specifies the subpage number (starting from 1\n\
9520 in the top left corner and increasing along the rows) to which to\n\
9521 advance. Set to zero to advance to the next subpage (or to the\n\
9522 next page if subpages are not being used).\n\
9523";
9524static const char* _wrap_plscmap0_texinfo = "-*- texinfo -*-\n\
9525Set cmap0 colors by 8-bit RGB values\n\
9526\n\
9527DESCRIPTION:\n\
9528\n\
9529 Set cmap0 colors using 8-bit RGB values (see the PLplot\n\
9530 documentation). This sets the entire color map -- only as many colors\n\
9531 as specified will be allocated.\n\
9532\n\
9533 Redacted form: plscmap0(r, g, b)\n\
9534\n\
9535 This function is used in examples 2 and 24.\n\
9536\n\
9537\n\
9538\n\
9539SYNOPSIS:\n\
9540\n\
9541plscmap0(r, g, b, ncol0)\n\
9542\n\
9543ARGUMENTS:\n\
9544\n\
9545 r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n\
9546 integers (0-255) representing the degree of red in the color.\n\
9547\n\
9548 g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n\
9549 integers (0-255) representing the degree of green in the color.\n\
9550\n\
9551 b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n\
9552 integers (0-255) representing the degree of blue in the color.\n\
9553\n\
9554 ncol0 (PLINT, input) : Number of items in the r, g, and b vectors.\n\
9555";
9556static const char* _wrap_plgchr_texinfo = "-*- texinfo -*-\n\
9557Get character default height and current (scaled) height\n\
9558\n\
9559DESCRIPTION:\n\
9560\n\
9561 Get character default height and current (scaled) height.\n\
9562\n\
9563 Redacted form: plgchr(p_def, p_ht)\n\
9564\n\
9565 This function is used in example 23.\n\
9566\n\
9567\n\
9568\n\
9569SYNOPSIS:\n\
9570\n\
9571plgchr(p_def, p_ht)\n\
9572\n\
9573ARGUMENTS:\n\
9574\n\
9575 p_def (PLFLT_NC_SCALAR, output) : Returned value of the default\n\
9576 character height (mm).\n\
9577\n\
9578 p_ht (PLFLT_NC_SCALAR, output) : Returned value of the scaled\n\
9579 character height (mm).\n\
9580";
9581static const char* _wrap_plscmap1_texinfo = "-*- texinfo -*-\n\
9582Set opaque RGB cmap1 colors values\n\
9583\n\
9584DESCRIPTION:\n\
9585\n\
9586 Set opaque cmap1 colors (see the PLplot documentation) using RGB\n\
9587 vector values. This function also sets the number of cmap1 colors.\n\
9588 N.B. Continuous cmap1 colors are indexed with a floating-point index\n\
9589 in the range from 0.0-1.0 which is linearly transformed (e.g., by\n\
9590 plcol1) to an integer index of these RGB vectors in the range from 0\n\
9591 to\n\
9592 ncol1-1. So in order for this continuous color model to work\n\
9593 properly, it is the responsibility of the user of plscmap1 to insure\n\
9594 that these RGB vectors are continuous functions of their integer\n\
9595 indices.\n\
9596\n\
9597 Redacted form: plscmap1(r, g, b)\n\
9598\n\
9599 This function is used in example 31.\n\
9600\n\
9601\n\
9602\n\
9603SYNOPSIS:\n\
9604\n\
9605plscmap1(r, g, b, ncol1)\n\
9606\n\
9607ARGUMENTS:\n\
9608\n\
9609 r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n\
9610 8-bit integers in the range from 0-255) the degree of red in the\n\
9611 color as a continuous function of the integer index of the vector.\n\
9612\n\
9613 g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n\
9614 8-bit integers in the range from 0-255) the degree of green in the\n\
9615 color as a continuous function of the integer index of the vector.\n\
9616\n\
9617 b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n\
9618 8-bit integers in the range from 0-255) the degree of blue in the\n\
9619 color as a continuous function of the integer index of the vector.\n\
9620\n\
9621 ncol1 (PLINT, input) : Number of items in the r, g, and b vectors.\n\
9622";
9623static const char* _wrap_plSetOpt_texinfo = "-*- texinfo -*-\n\
9624Set any command-line option\n\
9625\n\
9626DESCRIPTION:\n\
9627\n\
9628 Set any command-line option internally from a program before it\n\
9629 invokes plinit. opt is the name of the command-line option and optarg\n\
9630 is the corresponding command-line option argument.\n\
9631\n\
9632 This function returns 0 on success.\n\
9633\n\
9634 Redacted form: plsetopt(opt, optarg)\n\
9635\n\
9636 This function is used in example 14.\n\
9637\n\
9638\n\
9639\n\
9640SYNOPSIS:\n\
9641\n\
9642PLINT plsetopt(opt, optarg)\n\
9643\n\
9644ARGUMENTS:\n\
9645\n\
9646 opt (PLCHAR_VECTOR, input) : An ascii character string containing\n\
9647 the command-line option.\n\
9648\n\
9649 optarg (PLCHAR_VECTOR, input) : An ascii character string\n\
9650 containing the argument of the command-line option.\n\
9651";
9652static const char* _wrap_plgradient_texinfo = "-*- texinfo -*-\n\
9653Draw linear gradient inside polygon\n\
9654\n\
9655DESCRIPTION:\n\
9656\n\
9657 Draw a linear gradient using cmap1 inside the polygon defined by the n\n\
9658 points (\n\
9659 x[i],\n\
9660 y[i]). Interpretation of the polygon is the same as for plfill. The\n\
9661 polygon coordinates and the gradient angle are all expressed in world\n\
9662 coordinates. The angle from the x axis for both the rotated\n\
9663 coordinate system and the gradient vector is specified by angle. The\n\
9664 magnitude of the gradient vector is the difference between the maximum\n\
9665 and minimum values of x for the vertices in the rotated coordinate\n\
9666 system. The origin of the gradient vector can be interpreted as being\n\
9667 anywhere on the line corresponding to the minimum x value for the\n\
9668 vertices in the rotated coordinate system. The distance along the\n\
9669 gradient vector is linearly transformed to the independent variable of\n\
9670 color map 1 which ranges from 0. at the tail of the gradient vector to\n\
9671 1. at the head of the gradient vector. What is drawn is the RGBA\n\
9672 color corresponding to the independent variable of cmap1. For more\n\
9673 information about cmap1 (see the PLplot documentation).\n\
9674\n\
9675 Redacted form: plgradient(x,y,angle)\n\
9676\n\
9677 This function is used in examples 25 and 30.\n\
9678\n\
9679\n\
9680\n\
9681SYNOPSIS:\n\
9682\n\
9683plgradient(n, x, y, angle)\n\
9684\n\
9685ARGUMENTS:\n\
9686\n\
9687 n (PLINT, input) : Number of vertices in polygon.\n\
9688\n\
9689 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
9690 vertices.\n\
9691\n\
9692 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
9693 vertices.\n\
9694\n\
9695 angle (PLFLT, input) : Angle (degrees) of gradient vector from x\n\
9696 axis.\n\
9697";
9698static const char* _wrap_plsmaj_texinfo = "-*- texinfo -*-\n\
9699Set length of major ticks\n\
9700\n\
9701DESCRIPTION:\n\
9702\n\
9703 This sets up the length of the major ticks. The actual length is the\n\
9704 product of the default length and a scaling factor as for character\n\
9705 height.\n\
9706\n\
9707 Redacted form: plsmaj(def, scale)\n\
9708\n\
9709 This function is used in example 29.\n\
9710\n\
9711\n\
9712\n\
9713SYNOPSIS:\n\
9714\n\
9715plsmaj(def, scale)\n\
9716\n\
9717ARGUMENTS:\n\
9718\n\
9719 def (PLFLT, input) : The default length of a major tick in\n\
9720 millimeters, should be set to zero if the default length is to\n\
9721 remain unchanged.\n\
9722\n\
9723 scale (PLFLT, input) : Scale factor to be applied to default to get\n\
9724 actual tick length.\n\
9725";
9726static const char* _wrap_plstransform_texinfo = "-*- texinfo -*-\n\
9727Set a global coordinate transform function\n\
9728\n\
9729DESCRIPTION:\n\
9730\n\
9731 This function can be used to define a coordinate transformation which\n\
9732 affects all elements drawn within the current plot window. The\n\
9733 coordinate_transform callback function is similar to that provided for\n\
9734 the plmap and plmeridians functions. The coordinate_transform_data\n\
9735 parameter may be used to pass extra data to coordinate_transform.\n\
9736\n\
9737 Redacted form: General: plstransform(coordinate_transform,\n\
9738 coordinate_transform_data)\n\
9739\n\
9740\n\
9741 This function is used in examples 19 and 22.\n\
9742\n\
9743\n\
9744\n\
9745SYNOPSIS:\n\
9746\n\
9747plstransform(coordinate_transform, coordinate_transform_data)\n\
9748\n\
9749ARGUMENTS:\n\
9750\n\
9751 coordinate_transform (PLTRANSFORM_callback, input) : A callback\n\
9752 function that defines the transformation from the input (x, y)\n\
9753 world coordinates to new PLplot world coordinates. If\n\
9754 coordinate_transform is not supplied (e.g., is set to NULL in the C\n\
9755 case), then no transform is applied.\n\
9756\n\
9757 coordinate_transform_data (PLPointer, input) : Optional extra data\n\
9758 for\n\
9759 coordinate_transform.\n\
9760";
9761static const char* _wrap_plconfigtime_texinfo = "-*- texinfo -*-\n\
9762Configure the transformation between continuous and broken-down time for the current stream\n\
9763\n\
9764DESCRIPTION:\n\
9765\n\
9766 Configure the transformation between continuous and broken-down time\n\
9767 for the current stream. This transformation is used by both plbtime\n\
9768 and plctime.\n\
9769\n\
9770 Redacted form: General: plconfigtime(scale, offset1, offset2,\n\
9771 ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n\
9772\n\
9773\n\
9774 This function is used in example 29.\n\
9775\n\
9776\n\
9777\n\
9778SYNOPSIS:\n\
9779\n\
9780plconfigtime(scale, offset1, offset2, ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n\
9781\n\
9782ARGUMENTS:\n\
9783\n\
9784 scale (PLFLT, input) : The number of days per continuous time unit.\n\
9785 As a special case, if\n\
9786 scale is 0., then all other arguments are ignored, and the result (the\n\
9787 default used by PLplot) is the equivalent of a call to\n\
9788 plconfigtime(1./86400., 0., 0., 0x0, 1, 1970, 0, 1, 0, 0, 0.).\n\
9789 That is, for this special case broken-down time is calculated with\n\
9790 the proleptic Gregorian calendar with no leap seconds inserted,\n\
9791 and the continuous time is defined as the number of seconds since\n\
9792 the Unix epoch of 1970-01-01T00:00:00Z.\n\
9793\n\
9794 offset1 (PLFLT, input) : If\n\
9795 ifbtime_offset is true, the parameters\n\
9796 offset1 and\n\
9797 offset2 are completely ignored. Otherwise, the sum of these parameters\n\
9798 (with units in days) specify the epoch of the continuous time\n\
9799 relative to the MJD epoch corresponding to the Gregorian calendar\n\
9800 date of 1858-11-17T00:00:00Z or JD = 2400000.5. Two PLFLT numbers\n\
9801 are used to specify the origin to allow users (by specifying\n\
9802 offset1 as an integer that can be exactly represented by a\n\
9803 floating-point variable and specifying\n\
9804 offset2 as a number in the range from 0. to 1) the chance to minimize\n\
9805 the numerical errors of the continuous time representation.\n\
9806\n\
9807 offset2 (PLFLT, input) : See documentation of\n\
9808 offset1.\n\
9809\n\
9810 ccontrol (PLINT, input) : ccontrol contains bits controlling the\n\
9811 transformation. If the 0x1 bit is set, then the proleptic Julian\n\
9812 calendar is used for broken-down time rather than the proleptic\n\
9813 Gregorian calendar. If the 0x2 bit is set, then leap seconds that\n\
9814 have been historically used to define UTC are inserted into the\n\
9815 broken-down time. Other possibilities for additional control bits\n\
9816 for ccontrol exist such as making the historical time corrections\n\
9817 in the broken-down time corresponding to ET (ephemeris time) or\n\
9818 making the (slightly non-constant) corrections from international\n\
9819 atomic time (TAI) to what astronomers define as terrestrial time\n\
9820 (TT). But those additional possibilities have not been\n\
9821 implemented yet in the qsastime library (one of the PLplot utility\n\
9822 libraries).\n\
9823\n\
9824 ifbtime_offset (PLBOOL, input) : ifbtime_offset controls how the\n\
9825 epoch of the continuous time scale is specified by the user. If\n\
9826 ifbtime_offset is false, then\n\
9827 offset1 and\n\
9828 offset2 are used to specify the epoch, and the following broken-down\n\
9829 time parameters are completely ignored. If\n\
9830 ifbtime_offset is true, then\n\
9831 offset1 and\n\
9832 offset2 are completely ignored, and the following broken-down time\n\
9833 parameters are used to specify the epoch.\n\
9834\n\
9835 year (PLINT, input) : Year of epoch.\n\
9836\n\
9837 month (PLINT, input) : Month of epoch in range from 0 (January) to\n\
9838 11 (December).\n\
9839\n\
9840 day (PLINT, input) : Day of epoch in range from 1 to 31.\n\
9841\n\
9842 hour (PLINT, input) : Hour of epoch in range from 0 to 23\n\
9843\n\
9844 min (PLINT, input) : Minute of epoch in range from 0 to 59.\n\
9845\n\
9846 sec (PLFLT, input) : Second of epoch in range from 0. to 60.\n\
9847";
9848static const char* _wrap_plflush_texinfo = "-*- texinfo -*-\n\
9849Flushes the output stream\n\
9850\n\
9851DESCRIPTION:\n\
9852\n\
9853 Flushes the output stream. Use sparingly, if at all.\n\
9854\n\
9855 Redacted form: plflush()\n\
9856\n\
9857 This function is used in examples 1 and 14.\n\
9858\n\
9859\n\
9860\n\
9861SYNOPSIS:\n\
9862\n\
9863plflush()\n\
9864";
9865static const char* _wrap_plsurf3dl_texinfo = "-*- texinfo -*-\n\
9866Plot shaded 3-d surface plot for z[x][y] with y index limits\n\
9867\n\
9868DESCRIPTION:\n\
9869\n\
9870 This variant of plsurf3d (see that function\'s documentation for more\n\
9871 details) should be suitable for the case where the area of the x, y\n\
9872 coordinate grid where z is defined can be non-rectangular. The limits\n\
9873 of that grid are provided by the parameters indexxmin, indexxmax,\n\
9874 indexymin, and indexymax.\n\
9875\n\
9876 Redacted form: plsurf3dl(x, y, z, opt, clevel, indexxmin, indexymin,\n\
9877 indexymax)\n\
9878\n\
9879 This function is used in example 8.\n\
9880\n\
9881\n\
9882\n\
9883SYNOPSIS:\n\
9884\n\
9885plsurf3dl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n\
9886\n\
9887ARGUMENTS:\n\
9888\n\
9889 x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n\
9890 which the function is evaluated.\n\
9891\n\
9892 y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n\
9893 which the function is evaluated.\n\
9894\n\
9895 z (PLFLT_MATRIX, input) : A matrix containing function values to\n\
9896 plot. Should have dimensions of\n\
9897 nx by\n\
9898 ny.\n\
9899\n\
9900 nx (PLINT, input) : Number of x values at which function is\n\
9901 evaluated.\n\
9902\n\
9903 ny (PLINT, input) : Number of y values at which function is\n\
9904 evaluated.\n\
9905\n\
9906 opt (PLINT, input) : Determines the way in which the surface is\n\
9907 represented. To specify more than one option just add the options,\n\
9908 e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n\
9909 connecting points at which function is defined.\n\
9910 opt=BASE_CONT : A contour plot is drawn at the base XY plane\n\
9911 using parameters\n\
9912 nlevel and\n\
9913 clevel.\n\
9914 opt=SURF_CONT : A contour plot is drawn at the surface plane\n\
9915 using parameters\n\
9916 nlevel and\n\
9917 clevel.\n\
9918 opt=DRAW_SIDES : draws a curtain between the base XY plane and\n\
9919 the borders of the plotted function.\n\
9920 opt=MAG_COLOR : the surface is colored according to the value\n\
9921 of Z; if MAG_COLOR is not used, then the surface is colored\n\
9922 according to the intensity of the reflected light in the\n\
9923 surface from a light source whose position is set using\n\
9924 pllightsource.\n\
9925\n\
9926\n\
9927 clevel (PLFLT_VECTOR, input) : A vector containing the contour\n\
9928 levels.\n\
9929\n\
9930 nlevel (PLINT, input) : Number of elements in the clevel vector.\n\
9931\n\
9932 indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n\
9933 corresponds to the first x index where z is defined.\n\
9934\n\
9935 indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n\
9936 which corresponds (by convention) to one more than the last x\n\
9937 index value where z is defined.\n\
9938\n\
9939 indexymin (PLINT_VECTOR, input) : A vector containing the y index\n\
9940 values which all must be ≥ 0. These values are the first y index\n\
9941 where z is defined for a particular x index in the range from\n\
9942 indexxmin to indexxmax - 1. The dimension of indexymin is\n\
9943 indexxmax.\n\
9944\n\
9945 indexymax (PLINT_VECTOR, input) : A vector containing the y index\n\
9946 values which all must be ≤ ny. These values correspond (by\n\
9947 convention) to one more than the last y index where z is defined\n\
9948 for a particular x index in the range from indexxmin to indexxmax\n\
9949 - 1. The dimension of indexymax is indexxmax.\n\
9950";
9951static const char* _wrap_plscmap1a_texinfo = "-*- texinfo -*-\n\
9952Set semitransparent cmap1 RGBA colors.\n\
9953\n\
9954DESCRIPTION:\n\
9955\n\
9956 Set semitransparent cmap1 colors (see the PLplot documentation) using\n\
9957 RGBA vector values. This function also sets the number of cmap1\n\
9958 colors. N.B. Continuous cmap1 colors are indexed with a\n\
9959 floating-point index in the range from 0.0-1.0 which is linearly\n\
9960 transformed (e.g., by plcol1) to an integer index of these RGBA\n\
9961 vectors in the range from 0 to\n\
9962 ncol1-1. So in order for this continuous color model to work\n\
9963 properly, it is the responsibility of the user of plscmap1 to insure\n\
9964 that these RGBA vectors are continuous functions of their integer\n\
9965 indices.\n\
9966\n\
9967 Redacted form: plscmap1a(r, g, b, alpha)\n\
9968\n\
9969 This function is used in example 31.\n\
9970\n\
9971\n\
9972\n\
9973SYNOPSIS:\n\
9974\n\
9975plscmap1a(r, g, b, alpha, ncol1)\n\
9976\n\
9977ARGUMENTS:\n\
9978\n\
9979 r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n\
9980 8-bit integers in the range from 0-255) the degree of red in the\n\
9981 color as a continuous function of the integer index of the vector.\n\
9982\n\
9983 g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n\
9984 8-bit integers in the range from 0-255) the degree of green in the\n\
9985 color as a continuous function of the integer index of the vector.\n\
9986\n\
9987 b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n\
9988 8-bit integers in the range from 0-255) the degree of blue in the\n\
9989 color as a continuous function of the integer index of the vector.\n\
9990\n\
9991 alpha (PLFLT_VECTOR, input) : A vector that represents (using PLFLT\n\
9992 values in the range from 0.0-1.0 where 0.0 corresponds to\n\
9993 completely transparent and 1.0 corresponds to completely opaque)\n\
9994 the alpha transparency of the color as a continuous function of\n\
9995 the integer index of the vector.\n\
9996\n\
9997 ncol1 (PLINT, input) : Number of items in the r, g, b, and alpha\n\
9998 vectors.\n\
9999";
10000static const char* _wrap_plbtime_texinfo = "-*- texinfo -*-\n\
10001Calculate broken-down time from continuous time for the current stream\n\
10002\n\
10003DESCRIPTION:\n\
10004\n\
10005 Calculate broken-down time; year, month, day, hour, min, sec; from\n\
10006 continuous time, ctime for the current stream. This function is the\n\
10007 inverse of plctime.\n\
10008\n\
10009 The PLplot definition of broken-down time is a calendar time that\n\
10010 completely ignores all time zone offsets, i.e., it is the user\'s\n\
10011 responsibility to apply those offsets (if so desired) before using the\n\
10012 PLplot time API. By default broken-down time is defined using the\n\
10013 proleptic Gregorian calendar without the insertion of leap seconds and\n\
10014 continuous time is defined as the number of seconds since the Unix\n\
10015 epoch of 1970-01-01T00:00:00Z. However, other definitions of\n\
10016 broken-down and continuous time are possible, see plconfigtime.\n\
10017\n\
10018 Redacted form: General: plbtime(year, month, day, hour, min, sec,\n\
10019 ctime)\n\
10020\n\
10021\n\
10022 This function is used in example 29.\n\
10023\n\
10024\n\
10025\n\
10026SYNOPSIS:\n\
10027\n\
10028plbtime(year, month, day, hour, min, sec, ctime)\n\
10029\n\
10030ARGUMENTS:\n\
10031\n\
10032 year (PLINT_NC_SCALAR, output) : Returned value of years with\n\
10033 positive values corresponding to CE (i.e., 1 = 1 CE, etc.) and\n\
10034 non-negative values corresponding to BCE (e.g., 0 = 1 BCE, -1 = 2\n\
10035 BCE, etc.)\n\
10036\n\
10037 month (PLINT_NC_SCALAR, output) : Returned value of month within\n\
10038 the year in the range from 0 (January) to 11 (December).\n\
10039\n\
10040 day (PLINT_NC_SCALAR, output) : Returned value of day within the\n\
10041 month in the range from 1 to 31.\n\
10042\n\
10043 hour (PLINT_NC_SCALAR, output) : Returned value of hour within the\n\
10044 day in the range from 0 to 23.\n\
10045\n\
10046 min (PLINT_NC_SCALAR, output) : Returned value of minute within the\n\
10047 hour in the range from 0 to 59\n\
10048\n\
10049 sec (PLFLT_NC_SCALAR, output) : Returned value of second within the\n\
10050 minute in range from 0. to 60.\n\
10051\n\
10052 ctime (PLFLT, input) : Continuous time from which the broken-down\n\
10053 time is calculated.\n\
10054";
10055static const char* _wrap_plrgbhls_texinfo = "-*- texinfo -*-\n\
10056Convert RGB color to HLS\n\
10057\n\
10058DESCRIPTION:\n\
10059\n\
10060 Convert RGB color coordinates to HLS\n\
10061\n\
10062 Redacted form: General: plrgbhls(r, g, b, p_h, p_l, p_s)\n\
10063\n\
10064\n\
10065 This function is used in example 2.\n\
10066\n\
10067\n\
10068\n\
10069SYNOPSIS:\n\
10070\n\
10071plrgbhls(r, g, b, p_h, p_l, p_s)\n\
10072\n\
10073ARGUMENTS:\n\
10074\n\
10075 r (PLFLT, input) : Red intensity (0.0-1.0) of the color.\n\
10076\n\
10077 g (PLFLT, input) : Green intensity (0.0-1.0) of the color.\n\
10078\n\
10079 b (PLFLT, input) : Blue intensity (0.0-1.0) of the color.\n\
10080\n\
10081 p_h (PLFLT_NC_SCALAR, output) : Returned value of the hue in\n\
10082 degrees (0.0-360.0) on the color cylinder.\n\
10083\n\
10084 p_l (PLFLT_NC_SCALAR, output) : Returned value of the lightness\n\
10085 expressed as a fraction (0.0-1.0) of the axis of the color\n\
10086 cylinder.\n\
10087\n\
10088 p_s (PLFLT_NC_SCALAR, output) : Returned value of the saturation\n\
10089 expressed as a fraction (0.0-1.0) of the radius of the color\n\
10090 cylinder.\n\
10091";
10092static const char* _wrap_plgdev_texinfo = "-*- texinfo -*-\n\
10093Get the current device (keyword) name\n\
10094\n\
10095DESCRIPTION:\n\
10096\n\
10097 Get the current device (keyword) name. Note: you must have allocated\n\
10098 space for this (80 characters is safe).\n\
10099\n\
10100 Redacted form: plgdev(p_dev)\n\
10101\n\
10102 This function is used in example 14.\n\
10103\n\
10104\n\
10105\n\
10106SYNOPSIS:\n\
10107\n\
10108plgdev(p_dev)\n\
10109\n\
10110ARGUMENTS:\n\
10111\n\
10112 p_dev (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n\
10113 (with preallocated length of 80 characters or more) containing the\n\
10114 device (keyword) name.\n\
10115";
10116static const char* _wrap_plssub_texinfo = "-*- texinfo -*-\n\
10117Set the number of subpages in x and y\n\
10118\n\
10119DESCRIPTION:\n\
10120\n\
10121 Set the number of subpages in x and y.\n\
10122\n\
10123 Redacted form: plssub(nx, ny)\n\
10124\n\
10125 This function is examples 1,2,14,21,25,27.\n\
10126\n\
10127\n\
10128\n\
10129SYNOPSIS:\n\
10130\n\
10131plssub(nx, ny)\n\
10132\n\
10133ARGUMENTS:\n\
10134\n\
10135 nx (PLINT, input) : Number of windows in x direction (i.e., number\n\
10136 of window columns).\n\
10137\n\
10138 ny (PLINT, input) : Number of windows in y direction (i.e., number\n\
10139 of window rows).\n\
10140";
10141static const char* _wrap_plgstrm_texinfo = "-*- texinfo -*-\n\
10142Get current stream number\n\
10143\n\
10144DESCRIPTION:\n\
10145\n\
10146 Gets the number of the current output stream. See also plsstrm.\n\
10147\n\
10148 Redacted form: plgstrm(p_strm)\n\
10149\n\
10150 This function is used in example 1,20.\n\
10151\n\
10152\n\
10153\n\
10154SYNOPSIS:\n\
10155\n\
10156plgstrm(p_strm)\n\
10157\n\
10158ARGUMENTS:\n\
10159\n\
10160 p_strm (PLINT_NC_SCALAR, output) : Returned value of the current\n\
10161 stream value.\n\
10162";
10163static const char* _wrap_plrandd_texinfo = "-*- texinfo -*-\n\
10164Random number generator returning a real random number in the range [0,1]\n\
10165\n\
10166DESCRIPTION:\n\
10167\n\
10168 Random number generator returning a real random number in the range\n\
10169 [0,1]. The generator is based on the Mersenne Twister. Most languages\n\
10170 / compilers provide their own random number generator, and so this is\n\
10171 provided purely for convenience and to give a consistent random number\n\
10172 generator across all languages supported by PLplot. This is\n\
10173 particularly useful for comparing results from the test suite of\n\
10174 examples.\n\
10175\n\
10176 Redacted form: plrandd()\n\
10177\n\
10178 This function is used in examples 17 and 21.\n\
10179\n\
10180\n\
10181\n\
10182SYNOPSIS:\n\
10183\n\
10184plrandd()\n\
10185";
10186static const char* _wrap_plstripa_texinfo = "-*- texinfo -*-\n\
10187Add a point to a strip chart\n\
10188\n\
10189DESCRIPTION:\n\
10190\n\
10191 Add a point to a given pen of a given strip chart. There is no need\n\
10192 for all pens to have the same number of points or to be equally\n\
10193 sampled in the x coordinate. Allocates memory and rescales as\n\
10194 necessary.\n\
10195\n\
10196 Redacted form: plstripa(id, pen, x, y)\n\
10197\n\
10198 This function is used in example 17.\n\
10199\n\
10200\n\
10201\n\
10202SYNOPSIS:\n\
10203\n\
10204plstripa(id, pen, x, y)\n\
10205\n\
10206ARGUMENTS:\n\
10207\n\
10208 id (PLINT, input) : Identification number of the strip chart (set\n\
10209 up in plstripc).\n\
10210\n\
10211 pen (PLINT, input) : Pen number (ranges from 0 to 3).\n\
10212\n\
10213 x (PLFLT, input) : X coordinate of point to plot.\n\
10214\n\
10215 y (PLFLT, input) : Y coordinate of point to plot.\n\
10216";
10217static const char* _wrap_plscompression_texinfo = "-*- texinfo -*-\n\
10218Set device-compression level\n\
10219\n\
10220DESCRIPTION:\n\
10221\n\
10222 Set device-compression level. Only used for drivers that provide\n\
10223 compression. This function, if used, should be invoked before a call\n\
10224 to plinit.\n\
10225\n\
10226 Redacted form: plscompression(compression)\n\
10227\n\
10228 This function is used in example 31.\n\
10229\n\
10230\n\
10231\n\
10232SYNOPSIS:\n\
10233\n\
10234plscompression(compression)\n\
10235\n\
10236ARGUMENTS:\n\
10237\n\
10238 compression (PLINT, input) : The desired compression level. This is\n\
10239 a device-dependent value. Currently only the jpeg and png devices\n\
10240 use these values. For jpeg value is the jpeg quality which should\n\
10241 normally be in the range 0-95. Higher values denote higher quality\n\
10242 and hence larger image sizes. For png values are in the range -1\n\
10243 to 99. Values of 0-9 are taken as the compression level for zlib.\n\
10244 A value of -1 denotes the default zlib compression level. Values\n\
10245 in the range 10-99 are divided by 10 and then used as the zlib\n\
10246 compression level. Higher compression levels correspond to greater\n\
10247 compression and small file sizes at the expense of more\n\
10248 computation.\n\
10249";
10250static const char* _wrap_plsvpa_texinfo = "-*- texinfo -*-\n\
10251Specify viewport in absolute coordinates\n\
10252\n\
10253DESCRIPTION:\n\
10254\n\
10255 Alternate routine to plvpor for setting up the viewport. This routine\n\
10256 should be used only if the viewport is required to have a definite\n\
10257 size in millimeters. The routine plgspa is useful for finding out the\n\
10258 size of the current subpage.\n\
10259\n\
10260 Redacted form: plsvpa(xmin, xmax, ymin, ymax)\n\
10261\n\
10262 This function is used in example 10.\n\
10263\n\
10264\n\
10265\n\
10266SYNOPSIS:\n\
10267\n\
10268plsvpa(xmin, xmax, ymin, ymax)\n\
10269\n\
10270ARGUMENTS:\n\
10271\n\
10272 xmin (PLFLT, input) : The distance of the left-hand edge of the\n\
10273 viewport from the left-hand edge of the subpage in millimeters.\n\
10274\n\
10275 xmax (PLFLT, input) : The distance of the right-hand edge of the\n\
10276 viewport from the left-hand edge of the subpage in millimeters.\n\
10277\n\
10278 ymin (PLFLT, input) : The distance of the bottom edge of the\n\
10279 viewport from the bottom edge of the subpage in millimeters.\n\
10280\n\
10281 ymax (PLFLT, input) : The distance of the top edge of the viewport\n\
10282 from the bottom edge of the subpage in millimeters.\n\
10283";
10284static const char* _wrap_plpoly3_texinfo = "-*- texinfo -*-\n\
10285Draw a polygon in 3 space\n\
10286\n\
10287DESCRIPTION:\n\
10288\n\
10289 Draws a polygon in 3 space defined by n points in x, y, and z. Setup\n\
10290 like plline3, but differs from that function in that plpoly3 attempts\n\
10291 to determine if the polygon is viewable depending on the order of the\n\
10292 points within the vector and the value of ifcc. If the back of\n\
10293 polygon is facing the viewer, then it isn\'t drawn. If this isn\'t what\n\
10294 you want, then use plline3 instead.\n\
10295\n\
10296 The points are assumed to be in a plane, and the directionality of the\n\
10297 plane is determined from the first three points. Additional points do\n\
10298 not have to lie on the plane defined by the first three, but if they\n\
10299 do not, then the determination of visibility obviously can\'t be 100%\n\
10300 accurate... So if you\'re 3 space polygons are too far from planar,\n\
10301 consider breaking them into smaller polygons. 3 points define a plane\n\
10302 :-).\n\
10303\n\
10304 Bugs: If one of the first two segments is of zero length, or if they\n\
10305 are co-linear, the calculation of visibility has a 50/50 chance of\n\
10306 being correct. Avoid such situations :-). See x18c.c for an example\n\
10307 of this problem. (Search for 20.1).\n\
10308\n\
10309 Redacted form: plpoly3(x, y, z, code)\n\
10310\n\
10311 This function is used in example 18.\n\
10312\n\
10313\n\
10314\n\
10315SYNOPSIS:\n\
10316\n\
10317plpoly3(n, x, y, z, draw, ifcc)\n\
10318\n\
10319ARGUMENTS:\n\
10320\n\
10321 n (PLINT, input) : Number of points defining line.\n\
10322\n\
10323 x (PLFLT_VECTOR, input) : A vector containing\n\
10324 n x coordinates of points.\n\
10325\n\
10326 y (PLFLT_VECTOR, input) : A vector containing\n\
10327 n y coordinates of points.\n\
10328\n\
10329 z (PLFLT_VECTOR, input) : A vector containing\n\
10330 n z coordinates of points.\n\
10331\n\
10332 draw (PLBOOL_VECTOR, input) : A vector containing\n\
10333 n-1 Boolean values which control drawing the segments of the polygon.\n\
10334 If draw[i] is true, then the polygon segment from index [i] to\n\
10335 [i+1] is drawn, otherwise, not.\n\
10336\n\
10337 ifcc (PLBOOL, input) : If ifcc is true the directionality of the\n\
10338 polygon is determined by assuming the points are laid out in a\n\
10339 counter-clockwise order. Otherwise, the directionality of the\n\
10340 polygon is determined by assuming the points are laid out in a\n\
10341 clockwise order.\n\
10342";
10343static const char* _wrap_plot3dc_texinfo = "-*- texinfo -*-\n\
10344Magnitude colored plot surface with contour\n\
10345\n\
10346DESCRIPTION:\n\
10347\n\
10348 Aside from dropping the\n\
10349 side functionality this is a more powerful form of plot3d: the surface\n\
10350 mesh can be colored accordingly to the current z value being plotted,\n\
10351 a contour plot can be drawn at the base XY plane, and a curtain can be\n\
10352 drawn between the plotted function border and the base XY plane. The\n\
10353 arguments are identical to those of plmeshc. The only difference\n\
10354 between plmeshc and plot3dc is that plmeshc draws the bottom side of\n\
10355 the surface, while plot3dc only draws the surface as viewed from the\n\
10356 top.\n\
10357\n\
10358 Redacted form: General: plot3dc(x, y, z, opt, clevel)\n\
10359\n\
10360\n\
10361 This function is used in example 21.\n\
10362\n\
10363\n\
10364\n\
10365SYNOPSIS:\n\
10366\n\
10367plot3dc(x, y, z, nx, ny, opt, clevel, nlevel)\n\
10368\n\
10369ARGUMENTS:\n\
10370\n\
10371 x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n\
10372 which the function is evaluated.\n\
10373\n\
10374 y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n\
10375 which the function is evaluated.\n\
10376\n\
10377 z (PLFLT_MATRIX, input) : A matrix containing function values to\n\
10378 plot. Should have dimensions of\n\
10379 nx by\n\
10380 ny.\n\
10381\n\
10382 nx (PLINT, input) : Number of x values at which function is\n\
10383 evaluated.\n\
10384\n\
10385 ny (PLINT, input) : Number of y values at which function is\n\
10386 evaluated.\n\
10387\n\
10388 opt (PLINT, input) : Determines the way in which the surface is\n\
10389 represented. To specify more than one option just add the options,\n\
10390 e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n\
10391 showing z as a function of x for each value of y[j] .\n\
10392 opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n\
10393 for each value of x[i] .\n\
10394 opt=DRAW_LINEXY : Network of lines is drawn connecting points\n\
10395 at which function is defined.\n\
10396 opt=MAG_COLOR : Each line in the mesh is colored according to\n\
10397 the z value being plotted. The color is used from the current\n\
10398 cmap1.\n\
10399 opt=BASE_CONT : A contour plot is drawn at the base XY plane\n\
10400 using parameters\n\
10401 nlevel and\n\
10402 clevel.\n\
10403 opt=DRAW_SIDES : draws a curtain between the base XY plane and\n\
10404 the borders of the plotted function.\n\
10405\n\
10406\n\
10407 clevel (PLFLT_VECTOR, input) : A vector containing the contour\n\
10408 levels.\n\
10409\n\
10410 nlevel (PLINT, input) : Number of elements in the clevel vector.\n\
10411";
10412static const char* _wrap_plstripc_texinfo = "-*- texinfo -*-\n\
10413Create a 4-pen strip chart\n\
10414\n\
10415DESCRIPTION:\n\
10416\n\
10417 Create a 4-pen strip chart, to be used afterwards by plstripa\n\
10418\n\
10419 Redacted form: General: plstripc(id, xspec, yspec, xmin, xmax, xjump,\n\
10420 ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline,\n\
10421 styline, legline, labx, laby, labz)\n\
10422\n\
10423\n\
10424 This function is used in example 17.\n\
10425\n\
10426\n\
10427\n\
10428SYNOPSIS:\n\
10429\n\
10430plstripc(id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline, styline, legline[], labx, laby, labtop)\n\
10431\n\
10432ARGUMENTS:\n\
10433\n\
10434 id (PLINT_NC_SCALAR, output) : Returned value of the identification\n\
10435 number of the strip chart to use on plstripa and plstripd.\n\
10436\n\
10437 xspec (PLCHAR_VECTOR, input) : An ascii character string containing\n\
10438 the x-axis specification as in plbox.\n\
10439\n\
10440 yspec (PLCHAR_VECTOR, input) : An ascii character string containing\n\
10441 the y-axis specification as in plbox.\n\
10442\n\
10443 xmin (PLFLT, input) : Initial coordinates of plot box; they will\n\
10444 change as data are added.\n\
10445\n\
10446 xmax (PLFLT, input) : Initial coordinates of plot box; they will\n\
10447 change as data are added.\n\
10448\n\
10449 xjump (PLFLT, input) : When x attains xmax, the length of the plot\n\
10450 is multiplied by the factor (1 +\n\
10451 xjump) .\n\
10452\n\
10453 ymin (PLFLT, input) : Initial coordinates of plot box; they will\n\
10454 change as data are added.\n\
10455\n\
10456 ymax (PLFLT, input) : Initial coordinates of plot box; they will\n\
10457 change as data are added.\n\
10458\n\
10459 xlpos (PLFLT, input) : X legend box position (range from 0 to 1).\n\
10460\n\
10461 ylpos (PLFLT, input) : Y legend box position (range from 0 to 1).\n\
10462\n\
10463 y_ascl (PLBOOL, input) : Autoscale y between x jumps if y_ascl is\n\
10464 true, otherwise not.\n\
10465\n\
10466 acc (PLBOOL, input) : Accumulate strip plot if acc is true,\n\
10467 otherwise slide display.\n\
10468\n\
10469 colbox (PLINT, input) : Plot box color index (cmap0).\n\
10470\n\
10471 collab (PLINT, input) : Legend color index (cmap0).\n\
10472\n\
10473 colline (PLINT_VECTOR, input) : A vector containing the cmap0 color\n\
10474 indices for the 4 pens.\n\
10475\n\
10476 styline (PLINT_VECTOR, input) : A vector containing the line style\n\
10477 indices for the 4 pens.\n\
10478\n\
10479 legline (PLCHAR_MATRIX, input) : A vector of UTF-8 character\n\
10480 strings containing legends for the 4 pens.\n\
10481\n\
10482 labx (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n\
10483 the label for the x axis.\n\
10484\n\
10485 laby (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n\
10486 the label for the y axis.\n\
10487\n\
10488 labtop (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n\
10489 the plot title.\n\
10490";
10491static const char* _wrap_plstripd_texinfo = "-*- texinfo -*-\n\
10492Deletes and releases memory used by a strip chart\n\
10493\n\
10494DESCRIPTION:\n\
10495\n\
10496 Deletes and releases memory used by a strip chart.\n\
10497\n\
10498 Redacted form: plstripd(id)\n\
10499\n\
10500 This function is used in example 17.\n\
10501\n\
10502\n\
10503\n\
10504SYNOPSIS:\n\
10505\n\
10506plstripd(id)\n\
10507\n\
10508ARGUMENTS:\n\
10509\n\
10510 id (PLINT, input) : Identification number of strip chart to delete.\n\
10511";
10512static const char* _wrap_plscmap1l_texinfo = "-*- texinfo -*-\n\
10513Set cmap1 colors using a piece-wise linear relationship\n\
10514\n\
10515DESCRIPTION:\n\
10516\n\
10517 Set cmap1 colors using a piece-wise linear relationship between the\n\
10518 cmap1 intensity index (0.0-1.0) and position in HLS or RGB color space\n\
10519 (see the PLplot documentation). May be called at any time.\n\
10520\n\
10521 The idea here is to specify a number of control points that define the\n\
10522 mapping between input cmap1 intensity indices and HLS or RGB. Between\n\
10523 these points, linear interpolation is used which gives a smooth\n\
10524 variation of color with intensity index. Any number of control points\n\
10525 may be specified, located at arbitrary positions, although typically 2\n\
10526 - 4 are enough. Another way of stating this is that we are traversing\n\
10527 a given number of lines through HLS or RGB space as we move through\n\
10528 cmap1 intensity indices. The control points at the minimum and\n\
10529 maximum position (0 and 1) must always be specified. By adding more\n\
10530 control points you can get more variation. One good technique for\n\
10531 plotting functions that vary about some expected average is to use an\n\
10532 additional 2 control points in the center (position ~= 0.5) that are\n\
10533 the same lightness as the background (typically white for paper\n\
10534 output, black for crt), and same hue as the boundary control points.\n\
10535 This allows the highs and lows to be very easily distinguished.\n\
10536\n\
10537 Each control point must specify the cmap1 intensity index and the\n\
10538 associated three coordinates in HLS or RGB space. The first point\n\
10539 must correspond to position = 0, and the last to position = 1.\n\
10540\n\
10541 If RGB colors are provided then the interpolation takes place in RGB\n\
10542 space and is trivial. However if HLS colors are provided then, because\n\
10543 of the circular nature of the color wheel for the hue coordinate, the\n\
10544 interpolation could be performed in either direction around the color\n\
10545 wheel. The default behaviour is for the hue to be linearly\n\
10546 interpolated ignoring this circular property of hue. So for example,\n\
10547 the hues 0 (red) and 240 (blue) will get interpolated via yellow,\n\
10548 green and cyan. If instead you wish to interpolate the other way\n\
10549 around the color wheel you have two options. You may provide hues\n\
10550 outside the range [0, 360), so by using a hue of -120 for blue or 360\n\
10551 for red the interpolation will proceed via magenta. Alternatively you\n\
10552 can utilise the alt_hue_path variable to reverse the direction of\n\
10553 interpolation if you need to provide hues within the [0-360) range.\n\
10554\n\
10555 Examples of interpolation Huealt_hue_pathcolor scheme[120\n\
10556 240]falsegreen-cyan-blue[240 120]falseblue-cyan-green[120\n\
10557 -120]falsegreen-yellow-red-magenta-blue[240\n\
10558 480]falseblue-magenta-red-yellow-green[120\n\
10559 240]truegreen-yellow-red-magenta-blue[240\n\
10560 120]trueblue-magenta-red-yellow-green\n\
10561\n\
10562 Bounds on coordinatesRGBR[0, 1]magnitudeRGBG[0, 1]magnitudeRGBB[0,\n\
10563 1]magnitudeHLShue[0, 360]degreesHLSlightness[0,\n\
10564 1]magnitudeHLSsaturation[0, 1]magnitude\n\
10565\n\
10566 Redacted form: plscmap1l(itype, intensity, coord1, coord2, coord3,\n\
10567 alt_hue_path)\n\
10568\n\
10569 This function is used in examples 8, 11, 12, 15, 20, and 21.\n\
10570\n\
10571\n\
10572\n\
10573SYNOPSIS:\n\
10574\n\
10575plscmap1l(itype, npts, intensity, coord1, coord2, coord3, alt_hue_path)\n\
10576\n\
10577ARGUMENTS:\n\
10578\n\
10579 itype (PLBOOL, input) : true: RGB, false: HLS.\n\
10580\n\
10581 npts (PLINT, input) : number of control points\n\
10582\n\
10583 intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n\
10584 intensity index (0.0-1.0) in ascending order for each control\n\
10585 point.\n\
10586\n\
10587 coord1 (PLFLT_VECTOR, input) : A vector containing the first\n\
10588 coordinate (H or R) for each control point.\n\
10589\n\
10590 coord2 (PLFLT_VECTOR, input) : A vector containing the second\n\
10591 coordinate (L or G) for each control point.\n\
10592\n\
10593 coord3 (PLFLT_VECTOR, input) : A vector containing the third\n\
10594 coordinate (S or B) for each control point.\n\
10595\n\
10596 alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n\
10597 npts - 1 elements), each containing either true to use the reversed\n\
10598 HLS interpolation or false to use the regular HLS interpolation.\n\
10599 (alt_hue_path[i] refers to the interpolation interval between the\n\
10600 i and i + 1 control points). This parameter is not used for RGB\n\
10601 colors (\n\
10602 itype = true).\n\
10603";
10604static const char* _wrap_plshade_texinfo = "-*- texinfo -*-\n\
10605Shade individual region on the basis of value\n\
10606\n\
10607DESCRIPTION:\n\
10608\n\
10609 Shade individual region on the basis of value. Use plshades if you\n\
10610 want to shade a number of contiguous regions using continuous colors.\n\
10611 In particular the edge contours are treated properly in plshades. If\n\
10612 you attempt to do contiguous regions with plshade the contours at the\n\
10613 edge of the shade are partially obliterated by subsequent plots of\n\
10614 contiguous shaded regions.\n\
10615\n\
10616 Redacted form: General: plshade(a, defined, xmin, xmax, ymin, ymax,\n\
10617 shade_min, shade_max, sh_cmap, sh_color, sh_width, min_color,\n\
10618 min_width, max_color, max_width, fill, rectangular, pltr, pltr_data)\n\
10619\n\
10620\n\
10621 This function is used in example 15.\n\
10622\n\
10623\n\
10624\n\
10625SYNOPSIS:\n\
10626\n\
10627plshade(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\
10628\n\
10629ARGUMENTS:\n\
10630\n\
10631 a (PLFLT_MATRIX, input) : A matrix containing function values to\n\
10632 plot. Should have dimensions of\n\
10633 nx by\n\
10634 ny.\n\
10635\n\
10636 nx (PLINT, input) : First dimension of the matrix \"a\".\n\
10637\n\
10638 ny (PLINT, input) : Second dimension of the matrix \"a\".\n\
10639\n\
10640 defined (PLDEFINED_callback, input) : Callback function specifying\n\
10641 the region that should be plotted in the shade plot. This\n\
10642 function accepts x and y coordinates as input arguments and must\n\
10643 return 1 if the point is to be included in the shade plot and 0\n\
10644 otherwise. If you want to plot the entire shade plot (the usual\n\
10645 case), this argument should be set to NULL.\n\
10646\n\
10647 xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n\
10648 pltr below for how these arguments are used (only for the special case\n\
10649 when the callback function\n\
10650 pltr is not supplied).\n\
10651\n\
10652 shade_min (PLFLT, input) : Defines the lower end of the interval to\n\
10653 be shaded. If shade_max <= shade_min, plshade does nothing.\n\
10654\n\
10655 shade_max (PLFLT, input) : Defines the upper end of the interval to\n\
10656 be shaded. If shade_max <= shade_min, plshade does nothing.\n\
10657\n\
10658 sh_cmap (PLINT, input) : Defines color map. If sh_cmap=0, then\n\
10659 sh_color is interpreted as a cmap0 (integer) index. If sh_cmap=1,\n\
10660 then sh_color is interpreted as a cmap1 argument in the range\n\
10661 (0.0-1.0).\n\
10662\n\
10663 sh_color (PLFLT, input) : Defines color map index with integer\n\
10664 value if cmap0 or value in range (0.0-1.0) if cmap1.\n\
10665\n\
10666 sh_width (PLFLT, input) : Defines width used by the fill pattern.\n\
10667\n\
10668 min_color (PLINT, input) : Defines pen color, width used by the\n\
10669 boundary of shaded region. The min values are used for the\n\
10670 shade_min boundary, and the max values are used on the shade_max\n\
10671 boundary. Set color and width to zero for no plotted boundaries.\n\
10672\n\
10673 min_width (PLFLT, input) : Defines pen color, width used by the\n\
10674 boundary of shaded region. The min values are used for the\n\
10675 shade_min boundary, and the max values are used on the shade_max\n\
10676 boundary. Set color and width to zero for no plotted boundaries.\n\
10677\n\
10678 max_color (PLINT, input) : Defines pen color, width used by the\n\
10679 boundary of shaded region. The min values are used for the\n\
10680 shade_min boundary, and the max values are used on the shade_max\n\
10681 boundary. Set color and width to zero for no plotted boundaries.\n\
10682\n\
10683 max_width (PLFLT, input) : Defines pen color, width used by the\n\
10684 boundary of shaded region. The min values are used for the\n\
10685 shade_min boundary, and the max values are used on the shade_max\n\
10686 boundary. Set color and width to zero for no plotted boundaries.\n\
10687\n\
10688 fill (PLFILL_callback, input) : Routine used to fill the region.\n\
10689 Use plfill. Future version of PLplot may have other fill\n\
10690 routines.\n\
10691\n\
10692 rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n\
10693 map to rectangles after coordinate transformation with pltrl.\n\
10694 Otherwise, set rectangular to false. If rectangular is set to\n\
10695 true, plshade tries to save time by filling large rectangles.\n\
10696 This optimization fails if the coordinate transformation distorts\n\
10697 the shape of rectangles. For example a plot in polar coordinates\n\
10698 has to have rectangular set to false.\n\
10699\n\
10700 pltr (PLTRANSFORM_callback, input) : A callback function that\n\
10701 defines the transformation between the zero-based indices of the\n\
10702 matrix a and world coordinates. If\n\
10703 pltr is not supplied (e.g., is set to NULL in the C case), then the x\n\
10704 indices of a are mapped to the range\n\
10705 xmin through\n\
10706 xmax and the y indices of a are mapped to the range\n\
10707 ymin through\n\
10708 ymax.For the C case, transformation functions are provided in the\n\
10709 PLplot library: pltr0 for the identity mapping, and pltr1 and\n\
10710 pltr2 for arbitrary mappings respectively defined by vectors and\n\
10711 matrices. In addition, C callback routines for the transformation\n\
10712 can be supplied by the user such as the mypltr function in\n\
10713 examples/c/x09c.c which provides a general linear transformation\n\
10714 between index coordinates and world coordinates.For languages\n\
10715 other than C you should consult the PLplot documentation for the\n\
10716 details concerning how PLTRANSFORM_callback arguments are\n\
10717 interfaced. However, in general, a particular pattern of\n\
10718 callback-associated arguments such as a tr vector with 6 elements;\n\
10719 xg and yg vectors; or xg and yg matrices are respectively\n\
10720 interfaced to a linear-transformation routine similar to the above\n\
10721 mypltr function; pltr1; and pltr2. Furthermore, some of our more\n\
10722 sophisticated bindings (see, e.g., the PLplot documentation)\n\
10723 support native language callbacks for handling index to\n\
10724 world-coordinate transformations. Examples of these various\n\
10725 approaches are given in examples/<language>x09*,\n\
10726 examples/<language>x16*, examples/<language>x20*,\n\
10727 examples/<language>x21*, and examples/<language>x22*, for all our\n\
10728 supported languages.\n\
10729\n\
10730 pltr_data (PLPointer, input) : Extra parameter to help pass\n\
10731 information to pltr0, pltr1, pltr2, or whatever routine that is\n\
10732 externally supplied.\n\
10733";
10734static const char* _wrap_plscmap1n_texinfo = "-*- texinfo -*-\n\
10735Set number of colors in cmap1\n\
10736\n\
10737DESCRIPTION:\n\
10738\n\
10739 Set number of colors in cmap1, (re-)allocate cmap1, and set default\n\
10740 values if this is the first allocation (see the PLplot documentation).\n\
10741\n\
10742 Redacted form: plscmap1n(ncol1)\n\
10743\n\
10744 This function is used in examples 8, 11, 20, and 21.\n\
10745\n\
10746\n\
10747\n\
10748SYNOPSIS:\n\
10749\n\
10750plscmap1n(ncol1)\n\
10751\n\
10752ARGUMENTS:\n\
10753\n\
10754 ncol1 (PLINT, input) : Number of colors that will be allocated in\n\
10755 the cmap1 palette. If this number is zero or less, then the value\n\
10756 from the previous call to plscmap1n is used and if there is no\n\
10757 previous call, then a default value is used.\n\
10758";
10759static const char* _wrap_plfamadv_texinfo = "-*- texinfo -*-\n\
10760Advance to the next family file on the next new page\n\
10761\n\
10762DESCRIPTION:\n\
10763\n\
10764 Advance to the next family file on the next new page.\n\
10765\n\
10766 Redacted form: plfamadv()\n\
10767\n\
10768 This function is not used in any examples.\n\
10769\n\
10770\n\
10771\n\
10772SYNOPSIS:\n\
10773\n\
10774plfamadv()\n\
10775";
10776static const char* _wrap_plsesc_texinfo = "-*- texinfo -*-\n\
10777Set the escape character for text strings\n\
10778\n\
10779DESCRIPTION:\n\
10780\n\
10781 Set the escape character for text strings. From C (in contrast to\n\
10782 Fortran, see plsescfortran) you pass esc as a character. Only selected\n\
10783 characters are allowed to prevent the user from shooting himself in\n\
10784 the foot (For example, a \\ isn\'t allowed since it conflicts with C\'s\n\
10785 use of backslash as a character escape). Here are the allowed escape\n\
10786 characters and their corresponding decimal ASCII values: !, ASCII 33\n\
10787 #, ASCII 35\n\
10788 $, ASCII 36\n\
10789 %, ASCII 37\n\
10790 &, ASCII 38\n\
10791 *, ASCII 42\n\
10792 @, ASCII 64\n\
10793 ^, ASCII 94\n\
10794 ~, ASCII 126\n\
10795\n\
10796\n\
10797 Redacted form: General: plsesc(esc)\n\
10798\n\
10799\n\
10800 This function is used in example 29.\n\
10801\n\
10802\n\
10803\n\
10804SYNOPSIS:\n\
10805\n\
10806plsesc(esc)\n\
10807\n\
10808ARGUMENTS:\n\
10809\n\
10810 esc (char, input) : Escape character.\n\
10811";
10812static const char* _wrap_plcolorbar_texinfo = "-*- texinfo -*-\n\
10813Plot color bar for image, shade or gradient plots\n\
10814\n\
10815DESCRIPTION:\n\
10816\n\
10817 Routine for creating a continuous color bar for image, shade, or\n\
10818 gradient plots. (See pllegend for similar functionality for creating\n\
10819 legends with discrete elements). The arguments of plcolorbar provide\n\
10820 control over the location and size of the color bar as well as the\n\
10821 location and characteristics of the elements (most of which are\n\
10822 optional) within that color bar. The resulting color bar is clipped\n\
10823 at the boundaries of the current subpage. (N.B. the adopted coordinate\n\
10824 system used for some of the parameters is defined in the documentation\n\
10825 of the position parameter.)\n\
10826\n\
10827 Redacted form: plcolorbar(p_colorbar_width, p_colorbar_height, opt,\n\
10828 position, x, y, x_length, y_length, bg_color, bb_color, bb_style,\n\
10829 low_cap_color, high_cap_color, cont_color, cont_width, label_opts,\n\
10830 labels, axis_opts, ticks, sub_ticks, values)\n\
10831\n\
10832 This function is used in examples 16 and 33.\n\
10833\n\
10834\n\
10835\n\
10836SYNOPSIS:\n\
10837\n\
10838plcolorbar(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\
10839\n\
10840ARGUMENTS:\n\
10841\n\
10842 p_colorbar_width (PLFLT_NC_SCALAR, output) : Returned value of the\n\
10843 labelled and decorated color bar width in adopted coordinates.\n\
10844\n\
10845 p_colorbar_height (PLFLT_NC_SCALAR, output) : Returned value of the\n\
10846 labelled and decorated color bar height in adopted coordinates.\n\
10847\n\
10848 opt (PLINT, input) : opt contains bits controlling the overall\n\
10849 color bar. The orientation (direction of the maximum value) of\n\
10850 the color bar is specified with PL_ORIENT_RIGHT, PL_ORIENT_TOP,\n\
10851 PL_ORIENT_LEFT, or PL_ORIENT_BOTTOM. If none of these bits are\n\
10852 specified, the default orientation is toward the top if the\n\
10853 colorbar is placed on the left or right of the viewport or toward\n\
10854 the right if the colorbar is placed on the top or bottom of the\n\
10855 viewport. If the PL_COLORBAR_BACKGROUND bit is set, plot a\n\
10856 (semitransparent) background for the color bar. If the\n\
10857 PL_COLORBAR_BOUNDING_BOX bit is set, plot a bounding box for the\n\
10858 color bar. The type of color bar must be specified with one of\n\
10859 PL_COLORBAR_IMAGE, PL_COLORBAR_SHADE, or PL_COLORBAR_GRADIENT. If\n\
10860 more than one of those bits is set only the first one in the above\n\
10861 list is honored. The position of the (optional) label/title can be\n\
10862 specified with PL_LABEL_RIGHT, PL_LABEL_TOP, PL_LABEL_LEFT, or\n\
10863 PL_LABEL_BOTTOM. If no label position bit is set then no label\n\
10864 will be drawn. If more than one of this list of bits is specified,\n\
10865 only the first one on the list is honored. End-caps for the color\n\
10866 bar can added with PL_COLORBAR_CAP_LOW and PL_COLORBAR_CAP_HIGH.\n\
10867 If a particular color bar cap option is not specified then no cap\n\
10868 will be drawn for that end. As a special case for\n\
10869 PL_COLORBAR_SHADE, the option PL_COLORBAR_SHADE_LABEL can be\n\
10870 specified. If this option is provided then any tick marks and tick\n\
10871 labels will be placed at the breaks between shaded segments. TODO:\n\
10872 This should be expanded to support custom placement of tick marks\n\
10873 and tick labels at custom value locations for any color bar type.\n\
10874\n\
10875 position (PLINT, input) : position contains bits which control the\n\
10876 overall position of the color bar and the definition of the\n\
10877 adopted coordinates used for positions just like what is done for\n\
10878 the position argument for pllegend. However, note that the\n\
10879 defaults for the position bits (see below) are different than the\n\
10880 pllegend case. The combination of the PL_POSITION_LEFT,\n\
10881 PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n\
10882 PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n\
10883 the 16 possible standard positions (the 4 corners and centers of\n\
10884 the 4 sides for both the inside and outside cases) of the color\n\
10885 bar relative to the adopted coordinate system. The corner\n\
10886 positions are specified by the appropriate combination of two of\n\
10887 the PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n\
10888 PL_POSITION_BOTTOM bits while the sides are specified by a single\n\
10889 value of one of those bits. The adopted coordinates are\n\
10890 normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n\
10891 set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n\
10892 bit is set. Default position bits: If none of PL_POSITION_LEFT,\n\
10893 PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n\
10894 then use PL_POSITION_RIGHT. If neither of PL_POSITION_INSIDE or\n\
10895 PL_POSITION_OUTSIDE is set, use PL_POSITION_OUTSIDE. If neither of\n\
10896 PL_POSITION_VIEWPORT or PL_POSITION_SUBPAGE is set, use\n\
10897 PL_POSITION_VIEWPORT.\n\
10898\n\
10899 x (PLFLT, input) : X offset of the color bar position in adopted\n\
10900 coordinates from the specified standard position of the color bar.\n\
10901 For positive x, the direction of motion away from the standard\n\
10902 position is inward/outward from the standard corner positions or\n\
10903 standard left or right positions if the\n\
10904 PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n\
10905 For the standard top or bottom positions, the direction of motion\n\
10906 is toward positive X.\n\
10907\n\
10908 y (PLFLT, input) : Y offset of the color bar position in adopted\n\
10909 coordinates from the specified standard position of the color bar.\n\
10910 For positive y, the direction of motion away from the standard\n\
10911 position is inward/outward from the standard corner positions or\n\
10912 standard top or bottom positions if the\n\
10913 PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n\
10914 For the standard left or right positions, the direction of motion\n\
10915 is toward positive Y.\n\
10916\n\
10917 x_length (PLFLT, input) : Length of the body of the color bar in\n\
10918 the X direction in adopted coordinates.\n\
10919\n\
10920 y_length (PLFLT, input) : Length of the body of the color bar in\n\
10921 the Y direction in adopted coordinates.\n\
10922\n\
10923 bg_color (PLINT, input) : The cmap0 color of the background for the\n\
10924 color bar (PL_COLORBAR_BACKGROUND).\n\
10925\n\
10926 bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n\
10927 for the color bar (PL_COLORBAR_BOUNDING_BOX).\n\
10928\n\
10929 bb_style (PLINT, input) : The pllsty style number for the\n\
10930 bounding-box line for the color bar (PL_COLORBAR_BACKGROUND).\n\
10931\n\
10932 low_cap_color (PLFLT, input) : The cmap1 color of the low-end color\n\
10933 bar cap, if it is drawn (PL_COLORBAR_CAP_LOW).\n\
10934\n\
10935 high_cap_color (PLFLT, input) : The cmap1 color of the high-end\n\
10936 color bar cap, if it is drawn (PL_COLORBAR_CAP_HIGH).\n\
10937\n\
10938 cont_color (PLINT, input) : The cmap0 contour color for\n\
10939 PL_COLORBAR_SHADE plots. This is passed directly to plshades, so\n\
10940 it will be interpreted according to the design of plshades.\n\
10941\n\
10942 cont_width (PLFLT, input) : Contour width for PL_COLORBAR_SHADE\n\
10943 plots. This is passed directly to plshades, so it will be\n\
10944 interpreted according to the design of plshades.\n\
10945\n\
10946 n_labels (PLINT, input) : Number of labels to place around the\n\
10947 color bar.\n\
10948\n\
10949 label_opts (PLINT_VECTOR, input) : A vector of options for each of\n\
10950 n_labels labels.\n\
10951\n\
10952 labels (PLCHAR_MATRIX, input) : A vector of\n\
10953 n_labels UTF-8 character strings containing the labels for the color\n\
10954 bar. Ignored if no label position is specified with one of the\n\
10955 PL_COLORBAR_LABEL_RIGHT, PL_COLORBAR_LABEL_TOP,\n\
10956 PL_COLORBAR_LABEL_LEFT, or PL_COLORBAR_LABEL_BOTTOM bits in the\n\
10957 corresponding label_opts field.\n\
10958\n\
10959 n_axes (PLINT, input) : Number of axis definitions provided. This\n\
10960 value must be greater than 0. It is typically 1 (numerical axis\n\
10961 labels are provided for one of the long edges of the color bar),\n\
10962 but it can be larger if multiple numerical axis labels for the\n\
10963 long edges of the color bar are desired.\n\
10964\n\
10965 axis_opts (PLCHAR_MATRIX, input) : A vector of\n\
10966 n_axes ascii character strings containing options (interpreted as for\n\
10967 plbox) for the color bar\'s axis definitions.\n\
10968\n\
10969 ticks (PLFLT_VECTOR, input) : A vector of n_axes values of the\n\
10970 spacing of the major tick marks (interpreted as for plbox) for the\n\
10971 color bar\'s axis definitions.\n\
10972\n\
10973 sub_ticks (PLINT_VECTOR, input) : A vector of n_axes values of the\n\
10974 number of subticks (interpreted as for plbox) for the color bar\'s\n\
10975 axis definitions.\n\
10976\n\
10977 n_values (PLINT_VECTOR, input) : A vector containing the number of\n\
10978 elements in each of the n_axes rows of the values matrix.\n\
10979\n\
10980 values (PLFLT_MATRIX, input) : A matrix containing the numeric\n\
10981 values for the data range represented by the color bar. For a row\n\
10982 index of i_axis (where 0 < i_axis < n_axes), the number of\n\
10983 elements in the row is specified by n_values[i_axis]. For\n\
10984 PL_COLORBAR_IMAGE and PL_COLORBAR_GRADIENT the number of elements\n\
10985 is 2, and the corresponding row elements of the values matrix are\n\
10986 the minimum and maximum value represented by the colorbar. For\n\
10987 PL_COLORBAR_SHADE, the number and values of the elements of a row\n\
10988 of the values matrix is interpreted the same as the nlevel and\n\
10989 clevel arguments of plshades.\n\
10990";
10991static const char* _wrap_plsstrm_texinfo = "-*- texinfo -*-\n\
10992Set current output stream\n\
10993\n\
10994DESCRIPTION:\n\
10995\n\
10996 Sets the number of the current output stream. The stream number\n\
10997 defaults to 0 unless changed by this routine. The first use of this\n\
10998 routine must be followed by a call initializing PLplot (e.g. plstar).\n\
10999\n\
11000 Redacted form: plsstrm(strm)\n\
11001\n\
11002 This function is examples 1,14,20.\n\
11003\n\
11004\n\
11005\n\
11006SYNOPSIS:\n\
11007\n\
11008plsstrm(strm)\n\
11009\n\
11010ARGUMENTS:\n\
11011\n\
11012 strm (PLINT, input) : The current stream number.\n\
11013";
11014static const char* _wrap_plgcompression_texinfo = "-*- texinfo -*-\n\
11015Get the current device-compression setting\n\
11016\n\
11017DESCRIPTION:\n\
11018\n\
11019 Get the current device-compression setting. This parameter is only\n\
11020 used for drivers that provide compression.\n\
11021\n\
11022 Redacted form: plgcompression(compression)\n\
11023\n\
11024 This function is used in example 31.\n\
11025\n\
11026\n\
11027\n\
11028SYNOPSIS:\n\
11029\n\
11030plgcompression(compression)\n\
11031\n\
11032ARGUMENTS:\n\
11033\n\
11034 compression (PLINT_NC_SCALAR, output) : Returned value of the\n\
11035 compression setting for the current device.\n\
11036";
11037static const char* _wrap_plgriddata_texinfo = "-*- texinfo -*-\n\
11038Grid data from irregularly sampled data\n\
11039\n\
11040DESCRIPTION:\n\
11041\n\
11042 Real world data is frequently irregularly sampled, but PLplot 3D plots\n\
11043 require data organized as a grid, i.e., with x sample point values\n\
11044 independent of y coordinate and vice versa. This function takes\n\
11045 irregularly sampled data from the x[npts], y[npts], and z[npts]\n\
11046 vectors; reads the desired grid location from the input vectors\n\
11047 xg[nptsx] and yg[nptsy]; and returns the interpolated result on that\n\
11048 grid using the output matrix zg[nptsx][nptsy]. The algorithm used to\n\
11049 interpolate the data to the grid is specified with the argument type\n\
11050 which can have one parameter specified in argument data.\n\
11051\n\
11052 Redacted form: General: plgriddata(x, y, z, xg, yg, zg, type, data)\n\
11053 Python: zg=plgriddata(x, y, z, xg, yg, type, data)\n\
11054\n\
11055\n\
11056 This function is used in example 21.\n\
11057\n\
11058\n\
11059\n\
11060SYNOPSIS:\n\
11061\n\
11062plgriddata(x, y, z, npts, xg, nptsx, yg, nptsy, zg, type, data)\n\
11063\n\
11064ARGUMENTS:\n\
11065\n\
11066 x (PLFLT_VECTOR, input) : The input x vector.\n\
11067\n\
11068 y (PLFLT_VECTOR, input) : The input y vector.\n\
11069\n\
11070 z (PLFLT_VECTOR, input) : The input z vector. Each triple x[i],\n\
11071 y[i], z[i] represents one data sample coordinate.\n\
11072\n\
11073 npts (PLINT, input) : The number of data samples in the x, y and z\n\
11074 vectors.\n\
11075\n\
11076 xg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n\
11077 in the x direction. Usually xg has nptsx equally spaced values\n\
11078 from the minimum to the maximum values of the x input vector.\n\
11079\n\
11080 nptsx (PLINT, input) : The number of points in the xg vector.\n\
11081\n\
11082 yg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n\
11083 in the y direction. Similar to the xg parameter.\n\
11084\n\
11085 nptsy (PLINT, input) : The number of points in the yg vector.\n\
11086\n\
11087 zg (PLFLT_NC_MATRIX, output) : The matrix of interpolated results\n\
11088 where data lies in the grid specified by xg and yg. Therefore the\n\
11089 zg matrix must be dimensioned\n\
11090 nptsx by\n\
11091 nptsy.\n\
11092\n\
11093 type (PLINT, input) : The type of grid interpolation algorithm to\n\
11094 use, which can be: GRID_CSA: Bivariate Cubic Spline approximation\n\
11095 GRID_DTLI: Delaunay Triangulation Linear Interpolation\n\
11096 GRID_NNI: Natural Neighbors Interpolation\n\
11097 GRID_NNIDW: Nearest Neighbors Inverse Distance Weighted\n\
11098 GRID_NNLI: Nearest Neighbors Linear Interpolation\n\
11099 GRID_NNAIDW: Nearest Neighbors Around Inverse Distance\n\
11100 Weighted\n\
11101 For details of the algorithms read the source file plgridd.c.\n\
11102\n\
11103 data (PLFLT, input) : Some gridding algorithms require extra data,\n\
11104 which can be specified through this argument. Currently, for\n\
11105 algorithm: GRID_NNIDW, data specifies the number of neighbors to\n\
11106 use, the lower the value, the noisier (more local) the\n\
11107 approximation is.\n\
11108 GRID_NNLI, data specifies what a thin triangle is, in the\n\
11109 range [1. .. 2.]. High values enable the usage of very thin\n\
11110 triangles for interpolation, possibly resulting in error in\n\
11111 the approximation.\n\
11112 GRID_NNI, only weights greater than data will be accepted. If\n\
11113 0, all weights will be accepted.\n\
11114";
11115
11116SWIG_DEFUN( testppchar, _wrap_testppchar, std::string() ) {
11117 PLINT arg1 ;
11118 PLINT *arg2 = 0 ;
11119 char **arg3 = 0 ;
11120 Matrix temp1 ;
11121 octave_value_list _out;
11122 octave_value_list *_outp=&_out;
11123 octave_value _outv;
11124
11125 try {
11126 if (!SWIG_check_num_args("testppchar",args.length(),2,2,0)) {
11127 SWIG_fail;
11128 }
11129 {
11130 if ( _n_dims( args(0) ) > 1 )
11131 {
11132 error( "argument must be a scalar or vector" ); SWIG_fail;
11133 }
11134 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
11135 arg2 = new PLINT[Alen];
11136 temp1 = args(0).matrix_value();
11137 _cvt_double_to( arg2, &temp1( 0, 0 ), Alen );
11138 }
11139 {
11140 charMatrix temp_matrix;
11141 Cell temp_cell;
11142 char *tmp_cstring;
11143 std::string str;
11144 size_t max_length = 0, non_blank_length;
11145 int i, ifcell;
11146 if ( _n_dims( args(1) ) > 2 )
11147 {
11148 error( "argument must be a scalar or vector or matrix" ); SWIG_fail;
11149 }
11150#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
11151 if ( !args(1).isempty() )
11152#else
11153 if ( !args(1).is_empty() )
11154#endif
11155 {
11156 if ( _dim( args(1), 0 ) != Alen )
11157 {
11158 error( "first dimension must be same length as previous vector" ); SWIG_fail;
11159 }
11160 arg3 = new char*[Alen];
11161#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
11162 ifcell = args(1).iscell();
11163#else
11164 ifcell = args(1).is_cell();
11165#endif
11166 if ( ifcell )
11167 {
11168 temp_cell = args(1).cell_value();
11169 }
11170 else
11171 {
11172 temp_matrix = args(1).char_matrix_value();
11173 // Allow one extra space for null termination.
11174 max_length = _dim( args(1), 1 ) + 1;
11175 }
11176
11177 for ( i = 0; i < Alen; i++ )
11178 {
11179 // Must copy string to "permanent" location because the string
11180 // location corresponding to tmp_cstring gets
11181 // overwritten for each iteration of loop.
11182 if ( ifcell )
11183 {
11184 if ( temp_cell.elem( i ).is_string() )
11185 {
11186 str = temp_cell.elem( i ).string_value();
11187 // leave room for null termination.
11188 max_length = str.size() + 1;
11189 tmp_cstring = (char *) str.c_str();
11190 }
11191 else
11192 {
11193 // Use null string if user attempts to pass a cell array
11194 // with a non-string element (likely an empty element
11195 // since that should be allowed by the PLplot interface
11196 // if that element is going to be unused).
11197 // leave room for null termination.
11198 max_length = 1;
11199 tmp_cstring = (char *) "";
11200 }
11201 }
11202 else
11203 {
11204 str = temp_matrix.row_as_string( i );
11205 tmp_cstring = (char *) str.c_str();
11206 }
11207 arg3[i] = new char[max_length];
11208 strncpy( arg3[i], tmp_cstring, max_length - 1 );
11209 arg3[i][max_length - 1] = '\0';
11210 // All the trailing blank crapola should not be needed for
11211 // string cell arrays.
11212 if ( !ifcell )
11213 {
11214 // remove trailing-blank padding that is used by the
11215 // charMatrix class to insure all strings in a given
11216 // charMatrix instance have the same length.
11217 // This transformation also removes legitimate trailing
11218 // blanks but there is nothing we can do about that
11219 // for the charMatrix class.
11220
11221 // Look for trailing nulls first (just in case, although that
11222 // shouldn't happen if charMatrix implemented as documented)
11223 // before looking for trailing blanks.
11224 non_blank_length = max_length - 2;
11225 while ( non_blank_length >= 0 && arg3[i][non_blank_length] == '\0' )
11226 {
11227 non_blank_length--;
11228 }
11229 while ( non_blank_length >= 0 && arg3[i][non_blank_length] == ' ' )
11230 {
11231 non_blank_length--;
11232 }
11233 arg3[i][non_blank_length + 1] = '\0';
11234 }
11235 }
11236 }
11237 else
11238 {
11239 arg3 = NULL;
11240 }
11241 }
11242 testppchar(arg1,(int const *)arg2,(char const **)arg3);
11243 _outv = octave_value();
11244 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11245 {
11246 delete [] arg2;
11247 }
11248 {
11249 int i;
11250 if ( arg3 != NULL )
11251 {
11252 for ( i = 0; i < Alen; i++ )
11253 {
11254 delete[] arg3[i];
11255 }
11256 delete[] arg3;
11257 }
11258 }
11259 return _out;
11260 fail:
11261 {
11262 delete [] arg2;
11263 }
11264 {
11265 int i;
11266 if ( arg3 != NULL )
11267 {
11268 for ( i = 0; i < Alen; i++ )
11269 {
11270 delete[] arg3[i];
11271 }
11272 delete[] arg3;
11273 }
11274 }
11275 return octave_value_list();
11276 }
11277 catch(...) {
11278 {
11279 delete [] arg2;
11280 }
11281 {
11282 int i;
11283 if ( arg3 != NULL )
11284 {
11285 for ( i = 0; i < Alen; i++ )
11286 {
11287 delete[] arg3[i];
11288 }
11289 delete[] arg3;
11290 }
11291 }
11292 throw;
11293 }
11294}
11295
11296
11298 int *arg1 = 0 ;
11299 int *arg2 = 0 ;
11300 int *arg3 = 0 ;
11301 char *arg4 = 0 ;
11302 int *arg5 = 0 ;
11303 int *arg6 = 0 ;
11304 PLFLT *arg7 = 0 ;
11305 PLFLT *arg8 = 0 ;
11306 PLFLT *arg9 = 0 ;
11307 PLFLT *arg10 = 0 ;
11308 int *arg11 = 0 ;
11309 int temp1 ;
11310 int res1 = SWIG_TMPOBJ ;
11311 int temp2 ;
11312 int res2 = SWIG_TMPOBJ ;
11313 int temp3 ;
11314 int res3 = SWIG_TMPOBJ ;
11315 char local_string4[80] ;
11316 int temp5 ;
11317 int res5 = SWIG_TMPOBJ ;
11318 int temp6 ;
11319 int res6 = SWIG_TMPOBJ ;
11320 PLFLT temp7 ;
11321 int res7 = SWIG_TMPOBJ ;
11322 PLFLT temp8 ;
11323 int res8 = SWIG_TMPOBJ ;
11324 PLFLT temp9 ;
11325 int res9 = SWIG_TMPOBJ ;
11326 PLFLT temp10 ;
11327 int res10 = SWIG_TMPOBJ ;
11328 int temp11 ;
11329 int res11 = SWIG_TMPOBJ ;
11330 size_t local_string_length4 ;
11331 charMatrix local_charMatrix4 ;
11332 octave_value_list retval4 ;
11333 octave_value_list _out;
11334 octave_value_list *_outp=&_out;
11335 octave_value _outv;
11336 int result;
11337
11338 try {
11339 arg1 = &temp1;
11340 arg2 = &temp2;
11341 arg3 = &temp3;
11342 {
11343 arg4 = local_string4;
11344 }
11345 arg5 = &temp5;
11346 arg6 = &temp6;
11347 arg7 = &temp7;
11348 arg8 = &temp8;
11349 arg9 = &temp9;
11350 arg10 = &temp10;
11351 arg11 = &temp11;
11352 if (!SWIG_check_num_args("plGetCursor",args.length(),0,0,0)) {
11353 SWIG_fail;
11354 }
11355 result = (int)my_plGetCursor(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
11356 _outv = SWIG_From_int(static_cast< int >(result));
11357 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11358 if (SWIG_IsTmpObj(res1)) {
11359 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
11360 } else {
11361 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11362 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
11363 }
11364 if (SWIG_IsTmpObj(res2)) {
11365 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
11366 } else {
11367 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11368 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
11369 }
11370 if (SWIG_IsTmpObj(res3)) {
11371 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
11372 } else {
11373 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11374 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
11375 }
11376 {
11377 local_string_length4 = strlen( local_string4 );
11378 local_charMatrix4 = charMatrix( 1, local_string_length4 );
11379 local_charMatrix4.insert( local_string4, 0, 0 );
11380 retval4( 0 ) = octave_value( local_charMatrix4 );
11381 _outp = SWIG_Octave_AppendOutput(_outp, retval4( 0 ));
11382 }
11383 if (SWIG_IsTmpObj(res5)) {
11384 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg5)));
11385 } else {
11386 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11387 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
11388 }
11389 if (SWIG_IsTmpObj(res6)) {
11390 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg6)));
11391 } else {
11392 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11393 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, new_flags));
11394 }
11395 if (SWIG_IsTmpObj(res7)) {
11396 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg7)));
11397 } else {
11398 int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11399 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_double, new_flags));
11400 }
11401 if (SWIG_IsTmpObj(res8)) {
11402 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg8)));
11403 } else {
11404 int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11405 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_double, new_flags));
11406 }
11407 if (SWIG_IsTmpObj(res9)) {
11408 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg9)));
11409 } else {
11410 int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11411 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg9), SWIGTYPE_p_double, new_flags));
11412 }
11413 if (SWIG_IsTmpObj(res10)) {
11414 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg10)));
11415 } else {
11416 int new_flags = SWIG_IsNewObj(res10) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11417 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg10), SWIGTYPE_p_double, new_flags));
11418 }
11419 if (SWIG_IsTmpObj(res11)) {
11420 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg11)));
11421 } else {
11422 int new_flags = SWIG_IsNewObj(res11) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11423 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg11), SWIGTYPE_p_int, new_flags));
11424 }
11425 return _out;
11426 fail:
11427 return octave_value_list();
11428 }
11429 catch(...) {
11430 throw;
11431 }
11432}
11433
11434
11435SWIG_DEFUN( plTranslateCursor, _wrap_plTranslateCursor, std::string() ) {
11436 PLFLT *arg1 = 0 ;
11437 PLFLT *arg2 = 0 ;
11438 PLFLT arg3 ;
11439 PLFLT arg4 ;
11440 PLFLT temp1 ;
11441 int res1 = SWIG_TMPOBJ ;
11442 PLFLT temp2 ;
11443 int res2 = SWIG_TMPOBJ ;
11444 double val3 ;
11445 int ecode3 = 0 ;
11446 double val4 ;
11447 int ecode4 = 0 ;
11448 octave_value_list _out;
11449 octave_value_list *_outp=&_out;
11450 octave_value _outv;
11451 int result;
11452
11453 try {
11454 arg1 = &temp1;
11455 arg2 = &temp2;
11456 if (!SWIG_check_num_args("plTranslateCursor",args.length(),2,2,0)) {
11457 SWIG_fail;
11458 }
11459 ecode3 = SWIG_AsVal_double(args(0), &val3);
11460 if (!SWIG_IsOK(ecode3)) {
11461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plTranslateCursor" "', argument " "3"" of type '" "PLFLT""'");
11462 }
11463 arg3 = static_cast< PLFLT >(val3);
11464 ecode4 = SWIG_AsVal_double(args(1), &val4);
11465 if (!SWIG_IsOK(ecode4)) {
11466 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plTranslateCursor" "', argument " "4"" of type '" "PLFLT""'");
11467 }
11468 arg4 = static_cast< PLFLT >(val4);
11469 result = (int)my_plTranslateCursor(arg1,arg2,arg3,arg4);
11470 _outv = SWIG_From_int(static_cast< int >(result));
11471 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11472 if (SWIG_IsTmpObj(res1)) {
11473 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
11474 } else {
11475 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11476 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
11477 }
11478 if (SWIG_IsTmpObj(res2)) {
11479 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
11480 } else {
11481 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11482 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
11483 }
11484 return _out;
11485 fail:
11486 return octave_value_list();
11487 }
11488 catch(...) {
11489 throw;
11490 }
11491}
11492
11493
11495 PLINT *arg1 = 0 ;
11496 char *arg2 = 0 ;
11497 char *arg3 = 0 ;
11498 PLFLT arg4 ;
11499 PLFLT arg5 ;
11500 PLFLT arg6 ;
11501 PLFLT arg7 ;
11502 PLFLT arg8 ;
11503 PLFLT arg9 ;
11504 PLFLT arg10 ;
11505 PLBOOL arg11 ;
11506 PLBOOL arg12 ;
11507 PLINT arg13 ;
11508 PLINT arg14 ;
11509 PLINT *arg15 = 0 ;
11510 PLINT *arg16 = 0 ;
11511 char *arg17 = 0 ;
11512 char *arg18 = 0 ;
11513 char *arg19 = 0 ;
11514 char *arg20 = 0 ;
11515 char *arg21 = 0 ;
11516 char *arg22 = 0 ;
11517 char *arg23 = 0 ;
11518 PLINT temp1 ;
11519 int res1 = SWIG_TMPOBJ ;
11520 int res2 ;
11521 char *buf2 = 0 ;
11522 int alloc2 = 0 ;
11523 int res3 ;
11524 char *buf3 = 0 ;
11525 int alloc3 = 0 ;
11526 double val4 ;
11527 int ecode4 = 0 ;
11528 double val5 ;
11529 int ecode5 = 0 ;
11530 double val6 ;
11531 int ecode6 = 0 ;
11532 double val7 ;
11533 int ecode7 = 0 ;
11534 double val8 ;
11535 int ecode8 = 0 ;
11536 double val9 ;
11537 int ecode9 = 0 ;
11538 double val10 ;
11539 int ecode10 = 0 ;
11540 int val11 ;
11541 int ecode11 = 0 ;
11542 int val12 ;
11543 int ecode12 = 0 ;
11544 int val13 ;
11545 int ecode13 = 0 ;
11546 int val14 ;
11547 int ecode14 = 0 ;
11548 Matrix temp15 ;
11549 Matrix temp16 ;
11550 int res17 ;
11551 char *buf17 = 0 ;
11552 int alloc17 = 0 ;
11553 int res18 ;
11554 char *buf18 = 0 ;
11555 int alloc18 = 0 ;
11556 int res19 ;
11557 char *buf19 = 0 ;
11558 int alloc19 = 0 ;
11559 int res20 ;
11560 char *buf20 = 0 ;
11561 int alloc20 = 0 ;
11562 int res21 ;
11563 char *buf21 = 0 ;
11564 int alloc21 = 0 ;
11565 int res22 ;
11566 char *buf22 = 0 ;
11567 int alloc22 = 0 ;
11568 int res23 ;
11569 char *buf23 = 0 ;
11570 int alloc23 = 0 ;
11571 octave_value_list _out;
11572 octave_value_list *_outp=&_out;
11573 octave_value _outv;
11574
11575 try {
11576 arg1 = &temp1;
11577 if (!SWIG_check_num_args("plstripc",args.length(),22,22,0)) {
11578 SWIG_fail;
11579 }
11580 res2 = SWIG_AsCharPtrAndSize(args(0), &buf2, NULL, &alloc2);
11581 if (!SWIG_IsOK(res2)) {
11582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plstripc" "', argument " "2"" of type '" "char const *""'");
11583 }
11584 arg2 = reinterpret_cast< char * >(buf2);
11585 res3 = SWIG_AsCharPtrAndSize(args(1), &buf3, NULL, &alloc3);
11586 if (!SWIG_IsOK(res3)) {
11587 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "plstripc" "', argument " "3"" of type '" "char const *""'");
11588 }
11589 arg3 = reinterpret_cast< char * >(buf3);
11590 ecode4 = SWIG_AsVal_double(args(2), &val4);
11591 if (!SWIG_IsOK(ecode4)) {
11592 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plstripc" "', argument " "4"" of type '" "PLFLT""'");
11593 }
11594 arg4 = static_cast< PLFLT >(val4);
11595 ecode5 = SWIG_AsVal_double(args(3), &val5);
11596 if (!SWIG_IsOK(ecode5)) {
11597 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plstripc" "', argument " "5"" of type '" "PLFLT""'");
11598 }
11599 arg5 = static_cast< PLFLT >(val5);
11600 ecode6 = SWIG_AsVal_double(args(4), &val6);
11601 if (!SWIG_IsOK(ecode6)) {
11602 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plstripc" "', argument " "6"" of type '" "PLFLT""'");
11603 }
11604 arg6 = static_cast< PLFLT >(val6);
11605 ecode7 = SWIG_AsVal_double(args(5), &val7);
11606 if (!SWIG_IsOK(ecode7)) {
11607 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plstripc" "', argument " "7"" of type '" "PLFLT""'");
11608 }
11609 arg7 = static_cast< PLFLT >(val7);
11610 ecode8 = SWIG_AsVal_double(args(6), &val8);
11611 if (!SWIG_IsOK(ecode8)) {
11612 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plstripc" "', argument " "8"" of type '" "PLFLT""'");
11613 }
11614 arg8 = static_cast< PLFLT >(val8);
11615 ecode9 = SWIG_AsVal_double(args(7), &val9);
11616 if (!SWIG_IsOK(ecode9)) {
11617 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plstripc" "', argument " "9"" of type '" "PLFLT""'");
11618 }
11619 arg9 = static_cast< PLFLT >(val9);
11620 ecode10 = SWIG_AsVal_double(args(8), &val10);
11621 if (!SWIG_IsOK(ecode10)) {
11622 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plstripc" "', argument " "10"" of type '" "PLFLT""'");
11623 }
11624 arg10 = static_cast< PLFLT >(val10);
11625 ecode11 = SWIG_AsVal_int(args(9), &val11);
11626 if (!SWIG_IsOK(ecode11)) {
11627 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plstripc" "', argument " "11"" of type '" "PLBOOL""'");
11628 }
11629 arg11 = static_cast< PLBOOL >(val11);
11630 ecode12 = SWIG_AsVal_int(args(10), &val12);
11631 if (!SWIG_IsOK(ecode12)) {
11632 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plstripc" "', argument " "12"" of type '" "PLBOOL""'");
11633 }
11634 arg12 = static_cast< PLBOOL >(val12);
11635 ecode13 = SWIG_AsVal_int(args(11), &val13);
11636 if (!SWIG_IsOK(ecode13)) {
11637 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plstripc" "', argument " "13"" of type '" "PLINT""'");
11638 }
11639 arg13 = static_cast< PLINT >(val13);
11640 ecode14 = SWIG_AsVal_int(args(12), &val14);
11641 if (!SWIG_IsOK(ecode14)) {
11642 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plstripc" "', argument " "14"" of type '" "PLINT""'");
11643 }
11644 arg14 = static_cast< PLINT >(val14);
11645 {
11646 if ( _n_dims( args(13) ) > 1 )
11647 {
11648 error( "argument must be a scalar or vector" ); SWIG_fail;
11649 }
11650 Alen = (PLINT) ( _dim( args(13), 0 ) );
11651 temp15 = args(13).matrix_value();
11652 arg15 = new PLINT[Alen];
11653 _cvt_double_to( arg15, &temp15( 0, 0 ), Alen );
11654 }
11655 {
11656 if ( _n_dims( args(14) ) > 1 )
11657 {
11658 error( "argument must be a scalar or vector" ); SWIG_fail;
11659 }
11660 if ( _dim( args(14), 0 ) != Alen )
11661 {
11662 error( "argument vectors must be same length" ); SWIG_fail;
11663 }
11664 temp16 = args(14).matrix_value();
11665 arg16 = new PLINT[Alen];
11666 _cvt_double_to( arg16, &temp16( 0, 0 ), Alen );
11667 }
11668 res17 = SWIG_AsCharPtrAndSize(args(15), &buf17, NULL, &alloc17);
11669 if (!SWIG_IsOK(res17)) {
11670 SWIG_exception_fail(SWIG_ArgError(res17), "in method '" "plstripc" "', argument " "17"" of type '" "char const *""'");
11671 }
11672 arg17 = reinterpret_cast< char * >(buf17);
11673 res18 = SWIG_AsCharPtrAndSize(args(16), &buf18, NULL, &alloc18);
11674 if (!SWIG_IsOK(res18)) {
11675 SWIG_exception_fail(SWIG_ArgError(res18), "in method '" "plstripc" "', argument " "18"" of type '" "char const *""'");
11676 }
11677 arg18 = reinterpret_cast< char * >(buf18);
11678 res19 = SWIG_AsCharPtrAndSize(args(17), &buf19, NULL, &alloc19);
11679 if (!SWIG_IsOK(res19)) {
11680 SWIG_exception_fail(SWIG_ArgError(res19), "in method '" "plstripc" "', argument " "19"" of type '" "char const *""'");
11681 }
11682 arg19 = reinterpret_cast< char * >(buf19);
11683 res20 = SWIG_AsCharPtrAndSize(args(18), &buf20, NULL, &alloc20);
11684 if (!SWIG_IsOK(res20)) {
11685 SWIG_exception_fail(SWIG_ArgError(res20), "in method '" "plstripc" "', argument " "20"" of type '" "char const *""'");
11686 }
11687 arg20 = reinterpret_cast< char * >(buf20);
11688 res21 = SWIG_AsCharPtrAndSize(args(19), &buf21, NULL, &alloc21);
11689 if (!SWIG_IsOK(res21)) {
11690 SWIG_exception_fail(SWIG_ArgError(res21), "in method '" "plstripc" "', argument " "21"" of type '" "char const *""'");
11691 }
11692 arg21 = reinterpret_cast< char * >(buf21);
11693 res22 = SWIG_AsCharPtrAndSize(args(20), &buf22, NULL, &alloc22);
11694 if (!SWIG_IsOK(res22)) {
11695 SWIG_exception_fail(SWIG_ArgError(res22), "in method '" "plstripc" "', argument " "22"" of type '" "char const *""'");
11696 }
11697 arg22 = reinterpret_cast< char * >(buf22);
11698 res23 = SWIG_AsCharPtrAndSize(args(21), &buf23, NULL, &alloc23);
11699 if (!SWIG_IsOK(res23)) {
11700 SWIG_exception_fail(SWIG_ArgError(res23), "in method '" "plstripc" "', argument " "23"" of type '" "char const *""'");
11701 }
11702 arg23 = reinterpret_cast< char * >(buf23);
11703 my_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,(char const *)arg21,(char const *)arg22,(char const *)arg23);
11704 _outv = octave_value();
11705 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11706 if (SWIG_IsTmpObj(res1)) {
11707 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
11708 } else {
11709 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11710 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
11711 }
11712 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
11713 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
11714 {
11715 delete [] arg15;
11716 }
11717 {
11718 delete [] arg16;
11719 }
11720 if (alloc17 == SWIG_NEWOBJ) delete[] buf17;
11721 if (alloc18 == SWIG_NEWOBJ) delete[] buf18;
11722 if (alloc19 == SWIG_NEWOBJ) delete[] buf19;
11723 if (alloc20 == SWIG_NEWOBJ) delete[] buf20;
11724 if (alloc21 == SWIG_NEWOBJ) delete[] buf21;
11725 if (alloc22 == SWIG_NEWOBJ) delete[] buf22;
11726 if (alloc23 == SWIG_NEWOBJ) delete[] buf23;
11727 return _out;
11728 fail:
11729 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
11730 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
11731 {
11732 delete [] arg15;
11733 }
11734 {
11735 delete [] arg16;
11736 }
11737 if (alloc17 == SWIG_NEWOBJ) delete[] buf17;
11738 if (alloc18 == SWIG_NEWOBJ) delete[] buf18;
11739 if (alloc19 == SWIG_NEWOBJ) delete[] buf19;
11740 if (alloc20 == SWIG_NEWOBJ) delete[] buf20;
11741 if (alloc21 == SWIG_NEWOBJ) delete[] buf21;
11742 if (alloc22 == SWIG_NEWOBJ) delete[] buf22;
11743 if (alloc23 == SWIG_NEWOBJ) delete[] buf23;
11744 return octave_value_list();
11745 }
11746 catch(...) {
11747 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
11748 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
11749 {
11750 delete [] arg15;
11751 }
11752 {
11753 delete [] arg16;
11754 }
11755 if (alloc17 == SWIG_NEWOBJ) delete[] buf17;
11756 if (alloc18 == SWIG_NEWOBJ) delete[] buf18;
11757 if (alloc19 == SWIG_NEWOBJ) delete[] buf19;
11758 if (alloc20 == SWIG_NEWOBJ) delete[] buf20;
11759 if (alloc21 == SWIG_NEWOBJ) delete[] buf21;
11760 if (alloc22 == SWIG_NEWOBJ) delete[] buf22;
11761 if (alloc23 == SWIG_NEWOBJ) delete[] buf23;
11762 throw;
11763 }
11764}
11765
11766
11768 PLFLT *arg1 = 0 ;
11769 PLINT arg2 ;
11770 PLINT arg3 ;
11771 PLINT arg4 ;
11772 PLINT arg5 ;
11773 PLINT arg6 ;
11774 PLINT arg7 ;
11775 PLFLT *arg8 = 0 ;
11776 PLINT arg9 ;
11777 PLFLT *arg10 = 0 ;
11778 Matrix temp1 ;
11779 int val4 ;
11780 int ecode4 = 0 ;
11781 int val5 ;
11782 int ecode5 = 0 ;
11783 int val6 ;
11784 int ecode6 = 0 ;
11785 int val7 ;
11786 int ecode7 = 0 ;
11787 Matrix temp8 ;
11788 Matrix temp10 ;
11789 octave_value_list _out;
11790 octave_value_list *_outp=&_out;
11791 octave_value _outv;
11792
11793 try {
11794 if (!SWIG_check_num_args("plcont",args.length(),7,7,0)) {
11795 SWIG_fail;
11796 }
11797 {
11798 if ( _n_dims( args(0) ) > 2 )
11799 {
11800 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
11801 }
11802 temp1 = args(0).matrix_value();
11803 arg1 = &temp1( 0, 0 );
11804 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
11805 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
11806 }
11807 ecode4 = SWIG_AsVal_int(args(1), &val4);
11808 if (!SWIG_IsOK(ecode4)) {
11809 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcont" "', argument " "4"" of type '" "PLINT""'");
11810 }
11811 arg4 = static_cast< PLINT >(val4);
11812 ecode5 = SWIG_AsVal_int(args(2), &val5);
11813 if (!SWIG_IsOK(ecode5)) {
11814 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcont" "', argument " "5"" of type '" "PLINT""'");
11815 }
11816 arg5 = static_cast< PLINT >(val5);
11817 ecode6 = SWIG_AsVal_int(args(3), &val6);
11818 if (!SWIG_IsOK(ecode6)) {
11819 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcont" "', argument " "6"" of type '" "PLINT""'");
11820 }
11821 arg6 = static_cast< PLINT >(val6);
11822 ecode7 = SWIG_AsVal_int(args(4), &val7);
11823 if (!SWIG_IsOK(ecode7)) {
11824 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcont" "', argument " "7"" of type '" "PLINT""'");
11825 }
11826 arg7 = static_cast< PLINT >(val7);
11827 {
11828 if ( _n_dims( args(5) ) > 1 )
11829 {
11830 error( "argument must be a scalar or vector" ); SWIG_fail;
11831 }
11832 temp8 = args(5).matrix_value();
11833 arg8 = &temp8( 0, 0 );
11834 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
11835 }
11836 {
11837 if ( _n_dims( args(6) ) > 1 )
11838 {
11839 error( "argument must be a scalar or vector" ); SWIG_fail;
11840 }
11841 if ( _dim( args(6), 0 ) != 6 )
11842 {
11843 error( "argument vectors must have length of 6" ); SWIG_fail;
11844 }
11845 temp10 = args(6).matrix_value();
11846 arg10 = &temp10( 0, 0 );
11847 }
11848 my_plcont((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,arg10);
11849 _outv = octave_value();
11850 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11851 {
11852
11853 }
11854 {
11855
11856 }
11857 {
11858
11859 }
11860 return _out;
11861 fail:
11862 {
11863
11864 }
11865 {
11866
11867 }
11868 {
11869
11870 }
11871 return octave_value_list();
11872 }
11873 catch(...) {
11874 {
11875
11876 }
11877 {
11878
11879 }
11880 {
11881
11882 }
11883 throw;
11884 }
11885}
11886
11887
11888SWIG_DEFUN( plcont0, _wrap_plcont0, std::string() ) {
11889 PLFLT *arg1 = 0 ;
11890 PLINT arg2 ;
11891 PLINT arg3 ;
11892 PLINT arg4 ;
11893 PLINT arg5 ;
11894 PLINT arg6 ;
11895 PLINT arg7 ;
11896 PLFLT *arg8 = 0 ;
11897 PLINT arg9 ;
11898 Matrix temp1 ;
11899 int val4 ;
11900 int ecode4 = 0 ;
11901 int val5 ;
11902 int ecode5 = 0 ;
11903 int val6 ;
11904 int ecode6 = 0 ;
11905 int val7 ;
11906 int ecode7 = 0 ;
11907 Matrix temp8 ;
11908 octave_value_list _out;
11909 octave_value_list *_outp=&_out;
11910 octave_value _outv;
11911
11912 try {
11913 if (!SWIG_check_num_args("plcont0",args.length(),6,6,0)) {
11914 SWIG_fail;
11915 }
11916 {
11917 if ( _n_dims( args(0) ) > 2 )
11918 {
11919 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
11920 }
11921 temp1 = args(0).matrix_value();
11922 arg1 = &temp1( 0, 0 );
11923 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
11924 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
11925 }
11926 ecode4 = SWIG_AsVal_int(args(1), &val4);
11927 if (!SWIG_IsOK(ecode4)) {
11928 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcont0" "', argument " "4"" of type '" "PLINT""'");
11929 }
11930 arg4 = static_cast< PLINT >(val4);
11931 ecode5 = SWIG_AsVal_int(args(2), &val5);
11932 if (!SWIG_IsOK(ecode5)) {
11933 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcont0" "', argument " "5"" of type '" "PLINT""'");
11934 }
11935 arg5 = static_cast< PLINT >(val5);
11936 ecode6 = SWIG_AsVal_int(args(3), &val6);
11937 if (!SWIG_IsOK(ecode6)) {
11938 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcont0" "', argument " "6"" of type '" "PLINT""'");
11939 }
11940 arg6 = static_cast< PLINT >(val6);
11941 ecode7 = SWIG_AsVal_int(args(4), &val7);
11942 if (!SWIG_IsOK(ecode7)) {
11943 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcont0" "', argument " "7"" of type '" "PLINT""'");
11944 }
11945 arg7 = static_cast< PLINT >(val7);
11946 {
11947 if ( _n_dims( args(5) ) > 1 )
11948 {
11949 error( "argument must be a scalar or vector" ); SWIG_fail;
11950 }
11951 temp8 = args(5).matrix_value();
11952 arg8 = &temp8( 0, 0 );
11953 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
11954 }
11955 my_plcont0((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9);
11956 _outv = octave_value();
11957 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11958 {
11959
11960 }
11961 {
11962
11963 }
11964 return _out;
11965 fail:
11966 {
11967
11968 }
11969 {
11970
11971 }
11972 return octave_value_list();
11973 }
11974 catch(...) {
11975 {
11976
11977 }
11978 {
11979
11980 }
11981 throw;
11982 }
11983}
11984
11985
11986SWIG_DEFUN( plcont1, _wrap_plcont1, std::string() ) {
11987 PLFLT *arg1 = 0 ;
11988 PLINT arg2 ;
11989 PLINT arg3 ;
11990 PLINT arg4 ;
11991 PLINT arg5 ;
11992 PLINT arg6 ;
11993 PLINT arg7 ;
11994 PLFLT *arg8 = 0 ;
11995 PLINT arg9 ;
11996 PLFLT *arg10 = 0 ;
11997 PLFLT *arg11 = 0 ;
11998 Matrix temp1 ;
11999 int val4 ;
12000 int ecode4 = 0 ;
12001 int val5 ;
12002 int ecode5 = 0 ;
12003 int val6 ;
12004 int ecode6 = 0 ;
12005 int val7 ;
12006 int ecode7 = 0 ;
12007 Matrix temp8 ;
12008 Matrix temp10 ;
12009 Matrix temp11 ;
12010 octave_value_list _out;
12011 octave_value_list *_outp=&_out;
12012 octave_value _outv;
12013
12014 try {
12015 if (!SWIG_check_num_args("plcont1",args.length(),8,8,0)) {
12016 SWIG_fail;
12017 }
12018 {
12019 if ( _n_dims( args(0) ) > 2 )
12020 {
12021 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12022 }
12023 temp1 = args(0).matrix_value();
12024 arg1 = &temp1( 0, 0 );
12025 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
12026 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
12027 }
12028 ecode4 = SWIG_AsVal_int(args(1), &val4);
12029 if (!SWIG_IsOK(ecode4)) {
12030 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcont1" "', argument " "4"" of type '" "PLINT""'");
12031 }
12032 arg4 = static_cast< PLINT >(val4);
12033 ecode5 = SWIG_AsVal_int(args(2), &val5);
12034 if (!SWIG_IsOK(ecode5)) {
12035 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcont1" "', argument " "5"" of type '" "PLINT""'");
12036 }
12037 arg5 = static_cast< PLINT >(val5);
12038 ecode6 = SWIG_AsVal_int(args(3), &val6);
12039 if (!SWIG_IsOK(ecode6)) {
12040 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcont1" "', argument " "6"" of type '" "PLINT""'");
12041 }
12042 arg6 = static_cast< PLINT >(val6);
12043 ecode7 = SWIG_AsVal_int(args(4), &val7);
12044 if (!SWIG_IsOK(ecode7)) {
12045 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcont1" "', argument " "7"" of type '" "PLINT""'");
12046 }
12047 arg7 = static_cast< PLINT >(val7);
12048 {
12049 if ( _n_dims( args(5) ) > 1 )
12050 {
12051 error( "argument must be a scalar or vector" ); SWIG_fail;
12052 }
12053 temp8 = args(5).matrix_value();
12054 arg8 = &temp8( 0, 0 );
12055 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
12056 }
12057 {
12058 if ( _n_dims( args(6) ) > 1 )
12059 {
12060 error( "argument must be a scalar or vector" ); SWIG_fail;
12061 }
12062 if ( _dim( args(6), 0 ) != Xlen )
12063 {
12064 error( "argument vectors must be same length" ); SWIG_fail;
12065 }
12066 temp10 = args(6).matrix_value();
12067 arg10 = &temp10( 0, 0 );
12068 }
12069 {
12070 if ( _n_dims( args(7) ) > 1 )
12071 {
12072 error( "argument must be a scalar or vector" ); SWIG_fail;
12073 }
12074 if ( _dim( args(7), 0 ) != Ylen )
12075 {
12076 error( "argument vectors must be same length" ); SWIG_fail;
12077 }
12078 temp11 = args(7).matrix_value();
12079 arg11 = &temp11( 0, 0 );
12080 }
12081 my_plcont1((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,(double const *)arg10,(double const *)arg11);
12082 _outv = octave_value();
12083 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12084 {
12085
12086 }
12087 {
12088
12089 }
12090 {
12091
12092 }
12093 {
12094
12095 }
12096 return _out;
12097 fail:
12098 {
12099
12100 }
12101 {
12102
12103 }
12104 {
12105
12106 }
12107 {
12108
12109 }
12110 return octave_value_list();
12111 }
12112 catch(...) {
12113 {
12114
12115 }
12116 {
12117
12118 }
12119 {
12120
12121 }
12122 {
12123
12124 }
12125 throw;
12126 }
12127}
12128
12129
12130SWIG_DEFUN( plcont2, _wrap_plcont2, std::string() ) {
12131 PLFLT *arg1 = 0 ;
12132 PLINT arg2 ;
12133 PLINT arg3 ;
12134 PLINT arg4 ;
12135 PLINT arg5 ;
12136 PLINT arg6 ;
12137 PLINT arg7 ;
12138 PLFLT *arg8 = 0 ;
12139 PLINT arg9 ;
12140 PLFLT *arg10 = 0 ;
12141 PLFLT *arg11 = 0 ;
12142 Matrix temp1 ;
12143 int val4 ;
12144 int ecode4 = 0 ;
12145 int val5 ;
12146 int ecode5 = 0 ;
12147 int val6 ;
12148 int ecode6 = 0 ;
12149 int val7 ;
12150 int ecode7 = 0 ;
12151 Matrix temp8 ;
12152 Matrix temp10 ;
12153 Matrix temp11 ;
12154 octave_value_list _out;
12155 octave_value_list *_outp=&_out;
12156 octave_value _outv;
12157
12158 try {
12159 if (!SWIG_check_num_args("plcont2",args.length(),8,8,0)) {
12160 SWIG_fail;
12161 }
12162 {
12163 if ( _n_dims( args(0) ) > 2 )
12164 {
12165 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12166 }
12167 temp1 = args(0).matrix_value();
12168 arg1 = &temp1( 0, 0 );
12169 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
12170 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
12171 }
12172 ecode4 = SWIG_AsVal_int(args(1), &val4);
12173 if (!SWIG_IsOK(ecode4)) {
12174 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcont2" "', argument " "4"" of type '" "PLINT""'");
12175 }
12176 arg4 = static_cast< PLINT >(val4);
12177 ecode5 = SWIG_AsVal_int(args(2), &val5);
12178 if (!SWIG_IsOK(ecode5)) {
12179 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcont2" "', argument " "5"" of type '" "PLINT""'");
12180 }
12181 arg5 = static_cast< PLINT >(val5);
12182 ecode6 = SWIG_AsVal_int(args(3), &val6);
12183 if (!SWIG_IsOK(ecode6)) {
12184 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcont2" "', argument " "6"" of type '" "PLINT""'");
12185 }
12186 arg6 = static_cast< PLINT >(val6);
12187 ecode7 = SWIG_AsVal_int(args(4), &val7);
12188 if (!SWIG_IsOK(ecode7)) {
12189 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcont2" "', argument " "7"" of type '" "PLINT""'");
12190 }
12191 arg7 = static_cast< PLINT >(val7);
12192 {
12193 if ( _n_dims( args(5) ) > 1 )
12194 {
12195 error( "argument must be a scalar or vector" ); SWIG_fail;
12196 }
12197 temp8 = args(5).matrix_value();
12198 arg8 = &temp8( 0, 0 );
12199 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
12200 }
12201 {
12202 if ( _n_dims( args(6) ) > 2 )
12203 {
12204 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12205 }
12206 if ( _dim( args(6), 0 ) != Xlen )
12207 {
12208 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12209 }
12210 if ( _dim( args(6), 1 ) != Ylen )
12211 {
12212 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12213 }
12214 temp10 = args(6).matrix_value();
12215 arg10 = &temp10( 0, 0 );
12216 }
12217 {
12218 if ( _n_dims( args(7) ) > 2 )
12219 {
12220 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12221 }
12222 if ( _dim( args(7), 0 ) != Xlen )
12223 {
12224 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12225 }
12226 if ( _dim( args(7), 1 ) != Ylen )
12227 {
12228 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12229 }
12230 temp11 = args(7).matrix_value();
12231 arg11 = &temp11( 0, 0 );
12232 }
12233 my_plcont2((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,(double const *)arg10,(double const *)arg11);
12234 _outv = octave_value();
12235 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12236 {
12237
12238 }
12239 {
12240
12241 }
12242 {
12243
12244 }
12245 {
12246
12247 }
12248 return _out;
12249 fail:
12250 {
12251
12252 }
12253 {
12254
12255 }
12256 {
12257
12258 }
12259 {
12260
12261 }
12262 return octave_value_list();
12263 }
12264 catch(...) {
12265 {
12266
12267 }
12268 {
12269
12270 }
12271 {
12272
12273 }
12274 {
12275
12276 }
12277 throw;
12278 }
12279}
12280
12281
12282SWIG_DEFUN( plcont2p, _wrap_plcont2p, std::string() ) {
12283 PLFLT *arg1 = 0 ;
12284 PLINT arg2 ;
12285 PLINT arg3 ;
12286 PLINT arg4 ;
12287 PLINT arg5 ;
12288 PLINT arg6 ;
12289 PLINT arg7 ;
12290 PLFLT *arg8 = 0 ;
12291 PLINT arg9 ;
12292 PLFLT *arg10 = 0 ;
12293 PLFLT *arg11 = 0 ;
12294 Matrix temp1 ;
12295 int val4 ;
12296 int ecode4 = 0 ;
12297 int val5 ;
12298 int ecode5 = 0 ;
12299 int val6 ;
12300 int ecode6 = 0 ;
12301 int val7 ;
12302 int ecode7 = 0 ;
12303 Matrix temp8 ;
12304 Matrix temp10 ;
12305 Matrix temp11 ;
12306 octave_value_list _out;
12307 octave_value_list *_outp=&_out;
12308 octave_value _outv;
12309
12310 try {
12311 if (!SWIG_check_num_args("plcont2p",args.length(),8,8,0)) {
12312 SWIG_fail;
12313 }
12314 {
12315 if ( _n_dims( args(0) ) > 2 )
12316 {
12317 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12318 }
12319 temp1 = args(0).matrix_value();
12320 arg1 = &temp1( 0, 0 );
12321 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
12322 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
12323 }
12324 ecode4 = SWIG_AsVal_int(args(1), &val4);
12325 if (!SWIG_IsOK(ecode4)) {
12326 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcont2p" "', argument " "4"" of type '" "PLINT""'");
12327 }
12328 arg4 = static_cast< PLINT >(val4);
12329 ecode5 = SWIG_AsVal_int(args(2), &val5);
12330 if (!SWIG_IsOK(ecode5)) {
12331 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcont2p" "', argument " "5"" of type '" "PLINT""'");
12332 }
12333 arg5 = static_cast< PLINT >(val5);
12334 ecode6 = SWIG_AsVal_int(args(3), &val6);
12335 if (!SWIG_IsOK(ecode6)) {
12336 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcont2p" "', argument " "6"" of type '" "PLINT""'");
12337 }
12338 arg6 = static_cast< PLINT >(val6);
12339 ecode7 = SWIG_AsVal_int(args(4), &val7);
12340 if (!SWIG_IsOK(ecode7)) {
12341 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcont2p" "', argument " "7"" of type '" "PLINT""'");
12342 }
12343 arg7 = static_cast< PLINT >(val7);
12344 {
12345 if ( _n_dims( args(5) ) > 1 )
12346 {
12347 error( "argument must be a scalar or vector" ); SWIG_fail;
12348 }
12349 temp8 = args(5).matrix_value();
12350 arg8 = &temp8( 0, 0 );
12351 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
12352 }
12353 {
12354 if ( _n_dims( args(6) ) > 2 )
12355 {
12356 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12357 }
12358 if ( _dim( args(6), 0 ) != Xlen )
12359 {
12360 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12361 }
12362 if ( _dim( args(6), 1 ) != Ylen )
12363 {
12364 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12365 }
12366 temp10 = args(6).matrix_value();
12367 arg10 = &temp10( 0, 0 );
12368 }
12369 {
12370 if ( _n_dims( args(7) ) > 2 )
12371 {
12372 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12373 }
12374 if ( _dim( args(7), 0 ) != Xlen )
12375 {
12376 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12377 }
12378 if ( _dim( args(7), 1 ) != Ylen )
12379 {
12380 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12381 }
12382 temp11 = args(7).matrix_value();
12383 arg11 = &temp11( 0, 0 );
12384 }
12385 my_plcont2p((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,(double const *)arg10,(double const *)arg11);
12386 _outv = octave_value();
12387 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12388 {
12389
12390 }
12391 {
12392
12393 }
12394 {
12395
12396 }
12397 {
12398
12399 }
12400 return _out;
12401 fail:
12402 {
12403
12404 }
12405 {
12406
12407 }
12408 {
12409
12410 }
12411 {
12412
12413 }
12414 return octave_value_list();
12415 }
12416 catch(...) {
12417 {
12418
12419 }
12420 {
12421
12422 }
12423 {
12424
12425 }
12426 {
12427
12428 }
12429 throw;
12430 }
12431}
12432
12433
12434SWIG_DEFUN( plgriddata, _wrap_plgriddata, _wrap_plgriddata_texinfo ) {
12435 PLFLT *arg1 = 0 ;
12436 PLFLT *arg2 = 0 ;
12437 PLFLT *arg3 = 0 ;
12438 PLINT arg4 ;
12439 PLFLT *arg5 = 0 ;
12440 PLINT arg6 ;
12441 PLFLT *arg7 = 0 ;
12442 PLINT arg8 ;
12443 PLFLT *arg9 = 0 ;
12444 PLINT arg10 ;
12445 PLFLT arg11 ;
12446 Matrix temp1 ;
12447 Matrix temp2 ;
12448 Matrix temp3 ;
12449 Matrix temp5 ;
12450 Matrix temp7 ;
12451 octave_value_list retval7 ;
12452 int val10 ;
12453 int ecode10 = 0 ;
12454 double val11 ;
12455 int ecode11 = 0 ;
12456 octave_value_list _out;
12457 octave_value_list *_outp=&_out;
12458 octave_value _outv;
12459
12460 try {
12461 if (!SWIG_check_num_args("plgriddata",args.length(),7,7,0)) {
12462 SWIG_fail;
12463 }
12464 {
12465 if ( _n_dims( args(0) ) > 1 )
12466 {
12467 error( "argument must be a scalar or vector" ); SWIG_fail;
12468 }
12469 Alen = (PLINT) ( _dim( args(0), 0 ) );
12470 temp1 = args(0).matrix_value();
12471 arg1 = &temp1( 0, 0 );
12472 }
12473 {
12474 if ( _n_dims( args(1) ) > 1 )
12475 {
12476 error( "argument must be a scalar or vector" ); SWIG_fail;
12477 }
12478 if ( _dim( args(1), 0 ) != Alen )
12479 {
12480 error( "argument vectors must be same length" ); SWIG_fail;
12481 }
12482 temp2 = args(1).matrix_value();
12483 arg2 = &temp2( 0, 0 );
12484 }
12485 {
12486 if ( _n_dims( args(2) ) > 1 )
12487 {
12488 error( "argument must be a scalar or vector" ); SWIG_fail;
12489 }
12490 if ( _dim( args(2), 0 ) != Alen )
12491 {
12492 error( "argument vectors must be same length" ); SWIG_fail;
12493 }
12494 temp3 = args(2).matrix_value();
12495 arg3 = &temp3( 0, 0 );
12496 arg4 = (PLINT) ( _dim( args(2), 0 ) );
12497 }
12498 {
12499 if ( _n_dims( args(3) ) > 1 )
12500 {
12501 error( "argument must be a scalar or vector" ); SWIG_fail;
12502 }
12503 temp5 = args(3).matrix_value();
12504 arg5 = &temp5( 0, 0 );
12505 arg6 = Xlen = (PLINT) ( _dim( args(3), 0 ) );
12506 }
12507 {
12508 if ( _n_dims( args(4) ) > 1 )
12509 {
12510 error( "argument must be a scalar or vector" ); SWIG_fail;
12511 }
12512 temp7 = args(4).matrix_value();
12513 arg7 = &temp7( 0, 0 );
12514 arg8 = Ylen = (PLINT) ( _dim( args(4), 0 ) );
12515 retval7( 0 ) = octave_value( Matrix( Xlen, Ylen ) );
12516 arg9 = (PLFLT *) retval7( 0 ).matrix_value().data();
12517 }
12518 ecode10 = SWIG_AsVal_int(args(5), &val10);
12519 if (!SWIG_IsOK(ecode10)) {
12520 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plgriddata" "', argument " "10"" of type '" "PLINT""'");
12521 }
12522 arg10 = static_cast< PLINT >(val10);
12523 ecode11 = SWIG_AsVal_double(args(6), &val11);
12524 if (!SWIG_IsOK(ecode11)) {
12525 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plgriddata" "', argument " "11"" of type '" "PLFLT""'");
12526 }
12527 arg11 = static_cast< PLFLT >(val11);
12528 my_plgriddata((double const *)arg1,(double const *)arg2,(double const *)arg3,arg4,(double const *)arg5,arg6,(double const *)arg7,arg8,arg9,arg10,arg11);
12529 _outv = octave_value();
12530 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12531 {
12532 _outp = SWIG_Octave_AppendOutput(_outp, retval7( 0 ));
12533 }
12534 {
12535
12536 }
12537 {
12538
12539 }
12540 {
12541
12542 }
12543 {
12544
12545 }
12546 {
12547
12548 }
12549 return _out;
12550 fail:
12551 {
12552
12553 }
12554 {
12555
12556 }
12557 {
12558
12559 }
12560 {
12561
12562 }
12563 {
12564
12565 }
12566 return octave_value_list();
12567 }
12568 catch(...) {
12569 {
12570
12571 }
12572 {
12573
12574 }
12575 {
12576
12577 }
12578 {
12579
12580 }
12581 {
12582
12583 }
12584 throw;
12585 }
12586}
12587
12588
12590 PLFLT *arg1 = 0 ;
12591 PLFLT *arg2 = 0 ;
12592 PLFLT *arg3 = 0 ;
12593 PLINT arg4 ;
12594 PLINT arg5 ;
12595 PLINT arg6 ;
12596 Matrix temp1 ;
12597 Matrix temp2 ;
12598 Matrix temp3 ;
12599 int val6 ;
12600 int ecode6 = 0 ;
12601 octave_value_list _out;
12602 octave_value_list *_outp=&_out;
12603 octave_value _outv;
12604
12605 try {
12606 if (!SWIG_check_num_args("plmesh",args.length(),4,4,0)) {
12607 SWIG_fail;
12608 }
12609 {
12610 if ( _n_dims( args(0) ) > 1 )
12611 {
12612 error( "argument must be a scalar or vector" ); SWIG_fail;
12613 }
12614 temp1 = args(0).matrix_value();
12615 arg1 = &temp1( 0, 0 );
12616 Xlen = (PLINT) ( _dim( args(0), 0 ) );
12617 }
12618 {
12619 if ( _n_dims( args(1) ) > 1 )
12620 {
12621 error( "argument must be a scalar or vector" ); SWIG_fail;
12622 }
12623 temp2 = args(1).matrix_value();
12624 arg2 = &temp2( 0, 0 );
12625 Ylen = (PLINT) ( _dim( args(1), 0 ) );
12626 }
12627 {
12628 if ( _n_dims( args(2) ) > 2 )
12629 {
12630 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12631 }
12632 if ( _dim( args(2), 0 ) != Xlen )
12633 {
12634 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12635 }
12636 if ( _dim( args(2), 1 ) != Ylen )
12637 {
12638 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12639 }
12640 temp3 = args(2).matrix_value();
12641 arg3 = &temp3( 0, 0 );
12642 arg4 = (PLINT) ( _dim( args(2), 0 ) );
12643 arg5 = (PLINT) ( _dim( args(2), 1 ) );
12644 }
12645 ecode6 = SWIG_AsVal_int(args(3), &val6);
12646 if (!SWIG_IsOK(ecode6)) {
12647 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmesh" "', argument " "6"" of type '" "PLINT""'");
12648 }
12649 arg6 = static_cast< PLINT >(val6);
12650 my_plmesh((double const *)arg1,(double const *)arg2,(double const *)arg3,arg4,arg5,arg6);
12651 _outv = octave_value();
12652 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12653 {
12654
12655 }
12656 {
12657
12658 }
12659 {
12660
12661 }
12662 return _out;
12663 fail:
12664 {
12665
12666 }
12667 {
12668
12669 }
12670 {
12671
12672 }
12673 return octave_value_list();
12674 }
12675 catch(...) {
12676 {
12677
12678 }
12679 {
12680
12681 }
12682 {
12683
12684 }
12685 throw;
12686 }
12687}
12688
12689
12691 PLFLT *arg1 = 0 ;
12692 PLFLT *arg2 = 0 ;
12693 PLFLT *arg3 = 0 ;
12694 PLINT arg4 ;
12695 PLINT arg5 ;
12696 PLINT arg6 ;
12697 PLFLT *arg7 = 0 ;
12698 PLINT arg8 ;
12699 Matrix temp1 ;
12700 Matrix temp2 ;
12701 Matrix temp3 ;
12702 int val6 ;
12703 int ecode6 = 0 ;
12704 Matrix temp7 ;
12705 octave_value_list _out;
12706 octave_value_list *_outp=&_out;
12707 octave_value _outv;
12708
12709 try {
12710 if (!SWIG_check_num_args("plmeshc",args.length(),5,5,0)) {
12711 SWIG_fail;
12712 }
12713 {
12714 if ( _n_dims( args(0) ) > 1 )
12715 {
12716 error( "argument must be a scalar or vector" ); SWIG_fail;
12717 }
12718 temp1 = args(0).matrix_value();
12719 arg1 = &temp1( 0, 0 );
12720 Xlen = (PLINT) ( _dim( args(0), 0 ) );
12721 }
12722 {
12723 if ( _n_dims( args(1) ) > 1 )
12724 {
12725 error( "argument must be a scalar or vector" ); SWIG_fail;
12726 }
12727 temp2 = args(1).matrix_value();
12728 arg2 = &temp2( 0, 0 );
12729 Ylen = (PLINT) ( _dim( args(1), 0 ) );
12730 }
12731 {
12732 if ( _n_dims( args(2) ) > 2 )
12733 {
12734 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12735 }
12736 if ( _dim( args(2), 0 ) != Xlen )
12737 {
12738 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12739 }
12740 if ( _dim( args(2), 1 ) != Ylen )
12741 {
12742 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12743 }
12744 temp3 = args(2).matrix_value();
12745 arg3 = &temp3( 0, 0 );
12746 arg4 = (PLINT) ( _dim( args(2), 0 ) );
12747 arg5 = (PLINT) ( _dim( args(2), 1 ) );
12748 }
12749 ecode6 = SWIG_AsVal_int(args(3), &val6);
12750 if (!SWIG_IsOK(ecode6)) {
12751 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmeshc" "', argument " "6"" of type '" "PLINT""'");
12752 }
12753 arg6 = static_cast< PLINT >(val6);
12754 {
12755 if ( _n_dims( args(4) ) > 1 )
12756 {
12757 error( "argument must be a scalar or vector" ); SWIG_fail;
12758 }
12759 temp7 = args(4).matrix_value();
12760 arg7 = &temp7( 0, 0 );
12761 arg8 = Alen = (PLINT) ( _dim( args(4), 0 ) );
12762 }
12763 my_plmeshc((double const *)arg1,(double const *)arg2,(double const *)arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
12764 _outv = octave_value();
12765 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12766 {
12767
12768 }
12769 {
12770
12771 }
12772 {
12773
12774 }
12775 {
12776
12777 }
12778 return _out;
12779 fail:
12780 {
12781
12782 }
12783 {
12784
12785 }
12786 {
12787
12788 }
12789 {
12790
12791 }
12792 return octave_value_list();
12793 }
12794 catch(...) {
12795 {
12796
12797 }
12798 {
12799
12800 }
12801 {
12802
12803 }
12804 {
12805
12806 }
12807 throw;
12808 }
12809}
12810
12811
12813 PLFLT *arg1 = 0 ;
12814 PLFLT *arg2 = 0 ;
12815 PLFLT *arg3 = 0 ;
12816 PLINT arg4 ;
12817 PLINT arg5 ;
12818 PLINT arg6 ;
12819 PLBOOL arg7 ;
12820 Matrix temp1 ;
12821 Matrix temp2 ;
12822 Matrix temp3 ;
12823 int val6 ;
12824 int ecode6 = 0 ;
12825 int val7 ;
12826 int ecode7 = 0 ;
12827 octave_value_list _out;
12828 octave_value_list *_outp=&_out;
12829 octave_value _outv;
12830
12831 try {
12832 if (!SWIG_check_num_args("plot3d",args.length(),5,5,0)) {
12833 SWIG_fail;
12834 }
12835 {
12836 if ( _n_dims( args(0) ) > 1 )
12837 {
12838 error( "argument must be a scalar or vector" ); SWIG_fail;
12839 }
12840 temp1 = args(0).matrix_value();
12841 arg1 = &temp1( 0, 0 );
12842 Xlen = (PLINT) ( _dim( args(0), 0 ) );
12843 }
12844 {
12845 if ( _n_dims( args(1) ) > 1 )
12846 {
12847 error( "argument must be a scalar or vector" ); SWIG_fail;
12848 }
12849 temp2 = args(1).matrix_value();
12850 arg2 = &temp2( 0, 0 );
12851 Ylen = (PLINT) ( _dim( args(1), 0 ) );
12852 }
12853 {
12854 if ( _n_dims( args(2) ) > 2 )
12855 {
12856 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12857 }
12858 if ( _dim( args(2), 0 ) != Xlen )
12859 {
12860 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12861 }
12862 if ( _dim( args(2), 1 ) != Ylen )
12863 {
12864 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12865 }
12866 temp3 = args(2).matrix_value();
12867 arg3 = &temp3( 0, 0 );
12868 arg4 = (PLINT) ( _dim( args(2), 0 ) );
12869 arg5 = (PLINT) ( _dim( args(2), 1 ) );
12870 }
12871 ecode6 = SWIG_AsVal_int(args(3), &val6);
12872 if (!SWIG_IsOK(ecode6)) {
12873 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plot3d" "', argument " "6"" of type '" "PLINT""'");
12874 }
12875 arg6 = static_cast< PLINT >(val6);
12876 ecode7 = SWIG_AsVal_int(args(4), &val7);
12877 if (!SWIG_IsOK(ecode7)) {
12878 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plot3d" "', argument " "7"" of type '" "PLBOOL""'");
12879 }
12880 arg7 = static_cast< PLBOOL >(val7);
12881 my_plot3d((double const *)arg1,(double const *)arg2,(double const *)arg3,arg4,arg5,arg6,arg7);
12882 _outv = octave_value();
12883 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12884 {
12885
12886 }
12887 {
12888
12889 }
12890 {
12891
12892 }
12893 return _out;
12894 fail:
12895 {
12896
12897 }
12898 {
12899
12900 }
12901 {
12902
12903 }
12904 return octave_value_list();
12905 }
12906 catch(...) {
12907 {
12908
12909 }
12910 {
12911
12912 }
12913 {
12914
12915 }
12916 throw;
12917 }
12918}
12919
12920
12922 PLFLT *arg1 = 0 ;
12923 PLFLT *arg2 = 0 ;
12924 PLFLT *arg3 = 0 ;
12925 PLINT arg4 ;
12926 PLINT arg5 ;
12927 PLINT arg6 ;
12928 PLFLT *arg7 = 0 ;
12929 PLINT arg8 ;
12930 Matrix temp1 ;
12931 Matrix temp2 ;
12932 Matrix temp3 ;
12933 int val6 ;
12934 int ecode6 = 0 ;
12935 Matrix temp7 ;
12936 octave_value_list _out;
12937 octave_value_list *_outp=&_out;
12938 octave_value _outv;
12939
12940 try {
12941 if (!SWIG_check_num_args("plot3dc",args.length(),5,5,0)) {
12942 SWIG_fail;
12943 }
12944 {
12945 if ( _n_dims( args(0) ) > 1 )
12946 {
12947 error( "argument must be a scalar or vector" ); SWIG_fail;
12948 }
12949 temp1 = args(0).matrix_value();
12950 arg1 = &temp1( 0, 0 );
12951 Xlen = (PLINT) ( _dim( args(0), 0 ) );
12952 }
12953 {
12954 if ( _n_dims( args(1) ) > 1 )
12955 {
12956 error( "argument must be a scalar or vector" ); SWIG_fail;
12957 }
12958 temp2 = args(1).matrix_value();
12959 arg2 = &temp2( 0, 0 );
12960 Ylen = (PLINT) ( _dim( args(1), 0 ) );
12961 }
12962 {
12963 if ( _n_dims( args(2) ) > 2 )
12964 {
12965 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12966 }
12967 if ( _dim( args(2), 0 ) != Xlen )
12968 {
12969 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12970 }
12971 if ( _dim( args(2), 1 ) != Ylen )
12972 {
12973 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12974 }
12975 temp3 = args(2).matrix_value();
12976 arg3 = &temp3( 0, 0 );
12977 arg4 = (PLINT) ( _dim( args(2), 0 ) );
12978 arg5 = (PLINT) ( _dim( args(2), 1 ) );
12979 }
12980 ecode6 = SWIG_AsVal_int(args(3), &val6);
12981 if (!SWIG_IsOK(ecode6)) {
12982 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plot3dc" "', argument " "6"" of type '" "PLINT""'");
12983 }
12984 arg6 = static_cast< PLINT >(val6);
12985 {
12986 if ( _n_dims( args(4) ) > 1 )
12987 {
12988 error( "argument must be a scalar or vector" ); SWIG_fail;
12989 }
12990 temp7 = args(4).matrix_value();
12991 arg7 = &temp7( 0, 0 );
12992 arg8 = Alen = (PLINT) ( _dim( args(4), 0 ) );
12993 }
12994 my_plot3dc((double const *)arg1,(double const *)arg2,(double const *)arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
12995 _outv = octave_value();
12996 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12997 {
12998
12999 }
13000 {
13001
13002 }
13003 {
13004
13005 }
13006 {
13007
13008 }
13009 return _out;
13010 fail:
13011 {
13012
13013 }
13014 {
13015
13016 }
13017 {
13018
13019 }
13020 {
13021
13022 }
13023 return octave_value_list();
13024 }
13025 catch(...) {
13026 {
13027
13028 }
13029 {
13030
13031 }
13032 {
13033
13034 }
13035 {
13036
13037 }
13038 throw;
13039 }
13040}
13041
13042
13044 PLFLT *arg1 = 0 ;
13045 PLFLT *arg2 = 0 ;
13046 PLFLT *arg3 = 0 ;
13047 PLINT arg4 ;
13048 PLINT arg5 ;
13049 PLINT arg6 ;
13050 PLFLT *arg7 = 0 ;
13051 PLINT arg8 ;
13052 PLINT arg9 ;
13053 PLINT arg10 ;
13054 PLINT *arg11 = 0 ;
13055 PLINT *arg12 = 0 ;
13056 Matrix temp1 ;
13057 Matrix temp2 ;
13058 Matrix temp3 ;
13059 int val6 ;
13060 int ecode6 = 0 ;
13061 Matrix temp7 ;
13062 int val9 ;
13063 int ecode9 = 0 ;
13064 Matrix temp10 ;
13065 Matrix temp12 ;
13066 octave_value_list _out;
13067 octave_value_list *_outp=&_out;
13068 octave_value _outv;
13069
13070 try {
13071 if (!SWIG_check_num_args("plot3dcl",args.length(),8,8,0)) {
13072 SWIG_fail;
13073 }
13074 {
13075 if ( _n_dims( args(0) ) > 1 )
13076 {
13077 error( "argument must be a scalar or vector" ); SWIG_fail;
13078 }
13079 temp1 = args(0).matrix_value();
13080 arg1 = &temp1( 0, 0 );
13081 Xlen = (PLINT) ( _dim( args(0), 0 ) );
13082 }
13083 {
13084 if ( _n_dims( args(1) ) > 1 )
13085 {
13086 error( "argument must be a scalar or vector" ); SWIG_fail;
13087 }
13088 temp2 = args(1).matrix_value();
13089 arg2 = &temp2( 0, 0 );
13090 Ylen = (PLINT) ( _dim( args(1), 0 ) );
13091 }
13092 {
13093 if ( _n_dims( args(2) ) > 2 )
13094 {
13095 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
13096 }
13097 if ( _dim( args(2), 0 ) != Xlen )
13098 {
13099 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
13100 }
13101 if ( _dim( args(2), 1 ) != Ylen )
13102 {
13103 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
13104 }
13105 temp3 = args(2).matrix_value();
13106 arg3 = &temp3( 0, 0 );
13107 arg4 = (PLINT) ( _dim( args(2), 0 ) );
13108 arg5 = (PLINT) ( _dim( args(2), 1 ) );
13109 }
13110 ecode6 = SWIG_AsVal_int(args(3), &val6);
13111 if (!SWIG_IsOK(ecode6)) {
13112 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plot3dcl" "', argument " "6"" of type '" "PLINT""'");
13113 }
13114 arg6 = static_cast< PLINT >(val6);
13115 {
13116 if ( _n_dims( args(4) ) > 1 )
13117 {
13118 error( "argument must be a scalar or vector" ); SWIG_fail;
13119 }
13120 temp7 = args(4).matrix_value();
13121 arg7 = &temp7( 0, 0 );
13122 arg8 = Alen = (PLINT) ( _dim( args(4), 0 ) );
13123 }
13124 ecode9 = SWIG_AsVal_int(args(5), &val9);
13125 if (!SWIG_IsOK(ecode9)) {
13126 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plot3dcl" "', argument " "9"" of type '" "PLINT""'");
13127 }
13128 arg9 = static_cast< PLINT >(val9);
13129 {
13130 if ( _n_dims( args(6) ) > 1 )
13131 {
13132 error( "argument must be a scalar or vector" ); SWIG_fail;
13133 }
13134 arg10 = Alen = (PLINT) ( _dim( args(6), 0 ) );
13135 arg11 = new PLINT[Alen];
13136 temp10 = args(6).matrix_value();
13137 _cvt_double_to( arg11, &temp10( 0, 0 ), Alen );
13138 }
13139 {
13140 if ( _n_dims( args(7) ) > 1 )
13141 {
13142 error( "argument must be a scalar or vector" ); SWIG_fail;
13143 }
13144 if ( _dim( args(7), 0 ) != Alen )
13145 {
13146 error( "argument vectors must be same length" ); SWIG_fail;
13147 }
13148 temp12 = args(7).matrix_value();
13149 arg12 = new PLINT[Alen];
13150 _cvt_double_to( arg12, &temp12( 0, 0 ), Alen );
13151 }
13152 my_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);
13153 _outv = octave_value();
13154 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13155 {
13156
13157 }
13158 {
13159
13160 }
13161 {
13162
13163 }
13164 {
13165
13166 }
13167 {
13168 delete [] arg11;
13169 }
13170 {
13171 delete [] arg12;
13172 }
13173 return _out;
13174 fail:
13175 {
13176
13177 }
13178 {
13179
13180 }
13181 {
13182
13183 }
13184 {
13185
13186 }
13187 {
13188 delete [] arg11;
13189 }
13190 {
13191 delete [] arg12;
13192 }
13193 return octave_value_list();
13194 }
13195 catch(...) {
13196 {
13197
13198 }
13199 {
13200
13201 }
13202 {
13203
13204 }
13205 {
13206
13207 }
13208 {
13209 delete [] arg11;
13210 }
13211 {
13212 delete [] arg12;
13213 }
13214 throw;
13215 }
13216}
13217
13218
13220 PLFLT *arg1 = 0 ;
13221 PLFLT *arg2 = 0 ;
13222 PLFLT *arg3 = 0 ;
13223 PLINT arg4 ;
13224 PLINT arg5 ;
13225 PLINT arg6 ;
13226 PLFLT *arg7 = 0 ;
13227 PLINT arg8 ;
13228 Matrix temp1 ;
13229 Matrix temp2 ;
13230 Matrix temp3 ;
13231 int val6 ;
13232 int ecode6 = 0 ;
13233 Matrix temp7 ;
13234 octave_value_list _out;
13235 octave_value_list *_outp=&_out;
13236 octave_value _outv;
13237
13238 try {
13239 if (!SWIG_check_num_args("plsurf3d",args.length(),5,5,0)) {
13240 SWIG_fail;
13241 }
13242 {
13243 if ( _n_dims( args(0) ) > 1 )
13244 {
13245 error( "argument must be a scalar or vector" ); SWIG_fail;
13246 }
13247 temp1 = args(0).matrix_value();
13248 arg1 = &temp1( 0, 0 );
13249 Xlen = (PLINT) ( _dim( args(0), 0 ) );
13250 }
13251 {
13252 if ( _n_dims( args(1) ) > 1 )
13253 {
13254 error( "argument must be a scalar or vector" ); SWIG_fail;
13255 }
13256 temp2 = args(1).matrix_value();
13257 arg2 = &temp2( 0, 0 );
13258 Ylen = (PLINT) ( _dim( args(1), 0 ) );
13259 }
13260 {
13261 if ( _n_dims( args(2) ) > 2 )
13262 {
13263 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
13264 }
13265 if ( _dim( args(2), 0 ) != Xlen )
13266 {
13267 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
13268 }
13269 if ( _dim( args(2), 1 ) != Ylen )
13270 {
13271 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
13272 }
13273 temp3 = args(2).matrix_value();
13274 arg3 = &temp3( 0, 0 );
13275 arg4 = (PLINT) ( _dim( args(2), 0 ) );
13276 arg5 = (PLINT) ( _dim( args(2), 1 ) );
13277 }
13278 ecode6 = SWIG_AsVal_int(args(3), &val6);
13279 if (!SWIG_IsOK(ecode6)) {
13280 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plsurf3d" "', argument " "6"" of type '" "PLINT""'");
13281 }
13282 arg6 = static_cast< PLINT >(val6);
13283 {
13284 if ( _n_dims( args(4) ) > 1 )
13285 {
13286 error( "argument must be a scalar or vector" ); SWIG_fail;
13287 }
13288 temp7 = args(4).matrix_value();
13289 arg7 = &temp7( 0, 0 );
13290 arg8 = Alen = (PLINT) ( _dim( args(4), 0 ) );
13291 }
13292 my_plsurf3d((double const *)arg1,(double const *)arg2,(double const *)arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
13293 _outv = octave_value();
13294 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13295 {
13296
13297 }
13298 {
13299
13300 }
13301 {
13302
13303 }
13304 {
13305
13306 }
13307 return _out;
13308 fail:
13309 {
13310
13311 }
13312 {
13313
13314 }
13315 {
13316
13317 }
13318 {
13319
13320 }
13321 return octave_value_list();
13322 }
13323 catch(...) {
13324 {
13325
13326 }
13327 {
13328
13329 }
13330 {
13331
13332 }
13333 {
13334
13335 }
13336 throw;
13337 }
13338}
13339
13340
13342 PLFLT *arg1 = 0 ;
13343 PLFLT *arg2 = 0 ;
13344 PLFLT *arg3 = 0 ;
13345 PLINT arg4 ;
13346 PLINT arg5 ;
13347 PLINT arg6 ;
13348 PLFLT *arg7 = 0 ;
13349 PLINT arg8 ;
13350 PLINT arg9 ;
13351 PLINT arg10 ;
13352 PLINT *arg11 = 0 ;
13353 PLINT *arg12 = 0 ;
13354 Matrix temp1 ;
13355 Matrix temp2 ;
13356 Matrix temp3 ;
13357 int val6 ;
13358 int ecode6 = 0 ;
13359 Matrix temp7 ;
13360 int val9 ;
13361 int ecode9 = 0 ;
13362 Matrix temp10 ;
13363 Matrix temp12 ;
13364 octave_value_list _out;
13365 octave_value_list *_outp=&_out;
13366 octave_value _outv;
13367
13368 try {
13369 if (!SWIG_check_num_args("plsurf3dl",args.length(),8,8,0)) {
13370 SWIG_fail;
13371 }
13372 {
13373 if ( _n_dims( args(0) ) > 1 )
13374 {
13375 error( "argument must be a scalar or vector" ); SWIG_fail;
13376 }
13377 temp1 = args(0).matrix_value();
13378 arg1 = &temp1( 0, 0 );
13379 Xlen = (PLINT) ( _dim( args(0), 0 ) );
13380 }
13381 {
13382 if ( _n_dims( args(1) ) > 1 )
13383 {
13384 error( "argument must be a scalar or vector" ); SWIG_fail;
13385 }
13386 temp2 = args(1).matrix_value();
13387 arg2 = &temp2( 0, 0 );
13388 Ylen = (PLINT) ( _dim( args(1), 0 ) );
13389 }
13390 {
13391 if ( _n_dims( args(2) ) > 2 )
13392 {
13393 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
13394 }
13395 if ( _dim( args(2), 0 ) != Xlen )
13396 {
13397 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
13398 }
13399 if ( _dim( args(2), 1 ) != Ylen )
13400 {
13401 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
13402 }
13403 temp3 = args(2).matrix_value();
13404 arg3 = &temp3( 0, 0 );
13405 arg4 = (PLINT) ( _dim( args(2), 0 ) );
13406 arg5 = (PLINT) ( _dim( args(2), 1 ) );
13407 }
13408 ecode6 = SWIG_AsVal_int(args(3), &val6);
13409 if (!SWIG_IsOK(ecode6)) {
13410 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plsurf3dl" "', argument " "6"" of type '" "PLINT""'");
13411 }
13412 arg6 = static_cast< PLINT >(val6);
13413 {
13414 if ( _n_dims( args(4) ) > 1 )
13415 {
13416 error( "argument must be a scalar or vector" ); SWIG_fail;
13417 }
13418 temp7 = args(4).matrix_value();
13419 arg7 = &temp7( 0, 0 );
13420 arg8 = Alen = (PLINT) ( _dim( args(4), 0 ) );
13421 }
13422 ecode9 = SWIG_AsVal_int(args(5), &val9);
13423 if (!SWIG_IsOK(ecode9)) {
13424 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plsurf3dl" "', argument " "9"" of type '" "PLINT""'");
13425 }
13426 arg9 = static_cast< PLINT >(val9);
13427 {
13428 if ( _n_dims( args(6) ) > 1 )
13429 {
13430 error( "argument must be a scalar or vector" ); SWIG_fail;
13431 }
13432 arg10 = Alen = (PLINT) ( _dim( args(6), 0 ) );
13433 arg11 = new PLINT[Alen];
13434 temp10 = args(6).matrix_value();
13435 _cvt_double_to( arg11, &temp10( 0, 0 ), Alen );
13436 }
13437 {
13438 if ( _n_dims( args(7) ) > 1 )
13439 {
13440 error( "argument must be a scalar or vector" ); SWIG_fail;
13441 }
13442 if ( _dim( args(7), 0 ) != Alen )
13443 {
13444 error( "argument vectors must be same length" ); SWIG_fail;
13445 }
13446 temp12 = args(7).matrix_value();
13447 arg12 = new PLINT[Alen];
13448 _cvt_double_to( arg12, &temp12( 0, 0 ), Alen );
13449 }
13450 my_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);
13451 _outv = octave_value();
13452 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13453 {
13454
13455 }
13456 {
13457
13458 }
13459 {
13460
13461 }
13462 {
13463
13464 }
13465 {
13466 delete [] arg11;
13467 }
13468 {
13469 delete [] arg12;
13470 }
13471 return _out;
13472 fail:
13473 {
13474
13475 }
13476 {
13477
13478 }
13479 {
13480
13481 }
13482 {
13483
13484 }
13485 {
13486 delete [] arg11;
13487 }
13488 {
13489 delete [] arg12;
13490 }
13491 return octave_value_list();
13492 }
13493 catch(...) {
13494 {
13495
13496 }
13497 {
13498
13499 }
13500 {
13501
13502 }
13503 {
13504
13505 }
13506 {
13507 delete [] arg11;
13508 }
13509 {
13510 delete [] arg12;
13511 }
13512 throw;
13513 }
13514}
13515
13516
13518 PLFLT *arg1 = 0 ;
13519 PLINT arg2 ;
13520 PLINT arg3 ;
13521 PLFLT *arg4 = 0 ;
13522 PLFLT arg5 ;
13523 PLFLT arg6 ;
13524 PLFLT arg7 ;
13525 PLFLT arg8 ;
13526 PLFLT arg9 ;
13527 PLFLT arg10 ;
13528 PLINT arg11 ;
13529 PLFLT arg12 ;
13530 PLINT arg13 ;
13531 PLINT arg14 ;
13532 PLINT arg15 ;
13533 PLINT arg16 ;
13534 PLINT arg17 ;
13535 PLBOOL arg18 ;
13536 PLFLT *arg19 = 0 ;
13537 Matrix temp1 ;
13538 Matrix temp4 ;
13539 double val5 ;
13540 int ecode5 = 0 ;
13541 double val6 ;
13542 int ecode6 = 0 ;
13543 double val7 ;
13544 int ecode7 = 0 ;
13545 double val8 ;
13546 int ecode8 = 0 ;
13547 double val9 ;
13548 int ecode9 = 0 ;
13549 double val10 ;
13550 int ecode10 = 0 ;
13551 int val11 ;
13552 int ecode11 = 0 ;
13553 double val12 ;
13554 int ecode12 = 0 ;
13555 int val13 ;
13556 int ecode13 = 0 ;
13557 int val14 ;
13558 int ecode14 = 0 ;
13559 int val15 ;
13560 int ecode15 = 0 ;
13561 int val16 ;
13562 int ecode16 = 0 ;
13563 int val17 ;
13564 int ecode17 = 0 ;
13565 int val18 ;
13566 int ecode18 = 0 ;
13567 Matrix temp19 ;
13568 octave_value_list _out;
13569 octave_value_list *_outp=&_out;
13570 octave_value _outv;
13571
13572 try {
13573 if (!SWIG_check_num_args("plshade",args.length(),17,17,0)) {
13574 SWIG_fail;
13575 }
13576 {
13577 if ( _n_dims( args(0) ) > 2 )
13578 {
13579 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
13580 }
13581 temp1 = args(0).matrix_value();
13582 arg1 = &temp1( 0, 0 );
13583 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
13584 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
13585 }
13586 {
13587 if ( _n_dims( args(1) ) > 1 )
13588 {
13589 error( "argument must be a scalar or vector" ); SWIG_fail;
13590 }
13591 Alen = (PLINT) ( _dim( args(1), 0 ) );
13592 temp4 = args(1).matrix_value();
13593 arg4 = &temp4( 0, 0 );
13594 }
13595 ecode5 = SWIG_AsVal_double(args(2), &val5);
13596 if (!SWIG_IsOK(ecode5)) {
13597 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshade" "', argument " "5"" of type '" "PLFLT""'");
13598 }
13599 arg5 = static_cast< PLFLT >(val5);
13600 ecode6 = SWIG_AsVal_double(args(3), &val6);
13601 if (!SWIG_IsOK(ecode6)) {
13602 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshade" "', argument " "6"" of type '" "PLFLT""'");
13603 }
13604 arg6 = static_cast< PLFLT >(val6);
13605 ecode7 = SWIG_AsVal_double(args(4), &val7);
13606 if (!SWIG_IsOK(ecode7)) {
13607 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshade" "', argument " "7"" of type '" "PLFLT""'");
13608 }
13609 arg7 = static_cast< PLFLT >(val7);
13610 ecode8 = SWIG_AsVal_double(args(5), &val8);
13611 if (!SWIG_IsOK(ecode8)) {
13612 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plshade" "', argument " "8"" of type '" "PLFLT""'");
13613 }
13614 arg8 = static_cast< PLFLT >(val8);
13615 ecode9 = SWIG_AsVal_double(args(6), &val9);
13616 if (!SWIG_IsOK(ecode9)) {
13617 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plshade" "', argument " "9"" of type '" "PLFLT""'");
13618 }
13619 arg9 = static_cast< PLFLT >(val9);
13620 ecode10 = SWIG_AsVal_double(args(7), &val10);
13621 if (!SWIG_IsOK(ecode10)) {
13622 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshade" "', argument " "10"" of type '" "PLFLT""'");
13623 }
13624 arg10 = static_cast< PLFLT >(val10);
13625 ecode11 = SWIG_AsVal_int(args(8), &val11);
13626 if (!SWIG_IsOK(ecode11)) {
13627 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshade" "', argument " "11"" of type '" "PLINT""'");
13628 }
13629 arg11 = static_cast< PLINT >(val11);
13630 ecode12 = SWIG_AsVal_double(args(9), &val12);
13631 if (!SWIG_IsOK(ecode12)) {
13632 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshade" "', argument " "12"" of type '" "PLFLT""'");
13633 }
13634 arg12 = static_cast< PLFLT >(val12);
13635 ecode13 = SWIG_AsVal_int(args(10), &val13);
13636 if (!SWIG_IsOK(ecode13)) {
13637 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshade" "', argument " "13"" of type '" "PLINT""'");
13638 }
13639 arg13 = static_cast< PLINT >(val13);
13640 ecode14 = SWIG_AsVal_int(args(11), &val14);
13641 if (!SWIG_IsOK(ecode14)) {
13642 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plshade" "', argument " "14"" of type '" "PLINT""'");
13643 }
13644 arg14 = static_cast< PLINT >(val14);
13645 ecode15 = SWIG_AsVal_int(args(12), &val15);
13646 if (!SWIG_IsOK(ecode15)) {
13647 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plshade" "', argument " "15"" of type '" "PLINT""'");
13648 }
13649 arg15 = static_cast< PLINT >(val15);
13650 ecode16 = SWIG_AsVal_int(args(13), &val16);
13651 if (!SWIG_IsOK(ecode16)) {
13652 SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "plshade" "', argument " "16"" of type '" "PLINT""'");
13653 }
13654 arg16 = static_cast< PLINT >(val16);
13655 ecode17 = SWIG_AsVal_int(args(14), &val17);
13656 if (!SWIG_IsOK(ecode17)) {
13657 SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "plshade" "', argument " "17"" of type '" "PLINT""'");
13658 }
13659 arg17 = static_cast< PLINT >(val17);
13660 ecode18 = SWIG_AsVal_int(args(15), &val18);
13661 if (!SWIG_IsOK(ecode18)) {
13662 SWIG_exception_fail(SWIG_ArgError(ecode18), "in method '" "plshade" "', argument " "18"" of type '" "PLBOOL""'");
13663 }
13664 arg18 = static_cast< PLBOOL >(val18);
13665 {
13666 if ( _n_dims( args(16) ) > 1 )
13667 {
13668 error( "argument must be a scalar or vector" ); SWIG_fail;
13669 }
13670 if ( _dim( args(16), 0 ) != 6 )
13671 {
13672 error( "argument vectors must have length of 6" ); SWIG_fail;
13673 }
13674 temp19 = args(16).matrix_value();
13675 arg19 = &temp19( 0, 0 );
13676 }
13677 my_plshade((double const *)arg1,arg2,arg3,(double const *)arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19);
13678 _outv = octave_value();
13679 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13680 {
13681
13682 }
13683 {
13684
13685 }
13686 {
13687
13688 }
13689 return _out;
13690 fail:
13691 {
13692
13693 }
13694 {
13695
13696 }
13697 {
13698
13699 }
13700 return octave_value_list();
13701 }
13702 catch(...) {
13703 {
13704
13705 }
13706 {
13707
13708 }
13709 {
13710
13711 }
13712 throw;
13713 }
13714}
13715
13716
13717SWIG_DEFUN( plshade1, _wrap_plshade1, std::string() ) {
13718 PLFLT *arg1 = 0 ;
13719 PLINT arg2 ;
13720 PLINT arg3 ;
13721 char *arg4 = 0 ;
13722 PLFLT arg5 ;
13723 PLFLT arg6 ;
13724 PLFLT arg7 ;
13725 PLFLT arg8 ;
13726 PLFLT arg9 ;
13727 PLFLT arg10 ;
13728 PLINT arg11 ;
13729 PLFLT arg12 ;
13730 PLINT arg13 ;
13731 PLINT arg14 ;
13732 PLINT arg15 ;
13733 PLINT arg16 ;
13734 PLINT arg17 ;
13735 PLBOOL arg18 ;
13736 PLFLT *arg19 = 0 ;
13737 PLFLT *arg20 = 0 ;
13738 Matrix temp1 ;
13739 int res4 ;
13740 char *buf4 = 0 ;
13741 int alloc4 = 0 ;
13742 double val5 ;
13743 int ecode5 = 0 ;
13744 double val6 ;
13745 int ecode6 = 0 ;
13746 double val7 ;
13747 int ecode7 = 0 ;
13748 double val8 ;
13749 int ecode8 = 0 ;
13750 double val9 ;
13751 int ecode9 = 0 ;
13752 double val10 ;
13753 int ecode10 = 0 ;
13754 int val11 ;
13755 int ecode11 = 0 ;
13756 double val12 ;
13757 int ecode12 = 0 ;
13758 int val13 ;
13759 int ecode13 = 0 ;
13760 int val14 ;
13761 int ecode14 = 0 ;
13762 int val15 ;
13763 int ecode15 = 0 ;
13764 int val16 ;
13765 int ecode16 = 0 ;
13766 int val17 ;
13767 int ecode17 = 0 ;
13768 int val18 ;
13769 int ecode18 = 0 ;
13770 Matrix temp19 ;
13771 Matrix temp20 ;
13772 octave_value_list _out;
13773 octave_value_list *_outp=&_out;
13774 octave_value _outv;
13775
13776 try {
13777 if (!SWIG_check_num_args("plshade1",args.length(),18,18,0)) {
13778 SWIG_fail;
13779 }
13780 {
13781 if ( _n_dims( args(0) ) > 2 )
13782 {
13783 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
13784 }
13785 temp1 = args(0).matrix_value();
13786 arg1 = &temp1( 0, 0 );
13787 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
13788 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
13789 }
13790 res4 = SWIG_AsCharPtrAndSize(args(1), &buf4, NULL, &alloc4);
13791 if (!SWIG_IsOK(res4)) {
13792 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "plshade1" "', argument " "4"" of type '" "char const *""'");
13793 }
13794 arg4 = reinterpret_cast< char * >(buf4);
13795 ecode5 = SWIG_AsVal_double(args(2), &val5);
13796 if (!SWIG_IsOK(ecode5)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshade1" "', argument " "5"" of type '" "PLFLT""'");
13798 }
13799 arg5 = static_cast< PLFLT >(val5);
13800 ecode6 = SWIG_AsVal_double(args(3), &val6);
13801 if (!SWIG_IsOK(ecode6)) {
13802 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshade1" "', argument " "6"" of type '" "PLFLT""'");
13803 }
13804 arg6 = static_cast< PLFLT >(val6);
13805 ecode7 = SWIG_AsVal_double(args(4), &val7);
13806 if (!SWIG_IsOK(ecode7)) {
13807 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshade1" "', argument " "7"" of type '" "PLFLT""'");
13808 }
13809 arg7 = static_cast< PLFLT >(val7);
13810 ecode8 = SWIG_AsVal_double(args(5), &val8);
13811 if (!SWIG_IsOK(ecode8)) {
13812 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plshade1" "', argument " "8"" of type '" "PLFLT""'");
13813 }
13814 arg8 = static_cast< PLFLT >(val8);
13815 ecode9 = SWIG_AsVal_double(args(6), &val9);
13816 if (!SWIG_IsOK(ecode9)) {
13817 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plshade1" "', argument " "9"" of type '" "PLFLT""'");
13818 }
13819 arg9 = static_cast< PLFLT >(val9);
13820 ecode10 = SWIG_AsVal_double(args(7), &val10);
13821 if (!SWIG_IsOK(ecode10)) {
13822 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshade1" "', argument " "10"" of type '" "PLFLT""'");
13823 }
13824 arg10 = static_cast< PLFLT >(val10);
13825 ecode11 = SWIG_AsVal_int(args(8), &val11);
13826 if (!SWIG_IsOK(ecode11)) {
13827 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshade1" "', argument " "11"" of type '" "PLINT""'");
13828 }
13829 arg11 = static_cast< PLINT >(val11);
13830 ecode12 = SWIG_AsVal_double(args(9), &val12);
13831 if (!SWIG_IsOK(ecode12)) {
13832 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshade1" "', argument " "12"" of type '" "PLFLT""'");
13833 }
13834 arg12 = static_cast< PLFLT >(val12);
13835 ecode13 = SWIG_AsVal_int(args(10), &val13);
13836 if (!SWIG_IsOK(ecode13)) {
13837 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshade1" "', argument " "13"" of type '" "PLINT""'");
13838 }
13839 arg13 = static_cast< PLINT >(val13);
13840 ecode14 = SWIG_AsVal_int(args(11), &val14);
13841 if (!SWIG_IsOK(ecode14)) {
13842 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plshade1" "', argument " "14"" of type '" "PLINT""'");
13843 }
13844 arg14 = static_cast< PLINT >(val14);
13845 ecode15 = SWIG_AsVal_int(args(12), &val15);
13846 if (!SWIG_IsOK(ecode15)) {
13847 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plshade1" "', argument " "15"" of type '" "PLINT""'");
13848 }
13849 arg15 = static_cast< PLINT >(val15);
13850 ecode16 = SWIG_AsVal_int(args(13), &val16);
13851 if (!SWIG_IsOK(ecode16)) {
13852 SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "plshade1" "', argument " "16"" of type '" "PLINT""'");
13853 }
13854 arg16 = static_cast< PLINT >(val16);
13855 ecode17 = SWIG_AsVal_int(args(14), &val17);
13856 if (!SWIG_IsOK(ecode17)) {
13857 SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "plshade1" "', argument " "17"" of type '" "PLINT""'");
13858 }
13859 arg17 = static_cast< PLINT >(val17);
13860 ecode18 = SWIG_AsVal_int(args(15), &val18);
13861 if (!SWIG_IsOK(ecode18)) {
13862 SWIG_exception_fail(SWIG_ArgError(ecode18), "in method '" "plshade1" "', argument " "18"" of type '" "PLBOOL""'");
13863 }
13864 arg18 = static_cast< PLBOOL >(val18);
13865 {
13866 if ( _n_dims( args(16) ) > 1 )
13867 {
13868 error( "argument must be a scalar or vector" ); SWIG_fail;
13869 }
13870 if ( _dim( args(16), 0 ) != Xlen )
13871 {
13872 error( "argument vectors must be same length" ); SWIG_fail;
13873 }
13874 temp19 = args(16).matrix_value();
13875 arg19 = &temp19( 0, 0 );
13876 }
13877 {
13878 if ( _n_dims( args(17) ) > 1 )
13879 {
13880 error( "argument must be a scalar or vector" ); SWIG_fail;
13881 }
13882 if ( _dim( args(17), 0 ) != Ylen )
13883 {
13884 error( "argument vectors must be same length" ); SWIG_fail;
13885 }
13886 temp20 = args(17).matrix_value();
13887 arg20 = &temp20( 0, 0 );
13888 }
13889 my_plshade1((double const *)arg1,arg2,arg3,(char const *)arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,(double const *)arg19,(double const *)arg20);
13890 _outv = octave_value();
13891 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13892 {
13893
13894 }
13895 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
13896 {
13897
13898 }
13899 {
13900
13901 }
13902 return _out;
13903 fail:
13904 {
13905
13906 }
13907 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
13908 {
13909
13910 }
13911 {
13912
13913 }
13914 return octave_value_list();
13915 }
13916 catch(...) {
13917 {
13918
13919 }
13920 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
13921 {
13922
13923 }
13924 {
13925
13926 }
13927 throw;
13928 }
13929}
13930
13931
13932SWIG_DEFUN( plshade2, _wrap_plshade2, std::string() ) {
13933 PLFLT *arg1 = 0 ;
13934 PLINT arg2 ;
13935 PLINT arg3 ;
13936 char *arg4 = 0 ;
13937 PLFLT arg5 ;
13938 PLFLT arg6 ;
13939 PLFLT arg7 ;
13940 PLFLT arg8 ;
13941 PLFLT arg9 ;
13942 PLFLT arg10 ;
13943 PLINT arg11 ;
13944 PLFLT arg12 ;
13945 PLINT arg13 ;
13946 PLINT arg14 ;
13947 PLINT arg15 ;
13948 PLINT arg16 ;
13949 PLINT arg17 ;
13950 PLBOOL arg18 ;
13951 PLFLT *arg19 = 0 ;
13952 PLFLT *arg20 = 0 ;
13953 Matrix temp1 ;
13954 int res4 ;
13955 char *buf4 = 0 ;
13956 int alloc4 = 0 ;
13957 double val5 ;
13958 int ecode5 = 0 ;
13959 double val6 ;
13960 int ecode6 = 0 ;
13961 double val7 ;
13962 int ecode7 = 0 ;
13963 double val8 ;
13964 int ecode8 = 0 ;
13965 double val9 ;
13966 int ecode9 = 0 ;
13967 double val10 ;
13968 int ecode10 = 0 ;
13969 int val11 ;
13970 int ecode11 = 0 ;
13971 double val12 ;
13972 int ecode12 = 0 ;
13973 int val13 ;
13974 int ecode13 = 0 ;
13975 int val14 ;
13976 int ecode14 = 0 ;
13977 int val15 ;
13978 int ecode15 = 0 ;
13979 int val16 ;
13980 int ecode16 = 0 ;
13981 int val17 ;
13982 int ecode17 = 0 ;
13983 int val18 ;
13984 int ecode18 = 0 ;
13985 Matrix temp19 ;
13986 Matrix temp20 ;
13987 octave_value_list _out;
13988 octave_value_list *_outp=&_out;
13989 octave_value _outv;
13990
13991 try {
13992 if (!SWIG_check_num_args("plshade2",args.length(),18,18,0)) {
13993 SWIG_fail;
13994 }
13995 {
13996 if ( _n_dims( args(0) ) > 2 )
13997 {
13998 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
13999 }
14000 temp1 = args(0).matrix_value();
14001 arg1 = &temp1( 0, 0 );
14002 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
14003 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
14004 }
14005 res4 = SWIG_AsCharPtrAndSize(args(1), &buf4, NULL, &alloc4);
14006 if (!SWIG_IsOK(res4)) {
14007 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "plshade2" "', argument " "4"" of type '" "char const *""'");
14008 }
14009 arg4 = reinterpret_cast< char * >(buf4);
14010 ecode5 = SWIG_AsVal_double(args(2), &val5);
14011 if (!SWIG_IsOK(ecode5)) {
14012 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshade2" "', argument " "5"" of type '" "PLFLT""'");
14013 }
14014 arg5 = static_cast< PLFLT >(val5);
14015 ecode6 = SWIG_AsVal_double(args(3), &val6);
14016 if (!SWIG_IsOK(ecode6)) {
14017 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshade2" "', argument " "6"" of type '" "PLFLT""'");
14018 }
14019 arg6 = static_cast< PLFLT >(val6);
14020 ecode7 = SWIG_AsVal_double(args(4), &val7);
14021 if (!SWIG_IsOK(ecode7)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshade2" "', argument " "7"" of type '" "PLFLT""'");
14023 }
14024 arg7 = static_cast< PLFLT >(val7);
14025 ecode8 = SWIG_AsVal_double(args(5), &val8);
14026 if (!SWIG_IsOK(ecode8)) {
14027 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plshade2" "', argument " "8"" of type '" "PLFLT""'");
14028 }
14029 arg8 = static_cast< PLFLT >(val8);
14030 ecode9 = SWIG_AsVal_double(args(6), &val9);
14031 if (!SWIG_IsOK(ecode9)) {
14032 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plshade2" "', argument " "9"" of type '" "PLFLT""'");
14033 }
14034 arg9 = static_cast< PLFLT >(val9);
14035 ecode10 = SWIG_AsVal_double(args(7), &val10);
14036 if (!SWIG_IsOK(ecode10)) {
14037 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshade2" "', argument " "10"" of type '" "PLFLT""'");
14038 }
14039 arg10 = static_cast< PLFLT >(val10);
14040 ecode11 = SWIG_AsVal_int(args(8), &val11);
14041 if (!SWIG_IsOK(ecode11)) {
14042 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshade2" "', argument " "11"" of type '" "PLINT""'");
14043 }
14044 arg11 = static_cast< PLINT >(val11);
14045 ecode12 = SWIG_AsVal_double(args(9), &val12);
14046 if (!SWIG_IsOK(ecode12)) {
14047 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshade2" "', argument " "12"" of type '" "PLFLT""'");
14048 }
14049 arg12 = static_cast< PLFLT >(val12);
14050 ecode13 = SWIG_AsVal_int(args(10), &val13);
14051 if (!SWIG_IsOK(ecode13)) {
14052 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshade2" "', argument " "13"" of type '" "PLINT""'");
14053 }
14054 arg13 = static_cast< PLINT >(val13);
14055 ecode14 = SWIG_AsVal_int(args(11), &val14);
14056 if (!SWIG_IsOK(ecode14)) {
14057 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plshade2" "', argument " "14"" of type '" "PLINT""'");
14058 }
14059 arg14 = static_cast< PLINT >(val14);
14060 ecode15 = SWIG_AsVal_int(args(12), &val15);
14061 if (!SWIG_IsOK(ecode15)) {
14062 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plshade2" "', argument " "15"" of type '" "PLINT""'");
14063 }
14064 arg15 = static_cast< PLINT >(val15);
14065 ecode16 = SWIG_AsVal_int(args(13), &val16);
14066 if (!SWIG_IsOK(ecode16)) {
14067 SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "plshade2" "', argument " "16"" of type '" "PLINT""'");
14068 }
14069 arg16 = static_cast< PLINT >(val16);
14070 ecode17 = SWIG_AsVal_int(args(14), &val17);
14071 if (!SWIG_IsOK(ecode17)) {
14072 SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "plshade2" "', argument " "17"" of type '" "PLINT""'");
14073 }
14074 arg17 = static_cast< PLINT >(val17);
14075 ecode18 = SWIG_AsVal_int(args(15), &val18);
14076 if (!SWIG_IsOK(ecode18)) {
14077 SWIG_exception_fail(SWIG_ArgError(ecode18), "in method '" "plshade2" "', argument " "18"" of type '" "PLBOOL""'");
14078 }
14079 arg18 = static_cast< PLBOOL >(val18);
14080 {
14081 if ( _n_dims( args(16) ) > 2 )
14082 {
14083 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14084 }
14085 temp19 = args(16).matrix_value();
14086 arg19 = &temp19( 0, 0 );
14087 Xlen = (PLINT) ( _dim( args(16), 0 ) );
14088 Ylen = (PLINT) ( _dim( args(16), 1 ) );
14089 }
14090 {
14091 if ( _n_dims( args(17) ) > 2 )
14092 {
14093 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14094 }
14095 temp20 = args(17).matrix_value();
14096 arg20 = &temp20( 0, 0 );
14097 Xlen = (PLINT) ( _dim( args(17), 0 ) );
14098 Ylen = (PLINT) ( _dim( args(17), 1 ) );
14099 }
14100 my_plshade2((double const *)arg1,arg2,arg3,(char const *)arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,(double const *)arg19,(double const *)arg20);
14101 _outv = octave_value();
14102 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14103 {
14104
14105 }
14106 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
14107 {
14108
14109 }
14110 {
14111
14112 }
14113 return _out;
14114 fail:
14115 {
14116
14117 }
14118 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
14119 {
14120
14121 }
14122 {
14123
14124 }
14125 return octave_value_list();
14126 }
14127 catch(...) {
14128 {
14129
14130 }
14131 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
14132 {
14133
14134 }
14135 {
14136
14137 }
14138 throw;
14139 }
14140}
14141
14142
14144 PLFLT *arg1 = 0 ;
14145 PLINT arg2 ;
14146 PLINT arg3 ;
14147 PLFLT arg4 ;
14148 PLFLT arg5 ;
14149 PLFLT arg6 ;
14150 PLFLT arg7 ;
14151 PLFLT *arg8 = 0 ;
14152 PLINT arg9 ;
14153 PLINT arg10 ;
14154 PLINT arg11 ;
14155 PLINT arg12 ;
14156 PLBOOL arg13 ;
14157 Matrix temp1 ;
14158 double val4 ;
14159 int ecode4 = 0 ;
14160 double val5 ;
14161 int ecode5 = 0 ;
14162 double val6 ;
14163 int ecode6 = 0 ;
14164 double val7 ;
14165 int ecode7 = 0 ;
14166 Matrix temp8 ;
14167 int val10 ;
14168 int ecode10 = 0 ;
14169 int val11 ;
14170 int ecode11 = 0 ;
14171 int val12 ;
14172 int ecode12 = 0 ;
14173 int val13 ;
14174 int ecode13 = 0 ;
14175 octave_value_list _out;
14176 octave_value_list *_outp=&_out;
14177 octave_value _outv;
14178
14179 try {
14180 if (!SWIG_check_num_args("plshades",args.length(),10,10,0)) {
14181 SWIG_fail;
14182 }
14183 {
14184 if ( _n_dims( args(0) ) > 2 )
14185 {
14186 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14187 }
14188 temp1 = args(0).matrix_value();
14189 arg1 = &temp1( 0, 0 );
14190 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
14191 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
14192 }
14193 ecode4 = SWIG_AsVal_double(args(1), &val4);
14194 if (!SWIG_IsOK(ecode4)) {
14195 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plshades" "', argument " "4"" of type '" "PLFLT""'");
14196 }
14197 arg4 = static_cast< PLFLT >(val4);
14198 ecode5 = SWIG_AsVal_double(args(2), &val5);
14199 if (!SWIG_IsOK(ecode5)) {
14200 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshades" "', argument " "5"" of type '" "PLFLT""'");
14201 }
14202 arg5 = static_cast< PLFLT >(val5);
14203 ecode6 = SWIG_AsVal_double(args(3), &val6);
14204 if (!SWIG_IsOK(ecode6)) {
14205 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshades" "', argument " "6"" of type '" "PLFLT""'");
14206 }
14207 arg6 = static_cast< PLFLT >(val6);
14208 ecode7 = SWIG_AsVal_double(args(4), &val7);
14209 if (!SWIG_IsOK(ecode7)) {
14210 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshades" "', argument " "7"" of type '" "PLFLT""'");
14211 }
14212 arg7 = static_cast< PLFLT >(val7);
14213 {
14214 if ( _n_dims( args(5) ) > 1 )
14215 {
14216 error( "argument must be a scalar or vector" ); SWIG_fail;
14217 }
14218 temp8 = args(5).matrix_value();
14219 arg8 = &temp8( 0, 0 );
14220 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
14221 }
14222 ecode10 = SWIG_AsVal_int(args(6), &val10);
14223 if (!SWIG_IsOK(ecode10)) {
14224 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshades" "', argument " "10"" of type '" "PLINT""'");
14225 }
14226 arg10 = static_cast< PLINT >(val10);
14227 ecode11 = SWIG_AsVal_int(args(7), &val11);
14228 if (!SWIG_IsOK(ecode11)) {
14229 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshades" "', argument " "11"" of type '" "PLINT""'");
14230 }
14231 arg11 = static_cast< PLINT >(val11);
14232 ecode12 = SWIG_AsVal_int(args(8), &val12);
14233 if (!SWIG_IsOK(ecode12)) {
14234 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshades" "', argument " "12"" of type '" "PLINT""'");
14235 }
14236 arg12 = static_cast< PLINT >(val12);
14237 ecode13 = SWIG_AsVal_int(args(9), &val13);
14238 if (!SWIG_IsOK(ecode13)) {
14239 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshades" "', argument " "13"" of type '" "PLBOOL""'");
14240 }
14241 arg13 = static_cast< PLBOOL >(val13);
14242 my_plshades((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,arg10,arg11,arg12,arg13);
14243 _outv = octave_value();
14244 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14245 {
14246
14247 }
14248 {
14249
14250 }
14251 return _out;
14252 fail:
14253 {
14254
14255 }
14256 {
14257
14258 }
14259 return octave_value_list();
14260 }
14261 catch(...) {
14262 {
14263
14264 }
14265 {
14266
14267 }
14268 throw;
14269 }
14270}
14271
14272
14273SWIG_DEFUN( plshadesx, _wrap_plshadesx, std::string() ) {
14274 PLFLT *arg1 = 0 ;
14275 PLINT arg2 ;
14276 PLINT arg3 ;
14277 PLFLT arg4 ;
14278 PLFLT arg5 ;
14279 PLFLT arg6 ;
14280 PLFLT arg7 ;
14281 PLFLT *arg8 = 0 ;
14282 PLINT arg9 ;
14283 PLINT arg10 ;
14284 PLINT arg11 ;
14285 PLINT arg12 ;
14286 PLBOOL arg13 ;
14287 PLFLT *arg14 = 0 ;
14288 Matrix temp1 ;
14289 double val4 ;
14290 int ecode4 = 0 ;
14291 double val5 ;
14292 int ecode5 = 0 ;
14293 double val6 ;
14294 int ecode6 = 0 ;
14295 double val7 ;
14296 int ecode7 = 0 ;
14297 Matrix temp8 ;
14298 int val10 ;
14299 int ecode10 = 0 ;
14300 int val11 ;
14301 int ecode11 = 0 ;
14302 int val12 ;
14303 int ecode12 = 0 ;
14304 int val13 ;
14305 int ecode13 = 0 ;
14306 Matrix temp14 ;
14307 octave_value_list _out;
14308 octave_value_list *_outp=&_out;
14309 octave_value _outv;
14310
14311 try {
14312 if (!SWIG_check_num_args("plshadesx",args.length(),11,11,0)) {
14313 SWIG_fail;
14314 }
14315 {
14316 if ( _n_dims( args(0) ) > 2 )
14317 {
14318 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14319 }
14320 temp1 = args(0).matrix_value();
14321 arg1 = &temp1( 0, 0 );
14322 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
14323 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
14324 }
14325 ecode4 = SWIG_AsVal_double(args(1), &val4);
14326 if (!SWIG_IsOK(ecode4)) {
14327 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plshadesx" "', argument " "4"" of type '" "PLFLT""'");
14328 }
14329 arg4 = static_cast< PLFLT >(val4);
14330 ecode5 = SWIG_AsVal_double(args(2), &val5);
14331 if (!SWIG_IsOK(ecode5)) {
14332 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshadesx" "', argument " "5"" of type '" "PLFLT""'");
14333 }
14334 arg5 = static_cast< PLFLT >(val5);
14335 ecode6 = SWIG_AsVal_double(args(3), &val6);
14336 if (!SWIG_IsOK(ecode6)) {
14337 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshadesx" "', argument " "6"" of type '" "PLFLT""'");
14338 }
14339 arg6 = static_cast< PLFLT >(val6);
14340 ecode7 = SWIG_AsVal_double(args(4), &val7);
14341 if (!SWIG_IsOK(ecode7)) {
14342 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshadesx" "', argument " "7"" of type '" "PLFLT""'");
14343 }
14344 arg7 = static_cast< PLFLT >(val7);
14345 {
14346 if ( _n_dims( args(5) ) > 1 )
14347 {
14348 error( "argument must be a scalar or vector" ); SWIG_fail;
14349 }
14350 temp8 = args(5).matrix_value();
14351 arg8 = &temp8( 0, 0 );
14352 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
14353 }
14354 ecode10 = SWIG_AsVal_int(args(6), &val10);
14355 if (!SWIG_IsOK(ecode10)) {
14356 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshadesx" "', argument " "10"" of type '" "PLINT""'");
14357 }
14358 arg10 = static_cast< PLINT >(val10);
14359 ecode11 = SWIG_AsVal_int(args(7), &val11);
14360 if (!SWIG_IsOK(ecode11)) {
14361 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshadesx" "', argument " "11"" of type '" "PLINT""'");
14362 }
14363 arg11 = static_cast< PLINT >(val11);
14364 ecode12 = SWIG_AsVal_int(args(8), &val12);
14365 if (!SWIG_IsOK(ecode12)) {
14366 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshadesx" "', argument " "12"" of type '" "PLINT""'");
14367 }
14368 arg12 = static_cast< PLINT >(val12);
14369 ecode13 = SWIG_AsVal_int(args(9), &val13);
14370 if (!SWIG_IsOK(ecode13)) {
14371 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshadesx" "', argument " "13"" of type '" "PLBOOL""'");
14372 }
14373 arg13 = static_cast< PLBOOL >(val13);
14374 {
14375 if ( _n_dims( args(10) ) > 1 )
14376 {
14377 error( "argument must be a scalar or vector" ); SWIG_fail;
14378 }
14379 if ( _dim( args(10), 0 ) != 6 )
14380 {
14381 error( "argument vectors must have length of 6" ); SWIG_fail;
14382 }
14383 temp14 = args(10).matrix_value();
14384 arg14 = &temp14( 0, 0 );
14385 }
14386 my_plshadesx((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,arg10,arg11,arg12,arg13,arg14);
14387 _outv = octave_value();
14388 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14389 {
14390
14391 }
14392 {
14393
14394 }
14395 {
14396
14397 }
14398 return _out;
14399 fail:
14400 {
14401
14402 }
14403 {
14404
14405 }
14406 {
14407
14408 }
14409 return octave_value_list();
14410 }
14411 catch(...) {
14412 {
14413
14414 }
14415 {
14416
14417 }
14418 {
14419
14420 }
14421 throw;
14422 }
14423}
14424
14425
14426SWIG_DEFUN( plshades1, _wrap_plshades1, std::string() ) {
14427 PLFLT *arg1 = 0 ;
14428 PLINT arg2 ;
14429 PLINT arg3 ;
14430 PLFLT arg4 ;
14431 PLFLT arg5 ;
14432 PLFLT arg6 ;
14433 PLFLT arg7 ;
14434 PLFLT *arg8 = 0 ;
14435 PLINT arg9 ;
14436 PLINT arg10 ;
14437 PLINT arg11 ;
14438 PLINT arg12 ;
14439 PLBOOL arg13 ;
14440 PLFLT *arg14 = 0 ;
14441 PLFLT *arg15 = 0 ;
14442 Matrix temp1 ;
14443 double val4 ;
14444 int ecode4 = 0 ;
14445 double val5 ;
14446 int ecode5 = 0 ;
14447 double val6 ;
14448 int ecode6 = 0 ;
14449 double val7 ;
14450 int ecode7 = 0 ;
14451 Matrix temp8 ;
14452 int val10 ;
14453 int ecode10 = 0 ;
14454 int val11 ;
14455 int ecode11 = 0 ;
14456 int val12 ;
14457 int ecode12 = 0 ;
14458 int val13 ;
14459 int ecode13 = 0 ;
14460 Matrix temp14 ;
14461 Matrix temp15 ;
14462 octave_value_list _out;
14463 octave_value_list *_outp=&_out;
14464 octave_value _outv;
14465
14466 try {
14467 if (!SWIG_check_num_args("plshades1",args.length(),12,12,0)) {
14468 SWIG_fail;
14469 }
14470 {
14471 if ( _n_dims( args(0) ) > 2 )
14472 {
14473 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14474 }
14475 temp1 = args(0).matrix_value();
14476 arg1 = &temp1( 0, 0 );
14477 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
14478 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
14479 }
14480 ecode4 = SWIG_AsVal_double(args(1), &val4);
14481 if (!SWIG_IsOK(ecode4)) {
14482 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plshades1" "', argument " "4"" of type '" "PLFLT""'");
14483 }
14484 arg4 = static_cast< PLFLT >(val4);
14485 ecode5 = SWIG_AsVal_double(args(2), &val5);
14486 if (!SWIG_IsOK(ecode5)) {
14487 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshades1" "', argument " "5"" of type '" "PLFLT""'");
14488 }
14489 arg5 = static_cast< PLFLT >(val5);
14490 ecode6 = SWIG_AsVal_double(args(3), &val6);
14491 if (!SWIG_IsOK(ecode6)) {
14492 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshades1" "', argument " "6"" of type '" "PLFLT""'");
14493 }
14494 arg6 = static_cast< PLFLT >(val6);
14495 ecode7 = SWIG_AsVal_double(args(4), &val7);
14496 if (!SWIG_IsOK(ecode7)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshades1" "', argument " "7"" of type '" "PLFLT""'");
14498 }
14499 arg7 = static_cast< PLFLT >(val7);
14500 {
14501 if ( _n_dims( args(5) ) > 1 )
14502 {
14503 error( "argument must be a scalar or vector" ); SWIG_fail;
14504 }
14505 temp8 = args(5).matrix_value();
14506 arg8 = &temp8( 0, 0 );
14507 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
14508 }
14509 ecode10 = SWIG_AsVal_int(args(6), &val10);
14510 if (!SWIG_IsOK(ecode10)) {
14511 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshades1" "', argument " "10"" of type '" "PLINT""'");
14512 }
14513 arg10 = static_cast< PLINT >(val10);
14514 ecode11 = SWIG_AsVal_int(args(7), &val11);
14515 if (!SWIG_IsOK(ecode11)) {
14516 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshades1" "', argument " "11"" of type '" "PLINT""'");
14517 }
14518 arg11 = static_cast< PLINT >(val11);
14519 ecode12 = SWIG_AsVal_int(args(8), &val12);
14520 if (!SWIG_IsOK(ecode12)) {
14521 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshades1" "', argument " "12"" of type '" "PLINT""'");
14522 }
14523 arg12 = static_cast< PLINT >(val12);
14524 ecode13 = SWIG_AsVal_int(args(9), &val13);
14525 if (!SWIG_IsOK(ecode13)) {
14526 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshades1" "', argument " "13"" of type '" "PLBOOL""'");
14527 }
14528 arg13 = static_cast< PLBOOL >(val13);
14529 {
14530 if ( _n_dims( args(10) ) > 1 )
14531 {
14532 error( "argument must be a scalar or vector" ); SWIG_fail;
14533 }
14534 if ( _dim( args(10), 0 ) != Xlen )
14535 {
14536 error( "argument vectors must be same length" ); SWIG_fail;
14537 }
14538 temp14 = args(10).matrix_value();
14539 arg14 = &temp14( 0, 0 );
14540 }
14541 {
14542 if ( _n_dims( args(11) ) > 1 )
14543 {
14544 error( "argument must be a scalar or vector" ); SWIG_fail;
14545 }
14546 if ( _dim( args(11), 0 ) != Ylen )
14547 {
14548 error( "argument vectors must be same length" ); SWIG_fail;
14549 }
14550 temp15 = args(11).matrix_value();
14551 arg15 = &temp15( 0, 0 );
14552 }
14553 my_plshades1((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,arg10,arg11,arg12,arg13,(double const *)arg14,(double const *)arg15);
14554 _outv = octave_value();
14555 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14556 {
14557
14558 }
14559 {
14560
14561 }
14562 {
14563
14564 }
14565 {
14566
14567 }
14568 return _out;
14569 fail:
14570 {
14571
14572 }
14573 {
14574
14575 }
14576 {
14577
14578 }
14579 {
14580
14581 }
14582 return octave_value_list();
14583 }
14584 catch(...) {
14585 {
14586
14587 }
14588 {
14589
14590 }
14591 {
14592
14593 }
14594 {
14595
14596 }
14597 throw;
14598 }
14599}
14600
14601
14602SWIG_DEFUN( plshades2, _wrap_plshades2, std::string() ) {
14603 PLFLT *arg1 = 0 ;
14604 PLINT arg2 ;
14605 PLINT arg3 ;
14606 PLFLT arg4 ;
14607 PLFLT arg5 ;
14608 PLFLT arg6 ;
14609 PLFLT arg7 ;
14610 PLFLT *arg8 = 0 ;
14611 PLINT arg9 ;
14612 PLINT arg10 ;
14613 PLINT arg11 ;
14614 PLINT arg12 ;
14615 PLBOOL arg13 ;
14616 PLFLT *arg14 = 0 ;
14617 PLFLT *arg15 = 0 ;
14618 Matrix temp1 ;
14619 double val4 ;
14620 int ecode4 = 0 ;
14621 double val5 ;
14622 int ecode5 = 0 ;
14623 double val6 ;
14624 int ecode6 = 0 ;
14625 double val7 ;
14626 int ecode7 = 0 ;
14627 Matrix temp8 ;
14628 int val10 ;
14629 int ecode10 = 0 ;
14630 int val11 ;
14631 int ecode11 = 0 ;
14632 int val12 ;
14633 int ecode12 = 0 ;
14634 int val13 ;
14635 int ecode13 = 0 ;
14636 Matrix temp14 ;
14637 Matrix temp15 ;
14638 octave_value_list _out;
14639 octave_value_list *_outp=&_out;
14640 octave_value _outv;
14641
14642 try {
14643 if (!SWIG_check_num_args("plshades2",args.length(),12,12,0)) {
14644 SWIG_fail;
14645 }
14646 {
14647 if ( _n_dims( args(0) ) > 2 )
14648 {
14649 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14650 }
14651 temp1 = args(0).matrix_value();
14652 arg1 = &temp1( 0, 0 );
14653 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
14654 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
14655 }
14656 ecode4 = SWIG_AsVal_double(args(1), &val4);
14657 if (!SWIG_IsOK(ecode4)) {
14658 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plshades2" "', argument " "4"" of type '" "PLFLT""'");
14659 }
14660 arg4 = static_cast< PLFLT >(val4);
14661 ecode5 = SWIG_AsVal_double(args(2), &val5);
14662 if (!SWIG_IsOK(ecode5)) {
14663 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshades2" "', argument " "5"" of type '" "PLFLT""'");
14664 }
14665 arg5 = static_cast< PLFLT >(val5);
14666 ecode6 = SWIG_AsVal_double(args(3), &val6);
14667 if (!SWIG_IsOK(ecode6)) {
14668 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshades2" "', argument " "6"" of type '" "PLFLT""'");
14669 }
14670 arg6 = static_cast< PLFLT >(val6);
14671 ecode7 = SWIG_AsVal_double(args(4), &val7);
14672 if (!SWIG_IsOK(ecode7)) {
14673 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshades2" "', argument " "7"" of type '" "PLFLT""'");
14674 }
14675 arg7 = static_cast< PLFLT >(val7);
14676 {
14677 if ( _n_dims( args(5) ) > 1 )
14678 {
14679 error( "argument must be a scalar or vector" ); SWIG_fail;
14680 }
14681 temp8 = args(5).matrix_value();
14682 arg8 = &temp8( 0, 0 );
14683 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
14684 }
14685 ecode10 = SWIG_AsVal_int(args(6), &val10);
14686 if (!SWIG_IsOK(ecode10)) {
14687 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshades2" "', argument " "10"" of type '" "PLINT""'");
14688 }
14689 arg10 = static_cast< PLINT >(val10);
14690 ecode11 = SWIG_AsVal_int(args(7), &val11);
14691 if (!SWIG_IsOK(ecode11)) {
14692 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshades2" "', argument " "11"" of type '" "PLINT""'");
14693 }
14694 arg11 = static_cast< PLINT >(val11);
14695 ecode12 = SWIG_AsVal_int(args(8), &val12);
14696 if (!SWIG_IsOK(ecode12)) {
14697 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshades2" "', argument " "12"" of type '" "PLINT""'");
14698 }
14699 arg12 = static_cast< PLINT >(val12);
14700 ecode13 = SWIG_AsVal_int(args(9), &val13);
14701 if (!SWIG_IsOK(ecode13)) {
14702 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshades2" "', argument " "13"" of type '" "PLBOOL""'");
14703 }
14704 arg13 = static_cast< PLBOOL >(val13);
14705 {
14706 if ( _n_dims( args(10) ) > 2 )
14707 {
14708 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14709 }
14710 temp14 = args(10).matrix_value();
14711 arg14 = &temp14( 0, 0 );
14712 Xlen = (PLINT) ( _dim( args(10), 0 ) );
14713 Ylen = (PLINT) ( _dim( args(10), 1 ) );
14714 }
14715 {
14716 if ( _n_dims( args(11) ) > 2 )
14717 {
14718 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14719 }
14720 temp15 = args(11).matrix_value();
14721 arg15 = &temp15( 0, 0 );
14722 Xlen = (PLINT) ( _dim( args(11), 0 ) );
14723 Ylen = (PLINT) ( _dim( args(11), 1 ) );
14724 }
14725 my_plshades2((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,arg10,arg11,arg12,arg13,(double const *)arg14,(double const *)arg15);
14726 _outv = octave_value();
14727 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14728 {
14729
14730 }
14731 {
14732
14733 }
14734 {
14735
14736 }
14737 {
14738
14739 }
14740 return _out;
14741 fail:
14742 {
14743
14744 }
14745 {
14746
14747 }
14748 {
14749
14750 }
14751 {
14752
14753 }
14754 return octave_value_list();
14755 }
14756 catch(...) {
14757 {
14758
14759 }
14760 {
14761
14762 }
14763 {
14764
14765 }
14766 {
14767
14768 }
14769 throw;
14770 }
14771}
14772
14773
14775 PLFLT *arg1 = 0 ;
14776 PLFLT *arg2 = 0 ;
14777 PLINT arg3 ;
14778 PLINT arg4 ;
14779 PLFLT arg5 ;
14780 PLFLT *arg6 = 0 ;
14781 Matrix temp1 ;
14782 Matrix temp2 ;
14783 double val5 ;
14784 int ecode5 = 0 ;
14785 Matrix temp6 ;
14786 octave_value_list _out;
14787 octave_value_list *_outp=&_out;
14788 octave_value _outv;
14789
14790 try {
14791 if (!SWIG_check_num_args("plvect",args.length(),4,4,0)) {
14792 SWIG_fail;
14793 }
14794 {
14795 if ( _n_dims( args(0) ) > 2 )
14796 {
14797 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14798 }
14799 temp1 = args(0).matrix_value();
14800 arg1 = &temp1( 0, 0 );
14801 Xlen = (PLINT) ( _dim( args(0), 0 ) );
14802 Ylen = (PLINT) ( _dim( args(0), 1 ) );
14803 }
14804 {
14805 if ( _n_dims( args(1) ) > 2 )
14806 {
14807 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14808 }
14809 if ( _dim( args(1), 0 ) != Xlen )
14810 {
14811 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
14812 }
14813 if ( _dim( args(1), 1 ) != Ylen )
14814 {
14815 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
14816 }
14817 temp2 = args(1).matrix_value();
14818 arg2 = &temp2( 0, 0 );
14819 arg3 = (PLINT) ( _dim( args(1), 0 ) );
14820 arg4 = (PLINT) ( _dim( args(1), 1 ) );
14821 }
14822 ecode5 = SWIG_AsVal_double(args(2), &val5);
14823 if (!SWIG_IsOK(ecode5)) {
14824 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plvect" "', argument " "5"" of type '" "PLFLT""'");
14825 }
14826 arg5 = static_cast< PLFLT >(val5);
14827 {
14828 if ( _n_dims( args(3) ) > 1 )
14829 {
14830 error( "argument must be a scalar or vector" ); SWIG_fail;
14831 }
14832 if ( _dim( args(3), 0 ) != 6 )
14833 {
14834 error( "argument vectors must have length of 6" ); SWIG_fail;
14835 }
14836 temp6 = args(3).matrix_value();
14837 arg6 = &temp6( 0, 0 );
14838 }
14839 my_plvect((double const *)arg1,(double const *)arg2,arg3,arg4,arg5,arg6);
14840 _outv = octave_value();
14841 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14842 {
14843
14844 }
14845 {
14846
14847 }
14848 {
14849
14850 }
14851 return _out;
14852 fail:
14853 {
14854
14855 }
14856 {
14857
14858 }
14859 {
14860
14861 }
14862 return octave_value_list();
14863 }
14864 catch(...) {
14865 {
14866
14867 }
14868 {
14869
14870 }
14871 {
14872
14873 }
14874 throw;
14875 }
14876}
14877
14878
14879SWIG_DEFUN( plvect1, _wrap_plvect1, std::string() ) {
14880 PLFLT *arg1 = 0 ;
14881 PLFLT *arg2 = 0 ;
14882 PLINT arg3 ;
14883 PLINT arg4 ;
14884 PLFLT arg5 ;
14885 PLFLT *arg6 = 0 ;
14886 PLFLT *arg7 = 0 ;
14887 Matrix temp1 ;
14888 Matrix temp2 ;
14889 double val5 ;
14890 int ecode5 = 0 ;
14891 Matrix temp6 ;
14892 Matrix temp7 ;
14893 octave_value_list _out;
14894 octave_value_list *_outp=&_out;
14895 octave_value _outv;
14896
14897 try {
14898 if (!SWIG_check_num_args("plvect1",args.length(),5,5,0)) {
14899 SWIG_fail;
14900 }
14901 {
14902 if ( _n_dims( args(0) ) > 2 )
14903 {
14904 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14905 }
14906 temp1 = args(0).matrix_value();
14907 arg1 = &temp1( 0, 0 );
14908 Xlen = (PLINT) ( _dim( args(0), 0 ) );
14909 Ylen = (PLINT) ( _dim( args(0), 1 ) );
14910 }
14911 {
14912 if ( _n_dims( args(1) ) > 2 )
14913 {
14914 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14915 }
14916 if ( _dim( args(1), 0 ) != Xlen )
14917 {
14918 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
14919 }
14920 if ( _dim( args(1), 1 ) != Ylen )
14921 {
14922 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
14923 }
14924 temp2 = args(1).matrix_value();
14925 arg2 = &temp2( 0, 0 );
14926 arg3 = (PLINT) ( _dim( args(1), 0 ) );
14927 arg4 = (PLINT) ( _dim( args(1), 1 ) );
14928 }
14929 ecode5 = SWIG_AsVal_double(args(2), &val5);
14930 if (!SWIG_IsOK(ecode5)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plvect1" "', argument " "5"" of type '" "PLFLT""'");
14932 }
14933 arg5 = static_cast< PLFLT >(val5);
14934 {
14935 if ( _n_dims( args(3) ) > 1 )
14936 {
14937 error( "argument must be a scalar or vector" ); SWIG_fail;
14938 }
14939 if ( _dim( args(3), 0 ) != Xlen )
14940 {
14941 error( "argument vectors must be same length" ); SWIG_fail;
14942 }
14943 temp6 = args(3).matrix_value();
14944 arg6 = &temp6( 0, 0 );
14945 }
14946 {
14947 if ( _n_dims( args(4) ) > 1 )
14948 {
14949 error( "argument must be a scalar or vector" ); SWIG_fail;
14950 }
14951 if ( _dim( args(4), 0 ) != Ylen )
14952 {
14953 error( "argument vectors must be same length" ); SWIG_fail;
14954 }
14955 temp7 = args(4).matrix_value();
14956 arg7 = &temp7( 0, 0 );
14957 }
14958 my_plvect1((double const *)arg1,(double const *)arg2,arg3,arg4,arg5,(double const *)arg6,(double const *)arg7);
14959 _outv = octave_value();
14960 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14961 {
14962
14963 }
14964 {
14965
14966 }
14967 {
14968
14969 }
14970 {
14971
14972 }
14973 return _out;
14974 fail:
14975 {
14976
14977 }
14978 {
14979
14980 }
14981 {
14982
14983 }
14984 {
14985
14986 }
14987 return octave_value_list();
14988 }
14989 catch(...) {
14990 {
14991
14992 }
14993 {
14994
14995 }
14996 {
14997
14998 }
14999 {
15000
15001 }
15002 throw;
15003 }
15004}
15005
15006
15007SWIG_DEFUN( plvect2, _wrap_plvect2, std::string() ) {
15008 PLFLT *arg1 = 0 ;
15009 PLFLT *arg2 = 0 ;
15010 PLINT arg3 ;
15011 PLINT arg4 ;
15012 PLFLT arg5 ;
15013 PLFLT *arg6 = 0 ;
15014 PLFLT *arg7 = 0 ;
15015 Matrix temp1 ;
15016 Matrix temp2 ;
15017 double val5 ;
15018 int ecode5 = 0 ;
15019 Matrix temp6 ;
15020 Matrix temp7 ;
15021 octave_value_list _out;
15022 octave_value_list *_outp=&_out;
15023 octave_value _outv;
15024
15025 try {
15026 if (!SWIG_check_num_args("plvect2",args.length(),5,5,0)) {
15027 SWIG_fail;
15028 }
15029 {
15030 if ( _n_dims( args(0) ) > 2 )
15031 {
15032 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15033 }
15034 temp1 = args(0).matrix_value();
15035 arg1 = &temp1( 0, 0 );
15036 Xlen = (PLINT) ( _dim( args(0), 0 ) );
15037 Ylen = (PLINT) ( _dim( args(0), 1 ) );
15038 }
15039 {
15040 if ( _n_dims( args(1) ) > 2 )
15041 {
15042 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15043 }
15044 if ( _dim( args(1), 0 ) != Xlen )
15045 {
15046 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
15047 }
15048 if ( _dim( args(1), 1 ) != Ylen )
15049 {
15050 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
15051 }
15052 temp2 = args(1).matrix_value();
15053 arg2 = &temp2( 0, 0 );
15054 arg3 = (PLINT) ( _dim( args(1), 0 ) );
15055 arg4 = (PLINT) ( _dim( args(1), 1 ) );
15056 }
15057 ecode5 = SWIG_AsVal_double(args(2), &val5);
15058 if (!SWIG_IsOK(ecode5)) {
15059 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plvect2" "', argument " "5"" of type '" "PLFLT""'");
15060 }
15061 arg5 = static_cast< PLFLT >(val5);
15062 {
15063 if ( _n_dims( args(3) ) > 2 )
15064 {
15065 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15066 }
15067 temp6 = args(3).matrix_value();
15068 arg6 = &temp6( 0, 0 );
15069 Xlen = (PLINT) ( _dim( args(3), 0 ) );
15070 Ylen = (PLINT) ( _dim( args(3), 1 ) );
15071 }
15072 {
15073 if ( _n_dims( args(4) ) > 2 )
15074 {
15075 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15076 }
15077 temp7 = args(4).matrix_value();
15078 arg7 = &temp7( 0, 0 );
15079 Xlen = (PLINT) ( _dim( args(4), 0 ) );
15080 Ylen = (PLINT) ( _dim( args(4), 1 ) );
15081 }
15082 my_plvect2((double const *)arg1,(double const *)arg2,arg3,arg4,arg5,(double const *)arg6,(double const *)arg7);
15083 _outv = octave_value();
15084 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15085 {
15086
15087 }
15088 {
15089
15090 }
15091 {
15092
15093 }
15094 {
15095
15096 }
15097 return _out;
15098 fail:
15099 {
15100
15101 }
15102 {
15103
15104 }
15105 {
15106
15107 }
15108 {
15109
15110 }
15111 return octave_value_list();
15112 }
15113 catch(...) {
15114 {
15115
15116 }
15117 {
15118
15119 }
15120 {
15121
15122 }
15123 {
15124
15125 }
15126 throw;
15127 }
15128}
15129
15130
15131SWIG_DEFUN( pplimage, _wrap_pplimage, std::string() ) {
15132 PLFLT *arg1 = 0 ;
15133 PLINT arg2 ;
15134 PLINT arg3 ;
15135 PLFLT arg4 ;
15136 PLFLT arg5 ;
15137 PLFLT arg6 ;
15138 PLFLT arg7 ;
15139 PLFLT arg8 ;
15140 PLFLT arg9 ;
15141 PLFLT arg10 ;
15142 PLFLT arg11 ;
15143 PLFLT arg12 ;
15144 PLFLT arg13 ;
15145 Matrix temp1 ;
15146 double val4 ;
15147 int ecode4 = 0 ;
15148 double val5 ;
15149 int ecode5 = 0 ;
15150 double val6 ;
15151 int ecode6 = 0 ;
15152 double val7 ;
15153 int ecode7 = 0 ;
15154 double val8 ;
15155 int ecode8 = 0 ;
15156 double val9 ;
15157 int ecode9 = 0 ;
15158 double val10 ;
15159 int ecode10 = 0 ;
15160 double val11 ;
15161 int ecode11 = 0 ;
15162 double val12 ;
15163 int ecode12 = 0 ;
15164 double val13 ;
15165 int ecode13 = 0 ;
15166 octave_value_list _out;
15167 octave_value_list *_outp=&_out;
15168 octave_value _outv;
15169
15170 try {
15171 if (!SWIG_check_num_args("pplimage",args.length(),11,11,0)) {
15172 SWIG_fail;
15173 }
15174 {
15175 if ( _n_dims( args(0) ) > 2 )
15176 {
15177 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15178 }
15179 temp1 = args(0).matrix_value();
15180 arg1 = &temp1( 0, 0 );
15181 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
15182 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
15183 }
15184 ecode4 = SWIG_AsVal_double(args(1), &val4);
15185 if (!SWIG_IsOK(ecode4)) {
15186 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pplimage" "', argument " "4"" of type '" "PLFLT""'");
15187 }
15188 arg4 = static_cast< PLFLT >(val4);
15189 ecode5 = SWIG_AsVal_double(args(2), &val5);
15190 if (!SWIG_IsOK(ecode5)) {
15191 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pplimage" "', argument " "5"" of type '" "PLFLT""'");
15192 }
15193 arg5 = static_cast< PLFLT >(val5);
15194 ecode6 = SWIG_AsVal_double(args(3), &val6);
15195 if (!SWIG_IsOK(ecode6)) {
15196 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "pplimage" "', argument " "6"" of type '" "PLFLT""'");
15197 }
15198 arg6 = static_cast< PLFLT >(val6);
15199 ecode7 = SWIG_AsVal_double(args(4), &val7);
15200 if (!SWIG_IsOK(ecode7)) {
15201 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "pplimage" "', argument " "7"" of type '" "PLFLT""'");
15202 }
15203 arg7 = static_cast< PLFLT >(val7);
15204 ecode8 = SWIG_AsVal_double(args(5), &val8);
15205 if (!SWIG_IsOK(ecode8)) {
15206 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "pplimage" "', argument " "8"" of type '" "PLFLT""'");
15207 }
15208 arg8 = static_cast< PLFLT >(val8);
15209 ecode9 = SWIG_AsVal_double(args(6), &val9);
15210 if (!SWIG_IsOK(ecode9)) {
15211 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "pplimage" "', argument " "9"" of type '" "PLFLT""'");
15212 }
15213 arg9 = static_cast< PLFLT >(val9);
15214 ecode10 = SWIG_AsVal_double(args(7), &val10);
15215 if (!SWIG_IsOK(ecode10)) {
15216 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "pplimage" "', argument " "10"" of type '" "PLFLT""'");
15217 }
15218 arg10 = static_cast< PLFLT >(val10);
15219 ecode11 = SWIG_AsVal_double(args(8), &val11);
15220 if (!SWIG_IsOK(ecode11)) {
15221 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "pplimage" "', argument " "11"" of type '" "PLFLT""'");
15222 }
15223 arg11 = static_cast< PLFLT >(val11);
15224 ecode12 = SWIG_AsVal_double(args(9), &val12);
15225 if (!SWIG_IsOK(ecode12)) {
15226 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "pplimage" "', argument " "12"" of type '" "PLFLT""'");
15227 }
15228 arg12 = static_cast< PLFLT >(val12);
15229 ecode13 = SWIG_AsVal_double(args(10), &val13);
15230 if (!SWIG_IsOK(ecode13)) {
15231 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "pplimage" "', argument " "13"" of type '" "PLFLT""'");
15232 }
15233 arg13 = static_cast< PLFLT >(val13);
15234 my_plimage((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
15235 _outv = octave_value();
15236 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15237 {
15238
15239 }
15240 return _out;
15241 fail:
15242 {
15243
15244 }
15245 return octave_value_list();
15246 }
15247 catch(...) {
15248 {
15249
15250 }
15251 throw;
15252 }
15253}
15254
15255
15257 PLFLT *arg1 = 0 ;
15258 PLINT arg2 ;
15259 PLINT arg3 ;
15260 PLFLT arg4 ;
15261 PLFLT arg5 ;
15262 PLFLT arg6 ;
15263 PLFLT arg7 ;
15264 PLFLT arg8 ;
15265 PLFLT arg9 ;
15266 PLFLT arg10 ;
15267 PLFLT arg11 ;
15268 Matrix temp1 ;
15269 double val4 ;
15270 int ecode4 = 0 ;
15271 double val5 ;
15272 int ecode5 = 0 ;
15273 double val6 ;
15274 int ecode6 = 0 ;
15275 double val7 ;
15276 int ecode7 = 0 ;
15277 double val8 ;
15278 int ecode8 = 0 ;
15279 double val9 ;
15280 int ecode9 = 0 ;
15281 double val10 ;
15282 int ecode10 = 0 ;
15283 double val11 ;
15284 int ecode11 = 0 ;
15285 octave_value_list _out;
15286 octave_value_list *_outp=&_out;
15287 octave_value _outv;
15288
15289 try {
15290 if (!SWIG_check_num_args("plimagefr",args.length(),9,9,0)) {
15291 SWIG_fail;
15292 }
15293 {
15294 if ( _n_dims( args(0) ) > 2 )
15295 {
15296 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15297 }
15298 temp1 = args(0).matrix_value();
15299 arg1 = &temp1( 0, 0 );
15300 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
15301 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
15302 }
15303 ecode4 = SWIG_AsVal_double(args(1), &val4);
15304 if (!SWIG_IsOK(ecode4)) {
15305 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plimagefr" "', argument " "4"" of type '" "PLFLT""'");
15306 }
15307 arg4 = static_cast< PLFLT >(val4);
15308 ecode5 = SWIG_AsVal_double(args(2), &val5);
15309 if (!SWIG_IsOK(ecode5)) {
15310 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plimagefr" "', argument " "5"" of type '" "PLFLT""'");
15311 }
15312 arg5 = static_cast< PLFLT >(val5);
15313 ecode6 = SWIG_AsVal_double(args(3), &val6);
15314 if (!SWIG_IsOK(ecode6)) {
15315 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plimagefr" "', argument " "6"" of type '" "PLFLT""'");
15316 }
15317 arg6 = static_cast< PLFLT >(val6);
15318 ecode7 = SWIG_AsVal_double(args(4), &val7);
15319 if (!SWIG_IsOK(ecode7)) {
15320 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plimagefr" "', argument " "7"" of type '" "PLFLT""'");
15321 }
15322 arg7 = static_cast< PLFLT >(val7);
15323 ecode8 = SWIG_AsVal_double(args(5), &val8);
15324 if (!SWIG_IsOK(ecode8)) {
15325 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plimagefr" "', argument " "8"" of type '" "PLFLT""'");
15326 }
15327 arg8 = static_cast< PLFLT >(val8);
15328 ecode9 = SWIG_AsVal_double(args(6), &val9);
15329 if (!SWIG_IsOK(ecode9)) {
15330 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plimagefr" "', argument " "9"" of type '" "PLFLT""'");
15331 }
15332 arg9 = static_cast< PLFLT >(val9);
15333 ecode10 = SWIG_AsVal_double(args(7), &val10);
15334 if (!SWIG_IsOK(ecode10)) {
15335 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plimagefr" "', argument " "10"" of type '" "PLFLT""'");
15336 }
15337 arg10 = static_cast< PLFLT >(val10);
15338 ecode11 = SWIG_AsVal_double(args(8), &val11);
15339 if (!SWIG_IsOK(ecode11)) {
15340 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plimagefr" "', argument " "11"" of type '" "PLFLT""'");
15341 }
15342 arg11 = static_cast< PLFLT >(val11);
15343 my_plimagefr((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
15344 _outv = octave_value();
15345 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15346 {
15347
15348 }
15349 return _out;
15350 fail:
15351 {
15352
15353 }
15354 return octave_value_list();
15355 }
15356 catch(...) {
15357 {
15358
15359 }
15360 throw;
15361 }
15362}
15363
15364
15365SWIG_DEFUN( plimagefrx, _wrap_plimagefrx, std::string() ) {
15366 PLFLT *arg1 = 0 ;
15367 PLINT arg2 ;
15368 PLINT arg3 ;
15369 PLFLT arg4 ;
15370 PLFLT arg5 ;
15371 PLFLT arg6 ;
15372 PLFLT arg7 ;
15373 PLFLT arg8 ;
15374 PLFLT arg9 ;
15375 PLFLT arg10 ;
15376 PLFLT arg11 ;
15377 PLFLT *arg12 = 0 ;
15378 Matrix temp1 ;
15379 double val4 ;
15380 int ecode4 = 0 ;
15381 double val5 ;
15382 int ecode5 = 0 ;
15383 double val6 ;
15384 int ecode6 = 0 ;
15385 double val7 ;
15386 int ecode7 = 0 ;
15387 double val8 ;
15388 int ecode8 = 0 ;
15389 double val9 ;
15390 int ecode9 = 0 ;
15391 double val10 ;
15392 int ecode10 = 0 ;
15393 double val11 ;
15394 int ecode11 = 0 ;
15395 Matrix temp12 ;
15396 octave_value_list _out;
15397 octave_value_list *_outp=&_out;
15398 octave_value _outv;
15399
15400 try {
15401 if (!SWIG_check_num_args("plimagefrx",args.length(),10,10,0)) {
15402 SWIG_fail;
15403 }
15404 {
15405 if ( _n_dims( args(0) ) > 2 )
15406 {
15407 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15408 }
15409 temp1 = args(0).matrix_value();
15410 arg1 = &temp1( 0, 0 );
15411 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
15412 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
15413 }
15414 ecode4 = SWIG_AsVal_double(args(1), &val4);
15415 if (!SWIG_IsOK(ecode4)) {
15416 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plimagefrx" "', argument " "4"" of type '" "PLFLT""'");
15417 }
15418 arg4 = static_cast< PLFLT >(val4);
15419 ecode5 = SWIG_AsVal_double(args(2), &val5);
15420 if (!SWIG_IsOK(ecode5)) {
15421 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plimagefrx" "', argument " "5"" of type '" "PLFLT""'");
15422 }
15423 arg5 = static_cast< PLFLT >(val5);
15424 ecode6 = SWIG_AsVal_double(args(3), &val6);
15425 if (!SWIG_IsOK(ecode6)) {
15426 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plimagefrx" "', argument " "6"" of type '" "PLFLT""'");
15427 }
15428 arg6 = static_cast< PLFLT >(val6);
15429 ecode7 = SWIG_AsVal_double(args(4), &val7);
15430 if (!SWIG_IsOK(ecode7)) {
15431 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plimagefrx" "', argument " "7"" of type '" "PLFLT""'");
15432 }
15433 arg7 = static_cast< PLFLT >(val7);
15434 ecode8 = SWIG_AsVal_double(args(5), &val8);
15435 if (!SWIG_IsOK(ecode8)) {
15436 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plimagefrx" "', argument " "8"" of type '" "PLFLT""'");
15437 }
15438 arg8 = static_cast< PLFLT >(val8);
15439 ecode9 = SWIG_AsVal_double(args(6), &val9);
15440 if (!SWIG_IsOK(ecode9)) {
15441 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plimagefrx" "', argument " "9"" of type '" "PLFLT""'");
15442 }
15443 arg9 = static_cast< PLFLT >(val9);
15444 ecode10 = SWIG_AsVal_double(args(7), &val10);
15445 if (!SWIG_IsOK(ecode10)) {
15446 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plimagefrx" "', argument " "10"" of type '" "PLFLT""'");
15447 }
15448 arg10 = static_cast< PLFLT >(val10);
15449 ecode11 = SWIG_AsVal_double(args(8), &val11);
15450 if (!SWIG_IsOK(ecode11)) {
15451 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plimagefrx" "', argument " "11"" of type '" "PLFLT""'");
15452 }
15453 arg11 = static_cast< PLFLT >(val11);
15454 {
15455 if ( _n_dims( args(9) ) > 1 )
15456 {
15457 error( "argument must be a scalar or vector" ); SWIG_fail;
15458 }
15459 if ( _dim( args(9), 0 ) != 6 )
15460 {
15461 error( "argument vectors must have length of 6" ); SWIG_fail;
15462 }
15463 temp12 = args(9).matrix_value();
15464 arg12 = &temp12( 0, 0 );
15465 }
15466 my_plimagefrx((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
15467 _outv = octave_value();
15468 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15469 {
15470
15471 }
15472 {
15473
15474 }
15475 return _out;
15476 fail:
15477 {
15478
15479 }
15480 {
15481
15482 }
15483 return octave_value_list();
15484 }
15485 catch(...) {
15486 {
15487
15488 }
15489 {
15490
15491 }
15492 throw;
15493 }
15494}
15495
15496
15497SWIG_DEFUN( plimagefr1, _wrap_plimagefr1, std::string() ) {
15498 PLFLT *arg1 = 0 ;
15499 PLINT arg2 ;
15500 PLINT arg3 ;
15501 PLFLT arg4 ;
15502 PLFLT arg5 ;
15503 PLFLT arg6 ;
15504 PLFLT arg7 ;
15505 PLFLT arg8 ;
15506 PLFLT arg9 ;
15507 PLFLT arg10 ;
15508 PLFLT arg11 ;
15509 PLFLT *arg12 = 0 ;
15510 PLFLT *arg13 = 0 ;
15511 Matrix temp1 ;
15512 double val4 ;
15513 int ecode4 = 0 ;
15514 double val5 ;
15515 int ecode5 = 0 ;
15516 double val6 ;
15517 int ecode6 = 0 ;
15518 double val7 ;
15519 int ecode7 = 0 ;
15520 double val8 ;
15521 int ecode8 = 0 ;
15522 double val9 ;
15523 int ecode9 = 0 ;
15524 double val10 ;
15525 int ecode10 = 0 ;
15526 double val11 ;
15527 int ecode11 = 0 ;
15528 Matrix temp12 ;
15529 Matrix temp13 ;
15530 octave_value_list _out;
15531 octave_value_list *_outp=&_out;
15532 octave_value _outv;
15533
15534 try {
15535 if (!SWIG_check_num_args("plimagefr1",args.length(),11,11,0)) {
15536 SWIG_fail;
15537 }
15538 {
15539 if ( _n_dims( args(0) ) > 2 )
15540 {
15541 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15542 }
15543 temp1 = args(0).matrix_value();
15544 arg1 = &temp1( 0, 0 );
15545 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
15546 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
15547 }
15548 ecode4 = SWIG_AsVal_double(args(1), &val4);
15549 if (!SWIG_IsOK(ecode4)) {
15550 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plimagefr1" "', argument " "4"" of type '" "PLFLT""'");
15551 }
15552 arg4 = static_cast< PLFLT >(val4);
15553 ecode5 = SWIG_AsVal_double(args(2), &val5);
15554 if (!SWIG_IsOK(ecode5)) {
15555 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plimagefr1" "', argument " "5"" of type '" "PLFLT""'");
15556 }
15557 arg5 = static_cast< PLFLT >(val5);
15558 ecode6 = SWIG_AsVal_double(args(3), &val6);
15559 if (!SWIG_IsOK(ecode6)) {
15560 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plimagefr1" "', argument " "6"" of type '" "PLFLT""'");
15561 }
15562 arg6 = static_cast< PLFLT >(val6);
15563 ecode7 = SWIG_AsVal_double(args(4), &val7);
15564 if (!SWIG_IsOK(ecode7)) {
15565 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plimagefr1" "', argument " "7"" of type '" "PLFLT""'");
15566 }
15567 arg7 = static_cast< PLFLT >(val7);
15568 ecode8 = SWIG_AsVal_double(args(5), &val8);
15569 if (!SWIG_IsOK(ecode8)) {
15570 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plimagefr1" "', argument " "8"" of type '" "PLFLT""'");
15571 }
15572 arg8 = static_cast< PLFLT >(val8);
15573 ecode9 = SWIG_AsVal_double(args(6), &val9);
15574 if (!SWIG_IsOK(ecode9)) {
15575 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plimagefr1" "', argument " "9"" of type '" "PLFLT""'");
15576 }
15577 arg9 = static_cast< PLFLT >(val9);
15578 ecode10 = SWIG_AsVal_double(args(7), &val10);
15579 if (!SWIG_IsOK(ecode10)) {
15580 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plimagefr1" "', argument " "10"" of type '" "PLFLT""'");
15581 }
15582 arg10 = static_cast< PLFLT >(val10);
15583 ecode11 = SWIG_AsVal_double(args(8), &val11);
15584 if (!SWIG_IsOK(ecode11)) {
15585 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plimagefr1" "', argument " "11"" of type '" "PLFLT""'");
15586 }
15587 arg11 = static_cast< PLFLT >(val11);
15588 {
15589 if ( _n_dims( args(9) ) > 1 )
15590 {
15591 error( "argument must be a scalar or vector" ); SWIG_fail;
15592 }
15593 if ( _dim( args(9), 0 ) != Xlen )
15594 {
15595 error( "argument vectors must be same length" ); SWIG_fail;
15596 }
15597 temp12 = args(9).matrix_value();
15598 arg12 = &temp12( 0, 0 );
15599 }
15600 {
15601 if ( _n_dims( args(10) ) > 1 )
15602 {
15603 error( "argument must be a scalar or vector" ); SWIG_fail;
15604 }
15605 if ( _dim( args(10), 0 ) != Ylen )
15606 {
15607 error( "argument vectors must be same length" ); SWIG_fail;
15608 }
15609 temp13 = args(10).matrix_value();
15610 arg13 = &temp13( 0, 0 );
15611 }
15612 my_plimagefr1((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,(double const *)arg12,(double const *)arg13);
15613 _outv = octave_value();
15614 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15615 {
15616
15617 }
15618 {
15619
15620 }
15621 {
15622
15623 }
15624 return _out;
15625 fail:
15626 {
15627
15628 }
15629 {
15630
15631 }
15632 {
15633
15634 }
15635 return octave_value_list();
15636 }
15637 catch(...) {
15638 {
15639
15640 }
15641 {
15642
15643 }
15644 {
15645
15646 }
15647 throw;
15648 }
15649}
15650
15651
15652SWIG_DEFUN( plimagefr2, _wrap_plimagefr2, std::string() ) {
15653 PLFLT *arg1 = 0 ;
15654 PLINT arg2 ;
15655 PLINT arg3 ;
15656 PLFLT arg4 ;
15657 PLFLT arg5 ;
15658 PLFLT arg6 ;
15659 PLFLT arg7 ;
15660 PLFLT arg8 ;
15661 PLFLT arg9 ;
15662 PLFLT arg10 ;
15663 PLFLT arg11 ;
15664 PLFLT *arg12 = 0 ;
15665 PLFLT *arg13 = 0 ;
15666 Matrix temp1 ;
15667 double val4 ;
15668 int ecode4 = 0 ;
15669 double val5 ;
15670 int ecode5 = 0 ;
15671 double val6 ;
15672 int ecode6 = 0 ;
15673 double val7 ;
15674 int ecode7 = 0 ;
15675 double val8 ;
15676 int ecode8 = 0 ;
15677 double val9 ;
15678 int ecode9 = 0 ;
15679 double val10 ;
15680 int ecode10 = 0 ;
15681 double val11 ;
15682 int ecode11 = 0 ;
15683 Matrix temp12 ;
15684 Matrix temp13 ;
15685 octave_value_list _out;
15686 octave_value_list *_outp=&_out;
15687 octave_value _outv;
15688
15689 try {
15690 if (!SWIG_check_num_args("plimagefr2",args.length(),11,11,0)) {
15691 SWIG_fail;
15692 }
15693 {
15694 if ( _n_dims( args(0) ) > 2 )
15695 {
15696 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15697 }
15698 temp1 = args(0).matrix_value();
15699 arg1 = &temp1( 0, 0 );
15700 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
15701 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
15702 }
15703 ecode4 = SWIG_AsVal_double(args(1), &val4);
15704 if (!SWIG_IsOK(ecode4)) {
15705 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plimagefr2" "', argument " "4"" of type '" "PLFLT""'");
15706 }
15707 arg4 = static_cast< PLFLT >(val4);
15708 ecode5 = SWIG_AsVal_double(args(2), &val5);
15709 if (!SWIG_IsOK(ecode5)) {
15710 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plimagefr2" "', argument " "5"" of type '" "PLFLT""'");
15711 }
15712 arg5 = static_cast< PLFLT >(val5);
15713 ecode6 = SWIG_AsVal_double(args(3), &val6);
15714 if (!SWIG_IsOK(ecode6)) {
15715 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plimagefr2" "', argument " "6"" of type '" "PLFLT""'");
15716 }
15717 arg6 = static_cast< PLFLT >(val6);
15718 ecode7 = SWIG_AsVal_double(args(4), &val7);
15719 if (!SWIG_IsOK(ecode7)) {
15720 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plimagefr2" "', argument " "7"" of type '" "PLFLT""'");
15721 }
15722 arg7 = static_cast< PLFLT >(val7);
15723 ecode8 = SWIG_AsVal_double(args(5), &val8);
15724 if (!SWIG_IsOK(ecode8)) {
15725 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plimagefr2" "', argument " "8"" of type '" "PLFLT""'");
15726 }
15727 arg8 = static_cast< PLFLT >(val8);
15728 ecode9 = SWIG_AsVal_double(args(6), &val9);
15729 if (!SWIG_IsOK(ecode9)) {
15730 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plimagefr2" "', argument " "9"" of type '" "PLFLT""'");
15731 }
15732 arg9 = static_cast< PLFLT >(val9);
15733 ecode10 = SWIG_AsVal_double(args(7), &val10);
15734 if (!SWIG_IsOK(ecode10)) {
15735 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plimagefr2" "', argument " "10"" of type '" "PLFLT""'");
15736 }
15737 arg10 = static_cast< PLFLT >(val10);
15738 ecode11 = SWIG_AsVal_double(args(8), &val11);
15739 if (!SWIG_IsOK(ecode11)) {
15740 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plimagefr2" "', argument " "11"" of type '" "PLFLT""'");
15741 }
15742 arg11 = static_cast< PLFLT >(val11);
15743 {
15744 if ( _n_dims( args(9) ) > 2 )
15745 {
15746 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15747 }
15748 temp12 = args(9).matrix_value();
15749 arg12 = &temp12( 0, 0 );
15750 Xlen = (PLINT) ( _dim( args(9), 0 ) );
15751 Ylen = (PLINT) ( _dim( args(9), 1 ) );
15752 }
15753 {
15754 if ( _n_dims( args(10) ) > 2 )
15755 {
15756 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15757 }
15758 temp13 = args(10).matrix_value();
15759 arg13 = &temp13( 0, 0 );
15760 Xlen = (PLINT) ( _dim( args(10), 0 ) );
15761 Ylen = (PLINT) ( _dim( args(10), 1 ) );
15762 }
15763 my_plimagefr2((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,(double const *)arg12,(double const *)arg13);
15764 _outv = octave_value();
15765 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15766 {
15767
15768 }
15769 {
15770
15771 }
15772 {
15773
15774 }
15775 return _out;
15776 fail:
15777 {
15778
15779 }
15780 {
15781
15782 }
15783 {
15784
15785 }
15786 return octave_value_list();
15787 }
15788 catch(...) {
15789 {
15790
15791 }
15792 {
15793
15794 }
15795 {
15796
15797 }
15798 throw;
15799 }
15800}
15801
15802
15803SWIG_DEFUN( plcolorbar, _wrap_plcolorbar, _wrap_plcolorbar_texinfo ) {
15804 PLFLT *arg1 = 0 ;
15805 PLFLT *arg2 = 0 ;
15806 PLINT arg3 ;
15807 PLINT arg4 ;
15808 PLFLT arg5 ;
15809 PLFLT arg6 ;
15810 PLFLT arg7 ;
15811 PLFLT arg8 ;
15812 PLINT arg9 ;
15813 PLINT arg10 ;
15814 PLINT arg11 ;
15815 PLFLT arg12 ;
15816 PLFLT arg13 ;
15817 PLINT arg14 ;
15818 PLFLT arg15 ;
15819 PLINT arg16 ;
15820 PLINT *arg17 = 0 ;
15821 char **arg18 = 0 ;
15822 PLINT arg19 ;
15823 char **arg20 = 0 ;
15824 PLFLT *arg21 = 0 ;
15825 PLINT *arg22 = 0 ;
15826 PLINT *arg23 = 0 ;
15827 PLFLT *arg24 = 0 ;
15828 PLFLT temp1 ;
15829 int res1 = SWIG_TMPOBJ ;
15830 PLFLT temp2 ;
15831 int res2 = SWIG_TMPOBJ ;
15832 int val3 ;
15833 int ecode3 = 0 ;
15834 int val4 ;
15835 int ecode4 = 0 ;
15836 double val5 ;
15837 int ecode5 = 0 ;
15838 double val6 ;
15839 int ecode6 = 0 ;
15840 double val7 ;
15841 int ecode7 = 0 ;
15842 double val8 ;
15843 int ecode8 = 0 ;
15844 int val9 ;
15845 int ecode9 = 0 ;
15846 int val10 ;
15847 int ecode10 = 0 ;
15848 int val11 ;
15849 int ecode11 = 0 ;
15850 double val12 ;
15851 int ecode12 = 0 ;
15852 double val13 ;
15853 int ecode13 = 0 ;
15854 int val14 ;
15855 int ecode14 = 0 ;
15856 double val15 ;
15857 int ecode15 = 0 ;
15858 Matrix temp16 ;
15859 Matrix temp21 ;
15860 Matrix temp22 ;
15861 Matrix temp23 ;
15862 Matrix temp24 ;
15863 octave_value_list _out;
15864 octave_value_list *_outp=&_out;
15865 octave_value _outv;
15866
15867 try {
15868 arg1 = &temp1;
15869 arg2 = &temp2;
15870 if (!SWIG_check_num_args("plcolorbar",args.length(),20,20,0)) {
15871 SWIG_fail;
15872 }
15873 ecode3 = SWIG_AsVal_int(args(0), &val3);
15874 if (!SWIG_IsOK(ecode3)) {
15875 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plcolorbar" "', argument " "3"" of type '" "PLINT""'");
15876 }
15877 arg3 = static_cast< PLINT >(val3);
15878 ecode4 = SWIG_AsVal_int(args(1), &val4);
15879 if (!SWIG_IsOK(ecode4)) {
15880 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcolorbar" "', argument " "4"" of type '" "PLINT""'");
15881 }
15882 arg4 = static_cast< PLINT >(val4);
15883 ecode5 = SWIG_AsVal_double(args(2), &val5);
15884 if (!SWIG_IsOK(ecode5)) {
15885 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcolorbar" "', argument " "5"" of type '" "PLFLT""'");
15886 }
15887 arg5 = static_cast< PLFLT >(val5);
15888 ecode6 = SWIG_AsVal_double(args(3), &val6);
15889 if (!SWIG_IsOK(ecode6)) {
15890 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcolorbar" "', argument " "6"" of type '" "PLFLT""'");
15891 }
15892 arg6 = static_cast< PLFLT >(val6);
15893 ecode7 = SWIG_AsVal_double(args(4), &val7);
15894 if (!SWIG_IsOK(ecode7)) {
15895 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcolorbar" "', argument " "7"" of type '" "PLFLT""'");
15896 }
15897 arg7 = static_cast< PLFLT >(val7);
15898 ecode8 = SWIG_AsVal_double(args(5), &val8);
15899 if (!SWIG_IsOK(ecode8)) {
15900 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plcolorbar" "', argument " "8"" of type '" "PLFLT""'");
15901 }
15902 arg8 = static_cast< PLFLT >(val8);
15903 ecode9 = SWIG_AsVal_int(args(6), &val9);
15904 if (!SWIG_IsOK(ecode9)) {
15905 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plcolorbar" "', argument " "9"" of type '" "PLINT""'");
15906 }
15907 arg9 = static_cast< PLINT >(val9);
15908 ecode10 = SWIG_AsVal_int(args(7), &val10);
15909 if (!SWIG_IsOK(ecode10)) {
15910 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plcolorbar" "', argument " "10"" of type '" "PLINT""'");
15911 }
15912 arg10 = static_cast< PLINT >(val10);
15913 ecode11 = SWIG_AsVal_int(args(8), &val11);
15914 if (!SWIG_IsOK(ecode11)) {
15915 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plcolorbar" "', argument " "11"" of type '" "PLINT""'");
15916 }
15917 arg11 = static_cast< PLINT >(val11);
15918 ecode12 = SWIG_AsVal_double(args(9), &val12);
15919 if (!SWIG_IsOK(ecode12)) {
15920 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plcolorbar" "', argument " "12"" of type '" "PLFLT""'");
15921 }
15922 arg12 = static_cast< PLFLT >(val12);
15923 ecode13 = SWIG_AsVal_double(args(10), &val13);
15924 if (!SWIG_IsOK(ecode13)) {
15925 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plcolorbar" "', argument " "13"" of type '" "PLFLT""'");
15926 }
15927 arg13 = static_cast< PLFLT >(val13);
15928 ecode14 = SWIG_AsVal_int(args(11), &val14);
15929 if (!SWIG_IsOK(ecode14)) {
15930 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plcolorbar" "', argument " "14"" of type '" "PLINT""'");
15931 }
15932 arg14 = static_cast< PLINT >(val14);
15933 ecode15 = SWIG_AsVal_double(args(12), &val15);
15934 if (!SWIG_IsOK(ecode15)) {
15935 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plcolorbar" "', argument " "15"" of type '" "PLFLT""'");
15936 }
15937 arg15 = static_cast< PLFLT >(val15);
15938 {
15939 if ( _n_dims( args(13) ) > 1 )
15940 {
15941 error( "argument must be a scalar or vector" ); SWIG_fail;
15942 }
15943 arg16 = Alen = (PLINT) ( _dim( args(13), 0 ) );
15944 arg17 = new PLINT[Alen];
15945 temp16 = args(13).matrix_value();
15946 _cvt_double_to( arg17, &temp16( 0, 0 ), Alen );
15947 }
15948 {
15949 charMatrix temp_matrix;
15950 Cell temp_cell;
15951 char *tmp_cstring;
15952 std::string str;
15953 size_t max_length = 0, non_blank_length;
15954 int i, ifcell;
15955 if ( _n_dims( args(14) ) > 2 )
15956 {
15957 error( "argument must be a scalar or vector or matrix" ); SWIG_fail;
15958 }
15959#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
15960 if ( !args(14).isempty() )
15961#else
15962 if ( !args(14).is_empty() )
15963#endif
15964 {
15965 if ( _dim( args(14), 0 ) != Alen )
15966 {
15967 error( "first dimension must be same length as previous vector" ); SWIG_fail;
15968 }
15969 arg18 = new char*[Alen];
15970#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
15971 ifcell = args(14).iscell();
15972#else
15973 ifcell = args(14).is_cell();
15974#endif
15975 if ( ifcell )
15976 {
15977 temp_cell = args(14).cell_value();
15978 }
15979 else
15980 {
15981 temp_matrix = args(14).char_matrix_value();
15982 // Allow one extra space for null termination.
15983 max_length = _dim( args(14), 1 ) + 1;
15984 }
15985
15986 for ( i = 0; i < Alen; i++ )
15987 {
15988 // Must copy string to "permanent" location because the string
15989 // location corresponding to tmp_cstring gets
15990 // overwritten for each iteration of loop.
15991 if ( ifcell )
15992 {
15993 if ( temp_cell.elem( i ).is_string() )
15994 {
15995 str = temp_cell.elem( i ).string_value();
15996 // leave room for null termination.
15997 max_length = str.size() + 1;
15998 tmp_cstring = (char *) str.c_str();
15999 }
16000 else
16001 {
16002 // Use null string if user attempts to pass a cell array
16003 // with a non-string element (likely an empty element
16004 // since that should be allowed by the PLplot interface
16005 // if that element is going to be unused).
16006 // leave room for null termination.
16007 max_length = 1;
16008 tmp_cstring = (char *) "";
16009 }
16010 }
16011 else
16012 {
16013 str = temp_matrix.row_as_string( i );
16014 tmp_cstring = (char *) str.c_str();
16015 }
16016 arg18[i] = new char[max_length];
16017 strncpy( arg18[i], tmp_cstring, max_length - 1 );
16018 arg18[i][max_length - 1] = '\0';
16019 // All the trailing blank crapola should not be needed for
16020 // string cell arrays.
16021 if ( !ifcell )
16022 {
16023 // remove trailing-blank padding that is used by the
16024 // charMatrix class to insure all strings in a given
16025 // charMatrix instance have the same length.
16026 // This transformation also removes legitimate trailing
16027 // blanks but there is nothing we can do about that
16028 // for the charMatrix class.
16029
16030 // Look for trailing nulls first (just in case, although that
16031 // shouldn't happen if charMatrix implemented as documented)
16032 // before looking for trailing blanks.
16033 non_blank_length = max_length - 2;
16034 while ( non_blank_length >= 0 && arg18[i][non_blank_length] == '\0' )
16035 {
16036 non_blank_length--;
16037 }
16038 while ( non_blank_length >= 0 && arg18[i][non_blank_length] == ' ' )
16039 {
16040 non_blank_length--;
16041 }
16042 arg18[i][non_blank_length + 1] = '\0';
16043 }
16044 }
16045 }
16046 else
16047 {
16048 arg18 = NULL;
16049 }
16050 }
16051 {
16052 charMatrix temp_matrix;
16053 Cell temp_cell;
16054 char *tmp_cstring;
16055 std::string str;
16056 size_t max_length = 0, non_blank_length;
16057 int i, ifcell;
16058 if ( _n_dims( args(15) ) > 2 )
16059 {
16060 error( "argument must be a scalar or vector or matrix" ); SWIG_fail;
16061 }
16062#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
16063 if ( !args(15).isempty() )
16064#else
16065 if ( !args(15).is_empty() )
16066#endif
16067 {
16068 Alen = _dim( args(15), 0 );
16069 arg19 = Alen;
16070 arg20 = new char*[Alen];
16071#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
16072 ifcell = args(15).iscell();
16073#else
16074 ifcell = args(15).is_cell();
16075#endif
16076 if ( ifcell )
16077 {
16078 temp_cell = args(15).cell_value();
16079 }
16080 else
16081 {
16082 temp_matrix = args(15).char_matrix_value();
16083 // Allow one extra space for null termination.
16084 max_length = _dim( args(15), 1 ) + 1;
16085 }
16086
16087 for ( i = 0; i < Alen; i++ )
16088 {
16089 // Must copy string to "permanent" location because the string
16090 // location corresponding to tmp_cstring gets
16091 // overwritten for each iteration of loop.
16092 if ( ifcell )
16093 {
16094 if ( temp_cell.elem( i ).is_string() )
16095 {
16096 str = temp_cell.elem( i ).string_value();
16097 // leave room for null termination.
16098 max_length = str.size() + 1;
16099 tmp_cstring = (char *) str.c_str();
16100 }
16101 else
16102 {
16103 // Use null string if user attempts to pass a cell array
16104 // with a non-string element (likely an empty element
16105 // since that should be allowed by the PLplot interface
16106 // if that element is going to be unused).
16107 // leave room for null termination.
16108 max_length = 1;
16109 tmp_cstring = (char *) "";
16110 }
16111 }
16112 else
16113 {
16114 str = temp_matrix.row_as_string( i );
16115 tmp_cstring = (char *) str.c_str();
16116 }
16117 arg20[i] = new char[max_length];
16118 strncpy( arg20[i], tmp_cstring, max_length - 1 );
16119 arg20[i][max_length - 1] = '\0';
16120 // All the trailing blank crapola should not be needed for
16121 // string cell arrays.
16122 if ( !ifcell )
16123 {
16124 // remove trailing-blank padding that is used by the
16125 // charMatrix class to insure all strings in a given
16126 // charMatrix instance have the same length.
16127 // This transformation also removes legitimate trailing
16128 // blanks but there is nothing we can do about that
16129 // for the charMatrix class.
16130
16131 // Look for trailing nulls first (just in case, although that
16132 // shouldn't happen if charMatrix implemented as documented)
16133 // before looking for trailing blanks.
16134 non_blank_length = max_length - 2;
16135 while ( non_blank_length >= 0 && arg20[i][non_blank_length] == '\0' )
16136 {
16137 non_blank_length--;
16138 }
16139 while ( non_blank_length >= 0 && arg20[i][non_blank_length] == ' ' )
16140 {
16141 non_blank_length--;
16142 }
16143 arg20[i][non_blank_length + 1] = '\0';
16144 }
16145 }
16146 }
16147 else
16148 {
16149 arg19 = 0;
16150 arg20 = NULL;
16151 }
16152 }
16153 {
16154 if ( _n_dims( args(16) ) > 1 )
16155 {
16156 error( "argument must be a scalar or vector" ); SWIG_fail;
16157 }
16158 if ( _dim( args(16), 0 ) != Alen )
16159 {
16160 error( "argument vectors must be same length" ); SWIG_fail;
16161 }
16162 temp21 = args(16).matrix_value();
16163 arg21 = &temp21( 0, 0 );
16164 }
16165 {
16166 if ( _n_dims( args(17) ) > 1 )
16167 {
16168 error( "argument must be a scalar or vector" ); SWIG_fail;
16169 }
16170 if ( _dim( args(17), 0 ) != Alen )
16171 {
16172 error( "argument vectors must be same length" ); SWIG_fail;
16173 }
16174 temp22 = args(17).matrix_value();
16175 arg22 = new PLINT[Alen];
16176 _cvt_double_to( arg22, &temp22( 0, 0 ), Alen );
16177 }
16178 {
16179 int i;
16180 if ( _n_dims( args(18) ) > 1 )
16181 {
16182 error( "argument must be a scalar or vector" ); SWIG_fail;
16183 }
16184 if ( _dim( args(18), 0 ) != Alen )
16185 {
16186 error( "argument vectors must be same length" ); SWIG_fail;
16187 }
16188 Xlen = Alen;
16189 temp23 = args(18).matrix_value();
16190 arg23 = new PLINT[Alen];
16191 _cvt_double_to( arg23, &temp23( 0, 0 ), Alen );
16192 Ylen = -1;
16193 for ( i = 0; i < Xlen; i++ )
16194 if ( arg23[i] > Ylen )
16195 Ylen = arg23[i];
16196 }
16197 {
16198 if ( _n_dims( args(19) ) > 2 )
16199 {
16200 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
16201 }
16202 if ( _dim( args(19), 0 ) != Xlen )
16203 {
16204 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
16205 }
16206 if ( _dim( args(19), 1 ) != Ylen )
16207 {
16208 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
16209 }
16210 temp24 = args(19).matrix_value();
16211 arg24 = &temp24( 0, 0 );
16212 }
16213 my_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);
16214 _outv = octave_value();
16215 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16216 if (SWIG_IsTmpObj(res1)) {
16217 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
16218 } else {
16219 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
16220 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
16221 }
16222 if (SWIG_IsTmpObj(res2)) {
16223 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
16224 } else {
16225 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
16226 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
16227 }
16228 {
16229 delete [] arg17;
16230 }
16231 {
16232 int i;
16233 if ( arg18 != NULL )
16234 {
16235 for ( i = 0; i < Alen; i++ )
16236 {
16237 delete[] arg18[i];
16238 }
16239 delete[] arg18;
16240 }
16241 }
16242 {
16243 int i;
16244 if ( arg20 != NULL )
16245 {
16246 for ( i = 0; i < Alen; i++ )
16247 {
16248 delete[] arg20[i];
16249 }
16250 delete[] arg20;
16251 }
16252 }
16253 {
16254
16255 }
16256 {
16257 delete [] arg22;
16258 }
16259 {
16260 delete [] arg23;
16261 }
16262 {
16263
16264 }
16265 return _out;
16266 fail:
16267 {
16268 delete [] arg17;
16269 }
16270 {
16271 int i;
16272 if ( arg18 != NULL )
16273 {
16274 for ( i = 0; i < Alen; i++ )
16275 {
16276 delete[] arg18[i];
16277 }
16278 delete[] arg18;
16279 }
16280 }
16281 {
16282 int i;
16283 if ( arg20 != NULL )
16284 {
16285 for ( i = 0; i < Alen; i++ )
16286 {
16287 delete[] arg20[i];
16288 }
16289 delete[] arg20;
16290 }
16291 }
16292 {
16293
16294 }
16295 {
16296 delete [] arg22;
16297 }
16298 {
16299 delete [] arg23;
16300 }
16301 {
16302
16303 }
16304 return octave_value_list();
16305 }
16306 catch(...) {
16307 {
16308 delete [] arg17;
16309 }
16310 {
16311 int i;
16312 if ( arg18 != NULL )
16313 {
16314 for ( i = 0; i < Alen; i++ )
16315 {
16316 delete[] arg18[i];
16317 }
16318 delete[] arg18;
16319 }
16320 }
16321 {
16322 int i;
16323 if ( arg20 != NULL )
16324 {
16325 for ( i = 0; i < Alen; i++ )
16326 {
16327 delete[] arg20[i];
16328 }
16329 delete[] arg20;
16330 }
16331 }
16332 {
16333
16334 }
16335 {
16336 delete [] arg22;
16337 }
16338 {
16339 delete [] arg23;
16340 }
16341 {
16342
16343 }
16344 throw;
16345 }
16346}
16347
16348
16349SWIG_DEFUN( PLGraphicsIn_type_set, _wrap_PLGraphicsIn_type_set, std::string() ) {
16350 PLGraphicsIn *arg1 = 0 ;
16351 int arg2 ;
16352 void *argp1 = 0 ;
16353 int res1 = 0 ;
16354 int val2 ;
16355 int ecode2 = 0 ;
16356 octave_value_list _out;
16357 octave_value_list *_outp=&_out;
16358 octave_value _outv;
16359
16360 try {
16361 if (!SWIG_check_num_args("PLGraphicsIn_type_set",args.length(),2,2,0)) {
16362 SWIG_fail;
16363 }
16364 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16365 if (!SWIG_IsOK(res1)) {
16366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_type_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16367 }
16368 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16369 ecode2 = SWIG_AsVal_int(args(1), &val2);
16370 if (!SWIG_IsOK(ecode2)) {
16371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_type_set" "', argument " "2"" of type '" "int""'");
16372 }
16373 arg2 = static_cast< int >(val2);
16374 if (arg1) (arg1)->type = arg2;
16375 _outv = octave_value();
16376 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16377 return _out;
16378 fail:
16379 return octave_value_list();
16380 }
16381 catch(...) {
16382 throw;
16383 }
16384}
16385
16386
16387SWIG_DEFUN( PLGraphicsIn_type_get, _wrap_PLGraphicsIn_type_get, std::string() ) {
16388 PLGraphicsIn *arg1 = 0 ;
16389 void *argp1 = 0 ;
16390 int res1 = 0 ;
16391 octave_value_list _out;
16392 octave_value_list *_outp=&_out;
16393 octave_value _outv;
16394 int result;
16395
16396 try {
16397 if (!SWIG_check_num_args("PLGraphicsIn_type_get",args.length(),1,1,0)) {
16398 SWIG_fail;
16399 }
16400 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16401 if (!SWIG_IsOK(res1)) {
16402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_type_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16403 }
16404 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16405 result = (int) ((arg1)->type);
16406 _outv = SWIG_From_int(static_cast< int >(result));
16407 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16408 return _out;
16409 fail:
16410 return octave_value_list();
16411 }
16412 catch(...) {
16413 throw;
16414 }
16415}
16416
16417
16418SWIG_DEFUN( PLGraphicsIn_state_set, _wrap_PLGraphicsIn_state_set, std::string() ) {
16419 PLGraphicsIn *arg1 = 0 ;
16420 unsigned int arg2 ;
16421 void *argp1 = 0 ;
16422 int res1 = 0 ;
16423 unsigned int val2 ;
16424 int ecode2 = 0 ;
16425 octave_value_list _out;
16426 octave_value_list *_outp=&_out;
16427 octave_value _outv;
16428
16429 try {
16430 if (!SWIG_check_num_args("PLGraphicsIn_state_set",args.length(),2,2,0)) {
16431 SWIG_fail;
16432 }
16433 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16434 if (!SWIG_IsOK(res1)) {
16435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_state_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16436 }
16437 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16438 ecode2 = SWIG_AsVal_unsigned_SS_int(args(1), &val2);
16439 if (!SWIG_IsOK(ecode2)) {
16440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_state_set" "', argument " "2"" of type '" "unsigned int""'");
16441 }
16442 arg2 = static_cast< unsigned int >(val2);
16443 if (arg1) (arg1)->state = arg2;
16444 _outv = octave_value();
16445 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16446 return _out;
16447 fail:
16448 return octave_value_list();
16449 }
16450 catch(...) {
16451 throw;
16452 }
16453}
16454
16455
16456SWIG_DEFUN( PLGraphicsIn_state_get, _wrap_PLGraphicsIn_state_get, std::string() ) {
16457 PLGraphicsIn *arg1 = 0 ;
16458 void *argp1 = 0 ;
16459 int res1 = 0 ;
16460 octave_value_list _out;
16461 octave_value_list *_outp=&_out;
16462 octave_value _outv;
16463 unsigned int result;
16464
16465 try {
16466 if (!SWIG_check_num_args("PLGraphicsIn_state_get",args.length(),1,1,0)) {
16467 SWIG_fail;
16468 }
16469 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16470 if (!SWIG_IsOK(res1)) {
16471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_state_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16472 }
16473 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16474 result = (unsigned int) ((arg1)->state);
16475 _outv = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
16476 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16477 return _out;
16478 fail:
16479 return octave_value_list();
16480 }
16481 catch(...) {
16482 throw;
16483 }
16484}
16485
16486
16487SWIG_DEFUN( PLGraphicsIn_keysym_set, _wrap_PLGraphicsIn_keysym_set, std::string() ) {
16488 PLGraphicsIn *arg1 = 0 ;
16489 unsigned int arg2 ;
16490 void *argp1 = 0 ;
16491 int res1 = 0 ;
16492 unsigned int val2 ;
16493 int ecode2 = 0 ;
16494 octave_value_list _out;
16495 octave_value_list *_outp=&_out;
16496 octave_value _outv;
16497
16498 try {
16499 if (!SWIG_check_num_args("PLGraphicsIn_keysym_set",args.length(),2,2,0)) {
16500 SWIG_fail;
16501 }
16502 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16503 if (!SWIG_IsOK(res1)) {
16504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_keysym_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16505 }
16506 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16507 ecode2 = SWIG_AsVal_unsigned_SS_int(args(1), &val2);
16508 if (!SWIG_IsOK(ecode2)) {
16509 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_keysym_set" "', argument " "2"" of type '" "unsigned int""'");
16510 }
16511 arg2 = static_cast< unsigned int >(val2);
16512 if (arg1) (arg1)->keysym = arg2;
16513 _outv = octave_value();
16514 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16515 return _out;
16516 fail:
16517 return octave_value_list();
16518 }
16519 catch(...) {
16520 throw;
16521 }
16522}
16523
16524
16525SWIG_DEFUN( PLGraphicsIn_keysym_get, _wrap_PLGraphicsIn_keysym_get, std::string() ) {
16526 PLGraphicsIn *arg1 = 0 ;
16527 void *argp1 = 0 ;
16528 int res1 = 0 ;
16529 octave_value_list _out;
16530 octave_value_list *_outp=&_out;
16531 octave_value _outv;
16532 unsigned int result;
16533
16534 try {
16535 if (!SWIG_check_num_args("PLGraphicsIn_keysym_get",args.length(),1,1,0)) {
16536 SWIG_fail;
16537 }
16538 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16539 if (!SWIG_IsOK(res1)) {
16540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_keysym_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16541 }
16542 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16543 result = (unsigned int) ((arg1)->keysym);
16544 _outv = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
16545 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16546 return _out;
16547 fail:
16548 return octave_value_list();
16549 }
16550 catch(...) {
16551 throw;
16552 }
16553}
16554
16555
16556SWIG_DEFUN( PLGraphicsIn_button_set, _wrap_PLGraphicsIn_button_set, std::string() ) {
16557 PLGraphicsIn *arg1 = 0 ;
16558 unsigned int arg2 ;
16559 void *argp1 = 0 ;
16560 int res1 = 0 ;
16561 unsigned int val2 ;
16562 int ecode2 = 0 ;
16563 octave_value_list _out;
16564 octave_value_list *_outp=&_out;
16565 octave_value _outv;
16566
16567 try {
16568 if (!SWIG_check_num_args("PLGraphicsIn_button_set",args.length(),2,2,0)) {
16569 SWIG_fail;
16570 }
16571 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16572 if (!SWIG_IsOK(res1)) {
16573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_button_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16574 }
16575 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16576 ecode2 = SWIG_AsVal_unsigned_SS_int(args(1), &val2);
16577 if (!SWIG_IsOK(ecode2)) {
16578 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_button_set" "', argument " "2"" of type '" "unsigned int""'");
16579 }
16580 arg2 = static_cast< unsigned int >(val2);
16581 if (arg1) (arg1)->button = arg2;
16582 _outv = octave_value();
16583 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16584 return _out;
16585 fail:
16586 return octave_value_list();
16587 }
16588 catch(...) {
16589 throw;
16590 }
16591}
16592
16593
16594SWIG_DEFUN( PLGraphicsIn_button_get, _wrap_PLGraphicsIn_button_get, std::string() ) {
16595 PLGraphicsIn *arg1 = 0 ;
16596 void *argp1 = 0 ;
16597 int res1 = 0 ;
16598 octave_value_list _out;
16599 octave_value_list *_outp=&_out;
16600 octave_value _outv;
16601 unsigned int result;
16602
16603 try {
16604 if (!SWIG_check_num_args("PLGraphicsIn_button_get",args.length(),1,1,0)) {
16605 SWIG_fail;
16606 }
16607 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16608 if (!SWIG_IsOK(res1)) {
16609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_button_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16610 }
16611 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16612 result = (unsigned int) ((arg1)->button);
16613 _outv = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
16614 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16615 return _out;
16616 fail:
16617 return octave_value_list();
16618 }
16619 catch(...) {
16620 throw;
16621 }
16622}
16623
16624
16625SWIG_DEFUN( PLGraphicsIn_subwindow_set, _wrap_PLGraphicsIn_subwindow_set, std::string() ) {
16626 PLGraphicsIn *arg1 = 0 ;
16627 PLINT arg2 ;
16628 void *argp1 = 0 ;
16629 int res1 = 0 ;
16630 int val2 ;
16631 int ecode2 = 0 ;
16632 octave_value_list _out;
16633 octave_value_list *_outp=&_out;
16634 octave_value _outv;
16635
16636 try {
16637 if (!SWIG_check_num_args("PLGraphicsIn_subwindow_set",args.length(),2,2,0)) {
16638 SWIG_fail;
16639 }
16640 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16641 if (!SWIG_IsOK(res1)) {
16642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_subwindow_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16643 }
16644 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16645 ecode2 = SWIG_AsVal_int(args(1), &val2);
16646 if (!SWIG_IsOK(ecode2)) {
16647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_subwindow_set" "', argument " "2"" of type '" "PLINT""'");
16648 }
16649 arg2 = static_cast< PLINT >(val2);
16650 if (arg1) (arg1)->subwindow = arg2;
16651 _outv = octave_value();
16652 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16653 return _out;
16654 fail:
16655 return octave_value_list();
16656 }
16657 catch(...) {
16658 throw;
16659 }
16660}
16661
16662
16663SWIG_DEFUN( PLGraphicsIn_subwindow_get, _wrap_PLGraphicsIn_subwindow_get, std::string() ) {
16664 PLGraphicsIn *arg1 = 0 ;
16665 void *argp1 = 0 ;
16666 int res1 = 0 ;
16667 octave_value_list _out;
16668 octave_value_list *_outp=&_out;
16669 octave_value _outv;
16670 PLINT result;
16671
16672 try {
16673 if (!SWIG_check_num_args("PLGraphicsIn_subwindow_get",args.length(),1,1,0)) {
16674 SWIG_fail;
16675 }
16676 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16677 if (!SWIG_IsOK(res1)) {
16678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_subwindow_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16679 }
16680 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16681 result = (PLINT) ((arg1)->subwindow);
16682 _outv = SWIG_From_int(static_cast< int >(result));
16683 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16684 return _out;
16685 fail:
16686 return octave_value_list();
16687 }
16688 catch(...) {
16689 throw;
16690 }
16691}
16692
16693
16694SWIG_DEFUN( PLGraphicsIn_string_set, _wrap_PLGraphicsIn_string_set, std::string() ) {
16695 PLGraphicsIn *arg1 = 0 ;
16696 char *arg2 = (char *)0 ;
16697 void *argp1 = 0 ;
16698 int res1 = 0 ;
16699 char temp2[16] ;
16700 int res2 ;
16701 octave_value_list _out;
16702 octave_value_list *_outp=&_out;
16703 octave_value _outv;
16704
16705 try {
16706 if (!SWIG_check_num_args("PLGraphicsIn_string_set",args.length(),2,2,0)) {
16707 SWIG_fail;
16708 }
16709 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16710 if (!SWIG_IsOK(res1)) {
16711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_string_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16712 }
16713 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16714 res2 = SWIG_AsCharArray(args(1), temp2, 16);
16715 if (!SWIG_IsOK(res2)) {
16716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PLGraphicsIn_string_set" "', argument " "2"" of type '" "char [16]""'");
16717 }
16718 arg2 = reinterpret_cast< char * >(temp2);
16719 if (arg2) memcpy(arg1->string,arg2,16*sizeof(char));
16720 else memset(arg1->string,0,16*sizeof(char));
16721 _outv = octave_value();
16722 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16723 return _out;
16724 fail:
16725 return octave_value_list();
16726 }
16727 catch(...) {
16728 throw;
16729 }
16730}
16731
16732
16733SWIG_DEFUN( PLGraphicsIn_string_get, _wrap_PLGraphicsIn_string_get, std::string() ) {
16734 PLGraphicsIn *arg1 = 0 ;
16735 void *argp1 = 0 ;
16736 int res1 = 0 ;
16737 octave_value_list _out;
16738 octave_value_list *_outp=&_out;
16739 octave_value _outv;
16740 char *result = 0 ;
16741
16742 try {
16743 if (!SWIG_check_num_args("PLGraphicsIn_string_get",args.length(),1,1,0)) {
16744 SWIG_fail;
16745 }
16746 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16747 if (!SWIG_IsOK(res1)) {
16748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_string_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16749 }
16750 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16751 result = (char *)(char *) ((arg1)->string);
16752 {
16753 size_t size = SWIG_strnlen(result, 16);
16754
16755
16756
16757 _outv = SWIG_FromCharPtrAndSize(result, size);
16758 }
16759 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16760 return _out;
16761 fail:
16762 return octave_value_list();
16763 }
16764 catch(...) {
16765 throw;
16766 }
16767}
16768
16769
16770SWIG_DEFUN( PLGraphicsIn_pX_set, _wrap_PLGraphicsIn_pX_set, std::string() ) {
16771 PLGraphicsIn *arg1 = 0 ;
16772 int arg2 ;
16773 void *argp1 = 0 ;
16774 int res1 = 0 ;
16775 int val2 ;
16776 int ecode2 = 0 ;
16777 octave_value_list _out;
16778 octave_value_list *_outp=&_out;
16779 octave_value _outv;
16780
16781 try {
16782 if (!SWIG_check_num_args("PLGraphicsIn_pX_set",args.length(),2,2,0)) {
16783 SWIG_fail;
16784 }
16785 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16786 if (!SWIG_IsOK(res1)) {
16787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pX_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16788 }
16789 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16790 ecode2 = SWIG_AsVal_int(args(1), &val2);
16791 if (!SWIG_IsOK(ecode2)) {
16792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_pX_set" "', argument " "2"" of type '" "int""'");
16793 }
16794 arg2 = static_cast< int >(val2);
16795 if (arg1) (arg1)->pX = arg2;
16796 _outv = octave_value();
16797 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16798 return _out;
16799 fail:
16800 return octave_value_list();
16801 }
16802 catch(...) {
16803 throw;
16804 }
16805}
16806
16807
16808SWIG_DEFUN( PLGraphicsIn_pX_get, _wrap_PLGraphicsIn_pX_get, std::string() ) {
16809 PLGraphicsIn *arg1 = 0 ;
16810 void *argp1 = 0 ;
16811 int res1 = 0 ;
16812 octave_value_list _out;
16813 octave_value_list *_outp=&_out;
16814 octave_value _outv;
16815 int result;
16816
16817 try {
16818 if (!SWIG_check_num_args("PLGraphicsIn_pX_get",args.length(),1,1,0)) {
16819 SWIG_fail;
16820 }
16821 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16822 if (!SWIG_IsOK(res1)) {
16823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pX_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16824 }
16825 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16826 result = (int) ((arg1)->pX);
16827 _outv = SWIG_From_int(static_cast< int >(result));
16828 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16829 return _out;
16830 fail:
16831 return octave_value_list();
16832 }
16833 catch(...) {
16834 throw;
16835 }
16836}
16837
16838
16839SWIG_DEFUN( PLGraphicsIn_pY_set, _wrap_PLGraphicsIn_pY_set, std::string() ) {
16840 PLGraphicsIn *arg1 = 0 ;
16841 int arg2 ;
16842 void *argp1 = 0 ;
16843 int res1 = 0 ;
16844 int val2 ;
16845 int ecode2 = 0 ;
16846 octave_value_list _out;
16847 octave_value_list *_outp=&_out;
16848 octave_value _outv;
16849
16850 try {
16851 if (!SWIG_check_num_args("PLGraphicsIn_pY_set",args.length(),2,2,0)) {
16852 SWIG_fail;
16853 }
16854 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16855 if (!SWIG_IsOK(res1)) {
16856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pY_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16857 }
16858 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16859 ecode2 = SWIG_AsVal_int(args(1), &val2);
16860 if (!SWIG_IsOK(ecode2)) {
16861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_pY_set" "', argument " "2"" of type '" "int""'");
16862 }
16863 arg2 = static_cast< int >(val2);
16864 if (arg1) (arg1)->pY = arg2;
16865 _outv = octave_value();
16866 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16867 return _out;
16868 fail:
16869 return octave_value_list();
16870 }
16871 catch(...) {
16872 throw;
16873 }
16874}
16875
16876
16877SWIG_DEFUN( PLGraphicsIn_pY_get, _wrap_PLGraphicsIn_pY_get, std::string() ) {
16878 PLGraphicsIn *arg1 = 0 ;
16879 void *argp1 = 0 ;
16880 int res1 = 0 ;
16881 octave_value_list _out;
16882 octave_value_list *_outp=&_out;
16883 octave_value _outv;
16884 int result;
16885
16886 try {
16887 if (!SWIG_check_num_args("PLGraphicsIn_pY_get",args.length(),1,1,0)) {
16888 SWIG_fail;
16889 }
16890 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16891 if (!SWIG_IsOK(res1)) {
16892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pY_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16893 }
16894 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16895 result = (int) ((arg1)->pY);
16896 _outv = SWIG_From_int(static_cast< int >(result));
16897 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16898 return _out;
16899 fail:
16900 return octave_value_list();
16901 }
16902 catch(...) {
16903 throw;
16904 }
16905}
16906
16907
16908SWIG_DEFUN( PLGraphicsIn_dX_set, _wrap_PLGraphicsIn_dX_set, std::string() ) {
16909 PLGraphicsIn *arg1 = 0 ;
16910 PLFLT arg2 ;
16911 void *argp1 = 0 ;
16912 int res1 = 0 ;
16913 double val2 ;
16914 int ecode2 = 0 ;
16915 octave_value_list _out;
16916 octave_value_list *_outp=&_out;
16917 octave_value _outv;
16918
16919 try {
16920 if (!SWIG_check_num_args("PLGraphicsIn_dX_set",args.length(),2,2,0)) {
16921 SWIG_fail;
16922 }
16923 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16924 if (!SWIG_IsOK(res1)) {
16925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dX_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16926 }
16927 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16928 ecode2 = SWIG_AsVal_double(args(1), &val2);
16929 if (!SWIG_IsOK(ecode2)) {
16930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_dX_set" "', argument " "2"" of type '" "PLFLT""'");
16931 }
16932 arg2 = static_cast< PLFLT >(val2);
16933 if (arg1) (arg1)->dX = arg2;
16934 _outv = octave_value();
16935 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16936 return _out;
16937 fail:
16938 return octave_value_list();
16939 }
16940 catch(...) {
16941 throw;
16942 }
16943}
16944
16945
16946SWIG_DEFUN( PLGraphicsIn_dX_get, _wrap_PLGraphicsIn_dX_get, std::string() ) {
16947 PLGraphicsIn *arg1 = 0 ;
16948 void *argp1 = 0 ;
16949 int res1 = 0 ;
16950 octave_value_list _out;
16951 octave_value_list *_outp=&_out;
16952 octave_value _outv;
16953 PLFLT result;
16954
16955 try {
16956 if (!SWIG_check_num_args("PLGraphicsIn_dX_get",args.length(),1,1,0)) {
16957 SWIG_fail;
16958 }
16959 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16960 if (!SWIG_IsOK(res1)) {
16961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dX_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16962 }
16963 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16964 result = (PLFLT) ((arg1)->dX);
16965 _outv = SWIG_From_double(static_cast< double >(result));
16966 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16967 return _out;
16968 fail:
16969 return octave_value_list();
16970 }
16971 catch(...) {
16972 throw;
16973 }
16974}
16975
16976
16977SWIG_DEFUN( PLGraphicsIn_dY_set, _wrap_PLGraphicsIn_dY_set, std::string() ) {
16978 PLGraphicsIn *arg1 = 0 ;
16979 PLFLT arg2 ;
16980 void *argp1 = 0 ;
16981 int res1 = 0 ;
16982 double val2 ;
16983 int ecode2 = 0 ;
16984 octave_value_list _out;
16985 octave_value_list *_outp=&_out;
16986 octave_value _outv;
16987
16988 try {
16989 if (!SWIG_check_num_args("PLGraphicsIn_dY_set",args.length(),2,2,0)) {
16990 SWIG_fail;
16991 }
16992 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16993 if (!SWIG_IsOK(res1)) {
16994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dY_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16995 }
16996 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16997 ecode2 = SWIG_AsVal_double(args(1), &val2);
16998 if (!SWIG_IsOK(ecode2)) {
16999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_dY_set" "', argument " "2"" of type '" "PLFLT""'");
17000 }
17001 arg2 = static_cast< PLFLT >(val2);
17002 if (arg1) (arg1)->dY = arg2;
17003 _outv = octave_value();
17004 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17005 return _out;
17006 fail:
17007 return octave_value_list();
17008 }
17009 catch(...) {
17010 throw;
17011 }
17012}
17013
17014
17015SWIG_DEFUN( PLGraphicsIn_dY_get, _wrap_PLGraphicsIn_dY_get, std::string() ) {
17016 PLGraphicsIn *arg1 = 0 ;
17017 void *argp1 = 0 ;
17018 int res1 = 0 ;
17019 octave_value_list _out;
17020 octave_value_list *_outp=&_out;
17021 octave_value _outv;
17022 PLFLT result;
17023
17024 try {
17025 if (!SWIG_check_num_args("PLGraphicsIn_dY_get",args.length(),1,1,0)) {
17026 SWIG_fail;
17027 }
17028 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
17029 if (!SWIG_IsOK(res1)) {
17030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dY_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
17031 }
17032 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
17033 result = (PLFLT) ((arg1)->dY);
17034 _outv = SWIG_From_double(static_cast< double >(result));
17035 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17036 return _out;
17037 fail:
17038 return octave_value_list();
17039 }
17040 catch(...) {
17041 throw;
17042 }
17043}
17044
17045
17046SWIG_DEFUN( PLGraphicsIn_wX_set, _wrap_PLGraphicsIn_wX_set, std::string() ) {
17047 PLGraphicsIn *arg1 = 0 ;
17048 PLFLT arg2 ;
17049 void *argp1 = 0 ;
17050 int res1 = 0 ;
17051 double val2 ;
17052 int ecode2 = 0 ;
17053 octave_value_list _out;
17054 octave_value_list *_outp=&_out;
17055 octave_value _outv;
17056
17057 try {
17058 if (!SWIG_check_num_args("PLGraphicsIn_wX_set",args.length(),2,2,0)) {
17059 SWIG_fail;
17060 }
17061 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
17062 if (!SWIG_IsOK(res1)) {
17063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wX_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
17064 }
17065 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
17066 ecode2 = SWIG_AsVal_double(args(1), &val2);
17067 if (!SWIG_IsOK(ecode2)) {
17068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_wX_set" "', argument " "2"" of type '" "PLFLT""'");
17069 }
17070 arg2 = static_cast< PLFLT >(val2);
17071 if (arg1) (arg1)->wX = arg2;
17072 _outv = octave_value();
17073 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17074 return _out;
17075 fail:
17076 return octave_value_list();
17077 }
17078 catch(...) {
17079 throw;
17080 }
17081}
17082
17083
17084SWIG_DEFUN( PLGraphicsIn_wX_get, _wrap_PLGraphicsIn_wX_get, std::string() ) {
17085 PLGraphicsIn *arg1 = 0 ;
17086 void *argp1 = 0 ;
17087 int res1 = 0 ;
17088 octave_value_list _out;
17089 octave_value_list *_outp=&_out;
17090 octave_value _outv;
17091 PLFLT result;
17092
17093 try {
17094 if (!SWIG_check_num_args("PLGraphicsIn_wX_get",args.length(),1,1,0)) {
17095 SWIG_fail;
17096 }
17097 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
17098 if (!SWIG_IsOK(res1)) {
17099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wX_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
17100 }
17101 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
17102 result = (PLFLT) ((arg1)->wX);
17103 _outv = SWIG_From_double(static_cast< double >(result));
17104 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17105 return _out;
17106 fail:
17107 return octave_value_list();
17108 }
17109 catch(...) {
17110 throw;
17111 }
17112}
17113
17114
17115SWIG_DEFUN( PLGraphicsIn_wY_set, _wrap_PLGraphicsIn_wY_set, std::string() ) {
17116 PLGraphicsIn *arg1 = 0 ;
17117 PLFLT arg2 ;
17118 void *argp1 = 0 ;
17119 int res1 = 0 ;
17120 double val2 ;
17121 int ecode2 = 0 ;
17122 octave_value_list _out;
17123 octave_value_list *_outp=&_out;
17124 octave_value _outv;
17125
17126 try {
17127 if (!SWIG_check_num_args("PLGraphicsIn_wY_set",args.length(),2,2,0)) {
17128 SWIG_fail;
17129 }
17130 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
17131 if (!SWIG_IsOK(res1)) {
17132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wY_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
17133 }
17134 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
17135 ecode2 = SWIG_AsVal_double(args(1), &val2);
17136 if (!SWIG_IsOK(ecode2)) {
17137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_wY_set" "', argument " "2"" of type '" "PLFLT""'");
17138 }
17139 arg2 = static_cast< PLFLT >(val2);
17140 if (arg1) (arg1)->wY = arg2;
17141 _outv = octave_value();
17142 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17143 return _out;
17144 fail:
17145 return octave_value_list();
17146 }
17147 catch(...) {
17148 throw;
17149 }
17150}
17151
17152
17153SWIG_DEFUN( PLGraphicsIn_wY_get, _wrap_PLGraphicsIn_wY_get, std::string() ) {
17154 PLGraphicsIn *arg1 = 0 ;
17155 void *argp1 = 0 ;
17156 int res1 = 0 ;
17157 octave_value_list _out;
17158 octave_value_list *_outp=&_out;
17159 octave_value _outv;
17160 PLFLT result;
17161
17162 try {
17163 if (!SWIG_check_num_args("PLGraphicsIn_wY_get",args.length(),1,1,0)) {
17164 SWIG_fail;
17165 }
17166 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
17167 if (!SWIG_IsOK(res1)) {
17168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wY_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
17169 }
17170 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
17171 result = (PLFLT) ((arg1)->wY);
17172 _outv = SWIG_From_double(static_cast< double >(result));
17173 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17174 return _out;
17175 fail:
17176 return octave_value_list();
17177 }
17178 catch(...) {
17179 throw;
17180 }
17181}
17182
17183
17184SWIG_DEFUN( new_PLGraphicsIn, _wrap_new_PLGraphicsIn, std::string() ) {
17185 octave_value_list _out;
17186 octave_value_list *_outp=&_out;
17187 octave_value _outv;
17188 PLGraphicsIn *result = 0 ;
17189
17190 try {
17191 if (!SWIG_check_num_args("new_PLGraphicsIn",args.length(),0,0,0)) {
17192 SWIG_fail;
17193 }
17194 result = (PLGraphicsIn *)new PLGraphicsIn();
17196 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17197 return _out;
17198 fail:
17199 return octave_value_list();
17200 }
17201 catch(...) {
17202 throw;
17203 }
17204}
17205
17206
17207SWIG_DEFUN( delete_PLGraphicsIn, _wrap_delete_PLGraphicsIn, std::string() ) {
17208 PLGraphicsIn *arg1 = 0 ;
17209 void *argp1 = 0 ;
17210 int res1 = 0 ;
17211 octave_value_list _out;
17212 octave_value_list *_outp=&_out;
17213 octave_value _outv;
17214
17215 try {
17216 if (!SWIG_check_num_args("delete_PLGraphicsIn",args.length(),1,1,0)) {
17217 SWIG_fail;
17218 }
17219 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, SWIG_POINTER_DISOWN | 0 );
17220 if (!SWIG_IsOK(res1)) {
17221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PLGraphicsIn" "', argument " "1"" of type '" "PLGraphicsIn *""'");
17222 }
17223 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
17224 delete arg1;
17225 _outv = octave_value();
17226 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17227 return _out;
17228 fail:
17229 return octave_value_list();
17230 }
17231 catch(...) {
17232 throw;
17233 }
17234}
17235
17236
17252static const char *swig_PLGraphicsIn_base_names[] = {0};
17255
17257 PLINT arg1 ;
17258 PLINT arg2 ;
17259 int val1 ;
17260 int ecode1 = 0 ;
17261 int val2 ;
17262 int ecode2 = 0 ;
17263 octave_value_list _out;
17264 octave_value_list *_outp=&_out;
17265 octave_value _outv;
17266
17267 try {
17268 if (!SWIG_check_num_args("pl_setcontlabelformat",args.length(),2,2,0)) {
17269 SWIG_fail;
17270 }
17271 ecode1 = SWIG_AsVal_int(args(0), &val1);
17272 if (!SWIG_IsOK(ecode1)) {
17273 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pl_setcontlabelformat" "', argument " "1"" of type '" "PLINT""'");
17274 }
17275 arg1 = static_cast< PLINT >(val1);
17276 ecode2 = SWIG_AsVal_int(args(1), &val2);
17277 if (!SWIG_IsOK(ecode2)) {
17278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pl_setcontlabelformat" "', argument " "2"" of type '" "PLINT""'");
17279 }
17280 arg2 = static_cast< PLINT >(val2);
17281 pl_setcontlabelformat(arg1,arg2);
17282 _outv = octave_value();
17283 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17284 return _out;
17285 fail:
17286 return octave_value_list();
17287 }
17288 catch(...) {
17289 throw;
17290 }
17291}
17292
17293
17295 PLFLT arg1 ;
17296 PLFLT arg2 ;
17297 PLFLT arg3 ;
17298 PLINT arg4 ;
17299 double val1 ;
17300 int ecode1 = 0 ;
17301 double val2 ;
17302 int ecode2 = 0 ;
17303 double val3 ;
17304 int ecode3 = 0 ;
17305 int val4 ;
17306 int ecode4 = 0 ;
17307 octave_value_list _out;
17308 octave_value_list *_outp=&_out;
17309 octave_value _outv;
17310
17311 try {
17312 if (!SWIG_check_num_args("pl_setcontlabelparam",args.length(),4,4,0)) {
17313 SWIG_fail;
17314 }
17315 ecode1 = SWIG_AsVal_double(args(0), &val1);
17316 if (!SWIG_IsOK(ecode1)) {
17317 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pl_setcontlabelparam" "', argument " "1"" of type '" "PLFLT""'");
17318 }
17319 arg1 = static_cast< PLFLT >(val1);
17320 ecode2 = SWIG_AsVal_double(args(1), &val2);
17321 if (!SWIG_IsOK(ecode2)) {
17322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pl_setcontlabelparam" "', argument " "2"" of type '" "PLFLT""'");
17323 }
17324 arg2 = static_cast< PLFLT >(val2);
17325 ecode3 = SWIG_AsVal_double(args(2), &val3);
17326 if (!SWIG_IsOK(ecode3)) {
17327 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pl_setcontlabelparam" "', argument " "3"" of type '" "PLFLT""'");
17328 }
17329 arg3 = static_cast< PLFLT >(val3);
17330 ecode4 = SWIG_AsVal_int(args(3), &val4);
17331 if (!SWIG_IsOK(ecode4)) {
17332 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pl_setcontlabelparam" "', argument " "4"" of type '" "PLINT""'");
17333 }
17334 arg4 = static_cast< PLINT >(val4);
17335 pl_setcontlabelparam(arg1,arg2,arg3,arg4);
17336 _outv = octave_value();
17337 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17338 return _out;
17339 fail:
17340 return octave_value_list();
17341 }
17342 catch(...) {
17343 throw;
17344 }
17345}
17346
17347
17349 PLINT arg1 ;
17350 int val1 ;
17351 int ecode1 = 0 ;
17352 octave_value_list _out;
17353 octave_value_list *_outp=&_out;
17354 octave_value _outv;
17355
17356 try {
17357 if (!SWIG_check_num_args("pladv",args.length(),1,1,0)) {
17358 SWIG_fail;
17359 }
17360 ecode1 = SWIG_AsVal_int(args(0), &val1);
17361 if (!SWIG_IsOK(ecode1)) {
17362 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pladv" "', argument " "1"" of type '" "PLINT""'");
17363 }
17364 arg1 = static_cast< PLINT >(val1);
17365 pladv(arg1);
17366 _outv = octave_value();
17367 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17368 return _out;
17369 fail:
17370 return octave_value_list();
17371 }
17372 catch(...) {
17373 throw;
17374 }
17375}
17376
17377
17379 PLFLT arg1 ;
17380 PLFLT arg2 ;
17381 PLFLT arg3 ;
17382 PLFLT arg4 ;
17383 PLFLT arg5 ;
17384 PLFLT arg6 ;
17385 PLFLT arg7 ;
17386 PLBOOL arg8 ;
17387 double val1 ;
17388 int ecode1 = 0 ;
17389 double val2 ;
17390 int ecode2 = 0 ;
17391 double val3 ;
17392 int ecode3 = 0 ;
17393 double val4 ;
17394 int ecode4 = 0 ;
17395 double val5 ;
17396 int ecode5 = 0 ;
17397 double val6 ;
17398 int ecode6 = 0 ;
17399 double val7 ;
17400 int ecode7 = 0 ;
17401 int val8 ;
17402 int ecode8 = 0 ;
17403 octave_value_list _out;
17404 octave_value_list *_outp=&_out;
17405 octave_value _outv;
17406
17407 try {
17408 if (!SWIG_check_num_args("plarc",args.length(),8,8,0)) {
17409 SWIG_fail;
17410 }
17411 ecode1 = SWIG_AsVal_double(args(0), &val1);
17412 if (!SWIG_IsOK(ecode1)) {
17413 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plarc" "', argument " "1"" of type '" "PLFLT""'");
17414 }
17415 arg1 = static_cast< PLFLT >(val1);
17416 ecode2 = SWIG_AsVal_double(args(1), &val2);
17417 if (!SWIG_IsOK(ecode2)) {
17418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plarc" "', argument " "2"" of type '" "PLFLT""'");
17419 }
17420 arg2 = static_cast< PLFLT >(val2);
17421 ecode3 = SWIG_AsVal_double(args(2), &val3);
17422 if (!SWIG_IsOK(ecode3)) {
17423 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plarc" "', argument " "3"" of type '" "PLFLT""'");
17424 }
17425 arg3 = static_cast< PLFLT >(val3);
17426 ecode4 = SWIG_AsVal_double(args(3), &val4);
17427 if (!SWIG_IsOK(ecode4)) {
17428 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plarc" "', argument " "4"" of type '" "PLFLT""'");
17429 }
17430 arg4 = static_cast< PLFLT >(val4);
17431 ecode5 = SWIG_AsVal_double(args(4), &val5);
17432 if (!SWIG_IsOK(ecode5)) {
17433 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plarc" "', argument " "5"" of type '" "PLFLT""'");
17434 }
17435 arg5 = static_cast< PLFLT >(val5);
17436 ecode6 = SWIG_AsVal_double(args(5), &val6);
17437 if (!SWIG_IsOK(ecode6)) {
17438 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plarc" "', argument " "6"" of type '" "PLFLT""'");
17439 }
17440 arg6 = static_cast< PLFLT >(val6);
17441 ecode7 = SWIG_AsVal_double(args(6), &val7);
17442 if (!SWIG_IsOK(ecode7)) {
17443 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plarc" "', argument " "7"" of type '" "PLFLT""'");
17444 }
17445 arg7 = static_cast< PLFLT >(val7);
17446 ecode8 = SWIG_AsVal_int(args(7), &val8);
17447 if (!SWIG_IsOK(ecode8)) {
17448 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plarc" "', argument " "8"" of type '" "PLBOOL""'");
17449 }
17450 arg8 = static_cast< PLBOOL >(val8);
17451 plarc(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
17452 _outv = octave_value();
17453 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17454 return _out;
17455 fail:
17456 return octave_value_list();
17457 }
17458 catch(...) {
17459 throw;
17460 }
17461}
17462
17463
17465 PLFLT arg1 ;
17466 PLFLT arg2 ;
17467 char *arg3 = 0 ;
17468 PLFLT arg4 ;
17469 PLINT arg5 ;
17470 char *arg6 = 0 ;
17471 PLFLT arg7 ;
17472 PLINT arg8 ;
17473 double val1 ;
17474 int ecode1 = 0 ;
17475 double val2 ;
17476 int ecode2 = 0 ;
17477 int res3 ;
17478 char *buf3 = 0 ;
17479 int alloc3 = 0 ;
17480 double val4 ;
17481 int ecode4 = 0 ;
17482 int val5 ;
17483 int ecode5 = 0 ;
17484 int res6 ;
17485 char *buf6 = 0 ;
17486 int alloc6 = 0 ;
17487 double val7 ;
17488 int ecode7 = 0 ;
17489 int val8 ;
17490 int ecode8 = 0 ;
17491 octave_value_list _out;
17492 octave_value_list *_outp=&_out;
17493 octave_value _outv;
17494
17495 try {
17496 if (!SWIG_check_num_args("plaxes",args.length(),8,8,0)) {
17497 SWIG_fail;
17498 }
17499 ecode1 = SWIG_AsVal_double(args(0), &val1);
17500 if (!SWIG_IsOK(ecode1)) {
17501 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plaxes" "', argument " "1"" of type '" "PLFLT""'");
17502 }
17503 arg1 = static_cast< PLFLT >(val1);
17504 ecode2 = SWIG_AsVal_double(args(1), &val2);
17505 if (!SWIG_IsOK(ecode2)) {
17506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plaxes" "', argument " "2"" of type '" "PLFLT""'");
17507 }
17508 arg2 = static_cast< PLFLT >(val2);
17509 res3 = SWIG_AsCharPtrAndSize(args(2), &buf3, NULL, &alloc3);
17510 if (!SWIG_IsOK(res3)) {
17511 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "plaxes" "', argument " "3"" of type '" "char const *""'");
17512 }
17513 arg3 = reinterpret_cast< char * >(buf3);
17514 ecode4 = SWIG_AsVal_double(args(3), &val4);
17515 if (!SWIG_IsOK(ecode4)) {
17516 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plaxes" "', argument " "4"" of type '" "PLFLT""'");
17517 }
17518 arg4 = static_cast< PLFLT >(val4);
17519 ecode5 = SWIG_AsVal_int(args(4), &val5);
17520 if (!SWIG_IsOK(ecode5)) {
17521 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plaxes" "', argument " "5"" of type '" "PLINT""'");
17522 }
17523 arg5 = static_cast< PLINT >(val5);
17524 res6 = SWIG_AsCharPtrAndSize(args(5), &buf6, NULL, &alloc6);
17525 if (!SWIG_IsOK(res6)) {
17526 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plaxes" "', argument " "6"" of type '" "char const *""'");
17527 }
17528 arg6 = reinterpret_cast< char * >(buf6);
17529 ecode7 = SWIG_AsVal_double(args(6), &val7);
17530 if (!SWIG_IsOK(ecode7)) {
17531 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plaxes" "', argument " "7"" of type '" "PLFLT""'");
17532 }
17533 arg7 = static_cast< PLFLT >(val7);
17534 ecode8 = SWIG_AsVal_int(args(7), &val8);
17535 if (!SWIG_IsOK(ecode8)) {
17536 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plaxes" "', argument " "8"" of type '" "PLINT""'");
17537 }
17538 arg8 = static_cast< PLINT >(val8);
17539 plaxes(arg1,arg2,(char const *)arg3,arg4,arg5,(char const *)arg6,arg7,arg8);
17540 _outv = octave_value();
17541 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17542 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
17543 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
17544 return _out;
17545 fail:
17546 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
17547 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
17548 return octave_value_list();
17549 }
17550 catch(...) {
17551 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
17552 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
17553 throw;
17554 }
17555}
17556
17557
17559 PLINT arg1 ;
17560 PLFLT *arg2 = 0 ;
17561 PLFLT *arg3 = 0 ;
17562 PLINT arg4 ;
17563 Matrix temp1 ;
17564 Matrix temp3 ;
17565 int val4 ;
17566 int ecode4 = 0 ;
17567 octave_value_list _out;
17568 octave_value_list *_outp=&_out;
17569 octave_value _outv;
17570
17571 try {
17572 if (!SWIG_check_num_args("plbin",args.length(),3,3,0)) {
17573 SWIG_fail;
17574 }
17575 {
17576 if ( _n_dims( args(0) ) > 1 )
17577 {
17578 error( "argument must be a scalar or vector" ); SWIG_fail;
17579 }
17580 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
17581 temp1 = args(0).matrix_value();
17582 arg2 = &temp1( 0, 0 );
17583 }
17584 {
17585 if ( _n_dims( args(1) ) > 1 )
17586 {
17587 error( "argument must be a scalar or vector" ); SWIG_fail;
17588 }
17589 if ( _dim( args(1), 0 ) != Alen )
17590 {
17591 error( "argument vectors must be same length" ); SWIG_fail;
17592 }
17593 temp3 = args(1).matrix_value();
17594 arg3 = &temp3( 0, 0 );
17595 }
17596 ecode4 = SWIG_AsVal_int(args(2), &val4);
17597 if (!SWIG_IsOK(ecode4)) {
17598 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plbin" "', argument " "4"" of type '" "PLINT""'");
17599 }
17600 arg4 = static_cast< PLINT >(val4);
17601 plbin(arg1,(double const *)arg2,(double const *)arg3,arg4);
17602 _outv = octave_value();
17603 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17604 {
17605
17606 }
17607 {
17608
17609 }
17610 return _out;
17611 fail:
17612 {
17613
17614 }
17615 {
17616
17617 }
17618 return octave_value_list();
17619 }
17620 catch(...) {
17621 {
17622
17623 }
17624 {
17625
17626 }
17627 throw;
17628 }
17629}
17630
17631
17633 PLINT *arg1 = 0 ;
17634 PLINT *arg2 = 0 ;
17635 PLINT *arg3 = 0 ;
17636 PLINT *arg4 = 0 ;
17637 PLINT *arg5 = 0 ;
17638 PLFLT *arg6 = 0 ;
17639 PLFLT arg7 ;
17640 PLINT temp1 ;
17641 int res1 = SWIG_TMPOBJ ;
17642 PLINT temp2 ;
17643 int res2 = SWIG_TMPOBJ ;
17644 PLINT temp3 ;
17645 int res3 = SWIG_TMPOBJ ;
17646 PLINT temp4 ;
17647 int res4 = SWIG_TMPOBJ ;
17648 PLINT temp5 ;
17649 int res5 = SWIG_TMPOBJ ;
17650 PLFLT temp6 ;
17651 int res6 = SWIG_TMPOBJ ;
17652 double val7 ;
17653 int ecode7 = 0 ;
17654 octave_value_list _out;
17655 octave_value_list *_outp=&_out;
17656 octave_value _outv;
17657
17658 try {
17659 arg1 = &temp1;
17660 arg2 = &temp2;
17661 arg3 = &temp3;
17662 arg4 = &temp4;
17663 arg5 = &temp5;
17664 arg6 = &temp6;
17665 if (!SWIG_check_num_args("plbtime",args.length(),1,1,0)) {
17666 SWIG_fail;
17667 }
17668 ecode7 = SWIG_AsVal_double(args(0), &val7);
17669 if (!SWIG_IsOK(ecode7)) {
17670 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plbtime" "', argument " "7"" of type '" "PLFLT""'");
17671 }
17672 arg7 = static_cast< PLFLT >(val7);
17673 plbtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
17674 _outv = octave_value();
17675 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17676 if (SWIG_IsTmpObj(res1)) {
17677 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
17678 } else {
17679 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17680 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
17681 }
17682 if (SWIG_IsTmpObj(res2)) {
17683 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
17684 } else {
17685 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17686 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
17687 }
17688 if (SWIG_IsTmpObj(res3)) {
17689 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
17690 } else {
17691 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17692 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
17693 }
17694 if (SWIG_IsTmpObj(res4)) {
17695 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg4)));
17696 } else {
17697 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17698 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
17699 }
17700 if (SWIG_IsTmpObj(res5)) {
17701 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg5)));
17702 } else {
17703 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17704 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
17705 }
17706 if (SWIG_IsTmpObj(res6)) {
17707 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg6)));
17708 } else {
17709 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17710 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags));
17711 }
17712 return _out;
17713 fail:
17714 return octave_value_list();
17715 }
17716 catch(...) {
17717 throw;
17718 }
17719}
17720
17721
17723 octave_value_list _out;
17724 octave_value_list *_outp=&_out;
17725 octave_value _outv;
17726
17727 try {
17728 if (!SWIG_check_num_args("plbop",args.length(),0,0,0)) {
17729 SWIG_fail;
17730 }
17731 plbop();
17732 _outv = octave_value();
17733 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17734 return _out;
17735 fail:
17736 return octave_value_list();
17737 }
17738 catch(...) {
17739 throw;
17740 }
17741}
17742
17743
17745 char *arg1 = 0 ;
17746 PLFLT arg2 ;
17747 PLINT arg3 ;
17748 char *arg4 = 0 ;
17749 PLFLT arg5 ;
17750 PLINT arg6 ;
17751 int res1 ;
17752 char *buf1 = 0 ;
17753 int alloc1 = 0 ;
17754 double val2 ;
17755 int ecode2 = 0 ;
17756 int val3 ;
17757 int ecode3 = 0 ;
17758 int res4 ;
17759 char *buf4 = 0 ;
17760 int alloc4 = 0 ;
17761 double val5 ;
17762 int ecode5 = 0 ;
17763 int val6 ;
17764 int ecode6 = 0 ;
17765 octave_value_list _out;
17766 octave_value_list *_outp=&_out;
17767 octave_value _outv;
17768
17769 try {
17770 if (!SWIG_check_num_args("plbox",args.length(),6,6,0)) {
17771 SWIG_fail;
17772 }
17773 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
17774 if (!SWIG_IsOK(res1)) {
17775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plbox" "', argument " "1"" of type '" "char const *""'");
17776 }
17777 arg1 = reinterpret_cast< char * >(buf1);
17778 ecode2 = SWIG_AsVal_double(args(1), &val2);
17779 if (!SWIG_IsOK(ecode2)) {
17780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plbox" "', argument " "2"" of type '" "PLFLT""'");
17781 }
17782 arg2 = static_cast< PLFLT >(val2);
17783 ecode3 = SWIG_AsVal_int(args(2), &val3);
17784 if (!SWIG_IsOK(ecode3)) {
17785 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plbox" "', argument " "3"" of type '" "PLINT""'");
17786 }
17787 arg3 = static_cast< PLINT >(val3);
17788 res4 = SWIG_AsCharPtrAndSize(args(3), &buf4, NULL, &alloc4);
17789 if (!SWIG_IsOK(res4)) {
17790 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "plbox" "', argument " "4"" of type '" "char const *""'");
17791 }
17792 arg4 = reinterpret_cast< char * >(buf4);
17793 ecode5 = SWIG_AsVal_double(args(4), &val5);
17794 if (!SWIG_IsOK(ecode5)) {
17795 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plbox" "', argument " "5"" of type '" "PLFLT""'");
17796 }
17797 arg5 = static_cast< PLFLT >(val5);
17798 ecode6 = SWIG_AsVal_int(args(5), &val6);
17799 if (!SWIG_IsOK(ecode6)) {
17800 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plbox" "', argument " "6"" of type '" "PLINT""'");
17801 }
17802 arg6 = static_cast< PLINT >(val6);
17803 plbox((char const *)arg1,arg2,arg3,(char const *)arg4,arg5,arg6);
17804 _outv = octave_value();
17805 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17806 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
17807 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
17808 return _out;
17809 fail:
17810 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
17811 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
17812 return octave_value_list();
17813 }
17814 catch(...) {
17815 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
17816 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
17817 throw;
17818 }
17819}
17820
17821
17823 char *arg1 = 0 ;
17824 char *arg2 = 0 ;
17825 PLFLT arg3 ;
17826 PLINT arg4 ;
17827 char *arg5 = 0 ;
17828 char *arg6 = 0 ;
17829 PLFLT arg7 ;
17830 PLINT arg8 ;
17831 char *arg9 = 0 ;
17832 char *arg10 = 0 ;
17833 PLFLT arg11 ;
17834 PLINT arg12 ;
17835 int res1 ;
17836 char *buf1 = 0 ;
17837 int alloc1 = 0 ;
17838 int res2 ;
17839 char *buf2 = 0 ;
17840 int alloc2 = 0 ;
17841 double val3 ;
17842 int ecode3 = 0 ;
17843 int val4 ;
17844 int ecode4 = 0 ;
17845 int res5 ;
17846 char *buf5 = 0 ;
17847 int alloc5 = 0 ;
17848 int res6 ;
17849 char *buf6 = 0 ;
17850 int alloc6 = 0 ;
17851 double val7 ;
17852 int ecode7 = 0 ;
17853 int val8 ;
17854 int ecode8 = 0 ;
17855 int res9 ;
17856 char *buf9 = 0 ;
17857 int alloc9 = 0 ;
17858 int res10 ;
17859 char *buf10 = 0 ;
17860 int alloc10 = 0 ;
17861 double val11 ;
17862 int ecode11 = 0 ;
17863 int val12 ;
17864 int ecode12 = 0 ;
17865 octave_value_list _out;
17866 octave_value_list *_outp=&_out;
17867 octave_value _outv;
17868
17869 try {
17870 if (!SWIG_check_num_args("plbox3",args.length(),12,12,0)) {
17871 SWIG_fail;
17872 }
17873 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
17874 if (!SWIG_IsOK(res1)) {
17875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plbox3" "', argument " "1"" of type '" "char const *""'");
17876 }
17877 arg1 = reinterpret_cast< char * >(buf1);
17878 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
17879 if (!SWIG_IsOK(res2)) {
17880 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plbox3" "', argument " "2"" of type '" "char const *""'");
17881 }
17882 arg2 = reinterpret_cast< char * >(buf2);
17883 ecode3 = SWIG_AsVal_double(args(2), &val3);
17884 if (!SWIG_IsOK(ecode3)) {
17885 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plbox3" "', argument " "3"" of type '" "PLFLT""'");
17886 }
17887 arg3 = static_cast< PLFLT >(val3);
17888 ecode4 = SWIG_AsVal_int(args(3), &val4);
17889 if (!SWIG_IsOK(ecode4)) {
17890 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plbox3" "', argument " "4"" of type '" "PLINT""'");
17891 }
17892 arg4 = static_cast< PLINT >(val4);
17893 res5 = SWIG_AsCharPtrAndSize(args(4), &buf5, NULL, &alloc5);
17894 if (!SWIG_IsOK(res5)) {
17895 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plbox3" "', argument " "5"" of type '" "char const *""'");
17896 }
17897 arg5 = reinterpret_cast< char * >(buf5);
17898 res6 = SWIG_AsCharPtrAndSize(args(5), &buf6, NULL, &alloc6);
17899 if (!SWIG_IsOK(res6)) {
17900 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plbox3" "', argument " "6"" of type '" "char const *""'");
17901 }
17902 arg6 = reinterpret_cast< char * >(buf6);
17903 ecode7 = SWIG_AsVal_double(args(6), &val7);
17904 if (!SWIG_IsOK(ecode7)) {
17905 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plbox3" "', argument " "7"" of type '" "PLFLT""'");
17906 }
17907 arg7 = static_cast< PLFLT >(val7);
17908 ecode8 = SWIG_AsVal_int(args(7), &val8);
17909 if (!SWIG_IsOK(ecode8)) {
17910 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plbox3" "', argument " "8"" of type '" "PLINT""'");
17911 }
17912 arg8 = static_cast< PLINT >(val8);
17913 res9 = SWIG_AsCharPtrAndSize(args(8), &buf9, NULL, &alloc9);
17914 if (!SWIG_IsOK(res9)) {
17915 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "plbox3" "', argument " "9"" of type '" "char const *""'");
17916 }
17917 arg9 = reinterpret_cast< char * >(buf9);
17918 res10 = SWIG_AsCharPtrAndSize(args(9), &buf10, NULL, &alloc10);
17919 if (!SWIG_IsOK(res10)) {
17920 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "plbox3" "', argument " "10"" of type '" "char const *""'");
17921 }
17922 arg10 = reinterpret_cast< char * >(buf10);
17923 ecode11 = SWIG_AsVal_double(args(10), &val11);
17924 if (!SWIG_IsOK(ecode11)) {
17925 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plbox3" "', argument " "11"" of type '" "PLFLT""'");
17926 }
17927 arg11 = static_cast< PLFLT >(val11);
17928 ecode12 = SWIG_AsVal_int(args(11), &val12);
17929 if (!SWIG_IsOK(ecode12)) {
17930 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plbox3" "', argument " "12"" of type '" "PLINT""'");
17931 }
17932 arg12 = static_cast< PLINT >(val12);
17933 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);
17934 _outv = octave_value();
17935 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17936 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
17937 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
17938 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
17939 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
17940 if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
17941 if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
17942 return _out;
17943 fail:
17944 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
17945 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
17946 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
17947 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
17948 if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
17949 if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
17950 return octave_value_list();
17951 }
17952 catch(...) {
17953 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
17954 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
17955 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
17956 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
17957 if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
17958 if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
17959 throw;
17960 }
17961}
17962
17963
17965 PLFLT arg1 ;
17966 PLFLT arg2 ;
17967 PLFLT *arg3 = 0 ;
17968 PLFLT *arg4 = 0 ;
17969 PLINT *arg5 = 0 ;
17970 double val1 ;
17971 int ecode1 = 0 ;
17972 double val2 ;
17973 int ecode2 = 0 ;
17974 PLFLT temp3 ;
17975 int res3 = SWIG_TMPOBJ ;
17976 PLFLT temp4 ;
17977 int res4 = SWIG_TMPOBJ ;
17978 PLINT temp5 ;
17979 int res5 = SWIG_TMPOBJ ;
17980 octave_value_list _out;
17981 octave_value_list *_outp=&_out;
17982 octave_value _outv;
17983
17984 try {
17985 arg3 = &temp3;
17986 arg4 = &temp4;
17987 arg5 = &temp5;
17988 if (!SWIG_check_num_args("plcalc_world",args.length(),2,2,0)) {
17989 SWIG_fail;
17990 }
17991 ecode1 = SWIG_AsVal_double(args(0), &val1);
17992 if (!SWIG_IsOK(ecode1)) {
17993 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcalc_world" "', argument " "1"" of type '" "PLFLT""'");
17994 }
17995 arg1 = static_cast< PLFLT >(val1);
17996 ecode2 = SWIG_AsVal_double(args(1), &val2);
17997 if (!SWIG_IsOK(ecode2)) {
17998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plcalc_world" "', argument " "2"" of type '" "PLFLT""'");
17999 }
18000 arg2 = static_cast< PLFLT >(val2);
18001 plcalc_world(arg1,arg2,arg3,arg4,arg5);
18002 _outv = octave_value();
18003 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18004 if (SWIG_IsTmpObj(res3)) {
18005 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg3)));
18006 } else {
18007 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18008 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags));
18009 }
18010 if (SWIG_IsTmpObj(res4)) {
18011 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
18012 } else {
18013 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18014 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
18015 }
18016 if (SWIG_IsTmpObj(res5)) {
18017 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg5)));
18018 } else {
18019 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18020 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
18021 }
18022 return _out;
18023 fail:
18024 return octave_value_list();
18025 }
18026 catch(...) {
18027 throw;
18028 }
18029}
18030
18031
18033 octave_value_list _out;
18034 octave_value_list *_outp=&_out;
18035 octave_value _outv;
18036
18037 try {
18038 if (!SWIG_check_num_args("plclear",args.length(),0,0,0)) {
18039 SWIG_fail;
18040 }
18041 plclear();
18042 _outv = octave_value();
18043 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18044 return _out;
18045 fail:
18046 return octave_value_list();
18047 }
18048 catch(...) {
18049 throw;
18050 }
18051}
18052
18053
18055 PLINT arg1 ;
18056 int val1 ;
18057 int ecode1 = 0 ;
18058 octave_value_list _out;
18059 octave_value_list *_outp=&_out;
18060 octave_value _outv;
18061
18062 try {
18063 if (!SWIG_check_num_args("plcol0",args.length(),1,1,0)) {
18064 SWIG_fail;
18065 }
18066 ecode1 = SWIG_AsVal_int(args(0), &val1);
18067 if (!SWIG_IsOK(ecode1)) {
18068 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcol0" "', argument " "1"" of type '" "PLINT""'");
18069 }
18070 arg1 = static_cast< PLINT >(val1);
18071 plcol0(arg1);
18072 _outv = octave_value();
18073 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18074 return _out;
18075 fail:
18076 return octave_value_list();
18077 }
18078 catch(...) {
18079 throw;
18080 }
18081}
18082
18083
18085 PLFLT arg1 ;
18086 double val1 ;
18087 int ecode1 = 0 ;
18088 octave_value_list _out;
18089 octave_value_list *_outp=&_out;
18090 octave_value _outv;
18091
18092 try {
18093 if (!SWIG_check_num_args("plcol1",args.length(),1,1,0)) {
18094 SWIG_fail;
18095 }
18096 ecode1 = SWIG_AsVal_double(args(0), &val1);
18097 if (!SWIG_IsOK(ecode1)) {
18098 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcol1" "', argument " "1"" of type '" "PLFLT""'");
18099 }
18100 arg1 = static_cast< PLFLT >(val1);
18101 plcol1(arg1);
18102 _outv = octave_value();
18103 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18104 return _out;
18105 fail:
18106 return octave_value_list();
18107 }
18108 catch(...) {
18109 throw;
18110 }
18111}
18112
18113
18115 PLFLT arg1 ;
18116 PLFLT arg2 ;
18117 PLFLT arg3 ;
18118 PLINT arg4 ;
18119 PLBOOL arg5 ;
18120 PLINT arg6 ;
18121 PLINT arg7 ;
18122 PLINT arg8 ;
18123 PLINT arg9 ;
18124 PLINT arg10 ;
18125 PLFLT arg11 ;
18126 double val1 ;
18127 int ecode1 = 0 ;
18128 double val2 ;
18129 int ecode2 = 0 ;
18130 double val3 ;
18131 int ecode3 = 0 ;
18132 int val4 ;
18133 int ecode4 = 0 ;
18134 int val5 ;
18135 int ecode5 = 0 ;
18136 int val6 ;
18137 int ecode6 = 0 ;
18138 int val7 ;
18139 int ecode7 = 0 ;
18140 int val8 ;
18141 int ecode8 = 0 ;
18142 int val9 ;
18143 int ecode9 = 0 ;
18144 int val10 ;
18145 int ecode10 = 0 ;
18146 double val11 ;
18147 int ecode11 = 0 ;
18148 octave_value_list _out;
18149 octave_value_list *_outp=&_out;
18150 octave_value _outv;
18151
18152 try {
18153 if (!SWIG_check_num_args("plconfigtime",args.length(),11,11,0)) {
18154 SWIG_fail;
18155 }
18156 ecode1 = SWIG_AsVal_double(args(0), &val1);
18157 if (!SWIG_IsOK(ecode1)) {
18158 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plconfigtime" "', argument " "1"" of type '" "PLFLT""'");
18159 }
18160 arg1 = static_cast< PLFLT >(val1);
18161 ecode2 = SWIG_AsVal_double(args(1), &val2);
18162 if (!SWIG_IsOK(ecode2)) {
18163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plconfigtime" "', argument " "2"" of type '" "PLFLT""'");
18164 }
18165 arg2 = static_cast< PLFLT >(val2);
18166 ecode3 = SWIG_AsVal_double(args(2), &val3);
18167 if (!SWIG_IsOK(ecode3)) {
18168 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plconfigtime" "', argument " "3"" of type '" "PLFLT""'");
18169 }
18170 arg3 = static_cast< PLFLT >(val3);
18171 ecode4 = SWIG_AsVal_int(args(3), &val4);
18172 if (!SWIG_IsOK(ecode4)) {
18173 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plconfigtime" "', argument " "4"" of type '" "PLINT""'");
18174 }
18175 arg4 = static_cast< PLINT >(val4);
18176 ecode5 = SWIG_AsVal_int(args(4), &val5);
18177 if (!SWIG_IsOK(ecode5)) {
18178 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plconfigtime" "', argument " "5"" of type '" "PLBOOL""'");
18179 }
18180 arg5 = static_cast< PLBOOL >(val5);
18181 ecode6 = SWIG_AsVal_int(args(5), &val6);
18182 if (!SWIG_IsOK(ecode6)) {
18183 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plconfigtime" "', argument " "6"" of type '" "PLINT""'");
18184 }
18185 arg6 = static_cast< PLINT >(val6);
18186 ecode7 = SWIG_AsVal_int(args(6), &val7);
18187 if (!SWIG_IsOK(ecode7)) {
18188 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plconfigtime" "', argument " "7"" of type '" "PLINT""'");
18189 }
18190 arg7 = static_cast< PLINT >(val7);
18191 ecode8 = SWIG_AsVal_int(args(7), &val8);
18192 if (!SWIG_IsOK(ecode8)) {
18193 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plconfigtime" "', argument " "8"" of type '" "PLINT""'");
18194 }
18195 arg8 = static_cast< PLINT >(val8);
18196 ecode9 = SWIG_AsVal_int(args(8), &val9);
18197 if (!SWIG_IsOK(ecode9)) {
18198 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plconfigtime" "', argument " "9"" of type '" "PLINT""'");
18199 }
18200 arg9 = static_cast< PLINT >(val9);
18201 ecode10 = SWIG_AsVal_int(args(9), &val10);
18202 if (!SWIG_IsOK(ecode10)) {
18203 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plconfigtime" "', argument " "10"" of type '" "PLINT""'");
18204 }
18205 arg10 = static_cast< PLINT >(val10);
18206 ecode11 = SWIG_AsVal_double(args(10), &val11);
18207 if (!SWIG_IsOK(ecode11)) {
18208 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plconfigtime" "', argument " "11"" of type '" "PLFLT""'");
18209 }
18210 arg11 = static_cast< PLFLT >(val11);
18211 plconfigtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
18212 _outv = octave_value();
18213 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18214 return _out;
18215 fail:
18216 return octave_value_list();
18217 }
18218 catch(...) {
18219 throw;
18220 }
18221}
18222
18223
18225 PLINT arg1 ;
18226 PLINT arg2 ;
18227 PLINT arg3 ;
18228 PLINT arg4 ;
18229 PLINT arg5 ;
18230 PLFLT arg6 ;
18231 PLFLT *arg7 = 0 ;
18232 int val1 ;
18233 int ecode1 = 0 ;
18234 int val2 ;
18235 int ecode2 = 0 ;
18236 int val3 ;
18237 int ecode3 = 0 ;
18238 int val4 ;
18239 int ecode4 = 0 ;
18240 int val5 ;
18241 int ecode5 = 0 ;
18242 double val6 ;
18243 int ecode6 = 0 ;
18244 PLFLT temp7 ;
18245 int res7 = SWIG_TMPOBJ ;
18246 octave_value_list _out;
18247 octave_value_list *_outp=&_out;
18248 octave_value _outv;
18249
18250 try {
18251 arg7 = &temp7;
18252 if (!SWIG_check_num_args("plctime",args.length(),6,6,0)) {
18253 SWIG_fail;
18254 }
18255 ecode1 = SWIG_AsVal_int(args(0), &val1);
18256 if (!SWIG_IsOK(ecode1)) {
18257 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plctime" "', argument " "1"" of type '" "PLINT""'");
18258 }
18259 arg1 = static_cast< PLINT >(val1);
18260 ecode2 = SWIG_AsVal_int(args(1), &val2);
18261 if (!SWIG_IsOK(ecode2)) {
18262 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plctime" "', argument " "2"" of type '" "PLINT""'");
18263 }
18264 arg2 = static_cast< PLINT >(val2);
18265 ecode3 = SWIG_AsVal_int(args(2), &val3);
18266 if (!SWIG_IsOK(ecode3)) {
18267 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plctime" "', argument " "3"" of type '" "PLINT""'");
18268 }
18269 arg3 = static_cast< PLINT >(val3);
18270 ecode4 = SWIG_AsVal_int(args(3), &val4);
18271 if (!SWIG_IsOK(ecode4)) {
18272 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plctime" "', argument " "4"" of type '" "PLINT""'");
18273 }
18274 arg4 = static_cast< PLINT >(val4);
18275 ecode5 = SWIG_AsVal_int(args(4), &val5);
18276 if (!SWIG_IsOK(ecode5)) {
18277 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plctime" "', argument " "5"" of type '" "PLINT""'");
18278 }
18279 arg5 = static_cast< PLINT >(val5);
18280 ecode6 = SWIG_AsVal_double(args(5), &val6);
18281 if (!SWIG_IsOK(ecode6)) {
18282 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plctime" "', argument " "6"" of type '" "PLFLT""'");
18283 }
18284 arg6 = static_cast< PLFLT >(val6);
18285 plctime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
18286 _outv = octave_value();
18287 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18288 if (SWIG_IsTmpObj(res7)) {
18289 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg7)));
18290 } else {
18291 int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18292 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_double, new_flags));
18293 }
18294 return _out;
18295 fail:
18296 return octave_value_list();
18297 }
18298 catch(...) {
18299 throw;
18300 }
18301}
18302
18303
18305 PLINT arg1 ;
18306 PLBOOL arg2 ;
18307 int val1 ;
18308 int ecode1 = 0 ;
18309 int val2 ;
18310 int ecode2 = 0 ;
18311 octave_value_list _out;
18312 octave_value_list *_outp=&_out;
18313 octave_value _outv;
18314
18315 try {
18316 if (!SWIG_check_num_args("plcpstrm",args.length(),2,2,0)) {
18317 SWIG_fail;
18318 }
18319 ecode1 = SWIG_AsVal_int(args(0), &val1);
18320 if (!SWIG_IsOK(ecode1)) {
18321 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcpstrm" "', argument " "1"" of type '" "PLINT""'");
18322 }
18323 arg1 = static_cast< PLINT >(val1);
18324 ecode2 = SWIG_AsVal_int(args(1), &val2);
18325 if (!SWIG_IsOK(ecode2)) {
18326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plcpstrm" "', argument " "2"" of type '" "PLBOOL""'");
18327 }
18328 arg2 = static_cast< PLBOOL >(val2);
18329 plcpstrm(arg1,arg2);
18330 _outv = octave_value();
18331 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18332 return _out;
18333 fail:
18334 return octave_value_list();
18335 }
18336 catch(...) {
18337 throw;
18338 }
18339}
18340
18341
18343 octave_value_list _out;
18344 octave_value_list *_outp=&_out;
18345 octave_value _outv;
18346
18347 try {
18348 if (!SWIG_check_num_args("plend",args.length(),0,0,0)) {
18349 SWIG_fail;
18350 }
18351 plend();
18352 _outv = octave_value();
18353 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18354 return _out;
18355 fail:
18356 return octave_value_list();
18357 }
18358 catch(...) {
18359 throw;
18360 }
18361}
18362
18363
18365 octave_value_list _out;
18366 octave_value_list *_outp=&_out;
18367 octave_value _outv;
18368
18369 try {
18370 if (!SWIG_check_num_args("plend1",args.length(),0,0,0)) {
18371 SWIG_fail;
18372 }
18373 plend1();
18374 _outv = octave_value();
18375 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18376 return _out;
18377 fail:
18378 return octave_value_list();
18379 }
18380 catch(...) {
18381 throw;
18382 }
18383}
18384
18385
18387 PLFLT arg1 ;
18388 PLFLT arg2 ;
18389 PLFLT arg3 ;
18390 PLFLT arg4 ;
18391 PLINT arg5 ;
18392 PLINT arg6 ;
18393 double val1 ;
18394 int ecode1 = 0 ;
18395 double val2 ;
18396 int ecode2 = 0 ;
18397 double val3 ;
18398 int ecode3 = 0 ;
18399 double val4 ;
18400 int ecode4 = 0 ;
18401 int val5 ;
18402 int ecode5 = 0 ;
18403 int val6 ;
18404 int ecode6 = 0 ;
18405 octave_value_list _out;
18406 octave_value_list *_outp=&_out;
18407 octave_value _outv;
18408
18409 try {
18410 if (!SWIG_check_num_args("plenv",args.length(),6,6,0)) {
18411 SWIG_fail;
18412 }
18413 ecode1 = SWIG_AsVal_double(args(0), &val1);
18414 if (!SWIG_IsOK(ecode1)) {
18415 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plenv" "', argument " "1"" of type '" "PLFLT""'");
18416 }
18417 arg1 = static_cast< PLFLT >(val1);
18418 ecode2 = SWIG_AsVal_double(args(1), &val2);
18419 if (!SWIG_IsOK(ecode2)) {
18420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plenv" "', argument " "2"" of type '" "PLFLT""'");
18421 }
18422 arg2 = static_cast< PLFLT >(val2);
18423 ecode3 = SWIG_AsVal_double(args(2), &val3);
18424 if (!SWIG_IsOK(ecode3)) {
18425 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plenv" "', argument " "3"" of type '" "PLFLT""'");
18426 }
18427 arg3 = static_cast< PLFLT >(val3);
18428 ecode4 = SWIG_AsVal_double(args(3), &val4);
18429 if (!SWIG_IsOK(ecode4)) {
18430 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plenv" "', argument " "4"" of type '" "PLFLT""'");
18431 }
18432 arg4 = static_cast< PLFLT >(val4);
18433 ecode5 = SWIG_AsVal_int(args(4), &val5);
18434 if (!SWIG_IsOK(ecode5)) {
18435 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plenv" "', argument " "5"" of type '" "PLINT""'");
18436 }
18437 arg5 = static_cast< PLINT >(val5);
18438 ecode6 = SWIG_AsVal_int(args(5), &val6);
18439 if (!SWIG_IsOK(ecode6)) {
18440 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plenv" "', argument " "6"" of type '" "PLINT""'");
18441 }
18442 arg6 = static_cast< PLINT >(val6);
18443 plenv(arg1,arg2,arg3,arg4,arg5,arg6);
18444 _outv = octave_value();
18445 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18446 return _out;
18447 fail:
18448 return octave_value_list();
18449 }
18450 catch(...) {
18451 throw;
18452 }
18453}
18454
18455
18457 PLFLT arg1 ;
18458 PLFLT arg2 ;
18459 PLFLT arg3 ;
18460 PLFLT arg4 ;
18461 PLINT arg5 ;
18462 PLINT arg6 ;
18463 double val1 ;
18464 int ecode1 = 0 ;
18465 double val2 ;
18466 int ecode2 = 0 ;
18467 double val3 ;
18468 int ecode3 = 0 ;
18469 double val4 ;
18470 int ecode4 = 0 ;
18471 int val5 ;
18472 int ecode5 = 0 ;
18473 int val6 ;
18474 int ecode6 = 0 ;
18475 octave_value_list _out;
18476 octave_value_list *_outp=&_out;
18477 octave_value _outv;
18478
18479 try {
18480 if (!SWIG_check_num_args("plenv0",args.length(),6,6,0)) {
18481 SWIG_fail;
18482 }
18483 ecode1 = SWIG_AsVal_double(args(0), &val1);
18484 if (!SWIG_IsOK(ecode1)) {
18485 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plenv0" "', argument " "1"" of type '" "PLFLT""'");
18486 }
18487 arg1 = static_cast< PLFLT >(val1);
18488 ecode2 = SWIG_AsVal_double(args(1), &val2);
18489 if (!SWIG_IsOK(ecode2)) {
18490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plenv0" "', argument " "2"" of type '" "PLFLT""'");
18491 }
18492 arg2 = static_cast< PLFLT >(val2);
18493 ecode3 = SWIG_AsVal_double(args(2), &val3);
18494 if (!SWIG_IsOK(ecode3)) {
18495 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plenv0" "', argument " "3"" of type '" "PLFLT""'");
18496 }
18497 arg3 = static_cast< PLFLT >(val3);
18498 ecode4 = SWIG_AsVal_double(args(3), &val4);
18499 if (!SWIG_IsOK(ecode4)) {
18500 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plenv0" "', argument " "4"" of type '" "PLFLT""'");
18501 }
18502 arg4 = static_cast< PLFLT >(val4);
18503 ecode5 = SWIG_AsVal_int(args(4), &val5);
18504 if (!SWIG_IsOK(ecode5)) {
18505 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plenv0" "', argument " "5"" of type '" "PLINT""'");
18506 }
18507 arg5 = static_cast< PLINT >(val5);
18508 ecode6 = SWIG_AsVal_int(args(5), &val6);
18509 if (!SWIG_IsOK(ecode6)) {
18510 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plenv0" "', argument " "6"" of type '" "PLINT""'");
18511 }
18512 arg6 = static_cast< PLINT >(val6);
18513 plenv0(arg1,arg2,arg3,arg4,arg5,arg6);
18514 _outv = octave_value();
18515 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18516 return _out;
18517 fail:
18518 return octave_value_list();
18519 }
18520 catch(...) {
18521 throw;
18522 }
18523}
18524
18525
18527 octave_value_list _out;
18528 octave_value_list *_outp=&_out;
18529 octave_value _outv;
18530
18531 try {
18532 if (!SWIG_check_num_args("pleop",args.length(),0,0,0)) {
18533 SWIG_fail;
18534 }
18535 pleop();
18536 _outv = octave_value();
18537 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18538 return _out;
18539 fail:
18540 return octave_value_list();
18541 }
18542 catch(...) {
18543 throw;
18544 }
18545}
18546
18547
18549 PLINT arg1 ;
18550 PLFLT *arg2 = 0 ;
18551 PLFLT *arg3 = 0 ;
18552 PLFLT *arg4 = 0 ;
18553 Matrix temp1 ;
18554 Matrix temp3 ;
18555 Matrix temp4 ;
18556 octave_value_list _out;
18557 octave_value_list *_outp=&_out;
18558 octave_value _outv;
18559
18560 try {
18561 if (!SWIG_check_num_args("plerrx",args.length(),3,3,0)) {
18562 SWIG_fail;
18563 }
18564 {
18565 if ( _n_dims( args(0) ) > 1 )
18566 {
18567 error( "argument must be a scalar or vector" ); SWIG_fail;
18568 }
18569 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
18570 temp1 = args(0).matrix_value();
18571 arg2 = &temp1( 0, 0 );
18572 }
18573 {
18574 if ( _n_dims( args(1) ) > 1 )
18575 {
18576 error( "argument must be a scalar or vector" ); SWIG_fail;
18577 }
18578 if ( _dim( args(1), 0 ) != Alen )
18579 {
18580 error( "argument vectors must be same length" ); SWIG_fail;
18581 }
18582 temp3 = args(1).matrix_value();
18583 arg3 = &temp3( 0, 0 );
18584 }
18585 {
18586 if ( _n_dims( args(2) ) > 1 )
18587 {
18588 error( "argument must be a scalar or vector" ); SWIG_fail;
18589 }
18590 if ( _dim( args(2), 0 ) != Alen )
18591 {
18592 error( "argument vectors must be same length" ); SWIG_fail;
18593 }
18594 temp4 = args(2).matrix_value();
18595 arg4 = &temp4( 0, 0 );
18596 }
18597 plerrx(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
18598 _outv = octave_value();
18599 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18600 {
18601
18602 }
18603 {
18604
18605 }
18606 {
18607
18608 }
18609 return _out;
18610 fail:
18611 {
18612
18613 }
18614 {
18615
18616 }
18617 {
18618
18619 }
18620 return octave_value_list();
18621 }
18622 catch(...) {
18623 {
18624
18625 }
18626 {
18627
18628 }
18629 {
18630
18631 }
18632 throw;
18633 }
18634}
18635
18636
18638 PLINT arg1 ;
18639 PLFLT *arg2 = 0 ;
18640 PLFLT *arg3 = 0 ;
18641 PLFLT *arg4 = 0 ;
18642 Matrix temp1 ;
18643 Matrix temp3 ;
18644 Matrix temp4 ;
18645 octave_value_list _out;
18646 octave_value_list *_outp=&_out;
18647 octave_value _outv;
18648
18649 try {
18650 if (!SWIG_check_num_args("plerry",args.length(),3,3,0)) {
18651 SWIG_fail;
18652 }
18653 {
18654 if ( _n_dims( args(0) ) > 1 )
18655 {
18656 error( "argument must be a scalar or vector" ); SWIG_fail;
18657 }
18658 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
18659 temp1 = args(0).matrix_value();
18660 arg2 = &temp1( 0, 0 );
18661 }
18662 {
18663 if ( _n_dims( args(1) ) > 1 )
18664 {
18665 error( "argument must be a scalar or vector" ); SWIG_fail;
18666 }
18667 if ( _dim( args(1), 0 ) != Alen )
18668 {
18669 error( "argument vectors must be same length" ); SWIG_fail;
18670 }
18671 temp3 = args(1).matrix_value();
18672 arg3 = &temp3( 0, 0 );
18673 }
18674 {
18675 if ( _n_dims( args(2) ) > 1 )
18676 {
18677 error( "argument must be a scalar or vector" ); SWIG_fail;
18678 }
18679 if ( _dim( args(2), 0 ) != Alen )
18680 {
18681 error( "argument vectors must be same length" ); SWIG_fail;
18682 }
18683 temp4 = args(2).matrix_value();
18684 arg4 = &temp4( 0, 0 );
18685 }
18686 plerry(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
18687 _outv = octave_value();
18688 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18689 {
18690
18691 }
18692 {
18693
18694 }
18695 {
18696
18697 }
18698 return _out;
18699 fail:
18700 {
18701
18702 }
18703 {
18704
18705 }
18706 {
18707
18708 }
18709 return octave_value_list();
18710 }
18711 catch(...) {
18712 {
18713
18714 }
18715 {
18716
18717 }
18718 {
18719
18720 }
18721 throw;
18722 }
18723}
18724
18725
18727 octave_value_list _out;
18728 octave_value_list *_outp=&_out;
18729 octave_value _outv;
18730
18731 try {
18732 if (!SWIG_check_num_args("plfamadv",args.length(),0,0,0)) {
18733 SWIG_fail;
18734 }
18735 plfamadv();
18736 _outv = octave_value();
18737 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18738 return _out;
18739 fail:
18740 return octave_value_list();
18741 }
18742 catch(...) {
18743 throw;
18744 }
18745}
18746
18747
18749 PLINT arg1 ;
18750 PLFLT *arg2 = 0 ;
18751 PLFLT *arg3 = 0 ;
18752 Matrix temp1 ;
18753 Matrix temp3 ;
18754 octave_value_list _out;
18755 octave_value_list *_outp=&_out;
18756 octave_value _outv;
18757
18758 try {
18759 if (!SWIG_check_num_args("plfill",args.length(),2,2,0)) {
18760 SWIG_fail;
18761 }
18762 {
18763 if ( _n_dims( args(0) ) > 1 )
18764 {
18765 error( "argument must be a scalar or vector" ); SWIG_fail;
18766 }
18767 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
18768 temp1 = args(0).matrix_value();
18769 arg2 = &temp1( 0, 0 );
18770 }
18771 {
18772 if ( _n_dims( args(1) ) > 1 )
18773 {
18774 error( "argument must be a scalar or vector" ); SWIG_fail;
18775 }
18776 if ( _dim( args(1), 0 ) != Alen )
18777 {
18778 error( "argument vectors must be same length" ); SWIG_fail;
18779 }
18780 temp3 = args(1).matrix_value();
18781 arg3 = &temp3( 0, 0 );
18782 }
18783 plfill(arg1,(double const *)arg2,(double const *)arg3);
18784 _outv = octave_value();
18785 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18786 {
18787
18788 }
18789 {
18790
18791 }
18792 return _out;
18793 fail:
18794 {
18795
18796 }
18797 {
18798
18799 }
18800 return octave_value_list();
18801 }
18802 catch(...) {
18803 {
18804
18805 }
18806 {
18807
18808 }
18809 throw;
18810 }
18811}
18812
18813
18815 PLINT arg1 ;
18816 PLFLT *arg2 = 0 ;
18817 PLFLT *arg3 = 0 ;
18818 PLFLT *arg4 = 0 ;
18819 Matrix temp1 ;
18820 Matrix temp3 ;
18821 Matrix temp4 ;
18822 octave_value_list _out;
18823 octave_value_list *_outp=&_out;
18824 octave_value _outv;
18825
18826 try {
18827 if (!SWIG_check_num_args("plfill3",args.length(),3,3,0)) {
18828 SWIG_fail;
18829 }
18830 {
18831 if ( _n_dims( args(0) ) > 1 )
18832 {
18833 error( "argument must be a scalar or vector" ); SWIG_fail;
18834 }
18835 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
18836 temp1 = args(0).matrix_value();
18837 arg2 = &temp1( 0, 0 );
18838 }
18839 {
18840 if ( _n_dims( args(1) ) > 1 )
18841 {
18842 error( "argument must be a scalar or vector" ); SWIG_fail;
18843 }
18844 if ( _dim( args(1), 0 ) != Alen )
18845 {
18846 error( "argument vectors must be same length" ); SWIG_fail;
18847 }
18848 temp3 = args(1).matrix_value();
18849 arg3 = &temp3( 0, 0 );
18850 }
18851 {
18852 if ( _n_dims( args(2) ) > 1 )
18853 {
18854 error( "argument must be a scalar or vector" ); SWIG_fail;
18855 }
18856 if ( _dim( args(2), 0 ) != Alen )
18857 {
18858 error( "argument vectors must be same length" ); SWIG_fail;
18859 }
18860 temp4 = args(2).matrix_value();
18861 arg4 = &temp4( 0, 0 );
18862 }
18863 plfill3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
18864 _outv = octave_value();
18865 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18866 {
18867
18868 }
18869 {
18870
18871 }
18872 {
18873
18874 }
18875 return _out;
18876 fail:
18877 {
18878
18879 }
18880 {
18881
18882 }
18883 {
18884
18885 }
18886 return octave_value_list();
18887 }
18888 catch(...) {
18889 {
18890
18891 }
18892 {
18893
18894 }
18895 {
18896
18897 }
18898 throw;
18899 }
18900}
18901
18902
18904 PLINT arg1 ;
18905 PLFLT *arg2 = 0 ;
18906 PLFLT *arg3 = 0 ;
18907 PLFLT arg4 ;
18908 Matrix temp1 ;
18909 Matrix temp3 ;
18910 double val4 ;
18911 int ecode4 = 0 ;
18912 octave_value_list _out;
18913 octave_value_list *_outp=&_out;
18914 octave_value _outv;
18915
18916 try {
18917 if (!SWIG_check_num_args("plgradient",args.length(),3,3,0)) {
18918 SWIG_fail;
18919 }
18920 {
18921 if ( _n_dims( args(0) ) > 1 )
18922 {
18923 error( "argument must be a scalar or vector" ); SWIG_fail;
18924 }
18925 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
18926 temp1 = args(0).matrix_value();
18927 arg2 = &temp1( 0, 0 );
18928 }
18929 {
18930 if ( _n_dims( args(1) ) > 1 )
18931 {
18932 error( "argument must be a scalar or vector" ); SWIG_fail;
18933 }
18934 if ( _dim( args(1), 0 ) != Alen )
18935 {
18936 error( "argument vectors must be same length" ); SWIG_fail;
18937 }
18938 temp3 = args(1).matrix_value();
18939 arg3 = &temp3( 0, 0 );
18940 }
18941 ecode4 = SWIG_AsVal_double(args(2), &val4);
18942 if (!SWIG_IsOK(ecode4)) {
18943 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plgradient" "', argument " "4"" of type '" "PLFLT""'");
18944 }
18945 arg4 = static_cast< PLFLT >(val4);
18946 plgradient(arg1,(double const *)arg2,(double const *)arg3,arg4);
18947 _outv = octave_value();
18948 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18949 {
18950
18951 }
18952 {
18953
18954 }
18955 return _out;
18956 fail:
18957 {
18958
18959 }
18960 {
18961
18962 }
18963 return octave_value_list();
18964 }
18965 catch(...) {
18966 {
18967
18968 }
18969 {
18970
18971 }
18972 throw;
18973 }
18974}
18975
18976
18978 octave_value_list _out;
18979 octave_value_list *_outp=&_out;
18980 octave_value _outv;
18981
18982 try {
18983 if (!SWIG_check_num_args("plflush",args.length(),0,0,0)) {
18984 SWIG_fail;
18985 }
18986 plflush();
18987 _outv = octave_value();
18988 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18989 return _out;
18990 fail:
18991 return octave_value_list();
18992 }
18993 catch(...) {
18994 throw;
18995 }
18996}
18997
18998
19000 PLINT arg1 ;
19001 int val1 ;
19002 int ecode1 = 0 ;
19003 octave_value_list _out;
19004 octave_value_list *_outp=&_out;
19005 octave_value _outv;
19006
19007 try {
19008 if (!SWIG_check_num_args("plfont",args.length(),1,1,0)) {
19009 SWIG_fail;
19010 }
19011 ecode1 = SWIG_AsVal_int(args(0), &val1);
19012 if (!SWIG_IsOK(ecode1)) {
19013 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plfont" "', argument " "1"" of type '" "PLINT""'");
19014 }
19015 arg1 = static_cast< PLINT >(val1);
19016 plfont(arg1);
19017 _outv = octave_value();
19018 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19019 return _out;
19020 fail:
19021 return octave_value_list();
19022 }
19023 catch(...) {
19024 throw;
19025 }
19026}
19027
19028
19030 PLINT arg1 ;
19031 int val1 ;
19032 int ecode1 = 0 ;
19033 octave_value_list _out;
19034 octave_value_list *_outp=&_out;
19035 octave_value _outv;
19036
19037 try {
19038 if (!SWIG_check_num_args("plfontld",args.length(),1,1,0)) {
19039 SWIG_fail;
19040 }
19041 ecode1 = SWIG_AsVal_int(args(0), &val1);
19042 if (!SWIG_IsOK(ecode1)) {
19043 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plfontld" "', argument " "1"" of type '" "PLINT""'");
19044 }
19045 arg1 = static_cast< PLINT >(val1);
19046 plfontld(arg1);
19047 _outv = octave_value();
19048 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19049 return _out;
19050 fail:
19051 return octave_value_list();
19052 }
19053 catch(...) {
19054 throw;
19055 }
19056}
19057
19058
19060 PLFLT *arg1 = 0 ;
19061 PLFLT *arg2 = 0 ;
19062 PLFLT temp1 ;
19063 int res1 = SWIG_TMPOBJ ;
19064 PLFLT temp2 ;
19065 int res2 = SWIG_TMPOBJ ;
19066 octave_value_list _out;
19067 octave_value_list *_outp=&_out;
19068 octave_value _outv;
19069
19070 try {
19071 arg1 = &temp1;
19072 arg2 = &temp2;
19073 if (!SWIG_check_num_args("plgchr",args.length(),0,0,0)) {
19074 SWIG_fail;
19075 }
19076 plgchr(arg1,arg2);
19077 _outv = octave_value();
19078 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19079 if (SWIG_IsTmpObj(res1)) {
19080 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
19081 } else {
19082 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19083 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
19084 }
19085 if (SWIG_IsTmpObj(res2)) {
19086 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
19087 } else {
19088 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19089 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
19090 }
19091 return _out;
19092 fail:
19093 return octave_value_list();
19094 }
19095 catch(...) {
19096 throw;
19097 }
19098}
19099
19100
19102 PLINT arg1 ;
19103 PLINT *arg2 = 0 ;
19104 PLINT *arg3 = 0 ;
19105 PLINT *arg4 = 0 ;
19106 int val1 ;
19107 int ecode1 = 0 ;
19108 PLINT temp2 ;
19109 int res2 = SWIG_TMPOBJ ;
19110 PLINT temp3 ;
19111 int res3 = SWIG_TMPOBJ ;
19112 PLINT temp4 ;
19113 int res4 = SWIG_TMPOBJ ;
19114 octave_value_list _out;
19115 octave_value_list *_outp=&_out;
19116 octave_value _outv;
19117
19118 try {
19119 arg2 = &temp2;
19120 arg3 = &temp3;
19121 arg4 = &temp4;
19122 if (!SWIG_check_num_args("plgcol0",args.length(),1,1,0)) {
19123 SWIG_fail;
19124 }
19125 ecode1 = SWIG_AsVal_int(args(0), &val1);
19126 if (!SWIG_IsOK(ecode1)) {
19127 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plgcol0" "', argument " "1"" of type '" "PLINT""'");
19128 }
19129 arg1 = static_cast< PLINT >(val1);
19130 plgcol0(arg1,arg2,arg3,arg4);
19131 _outv = octave_value();
19132 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19133 if (SWIG_IsTmpObj(res2)) {
19134 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
19135 } else {
19136 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19137 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19138 }
19139 if (SWIG_IsTmpObj(res3)) {
19140 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
19141 } else {
19142 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19143 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
19144 }
19145 if (SWIG_IsTmpObj(res4)) {
19146 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg4)));
19147 } else {
19148 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19149 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
19150 }
19151 return _out;
19152 fail:
19153 return octave_value_list();
19154 }
19155 catch(...) {
19156 throw;
19157 }
19158}
19159
19160
19162 PLINT arg1 ;
19163 PLINT *arg2 = 0 ;
19164 PLINT *arg3 = 0 ;
19165 PLINT *arg4 = 0 ;
19166 PLFLT *arg5 = 0 ;
19167 int val1 ;
19168 int ecode1 = 0 ;
19169 PLINT temp2 ;
19170 int res2 = SWIG_TMPOBJ ;
19171 PLINT temp3 ;
19172 int res3 = SWIG_TMPOBJ ;
19173 PLINT temp4 ;
19174 int res4 = SWIG_TMPOBJ ;
19175 PLFLT temp5 ;
19176 int res5 = SWIG_TMPOBJ ;
19177 octave_value_list _out;
19178 octave_value_list *_outp=&_out;
19179 octave_value _outv;
19180
19181 try {
19182 arg2 = &temp2;
19183 arg3 = &temp3;
19184 arg4 = &temp4;
19185 arg5 = &temp5;
19186 if (!SWIG_check_num_args("plgcol0a",args.length(),1,1,0)) {
19187 SWIG_fail;
19188 }
19189 ecode1 = SWIG_AsVal_int(args(0), &val1);
19190 if (!SWIG_IsOK(ecode1)) {
19191 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plgcol0a" "', argument " "1"" of type '" "PLINT""'");
19192 }
19193 arg1 = static_cast< PLINT >(val1);
19194 plgcol0a(arg1,arg2,arg3,arg4,arg5);
19195 _outv = octave_value();
19196 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19197 if (SWIG_IsTmpObj(res2)) {
19198 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
19199 } else {
19200 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19201 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19202 }
19203 if (SWIG_IsTmpObj(res3)) {
19204 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
19205 } else {
19206 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19207 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
19208 }
19209 if (SWIG_IsTmpObj(res4)) {
19210 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg4)));
19211 } else {
19212 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19213 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
19214 }
19215 if (SWIG_IsTmpObj(res5)) {
19216 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg5)));
19217 } else {
19218 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19219 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags));
19220 }
19221 return _out;
19222 fail:
19223 return octave_value_list();
19224 }
19225 catch(...) {
19226 throw;
19227 }
19228}
19229
19230
19232 PLINT *arg1 = 0 ;
19233 PLINT *arg2 = 0 ;
19234 PLINT *arg3 = 0 ;
19235 PLINT temp1 ;
19236 int res1 = SWIG_TMPOBJ ;
19237 PLINT temp2 ;
19238 int res2 = SWIG_TMPOBJ ;
19239 PLINT temp3 ;
19240 int res3 = SWIG_TMPOBJ ;
19241 octave_value_list _out;
19242 octave_value_list *_outp=&_out;
19243 octave_value _outv;
19244
19245 try {
19246 arg1 = &temp1;
19247 arg2 = &temp2;
19248 arg3 = &temp3;
19249 if (!SWIG_check_num_args("plgcolbg",args.length(),0,0,0)) {
19250 SWIG_fail;
19251 }
19252 plgcolbg(arg1,arg2,arg3);
19253 _outv = octave_value();
19254 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19255 if (SWIG_IsTmpObj(res1)) {
19256 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19257 } else {
19258 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19259 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19260 }
19261 if (SWIG_IsTmpObj(res2)) {
19262 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
19263 } else {
19264 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19265 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19266 }
19267 if (SWIG_IsTmpObj(res3)) {
19268 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
19269 } else {
19270 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19271 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
19272 }
19273 return _out;
19274 fail:
19275 return octave_value_list();
19276 }
19277 catch(...) {
19278 throw;
19279 }
19280}
19281
19282
19284 PLINT *arg1 = 0 ;
19285 PLINT *arg2 = 0 ;
19286 PLINT *arg3 = 0 ;
19287 PLFLT *arg4 = 0 ;
19288 PLINT temp1 ;
19289 int res1 = SWIG_TMPOBJ ;
19290 PLINT temp2 ;
19291 int res2 = SWIG_TMPOBJ ;
19292 PLINT temp3 ;
19293 int res3 = SWIG_TMPOBJ ;
19294 PLFLT temp4 ;
19295 int res4 = SWIG_TMPOBJ ;
19296 octave_value_list _out;
19297 octave_value_list *_outp=&_out;
19298 octave_value _outv;
19299
19300 try {
19301 arg1 = &temp1;
19302 arg2 = &temp2;
19303 arg3 = &temp3;
19304 arg4 = &temp4;
19305 if (!SWIG_check_num_args("plgcolbga",args.length(),0,0,0)) {
19306 SWIG_fail;
19307 }
19308 plgcolbga(arg1,arg2,arg3,arg4);
19309 _outv = octave_value();
19310 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19311 if (SWIG_IsTmpObj(res1)) {
19312 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19313 } else {
19314 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19315 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19316 }
19317 if (SWIG_IsTmpObj(res2)) {
19318 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
19319 } else {
19320 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19321 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19322 }
19323 if (SWIG_IsTmpObj(res3)) {
19324 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
19325 } else {
19326 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19327 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
19328 }
19329 if (SWIG_IsTmpObj(res4)) {
19330 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
19331 } else {
19332 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19333 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
19334 }
19335 return _out;
19336 fail:
19337 return octave_value_list();
19338 }
19339 catch(...) {
19340 throw;
19341 }
19342}
19343
19344
19345SWIG_DEFUN( plgcompression, _wrap_plgcompression, _wrap_plgcompression_texinfo ) {
19346 PLINT *arg1 = 0 ;
19347 PLINT temp1 ;
19348 int res1 = SWIG_TMPOBJ ;
19349 octave_value_list _out;
19350 octave_value_list *_outp=&_out;
19351 octave_value _outv;
19352
19353 try {
19354 arg1 = &temp1;
19355 if (!SWIG_check_num_args("plgcompression",args.length(),0,0,0)) {
19356 SWIG_fail;
19357 }
19358 plgcompression(arg1);
19359 _outv = octave_value();
19360 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19361 if (SWIG_IsTmpObj(res1)) {
19362 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19363 } else {
19364 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19365 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19366 }
19367 return _out;
19368 fail:
19369 return octave_value_list();
19370 }
19371 catch(...) {
19372 throw;
19373 }
19374}
19375
19376
19378 char *arg1 = 0 ;
19379 char local_string1[80] ;
19380 size_t local_string_length1 ;
19381 charMatrix local_charMatrix1 ;
19382 octave_value_list retval1 ;
19383 octave_value_list _out;
19384 octave_value_list *_outp=&_out;
19385 octave_value _outv;
19386
19387 try {
19388 {
19389 arg1 = local_string1;
19390 }
19391 if (!SWIG_check_num_args("plgdev",args.length(),0,0,0)) {
19392 SWIG_fail;
19393 }
19394 plgdev(arg1);
19395 _outv = octave_value();
19396 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19397 {
19398 local_string_length1 = strlen( local_string1 );
19399 local_charMatrix1 = charMatrix( 1, local_string_length1 );
19400 local_charMatrix1.insert( local_string1, 0, 0 );
19401 retval1( 0 ) = octave_value( local_charMatrix1 );
19402 _outp = SWIG_Octave_AppendOutput(_outp, retval1( 0 ));
19403 }
19404 return _out;
19405 fail:
19406 return octave_value_list();
19407 }
19408 catch(...) {
19409 throw;
19410 }
19411}
19412
19413
19415 PLFLT *arg1 = 0 ;
19416 PLFLT *arg2 = 0 ;
19417 PLFLT *arg3 = 0 ;
19418 PLFLT *arg4 = 0 ;
19419 PLFLT temp1 ;
19420 int res1 = SWIG_TMPOBJ ;
19421 PLFLT temp2 ;
19422 int res2 = SWIG_TMPOBJ ;
19423 PLFLT temp3 ;
19424 int res3 = SWIG_TMPOBJ ;
19425 PLFLT temp4 ;
19426 int res4 = SWIG_TMPOBJ ;
19427 octave_value_list _out;
19428 octave_value_list *_outp=&_out;
19429 octave_value _outv;
19430
19431 try {
19432 arg1 = &temp1;
19433 arg2 = &temp2;
19434 arg3 = &temp3;
19435 arg4 = &temp4;
19436 if (!SWIG_check_num_args("plgdidev",args.length(),0,0,0)) {
19437 SWIG_fail;
19438 }
19439 plgdidev(arg1,arg2,arg3,arg4);
19440 _outv = octave_value();
19441 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19442 if (SWIG_IsTmpObj(res1)) {
19443 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
19444 } else {
19445 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19446 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
19447 }
19448 if (SWIG_IsTmpObj(res2)) {
19449 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
19450 } else {
19451 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19452 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
19453 }
19454 if (SWIG_IsTmpObj(res3)) {
19455 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg3)));
19456 } else {
19457 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19458 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags));
19459 }
19460 if (SWIG_IsTmpObj(res4)) {
19461 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
19462 } else {
19463 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19464 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
19465 }
19466 return _out;
19467 fail:
19468 return octave_value_list();
19469 }
19470 catch(...) {
19471 throw;
19472 }
19473}
19474
19475
19477 PLFLT *arg1 = 0 ;
19478 PLFLT temp1 ;
19479 int res1 = SWIG_TMPOBJ ;
19480 octave_value_list _out;
19481 octave_value_list *_outp=&_out;
19482 octave_value _outv;
19483
19484 try {
19485 arg1 = &temp1;
19486 if (!SWIG_check_num_args("plgdiori",args.length(),0,0,0)) {
19487 SWIG_fail;
19488 }
19489 plgdiori(arg1);
19490 _outv = octave_value();
19491 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19492 if (SWIG_IsTmpObj(res1)) {
19493 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
19494 } else {
19495 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19496 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
19497 }
19498 return _out;
19499 fail:
19500 return octave_value_list();
19501 }
19502 catch(...) {
19503 throw;
19504 }
19505}
19506
19507
19509 PLFLT *arg1 = 0 ;
19510 PLFLT *arg2 = 0 ;
19511 PLFLT *arg3 = 0 ;
19512 PLFLT *arg4 = 0 ;
19513 PLFLT temp1 ;
19514 int res1 = SWIG_TMPOBJ ;
19515 PLFLT temp2 ;
19516 int res2 = SWIG_TMPOBJ ;
19517 PLFLT temp3 ;
19518 int res3 = SWIG_TMPOBJ ;
19519 PLFLT temp4 ;
19520 int res4 = SWIG_TMPOBJ ;
19521 octave_value_list _out;
19522 octave_value_list *_outp=&_out;
19523 octave_value _outv;
19524
19525 try {
19526 arg1 = &temp1;
19527 arg2 = &temp2;
19528 arg3 = &temp3;
19529 arg4 = &temp4;
19530 if (!SWIG_check_num_args("plgdiplt",args.length(),0,0,0)) {
19531 SWIG_fail;
19532 }
19533 plgdiplt(arg1,arg2,arg3,arg4);
19534 _outv = octave_value();
19535 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19536 if (SWIG_IsTmpObj(res1)) {
19537 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
19538 } else {
19539 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19540 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
19541 }
19542 if (SWIG_IsTmpObj(res2)) {
19543 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
19544 } else {
19545 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19546 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
19547 }
19548 if (SWIG_IsTmpObj(res3)) {
19549 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg3)));
19550 } else {
19551 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19552 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags));
19553 }
19554 if (SWIG_IsTmpObj(res4)) {
19555 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
19556 } else {
19557 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19558 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
19559 }
19560 return _out;
19561 fail:
19562 return octave_value_list();
19563 }
19564 catch(...) {
19565 throw;
19566 }
19567}
19568
19569
19571 PLINT *arg1 = 0 ;
19572 PLINT *arg2 = 0 ;
19573 PLINT *arg3 = 0 ;
19574 PLINT temp1 ;
19575 int res1 = SWIG_TMPOBJ ;
19576 PLINT temp2 ;
19577 int res2 = SWIG_TMPOBJ ;
19578 PLINT temp3 ;
19579 int res3 = SWIG_TMPOBJ ;
19580 octave_value_list _out;
19581 octave_value_list *_outp=&_out;
19582 octave_value _outv;
19583
19584 try {
19585 arg1 = &temp1;
19586 arg2 = &temp2;
19587 arg3 = &temp3;
19588 if (!SWIG_check_num_args("plgfam",args.length(),0,0,0)) {
19589 SWIG_fail;
19590 }
19591 plgfam(arg1,arg2,arg3);
19592 _outv = octave_value();
19593 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19594 if (SWIG_IsTmpObj(res1)) {
19595 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19596 } else {
19597 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19598 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19599 }
19600 if (SWIG_IsTmpObj(res2)) {
19601 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
19602 } else {
19603 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19604 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19605 }
19606 if (SWIG_IsTmpObj(res3)) {
19607 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
19608 } else {
19609 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19610 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
19611 }
19612 return _out;
19613 fail:
19614 return octave_value_list();
19615 }
19616 catch(...) {
19617 throw;
19618 }
19619}
19620
19621
19623 PLUNICODE *arg1 = 0 ;
19624 PLUNICODE temp1 ;
19625 int res1 = SWIG_TMPOBJ ;
19626 octave_value_list _out;
19627 octave_value_list *_outp=&_out;
19628 octave_value _outv;
19629
19630 try {
19631 arg1 = &temp1;
19632 if (!SWIG_check_num_args("plgfci",args.length(),0,0,0)) {
19633 SWIG_fail;
19634 }
19635 plgfci(arg1);
19636 _outv = octave_value();
19637 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19638 if (SWIG_IsTmpObj(res1)) {
19639 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_unsigned_SS_int((*arg1)));
19640 } else {
19641 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19642 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_unsigned_int, new_flags));
19643 }
19644 return _out;
19645 fail:
19646 return octave_value_list();
19647 }
19648 catch(...) {
19649 throw;
19650 }
19651}
19652
19653
19655 char *arg1 = 0 ;
19656 char local_string1[80] ;
19657 size_t local_string_length1 ;
19658 charMatrix local_charMatrix1 ;
19659 octave_value_list retval1 ;
19660 octave_value_list _out;
19661 octave_value_list *_outp=&_out;
19662 octave_value _outv;
19663
19664 try {
19665 {
19666 arg1 = local_string1;
19667 }
19668 if (!SWIG_check_num_args("plgfnam",args.length(),0,0,0)) {
19669 SWIG_fail;
19670 }
19671 plgfnam(arg1);
19672 _outv = octave_value();
19673 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19674 {
19675 local_string_length1 = strlen( local_string1 );
19676 local_charMatrix1 = charMatrix( 1, local_string_length1 );
19677 local_charMatrix1.insert( local_string1, 0, 0 );
19678 retval1( 0 ) = octave_value( local_charMatrix1 );
19679 _outp = SWIG_Octave_AppendOutput(_outp, retval1( 0 ));
19680 }
19681 return _out;
19682 fail:
19683 return octave_value_list();
19684 }
19685 catch(...) {
19686 throw;
19687 }
19688}
19689
19690
19692 PLINT *arg1 = 0 ;
19693 PLINT *arg2 = 0 ;
19694 PLINT *arg3 = 0 ;
19695 PLINT temp1 ;
19696 int res1 = SWIG_TMPOBJ ;
19697 PLINT temp2 ;
19698 int res2 = SWIG_TMPOBJ ;
19699 PLINT temp3 ;
19700 int res3 = SWIG_TMPOBJ ;
19701 octave_value_list _out;
19702 octave_value_list *_outp=&_out;
19703 octave_value _outv;
19704
19705 try {
19706 arg1 = &temp1;
19707 arg2 = &temp2;
19708 arg3 = &temp3;
19709 if (!SWIG_check_num_args("plgfont",args.length(),0,0,0)) {
19710 SWIG_fail;
19711 }
19712 plgfont(arg1,arg2,arg3);
19713 _outv = octave_value();
19714 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19715 if (SWIG_IsTmpObj(res1)) {
19716 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19717 } else {
19718 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19719 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19720 }
19721 if (SWIG_IsTmpObj(res2)) {
19722 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
19723 } else {
19724 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19725 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19726 }
19727 if (SWIG_IsTmpObj(res3)) {
19728 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
19729 } else {
19730 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19731 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
19732 }
19733 return _out;
19734 fail:
19735 return octave_value_list();
19736 }
19737 catch(...) {
19738 throw;
19739 }
19740}
19741
19742
19744 PLINT *arg1 = 0 ;
19745 PLINT temp1 ;
19746 int res1 = SWIG_TMPOBJ ;
19747 octave_value_list _out;
19748 octave_value_list *_outp=&_out;
19749 octave_value _outv;
19750
19751 try {
19752 arg1 = &temp1;
19753 if (!SWIG_check_num_args("plglevel",args.length(),0,0,0)) {
19754 SWIG_fail;
19755 }
19756 plglevel(arg1);
19757 _outv = octave_value();
19758 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19759 if (SWIG_IsTmpObj(res1)) {
19760 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19761 } else {
19762 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19763 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19764 }
19765 return _out;
19766 fail:
19767 return octave_value_list();
19768 }
19769 catch(...) {
19770 throw;
19771 }
19772}
19773
19774
19776 PLFLT *arg1 = 0 ;
19777 PLFLT *arg2 = 0 ;
19778 PLINT *arg3 = 0 ;
19779 PLINT *arg4 = 0 ;
19780 PLINT *arg5 = 0 ;
19781 PLINT *arg6 = 0 ;
19782 PLFLT temp1 ;
19783 int res1 = SWIG_TMPOBJ ;
19784 PLFLT temp2 ;
19785 int res2 = SWIG_TMPOBJ ;
19786 PLINT temp3 ;
19787 int res3 = SWIG_TMPOBJ ;
19788 PLINT temp4 ;
19789 int res4 = SWIG_TMPOBJ ;
19790 PLINT temp5 ;
19791 int res5 = SWIG_TMPOBJ ;
19792 PLINT temp6 ;
19793 int res6 = SWIG_TMPOBJ ;
19794 octave_value_list _out;
19795 octave_value_list *_outp=&_out;
19796 octave_value _outv;
19797
19798 try {
19799 arg1 = &temp1;
19800 arg2 = &temp2;
19801 arg3 = &temp3;
19802 arg4 = &temp4;
19803 arg5 = &temp5;
19804 arg6 = &temp6;
19805 if (!SWIG_check_num_args("plgpage",args.length(),0,0,0)) {
19806 SWIG_fail;
19807 }
19808 plgpage(arg1,arg2,arg3,arg4,arg5,arg6);
19809 _outv = octave_value();
19810 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19811 if (SWIG_IsTmpObj(res1)) {
19812 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
19813 } else {
19814 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19815 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
19816 }
19817 if (SWIG_IsTmpObj(res2)) {
19818 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
19819 } else {
19820 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19821 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
19822 }
19823 if (SWIG_IsTmpObj(res3)) {
19824 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
19825 } else {
19826 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19827 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
19828 }
19829 if (SWIG_IsTmpObj(res4)) {
19830 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg4)));
19831 } else {
19832 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19833 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
19834 }
19835 if (SWIG_IsTmpObj(res5)) {
19836 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg5)));
19837 } else {
19838 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19839 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
19840 }
19841 if (SWIG_IsTmpObj(res6)) {
19842 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg6)));
19843 } else {
19844 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19845 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, new_flags));
19846 }
19847 return _out;
19848 fail:
19849 return octave_value_list();
19850 }
19851 catch(...) {
19852 throw;
19853 }
19854}
19855
19856
19858 octave_value_list _out;
19859 octave_value_list *_outp=&_out;
19860 octave_value _outv;
19861
19862 try {
19863 if (!SWIG_check_num_args("plgra",args.length(),0,0,0)) {
19864 SWIG_fail;
19865 }
19866 plgra();
19867 _outv = octave_value();
19868 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19869 return _out;
19870 fail:
19871 return octave_value_list();
19872 }
19873 catch(...) {
19874 throw;
19875 }
19876}
19877
19878
19880 PLFLT *arg1 = 0 ;
19881 PLFLT *arg2 = 0 ;
19882 PLFLT *arg3 = 0 ;
19883 PLFLT *arg4 = 0 ;
19884 PLFLT temp1 ;
19885 int res1 = SWIG_TMPOBJ ;
19886 PLFLT temp2 ;
19887 int res2 = SWIG_TMPOBJ ;
19888 PLFLT temp3 ;
19889 int res3 = SWIG_TMPOBJ ;
19890 PLFLT temp4 ;
19891 int res4 = SWIG_TMPOBJ ;
19892 octave_value_list _out;
19893 octave_value_list *_outp=&_out;
19894 octave_value _outv;
19895
19896 try {
19897 arg1 = &temp1;
19898 arg2 = &temp2;
19899 arg3 = &temp3;
19900 arg4 = &temp4;
19901 if (!SWIG_check_num_args("plgspa",args.length(),0,0,0)) {
19902 SWIG_fail;
19903 }
19904 plgspa(arg1,arg2,arg3,arg4);
19905 _outv = octave_value();
19906 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19907 if (SWIG_IsTmpObj(res1)) {
19908 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
19909 } else {
19910 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19911 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
19912 }
19913 if (SWIG_IsTmpObj(res2)) {
19914 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
19915 } else {
19916 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19917 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
19918 }
19919 if (SWIG_IsTmpObj(res3)) {
19920 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg3)));
19921 } else {
19922 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19923 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags));
19924 }
19925 if (SWIG_IsTmpObj(res4)) {
19926 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
19927 } else {
19928 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19929 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
19930 }
19931 return _out;
19932 fail:
19933 return octave_value_list();
19934 }
19935 catch(...) {
19936 throw;
19937 }
19938}
19939
19940
19942 PLINT *arg1 = 0 ;
19943 PLINT temp1 ;
19944 int res1 = SWIG_TMPOBJ ;
19945 octave_value_list _out;
19946 octave_value_list *_outp=&_out;
19947 octave_value _outv;
19948
19949 try {
19950 arg1 = &temp1;
19951 if (!SWIG_check_num_args("plgstrm",args.length(),0,0,0)) {
19952 SWIG_fail;
19953 }
19954 plgstrm(arg1);
19955 _outv = octave_value();
19956 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19957 if (SWIG_IsTmpObj(res1)) {
19958 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19959 } else {
19960 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19961 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19962 }
19963 return _out;
19964 fail:
19965 return octave_value_list();
19966 }
19967 catch(...) {
19968 throw;
19969 }
19970}
19971
19972
19974 char *arg1 = 0 ;
19975 char local_string1[80] ;
19976 size_t local_string_length1 ;
19977 charMatrix local_charMatrix1 ;
19978 octave_value_list retval1 ;
19979 octave_value_list _out;
19980 octave_value_list *_outp=&_out;
19981 octave_value _outv;
19982
19983 try {
19984 {
19985 arg1 = local_string1;
19986 }
19987 if (!SWIG_check_num_args("plgver",args.length(),0,0,0)) {
19988 SWIG_fail;
19989 }
19990 plgver(arg1);
19991 _outv = octave_value();
19992 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19993 {
19994 local_string_length1 = strlen( local_string1 );
19995 local_charMatrix1 = charMatrix( 1, local_string_length1 );
19996 local_charMatrix1.insert( local_string1, 0, 0 );
19997 retval1( 0 ) = octave_value( local_charMatrix1 );
19998 _outp = SWIG_Octave_AppendOutput(_outp, retval1( 0 ));
19999 }
20000 return _out;
20001 fail:
20002 return octave_value_list();
20003 }
20004 catch(...) {
20005 throw;
20006 }
20007}
20008
20009
20011 PLFLT *arg1 = 0 ;
20012 PLFLT *arg2 = 0 ;
20013 PLFLT *arg3 = 0 ;
20014 PLFLT *arg4 = 0 ;
20015 PLFLT temp1 ;
20016 int res1 = SWIG_TMPOBJ ;
20017 PLFLT temp2 ;
20018 int res2 = SWIG_TMPOBJ ;
20019 PLFLT temp3 ;
20020 int res3 = SWIG_TMPOBJ ;
20021 PLFLT temp4 ;
20022 int res4 = SWIG_TMPOBJ ;
20023 octave_value_list _out;
20024 octave_value_list *_outp=&_out;
20025 octave_value _outv;
20026
20027 try {
20028 arg1 = &temp1;
20029 arg2 = &temp2;
20030 arg3 = &temp3;
20031 arg4 = &temp4;
20032 if (!SWIG_check_num_args("plgvpd",args.length(),0,0,0)) {
20033 SWIG_fail;
20034 }
20035 plgvpd(arg1,arg2,arg3,arg4);
20036 _outv = octave_value();
20037 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20038 if (SWIG_IsTmpObj(res1)) {
20039 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
20040 } else {
20041 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20042 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
20043 }
20044 if (SWIG_IsTmpObj(res2)) {
20045 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
20046 } else {
20047 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20048 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
20049 }
20050 if (SWIG_IsTmpObj(res3)) {
20051 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg3)));
20052 } else {
20053 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20054 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags));
20055 }
20056 if (SWIG_IsTmpObj(res4)) {
20057 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
20058 } else {
20059 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20060 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
20061 }
20062 return _out;
20063 fail:
20064 return octave_value_list();
20065 }
20066 catch(...) {
20067 throw;
20068 }
20069}
20070
20071
20073 PLFLT *arg1 = 0 ;
20074 PLFLT *arg2 = 0 ;
20075 PLFLT *arg3 = 0 ;
20076 PLFLT *arg4 = 0 ;
20077 PLFLT temp1 ;
20078 int res1 = SWIG_TMPOBJ ;
20079 PLFLT temp2 ;
20080 int res2 = SWIG_TMPOBJ ;
20081 PLFLT temp3 ;
20082 int res3 = SWIG_TMPOBJ ;
20083 PLFLT temp4 ;
20084 int res4 = SWIG_TMPOBJ ;
20085 octave_value_list _out;
20086 octave_value_list *_outp=&_out;
20087 octave_value _outv;
20088
20089 try {
20090 arg1 = &temp1;
20091 arg2 = &temp2;
20092 arg3 = &temp3;
20093 arg4 = &temp4;
20094 if (!SWIG_check_num_args("plgvpw",args.length(),0,0,0)) {
20095 SWIG_fail;
20096 }
20097 plgvpw(arg1,arg2,arg3,arg4);
20098 _outv = octave_value();
20099 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20100 if (SWIG_IsTmpObj(res1)) {
20101 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
20102 } else {
20103 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20104 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
20105 }
20106 if (SWIG_IsTmpObj(res2)) {
20107 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
20108 } else {
20109 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20110 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
20111 }
20112 if (SWIG_IsTmpObj(res3)) {
20113 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg3)));
20114 } else {
20115 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20116 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags));
20117 }
20118 if (SWIG_IsTmpObj(res4)) {
20119 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
20120 } else {
20121 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20122 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
20123 }
20124 return _out;
20125 fail:
20126 return octave_value_list();
20127 }
20128 catch(...) {
20129 throw;
20130 }
20131}
20132
20133
20135 PLINT *arg1 = 0 ;
20136 PLINT *arg2 = 0 ;
20137 PLINT temp1 ;
20138 int res1 = SWIG_TMPOBJ ;
20139 PLINT temp2 ;
20140 int res2 = SWIG_TMPOBJ ;
20141 octave_value_list _out;
20142 octave_value_list *_outp=&_out;
20143 octave_value _outv;
20144
20145 try {
20146 arg1 = &temp1;
20147 arg2 = &temp2;
20148 if (!SWIG_check_num_args("plgxax",args.length(),0,0,0)) {
20149 SWIG_fail;
20150 }
20151 plgxax(arg1,arg2);
20152 _outv = octave_value();
20153 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20154 if (SWIG_IsTmpObj(res1)) {
20155 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
20156 } else {
20157 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20158 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
20159 }
20160 if (SWIG_IsTmpObj(res2)) {
20161 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
20162 } else {
20163 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20164 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
20165 }
20166 return _out;
20167 fail:
20168 return octave_value_list();
20169 }
20170 catch(...) {
20171 throw;
20172 }
20173}
20174
20175
20177 PLINT *arg1 = 0 ;
20178 PLINT *arg2 = 0 ;
20179 PLINT temp1 ;
20180 int res1 = SWIG_TMPOBJ ;
20181 PLINT temp2 ;
20182 int res2 = SWIG_TMPOBJ ;
20183 octave_value_list _out;
20184 octave_value_list *_outp=&_out;
20185 octave_value _outv;
20186
20187 try {
20188 arg1 = &temp1;
20189 arg2 = &temp2;
20190 if (!SWIG_check_num_args("plgyax",args.length(),0,0,0)) {
20191 SWIG_fail;
20192 }
20193 plgyax(arg1,arg2);
20194 _outv = octave_value();
20195 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20196 if (SWIG_IsTmpObj(res1)) {
20197 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
20198 } else {
20199 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20200 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
20201 }
20202 if (SWIG_IsTmpObj(res2)) {
20203 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
20204 } else {
20205 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20206 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
20207 }
20208 return _out;
20209 fail:
20210 return octave_value_list();
20211 }
20212 catch(...) {
20213 throw;
20214 }
20215}
20216
20217
20219 PLINT *arg1 = 0 ;
20220 PLINT *arg2 = 0 ;
20221 PLINT temp1 ;
20222 int res1 = SWIG_TMPOBJ ;
20223 PLINT temp2 ;
20224 int res2 = SWIG_TMPOBJ ;
20225 octave_value_list _out;
20226 octave_value_list *_outp=&_out;
20227 octave_value _outv;
20228
20229 try {
20230 arg1 = &temp1;
20231 arg2 = &temp2;
20232 if (!SWIG_check_num_args("plgzax",args.length(),0,0,0)) {
20233 SWIG_fail;
20234 }
20235 plgzax(arg1,arg2);
20236 _outv = octave_value();
20237 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20238 if (SWIG_IsTmpObj(res1)) {
20239 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
20240 } else {
20241 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20242 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
20243 }
20244 if (SWIG_IsTmpObj(res2)) {
20245 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
20246 } else {
20247 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20248 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
20249 }
20250 return _out;
20251 fail:
20252 return octave_value_list();
20253 }
20254 catch(...) {
20255 throw;
20256 }
20257}
20258
20259
20261 PLINT arg1 ;
20262 PLFLT *arg2 = 0 ;
20263 PLFLT arg3 ;
20264 PLFLT arg4 ;
20265 PLINT arg5 ;
20266 PLINT arg6 ;
20267 Matrix temp1 ;
20268 double val3 ;
20269 int ecode3 = 0 ;
20270 double val4 ;
20271 int ecode4 = 0 ;
20272 int val5 ;
20273 int ecode5 = 0 ;
20274 int val6 ;
20275 int ecode6 = 0 ;
20276 octave_value_list _out;
20277 octave_value_list *_outp=&_out;
20278 octave_value _outv;
20279
20280 try {
20281 if (!SWIG_check_num_args("plhist",args.length(),5,5,0)) {
20282 SWIG_fail;
20283 }
20284 {
20285 if ( _n_dims( args(0) ) > 1 )
20286 {
20287 error( "argument must be a scalar or vector" ); SWIG_fail;
20288 }
20289 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
20290 temp1 = args(0).matrix_value();
20291 arg2 = &temp1( 0, 0 );
20292 }
20293 ecode3 = SWIG_AsVal_double(args(1), &val3);
20294 if (!SWIG_IsOK(ecode3)) {
20295 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plhist" "', argument " "3"" of type '" "PLFLT""'");
20296 }
20297 arg3 = static_cast< PLFLT >(val3);
20298 ecode4 = SWIG_AsVal_double(args(2), &val4);
20299 if (!SWIG_IsOK(ecode4)) {
20300 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plhist" "', argument " "4"" of type '" "PLFLT""'");
20301 }
20302 arg4 = static_cast< PLFLT >(val4);
20303 ecode5 = SWIG_AsVal_int(args(3), &val5);
20304 if (!SWIG_IsOK(ecode5)) {
20305 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plhist" "', argument " "5"" of type '" "PLINT""'");
20306 }
20307 arg5 = static_cast< PLINT >(val5);
20308 ecode6 = SWIG_AsVal_int(args(4), &val6);
20309 if (!SWIG_IsOK(ecode6)) {
20310 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plhist" "', argument " "6"" of type '" "PLINT""'");
20311 }
20312 arg6 = static_cast< PLINT >(val6);
20313 plhist(arg1,(double const *)arg2,arg3,arg4,arg5,arg6);
20314 _outv = octave_value();
20315 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20316 {
20317
20318 }
20319 return _out;
20320 fail:
20321 {
20322
20323 }
20324 return octave_value_list();
20325 }
20326 catch(...) {
20327 {
20328
20329 }
20330 throw;
20331 }
20332}
20333
20334
20336 PLFLT arg1 ;
20337 PLFLT arg2 ;
20338 PLFLT arg3 ;
20339 PLFLT *arg4 = 0 ;
20340 PLFLT *arg5 = 0 ;
20341 PLFLT *arg6 = 0 ;
20342 double val1 ;
20343 int ecode1 = 0 ;
20344 double val2 ;
20345 int ecode2 = 0 ;
20346 double val3 ;
20347 int ecode3 = 0 ;
20348 PLFLT temp4 ;
20349 int res4 = SWIG_TMPOBJ ;
20350 PLFLT temp5 ;
20351 int res5 = SWIG_TMPOBJ ;
20352 PLFLT temp6 ;
20353 int res6 = SWIG_TMPOBJ ;
20354 octave_value_list _out;
20355 octave_value_list *_outp=&_out;
20356 octave_value _outv;
20357
20358 try {
20359 arg4 = &temp4;
20360 arg5 = &temp5;
20361 arg6 = &temp6;
20362 if (!SWIG_check_num_args("plhlsrgb",args.length(),3,3,0)) {
20363 SWIG_fail;
20364 }
20365 ecode1 = SWIG_AsVal_double(args(0), &val1);
20366 if (!SWIG_IsOK(ecode1)) {
20367 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plhlsrgb" "', argument " "1"" of type '" "PLFLT""'");
20368 }
20369 arg1 = static_cast< PLFLT >(val1);
20370 ecode2 = SWIG_AsVal_double(args(1), &val2);
20371 if (!SWIG_IsOK(ecode2)) {
20372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plhlsrgb" "', argument " "2"" of type '" "PLFLT""'");
20373 }
20374 arg2 = static_cast< PLFLT >(val2);
20375 ecode3 = SWIG_AsVal_double(args(2), &val3);
20376 if (!SWIG_IsOK(ecode3)) {
20377 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plhlsrgb" "', argument " "3"" of type '" "PLFLT""'");
20378 }
20379 arg3 = static_cast< PLFLT >(val3);
20380 plhlsrgb(arg1,arg2,arg3,arg4,arg5,arg6);
20381 _outv = octave_value();
20382 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20383 if (SWIG_IsTmpObj(res4)) {
20384 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
20385 } else {
20386 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20387 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
20388 }
20389 if (SWIG_IsTmpObj(res5)) {
20390 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg5)));
20391 } else {
20392 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20393 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags));
20394 }
20395 if (SWIG_IsTmpObj(res6)) {
20396 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg6)));
20397 } else {
20398 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20399 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags));
20400 }
20401 return _out;
20402 fail:
20403 return octave_value_list();
20404 }
20405 catch(...) {
20406 throw;
20407 }
20408}
20409
20410
20412 octave_value_list _out;
20413 octave_value_list *_outp=&_out;
20414 octave_value _outv;
20415
20416 try {
20417 if (!SWIG_check_num_args("plinit",args.length(),0,0,0)) {
20418 SWIG_fail;
20419 }
20420 plinit();
20421 _outv = octave_value();
20422 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20423 return _out;
20424 fail:
20425 return octave_value_list();
20426 }
20427 catch(...) {
20428 throw;
20429 }
20430}
20431
20432
20434 PLFLT arg1 ;
20435 PLFLT arg2 ;
20436 PLFLT arg3 ;
20437 PLFLT arg4 ;
20438 double val1 ;
20439 int ecode1 = 0 ;
20440 double val2 ;
20441 int ecode2 = 0 ;
20442 double val3 ;
20443 int ecode3 = 0 ;
20444 double val4 ;
20445 int ecode4 = 0 ;
20446 octave_value_list _out;
20447 octave_value_list *_outp=&_out;
20448 octave_value _outv;
20449
20450 try {
20451 if (!SWIG_check_num_args("pljoin",args.length(),4,4,0)) {
20452 SWIG_fail;
20453 }
20454 ecode1 = SWIG_AsVal_double(args(0), &val1);
20455 if (!SWIG_IsOK(ecode1)) {
20456 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pljoin" "', argument " "1"" of type '" "PLFLT""'");
20457 }
20458 arg1 = static_cast< PLFLT >(val1);
20459 ecode2 = SWIG_AsVal_double(args(1), &val2);
20460 if (!SWIG_IsOK(ecode2)) {
20461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pljoin" "', argument " "2"" of type '" "PLFLT""'");
20462 }
20463 arg2 = static_cast< PLFLT >(val2);
20464 ecode3 = SWIG_AsVal_double(args(2), &val3);
20465 if (!SWIG_IsOK(ecode3)) {
20466 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pljoin" "', argument " "3"" of type '" "PLFLT""'");
20467 }
20468 arg3 = static_cast< PLFLT >(val3);
20469 ecode4 = SWIG_AsVal_double(args(3), &val4);
20470 if (!SWIG_IsOK(ecode4)) {
20471 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pljoin" "', argument " "4"" of type '" "PLFLT""'");
20472 }
20473 arg4 = static_cast< PLFLT >(val4);
20474 pljoin(arg1,arg2,arg3,arg4);
20475 _outv = octave_value();
20476 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20477 return _out;
20478 fail:
20479 return octave_value_list();
20480 }
20481 catch(...) {
20482 throw;
20483 }
20484}
20485
20486
20488 char *arg1 = 0 ;
20489 char *arg2 = 0 ;
20490 char *arg3 = 0 ;
20491 int res1 ;
20492 char *buf1 = 0 ;
20493 int alloc1 = 0 ;
20494 int res2 ;
20495 char *buf2 = 0 ;
20496 int alloc2 = 0 ;
20497 int res3 ;
20498 char *buf3 = 0 ;
20499 int alloc3 = 0 ;
20500 octave_value_list _out;
20501 octave_value_list *_outp=&_out;
20502 octave_value _outv;
20503
20504 try {
20505 if (!SWIG_check_num_args("pllab",args.length(),3,3,0)) {
20506 SWIG_fail;
20507 }
20508 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
20509 if (!SWIG_IsOK(res1)) {
20510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pllab" "', argument " "1"" of type '" "char const *""'");
20511 }
20512 arg1 = reinterpret_cast< char * >(buf1);
20513 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
20514 if (!SWIG_IsOK(res2)) {
20515 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pllab" "', argument " "2"" of type '" "char const *""'");
20516 }
20517 arg2 = reinterpret_cast< char * >(buf2);
20518 res3 = SWIG_AsCharPtrAndSize(args(2), &buf3, NULL, &alloc3);
20519 if (!SWIG_IsOK(res3)) {
20520 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pllab" "', argument " "3"" of type '" "char const *""'");
20521 }
20522 arg3 = reinterpret_cast< char * >(buf3);
20523 pllab((char const *)arg1,(char const *)arg2,(char const *)arg3);
20524 _outv = octave_value();
20525 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20526 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
20527 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
20528 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
20529 return _out;
20530 fail:
20531 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
20532 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
20533 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
20534 return octave_value_list();
20535 }
20536 catch(...) {
20537 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
20538 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
20539 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
20540 throw;
20541 }
20542}
20543
20544
20546 PLFLT *arg1 = 0 ;
20547 PLFLT *arg2 = 0 ;
20548 PLINT arg3 ;
20549 PLINT arg4 ;
20550 PLFLT arg5 ;
20551 PLFLT arg6 ;
20552 PLFLT arg7 ;
20553 PLINT arg8 ;
20554 PLINT arg9 ;
20555 PLINT arg10 ;
20556 PLINT arg11 ;
20557 PLINT arg12 ;
20558 PLINT arg13 ;
20559 PLINT *arg14 = 0 ;
20560 PLFLT arg15 ;
20561 PLFLT arg16 ;
20562 PLFLT arg17 ;
20563 PLFLT arg18 ;
20564 PLINT *arg19 = 0 ;
20565 char **arg20 = 0 ;
20566 PLINT *arg21 = 0 ;
20567 PLINT *arg22 = 0 ;
20568 PLFLT *arg23 = 0 ;
20569 PLFLT *arg24 = 0 ;
20570 PLINT *arg25 = 0 ;
20571 PLINT *arg26 = 0 ;
20572 PLFLT *arg27 = 0 ;
20573 PLINT *arg28 = 0 ;
20574 PLFLT *arg29 = 0 ;
20575 PLINT *arg30 = 0 ;
20576 char **arg31 = 0 ;
20577 PLFLT temp1 ;
20578 int res1 = SWIG_TMPOBJ ;
20579 PLFLT temp2 ;
20580 int res2 = SWIG_TMPOBJ ;
20581 int val3 ;
20582 int ecode3 = 0 ;
20583 int val4 ;
20584 int ecode4 = 0 ;
20585 double val5 ;
20586 int ecode5 = 0 ;
20587 double val6 ;
20588 int ecode6 = 0 ;
20589 double val7 ;
20590 int ecode7 = 0 ;
20591 int val8 ;
20592 int ecode8 = 0 ;
20593 int val9 ;
20594 int ecode9 = 0 ;
20595 int val10 ;
20596 int ecode10 = 0 ;
20597 int val11 ;
20598 int ecode11 = 0 ;
20599 int val12 ;
20600 int ecode12 = 0 ;
20601 Matrix temp13 ;
20602 double val15 ;
20603 int ecode15 = 0 ;
20604 double val16 ;
20605 int ecode16 = 0 ;
20606 double val17 ;
20607 int ecode17 = 0 ;
20608 double val18 ;
20609 int ecode18 = 0 ;
20610 Matrix temp19 ;
20611 Matrix temp21 ;
20612 Matrix temp22 ;
20613 Matrix temp23 ;
20614 Matrix temp24 ;
20615 Matrix temp25 ;
20616 Matrix temp26 ;
20617 Matrix temp27 ;
20618 Matrix temp28 ;
20619 Matrix temp29 ;
20620 Matrix temp30 ;
20621 octave_value_list _out;
20622 octave_value_list *_outp=&_out;
20623 octave_value _outv;
20624
20625 try {
20626 arg1 = &temp1;
20627 arg2 = &temp2;
20628 if (!SWIG_check_num_args("pllegend",args.length(),28,28,0)) {
20629 SWIG_fail;
20630 }
20631 ecode3 = SWIG_AsVal_int(args(0), &val3);
20632 if (!SWIG_IsOK(ecode3)) {
20633 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pllegend" "', argument " "3"" of type '" "PLINT""'");
20634 }
20635 arg3 = static_cast< PLINT >(val3);
20636 ecode4 = SWIG_AsVal_int(args(1), &val4);
20637 if (!SWIG_IsOK(ecode4)) {
20638 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pllegend" "', argument " "4"" of type '" "PLINT""'");
20639 }
20640 arg4 = static_cast< PLINT >(val4);
20641 ecode5 = SWIG_AsVal_double(args(2), &val5);
20642 if (!SWIG_IsOK(ecode5)) {
20643 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pllegend" "', argument " "5"" of type '" "PLFLT""'");
20644 }
20645 arg5 = static_cast< PLFLT >(val5);
20646 ecode6 = SWIG_AsVal_double(args(3), &val6);
20647 if (!SWIG_IsOK(ecode6)) {
20648 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "pllegend" "', argument " "6"" of type '" "PLFLT""'");
20649 }
20650 arg6 = static_cast< PLFLT >(val6);
20651 ecode7 = SWIG_AsVal_double(args(4), &val7);
20652 if (!SWIG_IsOK(ecode7)) {
20653 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "pllegend" "', argument " "7"" of type '" "PLFLT""'");
20654 }
20655 arg7 = static_cast< PLFLT >(val7);
20656 ecode8 = SWIG_AsVal_int(args(5), &val8);
20657 if (!SWIG_IsOK(ecode8)) {
20658 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "pllegend" "', argument " "8"" of type '" "PLINT""'");
20659 }
20660 arg8 = static_cast< PLINT >(val8);
20661 ecode9 = SWIG_AsVal_int(args(6), &val9);
20662 if (!SWIG_IsOK(ecode9)) {
20663 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "pllegend" "', argument " "9"" of type '" "PLINT""'");
20664 }
20665 arg9 = static_cast< PLINT >(val9);
20666 ecode10 = SWIG_AsVal_int(args(7), &val10);
20667 if (!SWIG_IsOK(ecode10)) {
20668 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "pllegend" "', argument " "10"" of type '" "PLINT""'");
20669 }
20670 arg10 = static_cast< PLINT >(val10);
20671 ecode11 = SWIG_AsVal_int(args(8), &val11);
20672 if (!SWIG_IsOK(ecode11)) {
20673 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "pllegend" "', argument " "11"" of type '" "PLINT""'");
20674 }
20675 arg11 = static_cast< PLINT >(val11);
20676 ecode12 = SWIG_AsVal_int(args(9), &val12);
20677 if (!SWIG_IsOK(ecode12)) {
20678 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "pllegend" "', argument " "12"" of type '" "PLINT""'");
20679 }
20680 arg12 = static_cast< PLINT >(val12);
20681 {
20682 if ( _n_dims( args(10) ) > 1 )
20683 {
20684 error( "argument must be a scalar or vector" ); SWIG_fail;
20685 }
20686 arg13 = Alen = (PLINT) ( _dim( args(10), 0 ) );
20687 arg14 = new PLINT[Alen];
20688 temp13 = args(10).matrix_value();
20689 _cvt_double_to( arg14, &temp13( 0, 0 ), Alen );
20690 }
20691 ecode15 = SWIG_AsVal_double(args(11), &val15);
20692 if (!SWIG_IsOK(ecode15)) {
20693 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "pllegend" "', argument " "15"" of type '" "PLFLT""'");
20694 }
20695 arg15 = static_cast< PLFLT >(val15);
20696 ecode16 = SWIG_AsVal_double(args(12), &val16);
20697 if (!SWIG_IsOK(ecode16)) {
20698 SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "pllegend" "', argument " "16"" of type '" "PLFLT""'");
20699 }
20700 arg16 = static_cast< PLFLT >(val16);
20701 ecode17 = SWIG_AsVal_double(args(13), &val17);
20702 if (!SWIG_IsOK(ecode17)) {
20703 SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "pllegend" "', argument " "17"" of type '" "PLFLT""'");
20704 }
20705 arg17 = static_cast< PLFLT >(val17);
20706 ecode18 = SWIG_AsVal_double(args(14), &val18);
20707 if (!SWIG_IsOK(ecode18)) {
20708 SWIG_exception_fail(SWIG_ArgError(ecode18), "in method '" "pllegend" "', argument " "18"" of type '" "PLFLT""'");
20709 }
20710 arg18 = static_cast< PLFLT >(val18);
20711 {
20712 if ( _n_dims( args(15) ) > 1 )
20713 {
20714 error( "argument must be a scalar or vector" ); SWIG_fail;
20715 }
20716 if ( _dim( args(15), 0 ) != Alen )
20717 {
20718 error( "argument vectors must be same length" ); SWIG_fail;
20719 }
20720 temp19 = args(15).matrix_value();
20721 arg19 = new PLINT[Alen];
20722 _cvt_double_to( arg19, &temp19( 0, 0 ), Alen );
20723 }
20724 {
20725 charMatrix temp_matrix;
20726 Cell temp_cell;
20727 char *tmp_cstring;
20728 std::string str;
20729 size_t max_length = 0, non_blank_length;
20730 int i, ifcell;
20731 if ( _n_dims( args(16) ) > 2 )
20732 {
20733 error( "argument must be a scalar or vector or matrix" ); SWIG_fail;
20734 }
20735#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20736 if ( !args(16).isempty() )
20737#else
20738 if ( !args(16).is_empty() )
20739#endif
20740 {
20741 if ( _dim( args(16), 0 ) != Alen )
20742 {
20743 error( "first dimension must be same length as previous vector" ); SWIG_fail;
20744 }
20745 arg20 = new char*[Alen];
20746#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20747 ifcell = args(16).iscell();
20748#else
20749 ifcell = args(16).is_cell();
20750#endif
20751 if ( ifcell )
20752 {
20753 temp_cell = args(16).cell_value();
20754 }
20755 else
20756 {
20757 temp_matrix = args(16).char_matrix_value();
20758 // Allow one extra space for null termination.
20759 max_length = _dim( args(16), 1 ) + 1;
20760 }
20761
20762 for ( i = 0; i < Alen; i++ )
20763 {
20764 // Must copy string to "permanent" location because the string
20765 // location corresponding to tmp_cstring gets
20766 // overwritten for each iteration of loop.
20767 if ( ifcell )
20768 {
20769 if ( temp_cell.elem( i ).is_string() )
20770 {
20771 str = temp_cell.elem( i ).string_value();
20772 // leave room for null termination.
20773 max_length = str.size() + 1;
20774 tmp_cstring = (char *) str.c_str();
20775 }
20776 else
20777 {
20778 // Use null string if user attempts to pass a cell array
20779 // with a non-string element (likely an empty element
20780 // since that should be allowed by the PLplot interface
20781 // if that element is going to be unused).
20782 // leave room for null termination.
20783 max_length = 1;
20784 tmp_cstring = (char *) "";
20785 }
20786 }
20787 else
20788 {
20789 str = temp_matrix.row_as_string( i );
20790 tmp_cstring = (char *) str.c_str();
20791 }
20792 arg20[i] = new char[max_length];
20793 strncpy( arg20[i], tmp_cstring, max_length - 1 );
20794 arg20[i][max_length - 1] = '\0';
20795 // All the trailing blank crapola should not be needed for
20796 // string cell arrays.
20797 if ( !ifcell )
20798 {
20799 // remove trailing-blank padding that is used by the
20800 // charMatrix class to insure all strings in a given
20801 // charMatrix instance have the same length.
20802 // This transformation also removes legitimate trailing
20803 // blanks but there is nothing we can do about that
20804 // for the charMatrix class.
20805
20806 // Look for trailing nulls first (just in case, although that
20807 // shouldn't happen if charMatrix implemented as documented)
20808 // before looking for trailing blanks.
20809 non_blank_length = max_length - 2;
20810 while ( non_blank_length >= 0 && arg20[i][non_blank_length] == '\0' )
20811 {
20812 non_blank_length--;
20813 }
20814 while ( non_blank_length >= 0 && arg20[i][non_blank_length] == ' ' )
20815 {
20816 non_blank_length--;
20817 }
20818 arg20[i][non_blank_length + 1] = '\0';
20819 }
20820 }
20821 }
20822 else
20823 {
20824 arg20 = NULL;
20825 }
20826 }
20827 {
20828 if ( _n_dims( args(17) ) > 1 )
20829 {
20830 error( "argument must be a scalar or vector" ); SWIG_fail;
20831 }
20832#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20833 if ( !args(17).isempty() )
20834#else
20835 if ( !args(17).is_empty() )
20836#endif
20837 {
20838 if ( _dim( args(17), 0 ) != Alen )
20839 {
20840 error( "argument vectors must be same length" ); SWIG_fail;
20841 }
20842 temp21 = args(17).matrix_value();
20843 arg21 = new PLINT[Alen];
20844 _cvt_double_to( arg21, &temp21( 0, 0 ), Alen );
20845 }
20846 else
20847 {
20848 arg21 = NULL;
20849 }
20850 }
20851 {
20852 if ( _n_dims( args(18) ) > 1 )
20853 {
20854 error( "argument must be a scalar or vector" ); SWIG_fail;
20855 }
20856#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20857 if ( !args(18).isempty() )
20858#else
20859 if ( !args(18).is_empty() )
20860#endif
20861 {
20862 if ( _dim( args(18), 0 ) != Alen )
20863 {
20864 error( "argument vectors must be same length" ); SWIG_fail;
20865 }
20866 temp22 = args(18).matrix_value();
20867 arg22 = new PLINT[Alen];
20868 _cvt_double_to( arg22, &temp22( 0, 0 ), Alen );
20869 }
20870 else
20871 {
20872 arg22 = NULL;
20873 }
20874 }
20875 {
20876 if ( _n_dims( args(19) ) > 1 )
20877 {
20878 error( "argument must be a scalar or vector" ); SWIG_fail;
20879 }
20880#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20881 if ( !args(19).isempty() )
20882#else
20883 if ( !args(19).is_empty() )
20884#endif
20885 {
20886 if ( _dim( args(19), 0 ) != Alen )
20887 {
20888 error( "argument vectors must be same length" ); SWIG_fail;
20889 }
20890 temp23 = args(19).matrix_value();
20891 arg23 = &temp23( 0, 0 );
20892 }
20893 else
20894 {
20895 arg23 = NULL;
20896 }
20897 }
20898 {
20899 if ( _n_dims( args(20) ) > 1 )
20900 {
20901 error( "argument must be a scalar or vector" ); SWIG_fail;
20902 }
20903#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20904 if ( !args(20).isempty() )
20905#else
20906 if ( !args(20).is_empty() )
20907#endif
20908 {
20909 if ( _dim( args(20), 0 ) != Alen )
20910 {
20911 error( "argument vectors must be same length" ); SWIG_fail;
20912 }
20913 temp24 = args(20).matrix_value();
20914 arg24 = &temp24( 0, 0 );
20915 }
20916 else
20917 {
20918 arg24 = NULL;
20919 }
20920 }
20921 {
20922 if ( _n_dims( args(21) ) > 1 )
20923 {
20924 error( "argument must be a scalar or vector" ); SWIG_fail;
20925 }
20926#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20927 if ( !args(21).isempty() )
20928#else
20929 if ( !args(21).is_empty() )
20930#endif
20931 {
20932 if ( _dim( args(21), 0 ) != Alen )
20933 {
20934 error( "argument vectors must be same length" ); SWIG_fail;
20935 }
20936 temp25 = args(21).matrix_value();
20937 arg25 = new PLINT[Alen];
20938 _cvt_double_to( arg25, &temp25( 0, 0 ), Alen );
20939 }
20940 else
20941 {
20942 arg25 = NULL;
20943 }
20944 }
20945 {
20946 if ( _n_dims( args(22) ) > 1 )
20947 {
20948 error( "argument must be a scalar or vector" ); SWIG_fail;
20949 }
20950#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20951 if ( !args(22).isempty() )
20952#else
20953 if ( !args(22).is_empty() )
20954#endif
20955 {
20956 if ( _dim( args(22), 0 ) != Alen )
20957 {
20958 error( "argument vectors must be same length" ); SWIG_fail;
20959 }
20960 temp26 = args(22).matrix_value();
20961 arg26 = new PLINT[Alen];
20962 _cvt_double_to( arg26, &temp26( 0, 0 ), Alen );
20963 }
20964 else
20965 {
20966 arg26 = NULL;
20967 }
20968 }
20969 {
20970 if ( _n_dims( args(23) ) > 1 )
20971 {
20972 error( "argument must be a scalar or vector" ); SWIG_fail;
20973 }
20974#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20975 if ( !args(23).isempty() )
20976#else
20977 if ( !args(23).is_empty() )
20978#endif
20979 {
20980 if ( _dim( args(23), 0 ) != Alen )
20981 {
20982 error( "argument vectors must be same length" ); SWIG_fail;
20983 }
20984 temp27 = args(23).matrix_value();
20985 arg27 = &temp27( 0, 0 );
20986 }
20987 else
20988 {
20989 arg27 = NULL;
20990 }
20991 }
20992 {
20993 if ( _n_dims( args(24) ) > 1 )
20994 {
20995 error( "argument must be a scalar or vector" ); SWIG_fail;
20996 }
20997#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20998 if ( !args(24).isempty() )
20999#else
21000 if ( !args(24).is_empty() )
21001#endif
21002 {
21003 if ( _dim( args(24), 0 ) != Alen )
21004 {
21005 error( "argument vectors must be same length" ); SWIG_fail;
21006 }
21007 temp28 = args(24).matrix_value();
21008 arg28 = new PLINT[Alen];
21009 _cvt_double_to( arg28, &temp28( 0, 0 ), Alen );
21010 }
21011 else
21012 {
21013 arg28 = NULL;
21014 }
21015 }
21016 {
21017 if ( _n_dims( args(25) ) > 1 )
21018 {
21019 error( "argument must be a scalar or vector" ); SWIG_fail;
21020 }
21021#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
21022 if ( !args(25).isempty() )
21023#else
21024 if ( !args(25).is_empty() )
21025#endif
21026 {
21027 if ( _dim( args(25), 0 ) != Alen )
21028 {
21029 error( "argument vectors must be same length" ); SWIG_fail;
21030 }
21031 temp29 = args(25).matrix_value();
21032 arg29 = &temp29( 0, 0 );
21033 }
21034 else
21035 {
21036 arg29 = NULL;
21037 }
21038 }
21039 {
21040 if ( _n_dims( args(26) ) > 1 )
21041 {
21042 error( "argument must be a scalar or vector" ); SWIG_fail;
21043 }
21044#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
21045 if ( !args(26).isempty() )
21046#else
21047 if ( !args(26).is_empty() )
21048#endif
21049 {
21050 if ( _dim( args(26), 0 ) != Alen )
21051 {
21052 error( "argument vectors must be same length" ); SWIG_fail;
21053 }
21054 temp30 = args(26).matrix_value();
21055 arg30 = new PLINT[Alen];
21056 _cvt_double_to( arg30, &temp30( 0, 0 ), Alen );
21057 }
21058 else
21059 {
21060 arg30 = NULL;
21061 }
21062 }
21063 {
21064 charMatrix temp_matrix;
21065 Cell temp_cell;
21066 char *tmp_cstring;
21067 std::string str;
21068 size_t max_length = 0, non_blank_length;
21069 int i, ifcell;
21070 if ( _n_dims( args(27) ) > 2 )
21071 {
21072 error( "argument must be a scalar or vector or matrix" ); SWIG_fail;
21073 }
21074#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
21075 if ( !args(27).isempty() )
21076#else
21077 if ( !args(27).is_empty() )
21078#endif
21079 {
21080 if ( _dim( args(27), 0 ) != Alen )
21081 {
21082 error( "first dimension must be same length as previous vector" ); SWIG_fail;
21083 }
21084 arg31 = new char*[Alen];
21085#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
21086 ifcell = args(27).iscell();
21087#else
21088 ifcell = args(27).is_cell();
21089#endif
21090 if ( ifcell )
21091 {
21092 temp_cell = args(27).cell_value();
21093 }
21094 else
21095 {
21096 temp_matrix = args(27).char_matrix_value();
21097 // Allow one extra space for null termination.
21098 max_length = _dim( args(27), 1 ) + 1;
21099 }
21100
21101 for ( i = 0; i < Alen; i++ )
21102 {
21103 // Must copy string to "permanent" location because the string
21104 // location corresponding to tmp_cstring gets
21105 // overwritten for each iteration of loop.
21106 if ( ifcell )
21107 {
21108 if ( temp_cell.elem( i ).is_string() )
21109 {
21110 str = temp_cell.elem( i ).string_value();
21111 // leave room for null termination.
21112 max_length = str.size() + 1;
21113 tmp_cstring = (char *) str.c_str();
21114 }
21115 else
21116 {
21117 // Use null string if user attempts to pass a cell array
21118 // with a non-string element (likely an empty element
21119 // since that should be allowed by the PLplot interface
21120 // if that element is going to be unused).
21121 // leave room for null termination.
21122 max_length = 1;
21123 tmp_cstring = (char *) "";
21124 }
21125 }
21126 else
21127 {
21128 str = temp_matrix.row_as_string( i );
21129 tmp_cstring = (char *) str.c_str();
21130 }
21131 arg31[i] = new char[max_length];
21132 strncpy( arg31[i], tmp_cstring, max_length - 1 );
21133 arg31[i][max_length - 1] = '\0';
21134 // All the trailing blank crapola should not be needed for
21135 // string cell arrays.
21136 if ( !ifcell )
21137 {
21138 // remove trailing-blank padding that is used by the
21139 // charMatrix class to insure all strings in a given
21140 // charMatrix instance have the same length.
21141 // This transformation also removes legitimate trailing
21142 // blanks but there is nothing we can do about that
21143 // for the charMatrix class.
21144
21145 // Look for trailing nulls first (just in case, although that
21146 // shouldn't happen if charMatrix implemented as documented)
21147 // before looking for trailing blanks.
21148 non_blank_length = max_length - 2;
21149 while ( non_blank_length >= 0 && arg31[i][non_blank_length] == '\0' )
21150 {
21151 non_blank_length--;
21152 }
21153 while ( non_blank_length >= 0 && arg31[i][non_blank_length] == ' ' )
21154 {
21155 non_blank_length--;
21156 }
21157 arg31[i][non_blank_length + 1] = '\0';
21158 }
21159 }
21160 }
21161 else
21162 {
21163 arg31 = NULL;
21164 }
21165 }
21166 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);
21167 _outv = octave_value();
21168 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21169 if (SWIG_IsTmpObj(res1)) {
21170 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
21171 } else {
21172 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21173 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
21174 }
21175 if (SWIG_IsTmpObj(res2)) {
21176 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
21177 } else {
21178 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21179 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
21180 }
21181 {
21182 delete [] arg14;
21183 }
21184 {
21185 delete [] arg19;
21186 }
21187 {
21188 int i;
21189 if ( arg20 != NULL )
21190 {
21191 for ( i = 0; i < Alen; i++ )
21192 {
21193 delete[] arg20[i];
21194 }
21195 delete[] arg20;
21196 }
21197 }
21198 {
21199 if ( arg21 != NULL )
21200 delete [] arg21;
21201 }
21202 {
21203 if ( arg22 != NULL )
21204 delete [] arg22;
21205 }
21206 {
21207
21208 }
21209 {
21210
21211 }
21212 {
21213 if ( arg25 != NULL )
21214 delete [] arg25;
21215 }
21216 {
21217 if ( arg26 != NULL )
21218 delete [] arg26;
21219 }
21220 {
21221
21222 }
21223 {
21224 if ( arg28 != NULL )
21225 delete [] arg28;
21226 }
21227 {
21228
21229 }
21230 {
21231 if ( arg30 != NULL )
21232 delete [] arg30;
21233 }
21234 {
21235 int i;
21236 if ( arg31 != NULL )
21237 {
21238 for ( i = 0; i < Alen; i++ )
21239 {
21240 delete[] arg31[i];
21241 }
21242 delete[] arg31;
21243 }
21244 }
21245 return _out;
21246 fail:
21247 {
21248 delete [] arg14;
21249 }
21250 {
21251 delete [] arg19;
21252 }
21253 {
21254 int i;
21255 if ( arg20 != NULL )
21256 {
21257 for ( i = 0; i < Alen; i++ )
21258 {
21259 delete[] arg20[i];
21260 }
21261 delete[] arg20;
21262 }
21263 }
21264 {
21265 if ( arg21 != NULL )
21266 delete [] arg21;
21267 }
21268 {
21269 if ( arg22 != NULL )
21270 delete [] arg22;
21271 }
21272 {
21273
21274 }
21275 {
21276
21277 }
21278 {
21279 if ( arg25 != NULL )
21280 delete [] arg25;
21281 }
21282 {
21283 if ( arg26 != NULL )
21284 delete [] arg26;
21285 }
21286 {
21287
21288 }
21289 {
21290 if ( arg28 != NULL )
21291 delete [] arg28;
21292 }
21293 {
21294
21295 }
21296 {
21297 if ( arg30 != NULL )
21298 delete [] arg30;
21299 }
21300 {
21301 int i;
21302 if ( arg31 != NULL )
21303 {
21304 for ( i = 0; i < Alen; i++ )
21305 {
21306 delete[] arg31[i];
21307 }
21308 delete[] arg31;
21309 }
21310 }
21311 return octave_value_list();
21312 }
21313 catch(...) {
21314 {
21315 delete [] arg14;
21316 }
21317 {
21318 delete [] arg19;
21319 }
21320 {
21321 int i;
21322 if ( arg20 != NULL )
21323 {
21324 for ( i = 0; i < Alen; i++ )
21325 {
21326 delete[] arg20[i];
21327 }
21328 delete[] arg20;
21329 }
21330 }
21331 {
21332 if ( arg21 != NULL )
21333 delete [] arg21;
21334 }
21335 {
21336 if ( arg22 != NULL )
21337 delete [] arg22;
21338 }
21339 {
21340
21341 }
21342 {
21343
21344 }
21345 {
21346 if ( arg25 != NULL )
21347 delete [] arg25;
21348 }
21349 {
21350 if ( arg26 != NULL )
21351 delete [] arg26;
21352 }
21353 {
21354
21355 }
21356 {
21357 if ( arg28 != NULL )
21358 delete [] arg28;
21359 }
21360 {
21361
21362 }
21363 {
21364 if ( arg30 != NULL )
21365 delete [] arg30;
21366 }
21367 {
21368 int i;
21369 if ( arg31 != NULL )
21370 {
21371 for ( i = 0; i < Alen; i++ )
21372 {
21373 delete[] arg31[i];
21374 }
21375 delete[] arg31;
21376 }
21377 }
21378 throw;
21379 }
21380}
21381
21382
21384 PLFLT arg1 ;
21385 PLFLT arg2 ;
21386 PLFLT arg3 ;
21387 double val1 ;
21388 int ecode1 = 0 ;
21389 double val2 ;
21390 int ecode2 = 0 ;
21391 double val3 ;
21392 int ecode3 = 0 ;
21393 octave_value_list _out;
21394 octave_value_list *_outp=&_out;
21395 octave_value _outv;
21396
21397 try {
21398 if (!SWIG_check_num_args("pllightsource",args.length(),3,3,0)) {
21399 SWIG_fail;
21400 }
21401 ecode1 = SWIG_AsVal_double(args(0), &val1);
21402 if (!SWIG_IsOK(ecode1)) {
21403 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pllightsource" "', argument " "1"" of type '" "PLFLT""'");
21404 }
21405 arg1 = static_cast< PLFLT >(val1);
21406 ecode2 = SWIG_AsVal_double(args(1), &val2);
21407 if (!SWIG_IsOK(ecode2)) {
21408 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pllightsource" "', argument " "2"" of type '" "PLFLT""'");
21409 }
21410 arg2 = static_cast< PLFLT >(val2);
21411 ecode3 = SWIG_AsVal_double(args(2), &val3);
21412 if (!SWIG_IsOK(ecode3)) {
21413 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pllightsource" "', argument " "3"" of type '" "PLFLT""'");
21414 }
21415 arg3 = static_cast< PLFLT >(val3);
21416 pllightsource(arg1,arg2,arg3);
21417 _outv = octave_value();
21418 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21419 return _out;
21420 fail:
21421 return octave_value_list();
21422 }
21423 catch(...) {
21424 throw;
21425 }
21426}
21427
21428
21430 PLINT arg1 ;
21431 PLFLT *arg2 = 0 ;
21432 PLFLT *arg3 = 0 ;
21433 Matrix temp1 ;
21434 Matrix temp3 ;
21435 octave_value_list _out;
21436 octave_value_list *_outp=&_out;
21437 octave_value _outv;
21438
21439 try {
21440 if (!SWIG_check_num_args("plline",args.length(),2,2,0)) {
21441 SWIG_fail;
21442 }
21443 {
21444 if ( _n_dims( args(0) ) > 1 )
21445 {
21446 error( "argument must be a scalar or vector" ); SWIG_fail;
21447 }
21448 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
21449 temp1 = args(0).matrix_value();
21450 arg2 = &temp1( 0, 0 );
21451 }
21452 {
21453 if ( _n_dims( args(1) ) > 1 )
21454 {
21455 error( "argument must be a scalar or vector" ); SWIG_fail;
21456 }
21457 if ( _dim( args(1), 0 ) != Alen )
21458 {
21459 error( "argument vectors must be same length" ); SWIG_fail;
21460 }
21461 temp3 = args(1).matrix_value();
21462 arg3 = &temp3( 0, 0 );
21463 }
21464 plline(arg1,(double const *)arg2,(double const *)arg3);
21465 _outv = octave_value();
21466 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21467 {
21468
21469 }
21470 {
21471
21472 }
21473 return _out;
21474 fail:
21475 {
21476
21477 }
21478 {
21479
21480 }
21481 return octave_value_list();
21482 }
21483 catch(...) {
21484 {
21485
21486 }
21487 {
21488
21489 }
21490 throw;
21491 }
21492}
21493
21494
21496 PLINT arg1 ;
21497 PLFLT *arg2 = 0 ;
21498 PLFLT *arg3 = 0 ;
21499 PLFLT *arg4 = 0 ;
21500 Matrix temp1 ;
21501 Matrix temp3 ;
21502 Matrix temp4 ;
21503 octave_value_list _out;
21504 octave_value_list *_outp=&_out;
21505 octave_value _outv;
21506
21507 try {
21508 if (!SWIG_check_num_args("plline3",args.length(),3,3,0)) {
21509 SWIG_fail;
21510 }
21511 {
21512 if ( _n_dims( args(0) ) > 1 )
21513 {
21514 error( "argument must be a scalar or vector" ); SWIG_fail;
21515 }
21516 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
21517 temp1 = args(0).matrix_value();
21518 arg2 = &temp1( 0, 0 );
21519 }
21520 {
21521 if ( _n_dims( args(1) ) > 1 )
21522 {
21523 error( "argument must be a scalar or vector" ); SWIG_fail;
21524 }
21525 if ( _dim( args(1), 0 ) != Alen )
21526 {
21527 error( "argument vectors must be same length" ); SWIG_fail;
21528 }
21529 temp3 = args(1).matrix_value();
21530 arg3 = &temp3( 0, 0 );
21531 }
21532 {
21533 if ( _n_dims( args(2) ) > 1 )
21534 {
21535 error( "argument must be a scalar or vector" ); SWIG_fail;
21536 }
21537 if ( _dim( args(2), 0 ) != Alen )
21538 {
21539 error( "argument vectors must be same length" ); SWIG_fail;
21540 }
21541 temp4 = args(2).matrix_value();
21542 arg4 = &temp4( 0, 0 );
21543 }
21544 plline3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
21545 _outv = octave_value();
21546 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21547 {
21548
21549 }
21550 {
21551
21552 }
21553 {
21554
21555 }
21556 return _out;
21557 fail:
21558 {
21559
21560 }
21561 {
21562
21563 }
21564 {
21565
21566 }
21567 return octave_value_list();
21568 }
21569 catch(...) {
21570 {
21571
21572 }
21573 {
21574
21575 }
21576 {
21577
21578 }
21579 throw;
21580 }
21581}
21582
21583
21585 PLINT arg1 ;
21586 int val1 ;
21587 int ecode1 = 0 ;
21588 octave_value_list _out;
21589 octave_value_list *_outp=&_out;
21590 octave_value _outv;
21591
21592 try {
21593 if (!SWIG_check_num_args("pllsty",args.length(),1,1,0)) {
21594 SWIG_fail;
21595 }
21596 ecode1 = SWIG_AsVal_int(args(0), &val1);
21597 if (!SWIG_IsOK(ecode1)) {
21598 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pllsty" "', argument " "1"" of type '" "PLINT""'");
21599 }
21600 arg1 = static_cast< PLINT >(val1);
21601 pllsty(arg1);
21602 _outv = octave_value();
21603 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21604 return _out;
21605 fail:
21606 return octave_value_list();
21607 }
21608 catch(...) {
21609 throw;
21610 }
21611}
21612
21613
21615 PLINT *arg1 = 0 ;
21616 PLINT temp1 ;
21617 int res1 = SWIG_TMPOBJ ;
21618 octave_value_list _out;
21619 octave_value_list *_outp=&_out;
21620 octave_value _outv;
21621
21622 try {
21623 arg1 = &temp1;
21624 if (!SWIG_check_num_args("plmkstrm",args.length(),0,0,0)) {
21625 SWIG_fail;
21626 }
21627 plmkstrm(arg1);
21628 _outv = octave_value();
21629 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21630 if (SWIG_IsTmpObj(res1)) {
21631 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
21632 } else {
21633 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21634 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
21635 }
21636 return _out;
21637 fail:
21638 return octave_value_list();
21639 }
21640 catch(...) {
21641 throw;
21642 }
21643}
21644
21645
21647 char *arg1 = 0 ;
21648 PLFLT arg2 ;
21649 PLFLT arg3 ;
21650 PLFLT arg4 ;
21651 char *arg5 = 0 ;
21652 int res1 ;
21653 char *buf1 = 0 ;
21654 int alloc1 = 0 ;
21655 double val2 ;
21656 int ecode2 = 0 ;
21657 double val3 ;
21658 int ecode3 = 0 ;
21659 double val4 ;
21660 int ecode4 = 0 ;
21661 int res5 ;
21662 char *buf5 = 0 ;
21663 int alloc5 = 0 ;
21664 octave_value_list _out;
21665 octave_value_list *_outp=&_out;
21666 octave_value _outv;
21667
21668 try {
21669 if (!SWIG_check_num_args("plmtex",args.length(),5,5,0)) {
21670 SWIG_fail;
21671 }
21672 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
21673 if (!SWIG_IsOK(res1)) {
21674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plmtex" "', argument " "1"" of type '" "char const *""'");
21675 }
21676 arg1 = reinterpret_cast< char * >(buf1);
21677 ecode2 = SWIG_AsVal_double(args(1), &val2);
21678 if (!SWIG_IsOK(ecode2)) {
21679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plmtex" "', argument " "2"" of type '" "PLFLT""'");
21680 }
21681 arg2 = static_cast< PLFLT >(val2);
21682 ecode3 = SWIG_AsVal_double(args(2), &val3);
21683 if (!SWIG_IsOK(ecode3)) {
21684 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmtex" "', argument " "3"" of type '" "PLFLT""'");
21685 }
21686 arg3 = static_cast< PLFLT >(val3);
21687 ecode4 = SWIG_AsVal_double(args(3), &val4);
21688 if (!SWIG_IsOK(ecode4)) {
21689 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmtex" "', argument " "4"" of type '" "PLFLT""'");
21690 }
21691 arg4 = static_cast< PLFLT >(val4);
21692 res5 = SWIG_AsCharPtrAndSize(args(4), &buf5, NULL, &alloc5);
21693 if (!SWIG_IsOK(res5)) {
21694 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plmtex" "', argument " "5"" of type '" "char const *""'");
21695 }
21696 arg5 = reinterpret_cast< char * >(buf5);
21697 plmtex((char const *)arg1,arg2,arg3,arg4,(char const *)arg5);
21698 _outv = octave_value();
21699 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21700 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
21701 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
21702 return _out;
21703 fail:
21704 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
21705 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
21706 return octave_value_list();
21707 }
21708 catch(...) {
21709 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
21710 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
21711 throw;
21712 }
21713}
21714
21715
21717 char *arg1 = 0 ;
21718 PLFLT arg2 ;
21719 PLFLT arg3 ;
21720 PLFLT arg4 ;
21721 char *arg5 = 0 ;
21722 int res1 ;
21723 char *buf1 = 0 ;
21724 int alloc1 = 0 ;
21725 double val2 ;
21726 int ecode2 = 0 ;
21727 double val3 ;
21728 int ecode3 = 0 ;
21729 double val4 ;
21730 int ecode4 = 0 ;
21731 int res5 ;
21732 char *buf5 = 0 ;
21733 int alloc5 = 0 ;
21734 octave_value_list _out;
21735 octave_value_list *_outp=&_out;
21736 octave_value _outv;
21737
21738 try {
21739 if (!SWIG_check_num_args("plmtex3",args.length(),5,5,0)) {
21740 SWIG_fail;
21741 }
21742 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
21743 if (!SWIG_IsOK(res1)) {
21744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plmtex3" "', argument " "1"" of type '" "char const *""'");
21745 }
21746 arg1 = reinterpret_cast< char * >(buf1);
21747 ecode2 = SWIG_AsVal_double(args(1), &val2);
21748 if (!SWIG_IsOK(ecode2)) {
21749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plmtex3" "', argument " "2"" of type '" "PLFLT""'");
21750 }
21751 arg2 = static_cast< PLFLT >(val2);
21752 ecode3 = SWIG_AsVal_double(args(2), &val3);
21753 if (!SWIG_IsOK(ecode3)) {
21754 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmtex3" "', argument " "3"" of type '" "PLFLT""'");
21755 }
21756 arg3 = static_cast< PLFLT >(val3);
21757 ecode4 = SWIG_AsVal_double(args(3), &val4);
21758 if (!SWIG_IsOK(ecode4)) {
21759 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmtex3" "', argument " "4"" of type '" "PLFLT""'");
21760 }
21761 arg4 = static_cast< PLFLT >(val4);
21762 res5 = SWIG_AsCharPtrAndSize(args(4), &buf5, NULL, &alloc5);
21763 if (!SWIG_IsOK(res5)) {
21764 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plmtex3" "', argument " "5"" of type '" "char const *""'");
21765 }
21766 arg5 = reinterpret_cast< char * >(buf5);
21767 plmtex3((char const *)arg1,arg2,arg3,arg4,(char const *)arg5);
21768 _outv = octave_value();
21769 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21770 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
21771 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
21772 return _out;
21773 fail:
21774 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
21775 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
21776 return octave_value_list();
21777 }
21778 catch(...) {
21779 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
21780 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
21781 throw;
21782 }
21783}
21784
21785
21787 int *arg1 = 0 ;
21788 char **arg2 = 0 ;
21789 PLINT arg3 ;
21790 void *argp1 = 0 ;
21791 int res1 = 0 ;
21792 void *argp2 = 0 ;
21793 int res2 = 0 ;
21794 int val3 ;
21795 int ecode3 = 0 ;
21796 octave_value_list _out;
21797 octave_value_list *_outp=&_out;
21798 octave_value _outv;
21799 PLINT result;
21800
21801 try {
21802 if (!SWIG_check_num_args("plparseopts",args.length(),3,3,0)) {
21803 SWIG_fail;
21804 }
21805 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_int, 0 | 0 );
21806 if (!SWIG_IsOK(res1)) {
21807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plparseopts" "', argument " "1"" of type '" "int *""'");
21808 }
21809 arg1 = reinterpret_cast< int * >(argp1);
21810 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 );
21811 if (!SWIG_IsOK(res2)) {
21812 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plparseopts" "', argument " "2"" of type '" "char **""'");
21813 }
21814 arg2 = reinterpret_cast< char ** >(argp2);
21815 ecode3 = SWIG_AsVal_int(args(2), &val3);
21816 if (!SWIG_IsOK(ecode3)) {
21817 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plparseopts" "', argument " "3"" of type '" "PLINT""'");
21818 }
21819 arg3 = static_cast< PLINT >(val3);
21820 result = (PLINT)plparseopts(arg1,arg2,arg3);
21821 _outv = SWIG_From_int(static_cast< int >(result));
21822 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21823 return _out;
21824 fail:
21825 return octave_value_list();
21826 }
21827 catch(...) {
21828 throw;
21829 }
21830}
21831
21832
21834 PLINT arg1 ;
21835 PLINT *arg2 = 0 ;
21836 PLINT *arg3 = 0 ;
21837 Matrix temp1 ;
21838 Matrix temp3 ;
21839 octave_value_list _out;
21840 octave_value_list *_outp=&_out;
21841 octave_value _outv;
21842
21843 try {
21844 if (!SWIG_check_num_args("plpat",args.length(),2,2,0)) {
21845 SWIG_fail;
21846 }
21847 {
21848 if ( _n_dims( args(0) ) > 1 )
21849 {
21850 error( "argument must be a scalar or vector" ); SWIG_fail;
21851 }
21852 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
21853 arg2 = new PLINT[Alen];
21854 temp1 = args(0).matrix_value();
21855 _cvt_double_to( arg2, &temp1( 0, 0 ), Alen );
21856 }
21857 {
21858 if ( _n_dims( args(1) ) > 1 )
21859 {
21860 error( "argument must be a scalar or vector" ); SWIG_fail;
21861 }
21862 if ( _dim( args(1), 0 ) != Alen )
21863 {
21864 error( "argument vectors must be same length" ); SWIG_fail;
21865 }
21866 temp3 = args(1).matrix_value();
21867 arg3 = new PLINT[Alen];
21868 _cvt_double_to( arg3, &temp3( 0, 0 ), Alen );
21869 }
21870 plpat(arg1,(int const *)arg2,(int const *)arg3);
21871 _outv = octave_value();
21872 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21873 {
21874 delete [] arg2;
21875 }
21876 {
21877 delete [] arg3;
21878 }
21879 return _out;
21880 fail:
21881 {
21882 delete [] arg2;
21883 }
21884 {
21885 delete [] arg3;
21886 }
21887 return octave_value_list();
21888 }
21889 catch(...) {
21890 {
21891 delete [] arg2;
21892 }
21893 {
21894 delete [] arg3;
21895 }
21896 throw;
21897 }
21898}
21899
21900
21902 PLINT arg1 ;
21903 PLFLT arg2 ;
21904 PLFLT arg3 ;
21905 PLFLT arg4 ;
21906 PLFLT arg5 ;
21907 int val1 ;
21908 int ecode1 = 0 ;
21909 double val2 ;
21910 int ecode2 = 0 ;
21911 double val3 ;
21912 int ecode3 = 0 ;
21913 double val4 ;
21914 int ecode4 = 0 ;
21915 double val5 ;
21916 int ecode5 = 0 ;
21917 octave_value_list _out;
21918 octave_value_list *_outp=&_out;
21919 octave_value _outv;
21920
21921 try {
21922 if (!SWIG_check_num_args("plpath",args.length(),5,5,0)) {
21923 SWIG_fail;
21924 }
21925 ecode1 = SWIG_AsVal_int(args(0), &val1);
21926 if (!SWIG_IsOK(ecode1)) {
21927 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plpath" "', argument " "1"" of type '" "PLINT""'");
21928 }
21929 arg1 = static_cast< PLINT >(val1);
21930 ecode2 = SWIG_AsVal_double(args(1), &val2);
21931 if (!SWIG_IsOK(ecode2)) {
21932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plpath" "', argument " "2"" of type '" "PLFLT""'");
21933 }
21934 arg2 = static_cast< PLFLT >(val2);
21935 ecode3 = SWIG_AsVal_double(args(2), &val3);
21936 if (!SWIG_IsOK(ecode3)) {
21937 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plpath" "', argument " "3"" of type '" "PLFLT""'");
21938 }
21939 arg3 = static_cast< PLFLT >(val3);
21940 ecode4 = SWIG_AsVal_double(args(3), &val4);
21941 if (!SWIG_IsOK(ecode4)) {
21942 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plpath" "', argument " "4"" of type '" "PLFLT""'");
21943 }
21944 arg4 = static_cast< PLFLT >(val4);
21945 ecode5 = SWIG_AsVal_double(args(4), &val5);
21946 if (!SWIG_IsOK(ecode5)) {
21947 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plpath" "', argument " "5"" of type '" "PLFLT""'");
21948 }
21949 arg5 = static_cast< PLFLT >(val5);
21950 plpath(arg1,arg2,arg3,arg4,arg5);
21951 _outv = octave_value();
21952 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21953 return _out;
21954 fail:
21955 return octave_value_list();
21956 }
21957 catch(...) {
21958 throw;
21959 }
21960}
21961
21962
21964 PLINT arg1 ;
21965 PLFLT *arg2 = 0 ;
21966 PLFLT *arg3 = 0 ;
21967 PLINT arg4 ;
21968 Matrix temp1 ;
21969 Matrix temp3 ;
21970 int val4 ;
21971 int ecode4 = 0 ;
21972 octave_value_list _out;
21973 octave_value_list *_outp=&_out;
21974 octave_value _outv;
21975
21976 try {
21977 if (!SWIG_check_num_args("plpoin",args.length(),3,3,0)) {
21978 SWIG_fail;
21979 }
21980 {
21981 if ( _n_dims( args(0) ) > 1 )
21982 {
21983 error( "argument must be a scalar or vector" ); SWIG_fail;
21984 }
21985 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
21986 temp1 = args(0).matrix_value();
21987 arg2 = &temp1( 0, 0 );
21988 }
21989 {
21990 if ( _n_dims( args(1) ) > 1 )
21991 {
21992 error( "argument must be a scalar or vector" ); SWIG_fail;
21993 }
21994 if ( _dim( args(1), 0 ) != Alen )
21995 {
21996 error( "argument vectors must be same length" ); SWIG_fail;
21997 }
21998 temp3 = args(1).matrix_value();
21999 arg3 = &temp3( 0, 0 );
22000 }
22001 ecode4 = SWIG_AsVal_int(args(2), &val4);
22002 if (!SWIG_IsOK(ecode4)) {
22003 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plpoin" "', argument " "4"" of type '" "PLINT""'");
22004 }
22005 arg4 = static_cast< PLINT >(val4);
22006 plpoin(arg1,(double const *)arg2,(double const *)arg3,arg4);
22007 _outv = octave_value();
22008 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22009 {
22010
22011 }
22012 {
22013
22014 }
22015 return _out;
22016 fail:
22017 {
22018
22019 }
22020 {
22021
22022 }
22023 return octave_value_list();
22024 }
22025 catch(...) {
22026 {
22027
22028 }
22029 {
22030
22031 }
22032 throw;
22033 }
22034}
22035
22036
22038 PLINT arg1 ;
22039 PLFLT *arg2 = 0 ;
22040 PLFLT *arg3 = 0 ;
22041 PLFLT *arg4 = 0 ;
22042 PLINT arg5 ;
22043 Matrix temp1 ;
22044 Matrix temp3 ;
22045 Matrix temp4 ;
22046 int val5 ;
22047 int ecode5 = 0 ;
22048 octave_value_list _out;
22049 octave_value_list *_outp=&_out;
22050 octave_value _outv;
22051
22052 try {
22053 if (!SWIG_check_num_args("plpoin3",args.length(),4,4,0)) {
22054 SWIG_fail;
22055 }
22056 {
22057 if ( _n_dims( args(0) ) > 1 )
22058 {
22059 error( "argument must be a scalar or vector" ); SWIG_fail;
22060 }
22061 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
22062 temp1 = args(0).matrix_value();
22063 arg2 = &temp1( 0, 0 );
22064 }
22065 {
22066 if ( _n_dims( args(1) ) > 1 )
22067 {
22068 error( "argument must be a scalar or vector" ); SWIG_fail;
22069 }
22070 if ( _dim( args(1), 0 ) != Alen )
22071 {
22072 error( "argument vectors must be same length" ); SWIG_fail;
22073 }
22074 temp3 = args(1).matrix_value();
22075 arg3 = &temp3( 0, 0 );
22076 }
22077 {
22078 if ( _n_dims( args(2) ) > 1 )
22079 {
22080 error( "argument must be a scalar or vector" ); SWIG_fail;
22081 }
22082 if ( _dim( args(2), 0 ) != Alen )
22083 {
22084 error( "argument vectors must be same length" ); SWIG_fail;
22085 }
22086 temp4 = args(2).matrix_value();
22087 arg4 = &temp4( 0, 0 );
22088 }
22089 ecode5 = SWIG_AsVal_int(args(3), &val5);
22090 if (!SWIG_IsOK(ecode5)) {
22091 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plpoin3" "', argument " "5"" of type '" "PLINT""'");
22092 }
22093 arg5 = static_cast< PLINT >(val5);
22094 plpoin3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4,arg5);
22095 _outv = octave_value();
22096 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22097 {
22098
22099 }
22100 {
22101
22102 }
22103 {
22104
22105 }
22106 return _out;
22107 fail:
22108 {
22109
22110 }
22111 {
22112
22113 }
22114 {
22115
22116 }
22117 return octave_value_list();
22118 }
22119 catch(...) {
22120 {
22121
22122 }
22123 {
22124
22125 }
22126 {
22127
22128 }
22129 throw;
22130 }
22131}
22132
22133
22135 PLINT arg1 ;
22136 PLFLT *arg2 = 0 ;
22137 PLFLT *arg3 = 0 ;
22138 PLFLT *arg4 = 0 ;
22139 PLBOOL *arg5 = 0 ;
22140 PLBOOL arg6 ;
22141 Matrix temp1 ;
22142 Matrix temp3 ;
22143 Matrix temp4 ;
22144 Matrix temp5 ;
22145 int val6 ;
22146 int ecode6 = 0 ;
22147 octave_value_list _out;
22148 octave_value_list *_outp=&_out;
22149 octave_value _outv;
22150
22151 try {
22152 if (!SWIG_check_num_args("plpoly3",args.length(),5,5,0)) {
22153 SWIG_fail;
22154 }
22155 {
22156 if ( _n_dims( args(0) ) > 1 )
22157 {
22158 error( "argument must be a scalar or vector" ); SWIG_fail;
22159 }
22160 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
22161 temp1 = args(0).matrix_value();
22162 arg2 = &temp1( 0, 0 );
22163 }
22164 {
22165 if ( _n_dims( args(1) ) > 1 )
22166 {
22167 error( "argument must be a scalar or vector" ); SWIG_fail;
22168 }
22169 if ( _dim( args(1), 0 ) != Alen )
22170 {
22171 error( "argument vectors must be same length" ); SWIG_fail;
22172 }
22173 temp3 = args(1).matrix_value();
22174 arg3 = &temp3( 0, 0 );
22175 }
22176 {
22177 if ( _n_dims( args(2) ) > 1 )
22178 {
22179 error( "argument must be a scalar or vector" ); SWIG_fail;
22180 }
22181 if ( _dim( args(2), 0 ) != Alen )
22182 {
22183 error( "argument vectors must be same length" ); SWIG_fail;
22184 }
22185 temp4 = args(2).matrix_value();
22186 arg4 = &temp4( 0, 0 );
22187 }
22188 {
22189 if ( _n_dims( args(3) ) > 1 )
22190 {
22191 error( "argument must be a scalar or vector" ); SWIG_fail;
22192 }
22193 if ( !( _dim( args(3), 0 ) == Alen || _dim( args(3), 0 ) == Alen - 1 ) )
22194 {
22195 error( "argument vector must be same length or one less" ); SWIG_fail;
22196 }
22197 temp5 = args(3).matrix_value();
22198 arg5 = new PLINT[Alen];
22199 _cvt_double_to( arg5, &temp5( 0, 0 ), Alen );
22200 }
22201 ecode6 = SWIG_AsVal_int(args(4), &val6);
22202 if (!SWIG_IsOK(ecode6)) {
22203 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plpoly3" "', argument " "6"" of type '" "PLBOOL""'");
22204 }
22205 arg6 = static_cast< PLBOOL >(val6);
22206 plpoly3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4,(int const *)arg5,arg6);
22207 _outv = octave_value();
22208 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22209 {
22210
22211 }
22212 {
22213
22214 }
22215 {
22216
22217 }
22218 {
22219 delete [] arg5;
22220 }
22221 return _out;
22222 fail:
22223 {
22224
22225 }
22226 {
22227
22228 }
22229 {
22230
22231 }
22232 {
22233 delete [] arg5;
22234 }
22235 return octave_value_list();
22236 }
22237 catch(...) {
22238 {
22239
22240 }
22241 {
22242
22243 }
22244 {
22245
22246 }
22247 {
22248 delete [] arg5;
22249 }
22250 throw;
22251 }
22252}
22253
22254
22256 PLINT arg1 ;
22257 PLINT arg2 ;
22258 int val1 ;
22259 int ecode1 = 0 ;
22260 int val2 ;
22261 int ecode2 = 0 ;
22262 octave_value_list _out;
22263 octave_value_list *_outp=&_out;
22264 octave_value _outv;
22265
22266 try {
22267 if (!SWIG_check_num_args("plprec",args.length(),2,2,0)) {
22268 SWIG_fail;
22269 }
22270 ecode1 = SWIG_AsVal_int(args(0), &val1);
22271 if (!SWIG_IsOK(ecode1)) {
22272 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plprec" "', argument " "1"" of type '" "PLINT""'");
22273 }
22274 arg1 = static_cast< PLINT >(val1);
22275 ecode2 = SWIG_AsVal_int(args(1), &val2);
22276 if (!SWIG_IsOK(ecode2)) {
22277 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plprec" "', argument " "2"" of type '" "PLINT""'");
22278 }
22279 arg2 = static_cast< PLINT >(val2);
22280 plprec(arg1,arg2);
22281 _outv = octave_value();
22282 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22283 return _out;
22284 fail:
22285 return octave_value_list();
22286 }
22287 catch(...) {
22288 throw;
22289 }
22290}
22291
22292
22294 PLINT arg1 ;
22295 int val1 ;
22296 int ecode1 = 0 ;
22297 octave_value_list _out;
22298 octave_value_list *_outp=&_out;
22299 octave_value _outv;
22300
22301 try {
22302 if (!SWIG_check_num_args("plpsty",args.length(),1,1,0)) {
22303 SWIG_fail;
22304 }
22305 ecode1 = SWIG_AsVal_int(args(0), &val1);
22306 if (!SWIG_IsOK(ecode1)) {
22307 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plpsty" "', argument " "1"" of type '" "PLINT""'");
22308 }
22309 arg1 = static_cast< PLINT >(val1);
22310 plpsty(arg1);
22311 _outv = octave_value();
22312 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22313 return _out;
22314 fail:
22315 return octave_value_list();
22316 }
22317 catch(...) {
22318 throw;
22319 }
22320}
22321
22322
22324 PLFLT arg1 ;
22325 PLFLT arg2 ;
22326 PLFLT arg3 ;
22327 PLFLT arg4 ;
22328 PLFLT arg5 ;
22329 char *arg6 = 0 ;
22330 double val1 ;
22331 int ecode1 = 0 ;
22332 double val2 ;
22333 int ecode2 = 0 ;
22334 double val3 ;
22335 int ecode3 = 0 ;
22336 double val4 ;
22337 int ecode4 = 0 ;
22338 double val5 ;
22339 int ecode5 = 0 ;
22340 int res6 ;
22341 char *buf6 = 0 ;
22342 int alloc6 = 0 ;
22343 octave_value_list _out;
22344 octave_value_list *_outp=&_out;
22345 octave_value _outv;
22346
22347 try {
22348 if (!SWIG_check_num_args("plptex",args.length(),6,6,0)) {
22349 SWIG_fail;
22350 }
22351 ecode1 = SWIG_AsVal_double(args(0), &val1);
22352 if (!SWIG_IsOK(ecode1)) {
22353 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plptex" "', argument " "1"" of type '" "PLFLT""'");
22354 }
22355 arg1 = static_cast< PLFLT >(val1);
22356 ecode2 = SWIG_AsVal_double(args(1), &val2);
22357 if (!SWIG_IsOK(ecode2)) {
22358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plptex" "', argument " "2"" of type '" "PLFLT""'");
22359 }
22360 arg2 = static_cast< PLFLT >(val2);
22361 ecode3 = SWIG_AsVal_double(args(2), &val3);
22362 if (!SWIG_IsOK(ecode3)) {
22363 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plptex" "', argument " "3"" of type '" "PLFLT""'");
22364 }
22365 arg3 = static_cast< PLFLT >(val3);
22366 ecode4 = SWIG_AsVal_double(args(3), &val4);
22367 if (!SWIG_IsOK(ecode4)) {
22368 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plptex" "', argument " "4"" of type '" "PLFLT""'");
22369 }
22370 arg4 = static_cast< PLFLT >(val4);
22371 ecode5 = SWIG_AsVal_double(args(4), &val5);
22372 if (!SWIG_IsOK(ecode5)) {
22373 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plptex" "', argument " "5"" of type '" "PLFLT""'");
22374 }
22375 arg5 = static_cast< PLFLT >(val5);
22376 res6 = SWIG_AsCharPtrAndSize(args(5), &buf6, NULL, &alloc6);
22377 if (!SWIG_IsOK(res6)) {
22378 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plptex" "', argument " "6"" of type '" "char const *""'");
22379 }
22380 arg6 = reinterpret_cast< char * >(buf6);
22381 plptex(arg1,arg2,arg3,arg4,arg5,(char const *)arg6);
22382 _outv = octave_value();
22383 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22384 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
22385 return _out;
22386 fail:
22387 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
22388 return octave_value_list();
22389 }
22390 catch(...) {
22391 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
22392 throw;
22393 }
22394}
22395
22396
22398 PLFLT arg1 ;
22399 PLFLT arg2 ;
22400 PLFLT arg3 ;
22401 PLFLT arg4 ;
22402 PLFLT arg5 ;
22403 PLFLT arg6 ;
22404 PLFLT arg7 ;
22405 PLFLT arg8 ;
22406 PLFLT arg9 ;
22407 PLFLT arg10 ;
22408 char *arg11 = 0 ;
22409 double val1 ;
22410 int ecode1 = 0 ;
22411 double val2 ;
22412 int ecode2 = 0 ;
22413 double val3 ;
22414 int ecode3 = 0 ;
22415 double val4 ;
22416 int ecode4 = 0 ;
22417 double val5 ;
22418 int ecode5 = 0 ;
22419 double val6 ;
22420 int ecode6 = 0 ;
22421 double val7 ;
22422 int ecode7 = 0 ;
22423 double val8 ;
22424 int ecode8 = 0 ;
22425 double val9 ;
22426 int ecode9 = 0 ;
22427 double val10 ;
22428 int ecode10 = 0 ;
22429 int res11 ;
22430 char *buf11 = 0 ;
22431 int alloc11 = 0 ;
22432 octave_value_list _out;
22433 octave_value_list *_outp=&_out;
22434 octave_value _outv;
22435
22436 try {
22437 if (!SWIG_check_num_args("plptex3",args.length(),11,11,0)) {
22438 SWIG_fail;
22439 }
22440 ecode1 = SWIG_AsVal_double(args(0), &val1);
22441 if (!SWIG_IsOK(ecode1)) {
22442 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plptex3" "', argument " "1"" of type '" "PLFLT""'");
22443 }
22444 arg1 = static_cast< PLFLT >(val1);
22445 ecode2 = SWIG_AsVal_double(args(1), &val2);
22446 if (!SWIG_IsOK(ecode2)) {
22447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plptex3" "', argument " "2"" of type '" "PLFLT""'");
22448 }
22449 arg2 = static_cast< PLFLT >(val2);
22450 ecode3 = SWIG_AsVal_double(args(2), &val3);
22451 if (!SWIG_IsOK(ecode3)) {
22452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plptex3" "', argument " "3"" of type '" "PLFLT""'");
22453 }
22454 arg3 = static_cast< PLFLT >(val3);
22455 ecode4 = SWIG_AsVal_double(args(3), &val4);
22456 if (!SWIG_IsOK(ecode4)) {
22457 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plptex3" "', argument " "4"" of type '" "PLFLT""'");
22458 }
22459 arg4 = static_cast< PLFLT >(val4);
22460 ecode5 = SWIG_AsVal_double(args(4), &val5);
22461 if (!SWIG_IsOK(ecode5)) {
22462 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plptex3" "', argument " "5"" of type '" "PLFLT""'");
22463 }
22464 arg5 = static_cast< PLFLT >(val5);
22465 ecode6 = SWIG_AsVal_double(args(5), &val6);
22466 if (!SWIG_IsOK(ecode6)) {
22467 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plptex3" "', argument " "6"" of type '" "PLFLT""'");
22468 }
22469 arg6 = static_cast< PLFLT >(val6);
22470 ecode7 = SWIG_AsVal_double(args(6), &val7);
22471 if (!SWIG_IsOK(ecode7)) {
22472 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plptex3" "', argument " "7"" of type '" "PLFLT""'");
22473 }
22474 arg7 = static_cast< PLFLT >(val7);
22475 ecode8 = SWIG_AsVal_double(args(7), &val8);
22476 if (!SWIG_IsOK(ecode8)) {
22477 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plptex3" "', argument " "8"" of type '" "PLFLT""'");
22478 }
22479 arg8 = static_cast< PLFLT >(val8);
22480 ecode9 = SWIG_AsVal_double(args(8), &val9);
22481 if (!SWIG_IsOK(ecode9)) {
22482 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plptex3" "', argument " "9"" of type '" "PLFLT""'");
22483 }
22484 arg9 = static_cast< PLFLT >(val9);
22485 ecode10 = SWIG_AsVal_double(args(9), &val10);
22486 if (!SWIG_IsOK(ecode10)) {
22487 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plptex3" "', argument " "10"" of type '" "PLFLT""'");
22488 }
22489 arg10 = static_cast< PLFLT >(val10);
22490 res11 = SWIG_AsCharPtrAndSize(args(10), &buf11, NULL, &alloc11);
22491 if (!SWIG_IsOK(res11)) {
22492 SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "plptex3" "', argument " "11"" of type '" "char const *""'");
22493 }
22494 arg11 = reinterpret_cast< char * >(buf11);
22495 plptex3(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(char const *)arg11);
22496 _outv = octave_value();
22497 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22498 if (alloc11 == SWIG_NEWOBJ) delete[] buf11;
22499 return _out;
22500 fail:
22501 if (alloc11 == SWIG_NEWOBJ) delete[] buf11;
22502 return octave_value_list();
22503 }
22504 catch(...) {
22505 if (alloc11 == SWIG_NEWOBJ) delete[] buf11;
22506 throw;
22507 }
22508}
22509
22510
22512 octave_value_list _out;
22513 octave_value_list *_outp=&_out;
22514 octave_value _outv;
22515 PLFLT result;
22516
22517 try {
22518 if (!SWIG_check_num_args("plrandd",args.length(),0,0,0)) {
22519 SWIG_fail;
22520 }
22521 result = (PLFLT)plrandd();
22522 _outv = SWIG_From_double(static_cast< double >(result));
22523 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22524 return _out;
22525 fail:
22526 return octave_value_list();
22527 }
22528 catch(...) {
22529 throw;
22530 }
22531}
22532
22533
22535 octave_value_list _out;
22536 octave_value_list *_outp=&_out;
22537 octave_value _outv;
22538
22539 try {
22540 if (!SWIG_check_num_args("plreplot",args.length(),0,0,0)) {
22541 SWIG_fail;
22542 }
22543 plreplot();
22544 _outv = octave_value();
22545 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22546 return _out;
22547 fail:
22548 return octave_value_list();
22549 }
22550 catch(...) {
22551 throw;
22552 }
22553}
22554
22555
22557 PLFLT arg1 ;
22558 PLFLT arg2 ;
22559 PLFLT arg3 ;
22560 PLFLT *arg4 = 0 ;
22561 PLFLT *arg5 = 0 ;
22562 PLFLT *arg6 = 0 ;
22563 double val1 ;
22564 int ecode1 = 0 ;
22565 double val2 ;
22566 int ecode2 = 0 ;
22567 double val3 ;
22568 int ecode3 = 0 ;
22569 PLFLT temp4 ;
22570 int res4 = SWIG_TMPOBJ ;
22571 PLFLT temp5 ;
22572 int res5 = SWIG_TMPOBJ ;
22573 PLFLT temp6 ;
22574 int res6 = SWIG_TMPOBJ ;
22575 octave_value_list _out;
22576 octave_value_list *_outp=&_out;
22577 octave_value _outv;
22578
22579 try {
22580 arg4 = &temp4;
22581 arg5 = &temp5;
22582 arg6 = &temp6;
22583 if (!SWIG_check_num_args("plrgbhls",args.length(),3,3,0)) {
22584 SWIG_fail;
22585 }
22586 ecode1 = SWIG_AsVal_double(args(0), &val1);
22587 if (!SWIG_IsOK(ecode1)) {
22588 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plrgbhls" "', argument " "1"" of type '" "PLFLT""'");
22589 }
22590 arg1 = static_cast< PLFLT >(val1);
22591 ecode2 = SWIG_AsVal_double(args(1), &val2);
22592 if (!SWIG_IsOK(ecode2)) {
22593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plrgbhls" "', argument " "2"" of type '" "PLFLT""'");
22594 }
22595 arg2 = static_cast< PLFLT >(val2);
22596 ecode3 = SWIG_AsVal_double(args(2), &val3);
22597 if (!SWIG_IsOK(ecode3)) {
22598 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plrgbhls" "', argument " "3"" of type '" "PLFLT""'");
22599 }
22600 arg3 = static_cast< PLFLT >(val3);
22601 plrgbhls(arg1,arg2,arg3,arg4,arg5,arg6);
22602 _outv = octave_value();
22603 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22604 if (SWIG_IsTmpObj(res4)) {
22605 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
22606 } else {
22607 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22608 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
22609 }
22610 if (SWIG_IsTmpObj(res5)) {
22611 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg5)));
22612 } else {
22613 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22614 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags));
22615 }
22616 if (SWIG_IsTmpObj(res6)) {
22617 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg6)));
22618 } else {
22619 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22620 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags));
22621 }
22622 return _out;
22623 fail:
22624 return octave_value_list();
22625 }
22626 catch(...) {
22627 throw;
22628 }
22629}
22630
22631
22633 PLFLT arg1 ;
22634 PLFLT arg2 ;
22635 double val1 ;
22636 int ecode1 = 0 ;
22637 double val2 ;
22638 int ecode2 = 0 ;
22639 octave_value_list _out;
22640 octave_value_list *_outp=&_out;
22641 octave_value _outv;
22642
22643 try {
22644 if (!SWIG_check_num_args("plschr",args.length(),2,2,0)) {
22645 SWIG_fail;
22646 }
22647 ecode1 = SWIG_AsVal_double(args(0), &val1);
22648 if (!SWIG_IsOK(ecode1)) {
22649 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plschr" "', argument " "1"" of type '" "PLFLT""'");
22650 }
22651 arg1 = static_cast< PLFLT >(val1);
22652 ecode2 = SWIG_AsVal_double(args(1), &val2);
22653 if (!SWIG_IsOK(ecode2)) {
22654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plschr" "', argument " "2"" of type '" "PLFLT""'");
22655 }
22656 arg2 = static_cast< PLFLT >(val2);
22657 plschr(arg1,arg2);
22658 _outv = octave_value();
22659 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22660 return _out;
22661 fail:
22662 return octave_value_list();
22663 }
22664 catch(...) {
22665 throw;
22666 }
22667}
22668
22669
22671 PLINT *arg1 = 0 ;
22672 PLINT *arg2 = 0 ;
22673 PLINT *arg3 = 0 ;
22674 PLINT arg4 ;
22675 Matrix temp1 ;
22676 Matrix temp2 ;
22677 Matrix temp3 ;
22678 octave_value_list _out;
22679 octave_value_list *_outp=&_out;
22680 octave_value _outv;
22681
22682 try {
22683 if (!SWIG_check_num_args("plscmap0",args.length(),3,3,0)) {
22684 SWIG_fail;
22685 }
22686 {
22687 if ( _n_dims( args(0) ) > 1 )
22688 {
22689 error( "argument must be a scalar or vector" ); SWIG_fail;
22690 }
22691 Alen = (PLINT) ( _dim( args(0), 0 ) );
22692 temp1 = args(0).matrix_value();
22693 arg1 = new PLINT[Alen];
22694 _cvt_double_to( arg1, &temp1( 0, 0 ), Alen );
22695 }
22696 {
22697 if ( _n_dims( args(1) ) > 1 )
22698 {
22699 error( "argument must be a scalar or vector" ); SWIG_fail;
22700 }
22701 if ( _dim( args(1), 0 ) != Alen )
22702 {
22703 error( "argument vectors must be same length" ); SWIG_fail;
22704 }
22705 temp2 = args(1).matrix_value();
22706 arg2 = new PLINT[Alen];
22707 _cvt_double_to( arg2, &temp2( 0, 0 ), Alen );
22708 }
22709 {
22710 if ( _n_dims( args(2) ) > 1 )
22711 {
22712 error( "argument must be a scalar or vector" ); SWIG_fail;
22713 }
22714 if ( _dim( args(2), 0 ) != Alen )
22715 {
22716 error( "argument vectors must be same length" ); SWIG_fail;
22717 }
22718 temp3 = args(2).matrix_value();
22719 arg3 = new PLINT[Alen];
22720 _cvt_double_to( arg3, &temp3( 0, 0 ), Alen );
22721 arg4 = Alen;
22722 }
22723 plscmap0((int const *)arg1,(int const *)arg2,(int const *)arg3,arg4);
22724 _outv = octave_value();
22725 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22726 {
22727 delete [] arg1;
22728 }
22729 {
22730 delete [] arg2;
22731 }
22732 {
22733 delete [] arg3;
22734 }
22735 return _out;
22736 fail:
22737 {
22738 delete [] arg1;
22739 }
22740 {
22741 delete [] arg2;
22742 }
22743 {
22744 delete [] arg3;
22745 }
22746 return octave_value_list();
22747 }
22748 catch(...) {
22749 {
22750 delete [] arg1;
22751 }
22752 {
22753 delete [] arg2;
22754 }
22755 {
22756 delete [] arg3;
22757 }
22758 throw;
22759 }
22760}
22761
22762
22764 PLINT *arg1 = 0 ;
22765 PLINT *arg2 = 0 ;
22766 PLINT *arg3 = 0 ;
22767 PLFLT *arg4 = 0 ;
22768 PLINT arg5 ;
22769 Matrix temp1 ;
22770 Matrix temp2 ;
22771 Matrix temp3 ;
22772 Matrix temp4 ;
22773 octave_value_list _out;
22774 octave_value_list *_outp=&_out;
22775 octave_value _outv;
22776
22777 try {
22778 if (!SWIG_check_num_args("plscmap0a",args.length(),4,4,0)) {
22779 SWIG_fail;
22780 }
22781 {
22782 if ( _n_dims( args(0) ) > 1 )
22783 {
22784 error( "argument must be a scalar or vector" ); SWIG_fail;
22785 }
22786 Alen = (PLINT) ( _dim( args(0), 0 ) );
22787 temp1 = args(0).matrix_value();
22788 arg1 = new PLINT[Alen];
22789 _cvt_double_to( arg1, &temp1( 0, 0 ), Alen );
22790 }
22791 {
22792 if ( _n_dims( args(1) ) > 1 )
22793 {
22794 error( "argument must be a scalar or vector" ); SWIG_fail;
22795 }
22796 if ( _dim( args(1), 0 ) != Alen )
22797 {
22798 error( "argument vectors must be same length" ); SWIG_fail;
22799 }
22800 temp2 = args(1).matrix_value();
22801 arg2 = new PLINT[Alen];
22802 _cvt_double_to( arg2, &temp2( 0, 0 ), Alen );
22803 }
22804 {
22805 if ( _n_dims( args(2) ) > 1 )
22806 {
22807 error( "argument must be a scalar or vector" ); SWIG_fail;
22808 }
22809 if ( _dim( args(2), 0 ) != Alen )
22810 {
22811 error( "argument vectors must be same length" ); SWIG_fail;
22812 }
22813 temp3 = args(2).matrix_value();
22814 arg3 = new PLINT[Alen];
22815 _cvt_double_to( arg3, &temp3( 0, 0 ), Alen );
22816 }
22817 {
22818 if ( _n_dims( args(3) ) > 1 )
22819 {
22820 error( "argument must be a scalar or vector" ); SWIG_fail;
22821 }
22822 if ( _dim( args(3), 0 ) != Alen )
22823 {
22824 error( "argument vectors must be same length" ); SWIG_fail;
22825 }
22826 temp4 = args(3).matrix_value();
22827 arg4 = &temp4( 0, 0 );
22828 arg5 = (PLINT) ( _dim( args(3), 0 ) );
22829 }
22830 plscmap0a((int const *)arg1,(int const *)arg2,(int const *)arg3,(double const *)arg4,arg5);
22831 _outv = octave_value();
22832 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22833 {
22834 delete [] arg1;
22835 }
22836 {
22837 delete [] arg2;
22838 }
22839 {
22840 delete [] arg3;
22841 }
22842 {
22843
22844 }
22845 return _out;
22846 fail:
22847 {
22848 delete [] arg1;
22849 }
22850 {
22851 delete [] arg2;
22852 }
22853 {
22854 delete [] arg3;
22855 }
22856 {
22857
22858 }
22859 return octave_value_list();
22860 }
22861 catch(...) {
22862 {
22863 delete [] arg1;
22864 }
22865 {
22866 delete [] arg2;
22867 }
22868 {
22869 delete [] arg3;
22870 }
22871 {
22872
22873 }
22874 throw;
22875 }
22876}
22877
22878
22880 PLINT arg1 ;
22881 int val1 ;
22882 int ecode1 = 0 ;
22883 octave_value_list _out;
22884 octave_value_list *_outp=&_out;
22885 octave_value _outv;
22886
22887 try {
22888 if (!SWIG_check_num_args("plscmap0n",args.length(),1,1,0)) {
22889 SWIG_fail;
22890 }
22891 ecode1 = SWIG_AsVal_int(args(0), &val1);
22892 if (!SWIG_IsOK(ecode1)) {
22893 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap0n" "', argument " "1"" of type '" "PLINT""'");
22894 }
22895 arg1 = static_cast< PLINT >(val1);
22896 plscmap0n(arg1);
22897 _outv = octave_value();
22898 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22899 return _out;
22900 fail:
22901 return octave_value_list();
22902 }
22903 catch(...) {
22904 throw;
22905 }
22906}
22907
22908
22910 PLINT *arg1 = 0 ;
22911 PLINT *arg2 = 0 ;
22912 PLINT *arg3 = 0 ;
22913 PLINT arg4 ;
22914 Matrix temp1 ;
22915 Matrix temp2 ;
22916 Matrix temp3 ;
22917 octave_value_list _out;
22918 octave_value_list *_outp=&_out;
22919 octave_value _outv;
22920
22921 try {
22922 if (!SWIG_check_num_args("plscmap1",args.length(),3,3,0)) {
22923 SWIG_fail;
22924 }
22925 {
22926 if ( _n_dims( args(0) ) > 1 )
22927 {
22928 error( "argument must be a scalar or vector" ); SWIG_fail;
22929 }
22930 Alen = (PLINT) ( _dim( args(0), 0 ) );
22931 temp1 = args(0).matrix_value();
22932 arg1 = new PLINT[Alen];
22933 _cvt_double_to( arg1, &temp1( 0, 0 ), Alen );
22934 }
22935 {
22936 if ( _n_dims( args(1) ) > 1 )
22937 {
22938 error( "argument must be a scalar or vector" ); SWIG_fail;
22939 }
22940 if ( _dim( args(1), 0 ) != Alen )
22941 {
22942 error( "argument vectors must be same length" ); SWIG_fail;
22943 }
22944 temp2 = args(1).matrix_value();
22945 arg2 = new PLINT[Alen];
22946 _cvt_double_to( arg2, &temp2( 0, 0 ), Alen );
22947 }
22948 {
22949 if ( _n_dims( args(2) ) > 1 )
22950 {
22951 error( "argument must be a scalar or vector" ); SWIG_fail;
22952 }
22953 if ( _dim( args(2), 0 ) != Alen )
22954 {
22955 error( "argument vectors must be same length" ); SWIG_fail;
22956 }
22957 temp3 = args(2).matrix_value();
22958 arg3 = new PLINT[Alen];
22959 _cvt_double_to( arg3, &temp3( 0, 0 ), Alen );
22960 arg4 = Alen;
22961 }
22962 plscmap1((int const *)arg1,(int const *)arg2,(int const *)arg3,arg4);
22963 _outv = octave_value();
22964 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22965 {
22966 delete [] arg1;
22967 }
22968 {
22969 delete [] arg2;
22970 }
22971 {
22972 delete [] arg3;
22973 }
22974 return _out;
22975 fail:
22976 {
22977 delete [] arg1;
22978 }
22979 {
22980 delete [] arg2;
22981 }
22982 {
22983 delete [] arg3;
22984 }
22985 return octave_value_list();
22986 }
22987 catch(...) {
22988 {
22989 delete [] arg1;
22990 }
22991 {
22992 delete [] arg2;
22993 }
22994 {
22995 delete [] arg3;
22996 }
22997 throw;
22998 }
22999}
23000
23001
23003 PLINT *arg1 = 0 ;
23004 PLINT *arg2 = 0 ;
23005 PLINT *arg3 = 0 ;
23006 PLFLT *arg4 = 0 ;
23007 PLINT arg5 ;
23008 Matrix temp1 ;
23009 Matrix temp2 ;
23010 Matrix temp3 ;
23011 Matrix temp4 ;
23012 octave_value_list _out;
23013 octave_value_list *_outp=&_out;
23014 octave_value _outv;
23015
23016 try {
23017 if (!SWIG_check_num_args("plscmap1a",args.length(),4,4,0)) {
23018 SWIG_fail;
23019 }
23020 {
23021 if ( _n_dims( args(0) ) > 1 )
23022 {
23023 error( "argument must be a scalar or vector" ); SWIG_fail;
23024 }
23025 Alen = (PLINT) ( _dim( args(0), 0 ) );
23026 temp1 = args(0).matrix_value();
23027 arg1 = new PLINT[Alen];
23028 _cvt_double_to( arg1, &temp1( 0, 0 ), Alen );
23029 }
23030 {
23031 if ( _n_dims( args(1) ) > 1 )
23032 {
23033 error( "argument must be a scalar or vector" ); SWIG_fail;
23034 }
23035 if ( _dim( args(1), 0 ) != Alen )
23036 {
23037 error( "argument vectors must be same length" ); SWIG_fail;
23038 }
23039 temp2 = args(1).matrix_value();
23040 arg2 = new PLINT[Alen];
23041 _cvt_double_to( arg2, &temp2( 0, 0 ), Alen );
23042 }
23043 {
23044 if ( _n_dims( args(2) ) > 1 )
23045 {
23046 error( "argument must be a scalar or vector" ); SWIG_fail;
23047 }
23048 if ( _dim( args(2), 0 ) != Alen )
23049 {
23050 error( "argument vectors must be same length" ); SWIG_fail;
23051 }
23052 temp3 = args(2).matrix_value();
23053 arg3 = new PLINT[Alen];
23054 _cvt_double_to( arg3, &temp3( 0, 0 ), Alen );
23055 }
23056 {
23057 if ( _n_dims( args(3) ) > 1 )
23058 {
23059 error( "argument must be a scalar or vector" ); SWIG_fail;
23060 }
23061 if ( _dim( args(3), 0 ) != Alen )
23062 {
23063 error( "argument vectors must be same length" ); SWIG_fail;
23064 }
23065 temp4 = args(3).matrix_value();
23066 arg4 = &temp4( 0, 0 );
23067 arg5 = (PLINT) ( _dim( args(3), 0 ) );
23068 }
23069 plscmap1a((int const *)arg1,(int const *)arg2,(int const *)arg3,(double const *)arg4,arg5);
23070 _outv = octave_value();
23071 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23072 {
23073 delete [] arg1;
23074 }
23075 {
23076 delete [] arg2;
23077 }
23078 {
23079 delete [] arg3;
23080 }
23081 {
23082
23083 }
23084 return _out;
23085 fail:
23086 {
23087 delete [] arg1;
23088 }
23089 {
23090 delete [] arg2;
23091 }
23092 {
23093 delete [] arg3;
23094 }
23095 {
23096
23097 }
23098 return octave_value_list();
23099 }
23100 catch(...) {
23101 {
23102 delete [] arg1;
23103 }
23104 {
23105 delete [] arg2;
23106 }
23107 {
23108 delete [] arg3;
23109 }
23110 {
23111
23112 }
23113 throw;
23114 }
23115}
23116
23117
23119 PLBOOL arg1 ;
23120 PLINT arg2 ;
23121 PLFLT *arg3 = 0 ;
23122 PLFLT *arg4 = 0 ;
23123 PLFLT *arg5 = 0 ;
23124 PLFLT *arg6 = 0 ;
23125 PLBOOL *arg7 = 0 ;
23126 int val1 ;
23127 int ecode1 = 0 ;
23128 Matrix temp2 ;
23129 Matrix temp4 ;
23130 Matrix temp5 ;
23131 Matrix temp6 ;
23132 Matrix temp7 ;
23133 octave_value_list _out;
23134 octave_value_list *_outp=&_out;
23135 octave_value _outv;
23136
23137 try {
23138 if (!SWIG_check_num_args("plscmap1l",args.length(),6,6,0)) {
23139 SWIG_fail;
23140 }
23141 ecode1 = SWIG_AsVal_int(args(0), &val1);
23142 if (!SWIG_IsOK(ecode1)) {
23143 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1l" "', argument " "1"" of type '" "PLBOOL""'");
23144 }
23145 arg1 = static_cast< PLBOOL >(val1);
23146 {
23147 if ( _n_dims( args(1) ) > 1 )
23148 {
23149 error( "argument must be a scalar or vector" ); SWIG_fail;
23150 }
23151 arg2 = Alen = (PLINT) ( _dim( args(1), 0 ) );
23152 temp2 = args(1).matrix_value();
23153 arg3 = &temp2( 0, 0 );
23154 }
23155 {
23156 if ( _n_dims( args(2) ) > 1 )
23157 {
23158 error( "argument must be a scalar or vector" ); SWIG_fail;
23159 }
23160 if ( _dim( args(2), 0 ) != Alen )
23161 {
23162 error( "argument vectors must be same length" ); SWIG_fail;
23163 }
23164 temp4 = args(2).matrix_value();
23165 arg4 = &temp4( 0, 0 );
23166 }
23167 {
23168 if ( _n_dims( args(3) ) > 1 )
23169 {
23170 error( "argument must be a scalar or vector" ); SWIG_fail;
23171 }
23172 if ( _dim( args(3), 0 ) != Alen )
23173 {
23174 error( "argument vectors must be same length" ); SWIG_fail;
23175 }
23176 temp5 = args(3).matrix_value();
23177 arg5 = &temp5( 0, 0 );
23178 }
23179 {
23180 if ( _n_dims( args(4) ) > 1 )
23181 {
23182 error( "argument must be a scalar or vector" ); SWIG_fail;
23183 }
23184 if ( _dim( args(4), 0 ) != Alen )
23185 {
23186 error( "argument vectors must be same length" ); SWIG_fail;
23187 }
23188 temp6 = args(4).matrix_value();
23189 arg6 = &temp6( 0, 0 );
23190 }
23191 {
23192 if ( _n_dims( args(5) ) > 1 )
23193 {
23194 error( "argument must be a scalar or vector" ); SWIG_fail;
23195 }
23196 if ( !( _dim( args(5), 0 ) == Alen || _dim( args(5), 0 ) == Alen - 1 ) )
23197 {
23198 error( "argument vector must be same length or one less" ); SWIG_fail;
23199 }
23200 temp7 = args(5).matrix_value();
23201 arg7 = new PLINT[Alen];
23202 _cvt_double_to( arg7, &temp7( 0, 0 ), Alen );
23203 }
23204 plscmap1l(arg1,arg2,(double const *)arg3,(double const *)arg4,(double const *)arg5,(double const *)arg6,(int const *)arg7);
23205 _outv = octave_value();
23206 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23207 {
23208
23209 }
23210 {
23211
23212 }
23213 {
23214
23215 }
23216 {
23217
23218 }
23219 {
23220 delete [] arg7;
23221 }
23222 return _out;
23223 fail:
23224 {
23225
23226 }
23227 {
23228
23229 }
23230 {
23231
23232 }
23233 {
23234
23235 }
23236 {
23237 delete [] arg7;
23238 }
23239 return octave_value_list();
23240 }
23241 catch(...) {
23242 {
23243
23244 }
23245 {
23246
23247 }
23248 {
23249
23250 }
23251 {
23252
23253 }
23254 {
23255 delete [] arg7;
23256 }
23257 throw;
23258 }
23259}
23260
23261
23263 PLBOOL arg1 ;
23264 PLINT arg2 ;
23265 PLFLT *arg3 = 0 ;
23266 PLFLT *arg4 = 0 ;
23267 PLFLT *arg5 = 0 ;
23268 PLFLT *arg6 = 0 ;
23269 PLFLT *arg7 = 0 ;
23270 PLBOOL *arg8 = 0 ;
23271 int val1 ;
23272 int ecode1 = 0 ;
23273 Matrix temp2 ;
23274 Matrix temp4 ;
23275 Matrix temp5 ;
23276 Matrix temp6 ;
23277 Matrix temp7 ;
23278 Matrix temp8 ;
23279 octave_value_list _out;
23280 octave_value_list *_outp=&_out;
23281 octave_value _outv;
23282
23283 try {
23284 if (!SWIG_check_num_args("plscmap1la",args.length(),7,7,0)) {
23285 SWIG_fail;
23286 }
23287 ecode1 = SWIG_AsVal_int(args(0), &val1);
23288 if (!SWIG_IsOK(ecode1)) {
23289 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1la" "', argument " "1"" of type '" "PLBOOL""'");
23290 }
23291 arg1 = static_cast< PLBOOL >(val1);
23292 {
23293 if ( _n_dims( args(1) ) > 1 )
23294 {
23295 error( "argument must be a scalar or vector" ); SWIG_fail;
23296 }
23297 arg2 = Alen = (PLINT) ( _dim( args(1), 0 ) );
23298 temp2 = args(1).matrix_value();
23299 arg3 = &temp2( 0, 0 );
23300 }
23301 {
23302 if ( _n_dims( args(2) ) > 1 )
23303 {
23304 error( "argument must be a scalar or vector" ); SWIG_fail;
23305 }
23306 if ( _dim( args(2), 0 ) != Alen )
23307 {
23308 error( "argument vectors must be same length" ); SWIG_fail;
23309 }
23310 temp4 = args(2).matrix_value();
23311 arg4 = &temp4( 0, 0 );
23312 }
23313 {
23314 if ( _n_dims( args(3) ) > 1 )
23315 {
23316 error( "argument must be a scalar or vector" ); SWIG_fail;
23317 }
23318 if ( _dim( args(3), 0 ) != Alen )
23319 {
23320 error( "argument vectors must be same length" ); SWIG_fail;
23321 }
23322 temp5 = args(3).matrix_value();
23323 arg5 = &temp5( 0, 0 );
23324 }
23325 {
23326 if ( _n_dims( args(4) ) > 1 )
23327 {
23328 error( "argument must be a scalar or vector" ); SWIG_fail;
23329 }
23330 if ( _dim( args(4), 0 ) != Alen )
23331 {
23332 error( "argument vectors must be same length" ); SWIG_fail;
23333 }
23334 temp6 = args(4).matrix_value();
23335 arg6 = &temp6( 0, 0 );
23336 }
23337 {
23338 if ( _n_dims( args(5) ) > 1 )
23339 {
23340 error( "argument must be a scalar or vector" ); SWIG_fail;
23341 }
23342 if ( _dim( args(5), 0 ) != Alen )
23343 {
23344 error( "argument vectors must be same length" ); SWIG_fail;
23345 }
23346 temp7 = args(5).matrix_value();
23347 arg7 = &temp7( 0, 0 );
23348 }
23349 {
23350 if ( _n_dims( args(6) ) > 1 )
23351 {
23352 error( "argument must be a scalar or vector" ); SWIG_fail;
23353 }
23354 if ( !( _dim( args(6), 0 ) == Alen || _dim( args(6), 0 ) == Alen - 1 ) )
23355 {
23356 error( "argument vector must be same length or one less" ); SWIG_fail;
23357 }
23358 temp8 = args(6).matrix_value();
23359 arg8 = new PLINT[Alen];
23360 _cvt_double_to( arg8, &temp8( 0, 0 ), Alen );
23361 }
23362 plscmap1la(arg1,arg2,(double const *)arg3,(double const *)arg4,(double const *)arg5,(double const *)arg6,(double const *)arg7,(int const *)arg8);
23363 _outv = octave_value();
23364 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23365 {
23366
23367 }
23368 {
23369
23370 }
23371 {
23372
23373 }
23374 {
23375
23376 }
23377 {
23378
23379 }
23380 {
23381 delete [] arg8;
23382 }
23383 return _out;
23384 fail:
23385 {
23386
23387 }
23388 {
23389
23390 }
23391 {
23392
23393 }
23394 {
23395
23396 }
23397 {
23398
23399 }
23400 {
23401 delete [] arg8;
23402 }
23403 return octave_value_list();
23404 }
23405 catch(...) {
23406 {
23407
23408 }
23409 {
23410
23411 }
23412 {
23413
23414 }
23415 {
23416
23417 }
23418 {
23419
23420 }
23421 {
23422 delete [] arg8;
23423 }
23424 throw;
23425 }
23426}
23427
23428
23430 PLINT arg1 ;
23431 int val1 ;
23432 int ecode1 = 0 ;
23433 octave_value_list _out;
23434 octave_value_list *_outp=&_out;
23435 octave_value _outv;
23436
23437 try {
23438 if (!SWIG_check_num_args("plscmap1n",args.length(),1,1,0)) {
23439 SWIG_fail;
23440 }
23441 ecode1 = SWIG_AsVal_int(args(0), &val1);
23442 if (!SWIG_IsOK(ecode1)) {
23443 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1n" "', argument " "1"" of type '" "PLINT""'");
23444 }
23445 arg1 = static_cast< PLINT >(val1);
23446 plscmap1n(arg1);
23447 _outv = octave_value();
23448 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23449 return _out;
23450 fail:
23451 return octave_value_list();
23452 }
23453 catch(...) {
23454 throw;
23455 }
23456}
23457
23458
23460 PLFLT arg1 ;
23461 PLFLT arg2 ;
23462 double val1 ;
23463 int ecode1 = 0 ;
23464 double val2 ;
23465 int ecode2 = 0 ;
23466 octave_value_list _out;
23467 octave_value_list *_outp=&_out;
23468 octave_value _outv;
23469
23470 try {
23471 if (!SWIG_check_num_args("plscmap1_range",args.length(),2,2,0)) {
23472 SWIG_fail;
23473 }
23474 ecode1 = SWIG_AsVal_double(args(0), &val1);
23475 if (!SWIG_IsOK(ecode1)) {
23476 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1_range" "', argument " "1"" of type '" "PLFLT""'");
23477 }
23478 arg1 = static_cast< PLFLT >(val1);
23479 ecode2 = SWIG_AsVal_double(args(1), &val2);
23480 if (!SWIG_IsOK(ecode2)) {
23481 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscmap1_range" "', argument " "2"" of type '" "PLFLT""'");
23482 }
23483 arg2 = static_cast< PLFLT >(val2);
23484 plscmap1_range(arg1,arg2);
23485 _outv = octave_value();
23486 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23487 return _out;
23488 fail:
23489 return octave_value_list();
23490 }
23491 catch(...) {
23492 throw;
23493 }
23494}
23495
23496
23498 PLFLT *arg1 = 0 ;
23499 PLFLT *arg2 = 0 ;
23500 PLFLT temp1 ;
23501 int res1 = SWIG_TMPOBJ ;
23502 PLFLT temp2 ;
23503 int res2 = SWIG_TMPOBJ ;
23504 octave_value_list _out;
23505 octave_value_list *_outp=&_out;
23506 octave_value _outv;
23507
23508 try {
23509 arg1 = &temp1;
23510 arg2 = &temp2;
23511 if (!SWIG_check_num_args("plgcmap1_range",args.length(),0,0,0)) {
23512 SWIG_fail;
23513 }
23514 plgcmap1_range(arg1,arg2);
23515 _outv = octave_value();
23516 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23517 if (SWIG_IsTmpObj(res1)) {
23518 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
23519 } else {
23520 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23521 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
23522 }
23523 if (SWIG_IsTmpObj(res2)) {
23524 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
23525 } else {
23526 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23527 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
23528 }
23529 return _out;
23530 fail:
23531 return octave_value_list();
23532 }
23533 catch(...) {
23534 throw;
23535 }
23536}
23537
23538
23540 PLINT arg1 ;
23541 PLINT arg2 ;
23542 PLINT arg3 ;
23543 PLINT arg4 ;
23544 int val1 ;
23545 int ecode1 = 0 ;
23546 int val2 ;
23547 int ecode2 = 0 ;
23548 int val3 ;
23549 int ecode3 = 0 ;
23550 int val4 ;
23551 int ecode4 = 0 ;
23552 octave_value_list _out;
23553 octave_value_list *_outp=&_out;
23554 octave_value _outv;
23555
23556 try {
23557 if (!SWIG_check_num_args("plscol0",args.length(),4,4,0)) {
23558 SWIG_fail;
23559 }
23560 ecode1 = SWIG_AsVal_int(args(0), &val1);
23561 if (!SWIG_IsOK(ecode1)) {
23562 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscol0" "', argument " "1"" of type '" "PLINT""'");
23563 }
23564 arg1 = static_cast< PLINT >(val1);
23565 ecode2 = SWIG_AsVal_int(args(1), &val2);
23566 if (!SWIG_IsOK(ecode2)) {
23567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscol0" "', argument " "2"" of type '" "PLINT""'");
23568 }
23569 arg2 = static_cast< PLINT >(val2);
23570 ecode3 = SWIG_AsVal_int(args(2), &val3);
23571 if (!SWIG_IsOK(ecode3)) {
23572 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscol0" "', argument " "3"" of type '" "PLINT""'");
23573 }
23574 arg3 = static_cast< PLINT >(val3);
23575 ecode4 = SWIG_AsVal_int(args(3), &val4);
23576 if (!SWIG_IsOK(ecode4)) {
23577 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plscol0" "', argument " "4"" of type '" "PLINT""'");
23578 }
23579 arg4 = static_cast< PLINT >(val4);
23580 plscol0(arg1,arg2,arg3,arg4);
23581 _outv = octave_value();
23582 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23583 return _out;
23584 fail:
23585 return octave_value_list();
23586 }
23587 catch(...) {
23588 throw;
23589 }
23590}
23591
23592
23594 PLINT arg1 ;
23595 PLINT arg2 ;
23596 PLINT arg3 ;
23597 PLINT arg4 ;
23598 PLFLT arg5 ;
23599 int val1 ;
23600 int ecode1 = 0 ;
23601 int val2 ;
23602 int ecode2 = 0 ;
23603 int val3 ;
23604 int ecode3 = 0 ;
23605 int val4 ;
23606 int ecode4 = 0 ;
23607 double val5 ;
23608 int ecode5 = 0 ;
23609 octave_value_list _out;
23610 octave_value_list *_outp=&_out;
23611 octave_value _outv;
23612
23613 try {
23614 if (!SWIG_check_num_args("plscol0a",args.length(),5,5,0)) {
23615 SWIG_fail;
23616 }
23617 ecode1 = SWIG_AsVal_int(args(0), &val1);
23618 if (!SWIG_IsOK(ecode1)) {
23619 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscol0a" "', argument " "1"" of type '" "PLINT""'");
23620 }
23621 arg1 = static_cast< PLINT >(val1);
23622 ecode2 = SWIG_AsVal_int(args(1), &val2);
23623 if (!SWIG_IsOK(ecode2)) {
23624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscol0a" "', argument " "2"" of type '" "PLINT""'");
23625 }
23626 arg2 = static_cast< PLINT >(val2);
23627 ecode3 = SWIG_AsVal_int(args(2), &val3);
23628 if (!SWIG_IsOK(ecode3)) {
23629 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscol0a" "', argument " "3"" of type '" "PLINT""'");
23630 }
23631 arg3 = static_cast< PLINT >(val3);
23632 ecode4 = SWIG_AsVal_int(args(3), &val4);
23633 if (!SWIG_IsOK(ecode4)) {
23634 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plscol0a" "', argument " "4"" of type '" "PLINT""'");
23635 }
23636 arg4 = static_cast< PLINT >(val4);
23637 ecode5 = SWIG_AsVal_double(args(4), &val5);
23638 if (!SWIG_IsOK(ecode5)) {
23639 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plscol0a" "', argument " "5"" of type '" "PLFLT""'");
23640 }
23641 arg5 = static_cast< PLFLT >(val5);
23642 plscol0a(arg1,arg2,arg3,arg4,arg5);
23643 _outv = octave_value();
23644 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23645 return _out;
23646 fail:
23647 return octave_value_list();
23648 }
23649 catch(...) {
23650 throw;
23651 }
23652}
23653
23654
23656 PLINT arg1 ;
23657 PLINT arg2 ;
23658 PLINT arg3 ;
23659 int val1 ;
23660 int ecode1 = 0 ;
23661 int val2 ;
23662 int ecode2 = 0 ;
23663 int val3 ;
23664 int ecode3 = 0 ;
23665 octave_value_list _out;
23666 octave_value_list *_outp=&_out;
23667 octave_value _outv;
23668
23669 try {
23670 if (!SWIG_check_num_args("plscolbg",args.length(),3,3,0)) {
23671 SWIG_fail;
23672 }
23673 ecode1 = SWIG_AsVal_int(args(0), &val1);
23674 if (!SWIG_IsOK(ecode1)) {
23675 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscolbg" "', argument " "1"" of type '" "PLINT""'");
23676 }
23677 arg1 = static_cast< PLINT >(val1);
23678 ecode2 = SWIG_AsVal_int(args(1), &val2);
23679 if (!SWIG_IsOK(ecode2)) {
23680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscolbg" "', argument " "2"" of type '" "PLINT""'");
23681 }
23682 arg2 = static_cast< PLINT >(val2);
23683 ecode3 = SWIG_AsVal_int(args(2), &val3);
23684 if (!SWIG_IsOK(ecode3)) {
23685 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscolbg" "', argument " "3"" of type '" "PLINT""'");
23686 }
23687 arg3 = static_cast< PLINT >(val3);
23688 plscolbg(arg1,arg2,arg3);
23689 _outv = octave_value();
23690 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23691 return _out;
23692 fail:
23693 return octave_value_list();
23694 }
23695 catch(...) {
23696 throw;
23697 }
23698}
23699
23700
23702 PLINT arg1 ;
23703 PLINT arg2 ;
23704 PLINT arg3 ;
23705 PLFLT arg4 ;
23706 int val1 ;
23707 int ecode1 = 0 ;
23708 int val2 ;
23709 int ecode2 = 0 ;
23710 int val3 ;
23711 int ecode3 = 0 ;
23712 double val4 ;
23713 int ecode4 = 0 ;
23714 octave_value_list _out;
23715 octave_value_list *_outp=&_out;
23716 octave_value _outv;
23717
23718 try {
23719 if (!SWIG_check_num_args("plscolbga",args.length(),4,4,0)) {
23720 SWIG_fail;
23721 }
23722 ecode1 = SWIG_AsVal_int(args(0), &val1);
23723 if (!SWIG_IsOK(ecode1)) {
23724 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscolbga" "', argument " "1"" of type '" "PLINT""'");
23725 }
23726 arg1 = static_cast< PLINT >(val1);
23727 ecode2 = SWIG_AsVal_int(args(1), &val2);
23728 if (!SWIG_IsOK(ecode2)) {
23729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscolbga" "', argument " "2"" of type '" "PLINT""'");
23730 }
23731 arg2 = static_cast< PLINT >(val2);
23732 ecode3 = SWIG_AsVal_int(args(2), &val3);
23733 if (!SWIG_IsOK(ecode3)) {
23734 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscolbga" "', argument " "3"" of type '" "PLINT""'");
23735 }
23736 arg3 = static_cast< PLINT >(val3);
23737 ecode4 = SWIG_AsVal_double(args(3), &val4);
23738 if (!SWIG_IsOK(ecode4)) {
23739 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plscolbga" "', argument " "4"" of type '" "PLFLT""'");
23740 }
23741 arg4 = static_cast< PLFLT >(val4);
23742 plscolbga(arg1,arg2,arg3,arg4);
23743 _outv = octave_value();
23744 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23745 return _out;
23746 fail:
23747 return octave_value_list();
23748 }
23749 catch(...) {
23750 throw;
23751 }
23752}
23753
23754
23756 PLINT arg1 ;
23757 int val1 ;
23758 int ecode1 = 0 ;
23759 octave_value_list _out;
23760 octave_value_list *_outp=&_out;
23761 octave_value _outv;
23762
23763 try {
23764 if (!SWIG_check_num_args("plscolor",args.length(),1,1,0)) {
23765 SWIG_fail;
23766 }
23767 ecode1 = SWIG_AsVal_int(args(0), &val1);
23768 if (!SWIG_IsOK(ecode1)) {
23769 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscolor" "', argument " "1"" of type '" "PLINT""'");
23770 }
23771 arg1 = static_cast< PLINT >(val1);
23772 plscolor(arg1);
23773 _outv = octave_value();
23774 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23775 return _out;
23776 fail:
23777 return octave_value_list();
23778 }
23779 catch(...) {
23780 throw;
23781 }
23782}
23783
23784
23786 PLINT arg1 ;
23787 int val1 ;
23788 int ecode1 = 0 ;
23789 octave_value_list _out;
23790 octave_value_list *_outp=&_out;
23791 octave_value _outv;
23792
23793 try {
23794 if (!SWIG_check_num_args("plscompression",args.length(),1,1,0)) {
23795 SWIG_fail;
23796 }
23797 ecode1 = SWIG_AsVal_int(args(0), &val1);
23798 if (!SWIG_IsOK(ecode1)) {
23799 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscompression" "', argument " "1"" of type '" "PLINT""'");
23800 }
23801 arg1 = static_cast< PLINT >(val1);
23802 plscompression(arg1);
23803 _outv = octave_value();
23804 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23805 return _out;
23806 fail:
23807 return octave_value_list();
23808 }
23809 catch(...) {
23810 throw;
23811 }
23812}
23813
23814
23816 char *arg1 = 0 ;
23817 int res1 ;
23818 char *buf1 = 0 ;
23819 int alloc1 = 0 ;
23820 octave_value_list _out;
23821 octave_value_list *_outp=&_out;
23822 octave_value _outv;
23823
23824 try {
23825 if (!SWIG_check_num_args("plsdev",args.length(),1,1,0)) {
23826 SWIG_fail;
23827 }
23828 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
23829 if (!SWIG_IsOK(res1)) {
23830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plsdev" "', argument " "1"" of type '" "char const *""'");
23831 }
23832 arg1 = reinterpret_cast< char * >(buf1);
23833 plsdev((char const *)arg1);
23834 _outv = octave_value();
23835 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23836 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
23837 return _out;
23838 fail:
23839 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
23840 return octave_value_list();
23841 }
23842 catch(...) {
23843 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
23844 throw;
23845 }
23846}
23847
23848
23850 PLFLT arg1 ;
23851 PLFLT arg2 ;
23852 PLFLT arg3 ;
23853 PLFLT arg4 ;
23854 double val1 ;
23855 int ecode1 = 0 ;
23856 double val2 ;
23857 int ecode2 = 0 ;
23858 double val3 ;
23859 int ecode3 = 0 ;
23860 double val4 ;
23861 int ecode4 = 0 ;
23862 octave_value_list _out;
23863 octave_value_list *_outp=&_out;
23864 octave_value _outv;
23865
23866 try {
23867 if (!SWIG_check_num_args("plsdidev",args.length(),4,4,0)) {
23868 SWIG_fail;
23869 }
23870 ecode1 = SWIG_AsVal_double(args(0), &val1);
23871 if (!SWIG_IsOK(ecode1)) {
23872 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdidev" "', argument " "1"" of type '" "PLFLT""'");
23873 }
23874 arg1 = static_cast< PLFLT >(val1);
23875 ecode2 = SWIG_AsVal_double(args(1), &val2);
23876 if (!SWIG_IsOK(ecode2)) {
23877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdidev" "', argument " "2"" of type '" "PLFLT""'");
23878 }
23879 arg2 = static_cast< PLFLT >(val2);
23880 ecode3 = SWIG_AsVal_double(args(2), &val3);
23881 if (!SWIG_IsOK(ecode3)) {
23882 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdidev" "', argument " "3"" of type '" "PLFLT""'");
23883 }
23884 arg3 = static_cast< PLFLT >(val3);
23885 ecode4 = SWIG_AsVal_double(args(3), &val4);
23886 if (!SWIG_IsOK(ecode4)) {
23887 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdidev" "', argument " "4"" of type '" "PLFLT""'");
23888 }
23889 arg4 = static_cast< PLFLT >(val4);
23890 plsdidev(arg1,arg2,arg3,arg4);
23891 _outv = octave_value();
23892 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23893 return _out;
23894 fail:
23895 return octave_value_list();
23896 }
23897 catch(...) {
23898 throw;
23899 }
23900}
23901
23902
23904 PLINT arg1 ;
23905 PLINT arg2 ;
23906 PLINT arg3 ;
23907 PLINT arg4 ;
23908 PLFLT arg5 ;
23909 PLFLT arg6 ;
23910 int val1 ;
23911 int ecode1 = 0 ;
23912 int val2 ;
23913 int ecode2 = 0 ;
23914 int val3 ;
23915 int ecode3 = 0 ;
23916 int val4 ;
23917 int ecode4 = 0 ;
23918 double val5 ;
23919 int ecode5 = 0 ;
23920 double val6 ;
23921 int ecode6 = 0 ;
23922 octave_value_list _out;
23923 octave_value_list *_outp=&_out;
23924 octave_value _outv;
23925
23926 try {
23927 if (!SWIG_check_num_args("plsdimap",args.length(),6,6,0)) {
23928 SWIG_fail;
23929 }
23930 ecode1 = SWIG_AsVal_int(args(0), &val1);
23931 if (!SWIG_IsOK(ecode1)) {
23932 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdimap" "', argument " "1"" of type '" "PLINT""'");
23933 }
23934 arg1 = static_cast< PLINT >(val1);
23935 ecode2 = SWIG_AsVal_int(args(1), &val2);
23936 if (!SWIG_IsOK(ecode2)) {
23937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdimap" "', argument " "2"" of type '" "PLINT""'");
23938 }
23939 arg2 = static_cast< PLINT >(val2);
23940 ecode3 = SWIG_AsVal_int(args(2), &val3);
23941 if (!SWIG_IsOK(ecode3)) {
23942 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdimap" "', argument " "3"" of type '" "PLINT""'");
23943 }
23944 arg3 = static_cast< PLINT >(val3);
23945 ecode4 = SWIG_AsVal_int(args(3), &val4);
23946 if (!SWIG_IsOK(ecode4)) {
23947 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdimap" "', argument " "4"" of type '" "PLINT""'");
23948 }
23949 arg4 = static_cast< PLINT >(val4);
23950 ecode5 = SWIG_AsVal_double(args(4), &val5);
23951 if (!SWIG_IsOK(ecode5)) {
23952 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plsdimap" "', argument " "5"" of type '" "PLFLT""'");
23953 }
23954 arg5 = static_cast< PLFLT >(val5);
23955 ecode6 = SWIG_AsVal_double(args(5), &val6);
23956 if (!SWIG_IsOK(ecode6)) {
23957 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plsdimap" "', argument " "6"" of type '" "PLFLT""'");
23958 }
23959 arg6 = static_cast< PLFLT >(val6);
23960 plsdimap(arg1,arg2,arg3,arg4,arg5,arg6);
23961 _outv = octave_value();
23962 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23963 return _out;
23964 fail:
23965 return octave_value_list();
23966 }
23967 catch(...) {
23968 throw;
23969 }
23970}
23971
23972
23974 PLFLT arg1 ;
23975 double val1 ;
23976 int ecode1 = 0 ;
23977 octave_value_list _out;
23978 octave_value_list *_outp=&_out;
23979 octave_value _outv;
23980
23981 try {
23982 if (!SWIG_check_num_args("plsdiori",args.length(),1,1,0)) {
23983 SWIG_fail;
23984 }
23985 ecode1 = SWIG_AsVal_double(args(0), &val1);
23986 if (!SWIG_IsOK(ecode1)) {
23987 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdiori" "', argument " "1"" of type '" "PLFLT""'");
23988 }
23989 arg1 = static_cast< PLFLT >(val1);
23990 plsdiori(arg1);
23991 _outv = octave_value();
23992 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23993 return _out;
23994 fail:
23995 return octave_value_list();
23996 }
23997 catch(...) {
23998 throw;
23999 }
24000}
24001
24002
24004 PLFLT arg1 ;
24005 PLFLT arg2 ;
24006 PLFLT arg3 ;
24007 PLFLT arg4 ;
24008 double val1 ;
24009 int ecode1 = 0 ;
24010 double val2 ;
24011 int ecode2 = 0 ;
24012 double val3 ;
24013 int ecode3 = 0 ;
24014 double val4 ;
24015 int ecode4 = 0 ;
24016 octave_value_list _out;
24017 octave_value_list *_outp=&_out;
24018 octave_value _outv;
24019
24020 try {
24021 if (!SWIG_check_num_args("plsdiplt",args.length(),4,4,0)) {
24022 SWIG_fail;
24023 }
24024 ecode1 = SWIG_AsVal_double(args(0), &val1);
24025 if (!SWIG_IsOK(ecode1)) {
24026 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdiplt" "', argument " "1"" of type '" "PLFLT""'");
24027 }
24028 arg1 = static_cast< PLFLT >(val1);
24029 ecode2 = SWIG_AsVal_double(args(1), &val2);
24030 if (!SWIG_IsOK(ecode2)) {
24031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdiplt" "', argument " "2"" of type '" "PLFLT""'");
24032 }
24033 arg2 = static_cast< PLFLT >(val2);
24034 ecode3 = SWIG_AsVal_double(args(2), &val3);
24035 if (!SWIG_IsOK(ecode3)) {
24036 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdiplt" "', argument " "3"" of type '" "PLFLT""'");
24037 }
24038 arg3 = static_cast< PLFLT >(val3);
24039 ecode4 = SWIG_AsVal_double(args(3), &val4);
24040 if (!SWIG_IsOK(ecode4)) {
24041 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdiplt" "', argument " "4"" of type '" "PLFLT""'");
24042 }
24043 arg4 = static_cast< PLFLT >(val4);
24044 plsdiplt(arg1,arg2,arg3,arg4);
24045 _outv = octave_value();
24046 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24047 return _out;
24048 fail:
24049 return octave_value_list();
24050 }
24051 catch(...) {
24052 throw;
24053 }
24054}
24055
24056
24058 PLFLT arg1 ;
24059 PLFLT arg2 ;
24060 PLFLT arg3 ;
24061 PLFLT arg4 ;
24062 double val1 ;
24063 int ecode1 = 0 ;
24064 double val2 ;
24065 int ecode2 = 0 ;
24066 double val3 ;
24067 int ecode3 = 0 ;
24068 double val4 ;
24069 int ecode4 = 0 ;
24070 octave_value_list _out;
24071 octave_value_list *_outp=&_out;
24072 octave_value _outv;
24073
24074 try {
24075 if (!SWIG_check_num_args("plsdiplz",args.length(),4,4,0)) {
24076 SWIG_fail;
24077 }
24078 ecode1 = SWIG_AsVal_double(args(0), &val1);
24079 if (!SWIG_IsOK(ecode1)) {
24080 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdiplz" "', argument " "1"" of type '" "PLFLT""'");
24081 }
24082 arg1 = static_cast< PLFLT >(val1);
24083 ecode2 = SWIG_AsVal_double(args(1), &val2);
24084 if (!SWIG_IsOK(ecode2)) {
24085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdiplz" "', argument " "2"" of type '" "PLFLT""'");
24086 }
24087 arg2 = static_cast< PLFLT >(val2);
24088 ecode3 = SWIG_AsVal_double(args(2), &val3);
24089 if (!SWIG_IsOK(ecode3)) {
24090 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdiplz" "', argument " "3"" of type '" "PLFLT""'");
24091 }
24092 arg3 = static_cast< PLFLT >(val3);
24093 ecode4 = SWIG_AsVal_double(args(3), &val4);
24094 if (!SWIG_IsOK(ecode4)) {
24095 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdiplz" "', argument " "4"" of type '" "PLFLT""'");
24096 }
24097 arg4 = static_cast< PLFLT >(val4);
24098 plsdiplz(arg1,arg2,arg3,arg4);
24099 _outv = octave_value();
24100 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24101 return _out;
24102 fail:
24103 return octave_value_list();
24104 }
24105 catch(...) {
24106 throw;
24107 }
24108}
24109
24110
24112 unsigned int arg1 ;
24113 unsigned int val1 ;
24114 int ecode1 = 0 ;
24115 octave_value_list _out;
24116 octave_value_list *_outp=&_out;
24117 octave_value _outv;
24118
24119 try {
24120 if (!SWIG_check_num_args("plseed",args.length(),1,1,0)) {
24121 SWIG_fail;
24122 }
24123 ecode1 = SWIG_AsVal_unsigned_SS_int(args(0), &val1);
24124 if (!SWIG_IsOK(ecode1)) {
24125 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plseed" "', argument " "1"" of type '" "unsigned int""'");
24126 }
24127 arg1 = static_cast< unsigned int >(val1);
24128 plseed(arg1);
24129 _outv = octave_value();
24130 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24131 return _out;
24132 fail:
24133 return octave_value_list();
24134 }
24135 catch(...) {
24136 throw;
24137 }
24138}
24139
24140
24142 char arg1 ;
24143 char val1 ;
24144 int ecode1 = 0 ;
24145 octave_value_list _out;
24146 octave_value_list *_outp=&_out;
24147 octave_value _outv;
24148
24149 try {
24150 if (!SWIG_check_num_args("plsesc",args.length(),1,1,0)) {
24151 SWIG_fail;
24152 }
24153 ecode1 = SWIG_AsVal_char(args(0), &val1);
24154 if (!SWIG_IsOK(ecode1)) {
24155 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsesc" "', argument " "1"" of type '" "char""'");
24156 }
24157 arg1 = static_cast< char >(val1);
24158 plsesc(arg1);
24159 _outv = octave_value();
24160 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24161 return _out;
24162 fail:
24163 return octave_value_list();
24164 }
24165 catch(...) {
24166 throw;
24167 }
24168}
24169
24170
24171SWIG_DEFUN( plSetOpt, _wrap_plSetOpt, _wrap_plSetOpt_texinfo ) {
24172 char *arg1 = 0 ;
24173 char *arg2 = 0 ;
24174 int res1 ;
24175 char *buf1 = 0 ;
24176 int alloc1 = 0 ;
24177 int res2 ;
24178 char *buf2 = 0 ;
24179 int alloc2 = 0 ;
24180 octave_value_list _out;
24181 octave_value_list *_outp=&_out;
24182 octave_value _outv;
24183 PLINT result;
24184
24185 try {
24186 if (!SWIG_check_num_args("plSetOpt",args.length(),2,2,0)) {
24187 SWIG_fail;
24188 }
24189 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
24190 if (!SWIG_IsOK(res1)) {
24191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plSetOpt" "', argument " "1"" of type '" "char const *""'");
24192 }
24193 arg1 = reinterpret_cast< char * >(buf1);
24194 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
24195 if (!SWIG_IsOK(res2)) {
24196 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plSetOpt" "', argument " "2"" of type '" "char const *""'");
24197 }
24198 arg2 = reinterpret_cast< char * >(buf2);
24199 result = (PLINT)plsetopt((char const *)arg1,(char const *)arg2);
24200 _outv = SWIG_From_int(static_cast< int >(result));
24201 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24202 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24203 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
24204 return _out;
24205 fail:
24206 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24207 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
24208 return octave_value_list();
24209 }
24210 catch(...) {
24211 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24212 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
24213 throw;
24214 }
24215}
24216
24217
24219 PLINT arg1 ;
24220 PLINT arg2 ;
24221 PLINT arg3 ;
24222 int val1 ;
24223 int ecode1 = 0 ;
24224 int val2 ;
24225 int ecode2 = 0 ;
24226 int val3 ;
24227 int ecode3 = 0 ;
24228 octave_value_list _out;
24229 octave_value_list *_outp=&_out;
24230 octave_value _outv;
24231
24232 try {
24233 if (!SWIG_check_num_args("plsfam",args.length(),3,3,0)) {
24234 SWIG_fail;
24235 }
24236 ecode1 = SWIG_AsVal_int(args(0), &val1);
24237 if (!SWIG_IsOK(ecode1)) {
24238 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsfam" "', argument " "1"" of type '" "PLINT""'");
24239 }
24240 arg1 = static_cast< PLINT >(val1);
24241 ecode2 = SWIG_AsVal_int(args(1), &val2);
24242 if (!SWIG_IsOK(ecode2)) {
24243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsfam" "', argument " "2"" of type '" "PLINT""'");
24244 }
24245 arg2 = static_cast< PLINT >(val2);
24246 ecode3 = SWIG_AsVal_int(args(2), &val3);
24247 if (!SWIG_IsOK(ecode3)) {
24248 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsfam" "', argument " "3"" of type '" "PLINT""'");
24249 }
24250 arg3 = static_cast< PLINT >(val3);
24251 plsfam(arg1,arg2,arg3);
24252 _outv = octave_value();
24253 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24254 return _out;
24255 fail:
24256 return octave_value_list();
24257 }
24258 catch(...) {
24259 throw;
24260 }
24261}
24262
24263
24265 PLUNICODE arg1 ;
24266 unsigned int val1 ;
24267 int ecode1 = 0 ;
24268 octave_value_list _out;
24269 octave_value_list *_outp=&_out;
24270 octave_value _outv;
24271
24272 try {
24273 if (!SWIG_check_num_args("plsfci",args.length(),1,1,0)) {
24274 SWIG_fail;
24275 }
24276 ecode1 = SWIG_AsVal_unsigned_SS_int(args(0), &val1);
24277 if (!SWIG_IsOK(ecode1)) {
24278 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsfci" "', argument " "1"" of type '" "PLUNICODE""'");
24279 }
24280 arg1 = static_cast< PLUNICODE >(val1);
24281 plsfci(arg1);
24282 _outv = octave_value();
24283 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24284 return _out;
24285 fail:
24286 return octave_value_list();
24287 }
24288 catch(...) {
24289 throw;
24290 }
24291}
24292
24293
24295 char *arg1 = 0 ;
24296 int res1 ;
24297 char *buf1 = 0 ;
24298 int alloc1 = 0 ;
24299 octave_value_list _out;
24300 octave_value_list *_outp=&_out;
24301 octave_value _outv;
24302
24303 try {
24304 if (!SWIG_check_num_args("plsfnam",args.length(),1,1,0)) {
24305 SWIG_fail;
24306 }
24307 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
24308 if (!SWIG_IsOK(res1)) {
24309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plsfnam" "', argument " "1"" of type '" "char const *""'");
24310 }
24311 arg1 = reinterpret_cast< char * >(buf1);
24312 plsfnam((char const *)arg1);
24313 _outv = octave_value();
24314 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24315 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24316 return _out;
24317 fail:
24318 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24319 return octave_value_list();
24320 }
24321 catch(...) {
24322 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24323 throw;
24324 }
24325}
24326
24327
24329 PLINT arg1 ;
24330 PLINT arg2 ;
24331 PLINT arg3 ;
24332 int val1 ;
24333 int ecode1 = 0 ;
24334 int val2 ;
24335 int ecode2 = 0 ;
24336 int val3 ;
24337 int ecode3 = 0 ;
24338 octave_value_list _out;
24339 octave_value_list *_outp=&_out;
24340 octave_value _outv;
24341
24342 try {
24343 if (!SWIG_check_num_args("plsfont",args.length(),3,3,0)) {
24344 SWIG_fail;
24345 }
24346 ecode1 = SWIG_AsVal_int(args(0), &val1);
24347 if (!SWIG_IsOK(ecode1)) {
24348 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsfont" "', argument " "1"" of type '" "PLINT""'");
24349 }
24350 arg1 = static_cast< PLINT >(val1);
24351 ecode2 = SWIG_AsVal_int(args(1), &val2);
24352 if (!SWIG_IsOK(ecode2)) {
24353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsfont" "', argument " "2"" of type '" "PLINT""'");
24354 }
24355 arg2 = static_cast< PLINT >(val2);
24356 ecode3 = SWIG_AsVal_int(args(2), &val3);
24357 if (!SWIG_IsOK(ecode3)) {
24358 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsfont" "', argument " "3"" of type '" "PLINT""'");
24359 }
24360 arg3 = static_cast< PLINT >(val3);
24361 plsfont(arg1,arg2,arg3);
24362 _outv = octave_value();
24363 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24364 return _out;
24365 fail:
24366 return octave_value_list();
24367 }
24368 catch(...) {
24369 throw;
24370 }
24371}
24372
24373
24375 label_func arg1 = 0 ;
24376 PLPointer arg2 = 0 ;
24377 int res2 ;
24378 octave_value_list _out;
24379 octave_value_list *_outp=&_out;
24380 octave_value _outv;
24381
24382 try {
24383 if (!SWIG_check_num_args("plslabelfunc",args.length(),2,2,0)) {
24384 SWIG_fail;
24385 }
24386 {
24387 octave_value obj = args(0);
24388#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
24389 if ( !obj.isempty() )
24390#else
24391 if ( !obj.is_empty() )
24392#endif
24393 {
24394 if ( obj.is_function_handle() || obj.is_inline_function() )
24395 {
24396 fcnLabelFunc = obj.function_value();
24397 }
24398 else if ( obj.is_string() )
24399 {
24400 nameLabelFunc = obj.string_value();
24401 fcnLabelFunc = NULL;
24402 }
24403 arg1 = labelfunc_octave;
24404 }
24405 else
24406 {
24407 arg1 = NULL;
24408 }
24409 }
24410 res2 = SWIG_ConvertPtr(args(1),SWIG_as_voidptrptr(&arg2), 0, 0);
24411 if (!SWIG_IsOK(res2)) {
24412 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plslabelfunc" "', argument " "2"" of type '" "PLPointer""'");
24413 }
24414 plslabelfunc(arg1,arg2);
24415 _outv = octave_value();
24416 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24417 return _out;
24418 fail:
24419 return octave_value_list();
24420 }
24421 catch(...) {
24422 throw;
24423 }
24424}
24425
24426
24428 PLFLT arg1 ;
24429 PLFLT arg2 ;
24430 double val1 ;
24431 int ecode1 = 0 ;
24432 double val2 ;
24433 int ecode2 = 0 ;
24434 octave_value_list _out;
24435 octave_value_list *_outp=&_out;
24436 octave_value _outv;
24437
24438 try {
24439 if (!SWIG_check_num_args("plsmaj",args.length(),2,2,0)) {
24440 SWIG_fail;
24441 }
24442 ecode1 = SWIG_AsVal_double(args(0), &val1);
24443 if (!SWIG_IsOK(ecode1)) {
24444 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmaj" "', argument " "1"" of type '" "PLFLT""'");
24445 }
24446 arg1 = static_cast< PLFLT >(val1);
24447 ecode2 = SWIG_AsVal_double(args(1), &val2);
24448 if (!SWIG_IsOK(ecode2)) {
24449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmaj" "', argument " "2"" of type '" "PLFLT""'");
24450 }
24451 arg2 = static_cast< PLFLT >(val2);
24452 plsmaj(arg1,arg2);
24453 _outv = octave_value();
24454 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24455 return _out;
24456 fail:
24457 return octave_value_list();
24458 }
24459 catch(...) {
24460 throw;
24461 }
24462}
24463
24464
24466 PLFLT arg1 ;
24467 PLFLT arg2 ;
24468 double val1 ;
24469 int ecode1 = 0 ;
24470 double val2 ;
24471 int ecode2 = 0 ;
24472 octave_value_list _out;
24473 octave_value_list *_outp=&_out;
24474 octave_value _outv;
24475
24476 try {
24477 if (!SWIG_check_num_args("plsmin",args.length(),2,2,0)) {
24478 SWIG_fail;
24479 }
24480 ecode1 = SWIG_AsVal_double(args(0), &val1);
24481 if (!SWIG_IsOK(ecode1)) {
24482 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmin" "', argument " "1"" of type '" "PLFLT""'");
24483 }
24484 arg1 = static_cast< PLFLT >(val1);
24485 ecode2 = SWIG_AsVal_double(args(1), &val2);
24486 if (!SWIG_IsOK(ecode2)) {
24487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmin" "', argument " "2"" of type '" "PLFLT""'");
24488 }
24489 arg2 = static_cast< PLFLT >(val2);
24490 plsmin(arg1,arg2);
24491 _outv = octave_value();
24492 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24493 return _out;
24494 fail:
24495 return octave_value_list();
24496 }
24497 catch(...) {
24498 throw;
24499 }
24500}
24501
24502
24504 PLINT arg1 ;
24505 int val1 ;
24506 int ecode1 = 0 ;
24507 octave_value_list _out;
24508 octave_value_list *_outp=&_out;
24509 octave_value _outv;
24510
24511 try {
24512 if (!SWIG_check_num_args("plsori",args.length(),1,1,0)) {
24513 SWIG_fail;
24514 }
24515 ecode1 = SWIG_AsVal_int(args(0), &val1);
24516 if (!SWIG_IsOK(ecode1)) {
24517 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsori" "', argument " "1"" of type '" "PLINT""'");
24518 }
24519 arg1 = static_cast< PLINT >(val1);
24520 plsori(arg1);
24521 _outv = octave_value();
24522 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24523 return _out;
24524 fail:
24525 return octave_value_list();
24526 }
24527 catch(...) {
24528 throw;
24529 }
24530}
24531
24532
24534 PLFLT arg1 ;
24535 PLFLT arg2 ;
24536 PLINT arg3 ;
24537 PLINT arg4 ;
24538 PLINT arg5 ;
24539 PLINT arg6 ;
24540 double val1 ;
24541 int ecode1 = 0 ;
24542 double val2 ;
24543 int ecode2 = 0 ;
24544 int val3 ;
24545 int ecode3 = 0 ;
24546 int val4 ;
24547 int ecode4 = 0 ;
24548 int val5 ;
24549 int ecode5 = 0 ;
24550 int val6 ;
24551 int ecode6 = 0 ;
24552 octave_value_list _out;
24553 octave_value_list *_outp=&_out;
24554 octave_value _outv;
24555
24556 try {
24557 if (!SWIG_check_num_args("plspage",args.length(),6,6,0)) {
24558 SWIG_fail;
24559 }
24560 ecode1 = SWIG_AsVal_double(args(0), &val1);
24561 if (!SWIG_IsOK(ecode1)) {
24562 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plspage" "', argument " "1"" of type '" "PLFLT""'");
24563 }
24564 arg1 = static_cast< PLFLT >(val1);
24565 ecode2 = SWIG_AsVal_double(args(1), &val2);
24566 if (!SWIG_IsOK(ecode2)) {
24567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plspage" "', argument " "2"" of type '" "PLFLT""'");
24568 }
24569 arg2 = static_cast< PLFLT >(val2);
24570 ecode3 = SWIG_AsVal_int(args(2), &val3);
24571 if (!SWIG_IsOK(ecode3)) {
24572 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plspage" "', argument " "3"" of type '" "PLINT""'");
24573 }
24574 arg3 = static_cast< PLINT >(val3);
24575 ecode4 = SWIG_AsVal_int(args(3), &val4);
24576 if (!SWIG_IsOK(ecode4)) {
24577 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plspage" "', argument " "4"" of type '" "PLINT""'");
24578 }
24579 arg4 = static_cast< PLINT >(val4);
24580 ecode5 = SWIG_AsVal_int(args(4), &val5);
24581 if (!SWIG_IsOK(ecode5)) {
24582 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plspage" "', argument " "5"" of type '" "PLINT""'");
24583 }
24584 arg5 = static_cast< PLINT >(val5);
24585 ecode6 = SWIG_AsVal_int(args(5), &val6);
24586 if (!SWIG_IsOK(ecode6)) {
24587 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plspage" "', argument " "6"" of type '" "PLINT""'");
24588 }
24589 arg6 = static_cast< PLINT >(val6);
24590 plspage(arg1,arg2,arg3,arg4,arg5,arg6);
24591 _outv = octave_value();
24592 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24593 return _out;
24594 fail:
24595 return octave_value_list();
24596 }
24597 catch(...) {
24598 throw;
24599 }
24600}
24601
24602
24604 char *arg1 = 0 ;
24605 int res1 ;
24606 char *buf1 = 0 ;
24607 int alloc1 = 0 ;
24608 octave_value_list _out;
24609 octave_value_list *_outp=&_out;
24610 octave_value _outv;
24611
24612 try {
24613 if (!SWIG_check_num_args("plspal0",args.length(),1,1,0)) {
24614 SWIG_fail;
24615 }
24616 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
24617 if (!SWIG_IsOK(res1)) {
24618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plspal0" "', argument " "1"" of type '" "char const *""'");
24619 }
24620 arg1 = reinterpret_cast< char * >(buf1);
24621 plspal0((char const *)arg1);
24622 _outv = octave_value();
24623 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24624 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24625 return _out;
24626 fail:
24627 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24628 return octave_value_list();
24629 }
24630 catch(...) {
24631 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24632 throw;
24633 }
24634}
24635
24636
24638 char *arg1 = 0 ;
24639 PLBOOL arg2 ;
24640 int res1 ;
24641 char *buf1 = 0 ;
24642 int alloc1 = 0 ;
24643 int val2 ;
24644 int ecode2 = 0 ;
24645 octave_value_list _out;
24646 octave_value_list *_outp=&_out;
24647 octave_value _outv;
24648
24649 try {
24650 if (!SWIG_check_num_args("plspal1",args.length(),2,2,0)) {
24651 SWIG_fail;
24652 }
24653 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
24654 if (!SWIG_IsOK(res1)) {
24655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plspal1" "', argument " "1"" of type '" "char const *""'");
24656 }
24657 arg1 = reinterpret_cast< char * >(buf1);
24658 ecode2 = SWIG_AsVal_int(args(1), &val2);
24659 if (!SWIG_IsOK(ecode2)) {
24660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plspal1" "', argument " "2"" of type '" "PLBOOL""'");
24661 }
24662 arg2 = static_cast< PLBOOL >(val2);
24663 plspal1((char const *)arg1,arg2);
24664 _outv = octave_value();
24665 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24666 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24667 return _out;
24668 fail:
24669 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24670 return octave_value_list();
24671 }
24672 catch(...) {
24673 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24674 throw;
24675 }
24676}
24677
24678
24680 PLBOOL arg1 ;
24681 int val1 ;
24682 int ecode1 = 0 ;
24683 octave_value_list _out;
24684 octave_value_list *_outp=&_out;
24685 octave_value _outv;
24686
24687 try {
24688 if (!SWIG_check_num_args("plspause",args.length(),1,1,0)) {
24689 SWIG_fail;
24690 }
24691 ecode1 = SWIG_AsVal_int(args(0), &val1);
24692 if (!SWIG_IsOK(ecode1)) {
24693 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plspause" "', argument " "1"" of type '" "PLBOOL""'");
24694 }
24695 arg1 = static_cast< PLBOOL >(val1);
24696 plspause(arg1);
24697 _outv = octave_value();
24698 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24699 return _out;
24700 fail:
24701 return octave_value_list();
24702 }
24703 catch(...) {
24704 throw;
24705 }
24706}
24707
24708
24709SWIG_DEFUN( plsstrm, _wrap_plsstrm, _wrap_plsstrm_texinfo ) {
24710 PLINT arg1 ;
24711 int val1 ;
24712 int ecode1 = 0 ;
24713 octave_value_list _out;
24714 octave_value_list *_outp=&_out;
24715 octave_value _outv;
24716
24717 try {
24718 if (!SWIG_check_num_args("plsstrm",args.length(),1,1,0)) {
24719 SWIG_fail;
24720 }
24721 ecode1 = SWIG_AsVal_int(args(0), &val1);
24722 if (!SWIG_IsOK(ecode1)) {
24723 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsstrm" "', argument " "1"" of type '" "PLINT""'");
24724 }
24725 arg1 = static_cast< PLINT >(val1);
24726 plsstrm(arg1);
24727 _outv = octave_value();
24728 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24729 return _out;
24730 fail:
24731 return octave_value_list();
24732 }
24733 catch(...) {
24734 throw;
24735 }
24736}
24737
24738
24740 PLINT arg1 ;
24741 PLINT arg2 ;
24742 int val1 ;
24743 int ecode1 = 0 ;
24744 int val2 ;
24745 int ecode2 = 0 ;
24746 octave_value_list _out;
24747 octave_value_list *_outp=&_out;
24748 octave_value _outv;
24749
24750 try {
24751 if (!SWIG_check_num_args("plssub",args.length(),2,2,0)) {
24752 SWIG_fail;
24753 }
24754 ecode1 = SWIG_AsVal_int(args(0), &val1);
24755 if (!SWIG_IsOK(ecode1)) {
24756 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plssub" "', argument " "1"" of type '" "PLINT""'");
24757 }
24758 arg1 = static_cast< PLINT >(val1);
24759 ecode2 = SWIG_AsVal_int(args(1), &val2);
24760 if (!SWIG_IsOK(ecode2)) {
24761 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plssub" "', argument " "2"" of type '" "PLINT""'");
24762 }
24763 arg2 = static_cast< PLINT >(val2);
24764 plssub(arg1,arg2);
24765 _outv = octave_value();
24766 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24767 return _out;
24768 fail:
24769 return octave_value_list();
24770 }
24771 catch(...) {
24772 throw;
24773 }
24774}
24775
24776
24778 PLFLT arg1 ;
24779 PLFLT arg2 ;
24780 double val1 ;
24781 int ecode1 = 0 ;
24782 double val2 ;
24783 int ecode2 = 0 ;
24784 octave_value_list _out;
24785 octave_value_list *_outp=&_out;
24786 octave_value _outv;
24787
24788 try {
24789 if (!SWIG_check_num_args("plssym",args.length(),2,2,0)) {
24790 SWIG_fail;
24791 }
24792 ecode1 = SWIG_AsVal_double(args(0), &val1);
24793 if (!SWIG_IsOK(ecode1)) {
24794 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plssym" "', argument " "1"" of type '" "PLFLT""'");
24795 }
24796 arg1 = static_cast< PLFLT >(val1);
24797 ecode2 = SWIG_AsVal_double(args(1), &val2);
24798 if (!SWIG_IsOK(ecode2)) {
24799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plssym" "', argument " "2"" of type '" "PLFLT""'");
24800 }
24801 arg2 = static_cast< PLFLT >(val2);
24802 plssym(arg1,arg2);
24803 _outv = octave_value();
24804 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24805 return _out;
24806 fail:
24807 return octave_value_list();
24808 }
24809 catch(...) {
24810 throw;
24811 }
24812}
24813
24814
24816 PLINT arg1 ;
24817 PLINT arg2 ;
24818 int val1 ;
24819 int ecode1 = 0 ;
24820 int val2 ;
24821 int ecode2 = 0 ;
24822 octave_value_list _out;
24823 octave_value_list *_outp=&_out;
24824 octave_value _outv;
24825
24826 try {
24827 if (!SWIG_check_num_args("plstar",args.length(),2,2,0)) {
24828 SWIG_fail;
24829 }
24830 ecode1 = SWIG_AsVal_int(args(0), &val1);
24831 if (!SWIG_IsOK(ecode1)) {
24832 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plstar" "', argument " "1"" of type '" "PLINT""'");
24833 }
24834 arg1 = static_cast< PLINT >(val1);
24835 ecode2 = SWIG_AsVal_int(args(1), &val2);
24836 if (!SWIG_IsOK(ecode2)) {
24837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plstar" "', argument " "2"" of type '" "PLINT""'");
24838 }
24839 arg2 = static_cast< PLINT >(val2);
24840 plstar(arg1,arg2);
24841 _outv = octave_value();
24842 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24843 return _out;
24844 fail:
24845 return octave_value_list();
24846 }
24847 catch(...) {
24848 throw;
24849 }
24850}
24851
24852
24854 char *arg1 = 0 ;
24855 PLINT arg2 ;
24856 PLINT arg3 ;
24857 int res1 ;
24858 char *buf1 = 0 ;
24859 int alloc1 = 0 ;
24860 int val2 ;
24861 int ecode2 = 0 ;
24862 int val3 ;
24863 int ecode3 = 0 ;
24864 octave_value_list _out;
24865 octave_value_list *_outp=&_out;
24866 octave_value _outv;
24867
24868 try {
24869 if (!SWIG_check_num_args("plstart",args.length(),3,3,0)) {
24870 SWIG_fail;
24871 }
24872 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
24873 if (!SWIG_IsOK(res1)) {
24874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plstart" "', argument " "1"" of type '" "char const *""'");
24875 }
24876 arg1 = reinterpret_cast< char * >(buf1);
24877 ecode2 = SWIG_AsVal_int(args(1), &val2);
24878 if (!SWIG_IsOK(ecode2)) {
24879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plstart" "', argument " "2"" of type '" "PLINT""'");
24880 }
24881 arg2 = static_cast< PLINT >(val2);
24882 ecode3 = SWIG_AsVal_int(args(2), &val3);
24883 if (!SWIG_IsOK(ecode3)) {
24884 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plstart" "', argument " "3"" of type '" "PLINT""'");
24885 }
24886 arg3 = static_cast< PLINT >(val3);
24887 plstart((char const *)arg1,arg2,arg3);
24888 _outv = octave_value();
24889 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24890 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24891 return _out;
24892 fail:
24893 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24894 return octave_value_list();
24895 }
24896 catch(...) {
24897 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24898 throw;
24899 }
24900}
24901
24902
24904 ct_func arg1 = 0 ;
24905 PLPointer arg2 = 0 ;
24906 int res2 ;
24907 octave_value_list _out;
24908 octave_value_list *_outp=&_out;
24909 octave_value _outv;
24910
24911 try {
24912 if (!SWIG_check_num_args("plstransform",args.length(),2,2,0)) {
24913 SWIG_fail;
24914 }
24915 {
24916 octave_value obj = args(0);
24917#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
24918 if ( !obj.isempty() )
24919#else
24920 if ( !obj.is_empty() )
24921#endif
24922 {
24923 if ( obj.is_function_handle() || obj.is_inline_function() )
24924 {
24925 fcnCoordTrans = obj.function_value();
24926 }
24927 else if ( obj.is_string() )
24928 {
24929 nameCoordTrans = obj.string_value();
24930 fcnCoordTrans = NULL;
24931 }
24932 arg1 = ct_octave;
24933 }
24934 else
24935 {
24936 arg1 = NULL;
24937 }
24938 }
24939 res2 = SWIG_ConvertPtr(args(1),SWIG_as_voidptrptr(&arg2), 0, 0);
24940 if (!SWIG_IsOK(res2)) {
24941 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plstransform" "', argument " "2"" of type '" "PLPointer""'");
24942 }
24943 plstransform(arg1,arg2);
24944 _outv = octave_value();
24945 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24946 return _out;
24947 fail:
24948 return octave_value_list();
24949 }
24950 catch(...) {
24951 throw;
24952 }
24953}
24954
24955
24957 PLINT arg1 ;
24958 PLFLT *arg2 = 0 ;
24959 PLFLT *arg3 = 0 ;
24960 char *arg4 = 0 ;
24961 Matrix temp1 ;
24962 Matrix temp3 ;
24963 int res4 ;
24964 char *buf4 = 0 ;
24965 int alloc4 = 0 ;
24966 octave_value_list _out;
24967 octave_value_list *_outp=&_out;
24968 octave_value _outv;
24969
24970 try {
24971 if (!SWIG_check_num_args("plstring",args.length(),3,3,0)) {
24972 SWIG_fail;
24973 }
24974 {
24975 if ( _n_dims( args(0) ) > 1 )
24976 {
24977 error( "argument must be a scalar or vector" ); SWIG_fail;
24978 }
24979 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
24980 temp1 = args(0).matrix_value();
24981 arg2 = &temp1( 0, 0 );
24982 }
24983 {
24984 if ( _n_dims( args(1) ) > 1 )
24985 {
24986 error( "argument must be a scalar or vector" ); SWIG_fail;
24987 }
24988 if ( _dim( args(1), 0 ) != Alen )
24989 {
24990 error( "argument vectors must be same length" ); SWIG_fail;
24991 }
24992 temp3 = args(1).matrix_value();
24993 arg3 = &temp3( 0, 0 );
24994 }
24995 res4 = SWIG_AsCharPtrAndSize(args(2), &buf4, NULL, &alloc4);
24996 if (!SWIG_IsOK(res4)) {
24997 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "plstring" "', argument " "4"" of type '" "char const *""'");
24998 }
24999 arg4 = reinterpret_cast< char * >(buf4);
25000 plstring(arg1,(double const *)arg2,(double const *)arg3,(char const *)arg4);
25001 _outv = octave_value();
25002 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25003 {
25004
25005 }
25006 {
25007
25008 }
25009 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
25010 return _out;
25011 fail:
25012 {
25013
25014 }
25015 {
25016
25017 }
25018 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
25019 return octave_value_list();
25020 }
25021 catch(...) {
25022 {
25023
25024 }
25025 {
25026
25027 }
25028 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
25029 throw;
25030 }
25031}
25032
25033
25035 PLINT arg1 ;
25036 PLFLT *arg2 = 0 ;
25037 PLFLT *arg3 = 0 ;
25038 PLFLT *arg4 = 0 ;
25039 char *arg5 = 0 ;
25040 Matrix temp1 ;
25041 Matrix temp3 ;
25042 Matrix temp4 ;
25043 int res5 ;
25044 char *buf5 = 0 ;
25045 int alloc5 = 0 ;
25046 octave_value_list _out;
25047 octave_value_list *_outp=&_out;
25048 octave_value _outv;
25049
25050 try {
25051 if (!SWIG_check_num_args("plstring3",args.length(),4,4,0)) {
25052 SWIG_fail;
25053 }
25054 {
25055 if ( _n_dims( args(0) ) > 1 )
25056 {
25057 error( "argument must be a scalar or vector" ); SWIG_fail;
25058 }
25059 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
25060 temp1 = args(0).matrix_value();
25061 arg2 = &temp1( 0, 0 );
25062 }
25063 {
25064 if ( _n_dims( args(1) ) > 1 )
25065 {
25066 error( "argument must be a scalar or vector" ); SWIG_fail;
25067 }
25068 if ( _dim( args(1), 0 ) != Alen )
25069 {
25070 error( "argument vectors must be same length" ); SWIG_fail;
25071 }
25072 temp3 = args(1).matrix_value();
25073 arg3 = &temp3( 0, 0 );
25074 }
25075 {
25076 if ( _n_dims( args(2) ) > 1 )
25077 {
25078 error( "argument must be a scalar or vector" ); SWIG_fail;
25079 }
25080 if ( _dim( args(2), 0 ) != Alen )
25081 {
25082 error( "argument vectors must be same length" ); SWIG_fail;
25083 }
25084 temp4 = args(2).matrix_value();
25085 arg4 = &temp4( 0, 0 );
25086 }
25087 res5 = SWIG_AsCharPtrAndSize(args(3), &buf5, NULL, &alloc5);
25088 if (!SWIG_IsOK(res5)) {
25089 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plstring3" "', argument " "5"" of type '" "char const *""'");
25090 }
25091 arg5 = reinterpret_cast< char * >(buf5);
25092 plstring3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4,(char const *)arg5);
25093 _outv = octave_value();
25094 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25095 {
25096
25097 }
25098 {
25099
25100 }
25101 {
25102
25103 }
25104 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
25105 return _out;
25106 fail:
25107 {
25108
25109 }
25110 {
25111
25112 }
25113 {
25114
25115 }
25116 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
25117 return octave_value_list();
25118 }
25119 catch(...) {
25120 {
25121
25122 }
25123 {
25124
25125 }
25126 {
25127
25128 }
25129 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
25130 throw;
25131 }
25132}
25133
25134
25136 PLINT arg1 ;
25137 PLINT arg2 ;
25138 PLFLT arg3 ;
25139 PLFLT arg4 ;
25140 int val1 ;
25141 int ecode1 = 0 ;
25142 int val2 ;
25143 int ecode2 = 0 ;
25144 double val3 ;
25145 int ecode3 = 0 ;
25146 double val4 ;
25147 int ecode4 = 0 ;
25148 octave_value_list _out;
25149 octave_value_list *_outp=&_out;
25150 octave_value _outv;
25151
25152 try {
25153 if (!SWIG_check_num_args("plstripa",args.length(),4,4,0)) {
25154 SWIG_fail;
25155 }
25156 ecode1 = SWIG_AsVal_int(args(0), &val1);
25157 if (!SWIG_IsOK(ecode1)) {
25158 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plstripa" "', argument " "1"" of type '" "PLINT""'");
25159 }
25160 arg1 = static_cast< PLINT >(val1);
25161 ecode2 = SWIG_AsVal_int(args(1), &val2);
25162 if (!SWIG_IsOK(ecode2)) {
25163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plstripa" "', argument " "2"" of type '" "PLINT""'");
25164 }
25165 arg2 = static_cast< PLINT >(val2);
25166 ecode3 = SWIG_AsVal_double(args(2), &val3);
25167 if (!SWIG_IsOK(ecode3)) {
25168 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plstripa" "', argument " "3"" of type '" "PLFLT""'");
25169 }
25170 arg3 = static_cast< PLFLT >(val3);
25171 ecode4 = SWIG_AsVal_double(args(3), &val4);
25172 if (!SWIG_IsOK(ecode4)) {
25173 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plstripa" "', argument " "4"" of type '" "PLFLT""'");
25174 }
25175 arg4 = static_cast< PLFLT >(val4);
25176 plstripa(arg1,arg2,arg3,arg4);
25177 _outv = octave_value();
25178 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25179 return _out;
25180 fail:
25181 return octave_value_list();
25182 }
25183 catch(...) {
25184 throw;
25185 }
25186}
25187
25188
25190 PLINT arg1 ;
25191 int val1 ;
25192 int ecode1 = 0 ;
25193 octave_value_list _out;
25194 octave_value_list *_outp=&_out;
25195 octave_value _outv;
25196
25197 try {
25198 if (!SWIG_check_num_args("plstripd",args.length(),1,1,0)) {
25199 SWIG_fail;
25200 }
25201 ecode1 = SWIG_AsVal_int(args(0), &val1);
25202 if (!SWIG_IsOK(ecode1)) {
25203 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plstripd" "', argument " "1"" of type '" "PLINT""'");
25204 }
25205 arg1 = static_cast< PLINT >(val1);
25206 plstripd(arg1);
25207 _outv = octave_value();
25208 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25209 return _out;
25210 fail:
25211 return octave_value_list();
25212 }
25213 catch(...) {
25214 throw;
25215 }
25216}
25217
25218
25220 PLINT arg1 ;
25221 PLINT *arg2 = 0 ;
25222 PLINT *arg3 = 0 ;
25223 Matrix temp1 ;
25224 Matrix temp3 ;
25225 octave_value_list _out;
25226 octave_value_list *_outp=&_out;
25227 octave_value _outv;
25228
25229 try {
25230 if (!SWIG_check_num_args("plstyl",args.length(),2,2,0)) {
25231 SWIG_fail;
25232 }
25233 {
25234 if ( _n_dims( args(0) ) > 1 )
25235 {
25236 error( "argument must be a scalar or vector" ); SWIG_fail;
25237 }
25238 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
25239 arg2 = new PLINT[Alen];
25240 temp1 = args(0).matrix_value();
25241 _cvt_double_to( arg2, &temp1( 0, 0 ), Alen );
25242 }
25243 {
25244 if ( _n_dims( args(1) ) > 1 )
25245 {
25246 error( "argument must be a scalar or vector" ); SWIG_fail;
25247 }
25248 if ( _dim( args(1), 0 ) != Alen )
25249 {
25250 error( "argument vectors must be same length" ); SWIG_fail;
25251 }
25252 temp3 = args(1).matrix_value();
25253 arg3 = new PLINT[Alen];
25254 _cvt_double_to( arg3, &temp3( 0, 0 ), Alen );
25255 }
25256 plstyl(arg1,(int const *)arg2,(int const *)arg3);
25257 _outv = octave_value();
25258 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25259 {
25260 delete [] arg2;
25261 }
25262 {
25263 delete [] arg3;
25264 }
25265 return _out;
25266 fail:
25267 {
25268 delete [] arg2;
25269 }
25270 {
25271 delete [] arg3;
25272 }
25273 return octave_value_list();
25274 }
25275 catch(...) {
25276 {
25277 delete [] arg2;
25278 }
25279 {
25280 delete [] arg3;
25281 }
25282 throw;
25283 }
25284}
25285
25286
25288 PLFLT *arg1 = 0 ;
25289 PLFLT *arg2 = 0 ;
25290 PLINT arg3 ;
25291 PLBOOL arg4 ;
25292 Matrix temp1 ;
25293 Matrix temp2 ;
25294 int val4 ;
25295 int ecode4 = 0 ;
25296 octave_value_list _out;
25297 octave_value_list *_outp=&_out;
25298 octave_value _outv;
25299
25300 try {
25301 if (!SWIG_check_num_args("plsvect",args.length(),3,3,0)) {
25302 SWIG_fail;
25303 }
25304 {
25305 if ( _n_dims( args(0) ) > 1 )
25306 {
25307 error( "argument must be a scalar or vector" ); SWIG_fail;
25308 }
25309#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
25310 if ( !args(0).isempty() )
25311#else
25312 if ( !args(0).is_empty() )
25313#endif
25314 {
25315 Alen = (PLINT) ( _dim( args(0), 0 ) );
25316 temp1 = args(0).matrix_value();
25317 arg1 = &temp1( 0, 0 );
25318 }
25319 else
25320 {
25321 arg1 = NULL;
25322 Alen = 0;
25323 }
25324 }
25325 {
25326 if ( _n_dims( args(1) ) > 1 )
25327 {
25328 error( "argument must be a scalar or vector" ); SWIG_fail;
25329 }
25330#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
25331 if ( !args(1).isempty() )
25332#else
25333 if ( !args(1).is_empty() )
25334#endif
25335 {
25336 if ( _dim( args(1), 0 ) != Alen )
25337 {
25338 error( "argument vectors must be same length" ); SWIG_fail;
25339 }
25340 temp2 = args(1).matrix_value();
25341 arg2 = &temp2( 0, 0 );
25342 arg3 = (PLINT) ( _dim( args(1), 0 ) );
25343 }
25344 else
25345 {
25346 arg2 = NULL;
25347 arg3 = 0;
25348 }
25349 }
25350 ecode4 = SWIG_AsVal_int(args(2), &val4);
25351 if (!SWIG_IsOK(ecode4)) {
25352 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsvect" "', argument " "4"" of type '" "PLBOOL""'");
25353 }
25354 arg4 = static_cast< PLBOOL >(val4);
25355 plsvect((double const *)arg1,(double const *)arg2,arg3,arg4);
25356 _outv = octave_value();
25357 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25358 {
25359
25360 }
25361 {
25362
25363 }
25364 return _out;
25365 fail:
25366 {
25367
25368 }
25369 {
25370
25371 }
25372 return octave_value_list();
25373 }
25374 catch(...) {
25375 {
25376
25377 }
25378 {
25379
25380 }
25381 throw;
25382 }
25383}
25384
25385
25387 PLFLT arg1 ;
25388 PLFLT arg2 ;
25389 PLFLT arg3 ;
25390 PLFLT arg4 ;
25391 double val1 ;
25392 int ecode1 = 0 ;
25393 double val2 ;
25394 int ecode2 = 0 ;
25395 double val3 ;
25396 int ecode3 = 0 ;
25397 double val4 ;
25398 int ecode4 = 0 ;
25399 octave_value_list _out;
25400 octave_value_list *_outp=&_out;
25401 octave_value _outv;
25402
25403 try {
25404 if (!SWIG_check_num_args("plsvpa",args.length(),4,4,0)) {
25405 SWIG_fail;
25406 }
25407 ecode1 = SWIG_AsVal_double(args(0), &val1);
25408 if (!SWIG_IsOK(ecode1)) {
25409 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsvpa" "', argument " "1"" of type '" "PLFLT""'");
25410 }
25411 arg1 = static_cast< PLFLT >(val1);
25412 ecode2 = SWIG_AsVal_double(args(1), &val2);
25413 if (!SWIG_IsOK(ecode2)) {
25414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsvpa" "', argument " "2"" of type '" "PLFLT""'");
25415 }
25416 arg2 = static_cast< PLFLT >(val2);
25417 ecode3 = SWIG_AsVal_double(args(2), &val3);
25418 if (!SWIG_IsOK(ecode3)) {
25419 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsvpa" "', argument " "3"" of type '" "PLFLT""'");
25420 }
25421 arg3 = static_cast< PLFLT >(val3);
25422 ecode4 = SWIG_AsVal_double(args(3), &val4);
25423 if (!SWIG_IsOK(ecode4)) {
25424 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsvpa" "', argument " "4"" of type '" "PLFLT""'");
25425 }
25426 arg4 = static_cast< PLFLT >(val4);
25427 plsvpa(arg1,arg2,arg3,arg4);
25428 _outv = octave_value();
25429 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25430 return _out;
25431 fail:
25432 return octave_value_list();
25433 }
25434 catch(...) {
25435 throw;
25436 }
25437}
25438
25439
25441 PLINT arg1 ;
25442 PLINT arg2 ;
25443 int val1 ;
25444 int ecode1 = 0 ;
25445 int val2 ;
25446 int ecode2 = 0 ;
25447 octave_value_list _out;
25448 octave_value_list *_outp=&_out;
25449 octave_value _outv;
25450
25451 try {
25452 if (!SWIG_check_num_args("plsxax",args.length(),2,2,0)) {
25453 SWIG_fail;
25454 }
25455 ecode1 = SWIG_AsVal_int(args(0), &val1);
25456 if (!SWIG_IsOK(ecode1)) {
25457 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsxax" "', argument " "1"" of type '" "PLINT""'");
25458 }
25459 arg1 = static_cast< PLINT >(val1);
25460 ecode2 = SWIG_AsVal_int(args(1), &val2);
25461 if (!SWIG_IsOK(ecode2)) {
25462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsxax" "', argument " "2"" of type '" "PLINT""'");
25463 }
25464 arg2 = static_cast< PLINT >(val2);
25465 plsxax(arg1,arg2);
25466 _outv = octave_value();
25467 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25468 return _out;
25469 fail:
25470 return octave_value_list();
25471 }
25472 catch(...) {
25473 throw;
25474 }
25475}
25476
25477
25479 PLINT arg1 ;
25480 PLINT arg2 ;
25481 int val1 ;
25482 int ecode1 = 0 ;
25483 int val2 ;
25484 int ecode2 = 0 ;
25485 octave_value_list _out;
25486 octave_value_list *_outp=&_out;
25487 octave_value _outv;
25488
25489 try {
25490 if (!SWIG_check_num_args("plsyax",args.length(),2,2,0)) {
25491 SWIG_fail;
25492 }
25493 ecode1 = SWIG_AsVal_int(args(0), &val1);
25494 if (!SWIG_IsOK(ecode1)) {
25495 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsyax" "', argument " "1"" of type '" "PLINT""'");
25496 }
25497 arg1 = static_cast< PLINT >(val1);
25498 ecode2 = SWIG_AsVal_int(args(1), &val2);
25499 if (!SWIG_IsOK(ecode2)) {
25500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsyax" "', argument " "2"" of type '" "PLINT""'");
25501 }
25502 arg2 = static_cast< PLINT >(val2);
25503 plsyax(arg1,arg2);
25504 _outv = octave_value();
25505 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25506 return _out;
25507 fail:
25508 return octave_value_list();
25509 }
25510 catch(...) {
25511 throw;
25512 }
25513}
25514
25515
25517 PLINT arg1 ;
25518 PLFLT *arg2 = 0 ;
25519 PLFLT *arg3 = 0 ;
25520 PLINT arg4 ;
25521 Matrix temp1 ;
25522 Matrix temp3 ;
25523 int val4 ;
25524 int ecode4 = 0 ;
25525 octave_value_list _out;
25526 octave_value_list *_outp=&_out;
25527 octave_value _outv;
25528
25529 try {
25530 if (!SWIG_check_num_args("plsym",args.length(),3,3,0)) {
25531 SWIG_fail;
25532 }
25533 {
25534 if ( _n_dims( args(0) ) > 1 )
25535 {
25536 error( "argument must be a scalar or vector" ); SWIG_fail;
25537 }
25538 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
25539 temp1 = args(0).matrix_value();
25540 arg2 = &temp1( 0, 0 );
25541 }
25542 {
25543 if ( _n_dims( args(1) ) > 1 )
25544 {
25545 error( "argument must be a scalar or vector" ); SWIG_fail;
25546 }
25547 if ( _dim( args(1), 0 ) != Alen )
25548 {
25549 error( "argument vectors must be same length" ); SWIG_fail;
25550 }
25551 temp3 = args(1).matrix_value();
25552 arg3 = &temp3( 0, 0 );
25553 }
25554 ecode4 = SWIG_AsVal_int(args(2), &val4);
25555 if (!SWIG_IsOK(ecode4)) {
25556 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsym" "', argument " "4"" of type '" "PLINT""'");
25557 }
25558 arg4 = static_cast< PLINT >(val4);
25559 plsym(arg1,(double const *)arg2,(double const *)arg3,arg4);
25560 _outv = octave_value();
25561 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25562 {
25563
25564 }
25565 {
25566
25567 }
25568 return _out;
25569 fail:
25570 {
25571
25572 }
25573 {
25574
25575 }
25576 return octave_value_list();
25577 }
25578 catch(...) {
25579 {
25580
25581 }
25582 {
25583
25584 }
25585 throw;
25586 }
25587}
25588
25589
25591 PLINT arg1 ;
25592 PLINT arg2 ;
25593 int val1 ;
25594 int ecode1 = 0 ;
25595 int val2 ;
25596 int ecode2 = 0 ;
25597 octave_value_list _out;
25598 octave_value_list *_outp=&_out;
25599 octave_value _outv;
25600
25601 try {
25602 if (!SWIG_check_num_args("plszax",args.length(),2,2,0)) {
25603 SWIG_fail;
25604 }
25605 ecode1 = SWIG_AsVal_int(args(0), &val1);
25606 if (!SWIG_IsOK(ecode1)) {
25607 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plszax" "', argument " "1"" of type '" "PLINT""'");
25608 }
25609 arg1 = static_cast< PLINT >(val1);
25610 ecode2 = SWIG_AsVal_int(args(1), &val2);
25611 if (!SWIG_IsOK(ecode2)) {
25612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plszax" "', argument " "2"" of type '" "PLINT""'");
25613 }
25614 arg2 = static_cast< PLINT >(val2);
25615 plszax(arg1,arg2);
25616 _outv = octave_value();
25617 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25618 return _out;
25619 fail:
25620 return octave_value_list();
25621 }
25622 catch(...) {
25623 throw;
25624 }
25625}
25626
25627
25629 octave_value_list _out;
25630 octave_value_list *_outp=&_out;
25631 octave_value _outv;
25632
25633 try {
25634 if (!SWIG_check_num_args("pltext",args.length(),0,0,0)) {
25635 SWIG_fail;
25636 }
25637 pltext();
25638 _outv = octave_value();
25639 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25640 return _out;
25641 fail:
25642 return octave_value_list();
25643 }
25644 catch(...) {
25645 throw;
25646 }
25647}
25648
25649
25651 char *arg1 = 0 ;
25652 int res1 ;
25653 char *buf1 = 0 ;
25654 int alloc1 = 0 ;
25655 octave_value_list _out;
25656 octave_value_list *_outp=&_out;
25657 octave_value _outv;
25658
25659 try {
25660 if (!SWIG_check_num_args("pltimefmt",args.length(),1,1,0)) {
25661 SWIG_fail;
25662 }
25663 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
25664 if (!SWIG_IsOK(res1)) {
25665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pltimefmt" "', argument " "1"" of type '" "char const *""'");
25666 }
25667 arg1 = reinterpret_cast< char * >(buf1);
25668 pltimefmt((char const *)arg1);
25669 _outv = octave_value();
25670 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25671 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
25672 return _out;
25673 fail:
25674 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
25675 return octave_value_list();
25676 }
25677 catch(...) {
25678 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
25679 throw;
25680 }
25681}
25682
25683
25685 PLFLT arg1 ;
25686 double val1 ;
25687 int ecode1 = 0 ;
25688 octave_value_list _out;
25689 octave_value_list *_outp=&_out;
25690 octave_value _outv;
25691
25692 try {
25693 if (!SWIG_check_num_args("plvasp",args.length(),1,1,0)) {
25694 SWIG_fail;
25695 }
25696 ecode1 = SWIG_AsVal_double(args(0), &val1);
25697 if (!SWIG_IsOK(ecode1)) {
25698 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plvasp" "', argument " "1"" of type '" "PLFLT""'");
25699 }
25700 arg1 = static_cast< PLFLT >(val1);
25701 plvasp(arg1);
25702 _outv = octave_value();
25703 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25704 return _out;
25705 fail:
25706 return octave_value_list();
25707 }
25708 catch(...) {
25709 throw;
25710 }
25711}
25712
25713
25715 PLFLT arg1 ;
25716 PLFLT arg2 ;
25717 PLFLT arg3 ;
25718 PLFLT arg4 ;
25719 PLFLT arg5 ;
25720 double val1 ;
25721 int ecode1 = 0 ;
25722 double val2 ;
25723 int ecode2 = 0 ;
25724 double val3 ;
25725 int ecode3 = 0 ;
25726 double val4 ;
25727 int ecode4 = 0 ;
25728 double val5 ;
25729 int ecode5 = 0 ;
25730 octave_value_list _out;
25731 octave_value_list *_outp=&_out;
25732 octave_value _outv;
25733
25734 try {
25735 if (!SWIG_check_num_args("plvpas",args.length(),5,5,0)) {
25736 SWIG_fail;
25737 }
25738 ecode1 = SWIG_AsVal_double(args(0), &val1);
25739 if (!SWIG_IsOK(ecode1)) {
25740 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plvpas" "', argument " "1"" of type '" "PLFLT""'");
25741 }
25742 arg1 = static_cast< PLFLT >(val1);
25743 ecode2 = SWIG_AsVal_double(args(1), &val2);
25744 if (!SWIG_IsOK(ecode2)) {
25745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plvpas" "', argument " "2"" of type '" "PLFLT""'");
25746 }
25747 arg2 = static_cast< PLFLT >(val2);
25748 ecode3 = SWIG_AsVal_double(args(2), &val3);
25749 if (!SWIG_IsOK(ecode3)) {
25750 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plvpas" "', argument " "3"" of type '" "PLFLT""'");
25751 }
25752 arg3 = static_cast< PLFLT >(val3);
25753 ecode4 = SWIG_AsVal_double(args(3), &val4);
25754 if (!SWIG_IsOK(ecode4)) {
25755 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plvpas" "', argument " "4"" of type '" "PLFLT""'");
25756 }
25757 arg4 = static_cast< PLFLT >(val4);
25758 ecode5 = SWIG_AsVal_double(args(4), &val5);
25759 if (!SWIG_IsOK(ecode5)) {
25760 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plvpas" "', argument " "5"" of type '" "PLFLT""'");
25761 }
25762 arg5 = static_cast< PLFLT >(val5);
25763 plvpas(arg1,arg2,arg3,arg4,arg5);
25764 _outv = octave_value();
25765 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25766 return _out;
25767 fail:
25768 return octave_value_list();
25769 }
25770 catch(...) {
25771 throw;
25772 }
25773}
25774
25775
25777 PLFLT arg1 ;
25778 PLFLT arg2 ;
25779 PLFLT arg3 ;
25780 PLFLT arg4 ;
25781 double val1 ;
25782 int ecode1 = 0 ;
25783 double val2 ;
25784 int ecode2 = 0 ;
25785 double val3 ;
25786 int ecode3 = 0 ;
25787 double val4 ;
25788 int ecode4 = 0 ;
25789 octave_value_list _out;
25790 octave_value_list *_outp=&_out;
25791 octave_value _outv;
25792
25793 try {
25794 if (!SWIG_check_num_args("plvpor",args.length(),4,4,0)) {
25795 SWIG_fail;
25796 }
25797 ecode1 = SWIG_AsVal_double(args(0), &val1);
25798 if (!SWIG_IsOK(ecode1)) {
25799 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plvpor" "', argument " "1"" of type '" "PLFLT""'");
25800 }
25801 arg1 = static_cast< PLFLT >(val1);
25802 ecode2 = SWIG_AsVal_double(args(1), &val2);
25803 if (!SWIG_IsOK(ecode2)) {
25804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plvpor" "', argument " "2"" of type '" "PLFLT""'");
25805 }
25806 arg2 = static_cast< PLFLT >(val2);
25807 ecode3 = SWIG_AsVal_double(args(2), &val3);
25808 if (!SWIG_IsOK(ecode3)) {
25809 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plvpor" "', argument " "3"" of type '" "PLFLT""'");
25810 }
25811 arg3 = static_cast< PLFLT >(val3);
25812 ecode4 = SWIG_AsVal_double(args(3), &val4);
25813 if (!SWIG_IsOK(ecode4)) {
25814 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plvpor" "', argument " "4"" of type '" "PLFLT""'");
25815 }
25816 arg4 = static_cast< PLFLT >(val4);
25817 plvpor(arg1,arg2,arg3,arg4);
25818 _outv = octave_value();
25819 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25820 return _out;
25821 fail:
25822 return octave_value_list();
25823 }
25824 catch(...) {
25825 throw;
25826 }
25827}
25828
25829
25831 octave_value_list _out;
25832 octave_value_list *_outp=&_out;
25833 octave_value _outv;
25834
25835 try {
25836 if (!SWIG_check_num_args("plvsta",args.length(),0,0,0)) {
25837 SWIG_fail;
25838 }
25839 plvsta();
25840 _outv = octave_value();
25841 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25842 return _out;
25843 fail:
25844 return octave_value_list();
25845 }
25846 catch(...) {
25847 throw;
25848 }
25849}
25850
25851
25853 PLFLT arg1 ;
25854 PLFLT arg2 ;
25855 PLFLT arg3 ;
25856 PLFLT arg4 ;
25857 PLFLT arg5 ;
25858 PLFLT arg6 ;
25859 PLFLT arg7 ;
25860 PLFLT arg8 ;
25861 PLFLT arg9 ;
25862 PLFLT arg10 ;
25863 PLFLT arg11 ;
25864 double val1 ;
25865 int ecode1 = 0 ;
25866 double val2 ;
25867 int ecode2 = 0 ;
25868 double val3 ;
25869 int ecode3 = 0 ;
25870 double val4 ;
25871 int ecode4 = 0 ;
25872 double val5 ;
25873 int ecode5 = 0 ;
25874 double val6 ;
25875 int ecode6 = 0 ;
25876 double val7 ;
25877 int ecode7 = 0 ;
25878 double val8 ;
25879 int ecode8 = 0 ;
25880 double val9 ;
25881 int ecode9 = 0 ;
25882 double val10 ;
25883 int ecode10 = 0 ;
25884 double val11 ;
25885 int ecode11 = 0 ;
25886 octave_value_list _out;
25887 octave_value_list *_outp=&_out;
25888 octave_value _outv;
25889
25890 try {
25891 if (!SWIG_check_num_args("plw3d",args.length(),11,11,0)) {
25892 SWIG_fail;
25893 }
25894 ecode1 = SWIG_AsVal_double(args(0), &val1);
25895 if (!SWIG_IsOK(ecode1)) {
25896 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plw3d" "', argument " "1"" of type '" "PLFLT""'");
25897 }
25898 arg1 = static_cast< PLFLT >(val1);
25899 ecode2 = SWIG_AsVal_double(args(1), &val2);
25900 if (!SWIG_IsOK(ecode2)) {
25901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plw3d" "', argument " "2"" of type '" "PLFLT""'");
25902 }
25903 arg2 = static_cast< PLFLT >(val2);
25904 ecode3 = SWIG_AsVal_double(args(2), &val3);
25905 if (!SWIG_IsOK(ecode3)) {
25906 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plw3d" "', argument " "3"" of type '" "PLFLT""'");
25907 }
25908 arg3 = static_cast< PLFLT >(val3);
25909 ecode4 = SWIG_AsVal_double(args(3), &val4);
25910 if (!SWIG_IsOK(ecode4)) {
25911 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plw3d" "', argument " "4"" of type '" "PLFLT""'");
25912 }
25913 arg4 = static_cast< PLFLT >(val4);
25914 ecode5 = SWIG_AsVal_double(args(4), &val5);
25915 if (!SWIG_IsOK(ecode5)) {
25916 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plw3d" "', argument " "5"" of type '" "PLFLT""'");
25917 }
25918 arg5 = static_cast< PLFLT >(val5);
25919 ecode6 = SWIG_AsVal_double(args(5), &val6);
25920 if (!SWIG_IsOK(ecode6)) {
25921 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plw3d" "', argument " "6"" of type '" "PLFLT""'");
25922 }
25923 arg6 = static_cast< PLFLT >(val6);
25924 ecode7 = SWIG_AsVal_double(args(6), &val7);
25925 if (!SWIG_IsOK(ecode7)) {
25926 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plw3d" "', argument " "7"" of type '" "PLFLT""'");
25927 }
25928 arg7 = static_cast< PLFLT >(val7);
25929 ecode8 = SWIG_AsVal_double(args(7), &val8);
25930 if (!SWIG_IsOK(ecode8)) {
25931 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plw3d" "', argument " "8"" of type '" "PLFLT""'");
25932 }
25933 arg8 = static_cast< PLFLT >(val8);
25934 ecode9 = SWIG_AsVal_double(args(8), &val9);
25935 if (!SWIG_IsOK(ecode9)) {
25936 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plw3d" "', argument " "9"" of type '" "PLFLT""'");
25937 }
25938 arg9 = static_cast< PLFLT >(val9);
25939 ecode10 = SWIG_AsVal_double(args(9), &val10);
25940 if (!SWIG_IsOK(ecode10)) {
25941 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plw3d" "', argument " "10"" of type '" "PLFLT""'");
25942 }
25943 arg10 = static_cast< PLFLT >(val10);
25944 ecode11 = SWIG_AsVal_double(args(10), &val11);
25945 if (!SWIG_IsOK(ecode11)) {
25946 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plw3d" "', argument " "11"" of type '" "PLFLT""'");
25947 }
25948 arg11 = static_cast< PLFLT >(val11);
25949 plw3d(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
25950 _outv = octave_value();
25951 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25952 return _out;
25953 fail:
25954 return octave_value_list();
25955 }
25956 catch(...) {
25957 throw;
25958 }
25959}
25960
25961
25963 PLFLT arg1 ;
25964 double val1 ;
25965 int ecode1 = 0 ;
25966 octave_value_list _out;
25967 octave_value_list *_outp=&_out;
25968 octave_value _outv;
25969
25970 try {
25971 if (!SWIG_check_num_args("plwidth",args.length(),1,1,0)) {
25972 SWIG_fail;
25973 }
25974 ecode1 = SWIG_AsVal_double(args(0), &val1);
25975 if (!SWIG_IsOK(ecode1)) {
25976 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plwidth" "', argument " "1"" of type '" "PLFLT""'");
25977 }
25978 arg1 = static_cast< PLFLT >(val1);
25979 plwidth(arg1);
25980 _outv = octave_value();
25981 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25982 return _out;
25983 fail:
25984 return octave_value_list();
25985 }
25986 catch(...) {
25987 throw;
25988 }
25989}
25990
25991
25993 PLFLT arg1 ;
25994 PLFLT arg2 ;
25995 PLFLT arg3 ;
25996 PLFLT arg4 ;
25997 double val1 ;
25998 int ecode1 = 0 ;
25999 double val2 ;
26000 int ecode2 = 0 ;
26001 double val3 ;
26002 int ecode3 = 0 ;
26003 double val4 ;
26004 int ecode4 = 0 ;
26005 octave_value_list _out;
26006 octave_value_list *_outp=&_out;
26007 octave_value _outv;
26008
26009 try {
26010 if (!SWIG_check_num_args("plwind",args.length(),4,4,0)) {
26011 SWIG_fail;
26012 }
26013 ecode1 = SWIG_AsVal_double(args(0), &val1);
26014 if (!SWIG_IsOK(ecode1)) {
26015 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plwind" "', argument " "1"" of type '" "PLFLT""'");
26016 }
26017 arg1 = static_cast< PLFLT >(val1);
26018 ecode2 = SWIG_AsVal_double(args(1), &val2);
26019 if (!SWIG_IsOK(ecode2)) {
26020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plwind" "', argument " "2"" of type '" "PLFLT""'");
26021 }
26022 arg2 = static_cast< PLFLT >(val2);
26023 ecode3 = SWIG_AsVal_double(args(2), &val3);
26024 if (!SWIG_IsOK(ecode3)) {
26025 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plwind" "', argument " "3"" of type '" "PLFLT""'");
26026 }
26027 arg3 = static_cast< PLFLT >(val3);
26028 ecode4 = SWIG_AsVal_double(args(3), &val4);
26029 if (!SWIG_IsOK(ecode4)) {
26030 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plwind" "', argument " "4"" of type '" "PLFLT""'");
26031 }
26032 arg4 = static_cast< PLFLT >(val4);
26033 plwind(arg1,arg2,arg3,arg4);
26034 _outv = octave_value();
26035 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26036 return _out;
26037 fail:
26038 return octave_value_list();
26039 }
26040 catch(...) {
26041 throw;
26042 }
26043}
26044
26045
26047 PLBOOL arg1 ;
26048 PLBOOL *arg2 = 0 ;
26049 int val1 ;
26050 int ecode1 = 0 ;
26051 PLBOOL temp2 ;
26052 int res2 = SWIG_TMPOBJ ;
26053 octave_value_list _out;
26054 octave_value_list *_outp=&_out;
26055 octave_value _outv;
26056
26057 try {
26058 arg2 = &temp2;
26059 if (!SWIG_check_num_args("plxormod",args.length(),1,1,0)) {
26060 SWIG_fail;
26061 }
26062 ecode1 = SWIG_AsVal_int(args(0), &val1);
26063 if (!SWIG_IsOK(ecode1)) {
26064 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plxormod" "', argument " "1"" of type '" "PLBOOL""'");
26065 }
26066 arg1 = static_cast< PLBOOL >(val1);
26067 plxormod(arg1,arg2);
26068 _outv = octave_value();
26069 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26070 if (SWIG_IsTmpObj(res2)) {
26071 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
26072 } else {
26073 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
26074 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
26075 }
26076 return _out;
26077 fail:
26078 return octave_value_list();
26079 }
26080 catch(...) {
26081 throw;
26082 }
26083}
26084
26085
26087 mapform_func arg1 = 0 ;
26088 char *arg2 = 0 ;
26089 PLFLT arg3 ;
26090 PLFLT arg4 ;
26091 PLFLT arg5 ;
26092 PLFLT arg6 ;
26093 int res2 ;
26094 char *buf2 = 0 ;
26095 int alloc2 = 0 ;
26096 double val3 ;
26097 int ecode3 = 0 ;
26098 double val4 ;
26099 int ecode4 = 0 ;
26100 double val5 ;
26101 int ecode5 = 0 ;
26102 double val6 ;
26103 int ecode6 = 0 ;
26104 octave_value_list _out;
26105 octave_value_list *_outp=&_out;
26106 octave_value _outv;
26107
26108 try {
26109 if (!SWIG_check_num_args("plmap",args.length(),6,6,0)) {
26110 SWIG_fail;
26111 }
26112 {
26113 octave_value obj = args(0);
26114#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
26115 if ( !obj.isempty() )
26116#else
26117 if ( !obj.is_empty() )
26118#endif
26119 {
26120 if ( obj.is_function_handle() || obj.is_inline_function() )
26121 {
26122 fcnMapForm = obj.function_value();
26123 }
26124 else if ( obj.is_string() )
26125 {
26126 nameMapForm = obj.string_value();
26127 fcnMapForm = NULL;
26128 }
26129 arg1 = mapform_octave;
26130 }
26131 else
26132 {
26133 arg1 = NULL;
26134 }
26135 }
26136 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
26137 if (!SWIG_IsOK(res2)) {
26138 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmap" "', argument " "2"" of type '" "char const *""'");
26139 }
26140 arg2 = reinterpret_cast< char * >(buf2);
26141 ecode3 = SWIG_AsVal_double(args(2), &val3);
26142 if (!SWIG_IsOK(ecode3)) {
26143 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmap" "', argument " "3"" of type '" "PLFLT""'");
26144 }
26145 arg3 = static_cast< PLFLT >(val3);
26146 ecode4 = SWIG_AsVal_double(args(3), &val4);
26147 if (!SWIG_IsOK(ecode4)) {
26148 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmap" "', argument " "4"" of type '" "PLFLT""'");
26149 }
26150 arg4 = static_cast< PLFLT >(val4);
26151 ecode5 = SWIG_AsVal_double(args(4), &val5);
26152 if (!SWIG_IsOK(ecode5)) {
26153 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmap" "', argument " "5"" of type '" "PLFLT""'");
26154 }
26155 arg5 = static_cast< PLFLT >(val5);
26156 ecode6 = SWIG_AsVal_double(args(5), &val6);
26157 if (!SWIG_IsOK(ecode6)) {
26158 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmap" "', argument " "6"" of type '" "PLFLT""'");
26159 }
26160 arg6 = static_cast< PLFLT >(val6);
26161 plmap(arg1,(char const *)arg2,arg3,arg4,arg5,arg6);
26162 _outv = octave_value();
26163 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26164 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26165 return _out;
26166 fail:
26167 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26168 return octave_value_list();
26169 }
26170 catch(...) {
26171 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26172 throw;
26173 }
26174}
26175
26176
26178 mapform_func arg1 = 0 ;
26179 char *arg2 = 0 ;
26180 PLFLT arg3 ;
26181 PLFLT arg4 ;
26182 PLFLT arg5 ;
26183 PLFLT arg6 ;
26184 PLINT *arg7 = 0 ;
26185 PLINT arg8 ;
26186 int res2 ;
26187 char *buf2 = 0 ;
26188 int alloc2 = 0 ;
26189 double val3 ;
26190 int ecode3 = 0 ;
26191 double val4 ;
26192 int ecode4 = 0 ;
26193 double val5 ;
26194 int ecode5 = 0 ;
26195 double val6 ;
26196 int ecode6 = 0 ;
26197 Matrix temp7 ;
26198 octave_value_list _out;
26199 octave_value_list *_outp=&_out;
26200 octave_value _outv;
26201
26202 try {
26203 if (!SWIG_check_num_args("plmapline",args.length(),7,7,0)) {
26204 SWIG_fail;
26205 }
26206 {
26207 octave_value obj = args(0);
26208#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
26209 if ( !obj.isempty() )
26210#else
26211 if ( !obj.is_empty() )
26212#endif
26213 {
26214 if ( obj.is_function_handle() || obj.is_inline_function() )
26215 {
26216 fcnMapForm = obj.function_value();
26217 }
26218 else if ( obj.is_string() )
26219 {
26220 nameMapForm = obj.string_value();
26221 fcnMapForm = NULL;
26222 }
26223 arg1 = mapform_octave;
26224 }
26225 else
26226 {
26227 arg1 = NULL;
26228 }
26229 }
26230 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
26231 if (!SWIG_IsOK(res2)) {
26232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmapline" "', argument " "2"" of type '" "char const *""'");
26233 }
26234 arg2 = reinterpret_cast< char * >(buf2);
26235 ecode3 = SWIG_AsVal_double(args(2), &val3);
26236 if (!SWIG_IsOK(ecode3)) {
26237 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmapline" "', argument " "3"" of type '" "PLFLT""'");
26238 }
26239 arg3 = static_cast< PLFLT >(val3);
26240 ecode4 = SWIG_AsVal_double(args(3), &val4);
26241 if (!SWIG_IsOK(ecode4)) {
26242 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmapline" "', argument " "4"" of type '" "PLFLT""'");
26243 }
26244 arg4 = static_cast< PLFLT >(val4);
26245 ecode5 = SWIG_AsVal_double(args(4), &val5);
26246 if (!SWIG_IsOK(ecode5)) {
26247 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmapline" "', argument " "5"" of type '" "PLFLT""'");
26248 }
26249 arg5 = static_cast< PLFLT >(val5);
26250 ecode6 = SWIG_AsVal_double(args(5), &val6);
26251 if (!SWIG_IsOK(ecode6)) {
26252 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmapline" "', argument " "6"" of type '" "PLFLT""'");
26253 }
26254 arg6 = static_cast< PLFLT >(val6);
26255 {
26256 if ( _n_dims( args(6) ) > 1 )
26257 {
26258 error( "argument must be a scalar or vector" ); SWIG_fail;
26259 }
26260#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
26261 if ( !args(6).isempty() )
26262#else
26263 if ( !args(6).is_empty() )
26264#endif
26265 {
26266 arg8 = (PLINT) ( _dim( args(6), 0 ) );
26267 temp7 = args(6).matrix_value();
26268 arg7 = new PLINT[arg8];
26269 _cvt_double_to( arg7, &temp7( 0, 0 ), arg8 );
26270 }
26271 else
26272 {
26273 arg7 = NULL;
26274 arg8 = 0;
26275 }
26276 }
26277 plmapline(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,(int const *)arg7,arg8);
26278 _outv = octave_value();
26279 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26280 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26281 {
26282 delete [] arg7;
26283 }
26284 return _out;
26285 fail:
26286 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26287 {
26288 delete [] arg7;
26289 }
26290 return octave_value_list();
26291 }
26292 catch(...) {
26293 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26294 {
26295 delete [] arg7;
26296 }
26297 throw;
26298 }
26299}
26300
26301
26303 mapform_func arg1 = 0 ;
26304 char *arg2 = 0 ;
26305 char *arg3 = 0 ;
26306 PLFLT arg4 ;
26307 PLFLT arg5 ;
26308 PLFLT arg6 ;
26309 PLFLT arg7 ;
26310 PLINT *arg8 = 0 ;
26311 PLINT arg9 ;
26312 int res2 ;
26313 char *buf2 = 0 ;
26314 int alloc2 = 0 ;
26315 int res3 ;
26316 char *buf3 = 0 ;
26317 int alloc3 = 0 ;
26318 double val4 ;
26319 int ecode4 = 0 ;
26320 double val5 ;
26321 int ecode5 = 0 ;
26322 double val6 ;
26323 int ecode6 = 0 ;
26324 double val7 ;
26325 int ecode7 = 0 ;
26326 Matrix temp8 ;
26327 octave_value_list _out;
26328 octave_value_list *_outp=&_out;
26329 octave_value _outv;
26330
26331 try {
26332 if (!SWIG_check_num_args("plmapstring",args.length(),8,8,0)) {
26333 SWIG_fail;
26334 }
26335 {
26336 octave_value obj = args(0);
26337#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
26338 if ( !obj.isempty() )
26339#else
26340 if ( !obj.is_empty() )
26341#endif
26342 {
26343 if ( obj.is_function_handle() || obj.is_inline_function() )
26344 {
26345 fcnMapForm = obj.function_value();
26346 }
26347 else if ( obj.is_string() )
26348 {
26349 nameMapForm = obj.string_value();
26350 fcnMapForm = NULL;
26351 }
26352 arg1 = mapform_octave;
26353 }
26354 else
26355 {
26356 arg1 = NULL;
26357 }
26358 }
26359 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
26360 if (!SWIG_IsOK(res2)) {
26361 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmapstring" "', argument " "2"" of type '" "char const *""'");
26362 }
26363 arg2 = reinterpret_cast< char * >(buf2);
26364 res3 = SWIG_AsCharPtrAndSize(args(2), &buf3, NULL, &alloc3);
26365 if (!SWIG_IsOK(res3)) {
26366 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "plmapstring" "', argument " "3"" of type '" "char const *""'");
26367 }
26368 arg3 = reinterpret_cast< char * >(buf3);
26369 ecode4 = SWIG_AsVal_double(args(3), &val4);
26370 if (!SWIG_IsOK(ecode4)) {
26371 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmapstring" "', argument " "4"" of type '" "PLFLT""'");
26372 }
26373 arg4 = static_cast< PLFLT >(val4);
26374 ecode5 = SWIG_AsVal_double(args(4), &val5);
26375 if (!SWIG_IsOK(ecode5)) {
26376 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmapstring" "', argument " "5"" of type '" "PLFLT""'");
26377 }
26378 arg5 = static_cast< PLFLT >(val5);
26379 ecode6 = SWIG_AsVal_double(args(5), &val6);
26380 if (!SWIG_IsOK(ecode6)) {
26381 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmapstring" "', argument " "6"" of type '" "PLFLT""'");
26382 }
26383 arg6 = static_cast< PLFLT >(val6);
26384 ecode7 = SWIG_AsVal_double(args(6), &val7);
26385 if (!SWIG_IsOK(ecode7)) {
26386 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plmapstring" "', argument " "7"" of type '" "PLFLT""'");
26387 }
26388 arg7 = static_cast< PLFLT >(val7);
26389 {
26390 if ( _n_dims( args(7) ) > 1 )
26391 {
26392 error( "argument must be a scalar or vector" ); SWIG_fail;
26393 }
26394#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
26395 if ( !args(7).isempty() )
26396#else
26397 if ( !args(7).is_empty() )
26398#endif
26399 {
26400 arg9 = (PLINT) ( _dim( args(7), 0 ) );
26401 temp8 = args(7).matrix_value();
26402 arg8 = new PLINT[arg9];
26403 _cvt_double_to( arg8, &temp8( 0, 0 ), arg9 );
26404 }
26405 else
26406 {
26407 arg8 = NULL;
26408 arg9 = 0;
26409 }
26410 }
26411 plmapstring(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,(int const *)arg8,arg9);
26412 _outv = octave_value();
26413 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26414 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26415 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
26416 {
26417 delete [] arg8;
26418 }
26419 return _out;
26420 fail:
26421 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26422 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
26423 {
26424 delete [] arg8;
26425 }
26426 return octave_value_list();
26427 }
26428 catch(...) {
26429 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26430 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
26431 {
26432 delete [] arg8;
26433 }
26434 throw;
26435 }
26436}
26437
26438
26440 mapform_func arg1 = 0 ;
26441 char *arg2 = 0 ;
26442 PLFLT arg3 ;
26443 PLFLT arg4 ;
26444 PLFLT arg5 ;
26445 char *arg6 = 0 ;
26446 PLFLT arg7 ;
26447 PLFLT arg8 ;
26448 PLFLT arg9 ;
26449 PLFLT arg10 ;
26450 PLINT arg11 ;
26451 int res2 ;
26452 char *buf2 = 0 ;
26453 int alloc2 = 0 ;
26454 double val3 ;
26455 int ecode3 = 0 ;
26456 double val4 ;
26457 int ecode4 = 0 ;
26458 double val5 ;
26459 int ecode5 = 0 ;
26460 int res6 ;
26461 char *buf6 = 0 ;
26462 int alloc6 = 0 ;
26463 double val7 ;
26464 int ecode7 = 0 ;
26465 double val8 ;
26466 int ecode8 = 0 ;
26467 double val9 ;
26468 int ecode9 = 0 ;
26469 double val10 ;
26470 int ecode10 = 0 ;
26471 int val11 ;
26472 int ecode11 = 0 ;
26473 octave_value_list _out;
26474 octave_value_list *_outp=&_out;
26475 octave_value _outv;
26476
26477 try {
26478 if (!SWIG_check_num_args("plmaptex",args.length(),11,11,0)) {
26479 SWIG_fail;
26480 }
26481 {
26482 octave_value obj = args(0);
26483#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
26484 if ( !obj.isempty() )
26485#else
26486 if ( !obj.is_empty() )
26487#endif
26488 {
26489 if ( obj.is_function_handle() || obj.is_inline_function() )
26490 {
26491 fcnMapForm = obj.function_value();
26492 }
26493 else if ( obj.is_string() )
26494 {
26495 nameMapForm = obj.string_value();
26496 fcnMapForm = NULL;
26497 }
26498 arg1 = mapform_octave;
26499 }
26500 else
26501 {
26502 arg1 = NULL;
26503 }
26504 }
26505 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
26506 if (!SWIG_IsOK(res2)) {
26507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmaptex" "', argument " "2"" of type '" "char const *""'");
26508 }
26509 arg2 = reinterpret_cast< char * >(buf2);
26510 ecode3 = SWIG_AsVal_double(args(2), &val3);
26511 if (!SWIG_IsOK(ecode3)) {
26512 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmaptex" "', argument " "3"" of type '" "PLFLT""'");
26513 }
26514 arg3 = static_cast< PLFLT >(val3);
26515 ecode4 = SWIG_AsVal_double(args(3), &val4);
26516 if (!SWIG_IsOK(ecode4)) {
26517 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmaptex" "', argument " "4"" of type '" "PLFLT""'");
26518 }
26519 arg4 = static_cast< PLFLT >(val4);
26520 ecode5 = SWIG_AsVal_double(args(4), &val5);
26521 if (!SWIG_IsOK(ecode5)) {
26522 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmaptex" "', argument " "5"" of type '" "PLFLT""'");
26523 }
26524 arg5 = static_cast< PLFLT >(val5);
26525 res6 = SWIG_AsCharPtrAndSize(args(5), &buf6, NULL, &alloc6);
26526 if (!SWIG_IsOK(res6)) {
26527 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plmaptex" "', argument " "6"" of type '" "char const *""'");
26528 }
26529 arg6 = reinterpret_cast< char * >(buf6);
26530 ecode7 = SWIG_AsVal_double(args(6), &val7);
26531 if (!SWIG_IsOK(ecode7)) {
26532 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plmaptex" "', argument " "7"" of type '" "PLFLT""'");
26533 }
26534 arg7 = static_cast< PLFLT >(val7);
26535 ecode8 = SWIG_AsVal_double(args(7), &val8);
26536 if (!SWIG_IsOK(ecode8)) {
26537 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plmaptex" "', argument " "8"" of type '" "PLFLT""'");
26538 }
26539 arg8 = static_cast< PLFLT >(val8);
26540 ecode9 = SWIG_AsVal_double(args(8), &val9);
26541 if (!SWIG_IsOK(ecode9)) {
26542 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plmaptex" "', argument " "9"" of type '" "PLFLT""'");
26543 }
26544 arg9 = static_cast< PLFLT >(val9);
26545 ecode10 = SWIG_AsVal_double(args(9), &val10);
26546 if (!SWIG_IsOK(ecode10)) {
26547 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plmaptex" "', argument " "10"" of type '" "PLFLT""'");
26548 }
26549 arg10 = static_cast< PLFLT >(val10);
26550 ecode11 = SWIG_AsVal_int(args(10), &val11);
26551 if (!SWIG_IsOK(ecode11)) {
26552 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plmaptex" "', argument " "11"" of type '" "PLINT""'");
26553 }
26554 arg11 = static_cast< PLINT >(val11);
26555 plmaptex(arg1,(char const *)arg2,arg3,arg4,arg5,(char const *)arg6,arg7,arg8,arg9,arg10,arg11);
26556 _outv = octave_value();
26557 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26558 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26559 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
26560 return _out;
26561 fail:
26562 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26563 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
26564 return octave_value_list();
26565 }
26566 catch(...) {
26567 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26568 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
26569 throw;
26570 }
26571}
26572
26573
26575 mapform_func arg1 = 0 ;
26576 char *arg2 = 0 ;
26577 PLFLT arg3 ;
26578 PLFLT arg4 ;
26579 PLFLT arg5 ;
26580 PLFLT arg6 ;
26581 PLINT *arg7 = 0 ;
26582 PLINT arg8 ;
26583 int res2 ;
26584 char *buf2 = 0 ;
26585 int alloc2 = 0 ;
26586 double val3 ;
26587 int ecode3 = 0 ;
26588 double val4 ;
26589 int ecode4 = 0 ;
26590 double val5 ;
26591 int ecode5 = 0 ;
26592 double val6 ;
26593 int ecode6 = 0 ;
26594 Matrix temp7 ;
26595 octave_value_list _out;
26596 octave_value_list *_outp=&_out;
26597 octave_value _outv;
26598
26599 try {
26600 if (!SWIG_check_num_args("plmapfill",args.length(),7,7,0)) {
26601 SWIG_fail;
26602 }
26603 {
26604 octave_value obj = args(0);
26605#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
26606 if ( !obj.isempty() )
26607#else
26608 if ( !obj.is_empty() )
26609#endif
26610 {
26611 if ( obj.is_function_handle() || obj.is_inline_function() )
26612 {
26613 fcnMapForm = obj.function_value();
26614 }
26615 else if ( obj.is_string() )
26616 {
26617 nameMapForm = obj.string_value();
26618 fcnMapForm = NULL;
26619 }
26620 arg1 = mapform_octave;
26621 }
26622 else
26623 {
26624 arg1 = NULL;
26625 }
26626 }
26627 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
26628 if (!SWIG_IsOK(res2)) {
26629 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmapfill" "', argument " "2"" of type '" "char const *""'");
26630 }
26631 arg2 = reinterpret_cast< char * >(buf2);
26632 ecode3 = SWIG_AsVal_double(args(2), &val3);
26633 if (!SWIG_IsOK(ecode3)) {
26634 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmapfill" "', argument " "3"" of type '" "PLFLT""'");
26635 }
26636 arg3 = static_cast< PLFLT >(val3);
26637 ecode4 = SWIG_AsVal_double(args(3), &val4);
26638 if (!SWIG_IsOK(ecode4)) {
26639 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmapfill" "', argument " "4"" of type '" "PLFLT""'");
26640 }
26641 arg4 = static_cast< PLFLT >(val4);
26642 ecode5 = SWIG_AsVal_double(args(4), &val5);
26643 if (!SWIG_IsOK(ecode5)) {
26644 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmapfill" "', argument " "5"" of type '" "PLFLT""'");
26645 }
26646 arg5 = static_cast< PLFLT >(val5);
26647 ecode6 = SWIG_AsVal_double(args(5), &val6);
26648 if (!SWIG_IsOK(ecode6)) {
26649 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmapfill" "', argument " "6"" of type '" "PLFLT""'");
26650 }
26651 arg6 = static_cast< PLFLT >(val6);
26652 {
26653 if ( _n_dims( args(6) ) > 1 )
26654 {
26655 error( "argument must be a scalar or vector" ); SWIG_fail;
26656 }
26657#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
26658 if ( !args(6).isempty() )
26659#else
26660 if ( !args(6).is_empty() )
26661#endif
26662 {
26663 arg8 = (PLINT) ( _dim( args(6), 0 ) );
26664 temp7 = args(6).matrix_value();
26665 arg7 = new PLINT[arg8];
26666 _cvt_double_to( arg7, &temp7( 0, 0 ), arg8 );
26667 }
26668 else
26669 {
26670 arg7 = NULL;
26671 arg8 = 0;
26672 }
26673 }
26674 plmapfill(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,(int const *)arg7,arg8);
26675 _outv = octave_value();
26676 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26677 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26678 {
26679 delete [] arg7;
26680 }
26681 return _out;
26682 fail:
26683 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26684 {
26685 delete [] arg7;
26686 }
26687 return octave_value_list();
26688 }
26689 catch(...) {
26690 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26691 {
26692 delete [] arg7;
26693 }
26694 throw;
26695 }
26696}
26697
26698
26700 mapform_func arg1 = 0 ;
26701 PLFLT arg2 ;
26702 PLFLT arg3 ;
26703 PLFLT arg4 ;
26704 PLFLT arg5 ;
26705 PLFLT arg6 ;
26706 PLFLT arg7 ;
26707 double val2 ;
26708 int ecode2 = 0 ;
26709 double val3 ;
26710 int ecode3 = 0 ;
26711 double val4 ;
26712 int ecode4 = 0 ;
26713 double val5 ;
26714 int ecode5 = 0 ;
26715 double val6 ;
26716 int ecode6 = 0 ;
26717 double val7 ;
26718 int ecode7 = 0 ;
26719 octave_value_list _out;
26720 octave_value_list *_outp=&_out;
26721 octave_value _outv;
26722
26723 try {
26724 if (!SWIG_check_num_args("plmeridians",args.length(),7,7,0)) {
26725 SWIG_fail;
26726 }
26727 {
26728 octave_value obj = args(0);
26729#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
26730 if ( !obj.isempty() )
26731#else
26732 if ( !obj.is_empty() )
26733#endif
26734 {
26735 if ( obj.is_function_handle() || obj.is_inline_function() )
26736 {
26737 fcnMapForm = obj.function_value();
26738 }
26739 else if ( obj.is_string() )
26740 {
26741 nameMapForm = obj.string_value();
26742 fcnMapForm = NULL;
26743 }
26744 arg1 = mapform_octave;
26745 }
26746 else
26747 {
26748 arg1 = NULL;
26749 }
26750 }
26751 ecode2 = SWIG_AsVal_double(args(1), &val2);
26752 if (!SWIG_IsOK(ecode2)) {
26753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plmeridians" "', argument " "2"" of type '" "PLFLT""'");
26754 }
26755 arg2 = static_cast< PLFLT >(val2);
26756 ecode3 = SWIG_AsVal_double(args(2), &val3);
26757 if (!SWIG_IsOK(ecode3)) {
26758 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmeridians" "', argument " "3"" of type '" "PLFLT""'");
26759 }
26760 arg3 = static_cast< PLFLT >(val3);
26761 ecode4 = SWIG_AsVal_double(args(3), &val4);
26762 if (!SWIG_IsOK(ecode4)) {
26763 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmeridians" "', argument " "4"" of type '" "PLFLT""'");
26764 }
26765 arg4 = static_cast< PLFLT >(val4);
26766 ecode5 = SWIG_AsVal_double(args(4), &val5);
26767 if (!SWIG_IsOK(ecode5)) {
26768 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmeridians" "', argument " "5"" of type '" "PLFLT""'");
26769 }
26770 arg5 = static_cast< PLFLT >(val5);
26771 ecode6 = SWIG_AsVal_double(args(5), &val6);
26772 if (!SWIG_IsOK(ecode6)) {
26773 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmeridians" "', argument " "6"" of type '" "PLFLT""'");
26774 }
26775 arg6 = static_cast< PLFLT >(val6);
26776 ecode7 = SWIG_AsVal_double(args(6), &val7);
26777 if (!SWIG_IsOK(ecode7)) {
26778 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plmeridians" "', argument " "7"" of type '" "PLFLT""'");
26779 }
26780 arg7 = static_cast< PLFLT >(val7);
26781 plmeridians(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
26782 _outv = octave_value();
26783 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26784 return _out;
26785 fail:
26786 return octave_value_list();
26787 }
26788 catch(...) {
26789 throw;
26790 }
26791}
26792
26793
26795 octave_value_list _out;
26796 octave_value_list *_outp=&_out;
26797 octave_value _outv;
26798
26799 try {
26800 if (!SWIG_check_num_args("plClearOpts",args.length(),0,0,0)) {
26801 SWIG_fail;
26802 }
26803 plClearOpts();
26804 _outv = octave_value();
26805 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26806 return _out;
26807 fail:
26808 return octave_value_list();
26809 }
26810 catch(...) {
26811 throw;
26812 }
26813}
26814
26815
26817 octave_value_list _out;
26818 octave_value_list *_outp=&_out;
26819 octave_value _outv;
26820
26821 try {
26822 if (!SWIG_check_num_args("plResetOpts",args.length(),0,0,0)) {
26823 SWIG_fail;
26824 }
26825 plResetOpts();
26826 _outv = octave_value();
26827 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26828 return _out;
26829 fail:
26830 return octave_value_list();
26831 }
26832 catch(...) {
26833 throw;
26834 }
26835}
26836
26837
26839 char *arg1 = 0 ;
26840 char *arg2 = 0 ;
26841 int res1 ;
26842 char *buf1 = 0 ;
26843 int alloc1 = 0 ;
26844 int res2 ;
26845 char *buf2 = 0 ;
26846 int alloc2 = 0 ;
26847 octave_value_list _out;
26848 octave_value_list *_outp=&_out;
26849 octave_value _outv;
26850
26851 try {
26852 if (!SWIG_check_num_args("plSetUsage",args.length(),2,2,0)) {
26853 SWIG_fail;
26854 }
26855 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
26856 if (!SWIG_IsOK(res1)) {
26857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plSetUsage" "', argument " "1"" of type '" "char const *""'");
26858 }
26859 arg1 = reinterpret_cast< char * >(buf1);
26860 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
26861 if (!SWIG_IsOK(res2)) {
26862 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plSetUsage" "', argument " "2"" of type '" "char const *""'");
26863 }
26864 arg2 = reinterpret_cast< char * >(buf2);
26865 plSetUsage((char const *)arg1,(char const *)arg2);
26866 _outv = octave_value();
26867 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26868 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
26869 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26870 return _out;
26871 fail:
26872 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
26873 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26874 return octave_value_list();
26875 }
26876 catch(...) {
26877 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
26878 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26879 throw;
26880 }
26881}
26882
26883
26885 octave_value_list _out;
26886 octave_value_list *_outp=&_out;
26887 octave_value _outv;
26888
26889 try {
26890 if (!SWIG_check_num_args("plOptUsage",args.length(),0,0,0)) {
26891 SWIG_fail;
26892 }
26893 plOptUsage();
26894 _outv = octave_value();
26895 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26896 return _out;
26897 fail:
26898 return octave_value_list();
26899 }
26900 catch(...) {
26901 throw;
26902 }
26903}
26904
26905
26906
26907static const struct swig_octave_member swig_globals[] = {
26908{"testppchar",_wrap_testppchar,0,0,2,0},
26909{"plGetCursor",_wrap_plGetCursor,0,0,2,_wrap_plGetCursor_texinfo},
26910{"plTranslateCursor",_wrap_plTranslateCursor,0,0,2,0},
26911{"plstripc",_wrap_plstripc,0,0,2,_wrap_plstripc_texinfo},
26912{"plcont",_wrap_plcont,0,0,2,_wrap_plcont_texinfo},
26913{"plcont0",_wrap_plcont0,0,0,2,0},
26914{"plcont1",_wrap_plcont1,0,0,2,0},
26915{"plcont2",_wrap_plcont2,0,0,2,0},
26916{"plcont2p",_wrap_plcont2p,0,0,2,0},
26917{"plgriddata",_wrap_plgriddata,0,0,2,_wrap_plgriddata_texinfo},
26918{"plmesh",_wrap_plmesh,0,0,2,_wrap_plmesh_texinfo},
26919{"plmeshc",_wrap_plmeshc,0,0,2,_wrap_plmeshc_texinfo},
26920{"plot3d",_wrap_plot3d,0,0,2,_wrap_plot3d_texinfo},
26921{"plot3dc",_wrap_plot3dc,0,0,2,_wrap_plot3dc_texinfo},
26922{"plot3dcl",_wrap_plot3dcl,0,0,2,_wrap_plot3dcl_texinfo},
26923{"plsurf3d",_wrap_plsurf3d,0,0,2,_wrap_plsurf3d_texinfo},
26924{"plsurf3dl",_wrap_plsurf3dl,0,0,2,_wrap_plsurf3dl_texinfo},
26925{"plshade",_wrap_plshade,0,0,2,_wrap_plshade_texinfo},
26926{"plshade1",_wrap_plshade1,0,0,2,0},
26927{"plshade2",_wrap_plshade2,0,0,2,0},
26928{"plshades",_wrap_plshades,0,0,2,_wrap_plshades_texinfo},
26929{"plshadesx",_wrap_plshadesx,0,0,2,0},
26930{"plshades1",_wrap_plshades1,0,0,2,0},
26931{"plshades2",_wrap_plshades2,0,0,2,0},
26932{"plvect",_wrap_plvect,0,0,2,_wrap_plvect_texinfo},
26933{"plvect1",_wrap_plvect1,0,0,2,0},
26934{"plvect2",_wrap_plvect2,0,0,2,0},
26935{"pplimage",_wrap_pplimage,0,0,2,0},
26936{"plimagefr",_wrap_plimagefr,0,0,2,_wrap_plimagefr_texinfo},
26937{"plimagefrx",_wrap_plimagefrx,0,0,2,0},
26938{"plimagefr1",_wrap_plimagefr1,0,0,2,0},
26939{"plimagefr2",_wrap_plimagefr2,0,0,2,0},
26940{"plcolorbar",_wrap_plcolorbar,0,0,2,_wrap_plcolorbar_texinfo},
26941{"PLGraphicsIn_type_set",_wrap_PLGraphicsIn_type_set,0,0,2,0},
26942{"PLGraphicsIn_type_get",_wrap_PLGraphicsIn_type_get,0,0,2,0},
26943{"PLGraphicsIn_state_set",_wrap_PLGraphicsIn_state_set,0,0,2,0},
26944{"PLGraphicsIn_state_get",_wrap_PLGraphicsIn_state_get,0,0,2,0},
26945{"PLGraphicsIn_keysym_set",_wrap_PLGraphicsIn_keysym_set,0,0,2,0},
26946{"PLGraphicsIn_keysym_get",_wrap_PLGraphicsIn_keysym_get,0,0,2,0},
26947{"PLGraphicsIn_button_set",_wrap_PLGraphicsIn_button_set,0,0,2,0},
26948{"PLGraphicsIn_button_get",_wrap_PLGraphicsIn_button_get,0,0,2,0},
26949{"PLGraphicsIn_subwindow_set",_wrap_PLGraphicsIn_subwindow_set,0,0,2,0},
26950{"PLGraphicsIn_subwindow_get",_wrap_PLGraphicsIn_subwindow_get,0,0,2,0},
26951{"PLGraphicsIn_string_set",_wrap_PLGraphicsIn_string_set,0,0,2,0},
26952{"PLGraphicsIn_string_get",_wrap_PLGraphicsIn_string_get,0,0,2,0},
26953{"PLGraphicsIn_pX_set",_wrap_PLGraphicsIn_pX_set,0,0,2,0},
26954{"PLGraphicsIn_pX_get",_wrap_PLGraphicsIn_pX_get,0,0,2,0},
26955{"PLGraphicsIn_pY_set",_wrap_PLGraphicsIn_pY_set,0,0,2,0},
26956{"PLGraphicsIn_pY_get",_wrap_PLGraphicsIn_pY_get,0,0,2,0},
26957{"PLGraphicsIn_dX_set",_wrap_PLGraphicsIn_dX_set,0,0,2,0},
26958{"PLGraphicsIn_dX_get",_wrap_PLGraphicsIn_dX_get,0,0,2,0},
26959{"PLGraphicsIn_dY_set",_wrap_PLGraphicsIn_dY_set,0,0,2,0},
26960{"PLGraphicsIn_dY_get",_wrap_PLGraphicsIn_dY_get,0,0,2,0},
26961{"PLGraphicsIn_wX_set",_wrap_PLGraphicsIn_wX_set,0,0,2,0},
26962{"PLGraphicsIn_wX_get",_wrap_PLGraphicsIn_wX_get,0,0,2,0},
26963{"PLGraphicsIn_wY_set",_wrap_PLGraphicsIn_wY_set,0,0,2,0},
26964{"PLGraphicsIn_wY_get",_wrap_PLGraphicsIn_wY_get,0,0,2,0},
26965{"new_PLGraphicsIn",_wrap_new_PLGraphicsIn,0,0,2,0},
26966{"delete_PLGraphicsIn",_wrap_delete_PLGraphicsIn,0,0,2,0},
26969{"pladv",_wrap_pladv,0,0,2,_wrap_pladv_texinfo},
26970{"plarc",_wrap_plarc,0,0,2,_wrap_plarc_texinfo},
26971{"plaxes",_wrap_plaxes,0,0,2,_wrap_plaxes_texinfo},
26972{"plbin",_wrap_plbin,0,0,2,_wrap_plbin_texinfo},
26973{"plbtime",_wrap_plbtime,0,0,2,_wrap_plbtime_texinfo},
26974{"plbop",_wrap_plbop,0,0,2,_wrap_plbop_texinfo},
26975{"plbox",_wrap_plbox,0,0,2,_wrap_plbox_texinfo},
26976{"plbox3",_wrap_plbox3,0,0,2,_wrap_plbox3_texinfo},
26977{"plcalc_world",_wrap_plcalc_world,0,0,2,_wrap_plcalc_world_texinfo},
26978{"plclear",_wrap_plclear,0,0,2,_wrap_plclear_texinfo},
26979{"plcol0",_wrap_plcol0,0,0,2,_wrap_plcol0_texinfo},
26980{"plcol1",_wrap_plcol1,0,0,2,_wrap_plcol1_texinfo},
26981{"plconfigtime",_wrap_plconfigtime,0,0,2,_wrap_plconfigtime_texinfo},
26982{"plctime",_wrap_plctime,0,0,2,_wrap_plctime_texinfo},
26983{"plcpstrm",_wrap_plcpstrm,0,0,2,_wrap_plcpstrm_texinfo},
26984{"plend",_wrap_plend,0,0,2,_wrap_plend_texinfo},
26985{"plend1",_wrap_plend1,0,0,2,_wrap_plend1_texinfo},
26986{"plenv",_wrap_plenv,0,0,2,_wrap_plenv_texinfo},
26987{"plenv0",_wrap_plenv0,0,0,2,_wrap_plenv0_texinfo},
26988{"pleop",_wrap_pleop,0,0,2,_wrap_pleop_texinfo},
26989{"plerrx",_wrap_plerrx,0,0,2,_wrap_plerrx_texinfo},
26990{"plerry",_wrap_plerry,0,0,2,_wrap_plerry_texinfo},
26991{"plfamadv",_wrap_plfamadv,0,0,2,_wrap_plfamadv_texinfo},
26992{"plfill",_wrap_plfill,0,0,2,_wrap_plfill_texinfo},
26993{"plfill3",_wrap_plfill3,0,0,2,_wrap_plfill3_texinfo},
26994{"plgradient",_wrap_plgradient,0,0,2,_wrap_plgradient_texinfo},
26995{"plflush",_wrap_plflush,0,0,2,_wrap_plflush_texinfo},
26996{"plfont",_wrap_plfont,0,0,2,_wrap_plfont_texinfo},
26997{"plfontld",_wrap_plfontld,0,0,2,_wrap_plfontld_texinfo},
26998{"plgchr",_wrap_plgchr,0,0,2,_wrap_plgchr_texinfo},
26999{"plgcol0",_wrap_plgcol0,0,0,2,_wrap_plgcol0_texinfo},
27000{"plgcol0a",_wrap_plgcol0a,0,0,2,_wrap_plgcol0a_texinfo},
27001{"plgcolbg",_wrap_plgcolbg,0,0,2,_wrap_plgcolbg_texinfo},
27002{"plgcolbga",_wrap_plgcolbga,0,0,2,_wrap_plgcolbga_texinfo},
27003{"plgcompression",_wrap_plgcompression,0,0,2,_wrap_plgcompression_texinfo},
27004{"plgdev",_wrap_plgdev,0,0,2,_wrap_plgdev_texinfo},
27005{"plgdidev",_wrap_plgdidev,0,0,2,_wrap_plgdidev_texinfo},
27006{"plgdiori",_wrap_plgdiori,0,0,2,_wrap_plgdiori_texinfo},
27007{"plgdiplt",_wrap_plgdiplt,0,0,2,_wrap_plgdiplt_texinfo},
27008{"plgfam",_wrap_plgfam,0,0,2,_wrap_plgfam_texinfo},
27009{"plgfci",_wrap_plgfci,0,0,2,_wrap_plgfci_texinfo},
27010{"plgfnam",_wrap_plgfnam,0,0,2,_wrap_plgfnam_texinfo},
27011{"plgfont",_wrap_plgfont,0,0,2,_wrap_plgfont_texinfo},
27012{"plglevel",_wrap_plglevel,0,0,2,_wrap_plglevel_texinfo},
27013{"plgpage",_wrap_plgpage,0,0,2,_wrap_plgpage_texinfo},
27014{"plgra",_wrap_plgra,0,0,2,_wrap_plgra_texinfo},
27015{"plgspa",_wrap_plgspa,0,0,2,_wrap_plgspa_texinfo},
27016{"plgstrm",_wrap_plgstrm,0,0,2,_wrap_plgstrm_texinfo},
27017{"plgver",_wrap_plgver,0,0,2,_wrap_plgver_texinfo},
27018{"plgvpd",_wrap_plgvpd,0,0,2,_wrap_plgvpd_texinfo},
27019{"plgvpw",_wrap_plgvpw,0,0,2,_wrap_plgvpw_texinfo},
27020{"plgxax",_wrap_plgxax,0,0,2,_wrap_plgxax_texinfo},
27021{"plgyax",_wrap_plgyax,0,0,2,_wrap_plgyax_texinfo},
27022{"plgzax",_wrap_plgzax,0,0,2,_wrap_plgzax_texinfo},
27023{"plhist",_wrap_plhist,0,0,2,_wrap_plhist_texinfo},
27024{"plhlsrgb",_wrap_plhlsrgb,0,0,2,_wrap_plhlsrgb_texinfo},
27025{"plinit",_wrap_plinit,0,0,2,_wrap_plinit_texinfo},
27026{"pljoin",_wrap_pljoin,0,0,2,_wrap_pljoin_texinfo},
27027{"pllab",_wrap_pllab,0,0,2,_wrap_pllab_texinfo},
27028{"pllegend",_wrap_pllegend,0,0,2,_wrap_pllegend_texinfo},
27029{"pllightsource",_wrap_pllightsource,0,0,2,_wrap_pllightsource_texinfo},
27030{"plline",_wrap_plline,0,0,2,_wrap_plline_texinfo},
27031{"plline3",_wrap_plline3,0,0,2,_wrap_plline3_texinfo},
27032{"pllsty",_wrap_pllsty,0,0,2,_wrap_pllsty_texinfo},
27033{"plmkstrm",_wrap_plmkstrm,0,0,2,_wrap_plmkstrm_texinfo},
27034{"plmtex",_wrap_plmtex,0,0,2,_wrap_plmtex_texinfo},
27035{"plmtex3",_wrap_plmtex3,0,0,2,_wrap_plmtex3_texinfo},
27036{"plparseopts",_wrap_plparseopts,0,0,2,_wrap_plparseopts_texinfo},
27037{"plpat",_wrap_plpat,0,0,2,_wrap_plpat_texinfo},
27038{"plpath",_wrap_plpath,0,0,2,_wrap_plpath_texinfo},
27039{"plpoin",_wrap_plpoin,0,0,2,_wrap_plpoin_texinfo},
27040{"plpoin3",_wrap_plpoin3,0,0,2,_wrap_plpoin3_texinfo},
27041{"plpoly3",_wrap_plpoly3,0,0,2,_wrap_plpoly3_texinfo},
27042{"plprec",_wrap_plprec,0,0,2,_wrap_plprec_texinfo},
27043{"plpsty",_wrap_plpsty,0,0,2,_wrap_plpsty_texinfo},
27044{"plptex",_wrap_plptex,0,0,2,_wrap_plptex_texinfo},
27045{"plptex3",_wrap_plptex3,0,0,2,_wrap_plptex3_texinfo},
27046{"plrandd",_wrap_plrandd,0,0,2,_wrap_plrandd_texinfo},
27047{"plreplot",_wrap_plreplot,0,0,2,_wrap_plreplot_texinfo},
27048{"plrgbhls",_wrap_plrgbhls,0,0,2,_wrap_plrgbhls_texinfo},
27049{"plschr",_wrap_plschr,0,0,2,_wrap_plschr_texinfo},
27050{"plscmap0",_wrap_plscmap0,0,0,2,_wrap_plscmap0_texinfo},
27051{"plscmap0a",_wrap_plscmap0a,0,0,2,_wrap_plscmap0a_texinfo},
27052{"plscmap0n",_wrap_plscmap0n,0,0,2,_wrap_plscmap0n_texinfo},
27053{"plscmap1",_wrap_plscmap1,0,0,2,_wrap_plscmap1_texinfo},
27054{"plscmap1a",_wrap_plscmap1a,0,0,2,_wrap_plscmap1a_texinfo},
27055{"plscmap1l",_wrap_plscmap1l,0,0,2,_wrap_plscmap1l_texinfo},
27056{"plscmap1la",_wrap_plscmap1la,0,0,2,_wrap_plscmap1la_texinfo},
27057{"plscmap1n",_wrap_plscmap1n,0,0,2,_wrap_plscmap1n_texinfo},
27058{"plscmap1_range",_wrap_plscmap1_range,0,0,2,_wrap_plscmap1_range_texinfo},
27059{"plgcmap1_range",_wrap_plgcmap1_range,0,0,2,_wrap_plgcmap1_range_texinfo},
27060{"plscol0",_wrap_plscol0,0,0,2,_wrap_plscol0_texinfo},
27061{"plscol0a",_wrap_plscol0a,0,0,2,_wrap_plscol0a_texinfo},
27062{"plscolbg",_wrap_plscolbg,0,0,2,_wrap_plscolbg_texinfo},
27063{"plscolbga",_wrap_plscolbga,0,0,2,_wrap_plscolbga_texinfo},
27064{"plscolor",_wrap_plscolor,0,0,2,_wrap_plscolor_texinfo},
27065{"plscompression",_wrap_plscompression,0,0,2,_wrap_plscompression_texinfo},
27066{"plsdev",_wrap_plsdev,0,0,2,_wrap_plsdev_texinfo},
27067{"plsdidev",_wrap_plsdidev,0,0,2,_wrap_plsdidev_texinfo},
27068{"plsdimap",_wrap_plsdimap,0,0,2,_wrap_plsdimap_texinfo},
27069{"plsdiori",_wrap_plsdiori,0,0,2,_wrap_plsdiori_texinfo},
27070{"plsdiplt",_wrap_plsdiplt,0,0,2,_wrap_plsdiplt_texinfo},
27071{"plsdiplz",_wrap_plsdiplz,0,0,2,_wrap_plsdiplz_texinfo},
27072{"plseed",_wrap_plseed,0,0,2,_wrap_plseed_texinfo},
27073{"plsesc",_wrap_plsesc,0,0,2,_wrap_plsesc_texinfo},
27074{"plSetOpt",_wrap_plSetOpt,0,0,2,_wrap_plSetOpt_texinfo},
27075{"plsfam",_wrap_plsfam,0,0,2,_wrap_plsfam_texinfo},
27076{"plsfci",_wrap_plsfci,0,0,2,_wrap_plsfci_texinfo},
27077{"plsfnam",_wrap_plsfnam,0,0,2,_wrap_plsfnam_texinfo},
27078{"plsfont",_wrap_plsfont,0,0,2,_wrap_plsfont_texinfo},
27079{"plslabelfunc",_wrap_plslabelfunc,0,0,2,_wrap_plslabelfunc_texinfo},
27080{"plsmaj",_wrap_plsmaj,0,0,2,_wrap_plsmaj_texinfo},
27081{"plsmin",_wrap_plsmin,0,0,2,_wrap_plsmin_texinfo},
27082{"plsori",_wrap_plsori,0,0,2,_wrap_plsori_texinfo},
27083{"plspage",_wrap_plspage,0,0,2,_wrap_plspage_texinfo},
27084{"plspal0",_wrap_plspal0,0,0,2,_wrap_plspal0_texinfo},
27085{"plspal1",_wrap_plspal1,0,0,2,_wrap_plspal1_texinfo},
27086{"plspause",_wrap_plspause,0,0,2,_wrap_plspause_texinfo},
27087{"plsstrm",_wrap_plsstrm,0,0,2,_wrap_plsstrm_texinfo},
27088{"plssub",_wrap_plssub,0,0,2,_wrap_plssub_texinfo},
27089{"plssym",_wrap_plssym,0,0,2,_wrap_plssym_texinfo},
27090{"plstar",_wrap_plstar,0,0,2,_wrap_plstar_texinfo},
27091{"plstart",_wrap_plstart,0,0,2,_wrap_plstart_texinfo},
27092{"plstransform",_wrap_plstransform,0,0,2,_wrap_plstransform_texinfo},
27093{"plstring",_wrap_plstring,0,0,2,_wrap_plstring_texinfo},
27094{"plstring3",_wrap_plstring3,0,0,2,_wrap_plstring3_texinfo},
27095{"plstripa",_wrap_plstripa,0,0,2,_wrap_plstripa_texinfo},
27096{"plstripd",_wrap_plstripd,0,0,2,_wrap_plstripd_texinfo},
27097{"plstyl",_wrap_plstyl,0,0,2,_wrap_plstyl_texinfo},
27098{"plsvect",_wrap_plsvect,0,0,2,_wrap_plsvect_texinfo},
27099{"plsvpa",_wrap_plsvpa,0,0,2,_wrap_plsvpa_texinfo},
27100{"plsxax",_wrap_plsxax,0,0,2,_wrap_plsxax_texinfo},
27101{"plsyax",_wrap_plsyax,0,0,2,_wrap_plsyax_texinfo},
27102{"plsym",_wrap_plsym,0,0,2,_wrap_plsym_texinfo},
27103{"plszax",_wrap_plszax,0,0,2,_wrap_plszax_texinfo},
27104{"pltext",_wrap_pltext,0,0,2,_wrap_pltext_texinfo},
27105{"pltimefmt",_wrap_pltimefmt,0,0,2,_wrap_pltimefmt_texinfo},
27106{"plvasp",_wrap_plvasp,0,0,2,_wrap_plvasp_texinfo},
27107{"plvpas",_wrap_plvpas,0,0,2,_wrap_plvpas_texinfo},
27108{"plvpor",_wrap_plvpor,0,0,2,_wrap_plvpor_texinfo},
27109{"plvsta",_wrap_plvsta,0,0,2,_wrap_plvsta_texinfo},
27110{"plw3d",_wrap_plw3d,0,0,2,_wrap_plw3d_texinfo},
27111{"plwidth",_wrap_plwidth,0,0,2,_wrap_plwidth_texinfo},
27112{"plwind",_wrap_plwind,0,0,2,_wrap_plwind_texinfo},
27113{"plxormod",_wrap_plxormod,0,0,2,_wrap_plxormod_texinfo},
27114{"plmap",_wrap_plmap,0,0,2,_wrap_plmap_texinfo},
27115{"plmapline",_wrap_plmapline,0,0,2,_wrap_plmapline_texinfo},
27116{"plmapstring",_wrap_plmapstring,0,0,2,_wrap_plmapstring_texinfo},
27117{"plmaptex",_wrap_plmaptex,0,0,2,_wrap_plmaptex_texinfo},
27118{"plmapfill",_wrap_plmapfill,0,0,2,_wrap_plmapfill_texinfo},
27119{"plmeridians",_wrap_plmeridians,0,0,2,_wrap_plmeridians_texinfo},
27120{"plClearOpts",_wrap_plClearOpts,0,0,2,0},
27121{"plResetOpts",_wrap_plResetOpts,0,0,2,0},
27122{"plSetUsage",_wrap_plSetUsage,0,0,2,0},
27123{"plOptUsage",_wrap_plOptUsage,0,0,2,0},
27124{0,0,0,0,0,0}
27125};
27126
27127/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27128
27129static swig_type_info _swigt__p_PLGraphicsIn = {"_p_PLGraphicsIn", "PLGraphicsIn *", 0, 0, (void*)&_wrap_class_PLGraphicsIn, 0};
27130static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
27131static swig_type_info _swigt__p_double = {"_p_double", "PLFLT *|double *", 0, 0, (void*)0, 0};
27132static 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|void (*)(double,double,double *,double *,void *)", 0, 0, (void*)0, 0};
27133static 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};
27134static 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};
27135static swig_type_info _swigt__p_int = {"_p_int", "PLBOOL *|PLINT *|int *", 0, 0, (void*)0, 0};
27136static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
27137static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "PLUNICODE *|unsigned int *", 0, 0, (void*)0, 0};
27138
27150
27151static swig_cast_info _swigc__p_PLGraphicsIn[] = { {&_swigt__p_PLGraphicsIn, 0, 0, 0},{0, 0, 0, 0}};
27152static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
27153static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
27157static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
27158static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
27159static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
27160
27172
27173
27174/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27175
27176/* -----------------------------------------------------------------------------
27177 * Type initialization:
27178 * This problem is made tough by the requirement that no dynamic
27179 * memory is used. Also, since swig_type_info structures store pointers to
27180 * swig_cast_info structures and swig_cast_info structures store pointers back
27181 * to swig_type_info structures, we need some lookup code at initialization.
27182 * The idea is that swig generates all the structures that are needed.
27183 * The runtime then collects these partially filled structures.
27184 * The SWIG_InitializeModule function takes these initial arrays out of
27185 * swig_module, and does all the lookup, filling in the swig_module.types
27186 * array with the correct data and linking the correct swig_cast_info
27187 * structures together.
27188 *
27189 * The generated swig_type_info structures are assigned statically to an initial
27190 * array. We just loop through that array, and handle each type individually.
27191 * First we lookup if this type has been already loaded, and if so, use the
27192 * loaded structure instead of the generated one. Then we have to fill in the
27193 * cast dependencies. The cast data is initially stored in something like a
27194 * two-dimensional array. Each row corresponds to a type (there are the same
27195 * number of rows as there are in the swig_type_initial array). Each entry in
27196 * a column is one of the swig_cast_info structures for that type.
27197 * The cast_initial array is actually an array of arrays, because each row has
27198 * a variable number of columns.
27199 *
27200 * We loop through the cast[] array associated with the type and mark casts
27201 * which have not been defined in previously loaded modules by assigning
27202 * cast pointer value to cast->next. We also hash cast->type->name string
27203 * and store the value in the cast->value field. If we encounter swig_cast_info
27204 * structure that represents a cast to self we move it to the beginning
27205 * of the cast array. One trick we need to do is making sure the type pointer
27206 * in the swig_cast_info struct is correct.
27207 *
27208 * First off, we lookup the cast->type name to see if it is already loaded.
27209 * There are three cases to handle:
27210 * 1) If the cast->type has already been loaded AND the type we are adding
27211 * casting info to has not been loaded (it is in this module), THEN we
27212 * replace the cast->type pointer with the type pointer that has already
27213 * been loaded.
27214 * 2) If BOTH types (the one we are adding casting info to, and the
27215 * cast->type) are loaded, THEN the cast info has already been loaded by
27216 * the previous module so we just ignore it.
27217 * 3) Finally, if cast->type has not already been loaded, then we add that
27218 * swig_cast_info to the list (because the cast->type) pointer will
27219 * be correct.
27220 *
27221 * Once the cast array has been set up AND it does have new casts that need
27222 * to be added we sort non-self cast entries to move filtered out entries
27223 * to the end of the array and to arrange the rest in the increasing order
27224 * of their type pointer values. We store the index of the last added entry
27225 * in the cast->value field of the entry[0] (overwriting the name hash). Then
27226 * we sort <next|value> fields of the remaining entries to arrange hash values
27227 * in the increasing order. This way cast->next->type->name field matches
27228 * the cast->value hash.
27229 *
27230 * Example:
27231 * Array of casts for type stored at 0x5000, cast to type stored at 0x3000
27232 * has already been loaded
27233 *
27234 * After sweep-and-hash: After sort-by-type: After sort-by-hash:
27235 * ________________ ________________ ________________
27236 * | | | | | |
27237 * Entry | type = 0x5000 | | type = 0x5000 | | type = 0x5000 |
27238 * 0 | | | | | |
27239 * | next = Entry0 | | next = Entry0 | | next = Entry0 |
27240 * | value = 1212 | | value = 3 | | value = 3 |
27241 * | | | | | |
27242 * |================| |================| |================|
27243 * | | | | | |
27244 * Entry | type = 0x2000 | | type = 0x1000 | | type = 0x1000 |
27245 * 1 | | | | | |
27246 * | next = Entry1 | | next = Entry1 | | next = Entry3 |
27247 * | value = 3434 | | value = 4545 | | value = 2323 |
27248 * |________________| |________________| |________________|
27249 * | | | | | |
27250 * Entry | type = 0x3000 | | type = 0x2000 | | type = 0x2000 |
27251 * 2 | | | | | |
27252 * | next = 0 | | next = Entry2 | | next = Entry2 |
27253 * | value = 0 | | value = 3434 | | value = 3434 |
27254 * |________________| |________________| |________________|
27255 * | | | | | |
27256 * Entry | type = 0x1000 | | type = 0x4000 | | type = 0x4000 |
27257 * 3 | | | | | |
27258 * | next = Entry3 | | next = Entry3 | | next = Entry1 |
27259 * | value = 4545 | | value = 2323 | | value = 4545 |
27260 * |________________| |________________| |________________|
27261 * | | | | | |
27262 * Entry | type = 0x4000 | | type = 0x3000 | | type = 0x3000 |
27263 * 4 | | | | | |
27264 * | next = Entry4 | | next = 0 | | next = 0 |
27265 * | value = 2323 | | value = 0 | | value = 0 |
27266 * |________________| |________________| |________________|
27267 *
27268 * Once the cast array has been initialized, we use cast[0]->next field to link
27269 * it into the list of cast arrays for the type.
27270 * ____ ____ ____
27271 * type->cast->|next|->|next|->|next|->0
27272 * |----| |----| |----|
27273 * |----| |----| |----|
27274 * |----| |----| |----|
27275 *
27276 * Subsequent cast resolution works as follows:
27277 *
27278 * 1. Check whether the type matches the first entry in the current cast array.
27279 * 2. If not, then do a binary search over the (0:cast->value] interval using
27280 * either type address or the hash value of the type name.
27281 * 3. If not found, then move over to the next cast array (cast[0]->next).
27282 *
27283 * ----------------------------------------------------------------------------- */
27284
27285#ifdef __cplusplus
27286extern "C" {
27287#if 0
27288} /* c-mode */
27289#endif
27290#endif
27291
27292#if 0
27293#define SWIGRUNTIME_DEBUG
27294#endif
27295
27296#ifndef SWIG_INIT_CLIENT_DATA_TYPE
27297#define SWIG_INIT_CLIENT_DATA_TYPE void *
27298#endif
27299
27300/*
27301 * Sort function that puts cast entries with nonzero 'next' at the front
27302 * of the array while ordering them by addresses of their 'type' structs.
27303 */
27304SWIGINTERN int SWIG_CastCmpStruct(const void *pa, const void *pb) {
27305 swig_cast_info *pca = (swig_cast_info *)pa;
27306 swig_cast_info *pcb = (swig_cast_info *)pb;
27307 if (pca->type < pcb->type)
27308 return (pca->next || pcb->next == 0) ? -1 : 1;
27309 if (pca->type > pcb->type)
27310 return (pcb->next || pca->next == 0) ? 1 : -1;
27311 return 0;
27312}
27313
27314/*
27315 * Shell-sort 'next' and 'value' field pairs to order them by 'value'.
27316 */
27318 const int hmax = size/9;
27319 int h, i;
27320 for(h = 1; h <= hmax; h = 3*h+1);
27321 for(; h > 0; h /= 3)
27322 {
27323 for(i = h; i < size; ++i)
27324 {
27325 swig_cast_info *p = cast[i].next;
27326 unsigned int hash = cast[i].value;
27327 int j = i;
27328 while(j >= h && hash < cast[j-h].value)
27329 {
27330 cast[j].next = cast[j-h].next;
27331 cast[j].value = cast[j-h].value;
27332 j -= h;
27333 }
27334 cast[j].next = p;
27335 cast[j].value = hash;
27336 }
27337 }
27338}
27339
27340SWIGRUNTIME void
27342 size_t i;
27343 swig_module_info *module_head, *iter;
27344 int init;
27345
27346 /* check to see if the circular list has been setup, if not, set it up */
27347 if (swig_module.next==0) {
27348 /* Initialize the swig_module */
27349 swig_module.type_initial = swig_type_initial;
27350 swig_module.cast_initial = swig_cast_initial;
27351 swig_module.next = &swig_module;
27352 init = 1;
27353 } else {
27354 init = 0;
27355 }
27356
27357 /* Try and load any already created modules */
27358 module_head = SWIG_GetModule(clientdata);
27359 if (!module_head) {
27360 /* This is the first module loaded for this interpreter */
27361 /* so set the swig module into the interpreter */
27362 SWIG_SetModule(clientdata, &swig_module);
27363 } else {
27364 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
27365 iter=module_head;
27366 do {
27367 if (iter==&swig_module) {
27368 /* Our module is already in the list, so there's nothing more to do. */
27369 return;
27370 }
27371 iter=iter->next;
27372 } while (iter!= module_head);
27373
27374 /* otherwise we must add our module into the list */
27375 swig_module.next = module_head->next;
27376 module_head->next = &swig_module;
27377 }
27378
27379 /* When multiple interpreters are used, a module could have already been initialized in
27380 a different interpreter, but not yet have a pointer in this interpreter.
27381 In this case, we do not want to continue adding types... everything should be
27382 set up already */
27383 if (init == 0) return;
27384
27385 /* Now work on filling in swig_module.types */
27386#ifdef SWIGRUNTIME_DEBUG
27387 printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
27388#endif
27389 for (i = 0; i < swig_module.size; ++i) {
27390 swig_type_info *type = 0;
27391 swig_type_info *target_type;
27392 swig_cast_info *cast, *first;
27393 int num_mapped = 0;
27394
27395#ifdef SWIGRUNTIME_DEBUG
27396 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
27397#endif
27398
27399 /* if there is another module already loaded */
27400 if (swig_module.next != &swig_module) {
27401 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
27402 }
27403 if (type) {
27404 /* Overwrite clientdata field */
27405#ifdef SWIGRUNTIME_DEBUG
27406 printf("SWIG_InitializeModule: found type %s\n", type->name);
27407#endif
27408 if (swig_module.type_initial[i]->clientdata) {
27409 type->clientdata = swig_module.type_initial[i]->clientdata;
27410#ifdef SWIGRUNTIME_DEBUG
27411 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
27412#endif
27413 }
27414 } else {
27415 type = swig_module.type_initial[i];
27416 }
27417
27418 /* Insert casting types */
27419 cast = first = swig_module.cast_initial[i];
27420 while (cast->type) {
27421
27422 /* Don't need to add information already in the list */
27423 target_type = 0;
27424#ifdef SWIGRUNTIME_DEBUG
27425 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
27426#endif
27427 if (swig_module.next != &swig_module) {
27428 target_type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
27429 if (target_type) {
27430
27431 /* Target type already defined in another module */
27432#ifdef SWIGRUNTIME_DEBUG
27433 printf("SWIG_InitializeModule: found cast %s\n", target_type->name);
27434#endif
27435 if (type == swig_module.type_initial[i]) {
27436#ifdef SWIGRUNTIME_DEBUG
27437 printf("SWIG_InitializeModule: skip old type %s\n", target_type->name);
27438#endif
27439 cast->type = target_type;
27440 target_type = 0;
27441 } else {
27442 /* Check if this cast is already in the list */
27443 swig_cast_info *ocast = SWIG_TypeCheck(target_type->name, type);
27444#ifdef SWIGRUNTIME_DEBUG
27445 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", target_type->name);
27446#endif
27447 if (!ocast) target_type = 0;
27448 }
27449 }
27450 }
27451
27452 if (!target_type) {
27453#ifdef SWIGRUNTIME_DEBUG
27454 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
27455#endif
27456 /* Set inclusion mark for sorting */
27457 cast->next = cast;
27458 num_mapped++;
27459
27460 if (type == cast->type) {
27461#ifdef SWIGRUNTIME_DEBUG
27462 printf("%s : self cast at pos [%li]\n", type->name, cast - first);
27463#endif
27464 if (cast - first) {
27465
27466 /* Move cast to itself to the first entry in the array */
27467
27468 swig_cast_info tmp = *cast;
27469 *cast = *first;
27470 *first = tmp;
27471 }
27472 first++;
27473
27474 } else {
27475 cast->value = SWIG_Hash(cast->type->name, (unsigned int)strlen(cast->type->name));
27476 }
27477 }
27478 cast++;
27479 }
27480
27481 if (num_mapped) {
27482 if (cast - first) {
27483 swig_cast_info *tmp;
27484
27485 /* Sort casts by type address for binary search in SWIG_TypeCheckStruct */
27486 qsort(first, cast - first, sizeof(swig_cast_info), SWIG_CastCmpStruct);
27487
27488 /* Remap back links for added entries */
27489 cast = swig_module.cast_initial[i] + num_mapped;
27490 for (tmp = first; tmp < cast; tmp++) {
27491 tmp->next = tmp;
27492 }
27493 }
27494
27495 /* Set the value field of the first entry to the index of the last added entry */
27496 cast = swig_module.cast_initial[i];
27497 cast->value = num_mapped - 1;
27498
27499 num_mapped -= (int)(first - cast);
27500 if (num_mapped > 1) {
27501 /* Sort <'next','value'> pairs by 'value' for binary search in SWIG_TypeCheck */
27502
27503 SWIG_CastHashSort(first, num_mapped);
27504 }
27505
27506 first = type->cast;
27507 if (first) {
27508 /* Link the current set into the list of cast arrays */
27509 cast->next = first->next;
27510 first->next = cast;
27511 } else {
27512 cast->next = 0;
27513 type->cast = cast;
27514 }
27515 }
27516
27517 /* Set entry in modules->types array equal to the type */
27518 swig_module.types[i] = type;
27519 }
27520 swig_module.types[i] = 0;
27521
27522#ifdef SWIGRUNTIME_DEBUG
27523 printf("**** SWIG_InitializeModule: Cast List ******\n");
27524 for (i = 0; i < swig_module.size; ++i) {
27525 int j = 0;
27526 swig_cast_info *cast = swig_module.cast_initial[i];
27527 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
27528 while (cast->type) {
27529 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
27530 cast++;
27531 ++j;
27532 }
27533 printf("---- Total casts: %d\n",j);
27534 }
27535 printf("**** SWIG_InitializeModule: Cast List ******\n");
27536#endif
27537}
27538
27539/* This function will propagate the clientdata field of type to
27540* any new swig_type_info structures that have been added into the list
27541* of equivalent types. It is like calling
27542* SWIG_TypeClientData(type, clientdata) a second time.
27543*/
27544SWIGRUNTIME void
27546 size_t i;
27547 static int init_run = 0;
27548
27549 if (init_run) return;
27550 init_run = 1;
27551
27552 for (i = 0; i < swig_module.size; i++) {
27553 if (swig_module.types[i]->clientdata) {
27554 swig_cast_info *head, *cast;
27555 head = swig_module.types[i]->cast;
27556 while (head) {
27557 for (cast = head; (cast - head) <= head->value; cast++) {
27558 if (!cast->converter) {
27559 if (cast->type && !cast->type->clientdata)
27560 SWIG_TypeClientData(cast->type, swig_module.types[i]->clientdata);
27561 }
27562 }
27563 head = head->next;
27564 }
27565 }
27566 }
27567}
27568
27569#ifdef __cplusplus
27570#if 0
27571{ /* c-mode */
27572#endif
27573}
27574#endif
27575
27576
27577
27578static bool SWIG_init_user(octave_swig_type* module_ns);
27579
27581 bool retn = false;
27582 {
27583#if SWIG_OCTAVE_PREREQ(6,0,0)
27584#elif SWIG_OCTAVE_PREREQ(4,2,0)
27585 octave::unwind_protect frame;
27586 frame.protect_var(discard_error_messages); discard_error_messages = true;
27587 frame.protect_var(discard_warning_messages); discard_warning_messages = true;
27588#elif SWIG_OCTAVE_PREREQ(3,3,50)
27589 unwind_protect frame;
27590 frame.protect_var(error_state); error_state = 0;
27591 frame.protect_var(warning_state); warning_state = 0;
27592 frame.protect_var(discard_error_messages); discard_error_messages = true;
27593 frame.protect_var(discard_warning_messages); discard_warning_messages = true;
27594#else
27595 unwind_protect::begin_frame("SWIG_Octave_LoadModule");
27596 unwind_protect_int(error_state); error_state = 0;
27597 unwind_protect_int(warning_state); warning_state = 0;
27598 unwind_protect_bool(discard_error_messages); discard_error_messages = true;
27599 unwind_protect_bool(discard_warning_messages); discard_warning_messages = true;
27600#endif
27601#if SWIG_OCTAVE_PREREQ(4,2,0)
27602 try {
27603#if SWIG_OCTAVE_PREREQ(4,4,0)
27604 octave::feval(name, octave_value_list(), 0);
27605#else
27606 feval(name, octave_value_list(), 0);
27607#endif
27608 retn = true;
27609 } catch (octave::execution_exception&) { }
27610#else
27611 feval(name, octave_value_list(), 0);
27612 retn = (error_state == 0);
27613#endif
27614#if !SWIG_OCTAVE_PREREQ(3,3,50)
27615 unwind_protect::run_frame("SWIG_Octave_LoadModule");
27616#endif
27617 }
27618 if (!retn) {
27619 error(SWIG_name_d ": could not load module `%s'", name.c_str());
27620 }
27621 return retn;
27622}
27623
27624SWIGINTERN bool SWIG_Octave_InstallFunction(octave_function *octloadfcn, std::string name) {
27625 bool retn = false;
27626 {
27627#if SWIG_OCTAVE_PREREQ(6,0,0)
27628#elif SWIG_OCTAVE_PREREQ(4,2,0)
27629 octave::unwind_protect frame;
27630 frame.protect_var(discard_error_messages); discard_error_messages = true;
27631 frame.protect_var(discard_warning_messages); discard_warning_messages = true;
27632#elif SWIG_OCTAVE_PREREQ(3,3,50)
27633 unwind_protect frame;
27634 frame.protect_var(error_state); error_state = 0;
27635 frame.protect_var(warning_state); warning_state = 0;
27636 frame.protect_var(discard_error_messages); discard_error_messages = true;
27637 frame.protect_var(discard_warning_messages); discard_warning_messages = true;
27638#else
27639 unwind_protect::begin_frame("SWIG_Octave_InstallFunction");
27640 unwind_protect_int(error_state); error_state = 0;
27641 unwind_protect_int(warning_state); warning_state = 0;
27642 unwind_protect_bool(discard_error_messages); discard_error_messages = true;
27643 unwind_protect_bool(discard_warning_messages); discard_warning_messages = true;
27644#endif
27645 octave_value_list args;
27646 args.append(name);
27647 args.append(octloadfcn->fcn_file_name());
27648#if SWIG_OCTAVE_PREREQ(4,2,0)
27649 try {
27650#if SWIG_OCTAVE_PREREQ(4,4,0)
27651 octave::feval("autoload", args, 0);
27652#else
27653 feval("autoload", args, 0);
27654#endif
27655 retn = true;
27656 } catch (octave::execution_exception&) { }
27657#else
27658 feval("autoload", args, 0);
27659 retn = (error_state == 0);
27660#endif
27661#if !SWIG_OCTAVE_PREREQ(3,3,50)
27662 unwind_protect::run_frame("SWIG_Octave_InstallFunction");
27663#endif
27664 }
27665 if (!retn) {
27666 error(SWIG_name_d ": could not load function `%s'", name.c_str());
27667 }
27668 return retn;
27669}
27670
27671static const char *const subclass_usage = "-*- texinfo -*- \n\
27672@deftypefn {Loadable Function} {} subclass()\n\
27673@deftypefnx{Loadable Function} {} subclass(@var{swigclass}, @var{name}, @var{fcn}, @dots{})\n\
27674Subclass a C++ class from within Octave, and provide implementations of its virtual methods.\n\
27675\n\
27676See the SWIG manual for usage examples.\n\
27677@end deftypefn";
27678
27679DEFUN_DLD( subclass, args, nargout, subclass_usage ) {
27681 for (int j = 0; j < args.length(); ++j) {
27682 if (args(j).type_id() == octave_swig_ref::static_type_id()) {
27683 octave_swig_ref *osr = static_cast < octave_swig_ref *>(args(j).internal_rep());
27684 octave_swig_type *ost = osr->get_ptr();
27685 if (!ost->is_owned()) {
27686 error("subclass: cannot subclass object not constructed on octave side");
27687 return octave_value_list();
27688 }
27689 top->merge(*ost);
27690 } else if (args(j).is_function_handle()) {
27691 top->assign(args(j).fcn_handle_value()->fcn_name(), args(j));
27692 } else if (args(j).is_string()) {
27693 if (j + 1 >= args.length()) {
27694 error("subclass: member assignments must be of string,value form");
27695 return octave_value_list();
27696 }
27697 top->assign(args(j).string_value(), args(j + 1));
27698 ++j;
27699 } else {
27700 error("subclass: invalid arguments to subclass()");
27701 return octave_value_list();
27702 }
27703 }
27704 return octave_value(Swig::swig_value_ref(top));
27705}
27706
27707static const char *const swig_type_usage = "-*- texinfo -*- \n\
27708@deftypefn {Loadable Function} {} swig_type(@var{swigref})\n\
27709Return the underlying C/C++ type name of a SWIG-wrapped object.\n\
27710@end deftypefn";
27711
27712DEFUN_DLD( swig_type, args, nargout, swig_type_usage ) {
27713 if (args.length() != 1) {
27714 error("swig_type: must be called with only a single object");
27715 return octave_value_list();
27716 }
27718 if (!ost) {
27719 error("swig_type: object is not a swig_ref");
27720 return octave_value_list();
27721 }
27722 return octave_value(ost->swig_type_name());
27723}
27724
27725static const char *const swig_typequery_usage = "-*- texinfo -*- \n\
27726@deftypefn {Loadable Function} {} swig_typequery(@var{string})\n\
27727Return @var{string} if it is a recognised SWIG-wrapped C/C++ type name;\n\
27728otherwise return `<unknown>'.\n\
27729@end deftypefn";
27730
27731DEFUN_DLD( swig_typequery, args, nargout, swig_typequery_usage ) {
27732 if (args.length() != 1 || !args(0).is_string()) {
27733 error("swig_typequery: must be called with single string argument");
27734 return octave_value_list();
27735 }
27736 swig_module_info *module = SWIG_GetModule(0);
27737 swig_type_info *type = SWIG_TypeQueryModule(module, module, args(0).string_value().c_str());
27738 if (!type)
27739 return octave_value("<unknown>");
27740 return octave_value(type->name);
27741}
27742
27743static const char *const swig_this_usage = "-*- texinfo -*- \n\
27744@deftypefn {Loadable Function} {} swig_this(@var{swigref})\n\
27745Return the underlying C/C++ pointer of a SWIG-wrapped object.\n\
27746@end deftypefn";
27747
27748DEFUN_DLD( swig_this, args, nargout, swig_this_usage ) {
27749 if (args.length() != 1) {
27750 error("swig_this: must be called with only a single object");
27751 return octave_value_list();
27752 }
27753 if (args(0).is_matrix_type() && args(0).rows() == 0 && args(0).columns() == 0)
27754 return octave_value(octave_uint64(0));
27756 if (!ost) {
27757 error("swig_this: object is not a swig_ref");
27758 return octave_value_list();
27759 }
27760 return octave_value(octave_uint64((unsigned long long) ost->swig_this()));
27761}
27762
27763static const char *const swig_octave_prereq_usage = "-*- texinfo -*- \n\
27764@deftypefn {Loadable Function} {} swig_octave_prereq(@var{major}, @var{minor}, @var{patch})\n\
27765Return true if the version of Octave is at least @var{major}.@var{minor}.@var{patch}.\n\
27766@end deftypefn";
27767
27768DEFUN_DLD( swig_octave_prereq, args, nargout, swig_octave_prereq_usage ) {
27769 if (args.length() != 3) {
27770 error("swig_octave_prereq: must be called with 3 arguments");
27771 return octave_value_list();
27772 }
27773 const int major = args(0).int_value();
27774 const int minor = args(1).int_value();
27775 const int patch = args(2).int_value();
27776 const bool prereq = SWIG_OCTAVE_PREREQ(major, minor, patch);
27777 return octave_value(prereq);
27778}
27779
27780static const char *const swig_exit_usage = "-*- texinfo -*- \n\
27781@deftypefn {Loadable Function} {} swig_exit([@var{exit_status}])\n\
27782Exit Octave without performing any memory cleanup.\n\
27783@end deftypefn";
27784
27785DEFUN_DLD( swig_exit, args, nargout, swig_exit_usage ) {
27786 if (args.length() > 1) {
27787 error("swig_exit: must be called with at most one arguments");
27788 return octave_value_list();
27789 }
27790 int exit_status = 0;
27791 if (args.length() == 1) {
27792 exit_status = args(0).int_value();
27793 }
27794 ::_Exit(exit_status);
27795 return octave_value();
27796}
27797
27798static const char *const SWIG_name_usage = "-*- texinfo -*- \n\
27799@deftypefn {Loadable Module} {} " SWIG_name_d "\n\
27800Loads the SWIG-generated module `" SWIG_name_d "'.\n\
27801@end deftypefn";
27802
27804
27805 static octave_swig_type* module_ns = 0;
27806
27807 // workaround to prevent octave seg-faulting on exit: set Octave exit function
27808 // octave_exit to _Exit, which exits immediately without trying to cleanup memory.
27809 // definitely affected version 3.2.*, not sure about 3.3.*, seems to be fixed in
27810 // version 3.4.*, reappeared in 4.2.*, hack not possible in 4.4.* or later due to
27811 // removal of octave_exit, so turn on for all versions between 3.2.*. and 4.4.*.
27812 // can be turned off with macro definition.
27813#ifndef SWIG_OCTAVE_NO_SEGFAULT_HACK
27814#if !SWIG_OCTAVE_PREREQ(4,4,0)
27815#if SWIG_OCTAVE_PREREQ(3,2,0)
27816 octave_exit = ::_Exit;
27817#endif
27818#endif
27819#endif
27820
27821 // check for no input and output args
27822 if (args.length() != 0 || nargout != 0) {
27823 print_usage();
27824 return octave_value_list();
27825 }
27826
27827 // create module on first function call
27828 if (!module_ns) {
27829
27830 // workaround bug in octave where installing global variable of custom type and then
27831 // exiting without explicitly clearing the variable causes octave to segfault.
27832#if SWIG_OCTAVE_PREREQ(3,2,0)
27833 octave_value_list eval_args;
27834 eval_args.append("base");
27835 eval_args.append("function __swig_atexit__; "
27836 " if mislocked() "
27837 " clear -all; "
27838 " else "
27839 " mlock(); "
27840 " endif; "
27841 "endfunction; "
27842 "__swig_atexit__; "
27843 "atexit(\"__swig_atexit__\", false); "
27844 "atexit(\"__swig_atexit__\")");
27845#if SWIG_OCTAVE_PREREQ(4,4,0)
27846 octave::feval("evalin", eval_args, 0);
27847#else
27848 feval("evalin", eval_args, 0);
27849#endif
27850#endif
27851
27852#if SWIG_OCTAVE_PREREQ(4,4,0)
27853 {
27854 octave::type_info& typeinfo = octave::interpreter::the_interpreter()->get_type_info();
27855 string_vector types = typeinfo.installed_type_names();
27856 bool register_octave_swig_ref = true;
27857 bool register_octave_swig_packed = true;
27858 for (int i = 0; i < types.numel(); ++i) {
27859 if (types(i) == octave_swig_ref::static_type_name()) {
27860 register_octave_swig_ref = false;
27861 octave_swig_ref::set_type_id(i);
27862 }
27863 if (types(i) == octave_swig_packed::static_type_name()) {
27864 register_octave_swig_packed = false;
27865 octave_swig_packed::set_type_id(i);
27866 }
27867 }
27868 if (register_octave_swig_ref) {
27869 octave_swig_ref::register_type();
27870 }
27871 if (register_octave_swig_packed) {
27872 octave_swig_packed::register_type();
27873 }
27874 }
27875#else
27876 octave_swig_ref::register_type();
27877 octave_swig_packed::register_type();
27878#endif
27881
27882#if SWIG_OCTAVE_PREREQ(8,0,0)
27883 octave::tree_evaluator& tree_eval = octave::interpreter::the_interpreter()->get_evaluator();
27884 octave_function *me = tree_eval.current_function();
27885#elif SWIG_OCTAVE_PREREQ(6,0,0)
27886 octave::tree_evaluator& tree_eval = octave::interpreter::the_interpreter()->get_evaluator();
27887 octave::call_stack& stack = tree_eval.get_call_stack();
27888 octave_function *me = stack.current_function();
27889#elif SWIG_OCTAVE_PREREQ(4,4,0)
27890 octave::call_stack& stack = octave::interpreter::the_interpreter()->get_call_stack();
27891 octave_function *me = stack.current();
27892#else
27893 octave_function *me = octave_call_stack::current();
27894#endif
27895
27896 if (!SWIG_Octave_InstallFunction(me, "subclass")) {
27897 return octave_value_list();
27898 }
27899 if (!SWIG_Octave_InstallFunction(me, "swig_type")) {
27900 return octave_value_list();
27901 }
27902 if (!SWIG_Octave_InstallFunction(me, "swig_typequery")) {
27903 return octave_value_list();
27904 }
27905 if (!SWIG_Octave_InstallFunction(me, "swig_this")) {
27906 return octave_value_list();
27907 }
27908 if (!SWIG_Octave_InstallFunction(me, "swig_octave_prereq")) {
27909 return octave_value_list();
27910 }
27911 if (!SWIG_Octave_InstallFunction(me, "swig_exit")) {
27912 return octave_value_list();
27913 }
27914
27915 octave_swig_type* cvar_ns=0;
27916 if (std::string(SWIG_global_name) != ".") {
27917 cvar_ns=new octave_swig_type;
27918 for (int j=0;swig_globals[j].name;++j)
27919 if (swig_globals[j].get_method)
27920 cvar_ns->assign(swig_globals[j].name,&swig_globals[j]);
27921 }
27922
27923 module_ns=new octave_swig_type(0, 0, 0, true);
27924 if (std::string(SWIG_global_name) != ".") {
27925 module_ns->assign(SWIG_global_name,Swig::swig_value_ref(cvar_ns));
27926 }
27927 else {
27928 for (int j=0;swig_globals[j].name;++j)
27929 if (swig_globals[j].get_method)
27930 module_ns->assign(swig_globals[j].name,&swig_globals[j]);
27931 }
27932 for (int j=0;swig_globals[j].name;++j)
27933 if (swig_globals[j].method)
27934 module_ns->assign(swig_globals[j].name,&swig_globals[j]);
27935
27936 // * need better solution here; swig_type -> octave_class mapping is
27937 // * really n-to-1, in some cases such as template partial spec, etc.
27938 // * see failing tests.
27939 for (int j=0;swig_types[j];++j)
27940 if (swig_types[j]->clientdata) {
27942 module_ns->assign(c->name,
27944 (new octave_swig_type(0,swig_types[j])));
27945 }
27946
27947 if (!SWIG_init_user(module_ns)) {
27948 delete module_ns;
27949 module_ns=0;
27950 return octave_value_list();
27951 }
27952
27953 SWIG_InstallOps(octave_swig_ref::static_type_id());
27954
27956 for (mb = module_ns->swig_members_begin(); mb != module_ns->swig_members_end(); ++mb) {
27957 if (mb->second.first && mb->second.first->method) {
27958 if (!SWIG_Octave_InstallFunction(me, mb->first)) {
27959 return octave_value_list();
27960 }
27961 }
27962 }
27963
27964#if SWIG_OCTAVE_PREREQ(4,4,0)
27965 octave::interpreter::the_interpreter()->mlock();
27966#elif SWIG_OCTAVE_PREREQ(3,2,0)
27967 mlock();
27968#else
27969 mlock(me->name());
27970#endif
27971
27972 }
27973
27975 for (mb = module_ns->swig_members_begin(); mb != module_ns->swig_members_end(); ++mb) {
27976 if (mb->second.second.is_defined()) {
27977 SWIG_Octave_SetGlobalValue(mb->first, mb->second.second);
27978 SWIG_Octave_LinkGlobalValue(mb->first);
27979 }
27980 }
27981
27984
27985 return octave_value_list();
27986
27987}
27988
27989
27990static bool SWIG_init_user(octave_swig_type* module_ns)
27991{
27992 SWIG_Octave_SetConstant(module_ns,"PLESC_SET_RGB",SWIG_From_int(static_cast< int >(1)));
27993 SWIG_Octave_SetConstant(module_ns,"PLESC_ALLOC_NCOL",SWIG_From_int(static_cast< int >(2)));
27994 SWIG_Octave_SetConstant(module_ns,"PLESC_SET_LPB",SWIG_From_int(static_cast< int >(3)));
27995 SWIG_Octave_SetConstant(module_ns,"PLESC_EXPOSE",SWIG_From_int(static_cast< int >(4)));
27996 SWIG_Octave_SetConstant(module_ns,"PLESC_RESIZE",SWIG_From_int(static_cast< int >(5)));
27997 SWIG_Octave_SetConstant(module_ns,"PLESC_REDRAW",SWIG_From_int(static_cast< int >(6)));
27998 SWIG_Octave_SetConstant(module_ns,"PLESC_TEXT",SWIG_From_int(static_cast< int >(7)));
27999 SWIG_Octave_SetConstant(module_ns,"PLESC_GRAPH",SWIG_From_int(static_cast< int >(8)));
28000 SWIG_Octave_SetConstant(module_ns,"PLESC_FILL",SWIG_From_int(static_cast< int >(9)));
28001 SWIG_Octave_SetConstant(module_ns,"PLESC_DI",SWIG_From_int(static_cast< int >(10)));
28002 SWIG_Octave_SetConstant(module_ns,"PLESC_FLUSH",SWIG_From_int(static_cast< int >(11)));
28003 SWIG_Octave_SetConstant(module_ns,"PLESC_EH",SWIG_From_int(static_cast< int >(12)));
28004 SWIG_Octave_SetConstant(module_ns,"PLESC_GETC",SWIG_From_int(static_cast< int >(13)));
28005 SWIG_Octave_SetConstant(module_ns,"PLESC_SWIN",SWIG_From_int(static_cast< int >(14)));
28006 SWIG_Octave_SetConstant(module_ns,"PLESC_DOUBLEBUFFERING",SWIG_From_int(static_cast< int >(15)));
28007 SWIG_Octave_SetConstant(module_ns,"PLESC_XORMOD",SWIG_From_int(static_cast< int >(16)));
28008 SWIG_Octave_SetConstant(module_ns,"PLESC_SET_COMPRESSION",SWIG_From_int(static_cast< int >(17)));
28009 SWIG_Octave_SetConstant(module_ns,"PLESC_CLEAR",SWIG_From_int(static_cast< int >(18)));
28010 SWIG_Octave_SetConstant(module_ns,"PLESC_DASH",SWIG_From_int(static_cast< int >(19)));
28011 SWIG_Octave_SetConstant(module_ns,"PLESC_HAS_TEXT",SWIG_From_int(static_cast< int >(20)));
28012 SWIG_Octave_SetConstant(module_ns,"PLESC_IMAGE",SWIG_From_int(static_cast< int >(21)));
28013 SWIG_Octave_SetConstant(module_ns,"PLESC_IMAGEOPS",SWIG_From_int(static_cast< int >(22)));
28014 SWIG_Octave_SetConstant(module_ns,"PLESC_PL2DEVCOL",SWIG_From_int(static_cast< int >(23)));
28015 SWIG_Octave_SetConstant(module_ns,"PLESC_DEV2PLCOL",SWIG_From_int(static_cast< int >(24)));
28016 SWIG_Octave_SetConstant(module_ns,"PLESC_SETBGFG",SWIG_From_int(static_cast< int >(25)));
28017 SWIG_Octave_SetConstant(module_ns,"PLESC_DEVINIT",SWIG_From_int(static_cast< int >(26)));
28018 SWIG_Octave_SetConstant(module_ns,"PLESC_GETBACKEND",SWIG_From_int(static_cast< int >(27)));
28019 SWIG_Octave_SetConstant(module_ns,"PLESC_BEGIN_TEXT",SWIG_From_int(static_cast< int >(28)));
28020 SWIG_Octave_SetConstant(module_ns,"PLESC_TEXT_CHAR",SWIG_From_int(static_cast< int >(29)));
28021 SWIG_Octave_SetConstant(module_ns,"PLESC_CONTROL_CHAR",SWIG_From_int(static_cast< int >(30)));
28022 SWIG_Octave_SetConstant(module_ns,"PLESC_END_TEXT",SWIG_From_int(static_cast< int >(31)));
28023 SWIG_Octave_SetConstant(module_ns,"PLESC_START_RASTERIZE",SWIG_From_int(static_cast< int >(32)));
28024 SWIG_Octave_SetConstant(module_ns,"PLESC_END_RASTERIZE",SWIG_From_int(static_cast< int >(33)));
28025 SWIG_Octave_SetConstant(module_ns,"PLESC_ARC",SWIG_From_int(static_cast< int >(34)));
28026 SWIG_Octave_SetConstant(module_ns,"PLESC_GRADIENT",SWIG_From_int(static_cast< int >(35)));
28027 SWIG_Octave_SetConstant(module_ns,"PLESC_MODESET",SWIG_From_int(static_cast< int >(36)));
28028 SWIG_Octave_SetConstant(module_ns,"PLESC_MODEGET",SWIG_From_int(static_cast< int >(37)));
28029 SWIG_Octave_SetConstant(module_ns,"PLESC_FIXASPECT",SWIG_From_int(static_cast< int >(38)));
28030 SWIG_Octave_SetConstant(module_ns,"PLESC_IMPORT_BUFFER",SWIG_From_int(static_cast< int >(39)));
28031 SWIG_Octave_SetConstant(module_ns,"PLESC_APPEND_BUFFER",SWIG_From_int(static_cast< int >(40)));
28032 SWIG_Octave_SetConstant(module_ns,"PLESC_FLUSH_REMAINING_BUFFER",SWIG_From_int(static_cast< int >(41)));
28033 SWIG_Octave_SetConstant(module_ns,"PLTEXT_FONTCHANGE",SWIG_From_int(static_cast< int >(0)));
28034 SWIG_Octave_SetConstant(module_ns,"PLTEXT_SUPERSCRIPT",SWIG_From_int(static_cast< int >(1)));
28035 SWIG_Octave_SetConstant(module_ns,"PLTEXT_SUBSCRIPT",SWIG_From_int(static_cast< int >(2)));
28036 SWIG_Octave_SetConstant(module_ns,"PLTEXT_BACKCHAR",SWIG_From_int(static_cast< int >(3)));
28037 SWIG_Octave_SetConstant(module_ns,"PLTEXT_OVERLINE",SWIG_From_int(static_cast< int >(4)));
28038 SWIG_Octave_SetConstant(module_ns,"PLTEXT_UNDERLINE",SWIG_From_int(static_cast< int >(5)));
28039 SWIG_Octave_SetConstant(module_ns,"ZEROW2B",SWIG_From_int(static_cast< int >(1)));
28040 SWIG_Octave_SetConstant(module_ns,"ZEROW2D",SWIG_From_int(static_cast< int >(2)));
28041 SWIG_Octave_SetConstant(module_ns,"ONEW2B",SWIG_From_int(static_cast< int >(3)));
28042 SWIG_Octave_SetConstant(module_ns,"ONEW2D",SWIG_From_int(static_cast< int >(4)));
28043 SWIG_Octave_SetConstant(module_ns,"PLSWIN_DEVICE",SWIG_From_int(static_cast< int >(1)));
28044 SWIG_Octave_SetConstant(module_ns,"PLSWIN_WORLD",SWIG_From_int(static_cast< int >(2)));
28045 SWIG_Octave_SetConstant(module_ns,"PL_X_AXIS",SWIG_From_int(static_cast< int >(1)));
28046 SWIG_Octave_SetConstant(module_ns,"PL_Y_AXIS",SWIG_From_int(static_cast< int >(2)));
28047 SWIG_Octave_SetConstant(module_ns,"PL_Z_AXIS",SWIG_From_int(static_cast< int >(3)));
28048 SWIG_Octave_SetConstant(module_ns,"PL_OPT_ENABLED",SWIG_From_int(static_cast< int >(0x0001)));
28049 SWIG_Octave_SetConstant(module_ns,"PL_OPT_ARG",SWIG_From_int(static_cast< int >(0x0002)));
28050 SWIG_Octave_SetConstant(module_ns,"PL_OPT_NODELETE",SWIG_From_int(static_cast< int >(0x0004)));
28051 SWIG_Octave_SetConstant(module_ns,"PL_OPT_INVISIBLE",SWIG_From_int(static_cast< int >(0x0008)));
28052 SWIG_Octave_SetConstant(module_ns,"PL_OPT_DISABLED",SWIG_From_int(static_cast< int >(0x0010)));
28053 SWIG_Octave_SetConstant(module_ns,"PL_OPT_FUNC",SWIG_From_int(static_cast< int >(0x0100)));
28054 SWIG_Octave_SetConstant(module_ns,"PL_OPT_BOOL",SWIG_From_int(static_cast< int >(0x0200)));
28055 SWIG_Octave_SetConstant(module_ns,"PL_OPT_INT",SWIG_From_int(static_cast< int >(0x0400)));
28056 SWIG_Octave_SetConstant(module_ns,"PL_OPT_FLOAT",SWIG_From_int(static_cast< int >(0x0800)));
28057 SWIG_Octave_SetConstant(module_ns,"PL_OPT_STRING",SWIG_From_int(static_cast< int >(0x1000)));
28058 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_PARTIAL",SWIG_From_int(static_cast< int >(0x0000)));
28059 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_FULL",SWIG_From_int(static_cast< int >(0x0001)));
28060 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_QUIET",SWIG_From_int(static_cast< int >(0x0002)));
28061 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_NODELETE",SWIG_From_int(static_cast< int >(0x0004)));
28062 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_SHOWALL",SWIG_From_int(static_cast< int >(0x0008)));
28063 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_OVERRIDE",SWIG_From_int(static_cast< int >(0x0010)));
28064 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_NOPROGRAM",SWIG_From_int(static_cast< int >(0x0020)));
28065 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_NODASH",SWIG_From_int(static_cast< int >(0x0040)));
28066 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_SKIP",SWIG_From_int(static_cast< int >(0x0080)));
28067 SWIG_Octave_SetConstant(module_ns,"PL_FCI_MARK",SWIG_From_int(static_cast< int >(0x80000000)));
28068 SWIG_Octave_SetConstant(module_ns,"PL_FCI_IMPOSSIBLE",SWIG_From_int(static_cast< int >(0x00000000)));
28069 SWIG_Octave_SetConstant(module_ns,"PL_FCI_HEXDIGIT_MASK",SWIG_From_int(static_cast< int >(0xf)));
28070 SWIG_Octave_SetConstant(module_ns,"PL_FCI_HEXPOWER_MASK",SWIG_From_int(static_cast< int >(0x7)));
28071 SWIG_Octave_SetConstant(module_ns,"PL_FCI_HEXPOWER_IMPOSSIBLE",SWIG_From_int(static_cast< int >(0xf)));
28072 SWIG_Octave_SetConstant(module_ns,"PL_FCI_FAMILY",SWIG_From_int(static_cast< int >(0x0)));
28073 SWIG_Octave_SetConstant(module_ns,"PL_FCI_STYLE",SWIG_From_int(static_cast< int >(0x1)));
28074 SWIG_Octave_SetConstant(module_ns,"PL_FCI_WEIGHT",SWIG_From_int(static_cast< int >(0x2)));
28075 SWIG_Octave_SetConstant(module_ns,"PL_FCI_SANS",SWIG_From_int(static_cast< int >(0x0)));
28076 SWIG_Octave_SetConstant(module_ns,"PL_FCI_SERIF",SWIG_From_int(static_cast< int >(0x1)));
28077 SWIG_Octave_SetConstant(module_ns,"PL_FCI_MONO",SWIG_From_int(static_cast< int >(0x2)));
28078 SWIG_Octave_SetConstant(module_ns,"PL_FCI_SCRIPT",SWIG_From_int(static_cast< int >(0x3)));
28079 SWIG_Octave_SetConstant(module_ns,"PL_FCI_SYMBOL",SWIG_From_int(static_cast< int >(0x4)));
28080 SWIG_Octave_SetConstant(module_ns,"PL_FCI_UPRIGHT",SWIG_From_int(static_cast< int >(0x0)));
28081 SWIG_Octave_SetConstant(module_ns,"PL_FCI_ITALIC",SWIG_From_int(static_cast< int >(0x1)));
28082 SWIG_Octave_SetConstant(module_ns,"PL_FCI_OBLIQUE",SWIG_From_int(static_cast< int >(0x2)));
28083 SWIG_Octave_SetConstant(module_ns,"PL_FCI_MEDIUM",SWIG_From_int(static_cast< int >(0x0)));
28084 SWIG_Octave_SetConstant(module_ns,"PL_FCI_BOLD",SWIG_From_int(static_cast< int >(0x1)));
28085 SWIG_Octave_SetConstant(module_ns,"PL_MAXKEY",SWIG_From_int(static_cast< int >(16)));
28086 SWIG_Octave_SetConstant(module_ns,"PL_MASK_SHIFT",SWIG_From_int(static_cast< int >(0x1)));
28087 SWIG_Octave_SetConstant(module_ns,"PL_MASK_CAPS",SWIG_From_int(static_cast< int >(0x2)));
28088 SWIG_Octave_SetConstant(module_ns,"PL_MASK_CONTROL",SWIG_From_int(static_cast< int >(0x4)));
28089 SWIG_Octave_SetConstant(module_ns,"PL_MASK_ALT",SWIG_From_int(static_cast< int >(0x8)));
28090 SWIG_Octave_SetConstant(module_ns,"PL_MASK_NUM",SWIG_From_int(static_cast< int >(0x10)));
28091 SWIG_Octave_SetConstant(module_ns,"PL_MASK_ALTGR",SWIG_From_int(static_cast< int >(0x20)));
28092 SWIG_Octave_SetConstant(module_ns,"PL_MASK_WIN",SWIG_From_int(static_cast< int >(0x40)));
28093 SWIG_Octave_SetConstant(module_ns,"PL_MASK_SCROLL",SWIG_From_int(static_cast< int >(0x80)));
28094 SWIG_Octave_SetConstant(module_ns,"PL_MASK_BUTTON1",SWIG_From_int(static_cast< int >(0x100)));
28095 SWIG_Octave_SetConstant(module_ns,"PL_MASK_BUTTON2",SWIG_From_int(static_cast< int >(0x200)));
28096 SWIG_Octave_SetConstant(module_ns,"PL_MASK_BUTTON3",SWIG_From_int(static_cast< int >(0x400)));
28097 SWIG_Octave_SetConstant(module_ns,"PL_MASK_BUTTON4",SWIG_From_int(static_cast< int >(0x800)));
28098 SWIG_Octave_SetConstant(module_ns,"PL_MASK_BUTTON5",SWIG_From_int(static_cast< int >(0x1000)));
28099 SWIG_Octave_SetConstant(module_ns,"PL_MAXWINDOWS",SWIG_From_int(static_cast< int >(64)));
28100 SWIG_Octave_SetConstant(module_ns,"PL_NOTSET",SWIG_From_int(static_cast< int >((-42))));
28101 SWIG_Octave_SetConstant(module_ns,"PL_DEFAULT_NCOL0",SWIG_From_int(static_cast< int >(16)));
28102 SWIG_Octave_SetConstant(module_ns,"PL_DEFAULT_NCOL1",SWIG_From_int(static_cast< int >(128)));
28103 SWIG_Octave_SetConstant(module_ns,"MIN_PLINT_RGB",SWIG_From_int(static_cast< int >(0)));
28104 SWIG_Octave_SetConstant(module_ns,"MAX_PLINT_RGB",SWIG_From_int(static_cast< int >(255)));
28105 SWIG_Octave_SetConstant(module_ns,"MIN_PLFLT_CMAP1",SWIG_From_double(static_cast< double >(0.)));
28106 SWIG_Octave_SetConstant(module_ns,"MAX_PLFLT_CMAP1",SWIG_From_double(static_cast< double >(1.)));
28107 SWIG_Octave_SetConstant(module_ns,"MIN_PLFLT_ALPHA",SWIG_From_double(static_cast< double >(0.)));
28108 SWIG_Octave_SetConstant(module_ns,"MAX_PLFLT_ALPHA",SWIG_From_double(static_cast< double >(1.)));
28109 SWIG_Octave_SetConstant(module_ns,"PLESC_DOUBLEBUFFERING_ENABLE",SWIG_From_int(static_cast< int >(1)));
28110 SWIG_Octave_SetConstant(module_ns,"PLESC_DOUBLEBUFFERING_DISABLE",SWIG_From_int(static_cast< int >(2)));
28111 SWIG_Octave_SetConstant(module_ns,"PLESC_DOUBLEBUFFERING_QUERY",SWIG_From_int(static_cast< int >(3)));
28112 SWIG_Octave_SetConstant(module_ns,"PL_BIN_DEFAULT",SWIG_From_int(static_cast< int >(0x0)));
28113 SWIG_Octave_SetConstant(module_ns,"PL_BIN_CENTRED",SWIG_From_int(static_cast< int >(0x1)));
28114 SWIG_Octave_SetConstant(module_ns,"PL_BIN_NOEXPAND",SWIG_From_int(static_cast< int >(0x2)));
28115 SWIG_Octave_SetConstant(module_ns,"PL_BIN_NOEMPTY",SWIG_From_int(static_cast< int >(0x4)));
28116 SWIG_Octave_SetConstant(module_ns,"GRID_CSA",SWIG_From_int(static_cast< int >(1)));
28117 SWIG_Octave_SetConstant(module_ns,"GRID_DTLI",SWIG_From_int(static_cast< int >(2)));
28118 SWIG_Octave_SetConstant(module_ns,"GRID_NNI",SWIG_From_int(static_cast< int >(3)));
28119 SWIG_Octave_SetConstant(module_ns,"GRID_NNIDW",SWIG_From_int(static_cast< int >(4)));
28120 SWIG_Octave_SetConstant(module_ns,"GRID_NNLI",SWIG_From_int(static_cast< int >(5)));
28121 SWIG_Octave_SetConstant(module_ns,"GRID_NNAIDW",SWIG_From_int(static_cast< int >(6)));
28122 SWIG_Octave_SetConstant(module_ns,"PL_HIST_DEFAULT",SWIG_From_int(static_cast< int >(0x00)));
28123 SWIG_Octave_SetConstant(module_ns,"PL_HIST_NOSCALING",SWIG_From_int(static_cast< int >(0x01)));
28124 SWIG_Octave_SetConstant(module_ns,"PL_HIST_IGNORE_OUTLIERS",SWIG_From_int(static_cast< int >(0x02)));
28125 SWIG_Octave_SetConstant(module_ns,"PL_HIST_NOEXPAND",SWIG_From_int(static_cast< int >(0x08)));
28126 SWIG_Octave_SetConstant(module_ns,"PL_HIST_NOEMPTY",SWIG_From_int(static_cast< int >(0x10)));
28127 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_NULL",SWIG_From_int(static_cast< int >(0x0)));
28128 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_LEFT",SWIG_From_int(static_cast< int >(0x1)));
28129 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_RIGHT",SWIG_From_int(static_cast< int >(0x2)));
28130 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_TOP",SWIG_From_int(static_cast< int >(0x4)));
28131 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_BOTTOM",SWIG_From_int(static_cast< int >(0x8)));
28132 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_INSIDE",SWIG_From_int(static_cast< int >(0x10)));
28133 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_OUTSIDE",SWIG_From_int(static_cast< int >(0x20)));
28134 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_VIEWPORT",SWIG_From_int(static_cast< int >(0x40)));
28135 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_SUBPAGE",SWIG_From_int(static_cast< int >(0x80)));
28136 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_NULL",SWIG_From_int(static_cast< int >(0x0)));
28137 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_NONE",SWIG_From_int(static_cast< int >(0x1)));
28138 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_COLOR_BOX",SWIG_From_int(static_cast< int >(0x2)));
28139 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_LINE",SWIG_From_int(static_cast< int >(0x4)));
28140 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_SYMBOL",SWIG_From_int(static_cast< int >(0x8)));
28141 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_TEXT_LEFT",SWIG_From_int(static_cast< int >(0x10)));
28142 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_BACKGROUND",SWIG_From_int(static_cast< int >(0x20)));
28143 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_BOUNDING_BOX",SWIG_From_int(static_cast< int >(0x40)));
28144 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_ROW_MAJOR",SWIG_From_int(static_cast< int >(0x80)));
28145 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_NULL",SWIG_From_int(static_cast< int >(0x0)));
28146 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_LABEL_LEFT",SWIG_From_int(static_cast< int >(0x1)));
28147 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_LABEL_RIGHT",SWIG_From_int(static_cast< int >(0x2)));
28148 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_LABEL_TOP",SWIG_From_int(static_cast< int >(0x4)));
28149 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_LABEL_BOTTOM",SWIG_From_int(static_cast< int >(0x8)));
28150 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_IMAGE",SWIG_From_int(static_cast< int >(0x10)));
28151 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_SHADE",SWIG_From_int(static_cast< int >(0x20)));
28152 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_GRADIENT",SWIG_From_int(static_cast< int >(0x40)));
28153 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_CAP_NONE",SWIG_From_int(static_cast< int >(0x80)));
28154 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_CAP_LOW",SWIG_From_int(static_cast< int >(0x100)));
28155 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_CAP_HIGH",SWIG_From_int(static_cast< int >(0x200)));
28156 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_SHADE_LABEL",SWIG_From_int(static_cast< int >(0x400)));
28157 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_ORIENT_RIGHT",SWIG_From_int(static_cast< int >(0x800)));
28158 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_ORIENT_TOP",SWIG_From_int(static_cast< int >(0x1000)));
28159 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_ORIENT_LEFT",SWIG_From_int(static_cast< int >(0x2000)));
28160 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_ORIENT_BOTTOM",SWIG_From_int(static_cast< int >(0x4000)));
28161 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_BACKGROUND",SWIG_From_int(static_cast< int >(0x8000)));
28162 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_BOUNDING_BOX",SWIG_From_int(static_cast< int >(0x10000)));
28163 SWIG_Octave_SetConstant(module_ns,"PL_DRAWMODE_UNKNOWN",SWIG_From_int(static_cast< int >(0x0)));
28164 SWIG_Octave_SetConstant(module_ns,"PL_DRAWMODE_DEFAULT",SWIG_From_int(static_cast< int >(0x1)));
28165 SWIG_Octave_SetConstant(module_ns,"PL_DRAWMODE_REPLACE",SWIG_From_int(static_cast< int >(0x2)));
28166 SWIG_Octave_SetConstant(module_ns,"PL_DRAWMODE_XOR",SWIG_From_int(static_cast< int >(0x4)));
28167 SWIG_Octave_SetConstant(module_ns,"DRAW_LINEX",SWIG_From_int(static_cast< int >(0x001)));
28168 SWIG_Octave_SetConstant(module_ns,"DRAW_LINEY",SWIG_From_int(static_cast< int >(0x002)));
28169 SWIG_Octave_SetConstant(module_ns,"DRAW_LINEXY",SWIG_From_int(static_cast< int >(0x003)));
28170 SWIG_Octave_SetConstant(module_ns,"MAG_COLOR",SWIG_From_int(static_cast< int >(0x004)));
28171 SWIG_Octave_SetConstant(module_ns,"BASE_CONT",SWIG_From_int(static_cast< int >(0x008)));
28172 SWIG_Octave_SetConstant(module_ns,"TOP_CONT",SWIG_From_int(static_cast< int >(0x010)));
28173 SWIG_Octave_SetConstant(module_ns,"SURF_CONT",SWIG_From_int(static_cast< int >(0x020)));
28174 SWIG_Octave_SetConstant(module_ns,"DRAW_SIDES",SWIG_From_int(static_cast< int >(0x040)));
28175 SWIG_Octave_SetConstant(module_ns,"FACETED",SWIG_From_int(static_cast< int >(0x080)));
28176 SWIG_Octave_SetConstant(module_ns,"MESH",SWIG_From_int(static_cast< int >(0x100)));
28177 return true;
28178}
28179
virtual bool load_ascii(std::istream &is)
virtual bool save_binary(std::ostream &os, bool &save_as_floats)
octave_base_value * empty_clone() const
octave_swig_packed(swig_type_info *_type=0, const void *_buf=0, size_t _buf_len=0)
virtual bool load_binary(std::istream &is, bool swap, oct_mach_info::float_format fmt)
void print(std::ostream &os, bool pr_as_read_syntax=false) const
bool copy(swig_type_info *outtype, void *ptr, size_t sz) const
octave_base_value * clone() const
virtual bool save_ascii(std::ostream &os)
virtual string_vector map_keys() const
virtual bool save_binary(std::ostream &os, bool &save_as_floats)
virtual double scalar_value(bool frc_str_conv=false) const
virtual bool is_object() const
octave_value subsasgn(const std::string &ops, const std::list< octave_value_list > &idx, const octave_value &rhs)
virtual bool save_ascii(std::ostream &os)
octave_swig_type * get_ptr() const
dim_vector dims(void) const
octave_base_value * clone() const
virtual Octave_map map_value() const
virtual bool is_map() const
virtual bool is_string() const
virtual std::string string_value(bool force=false) const
virtual type_conv_info numeric_conversion_function(void) const
virtual octave_value convert_to_str(bool pad=false, bool force=false, char type='"') const
octave_base_value * empty_clone() const
virtual bool load_binary(std::istream &is, bool swap, oct_mach_info::float_format fmt)
static octave_base_value * default_numeric_conversion_function(const octave_base_value &a)
virtual octave_value subsref(const std::string &ops, const std::list< octave_value_list > &idx)
void print(std::ostream &os, bool pr_as_read_syntax=false) const
virtual octave_value convert_to_str_internal(bool pad, bool force, char type) const
octave_swig_ref(octave_swig_type *_ptr=0)
virtual bool load_ascii(std::istream &is)
virtual octave_value_list subsref(const std::string &ops, const std::list< octave_value_list > &idx, int nargout)
const swig_octave_member * find_member(const swig_type_info *type, const std::string &name)
virtual octave_value convert_to_str(bool pad=false, bool force=false, char type='"') const
void load_members(member_map &out) const
virtual Octave_map map_value() const
std::pair< const swig_type_info *, cpp_ptr > type_ptr_pair
static octave_value dispatch_binary_op(const octave_base_value &lhs, const octave_base_value &rhs, const char *op_name)
static octave_value dispatch_unary_op(const octave_base_value &x, const char *op_name)
octave_swig_type(const octave_swig_type &x)
swig_member_const_iterator swig_members_begin()
std::map< std::string, member_value_pair > member_map
member_value_pair * find_member(const std::string &name, bool insert_if_not_found)
virtual bool load_binary(std::istream &is, bool swap, oct_mach_info::float_format fmt)
virtual bool save_ascii(std::ostream &os)
octave_value subsasgn(const std::string &ops, const std::list< octave_value_list > &idx, const octave_value &rhs)
swig_member_const_iterator swig_members_end()
octave_base_value * empty_clone() const
dim_vector dims(void) const
octave_base_value * clone() const
bool dispatch_binary_op(const std::string &symbol, const octave_base_value &rhs, octave_value &ret) const
virtual bool load_ascii(std::istream &is)
virtual bool save_binary(std::ostream &os, bool &save_as_floats)
octave_value_list member_invoke(member_value_pair *m, const octave_value_list &args, int nargout)
virtual bool is_object() const
const char * help_text() const
void assign(const std::string &name, const swig_octave_member *m)
octave_swig_type & operator=(const octave_swig_type &rhs)
octave_swig_type(void *_ptr=0, const swig_type_info *_type=0, int _own=0, bool _always_static=false)
octave_value_list member_deref(member_value_pair *m, const octave_value_list &args)
virtual string_vector map_keys() const
void assign(const std::string &name, const octave_value &ov)
virtual bool is_string() const
static bool dispatch_global_op(const std::string &symbol, const octave_value_list &args, octave_value &ret)
std::vector< type_ptr_pair > types
virtual double scalar_value(bool frc_str_conv=false) const
virtual octave_value_list subsref(const std::string &ops, const std::list< octave_value_list > &idx, int nargout)
virtual std::string string_value(bool force=false) const
static octave_value make_value_hack(const octave_base_value &x)
void load_members(const swig_octave_class *c, member_map &out) const
int cast(void **vptr, swig_type_info *type, int *own, int flags)
std::string swig_type_name() const
bool dispatch_index_op(const std::string &symbol, const octave_value_list &rhs, octave_value_list &ret) const
bool dispatch_unary_op(const std::string &symbol, octave_value &ret) const
std::pair< const swig_octave_member *, octave_value > member_value_pair
void merge(octave_swig_type &rhs)
member_map::const_iterator swig_member_const_iterator
void print(std::ostream &os, bool pr_as_read_syntax=false) const
const swig_type_info * construct_type
const swig_type_info * find_base(const std::string &name, const swig_type_info *base)
virtual octave_value subsref(const std::string &ops, const std::list< octave_value_list > &idx)
virtual bool is_map() const
virtual octave_value convert_to_str_internal(bool pad, bool force, char type) const
SWIGRUNTIME octave_swig_type * swig_value_deref(octave_value ov)
SWIGRUNTIME octave_base_value * swig_value_ref(octave_swig_type *ost)
#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 c_plcont(PLFLT_MATRIX f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, PLFLT_VECTOR clevel, PLINT nlevel, PLTRANSFORM_callback pltr, PLPointer pltr_data)
Definition plcont.c:508
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
static PLFLT value(double n1, double n2, double hue)
Definition plctrl.c:1219
void c_plimagefr(PLFLT_MATRIX idata, PLINT nx, PLINT ny, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT zmin, PLFLT zmax, PLFLT valuemin, PLFLT valuemax, PLTRANSFORM_callback pltr, PLPointer pltr_data)
Definition plimage.c:238
void c_plcolorbar(PLFLT *p_colorbar_width, PLFLT *p_colorbar_height, PLINT opt, PLINT position, PLFLT x, PLFLT y, PLFLT x_length, PLFLT y_length, PLINT bg_color, PLINT bb_color, PLINT bb_style, PLFLT low_cap_color, PLFLT high_cap_color, PLINT cont_color, PLFLT cont_width, PLINT n_labels, PLINT_VECTOR label_opts, PLCHAR_MATRIX labels, PLINT n_axes, PLCHAR_MATRIX axis_opts, PLFLT_VECTOR ticks, PLINT_VECTOR sub_ticks, PLINT_VECTOR n_values, PLFLT_MATRIX values)
Definition pllegend.c:1525
void c_plsurf3d(PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_MATRIX z, PLINT nx, PLINT ny, PLINT opt, PLFLT_VECTOR clevel, PLINT nlevel)
Definition plot3d.c:326
void c_plmeshc(PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_MATRIX z, PLINT nx, PLINT ny, PLINT opt, PLFLT_VECTOR clevel, PLINT nlevel)
Definition plot3d.c:150
void c_plot3dcl(PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_MATRIX z, PLINT nx, PLINT ny, PLINT opt, PLFLT_VECTOR clevel, PLINT nlevel, PLINT indexxmin, PLINT indexxmax, PLINT_VECTOR indexymin, PLINT_VECTOR indexymax)
Definition plot3d.c:921
void c_plsurf3dl(PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_MATRIX z, PLINT nx, PLINT ny, PLINT opt, PLFLT_VECTOR clevel, PLINT nlevel, PLINT indexxmin, PLINT indexxmax, PLINT_VECTOR indexymin, PLINT_VECTOR indexymax)
Definition plot3d.c:389
void c_plmesh(PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_MATRIX z, PLINT nx, PLINT ny, PLINT opt)
Definition plot3d.c:118
void c_plot3d(PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_MATRIX z, PLINT nx, PLINT ny, PLINT opt, PLBOOL side)
Definition plot3d.c:860
void c_plot3dc(PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_MATRIX z, PLINT nx, PLINT ny, PLINT opt, PLFLT_VECTOR clevel, PLINT nlevel)
Definition plot3d.c:883
PLINT plTranslateCursor(PLGraphicsIn *plg)
Definition plpage.c:259
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 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 PL_MAXKEY
Definition plplot.h:408
#define plszax
Definition plplot.h:854
#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 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
void my_plsurf3d(const PLFLT *x, const PLFLT *y, const PLFLT *z, PLINT nx, PLINT ny, PLINT opt, const PLFLT *clevel, PLINT nlevel)
void my_plgriddata(const PLFLT *x, const PLFLT *y, const PLFLT *z, int npts, const PLFLT *xg, int nptsx, const PLFLT *yg, int nptsy, PLFLT *zg, int type, PLFLT data)
static const char * _wrap_plszax_texinfo
static const char * _wrap_plstring3_texinfo
static const char * _wrap_plvsta_texinfo
static const char * _wrap_plscmap1_texinfo
static const char * _wrap_plbox3_texinfo
void my_plimagefrx(const PLFLT *a, PLINT nx, PLINT ny, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT zmin, PLFLT zmax, PLFLT valuemin, PLFLT valuemax, PLFLT *tr)
static const char * _wrap_plmeshc_texinfo
SWIGINTERN bool SWIG_Octave_LoadModule(std::string name)
void my_plimagefr2(const PLFLT *a, PLINT nx, PLINT ny, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT zmin, PLFLT zmax, PLFLT valuemin, PLFLT valuemax, const PLFLT *xg, const PLFLT *yg)
static const char * _wrap_plvpas_texinfo
static const char * _wrap_pladv_texinfo
static const char * _wrap_plcalc_world_texinfo
static const char * _wrap_plmkstrm_texinfo
#define SWIG_global_name
SWIGRUNTIME void SWIG_Octave_SetGlobalValue(std::string name, const octave_value &value)
void my_plshades2(const PLFLT *a, PLINT nx, PLINT ny, PLFLT left, PLFLT right, PLFLT bottom, PLFLT top, const PLFLT *clevel, PLINT nlevel, PLINT fill_width, PLINT cont_color, PLINT cont_width, PLINT rectangular, const PLFLT *xg, const PLFLT *yg)
void my_plot3dc(const PLFLT *x, const PLFLT *y, const PLFLT *z, PLINT nx, PLINT ny, PLINT opt, const PLFLT *clevel, PLINT nlevel)
static const char * _wrap_pltimefmt_texinfo
static const char * _wrap_plend_texinfo
static const swig_type_info * swig_PLGraphicsIn_base[]
static const char * _wrap_plsvpa_texinfo
SWIGRUNTIME void SWIG_InstallBinaryOps(int tid1, int tid2)
SWIGINTERN int SWIG_AsVal_long(const octave_value &ov, long *val)
octave_function * fcnCoordTrans
static const char * _wrap_plgdev_texinfo
static const char * _wrap_plcol0_texinfo
static const char * _wrap_plfamadv_texinfo
SWIGRUNTIME void SWIG_InstallUnaryOps(int tid)
SWIGINTERN bool SWIG_Octave_InstallFunction(octave_function *octloadfcn, std::string name)
static const char * _wrap_plmeridians_texinfo
static const char * _wrap_plsdidev_texinfo
DEFINE_OCTAVE_ALLOCATOR(octave_swig_ref)
static const char * _wrap_plflush_texinfo
static void _cvt_double_to(FLOAT *out_arr, double *in_arr, unsigned n_el)
static const char * _wrap_plsfnam_texinfo
#define SWIG_CheckState(r)
static void _cvt_to_double(FLOAT *arr, double *d_arr, unsigned n_el)
#define f2c(f, ff, nx, ny)
static const char * _wrap_plot3dc_texinfo
static const char * _wrap_plptex_texinfo
SWIGRUNTIME int SWIG_Octave_ConvertPtrAndOwn(octave_value ov, void **ptr, swig_type_info *type, int flags, int *own)
static const char * _wrap_plbin_texinfo
SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb)
void my_plsurf3dl(const PLFLT *x, const PLFLT *y, const PLFLT *z, PLINT nx, PLINT ny, PLINT opt, const PLFLT *clevel, PLINT nlevel, PLINT indexxmin, PLINT indexxmax, const PLINT *indexymin, const PLINT *indexymax)
static const char * _wrap_plsmaj_texinfo
void my_plmesh(const PLFLT *x, const PLFLT *y, const PLFLT *z, PLINT nx, PLINT ny, PLINT opt)
static const char * _wrap_plscolor_texinfo
void my_plimage(const PLFLT *a, PLINT nx, PLINT ny, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT zmin, PLFLT zmax, PLFLT dxmin, PLFLT dxmax, PLFLT dymin, PLFLT dymax)
struct swig_cast_info swig_cast_info
static const char * _wrap_plfill_texinfo
static const struct swig_octave_member swig_globals[]
static const char * _wrap_pllightsource_texinfo
SWIGRUNTIME int SWIG_TypeNameComp(const char *f1, const char *l1, const char *f2, const char *l2)
static const char * _wrap_plscmap0_texinfo
static const char *const swig_typequery_usage
SWIGINTERN size_t SWIG_strnlen(const char *s, size_t maxlen)
std::string nameCoordTrans
static const char * _wrap_plgcol0a_texinfo
static const char * _wrap_plSetOpt_texinfo
static const char * _wrap_plgcmap1_range_texinfo
static const char * _wrap_plarc_texinfo
SWIGRUNTIME octave_value_list octave_set_immutable(const octave_value_list &args, int nargout)
static const char * _wrap_plend1_texinfo
static const char * _wrap_plgcolbga_texinfo
void my_plcont1(const PLFLT *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, const PLFLT *clevel, PLINT nlevel, const PLFLT *xg, const PLFLT *yg)
static const char * _wrap_plprec_texinfo
void my_plot3d(const PLFLT *x, const PLFLT *y, const PLFLT *z, PLINT nx, PLINT ny, PLINT opt, PLINT side)
static const char *const SWIG_name_usage
static const char * _wrap_plgpage_texinfo
static const char * _wrap_plschr_texinfo
static int _arraylen(const octave_value &o_obj)
#define swig_unary_op(name)
static const char * _wrap_plsdiori_texinfo
SWIGRUNTIME unsigned int SWIG_Hash(const char *str, unsigned int len)
SWIGRUNTIMEINLINE octave_value SWIG_Octave_GetGlobalValue(std::string name)
static const char * _wrap_plsurf3d_texinfo
#define SWIG_OCTAVE_PREREQ(major, minor, patch)
static const char * _wrap_plgfnam_texinfo
static const char * _wrap_plenv0_texinfo
#define swigreg_binary_op(name)
static const char * _wrap_plenv_texinfo
#define SWIG_as_voidptrptr(a)
static const char * _wrap_plsym_texinfo
static const char * _wrap_plmapstring_texinfo
void my_plimagefr(const PLFLT *a, PLINT nx, PLINT ny, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT zmin, PLFLT zmax, PLFLT valuemin, PLFLT valuemax)
SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata)
SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
static const char * _wrap_plslabelfunc_texinfo
static const char * _wrap_plsfci_texinfo
SWIGRUNTIME char * SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz)
static const char * _wrap_plgchr_texinfo
#define SWIG_AddCast(r)
static const char * _wrap_plstripd_texinfo
static const char * _wrap_plsori_texinfo
static const char * _wrap_plsdiplt_texinfo
#define SWIG_name_d
static const char * _wrap_plsfam_texinfo
static const char * _wrap_plgver_texinfo
static const char * _wrap_plstransform_texinfo
SWIGRUNTIMEINLINE void SWIG_Octave_SetConstant(octave_swig_type *module_ns, const std::string &name, const octave_value &ov)
std::string nameMapForm
#define SWIG_exception_fail(code, msg)
#define SWIG_OCTAVE_BOUND_FUNC(func, args)
static const char * _wrap_plgdiori_texinfo
static const char * _wrap_plbtime_texinfo
static const char * _wrap_plstripc_texinfo
static const char * _wrap_plgfam_texinfo
SWIGRUNTIME const char * SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name)
static const char * _wrap_plseed_texinfo
static const char * _wrap_plerrx_texinfo
void my_plvect(const PLFLT *u, const PLFLT *v, PLINT nx, PLINT ny, PLFLT scale, PLFLT *tr)
static int _n_dims(const octave_value &o_obj)
static const char * _wrap_plot3d_texinfo
static const char * _wrap_plmtex_texinfo
static const char * _wrap_plmap_texinfo
#define swigreg_unary_op(name)
SWIGRUNTIME octave_value SWIG_Octave_NewPackedObj(void *ptr, size_t sz, swig_type_info *type)
SWIGRUNTIME octave_value SWIG_Octave_NewPointerObj(void *ptr, swig_type_info *type, int flags)
static const char * _wrap_plrgbhls_texinfo
static const char * _wrap_plrandd_texinfo
static const char * _wrap_plmesh_texinfo
static const char * _wrap_plsurf3dl_texinfo
static const char * _wrap_plmapfill_texinfo
static const char * _wrap_plaxes_texinfo
static const char * _wrap_plscmap0n_texinfo
DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA(octave_swig_ref, "swig_ref", "swig_ref")
static const char * _wrap_plsesc_texinfo
static const char * _wrap_plgvpw_texinfo
static const char * _wrap_plgfont_texinfo
static const char * _wrap_plshades_texinfo
static const char * _wrap_plscmap1n_texinfo
static const char * _wrap_plstyl_texinfo
static const char * _wrap_plwind_texinfo
#define SWIG_POINTER_RELEASE
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)
void my_plcont0(const PLFLT *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, const PLFLT *clevel, PLINT nlevel)
SWIGINTERN void SWIG_Octave_Raise(const octave_value &obj, const char *type)
static const char * _wrap_plsdiplz_texinfo
static const char * _wrap_pllsty_texinfo
static const char *const subclass_usage
SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata)
SWIGINTERN int SWIG_AsVal_char(octave_value obj, char *val)
static const char * _wrap_plgstrm_texinfo
static const char * _wrap_plconfigtime_texinfo
#define SWIG_POINTER_CLEAR
static const char * _wrap_plssub_texinfo
static const char * _wrap_plgzax_texinfo
SWIGRUNTIME int SWIG_TypeCmp(const char *nb, const char *tb)
SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz)
static const char * _wrap_plline_texinfo
void my_plshade(const PLFLT *a, PLINT nx, PLINT ny, const PLFLT *defined, PLFLT left, PLFLT right, PLFLT bottom, PLFLT top, PLFLT shade_min, PLFLT shade_max, PLINT sh_cmap, PLFLT sh_color, PLINT sh_width, PLINT min_color, PLINT min_width, PLINT max_color, PLINT max_width, PLINT rectangular, PLFLT *tr)
static const char *const swig_type_usage
static const char * _wrap_plshade_texinfo
static const char * _wrap_pl_setcontlabelformat_texinfo
static const char *const swig_exit_usage
static const char * _wrap_plsdev_texinfo
static const char * _wrap_plgxax_texinfo
static const char * _wrap_plinit_texinfo
plgriddata(x, y, z, xg, yg, type, data)\n\ \n\ \n\ This function is used in example 21.\n\ \n\ \n\ \n\ SYNOPSIS:\n\ \n\ plgriddata(x, y, z, npts, xg, nptsx, yg, nptsy, zg, type, data)\n\ \n\ ARGUMENTS:\n\ \n\ x(PLFLT_VECTOR, input) : The input x vector.\n\ \n\ y(PLFLT_VECTOR, input) : The input y vector.\n\ \n\ z(PLFLT_VECTOR, input) : The input z vector. Each triple x[i],\n\ y[i], z[i] represents one data sample coordinate.\n\ \n\ npts(PLINT, input) : The number of data samples in the x, y and z\n\ vectors.\n\ \n\ xg(PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n\ in the x direction. Usually xg has nptsx equally spaced values\n\ from the minimum to the maximum values of the x input vector.\n\ \n\ nptsx(PLINT, input) : The number of points in the xg vector.\n\ \n\ yg(PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n\ in the y direction. Similar to the xg parameter.\n\ \n\ nptsy(PLINT, input) : The number of points in the yg vector.\n\ \n\ zg(PLFLT_NC_MATRIX, output) : The matrix of interpolated results\n\ where data lies in the grid specified by xg and yg. Therefore the\n\ zg matrix must be dimensioned\n\ nptsx by\n\ nptsy.\n\ \n\ type(PLINT, input) : The type of grid interpolation algorithm to\n\ use, which can be:GRID_CSA:Bivariate Cubic Spline approximation\n\ GRID_DTLI:Delaunay Triangulation Linear Interpolation\n\ GRID_NNI:Natural Neighbors Interpolation\n\ GRID_NNIDW:Nearest Neighbors Inverse Distance Weighted\n\ GRID_NNLI:Nearest Neighbors Linear Interpolation\n\ GRID_NNAIDW: Nearest Neighbors Around Inverse Distance\n\ Weighted\n\ For details of the algorithms read the source file plgridd.c.\n\ \n\ data(PLFLT, input) : Some gridding algorithms require extra data,\n\ which can be specified through this argument. Currently, for\n\ algorithm:GRID_NNIDW, data specifies the number of neighbors to\n\ use, the lower the value, the noisier(more local) the\n\ approximation is.\n\ GRID_NNLI, data specifies what a thin triangle is, in the\n\ range[1. .. 2.]. High values enable the usage of very thin\n\ triangles for interpolation, possibly resulting in error in\n\ the approximation.\n\ GRID_NNI, only weights greater than data will be accepted. If\n\ 0, all weights will be accepted.\n\ " zg
static const char * _wrap_plpoin3_texinfo
static const char * _wrap_plfontld_texinfo
static const char * _wrap_plpsty_texinfo
static const char * _wrap_plmapline_texinfo
std::string nameLabelFunc
static const char * _wrap_plscompression_texinfo
static const char * _wrap_pl_setcontlabelparam_texinfo
static const char * _wrap_plstart_texinfo
static const char * _wrap_plscol0_texinfo
void my_plvect2(const PLFLT *u, const PLFLT *v, PLINT nx, PLINT ny, PLFLT scale, const PLFLT *xg, const PLFLT *yg)
#define SWIG_DEFUN(cname, wname, doc)
SWIGINTERN int SWIG_AsCharPtrAndSize(octave_value ov, char **cptr, size_t *psize, int *alloc)
static const char * _wrap_plgdiplt_texinfo
static const char * _wrap_plcpstrm_texinfo
SWIGINTERN int SWIG_AsVal_double(const octave_value &ov, double *val)
SWIGINTERNINLINE octave_value SWIG_From_unsigned_SS_long(unsigned long value)
static const char * _wrap_plvect_texinfo
void my_plcolorbar(PLFLT *p_colorbar_width, PLFLT *p_colorbar_height, PLINT opt, PLINT position, PLFLT x, PLFLT y, PLFLT x_length, PLFLT y_length, PLINT bg_color, PLINT bb_color, PLINT bb_style, PLFLT low_cap_color, PLFLT high_cap_color, PLINT cont_color, PLFLT cont_width, PLINT n_labels, const PLINT *label_opts, const char **label, PLINT n_axes, const char **axis_opts, const PLFLT *ticks, const PLINT *sub_ticks, const PLINT *n_values, const PLFLT *a)
SWIGINTERN int SWIG_AsVal_unsigned_SS_int(octave_value obj, unsigned int *val)
static const char * _wrap_plscolbga_texinfo
static const char * _wrap_plscol0a_texinfo
void labelfunc_octave(PLINT axis, PLFLT value, char *label, PLINT length, PLPointer data)
octave_value_list(* octave_func)(const octave_value_list &, int)
static const char * _wrap_plscmap1a_texinfo
SWIGINTERNINLINE octave_value SWIG_FromCharPtrAndSize(const char *carray, size_t size)
void my_plstripc(PLINT *id, const char *xspec, const char *yspec, PLFLT xmin, PLFLT xmax, PLFLT xjump, PLFLT ymin, PLFLT ymax, PLFLT xlpos, PLFLT ylpos, PLBOOL y_ascl, PLBOOL acc, PLINT colbox, PLINT collab, const PLINT *colline, const PLINT *styline, const char *legline1, const char *legline2, const char *legline3, const char *legline4, const char *labx, const char *laby, const char *labtop)
static int _dim(const octave_value &o_obj, int dim_idx)
void testppchar(PLINT nlegend, const PLINT *opt_array, const char **text)
void my_plot3dcl(const PLFLT *x, const PLFLT *y, const PLFLT *z, PLINT nx, PLINT ny, PLINT opt, const PLFLT *clevel, PLINT nlevel, PLINT indexxmin, PLINT indexxmax, const PLINT *indexymin, const PLINT *indexymax)
#define SWIG_op_prefix
static const char * _wrap_plgcol0_texinfo
SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
static const char * _wrap_plstar_texinfo
SWIGINTERN int SWIG_AsCharArray(octave_value obj, char *val, size_t size)
SWIGRUNTIME const char * SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name)
static const char * _wrap_plsmin_texinfo
static const char * _wrap_plglevel_texinfo
static const char * _wrap_plvpor_texinfo
void my_plshades1(const PLFLT *a, PLINT nx, PLINT ny, PLFLT left, PLFLT right, PLFLT bottom, PLFLT top, const PLFLT *clevel, PLINT nlevel, PLINT fill_width, PLINT cont_color, PLINT cont_width, PLINT rectangular, const PLFLT *xg, const PLFLT *yg)
SWIGRUNTIME void SWIG_Octave_SetModule(void *clientdata, swig_module_info *pointer)
octave_function * fcnLabelFunc
SWIGRUNTIME swig_module_info * SWIG_Octave_GetModule(void *clientdata)
static const char * _wrap_plgfci_texinfo
static const char * _wrap_plsfont_texinfo
SWIGINTERNINLINE octave_value SWIG_From_int(int value)
static const char * _wrap_pllegend_texinfo
SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty)
static const char * _wrap_plhlsrgb_texinfo
static const char * _wrap_plgvpd_texinfo
SWIGINTERN int SWIG_AsVal_int(octave_value obj, int *val)
static const char * _wrap_plsxax_texinfo
static const char * _wrap_plmtex3_texinfo
#define SWIG_POINTER_DISOWN
struct swig_type_info swig_type_info
SWIGRUNTIME char * SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz)
SWIGRUNTIME void SWIG_Octave_LinkGlobalValue(std::string name)
void my_plcont(const PLFLT *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, const PLFLT *clevel, PLINT nlevel, PLFLT *tr)
static const char *const swig_octave_prereq_usage
SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz)
void my_plshade2(const PLFLT *a, PLINT nx, PLINT ny, const char *defined, PLFLT left, PLFLT right, PLFLT bottom, PLFLT top, PLFLT shade_min, PLFLT shade_max, PLINT sh_cmap, PLFLT sh_color, PLINT sh_width, PLINT min_color, PLINT min_width, PLINT max_color, PLINT max_width, PLINT rectangular, const PLFLT *xg, const PLFLT *yg)
static const char * _wrap_plscmap1l_texinfo
static const char shade or gradient plots n n or n gradient plots(See pllegend for similar functionality for creating\n\ legends with discrete elements). The arguments of plcolorbar provide\n\ control over the location and size of the color bar as well as the\n\ location and characteristics of the elements(most of which are\n\ optional) within that color bar. The resulting color bar is clipped\n\ at the boundaries of the current subpage.(N.B. the adopted coordinate\n\ system used for some of the parameters is defined in the documentation\n\ of the position parameter.)\n\ \n\ Redacted form reads the desired grid location from the input vectors n xg[nptsx] and yg[nptsy]
static const char * _wrap_plfill3_texinfo
static const char * _wrap_plptex3_texinfo
octave_function * fcnMapForm
static const char * _wrap_pleop_texinfo
static const char * _wrap_pltext_texinfo
static const char * _wrap_plgyax_texinfo
static const char * _wrap_plbox_texinfo
static const char * _wrap_pllab_texinfo
static const char * _wrap_plspage_texinfo
static int my_plGetCursor(int *state, int *keysym, int *button, char *string, int *pX, int *pY, PLFLT *dX, PLFLT *dY, PLFLT *wX, PLFLT *wY, int *subwin)
SWIGRUNTIME swig_cast_info * SWIG_TypeCheckStruct(const swig_type_info *from, swig_type_info *ty)
static const char * _wrap_plsyax_texinfo
static const char * _wrap_plsdimap_texinfo
static const char * _wrap_plpoin_texinfo
static const char * _wrap_plspause_texinfo
SWIGINTERNINLINE octave_value SWIG_From_long(long value)
void my_plvect1(const PLFLT *u, const PLFLT *v, PLINT nx, PLINT ny, PLFLT scale, const PLFLT *xg, const PLFLT *yg)
SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type)
DEFUN_DLD(subclass, args, nargout, subclass_usage)
static const char * _wrap_plspal0_texinfo
SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty)
#define SWIG_ERROR_RELEASE_NOT_OWNED
static const char * _wrap_plclear_texinfo
#define SWIG_CAST_NEW_MEMORY
struct swig_module_info swig_module_info
static const char * _wrap_plxormod_texinfo
static const char * _wrap_plpath_texinfo
static const char * _wrap_plimagefr_texinfo
void xform(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
#define SWIG_ERROR
static const char * _wrap_pljoin_texinfo
static const char * _wrap_plwidth_texinfo
static const char * _wrap_plfont_texinfo
static const char * _wrap_plstripa_texinfo
static swig_octave_member swig_PLGraphicsIn_members[]
static const char * _wrap_plot3dcl_texinfo
static const char * _wrap_plparseopts_texinfo
static const char * _wrap_plgcolbg_texinfo
static const char * _wrap_plgspa_texinfo
static const char * _wrap_plpat_texinfo
static const char * _wrap_plline3_texinfo
#define swig_binary_op(name)
static const char * _wrap_plmaptex_texinfo
void my_plshade1(const PLFLT *a, PLINT nx, PLINT ny, const char *defined, PLFLT left, PLFLT right, PLFLT bottom, PLFLT top, PLFLT shade_min, PLFLT shade_max, PLINT sh_cmap, PLFLT sh_color, PLINT sh_width, PLINT min_color, PLINT min_width, PLINT max_color, PLINT max_width, PLINT rectangular, const PLFLT *xg, const PLFLT *yg)
static const char * _wrap_plstring_texinfo
static const char * _wrap_plgdidev_texinfo
static const char *const swig_this_usage
static const char * _wrap_plpoly3_texinfo
void my_plcont2(const PLFLT *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, const PLFLT *clevel, PLINT nlevel, const PLFLT *xg, const PLFLT *yg)
static int my_plTranslateCursor(PLFLT *x, PLFLT *y, PLFLT x_in, PLFLT y_in)
static const char * _wrap_plvasp_texinfo
SWIGRUNTIME octave_value_list * SWIG_Octave_AppendOutput(octave_value_list *ovl, const octave_value &ov)
SWIGRUNTIME void SWIG_InstallOps(int tid)
void mapform_octave(PLINT n, PLFLT *x, PLFLT *y)
static const char * _wrap_plw3d_texinfo
static const char * _wrap_plscmap1la_texinfo
static const char * _wrap_plbop_texinfo
void my_plimagefr1(const PLFLT *a, PLINT nx, PLINT ny, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT zmin, PLFLT zmax, PLFLT valuemin, PLFLT valuemax, const PLFLT *xg, const PLFLT *yg)
void ct_octave(PLFLT x, PLFLT y, PLFLT *xt, PLFLT *yt, PLPointer data)
static const char * _wrap_plssym_texinfo
void my_plshades(const PLFLT *a, PLINT nx, PLINT ny, PLFLT left, PLFLT right, PLFLT bottom, PLFLT top, const PLFLT *clevel, PLINT nlevel, PLINT fill_width, PLINT cont_color, PLINT cont_width, PLINT rectangular)
SWIGRUNTIME int SWIG_Octave_ConvertPacked(const octave_value &ov, void *ptr, size_t sz, swig_type_info *type)
static const char * _wrap_plgra_texinfo
static const char * _wrap_plhist_texinfo
#define SWIG_IsOK(r)
static const char * _wrap_plspal1_texinfo
static const char * _wrap_plscmap0a_texinfo
static const char * _wrap_plcont_texinfo
static const char * _wrap_plctime_texinfo
static const char * _wrap_plscolbg_texinfo
void my_plcont2p(const PLFLT *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, const PLFLT *clevel, PLINT nlevel, const PLFLT *xg, const PLFLT *yg)
static const char * _wrap_plcol1_texinfo
void my_plshadesx(const PLFLT *a, PLINT nx, PLINT ny, PLFLT left, PLFLT right, PLFLT bottom, PLFLT top, const PLFLT *clevel, PLINT nlevel, PLINT fill_width, PLINT cont_color, PLINT cont_width, PLINT rectangular, PLFLT *tr)
static const char * _wrap_plreplot_texinfo
static const char * _wrap_plsvect_texinfo
static const char * _wrap_plerry_texinfo
#define SWIG_OK
void my_plmeshc(const PLFLT *x, const PLFLT *y, const PLFLT *z, PLINT nx, PLINT ny, PLINT opt, const PLFLT *clevel, PLINT nlevel)
SWIGINTERN int SWIG_AsVal_unsigned_SS_long(const octave_value &ov, unsigned long *val)
static const char * _wrap_plgradient_texinfo
static const char * _wrap_plGetCursor_texinfo
static const char * _wrap_plscmap1_range_texinfo
SWIGINTERNINLINE octave_value SWIG_From_unsigned_SS_int(unsigned int value)
SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory)
SWIGINTERN PyObject * _wrap_plstransform(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgcol0a(PyObject *self, PyObject *args)
#define SWIG_Error(code, msg)
SWIGINTERN PyObject * _wrap_plgchr(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcolorbar(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstripc(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)
SWIGINTERN PyObject * _wrap_plvpas(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsdiori(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plssub(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmaptex(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsdiplt(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscolbg(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plshades(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsdimap(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plerrx(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plprec(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap0n(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plfill3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsurf3d(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgfont(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plvsta(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plschr(PyObject *self, PyObject *args)
#define SWIG_ErrorType(code)
SWIGINTERN PyObject * _wrap_plstart(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgvpw(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgyax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap1la(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plbin(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcol1(PyObject *self, PyObject *args)
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)
SWIGINTERN PyObject * _wrap_plgradient(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pladv(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsdev(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgxax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsfont(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsdidev(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pl_setcontlabelformat(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plptex3(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)
SWIGINTERN PyObject * _wrap_plline(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap1(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plvasp(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap0a(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsmaj(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscolor(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plrgbhls(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plssym(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plptex(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstar(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plwind(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstyl(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgcompression(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsmin(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgcmap1_range(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgcol0(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap1_range(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscol0a(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plarc(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsfam(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap1l(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsvpa(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgvpd(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgdev(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstripd(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plw3d(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pllab(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcpstrm(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plvpor(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstring3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscol0(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmapline(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgfnam(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plpsty(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plbox3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmesh(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plszax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plinit(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plpoly3(PyObject *self, PyObject *args)
void *(* swig_converter_func)(void *, int *)
SWIGINTERN PyObject * _wrap_plsvect(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmapfill(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap0(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plparseopts(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)
SWIGINTERN PyObject * _wrap_plglevel(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgriddata(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plpath(PyObject *self, PyObject *args)
#define SWIG_From_double
SWIGINTERN PyObject * _wrap_plgspa(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsesc(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plline3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pllegend(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsxax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgfci(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pleop(PyObject *self, PyObject *args)
struct swig_type_info swig_type_info
SWIGINTERN PyObject * _wrap_plgdidev(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgstrm(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plflush(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgzax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcont(PyObject *self, PyObject *args)
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)
SWIGINTERN PyObject * _wrap_plbop(PyObject *self, PyObject *args)
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)
SWIGINTERN PyObject * _wrap_plpoin3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plimagefr(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsstrm(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plspage(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscolbga(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pltimefmt(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmkstrm(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcol0(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plenv(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsurf3dl(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plenv0(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plfont(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plslabelfunc(PyObject *self, PyObject *args)
struct swig_module_info swig_module_info
SWIGINTERN PyObject * _wrap_plgcolbg(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscompression(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmeridians(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)
SWIGINTERN PyObject * _wrap_plgcolbga(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmap(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plhist(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsyax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plpat(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmeshc(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plfamadv(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_plconfigtime(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstring(PyObject *self, PyObject *args)
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)
SWIGINTERN PyObject * _wrap_plgdiori(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pllightsource(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsdiplz(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plbtime(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pl_setcontlabelparam(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plbox(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap1n(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plaxes(PyObject *self, PyObject *args)
SWIGRUNTIME void SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata)
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)
#define SWIG_TypeQuery(name)
static int _wrap_plend(lua_State *L)
#define SWIG_POINTER_OWN
#define SWIG_SyntaxError
static swig_cast_info _swigc__p_int[]
SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb)
#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 *)
#define SWIG_ConvertPtr(L, idx, ptr, type, flags)
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)
SWIGRUNTIME unsigned int SWIG_Hash(const char *str, unsigned int len)
#define SWIGRUNTIME
#define SWIG_RUNTIME_VERSION
#define SWIG_OLDOBJ
SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata)
SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
#define SWIG_ValueError
static int _wrap_new_PLGraphicsIn(lua_State *L)
#define SWIG_AddCast(r)
static int _wrap_PLGraphicsIn_dX_get(lua_State *L)
#define SWIG_IsNewObj(r)
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 const char * swig_PLGraphicsIn_base_names[]
static int _wrap_PLGraphicsIn_state_set(lua_State *L)
static PLINT Ylen
static swig_type_info _swigt__p_double
#define SWIG_SetModule(clientdata, pointer)
#define SWIG_INIT_CLIENT_DATA_TYPE
static int _wrap_PLGraphicsIn_string_get(lua_State *L)
static swig_type_info _swigt__p_p_char
static int _wrap_plend1(lua_State *L)
#define SWIGTYPE_p_int
#define SWIG_check_num_args(func_name, a, b)
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)
PLINT(* defined_func)(PLFLT, PLFLT)
#define SWIG_NewPointerObj(L, ptr, type, owner)
#define SWIGINTERN
static int _wrap_PLGraphicsIn_keysym_set(lua_State *L)
SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
static int _wrap_PLGraphicsIn_dY_get(lua_State *L)
#define SWIG_ArgError(r)
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
struct swig_type_info swig_type_info
static swig_type_info _swigt__p_PLGraphicsIn
#define SWIG_IsTmpObj(r)
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
#define SWIG_DelNewMask(r)
static int _wrap_PLGraphicsIn_dX_set(lua_State *L)
SWIGINTERN void SWIG_CastHashSort(swig_cast_info *cast, int size)
#define SWIG_GetModule(clientdata)
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
SWIGRUNTIME void SWIG_PropagateClientData(void)
static swig_cast_info _swigc__p_f_int_double_p_char_int_p_void__void[]
static int _wrap_plSetUsage(lua_State *L)
#define SWIG_init_user
SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty)
static int _wrap_PLGraphicsIn_pX_set(lua_State *L)
#define SWIG_TYPE_TABLE_NAME
static swig_type_info _swigt__p_unsigned_int
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
#define SWIGTYPE_p_p_char
static swig_type_info _swigt__p_char
#define SWIG_OverflowError
#define SWIG_IsOK(r)
void(* fill_func)(PLINT, const PLFLT *, const PLFLT *)
#define SWIG_IndexError
static swig_lua_class _wrap_class_PLGraphicsIn
static int _wrap_PLGraphicsIn_dY_set(lua_State *L)
#define SWIG_OK
static int _wrap_PLGraphicsIn_wY_set(lua_State *L)
#define SWIGINTERNINLINE
#define SWIGRUNTIMEINLINE
SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory)
void c_plshades(PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT_VECTOR clevel, PLINT nlevel, PLFLT fill_width, PLINT cont_color, PLFLT cont_width, PLFILL_callback fill, PLINT rectangular, PLTRANSFORM_callback pltr, PLPointer pltr_data)
Definition plshade.c:216
void c_plshade(PLFLT_MATRIX a, PLINT nx, PLINT ny, PLDEFINED_callback defined, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT shade_min, PLFLT shade_max, PLINT sh_cmap, PLFLT sh_color, PLFLT sh_width, PLINT min_color, PLFLT min_width, PLINT max_color, PLFLT max_width, PLFILL_callback fill, PLINT rectangular, PLTRANSFORM_callback pltr, PLPointer pltr_data)
Definition plshade.c:352
void c_plstripc(PLINT *id, PLCHAR_VECTOR xspec, PLCHAR_VECTOR yspec, PLFLT xmin, PLFLT xmax, PLFLT xjump, PLFLT ymin, PLFLT ymax, PLFLT xlpos, PLFLT ylpos, PLINT y_ascl, PLINT acc, PLINT colbox, PLINT collab, PLINT_VECTOR colline, PLINT_VECTOR styline, PLCHAR_MATRIX legline, PLCHAR_VECTOR labx, PLCHAR_VECTOR laby, PLCHAR_VECTOR labtop)
Definition plstripc.c:66
void c_plvect(PLFLT_MATRIX u, PLFLT_MATRIX v, PLINT nx, PLINT ny, PLFLT scale, PLTRANSFORM_callback pltr, PLPointer pltr_data)
Definition plvect.c:261
static int text
Definition ps.c:77
char string[PL_MAXKEY]
Definition plplot.h:440
PLFLT wX
Definition plplot.h:443
PLFLT wY
Definition plplot.h:443
PLINT subwindow
Definition plplot.h:439
PLFLT dY
Definition plplot.h:442
unsigned int state
Definition plplot.h:436
unsigned int keysym
Definition plplot.h:437
PLFLT dX
Definition plplot.h:442
unsigned int button
Definition plplot.h:438
PLINT nx
Definition plplot.h:521
PLFLT_NC_MATRIX xg
Definition plplot.h:520
PLINT ny
Definition plplot.h:521
PLFLT_NC_MATRIX yg
Definition plplot.h:520
PLFLT_NC_FE_POINTER xg
Definition plplot.h:508
PLFLT_NC_FE_POINTER yg
Definition plplot.h:508
PLINT nx
Definition plplot.h:509
PLINT ny
Definition plplot.h:509
octave_value operator*() const
const octave_value_list & ovl
octave_value_ref(const octave_value_list &_ovl, int _j)
swig_type_info * type
struct swig_cast_info * next
swig_converter_func converter
swig_type_info ** types
swig_cast_info ** cast_initial
swig_type_info ** type_initial
struct swig_module_info * next
const swig_octave_member * members
const swig_type_info ** base
swig_dycast_func dcast
struct swig_cast_info * cast
static tclMatrixXtnsnDescr * head
Definition tclMatrix.c:460
static Tcl_Interp * interp
Definition tkMain.c:120
static const char * name
Definition tkMain.c:135