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.5.0
4 *
5 * Do not make changes to this file unless you know what you are doing - modify
6 * the SWIG interface file instead.
7 * ----------------------------------------------------------------------------- */
8
9
10#define SWIG_VERSION 0x040500
11#define 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) || defined (__clang__)
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#define SWIG_QUOTE_STRING(x) #x
149#define SWIG_STRINGIFY(x) SWIG_QUOTE_STRING(x)
150
151/* -----------------------------------------------------------------------------
152 * swigcompat.swg
153 *
154 * Macros to provide support compatibility with older C and C++ standards.
155 *
156 * Note that SWIG expects __cplusplus to be defined to the appropriate C++ standard.
157 * MSVC users are urged to check and examine the /Zc:__cplusplus compiler option.
158 * See https://learn.microsoft.com/en-us/cpp/build/reference/zc-cplusplus.
159 * ----------------------------------------------------------------------------- */
160
161/* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF
162 * if you're missing it.
163 */
164#if ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) || \
165 (defined __cplusplus && __cplusplus >= 201103L) || \
166 defined SWIG_HAVE_SNPRINTF) && \
167 !defined SWIG_NO_SNPRINTF
168# define SWIG_snprintf(O,S,F,A) snprintf(O,S,F,A)
169# define SWIG_snprintf2(O,S,F,A,B) snprintf(O,S,F,A,B)
170#else
171/* Fallback versions ignore the buffer size, but most of our uses either have a
172 * fixed maximum possible size or dynamically allocate a buffer that's large
173 * enough.
174 */
175# define SWIG_snprintf(O,S,F,A) sprintf(O,F,A)
176# define SWIG_snprintf2(O,S,F,A,B) sprintf(O,F,A,B)
177#endif
178
179//
180// This header includes all C++ headers required for generated Octave wrapper code.
181// Using a single header file allows pre-compilation of Octave headers, as follows:
182// * Check out this header file:
183// swig -octave -co octheaders.hpp
184// * Pre-compile header file into octheaders.hpp.gch:
185// g++ -c ... octheaders.hpp
186// * Use pre-compiled header file:
187// g++ -c -include octheaders.hpp ...
188//
189
190#if !defined(SWIG_OCTAVE_OCTHEADERS_HPP)
191#define SWIG_OCTAVE_OCTHEADERS_HPP
192
193// Required C headers
194#include <assert.h>
195
196// Required C++ headers
197#include <cstdlib>
198#include <climits>
199#include <iostream>
200#include <exception>
201#include <functional>
202#include <complex>
203#include <string>
204#include <vector>
205#include <map>
206
207// Minimal headers to define Octave version
208#include <octave/oct.h>
209#include <octave/version.h>
210
211// Macro for enabling features which require Octave version >= major.minor.patch
212// - Use (OCTAVE_PATCH_VERSION + 0) to handle both '<digit>' (released) and '<digit>+' (in development) patch numbers
213#define SWIG_OCTAVE_PREREQ(major, minor, patch) \
214 ( (OCTAVE_MAJOR_VERSION<<16) + (OCTAVE_MINOR_VERSION<<8) + (OCTAVE_PATCH_VERSION + 0) >= ((major)<<16) + ((minor)<<8) + (patch) )
215
216// Required Octave headers
217#include <octave/Cell.h>
218#include <octave/dynamic-ld.h>
219#include <octave/oct-env.h>
220#include <octave/oct-map.h>
221#include <octave/ov-scalar.h>
222#include <octave/ov-fcn-handle.h>
223#include <octave/parse.h>
224#include <octave/interpreter.h>
225#include <octave/unwind-prot.h>
226#include <octave/call-stack.h>
227
228#endif // !defined(SWIG_OCTAVE_OCTHEADERS_HPP)
229
230/* -----------------------------------------------------------------------------
231 * swigrun.swg
232 *
233 * This file contains generic C API SWIG runtime support for pointer
234 * type checking.
235 * ----------------------------------------------------------------------------- */
236
237/* This should only be incremented when either the layout of swig_type_info changes,
238 or for whatever reason, the runtime changes incompatibly */
239#define SWIG_RUNTIME_VERSION "5"
240
241/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
242#ifdef SWIG_TYPE_TABLE
243# define SWIG_TYPE_TABLE_NAME SWIG_STRINGIFY(SWIG_TYPE_TABLE)
244#else
245# define SWIG_TYPE_TABLE_NAME
246#endif
247
248/*
249 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
250 creating a static or dynamic library from the SWIG runtime code.
251 In 99.9% of the cases, SWIG just needs to declare them as 'static'.
252
253 But only do this if strictly necessary, ie, if you have problems
254 with your compiler or suchlike.
255*/
256
257#ifndef SWIGRUNTIME
258# define SWIGRUNTIME SWIGINTERN
259#endif
260
261#ifndef SWIGRUNTIMEINLINE
262# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
263#endif
264
265/* Generic buffer size */
266#ifndef SWIG_BUFFER_SIZE
267# define SWIG_BUFFER_SIZE 1024
268#endif
269
270/* Flags for pointer conversions */
271#define SWIG_POINTER_DISOWN 0x1
272#define SWIG_CAST_NEW_MEMORY 0x2
273#define SWIG_POINTER_NO_NULL 0x4
274#define SWIG_POINTER_CLEAR 0x8
275#define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN)
276
277/* Flags for new pointer objects */
278#define SWIG_POINTER_OWN 0x1
279
280
281/*
282 Flags/methods for returning states.
283
284 The SWIG conversion methods, as ConvertPtr, return an integer
285 that tells if the conversion was successful or not. And if not,
286 an error code can be returned (see swigerrors.swg for the codes).
287
288 Use the following macros/flags to set or process the returning
289 states.
290
291 In old versions of SWIG, code such as the following was usually written:
292
293 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
294 // success code
295 } else {
296 //fail code
297 }
298
299 Now you can be more explicit:
300
301 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
302 if (SWIG_IsOK(res)) {
303 // success code
304 } else {
305 // fail code
306 }
307
308 which is the same really, but now you can also do
309
310 Type *ptr;
311 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
312 if (SWIG_IsOK(res)) {
313 // success code
314 if (SWIG_IsNewObj(res) {
315 ...
316 delete *ptr;
317 } else {
318 ...
319 }
320 } else {
321 // fail code
322 }
323
324 I.e., now SWIG_ConvertPtr can return new objects and you can
325 identify the case and take care of the deallocation. Of course that
326 also requires SWIG_ConvertPtr to return new result values, such as
327
328 int SWIG_ConvertPtr(obj, ptr,...) {
329 if (<obj is ok>) {
330 if (<need new object>) {
331 *ptr = <ptr to new allocated object>;
332 return SWIG_NEWOBJ;
333 } else {
334 *ptr = <ptr to old object>;
335 return SWIG_OLDOBJ;
336 }
337 } else {
338 return SWIG_BADOBJ;
339 }
340 }
341
342 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
343 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
344 SWIG errors code.
345
346 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
347 allows returning the 'cast rank', for example, if you have this
348
349 int food(double)
350 int fooi(int);
351
352 and you call
353
354 food(1) // cast rank '1' (1 -> 1.0)
355 fooi(1) // cast rank '0'
356
357 just use the SWIG_AddCast()/SWIG_CheckState()
358*/
359
360#define SWIG_OK (0)
361/* Runtime errors are < 0 */
362#define SWIG_ERROR (-1)
363/* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */
364/* Errors in range -100 to -199 are language specific errors defined in *errors.swg */
365/* Errors < -200 are generic runtime specific errors */
366#define SWIG_ERROR_RELEASE_NOT_OWNED (-200)
367
368#define SWIG_IsOK(r) (r >= 0)
369#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
370
371/* The CastRankLimit says how many bits are used for the cast rank */
372#define SWIG_CASTRANKLIMIT (1 << 8)
373/* The NewMask denotes the object was created (using new/malloc) */
374#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
375/* The TmpMask is for in/out typemaps that use temporary objects */
376#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
377/* The binary string mask denotes using string without unicode */
378#define SWIG_BINARYSTRMASK (SWIG_TMPOBJMASK << 1)
379/* Simple returning values */
380#define SWIG_BADOBJ (SWIG_ERROR)
381#define SWIG_OLDOBJ (SWIG_OK)
382#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
383#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
384#define SWIG_BINARYSTR (SWIG_OK | SWIG_BINARYSTRMASK)
385/* Check, add and del object mask methods */
386#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
387#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
388#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
389#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
390#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
391#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
392#define SWIG_AddBinaryStrMask(r) (SWIG_IsOK(r) ? (r | SWIG_BINARYSTRMASK) : r)
393#define SWIG_DelBinaryStrMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_BINARYSTRMASK) : r)
394#define SWIG_IsBinaryStr(r) (SWIG_IsOK(r) && (r & SWIG_BINARYSTRMASK))
395
396/* Cast-Rank Mode */
397#if defined(SWIG_CASTRANK_MODE)
398# ifndef SWIG_TypeRank
399# define SWIG_TypeRank unsigned long
400# endif
401# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
402# define SWIG_MAXCASTRANK (2)
403# endif
404# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
405# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
407 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
408}
410 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
411}
412#else /* no cast-rank mode */
413# define SWIG_AddCast(r) (r)
414# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
415#endif
416
417
418#include <string.h>
419
420#ifdef __cplusplus
421extern "C" {
422#endif
423
424typedef void *(*swig_converter_func)(void *, int *);
425typedef struct swig_type_info *(*swig_dycast_func)(void **);
426
427/* Structure to store information on one type */
428typedef struct swig_type_info {
429 const char *name; /* mangled name of this type */
430 const char *str; /* human readable name of this type */
431 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
432 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
433 void *clientdata; /* language specific type data */
434 int owndata; /* flag if the structure owns the clientdata */
436
437/* Structure to store a type and conversion function used for casting */
438typedef struct swig_cast_info {
439 swig_type_info *type; /* pointer to type that is equivalent to this type */
440 swig_converter_func converter; /* function to cast the void pointers */
441 struct swig_cast_info *next; /* pointer to next array of casts | pointer to cast hashed by value */
442 unsigned int value; /* index of the last valid element in the array | typename hash value */
444
445/* Structure used to store module information
446 * Each module generates one structure like this, and the runtime collects
447 * all of these structures and stores them in a circularly linked list.*/
448typedef struct swig_module_info {
449 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
450 size_t size; /* Number of types in this module */
451 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
452 swig_type_info **type_initial; /* Array of initially generated type structures */
453 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
454 void *clientdata; /* Language specific module data */
456
457/*
458 Compare two type names skipping the space characters, therefore
459 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
460
461 Return 0 when the two name types are equivalent, as in
462 strncmp, but skipping ' '.
463*/
464SWIGRUNTIME int
465SWIG_TypeNameComp(const char *f1, const char *l1,
466 const char *f2, const char *l2) {
467 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
468 while ((*f1 == ' ') && (f1 != l1)) ++f1;
469 while ((*f2 == ' ') && (f2 != l2)) ++f2;
470 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
471 }
472 return (int)((l1 - f1) - (l2 - f2));
473}
474
475/*
476 Check type equivalence in a name list like <name1>|<name2>|...
477 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
478*/
479SWIGRUNTIME int
480SWIG_TypeCmp(const char *nb, const char *tb) {
481 int equiv = 1;
482 const char* te = tb + strlen(tb);
483 const char* ne = nb;
484 while (equiv != 0 && *ne) {
485 for (nb = ne; *ne; ++ne) {
486 if (*ne == '|') break;
487 }
488 equiv = SWIG_TypeNameComp(nb, ne, tb, te);
489 if (*ne) ++ne;
490 }
491 return equiv;
492}
493
494/*
495 Check type equivalence in a name list like <name1>|<name2>|...
496 Return 0 if not equal, 1 if equal
497*/
498SWIGRUNTIME int
499SWIG_TypeEquiv(const char *nb, const char *tb) {
500 return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
501}
502
503/*
504 * Hash function for type name strings, based on maRushPrime1Hash (http://amsoftware.narod.ru/algo2.html)
505 */
506SWIGRUNTIME unsigned int SWIG_Hash(const char *str, unsigned int len) {
507 const unsigned char *data = (const unsigned char *)str;
508 unsigned int hash = len, i = 0, k;
509 int rem = (int)len;
510
511 while (rem >= (int)sizeof(unsigned int)) {
512 memcpy(&k, data, sizeof(unsigned int));
513 k += i++;
514 hash ^= k;
515 hash *= 171717;
516 data += sizeof(unsigned int);
517 rem -= (int)sizeof(unsigned int);
518 }
519
520 switch (rem) {
521 case 3: k = (unsigned int)(data[2]) << 16;
522 k |= (unsigned int)(data[1]) << 8;
523 k |= (unsigned int)(data[0]);
524 k += i++;
525 hash ^= k;
526 hash *= 171717;
527 break;
528 case 2: k = (unsigned int)(data[1]) << 8;
529 k |= (unsigned int)(data[0]);
530 k += i++;
531 hash ^= k;
532 hash *= 171717;
533 break;
534 case 1: k = (unsigned int)(data[0]);
535 k += i++;
536 hash ^= k;
537 hash *= 171717;
538 break;
539 }
540 return hash;
541}
542
543/*
544 Check the typename
545*/
547SWIG_TypeCheck(const char *c, swig_type_info *ty) {
548 static const unsigned int scan_threshold = 4;
549 if (ty) {
550 swig_cast_info *head = ty->cast;
551 unsigned int hash_value = 0;
552 int hashed = 0;
553
554 while (head) {
555
556 if (strcmp(head->type->name, c) == 0) {
557 return head;
558 }
559
560 if (head->value) {
561 swig_cast_info *iter;
562 swig_cast_info *last = head + head->value;
563 swig_cast_info *first = head + 1;
564 int search = 1;
565
566 if (!hashed) {
567 if (head->value < scan_threshold) {
568 for (iter = first; iter <= last; iter++) {
569 if (strcmp(iter->type->name, c) == 0) {
570 return iter;
571 }
572 }
573 search = 0;
574 } else {
575 hashed = 1;
576 hash_value = SWIG_Hash(c, (unsigned int)strlen(c));
577 }
578 }
579
580 if (search) {
581 /* Binary search over sorted <'next'|'value'> pairs */
582 do {
583 iter = first + ((last - first) >> 1);
584 if (iter->value < hash_value) {
585 first = iter + 1;
586 } else if (iter->value == hash_value) {
587
588 if (strcmp(iter->next->type->name, c) == 0) {
589 return iter->next;
590 }
591
592 /* Hash collision check */
593 for (last = iter + 1; last->next && last->value == hash_value; last++) {
594 if (strcmp(last->next->type->name, c) == 0) {
595 return last->next;
596 }
597 }
598 for (first = iter - 1; first != head && first->value == hash_value; first--) {
599 if (strcmp(first->next->type->name, c) == 0) {
600 return first->next;
601 }
602 }
603 break;
604 } else
605 last = iter - 1;
606 } while (first <= last);
607 }
608 }
609 head = head->next;
610 }
611 }
612 return 0;
613}
614
615/*
616 Check the type by type address
617*/
620 if (ty) {
621 swig_cast_info *head = ty->cast;
622 while (head) {
623 if (head->type == from) {
624 return head;
625 }
626
627 if (head->value) {
628 swig_cast_info *iter;
629 swig_cast_info *last = head + head->value;
630 swig_cast_info *first = head + 1;
631
632 /* Binary search over sorted array of casts */
633 do {
634 iter = first + ((last - first) >> 1);
635 if (iter->type < from) {
636 first = iter + 1;
637 } else if (iter->type == from) {
638 return iter;
639 } else
640 last = iter - 1;
641 } while (first <= last);
642 }
643 head = head->next;
644 }
645 }
646 return 0;
647}
648
649/*
650 Cast a pointer up an inheritance hierarchy
651*/
653SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
654 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
655}
656
657/*
658 Dynamic pointer casting. Down an inheritance hierarchy
659*/
662 swig_type_info *lastty = ty;
663 if (!ty || !ty->dcast) return ty;
664 while (ty && (ty->dcast)) {
665 ty = (*ty->dcast)(ptr);
666 if (ty) lastty = ty;
667 }
668 return lastty;
669}
670
671/*
672 Return the name associated with this type
673*/
674SWIGRUNTIMEINLINE const char *
676 return ty->name;
677}
678
679/*
680 Return the pretty name associated with this type,
681 that is an unmangled type name in a form presentable to the user.
682*/
683SWIGRUNTIME const char *
685 /* The "str" field contains the equivalent pretty names of the
686 type, separated by vertical-bar characters. Choose the last
687 name. It should be the most specific; a fully resolved name
688 but not necessarily with default template parameters expanded. */
689 if (!type) return NULL;
690 if (type->str != NULL) {
691 const char *last_name = type->str;
692 const char *s;
693 for (s = type->str; *s; s++)
694 if (*s == '|') last_name = s+1;
695 return last_name;
696 }
697 else
698 return type->name;
699}
700
701/*
702 Set the clientdata field for a type
703*/
704SWIGRUNTIME void
706 swig_cast_info *head = ti->cast;
707 /* if (ti->clientdata == clientdata) return; */
709
710 while (head) {
711 swig_cast_info *cast;
712 for (cast = head; (unsigned int)(cast - head) <= head->value; cast++) {
713 if (!cast->converter) {
714 swig_type_info *tc = cast->type;
715 if (!tc->clientdata) {
717 }
718 }
719 }
720 head = head->next;
721 }
722}
723
724SWIGRUNTIME void
729
730/*
731 Search for a swig_type_info structure only by mangled name
732 Search is a O(log #types)
733
734 We start searching at module start, and finish searching when start == end.
735 Note: if start == end at the beginning of the function, we go all the way around
736 the circular list.
737*/
740 swig_module_info *end,
741 const char *name) {
742 swig_module_info *iter = start;
743 do {
744 if (iter->size) {
745 size_t l = 0;
746 size_t r = iter->size - 1;
747 do {
748 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
749 size_t i = (l + r) >> 1;
750 const char *iname = iter->types[i]->name;
751 if (iname) {
752 int compare = strcmp(name, iname);
753 if (compare == 0) {
754 return iter->types[i];
755 } else if (compare < 0) {
756 if (i) {
757 r = i - 1;
758 } else {
759 break;
760 }
761 } else if (compare > 0) {
762 l = i + 1;
763 }
764 } else {
765 break; /* should never happen */
766 }
767 } while (l <= r);
768 }
769 iter = iter->next;
770 } while (iter != end);
771 return 0;
772}
773
774/*
775 Search for a swig_type_info structure for either a mangled name or a human readable name.
776 It first searches the mangled names of the types, which is a O(log #types)
777 If a type is not found it then searches the human readable names, which is O(#types).
778
779 We start searching at module start, and finish searching when start == end.
780 Note: if start == end at the beginning of the function, we go all the way around
781 the circular list.
782*/
785 swig_module_info *end,
786 const char *name) {
787 /* STEP 1: Search the name field using binary search */
789 if (ret) {
790 return ret;
791 } else {
792 /* STEP 2: If the type hasn't been found, do a complete search
793 of the str field (the human readable name) */
794 swig_module_info *iter = start;
795 do {
796 size_t i = 0;
797 for (; i < iter->size; ++i) {
798 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
799 return iter->types[i];
800 }
801 iter = iter->next;
802 } while (iter != end);
803 }
804
805 /* neither found a match */
806 return 0;
807}
808
809/*
810 Pack binary data into a string
811*/
812SWIGRUNTIME char *
813SWIG_PackData(char *c, void *ptr, size_t sz) {
814 static const char hex[17] = "0123456789abcdef";
815 const unsigned char *u = (unsigned char *) ptr;
816 const unsigned char *eu = u + sz;
817 for (; u != eu; ++u) {
818 unsigned char uu = *u;
819 *(c++) = hex[(uu & 0xf0) >> 4];
820 *(c++) = hex[uu & 0xf];
821 }
822 return c;
823}
824
825/*
826 Unpack binary data from a string
827*/
828SWIGRUNTIME const char *
829SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
830 unsigned char *u = (unsigned char *) ptr;
831 const unsigned char *eu = u + sz;
832 for (; u != eu; ++u) {
833 char d = *(c++);
834 unsigned char uu;
835 if ((d >= '0') && (d <= '9'))
836 uu = (unsigned char)((d - '0') << 4);
837 else if ((d >= 'a') && (d <= 'f'))
838 uu = (unsigned char)((d - ('a'-10)) << 4);
839 else
840 return (char *) 0;
841 d = *(c++);
842 if ((d >= '0') && (d <= '9'))
843 uu |= (unsigned char)(d - '0');
844 else if ((d >= 'a') && (d <= 'f'))
845 uu |= (unsigned char)(d - ('a'-10));
846 else
847 return (char *) 0;
848 *u = uu;
849 }
850 return c;
851}
852
853/*
854 Pack 'void *' into a string buffer.
855*/
856SWIGRUNTIME char *
857SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
858 char *r = buff;
859 if ((2*sizeof(void *) + 2) > bsz) return 0;
860 *(r++) = '_';
861 r = SWIG_PackData(r,&ptr,sizeof(void *));
862 if (strlen(name) + 1 > (bsz - (size_t)(r - buff))) return 0;
863 strcpy(r,name);
864 return buff;
865}
866
867SWIGRUNTIME const char *
868SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
869 if (*c != '_') {
870 if (strcmp(c,"NULL") == 0) {
871 *ptr = (void *) 0;
872 return name;
873 } else {
874 return 0;
875 }
876 }
877 return SWIG_UnpackData(++c,ptr,sizeof(void *));
878}
879
880SWIGRUNTIME char *
881SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
882 char *r = buff;
883 size_t lname = (name ? strlen(name) : 0);
884 if ((2*sz + 2 + lname) > bsz) return 0;
885 *(r++) = '_';
886 r = SWIG_PackData(r,ptr,sz);
887 if (lname) {
888 strncpy(r,name,lname+1);
889 } else {
890 *r = 0;
891 }
892 return buff;
893}
894
895SWIGRUNTIME const char *
896SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
897 if (*c != '_') {
898 if (strcmp(c,"NULL") == 0) {
899 memset(ptr,0,sz);
900 return name;
901 } else {
902 return 0;
903 }
904 }
905 return SWIG_UnpackData(++c,ptr,sz);
906}
907
908#ifdef __cplusplus
909}
910#endif
911
912/* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */
913#define SWIG_UnknownError -1
914#define SWIG_IOError -2
915#define SWIG_RuntimeError -3
916#define SWIG_IndexError -4
917#define SWIG_TypeError -5
918#define SWIG_DivisionByZero -6
919#define SWIG_OverflowError -7
920#define SWIG_SyntaxError -8
921#define SWIG_ValueError -9
922#define SWIG_SystemError -10
923#define SWIG_AttributeError -11
924#define SWIG_MemoryError -12
925#define SWIG_NullReferenceError -13
926
927
928#define SWIG_DEFUN(cname, wname, doc) DEFUNX_DLD(#cname, wname, G ## cname, args, nargout, doc)
929
930SWIGRUNTIME bool SWIG_check_num_args(const char *func_name, int num_args, int max_args, int min_args, int varargs) {
931 if (num_args > max_args && !varargs)
932 error("function %s takes at most %i arguments", func_name, max_args);
933 else if (num_args < min_args)
934 error("function %s requires at least %i arguments", func_name, min_args);
935 else
936 return true;
937 return false;
938}
939
940SWIGRUNTIME octave_value_list *SWIG_Octave_AppendOutput(octave_value_list *ovl, const octave_value &ov) {
941 ovl->append(ov);
942 return ovl;
943}
944
945SWIGRUNTIME octave_value SWIG_ErrorType(int code) {
946 switch (code) {
947 case SWIG_MemoryError:
948 return "SWIG_MemoryError";
949 case SWIG_IOError:
950 return "SWIG_IOError";
952 return "SWIG_RuntimeError";
953 case SWIG_IndexError:
954 return "SWIG_IndexError";
955 case SWIG_TypeError:
956 return "SWIG_TypeError";
958 return "SWIG_DivisionByZero";
960 return "SWIG_OverflowError";
961 case SWIG_SyntaxError:
962 return "SWIG_SyntaxError";
963 case SWIG_ValueError:
964 return "SWIG_ValueError";
965 case SWIG_SystemError:
966 return "SWIG_SystemError";
968 return "SWIG_AttributeError";
970 return "SWIG_NullReferenceError";
971 }
972 return "SWIG unknown error";
973}
974
975SWIGRUNTIME octave_value SWIG_Error(int code, const char *msg) {
976 octave_value type(SWIG_ErrorType(code));
977 std::string r = msg;
978 r += " (" + type.string_value() + ")";
979 error("%s", r.c_str());
980 return octave_value(r);
981}
982
983#define SWIG_fail goto fail
984
985#define SWIG_Octave_ConvertPtr(obj, pptr, type, flags) SWIG_Octave_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
986#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Octave_ConvertPtr(obj, pptr, type, flags)
987#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Octave_ConvertPtrAndOwn(obj, pptr, type, flags, own)
988#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Octave_ConvertPtr(obj, pptr, type, flags)
989#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Octave_NewPointerObj(ptr, type, flags)
990#define swig_owntype int
991
992#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Octave_ConvertPacked(obj, ptr, sz, ty)
993#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Octave_NewPackedObj(ptr, sz, type)
994
995#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_ConvertPtr(obj, pptr, type, 0)
996#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_NewPointerObj(ptr, type, 0)
997
998#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Octave_ConvertPacked(obj, ptr, sz, ty)
999#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Octave_NewPackedObj(ptr, sz, type)
1000
1001#define SWIG_GetModule(clientdata) SWIG_Octave_GetModule(clientdata)
1002#define SWIG_SetModule(clientdata, pointer) SWIG_Octave_SetModule(clientdata,pointer);
1003#define SWIG_MODULE_CLIENTDATA_TYPE void*
1004
1005#define Octave_Error_Occurred() 0
1006#define SWIG_Octave_AddErrorMsg(msg) {;}
1007
1010
1011// For backward compatibility only
1012#define SWIG_POINTER_EXCEPTION 0
1013#define SWIG_arg_fail(arg) 0
1014
1015// Runtime API implementation
1016
1017typedef octave_value_list(*octave_func) (const octave_value_list &, int);
1018class octave_swig_type;
1019
1020namespace Swig {
1021
1022#ifdef SWIG_DIRECTORS
1023
1024 class Director;
1025
1026 typedef std::map < void *, Director * > rtdir_map;
1027 SWIGINTERN rtdir_map* get_rtdir_map();
1028 SWIGINTERNINLINE void set_rtdir(void *vptr, Director *d);
1029 SWIGINTERNINLINE void erase_rtdir(void *vptr);
1030 SWIGINTERNINLINE Director *get_rtdir(void *vptr);
1031
1032 SWIGRUNTIME void swig_director_destroyed(octave_swig_type *self, Director *d);
1033 SWIGRUNTIME octave_swig_type *swig_director_get_self(Director *d);
1034 SWIGRUNTIME void swig_director_set_self(Director *d, octave_swig_type *self);
1035
1036#endif
1037
1038 SWIGRUNTIME octave_base_value *swig_value_ref(octave_swig_type *ost);
1040 SWIGRUNTIME octave_swig_type *swig_value_deref(const octave_base_value &ov);
1041}
1042
1043#ifdef SWIG_DIRECTORS
1044SWIGRUNTIME void swig_acquire_ownership(void *vptr);
1045SWIGRUNTIME void swig_acquire_ownership_array(void *vptr);
1046SWIGRUNTIME void swig_acquire_ownership_obj(void *vptr, int own);
1047#endif
1048
1050 const char *name;
1054 int flags; // 1 static, 2 global
1055 const char *doc;
1056 bool is_static() const {
1057 return flags &1;
1058 } bool is_global() const {
1059 return flags &2;
1060 }
1061 };
1062
1074
1075 // in Octave 4.4 behaviour of octave_builtin() appears to have changed and 'self' argument is no longer passed
1076 // to function (maybe because this is now a 'method'??) so need to create our own octave_function subclass
1077#define SWIG_OCTAVE_BOUND_FUNC(func, args) octave_value(new octave_swig_bound_func(func, args))
1078 class octave_swig_bound_func : public octave_function {
1079 public:
1080
1081 octave_swig_bound_func(void) : octave_function(), method(0), first_args()
1082 { }
1083
1084 octave_swig_bound_func(octave_function* _method, octave_value_list _first_args)
1085 : octave_function("", ""), method(_method), first_args(_first_args)
1086 { }
1087
1089
1091
1093
1094 bool is_function(void) const { return true; }
1095
1096 octave_function* function_value(bool = false) { return this; }
1097
1098 octave_value_list call(octave::tree_evaluator& tw, int nargout = 0, const octave_value_list& args = octave_value_list()) {
1099 return execute(tw,nargout,args);
1100 }
1101 octave_value_list execute(octave::tree_evaluator& tw, int nargout = 0, const octave_value_list& args = octave_value_list()) {
1102 octave_value_list all_args;
1103 all_args.append(first_args);
1104 all_args.append(args);
1105 return method->call(tw, nargout, all_args);
1106 }
1107
1108 octave_value subsref(const std::string &ops, const std::list < octave_value_list > &idx) {
1109 octave_value_list ovl = subsref(ops, idx, 1);
1110 return ovl.length() ? ovl(0) : octave_value();
1111 }
1112
1113 octave_value_list subsref(const std::string &ops, const std::list < octave_value_list > &idx, int nargout) {
1114 assert(ops.size() > 0);
1115 assert(ops.size() == idx.size());
1116 if (ops != "(")
1117 error("invalid function call");
1118 octave::tree_evaluator& tw = octave::interpreter::the_interpreter()->get_evaluator();
1119 return call(tw, nargout, *idx.begin());
1120 }
1121
1122 protected:
1123
1124 octave_function* method;
1125 octave_value_list first_args;
1126
1127 std::set<std::string> dispatch_classes;
1128
1129 };
1130
1131 // octave_swig_type plays the role of both the shadow class and the class
1132 // representation within Octave, since there is no support for classes.
1133 //
1134 // These should really be decoupled, with the class support added to Octave
1135 // and the shadow class given by an m-file script. That would dramatically
1136 // reduce the runtime complexity, and be more in line with other modules.
1137
1138 class octave_swig_type:public octave_base_value {
1139 struct cpp_ptr {
1140 void *ptr;
1142 cpp_ptr(void *_ptr):ptr(_ptr), destroyed(false) {
1143 }};
1144 typedef std::pair < const swig_type_info *, cpp_ptr > type_ptr_pair;
1145
1147
1148 const swig_type_info *construct_type; // type of special type object
1149 std::vector < type_ptr_pair > types; // our c++ base classes
1150 int thisown; // whether we call c++ destructors when we die
1151
1152 typedef std::pair < const swig_octave_member *, octave_value > member_value_pair;
1153 typedef std::map < std::string, member_value_pair > member_map;
1156
1157 const swig_octave_member *find_member(const swig_type_info *type, const std::string &name) {
1158 if (!type->clientdata)
1159 return 0;
1160 swig_octave_class *c = (swig_octave_class *) type->clientdata;
1161 const swig_octave_member *m;
1162 for (m = c->members; m->name; ++m)
1163 if (m->name == name)
1164 return m;
1165 for (int j = 0; c->base_names[j]; ++j) {
1166 if (!c->base[j]) {
1167 if (!module)
1168 module = SWIG_GetModule(0);
1169 assert(module);
1171 }
1172 if (!c->base[j])
1173 return 0;
1174 if ((m = find_member(c->base[j], name)))
1175 return m;
1176 }
1177 return 0;
1178 }
1179
1180 member_value_pair *find_member(const std::string &name, bool insert_if_not_found) {
1181 member_map::iterator it = members.find(name);
1182 if (it != members.end())
1183 return &it->second;
1184 const swig_octave_member *m;
1185 for (unsigned int j = 0; j < types.size(); ++j)
1186 if ((m = find_member(types[j].first, name)))
1187 return &members.insert(std::make_pair(name, std::make_pair(m, octave_value()))).first->second;
1188 if (!insert_if_not_found)
1189 return 0;
1190 return &members[name];
1191 }
1192
1193 const swig_type_info *find_base(const std::string &name, const swig_type_info *base) {
1194 if (!base) {
1195 for (unsigned int j = 0; j < types.size(); ++j) {
1196 assert(types[j].first->clientdata);
1197 swig_octave_class *cj = (swig_octave_class *) types[j].first->clientdata;
1198 if (cj->name == name)
1199 return types[j].first;
1200 }
1201 return 0;
1202 }
1203 assert(base->clientdata);
1205 for (int j = 0; c->base_names[j]; ++j) {
1206 if (!c->base[j]) {
1207 if (!module)
1208 module = SWIG_GetModule(0);
1209 assert(module);
1211 }
1212 if (!c->base[j])
1213 return 0;
1214 assert(c->base[j]->clientdata);
1216 if (cj->name == name)
1217 return c->base[j];
1218 }
1219 return 0;
1220 }
1221
1222 void load_members(const swig_octave_class* c,member_map& out) const {
1223 for (const swig_octave_member *m = c->members; m->name; ++m) {
1224 if (out.find(m->name) == out.end())
1225 out.insert(std::make_pair(m->name, std::make_pair(m, octave_value())));
1226 }
1227 for (int j = 0; c->base_names[j]; ++j) {
1228 if (!c->base[j]) {
1229 if (!module)
1230 module = SWIG_GetModule(0);
1231 assert(module);
1233 }
1234 if (!c->base[j])
1235 continue;
1236 assert(c->base[j]->clientdata);
1237 const swig_octave_class *cj =
1238 (const swig_octave_class *) c->base[j]->clientdata;
1239 load_members(cj,out);
1240 }
1241 }
1242
1243 void load_members(member_map& out) const {
1244 out=members;
1245 for (unsigned int j = 0; j < types.size(); ++j)
1246 if (types[j].first->clientdata)
1247 load_members((const swig_octave_class *) types[j].first->clientdata, out);
1248 }
1249
1250 octave_value_list member_invoke(member_value_pair *m, const octave_value_list &args, int nargout) {
1251 if (m->second.is_defined())
1252 return m->second.subsref("(", std::list < octave_value_list > (1, args), nargout);
1253 else if (m->first && m->first->method)
1254 return m->first->method(args, nargout);
1255 error("member not defined or not invocable");
1256 return octave_value_list();
1257 }
1258
1259 bool dispatch_unary_op(const std::string &symbol, octave_value &ret) const {
1260 octave_swig_type *nc_this = const_cast < octave_swig_type *>(this);
1261 member_value_pair *m = nc_this->find_member(symbol, false);
1262 if (!m || m->first->is_static() || m->first->is_global())
1263 return false;
1264 octave_value_list args;
1265 args.append(nc_this->as_value());
1266 octave_value_list argout(nc_this->member_invoke(m, args, 1));
1267 if (argout.length() < 1)
1268 return false;
1269 ret = argout(0);
1270 return true;
1271 }
1272
1273 bool dispatch_binary_op(const std::string &symbol, const octave_base_value &rhs, octave_value &ret) const {
1274 octave_swig_type *nc_this = const_cast < octave_swig_type *>(this);
1275 member_value_pair *m = nc_this->find_member(symbol, false);
1276 if (!m || m->first->is_static() || m->first->is_global())
1277 return false;
1278 octave_value_list args;
1279 args.append(nc_this->as_value());
1280 args.append(make_value_hack(rhs));
1281 octave_value_list argout(nc_this->member_invoke(m, args, 1));
1282 if (argout.length() < 1)
1283 return false;
1284 ret = argout(0);
1285 return true;
1286 }
1287
1288 bool dispatch_index_op(const std::string &symbol, const octave_value_list &rhs, octave_value_list &ret) const {
1289 octave_swig_type *nc_this = const_cast < octave_swig_type *>(this);
1290 member_value_pair *m = nc_this->find_member(symbol, false);
1291 if (!m || m->first->is_static() || m->first->is_global())
1292 return false;
1293 octave_value_list args;
1294 args.append(nc_this->as_value());
1295 args.append(rhs);
1296 octave_value_list argout(nc_this->member_invoke(m, args, 1));
1297 if (argout.length() >= 1)
1298 ret = argout(0);
1299 return true;
1300 }
1301
1302 octave_value_list member_deref(member_value_pair *m, const octave_value_list &args) {
1303 if (m->second.is_defined()) {
1304 if (m->second.is_function() || m->second.is_function_handle()) {
1305 return SWIG_OCTAVE_BOUND_FUNC(m->second.function_value(), args);
1306 } else {
1307 return m->second;
1308 }
1309 } else if (m->first) {
1310 if (m->first->get_method)
1311 return m->first->get_method(args, 1);
1312 else if (m->first->method)
1313 return SWIG_OCTAVE_BOUND_FUNC(new octave_builtin(m->first->method), args);
1314 }
1315 error("undefined member");
1316 return octave_value_list();
1317 }
1318
1319 static octave_value make_value_hack(const octave_base_value &x) {
1320#if SWIG_OCTAVE_PREREQ(9,0,0)
1321 ((octave_swig_type &) x).m_count++;
1322#else
1323 ((octave_swig_type &) x).count++;
1324#endif
1325 return octave_value((octave_base_value *) &x);
1326 }
1327
1330 public:
1331
1332 octave_swig_type(void *_ptr = 0, const swig_type_info *_type = 0, int _own = 0,
1333 bool _always_static = false)
1334 : module(0), construct_type(_ptr ? 0 : _type), thisown(_own),
1335 always_static(_always_static) {
1336 if (_type || _ptr)
1337 types.push_back(std::make_pair(_type, _ptr));
1338#ifdef SWIG_DIRECTORS
1339 if (_ptr) {
1340 Swig::Director *d = Swig::get_rtdir(_ptr);
1341 if (d)
1342 Swig::swig_director_set_self(d, this);
1343 }
1344#endif
1345 }
1346
1348 if (thisown) {
1349#if SWIG_OCTAVE_PREREQ(9,0,0)
1350 ++m_count;
1351#else
1352 ++count;
1353#endif
1354 for (unsigned int j = 0; j < types.size(); ++j) {
1355 if (!types[j].first || !types[j].first->clientdata)
1356 continue;
1357 swig_octave_class *c = (swig_octave_class *) types[j].first->clientdata;
1358 if (c->destructor && !types[j].second.destroyed && types[j].second.ptr) {
1359 c->destructor(as_value(), 0);
1360 }
1361 }
1362 }
1363#ifdef SWIG_DIRECTORS
1364 for (unsigned int j = 0; j < types.size(); ++j)
1365 Swig::erase_rtdir(types[j].second.ptr);
1366#endif
1367 }
1368
1369 dim_vector dims(void) const {
1370 octave_value out;
1371 if (!dispatch_unary_op("__dims__", out))
1372 return dim_vector(1,1);
1373
1374 // Return value should be cell or matrix of integers
1375 if (out.iscell()) {
1376 const Cell & c=out.cell_value();
1377 int ndim = c.rows();
1378 if (ndim==1 && c.columns()!=1) ndim = c.columns();
1379
1380 dim_vector d;
1381 d.resize(ndim < 2 ? 2 : ndim);
1382 d(0) = d(1) = 1;
1383
1384 // Fill in dim_vector
1385 for (int k=0;k<ndim;k++) {
1386 const octave_value& obj = c(k);
1387 try {
1388 d.elem(k) = obj.int_value();
1389 }
1390 catch (octave::execution_exception& oee) {
1391 // __dims__ should return a cell filled with integers
1392 return dim_vector(1,1);
1393 }
1394 }
1395 return d;
1396 } else if (out.is_matrix_type() || out.isnumeric() ) {
1397 if (out.rows()==1 || out.columns()==1) {
1398 Array<int> a;
1399 try {
1400 a = out.int_vector_value();
1401 }
1402 catch (octave::execution_exception& oee) {
1403 return dim_vector(1,1);
1404 }
1405 dim_vector d;
1406 d.resize(a.numel() < 2 ? 2 : a.numel());
1407 d(0) = d(1) = 1;
1408 for (int k=0;k<a.numel();k++) {
1409 d.elem(k) = a(k);
1410 }
1411 return d;
1412 } else {
1413 return dim_vector(1,1);
1414 }
1415 } else {
1416 return dim_vector(1,1);
1417 }
1418 }
1419
1420 octave_value as_value() {
1421#if SWIG_OCTAVE_PREREQ(9,0,0)
1422 ++m_count;
1423#else
1424 ++count;
1425#endif
1426 return Swig::swig_value_ref(this);
1427 }
1428
1429 void incref() {
1430#if SWIG_OCTAVE_PREREQ(9,0,0)
1431 ++m_count;
1432#else
1433 ++count;
1434#endif
1435 }
1436
1437 void decref() {
1438#if SWIG_OCTAVE_PREREQ(9,0,0)
1439 if (!--m_count)
1440#else
1441 if (!--count)
1442#endif
1443 delete this;
1444 }
1445
1446 size_t swig_this() const {
1447 if (!types.size())
1448 return (size_t) this;
1449 return (size_t) types[0].second.ptr;
1450 }
1451 const char* help_text() const {
1452 if (!types.size())
1453 return 0;
1454 if (!types[0].first->clientdata)
1455 return 0;
1456 swig_octave_class *c = (swig_octave_class *) types[0].first->clientdata;
1457 return c->constructor_doc;
1458 }
1459
1460 std::string swig_type_name() const {
1461 // * need some way to manually name subclasses.
1462 // * eg optional first arg to subclass(), or named_subclass()
1463 std::string ret;
1464 for (unsigned int j = 0; j < types.size(); ++j) {
1465 if (j)
1466 ret += "_";
1467 if (types[j].first->clientdata) {
1468 swig_octave_class *c = (swig_octave_class *) types[j].first->clientdata;
1469 ret += c->name;
1470 } else
1471 ret += types[j].first->name;
1472 }
1473 return ret;
1474 }
1475
1477 rhs.thisown = 0;
1478 for (unsigned int j = 0; j < rhs.types.size(); ++j) {
1479 assert(!rhs.types[j].second.destroyed);
1480#ifdef SWIG_DIRECTORS
1481 Swig::Director *d = Swig::get_rtdir(rhs.types[j].second.ptr);
1482 if (d)
1483 Swig::swig_director_set_self(d, this);
1484#endif
1485 }
1486 types.insert(types.end(), rhs.types.begin(), rhs.types.end());
1487 members.insert(rhs.members.begin(), rhs.members.end());
1488 assign(rhs.swig_type_name(), rhs.as_value());
1489 }
1490
1491 typedef member_map::const_iterator swig_member_const_iterator;
1494
1495 int cast(void **vptr, swig_type_info *type, int *own, int flags) {
1496 int res = SWIG_ERROR;
1497 int clear_pointer = 0;
1498
1499 if (own)
1500 *own = 0;
1501 if (((flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE) && !thisown) {
1503 } else {
1504 if (own)
1505 *own = *own | thisown;
1506 if (flags & SWIG_POINTER_DISOWN) {
1507 thisown = 0;
1508 }
1509 if (flags & SWIG_POINTER_CLEAR) {
1510 clear_pointer = 1;
1511 }
1512 }
1513
1514 if (!type && types.size()) {
1515 if (vptr) {
1516 *vptr = types[0].second.ptr;
1517 if (clear_pointer)
1518 types[0].second.ptr = 0;
1519 }
1520 return SWIG_OK;
1521 }
1522 for (unsigned int j = 0; j < types.size(); ++j)
1523 if (type == types[j].first) {
1524 if (vptr) {
1525 *vptr = types[j].second.ptr;
1526 if (clear_pointer)
1527 types[j].second.ptr = 0;
1528 }
1529 return SWIG_OK;
1530 }
1531 for (unsigned int j = 0; j < types.size(); ++j) {
1532 swig_cast_info *tc = SWIG_TypeCheck(types[j].first->name, type);
1533 if (!tc)
1534 continue;
1535 if (vptr) {
1536 int newmemory = 0;
1537 *vptr = SWIG_TypeCast(tc, types[j].second.ptr, &newmemory);
1538 if (newmemory == SWIG_CAST_NEW_MEMORY) {
1539 assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
1540 if (own)
1541 *own = *own | SWIG_CAST_NEW_MEMORY;
1542 }
1543 if (clear_pointer)
1544 types[j].second.ptr = 0;
1545 }
1546 res = SWIG_OK;
1547 break;
1548 }
1549 return res;
1550 }
1551
1552 bool is_owned() const {
1553 return thisown;
1554 }
1555
1556#ifdef SWIG_DIRECTORS
1557 void director_destroyed(Swig::Director *d) {
1558 bool found = false;
1559 for (unsigned int j = 0; j < types.size(); ++j) {
1560 Swig::Director *dj = Swig::get_rtdir(types[j].second.ptr);
1561 if (dj == d) {
1562 types[j].second.destroyed = true;
1563 found = true;
1564 }
1565 }
1566 assert(found);
1567 }
1568#endif
1569
1570 void assign(const std::string &name, const octave_value &ov) {
1571 members[name] = std::make_pair((const swig_octave_member *) 0, ov);
1572 }
1573
1574 void assign(const std::string &name, const swig_octave_member *m) {
1575 members[name] = std::make_pair(m, octave_value());
1576 }
1577
1578 octave_base_value *clone() const {
1579 // pass-by-value is probably not desired, and is harder;
1580 // requires calling copy constructors of contained types etc.
1581 assert(0);
1582 *(int *) 0 = 0;
1583 return 0;
1584 }
1585
1586 octave_base_value *empty_clone() const {
1587 return new octave_swig_type();
1588 }
1589
1590 bool is_defined() const {
1591 return true;
1592 }
1593
1594 virtual bool isstruct() const {
1595 return true;
1596 }
1597
1598 virtual octave_value subsref(const std::string &ops, const std::list < octave_value_list > &idx) {
1599 octave_value_list ovl = subsref(ops, idx, 1);
1600 return ovl.length()? ovl(0) : octave_value();
1601 }
1602
1603 virtual octave_value_list subsref(const std::string &ops, const std::list < octave_value_list > &idx, int nargout) {
1604 assert(ops.size() > 0);
1605 assert(ops.size() == idx.size());
1606
1607 std::list < octave_value_list >::const_iterator idx_it = idx.begin();
1608 int skip = 0;
1609 octave_value_list sub_ovl;
1610
1611 // constructor invocation
1612 if (ops[skip] == '(' && construct_type) {
1613 assert(construct_type->clientdata);
1615 if (!c->constructor) {
1616 error("cannot create instance");
1617 return octave_value_list();
1618 }
1619 octave_value_list args;
1620 if (c->director)
1621 args.append(Swig::swig_value_ref(new octave_swig_type(this, 0, 0)));
1622 args.append(*idx_it++);
1623 ++skip;
1624 sub_ovl = c->constructor(args, nargout);
1625 }
1626 // member dereference or invocation
1627 else if (ops[skip] == '.') {
1628 std::string subname;
1629 const swig_type_info *base = 0; // eg, a.base.base_cpp_mem
1630 for (;;) {
1631 octave_value_list subname_ovl(*idx_it++);
1632 ++skip;
1633 assert(subname_ovl.length() == 1 && subname_ovl(0).is_string());
1634 subname = subname_ovl(0).string_value();
1635
1636 const swig_type_info *next_base = find_base(subname, base);
1637 if (!next_base || skip >= (int) ops.size() || ops[skip] != '.')
1638 break;
1639 base = next_base;
1640 }
1641
1642 member_value_pair tmp, *m = &tmp;
1643 if (!base || !(m->first = find_member(base, subname)))
1644 m = find_member(subname, false);
1645 if (!m) {
1646 error("member not found");
1647 return octave_value_list();
1648 }
1649
1650 octave_value_list args;
1651 if (!always_static &&
1652 (!m->first || (!m->first->is_static() && !m->first->is_global())))
1653 args.append(as_value());
1654 if (skip < (int) ops.size() && ops[skip] == '(' &&
1655 ((m->first && m->first->method) || m->second.is_function() ||
1656 m->second.is_function_handle())) {
1657 args.append(*idx_it++);
1658 ++skip;
1659 sub_ovl = member_invoke(m, args, nargout);
1660 } else {
1661 sub_ovl = member_deref(m, args);
1662 }
1663 }
1664 // index operator
1665 else {
1666 if (ops[skip] == '(' || ops[skip] == '{') {
1667 const char *op_name = ops[skip] == '(' ? "__paren__" : "__brace__";
1668 octave_value_list args;
1669 args.append(*idx_it++);
1670 ++skip;
1671 if (!dispatch_index_op(op_name, args, sub_ovl)) {
1672 error("error evaluating index operator");
1673 return octave_value_list();
1674 }
1675 } else {
1676 error("unsupported subsref");
1677 return octave_value_list();
1678 }
1679 }
1680
1681 if (skip >= (int) ops.size())
1682 return sub_ovl;
1683 if (sub_ovl.length() < 1) {
1684 error("bad subs ref");
1685 return octave_value_list();
1686 }
1687 return sub_ovl(0).next_subsref(nargout, ops, idx, skip);
1688 }
1689
1690 octave_value subsasgn(const std::string &ops, const std::list < octave_value_list > &idx, const octave_value &rhs) {
1691 assert(ops.size() > 0);
1692 assert(ops.size() == idx.size());
1693
1694 std::list < octave_value_list >::const_iterator idx_it = idx.begin();
1695 int skip = 0;
1696
1697 if (ops.size() > 1) {
1698 std::list < octave_value_list >::const_iterator last = idx.end();
1699 --last;
1700 std::list < octave_value_list > next_idx(idx.begin(), last);
1701 octave_value next_ov = subsref(ops.substr(0, ops.size() - 1), next_idx);
1702 next_ov.subsasgn(ops.substr(ops.size() - 1), std::list < octave_value_list > (1, *last), rhs);
1703 }
1704
1705 else if (ops[skip] == '(' || ops[skip] == '{') {
1706 const char *op_name = ops[skip] == '(' ? "__paren_asgn__" : "__brace_asgn__";
1707 member_value_pair *m = find_member(op_name, false);
1708 if (m) {
1709 octave_value_list args;
1710 args.append(as_value());
1711 args.append(*idx_it);
1712 args.append(rhs);
1713 member_invoke(m, args, 1);
1714 } else
1715 error("%s member not found", op_name);
1716 }
1717
1718 else if (ops[skip] == '.') {
1719 octave_value_list subname_ovl(*idx_it++);
1720 ++skip;
1721 assert(subname_ovl.length() == 1 &&subname_ovl(0).is_string());
1722 std::string subname = subname_ovl(0).string_value();
1723
1724 member_value_pair *m = find_member(subname, true);
1725 if (!m->first || !m->first->set_method) {
1726 m->first = 0;
1727 m->second = rhs;
1728 } else if (m->first->set_method) {
1729 octave_value_list args;
1730 if (!m->first->is_static() && !m->first->is_global())
1731 args.append(as_value());
1732 args.append(rhs);
1733 m->first->set_method(args, 1);
1734 } else
1735 error("member not assignable");
1736 } else
1737 error("unsupported subsasgn");
1738
1739 return as_value();
1740 }
1741
1742 virtual bool isobject() const {
1743 return true;
1744 }
1745
1746 virtual bool is_string() const {
1747 octave_swig_type *nc_this = const_cast < octave_swig_type *>(this);
1748 return !!nc_this->find_member("__str__", false);
1749 }
1750
1751 virtual std::string string_value(bool force = false) const {
1752 octave_value ret;
1753 if (!dispatch_unary_op("__str__", ret)) {
1754 error("__str__ method not defined");
1755 return std::string();
1756 }
1757 if (!ret.is_string()) {
1758 error("__str__ method did not return a string");
1759 return std::string();
1760 }
1761 return ret.string_value();
1762 }
1763
1764 virtual double scalar_value(bool frc_str_conv = false) const {
1765 octave_value ret;
1766 if (!dispatch_unary_op("__float__", ret)) {
1767 error("__float__ method not defined");
1768 }
1769 return ret.scalar_value();
1770 }
1771
1772 virtual octave_value as_double(void) const {
1773 octave_value ret;
1774 if (!dispatch_unary_op("__float__", ret)) {
1775 error("__float__ method not defined");
1776 }
1777 return ret.as_double();
1778 }
1779
1780 virtual octave_value as_single(void) const {
1781 octave_value ret;
1782 if (!dispatch_unary_op("__float__", ret)) {
1783 error("__float__ method not defined");
1784 }
1785 return ret.as_single();
1786 }
1787
1788 virtual octave_value map(octave_base_value::unary_mapper_t umap) const {
1789 const std::string opname = std::string("__") + octave_base_value::get_umap_name(umap) + std::string("__");
1790 octave_value ret;
1791 if (!dispatch_unary_op(opname, ret)) {
1792 error("%s", (opname + std::string(" method not found")).c_str());
1793 return octave_value();
1794 }
1795 return ret;
1796 }
1797
1798 virtual octave_map map_value() const {
1799 return octave_map();
1800 }
1801
1802 virtual string_vector map_keys() const {
1803 member_map tmp;
1804 load_members(tmp);
1805
1806 string_vector keys(tmp.size());
1807 int k = 0;
1808 for (member_map::iterator it = tmp.begin(); it != tmp.end(); ++it)
1809 keys(k++) = it->first;
1810
1811 return keys;
1812 }
1813
1814 virtual bool save_ascii (std::ostream& os) {
1815 return true;
1816 }
1817
1818 virtual bool load_ascii (std::istream& is) {
1819 return true;
1820 }
1821
1822 virtual bool save_binary (std::ostream& os, bool save_as_floats) {
1823 return true;
1824 }
1825
1826 virtual bool load_binary (std::istream& is, bool swap,
1827 octave::mach_info::float_format fmt) {
1828 return true;
1829 }
1830
1831#if defined (HAVE_HDF5)
1832 virtual bool
1833 save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats) {
1834 return true;
1835 }
1836
1837 virtual bool
1838 load_hdf5 (octave_hdf5_id loc_id, const char *name, bool have_h5giterate_bug) {
1839 return true;
1840 }
1841#endif
1842
1843 virtual octave_value convert_to_str(bool pad = false, bool force = false, char type = '"') const {
1844 return string_value();
1845 }
1846
1847 virtual octave_value convert_to_str_internal(bool pad, bool force, char type) const {
1848 return string_value();
1849 }
1850
1851 static bool dispatch_global_op(const std::string &symbol, const octave_value_list &args, octave_value &ret) {
1852 // we assume that SWIG_op_prefix-prefixed functions are installed in global namespace
1853 // (rather than any module namespace).
1854
1855 octave_function *fcn = is_valid_function(symbol, std::string(), false);
1856 if (!fcn)
1857 return false;
1858 octave::tree_evaluator& tw = octave::interpreter::the_interpreter()->get_evaluator();
1859 octave_value_list retval = fcn->call(tw, 1, args);
1860 if (retval.length() == 1)
1861 ret = retval(0);
1862 return true;
1863 }
1864
1865 static octave_value dispatch_unary_op(const octave_base_value &x, const char *op_name) {
1867 assert(ost);
1868
1869 octave_value ret;
1870 if (ost->dispatch_unary_op(std::string("__") + op_name + std::string("__"), ret))
1871 return ret;
1872 std::string symbol = SWIG_op_prefix + ost->swig_type_name() + "_" + op_name;
1873 octave_value_list args;
1874 args.append(make_value_hack(x));
1875 if (dispatch_global_op(symbol, args, ret))
1876 return ret;
1877
1878 error("could not dispatch unary operator");
1879 return octave_value();
1880 }
1881
1882 static octave_value dispatch_binary_op(const octave_base_value &lhs, const octave_base_value &rhs, const char *op_name) {
1885
1886 octave_value ret;
1887 if (lhs_ost && lhs_ost->dispatch_binary_op(std::string("__") + op_name + std::string("__"), rhs, ret))
1888 return ret;
1889 if (rhs_ost) {
1890 if (strlen(op_name) == 2 && (op_name[1] == 't' || op_name[1] == 'e')) {
1891 if (op_name[0] == 'l' && rhs_ost->dispatch_binary_op(std::string("__g") + op_name[1] + std::string("__"), lhs, ret))
1892 return ret;
1893 if (op_name[0] == 'g' && rhs_ost->dispatch_binary_op(std::string("__l") + op_name[1] + std::string("__"), lhs, ret))
1894 return ret;
1895 }
1896 if (rhs_ost->dispatch_binary_op(std::string("__r") + op_name + std::string("__"), lhs, ret))
1897 return ret;
1898 }
1899
1900 std::string symbol;
1901 octave_value_list args;
1902 args.append(make_value_hack(lhs));
1903 args.append(make_value_hack(rhs));
1904
1905 symbol = SWIG_op_prefix;
1906 symbol += lhs_ost ? lhs_ost->swig_type_name() : lhs.type_name();
1907 symbol += "_";
1908 symbol += op_name;
1909 symbol += "_";
1910 symbol += rhs_ost ? rhs_ost->swig_type_name() : rhs.type_name();
1911 if (dispatch_global_op(symbol, args, ret))
1912 return ret;
1913
1914 symbol = SWIG_op_prefix;
1915 symbol += lhs_ost ? lhs_ost->swig_type_name() : lhs.type_name();
1916 symbol += "_";
1917 symbol += op_name;
1918 symbol += "_";
1919 symbol += "any";
1920 if (dispatch_global_op(symbol, args, ret))
1921 return ret;
1922
1923 symbol = SWIG_op_prefix;
1924 symbol += "any";
1925 symbol += "_";
1926 symbol += op_name;
1927 symbol += "_";
1928 symbol += rhs_ost ? rhs_ost->swig_type_name() : rhs.type_name();
1929 if (dispatch_global_op(symbol, args, ret))
1930 return ret;
1931
1932 error("could not dispatch binary operator");
1933 return octave_value();
1934 }
1935
1936 void print(std::ostream &os, bool pr_as_read_syntax = false)
1937 {
1938 if (is_string()) {
1939 os << string_value();
1940 return;
1941 }
1942
1943 member_map tmp;
1944 load_members(tmp);
1945
1946 indent(os);
1947 os << "{"; newline(os);
1948 increment_indent_level();
1949 for (unsigned int j = 0; j < types.size(); ++j) {
1950 indent(os);
1951 if (types[j].first->clientdata) {
1952 const swig_octave_class *c = (const swig_octave_class *) types[j].first->clientdata;
1953 os << c->name << ", ptr = " << types[j].second.ptr; newline(os);
1954 } else {
1955 os << types[j].first->name << ", ptr = " << types[j].second.ptr; newline(os);
1956 }
1957 }
1958 for (member_map::const_iterator it = tmp.begin(); it != tmp.end(); ++it) {
1959 indent(os);
1960 if (it->second.first) {
1961 const char *objtype = it->second.first->method ? "method" : "variable";
1962 const char *modifier = (it->second.first->flags &1) ? "static " : (it->second.first->flags &2) ? "global " : "";
1963 os << it->second.first->name << " (" << modifier << objtype << ")"; newline(os);
1964 assert(it->second.first->name == it->first);
1965 } else {
1966 os << it->first; newline(os);
1967 }
1968 }
1969 decrement_indent_level();
1970 indent(os);
1971 os << "}"; newline(os);
1972 }
1973 };
1974
1975 // Octave tries hard to preserve pass-by-value semantics. Eg, assignments
1976 // will call clone() via make_unique() if there is more than one outstanding
1977 // reference to the lhs, and forces the clone's reference count to 1
1978 // (so you can't just increment your own count and return this).
1979 //
1980 // One way to fix this (without modifying Octave) is to add a level of
1981 // indirection such that clone copies ref-counted pointer and we keep
1982 // pass-by-ref semantics (which are more natural/expected for C++ bindings).
1983 //
1984 // Supporting both pass-by-{ref,value} and toggling via %feature/option
1985 // might be nice.
1986
1987 class octave_swig_ref:public octave_base_value {
1989 public:
1991 :ptr(_ptr)
1992 {
1993 // Ensure type_id() is set correctly
1994#if SWIG_OCTAVE_PREREQ(9,0,0)
1995 if (s_t_id == -1) {
1996 s_t_id = octave_swig_ref::static_type_id();
1997#else
1998 if (t_id == -1) {
1999 t_id = octave_swig_ref::static_type_id();
2000#endif
2001 }
2002 }
2003
2005 { if (ptr) ptr->decref(); }
2006
2008 { return ptr; }
2009
2010 octave_base_value *clone() const
2011 { if (ptr) ptr->incref(); return new octave_swig_ref(ptr); }
2012
2013 octave_base_value *empty_clone() const
2014 { return new octave_swig_ref(0); }
2015
2016 dim_vector dims(void) const
2017 { return ptr->dims(); }
2018
2019 bool is_defined() const
2020 { return ptr->is_defined(); }
2021
2022 virtual bool isstruct() const
2023 { return ptr->isstruct(); }
2024
2025 virtual octave_value subsref(const std::string &ops, const std::list < octave_value_list > &idx)
2026 { return ptr->subsref(ops, idx); }
2027
2028 virtual octave_value_list subsref(const std::string &ops, const std::list < octave_value_list > &idx, int nargout)
2029 { return ptr->subsref(ops, idx, nargout); }
2030
2031 octave_value subsasgn(const std::string &ops, const std::list < octave_value_list > &idx, const octave_value &rhs)
2032 { return ptr->subsasgn(ops, idx, rhs); }
2033
2034 virtual bool isobject() const
2035 { return ptr->isobject(); }
2036
2037 virtual bool is_string() const
2038 { return ptr->is_string(); }
2039
2040 virtual std::string string_value(bool force = false) const
2041 { return ptr->string_value(force); }
2042
2043 virtual double scalar_value(bool frc_str_conv = false) const
2044 { return ptr->scalar_value(frc_str_conv); }
2045
2046 virtual octave_value as_double(void) const
2047 { return ptr->as_double(); }
2048
2049 virtual octave_value as_single(void) const
2050 { return ptr->as_single(); }
2051
2052 virtual octave_value map(octave_base_value::unary_mapper_t umap) const
2053 { return ptr->map(umap); }
2054
2055 virtual octave_map map_value() const
2056 { return ptr->map_value(); }
2057
2058 virtual string_vector map_keys() const
2059 { return ptr->map_keys(); }
2060
2061 virtual bool save_ascii (std::ostream& os)
2062 { return ptr->save_ascii(os); }
2063
2064 virtual bool load_ascii (std::istream& is)
2065 { return ptr->load_ascii(is); }
2066
2067 virtual bool save_binary (std::ostream& os, bool save_as_floats)
2068 { return ptr->save_binary(os, save_as_floats); }
2069
2070 virtual bool load_binary (std::istream& is, bool swap,
2071 octave::mach_info::float_format fmt)
2072 { return ptr->load_binary(is, swap, fmt); }
2073
2074#if defined (HAVE_HDF5)
2075 virtual bool
2076 save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats)
2077 { return ptr->save_hdf5(loc_id, name, save_as_floats); }
2078
2079 virtual bool
2080 load_hdf5 (octave_hdf5_id loc_id, const char *name, bool have_h5giterate_bug)
2081 { return ptr->load_hdf5(loc_id, name, have_h5giterate_bug); }
2082#endif
2083
2084 virtual octave_value convert_to_str(bool pad = false, bool force = false, char type = '"') const
2085 { return ptr->convert_to_str(pad, force, type); }
2086
2087 virtual octave_value convert_to_str_internal(bool pad, bool force, char type) const
2088 { return ptr->convert_to_str_internal(pad, force, type); }
2089
2090 void print(std::ostream &os, bool pr_as_read_syntax = false)
2091 { return ptr->print(os, pr_as_read_syntax); }
2092
2093#if SWIG_OCTAVE_PREREQ(9,0,0)
2094 static void set_type_id(int type_id) { s_t_id=type_id; }
2095#else
2096 static void set_type_id(int type_id) { t_id=type_id; }
2097#endif
2098
2099 virtual type_conv_info numeric_conversion_function(void) const {
2100 return octave_base_value::type_conv_info (default_numeric_conversion_function,
2101 octave_scalar::static_type_id ());
2102 }
2103
2104 private:
2105 static octave_base_value *default_numeric_conversion_function (const octave_base_value& a) {
2106 const octave_swig_ref& v = dynamic_cast<const octave_swig_ref&>(a);
2107 return new octave_scalar(v.scalar_value());
2108 }
2109
2111 };
2113
2114 class octave_swig_packed:public octave_base_value {
2116 std::vector < char > buf;
2117 public:
2118
2119 octave_swig_packed(swig_type_info *_type = 0, const void *_buf = 0, size_t _buf_len = 0)
2120 : type(_type), buf((const char*)_buf, (const char*)_buf + _buf_len)
2121 {
2122 // Ensure type_id() is set correctly
2123#if SWIG_OCTAVE_PREREQ(9,0,0)
2124 if (s_t_id == -1) {
2125 s_t_id = octave_swig_packed::static_type_id();
2126#else
2127 if (t_id == -1) {
2128 t_id = octave_swig_packed::static_type_id();
2129#endif
2130 }
2131 }
2132
2133 bool copy(swig_type_info *outtype, void *ptr, size_t sz) const {
2134 if (outtype && outtype != type)
2135 return false;
2136 assert(sz <= buf.size());
2137 std::copy(buf.begin(), buf.begin()+sz, (char*)ptr);
2138 return true;
2139 }
2140
2141 octave_base_value *clone() const {
2142 return new octave_swig_packed(*this);
2143 }
2144
2145 octave_base_value *empty_clone() const {
2146 return new octave_swig_packed();
2147 }
2148
2149 bool is_defined() const {
2150 return true;
2151 }
2152
2153 void print(std::ostream &os, bool pr_as_read_syntax = false)
2154 {
2155 indent(os);
2156 os << "swig packed type: name = " << (type ? type->name : std::string()) << ", len = " << buf.size(); newline(os);
2157 }
2158
2159
2160 virtual bool save_ascii (std::ostream& os) {
2161 return true;
2162 }
2163
2164 virtual bool load_ascii (std::istream& is) {
2165 return true;
2166 }
2167
2168 virtual bool save_binary (std::ostream& os, bool save_as_floats) {
2169 return true;
2170 }
2171
2172 virtual bool load_binary (std::istream& is, bool swap,
2173 octave::mach_info::float_format fmt) {
2174 return true;
2175 }
2176
2177#if defined (HAVE_HDF5)
2178 virtual bool
2179 save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats) {
2180 return true;
2181 }
2182
2183 virtual bool
2184 load_hdf5 (octave_hdf5_id loc_id, const char *name, bool have_h5giterate_bug) {
2185 return true;
2186 }
2187#endif
2188
2189#if SWIG_OCTAVE_PREREQ(9,0,0)
2190 static void set_type_id(int type_id) { s_t_id=type_id; }
2191#else
2192 static void set_type_id(int type_id) { t_id=type_id; }
2193#endif
2194
2195 private:
2197 };
2199
2200 SWIGRUNTIME octave_value_list octave_set_immutable(const octave_value_list &args, int nargout) {
2201 error("attempt to set immutable member variable");
2202 return octave_value_list();
2203 }
2204
2206 const octave_value_list &ovl;
2207 int j;
2208
2209 octave_value_ref(const octave_value_list &_ovl, int _j)
2210 :ovl(_ovl), j(_j) { }
2211
2212 operator octave_value() const {
2213 return ovl(j);
2214 }
2215
2216 octave_value operator*() const {
2217 return ovl(j);
2218 }
2219 };
2220
2221
2222namespace Swig {
2223
2225 return new octave_swig_ref(ost);
2226 }
2227
2229 if (ov.iscell() && ov.rows() == 1 && ov.columns() == 1)
2230 ov = ov.cell_value()(0);
2231 return swig_value_deref(*ov.internal_rep());
2232 }
2233
2234 SWIGRUNTIME octave_swig_type *swig_value_deref(const octave_base_value &ov) {
2235 if (ov.type_id() != octave_swig_ref::static_type_id())
2236 return 0;
2237 const octave_swig_ref *osr = static_cast < const octave_swig_ref *>(&ov);
2238 return osr->get_ptr();
2239 }
2240
2241}
2242
2243
2244#define swig_unary_op(name) \
2245SWIGRUNTIME octave_value swig_unary_op_##name(const octave_base_value &x) { \
2246 return octave_swig_type::dispatch_unary_op(x,#name); \
2247}
2248#define swig_binary_op(name) \
2249SWIGRUNTIME octave_value swig_binary_op_##name(const octave_base_value&lhs,const octave_base_value &rhs) { \
2250 return octave_swig_type::dispatch_binary_op(lhs,rhs,#name); \
2251}
2252#define swigreg_unary_op(name) \
2253if (!octave_value_typeinfo::lookup_unary_op(octave_value::op_##name,tid)) \
2254typeinfo.register_unary_op(octave_value::op_##name,tid,swig_unary_op_##name);
2255#define swigreg_binary_op(name) \
2256if (!octave_value_typeinfo::lookup_binary_op(octave_value::op_##name,tid1,tid2)) \
2257typeinfo.register_binary_op(octave_value::op_##name,tid1,tid2,swig_binary_op_##name);
2258
2262 swig_unary_op(transpose);
2263 swig_unary_op(hermitian);
2266
2285
2287 octave::type_info& typeinfo = octave::interpreter::the_interpreter()->get_type_info();
2288 swigreg_unary_op(not);
2289 swigreg_unary_op(uplus);
2290 swigreg_unary_op(uminus);
2291 swigreg_unary_op(transpose);
2292 swigreg_unary_op(hermitian);
2293 swigreg_unary_op(incr);
2294 swigreg_unary_op(decr);
2295 }
2296 SWIGRUNTIME void SWIG_InstallBinaryOps(int tid1, int tid2) {
2297 octave::type_info& typeinfo = octave::interpreter::the_interpreter()->get_type_info();
2298 swigreg_binary_op(add);
2299 swigreg_binary_op(sub);
2300 swigreg_binary_op(mul);
2301 swigreg_binary_op(div);
2302 swigreg_binary_op(pow);
2303 swigreg_binary_op(ldiv);
2310 swigreg_binary_op(el_mul);
2311 swigreg_binary_op(el_div);
2312 swigreg_binary_op(el_pow);
2313 swigreg_binary_op(el_ldiv);
2314 swigreg_binary_op(el_and);
2315 swigreg_binary_op(el_or);
2316 }
2318 // here we assume that tid are conseq integers increasing from zero, and
2319 // that our tid is the last one. might be better to have explicit string
2320 // list of types we should bind to, and use lookup_type to resolve their tid.
2321
2323 SWIG_InstallBinaryOps(tid, tid);
2324 for (int j = 0; j < tid; ++j) {
2325 SWIG_InstallBinaryOps(j, tid);
2326 SWIG_InstallBinaryOps(tid, j);
2327 }
2328 }
2329
2330SWIGRUNTIME octave_value SWIG_Octave_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2331 int own = (flags &SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2332
2333 if (ptr) {
2334#ifdef SWIG_DIRECTORS
2335 Swig::Director *d = Swig::get_rtdir(ptr);
2336 if (d && Swig::swig_director_get_self(d))
2337 return Swig::swig_director_get_self(d)->as_value();
2338#endif
2339 return Swig::swig_value_ref(new octave_swig_type(ptr, type, own));
2340 }
2341 return octave_value(Matrix()); // null matrix
2342}
2343
2344SWIGRUNTIME int SWIG_Octave_ConvertPtrAndOwn(octave_value ov, void **ptr, swig_type_info *type, int flags, int *own) {
2345 if (ov.iscell() && ov.rows() == 1 && ov.columns() == 1)
2346 ov = ov.cell_value()(0);
2347 if (!ov.is_defined() ||
2348 (ov.is_matrix_type() && ov.rows() == 0 && ov.columns() == 0) ) {
2349 if (ptr)
2350 *ptr = 0;
2352 }
2353 if (ov.type_id() != octave_swig_ref::static_type_id())
2354 return SWIG_ERROR;
2355 octave_swig_ref *osr = static_cast < octave_swig_ref *>(ov.internal_rep());
2356 octave_swig_type *ost = osr->get_ptr();
2357 return ost->cast(ptr, type, own, flags);
2358}
2359
2360SWIGRUNTIME octave_value SWIG_Octave_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2361 return new octave_swig_packed(type, (char *) ptr, sz);
2362}
2363
2364SWIGRUNTIME int SWIG_Octave_ConvertPacked(const octave_value &ov, void *ptr, size_t sz, swig_type_info *type) {
2365 if (!ov.is_defined())
2366 return SWIG_ERROR;
2367 if (ov.type_id() != octave_swig_packed::static_type_id())
2368 return SWIG_ERROR;
2369 octave_swig_packed *ost = static_cast < octave_swig_packed *>(ov.internal_rep());
2370 return ost->copy(type, (char *) ptr, sz) ? SWIG_OK : SWIG_ERROR;
2371}
2372
2373SWIGRUNTIMEINLINE void SWIG_Octave_SetConstant(octave_swig_type *module_ns, const std::string &name, const octave_value &ov) {
2374 module_ns->assign(name, ov);
2375}
2376
2378 octave::interpreter *interp = octave::interpreter::the_interpreter ();
2379 return interp->global_varval(name);
2380}
2381
2382SWIGRUNTIME void SWIG_Octave_SetGlobalValue(std::string name, const octave_value& value) {
2383 octave::interpreter *interp = octave::interpreter::the_interpreter ();
2384 interp->global_assign(name, value);
2385}
2386
2388 octave::symbol_scope symscope = octave::interpreter::the_interpreter()->get_current_scope();
2389 octave::interpreter *interp = octave::interpreter::the_interpreter ();
2390 interp->assign(name, interp->global_varval(name));
2391 octave::tree_evaluator& tree_eval = interp->get_evaluator();
2392#if SWIG_OCTAVE_PREREQ(8,0,0)
2393 std::shared_ptr<octave::stack_frame> stackFrame = tree_eval.get_current_stack_frame();
2394#else
2395 octave::call_stack& callStack = tree_eval.get_call_stack();
2396 std::shared_ptr<octave::stack_frame> stackFrame = callStack.get_current_stack_frame();
2397#endif
2398 octave::symbol_record sym=symscope.lookup_symbol(name);
2399 stackFrame->mark_global(sym);
2400}
2401
2403 octave_value ov = SWIG_Octave_GetGlobalValue("__SWIG_MODULE__" SWIG_TYPE_TABLE_NAME SWIG_RUNTIME_VERSION);
2404 if (!ov.is_defined() ||
2405 ov.type_id() != octave_swig_packed::static_type_id())
2406 return 0;
2407 const octave_swig_packed* osp =
2408 static_cast < const octave_swig_packed *> (ov.internal_rep());
2409 swig_module_info *pointer = 0;
2410 osp->copy(0, &pointer, sizeof(swig_module_info *));
2411 return pointer;
2412}
2413
2414SWIGRUNTIME void SWIG_Octave_SetModule(void *clientdata, swig_module_info *pointer) {
2415 octave_value ov = new octave_swig_packed(0, &pointer, sizeof(swig_module_info *));
2417}
2418
2419
2420SWIGINTERN void SWIG_Octave_Raise(const octave_value &obj, const char *type) {
2421 if (obj.is_string())
2422 error("%s", obj.string_value().c_str());
2423 else
2424 error("C++ side threw an exception of type %s", type);
2425}
2426
2427
2428
2429#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2430
2431#define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0)
2432
2433
2434
2435/* -------- TYPES TABLE (BEGIN) -------- */
2436
2437#define SWIGTYPE_p_PLGraphicsIn swig_types[0]
2438#define SWIGTYPE_p_char swig_types[1]
2439#define SWIGTYPE_p_double swig_types[2]
2440#define SWIGTYPE_p_f_double_double_p_double_p_double_p_void__void swig_types[3]
2441#define SWIGTYPE_p_f_int_double_p_char_int_p_void__void swig_types[4]
2442#define SWIGTYPE_p_f_int_p_double_p_double__void swig_types[5]
2443#define SWIGTYPE_p_int swig_types[6]
2444#define SWIGTYPE_p_p_char swig_types[7]
2445#define SWIGTYPE_p_unsigned_int swig_types[8]
2447static swig_module_info swig_module = {swig_types, 9, 0, 0, 0, 0};
2448#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2449#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2450
2451/* -------- TYPES TABLE (END) -------- */
2452
2453
2454#ifdef __cplusplus
2455#include <utility>
2456/* SwigValueWrapper is described in swig.swg */
2457template<typename T> class SwigValueWrapper {
2458 struct SwigSmartPointer {
2459 T *ptr;
2460 SwigSmartPointer(T *p) : ptr(p) { }
2461 ~SwigSmartPointer() { delete ptr; }
2462 SwigSmartPointer& operator=(SwigSmartPointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
2463 void reset(T *p) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = p; }
2464 } pointer;
2465 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
2466 SwigValueWrapper(const SwigValueWrapper<T>& rhs);
2467public:
2468 SwigValueWrapper() : pointer(0) { }
2469 SwigValueWrapper& operator=(const T& t) { SwigSmartPointer tmp(new T(t)); pointer = tmp; return *this; }
2470#if __cplusplus >= 201103L
2471 SwigValueWrapper& operator=(T&& t) { SwigSmartPointer tmp(new T(std::move(t))); pointer = tmp; return *this; }
2472 operator T&&() const { return std::move(*pointer.ptr); }
2473#else
2474 operator T&() const { return *pointer.ptr; }
2475#endif
2476 T *operator&() const { return pointer.ptr; }
2477 static void reset(SwigValueWrapper& t, T *p) { t.pointer.reset(p); }
2478};
2479
2480/*
2481 * SwigValueInit() is a generic initialisation solution as the following approach:
2482 *
2483 * T c_result = T();
2484 *
2485 * doesn't compile for all types for example:
2486 *
2487 * unsigned int c_result = unsigned int();
2488 */
2489template <typename T> T SwigValueInit() {
2490 return T();
2491}
2492
2493#if __cplusplus >= 201103L
2494# define SWIG_STD_MOVE(OBJ) std::move(OBJ)
2495#else
2496# define SWIG_STD_MOVE(OBJ) OBJ
2497#endif
2498
2499#if __cplusplus >= 201103L
2500# define SWIG_OVERRIDE override
2501#else
2502# define SWIG_OVERRIDE
2503#endif
2504
2505#endif
2506
2507
2508#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2509#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2510
2511
2512#include <stdexcept>
2513
2514
2515// #undef PACKAGE and VERSION macros which are leaked out by the octave headers
2516#undef PACKAGE
2517#undef VERSION
2518
2519#include "plplotP.h"
2520
2521// Temporary fix for problems with -fvisibility=hidden and octave headers.
2522#ifdef OCTAVE_EXPORT
2523 #if defined ( __GNUC__ ) && __GNUC__ > 3
2524 #undef OCTAVE_EXPORT
2525 #define OCTAVE_EXPORT __attribute__ ( ( visibility( "default" ) ) )
2526 #endif
2527#endif
2528
2529
2530
2531// I hate global variables but this is the best way I can think of
2532// to manage consistency checking among function arguments.
2533 static PLINT Alen = 0;
2534 static PLINT Xlen = 0, Ylen = 0;
2535
2536
2537// Convenience functions copied from matwrap-based approach (currently
2538// stored in bindings/octave/matwrap/wrap_octave.pl) to take care of the
2539// tricky scalar case and also adopted so that the resulting
2540// swig-generated source code will look similar to the matwrap-generated
2541// source code.
2542
2543 inline int max( int a, int b )
2544 {
2545 return a >= b ? a : b;
2546 }
2547 inline int min( int a, int b )
2548 {
2549 return a >= b ? a : b;
2550 }
2551
2552//
2553// Function to get the total length (rows*columns) of an octave object of
2554// arbitrary type.
2555// Arguments:
2556// 1) The octave object.
2557//
2558// If the object is a scalar, the array length is 1.
2559//
2560 static int
2561 _arraylen( const octave_value &o_obj )
2562 {
2563 return max( o_obj.rows(), 1 ) * max( o_obj.columns(), 1 ); // Return the size.
2564 // max is necessary because sometimes
2565 // rows() or columns() return -1 or 0 for
2566 // scalars.
2567 }
2568
2569//
2570// Function to get the number of dimensions of an object.
2571//
2572 static int
2573 _n_dims( const octave_value &o_obj )
2574 {
2575 if ( max( o_obj.columns(), 1 ) > 1 )
2576 return 2;
2577 // max is necessary because sometimes
2578 // rows() or columns() return -1 or 0 for
2579 // scalars.
2580 else if ( max( o_obj.rows(), 1 ) > 1 )
2581 return 1;
2582 else
2583 return 0;
2584 }
2585
2586//
2587// Return the n'th dimension of an object. Dimension 0 is the 1st dimension.
2588//
2589 static inline int
2590 _dim( const octave_value &o_obj, int dim_idx )
2591 {
2592 if ( dim_idx == 0 )
2593 return max( o_obj.rows(), 0 );
2594 // max is necessary because sometimes
2595 // rows() or columns() return -1 or 0 for
2596 // scalars.
2597 else if ( dim_idx == 1 )
2598 return max( o_obj.columns(), 0 );
2599 else
2600 return 1;
2601 }
2602
2603//
2604// The following function converts an array of doubles into some other
2605// numeric type. Arguments:
2606// 1) Where to store the result. The type is determined from the type of
2607// this pointer.
2608// 2) A vector of doubles to convert.
2609// 3) The number of doubles.
2610//
2611 template <class FLOAT>
2612 static inline void
2613 _cvt_double_to( FLOAT *out_arr, double *in_arr, unsigned n_el )
2614 {
2615 while ( n_el-- > 0 )
2616 *out_arr++ = (FLOAT) ( *in_arr++ );
2617 }
2618
2619 template void _cvt_double_to( int *, double *, unsigned );
2620 template void _cvt_double_to( unsigned *, double *, unsigned );
2621 template void _cvt_double_to( long *, double *, unsigned );
2622 template void _cvt_double_to( unsigned long *, double *, unsigned );
2623 template void _cvt_double_to( short *, double *, unsigned );
2624 template void _cvt_double_to( unsigned short *, double *, unsigned );
2625 template void _cvt_double_to( float *, double *, unsigned );
2626 // Instantiate our templates. Octave uses
2627 // manual template instantiation.
2628
2629//
2630// Convert an array of some other type into an array of doubles. Arguments:
2631// 1) The array of objects of other type.
2632// 2) The output array of doubles.
2633// 3) The number of elements to convert.
2634//
2635 template <class FLOAT>
2636 static inline void
2637 _cvt_to_double( FLOAT *arr, double *d_arr, unsigned n_el )
2638 {
2639 while ( n_el-- > 0 )
2640 *d_arr++ = double(*arr++);
2641 }
2642
2643 template void _cvt_to_double( int *, double *, unsigned );
2644 template void _cvt_to_double( unsigned *, double *, unsigned );
2645 template void _cvt_to_double( long *, double *, unsigned );
2646 template void _cvt_to_double( unsigned long *, double *, unsigned );
2647 template void _cvt_to_double( short *, double *, unsigned );
2648 template void _cvt_to_double( unsigned short *, double *, unsigned );
2649 template void _cvt_to_double( float *, double *, unsigned );
2650 // Instantiate our templates. Octave uses
2651 // manual template instantiation.
2652
2653
2654 typedef PLINT ( *defined_func )( PLFLT, PLFLT );
2655 typedef void ( *fill_func )( PLINT, const PLFLT*, const PLFLT* );
2656 typedef void ( *pltr_func )( PLFLT, PLFLT, PLFLT *, PLFLT*, PLPointer );
2657 typedef void ( *ct_func )( PLFLT, PLFLT, PLFLT *, PLFLT*, PLPointer );
2658 typedef void ( *mapform_func )( PLINT, PLFLT *, PLFLT* );
2660 typedef void ( *label_func )( PLINT, PLFLT, char*, PLINT, PLPointer );
2661
2662
2663#include <iostream>
2664
2665 octave_function *fcnMapForm;
2666 std::string nameMapForm;
2667
2669 {
2670 octave_idx_type i;
2671 octave_value_list functionArguments;
2672 octave_value_list retval;
2673
2674 Matrix xin( n, 1 );
2675 Matrix yin( n, 1 );
2676 Matrix xout;
2677 Matrix yout;
2678
2679 for ( i = 0; i < n; i++ )
2680 {
2681 xin( i, 0 ) = x[i];
2682 yin( i, 0 ) = y[i];
2683 }
2684
2685 functionArguments( 0 ) = xin;
2686 functionArguments( 1 ) = yin;
2687
2688 if ( fcnMapForm != NULL )
2689#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
2690 retval = octave::feval( fcnMapForm, functionArguments, 1 );
2691#else
2692 retval = feval( fcnMapForm, functionArguments, 1 );
2693#endif
2694 else
2695#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
2696 retval = octave::feval( nameMapForm, functionArguments, 1 );
2697#else
2698 retval = feval( nameMapForm, functionArguments, 1 );
2699#endif
2700
2701 if ( retval.length() >= 2 )
2702 {
2703 xout = retval( 0 ).matrix_value();
2704 yout = retval( 1 ).matrix_value();
2705
2706 for ( i = 0; i < n; i++ )
2707 {
2708 x[i] = xout( i, 0 );
2709 y[i] = yout( i, 0 );
2710 }
2711 }
2712 }
2713
2714
2715 octave_function *fcnLabelFunc;
2716 std::string nameLabelFunc;
2717
2718 void labelfunc_octave( PLINT axis, PLFLT value, char *label, PLINT length, PLPointer data )
2719 {
2720 int i;
2721 octave_value_list functionArguments;
2722 octave_value_list retval;
2723
2724 Matrix inAxis( 1, 1 );
2725 Matrix inValue( 1, 1 );
2726 inAxis( 0, 0 ) = axis;
2727 inValue( 0, 0 ) = value;
2728
2729 functionArguments( 0 ) = inAxis;
2730 functionArguments( 1 ) = inValue;
2731
2732 if ( fcnLabelFunc != NULL )
2733#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
2734 retval = octave::feval( fcnLabelFunc, functionArguments, 1 );
2735#else
2736 retval = feval( fcnLabelFunc, functionArguments, 1 );
2737#endif
2738 else
2739#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
2740 retval = octave::feval( nameLabelFunc, functionArguments, 1 );
2741#else
2742 retval = feval( nameLabelFunc, functionArguments, 1 );
2743#endif
2744
2745 strncpy( label, retval( 0 ).string_value().c_str(), length );
2746 }
2747
2748
2749 octave_function *fcnCoordTrans;
2750 std::string nameCoordTrans;
2751
2752 void ct_octave( PLFLT x, PLFLT y, PLFLT *xt, PLFLT *yt, PLPointer data )
2753 {
2754 octave_idx_type i;
2755 octave_value_list functionArguments;
2756 octave_value_list retval;
2757
2758 Matrix xin( 1, 1 );
2759 Matrix yin( 1, 1 );
2760 Matrix xout;
2761 Matrix yout;
2762
2763 xin( 0, 0 ) = x;
2764 yin( 0, 0 ) = y;
2765
2766 functionArguments( 0 ) = xin;
2767 functionArguments( 1 ) = yin;
2768
2769 if ( fcnCoordTrans != NULL )
2770#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
2771 retval = octave::feval( fcnCoordTrans, functionArguments, 1 );
2772#else
2773 retval = feval( fcnCoordTrans, functionArguments, 1 );
2774#endif
2775 else
2776#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
2777 retval = octave::feval( nameCoordTrans, functionArguments, 1 );
2778#else
2779 retval = feval( nameCoordTrans, functionArguments, 1 );
2780#endif
2781
2782 if ( retval.length() >= 2 )
2783 {
2784 xout = retval( 0 ).matrix_value();
2785 yout = retval( 1 ).matrix_value();
2786
2787 *xt = xout( 0, 0 );
2788 *yt = yout( 0, 0 );
2789 }
2790 }
2791
2792
2793 void testppchar( PLINT nlegend, const PLINT *opt_array, const char ** text )
2794 {
2795 PLINT i;
2796 printf( "nlegend =%d\n", nlegend );
2797 for ( i = 0; i < nlegend; i++ )
2798 {
2799 printf( "opt_array[%d] =%d\n", i, opt_array[i] );
2800 printf( "strlen(text[%d]) =%d\n", i, (int) strlen( text[i] ) );
2801 printf( "text[%d] =%s\n", i, text[i] );
2802 }
2803 }
2804
2805
2806#include <limits.h>
2807#if !defined(SWIG_NO_LLONG_MAX)
2808# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
2809# define LLONG_MAX __LONG_LONG_MAX__
2810# define LLONG_MIN (-LLONG_MAX - 1LL)
2811# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
2812# endif
2813#endif
2814
2815
2816 SWIGINTERN int SWIG_AsVal_long (const octave_value& ov, long* val)
2817 {
2818 if (!ov.is_scalar_type())
2819 return SWIG_TypeError;
2820 if (ov.is_complex_scalar())
2821 return SWIG_TypeError;
2822 if (ov.is_double_type()||ov.is_single_type()) {
2823 double v=ov.double_value();
2824 if (v!=floor(v))
2825 return SWIG_TypeError;
2826 }
2827 if (val)
2828 *val = ov.long_value();
2829 return SWIG_OK;
2830 }
2831
2832
2833SWIGINTERN int
2834SWIG_AsVal_int (octave_value obj, int *val)
2835{
2836 long v;
2837 int res = SWIG_AsVal_long (obj, &v);
2838 if (SWIG_IsOK(res)) {
2839 if ((v < INT_MIN || v > INT_MAX)) {
2840 return SWIG_OverflowError;
2841 } else {
2842 if (val) *val = static_cast< int >(v);
2843 }
2844 }
2845 return res;
2846}
2847
2848
2849 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 )
2850 {
2851 PLGraphicsIn gin;
2852 int status; status = plGetCursor( &gin );
2853 *subwin = gin.subwindow; *state = gin.state; *keysym = gin.keysym; *button = gin.button;
2854 strncpy( string, gin.string, PL_MAXKEY - 1 );
2855 string[PL_MAXKEY - 1] = '\0';
2856
2857 *pX = gin.pX; *pY = gin.pY; *dX = gin.dX; *dY = gin.dY; *wX = gin.wX; *wY = gin.wY;
2858 return status;
2859 }
2860
2861
2862SWIGINTERN int
2863SWIG_AsCharPtrAndSize(octave_value ov, char** cptr, size_t* psize, int *alloc)
2864{
2865 int is_binary = (alloc != NULL) && SWIG_IsBinaryStr(*alloc);
2866 if (ov.iscell() && ov.rows() == 1 && ov.columns() == 1)
2867 ov = ov.cell_value()(0);
2868
2869 if (ov.is_string()) {
2870 std::string str=ov.string_value();
2871 size_t len=str.size();
2872 char* cstr=(char*)str.c_str();
2873 if (alloc) {
2874 *cptr = reinterpret_cast< char* >(memcpy(new char[len + 1], cstr, sizeof(char)*(len + 1)));
2875 *alloc = SWIG_NEWOBJ;
2876 } else if (cptr)
2877 *cptr = cstr;
2878 if (psize)
2879 *psize = is_binary ? len : len + 1;
2880 } else if (!ov.is_defined() || (ov.is_matrix_type() && ov.rows() == 0 && ov.columns() == 0) ) {
2881 if (cptr)
2882 *cptr = 0;
2883 } else {
2884 return SWIG_TypeError;
2885 }
2886 return SWIG_OK;
2887}
2888
2889
2890
2891
2892
2894 {
2895 return octave_value(value);
2896 }
2897
2898
2899SWIGINTERNINLINE octave_value
2901{
2902 return SWIG_From_long (value);
2903}
2904
2905
2907 {
2908 return octave_value(value);
2909 }
2910
2911
2912// Translates relative device coordinates to world coordinates.
2913 static int my_plTranslateCursor( PLFLT *x, PLFLT *y, PLFLT x_in, PLFLT y_in )
2914 {
2915 PLGraphicsIn gin;
2916 int st;
2917 gin.dX = x_in; gin.dY = y_in;
2918 st = plTranslateCursor( &gin );
2919 *x = gin.wX; *y = gin.wY;
2920 return st;
2921 }
2922
2923
2924 SWIGINTERN int SWIG_AsVal_double (const octave_value& ov, double* val)
2925 {
2926 if (!ov.is_scalar_type())
2927 return SWIG_TypeError;
2928 if (ov.is_complex_scalar())
2929 return SWIG_TypeError;
2930 if (val)
2931 *val = ov.double_value();
2932 return SWIG_OK;
2933 }
2934
2935
2936// Create 1d stripchart
2937
2938 void my_plstripc( PLINT *id, const char *xspec, const char *yspec,
2939 PLFLT xmin, PLFLT xmax, PLFLT xjump, PLFLT ymin, PLFLT ymax,
2940 PLFLT xlpos, PLFLT ylpos,
2941 PLBOOL y_ascl, PLBOOL acc,
2942 PLINT colbox, PLINT collab,
2943 const PLINT *colline, const PLINT *styline,
2944 const char *legline1, const char *legline2, const char *legline3, const char *legline4,
2945 const char *labx, const char *laby, const char *labtop )
2946 {
2947 const char *legline[4];
2948 legline[0] = legline1; legline[1] = legline2;
2949 legline[2] = legline3; legline[3] = legline4;
2950 c_plstripc( id, xspec, yspec, xmin, xmax, xjump, ymin, ymax,
2951 xlpos, ylpos, y_ascl, acc, colbox, collab, colline, styline, legline,
2952 labx, laby, labtop );
2953 }
2954
2955
2956// One more hack. As it is not possible (and would not be desirable) to pass
2957// an Octave function to plcont(), I have defined three plcont():
2958// plcont uses a defined here xform()
2959// plcont0 uses pltr0()
2960// plcont1 uses pltr1()
2961// plcont2 uses pltr2()
2962// plcont2p uses pltr2p()
2963//
2964// Also, as plplot expect vectorized bidimensional arrays, I provided a
2965// f2c, which is a #define that does the necessary conversion.
2966//
2967
2968 void xform( PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data )
2969 {
2970 *tx = *( (PLFLT *) pltr_data + 0 ) * x + *( (PLFLT *) pltr_data + 1 ) * y + *( (PLFLT *) pltr_data + 2 );
2971 *ty = *( (PLFLT *) pltr_data + 3 ) * x + *( (PLFLT *) pltr_data + 4 ) * y + *( (PLFLT *) pltr_data + 5 );
2972 }
2973
2974// convert from Fortran like arrays (one vector), to C like 2D arrays
2975
2976#define f2c( f, ff, nx, ny ) \
2977 PLFLT * *ff; \
2978 ff = (PLFLT **) alloca( nx * sizeof ( PLFLT * ) ); \
2979 for ( int i = 0; i < nx; i++ ) { \
2980 ff[i] = (PLFLT *) alloca( ny * sizeof ( PLFLT ) ); \
2981 for ( int j = 0; j < ny; j++ ) \
2982 *( ff[i] + j ) = *( f + nx * j + i );}
2983
2984// simpler plcont() for use with xform()
2985
2986 void my_plcont( const PLFLT *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky,
2987 PLINT ly, const PLFLT *clevel, PLINT nlevel, PLFLT *tr )
2988 {
2989 f2c( f, ff, nx, ny );
2990 c_plcont( (const PLFLT **) ff, nx, ny, kx, lx, ky, ly, clevel, nlevel, xform, tr );
2991 }
2992
2993// plcont() for use with pltr0() NOT TESTED
2994
2995 void my_plcont0( const PLFLT *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky,
2996 PLINT ly, const PLFLT *clevel, PLINT nlevel )
2997 {
2998 f2c( f, ff, nx, ny );
2999 c_plcont( (const PLFLT **) ff, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr0, NULL );
3000 }
3001
3002// plcont() for use with pltr1()
3003
3004 void my_plcont1( const PLFLT *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky,
3005 PLINT ly, const PLFLT *clevel, PLINT nlevel, const PLFLT *xg, const PLFLT *yg )
3006 {
3007 PLcGrid grid1;
3008 grid1.nx = nx; grid1.ny = ny;
3009 grid1.xg = (PLFLT *) xg; grid1.yg = (PLFLT *) yg;
3010 f2c( f, ff, nx, ny );
3011 c_plcont( (const PLFLT **) ff, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr1, &grid1 );
3012 }
3013
3014// plcont() for use with pltr2()
3015 void my_plcont2( const PLFLT *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky,
3016 PLINT ly, const PLFLT *clevel, PLINT nlevel, const PLFLT *xg, const PLFLT *yg )
3017 {
3018 PLcGrid2 grid2;
3019 f2c( xg, xgg, nx, ny );
3020 f2c( yg, ygg, nx, ny );
3021 grid2.nx = nx; grid2.ny = ny;
3022 grid2.xg = xgg; grid2.yg = ygg;
3023 f2c( f, ff, nx, ny );
3024 c_plcont( (const PLFLT **) ff, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr2, &grid2 );
3025 }
3026
3027// plcont() for use with pltr2p()
3028
3029 void my_plcont2p( const PLFLT *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky,
3030 PLINT ly, const PLFLT *clevel, PLINT nlevel, const PLFLT *xg, const PLFLT *yg )
3031 {
3032 PLcGrid2 grid2;
3033 f2c( xg, xgg, nx, ny );
3034 f2c( yg, ygg, nx, ny );
3035 grid2.nx = nx; grid2.ny = ny;
3036 grid2.xg = xgg; grid2.yg = ygg;
3037 f2c( f, ff, nx, ny );
3038 c_plcont( (const PLFLT **) ff, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr2, &grid2 );
3039 }
3040
3041
3042 void my_plgriddata( const PLFLT *x, const PLFLT *y, const PLFLT *z, int npts,
3043 const PLFLT *xg, int nptsx, const PLFLT *yg, int nptsy,
3044 PLFLT *zg, int type, PLFLT data )
3045 {
3046 f2c( zg, zgg, nptsx, nptsy );
3047 plgriddata( x, y, z, npts, xg, nptsx, yg, nptsy, zgg, type, data );
3048 for ( int i = 0; i < nptsx; i++ )
3049 for ( int j = 0; j < nptsy; j++ )
3050 *( zg + nptsx * j + i ) = zgg[i][j];
3051 }
3052
3053
3054// Plots a mesh representation of the function z[x][y].
3055
3056 void my_plmesh( const PLFLT *x, const PLFLT *y, const PLFLT *z, PLINT nx, PLINT ny, PLINT opt )
3057 {
3058 f2c( z, zz, nx, ny );
3059 c_plmesh( x, y, (const PLFLT **) zz, nx, ny, opt );
3060 }
3061
3062// Plots a mesh representation of the function z[x][y] with contour
3063
3064 void my_plmeshc( const PLFLT *x, const PLFLT *y, const PLFLT *z, PLINT nx, PLINT ny, PLINT opt, const PLFLT *clevel, PLINT nlevel )
3065 {
3066 f2c( z, zz, nx, ny );
3067 c_plmeshc( x, y, (const PLFLT **) zz, nx, ny, opt, clevel, nlevel );
3068 }
3069
3070
3071// Plots a 3-d representation of the function z[x][y].
3072 void my_plot3d( const PLFLT *x, const PLFLT *y, const PLFLT *z,
3073 PLINT nx, PLINT ny, PLINT opt, PLINT side )
3074 {
3075 f2c( z, zz, nx, ny );
3076 c_plot3d( x, y, (const PLFLT **) zz, nx, ny, opt, side );
3077 }
3078
3079// Plots a 3-d representation of the function z[x][y] with contour
3080 void my_plot3dc( const PLFLT *x, const PLFLT *y, const PLFLT *z,
3081 PLINT nx, PLINT ny, PLINT opt,
3082 const PLFLT *clevel, PLINT nlevel )
3083 {
3084 f2c( z, zz, nx, ny );
3085 c_plot3dc( x, y, (const PLFLT **) zz, nx, ny, opt, clevel, nlevel );
3086 }
3087// Plots a 3-d representation of the function z[x][y] with contour with y
3088// index limits
3089 void my_plot3dcl( const PLFLT * x, const PLFLT * y, const PLFLT * z,
3090 PLINT nx, PLINT ny, PLINT opt,
3091 const PLFLT * clevel, PLINT nlevel,
3092 PLINT indexxmin, PLINT indexxmax, const PLINT * indexymin, const PLINT * indexymax )
3093 {
3094 f2c( z, zz, nx, ny );
3095 c_plot3dcl( x, y, (const PLFLT **) zz, nx, ny, opt, clevel, nlevel,
3096 indexxmin, indexxmax, indexymin, indexymax );
3097 }
3098
3099
3100 void my_plsurf3d( const PLFLT *x, const PLFLT *y, const PLFLT *z,
3101 PLINT nx, PLINT ny, PLINT opt, const PLFLT *clevel, PLINT nlevel )
3102 {
3103 f2c( z, zz, nx, ny );
3104 c_plsurf3d( x, y, (const PLFLT **) zz, nx, ny, opt, clevel, nlevel );
3105 }
3106
3107 void my_plsurf3dl( const PLFLT * x, const PLFLT * y, const PLFLT * z,
3108 PLINT nx, PLINT ny, PLINT opt, const PLFLT * clevel, PLINT nlevel,
3109 PLINT indexxmin, PLINT indexxmax, const PLINT * indexymin, const PLINT * indexymax )
3110 {
3111 f2c( z, zz, nx, ny );
3112 c_plsurf3dl( x, y, (const PLFLT **) zz, nx, ny, opt, clevel, nlevel,
3113 indexxmin, indexxmax, indexymin, indexymax );
3114 }
3115
3116
3117// The same as in plcont. I have hardcoded the first function pointer
3118// to plfill(). The second function pointer will use the same convention
3119// as in plcont().
3120//
3121
3122// the simpler plshade()
3123 void my_plshade( const PLFLT *a, PLINT nx, PLINT ny, const PLFLT *defined,
3124 PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
3125 PLFLT shade_min, PLFLT shade_max,
3126 PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
3127 PLINT min_color, PLINT min_width,
3128 PLINT max_color, PLINT max_width,
3129 PLINT rectangular, PLFLT *tr )
3130 {
3131 f2c( a, aa, nx, ny );
3132 c_plshade( (const PLFLT **) aa, nx, ny, NULL, left, right, bottom, top,
3133 shade_min, shade_max, sh_cmap, sh_color, sh_width,
3134 min_color, min_width, max_color, max_width,
3135 plfill, rectangular, xform, tr );
3136 }
3137
3138// plshade() for use with pltr1
3139 void my_plshade1( const PLFLT *a, PLINT nx, PLINT ny, const char *defined,
3140 PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
3141 PLFLT shade_min, PLFLT shade_max,
3142 PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
3143 PLINT min_color, PLINT min_width,
3144 PLINT max_color, PLINT max_width,
3145 PLINT rectangular, const PLFLT *xg, const PLFLT *yg )
3146 {
3147 PLcGrid grid1;
3148 grid1.nx = nx; grid1.ny = ny;
3149 grid1.xg = (PLFLT *) xg; grid1.yg = (PLFLT *) yg;
3150 f2c( a, aa, nx, ny );
3151 c_plshade( (const PLFLT **) aa, nx, ny, NULL, left, right, bottom, top,
3152 shade_min, shade_max, sh_cmap, sh_color, sh_width,
3153 min_color, min_width, max_color, max_width,
3154 plfill, rectangular, pltr1, &grid1 );
3155 }
3156
3157// plshade() for use with pltr2
3158 void my_plshade2( const PLFLT *a, PLINT nx, PLINT ny, const char *defined,
3159 PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
3160 PLFLT shade_min, PLFLT shade_max,
3161 PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
3162 PLINT min_color, PLINT min_width,
3163 PLINT max_color, PLINT max_width,
3164 PLINT rectangular, const PLFLT *xg, const PLFLT *yg )
3165 {
3166 PLcGrid2 grid2;
3167 f2c( xg, xgg, nx, ny );
3168 f2c( yg, ygg, nx, ny );
3169 grid2.nx = nx; grid2.ny = ny;
3170 grid2.xg = xgg; grid2.yg = ygg;
3171 f2c( a, aa, nx, ny );
3172 c_plshade( (const PLFLT **) aa, nx, ny, NULL, left, right, bottom, top,
3173 shade_min, shade_max, sh_cmap, sh_color, sh_width,
3174 min_color, min_width, max_color, max_width,
3175 plfill, rectangular, pltr2, &grid2 );
3176 }
3177
3178
3179
3180 void my_plshades( const PLFLT *a, PLINT nx, PLINT ny,
3181 PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
3182 const PLFLT *clevel, PLINT nlevel, PLINT fill_width,
3183 PLINT cont_color, PLINT cont_width,
3184 PLINT rectangular )
3185 {
3186 f2c( a, aa, nx, ny );
3187 c_plshades( (const PLFLT **) aa, nx, ny, NULL, left, right, bottom, top,
3188 clevel, nlevel, fill_width, cont_color, cont_width,
3189 plfill, rectangular, NULL, NULL );
3190 }
3191
3192 void my_plshadesx( const PLFLT *a, PLINT nx, PLINT ny,
3193 PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
3194 const PLFLT *clevel, PLINT nlevel, PLINT fill_width,
3195 PLINT cont_color, PLINT cont_width,
3196 PLINT rectangular, PLFLT *tr )
3197 {
3198 f2c( a, aa, nx, ny );
3199 c_plshades( (const PLFLT **) aa, nx, ny, NULL, left, right, bottom, top,
3200 clevel, nlevel, fill_width, cont_color, cont_width,
3201 plfill, rectangular, xform, tr );
3202 }
3203
3204 void my_plshades1( const PLFLT *a, PLINT nx, PLINT ny,
3205 PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
3206 const PLFLT *clevel, PLINT nlevel, PLINT fill_width,
3207 PLINT cont_color, PLINT cont_width,
3208 PLINT rectangular, const PLFLT *xg, const PLFLT *yg )
3209 {
3210 PLcGrid grid1;
3211 grid1.nx = nx; grid1.ny = ny;
3212 grid1.xg = (PLFLT *) xg; grid1.yg = (PLFLT *) yg;
3213
3214 f2c( a, aa, nx, ny );
3215 c_plshades( (const PLFLT **) aa, nx, ny, NULL, left, right, bottom, top,
3216 clevel, nlevel, fill_width, cont_color, cont_width,
3217 plfill, rectangular, pltr1, &grid1 );
3218 }
3219
3220 void my_plshades2( const PLFLT *a, PLINT nx, PLINT ny,
3221 PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
3222 const PLFLT *clevel, PLINT nlevel, PLINT fill_width,
3223 PLINT cont_color, PLINT cont_width,
3224 PLINT rectangular, const PLFLT *xg, const PLFLT *yg )
3225 {
3226 PLcGrid2 grid2;
3227 f2c( xg, xgg, nx, ny );
3228 f2c( yg, ygg, nx, ny );
3229 grid2.nx = nx; grid2.ny = ny;
3230 grid2.xg = xgg; grid2.yg = ygg;
3231 f2c( a, aa, nx, ny );
3232 c_plshades( (const PLFLT **) aa, nx, ny, NULL, left, right, bottom, top,
3233 clevel, nlevel, fill_width, cont_color, cont_width,
3234 plfill, rectangular, pltr2, &grid2 );
3235 }
3236
3237
3238// Plot an array of vector arrows - uses the same function pointer
3239// convention as plcont
3240
3241 void my_plvect( const PLFLT *u, const PLFLT *v, PLINT nx, PLINT ny, PLFLT scale, PLFLT *tr )
3242 {
3243 f2c( u, uu, nx, ny );
3244 f2c( v, vv, nx, ny );
3245 c_plvect( (const PLFLT **) uu, (const PLFLT **) vv, nx, ny, scale, xform, tr );
3246 }
3247
3248// plvect() for use with pltr1
3249 void my_plvect1( const PLFLT *u, const PLFLT *v, PLINT nx, PLINT ny, PLFLT scale, const PLFLT *xg, const PLFLT *yg )
3250 {
3251 PLcGrid grid1;
3252 grid1.nx = nx; grid1.ny = ny;
3253 grid1.xg = (PLFLT *) xg; grid1.yg = (PLFLT *) yg;
3254 f2c( u, uu, nx, ny );
3255 f2c( v, vv, nx, ny );
3256 c_plvect( (const PLFLT **) uu, (const PLFLT **) vv, nx, ny, scale, pltr1, &grid1 );
3257 }
3258
3259// plvect() for use with pltr2
3260 void my_plvect2( const PLFLT *u, const PLFLT *v, PLINT nx, PLINT ny, PLFLT scale, const PLFLT *xg, const PLFLT *yg )
3261 {
3262 PLcGrid2 grid2;
3263 f2c( xg, xgg, nx, ny );
3264 f2c( yg, ygg, nx, ny );
3265 grid2.nx = nx; grid2.ny = ny;
3266 grid2.xg = xgg; grid2.yg = ygg;
3267 f2c( u, uu, nx, ny );
3268 f2c( v, vv, nx, ny );
3269 c_plvect( (const PLFLT **) uu, (const PLFLT **) vv, nx, ny, scale, pltr2, &grid2 );
3270 }
3271
3272
3273// Plot an image with distortion - uses the same function pointer
3274 void my_plimage( const PLFLT *a, PLINT nx, PLINT ny,
3275 PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
3276 PLFLT zmin, PLFLT zmax,
3277 PLFLT dxmin, PLFLT dxmax, PLFLT dymin, PLFLT dymax )
3278 {
3279 f2c( a, aa, nx, ny );
3280 plimage( (const PLFLT **) aa, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, dxmin, dxmax, dymin, dymax );
3281 }
3282
3283// Plot an image with distortion - uses the same function pointer
3284// convention as plcont
3285 void my_plimagefr( const PLFLT *a, PLINT nx, PLINT ny,
3286 PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
3287 PLFLT zmin, PLFLT zmax,
3288 PLFLT valuemin, PLFLT valuemax )
3289 {
3290 f2c( a, aa, nx, ny );
3291 plimagefr( (const PLFLT **) aa, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, NULL, NULL );
3292 }
3293
3294 void my_plimagefrx( const PLFLT *a, PLINT nx, PLINT ny,
3295 PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
3296 PLFLT zmin, PLFLT zmax,
3297 PLFLT valuemin, PLFLT valuemax, PLFLT *tr )
3298 {
3299 f2c( a, aa, nx, ny );
3300 plimagefr( (const PLFLT **) aa, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, xform, tr );
3301 }
3302
3303// plimagefr() for use with pltr1
3304 void my_plimagefr1( const PLFLT *a, PLINT nx, PLINT ny,
3305 PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
3306 PLFLT zmin, PLFLT zmax,
3307 PLFLT valuemin, PLFLT valuemax, const PLFLT *xg, const PLFLT *yg )
3308 {
3309 PLcGrid grid1;
3310 grid1.nx = nx + 1; grid1.ny = ny + 1;
3311 grid1.xg = (PLFLT *) xg; grid1.yg = (PLFLT *) yg;
3312 f2c( a, aa, nx, ny );
3313 c_plimagefr( (const PLFLT **) aa, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr1, &grid1 );
3314 }
3315
3316// plimagefr() for use with pltr2
3317 void my_plimagefr2( const PLFLT *a, PLINT nx, PLINT ny,
3318 PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
3319 PLFLT zmin, PLFLT zmax,
3320 PLFLT valuemin, PLFLT valuemax, const PLFLT *xg, const PLFLT *yg )
3321 {
3322 PLcGrid2 grid2;
3323 f2c( xg, xgg, ( nx + 1 ), ( ny + 1 ) );
3324 f2c( yg, ygg, ( nx + 1 ), ( ny + 1 ) );
3325 grid2.nx = nx + 1; grid2.ny = ny + 1;
3326 grid2.xg = xgg; grid2.yg = ygg;
3327 f2c( a, aa, nx, ny );
3328 c_plimagefr( (const PLFLT **) aa, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr2, &grid2 );
3329 }
3330
3331
3332
3333 void my_plcolorbar( PLFLT *p_colorbar_width, PLFLT *p_colorbar_height,
3334 PLINT opt, PLINT position, PLFLT x, PLFLT y,
3335 PLFLT x_length, PLFLT y_length,
3336 PLINT bg_color, PLINT bb_color, PLINT bb_style,
3337 PLFLT low_cap_color, PLFLT high_cap_color,
3338 PLINT cont_color, PLFLT cont_width,
3339 PLINT n_labels, const PLINT *label_opts, const char **label,
3340 PLINT n_axes, const char ** axis_opts,
3341 const PLFLT *ticks, const PLINT *sub_ticks,
3342 const PLINT *n_values, const PLFLT *a )
3343 {
3344 PLINT nx, ny, i;
3345 nx = n_axes;
3346 ny = -1;
3347 for ( i = 0; i < nx; i++ )
3348 if ( n_values[i] > ny )
3349 ny = n_values[i];
3350 f2c( a, aa, nx, ny );
3351 c_plcolorbar( p_colorbar_width, p_colorbar_height,
3352 opt, position, x, y,
3353 x_length, y_length,
3354 bg_color, bb_color, bb_style,
3355 low_cap_color, high_cap_color,
3356 cont_color, cont_width,
3357 n_labels, label_opts, label,
3358 n_axes, axis_opts,
3359 ticks, sub_ticks,
3360 n_values, aa );
3361 }
3362
3363
3364
3365 SWIGINTERN int SWIG_AsVal_unsigned_SS_long (const octave_value& ov, unsigned long* val)
3366 {
3367 if (!ov.is_scalar_type())
3368 return SWIG_TypeError;
3369 if (ov.is_complex_scalar())
3370 return SWIG_TypeError;
3371 if (ov.is_double_type()||ov.is_single_type()) {
3372 double v=ov.double_value();
3373 if (v<0)
3374 return SWIG_OverflowError;
3375 if (v!=floor(v))
3376 return SWIG_TypeError;
3377 }
3378 if (ov.is_int8_type()||ov.is_int16_type()||
3379 ov.is_int32_type()) {
3380 long v=ov.long_value();
3381 if (v<0)
3382 return SWIG_OverflowError;
3383 }
3384 if (ov.is_int64_type()) {
3385 long long v=ov.int64_scalar_value().value();
3386 if (v<0)
3387 return SWIG_OverflowError;
3388 }
3389 if (val)
3390 *val = ov.ulong_value();
3391 return SWIG_OK;
3392 }
3393
3394
3395SWIGINTERN int
3396SWIG_AsVal_unsigned_SS_int (octave_value obj, unsigned int *val)
3397{
3398 unsigned long v;
3399 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3400 if (SWIG_IsOK(res)) {
3401 if ((v > UINT_MAX)) {
3402 return SWIG_OverflowError;
3403 } else {
3404 if (val) *val = static_cast< unsigned int >(v);
3405 }
3406 }
3407 return res;
3408}
3409
3410
3412 {
3413 return octave_value(value);
3414 }
3415
3416
3417SWIGINTERNINLINE octave_value
3419{
3421}
3422
3423
3424SWIGINTERN int
3425SWIG_AsCharArray(octave_value obj, char *val, size_t size)
3426{
3427 char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
3428 int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
3429 if (SWIG_IsOK(res)) {
3430 /* special case of single char conversion when we don't need space for NUL */
3431 if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
3432 if (csize <= size) {
3433 if (val) {
3434 if (csize) memcpy(val, cptr, csize*sizeof(char));
3435 if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
3436 }
3437 if (alloc == SWIG_NEWOBJ) {
3438 delete[] cptr;
3439 res = SWIG_DelNewMask(res);
3440 }
3441 return res;
3442 }
3443 if (alloc == SWIG_NEWOBJ) delete[] cptr;
3444 }
3445 return SWIG_TypeError;
3446}
3447
3448
3451{
3452 static swig_type_info* info = 0;
3453 if (!info) {
3454 info = SWIG_TypeQuery("_p_char");
3455 }
3456 return info;
3457}
3458
3459
3460#define SWIG_FromBinaryCharPtrAndSize(carray, size, flags) SWIG_FromCharPtrAndSize(carray, size)
3461SWIGINTERNINLINE octave_value
3462SWIG_FromCharPtrAndSize(const char* carray, size_t size)
3463{
3464 return std::string(carray,carray+size);
3465}
3466
3467
3468SWIGINTERN size_t
3469SWIG_strnlen(const char* s, size_t maxlen)
3470{
3471 const char *p;
3472 for (p = s; maxlen-- && *p; p++)
3473 ;
3474 return (size_t)(p - s);
3475}
3476
3477
3478SWIGINTERN int
3479SWIG_AsVal_char (octave_value obj, char *val)
3480{
3481 int res = SWIG_AsCharArray(obj, val, 1);
3482 if (!SWIG_IsOK(res)) {
3483 long v;
3484 res = SWIG_AddCast(SWIG_AsVal_long (obj, &v));
3485 if (SWIG_IsOK(res)) {
3486 if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
3487 if (val) *val = static_cast< char >(v);
3488 } else {
3489 res = SWIG_OverflowError;
3490 }
3491 }
3492 }
3493 return res;
3494}
3495
3496static const char* _wrap_plsdimap_texinfo = "-*- texinfo -*-\n\
3497Set up transformation from metafile coordinates\n\
3498\n\
3499DESCRIPTION:\n\
3500\n\
3501 Set up transformation from metafile coordinates. The size of the plot\n\
3502 is scaled so as to preserve aspect ratio. This isn\'t intended to be a\n\
3503 general-purpose facility just yet (not sure why the user would need\n\
3504 it, for one).\n\
3505\n\
3506 Redacted form: plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm,\n\
3507 dimypmm)\n\
3508\n\
3509 This function is not used in any examples.\n\
3510\n\
3511\n\
3512\n\
3513SYNOPSIS:\n\
3514\n\
3515plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm, dimypmm)\n\
3516\n\
3517ARGUMENTS:\n\
3518\n\
3519 dimxmin (PLINT, input) : NEEDS DOCUMENTATION\n\
3520\n\
3521 dimxmax (PLINT, input) : NEEDS DOCUMENTATION\n\
3522\n\
3523 dimymin (PLINT, input) : NEEDS DOCUMENTATION\n\
3524\n\
3525 dimymax (PLINT, input) : NEEDS DOCUMENTATION\n\
3526\n\
3527 dimxpmm (PLFLT, input) : NEEDS DOCUMENTATION\n\
3528\n\
3529 dimypmm (PLFLT, input) : NEEDS DOCUMENTATION\n\
3530";
3531static const char* _wrap_plspal0_texinfo = "-*- texinfo -*-\n\
3532Set the cmap0 palette using the specified cmap0*.pal format file\n\
3533\n\
3534DESCRIPTION:\n\
3535\n\
3536 Set the cmap0 palette using the specified cmap0*.pal format file.\n\
3537\n\
3538 Redacted form: plspal0(filename)\n\
3539\n\
3540 This function is in example 16.\n\
3541\n\
3542\n\
3543\n\
3544SYNOPSIS:\n\
3545\n\
3546plspal0(filename)\n\
3547\n\
3548ARGUMENTS:\n\
3549\n\
3550 filename (PLCHAR_VECTOR, input) : An ascii character string\n\
3551 containing the name of the cmap0*.pal file. If this string is\n\
3552 empty, use the default cmap0*.pal file.\n\
3553";
3554static const char* _wrap_plspal1_texinfo = "-*- texinfo -*-\n\
3555Set the cmap1 palette using the specified cmap1*.pal format file\n\
3556\n\
3557DESCRIPTION:\n\
3558\n\
3559 Set the cmap1 palette using the specified cmap1*.pal format file.\n\
3560\n\
3561 Redacted form: plspal1(filename, interpolate)\n\
3562\n\
3563 This function is used in example 16.\n\
3564\n\
3565\n\
3566\n\
3567SYNOPSIS:\n\
3568\n\
3569plspal1(filename, interpolate)\n\
3570\n\
3571ARGUMENTS:\n\
3572\n\
3573 filename (PLCHAR_VECTOR, input) : An ascii character string\n\
3574 containing the name of the cmap1*.pal file. If this string is\n\
3575 empty, use the default cmap1*.pal file.\n\
3576\n\
3577 interpolate (PLBOOL, input) : If this parameter is true, the\n\
3578 columns containing the intensity index, r, g, b, alpha and\n\
3579 alt_hue_path in the cmap1*.pal file are used to set the cmap1\n\
3580 palette with a call to plscmap1la. (The cmap1*.pal header contains\n\
3581 a flag which controls whether the r, g, b data sent to plscmap1la\n\
3582 are interpreted as HLS or RGB.) If this parameter is false, the\n\
3583 intensity index and alt_hue_path columns are ignored and the r, g,\n\
3584 b (interpreted as RGB), and alpha columns of the cmap1*.pal file\n\
3585 are used instead to set the cmap1 palette directly with a call to\n\
3586 plscmap1a.\n\
3587";
3588static const char* _wrap_plline3_texinfo = "-*- texinfo -*-\n\
3589Draw a line in 3 space\n\
3590\n\
3591DESCRIPTION:\n\
3592\n\
3593 Draws line in 3 space defined by n points in x, y, and z. You must\n\
3594 first set up the viewport, the 2d viewing window (in world\n\
3595 coordinates), and the 3d normalized coordinate box. See x18c.c for\n\
3596 more info.\n\
3597\n\
3598 Redacted form: plline3(x, y, z)\n\
3599\n\
3600 This function is used in example 18.\n\
3601\n\
3602\n\
3603\n\
3604SYNOPSIS:\n\
3605\n\
3606plline3(n, x, y, z)\n\
3607\n\
3608ARGUMENTS:\n\
3609\n\
3610 n (PLINT, input) : Number of points defining line.\n\
3611\n\
3612 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
3613 points.\n\
3614\n\
3615 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
3616 points.\n\
3617\n\
3618 z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n\
3619 points.\n\
3620";
3621static const char* _wrap_plmeshc_texinfo = "-*- texinfo -*-\n\
3622Magnitude colored plot surface mesh with contour\n\
3623\n\
3624DESCRIPTION:\n\
3625\n\
3626 A more powerful form of plmesh: the surface mesh can be colored\n\
3627 accordingly to the current z value being plotted, a contour plot can\n\
3628 be drawn at the base XY plane, and a curtain can be drawn between the\n\
3629 plotted function border and the base XY plane.\n\
3630\n\
3631 Redacted form: plmeshc(x, y, z, opt, clevel)\n\
3632\n\
3633 This function is used in example 11.\n\
3634\n\
3635\n\
3636\n\
3637SYNOPSIS:\n\
3638\n\
3639plmeshc(x, y, z, nx, ny, opt, clevel, nlevel)\n\
3640\n\
3641ARGUMENTS:\n\
3642\n\
3643 x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n\
3644 which the function is evaluated.\n\
3645\n\
3646 y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n\
3647 which the function is evaluated.\n\
3648\n\
3649 z (PLFLT_MATRIX, input) : A matrix containing function values to\n\
3650 plot. Should have dimensions of\n\
3651 nx by\n\
3652 ny.\n\
3653\n\
3654 nx (PLINT, input) : Number of x values at which function is\n\
3655 evaluated.\n\
3656\n\
3657 ny (PLINT, input) : Number of y values at which function is\n\
3658 evaluated.\n\
3659\n\
3660 opt (PLINT, input) : Determines the way in which the surface is\n\
3661 represented. To specify more than one option just add the options,\n\
3662 e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n\
3663 showing z as a function of x for each value of y[j] .\n\
3664 opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n\
3665 for each value of x[i] .\n\
3666 opt=DRAW_LINEXY : Network of lines is drawn connecting points\n\
3667 at which function is defined.\n\
3668 opt=MAG_COLOR : Each line in the mesh is colored according to\n\
3669 the z value being plotted. The color is used from the current\n\
3670 cmap1.\n\
3671 opt=BASE_CONT : A contour plot is drawn at the base XY plane\n\
3672 using parameters\n\
3673 nlevel and\n\
3674 clevel.\n\
3675 opt=DRAW_SIDES : draws a curtain between the base XY plane and\n\
3676 the borders of the plotted function.\n\
3677\n\
3678\n\
3679 clevel (PLFLT_VECTOR, input) : A vector containing the contour\n\
3680 levels.\n\
3681\n\
3682 nlevel (PLINT, input) : Number of elements in the clevel vector.\n\
3683";
3684static const char* _wrap_plpath_texinfo = "-*- texinfo -*-\n\
3685Draw a line between two points, accounting for coordinate transforms\n\
3686\n\
3687DESCRIPTION:\n\
3688\n\
3689 Joins the point (\n\
3690 x1,\n\
3691 y1) to (\n\
3692 x2,\n\
3693 y2) . If a global coordinate transform is defined then the line is\n\
3694 broken in to n segments to approximate the path. If no transform is\n\
3695 defined then this simply acts like a call to pljoin.\n\
3696\n\
3697 Redacted form: plpath(n,x1,y1,x2,y2)\n\
3698\n\
3699 This function is used in example 22.\n\
3700\n\
3701\n\
3702\n\
3703SYNOPSIS:\n\
3704\n\
3705plpath(n, x1, y1, x2, y2)\n\
3706\n\
3707ARGUMENTS:\n\
3708\n\
3709 n (PLINT, input) : number of points to use to approximate the path.\n\
3710\n\
3711 x1 (PLFLT, input) : x coordinate of first point.\n\
3712\n\
3713 y1 (PLFLT, input) : y coordinate of first point.\n\
3714\n\
3715 x2 (PLFLT, input) : x coordinate of second point.\n\
3716\n\
3717 y2 (PLFLT, input) : y coordinate of second point.\n\
3718";
3719static const char* _wrap_plptex_texinfo = "-*- texinfo -*-\n\
3720Write text inside the viewport\n\
3721\n\
3722DESCRIPTION:\n\
3723\n\
3724 Writes text at a specified position and inclination within the\n\
3725 viewport. Text is clipped at the viewport boundaries. The reference\n\
3726 point of a string lies along a line passing through the string at half\n\
3727 the height of a capital letter. The position of the reference point\n\
3728 along this line is determined by just, the reference point is placed\n\
3729 at world coordinates (\n\
3730 x,\n\
3731 y) within the viewport. The inclination of the string is specified\n\
3732 in terms of differences of world coordinates making it easy to write\n\
3733 text parallel to a line in a graph.\n\
3734\n\
3735 Redacted form: plptex(x, y, dx, dy, just, text)\n\
3736\n\
3737 This function is used in example 2-4,10,12-14,20,23,24,26.\n\
3738\n\
3739\n\
3740\n\
3741SYNOPSIS:\n\
3742\n\
3743plptex(x, y, dx, dy, just, text)\n\
3744\n\
3745ARGUMENTS:\n\
3746\n\
3747 x (PLFLT, input) : x coordinate of reference point of string.\n\
3748\n\
3749 y (PLFLT, input) : y coordinate of reference point of string.\n\
3750\n\
3751 dx (PLFLT, input) : Together with dy, this specifies the\n\
3752 inclination of the string. The baseline of the string is parallel\n\
3753 to a line joining (\n\
3754 x,\n\
3755 y) to (\n\
3756 x+\n\
3757 dx,\n\
3758 y+\n\
3759 dy) .\n\
3760\n\
3761 dy (PLFLT, input) : Together with dx, this specifies the\n\
3762 inclination of the string.\n\
3763\n\
3764 just (PLFLT, input) : Specifies the position of the string relative\n\
3765 to its reference point. If just=0. , the reference point is at\n\
3766 the left and if just=1. , it is at the right of the string. Other\n\
3767 values of just give intermediate justifications.\n\
3768\n\
3769 text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n\
3770 written out.\n\
3771";
3772static const char* _wrap_plsfam_texinfo = "-*- texinfo -*-\n\
3773Set family file parameters\n\
3774\n\
3775DESCRIPTION:\n\
3776\n\
3777 Sets variables dealing with output file familying. Does nothing if\n\
3778 familying not supported by the driver. This routine, if used, must be\n\
3779 called before initializing PLplot. See the PLplot documentation for\n\
3780 more information.\n\
3781\n\
3782 Redacted form: plsfam(fam, num, bmax)\n\
3783\n\
3784 This function is used in examples 14 and 31.\n\
3785\n\
3786\n\
3787\n\
3788SYNOPSIS:\n\
3789\n\
3790plsfam(fam, num, bmax)\n\
3791\n\
3792ARGUMENTS:\n\
3793\n\
3794 fam (PLINT, input) : Family flag (Boolean). If nonzero, familying\n\
3795 is enabled.\n\
3796\n\
3797 num (PLINT, input) : Current family file number.\n\
3798\n\
3799 bmax (PLINT, input) : Maximum file size (in bytes) for a family\n\
3800 file.\n\
3801";
3802static const char* _wrap_plsyax_texinfo = "-*- texinfo -*-\n\
3803Set y axis parameters\n\
3804\n\
3805DESCRIPTION:\n\
3806\n\
3807 Identical to plsxax, except that arguments are flags for y axis. See\n\
3808 the description of plsxax for more detail.\n\
3809\n\
3810 Redacted form: plsyax(digmax, digits)\n\
3811\n\
3812 This function is used in examples 1, 14, and 31.\n\
3813\n\
3814\n\
3815\n\
3816SYNOPSIS:\n\
3817\n\
3818plsyax(digmax, digits)\n\
3819\n\
3820ARGUMENTS:\n\
3821\n\
3822 digmax (PLINT, input) : Variable to set the maximum number of\n\
3823 digits for the y axis. If nonzero, the printed label will be\n\
3824 switched to a floating-point representation when the number of\n\
3825 digits exceeds digmax.\n\
3826\n\
3827 digits (PLINT, input) : Field digits value. Currently, changing\n\
3828 its value here has no effect since it is set only by plbox or\n\
3829 plbox3. However, the user may obtain its value after a call to\n\
3830 either of these functions by calling plgyax.\n\
3831";
3832static const char* _wrap_plgzax_texinfo = "-*- texinfo -*-\n\
3833Get z axis parameters\n\
3834\n\
3835DESCRIPTION:\n\
3836\n\
3837 Identical to plgxax, except that arguments are flags for z axis. See\n\
3838 the description of plgxax for more detail.\n\
3839\n\
3840 Redacted form: plgzax(p_digmax, p_digits)\n\
3841\n\
3842 This function is used in example 31.\n\
3843\n\
3844\n\
3845\n\
3846SYNOPSIS:\n\
3847\n\
3848plgzax(p_digmax, p_digits)\n\
3849\n\
3850ARGUMENTS:\n\
3851\n\
3852 p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n\
3853 number of digits for the z axis. If nonzero, the printed label\n\
3854 has been switched to a floating-point representation when the\n\
3855 number of digits exceeds this value.\n\
3856\n\
3857 p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n\
3858 number of digits for the numeric labels (z axis) from the last\n\
3859 plot.\n\
3860";
3861static const char* _wrap_pl_setcontlabelformat_texinfo = "-*- texinfo -*-\n\
3862Set format of numerical label for contours\n\
3863\n\
3864DESCRIPTION:\n\
3865\n\
3866 Set format of numerical label for contours.\n\
3867\n\
3868 Redacted form: pl_setcontlabelformat(lexp, sigdig)\n\
3869\n\
3870 This function is used example 9.\n\
3871\n\
3872\n\
3873\n\
3874SYNOPSIS:\n\
3875\n\
3876pl_setcontlabelformat(lexp, sigdig)\n\
3877\n\
3878ARGUMENTS:\n\
3879\n\
3880 lexp (PLINT, input) : If the contour numerical label is greater\n\
3881 than 10^(lexp) or less than 10^(-lexp), then the exponential\n\
3882 format is used. Default value of lexp is 4.\n\
3883\n\
3884 sigdig (PLINT, input) : Number of significant digits. Default\n\
3885 value is 2.\n\
3886";
3887static const char* _wrap_plwidth_texinfo = "-*- texinfo -*-\n\
3888Set pen width\n\
3889\n\
3890DESCRIPTION:\n\
3891\n\
3892 Sets the pen width.\n\
3893\n\
3894 Redacted form: plwidth(width)\n\
3895\n\
3896 This function is used in examples 1 and 2.\n\
3897\n\
3898\n\
3899\n\
3900SYNOPSIS:\n\
3901\n\
3902plwidth(width)\n\
3903\n\
3904ARGUMENTS:\n\
3905\n\
3906 width (PLFLT, input) : The desired pen width. If width is negative\n\
3907 or the same as the previous value no action is taken. width = 0.\n\
3908 should be interpreted as as the minimum valid pen width for the\n\
3909 device. The interpretation of positive width values is also\n\
3910 device dependent.\n\
3911";
3912static const char* _wrap_plgdiplt_texinfo = "-*- texinfo -*-\n\
3913Get parameters that define current plot-space window\n\
3914\n\
3915DESCRIPTION:\n\
3916\n\
3917 Get relative minima and maxima that define current plot-space window.\n\
3918 If plsdiplt has not been called the default values pointed to by\n\
3919 p_xmin, p_ymin, p_xmax, and p_ymax will be 0., 0., 1., and 1.\n\
3920\n\
3921 Redacted form: plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n\
3922\n\
3923 This function is used in example 31.\n\
3924\n\
3925\n\
3926\n\
3927SYNOPSIS:\n\
3928\n\
3929plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n\
3930\n\
3931ARGUMENTS:\n\
3932\n\
3933 p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n\
3934 minimum in x.\n\
3935\n\
3936 p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n\
3937 minimum in y.\n\
3938\n\
3939 p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n\
3940 maximum in x.\n\
3941\n\
3942 p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n\
3943 maximum in y.\n\
3944";
3945static const char* _wrap_plscmap1_range_texinfo = "-*- texinfo -*-\n\
3946Set the cmap1 argument range for continuous color plots\n\
3947\n\
3948DESCRIPTION:\n\
3949\n\
3950 Set the cmap1 argument range for continuous color plots that\n\
3951 corresponds to the range of data values. The maximum range\n\
3952 corresponding to the entire cmap1 palette is 0.0-1.0, and the smaller\n\
3953 the cmap1 argument range that is specified with this routine, the\n\
3954 smaller the subset of the cmap1 color palette that is used to\n\
3955 represent the continuous data being plotted. If\n\
3956 min_color is greater than\n\
3957 max_color or\n\
3958 max_color is greater than 1.0 or\n\
3959 min_color is less than 0.0 then no change is made to the cmap1\n\
3960 argument range. (Use plgcmap1_range to get the cmap1 argument range.)\n\
3961\n\
3962 Redacted form: plscmap1_range(min_color, max_color)\n\
3963\n\
3964 This function is currently used in example 33.\n\
3965\n\
3966\n\
3967\n\
3968SYNOPSIS:\n\
3969\n\
3970plscmap1_range(min_color, max_color)\n\
3971\n\
3972ARGUMENTS:\n\
3973\n\
3974 min_color (PLFLT, input) : The minimum cmap1 argument. If less\n\
3975 than 0.0, then 0.0 is used instead.\n\
3976\n\
3977 max_color (PLFLT, input) : The maximum cmap1 argument. If greater\n\
3978 than 1.0, then 1.0 is used instead.\n\
3979";
3980static const char* _wrap_plvsta_texinfo = "-*- texinfo -*-\n\
3981Select standard viewport\n\
3982\n\
3983DESCRIPTION:\n\
3984\n\
3985 Selects the largest viewport within the subpage that leaves a standard\n\
3986 margin (left-hand margin of eight character heights, and a margin\n\
3987 around the other three sides of five character heights).\n\
3988\n\
3989 Redacted form: plvsta()\n\
3990\n\
3991 This function is used in examples 1, 12, 14, 17, 25, and 29.\n\
3992\n\
3993\n\
3994\n\
3995SYNOPSIS:\n\
3996\n\
3997plvsta()\n\
3998";
3999static const char* _wrap_plfontld_texinfo = "-*- texinfo -*-\n\
4000Load Hershey fonts\n\
4001\n\
4002DESCRIPTION:\n\
4003\n\
4004 Loads the Hershey fonts used for text and symbols. This routine may\n\
4005 be called before or after initializing PLplot. If not explicitly\n\
4006 called before PLplot initialization, then by default that\n\
4007 initialization loads Hershey fonts with the extended character set.\n\
4008 This routine only has a practical effect for devices that still use\n\
4009 Hershey fonts (as opposed to modern devices that use unicode-aware\n\
4010 system fonts instead of Hershey fonts).\n\
4011\n\
4012 Redacted form: plfontld(fnt)\n\
4013\n\
4014 This function is used in examples 1 and 7.\n\
4015\n\
4016\n\
4017\n\
4018SYNOPSIS:\n\
4019\n\
4020plfontld(fnt)\n\
4021\n\
4022ARGUMENTS:\n\
4023\n\
4024 fnt (PLINT, input) : Specifies the type of Hershey fonts to load.\n\
4025 A zero value specifies Hershey fonts with the standard character\n\
4026 set and a non-zero value (the default assumed if plfontld is never\n\
4027 called) specifies Hershey fonts with the extended character set.\n\
4028";
4029static const char* _wrap_plerrx_texinfo = "-*- texinfo -*-\n\
4030Draw error bars in x direction\n\
4031\n\
4032DESCRIPTION:\n\
4033\n\
4034 Draws a set of n error bars in x direction, the i\'th error bar\n\
4035 extending from xmin[i] to xmax[i] at y coordinate y[i]. The terminals\n\
4036 of the error bars are of length equal to the minor tick length\n\
4037 (settable using plsmin).\n\
4038\n\
4039 Redacted form: General: plerrx(xmin, ymax, y)\n\
4040\n\
4041\n\
4042 This function is used in example 29.\n\
4043\n\
4044\n\
4045\n\
4046SYNOPSIS:\n\
4047\n\
4048plerrx(n, xmin, xmax, y)\n\
4049\n\
4050ARGUMENTS:\n\
4051\n\
4052 n (PLINT, input) : Number of error bars to draw.\n\
4053\n\
4054 xmin (PLFLT_VECTOR, input) : A vector containing the x coordinates\n\
4055 of the left-hand endpoints of the error bars.\n\
4056\n\
4057 xmax (PLFLT_VECTOR, input) : A vector containing the x coordinates\n\
4058 of the right-hand endpoints of the error bars.\n\
4059\n\
4060 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
4061 the error bars.\n\
4062";
4063static const char* _wrap_plsurf3d_texinfo = "-*- texinfo -*-\n\
4064Plot shaded 3-d surface plot\n\
4065\n\
4066DESCRIPTION:\n\
4067\n\
4068 Plots a three-dimensional shaded surface plot within the environment\n\
4069 set up by plw3d. The surface is defined by the two-dimensional matrix\n\
4070 z[\n\
4071 nx][\n\
4072 ny], the point z[i][j] being the value of the function at (\n\
4073 x[i],\n\
4074 y[j]). Note that the points in vectors x and y do not need to be\n\
4075 equally spaced, but must be stored in ascending order. For further\n\
4076 details see the PLplot documentation.\n\
4077\n\
4078 Redacted form: plsurf3d(x, y, z, opt, clevel)\n\
4079\n\
4080 This function is not used in any examples.\n\
4081\n\
4082\n\
4083\n\
4084SYNOPSIS:\n\
4085\n\
4086plsurf3d(x, y, z, nx, ny, opt, clevel, nlevel)\n\
4087\n\
4088ARGUMENTS:\n\
4089\n\
4090 x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n\
4091 which the function is evaluated.\n\
4092\n\
4093 y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n\
4094 which the function is evaluated.\n\
4095\n\
4096 z (PLFLT_MATRIX, input) : A matrix containing function values to\n\
4097 plot. Should have dimensions of\n\
4098 nx by\n\
4099 ny.\n\
4100\n\
4101 nx (PLINT, input) : Number of x values at which function is\n\
4102 evaluated.\n\
4103\n\
4104 ny (PLINT, input) : Number of y values at which function is\n\
4105 evaluated.\n\
4106\n\
4107 opt (PLINT, input) : Determines the way in which the surface is\n\
4108 represented. To specify more than one option just add the options,\n\
4109 e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n\
4110 connecting points at which function is defined.\n\
4111 opt=BASE_CONT : A contour plot is drawn at the base XY plane\n\
4112 using parameters\n\
4113 nlevel and\n\
4114 clevel.\n\
4115 opt=SURF_CONT : A contour plot is drawn at the surface plane\n\
4116 using parameters\n\
4117 nlevel and\n\
4118 clevel.\n\
4119 opt=DRAW_SIDES : draws a curtain between the base XY plane and\n\
4120 the borders of the plotted function.\n\
4121 opt=MAG_COLOR : the surface is colored according to the value\n\
4122 of Z; if MAG_COLOR is not used, then the surface is colored\n\
4123 according to the intensity of the reflected light in the\n\
4124 surface from a light source whose position is set using\n\
4125 pllightsource.\n\
4126\n\
4127\n\
4128 clevel (PLFLT_VECTOR, input) : A vector containing the contour\n\
4129 levels.\n\
4130\n\
4131 nlevel (PLINT, input) : Number of elements in the clevel vector.\n\
4132";
4133static const char* _wrap_plgver_texinfo = "-*- texinfo -*-\n\
4134Get the current library version number\n\
4135\n\
4136DESCRIPTION:\n\
4137\n\
4138 Get the current library version number. Note: you must have allocated\n\
4139 space for this (80 characters is safe).\n\
4140\n\
4141 Redacted form: plgver(p_ver)\n\
4142\n\
4143 This function is used in example 1.\n\
4144\n\
4145\n\
4146\n\
4147SYNOPSIS:\n\
4148\n\
4149plgver(p_ver)\n\
4150\n\
4151ARGUMENTS:\n\
4152\n\
4153 p_ver (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n\
4154 (with preallocated length of 80 characters or more) containing the\n\
4155 PLplot version number.\n\
4156";
4157static const char* _wrap_plend1_texinfo = "-*- texinfo -*-\n\
4158End plotting session for current stream\n\
4159\n\
4160DESCRIPTION:\n\
4161\n\
4162 Ends a plotting session for the current output stream only. See\n\
4163 plsstrm for more info.\n\
4164\n\
4165 Redacted form: plend1()\n\
4166\n\
4167 This function is used in examples 1 and 20.\n\
4168\n\
4169\n\
4170\n\
4171SYNOPSIS:\n\
4172\n\
4173plend1()\n\
4174";
4175static const char* _wrap_plerry_texinfo = "-*- texinfo -*-\n\
4176Draw error bars in the y direction\n\
4177\n\
4178DESCRIPTION:\n\
4179\n\
4180 Draws a set of n error bars in the y direction, the i\'th error bar\n\
4181 extending from ymin[i] to ymax[i] at x coordinate x[i]. The terminals\n\
4182 of the error bars are of length equal to the minor tick length\n\
4183 (settable using plsmin).\n\
4184\n\
4185 Redacted form: General: plerry(x, ymin, ymax)\n\
4186\n\
4187\n\
4188 This function is used in example 29.\n\
4189\n\
4190\n\
4191\n\
4192SYNOPSIS:\n\
4193\n\
4194plerry(n, x, ymin, ymax)\n\
4195\n\
4196ARGUMENTS:\n\
4197\n\
4198 n (PLINT, input) : Number of error bars to draw.\n\
4199\n\
4200 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
4201 the error bars.\n\
4202\n\
4203 ymin (PLFLT_VECTOR, input) : A vector containing the y coordinates\n\
4204 of the lower endpoints of the error bars.\n\
4205\n\
4206 ymax (PLFLT_VECTOR, input) : A vector containing the y coordinates\n\
4207 of the upper endpoints of the error bars.\n\
4208";
4209static const char* _wrap_plseed_texinfo = "-*- texinfo -*-\n\
4210Set seed for internal random number generator.\n\
4211\n\
4212DESCRIPTION:\n\
4213\n\
4214 Set the seed for the internal random number generator. See plrandd for\n\
4215 further details.\n\
4216\n\
4217 Redacted form: plseed(seed)\n\
4218\n\
4219 This function is used in example 21.\n\
4220\n\
4221\n\
4222\n\
4223SYNOPSIS:\n\
4224\n\
4225plseed(seed)\n\
4226\n\
4227ARGUMENTS:\n\
4228\n\
4229 seed (unsigned int, input) : Seed for random number generator.\n\
4230";
4231static const char* _wrap_plvpor_texinfo = "-*- texinfo -*-\n\
4232Specify viewport using normalized subpage coordinates\n\
4233\n\
4234DESCRIPTION:\n\
4235\n\
4236 Device-independent routine for setting up the viewport. This defines\n\
4237 the viewport in terms of normalized subpage coordinates which run from\n\
4238 0.0 to 1.0 (left to right and bottom to top) along each edge of the\n\
4239 current subpage. Use the alternate routine plsvpa in order to create\n\
4240 a viewport of a definite size.\n\
4241\n\
4242 Redacted form: plvpor(xmin, xmax, ymin, ymax)\n\
4243\n\
4244 This function is used in examples 2, 6-8, 10, 11, 15, 16, 18, 21, 23,\n\
4245 24, 26, 27, and 31.\n\
4246\n\
4247\n\
4248\n\
4249SYNOPSIS:\n\
4250\n\
4251plvpor(xmin, xmax, ymin, ymax)\n\
4252\n\
4253ARGUMENTS:\n\
4254\n\
4255 xmin (PLFLT, input) : The normalized subpage coordinate of the\n\
4256 left-hand edge of the viewport.\n\
4257\n\
4258 xmax (PLFLT, input) : The normalized subpage coordinate of the\n\
4259 right-hand edge of the viewport.\n\
4260\n\
4261 ymin (PLFLT, input) : The normalized subpage coordinate of the\n\
4262 bottom edge of the viewport.\n\
4263\n\
4264 ymax (PLFLT, input) : The normalized subpage coordinate of the top\n\
4265 edge of the viewport.\n\
4266";
4267static const char* _wrap_plmesh_texinfo = "-*- texinfo -*-\n\
4268Plot surface mesh\n\
4269\n\
4270DESCRIPTION:\n\
4271\n\
4272 Plots a surface mesh within the environment set up by plw3d. The\n\
4273 surface is defined by the matrix z[\n\
4274 nx][\n\
4275 ny] , the point z[i][j] being the value of the function at (\n\
4276 x[i],\n\
4277 y[j]). Note that the points in vectors x and y do not need to be\n\
4278 equally spaced, but must be stored in ascending order. The parameter\n\
4279 opt controls the way in which the surface is displayed. For further\n\
4280 details see the PLplot documentation.\n\
4281\n\
4282 Redacted form: plmesh(x, y, z, opt)\n\
4283\n\
4284 This function is used in example 11.\n\
4285\n\
4286\n\
4287\n\
4288SYNOPSIS:\n\
4289\n\
4290plmesh(x, y, z, nx, ny, opt)\n\
4291\n\
4292ARGUMENTS:\n\
4293\n\
4294 x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n\
4295 which the function is evaluated.\n\
4296\n\
4297 y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n\
4298 which the function is evaluated.\n\
4299\n\
4300 z (PLFLT_MATRIX, input) : A matrix containing function values to\n\
4301 plot. Should have dimensions of\n\
4302 nx by\n\
4303 ny.\n\
4304\n\
4305 nx (PLINT, input) : Number of x values at which function has been\n\
4306 evaluated.\n\
4307\n\
4308 ny (PLINT, input) : Number of y values at which function has been\n\
4309 evaluated.\n\
4310\n\
4311 opt (PLINT, input) : Determines the way in which the surface is\n\
4312 represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n\
4313 function of x for each value of y[j] .\n\
4314 opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n\
4315 for each value of x[i] .\n\
4316 opt=DRAW_LINEXY : Network of lines is drawn connecting points\n\
4317 at which function is defined.\n\
4318";
4319static const char* _wrap_plgcmap1_range_texinfo = "-*- texinfo -*-\n\
4320Get the cmap1 argument range for continuous color plots\n\
4321\n\
4322DESCRIPTION:\n\
4323\n\
4324 Get the cmap1 argument range for continuous color plots. (Use\n\
4325 plscmap1_range to set the cmap1 argument range.)\n\
4326\n\
4327 Redacted form: plgcmap1_range(min_color, max_color)\n\
4328\n\
4329 This function is currently not used in any example.\n\
4330\n\
4331\n\
4332\n\
4333SYNOPSIS:\n\
4334\n\
4335plgcmap1_range(min_color, max_color)\n\
4336\n\
4337ARGUMENTS:\n\
4338\n\
4339 min_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n\
4340 minimum cmap1 argument.\n\
4341\n\
4342 max_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n\
4343 maximum cmap1 argument.\n\
4344";
4345static const char* _wrap_plsvect_texinfo = "-*- texinfo -*-\n\
4346Set arrow style for vector plots\n\
4347\n\
4348DESCRIPTION:\n\
4349\n\
4350 Set the style for the arrow used by plvect to plot vectors.\n\
4351\n\
4352 Redacted form: plsvect(arrowx, arrowy, fill)\n\
4353\n\
4354 This function is used in example 22.\n\
4355\n\
4356\n\
4357\n\
4358SYNOPSIS:\n\
4359\n\
4360plsvect(arrowx, arrowy, npts, fill)\n\
4361\n\
4362ARGUMENTS:\n\
4363\n\
4364 arrowx, arrowy (PLFLT_VECTOR, input) : A pair of vectors containing\n\
4365 the x and y points which make up the arrow. The arrow is plotted\n\
4366 by joining these points to form a polygon. The scaling assumes\n\
4367 that the x and y points in the arrow lie in the range -0.5 <= x,y\n\
4368 <= 0.5. If both arrowx and arrowy are NULL then the arrow style\n\
4369 will be reset to its default.\n\
4370\n\
4371 npts (PLINT, input) : Number of points in the vectors arrowx and\n\
4372 arrowy.\n\
4373\n\
4374 fill (PLBOOL, input) : If fill is true then the arrow is closed, if\n\
4375 fill is false then the arrow is open.\n\
4376";
4377static const char* _wrap_plfill_texinfo = "-*- texinfo -*-\n\
4378Draw filled polygon\n\
4379\n\
4380DESCRIPTION:\n\
4381\n\
4382 Fills the polygon defined by the n points (\n\
4383 x[i],\n\
4384 y[i]) using the pattern defined by plpsty or plpat. The default fill\n\
4385 style is a solid fill. The routine will automatically close the\n\
4386 polygon between the last and first vertices. If multiple closed\n\
4387 polygons are passed in x and y then plfill will fill in between them.\n\
4388\n\
4389 Redacted form: plfill(x,y)\n\
4390\n\
4391 This function is used in examples 12, 13, 15, 16, 21, 24, and 25.\n\
4392\n\
4393\n\
4394\n\
4395SYNOPSIS:\n\
4396\n\
4397plfill(n, x, y)\n\
4398\n\
4399ARGUMENTS:\n\
4400\n\
4401 n (PLINT, input) : Number of vertices in polygon.\n\
4402\n\
4403 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
4404 vertices.\n\
4405\n\
4406 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
4407 vertices.\n\
4408";
4409static const char* _wrap_plhlsrgb_texinfo = "-*- texinfo -*-\n\
4410Convert HLS color to RGB\n\
4411\n\
4412DESCRIPTION:\n\
4413\n\
4414 Convert HLS color coordinates to RGB.\n\
4415\n\
4416 Redacted form: General: plhlsrgb(h, l, s, p_r, p_g, p_b)\n\
4417\n\
4418\n\
4419 This function is used in example 2.\n\
4420\n\
4421\n\
4422\n\
4423SYNOPSIS:\n\
4424\n\
4425plhlsrgb(h, l, s, p_r, p_g, p_b)\n\
4426\n\
4427ARGUMENTS:\n\
4428\n\
4429 h (PLFLT, input) : Hue in degrees (0.0-360.0) on the color\n\
4430 cylinder.\n\
4431\n\
4432 l (PLFLT, input) : Lightness expressed as a fraction (0.0-1.0) of\n\
4433 the axis of the color cylinder.\n\
4434\n\
4435 s (PLFLT, input) : Saturation expressed as a fraction (0.0-1.0) of\n\
4436 the radius of the color cylinder.\n\
4437\n\
4438 p_r (PLFLT_NC_SCALAR, output) : Returned value of the red intensity\n\
4439 (0.0-1.0) of the color.\n\
4440\n\
4441 p_g (PLFLT_NC_SCALAR, output) : Returned value of the green\n\
4442 intensity (0.0-1.0) of the color.\n\
4443\n\
4444 p_b (PLFLT_NC_SCALAR, output) : Returned value of the blue\n\
4445 intensity (0.0-1.0) of the color.\n\
4446";
4447static const char* _wrap_pltimefmt_texinfo = "-*- texinfo -*-\n\
4448Set format for date / time labels\n\
4449\n\
4450DESCRIPTION:\n\
4451\n\
4452 Sets the format for date / time labels. To enable date / time format\n\
4453 labels see the options to plbox, plbox3, and plenv.\n\
4454\n\
4455 Redacted form: pltimefmt(fmt)\n\
4456\n\
4457 This function is used in example 29.\n\
4458\n\
4459\n\
4460\n\
4461SYNOPSIS:\n\
4462\n\
4463pltimefmt(fmt)\n\
4464\n\
4465ARGUMENTS:\n\
4466\n\
4467 fmt (PLCHAR_VECTOR, input) : An ascii character string which is\n\
4468 interpreted similarly to the format specifier of typical system\n\
4469 strftime routines except that PLplot ignores locale and also\n\
4470 supplies some useful extensions in the context of plotting. All\n\
4471 text in the string is printed as-is other than conversion\n\
4472 specifications which take the form of a \'%\' character followed by\n\
4473 further conversion specification character. The conversion\n\
4474 specifications which are similar to those provided by system\n\
4475 strftime routines are the following: %a: The abbreviated (English)\n\
4476 weekday name.\n\
4477 %A: The full (English) weekday name.\n\
4478 %b: The abbreviated (English) month name.\n\
4479 %B: The full (English) month name.\n\
4480 %c: Equivalent to %a %b %d %T %Y (non-ISO).\n\
4481 %C: The century number (year/100) as a 2-digit integer.\n\
4482 %d: The day of the month as a decimal number (range 01 to 31).\n\
4483 %D: Equivalent to %m/%d/%y (non-ISO).\n\
4484 %e: Like %d, but a leading zero is replaced by a space.\n\
4485 %F: Equivalent to %Y-%m-%d (the ISO 8601 date format).\n\
4486 %h: Equivalent to %b.\n\
4487 %H: The hour as a decimal number using a 24-hour clock (range\n\
4488 00 to 23).\n\
4489 %I: The hour as a decimal number using a 12-hour clock (range\n\
4490 01 to 12).\n\
4491 %j: The day of the year as a decimal number (range 001 to\n\
4492 366).\n\
4493 %k: The hour (24-hour clock) as a decimal number (range 0 to\n\
4494 23); single digits are preceded by a blank. (See also %H.)\n\
4495 %l: The hour (12-hour clock) as a decimal number (range 1 to\n\
4496 12); single digits are preceded by a blank. (See also %I.)\n\
4497 %m: The month as a decimal number (range 01 to 12).\n\
4498 %M: The minute as a decimal number (range 00 to 59).\n\
4499 %n: A newline character.\n\
4500 %p: Either \"AM\" or \"PM\" according to the given time value.\n\
4501 Noon is treated as \"PM\" and midnight as \"AM\".\n\
4502 %r: Equivalent to %I:%M:%S %p.\n\
4503 %R: The time in 24-hour notation (%H:%M). For a version\n\
4504 including the seconds, see %T below.\n\
4505 %s: The number of seconds since the Epoch, 1970-01-01 00:00:00\n\
4506 +0000 (UTC).\n\
4507 %S: The second as a decimal number (range 00 to 60). (The\n\
4508 range is up to 60 to allow for occasional leap seconds.)\n\
4509 %t: A tab character.\n\
4510 %T: The time in 24-hour notation (%H:%M:%S).\n\
4511 %u: The day of the week as a decimal, range 1 to 7, Monday\n\
4512 being 1. See also %w.\n\
4513 %U: The week number of the current year as a decimal number,\n\
4514 range 00 to 53, starting with the first Sunday as the first\n\
4515 day of week 01. See also %V and %W.\n\
4516 %v: Equivalent to %e-%b-%Y.\n\
4517 %V: The ISO 8601 week number of the current year as a decimal\n\
4518 number, range 01 to 53, where week 1 is the first week that\n\
4519 has at least 4 days in the new year. See also %U and %W.\n\
4520 %w: The day of the week as a decimal, range 0 to 6, Sunday\n\
4521 being 0. See also %u.\n\
4522 %W: The week number of the current year as a decimal number,\n\
4523 range 00 to 53, starting with the first Monday as the first\n\
4524 day of week 01.\n\
4525 %x: Equivalent to %a %b %d %Y.\n\
4526 %X: Equivalent to %T.\n\
4527 %y: The year as a decimal number without a century (range 00\n\
4528 to 99).\n\
4529 %Y: The year as a decimal number including a century.\n\
4530 %z: The UTC time-zone string = \"+0000\".\n\
4531 %Z: The UTC time-zone abbreviation = \"UTC\".\n\
4532 %+: The UTC date and time in default format of the Unix date\n\
4533 command which is equivalent to %a %b %d %T %Z %Y.\n\
4534 %%: A literal \"%\" character.\n\
4535 The conversion specifications which are extensions to those normally\n\
4536 provided by system strftime routines are the following: %(0-9):\n\
4537 The fractional part of the seconds field (including leading\n\
4538 decimal point) to the specified accuracy. Thus %S%3 would give\n\
4539 seconds to millisecond accuracy (00.000).\n\
4540 %.: The fractional part of the seconds field (including\n\
4541 leading decimal point) to the maximum available accuracy. Thus\n\
4542 %S%. would give seconds with fractional part up to 9 decimal\n\
4543 places if available.\n\
4544";
4545static const char* _wrap_plgspa_texinfo = "-*- texinfo -*-\n\
4546Get current subpage parameters\n\
4547\n\
4548DESCRIPTION:\n\
4549\n\
4550 Gets the size of the current subpage in millimeters measured from the\n\
4551 bottom left hand corner of the output device page or screen. Can be\n\
4552 used in conjunction with plsvpa for setting the size of a viewport in\n\
4553 absolute coordinates (millimeters).\n\
4554\n\
4555 Redacted form: plgspa(xmin, xmax, ymin, ymax)\n\
4556\n\
4557 This function is used in example 23.\n\
4558\n\
4559\n\
4560\n\
4561SYNOPSIS:\n\
4562\n\
4563plgspa(xmin, xmax, ymin, ymax)\n\
4564\n\
4565ARGUMENTS:\n\
4566\n\
4567 xmin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n\
4568 the left hand edge of the subpage in millimeters.\n\
4569\n\
4570 xmax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n\
4571 the right hand edge of the subpage in millimeters.\n\
4572\n\
4573 ymin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n\
4574 the bottom edge of the subpage in millimeters.\n\
4575\n\
4576 ymax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n\
4577 the top edge of the subpage in millimeters.\n\
4578";
4579static const char* _wrap_plcalc_world_texinfo = "-*- texinfo -*-\n\
4580Calculate world coordinates and corresponding window index from relative device coordinates\n\
4581\n\
4582DESCRIPTION:\n\
4583\n\
4584 Calculate world coordinates, wx and wy, and corresponding window index\n\
4585 from relative device coordinates, rx and ry.\n\
4586\n\
4587 Redacted form: General: plcalc_world(rx, ry, wx, wy, window)\n\
4588\n\
4589\n\
4590 This function is used in example 31.\n\
4591\n\
4592\n\
4593\n\
4594SYNOPSIS:\n\
4595\n\
4596plcalc_world(rx, ry, wx, wy, window)\n\
4597\n\
4598ARGUMENTS:\n\
4599\n\
4600 rx (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n\
4601 the x coordinate.\n\
4602\n\
4603 ry (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n\
4604 the y coordinate.\n\
4605\n\
4606 wx (PLFLT_NC_SCALAR, output) : Returned value of the x world\n\
4607 coordinate corresponding to the relative device coordinates rx and\n\
4608 ry.\n\
4609\n\
4610 wy (PLFLT_NC_SCALAR, output) : Returned value of the y world\n\
4611 coordinate corresponding to the relative device coordinates rx and\n\
4612 ry.\n\
4613\n\
4614 window (PLINT_NC_SCALAR, output) : Returned value of the last\n\
4615 defined window index that corresponds to the input relative device\n\
4616 coordinates (and the returned world coordinates). To give some\n\
4617 background on the window index, for each page the initial window\n\
4618 index is set to zero, and each time plwind is called within the\n\
4619 page, world and device coordinates are stored for the window and\n\
4620 the window index is incremented. Thus, for a simple page layout\n\
4621 with non-overlapping viewports and one window per viewport, window\n\
4622 corresponds to the viewport index (in the order which the\n\
4623 viewport/windows were created) of the only viewport/window\n\
4624 corresponding to rx and ry. However, for more complicated layouts\n\
4625 with potentially overlapping viewports and possibly more than one\n\
4626 window (set of world coordinates) per viewport, window and the\n\
4627 corresponding output world coordinates corresponds to the last\n\
4628 window created that fulfills the criterion that the relative\n\
4629 device coordinates are inside it. Finally, in all cases where the\n\
4630 input relative device coordinates are not inside any\n\
4631 viewport/window, then the returned value of the last defined\n\
4632 window index is set to -1.\n\
4633";
4634static const char* _wrap_plgfnam_texinfo = "-*- texinfo -*-\n\
4635Get output file name\n\
4636\n\
4637DESCRIPTION:\n\
4638\n\
4639 Gets the current output file name, if applicable.\n\
4640\n\
4641 Redacted form: plgfnam(fnam)\n\
4642\n\
4643 This function is used in example 31.\n\
4644\n\
4645\n\
4646\n\
4647SYNOPSIS:\n\
4648\n\
4649plgfnam(fnam)\n\
4650\n\
4651ARGUMENTS:\n\
4652\n\
4653 fnam (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n\
4654 (with preallocated length of 80 characters or more) containing the\n\
4655 file name.\n\
4656";
4657static const char* _wrap_plvect_texinfo = "-*- texinfo -*-\n\
4658Vector plot\n\
4659\n\
4660DESCRIPTION:\n\
4661\n\
4662 Draws a plot of vector data contained in the matrices (\n\
4663 u[\n\
4664 nx][\n\
4665 ny],\n\
4666 v[\n\
4667 nx][\n\
4668 ny]) . The scaling factor for the vectors is given by scale. A\n\
4669 transformation routine pointed to by pltr with a pointer pltr_data for\n\
4670 additional data required by the transformation routine to map indices\n\
4671 within the matrices to the world coordinates. The style of the vector\n\
4672 arrow may be set using plsvect.\n\
4673\n\
4674 Redacted form: plvect(u, v, scale, pltr, pltr_data) where (see above\n\
4675 discussion) the pltr, pltr_data callback arguments are sometimes\n\
4676 replaced by a tr vector with 6 elements, or xg and yg array arguments\n\
4677 with either one or two dimensions.\n\
4678\n\
4679 This function is used in example 22.\n\
4680\n\
4681\n\
4682\n\
4683SYNOPSIS:\n\
4684\n\
4685plvect(u, v, nx, ny, scale, pltr, pltr_data)\n\
4686\n\
4687ARGUMENTS:\n\
4688\n\
4689 u, v (PLFLT_MATRIX, input) : A pair of matrices containing the x\n\
4690 and y components of the vector data to be plotted.\n\
4691\n\
4692 nx, ny (PLINT, input) : Dimensions of the matrices u and v.\n\
4693\n\
4694 scale (PLFLT, input) : Parameter to control the scaling factor of\n\
4695 the vectors for plotting. If scale = 0 then the scaling factor is\n\
4696 automatically calculated for the data. If scale < 0 then the\n\
4697 scaling factor is automatically calculated for the data and then\n\
4698 multiplied by -\n\
4699 scale. If scale > 0 then the scaling factor is set to scale.\n\
4700\n\
4701 pltr (PLTRANSFORM_callback, input) : A callback function that\n\
4702 defines the transformation between the zero-based indices of the\n\
4703 matrices u and v and world coordinates.For the C case,\n\
4704 transformation functions are provided in the PLplot library: pltr0\n\
4705 for the identity mapping, and pltr1 and pltr2 for arbitrary\n\
4706 mappings respectively defined by vectors and matrices. In\n\
4707 addition, C callback routines for the transformation can be\n\
4708 supplied by the user such as the mypltr function in\n\
4709 examples/c/x09c.c which provides a general linear transformation\n\
4710 between index coordinates and world coordinates.For languages\n\
4711 other than C you should consult the PLplot documentation for the\n\
4712 details concerning how PLTRANSFORM_callback arguments are\n\
4713 interfaced. However, in general, a particular pattern of\n\
4714 callback-associated arguments such as a tr vector with 6 elements;\n\
4715 xg and yg vectors; or xg and yg matrices are respectively\n\
4716 interfaced to a linear-transformation routine similar to the above\n\
4717 mypltr function; pltr1; and pltr2. Furthermore, some of our more\n\
4718 sophisticated bindings (see, e.g., the PLplot documentation)\n\
4719 support native language callbacks for handling index to\n\
4720 world-coordinate transformations. Examples of these various\n\
4721 approaches are given in examples/<language>x09*,\n\
4722 examples/<language>x16*, examples/<language>x20*,\n\
4723 examples/<language>x21*, and examples/<language>x22*, for all our\n\
4724 supported languages.\n\
4725\n\
4726 pltr_data (PLPointer, input) : Extra parameter to help pass\n\
4727 information to pltr0, pltr1, pltr2, or whatever callback routine\n\
4728 that is externally supplied.\n\
4729";
4730static const char* _wrap_plsym_texinfo = "-*- texinfo -*-\n\
4731Plot a glyph at the specified points\n\
4732\n\
4733DESCRIPTION:\n\
4734\n\
4735 Plot a glyph at the specified points. (This function is largely\n\
4736 superseded by plstring which gives access to many[!] more glyphs.)\n\
4737\n\
4738 Redacted form: plsym(x, y, code)\n\
4739\n\
4740 This function is used in example 7.\n\
4741\n\
4742\n\
4743\n\
4744SYNOPSIS:\n\
4745\n\
4746plsym(n, x, y, code)\n\
4747\n\
4748ARGUMENTS:\n\
4749\n\
4750 n (PLINT, input) : Number of points in the x and y vectors.\n\
4751\n\
4752 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
4753 the points.\n\
4754\n\
4755 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
4756 the points.\n\
4757\n\
4758 code (PLINT, input) : Hershey symbol code corresponding to a glyph\n\
4759 to be plotted at each of the n points.\n\
4760";
4761static const char* _wrap_plgvpd_texinfo = "-*- texinfo -*-\n\
4762Get viewport limits in normalized device coordinates\n\
4763\n\
4764DESCRIPTION:\n\
4765\n\
4766 Get viewport limits in normalized device coordinates.\n\
4767\n\
4768 Redacted form: General: plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n\
4769\n\
4770\n\
4771 This function is used in example 31.\n\
4772\n\
4773\n\
4774\n\
4775SYNOPSIS:\n\
4776\n\
4777plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n\
4778\n\
4779ARGUMENTS:\n\
4780\n\
4781 p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n\
4782 viewport limit of the normalized device coordinate in x.\n\
4783\n\
4784 p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n\
4785 viewport limit of the normalized device coordinate in x.\n\
4786\n\
4787 p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n\
4788 viewport limit of the normalized device coordinate in y.\n\
4789\n\
4790 p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n\
4791 viewport limit of the normalized device coordinate in y.\n\
4792";
4793static const char* _wrap_plgpage_texinfo = "-*- texinfo -*-\n\
4794Get page parameters\n\
4795\n\
4796DESCRIPTION:\n\
4797\n\
4798 Gets the current page configuration. The length and offset values are\n\
4799 expressed in units that are specific to the current driver. For\n\
4800 instance: screen drivers will usually interpret them as number of\n\
4801 pixels, whereas printer drivers will usually use mm.\n\
4802\n\
4803 Redacted form: plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n\
4804\n\
4805 This function is used in examples 14 and 31.\n\
4806\n\
4807\n\
4808\n\
4809SYNOPSIS:\n\
4810\n\
4811plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n\
4812\n\
4813ARGUMENTS:\n\
4814\n\
4815 p_xp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n\
4816 pixels/inch (DPI) in x.\n\
4817\n\
4818 p_yp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n\
4819 pixels/inch (DPI) in y.\n\
4820\n\
4821 p_xleng (PLINT_NC_SCALAR, output) : Returned value of the x page\n\
4822 length.\n\
4823\n\
4824 p_yleng (PLINT_NC_SCALAR, output) : Returned value of the y page\n\
4825 length.\n\
4826\n\
4827 p_xoff (PLINT_NC_SCALAR, output) : Returned value of the x page\n\
4828 offset.\n\
4829\n\
4830 p_yoff (PLINT_NC_SCALAR, output) : Returned value of the y page\n\
4831 offset.\n\
4832";
4833static const char* _wrap_plstring3_texinfo = "-*- texinfo -*-\n\
4834Plot a glyph at the specified 3D points\n\
4835\n\
4836DESCRIPTION:\n\
4837\n\
4838 Plot a glyph at the specified 3D points. (Supersedes plpoin3 because\n\
4839 many[!] more glyphs are accessible with plstring3.) Set up the call to\n\
4840 this function similar to what is done for plline3. The glyph is\n\
4841 specified with a PLplot user string. Note that the user string is not\n\
4842 actually limited to one glyph so it is possible (but not normally\n\
4843 useful) to plot more than one glyph at the specified points with this\n\
4844 function. As with plmtex and plptex, the user string can contain FCI\n\
4845 escapes to determine the font, UTF-8 code to determine the glyph or\n\
4846 else PLplot escapes for Hershey or unicode text to determine the\n\
4847 glyph.\n\
4848\n\
4849 Redacted form: plstring3(x, y, z, string)\n\
4850\n\
4851 This function is used in example 18.\n\
4852\n\
4853\n\
4854\n\
4855SYNOPSIS:\n\
4856\n\
4857plstring3(n, x, y, z, string)\n\
4858\n\
4859ARGUMENTS:\n\
4860\n\
4861 n (PLINT, input) : Number of points in the x, y, and z vectors.\n\
4862\n\
4863 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
4864 the points.\n\
4865\n\
4866 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
4867 the points.\n\
4868\n\
4869 z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n\
4870 the points.\n\
4871\n\
4872 string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n\
4873 the glyph(s) to be plotted at each of the n points. points.\n\
4874";
4875static const char* _wrap_plshades_texinfo = "-*- texinfo -*-\n\
4876Shade regions on the basis of value\n\
4877\n\
4878DESCRIPTION:\n\
4879\n\
4880 Shade regions on the basis of value. This is the high-level routine\n\
4881 for making continuous color shaded plots with cmap1 while plshade\n\
4882 should be used to plot individual shaded regions using either cmap0 or\n\
4883 cmap1. examples/;<language>/x16* shows how to use plshades for each of\n\
4884 our supported languages.\n\
4885\n\
4886 Redacted form: General: plshades(a, defined, xmin, xmax, ymin, ymax,\n\
4887 clevel, fill_width, cont_color, cont_width, fill, rectangular, pltr,\n\
4888 pltr_data)\n\
4889\n\
4890\n\
4891 This function is used in examples 16, 21, and 22.\n\
4892\n\
4893\n\
4894\n\
4895SYNOPSIS:\n\
4896\n\
4897plshades(a, nx, ny, defined, xmin, xmax, ymin, ymax, clevel, nlevel, fill_width, cont_color, cont_width, fill, rectangular, pltr, pltr_data)\n\
4898\n\
4899ARGUMENTS:\n\
4900\n\
4901 a (PLFLT_MATRIX, input) : A matrix containing function values to\n\
4902 plot. Should have dimensions of\n\
4903 nx by\n\
4904 ny.\n\
4905\n\
4906 nx (PLINT, input) : First dimension of matrix \"a\".\n\
4907\n\
4908 ny (PLINT, input) : Second dimension of matrix \"a\".\n\
4909\n\
4910 defined (PLDEFINED_callback, input) : Callback function specifying\n\
4911 the region that should be plotted in the shade plot. This\n\
4912 function accepts x and y coordinates as input arguments and must\n\
4913 return 1 if the point is to be included in the shade plot and 0\n\
4914 otherwise. If you want to plot the entire shade plot (the usual\n\
4915 case), this argument should be set to NULL.\n\
4916\n\
4917 xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n\
4918 pltr below for how these arguments are used (only for the special case\n\
4919 when the callback function\n\
4920 pltr is not supplied).\n\
4921\n\
4922 clevel (PLFLT_VECTOR, input) : A vector containing the data levels\n\
4923 corresponding to the edges of each shaded region that will be\n\
4924 plotted by this function. To work properly the levels should be\n\
4925 monotonic.\n\
4926\n\
4927 nlevel (PLINT, input) : Number of shades plus 1 (i.e., the number\n\
4928 of shade edge values in clevel).\n\
4929\n\
4930 fill_width (PLFLT, input) : Defines the line width used by the fill\n\
4931 pattern.\n\
4932\n\
4933 cont_color (PLINT, input) : Defines cmap0 pen color used for\n\
4934 contours defining edges of shaded regions. The pen color is only\n\
4935 temporary set for the contour drawing. Set this value to zero or\n\
4936 less if no shade edge contours are wanted.\n\
4937\n\
4938 cont_width (PLFLT, input) : Defines line width used for contours\n\
4939 defining edges of shaded regions. This value may not be honored\n\
4940 by all drivers. The pen width is only temporary set for the\n\
4941 contour drawing. Set this value to zero or less if no shade edge\n\
4942 contours are wanted.\n\
4943\n\
4944 fill (PLFILL_callback, input) : Callback routine used to fill the\n\
4945 region. Use plfill for this purpose.\n\
4946\n\
4947 rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n\
4948 map to rectangles after coordinate transformation with pltrl.\n\
4949 Otherwise, set rectangular to false. If rectangular is set to\n\
4950 true, plshade tries to save time by filling large rectangles.\n\
4951 This optimization fails if the coordinate transformation distorts\n\
4952 the shape of rectangles. For example a plot in polar coordinates\n\
4953 has to have rectangular set to false.\n\
4954\n\
4955 pltr (PLTRANSFORM_callback, input) : A callback function that\n\
4956 defines the transformation between the zero-based indices of the\n\
4957 matrix a and world coordinates. If\n\
4958 pltr is not supplied (e.g., is set to NULL in the C case), then the x\n\
4959 indices of a are mapped to the range\n\
4960 xmin through\n\
4961 xmax and the y indices of a are mapped to the range\n\
4962 ymin through\n\
4963 ymax.For the C case, transformation functions are provided in the\n\
4964 PLplot library: pltr0 for the identity mapping, and pltr1 and\n\
4965 pltr2 for arbitrary mappings respectively defined by vectors and\n\
4966 matrices. In addition, C callback routines for the transformation\n\
4967 can be supplied by the user such as the mypltr function in\n\
4968 examples/c/x09c.c which provides a general linear transformation\n\
4969 between index coordinates and world coordinates.For languages\n\
4970 other than C you should consult the PLplot documentation for the\n\
4971 details concerning how PLTRANSFORM_callback arguments are\n\
4972 interfaced. However, in general, a particular pattern of\n\
4973 callback-associated arguments such as a tr vector with 6 elements;\n\
4974 xg and yg vectors; or xg and yg matrices are respectively\n\
4975 interfaced to a linear-transformation routine similar to the above\n\
4976 mypltr function; pltr1; and pltr2. Furthermore, some of our more\n\
4977 sophisticated bindings (see, e.g., the PLplot documentation)\n\
4978 support native language callbacks for handling index to\n\
4979 world-coordinate transformations. Examples of these various\n\
4980 approaches are given in examples/<language>x09*,\n\
4981 examples/<language>x16*, examples/<language>x20*,\n\
4982 examples/<language>x21*, and examples/<language>x22*, for all our\n\
4983 supported languages.\n\
4984\n\
4985 pltr_data (PLPointer, input) : Extra parameter to help pass\n\
4986 information to pltr0, pltr1, pltr2, or whatever routine that is\n\
4987 externally supplied.\n\
4988";
4989static const char* _wrap_plsfnam_texinfo = "-*- texinfo -*-\n\
4990Set output file name\n\
4991\n\
4992DESCRIPTION:\n\
4993\n\
4994 Sets the current output file name, if applicable. If the file name\n\
4995 has not been specified and is required by the driver, the user will be\n\
4996 prompted for it. If using the X-windows output driver, this sets the\n\
4997 display name. This routine, if used, must be called before\n\
4998 initializing PLplot.\n\
4999\n\
5000 Redacted form: plsfnam(fnam)\n\
5001\n\
5002 This function is used in examples 1 and 20.\n\
5003\n\
5004\n\
5005\n\
5006SYNOPSIS:\n\
5007\n\
5008plsfnam(fnam)\n\
5009\n\
5010ARGUMENTS:\n\
5011\n\
5012 fnam (PLCHAR_VECTOR, input) : An ascii character string containing\n\
5013 the file name.\n\
5014";
5015static const char* _wrap_plcont_texinfo = "-*- texinfo -*-\n\
5016Contour plot\n\
5017\n\
5018DESCRIPTION:\n\
5019\n\
5020 Draws a contour plot of the data in f[\n\
5021 nx][\n\
5022 ny], using the nlevel contour levels specified by clevel. Only the\n\
5023 region of the matrix from kx to lx and from ky to ly is plotted out\n\
5024 where all these index ranges are interpreted as one-based for\n\
5025 historical reasons. A transformation routine pointed to by pltr with\n\
5026 a generic pointer pltr_data for additional data required by the\n\
5027 transformation routine is used to map indices within the matrix to the\n\
5028 world coordinates.\n\
5029\n\
5030 Redacted form: plcont(f, kx, lx, ky, ly, clevel, pltr, pltr_data)\n\
5031 where (see above discussion) the pltr, pltr_data callback arguments\n\
5032 are sometimes replaced by a tr vector with 6 elements; xg and yg\n\
5033 vectors; or xg and yg matrices.\n\
5034\n\
5035 This function is used in examples 9, 14, 16, and 22.\n\
5036\n\
5037\n\
5038\n\
5039SYNOPSIS:\n\
5040\n\
5041plcont(f, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr, pltr_data)\n\
5042\n\
5043ARGUMENTS:\n\
5044\n\
5045 f (PLFLT_MATRIX, input) : A matrix containing data to be contoured.\n\
5046\n\
5047 nx, ny (PLINT, input) : The dimensions of the matrix f.\n\
5048\n\
5049 kx, lx (PLINT, input) : Range of x indices to consider where 0 <=\n\
5050 kx-1 < lx-1 < nx. Values of kx and lx are one-based rather than\n\
5051 zero-based for historical backwards-compatibility reasons.\n\
5052\n\
5053 ky, ly (PLINT, input) : Range of y indices to consider where 0 <=\n\
5054 ky-1 < ly-1 < ny. Values of ky and ly are one-based rather than\n\
5055 zero-based for historical backwards-compatibility reasons.\n\
5056\n\
5057 clevel (PLFLT_VECTOR, input) : A vector specifying the levels at\n\
5058 which to draw contours.\n\
5059\n\
5060 nlevel (PLINT, input) : Number of contour levels to draw.\n\
5061\n\
5062 pltr (PLTRANSFORM_callback, input) : A callback function that\n\
5063 defines the transformation between the zero-based indices of the\n\
5064 matrix f and the world coordinates.For the C case, transformation\n\
5065 functions are provided in the PLplot library: pltr0 for the\n\
5066 identity mapping, and pltr1 and pltr2 for arbitrary mappings\n\
5067 respectively defined by vectors and matrices. In addition, C\n\
5068 callback routines for the transformation can be supplied by the\n\
5069 user such as the mypltr function in examples/c/x09c.c which\n\
5070 provides a general linear transformation between index coordinates\n\
5071 and world coordinates.For languages other than C you should\n\
5072 consult the PLplot documentation for the details concerning how\n\
5073 PLTRANSFORM_callback arguments are interfaced. However, in\n\
5074 general, a particular pattern of callback-associated arguments\n\
5075 such as a tr vector with 6 elements; xg and yg vectors; or xg and\n\
5076 yg matrices are respectively interfaced to a linear-transformation\n\
5077 routine similar to the above mypltr function; pltr1; and pltr2.\n\
5078 Furthermore, some of our more sophisticated bindings (see, e.g.,\n\
5079 the PLplot documentation) support native language callbacks for\n\
5080 handling index to world-coordinate transformations. Examples of\n\
5081 these various approaches are given in examples/<language>x09*,\n\
5082 examples/<language>x16*, examples/<language>x20*,\n\
5083 examples/<language>x21*, and examples/<language>x22*, for all our\n\
5084 supported languages.\n\
5085\n\
5086 pltr_data (PLPointer, input) : Extra parameter to help pass\n\
5087 information to pltr0, pltr1, pltr2, or whatever callback routine\n\
5088 that is externally supplied.\n\
5089";
5090static const char* _wrap_plsdiplt_texinfo = "-*- texinfo -*-\n\
5091Set parameters that define current plot-space window\n\
5092\n\
5093DESCRIPTION:\n\
5094\n\
5095 Set relative minima and maxima that define the current plot-space\n\
5096 window. If plsdiplt is not called the default values of xmin, ymin,\n\
5097 xmax, and ymax are 0., 0., 1., and 1.\n\
5098\n\
5099 Redacted form: plsdiplt(xmin, ymin, xmax, ymax)\n\
5100\n\
5101 This function is used in example 31.\n\
5102\n\
5103\n\
5104\n\
5105SYNOPSIS:\n\
5106\n\
5107plsdiplt(xmin, ymin, xmax, ymax)\n\
5108\n\
5109ARGUMENTS:\n\
5110\n\
5111 xmin (PLFLT, input) : Relative minimum in x.\n\
5112\n\
5113 ymin (PLFLT, input) : Relative minimum in y.\n\
5114\n\
5115 xmax (PLFLT, input) : Relative maximum in x.\n\
5116\n\
5117 ymax (PLFLT, input) : Relative maximum in y.\n\
5118";
5119static const char* _wrap_plptex3_texinfo = "-*- texinfo -*-\n\
5120Write text inside the viewport of a 3D plot\n\
5121\n\
5122DESCRIPTION:\n\
5123\n\
5124 Writes text at a specified position and inclination and with a\n\
5125 specified shear within the viewport. Text is clipped at the viewport\n\
5126 boundaries. The reference point of a string lies along a line passing\n\
5127 through the string at half the height of a capital letter. The\n\
5128 position of the reference point along this line is determined by just,\n\
5129 and the reference point is placed at world coordinates (\n\
5130 wx,\n\
5131 wy,\n\
5132 wz) within the viewport. The inclination and shear of the string is\n\
5133 specified in terms of differences of world coordinates making it easy\n\
5134 to write text parallel to a line in a graph.\n\
5135\n\
5136 Redacted form: plptex3(x, y, z, dx, dy, dz, sx, sy, sz, just, text)\n\
5137\n\
5138 This function is used in example 28.\n\
5139\n\
5140\n\
5141\n\
5142SYNOPSIS:\n\
5143\n\
5144plptex3(wx, wy, wz, dx, dy, dz, sx, sy, sz, just, text)\n\
5145\n\
5146ARGUMENTS:\n\
5147\n\
5148 wx (PLFLT, input) : x world coordinate of reference point of\n\
5149 string.\n\
5150\n\
5151 wy (PLFLT, input) : y world coordinate of reference point of\n\
5152 string.\n\
5153\n\
5154 wz (PLFLT, input) : z world coordinate of reference point of\n\
5155 string.\n\
5156\n\
5157 dx (PLFLT, input) : Together with dy and\n\
5158 dz , this specifies the inclination of the string. The baseline of\n\
5159 the string is parallel to a line joining (\n\
5160 x,\n\
5161 y,\n\
5162 z) to (\n\
5163 x+\n\
5164 dx,\n\
5165 y+\n\
5166 dy,\n\
5167 z+\n\
5168 dz) .\n\
5169\n\
5170 dy (PLFLT, input) : Together with dx and\n\
5171 dz, this specifies the inclination of the string.\n\
5172\n\
5173 dz (PLFLT, input) : Together with dx and\n\
5174 dy, this specifies the inclination of the string.\n\
5175\n\
5176 sx (PLFLT, input) : Together with sy and\n\
5177 sz , this specifies the shear of the string. The string is sheared so\n\
5178 that the characters are vertically parallel to a line joining (\n\
5179 x,\n\
5180 y,\n\
5181 z) to (\n\
5182 x+\n\
5183 sx,\n\
5184 y+\n\
5185 sy,\n\
5186 z+\n\
5187 sz) . If sx =\n\
5188 sy =\n\
5189 sz = 0.) then the text is not sheared.\n\
5190\n\
5191 sy (PLFLT, input) : Together with sx and\n\
5192 sz, this specifies shear of the string.\n\
5193\n\
5194 sz (PLFLT, input) : Together with sx and\n\
5195 sy, this specifies shear of the string.\n\
5196\n\
5197 just (PLFLT, input) : Specifies the position of the string relative\n\
5198 to its reference point. If just=0. , the reference point is at\n\
5199 the left and if just=1. , it is at the right of the string. Other\n\
5200 values of just give intermediate justifications.\n\
5201\n\
5202 text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n\
5203 written out.\n\
5204";
5205static const char* _wrap_plmap_texinfo = "-*- texinfo -*-\n\
5206Plot continental outline or shapefile data in world coordinates\n\
5207\n\
5208DESCRIPTION:\n\
5209\n\
5210 Plots continental outlines or shapefile data in world coordinates. A\n\
5211 demonstration of how to use this function to create different\n\
5212 projections can be found in examples/c/x19c. PLplot is provided with\n\
5213 basic coastal outlines and USA state borders. To use the map\n\
5214 functionality PLplot must be compiled with the shapelib library.\n\
5215 Shapefiles have become a popular standard for geographical data and\n\
5216 data in this format can be easily found from a number of online\n\
5217 sources. Shapefile data is actually provided as three or more files\n\
5218 with the same filename, but different extensions. The .shp and .shx\n\
5219 files are required for plotting Shapefile data with PLplot.\n\
5220\n\
5221 PLplot currently supports the point, multipoint, polyline and polygon\n\
5222 objects within shapefiles. However holes in polygons are not\n\
5223 supported. When plmap is used the type of object is derived from the\n\
5224 shapefile, if you wish to override the type then use one of the other\n\
5225 plmap variants. The built in maps have line data only.\n\
5226\n\
5227 Redacted form: plmap(mapform, name, minx, maxx, miny, maxy)\n\
5228\n\
5229 This function is used in example 19.\n\
5230\n\
5231\n\
5232\n\
5233SYNOPSIS:\n\
5234\n\
5235plmap(mapform, name, minx, maxx, miny, maxy)\n\
5236\n\
5237ARGUMENTS:\n\
5238\n\
5239 mapform (PLMAPFORM_callback, input) : A user supplied function to\n\
5240 transform the original map data coordinates to a new coordinate\n\
5241 system. The PLplot-supplied map data is provided as latitudes and\n\
5242 longitudes; other Shapefile data may be provided in other\n\
5243 coordinate systems as can be found in their .prj plain text files.\n\
5244 For example, by using this transform we can change from a\n\
5245 longitude, latitude coordinate to a polar stereographic\n\
5246 projection. Initially, x[0]..[n-1] are the original x coordinates\n\
5247 (longitudes for the PLplot-supplied data) and y[0]..y[n-1] are the\n\
5248 corresponding y coordinates (latitudes for the PLplot supplied\n\
5249 data). After the call to mapform(), x[] and y[] should be\n\
5250 replaced by the corresponding plot coordinates. If no transform is\n\
5251 desired, mapform can be replaced by NULL.\n\
5252\n\
5253 name (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
5254 the type of map plotted. This is either one of the PLplot built-in\n\
5255 maps or the file name of a set of Shapefile files without the file\n\
5256 extensions. For the PLplot built-in maps the possible values are:\n\
5257 \"globe\" -- continental outlines\n\
5258 \"usa\" -- USA and state boundaries\n\
5259 \"cglobe\" -- continental outlines and countries\n\
5260 \"usaglobe\" -- USA, state boundaries and continental outlines\n\
5261\n\
5262\n\
5263 minx (PLFLT, input) : The minimum x value of map elements to be\n\
5264 drawn. The units must match the shapefile (built in maps are\n\
5265 degrees lat/lon). Objects in the file which do not encroach on the\n\
5266 box defined by minx, maxx, miny, maxy will not be rendered. But\n\
5267 note this is simply an optimisation, not a clipping so for objects\n\
5268 with some points inside the box and some points outside the box\n\
5269 all the points will be rendered. These parameters also define\n\
5270 latitude and longitude wrapping for shapefiles using these units.\n\
5271 Longitude points will be wrapped by integer multiples of 360\n\
5272 degrees to place them in the box. This allows the same data to be\n\
5273 used on plots from -180-180 or 0-360 longitude ranges. In fact if\n\
5274 you plot from -180-540 you will get two cycles of data drawn. The\n\
5275 value of minx must be less than the value of maxx. Passing in a\n\
5276 nan, max/-max floating point number or +/-infinity will case the\n\
5277 bounding box from the shapefile to be used.\n\
5278\n\
5279 maxx (PLFLT, input) : The maximum x value of map elements to be\n\
5280 drawn - see minx.\n\
5281\n\
5282 miny (PLFLT, input) : The minimum y value of map elements to be\n\
5283 drawn - see minx.\n\
5284\n\
5285 maxy (PLFLT, input) : The maximum y value of map elements to be\n\
5286 drawn - see minx.\n\
5287";
5288static const char* _wrap_plvpas_texinfo = "-*- texinfo -*-\n\
5289Specify viewport using coordinates and aspect ratio\n\
5290\n\
5291DESCRIPTION:\n\
5292\n\
5293 Device-independent routine for setting up the viewport. The viewport\n\
5294 is chosen to be the largest with the given aspect ratio that fits\n\
5295 within the specified region (in terms of normalized subpage\n\
5296 coordinates). This routine is functionally equivalent to plvpor when\n\
5297 a ``natural\'\' aspect ratio (0.0) is chosen. Unlike plvasp, this\n\
5298 routine reserves no extra space at the edges for labels.\n\
5299\n\
5300 Redacted form: plvpas(xmin, xmax, ymin, ymax, aspect)\n\
5301\n\
5302 This function is used in example 9.\n\
5303\n\
5304\n\
5305\n\
5306SYNOPSIS:\n\
5307\n\
5308plvpas(xmin, xmax, ymin, ymax, aspect)\n\
5309\n\
5310ARGUMENTS:\n\
5311\n\
5312 xmin (PLFLT, input) : The normalized subpage coordinate of the\n\
5313 left-hand edge of the viewport.\n\
5314\n\
5315 xmax (PLFLT, input) : The normalized subpage coordinate of the\n\
5316 right-hand edge of the viewport.\n\
5317\n\
5318 ymin (PLFLT, input) : The normalized subpage coordinate of the\n\
5319 bottom edge of the viewport.\n\
5320\n\
5321 ymax (PLFLT, input) : The normalized subpage coordinate of the top\n\
5322 edge of the viewport.\n\
5323\n\
5324 aspect (PLFLT, input) : Ratio of length of y axis to length of x\n\
5325 axis.\n\
5326";
5327static const char* _wrap_plspause_texinfo = "-*- texinfo -*-\n\
5328Set the pause (on end-of-page) status\n\
5329\n\
5330DESCRIPTION:\n\
5331\n\
5332 Set the pause (on end-of-page) status.\n\
5333\n\
5334 Redacted form: plspause(pause)\n\
5335\n\
5336 This function is in examples 14,20.\n\
5337\n\
5338\n\
5339\n\
5340SYNOPSIS:\n\
5341\n\
5342plspause(pause)\n\
5343\n\
5344ARGUMENTS:\n\
5345\n\
5346 pause (PLBOOL, input) : If pause is true there will be a pause on\n\
5347 end-of-page for those drivers which support this. Otherwise there\n\
5348 is no pause.\n\
5349";
5350static const char* _wrap_plot3d_texinfo = "-*- texinfo -*-\n\
5351Plot 3-d surface plot\n\
5352\n\
5353DESCRIPTION:\n\
5354\n\
5355 Plots a three-dimensional surface plot within the environment set up\n\
5356 by plw3d. The surface is defined by the matrix z[\n\
5357 nx][\n\
5358 ny] , the point z[i][j] being the value of the function at (\n\
5359 x[i],\n\
5360 y[j]). Note that the points in vectors x and y do not need to be\n\
5361 equally spaced, but must be stored in ascending order. The parameter\n\
5362 opt controls the way in which the surface is displayed. For further\n\
5363 details see the PLplot documentation. The only difference between\n\
5364 plmesh and plot3d is that plmesh draws the bottom side of the surface,\n\
5365 while plot3d only draws the surface as viewed from the top.\n\
5366\n\
5367 Redacted form: plot3d(x, y, z, opt, side)\n\
5368\n\
5369 This function is used in examples 11 and 21.\n\
5370\n\
5371\n\
5372\n\
5373SYNOPSIS:\n\
5374\n\
5375plot3d(x, y, z, nx, ny, opt, side)\n\
5376\n\
5377ARGUMENTS:\n\
5378\n\
5379 x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n\
5380 which the function is evaluated.\n\
5381\n\
5382 y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n\
5383 which the function is evaluated.\n\
5384\n\
5385 z (PLFLT_MATRIX, input) : A matrix containing function values to\n\
5386 plot. Should have dimensions of\n\
5387 nx by\n\
5388 ny.\n\
5389\n\
5390 nx (PLINT, input) : Number of x values at which function is\n\
5391 evaluated.\n\
5392\n\
5393 ny (PLINT, input) : Number of y values at which function is\n\
5394 evaluated.\n\
5395\n\
5396 opt (PLINT, input) : Determines the way in which the surface is\n\
5397 represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n\
5398 function of x for each value of y[j] .\n\
5399 opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n\
5400 for each value of x[i] .\n\
5401 opt=DRAW_LINEXY : Network of lines is drawn connecting points\n\
5402 at which function is defined.\n\
5403\n\
5404\n\
5405 side (PLBOOL, input) : Flag to indicate whether or not ``sides\'\'\n\
5406 should be draw on the figure. If side is true sides are drawn,\n\
5407 otherwise no sides are drawn.\n\
5408";
5409static const char* _wrap_plcpstrm_texinfo = "-*- texinfo -*-\n\
5410Copy state parameters from the reference stream to the current stream\n\
5411\n\
5412DESCRIPTION:\n\
5413\n\
5414 Copies state parameters from the reference stream to the current\n\
5415 stream. Tell driver interface to map device coordinates unless flags\n\
5416 == 1.\n\
5417\n\
5418 This function is used for making save files of selected plots (e.g.\n\
5419 from the TK driver). After initializing, you can get a copy of the\n\
5420 current plot to the specified device by switching to this stream and\n\
5421 issuing a plcpstrm and a plreplot, with calls to plbop and pleop as\n\
5422 appropriate. The plot buffer must have previously been enabled (done\n\
5423 automatically by some display drivers, such as X).\n\
5424\n\
5425 Redacted form: plcpstrm(iplsr, flags)\n\
5426\n\
5427 This function is used in example 1,20.\n\
5428\n\
5429\n\
5430\n\
5431SYNOPSIS:\n\
5432\n\
5433plcpstrm(iplsr, flags)\n\
5434\n\
5435ARGUMENTS:\n\
5436\n\
5437 iplsr (PLINT, input) : Number of reference stream.\n\
5438\n\
5439 flags (PLBOOL, input) : If flags is set to true the device\n\
5440 coordinates are not copied from the reference to current stream.\n\
5441";
5442static const char* _wrap_plspage_texinfo = "-*- texinfo -*-\n\
5443Set page parameters\n\
5444\n\
5445DESCRIPTION:\n\
5446\n\
5447 Sets the page configuration (optional). If an individual parameter is\n\
5448 zero then that parameter value is not updated. Not all parameters are\n\
5449 recognized by all drivers and the interpretation is device-dependent.\n\
5450 The X-window driver uses the length and offset parameters to determine\n\
5451 the window size and location. The length and offset values are\n\
5452 expressed in units that are specific to the current driver. For\n\
5453 instance: screen drivers will usually interpret them as number of\n\
5454 pixels, whereas printer drivers will usually use mm.\n\
5455\n\
5456 This routine, if used, must be called before initializing PLplot. It\n\
5457 may be called at later times for interactive drivers to change only\n\
5458 the dpi for subsequent redraws which you can force via a call to\n\
5459 plreplot. If this function is not called then the page size defaults\n\
5460 to landscape A4 for drivers which use real world page sizes and 744\n\
5461 pixels wide by 538 pixels high for raster drivers. The default value\n\
5462 for dx and dy is 90 pixels per inch for raster drivers.\n\
5463\n\
5464\n\
5465\n\
5466 Redacted form: plspage(xp, yp, xleng, yleng, xoff, yoff)\n\
5467\n\
5468 This function is used in examples 14 and 31.\n\
5469\n\
5470\n\
5471\n\
5472SYNOPSIS:\n\
5473\n\
5474plspage(xp, yp, xleng, yleng, xoff, yoff)\n\
5475\n\
5476ARGUMENTS:\n\
5477\n\
5478 xp (PLFLT, input) : Number of pixels per inch (DPI), x. Used only\n\
5479 by raster drivers, ignored by drivers which use \"real world\" units\n\
5480 (e.g. mm).\n\
5481\n\
5482 yp (PLFLT, input) : Number of pixels per inch (DPI), y. Used only\n\
5483 by raster drivers, ignored by drivers which use \"real world\" units\n\
5484 (e.g. mm).\n\
5485\n\
5486 xleng (PLINT, input) : Page length, x.\n\
5487\n\
5488 yleng (PLINT, input) : Page length, y.\n\
5489\n\
5490 xoff (PLINT, input) : Page offset, x.\n\
5491\n\
5492 yoff (PLINT, input) : Page offset, y.\n\
5493";
5494static const char* _wrap_plgcol0a_texinfo = "-*- texinfo -*-\n\
5495Returns 8-bit RGB values and PLFLT alpha transparency value for given color index from cmap0\n\
5496\n\
5497DESCRIPTION:\n\
5498\n\
5499 Returns 8-bit RGB values (0-255) and PLFLT alpha transparency value\n\
5500 (0.0-1.0) for given color from cmap0 (see the PLplot documentation).\n\
5501 Values are negative if an invalid color id is given.\n\
5502\n\
5503 Redacted form: plgcola(r, g, b)\n\
5504\n\
5505 This function is used in example 30.\n\
5506\n\
5507\n\
5508\n\
5509SYNOPSIS:\n\
5510\n\
5511plgcol0a(icol0, r, g, b, alpha)\n\
5512\n\
5513ARGUMENTS:\n\
5514\n\
5515 icol0 (PLINT, input) : Index of desired cmap0 color.\n\
5516\n\
5517 r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n\
5518 in the range from 0 to 255.\n\
5519\n\
5520 g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n\
5521 in the range from 0 to 255.\n\
5522\n\
5523 b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n\
5524 in the range from 0 to 255.\n\
5525\n\
5526 alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n\
5527 transparency in the range from (0.0-1.0).\n\
5528";
5529static const char* _wrap_plgcol0_texinfo = "-*- texinfo -*-\n\
5530Returns 8-bit RGB values for given color index from cmap0\n\
5531\n\
5532DESCRIPTION:\n\
5533\n\
5534 Returns 8-bit RGB values (0-255) for given color from cmap0 (see the\n\
5535 PLplot documentation). Values are negative if an invalid color id is\n\
5536 given.\n\
5537\n\
5538 Redacted form: plgcol0(icol0, r, g, b)\n\
5539\n\
5540 This function is used in example 2.\n\
5541\n\
5542\n\
5543\n\
5544SYNOPSIS:\n\
5545\n\
5546plgcol0(icol0, r, g, b)\n\
5547\n\
5548ARGUMENTS:\n\
5549\n\
5550 icol0 (PLINT, input) : Index of desired cmap0 color.\n\
5551\n\
5552 r (PLINT_NC_SCALAR, output) : Returned value of the 8-bit red\n\
5553 value.\n\
5554\n\
5555 g (PLINT_NC_SCALAR, output) : Returned value of the 8-bit green\n\
5556 value.\n\
5557\n\
5558 b (PLINT_NC_SCALAR, output) : Returned value of the 8-bit blue\n\
5559 value.\n\
5560";
5561static const char* _wrap_plsdiplz_texinfo = "-*- texinfo -*-\n\
5562Set parameters incrementally (zoom mode) that define current plot-space window\n\
5563\n\
5564DESCRIPTION:\n\
5565\n\
5566 Set relative minima and maxima incrementally (zoom mode) that define\n\
5567 the current plot-space window. This function has the same effect as\n\
5568 plsdiplt if that function has not been previously called. Otherwise,\n\
5569 this function implements zoom mode using the transformation min_used =\n\
5570 old_min + old_length*min and max_used = old_min + old_length*max for\n\
5571 each axis. For example, if min = 0.05 and max = 0.95 for each axis,\n\
5572 repeated calls to plsdiplz will zoom in by 10 per cent for each call.\n\
5573\n\
5574 Redacted form: plsdiplz(xmin, ymin, xmax, ymax)\n\
5575\n\
5576 This function is used in example 31.\n\
5577\n\
5578\n\
5579\n\
5580SYNOPSIS:\n\
5581\n\
5582plsdiplz(xmin, ymin, xmax, ymax)\n\
5583\n\
5584ARGUMENTS:\n\
5585\n\
5586 xmin (PLFLT, input) : Relative (incremental) minimum in x.\n\
5587\n\
5588 ymin (PLFLT, input) : Relative (incremental) minimum in y.\n\
5589\n\
5590 xmax (PLFLT, input) : Relative (incremental) maximum in x.\n\
5591\n\
5592 ymax (PLFLT, input) : Relative (incremental) maximum in y.\n\
5593";
5594static const char* _wrap_plmapfill_texinfo = "-*- texinfo -*-\n\
5595Plot all or a subset of Shapefile data, filling the polygons\n\
5596\n\
5597DESCRIPTION:\n\
5598\n\
5599 As per plmapline, however the items are filled in the same way as\n\
5600 plfill.\n\
5601\n\
5602 Redacted form: plmapfill(mapform, name, minx, maxx, miny, maxy,\n\
5603 plotentries)\n\
5604\n\
5605 This function is used in example 19.\n\
5606\n\
5607\n\
5608\n\
5609SYNOPSIS:\n\
5610\n\
5611plmapfill(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n\
5612\n\
5613ARGUMENTS:\n\
5614\n\
5615 mapform (PLMAPFORM_callback, input) : A user supplied function to\n\
5616 transform the coordinates given in the shapefile into a plot\n\
5617 coordinate system. By using this transform, we can change from a\n\
5618 longitude, latitude coordinate to a polar stereographic project,\n\
5619 for example. Initially, x[0]..[n-1] are the longitudes and\n\
5620 y[0]..y[n-1] are the corresponding latitudes. After the call to\n\
5621 mapform(), x[] and y[] should be replaced by the corresponding\n\
5622 plot coordinates. If no transform is desired, mapform can be\n\
5623 replaced by NULL.\n\
5624\n\
5625 name (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
5626 the file name of a set of Shapefile files without the file\n\
5627 extension.\n\
5628\n\
5629 minx (PLFLT, input) : The minimum x value to be plotted. This must\n\
5630 be in the same units as used by the Shapefile. You could use a\n\
5631 very large negative number to plot everything, but you can improve\n\
5632 performance by limiting the area drawn. The units must match those\n\
5633 of the Shapefile projection, which may be for example longitude or\n\
5634 distance. The value of minx must be less than the value of maxx.\n\
5635\n\
5636 maxx (PLFLT, input) : The maximum x value to be plotted. You could\n\
5637 use a very large number to plot everything, but you can improve\n\
5638 performance by limiting the area drawn.\n\
5639\n\
5640 miny (PLFLT, input) : The minimum y value to be plotted. This must\n\
5641 be in the same units as used by the Shapefile. You could use a\n\
5642 very large negative number to plot everything, but you can improve\n\
5643 performance by limiting the area drawn. The units must match those\n\
5644 of the Shapefile projection, which may be for example latitude or\n\
5645 distance. The value of miny must be less than the value of maxy.\n\
5646\n\
5647 maxy (PLFLT, input) : The maximum y value to be plotted. You could\n\
5648 use a very large number to plot everything, but you can improve\n\
5649 performance by limiting the area drawn.\n\
5650\n\
5651 plotentries (PLINT_VECTOR, input) : A vector containing the\n\
5652 zero-based indices of the Shapefile elements which will be drawn.\n\
5653 Setting\n\
5654 plotentries to NULL will plot all elements of the Shapefile.\n\
5655\n\
5656 nplotentries (PLINT, input) : The number of items in\n\
5657 plotentries. Ignored if\n\
5658 plotentries is NULL.\n\
5659";
5660static const char* _wrap_plline_texinfo = "-*- texinfo -*-\n\
5661Draw a line\n\
5662\n\
5663DESCRIPTION:\n\
5664\n\
5665 Draws line defined by n points in x and y.\n\
5666\n\
5667 Redacted form: plline(x, y)\n\
5668\n\
5669 This function is used in examples 1, 3, 4, 9, 12-14, 16, 18, 20, 22,\n\
5670 25-27, and 29.\n\
5671\n\
5672\n\
5673\n\
5674SYNOPSIS:\n\
5675\n\
5676plline(n, x, y)\n\
5677\n\
5678ARGUMENTS:\n\
5679\n\
5680 n (PLINT, input) : Number of points defining line.\n\
5681\n\
5682 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
5683 points.\n\
5684\n\
5685 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
5686 points.\n\
5687";
5688static const char* _wrap_plgvpw_texinfo = "-*- texinfo -*-\n\
5689Get viewport limits in world coordinates\n\
5690\n\
5691DESCRIPTION:\n\
5692\n\
5693 Get viewport limits in world coordinates.\n\
5694\n\
5695 Redacted form: General: plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n\
5696\n\
5697\n\
5698 This function is used in example 31.\n\
5699\n\
5700\n\
5701\n\
5702SYNOPSIS:\n\
5703\n\
5704plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n\
5705\n\
5706ARGUMENTS:\n\
5707\n\
5708 p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n\
5709 viewport limit of the world coordinate in x.\n\
5710\n\
5711 p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n\
5712 viewport limit of the world coordinate in x.\n\
5713\n\
5714 p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n\
5715 viewport limit of the world coordinate in y.\n\
5716\n\
5717 p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n\
5718 viewport limit of the world coordinate in y.\n\
5719";
5720static const char* _wrap_plpat_texinfo = "-*- texinfo -*-\n\
5721Set area line fill pattern\n\
5722\n\
5723DESCRIPTION:\n\
5724\n\
5725 Sets the area line fill pattern to be used, e.g., for calls to plfill.\n\
5726 The pattern consists of 1 or 2 sets of parallel lines with specified\n\
5727 inclinations and spacings. The arguments to this routine are the\n\
5728 number of sets to use (1 or 2) followed by two vectors (with 1 or 2\n\
5729 elements) specifying the inclinations in tenths of a degree and the\n\
5730 spacing in micrometers. (See also plpsty)\n\
5731\n\
5732 Redacted form: General: plpat(inc, del)\n\
5733\n\
5734\n\
5735 This function is used in example 15.\n\
5736\n\
5737\n\
5738\n\
5739SYNOPSIS:\n\
5740\n\
5741plpat(nlin, inc, del)\n\
5742\n\
5743ARGUMENTS:\n\
5744\n\
5745 nlin (PLINT, input) : Number of sets of lines making up the\n\
5746 pattern, either 1 or 2.\n\
5747\n\
5748 inc (PLINT_VECTOR, input) : A vector containing nlin values of the\n\
5749 inclination in tenths of a degree. (Should be between -900 and\n\
5750 900).\n\
5751\n\
5752 del (PLINT_VECTOR, input) : A vector containing nlin values of the\n\
5753 spacing in micrometers between the lines making up the pattern.\n\
5754";
5755static const char* _wrap_plsxax_texinfo = "-*- texinfo -*-\n\
5756Set x axis parameters\n\
5757\n\
5758DESCRIPTION:\n\
5759\n\
5760 Sets values of the digmax and digits flags for the x axis. See the\n\
5761 PLplot documentation for more information.\n\
5762\n\
5763 Redacted form: plsxax(digmax, digits)\n\
5764\n\
5765 This function is used in example 31.\n\
5766\n\
5767\n\
5768\n\
5769SYNOPSIS:\n\
5770\n\
5771plsxax(digmax, digits)\n\
5772\n\
5773ARGUMENTS:\n\
5774\n\
5775 digmax (PLINT, input) : Variable to set the maximum number of\n\
5776 digits for the x axis. If nonzero, the printed label will be\n\
5777 switched to a floating-point representation when the number of\n\
5778 digits exceeds digmax.\n\
5779\n\
5780 digits (PLINT, input) : Field digits value. Currently, changing\n\
5781 its value here has no effect since it is set only by plbox or\n\
5782 plbox3. However, the user may obtain its value after a call to\n\
5783 either of these functions by calling plgxax.\n\
5784";
5785static const char* _wrap_plgfam_texinfo = "-*- texinfo -*-\n\
5786Get family file parameters\n\
5787\n\
5788DESCRIPTION:\n\
5789\n\
5790 Gets information about current family file, if familying is enabled.\n\
5791 See the PLplot documentation for more information.\n\
5792\n\
5793 Redacted form: plgfam(p_fam, p_num, p_bmax)\n\
5794\n\
5795 This function is used in examples 14 and 31.\n\
5796\n\
5797\n\
5798\n\
5799SYNOPSIS:\n\
5800\n\
5801plgfam(p_fam, p_num, p_bmax)\n\
5802\n\
5803ARGUMENTS:\n\
5804\n\
5805 p_fam (PLINT_NC_SCALAR, output) : Returned value of the current\n\
5806 family flag value. If nonzero, familying is enabled for the\n\
5807 current device.\n\
5808\n\
5809 p_num (PLINT_NC_SCALAR, output) : Returned value of the current\n\
5810 family file number.\n\
5811\n\
5812 p_bmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n\
5813 file size (in bytes) for a family file.\n\
5814";
5815static const char* _wrap_plgyax_texinfo = "-*- texinfo -*-\n\
5816Get y axis parameters\n\
5817\n\
5818DESCRIPTION:\n\
5819\n\
5820 Identical to plgxax, except that arguments are flags for y axis. See\n\
5821 the description of plgxax for more detail.\n\
5822\n\
5823 Redacted form: plgyax(p_digmax, p_digits)\n\
5824\n\
5825 This function is used in example 31.\n\
5826\n\
5827\n\
5828\n\
5829SYNOPSIS:\n\
5830\n\
5831plgyax(p_digmax, p_digits)\n\
5832\n\
5833ARGUMENTS:\n\
5834\n\
5835 p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n\
5836 number of digits for the y axis. If nonzero, the printed label\n\
5837 has been switched to a floating-point representation when the\n\
5838 number of digits exceeds this value.\n\
5839\n\
5840 p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n\
5841 number of digits for the numeric labels (y axis) from the last\n\
5842 plot.\n\
5843";
5844static const char* _wrap_plpoin_texinfo = "-*- texinfo -*-\n\
5845Plot a glyph at the specified points\n\
5846\n\
5847DESCRIPTION:\n\
5848\n\
5849 Plot a glyph at the specified points. (This function is largely\n\
5850 superseded by plstring which gives access to many[!] more glyphs.)\n\
5851 code=-1 means try to just draw a point. Right now it\'s just a move\n\
5852 and a draw at the same place. Not ideal, since a sufficiently\n\
5853 intelligent output device may optimize it away, or there may be faster\n\
5854 ways of doing it. This is OK for now, though, and offers a 4X speedup\n\
5855 over drawing a Hershey font \"point\" (which is actually diamond shaped\n\
5856 and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n\
5857 useful (but small subset) of Hershey symbols is plotted. If 32 <=\n\
5858 code <= 127 the corresponding printable ASCII character is plotted.\n\
5859\n\
5860 Redacted form: plpoin(x, y, code)\n\
5861\n\
5862 This function is used in examples 1, 6, 14, and 29.\n\
5863\n\
5864\n\
5865\n\
5866SYNOPSIS:\n\
5867\n\
5868plpoin(n, x, y, code)\n\
5869\n\
5870ARGUMENTS:\n\
5871\n\
5872 n (PLINT, input) : Number of points in the x and y vectors.\n\
5873\n\
5874 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
5875 points.\n\
5876\n\
5877 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
5878 points.\n\
5879\n\
5880 code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n\
5881 with -1 <= code <= 127) corresponding to a glyph to be plotted at\n\
5882 each of the n points.\n\
5883";
5884static const char* _wrap_plmapstring_texinfo = "-*- texinfo -*-\n\
5885Plot all or a subset of Shapefile data using strings or points in world coordinates\n\
5886\n\
5887DESCRIPTION:\n\
5888\n\
5889 As per plmapline, however the items are plotted as strings or points\n\
5890 in the same way as plstring.\n\
5891\n\
5892 Redacted form: plmapstring(mapform, name, string, minx, maxx, miny,\n\
5893 maxy, plotentries)\n\
5894\n\
5895 This function is not used in any examples.\n\
5896\n\
5897\n\
5898\n\
5899SYNOPSIS:\n\
5900\n\
5901plmapstring(mapform, name, string, minx, maxx, miny, maxy, plotentries, nplotentries)\n\
5902\n\
5903ARGUMENTS:\n\
5904\n\
5905 mapform (PLMAPFORM_callback, input) : A user supplied function to\n\
5906 transform the coordinates given in the shapefile into a plot\n\
5907 coordinate system. By using this transform, we can change from a\n\
5908 longitude, latitude coordinate to a polar stereographic project,\n\
5909 for example. Initially, x[0]..[n-1] are the longitudes and\n\
5910 y[0]..y[n-1] are the corresponding latitudes. After the call to\n\
5911 mapform(), x[] and y[] should be replaced by the corresponding\n\
5912 plot coordinates. If no transform is desired, mapform can be\n\
5913 replaced by NULL.\n\
5914\n\
5915 name (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
5916 the file name of a set of Shapefile files without the file\n\
5917 extension.\n\
5918\n\
5919 string (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n\
5920 drawn.\n\
5921\n\
5922 minx (PLFLT, input) : The minimum x value to be plotted. This must\n\
5923 be in the same units as used by the Shapefile. You could use a\n\
5924 very large negative number to plot everything, but you can improve\n\
5925 performance by limiting the area drawn. The units must match those\n\
5926 of the Shapefile projection, which may be for example longitude or\n\
5927 distance. The value of minx must be less than the value of maxx.\n\
5928\n\
5929 maxx (PLFLT, input) : The maximum x value to be plotted. You could\n\
5930 use a very large number to plot everything, but you can improve\n\
5931 performance by limiting the area drawn.\n\
5932\n\
5933 miny (PLFLT, input) : The minimum y 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 latitude or\n\
5938 distance. The value of miny must be less than the value of maxy.\n\
5939\n\
5940 maxy (PLFLT, input) : The maximum y 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 plotentries (PLINT_VECTOR, input) : A vector containing the\n\
5945 zero-based indices of the Shapefile elements which will be drawn.\n\
5946 Setting\n\
5947 plotentries to NULL will plot all elements of the Shapefile.\n\
5948\n\
5949 nplotentries (PLINT, input) : The number of items in\n\
5950 plotentries. Ignored if\n\
5951 plotentries is NULL.\n\
5952";
5953static const char* _wrap_plpsty_texinfo = "-*- texinfo -*-\n\
5954Select area fill pattern\n\
5955\n\
5956DESCRIPTION:\n\
5957\n\
5958 If\n\
5959 patt is zero or less use either a hardware solid fill if the drivers\n\
5960 have that capability (virtually all do) or fall back to a software\n\
5961 emulation of a solid fill using the eighth area line fill pattern. If\n\
5962 0 <\n\
5963 patt <= 8, then select one of eight predefined area line fill patterns\n\
5964 to use (see plpat if you desire other patterns).\n\
5965\n\
5966 Redacted form: plpsty(patt)\n\
5967\n\
5968 This function is used in examples 12, 13, 15, 16, and 25.\n\
5969\n\
5970\n\
5971\n\
5972SYNOPSIS:\n\
5973\n\
5974plpsty(patt)\n\
5975\n\
5976ARGUMENTS:\n\
5977\n\
5978 patt (PLINT, input) : The desired pattern index. If\n\
5979 patt is zero or less, then a solid fill is (normally, see qualifiers\n\
5980 above) used. For\n\
5981 patt in the range from 1 to 8 and assuming the driver has not supplied\n\
5982 line fill capability itself (most deliberately do not so that line\n\
5983 fill patterns look identical for those drivers), the patterns\n\
5984 consist of (1) horizontal lines, (2) vertical lines, (3) lines at\n\
5985 45 degrees, (4) lines at -45 degrees, (5) lines at 30 degrees, (6)\n\
5986 lines at -30 degrees, (7) both vertical and horizontal lines, and\n\
5987 (8) lines at both 45 degrees and -45 degrees.\n\
5988";
5989static const char* _wrap_plscol0_texinfo = "-*- texinfo -*-\n\
5990Set 8-bit RGB values for given cmap0 color index\n\
5991\n\
5992DESCRIPTION:\n\
5993\n\
5994 Set 8-bit RGB values for given cmap0 (see the PLplot documentation)\n\
5995 index. Overwrites the previous color value for the given index and,\n\
5996 thus, does not result in any additional allocation of space for\n\
5997 colors.\n\
5998\n\
5999 Redacted form: plscol0(icol0, r, g, b)\n\
6000\n\
6001 This function is used in any example 31.\n\
6002\n\
6003\n\
6004\n\
6005SYNOPSIS:\n\
6006\n\
6007plscol0(icol0, r, g, b)\n\
6008\n\
6009ARGUMENTS:\n\
6010\n\
6011 icol0 (PLINT, input) : Color index. Must be less than the maximum\n\
6012 number of colors (which is set by default, by plscmap0n, or even\n\
6013 by plscmap0).\n\
6014\n\
6015 r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
6016 degree of red in the color.\n\
6017\n\
6018 g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
6019 degree of green in the color.\n\
6020\n\
6021 b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
6022 degree of blue in the color.\n\
6023";
6024static const char* _wrap_plscolor_texinfo = "-*- texinfo -*-\n\
6025Used to globally turn color output on/off\n\
6026\n\
6027DESCRIPTION:\n\
6028\n\
6029 Used to globally turn color output on/off for those drivers/devices\n\
6030 that support it.\n\
6031\n\
6032 Redacted form: plscolor(color)\n\
6033\n\
6034 This function is used in example 31.\n\
6035\n\
6036\n\
6037\n\
6038SYNOPSIS:\n\
6039\n\
6040plscolor(color)\n\
6041\n\
6042ARGUMENTS:\n\
6043\n\
6044 color (PLINT, input) : Color flag (Boolean). If zero, color is\n\
6045 turned off. If non-zero, color is turned on.\n\
6046";
6047static const char* _wrap_plend_texinfo = "-*- texinfo -*-\n\
6048End plotting session\n\
6049\n\
6050DESCRIPTION:\n\
6051\n\
6052 Ends a plotting session, tidies up all the output files, switches\n\
6053 interactive devices back into text mode and frees up any memory that\n\
6054 was allocated. Must be called before end of program.\n\
6055\n\
6056 By default, PLplot\'s interactive devices (Xwin, TK, etc.) go into a\n\
6057 wait state after a call to plend or other functions which trigger the\n\
6058 end of a plot page. To avoid this, use the plspause function.\n\
6059\n\
6060 Redacted form: plend()\n\
6061\n\
6062 This function is used in all of the examples.\n\
6063\n\
6064\n\
6065\n\
6066SYNOPSIS:\n\
6067\n\
6068plend()\n\
6069";
6070static const char* _wrap_plbin_texinfo = "-*- texinfo -*-\n\
6071Plot a histogram from binned data\n\
6072\n\
6073DESCRIPTION:\n\
6074\n\
6075 Plots a histogram consisting of nbin bins. The value associated with\n\
6076 the i\'th bin is placed in x[i], and the number of points in the bin is\n\
6077 placed in y[i]. For proper operation, the values in x[i] must form a\n\
6078 strictly increasing sequence. By default, x[i] is the left-hand edge\n\
6079 of the i\'th bin. If opt=PL_BIN_CENTRED is used, the bin boundaries are\n\
6080 placed midway between the values in the x vector. Also see plhist for\n\
6081 drawing histograms from unbinned data.\n\
6082\n\
6083 Redacted form: General: plbin(x, y, opt)\n\
6084 Python: plbin(nbin, x, y, opt)\n\
6085\n\
6086\n\
6087 This function is not used in any examples.\n\
6088\n\
6089\n\
6090\n\
6091SYNOPSIS:\n\
6092\n\
6093plbin(nbin, x, y, opt)\n\
6094\n\
6095ARGUMENTS:\n\
6096\n\
6097 nbin (PLINT, input) : Number of bins (i.e., number of values in x\n\
6098 and y vectors.)\n\
6099\n\
6100 x (PLFLT_VECTOR, input) : A vector containing values associated\n\
6101 with bins. These must form a strictly increasing sequence.\n\
6102\n\
6103 y (PLFLT_VECTOR, input) : A vector containing a number which is\n\
6104 proportional to the number of points in each bin. This is a PLFLT\n\
6105 (instead of PLINT) vector so as to allow histograms of\n\
6106 probabilities, etc.\n\
6107\n\
6108 opt (PLINT, input) : Is a combination of several flags:\n\
6109 opt=PL_BIN_DEFAULT: The x represent the lower bin boundaries, the\n\
6110 outer bins are expanded to fill up the entire x-axis and bins of\n\
6111 zero height are simply drawn.\n\
6112 opt=PL_BIN_CENTRED|...: The bin boundaries are to be midway\n\
6113 between the x values. If the values in x are equally spaced,\n\
6114 the values are the center values of the bins.\n\
6115 opt=PL_BIN_NOEXPAND|...: The outer bins are drawn with equal\n\
6116 size as the ones inside.\n\
6117 opt=PL_BIN_NOEMPTY|...: Bins with zero height are not drawn\n\
6118 (there is a gap for such bins).\n\
6119";
6120static const char* _wrap_plimagefr_texinfo = "-*- texinfo -*-\n\
6121Plot a 2D matrix using cmap1\n\
6122\n\
6123DESCRIPTION:\n\
6124\n\
6125 Plot a 2D matrix using cmap1.\n\
6126\n\
6127 Redacted form: General: plimagefr(idata, xmin, xmax, ymin, ymax, zmin,\n\
6128 zmax, valuemin, valuemax, pltr, pltr_data)\n\
6129\n\
6130\n\
6131 This function is used in example 20.\n\
6132\n\
6133\n\
6134\n\
6135SYNOPSIS:\n\
6136\n\
6137plimagefr(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr, pltr_data)\n\
6138\n\
6139ARGUMENTS:\n\
6140\n\
6141 idata (PLFLT_MATRIX, input) : A matrix of values (intensities) to\n\
6142 plot. Should have dimensions of\n\
6143 nx by\n\
6144 ny.\n\
6145\n\
6146 nx, ny (PLINT, input) : Dimensions of idata\n\
6147\n\
6148 xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n\
6149 pltr below for how these arguments are used (only for the special case\n\
6150 when the callback function\n\
6151 pltr is not supplied).\n\
6152\n\
6153 zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n\
6154 (inclusive) will be plotted.\n\
6155\n\
6156 valuemin, valuemax (PLFLT, input) : The minimum and maximum data\n\
6157 values to use for value to color mappings. A datum equal to or\n\
6158 less than valuemin will be plotted with color 0.0, while a datum\n\
6159 equal to or greater than valuemax will be plotted with color 1.0.\n\
6160 Data between valuemin and valuemax map linearly to colors in the\n\
6161 range (0.0-1.0).\n\
6162\n\
6163 pltr (PLTRANSFORM_callback, input) : A callback function that\n\
6164 defines the transformation between the zero-based indices of the\n\
6165 matrix idata and world coordinates. If\n\
6166 pltr is not supplied (e.g., is set to NULL in the C case), then the x\n\
6167 indices of idata are mapped to the range\n\
6168 xmin through\n\
6169 xmax and the y indices of idata are mapped to the range\n\
6170 ymin through\n\
6171 ymax.For the C case, transformation functions are provided in the\n\
6172 PLplot library: pltr0 for the identity mapping, and pltr1 and\n\
6173 pltr2 for arbitrary mappings respectively defined by vectors and\n\
6174 matrices. In addition, C callback routines for the transformation\n\
6175 can be supplied by the user such as the mypltr function in\n\
6176 examples/c/x09c.c which provides a general linear transformation\n\
6177 between index coordinates and world coordinates.For languages\n\
6178 other than C you should consult the PLplot documentation for the\n\
6179 details concerning how PLTRANSFORM_callback arguments are\n\
6180 interfaced. However, in general, a particular pattern of\n\
6181 callback-associated arguments such as a tr vector with 6 elements;\n\
6182 xg and yg vectors; or xg and yg matrices are respectively\n\
6183 interfaced to a linear-transformation routine similar to the above\n\
6184 mypltr function; pltr1; and pltr2. Furthermore, some of our more\n\
6185 sophisticated bindings (see, e.g., the PLplot documentation)\n\
6186 support native language callbacks for handling index to\n\
6187 world-coordinate transformations. Examples of these various\n\
6188 approaches are given in examples/<language>x09*,\n\
6189 examples/<language>x16*, examples/<language>x20*,\n\
6190 examples/<language>x21*, and examples/<language>x22*, for all our\n\
6191 supported languages.\n\
6192\n\
6193 pltr_data (PLPointer, input) : Extra parameter to help pass\n\
6194 information to pltr0, pltr1, pltr2, or whatever routine is\n\
6195 externally supplied.\n\
6196";
6197static const char* _wrap_pllightsource_texinfo = "-*- texinfo -*-\n\
6198Sets the 3D position of the light source\n\
6199\n\
6200DESCRIPTION:\n\
6201\n\
6202 Sets the 3D position of the light source for use with plsurf3d and\n\
6203 plsurf3dl\n\
6204\n\
6205 Redacted form: pllightsource(x, y, z)\n\
6206\n\
6207 This function is used in example 8.\n\
6208\n\
6209\n\
6210\n\
6211SYNOPSIS:\n\
6212\n\
6213pllightsource(x, y, z)\n\
6214\n\
6215ARGUMENTS:\n\
6216\n\
6217 x (PLFLT, input) : X-coordinate of the light source.\n\
6218\n\
6219 y (PLFLT, input) : Y-coordinate of the light source.\n\
6220\n\
6221 z (PLFLT, input) : Z-coordinate of the light source.\n\
6222";
6223static const char* _wrap_plot3dcl_texinfo = "-*- texinfo -*-\n\
6224Magnitude colored plot surface with contour for z[x][y] with y index limits\n\
6225\n\
6226DESCRIPTION:\n\
6227\n\
6228 When the implementation is completed this variant of plot3dc (see that\n\
6229 function\'s documentation for more details) should be suitable for the\n\
6230 case where the area of the x, y coordinate grid where z is defined can\n\
6231 be non-rectangular. The implementation is incomplete so the last 4\n\
6232 parameters of plot3dcl; indexxmin, indexxmax, indexymin, and\n\
6233 indexymax; are currently ignored and the functionality is otherwise\n\
6234 identical to that of plot3dc.\n\
6235\n\
6236 Redacted form: General: plot3dcl(x, y, z, opt, clevel, indexxmin,\n\
6237 indexymin, indexymax)\n\
6238\n\
6239\n\
6240 This function is not used in any example.\n\
6241\n\
6242\n\
6243\n\
6244SYNOPSIS:\n\
6245\n\
6246plot3dcl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n\
6247\n\
6248ARGUMENTS:\n\
6249\n\
6250 x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n\
6251 which the function is evaluated.\n\
6252\n\
6253 y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n\
6254 which the function is evaluated.\n\
6255\n\
6256 z (PLFLT_MATRIX, input) : A matrix containing function values to\n\
6257 plot. Should have dimensions of\n\
6258 nx by\n\
6259 ny.\n\
6260\n\
6261 nx (PLINT, input) : Number of x values at which the function is\n\
6262 evaluated.\n\
6263\n\
6264 ny (PLINT, input) : Number of y values at which the function is\n\
6265 evaluated.\n\
6266\n\
6267 opt (PLINT, input) : Determines the way in which the surface is\n\
6268 represented. To specify more than one option just add the options,\n\
6269 e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n\
6270 showing z as a function of x for each value of y[j] .\n\
6271 opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n\
6272 for each value of x[i] .\n\
6273 opt=DRAW_LINEXY : Network of lines is drawn connecting points\n\
6274 at which function is defined.\n\
6275 opt=MAG_COLOR : Each line in the mesh is colored according to\n\
6276 the z value being plotted. The color is used from the current\n\
6277 cmap1.\n\
6278 opt=BASE_CONT : A contour plot is drawn at the base XY plane\n\
6279 using parameters\n\
6280 nlevel and\n\
6281 clevel.\n\
6282 opt=DRAW_SIDES : draws a curtain between the base XY plane and\n\
6283 the borders of the plotted function.\n\
6284\n\
6285\n\
6286 clevel (PLFLT_VECTOR, input) : A vector containing the contour\n\
6287 levels.\n\
6288\n\
6289 nlevel (PLINT, input) : Number of elements in the clevel vector.\n\
6290\n\
6291 indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n\
6292 corresponds to the first x index where z is defined.\n\
6293\n\
6294 indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n\
6295 which corresponds (by convention) to one more than the last x\n\
6296 index value where z is defined.\n\
6297\n\
6298 indexymin (PLINT_VECTOR, input) : A vector containing y index\n\
6299 values which all must be ≥ 0. These values are the first y index\n\
6300 where z is defined for a particular x index in the range from\n\
6301 indexxmin to indexxmax - 1. The dimension of indexymin is\n\
6302 indexxmax.\n\
6303\n\
6304 indexymax (PLINT_VECTOR, input) : A vector containing y index\n\
6305 values which all must be ≤ ny. These values correspond (by\n\
6306 convention) to one more than the last y index where z is defined\n\
6307 for a particular x index in the range from indexxmin to indexxmax\n\
6308 - 1. The dimension of indexymax is indexxmax.\n\
6309";
6310static const char* _wrap_plmkstrm_texinfo = "-*- texinfo -*-\n\
6311Creates a new stream and makes it the default\n\
6312\n\
6313DESCRIPTION:\n\
6314\n\
6315 Creates a new stream and makes it the default. Differs from using\n\
6316 plsstrm, in that a free stream number is found, and returned.\n\
6317 Unfortunately, I have to start at stream 1 and work upward, since\n\
6318 stream 0 is preallocated. One of the big flaws in the PLplot API is\n\
6319 that no initial, library-opening call is required. So stream 0 must\n\
6320 be preallocated, and there is no simple way of determining whether it\n\
6321 is already in use or not.\n\
6322\n\
6323 Redacted form: plmkstrm(p_strm)\n\
6324\n\
6325 This function is used in examples 1 and 20.\n\
6326\n\
6327\n\
6328\n\
6329SYNOPSIS:\n\
6330\n\
6331plmkstrm(p_strm)\n\
6332\n\
6333ARGUMENTS:\n\
6334\n\
6335 p_strm (PLINT_NC_SCALAR, output) : Returned value of the stream\n\
6336 number of the created stream.\n\
6337";
6338static const char* _wrap_plsfci_texinfo = "-*- texinfo -*-\n\
6339Set FCI (font characterization integer)\n\
6340\n\
6341DESCRIPTION:\n\
6342\n\
6343 Sets font characteristics to be used at the start of the next string\n\
6344 using the FCI approach. See the PLplot documentation for more\n\
6345 information. Note, plsfont (which calls plsfci internally) provides a\n\
6346 more user-friendly API for setting the font characterisitics.\n\
6347\n\
6348 Redacted form: General: plsfci(fci)\n\
6349\n\
6350\n\
6351 This function is used in example 23.\n\
6352\n\
6353\n\
6354\n\
6355SYNOPSIS:\n\
6356\n\
6357plsfci(fci)\n\
6358\n\
6359ARGUMENTS:\n\
6360\n\
6361 fci (PLUNICODE, input) : PLUNICODE (unsigned 32-bit integer) value\n\
6362 of FCI.\n\
6363";
6364static const char* _wrap_plinit_texinfo = "-*- texinfo -*-\n\
6365Initialize PLplot\n\
6366\n\
6367DESCRIPTION:\n\
6368\n\
6369 Initializing the plotting package. The program prompts for the device\n\
6370 keyword or number of the desired output device. Hitting a RETURN in\n\
6371 response to the prompt is the same as selecting the first device.\n\
6372 plinit will issue no prompt if either the device was specified\n\
6373 previously (via command line flag, the plsetopt function, or the\n\
6374 plsdev function), or if only one device is enabled when PLplot is\n\
6375 installed. If subpages have been specified, the output device is\n\
6376 divided into nx by ny subpages, each of which may be used\n\
6377 independently. If plinit is called again during a program, the\n\
6378 previously opened file will be closed. The subroutine pladv is used\n\
6379 to advance from one subpage to the next.\n\
6380\n\
6381 Redacted form: plinit()\n\
6382\n\
6383 This function is used in all of the examples.\n\
6384\n\
6385\n\
6386\n\
6387SYNOPSIS:\n\
6388\n\
6389plinit()\n\
6390";
6391static const char* _wrap_plstyl_texinfo = "-*- texinfo -*-\n\
6392Set line style\n\
6393\n\
6394DESCRIPTION:\n\
6395\n\
6396 This sets up the line style for all lines subsequently drawn. A line\n\
6397 consists of segments in which the pen is alternately down and up. The\n\
6398 lengths of these segments are passed in the vectors mark and space\n\
6399 respectively. The number of mark-space pairs is specified by nms. In\n\
6400 order to return the line style to the default continuous line, plstyl\n\
6401 should be called with nms =0 .(see also pllsty)\n\
6402\n\
6403 Redacted form: plstyl(mark, space)\n\
6404\n\
6405 This function is used in examples 1, 9, and 14.\n\
6406\n\
6407\n\
6408\n\
6409SYNOPSIS:\n\
6410\n\
6411plstyl(nms, mark, space)\n\
6412\n\
6413ARGUMENTS:\n\
6414\n\
6415 nms (PLINT, input) : The number of mark and space elements in a\n\
6416 line. Thus a simple broken line can be obtained by setting nms=1\n\
6417 . A continuous line is specified by setting nms=0 .\n\
6418\n\
6419 mark (PLINT_VECTOR, input) : A vector containing the lengths of the\n\
6420 segments during which the pen is down, measured in micrometers.\n\
6421\n\
6422 space (PLINT_VECTOR, input) : A vector containing the lengths of\n\
6423 the segments during which the pen is up, measured in micrometers.\n\
6424";
6425static const char* _wrap_plsmin_texinfo = "-*- texinfo -*-\n\
6426Set length of minor ticks\n\
6427\n\
6428DESCRIPTION:\n\
6429\n\
6430 This sets up the length of the minor ticks and the length of the\n\
6431 terminals on error bars. The actual length is the product of the\n\
6432 default length and a scaling factor as for character height.\n\
6433\n\
6434 Redacted form: plsmin(def, scale)\n\
6435\n\
6436 This function is used in example 29.\n\
6437\n\
6438\n\
6439\n\
6440SYNOPSIS:\n\
6441\n\
6442plsmin(def, scale)\n\
6443\n\
6444ARGUMENTS:\n\
6445\n\
6446 def (PLFLT, input) : The default length of a minor tick in\n\
6447 millimeters, should be set to zero if the default length is to\n\
6448 remain unchanged.\n\
6449\n\
6450 scale (PLFLT, input) : Scale factor to be applied to default to get\n\
6451 actual tick length.\n\
6452";
6453static const char* _wrap_plbox3_texinfo = "-*- texinfo -*-\n\
6454Draw a box with axes, etc, in 3-d\n\
6455\n\
6456DESCRIPTION:\n\
6457\n\
6458 Draws axes, numeric and text labels for a three-dimensional surface\n\
6459 plot. For a more complete description of three-dimensional plotting\n\
6460 see the PLplot documentation.\n\
6461\n\
6462 Redacted form: General: plbox3(xopt, xlabel, xtick, nxsub, yopt,\n\
6463 ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n\
6464\n\
6465\n\
6466 This function is used in examples 8, 11, 18, and 21.\n\
6467\n\
6468\n\
6469\n\
6470SYNOPSIS:\n\
6471\n\
6472plbox3(xopt, xlabel, xtick, nxsub, yopt, ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n\
6473\n\
6474ARGUMENTS:\n\
6475\n\
6476 xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
6477 options for the x axis. The string can include any combination of\n\
6478 the following letters (upper or lower case) in any order: b: Draws\n\
6479 axis at base, at height z=\n\
6480 zmin where zmin is defined by call to plw3d. This character must be\n\
6481 specified in order to use any of the other options.\n\
6482 d: Plot labels as date / time. Values are assumed to be\n\
6483 seconds since the epoch (as used by gmtime).\n\
6484 f: Always use fixed point numeric labels.\n\
6485 i: Inverts tick marks, so they are drawn downwards, rather\n\
6486 than upwards.\n\
6487 l: Labels axis logarithmically. This only affects the labels,\n\
6488 not the data, and so it is necessary to compute the logarithms\n\
6489 of data points before passing them to any of the drawing\n\
6490 routines.\n\
6491 n: Writes numeric labels at major tick intervals.\n\
6492 o: Use custom labelling function to generate axis label text.\n\
6493 The custom labelling function can be defined with the\n\
6494 plslabelfunc command.\n\
6495 s: Enables subticks between major ticks, only valid if t is\n\
6496 also specified.\n\
6497 t: Draws major ticks.\n\
6498 u: If this is specified, the text label for the axis is\n\
6499 written under the axis.\n\
6500\n\
6501\n\
6502 xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n\
6503 the text label for the x axis. It is only drawn if u is in the\n\
6504 xopt string.\n\
6505\n\
6506 xtick (PLFLT, input) : World coordinate interval between major\n\
6507 ticks on the x axis. If it is set to zero, PLplot automatically\n\
6508 generates a suitable tick interval.\n\
6509\n\
6510 nxsub (PLINT, input) : Number of subintervals between major x axis\n\
6511 ticks for minor ticks. If it is set to zero, PLplot automatically\n\
6512 generates a suitable minor tick interval.\n\
6513\n\
6514 yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
6515 options for the y axis. The string is interpreted in the same way\n\
6516 as xopt.\n\
6517\n\
6518 ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n\
6519 the text label for the y axis. It is only drawn if u is in the\n\
6520 yopt string.\n\
6521\n\
6522 ytick (PLFLT, input) : World coordinate interval between major\n\
6523 ticks on the y axis. If it is set to zero, PLplot automatically\n\
6524 generates a suitable tick interval.\n\
6525\n\
6526 nysub (PLINT, input) : Number of subintervals between major y axis\n\
6527 ticks for minor ticks. If it is set to zero, PLplot automatically\n\
6528 generates a suitable minor tick interval.\n\
6529\n\
6530 zopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
6531 options for the z axis. The string can include any combination of\n\
6532 the following letters (upper or lower case) in any order: b: Draws\n\
6533 z axis to the left of the surface plot.\n\
6534 c: Draws z axis to the right of the surface plot.\n\
6535 d: Draws grid lines parallel to the x-y plane behind the\n\
6536 figure. These lines are not drawn until after plot3d or\n\
6537 plmesh are called because of the need for hidden line removal.\n\
6538 e: Plot labels as date / time. Values are assumed to be\n\
6539 seconds since the epoch (as used by gmtime). Note this\n\
6540 suboption is interpreted the same as the d suboption for xopt\n\
6541 and yopt, but it has to be identified as e for zopt since d\n\
6542 has already been used for the different purpose above.\n\
6543 f: Always use fixed point numeric labels.\n\
6544 i: Inverts tick marks, so they are drawn away from the center.\n\
6545 l: Labels axis logarithmically. This only affects the labels,\n\
6546 not the data, and so it is necessary to compute the logarithms\n\
6547 of data points before passing them to any of the drawing\n\
6548 routines.\n\
6549 m: Writes numeric labels at major tick intervals on the\n\
6550 right-hand z axis.\n\
6551 n: Writes numeric labels at major tick intervals on the\n\
6552 left-hand z axis.\n\
6553 o: Use custom labelling function to generate axis label text.\n\
6554 The custom labelling function can be defined with the\n\
6555 plslabelfunc command.\n\
6556 s: Enables subticks between major ticks, only valid if t is\n\
6557 also specified.\n\
6558 t: Draws major ticks.\n\
6559 u: If this is specified, the text label is written beside the\n\
6560 left-hand axis.\n\
6561 v: If this is specified, the text label is written beside the\n\
6562 right-hand axis.\n\
6563\n\
6564\n\
6565 zlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n\
6566 the text label for the z axis. It is only drawn if u or v are in\n\
6567 the zopt string.\n\
6568\n\
6569 ztick (PLFLT, input) : World coordinate interval between major\n\
6570 ticks on the z axis. If it is set to zero, PLplot automatically\n\
6571 generates a suitable tick interval.\n\
6572\n\
6573 nzsub (PLINT, input) : Number of subintervals between major z axis\n\
6574 ticks for minor ticks. If it is set to zero, PLplot automatically\n\
6575 generates a suitable minor tick interval.\n\
6576";
6577static const char* _wrap_plschr_texinfo = "-*- texinfo -*-\n\
6578Set character size\n\
6579\n\
6580DESCRIPTION:\n\
6581\n\
6582 This sets up the size of all subsequent characters drawn. The actual\n\
6583 height of a character is the product of the default character size and\n\
6584 a scaling factor.\n\
6585\n\
6586 Redacted form: plschr(def, scale)\n\
6587\n\
6588 This function is used in examples 2, 13, 23, and 24.\n\
6589\n\
6590\n\
6591\n\
6592SYNOPSIS:\n\
6593\n\
6594plschr(def, scale)\n\
6595\n\
6596ARGUMENTS:\n\
6597\n\
6598 def (PLFLT, input) : The default height of a character in\n\
6599 millimeters, should be set to zero if the default height is to\n\
6600 remain unchanged. For rasterized drivers the dx and dy values\n\
6601 specified in plspage are used to convert from mm to pixels (note\n\
6602 the different unit systems used). This dpi aware scaling is not\n\
6603 implemented for all drivers yet.\n\
6604\n\
6605 scale (PLFLT, input) : Scale factor to be applied to default to get\n\
6606 actual character height.\n\
6607";
6608static const char* _wrap_plctime_texinfo = "-*- texinfo -*-\n\
6609Calculate continuous time from broken-down time for the current stream\n\
6610\n\
6611DESCRIPTION:\n\
6612\n\
6613 Calculate continuous time, ctime, from broken-down time for the\n\
6614 current stream. The broken-down\n\
6615 time is specified by the following parameters: year, month, day, hour,\n\
6616 min, and sec. This function is the inverse of plbtime.\n\
6617\n\
6618 The PLplot definition of broken-down time is a calendar time that\n\
6619 completely ignores all time zone offsets, i.e., it is the user\'s\n\
6620 responsibility to apply those offsets (if so desired) before using the\n\
6621 PLplot time API. By default broken-down time is defined using the\n\
6622 proleptic Gregorian calendar without the insertion of leap seconds and\n\
6623 continuous time is defined as the number of seconds since the Unix\n\
6624 epoch of 1970-01-01T00:00:00Z. However, other definitions of\n\
6625 broken-down and continuous time are possible, see plconfigtime which\n\
6626 specifies that transformation for the current stream.\n\
6627\n\
6628 Redacted form: General: plctime(year, month, day, hour, min, sec,\n\
6629 ctime)\n\
6630\n\
6631\n\
6632 This function is used in example 29.\n\
6633\n\
6634\n\
6635\n\
6636SYNOPSIS:\n\
6637\n\
6638plctime(year, month, day, hour, min, sec, ctime)\n\
6639\n\
6640ARGUMENTS:\n\
6641\n\
6642 year (PLINT, input) : Input year.\n\
6643\n\
6644 month (PLINT, input) : Input month in range from 0 (January) to 11\n\
6645 (December).\n\
6646\n\
6647 day (PLINT, input) : Input day in range from 1 to 31.\n\
6648\n\
6649 hour (PLINT, input) : Input hour in range from 0 to 23\n\
6650\n\
6651 min (PLINT, input) : Input minute in range from 0 to 59.\n\
6652\n\
6653 sec (PLFLT, input) : Input second in range from 0. to 60.\n\
6654\n\
6655 ctime (PLFLT_NC_SCALAR, output) : Returned value of the continuous\n\
6656 time calculated from the broken-down time specified by the\n\
6657 previous parameters.\n\
6658";
6659static const char* _wrap_plcol0_texinfo = "-*- texinfo -*-\n\
6660Set color, cmap0\n\
6661\n\
6662DESCRIPTION:\n\
6663\n\
6664 Sets the color index for cmap0 (see the PLplot documentation).\n\
6665\n\
6666 Redacted form: plcol0(icol0)\n\
6667\n\
6668 This function is used in examples 1-9, 11-16, 18-27, and 29.\n\
6669\n\
6670\n\
6671\n\
6672SYNOPSIS:\n\
6673\n\
6674plcol0(icol0)\n\
6675\n\
6676ARGUMENTS:\n\
6677\n\
6678 icol0 (PLINT, input) : Integer representing the color. The\n\
6679 defaults at present are (these may change):\n\
6680 0 black (default background)\n\
6681 1 red (default foreground)\n\
6682 2 yellow\n\
6683 3 green\n\
6684 4 aquamarine\n\
6685 5 pink\n\
6686 6 wheat\n\
6687 7 grey\n\
6688 8 brown\n\
6689 9 blue\n\
6690 10 BlueViolet\n\
6691 11 cyan\n\
6692 12 turquoise\n\
6693 13 magenta\n\
6694 14 salmon\n\
6695 15 white\n\
6696\n\
6697 Use plscmap0 to change the entire cmap0 color palette and plscol0 to\n\
6698 change an individual color in the cmap0 color palette.\n\
6699";
6700static const char* _wrap_plcol1_texinfo = "-*- texinfo -*-\n\
6701Set color, cmap1\n\
6702\n\
6703DESCRIPTION:\n\
6704\n\
6705 Sets the color for cmap1 (see the PLplot documentation).\n\
6706\n\
6707 Redacted form: plcol1(col1)\n\
6708\n\
6709 This function is used in examples 12 and 21.\n\
6710\n\
6711\n\
6712\n\
6713SYNOPSIS:\n\
6714\n\
6715plcol1(col1)\n\
6716\n\
6717ARGUMENTS:\n\
6718\n\
6719 col1 (PLFLT, input) : This value must be in the range (0.0-1.0) and\n\
6720 is mapped to color using the continuous cmap1 palette which by\n\
6721 default ranges from blue to the background color to red. The\n\
6722 cmap1 palette can also be straightforwardly changed by the user\n\
6723 with plscmap1 or plscmap1l.\n\
6724";
6725static const char* _wrap_plgcolbg_texinfo = "-*- texinfo -*-\n\
6726Returns the background color (cmap0[0]) by 8-bit RGB value\n\
6727\n\
6728DESCRIPTION:\n\
6729\n\
6730 Returns the background color (cmap0[0]) by 8-bit RGB value.\n\
6731\n\
6732 Redacted form: plgcolbg(r, g, b)\n\
6733\n\
6734 This function is used in example 31.\n\
6735\n\
6736\n\
6737\n\
6738SYNOPSIS:\n\
6739\n\
6740plgcolbg(r, g, b)\n\
6741\n\
6742ARGUMENTS:\n\
6743\n\
6744 r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n\
6745 in the range from 0 to 255.\n\
6746\n\
6747 g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n\
6748 in the range from 0 to 255.\n\
6749\n\
6750 b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n\
6751 in the range from 0 to 255.\n\
6752";
6753static const char* _wrap_plarc_texinfo = "-*- texinfo -*-\n\
6754Draw a circular or elliptical arc\n\
6755\n\
6756DESCRIPTION:\n\
6757\n\
6758 Draw a possibly filled arc centered at x, y with semimajor axis a and\n\
6759 semiminor axis b, starting at angle1 and ending at angle2.\n\
6760\n\
6761 Redacted form: General: plarc(x, y, a, b, angle1, angle2, rotate,\n\
6762 fill)\n\
6763\n\
6764\n\
6765 This function is used in examples 3 and 27.\n\
6766\n\
6767\n\
6768\n\
6769SYNOPSIS:\n\
6770\n\
6771plarc(x, y, a, b, angle1, angle2, rotate, fill)\n\
6772\n\
6773ARGUMENTS:\n\
6774\n\
6775 x (PLFLT, input) : X coordinate of arc center.\n\
6776\n\
6777 y (PLFLT, input) : Y coordinate of arc center.\n\
6778\n\
6779 a (PLFLT, input) : Length of the semimajor axis of the arc.\n\
6780\n\
6781 b (PLFLT, input) : Length of the semiminor axis of the arc.\n\
6782\n\
6783 angle1 (PLFLT, input) : Starting angle of the arc relative to the\n\
6784 semimajor axis.\n\
6785\n\
6786 angle2 (PLFLT, input) : Ending angle of the arc relative to the\n\
6787 semimajor axis.\n\
6788\n\
6789 rotate (PLFLT, input) : Angle of the semimajor axis relative to the\n\
6790 X-axis.\n\
6791\n\
6792 fill (PLBOOL, input) : Draw a filled arc.\n\
6793";
6794static const char* _wrap_plparseopts_texinfo = "-*- texinfo -*-\n\
6795Parse command-line arguments\n\
6796\n\
6797DESCRIPTION:\n\
6798\n\
6799 Parse command-line arguments.\n\
6800\n\
6801 plparseopts removes all recognized flags (decreasing argc\n\
6802 accordingly), so that invalid input may be readily detected. It can\n\
6803 also be used to process user command line flags. The user can merge\n\
6804 an option table of type PLOptionTable into the internal option table\n\
6805 info structure using plMergeOpts. Or, the user can specify that ONLY\n\
6806 the external table(s) be parsed by calling plClearOpts before\n\
6807 plMergeOpts.\n\
6808\n\
6809 The default action taken by plparseopts is as follows:\n\
6810 Returns with an error if an unrecognized option or badly formed\n\
6811 option-value pair are encountered.\n\
6812 Returns immediately (return code 0) when the first non-option command\n\
6813 line argument is found.\n\
6814 Returns with the return code of the option handler, if one was called.\n\
6815\n\
6816 Deletes command line arguments from argv list as they are found, and\n\
6817 decrements argc accordingly.\n\
6818 Does not show \"invisible\" options in usage or help messages.\n\
6819 Assumes the program name is contained in argv[0].\n\
6820\n\
6821 These behaviors may be controlled through the\n\
6822 mode argument.\n\
6823\n\
6824 Redacted form: General: plparseopts(argv, mode)\n\
6825\n\
6826\n\
6827 This function is used in all of the examples.\n\
6828\n\
6829\n\
6830\n\
6831SYNOPSIS:\n\
6832\n\
6833PLINT plparseopts(p_argc, argv, mode)\n\
6834\n\
6835ARGUMENTS:\n\
6836\n\
6837 p_argc (int *, input/output) : Number of arguments.\n\
6838\n\
6839 argv (PLCHAR_NC_MATRIX, input/output) : A vector of character\n\
6840 strings containing *p_argc command-line arguments.\n\
6841\n\
6842 mode (PLINT, input) : Parsing mode with the following\n\
6843 possibilities: PL_PARSE_FULL (1) -- Full parsing of command line\n\
6844 and all error messages enabled, including program exit when an\n\
6845 error occurs. Anything on the command line that isn\'t recognized\n\
6846 as a valid option or option argument is flagged as an error.\n\
6847 PL_PARSE_QUIET (2) -- Turns off all output except in the case\n\
6848 of errors.\n\
6849 PL_PARSE_NODELETE (4) -- Turns off deletion of processed\n\
6850 arguments.\n\
6851 PL_PARSE_SHOWALL (8) -- Show invisible options\n\
6852 PL_PARSE_NOPROGRAM (32) -- Specified if argv[0] is NOT a\n\
6853 pointer to the program name.\n\
6854 PL_PARSE_NODASH (64) -- Set if leading dash is NOT required.\n\
6855 PL_PARSE_SKIP (128) -- Set to quietly skip over any\n\
6856 unrecognized arguments.\n\
6857";
6858static const char* _wrap_plgdidev_texinfo = "-*- texinfo -*-\n\
6859Get parameters that define current device-space window\n\
6860\n\
6861DESCRIPTION:\n\
6862\n\
6863 Get relative margin width, aspect ratio, and relative justification\n\
6864 that define current device-space window. If plsdidev has not been\n\
6865 called the default values pointed to by p_mar, p_aspect, p_jx, and\n\
6866 p_jy will all be 0.\n\
6867\n\
6868 Redacted form: plgdidev(p_mar, p_aspect, p_jx, p_jy)\n\
6869\n\
6870 This function is used in example 31.\n\
6871\n\
6872\n\
6873\n\
6874SYNOPSIS:\n\
6875\n\
6876plgdidev(p_mar, p_aspect, p_jx, p_jy)\n\
6877\n\
6878ARGUMENTS:\n\
6879\n\
6880 p_mar (PLFLT_NC_SCALAR, output) : Returned value of the relative\n\
6881 margin width.\n\
6882\n\
6883 p_aspect (PLFLT_NC_SCALAR, output) : Returned value of the aspect\n\
6884 ratio.\n\
6885\n\
6886 p_jx (PLFLT_NC_SCALAR, output) : Returned value of the relative\n\
6887 justification in x.\n\
6888\n\
6889 p_jy (PLFLT_NC_SCALAR, output) : Returned value of the relative\n\
6890 justification in y.\n\
6891";
6892static const char* _wrap_plslabelfunc_texinfo = "-*- texinfo -*-\n\
6893Assign a function to use for generating custom axis labels\n\
6894\n\
6895DESCRIPTION:\n\
6896\n\
6897 This function allows a user to provide their own function to provide\n\
6898 axis label text. The user function is given the numeric value for a\n\
6899 point on an axis and returns a string label to correspond with that\n\
6900 value. Custom axis labels can be enabled by passing appropriate\n\
6901 arguments to plenv, plbox, plbox3 and similar functions.\n\
6902\n\
6903 This function is used in example 19.\n\
6904\n\
6905\n\
6906\n\
6907SYNOPSIS:\n\
6908\n\
6909plslabelfunc(label_func, label_data)\n\
6910\n\
6911ARGUMENTS:\n\
6912\n\
6913 label_func (PLLABEL_FUNC_callback, input) : This is the custom\n\
6914 label function. In order to reset to the default labelling, set\n\
6915 this to NULL. The labelling function parameters are, in order:\n\
6916 axis: This indicates which axis a label is being requested for.\n\
6917 The value will be one of PL_X_AXIS, PL_Y_AXIS or PL_Z_AXIS.\n\
6918\n\
6919 value: This is the value along the axis which is being labelled.\n\
6920\n\
6921 label_text: The string representation of the label value.\n\
6922\n\
6923 length: The maximum length in characters allowed for label_text.\n\
6924\n\
6925\n\
6926 label_data (PLPointer, input) : This parameter may be used to pass\n\
6927 data to the label_func function.\n\
6928";
6929static const char* _wrap_plglevel_texinfo = "-*- texinfo -*-\n\
6930Get the (current) run level\n\
6931\n\
6932DESCRIPTION:\n\
6933\n\
6934 Get the (current) run level. Valid settings are: 0, uninitialized\n\
6935 1, initialized\n\
6936 2, viewport defined\n\
6937 3, world coordinates defined\n\
6938\n\
6939\n\
6940 Redacted form: plglevel(p_level)\n\
6941\n\
6942 This function is used in example 31.\n\
6943\n\
6944\n\
6945\n\
6946SYNOPSIS:\n\
6947\n\
6948plglevel(p_level)\n\
6949\n\
6950ARGUMENTS:\n\
6951\n\
6952 p_level (PLINT_NC_SCALAR, output) : Returned value of the run\n\
6953 level.\n\
6954";
6955static const char* _wrap_pllsty_texinfo = "-*- texinfo -*-\n\
6956Select line style\n\
6957\n\
6958DESCRIPTION:\n\
6959\n\
6960 This sets the line style according to one of eight predefined patterns\n\
6961 (also see plstyl).\n\
6962\n\
6963 Redacted form: pllsty(lin)\n\
6964\n\
6965 This function is used in examples 9, 12, 22, and 25.\n\
6966\n\
6967\n\
6968\n\
6969SYNOPSIS:\n\
6970\n\
6971pllsty(lin)\n\
6972\n\
6973ARGUMENTS:\n\
6974\n\
6975 lin (PLINT, input) : Integer value between 1 and 8. Line style 1 is\n\
6976 a continuous line, line style 2 is a line with short dashes and\n\
6977 gaps, line style 3 is a line with long dashes and gaps, line style\n\
6978 4 has long dashes and short gaps and so on.\n\
6979";
6980static const char* _wrap_plenv_texinfo = "-*- texinfo -*-\n\
6981Set up standard window and draw box\n\
6982\n\
6983DESCRIPTION:\n\
6984\n\
6985 Sets up plotter environment for simple graphs by calling pladv and\n\
6986 setting up viewport and window to sensible default values. plenv\n\
6987 leaves a standard margin (left-hand margin of eight character heights,\n\
6988 and a margin around the other three sides of five character heights)\n\
6989 around most graphs for axis labels and a title. When these defaults\n\
6990 are not suitable, use the individual routines plvpas, plvpor, or\n\
6991 plvasp for setting up the viewport, plwind for defining the window,\n\
6992 and plbox for drawing the box.\n\
6993\n\
6994 Redacted form: plenv(xmin, xmax, ymin, ymax, just, axis)\n\
6995\n\
6996 This function is used in example 1,3,9,13,14,19-22,29.\n\
6997\n\
6998\n\
6999\n\
7000SYNOPSIS:\n\
7001\n\
7002plenv(xmin, xmax, ymin, ymax, just, axis)\n\
7003\n\
7004ARGUMENTS:\n\
7005\n\
7006 xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n\
7007 world coordinates).\n\
7008\n\
7009 xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n\
7010 world coordinates).\n\
7011\n\
7012 ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n\
7013 coordinates).\n\
7014\n\
7015 ymax (PLFLT, input) : Value of y at top edge of window (in world\n\
7016 coordinates).\n\
7017\n\
7018 just (PLINT, input) : Controls how the axes will be scaled: -1: the\n\
7019 scales will not be set, the user must set up the scale before\n\
7020 calling plenv using plsvpa, plvasp or other.\n\
7021 0: the x and y axes are scaled independently to use as much of\n\
7022 the screen as possible.\n\
7023 1: the scales of the x and y axes are made equal.\n\
7024 2: the axis of the x and y axes are made equal, and the plot\n\
7025 box will be square.\n\
7026\n\
7027\n\
7028 axis (PLINT, input) : Controls drawing of the box around the plot:\n\
7029 -2: draw no box, no tick marks, no numeric tick labels, no axes.\n\
7030 -1: draw box only.\n\
7031 0: draw box, ticks, and numeric tick labels.\n\
7032 1: also draw coordinate axes at x=0 and y=0.\n\
7033 2: also draw a grid at major tick positions in both\n\
7034 coordinates.\n\
7035 3: also draw a grid at minor tick positions in both\n\
7036 coordinates.\n\
7037 10: same as 0 except logarithmic x tick marks. (The x data\n\
7038 have to be converted to logarithms separately.)\n\
7039 11: same as 1 except logarithmic x tick marks. (The x data\n\
7040 have to be converted to logarithms separately.)\n\
7041 12: same as 2 except logarithmic x tick marks. (The x data\n\
7042 have to be converted to logarithms separately.)\n\
7043 13: same as 3 except logarithmic x tick marks. (The x data\n\
7044 have to be converted to logarithms separately.)\n\
7045 20: same as 0 except logarithmic y tick marks. (The y data\n\
7046 have to be converted to logarithms separately.)\n\
7047 21: same as 1 except logarithmic y tick marks. (The y data\n\
7048 have to be converted to logarithms separately.)\n\
7049 22: same as 2 except logarithmic y tick marks. (The y data\n\
7050 have to be converted to logarithms separately.)\n\
7051 23: same as 3 except logarithmic y tick marks. (The y data\n\
7052 have to be converted to logarithms separately.)\n\
7053 30: same as 0 except logarithmic x and y tick marks. (The x\n\
7054 and y data have to be converted to logarithms separately.)\n\
7055 31: same as 1 except logarithmic x and y tick marks. (The x\n\
7056 and y data have to be converted to logarithms separately.)\n\
7057 32: same as 2 except logarithmic x and y tick marks. (The x\n\
7058 and y data have to be converted to logarithms separately.)\n\
7059 33: same as 3 except logarithmic x and y tick marks. (The x\n\
7060 and y data have to be converted to logarithms separately.)\n\
7061 40: same as 0 except date / time x labels.\n\
7062 41: same as 1 except date / time x labels.\n\
7063 42: same as 2 except date / time x labels.\n\
7064 43: same as 3 except date / time x labels.\n\
7065 50: same as 0 except date / time y labels.\n\
7066 51: same as 1 except date / time y labels.\n\
7067 52: same as 2 except date / time y labels.\n\
7068 53: same as 3 except date / time y labels.\n\
7069 60: same as 0 except date / time x and y labels.\n\
7070 61: same as 1 except date / time x and y labels.\n\
7071 62: same as 2 except date / time x and y labels.\n\
7072 63: same as 3 except date / time x and y labels.\n\
7073 70: same as 0 except custom x and y labels.\n\
7074 71: same as 1 except custom x and y labels.\n\
7075 72: same as 2 except custom x and y labels.\n\
7076 73: same as 3 except custom x and y labels.\n\
7077";
7078static const char* _wrap_plstart_texinfo = "-*- texinfo -*-\n\
7079Initialization\n\
7080\n\
7081DESCRIPTION:\n\
7082\n\
7083 Alternative to plstar for initializing the plotting package. The\n\
7084 device name keyword for the desired output device must be supplied as\n\
7085 an argument. These keywords are the same as those printed out by\n\
7086 plstar. If the requested device is not available, or if the input\n\
7087 string is empty or begins with ``?\'\', the prompted start up of plstar\n\
7088 is used. This routine also divides the output device page into nx by\n\
7089 ny subpages, each of which may be used independently. The subroutine\n\
7090 pladv is used to advance from one subpage to the next.\n\
7091\n\
7092 Redacted form: General: plstart(devname, nx, ny)\n\
7093\n\
7094\n\
7095 This function is not used in any examples.\n\
7096\n\
7097\n\
7098\n\
7099SYNOPSIS:\n\
7100\n\
7101plstart(devname, nx, ny)\n\
7102\n\
7103ARGUMENTS:\n\
7104\n\
7105 devname (PLCHAR_VECTOR, input) : An ascii character string\n\
7106 containing the device name keyword of the required output device.\n\
7107 If\n\
7108 devname is NULL or if the first character of the string is a ``?\'\',\n\
7109 the normal (prompted) start up is used.\n\
7110\n\
7111 nx (PLINT, input) : Number of subpages to divide output page in the\n\
7112 x direction.\n\
7113\n\
7114 ny (PLINT, input) : Number of subpages to divide output page in the\n\
7115 y direction.\n\
7116";
7117static const char* _wrap_plstring_texinfo = "-*- texinfo -*-\n\
7118Plot a glyph at the specified points\n\
7119\n\
7120DESCRIPTION:\n\
7121\n\
7122 Plot a glyph at the specified points. (Supersedes plpoin and plsym\n\
7123 because many[!] more glyphs are accessible with plstring.) The glyph\n\
7124 is specified with a PLplot user string. Note that the user string is\n\
7125 not actually limited to one glyph so it is possible (but not normally\n\
7126 useful) to plot more than one glyph at the specified points with this\n\
7127 function. As with plmtex and plptex, the user string can contain FCI\n\
7128 escapes to determine the font, UTF-8 code to determine the glyph or\n\
7129 else PLplot escapes for Hershey or unicode text to determine the\n\
7130 glyph.\n\
7131\n\
7132 Redacted form: plstring(x, y, string)\n\
7133\n\
7134 This function is used in examples 4, 21 and 26.\n\
7135\n\
7136\n\
7137\n\
7138SYNOPSIS:\n\
7139\n\
7140plstring(n, x, y, string)\n\
7141\n\
7142ARGUMENTS:\n\
7143\n\
7144 n (PLINT, input) : Number of points in the x and y vectors.\n\
7145\n\
7146 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
7147 the points.\n\
7148\n\
7149 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
7150 the points.\n\
7151\n\
7152 string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n\
7153 the glyph(s) to be plotted at each of the n points.\n\
7154";
7155static const char* _wrap_plmtex3_texinfo = "-*- texinfo -*-\n\
7156Write text relative to viewport boundaries in 3D plots\n\
7157\n\
7158DESCRIPTION:\n\
7159\n\
7160 Writes text at a specified position relative to the viewport\n\
7161 boundaries. Text may be written inside or outside the viewport, but\n\
7162 is clipped at the subpage boundaries. The reference point of a string\n\
7163 lies along a line passing through the string at half the height of a\n\
7164 capital letter. The position of the reference point along this line\n\
7165 is determined by just, and the position of the reference point\n\
7166 relative to the viewport is set by disp and pos.\n\
7167\n\
7168 Redacted form: plmtex3(side, disp, pos, just, text)\n\
7169\n\
7170 This function is used in example 28.\n\
7171\n\
7172\n\
7173\n\
7174SYNOPSIS:\n\
7175\n\
7176plmtex3(side, disp, pos, just, text)\n\
7177\n\
7178ARGUMENTS:\n\
7179\n\
7180 side (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
7181 the side of the viewport along which the text is to be written.\n\
7182 The string should contain one or more of the following characters:\n\
7183 [xyz][ps][v]. Only one label is drawn at a time, i.e. xyp will\n\
7184 only label the X axis, not both the X and Y axes. x: Label the X\n\
7185 axis.\n\
7186 y: Label the Y axis.\n\
7187 z: Label the Z axis.\n\
7188 p: Label the primary axis. For Z this is the leftmost Z axis.\n\
7189 For X it is the axis that starts at y-min. For Y it is the\n\
7190 axis that starts at x-min.\n\
7191 s: Label the secondary axis.\n\
7192 v: Draw the text perpendicular to the axis.\n\
7193\n\
7194\n\
7195 disp (PLFLT, input) : Position of the reference point of string,\n\
7196 measured outwards from the specified viewport edge in units of the\n\
7197 current character height. Use negative disp to write within the\n\
7198 viewport.\n\
7199\n\
7200 pos (PLFLT, input) : Position of the reference point of string\n\
7201 along the specified edge, expressed as a fraction of the length of\n\
7202 the edge.\n\
7203\n\
7204 just (PLFLT, input) : Specifies the position of the string relative\n\
7205 to its reference point. If just=0. , the reference point is at\n\
7206 the left and if just=1. , it is at the right of the string. Other\n\
7207 values of just give intermediate justifications.\n\
7208\n\
7209 text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n\
7210 written out.\n\
7211";
7212static const char* _wrap_plgdiori_texinfo = "-*- texinfo -*-\n\
7213Get plot orientation\n\
7214\n\
7215DESCRIPTION:\n\
7216\n\
7217 Get plot orientation parameter which is multiplied by 90 degrees to\n\
7218 obtain the angle of rotation. Note, arbitrary rotation parameters\n\
7219 such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n\
7220 values for the rotation parameter are 0., 1., 2., and 3. corresponding\n\
7221 to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n\
7222 (seascape mode), and 270 degrees (upside-down mode). If plsdiori has\n\
7223 not been called the default value pointed to by p_rot will be 0.\n\
7224\n\
7225 Redacted form: plgdiori(p_rot)\n\
7226\n\
7227 This function is not used in any examples.\n\
7228\n\
7229\n\
7230\n\
7231SYNOPSIS:\n\
7232\n\
7233plgdiori(p_rot)\n\
7234\n\
7235ARGUMENTS:\n\
7236\n\
7237 p_rot (PLFLT_NC_SCALAR, output) : Returned value of the orientation\n\
7238 parameter.\n\
7239";
7240static const char* _wrap_pllab_texinfo = "-*- texinfo -*-\n\
7241Simple routine to write labels\n\
7242\n\
7243DESCRIPTION:\n\
7244\n\
7245 Routine for writing simple labels. Use plmtex for more complex labels.\n\
7246\n\
7247 Redacted form: pllab(xlabel, ylabel, tlabel)\n\
7248\n\
7249 This function is used in examples 1, 5, 9, 12, 14-16, 20-22, and 29.\n\
7250\n\
7251\n\
7252\n\
7253SYNOPSIS:\n\
7254\n\
7255pllab(xlabel, ylabel, tlabel)\n\
7256\n\
7257ARGUMENTS:\n\
7258\n\
7259 xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n\
7260 the label for the x axis.\n\
7261\n\
7262 ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n\
7263 the label for the y axis.\n\
7264\n\
7265 tlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n\
7266 the title of the plot.\n\
7267";
7268static const char* _wrap_pltext_texinfo = "-*- texinfo -*-\n\
7269Switch to text screen\n\
7270\n\
7271DESCRIPTION:\n\
7272\n\
7273 Sets an interactive device to text mode, used in conjunction with\n\
7274 plgra to allow graphics and text to be interspersed. On a device\n\
7275 which supports separate text and graphics windows, this command causes\n\
7276 control to be switched to the text window. This can be useful for\n\
7277 printing diagnostic messages or getting user input, which would\n\
7278 otherwise interfere with the plots. The program must switch back to\n\
7279 the graphics window before issuing plot commands, as the text (or\n\
7280 console) device will probably become quite confused otherwise. If\n\
7281 already in text mode, this command is ignored. It is also ignored on\n\
7282 devices which only support a single window or use a different method\n\
7283 for shifting focus (see also plgra).\n\
7284\n\
7285 Redacted form: pltext()\n\
7286\n\
7287 This function is used in example 1.\n\
7288\n\
7289\n\
7290\n\
7291SYNOPSIS:\n\
7292\n\
7293pltext()\n\
7294";
7295static const char* _wrap_plmapline_texinfo = "-*- texinfo -*-\n\
7296Plot all or a subset of Shapefile data using lines in world coordinates\n\
7297\n\
7298DESCRIPTION:\n\
7299\n\
7300 Plot all or a subset of Shapefile data using lines in world\n\
7301 coordinates. Our 19th standard example demonstrates how to use this\n\
7302 function. This function plots data from a Shapefile using lines as in\n\
7303 plmap, however it also has the option of also only drawing specified\n\
7304 elements from the Shapefile. The vector of indices of the required\n\
7305 elements are passed as a function argument. The Shapefile data should\n\
7306 include a metadata file (extension.dbf) listing all items within the\n\
7307 Shapefile. This file can be opened by most popular spreadsheet\n\
7308 programs and can be used to decide which indices to pass to this\n\
7309 function.\n\
7310\n\
7311 Redacted form: plmapline(mapform, name, minx, maxx, miny, maxy,\n\
7312 plotentries)\n\
7313\n\
7314 This function is used in example 19.\n\
7315\n\
7316\n\
7317\n\
7318SYNOPSIS:\n\
7319\n\
7320plmapline(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n\
7321\n\
7322ARGUMENTS:\n\
7323\n\
7324 mapform (PLMAPFORM_callback, input) : A user supplied function to\n\
7325 transform the coordinates given in the shapefile into a plot\n\
7326 coordinate system. By using this transform, we can change from a\n\
7327 longitude, latitude coordinate to a polar stereographic project,\n\
7328 for example. Initially, x[0]..[n-1] are the longitudes and\n\
7329 y[0]..y[n-1] are the corresponding latitudes. After the call to\n\
7330 mapform(), x[] and y[] should be replaced by the corresponding\n\
7331 plot coordinates. If no transform is desired, mapform can be\n\
7332 replaced by NULL.\n\
7333\n\
7334 name (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
7335 the file name of a set of Shapefile files without the file\n\
7336 extension.\n\
7337\n\
7338 minx (PLFLT, input) : The minimum x value to be plotted. This must\n\
7339 be in the same units as used by the Shapefile. You could use a\n\
7340 very large negative number to plot everything, but you can improve\n\
7341 performance by limiting the area drawn. The units must match those\n\
7342 of the Shapefile projection, which may be for example longitude or\n\
7343 distance. The value of minx must be less than the value of maxx.\n\
7344\n\
7345 maxx (PLFLT, input) : The maximum x value to be plotted. You could\n\
7346 use a very large number to plot everything, but you can improve\n\
7347 performance by limiting the area drawn.\n\
7348\n\
7349 miny (PLFLT, input) : The minimum y value to be plotted. This must\n\
7350 be in the same units as used by the Shapefile. You could use a\n\
7351 very large negative number to plot everything, but you can improve\n\
7352 performance by limiting the area drawn. The units must match those\n\
7353 of the Shapefile projection, which may be for example latitude or\n\
7354 distance. The value of miny must be less than the value of maxy.\n\
7355\n\
7356 maxy (PLFLT, input) : The maximum y value to be plotted. You could\n\
7357 use a very large number to plot everything, but you can improve\n\
7358 performance by limiting the area drawn.\n\
7359\n\
7360 plotentries (PLINT_VECTOR, input) : A vector containing the\n\
7361 zero-based indices of the Shapefile elements which will be drawn.\n\
7362 Setting\n\
7363 plotentries to NULL will plot all elements of the Shapefile.\n\
7364\n\
7365 nplotentries (PLINT, input) : The number of items in\n\
7366 plotentries. Ignored if\n\
7367 plotentries is NULL.\n\
7368";
7369static const char* _wrap_plprec_texinfo = "-*- texinfo -*-\n\
7370Set precision in numeric labels\n\
7371\n\
7372DESCRIPTION:\n\
7373\n\
7374 Sets the number of places after the decimal point in numeric labels.\n\
7375\n\
7376 Redacted form: plprec(setp, prec)\n\
7377\n\
7378 This function is used in example 29.\n\
7379\n\
7380\n\
7381\n\
7382SYNOPSIS:\n\
7383\n\
7384plprec(setp, prec)\n\
7385\n\
7386ARGUMENTS:\n\
7387\n\
7388 setp (PLINT, input) : If setp is equal to 0 then PLplot\n\
7389 automatically determines the number of places to use after the\n\
7390 decimal point in numeric labels (like those used to label axes).\n\
7391 If setp is 1 then prec sets the number of places.\n\
7392\n\
7393 prec (PLINT, input) : The number of characters to draw after the\n\
7394 decimal point in numeric labels.\n\
7395";
7396static const char* _wrap_pljoin_texinfo = "-*- texinfo -*-\n\
7397Draw a line between two points\n\
7398\n\
7399DESCRIPTION:\n\
7400\n\
7401 Joins the point (\n\
7402 x1,\n\
7403 y1) to (\n\
7404 x2,\n\
7405 y2).\n\
7406\n\
7407 Redacted form: pljoin(x1,y1,x2,y2)\n\
7408\n\
7409 This function is used in examples 3 and 14.\n\
7410\n\
7411\n\
7412\n\
7413SYNOPSIS:\n\
7414\n\
7415pljoin(x1, y1, x2, y2)\n\
7416\n\
7417ARGUMENTS:\n\
7418\n\
7419 x1 (PLFLT, input) : x coordinate of first point.\n\
7420\n\
7421 y1 (PLFLT, input) : y coordinate of first point.\n\
7422\n\
7423 x2 (PLFLT, input) : x coordinate of second point.\n\
7424\n\
7425 y2 (PLFLT, input) : y coordinate of second point.\n\
7426";
7427static const char* _wrap_plsdev_texinfo = "-*- texinfo -*-\n\
7428Set the device (keyword) name\n\
7429\n\
7430DESCRIPTION:\n\
7431\n\
7432 Set the device (keyword) name.\n\
7433\n\
7434 Redacted form: plsdev(devname)\n\
7435\n\
7436 This function is used in examples 1, 14, and 20.\n\
7437\n\
7438\n\
7439\n\
7440SYNOPSIS:\n\
7441\n\
7442plsdev(devname)\n\
7443\n\
7444ARGUMENTS:\n\
7445\n\
7446 devname (PLCHAR_VECTOR, input) : An ascii character string\n\
7447 containing the device name keyword of the required output device.\n\
7448 If\n\
7449 devname is NULL or if the first character of the string is a ``?\'\',\n\
7450 the normal (prompted) start up is used.\n\
7451";
7452static const char* _wrap_plscol0a_texinfo = "-*- texinfo -*-\n\
7453Set 8-bit RGB values and PLFLT alpha transparency value for given cmap0 color index\n\
7454\n\
7455DESCRIPTION:\n\
7456\n\
7457 Set 8-bit RGB value and PLFLT alpha transparency value for given cmap0\n\
7458 (see the PLplot documentation) index. Overwrites the previous color\n\
7459 value for the given index and, thus, does not result in any additional\n\
7460 allocation of space for colors.\n\
7461\n\
7462 This function is used in example 30.\n\
7463\n\
7464\n\
7465\n\
7466SYNOPSIS:\n\
7467\n\
7468plscol0a(icol0, r, g, b, alpha)\n\
7469\n\
7470ARGUMENTS:\n\
7471\n\
7472 icol0 (PLINT, input) : Color index. Must be less than the maximum\n\
7473 number of colors (which is set by default, by plscmap0n, or even\n\
7474 by plscmap0).\n\
7475\n\
7476 r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
7477 degree of red in the color.\n\
7478\n\
7479 g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
7480 degree of green in the color.\n\
7481\n\
7482 b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
7483 degree of blue in the color.\n\
7484\n\
7485 alpha (PLFLT, input) : Value of the alpha transparency in the range\n\
7486 (0.0-1.0).\n\
7487";
7488static const char* _wrap_plfill3_texinfo = "-*- texinfo -*-\n\
7489Draw filled polygon in 3D\n\
7490\n\
7491DESCRIPTION:\n\
7492\n\
7493 Fills the 3D polygon defined by the n points in the x, y, and z\n\
7494 vectors using the pattern defined by plpsty or plpat. The routine\n\
7495 will automatically close the polygon between the last and first\n\
7496 vertices. If multiple closed polygons are passed in x, y, and z then\n\
7497 plfill3 will fill in between them.\n\
7498\n\
7499 Redacted form: General: plfill3(x, y, z)\n\
7500\n\
7501\n\
7502 This function is used in example 15.\n\
7503\n\
7504\n\
7505\n\
7506SYNOPSIS:\n\
7507\n\
7508plfill3(n, x, y, z)\n\
7509\n\
7510ARGUMENTS:\n\
7511\n\
7512 n (PLINT, input) : Number of vertices in polygon.\n\
7513\n\
7514 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
7515 vertices.\n\
7516\n\
7517 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
7518 vertices.\n\
7519\n\
7520 z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n\
7521 vertices.\n\
7522";
7523static const char* _wrap_plwind_texinfo = "-*- texinfo -*-\n\
7524Specify window\n\
7525\n\
7526DESCRIPTION:\n\
7527\n\
7528 Specify the window, i.e., the world coordinates of the edges of the\n\
7529 viewport.\n\
7530\n\
7531 Redacted form: plwind(xmin, xmax, ymin, ymax)\n\
7532\n\
7533 This function is used in examples 1, 2, 4, 6-12, 14-16, 18, 21, 23-27,\n\
7534 29, and 31.\n\
7535\n\
7536\n\
7537\n\
7538SYNOPSIS:\n\
7539\n\
7540plwind(xmin, xmax, ymin, ymax)\n\
7541\n\
7542ARGUMENTS:\n\
7543\n\
7544 xmin (PLFLT, input) : The world x coordinate of the left-hand edge\n\
7545 of the viewport.\n\
7546\n\
7547 xmax (PLFLT, input) : The world x coordinate of the right-hand edge\n\
7548 of the viewport.\n\
7549\n\
7550 ymin (PLFLT, input) : The world y coordinate of the bottom edge of\n\
7551 the viewport.\n\
7552\n\
7553 ymax (PLFLT, input) : The world y coordinate of the top edge of the\n\
7554 viewport.\n\
7555";
7556static const char* _wrap_plmaptex_texinfo = "-*- texinfo -*-\n\
7557Draw text at points defined by Shapefile data in world coordinates\n\
7558\n\
7559DESCRIPTION:\n\
7560\n\
7561 As per plmapline, however the items are plotted as text in the same\n\
7562 way as plptex.\n\
7563\n\
7564 Redacted form: plmaptex(mapform, name, dx, dy, just, text, minx, maxx,\n\
7565 miny, maxy, plotentry)\n\
7566\n\
7567 This function is used in example 19.\n\
7568\n\
7569\n\
7570\n\
7571SYNOPSIS:\n\
7572\n\
7573plmaptex(mapform, name, dx, dy, just, text, minx, maxx, miny, maxy, plotentry)\n\
7574\n\
7575ARGUMENTS:\n\
7576\n\
7577 mapform (PLMAPFORM_callback, input) : A user supplied function to\n\
7578 transform the coordinates given in the shapefile into a plot\n\
7579 coordinate system. By using this transform, we can change from a\n\
7580 longitude, latitude coordinate to a polar stereographic project,\n\
7581 for example. Initially, x[0]..[n-1] are the longitudes and\n\
7582 y[0]..y[n-1] are the corresponding latitudes. After the call to\n\
7583 mapform(), x[] and y[] should be replaced by the corresponding\n\
7584 plot coordinates. If no transform is desired, mapform can be\n\
7585 replaced by NULL.\n\
7586\n\
7587 name (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
7588 the file name of a set of Shapefile files without the file\n\
7589 extension.\n\
7590\n\
7591 dx (PLFLT, input) : Used to define the slope of the texts which is\n\
7592 dy/dx.\n\
7593\n\
7594 dy (PLFLT, input) : Used to define the slope of the texts which is\n\
7595 dy/dx.\n\
7596\n\
7597 just (PLFLT, input) : Set the justification of the text. The value\n\
7598 given will be the fraction of the distance along the string that\n\
7599 sits at the given point. 0.0 gives left aligned text, 0.5 gives\n\
7600 centralized text and 1.0 gives right aligned text.\n\
7601\n\
7602 text (PLCHAR_VECTOR, input) : A UTF-8 character string to be drawn.\n\
7603\n\
7604 minx (PLFLT, input) : The minimum x value to be plotted. This must\n\
7605 be in the same units as used by the Shapefile. You could use a\n\
7606 very large negative number to plot everything, but you can improve\n\
7607 performance by limiting the area drawn. The units must match those\n\
7608 of the Shapefile projection, which may be for example longitude or\n\
7609 distance. The value of minx must be less than the value of maxx.\n\
7610\n\
7611 maxx (PLFLT, input) : The maximum x value to be plotted. You could\n\
7612 use a very large number to plot everything, but you can improve\n\
7613 performance by limiting the area drawn.\n\
7614\n\
7615 miny (PLFLT, input) : The minimum y value to be plotted. This must\n\
7616 be in the same units as used by the Shapefile. You could use a\n\
7617 very large negative number to plot everything, but you can improve\n\
7618 performance by limiting the area drawn. The units must match those\n\
7619 of the Shapefile projection, which may be for example latitude or\n\
7620 distance. The value of miny must be less than the value of maxy.\n\
7621\n\
7622 maxy (PLFLT, input) : The maximum y value to be plotted. You could\n\
7623 use a very large number to plot everything, but you can improve\n\
7624 performance by limiting the area drawn.\n\
7625\n\
7626 plotentry (PLINT, input) : An integer indicating which text string\n\
7627 of the Shapefile (zero indexed) will be drawn.\n\
7628";
7629static const char* _wrap_plgra_texinfo = "-*- texinfo -*-\n\
7630Switch to graphics screen\n\
7631\n\
7632DESCRIPTION:\n\
7633\n\
7634 Sets an interactive device to graphics mode, used in conjunction with\n\
7635 pltext to allow graphics and text to be interspersed. On a device\n\
7636 which supports separate text and graphics windows, this command causes\n\
7637 control to be switched to the graphics window. If already in graphics\n\
7638 mode, this command is ignored. It is also ignored on devices which\n\
7639 only support a single window or use a different method for shifting\n\
7640 focus. See also pltext.\n\
7641\n\
7642 Redacted form: plgra()\n\
7643\n\
7644 This function is used in example 1.\n\
7645\n\
7646\n\
7647\n\
7648SYNOPSIS:\n\
7649\n\
7650plgra()\n\
7651";
7652static const char* _wrap_pl_setcontlabelparam_texinfo = "-*- texinfo -*-\n\
7653Set parameters of contour labelling other than format of numerical label\n\
7654\n\
7655DESCRIPTION:\n\
7656\n\
7657 Set parameters of contour labelling other than those handled by\n\
7658 pl_setcontlabelformat.\n\
7659\n\
7660 Redacted form: pl_setcontlabelparam(offset, size, spacing, active)\n\
7661\n\
7662 This function is used in example 9.\n\
7663\n\
7664\n\
7665\n\
7666SYNOPSIS:\n\
7667\n\
7668pl_setcontlabelparam(offset, size, spacing, active)\n\
7669\n\
7670ARGUMENTS:\n\
7671\n\
7672 offset (PLFLT, input) : Offset of label from contour line (if set\n\
7673 to 0.0, labels are printed on the lines). Default value is 0.006.\n\
7674\n\
7675 size (PLFLT, input) : Font height for contour labels (normalized).\n\
7676 Default value is 0.3.\n\
7677\n\
7678 spacing (PLFLT, input) : Spacing parameter for contour labels.\n\
7679 Default value is 0.1.\n\
7680\n\
7681 active (PLINT, input) : Activate labels. Set to 1 if you want\n\
7682 contour labels on. Default is off (0).\n\
7683";
7684static const char* _wrap_plgfont_texinfo = "-*- texinfo -*-\n\
7685Get family, style and weight of the current font\n\
7686\n\
7687DESCRIPTION:\n\
7688\n\
7689 Gets information about current font. See the PLplot documentation for\n\
7690 more information on font selection.\n\
7691\n\
7692 Redacted form: plgfont(p_family, p_style, p_weight)\n\
7693\n\
7694 This function is used in example 23.\n\
7695\n\
7696\n\
7697\n\
7698SYNOPSIS:\n\
7699\n\
7700plgfont(p_family, p_style, p_weight)\n\
7701\n\
7702ARGUMENTS:\n\
7703\n\
7704 p_family (PLINT_NC_SCALAR, output) : Returned value of the current\n\
7705 font family. The available values are given by the PL_FCI_*\n\
7706 constants in plplot.h. Current options are PL_FCI_SANS,\n\
7707 PL_FCI_SERIF, PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. If\n\
7708 p_family is NULL then the font family is not returned.\n\
7709\n\
7710 p_style (PLINT_NC_SCALAR, output) : Returned value of the current\n\
7711 font style. The available values are given by the PL_FCI_*\n\
7712 constants in plplot.h. Current options are PL_FCI_UPRIGHT,\n\
7713 PL_FCI_ITALIC and PL_FCI_OBLIQUE. If p_style is NULL then the font\n\
7714 style is not returned.\n\
7715\n\
7716 p_weight (PLINT_NC_SCALAR, output) : Returned value of the current\n\
7717 font weight. The available values are given by the PL_FCI_*\n\
7718 constants in plplot.h. Current options are PL_FCI_MEDIUM and\n\
7719 PL_FCI_BOLD. If p_weight is NULL then the font weight is not\n\
7720 returned.\n\
7721";
7722static const char* _wrap_plhist_texinfo = "-*- texinfo -*-\n\
7723Plot a histogram from unbinned data\n\
7724\n\
7725DESCRIPTION:\n\
7726\n\
7727 Plots a histogram from n data points stored in the data vector. This\n\
7728 routine bins the data into nbin bins equally spaced between datmin and\n\
7729 datmax, and calls plbin to draw the resulting histogram. Parameter\n\
7730 opt allows, among other things, the histogram either to be plotted in\n\
7731 an existing window or causes plhist to call plenv with suitable limits\n\
7732 before plotting the histogram.\n\
7733\n\
7734 Redacted form: plhist(data, datmin, datmax, nbin, opt)\n\
7735\n\
7736 This function is used in example 5.\n\
7737\n\
7738\n\
7739\n\
7740SYNOPSIS:\n\
7741\n\
7742plhist(n, data, datmin, datmax, nbin, opt)\n\
7743\n\
7744ARGUMENTS:\n\
7745\n\
7746 n (PLINT, input) : Number of data points.\n\
7747\n\
7748 data (PLFLT_VECTOR, input) : A vector containing the values of the\n\
7749 n data points.\n\
7750\n\
7751 datmin (PLFLT, input) : Left-hand edge of lowest-valued bin.\n\
7752\n\
7753 datmax (PLFLT, input) : Right-hand edge of highest-valued bin.\n\
7754\n\
7755 nbin (PLINT, input) : Number of (equal-sized) bins into which to\n\
7756 divide the interval xmin to xmax.\n\
7757\n\
7758 opt (PLINT, input) : Is a combination of several flags:\n\
7759 opt=PL_HIST_DEFAULT: The axes are automatically rescaled to fit\n\
7760 the histogram data, the outer bins are expanded to fill up the\n\
7761 entire x-axis, data outside the given extremes are assigned to the\n\
7762 outer bins and bins of zero height are simply drawn.\n\
7763 opt=PL_HIST_NOSCALING|...: The existing axes are not rescaled\n\
7764 to fit the histogram data, without this flag, plenv is called\n\
7765 to set the world coordinates.\n\
7766 opt=PL_HIST_IGNORE_OUTLIERS|...: Data outside the given\n\
7767 extremes are not taken into account. This option should\n\
7768 probably be combined with opt=PL_HIST_NOEXPAND|..., so as to\n\
7769 properly present the data.\n\
7770 opt=PL_HIST_NOEXPAND|...: The outer bins are drawn with equal\n\
7771 size as the ones inside.\n\
7772 opt=PL_HIST_NOEMPTY|...: Bins with zero height are not drawn\n\
7773 (there is a gap for such bins).\n\
7774";
7775static const char* _wrap_plgcolbga_texinfo = "-*- texinfo -*-\n\
7776Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT alpha transparency value\n\
7777\n\
7778DESCRIPTION:\n\
7779\n\
7780 Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT\n\
7781 alpha transparency value.\n\
7782\n\
7783 This function is used in example 31.\n\
7784\n\
7785\n\
7786\n\
7787SYNOPSIS:\n\
7788\n\
7789plgcolbga(r, g, b, alpha)\n\
7790\n\
7791ARGUMENTS:\n\
7792\n\
7793 r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n\
7794 in the range from 0 to 255.\n\
7795\n\
7796 g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n\
7797 in the range from 0 to 255.\n\
7798\n\
7799 b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n\
7800 in the range from 0 to 255.\n\
7801\n\
7802 alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n\
7803 transparency in the range (0.0-1.0).\n\
7804";
7805static const char* _wrap_plsori_texinfo = "-*- texinfo -*-\n\
7806Set orientation\n\
7807\n\
7808DESCRIPTION:\n\
7809\n\
7810 Set integer plot orientation parameter. This function is identical to\n\
7811 plsdiori except for the type of the argument, and should be used in\n\
7812 the same way. See the documentation of plsdiori for details.\n\
7813\n\
7814 Redacted form: plsori(ori)\n\
7815\n\
7816 This function is used in example 3.\n\
7817\n\
7818\n\
7819\n\
7820SYNOPSIS:\n\
7821\n\
7822plsori(ori)\n\
7823\n\
7824ARGUMENTS:\n\
7825\n\
7826 ori (PLINT, input) : Orientation value (0 for landscape, 1 for\n\
7827 portrait, etc.) The value is multiplied by 90 degrees to get the\n\
7828 angle.\n\
7829";
7830static const char* _wrap_plmeridians_texinfo = "-*- texinfo -*-\n\
7831Plot latitude and longitude lines\n\
7832\n\
7833DESCRIPTION:\n\
7834\n\
7835 Displays latitude and longitude on the current plot. The lines are\n\
7836 plotted in the current color and line style.\n\
7837\n\
7838 Redacted form: plmeridians(mapform, dlong, dlat, minlong, maxlong,\n\
7839 minlat, maxlat)\n\
7840\n\
7841 This function is used in example 19.\n\
7842\n\
7843\n\
7844\n\
7845SYNOPSIS:\n\
7846\n\
7847plmeridians(mapform, dlong, dlat, minlong, maxlong, minlat, maxlat)\n\
7848\n\
7849ARGUMENTS:\n\
7850\n\
7851 mapform (PLMAPFORM_callback, input) : A user supplied function to\n\
7852 transform the coordinate longitudes and latitudes to a plot\n\
7853 coordinate system. By using this transform, we can change from a\n\
7854 longitude, latitude coordinate to a polar stereographic project,\n\
7855 for example. Initially, x[0]..[n-1] are the longitudes and\n\
7856 y[0]..y[n-1] are the corresponding latitudes. After the call to\n\
7857 mapform(), x[] and y[] should be replaced by the corresponding\n\
7858 plot coordinates. If no transform is desired, mapform can be\n\
7859 replaced by NULL.\n\
7860\n\
7861 dlong (PLFLT, input) : The interval in degrees at which the\n\
7862 longitude lines are to be plotted.\n\
7863\n\
7864 dlat (PLFLT, input) : The interval in degrees at which the latitude\n\
7865 lines are to be plotted.\n\
7866\n\
7867 minlong (PLFLT, input) : The value of the longitude on the left\n\
7868 side of the plot. The value of minlong must be less than the value\n\
7869 of maxlong, and the quantity maxlong-minlong must be less than or\n\
7870 equal to 360.\n\
7871\n\
7872 maxlong (PLFLT, input) : The value of the longitude on the right\n\
7873 side of the plot.\n\
7874\n\
7875 minlat (PLFLT, input) : The minimum latitude to be plotted on the\n\
7876 background. One can always use -90.0 as the boundary outside the\n\
7877 plot window will be automatically eliminated. However, the\n\
7878 program will be faster if one can reduce the size of the\n\
7879 background plotted.\n\
7880\n\
7881 maxlat (PLFLT, input) : The maximum latitudes to be plotted on the\n\
7882 background. One can always use 90.0 as the boundary outside the\n\
7883 plot window will be automatically eliminated.\n\
7884";
7885static const char* _wrap_plclear_texinfo = "-*- texinfo -*-\n\
7886Clear current (sub)page\n\
7887\n\
7888DESCRIPTION:\n\
7889\n\
7890 Clears the current page, effectively erasing everything that have been\n\
7891 drawn. This command only works with interactive drivers; if the\n\
7892 driver does not support this, the page is filled with the background\n\
7893 color in use. If the current page is divided into subpages, only the\n\
7894 current subpage is erased. The nth subpage can be selected with\n\
7895 pladv(n).\n\
7896\n\
7897 Redacted form: General: plclear()\n\
7898\n\
7899\n\
7900 This function is not used in any examples.\n\
7901\n\
7902\n\
7903\n\
7904SYNOPSIS:\n\
7905\n\
7906plclear()\n\
7907";
7908static const char* _wrap_plstar_texinfo = "-*- texinfo -*-\n\
7909Initialization\n\
7910\n\
7911DESCRIPTION:\n\
7912\n\
7913 Initializing the plotting package. The program prompts for the device\n\
7914 keyword or number of the desired output device. Hitting a RETURN in\n\
7915 response to the prompt is the same as selecting the first device. If\n\
7916 only one device is enabled when PLplot is installed, plstar will issue\n\
7917 no prompt. The output device is divided into nx by ny subpages, each\n\
7918 of which may be used independently. The subroutine pladv is used to\n\
7919 advance from one subpage to the next.\n\
7920\n\
7921 Redacted form: plstar(nx, ny)\n\
7922\n\
7923 This function is used in example 1.\n\
7924\n\
7925\n\
7926\n\
7927SYNOPSIS:\n\
7928\n\
7929plstar(nx, ny)\n\
7930\n\
7931ARGUMENTS:\n\
7932\n\
7933 nx (PLINT, input) : Number of subpages to divide output page in the\n\
7934 x direction.\n\
7935\n\
7936 ny (PLINT, input) : Number of subpages to divide output page in the\n\
7937 y direction.\n\
7938";
7939static const char* _wrap_plmtex_texinfo = "-*- texinfo -*-\n\
7940Write text relative to viewport boundaries\n\
7941\n\
7942DESCRIPTION:\n\
7943\n\
7944 Writes text at a specified position relative to the viewport\n\
7945 boundaries. Text may be written inside or outside the viewport, but\n\
7946 is clipped at the subpage boundaries. The reference point of a string\n\
7947 lies along a line passing through the string at half the height of a\n\
7948 capital letter. The position of the reference point along this line\n\
7949 is determined by just, and the position of the reference point\n\
7950 relative to the viewport is set by disp and pos.\n\
7951\n\
7952 Redacted form: General: plmtex(side, disp, pos, just, text)\n\
7953\n\
7954\n\
7955 This function is used in examples 3, 4, 6-8, 11, 12, 14, 18, 23, and\n\
7956 26.\n\
7957\n\
7958\n\
7959\n\
7960SYNOPSIS:\n\
7961\n\
7962plmtex(side, disp, pos, just, text)\n\
7963\n\
7964ARGUMENTS:\n\
7965\n\
7966 side (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
7967 the side of the viewport along which the text is to be written.\n\
7968 The string must be one of: b: Bottom of viewport, text written\n\
7969 parallel to edge.\n\
7970 bv: Bottom of viewport, text written at right angles to edge.\n\
7971 l: Left of viewport, text written parallel to edge.\n\
7972 lv: Left of viewport, text written at right angles to edge.\n\
7973 r: Right of viewport, text written parallel to edge.\n\
7974 rv: Right of viewport, text written at right angles to edge.\n\
7975 t: Top of viewport, text written parallel to edge.\n\
7976 tv: Top of viewport, text written at right angles to edge.\n\
7977\n\
7978\n\
7979 disp (PLFLT, input) : Position of the reference point of string,\n\
7980 measured outwards from the specified viewport edge in units of the\n\
7981 current character height. Use negative disp to write within the\n\
7982 viewport.\n\
7983\n\
7984 pos (PLFLT, input) : Position of the reference point of string\n\
7985 along the specified edge, expressed as a fraction of the length of\n\
7986 the edge.\n\
7987\n\
7988 just (PLFLT, input) : Specifies the position of the string relative\n\
7989 to its reference point. If just=0. , the reference point is at\n\
7990 the left and if just=1. , it is at the right of the string. Other\n\
7991 values of just give intermediate justifications.\n\
7992\n\
7993 text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n\
7994 written out.\n\
7995";
7996static const char* _wrap_plscolbga_texinfo = "-*- texinfo -*-\n\
7997Set the background color by 8-bit RGB value and PLFLT alpha transparency value.\n\
7998\n\
7999DESCRIPTION:\n\
8000\n\
8001 Set the background color (color 0 in cmap0) by 8-bit RGB value and\n\
8002 PLFLT alpha transparency value (see the PLplot documentation).\n\
8003\n\
8004 This function is used in example 31.\n\
8005\n\
8006\n\
8007\n\
8008SYNOPSIS:\n\
8009\n\
8010plscolbga(r, g, b, alpha)\n\
8011\n\
8012ARGUMENTS:\n\
8013\n\
8014 r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
8015 degree of red in the color.\n\
8016\n\
8017 g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
8018 degree of green in the color.\n\
8019\n\
8020 b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
8021 degree of blue in the color.\n\
8022\n\
8023 alpha (PLFLT, input) : Value of the alpha transparency in the range\n\
8024 (0.0-1.0).\n\
8025";
8026static const char* _wrap_plreplot_texinfo = "-*- texinfo -*-\n\
8027Replays contents of plot buffer to current device/file\n\
8028\n\
8029DESCRIPTION:\n\
8030\n\
8031 Replays contents of plot buffer to current device/file.\n\
8032\n\
8033 Redacted form: plreplot()\n\
8034\n\
8035 This function is used in example 1,20.\n\
8036\n\
8037\n\
8038\n\
8039SYNOPSIS:\n\
8040\n\
8041plreplot()\n\
8042";
8043static const char* _wrap_plpoin3_texinfo = "-*- texinfo -*-\n\
8044Plot a glyph at the specified 3D points\n\
8045\n\
8046DESCRIPTION:\n\
8047\n\
8048 Plot a glyph at the specified 3D points. (This function is largely\n\
8049 superseded by plstring3 which gives access to many[!] more glyphs.)\n\
8050 Set up the call to this function similar to what is done for plline3.\n\
8051 code=-1 means try to just draw a point. Right now it\'s just a move\n\
8052 and a draw at the same place. Not ideal, since a sufficiently\n\
8053 intelligent output device may optimize it away, or there may be faster\n\
8054 ways of doing it. This is OK for now, though, and offers a 4X speedup\n\
8055 over drawing a Hershey font \"point\" (which is actually diamond shaped\n\
8056 and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n\
8057 useful (but small subset) of Hershey symbols is plotted. If 32 <=\n\
8058 code <= 127 the corresponding printable ASCII character is plotted.\n\
8059\n\
8060 Redacted form: plpoin3(x, y, z, code)\n\
8061\n\
8062 This function is not used in any example.\n\
8063\n\
8064\n\
8065\n\
8066SYNOPSIS:\n\
8067\n\
8068plpoin3(n, x, y, z, code)\n\
8069\n\
8070ARGUMENTS:\n\
8071\n\
8072 n (PLINT, input) : Number of points in the x and y vectors.\n\
8073\n\
8074 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
8075 points.\n\
8076\n\
8077 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
8078 points.\n\
8079\n\
8080 z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n\
8081 points.\n\
8082\n\
8083 code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n\
8084 with -1 <= code <= 127) corresponding to a glyph to be plotted at\n\
8085 each of the n points.\n\
8086";
8087static const char* _wrap_plsfont_texinfo = "-*- texinfo -*-\n\
8088Set family, style and weight of the current font\n\
8089\n\
8090DESCRIPTION:\n\
8091\n\
8092 Sets the current font. See the PLplot documentation for more\n\
8093 information on font selection.\n\
8094\n\
8095 Redacted form: plsfont(family, style, weight)\n\
8096\n\
8097 This function is used in example 23.\n\
8098\n\
8099\n\
8100\n\
8101SYNOPSIS:\n\
8102\n\
8103plsfont(family, style, weight)\n\
8104\n\
8105ARGUMENTS:\n\
8106\n\
8107 family (PLINT, input) : Font family to select for the current font.\n\
8108 The available values are given by the PL_FCI_* constants in\n\
8109 plplot.h. Current options are PL_FCI_SANS, PL_FCI_SERIF,\n\
8110 PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. A negative value\n\
8111 signifies that the font family should not be altered.\n\
8112\n\
8113 style (PLINT, input) : Font style to select for the current font.\n\
8114 The available values are given by the PL_FCI_* constants in\n\
8115 plplot.h. Current options are PL_FCI_UPRIGHT, PL_FCI_ITALIC and\n\
8116 PL_FCI_OBLIQUE. A negative value signifies that the font style\n\
8117 should not be altered.\n\
8118\n\
8119 weight (PLINT, input) : Font weight to select for the current font.\n\
8120 The available values are given by the PL_FCI_* constants in\n\
8121 plplot.h. Current options are PL_FCI_MEDIUM and PL_FCI_BOLD. A\n\
8122 negative value signifies that the font weight should not be\n\
8123 altered.\n\
8124";
8125static const char* _wrap_plaxes_texinfo = "-*- texinfo -*-\n\
8126Draw a box with axes, etc. with arbitrary origin\n\
8127\n\
8128DESCRIPTION:\n\
8129\n\
8130 Draws a box around the currently defined viewport with arbitrary\n\
8131 world-coordinate origin specified by x0 and y0 and labels it with\n\
8132 world coordinate values appropriate to the window. Thus plaxes should\n\
8133 only be called after defining both viewport and window. The ascii\n\
8134 character strings xopt and yopt specify how the box should be drawn as\n\
8135 described below. If ticks and/or subticks are to be drawn for a\n\
8136 particular axis, the tick intervals and number of subintervals may be\n\
8137 specified explicitly, or they may be defaulted by setting the\n\
8138 appropriate arguments to zero.\n\
8139\n\
8140 Redacted form: General: plaxes(x0, y0, xopt, xtick, nxsub, yopt,\n\
8141 ytick, nysub)\n\
8142\n\
8143\n\
8144 This function is not used in any examples.\n\
8145\n\
8146\n\
8147\n\
8148SYNOPSIS:\n\
8149\n\
8150plaxes(x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub)\n\
8151\n\
8152ARGUMENTS:\n\
8153\n\
8154 x0 (PLFLT, input) : World X coordinate of origin.\n\
8155\n\
8156 y0 (PLFLT, input) : World Y coordinate of origin.\n\
8157\n\
8158 xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
8159 options for the x axis. The string can include any combination of\n\
8160 the following letters (upper or lower case) in any order: a: Draws\n\
8161 axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n\
8162 (x=0).\n\
8163 b: Draws bottom (X) or left (Y) edge of frame.\n\
8164 c: Draws top (X) or right (Y) edge of frame.\n\
8165 d: Plot labels as date / time. Values are assumed to be\n\
8166 seconds since the epoch (as used by gmtime).\n\
8167 f: Always use fixed point numeric labels.\n\
8168 g: Draws a grid at the major tick interval.\n\
8169 h: Draws a grid at the minor tick interval.\n\
8170 i: Inverts tick marks, so they are drawn outwards, rather than\n\
8171 inwards.\n\
8172 l: Labels axis logarithmically. This only affects the labels,\n\
8173 not the data, and so it is necessary to compute the logarithms\n\
8174 of data points before passing them to any of the drawing\n\
8175 routines.\n\
8176 m: Writes numeric labels at major tick intervals in the\n\
8177 unconventional location (above box for X, right of box for Y).\n\
8178 n: Writes numeric labels at major tick intervals in the\n\
8179 conventional location (below box for X, left of box for Y).\n\
8180 o: Use custom labelling function to generate axis label text.\n\
8181 The custom labelling function can be defined with the\n\
8182 plslabelfunc command.\n\
8183 s: Enables subticks between major ticks, only valid if t is\n\
8184 also specified.\n\
8185 t: Draws major ticks.\n\
8186 u: Exactly like \"b\" except don\'t draw edge line.\n\
8187 w: Exactly like \"c\" except don\'t draw edge line.\n\
8188 x: Exactly like \"t\" (including the side effect of the\n\
8189 numerical labels for the major ticks) except exclude drawing\n\
8190 the major and minor tick marks.\n\
8191\n\
8192\n\
8193 xtick (PLFLT, input) : World coordinate interval between major\n\
8194 ticks on the x axis. If it is set to zero, PLplot automatically\n\
8195 generates a suitable tick interval.\n\
8196\n\
8197 nxsub (PLINT, input) : Number of subintervals between major x axis\n\
8198 ticks for minor ticks. If it is set to zero, PLplot automatically\n\
8199 generates a suitable minor tick interval.\n\
8200\n\
8201 yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
8202 options for the y axis. The string can include any combination of\n\
8203 the letters defined above for xopt, and in addition may contain:\n\
8204 v: Write numeric labels for the y axis parallel to the base of the\n\
8205 graph, rather than parallel to the axis.\n\
8206\n\
8207\n\
8208 ytick (PLFLT, input) : World coordinate interval between major\n\
8209 ticks on the y axis. If it is set to zero, PLplot automatically\n\
8210 generates a suitable tick interval.\n\
8211\n\
8212 nysub (PLINT, input) : Number of subintervals between major y axis\n\
8213 ticks for minor ticks. If it is set to zero, PLplot automatically\n\
8214 generates a suitable minor tick interval.\n\
8215";
8216static const char* _wrap_plbop_texinfo = "-*- texinfo -*-\n\
8217Begin a new page\n\
8218\n\
8219DESCRIPTION:\n\
8220\n\
8221 Begins a new page. For a file driver, the output file is opened if\n\
8222 necessary. Advancing the page via pleop and plbop is useful when a\n\
8223 page break is desired at a particular point when plotting to subpages.\n\
8224 Another use for pleop and plbop is when plotting pages to different\n\
8225 files, since you can manually set the file name by calling plsfnam\n\
8226 after the call to pleop. (In fact some drivers may only support a\n\
8227 single page per file, making this a necessity.) One way to handle\n\
8228 this case automatically is to page advance via pladv, but enable\n\
8229 familying (see plsfam) with a small limit on the file size so that a\n\
8230 new family member file will be created on each page break.\n\
8231\n\
8232 Redacted form: plbop()\n\
8233\n\
8234 This function is used in examples 2 and 20.\n\
8235\n\
8236\n\
8237\n\
8238SYNOPSIS:\n\
8239\n\
8240plbop()\n\
8241";
8242static const char* _wrap_plscmap0a_texinfo = "-*- texinfo -*-\n\
8243Set cmap0 colors by 8-bit RGB values and PLFLT alpha transparency value\n\
8244\n\
8245DESCRIPTION:\n\
8246\n\
8247 Set cmap0 colors using 8-bit RGB values (see the PLplot documentation)\n\
8248 and PLFLT alpha transparency value. This sets the entire color map --\n\
8249 only as many colors as specified will be allocated.\n\
8250\n\
8251 Redacted form: plscmap0a(r, g, b, alpha)\n\
8252\n\
8253 This function is used in examples 30.\n\
8254\n\
8255\n\
8256\n\
8257SYNOPSIS:\n\
8258\n\
8259plscmap0a(r, g, b, alpha, ncol0)\n\
8260\n\
8261ARGUMENTS:\n\
8262\n\
8263 r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n\
8264 integers (0-255) representing the degree of red in the color.\n\
8265\n\
8266 g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n\
8267 integers (0-255) representing the degree of green in the color.\n\
8268\n\
8269 b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n\
8270 integers (0-255) representing the degree of blue in the color.\n\
8271\n\
8272 alpha (PLFLT_VECTOR, input) : A vector containing values (0.0-1.0)\n\
8273 representing the alpha transparency of the color.\n\
8274\n\
8275 ncol0 (PLINT, input) : Number of items in the r, g, b, and alpha\n\
8276 vectors.\n\
8277";
8278static const char* _wrap_plscmap1la_texinfo = "-*- texinfo -*-\n\
8279Set cmap1 colors and alpha transparency using a piece-wise linear relationship\n\
8280\n\
8281DESCRIPTION:\n\
8282\n\
8283 This is a variant of plscmap1l that supports alpha channel\n\
8284 transparency. It sets cmap1 colors using a piece-wise linear\n\
8285 relationship between cmap1 intensity index (0.0-1.0) and position in\n\
8286 HLS or RGB color space (see the PLplot documentation) with alpha\n\
8287 transparency value (0.0-1.0). It may be called at any time.\n\
8288\n\
8289 Redacted form: plscmap1la(itype, intensity, coord1, coord2, coord3,\n\
8290 alpha, alt_hue_path)\n\
8291\n\
8292 This function is used in example 30.\n\
8293\n\
8294\n\
8295\n\
8296SYNOPSIS:\n\
8297\n\
8298plscmap1la(itype, npts, intensity, coord1, coord2, coord3, alpha, alt_hue_path)\n\
8299\n\
8300ARGUMENTS:\n\
8301\n\
8302 itype (PLBOOL, input) : true: RGB, false: HLS.\n\
8303\n\
8304 npts (PLINT, input) : number of control points.\n\
8305\n\
8306 intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n\
8307 intensity index (0.0-1.0) in ascending order for each control\n\
8308 point.\n\
8309\n\
8310 coord1 (PLFLT_VECTOR, input) : A vector containing the first\n\
8311 coordinate (H or R) for each control point.\n\
8312\n\
8313 coord2 (PLFLT_VECTOR, input) : A vector containing the second\n\
8314 coordinate (L or G) for each control point.\n\
8315\n\
8316 coord3 (PLFLT_VECTOR, input) : A vector containing the third\n\
8317 coordinate (S or B) for each control point.\n\
8318\n\
8319 alpha (PLFLT_VECTOR, input) : A vector containing the alpha\n\
8320 transparency value (0.0-1.0) for each control point.\n\
8321\n\
8322 alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n\
8323 npts - 1 elements) containing the alternative interpolation method\n\
8324 Boolean value for each control point interval. (alt_hue_path[i]\n\
8325 refers to the interpolation interval between the i and i + 1\n\
8326 control points).\n\
8327";
8328static const char* _wrap_plxormod_texinfo = "-*- texinfo -*-\n\
8329Enter or leave xor mode\n\
8330\n\
8331DESCRIPTION:\n\
8332\n\
8333 Enter (when mode is true) or leave (when mode is false) xor mode for\n\
8334 those drivers (e.g., the xwin driver) that support it. Enables\n\
8335 erasing plots by drawing twice the same line, symbol, etc. If driver\n\
8336 is not capable of xor operation it returns a status of false.\n\
8337\n\
8338 Redacted form: plxormod(mode, status)\n\
8339\n\
8340 This function is used in examples 1 and 20.\n\
8341\n\
8342\n\
8343\n\
8344SYNOPSIS:\n\
8345\n\
8346plxormod(mode, status)\n\
8347\n\
8348ARGUMENTS:\n\
8349\n\
8350 mode (PLBOOL, input) : mode is true means enter xor mode and mode\n\
8351 is false means leave xor mode.\n\
8352\n\
8353 status (PLBOOL_NC_SCALAR, output) : Returned value of the status.\n\
8354 modestatus of true (false) means driver is capable (incapable) of\n\
8355 xor mode.\n\
8356";
8357static const char* _wrap_pleop_texinfo = "-*- texinfo -*-\n\
8358Eject current page\n\
8359\n\
8360DESCRIPTION:\n\
8361\n\
8362 Clears the graphics screen of an interactive device, or ejects a page\n\
8363 on a plotter. See plbop for more information.\n\
8364\n\
8365 Redacted form: pleop()\n\
8366\n\
8367 This function is used in example 2,14.\n\
8368\n\
8369\n\
8370\n\
8371SYNOPSIS:\n\
8372\n\
8373pleop()\n\
8374";
8375static const char* _wrap_plbox_texinfo = "-*- texinfo -*-\n\
8376Draw a box with axes, etc\n\
8377\n\
8378DESCRIPTION:\n\
8379\n\
8380 Draws a box around the currently defined viewport, and labels it with\n\
8381 world coordinate values appropriate to the window. Thus plbox should\n\
8382 only be called after defining both viewport and window. The ascii\n\
8383 character strings xopt and yopt specify how the box should be drawn as\n\
8384 described below. If ticks and/or subticks are to be drawn for a\n\
8385 particular axis, the tick intervals and number of subintervals may be\n\
8386 specified explicitly, or they may be defaulted by setting the\n\
8387 appropriate arguments to zero.\n\
8388\n\
8389 Redacted form: General: plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n\
8390\n\
8391\n\
8392 This function is used in examples 1, 2, 4, 6, 6-12, 14-18, 21, 23-26,\n\
8393 and 29.\n\
8394\n\
8395\n\
8396\n\
8397SYNOPSIS:\n\
8398\n\
8399plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n\
8400\n\
8401ARGUMENTS:\n\
8402\n\
8403 xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
8404 options for the x axis. The string can include any combination of\n\
8405 the following letters (upper or lower case) in any order: a: Draws\n\
8406 axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n\
8407 (x=0).\n\
8408 b: Draws bottom (X) or left (Y) edge of frame.\n\
8409 c: Draws top (X) or right (Y) edge of frame.\n\
8410 d: Plot labels as date / time. Values are assumed to be\n\
8411 seconds since the epoch (as used by gmtime).\n\
8412 f: Always use fixed point numeric labels.\n\
8413 g: Draws a grid at the major tick interval.\n\
8414 h: Draws a grid at the minor tick interval.\n\
8415 i: Inverts tick marks, so they are drawn outwards, rather than\n\
8416 inwards.\n\
8417 l: Labels axis logarithmically. This only affects the labels,\n\
8418 not the data, and so it is necessary to compute the logarithms\n\
8419 of data points before passing them to any of the drawing\n\
8420 routines.\n\
8421 m: Writes numeric labels at major tick intervals in the\n\
8422 unconventional location (above box for X, right of box for Y).\n\
8423 n: Writes numeric labels at major tick intervals in the\n\
8424 conventional location (below box for X, left of box for Y).\n\
8425 o: Use custom labelling function to generate axis label text.\n\
8426 The custom labelling function can be defined with the\n\
8427 plslabelfunc command.\n\
8428 s: Enables subticks between major ticks, only valid if t is\n\
8429 also specified.\n\
8430 t: Draws major ticks.\n\
8431 u: Exactly like \"b\" except don\'t draw edge line.\n\
8432 w: Exactly like \"c\" except don\'t draw edge line.\n\
8433 x: Exactly like \"t\" (including the side effect of the\n\
8434 numerical labels for the major ticks) except exclude drawing\n\
8435 the major and minor tick marks.\n\
8436\n\
8437\n\
8438 xtick (PLFLT, input) : World coordinate interval between major\n\
8439 ticks on the x axis. If it is set to zero, PLplot automatically\n\
8440 generates a suitable tick interval.\n\
8441\n\
8442 nxsub (PLINT, input) : Number of subintervals between major x axis\n\
8443 ticks for minor ticks. If it is set to zero, PLplot automatically\n\
8444 generates a suitable minor tick interval.\n\
8445\n\
8446 yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n\
8447 options for the y axis. The string can include any combination of\n\
8448 the letters defined above for xopt, and in addition may contain:\n\
8449 v: Write numeric labels for the y axis parallel to the base of the\n\
8450 graph, rather than parallel to the axis.\n\
8451\n\
8452\n\
8453 ytick (PLFLT, input) : World coordinate interval between major\n\
8454 ticks on the y axis. If it is set to zero, PLplot automatically\n\
8455 generates a suitable tick interval.\n\
8456\n\
8457 nysub (PLINT, input) : Number of subintervals between major y axis\n\
8458 ticks for minor ticks. If it is set to zero, PLplot automatically\n\
8459 generates a suitable minor tick interval.\n\
8460";
8461static const char* _wrap_plgxax_texinfo = "-*- texinfo -*-\n\
8462Get x axis parameters\n\
8463\n\
8464DESCRIPTION:\n\
8465\n\
8466 Returns current values of the p_digmax and p_digits flags for the x\n\
8467 axis. p_digits is updated after the plot is drawn, so this routine\n\
8468 should only be called after the call to plbox (or plbox3) is complete.\n\
8469 See the PLplot documentation for more information.\n\
8470\n\
8471 Redacted form: plgxax(p_digmax, p_digits)\n\
8472\n\
8473 This function is used in example 31.\n\
8474\n\
8475\n\
8476\n\
8477SYNOPSIS:\n\
8478\n\
8479plgxax(p_digmax, p_digits)\n\
8480\n\
8481ARGUMENTS:\n\
8482\n\
8483 p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n\
8484 number of digits for the x axis. If nonzero, the printed label\n\
8485 has been switched to a floating-point representation when the\n\
8486 number of digits exceeds this value.\n\
8487\n\
8488 p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n\
8489 number of digits for the numeric labels (x axis) from the last\n\
8490 plot.\n\
8491";
8492static const char* _wrap_plfont_texinfo = "-*- texinfo -*-\n\
8493Set font\n\
8494\n\
8495DESCRIPTION:\n\
8496\n\
8497 Sets the font used for subsequent text and symbols. For devices that\n\
8498 still use Hershey fonts this routine has no effect unless the Hershey\n\
8499 fonts with extended character set are loaded (see plfontld). For\n\
8500 unicode-aware devices that use system fonts instead of Hershey fonts,\n\
8501 this routine calls the plsfci routine with argument set up\n\
8502 appropriately for the various cases below. However, this method of\n\
8503 specifying the font for unicode-aware devices is deprecated, and the\n\
8504 much more flexible method of calling plsfont directly is recommended\n\
8505 instead (where plsfont provides a user-friendly interface to plsfci),\n\
8506\n\
8507 Redacted form: plfont(ifont)\n\
8508\n\
8509 This function is used in examples 1, 2, 4, 7, 13, 24, and 26.\n\
8510\n\
8511\n\
8512\n\
8513SYNOPSIS:\n\
8514\n\
8515plfont(ifont)\n\
8516\n\
8517ARGUMENTS:\n\
8518\n\
8519 ifont (PLINT, input) : Specifies the font: 1: Sans serif font\n\
8520 (simplest and fastest)\n\
8521 2: Serif font\n\
8522 3: Italic font\n\
8523 4: Script font\n\
8524";
8525static const char* _wrap_pllegend_texinfo = "-*- texinfo -*-\n\
8526Plot legend using discretely annotated filled boxes, lines, and/or lines of symbols\n\
8527\n\
8528DESCRIPTION:\n\
8529\n\
8530 Routine for creating a discrete plot legend with a plotted filled box,\n\
8531 line, and/or line of symbols for each annotated legend entry. (See\n\
8532 plcolorbar for similar functionality for creating continuous color\n\
8533 bars.) The arguments of pllegend provide control over the location\n\
8534 and size of the legend as well as the location and characteristics of\n\
8535 the elements (most of which are optional) within that legend. The\n\
8536 resulting legend is clipped at the boundaries of the current subpage.\n\
8537 (N.B. the adopted coordinate system used for some of the parameters is\n\
8538 defined in the documentation of the position parameter.)\n\
8539\n\
8540 Redacted form: pllegend(p_legend_width, p_legend_height, opt,\n\
8541 position, x, y, plot_width, bg_color, bb_color, bb_style, nrow,\n\
8542 ncolumn, opt_array, text_offset, text_scale, text_spacing,\n\
8543 test_justification, text_colors, text, box_colors, box_patterns,\n\
8544 box_scales, box_line_widths, line_colors, line_styles, line_widths,\n\
8545 symbol_colors, symbol_scales, symbol_numbers, symbols)\n\
8546\n\
8547 This function is used in examples 4, 26, and 33.\n\
8548\n\
8549\n\
8550\n\
8551SYNOPSIS:\n\
8552\n\
8553pllegend(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\
8554\n\
8555ARGUMENTS:\n\
8556\n\
8557 p_legend_width (PLFLT_NC_SCALAR, output) : Returned value of the\n\
8558 legend width in adopted coordinates. This quantity is calculated\n\
8559 from plot_width, text_offset, ncolumn (possibly modified inside\n\
8560 the routine depending on nlegend and nrow), and the length\n\
8561 (calculated internally) of the longest text string.\n\
8562\n\
8563 p_legend_height (PLFLT_NC_SCALAR, output) : Returned value of the\n\
8564 legend height in adopted coordinates. This quantity is calculated\n\
8565 from text_scale, text_spacing, and nrow (possibly modified inside\n\
8566 the routine depending on nlegend and nrow).\n\
8567\n\
8568 opt (PLINT, input) : opt contains bits controlling the overall\n\
8569 legend. If the PL_LEGEND_TEXT_LEFT bit is set, put the text area\n\
8570 on the left of the legend and the plotted area on the right.\n\
8571 Otherwise, put the text area on the right of the legend and the\n\
8572 plotted area on the left. If the PL_LEGEND_BACKGROUND bit is set,\n\
8573 plot a (semitransparent) background for the legend. If the\n\
8574 PL_LEGEND_BOUNDING_BOX bit is set, plot a bounding box for the\n\
8575 legend. If the PL_LEGEND_ROW_MAJOR bit is set and (both of the\n\
8576 possibly internally transformed) nrow > 1 and ncolumn > 1, then\n\
8577 plot the resulting array of legend entries in row-major order.\n\
8578 Otherwise, plot the legend entries in column-major order.\n\
8579\n\
8580 position (PLINT, input) : position contains bits which control the\n\
8581 overall position of the legend and the definition of the adopted\n\
8582 coordinates used for positions just like what is done for the\n\
8583 position argument for plcolorbar. However, note that the defaults\n\
8584 for the position bits (see below) are different than the\n\
8585 plcolorbar case. The combination of the PL_POSITION_LEFT,\n\
8586 PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n\
8587 PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n\
8588 the 16 possible standard positions (the 4 corners and centers of\n\
8589 the 4 sides for both the inside and outside cases) of the legend\n\
8590 relative to the adopted coordinate system. The corner positions\n\
8591 are specified by the appropriate combination of two of the\n\
8592 PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n\
8593 PL_POSITION_BOTTOM bits while the sides are specified by a single\n\
8594 value of one of those bits. The adopted coordinates are\n\
8595 normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n\
8596 set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n\
8597 bit is set. Default position bits: If none of PL_POSITION_LEFT,\n\
8598 PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n\
8599 then use the combination of PL_POSITION_RIGHT and PL_POSITION_TOP.\n\
8600 If neither of PL_POSITION_INSIDE or PL_POSITION_OUTSIDE is set,\n\
8601 use PL_POSITION_INSIDE. If neither of PL_POSITION_VIEWPORT or\n\
8602 PL_POSITION_SUBPAGE is set, use PL_POSITION_VIEWPORT.\n\
8603\n\
8604 x (PLFLT, input) : X offset of the legend position in adopted\n\
8605 coordinates from the specified standard position of the legend.\n\
8606 For positive x, the direction of motion away from the standard\n\
8607 position is inward/outward from the standard corner positions or\n\
8608 standard left or right positions if the\n\
8609 PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n\
8610 For the standard top or bottom positions, the direction of motion\n\
8611 is toward positive X.\n\
8612\n\
8613 y (PLFLT, input) : Y offset of the legend position in adopted\n\
8614 coordinates from the specified standard position of the legend.\n\
8615 For positive y, the direction of motion away from the standard\n\
8616 position is inward/outward from the standard corner positions or\n\
8617 standard top or bottom positions if the\n\
8618 PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position. For\n\
8619 the standard left or right positions, the direction of motion is\n\
8620 toward positive Y.\n\
8621\n\
8622 plot_width (PLFLT, input) : Horizontal width in adopted coordinates\n\
8623 of the plot area (where the colored boxes, lines, and/or lines of\n\
8624 symbols are drawn) of the legend.\n\
8625\n\
8626 bg_color (PLINT, input) : The cmap0 color of the background for the\n\
8627 legend (PL_LEGEND_BACKGROUND).\n\
8628\n\
8629 bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n\
8630 for the legend (PL_LEGEND_BOUNDING_BOX).\n\
8631\n\
8632 bb_style (PLINT, input) : The pllsty style number for the\n\
8633 bounding-box line for the legend (PL_LEGEND_BACKGROUND).\n\
8634\n\
8635 nrow (PLINT, input) : The number of rows in the matrix used to\n\
8636 render the\n\
8637 nlegend legend entries. For internal transformations of\n\
8638 nrow, see further remarks under\n\
8639 nlegend.\n\
8640\n\
8641 ncolumn (PLINT, input) : The number of columns in the matrix used\n\
8642 to render the\n\
8643 nlegend legend entries. For internal transformations of\n\
8644 ncolumn, see further remarks under\n\
8645 nlegend.\n\
8646\n\
8647 nlegend (PLINT, input) : Number of legend entries. The above\n\
8648 nrow and\n\
8649 ncolumn values are transformed internally to be consistent with\n\
8650 nlegend. If either\n\
8651 nrow or\n\
8652 ncolumn is non-positive it is replaced by 1. If the resulting product\n\
8653 of\n\
8654 nrow and\n\
8655 ncolumn is less than\n\
8656 nlegend, the smaller of the two (or\n\
8657 nrow, if\n\
8658 nrow ==\n\
8659 ncolumn) is increased so the product is >=\n\
8660 nlegend. Thus, for example, the common\n\
8661 nrow = 0,\n\
8662 ncolumn = 0 case is transformed internally to\n\
8663 nrow =\n\
8664 nlegend,\n\
8665 ncolumn = 1; i.e., the usual case of a legend rendered as a single\n\
8666 column.\n\
8667\n\
8668 opt_array (PLINT_VECTOR, input) : A vector of\n\
8669 nlegend values of options to control each individual plotted area\n\
8670 corresponding to a legend entry. If the\n\
8671 PL_LEGEND_NONE bit is set, then nothing is plotted in the plotted\n\
8672 area. If the\n\
8673 PL_LEGEND_COLOR_BOX,\n\
8674 PL_LEGEND_LINE, and/or\n\
8675 PL_LEGEND_SYMBOL bits are set, the area corresponding to a legend\n\
8676 entry is plotted with a colored box; a line; and/or a line of\n\
8677 symbols.\n\
8678\n\
8679 text_offset (PLFLT, input) : Offset of the text area from the plot\n\
8680 area in units of character width.\n\
8681\n\
8682 text_scale (PLFLT, input) : Character height scale for text\n\
8683 annotations.\n\
8684\n\
8685 text_spacing (PLFLT, input) : Vertical spacing in units of the\n\
8686 character height from one legend entry to the next.\n\
8687\n\
8688 text_justification (PLFLT, input) : Justification parameter used\n\
8689 for text justification. The most common values of\n\
8690 text_justification are 0., 0.5, or 1. corresponding to a text that\n\
8691 is left justified, centred, or right justified within the text\n\
8692 area, but other values are allowed as well.\n\
8693\n\
8694 text_colors (PLINT_VECTOR, input) : A vector containing\n\
8695 nlegend cmap0 text colors.\n\
8696\n\
8697 text (PLCHAR_MATRIX, input) : A vector of\n\
8698 nlegend UTF-8 character strings containing the legend annotations.\n\
8699\n\
8700 box_colors (PLINT_VECTOR, input) : A vector containing\n\
8701 nlegend cmap0 colors for the discrete colored boxes (\n\
8702 PL_LEGEND_COLOR_BOX).\n\
8703\n\
8704 box_patterns (PLINT_VECTOR, input) : A vector containing\n\
8705 nlegend patterns (plpsty indices) for the discrete colored boxes (\n\
8706 PL_LEGEND_COLOR_BOX).\n\
8707\n\
8708 box_scales (PLFLT_VECTOR, input) : A vector containing\n\
8709 nlegend scales (units of fraction of character height) for the height\n\
8710 of the discrete colored boxes (\n\
8711 PL_LEGEND_COLOR_BOX).\n\
8712\n\
8713 box_line_widths (PLFLT_VECTOR, input) : A vector containing\n\
8714 nlegend line widths for the patterns specified by box_patterns (\n\
8715 PL_LEGEND_COLOR_BOX).\n\
8716\n\
8717 line_colors (PLINT_VECTOR, input) : A vector containing\n\
8718 nlegend cmap0 line colors (\n\
8719 PL_LEGEND_LINE).\n\
8720\n\
8721 line_styles (PLINT_VECTOR, input) : A vector containing\n\
8722 nlegend line styles (plsty indices) (\n\
8723 PL_LEGEND_LINE).\n\
8724\n\
8725 line_widths (PLFLT_VECTOR, input) : A vector containing\n\
8726 nlegend line widths (\n\
8727 PL_LEGEND_LINE).\n\
8728\n\
8729 symbol_colors (PLINT_VECTOR, input) : A vector containing\n\
8730 nlegend cmap0 symbol colors (\n\
8731 PL_LEGEND_SYMBOL).\n\
8732\n\
8733 symbol_scales (PLFLT_VECTOR, input) : A vector containing\n\
8734 nlegend scale values for the symbol height (\n\
8735 PL_LEGEND_SYMBOL).\n\
8736\n\
8737 symbol_numbers (PLINT_VECTOR, input) : A vector containing\n\
8738 nlegend numbers of symbols to be drawn across the width of the plotted\n\
8739 area (\n\
8740 PL_LEGEND_SYMBOL).\n\
8741\n\
8742 symbols (PLCHAR_MATRIX, input) : A vector of\n\
8743 nlegend UTF-8 character strings containing the legend symbols. (\n\
8744 PL_LEGEND_SYMBOL).\n\
8745";
8746static const char* _wrap_plscolbg_texinfo = "-*- texinfo -*-\n\
8747Set the background color by 8-bit RGB value\n\
8748\n\
8749DESCRIPTION:\n\
8750\n\
8751 Set the background color (color 0 in cmap0) by 8-bit RGB value (see\n\
8752 the PLplot documentation).\n\
8753\n\
8754 Redacted form: plscolbg(r, g, b)\n\
8755\n\
8756 This function is used in examples 15 and 31.\n\
8757\n\
8758\n\
8759\n\
8760SYNOPSIS:\n\
8761\n\
8762plscolbg(r, g, b)\n\
8763\n\
8764ARGUMENTS:\n\
8765\n\
8766 r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
8767 degree of red in the color.\n\
8768\n\
8769 g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
8770 degree of green in the color.\n\
8771\n\
8772 b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n\
8773 degree of blue in the color.\n\
8774";
8775static const char* _wrap_plsdidev_texinfo = "-*- texinfo -*-\n\
8776Set parameters that define current device-space window\n\
8777\n\
8778DESCRIPTION:\n\
8779\n\
8780 Set relative margin width, aspect ratio, and relative justification\n\
8781 that define current device-space window. If you want to just use the\n\
8782 previous value for any of these, just pass in the magic value\n\
8783 PL_NOTSET. It is unlikely that one should ever need to change the\n\
8784 aspect ratio but it\'s in there for completeness. If plsdidev is not\n\
8785 called the default values of mar, jx, and jy are all 0. aspect is set\n\
8786 to a device-specific value.\n\
8787\n\
8788 Redacted form: plsdidev(mar, aspect, jx, jy)\n\
8789\n\
8790 This function is used in example 31.\n\
8791\n\
8792\n\
8793\n\
8794SYNOPSIS:\n\
8795\n\
8796plsdidev(mar, aspect, jx, jy)\n\
8797\n\
8798ARGUMENTS:\n\
8799\n\
8800 mar (PLFLT, input) : Relative margin width.\n\
8801\n\
8802 aspect (PLFLT, input) : Aspect ratio.\n\
8803\n\
8804 jx (PLFLT, input) : Relative justification in x. Value must lie in\n\
8805 the range -0.5 to 0.5.\n\
8806\n\
8807 jy (PLFLT, input) : Relative justification in y. Value must lie in\n\
8808 the range -0.5 to 0.5.\n\
8809";
8810static const char* _wrap_plvasp_texinfo = "-*- texinfo -*-\n\
8811Specify viewport using aspect ratio only\n\
8812\n\
8813DESCRIPTION:\n\
8814\n\
8815 Selects the largest viewport with the given aspect ratio within the\n\
8816 subpage that leaves a standard margin (left-hand margin of eight\n\
8817 character heights, and a margin around the other three sides of five\n\
8818 character heights).\n\
8819\n\
8820 Redacted form: plvasp(aspect)\n\
8821\n\
8822 This function is used in example 13.\n\
8823\n\
8824\n\
8825\n\
8826SYNOPSIS:\n\
8827\n\
8828plvasp(aspect)\n\
8829\n\
8830ARGUMENTS:\n\
8831\n\
8832 aspect (PLFLT, input) : Ratio of length of y axis to length of x\n\
8833 axis of resulting viewport.\n\
8834";
8835static const char* _wrap_plw3d_texinfo = "-*- texinfo -*-\n\
8836Configure the transformations required for projecting a 3D surface on a 2D window\n\
8837\n\
8838DESCRIPTION:\n\
8839\n\
8840 Configure the transformations required for projecting a 3D surface on\n\
8841 an existing 2D window. Those transformations (see the PLplot\n\
8842 documentation) are done to a rectangular cuboid enclosing the 3D\n\
8843 surface which has its limits expressed in 3D world coordinates and\n\
8844 also normalized 3D coordinates (used for interpreting the altitude and\n\
8845 azimuth of the viewing angle). The transformations consist of the\n\
8846 linear transform from 3D world coordinates to normalized 3D\n\
8847 coordinates, and the 3D rotation of normalized coordinates required to\n\
8848 align the pole of the new 3D coordinate system with the viewing\n\
8849 direction specified by altitude and azimuth so that x and y of the\n\
8850 surface elements in that transformed coordinate system are the\n\
8851 projection of the 3D surface with given viewing direction on the 2D\n\
8852 window.\n\
8853\n\
8854 The enclosing rectangular cuboid for the surface plot is defined by\n\
8855 xmin, xmax, ymin, ymax, zmin and zmax in 3D world coordinates. It is\n\
8856 mapped into the same rectangular cuboid with normalized 3D coordinate\n\
8857 sizes of basex by basey by height so that xmin maps to -\n\
8858 basex/2, xmax maps to basex/2, ymin maps to -\n\
8859 basey/2, ymax maps to basey/2, zmin maps to 0 and zmax maps to height.\n\
8860 The resulting rectangular cuboid in normalized coordinates is then\n\
8861 viewed by an observer at altitude alt and azimuth az. This routine\n\
8862 must be called before plbox3 or any of the 3D surface plotting\n\
8863 routines; plmesh, plmeshc, plot3d, plot3dc, plot3dcl, plsurf3d,\n\
8864 plsurf3dl or plfill3.\n\
8865\n\
8866 Redacted form: plw3d(basex, basey, height, xmin, xmax, ymin, ymax,\n\
8867 zmin, zmax, alt, az)\n\
8868\n\
8869 This function is examples 8, 11, 18, and 21.\n\
8870\n\
8871\n\
8872\n\
8873SYNOPSIS:\n\
8874\n\
8875plw3d(basex, basey, height, xmin, xmax, ymin, ymax, zmin, zmax, alt, az)\n\
8876\n\
8877ARGUMENTS:\n\
8878\n\
8879 basex (PLFLT, input) : The normalized x coordinate size of the\n\
8880 rectangular cuboid.\n\
8881\n\
8882 basey (PLFLT, input) : The normalized y coordinate size of the\n\
8883 rectangular cuboid.\n\
8884\n\
8885 height (PLFLT, input) : The normalized z coordinate size of the\n\
8886 rectangular cuboid.\n\
8887\n\
8888 xmin (PLFLT, input) : The minimum x world coordinate of the\n\
8889 rectangular cuboid.\n\
8890\n\
8891 xmax (PLFLT, input) : The maximum x world coordinate of the\n\
8892 rectangular cuboid.\n\
8893\n\
8894 ymin (PLFLT, input) : The minimum y world coordinate of the\n\
8895 rectangular cuboid.\n\
8896\n\
8897 ymax (PLFLT, input) : The maximum y world coordinate of the\n\
8898 rectangular cuboid.\n\
8899\n\
8900 zmin (PLFLT, input) : The minimum z world coordinate of the\n\
8901 rectangular cuboid.\n\
8902\n\
8903 zmax (PLFLT, input) : The maximum z world coordinate of the\n\
8904 rectangular cuboid.\n\
8905\n\
8906 alt (PLFLT, input) : The viewing altitude in degrees above the xy\n\
8907 plane of the rectangular cuboid in normalized coordinates.\n\
8908\n\
8909 az (PLFLT, input) : The viewing azimuth in degrees of the\n\
8910 rectangular cuboid in normalized coordinates. When az=0, the\n\
8911 observer is looking face onto the zx plane of the rectangular\n\
8912 cuboid in normalized coordinates, and as az is increased, the\n\
8913 observer moves clockwise around that cuboid when viewed from above\n\
8914 the xy plane.\n\
8915";
8916static const char* _wrap_plGetCursor_texinfo = "-*- texinfo -*-\n\
8917Wait for graphics input event and translate to world coordinates.\n\
8918\n\
8919DESCRIPTION:\n\
8920\n\
8921 Wait for graphics input event and translate to world coordinates.\n\
8922 Returns 0 if no translation to world coordinates is possible.\n\
8923\n\
8924 This function returns 1 on success and 0 if no translation to world\n\
8925 coordinates is possible.\n\
8926\n\
8927 Redacted form: plGetCursor(gin)\n\
8928\n\
8929 This function is used in examples 1 and 20.\n\
8930\n\
8931\n\
8932\n\
8933SYNOPSIS:\n\
8934\n\
8935PLINT plGetCursor(gin)\n\
8936\n\
8937ARGUMENTS:\n\
8938\n\
8939 gin (PLGraphicsIn *, output) : Pointer to PLGraphicsIn structure\n\
8940 which will contain the output. The structure is not allocated by\n\
8941 the routine and must exist before the function is called.\n\
8942";
8943static const char* _wrap_plscmap0n_texinfo = "-*- texinfo -*-\n\
8944Set number of colors in cmap0\n\
8945\n\
8946DESCRIPTION:\n\
8947\n\
8948 Set number of colors in cmap0 (see the PLplot documentation). Allocate\n\
8949 (or reallocate) cmap0, and fill with default values for those colors\n\
8950 not previously allocated. The first 16 default colors are given in\n\
8951 the plcol0 documentation. For larger indices the default color is\n\
8952 red.\n\
8953\n\
8954 The drivers are not guaranteed to support more than 16 colors.\n\
8955\n\
8956 Redacted form: plscmap0n(ncol0)\n\
8957\n\
8958 This function is used in examples 15, 16, and 24.\n\
8959\n\
8960\n\
8961\n\
8962SYNOPSIS:\n\
8963\n\
8964plscmap0n(ncol0)\n\
8965\n\
8966ARGUMENTS:\n\
8967\n\
8968 ncol0 (PLINT, input) : Number of colors that will be allocated in\n\
8969 the cmap0 palette. If this number is zero or less, then the value\n\
8970 from the previous call to plscmap0n is used and if there is no\n\
8971 previous call, then a default value is used.\n\
8972";
8973static const char* _wrap_plszax_texinfo = "-*- texinfo -*-\n\
8974Set z axis parameters\n\
8975\n\
8976DESCRIPTION:\n\
8977\n\
8978 Identical to plsxax, except that arguments are flags for z axis. See\n\
8979 the description of plsxax for more detail.\n\
8980\n\
8981 Redacted form: plszax(digmax, digits)\n\
8982\n\
8983 This function is used in example 31.\n\
8984\n\
8985\n\
8986\n\
8987SYNOPSIS:\n\
8988\n\
8989plszax(digmax, digits)\n\
8990\n\
8991ARGUMENTS:\n\
8992\n\
8993 digmax (PLINT, input) : Variable to set the maximum number of\n\
8994 digits for the z axis. If nonzero, the printed label will be\n\
8995 switched to a floating-point representation when the number of\n\
8996 digits exceeds digmax.\n\
8997\n\
8998 digits (PLINT, input) : Field digits value. Currently, changing\n\
8999 its value here has no effect since it is set only by plbox or\n\
9000 plbox3. However, the user may obtain its value after a call to\n\
9001 either of these functions by calling plgzax.\n\
9002";
9003static const char* _wrap_plgfci_texinfo = "-*- texinfo -*-\n\
9004Get FCI (font characterization integer)\n\
9005\n\
9006DESCRIPTION:\n\
9007\n\
9008 Gets information about the current font using the FCI approach. See\n\
9009 the PLplot documentation for more information.\n\
9010\n\
9011 Redacted form: plgfci(p_fci)\n\
9012\n\
9013 This function is used in example 23.\n\
9014\n\
9015\n\
9016\n\
9017SYNOPSIS:\n\
9018\n\
9019plgfci(p_fci)\n\
9020\n\
9021ARGUMENTS:\n\
9022\n\
9023 p_fci (PLUNICODE_NC_SCALAR, output) : Returned value of the current\n\
9024 FCI value.\n\
9025";
9026static const char* _wrap_plenv0_texinfo = "-*- texinfo -*-\n\
9027Same as plenv but if in multiplot mode does not advance the subpage, instead clears it\n\
9028\n\
9029DESCRIPTION:\n\
9030\n\
9031 Sets up plotter environment for simple graphs by calling pladv and\n\
9032 setting up viewport and window to sensible default values. plenv0\n\
9033 leaves a standard margin (left-hand margin of eight character heights,\n\
9034 and a margin around the other three sides of five character heights)\n\
9035 around most graphs for axis labels and a title. When these defaults\n\
9036 are not suitable, use the individual routines plvpas, plvpor, or\n\
9037 plvasp for setting up the viewport, plwind for defining the window,\n\
9038 and plbox for drawing the box.\n\
9039\n\
9040 Redacted form: plenv0(xmin, xmax, ymin, ymax, just, axis)\n\
9041\n\
9042 This function is used in example 21.\n\
9043\n\
9044\n\
9045\n\
9046SYNOPSIS:\n\
9047\n\
9048plenv0(xmin, xmax, ymin, ymax, just, axis)\n\
9049\n\
9050ARGUMENTS:\n\
9051\n\
9052 xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n\
9053 world coordinates).\n\
9054\n\
9055 xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n\
9056 world coordinates).\n\
9057\n\
9058 ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n\
9059 coordinates).\n\
9060\n\
9061 ymax (PLFLT, input) : Value of y at top edge of window (in world\n\
9062 coordinates).\n\
9063\n\
9064 just (PLINT, input) : Controls how the axes will be scaled: -1: the\n\
9065 scales will not be set, the user must set up the scale before\n\
9066 calling plenv0 using plsvpa, plvasp or other.\n\
9067 0: the x and y axes are scaled independently to use as much of\n\
9068 the screen as possible.\n\
9069 1: the scales of the x and y axes are made equal.\n\
9070 2: the axis of the x and y axes are made equal, and the plot\n\
9071 box will be square.\n\
9072\n\
9073\n\
9074 axis (PLINT, input) : Controls drawing of the box around the plot:\n\
9075 -2: draw no box, no tick marks, no numeric tick labels, no axes.\n\
9076 -1: draw box only.\n\
9077 0: draw box, ticks, and numeric tick labels.\n\
9078 1: also draw coordinate axes at x=0 and y=0.\n\
9079 2: also draw a grid at major tick positions in both\n\
9080 coordinates.\n\
9081 3: also draw a grid at minor tick positions in both\n\
9082 coordinates.\n\
9083 10: same as 0 except logarithmic x tick marks. (The x data\n\
9084 have to be converted to logarithms separately.)\n\
9085 11: same as 1 except logarithmic x tick marks. (The x data\n\
9086 have to be converted to logarithms separately.)\n\
9087 12: same as 2 except logarithmic x tick marks. (The x data\n\
9088 have to be converted to logarithms separately.)\n\
9089 13: same as 3 except logarithmic x tick marks. (The x data\n\
9090 have to be converted to logarithms separately.)\n\
9091 20: same as 0 except logarithmic y tick marks. (The y data\n\
9092 have to be converted to logarithms separately.)\n\
9093 21: same as 1 except logarithmic y tick marks. (The y data\n\
9094 have to be converted to logarithms separately.)\n\
9095 22: same as 2 except logarithmic y tick marks. (The y data\n\
9096 have to be converted to logarithms separately.)\n\
9097 23: same as 3 except logarithmic y tick marks. (The y data\n\
9098 have to be converted to logarithms separately.)\n\
9099 30: same as 0 except logarithmic x and y tick marks. (The x\n\
9100 and y data have to be converted to logarithms separately.)\n\
9101 31: same as 1 except logarithmic x and y tick marks. (The x\n\
9102 and y data have to be converted to logarithms separately.)\n\
9103 32: same as 2 except logarithmic x and y tick marks. (The x\n\
9104 and y data have to be converted to logarithms separately.)\n\
9105 33: same as 3 except logarithmic x and y tick marks. (The x\n\
9106 and y data have to be converted to logarithms separately.)\n\
9107 40: same as 0 except date / time x labels.\n\
9108 41: same as 1 except date / time x labels.\n\
9109 42: same as 2 except date / time x labels.\n\
9110 43: same as 3 except date / time x labels.\n\
9111 50: same as 0 except date / time y labels.\n\
9112 51: same as 1 except date / time y labels.\n\
9113 52: same as 2 except date / time y labels.\n\
9114 53: same as 3 except date / time y labels.\n\
9115 60: same as 0 except date / time x and y labels.\n\
9116 61: same as 1 except date / time x and y labels.\n\
9117 62: same as 2 except date / time x and y labels.\n\
9118 63: same as 3 except date / time x and y labels.\n\
9119 70: same as 0 except custom x and y labels.\n\
9120 71: same as 1 except custom x and y labels.\n\
9121 72: same as 2 except custom x and y labels.\n\
9122 73: same as 3 except custom x and y labels.\n\
9123";
9124static const char* _wrap_plssym_texinfo = "-*- texinfo -*-\n\
9125Set symbol size\n\
9126\n\
9127DESCRIPTION:\n\
9128\n\
9129 This sets up the size of all subsequent symbols drawn by plpoin and\n\
9130 plsym. The actual height of a symbol is the product of the default\n\
9131 symbol size and a scaling factor as for the character height.\n\
9132\n\
9133 Redacted form: plssym(def, scale)\n\
9134\n\
9135 This function is used in example 29.\n\
9136\n\
9137\n\
9138\n\
9139SYNOPSIS:\n\
9140\n\
9141plssym(def, scale)\n\
9142\n\
9143ARGUMENTS:\n\
9144\n\
9145 def (PLFLT, input) : The default height of a symbol in millimeters,\n\
9146 should be set to zero if the default height is to remain\n\
9147 unchanged.\n\
9148\n\
9149 scale (PLFLT, input) : Scale factor to be applied to default to get\n\
9150 actual symbol height.\n\
9151";
9152static const char* _wrap_plsdiori_texinfo = "-*- texinfo -*-\n\
9153Set plot orientation\n\
9154\n\
9155DESCRIPTION:\n\
9156\n\
9157 Set plot orientation parameter which is multiplied by 90 degrees to\n\
9158 obtain the angle of rotation. Note, arbitrary rotation parameters\n\
9159 such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n\
9160 values for the rotation parameter are 0., 1., 2., and 3. corresponding\n\
9161 to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n\
9162 (seascape mode), and 270 degrees (upside-down mode). If plsdiori is\n\
9163 not called the default value of rot is 0.\n\
9164\n\
9165 N.B. aspect ratio is unaffected by calls to plsdiori. So you will\n\
9166 probably want to change the aspect ratio to a value suitable for the\n\
9167 plot orientation using a call to plsdidev or the command-line options\n\
9168 -a or -freeaspect. For more documentation of those options see the\n\
9169 PLplot documentation. Such command-line options can be set internally\n\
9170 using plsetopt or set directly using the command line and parsed using\n\
9171 a call to plparseopts.\n\
9172\n\
9173 Redacted form: plsdiori(rot)\n\
9174\n\
9175 This function is not used in any examples.\n\
9176\n\
9177\n\
9178\n\
9179SYNOPSIS:\n\
9180\n\
9181plsdiori(rot)\n\
9182\n\
9183ARGUMENTS:\n\
9184\n\
9185 rot (PLFLT, input) : Plot orientation parameter.\n\
9186";
9187static const char* _wrap_pladv_texinfo = "-*- texinfo -*-\n\
9188Advance the (sub-)page\n\
9189\n\
9190DESCRIPTION:\n\
9191\n\
9192 Advances to the next subpage if sub=0, performing a page advance if\n\
9193 there are no remaining subpages on the current page. If subpages\n\
9194 aren\'t being used, pladv(0) will always advance the page. If page>0,\n\
9195 PLplot switches to the specified subpage. Note that this allows you\n\
9196 to overwrite a plot on the specified subpage; if this is not what you\n\
9197 intended, use pleop followed by plbop to first advance the page. This\n\
9198 routine is called automatically (with page=0) by plenv, but if plenv\n\
9199 is not used, pladv must be called after initializing PLplot but before\n\
9200 defining the viewport.\n\
9201\n\
9202 Redacted form: pladv(page)\n\
9203\n\
9204 This function is used in examples 1, 2, 4, 6-12, 14-18, 20, 21, 23-27,\n\
9205 29, and 31.\n\
9206\n\
9207\n\
9208\n\
9209SYNOPSIS:\n\
9210\n\
9211pladv(page)\n\
9212\n\
9213ARGUMENTS:\n\
9214\n\
9215 page (PLINT, input) : Specifies the subpage number (starting from 1\n\
9216 in the top left corner and increasing along the rows) to which to\n\
9217 advance. Set to zero to advance to the next subpage (or to the\n\
9218 next page if subpages are not being used).\n\
9219";
9220static const char* _wrap_plscmap0_texinfo = "-*- texinfo -*-\n\
9221Set cmap0 colors by 8-bit RGB values\n\
9222\n\
9223DESCRIPTION:\n\
9224\n\
9225 Set cmap0 colors using 8-bit RGB values (see the PLplot\n\
9226 documentation). This sets the entire color map -- only as many colors\n\
9227 as specified will be allocated.\n\
9228\n\
9229 Redacted form: plscmap0(r, g, b)\n\
9230\n\
9231 This function is used in examples 2 and 24.\n\
9232\n\
9233\n\
9234\n\
9235SYNOPSIS:\n\
9236\n\
9237plscmap0(r, g, b, ncol0)\n\
9238\n\
9239ARGUMENTS:\n\
9240\n\
9241 r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n\
9242 integers (0-255) representing the degree of red in the color.\n\
9243\n\
9244 g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n\
9245 integers (0-255) representing the degree of green in the color.\n\
9246\n\
9247 b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n\
9248 integers (0-255) representing the degree of blue in the color.\n\
9249\n\
9250 ncol0 (PLINT, input) : Number of items in the r, g, and b vectors.\n\
9251";
9252static const char* _wrap_plgchr_texinfo = "-*- texinfo -*-\n\
9253Get character default height and current (scaled) height\n\
9254\n\
9255DESCRIPTION:\n\
9256\n\
9257 Get character default height and current (scaled) height.\n\
9258\n\
9259 Redacted form: plgchr(p_def, p_ht)\n\
9260\n\
9261 This function is used in example 23.\n\
9262\n\
9263\n\
9264\n\
9265SYNOPSIS:\n\
9266\n\
9267plgchr(p_def, p_ht)\n\
9268\n\
9269ARGUMENTS:\n\
9270\n\
9271 p_def (PLFLT_NC_SCALAR, output) : Returned value of the default\n\
9272 character height (mm).\n\
9273\n\
9274 p_ht (PLFLT_NC_SCALAR, output) : Returned value of the scaled\n\
9275 character height (mm).\n\
9276";
9277static const char* _wrap_plscmap1_texinfo = "-*- texinfo -*-\n\
9278Set opaque RGB cmap1 colors values\n\
9279\n\
9280DESCRIPTION:\n\
9281\n\
9282 Set opaque cmap1 colors (see the PLplot documentation) using RGB\n\
9283 vector values. This function also sets the number of cmap1 colors.\n\
9284 N.B. Continuous cmap1 colors are indexed with a floating-point index\n\
9285 in the range from 0.0-1.0 which is linearly transformed (e.g., by\n\
9286 plcol1) to an integer index of these RGB vectors in the range from 0\n\
9287 to\n\
9288 ncol1-1. So in order for this continuous color model to work\n\
9289 properly, it is the responsibility of the user of plscmap1 to insure\n\
9290 that these RGB vectors are continuous functions of their integer\n\
9291 indices.\n\
9292\n\
9293 Redacted form: plscmap1(r, g, b)\n\
9294\n\
9295 This function is used in example 31.\n\
9296\n\
9297\n\
9298\n\
9299SYNOPSIS:\n\
9300\n\
9301plscmap1(r, g, b, ncol1)\n\
9302\n\
9303ARGUMENTS:\n\
9304\n\
9305 r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n\
9306 8-bit integers in the range from 0-255) the degree of red in the\n\
9307 color as a continuous function of the integer index of the vector.\n\
9308\n\
9309 g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n\
9310 8-bit integers in the range from 0-255) the degree of green in the\n\
9311 color as a continuous function of the integer index of the vector.\n\
9312\n\
9313 b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n\
9314 8-bit integers in the range from 0-255) the degree of blue in the\n\
9315 color as a continuous function of the integer index of the vector.\n\
9316\n\
9317 ncol1 (PLINT, input) : Number of items in the r, g, and b vectors.\n\
9318";
9319static const char* _wrap_plSetOpt_texinfo = "-*- texinfo -*-\n\
9320Set any command-line option\n\
9321\n\
9322DESCRIPTION:\n\
9323\n\
9324 Set any command-line option internally from a program before it\n\
9325 invokes plinit. opt is the name of the command-line option and optarg\n\
9326 is the corresponding command-line option argument.\n\
9327\n\
9328 This function returns 0 on success.\n\
9329\n\
9330 Redacted form: plsetopt(opt, optarg)\n\
9331\n\
9332 This function is used in example 14.\n\
9333\n\
9334\n\
9335\n\
9336SYNOPSIS:\n\
9337\n\
9338PLINT plsetopt(opt, optarg)\n\
9339\n\
9340ARGUMENTS:\n\
9341\n\
9342 opt (PLCHAR_VECTOR, input) : An ascii character string containing\n\
9343 the command-line option.\n\
9344\n\
9345 optarg (PLCHAR_VECTOR, input) : An ascii character string\n\
9346 containing the argument of the command-line option.\n\
9347";
9348static const char* _wrap_plgradient_texinfo = "-*- texinfo -*-\n\
9349Draw linear gradient inside polygon\n\
9350\n\
9351DESCRIPTION:\n\
9352\n\
9353 Draw a linear gradient using cmap1 inside the polygon defined by the n\n\
9354 points (\n\
9355 x[i],\n\
9356 y[i]). Interpretation of the polygon is the same as for plfill. The\n\
9357 polygon coordinates and the gradient angle are all expressed in world\n\
9358 coordinates. The angle from the x axis for both the rotated\n\
9359 coordinate system and the gradient vector is specified by angle. The\n\
9360 magnitude of the gradient vector is the difference between the maximum\n\
9361 and minimum values of x for the vertices in the rotated coordinate\n\
9362 system. The origin of the gradient vector can be interpreted as being\n\
9363 anywhere on the line corresponding to the minimum x value for the\n\
9364 vertices in the rotated coordinate system. The distance along the\n\
9365 gradient vector is linearly transformed to the independent variable of\n\
9366 color map 1 which ranges from 0. at the tail of the gradient vector to\n\
9367 1. at the head of the gradient vector. What is drawn is the RGBA\n\
9368 color corresponding to the independent variable of cmap1. For more\n\
9369 information about cmap1 (see the PLplot documentation).\n\
9370\n\
9371 Redacted form: plgradient(x,y,angle)\n\
9372\n\
9373 This function is used in examples 25 and 30.\n\
9374\n\
9375\n\
9376\n\
9377SYNOPSIS:\n\
9378\n\
9379plgradient(n, x, y, angle)\n\
9380\n\
9381ARGUMENTS:\n\
9382\n\
9383 n (PLINT, input) : Number of vertices in polygon.\n\
9384\n\
9385 x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n\
9386 vertices.\n\
9387\n\
9388 y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n\
9389 vertices.\n\
9390\n\
9391 angle (PLFLT, input) : Angle (degrees) of gradient vector from x\n\
9392 axis.\n\
9393";
9394static const char* _wrap_plsmaj_texinfo = "-*- texinfo -*-\n\
9395Set length of major ticks\n\
9396\n\
9397DESCRIPTION:\n\
9398\n\
9399 This sets up the length of the major ticks. The actual length is the\n\
9400 product of the default length and a scaling factor as for character\n\
9401 height.\n\
9402\n\
9403 Redacted form: plsmaj(def, scale)\n\
9404\n\
9405 This function is used in example 29.\n\
9406\n\
9407\n\
9408\n\
9409SYNOPSIS:\n\
9410\n\
9411plsmaj(def, scale)\n\
9412\n\
9413ARGUMENTS:\n\
9414\n\
9415 def (PLFLT, input) : The default length of a major tick in\n\
9416 millimeters, should be set to zero if the default length is to\n\
9417 remain unchanged.\n\
9418\n\
9419 scale (PLFLT, input) : Scale factor to be applied to default to get\n\
9420 actual tick length.\n\
9421";
9422static const char* _wrap_plstransform_texinfo = "-*- texinfo -*-\n\
9423Set a global coordinate transform function\n\
9424\n\
9425DESCRIPTION:\n\
9426\n\
9427 This function can be used to define a coordinate transformation which\n\
9428 affects all elements drawn within the current plot window. The\n\
9429 coordinate_transform callback function is similar to that provided for\n\
9430 the plmap and plmeridians functions. The coordinate_transform_data\n\
9431 parameter may be used to pass extra data to coordinate_transform.\n\
9432\n\
9433 Redacted form: General: plstransform(coordinate_transform,\n\
9434 coordinate_transform_data)\n\
9435\n\
9436\n\
9437 This function is used in examples 19 and 22.\n\
9438\n\
9439\n\
9440\n\
9441SYNOPSIS:\n\
9442\n\
9443plstransform(coordinate_transform, coordinate_transform_data)\n\
9444\n\
9445ARGUMENTS:\n\
9446\n\
9447 coordinate_transform (PLTRANSFORM_callback, input) : A callback\n\
9448 function that defines the transformation from the input (x, y)\n\
9449 world coordinates to new PLplot world coordinates. If\n\
9450 coordinate_transform is not supplied (e.g., is set to NULL in the C\n\
9451 case), then no transform is applied.\n\
9452\n\
9453 coordinate_transform_data (PLPointer, input) : Optional extra data\n\
9454 for\n\
9455 coordinate_transform.\n\
9456";
9457static const char* _wrap_plconfigtime_texinfo = "-*- texinfo -*-\n\
9458Configure the transformation between continuous and broken-down time for the current stream\n\
9459\n\
9460DESCRIPTION:\n\
9461\n\
9462 Configure the transformation between continuous and broken-down time\n\
9463 for the current stream. This transformation is used by both plbtime\n\
9464 and plctime.\n\
9465\n\
9466 Redacted form: General: plconfigtime(scale, offset1, offset2,\n\
9467 ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n\
9468\n\
9469\n\
9470 This function is used in example 29.\n\
9471\n\
9472\n\
9473\n\
9474SYNOPSIS:\n\
9475\n\
9476plconfigtime(scale, offset1, offset2, ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n\
9477\n\
9478ARGUMENTS:\n\
9479\n\
9480 scale (PLFLT, input) : The number of days per continuous time unit.\n\
9481 As a special case, if\n\
9482 scale is 0., then all other arguments are ignored, and the result (the\n\
9483 default used by PLplot) is the equivalent of a call to\n\
9484 plconfigtime(1./86400., 0., 0., 0x0, 1, 1970, 0, 1, 0, 0, 0.).\n\
9485 That is, for this special case broken-down time is calculated with\n\
9486 the proleptic Gregorian calendar with no leap seconds inserted,\n\
9487 and the continuous time is defined as the number of seconds since\n\
9488 the Unix epoch of 1970-01-01T00:00:00Z.\n\
9489\n\
9490 offset1 (PLFLT, input) : If\n\
9491 ifbtime_offset is true, the parameters\n\
9492 offset1 and\n\
9493 offset2 are completely ignored. Otherwise, the sum of these parameters\n\
9494 (with units in days) specify the epoch of the continuous time\n\
9495 relative to the MJD epoch corresponding to the Gregorian calendar\n\
9496 date of 1858-11-17T00:00:00Z or JD = 2400000.5. Two PLFLT numbers\n\
9497 are used to specify the origin to allow users (by specifying\n\
9498 offset1 as an integer that can be exactly represented by a\n\
9499 floating-point variable and specifying\n\
9500 offset2 as a number in the range from 0. to 1) the chance to minimize\n\
9501 the numerical errors of the continuous time representation.\n\
9502\n\
9503 offset2 (PLFLT, input) : See documentation of\n\
9504 offset1.\n\
9505\n\
9506 ccontrol (PLINT, input) : ccontrol contains bits controlling the\n\
9507 transformation. If the 0x1 bit is set, then the proleptic Julian\n\
9508 calendar is used for broken-down time rather than the proleptic\n\
9509 Gregorian calendar. If the 0x2 bit is set, then leap seconds that\n\
9510 have been historically used to define UTC are inserted into the\n\
9511 broken-down time. Other possibilities for additional control bits\n\
9512 for ccontrol exist such as making the historical time corrections\n\
9513 in the broken-down time corresponding to ET (ephemeris time) or\n\
9514 making the (slightly non-constant) corrections from international\n\
9515 atomic time (TAI) to what astronomers define as terrestrial time\n\
9516 (TT). But those additional possibilities have not been\n\
9517 implemented yet in the qsastime library (one of the PLplot utility\n\
9518 libraries).\n\
9519\n\
9520 ifbtime_offset (PLBOOL, input) : ifbtime_offset controls how the\n\
9521 epoch of the continuous time scale is specified by the user. If\n\
9522 ifbtime_offset is false, then\n\
9523 offset1 and\n\
9524 offset2 are used to specify the epoch, and the following broken-down\n\
9525 time parameters are completely ignored. If\n\
9526 ifbtime_offset is true, then\n\
9527 offset1 and\n\
9528 offset2 are completely ignored, and the following broken-down time\n\
9529 parameters are used to specify the epoch.\n\
9530\n\
9531 year (PLINT, input) : Year of epoch.\n\
9532\n\
9533 month (PLINT, input) : Month of epoch in range from 0 (January) to\n\
9534 11 (December).\n\
9535\n\
9536 day (PLINT, input) : Day of epoch in range from 1 to 31.\n\
9537\n\
9538 hour (PLINT, input) : Hour of epoch in range from 0 to 23\n\
9539\n\
9540 min (PLINT, input) : Minute of epoch in range from 0 to 59.\n\
9541\n\
9542 sec (PLFLT, input) : Second of epoch in range from 0. to 60.\n\
9543";
9544static const char* _wrap_plflush_texinfo = "-*- texinfo -*-\n\
9545Flushes the output stream\n\
9546\n\
9547DESCRIPTION:\n\
9548\n\
9549 Flushes the output stream. Use sparingly, if at all.\n\
9550\n\
9551 Redacted form: plflush()\n\
9552\n\
9553 This function is used in examples 1 and 14.\n\
9554\n\
9555\n\
9556\n\
9557SYNOPSIS:\n\
9558\n\
9559plflush()\n\
9560";
9561static const char* _wrap_plsurf3dl_texinfo = "-*- texinfo -*-\n\
9562Plot shaded 3-d surface plot for z[x][y] with y index limits\n\
9563\n\
9564DESCRIPTION:\n\
9565\n\
9566 This variant of plsurf3d (see that function\'s documentation for more\n\
9567 details) should be suitable for the case where the area of the x, y\n\
9568 coordinate grid where z is defined can be non-rectangular. The limits\n\
9569 of that grid are provided by the parameters indexxmin, indexxmax,\n\
9570 indexymin, and indexymax.\n\
9571\n\
9572 Redacted form: plsurf3dl(x, y, z, opt, clevel, indexxmin, indexymin,\n\
9573 indexymax)\n\
9574\n\
9575 This function is used in example 8.\n\
9576\n\
9577\n\
9578\n\
9579SYNOPSIS:\n\
9580\n\
9581plsurf3dl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n\
9582\n\
9583ARGUMENTS:\n\
9584\n\
9585 x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n\
9586 which the function is evaluated.\n\
9587\n\
9588 y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n\
9589 which the function is evaluated.\n\
9590\n\
9591 z (PLFLT_MATRIX, input) : A matrix containing function values to\n\
9592 plot. Should have dimensions of\n\
9593 nx by\n\
9594 ny.\n\
9595\n\
9596 nx (PLINT, input) : Number of x values at which function is\n\
9597 evaluated.\n\
9598\n\
9599 ny (PLINT, input) : Number of y values at which function is\n\
9600 evaluated.\n\
9601\n\
9602 opt (PLINT, input) : Determines the way in which the surface is\n\
9603 represented. To specify more than one option just add the options,\n\
9604 e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n\
9605 connecting points at which function is defined.\n\
9606 opt=BASE_CONT : A contour plot is drawn at the base XY plane\n\
9607 using parameters\n\
9608 nlevel and\n\
9609 clevel.\n\
9610 opt=SURF_CONT : A contour plot is drawn at the surface plane\n\
9611 using parameters\n\
9612 nlevel and\n\
9613 clevel.\n\
9614 opt=DRAW_SIDES : draws a curtain between the base XY plane and\n\
9615 the borders of the plotted function.\n\
9616 opt=MAG_COLOR : the surface is colored according to the value\n\
9617 of Z; if MAG_COLOR is not used, then the surface is colored\n\
9618 according to the intensity of the reflected light in the\n\
9619 surface from a light source whose position is set using\n\
9620 pllightsource.\n\
9621\n\
9622\n\
9623 clevel (PLFLT_VECTOR, input) : A vector containing the contour\n\
9624 levels.\n\
9625\n\
9626 nlevel (PLINT, input) : Number of elements in the clevel vector.\n\
9627\n\
9628 indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n\
9629 corresponds to the first x index where z is defined.\n\
9630\n\
9631 indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n\
9632 which corresponds (by convention) to one more than the last x\n\
9633 index value where z is defined.\n\
9634\n\
9635 indexymin (PLINT_VECTOR, input) : A vector containing the y index\n\
9636 values which all must be ≥ 0. These values are the first y index\n\
9637 where z is defined for a particular x index in the range from\n\
9638 indexxmin to indexxmax - 1. The dimension of indexymin is\n\
9639 indexxmax.\n\
9640\n\
9641 indexymax (PLINT_VECTOR, input) : A vector containing the y index\n\
9642 values which all must be ≤ ny. These values correspond (by\n\
9643 convention) to one more than the last y index where z is defined\n\
9644 for a particular x index in the range from indexxmin to indexxmax\n\
9645 - 1. The dimension of indexymax is indexxmax.\n\
9646";
9647static const char* _wrap_plscmap1a_texinfo = "-*- texinfo -*-\n\
9648Set semitransparent cmap1 RGBA colors.\n\
9649\n\
9650DESCRIPTION:\n\
9651\n\
9652 Set semitransparent cmap1 colors (see the PLplot documentation) using\n\
9653 RGBA vector values. This function also sets the number of cmap1\n\
9654 colors. N.B. Continuous cmap1 colors are indexed with a\n\
9655 floating-point index in the range from 0.0-1.0 which is linearly\n\
9656 transformed (e.g., by plcol1) to an integer index of these RGBA\n\
9657 vectors in the range from 0 to\n\
9658 ncol1-1. So in order for this continuous color model to work\n\
9659 properly, it is the responsibility of the user of plscmap1 to insure\n\
9660 that these RGBA vectors are continuous functions of their integer\n\
9661 indices.\n\
9662\n\
9663 Redacted form: plscmap1a(r, g, b, alpha)\n\
9664\n\
9665 This function is used in example 31.\n\
9666\n\
9667\n\
9668\n\
9669SYNOPSIS:\n\
9670\n\
9671plscmap1a(r, g, b, alpha, ncol1)\n\
9672\n\
9673ARGUMENTS:\n\
9674\n\
9675 r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n\
9676 8-bit integers in the range from 0-255) the degree of red in the\n\
9677 color as a continuous function of the integer index of the vector.\n\
9678\n\
9679 g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n\
9680 8-bit integers in the range from 0-255) the degree of green in the\n\
9681 color as a continuous function of the integer index of the vector.\n\
9682\n\
9683 b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n\
9684 8-bit integers in the range from 0-255) the degree of blue in the\n\
9685 color as a continuous function of the integer index of the vector.\n\
9686\n\
9687 alpha (PLFLT_VECTOR, input) : A vector that represents (using PLFLT\n\
9688 values in the range from 0.0-1.0 where 0.0 corresponds to\n\
9689 completely transparent and 1.0 corresponds to completely opaque)\n\
9690 the alpha transparency of the color as a continuous function of\n\
9691 the integer index of the vector.\n\
9692\n\
9693 ncol1 (PLINT, input) : Number of items in the r, g, b, and alpha\n\
9694 vectors.\n\
9695";
9696static const char* _wrap_plbtime_texinfo = "-*- texinfo -*-\n\
9697Calculate broken-down time from continuous time for the current stream\n\
9698\n\
9699DESCRIPTION:\n\
9700\n\
9701 Calculate broken-down time; year, month, day, hour, min, sec; from\n\
9702 continuous time, ctime for the current stream. This function is the\n\
9703 inverse of plctime.\n\
9704\n\
9705 The PLplot definition of broken-down time is a calendar time that\n\
9706 completely ignores all time zone offsets, i.e., it is the user\'s\n\
9707 responsibility to apply those offsets (if so desired) before using the\n\
9708 PLplot time API. By default broken-down time is defined using the\n\
9709 proleptic Gregorian calendar without the insertion of leap seconds and\n\
9710 continuous time is defined as the number of seconds since the Unix\n\
9711 epoch of 1970-01-01T00:00:00Z. However, other definitions of\n\
9712 broken-down and continuous time are possible, see plconfigtime.\n\
9713\n\
9714 Redacted form: General: plbtime(year, month, day, hour, min, sec,\n\
9715 ctime)\n\
9716\n\
9717\n\
9718 This function is used in example 29.\n\
9719\n\
9720\n\
9721\n\
9722SYNOPSIS:\n\
9723\n\
9724plbtime(year, month, day, hour, min, sec, ctime)\n\
9725\n\
9726ARGUMENTS:\n\
9727\n\
9728 year (PLINT_NC_SCALAR, output) : Returned value of years with\n\
9729 positive values corresponding to CE (i.e., 1 = 1 CE, etc.) and\n\
9730 non-negative values corresponding to BCE (e.g., 0 = 1 BCE, -1 = 2\n\
9731 BCE, etc.)\n\
9732\n\
9733 month (PLINT_NC_SCALAR, output) : Returned value of month within\n\
9734 the year in the range from 0 (January) to 11 (December).\n\
9735\n\
9736 day (PLINT_NC_SCALAR, output) : Returned value of day within the\n\
9737 month in the range from 1 to 31.\n\
9738\n\
9739 hour (PLINT_NC_SCALAR, output) : Returned value of hour within the\n\
9740 day in the range from 0 to 23.\n\
9741\n\
9742 min (PLINT_NC_SCALAR, output) : Returned value of minute within the\n\
9743 hour in the range from 0 to 59\n\
9744\n\
9745 sec (PLFLT_NC_SCALAR, output) : Returned value of second within the\n\
9746 minute in range from 0. to 60.\n\
9747\n\
9748 ctime (PLFLT, input) : Continuous time from which the broken-down\n\
9749 time is calculated.\n\
9750";
9751static const char* _wrap_plrgbhls_texinfo = "-*- texinfo -*-\n\
9752Convert RGB color to HLS\n\
9753\n\
9754DESCRIPTION:\n\
9755\n\
9756 Convert RGB color coordinates to HLS\n\
9757\n\
9758 Redacted form: General: plrgbhls(r, g, b, p_h, p_l, p_s)\n\
9759\n\
9760\n\
9761 This function is used in example 2.\n\
9762\n\
9763\n\
9764\n\
9765SYNOPSIS:\n\
9766\n\
9767plrgbhls(r, g, b, p_h, p_l, p_s)\n\
9768\n\
9769ARGUMENTS:\n\
9770\n\
9771 r (PLFLT, input) : Red intensity (0.0-1.0) of the color.\n\
9772\n\
9773 g (PLFLT, input) : Green intensity (0.0-1.0) of the color.\n\
9774\n\
9775 b (PLFLT, input) : Blue intensity (0.0-1.0) of the color.\n\
9776\n\
9777 p_h (PLFLT_NC_SCALAR, output) : Returned value of the hue in\n\
9778 degrees (0.0-360.0) on the color cylinder.\n\
9779\n\
9780 p_l (PLFLT_NC_SCALAR, output) : Returned value of the lightness\n\
9781 expressed as a fraction (0.0-1.0) of the axis of the color\n\
9782 cylinder.\n\
9783\n\
9784 p_s (PLFLT_NC_SCALAR, output) : Returned value of the saturation\n\
9785 expressed as a fraction (0.0-1.0) of the radius of the color\n\
9786 cylinder.\n\
9787";
9788static const char* _wrap_plgdev_texinfo = "-*- texinfo -*-\n\
9789Get the current device (keyword) name\n\
9790\n\
9791DESCRIPTION:\n\
9792\n\
9793 Get the current device (keyword) name. Note: you must have allocated\n\
9794 space for this (80 characters is safe).\n\
9795\n\
9796 Redacted form: plgdev(p_dev)\n\
9797\n\
9798 This function is used in example 14.\n\
9799\n\
9800\n\
9801\n\
9802SYNOPSIS:\n\
9803\n\
9804plgdev(p_dev)\n\
9805\n\
9806ARGUMENTS:\n\
9807\n\
9808 p_dev (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n\
9809 (with preallocated length of 80 characters or more) containing the\n\
9810 device (keyword) name.\n\
9811";
9812static const char* _wrap_plssub_texinfo = "-*- texinfo -*-\n\
9813Set the number of subpages in x and y\n\
9814\n\
9815DESCRIPTION:\n\
9816\n\
9817 Set the number of subpages in x and y.\n\
9818\n\
9819 Redacted form: plssub(nx, ny)\n\
9820\n\
9821 This function is examples 1,2,14,21,25,27.\n\
9822\n\
9823\n\
9824\n\
9825SYNOPSIS:\n\
9826\n\
9827plssub(nx, ny)\n\
9828\n\
9829ARGUMENTS:\n\
9830\n\
9831 nx (PLINT, input) : Number of windows in x direction (i.e., number\n\
9832 of window columns).\n\
9833\n\
9834 ny (PLINT, input) : Number of windows in y direction (i.e., number\n\
9835 of window rows).\n\
9836";
9837static const char* _wrap_plgstrm_texinfo = "-*- texinfo -*-\n\
9838Get current stream number\n\
9839\n\
9840DESCRIPTION:\n\
9841\n\
9842 Gets the number of the current output stream. See also plsstrm.\n\
9843\n\
9844 Redacted form: plgstrm(p_strm)\n\
9845\n\
9846 This function is used in example 1,20.\n\
9847\n\
9848\n\
9849\n\
9850SYNOPSIS:\n\
9851\n\
9852plgstrm(p_strm)\n\
9853\n\
9854ARGUMENTS:\n\
9855\n\
9856 p_strm (PLINT_NC_SCALAR, output) : Returned value of the current\n\
9857 stream value.\n\
9858";
9859static const char* _wrap_plrandd_texinfo = "-*- texinfo -*-\n\
9860Random number generator returning a real random number in the range [0,1]\n\
9861\n\
9862DESCRIPTION:\n\
9863\n\
9864 Random number generator returning a real random number in the range\n\
9865 [0,1]. The generator is based on the Mersenne Twister. Most languages\n\
9866 / compilers provide their own random number generator, and so this is\n\
9867 provided purely for convenience and to give a consistent random number\n\
9868 generator across all languages supported by PLplot. This is\n\
9869 particularly useful for comparing results from the test suite of\n\
9870 examples.\n\
9871\n\
9872 Redacted form: plrandd()\n\
9873\n\
9874 This function is used in examples 17 and 21.\n\
9875\n\
9876\n\
9877\n\
9878SYNOPSIS:\n\
9879\n\
9880plrandd()\n\
9881";
9882static const char* _wrap_plstripa_texinfo = "-*- texinfo -*-\n\
9883Add a point to a strip chart\n\
9884\n\
9885DESCRIPTION:\n\
9886\n\
9887 Add a point to a given pen of a given strip chart. There is no need\n\
9888 for all pens to have the same number of points or to be equally\n\
9889 sampled in the x coordinate. Allocates memory and rescales as\n\
9890 necessary.\n\
9891\n\
9892 Redacted form: plstripa(id, pen, x, y)\n\
9893\n\
9894 This function is used in example 17.\n\
9895\n\
9896\n\
9897\n\
9898SYNOPSIS:\n\
9899\n\
9900plstripa(id, pen, x, y)\n\
9901\n\
9902ARGUMENTS:\n\
9903\n\
9904 id (PLINT, input) : Identification number of the strip chart (set\n\
9905 up in plstripc).\n\
9906\n\
9907 pen (PLINT, input) : Pen number (ranges from 0 to 3).\n\
9908\n\
9909 x (PLFLT, input) : X coordinate of point to plot.\n\
9910\n\
9911 y (PLFLT, input) : Y coordinate of point to plot.\n\
9912";
9913static const char* _wrap_plscompression_texinfo = "-*- texinfo -*-\n\
9914Set device-compression level\n\
9915\n\
9916DESCRIPTION:\n\
9917\n\
9918 Set device-compression level. Only used for drivers that provide\n\
9919 compression. This function, if used, should be invoked before a call\n\
9920 to plinit.\n\
9921\n\
9922 Redacted form: plscompression(compression)\n\
9923\n\
9924 This function is used in example 31.\n\
9925\n\
9926\n\
9927\n\
9928SYNOPSIS:\n\
9929\n\
9930plscompression(compression)\n\
9931\n\
9932ARGUMENTS:\n\
9933\n\
9934 compression (PLINT, input) : The desired compression level. This is\n\
9935 a device-dependent value. Currently only the jpeg and png devices\n\
9936 use these values. For jpeg value is the jpeg quality which should\n\
9937 normally be in the range 0-95. Higher values denote higher quality\n\
9938 and hence larger image sizes. For png values are in the range -1\n\
9939 to 99. Values of 0-9 are taken as the compression level for zlib.\n\
9940 A value of -1 denotes the default zlib compression level. Values\n\
9941 in the range 10-99 are divided by 10 and then used as the zlib\n\
9942 compression level. Higher compression levels correspond to greater\n\
9943 compression and small file sizes at the expense of more\n\
9944 computation.\n\
9945";
9946static const char* _wrap_plsvpa_texinfo = "-*- texinfo -*-\n\
9947Specify viewport in absolute coordinates\n\
9948\n\
9949DESCRIPTION:\n\
9950\n\
9951 Alternate routine to plvpor for setting up the viewport. This routine\n\
9952 should be used only if the viewport is required to have a definite\n\
9953 size in millimeters. The routine plgspa is useful for finding out the\n\
9954 size of the current subpage.\n\
9955\n\
9956 Redacted form: plsvpa(xmin, xmax, ymin, ymax)\n\
9957\n\
9958 This function is used in example 10.\n\
9959\n\
9960\n\
9961\n\
9962SYNOPSIS:\n\
9963\n\
9964plsvpa(xmin, xmax, ymin, ymax)\n\
9965\n\
9966ARGUMENTS:\n\
9967\n\
9968 xmin (PLFLT, input) : The distance of the left-hand edge of the\n\
9969 viewport from the left-hand edge of the subpage in millimeters.\n\
9970\n\
9971 xmax (PLFLT, input) : The distance of the right-hand edge of the\n\
9972 viewport from the left-hand edge of the subpage in millimeters.\n\
9973\n\
9974 ymin (PLFLT, input) : The distance of the bottom edge of the\n\
9975 viewport from the bottom edge of the subpage in millimeters.\n\
9976\n\
9977 ymax (PLFLT, input) : The distance of the top edge of the viewport\n\
9978 from the bottom edge of the subpage in millimeters.\n\
9979";
9980static const char* _wrap_plpoly3_texinfo = "-*- texinfo -*-\n\
9981Draw a polygon in 3 space\n\
9982\n\
9983DESCRIPTION:\n\
9984\n\
9985 Draws a polygon in 3 space defined by n points in x, y, and z. Setup\n\
9986 like plline3, but differs from that function in that plpoly3 attempts\n\
9987 to determine if the polygon is viewable depending on the order of the\n\
9988 points within the vector and the value of ifcc. If the back of\n\
9989 polygon is facing the viewer, then it isn\'t drawn. If this isn\'t what\n\
9990 you want, then use plline3 instead.\n\
9991\n\
9992 The points are assumed to be in a plane, and the directionality of the\n\
9993 plane is determined from the first three points. Additional points do\n\
9994 not have to lie on the plane defined by the first three, but if they\n\
9995 do not, then the determination of visibility obviously can\'t be 100%\n\
9996 accurate... So if you\'re 3 space polygons are too far from planar,\n\
9997 consider breaking them into smaller polygons. 3 points define a plane\n\
9998 :-).\n\
9999\n\
10000 Bugs: If one of the first two segments is of zero length, or if they\n\
10001 are co-linear, the calculation of visibility has a 50/50 chance of\n\
10002 being correct. Avoid such situations :-). See x18c.c for an example\n\
10003 of this problem. (Search for 20.1).\n\
10004\n\
10005 Redacted form: plpoly3(x, y, z, code)\n\
10006\n\
10007 This function is used in example 18.\n\
10008\n\
10009\n\
10010\n\
10011SYNOPSIS:\n\
10012\n\
10013plpoly3(n, x, y, z, draw, ifcc)\n\
10014\n\
10015ARGUMENTS:\n\
10016\n\
10017 n (PLINT, input) : Number of points defining line.\n\
10018\n\
10019 x (PLFLT_VECTOR, input) : A vector containing\n\
10020 n x coordinates of points.\n\
10021\n\
10022 y (PLFLT_VECTOR, input) : A vector containing\n\
10023 n y coordinates of points.\n\
10024\n\
10025 z (PLFLT_VECTOR, input) : A vector containing\n\
10026 n z coordinates of points.\n\
10027\n\
10028 draw (PLBOOL_VECTOR, input) : A vector containing\n\
10029 n-1 Boolean values which control drawing the segments of the polygon.\n\
10030 If draw[i] is true, then the polygon segment from index [i] to\n\
10031 [i+1] is drawn, otherwise, not.\n\
10032\n\
10033 ifcc (PLBOOL, input) : If ifcc is true the directionality of the\n\
10034 polygon is determined by assuming the points are laid out in a\n\
10035 counter-clockwise order. Otherwise, the directionality of the\n\
10036 polygon is determined by assuming the points are laid out in a\n\
10037 clockwise order.\n\
10038";
10039static const char* _wrap_plot3dc_texinfo = "-*- texinfo -*-\n\
10040Magnitude colored plot surface with contour\n\
10041\n\
10042DESCRIPTION:\n\
10043\n\
10044 Aside from dropping the\n\
10045 side functionality this is a more powerful form of plot3d: the surface\n\
10046 mesh can be colored accordingly to the current z value being plotted,\n\
10047 a contour plot can be drawn at the base XY plane, and a curtain can be\n\
10048 drawn between the plotted function border and the base XY plane. The\n\
10049 arguments are identical to those of plmeshc. The only difference\n\
10050 between plmeshc and plot3dc is that plmeshc draws the bottom side of\n\
10051 the surface, while plot3dc only draws the surface as viewed from the\n\
10052 top.\n\
10053\n\
10054 Redacted form: General: plot3dc(x, y, z, opt, clevel)\n\
10055\n\
10056\n\
10057 This function is used in example 21.\n\
10058\n\
10059\n\
10060\n\
10061SYNOPSIS:\n\
10062\n\
10063plot3dc(x, y, z, nx, ny, opt, clevel, nlevel)\n\
10064\n\
10065ARGUMENTS:\n\
10066\n\
10067 x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n\
10068 which the function is evaluated.\n\
10069\n\
10070 y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n\
10071 which the function is evaluated.\n\
10072\n\
10073 z (PLFLT_MATRIX, input) : A matrix containing function values to\n\
10074 plot. Should have dimensions of\n\
10075 nx by\n\
10076 ny.\n\
10077\n\
10078 nx (PLINT, input) : Number of x values at which function is\n\
10079 evaluated.\n\
10080\n\
10081 ny (PLINT, input) : Number of y values at which function is\n\
10082 evaluated.\n\
10083\n\
10084 opt (PLINT, input) : Determines the way in which the surface is\n\
10085 represented. To specify more than one option just add the options,\n\
10086 e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n\
10087 showing z as a function of x for each value of y[j] .\n\
10088 opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n\
10089 for each value of x[i] .\n\
10090 opt=DRAW_LINEXY : Network of lines is drawn connecting points\n\
10091 at which function is defined.\n\
10092 opt=MAG_COLOR : Each line in the mesh is colored according to\n\
10093 the z value being plotted. The color is used from the current\n\
10094 cmap1.\n\
10095 opt=BASE_CONT : A contour plot is drawn at the base XY plane\n\
10096 using parameters\n\
10097 nlevel and\n\
10098 clevel.\n\
10099 opt=DRAW_SIDES : draws a curtain between the base XY plane and\n\
10100 the borders of the plotted function.\n\
10101\n\
10102\n\
10103 clevel (PLFLT_VECTOR, input) : A vector containing the contour\n\
10104 levels.\n\
10105\n\
10106 nlevel (PLINT, input) : Number of elements in the clevel vector.\n\
10107";
10108static const char* _wrap_plstripc_texinfo = "-*- texinfo -*-\n\
10109Create a 4-pen strip chart\n\
10110\n\
10111DESCRIPTION:\n\
10112\n\
10113 Create a 4-pen strip chart, to be used afterwards by plstripa\n\
10114\n\
10115 Redacted form: General: plstripc(id, xspec, yspec, xmin, xmax, xjump,\n\
10116 ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline,\n\
10117 styline, legline, labx, laby, labz)\n\
10118\n\
10119\n\
10120 This function is used in example 17.\n\
10121\n\
10122\n\
10123\n\
10124SYNOPSIS:\n\
10125\n\
10126plstripc(id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline, styline, legline[], labx, laby, labtop)\n\
10127\n\
10128ARGUMENTS:\n\
10129\n\
10130 id (PLINT_NC_SCALAR, output) : Returned value of the identification\n\
10131 number of the strip chart to use on plstripa and plstripd.\n\
10132\n\
10133 xspec (PLCHAR_VECTOR, input) : An ascii character string containing\n\
10134 the x-axis specification as in plbox.\n\
10135\n\
10136 yspec (PLCHAR_VECTOR, input) : An ascii character string containing\n\
10137 the y-axis specification as in plbox.\n\
10138\n\
10139 xmin (PLFLT, input) : Initial coordinates of plot box; they will\n\
10140 change as data are added.\n\
10141\n\
10142 xmax (PLFLT, input) : Initial coordinates of plot box; they will\n\
10143 change as data are added.\n\
10144\n\
10145 xjump (PLFLT, input) : When x attains xmax, the length of the plot\n\
10146 is multiplied by the factor (1 +\n\
10147 xjump) .\n\
10148\n\
10149 ymin (PLFLT, input) : Initial coordinates of plot box; they will\n\
10150 change as data are added.\n\
10151\n\
10152 ymax (PLFLT, input) : Initial coordinates of plot box; they will\n\
10153 change as data are added.\n\
10154\n\
10155 xlpos (PLFLT, input) : X legend box position (range from 0 to 1).\n\
10156\n\
10157 ylpos (PLFLT, input) : Y legend box position (range from 0 to 1).\n\
10158\n\
10159 y_ascl (PLBOOL, input) : Autoscale y between x jumps if y_ascl is\n\
10160 true, otherwise not.\n\
10161\n\
10162 acc (PLBOOL, input) : Accumulate strip plot if acc is true,\n\
10163 otherwise slide display.\n\
10164\n\
10165 colbox (PLINT, input) : Plot box color index (cmap0).\n\
10166\n\
10167 collab (PLINT, input) : Legend color index (cmap0).\n\
10168\n\
10169 colline (PLINT_VECTOR, input) : A vector containing the cmap0 color\n\
10170 indices for the 4 pens.\n\
10171\n\
10172 styline (PLINT_VECTOR, input) : A vector containing the line style\n\
10173 indices for the 4 pens.\n\
10174\n\
10175 legline (PLCHAR_MATRIX, input) : A vector of UTF-8 character\n\
10176 strings containing legends for the 4 pens.\n\
10177\n\
10178 labx (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n\
10179 the label for the x axis.\n\
10180\n\
10181 laby (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n\
10182 the label for the y axis.\n\
10183\n\
10184 labtop (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n\
10185 the plot title.\n\
10186";
10187static const char* _wrap_plstripd_texinfo = "-*- texinfo -*-\n\
10188Deletes and releases memory used by a strip chart\n\
10189\n\
10190DESCRIPTION:\n\
10191\n\
10192 Deletes and releases memory used by a strip chart.\n\
10193\n\
10194 Redacted form: plstripd(id)\n\
10195\n\
10196 This function is used in example 17.\n\
10197\n\
10198\n\
10199\n\
10200SYNOPSIS:\n\
10201\n\
10202plstripd(id)\n\
10203\n\
10204ARGUMENTS:\n\
10205\n\
10206 id (PLINT, input) : Identification number of strip chart to delete.\n\
10207";
10208static const char* _wrap_plscmap1l_texinfo = "-*- texinfo -*-\n\
10209Set cmap1 colors using a piece-wise linear relationship\n\
10210\n\
10211DESCRIPTION:\n\
10212\n\
10213 Set cmap1 colors using a piece-wise linear relationship between the\n\
10214 cmap1 intensity index (0.0-1.0) and position in HLS or RGB color space\n\
10215 (see the PLplot documentation). May be called at any time.\n\
10216\n\
10217 The idea here is to specify a number of control points that define the\n\
10218 mapping between input cmap1 intensity indices and HLS or RGB. Between\n\
10219 these points, linear interpolation is used which gives a smooth\n\
10220 variation of color with intensity index. Any number of control points\n\
10221 may be specified, located at arbitrary positions, although typically 2\n\
10222 - 4 are enough. Another way of stating this is that we are traversing\n\
10223 a given number of lines through HLS or RGB space as we move through\n\
10224 cmap1 intensity indices. The control points at the minimum and\n\
10225 maximum position (0 and 1) must always be specified. By adding more\n\
10226 control points you can get more variation. One good technique for\n\
10227 plotting functions that vary about some expected average is to use an\n\
10228 additional 2 control points in the center (position ~= 0.5) that are\n\
10229 the same lightness as the background (typically white for paper\n\
10230 output, black for crt), and same hue as the boundary control points.\n\
10231 This allows the highs and lows to be very easily distinguished.\n\
10232\n\
10233 Each control point must specify the cmap1 intensity index and the\n\
10234 associated three coordinates in HLS or RGB space. The first point\n\
10235 must correspond to position = 0, and the last to position = 1.\n\
10236\n\
10237 If RGB colors are provided then the interpolation takes place in RGB\n\
10238 space and is trivial. However if HLS colors are provided then, because\n\
10239 of the circular nature of the color wheel for the hue coordinate, the\n\
10240 interpolation could be performed in either direction around the color\n\
10241 wheel. The default behaviour is for the hue to be linearly\n\
10242 interpolated ignoring this circular property of hue. So for example,\n\
10243 the hues 0 (red) and 240 (blue) will get interpolated via yellow,\n\
10244 green and cyan. If instead you wish to interpolate the other way\n\
10245 around the color wheel you have two options. You may provide hues\n\
10246 outside the range [0, 360), so by using a hue of -120 for blue or 360\n\
10247 for red the interpolation will proceed via magenta. Alternatively you\n\
10248 can utilise the alt_hue_path variable to reverse the direction of\n\
10249 interpolation if you need to provide hues within the [0-360) range.\n\
10250\n\
10251 Examples of interpolation Huealt_hue_pathcolor scheme[120\n\
10252 240]falsegreen-cyan-blue[240 120]falseblue-cyan-green[120\n\
10253 -120]falsegreen-yellow-red-magenta-blue[240\n\
10254 480]falseblue-magenta-red-yellow-green[120\n\
10255 240]truegreen-yellow-red-magenta-blue[240\n\
10256 120]trueblue-magenta-red-yellow-green\n\
10257\n\
10258 Bounds on coordinatesRGBR[0, 1]magnitudeRGBG[0, 1]magnitudeRGBB[0,\n\
10259 1]magnitudeHLShue[0, 360]degreesHLSlightness[0,\n\
10260 1]magnitudeHLSsaturation[0, 1]magnitude\n\
10261\n\
10262 Redacted form: plscmap1l(itype, intensity, coord1, coord2, coord3,\n\
10263 alt_hue_path)\n\
10264\n\
10265 This function is used in examples 8, 11, 12, 15, 20, and 21.\n\
10266\n\
10267\n\
10268\n\
10269SYNOPSIS:\n\
10270\n\
10271plscmap1l(itype, npts, intensity, coord1, coord2, coord3, alt_hue_path)\n\
10272\n\
10273ARGUMENTS:\n\
10274\n\
10275 itype (PLBOOL, input) : true: RGB, false: HLS.\n\
10276\n\
10277 npts (PLINT, input) : number of control points\n\
10278\n\
10279 intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n\
10280 intensity index (0.0-1.0) in ascending order for each control\n\
10281 point.\n\
10282\n\
10283 coord1 (PLFLT_VECTOR, input) : A vector containing the first\n\
10284 coordinate (H or R) for each control point.\n\
10285\n\
10286 coord2 (PLFLT_VECTOR, input) : A vector containing the second\n\
10287 coordinate (L or G) for each control point.\n\
10288\n\
10289 coord3 (PLFLT_VECTOR, input) : A vector containing the third\n\
10290 coordinate (S or B) for each control point.\n\
10291\n\
10292 alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n\
10293 npts - 1 elements), each containing either true to use the reversed\n\
10294 HLS interpolation or false to use the regular HLS interpolation.\n\
10295 (alt_hue_path[i] refers to the interpolation interval between the\n\
10296 i and i + 1 control points). This parameter is not used for RGB\n\
10297 colors (\n\
10298 itype = true).\n\
10299";
10300static const char* _wrap_plshade_texinfo = "-*- texinfo -*-\n\
10301Shade individual region on the basis of value\n\
10302\n\
10303DESCRIPTION:\n\
10304\n\
10305 Shade individual region on the basis of value. Use plshades if you\n\
10306 want to shade a number of contiguous regions using continuous colors.\n\
10307 In particular the edge contours are treated properly in plshades. If\n\
10308 you attempt to do contiguous regions with plshade the contours at the\n\
10309 edge of the shade are partially obliterated by subsequent plots of\n\
10310 contiguous shaded regions.\n\
10311\n\
10312 Redacted form: General: plshade(a, defined, xmin, xmax, ymin, ymax,\n\
10313 shade_min, shade_max, sh_cmap, sh_color, sh_width, min_color,\n\
10314 min_width, max_color, max_width, fill, rectangular, pltr, pltr_data)\n\
10315\n\
10316\n\
10317 This function is used in example 15.\n\
10318\n\
10319\n\
10320\n\
10321SYNOPSIS:\n\
10322\n\
10323plshade(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\
10324\n\
10325ARGUMENTS:\n\
10326\n\
10327 a (PLFLT_MATRIX, input) : A matrix containing function values to\n\
10328 plot. Should have dimensions of\n\
10329 nx by\n\
10330 ny.\n\
10331\n\
10332 nx (PLINT, input) : First dimension of the matrix \"a\".\n\
10333\n\
10334 ny (PLINT, input) : Second dimension of the matrix \"a\".\n\
10335\n\
10336 defined (PLDEFINED_callback, input) : Callback function specifying\n\
10337 the region that should be plotted in the shade plot. This\n\
10338 function accepts x and y coordinates as input arguments and must\n\
10339 return 1 if the point is to be included in the shade plot and 0\n\
10340 otherwise. If you want to plot the entire shade plot (the usual\n\
10341 case), this argument should be set to NULL.\n\
10342\n\
10343 xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n\
10344 pltr below for how these arguments are used (only for the special case\n\
10345 when the callback function\n\
10346 pltr is not supplied).\n\
10347\n\
10348 shade_min (PLFLT, input) : Defines the lower end of the interval to\n\
10349 be shaded. If shade_max <= shade_min, plshade does nothing.\n\
10350\n\
10351 shade_max (PLFLT, input) : Defines the upper end of the interval to\n\
10352 be shaded. If shade_max <= shade_min, plshade does nothing.\n\
10353\n\
10354 sh_cmap (PLINT, input) : Defines color map. If sh_cmap=0, then\n\
10355 sh_color is interpreted as a cmap0 (integer) index. If sh_cmap=1,\n\
10356 then sh_color is interpreted as a cmap1 argument in the range\n\
10357 (0.0-1.0).\n\
10358\n\
10359 sh_color (PLFLT, input) : Defines color map index with integer\n\
10360 value if cmap0 or value in range (0.0-1.0) if cmap1.\n\
10361\n\
10362 sh_width (PLFLT, input) : Defines width used by the fill pattern.\n\
10363\n\
10364 min_color (PLINT, input) : Defines pen color, width used by the\n\
10365 boundary of shaded region. The min values are used for the\n\
10366 shade_min boundary, and the max values are used on the shade_max\n\
10367 boundary. Set color and width to zero for no plotted boundaries.\n\
10368\n\
10369 min_width (PLFLT, input) : Defines pen color, width used by the\n\
10370 boundary of shaded region. The min values are used for the\n\
10371 shade_min boundary, and the max values are used on the shade_max\n\
10372 boundary. Set color and width to zero for no plotted boundaries.\n\
10373\n\
10374 max_color (PLINT, input) : Defines pen color, width used by the\n\
10375 boundary of shaded region. The min values are used for the\n\
10376 shade_min boundary, and the max values are used on the shade_max\n\
10377 boundary. Set color and width to zero for no plotted boundaries.\n\
10378\n\
10379 max_width (PLFLT, input) : Defines pen color, width used by the\n\
10380 boundary of shaded region. The min values are used for the\n\
10381 shade_min boundary, and the max values are used on the shade_max\n\
10382 boundary. Set color and width to zero for no plotted boundaries.\n\
10383\n\
10384 fill (PLFILL_callback, input) : Routine used to fill the region.\n\
10385 Use plfill. Future version of PLplot may have other fill\n\
10386 routines.\n\
10387\n\
10388 rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n\
10389 map to rectangles after coordinate transformation with pltrl.\n\
10390 Otherwise, set rectangular to false. If rectangular is set to\n\
10391 true, plshade tries to save time by filling large rectangles.\n\
10392 This optimization fails if the coordinate transformation distorts\n\
10393 the shape of rectangles. For example a plot in polar coordinates\n\
10394 has to have rectangular set to false.\n\
10395\n\
10396 pltr (PLTRANSFORM_callback, input) : A callback function that\n\
10397 defines the transformation between the zero-based indices of the\n\
10398 matrix a and world coordinates. If\n\
10399 pltr is not supplied (e.g., is set to NULL in the C case), then the x\n\
10400 indices of a are mapped to the range\n\
10401 xmin through\n\
10402 xmax and the y indices of a are mapped to the range\n\
10403 ymin through\n\
10404 ymax.For the C case, transformation functions are provided in the\n\
10405 PLplot library: pltr0 for the identity mapping, and pltr1 and\n\
10406 pltr2 for arbitrary mappings respectively defined by vectors and\n\
10407 matrices. In addition, C callback routines for the transformation\n\
10408 can be supplied by the user such as the mypltr function in\n\
10409 examples/c/x09c.c which provides a general linear transformation\n\
10410 between index coordinates and world coordinates.For languages\n\
10411 other than C you should consult the PLplot documentation for the\n\
10412 details concerning how PLTRANSFORM_callback arguments are\n\
10413 interfaced. However, in general, a particular pattern of\n\
10414 callback-associated arguments such as a tr vector with 6 elements;\n\
10415 xg and yg vectors; or xg and yg matrices are respectively\n\
10416 interfaced to a linear-transformation routine similar to the above\n\
10417 mypltr function; pltr1; and pltr2. Furthermore, some of our more\n\
10418 sophisticated bindings (see, e.g., the PLplot documentation)\n\
10419 support native language callbacks for handling index to\n\
10420 world-coordinate transformations. Examples of these various\n\
10421 approaches are given in examples/<language>x09*,\n\
10422 examples/<language>x16*, examples/<language>x20*,\n\
10423 examples/<language>x21*, and examples/<language>x22*, for all our\n\
10424 supported languages.\n\
10425\n\
10426 pltr_data (PLPointer, input) : Extra parameter to help pass\n\
10427 information to pltr0, pltr1, pltr2, or whatever routine that is\n\
10428 externally supplied.\n\
10429";
10430static const char* _wrap_plscmap1n_texinfo = "-*- texinfo -*-\n\
10431Set number of colors in cmap1\n\
10432\n\
10433DESCRIPTION:\n\
10434\n\
10435 Set number of colors in cmap1, (re-)allocate cmap1, and set default\n\
10436 values if this is the first allocation (see the PLplot documentation).\n\
10437\n\
10438 Redacted form: plscmap1n(ncol1)\n\
10439\n\
10440 This function is used in examples 8, 11, 20, and 21.\n\
10441\n\
10442\n\
10443\n\
10444SYNOPSIS:\n\
10445\n\
10446plscmap1n(ncol1)\n\
10447\n\
10448ARGUMENTS:\n\
10449\n\
10450 ncol1 (PLINT, input) : Number of colors that will be allocated in\n\
10451 the cmap1 palette. If this number is zero or less, then the value\n\
10452 from the previous call to plscmap1n is used and if there is no\n\
10453 previous call, then a default value is used.\n\
10454";
10455static const char* _wrap_plfamadv_texinfo = "-*- texinfo -*-\n\
10456Advance to the next family file on the next new page\n\
10457\n\
10458DESCRIPTION:\n\
10459\n\
10460 Advance to the next family file on the next new page.\n\
10461\n\
10462 Redacted form: plfamadv()\n\
10463\n\
10464 This function is not used in any examples.\n\
10465\n\
10466\n\
10467\n\
10468SYNOPSIS:\n\
10469\n\
10470plfamadv()\n\
10471";
10472static const char* _wrap_plsesc_texinfo = "-*- texinfo -*-\n\
10473Set the escape character for text strings\n\
10474\n\
10475DESCRIPTION:\n\
10476\n\
10477 Set the escape character for text strings. From C (in contrast to\n\
10478 Fortran, see plsescfortran) you pass esc as a character. Only selected\n\
10479 characters are allowed to prevent the user from shooting himself in\n\
10480 the foot (For example, a \\ isn\'t allowed since it conflicts with C\'s\n\
10481 use of backslash as a character escape). Here are the allowed escape\n\
10482 characters and their corresponding decimal ASCII values: !, ASCII 33\n\
10483 #, ASCII 35\n\
10484 $, ASCII 36\n\
10485 %, ASCII 37\n\
10486 &, ASCII 38\n\
10487 *, ASCII 42\n\
10488 @, ASCII 64\n\
10489 ^, ASCII 94\n\
10490 ~, ASCII 126\n\
10491\n\
10492\n\
10493 Redacted form: General: plsesc(esc)\n\
10494\n\
10495\n\
10496 This function is used in example 29.\n\
10497\n\
10498\n\
10499\n\
10500SYNOPSIS:\n\
10501\n\
10502plsesc(esc)\n\
10503\n\
10504ARGUMENTS:\n\
10505\n\
10506 esc (char, input) : Escape character.\n\
10507";
10508static const char* _wrap_plcolorbar_texinfo = "-*- texinfo -*-\n\
10509Plot color bar for image, shade or gradient plots\n\
10510\n\
10511DESCRIPTION:\n\
10512\n\
10513 Routine for creating a continuous color bar for image, shade, or\n\
10514 gradient plots. (See pllegend for similar functionality for creating\n\
10515 legends with discrete elements). The arguments of plcolorbar provide\n\
10516 control over the location and size of the color bar as well as the\n\
10517 location and characteristics of the elements (most of which are\n\
10518 optional) within that color bar. The resulting color bar is clipped\n\
10519 at the boundaries of the current subpage. (N.B. the adopted coordinate\n\
10520 system used for some of the parameters is defined in the documentation\n\
10521 of the position parameter.)\n\
10522\n\
10523 Redacted form: plcolorbar(p_colorbar_width, p_colorbar_height, opt,\n\
10524 position, x, y, x_length, y_length, bg_color, bb_color, bb_style,\n\
10525 low_cap_color, high_cap_color, cont_color, cont_width, label_opts,\n\
10526 labels, axis_opts, ticks, sub_ticks, values)\n\
10527\n\
10528 This function is used in examples 16 and 33.\n\
10529\n\
10530\n\
10531\n\
10532SYNOPSIS:\n\
10533\n\
10534plcolorbar(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\
10535\n\
10536ARGUMENTS:\n\
10537\n\
10538 p_colorbar_width (PLFLT_NC_SCALAR, output) : Returned value of the\n\
10539 labelled and decorated color bar width in adopted coordinates.\n\
10540\n\
10541 p_colorbar_height (PLFLT_NC_SCALAR, output) : Returned value of the\n\
10542 labelled and decorated color bar height in adopted coordinates.\n\
10543\n\
10544 opt (PLINT, input) : opt contains bits controlling the overall\n\
10545 color bar. The orientation (direction of the maximum value) of\n\
10546 the color bar is specified with PL_ORIENT_RIGHT, PL_ORIENT_TOP,\n\
10547 PL_ORIENT_LEFT, or PL_ORIENT_BOTTOM. If none of these bits are\n\
10548 specified, the default orientation is toward the top if the\n\
10549 colorbar is placed on the left or right of the viewport or toward\n\
10550 the right if the colorbar is placed on the top or bottom of the\n\
10551 viewport. If the PL_COLORBAR_BACKGROUND bit is set, plot a\n\
10552 (semitransparent) background for the color bar. If the\n\
10553 PL_COLORBAR_BOUNDING_BOX bit is set, plot a bounding box for the\n\
10554 color bar. The type of color bar must be specified with one of\n\
10555 PL_COLORBAR_IMAGE, PL_COLORBAR_SHADE, or PL_COLORBAR_GRADIENT. If\n\
10556 more than one of those bits is set only the first one in the above\n\
10557 list is honored. The position of the (optional) label/title can be\n\
10558 specified with PL_LABEL_RIGHT, PL_LABEL_TOP, PL_LABEL_LEFT, or\n\
10559 PL_LABEL_BOTTOM. If no label position bit is set then no label\n\
10560 will be drawn. If more than one of this list of bits is specified,\n\
10561 only the first one on the list is honored. End-caps for the color\n\
10562 bar can added with PL_COLORBAR_CAP_LOW and PL_COLORBAR_CAP_HIGH.\n\
10563 If a particular color bar cap option is not specified then no cap\n\
10564 will be drawn for that end. As a special case for\n\
10565 PL_COLORBAR_SHADE, the option PL_COLORBAR_SHADE_LABEL can be\n\
10566 specified. If this option is provided then any tick marks and tick\n\
10567 labels will be placed at the breaks between shaded segments. TODO:\n\
10568 This should be expanded to support custom placement of tick marks\n\
10569 and tick labels at custom value locations for any color bar type.\n\
10570\n\
10571 position (PLINT, input) : position contains bits which control the\n\
10572 overall position of the color bar and the definition of the\n\
10573 adopted coordinates used for positions just like what is done for\n\
10574 the position argument for pllegend. However, note that the\n\
10575 defaults for the position bits (see below) are different than the\n\
10576 pllegend case. The combination of the PL_POSITION_LEFT,\n\
10577 PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n\
10578 PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n\
10579 the 16 possible standard positions (the 4 corners and centers of\n\
10580 the 4 sides for both the inside and outside cases) of the color\n\
10581 bar relative to the adopted coordinate system. The corner\n\
10582 positions are specified by the appropriate combination of two of\n\
10583 the PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n\
10584 PL_POSITION_BOTTOM bits while the sides are specified by a single\n\
10585 value of one of those bits. The adopted coordinates are\n\
10586 normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n\
10587 set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n\
10588 bit is set. Default position bits: If none of PL_POSITION_LEFT,\n\
10589 PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n\
10590 then use PL_POSITION_RIGHT. If neither of PL_POSITION_INSIDE or\n\
10591 PL_POSITION_OUTSIDE is set, use PL_POSITION_OUTSIDE. If neither of\n\
10592 PL_POSITION_VIEWPORT or PL_POSITION_SUBPAGE is set, use\n\
10593 PL_POSITION_VIEWPORT.\n\
10594\n\
10595 x (PLFLT, input) : X offset of the color bar position in adopted\n\
10596 coordinates from the specified standard position of the color bar.\n\
10597 For positive x, the direction of motion away from the standard\n\
10598 position is inward/outward from the standard corner positions or\n\
10599 standard left or right positions if the\n\
10600 PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n\
10601 For the standard top or bottom positions, the direction of motion\n\
10602 is toward positive X.\n\
10603\n\
10604 y (PLFLT, input) : Y offset of the color bar position in adopted\n\
10605 coordinates from the specified standard position of the color bar.\n\
10606 For positive y, the direction of motion away from the standard\n\
10607 position is inward/outward from the standard corner positions or\n\
10608 standard top or bottom positions if the\n\
10609 PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n\
10610 For the standard left or right positions, the direction of motion\n\
10611 is toward positive Y.\n\
10612\n\
10613 x_length (PLFLT, input) : Length of the body of the color bar in\n\
10614 the X direction in adopted coordinates.\n\
10615\n\
10616 y_length (PLFLT, input) : Length of the body of the color bar in\n\
10617 the Y direction in adopted coordinates.\n\
10618\n\
10619 bg_color (PLINT, input) : The cmap0 color of the background for the\n\
10620 color bar (PL_COLORBAR_BACKGROUND).\n\
10621\n\
10622 bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n\
10623 for the color bar (PL_COLORBAR_BOUNDING_BOX).\n\
10624\n\
10625 bb_style (PLINT, input) : The pllsty style number for the\n\
10626 bounding-box line for the color bar (PL_COLORBAR_BACKGROUND).\n\
10627\n\
10628 low_cap_color (PLFLT, input) : The cmap1 color of the low-end color\n\
10629 bar cap, if it is drawn (PL_COLORBAR_CAP_LOW).\n\
10630\n\
10631 high_cap_color (PLFLT, input) : The cmap1 color of the high-end\n\
10632 color bar cap, if it is drawn (PL_COLORBAR_CAP_HIGH).\n\
10633\n\
10634 cont_color (PLINT, input) : The cmap0 contour color for\n\
10635 PL_COLORBAR_SHADE plots. This is passed directly to plshades, so\n\
10636 it will be interpreted according to the design of plshades.\n\
10637\n\
10638 cont_width (PLFLT, input) : Contour width for PL_COLORBAR_SHADE\n\
10639 plots. This is passed directly to plshades, so it will be\n\
10640 interpreted according to the design of plshades.\n\
10641\n\
10642 n_labels (PLINT, input) : Number of labels to place around the\n\
10643 color bar.\n\
10644\n\
10645 label_opts (PLINT_VECTOR, input) : A vector of options for each of\n\
10646 n_labels labels.\n\
10647\n\
10648 labels (PLCHAR_MATRIX, input) : A vector of\n\
10649 n_labels UTF-8 character strings containing the labels for the color\n\
10650 bar. Ignored if no label position is specified with one of the\n\
10651 PL_COLORBAR_LABEL_RIGHT, PL_COLORBAR_LABEL_TOP,\n\
10652 PL_COLORBAR_LABEL_LEFT, or PL_COLORBAR_LABEL_BOTTOM bits in the\n\
10653 corresponding label_opts field.\n\
10654\n\
10655 n_axes (PLINT, input) : Number of axis definitions provided. This\n\
10656 value must be greater than 0. It is typically 1 (numerical axis\n\
10657 labels are provided for one of the long edges of the color bar),\n\
10658 but it can be larger if multiple numerical axis labels for the\n\
10659 long edges of the color bar are desired.\n\
10660\n\
10661 axis_opts (PLCHAR_MATRIX, input) : A vector of\n\
10662 n_axes ascii character strings containing options (interpreted as for\n\
10663 plbox) for the color bar\'s axis definitions.\n\
10664\n\
10665 ticks (PLFLT_VECTOR, input) : A vector of n_axes values of the\n\
10666 spacing of the major tick marks (interpreted as for plbox) for the\n\
10667 color bar\'s axis definitions.\n\
10668\n\
10669 sub_ticks (PLINT_VECTOR, input) : A vector of n_axes values of the\n\
10670 number of subticks (interpreted as for plbox) for the color bar\'s\n\
10671 axis definitions.\n\
10672\n\
10673 n_values (PLINT_VECTOR, input) : A vector containing the number of\n\
10674 elements in each of the n_axes rows of the values matrix.\n\
10675\n\
10676 values (PLFLT_MATRIX, input) : A matrix containing the numeric\n\
10677 values for the data range represented by the color bar. For a row\n\
10678 index of i_axis (where 0 < i_axis < n_axes), the number of\n\
10679 elements in the row is specified by n_values[i_axis]. For\n\
10680 PL_COLORBAR_IMAGE and PL_COLORBAR_GRADIENT the number of elements\n\
10681 is 2, and the corresponding row elements of the values matrix are\n\
10682 the minimum and maximum value represented by the colorbar. For\n\
10683 PL_COLORBAR_SHADE, the number and values of the elements of a row\n\
10684 of the values matrix is interpreted the same as the nlevel and\n\
10685 clevel arguments of plshades.\n\
10686";
10687static const char* _wrap_plsstrm_texinfo = "-*- texinfo -*-\n\
10688Set current output stream\n\
10689\n\
10690DESCRIPTION:\n\
10691\n\
10692 Sets the number of the current output stream. The stream number\n\
10693 defaults to 0 unless changed by this routine. The first use of this\n\
10694 routine must be followed by a call initializing PLplot (e.g. plstar).\n\
10695\n\
10696 Redacted form: plsstrm(strm)\n\
10697\n\
10698 This function is examples 1,14,20.\n\
10699\n\
10700\n\
10701\n\
10702SYNOPSIS:\n\
10703\n\
10704plsstrm(strm)\n\
10705\n\
10706ARGUMENTS:\n\
10707\n\
10708 strm (PLINT, input) : The current stream number.\n\
10709";
10710static const char* _wrap_plgcompression_texinfo = "-*- texinfo -*-\n\
10711Get the current device-compression setting\n\
10712\n\
10713DESCRIPTION:\n\
10714\n\
10715 Get the current device-compression setting. This parameter is only\n\
10716 used for drivers that provide compression.\n\
10717\n\
10718 Redacted form: plgcompression(compression)\n\
10719\n\
10720 This function is used in example 31.\n\
10721\n\
10722\n\
10723\n\
10724SYNOPSIS:\n\
10725\n\
10726plgcompression(compression)\n\
10727\n\
10728ARGUMENTS:\n\
10729\n\
10730 compression (PLINT_NC_SCALAR, output) : Returned value of the\n\
10731 compression setting for the current device.\n\
10732";
10733static const char* _wrap_plgriddata_texinfo = "-*- texinfo -*-\n\
10734Grid data from irregularly sampled data\n\
10735\n\
10736DESCRIPTION:\n\
10737\n\
10738 Real world data is frequently irregularly sampled, but PLplot 3D plots\n\
10739 require data organized as a grid, i.e., with x sample point values\n\
10740 independent of y coordinate and vice versa. This function takes\n\
10741 irregularly sampled data from the x[npts], y[npts], and z[npts]\n\
10742 vectors; reads the desired grid location from the input vectors\n\
10743 xg[nptsx] and yg[nptsy]; and returns the interpolated result on that\n\
10744 grid using the output matrix zg[nptsx][nptsy]. The algorithm used to\n\
10745 interpolate the data to the grid is specified with the argument type\n\
10746 which can have one parameter specified in argument data.\n\
10747\n\
10748 Redacted form: General: plgriddata(x, y, z, xg, yg, zg, type, data)\n\
10749 Python: zg=plgriddata(x, y, z, xg, yg, type, data)\n\
10750\n\
10751\n\
10752 This function is used in example 21.\n\
10753\n\
10754\n\
10755\n\
10756SYNOPSIS:\n\
10757\n\
10758plgriddata(x, y, z, npts, xg, nptsx, yg, nptsy, zg, type, data)\n\
10759\n\
10760ARGUMENTS:\n\
10761\n\
10762 x (PLFLT_VECTOR, input) : The input x vector.\n\
10763\n\
10764 y (PLFLT_VECTOR, input) : The input y vector.\n\
10765\n\
10766 z (PLFLT_VECTOR, input) : The input z vector. Each triple x[i],\n\
10767 y[i], z[i] represents one data sample coordinate.\n\
10768\n\
10769 npts (PLINT, input) : The number of data samples in the x, y and z\n\
10770 vectors.\n\
10771\n\
10772 xg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n\
10773 in the x direction. Usually xg has nptsx equally spaced values\n\
10774 from the minimum to the maximum values of the x input vector.\n\
10775\n\
10776 nptsx (PLINT, input) : The number of points in the xg vector.\n\
10777\n\
10778 yg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n\
10779 in the y direction. Similar to the xg parameter.\n\
10780\n\
10781 nptsy (PLINT, input) : The number of points in the yg vector.\n\
10782\n\
10783 zg (PLFLT_NC_MATRIX, output) : The matrix of interpolated results\n\
10784 where data lies in the grid specified by xg and yg. Therefore the\n\
10785 zg matrix must be dimensioned\n\
10786 nptsx by\n\
10787 nptsy.\n\
10788\n\
10789 type (PLINT, input) : The type of grid interpolation algorithm to\n\
10790 use, which can be: GRID_CSA: Bivariate Cubic Spline approximation\n\
10791 GRID_DTLI: Delaunay Triangulation Linear Interpolation\n\
10792 GRID_NNI: Natural Neighbors Interpolation\n\
10793 GRID_NNIDW: Nearest Neighbors Inverse Distance Weighted\n\
10794 GRID_NNLI: Nearest Neighbors Linear Interpolation\n\
10795 GRID_NNAIDW: Nearest Neighbors Around Inverse Distance\n\
10796 Weighted\n\
10797 For details of the algorithms read the source file plgridd.c.\n\
10798\n\
10799 data (PLFLT, input) : Some gridding algorithms require extra data,\n\
10800 which can be specified through this argument. Currently, for\n\
10801 algorithm: GRID_NNIDW, data specifies the number of neighbors to\n\
10802 use, the lower the value, the noisier (more local) the\n\
10803 approximation is.\n\
10804 GRID_NNLI, data specifies what a thin triangle is, in the\n\
10805 range [1. .. 2.]. High values enable the usage of very thin\n\
10806 triangles for interpolation, possibly resulting in error in\n\
10807 the approximation.\n\
10808 GRID_NNI, only weights greater than data will be accepted. If\n\
10809 0, all weights will be accepted.\n\
10810";
10811
10812SWIG_DEFUN( testppchar, _wrap_testppchar, std::string() ) {
10813 PLINT arg1 ;
10814 PLINT *arg2 = 0 ;
10815 char **arg3 = 0 ;
10816 Matrix temp1 ;
10817 octave_value_list _out;
10818 octave_value_list *_outp=&_out;
10819 octave_value _outv;
10820
10821 try {
10822 if (!SWIG_check_num_args("testppchar",args.length(),2,2,0)) {
10823 SWIG_fail;
10824 }
10825 {
10826 if ( _n_dims( args(0) ) > 1 )
10827 {
10828 error( "argument must be a scalar or vector" ); SWIG_fail;
10829 }
10830 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
10831 arg2 = new PLINT[Alen];
10832 temp1 = args(0).matrix_value();
10833 _cvt_double_to( arg2, &temp1( 0, 0 ), Alen );
10834 }
10835 {
10836 charMatrix temp_matrix;
10837 Cell temp_cell;
10838 char *tmp_cstring;
10839 std::string str;
10840 size_t max_length = 0, non_blank_length;
10841 int i, ifcell;
10842 if ( _n_dims( args(1) ) > 2 )
10843 {
10844 error( "argument must be a scalar or vector or matrix" ); SWIG_fail;
10845 }
10846#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
10847 if ( !args(1).isempty() )
10848#else
10849 if ( !args(1).is_empty() )
10850#endif
10851 {
10852 if ( _dim( args(1), 0 ) != Alen )
10853 {
10854 error( "first dimension must be same length as previous vector" ); SWIG_fail;
10855 }
10856 arg3 = new char*[Alen];
10857#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
10858 ifcell = args(1).iscell();
10859#else
10860 ifcell = args(1).is_cell();
10861#endif
10862 if ( ifcell )
10863 {
10864 temp_cell = args(1).cell_value();
10865 }
10866 else
10867 {
10868 temp_matrix = args(1).char_matrix_value();
10869 // Allow one extra space for null termination.
10870 max_length = _dim( args(1), 1 ) + 1;
10871 }
10872
10873 for ( i = 0; i < Alen; i++ )
10874 {
10875 // Must copy string to "permanent" location because the string
10876 // location corresponding to tmp_cstring gets
10877 // overwritten for each iteration of loop.
10878 if ( ifcell )
10879 {
10880 if ( temp_cell.elem( i ).is_string() )
10881 {
10882 str = temp_cell.elem( i ).string_value();
10883 // leave room for null termination.
10884 max_length = str.size() + 1;
10885 tmp_cstring = (char *) str.c_str();
10886 }
10887 else
10888 {
10889 // Use null string if user attempts to pass a cell array
10890 // with a non-string element (likely an empty element
10891 // since that should be allowed by the PLplot interface
10892 // if that element is going to be unused).
10893 // leave room for null termination.
10894 max_length = 1;
10895 tmp_cstring = (char *) "";
10896 }
10897 }
10898 else
10899 {
10900 str = temp_matrix.row_as_string( i );
10901 tmp_cstring = (char *) str.c_str();
10902 }
10903 arg3[i] = new char[max_length];
10904 strncpy( arg3[i], tmp_cstring, max_length - 1 );
10905 arg3[i][max_length - 1] = '\0';
10906 // All the trailing blank crapola should not be needed for
10907 // string cell arrays.
10908 if ( !ifcell )
10909 {
10910 // remove trailing-blank padding that is used by the
10911 // charMatrix class to insure all strings in a given
10912 // charMatrix instance have the same length.
10913 // This transformation also removes legitimate trailing
10914 // blanks but there is nothing we can do about that
10915 // for the charMatrix class.
10916
10917 // Look for trailing nulls first (just in case, although that
10918 // shouldn't happen if charMatrix implemented as documented)
10919 // before looking for trailing blanks.
10920 non_blank_length = max_length - 2;
10921 while ( non_blank_length >= 0 && arg3[i][non_blank_length] == '\0' )
10922 {
10923 non_blank_length--;
10924 }
10925 while ( non_blank_length >= 0 && arg3[i][non_blank_length] == ' ' )
10926 {
10927 non_blank_length--;
10928 }
10929 arg3[i][non_blank_length + 1] = '\0';
10930 }
10931 }
10932 }
10933 else
10934 {
10935 arg3 = NULL;
10936 }
10937 }
10938 testppchar(arg1,(int const *)arg2,(char const **)arg3);
10939 _outv = octave_value();
10940 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
10941 {
10942 delete [] arg2;
10943 }
10944 {
10945 int i;
10946 if ( arg3 != NULL )
10947 {
10948 for ( i = 0; i < Alen; i++ )
10949 {
10950 delete[] arg3[i];
10951 }
10952 delete[] arg3;
10953 }
10954 }
10955 return _out;
10956 fail:
10957 {
10958 delete [] arg2;
10959 }
10960 {
10961 int i;
10962 if ( arg3 != NULL )
10963 {
10964 for ( i = 0; i < Alen; i++ )
10965 {
10966 delete[] arg3[i];
10967 }
10968 delete[] arg3;
10969 }
10970 }
10971 return octave_value_list();
10972 }
10973 catch(...) {
10974 {
10975 delete [] arg2;
10976 }
10977 {
10978 int i;
10979 if ( arg3 != NULL )
10980 {
10981 for ( i = 0; i < Alen; i++ )
10982 {
10983 delete[] arg3[i];
10984 }
10985 delete[] arg3;
10986 }
10987 }
10988 throw;
10989 }
10990}
10991
10992
10994 int *arg1 = 0 ;
10995 int *arg2 = 0 ;
10996 int *arg3 = 0 ;
10997 char *arg4 = 0 ;
10998 int *arg5 = 0 ;
10999 int *arg6 = 0 ;
11000 PLFLT *arg7 = 0 ;
11001 PLFLT *arg8 = 0 ;
11002 PLFLT *arg9 = 0 ;
11003 PLFLT *arg10 = 0 ;
11004 int *arg11 = 0 ;
11005 int temp1 ;
11006 int res1 = SWIG_TMPOBJ ;
11007 int temp2 ;
11008 int res2 = SWIG_TMPOBJ ;
11009 int temp3 ;
11010 int res3 = SWIG_TMPOBJ ;
11011 char local_string4[80] ;
11012 int temp5 ;
11013 int res5 = SWIG_TMPOBJ ;
11014 int temp6 ;
11015 int res6 = SWIG_TMPOBJ ;
11016 PLFLT temp7 ;
11017 int res7 = SWIG_TMPOBJ ;
11018 PLFLT temp8 ;
11019 int res8 = SWIG_TMPOBJ ;
11020 PLFLT temp9 ;
11021 int res9 = SWIG_TMPOBJ ;
11022 PLFLT temp10 ;
11023 int res10 = SWIG_TMPOBJ ;
11024 int temp11 ;
11025 int res11 = SWIG_TMPOBJ ;
11026 size_t local_string_length4 ;
11027 charMatrix local_charMatrix4 ;
11028 octave_value_list retval4 ;
11029 octave_value_list _out;
11030 octave_value_list *_outp=&_out;
11031 octave_value _outv;
11032 int result;
11033
11034 try {
11035 arg1 = &temp1;
11036 arg2 = &temp2;
11037 arg3 = &temp3;
11038 {
11039 arg4 = local_string4;
11040 }
11041 arg5 = &temp5;
11042 arg6 = &temp6;
11043 arg7 = &temp7;
11044 arg8 = &temp8;
11045 arg9 = &temp9;
11046 arg10 = &temp10;
11047 arg11 = &temp11;
11048 if (!SWIG_check_num_args("plGetCursor",args.length(),0,0,0)) {
11049 SWIG_fail;
11050 }
11051 result = (int)my_plGetCursor(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
11052 _outv = SWIG_From_int(static_cast< int >(result));
11053 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11054 if (SWIG_IsTmpObj(res1)) {
11055 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
11056 } else {
11057 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11058 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
11059 }
11060 if (SWIG_IsTmpObj(res2)) {
11061 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
11062 } else {
11063 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11064 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
11065 }
11066 if (SWIG_IsTmpObj(res3)) {
11067 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
11068 } else {
11069 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11070 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
11071 }
11072 {
11073 local_string_length4 = strlen( local_string4 );
11074 local_charMatrix4 = charMatrix( 1, local_string_length4 );
11075 local_charMatrix4.insert( local_string4, 0, 0 );
11076 retval4( 0 ) = octave_value( local_charMatrix4 );
11077 _outp = SWIG_Octave_AppendOutput(_outp, retval4( 0 ));
11078 }
11079 if (SWIG_IsTmpObj(res5)) {
11080 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg5)));
11081 } else {
11082 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11083 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
11084 }
11085 if (SWIG_IsTmpObj(res6)) {
11086 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg6)));
11087 } else {
11088 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11089 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, new_flags));
11090 }
11091 if (SWIG_IsTmpObj(res7)) {
11092 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg7)));
11093 } else {
11094 int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11095 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_double, new_flags));
11096 }
11097 if (SWIG_IsTmpObj(res8)) {
11098 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg8)));
11099 } else {
11100 int new_flags = SWIG_IsNewObj(res8) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11101 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg8), SWIGTYPE_p_double, new_flags));
11102 }
11103 if (SWIG_IsTmpObj(res9)) {
11104 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg9)));
11105 } else {
11106 int new_flags = SWIG_IsNewObj(res9) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11107 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg9), SWIGTYPE_p_double, new_flags));
11108 }
11109 if (SWIG_IsTmpObj(res10)) {
11110 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg10)));
11111 } else {
11112 int new_flags = SWIG_IsNewObj(res10) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11113 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg10), SWIGTYPE_p_double, new_flags));
11114 }
11115 if (SWIG_IsTmpObj(res11)) {
11116 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg11)));
11117 } else {
11118 int new_flags = SWIG_IsNewObj(res11) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11119 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg11), SWIGTYPE_p_int, new_flags));
11120 }
11121 return _out;
11122 fail:
11123 return octave_value_list();
11124 }
11125 catch(...) {
11126 throw;
11127 }
11128}
11129
11130
11131SWIG_DEFUN( plTranslateCursor, _wrap_plTranslateCursor, std::string() ) {
11132 PLFLT *arg1 = 0 ;
11133 PLFLT *arg2 = 0 ;
11134 PLFLT arg3 ;
11135 PLFLT arg4 ;
11136 PLFLT temp1 ;
11137 int res1 = SWIG_TMPOBJ ;
11138 PLFLT temp2 ;
11139 int res2 = SWIG_TMPOBJ ;
11140 double val3 ;
11141 int ecode3 = 0 ;
11142 double val4 ;
11143 int ecode4 = 0 ;
11144 octave_value_list _out;
11145 octave_value_list *_outp=&_out;
11146 octave_value _outv;
11147 int result;
11148
11149 try {
11150 arg1 = &temp1;
11151 arg2 = &temp2;
11152 if (!SWIG_check_num_args("plTranslateCursor",args.length(),2,2,0)) {
11153 SWIG_fail;
11154 }
11155 ecode3 = SWIG_AsVal_double(args(0), &val3);
11156 if (!SWIG_IsOK(ecode3)) {
11157 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plTranslateCursor" "', argument " "3"" of type '" "PLFLT""'");
11158 }
11159 arg3 = static_cast< PLFLT >(val3);
11160 ecode4 = SWIG_AsVal_double(args(1), &val4);
11161 if (!SWIG_IsOK(ecode4)) {
11162 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plTranslateCursor" "', argument " "4"" of type '" "PLFLT""'");
11163 }
11164 arg4 = static_cast< PLFLT >(val4);
11165 result = (int)my_plTranslateCursor(arg1,arg2,arg3,arg4);
11166 _outv = SWIG_From_int(static_cast< int >(result));
11167 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11168 if (SWIG_IsTmpObj(res1)) {
11169 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
11170 } else {
11171 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11172 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
11173 }
11174 if (SWIG_IsTmpObj(res2)) {
11175 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
11176 } else {
11177 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11178 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
11179 }
11180 return _out;
11181 fail:
11182 return octave_value_list();
11183 }
11184 catch(...) {
11185 throw;
11186 }
11187}
11188
11189
11191 PLINT *arg1 = 0 ;
11192 char *arg2 = 0 ;
11193 char *arg3 = 0 ;
11194 PLFLT arg4 ;
11195 PLFLT arg5 ;
11196 PLFLT arg6 ;
11197 PLFLT arg7 ;
11198 PLFLT arg8 ;
11199 PLFLT arg9 ;
11200 PLFLT arg10 ;
11201 PLBOOL arg11 ;
11202 PLBOOL arg12 ;
11203 PLINT arg13 ;
11204 PLINT arg14 ;
11205 PLINT *arg15 = 0 ;
11206 PLINT *arg16 = 0 ;
11207 char *arg17 = 0 ;
11208 char *arg18 = 0 ;
11209 char *arg19 = 0 ;
11210 char *arg20 = 0 ;
11211 char *arg21 = 0 ;
11212 char *arg22 = 0 ;
11213 char *arg23 = 0 ;
11214 PLINT temp1 ;
11215 int res1 = SWIG_TMPOBJ ;
11216 int res2 ;
11217 char *buf2 = 0 ;
11218 int alloc2 = 0 ;
11219 int res3 ;
11220 char *buf3 = 0 ;
11221 int alloc3 = 0 ;
11222 double val4 ;
11223 int ecode4 = 0 ;
11224 double val5 ;
11225 int ecode5 = 0 ;
11226 double val6 ;
11227 int ecode6 = 0 ;
11228 double val7 ;
11229 int ecode7 = 0 ;
11230 double val8 ;
11231 int ecode8 = 0 ;
11232 double val9 ;
11233 int ecode9 = 0 ;
11234 double val10 ;
11235 int ecode10 = 0 ;
11236 int val11 ;
11237 int ecode11 = 0 ;
11238 int val12 ;
11239 int ecode12 = 0 ;
11240 int val13 ;
11241 int ecode13 = 0 ;
11242 int val14 ;
11243 int ecode14 = 0 ;
11244 Matrix temp15 ;
11245 Matrix temp16 ;
11246 int res17 ;
11247 char *buf17 = 0 ;
11248 int alloc17 = 0 ;
11249 int res18 ;
11250 char *buf18 = 0 ;
11251 int alloc18 = 0 ;
11252 int res19 ;
11253 char *buf19 = 0 ;
11254 int alloc19 = 0 ;
11255 int res20 ;
11256 char *buf20 = 0 ;
11257 int alloc20 = 0 ;
11258 int res21 ;
11259 char *buf21 = 0 ;
11260 int alloc21 = 0 ;
11261 int res22 ;
11262 char *buf22 = 0 ;
11263 int alloc22 = 0 ;
11264 int res23 ;
11265 char *buf23 = 0 ;
11266 int alloc23 = 0 ;
11267 octave_value_list _out;
11268 octave_value_list *_outp=&_out;
11269 octave_value _outv;
11270
11271 try {
11272 arg1 = &temp1;
11273 if (!SWIG_check_num_args("plstripc",args.length(),22,22,0)) {
11274 SWIG_fail;
11275 }
11276 res2 = SWIG_AsCharPtrAndSize(args(0), &buf2, NULL, &alloc2);
11277 if (!SWIG_IsOK(res2)) {
11278 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plstripc" "', argument " "2"" of type '" "char const *""'");
11279 }
11280 arg2 = reinterpret_cast< char * >(buf2);
11281 res3 = SWIG_AsCharPtrAndSize(args(1), &buf3, NULL, &alloc3);
11282 if (!SWIG_IsOK(res3)) {
11283 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "plstripc" "', argument " "3"" of type '" "char const *""'");
11284 }
11285 arg3 = reinterpret_cast< char * >(buf3);
11286 ecode4 = SWIG_AsVal_double(args(2), &val4);
11287 if (!SWIG_IsOK(ecode4)) {
11288 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plstripc" "', argument " "4"" of type '" "PLFLT""'");
11289 }
11290 arg4 = static_cast< PLFLT >(val4);
11291 ecode5 = SWIG_AsVal_double(args(3), &val5);
11292 if (!SWIG_IsOK(ecode5)) {
11293 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plstripc" "', argument " "5"" of type '" "PLFLT""'");
11294 }
11295 arg5 = static_cast< PLFLT >(val5);
11296 ecode6 = SWIG_AsVal_double(args(4), &val6);
11297 if (!SWIG_IsOK(ecode6)) {
11298 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plstripc" "', argument " "6"" of type '" "PLFLT""'");
11299 }
11300 arg6 = static_cast< PLFLT >(val6);
11301 ecode7 = SWIG_AsVal_double(args(5), &val7);
11302 if (!SWIG_IsOK(ecode7)) {
11303 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plstripc" "', argument " "7"" of type '" "PLFLT""'");
11304 }
11305 arg7 = static_cast< PLFLT >(val7);
11306 ecode8 = SWIG_AsVal_double(args(6), &val8);
11307 if (!SWIG_IsOK(ecode8)) {
11308 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plstripc" "', argument " "8"" of type '" "PLFLT""'");
11309 }
11310 arg8 = static_cast< PLFLT >(val8);
11311 ecode9 = SWIG_AsVal_double(args(7), &val9);
11312 if (!SWIG_IsOK(ecode9)) {
11313 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plstripc" "', argument " "9"" of type '" "PLFLT""'");
11314 }
11315 arg9 = static_cast< PLFLT >(val9);
11316 ecode10 = SWIG_AsVal_double(args(8), &val10);
11317 if (!SWIG_IsOK(ecode10)) {
11318 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plstripc" "', argument " "10"" of type '" "PLFLT""'");
11319 }
11320 arg10 = static_cast< PLFLT >(val10);
11321 ecode11 = SWIG_AsVal_int(args(9), &val11);
11322 if (!SWIG_IsOK(ecode11)) {
11323 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plstripc" "', argument " "11"" of type '" "PLBOOL""'");
11324 }
11325 arg11 = static_cast< PLBOOL >(val11);
11326 ecode12 = SWIG_AsVal_int(args(10), &val12);
11327 if (!SWIG_IsOK(ecode12)) {
11328 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plstripc" "', argument " "12"" of type '" "PLBOOL""'");
11329 }
11330 arg12 = static_cast< PLBOOL >(val12);
11331 ecode13 = SWIG_AsVal_int(args(11), &val13);
11332 if (!SWIG_IsOK(ecode13)) {
11333 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plstripc" "', argument " "13"" of type '" "PLINT""'");
11334 }
11335 arg13 = static_cast< PLINT >(val13);
11336 ecode14 = SWIG_AsVal_int(args(12), &val14);
11337 if (!SWIG_IsOK(ecode14)) {
11338 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plstripc" "', argument " "14"" of type '" "PLINT""'");
11339 }
11340 arg14 = static_cast< PLINT >(val14);
11341 {
11342 if ( _n_dims( args(13) ) > 1 )
11343 {
11344 error( "argument must be a scalar or vector" ); SWIG_fail;
11345 }
11346 Alen = (PLINT) ( _dim( args(13), 0 ) );
11347 temp15 = args(13).matrix_value();
11348 arg15 = new PLINT[Alen];
11349 _cvt_double_to( arg15, &temp15( 0, 0 ), Alen );
11350 }
11351 {
11352 if ( _n_dims( args(14) ) > 1 )
11353 {
11354 error( "argument must be a scalar or vector" ); SWIG_fail;
11355 }
11356 if ( _dim( args(14), 0 ) != Alen )
11357 {
11358 error( "argument vectors must be same length" ); SWIG_fail;
11359 }
11360 temp16 = args(14).matrix_value();
11361 arg16 = new PLINT[Alen];
11362 _cvt_double_to( arg16, &temp16( 0, 0 ), Alen );
11363 }
11364 res17 = SWIG_AsCharPtrAndSize(args(15), &buf17, NULL, &alloc17);
11365 if (!SWIG_IsOK(res17)) {
11366 SWIG_exception_fail(SWIG_ArgError(res17), "in method '" "plstripc" "', argument " "17"" of type '" "char const *""'");
11367 }
11368 arg17 = reinterpret_cast< char * >(buf17);
11369 res18 = SWIG_AsCharPtrAndSize(args(16), &buf18, NULL, &alloc18);
11370 if (!SWIG_IsOK(res18)) {
11371 SWIG_exception_fail(SWIG_ArgError(res18), "in method '" "plstripc" "', argument " "18"" of type '" "char const *""'");
11372 }
11373 arg18 = reinterpret_cast< char * >(buf18);
11374 res19 = SWIG_AsCharPtrAndSize(args(17), &buf19, NULL, &alloc19);
11375 if (!SWIG_IsOK(res19)) {
11376 SWIG_exception_fail(SWIG_ArgError(res19), "in method '" "plstripc" "', argument " "19"" of type '" "char const *""'");
11377 }
11378 arg19 = reinterpret_cast< char * >(buf19);
11379 res20 = SWIG_AsCharPtrAndSize(args(18), &buf20, NULL, &alloc20);
11380 if (!SWIG_IsOK(res20)) {
11381 SWIG_exception_fail(SWIG_ArgError(res20), "in method '" "plstripc" "', argument " "20"" of type '" "char const *""'");
11382 }
11383 arg20 = reinterpret_cast< char * >(buf20);
11384 res21 = SWIG_AsCharPtrAndSize(args(19), &buf21, NULL, &alloc21);
11385 if (!SWIG_IsOK(res21)) {
11386 SWIG_exception_fail(SWIG_ArgError(res21), "in method '" "plstripc" "', argument " "21"" of type '" "char const *""'");
11387 }
11388 arg21 = reinterpret_cast< char * >(buf21);
11389 res22 = SWIG_AsCharPtrAndSize(args(20), &buf22, NULL, &alloc22);
11390 if (!SWIG_IsOK(res22)) {
11391 SWIG_exception_fail(SWIG_ArgError(res22), "in method '" "plstripc" "', argument " "22"" of type '" "char const *""'");
11392 }
11393 arg22 = reinterpret_cast< char * >(buf22);
11394 res23 = SWIG_AsCharPtrAndSize(args(21), &buf23, NULL, &alloc23);
11395 if (!SWIG_IsOK(res23)) {
11396 SWIG_exception_fail(SWIG_ArgError(res23), "in method '" "plstripc" "', argument " "23"" of type '" "char const *""'");
11397 }
11398 arg23 = reinterpret_cast< char * >(buf23);
11399 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);
11400 _outv = octave_value();
11401 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11402 if (SWIG_IsTmpObj(res1)) {
11403 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
11404 } else {
11405 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11406 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
11407 }
11408 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
11409 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
11410 {
11411 delete [] arg15;
11412 }
11413 {
11414 delete [] arg16;
11415 }
11416 if (alloc17 == SWIG_NEWOBJ) delete[] buf17;
11417 if (alloc18 == SWIG_NEWOBJ) delete[] buf18;
11418 if (alloc19 == SWIG_NEWOBJ) delete[] buf19;
11419 if (alloc20 == SWIG_NEWOBJ) delete[] buf20;
11420 if (alloc21 == SWIG_NEWOBJ) delete[] buf21;
11421 if (alloc22 == SWIG_NEWOBJ) delete[] buf22;
11422 if (alloc23 == SWIG_NEWOBJ) delete[] buf23;
11423 return _out;
11424 fail:
11425 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
11426 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
11427 {
11428 delete [] arg15;
11429 }
11430 {
11431 delete [] arg16;
11432 }
11433 if (alloc17 == SWIG_NEWOBJ) delete[] buf17;
11434 if (alloc18 == SWIG_NEWOBJ) delete[] buf18;
11435 if (alloc19 == SWIG_NEWOBJ) delete[] buf19;
11436 if (alloc20 == SWIG_NEWOBJ) delete[] buf20;
11437 if (alloc21 == SWIG_NEWOBJ) delete[] buf21;
11438 if (alloc22 == SWIG_NEWOBJ) delete[] buf22;
11439 if (alloc23 == SWIG_NEWOBJ) delete[] buf23;
11440 return octave_value_list();
11441 }
11442 catch(...) {
11443 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
11444 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
11445 {
11446 delete [] arg15;
11447 }
11448 {
11449 delete [] arg16;
11450 }
11451 if (alloc17 == SWIG_NEWOBJ) delete[] buf17;
11452 if (alloc18 == SWIG_NEWOBJ) delete[] buf18;
11453 if (alloc19 == SWIG_NEWOBJ) delete[] buf19;
11454 if (alloc20 == SWIG_NEWOBJ) delete[] buf20;
11455 if (alloc21 == SWIG_NEWOBJ) delete[] buf21;
11456 if (alloc22 == SWIG_NEWOBJ) delete[] buf22;
11457 if (alloc23 == SWIG_NEWOBJ) delete[] buf23;
11458 throw;
11459 }
11460}
11461
11462
11464 PLFLT *arg1 = 0 ;
11465 PLINT arg2 ;
11466 PLINT arg3 ;
11467 PLINT arg4 ;
11468 PLINT arg5 ;
11469 PLINT arg6 ;
11470 PLINT arg7 ;
11471 PLFLT *arg8 = 0 ;
11472 PLINT arg9 ;
11473 PLFLT *arg10 = 0 ;
11474 Matrix temp1 ;
11475 int val4 ;
11476 int ecode4 = 0 ;
11477 int val5 ;
11478 int ecode5 = 0 ;
11479 int val6 ;
11480 int ecode6 = 0 ;
11481 int val7 ;
11482 int ecode7 = 0 ;
11483 Matrix temp8 ;
11484 Matrix temp10 ;
11485 octave_value_list _out;
11486 octave_value_list *_outp=&_out;
11487 octave_value _outv;
11488
11489 try {
11490 if (!SWIG_check_num_args("plcont",args.length(),7,7,0)) {
11491 SWIG_fail;
11492 }
11493 {
11494 if ( _n_dims( args(0) ) > 2 )
11495 {
11496 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
11497 }
11498 temp1 = args(0).matrix_value();
11499 arg1 = &temp1( 0, 0 );
11500 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
11501 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
11502 }
11503 ecode4 = SWIG_AsVal_int(args(1), &val4);
11504 if (!SWIG_IsOK(ecode4)) {
11505 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcont" "', argument " "4"" of type '" "PLINT""'");
11506 }
11507 arg4 = static_cast< PLINT >(val4);
11508 ecode5 = SWIG_AsVal_int(args(2), &val5);
11509 if (!SWIG_IsOK(ecode5)) {
11510 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcont" "', argument " "5"" of type '" "PLINT""'");
11511 }
11512 arg5 = static_cast< PLINT >(val5);
11513 ecode6 = SWIG_AsVal_int(args(3), &val6);
11514 if (!SWIG_IsOK(ecode6)) {
11515 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcont" "', argument " "6"" of type '" "PLINT""'");
11516 }
11517 arg6 = static_cast< PLINT >(val6);
11518 ecode7 = SWIG_AsVal_int(args(4), &val7);
11519 if (!SWIG_IsOK(ecode7)) {
11520 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcont" "', argument " "7"" of type '" "PLINT""'");
11521 }
11522 arg7 = static_cast< PLINT >(val7);
11523 {
11524 if ( _n_dims( args(5) ) > 1 )
11525 {
11526 error( "argument must be a scalar or vector" ); SWIG_fail;
11527 }
11528 temp8 = args(5).matrix_value();
11529 arg8 = &temp8( 0, 0 );
11530 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
11531 }
11532 {
11533 if ( _n_dims( args(6) ) > 1 )
11534 {
11535 error( "argument must be a scalar or vector" ); SWIG_fail;
11536 }
11537 if ( _dim( args(6), 0 ) != 6 )
11538 {
11539 error( "argument vectors must have length of 6" ); SWIG_fail;
11540 }
11541 temp10 = args(6).matrix_value();
11542 arg10 = &temp10( 0, 0 );
11543 }
11544 my_plcont((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,arg10);
11545 _outv = octave_value();
11546 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11547 {
11548
11549 }
11550 {
11551
11552 }
11553 {
11554
11555 }
11556 return _out;
11557 fail:
11558 {
11559
11560 }
11561 {
11562
11563 }
11564 {
11565
11566 }
11567 return octave_value_list();
11568 }
11569 catch(...) {
11570 {
11571
11572 }
11573 {
11574
11575 }
11576 {
11577
11578 }
11579 throw;
11580 }
11581}
11582
11583
11584SWIG_DEFUN( plcont0, _wrap_plcont0, std::string() ) {
11585 PLFLT *arg1 = 0 ;
11586 PLINT arg2 ;
11587 PLINT arg3 ;
11588 PLINT arg4 ;
11589 PLINT arg5 ;
11590 PLINT arg6 ;
11591 PLINT arg7 ;
11592 PLFLT *arg8 = 0 ;
11593 PLINT arg9 ;
11594 Matrix temp1 ;
11595 int val4 ;
11596 int ecode4 = 0 ;
11597 int val5 ;
11598 int ecode5 = 0 ;
11599 int val6 ;
11600 int ecode6 = 0 ;
11601 int val7 ;
11602 int ecode7 = 0 ;
11603 Matrix temp8 ;
11604 octave_value_list _out;
11605 octave_value_list *_outp=&_out;
11606 octave_value _outv;
11607
11608 try {
11609 if (!SWIG_check_num_args("plcont0",args.length(),6,6,0)) {
11610 SWIG_fail;
11611 }
11612 {
11613 if ( _n_dims( args(0) ) > 2 )
11614 {
11615 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
11616 }
11617 temp1 = args(0).matrix_value();
11618 arg1 = &temp1( 0, 0 );
11619 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
11620 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
11621 }
11622 ecode4 = SWIG_AsVal_int(args(1), &val4);
11623 if (!SWIG_IsOK(ecode4)) {
11624 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcont0" "', argument " "4"" of type '" "PLINT""'");
11625 }
11626 arg4 = static_cast< PLINT >(val4);
11627 ecode5 = SWIG_AsVal_int(args(2), &val5);
11628 if (!SWIG_IsOK(ecode5)) {
11629 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcont0" "', argument " "5"" of type '" "PLINT""'");
11630 }
11631 arg5 = static_cast< PLINT >(val5);
11632 ecode6 = SWIG_AsVal_int(args(3), &val6);
11633 if (!SWIG_IsOK(ecode6)) {
11634 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcont0" "', argument " "6"" of type '" "PLINT""'");
11635 }
11636 arg6 = static_cast< PLINT >(val6);
11637 ecode7 = SWIG_AsVal_int(args(4), &val7);
11638 if (!SWIG_IsOK(ecode7)) {
11639 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcont0" "', argument " "7"" of type '" "PLINT""'");
11640 }
11641 arg7 = static_cast< PLINT >(val7);
11642 {
11643 if ( _n_dims( args(5) ) > 1 )
11644 {
11645 error( "argument must be a scalar or vector" ); SWIG_fail;
11646 }
11647 temp8 = args(5).matrix_value();
11648 arg8 = &temp8( 0, 0 );
11649 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
11650 }
11651 my_plcont0((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9);
11652 _outv = octave_value();
11653 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11654 {
11655
11656 }
11657 {
11658
11659 }
11660 return _out;
11661 fail:
11662 {
11663
11664 }
11665 {
11666
11667 }
11668 return octave_value_list();
11669 }
11670 catch(...) {
11671 {
11672
11673 }
11674 {
11675
11676 }
11677 throw;
11678 }
11679}
11680
11681
11682SWIG_DEFUN( plcont1, _wrap_plcont1, std::string() ) {
11683 PLFLT *arg1 = 0 ;
11684 PLINT arg2 ;
11685 PLINT arg3 ;
11686 PLINT arg4 ;
11687 PLINT arg5 ;
11688 PLINT arg6 ;
11689 PLINT arg7 ;
11690 PLFLT *arg8 = 0 ;
11691 PLINT arg9 ;
11692 PLFLT *arg10 = 0 ;
11693 PLFLT *arg11 = 0 ;
11694 Matrix temp1 ;
11695 int val4 ;
11696 int ecode4 = 0 ;
11697 int val5 ;
11698 int ecode5 = 0 ;
11699 int val6 ;
11700 int ecode6 = 0 ;
11701 int val7 ;
11702 int ecode7 = 0 ;
11703 Matrix temp8 ;
11704 Matrix temp10 ;
11705 Matrix temp11 ;
11706 octave_value_list _out;
11707 octave_value_list *_outp=&_out;
11708 octave_value _outv;
11709
11710 try {
11711 if (!SWIG_check_num_args("plcont1",args.length(),8,8,0)) {
11712 SWIG_fail;
11713 }
11714 {
11715 if ( _n_dims( args(0) ) > 2 )
11716 {
11717 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
11718 }
11719 temp1 = args(0).matrix_value();
11720 arg1 = &temp1( 0, 0 );
11721 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
11722 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
11723 }
11724 ecode4 = SWIG_AsVal_int(args(1), &val4);
11725 if (!SWIG_IsOK(ecode4)) {
11726 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcont1" "', argument " "4"" of type '" "PLINT""'");
11727 }
11728 arg4 = static_cast< PLINT >(val4);
11729 ecode5 = SWIG_AsVal_int(args(2), &val5);
11730 if (!SWIG_IsOK(ecode5)) {
11731 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcont1" "', argument " "5"" of type '" "PLINT""'");
11732 }
11733 arg5 = static_cast< PLINT >(val5);
11734 ecode6 = SWIG_AsVal_int(args(3), &val6);
11735 if (!SWIG_IsOK(ecode6)) {
11736 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcont1" "', argument " "6"" of type '" "PLINT""'");
11737 }
11738 arg6 = static_cast< PLINT >(val6);
11739 ecode7 = SWIG_AsVal_int(args(4), &val7);
11740 if (!SWIG_IsOK(ecode7)) {
11741 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcont1" "', argument " "7"" of type '" "PLINT""'");
11742 }
11743 arg7 = static_cast< PLINT >(val7);
11744 {
11745 if ( _n_dims( args(5) ) > 1 )
11746 {
11747 error( "argument must be a scalar or vector" ); SWIG_fail;
11748 }
11749 temp8 = args(5).matrix_value();
11750 arg8 = &temp8( 0, 0 );
11751 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
11752 }
11753 {
11754 if ( _n_dims( args(6) ) > 1 )
11755 {
11756 error( "argument must be a scalar or vector" ); SWIG_fail;
11757 }
11758 if ( _dim( args(6), 0 ) != Xlen )
11759 {
11760 error( "argument vectors must be same length" ); SWIG_fail;
11761 }
11762 temp10 = args(6).matrix_value();
11763 arg10 = &temp10( 0, 0 );
11764 }
11765 {
11766 if ( _n_dims( args(7) ) > 1 )
11767 {
11768 error( "argument must be a scalar or vector" ); SWIG_fail;
11769 }
11770 if ( _dim( args(7), 0 ) != Ylen )
11771 {
11772 error( "argument vectors must be same length" ); SWIG_fail;
11773 }
11774 temp11 = args(7).matrix_value();
11775 arg11 = &temp11( 0, 0 );
11776 }
11777 my_plcont1((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,(double const *)arg10,(double const *)arg11);
11778 _outv = octave_value();
11779 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11780 {
11781
11782 }
11783 {
11784
11785 }
11786 {
11787
11788 }
11789 {
11790
11791 }
11792 return _out;
11793 fail:
11794 {
11795
11796 }
11797 {
11798
11799 }
11800 {
11801
11802 }
11803 {
11804
11805 }
11806 return octave_value_list();
11807 }
11808 catch(...) {
11809 {
11810
11811 }
11812 {
11813
11814 }
11815 {
11816
11817 }
11818 {
11819
11820 }
11821 throw;
11822 }
11823}
11824
11825
11826SWIG_DEFUN( plcont2, _wrap_plcont2, std::string() ) {
11827 PLFLT *arg1 = 0 ;
11828 PLINT arg2 ;
11829 PLINT arg3 ;
11830 PLINT arg4 ;
11831 PLINT arg5 ;
11832 PLINT arg6 ;
11833 PLINT arg7 ;
11834 PLFLT *arg8 = 0 ;
11835 PLINT arg9 ;
11836 PLFLT *arg10 = 0 ;
11837 PLFLT *arg11 = 0 ;
11838 Matrix temp1 ;
11839 int val4 ;
11840 int ecode4 = 0 ;
11841 int val5 ;
11842 int ecode5 = 0 ;
11843 int val6 ;
11844 int ecode6 = 0 ;
11845 int val7 ;
11846 int ecode7 = 0 ;
11847 Matrix temp8 ;
11848 Matrix temp10 ;
11849 Matrix temp11 ;
11850 octave_value_list _out;
11851 octave_value_list *_outp=&_out;
11852 octave_value _outv;
11853
11854 try {
11855 if (!SWIG_check_num_args("plcont2",args.length(),8,8,0)) {
11856 SWIG_fail;
11857 }
11858 {
11859 if ( _n_dims( args(0) ) > 2 )
11860 {
11861 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
11862 }
11863 temp1 = args(0).matrix_value();
11864 arg1 = &temp1( 0, 0 );
11865 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
11866 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
11867 }
11868 ecode4 = SWIG_AsVal_int(args(1), &val4);
11869 if (!SWIG_IsOK(ecode4)) {
11870 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcont2" "', argument " "4"" of type '" "PLINT""'");
11871 }
11872 arg4 = static_cast< PLINT >(val4);
11873 ecode5 = SWIG_AsVal_int(args(2), &val5);
11874 if (!SWIG_IsOK(ecode5)) {
11875 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcont2" "', argument " "5"" of type '" "PLINT""'");
11876 }
11877 arg5 = static_cast< PLINT >(val5);
11878 ecode6 = SWIG_AsVal_int(args(3), &val6);
11879 if (!SWIG_IsOK(ecode6)) {
11880 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcont2" "', argument " "6"" of type '" "PLINT""'");
11881 }
11882 arg6 = static_cast< PLINT >(val6);
11883 ecode7 = SWIG_AsVal_int(args(4), &val7);
11884 if (!SWIG_IsOK(ecode7)) {
11885 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcont2" "', argument " "7"" of type '" "PLINT""'");
11886 }
11887 arg7 = static_cast< PLINT >(val7);
11888 {
11889 if ( _n_dims( args(5) ) > 1 )
11890 {
11891 error( "argument must be a scalar or vector" ); SWIG_fail;
11892 }
11893 temp8 = args(5).matrix_value();
11894 arg8 = &temp8( 0, 0 );
11895 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
11896 }
11897 {
11898 if ( _n_dims( args(6) ) > 2 )
11899 {
11900 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
11901 }
11902 if ( _dim( args(6), 0 ) != Xlen )
11903 {
11904 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
11905 }
11906 if ( _dim( args(6), 1 ) != Ylen )
11907 {
11908 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
11909 }
11910 temp10 = args(6).matrix_value();
11911 arg10 = &temp10( 0, 0 );
11912 }
11913 {
11914 if ( _n_dims( args(7) ) > 2 )
11915 {
11916 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
11917 }
11918 if ( _dim( args(7), 0 ) != Xlen )
11919 {
11920 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
11921 }
11922 if ( _dim( args(7), 1 ) != Ylen )
11923 {
11924 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
11925 }
11926 temp11 = args(7).matrix_value();
11927 arg11 = &temp11( 0, 0 );
11928 }
11929 my_plcont2((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,(double const *)arg10,(double const *)arg11);
11930 _outv = octave_value();
11931 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
11932 {
11933
11934 }
11935 {
11936
11937 }
11938 {
11939
11940 }
11941 {
11942
11943 }
11944 return _out;
11945 fail:
11946 {
11947
11948 }
11949 {
11950
11951 }
11952 {
11953
11954 }
11955 {
11956
11957 }
11958 return octave_value_list();
11959 }
11960 catch(...) {
11961 {
11962
11963 }
11964 {
11965
11966 }
11967 {
11968
11969 }
11970 {
11971
11972 }
11973 throw;
11974 }
11975}
11976
11977
11978SWIG_DEFUN( plcont2p, _wrap_plcont2p, std::string() ) {
11979 PLFLT *arg1 = 0 ;
11980 PLINT arg2 ;
11981 PLINT arg3 ;
11982 PLINT arg4 ;
11983 PLINT arg5 ;
11984 PLINT arg6 ;
11985 PLINT arg7 ;
11986 PLFLT *arg8 = 0 ;
11987 PLINT arg9 ;
11988 PLFLT *arg10 = 0 ;
11989 PLFLT *arg11 = 0 ;
11990 Matrix temp1 ;
11991 int val4 ;
11992 int ecode4 = 0 ;
11993 int val5 ;
11994 int ecode5 = 0 ;
11995 int val6 ;
11996 int ecode6 = 0 ;
11997 int val7 ;
11998 int ecode7 = 0 ;
11999 Matrix temp8 ;
12000 Matrix temp10 ;
12001 Matrix temp11 ;
12002 octave_value_list _out;
12003 octave_value_list *_outp=&_out;
12004 octave_value _outv;
12005
12006 try {
12007 if (!SWIG_check_num_args("plcont2p",args.length(),8,8,0)) {
12008 SWIG_fail;
12009 }
12010 {
12011 if ( _n_dims( args(0) ) > 2 )
12012 {
12013 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12014 }
12015 temp1 = args(0).matrix_value();
12016 arg1 = &temp1( 0, 0 );
12017 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
12018 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
12019 }
12020 ecode4 = SWIG_AsVal_int(args(1), &val4);
12021 if (!SWIG_IsOK(ecode4)) {
12022 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcont2p" "', argument " "4"" of type '" "PLINT""'");
12023 }
12024 arg4 = static_cast< PLINT >(val4);
12025 ecode5 = SWIG_AsVal_int(args(2), &val5);
12026 if (!SWIG_IsOK(ecode5)) {
12027 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcont2p" "', argument " "5"" of type '" "PLINT""'");
12028 }
12029 arg5 = static_cast< PLINT >(val5);
12030 ecode6 = SWIG_AsVal_int(args(3), &val6);
12031 if (!SWIG_IsOK(ecode6)) {
12032 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcont2p" "', argument " "6"" of type '" "PLINT""'");
12033 }
12034 arg6 = static_cast< PLINT >(val6);
12035 ecode7 = SWIG_AsVal_int(args(4), &val7);
12036 if (!SWIG_IsOK(ecode7)) {
12037 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcont2p" "', argument " "7"" of type '" "PLINT""'");
12038 }
12039 arg7 = static_cast< PLINT >(val7);
12040 {
12041 if ( _n_dims( args(5) ) > 1 )
12042 {
12043 error( "argument must be a scalar or vector" ); SWIG_fail;
12044 }
12045 temp8 = args(5).matrix_value();
12046 arg8 = &temp8( 0, 0 );
12047 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
12048 }
12049 {
12050 if ( _n_dims( args(6) ) > 2 )
12051 {
12052 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12053 }
12054 if ( _dim( args(6), 0 ) != Xlen )
12055 {
12056 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12057 }
12058 if ( _dim( args(6), 1 ) != Ylen )
12059 {
12060 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12061 }
12062 temp10 = args(6).matrix_value();
12063 arg10 = &temp10( 0, 0 );
12064 }
12065 {
12066 if ( _n_dims( args(7) ) > 2 )
12067 {
12068 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12069 }
12070 if ( _dim( args(7), 0 ) != Xlen )
12071 {
12072 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12073 }
12074 if ( _dim( args(7), 1 ) != Ylen )
12075 {
12076 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12077 }
12078 temp11 = args(7).matrix_value();
12079 arg11 = &temp11( 0, 0 );
12080 }
12081 my_plcont2p((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( plgriddata, _wrap_plgriddata, _wrap_plgriddata_texinfo ) {
12131 PLFLT *arg1 = 0 ;
12132 PLFLT *arg2 = 0 ;
12133 PLFLT *arg3 = 0 ;
12134 PLINT arg4 ;
12135 PLFLT *arg5 = 0 ;
12136 PLINT arg6 ;
12137 PLFLT *arg7 = 0 ;
12138 PLINT arg8 ;
12139 PLFLT *arg9 = 0 ;
12140 PLINT arg10 ;
12141 PLFLT arg11 ;
12142 Matrix temp1 ;
12143 Matrix temp2 ;
12144 Matrix temp3 ;
12145 Matrix temp5 ;
12146 Matrix temp7 ;
12147 octave_value_list retval7 ;
12148 int val10 ;
12149 int ecode10 = 0 ;
12150 double val11 ;
12151 int ecode11 = 0 ;
12152 octave_value_list _out;
12153 octave_value_list *_outp=&_out;
12154 octave_value _outv;
12155
12156 try {
12157 if (!SWIG_check_num_args("plgriddata",args.length(),7,7,0)) {
12158 SWIG_fail;
12159 }
12160 {
12161 if ( _n_dims( args(0) ) > 1 )
12162 {
12163 error( "argument must be a scalar or vector" ); SWIG_fail;
12164 }
12165 Alen = (PLINT) ( _dim( args(0), 0 ) );
12166 temp1 = args(0).matrix_value();
12167 arg1 = &temp1( 0, 0 );
12168 }
12169 {
12170 if ( _n_dims( args(1) ) > 1 )
12171 {
12172 error( "argument must be a scalar or vector" ); SWIG_fail;
12173 }
12174 if ( _dim( args(1), 0 ) != Alen )
12175 {
12176 error( "argument vectors must be same length" ); SWIG_fail;
12177 }
12178 temp2 = args(1).matrix_value();
12179 arg2 = &temp2( 0, 0 );
12180 }
12181 {
12182 if ( _n_dims( args(2) ) > 1 )
12183 {
12184 error( "argument must be a scalar or vector" ); SWIG_fail;
12185 }
12186 if ( _dim( args(2), 0 ) != Alen )
12187 {
12188 error( "argument vectors must be same length" ); SWIG_fail;
12189 }
12190 temp3 = args(2).matrix_value();
12191 arg3 = &temp3( 0, 0 );
12192 arg4 = (PLINT) ( _dim( args(2), 0 ) );
12193 }
12194 {
12195 if ( _n_dims( args(3) ) > 1 )
12196 {
12197 error( "argument must be a scalar or vector" ); SWIG_fail;
12198 }
12199 temp5 = args(3).matrix_value();
12200 arg5 = &temp5( 0, 0 );
12201 arg6 = Xlen = (PLINT) ( _dim( args(3), 0 ) );
12202 }
12203 {
12204 if ( _n_dims( args(4) ) > 1 )
12205 {
12206 error( "argument must be a scalar or vector" ); SWIG_fail;
12207 }
12208 temp7 = args(4).matrix_value();
12209 arg7 = &temp7( 0, 0 );
12210 arg8 = Ylen = (PLINT) ( _dim( args(4), 0 ) );
12211 retval7( 0 ) = octave_value( Matrix( Xlen, Ylen ) );
12212 arg9 = (PLFLT *) retval7( 0 ).matrix_value().data();
12213 }
12214 ecode10 = SWIG_AsVal_int(args(5), &val10);
12215 if (!SWIG_IsOK(ecode10)) {
12216 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plgriddata" "', argument " "10"" of type '" "PLINT""'");
12217 }
12218 arg10 = static_cast< PLINT >(val10);
12219 ecode11 = SWIG_AsVal_double(args(6), &val11);
12220 if (!SWIG_IsOK(ecode11)) {
12221 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plgriddata" "', argument " "11"" of type '" "PLFLT""'");
12222 }
12223 arg11 = static_cast< PLFLT >(val11);
12224 my_plgriddata((double const *)arg1,(double const *)arg2,(double const *)arg3,arg4,(double const *)arg5,arg6,(double const *)arg7,arg8,arg9,arg10,arg11);
12225 _outv = octave_value();
12226 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12227 {
12228 _outp = SWIG_Octave_AppendOutput(_outp, retval7( 0 ));
12229 }
12230 {
12231
12232 }
12233 {
12234
12235 }
12236 {
12237
12238 }
12239 {
12240
12241 }
12242 {
12243
12244 }
12245 return _out;
12246 fail:
12247 {
12248
12249 }
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 {
12278
12279 }
12280 throw;
12281 }
12282}
12283
12284
12286 PLFLT *arg1 = 0 ;
12287 PLFLT *arg2 = 0 ;
12288 PLFLT *arg3 = 0 ;
12289 PLINT arg4 ;
12290 PLINT arg5 ;
12291 PLINT arg6 ;
12292 Matrix temp1 ;
12293 Matrix temp2 ;
12294 Matrix temp3 ;
12295 int val6 ;
12296 int ecode6 = 0 ;
12297 octave_value_list _out;
12298 octave_value_list *_outp=&_out;
12299 octave_value _outv;
12300
12301 try {
12302 if (!SWIG_check_num_args("plmesh",args.length(),4,4,0)) {
12303 SWIG_fail;
12304 }
12305 {
12306 if ( _n_dims( args(0) ) > 1 )
12307 {
12308 error( "argument must be a scalar or vector" ); SWIG_fail;
12309 }
12310 temp1 = args(0).matrix_value();
12311 arg1 = &temp1( 0, 0 );
12312 Xlen = (PLINT) ( _dim( args(0), 0 ) );
12313 }
12314 {
12315 if ( _n_dims( args(1) ) > 1 )
12316 {
12317 error( "argument must be a scalar or vector" ); SWIG_fail;
12318 }
12319 temp2 = args(1).matrix_value();
12320 arg2 = &temp2( 0, 0 );
12321 Ylen = (PLINT) ( _dim( args(1), 0 ) );
12322 }
12323 {
12324 if ( _n_dims( args(2) ) > 2 )
12325 {
12326 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12327 }
12328 if ( _dim( args(2), 0 ) != Xlen )
12329 {
12330 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12331 }
12332 if ( _dim( args(2), 1 ) != Ylen )
12333 {
12334 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12335 }
12336 temp3 = args(2).matrix_value();
12337 arg3 = &temp3( 0, 0 );
12338 arg4 = (PLINT) ( _dim( args(2), 0 ) );
12339 arg5 = (PLINT) ( _dim( args(2), 1 ) );
12340 }
12341 ecode6 = SWIG_AsVal_int(args(3), &val6);
12342 if (!SWIG_IsOK(ecode6)) {
12343 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmesh" "', argument " "6"" of type '" "PLINT""'");
12344 }
12345 arg6 = static_cast< PLINT >(val6);
12346 my_plmesh((double const *)arg1,(double const *)arg2,(double const *)arg3,arg4,arg5,arg6);
12347 _outv = octave_value();
12348 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12349 {
12350
12351 }
12352 {
12353
12354 }
12355 {
12356
12357 }
12358 return _out;
12359 fail:
12360 {
12361
12362 }
12363 {
12364
12365 }
12366 {
12367
12368 }
12369 return octave_value_list();
12370 }
12371 catch(...) {
12372 {
12373
12374 }
12375 {
12376
12377 }
12378 {
12379
12380 }
12381 throw;
12382 }
12383}
12384
12385
12387 PLFLT *arg1 = 0 ;
12388 PLFLT *arg2 = 0 ;
12389 PLFLT *arg3 = 0 ;
12390 PLINT arg4 ;
12391 PLINT arg5 ;
12392 PLINT arg6 ;
12393 PLFLT *arg7 = 0 ;
12394 PLINT arg8 ;
12395 Matrix temp1 ;
12396 Matrix temp2 ;
12397 Matrix temp3 ;
12398 int val6 ;
12399 int ecode6 = 0 ;
12400 Matrix temp7 ;
12401 octave_value_list _out;
12402 octave_value_list *_outp=&_out;
12403 octave_value _outv;
12404
12405 try {
12406 if (!SWIG_check_num_args("plmeshc",args.length(),5,5,0)) {
12407 SWIG_fail;
12408 }
12409 {
12410 if ( _n_dims( args(0) ) > 1 )
12411 {
12412 error( "argument must be a scalar or vector" ); SWIG_fail;
12413 }
12414 temp1 = args(0).matrix_value();
12415 arg1 = &temp1( 0, 0 );
12416 Xlen = (PLINT) ( _dim( args(0), 0 ) );
12417 }
12418 {
12419 if ( _n_dims( args(1) ) > 1 )
12420 {
12421 error( "argument must be a scalar or vector" ); SWIG_fail;
12422 }
12423 temp2 = args(1).matrix_value();
12424 arg2 = &temp2( 0, 0 );
12425 Ylen = (PLINT) ( _dim( args(1), 0 ) );
12426 }
12427 {
12428 if ( _n_dims( args(2) ) > 2 )
12429 {
12430 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12431 }
12432 if ( _dim( args(2), 0 ) != Xlen )
12433 {
12434 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12435 }
12436 if ( _dim( args(2), 1 ) != Ylen )
12437 {
12438 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12439 }
12440 temp3 = args(2).matrix_value();
12441 arg3 = &temp3( 0, 0 );
12442 arg4 = (PLINT) ( _dim( args(2), 0 ) );
12443 arg5 = (PLINT) ( _dim( args(2), 1 ) );
12444 }
12445 ecode6 = SWIG_AsVal_int(args(3), &val6);
12446 if (!SWIG_IsOK(ecode6)) {
12447 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmeshc" "', argument " "6"" of type '" "PLINT""'");
12448 }
12449 arg6 = static_cast< PLINT >(val6);
12450 {
12451 if ( _n_dims( args(4) ) > 1 )
12452 {
12453 error( "argument must be a scalar or vector" ); SWIG_fail;
12454 }
12455 temp7 = args(4).matrix_value();
12456 arg7 = &temp7( 0, 0 );
12457 arg8 = Alen = (PLINT) ( _dim( args(4), 0 ) );
12458 }
12459 my_plmeshc((double const *)arg1,(double const *)arg2,(double const *)arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
12460 _outv = octave_value();
12461 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12462 {
12463
12464 }
12465 {
12466
12467 }
12468 {
12469
12470 }
12471 {
12472
12473 }
12474 return _out;
12475 fail:
12476 {
12477
12478 }
12479 {
12480
12481 }
12482 {
12483
12484 }
12485 {
12486
12487 }
12488 return octave_value_list();
12489 }
12490 catch(...) {
12491 {
12492
12493 }
12494 {
12495
12496 }
12497 {
12498
12499 }
12500 {
12501
12502 }
12503 throw;
12504 }
12505}
12506
12507
12509 PLFLT *arg1 = 0 ;
12510 PLFLT *arg2 = 0 ;
12511 PLFLT *arg3 = 0 ;
12512 PLINT arg4 ;
12513 PLINT arg5 ;
12514 PLINT arg6 ;
12515 PLBOOL arg7 ;
12516 Matrix temp1 ;
12517 Matrix temp2 ;
12518 Matrix temp3 ;
12519 int val6 ;
12520 int ecode6 = 0 ;
12521 int val7 ;
12522 int ecode7 = 0 ;
12523 octave_value_list _out;
12524 octave_value_list *_outp=&_out;
12525 octave_value _outv;
12526
12527 try {
12528 if (!SWIG_check_num_args("plot3d",args.length(),5,5,0)) {
12529 SWIG_fail;
12530 }
12531 {
12532 if ( _n_dims( args(0) ) > 1 )
12533 {
12534 error( "argument must be a scalar or vector" ); SWIG_fail;
12535 }
12536 temp1 = args(0).matrix_value();
12537 arg1 = &temp1( 0, 0 );
12538 Xlen = (PLINT) ( _dim( args(0), 0 ) );
12539 }
12540 {
12541 if ( _n_dims( args(1) ) > 1 )
12542 {
12543 error( "argument must be a scalar or vector" ); SWIG_fail;
12544 }
12545 temp2 = args(1).matrix_value();
12546 arg2 = &temp2( 0, 0 );
12547 Ylen = (PLINT) ( _dim( args(1), 0 ) );
12548 }
12549 {
12550 if ( _n_dims( args(2) ) > 2 )
12551 {
12552 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12553 }
12554 if ( _dim( args(2), 0 ) != Xlen )
12555 {
12556 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12557 }
12558 if ( _dim( args(2), 1 ) != Ylen )
12559 {
12560 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12561 }
12562 temp3 = args(2).matrix_value();
12563 arg3 = &temp3( 0, 0 );
12564 arg4 = (PLINT) ( _dim( args(2), 0 ) );
12565 arg5 = (PLINT) ( _dim( args(2), 1 ) );
12566 }
12567 ecode6 = SWIG_AsVal_int(args(3), &val6);
12568 if (!SWIG_IsOK(ecode6)) {
12569 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plot3d" "', argument " "6"" of type '" "PLINT""'");
12570 }
12571 arg6 = static_cast< PLINT >(val6);
12572 ecode7 = SWIG_AsVal_int(args(4), &val7);
12573 if (!SWIG_IsOK(ecode7)) {
12574 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plot3d" "', argument " "7"" of type '" "PLBOOL""'");
12575 }
12576 arg7 = static_cast< PLBOOL >(val7);
12577 my_plot3d((double const *)arg1,(double const *)arg2,(double const *)arg3,arg4,arg5,arg6,arg7);
12578 _outv = octave_value();
12579 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12580 {
12581
12582 }
12583 {
12584
12585 }
12586 {
12587
12588 }
12589 return _out;
12590 fail:
12591 {
12592
12593 }
12594 {
12595
12596 }
12597 {
12598
12599 }
12600 return octave_value_list();
12601 }
12602 catch(...) {
12603 {
12604
12605 }
12606 {
12607
12608 }
12609 {
12610
12611 }
12612 throw;
12613 }
12614}
12615
12616
12618 PLFLT *arg1 = 0 ;
12619 PLFLT *arg2 = 0 ;
12620 PLFLT *arg3 = 0 ;
12621 PLINT arg4 ;
12622 PLINT arg5 ;
12623 PLINT arg6 ;
12624 PLFLT *arg7 = 0 ;
12625 PLINT arg8 ;
12626 Matrix temp1 ;
12627 Matrix temp2 ;
12628 Matrix temp3 ;
12629 int val6 ;
12630 int ecode6 = 0 ;
12631 Matrix temp7 ;
12632 octave_value_list _out;
12633 octave_value_list *_outp=&_out;
12634 octave_value _outv;
12635
12636 try {
12637 if (!SWIG_check_num_args("plot3dc",args.length(),5,5,0)) {
12638 SWIG_fail;
12639 }
12640 {
12641 if ( _n_dims( args(0) ) > 1 )
12642 {
12643 error( "argument must be a scalar or vector" ); SWIG_fail;
12644 }
12645 temp1 = args(0).matrix_value();
12646 arg1 = &temp1( 0, 0 );
12647 Xlen = (PLINT) ( _dim( args(0), 0 ) );
12648 }
12649 {
12650 if ( _n_dims( args(1) ) > 1 )
12651 {
12652 error( "argument must be a scalar or vector" ); SWIG_fail;
12653 }
12654 temp2 = args(1).matrix_value();
12655 arg2 = &temp2( 0, 0 );
12656 Ylen = (PLINT) ( _dim( args(1), 0 ) );
12657 }
12658 {
12659 if ( _n_dims( args(2) ) > 2 )
12660 {
12661 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12662 }
12663 if ( _dim( args(2), 0 ) != Xlen )
12664 {
12665 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12666 }
12667 if ( _dim( args(2), 1 ) != Ylen )
12668 {
12669 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12670 }
12671 temp3 = args(2).matrix_value();
12672 arg3 = &temp3( 0, 0 );
12673 arg4 = (PLINT) ( _dim( args(2), 0 ) );
12674 arg5 = (PLINT) ( _dim( args(2), 1 ) );
12675 }
12676 ecode6 = SWIG_AsVal_int(args(3), &val6);
12677 if (!SWIG_IsOK(ecode6)) {
12678 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plot3dc" "', argument " "6"" of type '" "PLINT""'");
12679 }
12680 arg6 = static_cast< PLINT >(val6);
12681 {
12682 if ( _n_dims( args(4) ) > 1 )
12683 {
12684 error( "argument must be a scalar or vector" ); SWIG_fail;
12685 }
12686 temp7 = args(4).matrix_value();
12687 arg7 = &temp7( 0, 0 );
12688 arg8 = Alen = (PLINT) ( _dim( args(4), 0 ) );
12689 }
12690 my_plot3dc((double const *)arg1,(double const *)arg2,(double const *)arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
12691 _outv = octave_value();
12692 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12693 {
12694
12695 }
12696 {
12697
12698 }
12699 {
12700
12701 }
12702 {
12703
12704 }
12705 return _out;
12706 fail:
12707 {
12708
12709 }
12710 {
12711
12712 }
12713 {
12714
12715 }
12716 {
12717
12718 }
12719 return octave_value_list();
12720 }
12721 catch(...) {
12722 {
12723
12724 }
12725 {
12726
12727 }
12728 {
12729
12730 }
12731 {
12732
12733 }
12734 throw;
12735 }
12736}
12737
12738
12740 PLFLT *arg1 = 0 ;
12741 PLFLT *arg2 = 0 ;
12742 PLFLT *arg3 = 0 ;
12743 PLINT arg4 ;
12744 PLINT arg5 ;
12745 PLINT arg6 ;
12746 PLFLT *arg7 = 0 ;
12747 PLINT arg8 ;
12748 PLINT arg9 ;
12749 PLINT arg10 ;
12750 PLINT *arg11 = 0 ;
12751 PLINT *arg12 = 0 ;
12752 Matrix temp1 ;
12753 Matrix temp2 ;
12754 Matrix temp3 ;
12755 int val6 ;
12756 int ecode6 = 0 ;
12757 Matrix temp7 ;
12758 int val9 ;
12759 int ecode9 = 0 ;
12760 Matrix temp10 ;
12761 Matrix temp12 ;
12762 octave_value_list _out;
12763 octave_value_list *_outp=&_out;
12764 octave_value _outv;
12765
12766 try {
12767 if (!SWIG_check_num_args("plot3dcl",args.length(),8,8,0)) {
12768 SWIG_fail;
12769 }
12770 {
12771 if ( _n_dims( args(0) ) > 1 )
12772 {
12773 error( "argument must be a scalar or vector" ); SWIG_fail;
12774 }
12775 temp1 = args(0).matrix_value();
12776 arg1 = &temp1( 0, 0 );
12777 Xlen = (PLINT) ( _dim( args(0), 0 ) );
12778 }
12779 {
12780 if ( _n_dims( args(1) ) > 1 )
12781 {
12782 error( "argument must be a scalar or vector" ); SWIG_fail;
12783 }
12784 temp2 = args(1).matrix_value();
12785 arg2 = &temp2( 0, 0 );
12786 Ylen = (PLINT) ( _dim( args(1), 0 ) );
12787 }
12788 {
12789 if ( _n_dims( args(2) ) > 2 )
12790 {
12791 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12792 }
12793 if ( _dim( args(2), 0 ) != Xlen )
12794 {
12795 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12796 }
12797 if ( _dim( args(2), 1 ) != Ylen )
12798 {
12799 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12800 }
12801 temp3 = args(2).matrix_value();
12802 arg3 = &temp3( 0, 0 );
12803 arg4 = (PLINT) ( _dim( args(2), 0 ) );
12804 arg5 = (PLINT) ( _dim( args(2), 1 ) );
12805 }
12806 ecode6 = SWIG_AsVal_int(args(3), &val6);
12807 if (!SWIG_IsOK(ecode6)) {
12808 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plot3dcl" "', argument " "6"" of type '" "PLINT""'");
12809 }
12810 arg6 = static_cast< PLINT >(val6);
12811 {
12812 if ( _n_dims( args(4) ) > 1 )
12813 {
12814 error( "argument must be a scalar or vector" ); SWIG_fail;
12815 }
12816 temp7 = args(4).matrix_value();
12817 arg7 = &temp7( 0, 0 );
12818 arg8 = Alen = (PLINT) ( _dim( args(4), 0 ) );
12819 }
12820 ecode9 = SWIG_AsVal_int(args(5), &val9);
12821 if (!SWIG_IsOK(ecode9)) {
12822 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plot3dcl" "', argument " "9"" of type '" "PLINT""'");
12823 }
12824 arg9 = static_cast< PLINT >(val9);
12825 {
12826 if ( _n_dims( args(6) ) > 1 )
12827 {
12828 error( "argument must be a scalar or vector" ); SWIG_fail;
12829 }
12830 arg10 = Alen = (PLINT) ( _dim( args(6), 0 ) );
12831 arg11 = new PLINT[Alen];
12832 temp10 = args(6).matrix_value();
12833 _cvt_double_to( arg11, &temp10( 0, 0 ), Alen );
12834 }
12835 {
12836 if ( _n_dims( args(7) ) > 1 )
12837 {
12838 error( "argument must be a scalar or vector" ); SWIG_fail;
12839 }
12840 if ( _dim( args(7), 0 ) != Alen )
12841 {
12842 error( "argument vectors must be same length" ); SWIG_fail;
12843 }
12844 temp12 = args(7).matrix_value();
12845 arg12 = new PLINT[Alen];
12846 _cvt_double_to( arg12, &temp12( 0, 0 ), Alen );
12847 }
12848 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);
12849 _outv = octave_value();
12850 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12851 {
12852
12853 }
12854 {
12855
12856 }
12857 {
12858
12859 }
12860 {
12861
12862 }
12863 {
12864 delete [] arg11;
12865 }
12866 {
12867 delete [] arg12;
12868 }
12869 return _out;
12870 fail:
12871 {
12872
12873 }
12874 {
12875
12876 }
12877 {
12878
12879 }
12880 {
12881
12882 }
12883 {
12884 delete [] arg11;
12885 }
12886 {
12887 delete [] arg12;
12888 }
12889 return octave_value_list();
12890 }
12891 catch(...) {
12892 {
12893
12894 }
12895 {
12896
12897 }
12898 {
12899
12900 }
12901 {
12902
12903 }
12904 {
12905 delete [] arg11;
12906 }
12907 {
12908 delete [] arg12;
12909 }
12910 throw;
12911 }
12912}
12913
12914
12916 PLFLT *arg1 = 0 ;
12917 PLFLT *arg2 = 0 ;
12918 PLFLT *arg3 = 0 ;
12919 PLINT arg4 ;
12920 PLINT arg5 ;
12921 PLINT arg6 ;
12922 PLFLT *arg7 = 0 ;
12923 PLINT arg8 ;
12924 Matrix temp1 ;
12925 Matrix temp2 ;
12926 Matrix temp3 ;
12927 int val6 ;
12928 int ecode6 = 0 ;
12929 Matrix temp7 ;
12930 octave_value_list _out;
12931 octave_value_list *_outp=&_out;
12932 octave_value _outv;
12933
12934 try {
12935 if (!SWIG_check_num_args("plsurf3d",args.length(),5,5,0)) {
12936 SWIG_fail;
12937 }
12938 {
12939 if ( _n_dims( args(0) ) > 1 )
12940 {
12941 error( "argument must be a scalar or vector" ); SWIG_fail;
12942 }
12943 temp1 = args(0).matrix_value();
12944 arg1 = &temp1( 0, 0 );
12945 Xlen = (PLINT) ( _dim( args(0), 0 ) );
12946 }
12947 {
12948 if ( _n_dims( args(1) ) > 1 )
12949 {
12950 error( "argument must be a scalar or vector" ); SWIG_fail;
12951 }
12952 temp2 = args(1).matrix_value();
12953 arg2 = &temp2( 0, 0 );
12954 Ylen = (PLINT) ( _dim( args(1), 0 ) );
12955 }
12956 {
12957 if ( _n_dims( args(2) ) > 2 )
12958 {
12959 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
12960 }
12961 if ( _dim( args(2), 0 ) != Xlen )
12962 {
12963 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
12964 }
12965 if ( _dim( args(2), 1 ) != Ylen )
12966 {
12967 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
12968 }
12969 temp3 = args(2).matrix_value();
12970 arg3 = &temp3( 0, 0 );
12971 arg4 = (PLINT) ( _dim( args(2), 0 ) );
12972 arg5 = (PLINT) ( _dim( args(2), 1 ) );
12973 }
12974 ecode6 = SWIG_AsVal_int(args(3), &val6);
12975 if (!SWIG_IsOK(ecode6)) {
12976 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plsurf3d" "', argument " "6"" of type '" "PLINT""'");
12977 }
12978 arg6 = static_cast< PLINT >(val6);
12979 {
12980 if ( _n_dims( args(4) ) > 1 )
12981 {
12982 error( "argument must be a scalar or vector" ); SWIG_fail;
12983 }
12984 temp7 = args(4).matrix_value();
12985 arg7 = &temp7( 0, 0 );
12986 arg8 = Alen = (PLINT) ( _dim( args(4), 0 ) );
12987 }
12988 my_plsurf3d((double const *)arg1,(double const *)arg2,(double const *)arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
12989 _outv = octave_value();
12990 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
12991 {
12992
12993 }
12994 {
12995
12996 }
12997 {
12998
12999 }
13000 {
13001
13002 }
13003 return _out;
13004 fail:
13005 {
13006
13007 }
13008 {
13009
13010 }
13011 {
13012
13013 }
13014 {
13015
13016 }
13017 return octave_value_list();
13018 }
13019 catch(...) {
13020 {
13021
13022 }
13023 {
13024
13025 }
13026 {
13027
13028 }
13029 {
13030
13031 }
13032 throw;
13033 }
13034}
13035
13036
13038 PLFLT *arg1 = 0 ;
13039 PLFLT *arg2 = 0 ;
13040 PLFLT *arg3 = 0 ;
13041 PLINT arg4 ;
13042 PLINT arg5 ;
13043 PLINT arg6 ;
13044 PLFLT *arg7 = 0 ;
13045 PLINT arg8 ;
13046 PLINT arg9 ;
13047 PLINT arg10 ;
13048 PLINT *arg11 = 0 ;
13049 PLINT *arg12 = 0 ;
13050 Matrix temp1 ;
13051 Matrix temp2 ;
13052 Matrix temp3 ;
13053 int val6 ;
13054 int ecode6 = 0 ;
13055 Matrix temp7 ;
13056 int val9 ;
13057 int ecode9 = 0 ;
13058 Matrix temp10 ;
13059 Matrix temp12 ;
13060 octave_value_list _out;
13061 octave_value_list *_outp=&_out;
13062 octave_value _outv;
13063
13064 try {
13065 if (!SWIG_check_num_args("plsurf3dl",args.length(),8,8,0)) {
13066 SWIG_fail;
13067 }
13068 {
13069 if ( _n_dims( args(0) ) > 1 )
13070 {
13071 error( "argument must be a scalar or vector" ); SWIG_fail;
13072 }
13073 temp1 = args(0).matrix_value();
13074 arg1 = &temp1( 0, 0 );
13075 Xlen = (PLINT) ( _dim( args(0), 0 ) );
13076 }
13077 {
13078 if ( _n_dims( args(1) ) > 1 )
13079 {
13080 error( "argument must be a scalar or vector" ); SWIG_fail;
13081 }
13082 temp2 = args(1).matrix_value();
13083 arg2 = &temp2( 0, 0 );
13084 Ylen = (PLINT) ( _dim( args(1), 0 ) );
13085 }
13086 {
13087 if ( _n_dims( args(2) ) > 2 )
13088 {
13089 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
13090 }
13091 if ( _dim( args(2), 0 ) != Xlen )
13092 {
13093 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
13094 }
13095 if ( _dim( args(2), 1 ) != Ylen )
13096 {
13097 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
13098 }
13099 temp3 = args(2).matrix_value();
13100 arg3 = &temp3( 0, 0 );
13101 arg4 = (PLINT) ( _dim( args(2), 0 ) );
13102 arg5 = (PLINT) ( _dim( args(2), 1 ) );
13103 }
13104 ecode6 = SWIG_AsVal_int(args(3), &val6);
13105 if (!SWIG_IsOK(ecode6)) {
13106 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plsurf3dl" "', argument " "6"" of type '" "PLINT""'");
13107 }
13108 arg6 = static_cast< PLINT >(val6);
13109 {
13110 if ( _n_dims( args(4) ) > 1 )
13111 {
13112 error( "argument must be a scalar or vector" ); SWIG_fail;
13113 }
13114 temp7 = args(4).matrix_value();
13115 arg7 = &temp7( 0, 0 );
13116 arg8 = Alen = (PLINT) ( _dim( args(4), 0 ) );
13117 }
13118 ecode9 = SWIG_AsVal_int(args(5), &val9);
13119 if (!SWIG_IsOK(ecode9)) {
13120 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plsurf3dl" "', argument " "9"" of type '" "PLINT""'");
13121 }
13122 arg9 = static_cast< PLINT >(val9);
13123 {
13124 if ( _n_dims( args(6) ) > 1 )
13125 {
13126 error( "argument must be a scalar or vector" ); SWIG_fail;
13127 }
13128 arg10 = Alen = (PLINT) ( _dim( args(6), 0 ) );
13129 arg11 = new PLINT[Alen];
13130 temp10 = args(6).matrix_value();
13131 _cvt_double_to( arg11, &temp10( 0, 0 ), Alen );
13132 }
13133 {
13134 if ( _n_dims( args(7) ) > 1 )
13135 {
13136 error( "argument must be a scalar or vector" ); SWIG_fail;
13137 }
13138 if ( _dim( args(7), 0 ) != Alen )
13139 {
13140 error( "argument vectors must be same length" ); SWIG_fail;
13141 }
13142 temp12 = args(7).matrix_value();
13143 arg12 = new PLINT[Alen];
13144 _cvt_double_to( arg12, &temp12( 0, 0 ), Alen );
13145 }
13146 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);
13147 _outv = octave_value();
13148 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13149 {
13150
13151 }
13152 {
13153
13154 }
13155 {
13156
13157 }
13158 {
13159
13160 }
13161 {
13162 delete [] arg11;
13163 }
13164 {
13165 delete [] arg12;
13166 }
13167 return _out;
13168 fail:
13169 {
13170
13171 }
13172 {
13173
13174 }
13175 {
13176
13177 }
13178 {
13179
13180 }
13181 {
13182 delete [] arg11;
13183 }
13184 {
13185 delete [] arg12;
13186 }
13187 return octave_value_list();
13188 }
13189 catch(...) {
13190 {
13191
13192 }
13193 {
13194
13195 }
13196 {
13197
13198 }
13199 {
13200
13201 }
13202 {
13203 delete [] arg11;
13204 }
13205 {
13206 delete [] arg12;
13207 }
13208 throw;
13209 }
13210}
13211
13212
13214 PLFLT *arg1 = 0 ;
13215 PLINT arg2 ;
13216 PLINT arg3 ;
13217 PLFLT *arg4 = 0 ;
13218 PLFLT arg5 ;
13219 PLFLT arg6 ;
13220 PLFLT arg7 ;
13221 PLFLT arg8 ;
13222 PLFLT arg9 ;
13223 PLFLT arg10 ;
13224 PLINT arg11 ;
13225 PLFLT arg12 ;
13226 PLINT arg13 ;
13227 PLINT arg14 ;
13228 PLINT arg15 ;
13229 PLINT arg16 ;
13230 PLINT arg17 ;
13231 PLBOOL arg18 ;
13232 PLFLT *arg19 = 0 ;
13233 Matrix temp1 ;
13234 Matrix temp4 ;
13235 double val5 ;
13236 int ecode5 = 0 ;
13237 double val6 ;
13238 int ecode6 = 0 ;
13239 double val7 ;
13240 int ecode7 = 0 ;
13241 double val8 ;
13242 int ecode8 = 0 ;
13243 double val9 ;
13244 int ecode9 = 0 ;
13245 double val10 ;
13246 int ecode10 = 0 ;
13247 int val11 ;
13248 int ecode11 = 0 ;
13249 double val12 ;
13250 int ecode12 = 0 ;
13251 int val13 ;
13252 int ecode13 = 0 ;
13253 int val14 ;
13254 int ecode14 = 0 ;
13255 int val15 ;
13256 int ecode15 = 0 ;
13257 int val16 ;
13258 int ecode16 = 0 ;
13259 int val17 ;
13260 int ecode17 = 0 ;
13261 int val18 ;
13262 int ecode18 = 0 ;
13263 Matrix temp19 ;
13264 octave_value_list _out;
13265 octave_value_list *_outp=&_out;
13266 octave_value _outv;
13267
13268 try {
13269 if (!SWIG_check_num_args("plshade",args.length(),17,17,0)) {
13270 SWIG_fail;
13271 }
13272 {
13273 if ( _n_dims( args(0) ) > 2 )
13274 {
13275 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
13276 }
13277 temp1 = args(0).matrix_value();
13278 arg1 = &temp1( 0, 0 );
13279 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
13280 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
13281 }
13282 {
13283 if ( _n_dims( args(1) ) > 1 )
13284 {
13285 error( "argument must be a scalar or vector" ); SWIG_fail;
13286 }
13287 Alen = (PLINT) ( _dim( args(1), 0 ) );
13288 temp4 = args(1).matrix_value();
13289 arg4 = &temp4( 0, 0 );
13290 }
13291 ecode5 = SWIG_AsVal_double(args(2), &val5);
13292 if (!SWIG_IsOK(ecode5)) {
13293 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshade" "', argument " "5"" of type '" "PLFLT""'");
13294 }
13295 arg5 = static_cast< PLFLT >(val5);
13296 ecode6 = SWIG_AsVal_double(args(3), &val6);
13297 if (!SWIG_IsOK(ecode6)) {
13298 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshade" "', argument " "6"" of type '" "PLFLT""'");
13299 }
13300 arg6 = static_cast< PLFLT >(val6);
13301 ecode7 = SWIG_AsVal_double(args(4), &val7);
13302 if (!SWIG_IsOK(ecode7)) {
13303 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshade" "', argument " "7"" of type '" "PLFLT""'");
13304 }
13305 arg7 = static_cast< PLFLT >(val7);
13306 ecode8 = SWIG_AsVal_double(args(5), &val8);
13307 if (!SWIG_IsOK(ecode8)) {
13308 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plshade" "', argument " "8"" of type '" "PLFLT""'");
13309 }
13310 arg8 = static_cast< PLFLT >(val8);
13311 ecode9 = SWIG_AsVal_double(args(6), &val9);
13312 if (!SWIG_IsOK(ecode9)) {
13313 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plshade" "', argument " "9"" of type '" "PLFLT""'");
13314 }
13315 arg9 = static_cast< PLFLT >(val9);
13316 ecode10 = SWIG_AsVal_double(args(7), &val10);
13317 if (!SWIG_IsOK(ecode10)) {
13318 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshade" "', argument " "10"" of type '" "PLFLT""'");
13319 }
13320 arg10 = static_cast< PLFLT >(val10);
13321 ecode11 = SWIG_AsVal_int(args(8), &val11);
13322 if (!SWIG_IsOK(ecode11)) {
13323 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshade" "', argument " "11"" of type '" "PLINT""'");
13324 }
13325 arg11 = static_cast< PLINT >(val11);
13326 ecode12 = SWIG_AsVal_double(args(9), &val12);
13327 if (!SWIG_IsOK(ecode12)) {
13328 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshade" "', argument " "12"" of type '" "PLFLT""'");
13329 }
13330 arg12 = static_cast< PLFLT >(val12);
13331 ecode13 = SWIG_AsVal_int(args(10), &val13);
13332 if (!SWIG_IsOK(ecode13)) {
13333 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshade" "', argument " "13"" of type '" "PLINT""'");
13334 }
13335 arg13 = static_cast< PLINT >(val13);
13336 ecode14 = SWIG_AsVal_int(args(11), &val14);
13337 if (!SWIG_IsOK(ecode14)) {
13338 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plshade" "', argument " "14"" of type '" "PLINT""'");
13339 }
13340 arg14 = static_cast< PLINT >(val14);
13341 ecode15 = SWIG_AsVal_int(args(12), &val15);
13342 if (!SWIG_IsOK(ecode15)) {
13343 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plshade" "', argument " "15"" of type '" "PLINT""'");
13344 }
13345 arg15 = static_cast< PLINT >(val15);
13346 ecode16 = SWIG_AsVal_int(args(13), &val16);
13347 if (!SWIG_IsOK(ecode16)) {
13348 SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "plshade" "', argument " "16"" of type '" "PLINT""'");
13349 }
13350 arg16 = static_cast< PLINT >(val16);
13351 ecode17 = SWIG_AsVal_int(args(14), &val17);
13352 if (!SWIG_IsOK(ecode17)) {
13353 SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "plshade" "', argument " "17"" of type '" "PLINT""'");
13354 }
13355 arg17 = static_cast< PLINT >(val17);
13356 ecode18 = SWIG_AsVal_int(args(15), &val18);
13357 if (!SWIG_IsOK(ecode18)) {
13358 SWIG_exception_fail(SWIG_ArgError(ecode18), "in method '" "plshade" "', argument " "18"" of type '" "PLBOOL""'");
13359 }
13360 arg18 = static_cast< PLBOOL >(val18);
13361 {
13362 if ( _n_dims( args(16) ) > 1 )
13363 {
13364 error( "argument must be a scalar or vector" ); SWIG_fail;
13365 }
13366 if ( _dim( args(16), 0 ) != 6 )
13367 {
13368 error( "argument vectors must have length of 6" ); SWIG_fail;
13369 }
13370 temp19 = args(16).matrix_value();
13371 arg19 = &temp19( 0, 0 );
13372 }
13373 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);
13374 _outv = octave_value();
13375 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13376 {
13377
13378 }
13379 {
13380
13381 }
13382 {
13383
13384 }
13385 return _out;
13386 fail:
13387 {
13388
13389 }
13390 {
13391
13392 }
13393 {
13394
13395 }
13396 return octave_value_list();
13397 }
13398 catch(...) {
13399 {
13400
13401 }
13402 {
13403
13404 }
13405 {
13406
13407 }
13408 throw;
13409 }
13410}
13411
13412
13413SWIG_DEFUN( plshade1, _wrap_plshade1, std::string() ) {
13414 PLFLT *arg1 = 0 ;
13415 PLINT arg2 ;
13416 PLINT arg3 ;
13417 char *arg4 = 0 ;
13418 PLFLT arg5 ;
13419 PLFLT arg6 ;
13420 PLFLT arg7 ;
13421 PLFLT arg8 ;
13422 PLFLT arg9 ;
13423 PLFLT arg10 ;
13424 PLINT arg11 ;
13425 PLFLT arg12 ;
13426 PLINT arg13 ;
13427 PLINT arg14 ;
13428 PLINT arg15 ;
13429 PLINT arg16 ;
13430 PLINT arg17 ;
13431 PLBOOL arg18 ;
13432 PLFLT *arg19 = 0 ;
13433 PLFLT *arg20 = 0 ;
13434 Matrix temp1 ;
13435 int res4 ;
13436 char *buf4 = 0 ;
13437 int alloc4 = 0 ;
13438 double val5 ;
13439 int ecode5 = 0 ;
13440 double val6 ;
13441 int ecode6 = 0 ;
13442 double val7 ;
13443 int ecode7 = 0 ;
13444 double val8 ;
13445 int ecode8 = 0 ;
13446 double val9 ;
13447 int ecode9 = 0 ;
13448 double val10 ;
13449 int ecode10 = 0 ;
13450 int val11 ;
13451 int ecode11 = 0 ;
13452 double val12 ;
13453 int ecode12 = 0 ;
13454 int val13 ;
13455 int ecode13 = 0 ;
13456 int val14 ;
13457 int ecode14 = 0 ;
13458 int val15 ;
13459 int ecode15 = 0 ;
13460 int val16 ;
13461 int ecode16 = 0 ;
13462 int val17 ;
13463 int ecode17 = 0 ;
13464 int val18 ;
13465 int ecode18 = 0 ;
13466 Matrix temp19 ;
13467 Matrix temp20 ;
13468 octave_value_list _out;
13469 octave_value_list *_outp=&_out;
13470 octave_value _outv;
13471
13472 try {
13473 if (!SWIG_check_num_args("plshade1",args.length(),18,18,0)) {
13474 SWIG_fail;
13475 }
13476 {
13477 if ( _n_dims( args(0) ) > 2 )
13478 {
13479 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
13480 }
13481 temp1 = args(0).matrix_value();
13482 arg1 = &temp1( 0, 0 );
13483 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
13484 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
13485 }
13486 res4 = SWIG_AsCharPtrAndSize(args(1), &buf4, NULL, &alloc4);
13487 if (!SWIG_IsOK(res4)) {
13488 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "plshade1" "', argument " "4"" of type '" "char const *""'");
13489 }
13490 arg4 = reinterpret_cast< char * >(buf4);
13491 ecode5 = SWIG_AsVal_double(args(2), &val5);
13492 if (!SWIG_IsOK(ecode5)) {
13493 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshade1" "', argument " "5"" of type '" "PLFLT""'");
13494 }
13495 arg5 = static_cast< PLFLT >(val5);
13496 ecode6 = SWIG_AsVal_double(args(3), &val6);
13497 if (!SWIG_IsOK(ecode6)) {
13498 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshade1" "', argument " "6"" of type '" "PLFLT""'");
13499 }
13500 arg6 = static_cast< PLFLT >(val6);
13501 ecode7 = SWIG_AsVal_double(args(4), &val7);
13502 if (!SWIG_IsOK(ecode7)) {
13503 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshade1" "', argument " "7"" of type '" "PLFLT""'");
13504 }
13505 arg7 = static_cast< PLFLT >(val7);
13506 ecode8 = SWIG_AsVal_double(args(5), &val8);
13507 if (!SWIG_IsOK(ecode8)) {
13508 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plshade1" "', argument " "8"" of type '" "PLFLT""'");
13509 }
13510 arg8 = static_cast< PLFLT >(val8);
13511 ecode9 = SWIG_AsVal_double(args(6), &val9);
13512 if (!SWIG_IsOK(ecode9)) {
13513 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plshade1" "', argument " "9"" of type '" "PLFLT""'");
13514 }
13515 arg9 = static_cast< PLFLT >(val9);
13516 ecode10 = SWIG_AsVal_double(args(7), &val10);
13517 if (!SWIG_IsOK(ecode10)) {
13518 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshade1" "', argument " "10"" of type '" "PLFLT""'");
13519 }
13520 arg10 = static_cast< PLFLT >(val10);
13521 ecode11 = SWIG_AsVal_int(args(8), &val11);
13522 if (!SWIG_IsOK(ecode11)) {
13523 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshade1" "', argument " "11"" of type '" "PLINT""'");
13524 }
13525 arg11 = static_cast< PLINT >(val11);
13526 ecode12 = SWIG_AsVal_double(args(9), &val12);
13527 if (!SWIG_IsOK(ecode12)) {
13528 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshade1" "', argument " "12"" of type '" "PLFLT""'");
13529 }
13530 arg12 = static_cast< PLFLT >(val12);
13531 ecode13 = SWIG_AsVal_int(args(10), &val13);
13532 if (!SWIG_IsOK(ecode13)) {
13533 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshade1" "', argument " "13"" of type '" "PLINT""'");
13534 }
13535 arg13 = static_cast< PLINT >(val13);
13536 ecode14 = SWIG_AsVal_int(args(11), &val14);
13537 if (!SWIG_IsOK(ecode14)) {
13538 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plshade1" "', argument " "14"" of type '" "PLINT""'");
13539 }
13540 arg14 = static_cast< PLINT >(val14);
13541 ecode15 = SWIG_AsVal_int(args(12), &val15);
13542 if (!SWIG_IsOK(ecode15)) {
13543 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plshade1" "', argument " "15"" of type '" "PLINT""'");
13544 }
13545 arg15 = static_cast< PLINT >(val15);
13546 ecode16 = SWIG_AsVal_int(args(13), &val16);
13547 if (!SWIG_IsOK(ecode16)) {
13548 SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "plshade1" "', argument " "16"" of type '" "PLINT""'");
13549 }
13550 arg16 = static_cast< PLINT >(val16);
13551 ecode17 = SWIG_AsVal_int(args(14), &val17);
13552 if (!SWIG_IsOK(ecode17)) {
13553 SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "plshade1" "', argument " "17"" of type '" "PLINT""'");
13554 }
13555 arg17 = static_cast< PLINT >(val17);
13556 ecode18 = SWIG_AsVal_int(args(15), &val18);
13557 if (!SWIG_IsOK(ecode18)) {
13558 SWIG_exception_fail(SWIG_ArgError(ecode18), "in method '" "plshade1" "', argument " "18"" of type '" "PLBOOL""'");
13559 }
13560 arg18 = static_cast< PLBOOL >(val18);
13561 {
13562 if ( _n_dims( args(16) ) > 1 )
13563 {
13564 error( "argument must be a scalar or vector" ); SWIG_fail;
13565 }
13566 if ( _dim( args(16), 0 ) != Xlen )
13567 {
13568 error( "argument vectors must be same length" ); SWIG_fail;
13569 }
13570 temp19 = args(16).matrix_value();
13571 arg19 = &temp19( 0, 0 );
13572 }
13573 {
13574 if ( _n_dims( args(17) ) > 1 )
13575 {
13576 error( "argument must be a scalar or vector" ); SWIG_fail;
13577 }
13578 if ( _dim( args(17), 0 ) != Ylen )
13579 {
13580 error( "argument vectors must be same length" ); SWIG_fail;
13581 }
13582 temp20 = args(17).matrix_value();
13583 arg20 = &temp20( 0, 0 );
13584 }
13585 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);
13586 _outv = octave_value();
13587 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13588 {
13589
13590 }
13591 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
13592 {
13593
13594 }
13595 {
13596
13597 }
13598 return _out;
13599 fail:
13600 {
13601
13602 }
13603 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
13604 {
13605
13606 }
13607 {
13608
13609 }
13610 return octave_value_list();
13611 }
13612 catch(...) {
13613 {
13614
13615 }
13616 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
13617 {
13618
13619 }
13620 {
13621
13622 }
13623 throw;
13624 }
13625}
13626
13627
13628SWIG_DEFUN( plshade2, _wrap_plshade2, std::string() ) {
13629 PLFLT *arg1 = 0 ;
13630 PLINT arg2 ;
13631 PLINT arg3 ;
13632 char *arg4 = 0 ;
13633 PLFLT arg5 ;
13634 PLFLT arg6 ;
13635 PLFLT arg7 ;
13636 PLFLT arg8 ;
13637 PLFLT arg9 ;
13638 PLFLT arg10 ;
13639 PLINT arg11 ;
13640 PLFLT arg12 ;
13641 PLINT arg13 ;
13642 PLINT arg14 ;
13643 PLINT arg15 ;
13644 PLINT arg16 ;
13645 PLINT arg17 ;
13646 PLBOOL arg18 ;
13647 PLFLT *arg19 = 0 ;
13648 PLFLT *arg20 = 0 ;
13649 Matrix temp1 ;
13650 int res4 ;
13651 char *buf4 = 0 ;
13652 int alloc4 = 0 ;
13653 double val5 ;
13654 int ecode5 = 0 ;
13655 double val6 ;
13656 int ecode6 = 0 ;
13657 double val7 ;
13658 int ecode7 = 0 ;
13659 double val8 ;
13660 int ecode8 = 0 ;
13661 double val9 ;
13662 int ecode9 = 0 ;
13663 double val10 ;
13664 int ecode10 = 0 ;
13665 int val11 ;
13666 int ecode11 = 0 ;
13667 double val12 ;
13668 int ecode12 = 0 ;
13669 int val13 ;
13670 int ecode13 = 0 ;
13671 int val14 ;
13672 int ecode14 = 0 ;
13673 int val15 ;
13674 int ecode15 = 0 ;
13675 int val16 ;
13676 int ecode16 = 0 ;
13677 int val17 ;
13678 int ecode17 = 0 ;
13679 int val18 ;
13680 int ecode18 = 0 ;
13681 Matrix temp19 ;
13682 Matrix temp20 ;
13683 octave_value_list _out;
13684 octave_value_list *_outp=&_out;
13685 octave_value _outv;
13686
13687 try {
13688 if (!SWIG_check_num_args("plshade2",args.length(),18,18,0)) {
13689 SWIG_fail;
13690 }
13691 {
13692 if ( _n_dims( args(0) ) > 2 )
13693 {
13694 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
13695 }
13696 temp1 = args(0).matrix_value();
13697 arg1 = &temp1( 0, 0 );
13698 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
13699 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
13700 }
13701 res4 = SWIG_AsCharPtrAndSize(args(1), &buf4, NULL, &alloc4);
13702 if (!SWIG_IsOK(res4)) {
13703 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "plshade2" "', argument " "4"" of type '" "char const *""'");
13704 }
13705 arg4 = reinterpret_cast< char * >(buf4);
13706 ecode5 = SWIG_AsVal_double(args(2), &val5);
13707 if (!SWIG_IsOK(ecode5)) {
13708 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshade2" "', argument " "5"" of type '" "PLFLT""'");
13709 }
13710 arg5 = static_cast< PLFLT >(val5);
13711 ecode6 = SWIG_AsVal_double(args(3), &val6);
13712 if (!SWIG_IsOK(ecode6)) {
13713 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshade2" "', argument " "6"" of type '" "PLFLT""'");
13714 }
13715 arg6 = static_cast< PLFLT >(val6);
13716 ecode7 = SWIG_AsVal_double(args(4), &val7);
13717 if (!SWIG_IsOK(ecode7)) {
13718 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshade2" "', argument " "7"" of type '" "PLFLT""'");
13719 }
13720 arg7 = static_cast< PLFLT >(val7);
13721 ecode8 = SWIG_AsVal_double(args(5), &val8);
13722 if (!SWIG_IsOK(ecode8)) {
13723 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plshade2" "', argument " "8"" of type '" "PLFLT""'");
13724 }
13725 arg8 = static_cast< PLFLT >(val8);
13726 ecode9 = SWIG_AsVal_double(args(6), &val9);
13727 if (!SWIG_IsOK(ecode9)) {
13728 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plshade2" "', argument " "9"" of type '" "PLFLT""'");
13729 }
13730 arg9 = static_cast< PLFLT >(val9);
13731 ecode10 = SWIG_AsVal_double(args(7), &val10);
13732 if (!SWIG_IsOK(ecode10)) {
13733 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshade2" "', argument " "10"" of type '" "PLFLT""'");
13734 }
13735 arg10 = static_cast< PLFLT >(val10);
13736 ecode11 = SWIG_AsVal_int(args(8), &val11);
13737 if (!SWIG_IsOK(ecode11)) {
13738 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshade2" "', argument " "11"" of type '" "PLINT""'");
13739 }
13740 arg11 = static_cast< PLINT >(val11);
13741 ecode12 = SWIG_AsVal_double(args(9), &val12);
13742 if (!SWIG_IsOK(ecode12)) {
13743 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshade2" "', argument " "12"" of type '" "PLFLT""'");
13744 }
13745 arg12 = static_cast< PLFLT >(val12);
13746 ecode13 = SWIG_AsVal_int(args(10), &val13);
13747 if (!SWIG_IsOK(ecode13)) {
13748 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshade2" "', argument " "13"" of type '" "PLINT""'");
13749 }
13750 arg13 = static_cast< PLINT >(val13);
13751 ecode14 = SWIG_AsVal_int(args(11), &val14);
13752 if (!SWIG_IsOK(ecode14)) {
13753 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plshade2" "', argument " "14"" of type '" "PLINT""'");
13754 }
13755 arg14 = static_cast< PLINT >(val14);
13756 ecode15 = SWIG_AsVal_int(args(12), &val15);
13757 if (!SWIG_IsOK(ecode15)) {
13758 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plshade2" "', argument " "15"" of type '" "PLINT""'");
13759 }
13760 arg15 = static_cast< PLINT >(val15);
13761 ecode16 = SWIG_AsVal_int(args(13), &val16);
13762 if (!SWIG_IsOK(ecode16)) {
13763 SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "plshade2" "', argument " "16"" of type '" "PLINT""'");
13764 }
13765 arg16 = static_cast< PLINT >(val16);
13766 ecode17 = SWIG_AsVal_int(args(14), &val17);
13767 if (!SWIG_IsOK(ecode17)) {
13768 SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "plshade2" "', argument " "17"" of type '" "PLINT""'");
13769 }
13770 arg17 = static_cast< PLINT >(val17);
13771 ecode18 = SWIG_AsVal_int(args(15), &val18);
13772 if (!SWIG_IsOK(ecode18)) {
13773 SWIG_exception_fail(SWIG_ArgError(ecode18), "in method '" "plshade2" "', argument " "18"" of type '" "PLBOOL""'");
13774 }
13775 arg18 = static_cast< PLBOOL >(val18);
13776 {
13777 if ( _n_dims( args(16) ) > 2 )
13778 {
13779 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
13780 }
13781 temp19 = args(16).matrix_value();
13782 arg19 = &temp19( 0, 0 );
13783 Xlen = (PLINT) ( _dim( args(16), 0 ) );
13784 Ylen = (PLINT) ( _dim( args(16), 1 ) );
13785 }
13786 {
13787 if ( _n_dims( args(17) ) > 2 )
13788 {
13789 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
13790 }
13791 temp20 = args(17).matrix_value();
13792 arg20 = &temp20( 0, 0 );
13793 Xlen = (PLINT) ( _dim( args(17), 0 ) );
13794 Ylen = (PLINT) ( _dim( args(17), 1 ) );
13795 }
13796 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);
13797 _outv = octave_value();
13798 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13799 {
13800
13801 }
13802 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
13803 {
13804
13805 }
13806 {
13807
13808 }
13809 return _out;
13810 fail:
13811 {
13812
13813 }
13814 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
13815 {
13816
13817 }
13818 {
13819
13820 }
13821 return octave_value_list();
13822 }
13823 catch(...) {
13824 {
13825
13826 }
13827 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
13828 {
13829
13830 }
13831 {
13832
13833 }
13834 throw;
13835 }
13836}
13837
13838
13840 PLFLT *arg1 = 0 ;
13841 PLINT arg2 ;
13842 PLINT arg3 ;
13843 PLFLT arg4 ;
13844 PLFLT arg5 ;
13845 PLFLT arg6 ;
13846 PLFLT arg7 ;
13847 PLFLT *arg8 = 0 ;
13848 PLINT arg9 ;
13849 PLINT arg10 ;
13850 PLINT arg11 ;
13851 PLINT arg12 ;
13852 PLBOOL arg13 ;
13853 Matrix temp1 ;
13854 double val4 ;
13855 int ecode4 = 0 ;
13856 double val5 ;
13857 int ecode5 = 0 ;
13858 double val6 ;
13859 int ecode6 = 0 ;
13860 double val7 ;
13861 int ecode7 = 0 ;
13862 Matrix temp8 ;
13863 int val10 ;
13864 int ecode10 = 0 ;
13865 int val11 ;
13866 int ecode11 = 0 ;
13867 int val12 ;
13868 int ecode12 = 0 ;
13869 int val13 ;
13870 int ecode13 = 0 ;
13871 octave_value_list _out;
13872 octave_value_list *_outp=&_out;
13873 octave_value _outv;
13874
13875 try {
13876 if (!SWIG_check_num_args("plshades",args.length(),10,10,0)) {
13877 SWIG_fail;
13878 }
13879 {
13880 if ( _n_dims( args(0) ) > 2 )
13881 {
13882 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
13883 }
13884 temp1 = args(0).matrix_value();
13885 arg1 = &temp1( 0, 0 );
13886 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
13887 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
13888 }
13889 ecode4 = SWIG_AsVal_double(args(1), &val4);
13890 if (!SWIG_IsOK(ecode4)) {
13891 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plshades" "', argument " "4"" of type '" "PLFLT""'");
13892 }
13893 arg4 = static_cast< PLFLT >(val4);
13894 ecode5 = SWIG_AsVal_double(args(2), &val5);
13895 if (!SWIG_IsOK(ecode5)) {
13896 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshades" "', argument " "5"" of type '" "PLFLT""'");
13897 }
13898 arg5 = static_cast< PLFLT >(val5);
13899 ecode6 = SWIG_AsVal_double(args(3), &val6);
13900 if (!SWIG_IsOK(ecode6)) {
13901 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshades" "', argument " "6"" of type '" "PLFLT""'");
13902 }
13903 arg6 = static_cast< PLFLT >(val6);
13904 ecode7 = SWIG_AsVal_double(args(4), &val7);
13905 if (!SWIG_IsOK(ecode7)) {
13906 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshades" "', argument " "7"" of type '" "PLFLT""'");
13907 }
13908 arg7 = static_cast< PLFLT >(val7);
13909 {
13910 if ( _n_dims( args(5) ) > 1 )
13911 {
13912 error( "argument must be a scalar or vector" ); SWIG_fail;
13913 }
13914 temp8 = args(5).matrix_value();
13915 arg8 = &temp8( 0, 0 );
13916 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
13917 }
13918 ecode10 = SWIG_AsVal_int(args(6), &val10);
13919 if (!SWIG_IsOK(ecode10)) {
13920 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshades" "', argument " "10"" of type '" "PLINT""'");
13921 }
13922 arg10 = static_cast< PLINT >(val10);
13923 ecode11 = SWIG_AsVal_int(args(7), &val11);
13924 if (!SWIG_IsOK(ecode11)) {
13925 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshades" "', argument " "11"" of type '" "PLINT""'");
13926 }
13927 arg11 = static_cast< PLINT >(val11);
13928 ecode12 = SWIG_AsVal_int(args(8), &val12);
13929 if (!SWIG_IsOK(ecode12)) {
13930 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshades" "', argument " "12"" of type '" "PLINT""'");
13931 }
13932 arg12 = static_cast< PLINT >(val12);
13933 ecode13 = SWIG_AsVal_int(args(9), &val13);
13934 if (!SWIG_IsOK(ecode13)) {
13935 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshades" "', argument " "13"" of type '" "PLBOOL""'");
13936 }
13937 arg13 = static_cast< PLBOOL >(val13);
13938 my_plshades((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,arg10,arg11,arg12,arg13);
13939 _outv = octave_value();
13940 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
13941 {
13942
13943 }
13944 {
13945
13946 }
13947 return _out;
13948 fail:
13949 {
13950
13951 }
13952 {
13953
13954 }
13955 return octave_value_list();
13956 }
13957 catch(...) {
13958 {
13959
13960 }
13961 {
13962
13963 }
13964 throw;
13965 }
13966}
13967
13968
13969SWIG_DEFUN( plshadesx, _wrap_plshadesx, std::string() ) {
13970 PLFLT *arg1 = 0 ;
13971 PLINT arg2 ;
13972 PLINT arg3 ;
13973 PLFLT arg4 ;
13974 PLFLT arg5 ;
13975 PLFLT arg6 ;
13976 PLFLT arg7 ;
13977 PLFLT *arg8 = 0 ;
13978 PLINT arg9 ;
13979 PLINT arg10 ;
13980 PLINT arg11 ;
13981 PLINT arg12 ;
13982 PLBOOL arg13 ;
13983 PLFLT *arg14 = 0 ;
13984 Matrix temp1 ;
13985 double val4 ;
13986 int ecode4 = 0 ;
13987 double val5 ;
13988 int ecode5 = 0 ;
13989 double val6 ;
13990 int ecode6 = 0 ;
13991 double val7 ;
13992 int ecode7 = 0 ;
13993 Matrix temp8 ;
13994 int val10 ;
13995 int ecode10 = 0 ;
13996 int val11 ;
13997 int ecode11 = 0 ;
13998 int val12 ;
13999 int ecode12 = 0 ;
14000 int val13 ;
14001 int ecode13 = 0 ;
14002 Matrix temp14 ;
14003 octave_value_list _out;
14004 octave_value_list *_outp=&_out;
14005 octave_value _outv;
14006
14007 try {
14008 if (!SWIG_check_num_args("plshadesx",args.length(),11,11,0)) {
14009 SWIG_fail;
14010 }
14011 {
14012 if ( _n_dims( args(0) ) > 2 )
14013 {
14014 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14015 }
14016 temp1 = args(0).matrix_value();
14017 arg1 = &temp1( 0, 0 );
14018 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
14019 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
14020 }
14021 ecode4 = SWIG_AsVal_double(args(1), &val4);
14022 if (!SWIG_IsOK(ecode4)) {
14023 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plshadesx" "', argument " "4"" of type '" "PLFLT""'");
14024 }
14025 arg4 = static_cast< PLFLT >(val4);
14026 ecode5 = SWIG_AsVal_double(args(2), &val5);
14027 if (!SWIG_IsOK(ecode5)) {
14028 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshadesx" "', argument " "5"" of type '" "PLFLT""'");
14029 }
14030 arg5 = static_cast< PLFLT >(val5);
14031 ecode6 = SWIG_AsVal_double(args(3), &val6);
14032 if (!SWIG_IsOK(ecode6)) {
14033 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshadesx" "', argument " "6"" of type '" "PLFLT""'");
14034 }
14035 arg6 = static_cast< PLFLT >(val6);
14036 ecode7 = SWIG_AsVal_double(args(4), &val7);
14037 if (!SWIG_IsOK(ecode7)) {
14038 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshadesx" "', argument " "7"" of type '" "PLFLT""'");
14039 }
14040 arg7 = static_cast< PLFLT >(val7);
14041 {
14042 if ( _n_dims( args(5) ) > 1 )
14043 {
14044 error( "argument must be a scalar or vector" ); SWIG_fail;
14045 }
14046 temp8 = args(5).matrix_value();
14047 arg8 = &temp8( 0, 0 );
14048 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
14049 }
14050 ecode10 = SWIG_AsVal_int(args(6), &val10);
14051 if (!SWIG_IsOK(ecode10)) {
14052 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshadesx" "', argument " "10"" of type '" "PLINT""'");
14053 }
14054 arg10 = static_cast< PLINT >(val10);
14055 ecode11 = SWIG_AsVal_int(args(7), &val11);
14056 if (!SWIG_IsOK(ecode11)) {
14057 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshadesx" "', argument " "11"" of type '" "PLINT""'");
14058 }
14059 arg11 = static_cast< PLINT >(val11);
14060 ecode12 = SWIG_AsVal_int(args(8), &val12);
14061 if (!SWIG_IsOK(ecode12)) {
14062 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshadesx" "', argument " "12"" of type '" "PLINT""'");
14063 }
14064 arg12 = static_cast< PLINT >(val12);
14065 ecode13 = SWIG_AsVal_int(args(9), &val13);
14066 if (!SWIG_IsOK(ecode13)) {
14067 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshadesx" "', argument " "13"" of type '" "PLBOOL""'");
14068 }
14069 arg13 = static_cast< PLBOOL >(val13);
14070 {
14071 if ( _n_dims( args(10) ) > 1 )
14072 {
14073 error( "argument must be a scalar or vector" ); SWIG_fail;
14074 }
14075 if ( _dim( args(10), 0 ) != 6 )
14076 {
14077 error( "argument vectors must have length of 6" ); SWIG_fail;
14078 }
14079 temp14 = args(10).matrix_value();
14080 arg14 = &temp14( 0, 0 );
14081 }
14082 my_plshadesx((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(double const *)arg8,arg9,arg10,arg11,arg12,arg13,arg14);
14083 _outv = octave_value();
14084 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14085 {
14086
14087 }
14088 {
14089
14090 }
14091 {
14092
14093 }
14094 return _out;
14095 fail:
14096 {
14097
14098 }
14099 {
14100
14101 }
14102 {
14103
14104 }
14105 return octave_value_list();
14106 }
14107 catch(...) {
14108 {
14109
14110 }
14111 {
14112
14113 }
14114 {
14115
14116 }
14117 throw;
14118 }
14119}
14120
14121
14122SWIG_DEFUN( plshades1, _wrap_plshades1, std::string() ) {
14123 PLFLT *arg1 = 0 ;
14124 PLINT arg2 ;
14125 PLINT arg3 ;
14126 PLFLT arg4 ;
14127 PLFLT arg5 ;
14128 PLFLT arg6 ;
14129 PLFLT arg7 ;
14130 PLFLT *arg8 = 0 ;
14131 PLINT arg9 ;
14132 PLINT arg10 ;
14133 PLINT arg11 ;
14134 PLINT arg12 ;
14135 PLBOOL arg13 ;
14136 PLFLT *arg14 = 0 ;
14137 PLFLT *arg15 = 0 ;
14138 Matrix temp1 ;
14139 double val4 ;
14140 int ecode4 = 0 ;
14141 double val5 ;
14142 int ecode5 = 0 ;
14143 double val6 ;
14144 int ecode6 = 0 ;
14145 double val7 ;
14146 int ecode7 = 0 ;
14147 Matrix temp8 ;
14148 int val10 ;
14149 int ecode10 = 0 ;
14150 int val11 ;
14151 int ecode11 = 0 ;
14152 int val12 ;
14153 int ecode12 = 0 ;
14154 int val13 ;
14155 int ecode13 = 0 ;
14156 Matrix temp14 ;
14157 Matrix temp15 ;
14158 octave_value_list _out;
14159 octave_value_list *_outp=&_out;
14160 octave_value _outv;
14161
14162 try {
14163 if (!SWIG_check_num_args("plshades1",args.length(),12,12,0)) {
14164 SWIG_fail;
14165 }
14166 {
14167 if ( _n_dims( args(0) ) > 2 )
14168 {
14169 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14170 }
14171 temp1 = args(0).matrix_value();
14172 arg1 = &temp1( 0, 0 );
14173 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
14174 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
14175 }
14176 ecode4 = SWIG_AsVal_double(args(1), &val4);
14177 if (!SWIG_IsOK(ecode4)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plshades1" "', argument " "4"" of type '" "PLFLT""'");
14179 }
14180 arg4 = static_cast< PLFLT >(val4);
14181 ecode5 = SWIG_AsVal_double(args(2), &val5);
14182 if (!SWIG_IsOK(ecode5)) {
14183 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshades1" "', argument " "5"" of type '" "PLFLT""'");
14184 }
14185 arg5 = static_cast< PLFLT >(val5);
14186 ecode6 = SWIG_AsVal_double(args(3), &val6);
14187 if (!SWIG_IsOK(ecode6)) {
14188 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshades1" "', argument " "6"" of type '" "PLFLT""'");
14189 }
14190 arg6 = static_cast< PLFLT >(val6);
14191 ecode7 = SWIG_AsVal_double(args(4), &val7);
14192 if (!SWIG_IsOK(ecode7)) {
14193 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshades1" "', argument " "7"" of type '" "PLFLT""'");
14194 }
14195 arg7 = static_cast< PLFLT >(val7);
14196 {
14197 if ( _n_dims( args(5) ) > 1 )
14198 {
14199 error( "argument must be a scalar or vector" ); SWIG_fail;
14200 }
14201 temp8 = args(5).matrix_value();
14202 arg8 = &temp8( 0, 0 );
14203 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
14204 }
14205 ecode10 = SWIG_AsVal_int(args(6), &val10);
14206 if (!SWIG_IsOK(ecode10)) {
14207 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshades1" "', argument " "10"" of type '" "PLINT""'");
14208 }
14209 arg10 = static_cast< PLINT >(val10);
14210 ecode11 = SWIG_AsVal_int(args(7), &val11);
14211 if (!SWIG_IsOK(ecode11)) {
14212 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshades1" "', argument " "11"" of type '" "PLINT""'");
14213 }
14214 arg11 = static_cast< PLINT >(val11);
14215 ecode12 = SWIG_AsVal_int(args(8), &val12);
14216 if (!SWIG_IsOK(ecode12)) {
14217 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshades1" "', argument " "12"" of type '" "PLINT""'");
14218 }
14219 arg12 = static_cast< PLINT >(val12);
14220 ecode13 = SWIG_AsVal_int(args(9), &val13);
14221 if (!SWIG_IsOK(ecode13)) {
14222 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshades1" "', argument " "13"" of type '" "PLBOOL""'");
14223 }
14224 arg13 = static_cast< PLBOOL >(val13);
14225 {
14226 if ( _n_dims( args(10) ) > 1 )
14227 {
14228 error( "argument must be a scalar or vector" ); SWIG_fail;
14229 }
14230 if ( _dim( args(10), 0 ) != Xlen )
14231 {
14232 error( "argument vectors must be same length" ); SWIG_fail;
14233 }
14234 temp14 = args(10).matrix_value();
14235 arg14 = &temp14( 0, 0 );
14236 }
14237 {
14238 if ( _n_dims( args(11) ) > 1 )
14239 {
14240 error( "argument must be a scalar or vector" ); SWIG_fail;
14241 }
14242 if ( _dim( args(11), 0 ) != Ylen )
14243 {
14244 error( "argument vectors must be same length" ); SWIG_fail;
14245 }
14246 temp15 = args(11).matrix_value();
14247 arg15 = &temp15( 0, 0 );
14248 }
14249 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);
14250 _outv = octave_value();
14251 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14252 {
14253
14254 }
14255 {
14256
14257 }
14258 {
14259
14260 }
14261 {
14262
14263 }
14264 return _out;
14265 fail:
14266 {
14267
14268 }
14269 {
14270
14271 }
14272 {
14273
14274 }
14275 {
14276
14277 }
14278 return octave_value_list();
14279 }
14280 catch(...) {
14281 {
14282
14283 }
14284 {
14285
14286 }
14287 {
14288
14289 }
14290 {
14291
14292 }
14293 throw;
14294 }
14295}
14296
14297
14298SWIG_DEFUN( plshades2, _wrap_plshades2, std::string() ) {
14299 PLFLT *arg1 = 0 ;
14300 PLINT arg2 ;
14301 PLINT arg3 ;
14302 PLFLT arg4 ;
14303 PLFLT arg5 ;
14304 PLFLT arg6 ;
14305 PLFLT arg7 ;
14306 PLFLT *arg8 = 0 ;
14307 PLINT arg9 ;
14308 PLINT arg10 ;
14309 PLINT arg11 ;
14310 PLINT arg12 ;
14311 PLBOOL arg13 ;
14312 PLFLT *arg14 = 0 ;
14313 PLFLT *arg15 = 0 ;
14314 Matrix temp1 ;
14315 double val4 ;
14316 int ecode4 = 0 ;
14317 double val5 ;
14318 int ecode5 = 0 ;
14319 double val6 ;
14320 int ecode6 = 0 ;
14321 double val7 ;
14322 int ecode7 = 0 ;
14323 Matrix temp8 ;
14324 int val10 ;
14325 int ecode10 = 0 ;
14326 int val11 ;
14327 int ecode11 = 0 ;
14328 int val12 ;
14329 int ecode12 = 0 ;
14330 int val13 ;
14331 int ecode13 = 0 ;
14332 Matrix temp14 ;
14333 Matrix temp15 ;
14334 octave_value_list _out;
14335 octave_value_list *_outp=&_out;
14336 octave_value _outv;
14337
14338 try {
14339 if (!SWIG_check_num_args("plshades2",args.length(),12,12,0)) {
14340 SWIG_fail;
14341 }
14342 {
14343 if ( _n_dims( args(0) ) > 2 )
14344 {
14345 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14346 }
14347 temp1 = args(0).matrix_value();
14348 arg1 = &temp1( 0, 0 );
14349 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
14350 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
14351 }
14352 ecode4 = SWIG_AsVal_double(args(1), &val4);
14353 if (!SWIG_IsOK(ecode4)) {
14354 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plshades2" "', argument " "4"" of type '" "PLFLT""'");
14355 }
14356 arg4 = static_cast< PLFLT >(val4);
14357 ecode5 = SWIG_AsVal_double(args(2), &val5);
14358 if (!SWIG_IsOK(ecode5)) {
14359 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plshades2" "', argument " "5"" of type '" "PLFLT""'");
14360 }
14361 arg5 = static_cast< PLFLT >(val5);
14362 ecode6 = SWIG_AsVal_double(args(3), &val6);
14363 if (!SWIG_IsOK(ecode6)) {
14364 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plshades2" "', argument " "6"" of type '" "PLFLT""'");
14365 }
14366 arg6 = static_cast< PLFLT >(val6);
14367 ecode7 = SWIG_AsVal_double(args(4), &val7);
14368 if (!SWIG_IsOK(ecode7)) {
14369 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plshades2" "', argument " "7"" of type '" "PLFLT""'");
14370 }
14371 arg7 = static_cast< PLFLT >(val7);
14372 {
14373 if ( _n_dims( args(5) ) > 1 )
14374 {
14375 error( "argument must be a scalar or vector" ); SWIG_fail;
14376 }
14377 temp8 = args(5).matrix_value();
14378 arg8 = &temp8( 0, 0 );
14379 arg9 = Alen = (PLINT) ( _dim( args(5), 0 ) );
14380 }
14381 ecode10 = SWIG_AsVal_int(args(6), &val10);
14382 if (!SWIG_IsOK(ecode10)) {
14383 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plshades2" "', argument " "10"" of type '" "PLINT""'");
14384 }
14385 arg10 = static_cast< PLINT >(val10);
14386 ecode11 = SWIG_AsVal_int(args(7), &val11);
14387 if (!SWIG_IsOK(ecode11)) {
14388 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plshades2" "', argument " "11"" of type '" "PLINT""'");
14389 }
14390 arg11 = static_cast< PLINT >(val11);
14391 ecode12 = SWIG_AsVal_int(args(8), &val12);
14392 if (!SWIG_IsOK(ecode12)) {
14393 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plshades2" "', argument " "12"" of type '" "PLINT""'");
14394 }
14395 arg12 = static_cast< PLINT >(val12);
14396 ecode13 = SWIG_AsVal_int(args(9), &val13);
14397 if (!SWIG_IsOK(ecode13)) {
14398 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plshades2" "', argument " "13"" of type '" "PLBOOL""'");
14399 }
14400 arg13 = static_cast< PLBOOL >(val13);
14401 {
14402 if ( _n_dims( args(10) ) > 2 )
14403 {
14404 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14405 }
14406 temp14 = args(10).matrix_value();
14407 arg14 = &temp14( 0, 0 );
14408 Xlen = (PLINT) ( _dim( args(10), 0 ) );
14409 Ylen = (PLINT) ( _dim( args(10), 1 ) );
14410 }
14411 {
14412 if ( _n_dims( args(11) ) > 2 )
14413 {
14414 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14415 }
14416 temp15 = args(11).matrix_value();
14417 arg15 = &temp15( 0, 0 );
14418 Xlen = (PLINT) ( _dim( args(11), 0 ) );
14419 Ylen = (PLINT) ( _dim( args(11), 1 ) );
14420 }
14421 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);
14422 _outv = octave_value();
14423 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14424 {
14425
14426 }
14427 {
14428
14429 }
14430 {
14431
14432 }
14433 {
14434
14435 }
14436 return _out;
14437 fail:
14438 {
14439
14440 }
14441 {
14442
14443 }
14444 {
14445
14446 }
14447 {
14448
14449 }
14450 return octave_value_list();
14451 }
14452 catch(...) {
14453 {
14454
14455 }
14456 {
14457
14458 }
14459 {
14460
14461 }
14462 {
14463
14464 }
14465 throw;
14466 }
14467}
14468
14469
14471 PLFLT *arg1 = 0 ;
14472 PLFLT *arg2 = 0 ;
14473 PLINT arg3 ;
14474 PLINT arg4 ;
14475 PLFLT arg5 ;
14476 PLFLT *arg6 = 0 ;
14477 Matrix temp1 ;
14478 Matrix temp2 ;
14479 double val5 ;
14480 int ecode5 = 0 ;
14481 Matrix temp6 ;
14482 octave_value_list _out;
14483 octave_value_list *_outp=&_out;
14484 octave_value _outv;
14485
14486 try {
14487 if (!SWIG_check_num_args("plvect",args.length(),4,4,0)) {
14488 SWIG_fail;
14489 }
14490 {
14491 if ( _n_dims( args(0) ) > 2 )
14492 {
14493 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14494 }
14495 temp1 = args(0).matrix_value();
14496 arg1 = &temp1( 0, 0 );
14497 Xlen = (PLINT) ( _dim( args(0), 0 ) );
14498 Ylen = (PLINT) ( _dim( args(0), 1 ) );
14499 }
14500 {
14501 if ( _n_dims( args(1) ) > 2 )
14502 {
14503 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14504 }
14505 if ( _dim( args(1), 0 ) != Xlen )
14506 {
14507 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
14508 }
14509 if ( _dim( args(1), 1 ) != Ylen )
14510 {
14511 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
14512 }
14513 temp2 = args(1).matrix_value();
14514 arg2 = &temp2( 0, 0 );
14515 arg3 = (PLINT) ( _dim( args(1), 0 ) );
14516 arg4 = (PLINT) ( _dim( args(1), 1 ) );
14517 }
14518 ecode5 = SWIG_AsVal_double(args(2), &val5);
14519 if (!SWIG_IsOK(ecode5)) {
14520 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plvect" "', argument " "5"" of type '" "PLFLT""'");
14521 }
14522 arg5 = static_cast< PLFLT >(val5);
14523 {
14524 if ( _n_dims( args(3) ) > 1 )
14525 {
14526 error( "argument must be a scalar or vector" ); SWIG_fail;
14527 }
14528 if ( _dim( args(3), 0 ) != 6 )
14529 {
14530 error( "argument vectors must have length of 6" ); SWIG_fail;
14531 }
14532 temp6 = args(3).matrix_value();
14533 arg6 = &temp6( 0, 0 );
14534 }
14535 my_plvect((double const *)arg1,(double const *)arg2,arg3,arg4,arg5,arg6);
14536 _outv = octave_value();
14537 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14538 {
14539
14540 }
14541 {
14542
14543 }
14544 {
14545
14546 }
14547 return _out;
14548 fail:
14549 {
14550
14551 }
14552 {
14553
14554 }
14555 {
14556
14557 }
14558 return octave_value_list();
14559 }
14560 catch(...) {
14561 {
14562
14563 }
14564 {
14565
14566 }
14567 {
14568
14569 }
14570 throw;
14571 }
14572}
14573
14574
14575SWIG_DEFUN( plvect1, _wrap_plvect1, std::string() ) {
14576 PLFLT *arg1 = 0 ;
14577 PLFLT *arg2 = 0 ;
14578 PLINT arg3 ;
14579 PLINT arg4 ;
14580 PLFLT arg5 ;
14581 PLFLT *arg6 = 0 ;
14582 PLFLT *arg7 = 0 ;
14583 Matrix temp1 ;
14584 Matrix temp2 ;
14585 double val5 ;
14586 int ecode5 = 0 ;
14587 Matrix temp6 ;
14588 Matrix temp7 ;
14589 octave_value_list _out;
14590 octave_value_list *_outp=&_out;
14591 octave_value _outv;
14592
14593 try {
14594 if (!SWIG_check_num_args("plvect1",args.length(),5,5,0)) {
14595 SWIG_fail;
14596 }
14597 {
14598 if ( _n_dims( args(0) ) > 2 )
14599 {
14600 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14601 }
14602 temp1 = args(0).matrix_value();
14603 arg1 = &temp1( 0, 0 );
14604 Xlen = (PLINT) ( _dim( args(0), 0 ) );
14605 Ylen = (PLINT) ( _dim( args(0), 1 ) );
14606 }
14607 {
14608 if ( _n_dims( args(1) ) > 2 )
14609 {
14610 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14611 }
14612 if ( _dim( args(1), 0 ) != Xlen )
14613 {
14614 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
14615 }
14616 if ( _dim( args(1), 1 ) != Ylen )
14617 {
14618 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
14619 }
14620 temp2 = args(1).matrix_value();
14621 arg2 = &temp2( 0, 0 );
14622 arg3 = (PLINT) ( _dim( args(1), 0 ) );
14623 arg4 = (PLINT) ( _dim( args(1), 1 ) );
14624 }
14625 ecode5 = SWIG_AsVal_double(args(2), &val5);
14626 if (!SWIG_IsOK(ecode5)) {
14627 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plvect1" "', argument " "5"" of type '" "PLFLT""'");
14628 }
14629 arg5 = static_cast< PLFLT >(val5);
14630 {
14631 if ( _n_dims( args(3) ) > 1 )
14632 {
14633 error( "argument must be a scalar or vector" ); SWIG_fail;
14634 }
14635 if ( _dim( args(3), 0 ) != Xlen )
14636 {
14637 error( "argument vectors must be same length" ); SWIG_fail;
14638 }
14639 temp6 = args(3).matrix_value();
14640 arg6 = &temp6( 0, 0 );
14641 }
14642 {
14643 if ( _n_dims( args(4) ) > 1 )
14644 {
14645 error( "argument must be a scalar or vector" ); SWIG_fail;
14646 }
14647 if ( _dim( args(4), 0 ) != Ylen )
14648 {
14649 error( "argument vectors must be same length" ); SWIG_fail;
14650 }
14651 temp7 = args(4).matrix_value();
14652 arg7 = &temp7( 0, 0 );
14653 }
14654 my_plvect1((double const *)arg1,(double const *)arg2,arg3,arg4,arg5,(double const *)arg6,(double const *)arg7);
14655 _outv = octave_value();
14656 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14657 {
14658
14659 }
14660 {
14661
14662 }
14663 {
14664
14665 }
14666 {
14667
14668 }
14669 return _out;
14670 fail:
14671 {
14672
14673 }
14674 {
14675
14676 }
14677 {
14678
14679 }
14680 {
14681
14682 }
14683 return octave_value_list();
14684 }
14685 catch(...) {
14686 {
14687
14688 }
14689 {
14690
14691 }
14692 {
14693
14694 }
14695 {
14696
14697 }
14698 throw;
14699 }
14700}
14701
14702
14703SWIG_DEFUN( plvect2, _wrap_plvect2, std::string() ) {
14704 PLFLT *arg1 = 0 ;
14705 PLFLT *arg2 = 0 ;
14706 PLINT arg3 ;
14707 PLINT arg4 ;
14708 PLFLT arg5 ;
14709 PLFLT *arg6 = 0 ;
14710 PLFLT *arg7 = 0 ;
14711 Matrix temp1 ;
14712 Matrix temp2 ;
14713 double val5 ;
14714 int ecode5 = 0 ;
14715 Matrix temp6 ;
14716 Matrix temp7 ;
14717 octave_value_list _out;
14718 octave_value_list *_outp=&_out;
14719 octave_value _outv;
14720
14721 try {
14722 if (!SWIG_check_num_args("plvect2",args.length(),5,5,0)) {
14723 SWIG_fail;
14724 }
14725 {
14726 if ( _n_dims( args(0) ) > 2 )
14727 {
14728 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14729 }
14730 temp1 = args(0).matrix_value();
14731 arg1 = &temp1( 0, 0 );
14732 Xlen = (PLINT) ( _dim( args(0), 0 ) );
14733 Ylen = (PLINT) ( _dim( args(0), 1 ) );
14734 }
14735 {
14736 if ( _n_dims( args(1) ) > 2 )
14737 {
14738 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14739 }
14740 if ( _dim( args(1), 0 ) != Xlen )
14741 {
14742 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
14743 }
14744 if ( _dim( args(1), 1 ) != Ylen )
14745 {
14746 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
14747 }
14748 temp2 = args(1).matrix_value();
14749 arg2 = &temp2( 0, 0 );
14750 arg3 = (PLINT) ( _dim( args(1), 0 ) );
14751 arg4 = (PLINT) ( _dim( args(1), 1 ) );
14752 }
14753 ecode5 = SWIG_AsVal_double(args(2), &val5);
14754 if (!SWIG_IsOK(ecode5)) {
14755 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plvect2" "', argument " "5"" of type '" "PLFLT""'");
14756 }
14757 arg5 = static_cast< PLFLT >(val5);
14758 {
14759 if ( _n_dims( args(3) ) > 2 )
14760 {
14761 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14762 }
14763 temp6 = args(3).matrix_value();
14764 arg6 = &temp6( 0, 0 );
14765 Xlen = (PLINT) ( _dim( args(3), 0 ) );
14766 Ylen = (PLINT) ( _dim( args(3), 1 ) );
14767 }
14768 {
14769 if ( _n_dims( args(4) ) > 2 )
14770 {
14771 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14772 }
14773 temp7 = args(4).matrix_value();
14774 arg7 = &temp7( 0, 0 );
14775 Xlen = (PLINT) ( _dim( args(4), 0 ) );
14776 Ylen = (PLINT) ( _dim( args(4), 1 ) );
14777 }
14778 my_plvect2((double const *)arg1,(double const *)arg2,arg3,arg4,arg5,(double const *)arg6,(double const *)arg7);
14779 _outv = octave_value();
14780 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14781 {
14782
14783 }
14784 {
14785
14786 }
14787 {
14788
14789 }
14790 {
14791
14792 }
14793 return _out;
14794 fail:
14795 {
14796
14797 }
14798 {
14799
14800 }
14801 {
14802
14803 }
14804 {
14805
14806 }
14807 return octave_value_list();
14808 }
14809 catch(...) {
14810 {
14811
14812 }
14813 {
14814
14815 }
14816 {
14817
14818 }
14819 {
14820
14821 }
14822 throw;
14823 }
14824}
14825
14826
14827SWIG_DEFUN( pplimage, _wrap_pplimage, std::string() ) {
14828 PLFLT *arg1 = 0 ;
14829 PLINT arg2 ;
14830 PLINT arg3 ;
14831 PLFLT arg4 ;
14832 PLFLT arg5 ;
14833 PLFLT arg6 ;
14834 PLFLT arg7 ;
14835 PLFLT arg8 ;
14836 PLFLT arg9 ;
14837 PLFLT arg10 ;
14838 PLFLT arg11 ;
14839 PLFLT arg12 ;
14840 PLFLT arg13 ;
14841 Matrix temp1 ;
14842 double val4 ;
14843 int ecode4 = 0 ;
14844 double val5 ;
14845 int ecode5 = 0 ;
14846 double val6 ;
14847 int ecode6 = 0 ;
14848 double val7 ;
14849 int ecode7 = 0 ;
14850 double val8 ;
14851 int ecode8 = 0 ;
14852 double val9 ;
14853 int ecode9 = 0 ;
14854 double val10 ;
14855 int ecode10 = 0 ;
14856 double val11 ;
14857 int ecode11 = 0 ;
14858 double val12 ;
14859 int ecode12 = 0 ;
14860 double val13 ;
14861 int ecode13 = 0 ;
14862 octave_value_list _out;
14863 octave_value_list *_outp=&_out;
14864 octave_value _outv;
14865
14866 try {
14867 if (!SWIG_check_num_args("pplimage",args.length(),11,11,0)) {
14868 SWIG_fail;
14869 }
14870 {
14871 if ( _n_dims( args(0) ) > 2 )
14872 {
14873 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14874 }
14875 temp1 = args(0).matrix_value();
14876 arg1 = &temp1( 0, 0 );
14877 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
14878 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
14879 }
14880 ecode4 = SWIG_AsVal_double(args(1), &val4);
14881 if (!SWIG_IsOK(ecode4)) {
14882 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pplimage" "', argument " "4"" of type '" "PLFLT""'");
14883 }
14884 arg4 = static_cast< PLFLT >(val4);
14885 ecode5 = SWIG_AsVal_double(args(2), &val5);
14886 if (!SWIG_IsOK(ecode5)) {
14887 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pplimage" "', argument " "5"" of type '" "PLFLT""'");
14888 }
14889 arg5 = static_cast< PLFLT >(val5);
14890 ecode6 = SWIG_AsVal_double(args(3), &val6);
14891 if (!SWIG_IsOK(ecode6)) {
14892 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "pplimage" "', argument " "6"" of type '" "PLFLT""'");
14893 }
14894 arg6 = static_cast< PLFLT >(val6);
14895 ecode7 = SWIG_AsVal_double(args(4), &val7);
14896 if (!SWIG_IsOK(ecode7)) {
14897 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "pplimage" "', argument " "7"" of type '" "PLFLT""'");
14898 }
14899 arg7 = static_cast< PLFLT >(val7);
14900 ecode8 = SWIG_AsVal_double(args(5), &val8);
14901 if (!SWIG_IsOK(ecode8)) {
14902 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "pplimage" "', argument " "8"" of type '" "PLFLT""'");
14903 }
14904 arg8 = static_cast< PLFLT >(val8);
14905 ecode9 = SWIG_AsVal_double(args(6), &val9);
14906 if (!SWIG_IsOK(ecode9)) {
14907 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "pplimage" "', argument " "9"" of type '" "PLFLT""'");
14908 }
14909 arg9 = static_cast< PLFLT >(val9);
14910 ecode10 = SWIG_AsVal_double(args(7), &val10);
14911 if (!SWIG_IsOK(ecode10)) {
14912 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "pplimage" "', argument " "10"" of type '" "PLFLT""'");
14913 }
14914 arg10 = static_cast< PLFLT >(val10);
14915 ecode11 = SWIG_AsVal_double(args(8), &val11);
14916 if (!SWIG_IsOK(ecode11)) {
14917 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "pplimage" "', argument " "11"" of type '" "PLFLT""'");
14918 }
14919 arg11 = static_cast< PLFLT >(val11);
14920 ecode12 = SWIG_AsVal_double(args(9), &val12);
14921 if (!SWIG_IsOK(ecode12)) {
14922 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "pplimage" "', argument " "12"" of type '" "PLFLT""'");
14923 }
14924 arg12 = static_cast< PLFLT >(val12);
14925 ecode13 = SWIG_AsVal_double(args(10), &val13);
14926 if (!SWIG_IsOK(ecode13)) {
14927 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "pplimage" "', argument " "13"" of type '" "PLFLT""'");
14928 }
14929 arg13 = static_cast< PLFLT >(val13);
14930 my_plimage((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
14931 _outv = octave_value();
14932 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
14933 {
14934
14935 }
14936 return _out;
14937 fail:
14938 {
14939
14940 }
14941 return octave_value_list();
14942 }
14943 catch(...) {
14944 {
14945
14946 }
14947 throw;
14948 }
14949}
14950
14951
14953 PLFLT *arg1 = 0 ;
14954 PLINT arg2 ;
14955 PLINT arg3 ;
14956 PLFLT arg4 ;
14957 PLFLT arg5 ;
14958 PLFLT arg6 ;
14959 PLFLT arg7 ;
14960 PLFLT arg8 ;
14961 PLFLT arg9 ;
14962 PLFLT arg10 ;
14963 PLFLT arg11 ;
14964 Matrix temp1 ;
14965 double val4 ;
14966 int ecode4 = 0 ;
14967 double val5 ;
14968 int ecode5 = 0 ;
14969 double val6 ;
14970 int ecode6 = 0 ;
14971 double val7 ;
14972 int ecode7 = 0 ;
14973 double val8 ;
14974 int ecode8 = 0 ;
14975 double val9 ;
14976 int ecode9 = 0 ;
14977 double val10 ;
14978 int ecode10 = 0 ;
14979 double val11 ;
14980 int ecode11 = 0 ;
14981 octave_value_list _out;
14982 octave_value_list *_outp=&_out;
14983 octave_value _outv;
14984
14985 try {
14986 if (!SWIG_check_num_args("plimagefr",args.length(),9,9,0)) {
14987 SWIG_fail;
14988 }
14989 {
14990 if ( _n_dims( args(0) ) > 2 )
14991 {
14992 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
14993 }
14994 temp1 = args(0).matrix_value();
14995 arg1 = &temp1( 0, 0 );
14996 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
14997 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
14998 }
14999 ecode4 = SWIG_AsVal_double(args(1), &val4);
15000 if (!SWIG_IsOK(ecode4)) {
15001 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plimagefr" "', argument " "4"" of type '" "PLFLT""'");
15002 }
15003 arg4 = static_cast< PLFLT >(val4);
15004 ecode5 = SWIG_AsVal_double(args(2), &val5);
15005 if (!SWIG_IsOK(ecode5)) {
15006 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plimagefr" "', argument " "5"" of type '" "PLFLT""'");
15007 }
15008 arg5 = static_cast< PLFLT >(val5);
15009 ecode6 = SWIG_AsVal_double(args(3), &val6);
15010 if (!SWIG_IsOK(ecode6)) {
15011 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plimagefr" "', argument " "6"" of type '" "PLFLT""'");
15012 }
15013 arg6 = static_cast< PLFLT >(val6);
15014 ecode7 = SWIG_AsVal_double(args(4), &val7);
15015 if (!SWIG_IsOK(ecode7)) {
15016 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plimagefr" "', argument " "7"" of type '" "PLFLT""'");
15017 }
15018 arg7 = static_cast< PLFLT >(val7);
15019 ecode8 = SWIG_AsVal_double(args(5), &val8);
15020 if (!SWIG_IsOK(ecode8)) {
15021 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plimagefr" "', argument " "8"" of type '" "PLFLT""'");
15022 }
15023 arg8 = static_cast< PLFLT >(val8);
15024 ecode9 = SWIG_AsVal_double(args(6), &val9);
15025 if (!SWIG_IsOK(ecode9)) {
15026 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plimagefr" "', argument " "9"" of type '" "PLFLT""'");
15027 }
15028 arg9 = static_cast< PLFLT >(val9);
15029 ecode10 = SWIG_AsVal_double(args(7), &val10);
15030 if (!SWIG_IsOK(ecode10)) {
15031 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plimagefr" "', argument " "10"" of type '" "PLFLT""'");
15032 }
15033 arg10 = static_cast< PLFLT >(val10);
15034 ecode11 = SWIG_AsVal_double(args(8), &val11);
15035 if (!SWIG_IsOK(ecode11)) {
15036 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plimagefr" "', argument " "11"" of type '" "PLFLT""'");
15037 }
15038 arg11 = static_cast< PLFLT >(val11);
15039 my_plimagefr((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
15040 _outv = octave_value();
15041 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15042 {
15043
15044 }
15045 return _out;
15046 fail:
15047 {
15048
15049 }
15050 return octave_value_list();
15051 }
15052 catch(...) {
15053 {
15054
15055 }
15056 throw;
15057 }
15058}
15059
15060
15061SWIG_DEFUN( plimagefrx, _wrap_plimagefrx, std::string() ) {
15062 PLFLT *arg1 = 0 ;
15063 PLINT arg2 ;
15064 PLINT arg3 ;
15065 PLFLT arg4 ;
15066 PLFLT arg5 ;
15067 PLFLT arg6 ;
15068 PLFLT arg7 ;
15069 PLFLT arg8 ;
15070 PLFLT arg9 ;
15071 PLFLT arg10 ;
15072 PLFLT arg11 ;
15073 PLFLT *arg12 = 0 ;
15074 Matrix temp1 ;
15075 double val4 ;
15076 int ecode4 = 0 ;
15077 double val5 ;
15078 int ecode5 = 0 ;
15079 double val6 ;
15080 int ecode6 = 0 ;
15081 double val7 ;
15082 int ecode7 = 0 ;
15083 double val8 ;
15084 int ecode8 = 0 ;
15085 double val9 ;
15086 int ecode9 = 0 ;
15087 double val10 ;
15088 int ecode10 = 0 ;
15089 double val11 ;
15090 int ecode11 = 0 ;
15091 Matrix temp12 ;
15092 octave_value_list _out;
15093 octave_value_list *_outp=&_out;
15094 octave_value _outv;
15095
15096 try {
15097 if (!SWIG_check_num_args("plimagefrx",args.length(),10,10,0)) {
15098 SWIG_fail;
15099 }
15100 {
15101 if ( _n_dims( args(0) ) > 2 )
15102 {
15103 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15104 }
15105 temp1 = args(0).matrix_value();
15106 arg1 = &temp1( 0, 0 );
15107 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
15108 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
15109 }
15110 ecode4 = SWIG_AsVal_double(args(1), &val4);
15111 if (!SWIG_IsOK(ecode4)) {
15112 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plimagefrx" "', argument " "4"" of type '" "PLFLT""'");
15113 }
15114 arg4 = static_cast< PLFLT >(val4);
15115 ecode5 = SWIG_AsVal_double(args(2), &val5);
15116 if (!SWIG_IsOK(ecode5)) {
15117 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plimagefrx" "', argument " "5"" of type '" "PLFLT""'");
15118 }
15119 arg5 = static_cast< PLFLT >(val5);
15120 ecode6 = SWIG_AsVal_double(args(3), &val6);
15121 if (!SWIG_IsOK(ecode6)) {
15122 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plimagefrx" "', argument " "6"" of type '" "PLFLT""'");
15123 }
15124 arg6 = static_cast< PLFLT >(val6);
15125 ecode7 = SWIG_AsVal_double(args(4), &val7);
15126 if (!SWIG_IsOK(ecode7)) {
15127 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plimagefrx" "', argument " "7"" of type '" "PLFLT""'");
15128 }
15129 arg7 = static_cast< PLFLT >(val7);
15130 ecode8 = SWIG_AsVal_double(args(5), &val8);
15131 if (!SWIG_IsOK(ecode8)) {
15132 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plimagefrx" "', argument " "8"" of type '" "PLFLT""'");
15133 }
15134 arg8 = static_cast< PLFLT >(val8);
15135 ecode9 = SWIG_AsVal_double(args(6), &val9);
15136 if (!SWIG_IsOK(ecode9)) {
15137 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plimagefrx" "', argument " "9"" of type '" "PLFLT""'");
15138 }
15139 arg9 = static_cast< PLFLT >(val9);
15140 ecode10 = SWIG_AsVal_double(args(7), &val10);
15141 if (!SWIG_IsOK(ecode10)) {
15142 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plimagefrx" "', argument " "10"" of type '" "PLFLT""'");
15143 }
15144 arg10 = static_cast< PLFLT >(val10);
15145 ecode11 = SWIG_AsVal_double(args(8), &val11);
15146 if (!SWIG_IsOK(ecode11)) {
15147 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plimagefrx" "', argument " "11"" of type '" "PLFLT""'");
15148 }
15149 arg11 = static_cast< PLFLT >(val11);
15150 {
15151 if ( _n_dims( args(9) ) > 1 )
15152 {
15153 error( "argument must be a scalar or vector" ); SWIG_fail;
15154 }
15155 if ( _dim( args(9), 0 ) != 6 )
15156 {
15157 error( "argument vectors must have length of 6" ); SWIG_fail;
15158 }
15159 temp12 = args(9).matrix_value();
15160 arg12 = &temp12( 0, 0 );
15161 }
15162 my_plimagefrx((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
15163 _outv = octave_value();
15164 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15165 {
15166
15167 }
15168 {
15169
15170 }
15171 return _out;
15172 fail:
15173 {
15174
15175 }
15176 {
15177
15178 }
15179 return octave_value_list();
15180 }
15181 catch(...) {
15182 {
15183
15184 }
15185 {
15186
15187 }
15188 throw;
15189 }
15190}
15191
15192
15193SWIG_DEFUN( plimagefr1, _wrap_plimagefr1, std::string() ) {
15194 PLFLT *arg1 = 0 ;
15195 PLINT arg2 ;
15196 PLINT arg3 ;
15197 PLFLT arg4 ;
15198 PLFLT arg5 ;
15199 PLFLT arg6 ;
15200 PLFLT arg7 ;
15201 PLFLT arg8 ;
15202 PLFLT arg9 ;
15203 PLFLT arg10 ;
15204 PLFLT arg11 ;
15205 PLFLT *arg12 = 0 ;
15206 PLFLT *arg13 = 0 ;
15207 Matrix temp1 ;
15208 double val4 ;
15209 int ecode4 = 0 ;
15210 double val5 ;
15211 int ecode5 = 0 ;
15212 double val6 ;
15213 int ecode6 = 0 ;
15214 double val7 ;
15215 int ecode7 = 0 ;
15216 double val8 ;
15217 int ecode8 = 0 ;
15218 double val9 ;
15219 int ecode9 = 0 ;
15220 double val10 ;
15221 int ecode10 = 0 ;
15222 double val11 ;
15223 int ecode11 = 0 ;
15224 Matrix temp12 ;
15225 Matrix temp13 ;
15226 octave_value_list _out;
15227 octave_value_list *_outp=&_out;
15228 octave_value _outv;
15229
15230 try {
15231 if (!SWIG_check_num_args("plimagefr1",args.length(),11,11,0)) {
15232 SWIG_fail;
15233 }
15234 {
15235 if ( _n_dims( args(0) ) > 2 )
15236 {
15237 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15238 }
15239 temp1 = args(0).matrix_value();
15240 arg1 = &temp1( 0, 0 );
15241 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
15242 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
15243 }
15244 ecode4 = SWIG_AsVal_double(args(1), &val4);
15245 if (!SWIG_IsOK(ecode4)) {
15246 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plimagefr1" "', argument " "4"" of type '" "PLFLT""'");
15247 }
15248 arg4 = static_cast< PLFLT >(val4);
15249 ecode5 = SWIG_AsVal_double(args(2), &val5);
15250 if (!SWIG_IsOK(ecode5)) {
15251 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plimagefr1" "', argument " "5"" of type '" "PLFLT""'");
15252 }
15253 arg5 = static_cast< PLFLT >(val5);
15254 ecode6 = SWIG_AsVal_double(args(3), &val6);
15255 if (!SWIG_IsOK(ecode6)) {
15256 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plimagefr1" "', argument " "6"" of type '" "PLFLT""'");
15257 }
15258 arg6 = static_cast< PLFLT >(val6);
15259 ecode7 = SWIG_AsVal_double(args(4), &val7);
15260 if (!SWIG_IsOK(ecode7)) {
15261 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plimagefr1" "', argument " "7"" of type '" "PLFLT""'");
15262 }
15263 arg7 = static_cast< PLFLT >(val7);
15264 ecode8 = SWIG_AsVal_double(args(5), &val8);
15265 if (!SWIG_IsOK(ecode8)) {
15266 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plimagefr1" "', argument " "8"" of type '" "PLFLT""'");
15267 }
15268 arg8 = static_cast< PLFLT >(val8);
15269 ecode9 = SWIG_AsVal_double(args(6), &val9);
15270 if (!SWIG_IsOK(ecode9)) {
15271 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plimagefr1" "', argument " "9"" of type '" "PLFLT""'");
15272 }
15273 arg9 = static_cast< PLFLT >(val9);
15274 ecode10 = SWIG_AsVal_double(args(7), &val10);
15275 if (!SWIG_IsOK(ecode10)) {
15276 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plimagefr1" "', argument " "10"" of type '" "PLFLT""'");
15277 }
15278 arg10 = static_cast< PLFLT >(val10);
15279 ecode11 = SWIG_AsVal_double(args(8), &val11);
15280 if (!SWIG_IsOK(ecode11)) {
15281 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plimagefr1" "', argument " "11"" of type '" "PLFLT""'");
15282 }
15283 arg11 = static_cast< PLFLT >(val11);
15284 {
15285 if ( _n_dims( args(9) ) > 1 )
15286 {
15287 error( "argument must be a scalar or vector" ); SWIG_fail;
15288 }
15289 if ( _dim( args(9), 0 ) != Xlen )
15290 {
15291 error( "argument vectors must be same length" ); SWIG_fail;
15292 }
15293 temp12 = args(9).matrix_value();
15294 arg12 = &temp12( 0, 0 );
15295 }
15296 {
15297 if ( _n_dims( args(10) ) > 1 )
15298 {
15299 error( "argument must be a scalar or vector" ); SWIG_fail;
15300 }
15301 if ( _dim( args(10), 0 ) != Ylen )
15302 {
15303 error( "argument vectors must be same length" ); SWIG_fail;
15304 }
15305 temp13 = args(10).matrix_value();
15306 arg13 = &temp13( 0, 0 );
15307 }
15308 my_plimagefr1((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,(double const *)arg12,(double const *)arg13);
15309 _outv = octave_value();
15310 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15311 {
15312
15313 }
15314 {
15315
15316 }
15317 {
15318
15319 }
15320 return _out;
15321 fail:
15322 {
15323
15324 }
15325 {
15326
15327 }
15328 {
15329
15330 }
15331 return octave_value_list();
15332 }
15333 catch(...) {
15334 {
15335
15336 }
15337 {
15338
15339 }
15340 {
15341
15342 }
15343 throw;
15344 }
15345}
15346
15347
15348SWIG_DEFUN( plimagefr2, _wrap_plimagefr2, std::string() ) {
15349 PLFLT *arg1 = 0 ;
15350 PLINT arg2 ;
15351 PLINT arg3 ;
15352 PLFLT arg4 ;
15353 PLFLT arg5 ;
15354 PLFLT arg6 ;
15355 PLFLT arg7 ;
15356 PLFLT arg8 ;
15357 PLFLT arg9 ;
15358 PLFLT arg10 ;
15359 PLFLT arg11 ;
15360 PLFLT *arg12 = 0 ;
15361 PLFLT *arg13 = 0 ;
15362 Matrix temp1 ;
15363 double val4 ;
15364 int ecode4 = 0 ;
15365 double val5 ;
15366 int ecode5 = 0 ;
15367 double val6 ;
15368 int ecode6 = 0 ;
15369 double val7 ;
15370 int ecode7 = 0 ;
15371 double val8 ;
15372 int ecode8 = 0 ;
15373 double val9 ;
15374 int ecode9 = 0 ;
15375 double val10 ;
15376 int ecode10 = 0 ;
15377 double val11 ;
15378 int ecode11 = 0 ;
15379 Matrix temp12 ;
15380 Matrix temp13 ;
15381 octave_value_list _out;
15382 octave_value_list *_outp=&_out;
15383 octave_value _outv;
15384
15385 try {
15386 if (!SWIG_check_num_args("plimagefr2",args.length(),11,11,0)) {
15387 SWIG_fail;
15388 }
15389 {
15390 if ( _n_dims( args(0) ) > 2 )
15391 {
15392 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15393 }
15394 temp1 = args(0).matrix_value();
15395 arg1 = &temp1( 0, 0 );
15396 arg2 = Xlen = (PLINT) ( _dim( args(0), 0 ) );
15397 arg3 = Ylen = (PLINT) ( _dim( args(0), 1 ) );
15398 }
15399 ecode4 = SWIG_AsVal_double(args(1), &val4);
15400 if (!SWIG_IsOK(ecode4)) {
15401 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plimagefr2" "', argument " "4"" of type '" "PLFLT""'");
15402 }
15403 arg4 = static_cast< PLFLT >(val4);
15404 ecode5 = SWIG_AsVal_double(args(2), &val5);
15405 if (!SWIG_IsOK(ecode5)) {
15406 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plimagefr2" "', argument " "5"" of type '" "PLFLT""'");
15407 }
15408 arg5 = static_cast< PLFLT >(val5);
15409 ecode6 = SWIG_AsVal_double(args(3), &val6);
15410 if (!SWIG_IsOK(ecode6)) {
15411 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plimagefr2" "', argument " "6"" of type '" "PLFLT""'");
15412 }
15413 arg6 = static_cast< PLFLT >(val6);
15414 ecode7 = SWIG_AsVal_double(args(4), &val7);
15415 if (!SWIG_IsOK(ecode7)) {
15416 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plimagefr2" "', argument " "7"" of type '" "PLFLT""'");
15417 }
15418 arg7 = static_cast< PLFLT >(val7);
15419 ecode8 = SWIG_AsVal_double(args(5), &val8);
15420 if (!SWIG_IsOK(ecode8)) {
15421 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plimagefr2" "', argument " "8"" of type '" "PLFLT""'");
15422 }
15423 arg8 = static_cast< PLFLT >(val8);
15424 ecode9 = SWIG_AsVal_double(args(6), &val9);
15425 if (!SWIG_IsOK(ecode9)) {
15426 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plimagefr2" "', argument " "9"" of type '" "PLFLT""'");
15427 }
15428 arg9 = static_cast< PLFLT >(val9);
15429 ecode10 = SWIG_AsVal_double(args(7), &val10);
15430 if (!SWIG_IsOK(ecode10)) {
15431 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plimagefr2" "', argument " "10"" of type '" "PLFLT""'");
15432 }
15433 arg10 = static_cast< PLFLT >(val10);
15434 ecode11 = SWIG_AsVal_double(args(8), &val11);
15435 if (!SWIG_IsOK(ecode11)) {
15436 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plimagefr2" "', argument " "11"" of type '" "PLFLT""'");
15437 }
15438 arg11 = static_cast< PLFLT >(val11);
15439 {
15440 if ( _n_dims( args(9) ) > 2 )
15441 {
15442 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15443 }
15444 temp12 = args(9).matrix_value();
15445 arg12 = &temp12( 0, 0 );
15446 Xlen = (PLINT) ( _dim( args(9), 0 ) );
15447 Ylen = (PLINT) ( _dim( args(9), 1 ) );
15448 }
15449 {
15450 if ( _n_dims( args(10) ) > 2 )
15451 {
15452 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15453 }
15454 temp13 = args(10).matrix_value();
15455 arg13 = &temp13( 0, 0 );
15456 Xlen = (PLINT) ( _dim( args(10), 0 ) );
15457 Ylen = (PLINT) ( _dim( args(10), 1 ) );
15458 }
15459 my_plimagefr2((double const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,(double const *)arg12,(double const *)arg13);
15460 _outv = octave_value();
15461 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15462 {
15463
15464 }
15465 {
15466
15467 }
15468 {
15469
15470 }
15471 return _out;
15472 fail:
15473 {
15474
15475 }
15476 {
15477
15478 }
15479 {
15480
15481 }
15482 return octave_value_list();
15483 }
15484 catch(...) {
15485 {
15486
15487 }
15488 {
15489
15490 }
15491 {
15492
15493 }
15494 throw;
15495 }
15496}
15497
15498
15499SWIG_DEFUN( plcolorbar, _wrap_plcolorbar, _wrap_plcolorbar_texinfo ) {
15500 PLFLT *arg1 = 0 ;
15501 PLFLT *arg2 = 0 ;
15502 PLINT arg3 ;
15503 PLINT arg4 ;
15504 PLFLT arg5 ;
15505 PLFLT arg6 ;
15506 PLFLT arg7 ;
15507 PLFLT arg8 ;
15508 PLINT arg9 ;
15509 PLINT arg10 ;
15510 PLINT arg11 ;
15511 PLFLT arg12 ;
15512 PLFLT arg13 ;
15513 PLINT arg14 ;
15514 PLFLT arg15 ;
15515 PLINT arg16 ;
15516 PLINT *arg17 = 0 ;
15517 char **arg18 = 0 ;
15518 PLINT arg19 ;
15519 char **arg20 = 0 ;
15520 PLFLT *arg21 = 0 ;
15521 PLINT *arg22 = 0 ;
15522 PLINT *arg23 = 0 ;
15523 PLFLT *arg24 = 0 ;
15524 PLFLT temp1 ;
15525 int res1 = SWIG_TMPOBJ ;
15526 PLFLT temp2 ;
15527 int res2 = SWIG_TMPOBJ ;
15528 int val3 ;
15529 int ecode3 = 0 ;
15530 int val4 ;
15531 int ecode4 = 0 ;
15532 double val5 ;
15533 int ecode5 = 0 ;
15534 double val6 ;
15535 int ecode6 = 0 ;
15536 double val7 ;
15537 int ecode7 = 0 ;
15538 double val8 ;
15539 int ecode8 = 0 ;
15540 int val9 ;
15541 int ecode9 = 0 ;
15542 int val10 ;
15543 int ecode10 = 0 ;
15544 int val11 ;
15545 int ecode11 = 0 ;
15546 double val12 ;
15547 int ecode12 = 0 ;
15548 double val13 ;
15549 int ecode13 = 0 ;
15550 int val14 ;
15551 int ecode14 = 0 ;
15552 double val15 ;
15553 int ecode15 = 0 ;
15554 Matrix temp16 ;
15555 Matrix temp21 ;
15556 Matrix temp22 ;
15557 Matrix temp23 ;
15558 Matrix temp24 ;
15559 octave_value_list _out;
15560 octave_value_list *_outp=&_out;
15561 octave_value _outv;
15562
15563 try {
15564 arg1 = &temp1;
15565 arg2 = &temp2;
15566 if (!SWIG_check_num_args("plcolorbar",args.length(),20,20,0)) {
15567 SWIG_fail;
15568 }
15569 ecode3 = SWIG_AsVal_int(args(0), &val3);
15570 if (!SWIG_IsOK(ecode3)) {
15571 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plcolorbar" "', argument " "3"" of type '" "PLINT""'");
15572 }
15573 arg3 = static_cast< PLINT >(val3);
15574 ecode4 = SWIG_AsVal_int(args(1), &val4);
15575 if (!SWIG_IsOK(ecode4)) {
15576 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plcolorbar" "', argument " "4"" of type '" "PLINT""'");
15577 }
15578 arg4 = static_cast< PLINT >(val4);
15579 ecode5 = SWIG_AsVal_double(args(2), &val5);
15580 if (!SWIG_IsOK(ecode5)) {
15581 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plcolorbar" "', argument " "5"" of type '" "PLFLT""'");
15582 }
15583 arg5 = static_cast< PLFLT >(val5);
15584 ecode6 = SWIG_AsVal_double(args(3), &val6);
15585 if (!SWIG_IsOK(ecode6)) {
15586 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plcolorbar" "', argument " "6"" of type '" "PLFLT""'");
15587 }
15588 arg6 = static_cast< PLFLT >(val6);
15589 ecode7 = SWIG_AsVal_double(args(4), &val7);
15590 if (!SWIG_IsOK(ecode7)) {
15591 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plcolorbar" "', argument " "7"" of type '" "PLFLT""'");
15592 }
15593 arg7 = static_cast< PLFLT >(val7);
15594 ecode8 = SWIG_AsVal_double(args(5), &val8);
15595 if (!SWIG_IsOK(ecode8)) {
15596 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plcolorbar" "', argument " "8"" of type '" "PLFLT""'");
15597 }
15598 arg8 = static_cast< PLFLT >(val8);
15599 ecode9 = SWIG_AsVal_int(args(6), &val9);
15600 if (!SWIG_IsOK(ecode9)) {
15601 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plcolorbar" "', argument " "9"" of type '" "PLINT""'");
15602 }
15603 arg9 = static_cast< PLINT >(val9);
15604 ecode10 = SWIG_AsVal_int(args(7), &val10);
15605 if (!SWIG_IsOK(ecode10)) {
15606 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plcolorbar" "', argument " "10"" of type '" "PLINT""'");
15607 }
15608 arg10 = static_cast< PLINT >(val10);
15609 ecode11 = SWIG_AsVal_int(args(8), &val11);
15610 if (!SWIG_IsOK(ecode11)) {
15611 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plcolorbar" "', argument " "11"" of type '" "PLINT""'");
15612 }
15613 arg11 = static_cast< PLINT >(val11);
15614 ecode12 = SWIG_AsVal_double(args(9), &val12);
15615 if (!SWIG_IsOK(ecode12)) {
15616 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plcolorbar" "', argument " "12"" of type '" "PLFLT""'");
15617 }
15618 arg12 = static_cast< PLFLT >(val12);
15619 ecode13 = SWIG_AsVal_double(args(10), &val13);
15620 if (!SWIG_IsOK(ecode13)) {
15621 SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "plcolorbar" "', argument " "13"" of type '" "PLFLT""'");
15622 }
15623 arg13 = static_cast< PLFLT >(val13);
15624 ecode14 = SWIG_AsVal_int(args(11), &val14);
15625 if (!SWIG_IsOK(ecode14)) {
15626 SWIG_exception_fail(SWIG_ArgError(ecode14), "in method '" "plcolorbar" "', argument " "14"" of type '" "PLINT""'");
15627 }
15628 arg14 = static_cast< PLINT >(val14);
15629 ecode15 = SWIG_AsVal_double(args(12), &val15);
15630 if (!SWIG_IsOK(ecode15)) {
15631 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "plcolorbar" "', argument " "15"" of type '" "PLFLT""'");
15632 }
15633 arg15 = static_cast< PLFLT >(val15);
15634 {
15635 if ( _n_dims( args(13) ) > 1 )
15636 {
15637 error( "argument must be a scalar or vector" ); SWIG_fail;
15638 }
15639 arg16 = Alen = (PLINT) ( _dim( args(13), 0 ) );
15640 arg17 = new PLINT[Alen];
15641 temp16 = args(13).matrix_value();
15642 _cvt_double_to( arg17, &temp16( 0, 0 ), Alen );
15643 }
15644 {
15645 charMatrix temp_matrix;
15646 Cell temp_cell;
15647 char *tmp_cstring;
15648 std::string str;
15649 size_t max_length = 0, non_blank_length;
15650 int i, ifcell;
15651 if ( _n_dims( args(14) ) > 2 )
15652 {
15653 error( "argument must be a scalar or vector or matrix" ); SWIG_fail;
15654 }
15655#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
15656 if ( !args(14).isempty() )
15657#else
15658 if ( !args(14).is_empty() )
15659#endif
15660 {
15661 if ( _dim( args(14), 0 ) != Alen )
15662 {
15663 error( "first dimension must be same length as previous vector" ); SWIG_fail;
15664 }
15665 arg18 = new char*[Alen];
15666#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
15667 ifcell = args(14).iscell();
15668#else
15669 ifcell = args(14).is_cell();
15670#endif
15671 if ( ifcell )
15672 {
15673 temp_cell = args(14).cell_value();
15674 }
15675 else
15676 {
15677 temp_matrix = args(14).char_matrix_value();
15678 // Allow one extra space for null termination.
15679 max_length = _dim( args(14), 1 ) + 1;
15680 }
15681
15682 for ( i = 0; i < Alen; i++ )
15683 {
15684 // Must copy string to "permanent" location because the string
15685 // location corresponding to tmp_cstring gets
15686 // overwritten for each iteration of loop.
15687 if ( ifcell )
15688 {
15689 if ( temp_cell.elem( i ).is_string() )
15690 {
15691 str = temp_cell.elem( i ).string_value();
15692 // leave room for null termination.
15693 max_length = str.size() + 1;
15694 tmp_cstring = (char *) str.c_str();
15695 }
15696 else
15697 {
15698 // Use null string if user attempts to pass a cell array
15699 // with a non-string element (likely an empty element
15700 // since that should be allowed by the PLplot interface
15701 // if that element is going to be unused).
15702 // leave room for null termination.
15703 max_length = 1;
15704 tmp_cstring = (char *) "";
15705 }
15706 }
15707 else
15708 {
15709 str = temp_matrix.row_as_string( i );
15710 tmp_cstring = (char *) str.c_str();
15711 }
15712 arg18[i] = new char[max_length];
15713 strncpy( arg18[i], tmp_cstring, max_length - 1 );
15714 arg18[i][max_length - 1] = '\0';
15715 // All the trailing blank crapola should not be needed for
15716 // string cell arrays.
15717 if ( !ifcell )
15718 {
15719 // remove trailing-blank padding that is used by the
15720 // charMatrix class to insure all strings in a given
15721 // charMatrix instance have the same length.
15722 // This transformation also removes legitimate trailing
15723 // blanks but there is nothing we can do about that
15724 // for the charMatrix class.
15725
15726 // Look for trailing nulls first (just in case, although that
15727 // shouldn't happen if charMatrix implemented as documented)
15728 // before looking for trailing blanks.
15729 non_blank_length = max_length - 2;
15730 while ( non_blank_length >= 0 && arg18[i][non_blank_length] == '\0' )
15731 {
15732 non_blank_length--;
15733 }
15734 while ( non_blank_length >= 0 && arg18[i][non_blank_length] == ' ' )
15735 {
15736 non_blank_length--;
15737 }
15738 arg18[i][non_blank_length + 1] = '\0';
15739 }
15740 }
15741 }
15742 else
15743 {
15744 arg18 = NULL;
15745 }
15746 }
15747 {
15748 charMatrix temp_matrix;
15749 Cell temp_cell;
15750 char *tmp_cstring;
15751 std::string str;
15752 size_t max_length = 0, non_blank_length;
15753 int i, ifcell;
15754 if ( _n_dims( args(15) ) > 2 )
15755 {
15756 error( "argument must be a scalar or vector or matrix" ); SWIG_fail;
15757 }
15758#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
15759 if ( !args(15).isempty() )
15760#else
15761 if ( !args(15).is_empty() )
15762#endif
15763 {
15764 Alen = _dim( args(15), 0 );
15765 arg19 = Alen;
15766 arg20 = new char*[Alen];
15767#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
15768 ifcell = args(15).iscell();
15769#else
15770 ifcell = args(15).is_cell();
15771#endif
15772 if ( ifcell )
15773 {
15774 temp_cell = args(15).cell_value();
15775 }
15776 else
15777 {
15778 temp_matrix = args(15).char_matrix_value();
15779 // Allow one extra space for null termination.
15780 max_length = _dim( args(15), 1 ) + 1;
15781 }
15782
15783 for ( i = 0; i < Alen; i++ )
15784 {
15785 // Must copy string to "permanent" location because the string
15786 // location corresponding to tmp_cstring gets
15787 // overwritten for each iteration of loop.
15788 if ( ifcell )
15789 {
15790 if ( temp_cell.elem( i ).is_string() )
15791 {
15792 str = temp_cell.elem( i ).string_value();
15793 // leave room for null termination.
15794 max_length = str.size() + 1;
15795 tmp_cstring = (char *) str.c_str();
15796 }
15797 else
15798 {
15799 // Use null string if user attempts to pass a cell array
15800 // with a non-string element (likely an empty element
15801 // since that should be allowed by the PLplot interface
15802 // if that element is going to be unused).
15803 // leave room for null termination.
15804 max_length = 1;
15805 tmp_cstring = (char *) "";
15806 }
15807 }
15808 else
15809 {
15810 str = temp_matrix.row_as_string( i );
15811 tmp_cstring = (char *) str.c_str();
15812 }
15813 arg20[i] = new char[max_length];
15814 strncpy( arg20[i], tmp_cstring, max_length - 1 );
15815 arg20[i][max_length - 1] = '\0';
15816 // All the trailing blank crapola should not be needed for
15817 // string cell arrays.
15818 if ( !ifcell )
15819 {
15820 // remove trailing-blank padding that is used by the
15821 // charMatrix class to insure all strings in a given
15822 // charMatrix instance have the same length.
15823 // This transformation also removes legitimate trailing
15824 // blanks but there is nothing we can do about that
15825 // for the charMatrix class.
15826
15827 // Look for trailing nulls first (just in case, although that
15828 // shouldn't happen if charMatrix implemented as documented)
15829 // before looking for trailing blanks.
15830 non_blank_length = max_length - 2;
15831 while ( non_blank_length >= 0 && arg20[i][non_blank_length] == '\0' )
15832 {
15833 non_blank_length--;
15834 }
15835 while ( non_blank_length >= 0 && arg20[i][non_blank_length] == ' ' )
15836 {
15837 non_blank_length--;
15838 }
15839 arg20[i][non_blank_length + 1] = '\0';
15840 }
15841 }
15842 }
15843 else
15844 {
15845 arg19 = 0;
15846 arg20 = NULL;
15847 }
15848 }
15849 {
15850 if ( _n_dims( args(16) ) > 1 )
15851 {
15852 error( "argument must be a scalar or vector" ); SWIG_fail;
15853 }
15854 if ( _dim( args(16), 0 ) != Alen )
15855 {
15856 error( "argument vectors must be same length" ); SWIG_fail;
15857 }
15858 temp21 = args(16).matrix_value();
15859 arg21 = &temp21( 0, 0 );
15860 }
15861 {
15862 if ( _n_dims( args(17) ) > 1 )
15863 {
15864 error( "argument must be a scalar or vector" ); SWIG_fail;
15865 }
15866 if ( _dim( args(17), 0 ) != Alen )
15867 {
15868 error( "argument vectors must be same length" ); SWIG_fail;
15869 }
15870 temp22 = args(17).matrix_value();
15871 arg22 = new PLINT[Alen];
15872 _cvt_double_to( arg22, &temp22( 0, 0 ), Alen );
15873 }
15874 {
15875 int i;
15876 if ( _n_dims( args(18) ) > 1 )
15877 {
15878 error( "argument must be a scalar or vector" ); SWIG_fail;
15879 }
15880 if ( _dim( args(18), 0 ) != Alen )
15881 {
15882 error( "argument vectors must be same length" ); SWIG_fail;
15883 }
15884 Xlen = Alen;
15885 temp23 = args(18).matrix_value();
15886 arg23 = new PLINT[Alen];
15887 _cvt_double_to( arg23, &temp23( 0, 0 ), Alen );
15888 Ylen = -1;
15889 for ( i = 0; i < Xlen; i++ )
15890 if ( arg23[i] > Ylen )
15891 Ylen = arg23[i];
15892 }
15893 {
15894 if ( _n_dims( args(19) ) > 2 )
15895 {
15896 error( "argument must be a scalar, vector, or 2D matrix." ); SWIG_fail;
15897 }
15898 if ( _dim( args(19), 0 ) != Xlen )
15899 {
15900 error( "argument matrix must have same X length as X vector" ); SWIG_fail;
15901 }
15902 if ( _dim( args(19), 1 ) != Ylen )
15903 {
15904 error( "argument matrix must have same Y length as Y vector" ); SWIG_fail;
15905 }
15906 temp24 = args(19).matrix_value();
15907 arg24 = &temp24( 0, 0 );
15908 }
15909 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);
15910 _outv = octave_value();
15911 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
15912 if (SWIG_IsTmpObj(res1)) {
15913 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
15914 } else {
15915 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
15916 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
15917 }
15918 if (SWIG_IsTmpObj(res2)) {
15919 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
15920 } else {
15921 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
15922 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
15923 }
15924 {
15925 delete [] arg17;
15926 }
15927 {
15928 int i;
15929 if ( arg18 != NULL )
15930 {
15931 for ( i = 0; i < Alen; i++ )
15932 {
15933 delete[] arg18[i];
15934 }
15935 delete[] arg18;
15936 }
15937 }
15938 {
15939 int i;
15940 if ( arg20 != NULL )
15941 {
15942 for ( i = 0; i < Alen; i++ )
15943 {
15944 delete[] arg20[i];
15945 }
15946 delete[] arg20;
15947 }
15948 }
15949 {
15950
15951 }
15952 {
15953 delete [] arg22;
15954 }
15955 {
15956 delete [] arg23;
15957 }
15958 {
15959
15960 }
15961 return _out;
15962 fail:
15963 {
15964 delete [] arg17;
15965 }
15966 {
15967 int i;
15968 if ( arg18 != NULL )
15969 {
15970 for ( i = 0; i < Alen; i++ )
15971 {
15972 delete[] arg18[i];
15973 }
15974 delete[] arg18;
15975 }
15976 }
15977 {
15978 int i;
15979 if ( arg20 != NULL )
15980 {
15981 for ( i = 0; i < Alen; i++ )
15982 {
15983 delete[] arg20[i];
15984 }
15985 delete[] arg20;
15986 }
15987 }
15988 {
15989
15990 }
15991 {
15992 delete [] arg22;
15993 }
15994 {
15995 delete [] arg23;
15996 }
15997 {
15998
15999 }
16000 return octave_value_list();
16001 }
16002 catch(...) {
16003 {
16004 delete [] arg17;
16005 }
16006 {
16007 int i;
16008 if ( arg18 != NULL )
16009 {
16010 for ( i = 0; i < Alen; i++ )
16011 {
16012 delete[] arg18[i];
16013 }
16014 delete[] arg18;
16015 }
16016 }
16017 {
16018 int i;
16019 if ( arg20 != NULL )
16020 {
16021 for ( i = 0; i < Alen; i++ )
16022 {
16023 delete[] arg20[i];
16024 }
16025 delete[] arg20;
16026 }
16027 }
16028 {
16029
16030 }
16031 {
16032 delete [] arg22;
16033 }
16034 {
16035 delete [] arg23;
16036 }
16037 {
16038
16039 }
16040 throw;
16041 }
16042}
16043
16044
16045SWIG_DEFUN( PLGraphicsIn_type_set, _wrap_PLGraphicsIn_type_set, std::string() ) {
16046 PLGraphicsIn *arg1 = 0 ;
16047 int arg2 ;
16048 void *argp1 = 0 ;
16049 int res1 = 0 ;
16050 int val2 ;
16051 int ecode2 = 0 ;
16052 octave_value_list _out;
16053 octave_value_list *_outp=&_out;
16054 octave_value _outv;
16055
16056 try {
16057 if (!SWIG_check_num_args("PLGraphicsIn_type_set",args.length(),2,2,0)) {
16058 SWIG_fail;
16059 }
16060 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16061 if (!SWIG_IsOK(res1)) {
16062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_type_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16063 }
16064 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16065 ecode2 = SWIG_AsVal_int(args(1), &val2);
16066 if (!SWIG_IsOK(ecode2)) {
16067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_type_set" "', argument " "2"" of type '" "int""'");
16068 }
16069 arg2 = static_cast< int >(val2);
16070 if (arg1) (arg1)->type = arg2;
16071 _outv = octave_value();
16072 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16073 return _out;
16074 fail:
16075 return octave_value_list();
16076 }
16077 catch(...) {
16078 throw;
16079 }
16080}
16081
16082
16083SWIG_DEFUN( PLGraphicsIn_type_get, _wrap_PLGraphicsIn_type_get, std::string() ) {
16084 PLGraphicsIn *arg1 = 0 ;
16085 void *argp1 = 0 ;
16086 int res1 = 0 ;
16087 octave_value_list _out;
16088 octave_value_list *_outp=&_out;
16089 octave_value _outv;
16090 int result;
16091
16092 try {
16093 if (!SWIG_check_num_args("PLGraphicsIn_type_get",args.length(),1,1,0)) {
16094 SWIG_fail;
16095 }
16096 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16097 if (!SWIG_IsOK(res1)) {
16098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_type_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16099 }
16100 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16101 result = (int) ((arg1)->type);
16102 _outv = SWIG_From_int(static_cast< int >(result));
16103 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16104 return _out;
16105 fail:
16106 return octave_value_list();
16107 }
16108 catch(...) {
16109 throw;
16110 }
16111}
16112
16113
16114SWIG_DEFUN( PLGraphicsIn_state_set, _wrap_PLGraphicsIn_state_set, std::string() ) {
16115 PLGraphicsIn *arg1 = 0 ;
16116 unsigned int arg2 ;
16117 void *argp1 = 0 ;
16118 int res1 = 0 ;
16119 unsigned int val2 ;
16120 int ecode2 = 0 ;
16121 octave_value_list _out;
16122 octave_value_list *_outp=&_out;
16123 octave_value _outv;
16124
16125 try {
16126 if (!SWIG_check_num_args("PLGraphicsIn_state_set",args.length(),2,2,0)) {
16127 SWIG_fail;
16128 }
16129 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16130 if (!SWIG_IsOK(res1)) {
16131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_state_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16132 }
16133 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16134 ecode2 = SWIG_AsVal_unsigned_SS_int(args(1), &val2);
16135 if (!SWIG_IsOK(ecode2)) {
16136 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_state_set" "', argument " "2"" of type '" "unsigned int""'");
16137 }
16138 arg2 = static_cast< unsigned int >(val2);
16139 if (arg1) (arg1)->state = arg2;
16140 _outv = octave_value();
16141 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16142 return _out;
16143 fail:
16144 return octave_value_list();
16145 }
16146 catch(...) {
16147 throw;
16148 }
16149}
16150
16151
16152SWIG_DEFUN( PLGraphicsIn_state_get, _wrap_PLGraphicsIn_state_get, std::string() ) {
16153 PLGraphicsIn *arg1 = 0 ;
16154 void *argp1 = 0 ;
16155 int res1 = 0 ;
16156 octave_value_list _out;
16157 octave_value_list *_outp=&_out;
16158 octave_value _outv;
16159 unsigned int result;
16160
16161 try {
16162 if (!SWIG_check_num_args("PLGraphicsIn_state_get",args.length(),1,1,0)) {
16163 SWIG_fail;
16164 }
16165 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16166 if (!SWIG_IsOK(res1)) {
16167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_state_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16168 }
16169 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16170 result = (unsigned int) ((arg1)->state);
16171 _outv = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
16172 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16173 return _out;
16174 fail:
16175 return octave_value_list();
16176 }
16177 catch(...) {
16178 throw;
16179 }
16180}
16181
16182
16183SWIG_DEFUN( PLGraphicsIn_keysym_set, _wrap_PLGraphicsIn_keysym_set, std::string() ) {
16184 PLGraphicsIn *arg1 = 0 ;
16185 unsigned int arg2 ;
16186 void *argp1 = 0 ;
16187 int res1 = 0 ;
16188 unsigned int val2 ;
16189 int ecode2 = 0 ;
16190 octave_value_list _out;
16191 octave_value_list *_outp=&_out;
16192 octave_value _outv;
16193
16194 try {
16195 if (!SWIG_check_num_args("PLGraphicsIn_keysym_set",args.length(),2,2,0)) {
16196 SWIG_fail;
16197 }
16198 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16199 if (!SWIG_IsOK(res1)) {
16200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_keysym_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16201 }
16202 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16203 ecode2 = SWIG_AsVal_unsigned_SS_int(args(1), &val2);
16204 if (!SWIG_IsOK(ecode2)) {
16205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_keysym_set" "', argument " "2"" of type '" "unsigned int""'");
16206 }
16207 arg2 = static_cast< unsigned int >(val2);
16208 if (arg1) (arg1)->keysym = arg2;
16209 _outv = octave_value();
16210 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16211 return _out;
16212 fail:
16213 return octave_value_list();
16214 }
16215 catch(...) {
16216 throw;
16217 }
16218}
16219
16220
16221SWIG_DEFUN( PLGraphicsIn_keysym_get, _wrap_PLGraphicsIn_keysym_get, std::string() ) {
16222 PLGraphicsIn *arg1 = 0 ;
16223 void *argp1 = 0 ;
16224 int res1 = 0 ;
16225 octave_value_list _out;
16226 octave_value_list *_outp=&_out;
16227 octave_value _outv;
16228 unsigned int result;
16229
16230 try {
16231 if (!SWIG_check_num_args("PLGraphicsIn_keysym_get",args.length(),1,1,0)) {
16232 SWIG_fail;
16233 }
16234 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16235 if (!SWIG_IsOK(res1)) {
16236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_keysym_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16237 }
16238 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16239 result = (unsigned int) ((arg1)->keysym);
16240 _outv = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
16241 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16242 return _out;
16243 fail:
16244 return octave_value_list();
16245 }
16246 catch(...) {
16247 throw;
16248 }
16249}
16250
16251
16252SWIG_DEFUN( PLGraphicsIn_button_set, _wrap_PLGraphicsIn_button_set, std::string() ) {
16253 PLGraphicsIn *arg1 = 0 ;
16254 unsigned int arg2 ;
16255 void *argp1 = 0 ;
16256 int res1 = 0 ;
16257 unsigned int val2 ;
16258 int ecode2 = 0 ;
16259 octave_value_list _out;
16260 octave_value_list *_outp=&_out;
16261 octave_value _outv;
16262
16263 try {
16264 if (!SWIG_check_num_args("PLGraphicsIn_button_set",args.length(),2,2,0)) {
16265 SWIG_fail;
16266 }
16267 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16268 if (!SWIG_IsOK(res1)) {
16269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_button_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16270 }
16271 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16272 ecode2 = SWIG_AsVal_unsigned_SS_int(args(1), &val2);
16273 if (!SWIG_IsOK(ecode2)) {
16274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_button_set" "', argument " "2"" of type '" "unsigned int""'");
16275 }
16276 arg2 = static_cast< unsigned int >(val2);
16277 if (arg1) (arg1)->button = arg2;
16278 _outv = octave_value();
16279 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16280 return _out;
16281 fail:
16282 return octave_value_list();
16283 }
16284 catch(...) {
16285 throw;
16286 }
16287}
16288
16289
16290SWIG_DEFUN( PLGraphicsIn_button_get, _wrap_PLGraphicsIn_button_get, std::string() ) {
16291 PLGraphicsIn *arg1 = 0 ;
16292 void *argp1 = 0 ;
16293 int res1 = 0 ;
16294 octave_value_list _out;
16295 octave_value_list *_outp=&_out;
16296 octave_value _outv;
16297 unsigned int result;
16298
16299 try {
16300 if (!SWIG_check_num_args("PLGraphicsIn_button_get",args.length(),1,1,0)) {
16301 SWIG_fail;
16302 }
16303 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16304 if (!SWIG_IsOK(res1)) {
16305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_button_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16306 }
16307 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16308 result = (unsigned int) ((arg1)->button);
16309 _outv = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
16310 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16311 return _out;
16312 fail:
16313 return octave_value_list();
16314 }
16315 catch(...) {
16316 throw;
16317 }
16318}
16319
16320
16321SWIG_DEFUN( PLGraphicsIn_subwindow_set, _wrap_PLGraphicsIn_subwindow_set, std::string() ) {
16322 PLGraphicsIn *arg1 = 0 ;
16323 PLINT arg2 ;
16324 void *argp1 = 0 ;
16325 int res1 = 0 ;
16326 int val2 ;
16327 int ecode2 = 0 ;
16328 octave_value_list _out;
16329 octave_value_list *_outp=&_out;
16330 octave_value _outv;
16331
16332 try {
16333 if (!SWIG_check_num_args("PLGraphicsIn_subwindow_set",args.length(),2,2,0)) {
16334 SWIG_fail;
16335 }
16336 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16337 if (!SWIG_IsOK(res1)) {
16338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_subwindow_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16339 }
16340 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16341 ecode2 = SWIG_AsVal_int(args(1), &val2);
16342 if (!SWIG_IsOK(ecode2)) {
16343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_subwindow_set" "', argument " "2"" of type '" "PLINT""'");
16344 }
16345 arg2 = static_cast< PLINT >(val2);
16346 if (arg1) (arg1)->subwindow = arg2;
16347 _outv = octave_value();
16348 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16349 return _out;
16350 fail:
16351 return octave_value_list();
16352 }
16353 catch(...) {
16354 throw;
16355 }
16356}
16357
16358
16359SWIG_DEFUN( PLGraphicsIn_subwindow_get, _wrap_PLGraphicsIn_subwindow_get, std::string() ) {
16360 PLGraphicsIn *arg1 = 0 ;
16361 void *argp1 = 0 ;
16362 int res1 = 0 ;
16363 octave_value_list _out;
16364 octave_value_list *_outp=&_out;
16365 octave_value _outv;
16366 PLINT result;
16367
16368 try {
16369 if (!SWIG_check_num_args("PLGraphicsIn_subwindow_get",args.length(),1,1,0)) {
16370 SWIG_fail;
16371 }
16372 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16373 if (!SWIG_IsOK(res1)) {
16374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_subwindow_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16375 }
16376 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16377 result = (PLINT) ((arg1)->subwindow);
16378 _outv = SWIG_From_int(static_cast< int >(result));
16379 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16380 return _out;
16381 fail:
16382 return octave_value_list();
16383 }
16384 catch(...) {
16385 throw;
16386 }
16387}
16388
16389
16390SWIG_DEFUN( PLGraphicsIn_string_set, _wrap_PLGraphicsIn_string_set, std::string() ) {
16391 PLGraphicsIn *arg1 = 0 ;
16392 char *arg2 = (char *)0 ;
16393 void *argp1 = 0 ;
16394 int res1 = 0 ;
16395 char temp2[16] ;
16396 int res2 ;
16397 octave_value_list _out;
16398 octave_value_list *_outp=&_out;
16399 octave_value _outv;
16400
16401 try {
16402 if (!SWIG_check_num_args("PLGraphicsIn_string_set",args.length(),2,2,0)) {
16403 SWIG_fail;
16404 }
16405 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16406 if (!SWIG_IsOK(res1)) {
16407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_string_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16408 }
16409 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16410 res2 = SWIG_AsCharArray(args(1), temp2, 16);
16411 if (!SWIG_IsOK(res2)) {
16412 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PLGraphicsIn_string_set" "', argument " "2"" of type '" "char [16]""'");
16413 }
16414 arg2 = reinterpret_cast< char * >(temp2);
16415 if (arg2) memcpy(arg1->string,arg2,16*sizeof(char));
16416 else memset(arg1->string,0,16*sizeof(char));
16417 _outv = octave_value();
16418 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16419 return _out;
16420 fail:
16421 return octave_value_list();
16422 }
16423 catch(...) {
16424 throw;
16425 }
16426}
16427
16428
16429SWIG_DEFUN( PLGraphicsIn_string_get, _wrap_PLGraphicsIn_string_get, std::string() ) {
16430 PLGraphicsIn *arg1 = 0 ;
16431 void *argp1 = 0 ;
16432 int res1 = 0 ;
16433 octave_value_list _out;
16434 octave_value_list *_outp=&_out;
16435 octave_value _outv;
16436 char *result = 0 ;
16437
16438 try {
16439 if (!SWIG_check_num_args("PLGraphicsIn_string_get",args.length(),1,1,0)) {
16440 SWIG_fail;
16441 }
16442 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16443 if (!SWIG_IsOK(res1)) {
16444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_string_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16445 }
16446 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16447 result = (char *)(char *) ((arg1)->string);
16448 {
16449 size_t size = SWIG_strnlen(result, 16);
16450
16451
16452
16453 _outv = SWIG_FromCharPtrAndSize(result, size);
16454 }
16455 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16456 return _out;
16457 fail:
16458 return octave_value_list();
16459 }
16460 catch(...) {
16461 throw;
16462 }
16463}
16464
16465
16466SWIG_DEFUN( PLGraphicsIn_pX_set, _wrap_PLGraphicsIn_pX_set, std::string() ) {
16467 PLGraphicsIn *arg1 = 0 ;
16468 int arg2 ;
16469 void *argp1 = 0 ;
16470 int res1 = 0 ;
16471 int val2 ;
16472 int ecode2 = 0 ;
16473 octave_value_list _out;
16474 octave_value_list *_outp=&_out;
16475 octave_value _outv;
16476
16477 try {
16478 if (!SWIG_check_num_args("PLGraphicsIn_pX_set",args.length(),2,2,0)) {
16479 SWIG_fail;
16480 }
16481 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16482 if (!SWIG_IsOK(res1)) {
16483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pX_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16484 }
16485 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16486 ecode2 = SWIG_AsVal_int(args(1), &val2);
16487 if (!SWIG_IsOK(ecode2)) {
16488 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_pX_set" "', argument " "2"" of type '" "int""'");
16489 }
16490 arg2 = static_cast< int >(val2);
16491 if (arg1) (arg1)->pX = arg2;
16492 _outv = octave_value();
16493 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16494 return _out;
16495 fail:
16496 return octave_value_list();
16497 }
16498 catch(...) {
16499 throw;
16500 }
16501}
16502
16503
16504SWIG_DEFUN( PLGraphicsIn_pX_get, _wrap_PLGraphicsIn_pX_get, std::string() ) {
16505 PLGraphicsIn *arg1 = 0 ;
16506 void *argp1 = 0 ;
16507 int res1 = 0 ;
16508 octave_value_list _out;
16509 octave_value_list *_outp=&_out;
16510 octave_value _outv;
16511 int result;
16512
16513 try {
16514 if (!SWIG_check_num_args("PLGraphicsIn_pX_get",args.length(),1,1,0)) {
16515 SWIG_fail;
16516 }
16517 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16518 if (!SWIG_IsOK(res1)) {
16519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pX_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16520 }
16521 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16522 result = (int) ((arg1)->pX);
16523 _outv = SWIG_From_int(static_cast< int >(result));
16524 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16525 return _out;
16526 fail:
16527 return octave_value_list();
16528 }
16529 catch(...) {
16530 throw;
16531 }
16532}
16533
16534
16535SWIG_DEFUN( PLGraphicsIn_pY_set, _wrap_PLGraphicsIn_pY_set, std::string() ) {
16536 PLGraphicsIn *arg1 = 0 ;
16537 int arg2 ;
16538 void *argp1 = 0 ;
16539 int res1 = 0 ;
16540 int val2 ;
16541 int ecode2 = 0 ;
16542 octave_value_list _out;
16543 octave_value_list *_outp=&_out;
16544 octave_value _outv;
16545
16546 try {
16547 if (!SWIG_check_num_args("PLGraphicsIn_pY_set",args.length(),2,2,0)) {
16548 SWIG_fail;
16549 }
16550 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16551 if (!SWIG_IsOK(res1)) {
16552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pY_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16553 }
16554 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16555 ecode2 = SWIG_AsVal_int(args(1), &val2);
16556 if (!SWIG_IsOK(ecode2)) {
16557 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_pY_set" "', argument " "2"" of type '" "int""'");
16558 }
16559 arg2 = static_cast< int >(val2);
16560 if (arg1) (arg1)->pY = arg2;
16561 _outv = octave_value();
16562 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16563 return _out;
16564 fail:
16565 return octave_value_list();
16566 }
16567 catch(...) {
16568 throw;
16569 }
16570}
16571
16572
16573SWIG_DEFUN( PLGraphicsIn_pY_get, _wrap_PLGraphicsIn_pY_get, std::string() ) {
16574 PLGraphicsIn *arg1 = 0 ;
16575 void *argp1 = 0 ;
16576 int res1 = 0 ;
16577 octave_value_list _out;
16578 octave_value_list *_outp=&_out;
16579 octave_value _outv;
16580 int result;
16581
16582 try {
16583 if (!SWIG_check_num_args("PLGraphicsIn_pY_get",args.length(),1,1,0)) {
16584 SWIG_fail;
16585 }
16586 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16587 if (!SWIG_IsOK(res1)) {
16588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_pY_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16589 }
16590 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16591 result = (int) ((arg1)->pY);
16592 _outv = SWIG_From_int(static_cast< int >(result));
16593 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16594 return _out;
16595 fail:
16596 return octave_value_list();
16597 }
16598 catch(...) {
16599 throw;
16600 }
16601}
16602
16603
16604SWIG_DEFUN( PLGraphicsIn_dX_set, _wrap_PLGraphicsIn_dX_set, std::string() ) {
16605 PLGraphicsIn *arg1 = 0 ;
16606 PLFLT arg2 ;
16607 void *argp1 = 0 ;
16608 int res1 = 0 ;
16609 double val2 ;
16610 int ecode2 = 0 ;
16611 octave_value_list _out;
16612 octave_value_list *_outp=&_out;
16613 octave_value _outv;
16614
16615 try {
16616 if (!SWIG_check_num_args("PLGraphicsIn_dX_set",args.length(),2,2,0)) {
16617 SWIG_fail;
16618 }
16619 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16620 if (!SWIG_IsOK(res1)) {
16621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dX_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16622 }
16623 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16624 ecode2 = SWIG_AsVal_double(args(1), &val2);
16625 if (!SWIG_IsOK(ecode2)) {
16626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_dX_set" "', argument " "2"" of type '" "PLFLT""'");
16627 }
16628 arg2 = static_cast< PLFLT >(val2);
16629 if (arg1) (arg1)->dX = arg2;
16630 _outv = octave_value();
16631 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16632 return _out;
16633 fail:
16634 return octave_value_list();
16635 }
16636 catch(...) {
16637 throw;
16638 }
16639}
16640
16641
16642SWIG_DEFUN( PLGraphicsIn_dX_get, _wrap_PLGraphicsIn_dX_get, std::string() ) {
16643 PLGraphicsIn *arg1 = 0 ;
16644 void *argp1 = 0 ;
16645 int res1 = 0 ;
16646 octave_value_list _out;
16647 octave_value_list *_outp=&_out;
16648 octave_value _outv;
16649 PLFLT result;
16650
16651 try {
16652 if (!SWIG_check_num_args("PLGraphicsIn_dX_get",args.length(),1,1,0)) {
16653 SWIG_fail;
16654 }
16655 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16656 if (!SWIG_IsOK(res1)) {
16657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dX_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16658 }
16659 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16660 result = (PLFLT) ((arg1)->dX);
16661 _outv = SWIG_From_double(static_cast< double >(result));
16662 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16663 return _out;
16664 fail:
16665 return octave_value_list();
16666 }
16667 catch(...) {
16668 throw;
16669 }
16670}
16671
16672
16673SWIG_DEFUN( PLGraphicsIn_dY_set, _wrap_PLGraphicsIn_dY_set, std::string() ) {
16674 PLGraphicsIn *arg1 = 0 ;
16675 PLFLT arg2 ;
16676 void *argp1 = 0 ;
16677 int res1 = 0 ;
16678 double val2 ;
16679 int ecode2 = 0 ;
16680 octave_value_list _out;
16681 octave_value_list *_outp=&_out;
16682 octave_value _outv;
16683
16684 try {
16685 if (!SWIG_check_num_args("PLGraphicsIn_dY_set",args.length(),2,2,0)) {
16686 SWIG_fail;
16687 }
16688 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16689 if (!SWIG_IsOK(res1)) {
16690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dY_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16691 }
16692 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16693 ecode2 = SWIG_AsVal_double(args(1), &val2);
16694 if (!SWIG_IsOK(ecode2)) {
16695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_dY_set" "', argument " "2"" of type '" "PLFLT""'");
16696 }
16697 arg2 = static_cast< PLFLT >(val2);
16698 if (arg1) (arg1)->dY = arg2;
16699 _outv = octave_value();
16700 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16701 return _out;
16702 fail:
16703 return octave_value_list();
16704 }
16705 catch(...) {
16706 throw;
16707 }
16708}
16709
16710
16711SWIG_DEFUN( PLGraphicsIn_dY_get, _wrap_PLGraphicsIn_dY_get, std::string() ) {
16712 PLGraphicsIn *arg1 = 0 ;
16713 void *argp1 = 0 ;
16714 int res1 = 0 ;
16715 octave_value_list _out;
16716 octave_value_list *_outp=&_out;
16717 octave_value _outv;
16718 PLFLT result;
16719
16720 try {
16721 if (!SWIG_check_num_args("PLGraphicsIn_dY_get",args.length(),1,1,0)) {
16722 SWIG_fail;
16723 }
16724 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16725 if (!SWIG_IsOK(res1)) {
16726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_dY_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16727 }
16728 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16729 result = (PLFLT) ((arg1)->dY);
16730 _outv = SWIG_From_double(static_cast< double >(result));
16731 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16732 return _out;
16733 fail:
16734 return octave_value_list();
16735 }
16736 catch(...) {
16737 throw;
16738 }
16739}
16740
16741
16742SWIG_DEFUN( PLGraphicsIn_wX_set, _wrap_PLGraphicsIn_wX_set, std::string() ) {
16743 PLGraphicsIn *arg1 = 0 ;
16744 PLFLT arg2 ;
16745 void *argp1 = 0 ;
16746 int res1 = 0 ;
16747 double val2 ;
16748 int ecode2 = 0 ;
16749 octave_value_list _out;
16750 octave_value_list *_outp=&_out;
16751 octave_value _outv;
16752
16753 try {
16754 if (!SWIG_check_num_args("PLGraphicsIn_wX_set",args.length(),2,2,0)) {
16755 SWIG_fail;
16756 }
16757 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16758 if (!SWIG_IsOK(res1)) {
16759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wX_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16760 }
16761 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16762 ecode2 = SWIG_AsVal_double(args(1), &val2);
16763 if (!SWIG_IsOK(ecode2)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_wX_set" "', argument " "2"" of type '" "PLFLT""'");
16765 }
16766 arg2 = static_cast< PLFLT >(val2);
16767 if (arg1) (arg1)->wX = arg2;
16768 _outv = octave_value();
16769 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16770 return _out;
16771 fail:
16772 return octave_value_list();
16773 }
16774 catch(...) {
16775 throw;
16776 }
16777}
16778
16779
16780SWIG_DEFUN( PLGraphicsIn_wX_get, _wrap_PLGraphicsIn_wX_get, std::string() ) {
16781 PLGraphicsIn *arg1 = 0 ;
16782 void *argp1 = 0 ;
16783 int res1 = 0 ;
16784 octave_value_list _out;
16785 octave_value_list *_outp=&_out;
16786 octave_value _outv;
16787 PLFLT result;
16788
16789 try {
16790 if (!SWIG_check_num_args("PLGraphicsIn_wX_get",args.length(),1,1,0)) {
16791 SWIG_fail;
16792 }
16793 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16794 if (!SWIG_IsOK(res1)) {
16795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wX_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16796 }
16797 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16798 result = (PLFLT) ((arg1)->wX);
16799 _outv = SWIG_From_double(static_cast< double >(result));
16800 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16801 return _out;
16802 fail:
16803 return octave_value_list();
16804 }
16805 catch(...) {
16806 throw;
16807 }
16808}
16809
16810
16811SWIG_DEFUN( PLGraphicsIn_wY_set, _wrap_PLGraphicsIn_wY_set, std::string() ) {
16812 PLGraphicsIn *arg1 = 0 ;
16813 PLFLT arg2 ;
16814 void *argp1 = 0 ;
16815 int res1 = 0 ;
16816 double val2 ;
16817 int ecode2 = 0 ;
16818 octave_value_list _out;
16819 octave_value_list *_outp=&_out;
16820 octave_value _outv;
16821
16822 try {
16823 if (!SWIG_check_num_args("PLGraphicsIn_wY_set",args.length(),2,2,0)) {
16824 SWIG_fail;
16825 }
16826 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16827 if (!SWIG_IsOK(res1)) {
16828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wY_set" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16829 }
16830 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16831 ecode2 = SWIG_AsVal_double(args(1), &val2);
16832 if (!SWIG_IsOK(ecode2)) {
16833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PLGraphicsIn_wY_set" "', argument " "2"" of type '" "PLFLT""'");
16834 }
16835 arg2 = static_cast< PLFLT >(val2);
16836 if (arg1) (arg1)->wY = arg2;
16837 _outv = octave_value();
16838 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16839 return _out;
16840 fail:
16841 return octave_value_list();
16842 }
16843 catch(...) {
16844 throw;
16845 }
16846}
16847
16848
16849SWIG_DEFUN( PLGraphicsIn_wY_get, _wrap_PLGraphicsIn_wY_get, std::string() ) {
16850 PLGraphicsIn *arg1 = 0 ;
16851 void *argp1 = 0 ;
16852 int res1 = 0 ;
16853 octave_value_list _out;
16854 octave_value_list *_outp=&_out;
16855 octave_value _outv;
16856 PLFLT result;
16857
16858 try {
16859 if (!SWIG_check_num_args("PLGraphicsIn_wY_get",args.length(),1,1,0)) {
16860 SWIG_fail;
16861 }
16862 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, 0 | 0 );
16863 if (!SWIG_IsOK(res1)) {
16864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PLGraphicsIn_wY_get" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16865 }
16866 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16867 result = (PLFLT) ((arg1)->wY);
16868 _outv = SWIG_From_double(static_cast< double >(result));
16869 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16870 return _out;
16871 fail:
16872 return octave_value_list();
16873 }
16874 catch(...) {
16875 throw;
16876 }
16877}
16878
16879
16880SWIG_DEFUN( new_PLGraphicsIn, _wrap_new_PLGraphicsIn, std::string() ) {
16881 octave_value_list _out;
16882 octave_value_list *_outp=&_out;
16883 octave_value _outv;
16884 PLGraphicsIn *result = 0 ;
16885
16886 try {
16887 if (!SWIG_check_num_args("new_PLGraphicsIn",args.length(),0,0,0)) {
16888 SWIG_fail;
16889 }
16890 result = (PLGraphicsIn *)new PLGraphicsIn();
16892 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16893 return _out;
16894 fail:
16895 return octave_value_list();
16896 }
16897 catch(...) {
16898 throw;
16899 }
16900}
16901
16902
16903SWIG_DEFUN( delete_PLGraphicsIn, _wrap_delete_PLGraphicsIn, std::string() ) {
16904 PLGraphicsIn *arg1 = 0 ;
16905 void *argp1 = 0 ;
16906 int res1 = 0 ;
16907 octave_value_list _out;
16908 octave_value_list *_outp=&_out;
16909 octave_value _outv;
16910
16911 try {
16912 if (!SWIG_check_num_args("delete_PLGraphicsIn",args.length(),1,1,0)) {
16913 SWIG_fail;
16914 }
16915 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_PLGraphicsIn, SWIG_POINTER_DISOWN | 0 );
16916 if (!SWIG_IsOK(res1)) {
16917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PLGraphicsIn" "', argument " "1"" of type '" "PLGraphicsIn *""'");
16918 }
16919 arg1 = reinterpret_cast< PLGraphicsIn * >(argp1);
16920 delete arg1;
16921 _outv = octave_value();
16922 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16923 return _out;
16924 fail:
16925 return octave_value_list();
16926 }
16927 catch(...) {
16928 throw;
16929 }
16930}
16931
16932
16948static const char *swig_PLGraphicsIn_base_names[] = {0};
16951
16953 PLINT arg1 ;
16954 PLINT arg2 ;
16955 int val1 ;
16956 int ecode1 = 0 ;
16957 int val2 ;
16958 int ecode2 = 0 ;
16959 octave_value_list _out;
16960 octave_value_list *_outp=&_out;
16961 octave_value _outv;
16962
16963 try {
16964 if (!SWIG_check_num_args("pl_setcontlabelformat",args.length(),2,2,0)) {
16965 SWIG_fail;
16966 }
16967 ecode1 = SWIG_AsVal_int(args(0), &val1);
16968 if (!SWIG_IsOK(ecode1)) {
16969 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pl_setcontlabelformat" "', argument " "1"" of type '" "PLINT""'");
16970 }
16971 arg1 = static_cast< PLINT >(val1);
16972 ecode2 = SWIG_AsVal_int(args(1), &val2);
16973 if (!SWIG_IsOK(ecode2)) {
16974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pl_setcontlabelformat" "', argument " "2"" of type '" "PLINT""'");
16975 }
16976 arg2 = static_cast< PLINT >(val2);
16977 pl_setcontlabelformat(arg1,arg2);
16978 _outv = octave_value();
16979 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
16980 return _out;
16981 fail:
16982 return octave_value_list();
16983 }
16984 catch(...) {
16985 throw;
16986 }
16987}
16988
16989
16991 PLFLT arg1 ;
16992 PLFLT arg2 ;
16993 PLFLT arg3 ;
16994 PLINT arg4 ;
16995 double val1 ;
16996 int ecode1 = 0 ;
16997 double val2 ;
16998 int ecode2 = 0 ;
16999 double val3 ;
17000 int ecode3 = 0 ;
17001 int val4 ;
17002 int ecode4 = 0 ;
17003 octave_value_list _out;
17004 octave_value_list *_outp=&_out;
17005 octave_value _outv;
17006
17007 try {
17008 if (!SWIG_check_num_args("pl_setcontlabelparam",args.length(),4,4,0)) {
17009 SWIG_fail;
17010 }
17011 ecode1 = SWIG_AsVal_double(args(0), &val1);
17012 if (!SWIG_IsOK(ecode1)) {
17013 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pl_setcontlabelparam" "', argument " "1"" of type '" "PLFLT""'");
17014 }
17015 arg1 = static_cast< PLFLT >(val1);
17016 ecode2 = SWIG_AsVal_double(args(1), &val2);
17017 if (!SWIG_IsOK(ecode2)) {
17018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pl_setcontlabelparam" "', argument " "2"" of type '" "PLFLT""'");
17019 }
17020 arg2 = static_cast< PLFLT >(val2);
17021 ecode3 = SWIG_AsVal_double(args(2), &val3);
17022 if (!SWIG_IsOK(ecode3)) {
17023 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pl_setcontlabelparam" "', argument " "3"" of type '" "PLFLT""'");
17024 }
17025 arg3 = static_cast< PLFLT >(val3);
17026 ecode4 = SWIG_AsVal_int(args(3), &val4);
17027 if (!SWIG_IsOK(ecode4)) {
17028 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pl_setcontlabelparam" "', argument " "4"" of type '" "PLINT""'");
17029 }
17030 arg4 = static_cast< PLINT >(val4);
17031 pl_setcontlabelparam(arg1,arg2,arg3,arg4);
17032 _outv = octave_value();
17033 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17034 return _out;
17035 fail:
17036 return octave_value_list();
17037 }
17038 catch(...) {
17039 throw;
17040 }
17041}
17042
17043
17045 PLINT arg1 ;
17046 int val1 ;
17047 int ecode1 = 0 ;
17048 octave_value_list _out;
17049 octave_value_list *_outp=&_out;
17050 octave_value _outv;
17051
17052 try {
17053 if (!SWIG_check_num_args("pladv",args.length(),1,1,0)) {
17054 SWIG_fail;
17055 }
17056 ecode1 = SWIG_AsVal_int(args(0), &val1);
17057 if (!SWIG_IsOK(ecode1)) {
17058 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pladv" "', argument " "1"" of type '" "PLINT""'");
17059 }
17060 arg1 = static_cast< PLINT >(val1);
17061 pladv(arg1);
17062 _outv = octave_value();
17063 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17064 return _out;
17065 fail:
17066 return octave_value_list();
17067 }
17068 catch(...) {
17069 throw;
17070 }
17071}
17072
17073
17075 PLFLT arg1 ;
17076 PLFLT arg2 ;
17077 PLFLT arg3 ;
17078 PLFLT arg4 ;
17079 PLFLT arg5 ;
17080 PLFLT arg6 ;
17081 PLFLT arg7 ;
17082 PLBOOL arg8 ;
17083 double val1 ;
17084 int ecode1 = 0 ;
17085 double val2 ;
17086 int ecode2 = 0 ;
17087 double val3 ;
17088 int ecode3 = 0 ;
17089 double val4 ;
17090 int ecode4 = 0 ;
17091 double val5 ;
17092 int ecode5 = 0 ;
17093 double val6 ;
17094 int ecode6 = 0 ;
17095 double val7 ;
17096 int ecode7 = 0 ;
17097 int val8 ;
17098 int ecode8 = 0 ;
17099 octave_value_list _out;
17100 octave_value_list *_outp=&_out;
17101 octave_value _outv;
17102
17103 try {
17104 if (!SWIG_check_num_args("plarc",args.length(),8,8,0)) {
17105 SWIG_fail;
17106 }
17107 ecode1 = SWIG_AsVal_double(args(0), &val1);
17108 if (!SWIG_IsOK(ecode1)) {
17109 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plarc" "', argument " "1"" of type '" "PLFLT""'");
17110 }
17111 arg1 = static_cast< PLFLT >(val1);
17112 ecode2 = SWIG_AsVal_double(args(1), &val2);
17113 if (!SWIG_IsOK(ecode2)) {
17114 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plarc" "', argument " "2"" of type '" "PLFLT""'");
17115 }
17116 arg2 = static_cast< PLFLT >(val2);
17117 ecode3 = SWIG_AsVal_double(args(2), &val3);
17118 if (!SWIG_IsOK(ecode3)) {
17119 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plarc" "', argument " "3"" of type '" "PLFLT""'");
17120 }
17121 arg3 = static_cast< PLFLT >(val3);
17122 ecode4 = SWIG_AsVal_double(args(3), &val4);
17123 if (!SWIG_IsOK(ecode4)) {
17124 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plarc" "', argument " "4"" of type '" "PLFLT""'");
17125 }
17126 arg4 = static_cast< PLFLT >(val4);
17127 ecode5 = SWIG_AsVal_double(args(4), &val5);
17128 if (!SWIG_IsOK(ecode5)) {
17129 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plarc" "', argument " "5"" of type '" "PLFLT""'");
17130 }
17131 arg5 = static_cast< PLFLT >(val5);
17132 ecode6 = SWIG_AsVal_double(args(5), &val6);
17133 if (!SWIG_IsOK(ecode6)) {
17134 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plarc" "', argument " "6"" of type '" "PLFLT""'");
17135 }
17136 arg6 = static_cast< PLFLT >(val6);
17137 ecode7 = SWIG_AsVal_double(args(6), &val7);
17138 if (!SWIG_IsOK(ecode7)) {
17139 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plarc" "', argument " "7"" of type '" "PLFLT""'");
17140 }
17141 arg7 = static_cast< PLFLT >(val7);
17142 ecode8 = SWIG_AsVal_int(args(7), &val8);
17143 if (!SWIG_IsOK(ecode8)) {
17144 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plarc" "', argument " "8"" of type '" "PLBOOL""'");
17145 }
17146 arg8 = static_cast< PLBOOL >(val8);
17147 plarc(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
17148 _outv = octave_value();
17149 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17150 return _out;
17151 fail:
17152 return octave_value_list();
17153 }
17154 catch(...) {
17155 throw;
17156 }
17157}
17158
17159
17161 PLFLT arg1 ;
17162 PLFLT arg2 ;
17163 char *arg3 = 0 ;
17164 PLFLT arg4 ;
17165 PLINT arg5 ;
17166 char *arg6 = 0 ;
17167 PLFLT arg7 ;
17168 PLINT arg8 ;
17169 double val1 ;
17170 int ecode1 = 0 ;
17171 double val2 ;
17172 int ecode2 = 0 ;
17173 int res3 ;
17174 char *buf3 = 0 ;
17175 int alloc3 = 0 ;
17176 double val4 ;
17177 int ecode4 = 0 ;
17178 int val5 ;
17179 int ecode5 = 0 ;
17180 int res6 ;
17181 char *buf6 = 0 ;
17182 int alloc6 = 0 ;
17183 double val7 ;
17184 int ecode7 = 0 ;
17185 int val8 ;
17186 int ecode8 = 0 ;
17187 octave_value_list _out;
17188 octave_value_list *_outp=&_out;
17189 octave_value _outv;
17190
17191 try {
17192 if (!SWIG_check_num_args("plaxes",args.length(),8,8,0)) {
17193 SWIG_fail;
17194 }
17195 ecode1 = SWIG_AsVal_double(args(0), &val1);
17196 if (!SWIG_IsOK(ecode1)) {
17197 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plaxes" "', argument " "1"" of type '" "PLFLT""'");
17198 }
17199 arg1 = static_cast< PLFLT >(val1);
17200 ecode2 = SWIG_AsVal_double(args(1), &val2);
17201 if (!SWIG_IsOK(ecode2)) {
17202 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plaxes" "', argument " "2"" of type '" "PLFLT""'");
17203 }
17204 arg2 = static_cast< PLFLT >(val2);
17205 res3 = SWIG_AsCharPtrAndSize(args(2), &buf3, NULL, &alloc3);
17206 if (!SWIG_IsOK(res3)) {
17207 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "plaxes" "', argument " "3"" of type '" "char const *""'");
17208 }
17209 arg3 = reinterpret_cast< char * >(buf3);
17210 ecode4 = SWIG_AsVal_double(args(3), &val4);
17211 if (!SWIG_IsOK(ecode4)) {
17212 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plaxes" "', argument " "4"" of type '" "PLFLT""'");
17213 }
17214 arg4 = static_cast< PLFLT >(val4);
17215 ecode5 = SWIG_AsVal_int(args(4), &val5);
17216 if (!SWIG_IsOK(ecode5)) {
17217 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plaxes" "', argument " "5"" of type '" "PLINT""'");
17218 }
17219 arg5 = static_cast< PLINT >(val5);
17220 res6 = SWIG_AsCharPtrAndSize(args(5), &buf6, NULL, &alloc6);
17221 if (!SWIG_IsOK(res6)) {
17222 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plaxes" "', argument " "6"" of type '" "char const *""'");
17223 }
17224 arg6 = reinterpret_cast< char * >(buf6);
17225 ecode7 = SWIG_AsVal_double(args(6), &val7);
17226 if (!SWIG_IsOK(ecode7)) {
17227 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plaxes" "', argument " "7"" of type '" "PLFLT""'");
17228 }
17229 arg7 = static_cast< PLFLT >(val7);
17230 ecode8 = SWIG_AsVal_int(args(7), &val8);
17231 if (!SWIG_IsOK(ecode8)) {
17232 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plaxes" "', argument " "8"" of type '" "PLINT""'");
17233 }
17234 arg8 = static_cast< PLINT >(val8);
17235 plaxes(arg1,arg2,(char const *)arg3,arg4,arg5,(char const *)arg6,arg7,arg8);
17236 _outv = octave_value();
17237 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17238 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
17239 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
17240 return _out;
17241 fail:
17242 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
17243 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
17244 return octave_value_list();
17245 }
17246 catch(...) {
17247 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
17248 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
17249 throw;
17250 }
17251}
17252
17253
17255 PLINT arg1 ;
17256 PLFLT *arg2 = 0 ;
17257 PLFLT *arg3 = 0 ;
17258 PLINT arg4 ;
17259 Matrix temp1 ;
17260 Matrix temp3 ;
17261 int val4 ;
17262 int ecode4 = 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("plbin",args.length(),3,3,0)) {
17269 SWIG_fail;
17270 }
17271 {
17272 if ( _n_dims( args(0) ) > 1 )
17273 {
17274 error( "argument must be a scalar or vector" ); SWIG_fail;
17275 }
17276 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
17277 temp1 = args(0).matrix_value();
17278 arg2 = &temp1( 0, 0 );
17279 }
17280 {
17281 if ( _n_dims( args(1) ) > 1 )
17282 {
17283 error( "argument must be a scalar or vector" ); SWIG_fail;
17284 }
17285 if ( _dim( args(1), 0 ) != Alen )
17286 {
17287 error( "argument vectors must be same length" ); SWIG_fail;
17288 }
17289 temp3 = args(1).matrix_value();
17290 arg3 = &temp3( 0, 0 );
17291 }
17292 ecode4 = SWIG_AsVal_int(args(2), &val4);
17293 if (!SWIG_IsOK(ecode4)) {
17294 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plbin" "', argument " "4"" of type '" "PLINT""'");
17295 }
17296 arg4 = static_cast< PLINT >(val4);
17297 plbin(arg1,(double const *)arg2,(double const *)arg3,arg4);
17298 _outv = octave_value();
17299 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17300 {
17301
17302 }
17303 {
17304
17305 }
17306 return _out;
17307 fail:
17308 {
17309
17310 }
17311 {
17312
17313 }
17314 return octave_value_list();
17315 }
17316 catch(...) {
17317 {
17318
17319 }
17320 {
17321
17322 }
17323 throw;
17324 }
17325}
17326
17327
17329 PLINT *arg1 = 0 ;
17330 PLINT *arg2 = 0 ;
17331 PLINT *arg3 = 0 ;
17332 PLINT *arg4 = 0 ;
17333 PLINT *arg5 = 0 ;
17334 PLFLT *arg6 = 0 ;
17335 PLFLT arg7 ;
17336 PLINT temp1 ;
17337 int res1 = SWIG_TMPOBJ ;
17338 PLINT temp2 ;
17339 int res2 = SWIG_TMPOBJ ;
17340 PLINT temp3 ;
17341 int res3 = SWIG_TMPOBJ ;
17342 PLINT temp4 ;
17343 int res4 = SWIG_TMPOBJ ;
17344 PLINT temp5 ;
17345 int res5 = SWIG_TMPOBJ ;
17346 PLFLT temp6 ;
17347 int res6 = SWIG_TMPOBJ ;
17348 double val7 ;
17349 int ecode7 = 0 ;
17350 octave_value_list _out;
17351 octave_value_list *_outp=&_out;
17352 octave_value _outv;
17353
17354 try {
17355 arg1 = &temp1;
17356 arg2 = &temp2;
17357 arg3 = &temp3;
17358 arg4 = &temp4;
17359 arg5 = &temp5;
17360 arg6 = &temp6;
17361 if (!SWIG_check_num_args("plbtime",args.length(),1,1,0)) {
17362 SWIG_fail;
17363 }
17364 ecode7 = SWIG_AsVal_double(args(0), &val7);
17365 if (!SWIG_IsOK(ecode7)) {
17366 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plbtime" "', argument " "7"" of type '" "PLFLT""'");
17367 }
17368 arg7 = static_cast< PLFLT >(val7);
17369 plbtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
17370 _outv = octave_value();
17371 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17372 if (SWIG_IsTmpObj(res1)) {
17373 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
17374 } else {
17375 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17376 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
17377 }
17378 if (SWIG_IsTmpObj(res2)) {
17379 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
17380 } else {
17381 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17382 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
17383 }
17384 if (SWIG_IsTmpObj(res3)) {
17385 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
17386 } else {
17387 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17388 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
17389 }
17390 if (SWIG_IsTmpObj(res4)) {
17391 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg4)));
17392 } else {
17393 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17394 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
17395 }
17396 if (SWIG_IsTmpObj(res5)) {
17397 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg5)));
17398 } else {
17399 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17400 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
17401 }
17402 if (SWIG_IsTmpObj(res6)) {
17403 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg6)));
17404 } else {
17405 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17406 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags));
17407 }
17408 return _out;
17409 fail:
17410 return octave_value_list();
17411 }
17412 catch(...) {
17413 throw;
17414 }
17415}
17416
17417
17419 octave_value_list _out;
17420 octave_value_list *_outp=&_out;
17421 octave_value _outv;
17422
17423 try {
17424 if (!SWIG_check_num_args("plbop",args.length(),0,0,0)) {
17425 SWIG_fail;
17426 }
17427 plbop();
17428 _outv = octave_value();
17429 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17430 return _out;
17431 fail:
17432 return octave_value_list();
17433 }
17434 catch(...) {
17435 throw;
17436 }
17437}
17438
17439
17441 char *arg1 = 0 ;
17442 PLFLT arg2 ;
17443 PLINT arg3 ;
17444 char *arg4 = 0 ;
17445 PLFLT arg5 ;
17446 PLINT arg6 ;
17447 int res1 ;
17448 char *buf1 = 0 ;
17449 int alloc1 = 0 ;
17450 double val2 ;
17451 int ecode2 = 0 ;
17452 int val3 ;
17453 int ecode3 = 0 ;
17454 int res4 ;
17455 char *buf4 = 0 ;
17456 int alloc4 = 0 ;
17457 double val5 ;
17458 int ecode5 = 0 ;
17459 int val6 ;
17460 int ecode6 = 0 ;
17461 octave_value_list _out;
17462 octave_value_list *_outp=&_out;
17463 octave_value _outv;
17464
17465 try {
17466 if (!SWIG_check_num_args("plbox",args.length(),6,6,0)) {
17467 SWIG_fail;
17468 }
17469 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
17470 if (!SWIG_IsOK(res1)) {
17471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plbox" "', argument " "1"" of type '" "char const *""'");
17472 }
17473 arg1 = reinterpret_cast< char * >(buf1);
17474 ecode2 = SWIG_AsVal_double(args(1), &val2);
17475 if (!SWIG_IsOK(ecode2)) {
17476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plbox" "', argument " "2"" of type '" "PLFLT""'");
17477 }
17478 arg2 = static_cast< PLFLT >(val2);
17479 ecode3 = SWIG_AsVal_int(args(2), &val3);
17480 if (!SWIG_IsOK(ecode3)) {
17481 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plbox" "', argument " "3"" of type '" "PLINT""'");
17482 }
17483 arg3 = static_cast< PLINT >(val3);
17484 res4 = SWIG_AsCharPtrAndSize(args(3), &buf4, NULL, &alloc4);
17485 if (!SWIG_IsOK(res4)) {
17486 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "plbox" "', argument " "4"" of type '" "char const *""'");
17487 }
17488 arg4 = reinterpret_cast< char * >(buf4);
17489 ecode5 = SWIG_AsVal_double(args(4), &val5);
17490 if (!SWIG_IsOK(ecode5)) {
17491 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plbox" "', argument " "5"" of type '" "PLFLT""'");
17492 }
17493 arg5 = static_cast< PLFLT >(val5);
17494 ecode6 = SWIG_AsVal_int(args(5), &val6);
17495 if (!SWIG_IsOK(ecode6)) {
17496 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plbox" "', argument " "6"" of type '" "PLINT""'");
17497 }
17498 arg6 = static_cast< PLINT >(val6);
17499 plbox((char const *)arg1,arg2,arg3,(char const *)arg4,arg5,arg6);
17500 _outv = octave_value();
17501 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17502 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
17503 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
17504 return _out;
17505 fail:
17506 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
17507 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
17508 return octave_value_list();
17509 }
17510 catch(...) {
17511 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
17512 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
17513 throw;
17514 }
17515}
17516
17517
17519 char *arg1 = 0 ;
17520 char *arg2 = 0 ;
17521 PLFLT arg3 ;
17522 PLINT arg4 ;
17523 char *arg5 = 0 ;
17524 char *arg6 = 0 ;
17525 PLFLT arg7 ;
17526 PLINT arg8 ;
17527 char *arg9 = 0 ;
17528 char *arg10 = 0 ;
17529 PLFLT arg11 ;
17530 PLINT arg12 ;
17531 int res1 ;
17532 char *buf1 = 0 ;
17533 int alloc1 = 0 ;
17534 int res2 ;
17535 char *buf2 = 0 ;
17536 int alloc2 = 0 ;
17537 double val3 ;
17538 int ecode3 = 0 ;
17539 int val4 ;
17540 int ecode4 = 0 ;
17541 int res5 ;
17542 char *buf5 = 0 ;
17543 int alloc5 = 0 ;
17544 int res6 ;
17545 char *buf6 = 0 ;
17546 int alloc6 = 0 ;
17547 double val7 ;
17548 int ecode7 = 0 ;
17549 int val8 ;
17550 int ecode8 = 0 ;
17551 int res9 ;
17552 char *buf9 = 0 ;
17553 int alloc9 = 0 ;
17554 int res10 ;
17555 char *buf10 = 0 ;
17556 int alloc10 = 0 ;
17557 double val11 ;
17558 int ecode11 = 0 ;
17559 int val12 ;
17560 int ecode12 = 0 ;
17561 octave_value_list _out;
17562 octave_value_list *_outp=&_out;
17563 octave_value _outv;
17564
17565 try {
17566 if (!SWIG_check_num_args("plbox3",args.length(),12,12,0)) {
17567 SWIG_fail;
17568 }
17569 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
17570 if (!SWIG_IsOK(res1)) {
17571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plbox3" "', argument " "1"" of type '" "char const *""'");
17572 }
17573 arg1 = reinterpret_cast< char * >(buf1);
17574 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
17575 if (!SWIG_IsOK(res2)) {
17576 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plbox3" "', argument " "2"" of type '" "char const *""'");
17577 }
17578 arg2 = reinterpret_cast< char * >(buf2);
17579 ecode3 = SWIG_AsVal_double(args(2), &val3);
17580 if (!SWIG_IsOK(ecode3)) {
17581 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plbox3" "', argument " "3"" of type '" "PLFLT""'");
17582 }
17583 arg3 = static_cast< PLFLT >(val3);
17584 ecode4 = SWIG_AsVal_int(args(3), &val4);
17585 if (!SWIG_IsOK(ecode4)) {
17586 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plbox3" "', argument " "4"" of type '" "PLINT""'");
17587 }
17588 arg4 = static_cast< PLINT >(val4);
17589 res5 = SWIG_AsCharPtrAndSize(args(4), &buf5, NULL, &alloc5);
17590 if (!SWIG_IsOK(res5)) {
17591 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plbox3" "', argument " "5"" of type '" "char const *""'");
17592 }
17593 arg5 = reinterpret_cast< char * >(buf5);
17594 res6 = SWIG_AsCharPtrAndSize(args(5), &buf6, NULL, &alloc6);
17595 if (!SWIG_IsOK(res6)) {
17596 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plbox3" "', argument " "6"" of type '" "char const *""'");
17597 }
17598 arg6 = reinterpret_cast< char * >(buf6);
17599 ecode7 = SWIG_AsVal_double(args(6), &val7);
17600 if (!SWIG_IsOK(ecode7)) {
17601 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plbox3" "', argument " "7"" of type '" "PLFLT""'");
17602 }
17603 arg7 = static_cast< PLFLT >(val7);
17604 ecode8 = SWIG_AsVal_int(args(7), &val8);
17605 if (!SWIG_IsOK(ecode8)) {
17606 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plbox3" "', argument " "8"" of type '" "PLINT""'");
17607 }
17608 arg8 = static_cast< PLINT >(val8);
17609 res9 = SWIG_AsCharPtrAndSize(args(8), &buf9, NULL, &alloc9);
17610 if (!SWIG_IsOK(res9)) {
17611 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "plbox3" "', argument " "9"" of type '" "char const *""'");
17612 }
17613 arg9 = reinterpret_cast< char * >(buf9);
17614 res10 = SWIG_AsCharPtrAndSize(args(9), &buf10, NULL, &alloc10);
17615 if (!SWIG_IsOK(res10)) {
17616 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "plbox3" "', argument " "10"" of type '" "char const *""'");
17617 }
17618 arg10 = reinterpret_cast< char * >(buf10);
17619 ecode11 = SWIG_AsVal_double(args(10), &val11);
17620 if (!SWIG_IsOK(ecode11)) {
17621 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plbox3" "', argument " "11"" of type '" "PLFLT""'");
17622 }
17623 arg11 = static_cast< PLFLT >(val11);
17624 ecode12 = SWIG_AsVal_int(args(11), &val12);
17625 if (!SWIG_IsOK(ecode12)) {
17626 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "plbox3" "', argument " "12"" of type '" "PLINT""'");
17627 }
17628 arg12 = static_cast< PLINT >(val12);
17629 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);
17630 _outv = octave_value();
17631 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17632 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
17633 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
17634 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
17635 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
17636 if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
17637 if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
17638 return _out;
17639 fail:
17640 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
17641 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
17642 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
17643 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
17644 if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
17645 if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
17646 return octave_value_list();
17647 }
17648 catch(...) {
17649 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
17650 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
17651 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
17652 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
17653 if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
17654 if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
17655 throw;
17656 }
17657}
17658
17659
17661 PLFLT arg1 ;
17662 PLFLT arg2 ;
17663 PLFLT *arg3 = 0 ;
17664 PLFLT *arg4 = 0 ;
17665 PLINT *arg5 = 0 ;
17666 double val1 ;
17667 int ecode1 = 0 ;
17668 double val2 ;
17669 int ecode2 = 0 ;
17670 PLFLT temp3 ;
17671 int res3 = SWIG_TMPOBJ ;
17672 PLFLT temp4 ;
17673 int res4 = SWIG_TMPOBJ ;
17674 PLINT temp5 ;
17675 int res5 = SWIG_TMPOBJ ;
17676 octave_value_list _out;
17677 octave_value_list *_outp=&_out;
17678 octave_value _outv;
17679
17680 try {
17681 arg3 = &temp3;
17682 arg4 = &temp4;
17683 arg5 = &temp5;
17684 if (!SWIG_check_num_args("plcalc_world",args.length(),2,2,0)) {
17685 SWIG_fail;
17686 }
17687 ecode1 = SWIG_AsVal_double(args(0), &val1);
17688 if (!SWIG_IsOK(ecode1)) {
17689 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcalc_world" "', argument " "1"" of type '" "PLFLT""'");
17690 }
17691 arg1 = static_cast< PLFLT >(val1);
17692 ecode2 = SWIG_AsVal_double(args(1), &val2);
17693 if (!SWIG_IsOK(ecode2)) {
17694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plcalc_world" "', argument " "2"" of type '" "PLFLT""'");
17695 }
17696 arg2 = static_cast< PLFLT >(val2);
17697 plcalc_world(arg1,arg2,arg3,arg4,arg5);
17698 _outv = octave_value();
17699 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17700 if (SWIG_IsTmpObj(res3)) {
17701 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg3)));
17702 } else {
17703 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17704 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags));
17705 }
17706 if (SWIG_IsTmpObj(res4)) {
17707 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
17708 } else {
17709 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17710 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
17711 }
17712 if (SWIG_IsTmpObj(res5)) {
17713 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg5)));
17714 } else {
17715 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17716 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
17717 }
17718 return _out;
17719 fail:
17720 return octave_value_list();
17721 }
17722 catch(...) {
17723 throw;
17724 }
17725}
17726
17727
17729 octave_value_list _out;
17730 octave_value_list *_outp=&_out;
17731 octave_value _outv;
17732
17733 try {
17734 if (!SWIG_check_num_args("plclear",args.length(),0,0,0)) {
17735 SWIG_fail;
17736 }
17737 plclear();
17738 _outv = octave_value();
17739 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17740 return _out;
17741 fail:
17742 return octave_value_list();
17743 }
17744 catch(...) {
17745 throw;
17746 }
17747}
17748
17749
17751 PLINT arg1 ;
17752 int val1 ;
17753 int ecode1 = 0 ;
17754 octave_value_list _out;
17755 octave_value_list *_outp=&_out;
17756 octave_value _outv;
17757
17758 try {
17759 if (!SWIG_check_num_args("plcol0",args.length(),1,1,0)) {
17760 SWIG_fail;
17761 }
17762 ecode1 = SWIG_AsVal_int(args(0), &val1);
17763 if (!SWIG_IsOK(ecode1)) {
17764 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcol0" "', argument " "1"" of type '" "PLINT""'");
17765 }
17766 arg1 = static_cast< PLINT >(val1);
17767 plcol0(arg1);
17768 _outv = octave_value();
17769 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17770 return _out;
17771 fail:
17772 return octave_value_list();
17773 }
17774 catch(...) {
17775 throw;
17776 }
17777}
17778
17779
17781 PLFLT arg1 ;
17782 double val1 ;
17783 int ecode1 = 0 ;
17784 octave_value_list _out;
17785 octave_value_list *_outp=&_out;
17786 octave_value _outv;
17787
17788 try {
17789 if (!SWIG_check_num_args("plcol1",args.length(),1,1,0)) {
17790 SWIG_fail;
17791 }
17792 ecode1 = SWIG_AsVal_double(args(0), &val1);
17793 if (!SWIG_IsOK(ecode1)) {
17794 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcol1" "', argument " "1"" of type '" "PLFLT""'");
17795 }
17796 arg1 = static_cast< PLFLT >(val1);
17797 plcol1(arg1);
17798 _outv = octave_value();
17799 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17800 return _out;
17801 fail:
17802 return octave_value_list();
17803 }
17804 catch(...) {
17805 throw;
17806 }
17807}
17808
17809
17811 PLFLT arg1 ;
17812 PLFLT arg2 ;
17813 PLFLT arg3 ;
17814 PLINT arg4 ;
17815 PLBOOL arg5 ;
17816 PLINT arg6 ;
17817 PLINT arg7 ;
17818 PLINT arg8 ;
17819 PLINT arg9 ;
17820 PLINT arg10 ;
17821 PLFLT arg11 ;
17822 double val1 ;
17823 int ecode1 = 0 ;
17824 double val2 ;
17825 int ecode2 = 0 ;
17826 double val3 ;
17827 int ecode3 = 0 ;
17828 int val4 ;
17829 int ecode4 = 0 ;
17830 int val5 ;
17831 int ecode5 = 0 ;
17832 int val6 ;
17833 int ecode6 = 0 ;
17834 int val7 ;
17835 int ecode7 = 0 ;
17836 int val8 ;
17837 int ecode8 = 0 ;
17838 int val9 ;
17839 int ecode9 = 0 ;
17840 int val10 ;
17841 int ecode10 = 0 ;
17842 double val11 ;
17843 int ecode11 = 0 ;
17844 octave_value_list _out;
17845 octave_value_list *_outp=&_out;
17846 octave_value _outv;
17847
17848 try {
17849 if (!SWIG_check_num_args("plconfigtime",args.length(),11,11,0)) {
17850 SWIG_fail;
17851 }
17852 ecode1 = SWIG_AsVal_double(args(0), &val1);
17853 if (!SWIG_IsOK(ecode1)) {
17854 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plconfigtime" "', argument " "1"" of type '" "PLFLT""'");
17855 }
17856 arg1 = static_cast< PLFLT >(val1);
17857 ecode2 = SWIG_AsVal_double(args(1), &val2);
17858 if (!SWIG_IsOK(ecode2)) {
17859 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plconfigtime" "', argument " "2"" of type '" "PLFLT""'");
17860 }
17861 arg2 = static_cast< PLFLT >(val2);
17862 ecode3 = SWIG_AsVal_double(args(2), &val3);
17863 if (!SWIG_IsOK(ecode3)) {
17864 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plconfigtime" "', argument " "3"" of type '" "PLFLT""'");
17865 }
17866 arg3 = static_cast< PLFLT >(val3);
17867 ecode4 = SWIG_AsVal_int(args(3), &val4);
17868 if (!SWIG_IsOK(ecode4)) {
17869 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plconfigtime" "', argument " "4"" of type '" "PLINT""'");
17870 }
17871 arg4 = static_cast< PLINT >(val4);
17872 ecode5 = SWIG_AsVal_int(args(4), &val5);
17873 if (!SWIG_IsOK(ecode5)) {
17874 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plconfigtime" "', argument " "5"" of type '" "PLBOOL""'");
17875 }
17876 arg5 = static_cast< PLBOOL >(val5);
17877 ecode6 = SWIG_AsVal_int(args(5), &val6);
17878 if (!SWIG_IsOK(ecode6)) {
17879 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plconfigtime" "', argument " "6"" of type '" "PLINT""'");
17880 }
17881 arg6 = static_cast< PLINT >(val6);
17882 ecode7 = SWIG_AsVal_int(args(6), &val7);
17883 if (!SWIG_IsOK(ecode7)) {
17884 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plconfigtime" "', argument " "7"" of type '" "PLINT""'");
17885 }
17886 arg7 = static_cast< PLINT >(val7);
17887 ecode8 = SWIG_AsVal_int(args(7), &val8);
17888 if (!SWIG_IsOK(ecode8)) {
17889 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plconfigtime" "', argument " "8"" of type '" "PLINT""'");
17890 }
17891 arg8 = static_cast< PLINT >(val8);
17892 ecode9 = SWIG_AsVal_int(args(8), &val9);
17893 if (!SWIG_IsOK(ecode9)) {
17894 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plconfigtime" "', argument " "9"" of type '" "PLINT""'");
17895 }
17896 arg9 = static_cast< PLINT >(val9);
17897 ecode10 = SWIG_AsVal_int(args(9), &val10);
17898 if (!SWIG_IsOK(ecode10)) {
17899 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plconfigtime" "', argument " "10"" of type '" "PLINT""'");
17900 }
17901 arg10 = static_cast< PLINT >(val10);
17902 ecode11 = SWIG_AsVal_double(args(10), &val11);
17903 if (!SWIG_IsOK(ecode11)) {
17904 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plconfigtime" "', argument " "11"" of type '" "PLFLT""'");
17905 }
17906 arg11 = static_cast< PLFLT >(val11);
17907 plconfigtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
17908 _outv = octave_value();
17909 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17910 return _out;
17911 fail:
17912 return octave_value_list();
17913 }
17914 catch(...) {
17915 throw;
17916 }
17917}
17918
17919
17921 PLINT arg1 ;
17922 PLINT arg2 ;
17923 PLINT arg3 ;
17924 PLINT arg4 ;
17925 PLINT arg5 ;
17926 PLFLT arg6 ;
17927 PLFLT *arg7 = 0 ;
17928 int val1 ;
17929 int ecode1 = 0 ;
17930 int val2 ;
17931 int ecode2 = 0 ;
17932 int val3 ;
17933 int ecode3 = 0 ;
17934 int val4 ;
17935 int ecode4 = 0 ;
17936 int val5 ;
17937 int ecode5 = 0 ;
17938 double val6 ;
17939 int ecode6 = 0 ;
17940 PLFLT temp7 ;
17941 int res7 = SWIG_TMPOBJ ;
17942 octave_value_list _out;
17943 octave_value_list *_outp=&_out;
17944 octave_value _outv;
17945
17946 try {
17947 arg7 = &temp7;
17948 if (!SWIG_check_num_args("plctime",args.length(),6,6,0)) {
17949 SWIG_fail;
17950 }
17951 ecode1 = SWIG_AsVal_int(args(0), &val1);
17952 if (!SWIG_IsOK(ecode1)) {
17953 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plctime" "', argument " "1"" of type '" "PLINT""'");
17954 }
17955 arg1 = static_cast< PLINT >(val1);
17956 ecode2 = SWIG_AsVal_int(args(1), &val2);
17957 if (!SWIG_IsOK(ecode2)) {
17958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plctime" "', argument " "2"" of type '" "PLINT""'");
17959 }
17960 arg2 = static_cast< PLINT >(val2);
17961 ecode3 = SWIG_AsVal_int(args(2), &val3);
17962 if (!SWIG_IsOK(ecode3)) {
17963 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plctime" "', argument " "3"" of type '" "PLINT""'");
17964 }
17965 arg3 = static_cast< PLINT >(val3);
17966 ecode4 = SWIG_AsVal_int(args(3), &val4);
17967 if (!SWIG_IsOK(ecode4)) {
17968 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plctime" "', argument " "4"" of type '" "PLINT""'");
17969 }
17970 arg4 = static_cast< PLINT >(val4);
17971 ecode5 = SWIG_AsVal_int(args(4), &val5);
17972 if (!SWIG_IsOK(ecode5)) {
17973 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plctime" "', argument " "5"" of type '" "PLINT""'");
17974 }
17975 arg5 = static_cast< PLINT >(val5);
17976 ecode6 = SWIG_AsVal_double(args(5), &val6);
17977 if (!SWIG_IsOK(ecode6)) {
17978 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plctime" "', argument " "6"" of type '" "PLFLT""'");
17979 }
17980 arg6 = static_cast< PLFLT >(val6);
17981 plctime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
17982 _outv = octave_value();
17983 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
17984 if (SWIG_IsTmpObj(res7)) {
17985 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg7)));
17986 } else {
17987 int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
17988 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_double, new_flags));
17989 }
17990 return _out;
17991 fail:
17992 return octave_value_list();
17993 }
17994 catch(...) {
17995 throw;
17996 }
17997}
17998
17999
18001 PLINT arg1 ;
18002 PLBOOL arg2 ;
18003 int val1 ;
18004 int ecode1 = 0 ;
18005 int val2 ;
18006 int ecode2 = 0 ;
18007 octave_value_list _out;
18008 octave_value_list *_outp=&_out;
18009 octave_value _outv;
18010
18011 try {
18012 if (!SWIG_check_num_args("plcpstrm",args.length(),2,2,0)) {
18013 SWIG_fail;
18014 }
18015 ecode1 = SWIG_AsVal_int(args(0), &val1);
18016 if (!SWIG_IsOK(ecode1)) {
18017 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plcpstrm" "', argument " "1"" of type '" "PLINT""'");
18018 }
18019 arg1 = static_cast< PLINT >(val1);
18020 ecode2 = SWIG_AsVal_int(args(1), &val2);
18021 if (!SWIG_IsOK(ecode2)) {
18022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plcpstrm" "', argument " "2"" of type '" "PLBOOL""'");
18023 }
18024 arg2 = static_cast< PLBOOL >(val2);
18025 plcpstrm(arg1,arg2);
18026 _outv = octave_value();
18027 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18028 return _out;
18029 fail:
18030 return octave_value_list();
18031 }
18032 catch(...) {
18033 throw;
18034 }
18035}
18036
18037
18039 octave_value_list _out;
18040 octave_value_list *_outp=&_out;
18041 octave_value _outv;
18042
18043 try {
18044 if (!SWIG_check_num_args("plend",args.length(),0,0,0)) {
18045 SWIG_fail;
18046 }
18047 plend();
18048 _outv = octave_value();
18049 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18050 return _out;
18051 fail:
18052 return octave_value_list();
18053 }
18054 catch(...) {
18055 throw;
18056 }
18057}
18058
18059
18061 octave_value_list _out;
18062 octave_value_list *_outp=&_out;
18063 octave_value _outv;
18064
18065 try {
18066 if (!SWIG_check_num_args("plend1",args.length(),0,0,0)) {
18067 SWIG_fail;
18068 }
18069 plend1();
18070 _outv = octave_value();
18071 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18072 return _out;
18073 fail:
18074 return octave_value_list();
18075 }
18076 catch(...) {
18077 throw;
18078 }
18079}
18080
18081
18083 PLFLT arg1 ;
18084 PLFLT arg2 ;
18085 PLFLT arg3 ;
18086 PLFLT arg4 ;
18087 PLINT arg5 ;
18088 PLINT arg6 ;
18089 double val1 ;
18090 int ecode1 = 0 ;
18091 double val2 ;
18092 int ecode2 = 0 ;
18093 double val3 ;
18094 int ecode3 = 0 ;
18095 double val4 ;
18096 int ecode4 = 0 ;
18097 int val5 ;
18098 int ecode5 = 0 ;
18099 int val6 ;
18100 int ecode6 = 0 ;
18101 octave_value_list _out;
18102 octave_value_list *_outp=&_out;
18103 octave_value _outv;
18104
18105 try {
18106 if (!SWIG_check_num_args("plenv",args.length(),6,6,0)) {
18107 SWIG_fail;
18108 }
18109 ecode1 = SWIG_AsVal_double(args(0), &val1);
18110 if (!SWIG_IsOK(ecode1)) {
18111 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plenv" "', argument " "1"" of type '" "PLFLT""'");
18112 }
18113 arg1 = static_cast< PLFLT >(val1);
18114 ecode2 = SWIG_AsVal_double(args(1), &val2);
18115 if (!SWIG_IsOK(ecode2)) {
18116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plenv" "', argument " "2"" of type '" "PLFLT""'");
18117 }
18118 arg2 = static_cast< PLFLT >(val2);
18119 ecode3 = SWIG_AsVal_double(args(2), &val3);
18120 if (!SWIG_IsOK(ecode3)) {
18121 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plenv" "', argument " "3"" of type '" "PLFLT""'");
18122 }
18123 arg3 = static_cast< PLFLT >(val3);
18124 ecode4 = SWIG_AsVal_double(args(3), &val4);
18125 if (!SWIG_IsOK(ecode4)) {
18126 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plenv" "', argument " "4"" of type '" "PLFLT""'");
18127 }
18128 arg4 = static_cast< PLFLT >(val4);
18129 ecode5 = SWIG_AsVal_int(args(4), &val5);
18130 if (!SWIG_IsOK(ecode5)) {
18131 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plenv" "', argument " "5"" of type '" "PLINT""'");
18132 }
18133 arg5 = static_cast< PLINT >(val5);
18134 ecode6 = SWIG_AsVal_int(args(5), &val6);
18135 if (!SWIG_IsOK(ecode6)) {
18136 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plenv" "', argument " "6"" of type '" "PLINT""'");
18137 }
18138 arg6 = static_cast< PLINT >(val6);
18139 plenv(arg1,arg2,arg3,arg4,arg5,arg6);
18140 _outv = octave_value();
18141 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18142 return _out;
18143 fail:
18144 return octave_value_list();
18145 }
18146 catch(...) {
18147 throw;
18148 }
18149}
18150
18151
18153 PLFLT arg1 ;
18154 PLFLT arg2 ;
18155 PLFLT arg3 ;
18156 PLFLT arg4 ;
18157 PLINT arg5 ;
18158 PLINT arg6 ;
18159 double val1 ;
18160 int ecode1 = 0 ;
18161 double val2 ;
18162 int ecode2 = 0 ;
18163 double val3 ;
18164 int ecode3 = 0 ;
18165 double val4 ;
18166 int ecode4 = 0 ;
18167 int val5 ;
18168 int ecode5 = 0 ;
18169 int val6 ;
18170 int ecode6 = 0 ;
18171 octave_value_list _out;
18172 octave_value_list *_outp=&_out;
18173 octave_value _outv;
18174
18175 try {
18176 if (!SWIG_check_num_args("plenv0",args.length(),6,6,0)) {
18177 SWIG_fail;
18178 }
18179 ecode1 = SWIG_AsVal_double(args(0), &val1);
18180 if (!SWIG_IsOK(ecode1)) {
18181 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plenv0" "', argument " "1"" of type '" "PLFLT""'");
18182 }
18183 arg1 = static_cast< PLFLT >(val1);
18184 ecode2 = SWIG_AsVal_double(args(1), &val2);
18185 if (!SWIG_IsOK(ecode2)) {
18186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plenv0" "', argument " "2"" of type '" "PLFLT""'");
18187 }
18188 arg2 = static_cast< PLFLT >(val2);
18189 ecode3 = SWIG_AsVal_double(args(2), &val3);
18190 if (!SWIG_IsOK(ecode3)) {
18191 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plenv0" "', argument " "3"" of type '" "PLFLT""'");
18192 }
18193 arg3 = static_cast< PLFLT >(val3);
18194 ecode4 = SWIG_AsVal_double(args(3), &val4);
18195 if (!SWIG_IsOK(ecode4)) {
18196 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plenv0" "', argument " "4"" of type '" "PLFLT""'");
18197 }
18198 arg4 = static_cast< PLFLT >(val4);
18199 ecode5 = SWIG_AsVal_int(args(4), &val5);
18200 if (!SWIG_IsOK(ecode5)) {
18201 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plenv0" "', argument " "5"" of type '" "PLINT""'");
18202 }
18203 arg5 = static_cast< PLINT >(val5);
18204 ecode6 = SWIG_AsVal_int(args(5), &val6);
18205 if (!SWIG_IsOK(ecode6)) {
18206 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plenv0" "', argument " "6"" of type '" "PLINT""'");
18207 }
18208 arg6 = static_cast< PLINT >(val6);
18209 plenv0(arg1,arg2,arg3,arg4,arg5,arg6);
18210 _outv = octave_value();
18211 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18212 return _out;
18213 fail:
18214 return octave_value_list();
18215 }
18216 catch(...) {
18217 throw;
18218 }
18219}
18220
18221
18223 octave_value_list _out;
18224 octave_value_list *_outp=&_out;
18225 octave_value _outv;
18226
18227 try {
18228 if (!SWIG_check_num_args("pleop",args.length(),0,0,0)) {
18229 SWIG_fail;
18230 }
18231 pleop();
18232 _outv = octave_value();
18233 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18234 return _out;
18235 fail:
18236 return octave_value_list();
18237 }
18238 catch(...) {
18239 throw;
18240 }
18241}
18242
18243
18245 PLINT arg1 ;
18246 PLFLT *arg2 = 0 ;
18247 PLFLT *arg3 = 0 ;
18248 PLFLT *arg4 = 0 ;
18249 Matrix temp1 ;
18250 Matrix temp3 ;
18251 Matrix temp4 ;
18252 octave_value_list _out;
18253 octave_value_list *_outp=&_out;
18254 octave_value _outv;
18255
18256 try {
18257 if (!SWIG_check_num_args("plerrx",args.length(),3,3,0)) {
18258 SWIG_fail;
18259 }
18260 {
18261 if ( _n_dims( args(0) ) > 1 )
18262 {
18263 error( "argument must be a scalar or vector" ); SWIG_fail;
18264 }
18265 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
18266 temp1 = args(0).matrix_value();
18267 arg2 = &temp1( 0, 0 );
18268 }
18269 {
18270 if ( _n_dims( args(1) ) > 1 )
18271 {
18272 error( "argument must be a scalar or vector" ); SWIG_fail;
18273 }
18274 if ( _dim( args(1), 0 ) != Alen )
18275 {
18276 error( "argument vectors must be same length" ); SWIG_fail;
18277 }
18278 temp3 = args(1).matrix_value();
18279 arg3 = &temp3( 0, 0 );
18280 }
18281 {
18282 if ( _n_dims( args(2) ) > 1 )
18283 {
18284 error( "argument must be a scalar or vector" ); SWIG_fail;
18285 }
18286 if ( _dim( args(2), 0 ) != Alen )
18287 {
18288 error( "argument vectors must be same length" ); SWIG_fail;
18289 }
18290 temp4 = args(2).matrix_value();
18291 arg4 = &temp4( 0, 0 );
18292 }
18293 plerrx(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
18294 _outv = octave_value();
18295 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18296 {
18297
18298 }
18299 {
18300
18301 }
18302 {
18303
18304 }
18305 return _out;
18306 fail:
18307 {
18308
18309 }
18310 {
18311
18312 }
18313 {
18314
18315 }
18316 return octave_value_list();
18317 }
18318 catch(...) {
18319 {
18320
18321 }
18322 {
18323
18324 }
18325 {
18326
18327 }
18328 throw;
18329 }
18330}
18331
18332
18334 PLINT arg1 ;
18335 PLFLT *arg2 = 0 ;
18336 PLFLT *arg3 = 0 ;
18337 PLFLT *arg4 = 0 ;
18338 Matrix temp1 ;
18339 Matrix temp3 ;
18340 Matrix temp4 ;
18341 octave_value_list _out;
18342 octave_value_list *_outp=&_out;
18343 octave_value _outv;
18344
18345 try {
18346 if (!SWIG_check_num_args("plerry",args.length(),3,3,0)) {
18347 SWIG_fail;
18348 }
18349 {
18350 if ( _n_dims( args(0) ) > 1 )
18351 {
18352 error( "argument must be a scalar or vector" ); SWIG_fail;
18353 }
18354 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
18355 temp1 = args(0).matrix_value();
18356 arg2 = &temp1( 0, 0 );
18357 }
18358 {
18359 if ( _n_dims( args(1) ) > 1 )
18360 {
18361 error( "argument must be a scalar or vector" ); SWIG_fail;
18362 }
18363 if ( _dim( args(1), 0 ) != Alen )
18364 {
18365 error( "argument vectors must be same length" ); SWIG_fail;
18366 }
18367 temp3 = args(1).matrix_value();
18368 arg3 = &temp3( 0, 0 );
18369 }
18370 {
18371 if ( _n_dims( args(2) ) > 1 )
18372 {
18373 error( "argument must be a scalar or vector" ); SWIG_fail;
18374 }
18375 if ( _dim( args(2), 0 ) != Alen )
18376 {
18377 error( "argument vectors must be same length" ); SWIG_fail;
18378 }
18379 temp4 = args(2).matrix_value();
18380 arg4 = &temp4( 0, 0 );
18381 }
18382 plerry(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
18383 _outv = octave_value();
18384 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18385 {
18386
18387 }
18388 {
18389
18390 }
18391 {
18392
18393 }
18394 return _out;
18395 fail:
18396 {
18397
18398 }
18399 {
18400
18401 }
18402 {
18403
18404 }
18405 return octave_value_list();
18406 }
18407 catch(...) {
18408 {
18409
18410 }
18411 {
18412
18413 }
18414 {
18415
18416 }
18417 throw;
18418 }
18419}
18420
18421
18423 octave_value_list _out;
18424 octave_value_list *_outp=&_out;
18425 octave_value _outv;
18426
18427 try {
18428 if (!SWIG_check_num_args("plfamadv",args.length(),0,0,0)) {
18429 SWIG_fail;
18430 }
18431 plfamadv();
18432 _outv = octave_value();
18433 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18434 return _out;
18435 fail:
18436 return octave_value_list();
18437 }
18438 catch(...) {
18439 throw;
18440 }
18441}
18442
18443
18445 PLINT arg1 ;
18446 PLFLT *arg2 = 0 ;
18447 PLFLT *arg3 = 0 ;
18448 Matrix temp1 ;
18449 Matrix temp3 ;
18450 octave_value_list _out;
18451 octave_value_list *_outp=&_out;
18452 octave_value _outv;
18453
18454 try {
18455 if (!SWIG_check_num_args("plfill",args.length(),2,2,0)) {
18456 SWIG_fail;
18457 }
18458 {
18459 if ( _n_dims( args(0) ) > 1 )
18460 {
18461 error( "argument must be a scalar or vector" ); SWIG_fail;
18462 }
18463 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
18464 temp1 = args(0).matrix_value();
18465 arg2 = &temp1( 0, 0 );
18466 }
18467 {
18468 if ( _n_dims( args(1) ) > 1 )
18469 {
18470 error( "argument must be a scalar or vector" ); SWIG_fail;
18471 }
18472 if ( _dim( args(1), 0 ) != Alen )
18473 {
18474 error( "argument vectors must be same length" ); SWIG_fail;
18475 }
18476 temp3 = args(1).matrix_value();
18477 arg3 = &temp3( 0, 0 );
18478 }
18479 plfill(arg1,(double const *)arg2,(double const *)arg3);
18480 _outv = octave_value();
18481 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18482 {
18483
18484 }
18485 {
18486
18487 }
18488 return _out;
18489 fail:
18490 {
18491
18492 }
18493 {
18494
18495 }
18496 return octave_value_list();
18497 }
18498 catch(...) {
18499 {
18500
18501 }
18502 {
18503
18504 }
18505 throw;
18506 }
18507}
18508
18509
18511 PLINT arg1 ;
18512 PLFLT *arg2 = 0 ;
18513 PLFLT *arg3 = 0 ;
18514 PLFLT *arg4 = 0 ;
18515 Matrix temp1 ;
18516 Matrix temp3 ;
18517 Matrix temp4 ;
18518 octave_value_list _out;
18519 octave_value_list *_outp=&_out;
18520 octave_value _outv;
18521
18522 try {
18523 if (!SWIG_check_num_args("plfill3",args.length(),3,3,0)) {
18524 SWIG_fail;
18525 }
18526 {
18527 if ( _n_dims( args(0) ) > 1 )
18528 {
18529 error( "argument must be a scalar or vector" ); SWIG_fail;
18530 }
18531 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
18532 temp1 = args(0).matrix_value();
18533 arg2 = &temp1( 0, 0 );
18534 }
18535 {
18536 if ( _n_dims( args(1) ) > 1 )
18537 {
18538 error( "argument must be a scalar or vector" ); SWIG_fail;
18539 }
18540 if ( _dim( args(1), 0 ) != Alen )
18541 {
18542 error( "argument vectors must be same length" ); SWIG_fail;
18543 }
18544 temp3 = args(1).matrix_value();
18545 arg3 = &temp3( 0, 0 );
18546 }
18547 {
18548 if ( _n_dims( args(2) ) > 1 )
18549 {
18550 error( "argument must be a scalar or vector" ); SWIG_fail;
18551 }
18552 if ( _dim( args(2), 0 ) != Alen )
18553 {
18554 error( "argument vectors must be same length" ); SWIG_fail;
18555 }
18556 temp4 = args(2).matrix_value();
18557 arg4 = &temp4( 0, 0 );
18558 }
18559 plfill3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
18560 _outv = octave_value();
18561 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18562 {
18563
18564 }
18565 {
18566
18567 }
18568 {
18569
18570 }
18571 return _out;
18572 fail:
18573 {
18574
18575 }
18576 {
18577
18578 }
18579 {
18580
18581 }
18582 return octave_value_list();
18583 }
18584 catch(...) {
18585 {
18586
18587 }
18588 {
18589
18590 }
18591 {
18592
18593 }
18594 throw;
18595 }
18596}
18597
18598
18600 PLINT arg1 ;
18601 PLFLT *arg2 = 0 ;
18602 PLFLT *arg3 = 0 ;
18603 PLFLT arg4 ;
18604 Matrix temp1 ;
18605 Matrix temp3 ;
18606 double val4 ;
18607 int ecode4 = 0 ;
18608 octave_value_list _out;
18609 octave_value_list *_outp=&_out;
18610 octave_value _outv;
18611
18612 try {
18613 if (!SWIG_check_num_args("plgradient",args.length(),3,3,0)) {
18614 SWIG_fail;
18615 }
18616 {
18617 if ( _n_dims( args(0) ) > 1 )
18618 {
18619 error( "argument must be a scalar or vector" ); SWIG_fail;
18620 }
18621 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
18622 temp1 = args(0).matrix_value();
18623 arg2 = &temp1( 0, 0 );
18624 }
18625 {
18626 if ( _n_dims( args(1) ) > 1 )
18627 {
18628 error( "argument must be a scalar or vector" ); SWIG_fail;
18629 }
18630 if ( _dim( args(1), 0 ) != Alen )
18631 {
18632 error( "argument vectors must be same length" ); SWIG_fail;
18633 }
18634 temp3 = args(1).matrix_value();
18635 arg3 = &temp3( 0, 0 );
18636 }
18637 ecode4 = SWIG_AsVal_double(args(2), &val4);
18638 if (!SWIG_IsOK(ecode4)) {
18639 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plgradient" "', argument " "4"" of type '" "PLFLT""'");
18640 }
18641 arg4 = static_cast< PLFLT >(val4);
18642 plgradient(arg1,(double const *)arg2,(double const *)arg3,arg4);
18643 _outv = octave_value();
18644 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18645 {
18646
18647 }
18648 {
18649
18650 }
18651 return _out;
18652 fail:
18653 {
18654
18655 }
18656 {
18657
18658 }
18659 return octave_value_list();
18660 }
18661 catch(...) {
18662 {
18663
18664 }
18665 {
18666
18667 }
18668 throw;
18669 }
18670}
18671
18672
18674 octave_value_list _out;
18675 octave_value_list *_outp=&_out;
18676 octave_value _outv;
18677
18678 try {
18679 if (!SWIG_check_num_args("plflush",args.length(),0,0,0)) {
18680 SWIG_fail;
18681 }
18682 plflush();
18683 _outv = octave_value();
18684 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18685 return _out;
18686 fail:
18687 return octave_value_list();
18688 }
18689 catch(...) {
18690 throw;
18691 }
18692}
18693
18694
18696 PLINT arg1 ;
18697 int val1 ;
18698 int ecode1 = 0 ;
18699 octave_value_list _out;
18700 octave_value_list *_outp=&_out;
18701 octave_value _outv;
18702
18703 try {
18704 if (!SWIG_check_num_args("plfont",args.length(),1,1,0)) {
18705 SWIG_fail;
18706 }
18707 ecode1 = SWIG_AsVal_int(args(0), &val1);
18708 if (!SWIG_IsOK(ecode1)) {
18709 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plfont" "', argument " "1"" of type '" "PLINT""'");
18710 }
18711 arg1 = static_cast< PLINT >(val1);
18712 plfont(arg1);
18713 _outv = octave_value();
18714 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18715 return _out;
18716 fail:
18717 return octave_value_list();
18718 }
18719 catch(...) {
18720 throw;
18721 }
18722}
18723
18724
18726 PLINT arg1 ;
18727 int val1 ;
18728 int ecode1 = 0 ;
18729 octave_value_list _out;
18730 octave_value_list *_outp=&_out;
18731 octave_value _outv;
18732
18733 try {
18734 if (!SWIG_check_num_args("plfontld",args.length(),1,1,0)) {
18735 SWIG_fail;
18736 }
18737 ecode1 = SWIG_AsVal_int(args(0), &val1);
18738 if (!SWIG_IsOK(ecode1)) {
18739 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plfontld" "', argument " "1"" of type '" "PLINT""'");
18740 }
18741 arg1 = static_cast< PLINT >(val1);
18742 plfontld(arg1);
18743 _outv = octave_value();
18744 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18745 return _out;
18746 fail:
18747 return octave_value_list();
18748 }
18749 catch(...) {
18750 throw;
18751 }
18752}
18753
18754
18756 PLFLT *arg1 = 0 ;
18757 PLFLT *arg2 = 0 ;
18758 PLFLT temp1 ;
18759 int res1 = SWIG_TMPOBJ ;
18760 PLFLT temp2 ;
18761 int res2 = SWIG_TMPOBJ ;
18762 octave_value_list _out;
18763 octave_value_list *_outp=&_out;
18764 octave_value _outv;
18765
18766 try {
18767 arg1 = &temp1;
18768 arg2 = &temp2;
18769 if (!SWIG_check_num_args("plgchr",args.length(),0,0,0)) {
18770 SWIG_fail;
18771 }
18772 plgchr(arg1,arg2);
18773 _outv = octave_value();
18774 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18775 if (SWIG_IsTmpObj(res1)) {
18776 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
18777 } else {
18778 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18779 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
18780 }
18781 if (SWIG_IsTmpObj(res2)) {
18782 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
18783 } else {
18784 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18785 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
18786 }
18787 return _out;
18788 fail:
18789 return octave_value_list();
18790 }
18791 catch(...) {
18792 throw;
18793 }
18794}
18795
18796
18798 PLINT arg1 ;
18799 PLINT *arg2 = 0 ;
18800 PLINT *arg3 = 0 ;
18801 PLINT *arg4 = 0 ;
18802 int val1 ;
18803 int ecode1 = 0 ;
18804 PLINT temp2 ;
18805 int res2 = SWIG_TMPOBJ ;
18806 PLINT temp3 ;
18807 int res3 = SWIG_TMPOBJ ;
18808 PLINT temp4 ;
18809 int res4 = SWIG_TMPOBJ ;
18810 octave_value_list _out;
18811 octave_value_list *_outp=&_out;
18812 octave_value _outv;
18813
18814 try {
18815 arg2 = &temp2;
18816 arg3 = &temp3;
18817 arg4 = &temp4;
18818 if (!SWIG_check_num_args("plgcol0",args.length(),1,1,0)) {
18819 SWIG_fail;
18820 }
18821 ecode1 = SWIG_AsVal_int(args(0), &val1);
18822 if (!SWIG_IsOK(ecode1)) {
18823 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plgcol0" "', argument " "1"" of type '" "PLINT""'");
18824 }
18825 arg1 = static_cast< PLINT >(val1);
18826 plgcol0(arg1,arg2,arg3,arg4);
18827 _outv = octave_value();
18828 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18829 if (SWIG_IsTmpObj(res2)) {
18830 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
18831 } else {
18832 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18833 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
18834 }
18835 if (SWIG_IsTmpObj(res3)) {
18836 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
18837 } else {
18838 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18839 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
18840 }
18841 if (SWIG_IsTmpObj(res4)) {
18842 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg4)));
18843 } else {
18844 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18845 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
18846 }
18847 return _out;
18848 fail:
18849 return octave_value_list();
18850 }
18851 catch(...) {
18852 throw;
18853 }
18854}
18855
18856
18858 PLINT arg1 ;
18859 PLINT *arg2 = 0 ;
18860 PLINT *arg3 = 0 ;
18861 PLINT *arg4 = 0 ;
18862 PLFLT *arg5 = 0 ;
18863 int val1 ;
18864 int ecode1 = 0 ;
18865 PLINT temp2 ;
18866 int res2 = SWIG_TMPOBJ ;
18867 PLINT temp3 ;
18868 int res3 = SWIG_TMPOBJ ;
18869 PLINT temp4 ;
18870 int res4 = SWIG_TMPOBJ ;
18871 PLFLT temp5 ;
18872 int res5 = SWIG_TMPOBJ ;
18873 octave_value_list _out;
18874 octave_value_list *_outp=&_out;
18875 octave_value _outv;
18876
18877 try {
18878 arg2 = &temp2;
18879 arg3 = &temp3;
18880 arg4 = &temp4;
18881 arg5 = &temp5;
18882 if (!SWIG_check_num_args("plgcol0a",args.length(),1,1,0)) {
18883 SWIG_fail;
18884 }
18885 ecode1 = SWIG_AsVal_int(args(0), &val1);
18886 if (!SWIG_IsOK(ecode1)) {
18887 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plgcol0a" "', argument " "1"" of type '" "PLINT""'");
18888 }
18889 arg1 = static_cast< PLINT >(val1);
18890 plgcol0a(arg1,arg2,arg3,arg4,arg5);
18891 _outv = octave_value();
18892 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18893 if (SWIG_IsTmpObj(res2)) {
18894 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
18895 } else {
18896 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18897 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
18898 }
18899 if (SWIG_IsTmpObj(res3)) {
18900 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
18901 } else {
18902 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18903 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
18904 }
18905 if (SWIG_IsTmpObj(res4)) {
18906 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg4)));
18907 } else {
18908 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18909 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
18910 }
18911 if (SWIG_IsTmpObj(res5)) {
18912 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg5)));
18913 } else {
18914 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18915 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags));
18916 }
18917 return _out;
18918 fail:
18919 return octave_value_list();
18920 }
18921 catch(...) {
18922 throw;
18923 }
18924}
18925
18926
18928 PLINT *arg1 = 0 ;
18929 PLINT *arg2 = 0 ;
18930 PLINT *arg3 = 0 ;
18931 PLINT temp1 ;
18932 int res1 = SWIG_TMPOBJ ;
18933 PLINT temp2 ;
18934 int res2 = SWIG_TMPOBJ ;
18935 PLINT temp3 ;
18936 int res3 = SWIG_TMPOBJ ;
18937 octave_value_list _out;
18938 octave_value_list *_outp=&_out;
18939 octave_value _outv;
18940
18941 try {
18942 arg1 = &temp1;
18943 arg2 = &temp2;
18944 arg3 = &temp3;
18945 if (!SWIG_check_num_args("plgcolbg",args.length(),0,0,0)) {
18946 SWIG_fail;
18947 }
18948 plgcolbg(arg1,arg2,arg3);
18949 _outv = octave_value();
18950 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
18951 if (SWIG_IsTmpObj(res1)) {
18952 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
18953 } else {
18954 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18955 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
18956 }
18957 if (SWIG_IsTmpObj(res2)) {
18958 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
18959 } else {
18960 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18961 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
18962 }
18963 if (SWIG_IsTmpObj(res3)) {
18964 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
18965 } else {
18966 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
18967 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
18968 }
18969 return _out;
18970 fail:
18971 return octave_value_list();
18972 }
18973 catch(...) {
18974 throw;
18975 }
18976}
18977
18978
18980 PLINT *arg1 = 0 ;
18981 PLINT *arg2 = 0 ;
18982 PLINT *arg3 = 0 ;
18983 PLFLT *arg4 = 0 ;
18984 PLINT temp1 ;
18985 int res1 = SWIG_TMPOBJ ;
18986 PLINT temp2 ;
18987 int res2 = SWIG_TMPOBJ ;
18988 PLINT temp3 ;
18989 int res3 = SWIG_TMPOBJ ;
18990 PLFLT temp4 ;
18991 int res4 = SWIG_TMPOBJ ;
18992 octave_value_list _out;
18993 octave_value_list *_outp=&_out;
18994 octave_value _outv;
18995
18996 try {
18997 arg1 = &temp1;
18998 arg2 = &temp2;
18999 arg3 = &temp3;
19000 arg4 = &temp4;
19001 if (!SWIG_check_num_args("plgcolbga",args.length(),0,0,0)) {
19002 SWIG_fail;
19003 }
19004 plgcolbga(arg1,arg2,arg3,arg4);
19005 _outv = octave_value();
19006 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19007 if (SWIG_IsTmpObj(res1)) {
19008 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19009 } else {
19010 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19011 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19012 }
19013 if (SWIG_IsTmpObj(res2)) {
19014 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
19015 } else {
19016 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19017 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19018 }
19019 if (SWIG_IsTmpObj(res3)) {
19020 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
19021 } else {
19022 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19023 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
19024 }
19025 if (SWIG_IsTmpObj(res4)) {
19026 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
19027 } else {
19028 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19029 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
19030 }
19031 return _out;
19032 fail:
19033 return octave_value_list();
19034 }
19035 catch(...) {
19036 throw;
19037 }
19038}
19039
19040
19041SWIG_DEFUN( plgcompression, _wrap_plgcompression, _wrap_plgcompression_texinfo ) {
19042 PLINT *arg1 = 0 ;
19043 PLINT temp1 ;
19044 int res1 = SWIG_TMPOBJ ;
19045 octave_value_list _out;
19046 octave_value_list *_outp=&_out;
19047 octave_value _outv;
19048
19049 try {
19050 arg1 = &temp1;
19051 if (!SWIG_check_num_args("plgcompression",args.length(),0,0,0)) {
19052 SWIG_fail;
19053 }
19054 plgcompression(arg1);
19055 _outv = octave_value();
19056 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19057 if (SWIG_IsTmpObj(res1)) {
19058 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19059 } else {
19060 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19061 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19062 }
19063 return _out;
19064 fail:
19065 return octave_value_list();
19066 }
19067 catch(...) {
19068 throw;
19069 }
19070}
19071
19072
19074 char *arg1 = 0 ;
19075 char local_string1[80] ;
19076 size_t local_string_length1 ;
19077 charMatrix local_charMatrix1 ;
19078 octave_value_list retval1 ;
19079 octave_value_list _out;
19080 octave_value_list *_outp=&_out;
19081 octave_value _outv;
19082
19083 try {
19084 {
19085 arg1 = local_string1;
19086 }
19087 if (!SWIG_check_num_args("plgdev",args.length(),0,0,0)) {
19088 SWIG_fail;
19089 }
19090 plgdev(arg1);
19091 _outv = octave_value();
19092 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19093 {
19094 local_string_length1 = strlen( local_string1 );
19095 local_charMatrix1 = charMatrix( 1, local_string_length1 );
19096 local_charMatrix1.insert( local_string1, 0, 0 );
19097 retval1( 0 ) = octave_value( local_charMatrix1 );
19098 _outp = SWIG_Octave_AppendOutput(_outp, retval1( 0 ));
19099 }
19100 return _out;
19101 fail:
19102 return octave_value_list();
19103 }
19104 catch(...) {
19105 throw;
19106 }
19107}
19108
19109
19111 PLFLT *arg1 = 0 ;
19112 PLFLT *arg2 = 0 ;
19113 PLFLT *arg3 = 0 ;
19114 PLFLT *arg4 = 0 ;
19115 PLFLT temp1 ;
19116 int res1 = SWIG_TMPOBJ ;
19117 PLFLT temp2 ;
19118 int res2 = SWIG_TMPOBJ ;
19119 PLFLT temp3 ;
19120 int res3 = SWIG_TMPOBJ ;
19121 PLFLT temp4 ;
19122 int res4 = SWIG_TMPOBJ ;
19123 octave_value_list _out;
19124 octave_value_list *_outp=&_out;
19125 octave_value _outv;
19126
19127 try {
19128 arg1 = &temp1;
19129 arg2 = &temp2;
19130 arg3 = &temp3;
19131 arg4 = &temp4;
19132 if (!SWIG_check_num_args("plgdidev",args.length(),0,0,0)) {
19133 SWIG_fail;
19134 }
19135 plgdidev(arg1,arg2,arg3,arg4);
19136 _outv = octave_value();
19137 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19138 if (SWIG_IsTmpObj(res1)) {
19139 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
19140 } else {
19141 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19142 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
19143 }
19144 if (SWIG_IsTmpObj(res2)) {
19145 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
19146 } else {
19147 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19148 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
19149 }
19150 if (SWIG_IsTmpObj(res3)) {
19151 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg3)));
19152 } else {
19153 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19154 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags));
19155 }
19156 if (SWIG_IsTmpObj(res4)) {
19157 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
19158 } else {
19159 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19160 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
19161 }
19162 return _out;
19163 fail:
19164 return octave_value_list();
19165 }
19166 catch(...) {
19167 throw;
19168 }
19169}
19170
19171
19173 PLFLT *arg1 = 0 ;
19174 PLFLT temp1 ;
19175 int res1 = SWIG_TMPOBJ ;
19176 octave_value_list _out;
19177 octave_value_list *_outp=&_out;
19178 octave_value _outv;
19179
19180 try {
19181 arg1 = &temp1;
19182 if (!SWIG_check_num_args("plgdiori",args.length(),0,0,0)) {
19183 SWIG_fail;
19184 }
19185 plgdiori(arg1);
19186 _outv = octave_value();
19187 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19188 if (SWIG_IsTmpObj(res1)) {
19189 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
19190 } else {
19191 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19192 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
19193 }
19194 return _out;
19195 fail:
19196 return octave_value_list();
19197 }
19198 catch(...) {
19199 throw;
19200 }
19201}
19202
19203
19205 PLFLT *arg1 = 0 ;
19206 PLFLT *arg2 = 0 ;
19207 PLFLT *arg3 = 0 ;
19208 PLFLT *arg4 = 0 ;
19209 PLFLT temp1 ;
19210 int res1 = SWIG_TMPOBJ ;
19211 PLFLT temp2 ;
19212 int res2 = SWIG_TMPOBJ ;
19213 PLFLT temp3 ;
19214 int res3 = SWIG_TMPOBJ ;
19215 PLFLT temp4 ;
19216 int res4 = SWIG_TMPOBJ ;
19217 octave_value_list _out;
19218 octave_value_list *_outp=&_out;
19219 octave_value _outv;
19220
19221 try {
19222 arg1 = &temp1;
19223 arg2 = &temp2;
19224 arg3 = &temp3;
19225 arg4 = &temp4;
19226 if (!SWIG_check_num_args("plgdiplt",args.length(),0,0,0)) {
19227 SWIG_fail;
19228 }
19229 plgdiplt(arg1,arg2,arg3,arg4);
19230 _outv = octave_value();
19231 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19232 if (SWIG_IsTmpObj(res1)) {
19233 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
19234 } else {
19235 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19236 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
19237 }
19238 if (SWIG_IsTmpObj(res2)) {
19239 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
19240 } else {
19241 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19242 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
19243 }
19244 if (SWIG_IsTmpObj(res3)) {
19245 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg3)));
19246 } else {
19247 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19248 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags));
19249 }
19250 if (SWIG_IsTmpObj(res4)) {
19251 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
19252 } else {
19253 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19254 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
19255 }
19256 return _out;
19257 fail:
19258 return octave_value_list();
19259 }
19260 catch(...) {
19261 throw;
19262 }
19263}
19264
19265
19267 PLINT *arg1 = 0 ;
19268 PLINT *arg2 = 0 ;
19269 PLINT *arg3 = 0 ;
19270 PLINT temp1 ;
19271 int res1 = SWIG_TMPOBJ ;
19272 PLINT temp2 ;
19273 int res2 = SWIG_TMPOBJ ;
19274 PLINT temp3 ;
19275 int res3 = SWIG_TMPOBJ ;
19276 octave_value_list _out;
19277 octave_value_list *_outp=&_out;
19278 octave_value _outv;
19279
19280 try {
19281 arg1 = &temp1;
19282 arg2 = &temp2;
19283 arg3 = &temp3;
19284 if (!SWIG_check_num_args("plgfam",args.length(),0,0,0)) {
19285 SWIG_fail;
19286 }
19287 plgfam(arg1,arg2,arg3);
19288 _outv = octave_value();
19289 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19290 if (SWIG_IsTmpObj(res1)) {
19291 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19292 } else {
19293 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19294 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19295 }
19296 if (SWIG_IsTmpObj(res2)) {
19297 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
19298 } else {
19299 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19300 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19301 }
19302 if (SWIG_IsTmpObj(res3)) {
19303 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
19304 } else {
19305 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19306 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
19307 }
19308 return _out;
19309 fail:
19310 return octave_value_list();
19311 }
19312 catch(...) {
19313 throw;
19314 }
19315}
19316
19317
19319 PLUNICODE *arg1 = 0 ;
19320 PLUNICODE temp1 ;
19321 int res1 = SWIG_TMPOBJ ;
19322 octave_value_list _out;
19323 octave_value_list *_outp=&_out;
19324 octave_value _outv;
19325
19326 try {
19327 arg1 = &temp1;
19328 if (!SWIG_check_num_args("plgfci",args.length(),0,0,0)) {
19329 SWIG_fail;
19330 }
19331 plgfci(arg1);
19332 _outv = octave_value();
19333 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19334 if (SWIG_IsTmpObj(res1)) {
19335 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_unsigned_SS_int((*arg1)));
19336 } else {
19337 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19338 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_unsigned_int, new_flags));
19339 }
19340 return _out;
19341 fail:
19342 return octave_value_list();
19343 }
19344 catch(...) {
19345 throw;
19346 }
19347}
19348
19349
19351 char *arg1 = 0 ;
19352 char local_string1[80] ;
19353 size_t local_string_length1 ;
19354 charMatrix local_charMatrix1 ;
19355 octave_value_list retval1 ;
19356 octave_value_list _out;
19357 octave_value_list *_outp=&_out;
19358 octave_value _outv;
19359
19360 try {
19361 {
19362 arg1 = local_string1;
19363 }
19364 if (!SWIG_check_num_args("plgfnam",args.length(),0,0,0)) {
19365 SWIG_fail;
19366 }
19367 plgfnam(arg1);
19368 _outv = octave_value();
19369 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19370 {
19371 local_string_length1 = strlen( local_string1 );
19372 local_charMatrix1 = charMatrix( 1, local_string_length1 );
19373 local_charMatrix1.insert( local_string1, 0, 0 );
19374 retval1( 0 ) = octave_value( local_charMatrix1 );
19375 _outp = SWIG_Octave_AppendOutput(_outp, retval1( 0 ));
19376 }
19377 return _out;
19378 fail:
19379 return octave_value_list();
19380 }
19381 catch(...) {
19382 throw;
19383 }
19384}
19385
19386
19388 PLINT *arg1 = 0 ;
19389 PLINT *arg2 = 0 ;
19390 PLINT *arg3 = 0 ;
19391 PLINT temp1 ;
19392 int res1 = SWIG_TMPOBJ ;
19393 PLINT temp2 ;
19394 int res2 = SWIG_TMPOBJ ;
19395 PLINT temp3 ;
19396 int res3 = SWIG_TMPOBJ ;
19397 octave_value_list _out;
19398 octave_value_list *_outp=&_out;
19399 octave_value _outv;
19400
19401 try {
19402 arg1 = &temp1;
19403 arg2 = &temp2;
19404 arg3 = &temp3;
19405 if (!SWIG_check_num_args("plgfont",args.length(),0,0,0)) {
19406 SWIG_fail;
19407 }
19408 plgfont(arg1,arg2,arg3);
19409 _outv = octave_value();
19410 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19411 if (SWIG_IsTmpObj(res1)) {
19412 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19413 } else {
19414 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19415 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19416 }
19417 if (SWIG_IsTmpObj(res2)) {
19418 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
19419 } else {
19420 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19421 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19422 }
19423 if (SWIG_IsTmpObj(res3)) {
19424 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
19425 } else {
19426 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19427 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
19428 }
19429 return _out;
19430 fail:
19431 return octave_value_list();
19432 }
19433 catch(...) {
19434 throw;
19435 }
19436}
19437
19438
19440 PLINT *arg1 = 0 ;
19441 PLINT temp1 ;
19442 int res1 = SWIG_TMPOBJ ;
19443 octave_value_list _out;
19444 octave_value_list *_outp=&_out;
19445 octave_value _outv;
19446
19447 try {
19448 arg1 = &temp1;
19449 if (!SWIG_check_num_args("plglevel",args.length(),0,0,0)) {
19450 SWIG_fail;
19451 }
19452 plglevel(arg1);
19453 _outv = octave_value();
19454 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19455 if (SWIG_IsTmpObj(res1)) {
19456 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19457 } else {
19458 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19459 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19460 }
19461 return _out;
19462 fail:
19463 return octave_value_list();
19464 }
19465 catch(...) {
19466 throw;
19467 }
19468}
19469
19470
19472 PLFLT *arg1 = 0 ;
19473 PLFLT *arg2 = 0 ;
19474 PLINT *arg3 = 0 ;
19475 PLINT *arg4 = 0 ;
19476 PLINT *arg5 = 0 ;
19477 PLINT *arg6 = 0 ;
19478 PLFLT temp1 ;
19479 int res1 = SWIG_TMPOBJ ;
19480 PLFLT temp2 ;
19481 int res2 = SWIG_TMPOBJ ;
19482 PLINT temp3 ;
19483 int res3 = SWIG_TMPOBJ ;
19484 PLINT temp4 ;
19485 int res4 = SWIG_TMPOBJ ;
19486 PLINT temp5 ;
19487 int res5 = SWIG_TMPOBJ ;
19488 PLINT temp6 ;
19489 int res6 = SWIG_TMPOBJ ;
19490 octave_value_list _out;
19491 octave_value_list *_outp=&_out;
19492 octave_value _outv;
19493
19494 try {
19495 arg1 = &temp1;
19496 arg2 = &temp2;
19497 arg3 = &temp3;
19498 arg4 = &temp4;
19499 arg5 = &temp5;
19500 arg6 = &temp6;
19501 if (!SWIG_check_num_args("plgpage",args.length(),0,0,0)) {
19502 SWIG_fail;
19503 }
19504 plgpage(arg1,arg2,arg3,arg4,arg5,arg6);
19505 _outv = octave_value();
19506 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19507 if (SWIG_IsTmpObj(res1)) {
19508 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
19509 } else {
19510 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19511 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
19512 }
19513 if (SWIG_IsTmpObj(res2)) {
19514 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
19515 } else {
19516 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19517 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
19518 }
19519 if (SWIG_IsTmpObj(res3)) {
19520 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg3)));
19521 } else {
19522 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19523 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
19524 }
19525 if (SWIG_IsTmpObj(res4)) {
19526 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg4)));
19527 } else {
19528 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19529 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
19530 }
19531 if (SWIG_IsTmpObj(res5)) {
19532 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg5)));
19533 } else {
19534 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19535 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
19536 }
19537 if (SWIG_IsTmpObj(res6)) {
19538 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg6)));
19539 } else {
19540 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19541 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, new_flags));
19542 }
19543 return _out;
19544 fail:
19545 return octave_value_list();
19546 }
19547 catch(...) {
19548 throw;
19549 }
19550}
19551
19552
19554 octave_value_list _out;
19555 octave_value_list *_outp=&_out;
19556 octave_value _outv;
19557
19558 try {
19559 if (!SWIG_check_num_args("plgra",args.length(),0,0,0)) {
19560 SWIG_fail;
19561 }
19562 plgra();
19563 _outv = octave_value();
19564 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19565 return _out;
19566 fail:
19567 return octave_value_list();
19568 }
19569 catch(...) {
19570 throw;
19571 }
19572}
19573
19574
19576 PLFLT *arg1 = 0 ;
19577 PLFLT *arg2 = 0 ;
19578 PLFLT *arg3 = 0 ;
19579 PLFLT *arg4 = 0 ;
19580 PLFLT temp1 ;
19581 int res1 = SWIG_TMPOBJ ;
19582 PLFLT temp2 ;
19583 int res2 = SWIG_TMPOBJ ;
19584 PLFLT temp3 ;
19585 int res3 = SWIG_TMPOBJ ;
19586 PLFLT temp4 ;
19587 int res4 = SWIG_TMPOBJ ;
19588 octave_value_list _out;
19589 octave_value_list *_outp=&_out;
19590 octave_value _outv;
19591
19592 try {
19593 arg1 = &temp1;
19594 arg2 = &temp2;
19595 arg3 = &temp3;
19596 arg4 = &temp4;
19597 if (!SWIG_check_num_args("plgspa",args.length(),0,0,0)) {
19598 SWIG_fail;
19599 }
19600 plgspa(arg1,arg2,arg3,arg4);
19601 _outv = octave_value();
19602 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19603 if (SWIG_IsTmpObj(res1)) {
19604 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
19605 } else {
19606 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19607 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
19608 }
19609 if (SWIG_IsTmpObj(res2)) {
19610 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
19611 } else {
19612 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19613 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
19614 }
19615 if (SWIG_IsTmpObj(res3)) {
19616 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg3)));
19617 } else {
19618 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19619 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags));
19620 }
19621 if (SWIG_IsTmpObj(res4)) {
19622 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
19623 } else {
19624 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19625 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
19626 }
19627 return _out;
19628 fail:
19629 return octave_value_list();
19630 }
19631 catch(...) {
19632 throw;
19633 }
19634}
19635
19636
19638 PLINT *arg1 = 0 ;
19639 PLINT temp1 ;
19640 int res1 = SWIG_TMPOBJ ;
19641 octave_value_list _out;
19642 octave_value_list *_outp=&_out;
19643 octave_value _outv;
19644
19645 try {
19646 arg1 = &temp1;
19647 if (!SWIG_check_num_args("plgstrm",args.length(),0,0,0)) {
19648 SWIG_fail;
19649 }
19650 plgstrm(arg1);
19651 _outv = octave_value();
19652 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19653 if (SWIG_IsTmpObj(res1)) {
19654 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19655 } else {
19656 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19657 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19658 }
19659 return _out;
19660 fail:
19661 return octave_value_list();
19662 }
19663 catch(...) {
19664 throw;
19665 }
19666}
19667
19668
19670 char *arg1 = 0 ;
19671 char local_string1[80] ;
19672 size_t local_string_length1 ;
19673 charMatrix local_charMatrix1 ;
19674 octave_value_list retval1 ;
19675 octave_value_list _out;
19676 octave_value_list *_outp=&_out;
19677 octave_value _outv;
19678
19679 try {
19680 {
19681 arg1 = local_string1;
19682 }
19683 if (!SWIG_check_num_args("plgver",args.length(),0,0,0)) {
19684 SWIG_fail;
19685 }
19686 plgver(arg1);
19687 _outv = octave_value();
19688 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19689 {
19690 local_string_length1 = strlen( local_string1 );
19691 local_charMatrix1 = charMatrix( 1, local_string_length1 );
19692 local_charMatrix1.insert( local_string1, 0, 0 );
19693 retval1( 0 ) = octave_value( local_charMatrix1 );
19694 _outp = SWIG_Octave_AppendOutput(_outp, retval1( 0 ));
19695 }
19696 return _out;
19697 fail:
19698 return octave_value_list();
19699 }
19700 catch(...) {
19701 throw;
19702 }
19703}
19704
19705
19707 PLFLT *arg1 = 0 ;
19708 PLFLT *arg2 = 0 ;
19709 PLFLT *arg3 = 0 ;
19710 PLFLT *arg4 = 0 ;
19711 PLFLT temp1 ;
19712 int res1 = SWIG_TMPOBJ ;
19713 PLFLT temp2 ;
19714 int res2 = SWIG_TMPOBJ ;
19715 PLFLT temp3 ;
19716 int res3 = SWIG_TMPOBJ ;
19717 PLFLT temp4 ;
19718 int res4 = SWIG_TMPOBJ ;
19719 octave_value_list _out;
19720 octave_value_list *_outp=&_out;
19721 octave_value _outv;
19722
19723 try {
19724 arg1 = &temp1;
19725 arg2 = &temp2;
19726 arg3 = &temp3;
19727 arg4 = &temp4;
19728 if (!SWIG_check_num_args("plgvpd",args.length(),0,0,0)) {
19729 SWIG_fail;
19730 }
19731 plgvpd(arg1,arg2,arg3,arg4);
19732 _outv = octave_value();
19733 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19734 if (SWIG_IsTmpObj(res1)) {
19735 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
19736 } else {
19737 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19738 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
19739 }
19740 if (SWIG_IsTmpObj(res2)) {
19741 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
19742 } else {
19743 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19744 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
19745 }
19746 if (SWIG_IsTmpObj(res3)) {
19747 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg3)));
19748 } else {
19749 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19750 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags));
19751 }
19752 if (SWIG_IsTmpObj(res4)) {
19753 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
19754 } else {
19755 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19756 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
19757 }
19758 return _out;
19759 fail:
19760 return octave_value_list();
19761 }
19762 catch(...) {
19763 throw;
19764 }
19765}
19766
19767
19769 PLFLT *arg1 = 0 ;
19770 PLFLT *arg2 = 0 ;
19771 PLFLT *arg3 = 0 ;
19772 PLFLT *arg4 = 0 ;
19773 PLFLT temp1 ;
19774 int res1 = SWIG_TMPOBJ ;
19775 PLFLT temp2 ;
19776 int res2 = SWIG_TMPOBJ ;
19777 PLFLT temp3 ;
19778 int res3 = SWIG_TMPOBJ ;
19779 PLFLT temp4 ;
19780 int res4 = SWIG_TMPOBJ ;
19781 octave_value_list _out;
19782 octave_value_list *_outp=&_out;
19783 octave_value _outv;
19784
19785 try {
19786 arg1 = &temp1;
19787 arg2 = &temp2;
19788 arg3 = &temp3;
19789 arg4 = &temp4;
19790 if (!SWIG_check_num_args("plgvpw",args.length(),0,0,0)) {
19791 SWIG_fail;
19792 }
19793 plgvpw(arg1,arg2,arg3,arg4);
19794 _outv = octave_value();
19795 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19796 if (SWIG_IsTmpObj(res1)) {
19797 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
19798 } else {
19799 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19800 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
19801 }
19802 if (SWIG_IsTmpObj(res2)) {
19803 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
19804 } else {
19805 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19806 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
19807 }
19808 if (SWIG_IsTmpObj(res3)) {
19809 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg3)));
19810 } else {
19811 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19812 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags));
19813 }
19814 if (SWIG_IsTmpObj(res4)) {
19815 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
19816 } else {
19817 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19818 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
19819 }
19820 return _out;
19821 fail:
19822 return octave_value_list();
19823 }
19824 catch(...) {
19825 throw;
19826 }
19827}
19828
19829
19831 PLINT *arg1 = 0 ;
19832 PLINT *arg2 = 0 ;
19833 PLINT temp1 ;
19834 int res1 = SWIG_TMPOBJ ;
19835 PLINT temp2 ;
19836 int res2 = SWIG_TMPOBJ ;
19837 octave_value_list _out;
19838 octave_value_list *_outp=&_out;
19839 octave_value _outv;
19840
19841 try {
19842 arg1 = &temp1;
19843 arg2 = &temp2;
19844 if (!SWIG_check_num_args("plgxax",args.length(),0,0,0)) {
19845 SWIG_fail;
19846 }
19847 plgxax(arg1,arg2);
19848 _outv = octave_value();
19849 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19850 if (SWIG_IsTmpObj(res1)) {
19851 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19852 } else {
19853 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19854 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19855 }
19856 if (SWIG_IsTmpObj(res2)) {
19857 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
19858 } else {
19859 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19860 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19861 }
19862 return _out;
19863 fail:
19864 return octave_value_list();
19865 }
19866 catch(...) {
19867 throw;
19868 }
19869}
19870
19871
19873 PLINT *arg1 = 0 ;
19874 PLINT *arg2 = 0 ;
19875 PLINT temp1 ;
19876 int res1 = SWIG_TMPOBJ ;
19877 PLINT temp2 ;
19878 int res2 = SWIG_TMPOBJ ;
19879 octave_value_list _out;
19880 octave_value_list *_outp=&_out;
19881 octave_value _outv;
19882
19883 try {
19884 arg1 = &temp1;
19885 arg2 = &temp2;
19886 if (!SWIG_check_num_args("plgyax",args.length(),0,0,0)) {
19887 SWIG_fail;
19888 }
19889 plgyax(arg1,arg2);
19890 _outv = octave_value();
19891 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19892 if (SWIG_IsTmpObj(res1)) {
19893 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19894 } else {
19895 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19896 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19897 }
19898 if (SWIG_IsTmpObj(res2)) {
19899 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
19900 } else {
19901 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19902 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19903 }
19904 return _out;
19905 fail:
19906 return octave_value_list();
19907 }
19908 catch(...) {
19909 throw;
19910 }
19911}
19912
19913
19915 PLINT *arg1 = 0 ;
19916 PLINT *arg2 = 0 ;
19917 PLINT temp1 ;
19918 int res1 = SWIG_TMPOBJ ;
19919 PLINT temp2 ;
19920 int res2 = SWIG_TMPOBJ ;
19921 octave_value_list _out;
19922 octave_value_list *_outp=&_out;
19923 octave_value _outv;
19924
19925 try {
19926 arg1 = &temp1;
19927 arg2 = &temp2;
19928 if (!SWIG_check_num_args("plgzax",args.length(),0,0,0)) {
19929 SWIG_fail;
19930 }
19931 plgzax(arg1,arg2);
19932 _outv = octave_value();
19933 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
19934 if (SWIG_IsTmpObj(res1)) {
19935 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
19936 } else {
19937 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19938 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
19939 }
19940 if (SWIG_IsTmpObj(res2)) {
19941 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
19942 } else {
19943 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19944 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
19945 }
19946 return _out;
19947 fail:
19948 return octave_value_list();
19949 }
19950 catch(...) {
19951 throw;
19952 }
19953}
19954
19955
19957 PLINT arg1 ;
19958 PLFLT *arg2 = 0 ;
19959 PLFLT arg3 ;
19960 PLFLT arg4 ;
19961 PLINT arg5 ;
19962 PLINT arg6 ;
19963 Matrix temp1 ;
19964 double val3 ;
19965 int ecode3 = 0 ;
19966 double val4 ;
19967 int ecode4 = 0 ;
19968 int val5 ;
19969 int ecode5 = 0 ;
19970 int val6 ;
19971 int ecode6 = 0 ;
19972 octave_value_list _out;
19973 octave_value_list *_outp=&_out;
19974 octave_value _outv;
19975
19976 try {
19977 if (!SWIG_check_num_args("plhist",args.length(),5,5,0)) {
19978 SWIG_fail;
19979 }
19980 {
19981 if ( _n_dims( args(0) ) > 1 )
19982 {
19983 error( "argument must be a scalar or vector" ); SWIG_fail;
19984 }
19985 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
19986 temp1 = args(0).matrix_value();
19987 arg2 = &temp1( 0, 0 );
19988 }
19989 ecode3 = SWIG_AsVal_double(args(1), &val3);
19990 if (!SWIG_IsOK(ecode3)) {
19991 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plhist" "', argument " "3"" of type '" "PLFLT""'");
19992 }
19993 arg3 = static_cast< PLFLT >(val3);
19994 ecode4 = SWIG_AsVal_double(args(2), &val4);
19995 if (!SWIG_IsOK(ecode4)) {
19996 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plhist" "', argument " "4"" of type '" "PLFLT""'");
19997 }
19998 arg4 = static_cast< PLFLT >(val4);
19999 ecode5 = SWIG_AsVal_int(args(3), &val5);
20000 if (!SWIG_IsOK(ecode5)) {
20001 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plhist" "', argument " "5"" of type '" "PLINT""'");
20002 }
20003 arg5 = static_cast< PLINT >(val5);
20004 ecode6 = SWIG_AsVal_int(args(4), &val6);
20005 if (!SWIG_IsOK(ecode6)) {
20006 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plhist" "', argument " "6"" of type '" "PLINT""'");
20007 }
20008 arg6 = static_cast< PLINT >(val6);
20009 plhist(arg1,(double const *)arg2,arg3,arg4,arg5,arg6);
20010 _outv = octave_value();
20011 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20012 {
20013
20014 }
20015 return _out;
20016 fail:
20017 {
20018
20019 }
20020 return octave_value_list();
20021 }
20022 catch(...) {
20023 {
20024
20025 }
20026 throw;
20027 }
20028}
20029
20030
20032 PLFLT arg1 ;
20033 PLFLT arg2 ;
20034 PLFLT arg3 ;
20035 PLFLT *arg4 = 0 ;
20036 PLFLT *arg5 = 0 ;
20037 PLFLT *arg6 = 0 ;
20038 double val1 ;
20039 int ecode1 = 0 ;
20040 double val2 ;
20041 int ecode2 = 0 ;
20042 double val3 ;
20043 int ecode3 = 0 ;
20044 PLFLT temp4 ;
20045 int res4 = SWIG_TMPOBJ ;
20046 PLFLT temp5 ;
20047 int res5 = SWIG_TMPOBJ ;
20048 PLFLT temp6 ;
20049 int res6 = SWIG_TMPOBJ ;
20050 octave_value_list _out;
20051 octave_value_list *_outp=&_out;
20052 octave_value _outv;
20053
20054 try {
20055 arg4 = &temp4;
20056 arg5 = &temp5;
20057 arg6 = &temp6;
20058 if (!SWIG_check_num_args("plhlsrgb",args.length(),3,3,0)) {
20059 SWIG_fail;
20060 }
20061 ecode1 = SWIG_AsVal_double(args(0), &val1);
20062 if (!SWIG_IsOK(ecode1)) {
20063 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plhlsrgb" "', argument " "1"" of type '" "PLFLT""'");
20064 }
20065 arg1 = static_cast< PLFLT >(val1);
20066 ecode2 = SWIG_AsVal_double(args(1), &val2);
20067 if (!SWIG_IsOK(ecode2)) {
20068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plhlsrgb" "', argument " "2"" of type '" "PLFLT""'");
20069 }
20070 arg2 = static_cast< PLFLT >(val2);
20071 ecode3 = SWIG_AsVal_double(args(2), &val3);
20072 if (!SWIG_IsOK(ecode3)) {
20073 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plhlsrgb" "', argument " "3"" of type '" "PLFLT""'");
20074 }
20075 arg3 = static_cast< PLFLT >(val3);
20076 plhlsrgb(arg1,arg2,arg3,arg4,arg5,arg6);
20077 _outv = octave_value();
20078 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20079 if (SWIG_IsTmpObj(res4)) {
20080 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
20081 } else {
20082 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20083 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
20084 }
20085 if (SWIG_IsTmpObj(res5)) {
20086 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg5)));
20087 } else {
20088 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20089 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags));
20090 }
20091 if (SWIG_IsTmpObj(res6)) {
20092 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg6)));
20093 } else {
20094 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20095 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags));
20096 }
20097 return _out;
20098 fail:
20099 return octave_value_list();
20100 }
20101 catch(...) {
20102 throw;
20103 }
20104}
20105
20106
20108 octave_value_list _out;
20109 octave_value_list *_outp=&_out;
20110 octave_value _outv;
20111
20112 try {
20113 if (!SWIG_check_num_args("plinit",args.length(),0,0,0)) {
20114 SWIG_fail;
20115 }
20116 plinit();
20117 _outv = octave_value();
20118 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20119 return _out;
20120 fail:
20121 return octave_value_list();
20122 }
20123 catch(...) {
20124 throw;
20125 }
20126}
20127
20128
20130 PLFLT arg1 ;
20131 PLFLT arg2 ;
20132 PLFLT arg3 ;
20133 PLFLT arg4 ;
20134 double val1 ;
20135 int ecode1 = 0 ;
20136 double val2 ;
20137 int ecode2 = 0 ;
20138 double val3 ;
20139 int ecode3 = 0 ;
20140 double val4 ;
20141 int ecode4 = 0 ;
20142 octave_value_list _out;
20143 octave_value_list *_outp=&_out;
20144 octave_value _outv;
20145
20146 try {
20147 if (!SWIG_check_num_args("pljoin",args.length(),4,4,0)) {
20148 SWIG_fail;
20149 }
20150 ecode1 = SWIG_AsVal_double(args(0), &val1);
20151 if (!SWIG_IsOK(ecode1)) {
20152 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pljoin" "', argument " "1"" of type '" "PLFLT""'");
20153 }
20154 arg1 = static_cast< PLFLT >(val1);
20155 ecode2 = SWIG_AsVal_double(args(1), &val2);
20156 if (!SWIG_IsOK(ecode2)) {
20157 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pljoin" "', argument " "2"" of type '" "PLFLT""'");
20158 }
20159 arg2 = static_cast< PLFLT >(val2);
20160 ecode3 = SWIG_AsVal_double(args(2), &val3);
20161 if (!SWIG_IsOK(ecode3)) {
20162 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pljoin" "', argument " "3"" of type '" "PLFLT""'");
20163 }
20164 arg3 = static_cast< PLFLT >(val3);
20165 ecode4 = SWIG_AsVal_double(args(3), &val4);
20166 if (!SWIG_IsOK(ecode4)) {
20167 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pljoin" "', argument " "4"" of type '" "PLFLT""'");
20168 }
20169 arg4 = static_cast< PLFLT >(val4);
20170 pljoin(arg1,arg2,arg3,arg4);
20171 _outv = octave_value();
20172 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20173 return _out;
20174 fail:
20175 return octave_value_list();
20176 }
20177 catch(...) {
20178 throw;
20179 }
20180}
20181
20182
20184 char *arg1 = 0 ;
20185 char *arg2 = 0 ;
20186 char *arg3 = 0 ;
20187 int res1 ;
20188 char *buf1 = 0 ;
20189 int alloc1 = 0 ;
20190 int res2 ;
20191 char *buf2 = 0 ;
20192 int alloc2 = 0 ;
20193 int res3 ;
20194 char *buf3 = 0 ;
20195 int alloc3 = 0 ;
20196 octave_value_list _out;
20197 octave_value_list *_outp=&_out;
20198 octave_value _outv;
20199
20200 try {
20201 if (!SWIG_check_num_args("pllab",args.length(),3,3,0)) {
20202 SWIG_fail;
20203 }
20204 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
20205 if (!SWIG_IsOK(res1)) {
20206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pllab" "', argument " "1"" of type '" "char const *""'");
20207 }
20208 arg1 = reinterpret_cast< char * >(buf1);
20209 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
20210 if (!SWIG_IsOK(res2)) {
20211 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pllab" "', argument " "2"" of type '" "char const *""'");
20212 }
20213 arg2 = reinterpret_cast< char * >(buf2);
20214 res3 = SWIG_AsCharPtrAndSize(args(2), &buf3, NULL, &alloc3);
20215 if (!SWIG_IsOK(res3)) {
20216 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pllab" "', argument " "3"" of type '" "char const *""'");
20217 }
20218 arg3 = reinterpret_cast< char * >(buf3);
20219 pllab((char const *)arg1,(char const *)arg2,(char const *)arg3);
20220 _outv = octave_value();
20221 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20222 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
20223 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
20224 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
20225 return _out;
20226 fail:
20227 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
20228 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
20229 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
20230 return octave_value_list();
20231 }
20232 catch(...) {
20233 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
20234 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
20235 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
20236 throw;
20237 }
20238}
20239
20240
20242 PLFLT *arg1 = 0 ;
20243 PLFLT *arg2 = 0 ;
20244 PLINT arg3 ;
20245 PLINT arg4 ;
20246 PLFLT arg5 ;
20247 PLFLT arg6 ;
20248 PLFLT arg7 ;
20249 PLINT arg8 ;
20250 PLINT arg9 ;
20251 PLINT arg10 ;
20252 PLINT arg11 ;
20253 PLINT arg12 ;
20254 PLINT arg13 ;
20255 PLINT *arg14 = 0 ;
20256 PLFLT arg15 ;
20257 PLFLT arg16 ;
20258 PLFLT arg17 ;
20259 PLFLT arg18 ;
20260 PLINT *arg19 = 0 ;
20261 char **arg20 = 0 ;
20262 PLINT *arg21 = 0 ;
20263 PLINT *arg22 = 0 ;
20264 PLFLT *arg23 = 0 ;
20265 PLFLT *arg24 = 0 ;
20266 PLINT *arg25 = 0 ;
20267 PLINT *arg26 = 0 ;
20268 PLFLT *arg27 = 0 ;
20269 PLINT *arg28 = 0 ;
20270 PLFLT *arg29 = 0 ;
20271 PLINT *arg30 = 0 ;
20272 char **arg31 = 0 ;
20273 PLFLT temp1 ;
20274 int res1 = SWIG_TMPOBJ ;
20275 PLFLT temp2 ;
20276 int res2 = SWIG_TMPOBJ ;
20277 int val3 ;
20278 int ecode3 = 0 ;
20279 int val4 ;
20280 int ecode4 = 0 ;
20281 double val5 ;
20282 int ecode5 = 0 ;
20283 double val6 ;
20284 int ecode6 = 0 ;
20285 double val7 ;
20286 int ecode7 = 0 ;
20287 int val8 ;
20288 int ecode8 = 0 ;
20289 int val9 ;
20290 int ecode9 = 0 ;
20291 int val10 ;
20292 int ecode10 = 0 ;
20293 int val11 ;
20294 int ecode11 = 0 ;
20295 int val12 ;
20296 int ecode12 = 0 ;
20297 Matrix temp13 ;
20298 double val15 ;
20299 int ecode15 = 0 ;
20300 double val16 ;
20301 int ecode16 = 0 ;
20302 double val17 ;
20303 int ecode17 = 0 ;
20304 double val18 ;
20305 int ecode18 = 0 ;
20306 Matrix temp19 ;
20307 Matrix temp21 ;
20308 Matrix temp22 ;
20309 Matrix temp23 ;
20310 Matrix temp24 ;
20311 Matrix temp25 ;
20312 Matrix temp26 ;
20313 Matrix temp27 ;
20314 Matrix temp28 ;
20315 Matrix temp29 ;
20316 Matrix temp30 ;
20317 octave_value_list _out;
20318 octave_value_list *_outp=&_out;
20319 octave_value _outv;
20320
20321 try {
20322 arg1 = &temp1;
20323 arg2 = &temp2;
20324 if (!SWIG_check_num_args("pllegend",args.length(),28,28,0)) {
20325 SWIG_fail;
20326 }
20327 ecode3 = SWIG_AsVal_int(args(0), &val3);
20328 if (!SWIG_IsOK(ecode3)) {
20329 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pllegend" "', argument " "3"" of type '" "PLINT""'");
20330 }
20331 arg3 = static_cast< PLINT >(val3);
20332 ecode4 = SWIG_AsVal_int(args(1), &val4);
20333 if (!SWIG_IsOK(ecode4)) {
20334 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pllegend" "', argument " "4"" of type '" "PLINT""'");
20335 }
20336 arg4 = static_cast< PLINT >(val4);
20337 ecode5 = SWIG_AsVal_double(args(2), &val5);
20338 if (!SWIG_IsOK(ecode5)) {
20339 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pllegend" "', argument " "5"" of type '" "PLFLT""'");
20340 }
20341 arg5 = static_cast< PLFLT >(val5);
20342 ecode6 = SWIG_AsVal_double(args(3), &val6);
20343 if (!SWIG_IsOK(ecode6)) {
20344 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "pllegend" "', argument " "6"" of type '" "PLFLT""'");
20345 }
20346 arg6 = static_cast< PLFLT >(val6);
20347 ecode7 = SWIG_AsVal_double(args(4), &val7);
20348 if (!SWIG_IsOK(ecode7)) {
20349 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "pllegend" "', argument " "7"" of type '" "PLFLT""'");
20350 }
20351 arg7 = static_cast< PLFLT >(val7);
20352 ecode8 = SWIG_AsVal_int(args(5), &val8);
20353 if (!SWIG_IsOK(ecode8)) {
20354 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "pllegend" "', argument " "8"" of type '" "PLINT""'");
20355 }
20356 arg8 = static_cast< PLINT >(val8);
20357 ecode9 = SWIG_AsVal_int(args(6), &val9);
20358 if (!SWIG_IsOK(ecode9)) {
20359 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "pllegend" "', argument " "9"" of type '" "PLINT""'");
20360 }
20361 arg9 = static_cast< PLINT >(val9);
20362 ecode10 = SWIG_AsVal_int(args(7), &val10);
20363 if (!SWIG_IsOK(ecode10)) {
20364 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "pllegend" "', argument " "10"" of type '" "PLINT""'");
20365 }
20366 arg10 = static_cast< PLINT >(val10);
20367 ecode11 = SWIG_AsVal_int(args(8), &val11);
20368 if (!SWIG_IsOK(ecode11)) {
20369 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "pllegend" "', argument " "11"" of type '" "PLINT""'");
20370 }
20371 arg11 = static_cast< PLINT >(val11);
20372 ecode12 = SWIG_AsVal_int(args(9), &val12);
20373 if (!SWIG_IsOK(ecode12)) {
20374 SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "pllegend" "', argument " "12"" of type '" "PLINT""'");
20375 }
20376 arg12 = static_cast< PLINT >(val12);
20377 {
20378 if ( _n_dims( args(10) ) > 1 )
20379 {
20380 error( "argument must be a scalar or vector" ); SWIG_fail;
20381 }
20382 arg13 = Alen = (PLINT) ( _dim( args(10), 0 ) );
20383 arg14 = new PLINT[Alen];
20384 temp13 = args(10).matrix_value();
20385 _cvt_double_to( arg14, &temp13( 0, 0 ), Alen );
20386 }
20387 ecode15 = SWIG_AsVal_double(args(11), &val15);
20388 if (!SWIG_IsOK(ecode15)) {
20389 SWIG_exception_fail(SWIG_ArgError(ecode15), "in method '" "pllegend" "', argument " "15"" of type '" "PLFLT""'");
20390 }
20391 arg15 = static_cast< PLFLT >(val15);
20392 ecode16 = SWIG_AsVal_double(args(12), &val16);
20393 if (!SWIG_IsOK(ecode16)) {
20394 SWIG_exception_fail(SWIG_ArgError(ecode16), "in method '" "pllegend" "', argument " "16"" of type '" "PLFLT""'");
20395 }
20396 arg16 = static_cast< PLFLT >(val16);
20397 ecode17 = SWIG_AsVal_double(args(13), &val17);
20398 if (!SWIG_IsOK(ecode17)) {
20399 SWIG_exception_fail(SWIG_ArgError(ecode17), "in method '" "pllegend" "', argument " "17"" of type '" "PLFLT""'");
20400 }
20401 arg17 = static_cast< PLFLT >(val17);
20402 ecode18 = SWIG_AsVal_double(args(14), &val18);
20403 if (!SWIG_IsOK(ecode18)) {
20404 SWIG_exception_fail(SWIG_ArgError(ecode18), "in method '" "pllegend" "', argument " "18"" of type '" "PLFLT""'");
20405 }
20406 arg18 = static_cast< PLFLT >(val18);
20407 {
20408 if ( _n_dims( args(15) ) > 1 )
20409 {
20410 error( "argument must be a scalar or vector" ); SWIG_fail;
20411 }
20412 if ( _dim( args(15), 0 ) != Alen )
20413 {
20414 error( "argument vectors must be same length" ); SWIG_fail;
20415 }
20416 temp19 = args(15).matrix_value();
20417 arg19 = new PLINT[Alen];
20418 _cvt_double_to( arg19, &temp19( 0, 0 ), Alen );
20419 }
20420 {
20421 charMatrix temp_matrix;
20422 Cell temp_cell;
20423 char *tmp_cstring;
20424 std::string str;
20425 size_t max_length = 0, non_blank_length;
20426 int i, ifcell;
20427 if ( _n_dims( args(16) ) > 2 )
20428 {
20429 error( "argument must be a scalar or vector or matrix" ); SWIG_fail;
20430 }
20431#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20432 if ( !args(16).isempty() )
20433#else
20434 if ( !args(16).is_empty() )
20435#endif
20436 {
20437 if ( _dim( args(16), 0 ) != Alen )
20438 {
20439 error( "first dimension must be same length as previous vector" ); SWIG_fail;
20440 }
20441 arg20 = new char*[Alen];
20442#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20443 ifcell = args(16).iscell();
20444#else
20445 ifcell = args(16).is_cell();
20446#endif
20447 if ( ifcell )
20448 {
20449 temp_cell = args(16).cell_value();
20450 }
20451 else
20452 {
20453 temp_matrix = args(16).char_matrix_value();
20454 // Allow one extra space for null termination.
20455 max_length = _dim( args(16), 1 ) + 1;
20456 }
20457
20458 for ( i = 0; i < Alen; i++ )
20459 {
20460 // Must copy string to "permanent" location because the string
20461 // location corresponding to tmp_cstring gets
20462 // overwritten for each iteration of loop.
20463 if ( ifcell )
20464 {
20465 if ( temp_cell.elem( i ).is_string() )
20466 {
20467 str = temp_cell.elem( i ).string_value();
20468 // leave room for null termination.
20469 max_length = str.size() + 1;
20470 tmp_cstring = (char *) str.c_str();
20471 }
20472 else
20473 {
20474 // Use null string if user attempts to pass a cell array
20475 // with a non-string element (likely an empty element
20476 // since that should be allowed by the PLplot interface
20477 // if that element is going to be unused).
20478 // leave room for null termination.
20479 max_length = 1;
20480 tmp_cstring = (char *) "";
20481 }
20482 }
20483 else
20484 {
20485 str = temp_matrix.row_as_string( i );
20486 tmp_cstring = (char *) str.c_str();
20487 }
20488 arg20[i] = new char[max_length];
20489 strncpy( arg20[i], tmp_cstring, max_length - 1 );
20490 arg20[i][max_length - 1] = '\0';
20491 // All the trailing blank crapola should not be needed for
20492 // string cell arrays.
20493 if ( !ifcell )
20494 {
20495 // remove trailing-blank padding that is used by the
20496 // charMatrix class to insure all strings in a given
20497 // charMatrix instance have the same length.
20498 // This transformation also removes legitimate trailing
20499 // blanks but there is nothing we can do about that
20500 // for the charMatrix class.
20501
20502 // Look for trailing nulls first (just in case, although that
20503 // shouldn't happen if charMatrix implemented as documented)
20504 // before looking for trailing blanks.
20505 non_blank_length = max_length - 2;
20506 while ( non_blank_length >= 0 && arg20[i][non_blank_length] == '\0' )
20507 {
20508 non_blank_length--;
20509 }
20510 while ( non_blank_length >= 0 && arg20[i][non_blank_length] == ' ' )
20511 {
20512 non_blank_length--;
20513 }
20514 arg20[i][non_blank_length + 1] = '\0';
20515 }
20516 }
20517 }
20518 else
20519 {
20520 arg20 = NULL;
20521 }
20522 }
20523 {
20524 if ( _n_dims( args(17) ) > 1 )
20525 {
20526 error( "argument must be a scalar or vector" ); SWIG_fail;
20527 }
20528#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20529 if ( !args(17).isempty() )
20530#else
20531 if ( !args(17).is_empty() )
20532#endif
20533 {
20534 if ( _dim( args(17), 0 ) != Alen )
20535 {
20536 error( "argument vectors must be same length" ); SWIG_fail;
20537 }
20538 temp21 = args(17).matrix_value();
20539 arg21 = new PLINT[Alen];
20540 _cvt_double_to( arg21, &temp21( 0, 0 ), Alen );
20541 }
20542 else
20543 {
20544 arg21 = NULL;
20545 }
20546 }
20547 {
20548 if ( _n_dims( args(18) ) > 1 )
20549 {
20550 error( "argument must be a scalar or vector" ); SWIG_fail;
20551 }
20552#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20553 if ( !args(18).isempty() )
20554#else
20555 if ( !args(18).is_empty() )
20556#endif
20557 {
20558 if ( _dim( args(18), 0 ) != Alen )
20559 {
20560 error( "argument vectors must be same length" ); SWIG_fail;
20561 }
20562 temp22 = args(18).matrix_value();
20563 arg22 = new PLINT[Alen];
20564 _cvt_double_to( arg22, &temp22( 0, 0 ), Alen );
20565 }
20566 else
20567 {
20568 arg22 = NULL;
20569 }
20570 }
20571 {
20572 if ( _n_dims( args(19) ) > 1 )
20573 {
20574 error( "argument must be a scalar or vector" ); SWIG_fail;
20575 }
20576#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20577 if ( !args(19).isempty() )
20578#else
20579 if ( !args(19).is_empty() )
20580#endif
20581 {
20582 if ( _dim( args(19), 0 ) != Alen )
20583 {
20584 error( "argument vectors must be same length" ); SWIG_fail;
20585 }
20586 temp23 = args(19).matrix_value();
20587 arg23 = &temp23( 0, 0 );
20588 }
20589 else
20590 {
20591 arg23 = NULL;
20592 }
20593 }
20594 {
20595 if ( _n_dims( args(20) ) > 1 )
20596 {
20597 error( "argument must be a scalar or vector" ); SWIG_fail;
20598 }
20599#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20600 if ( !args(20).isempty() )
20601#else
20602 if ( !args(20).is_empty() )
20603#endif
20604 {
20605 if ( _dim( args(20), 0 ) != Alen )
20606 {
20607 error( "argument vectors must be same length" ); SWIG_fail;
20608 }
20609 temp24 = args(20).matrix_value();
20610 arg24 = &temp24( 0, 0 );
20611 }
20612 else
20613 {
20614 arg24 = NULL;
20615 }
20616 }
20617 {
20618 if ( _n_dims( args(21) ) > 1 )
20619 {
20620 error( "argument must be a scalar or vector" ); SWIG_fail;
20621 }
20622#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20623 if ( !args(21).isempty() )
20624#else
20625 if ( !args(21).is_empty() )
20626#endif
20627 {
20628 if ( _dim( args(21), 0 ) != Alen )
20629 {
20630 error( "argument vectors must be same length" ); SWIG_fail;
20631 }
20632 temp25 = args(21).matrix_value();
20633 arg25 = new PLINT[Alen];
20634 _cvt_double_to( arg25, &temp25( 0, 0 ), Alen );
20635 }
20636 else
20637 {
20638 arg25 = NULL;
20639 }
20640 }
20641 {
20642 if ( _n_dims( args(22) ) > 1 )
20643 {
20644 error( "argument must be a scalar or vector" ); SWIG_fail;
20645 }
20646#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20647 if ( !args(22).isempty() )
20648#else
20649 if ( !args(22).is_empty() )
20650#endif
20651 {
20652 if ( _dim( args(22), 0 ) != Alen )
20653 {
20654 error( "argument vectors must be same length" ); SWIG_fail;
20655 }
20656 temp26 = args(22).matrix_value();
20657 arg26 = new PLINT[Alen];
20658 _cvt_double_to( arg26, &temp26( 0, 0 ), Alen );
20659 }
20660 else
20661 {
20662 arg26 = NULL;
20663 }
20664 }
20665 {
20666 if ( _n_dims( args(23) ) > 1 )
20667 {
20668 error( "argument must be a scalar or vector" ); SWIG_fail;
20669 }
20670#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20671 if ( !args(23).isempty() )
20672#else
20673 if ( !args(23).is_empty() )
20674#endif
20675 {
20676 if ( _dim( args(23), 0 ) != Alen )
20677 {
20678 error( "argument vectors must be same length" ); SWIG_fail;
20679 }
20680 temp27 = args(23).matrix_value();
20681 arg27 = &temp27( 0, 0 );
20682 }
20683 else
20684 {
20685 arg27 = NULL;
20686 }
20687 }
20688 {
20689 if ( _n_dims( args(24) ) > 1 )
20690 {
20691 error( "argument must be a scalar or vector" ); SWIG_fail;
20692 }
20693#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20694 if ( !args(24).isempty() )
20695#else
20696 if ( !args(24).is_empty() )
20697#endif
20698 {
20699 if ( _dim( args(24), 0 ) != Alen )
20700 {
20701 error( "argument vectors must be same length" ); SWIG_fail;
20702 }
20703 temp28 = args(24).matrix_value();
20704 arg28 = new PLINT[Alen];
20705 _cvt_double_to( arg28, &temp28( 0, 0 ), Alen );
20706 }
20707 else
20708 {
20709 arg28 = NULL;
20710 }
20711 }
20712 {
20713 if ( _n_dims( args(25) ) > 1 )
20714 {
20715 error( "argument must be a scalar or vector" ); SWIG_fail;
20716 }
20717#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20718 if ( !args(25).isempty() )
20719#else
20720 if ( !args(25).is_empty() )
20721#endif
20722 {
20723 if ( _dim( args(25), 0 ) != Alen )
20724 {
20725 error( "argument vectors must be same length" ); SWIG_fail;
20726 }
20727 temp29 = args(25).matrix_value();
20728 arg29 = &temp29( 0, 0 );
20729 }
20730 else
20731 {
20732 arg29 = NULL;
20733 }
20734 }
20735 {
20736 if ( _n_dims( args(26) ) > 1 )
20737 {
20738 error( "argument must be a scalar or vector" ); SWIG_fail;
20739 }
20740#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20741 if ( !args(26).isempty() )
20742#else
20743 if ( !args(26).is_empty() )
20744#endif
20745 {
20746 if ( _dim( args(26), 0 ) != Alen )
20747 {
20748 error( "argument vectors must be same length" ); SWIG_fail;
20749 }
20750 temp30 = args(26).matrix_value();
20751 arg30 = new PLINT[Alen];
20752 _cvt_double_to( arg30, &temp30( 0, 0 ), Alen );
20753 }
20754 else
20755 {
20756 arg30 = NULL;
20757 }
20758 }
20759 {
20760 charMatrix temp_matrix;
20761 Cell temp_cell;
20762 char *tmp_cstring;
20763 std::string str;
20764 size_t max_length = 0, non_blank_length;
20765 int i, ifcell;
20766 if ( _n_dims( args(27) ) > 2 )
20767 {
20768 error( "argument must be a scalar or vector or matrix" ); SWIG_fail;
20769 }
20770#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20771 if ( !args(27).isempty() )
20772#else
20773 if ( !args(27).is_empty() )
20774#endif
20775 {
20776 if ( _dim( args(27), 0 ) != Alen )
20777 {
20778 error( "first dimension must be same length as previous vector" ); SWIG_fail;
20779 }
20780 arg31 = new char*[Alen];
20781#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
20782 ifcell = args(27).iscell();
20783#else
20784 ifcell = args(27).is_cell();
20785#endif
20786 if ( ifcell )
20787 {
20788 temp_cell = args(27).cell_value();
20789 }
20790 else
20791 {
20792 temp_matrix = args(27).char_matrix_value();
20793 // Allow one extra space for null termination.
20794 max_length = _dim( args(27), 1 ) + 1;
20795 }
20796
20797 for ( i = 0; i < Alen; i++ )
20798 {
20799 // Must copy string to "permanent" location because the string
20800 // location corresponding to tmp_cstring gets
20801 // overwritten for each iteration of loop.
20802 if ( ifcell )
20803 {
20804 if ( temp_cell.elem( i ).is_string() )
20805 {
20806 str = temp_cell.elem( i ).string_value();
20807 // leave room for null termination.
20808 max_length = str.size() + 1;
20809 tmp_cstring = (char *) str.c_str();
20810 }
20811 else
20812 {
20813 // Use null string if user attempts to pass a cell array
20814 // with a non-string element (likely an empty element
20815 // since that should be allowed by the PLplot interface
20816 // if that element is going to be unused).
20817 // leave room for null termination.
20818 max_length = 1;
20819 tmp_cstring = (char *) "";
20820 }
20821 }
20822 else
20823 {
20824 str = temp_matrix.row_as_string( i );
20825 tmp_cstring = (char *) str.c_str();
20826 }
20827 arg31[i] = new char[max_length];
20828 strncpy( arg31[i], tmp_cstring, max_length - 1 );
20829 arg31[i][max_length - 1] = '\0';
20830 // All the trailing blank crapola should not be needed for
20831 // string cell arrays.
20832 if ( !ifcell )
20833 {
20834 // remove trailing-blank padding that is used by the
20835 // charMatrix class to insure all strings in a given
20836 // charMatrix instance have the same length.
20837 // This transformation also removes legitimate trailing
20838 // blanks but there is nothing we can do about that
20839 // for the charMatrix class.
20840
20841 // Look for trailing nulls first (just in case, although that
20842 // shouldn't happen if charMatrix implemented as documented)
20843 // before looking for trailing blanks.
20844 non_blank_length = max_length - 2;
20845 while ( non_blank_length >= 0 && arg31[i][non_blank_length] == '\0' )
20846 {
20847 non_blank_length--;
20848 }
20849 while ( non_blank_length >= 0 && arg31[i][non_blank_length] == ' ' )
20850 {
20851 non_blank_length--;
20852 }
20853 arg31[i][non_blank_length + 1] = '\0';
20854 }
20855 }
20856 }
20857 else
20858 {
20859 arg31 = NULL;
20860 }
20861 }
20862 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);
20863 _outv = octave_value();
20864 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
20865 if (SWIG_IsTmpObj(res1)) {
20866 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
20867 } else {
20868 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20869 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
20870 }
20871 if (SWIG_IsTmpObj(res2)) {
20872 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
20873 } else {
20874 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20875 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
20876 }
20877 {
20878 delete [] arg14;
20879 }
20880 {
20881 delete [] arg19;
20882 }
20883 {
20884 int i;
20885 if ( arg20 != NULL )
20886 {
20887 for ( i = 0; i < Alen; i++ )
20888 {
20889 delete[] arg20[i];
20890 }
20891 delete[] arg20;
20892 }
20893 }
20894 {
20895 if ( arg21 != NULL )
20896 delete [] arg21;
20897 }
20898 {
20899 if ( arg22 != NULL )
20900 delete [] arg22;
20901 }
20902 {
20903
20904 }
20905 {
20906
20907 }
20908 {
20909 if ( arg25 != NULL )
20910 delete [] arg25;
20911 }
20912 {
20913 if ( arg26 != NULL )
20914 delete [] arg26;
20915 }
20916 {
20917
20918 }
20919 {
20920 if ( arg28 != NULL )
20921 delete [] arg28;
20922 }
20923 {
20924
20925 }
20926 {
20927 if ( arg30 != NULL )
20928 delete [] arg30;
20929 }
20930 {
20931 int i;
20932 if ( arg31 != NULL )
20933 {
20934 for ( i = 0; i < Alen; i++ )
20935 {
20936 delete[] arg31[i];
20937 }
20938 delete[] arg31;
20939 }
20940 }
20941 return _out;
20942 fail:
20943 {
20944 delete [] arg14;
20945 }
20946 {
20947 delete [] arg19;
20948 }
20949 {
20950 int i;
20951 if ( arg20 != NULL )
20952 {
20953 for ( i = 0; i < Alen; i++ )
20954 {
20955 delete[] arg20[i];
20956 }
20957 delete[] arg20;
20958 }
20959 }
20960 {
20961 if ( arg21 != NULL )
20962 delete [] arg21;
20963 }
20964 {
20965 if ( arg22 != NULL )
20966 delete [] arg22;
20967 }
20968 {
20969
20970 }
20971 {
20972
20973 }
20974 {
20975 if ( arg25 != NULL )
20976 delete [] arg25;
20977 }
20978 {
20979 if ( arg26 != NULL )
20980 delete [] arg26;
20981 }
20982 {
20983
20984 }
20985 {
20986 if ( arg28 != NULL )
20987 delete [] arg28;
20988 }
20989 {
20990
20991 }
20992 {
20993 if ( arg30 != NULL )
20994 delete [] arg30;
20995 }
20996 {
20997 int i;
20998 if ( arg31 != NULL )
20999 {
21000 for ( i = 0; i < Alen; i++ )
21001 {
21002 delete[] arg31[i];
21003 }
21004 delete[] arg31;
21005 }
21006 }
21007 return octave_value_list();
21008 }
21009 catch(...) {
21010 {
21011 delete [] arg14;
21012 }
21013 {
21014 delete [] arg19;
21015 }
21016 {
21017 int i;
21018 if ( arg20 != NULL )
21019 {
21020 for ( i = 0; i < Alen; i++ )
21021 {
21022 delete[] arg20[i];
21023 }
21024 delete[] arg20;
21025 }
21026 }
21027 {
21028 if ( arg21 != NULL )
21029 delete [] arg21;
21030 }
21031 {
21032 if ( arg22 != NULL )
21033 delete [] arg22;
21034 }
21035 {
21036
21037 }
21038 {
21039
21040 }
21041 {
21042 if ( arg25 != NULL )
21043 delete [] arg25;
21044 }
21045 {
21046 if ( arg26 != NULL )
21047 delete [] arg26;
21048 }
21049 {
21050
21051 }
21052 {
21053 if ( arg28 != NULL )
21054 delete [] arg28;
21055 }
21056 {
21057
21058 }
21059 {
21060 if ( arg30 != NULL )
21061 delete [] arg30;
21062 }
21063 {
21064 int i;
21065 if ( arg31 != NULL )
21066 {
21067 for ( i = 0; i < Alen; i++ )
21068 {
21069 delete[] arg31[i];
21070 }
21071 delete[] arg31;
21072 }
21073 }
21074 throw;
21075 }
21076}
21077
21078
21080 PLFLT arg1 ;
21081 PLFLT arg2 ;
21082 PLFLT arg3 ;
21083 double val1 ;
21084 int ecode1 = 0 ;
21085 double val2 ;
21086 int ecode2 = 0 ;
21087 double val3 ;
21088 int ecode3 = 0 ;
21089 octave_value_list _out;
21090 octave_value_list *_outp=&_out;
21091 octave_value _outv;
21092
21093 try {
21094 if (!SWIG_check_num_args("pllightsource",args.length(),3,3,0)) {
21095 SWIG_fail;
21096 }
21097 ecode1 = SWIG_AsVal_double(args(0), &val1);
21098 if (!SWIG_IsOK(ecode1)) {
21099 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pllightsource" "', argument " "1"" of type '" "PLFLT""'");
21100 }
21101 arg1 = static_cast< PLFLT >(val1);
21102 ecode2 = SWIG_AsVal_double(args(1), &val2);
21103 if (!SWIG_IsOK(ecode2)) {
21104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pllightsource" "', argument " "2"" of type '" "PLFLT""'");
21105 }
21106 arg2 = static_cast< PLFLT >(val2);
21107 ecode3 = SWIG_AsVal_double(args(2), &val3);
21108 if (!SWIG_IsOK(ecode3)) {
21109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pllightsource" "', argument " "3"" of type '" "PLFLT""'");
21110 }
21111 arg3 = static_cast< PLFLT >(val3);
21112 pllightsource(arg1,arg2,arg3);
21113 _outv = octave_value();
21114 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21115 return _out;
21116 fail:
21117 return octave_value_list();
21118 }
21119 catch(...) {
21120 throw;
21121 }
21122}
21123
21124
21126 PLINT arg1 ;
21127 PLFLT *arg2 = 0 ;
21128 PLFLT *arg3 = 0 ;
21129 Matrix temp1 ;
21130 Matrix temp3 ;
21131 octave_value_list _out;
21132 octave_value_list *_outp=&_out;
21133 octave_value _outv;
21134
21135 try {
21136 if (!SWIG_check_num_args("plline",args.length(),2,2,0)) {
21137 SWIG_fail;
21138 }
21139 {
21140 if ( _n_dims( args(0) ) > 1 )
21141 {
21142 error( "argument must be a scalar or vector" ); SWIG_fail;
21143 }
21144 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
21145 temp1 = args(0).matrix_value();
21146 arg2 = &temp1( 0, 0 );
21147 }
21148 {
21149 if ( _n_dims( args(1) ) > 1 )
21150 {
21151 error( "argument must be a scalar or vector" ); SWIG_fail;
21152 }
21153 if ( _dim( args(1), 0 ) != Alen )
21154 {
21155 error( "argument vectors must be same length" ); SWIG_fail;
21156 }
21157 temp3 = args(1).matrix_value();
21158 arg3 = &temp3( 0, 0 );
21159 }
21160 plline(arg1,(double const *)arg2,(double const *)arg3);
21161 _outv = octave_value();
21162 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21163 {
21164
21165 }
21166 {
21167
21168 }
21169 return _out;
21170 fail:
21171 {
21172
21173 }
21174 {
21175
21176 }
21177 return octave_value_list();
21178 }
21179 catch(...) {
21180 {
21181
21182 }
21183 {
21184
21185 }
21186 throw;
21187 }
21188}
21189
21190
21192 PLINT arg1 ;
21193 PLFLT *arg2 = 0 ;
21194 PLFLT *arg3 = 0 ;
21195 PLFLT *arg4 = 0 ;
21196 Matrix temp1 ;
21197 Matrix temp3 ;
21198 Matrix temp4 ;
21199 octave_value_list _out;
21200 octave_value_list *_outp=&_out;
21201 octave_value _outv;
21202
21203 try {
21204 if (!SWIG_check_num_args("plline3",args.length(),3,3,0)) {
21205 SWIG_fail;
21206 }
21207 {
21208 if ( _n_dims( args(0) ) > 1 )
21209 {
21210 error( "argument must be a scalar or vector" ); SWIG_fail;
21211 }
21212 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
21213 temp1 = args(0).matrix_value();
21214 arg2 = &temp1( 0, 0 );
21215 }
21216 {
21217 if ( _n_dims( args(1) ) > 1 )
21218 {
21219 error( "argument must be a scalar or vector" ); SWIG_fail;
21220 }
21221 if ( _dim( args(1), 0 ) != Alen )
21222 {
21223 error( "argument vectors must be same length" ); SWIG_fail;
21224 }
21225 temp3 = args(1).matrix_value();
21226 arg3 = &temp3( 0, 0 );
21227 }
21228 {
21229 if ( _n_dims( args(2) ) > 1 )
21230 {
21231 error( "argument must be a scalar or vector" ); SWIG_fail;
21232 }
21233 if ( _dim( args(2), 0 ) != Alen )
21234 {
21235 error( "argument vectors must be same length" ); SWIG_fail;
21236 }
21237 temp4 = args(2).matrix_value();
21238 arg4 = &temp4( 0, 0 );
21239 }
21240 plline3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4);
21241 _outv = octave_value();
21242 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21243 {
21244
21245 }
21246 {
21247
21248 }
21249 {
21250
21251 }
21252 return _out;
21253 fail:
21254 {
21255
21256 }
21257 {
21258
21259 }
21260 {
21261
21262 }
21263 return octave_value_list();
21264 }
21265 catch(...) {
21266 {
21267
21268 }
21269 {
21270
21271 }
21272 {
21273
21274 }
21275 throw;
21276 }
21277}
21278
21279
21281 PLINT arg1 ;
21282 int val1 ;
21283 int ecode1 = 0 ;
21284 octave_value_list _out;
21285 octave_value_list *_outp=&_out;
21286 octave_value _outv;
21287
21288 try {
21289 if (!SWIG_check_num_args("pllsty",args.length(),1,1,0)) {
21290 SWIG_fail;
21291 }
21292 ecode1 = SWIG_AsVal_int(args(0), &val1);
21293 if (!SWIG_IsOK(ecode1)) {
21294 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "pllsty" "', argument " "1"" of type '" "PLINT""'");
21295 }
21296 arg1 = static_cast< PLINT >(val1);
21297 pllsty(arg1);
21298 _outv = octave_value();
21299 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21300 return _out;
21301 fail:
21302 return octave_value_list();
21303 }
21304 catch(...) {
21305 throw;
21306 }
21307}
21308
21309
21311 PLINT *arg1 = 0 ;
21312 PLINT temp1 ;
21313 int res1 = SWIG_TMPOBJ ;
21314 octave_value_list _out;
21315 octave_value_list *_outp=&_out;
21316 octave_value _outv;
21317
21318 try {
21319 arg1 = &temp1;
21320 if (!SWIG_check_num_args("plmkstrm",args.length(),0,0,0)) {
21321 SWIG_fail;
21322 }
21323 plmkstrm(arg1);
21324 _outv = octave_value();
21325 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21326 if (SWIG_IsTmpObj(res1)) {
21327 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg1)));
21328 } else {
21329 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21330 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, new_flags));
21331 }
21332 return _out;
21333 fail:
21334 return octave_value_list();
21335 }
21336 catch(...) {
21337 throw;
21338 }
21339}
21340
21341
21343 char *arg1 = 0 ;
21344 PLFLT arg2 ;
21345 PLFLT arg3 ;
21346 PLFLT arg4 ;
21347 char *arg5 = 0 ;
21348 int res1 ;
21349 char *buf1 = 0 ;
21350 int alloc1 = 0 ;
21351 double val2 ;
21352 int ecode2 = 0 ;
21353 double val3 ;
21354 int ecode3 = 0 ;
21355 double val4 ;
21356 int ecode4 = 0 ;
21357 int res5 ;
21358 char *buf5 = 0 ;
21359 int alloc5 = 0 ;
21360 octave_value_list _out;
21361 octave_value_list *_outp=&_out;
21362 octave_value _outv;
21363
21364 try {
21365 if (!SWIG_check_num_args("plmtex",args.length(),5,5,0)) {
21366 SWIG_fail;
21367 }
21368 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
21369 if (!SWIG_IsOK(res1)) {
21370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plmtex" "', argument " "1"" of type '" "char const *""'");
21371 }
21372 arg1 = reinterpret_cast< char * >(buf1);
21373 ecode2 = SWIG_AsVal_double(args(1), &val2);
21374 if (!SWIG_IsOK(ecode2)) {
21375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plmtex" "', argument " "2"" of type '" "PLFLT""'");
21376 }
21377 arg2 = static_cast< PLFLT >(val2);
21378 ecode3 = SWIG_AsVal_double(args(2), &val3);
21379 if (!SWIG_IsOK(ecode3)) {
21380 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmtex" "', argument " "3"" of type '" "PLFLT""'");
21381 }
21382 arg3 = static_cast< PLFLT >(val3);
21383 ecode4 = SWIG_AsVal_double(args(3), &val4);
21384 if (!SWIG_IsOK(ecode4)) {
21385 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmtex" "', argument " "4"" of type '" "PLFLT""'");
21386 }
21387 arg4 = static_cast< PLFLT >(val4);
21388 res5 = SWIG_AsCharPtrAndSize(args(4), &buf5, NULL, &alloc5);
21389 if (!SWIG_IsOK(res5)) {
21390 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plmtex" "', argument " "5"" of type '" "char const *""'");
21391 }
21392 arg5 = reinterpret_cast< char * >(buf5);
21393 plmtex((char const *)arg1,arg2,arg3,arg4,(char const *)arg5);
21394 _outv = octave_value();
21395 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21396 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
21397 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
21398 return _out;
21399 fail:
21400 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
21401 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
21402 return octave_value_list();
21403 }
21404 catch(...) {
21405 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
21406 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
21407 throw;
21408 }
21409}
21410
21411
21413 char *arg1 = 0 ;
21414 PLFLT arg2 ;
21415 PLFLT arg3 ;
21416 PLFLT arg4 ;
21417 char *arg5 = 0 ;
21418 int res1 ;
21419 char *buf1 = 0 ;
21420 int alloc1 = 0 ;
21421 double val2 ;
21422 int ecode2 = 0 ;
21423 double val3 ;
21424 int ecode3 = 0 ;
21425 double val4 ;
21426 int ecode4 = 0 ;
21427 int res5 ;
21428 char *buf5 = 0 ;
21429 int alloc5 = 0 ;
21430 octave_value_list _out;
21431 octave_value_list *_outp=&_out;
21432 octave_value _outv;
21433
21434 try {
21435 if (!SWIG_check_num_args("plmtex3",args.length(),5,5,0)) {
21436 SWIG_fail;
21437 }
21438 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
21439 if (!SWIG_IsOK(res1)) {
21440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plmtex3" "', argument " "1"" of type '" "char const *""'");
21441 }
21442 arg1 = reinterpret_cast< char * >(buf1);
21443 ecode2 = SWIG_AsVal_double(args(1), &val2);
21444 if (!SWIG_IsOK(ecode2)) {
21445 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plmtex3" "', argument " "2"" of type '" "PLFLT""'");
21446 }
21447 arg2 = static_cast< PLFLT >(val2);
21448 ecode3 = SWIG_AsVal_double(args(2), &val3);
21449 if (!SWIG_IsOK(ecode3)) {
21450 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmtex3" "', argument " "3"" of type '" "PLFLT""'");
21451 }
21452 arg3 = static_cast< PLFLT >(val3);
21453 ecode4 = SWIG_AsVal_double(args(3), &val4);
21454 if (!SWIG_IsOK(ecode4)) {
21455 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmtex3" "', argument " "4"" of type '" "PLFLT""'");
21456 }
21457 arg4 = static_cast< PLFLT >(val4);
21458 res5 = SWIG_AsCharPtrAndSize(args(4), &buf5, NULL, &alloc5);
21459 if (!SWIG_IsOK(res5)) {
21460 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plmtex3" "', argument " "5"" of type '" "char const *""'");
21461 }
21462 arg5 = reinterpret_cast< char * >(buf5);
21463 plmtex3((char const *)arg1,arg2,arg3,arg4,(char const *)arg5);
21464 _outv = octave_value();
21465 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21466 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
21467 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
21468 return _out;
21469 fail:
21470 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
21471 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
21472 return octave_value_list();
21473 }
21474 catch(...) {
21475 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
21476 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
21477 throw;
21478 }
21479}
21480
21481
21483 int *arg1 = 0 ;
21484 char **arg2 = 0 ;
21485 PLINT arg3 ;
21486 void *argp1 = 0 ;
21487 int res1 = 0 ;
21488 void *argp2 = 0 ;
21489 int res2 = 0 ;
21490 int val3 ;
21491 int ecode3 = 0 ;
21492 octave_value_list _out;
21493 octave_value_list *_outp=&_out;
21494 octave_value _outv;
21495 PLINT result;
21496
21497 try {
21498 if (!SWIG_check_num_args("plparseopts",args.length(),3,3,0)) {
21499 SWIG_fail;
21500 }
21501 res1 = SWIG_ConvertPtr(args(0), &argp1,SWIGTYPE_p_int, 0 | 0 );
21502 if (!SWIG_IsOK(res1)) {
21503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plparseopts" "', argument " "1"" of type '" "int *""'");
21504 }
21505 arg1 = reinterpret_cast< int * >(argp1);
21506 res2 = SWIG_ConvertPtr(args(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 );
21507 if (!SWIG_IsOK(res2)) {
21508 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plparseopts" "', argument " "2"" of type '" "char **""'");
21509 }
21510 arg2 = reinterpret_cast< char ** >(argp2);
21511 ecode3 = SWIG_AsVal_int(args(2), &val3);
21512 if (!SWIG_IsOK(ecode3)) {
21513 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plparseopts" "', argument " "3"" of type '" "PLINT""'");
21514 }
21515 arg3 = static_cast< PLINT >(val3);
21516 result = (PLINT)plparseopts(arg1,arg2,arg3);
21517 _outv = SWIG_From_int(static_cast< int >(result));
21518 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21519 return _out;
21520 fail:
21521 return octave_value_list();
21522 }
21523 catch(...) {
21524 throw;
21525 }
21526}
21527
21528
21530 PLINT arg1 ;
21531 PLINT *arg2 = 0 ;
21532 PLINT *arg3 = 0 ;
21533 Matrix temp1 ;
21534 Matrix temp3 ;
21535 octave_value_list _out;
21536 octave_value_list *_outp=&_out;
21537 octave_value _outv;
21538
21539 try {
21540 if (!SWIG_check_num_args("plpat",args.length(),2,2,0)) {
21541 SWIG_fail;
21542 }
21543 {
21544 if ( _n_dims( args(0) ) > 1 )
21545 {
21546 error( "argument must be a scalar or vector" ); SWIG_fail;
21547 }
21548 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
21549 arg2 = new PLINT[Alen];
21550 temp1 = args(0).matrix_value();
21551 _cvt_double_to( arg2, &temp1( 0, 0 ), Alen );
21552 }
21553 {
21554 if ( _n_dims( args(1) ) > 1 )
21555 {
21556 error( "argument must be a scalar or vector" ); SWIG_fail;
21557 }
21558 if ( _dim( args(1), 0 ) != Alen )
21559 {
21560 error( "argument vectors must be same length" ); SWIG_fail;
21561 }
21562 temp3 = args(1).matrix_value();
21563 arg3 = new PLINT[Alen];
21564 _cvt_double_to( arg3, &temp3( 0, 0 ), Alen );
21565 }
21566 plpat(arg1,(int const *)arg2,(int const *)arg3);
21567 _outv = octave_value();
21568 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21569 {
21570 delete [] arg2;
21571 }
21572 {
21573 delete [] arg3;
21574 }
21575 return _out;
21576 fail:
21577 {
21578 delete [] arg2;
21579 }
21580 {
21581 delete [] arg3;
21582 }
21583 return octave_value_list();
21584 }
21585 catch(...) {
21586 {
21587 delete [] arg2;
21588 }
21589 {
21590 delete [] arg3;
21591 }
21592 throw;
21593 }
21594}
21595
21596
21598 PLINT arg1 ;
21599 PLFLT arg2 ;
21600 PLFLT arg3 ;
21601 PLFLT arg4 ;
21602 PLFLT arg5 ;
21603 int val1 ;
21604 int ecode1 = 0 ;
21605 double val2 ;
21606 int ecode2 = 0 ;
21607 double val3 ;
21608 int ecode3 = 0 ;
21609 double val4 ;
21610 int ecode4 = 0 ;
21611 double val5 ;
21612 int ecode5 = 0 ;
21613 octave_value_list _out;
21614 octave_value_list *_outp=&_out;
21615 octave_value _outv;
21616
21617 try {
21618 if (!SWIG_check_num_args("plpath",args.length(),5,5,0)) {
21619 SWIG_fail;
21620 }
21621 ecode1 = SWIG_AsVal_int(args(0), &val1);
21622 if (!SWIG_IsOK(ecode1)) {
21623 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plpath" "', argument " "1"" of type '" "PLINT""'");
21624 }
21625 arg1 = static_cast< PLINT >(val1);
21626 ecode2 = SWIG_AsVal_double(args(1), &val2);
21627 if (!SWIG_IsOK(ecode2)) {
21628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plpath" "', argument " "2"" of type '" "PLFLT""'");
21629 }
21630 arg2 = static_cast< PLFLT >(val2);
21631 ecode3 = SWIG_AsVal_double(args(2), &val3);
21632 if (!SWIG_IsOK(ecode3)) {
21633 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plpath" "', argument " "3"" of type '" "PLFLT""'");
21634 }
21635 arg3 = static_cast< PLFLT >(val3);
21636 ecode4 = SWIG_AsVal_double(args(3), &val4);
21637 if (!SWIG_IsOK(ecode4)) {
21638 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plpath" "', argument " "4"" of type '" "PLFLT""'");
21639 }
21640 arg4 = static_cast< PLFLT >(val4);
21641 ecode5 = SWIG_AsVal_double(args(4), &val5);
21642 if (!SWIG_IsOK(ecode5)) {
21643 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plpath" "', argument " "5"" of type '" "PLFLT""'");
21644 }
21645 arg5 = static_cast< PLFLT >(val5);
21646 plpath(arg1,arg2,arg3,arg4,arg5);
21647 _outv = octave_value();
21648 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21649 return _out;
21650 fail:
21651 return octave_value_list();
21652 }
21653 catch(...) {
21654 throw;
21655 }
21656}
21657
21658
21660 PLINT arg1 ;
21661 PLFLT *arg2 = 0 ;
21662 PLFLT *arg3 = 0 ;
21663 PLINT arg4 ;
21664 Matrix temp1 ;
21665 Matrix temp3 ;
21666 int val4 ;
21667 int ecode4 = 0 ;
21668 octave_value_list _out;
21669 octave_value_list *_outp=&_out;
21670 octave_value _outv;
21671
21672 try {
21673 if (!SWIG_check_num_args("plpoin",args.length(),3,3,0)) {
21674 SWIG_fail;
21675 }
21676 {
21677 if ( _n_dims( args(0) ) > 1 )
21678 {
21679 error( "argument must be a scalar or vector" ); SWIG_fail;
21680 }
21681 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
21682 temp1 = args(0).matrix_value();
21683 arg2 = &temp1( 0, 0 );
21684 }
21685 {
21686 if ( _n_dims( args(1) ) > 1 )
21687 {
21688 error( "argument must be a scalar or vector" ); SWIG_fail;
21689 }
21690 if ( _dim( args(1), 0 ) != Alen )
21691 {
21692 error( "argument vectors must be same length" ); SWIG_fail;
21693 }
21694 temp3 = args(1).matrix_value();
21695 arg3 = &temp3( 0, 0 );
21696 }
21697 ecode4 = SWIG_AsVal_int(args(2), &val4);
21698 if (!SWIG_IsOK(ecode4)) {
21699 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plpoin" "', argument " "4"" of type '" "PLINT""'");
21700 }
21701 arg4 = static_cast< PLINT >(val4);
21702 plpoin(arg1,(double const *)arg2,(double const *)arg3,arg4);
21703 _outv = octave_value();
21704 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21705 {
21706
21707 }
21708 {
21709
21710 }
21711 return _out;
21712 fail:
21713 {
21714
21715 }
21716 {
21717
21718 }
21719 return octave_value_list();
21720 }
21721 catch(...) {
21722 {
21723
21724 }
21725 {
21726
21727 }
21728 throw;
21729 }
21730}
21731
21732
21734 PLINT arg1 ;
21735 PLFLT *arg2 = 0 ;
21736 PLFLT *arg3 = 0 ;
21737 PLFLT *arg4 = 0 ;
21738 PLINT arg5 ;
21739 Matrix temp1 ;
21740 Matrix temp3 ;
21741 Matrix temp4 ;
21742 int val5 ;
21743 int ecode5 = 0 ;
21744 octave_value_list _out;
21745 octave_value_list *_outp=&_out;
21746 octave_value _outv;
21747
21748 try {
21749 if (!SWIG_check_num_args("plpoin3",args.length(),4,4,0)) {
21750 SWIG_fail;
21751 }
21752 {
21753 if ( _n_dims( args(0) ) > 1 )
21754 {
21755 error( "argument must be a scalar or vector" ); SWIG_fail;
21756 }
21757 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
21758 temp1 = args(0).matrix_value();
21759 arg2 = &temp1( 0, 0 );
21760 }
21761 {
21762 if ( _n_dims( args(1) ) > 1 )
21763 {
21764 error( "argument must be a scalar or vector" ); SWIG_fail;
21765 }
21766 if ( _dim( args(1), 0 ) != Alen )
21767 {
21768 error( "argument vectors must be same length" ); SWIG_fail;
21769 }
21770 temp3 = args(1).matrix_value();
21771 arg3 = &temp3( 0, 0 );
21772 }
21773 {
21774 if ( _n_dims( args(2) ) > 1 )
21775 {
21776 error( "argument must be a scalar or vector" ); SWIG_fail;
21777 }
21778 if ( _dim( args(2), 0 ) != Alen )
21779 {
21780 error( "argument vectors must be same length" ); SWIG_fail;
21781 }
21782 temp4 = args(2).matrix_value();
21783 arg4 = &temp4( 0, 0 );
21784 }
21785 ecode5 = SWIG_AsVal_int(args(3), &val5);
21786 if (!SWIG_IsOK(ecode5)) {
21787 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plpoin3" "', argument " "5"" of type '" "PLINT""'");
21788 }
21789 arg5 = static_cast< PLINT >(val5);
21790 plpoin3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4,arg5);
21791 _outv = octave_value();
21792 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21793 {
21794
21795 }
21796 {
21797
21798 }
21799 {
21800
21801 }
21802 return _out;
21803 fail:
21804 {
21805
21806 }
21807 {
21808
21809 }
21810 {
21811
21812 }
21813 return octave_value_list();
21814 }
21815 catch(...) {
21816 {
21817
21818 }
21819 {
21820
21821 }
21822 {
21823
21824 }
21825 throw;
21826 }
21827}
21828
21829
21831 PLINT arg1 ;
21832 PLFLT *arg2 = 0 ;
21833 PLFLT *arg3 = 0 ;
21834 PLFLT *arg4 = 0 ;
21835 PLBOOL *arg5 = 0 ;
21836 PLBOOL arg6 ;
21837 Matrix temp1 ;
21838 Matrix temp3 ;
21839 Matrix temp4 ;
21840 Matrix temp5 ;
21841 int val6 ;
21842 int ecode6 = 0 ;
21843 octave_value_list _out;
21844 octave_value_list *_outp=&_out;
21845 octave_value _outv;
21846
21847 try {
21848 if (!SWIG_check_num_args("plpoly3",args.length(),5,5,0)) {
21849 SWIG_fail;
21850 }
21851 {
21852 if ( _n_dims( args(0) ) > 1 )
21853 {
21854 error( "argument must be a scalar or vector" ); SWIG_fail;
21855 }
21856 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
21857 temp1 = args(0).matrix_value();
21858 arg2 = &temp1( 0, 0 );
21859 }
21860 {
21861 if ( _n_dims( args(1) ) > 1 )
21862 {
21863 error( "argument must be a scalar or vector" ); SWIG_fail;
21864 }
21865 if ( _dim( args(1), 0 ) != Alen )
21866 {
21867 error( "argument vectors must be same length" ); SWIG_fail;
21868 }
21869 temp3 = args(1).matrix_value();
21870 arg3 = &temp3( 0, 0 );
21871 }
21872 {
21873 if ( _n_dims( args(2) ) > 1 )
21874 {
21875 error( "argument must be a scalar or vector" ); SWIG_fail;
21876 }
21877 if ( _dim( args(2), 0 ) != Alen )
21878 {
21879 error( "argument vectors must be same length" ); SWIG_fail;
21880 }
21881 temp4 = args(2).matrix_value();
21882 arg4 = &temp4( 0, 0 );
21883 }
21884 {
21885 if ( _n_dims( args(3) ) > 1 )
21886 {
21887 error( "argument must be a scalar or vector" ); SWIG_fail;
21888 }
21889 if ( !( _dim( args(3), 0 ) == Alen || _dim( args(3), 0 ) == Alen - 1 ) )
21890 {
21891 error( "argument vector must be same length or one less" ); SWIG_fail;
21892 }
21893 temp5 = args(3).matrix_value();
21894 arg5 = new PLINT[Alen];
21895 _cvt_double_to( arg5, &temp5( 0, 0 ), Alen );
21896 }
21897 ecode6 = SWIG_AsVal_int(args(4), &val6);
21898 if (!SWIG_IsOK(ecode6)) {
21899 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plpoly3" "', argument " "6"" of type '" "PLBOOL""'");
21900 }
21901 arg6 = static_cast< PLBOOL >(val6);
21902 plpoly3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4,(int const *)arg5,arg6);
21903 _outv = octave_value();
21904 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21905 {
21906
21907 }
21908 {
21909
21910 }
21911 {
21912
21913 }
21914 {
21915 delete [] arg5;
21916 }
21917 return _out;
21918 fail:
21919 {
21920
21921 }
21922 {
21923
21924 }
21925 {
21926
21927 }
21928 {
21929 delete [] arg5;
21930 }
21931 return octave_value_list();
21932 }
21933 catch(...) {
21934 {
21935
21936 }
21937 {
21938
21939 }
21940 {
21941
21942 }
21943 {
21944 delete [] arg5;
21945 }
21946 throw;
21947 }
21948}
21949
21950
21952 PLINT arg1 ;
21953 PLINT arg2 ;
21954 int val1 ;
21955 int ecode1 = 0 ;
21956 int val2 ;
21957 int ecode2 = 0 ;
21958 octave_value_list _out;
21959 octave_value_list *_outp=&_out;
21960 octave_value _outv;
21961
21962 try {
21963 if (!SWIG_check_num_args("plprec",args.length(),2,2,0)) {
21964 SWIG_fail;
21965 }
21966 ecode1 = SWIG_AsVal_int(args(0), &val1);
21967 if (!SWIG_IsOK(ecode1)) {
21968 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plprec" "', argument " "1"" of type '" "PLINT""'");
21969 }
21970 arg1 = static_cast< PLINT >(val1);
21971 ecode2 = SWIG_AsVal_int(args(1), &val2);
21972 if (!SWIG_IsOK(ecode2)) {
21973 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plprec" "', argument " "2"" of type '" "PLINT""'");
21974 }
21975 arg2 = static_cast< PLINT >(val2);
21976 plprec(arg1,arg2);
21977 _outv = octave_value();
21978 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
21979 return _out;
21980 fail:
21981 return octave_value_list();
21982 }
21983 catch(...) {
21984 throw;
21985 }
21986}
21987
21988
21990 PLINT arg1 ;
21991 int val1 ;
21992 int ecode1 = 0 ;
21993 octave_value_list _out;
21994 octave_value_list *_outp=&_out;
21995 octave_value _outv;
21996
21997 try {
21998 if (!SWIG_check_num_args("plpsty",args.length(),1,1,0)) {
21999 SWIG_fail;
22000 }
22001 ecode1 = SWIG_AsVal_int(args(0), &val1);
22002 if (!SWIG_IsOK(ecode1)) {
22003 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plpsty" "', argument " "1"" of type '" "PLINT""'");
22004 }
22005 arg1 = static_cast< PLINT >(val1);
22006 plpsty(arg1);
22007 _outv = octave_value();
22008 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22009 return _out;
22010 fail:
22011 return octave_value_list();
22012 }
22013 catch(...) {
22014 throw;
22015 }
22016}
22017
22018
22020 PLFLT arg1 ;
22021 PLFLT arg2 ;
22022 PLFLT arg3 ;
22023 PLFLT arg4 ;
22024 PLFLT arg5 ;
22025 char *arg6 = 0 ;
22026 double val1 ;
22027 int ecode1 = 0 ;
22028 double val2 ;
22029 int ecode2 = 0 ;
22030 double val3 ;
22031 int ecode3 = 0 ;
22032 double val4 ;
22033 int ecode4 = 0 ;
22034 double val5 ;
22035 int ecode5 = 0 ;
22036 int res6 ;
22037 char *buf6 = 0 ;
22038 int alloc6 = 0 ;
22039 octave_value_list _out;
22040 octave_value_list *_outp=&_out;
22041 octave_value _outv;
22042
22043 try {
22044 if (!SWIG_check_num_args("plptex",args.length(),6,6,0)) {
22045 SWIG_fail;
22046 }
22047 ecode1 = SWIG_AsVal_double(args(0), &val1);
22048 if (!SWIG_IsOK(ecode1)) {
22049 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plptex" "', argument " "1"" of type '" "PLFLT""'");
22050 }
22051 arg1 = static_cast< PLFLT >(val1);
22052 ecode2 = SWIG_AsVal_double(args(1), &val2);
22053 if (!SWIG_IsOK(ecode2)) {
22054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plptex" "', argument " "2"" of type '" "PLFLT""'");
22055 }
22056 arg2 = static_cast< PLFLT >(val2);
22057 ecode3 = SWIG_AsVal_double(args(2), &val3);
22058 if (!SWIG_IsOK(ecode3)) {
22059 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plptex" "', argument " "3"" of type '" "PLFLT""'");
22060 }
22061 arg3 = static_cast< PLFLT >(val3);
22062 ecode4 = SWIG_AsVal_double(args(3), &val4);
22063 if (!SWIG_IsOK(ecode4)) {
22064 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plptex" "', argument " "4"" of type '" "PLFLT""'");
22065 }
22066 arg4 = static_cast< PLFLT >(val4);
22067 ecode5 = SWIG_AsVal_double(args(4), &val5);
22068 if (!SWIG_IsOK(ecode5)) {
22069 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plptex" "', argument " "5"" of type '" "PLFLT""'");
22070 }
22071 arg5 = static_cast< PLFLT >(val5);
22072 res6 = SWIG_AsCharPtrAndSize(args(5), &buf6, NULL, &alloc6);
22073 if (!SWIG_IsOK(res6)) {
22074 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plptex" "', argument " "6"" of type '" "char const *""'");
22075 }
22076 arg6 = reinterpret_cast< char * >(buf6);
22077 plptex(arg1,arg2,arg3,arg4,arg5,(char const *)arg6);
22078 _outv = octave_value();
22079 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22080 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
22081 return _out;
22082 fail:
22083 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
22084 return octave_value_list();
22085 }
22086 catch(...) {
22087 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
22088 throw;
22089 }
22090}
22091
22092
22094 PLFLT arg1 ;
22095 PLFLT arg2 ;
22096 PLFLT arg3 ;
22097 PLFLT arg4 ;
22098 PLFLT arg5 ;
22099 PLFLT arg6 ;
22100 PLFLT arg7 ;
22101 PLFLT arg8 ;
22102 PLFLT arg9 ;
22103 PLFLT arg10 ;
22104 char *arg11 = 0 ;
22105 double val1 ;
22106 int ecode1 = 0 ;
22107 double val2 ;
22108 int ecode2 = 0 ;
22109 double val3 ;
22110 int ecode3 = 0 ;
22111 double val4 ;
22112 int ecode4 = 0 ;
22113 double val5 ;
22114 int ecode5 = 0 ;
22115 double val6 ;
22116 int ecode6 = 0 ;
22117 double val7 ;
22118 int ecode7 = 0 ;
22119 double val8 ;
22120 int ecode8 = 0 ;
22121 double val9 ;
22122 int ecode9 = 0 ;
22123 double val10 ;
22124 int ecode10 = 0 ;
22125 int res11 ;
22126 char *buf11 = 0 ;
22127 int alloc11 = 0 ;
22128 octave_value_list _out;
22129 octave_value_list *_outp=&_out;
22130 octave_value _outv;
22131
22132 try {
22133 if (!SWIG_check_num_args("plptex3",args.length(),11,11,0)) {
22134 SWIG_fail;
22135 }
22136 ecode1 = SWIG_AsVal_double(args(0), &val1);
22137 if (!SWIG_IsOK(ecode1)) {
22138 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plptex3" "', argument " "1"" of type '" "PLFLT""'");
22139 }
22140 arg1 = static_cast< PLFLT >(val1);
22141 ecode2 = SWIG_AsVal_double(args(1), &val2);
22142 if (!SWIG_IsOK(ecode2)) {
22143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plptex3" "', argument " "2"" of type '" "PLFLT""'");
22144 }
22145 arg2 = static_cast< PLFLT >(val2);
22146 ecode3 = SWIG_AsVal_double(args(2), &val3);
22147 if (!SWIG_IsOK(ecode3)) {
22148 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plptex3" "', argument " "3"" of type '" "PLFLT""'");
22149 }
22150 arg3 = static_cast< PLFLT >(val3);
22151 ecode4 = SWIG_AsVal_double(args(3), &val4);
22152 if (!SWIG_IsOK(ecode4)) {
22153 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plptex3" "', argument " "4"" of type '" "PLFLT""'");
22154 }
22155 arg4 = static_cast< PLFLT >(val4);
22156 ecode5 = SWIG_AsVal_double(args(4), &val5);
22157 if (!SWIG_IsOK(ecode5)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plptex3" "', argument " "5"" of type '" "PLFLT""'");
22159 }
22160 arg5 = static_cast< PLFLT >(val5);
22161 ecode6 = SWIG_AsVal_double(args(5), &val6);
22162 if (!SWIG_IsOK(ecode6)) {
22163 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plptex3" "', argument " "6"" of type '" "PLFLT""'");
22164 }
22165 arg6 = static_cast< PLFLT >(val6);
22166 ecode7 = SWIG_AsVal_double(args(6), &val7);
22167 if (!SWIG_IsOK(ecode7)) {
22168 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plptex3" "', argument " "7"" of type '" "PLFLT""'");
22169 }
22170 arg7 = static_cast< PLFLT >(val7);
22171 ecode8 = SWIG_AsVal_double(args(7), &val8);
22172 if (!SWIG_IsOK(ecode8)) {
22173 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plptex3" "', argument " "8"" of type '" "PLFLT""'");
22174 }
22175 arg8 = static_cast< PLFLT >(val8);
22176 ecode9 = SWIG_AsVal_double(args(8), &val9);
22177 if (!SWIG_IsOK(ecode9)) {
22178 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plptex3" "', argument " "9"" of type '" "PLFLT""'");
22179 }
22180 arg9 = static_cast< PLFLT >(val9);
22181 ecode10 = SWIG_AsVal_double(args(9), &val10);
22182 if (!SWIG_IsOK(ecode10)) {
22183 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plptex3" "', argument " "10"" of type '" "PLFLT""'");
22184 }
22185 arg10 = static_cast< PLFLT >(val10);
22186 res11 = SWIG_AsCharPtrAndSize(args(10), &buf11, NULL, &alloc11);
22187 if (!SWIG_IsOK(res11)) {
22188 SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "plptex3" "', argument " "11"" of type '" "char const *""'");
22189 }
22190 arg11 = reinterpret_cast< char * >(buf11);
22191 plptex3(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(char const *)arg11);
22192 _outv = octave_value();
22193 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22194 if (alloc11 == SWIG_NEWOBJ) delete[] buf11;
22195 return _out;
22196 fail:
22197 if (alloc11 == SWIG_NEWOBJ) delete[] buf11;
22198 return octave_value_list();
22199 }
22200 catch(...) {
22201 if (alloc11 == SWIG_NEWOBJ) delete[] buf11;
22202 throw;
22203 }
22204}
22205
22206
22208 octave_value_list _out;
22209 octave_value_list *_outp=&_out;
22210 octave_value _outv;
22211 PLFLT result;
22212
22213 try {
22214 if (!SWIG_check_num_args("plrandd",args.length(),0,0,0)) {
22215 SWIG_fail;
22216 }
22217 result = (PLFLT)plrandd();
22218 _outv = SWIG_From_double(static_cast< double >(result));
22219 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22220 return _out;
22221 fail:
22222 return octave_value_list();
22223 }
22224 catch(...) {
22225 throw;
22226 }
22227}
22228
22229
22231 octave_value_list _out;
22232 octave_value_list *_outp=&_out;
22233 octave_value _outv;
22234
22235 try {
22236 if (!SWIG_check_num_args("plreplot",args.length(),0,0,0)) {
22237 SWIG_fail;
22238 }
22239 plreplot();
22240 _outv = octave_value();
22241 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22242 return _out;
22243 fail:
22244 return octave_value_list();
22245 }
22246 catch(...) {
22247 throw;
22248 }
22249}
22250
22251
22253 PLFLT arg1 ;
22254 PLFLT arg2 ;
22255 PLFLT arg3 ;
22256 PLFLT *arg4 = 0 ;
22257 PLFLT *arg5 = 0 ;
22258 PLFLT *arg6 = 0 ;
22259 double val1 ;
22260 int ecode1 = 0 ;
22261 double val2 ;
22262 int ecode2 = 0 ;
22263 double val3 ;
22264 int ecode3 = 0 ;
22265 PLFLT temp4 ;
22266 int res4 = SWIG_TMPOBJ ;
22267 PLFLT temp5 ;
22268 int res5 = SWIG_TMPOBJ ;
22269 PLFLT temp6 ;
22270 int res6 = SWIG_TMPOBJ ;
22271 octave_value_list _out;
22272 octave_value_list *_outp=&_out;
22273 octave_value _outv;
22274
22275 try {
22276 arg4 = &temp4;
22277 arg5 = &temp5;
22278 arg6 = &temp6;
22279 if (!SWIG_check_num_args("plrgbhls",args.length(),3,3,0)) {
22280 SWIG_fail;
22281 }
22282 ecode1 = SWIG_AsVal_double(args(0), &val1);
22283 if (!SWIG_IsOK(ecode1)) {
22284 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plrgbhls" "', argument " "1"" of type '" "PLFLT""'");
22285 }
22286 arg1 = static_cast< PLFLT >(val1);
22287 ecode2 = SWIG_AsVal_double(args(1), &val2);
22288 if (!SWIG_IsOK(ecode2)) {
22289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plrgbhls" "', argument " "2"" of type '" "PLFLT""'");
22290 }
22291 arg2 = static_cast< PLFLT >(val2);
22292 ecode3 = SWIG_AsVal_double(args(2), &val3);
22293 if (!SWIG_IsOK(ecode3)) {
22294 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plrgbhls" "', argument " "3"" of type '" "PLFLT""'");
22295 }
22296 arg3 = static_cast< PLFLT >(val3);
22297 plrgbhls(arg1,arg2,arg3,arg4,arg5,arg6);
22298 _outv = octave_value();
22299 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22300 if (SWIG_IsTmpObj(res4)) {
22301 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg4)));
22302 } else {
22303 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22304 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
22305 }
22306 if (SWIG_IsTmpObj(res5)) {
22307 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg5)));
22308 } else {
22309 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22310 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, new_flags));
22311 }
22312 if (SWIG_IsTmpObj(res6)) {
22313 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg6)));
22314 } else {
22315 int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22316 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, new_flags));
22317 }
22318 return _out;
22319 fail:
22320 return octave_value_list();
22321 }
22322 catch(...) {
22323 throw;
22324 }
22325}
22326
22327
22329 PLFLT arg1 ;
22330 PLFLT arg2 ;
22331 double val1 ;
22332 int ecode1 = 0 ;
22333 double val2 ;
22334 int ecode2 = 0 ;
22335 octave_value_list _out;
22336 octave_value_list *_outp=&_out;
22337 octave_value _outv;
22338
22339 try {
22340 if (!SWIG_check_num_args("plschr",args.length(),2,2,0)) {
22341 SWIG_fail;
22342 }
22343 ecode1 = SWIG_AsVal_double(args(0), &val1);
22344 if (!SWIG_IsOK(ecode1)) {
22345 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plschr" "', argument " "1"" of type '" "PLFLT""'");
22346 }
22347 arg1 = static_cast< PLFLT >(val1);
22348 ecode2 = SWIG_AsVal_double(args(1), &val2);
22349 if (!SWIG_IsOK(ecode2)) {
22350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plschr" "', argument " "2"" of type '" "PLFLT""'");
22351 }
22352 arg2 = static_cast< PLFLT >(val2);
22353 plschr(arg1,arg2);
22354 _outv = octave_value();
22355 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22356 return _out;
22357 fail:
22358 return octave_value_list();
22359 }
22360 catch(...) {
22361 throw;
22362 }
22363}
22364
22365
22367 PLINT *arg1 = 0 ;
22368 PLINT *arg2 = 0 ;
22369 PLINT *arg3 = 0 ;
22370 PLINT arg4 ;
22371 Matrix temp1 ;
22372 Matrix temp2 ;
22373 Matrix temp3 ;
22374 octave_value_list _out;
22375 octave_value_list *_outp=&_out;
22376 octave_value _outv;
22377
22378 try {
22379 if (!SWIG_check_num_args("plscmap0",args.length(),3,3,0)) {
22380 SWIG_fail;
22381 }
22382 {
22383 if ( _n_dims( args(0) ) > 1 )
22384 {
22385 error( "argument must be a scalar or vector" ); SWIG_fail;
22386 }
22387 Alen = (PLINT) ( _dim( args(0), 0 ) );
22388 temp1 = args(0).matrix_value();
22389 arg1 = new PLINT[Alen];
22390 _cvt_double_to( arg1, &temp1( 0, 0 ), Alen );
22391 }
22392 {
22393 if ( _n_dims( args(1) ) > 1 )
22394 {
22395 error( "argument must be a scalar or vector" ); SWIG_fail;
22396 }
22397 if ( _dim( args(1), 0 ) != Alen )
22398 {
22399 error( "argument vectors must be same length" ); SWIG_fail;
22400 }
22401 temp2 = args(1).matrix_value();
22402 arg2 = new PLINT[Alen];
22403 _cvt_double_to( arg2, &temp2( 0, 0 ), Alen );
22404 }
22405 {
22406 if ( _n_dims( args(2) ) > 1 )
22407 {
22408 error( "argument must be a scalar or vector" ); SWIG_fail;
22409 }
22410 if ( _dim( args(2), 0 ) != Alen )
22411 {
22412 error( "argument vectors must be same length" ); SWIG_fail;
22413 }
22414 temp3 = args(2).matrix_value();
22415 arg3 = new PLINT[Alen];
22416 _cvt_double_to( arg3, &temp3( 0, 0 ), Alen );
22417 arg4 = Alen;
22418 }
22419 plscmap0((int const *)arg1,(int const *)arg2,(int const *)arg3,arg4);
22420 _outv = octave_value();
22421 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22422 {
22423 delete [] arg1;
22424 }
22425 {
22426 delete [] arg2;
22427 }
22428 {
22429 delete [] arg3;
22430 }
22431 return _out;
22432 fail:
22433 {
22434 delete [] arg1;
22435 }
22436 {
22437 delete [] arg2;
22438 }
22439 {
22440 delete [] arg3;
22441 }
22442 return octave_value_list();
22443 }
22444 catch(...) {
22445 {
22446 delete [] arg1;
22447 }
22448 {
22449 delete [] arg2;
22450 }
22451 {
22452 delete [] arg3;
22453 }
22454 throw;
22455 }
22456}
22457
22458
22460 PLINT *arg1 = 0 ;
22461 PLINT *arg2 = 0 ;
22462 PLINT *arg3 = 0 ;
22463 PLFLT *arg4 = 0 ;
22464 PLINT arg5 ;
22465 Matrix temp1 ;
22466 Matrix temp2 ;
22467 Matrix temp3 ;
22468 Matrix temp4 ;
22469 octave_value_list _out;
22470 octave_value_list *_outp=&_out;
22471 octave_value _outv;
22472
22473 try {
22474 if (!SWIG_check_num_args("plscmap0a",args.length(),4,4,0)) {
22475 SWIG_fail;
22476 }
22477 {
22478 if ( _n_dims( args(0) ) > 1 )
22479 {
22480 error( "argument must be a scalar or vector" ); SWIG_fail;
22481 }
22482 Alen = (PLINT) ( _dim( args(0), 0 ) );
22483 temp1 = args(0).matrix_value();
22484 arg1 = new PLINT[Alen];
22485 _cvt_double_to( arg1, &temp1( 0, 0 ), Alen );
22486 }
22487 {
22488 if ( _n_dims( args(1) ) > 1 )
22489 {
22490 error( "argument must be a scalar or vector" ); SWIG_fail;
22491 }
22492 if ( _dim( args(1), 0 ) != Alen )
22493 {
22494 error( "argument vectors must be same length" ); SWIG_fail;
22495 }
22496 temp2 = args(1).matrix_value();
22497 arg2 = new PLINT[Alen];
22498 _cvt_double_to( arg2, &temp2( 0, 0 ), Alen );
22499 }
22500 {
22501 if ( _n_dims( args(2) ) > 1 )
22502 {
22503 error( "argument must be a scalar or vector" ); SWIG_fail;
22504 }
22505 if ( _dim( args(2), 0 ) != Alen )
22506 {
22507 error( "argument vectors must be same length" ); SWIG_fail;
22508 }
22509 temp3 = args(2).matrix_value();
22510 arg3 = new PLINT[Alen];
22511 _cvt_double_to( arg3, &temp3( 0, 0 ), Alen );
22512 }
22513 {
22514 if ( _n_dims( args(3) ) > 1 )
22515 {
22516 error( "argument must be a scalar or vector" ); SWIG_fail;
22517 }
22518 if ( _dim( args(3), 0 ) != Alen )
22519 {
22520 error( "argument vectors must be same length" ); SWIG_fail;
22521 }
22522 temp4 = args(3).matrix_value();
22523 arg4 = &temp4( 0, 0 );
22524 arg5 = (PLINT) ( _dim( args(3), 0 ) );
22525 }
22526 plscmap0a((int const *)arg1,(int const *)arg2,(int const *)arg3,(double const *)arg4,arg5);
22527 _outv = octave_value();
22528 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22529 {
22530 delete [] arg1;
22531 }
22532 {
22533 delete [] arg2;
22534 }
22535 {
22536 delete [] arg3;
22537 }
22538 {
22539
22540 }
22541 return _out;
22542 fail:
22543 {
22544 delete [] arg1;
22545 }
22546 {
22547 delete [] arg2;
22548 }
22549 {
22550 delete [] arg3;
22551 }
22552 {
22553
22554 }
22555 return octave_value_list();
22556 }
22557 catch(...) {
22558 {
22559 delete [] arg1;
22560 }
22561 {
22562 delete [] arg2;
22563 }
22564 {
22565 delete [] arg3;
22566 }
22567 {
22568
22569 }
22570 throw;
22571 }
22572}
22573
22574
22576 PLINT arg1 ;
22577 int val1 ;
22578 int ecode1 = 0 ;
22579 octave_value_list _out;
22580 octave_value_list *_outp=&_out;
22581 octave_value _outv;
22582
22583 try {
22584 if (!SWIG_check_num_args("plscmap0n",args.length(),1,1,0)) {
22585 SWIG_fail;
22586 }
22587 ecode1 = SWIG_AsVal_int(args(0), &val1);
22588 if (!SWIG_IsOK(ecode1)) {
22589 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap0n" "', argument " "1"" of type '" "PLINT""'");
22590 }
22591 arg1 = static_cast< PLINT >(val1);
22592 plscmap0n(arg1);
22593 _outv = octave_value();
22594 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22595 return _out;
22596 fail:
22597 return octave_value_list();
22598 }
22599 catch(...) {
22600 throw;
22601 }
22602}
22603
22604
22606 PLINT *arg1 = 0 ;
22607 PLINT *arg2 = 0 ;
22608 PLINT *arg3 = 0 ;
22609 PLINT arg4 ;
22610 Matrix temp1 ;
22611 Matrix temp2 ;
22612 Matrix temp3 ;
22613 octave_value_list _out;
22614 octave_value_list *_outp=&_out;
22615 octave_value _outv;
22616
22617 try {
22618 if (!SWIG_check_num_args("plscmap1",args.length(),3,3,0)) {
22619 SWIG_fail;
22620 }
22621 {
22622 if ( _n_dims( args(0) ) > 1 )
22623 {
22624 error( "argument must be a scalar or vector" ); SWIG_fail;
22625 }
22626 Alen = (PLINT) ( _dim( args(0), 0 ) );
22627 temp1 = args(0).matrix_value();
22628 arg1 = new PLINT[Alen];
22629 _cvt_double_to( arg1, &temp1( 0, 0 ), Alen );
22630 }
22631 {
22632 if ( _n_dims( args(1) ) > 1 )
22633 {
22634 error( "argument must be a scalar or vector" ); SWIG_fail;
22635 }
22636 if ( _dim( args(1), 0 ) != Alen )
22637 {
22638 error( "argument vectors must be same length" ); SWIG_fail;
22639 }
22640 temp2 = args(1).matrix_value();
22641 arg2 = new PLINT[Alen];
22642 _cvt_double_to( arg2, &temp2( 0, 0 ), Alen );
22643 }
22644 {
22645 if ( _n_dims( args(2) ) > 1 )
22646 {
22647 error( "argument must be a scalar or vector" ); SWIG_fail;
22648 }
22649 if ( _dim( args(2), 0 ) != Alen )
22650 {
22651 error( "argument vectors must be same length" ); SWIG_fail;
22652 }
22653 temp3 = args(2).matrix_value();
22654 arg3 = new PLINT[Alen];
22655 _cvt_double_to( arg3, &temp3( 0, 0 ), Alen );
22656 arg4 = Alen;
22657 }
22658 plscmap1((int const *)arg1,(int const *)arg2,(int const *)arg3,arg4);
22659 _outv = octave_value();
22660 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22661 {
22662 delete [] arg1;
22663 }
22664 {
22665 delete [] arg2;
22666 }
22667 {
22668 delete [] arg3;
22669 }
22670 return _out;
22671 fail:
22672 {
22673 delete [] arg1;
22674 }
22675 {
22676 delete [] arg2;
22677 }
22678 {
22679 delete [] arg3;
22680 }
22681 return octave_value_list();
22682 }
22683 catch(...) {
22684 {
22685 delete [] arg1;
22686 }
22687 {
22688 delete [] arg2;
22689 }
22690 {
22691 delete [] arg3;
22692 }
22693 throw;
22694 }
22695}
22696
22697
22699 PLINT *arg1 = 0 ;
22700 PLINT *arg2 = 0 ;
22701 PLINT *arg3 = 0 ;
22702 PLFLT *arg4 = 0 ;
22703 PLINT arg5 ;
22704 Matrix temp1 ;
22705 Matrix temp2 ;
22706 Matrix temp3 ;
22707 Matrix temp4 ;
22708 octave_value_list _out;
22709 octave_value_list *_outp=&_out;
22710 octave_value _outv;
22711
22712 try {
22713 if (!SWIG_check_num_args("plscmap1a",args.length(),4,4,0)) {
22714 SWIG_fail;
22715 }
22716 {
22717 if ( _n_dims( args(0) ) > 1 )
22718 {
22719 error( "argument must be a scalar or vector" ); SWIG_fail;
22720 }
22721 Alen = (PLINT) ( _dim( args(0), 0 ) );
22722 temp1 = args(0).matrix_value();
22723 arg1 = new PLINT[Alen];
22724 _cvt_double_to( arg1, &temp1( 0, 0 ), Alen );
22725 }
22726 {
22727 if ( _n_dims( args(1) ) > 1 )
22728 {
22729 error( "argument must be a scalar or vector" ); SWIG_fail;
22730 }
22731 if ( _dim( args(1), 0 ) != Alen )
22732 {
22733 error( "argument vectors must be same length" ); SWIG_fail;
22734 }
22735 temp2 = args(1).matrix_value();
22736 arg2 = new PLINT[Alen];
22737 _cvt_double_to( arg2, &temp2( 0, 0 ), Alen );
22738 }
22739 {
22740 if ( _n_dims( args(2) ) > 1 )
22741 {
22742 error( "argument must be a scalar or vector" ); SWIG_fail;
22743 }
22744 if ( _dim( args(2), 0 ) != Alen )
22745 {
22746 error( "argument vectors must be same length" ); SWIG_fail;
22747 }
22748 temp3 = args(2).matrix_value();
22749 arg3 = new PLINT[Alen];
22750 _cvt_double_to( arg3, &temp3( 0, 0 ), Alen );
22751 }
22752 {
22753 if ( _n_dims( args(3) ) > 1 )
22754 {
22755 error( "argument must be a scalar or vector" ); SWIG_fail;
22756 }
22757 if ( _dim( args(3), 0 ) != Alen )
22758 {
22759 error( "argument vectors must be same length" ); SWIG_fail;
22760 }
22761 temp4 = args(3).matrix_value();
22762 arg4 = &temp4( 0, 0 );
22763 arg5 = (PLINT) ( _dim( args(3), 0 ) );
22764 }
22765 plscmap1a((int const *)arg1,(int const *)arg2,(int const *)arg3,(double const *)arg4,arg5);
22766 _outv = octave_value();
22767 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22768 {
22769 delete [] arg1;
22770 }
22771 {
22772 delete [] arg2;
22773 }
22774 {
22775 delete [] arg3;
22776 }
22777 {
22778
22779 }
22780 return _out;
22781 fail:
22782 {
22783 delete [] arg1;
22784 }
22785 {
22786 delete [] arg2;
22787 }
22788 {
22789 delete [] arg3;
22790 }
22791 {
22792
22793 }
22794 return octave_value_list();
22795 }
22796 catch(...) {
22797 {
22798 delete [] arg1;
22799 }
22800 {
22801 delete [] arg2;
22802 }
22803 {
22804 delete [] arg3;
22805 }
22806 {
22807
22808 }
22809 throw;
22810 }
22811}
22812
22813
22815 PLBOOL arg1 ;
22816 PLINT arg2 ;
22817 PLFLT *arg3 = 0 ;
22818 PLFLT *arg4 = 0 ;
22819 PLFLT *arg5 = 0 ;
22820 PLFLT *arg6 = 0 ;
22821 PLBOOL *arg7 = 0 ;
22822 int val1 ;
22823 int ecode1 = 0 ;
22824 Matrix temp2 ;
22825 Matrix temp4 ;
22826 Matrix temp5 ;
22827 Matrix temp6 ;
22828 Matrix temp7 ;
22829 octave_value_list _out;
22830 octave_value_list *_outp=&_out;
22831 octave_value _outv;
22832
22833 try {
22834 if (!SWIG_check_num_args("plscmap1l",args.length(),6,6,0)) {
22835 SWIG_fail;
22836 }
22837 ecode1 = SWIG_AsVal_int(args(0), &val1);
22838 if (!SWIG_IsOK(ecode1)) {
22839 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1l" "', argument " "1"" of type '" "PLBOOL""'");
22840 }
22841 arg1 = static_cast< PLBOOL >(val1);
22842 {
22843 if ( _n_dims( args(1) ) > 1 )
22844 {
22845 error( "argument must be a scalar or vector" ); SWIG_fail;
22846 }
22847 arg2 = Alen = (PLINT) ( _dim( args(1), 0 ) );
22848 temp2 = args(1).matrix_value();
22849 arg3 = &temp2( 0, 0 );
22850 }
22851 {
22852 if ( _n_dims( args(2) ) > 1 )
22853 {
22854 error( "argument must be a scalar or vector" ); SWIG_fail;
22855 }
22856 if ( _dim( args(2), 0 ) != Alen )
22857 {
22858 error( "argument vectors must be same length" ); SWIG_fail;
22859 }
22860 temp4 = args(2).matrix_value();
22861 arg4 = &temp4( 0, 0 );
22862 }
22863 {
22864 if ( _n_dims( args(3) ) > 1 )
22865 {
22866 error( "argument must be a scalar or vector" ); SWIG_fail;
22867 }
22868 if ( _dim( args(3), 0 ) != Alen )
22869 {
22870 error( "argument vectors must be same length" ); SWIG_fail;
22871 }
22872 temp5 = args(3).matrix_value();
22873 arg5 = &temp5( 0, 0 );
22874 }
22875 {
22876 if ( _n_dims( args(4) ) > 1 )
22877 {
22878 error( "argument must be a scalar or vector" ); SWIG_fail;
22879 }
22880 if ( _dim( args(4), 0 ) != Alen )
22881 {
22882 error( "argument vectors must be same length" ); SWIG_fail;
22883 }
22884 temp6 = args(4).matrix_value();
22885 arg6 = &temp6( 0, 0 );
22886 }
22887 {
22888 if ( _n_dims( args(5) ) > 1 )
22889 {
22890 error( "argument must be a scalar or vector" ); SWIG_fail;
22891 }
22892 if ( !( _dim( args(5), 0 ) == Alen || _dim( args(5), 0 ) == Alen - 1 ) )
22893 {
22894 error( "argument vector must be same length or one less" ); SWIG_fail;
22895 }
22896 temp7 = args(5).matrix_value();
22897 arg7 = new PLINT[Alen];
22898 _cvt_double_to( arg7, &temp7( 0, 0 ), Alen );
22899 }
22900 plscmap1l(arg1,arg2,(double const *)arg3,(double const *)arg4,(double const *)arg5,(double const *)arg6,(int const *)arg7);
22901 _outv = octave_value();
22902 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
22903 {
22904
22905 }
22906 {
22907
22908 }
22909 {
22910
22911 }
22912 {
22913
22914 }
22915 {
22916 delete [] arg7;
22917 }
22918 return _out;
22919 fail:
22920 {
22921
22922 }
22923 {
22924
22925 }
22926 {
22927
22928 }
22929 {
22930
22931 }
22932 {
22933 delete [] arg7;
22934 }
22935 return octave_value_list();
22936 }
22937 catch(...) {
22938 {
22939
22940 }
22941 {
22942
22943 }
22944 {
22945
22946 }
22947 {
22948
22949 }
22950 {
22951 delete [] arg7;
22952 }
22953 throw;
22954 }
22955}
22956
22957
22959 PLBOOL arg1 ;
22960 PLINT arg2 ;
22961 PLFLT *arg3 = 0 ;
22962 PLFLT *arg4 = 0 ;
22963 PLFLT *arg5 = 0 ;
22964 PLFLT *arg6 = 0 ;
22965 PLFLT *arg7 = 0 ;
22966 PLBOOL *arg8 = 0 ;
22967 int val1 ;
22968 int ecode1 = 0 ;
22969 Matrix temp2 ;
22970 Matrix temp4 ;
22971 Matrix temp5 ;
22972 Matrix temp6 ;
22973 Matrix temp7 ;
22974 Matrix temp8 ;
22975 octave_value_list _out;
22976 octave_value_list *_outp=&_out;
22977 octave_value _outv;
22978
22979 try {
22980 if (!SWIG_check_num_args("plscmap1la",args.length(),7,7,0)) {
22981 SWIG_fail;
22982 }
22983 ecode1 = SWIG_AsVal_int(args(0), &val1);
22984 if (!SWIG_IsOK(ecode1)) {
22985 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1la" "', argument " "1"" of type '" "PLBOOL""'");
22986 }
22987 arg1 = static_cast< PLBOOL >(val1);
22988 {
22989 if ( _n_dims( args(1) ) > 1 )
22990 {
22991 error( "argument must be a scalar or vector" ); SWIG_fail;
22992 }
22993 arg2 = Alen = (PLINT) ( _dim( args(1), 0 ) );
22994 temp2 = args(1).matrix_value();
22995 arg3 = &temp2( 0, 0 );
22996 }
22997 {
22998 if ( _n_dims( args(2) ) > 1 )
22999 {
23000 error( "argument must be a scalar or vector" ); SWIG_fail;
23001 }
23002 if ( _dim( args(2), 0 ) != Alen )
23003 {
23004 error( "argument vectors must be same length" ); SWIG_fail;
23005 }
23006 temp4 = args(2).matrix_value();
23007 arg4 = &temp4( 0, 0 );
23008 }
23009 {
23010 if ( _n_dims( args(3) ) > 1 )
23011 {
23012 error( "argument must be a scalar or vector" ); SWIG_fail;
23013 }
23014 if ( _dim( args(3), 0 ) != Alen )
23015 {
23016 error( "argument vectors must be same length" ); SWIG_fail;
23017 }
23018 temp5 = args(3).matrix_value();
23019 arg5 = &temp5( 0, 0 );
23020 }
23021 {
23022 if ( _n_dims( args(4) ) > 1 )
23023 {
23024 error( "argument must be a scalar or vector" ); SWIG_fail;
23025 }
23026 if ( _dim( args(4), 0 ) != Alen )
23027 {
23028 error( "argument vectors must be same length" ); SWIG_fail;
23029 }
23030 temp6 = args(4).matrix_value();
23031 arg6 = &temp6( 0, 0 );
23032 }
23033 {
23034 if ( _n_dims( args(5) ) > 1 )
23035 {
23036 error( "argument must be a scalar or vector" ); SWIG_fail;
23037 }
23038 if ( _dim( args(5), 0 ) != Alen )
23039 {
23040 error( "argument vectors must be same length" ); SWIG_fail;
23041 }
23042 temp7 = args(5).matrix_value();
23043 arg7 = &temp7( 0, 0 );
23044 }
23045 {
23046 if ( _n_dims( args(6) ) > 1 )
23047 {
23048 error( "argument must be a scalar or vector" ); SWIG_fail;
23049 }
23050 if ( !( _dim( args(6), 0 ) == Alen || _dim( args(6), 0 ) == Alen - 1 ) )
23051 {
23052 error( "argument vector must be same length or one less" ); SWIG_fail;
23053 }
23054 temp8 = args(6).matrix_value();
23055 arg8 = new PLINT[Alen];
23056 _cvt_double_to( arg8, &temp8( 0, 0 ), Alen );
23057 }
23058 plscmap1la(arg1,arg2,(double const *)arg3,(double const *)arg4,(double const *)arg5,(double const *)arg6,(double const *)arg7,(int const *)arg8);
23059 _outv = octave_value();
23060 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23061 {
23062
23063 }
23064 {
23065
23066 }
23067 {
23068
23069 }
23070 {
23071
23072 }
23073 {
23074
23075 }
23076 {
23077 delete [] arg8;
23078 }
23079 return _out;
23080 fail:
23081 {
23082
23083 }
23084 {
23085
23086 }
23087 {
23088
23089 }
23090 {
23091
23092 }
23093 {
23094
23095 }
23096 {
23097 delete [] arg8;
23098 }
23099 return octave_value_list();
23100 }
23101 catch(...) {
23102 {
23103
23104 }
23105 {
23106
23107 }
23108 {
23109
23110 }
23111 {
23112
23113 }
23114 {
23115
23116 }
23117 {
23118 delete [] arg8;
23119 }
23120 throw;
23121 }
23122}
23123
23124
23126 PLINT arg1 ;
23127 int val1 ;
23128 int ecode1 = 0 ;
23129 octave_value_list _out;
23130 octave_value_list *_outp=&_out;
23131 octave_value _outv;
23132
23133 try {
23134 if (!SWIG_check_num_args("plscmap1n",args.length(),1,1,0)) {
23135 SWIG_fail;
23136 }
23137 ecode1 = SWIG_AsVal_int(args(0), &val1);
23138 if (!SWIG_IsOK(ecode1)) {
23139 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1n" "', argument " "1"" of type '" "PLINT""'");
23140 }
23141 arg1 = static_cast< PLINT >(val1);
23142 plscmap1n(arg1);
23143 _outv = octave_value();
23144 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23145 return _out;
23146 fail:
23147 return octave_value_list();
23148 }
23149 catch(...) {
23150 throw;
23151 }
23152}
23153
23154
23156 PLFLT arg1 ;
23157 PLFLT arg2 ;
23158 double val1 ;
23159 int ecode1 = 0 ;
23160 double val2 ;
23161 int ecode2 = 0 ;
23162 octave_value_list _out;
23163 octave_value_list *_outp=&_out;
23164 octave_value _outv;
23165
23166 try {
23167 if (!SWIG_check_num_args("plscmap1_range",args.length(),2,2,0)) {
23168 SWIG_fail;
23169 }
23170 ecode1 = SWIG_AsVal_double(args(0), &val1);
23171 if (!SWIG_IsOK(ecode1)) {
23172 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscmap1_range" "', argument " "1"" of type '" "PLFLT""'");
23173 }
23174 arg1 = static_cast< PLFLT >(val1);
23175 ecode2 = SWIG_AsVal_double(args(1), &val2);
23176 if (!SWIG_IsOK(ecode2)) {
23177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscmap1_range" "', argument " "2"" of type '" "PLFLT""'");
23178 }
23179 arg2 = static_cast< PLFLT >(val2);
23180 plscmap1_range(arg1,arg2);
23181 _outv = octave_value();
23182 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23183 return _out;
23184 fail:
23185 return octave_value_list();
23186 }
23187 catch(...) {
23188 throw;
23189 }
23190}
23191
23192
23194 PLFLT *arg1 = 0 ;
23195 PLFLT *arg2 = 0 ;
23196 PLFLT temp1 ;
23197 int res1 = SWIG_TMPOBJ ;
23198 PLFLT temp2 ;
23199 int res2 = SWIG_TMPOBJ ;
23200 octave_value_list _out;
23201 octave_value_list *_outp=&_out;
23202 octave_value _outv;
23203
23204 try {
23205 arg1 = &temp1;
23206 arg2 = &temp2;
23207 if (!SWIG_check_num_args("plgcmap1_range",args.length(),0,0,0)) {
23208 SWIG_fail;
23209 }
23210 plgcmap1_range(arg1,arg2);
23211 _outv = octave_value();
23212 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23213 if (SWIG_IsTmpObj(res1)) {
23214 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg1)));
23215 } else {
23216 int new_flags = SWIG_IsNewObj(res1) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23217 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_double, new_flags));
23218 }
23219 if (SWIG_IsTmpObj(res2)) {
23220 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_double((*arg2)));
23221 } else {
23222 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23223 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, new_flags));
23224 }
23225 return _out;
23226 fail:
23227 return octave_value_list();
23228 }
23229 catch(...) {
23230 throw;
23231 }
23232}
23233
23234
23236 PLINT arg1 ;
23237 PLINT arg2 ;
23238 PLINT arg3 ;
23239 PLINT arg4 ;
23240 int val1 ;
23241 int ecode1 = 0 ;
23242 int val2 ;
23243 int ecode2 = 0 ;
23244 int val3 ;
23245 int ecode3 = 0 ;
23246 int val4 ;
23247 int ecode4 = 0 ;
23248 octave_value_list _out;
23249 octave_value_list *_outp=&_out;
23250 octave_value _outv;
23251
23252 try {
23253 if (!SWIG_check_num_args("plscol0",args.length(),4,4,0)) {
23254 SWIG_fail;
23255 }
23256 ecode1 = SWIG_AsVal_int(args(0), &val1);
23257 if (!SWIG_IsOK(ecode1)) {
23258 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscol0" "', argument " "1"" of type '" "PLINT""'");
23259 }
23260 arg1 = static_cast< PLINT >(val1);
23261 ecode2 = SWIG_AsVal_int(args(1), &val2);
23262 if (!SWIG_IsOK(ecode2)) {
23263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscol0" "', argument " "2"" of type '" "PLINT""'");
23264 }
23265 arg2 = static_cast< PLINT >(val2);
23266 ecode3 = SWIG_AsVal_int(args(2), &val3);
23267 if (!SWIG_IsOK(ecode3)) {
23268 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscol0" "', argument " "3"" of type '" "PLINT""'");
23269 }
23270 arg3 = static_cast< PLINT >(val3);
23271 ecode4 = SWIG_AsVal_int(args(3), &val4);
23272 if (!SWIG_IsOK(ecode4)) {
23273 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plscol0" "', argument " "4"" of type '" "PLINT""'");
23274 }
23275 arg4 = static_cast< PLINT >(val4);
23276 plscol0(arg1,arg2,arg3,arg4);
23277 _outv = octave_value();
23278 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23279 return _out;
23280 fail:
23281 return octave_value_list();
23282 }
23283 catch(...) {
23284 throw;
23285 }
23286}
23287
23288
23290 PLINT arg1 ;
23291 PLINT arg2 ;
23292 PLINT arg3 ;
23293 PLINT arg4 ;
23294 PLFLT arg5 ;
23295 int val1 ;
23296 int ecode1 = 0 ;
23297 int val2 ;
23298 int ecode2 = 0 ;
23299 int val3 ;
23300 int ecode3 = 0 ;
23301 int val4 ;
23302 int ecode4 = 0 ;
23303 double val5 ;
23304 int ecode5 = 0 ;
23305 octave_value_list _out;
23306 octave_value_list *_outp=&_out;
23307 octave_value _outv;
23308
23309 try {
23310 if (!SWIG_check_num_args("plscol0a",args.length(),5,5,0)) {
23311 SWIG_fail;
23312 }
23313 ecode1 = SWIG_AsVal_int(args(0), &val1);
23314 if (!SWIG_IsOK(ecode1)) {
23315 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscol0a" "', argument " "1"" of type '" "PLINT""'");
23316 }
23317 arg1 = static_cast< PLINT >(val1);
23318 ecode2 = SWIG_AsVal_int(args(1), &val2);
23319 if (!SWIG_IsOK(ecode2)) {
23320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscol0a" "', argument " "2"" of type '" "PLINT""'");
23321 }
23322 arg2 = static_cast< PLINT >(val2);
23323 ecode3 = SWIG_AsVal_int(args(2), &val3);
23324 if (!SWIG_IsOK(ecode3)) {
23325 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscol0a" "', argument " "3"" of type '" "PLINT""'");
23326 }
23327 arg3 = static_cast< PLINT >(val3);
23328 ecode4 = SWIG_AsVal_int(args(3), &val4);
23329 if (!SWIG_IsOK(ecode4)) {
23330 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plscol0a" "', argument " "4"" of type '" "PLINT""'");
23331 }
23332 arg4 = static_cast< PLINT >(val4);
23333 ecode5 = SWIG_AsVal_double(args(4), &val5);
23334 if (!SWIG_IsOK(ecode5)) {
23335 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plscol0a" "', argument " "5"" of type '" "PLFLT""'");
23336 }
23337 arg5 = static_cast< PLFLT >(val5);
23338 plscol0a(arg1,arg2,arg3,arg4,arg5);
23339 _outv = octave_value();
23340 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23341 return _out;
23342 fail:
23343 return octave_value_list();
23344 }
23345 catch(...) {
23346 throw;
23347 }
23348}
23349
23350
23352 PLINT arg1 ;
23353 PLINT arg2 ;
23354 PLINT arg3 ;
23355 int val1 ;
23356 int ecode1 = 0 ;
23357 int val2 ;
23358 int ecode2 = 0 ;
23359 int val3 ;
23360 int ecode3 = 0 ;
23361 octave_value_list _out;
23362 octave_value_list *_outp=&_out;
23363 octave_value _outv;
23364
23365 try {
23366 if (!SWIG_check_num_args("plscolbg",args.length(),3,3,0)) {
23367 SWIG_fail;
23368 }
23369 ecode1 = SWIG_AsVal_int(args(0), &val1);
23370 if (!SWIG_IsOK(ecode1)) {
23371 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscolbg" "', argument " "1"" of type '" "PLINT""'");
23372 }
23373 arg1 = static_cast< PLINT >(val1);
23374 ecode2 = SWIG_AsVal_int(args(1), &val2);
23375 if (!SWIG_IsOK(ecode2)) {
23376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscolbg" "', argument " "2"" of type '" "PLINT""'");
23377 }
23378 arg2 = static_cast< PLINT >(val2);
23379 ecode3 = SWIG_AsVal_int(args(2), &val3);
23380 if (!SWIG_IsOK(ecode3)) {
23381 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscolbg" "', argument " "3"" of type '" "PLINT""'");
23382 }
23383 arg3 = static_cast< PLINT >(val3);
23384 plscolbg(arg1,arg2,arg3);
23385 _outv = octave_value();
23386 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23387 return _out;
23388 fail:
23389 return octave_value_list();
23390 }
23391 catch(...) {
23392 throw;
23393 }
23394}
23395
23396
23398 PLINT arg1 ;
23399 PLINT arg2 ;
23400 PLINT arg3 ;
23401 PLFLT arg4 ;
23402 int val1 ;
23403 int ecode1 = 0 ;
23404 int val2 ;
23405 int ecode2 = 0 ;
23406 int val3 ;
23407 int ecode3 = 0 ;
23408 double val4 ;
23409 int ecode4 = 0 ;
23410 octave_value_list _out;
23411 octave_value_list *_outp=&_out;
23412 octave_value _outv;
23413
23414 try {
23415 if (!SWIG_check_num_args("plscolbga",args.length(),4,4,0)) {
23416 SWIG_fail;
23417 }
23418 ecode1 = SWIG_AsVal_int(args(0), &val1);
23419 if (!SWIG_IsOK(ecode1)) {
23420 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscolbga" "', argument " "1"" of type '" "PLINT""'");
23421 }
23422 arg1 = static_cast< PLINT >(val1);
23423 ecode2 = SWIG_AsVal_int(args(1), &val2);
23424 if (!SWIG_IsOK(ecode2)) {
23425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plscolbga" "', argument " "2"" of type '" "PLINT""'");
23426 }
23427 arg2 = static_cast< PLINT >(val2);
23428 ecode3 = SWIG_AsVal_int(args(2), &val3);
23429 if (!SWIG_IsOK(ecode3)) {
23430 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plscolbga" "', argument " "3"" of type '" "PLINT""'");
23431 }
23432 arg3 = static_cast< PLINT >(val3);
23433 ecode4 = SWIG_AsVal_double(args(3), &val4);
23434 if (!SWIG_IsOK(ecode4)) {
23435 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plscolbga" "', argument " "4"" of type '" "PLFLT""'");
23436 }
23437 arg4 = static_cast< PLFLT >(val4);
23438 plscolbga(arg1,arg2,arg3,arg4);
23439 _outv = octave_value();
23440 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23441 return _out;
23442 fail:
23443 return octave_value_list();
23444 }
23445 catch(...) {
23446 throw;
23447 }
23448}
23449
23450
23452 PLINT arg1 ;
23453 int val1 ;
23454 int ecode1 = 0 ;
23455 octave_value_list _out;
23456 octave_value_list *_outp=&_out;
23457 octave_value _outv;
23458
23459 try {
23460 if (!SWIG_check_num_args("plscolor",args.length(),1,1,0)) {
23461 SWIG_fail;
23462 }
23463 ecode1 = SWIG_AsVal_int(args(0), &val1);
23464 if (!SWIG_IsOK(ecode1)) {
23465 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscolor" "', argument " "1"" of type '" "PLINT""'");
23466 }
23467 arg1 = static_cast< PLINT >(val1);
23468 plscolor(arg1);
23469 _outv = octave_value();
23470 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23471 return _out;
23472 fail:
23473 return octave_value_list();
23474 }
23475 catch(...) {
23476 throw;
23477 }
23478}
23479
23480
23482 PLINT arg1 ;
23483 int val1 ;
23484 int ecode1 = 0 ;
23485 octave_value_list _out;
23486 octave_value_list *_outp=&_out;
23487 octave_value _outv;
23488
23489 try {
23490 if (!SWIG_check_num_args("plscompression",args.length(),1,1,0)) {
23491 SWIG_fail;
23492 }
23493 ecode1 = SWIG_AsVal_int(args(0), &val1);
23494 if (!SWIG_IsOK(ecode1)) {
23495 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plscompression" "', argument " "1"" of type '" "PLINT""'");
23496 }
23497 arg1 = static_cast< PLINT >(val1);
23498 plscompression(arg1);
23499 _outv = octave_value();
23500 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23501 return _out;
23502 fail:
23503 return octave_value_list();
23504 }
23505 catch(...) {
23506 throw;
23507 }
23508}
23509
23510
23512 char *arg1 = 0 ;
23513 int res1 ;
23514 char *buf1 = 0 ;
23515 int alloc1 = 0 ;
23516 octave_value_list _out;
23517 octave_value_list *_outp=&_out;
23518 octave_value _outv;
23519
23520 try {
23521 if (!SWIG_check_num_args("plsdev",args.length(),1,1,0)) {
23522 SWIG_fail;
23523 }
23524 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
23525 if (!SWIG_IsOK(res1)) {
23526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plsdev" "', argument " "1"" of type '" "char const *""'");
23527 }
23528 arg1 = reinterpret_cast< char * >(buf1);
23529 plsdev((char const *)arg1);
23530 _outv = octave_value();
23531 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23532 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
23533 return _out;
23534 fail:
23535 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
23536 return octave_value_list();
23537 }
23538 catch(...) {
23539 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
23540 throw;
23541 }
23542}
23543
23544
23546 PLFLT arg1 ;
23547 PLFLT arg2 ;
23548 PLFLT arg3 ;
23549 PLFLT arg4 ;
23550 double val1 ;
23551 int ecode1 = 0 ;
23552 double val2 ;
23553 int ecode2 = 0 ;
23554 double val3 ;
23555 int ecode3 = 0 ;
23556 double val4 ;
23557 int ecode4 = 0 ;
23558 octave_value_list _out;
23559 octave_value_list *_outp=&_out;
23560 octave_value _outv;
23561
23562 try {
23563 if (!SWIG_check_num_args("plsdidev",args.length(),4,4,0)) {
23564 SWIG_fail;
23565 }
23566 ecode1 = SWIG_AsVal_double(args(0), &val1);
23567 if (!SWIG_IsOK(ecode1)) {
23568 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdidev" "', argument " "1"" of type '" "PLFLT""'");
23569 }
23570 arg1 = static_cast< PLFLT >(val1);
23571 ecode2 = SWIG_AsVal_double(args(1), &val2);
23572 if (!SWIG_IsOK(ecode2)) {
23573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdidev" "', argument " "2"" of type '" "PLFLT""'");
23574 }
23575 arg2 = static_cast< PLFLT >(val2);
23576 ecode3 = SWIG_AsVal_double(args(2), &val3);
23577 if (!SWIG_IsOK(ecode3)) {
23578 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdidev" "', argument " "3"" of type '" "PLFLT""'");
23579 }
23580 arg3 = static_cast< PLFLT >(val3);
23581 ecode4 = SWIG_AsVal_double(args(3), &val4);
23582 if (!SWIG_IsOK(ecode4)) {
23583 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdidev" "', argument " "4"" of type '" "PLFLT""'");
23584 }
23585 arg4 = static_cast< PLFLT >(val4);
23586 plsdidev(arg1,arg2,arg3,arg4);
23587 _outv = octave_value();
23588 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23589 return _out;
23590 fail:
23591 return octave_value_list();
23592 }
23593 catch(...) {
23594 throw;
23595 }
23596}
23597
23598
23600 PLINT arg1 ;
23601 PLINT arg2 ;
23602 PLINT arg3 ;
23603 PLINT arg4 ;
23604 PLFLT arg5 ;
23605 PLFLT arg6 ;
23606 int val1 ;
23607 int ecode1 = 0 ;
23608 int val2 ;
23609 int ecode2 = 0 ;
23610 int val3 ;
23611 int ecode3 = 0 ;
23612 int val4 ;
23613 int ecode4 = 0 ;
23614 double val5 ;
23615 int ecode5 = 0 ;
23616 double val6 ;
23617 int ecode6 = 0 ;
23618 octave_value_list _out;
23619 octave_value_list *_outp=&_out;
23620 octave_value _outv;
23621
23622 try {
23623 if (!SWIG_check_num_args("plsdimap",args.length(),6,6,0)) {
23624 SWIG_fail;
23625 }
23626 ecode1 = SWIG_AsVal_int(args(0), &val1);
23627 if (!SWIG_IsOK(ecode1)) {
23628 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdimap" "', argument " "1"" of type '" "PLINT""'");
23629 }
23630 arg1 = static_cast< PLINT >(val1);
23631 ecode2 = SWIG_AsVal_int(args(1), &val2);
23632 if (!SWIG_IsOK(ecode2)) {
23633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdimap" "', argument " "2"" of type '" "PLINT""'");
23634 }
23635 arg2 = static_cast< PLINT >(val2);
23636 ecode3 = SWIG_AsVal_int(args(2), &val3);
23637 if (!SWIG_IsOK(ecode3)) {
23638 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdimap" "', argument " "3"" of type '" "PLINT""'");
23639 }
23640 arg3 = static_cast< PLINT >(val3);
23641 ecode4 = SWIG_AsVal_int(args(3), &val4);
23642 if (!SWIG_IsOK(ecode4)) {
23643 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdimap" "', argument " "4"" of type '" "PLINT""'");
23644 }
23645 arg4 = static_cast< PLINT >(val4);
23646 ecode5 = SWIG_AsVal_double(args(4), &val5);
23647 if (!SWIG_IsOK(ecode5)) {
23648 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plsdimap" "', argument " "5"" of type '" "PLFLT""'");
23649 }
23650 arg5 = static_cast< PLFLT >(val5);
23651 ecode6 = SWIG_AsVal_double(args(5), &val6);
23652 if (!SWIG_IsOK(ecode6)) {
23653 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plsdimap" "', argument " "6"" of type '" "PLFLT""'");
23654 }
23655 arg6 = static_cast< PLFLT >(val6);
23656 plsdimap(arg1,arg2,arg3,arg4,arg5,arg6);
23657 _outv = octave_value();
23658 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23659 return _out;
23660 fail:
23661 return octave_value_list();
23662 }
23663 catch(...) {
23664 throw;
23665 }
23666}
23667
23668
23670 PLFLT arg1 ;
23671 double val1 ;
23672 int ecode1 = 0 ;
23673 octave_value_list _out;
23674 octave_value_list *_outp=&_out;
23675 octave_value _outv;
23676
23677 try {
23678 if (!SWIG_check_num_args("plsdiori",args.length(),1,1,0)) {
23679 SWIG_fail;
23680 }
23681 ecode1 = SWIG_AsVal_double(args(0), &val1);
23682 if (!SWIG_IsOK(ecode1)) {
23683 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdiori" "', argument " "1"" of type '" "PLFLT""'");
23684 }
23685 arg1 = static_cast< PLFLT >(val1);
23686 plsdiori(arg1);
23687 _outv = octave_value();
23688 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23689 return _out;
23690 fail:
23691 return octave_value_list();
23692 }
23693 catch(...) {
23694 throw;
23695 }
23696}
23697
23698
23700 PLFLT arg1 ;
23701 PLFLT arg2 ;
23702 PLFLT arg3 ;
23703 PLFLT arg4 ;
23704 double val1 ;
23705 int ecode1 = 0 ;
23706 double val2 ;
23707 int ecode2 = 0 ;
23708 double val3 ;
23709 int ecode3 = 0 ;
23710 double val4 ;
23711 int ecode4 = 0 ;
23712 octave_value_list _out;
23713 octave_value_list *_outp=&_out;
23714 octave_value _outv;
23715
23716 try {
23717 if (!SWIG_check_num_args("plsdiplt",args.length(),4,4,0)) {
23718 SWIG_fail;
23719 }
23720 ecode1 = SWIG_AsVal_double(args(0), &val1);
23721 if (!SWIG_IsOK(ecode1)) {
23722 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdiplt" "', argument " "1"" of type '" "PLFLT""'");
23723 }
23724 arg1 = static_cast< PLFLT >(val1);
23725 ecode2 = SWIG_AsVal_double(args(1), &val2);
23726 if (!SWIG_IsOK(ecode2)) {
23727 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdiplt" "', argument " "2"" of type '" "PLFLT""'");
23728 }
23729 arg2 = static_cast< PLFLT >(val2);
23730 ecode3 = SWIG_AsVal_double(args(2), &val3);
23731 if (!SWIG_IsOK(ecode3)) {
23732 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdiplt" "', argument " "3"" of type '" "PLFLT""'");
23733 }
23734 arg3 = static_cast< PLFLT >(val3);
23735 ecode4 = SWIG_AsVal_double(args(3), &val4);
23736 if (!SWIG_IsOK(ecode4)) {
23737 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdiplt" "', argument " "4"" of type '" "PLFLT""'");
23738 }
23739 arg4 = static_cast< PLFLT >(val4);
23740 plsdiplt(arg1,arg2,arg3,arg4);
23741 _outv = octave_value();
23742 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23743 return _out;
23744 fail:
23745 return octave_value_list();
23746 }
23747 catch(...) {
23748 throw;
23749 }
23750}
23751
23752
23754 PLFLT arg1 ;
23755 PLFLT arg2 ;
23756 PLFLT arg3 ;
23757 PLFLT arg4 ;
23758 double val1 ;
23759 int ecode1 = 0 ;
23760 double val2 ;
23761 int ecode2 = 0 ;
23762 double val3 ;
23763 int ecode3 = 0 ;
23764 double val4 ;
23765 int ecode4 = 0 ;
23766 octave_value_list _out;
23767 octave_value_list *_outp=&_out;
23768 octave_value _outv;
23769
23770 try {
23771 if (!SWIG_check_num_args("plsdiplz",args.length(),4,4,0)) {
23772 SWIG_fail;
23773 }
23774 ecode1 = SWIG_AsVal_double(args(0), &val1);
23775 if (!SWIG_IsOK(ecode1)) {
23776 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsdiplz" "', argument " "1"" of type '" "PLFLT""'");
23777 }
23778 arg1 = static_cast< PLFLT >(val1);
23779 ecode2 = SWIG_AsVal_double(args(1), &val2);
23780 if (!SWIG_IsOK(ecode2)) {
23781 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsdiplz" "', argument " "2"" of type '" "PLFLT""'");
23782 }
23783 arg2 = static_cast< PLFLT >(val2);
23784 ecode3 = SWIG_AsVal_double(args(2), &val3);
23785 if (!SWIG_IsOK(ecode3)) {
23786 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsdiplz" "', argument " "3"" of type '" "PLFLT""'");
23787 }
23788 arg3 = static_cast< PLFLT >(val3);
23789 ecode4 = SWIG_AsVal_double(args(3), &val4);
23790 if (!SWIG_IsOK(ecode4)) {
23791 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsdiplz" "', argument " "4"" of type '" "PLFLT""'");
23792 }
23793 arg4 = static_cast< PLFLT >(val4);
23794 plsdiplz(arg1,arg2,arg3,arg4);
23795 _outv = octave_value();
23796 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23797 return _out;
23798 fail:
23799 return octave_value_list();
23800 }
23801 catch(...) {
23802 throw;
23803 }
23804}
23805
23806
23808 unsigned int arg1 ;
23809 unsigned int val1 ;
23810 int ecode1 = 0 ;
23811 octave_value_list _out;
23812 octave_value_list *_outp=&_out;
23813 octave_value _outv;
23814
23815 try {
23816 if (!SWIG_check_num_args("plseed",args.length(),1,1,0)) {
23817 SWIG_fail;
23818 }
23819 ecode1 = SWIG_AsVal_unsigned_SS_int(args(0), &val1);
23820 if (!SWIG_IsOK(ecode1)) {
23821 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plseed" "', argument " "1"" of type '" "unsigned int""'");
23822 }
23823 arg1 = static_cast< unsigned int >(val1);
23824 plseed(arg1);
23825 _outv = octave_value();
23826 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23827 return _out;
23828 fail:
23829 return octave_value_list();
23830 }
23831 catch(...) {
23832 throw;
23833 }
23834}
23835
23836
23838 char arg1 ;
23839 char val1 ;
23840 int ecode1 = 0 ;
23841 octave_value_list _out;
23842 octave_value_list *_outp=&_out;
23843 octave_value _outv;
23844
23845 try {
23846 if (!SWIG_check_num_args("plsesc",args.length(),1,1,0)) {
23847 SWIG_fail;
23848 }
23849 ecode1 = SWIG_AsVal_char(args(0), &val1);
23850 if (!SWIG_IsOK(ecode1)) {
23851 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsesc" "', argument " "1"" of type '" "char""'");
23852 }
23853 arg1 = static_cast< char >(val1);
23854 plsesc(arg1);
23855 _outv = octave_value();
23856 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23857 return _out;
23858 fail:
23859 return octave_value_list();
23860 }
23861 catch(...) {
23862 throw;
23863 }
23864}
23865
23866
23867SWIG_DEFUN( plSetOpt, _wrap_plSetOpt, _wrap_plSetOpt_texinfo ) {
23868 char *arg1 = 0 ;
23869 char *arg2 = 0 ;
23870 int res1 ;
23871 char *buf1 = 0 ;
23872 int alloc1 = 0 ;
23873 int res2 ;
23874 char *buf2 = 0 ;
23875 int alloc2 = 0 ;
23876 octave_value_list _out;
23877 octave_value_list *_outp=&_out;
23878 octave_value _outv;
23879 PLINT result;
23880
23881 try {
23882 if (!SWIG_check_num_args("plSetOpt",args.length(),2,2,0)) {
23883 SWIG_fail;
23884 }
23885 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
23886 if (!SWIG_IsOK(res1)) {
23887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plSetOpt" "', argument " "1"" of type '" "char const *""'");
23888 }
23889 arg1 = reinterpret_cast< char * >(buf1);
23890 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
23891 if (!SWIG_IsOK(res2)) {
23892 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plSetOpt" "', argument " "2"" of type '" "char const *""'");
23893 }
23894 arg2 = reinterpret_cast< char * >(buf2);
23895 result = (PLINT)plsetopt((char const *)arg1,(char const *)arg2);
23896 _outv = SWIG_From_int(static_cast< int >(result));
23897 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23898 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
23899 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
23900 return _out;
23901 fail:
23902 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
23903 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
23904 return octave_value_list();
23905 }
23906 catch(...) {
23907 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
23908 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
23909 throw;
23910 }
23911}
23912
23913
23915 PLINT arg1 ;
23916 PLINT arg2 ;
23917 PLINT arg3 ;
23918 int val1 ;
23919 int ecode1 = 0 ;
23920 int val2 ;
23921 int ecode2 = 0 ;
23922 int val3 ;
23923 int ecode3 = 0 ;
23924 octave_value_list _out;
23925 octave_value_list *_outp=&_out;
23926 octave_value _outv;
23927
23928 try {
23929 if (!SWIG_check_num_args("plsfam",args.length(),3,3,0)) {
23930 SWIG_fail;
23931 }
23932 ecode1 = SWIG_AsVal_int(args(0), &val1);
23933 if (!SWIG_IsOK(ecode1)) {
23934 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsfam" "', argument " "1"" of type '" "PLINT""'");
23935 }
23936 arg1 = static_cast< PLINT >(val1);
23937 ecode2 = SWIG_AsVal_int(args(1), &val2);
23938 if (!SWIG_IsOK(ecode2)) {
23939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsfam" "', argument " "2"" of type '" "PLINT""'");
23940 }
23941 arg2 = static_cast< PLINT >(val2);
23942 ecode3 = SWIG_AsVal_int(args(2), &val3);
23943 if (!SWIG_IsOK(ecode3)) {
23944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsfam" "', argument " "3"" of type '" "PLINT""'");
23945 }
23946 arg3 = static_cast< PLINT >(val3);
23947 plsfam(arg1,arg2,arg3);
23948 _outv = octave_value();
23949 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23950 return _out;
23951 fail:
23952 return octave_value_list();
23953 }
23954 catch(...) {
23955 throw;
23956 }
23957}
23958
23959
23961 PLUNICODE arg1 ;
23962 unsigned int val1 ;
23963 int ecode1 = 0 ;
23964 octave_value_list _out;
23965 octave_value_list *_outp=&_out;
23966 octave_value _outv;
23967
23968 try {
23969 if (!SWIG_check_num_args("plsfci",args.length(),1,1,0)) {
23970 SWIG_fail;
23971 }
23972 ecode1 = SWIG_AsVal_unsigned_SS_int(args(0), &val1);
23973 if (!SWIG_IsOK(ecode1)) {
23974 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsfci" "', argument " "1"" of type '" "PLUNICODE""'");
23975 }
23976 arg1 = static_cast< PLUNICODE >(val1);
23977 plsfci(arg1);
23978 _outv = octave_value();
23979 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
23980 return _out;
23981 fail:
23982 return octave_value_list();
23983 }
23984 catch(...) {
23985 throw;
23986 }
23987}
23988
23989
23991 char *arg1 = 0 ;
23992 int res1 ;
23993 char *buf1 = 0 ;
23994 int alloc1 = 0 ;
23995 octave_value_list _out;
23996 octave_value_list *_outp=&_out;
23997 octave_value _outv;
23998
23999 try {
24000 if (!SWIG_check_num_args("plsfnam",args.length(),1,1,0)) {
24001 SWIG_fail;
24002 }
24003 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
24004 if (!SWIG_IsOK(res1)) {
24005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plsfnam" "', argument " "1"" of type '" "char const *""'");
24006 }
24007 arg1 = reinterpret_cast< char * >(buf1);
24008 plsfnam((char const *)arg1);
24009 _outv = octave_value();
24010 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24011 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24012 return _out;
24013 fail:
24014 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24015 return octave_value_list();
24016 }
24017 catch(...) {
24018 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24019 throw;
24020 }
24021}
24022
24023
24025 PLINT arg1 ;
24026 PLINT arg2 ;
24027 PLINT arg3 ;
24028 int val1 ;
24029 int ecode1 = 0 ;
24030 int val2 ;
24031 int ecode2 = 0 ;
24032 int val3 ;
24033 int ecode3 = 0 ;
24034 octave_value_list _out;
24035 octave_value_list *_outp=&_out;
24036 octave_value _outv;
24037
24038 try {
24039 if (!SWIG_check_num_args("plsfont",args.length(),3,3,0)) {
24040 SWIG_fail;
24041 }
24042 ecode1 = SWIG_AsVal_int(args(0), &val1);
24043 if (!SWIG_IsOK(ecode1)) {
24044 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsfont" "', argument " "1"" of type '" "PLINT""'");
24045 }
24046 arg1 = static_cast< PLINT >(val1);
24047 ecode2 = SWIG_AsVal_int(args(1), &val2);
24048 if (!SWIG_IsOK(ecode2)) {
24049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsfont" "', argument " "2"" of type '" "PLINT""'");
24050 }
24051 arg2 = static_cast< PLINT >(val2);
24052 ecode3 = SWIG_AsVal_int(args(2), &val3);
24053 if (!SWIG_IsOK(ecode3)) {
24054 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsfont" "', argument " "3"" of type '" "PLINT""'");
24055 }
24056 arg3 = static_cast< PLINT >(val3);
24057 plsfont(arg1,arg2,arg3);
24058 _outv = octave_value();
24059 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24060 return _out;
24061 fail:
24062 return octave_value_list();
24063 }
24064 catch(...) {
24065 throw;
24066 }
24067}
24068
24069
24071 label_func arg1 = 0 ;
24072 PLPointer arg2 = 0 ;
24073 int res2 ;
24074 octave_value_list _out;
24075 octave_value_list *_outp=&_out;
24076 octave_value _outv;
24077
24078 try {
24079 if (!SWIG_check_num_args("plslabelfunc",args.length(),2,2,0)) {
24080 SWIG_fail;
24081 }
24082 {
24083 octave_value obj = args(0);
24084#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
24085 if ( !obj.isempty() )
24086#else
24087 if ( !obj.is_empty() )
24088#endif
24089 {
24090 if ( obj.is_function_handle() || obj.is_inline_function() )
24091 {
24092 fcnLabelFunc = obj.function_value();
24093 }
24094 else if ( obj.is_string() )
24095 {
24096 nameLabelFunc = obj.string_value();
24097 fcnLabelFunc = NULL;
24098 }
24099 arg1 = labelfunc_octave;
24100 }
24101 else
24102 {
24103 arg1 = NULL;
24104 }
24105 }
24106 res2 = SWIG_ConvertPtr(args(1),SWIG_as_voidptrptr(&arg2), 0, 0);
24107 if (!SWIG_IsOK(res2)) {
24108 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plslabelfunc" "', argument " "2"" of type '" "PLPointer""'");
24109 }
24110 plslabelfunc(arg1,arg2);
24111 _outv = octave_value();
24112 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24113 return _out;
24114 fail:
24115 return octave_value_list();
24116 }
24117 catch(...) {
24118 throw;
24119 }
24120}
24121
24122
24124 PLFLT arg1 ;
24125 PLFLT arg2 ;
24126 double val1 ;
24127 int ecode1 = 0 ;
24128 double val2 ;
24129 int ecode2 = 0 ;
24130 octave_value_list _out;
24131 octave_value_list *_outp=&_out;
24132 octave_value _outv;
24133
24134 try {
24135 if (!SWIG_check_num_args("plsmaj",args.length(),2,2,0)) {
24136 SWIG_fail;
24137 }
24138 ecode1 = SWIG_AsVal_double(args(0), &val1);
24139 if (!SWIG_IsOK(ecode1)) {
24140 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmaj" "', argument " "1"" of type '" "PLFLT""'");
24141 }
24142 arg1 = static_cast< PLFLT >(val1);
24143 ecode2 = SWIG_AsVal_double(args(1), &val2);
24144 if (!SWIG_IsOK(ecode2)) {
24145 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmaj" "', argument " "2"" of type '" "PLFLT""'");
24146 }
24147 arg2 = static_cast< PLFLT >(val2);
24148 plsmaj(arg1,arg2);
24149 _outv = octave_value();
24150 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24151 return _out;
24152 fail:
24153 return octave_value_list();
24154 }
24155 catch(...) {
24156 throw;
24157 }
24158}
24159
24160
24162 PLFLT arg1 ;
24163 PLFLT arg2 ;
24164 double val1 ;
24165 int ecode1 = 0 ;
24166 double val2 ;
24167 int ecode2 = 0 ;
24168 octave_value_list _out;
24169 octave_value_list *_outp=&_out;
24170 octave_value _outv;
24171
24172 try {
24173 if (!SWIG_check_num_args("plsmin",args.length(),2,2,0)) {
24174 SWIG_fail;
24175 }
24176 ecode1 = SWIG_AsVal_double(args(0), &val1);
24177 if (!SWIG_IsOK(ecode1)) {
24178 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsmin" "', argument " "1"" of type '" "PLFLT""'");
24179 }
24180 arg1 = static_cast< PLFLT >(val1);
24181 ecode2 = SWIG_AsVal_double(args(1), &val2);
24182 if (!SWIG_IsOK(ecode2)) {
24183 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsmin" "', argument " "2"" of type '" "PLFLT""'");
24184 }
24185 arg2 = static_cast< PLFLT >(val2);
24186 plsmin(arg1,arg2);
24187 _outv = octave_value();
24188 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24189 return _out;
24190 fail:
24191 return octave_value_list();
24192 }
24193 catch(...) {
24194 throw;
24195 }
24196}
24197
24198
24200 PLINT arg1 ;
24201 int val1 ;
24202 int ecode1 = 0 ;
24203 octave_value_list _out;
24204 octave_value_list *_outp=&_out;
24205 octave_value _outv;
24206
24207 try {
24208 if (!SWIG_check_num_args("plsori",args.length(),1,1,0)) {
24209 SWIG_fail;
24210 }
24211 ecode1 = SWIG_AsVal_int(args(0), &val1);
24212 if (!SWIG_IsOK(ecode1)) {
24213 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsori" "', argument " "1"" of type '" "PLINT""'");
24214 }
24215 arg1 = static_cast< PLINT >(val1);
24216 plsori(arg1);
24217 _outv = octave_value();
24218 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24219 return _out;
24220 fail:
24221 return octave_value_list();
24222 }
24223 catch(...) {
24224 throw;
24225 }
24226}
24227
24228
24230 PLFLT arg1 ;
24231 PLFLT arg2 ;
24232 PLINT arg3 ;
24233 PLINT arg4 ;
24234 PLINT arg5 ;
24235 PLINT arg6 ;
24236 double val1 ;
24237 int ecode1 = 0 ;
24238 double val2 ;
24239 int ecode2 = 0 ;
24240 int val3 ;
24241 int ecode3 = 0 ;
24242 int val4 ;
24243 int ecode4 = 0 ;
24244 int val5 ;
24245 int ecode5 = 0 ;
24246 int val6 ;
24247 int ecode6 = 0 ;
24248 octave_value_list _out;
24249 octave_value_list *_outp=&_out;
24250 octave_value _outv;
24251
24252 try {
24253 if (!SWIG_check_num_args("plspage",args.length(),6,6,0)) {
24254 SWIG_fail;
24255 }
24256 ecode1 = SWIG_AsVal_double(args(0), &val1);
24257 if (!SWIG_IsOK(ecode1)) {
24258 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plspage" "', argument " "1"" of type '" "PLFLT""'");
24259 }
24260 arg1 = static_cast< PLFLT >(val1);
24261 ecode2 = SWIG_AsVal_double(args(1), &val2);
24262 if (!SWIG_IsOK(ecode2)) {
24263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plspage" "', argument " "2"" of type '" "PLFLT""'");
24264 }
24265 arg2 = static_cast< PLFLT >(val2);
24266 ecode3 = SWIG_AsVal_int(args(2), &val3);
24267 if (!SWIG_IsOK(ecode3)) {
24268 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plspage" "', argument " "3"" of type '" "PLINT""'");
24269 }
24270 arg3 = static_cast< PLINT >(val3);
24271 ecode4 = SWIG_AsVal_int(args(3), &val4);
24272 if (!SWIG_IsOK(ecode4)) {
24273 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plspage" "', argument " "4"" of type '" "PLINT""'");
24274 }
24275 arg4 = static_cast< PLINT >(val4);
24276 ecode5 = SWIG_AsVal_int(args(4), &val5);
24277 if (!SWIG_IsOK(ecode5)) {
24278 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plspage" "', argument " "5"" of type '" "PLINT""'");
24279 }
24280 arg5 = static_cast< PLINT >(val5);
24281 ecode6 = SWIG_AsVal_int(args(5), &val6);
24282 if (!SWIG_IsOK(ecode6)) {
24283 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plspage" "', argument " "6"" of type '" "PLINT""'");
24284 }
24285 arg6 = static_cast< PLINT >(val6);
24286 plspage(arg1,arg2,arg3,arg4,arg5,arg6);
24287 _outv = octave_value();
24288 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24289 return _out;
24290 fail:
24291 return octave_value_list();
24292 }
24293 catch(...) {
24294 throw;
24295 }
24296}
24297
24298
24300 char *arg1 = 0 ;
24301 int res1 ;
24302 char *buf1 = 0 ;
24303 int alloc1 = 0 ;
24304 octave_value_list _out;
24305 octave_value_list *_outp=&_out;
24306 octave_value _outv;
24307
24308 try {
24309 if (!SWIG_check_num_args("plspal0",args.length(),1,1,0)) {
24310 SWIG_fail;
24311 }
24312 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
24313 if (!SWIG_IsOK(res1)) {
24314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plspal0" "', argument " "1"" of type '" "char const *""'");
24315 }
24316 arg1 = reinterpret_cast< char * >(buf1);
24317 plspal0((char const *)arg1);
24318 _outv = octave_value();
24319 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24320 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24321 return _out;
24322 fail:
24323 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24324 return octave_value_list();
24325 }
24326 catch(...) {
24327 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24328 throw;
24329 }
24330}
24331
24332
24334 char *arg1 = 0 ;
24335 PLBOOL arg2 ;
24336 int res1 ;
24337 char *buf1 = 0 ;
24338 int alloc1 = 0 ;
24339 int val2 ;
24340 int ecode2 = 0 ;
24341 octave_value_list _out;
24342 octave_value_list *_outp=&_out;
24343 octave_value _outv;
24344
24345 try {
24346 if (!SWIG_check_num_args("plspal1",args.length(),2,2,0)) {
24347 SWIG_fail;
24348 }
24349 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
24350 if (!SWIG_IsOK(res1)) {
24351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plspal1" "', argument " "1"" of type '" "char const *""'");
24352 }
24353 arg1 = reinterpret_cast< char * >(buf1);
24354 ecode2 = SWIG_AsVal_int(args(1), &val2);
24355 if (!SWIG_IsOK(ecode2)) {
24356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plspal1" "', argument " "2"" of type '" "PLBOOL""'");
24357 }
24358 arg2 = static_cast< PLBOOL >(val2);
24359 plspal1((char const *)arg1,arg2);
24360 _outv = octave_value();
24361 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24362 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24363 return _out;
24364 fail:
24365 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24366 return octave_value_list();
24367 }
24368 catch(...) {
24369 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24370 throw;
24371 }
24372}
24373
24374
24376 PLBOOL arg1 ;
24377 int val1 ;
24378 int ecode1 = 0 ;
24379 octave_value_list _out;
24380 octave_value_list *_outp=&_out;
24381 octave_value _outv;
24382
24383 try {
24384 if (!SWIG_check_num_args("plspause",args.length(),1,1,0)) {
24385 SWIG_fail;
24386 }
24387 ecode1 = SWIG_AsVal_int(args(0), &val1);
24388 if (!SWIG_IsOK(ecode1)) {
24389 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plspause" "', argument " "1"" of type '" "PLBOOL""'");
24390 }
24391 arg1 = static_cast< PLBOOL >(val1);
24392 plspause(arg1);
24393 _outv = octave_value();
24394 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24395 return _out;
24396 fail:
24397 return octave_value_list();
24398 }
24399 catch(...) {
24400 throw;
24401 }
24402}
24403
24404
24405SWIG_DEFUN( plsstrm, _wrap_plsstrm, _wrap_plsstrm_texinfo ) {
24406 PLINT arg1 ;
24407 int val1 ;
24408 int ecode1 = 0 ;
24409 octave_value_list _out;
24410 octave_value_list *_outp=&_out;
24411 octave_value _outv;
24412
24413 try {
24414 if (!SWIG_check_num_args("plsstrm",args.length(),1,1,0)) {
24415 SWIG_fail;
24416 }
24417 ecode1 = SWIG_AsVal_int(args(0), &val1);
24418 if (!SWIG_IsOK(ecode1)) {
24419 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsstrm" "', argument " "1"" of type '" "PLINT""'");
24420 }
24421 arg1 = static_cast< PLINT >(val1);
24422 plsstrm(arg1);
24423 _outv = octave_value();
24424 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24425 return _out;
24426 fail:
24427 return octave_value_list();
24428 }
24429 catch(...) {
24430 throw;
24431 }
24432}
24433
24434
24436 PLINT arg1 ;
24437 PLINT arg2 ;
24438 int val1 ;
24439 int ecode1 = 0 ;
24440 int val2 ;
24441 int ecode2 = 0 ;
24442 octave_value_list _out;
24443 octave_value_list *_outp=&_out;
24444 octave_value _outv;
24445
24446 try {
24447 if (!SWIG_check_num_args("plssub",args.length(),2,2,0)) {
24448 SWIG_fail;
24449 }
24450 ecode1 = SWIG_AsVal_int(args(0), &val1);
24451 if (!SWIG_IsOK(ecode1)) {
24452 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plssub" "', argument " "1"" of type '" "PLINT""'");
24453 }
24454 arg1 = static_cast< PLINT >(val1);
24455 ecode2 = SWIG_AsVal_int(args(1), &val2);
24456 if (!SWIG_IsOK(ecode2)) {
24457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plssub" "', argument " "2"" of type '" "PLINT""'");
24458 }
24459 arg2 = static_cast< PLINT >(val2);
24460 plssub(arg1,arg2);
24461 _outv = octave_value();
24462 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24463 return _out;
24464 fail:
24465 return octave_value_list();
24466 }
24467 catch(...) {
24468 throw;
24469 }
24470}
24471
24472
24474 PLFLT arg1 ;
24475 PLFLT arg2 ;
24476 double val1 ;
24477 int ecode1 = 0 ;
24478 double val2 ;
24479 int ecode2 = 0 ;
24480 octave_value_list _out;
24481 octave_value_list *_outp=&_out;
24482 octave_value _outv;
24483
24484 try {
24485 if (!SWIG_check_num_args("plssym",args.length(),2,2,0)) {
24486 SWIG_fail;
24487 }
24488 ecode1 = SWIG_AsVal_double(args(0), &val1);
24489 if (!SWIG_IsOK(ecode1)) {
24490 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plssym" "', argument " "1"" of type '" "PLFLT""'");
24491 }
24492 arg1 = static_cast< PLFLT >(val1);
24493 ecode2 = SWIG_AsVal_double(args(1), &val2);
24494 if (!SWIG_IsOK(ecode2)) {
24495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plssym" "', argument " "2"" of type '" "PLFLT""'");
24496 }
24497 arg2 = static_cast< PLFLT >(val2);
24498 plssym(arg1,arg2);
24499 _outv = octave_value();
24500 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24501 return _out;
24502 fail:
24503 return octave_value_list();
24504 }
24505 catch(...) {
24506 throw;
24507 }
24508}
24509
24510
24512 PLINT arg1 ;
24513 PLINT arg2 ;
24514 int val1 ;
24515 int ecode1 = 0 ;
24516 int val2 ;
24517 int ecode2 = 0 ;
24518 octave_value_list _out;
24519 octave_value_list *_outp=&_out;
24520 octave_value _outv;
24521
24522 try {
24523 if (!SWIG_check_num_args("plstar",args.length(),2,2,0)) {
24524 SWIG_fail;
24525 }
24526 ecode1 = SWIG_AsVal_int(args(0), &val1);
24527 if (!SWIG_IsOK(ecode1)) {
24528 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plstar" "', argument " "1"" of type '" "PLINT""'");
24529 }
24530 arg1 = static_cast< PLINT >(val1);
24531 ecode2 = SWIG_AsVal_int(args(1), &val2);
24532 if (!SWIG_IsOK(ecode2)) {
24533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plstar" "', argument " "2"" of type '" "PLINT""'");
24534 }
24535 arg2 = static_cast< PLINT >(val2);
24536 plstar(arg1,arg2);
24537 _outv = octave_value();
24538 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24539 return _out;
24540 fail:
24541 return octave_value_list();
24542 }
24543 catch(...) {
24544 throw;
24545 }
24546}
24547
24548
24550 char *arg1 = 0 ;
24551 PLINT arg2 ;
24552 PLINT arg3 ;
24553 int res1 ;
24554 char *buf1 = 0 ;
24555 int alloc1 = 0 ;
24556 int val2 ;
24557 int ecode2 = 0 ;
24558 int val3 ;
24559 int ecode3 = 0 ;
24560 octave_value_list _out;
24561 octave_value_list *_outp=&_out;
24562 octave_value _outv;
24563
24564 try {
24565 if (!SWIG_check_num_args("plstart",args.length(),3,3,0)) {
24566 SWIG_fail;
24567 }
24568 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
24569 if (!SWIG_IsOK(res1)) {
24570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plstart" "', argument " "1"" of type '" "char const *""'");
24571 }
24572 arg1 = reinterpret_cast< char * >(buf1);
24573 ecode2 = SWIG_AsVal_int(args(1), &val2);
24574 if (!SWIG_IsOK(ecode2)) {
24575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plstart" "', argument " "2"" of type '" "PLINT""'");
24576 }
24577 arg2 = static_cast< PLINT >(val2);
24578 ecode3 = SWIG_AsVal_int(args(2), &val3);
24579 if (!SWIG_IsOK(ecode3)) {
24580 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plstart" "', argument " "3"" of type '" "PLINT""'");
24581 }
24582 arg3 = static_cast< PLINT >(val3);
24583 plstart((char const *)arg1,arg2,arg3);
24584 _outv = octave_value();
24585 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24586 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24587 return _out;
24588 fail:
24589 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24590 return octave_value_list();
24591 }
24592 catch(...) {
24593 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
24594 throw;
24595 }
24596}
24597
24598
24600 ct_func arg1 = 0 ;
24601 PLPointer arg2 = 0 ;
24602 int res2 ;
24603 octave_value_list _out;
24604 octave_value_list *_outp=&_out;
24605 octave_value _outv;
24606
24607 try {
24608 if (!SWIG_check_num_args("plstransform",args.length(),2,2,0)) {
24609 SWIG_fail;
24610 }
24611 {
24612 octave_value obj = args(0);
24613#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
24614 if ( !obj.isempty() )
24615#else
24616 if ( !obj.is_empty() )
24617#endif
24618 {
24619 if ( obj.is_function_handle() || obj.is_inline_function() )
24620 {
24621 fcnCoordTrans = obj.function_value();
24622 }
24623 else if ( obj.is_string() )
24624 {
24625 nameCoordTrans = obj.string_value();
24626 fcnCoordTrans = NULL;
24627 }
24628 arg1 = ct_octave;
24629 }
24630 else
24631 {
24632 arg1 = NULL;
24633 }
24634 }
24635 res2 = SWIG_ConvertPtr(args(1),SWIG_as_voidptrptr(&arg2), 0, 0);
24636 if (!SWIG_IsOK(res2)) {
24637 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plstransform" "', argument " "2"" of type '" "PLPointer""'");
24638 }
24639 plstransform(arg1,arg2);
24640 _outv = octave_value();
24641 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24642 return _out;
24643 fail:
24644 return octave_value_list();
24645 }
24646 catch(...) {
24647 throw;
24648 }
24649}
24650
24651
24653 PLINT arg1 ;
24654 PLFLT *arg2 = 0 ;
24655 PLFLT *arg3 = 0 ;
24656 char *arg4 = 0 ;
24657 Matrix temp1 ;
24658 Matrix temp3 ;
24659 int res4 ;
24660 char *buf4 = 0 ;
24661 int alloc4 = 0 ;
24662 octave_value_list _out;
24663 octave_value_list *_outp=&_out;
24664 octave_value _outv;
24665
24666 try {
24667 if (!SWIG_check_num_args("plstring",args.length(),3,3,0)) {
24668 SWIG_fail;
24669 }
24670 {
24671 if ( _n_dims( args(0) ) > 1 )
24672 {
24673 error( "argument must be a scalar or vector" ); SWIG_fail;
24674 }
24675 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
24676 temp1 = args(0).matrix_value();
24677 arg2 = &temp1( 0, 0 );
24678 }
24679 {
24680 if ( _n_dims( args(1) ) > 1 )
24681 {
24682 error( "argument must be a scalar or vector" ); SWIG_fail;
24683 }
24684 if ( _dim( args(1), 0 ) != Alen )
24685 {
24686 error( "argument vectors must be same length" ); SWIG_fail;
24687 }
24688 temp3 = args(1).matrix_value();
24689 arg3 = &temp3( 0, 0 );
24690 }
24691 res4 = SWIG_AsCharPtrAndSize(args(2), &buf4, NULL, &alloc4);
24692 if (!SWIG_IsOK(res4)) {
24693 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "plstring" "', argument " "4"" of type '" "char const *""'");
24694 }
24695 arg4 = reinterpret_cast< char * >(buf4);
24696 plstring(arg1,(double const *)arg2,(double const *)arg3,(char const *)arg4);
24697 _outv = octave_value();
24698 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24699 {
24700
24701 }
24702 {
24703
24704 }
24705 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
24706 return _out;
24707 fail:
24708 {
24709
24710 }
24711 {
24712
24713 }
24714 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
24715 return octave_value_list();
24716 }
24717 catch(...) {
24718 {
24719
24720 }
24721 {
24722
24723 }
24724 if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
24725 throw;
24726 }
24727}
24728
24729
24731 PLINT arg1 ;
24732 PLFLT *arg2 = 0 ;
24733 PLFLT *arg3 = 0 ;
24734 PLFLT *arg4 = 0 ;
24735 char *arg5 = 0 ;
24736 Matrix temp1 ;
24737 Matrix temp3 ;
24738 Matrix temp4 ;
24739 int res5 ;
24740 char *buf5 = 0 ;
24741 int alloc5 = 0 ;
24742 octave_value_list _out;
24743 octave_value_list *_outp=&_out;
24744 octave_value _outv;
24745
24746 try {
24747 if (!SWIG_check_num_args("plstring3",args.length(),4,4,0)) {
24748 SWIG_fail;
24749 }
24750 {
24751 if ( _n_dims( args(0) ) > 1 )
24752 {
24753 error( "argument must be a scalar or vector" ); SWIG_fail;
24754 }
24755 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
24756 temp1 = args(0).matrix_value();
24757 arg2 = &temp1( 0, 0 );
24758 }
24759 {
24760 if ( _n_dims( args(1) ) > 1 )
24761 {
24762 error( "argument must be a scalar or vector" ); SWIG_fail;
24763 }
24764 if ( _dim( args(1), 0 ) != Alen )
24765 {
24766 error( "argument vectors must be same length" ); SWIG_fail;
24767 }
24768 temp3 = args(1).matrix_value();
24769 arg3 = &temp3( 0, 0 );
24770 }
24771 {
24772 if ( _n_dims( args(2) ) > 1 )
24773 {
24774 error( "argument must be a scalar or vector" ); SWIG_fail;
24775 }
24776 if ( _dim( args(2), 0 ) != Alen )
24777 {
24778 error( "argument vectors must be same length" ); SWIG_fail;
24779 }
24780 temp4 = args(2).matrix_value();
24781 arg4 = &temp4( 0, 0 );
24782 }
24783 res5 = SWIG_AsCharPtrAndSize(args(3), &buf5, NULL, &alloc5);
24784 if (!SWIG_IsOK(res5)) {
24785 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "plstring3" "', argument " "5"" of type '" "char const *""'");
24786 }
24787 arg5 = reinterpret_cast< char * >(buf5);
24788 plstring3(arg1,(double const *)arg2,(double const *)arg3,(double const *)arg4,(char const *)arg5);
24789 _outv = octave_value();
24790 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24791 {
24792
24793 }
24794 {
24795
24796 }
24797 {
24798
24799 }
24800 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
24801 return _out;
24802 fail:
24803 {
24804
24805 }
24806 {
24807
24808 }
24809 {
24810
24811 }
24812 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
24813 return octave_value_list();
24814 }
24815 catch(...) {
24816 {
24817
24818 }
24819 {
24820
24821 }
24822 {
24823
24824 }
24825 if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
24826 throw;
24827 }
24828}
24829
24830
24832 PLINT arg1 ;
24833 PLINT arg2 ;
24834 PLFLT arg3 ;
24835 PLFLT arg4 ;
24836 int val1 ;
24837 int ecode1 = 0 ;
24838 int val2 ;
24839 int ecode2 = 0 ;
24840 double val3 ;
24841 int ecode3 = 0 ;
24842 double val4 ;
24843 int ecode4 = 0 ;
24844 octave_value_list _out;
24845 octave_value_list *_outp=&_out;
24846 octave_value _outv;
24847
24848 try {
24849 if (!SWIG_check_num_args("plstripa",args.length(),4,4,0)) {
24850 SWIG_fail;
24851 }
24852 ecode1 = SWIG_AsVal_int(args(0), &val1);
24853 if (!SWIG_IsOK(ecode1)) {
24854 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plstripa" "', argument " "1"" of type '" "PLINT""'");
24855 }
24856 arg1 = static_cast< PLINT >(val1);
24857 ecode2 = SWIG_AsVal_int(args(1), &val2);
24858 if (!SWIG_IsOK(ecode2)) {
24859 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plstripa" "', argument " "2"" of type '" "PLINT""'");
24860 }
24861 arg2 = static_cast< PLINT >(val2);
24862 ecode3 = SWIG_AsVal_double(args(2), &val3);
24863 if (!SWIG_IsOK(ecode3)) {
24864 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plstripa" "', argument " "3"" of type '" "PLFLT""'");
24865 }
24866 arg3 = static_cast< PLFLT >(val3);
24867 ecode4 = SWIG_AsVal_double(args(3), &val4);
24868 if (!SWIG_IsOK(ecode4)) {
24869 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plstripa" "', argument " "4"" of type '" "PLFLT""'");
24870 }
24871 arg4 = static_cast< PLFLT >(val4);
24872 plstripa(arg1,arg2,arg3,arg4);
24873 _outv = octave_value();
24874 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24875 return _out;
24876 fail:
24877 return octave_value_list();
24878 }
24879 catch(...) {
24880 throw;
24881 }
24882}
24883
24884
24886 PLINT arg1 ;
24887 int val1 ;
24888 int ecode1 = 0 ;
24889 octave_value_list _out;
24890 octave_value_list *_outp=&_out;
24891 octave_value _outv;
24892
24893 try {
24894 if (!SWIG_check_num_args("plstripd",args.length(),1,1,0)) {
24895 SWIG_fail;
24896 }
24897 ecode1 = SWIG_AsVal_int(args(0), &val1);
24898 if (!SWIG_IsOK(ecode1)) {
24899 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plstripd" "', argument " "1"" of type '" "PLINT""'");
24900 }
24901 arg1 = static_cast< PLINT >(val1);
24902 plstripd(arg1);
24903 _outv = octave_value();
24904 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24905 return _out;
24906 fail:
24907 return octave_value_list();
24908 }
24909 catch(...) {
24910 throw;
24911 }
24912}
24913
24914
24916 PLINT arg1 ;
24917 PLINT *arg2 = 0 ;
24918 PLINT *arg3 = 0 ;
24919 Matrix temp1 ;
24920 Matrix temp3 ;
24921 octave_value_list _out;
24922 octave_value_list *_outp=&_out;
24923 octave_value _outv;
24924
24925 try {
24926 if (!SWIG_check_num_args("plstyl",args.length(),2,2,0)) {
24927 SWIG_fail;
24928 }
24929 {
24930 if ( _n_dims( args(0) ) > 1 )
24931 {
24932 error( "argument must be a scalar or vector" ); SWIG_fail;
24933 }
24934 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
24935 arg2 = new PLINT[Alen];
24936 temp1 = args(0).matrix_value();
24937 _cvt_double_to( arg2, &temp1( 0, 0 ), Alen );
24938 }
24939 {
24940 if ( _n_dims( args(1) ) > 1 )
24941 {
24942 error( "argument must be a scalar or vector" ); SWIG_fail;
24943 }
24944 if ( _dim( args(1), 0 ) != Alen )
24945 {
24946 error( "argument vectors must be same length" ); SWIG_fail;
24947 }
24948 temp3 = args(1).matrix_value();
24949 arg3 = new PLINT[Alen];
24950 _cvt_double_to( arg3, &temp3( 0, 0 ), Alen );
24951 }
24952 plstyl(arg1,(int const *)arg2,(int const *)arg3);
24953 _outv = octave_value();
24954 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
24955 {
24956 delete [] arg2;
24957 }
24958 {
24959 delete [] arg3;
24960 }
24961 return _out;
24962 fail:
24963 {
24964 delete [] arg2;
24965 }
24966 {
24967 delete [] arg3;
24968 }
24969 return octave_value_list();
24970 }
24971 catch(...) {
24972 {
24973 delete [] arg2;
24974 }
24975 {
24976 delete [] arg3;
24977 }
24978 throw;
24979 }
24980}
24981
24982
24984 PLFLT *arg1 = 0 ;
24985 PLFLT *arg2 = 0 ;
24986 PLINT arg3 ;
24987 PLBOOL arg4 ;
24988 Matrix temp1 ;
24989 Matrix temp2 ;
24990 int val4 ;
24991 int ecode4 = 0 ;
24992 octave_value_list _out;
24993 octave_value_list *_outp=&_out;
24994 octave_value _outv;
24995
24996 try {
24997 if (!SWIG_check_num_args("plsvect",args.length(),3,3,0)) {
24998 SWIG_fail;
24999 }
25000 {
25001 if ( _n_dims( args(0) ) > 1 )
25002 {
25003 error( "argument must be a scalar or vector" ); SWIG_fail;
25004 }
25005#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
25006 if ( !args(0).isempty() )
25007#else
25008 if ( !args(0).is_empty() )
25009#endif
25010 {
25011 Alen = (PLINT) ( _dim( args(0), 0 ) );
25012 temp1 = args(0).matrix_value();
25013 arg1 = &temp1( 0, 0 );
25014 }
25015 else
25016 {
25017 arg1 = NULL;
25018 Alen = 0;
25019 }
25020 }
25021 {
25022 if ( _n_dims( args(1) ) > 1 )
25023 {
25024 error( "argument must be a scalar or vector" ); SWIG_fail;
25025 }
25026#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
25027 if ( !args(1).isempty() )
25028#else
25029 if ( !args(1).is_empty() )
25030#endif
25031 {
25032 if ( _dim( args(1), 0 ) != Alen )
25033 {
25034 error( "argument vectors must be same length" ); SWIG_fail;
25035 }
25036 temp2 = args(1).matrix_value();
25037 arg2 = &temp2( 0, 0 );
25038 arg3 = (PLINT) ( _dim( args(1), 0 ) );
25039 }
25040 else
25041 {
25042 arg2 = NULL;
25043 arg3 = 0;
25044 }
25045 }
25046 ecode4 = SWIG_AsVal_int(args(2), &val4);
25047 if (!SWIG_IsOK(ecode4)) {
25048 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsvect" "', argument " "4"" of type '" "PLBOOL""'");
25049 }
25050 arg4 = static_cast< PLBOOL >(val4);
25051 plsvect((double const *)arg1,(double const *)arg2,arg3,arg4);
25052 _outv = octave_value();
25053 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25054 {
25055
25056 }
25057 {
25058
25059 }
25060 return _out;
25061 fail:
25062 {
25063
25064 }
25065 {
25066
25067 }
25068 return octave_value_list();
25069 }
25070 catch(...) {
25071 {
25072
25073 }
25074 {
25075
25076 }
25077 throw;
25078 }
25079}
25080
25081
25083 PLFLT arg1 ;
25084 PLFLT arg2 ;
25085 PLFLT arg3 ;
25086 PLFLT arg4 ;
25087 double val1 ;
25088 int ecode1 = 0 ;
25089 double val2 ;
25090 int ecode2 = 0 ;
25091 double val3 ;
25092 int ecode3 = 0 ;
25093 double val4 ;
25094 int ecode4 = 0 ;
25095 octave_value_list _out;
25096 octave_value_list *_outp=&_out;
25097 octave_value _outv;
25098
25099 try {
25100 if (!SWIG_check_num_args("plsvpa",args.length(),4,4,0)) {
25101 SWIG_fail;
25102 }
25103 ecode1 = SWIG_AsVal_double(args(0), &val1);
25104 if (!SWIG_IsOK(ecode1)) {
25105 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsvpa" "', argument " "1"" of type '" "PLFLT""'");
25106 }
25107 arg1 = static_cast< PLFLT >(val1);
25108 ecode2 = SWIG_AsVal_double(args(1), &val2);
25109 if (!SWIG_IsOK(ecode2)) {
25110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsvpa" "', argument " "2"" of type '" "PLFLT""'");
25111 }
25112 arg2 = static_cast< PLFLT >(val2);
25113 ecode3 = SWIG_AsVal_double(args(2), &val3);
25114 if (!SWIG_IsOK(ecode3)) {
25115 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plsvpa" "', argument " "3"" of type '" "PLFLT""'");
25116 }
25117 arg3 = static_cast< PLFLT >(val3);
25118 ecode4 = SWIG_AsVal_double(args(3), &val4);
25119 if (!SWIG_IsOK(ecode4)) {
25120 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsvpa" "', argument " "4"" of type '" "PLFLT""'");
25121 }
25122 arg4 = static_cast< PLFLT >(val4);
25123 plsvpa(arg1,arg2,arg3,arg4);
25124 _outv = octave_value();
25125 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25126 return _out;
25127 fail:
25128 return octave_value_list();
25129 }
25130 catch(...) {
25131 throw;
25132 }
25133}
25134
25135
25137 PLINT arg1 ;
25138 PLINT arg2 ;
25139 int val1 ;
25140 int ecode1 = 0 ;
25141 int val2 ;
25142 int ecode2 = 0 ;
25143 octave_value_list _out;
25144 octave_value_list *_outp=&_out;
25145 octave_value _outv;
25146
25147 try {
25148 if (!SWIG_check_num_args("plsxax",args.length(),2,2,0)) {
25149 SWIG_fail;
25150 }
25151 ecode1 = SWIG_AsVal_int(args(0), &val1);
25152 if (!SWIG_IsOK(ecode1)) {
25153 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsxax" "', argument " "1"" of type '" "PLINT""'");
25154 }
25155 arg1 = static_cast< PLINT >(val1);
25156 ecode2 = SWIG_AsVal_int(args(1), &val2);
25157 if (!SWIG_IsOK(ecode2)) {
25158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsxax" "', argument " "2"" of type '" "PLINT""'");
25159 }
25160 arg2 = static_cast< PLINT >(val2);
25161 plsxax(arg1,arg2);
25162 _outv = octave_value();
25163 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25164 return _out;
25165 fail:
25166 return octave_value_list();
25167 }
25168 catch(...) {
25169 throw;
25170 }
25171}
25172
25173
25175 PLINT arg1 ;
25176 PLINT arg2 ;
25177 int val1 ;
25178 int ecode1 = 0 ;
25179 int val2 ;
25180 int ecode2 = 0 ;
25181 octave_value_list _out;
25182 octave_value_list *_outp=&_out;
25183 octave_value _outv;
25184
25185 try {
25186 if (!SWIG_check_num_args("plsyax",args.length(),2,2,0)) {
25187 SWIG_fail;
25188 }
25189 ecode1 = SWIG_AsVal_int(args(0), &val1);
25190 if (!SWIG_IsOK(ecode1)) {
25191 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plsyax" "', argument " "1"" of type '" "PLINT""'");
25192 }
25193 arg1 = static_cast< PLINT >(val1);
25194 ecode2 = SWIG_AsVal_int(args(1), &val2);
25195 if (!SWIG_IsOK(ecode2)) {
25196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plsyax" "', argument " "2"" of type '" "PLINT""'");
25197 }
25198 arg2 = static_cast< PLINT >(val2);
25199 plsyax(arg1,arg2);
25200 _outv = octave_value();
25201 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25202 return _out;
25203 fail:
25204 return octave_value_list();
25205 }
25206 catch(...) {
25207 throw;
25208 }
25209}
25210
25211
25213 PLINT arg1 ;
25214 PLFLT *arg2 = 0 ;
25215 PLFLT *arg3 = 0 ;
25216 PLINT arg4 ;
25217 Matrix temp1 ;
25218 Matrix temp3 ;
25219 int val4 ;
25220 int ecode4 = 0 ;
25221 octave_value_list _out;
25222 octave_value_list *_outp=&_out;
25223 octave_value _outv;
25224
25225 try {
25226 if (!SWIG_check_num_args("plsym",args.length(),3,3,0)) {
25227 SWIG_fail;
25228 }
25229 {
25230 if ( _n_dims( args(0) ) > 1 )
25231 {
25232 error( "argument must be a scalar or vector" ); SWIG_fail;
25233 }
25234 arg1 = Alen = (PLINT) ( _dim( args(0), 0 ) );
25235 temp1 = args(0).matrix_value();
25236 arg2 = &temp1( 0, 0 );
25237 }
25238 {
25239 if ( _n_dims( args(1) ) > 1 )
25240 {
25241 error( "argument must be a scalar or vector" ); SWIG_fail;
25242 }
25243 if ( _dim( args(1), 0 ) != Alen )
25244 {
25245 error( "argument vectors must be same length" ); SWIG_fail;
25246 }
25247 temp3 = args(1).matrix_value();
25248 arg3 = &temp3( 0, 0 );
25249 }
25250 ecode4 = SWIG_AsVal_int(args(2), &val4);
25251 if (!SWIG_IsOK(ecode4)) {
25252 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plsym" "', argument " "4"" of type '" "PLINT""'");
25253 }
25254 arg4 = static_cast< PLINT >(val4);
25255 plsym(arg1,(double const *)arg2,(double const *)arg3,arg4);
25256 _outv = octave_value();
25257 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25258 {
25259
25260 }
25261 {
25262
25263 }
25264 return _out;
25265 fail:
25266 {
25267
25268 }
25269 {
25270
25271 }
25272 return octave_value_list();
25273 }
25274 catch(...) {
25275 {
25276
25277 }
25278 {
25279
25280 }
25281 throw;
25282 }
25283}
25284
25285
25287 PLINT arg1 ;
25288 PLINT arg2 ;
25289 int val1 ;
25290 int ecode1 = 0 ;
25291 int val2 ;
25292 int ecode2 = 0 ;
25293 octave_value_list _out;
25294 octave_value_list *_outp=&_out;
25295 octave_value _outv;
25296
25297 try {
25298 if (!SWIG_check_num_args("plszax",args.length(),2,2,0)) {
25299 SWIG_fail;
25300 }
25301 ecode1 = SWIG_AsVal_int(args(0), &val1);
25302 if (!SWIG_IsOK(ecode1)) {
25303 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plszax" "', argument " "1"" of type '" "PLINT""'");
25304 }
25305 arg1 = static_cast< PLINT >(val1);
25306 ecode2 = SWIG_AsVal_int(args(1), &val2);
25307 if (!SWIG_IsOK(ecode2)) {
25308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plszax" "', argument " "2"" of type '" "PLINT""'");
25309 }
25310 arg2 = static_cast< PLINT >(val2);
25311 plszax(arg1,arg2);
25312 _outv = octave_value();
25313 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25314 return _out;
25315 fail:
25316 return octave_value_list();
25317 }
25318 catch(...) {
25319 throw;
25320 }
25321}
25322
25323
25325 octave_value_list _out;
25326 octave_value_list *_outp=&_out;
25327 octave_value _outv;
25328
25329 try {
25330 if (!SWIG_check_num_args("pltext",args.length(),0,0,0)) {
25331 SWIG_fail;
25332 }
25333 pltext();
25334 _outv = octave_value();
25335 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25336 return _out;
25337 fail:
25338 return octave_value_list();
25339 }
25340 catch(...) {
25341 throw;
25342 }
25343}
25344
25345
25347 char *arg1 = 0 ;
25348 int res1 ;
25349 char *buf1 = 0 ;
25350 int alloc1 = 0 ;
25351 octave_value_list _out;
25352 octave_value_list *_outp=&_out;
25353 octave_value _outv;
25354
25355 try {
25356 if (!SWIG_check_num_args("pltimefmt",args.length(),1,1,0)) {
25357 SWIG_fail;
25358 }
25359 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
25360 if (!SWIG_IsOK(res1)) {
25361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pltimefmt" "', argument " "1"" of type '" "char const *""'");
25362 }
25363 arg1 = reinterpret_cast< char * >(buf1);
25364 pltimefmt((char const *)arg1);
25365 _outv = octave_value();
25366 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25367 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
25368 return _out;
25369 fail:
25370 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
25371 return octave_value_list();
25372 }
25373 catch(...) {
25374 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
25375 throw;
25376 }
25377}
25378
25379
25381 PLFLT arg1 ;
25382 double val1 ;
25383 int ecode1 = 0 ;
25384 octave_value_list _out;
25385 octave_value_list *_outp=&_out;
25386 octave_value _outv;
25387
25388 try {
25389 if (!SWIG_check_num_args("plvasp",args.length(),1,1,0)) {
25390 SWIG_fail;
25391 }
25392 ecode1 = SWIG_AsVal_double(args(0), &val1);
25393 if (!SWIG_IsOK(ecode1)) {
25394 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plvasp" "', argument " "1"" of type '" "PLFLT""'");
25395 }
25396 arg1 = static_cast< PLFLT >(val1);
25397 plvasp(arg1);
25398 _outv = octave_value();
25399 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25400 return _out;
25401 fail:
25402 return octave_value_list();
25403 }
25404 catch(...) {
25405 throw;
25406 }
25407}
25408
25409
25411 PLFLT arg1 ;
25412 PLFLT arg2 ;
25413 PLFLT arg3 ;
25414 PLFLT arg4 ;
25415 PLFLT arg5 ;
25416 double val1 ;
25417 int ecode1 = 0 ;
25418 double val2 ;
25419 int ecode2 = 0 ;
25420 double val3 ;
25421 int ecode3 = 0 ;
25422 double val4 ;
25423 int ecode4 = 0 ;
25424 double val5 ;
25425 int ecode5 = 0 ;
25426 octave_value_list _out;
25427 octave_value_list *_outp=&_out;
25428 octave_value _outv;
25429
25430 try {
25431 if (!SWIG_check_num_args("plvpas",args.length(),5,5,0)) {
25432 SWIG_fail;
25433 }
25434 ecode1 = SWIG_AsVal_double(args(0), &val1);
25435 if (!SWIG_IsOK(ecode1)) {
25436 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plvpas" "', argument " "1"" of type '" "PLFLT""'");
25437 }
25438 arg1 = static_cast< PLFLT >(val1);
25439 ecode2 = SWIG_AsVal_double(args(1), &val2);
25440 if (!SWIG_IsOK(ecode2)) {
25441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plvpas" "', argument " "2"" of type '" "PLFLT""'");
25442 }
25443 arg2 = static_cast< PLFLT >(val2);
25444 ecode3 = SWIG_AsVal_double(args(2), &val3);
25445 if (!SWIG_IsOK(ecode3)) {
25446 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plvpas" "', argument " "3"" of type '" "PLFLT""'");
25447 }
25448 arg3 = static_cast< PLFLT >(val3);
25449 ecode4 = SWIG_AsVal_double(args(3), &val4);
25450 if (!SWIG_IsOK(ecode4)) {
25451 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plvpas" "', argument " "4"" of type '" "PLFLT""'");
25452 }
25453 arg4 = static_cast< PLFLT >(val4);
25454 ecode5 = SWIG_AsVal_double(args(4), &val5);
25455 if (!SWIG_IsOK(ecode5)) {
25456 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plvpas" "', argument " "5"" of type '" "PLFLT""'");
25457 }
25458 arg5 = static_cast< PLFLT >(val5);
25459 plvpas(arg1,arg2,arg3,arg4,arg5);
25460 _outv = octave_value();
25461 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25462 return _out;
25463 fail:
25464 return octave_value_list();
25465 }
25466 catch(...) {
25467 throw;
25468 }
25469}
25470
25471
25473 PLFLT arg1 ;
25474 PLFLT arg2 ;
25475 PLFLT arg3 ;
25476 PLFLT arg4 ;
25477 double val1 ;
25478 int ecode1 = 0 ;
25479 double val2 ;
25480 int ecode2 = 0 ;
25481 double val3 ;
25482 int ecode3 = 0 ;
25483 double val4 ;
25484 int ecode4 = 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("plvpor",args.length(),4,4,0)) {
25491 SWIG_fail;
25492 }
25493 ecode1 = SWIG_AsVal_double(args(0), &val1);
25494 if (!SWIG_IsOK(ecode1)) {
25495 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plvpor" "', argument " "1"" of type '" "PLFLT""'");
25496 }
25497 arg1 = static_cast< PLFLT >(val1);
25498 ecode2 = SWIG_AsVal_double(args(1), &val2);
25499 if (!SWIG_IsOK(ecode2)) {
25500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plvpor" "', argument " "2"" of type '" "PLFLT""'");
25501 }
25502 arg2 = static_cast< PLFLT >(val2);
25503 ecode3 = SWIG_AsVal_double(args(2), &val3);
25504 if (!SWIG_IsOK(ecode3)) {
25505 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plvpor" "', argument " "3"" of type '" "PLFLT""'");
25506 }
25507 arg3 = static_cast< PLFLT >(val3);
25508 ecode4 = SWIG_AsVal_double(args(3), &val4);
25509 if (!SWIG_IsOK(ecode4)) {
25510 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plvpor" "', argument " "4"" of type '" "PLFLT""'");
25511 }
25512 arg4 = static_cast< PLFLT >(val4);
25513 plvpor(arg1,arg2,arg3,arg4);
25514 _outv = octave_value();
25515 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25516 return _out;
25517 fail:
25518 return octave_value_list();
25519 }
25520 catch(...) {
25521 throw;
25522 }
25523}
25524
25525
25527 octave_value_list _out;
25528 octave_value_list *_outp=&_out;
25529 octave_value _outv;
25530
25531 try {
25532 if (!SWIG_check_num_args("plvsta",args.length(),0,0,0)) {
25533 SWIG_fail;
25534 }
25535 plvsta();
25536 _outv = octave_value();
25537 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25538 return _out;
25539 fail:
25540 return octave_value_list();
25541 }
25542 catch(...) {
25543 throw;
25544 }
25545}
25546
25547
25549 PLFLT arg1 ;
25550 PLFLT arg2 ;
25551 PLFLT arg3 ;
25552 PLFLT arg4 ;
25553 PLFLT arg5 ;
25554 PLFLT arg6 ;
25555 PLFLT arg7 ;
25556 PLFLT arg8 ;
25557 PLFLT arg9 ;
25558 PLFLT arg10 ;
25559 PLFLT arg11 ;
25560 double val1 ;
25561 int ecode1 = 0 ;
25562 double val2 ;
25563 int ecode2 = 0 ;
25564 double val3 ;
25565 int ecode3 = 0 ;
25566 double val4 ;
25567 int ecode4 = 0 ;
25568 double val5 ;
25569 int ecode5 = 0 ;
25570 double val6 ;
25571 int ecode6 = 0 ;
25572 double val7 ;
25573 int ecode7 = 0 ;
25574 double val8 ;
25575 int ecode8 = 0 ;
25576 double val9 ;
25577 int ecode9 = 0 ;
25578 double val10 ;
25579 int ecode10 = 0 ;
25580 double val11 ;
25581 int ecode11 = 0 ;
25582 octave_value_list _out;
25583 octave_value_list *_outp=&_out;
25584 octave_value _outv;
25585
25586 try {
25587 if (!SWIG_check_num_args("plw3d",args.length(),11,11,0)) {
25588 SWIG_fail;
25589 }
25590 ecode1 = SWIG_AsVal_double(args(0), &val1);
25591 if (!SWIG_IsOK(ecode1)) {
25592 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plw3d" "', argument " "1"" of type '" "PLFLT""'");
25593 }
25594 arg1 = static_cast< PLFLT >(val1);
25595 ecode2 = SWIG_AsVal_double(args(1), &val2);
25596 if (!SWIG_IsOK(ecode2)) {
25597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plw3d" "', argument " "2"" of type '" "PLFLT""'");
25598 }
25599 arg2 = static_cast< PLFLT >(val2);
25600 ecode3 = SWIG_AsVal_double(args(2), &val3);
25601 if (!SWIG_IsOK(ecode3)) {
25602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plw3d" "', argument " "3"" of type '" "PLFLT""'");
25603 }
25604 arg3 = static_cast< PLFLT >(val3);
25605 ecode4 = SWIG_AsVal_double(args(3), &val4);
25606 if (!SWIG_IsOK(ecode4)) {
25607 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plw3d" "', argument " "4"" of type '" "PLFLT""'");
25608 }
25609 arg4 = static_cast< PLFLT >(val4);
25610 ecode5 = SWIG_AsVal_double(args(4), &val5);
25611 if (!SWIG_IsOK(ecode5)) {
25612 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plw3d" "', argument " "5"" of type '" "PLFLT""'");
25613 }
25614 arg5 = static_cast< PLFLT >(val5);
25615 ecode6 = SWIG_AsVal_double(args(5), &val6);
25616 if (!SWIG_IsOK(ecode6)) {
25617 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plw3d" "', argument " "6"" of type '" "PLFLT""'");
25618 }
25619 arg6 = static_cast< PLFLT >(val6);
25620 ecode7 = SWIG_AsVal_double(args(6), &val7);
25621 if (!SWIG_IsOK(ecode7)) {
25622 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plw3d" "', argument " "7"" of type '" "PLFLT""'");
25623 }
25624 arg7 = static_cast< PLFLT >(val7);
25625 ecode8 = SWIG_AsVal_double(args(7), &val8);
25626 if (!SWIG_IsOK(ecode8)) {
25627 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plw3d" "', argument " "8"" of type '" "PLFLT""'");
25628 }
25629 arg8 = static_cast< PLFLT >(val8);
25630 ecode9 = SWIG_AsVal_double(args(8), &val9);
25631 if (!SWIG_IsOK(ecode9)) {
25632 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plw3d" "', argument " "9"" of type '" "PLFLT""'");
25633 }
25634 arg9 = static_cast< PLFLT >(val9);
25635 ecode10 = SWIG_AsVal_double(args(9), &val10);
25636 if (!SWIG_IsOK(ecode10)) {
25637 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plw3d" "', argument " "10"" of type '" "PLFLT""'");
25638 }
25639 arg10 = static_cast< PLFLT >(val10);
25640 ecode11 = SWIG_AsVal_double(args(10), &val11);
25641 if (!SWIG_IsOK(ecode11)) {
25642 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plw3d" "', argument " "11"" of type '" "PLFLT""'");
25643 }
25644 arg11 = static_cast< PLFLT >(val11);
25645 plw3d(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
25646 _outv = octave_value();
25647 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25648 return _out;
25649 fail:
25650 return octave_value_list();
25651 }
25652 catch(...) {
25653 throw;
25654 }
25655}
25656
25657
25659 PLFLT arg1 ;
25660 double val1 ;
25661 int ecode1 = 0 ;
25662 octave_value_list _out;
25663 octave_value_list *_outp=&_out;
25664 octave_value _outv;
25665
25666 try {
25667 if (!SWIG_check_num_args("plwidth",args.length(),1,1,0)) {
25668 SWIG_fail;
25669 }
25670 ecode1 = SWIG_AsVal_double(args(0), &val1);
25671 if (!SWIG_IsOK(ecode1)) {
25672 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plwidth" "', argument " "1"" of type '" "PLFLT""'");
25673 }
25674 arg1 = static_cast< PLFLT >(val1);
25675 plwidth(arg1);
25676 _outv = octave_value();
25677 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25678 return _out;
25679 fail:
25680 return octave_value_list();
25681 }
25682 catch(...) {
25683 throw;
25684 }
25685}
25686
25687
25689 PLFLT arg1 ;
25690 PLFLT arg2 ;
25691 PLFLT arg3 ;
25692 PLFLT arg4 ;
25693 double val1 ;
25694 int ecode1 = 0 ;
25695 double val2 ;
25696 int ecode2 = 0 ;
25697 double val3 ;
25698 int ecode3 = 0 ;
25699 double val4 ;
25700 int ecode4 = 0 ;
25701 octave_value_list _out;
25702 octave_value_list *_outp=&_out;
25703 octave_value _outv;
25704
25705 try {
25706 if (!SWIG_check_num_args("plwind",args.length(),4,4,0)) {
25707 SWIG_fail;
25708 }
25709 ecode1 = SWIG_AsVal_double(args(0), &val1);
25710 if (!SWIG_IsOK(ecode1)) {
25711 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plwind" "', argument " "1"" of type '" "PLFLT""'");
25712 }
25713 arg1 = static_cast< PLFLT >(val1);
25714 ecode2 = SWIG_AsVal_double(args(1), &val2);
25715 if (!SWIG_IsOK(ecode2)) {
25716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plwind" "', argument " "2"" of type '" "PLFLT""'");
25717 }
25718 arg2 = static_cast< PLFLT >(val2);
25719 ecode3 = SWIG_AsVal_double(args(2), &val3);
25720 if (!SWIG_IsOK(ecode3)) {
25721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plwind" "', argument " "3"" of type '" "PLFLT""'");
25722 }
25723 arg3 = static_cast< PLFLT >(val3);
25724 ecode4 = SWIG_AsVal_double(args(3), &val4);
25725 if (!SWIG_IsOK(ecode4)) {
25726 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plwind" "', argument " "4"" of type '" "PLFLT""'");
25727 }
25728 arg4 = static_cast< PLFLT >(val4);
25729 plwind(arg1,arg2,arg3,arg4);
25730 _outv = octave_value();
25731 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25732 return _out;
25733 fail:
25734 return octave_value_list();
25735 }
25736 catch(...) {
25737 throw;
25738 }
25739}
25740
25741
25743 PLBOOL arg1 ;
25744 PLBOOL *arg2 = 0 ;
25745 int val1 ;
25746 int ecode1 = 0 ;
25747 PLBOOL temp2 ;
25748 int res2 = SWIG_TMPOBJ ;
25749 octave_value_list _out;
25750 octave_value_list *_outp=&_out;
25751 octave_value _outv;
25752
25753 try {
25754 arg2 = &temp2;
25755 if (!SWIG_check_num_args("plxormod",args.length(),1,1,0)) {
25756 SWIG_fail;
25757 }
25758 ecode1 = SWIG_AsVal_int(args(0), &val1);
25759 if (!SWIG_IsOK(ecode1)) {
25760 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "plxormod" "', argument " "1"" of type '" "PLBOOL""'");
25761 }
25762 arg1 = static_cast< PLBOOL >(val1);
25763 plxormod(arg1,arg2);
25764 _outv = octave_value();
25765 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25766 if (SWIG_IsTmpObj(res2)) {
25767 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_From_int((*arg2)));
25768 } else {
25769 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25770 _outp = SWIG_Octave_AppendOutput(_outp, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25771 }
25772 return _out;
25773 fail:
25774 return octave_value_list();
25775 }
25776 catch(...) {
25777 throw;
25778 }
25779}
25780
25781
25783 mapform_func arg1 = 0 ;
25784 char *arg2 = 0 ;
25785 PLFLT arg3 ;
25786 PLFLT arg4 ;
25787 PLFLT arg5 ;
25788 PLFLT arg6 ;
25789 int res2 ;
25790 char *buf2 = 0 ;
25791 int alloc2 = 0 ;
25792 double val3 ;
25793 int ecode3 = 0 ;
25794 double val4 ;
25795 int ecode4 = 0 ;
25796 double val5 ;
25797 int ecode5 = 0 ;
25798 double val6 ;
25799 int ecode6 = 0 ;
25800 octave_value_list _out;
25801 octave_value_list *_outp=&_out;
25802 octave_value _outv;
25803
25804 try {
25805 if (!SWIG_check_num_args("plmap",args.length(),6,6,0)) {
25806 SWIG_fail;
25807 }
25808 {
25809 octave_value obj = args(0);
25810#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
25811 if ( !obj.isempty() )
25812#else
25813 if ( !obj.is_empty() )
25814#endif
25815 {
25816 if ( obj.is_function_handle() || obj.is_inline_function() )
25817 {
25818 fcnMapForm = obj.function_value();
25819 }
25820 else if ( obj.is_string() )
25821 {
25822 nameMapForm = obj.string_value();
25823 fcnMapForm = NULL;
25824 }
25825 arg1 = mapform_octave;
25826 }
25827 else
25828 {
25829 arg1 = NULL;
25830 }
25831 }
25832 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
25833 if (!SWIG_IsOK(res2)) {
25834 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmap" "', argument " "2"" of type '" "char const *""'");
25835 }
25836 arg2 = reinterpret_cast< char * >(buf2);
25837 ecode3 = SWIG_AsVal_double(args(2), &val3);
25838 if (!SWIG_IsOK(ecode3)) {
25839 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmap" "', argument " "3"" of type '" "PLFLT""'");
25840 }
25841 arg3 = static_cast< PLFLT >(val3);
25842 ecode4 = SWIG_AsVal_double(args(3), &val4);
25843 if (!SWIG_IsOK(ecode4)) {
25844 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmap" "', argument " "4"" of type '" "PLFLT""'");
25845 }
25846 arg4 = static_cast< PLFLT >(val4);
25847 ecode5 = SWIG_AsVal_double(args(4), &val5);
25848 if (!SWIG_IsOK(ecode5)) {
25849 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmap" "', argument " "5"" of type '" "PLFLT""'");
25850 }
25851 arg5 = static_cast< PLFLT >(val5);
25852 ecode6 = SWIG_AsVal_double(args(5), &val6);
25853 if (!SWIG_IsOK(ecode6)) {
25854 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmap" "', argument " "6"" of type '" "PLFLT""'");
25855 }
25856 arg6 = static_cast< PLFLT >(val6);
25857 plmap(arg1,(char const *)arg2,arg3,arg4,arg5,arg6);
25858 _outv = octave_value();
25859 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25860 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
25861 return _out;
25862 fail:
25863 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
25864 return octave_value_list();
25865 }
25866 catch(...) {
25867 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
25868 throw;
25869 }
25870}
25871
25872
25874 mapform_func arg1 = 0 ;
25875 char *arg2 = 0 ;
25876 PLFLT arg3 ;
25877 PLFLT arg4 ;
25878 PLFLT arg5 ;
25879 PLFLT arg6 ;
25880 PLINT *arg7 = 0 ;
25881 PLINT arg8 ;
25882 int res2 ;
25883 char *buf2 = 0 ;
25884 int alloc2 = 0 ;
25885 double val3 ;
25886 int ecode3 = 0 ;
25887 double val4 ;
25888 int ecode4 = 0 ;
25889 double val5 ;
25890 int ecode5 = 0 ;
25891 double val6 ;
25892 int ecode6 = 0 ;
25893 Matrix temp7 ;
25894 octave_value_list _out;
25895 octave_value_list *_outp=&_out;
25896 octave_value _outv;
25897
25898 try {
25899 if (!SWIG_check_num_args("plmapline",args.length(),7,7,0)) {
25900 SWIG_fail;
25901 }
25902 {
25903 octave_value obj = args(0);
25904#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
25905 if ( !obj.isempty() )
25906#else
25907 if ( !obj.is_empty() )
25908#endif
25909 {
25910 if ( obj.is_function_handle() || obj.is_inline_function() )
25911 {
25912 fcnMapForm = obj.function_value();
25913 }
25914 else if ( obj.is_string() )
25915 {
25916 nameMapForm = obj.string_value();
25917 fcnMapForm = NULL;
25918 }
25919 arg1 = mapform_octave;
25920 }
25921 else
25922 {
25923 arg1 = NULL;
25924 }
25925 }
25926 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
25927 if (!SWIG_IsOK(res2)) {
25928 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmapline" "', argument " "2"" of type '" "char const *""'");
25929 }
25930 arg2 = reinterpret_cast< char * >(buf2);
25931 ecode3 = SWIG_AsVal_double(args(2), &val3);
25932 if (!SWIG_IsOK(ecode3)) {
25933 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmapline" "', argument " "3"" of type '" "PLFLT""'");
25934 }
25935 arg3 = static_cast< PLFLT >(val3);
25936 ecode4 = SWIG_AsVal_double(args(3), &val4);
25937 if (!SWIG_IsOK(ecode4)) {
25938 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmapline" "', argument " "4"" of type '" "PLFLT""'");
25939 }
25940 arg4 = static_cast< PLFLT >(val4);
25941 ecode5 = SWIG_AsVal_double(args(4), &val5);
25942 if (!SWIG_IsOK(ecode5)) {
25943 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmapline" "', argument " "5"" of type '" "PLFLT""'");
25944 }
25945 arg5 = static_cast< PLFLT >(val5);
25946 ecode6 = SWIG_AsVal_double(args(5), &val6);
25947 if (!SWIG_IsOK(ecode6)) {
25948 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmapline" "', argument " "6"" of type '" "PLFLT""'");
25949 }
25950 arg6 = static_cast< PLFLT >(val6);
25951 {
25952 if ( _n_dims( args(6) ) > 1 )
25953 {
25954 error( "argument must be a scalar or vector" ); SWIG_fail;
25955 }
25956#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
25957 if ( !args(6).isempty() )
25958#else
25959 if ( !args(6).is_empty() )
25960#endif
25961 {
25962 arg8 = (PLINT) ( _dim( args(6), 0 ) );
25963 temp7 = args(6).matrix_value();
25964 arg7 = new PLINT[arg8];
25965 _cvt_double_to( arg7, &temp7( 0, 0 ), arg8 );
25966 }
25967 else
25968 {
25969 arg7 = NULL;
25970 arg8 = 0;
25971 }
25972 }
25973 plmapline(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,(int const *)arg7,arg8);
25974 _outv = octave_value();
25975 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
25976 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
25977 {
25978 delete [] arg7;
25979 }
25980 return _out;
25981 fail:
25982 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
25983 {
25984 delete [] arg7;
25985 }
25986 return octave_value_list();
25987 }
25988 catch(...) {
25989 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
25990 {
25991 delete [] arg7;
25992 }
25993 throw;
25994 }
25995}
25996
25997
25999 mapform_func arg1 = 0 ;
26000 char *arg2 = 0 ;
26001 char *arg3 = 0 ;
26002 PLFLT arg4 ;
26003 PLFLT arg5 ;
26004 PLFLT arg6 ;
26005 PLFLT arg7 ;
26006 PLINT *arg8 = 0 ;
26007 PLINT arg9 ;
26008 int res2 ;
26009 char *buf2 = 0 ;
26010 int alloc2 = 0 ;
26011 int res3 ;
26012 char *buf3 = 0 ;
26013 int alloc3 = 0 ;
26014 double val4 ;
26015 int ecode4 = 0 ;
26016 double val5 ;
26017 int ecode5 = 0 ;
26018 double val6 ;
26019 int ecode6 = 0 ;
26020 double val7 ;
26021 int ecode7 = 0 ;
26022 Matrix temp8 ;
26023 octave_value_list _out;
26024 octave_value_list *_outp=&_out;
26025 octave_value _outv;
26026
26027 try {
26028 if (!SWIG_check_num_args("plmapstring",args.length(),8,8,0)) {
26029 SWIG_fail;
26030 }
26031 {
26032 octave_value obj = args(0);
26033#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
26034 if ( !obj.isempty() )
26035#else
26036 if ( !obj.is_empty() )
26037#endif
26038 {
26039 if ( obj.is_function_handle() || obj.is_inline_function() )
26040 {
26041 fcnMapForm = obj.function_value();
26042 }
26043 else if ( obj.is_string() )
26044 {
26045 nameMapForm = obj.string_value();
26046 fcnMapForm = NULL;
26047 }
26048 arg1 = mapform_octave;
26049 }
26050 else
26051 {
26052 arg1 = NULL;
26053 }
26054 }
26055 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
26056 if (!SWIG_IsOK(res2)) {
26057 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmapstring" "', argument " "2"" of type '" "char const *""'");
26058 }
26059 arg2 = reinterpret_cast< char * >(buf2);
26060 res3 = SWIG_AsCharPtrAndSize(args(2), &buf3, NULL, &alloc3);
26061 if (!SWIG_IsOK(res3)) {
26062 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "plmapstring" "', argument " "3"" of type '" "char const *""'");
26063 }
26064 arg3 = reinterpret_cast< char * >(buf3);
26065 ecode4 = SWIG_AsVal_double(args(3), &val4);
26066 if (!SWIG_IsOK(ecode4)) {
26067 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmapstring" "', argument " "4"" of type '" "PLFLT""'");
26068 }
26069 arg4 = static_cast< PLFLT >(val4);
26070 ecode5 = SWIG_AsVal_double(args(4), &val5);
26071 if (!SWIG_IsOK(ecode5)) {
26072 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmapstring" "', argument " "5"" of type '" "PLFLT""'");
26073 }
26074 arg5 = static_cast< PLFLT >(val5);
26075 ecode6 = SWIG_AsVal_double(args(5), &val6);
26076 if (!SWIG_IsOK(ecode6)) {
26077 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmapstring" "', argument " "6"" of type '" "PLFLT""'");
26078 }
26079 arg6 = static_cast< PLFLT >(val6);
26080 ecode7 = SWIG_AsVal_double(args(6), &val7);
26081 if (!SWIG_IsOK(ecode7)) {
26082 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plmapstring" "', argument " "7"" of type '" "PLFLT""'");
26083 }
26084 arg7 = static_cast< PLFLT >(val7);
26085 {
26086 if ( _n_dims( args(7) ) > 1 )
26087 {
26088 error( "argument must be a scalar or vector" ); SWIG_fail;
26089 }
26090#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
26091 if ( !args(7).isempty() )
26092#else
26093 if ( !args(7).is_empty() )
26094#endif
26095 {
26096 arg9 = (PLINT) ( _dim( args(7), 0 ) );
26097 temp8 = args(7).matrix_value();
26098 arg8 = new PLINT[arg9];
26099 _cvt_double_to( arg8, &temp8( 0, 0 ), arg9 );
26100 }
26101 else
26102 {
26103 arg8 = NULL;
26104 arg9 = 0;
26105 }
26106 }
26107 plmapstring(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,(int const *)arg8,arg9);
26108 _outv = octave_value();
26109 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26110 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26111 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
26112 {
26113 delete [] arg8;
26114 }
26115 return _out;
26116 fail:
26117 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26118 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
26119 {
26120 delete [] arg8;
26121 }
26122 return octave_value_list();
26123 }
26124 catch(...) {
26125 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26126 if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
26127 {
26128 delete [] arg8;
26129 }
26130 throw;
26131 }
26132}
26133
26134
26136 mapform_func arg1 = 0 ;
26137 char *arg2 = 0 ;
26138 PLFLT arg3 ;
26139 PLFLT arg4 ;
26140 PLFLT arg5 ;
26141 char *arg6 = 0 ;
26142 PLFLT arg7 ;
26143 PLFLT arg8 ;
26144 PLFLT arg9 ;
26145 PLFLT arg10 ;
26146 PLINT arg11 ;
26147 int res2 ;
26148 char *buf2 = 0 ;
26149 int alloc2 = 0 ;
26150 double val3 ;
26151 int ecode3 = 0 ;
26152 double val4 ;
26153 int ecode4 = 0 ;
26154 double val5 ;
26155 int ecode5 = 0 ;
26156 int res6 ;
26157 char *buf6 = 0 ;
26158 int alloc6 = 0 ;
26159 double val7 ;
26160 int ecode7 = 0 ;
26161 double val8 ;
26162 int ecode8 = 0 ;
26163 double val9 ;
26164 int ecode9 = 0 ;
26165 double val10 ;
26166 int ecode10 = 0 ;
26167 int val11 ;
26168 int ecode11 = 0 ;
26169 octave_value_list _out;
26170 octave_value_list *_outp=&_out;
26171 octave_value _outv;
26172
26173 try {
26174 if (!SWIG_check_num_args("plmaptex",args.length(),11,11,0)) {
26175 SWIG_fail;
26176 }
26177 {
26178 octave_value obj = args(0);
26179#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
26180 if ( !obj.isempty() )
26181#else
26182 if ( !obj.is_empty() )
26183#endif
26184 {
26185 if ( obj.is_function_handle() || obj.is_inline_function() )
26186 {
26187 fcnMapForm = obj.function_value();
26188 }
26189 else if ( obj.is_string() )
26190 {
26191 nameMapForm = obj.string_value();
26192 fcnMapForm = NULL;
26193 }
26194 arg1 = mapform_octave;
26195 }
26196 else
26197 {
26198 arg1 = NULL;
26199 }
26200 }
26201 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
26202 if (!SWIG_IsOK(res2)) {
26203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmaptex" "', argument " "2"" of type '" "char const *""'");
26204 }
26205 arg2 = reinterpret_cast< char * >(buf2);
26206 ecode3 = SWIG_AsVal_double(args(2), &val3);
26207 if (!SWIG_IsOK(ecode3)) {
26208 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmaptex" "', argument " "3"" of type '" "PLFLT""'");
26209 }
26210 arg3 = static_cast< PLFLT >(val3);
26211 ecode4 = SWIG_AsVal_double(args(3), &val4);
26212 if (!SWIG_IsOK(ecode4)) {
26213 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmaptex" "', argument " "4"" of type '" "PLFLT""'");
26214 }
26215 arg4 = static_cast< PLFLT >(val4);
26216 ecode5 = SWIG_AsVal_double(args(4), &val5);
26217 if (!SWIG_IsOK(ecode5)) {
26218 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmaptex" "', argument " "5"" of type '" "PLFLT""'");
26219 }
26220 arg5 = static_cast< PLFLT >(val5);
26221 res6 = SWIG_AsCharPtrAndSize(args(5), &buf6, NULL, &alloc6);
26222 if (!SWIG_IsOK(res6)) {
26223 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "plmaptex" "', argument " "6"" of type '" "char const *""'");
26224 }
26225 arg6 = reinterpret_cast< char * >(buf6);
26226 ecode7 = SWIG_AsVal_double(args(6), &val7);
26227 if (!SWIG_IsOK(ecode7)) {
26228 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plmaptex" "', argument " "7"" of type '" "PLFLT""'");
26229 }
26230 arg7 = static_cast< PLFLT >(val7);
26231 ecode8 = SWIG_AsVal_double(args(7), &val8);
26232 if (!SWIG_IsOK(ecode8)) {
26233 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "plmaptex" "', argument " "8"" of type '" "PLFLT""'");
26234 }
26235 arg8 = static_cast< PLFLT >(val8);
26236 ecode9 = SWIG_AsVal_double(args(8), &val9);
26237 if (!SWIG_IsOK(ecode9)) {
26238 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "plmaptex" "', argument " "9"" of type '" "PLFLT""'");
26239 }
26240 arg9 = static_cast< PLFLT >(val9);
26241 ecode10 = SWIG_AsVal_double(args(9), &val10);
26242 if (!SWIG_IsOK(ecode10)) {
26243 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "plmaptex" "', argument " "10"" of type '" "PLFLT""'");
26244 }
26245 arg10 = static_cast< PLFLT >(val10);
26246 ecode11 = SWIG_AsVal_int(args(10), &val11);
26247 if (!SWIG_IsOK(ecode11)) {
26248 SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "plmaptex" "', argument " "11"" of type '" "PLINT""'");
26249 }
26250 arg11 = static_cast< PLINT >(val11);
26251 plmaptex(arg1,(char const *)arg2,arg3,arg4,arg5,(char const *)arg6,arg7,arg8,arg9,arg10,arg11);
26252 _outv = octave_value();
26253 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26254 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26255 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
26256 return _out;
26257 fail:
26258 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26259 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
26260 return octave_value_list();
26261 }
26262 catch(...) {
26263 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26264 if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
26265 throw;
26266 }
26267}
26268
26269
26271 mapform_func arg1 = 0 ;
26272 char *arg2 = 0 ;
26273 PLFLT arg3 ;
26274 PLFLT arg4 ;
26275 PLFLT arg5 ;
26276 PLFLT arg6 ;
26277 PLINT *arg7 = 0 ;
26278 PLINT arg8 ;
26279 int res2 ;
26280 char *buf2 = 0 ;
26281 int alloc2 = 0 ;
26282 double val3 ;
26283 int ecode3 = 0 ;
26284 double val4 ;
26285 int ecode4 = 0 ;
26286 double val5 ;
26287 int ecode5 = 0 ;
26288 double val6 ;
26289 int ecode6 = 0 ;
26290 Matrix temp7 ;
26291 octave_value_list _out;
26292 octave_value_list *_outp=&_out;
26293 octave_value _outv;
26294
26295 try {
26296 if (!SWIG_check_num_args("plmapfill",args.length(),7,7,0)) {
26297 SWIG_fail;
26298 }
26299 {
26300 octave_value obj = args(0);
26301#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
26302 if ( !obj.isempty() )
26303#else
26304 if ( !obj.is_empty() )
26305#endif
26306 {
26307 if ( obj.is_function_handle() || obj.is_inline_function() )
26308 {
26309 fcnMapForm = obj.function_value();
26310 }
26311 else if ( obj.is_string() )
26312 {
26313 nameMapForm = obj.string_value();
26314 fcnMapForm = NULL;
26315 }
26316 arg1 = mapform_octave;
26317 }
26318 else
26319 {
26320 arg1 = NULL;
26321 }
26322 }
26323 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
26324 if (!SWIG_IsOK(res2)) {
26325 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plmapfill" "', argument " "2"" of type '" "char const *""'");
26326 }
26327 arg2 = reinterpret_cast< char * >(buf2);
26328 ecode3 = SWIG_AsVal_double(args(2), &val3);
26329 if (!SWIG_IsOK(ecode3)) {
26330 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmapfill" "', argument " "3"" of type '" "PLFLT""'");
26331 }
26332 arg3 = static_cast< PLFLT >(val3);
26333 ecode4 = SWIG_AsVal_double(args(3), &val4);
26334 if (!SWIG_IsOK(ecode4)) {
26335 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmapfill" "', argument " "4"" of type '" "PLFLT""'");
26336 }
26337 arg4 = static_cast< PLFLT >(val4);
26338 ecode5 = SWIG_AsVal_double(args(4), &val5);
26339 if (!SWIG_IsOK(ecode5)) {
26340 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmapfill" "', argument " "5"" of type '" "PLFLT""'");
26341 }
26342 arg5 = static_cast< PLFLT >(val5);
26343 ecode6 = SWIG_AsVal_double(args(5), &val6);
26344 if (!SWIG_IsOK(ecode6)) {
26345 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmapfill" "', argument " "6"" of type '" "PLFLT""'");
26346 }
26347 arg6 = static_cast< PLFLT >(val6);
26348 {
26349 if ( _n_dims( args(6) ) > 1 )
26350 {
26351 error( "argument must be a scalar or vector" ); SWIG_fail;
26352 }
26353#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
26354 if ( !args(6).isempty() )
26355#else
26356 if ( !args(6).is_empty() )
26357#endif
26358 {
26359 arg8 = (PLINT) ( _dim( args(6), 0 ) );
26360 temp7 = args(6).matrix_value();
26361 arg7 = new PLINT[arg8];
26362 _cvt_double_to( arg7, &temp7( 0, 0 ), arg8 );
26363 }
26364 else
26365 {
26366 arg7 = NULL;
26367 arg8 = 0;
26368 }
26369 }
26370 plmapfill(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,(int const *)arg7,arg8);
26371 _outv = octave_value();
26372 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26373 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26374 {
26375 delete [] arg7;
26376 }
26377 return _out;
26378 fail:
26379 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26380 {
26381 delete [] arg7;
26382 }
26383 return octave_value_list();
26384 }
26385 catch(...) {
26386 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26387 {
26388 delete [] arg7;
26389 }
26390 throw;
26391 }
26392}
26393
26394
26396 mapform_func arg1 = 0 ;
26397 PLFLT arg2 ;
26398 PLFLT arg3 ;
26399 PLFLT arg4 ;
26400 PLFLT arg5 ;
26401 PLFLT arg6 ;
26402 PLFLT arg7 ;
26403 double val2 ;
26404 int ecode2 = 0 ;
26405 double val3 ;
26406 int ecode3 = 0 ;
26407 double val4 ;
26408 int ecode4 = 0 ;
26409 double val5 ;
26410 int ecode5 = 0 ;
26411 double val6 ;
26412 int ecode6 = 0 ;
26413 double val7 ;
26414 int ecode7 = 0 ;
26415 octave_value_list _out;
26416 octave_value_list *_outp=&_out;
26417 octave_value _outv;
26418
26419 try {
26420 if (!SWIG_check_num_args("plmeridians",args.length(),7,7,0)) {
26421 SWIG_fail;
26422 }
26423 {
26424 octave_value obj = args(0);
26425#if SWIG_OCTAVE_PREREQ( 4, 4, 0 )
26426 if ( !obj.isempty() )
26427#else
26428 if ( !obj.is_empty() )
26429#endif
26430 {
26431 if ( obj.is_function_handle() || obj.is_inline_function() )
26432 {
26433 fcnMapForm = obj.function_value();
26434 }
26435 else if ( obj.is_string() )
26436 {
26437 nameMapForm = obj.string_value();
26438 fcnMapForm = NULL;
26439 }
26440 arg1 = mapform_octave;
26441 }
26442 else
26443 {
26444 arg1 = NULL;
26445 }
26446 }
26447 ecode2 = SWIG_AsVal_double(args(1), &val2);
26448 if (!SWIG_IsOK(ecode2)) {
26449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "plmeridians" "', argument " "2"" of type '" "PLFLT""'");
26450 }
26451 arg2 = static_cast< PLFLT >(val2);
26452 ecode3 = SWIG_AsVal_double(args(2), &val3);
26453 if (!SWIG_IsOK(ecode3)) {
26454 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "plmeridians" "', argument " "3"" of type '" "PLFLT""'");
26455 }
26456 arg3 = static_cast< PLFLT >(val3);
26457 ecode4 = SWIG_AsVal_double(args(3), &val4);
26458 if (!SWIG_IsOK(ecode4)) {
26459 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "plmeridians" "', argument " "4"" of type '" "PLFLT""'");
26460 }
26461 arg4 = static_cast< PLFLT >(val4);
26462 ecode5 = SWIG_AsVal_double(args(4), &val5);
26463 if (!SWIG_IsOK(ecode5)) {
26464 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "plmeridians" "', argument " "5"" of type '" "PLFLT""'");
26465 }
26466 arg5 = static_cast< PLFLT >(val5);
26467 ecode6 = SWIG_AsVal_double(args(5), &val6);
26468 if (!SWIG_IsOK(ecode6)) {
26469 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "plmeridians" "', argument " "6"" of type '" "PLFLT""'");
26470 }
26471 arg6 = static_cast< PLFLT >(val6);
26472 ecode7 = SWIG_AsVal_double(args(6), &val7);
26473 if (!SWIG_IsOK(ecode7)) {
26474 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "plmeridians" "', argument " "7"" of type '" "PLFLT""'");
26475 }
26476 arg7 = static_cast< PLFLT >(val7);
26477 plmeridians(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
26478 _outv = octave_value();
26479 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26480 return _out;
26481 fail:
26482 return octave_value_list();
26483 }
26484 catch(...) {
26485 throw;
26486 }
26487}
26488
26489
26491 octave_value_list _out;
26492 octave_value_list *_outp=&_out;
26493 octave_value _outv;
26494
26495 try {
26496 if (!SWIG_check_num_args("plClearOpts",args.length(),0,0,0)) {
26497 SWIG_fail;
26498 }
26499 plClearOpts();
26500 _outv = octave_value();
26501 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26502 return _out;
26503 fail:
26504 return octave_value_list();
26505 }
26506 catch(...) {
26507 throw;
26508 }
26509}
26510
26511
26513 octave_value_list _out;
26514 octave_value_list *_outp=&_out;
26515 octave_value _outv;
26516
26517 try {
26518 if (!SWIG_check_num_args("plResetOpts",args.length(),0,0,0)) {
26519 SWIG_fail;
26520 }
26521 plResetOpts();
26522 _outv = octave_value();
26523 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26524 return _out;
26525 fail:
26526 return octave_value_list();
26527 }
26528 catch(...) {
26529 throw;
26530 }
26531}
26532
26533
26535 char *arg1 = 0 ;
26536 char *arg2 = 0 ;
26537 int res1 ;
26538 char *buf1 = 0 ;
26539 int alloc1 = 0 ;
26540 int res2 ;
26541 char *buf2 = 0 ;
26542 int alloc2 = 0 ;
26543 octave_value_list _out;
26544 octave_value_list *_outp=&_out;
26545 octave_value _outv;
26546
26547 try {
26548 if (!SWIG_check_num_args("plSetUsage",args.length(),2,2,0)) {
26549 SWIG_fail;
26550 }
26551 res1 = SWIG_AsCharPtrAndSize(args(0), &buf1, NULL, &alloc1);
26552 if (!SWIG_IsOK(res1)) {
26553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "plSetUsage" "', argument " "1"" of type '" "char const *""'");
26554 }
26555 arg1 = reinterpret_cast< char * >(buf1);
26556 res2 = SWIG_AsCharPtrAndSize(args(1), &buf2, NULL, &alloc2);
26557 if (!SWIG_IsOK(res2)) {
26558 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "plSetUsage" "', argument " "2"" of type '" "char const *""'");
26559 }
26560 arg2 = reinterpret_cast< char * >(buf2);
26561 plSetUsage((char const *)arg1,(char const *)arg2);
26562 _outv = octave_value();
26563 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26564 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
26565 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26566 return _out;
26567 fail:
26568 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
26569 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26570 return octave_value_list();
26571 }
26572 catch(...) {
26573 if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
26574 if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
26575 throw;
26576 }
26577}
26578
26579
26581 octave_value_list _out;
26582 octave_value_list *_outp=&_out;
26583 octave_value _outv;
26584
26585 try {
26586 if (!SWIG_check_num_args("plOptUsage",args.length(),0,0,0)) {
26587 SWIG_fail;
26588 }
26589 plOptUsage();
26590 _outv = octave_value();
26591 if (_outv.is_defined()) _outp = SWIG_Octave_AppendOutput(_outp, _outv);
26592 return _out;
26593 fail:
26594 return octave_value_list();
26595 }
26596 catch(...) {
26597 throw;
26598 }
26599}
26600
26601
26602
26603static const struct swig_octave_member swig_globals[] = {
26604{"testppchar",_wrap_testppchar,0,0,2,0},
26605{"plGetCursor",_wrap_plGetCursor,0,0,2,_wrap_plGetCursor_texinfo},
26606{"plTranslateCursor",_wrap_plTranslateCursor,0,0,2,0},
26607{"plstripc",_wrap_plstripc,0,0,2,_wrap_plstripc_texinfo},
26608{"plcont",_wrap_plcont,0,0,2,_wrap_plcont_texinfo},
26609{"plcont0",_wrap_plcont0,0,0,2,0},
26610{"plcont1",_wrap_plcont1,0,0,2,0},
26611{"plcont2",_wrap_plcont2,0,0,2,0},
26612{"plcont2p",_wrap_plcont2p,0,0,2,0},
26613{"plgriddata",_wrap_plgriddata,0,0,2,_wrap_plgriddata_texinfo},
26614{"plmesh",_wrap_plmesh,0,0,2,_wrap_plmesh_texinfo},
26615{"plmeshc",_wrap_plmeshc,0,0,2,_wrap_plmeshc_texinfo},
26616{"plot3d",_wrap_plot3d,0,0,2,_wrap_plot3d_texinfo},
26617{"plot3dc",_wrap_plot3dc,0,0,2,_wrap_plot3dc_texinfo},
26618{"plot3dcl",_wrap_plot3dcl,0,0,2,_wrap_plot3dcl_texinfo},
26619{"plsurf3d",_wrap_plsurf3d,0,0,2,_wrap_plsurf3d_texinfo},
26620{"plsurf3dl",_wrap_plsurf3dl,0,0,2,_wrap_plsurf3dl_texinfo},
26621{"plshade",_wrap_plshade,0,0,2,_wrap_plshade_texinfo},
26622{"plshade1",_wrap_plshade1,0,0,2,0},
26623{"plshade2",_wrap_plshade2,0,0,2,0},
26624{"plshades",_wrap_plshades,0,0,2,_wrap_plshades_texinfo},
26625{"plshadesx",_wrap_plshadesx,0,0,2,0},
26626{"plshades1",_wrap_plshades1,0,0,2,0},
26627{"plshades2",_wrap_plshades2,0,0,2,0},
26628{"plvect",_wrap_plvect,0,0,2,_wrap_plvect_texinfo},
26629{"plvect1",_wrap_plvect1,0,0,2,0},
26630{"plvect2",_wrap_plvect2,0,0,2,0},
26631{"pplimage",_wrap_pplimage,0,0,2,0},
26632{"plimagefr",_wrap_plimagefr,0,0,2,_wrap_plimagefr_texinfo},
26633{"plimagefrx",_wrap_plimagefrx,0,0,2,0},
26634{"plimagefr1",_wrap_plimagefr1,0,0,2,0},
26635{"plimagefr2",_wrap_plimagefr2,0,0,2,0},
26636{"plcolorbar",_wrap_plcolorbar,0,0,2,_wrap_plcolorbar_texinfo},
26637{"PLGraphicsIn_type_set",_wrap_PLGraphicsIn_type_set,0,0,2,0},
26638{"PLGraphicsIn_type_get",_wrap_PLGraphicsIn_type_get,0,0,2,0},
26639{"PLGraphicsIn_state_set",_wrap_PLGraphicsIn_state_set,0,0,2,0},
26640{"PLGraphicsIn_state_get",_wrap_PLGraphicsIn_state_get,0,0,2,0},
26641{"PLGraphicsIn_keysym_set",_wrap_PLGraphicsIn_keysym_set,0,0,2,0},
26642{"PLGraphicsIn_keysym_get",_wrap_PLGraphicsIn_keysym_get,0,0,2,0},
26643{"PLGraphicsIn_button_set",_wrap_PLGraphicsIn_button_set,0,0,2,0},
26644{"PLGraphicsIn_button_get",_wrap_PLGraphicsIn_button_get,0,0,2,0},
26645{"PLGraphicsIn_subwindow_set",_wrap_PLGraphicsIn_subwindow_set,0,0,2,0},
26646{"PLGraphicsIn_subwindow_get",_wrap_PLGraphicsIn_subwindow_get,0,0,2,0},
26647{"PLGraphicsIn_string_set",_wrap_PLGraphicsIn_string_set,0,0,2,0},
26648{"PLGraphicsIn_string_get",_wrap_PLGraphicsIn_string_get,0,0,2,0},
26649{"PLGraphicsIn_pX_set",_wrap_PLGraphicsIn_pX_set,0,0,2,0},
26650{"PLGraphicsIn_pX_get",_wrap_PLGraphicsIn_pX_get,0,0,2,0},
26651{"PLGraphicsIn_pY_set",_wrap_PLGraphicsIn_pY_set,0,0,2,0},
26652{"PLGraphicsIn_pY_get",_wrap_PLGraphicsIn_pY_get,0,0,2,0},
26653{"PLGraphicsIn_dX_set",_wrap_PLGraphicsIn_dX_set,0,0,2,0},
26654{"PLGraphicsIn_dX_get",_wrap_PLGraphicsIn_dX_get,0,0,2,0},
26655{"PLGraphicsIn_dY_set",_wrap_PLGraphicsIn_dY_set,0,0,2,0},
26656{"PLGraphicsIn_dY_get",_wrap_PLGraphicsIn_dY_get,0,0,2,0},
26657{"PLGraphicsIn_wX_set",_wrap_PLGraphicsIn_wX_set,0,0,2,0},
26658{"PLGraphicsIn_wX_get",_wrap_PLGraphicsIn_wX_get,0,0,2,0},
26659{"PLGraphicsIn_wY_set",_wrap_PLGraphicsIn_wY_set,0,0,2,0},
26660{"PLGraphicsIn_wY_get",_wrap_PLGraphicsIn_wY_get,0,0,2,0},
26661{"new_PLGraphicsIn",_wrap_new_PLGraphicsIn,0,0,2,0},
26662{"delete_PLGraphicsIn",_wrap_delete_PLGraphicsIn,0,0,2,0},
26665{"pladv",_wrap_pladv,0,0,2,_wrap_pladv_texinfo},
26666{"plarc",_wrap_plarc,0,0,2,_wrap_plarc_texinfo},
26667{"plaxes",_wrap_plaxes,0,0,2,_wrap_plaxes_texinfo},
26668{"plbin",_wrap_plbin,0,0,2,_wrap_plbin_texinfo},
26669{"plbtime",_wrap_plbtime,0,0,2,_wrap_plbtime_texinfo},
26670{"plbop",_wrap_plbop,0,0,2,_wrap_plbop_texinfo},
26671{"plbox",_wrap_plbox,0,0,2,_wrap_plbox_texinfo},
26672{"plbox3",_wrap_plbox3,0,0,2,_wrap_plbox3_texinfo},
26673{"plcalc_world",_wrap_plcalc_world,0,0,2,_wrap_plcalc_world_texinfo},
26674{"plclear",_wrap_plclear,0,0,2,_wrap_plclear_texinfo},
26675{"plcol0",_wrap_plcol0,0,0,2,_wrap_plcol0_texinfo},
26676{"plcol1",_wrap_plcol1,0,0,2,_wrap_plcol1_texinfo},
26677{"plconfigtime",_wrap_plconfigtime,0,0,2,_wrap_plconfigtime_texinfo},
26678{"plctime",_wrap_plctime,0,0,2,_wrap_plctime_texinfo},
26679{"plcpstrm",_wrap_plcpstrm,0,0,2,_wrap_plcpstrm_texinfo},
26680{"plend",_wrap_plend,0,0,2,_wrap_plend_texinfo},
26681{"plend1",_wrap_plend1,0,0,2,_wrap_plend1_texinfo},
26682{"plenv",_wrap_plenv,0,0,2,_wrap_plenv_texinfo},
26683{"plenv0",_wrap_plenv0,0,0,2,_wrap_plenv0_texinfo},
26684{"pleop",_wrap_pleop,0,0,2,_wrap_pleop_texinfo},
26685{"plerrx",_wrap_plerrx,0,0,2,_wrap_plerrx_texinfo},
26686{"plerry",_wrap_plerry,0,0,2,_wrap_plerry_texinfo},
26687{"plfamadv",_wrap_plfamadv,0,0,2,_wrap_plfamadv_texinfo},
26688{"plfill",_wrap_plfill,0,0,2,_wrap_plfill_texinfo},
26689{"plfill3",_wrap_plfill3,0,0,2,_wrap_plfill3_texinfo},
26690{"plgradient",_wrap_plgradient,0,0,2,_wrap_plgradient_texinfo},
26691{"plflush",_wrap_plflush,0,0,2,_wrap_plflush_texinfo},
26692{"plfont",_wrap_plfont,0,0,2,_wrap_plfont_texinfo},
26693{"plfontld",_wrap_plfontld,0,0,2,_wrap_plfontld_texinfo},
26694{"plgchr",_wrap_plgchr,0,0,2,_wrap_plgchr_texinfo},
26695{"plgcol0",_wrap_plgcol0,0,0,2,_wrap_plgcol0_texinfo},
26696{"plgcol0a",_wrap_plgcol0a,0,0,2,_wrap_plgcol0a_texinfo},
26697{"plgcolbg",_wrap_plgcolbg,0,0,2,_wrap_plgcolbg_texinfo},
26698{"plgcolbga",_wrap_plgcolbga,0,0,2,_wrap_plgcolbga_texinfo},
26699{"plgcompression",_wrap_plgcompression,0,0,2,_wrap_plgcompression_texinfo},
26700{"plgdev",_wrap_plgdev,0,0,2,_wrap_plgdev_texinfo},
26701{"plgdidev",_wrap_plgdidev,0,0,2,_wrap_plgdidev_texinfo},
26702{"plgdiori",_wrap_plgdiori,0,0,2,_wrap_plgdiori_texinfo},
26703{"plgdiplt",_wrap_plgdiplt,0,0,2,_wrap_plgdiplt_texinfo},
26704{"plgfam",_wrap_plgfam,0,0,2,_wrap_plgfam_texinfo},
26705{"plgfci",_wrap_plgfci,0,0,2,_wrap_plgfci_texinfo},
26706{"plgfnam",_wrap_plgfnam,0,0,2,_wrap_plgfnam_texinfo},
26707{"plgfont",_wrap_plgfont,0,0,2,_wrap_plgfont_texinfo},
26708{"plglevel",_wrap_plglevel,0,0,2,_wrap_plglevel_texinfo},
26709{"plgpage",_wrap_plgpage,0,0,2,_wrap_plgpage_texinfo},
26710{"plgra",_wrap_plgra,0,0,2,_wrap_plgra_texinfo},
26711{"plgspa",_wrap_plgspa,0,0,2,_wrap_plgspa_texinfo},
26712{"plgstrm",_wrap_plgstrm,0,0,2,_wrap_plgstrm_texinfo},
26713{"plgver",_wrap_plgver,0,0,2,_wrap_plgver_texinfo},
26714{"plgvpd",_wrap_plgvpd,0,0,2,_wrap_plgvpd_texinfo},
26715{"plgvpw",_wrap_plgvpw,0,0,2,_wrap_plgvpw_texinfo},
26716{"plgxax",_wrap_plgxax,0,0,2,_wrap_plgxax_texinfo},
26717{"plgyax",_wrap_plgyax,0,0,2,_wrap_plgyax_texinfo},
26718{"plgzax",_wrap_plgzax,0,0,2,_wrap_plgzax_texinfo},
26719{"plhist",_wrap_plhist,0,0,2,_wrap_plhist_texinfo},
26720{"plhlsrgb",_wrap_plhlsrgb,0,0,2,_wrap_plhlsrgb_texinfo},
26721{"plinit",_wrap_plinit,0,0,2,_wrap_plinit_texinfo},
26722{"pljoin",_wrap_pljoin,0,0,2,_wrap_pljoin_texinfo},
26723{"pllab",_wrap_pllab,0,0,2,_wrap_pllab_texinfo},
26724{"pllegend",_wrap_pllegend,0,0,2,_wrap_pllegend_texinfo},
26725{"pllightsource",_wrap_pllightsource,0,0,2,_wrap_pllightsource_texinfo},
26726{"plline",_wrap_plline,0,0,2,_wrap_plline_texinfo},
26727{"plline3",_wrap_plline3,0,0,2,_wrap_plline3_texinfo},
26728{"pllsty",_wrap_pllsty,0,0,2,_wrap_pllsty_texinfo},
26729{"plmkstrm",_wrap_plmkstrm,0,0,2,_wrap_plmkstrm_texinfo},
26730{"plmtex",_wrap_plmtex,0,0,2,_wrap_plmtex_texinfo},
26731{"plmtex3",_wrap_plmtex3,0,0,2,_wrap_plmtex3_texinfo},
26732{"plparseopts",_wrap_plparseopts,0,0,2,_wrap_plparseopts_texinfo},
26733{"plpat",_wrap_plpat,0,0,2,_wrap_plpat_texinfo},
26734{"plpath",_wrap_plpath,0,0,2,_wrap_plpath_texinfo},
26735{"plpoin",_wrap_plpoin,0,0,2,_wrap_plpoin_texinfo},
26736{"plpoin3",_wrap_plpoin3,0,0,2,_wrap_plpoin3_texinfo},
26737{"plpoly3",_wrap_plpoly3,0,0,2,_wrap_plpoly3_texinfo},
26738{"plprec",_wrap_plprec,0,0,2,_wrap_plprec_texinfo},
26739{"plpsty",_wrap_plpsty,0,0,2,_wrap_plpsty_texinfo},
26740{"plptex",_wrap_plptex,0,0,2,_wrap_plptex_texinfo},
26741{"plptex3",_wrap_plptex3,0,0,2,_wrap_plptex3_texinfo},
26742{"plrandd",_wrap_plrandd,0,0,2,_wrap_plrandd_texinfo},
26743{"plreplot",_wrap_plreplot,0,0,2,_wrap_plreplot_texinfo},
26744{"plrgbhls",_wrap_plrgbhls,0,0,2,_wrap_plrgbhls_texinfo},
26745{"plschr",_wrap_plschr,0,0,2,_wrap_plschr_texinfo},
26746{"plscmap0",_wrap_plscmap0,0,0,2,_wrap_plscmap0_texinfo},
26747{"plscmap0a",_wrap_plscmap0a,0,0,2,_wrap_plscmap0a_texinfo},
26748{"plscmap0n",_wrap_plscmap0n,0,0,2,_wrap_plscmap0n_texinfo},
26749{"plscmap1",_wrap_plscmap1,0,0,2,_wrap_plscmap1_texinfo},
26750{"plscmap1a",_wrap_plscmap1a,0,0,2,_wrap_plscmap1a_texinfo},
26751{"plscmap1l",_wrap_plscmap1l,0,0,2,_wrap_plscmap1l_texinfo},
26752{"plscmap1la",_wrap_plscmap1la,0,0,2,_wrap_plscmap1la_texinfo},
26753{"plscmap1n",_wrap_plscmap1n,0,0,2,_wrap_plscmap1n_texinfo},
26754{"plscmap1_range",_wrap_plscmap1_range,0,0,2,_wrap_plscmap1_range_texinfo},
26755{"plgcmap1_range",_wrap_plgcmap1_range,0,0,2,_wrap_plgcmap1_range_texinfo},
26756{"plscol0",_wrap_plscol0,0,0,2,_wrap_plscol0_texinfo},
26757{"plscol0a",_wrap_plscol0a,0,0,2,_wrap_plscol0a_texinfo},
26758{"plscolbg",_wrap_plscolbg,0,0,2,_wrap_plscolbg_texinfo},
26759{"plscolbga",_wrap_plscolbga,0,0,2,_wrap_plscolbga_texinfo},
26760{"plscolor",_wrap_plscolor,0,0,2,_wrap_plscolor_texinfo},
26761{"plscompression",_wrap_plscompression,0,0,2,_wrap_plscompression_texinfo},
26762{"plsdev",_wrap_plsdev,0,0,2,_wrap_plsdev_texinfo},
26763{"plsdidev",_wrap_plsdidev,0,0,2,_wrap_plsdidev_texinfo},
26764{"plsdimap",_wrap_plsdimap,0,0,2,_wrap_plsdimap_texinfo},
26765{"plsdiori",_wrap_plsdiori,0,0,2,_wrap_plsdiori_texinfo},
26766{"plsdiplt",_wrap_plsdiplt,0,0,2,_wrap_plsdiplt_texinfo},
26767{"plsdiplz",_wrap_plsdiplz,0,0,2,_wrap_plsdiplz_texinfo},
26768{"plseed",_wrap_plseed,0,0,2,_wrap_plseed_texinfo},
26769{"plsesc",_wrap_plsesc,0,0,2,_wrap_plsesc_texinfo},
26770{"plSetOpt",_wrap_plSetOpt,0,0,2,_wrap_plSetOpt_texinfo},
26771{"plsfam",_wrap_plsfam,0,0,2,_wrap_plsfam_texinfo},
26772{"plsfci",_wrap_plsfci,0,0,2,_wrap_plsfci_texinfo},
26773{"plsfnam",_wrap_plsfnam,0,0,2,_wrap_plsfnam_texinfo},
26774{"plsfont",_wrap_plsfont,0,0,2,_wrap_plsfont_texinfo},
26775{"plslabelfunc",_wrap_plslabelfunc,0,0,2,_wrap_plslabelfunc_texinfo},
26776{"plsmaj",_wrap_plsmaj,0,0,2,_wrap_plsmaj_texinfo},
26777{"plsmin",_wrap_plsmin,0,0,2,_wrap_plsmin_texinfo},
26778{"plsori",_wrap_plsori,0,0,2,_wrap_plsori_texinfo},
26779{"plspage",_wrap_plspage,0,0,2,_wrap_plspage_texinfo},
26780{"plspal0",_wrap_plspal0,0,0,2,_wrap_plspal0_texinfo},
26781{"plspal1",_wrap_plspal1,0,0,2,_wrap_plspal1_texinfo},
26782{"plspause",_wrap_plspause,0,0,2,_wrap_plspause_texinfo},
26783{"plsstrm",_wrap_plsstrm,0,0,2,_wrap_plsstrm_texinfo},
26784{"plssub",_wrap_plssub,0,0,2,_wrap_plssub_texinfo},
26785{"plssym",_wrap_plssym,0,0,2,_wrap_plssym_texinfo},
26786{"plstar",_wrap_plstar,0,0,2,_wrap_plstar_texinfo},
26787{"plstart",_wrap_plstart,0,0,2,_wrap_plstart_texinfo},
26788{"plstransform",_wrap_plstransform,0,0,2,_wrap_plstransform_texinfo},
26789{"plstring",_wrap_plstring,0,0,2,_wrap_plstring_texinfo},
26790{"plstring3",_wrap_plstring3,0,0,2,_wrap_plstring3_texinfo},
26791{"plstripa",_wrap_plstripa,0,0,2,_wrap_plstripa_texinfo},
26792{"plstripd",_wrap_plstripd,0,0,2,_wrap_plstripd_texinfo},
26793{"plstyl",_wrap_plstyl,0,0,2,_wrap_plstyl_texinfo},
26794{"plsvect",_wrap_plsvect,0,0,2,_wrap_plsvect_texinfo},
26795{"plsvpa",_wrap_plsvpa,0,0,2,_wrap_plsvpa_texinfo},
26796{"plsxax",_wrap_plsxax,0,0,2,_wrap_plsxax_texinfo},
26797{"plsyax",_wrap_plsyax,0,0,2,_wrap_plsyax_texinfo},
26798{"plsym",_wrap_plsym,0,0,2,_wrap_plsym_texinfo},
26799{"plszax",_wrap_plszax,0,0,2,_wrap_plszax_texinfo},
26800{"pltext",_wrap_pltext,0,0,2,_wrap_pltext_texinfo},
26801{"pltimefmt",_wrap_pltimefmt,0,0,2,_wrap_pltimefmt_texinfo},
26802{"plvasp",_wrap_plvasp,0,0,2,_wrap_plvasp_texinfo},
26803{"plvpas",_wrap_plvpas,0,0,2,_wrap_plvpas_texinfo},
26804{"plvpor",_wrap_plvpor,0,0,2,_wrap_plvpor_texinfo},
26805{"plvsta",_wrap_plvsta,0,0,2,_wrap_plvsta_texinfo},
26806{"plw3d",_wrap_plw3d,0,0,2,_wrap_plw3d_texinfo},
26807{"plwidth",_wrap_plwidth,0,0,2,_wrap_plwidth_texinfo},
26808{"plwind",_wrap_plwind,0,0,2,_wrap_plwind_texinfo},
26809{"plxormod",_wrap_plxormod,0,0,2,_wrap_plxormod_texinfo},
26810{"plmap",_wrap_plmap,0,0,2,_wrap_plmap_texinfo},
26811{"plmapline",_wrap_plmapline,0,0,2,_wrap_plmapline_texinfo},
26812{"plmapstring",_wrap_plmapstring,0,0,2,_wrap_plmapstring_texinfo},
26813{"plmaptex",_wrap_plmaptex,0,0,2,_wrap_plmaptex_texinfo},
26814{"plmapfill",_wrap_plmapfill,0,0,2,_wrap_plmapfill_texinfo},
26815{"plmeridians",_wrap_plmeridians,0,0,2,_wrap_plmeridians_texinfo},
26816{"plClearOpts",_wrap_plClearOpts,0,0,2,0},
26817{"plResetOpts",_wrap_plResetOpts,0,0,2,0},
26818{"plSetUsage",_wrap_plSetUsage,0,0,2,0},
26819{"plOptUsage",_wrap_plOptUsage,0,0,2,0},
26820{0,0,0,0,0,0}
26821};
26822
26823/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26824
26825static swig_type_info _swigt__p_PLGraphicsIn = {"_p_PLGraphicsIn", "PLGraphicsIn *", 0, 0, (void*)&_wrap_class_PLGraphicsIn, 0};
26826static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
26827static swig_type_info _swigt__p_double = {"_p_double", "PLFLT *|double *", 0, 0, (void*)0, 0};
26828static 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};
26829static 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};
26830static 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};
26831static swig_type_info _swigt__p_int = {"_p_int", "PLBOOL *|PLINT *|int *", 0, 0, (void*)0, 0};
26832static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
26833static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "PLUNICODE *|unsigned int *", 0, 0, (void*)0, 0};
26834
26846
26847static swig_cast_info _swigc__p_PLGraphicsIn[] = { {&_swigt__p_PLGraphicsIn, 0, 0, 0},{0, 0, 0, 0}};
26848static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
26849static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
26853static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
26854static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
26855static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
26856
26868
26869
26870/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26871
26872/* -----------------------------------------------------------------------------
26873 * Type initialization:
26874 * This problem is made tough by the requirement that no dynamic
26875 * memory is used. Also, since swig_type_info structures store pointers to
26876 * swig_cast_info structures and swig_cast_info structures store pointers back
26877 * to swig_type_info structures, we need some lookup code at initialization.
26878 * The idea is that swig generates all the structures that are needed.
26879 * The runtime then collects these partially filled structures.
26880 * The SWIG_InitializeModule function takes these initial arrays out of
26881 * swig_module, and does all the lookup, filling in the swig_module.types
26882 * array with the correct data and linking the correct swig_cast_info
26883 * structures together.
26884 *
26885 * The generated swig_type_info structures are assigned statically to an initial
26886 * array. We just loop through that array, and handle each type individually.
26887 * First we lookup if this type has been already loaded, and if so, use the
26888 * loaded structure instead of the generated one. Then we have to fill in the
26889 * cast dependencies. The cast data is initially stored in something like a
26890 * two-dimensional array. Each row corresponds to a type (there are the same
26891 * number of rows as there are in the swig_type_initial array). Each entry in
26892 * a column is one of the swig_cast_info structures for that type.
26893 * The cast_initial array is actually an array of arrays, because each row has
26894 * a variable number of columns.
26895 *
26896 * We loop through the cast[] array associated with the type and mark casts
26897 * which have not been defined in previously loaded modules by assigning
26898 * cast pointer value to cast->next. We also hash cast->type->name string
26899 * and store the value in the cast->value field. If we encounter swig_cast_info
26900 * structure that represents a cast to self we move it to the beginning
26901 * of the cast array. One trick we need to do is making sure the type pointer
26902 * in the swig_cast_info struct is correct.
26903 *
26904 * First off, we lookup the cast->type name to see if it is already loaded.
26905 * There are three cases to handle:
26906 * 1) If the cast->type has already been loaded AND the type we are adding
26907 * casting info to has not been loaded (it is in this module), THEN we
26908 * replace the cast->type pointer with the type pointer that has already
26909 * been loaded.
26910 * 2) If BOTH types (the one we are adding casting info to, and the
26911 * cast->type) are loaded, THEN the cast info has already been loaded by
26912 * the previous module so we just ignore it.
26913 * 3) Finally, if cast->type has not already been loaded, then we add that
26914 * swig_cast_info to the list (because the cast->type) pointer will
26915 * be correct.
26916 *
26917 * Once the cast array has been set up AND it does have new casts that need
26918 * to be added we sort non-self cast entries to move filtered out entries
26919 * to the end of the array and to arrange the rest in the increasing order
26920 * of their type pointer values. We store the index of the last added entry
26921 * in the cast->value field of the entry[0] (overwriting the name hash). Then
26922 * we sort <next|value> fields of the remaining entries to arrange hash values
26923 * in the increasing order. This way cast->next->type->name field matches
26924 * the cast->value hash.
26925 *
26926 * Example:
26927 * Array of casts for type stored at 0x5000, cast to type stored at 0x3000
26928 * has already been loaded
26929 *
26930 * After sweep-and-hash: After sort-by-type: After sort-by-hash:
26931 * ________________ ________________ ________________
26932 * | | | | | |
26933 * Entry | type = 0x5000 | | type = 0x5000 | | type = 0x5000 |
26934 * 0 | | | | | |
26935 * | next = Entry0 | | next = Entry0 | | next = Entry0 |
26936 * | value = 1212 | | value = 3 | | value = 3 |
26937 * | | | | | |
26938 * |================| |================| |================|
26939 * | | | | | |
26940 * Entry | type = 0x2000 | | type = 0x1000 | | type = 0x1000 |
26941 * 1 | | | | | |
26942 * | next = Entry1 | | next = Entry1 | | next = Entry3 |
26943 * | value = 3434 | | value = 4545 | | value = 2323 |
26944 * |________________| |________________| |________________|
26945 * | | | | | |
26946 * Entry | type = 0x3000 | | type = 0x2000 | | type = 0x2000 |
26947 * 2 | | | | | |
26948 * | next = 0 | | next = Entry2 | | next = Entry2 |
26949 * | value = 0 | | value = 3434 | | value = 3434 |
26950 * |________________| |________________| |________________|
26951 * | | | | | |
26952 * Entry | type = 0x1000 | | type = 0x4000 | | type = 0x4000 |
26953 * 3 | | | | | |
26954 * | next = Entry3 | | next = Entry3 | | next = Entry1 |
26955 * | value = 4545 | | value = 2323 | | value = 4545 |
26956 * |________________| |________________| |________________|
26957 * | | | | | |
26958 * Entry | type = 0x4000 | | type = 0x3000 | | type = 0x3000 |
26959 * 4 | | | | | |
26960 * | next = Entry4 | | next = 0 | | next = 0 |
26961 * | value = 2323 | | value = 0 | | value = 0 |
26962 * |________________| |________________| |________________|
26963 *
26964 * Once the cast array has been initialized, we use cast[0]->next field to link
26965 * it into the list of cast arrays for the type.
26966 * ____ ____ ____
26967 * type->cast->|next|->|next|->|next|->0
26968 * |----| |----| |----|
26969 * |----| |----| |----|
26970 * |----| |----| |----|
26971 *
26972 * Subsequent cast resolution works as follows:
26973 *
26974 * 1. Check whether the type matches the first entry in the current cast array.
26975 * 2. If not, then do a binary search over the (0:cast->value] interval using
26976 * either type address or the hash value of the type name.
26977 * 3. If not found, then move over to the next cast array (cast[0]->next).
26978 *
26979 * ----------------------------------------------------------------------------- */
26980
26981#ifdef __cplusplus
26982extern "C" {
26983#if 0
26984} /* c-mode */
26985#endif
26986#endif
26987
26988#if 0
26989#define SWIGRUNTIME_DEBUG
26990#endif
26991
26992#ifndef SWIG_INIT_CLIENT_DATA_TYPE
26993#define SWIG_INIT_CLIENT_DATA_TYPE void *
26994#endif
26995
26996/*
26997 * Sort function that puts cast entries with nonzero 'next' at the front
26998 * of the array while ordering them by addresses of their 'type' structs.
26999 */
27000SWIGINTERN int SWIG_CastCmpStruct(const void *pa, const void *pb) {
27001 swig_cast_info *pca = (swig_cast_info *)pa;
27002 swig_cast_info *pcb = (swig_cast_info *)pb;
27003 /* Entries with next != 0 (newly mapped) come before entries with next == 0 (already loaded) */
27004 if (!pca->next && pcb->next) return 1;
27005 if (pca->next && !pcb->next) return -1;
27006 /* Within the same group, sort by type pointer for binary search */
27007 if (pca->type < pcb->type) return -1;
27008 if (pca->type > pcb->type) return 1;
27009 return 0;
27010}
27011
27012/*
27013 * Shell-sort 'next' and 'value' field pairs to order them by 'value'.
27014 */
27016 const int hmax = size/9;
27017 int h, i;
27018 for(h = 1; h <= hmax; h = 3*h+1);
27019 for(; h > 0; h /= 3)
27020 {
27021 for(i = h; i < size; ++i)
27022 {
27023 swig_cast_info *p = cast[i].next;
27024 unsigned int hash = cast[i].value;
27025 int j = i;
27026 while(j >= h && hash < cast[j-h].value)
27027 {
27028 cast[j].next = cast[j-h].next;
27029 cast[j].value = cast[j-h].value;
27030 j -= h;
27031 }
27032 cast[j].next = p;
27033 cast[j].value = hash;
27034 }
27035 }
27036}
27037
27038SWIGRUNTIME void
27040 size_t i;
27041 swig_module_info *module_head, *iter;
27042 int init;
27043
27044 /* check to see if the circular list has been setup, if not, set it up */
27045 if (swig_module.next==0) {
27046 /* Initialize the swig_module */
27047 swig_module.type_initial = swig_type_initial;
27048 swig_module.cast_initial = swig_cast_initial;
27049 swig_module.next = &swig_module;
27050 init = 1;
27051 } else {
27052 init = 0;
27053 }
27054
27055 /* Try and load any already created modules */
27056 module_head = SWIG_GetModule(clientdata);
27057 if (!module_head) {
27058 /* This is the first module loaded for this interpreter */
27059 /* so set the swig module into the interpreter */
27060 SWIG_SetModule(clientdata, &swig_module);
27061 } else {
27062 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
27063 iter=module_head;
27064 do {
27065 if (iter==&swig_module) {
27066 /* Our module is already in the list, so there's nothing more to do. */
27067 return;
27068 }
27069 iter=iter->next;
27070 } while (iter!= module_head);
27071
27072 /* otherwise we must add our module into the list */
27073 swig_module.next = module_head->next;
27074 module_head->next = &swig_module;
27075 }
27076
27077 /* When multiple interpreters are used, a module could have already been initialized in
27078 a different interpreter, but not yet have a pointer in this interpreter.
27079 In this case, we do not want to continue adding types... everything should be
27080 set up already */
27081 if (init == 0) return;
27082
27083 /* Now work on filling in swig_module.types */
27084#ifdef SWIGRUNTIME_DEBUG
27085 printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
27086#endif
27087 for (i = 0; i < swig_module.size; ++i) {
27088 swig_type_info *type = 0;
27089 swig_type_info *target_type;
27090 swig_cast_info *cast, *first;
27091 int num_mapped = 0;
27092
27093#ifdef SWIGRUNTIME_DEBUG
27094 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
27095#endif
27096
27097 /* if there is another module already loaded */
27098 if (swig_module.next != &swig_module) {
27099 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
27100 }
27101 if (type) {
27102 /* Overwrite clientdata field */
27103#ifdef SWIGRUNTIME_DEBUG
27104 printf("SWIG_InitializeModule: found type %s\n", type->name);
27105#endif
27106 if (swig_module.type_initial[i]->clientdata) {
27107 type->clientdata = swig_module.type_initial[i]->clientdata;
27108#ifdef SWIGRUNTIME_DEBUG
27109 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
27110#endif
27111 }
27112 } else {
27113 type = swig_module.type_initial[i];
27114 }
27115
27116 /* Insert casting types */
27117 cast = first = swig_module.cast_initial[i];
27118 while (cast->type) {
27119
27120 /* Don't need to add information already in the list */
27121 target_type = 0;
27122#ifdef SWIGRUNTIME_DEBUG
27123 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
27124#endif
27125 if (swig_module.next != &swig_module) {
27126 target_type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
27127 if (target_type) {
27128
27129 /* Target type already defined in another module */
27130#ifdef SWIGRUNTIME_DEBUG
27131 printf("SWIG_InitializeModule: found cast %s\n", target_type->name);
27132#endif
27133 if (type == swig_module.type_initial[i]) {
27134#ifdef SWIGRUNTIME_DEBUG
27135 printf("SWIG_InitializeModule: skip old type %s\n", target_type->name);
27136#endif
27137 cast->type = target_type;
27138 target_type = 0;
27139 } else {
27140 /* Check if this cast is already in the list */
27141 swig_cast_info *ocast = SWIG_TypeCheck(target_type->name, type);
27142#ifdef SWIGRUNTIME_DEBUG
27143 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", target_type->name);
27144#endif
27145 if (!ocast) {
27146 cast->type = target_type;
27147 target_type = 0;
27148 }
27149 }
27150 }
27151 }
27152
27153 if (!target_type) {
27154#ifdef SWIGRUNTIME_DEBUG
27155 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
27156#endif
27157 /* Set inclusion mark for sorting */
27158 cast->next = cast;
27159 num_mapped++;
27160
27161 if (type == cast->type) {
27162#ifdef SWIGRUNTIME_DEBUG
27163 printf("%s : self cast at pos [%li]\n", type->name, cast - first);
27164#endif
27165 if (cast - first) {
27166
27167 /* Move cast to itself to the first entry in the array */
27168
27169 swig_cast_info tmp = *cast;
27170 *cast = *first;
27171 *first = tmp;
27172 }
27173 first++;
27174
27175 } else {
27176 cast->value = SWIG_Hash(cast->type->name, (unsigned int)strlen(cast->type->name));
27177 }
27178 }
27179 cast++;
27180 }
27181
27182 if (num_mapped) {
27183 if (cast - first) {
27184 swig_cast_info *tmp;
27185
27186 /* Sort casts by type address for binary search in SWIG_TypeCheckStruct */
27187 qsort(first, (size_t)(cast - first), sizeof(swig_cast_info), SWIG_CastCmpStruct);
27188
27189 /* Remap back links for added entries */
27190 cast = swig_module.cast_initial[i] + num_mapped;
27191 for (tmp = first; tmp < cast; tmp++) {
27192 tmp->next = tmp;
27193 }
27194 }
27195
27196 /* Set the value field of the first entry to the index of the last added entry */
27197 cast = swig_module.cast_initial[i];
27198 cast->value = (unsigned int)(num_mapped - 1);
27199
27200 num_mapped -= (int)(first - cast);
27201 if (num_mapped > 1) {
27202 /* Sort <'next','value'> pairs by 'value' for binary search in SWIG_TypeCheck */
27203
27204 SWIG_CastHashSort(first, num_mapped);
27205 }
27206
27207 first = type->cast;
27208 if (first) {
27209 /* Link the current set into the list of cast arrays */
27210 cast->next = first->next;
27211 first->next = cast;
27212 } else {
27213 cast->next = 0;
27214 type->cast = cast;
27215 }
27216 }
27217
27218 /* Set entry in modules->types array equal to the type */
27219 swig_module.types[i] = type;
27220 }
27221 swig_module.types[i] = 0;
27222
27223#ifdef SWIGRUNTIME_DEBUG
27224 printf("**** SWIG_InitializeModule: Cast List ******\n");
27225 for (i = 0; i < swig_module.size; ++i) {
27226 int j = 0;
27227 swig_cast_info *cast = swig_module.cast_initial[i];
27228 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
27229 while (cast->type) {
27230 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
27231 cast++;
27232 ++j;
27233 }
27234 printf("---- Total casts: %d\n",j);
27235 }
27236 printf("**** SWIG_InitializeModule: Cast List ******\n");
27237#endif
27238}
27239
27240/* This function will propagate the clientdata field of type to
27241* any new swig_type_info structures that have been added into the list
27242* of equivalent types. It is like calling
27243* SWIG_TypeClientData(type, clientdata) a second time.
27244*/
27245SWIGRUNTIME void
27247 size_t i;
27248 static int init_run = 0;
27249
27250 if (init_run) return;
27251 init_run = 1;
27252
27253 for (i = 0; i < swig_module.size; i++) {
27254 if (swig_module.types[i]->clientdata) {
27255 swig_cast_info *head, *cast;
27256 head = swig_module.types[i]->cast;
27257 while (head) {
27258 for (cast = head; (cast - head) <= head->value; cast++) {
27259 if (!cast->converter) {
27260 if (cast->type && !cast->type->clientdata)
27261 SWIG_TypeClientData(cast->type, swig_module.types[i]->clientdata);
27262 }
27263 }
27264 head = head->next;
27265 }
27266 }
27267 }
27268}
27269
27270#ifdef __cplusplus
27271#if 0
27272{ /* c-mode */
27273#endif
27274}
27275#endif
27276
27277
27278
27279static bool SWIG_init_user(octave_swig_type* module_ns);
27280
27282 bool retn = false;
27283 {
27284 try {
27285 octave::feval(name, octave_value_list(), 0);
27286 retn = true;
27287 } catch (octave::execution_exception&) { }
27288 }
27289 if (!retn) {
27290 error(SWIG_name_d ": could not load module `%s'", name.c_str());
27291 }
27292 return retn;
27293}
27294
27295SWIGINTERN bool SWIG_Octave_InstallFunction(octave_function *octloadfcn, std::string name) {
27296 bool retn = false;
27297 {
27298 octave_value_list args;
27299 args.append(name);
27300 args.append(octloadfcn->fcn_file_name());
27301 try {
27302 octave::feval("autoload", args, 0);
27303 retn = true;
27304 } catch (octave::execution_exception&) { }
27305 }
27306 if (!retn) {
27307 error(SWIG_name_d ": could not load function `%s'", name.c_str());
27308 }
27309 return retn;
27310}
27311
27312static const char *const subclass_usage = "-*- texinfo -*- \n\
27313@deftypefn {Loadable Function} {} subclass()\n\
27314@deftypefnx{Loadable Function} {} subclass(@var{swigclass}, @var{name}, @var{fcn}, @dots{})\n\
27315Subclass a C++ class from within Octave, and provide implementations of its virtual methods.\n\
27316\n\
27317See the SWIG manual for usage examples.\n\
27318@end deftypefn";
27319
27320DEFUN_DLD( subclass, args, nargout, subclass_usage ) {
27322 for (int j = 0; j < args.length(); ++j) {
27323 if (args(j).type_id() == octave_swig_ref::static_type_id()) {
27324 octave_swig_ref *osr = static_cast < octave_swig_ref *>(args(j).internal_rep());
27325 octave_swig_type *ost = osr->get_ptr();
27326 if (!ost->is_owned()) {
27327 error("subclass: cannot subclass object not constructed on octave side");
27328 return octave_value_list();
27329 }
27330 top->merge(*ost);
27331 } else if (args(j).is_function_handle()) {
27332 top->assign(args(j).fcn_handle_value()->fcn_name(), args(j));
27333 } else if (args(j).is_string()) {
27334 if (j + 1 >= args.length()) {
27335 error("subclass: member assignments must be of string,value form");
27336 return octave_value_list();
27337 }
27338 top->assign(args(j).string_value(), args(j + 1));
27339 ++j;
27340 } else {
27341 error("subclass: invalid arguments to subclass()");
27342 return octave_value_list();
27343 }
27344 }
27345 return octave_value(Swig::swig_value_ref(top));
27346}
27347
27348static const char *const swig_type_usage = "-*- texinfo -*- \n\
27349@deftypefn {Loadable Function} {} swig_type(@var{swigref})\n\
27350Return the underlying C/C++ type name of a SWIG-wrapped object.\n\
27351@end deftypefn";
27352
27353DEFUN_DLD( swig_type, args, nargout, swig_type_usage ) {
27354 if (args.length() != 1) {
27355 error("swig_type: must be called with only a single object");
27356 return octave_value_list();
27357 }
27359 if (!ost) {
27360 error("swig_type: object is not a swig_ref");
27361 return octave_value_list();
27362 }
27363 return octave_value(ost->swig_type_name());
27364}
27365
27366static const char *const swig_typequery_usage = "-*- texinfo -*- \n\
27367@deftypefn {Loadable Function} {} swig_typequery(@var{string})\n\
27368Return @var{string} if it is a recognised SWIG-wrapped C/C++ type name;\n\
27369otherwise return `<unknown>'.\n\
27370@end deftypefn";
27371
27372DEFUN_DLD( swig_typequery, args, nargout, swig_typequery_usage ) {
27373 if (args.length() != 1 || !args(0).is_string()) {
27374 error("swig_typequery: must be called with single string argument");
27375 return octave_value_list();
27376 }
27377 swig_module_info *module = SWIG_GetModule(0);
27378 swig_type_info *type = SWIG_TypeQueryModule(module, module, args(0).string_value().c_str());
27379 if (!type)
27380 return octave_value("<unknown>");
27381 return octave_value(type->name);
27382}
27383
27384static const char *const swig_this_usage = "-*- texinfo -*- \n\
27385@deftypefn {Loadable Function} {} swig_this(@var{swigref})\n\
27386Return the underlying C/C++ pointer of a SWIG-wrapped object.\n\
27387@end deftypefn";
27388
27389DEFUN_DLD( swig_this, args, nargout, swig_this_usage ) {
27390 if (args.length() != 1) {
27391 error("swig_this: must be called with only a single object");
27392 return octave_value_list();
27393 }
27394 if (args(0).is_matrix_type() && args(0).rows() == 0 && args(0).columns() == 0)
27395 return octave_value(octave_uint64(0));
27397 if (!ost) {
27398 error("swig_this: object is not a swig_ref");
27399 return octave_value_list();
27400 }
27401 return octave_value(octave_uint64((unsigned long long) ost->swig_this()));
27402}
27403
27404static const char *const swig_octave_prereq_usage = "-*- texinfo -*- \n\
27405@deftypefn {Loadable Function} {} swig_octave_prereq(@var{major}, @var{minor}, @var{patch})\n\
27406Return true if the version of Octave is at least @var{major}.@var{minor}.@var{patch}.\n\
27407@end deftypefn";
27408
27409DEFUN_DLD( swig_octave_prereq, args, nargout, swig_octave_prereq_usage ) {
27410 if (args.length() != 3) {
27411 error("swig_octave_prereq: must be called with 3 arguments");
27412 return octave_value_list();
27413 }
27414 const int major = args(0).int_value();
27415 const int minor = args(1).int_value();
27416 const int patch = args(2).int_value();
27417 const bool prereq = SWIG_OCTAVE_PREREQ(major, minor, patch);
27418 return octave_value(prereq);
27419}
27420
27421static const char *const swig_exit_usage = "-*- texinfo -*- \n\
27422@deftypefn {Loadable Function} {} swig_exit([@var{exit_status}])\n\
27423Exit Octave without performing any memory cleanup.\n\
27424@end deftypefn";
27425
27426DEFUN_DLD( swig_exit, args, nargout, swig_exit_usage ) {
27427 if (args.length() > 1) {
27428 error("swig_exit: must be called with at most one arguments");
27429 return octave_value_list();
27430 }
27431 int exit_status = 0;
27432 if (args.length() == 1) {
27433 exit_status = args(0).int_value();
27434 }
27435 ::_Exit(exit_status);
27436 return octave_value();
27437}
27438
27439static const char *const SWIG_name_usage = "-*- texinfo -*- \n\
27440@deftypefn {Loadable Module} {} " SWIG_name_d "\n\
27441Loads the SWIG-generated module `" SWIG_name_d "'.\n\
27442@end deftypefn";
27443
27445
27446 static octave_swig_type* module_ns = 0;
27447
27448 // check for no input and output args
27449 if (args.length() != 0 || nargout != 0) {
27450 print_usage();
27451 return octave_value_list();
27452 }
27453
27454 // create module on first function call
27455 if (!module_ns) {
27456
27457 // workaround bug in octave where installing global variable of custom type and then
27458 // exiting without explicitly clearing the variable causes octave to segfault.
27459 octave_value_list eval_args;
27460 eval_args.append("base");
27461 eval_args.append("function __swig_atexit__; "
27462 " if mislocked() "
27463 " clear -all; "
27464 " else "
27465 " mlock(); "
27466 " endif; "
27467 "endfunction; "
27468 "__swig_atexit__; "
27469 "atexit(\"__swig_atexit__\", false); "
27470 "atexit(\"__swig_atexit__\")");
27471 octave::feval("evalin", eval_args, 0);
27472
27473 {
27474 octave::type_info& typeinfo = octave::interpreter::the_interpreter()->get_type_info();
27475 string_vector types = typeinfo.installed_type_names();
27476 bool register_octave_swig_ref = true;
27477 bool register_octave_swig_packed = true;
27478 for (int i = 0; i < types.numel(); ++i) {
27479 if (types(i) == octave_swig_ref::static_type_name()) {
27480 register_octave_swig_ref = false;
27482 }
27483 if (types(i) == octave_swig_packed::static_type_name()) {
27484 register_octave_swig_packed = false;
27486 }
27487 }
27488 if (register_octave_swig_ref) {
27489 octave_swig_ref::register_type();
27490 }
27491 if (register_octave_swig_packed) {
27492 octave_swig_packed::register_type();
27493 }
27494 }
27497
27498#if SWIG_OCTAVE_PREREQ(8,0,0)
27499 octave::tree_evaluator& tree_eval = octave::interpreter::the_interpreter()->get_evaluator();
27500 octave_function *me = tree_eval.current_function();
27501#else
27502 octave::tree_evaluator& tree_eval = octave::interpreter::the_interpreter()->get_evaluator();
27503 octave::call_stack& stack = tree_eval.get_call_stack();
27504 octave_function *me = stack.current_function();
27505#endif
27506
27507 if (!SWIG_Octave_InstallFunction(me, "subclass")) {
27508 return octave_value_list();
27509 }
27510 if (!SWIG_Octave_InstallFunction(me, "swig_type")) {
27511 return octave_value_list();
27512 }
27513 if (!SWIG_Octave_InstallFunction(me, "swig_typequery")) {
27514 return octave_value_list();
27515 }
27516 if (!SWIG_Octave_InstallFunction(me, "swig_this")) {
27517 return octave_value_list();
27518 }
27519 if (!SWIG_Octave_InstallFunction(me, "swig_octave_prereq")) {
27520 return octave_value_list();
27521 }
27522 if (!SWIG_Octave_InstallFunction(me, "swig_exit")) {
27523 return octave_value_list();
27524 }
27525
27526 octave_swig_type* cvar_ns=0;
27527 if (std::string(SWIG_global_name) != ".") {
27528 cvar_ns=new octave_swig_type;
27529 for (int j=0;swig_globals[j].name;++j)
27530 if (swig_globals[j].get_method)
27531 cvar_ns->assign(swig_globals[j].name,&swig_globals[j]);
27532 }
27533
27534 module_ns=new octave_swig_type(0, 0, 0, true);
27535 if (std::string(SWIG_global_name) != ".") {
27536 module_ns->assign(SWIG_global_name,Swig::swig_value_ref(cvar_ns));
27537 }
27538 else {
27539 for (int j=0;swig_globals[j].name;++j)
27540 if (swig_globals[j].get_method)
27541 module_ns->assign(swig_globals[j].name,&swig_globals[j]);
27542 }
27543 for (int j=0;swig_globals[j].name;++j)
27544 if (swig_globals[j].method)
27545 module_ns->assign(swig_globals[j].name,&swig_globals[j]);
27546
27547 // * need better solution here; swig_type -> octave_class mapping is
27548 // * really n-to-1, in some cases such as template partial spec, etc.
27549 // * see failing tests.
27550 for (int j=0;swig_types[j];++j)
27551 if (swig_types[j]->clientdata) {
27553 module_ns->assign(c->name,
27555 (new octave_swig_type(0,swig_types[j])));
27556 }
27557
27558 if (!SWIG_init_user(module_ns)) {
27559 delete module_ns;
27560 module_ns=0;
27561 return octave_value_list();
27562 }
27563
27564 SWIG_InstallOps(octave_swig_ref::static_type_id());
27565
27567 for (mb = module_ns->swig_members_begin(); mb != module_ns->swig_members_end(); ++mb) {
27568 if (mb->second.first && mb->second.first->method) {
27569 if (!SWIG_Octave_InstallFunction(me, mb->first)) {
27570 return octave_value_list();
27571 }
27572 }
27573 }
27574
27575 octave::interpreter::the_interpreter()->mlock();
27576 }
27577
27579 for (mb = module_ns->swig_members_begin(); mb != module_ns->swig_members_end(); ++mb) {
27580 if (mb->second.second.is_defined()) {
27581 SWIG_Octave_SetGlobalValue(mb->first, mb->second.second);
27582 SWIG_Octave_LinkGlobalValue(mb->first);
27583 }
27584 }
27585
27588
27589 return octave_value_list();
27590
27591}
27592
27593
27594static bool SWIG_init_user(octave_swig_type* module_ns)
27595{
27596 SWIG_Octave_SetConstant(module_ns,"PLESC_SET_RGB",SWIG_From_int(static_cast< int >(1)));
27597 SWIG_Octave_SetConstant(module_ns,"PLESC_ALLOC_NCOL",SWIG_From_int(static_cast< int >(2)));
27598 SWIG_Octave_SetConstant(module_ns,"PLESC_SET_LPB",SWIG_From_int(static_cast< int >(3)));
27599 SWIG_Octave_SetConstant(module_ns,"PLESC_EXPOSE",SWIG_From_int(static_cast< int >(4)));
27600 SWIG_Octave_SetConstant(module_ns,"PLESC_RESIZE",SWIG_From_int(static_cast< int >(5)));
27601 SWIG_Octave_SetConstant(module_ns,"PLESC_REDRAW",SWIG_From_int(static_cast< int >(6)));
27602 SWIG_Octave_SetConstant(module_ns,"PLESC_TEXT",SWIG_From_int(static_cast< int >(7)));
27603 SWIG_Octave_SetConstant(module_ns,"PLESC_GRAPH",SWIG_From_int(static_cast< int >(8)));
27604 SWIG_Octave_SetConstant(module_ns,"PLESC_FILL",SWIG_From_int(static_cast< int >(9)));
27605 SWIG_Octave_SetConstant(module_ns,"PLESC_DI",SWIG_From_int(static_cast< int >(10)));
27606 SWIG_Octave_SetConstant(module_ns,"PLESC_FLUSH",SWIG_From_int(static_cast< int >(11)));
27607 SWIG_Octave_SetConstant(module_ns,"PLESC_EH",SWIG_From_int(static_cast< int >(12)));
27608 SWIG_Octave_SetConstant(module_ns,"PLESC_GETC",SWIG_From_int(static_cast< int >(13)));
27609 SWIG_Octave_SetConstant(module_ns,"PLESC_SWIN",SWIG_From_int(static_cast< int >(14)));
27610 SWIG_Octave_SetConstant(module_ns,"PLESC_DOUBLEBUFFERING",SWIG_From_int(static_cast< int >(15)));
27611 SWIG_Octave_SetConstant(module_ns,"PLESC_XORMOD",SWIG_From_int(static_cast< int >(16)));
27612 SWIG_Octave_SetConstant(module_ns,"PLESC_SET_COMPRESSION",SWIG_From_int(static_cast< int >(17)));
27613 SWIG_Octave_SetConstant(module_ns,"PLESC_CLEAR",SWIG_From_int(static_cast< int >(18)));
27614 SWIG_Octave_SetConstant(module_ns,"PLESC_DASH",SWIG_From_int(static_cast< int >(19)));
27615 SWIG_Octave_SetConstant(module_ns,"PLESC_HAS_TEXT",SWIG_From_int(static_cast< int >(20)));
27616 SWIG_Octave_SetConstant(module_ns,"PLESC_IMAGE",SWIG_From_int(static_cast< int >(21)));
27617 SWIG_Octave_SetConstant(module_ns,"PLESC_IMAGEOPS",SWIG_From_int(static_cast< int >(22)));
27618 SWIG_Octave_SetConstant(module_ns,"PLESC_PL2DEVCOL",SWIG_From_int(static_cast< int >(23)));
27619 SWIG_Octave_SetConstant(module_ns,"PLESC_DEV2PLCOL",SWIG_From_int(static_cast< int >(24)));
27620 SWIG_Octave_SetConstant(module_ns,"PLESC_SETBGFG",SWIG_From_int(static_cast< int >(25)));
27621 SWIG_Octave_SetConstant(module_ns,"PLESC_DEVINIT",SWIG_From_int(static_cast< int >(26)));
27622 SWIG_Octave_SetConstant(module_ns,"PLESC_GETBACKEND",SWIG_From_int(static_cast< int >(27)));
27623 SWIG_Octave_SetConstant(module_ns,"PLESC_BEGIN_TEXT",SWIG_From_int(static_cast< int >(28)));
27624 SWIG_Octave_SetConstant(module_ns,"PLESC_TEXT_CHAR",SWIG_From_int(static_cast< int >(29)));
27625 SWIG_Octave_SetConstant(module_ns,"PLESC_CONTROL_CHAR",SWIG_From_int(static_cast< int >(30)));
27626 SWIG_Octave_SetConstant(module_ns,"PLESC_END_TEXT",SWIG_From_int(static_cast< int >(31)));
27627 SWIG_Octave_SetConstant(module_ns,"PLESC_START_RASTERIZE",SWIG_From_int(static_cast< int >(32)));
27628 SWIG_Octave_SetConstant(module_ns,"PLESC_END_RASTERIZE",SWIG_From_int(static_cast< int >(33)));
27629 SWIG_Octave_SetConstant(module_ns,"PLESC_ARC",SWIG_From_int(static_cast< int >(34)));
27630 SWIG_Octave_SetConstant(module_ns,"PLESC_GRADIENT",SWIG_From_int(static_cast< int >(35)));
27631 SWIG_Octave_SetConstant(module_ns,"PLESC_MODESET",SWIG_From_int(static_cast< int >(36)));
27632 SWIG_Octave_SetConstant(module_ns,"PLESC_MODEGET",SWIG_From_int(static_cast< int >(37)));
27633 SWIG_Octave_SetConstant(module_ns,"PLESC_FIXASPECT",SWIG_From_int(static_cast< int >(38)));
27634 SWIG_Octave_SetConstant(module_ns,"PLESC_IMPORT_BUFFER",SWIG_From_int(static_cast< int >(39)));
27635 SWIG_Octave_SetConstant(module_ns,"PLESC_APPEND_BUFFER",SWIG_From_int(static_cast< int >(40)));
27636 SWIG_Octave_SetConstant(module_ns,"PLESC_FLUSH_REMAINING_BUFFER",SWIG_From_int(static_cast< int >(41)));
27637 SWIG_Octave_SetConstant(module_ns,"PLTEXT_FONTCHANGE",SWIG_From_int(static_cast< int >(0)));
27638 SWIG_Octave_SetConstant(module_ns,"PLTEXT_SUPERSCRIPT",SWIG_From_int(static_cast< int >(1)));
27639 SWIG_Octave_SetConstant(module_ns,"PLTEXT_SUBSCRIPT",SWIG_From_int(static_cast< int >(2)));
27640 SWIG_Octave_SetConstant(module_ns,"PLTEXT_BACKCHAR",SWIG_From_int(static_cast< int >(3)));
27641 SWIG_Octave_SetConstant(module_ns,"PLTEXT_OVERLINE",SWIG_From_int(static_cast< int >(4)));
27642 SWIG_Octave_SetConstant(module_ns,"PLTEXT_UNDERLINE",SWIG_From_int(static_cast< int >(5)));
27643 SWIG_Octave_SetConstant(module_ns,"ZEROW2B",SWIG_From_int(static_cast< int >(1)));
27644 SWIG_Octave_SetConstant(module_ns,"ZEROW2D",SWIG_From_int(static_cast< int >(2)));
27645 SWIG_Octave_SetConstant(module_ns,"ONEW2B",SWIG_From_int(static_cast< int >(3)));
27646 SWIG_Octave_SetConstant(module_ns,"ONEW2D",SWIG_From_int(static_cast< int >(4)));
27647 SWIG_Octave_SetConstant(module_ns,"PLSWIN_DEVICE",SWIG_From_int(static_cast< int >(1)));
27648 SWIG_Octave_SetConstant(module_ns,"PLSWIN_WORLD",SWIG_From_int(static_cast< int >(2)));
27649 SWIG_Octave_SetConstant(module_ns,"PL_X_AXIS",SWIG_From_int(static_cast< int >(1)));
27650 SWIG_Octave_SetConstant(module_ns,"PL_Y_AXIS",SWIG_From_int(static_cast< int >(2)));
27651 SWIG_Octave_SetConstant(module_ns,"PL_Z_AXIS",SWIG_From_int(static_cast< int >(3)));
27652 SWIG_Octave_SetConstant(module_ns,"PL_OPT_ENABLED",SWIG_From_int(static_cast< int >(0x0001)));
27653 SWIG_Octave_SetConstant(module_ns,"PL_OPT_ARG",SWIG_From_int(static_cast< int >(0x0002)));
27654 SWIG_Octave_SetConstant(module_ns,"PL_OPT_NODELETE",SWIG_From_int(static_cast< int >(0x0004)));
27655 SWIG_Octave_SetConstant(module_ns,"PL_OPT_INVISIBLE",SWIG_From_int(static_cast< int >(0x0008)));
27656 SWIG_Octave_SetConstant(module_ns,"PL_OPT_DISABLED",SWIG_From_int(static_cast< int >(0x0010)));
27657 SWIG_Octave_SetConstant(module_ns,"PL_OPT_FUNC",SWIG_From_int(static_cast< int >(0x0100)));
27658 SWIG_Octave_SetConstant(module_ns,"PL_OPT_BOOL",SWIG_From_int(static_cast< int >(0x0200)));
27659 SWIG_Octave_SetConstant(module_ns,"PL_OPT_INT",SWIG_From_int(static_cast< int >(0x0400)));
27660 SWIG_Octave_SetConstant(module_ns,"PL_OPT_FLOAT",SWIG_From_int(static_cast< int >(0x0800)));
27661 SWIG_Octave_SetConstant(module_ns,"PL_OPT_STRING",SWIG_From_int(static_cast< int >(0x1000)));
27662 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_PARTIAL",SWIG_From_int(static_cast< int >(0x0000)));
27663 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_FULL",SWIG_From_int(static_cast< int >(0x0001)));
27664 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_QUIET",SWIG_From_int(static_cast< int >(0x0002)));
27665 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_NODELETE",SWIG_From_int(static_cast< int >(0x0004)));
27666 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_SHOWALL",SWIG_From_int(static_cast< int >(0x0008)));
27667 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_OVERRIDE",SWIG_From_int(static_cast< int >(0x0010)));
27668 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_NOPROGRAM",SWIG_From_int(static_cast< int >(0x0020)));
27669 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_NODASH",SWIG_From_int(static_cast< int >(0x0040)));
27670 SWIG_Octave_SetConstant(module_ns,"PL_PARSE_SKIP",SWIG_From_int(static_cast< int >(0x0080)));
27671 SWIG_Octave_SetConstant(module_ns,"PL_FCI_MARK",SWIG_From_int(static_cast< int >(0x80000000)));
27672 SWIG_Octave_SetConstant(module_ns,"PL_FCI_IMPOSSIBLE",SWIG_From_int(static_cast< int >(0x00000000)));
27673 SWIG_Octave_SetConstant(module_ns,"PL_FCI_HEXDIGIT_MASK",SWIG_From_int(static_cast< int >(0xf)));
27674 SWIG_Octave_SetConstant(module_ns,"PL_FCI_HEXPOWER_MASK",SWIG_From_int(static_cast< int >(0x7)));
27675 SWIG_Octave_SetConstant(module_ns,"PL_FCI_HEXPOWER_IMPOSSIBLE",SWIG_From_int(static_cast< int >(0xf)));
27676 SWIG_Octave_SetConstant(module_ns,"PL_FCI_FAMILY",SWIG_From_int(static_cast< int >(0x0)));
27677 SWIG_Octave_SetConstant(module_ns,"PL_FCI_STYLE",SWIG_From_int(static_cast< int >(0x1)));
27678 SWIG_Octave_SetConstant(module_ns,"PL_FCI_WEIGHT",SWIG_From_int(static_cast< int >(0x2)));
27679 SWIG_Octave_SetConstant(module_ns,"PL_FCI_SANS",SWIG_From_int(static_cast< int >(0x0)));
27680 SWIG_Octave_SetConstant(module_ns,"PL_FCI_SERIF",SWIG_From_int(static_cast< int >(0x1)));
27681 SWIG_Octave_SetConstant(module_ns,"PL_FCI_MONO",SWIG_From_int(static_cast< int >(0x2)));
27682 SWIG_Octave_SetConstant(module_ns,"PL_FCI_SCRIPT",SWIG_From_int(static_cast< int >(0x3)));
27683 SWIG_Octave_SetConstant(module_ns,"PL_FCI_SYMBOL",SWIG_From_int(static_cast< int >(0x4)));
27684 SWIG_Octave_SetConstant(module_ns,"PL_FCI_UPRIGHT",SWIG_From_int(static_cast< int >(0x0)));
27685 SWIG_Octave_SetConstant(module_ns,"PL_FCI_ITALIC",SWIG_From_int(static_cast< int >(0x1)));
27686 SWIG_Octave_SetConstant(module_ns,"PL_FCI_OBLIQUE",SWIG_From_int(static_cast< int >(0x2)));
27687 SWIG_Octave_SetConstant(module_ns,"PL_FCI_MEDIUM",SWIG_From_int(static_cast< int >(0x0)));
27688 SWIG_Octave_SetConstant(module_ns,"PL_FCI_BOLD",SWIG_From_int(static_cast< int >(0x1)));
27689 SWIG_Octave_SetConstant(module_ns,"PL_MAXKEY",SWIG_From_int(static_cast< int >(16)));
27690 SWIG_Octave_SetConstant(module_ns,"PL_MASK_SHIFT",SWIG_From_int(static_cast< int >(0x1)));
27691 SWIG_Octave_SetConstant(module_ns,"PL_MASK_CAPS",SWIG_From_int(static_cast< int >(0x2)));
27692 SWIG_Octave_SetConstant(module_ns,"PL_MASK_CONTROL",SWIG_From_int(static_cast< int >(0x4)));
27693 SWIG_Octave_SetConstant(module_ns,"PL_MASK_ALT",SWIG_From_int(static_cast< int >(0x8)));
27694 SWIG_Octave_SetConstant(module_ns,"PL_MASK_NUM",SWIG_From_int(static_cast< int >(0x10)));
27695 SWIG_Octave_SetConstant(module_ns,"PL_MASK_ALTGR",SWIG_From_int(static_cast< int >(0x20)));
27696 SWIG_Octave_SetConstant(module_ns,"PL_MASK_WIN",SWIG_From_int(static_cast< int >(0x40)));
27697 SWIG_Octave_SetConstant(module_ns,"PL_MASK_SCROLL",SWIG_From_int(static_cast< int >(0x80)));
27698 SWIG_Octave_SetConstant(module_ns,"PL_MASK_BUTTON1",SWIG_From_int(static_cast< int >(0x100)));
27699 SWIG_Octave_SetConstant(module_ns,"PL_MASK_BUTTON2",SWIG_From_int(static_cast< int >(0x200)));
27700 SWIG_Octave_SetConstant(module_ns,"PL_MASK_BUTTON3",SWIG_From_int(static_cast< int >(0x400)));
27701 SWIG_Octave_SetConstant(module_ns,"PL_MASK_BUTTON4",SWIG_From_int(static_cast< int >(0x800)));
27702 SWIG_Octave_SetConstant(module_ns,"PL_MASK_BUTTON5",SWIG_From_int(static_cast< int >(0x1000)));
27703 SWIG_Octave_SetConstant(module_ns,"PL_MAXWINDOWS",SWIG_From_int(static_cast< int >(64)));
27704 SWIG_Octave_SetConstant(module_ns,"PL_NOTSET",SWIG_From_int(static_cast< int >((-42))));
27705 SWIG_Octave_SetConstant(module_ns,"PL_DEFAULT_NCOL0",SWIG_From_int(static_cast< int >(16)));
27706 SWIG_Octave_SetConstant(module_ns,"PL_DEFAULT_NCOL1",SWIG_From_int(static_cast< int >(128)));
27707 SWIG_Octave_SetConstant(module_ns,"MIN_PLINT_RGB",SWIG_From_int(static_cast< int >(0)));
27708 SWIG_Octave_SetConstant(module_ns,"MAX_PLINT_RGB",SWIG_From_int(static_cast< int >(255)));
27709 SWIG_Octave_SetConstant(module_ns,"MIN_PLFLT_CMAP1",SWIG_From_double(static_cast< double >(0.)));
27710 SWIG_Octave_SetConstant(module_ns,"MAX_PLFLT_CMAP1",SWIG_From_double(static_cast< double >(1.)));
27711 SWIG_Octave_SetConstant(module_ns,"MIN_PLFLT_ALPHA",SWIG_From_double(static_cast< double >(0.)));
27712 SWIG_Octave_SetConstant(module_ns,"MAX_PLFLT_ALPHA",SWIG_From_double(static_cast< double >(1.)));
27713 SWIG_Octave_SetConstant(module_ns,"PLESC_DOUBLEBUFFERING_ENABLE",SWIG_From_int(static_cast< int >(1)));
27714 SWIG_Octave_SetConstant(module_ns,"PLESC_DOUBLEBUFFERING_DISABLE",SWIG_From_int(static_cast< int >(2)));
27715 SWIG_Octave_SetConstant(module_ns,"PLESC_DOUBLEBUFFERING_QUERY",SWIG_From_int(static_cast< int >(3)));
27716 SWIG_Octave_SetConstant(module_ns,"PL_BIN_DEFAULT",SWIG_From_int(static_cast< int >(0x0)));
27717 SWIG_Octave_SetConstant(module_ns,"PL_BIN_CENTRED",SWIG_From_int(static_cast< int >(0x1)));
27718 SWIG_Octave_SetConstant(module_ns,"PL_BIN_NOEXPAND",SWIG_From_int(static_cast< int >(0x2)));
27719 SWIG_Octave_SetConstant(module_ns,"PL_BIN_NOEMPTY",SWIG_From_int(static_cast< int >(0x4)));
27720 SWIG_Octave_SetConstant(module_ns,"GRID_CSA",SWIG_From_int(static_cast< int >(1)));
27721 SWIG_Octave_SetConstant(module_ns,"GRID_DTLI",SWIG_From_int(static_cast< int >(2)));
27722 SWIG_Octave_SetConstant(module_ns,"GRID_NNI",SWIG_From_int(static_cast< int >(3)));
27723 SWIG_Octave_SetConstant(module_ns,"GRID_NNIDW",SWIG_From_int(static_cast< int >(4)));
27724 SWIG_Octave_SetConstant(module_ns,"GRID_NNLI",SWIG_From_int(static_cast< int >(5)));
27725 SWIG_Octave_SetConstant(module_ns,"GRID_NNAIDW",SWIG_From_int(static_cast< int >(6)));
27726 SWIG_Octave_SetConstant(module_ns,"PL_HIST_DEFAULT",SWIG_From_int(static_cast< int >(0x00)));
27727 SWIG_Octave_SetConstant(module_ns,"PL_HIST_NOSCALING",SWIG_From_int(static_cast< int >(0x01)));
27728 SWIG_Octave_SetConstant(module_ns,"PL_HIST_IGNORE_OUTLIERS",SWIG_From_int(static_cast< int >(0x02)));
27729 SWIG_Octave_SetConstant(module_ns,"PL_HIST_NOEXPAND",SWIG_From_int(static_cast< int >(0x08)));
27730 SWIG_Octave_SetConstant(module_ns,"PL_HIST_NOEMPTY",SWIG_From_int(static_cast< int >(0x10)));
27731 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_NULL",SWIG_From_int(static_cast< int >(0x0)));
27732 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_LEFT",SWIG_From_int(static_cast< int >(0x1)));
27733 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_RIGHT",SWIG_From_int(static_cast< int >(0x2)));
27734 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_TOP",SWIG_From_int(static_cast< int >(0x4)));
27735 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_BOTTOM",SWIG_From_int(static_cast< int >(0x8)));
27736 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_INSIDE",SWIG_From_int(static_cast< int >(0x10)));
27737 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_OUTSIDE",SWIG_From_int(static_cast< int >(0x20)));
27738 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_VIEWPORT",SWIG_From_int(static_cast< int >(0x40)));
27739 SWIG_Octave_SetConstant(module_ns,"PL_POSITION_SUBPAGE",SWIG_From_int(static_cast< int >(0x80)));
27740 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_NULL",SWIG_From_int(static_cast< int >(0x0)));
27741 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_NONE",SWIG_From_int(static_cast< int >(0x1)));
27742 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_COLOR_BOX",SWIG_From_int(static_cast< int >(0x2)));
27743 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_LINE",SWIG_From_int(static_cast< int >(0x4)));
27744 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_SYMBOL",SWIG_From_int(static_cast< int >(0x8)));
27745 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_TEXT_LEFT",SWIG_From_int(static_cast< int >(0x10)));
27746 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_BACKGROUND",SWIG_From_int(static_cast< int >(0x20)));
27747 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_BOUNDING_BOX",SWIG_From_int(static_cast< int >(0x40)));
27748 SWIG_Octave_SetConstant(module_ns,"PL_LEGEND_ROW_MAJOR",SWIG_From_int(static_cast< int >(0x80)));
27749 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_NULL",SWIG_From_int(static_cast< int >(0x0)));
27750 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_LABEL_LEFT",SWIG_From_int(static_cast< int >(0x1)));
27751 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_LABEL_RIGHT",SWIG_From_int(static_cast< int >(0x2)));
27752 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_LABEL_TOP",SWIG_From_int(static_cast< int >(0x4)));
27753 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_LABEL_BOTTOM",SWIG_From_int(static_cast< int >(0x8)));
27754 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_IMAGE",SWIG_From_int(static_cast< int >(0x10)));
27755 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_SHADE",SWIG_From_int(static_cast< int >(0x20)));
27756 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_GRADIENT",SWIG_From_int(static_cast< int >(0x40)));
27757 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_CAP_NONE",SWIG_From_int(static_cast< int >(0x80)));
27758 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_CAP_LOW",SWIG_From_int(static_cast< int >(0x100)));
27759 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_CAP_HIGH",SWIG_From_int(static_cast< int >(0x200)));
27760 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_SHADE_LABEL",SWIG_From_int(static_cast< int >(0x400)));
27761 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_ORIENT_RIGHT",SWIG_From_int(static_cast< int >(0x800)));
27762 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_ORIENT_TOP",SWIG_From_int(static_cast< int >(0x1000)));
27763 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_ORIENT_LEFT",SWIG_From_int(static_cast< int >(0x2000)));
27764 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_ORIENT_BOTTOM",SWIG_From_int(static_cast< int >(0x4000)));
27765 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_BACKGROUND",SWIG_From_int(static_cast< int >(0x8000)));
27766 SWIG_Octave_SetConstant(module_ns,"PL_COLORBAR_BOUNDING_BOX",SWIG_From_int(static_cast< int >(0x10000)));
27767 SWIG_Octave_SetConstant(module_ns,"PL_DRAWMODE_UNKNOWN",SWIG_From_int(static_cast< int >(0x0)));
27768 SWIG_Octave_SetConstant(module_ns,"PL_DRAWMODE_DEFAULT",SWIG_From_int(static_cast< int >(0x1)));
27769 SWIG_Octave_SetConstant(module_ns,"PL_DRAWMODE_REPLACE",SWIG_From_int(static_cast< int >(0x2)));
27770 SWIG_Octave_SetConstant(module_ns,"PL_DRAWMODE_XOR",SWIG_From_int(static_cast< int >(0x4)));
27771 SWIG_Octave_SetConstant(module_ns,"DRAW_LINEX",SWIG_From_int(static_cast< int >(0x001)));
27772 SWIG_Octave_SetConstant(module_ns,"DRAW_LINEY",SWIG_From_int(static_cast< int >(0x002)));
27773 SWIG_Octave_SetConstant(module_ns,"DRAW_LINEXY",SWIG_From_int(static_cast< int >(0x003)));
27774 SWIG_Octave_SetConstant(module_ns,"MAG_COLOR",SWIG_From_int(static_cast< int >(0x004)));
27775 SWIG_Octave_SetConstant(module_ns,"BASE_CONT",SWIG_From_int(static_cast< int >(0x008)));
27776 SWIG_Octave_SetConstant(module_ns,"TOP_CONT",SWIG_From_int(static_cast< int >(0x010)));
27777 SWIG_Octave_SetConstant(module_ns,"SURF_CONT",SWIG_From_int(static_cast< int >(0x020)));
27778 SWIG_Octave_SetConstant(module_ns,"DRAW_SIDES",SWIG_From_int(static_cast< int >(0x040)));
27779 SWIG_Octave_SetConstant(module_ns,"FACETED",SWIG_From_int(static_cast< int >(0x080)));
27780 SWIG_Octave_SetConstant(module_ns,"MESH",SWIG_From_int(static_cast< int >(0x100)));
27781 return true;
27782}
27783
octave_swig_bound_func & operator=(const octave_swig_bound_func &f)=delete
octave_value_list subsref(const std::string &ops, const std::list< octave_value_list > &idx, int nargout)
octave_swig_bound_func(octave_function *_method, octave_value_list _first_args)
octave_value_list call(octave::tree_evaluator &tw, int nargout=0, const octave_value_list &args=octave_value_list())
octave_value_list execute(octave::tree_evaluator &tw, int nargout=0, const octave_value_list &args=octave_value_list())
std::set< std::string > dispatch_classes
~octave_swig_bound_func(void)=default
octave_swig_bound_func(const octave_swig_bound_func &f)=delete
octave_function * function_value(bool=false)
octave_value subsref(const std::string &ops, const std::list< octave_value_list > &idx)
static void set_type_id(int type_id)
virtual bool load_ascii(std::istream &is)
octave_base_value * empty_clone() const
octave_swig_packed(swig_type_info *_type=0, const void *_buf=0, size_t _buf_len=0)
void print(std::ostream &os, bool pr_as_read_syntax=false)
virtual bool load_binary(std::istream &is, bool swap, octave::mach_info::float_format fmt)
bool copy(swig_type_info *outtype, void *ptr, size_t sz) const
virtual bool save_binary(std::ostream &os, bool save_as_floats)
octave_base_value * clone() const
virtual bool save_ascii(std::ostream &os)
virtual string_vector map_keys() const
virtual octave_value as_double(void) const
virtual double scalar_value(bool frc_str_conv=false) 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)
void print(std::ostream &os, bool pr_as_read_syntax=false)
octave_swig_type * get_ptr() const
dim_vector dims(void) const
octave_base_value * clone() const
virtual octave_map map_value() const
virtual octave_value map(octave_base_value::unary_mapper_t umap) const
virtual octave_value as_single(void) const
virtual bool isobject() const
virtual bool is_string() const
virtual std::string string_value(bool force=false) const
virtual bool save_binary(std::ostream &os, bool save_as_floats)
virtual type_conv_info numeric_conversion_function(void) const
virtual bool load_binary(std::istream &is, bool swap, octave::mach_info::float_format fmt)
virtual octave_value convert_to_str(bool pad=false, bool force=false, char type='"') const
octave_base_value * empty_clone() const
static void set_type_id(int type_id)
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)
virtual octave_value convert_to_str_internal(bool pad, bool force, char type) const
octave_swig_ref(octave_swig_type *_ptr=0)
virtual bool isstruct() const
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 print(std::ostream &os, bool pr_as_read_syntax=false)
void load_members(member_map &out) 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 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)
octave_value_list member_invoke(member_value_pair *m, const octave_value_list &args, int nargout)
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)
virtual bool isstruct() const
virtual octave_map map_value() const
virtual bool save_binary(std::ostream &os, bool save_as_floats)
virtual bool isobject() const
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
virtual octave_value map(octave_base_value::unary_mapper_t umap) const
virtual octave_value as_double(void) const
static bool dispatch_global_op(const std::string &symbol, const octave_value_list &args, octave_value &ret)
virtual octave_value as_single(void) const
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
virtual bool load_binary(std::istream &is, bool swap, octave::mach_info::float_format fmt)
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 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
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_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
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
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
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)
#define SWIG_FromCharPtrAndSize(carray, size)
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)
#define SWIG_IsBinaryStr(r)
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
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
char * strcpy(char *dst, const char *src)
static tclMatrixXtnsnDescr * head
Definition tclMatrix.c:466
static Tcl_Interp * interp
Definition tkMain.c:117
static const char * name
Definition tkMain.c:132