10#define SWIG_VERSION 0x040401
12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
14#define SWIG_name "_plplotc"
21#ifndef SWIGTEMPLATEDISAMBIGUATOR
22# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
23# define SWIGTEMPLATEDISAMBIGUATOR template
24# elif defined(__HP_aCC)
27# define SWIGTEMPLATEDISAMBIGUATOR template
29# define SWIGTEMPLATEDISAMBIGUATOR
35# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
36# define SWIGINLINE inline
45# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
46# define SWIGUNUSED __attribute__ ((__unused__))
51# define SWIGUNUSED __attribute__ ((__unused__))
57#ifndef SWIG_MSC_UNSUPPRESS_4505
59# pragma warning(disable : 4505)
65# define SWIGUNUSEDPARM(p)
67# define SWIGUNUSEDPARM(p) p SWIGUNUSED
73# define SWIGINTERN static SWIGUNUSED
77#ifndef SWIGINTERNINLINE
78# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
83# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
84# ifndef GCC_HASCLASSVISIBILITY
85# define GCC_HASCLASSVISIBILITY
91# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
92# if defined(STATIC_LINKED)
95# define SWIGEXPORT __declspec(dllexport)
98# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
99# define SWIGEXPORT __attribute__ ((visibility("default")))
108# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
109# define SWIGSTDCALL __stdcall
116#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
117# define _CRT_SECURE_NO_DEPRECATE
121#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
122# define _SCL_SECURE_NO_DEPRECATE
126#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
127# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
135#ifdef __INTEL_COMPILER
136# pragma warning disable 592
139#if defined(__cplusplus) && __cplusplus >=201103L
140# define SWIG_NOEXCEPT noexcept
142# define SWIG_NOEXCEPT throw()
158#if ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) || \
159 (defined __cplusplus && __cplusplus >= 201103L) || \
160 defined SWIG_HAVE_SNPRINTF) && \
161 !defined SWIG_NO_SNPRINTF
162# define SWIG_snprintf(O,S,F,A) snprintf(O,S,F,A)
163# define SWIG_snprintf2(O,S,F,A,B) snprintf(O,S,F,A,B)
169# define SWIG_snprintf(O,S,F,A) sprintf(O,F,A)
170# define SWIG_snprintf2(O,S,F,A,B) sprintf(O,F,A,B)
174#if defined(__GNUC__) && defined(_WIN32) && !defined(SWIG_PYTHON_NO_HYPOT_WORKAROUND)
179#if !defined(PY_SSIZE_T_CLEAN) && !defined(SWIG_NO_PY_SSIZE_T_CLEAN)
180#define PY_SSIZE_T_CLEAN
184#pragma GCC diagnostic push
185#if defined(__cplusplus) && __cplusplus >=201703L
186#pragma GCC diagnostic ignored "-Wregister"
190#if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG)
193#if defined(_MSC_VER) && _MSC_VER >= 1929
208#pragma GCC diagnostic pop
223#define SWIG_RUNTIME_VERSION "5"
226#ifdef SWIG_TYPE_TABLE
227# define SWIG_QUOTE_STRING(x) #x
228# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
229# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
231# define SWIG_TYPE_TABLE_NAME
244# define SWIGRUNTIME SWIGINTERN
247#ifndef SWIGRUNTIMEINLINE
248# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
252#ifndef SWIG_BUFFER_SIZE
253# define SWIG_BUFFER_SIZE 1024
257#define SWIG_POINTER_DISOWN 0x1
258#define SWIG_CAST_NEW_MEMORY 0x2
259#define SWIG_POINTER_NO_NULL 0x4
260#define SWIG_POINTER_CLEAR 0x8
261#define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN)
264#define SWIG_POINTER_OWN 0x1
348#define SWIG_ERROR (-1)
352#define SWIG_ERROR_RELEASE_NOT_OWNED (-200)
354#define SWIG_IsOK(r) (r >= 0)
355#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
358#define SWIG_CASTRANKLIMIT (1 << 8)
360#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
362#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
364#define SWIG_BADOBJ (SWIG_ERROR)
365#define SWIG_OLDOBJ (SWIG_OK)
366#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
367#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
369#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
370#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
371#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
372#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
373#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
374#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
377#if defined(SWIG_CASTRANK_MODE)
378# ifndef SWIG_TypeRank
379# define SWIG_TypeRank unsigned long
381# ifndef SWIG_MAXCASTRANK
382# define SWIG_MAXCASTRANK (2)
384# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
385# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
390 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
393# define SWIG_AddCast(r) (r)
394# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
404typedef void *(*swig_converter_func)(
void *,
int *);
446 const char *f2,
const char *l2) {
447 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
448 while ((*f1 ==
' ') && (f1 != l1)) ++f1;
449 while ((*f2 ==
' ') && (f2 != l2)) ++f2;
450 if (*f1 != *f2)
return (*f1 > *f2) ? 1 : -1;
452 return (
int)((l1 - f1) - (l2 - f2));
462 const char* te = tb + strlen(tb);
464 while (equiv != 0 && *ne) {
465 for (nb = ne; *ne; ++ne) {
466 if (*ne ==
'|')
break;
487 const unsigned char *data = (
const unsigned char *)str;
488 unsigned int hash = len, i = 0, k;
491 while (rem >= (
int)
sizeof(
unsigned int)) {
492 memcpy(&k, data,
sizeof(
unsigned int));
496 data +=
sizeof(
unsigned int);
497 rem -=
sizeof(
unsigned int);
501 case 3: k = (
unsigned int)(data[2]) << 16;
502 k |= (
unsigned int)(data[1]) << 8;
503 k |= (
unsigned int)(data[0]);
508 case 2: k = (
unsigned int)(data[1]) << 8;
509 k |= (
unsigned int)(data[0]);
514 case 1: k = (
unsigned int)(data[0]);
528 static const unsigned int scan_threshold = 4;
531 unsigned int hash_value = 0;
536 if (strcmp(
head->type->name, c) == 0) {
547 if (
head->value < scan_threshold) {
548 for (iter = first; iter <= last; iter++) {
549 if (strcmp(iter->
type->
name, c) == 0) {
556 hash_value =
SWIG_Hash(c, (
unsigned int)strlen(c));
563 iter = first + ((last - first) >> 1);
564 if (iter->
value < hash_value) {
566 }
else if (iter->
value == hash_value) {
573 for (last = iter + 1; last->
next && last->
value == hash_value; last++) {
578 for (first = iter - 1; first !=
head && first->
value == hash_value; first--) {
586 }
while (first <= last);
603 if (
head->type == from) {
614 iter = first + ((last - first) >> 1);
615 if (iter->
type < from) {
617 }
else if (iter->
type == from) {
621 }
while (first <= last);
643 if (!ty || !ty->
dcast)
return ty;
644 while (ty && (ty->
dcast)) {
645 ty = (*ty->
dcast)(ptr);
669 if (!type)
return NULL;
670 if (type->str != NULL) {
671 const char *last_name = type->str;
673 for (s = type->str; *s; s++)
674 if (*s ==
'|') last_name = s+1;
692 for (cast =
head; (cast -
head) <=
head->value; cast++) {
726 size_t r = iter->
size - 1;
729 size_t i = (l + r) >> 1;
730 const char *iname = iter->
types[i]->
name;
732 int compare = strcmp(
name, iname);
734 return iter->
types[i];
735 }
else if (compare < 0) {
741 }
else if (compare > 0) {
750 }
while (iter != end);
777 for (; i < iter->
size; ++i) {
779 return iter->
types[i];
782 }
while (iter != end);
794 static const char hex[17] =
"0123456789abcdef";
795 const unsigned char *u = (
unsigned char *) ptr;
796 const unsigned char *eu = u + sz;
797 for (; u != eu; ++u) {
798 unsigned char uu = *u;
799 *(c++) = hex[(uu & 0xf0) >> 4];
800 *(c++) = hex[uu & 0xf];
810 unsigned char *u = (
unsigned char *) ptr;
811 const unsigned char *eu = u + sz;
812 for (; u != eu; ++u) {
815 if ((d >=
'0') && (d <=
'9'))
816 uu = (
unsigned char)((d -
'0') << 4);
817 else if ((d >=
'a') && (d <=
'f'))
818 uu = (
unsigned char)((d - (
'a'-10)) << 4);
822 if ((d >=
'0') && (d <=
'9'))
823 uu |= (
unsigned char)(d -
'0');
824 else if ((d >=
'a') && (d <=
'f'))
825 uu |= (
unsigned char)(d - (
'a'-10));
839 if ((2*
sizeof(
void *) + 2) > bsz)
return 0;
842 if (strlen(
name) + 1 > (bsz - (r - buff)))
return 0;
850 if (strcmp(c,
"NULL") == 0) {
863 size_t lname = (
name ? strlen(
name) : 0);
864 if ((2*sz + 2 + lname) > bsz)
return 0;
868 strncpy(r,
name,lname+1);
878 if (strcmp(c,
"NULL") == 0) {
893#define SWIG_UnknownError -1
894#define SWIG_IOError -2
895#define SWIG_RuntimeError -3
896#define SWIG_IndexError -4
897#define SWIG_TypeError -5
898#define SWIG_DivisionByZero -6
899#define SWIG_OverflowError -7
900#define SWIG_SyntaxError -8
901#define SWIG_ValueError -9
902#define SWIG_SystemError -10
903#define SWIG_AttributeError -11
904#define SWIG_MemoryError -12
905#define SWIG_NullReferenceError -13
908#if PY_VERSION_HEX >= 0x03030000 && !defined(SWIG_NO_HEAPTYPES)
909#if !defined(SWIG_HEAPTYPES)
910#define SWIG_HEAPTYPES
915#if PY_VERSION_HEX >= 0x03000000
917#define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type)
918#define PyInt_Check(x) PyLong_Check(x)
919#define PyInt_AsLong(x) PyLong_AsLong(x)
920#define PyInt_FromLong(x) PyLong_FromLong(x)
921#define PyInt_FromSize_t(x) PyLong_FromSize_t(x)
922#define PyString_Check(name) PyBytes_Check(name)
923#define PyString_FromString(x) PyUnicode_FromString(x)
924#define PyString_Format(fmt, args) PyUnicode_Format(fmt, args)
925#define PyString_AsString(str) PyBytes_AsString(str)
926#define PyString_Size(str) PyBytes_Size(str)
927#define PyString_InternFromString(key) PyUnicode_InternFromString(key)
928#define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE
929#define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x)
935#if PY_VERSION_HEX >= 0x03000000
936# define SWIG_Python_str_FromFormat PyUnicode_FromFormat
938# define SWIG_Python_str_FromFormat PyString_FromFormat
941#if defined(SWIG_HEAPTYPES)
942#if PY_VERSION_HEX < 0x030c0000
943#include <structmember.h>
944#define Py_READONLY READONLY
945#define Py_T_PYSSIZET T_PYSSIZET
956#if PY_VERSION_HEX >= 0x03030000
957# if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030A0000
959 return PyUnicode_AsUTF8AndSize(str, psize);
962 *pbytes = PyUnicode_AsUTF8String(str);
963 chars = *pbytes ? PyBytes_AsString(*pbytes) : NULL;
965 *psize = PyBytes_Size(*pbytes);
971 PyString_AsStringAndSize(str, &chars, psize);
979#if PY_VERSION_HEX >= 0x03000000
980 return PyUnicode_FromString(c);
982 return PyString_FromString(c);
986#define SWIG_RUNTIME_MODULE "swig_runtime_data" SWIG_RUNTIME_VERSION
989# define SWIGPY_USE_CAPSULE
990#ifdef SWIGPYTHON_BUILTIN
991# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule_builtin" SWIG_TYPE_TABLE_NAME
993# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule" SWIG_TYPE_TABLE_NAME
995#define SWIGPY_CAPSULE_NAME SWIG_RUNTIME_MODULE "." SWIGPY_CAPSULE_ATTR_NAME
997#if PY_VERSION_HEX < 0x03020000
998#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
999#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
1000#define Py_hash_t long
1003#if defined(Py_LIMITED_API)
1004# define PyTuple_GET_ITEM PyTuple_GetItem
1007# define PyTuple_SET_ITEM PyTuple_SetItem
1008# define PyTuple_GET_SIZE PyTuple_Size
1009# define PyCFunction_GET_FLAGS PyCFunction_GetFlags
1010# define PyCFunction_GET_FUNCTION PyCFunction_GetFunction
1011# define PyCFunction_GET_SELF PyCFunction_GetSelf
1012# define PyList_GET_ITEM PyList_GetItem
1013# define PyList_SET_ITEM PyList_SetItem
1014# define PySliceObject PyObject
1018#ifdef Py_LIMITED_API
1019# define SWIG_Py_INCREF Py_IncRef
1020# define SWIG_Py_XINCREF Py_IncRef
1021# define SWIG_Py_DECREF Py_DecRef
1022# define SWIG_Py_XDECREF Py_DecRef
1024# define SWIG_Py_INCREF Py_INCREF
1025# define SWIG_Py_XINCREF Py_XINCREF
1026# define SWIG_Py_DECREF Py_DECREF
1027# define SWIG_Py_XDECREF Py_XDECREF
1030#if PY_VERSION_HEX >= 0x03000000
1031#if (PY_VERSION_HEX >= 0x030d00a6) && (!defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d00a6)
1032# define SWIG_PyType_GetFullyQualifiedName PyType_GetFullyQualifiedName
1035SWIG_PyType_GetFullyQualifiedName(PyTypeObject *type) {
1036 PyObject *result = NULL;
1037 PyObject *qualname = PyObject_GetAttrString((PyObject *)type,
"__qualname__");
1039 PyObject *mod = PyObject_GetAttrString((PyObject *)type,
"__module__");
1041 if (PyUnicode_Check(mod) && PyUnicode_CompareWithASCIIString(mod,
"builtins") && PyUnicode_CompareWithASCIIString(mod,
"__main__")) {
1042 result = PyUnicode_FromFormat(
"%U%c%U", mod,
'.', qualname);
1059#if (PY_VERSION_HEX >= 0x030d00a4) && (!defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d00a4)
1060# define SWIG_PyList_GetItemRef PyList_GetItemRef
1064 PyObject *item = PyList_GetItem(op, index);
1072#if (PY_VERSION_HEX >= 0x030d00a1) && (!defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d00a1)
1073# define SWIG_PyDict_GetItemRef PyDict_GetItemRef
1074# define SWIG_PyDict_GetItemStringRef PyDict_GetItemStringRef
1078#if PY_VERSION_HEX >= 0x03000000
1079 PyObject *item = PyDict_GetItemWithError(mp, key);
1081 PyObject *item = _PyDict_GetItemWithError(mp, key);
1084 *result = (PyObject *)(item);
1088 if (!PyErr_Occurred()) {
1099#if PY_VERSION_HEX >= 0x03000000
1100 PyObject *key_obj = PyUnicode_FromString(key);
1102 PyObject *key_obj = PyString_FromString(key);
1104 if (key_obj == NULL) {
1123 type = PyExc_MemoryError;
1126 type = PyExc_IOError;
1129 type = PyExc_RuntimeError;
1132 type = PyExc_IndexError;
1135 type = PyExc_TypeError;
1138 type = PyExc_ZeroDivisionError;
1141 type = PyExc_OverflowError;
1144 type = PyExc_SyntaxError;
1147 type = PyExc_ValueError;
1150 type = PyExc_SystemError;
1153 type = PyExc_AttributeError;
1156 type = PyExc_TypeError;
1159 type = PyExc_RuntimeError;
1169 PyObject *
value = 0;
1170 PyObject *traceback = 0;
1172 if (PyErr_Occurred())
1173 PyErr_Fetch(&type, &
value, &traceback);
1175 PyObject *old_str = PyObject_Str(
value);
1176 PyObject *bytes = NULL;
1181 PyErr_Format(type,
"%s %s", tmp, mesg);
1183 PyErr_Format(type,
"%s", mesg);
1188 PyErr_SetString(PyExc_RuntimeError, mesg);
1198 error = PyErr_Occurred();
1199 return error && PyErr_GivenExceptionMatches(
error, PyExc_TypeError);
1208 PyObject *type = NULL, *
value = NULL, *traceback = NULL;
1209 PyErr_Fetch(&type, &
value, &traceback);
1210#if PY_VERSION_HEX >= 0x03000000
1211 newvalue = PyUnicode_FromFormat(
"%S\nAdditional information:\n%s",
value, message);
1213 newvalue = PyString_FromFormat(
"%s\nAdditional information:\n%s", PyString_AsString(
value), message);
1217 PyErr_Restore(type, newvalue, traceback);
1219 PyErr_Restore(type,
value, traceback);
1223 PyErr_SetString(PyExc_TypeError, message);
1227#if defined(SWIG_PYTHON_NO_THREADS)
1228# if defined(SWIG_PYTHON_THREADS)
1229# undef SWIG_PYTHON_THREADS
1232#if defined(SWIG_PYTHON_THREADS)
1233# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
1234# define SWIG_PYTHON_USE_GIL
1236# if defined(SWIG_PYTHON_USE_GIL)
1237# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
1238# if PY_VERSION_HEX < 0x03070000
1239# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
1241# define SWIG_PYTHON_INITIALIZE_THREADS
1245 class SWIG_Python_Thread_Block {
1247 PyGILState_STATE state;
1249 void end() {
if (status) { PyGILState_Release(state); status =
false;} }
1250 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
1251 ~SWIG_Python_Thread_Block() { end(); }
1253 class SWIG_Python_Thread_Allow {
1255 PyThreadState *save;
1257 void end() {
if (status) { status =
false; PyEval_RestoreThread(save); }}
1258 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
1259 ~SWIG_Python_Thread_Allow() { end(); }
1261# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
1262# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
1263# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
1264# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
1266# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
1267# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
1268# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
1269# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
1272# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
1273# define SWIG_PYTHON_INITIALIZE_THREADS
1275# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
1276# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1278# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
1279# define SWIG_PYTHON_THREAD_END_BLOCK
1281# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
1282# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1284# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
1285# define SWIG_PYTHON_THREAD_END_ALLOW
1289# define SWIG_PYTHON_INITIALIZE_THREADS
1290# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1291# define SWIG_PYTHON_THREAD_END_BLOCK
1292# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1293# define SWIG_PYTHON_THREAD_END_ALLOW
1309#define SWIG_PY_POINTER 4
1310#define SWIG_PY_BINARY 5
1336#if PY_VERSION_HEX < 0x02070000
1337# error "This version of SWIG only supports Python >= 2.7"
1340#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03050000
1341# error "This version of SWIG only supports Python 3 >= 3.5"
1347#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1348#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
1349#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
1351#ifdef SWIGPYTHON_BUILTIN
1352#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
1354#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1357#define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1359#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
1360#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
1361#define swig_owntype int
1364#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1365#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1368#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1369#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1372#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1373#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(NULL, ptr, type, 0)
1376#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1377#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1382#define SWIG_GetModule(clientdata) SWIG_Python_GetModule(clientdata)
1383#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1384#define SWIG_NewClientData(obj) SwigPyClientData_New(obj)
1386#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1387#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1388#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1389#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1390#define SWIG_fail goto fail
1399 PyErr_SetObject(errtype, obj);
1407 PyErr_SetString(errtype, msg);
1411#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1415#if defined(SWIGPYTHON_BUILTIN)
1418SwigPyBuiltin_AddPublicSymbol(PyObject *seq,
const char *key) {
1419 PyObject *s = PyString_InternFromString(key);
1420 PyList_Append(seq, s);
1426 PyDict_SetItemString(d,
name, obj);
1428 if (public_interface)
1429 SwigPyBuiltin_AddPublicSymbol(public_interface,
name);
1436 PyDict_SetItemString(d,
name, obj);
1449#if (PY_VERSION_HEX >= 0x030d0000) && (!defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000)
1453#elif PY_VERSION_HEX >= 0x03000000
1457 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };
1471 }
else if (result == Py_None && is_void) {
1475 if (!PyList_Check(result)) {
1476 PyObject *o2 = result;
1477 result = PyList_New(1);
1479 PyList_SET_ITEM(result, 0, o2);
1485 PyList_Append(result,obj);
1500 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got none",
1505 if (!PyTuple_Check(args)) {
1509 for (i = 1; i <
max; ++i) {
1514 PyErr_SetString(PyExc_SystemError,
"UnpackTuple() argument list is not a tuple");
1517 Py_ssize_t l = PyTuple_GET_SIZE(args);
1519 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got %d",
1522 }
else if (l >
max) {
1523 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got %d",
1528 for (i = 0; i < l; ++i) {
1529 objs[i] = PyTuple_GET_ITEM(args, i);
1531 for (; l <
max; ++l) {
1543 assert(PyDict_Check(kwargs));
1544 if (PyDict_Size(kwargs) > 0) {
1545 PyErr_Format(PyExc_TypeError,
"%s() does not take keyword arguments",
name);
1553#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1560#define SWIG_STATIC_POINTER(var) var
1562#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1570#define SWIG_newvarlink() SWIG_Python_newvarlink()
1571#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
1572#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
1580 PyObject *(*get_attr)(void);
1592#if PY_VERSION_HEX >= 0x03000000
1593 return PyUnicode_InternFromString(
"<Swig global variables>");
1595 return PyString_FromString(
"<Swig global variables>");
1602#if PY_VERSION_HEX >= 0x03000000
1603 PyObject *str = PyUnicode_InternFromString(
"(");
1607 for (var = v->
vars; var; var=var->
next) {
1608 tail = PyUnicode_FromString(var->
name);
1609 joined = PyUnicode_Concat(str,
tail);
1614 tail = PyUnicode_InternFromString(
", ");
1615 joined = PyUnicode_Concat(str,
tail);
1621 tail = PyUnicode_InternFromString(
")");
1622 joined = PyUnicode_Concat(str,
tail);
1627 PyObject *str = PyString_FromString(
"(");
1629 for (var = v->
vars; var; var=var->
next) {
1630 PyString_ConcatAndDel(&str,PyString_FromString(var->
name));
1631 if (var->
next) PyString_ConcatAndDel(&str,PyString_FromString(
", "));
1633 PyString_ConcatAndDel(&str,PyString_FromString(
")"));
1653 PyObject *res = NULL;
1656 if (strcmp(var->
name,n) == 0) {
1662 if (res == NULL && !PyErr_Occurred()) {
1663 PyErr_Format(PyExc_AttributeError,
"Unknown C global variable '%s'", n);
1674 if (strcmp(var->
name,n) == 0) {
1680 if (res == 1 && !PyErr_Occurred()) {
1681 PyErr_Format(PyExc_AttributeError,
"Unknown C global variable '%s'", n);
1688 static char SwigVarLink_doc[] =
"Swig variable link object";
1689#ifndef SWIG_HEAPTYPES
1690 static PyTypeObject varlink_type;
1691 static int type_init = 0;
1693 const PyTypeObject tmp = {
1694#if PY_VERSION_HEX >= 0x03000000
1695 PyVarObject_HEAD_INIT(NULL, 0)
1697 PyObject_HEAD_INIT(NULL)
1704#if PY_VERSION_HEX < 0x030800b4
1728 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1731#if PY_VERSION_HEX >= 0x03040000
1734#if PY_VERSION_HEX >= 0x03080000
1737#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
1740#if PY_VERSION_HEX >= 0x030c0000
1743#if PY_VERSION_HEX >= 0x030d00a4
1757 if (PyType_Ready(&varlink_type) < 0)
1759 if (PyModule_AddObject(runtime_data_module,
"SwigVarLink", (PyObject *)&varlink_type) == 0)
1762 return &varlink_type;
1764 PyType_Slot slots[] = {
1770 { Py_tp_doc, (
void *)SwigVarLink_doc },
1773 PyType_Spec spec = {
1780 PyObject *pytype = PyType_FromSpec(&spec);
1782 if (pytype && PyModule_AddObject(runtime_data_module,
"SwigVarLink", pytype) == 0)
1784 return (PyTypeObject *)pytype;
1801 return ((PyObject*) result);
1809 size_t size = strlen(
name)+1;
1810 gv->
name = (
char *)malloc(size);
1841#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1842#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1844#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1846#define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2)
1847#define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN)
1858 PyObject *none = Py_None;
1881 PyErr_SetString(PyExc_TypeError,
"Implicit conversion is prohibited for explicit constructors.");
1888 PyObject *klass = data ? data->
klass : 0;
1889 return (klass ? klass : PyExc_RuntimeError);
1904 if (PyClass_Check(obj)) {
1909 data->
newraw = PyObject_GetAttrString(data->
klass,
"__new__");
1911 data->
newargs = PyTuple_New(1);
1914 PyTuple_SET_ITEM(data->
newargs, 0, obj);
1927 data->
destroy = PyObject_GetAttrString(data->
klass,
"__swig_destroy__");
1928 if (PyErr_Occurred()) {
1933 data->
delargs = !(PyCFunction_GET_FLAGS(data->
destroy) & METH_O);
1966#ifdef SWIGPYTHON_BUILTIN
1969SwigPyObject_get___dict__(PyObject *v, PyObject *
SWIGUNUSEDPARM(args))
1985 return PyLong_FromVoidPtr(v->
ptr);
1991 PyObject *res = NULL;
1992 PyObject *args = PyTuple_New(1);
1997 PyTuple_SET_ITEM(args, 0, val);
2000#if PY_VERSION_HEX >= 0x03000000
2001 res = PyUnicode_Format(ofmt,args);
2003 res = PyString_Format(ofmt,args);
2030 if (repr && v->
next) {
2033# if PY_VERSION_HEX >= 0x03000000
2034 PyObject *joined = PyUnicode_Concat(repr, nrep);
2039 PyString_ConcatAndDel(&repr,nrep);
2064 return (i < j) ? -1 : ((i > j) ? 1 : 0);
2073 PyObject* res = NULL;
2074 if (!PyErr_Occurred()) {
2080 return Py_NotImplemented;
2090#ifdef SWIGPYTHON_BUILTIN
2095 assert(SwigPyObject_stype);
2112 PyTypeObject *op_type = Py_TYPE(op);
2113#ifdef SWIGPYTHON_BUILTIN
2115 return PyType_IsSubtype(op_type, target_tp);
2118 if (op_type == target_tp) {
2122#if PY_VERSION_HEX >= 0x03000000
2124 PyObject *tpname = SWIG_PyType_GetFullyQualifiedName(op_type);
2146 PyObject *next = sobj->
next;
2150 PyObject *destroy = data ? data->
destroy : 0;
2162 PyObject *type = NULL, *
value = NULL, *traceback = NULL;
2163 PyErr_Fetch(&type, &
value, &traceback);
2175 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
2176 PyObject *mself = PyCFunction_GET_SELF(destroy);
2177 res = ((*meth)(mself, v));
2180 PyErr_WriteUnraisable(destroy);
2182 PyErr_Restore(type,
value, traceback);
2186#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
2189 printf(
"swig/python detected a memory leak of type '%s', no destructor found.\n", (
name ?
name :
"unknown"));
2204 PyErr_SetString(PyExc_TypeError,
"Attempt to append a non SwigPyObject");
2245 if (!PyArg_UnpackTuple(args,
"own", 0, 1, &val)) {
2249 PyObject *obj = PyBool_FromLong(sobj->
own);
2251 if (PyObject_IsTrue(val)) {
2265 {
"own",
SwigPyObject_own, METH_VARARGS,
"returns/sets ownership of the pointer"},
2274 static char SwigPyObject_doc[] =
"Swig object holding a C/C++ pointer";
2275#ifndef SWIG_HEAPTYPES
2276 static PyNumberMethods SwigPyObject_as_number = {
2281#
if PY_VERSION_HEX < 0x03000000
2297#
if PY_VERSION_HEX < 0x03000000
2301#if PY_VERSION_HEX < 0x03000000
2307#if PY_VERSION_HEX < 0x03000000
2311#if PY_VERSION_HEX >= 0x03050000
2312 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2313#elif PY_VERSION_HEX >= 0x03000000
2314 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2316 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2320 static PyTypeObject swigpyobject_type;
2321 static int type_init = 0;
2323 const PyTypeObject tmp = {
2324#if PY_VERSION_HEX >= 0x03000000
2325 PyVarObject_HEAD_INIT(NULL, 0)
2327 PyObject_HEAD_INIT(NULL)
2334#if PY_VERSION_HEX < 0x030800b4
2341#if PY_VERSION_HEX >= 0x03000000
2347 &SwigPyObject_as_number,
2353 PyObject_GenericGetAttr,
2384#if PY_VERSION_HEX >= 0x03040000
2387#if PY_VERSION_HEX >= 0x03080000
2390#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
2393#if PY_VERSION_HEX >= 0x030c0000
2396#if PY_VERSION_HEX >= 0x030d00a4
2408 swigpyobject_type = tmp;
2410 if (PyType_Ready(&swigpyobject_type) != 0)
2412 if (PyModule_AddObject(runtime_data_module,
"SwigPyObject", (PyObject *)&swigpyobject_type) == 0)
2415 return &swigpyobject_type;
2417 static PyMemberDef SwigPyObject_members[] = {
2418 { (
char *)
"__dictoffset__", Py_T_PYSSIZET, offsetof(
SwigPyObject, swigdict), Py_READONLY, NULL },
2419 { (
char *)
"__weaklistoffset__", Py_T_PYSSIZET, offsetof(
SwigPyObject, weakreflist), Py_READONLY, NULL },
2420 { NULL, 0, 0, 0, NULL }
2422 PyType_Slot slots[] = {
2425 { Py_tp_getattro, (
void *)PyObject_GenericGetAttr },
2426 { Py_tp_doc, (
void *)SwigPyObject_doc },
2430 { Py_tp_members, (
void *)SwigPyObject_members },
2433 PyType_Spec spec = {
2437 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE,
2440 PyObject *pytype = PyType_FromSpec(&spec);
2442#if !defined(Py_LIMITED_API)
2445#if PY_VERSION_HEX < 0x03090000
2448 ((PyTypeObject *)pytype)->tp_dictoffset = offsetof(
SwigPyObject, swigdict);
2449 ((PyTypeObject *)pytype)->tp_weaklistoffset = offsetof(
SwigPyObject, weakreflist);
2453 if (pytype && PyModule_AddObject(runtime_data_module,
"SwigPyObject", pytype) == 0)
2455 return (PyTypeObject *)pytype;
2477 return (PyObject *)sobj;
2518 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
2519 return s ? s : strncmp((
const char *)v->
pack, (
const char *)w->
pack, 2*v->
size);
2533 PyTypeObject *op_type = Py_TYPE(op);
2535 if (op_type == target_tp) {
2539#if PY_VERSION_HEX >= 0x03000000
2541 PyObject *tpname = SWIG_PyType_GetFullyQualifiedName(op_type);
2565 static char SwigPyPacked_doc[] =
"Swig object holding a C/C++ function pointer";
2566#ifndef SWIG_HEAPTYPES
2567 static PyTypeObject swigpypacked_type;
2568 static int type_init = 0;
2570 const PyTypeObject tmp = {
2571#if PY_VERSION_HEX >= 0x03000000
2572 PyVarObject_HEAD_INIT(NULL, 0)
2574 PyObject_HEAD_INIT(NULL)
2581#if PY_VERSION_HEX < 0x030800b4
2588#if PY_VERSION_HEX >= 0x03000000
2600 PyObject_GenericGetAttr,
2631#
if PY_VERSION_HEX >= 0x03040000
2634#
if PY_VERSION_HEX >= 0x03080000
2637#
if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
2640#
if PY_VERSION_HEX >= 0x030c0000
2643#
if PY_VERSION_HEX >= 0x030d00a4
2655 swigpypacked_type = tmp;
2657 if (PyType_Ready(&swigpypacked_type) != 0)
2659 if (PyModule_AddObject(runtime_data_module,
"SwigPyPacked", (PyObject *)&swigpypacked_type) == 0)
2662 return &swigpypacked_type;
2664 PyType_Slot slots[] = {
2668 { Py_tp_getattro, (
void *)PyObject_GenericGetAttr },
2669 { Py_tp_doc, (
void *)SwigPyPacked_doc },
2672 PyType_Spec spec = {
2679 PyObject *pytype = PyType_FromSpec(&spec);
2681 if (pytype && PyModule_AddObject(runtime_data_module,
"SwigPyPacked", pytype) == 0)
2683 return (PyTypeObject *)pytype;
2692 void *pack = malloc(size);
2694 memcpy(pack, ptr, size);
2699 PyObject_Free((PyObject *)sobj);
2703 return (PyObject *) sobj;
2711 if (sobj->
size != size)
return 0;
2712 memcpy(ptr, sobj->
pack, size);
2736#if PY_VERSION_HEX >= 0x03000000
2737#define SWIG_PYTHON_SLOW_GETSET_THIS
2749#ifdef SWIGPYTHON_BUILTIN
2751 if (PyWeakref_CheckProxy(pyobj)) {
2752#if PY_VERSION_HEX >= 0x030d0000
2753 if (PyWeakref_GetRef(pyobj, &pyobj) > 0)
2758 pyobj = PyWeakref_GetObject(pyobj);
2768#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2769 if (PyInstance_Check(pyobj)) {
2770 obj = _PyInstance_Lookup(pyobj,
SWIG_This());
2772 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
2773 if (dictptr != NULL) {
2774 PyObject *dict = *dictptr;
2775 obj = dict ? PyDict_GetItem(dict,
SWIG_This()) : 0;
2777 if (PyWeakref_CheckProxy(pyobj)) {
2778 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
2781 obj = PyObject_GetAttr(pyobj,
SWIG_This());
2785 if (PyErr_Occurred()) PyErr_Clear();
2791 obj = PyObject_GetAttr(pyobj,
SWIG_This());
2795 if (PyErr_Occurred()) PyErr_Clear();
2815 int oldown = sobj->
own;
2833 if (obj == Py_None && !implicit_conv) {
2845 void *vptr = sobj->
ptr;
2850 if (ptr) *ptr = vptr;
2870 if (ptr) *ptr = vptr;
2879 *own = *own | sobj->
own;
2889 if (implicit_conv) {
2892 PyObject *klass = data->
klass;
2898 if (PyErr_Occurred()) {
2923 if (!
SWIG_IsOK(res) && obj == Py_None) {
2926 if (PyErr_Occurred())
2939 if (!PyCFunction_Check(obj)) {
2946#ifndef Py_LIMITED_API
2947 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2949 PyObject* pystr_doc = PyObject_GetAttrString(obj,
"__doc__");
2950 PyObject *bytes = NULL;
2953 const char *desc = doc ? strstr(doc,
"swig_ptr: ") : 0;
2956#ifdef Py_LIMITED_API
3003 PyObject *newraw = data->
newraw;
3005 inst = PyObject_Call(newraw, data->
newargs, NULL);
3007#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
3008 PyObject **dictptr = _PyObject_GetDictPtr(inst);
3009 if (dictptr != NULL) {
3010 PyObject *dict = *dictptr;
3012 dict = PyDict_New();
3016 PyDict_SetItem(dict,
SWIG_This(), swig_this);
3023 if (PyObject_SetAttr(inst,
SWIG_This(), swig_this) == -1) {
3030#if PY_VERSION_HEX >= 0x03000000
3031 PyObject *empty_args = PyTuple_New(0);
3033 PyObject *empty_kwargs = PyDict_New();
3035#ifndef Py_LIMITED_API
3036 newfunc newfn = ((PyTypeObject *)data->
newargs)->tp_new;
3038 newfunc newfn = (newfunc)PyType_GetSlot((PyTypeObject *)data->
newargs, Py_tp_new);
3040 inst = newfn((PyTypeObject *)data->
newargs, empty_args, empty_kwargs);
3043 if (PyObject_SetAttr(inst,
SWIG_This(), swig_this) == -1) {
3047 PyType_Modified(Py_TYPE(inst));
3054 PyObject *dict = PyDict_New();
3056 PyDict_SetItem(dict,
SWIG_This(), swig_this);
3057 inst = PyInstance_NewRaw(data->
newargs, dict);
3068#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
3069 PyObject **dictptr = _PyObject_GetDictPtr(inst);
3070 if (dictptr != NULL) {
3071 PyObject *dict = *dictptr;
3073 dict = PyDict_New();
3077 return PyDict_SetItem(dict,
SWIG_This(), swig_this);
3083 return PyObject_SetAttr(inst,
SWIG_This(), swig_this);
3117 if (clientdata && clientdata->
pytype) {
3122#ifndef Py_LIMITED_API
3123 allocfunc alloc = clientdata->
pytype->tp_alloc;
3125 allocfunc alloc = (allocfunc)PyType_GetSlot(clientdata->
pytype, Py_tp_alloc);
3127 PyObject *next_self = alloc(clientdata->
pytype, 0);
3128 while (newobj->
next)
3130 newobj->
next = next_self;
3147 return (PyObject*) newobj;
3174#ifdef SWIG_LINK_RUNTIME
3175void *SWIG_ReturnGlobalTypeList(
void *);
3191#ifdef SWIG_LINK_RUNTIME
3192 static void *type_pointer = (
void *)0;
3194 if (!type_pointer) {
3195 type_pointer = SWIG_ReturnGlobalTypeList((
void *)0);
3199 if (PyErr_Occurred()) {
3201 type_pointer = (
void *)0;
3208#if defined(SWIG_REFCNT_DEBUG)
3209#define SWIG_PYOBJ_REFCNT(OBJ) fprintf(stdout, "" #OBJ " count %ld\n", (OBJ ? Py_REFCNT(OBJ) : 0))
3211#define SWIG_PYOBJ_REFCNT(OBJ)
3256 if (pointer && runtime_data_module) {
3281 obj = PyCapsule_New((
void*) descriptor, NULL, NULL);
3282 if (obj) PyDict_SetItemString(cache, type, obj);
3292#define SWIG_POINTER_EXCEPTION 0
3293#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
3294#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
3299 if (PyErr_Occurred()) {
3301 PyObject *
value = 0;
3302 PyObject *traceback = 0;
3303 PyErr_Fetch(&type, &
value, &traceback);
3305 PyObject *old_str = PyObject_Str(
value);
3306 PyObject *bytes = NULL;
3308 const char *errmesg = tmp ? tmp :
"Invalid error message";
3312 PyErr_Format(type,
"%s %s", mesg, errmesg);
3314 PyErr_Format(type,
"%s %s", errmesg, mesg);
3328 if (PyErr_Occurred()) {
3331 PyOS_snprintf(mesg,
sizeof(mesg),
"argument number %d:", argnum);
3343 return ty ? ty->
str :
"";
3356#ifdef SWIGPYTHON_BUILTIN
3358SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *
name, PyObject *
value) {
3359 PyTypeObject *tp = Py_TYPE(obj);
3361 PyObject *encoded_name;
3365# ifdef Py_USING_UNICODE
3366 if (PyString_Check(
name)) {
3367 name = PyUnicode_Decode(PyString_AsString(
name), PyString_Size(
name), NULL, NULL);
3370 }
else if (!PyUnicode_Check(
name))
3372 if (!PyString_Check(
name))
3375#if PY_VERSION_HEX >= 0x03000000
3376 PyObject *tpname = SWIG_PyType_GetFullyQualifiedName(Py_TYPE(
name));
3377 PyErr_Format(PyExc_TypeError,
"attribute name must be string, not '%S'", tpname);
3380 PyErr_Format(PyExc_TypeError,
"attribute name must be string, not '%s'", Py_TYPE(
name)->tp_name);
3388 if (PyType_Ready(tp) != 0)
3392 descr = _PyType_Lookup(tp,
name);
3395 f = Py_TYPE(descr)->tp_descr_set;
3397 if (PyString_Check(
name)) {
3398 encoded_name =
name;
3401 encoded_name = PyUnicode_AsUTF8String(
name);
3405#if PY_VERSION_HEX >= 0x03000000
3407 PyObject *tpname = SWIG_PyType_GetFullyQualifiedName(tp);
3408 PyErr_Format(PyExc_AttributeError,
"'%S' object has no attribute '%s'", tpname, PyString_AsString(encoded_name));
3412 PyErr_Format(PyExc_AttributeError,
"'%s' object has no attribute '%s'", tp->tp_name, PyString_AsString(encoded_name));
3416 res = f(descr, obj,
value);
3432#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
3434#define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0)
3440#define SWIGTYPE_p_PLGraphicsIn swig_types[0]
3441#define SWIGTYPE_p_PLcGrid swig_types[1]
3442#define SWIGTYPE_p_PLcGrid2 swig_types[2]
3443#define SWIGTYPE_p_char swig_types[3]
3444#define SWIGTYPE_p_double swig_types[4]
3445#define SWIGTYPE_p_f_double_double__int swig_types[5]
3446#define SWIGTYPE_p_f_double_double_p_double_p_double_p_void__void swig_types[6]
3447#define SWIGTYPE_p_f_int_double_p_char_int_p_void__void swig_types[7]
3448#define SWIGTYPE_p_f_int_p_double_p_double__void swig_types[8]
3449#define SWIGTYPE_p_f_int_p_q_const__double_p_q_const__double__void swig_types[9]
3450#define SWIGTYPE_p_int swig_types[10]
3451#define SWIGTYPE_p_p_char swig_types[11]
3452#define SWIGTYPE_p_p_double swig_types[12]
3453#define SWIGTYPE_p_unsigned_int swig_types[13]
3456#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
3457#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
3461#ifdef SWIG_TypeQuery
3462# undef SWIG_TypeQuery
3464#define SWIG_TypeQuery SWIG_Python_TypeQuery
3469#if PY_VERSION_HEX >= 0x03000000
3470# define SWIG_init PyInit__plplotc
3473# define SWIG_init init_plplotc
3477#define SWIG_as_voidptr(a) (void *)((const void *)(a))
3478#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
3481#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
3482#include <arrayobject.h>
3486#define NPY_PLINT NPY_INT32
3489#define NPY_PLFLT NPY_FLOAT64
3491#define NPY_PLFLT NPY_FLOAT32
3495#if !defined ( PySequence_Fast_GET_ITEM )
3496 #define PySequence_Fast_GET_ITEM PySequence_GetItem
3498#define PySequence_Size PySequence_Length
3509 if (PyFloat_Check(obj)) {
3510 if (val) *val = PyFloat_AsDouble(obj);
3512#if PY_VERSION_HEX < 0x03000000
3513 }
else if (PyInt_Check(obj)) {
3514 if (val) *val = (double) PyInt_AsLong(obj);
3517 }
else if (PyLong_Check(obj)) {
3518 double v = PyLong_AsDouble(obj);
3519 if (!PyErr_Occurred()) {
3526#ifdef SWIG_PYTHON_CAST_MODE
3529 double d = PyFloat_AsDouble(obj);
3530 if (!PyErr_Occurred()) {
3537 long v = PyLong_AsLong(obj);
3538 if (!PyErr_Occurred()) {
3551 #define SWIG_From_double PyFloat_FromDouble
3566 return PyInt_FromLong((
long)
value);
3571#if !defined(SWIG_NO_LLONG_MAX)
3572# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
3573# define LLONG_MAX __LONG_LONG_MAX__
3574# define LLONG_MIN (-LLONG_MAX - 1LL)
3575# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
3592 if ((
min <= x && x <=
max)) {
3597 rd = ((x - fx) < 0.5) ? fx : cx;
3598 if ((errno == EDOM) || (errno == ERANGE)) {
3601 double summ, reps, diff;
3604 }
else if (rd > x) {
3611 if (reps < 8*DBL_EPSILON) {
3624#if PY_VERSION_HEX < 0x03000000
3625 if (PyInt_Check(obj)) {
3626 if (val) *val = PyInt_AsLong(obj);
3630 if (PyLong_Check(obj)) {
3631 long v = PyLong_AsLong(obj);
3632 if (!PyErr_Occurred()) {
3640#ifdef SWIG_PYTHON_CAST_MODE
3643 long v = PyInt_AsLong(obj);
3644 if (!PyErr_Occurred()) {
3656 const double long_max =
sizeof(long) == 8 ? 0x7ffffffffffffc00LL : LONG_MAX;
3659 if (val) *val = (long)(d);
3675 if ((v < INT_MIN || v > INT_MAX)) {
3678 if (val) *val = (int)(v);
3688#if PY_VERSION_HEX < 0x03000000
3689 if (PyInt_Check(obj)) {
3690 long v = PyInt_AsLong(obj);
3699 if (PyLong_Check(obj)) {
3700 unsigned long v = PyLong_AsUnsignedLong(obj);
3701 if (!PyErr_Occurred()) {
3709#ifdef SWIG_PYTHON_CAST_MODE
3712 unsigned long v = PyLong_AsUnsignedLong(obj);
3713 if (!PyErr_Occurred()) {
3725 const double ulong_max =
sizeof(
unsigned long) == 8 ? 0xfffffffffffff800ULL : ULONG_MAX;
3727 if (val) *val = (
unsigned long)(d);
3743 if ((v > UINT_MAX)) {
3746 if (val) *val = (
unsigned int)(v);
3756 return PyInt_FromSize_t((
size_t)
value);
3776#if PY_VERSION_HEX >= 0x03000000
3777#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3778 if (PyBytes_Check(obj))
3780 if (PyUnicode_Check(obj))
3783 if (PyString_Check(obj))
3786 char *cstr; Py_ssize_t len;
3787 PyObject *bytes = NULL;
3791#if PY_VERSION_HEX >= 0x03000000 && defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3792 if (PyBytes_AsStringAndSize(obj, &cstr, &len) == -1)
3799 if (bytes && cptr) {
3801 cstr = (
char *)memcpy(malloc((len + 1)*
sizeof(
char)), cstr,
sizeof(
char)*(len + 1));
3809 if (cptr) *cptr = cstr;
3810 if (psize) *psize = len + 1;
3814#if defined(SWIG_PYTHON_2_UNICODE)
3815#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3816#error "Cannot use both SWIG_PYTHON_2_UNICODE and SWIG_PYTHON_STRICT_BYTE_CHAR at once"
3818#if PY_VERSION_HEX < 0x03000000
3819 if (PyUnicode_Check(obj)) {
3820 char *cstr; Py_ssize_t len;
3821 if (!alloc && cptr) {
3824 obj = PyUnicode_AsUTF8String(obj);
3827 if (PyString_AsStringAndSize(obj, &cstr, &len) != -1) {
3830 *cptr = (
char *)memcpy(malloc((len + 1)*
sizeof(
char)), cstr,
sizeof(
char)*(len + 1));
3832 if (psize) *psize = len + 1;
3844 if (pchar_descriptor) {
3847 if (cptr) *cptr = (
char *) vptr;
3848 if (psize) *psize = vptr ? (strlen((
char *)vptr) + 1) : 0;
3861 char* cptr = 0;
size_t csize = 0;
int alloc =
SWIG_OLDOBJ;
3865 if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
3866 if (csize <= size) {
3868 if (csize) memcpy(val, cptr, csize*
sizeof(
char));
3869 if (csize < size) memset(val + csize, 0, (size - csize)*
sizeof(
char));
3887 if (size > (
size_t)PY_SSIZE_T_MAX) {
3889 return pchar_descriptor ?
3892#if PY_VERSION_HEX >= 0x03000000
3893#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3894 return PyBytes_FromStringAndSize(carray, (Py_ssize_t)(size));
3896 return PyUnicode_DecodeUTF8(carray, (Py_ssize_t)(size),
"surrogateescape");
3899 return PyString_FromStringAndSize(carray, (Py_ssize_t)(size));
3912 for (p = s; maxlen-- && *p; p++)
3929 if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
3930 if (val) *val = (char)(v);
3940#if !defined(SWIG_NO_PYTHON_OLD_BUFFER_PROTOCOL)
3941#if defined(Py_LIMITED_API) && Py_LIMITED_API<0x030b0000
3942#if !defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL)
3943#define SWIG_PYTHON_OLD_BUFFER_PROTOCOL
3948#if defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL) && PY_VERSION_HEX >= 0x030d0000
3949#if defined(Py_LIMITED_API) && Py_LIMITED_API<0x030b0000
3950#error "The old Buffer Protocol was removed in python-3.13, including from the Stable ABI. Note that the new Buffer Protocol must be used from python-3.13, however, it is only available in the Stable ABI from python-3.11, so Py_LIMITED_API must be >= 0x030b0000 for python-3.13 and later."
3963 PyArrayObject* tmp = (PyArrayObject *) PyArray_ContiguousFromObject( in,
NPY_PLINT,
3968 if ( PyArray_Check( in ) )
3971 tmp = (PyArrayObject *) PyArray_Cast( (PyArrayObject *) in,
NPY_PLINT );
3978#define myArray_ContiguousFromObject PyArray_ContiguousFromObject
3981 PyObject *resultobj = 0;
3995 PyObject *swig_obj[2] ;
4008 arg1 = (
PLFLT)(val1);
4013 arg2 = (
PLFLT)(val2);
4014 pltr0(arg1,arg2,arg3,arg4,arg5);
4049 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two arrays." );
4058 PyErr_SetString( PyExc_ValueError,
"Expected a sequence to two 1D arrays." );
4067 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg." );
4075 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg + 1." );
4097 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two arrays." );
4106 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two 2D arrays." );
4112 PyErr_SetString( PyExc_ValueError,
"Arrays must be same size." );
4121 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg." );
4129 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg + 1." );
4135 for ( i = 0; i <
tmpGrid2.nx; i++ )
4138 for ( i = 0; i <
tmpGrid2.nx; i++ )
4153 PyObject *resultobj = 0;
4167 PyObject *swig_obj[3] ;
4177 arg1 = (
PLFLT)(val1);
4182 arg2 = (
PLFLT)(val2);
4188 pltr1(arg1,arg2,arg3,arg4,arg5);
4215 PyObject *resultobj = 0;
4229 PyObject *swig_obj[3] ;
4239 arg1 = (
PLFLT)(val1);
4244 arg2 = (
PLFLT)(val2);
4250 pltr2(arg1,arg2,arg3,arg4,arg5);
4279 static PyInterpreterState *save_interp = NULL;
4289#define MY_BLOCK_THREADS { \
4290 PyThreadState *prev_state, *new_state; \
4293 PyEval_AcquireLock(); \
4294 new_state = PyThreadState_New( save_interp ); \
4295 prev_state = PyThreadState_Swap( new_state );
4296#define MY_UNBLOCK_THREADS \
4297 new_state = PyThreadState_Swap( prev_state ); \
4298 PyThreadState_Clear( new_state ); \
4299 PyEval_ReleaseLock(); \
4300 PyThreadState_Delete( new_state ); \
4303#define MY_BLOCK_THREADS
4304#define MY_UNBLOCK_THREADS
4327 PyObject *pdata, *arglist, *result;
4331 pdata = (PyObject *) data;
4338 Py_XINCREF( pdata );
4343 arglist = Py_BuildValue(
"(ddO)", x, y, pdata );
4345 arglist = Py_BuildValue(
"(ffO)", x, y, pdata );
4347 if ( arglist == NULL )
4349 fprintf( stderr,
"Py_BuildValue failed to make argument list.\n" );
4354 result = PyObject_CallObject(
python_pltr, arglist );
4356 Py_CLEAR( arglist );
4358 if ( result == NULL )
4360 fprintf( stderr,
"call to python pltr function with 3 arguments failed\n" );
4361 PyErr_SetString( PyExc_RuntimeError,
"pltr callback must take 3 arguments." );
4367 if ( tmp == 0 || PyArray_DIMS( tmp )[0] != 2 )
4369 fprintf( stderr,
"pltr callback must return a 2 element array or sequence\n" );
4370 PyErr_SetString( PyExc_RuntimeError,
"pltr callback must return a 2-sequence." );
4390 PyObject *pdata, *arglist, *result;
4391 PLFLT fresult = 0.0;
4394 pdata = (PyObject *) data;
4397 Py_XINCREF( pdata );
4401 arglist = Py_BuildValue(
"(iiO)", x, y, pdata );
4405 Py_CLEAR( arglist );
4407 if ( !PyFloat_Check( result ) )
4409 fprintf( stderr,
"f2eval callback must return a float\n" );
4410 PyErr_SetString( PyExc_RuntimeError,
"f2eval callback must return a float." );
4415 fresult = (
PLFLT) PyFloat_AsDouble( result );
4427 PyObject *pdata, *arglist, *result, *unicode_string;
4432 pdata = (PyObject *) data;
4437 Py_XINCREF( pdata );
4442 arglist = Py_BuildValue(
"(ldO)", axis,
value, pdata );
4444 arglist = Py_BuildValue(
"(lfO)", axis,
value, pdata );
4451 if ( result == NULL )
4453 fprintf( stderr,
"label callback failed with 3 arguments\n" );
4454 PyErr_SetString( PyExc_RuntimeError,
"label callback must take 3 arguments." );
4456 else if ( PyString_Check( result ) )
4459 pystring = PyString_AsString( result );
4460 strncpy(
string, pystring, len );
4462 else if ( PyUnicode_Check( result ) )
4465 unicode_string = PyUnicode_AsEncodedString( result,
"utf-8",
"Error ~" );
4466 pystring = PyBytes_AS_STRING( unicode_string );
4468 strncpy(
string, pystring, len );
4472 fprintf( stderr,
"label callback must return a string\n" );
4473 PyErr_SetString( PyExc_RuntimeError,
"label callback must return a string." );
4484 PyObject *px, *py, *pdata, *arglist, *result;
4489 pdata = (PyObject *) data;
4496 Py_XINCREF( pdata );
4500 px = PyArray_SimpleNewFromData( 1, &n,
NPY_PLFLT, (
void *) xt );
4501 py = PyArray_SimpleNewFromData( 1, &n,
NPY_PLFLT, (
void *) yt );
4502 arglist = Py_BuildValue(
"(ddOOO)", x, y, px, py, pdata );
4504 result = PyObject_CallObject(
python_ct, arglist );
4506 Py_CLEAR( arglist );
4511 if ( result == NULL )
4513 fprintf( stderr,
"call to python coordinate transform function with 5 arguments failed\n" );
4514 PyErr_SetString( PyExc_RuntimeError,
"coordinate transform callback must take 5 arguments." );
4525 PyObject *px, *py, *arglist, *result;
4536#ifdef PL_HAVE_PTHREAD
4537 px = PyArray_SimpleNewFromData( 1, &nn,
NPY_PLFLT, (
void *) x );
4538 py = PyArray_SimpleNewFromData( 1, &nn,
NPY_PLFLT, (
void *) y );
4540 px = PyArray_FromDimsAndData( 1, &n,
NPY_PLFLT, (
char *) x );
4541 py = PyArray_FromDimsAndData( 1, &n,
NPY_PLFLT, (
char *) y );
4543 arglist = Py_BuildValue(
"(iOO)", n, px, py );
4547 Py_CLEAR( arglist );
4551 if ( result == NULL )
4553 fprintf( stderr,
"call to python mapform function with 3 arguments failed\n" );
4554 PyErr_SetString( PyExc_RuntimeError,
"mapform callback must take 3 arguments." );
4567 PyObject * rep = PyObject_Repr( input );
4572 if ( PyUnicode_Check( rep ) )
4574 PyObject *uni_str = PyUnicode_AsEncodedString( rep,
"utf-8",
"Error ~" );
4575 str = PyBytes_AS_STRING( uni_str );
4579 str = PyString_AsString( rep );
4581 if ( strstr( str,
"function pltr0" ) != 0 )
4587 else if ( strstr( str,
"function pltr1" ) != 0 )
4593 else if ( strstr( str,
"function pltr2" ) != 0 )
4603 Py_XINCREF( input );
4611 Py_XINCREF( input );
4627 Py_XINCREF( input );
4642 Py_XINCREF( input );
4660 if ( input != Py_None )
4664 if ( input != Py_None )
4668 Py_XINCREF( input );
4672 fprintf( stderr,
"pltr_type is invalid\n" );
4693 fprintf( stderr,
"pltr_type is invalid\n" );
4702 PyObject *resultobj = 0;
4709 PyObject *swig_obj[2] ;
4723 if (arg1) (arg1)->type = arg2;
4732 PyObject *resultobj = 0;
4736 PyObject *swig_obj[1] ;
4747 result = (int) ((arg1)->type);
4756 PyObject *resultobj = 0;
4763 PyObject *swig_obj[2] ;
4776 arg2 = (
unsigned int)(val2);
4777 if (arg1) (arg1)->state = arg2;
4786 PyObject *resultobj = 0;
4790 PyObject *swig_obj[1] ;
4791 unsigned int result;
4801 result = (
unsigned int) ((arg1)->state);
4810 PyObject *resultobj = 0;
4817 PyObject *swig_obj[2] ;
4830 arg2 = (
unsigned int)(val2);
4831 if (arg1) (arg1)->keysym = arg2;
4840 PyObject *resultobj = 0;
4844 PyObject *swig_obj[1] ;
4845 unsigned int result;
4855 result = (
unsigned int) ((arg1)->keysym);
4864 PyObject *resultobj = 0;
4871 PyObject *swig_obj[2] ;
4884 arg2 = (
unsigned int)(val2);
4885 if (arg1) (arg1)->button = arg2;
4894 PyObject *resultobj = 0;
4898 PyObject *swig_obj[1] ;
4899 unsigned int result;
4909 result = (
unsigned int) ((arg1)->button);
4918 PyObject *resultobj = 0;
4925 PyObject *swig_obj[2] ;
4938 arg2 = (
PLINT)(val2);
4939 if (arg1) (arg1)->subwindow = arg2;
4948 PyObject *resultobj = 0;
4952 PyObject *swig_obj[1] ;
4963 result = (
PLINT) ((arg1)->subwindow);
4972 PyObject *resultobj = 0;
4974 char *arg2 = (
char *)0 ;
4979 PyObject *swig_obj[2] ;
4992 arg2 = (
char *)(temp2);
4993 if (arg2) memcpy(arg1->
string,arg2,16*
sizeof(
char));
4994 else memset(arg1->
string,0,16*
sizeof(
char));
5003 PyObject *resultobj = 0;
5007 PyObject *swig_obj[1] ;
5018 result = (
char *)(
char *) ((arg1)->string);
5033 PyObject *resultobj = 0;
5040 PyObject *swig_obj[2] ;
5054 if (arg1) (arg1)->pX = arg2;
5063 PyObject *resultobj = 0;
5067 PyObject *swig_obj[1] ;
5078 result = (int) ((arg1)->pX);
5087 PyObject *resultobj = 0;
5094 PyObject *swig_obj[2] ;
5108 if (arg1) (arg1)->pY = arg2;
5117 PyObject *resultobj = 0;
5121 PyObject *swig_obj[1] ;
5132 result = (int) ((arg1)->pY);
5141 PyObject *resultobj = 0;
5148 PyObject *swig_obj[2] ;
5161 arg2 = (
PLFLT)(val2);
5162 if (arg1) (arg1)->dX = arg2;
5171 PyObject *resultobj = 0;
5175 PyObject *swig_obj[1] ;
5186 result = (
PLFLT) ((arg1)->dX);
5195 PyObject *resultobj = 0;
5202 PyObject *swig_obj[2] ;
5215 arg2 = (
PLFLT)(val2);
5216 if (arg1) (arg1)->dY = arg2;
5225 PyObject *resultobj = 0;
5229 PyObject *swig_obj[1] ;
5240 result = (
PLFLT) ((arg1)->dY);
5249 PyObject *resultobj = 0;
5256 PyObject *swig_obj[2] ;
5269 arg2 = (
PLFLT)(val2);
5270 if (arg1) (arg1)->wX = arg2;
5279 PyObject *resultobj = 0;
5283 PyObject *swig_obj[1] ;
5294 result = (
PLFLT) ((arg1)->wX);
5303 PyObject *resultobj = 0;
5310 PyObject *swig_obj[2] ;
5323 arg2 = (
PLFLT)(val2);
5324 if (arg1) (arg1)->wY = arg2;
5333 PyObject *resultobj = 0;
5337 PyObject *swig_obj[1] ;
5348 result = (
PLFLT) ((arg1)->wY);
5357 PyObject *resultobj = 0;
5371 PyObject *resultobj = 0;
5375 PyObject *swig_obj[1] ;
5385 free((
char *) arg1);
5394 PyObject *obj = NULL;
5405 PyObject *resultobj = 0;
5409 PyObject *swig_obj[1] ;
5418 arg1 = (
PLINT)(val1);
5428 PyObject *resultobj = 0;
5435 PyObject *swig_obj[2] ;
5443 arg1 = (
PLINT)(val1);
5448 arg2 = (
PLINT)(val2);
5458 PyObject *resultobj = 0;
5471 PyObject *swig_obj[4] ;
5479 arg1 = (
PLFLT)(val1);
5484 arg2 = (
PLFLT)(val2);
5489 arg3 = (
PLFLT)(val3);
5494 arg4 = (
PLINT)(val4);
5504 PyObject *resultobj = 0;
5508 PyObject *swig_obj[1] ;
5517 arg1 = (
PLINT)(val1);
5527 PyObject *resultobj = 0;
5552 PyObject *swig_obj[8] ;
5560 arg1 = (
PLFLT)(val1);
5565 arg2 = (
PLFLT)(val2);
5570 arg3 = (
PLFLT)(val3);
5575 arg4 = (
PLFLT)(val4);
5580 arg5 = (
PLFLT)(val5);
5585 arg6 = (
PLFLT)(val6);
5590 arg7 = (
PLFLT)(val7);
5596 plarc(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5605 PyObject *resultobj = 0;
5632 PyObject *swig_obj[8] ;
5640 arg1 = (
PLFLT)(val1);
5645 arg2 = (
PLFLT)(val2);
5650 arg3 = (
char *)(buf3);
5655 arg4 = (
PLFLT)(val4);
5660 arg5 = (
PLINT)(val5);
5665 arg6 = (
char *)(buf6);
5670 arg7 = (
PLFLT)(val7);
5675 arg8 = (
PLINT)(val8);
5676 plaxes(arg1,arg2,(
char const *)arg3,arg4,arg5,(
char const *)arg6,arg7,arg8);
5689 PyObject *resultobj = 0;
5694 PyArrayObject *tmp1 = NULL ;
5695 PyArrayObject *tmp3 = NULL ;
5698 PyObject *swig_obj[3] ;
5706 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
5707 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
5713 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
5715 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
5718 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
5724 arg4 = (
PLINT)(val4);
5725 plbin(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
5746 PyObject *resultobj = 0;
5768 PyObject *swig_obj[1] ;
5783 arg7 = (
PLFLT)(val7);
5784 plbtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5829 PyObject *resultobj = 0;
5842 PyObject *resultobj = 0;
5863 PyObject *swig_obj[6] ;
5871 arg1 = (
char *)(buf1);
5876 arg2 = (
PLFLT)(val2);
5881 arg3 = (
PLINT)(val3);
5886 arg4 = (
char *)(buf4);
5891 arg5 = (
PLFLT)(val5);
5896 arg6 = (
PLINT)(val6);
5897 plbox((
char const *)arg1,arg2,arg3,(
char const *)arg4,arg5,arg6);
5910 PyObject *resultobj = 0;
5953 PyObject *swig_obj[12] ;
5961 arg1 = (
char *)(buf1);
5966 arg2 = (
char *)(buf2);
5971 arg3 = (
PLFLT)(val3);
5976 arg4 = (
PLINT)(val4);
5981 arg5 = (
char *)(buf5);
5986 arg6 = (
char *)(buf6);
5991 arg7 = (
PLFLT)(val7);
5996 arg8 = (
PLINT)(val8);
6001 arg9 = (
char *)(buf9);
6006 arg10 = (
char *)(buf10);
6011 arg11 = (
PLFLT)(val11);
6016 arg12 = (
PLINT)(val12);
6017 plbox3((
char const *)arg1,(
char const *)arg2,arg3,arg4,(
char const *)arg5,(
char const *)arg6,arg7,arg8,(
char const *)arg9,(
char const *)arg10,arg11,arg12);
6038 PyObject *resultobj = 0;
6054 PyObject *swig_obj[2] ;
6065 arg1 = (
PLFLT)(val1);
6070 arg2 = (
PLFLT)(val2);
6098 PyObject *resultobj = 0;
6111 PyObject *resultobj = 0;
6115 PyObject *swig_obj[1] ;
6124 arg1 = (
PLINT)(val1);
6134 PyObject *resultobj = 0;
6138 PyObject *swig_obj[1] ;
6147 arg1 = (
PLFLT)(val1);
6157 PyObject *resultobj = 0;
6191 PyObject *swig_obj[11] ;
6199 arg1 = (
PLFLT)(val1);
6204 arg2 = (
PLFLT)(val2);
6209 arg3 = (
PLFLT)(val3);
6214 arg4 = (
PLINT)(val4);
6224 arg6 = (
PLINT)(val6);
6229 arg7 = (
PLINT)(val7);
6234 arg8 = (
PLINT)(val8);
6239 arg9 = (
PLINT)(val9);
6244 arg10 = (
PLINT)(val10);
6249 arg11 = (
PLFLT)(val11);
6250 plconfigtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
6259 PyObject *resultobj = 0;
6271 PyArrayObject *tmp1 = NULL ;
6280 PyArrayObject *tmp8 = NULL ;
6281 PyObject *swig_obj[8] ;
6297 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
6298 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
6300 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (
size_t) arg2 );
6301 for ( i = 0; i < arg2; i++ )
6302 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
6308 arg4 = (
PLINT)(val4);
6313 arg5 = (
PLINT)(val5);
6318 arg6 = (
PLINT)(val6);
6323 arg7 = (
PLINT)(val7);
6328 arg9 = PyArray_DIMS( tmp8 )[0];
6329 arg8 = (
PLFLT *) PyArray_DATA( tmp8 );
6334 if ( swig_obj[6] == Py_None )
6340 if ( !PyCallable_Check( (PyObject *) swig_obj[6] ) )
6342 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
6351 if ( swig_obj[7] == Py_None )
6359 plcont((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(
double const *)arg8,arg9,arg10,arg11);
6394 PyObject *resultobj = 0;
6416 PyObject *swig_obj[6] ;
6425 arg1 = (
PLINT)(val1);
6430 arg2 = (
PLINT)(val2);
6435 arg3 = (
PLINT)(val3);
6440 arg4 = (
PLINT)(val4);
6445 arg5 = (
PLINT)(val5);
6450 arg6 = (
PLFLT)(val6);
6451 plctime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
6466 PyObject *resultobj = 0;
6473 PyObject *swig_obj[2] ;
6481 arg1 = (
PLINT)(val1);
6496 PyObject *resultobj = 0;
6509 PyObject *resultobj = 0;
6522 PyObject *resultobj = 0;
6541 PyObject *swig_obj[6] ;
6549 arg1 = (
PLFLT)(val1);
6554 arg2 = (
PLFLT)(val2);
6559 arg3 = (
PLFLT)(val3);
6564 arg4 = (
PLFLT)(val4);
6569 arg5 = (
PLINT)(val5);
6574 arg6 = (
PLINT)(val6);
6575 plenv(arg1,arg2,arg3,arg4,arg5,arg6);
6584 PyObject *resultobj = 0;
6603 PyObject *swig_obj[6] ;
6611 arg1 = (
PLFLT)(val1);
6616 arg2 = (
PLFLT)(val2);
6621 arg3 = (
PLFLT)(val3);
6626 arg4 = (
PLFLT)(val4);
6631 arg5 = (
PLINT)(val5);
6636 arg6 = (
PLINT)(val6);
6637 plenv0(arg1,arg2,arg3,arg4,arg5,arg6);
6646 PyObject *resultobj = 0;
6659 PyObject *resultobj = 0;
6664 PyArrayObject *tmp1 = NULL ;
6665 PyArrayObject *tmp3 = NULL ;
6666 PyArrayObject *tmp4 = NULL ;
6667 PyObject *swig_obj[3] ;
6675 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6676 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6682 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6684 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6687 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6693 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6695 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6698 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
6700 plerrx(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6727 PyObject *resultobj = 0;
6732 PyArrayObject *tmp1 = NULL ;
6733 PyArrayObject *tmp3 = NULL ;
6734 PyArrayObject *tmp4 = NULL ;
6735 PyObject *swig_obj[3] ;
6743 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6744 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6750 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6752 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6755 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6761 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6763 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6766 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
6768 plerry(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6795 PyObject *resultobj = 0;
6808 PyObject *resultobj = 0;
6812 PyArrayObject *tmp1 = NULL ;
6813 PyArrayObject *tmp3 = NULL ;
6814 PyObject *swig_obj[2] ;
6822 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6823 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6829 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6831 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6834 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6836 plfill(arg1,(
double const *)arg2,(
double const *)arg3);
6857 PyObject *resultobj = 0;
6862 PyArrayObject *tmp1 = NULL ;
6863 PyArrayObject *tmp3 = NULL ;
6864 PyArrayObject *tmp4 = NULL ;
6865 PyObject *swig_obj[3] ;
6873 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6874 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6880 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6882 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6885 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6891 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6893 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6896 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
6898 plfill3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6925 PyObject *resultobj = 0;
6930 PyArrayObject *tmp1 = NULL ;
6931 PyArrayObject *tmp3 = NULL ;
6934 PyObject *swig_obj[3] ;
6942 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6943 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6949 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6951 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6954 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6960 arg4 = (
PLFLT)(val4);
6961 plgradient(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
6982 PyObject *resultobj = 0;
6995 PyObject *resultobj = 0;
6999 PyObject *swig_obj[1] ;
7008 arg1 = (
PLINT)(val1);
7018 PyObject *resultobj = 0;
7022 PyObject *swig_obj[1] ;
7031 arg1 = (
PLINT)(val1);
7041 PyObject *resultobj = 0;
7074 PyObject *resultobj = 0;
7087 PyObject *swig_obj[1] ;
7099 arg1 = (
PLINT)(val1);
7127 PyObject *resultobj = 0;
7143 PyObject *swig_obj[1] ;
7156 arg1 = (
PLINT)(val1);
7157 plgcol0a(arg1,arg2,arg3,arg4,arg5);
7190 PyObject *resultobj = 0;
7233 PyObject *resultobj = 0;
7286 PyObject *resultobj = 0;
7309 PyObject *resultobj = 0;
7321 PyObject *o = PyString_FromString( arg1 );
7331 PyObject *resultobj = 0;
7384 PyObject *resultobj = 0;
7407 PyObject *resultobj = 0;
7460 PyObject *resultobj = 0;
7503 PyObject *resultobj = 0;
7526 PyObject *resultobj = 0;
7538 PyObject *o = PyString_FromString( arg1 );
7548 PyObject *resultobj = 0;
7591 PyObject *resultobj = 0;
7614 PyObject *resultobj = 0;
7642 plgpage(arg1,arg2,arg3,arg4,arg5,arg6);
7687 PyObject *resultobj = 0;
7700 PyObject *resultobj = 0;
7712 PyArrayObject *tmp1 = NULL ;
7713 PyArrayObject *tmp2 = NULL ;
7714 PyArrayObject *tmp3 = NULL ;
7715 PyArrayObject *tmp5 = NULL ;
7716 PyArrayObject *tmp7 = NULL ;
7717 PyObject *array7 = NULL ;
7722 PyObject *swig_obj[7] ;
7730 Alen = PyArray_DIMS( tmp1 )[0];
7731 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
7737 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
7739 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
7742 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
7748 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
7750 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
7753 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
7754 arg4 = PyArray_DIMS( tmp3 )[0];
7760 Xlen = PyArray_DIMS( tmp5 )[0];
7762 arg5 = (
PLFLT *) PyArray_DATA( tmp5 );
7770 Ylen = PyArray_DIMS( tmp7 )[0];
7772 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
7777 array7 = PyArray_SimpleNew( 2, dims,
NPY_PLFLT );
7781 arg9 = (
PLFLT **) malloc(
sizeof (
double * ) * (
size_t)
Xlen );
7782 for ( i = 0; i <
Xlen; i++ )
7783 arg9[i] = ( (
PLFLT *) PyArray_DATA( (PyArrayObject *) array7 ) + i * size );
7789 arg10 = (
PLINT)(val10);
7794 arg11 = (
PLFLT)(val11);
7795 plgriddata((
double const *)arg1,(
double const *)arg2,(
double const *)arg3,arg4,(
double const *)arg5,arg6,(
double const *)arg7,arg8,arg9,arg10,arg11);
7839 PyObject *resultobj = 0;
7859 plgspa(arg1,arg2,arg3,arg4);
7892 PyObject *resultobj = 0;
7915 PyObject *resultobj = 0;
7927 PyObject *o = PyString_FromString( arg1 );
7937 PyObject *resultobj = 0;
7957 plgvpd(arg1,arg2,arg3,arg4);
7990 PyObject *resultobj = 0;
8010 plgvpw(arg1,arg2,arg3,arg4);
8043 PyObject *resultobj = 0;
8076 PyObject *resultobj = 0;
8109 PyObject *resultobj = 0;
8142 PyObject *resultobj = 0;
8149 PyArrayObject *tmp1 = NULL ;
8158 PyObject *swig_obj[5] ;
8166 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
8167 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
8173 arg3 = (
PLFLT)(val3);
8178 arg4 = (
PLFLT)(val4);
8183 arg5 = (
PLINT)(val5);
8188 arg6 = (
PLINT)(val6);
8189 plhist(arg1,(
double const *)arg2,arg3,arg4,arg5,arg6);
8204 PyObject *resultobj = 0;
8223 PyObject *swig_obj[3] ;
8234 arg1 = (
PLFLT)(val1);
8239 arg2 = (
PLFLT)(val2);
8244 arg3 = (
PLFLT)(val3);
8245 plhlsrgb(arg1,arg2,arg3,arg4,arg5,arg6);
8272 PyObject *resultobj = 0;
8285 PyObject *resultobj = 0;
8298 PyObject *swig_obj[4] ;
8306 arg1 = (
PLFLT)(val1);
8311 arg2 = (
PLFLT)(val2);
8316 arg3 = (
PLFLT)(val3);
8321 arg4 = (
PLFLT)(val4);
8322 pljoin(arg1,arg2,arg3,arg4);
8331 PyObject *resultobj = 0;
8344 PyObject *swig_obj[3] ;
8352 arg1 = (
char *)(buf1);
8357 arg2 = (
char *)(buf2);
8362 arg3 = (
char *)(buf3);
8363 pllab((
char const *)arg1,(
char const *)arg2,(
char const *)arg3);
8378 PyObject *resultobj = 0;
8434 PyArrayObject *tmp13 = NULL ;
8443 PyArrayObject *tmp19 = NULL ;
8444 PyArrayObject *tmp20 = NULL ;
8445 PyArrayObject *tmp21 = NULL ;
8446 PyArrayObject *tmp22 = NULL ;
8447 PyArrayObject *tmp23 = NULL ;
8448 PyArrayObject *tmp24 = NULL ;
8449 PyArrayObject *tmp25 = NULL ;
8450 PyArrayObject *tmp26 = NULL ;
8451 PyArrayObject *tmp27 = NULL ;
8452 PyArrayObject *tmp28 = NULL ;
8453 PyArrayObject *tmp29 = NULL ;
8454 PyArrayObject *tmp30 = NULL ;
8455 PyArrayObject *tmp31 = NULL ;
8456 PyObject *swig_obj[28] ;
8466 arg3 = (
PLINT)(val3);
8471 arg4 = (
PLINT)(val4);
8476 arg5 = (
PLFLT)(val5);
8481 arg6 = (
PLFLT)(val6);
8486 arg7 = (
PLFLT)(val7);
8491 arg8 = (
PLINT)(val8);
8496 arg9 = (
PLINT)(val9);
8501 arg10 = (
PLINT)(val10);
8506 arg11 = (
PLINT)(val11);
8511 arg12 = (
PLINT)(val12);
8514 if ( tmp13 == NULL )
8516 arg13 =
Alen = PyArray_DIMS( tmp13 )[0];
8517 arg14 = (
PLINT *) PyArray_DATA( tmp13 );
8523 arg15 = (
PLFLT)(val15);
8528 arg16 = (
PLFLT)(val16);
8533 arg17 = (
PLFLT)(val17);
8538 arg18 = (
PLFLT)(val18);
8541 if ( tmp19 == NULL )
8543 if ( PyArray_DIMS( tmp19 )[0] !=
Alen )
8545 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8548 arg19 = (
PLINT *) PyArray_DATA( tmp19 );
8552 tmp20 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[16], NPY_STRING, 1, 1 );
8553 if ( tmp20 == NULL )
8555 if ( PyArray_DIMS( tmp20 )[0] !=
Alen )
8557 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8560 arg20 = (
char **) malloc(
sizeof (
char* ) * (
size_t)
Alen );
8561 for ( i = 0; i <
Alen; i++ )
8563 arg20[i] = (
char *) PyArray_DATA( tmp20 ) + i * PyArray_STRIDES( tmp20 )[0];
8564 if ( arg20[i] == NULL )
8573 if ( tmp21 == NULL )
8575 if ( PyArray_DIMS( tmp21 )[0] !=
Alen )
8577 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8580 arg21 = (
PLINT *) PyArray_DATA( tmp21 );
8584 if ( tmp22 == NULL )
8586 if ( PyArray_DIMS( tmp22 )[0] !=
Alen )
8588 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8591 arg22 = (
PLINT *) PyArray_DATA( tmp22 );
8594 if ( swig_obj[19] != Py_None )
8597 if ( tmp23 == NULL )
8599 if ( PyArray_DIMS( tmp23 )[0] !=
Alen )
8601 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8604 arg23 = (
PLFLT *) PyArray_DATA( tmp23 );
8612 if ( swig_obj[20] != Py_None )
8615 if ( tmp24 == NULL )
8617 if ( PyArray_DIMS( tmp24 )[0] !=
Alen )
8619 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8622 arg24 = (
PLFLT *) PyArray_DATA( tmp24 );
8631 if ( tmp25 == NULL )
8633 if ( PyArray_DIMS( tmp25 )[0] !=
Alen )
8635 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8638 arg25 = (
PLINT *) PyArray_DATA( tmp25 );
8642 if ( tmp26 == NULL )
8644 if ( PyArray_DIMS( tmp26 )[0] !=
Alen )
8646 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8649 arg26 = (
PLINT *) PyArray_DATA( tmp26 );
8652 if ( swig_obj[23] != Py_None )
8655 if ( tmp27 == NULL )
8657 if ( PyArray_DIMS( tmp27 )[0] !=
Alen )
8659 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8662 arg27 = (
PLFLT *) PyArray_DATA( tmp27 );
8671 if ( tmp28 == NULL )
8673 if ( PyArray_DIMS( tmp28 )[0] !=
Alen )
8675 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8678 arg28 = (
PLINT *) PyArray_DATA( tmp28 );
8681 if ( swig_obj[25] != Py_None )
8684 if ( tmp29 == NULL )
8686 if ( PyArray_DIMS( tmp29 )[0] !=
Alen )
8688 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8691 arg29 = (
PLFLT *) PyArray_DATA( tmp29 );
8700 if ( tmp30 == NULL )
8702 if ( PyArray_DIMS( tmp30 )[0] !=
Alen )
8704 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8707 arg30 = (
PLINT *) PyArray_DATA( tmp30 );
8711 tmp31 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[27], NPY_STRING, 1, 1 );
8712 if ( tmp31 == NULL )
8714 if ( PyArray_DIMS( tmp31 )[0] !=
Alen )
8716 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8719 arg31 = (
char **) malloc(
sizeof (
char* ) * (
size_t)
Alen );
8720 for ( i = 0; i <
Alen; i++ )
8722 arg31[i] = (
char *) PyArray_DATA( tmp31 ) + i * PyArray_STRIDES( tmp31 )[0];
8723 if ( arg31[i] == NULL )
8730 pllegend(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,(
int const *)arg14,arg15,arg16,arg17,arg18,(
int const *)arg19,(
char const **)arg20,(
int const *)arg21,(
int const *)arg22,(
double const *)arg23,(
double const *)arg24,(
int const *)arg25,(
int const *)arg26,(
double const *)arg27,(
int const *)arg28,(
double const *)arg29,(
int const *)arg30,(
char const **)arg31);
8751 Py_CLEAR( tmp20 ); free( arg20 );
8784 Py_CLEAR( tmp31 ); free( arg31 );
8795 Py_CLEAR( tmp20 ); free( arg20 );
8828 Py_CLEAR( tmp31 ); free( arg31 );
8835 PyObject *resultobj = 0;
8890 PyArrayObject *tmp16 = NULL ;
8891 PyArrayObject *tmp18 = NULL ;
8892 PyArrayObject *tmp19 = NULL ;
8893 PyArrayObject *tmp21 = NULL ;
8894 PyArrayObject *tmp22 = NULL ;
8895 PyArrayObject *tmp23 = NULL ;
8896 PyArrayObject *tmp24 = NULL ;
8897 PyObject *swig_obj[20] ;
8907 arg3 = (
PLINT)(val3);
8912 arg4 = (
PLINT)(val4);
8917 arg5 = (
PLFLT)(val5);
8922 arg6 = (
PLFLT)(val6);
8927 arg7 = (
PLFLT)(val7);
8932 arg8 = (
PLFLT)(val8);
8937 arg9 = (
PLINT)(val9);
8942 arg10 = (
PLINT)(val10);
8947 arg11 = (
PLINT)(val11);
8952 arg12 = (
PLFLT)(val12);
8957 arg13 = (
PLFLT)(val13);
8962 arg14 = (
PLINT)(val14);
8967 arg15 = (
PLFLT)(val15);
8970 if ( tmp16 == NULL )
8972 arg16 =
Alen = PyArray_DIMS( tmp16 )[0];
8973 arg17 = (
PLINT *) PyArray_DATA( tmp16 );
8977 tmp18 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[14], NPY_STRING, 1, 1 );
8978 if ( tmp18 == NULL )
8980 if ( PyArray_DIMS( tmp18 )[0] !=
Alen )
8982 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8985 arg18 = (
char **) malloc(
sizeof (
char* ) * (
size_t)
Alen );
8986 for ( i = 0; i <
Alen; i++ )
8988 arg18[i] = (
char *) PyArray_DATA( tmp18 ) + i * PyArray_STRIDES( tmp18 )[0];
8989 if ( arg18[i] == NULL )
8998 tmp19 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[15], NPY_STRING, 1, 1 );
8999 if ( tmp19 == NULL )
9001 Alen = PyArray_DIMS( tmp19 )[0];
9003 arg20 = (
char **) malloc(
sizeof (
char* ) * (
size_t)
Alen );
9004 for ( i = 0; i <
Alen; i++ )
9006 arg20[i] = (
char *) PyArray_DATA( tmp19 ) + i * PyArray_STRIDES( tmp19 )[0];
9007 if ( arg20[i] == NULL )
9016 if ( tmp21 == NULL )
9018 if ( PyArray_DIMS( tmp21 )[0] !=
Alen )
9020 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9023 arg21 = (
PLFLT *) PyArray_DATA( tmp21 );
9027 if ( tmp22 == NULL )
9029 if ( PyArray_DIMS( tmp22 )[0] !=
Alen )
9031 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9034 arg22 = (
PLINT *) PyArray_DATA( tmp22 );
9039 if ( tmp23 == NULL )
9041 if ( PyArray_DIMS( tmp23 )[0] !=
Alen )
9043 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9046 Xlen = PyArray_DIMS( tmp23 )[0];
9047 arg23 = (
PLINT *) PyArray_DATA( tmp23 );
9049 for ( i = 0; i <
Xlen; i++ )
9050 if ( arg23[i] >
Ylen )
9056 if ( tmp24 == NULL )
9058 if ( PyArray_DIMS( tmp24 )[0] !=
Xlen || PyArray_DIMS( tmp24 )[1] !=
Ylen )
9060 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9065 for ( i = 0; i <
Xlen; i++ )
9066 arg24[i] = ( (
PLFLT *) PyArray_DATA( tmp24 ) + i * size );
9068 plcolorbar(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,(
int const *)arg17,(
char const **)arg18,arg19,(
char const **)arg20,(
double const *)arg21,(
int const *)arg22,(
int const *)arg23,(
double const **)arg24);
9086 Py_CLEAR( tmp18 ); free( arg18 );
9089 Py_CLEAR( tmp19 ); free( arg20 );
9110 Py_CLEAR( tmp18 ); free( arg18 );
9113 Py_CLEAR( tmp19 ); free( arg20 );
9133 PyObject *resultobj = 0;
9143 PyObject *swig_obj[3] ;
9151 arg1 = (
PLFLT)(val1);
9156 arg2 = (
PLFLT)(val2);
9161 arg3 = (
PLFLT)(val3);
9171 PyObject *resultobj = 0;
9175 PyArrayObject *tmp1 = NULL ;
9176 PyArrayObject *tmp3 = NULL ;
9177 PyObject *swig_obj[2] ;
9185 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
9186 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
9192 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
9194 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9197 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
9199 plline(arg1,(
double const *)arg2,(
double const *)arg3);
9220 PyObject *resultobj = 0;
9225 PyArrayObject *tmp1 = NULL ;
9226 PyArrayObject *tmp3 = NULL ;
9227 PyArrayObject *tmp4 = NULL ;
9228 PyObject *swig_obj[3] ;
9236 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
9237 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
9243 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
9245 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9248 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
9254 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
9256 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9259 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
9261 plline3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
9288 PyObject *resultobj = 0;
9292 PyObject *swig_obj[1] ;
9301 arg1 = (
PLINT)(val1);
9311 PyObject *resultobj = 0;
9318 PyArrayObject *tmp1 = NULL ;
9319 PyArrayObject *tmp2 = NULL ;
9320 PyArrayObject *tmp3 = NULL ;
9323 PyObject *swig_obj[4] ;
9331 Xlen = PyArray_DIMS( tmp1 )[0];
9332 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9338 Ylen = PyArray_DIMS( tmp2 )[0];
9339 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9346 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9348 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9351 arg4 = PyArray_DIMS( tmp3 )[0];
9352 arg5 = PyArray_DIMS( tmp3 )[1];
9354 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (
size_t) arg4 );
9355 for ( i = 0; i < arg4; i++ )
9356 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9362 arg6 = (
PLINT)(val6);
9363 plmesh((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6);
9392 PyObject *resultobj = 0;
9401 PyArrayObject *tmp1 = NULL ;
9402 PyArrayObject *tmp2 = NULL ;
9403 PyArrayObject *tmp3 = NULL ;
9406 PyArrayObject *tmp7 = NULL ;
9407 PyObject *swig_obj[5] ;
9415 Xlen = PyArray_DIMS( tmp1 )[0];
9416 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9422 Ylen = PyArray_DIMS( tmp2 )[0];
9423 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9430 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9432 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9435 arg4 = PyArray_DIMS( tmp3 )[0];
9436 arg5 = PyArray_DIMS( tmp3 )[1];
9438 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (
size_t) arg4 );
9439 for ( i = 0; i < arg4; i++ )
9440 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9446 arg6 = (
PLINT)(val6);
9451 arg8 = PyArray_DIMS( tmp7 )[0];
9452 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9454 plmeshc((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
9489 PyObject *resultobj = 0;
9512 PyObject *resultobj = 0;
9530 PyObject *swig_obj[5] ;
9538 arg1 = (
char *)(buf1);
9543 arg2 = (
PLFLT)(val2);
9548 arg3 = (
PLFLT)(val3);
9553 arg4 = (
PLFLT)(val4);
9558 arg5 = (
char *)(buf5);
9559 plmtex((
char const *)arg1,arg2,arg3,arg4,(
char const *)arg5);
9572 PyObject *resultobj = 0;
9590 PyObject *swig_obj[5] ;
9598 arg1 = (
char *)(buf1);
9603 arg2 = (
PLFLT)(val2);
9608 arg3 = (
PLFLT)(val3);
9613 arg4 = (
PLFLT)(val4);
9618 arg5 = (
char *)(buf5);
9619 plmtex3((
char const *)arg1,arg2,arg3,arg4,(
char const *)arg5);
9632 PyObject *resultobj = 0;
9640 PyArrayObject *tmp1 = NULL ;
9641 PyArrayObject *tmp2 = NULL ;
9642 PyArrayObject *tmp3 = NULL ;
9647 PyObject *swig_obj[5] ;
9655 Xlen = PyArray_DIMS( tmp1 )[0];
9656 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9662 Ylen = PyArray_DIMS( tmp2 )[0];
9663 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9670 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9672 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9675 arg4 = PyArray_DIMS( tmp3 )[0];
9676 arg5 = PyArray_DIMS( tmp3 )[1];
9678 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (
size_t) arg4 );
9679 for ( i = 0; i < arg4; i++ )
9680 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9686 arg6 = (
PLINT)(val6);
9692 plot3d((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,arg7);
9721 PyObject *resultobj = 0;
9730 PyArrayObject *tmp1 = NULL ;
9731 PyArrayObject *tmp2 = NULL ;
9732 PyArrayObject *tmp3 = NULL ;
9735 PyArrayObject *tmp7 = NULL ;
9736 PyObject *swig_obj[5] ;
9744 Xlen = PyArray_DIMS( tmp1 )[0];
9745 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9751 Ylen = PyArray_DIMS( tmp2 )[0];
9752 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9759 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9761 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9764 arg4 = PyArray_DIMS( tmp3 )[0];
9765 arg5 = PyArray_DIMS( tmp3 )[1];
9767 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (
size_t) arg4 );
9768 for ( i = 0; i < arg4; i++ )
9769 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9775 arg6 = (
PLINT)(val6);
9780 arg8 = PyArray_DIMS( tmp7 )[0];
9781 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9783 plot3dc((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
9818 PyObject *resultobj = 0;
9831 PyArrayObject *tmp1 = NULL ;
9832 PyArrayObject *tmp2 = NULL ;
9833 PyArrayObject *tmp3 = NULL ;
9836 PyArrayObject *tmp7 = NULL ;
9839 PyArrayObject *tmp10 = NULL ;
9840 PyArrayObject *tmp12 = NULL ;
9841 PyObject *swig_obj[8] ;
9849 Xlen = PyArray_DIMS( tmp1 )[0];
9850 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9856 Ylen = PyArray_DIMS( tmp2 )[0];
9857 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9864 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9866 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9869 arg4 = PyArray_DIMS( tmp3 )[0];
9870 arg5 = PyArray_DIMS( tmp3 )[1];
9872 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (
size_t) arg4 );
9873 for ( i = 0; i < arg4; i++ )
9874 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9880 arg6 = (
PLINT)(val6);
9885 arg8 = PyArray_DIMS( tmp7 )[0];
9886 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9892 arg9 = (
PLINT)(val9);
9895 if ( tmp10 == NULL )
9897 arg10 =
Alen = PyArray_DIMS( tmp10 )[0];
9898 arg11 = (
PLINT *) PyArray_DATA( tmp10 );
9902 if ( tmp12 == NULL )
9904 if ( PyArray_DIMS( tmp12 )[0] !=
Alen )
9906 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9909 arg12 = (
PLINT *) PyArray_DATA( tmp12 );
9911 plot3dcl((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8,arg9,arg10,(
int const *)arg11,(
int const *)arg12);
9958 PyObject *resultobj = 0;
9967 PyArrayObject *tmp1 = NULL ;
9968 PyArrayObject *tmp2 = NULL ;
9969 PyArrayObject *tmp3 = NULL ;
9972 PyArrayObject *tmp7 = NULL ;
9973 PyObject *swig_obj[5] ;
9981 Xlen = PyArray_DIMS( tmp1 )[0];
9982 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9988 Ylen = PyArray_DIMS( tmp2 )[0];
9989 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9996 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9998 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
10001 arg4 = PyArray_DIMS( tmp3 )[0];
10002 arg5 = PyArray_DIMS( tmp3 )[1];
10004 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (
size_t) arg4 );
10005 for ( i = 0; i < arg4; i++ )
10006 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
10012 arg6 = (
PLINT)(val6);
10015 if ( tmp7 == NULL )
10017 arg8 = PyArray_DIMS( tmp7 )[0];
10018 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
10020 plsurf3d((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
10055 PyObject *resultobj = 0;
10068 PyArrayObject *tmp1 = NULL ;
10069 PyArrayObject *tmp2 = NULL ;
10070 PyArrayObject *tmp3 = NULL ;
10073 PyArrayObject *tmp7 = NULL ;
10076 PyArrayObject *tmp10 = NULL ;
10077 PyArrayObject *tmp12 = NULL ;
10078 PyObject *swig_obj[8] ;
10084 if ( tmp1 == NULL )
10086 Xlen = PyArray_DIMS( tmp1 )[0];
10087 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
10091 if ( tmp2 == NULL )
10093 Ylen = PyArray_DIMS( tmp2 )[0];
10094 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
10099 if ( tmp3 == NULL )
10101 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
10103 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
10106 arg4 = PyArray_DIMS( tmp3 )[0];
10107 arg5 = PyArray_DIMS( tmp3 )[1];
10109 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (
size_t) arg4 );
10110 for ( i = 0; i < arg4; i++ )
10111 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
10117 arg6 = (
PLINT)(val6);
10120 if ( tmp7 == NULL )
10122 arg8 = PyArray_DIMS( tmp7 )[0];
10123 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
10129 arg9 = (
PLINT)(val9);
10132 if ( tmp10 == NULL )
10134 arg10 =
Alen = PyArray_DIMS( tmp10 )[0];
10135 arg11 = (
PLINT *) PyArray_DATA( tmp10 );
10139 if ( tmp12 == NULL )
10141 if ( PyArray_DIMS( tmp12 )[0] !=
Alen )
10143 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10146 arg12 = (
PLINT *) PyArray_DATA( tmp12 );
10148 plsurf3dl((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8,arg9,arg10,(
int const *)arg11,(
int const *)arg12);
10195 PyObject *resultobj = 0;
10202 PyObject *swig_obj[2] ;
10209 PyObject *unicode_string;
10211 if ( !PyList_Check( swig_obj[0] ) )
10213 PyErr_SetString( PyExc_ValueError,
"Expecting a list" );
10216 tmp1 = PyList_Size( swig_obj[0] );
10218 arg2 = (
char **) malloc( (
size_t) ( tmp1 + 1 ) *
sizeof (
char * ) );
10219 for ( i = 0; i < tmp1; i++ )
10221 PyObject *s = PyList_GetItem( swig_obj[0], i );
10222 if ( PyString_Check( s ) )
10224 arg2[i] = PyString_AsString( s );
10226 else if ( PyUnicode_Check( s ) )
10229 unicode_string = PyUnicode_AsEncodedString( s,
"utf-8",
"Error ~" );
10230 arg2[i] = PyBytes_AS_STRING( unicode_string );
10235 PyErr_SetString( PyExc_ValueError,
"List items must be strings" );
10245 arg3 = (
PLINT)(val3);
10263 PyObject *resultobj = 0;
10267 PyArrayObject *tmp1 = NULL ;
10268 PyArrayObject *tmp3 = NULL ;
10269 PyObject *swig_obj[2] ;
10275 if ( tmp1 == NULL )
10277 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
10278 arg2 = (
PLINT *) PyArray_DATA( tmp1 );
10282 if ( tmp3 == NULL )
10284 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10286 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10289 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
10291 plpat(arg1,(
int const *)arg2,(
int const *)arg3);
10312 PyObject *resultobj = 0;
10328 PyObject *swig_obj[5] ;
10336 arg1 = (
PLINT)(val1);
10341 arg2 = (
PLFLT)(val2);
10346 arg3 = (
PLFLT)(val3);
10351 arg4 = (
PLFLT)(val4);
10356 arg5 = (
PLFLT)(val5);
10357 plpath(arg1,arg2,arg3,arg4,arg5);
10366 PyObject *resultobj = 0;
10371 PyArrayObject *tmp1 = NULL ;
10372 PyArrayObject *tmp3 = NULL ;
10375 PyObject *swig_obj[3] ;
10381 if ( tmp1 == NULL )
10383 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
10384 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
10388 if ( tmp3 == NULL )
10390 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10392 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10395 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
10401 arg4 = (
PLINT)(val4);
10402 plpoin(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
10423 PyObject *resultobj = 0;
10429 PyArrayObject *tmp1 = NULL ;
10430 PyArrayObject *tmp3 = NULL ;
10431 PyArrayObject *tmp4 = NULL ;
10434 PyObject *swig_obj[4] ;
10440 if ( tmp1 == NULL )
10442 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
10443 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
10447 if ( tmp3 == NULL )
10449 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10451 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10454 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
10458 if ( tmp4 == NULL )
10460 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10462 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10465 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10471 arg5 = (
PLINT)(val5);
10472 plpoin3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,arg5);
10499 PyObject *resultobj = 0;
10506 PyArrayObject *tmp1 = NULL ;
10507 PyArrayObject *tmp3 = NULL ;
10508 PyArrayObject *tmp4 = NULL ;
10509 PyArrayObject *tmp5 = NULL ;
10512 PyObject *swig_obj[5] ;
10518 if ( tmp1 == NULL )
10520 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
10521 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
10525 if ( tmp3 == NULL )
10527 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10529 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10532 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
10536 if ( tmp4 == NULL )
10538 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10540 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10543 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10547 if ( tmp5 == NULL )
10549 if ( PyArray_DIMS( tmp5 )[0] <
Alen - 1 )
10551 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
10554 arg5 = (
PLINT *) PyArray_DATA( tmp5 );
10561 plpoly3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,(
int const *)arg5,arg6);
10594 PyObject *resultobj = 0;
10601 PyObject *swig_obj[2] ;
10609 arg1 = (
PLINT)(val1);
10614 arg2 = (
PLINT)(val2);
10624 PyObject *resultobj = 0;
10628 PyObject *swig_obj[1] ;
10632 swig_obj[0] = args;
10637 arg1 = (
PLINT)(val1);
10647 PyObject *resultobj = 0;
10667 PyObject *swig_obj[6] ;
10675 arg1 = (
PLFLT)(val1);
10680 arg2 = (
PLFLT)(val2);
10685 arg3 = (
PLFLT)(val3);
10690 arg4 = (
PLFLT)(val4);
10695 arg5 = (
PLFLT)(val5);
10700 arg6 = (
char *)(buf6);
10701 plptex(arg1,arg2,arg3,arg4,arg5,(
char const *)arg6);
10712 PyObject *resultobj = 0;
10747 PyObject *swig_obj[11] ;
10755 arg1 = (
PLFLT)(val1);
10760 arg2 = (
PLFLT)(val2);
10765 arg3 = (
PLFLT)(val3);
10770 arg4 = (
PLFLT)(val4);
10775 arg5 = (
PLFLT)(val5);
10780 arg6 = (
PLFLT)(val6);
10785 arg7 = (
PLFLT)(val7);
10790 arg8 = (
PLFLT)(val8);
10795 arg9 = (
PLFLT)(val9);
10800 arg10 = (
PLFLT)(val10);
10805 arg11 = (
char *)(buf11);
10806 plptex3(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(
char const *)arg11);
10817 PyObject *resultobj = 0;
10831 PyObject *resultobj = 0;
10844 PyObject *resultobj = 0;
10863 PyObject *swig_obj[3] ;
10874 arg1 = (
PLFLT)(val1);
10879 arg2 = (
PLFLT)(val2);
10884 arg3 = (
PLFLT)(val3);
10885 plrgbhls(arg1,arg2,arg3,arg4,arg5,arg6);
10912 PyObject *resultobj = 0;
10919 PyObject *swig_obj[2] ;
10927 arg1 = (
PLFLT)(val1);
10932 arg2 = (
PLFLT)(val2);
10942 PyObject *resultobj = 0;
10947 PyArrayObject *tmp1 = NULL ;
10948 PyArrayObject *tmp2 = NULL ;
10949 PyArrayObject *tmp3 = NULL ;
10950 PyObject *swig_obj[3] ;
10956 if ( tmp1 == NULL )
10958 Alen = PyArray_DIMS( tmp1 )[0];
10959 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
10963 if ( tmp2 == NULL )
10965 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10967 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10970 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
10974 if ( tmp3 == NULL )
10976 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10978 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10981 arg4 = PyArray_DIMS( tmp3 )[0];
10982 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
10984 plscmap0((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,arg4);
11011 PyObject *resultobj = 0;
11017 PyArrayObject *tmp1 = NULL ;
11018 PyArrayObject *tmp2 = NULL ;
11019 PyArrayObject *tmp3 = NULL ;
11020 PyArrayObject *tmp4 = NULL ;
11021 PyObject *swig_obj[4] ;
11027 if ( tmp1 == NULL )
11029 Alen = PyArray_DIMS( tmp1 )[0];
11030 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
11034 if ( tmp2 == NULL )
11036 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
11038 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11041 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
11045 if ( tmp3 == NULL )
11047 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
11049 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11052 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
11056 if ( tmp4 == NULL )
11058 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
11060 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11063 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
11064 arg5 = PyArray_DIMS( tmp4 )[0];
11066 plscmap0a((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,(
double const *)arg4,arg5);
11099 PyObject *resultobj = 0;
11103 PyObject *swig_obj[1] ;
11107 swig_obj[0] = args;
11112 arg1 = (
PLINT)(val1);
11122 PyObject *resultobj = 0;
11127 PyArrayObject *tmp1 = NULL ;
11128 PyArrayObject *tmp2 = NULL ;
11129 PyArrayObject *tmp3 = NULL ;
11130 PyObject *swig_obj[3] ;
11136 if ( tmp1 == NULL )
11138 Alen = PyArray_DIMS( tmp1 )[0];
11139 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
11143 if ( tmp2 == NULL )
11145 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
11147 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11150 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
11154 if ( tmp3 == NULL )
11156 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
11158 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11161 arg4 = PyArray_DIMS( tmp3 )[0];
11162 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
11164 plscmap1((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,arg4);
11191 PyObject *resultobj = 0;
11197 PyArrayObject *tmp1 = NULL ;
11198 PyArrayObject *tmp2 = NULL ;
11199 PyArrayObject *tmp3 = NULL ;
11200 PyArrayObject *tmp4 = NULL ;
11201 PyObject *swig_obj[4] ;
11207 if ( tmp1 == NULL )
11209 Alen = PyArray_DIMS( tmp1 )[0];
11210 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
11214 if ( tmp2 == NULL )
11216 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
11218 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11221 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
11225 if ( tmp3 == NULL )
11227 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
11229 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11232 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
11236 if ( tmp4 == NULL )
11238 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
11240 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11243 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
11244 arg5 = PyArray_DIMS( tmp4 )[0];
11246 plscmap1a((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,(
double const *)arg4,arg5);
11279 PyObject *resultobj = 0;
11289 PyArrayObject *tmp2 = NULL ;
11290 PyArrayObject *tmp4 = NULL ;
11291 PyArrayObject *tmp5 = NULL ;
11292 PyArrayObject *tmp6 = NULL ;
11293 PyArrayObject *tmp7 = NULL ;
11294 PyObject *swig_obj[6] ;
11305 if ( tmp2 == NULL )
11307 arg2 =
Alen = PyArray_DIMS( tmp2 )[0];
11308 arg3 = (
PLFLT *) PyArray_DATA( tmp2 );
11312 if ( tmp4 == NULL )
11314 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
11316 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11319 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
11323 if ( tmp5 == NULL )
11325 if ( PyArray_DIMS( tmp5 )[0] !=
Alen )
11327 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11330 arg5 = (
PLFLT *) PyArray_DATA( tmp5 );
11334 if ( tmp6 == NULL )
11336 if ( PyArray_DIMS( tmp6 )[0] !=
Alen )
11338 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11341 arg6 = (
PLFLT *) PyArray_DATA( tmp6 );
11345 if ( tmp7 == NULL )
11347 if ( PyArray_DIMS( tmp7 )[0] <
Alen - 1 )
11349 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
11352 arg7 = (
PLINT *) PyArray_DATA( tmp7 );
11354 plscmap1l(arg1,arg2,(
double const *)arg3,(
double const *)arg4,(
double const *)arg5,(
double const *)arg6,(
int const *)arg7);
11393 PyObject *resultobj = 0;
11404 PyArrayObject *tmp2 = NULL ;
11405 PyArrayObject *tmp4 = NULL ;
11406 PyArrayObject *tmp5 = NULL ;
11407 PyArrayObject *tmp6 = NULL ;
11408 PyArrayObject *tmp7 = NULL ;
11409 PyArrayObject *tmp8 = NULL ;
11410 PyObject *swig_obj[7] ;
11421 if ( tmp2 == NULL )
11423 arg2 =
Alen = PyArray_DIMS( tmp2 )[0];
11424 arg3 = (
PLFLT *) PyArray_DATA( tmp2 );
11428 if ( tmp4 == NULL )
11430 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
11432 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11435 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
11439 if ( tmp5 == NULL )
11441 if ( PyArray_DIMS( tmp5 )[0] !=
Alen )
11443 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11446 arg5 = (
PLFLT *) PyArray_DATA( tmp5 );
11450 if ( tmp6 == NULL )
11452 if ( PyArray_DIMS( tmp6 )[0] !=
Alen )
11454 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11457 arg6 = (
PLFLT *) PyArray_DATA( tmp6 );
11461 if ( tmp7 == NULL )
11463 if ( PyArray_DIMS( tmp7 )[0] !=
Alen )
11465 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11468 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
11472 if ( tmp8 == NULL )
11474 if ( PyArray_DIMS( tmp8 )[0] <
Alen - 1 )
11476 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
11479 arg8 = (
PLINT *) PyArray_DATA( tmp8 );
11481 plscmap1la(arg1,arg2,(
double const *)arg3,(
double const *)arg4,(
double const *)arg5,(
double const *)arg6,(
double const *)arg7,(
int const *)arg8);
11526 PyObject *resultobj = 0;
11530 PyObject *swig_obj[1] ;
11534 swig_obj[0] = args;
11539 arg1 = (
PLINT)(val1);
11549 PyObject *resultobj = 0;
11556 PyObject *swig_obj[2] ;
11564 arg1 = (
PLFLT)(val1);
11569 arg2 = (
PLFLT)(val2);
11579 PyObject *resultobj = 0;
11612 PyObject *resultobj = 0;
11625 PyObject *swig_obj[4] ;
11633 arg1 = (
PLINT)(val1);
11638 arg2 = (
PLINT)(val2);
11643 arg3 = (
PLINT)(val3);
11648 arg4 = (
PLINT)(val4);
11649 plscol0(arg1,arg2,arg3,arg4);
11658 PyObject *resultobj = 0;
11674 PyObject *swig_obj[5] ;
11682 arg1 = (
PLINT)(val1);
11687 arg2 = (
PLINT)(val2);
11692 arg3 = (
PLINT)(val3);
11697 arg4 = (
PLINT)(val4);
11702 arg5 = (
PLFLT)(val5);
11703 plscol0a(arg1,arg2,arg3,arg4,arg5);
11712 PyObject *resultobj = 0;
11722 PyObject *swig_obj[3] ;
11730 arg1 = (
PLINT)(val1);
11735 arg2 = (
PLINT)(val2);
11740 arg3 = (
PLINT)(val3);
11750 PyObject *resultobj = 0;
11763 PyObject *swig_obj[4] ;
11771 arg1 = (
PLINT)(val1);
11776 arg2 = (
PLINT)(val2);
11781 arg3 = (
PLINT)(val3);
11786 arg4 = (
PLFLT)(val4);
11796 PyObject *resultobj = 0;
11800 PyObject *swig_obj[1] ;
11804 swig_obj[0] = args;
11809 arg1 = (
PLINT)(val1);
11819 PyObject *resultobj = 0;
11823 PyObject *swig_obj[1] ;
11827 swig_obj[0] = args;
11832 arg1 = (
PLINT)(val1);
11842 PyObject *resultobj = 0;
11847 PyObject *swig_obj[1] ;
11851 swig_obj[0] = args;
11856 arg1 = (
char *)(buf1);
11857 plsdev((
char const *)arg1);
11868 PyObject *resultobj = 0;
11881 PyObject *swig_obj[4] ;
11889 arg1 = (
PLFLT)(val1);
11894 arg2 = (
PLFLT)(val2);
11899 arg3 = (
PLFLT)(val3);
11904 arg4 = (
PLFLT)(val4);
11914 PyObject *resultobj = 0;
11933 PyObject *swig_obj[6] ;
11941 arg1 = (
PLINT)(val1);
11946 arg2 = (
PLINT)(val2);
11951 arg3 = (
PLINT)(val3);
11956 arg4 = (
PLINT)(val4);
11961 arg5 = (
PLFLT)(val5);
11966 arg6 = (
PLFLT)(val6);
11967 plsdimap(arg1,arg2,arg3,arg4,arg5,arg6);
11976 PyObject *resultobj = 0;
11980 PyObject *swig_obj[1] ;
11984 swig_obj[0] = args;
11989 arg1 = (
PLFLT)(val1);
11999 PyObject *resultobj = 0;
12012 PyObject *swig_obj[4] ;
12020 arg1 = (
PLFLT)(val1);
12025 arg2 = (
PLFLT)(val2);
12030 arg3 = (
PLFLT)(val3);
12035 arg4 = (
PLFLT)(val4);
12045 PyObject *resultobj = 0;
12058 PyObject *swig_obj[4] ;
12066 arg1 = (
PLFLT)(val1);
12071 arg2 = (
PLFLT)(val2);
12076 arg3 = (
PLFLT)(val3);
12081 arg4 = (
PLFLT)(val4);
12091 PyObject *resultobj = 0;
12092 unsigned int arg1 ;
12093 unsigned int val1 ;
12095 PyObject *swig_obj[1] ;
12099 swig_obj[0] = args;
12104 arg1 = (
unsigned int)(val1);
12114 PyObject *resultobj = 0;
12118 PyObject *swig_obj[1] ;
12122 swig_obj[0] = args;
12127 arg1 = (char)(val1);
12137 PyObject *resultobj = 0;
12146 PyObject *swig_obj[2] ;
12155 arg1 = (
char *)(buf1);
12160 arg2 = (
char *)(buf2);
12161 result = (
PLINT)
plsetopt((
char const *)arg1,(
char const *)arg2);
12174 PyObject *resultobj = 0;
12184 PyObject *swig_obj[3] ;
12192 arg1 = (
PLINT)(val1);
12197 arg2 = (
PLINT)(val2);
12202 arg3 = (
PLINT)(val3);
12212 PyObject *resultobj = 0;
12214 unsigned int val1 ;
12216 PyObject *swig_obj[1] ;
12220 swig_obj[0] = args;
12235 PyObject *resultobj = 0;
12240 PyObject *swig_obj[1] ;
12244 swig_obj[0] = args;
12249 arg1 = (
char *)(buf1);
12261 PyObject *resultobj = 0;
12271 PyObject *swig_obj[3] ;
12279 arg1 = (
PLINT)(val1);
12284 arg2 = (
PLINT)(val2);
12289 arg3 = (
PLINT)(val3);
12299 PyObject *resultobj = 0;
12317 PyArrayObject *tmp1 = NULL ;
12326 PyArrayObject *tmp9 = NULL ;
12335 PyObject *swig_obj[12] ;
12355 if ( tmp1 == NULL )
12357 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
12358 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
12360 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (
size_t) arg2 );
12361 for ( i = 0; i < arg2; i++ )
12362 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
12368 arg5 = (
PLFLT)(val5);
12373 arg6 = (
PLFLT)(val6);
12378 arg7 = (
PLFLT)(val7);
12383 arg8 = (
PLFLT)(val8);
12386 if ( tmp9 == NULL )
12388 arg10 = PyArray_DIMS( tmp9 )[0];
12389 arg9 = (
PLFLT *) PyArray_DATA( tmp9 );
12395 arg11 = (
PLFLT)(val11);
12400 arg12 = (
PLINT)(val12);
12405 arg13 = (
PLFLT)(val13);
12410 arg15 = (
PLBOOL)(val15);
12411 if (swig_obj[10]) {
12414 if ( swig_obj[10] == Py_None )
12420 if ( !PyCallable_Check( (PyObject *) swig_obj[10] ) )
12422 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
12429 if (swig_obj[11]) {
12431 if ( swig_obj[11] == Py_None )
12439 plshades((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(
double const *)arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17);
12474 PyObject *resultobj = 0;
12496 PyArrayObject *tmp1 = NULL ;
12525 PyObject *swig_obj[17] ;
12545 if ( tmp1 == NULL )
12547 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
12548 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
12550 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (
size_t) arg2 );
12551 for ( i = 0; i < arg2; i++ )
12552 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
12558 arg5 = (
PLFLT)(val5);
12563 arg6 = (
PLFLT)(val6);
12568 arg7 = (
PLFLT)(val7);
12573 arg8 = (
PLFLT)(val8);
12578 arg9 = (
PLFLT)(val9);
12583 arg10 = (
PLFLT)(val10);
12588 arg11 = (
PLINT)(val11);
12593 arg12 = (
PLFLT)(val12);
12598 arg13 = (
PLFLT)(val13);
12603 arg14 = (
PLINT)(val14);
12608 arg15 = (
PLFLT)(val15);
12613 arg16 = (
PLINT)(val16);
12618 arg17 = (
PLFLT)(val17);
12623 arg19 = (
PLBOOL)(val19);
12624 if (swig_obj[15]) {
12627 if ( swig_obj[15] == Py_None )
12633 if ( !PyCallable_Check( (PyObject *) swig_obj[15] ) )
12635 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
12642 if (swig_obj[16]) {
12644 if ( swig_obj[16] == Py_None )
12652 plshade((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21);
12681 PyObject *resultobj = 0;
12685 PyObject *swig_obj[2] ;
12697 if ( swig_obj[0] == Py_None )
12703 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
12705 PyErr_SetString( PyExc_ValueError,
"label_func argument must be callable" );
12709 Py_XINCREF( (PyObject *) swig_obj[0] );
12728 PyObject *resultobj = 0;
12735 PyObject *swig_obj[2] ;
12743 arg1 = (
PLFLT)(val1);
12748 arg2 = (
PLFLT)(val2);
12758 PyObject *resultobj = 0;
12766 PyObject *swig_obj[3] ;
12774 arg1 = (
PLINT)(val1);
12779 arg2 = (
PLINT)(val2);
12781 int res;
void *
buf = 0;
12782#if !defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL)
12784 res = PyObject_GetBuffer(swig_obj[2], &view, PyBUF_WRITABLE);
12786#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12787#pragma GCC diagnostic push
12788#pragma GCC diagnostic ignored "-Wdeprecated"
12789#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
12790#elif defined(_MSC_VER)
12791#pragma warning(push)
12792#pragma warning(disable: 4996)
12795 res = PyObject_AsWriteBuffer(swig_obj[2], &
buf, &size);
12796#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12797#pragma GCC diagnostic pop
12798#elif defined(_MSC_VER)
12799#pragma warning(pop)
12806#if !defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL)
12808 PyBuffer_Release(&view);
12810 arg3 = (
void *)
buf;
12821 PyObject *resultobj = 0;
12829 PyObject *swig_obj[3] ;
12837 arg1 = (
PLINT)(val1);
12842 arg2 = (
PLINT)(val2);
12844 int res;
void *
buf = 0;
12845#if !defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL)
12847 res = PyObject_GetBuffer(swig_obj[2], &view, PyBUF_WRITABLE);
12849#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12850#pragma GCC diagnostic push
12851#pragma GCC diagnostic ignored "-Wdeprecated"
12852#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
12853#elif defined(_MSC_VER)
12854#pragma warning(push)
12855#pragma warning(disable: 4996)
12858 res = PyObject_AsWriteBuffer(swig_obj[2], &
buf, &size);
12859#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
12860#pragma GCC diagnostic pop
12861#elif defined(_MSC_VER)
12862#pragma warning(pop)
12869#if !defined(SWIG_PYTHON_OLD_BUFFER_PROTOCOL)
12871 PyBuffer_Release(&view);
12873 arg3 = (
void *)
buf;
12884 PyObject *resultobj = 0;
12891 PyObject *swig_obj[2] ;
12899 arg1 = (
PLFLT)(val1);
12904 arg2 = (
PLFLT)(val2);
12914 PyObject *resultobj = 0;
12918 PyObject *swig_obj[1] ;
12922 swig_obj[0] = args;
12927 arg1 = (
PLINT)(val1);
12937 PyObject *resultobj = 0;
12956 PyObject *swig_obj[6] ;
12964 arg1 = (
PLFLT)(val1);
12969 arg2 = (
PLFLT)(val2);
12974 arg3 = (
PLINT)(val3);
12979 arg4 = (
PLINT)(val4);
12984 arg5 = (
PLINT)(val5);
12989 arg6 = (
PLINT)(val6);
12990 plspage(arg1,arg2,arg3,arg4,arg5,arg6);
12999 PyObject *resultobj = 0;
13004 PyObject *swig_obj[1] ;
13008 swig_obj[0] = args;
13013 arg1 = (
char *)(buf1);
13025 PyObject *resultobj = 0;
13033 PyObject *swig_obj[2] ;
13041 arg1 = (
char *)(buf1);
13047 plspal1((
char const *)arg1,arg2);
13058 PyObject *resultobj = 0;
13062 PyObject *swig_obj[1] ;
13066 swig_obj[0] = args;
13081 PyObject *resultobj = 0;
13085 PyObject *swig_obj[1] ;
13089 swig_obj[0] = args;
13094 arg1 = (
PLINT)(val1);
13104 PyObject *resultobj = 0;
13111 PyObject *swig_obj[2] ;
13119 arg1 = (
PLINT)(val1);
13124 arg2 = (
PLINT)(val2);
13134 PyObject *resultobj = 0;
13141 PyObject *swig_obj[2] ;
13149 arg1 = (
PLFLT)(val1);
13154 arg2 = (
PLFLT)(val2);
13164 PyObject *resultobj = 0;
13171 PyObject *swig_obj[2] ;
13179 arg1 = (
PLINT)(val1);
13184 arg2 = (
PLINT)(val2);
13194 PyObject *resultobj = 0;
13205 PyObject *swig_obj[3] ;
13213 arg1 = (
char *)(buf1);
13218 arg2 = (
PLINT)(val2);
13223 arg3 = (
PLINT)(val3);
13224 plstart((
char const *)arg1,arg2,arg3);
13235 PyObject *resultobj = 0;
13239 PyObject *swig_obj[2] ;
13252 if ( swig_obj[0] == Py_None )
13258 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
13260 PyErr_SetString( PyExc_ValueError,
"coordinate transform argument must be callable" );
13282 PyObject *resultobj = 0;
13287 PyArrayObject *tmp1 = NULL ;
13288 PyArrayObject *tmp3 = NULL ;
13292 PyObject *swig_obj[3] ;
13298 if ( tmp1 == NULL )
13300 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
13301 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
13305 if ( tmp3 == NULL )
13307 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13309 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13312 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
13318 arg4 = (
char *)(buf4);
13319 plstring(arg1,(
double const *)arg2,(
double const *)arg3,(
char const *)arg4);
13342 PyObject *resultobj = 0;
13348 PyArrayObject *tmp1 = NULL ;
13349 PyArrayObject *tmp3 = NULL ;
13350 PyArrayObject *tmp4 = NULL ;
13354 PyObject *swig_obj[4] ;
13360 if ( tmp1 == NULL )
13362 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
13363 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
13367 if ( tmp3 == NULL )
13369 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13371 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13374 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
13378 if ( tmp4 == NULL )
13380 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
13382 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13385 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
13391 arg5 = (
char *)(buf5);
13392 plstring3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,(
char const *)arg5);
13421 PyObject *resultobj = 0;
13434 PyObject *swig_obj[4] ;
13442 arg1 = (
PLINT)(val1);
13447 arg2 = (
PLINT)(val2);
13452 arg3 = (
PLFLT)(val3);
13457 arg4 = (
PLFLT)(val4);
13467 PyObject *resultobj = 0;
13484 char **arg17 = (
char **)0 ;
13518 PyArrayObject *tmp15 = NULL ;
13519 PyArrayObject *tmp16 = NULL ;
13520 char **tmp17 = NULL ;
13530 PyObject *swig_obj[19] ;
13539 arg2 = (
char *)(buf2);
13544 arg3 = (
char *)(buf3);
13549 arg4 = (
PLFLT)(val4);
13554 arg5 = (
PLFLT)(val5);
13559 arg6 = (
PLFLT)(val6);
13564 arg7 = (
PLFLT)(val7);
13569 arg8 = (
PLFLT)(val8);
13574 arg9 = (
PLFLT)(val9);
13579 arg10 = (
PLFLT)(val10);
13584 arg11 = (
PLBOOL)(val11);
13589 arg12 = (
PLBOOL)(val12);
13594 arg13 = (
PLINT)(val13);
13599 arg14 = (
PLINT)(val14);
13602 if ( tmp15 == NULL )
13604 Alen = PyArray_DIMS( tmp15 )[0];
13605 arg15 = (
PLINT *) PyArray_DATA( tmp15 );
13609 if ( tmp16 == NULL )
13611 if ( PyArray_DIMS( tmp16 )[0] !=
Alen )
13613 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13616 arg16 = (
PLINT *) PyArray_DATA( tmp16 );
13620 PyObject *elt, *unicode_string;
13622 if ( !PySequence_Check( swig_obj[15] ) ||
PySequence_Size( swig_obj[15] ) != 4 )
13624 PyErr_SetString( PyExc_ValueError,
"Requires a sequence of 4 strings." );
13629 PyErr_SetString( PyExc_ValueError,
"colline and styline args must be length 4." );
13632 tmp17 = (
char **) malloc(
sizeof (
char* ) * 4 );
13633 if ( tmp17 == NULL )
13636 for ( i = 0; i < 4; i++ )
13640 if ( PyString_Check( elt ) )
13642 arg17[i] = PyString_AsString( elt );
13644 else if ( PyUnicode_Check( elt ) )
13646 unicode_string = PyUnicode_AsEncodedString( elt,
"utf-8",
"Error ~" );
13647 arg17[i] = PyBytes_AS_STRING( unicode_string );
13649 if ( arg17[i] == NULL )
13660 arg18 = (
char *)(buf18);
13665 arg19 = (
char *)(buf19);
13670 arg20 = (
char *)(buf20);
13671 plstripc(arg1,(
char const *)arg2,(
char const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,(
int const *)arg15,(
int const *)arg16,(
char const *(*))arg17,(
char const *)arg18,(
char const *)arg19,(
char const *)arg20);
13714 PyObject *resultobj = 0;
13718 PyObject *swig_obj[1] ;
13722 swig_obj[0] = args;
13727 arg1 = (
PLINT)(val1);
13737 PyObject *resultobj = 0;
13741 PyArrayObject *tmp1 = NULL ;
13742 PyArrayObject *tmp3 = NULL ;
13743 PyObject *swig_obj[2] ;
13749 if ( tmp1 == NULL )
13751 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
13752 arg2 = (
PLINT *) PyArray_DATA( tmp1 );
13756 if ( tmp3 == NULL )
13758 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13760 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13763 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
13765 plstyl(arg1,(
int const *)arg2,(
int const *)arg3);
13786 PyObject *resultobj = 0;
13791 PyArrayObject *tmp1 = NULL ;
13792 PyArrayObject *tmp2 = NULL ;
13795 PyObject *swig_obj[3] ;
13800 if ( swig_obj[0] != Py_None )
13803 if ( tmp1 == NULL )
13805 Alen = PyArray_DIMS( tmp1 )[0];
13806 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
13815 if ( swig_obj[1] != Py_None )
13818 if ( tmp2 == NULL )
13820 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
13822 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13825 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
13826 arg3 = PyArray_DIMS( tmp2 )[0];
13839 plsvect((
double const *)arg1,(
double const *)arg2,arg3,arg4);
13860 PyObject *resultobj = 0;
13873 PyObject *swig_obj[4] ;
13881 arg1 = (
PLFLT)(val1);
13886 arg2 = (
PLFLT)(val2);
13891 arg3 = (
PLFLT)(val3);
13896 arg4 = (
PLFLT)(val4);
13897 plsvpa(arg1,arg2,arg3,arg4);
13906 PyObject *resultobj = 0;
13913 PyObject *swig_obj[2] ;
13921 arg1 = (
PLINT)(val1);
13926 arg2 = (
PLINT)(val2);
13936 PyObject *resultobj = 0;
13943 PyObject *swig_obj[2] ;
13951 arg1 = (
PLINT)(val1);
13956 arg2 = (
PLINT)(val2);
13966 PyObject *resultobj = 0;
13971 PyArrayObject *tmp1 = NULL ;
13972 PyArrayObject *tmp3 = NULL ;
13975 PyObject *swig_obj[3] ;
13981 if ( tmp1 == NULL )
13983 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
13984 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
13988 if ( tmp3 == NULL )
13990 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13992 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13995 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
14001 arg4 = (
PLINT)(val4);
14002 plsym(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
14023 PyObject *resultobj = 0;
14030 PyObject *swig_obj[2] ;
14038 arg1 = (
PLINT)(val1);
14043 arg2 = (
PLINT)(val2);
14053 PyObject *resultobj = 0;
14066 PyObject *resultobj = 0;
14071 PyObject *swig_obj[1] ;
14075 swig_obj[0] = args;
14080 arg1 = (
char *)(buf1);
14092 PyObject *resultobj = 0;
14096 PyObject *swig_obj[1] ;
14100 swig_obj[0] = args;
14105 arg1 = (
PLFLT)(val1);
14115 PyObject *resultobj = 0;
14123 PyArrayObject *tmp1 = NULL ;
14124 PyArrayObject *tmp2 = NULL ;
14127 PyObject *swig_obj[5] ;
14141 if ( tmp1 == NULL )
14143 Xlen = PyArray_DIMS( tmp1 )[0];
14144 Ylen = PyArray_DIMS( tmp1 )[1];
14147 for ( i = 0; i <
Xlen; i++ )
14148 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
14153 if ( tmp2 == NULL )
14155 if (
Xlen != PyArray_DIMS( tmp2 )[0] ||
Ylen != PyArray_DIMS( tmp2 )[1] )
14157 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
14160 arg3 = PyArray_DIMS( tmp2 )[0];
14161 arg4 = PyArray_DIMS( tmp2 )[1];
14163 arg2 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (
size_t) arg3 );
14164 for ( i = 0; i < arg3; i++ )
14165 arg2[i] = ( (
PLFLT *) PyArray_DATA( tmp2 ) + i * size );
14171 arg5 = (
PLFLT)(val5);
14175 if ( swig_obj[3] == Py_None )
14181 if ( !PyCallable_Check( (PyObject *) swig_obj[3] ) )
14183 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
14192 if ( swig_obj[4] == Py_None )
14200 plvect((
double const **)arg1,(
double const **)arg2,arg3,arg4,arg5,arg6,arg7);
14237 PyObject *resultobj = 0;
14253 PyObject *swig_obj[5] ;
14261 arg1 = (
PLFLT)(val1);
14266 arg2 = (
PLFLT)(val2);
14271 arg3 = (
PLFLT)(val3);
14276 arg4 = (
PLFLT)(val4);
14281 arg5 = (
PLFLT)(val5);
14282 plvpas(arg1,arg2,arg3,arg4,arg5);
14291 PyObject *resultobj = 0;
14304 PyObject *swig_obj[4] ;
14312 arg1 = (
PLFLT)(val1);
14317 arg2 = (
PLFLT)(val2);
14322 arg3 = (
PLFLT)(val3);
14327 arg4 = (
PLFLT)(val4);
14328 plvpor(arg1,arg2,arg3,arg4);
14337 PyObject *resultobj = 0;
14350 PyObject *resultobj = 0;
14384 PyObject *swig_obj[11] ;
14392 arg1 = (
PLFLT)(val1);
14397 arg2 = (
PLFLT)(val2);
14402 arg3 = (
PLFLT)(val3);
14407 arg4 = (
PLFLT)(val4);
14412 arg5 = (
PLFLT)(val5);
14417 arg6 = (
PLFLT)(val6);
14422 arg7 = (
PLFLT)(val7);
14427 arg8 = (
PLFLT)(val8);
14432 arg9 = (
PLFLT)(val9);
14437 arg10 = (
PLFLT)(val10);
14442 arg11 = (
PLFLT)(val11);
14443 plw3d(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
14452 PyObject *resultobj = 0;
14456 PyObject *swig_obj[1] ;
14460 swig_obj[0] = args;
14465 arg1 = (
PLFLT)(val1);
14475 PyObject *resultobj = 0;
14488 PyObject *swig_obj[4] ;
14496 arg1 = (
PLFLT)(val1);
14501 arg2 = (
PLFLT)(val2);
14506 arg3 = (
PLFLT)(val3);
14511 arg4 = (
PLFLT)(val4);
14512 plwind(arg1,arg2,arg3,arg4);
14521 PyObject *resultobj = 0;
14528 PyObject *swig_obj[1] ;
14533 swig_obj[0] = args;
14554 PyObject *resultobj = 0;
14572 PyObject *swig_obj[6] ;
14578 if ( swig_obj[0] == Py_None )
14584 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14586 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14596 arg2 = (
char *)(buf2);
14601 arg3 = (
PLFLT)(val3);
14606 arg4 = (
PLFLT)(val4);
14611 arg5 = (
PLFLT)(val5);
14616 arg6 = (
PLFLT)(val6);
14617 plmap(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6);
14634 PyObject *resultobj = 0;
14654 PyArrayObject *tmp7 = NULL ;
14655 PyObject *swig_obj[7] ;
14661 if ( swig_obj[0] == Py_None )
14667 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14669 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14679 arg2 = (
char *)(buf2);
14684 arg3 = (
PLFLT)(val3);
14689 arg4 = (
PLFLT)(val4);
14694 arg5 = (
PLFLT)(val5);
14699 arg6 = (
PLFLT)(val6);
14701 if ( swig_obj[6] != Py_None )
14704 if ( tmp7 == NULL )
14706 arg7 = (
PLINT *) PyArray_DATA( tmp7 );
14707 arg8 = PyArray_DIMS( tmp7 )[0];
14715 plmapline(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6,(
int const *)arg7,arg8);
14738 PyObject *resultobj = 0;
14762 PyArrayObject *tmp8 = NULL ;
14763 PyObject *swig_obj[8] ;
14769 if ( swig_obj[0] == Py_None )
14775 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14777 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14787 arg2 = (
char *)(buf2);
14792 arg3 = (
char *)(buf3);
14797 arg4 = (
PLFLT)(val4);
14802 arg5 = (
PLFLT)(val5);
14807 arg6 = (
PLFLT)(val6);
14812 arg7 = (
PLFLT)(val7);
14814 if ( swig_obj[7] != Py_None )
14817 if ( tmp8 == NULL )
14819 arg8 = (
PLINT *) PyArray_DATA( tmp8 );
14820 arg9 = PyArray_DIMS( tmp8 )[0];
14828 plmapstring(arg1,(
char const *)arg2,(
char const *)arg3,arg4,arg5,arg6,arg7,(
int const *)arg8,arg9);
14853 PyObject *resultobj = 0;
14887 PyObject *swig_obj[11] ;
14893 if ( swig_obj[0] == Py_None )
14899 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14901 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14911 arg2 = (
char *)(buf2);
14916 arg3 = (
PLFLT)(val3);
14921 arg4 = (
PLFLT)(val4);
14926 arg5 = (
PLFLT)(val5);
14931 arg6 = (
char *)(buf6);
14936 arg7 = (
PLFLT)(val7);
14941 arg8 = (
PLFLT)(val8);
14946 arg9 = (
PLFLT)(val9);
14951 arg10 = (
PLFLT)(val10);
14956 arg11 = (
PLINT)(val11);
14957 plmaptex(arg1,(
char const *)arg2,arg3,arg4,arg5,(
char const *)arg6,arg7,arg8,arg9,arg10,arg11);
14976 PyObject *resultobj = 0;
14996 PyArrayObject *tmp7 = NULL ;
14997 PyObject *swig_obj[7] ;
15003 if ( swig_obj[0] == Py_None )
15009 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
15011 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
15021 arg2 = (
char *)(buf2);
15026 arg3 = (
PLFLT)(val3);
15031 arg4 = (
PLFLT)(val4);
15036 arg5 = (
PLFLT)(val5);
15041 arg6 = (
PLFLT)(val6);
15043 if ( swig_obj[6] != Py_None )
15046 if ( tmp7 == NULL )
15048 arg7 = (
PLINT *) PyArray_DATA( tmp7 );
15049 arg8 = PyArray_DIMS( tmp7 )[0];
15057 plmapfill(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6,(
int const *)arg7,arg8);
15080 PyObject *resultobj = 0;
15100 PyObject *swig_obj[7] ;
15106 if ( swig_obj[0] == Py_None )
15112 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
15114 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
15124 arg2 = (
PLFLT)(val2);
15129 arg3 = (
PLFLT)(val3);
15134 arg4 = (
PLFLT)(val4);
15139 arg5 = (
PLFLT)(val5);
15144 arg6 = (
PLFLT)(val6);
15149 arg7 = (
PLFLT)(val7);
15165 PyObject *resultobj = 0;
15179 PyArrayObject *tmp1 = NULL ;
15200 PyObject *swig_obj[11] ;
15207 if ( tmp1 == NULL )
15209 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15210 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15212 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (
size_t) arg2 );
15213 for ( i = 0; i < arg2; i++ )
15214 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15220 arg4 = (
PLFLT)(val4);
15225 arg5 = (
PLFLT)(val5);
15230 arg6 = (
PLFLT)(val6);
15235 arg7 = (
PLFLT)(val7);
15240 arg8 = (
PLFLT)(val8);
15245 arg9 = (
PLFLT)(val9);
15250 arg10 = (
PLFLT)(val10);
15255 arg11 = (
PLFLT)(val11);
15260 arg12 = (
PLFLT)(val12);
15265 arg13 = (
PLFLT)(val13);
15266 plimage((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
15283 PyObject *resultobj = 0;
15297 PyArrayObject *tmp1 = NULL ;
15314 PyObject *swig_obj[11] ;
15328 if ( tmp1 == NULL )
15330 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15331 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15333 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (
size_t) arg2 );
15334 for ( i = 0; i < arg2; i++ )
15335 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15341 arg4 = (
PLFLT)(val4);
15346 arg5 = (
PLFLT)(val5);
15351 arg6 = (
PLFLT)(val6);
15356 arg7 = (
PLFLT)(val7);
15361 arg8 = (
PLFLT)(val8);
15366 arg9 = (
PLFLT)(val9);
15371 arg10 = (
PLFLT)(val10);
15376 arg11 = (
PLFLT)(val11);
15380 if ( swig_obj[9] == Py_None )
15386 if ( !PyCallable_Check( (PyObject *) swig_obj[9] ) )
15388 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
15395 if (swig_obj[10]) {
15397 if ( swig_obj[10] == Py_None )
15405 plimagefr((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
15434 PyObject *resultobj = 0;
15447 PyObject *resultobj = 0;
15460 PyObject *resultobj = 0;
15469 PyObject *swig_obj[2] ;
15477 arg1 = (
char *)(buf1);
15482 arg2 = (
char *)(buf2);
15483 plSetUsage((
char const *)arg1,(
char const *)arg2);
15496 PyObject *resultobj = 0;
15509 PyObject *resultobj = 0;
15515 PyArrayObject *tmp1 = NULL ;
15520 PyObject *swig_obj[1] ;
15526 swig_obj[0] = args;
15530 if ( tmp1 == NULL )
15532 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15533 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15535 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (
size_t) arg2 );
15536 for ( i = 0; i < arg2; i++ )
15537 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15568 PyObject *resultobj = 0;
15572 PyObject *swig_obj[1] ;
15577 swig_obj[0] = args;
15625 "Set format of numerical label for contours\n"
15629 " Set format of numerical label for contours.\n"
15631 " Redacted form: pl_setcontlabelformat(lexp, sigdig)\n"
15633 " This function is used example 9.\n"
15639 "pl_setcontlabelformat(lexp, sigdig)\n"
15643 " lexp (PLINT, input) : If the contour numerical label is greater\n"
15644 " than 10^(lexp) or less than 10^(-lexp), then the exponential\n"
15645 " format is used. Default value of lexp is 4.\n"
15647 " sigdig (PLINT, input) : Number of significant digits. Default\n"
15652 "Set parameters of contour labelling other than format of numerical label\n"
15656 " Set parameters of contour labelling other than those handled by\n"
15657 " pl_setcontlabelformat.\n"
15659 " Redacted form: pl_setcontlabelparam(offset, size, spacing, active)\n"
15661 " This function is used in example 9.\n"
15667 "pl_setcontlabelparam(offset, size, spacing, active)\n"
15671 " offset (PLFLT, input) : Offset of label from contour line (if set\n"
15672 " to 0.0, labels are printed on the lines). Default value is 0.006.\n"
15674 " size (PLFLT, input) : Font height for contour labels (normalized).\n"
15675 " Default value is 0.3.\n"
15677 " spacing (PLFLT, input) : Spacing parameter for contour labels.\n"
15678 " Default value is 0.1.\n"
15680 " active (PLINT, input) : Activate labels. Set to 1 if you want\n"
15681 " contour labels on. Default is off (0).\n"
15685 "Advance the (sub-)page\n"
15689 " Advances to the next subpage if sub=0, performing a page advance if\n"
15690 " there are no remaining subpages on the current page. If subpages\n"
15691 " aren't being used, pladv(0) will always advance the page. If page>0,\n"
15692 " PLplot switches to the specified subpage. Note that this allows you\n"
15693 " to overwrite a plot on the specified subpage; if this is not what you\n"
15694 " intended, use pleop followed by plbop to first advance the page. This\n"
15695 " routine is called automatically (with page=0) by plenv, but if plenv\n"
15696 " is not used, pladv must be called after initializing PLplot but before\n"
15697 " defining the viewport.\n"
15699 " Redacted form: pladv(page)\n"
15701 " This function is used in examples 1, 2, 4, 6-12, 14-18, 20, 21, 23-27,\n"
15712 " page (PLINT, input) : Specifies the subpage number (starting from 1\n"
15713 " in the top left corner and increasing along the rows) to which to\n"
15714 " advance. Set to zero to advance to the next subpage (or to the\n"
15715 " next page if subpages are not being used).\n"
15719 "Draw a circular or elliptical arc\n"
15723 " Draw a possibly filled arc centered at x, y with semimajor axis a and\n"
15724 " semiminor axis b, starting at angle1 and ending at angle2.\n"
15726 " Redacted form: General: plarc(x, y, a, b, angle1, angle2, rotate,\n"
15730 " This function is used in examples 3 and 27.\n"
15736 "plarc(x, y, a, b, angle1, angle2, rotate, fill)\n"
15740 " x (PLFLT, input) : X coordinate of arc center.\n"
15742 " y (PLFLT, input) : Y coordinate of arc center.\n"
15744 " a (PLFLT, input) : Length of the semimajor axis of the arc.\n"
15746 " b (PLFLT, input) : Length of the semiminor axis of the arc.\n"
15748 " angle1 (PLFLT, input) : Starting angle of the arc relative to the\n"
15749 " semimajor axis.\n"
15751 " angle2 (PLFLT, input) : Ending angle of the arc relative to the\n"
15752 " semimajor axis.\n"
15754 " rotate (PLFLT, input) : Angle of the semimajor axis relative to the\n"
15757 " fill (PLBOOL, input) : Draw a filled arc.\n"
15761 "Draw a box with axes, etc. with arbitrary origin\n"
15765 " Draws a box around the currently defined viewport with arbitrary\n"
15766 " world-coordinate origin specified by x0 and y0 and labels it with\n"
15767 " world coordinate values appropriate to the window. Thus plaxes should\n"
15768 " only be called after defining both viewport and window. The ascii\n"
15769 " character strings xopt and yopt specify how the box should be drawn as\n"
15770 " described below. If ticks and/or subticks are to be drawn for a\n"
15771 " particular axis, the tick intervals and number of subintervals may be\n"
15772 " specified explicitly, or they may be defaulted by setting the\n"
15773 " appropriate arguments to zero.\n"
15775 " Redacted form: General: plaxes(x0, y0, xopt, xtick, nxsub, yopt,\n"
15779 " This function is not used in any examples.\n"
15785 "plaxes(x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub)\n"
15789 " x0 (PLFLT, input) : World X coordinate of origin.\n"
15791 " y0 (PLFLT, input) : World Y coordinate of origin.\n"
15793 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15794 " options for the x axis. The string can include any combination of\n"
15795 " the following letters (upper or lower case) in any order: a: Draws\n"
15796 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n"
15798 " b: Draws bottom (X) or left (Y) edge of frame.\n"
15799 " c: Draws top (X) or right (Y) edge of frame.\n"
15800 " d: Plot labels as date / time. Values are assumed to be\n"
15801 " seconds since the epoch (as used by gmtime).\n"
15802 " f: Always use fixed point numeric labels.\n"
15803 " g: Draws a grid at the major tick interval.\n"
15804 " h: Draws a grid at the minor tick interval.\n"
15805 " i: Inverts tick marks, so they are drawn outwards, rather than\n"
15807 " l: Labels axis logarithmically. This only affects the labels,\n"
15808 " not the data, and so it is necessary to compute the logarithms\n"
15809 " of data points before passing them to any of the drawing\n"
15811 " m: Writes numeric labels at major tick intervals in the\n"
15812 " unconventional location (above box for X, right of box for Y).\n"
15813 " n: Writes numeric labels at major tick intervals in the\n"
15814 " conventional location (below box for X, left of box for Y).\n"
15815 " o: Use custom labelling function to generate axis label text.\n"
15816 " The custom labelling function can be defined with the\n"
15817 " plslabelfunc command.\n"
15818 " s: Enables subticks between major ticks, only valid if t is\n"
15819 " also specified.\n"
15820 " t: Draws major ticks.\n"
15821 " u: Exactly like \"b\" except don't draw edge line.\n"
15822 " w: Exactly like \"c\" except don't draw edge line.\n"
15823 " x: Exactly like \"t\" (including the side effect of the\n"
15824 " numerical labels for the major ticks) except exclude drawing\n"
15825 " the major and minor tick marks.\n"
15828 " xtick (PLFLT, input) : World coordinate interval between major\n"
15829 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
15830 " generates a suitable tick interval.\n"
15832 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
15833 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15834 " generates a suitable minor tick interval.\n"
15836 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15837 " options for the y axis. The string can include any combination of\n"
15838 " the letters defined above for xopt, and in addition may contain:\n"
15839 " v: Write numeric labels for the y axis parallel to the base of the\n"
15840 " graph, rather than parallel to the axis.\n"
15843 " ytick (PLFLT, input) : World coordinate interval between major\n"
15844 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
15845 " generates a suitable tick interval.\n"
15847 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
15848 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15849 " generates a suitable minor tick interval.\n"
15853 "Plot a histogram from binned data\n"
15857 " Plots a histogram consisting of nbin bins. The value associated with\n"
15858 " the i'th bin is placed in x[i], and the number of points in the bin is\n"
15859 " placed in y[i]. For proper operation, the values in x[i] must form a\n"
15860 " strictly increasing sequence. By default, x[i] is the left-hand edge\n"
15861 " of the i'th bin. If opt=PL_BIN_CENTRED is used, the bin boundaries are\n"
15862 " placed midway between the values in the x vector. Also see plhist for\n"
15863 " drawing histograms from unbinned data.\n"
15865 " Redacted form: General: plbin(x, y, opt)\n"
15866 " Python: plbin(nbin, x, y, opt)\n"
15869 " This function is not used in any examples.\n"
15875 "plbin(nbin, x, y, opt)\n"
15879 " nbin (PLINT, input) : Number of bins (i.e., number of values in x\n"
15880 " and y vectors.)\n"
15882 " x (PLFLT_VECTOR, input) : A vector containing values associated\n"
15883 " with bins. These must form a strictly increasing sequence.\n"
15885 " y (PLFLT_VECTOR, input) : A vector containing a number which is\n"
15886 " proportional to the number of points in each bin. This is a PLFLT\n"
15887 " (instead of PLINT) vector so as to allow histograms of\n"
15888 " probabilities, etc.\n"
15890 " opt (PLINT, input) : Is a combination of several flags:\n"
15891 " opt=PL_BIN_DEFAULT: The x represent the lower bin boundaries, the\n"
15892 " outer bins are expanded to fill up the entire x-axis and bins of\n"
15893 " zero height are simply drawn.\n"
15894 " opt=PL_BIN_CENTRED|...: The bin boundaries are to be midway\n"
15895 " between the x values. If the values in x are equally spaced,\n"
15896 " the values are the center values of the bins.\n"
15897 " opt=PL_BIN_NOEXPAND|...: The outer bins are drawn with equal\n"
15898 " size as the ones inside.\n"
15899 " opt=PL_BIN_NOEMPTY|...: Bins with zero height are not drawn\n"
15900 " (there is a gap for such bins).\n"
15904 "Calculate broken-down time from continuous time for the current stream\n"
15908 " Calculate broken-down time; year, month, day, hour, min, sec; from\n"
15909 " continuous time, ctime for the current stream. This function is the\n"
15910 " inverse of plctime.\n"
15912 " The PLplot definition of broken-down time is a calendar time that\n"
15913 " completely ignores all time zone offsets, i.e., it is the user's\n"
15914 " responsibility to apply those offsets (if so desired) before using the\n"
15915 " PLplot time API. By default broken-down time is defined using the\n"
15916 " proleptic Gregorian calendar without the insertion of leap seconds and\n"
15917 " continuous time is defined as the number of seconds since the Unix\n"
15918 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n"
15919 " broken-down and continuous time are possible, see plconfigtime.\n"
15921 " Redacted form: General: plbtime(year, month, day, hour, min, sec,\n"
15925 " This function is used in example 29.\n"
15931 "plbtime(year, month, day, hour, min, sec, ctime)\n"
15935 " year (PLINT_NC_SCALAR, output) : Returned value of years with\n"
15936 " positive values corresponding to CE (i.e., 1 = 1 CE, etc.) and\n"
15937 " non-negative values corresponding to BCE (e.g., 0 = 1 BCE, -1 = 2\n"
15940 " month (PLINT_NC_SCALAR, output) : Returned value of month within\n"
15941 " the year in the range from 0 (January) to 11 (December).\n"
15943 " day (PLINT_NC_SCALAR, output) : Returned value of day within the\n"
15944 " month in the range from 1 to 31.\n"
15946 " hour (PLINT_NC_SCALAR, output) : Returned value of hour within the\n"
15947 " day in the range from 0 to 23.\n"
15949 " min (PLINT_NC_SCALAR, output) : Returned value of minute within the\n"
15950 " hour in the range from 0 to 59\n"
15952 " sec (PLFLT_NC_SCALAR, output) : Returned value of second within the\n"
15953 " minute in range from 0. to 60.\n"
15955 " ctime (PLFLT, input) : Continuous time from which the broken-down\n"
15956 " time is calculated.\n"
15960 "Begin a new page\n"
15964 " Begins a new page. For a file driver, the output file is opened if\n"
15965 " necessary. Advancing the page via pleop and plbop is useful when a\n"
15966 " page break is desired at a particular point when plotting to subpages.\n"
15967 " Another use for pleop and plbop is when plotting pages to different\n"
15968 " files, since you can manually set the file name by calling plsfnam\n"
15969 " after the call to pleop. (In fact some drivers may only support a\n"
15970 " single page per file, making this a necessity.) One way to handle\n"
15971 " this case automatically is to page advance via pladv, but enable\n"
15972 " familying (see plsfam) with a small limit on the file size so that a\n"
15973 " new family member file will be created on each page break.\n"
15975 " Redacted form: plbop()\n"
15977 " This function is used in examples 2 and 20.\n"
15987 "Draw a box with axes, etc\n"
15991 " Draws a box around the currently defined viewport, and labels it with\n"
15992 " world coordinate values appropriate to the window. Thus plbox should\n"
15993 " only be called after defining both viewport and window. The ascii\n"
15994 " character strings xopt and yopt specify how the box should be drawn as\n"
15995 " described below. If ticks and/or subticks are to be drawn for a\n"
15996 " particular axis, the tick intervals and number of subintervals may be\n"
15997 " specified explicitly, or they may be defaulted by setting the\n"
15998 " appropriate arguments to zero.\n"
16000 " Redacted form: General: plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n"
16003 " This function is used in examples 1, 2, 4, 6, 6-12, 14-18, 21, 23-26,\n"
16010 "plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n"
16014 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
16015 " options for the x axis. The string can include any combination of\n"
16016 " the following letters (upper or lower case) in any order: a: Draws\n"
16017 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n"
16019 " b: Draws bottom (X) or left (Y) edge of frame.\n"
16020 " c: Draws top (X) or right (Y) edge of frame.\n"
16021 " d: Plot labels as date / time. Values are assumed to be\n"
16022 " seconds since the epoch (as used by gmtime).\n"
16023 " f: Always use fixed point numeric labels.\n"
16024 " g: Draws a grid at the major tick interval.\n"
16025 " h: Draws a grid at the minor tick interval.\n"
16026 " i: Inverts tick marks, so they are drawn outwards, rather than\n"
16028 " l: Labels axis logarithmically. This only affects the labels,\n"
16029 " not the data, and so it is necessary to compute the logarithms\n"
16030 " of data points before passing them to any of the drawing\n"
16032 " m: Writes numeric labels at major tick intervals in the\n"
16033 " unconventional location (above box for X, right of box for Y).\n"
16034 " n: Writes numeric labels at major tick intervals in the\n"
16035 " conventional location (below box for X, left of box for Y).\n"
16036 " o: Use custom labelling function to generate axis label text.\n"
16037 " The custom labelling function can be defined with the\n"
16038 " plslabelfunc command.\n"
16039 " s: Enables subticks between major ticks, only valid if t is\n"
16040 " also specified.\n"
16041 " t: Draws major ticks.\n"
16042 " u: Exactly like \"b\" except don't draw edge line.\n"
16043 " w: Exactly like \"c\" except don't draw edge line.\n"
16044 " x: Exactly like \"t\" (including the side effect of the\n"
16045 " numerical labels for the major ticks) except exclude drawing\n"
16046 " the major and minor tick marks.\n"
16049 " xtick (PLFLT, input) : World coordinate interval between major\n"
16050 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
16051 " generates a suitable tick interval.\n"
16053 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
16054 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
16055 " generates a suitable minor tick interval.\n"
16057 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
16058 " options for the y axis. The string can include any combination of\n"
16059 " the letters defined above for xopt, and in addition may contain:\n"
16060 " v: Write numeric labels for the y axis parallel to the base of the\n"
16061 " graph, rather than parallel to the axis.\n"
16064 " ytick (PLFLT, input) : World coordinate interval between major\n"
16065 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
16066 " generates a suitable tick interval.\n"
16068 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
16069 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
16070 " generates a suitable minor tick interval.\n"
16074 "Draw a box with axes, etc, in 3-d\n"
16078 " Draws axes, numeric and text labels for a three-dimensional surface\n"
16079 " plot. For a more complete description of three-dimensional plotting\n"
16080 " see the PLplot documentation.\n"
16082 " Redacted form: General: plbox3(xopt, xlabel, xtick, nxsub, yopt,\n"
16083 " ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n"
16086 " This function is used in examples 8, 11, 18, and 21.\n"
16092 "plbox3(xopt, xlabel, xtick, nxsub, yopt, ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n"
16096 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
16097 " options for the x axis. The string can include any combination of\n"
16098 " the following letters (upper or lower case) in any order: b: Draws\n"
16099 " axis at base, at height z=\n"
16100 " zmin where zmin is defined by call to plw3d. This character must be\n"
16101 " specified in order to use any of the other options.\n"
16102 " d: Plot labels as date / time. Values are assumed to be\n"
16103 " seconds since the epoch (as used by gmtime).\n"
16104 " f: Always use fixed point numeric labels.\n"
16105 " i: Inverts tick marks, so they are drawn downwards, rather\n"
16107 " l: Labels axis logarithmically. This only affects the labels,\n"
16108 " not the data, and so it is necessary to compute the logarithms\n"
16109 " of data points before passing them to any of the drawing\n"
16111 " n: Writes numeric labels at major tick intervals.\n"
16112 " o: Use custom labelling function to generate axis label text.\n"
16113 " The custom labelling function can be defined with the\n"
16114 " plslabelfunc command.\n"
16115 " s: Enables subticks between major ticks, only valid if t is\n"
16116 " also specified.\n"
16117 " t: Draws major ticks.\n"
16118 " u: If this is specified, the text label for the axis is\n"
16119 " written under the axis.\n"
16122 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
16123 " the text label for the x axis. It is only drawn if u is in the\n"
16126 " xtick (PLFLT, input) : World coordinate interval between major\n"
16127 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
16128 " generates a suitable tick interval.\n"
16130 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
16131 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
16132 " generates a suitable minor tick interval.\n"
16134 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
16135 " options for the y axis. The string is interpreted in the same way\n"
16138 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
16139 " the text label for the y axis. It is only drawn if u is in the\n"
16142 " ytick (PLFLT, input) : World coordinate interval between major\n"
16143 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
16144 " generates a suitable tick interval.\n"
16146 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
16147 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
16148 " generates a suitable minor tick interval.\n"
16150 " zopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
16151 " options for the z axis. The string can include any combination of\n"
16152 " the following letters (upper or lower case) in any order: b: Draws\n"
16153 " z axis to the left of the surface plot.\n"
16154 " c: Draws z axis to the right of the surface plot.\n"
16155 " d: Draws grid lines parallel to the x-y plane behind the\n"
16156 " figure. These lines are not drawn until after plot3d or\n"
16157 " plmesh are called because of the need for hidden line removal.\n"
16158 " e: Plot labels as date / time. Values are assumed to be\n"
16159 " seconds since the epoch (as used by gmtime). Note this\n"
16160 " suboption is interpreted the same as the d suboption for xopt\n"
16161 " and yopt, but it has to be identified as e for zopt since d\n"
16162 " has already been used for the different purpose above.\n"
16163 " f: Always use fixed point numeric labels.\n"
16164 " i: Inverts tick marks, so they are drawn away from the center.\n"
16165 " l: Labels axis logarithmically. This only affects the labels,\n"
16166 " not the data, and so it is necessary to compute the logarithms\n"
16167 " of data points before passing them to any of the drawing\n"
16169 " m: Writes numeric labels at major tick intervals on the\n"
16170 " right-hand z axis.\n"
16171 " n: Writes numeric labels at major tick intervals on the\n"
16172 " left-hand z axis.\n"
16173 " o: Use custom labelling function to generate axis label text.\n"
16174 " The custom labelling function can be defined with the\n"
16175 " plslabelfunc command.\n"
16176 " s: Enables subticks between major ticks, only valid if t is\n"
16177 " also specified.\n"
16178 " t: Draws major ticks.\n"
16179 " u: If this is specified, the text label is written beside the\n"
16180 " left-hand axis.\n"
16181 " v: If this is specified, the text label is written beside the\n"
16182 " right-hand axis.\n"
16185 " zlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
16186 " the text label for the z axis. It is only drawn if u or v are in\n"
16187 " the zopt string.\n"
16189 " ztick (PLFLT, input) : World coordinate interval between major\n"
16190 " ticks on the z axis. If it is set to zero, PLplot automatically\n"
16191 " generates a suitable tick interval.\n"
16193 " nzsub (PLINT, input) : Number of subintervals between major z axis\n"
16194 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
16195 " generates a suitable minor tick interval.\n"
16199 "Calculate world coordinates and corresponding window index from relative device coordinates\n"
16203 " Calculate world coordinates, wx and wy, and corresponding window index\n"
16204 " from relative device coordinates, rx and ry.\n"
16206 " Redacted form: General: plcalc_world(rx, ry, wx, wy, window)\n"
16209 " This function is used in example 31.\n"
16215 "plcalc_world(rx, ry, wx, wy, window)\n"
16219 " rx (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n"
16220 " the x coordinate.\n"
16222 " ry (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n"
16223 " the y coordinate.\n"
16225 " wx (PLFLT_NC_SCALAR, output) : Returned value of the x world\n"
16226 " coordinate corresponding to the relative device coordinates rx and\n"
16229 " wy (PLFLT_NC_SCALAR, output) : Returned value of the y world\n"
16230 " coordinate corresponding to the relative device coordinates rx and\n"
16233 " window (PLINT_NC_SCALAR, output) : Returned value of the last\n"
16234 " defined window index that corresponds to the input relative device\n"
16235 " coordinates (and the returned world coordinates). To give some\n"
16236 " background on the window index, for each page the initial window\n"
16237 " index is set to zero, and each time plwind is called within the\n"
16238 " page, world and device coordinates are stored for the window and\n"
16239 " the window index is incremented. Thus, for a simple page layout\n"
16240 " with non-overlapping viewports and one window per viewport, window\n"
16241 " corresponds to the viewport index (in the order which the\n"
16242 " viewport/windows were created) of the only viewport/window\n"
16243 " corresponding to rx and ry. However, for more complicated layouts\n"
16244 " with potentially overlapping viewports and possibly more than one\n"
16245 " window (set of world coordinates) per viewport, window and the\n"
16246 " corresponding output world coordinates corresponds to the last\n"
16247 " window created that fulfills the criterion that the relative\n"
16248 " device coordinates are inside it. Finally, in all cases where the\n"
16249 " input relative device coordinates are not inside any\n"
16250 " viewport/window, then the returned value of the last defined\n"
16251 " window index is set to -1.\n"
16255 "Clear current (sub)page\n"
16259 " Clears the current page, effectively erasing everything that have been\n"
16260 " drawn. This command only works with interactive drivers; if the\n"
16261 " driver does not support this, the page is filled with the background\n"
16262 " color in use. If the current page is divided into subpages, only the\n"
16263 " current subpage is erased. The nth subpage can be selected with\n"
16266 " Redacted form: General: plclear()\n"
16269 " This function is not used in any examples.\n"
16279 "Set color, cmap0\n"
16283 " Sets the color index for cmap0 (see the PLplot documentation).\n"
16285 " Redacted form: plcol0(icol0)\n"
16287 " This function is used in examples 1-9, 11-16, 18-27, and 29.\n"
16297 " icol0 (PLINT, input) : Integer representing the color. The\n"
16298 " defaults at present are (these may change):\n"
16299 " 0 black (default background)\n"
16300 " 1 red (default foreground)\n"
16316 " Use plscmap0 to change the entire cmap0 color palette and plscol0 to\n"
16317 " change an individual color in the cmap0 color palette.\n"
16321 "Set color, cmap1\n"
16325 " Sets the color for cmap1 (see the PLplot documentation).\n"
16327 " Redacted form: plcol1(col1)\n"
16329 " This function is used in examples 12 and 21.\n"
16339 " col1 (PLFLT, input) : This value must be in the range (0.0-1.0) and\n"
16340 " is mapped to color using the continuous cmap1 palette which by\n"
16341 " default ranges from blue to the background color to red. The\n"
16342 " cmap1 palette can also be straightforwardly changed by the user\n"
16343 " with plscmap1 or plscmap1l.\n"
16347 "Configure the transformation between continuous and broken-down time for the current stream\n"
16351 " Configure the transformation between continuous and broken-down time\n"
16352 " for the current stream. This transformation is used by both plbtime\n"
16355 " Redacted form: General: plconfigtime(scale, offset1, offset2,\n"
16356 " ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n"
16359 " This function is used in example 29.\n"
16365 "plconfigtime(scale, offset1, offset2, ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n"
16369 " scale (PLFLT, input) : The number of days per continuous time unit.\n"
16370 " As a special case, if\n"
16371 " scale is 0., then all other arguments are ignored, and the result (the\n"
16372 " default used by PLplot) is the equivalent of a call to\n"
16373 " plconfigtime(1./86400., 0., 0., 0x0, 1, 1970, 0, 1, 0, 0, 0.).\n"
16374 " That is, for this special case broken-down time is calculated with\n"
16375 " the proleptic Gregorian calendar with no leap seconds inserted,\n"
16376 " and the continuous time is defined as the number of seconds since\n"
16377 " the Unix epoch of 1970-01-01T00:00:00Z.\n"
16379 " offset1 (PLFLT, input) : If\n"
16380 " ifbtime_offset is true, the parameters\n"
16382 " offset2 are completely ignored. Otherwise, the sum of these parameters\n"
16383 " (with units in days) specify the epoch of the continuous time\n"
16384 " relative to the MJD epoch corresponding to the Gregorian calendar\n"
16385 " date of 1858-11-17T00:00:00Z or JD = 2400000.5. Two PLFLT numbers\n"
16386 " are used to specify the origin to allow users (by specifying\n"
16387 " offset1 as an integer that can be exactly represented by a\n"
16388 " floating-point variable and specifying\n"
16389 " offset2 as a number in the range from 0. to 1) the chance to minimize\n"
16390 " the numerical errors of the continuous time representation.\n"
16392 " offset2 (PLFLT, input) : See documentation of\n"
16395 " ccontrol (PLINT, input) : ccontrol contains bits controlling the\n"
16396 " transformation. If the 0x1 bit is set, then the proleptic Julian\n"
16397 " calendar is used for broken-down time rather than the proleptic\n"
16398 " Gregorian calendar. If the 0x2 bit is set, then leap seconds that\n"
16399 " have been historically used to define UTC are inserted into the\n"
16400 " broken-down time. Other possibilities for additional control bits\n"
16401 " for ccontrol exist such as making the historical time corrections\n"
16402 " in the broken-down time corresponding to ET (ephemeris time) or\n"
16403 " making the (slightly non-constant) corrections from international\n"
16404 " atomic time (TAI) to what astronomers define as terrestrial time\n"
16405 " (TT). But those additional possibilities have not been\n"
16406 " implemented yet in the qsastime library (one of the PLplot utility\n"
16409 " ifbtime_offset (PLBOOL, input) : ifbtime_offset controls how the\n"
16410 " epoch of the continuous time scale is specified by the user. If\n"
16411 " ifbtime_offset is false, then\n"
16413 " offset2 are used to specify the epoch, and the following broken-down\n"
16414 " time parameters are completely ignored. If\n"
16415 " ifbtime_offset is true, then\n"
16417 " offset2 are completely ignored, and the following broken-down time\n"
16418 " parameters are used to specify the epoch.\n"
16420 " year (PLINT, input) : Year of epoch.\n"
16422 " month (PLINT, input) : Month of epoch in range from 0 (January) to\n"
16423 " 11 (December).\n"
16425 " day (PLINT, input) : Day of epoch in range from 1 to 31.\n"
16427 " hour (PLINT, input) : Hour of epoch in range from 0 to 23\n"
16429 " min (PLINT, input) : Minute of epoch in range from 0 to 59.\n"
16431 " sec (PLFLT, input) : Second of epoch in range from 0. to 60.\n"
16439 " Draws a contour plot of the data in f[\n"
16441 " ny], using the nlevel contour levels specified by clevel. Only the\n"
16442 " region of the matrix from kx to lx and from ky to ly is plotted out\n"
16443 " where all these index ranges are interpreted as one-based for\n"
16444 " historical reasons. A transformation routine pointed to by pltr with\n"
16445 " a generic pointer pltr_data for additional data required by the\n"
16446 " transformation routine is used to map indices within the matrix to the\n"
16447 " world coordinates.\n"
16449 " Redacted form: plcont(f, kx, lx, ky, ly, clevel, pltr, pltr_data)\n"
16450 " where (see above discussion) the pltr, pltr_data callback arguments\n"
16451 " are sometimes replaced by a tr vector with 6 elements; xg and yg\n"
16452 " vectors; or xg and yg matrices.\n"
16454 " This function is used in examples 9, 14, 16, and 22.\n"
16460 "plcont(f, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr, pltr_data)\n"
16464 " f (PLFLT_MATRIX, input) : A matrix containing data to be contoured.\n"
16466 " nx, ny (PLINT, input) : The dimensions of the matrix f.\n"
16468 " kx, lx (PLINT, input) : Range of x indices to consider where 0 <=\n"
16469 " kx-1 < lx-1 < nx. Values of kx and lx are one-based rather than\n"
16470 " zero-based for historical backwards-compatibility reasons.\n"
16472 " ky, ly (PLINT, input) : Range of y indices to consider where 0 <=\n"
16473 " ky-1 < ly-1 < ny. Values of ky and ly are one-based rather than\n"
16474 " zero-based for historical backwards-compatibility reasons.\n"
16476 " clevel (PLFLT_VECTOR, input) : A vector specifying the levels at\n"
16477 " which to draw contours.\n"
16479 " nlevel (PLINT, input) : Number of contour levels to draw.\n"
16481 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
16482 " defines the transformation between the zero-based indices of the\n"
16483 " matrix f and the world coordinates.For the C case, transformation\n"
16484 " functions are provided in the PLplot library: pltr0 for the\n"
16485 " identity mapping, and pltr1 and pltr2 for arbitrary mappings\n"
16486 " respectively defined by vectors and matrices. In addition, C\n"
16487 " callback routines for the transformation can be supplied by the\n"
16488 " user such as the mypltr function in examples/c/x09c.c which\n"
16489 " provides a general linear transformation between index coordinates\n"
16490 " and world coordinates.For languages other than C you should\n"
16491 " consult the PLplot documentation for the details concerning how\n"
16492 " PLTRANSFORM_callback arguments are interfaced. However, in\n"
16493 " general, a particular pattern of callback-associated arguments\n"
16494 " such as a tr vector with 6 elements; xg and yg vectors; or xg and\n"
16495 " yg matrices are respectively interfaced to a linear-transformation\n"
16496 " routine similar to the above mypltr function; pltr1; and pltr2.\n"
16497 " Furthermore, some of our more sophisticated bindings (see, e.g.,\n"
16498 " the PLplot documentation) support native language callbacks for\n"
16499 " handling index to world-coordinate transformations. Examples of\n"
16500 " these various approaches are given in examples/<language>x09*,\n"
16501 " examples/<language>x16*, examples/<language>x20*,\n"
16502 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
16503 " supported languages.\n"
16505 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
16506 " information to pltr0, pltr1, pltr2, or whatever callback routine\n"
16507 " that is externally supplied.\n"
16511 "Calculate continuous time from broken-down time for the current stream\n"
16515 " Calculate continuous time, ctime, from broken-down time for the\n"
16516 " current stream. The broken-down\n"
16517 " time is specified by the following parameters: year, month, day, hour,\n"
16518 " min, and sec. This function is the inverse of plbtime.\n"
16520 " The PLplot definition of broken-down time is a calendar time that\n"
16521 " completely ignores all time zone offsets, i.e., it is the user's\n"
16522 " responsibility to apply those offsets (if so desired) before using the\n"
16523 " PLplot time API. By default broken-down time is defined using the\n"
16524 " proleptic Gregorian calendar without the insertion of leap seconds and\n"
16525 " continuous time is defined as the number of seconds since the Unix\n"
16526 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n"
16527 " broken-down and continuous time are possible, see plconfigtime which\n"
16528 " specifies that transformation for the current stream.\n"
16530 " Redacted form: General: plctime(year, month, day, hour, min, sec,\n"
16534 " This function is used in example 29.\n"
16540 "plctime(year, month, day, hour, min, sec, ctime)\n"
16544 " year (PLINT, input) : Input year.\n"
16546 " month (PLINT, input) : Input month in range from 0 (January) to 11\n"
16549 " day (PLINT, input) : Input day in range from 1 to 31.\n"
16551 " hour (PLINT, input) : Input hour in range from 0 to 23\n"
16553 " min (PLINT, input) : Input minute in range from 0 to 59.\n"
16555 " sec (PLFLT, input) : Input second in range from 0. to 60.\n"
16557 " ctime (PLFLT_NC_SCALAR, output) : Returned value of the continuous\n"
16558 " time calculated from the broken-down time specified by the\n"
16559 " previous parameters.\n"
16563 "Copy state parameters from the reference stream to the current stream\n"
16567 " Copies state parameters from the reference stream to the current\n"
16568 " stream. Tell driver interface to map device coordinates unless flags\n"
16571 " This function is used for making save files of selected plots (e.g.\n"
16572 " from the TK driver). After initializing, you can get a copy of the\n"
16573 " current plot to the specified device by switching to this stream and\n"
16574 " issuing a plcpstrm and a plreplot, with calls to plbop and pleop as\n"
16575 " appropriate. The plot buffer must have previously been enabled (done\n"
16576 " automatically by some display drivers, such as X).\n"
16578 " Redacted form: plcpstrm(iplsr, flags)\n"
16580 " This function is used in example 1,20.\n"
16586 "plcpstrm(iplsr, flags)\n"
16590 " iplsr (PLINT, input) : Number of reference stream.\n"
16592 " flags (PLBOOL, input) : If flags is set to true the device\n"
16593 " coordinates are not copied from the reference to current stream.\n"
16597 "End plotting session\n"
16601 " Ends a plotting session, tidies up all the output files, switches\n"
16602 " interactive devices back into text mode and frees up any memory that\n"
16603 " was allocated. Must be called before end of program.\n"
16605 " By default, PLplot's interactive devices (Xwin, TK, etc.) go into a\n"
16606 " wait state after a call to plend or other functions which trigger the\n"
16607 " end of a plot page. To avoid this, use the plspause function.\n"
16609 " Redacted form: plend()\n"
16611 " This function is used in all of the examples.\n"
16621 "End plotting session for current stream\n"
16625 " Ends a plotting session for the current output stream only. See\n"
16626 " plsstrm for more info.\n"
16628 " Redacted form: plend1()\n"
16630 " This function is used in examples 1 and 20.\n"
16640 "Set up standard window and draw box\n"
16644 " Sets up plotter environment for simple graphs by calling pladv and\n"
16645 " setting up viewport and window to sensible default values. plenv\n"
16646 " leaves a standard margin (left-hand margin of eight character heights,\n"
16647 " and a margin around the other three sides of five character heights)\n"
16648 " around most graphs for axis labels and a title. When these defaults\n"
16649 " are not suitable, use the individual routines plvpas, plvpor, or\n"
16650 " plvasp for setting up the viewport, plwind for defining the window,\n"
16651 " and plbox for drawing the box.\n"
16653 " Redacted form: plenv(xmin, xmax, ymin, ymax, just, axis)\n"
16655 " This function is used in example 1,3,9,13,14,19-22,29.\n"
16661 "plenv(xmin, xmax, ymin, ymax, just, axis)\n"
16665 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n"
16666 " world coordinates).\n"
16668 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n"
16669 " world coordinates).\n"
16671 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n"
16674 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n"
16677 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n"
16678 " scales will not be set, the user must set up the scale before\n"
16679 " calling plenv using plsvpa, plvasp or other.\n"
16680 " 0: the x and y axes are scaled independently to use as much of\n"
16681 " the screen as possible.\n"
16682 " 1: the scales of the x and y axes are made equal.\n"
16683 " 2: the axis of the x and y axes are made equal, and the plot\n"
16684 " box will be square.\n"
16687 " axis (PLINT, input) : Controls drawing of the box around the plot:\n"
16688 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n"
16689 " -1: draw box only.\n"
16690 " 0: draw box, ticks, and numeric tick labels.\n"
16691 " 1: also draw coordinate axes at x=0 and y=0.\n"
16692 " 2: also draw a grid at major tick positions in both\n"
16694 " 3: also draw a grid at minor tick positions in both\n"
16696 " 10: same as 0 except logarithmic x tick marks. (The x data\n"
16697 " have to be converted to logarithms separately.)\n"
16698 " 11: same as 1 except logarithmic x tick marks. (The x data\n"
16699 " have to be converted to logarithms separately.)\n"
16700 " 12: same as 2 except logarithmic x tick marks. (The x data\n"
16701 " have to be converted to logarithms separately.)\n"
16702 " 13: same as 3 except logarithmic x tick marks. (The x data\n"
16703 " have to be converted to logarithms separately.)\n"
16704 " 20: same as 0 except logarithmic y tick marks. (The y data\n"
16705 " have to be converted to logarithms separately.)\n"
16706 " 21: same as 1 except logarithmic y tick marks. (The y data\n"
16707 " have to be converted to logarithms separately.)\n"
16708 " 22: same as 2 except logarithmic y tick marks. (The y data\n"
16709 " have to be converted to logarithms separately.)\n"
16710 " 23: same as 3 except logarithmic y tick marks. (The y data\n"
16711 " have to be converted to logarithms separately.)\n"
16712 " 30: same as 0 except logarithmic x and y tick marks. (The x\n"
16713 " and y data have to be converted to logarithms separately.)\n"
16714 " 31: same as 1 except logarithmic x and y tick marks. (The x\n"
16715 " and y data have to be converted to logarithms separately.)\n"
16716 " 32: same as 2 except logarithmic x and y tick marks. (The x\n"
16717 " and y data have to be converted to logarithms separately.)\n"
16718 " 33: same as 3 except logarithmic x and y tick marks. (The x\n"
16719 " and y data have to be converted to logarithms separately.)\n"
16720 " 40: same as 0 except date / time x labels.\n"
16721 " 41: same as 1 except date / time x labels.\n"
16722 " 42: same as 2 except date / time x labels.\n"
16723 " 43: same as 3 except date / time x labels.\n"
16724 " 50: same as 0 except date / time y labels.\n"
16725 " 51: same as 1 except date / time y labels.\n"
16726 " 52: same as 2 except date / time y labels.\n"
16727 " 53: same as 3 except date / time y labels.\n"
16728 " 60: same as 0 except date / time x and y labels.\n"
16729 " 61: same as 1 except date / time x and y labels.\n"
16730 " 62: same as 2 except date / time x and y labels.\n"
16731 " 63: same as 3 except date / time x and y labels.\n"
16732 " 70: same as 0 except custom x and y labels.\n"
16733 " 71: same as 1 except custom x and y labels.\n"
16734 " 72: same as 2 except custom x and y labels.\n"
16735 " 73: same as 3 except custom x and y labels.\n"
16739 "Same as plenv but if in multiplot mode does not advance the subpage, instead clears it\n"
16743 " Sets up plotter environment for simple graphs by calling pladv and\n"
16744 " setting up viewport and window to sensible default values. plenv0\n"
16745 " leaves a standard margin (left-hand margin of eight character heights,\n"
16746 " and a margin around the other three sides of five character heights)\n"
16747 " around most graphs for axis labels and a title. When these defaults\n"
16748 " are not suitable, use the individual routines plvpas, plvpor, or\n"
16749 " plvasp for setting up the viewport, plwind for defining the window,\n"
16750 " and plbox for drawing the box.\n"
16752 " Redacted form: plenv0(xmin, xmax, ymin, ymax, just, axis)\n"
16754 " This function is used in example 21.\n"
16760 "plenv0(xmin, xmax, ymin, ymax, just, axis)\n"
16764 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n"
16765 " world coordinates).\n"
16767 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n"
16768 " world coordinates).\n"
16770 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n"
16773 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n"
16776 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n"
16777 " scales will not be set, the user must set up the scale before\n"
16778 " calling plenv0 using plsvpa, plvasp or other.\n"
16779 " 0: the x and y axes are scaled independently to use as much of\n"
16780 " the screen as possible.\n"
16781 " 1: the scales of the x and y axes are made equal.\n"
16782 " 2: the axis of the x and y axes are made equal, and the plot\n"
16783 " box will be square.\n"
16786 " axis (PLINT, input) : Controls drawing of the box around the plot:\n"
16787 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n"
16788 " -1: draw box only.\n"
16789 " 0: draw box, ticks, and numeric tick labels.\n"
16790 " 1: also draw coordinate axes at x=0 and y=0.\n"
16791 " 2: also draw a grid at major tick positions in both\n"
16793 " 3: also draw a grid at minor tick positions in both\n"
16795 " 10: same as 0 except logarithmic x tick marks. (The x data\n"
16796 " have to be converted to logarithms separately.)\n"
16797 " 11: same as 1 except logarithmic x tick marks. (The x data\n"
16798 " have to be converted to logarithms separately.)\n"
16799 " 12: same as 2 except logarithmic x tick marks. (The x data\n"
16800 " have to be converted to logarithms separately.)\n"
16801 " 13: same as 3 except logarithmic x tick marks. (The x data\n"
16802 " have to be converted to logarithms separately.)\n"
16803 " 20: same as 0 except logarithmic y tick marks. (The y data\n"
16804 " have to be converted to logarithms separately.)\n"
16805 " 21: same as 1 except logarithmic y tick marks. (The y data\n"
16806 " have to be converted to logarithms separately.)\n"
16807 " 22: same as 2 except logarithmic y tick marks. (The y data\n"
16808 " have to be converted to logarithms separately.)\n"
16809 " 23: same as 3 except logarithmic y tick marks. (The y data\n"
16810 " have to be converted to logarithms separately.)\n"
16811 " 30: same as 0 except logarithmic x and y tick marks. (The x\n"
16812 " and y data have to be converted to logarithms separately.)\n"
16813 " 31: same as 1 except logarithmic x and y tick marks. (The x\n"
16814 " and y data have to be converted to logarithms separately.)\n"
16815 " 32: same as 2 except logarithmic x and y tick marks. (The x\n"
16816 " and y data have to be converted to logarithms separately.)\n"
16817 " 33: same as 3 except logarithmic x and y tick marks. (The x\n"
16818 " and y data have to be converted to logarithms separately.)\n"
16819 " 40: same as 0 except date / time x labels.\n"
16820 " 41: same as 1 except date / time x labels.\n"
16821 " 42: same as 2 except date / time x labels.\n"
16822 " 43: same as 3 except date / time x labels.\n"
16823 " 50: same as 0 except date / time y labels.\n"
16824 " 51: same as 1 except date / time y labels.\n"
16825 " 52: same as 2 except date / time y labels.\n"
16826 " 53: same as 3 except date / time y labels.\n"
16827 " 60: same as 0 except date / time x and y labels.\n"
16828 " 61: same as 1 except date / time x and y labels.\n"
16829 " 62: same as 2 except date / time x and y labels.\n"
16830 " 63: same as 3 except date / time x and y labels.\n"
16831 " 70: same as 0 except custom x and y labels.\n"
16832 " 71: same as 1 except custom x and y labels.\n"
16833 " 72: same as 2 except custom x and y labels.\n"
16834 " 73: same as 3 except custom x and y labels.\n"
16838 "Eject current page\n"
16842 " Clears the graphics screen of an interactive device, or ejects a page\n"
16843 " on a plotter. See plbop for more information.\n"
16845 " Redacted form: pleop()\n"
16847 " This function is used in example 2,14.\n"
16857 "Draw error bars in x direction\n"
16861 " Draws a set of n error bars in x direction, the i'th error bar\n"
16862 " extending from xmin[i] to xmax[i] at y coordinate y[i]. The terminals\n"
16863 " of the error bars are of length equal to the minor tick length\n"
16864 " (settable using plsmin).\n"
16866 " Redacted form: General: plerrx(xmin, ymax, y)\n"
16869 " This function is used in example 29.\n"
16875 "plerrx(n, xmin, xmax, y)\n"
16879 " n (PLINT, input) : Number of error bars to draw.\n"
16881 " xmin (PLFLT_VECTOR, input) : A vector containing the x coordinates\n"
16882 " of the left-hand endpoints of the error bars.\n"
16884 " xmax (PLFLT_VECTOR, input) : A vector containing the x coordinates\n"
16885 " of the right-hand endpoints of the error bars.\n"
16887 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16888 " the error bars.\n"
16892 "Draw error bars in the y direction\n"
16896 " Draws a set of n error bars in the y direction, the i'th error bar\n"
16897 " extending from ymin[i] to ymax[i] at x coordinate x[i]. The terminals\n"
16898 " of the error bars are of length equal to the minor tick length\n"
16899 " (settable using plsmin).\n"
16901 " Redacted form: General: plerry(x, ymin, ymax)\n"
16904 " This function is used in example 29.\n"
16910 "plerry(n, x, ymin, ymax)\n"
16914 " n (PLINT, input) : Number of error bars to draw.\n"
16916 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16917 " the error bars.\n"
16919 " ymin (PLFLT_VECTOR, input) : A vector containing the y coordinates\n"
16920 " of the lower endpoints of the error bars.\n"
16922 " ymax (PLFLT_VECTOR, input) : A vector containing the y coordinates\n"
16923 " of the upper endpoints of the error bars.\n"
16927 "Advance to the next family file on the next new page\n"
16931 " Advance to the next family file on the next new page.\n"
16933 " Redacted form: plfamadv()\n"
16935 " This function is not used in any examples.\n"
16945 "Draw filled polygon\n"
16949 " Fills the polygon defined by the n points (\n"
16951 " y[i]) using the pattern defined by plpsty or plpat. The default fill\n"
16952 " style is a solid fill. The routine will automatically close the\n"
16953 " polygon between the last and first vertices. If multiple closed\n"
16954 " polygons are passed in x and y then plfill will fill in between them.\n"
16956 " Redacted form: plfill(x,y)\n"
16958 " This function is used in examples 12, 13, 15, 16, 21, 24, and 25.\n"
16964 "plfill(n, x, y)\n"
16968 " n (PLINT, input) : Number of vertices in polygon.\n"
16970 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16973 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16978 "Draw filled polygon in 3D\n"
16982 " Fills the 3D polygon defined by the n points in the x, y, and z\n"
16983 " vectors using the pattern defined by plpsty or plpat. The routine\n"
16984 " will automatically close the polygon between the last and first\n"
16985 " vertices. If multiple closed polygons are passed in x, y, and z then\n"
16986 " plfill3 will fill in between them.\n"
16988 " Redacted form: General: plfill3(x, y, z)\n"
16991 " This function is used in example 15.\n"
16997 "plfill3(n, x, y, z)\n"
17001 " n (PLINT, input) : Number of vertices in polygon.\n"
17003 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
17006 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
17009 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
17014 "Draw linear gradient inside polygon\n"
17018 " Draw a linear gradient using cmap1 inside the polygon defined by the n\n"
17021 " y[i]). Interpretation of the polygon is the same as for plfill. The\n"
17022 " polygon coordinates and the gradient angle are all expressed in world\n"
17023 " coordinates. The angle from the x axis for both the rotated\n"
17024 " coordinate system and the gradient vector is specified by angle. The\n"
17025 " magnitude of the gradient vector is the difference between the maximum\n"
17026 " and minimum values of x for the vertices in the rotated coordinate\n"
17027 " system. The origin of the gradient vector can be interpreted as being\n"
17028 " anywhere on the line corresponding to the minimum x value for the\n"
17029 " vertices in the rotated coordinate system. The distance along the\n"
17030 " gradient vector is linearly transformed to the independent variable of\n"
17031 " color map 1 which ranges from 0. at the tail of the gradient vector to\n"
17032 " 1. at the head of the gradient vector. What is drawn is the RGBA\n"
17033 " color corresponding to the independent variable of cmap1. For more\n"
17034 " information about cmap1 (see the PLplot documentation).\n"
17036 " Redacted form: plgradient(x,y,angle)\n"
17038 " This function is used in examples 25 and 30.\n"
17044 "plgradient(n, x, y, angle)\n"
17048 " n (PLINT, input) : Number of vertices in polygon.\n"
17050 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
17053 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
17056 " angle (PLFLT, input) : Angle (degrees) of gradient vector from x\n"
17061 "Flushes the output stream\n"
17065 " Flushes the output stream. Use sparingly, if at all.\n"
17067 " Redacted form: plflush()\n"
17069 " This function is used in examples 1 and 14.\n"
17083 " Sets the font used for subsequent text and symbols. For devices that\n"
17084 " still use Hershey fonts this routine has no effect unless the Hershey\n"
17085 " fonts with extended character set are loaded (see plfontld). For\n"
17086 " unicode-aware devices that use system fonts instead of Hershey fonts,\n"
17087 " this routine calls the plsfci routine with argument set up\n"
17088 " appropriately for the various cases below. However, this method of\n"
17089 " specifying the font for unicode-aware devices is deprecated, and the\n"
17090 " much more flexible method of calling plsfont directly is recommended\n"
17091 " instead (where plsfont provides a user-friendly interface to plsfci),\n"
17093 " Redacted form: plfont(ifont)\n"
17095 " This function is used in examples 1, 2, 4, 7, 13, 24, and 26.\n"
17105 " ifont (PLINT, input) : Specifies the font: 1: Sans serif font\n"
17106 " (simplest and fastest)\n"
17108 " 3: Italic font\n"
17109 " 4: Script font\n"
17113 "Load Hershey fonts\n"
17117 " Loads the Hershey fonts used for text and symbols. This routine may\n"
17118 " be called before or after initializing PLplot. If not explicitly\n"
17119 " called before PLplot initialization, then by default that\n"
17120 " initialization loads Hershey fonts with the extended character set.\n"
17121 " This routine only has a practical effect for devices that still use\n"
17122 " Hershey fonts (as opposed to modern devices that use unicode-aware\n"
17123 " system fonts instead of Hershey fonts).\n"
17125 " Redacted form: plfontld(fnt)\n"
17127 " This function is used in examples 1 and 7.\n"
17137 " fnt (PLINT, input) : Specifies the type of Hershey fonts to load.\n"
17138 " A zero value specifies Hershey fonts with the standard character\n"
17139 " set and a non-zero value (the default assumed if plfontld is never\n"
17140 " called) specifies Hershey fonts with the extended character set.\n"
17144 "Get character default height and current (scaled) height\n"
17148 " Get character default height and current (scaled) height.\n"
17150 " Redacted form: plgchr(p_def, p_ht)\n"
17152 " This function is used in example 23.\n"
17158 "plgchr(p_def, p_ht)\n"
17162 " p_def (PLFLT_NC_SCALAR, output) : Returned value of the default\n"
17163 " character height (mm).\n"
17165 " p_ht (PLFLT_NC_SCALAR, output) : Returned value of the scaled\n"
17166 " character height (mm).\n"
17170 "Returns 8-bit RGB values for given color index from cmap0\n"
17174 " Returns 8-bit RGB values (0-255) for given color from cmap0 (see the\n"
17175 " PLplot documentation). Values are negative if an invalid color id is\n"
17178 " Redacted form: plgcol0(icol0, r, g, b)\n"
17180 " This function is used in example 2.\n"
17186 "plgcol0(icol0, r, g, b)\n"
17190 " icol0 (PLINT, input) : Index of desired cmap0 color.\n"
17192 " r (PLINT_NC_SCALAR, output) : Returned value of the 8-bit red\n"
17195 " g (PLINT_NC_SCALAR, output) : Returned value of the 8-bit green\n"
17198 " b (PLINT_NC_SCALAR, output) : Returned value of the 8-bit blue\n"
17203 "Returns 8-bit RGB values and PLFLT alpha transparency value for given color index from cmap0\n"
17207 " Returns 8-bit RGB values (0-255) and PLFLT alpha transparency value\n"
17208 " (0.0-1.0) for given color from cmap0 (see the PLplot documentation).\n"
17209 " Values are negative if an invalid color id is given.\n"
17211 " Redacted form: plgcola(r, g, b)\n"
17213 " This function is used in example 30.\n"
17219 "plgcol0a(icol0, r, g, b, alpha)\n"
17223 " icol0 (PLINT, input) : Index of desired cmap0 color.\n"
17225 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
17226 " in the range from 0 to 255.\n"
17228 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
17229 " in the range from 0 to 255.\n"
17231 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
17232 " in the range from 0 to 255.\n"
17234 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n"
17235 " transparency in the range from (0.0-1.0).\n"
17239 "Returns the background color (cmap0[0]) by 8-bit RGB value\n"
17243 " Returns the background color (cmap0[0]) by 8-bit RGB value.\n"
17245 " Redacted form: plgcolbg(r, g, b)\n"
17247 " This function is used in example 31.\n"
17253 "plgcolbg(r, g, b)\n"
17257 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
17258 " in the range from 0 to 255.\n"
17260 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
17261 " in the range from 0 to 255.\n"
17263 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
17264 " in the range from 0 to 255.\n"
17268 "Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT alpha transparency value\n"
17272 " Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT\n"
17273 " alpha transparency value.\n"
17275 " This function is used in example 31.\n"
17281 "plgcolbga(r, g, b, alpha)\n"
17285 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
17286 " in the range from 0 to 255.\n"
17288 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
17289 " in the range from 0 to 255.\n"
17291 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
17292 " in the range from 0 to 255.\n"
17294 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n"
17295 " transparency in the range (0.0-1.0).\n"
17299 "Get the current device-compression setting\n"
17303 " Get the current device-compression setting. This parameter is only\n"
17304 " used for drivers that provide compression.\n"
17306 " Redacted form: plgcompression(compression)\n"
17308 " This function is used in example 31.\n"
17314 "plgcompression(compression)\n"
17318 " compression (PLINT_NC_SCALAR, output) : Returned value of the\n"
17319 " compression setting for the current device.\n"
17323 "Get the current device (keyword) name\n"
17327 " Get the current device (keyword) name. Note: you must have allocated\n"
17328 " space for this (80 characters is safe).\n"
17330 " Redacted form: plgdev(p_dev)\n"
17332 " This function is used in example 14.\n"
17342 " p_dev (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
17343 " (with preallocated length of 80 characters or more) containing the\n"
17344 " device (keyword) name.\n"
17348 "Get parameters that define current device-space window\n"
17352 " Get relative margin width, aspect ratio, and relative justification\n"
17353 " that define current device-space window. If plsdidev has not been\n"
17354 " called the default values pointed to by p_mar, p_aspect, p_jx, and\n"
17355 " p_jy will all be 0.\n"
17357 " Redacted form: plgdidev(p_mar, p_aspect, p_jx, p_jy)\n"
17359 " This function is used in example 31.\n"
17365 "plgdidev(p_mar, p_aspect, p_jx, p_jy)\n"
17369 " p_mar (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17372 " p_aspect (PLFLT_NC_SCALAR, output) : Returned value of the aspect\n"
17375 " p_jx (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17376 " justification in x.\n"
17378 " p_jy (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17379 " justification in y.\n"
17383 "Get plot orientation\n"
17387 " Get plot orientation parameter which is multiplied by 90 degrees to\n"
17388 " obtain the angle of rotation. Note, arbitrary rotation parameters\n"
17389 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n"
17390 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n"
17391 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n"
17392 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori has\n"
17393 " not been called the default value pointed to by p_rot will be 0.\n"
17395 " Redacted form: plgdiori(p_rot)\n"
17397 " This function is not used in any examples.\n"
17403 "plgdiori(p_rot)\n"
17407 " p_rot (PLFLT_NC_SCALAR, output) : Returned value of the orientation\n"
17412 "Get parameters that define current plot-space window\n"
17416 " Get relative minima and maxima that define current plot-space window.\n"
17417 " If plsdiplt has not been called the default values pointed to by\n"
17418 " p_xmin, p_ymin, p_xmax, and p_ymax will be 0., 0., 1., and 1.\n"
17420 " Redacted form: plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n"
17422 " This function is used in example 31.\n"
17428 "plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n"
17432 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17435 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17438 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17441 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17446 "Get family file parameters\n"
17450 " Gets information about current family file, if familying is enabled.\n"
17451 " See the PLplot documentation for more information.\n"
17453 " Redacted form: plgfam(p_fam, p_num, p_bmax)\n"
17455 " This function is used in examples 14 and 31.\n"
17461 "plgfam(p_fam, p_num, p_bmax)\n"
17465 " p_fam (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17466 " family flag value. If nonzero, familying is enabled for the\n"
17467 " current device.\n"
17469 " p_num (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17470 " family file number.\n"
17472 " p_bmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17473 " file size (in bytes) for a family file.\n"
17477 "Get FCI (font characterization integer)\n"
17481 " Gets information about the current font using the FCI approach. See\n"
17482 " the PLplot documentation for more information.\n"
17484 " Redacted form: plgfci(p_fci)\n"
17486 " This function is used in example 23.\n"
17496 " p_fci (PLUNICODE_NC_SCALAR, output) : Returned value of the current\n"
17501 "Get output file name\n"
17505 " Gets the current output file name, if applicable.\n"
17507 " Redacted form: plgfnam(fnam)\n"
17509 " This function is used in example 31.\n"
17519 " fnam (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
17520 " (with preallocated length of 80 characters or more) containing the\n"
17525 "Get family, style and weight of the current font\n"
17529 " Gets information about current font. See the PLplot documentation for\n"
17530 " more information on font selection.\n"
17532 " Redacted form: plgfont(p_family, p_style, p_weight)\n"
17534 " This function is used in example 23.\n"
17540 "plgfont(p_family, p_style, p_weight)\n"
17544 " p_family (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17545 " font family. The available values are given by the PL_FCI_*\n"
17546 " constants in plplot.h. Current options are PL_FCI_SANS,\n"
17547 " PL_FCI_SERIF, PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. If\n"
17548 " p_family is NULL then the font family is not returned.\n"
17550 " p_style (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17551 " font style. The available values are given by the PL_FCI_*\n"
17552 " constants in plplot.h. Current options are PL_FCI_UPRIGHT,\n"
17553 " PL_FCI_ITALIC and PL_FCI_OBLIQUE. If p_style is NULL then the font\n"
17554 " style is not returned.\n"
17556 " p_weight (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17557 " font weight. The available values are given by the PL_FCI_*\n"
17558 " constants in plplot.h. Current options are PL_FCI_MEDIUM and\n"
17559 " PL_FCI_BOLD. If p_weight is NULL then the font weight is not\n"
17564 "Get the (current) run level\n"
17568 " Get the (current) run level. Valid settings are: 0, uninitialized\n"
17569 " 1, initialized\n"
17570 " 2, viewport defined\n"
17571 " 3, world coordinates defined\n"
17574 " Redacted form: plglevel(p_level)\n"
17576 " This function is used in example 31.\n"
17582 "plglevel(p_level)\n"
17586 " p_level (PLINT_NC_SCALAR, output) : Returned value of the run\n"
17591 "Get page parameters\n"
17595 " Gets the current page configuration. The length and offset values are\n"
17596 " expressed in units that are specific to the current driver. For\n"
17597 " instance: screen drivers will usually interpret them as number of\n"
17598 " pixels, whereas printer drivers will usually use mm.\n"
17600 " Redacted form: plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n"
17602 " This function is used in examples 14 and 31.\n"
17608 "plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n"
17612 " p_xp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n"
17613 " pixels/inch (DPI) in x.\n"
17615 " p_yp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n"
17616 " pixels/inch (DPI) in y.\n"
17618 " p_xleng (PLINT_NC_SCALAR, output) : Returned value of the x page\n"
17621 " p_yleng (PLINT_NC_SCALAR, output) : Returned value of the y page\n"
17624 " p_xoff (PLINT_NC_SCALAR, output) : Returned value of the x page\n"
17627 " p_yoff (PLINT_NC_SCALAR, output) : Returned value of the y page\n"
17632 "Switch to graphics screen\n"
17636 " Sets an interactive device to graphics mode, used in conjunction with\n"
17637 " pltext to allow graphics and text to be interspersed. On a device\n"
17638 " which supports separate text and graphics windows, this command causes\n"
17639 " control to be switched to the graphics window. If already in graphics\n"
17640 " mode, this command is ignored. It is also ignored on devices which\n"
17641 " only support a single window or use a different method for shifting\n"
17642 " focus. See also pltext.\n"
17644 " Redacted form: plgra()\n"
17646 " This function is used in example 1.\n"
17656 "Grid data from irregularly sampled data\n"
17660 " Real world data is frequently irregularly sampled, but PLplot 3D plots\n"
17661 " require data organized as a grid, i.e., with x sample point values\n"
17662 " independent of y coordinate and vice versa. This function takes\n"
17663 " irregularly sampled data from the x[npts], y[npts], and z[npts]\n"
17664 " vectors; reads the desired grid location from the input vectors\n"
17665 " xg[nptsx] and yg[nptsy]; and returns the interpolated result on that\n"
17666 " grid using the output matrix zg[nptsx][nptsy]. The algorithm used to\n"
17667 " interpolate the data to the grid is specified with the argument type\n"
17668 " which can have one parameter specified in argument data.\n"
17670 " Redacted form: General: plgriddata(x, y, z, xg, yg, zg, type, data)\n"
17671 " Python: zg=plgriddata(x, y, z, xg, yg, type, data)\n"
17674 " This function is used in example 21.\n"
17680 "plgriddata(x, y, z, npts, xg, nptsx, yg, nptsy, zg, type, data)\n"
17684 " x (PLFLT_VECTOR, input) : The input x vector.\n"
17686 " y (PLFLT_VECTOR, input) : The input y vector.\n"
17688 " z (PLFLT_VECTOR, input) : The input z vector. Each triple x[i],\n"
17689 " y[i], z[i] represents one data sample coordinate.\n"
17691 " npts (PLINT, input) : The number of data samples in the x, y and z\n"
17694 " xg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n"
17695 " in the x direction. Usually xg has nptsx equally spaced values\n"
17696 " from the minimum to the maximum values of the x input vector.\n"
17698 " nptsx (PLINT, input) : The number of points in the xg vector.\n"
17700 " yg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n"
17701 " in the y direction. Similar to the xg parameter.\n"
17703 " nptsy (PLINT, input) : The number of points in the yg vector.\n"
17705 " zg (PLFLT_NC_MATRIX, output) : The matrix of interpolated results\n"
17706 " where data lies in the grid specified by xg and yg. Therefore the\n"
17707 " zg matrix must be dimensioned\n"
17711 " type (PLINT, input) : The type of grid interpolation algorithm to\n"
17712 " use, which can be: GRID_CSA: Bivariate Cubic Spline approximation\n"
17713 " GRID_DTLI: Delaunay Triangulation Linear Interpolation\n"
17714 " GRID_NNI: Natural Neighbors Interpolation\n"
17715 " GRID_NNIDW: Nearest Neighbors Inverse Distance Weighted\n"
17716 " GRID_NNLI: Nearest Neighbors Linear Interpolation\n"
17717 " GRID_NNAIDW: Nearest Neighbors Around Inverse Distance\n"
17719 " For details of the algorithms read the source file plgridd.c.\n"
17721 " data (PLFLT, input) : Some gridding algorithms require extra data,\n"
17722 " which can be specified through this argument. Currently, for\n"
17723 " algorithm: GRID_NNIDW, data specifies the number of neighbors to\n"
17724 " use, the lower the value, the noisier (more local) the\n"
17725 " approximation is.\n"
17726 " GRID_NNLI, data specifies what a thin triangle is, in the\n"
17727 " range [1. .. 2.]. High values enable the usage of very thin\n"
17728 " triangles for interpolation, possibly resulting in error in\n"
17729 " the approximation.\n"
17730 " GRID_NNI, only weights greater than data will be accepted. If\n"
17731 " 0, all weights will be accepted.\n"
17735 "Get current subpage parameters\n"
17739 " Gets the size of the current subpage in millimeters measured from the\n"
17740 " bottom left hand corner of the output device page or screen. Can be\n"
17741 " used in conjunction with plsvpa for setting the size of a viewport in\n"
17742 " absolute coordinates (millimeters).\n"
17744 " Redacted form: plgspa(xmin, xmax, ymin, ymax)\n"
17746 " This function is used in example 23.\n"
17752 "plgspa(xmin, xmax, ymin, ymax)\n"
17756 " xmin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17757 " the left hand edge of the subpage in millimeters.\n"
17759 " xmax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17760 " the right hand edge of the subpage in millimeters.\n"
17762 " ymin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17763 " the bottom edge of the subpage in millimeters.\n"
17765 " ymax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17766 " the top edge of the subpage in millimeters.\n"
17770 "Get current stream number\n"
17774 " Gets the number of the current output stream. See also plsstrm.\n"
17776 " Redacted form: plgstrm(p_strm)\n"
17778 " This function is used in example 1,20.\n"
17784 "plgstrm(p_strm)\n"
17788 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17793 "Get the current library version number\n"
17797 " Get the current library version number. Note: you must have allocated\n"
17798 " space for this (80 characters is safe).\n"
17800 " Redacted form: plgver(p_ver)\n"
17802 " This function is used in example 1.\n"
17812 " p_ver (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
17813 " (with preallocated length of 80 characters or more) containing the\n"
17814 " PLplot version number.\n"
17818 "Get viewport limits in normalized device coordinates\n"
17822 " Get viewport limits in normalized device coordinates.\n"
17824 " Redacted form: General: plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17827 " This function is used in example 31.\n"
17833 "plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17837 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17838 " viewport limit of the normalized device coordinate in x.\n"
17840 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17841 " viewport limit of the normalized device coordinate in x.\n"
17843 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17844 " viewport limit of the normalized device coordinate in y.\n"
17846 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17847 " viewport limit of the normalized device coordinate in y.\n"
17851 "Get viewport limits in world coordinates\n"
17855 " Get viewport limits in world coordinates.\n"
17857 " Redacted form: General: plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17860 " This function is used in example 31.\n"
17866 "plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17870 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17871 " viewport limit of the world coordinate in x.\n"
17873 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17874 " viewport limit of the world coordinate in x.\n"
17876 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17877 " viewport limit of the world coordinate in y.\n"
17879 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17880 " viewport limit of the world coordinate in y.\n"
17884 "Get x axis parameters\n"
17888 " Returns current values of the p_digmax and p_digits flags for the x\n"
17889 " axis. p_digits is updated after the plot is drawn, so this routine\n"
17890 " should only be called after the call to plbox (or plbox3) is complete.\n"
17891 " See the PLplot documentation for more information.\n"
17893 " Redacted form: plgxax(p_digmax, p_digits)\n"
17895 " This function is used in example 31.\n"
17901 "plgxax(p_digmax, p_digits)\n"
17905 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17906 " number of digits for the x axis. If nonzero, the printed label\n"
17907 " has been switched to a floating-point representation when the\n"
17908 " number of digits exceeds this value.\n"
17910 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17911 " number of digits for the numeric labels (x axis) from the last\n"
17916 "Get y axis parameters\n"
17920 " Identical to plgxax, except that arguments are flags for y axis. See\n"
17921 " the description of plgxax for more detail.\n"
17923 " Redacted form: plgyax(p_digmax, p_digits)\n"
17925 " This function is used in example 31.\n"
17931 "plgyax(p_digmax, p_digits)\n"
17935 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17936 " number of digits for the y axis. If nonzero, the printed label\n"
17937 " has been switched to a floating-point representation when the\n"
17938 " number of digits exceeds this value.\n"
17940 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17941 " number of digits for the numeric labels (y axis) from the last\n"
17946 "Get z axis parameters\n"
17950 " Identical to plgxax, except that arguments are flags for z axis. See\n"
17951 " the description of plgxax for more detail.\n"
17953 " Redacted form: plgzax(p_digmax, p_digits)\n"
17955 " This function is used in example 31.\n"
17961 "plgzax(p_digmax, p_digits)\n"
17965 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17966 " number of digits for the z axis. If nonzero, the printed label\n"
17967 " has been switched to a floating-point representation when the\n"
17968 " number of digits exceeds this value.\n"
17970 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17971 " number of digits for the numeric labels (z axis) from the last\n"
17976 "Plot a histogram from unbinned data\n"
17980 " Plots a histogram from n data points stored in the data vector. This\n"
17981 " routine bins the data into nbin bins equally spaced between datmin and\n"
17982 " datmax, and calls plbin to draw the resulting histogram. Parameter\n"
17983 " opt allows, among other things, the histogram either to be plotted in\n"
17984 " an existing window or causes plhist to call plenv with suitable limits\n"
17985 " before plotting the histogram.\n"
17987 " Redacted form: plhist(data, datmin, datmax, nbin, opt)\n"
17989 " This function is used in example 5.\n"
17995 "plhist(n, data, datmin, datmax, nbin, opt)\n"
17999 " n (PLINT, input) : Number of data points.\n"
18001 " data (PLFLT_VECTOR, input) : A vector containing the values of the\n"
18002 " n data points.\n"
18004 " datmin (PLFLT, input) : Left-hand edge of lowest-valued bin.\n"
18006 " datmax (PLFLT, input) : Right-hand edge of highest-valued bin.\n"
18008 " nbin (PLINT, input) : Number of (equal-sized) bins into which to\n"
18009 " divide the interval xmin to xmax.\n"
18011 " opt (PLINT, input) : Is a combination of several flags:\n"
18012 " opt=PL_HIST_DEFAULT: The axes are automatically rescaled to fit\n"
18013 " the histogram data, the outer bins are expanded to fill up the\n"
18014 " entire x-axis, data outside the given extremes are assigned to the\n"
18015 " outer bins and bins of zero height are simply drawn.\n"
18016 " opt=PL_HIST_NOSCALING|...: The existing axes are not rescaled\n"
18017 " to fit the histogram data, without this flag, plenv is called\n"
18018 " to set the world coordinates.\n"
18019 " opt=PL_HIST_IGNORE_OUTLIERS|...: Data outside the given\n"
18020 " extremes are not taken into account. This option should\n"
18021 " probably be combined with opt=PL_HIST_NOEXPAND|..., so as to\n"
18022 " properly present the data.\n"
18023 " opt=PL_HIST_NOEXPAND|...: The outer bins are drawn with equal\n"
18024 " size as the ones inside.\n"
18025 " opt=PL_HIST_NOEMPTY|...: Bins with zero height are not drawn\n"
18026 " (there is a gap for such bins).\n"
18030 "Convert HLS color to RGB\n"
18034 " Convert HLS color coordinates to RGB.\n"
18036 " Redacted form: General: plhlsrgb(h, l, s, p_r, p_g, p_b)\n"
18039 " This function is used in example 2.\n"
18045 "plhlsrgb(h, l, s, p_r, p_g, p_b)\n"
18049 " h (PLFLT, input) : Hue in degrees (0.0-360.0) on the color\n"
18052 " l (PLFLT, input) : Lightness expressed as a fraction (0.0-1.0) of\n"
18053 " the axis of the color cylinder.\n"
18055 " s (PLFLT, input) : Saturation expressed as a fraction (0.0-1.0) of\n"
18056 " the radius of the color cylinder.\n"
18058 " p_r (PLFLT_NC_SCALAR, output) : Returned value of the red intensity\n"
18059 " (0.0-1.0) of the color.\n"
18061 " p_g (PLFLT_NC_SCALAR, output) : Returned value of the green\n"
18062 " intensity (0.0-1.0) of the color.\n"
18064 " p_b (PLFLT_NC_SCALAR, output) : Returned value of the blue\n"
18065 " intensity (0.0-1.0) of the color.\n"
18069 "Initialize PLplot\n"
18073 " Initializing the plotting package. The program prompts for the device\n"
18074 " keyword or number of the desired output device. Hitting a RETURN in\n"
18075 " response to the prompt is the same as selecting the first device.\n"
18076 " plinit will issue no prompt if either the device was specified\n"
18077 " previously (via command line flag, the plsetopt function, or the\n"
18078 " plsdev function), or if only one device is enabled when PLplot is\n"
18079 " installed. If subpages have been specified, the output device is\n"
18080 " divided into nx by ny subpages, each of which may be used\n"
18081 " independently. If plinit is called again during a program, the\n"
18082 " previously opened file will be closed. The subroutine pladv is used\n"
18083 " to advance from one subpage to the next.\n"
18085 " Redacted form: plinit()\n"
18087 " This function is used in all of the examples.\n"
18097 "Draw a line between two points\n"
18101 " Joins the point (\n"
18107 " Redacted form: pljoin(x1,y1,x2,y2)\n"
18109 " This function is used in examples 3 and 14.\n"
18115 "pljoin(x1, y1, x2, y2)\n"
18119 " x1 (PLFLT, input) : x coordinate of first point.\n"
18121 " y1 (PLFLT, input) : y coordinate of first point.\n"
18123 " x2 (PLFLT, input) : x coordinate of second point.\n"
18125 " y2 (PLFLT, input) : y coordinate of second point.\n"
18129 "Simple routine to write labels\n"
18133 " Routine for writing simple labels. Use plmtex for more complex labels.\n"
18135 " Redacted form: pllab(xlabel, ylabel, tlabel)\n"
18137 " This function is used in examples 1, 5, 9, 12, 14-16, 20-22, and 29.\n"
18143 "pllab(xlabel, ylabel, tlabel)\n"
18147 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
18148 " the label for the x axis.\n"
18150 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
18151 " the label for the y axis.\n"
18153 " tlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
18154 " the title of the plot.\n"
18158 "Plot legend using discretely annotated filled boxes, lines, and/or lines of symbols\n"
18162 " Routine for creating a discrete plot legend with a plotted filled box,\n"
18163 " line, and/or line of symbols for each annotated legend entry. (See\n"
18164 " plcolorbar for similar functionality for creating continuous color\n"
18165 " bars.) The arguments of pllegend provide control over the location\n"
18166 " and size of the legend as well as the location and characteristics of\n"
18167 " the elements (most of which are optional) within that legend. The\n"
18168 " resulting legend is clipped at the boundaries of the current subpage.\n"
18169 " (N.B. the adopted coordinate system used for some of the parameters is\n"
18170 " defined in the documentation of the position parameter.)\n"
18172 " Redacted form: pllegend(p_legend_width, p_legend_height, opt,\n"
18173 " position, x, y, plot_width, bg_color, bb_color, bb_style, nrow,\n"
18174 " ncolumn, opt_array, text_offset, text_scale, text_spacing,\n"
18175 " test_justification, text_colors, text, box_colors, box_patterns,\n"
18176 " box_scales, box_line_widths, line_colors, line_styles, line_widths,\n"
18177 " symbol_colors, symbol_scales, symbol_numbers, symbols)\n"
18179 " This function is used in examples 4, 26, and 33.\n"
18185 "pllegend(p_legend_width, p_legend_height, opt, position, x, y, plot_width, bg_color, bb_color, bb_style, nrow, ncolumn, nlegend, opt_array, text_offset, text_scale, text_spacing, test_justification, text_colors, text, box_colors, box_patterns, box_scales, box_line_widths, line_colors, line_styles, line_widths, symbol_colors, symbol_scales, symbol_numbers, symbols)\n"
18189 " p_legend_width (PLFLT_NC_SCALAR, output) : Returned value of the\n"
18190 " legend width in adopted coordinates. This quantity is calculated\n"
18191 " from plot_width, text_offset, ncolumn (possibly modified inside\n"
18192 " the routine depending on nlegend and nrow), and the length\n"
18193 " (calculated internally) of the longest text string.\n"
18195 " p_legend_height (PLFLT_NC_SCALAR, output) : Returned value of the\n"
18196 " legend height in adopted coordinates. This quantity is calculated\n"
18197 " from text_scale, text_spacing, and nrow (possibly modified inside\n"
18198 " the routine depending on nlegend and nrow).\n"
18200 " opt (PLINT, input) : opt contains bits controlling the overall\n"
18201 " legend. If the PL_LEGEND_TEXT_LEFT bit is set, put the text area\n"
18202 " on the left of the legend and the plotted area on the right.\n"
18203 " Otherwise, put the text area on the right of the legend and the\n"
18204 " plotted area on the left. If the PL_LEGEND_BACKGROUND bit is set,\n"
18205 " plot a (semitransparent) background for the legend. If the\n"
18206 " PL_LEGEND_BOUNDING_BOX bit is set, plot a bounding box for the\n"
18207 " legend. If the PL_LEGEND_ROW_MAJOR bit is set and (both of the\n"
18208 " possibly internally transformed) nrow > 1 and ncolumn > 1, then\n"
18209 " plot the resulting array of legend entries in row-major order.\n"
18210 " Otherwise, plot the legend entries in column-major order.\n"
18212 " position (PLINT, input) : position contains bits which control the\n"
18213 " overall position of the legend and the definition of the adopted\n"
18214 " coordinates used for positions just like what is done for the\n"
18215 " position argument for plcolorbar. However, note that the defaults\n"
18216 " for the position bits (see below) are different than the\n"
18217 " plcolorbar case. The combination of the PL_POSITION_LEFT,\n"
18218 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n"
18219 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n"
18220 " the 16 possible standard positions (the 4 corners and centers of\n"
18221 " the 4 sides for both the inside and outside cases) of the legend\n"
18222 " relative to the adopted coordinate system. The corner positions\n"
18223 " are specified by the appropriate combination of two of the\n"
18224 " PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n"
18225 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n"
18226 " value of one of those bits. The adopted coordinates are\n"
18227 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n"
18228 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n"
18229 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n"
18230 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n"
18231 " then use the combination of PL_POSITION_RIGHT and PL_POSITION_TOP.\n"
18232 " If neither of PL_POSITION_INSIDE or PL_POSITION_OUTSIDE is set,\n"
18233 " use PL_POSITION_INSIDE. If neither of PL_POSITION_VIEWPORT or\n"
18234 " PL_POSITION_SUBPAGE is set, use PL_POSITION_VIEWPORT.\n"
18236 " x (PLFLT, input) : X offset of the legend position in adopted\n"
18237 " coordinates from the specified standard position of the legend.\n"
18238 " For positive x, the direction of motion away from the standard\n"
18239 " position is inward/outward from the standard corner positions or\n"
18240 " standard left or right positions if the\n"
18241 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
18242 " For the standard top or bottom positions, the direction of motion\n"
18243 " is toward positive X.\n"
18245 " y (PLFLT, input) : Y offset of the legend position in adopted\n"
18246 " coordinates from the specified standard position of the legend.\n"
18247 " For positive y, the direction of motion away from the standard\n"
18248 " position is inward/outward from the standard corner positions or\n"
18249 " standard top or bottom positions if the\n"
18250 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position. For\n"
18251 " the standard left or right positions, the direction of motion is\n"
18252 " toward positive Y.\n"
18254 " plot_width (PLFLT, input) : Horizontal width in adopted coordinates\n"
18255 " of the plot area (where the colored boxes, lines, and/or lines of\n"
18256 " symbols are drawn) of the legend.\n"
18258 " bg_color (PLINT, input) : The cmap0 color of the background for the\n"
18259 " legend (PL_LEGEND_BACKGROUND).\n"
18261 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n"
18262 " for the legend (PL_LEGEND_BOUNDING_BOX).\n"
18264 " bb_style (PLINT, input) : The pllsty style number for the\n"
18265 " bounding-box line for the legend (PL_LEGEND_BACKGROUND).\n"
18267 " nrow (PLINT, input) : The number of rows in the matrix used to\n"
18269 " nlegend legend entries. For internal transformations of\n"
18270 " nrow, see further remarks under\n"
18273 " ncolumn (PLINT, input) : The number of columns in the matrix used\n"
18275 " nlegend legend entries. For internal transformations of\n"
18276 " ncolumn, see further remarks under\n"
18279 " nlegend (PLINT, input) : Number of legend entries. The above\n"
18281 " ncolumn values are transformed internally to be consistent with\n"
18282 " nlegend. If either\n"
18284 " ncolumn is non-positive it is replaced by 1. If the resulting product\n"
18287 " ncolumn is less than\n"
18288 " nlegend, the smaller of the two (or\n"
18291 " ncolumn) is increased so the product is >=\n"
18292 " nlegend. Thus, for example, the common\n"
18294 " ncolumn = 0 case is transformed internally to\n"
18297 " ncolumn = 1; i.e., the usual case of a legend rendered as a single\n"
18300 " opt_array (PLINT_VECTOR, input) : A vector of\n"
18301 " nlegend values of options to control each individual plotted area\n"
18302 " corresponding to a legend entry. If the\n"
18303 " PL_LEGEND_NONE bit is set, then nothing is plotted in the plotted\n"
18305 " PL_LEGEND_COLOR_BOX,\n"
18306 " PL_LEGEND_LINE, and/or\n"
18307 " PL_LEGEND_SYMBOL bits are set, the area corresponding to a legend\n"
18308 " entry is plotted with a colored box; a line; and/or a line of\n"
18311 " text_offset (PLFLT, input) : Offset of the text area from the plot\n"
18312 " area in units of character width.\n"
18314 " text_scale (PLFLT, input) : Character height scale for text\n"
18317 " text_spacing (PLFLT, input) : Vertical spacing in units of the\n"
18318 " character height from one legend entry to the next.\n"
18320 " text_justification (PLFLT, input) : Justification parameter used\n"
18321 " for text justification. The most common values of\n"
18322 " text_justification are 0., 0.5, or 1. corresponding to a text that\n"
18323 " is left justified, centred, or right justified within the text\n"
18324 " area, but other values are allowed as well.\n"
18326 " text_colors (PLINT_VECTOR, input) : A vector containing\n"
18327 " nlegend cmap0 text colors.\n"
18329 " text (PLCHAR_MATRIX, input) : A vector of\n"
18330 " nlegend UTF-8 character strings containing the legend annotations.\n"
18332 " box_colors (PLINT_VECTOR, input) : A vector containing\n"
18333 " nlegend cmap0 colors for the discrete colored boxes (\n"
18334 " PL_LEGEND_COLOR_BOX).\n"
18336 " box_patterns (PLINT_VECTOR, input) : A vector containing\n"
18337 " nlegend patterns (plpsty indices) for the discrete colored boxes (\n"
18338 " PL_LEGEND_COLOR_BOX).\n"
18340 " box_scales (PLFLT_VECTOR, input) : A vector containing\n"
18341 " nlegend scales (units of fraction of character height) for the height\n"
18342 " of the discrete colored boxes (\n"
18343 " PL_LEGEND_COLOR_BOX).\n"
18345 " box_line_widths (PLFLT_VECTOR, input) : A vector containing\n"
18346 " nlegend line widths for the patterns specified by box_patterns (\n"
18347 " PL_LEGEND_COLOR_BOX).\n"
18349 " line_colors (PLINT_VECTOR, input) : A vector containing\n"
18350 " nlegend cmap0 line colors (\n"
18351 " PL_LEGEND_LINE).\n"
18353 " line_styles (PLINT_VECTOR, input) : A vector containing\n"
18354 " nlegend line styles (plsty indices) (\n"
18355 " PL_LEGEND_LINE).\n"
18357 " line_widths (PLFLT_VECTOR, input) : A vector containing\n"
18358 " nlegend line widths (\n"
18359 " PL_LEGEND_LINE).\n"
18361 " symbol_colors (PLINT_VECTOR, input) : A vector containing\n"
18362 " nlegend cmap0 symbol colors (\n"
18363 " PL_LEGEND_SYMBOL).\n"
18365 " symbol_scales (PLFLT_VECTOR, input) : A vector containing\n"
18366 " nlegend scale values for the symbol height (\n"
18367 " PL_LEGEND_SYMBOL).\n"
18369 " symbol_numbers (PLINT_VECTOR, input) : A vector containing\n"
18370 " nlegend numbers of symbols to be drawn across the width of the plotted\n"
18372 " PL_LEGEND_SYMBOL).\n"
18374 " symbols (PLCHAR_MATRIX, input) : A vector of\n"
18375 " nlegend UTF-8 character strings containing the legend symbols. (\n"
18376 " PL_LEGEND_SYMBOL).\n"
18380 "Plot color bar for image, shade or gradient plots\n"
18384 " Routine for creating a continuous color bar for image, shade, or\n"
18385 " gradient plots. (See pllegend for similar functionality for creating\n"
18386 " legends with discrete elements). The arguments of plcolorbar provide\n"
18387 " control over the location and size of the color bar as well as the\n"
18388 " location and characteristics of the elements (most of which are\n"
18389 " optional) within that color bar. The resulting color bar is clipped\n"
18390 " at the boundaries of the current subpage. (N.B. the adopted coordinate\n"
18391 " system used for some of the parameters is defined in the documentation\n"
18392 " of the position parameter.)\n"
18394 " Redacted form: plcolorbar(p_colorbar_width, p_colorbar_height, opt,\n"
18395 " position, x, y, x_length, y_length, bg_color, bb_color, bb_style,\n"
18396 " low_cap_color, high_cap_color, cont_color, cont_width, label_opts,\n"
18397 " labels, axis_opts, ticks, sub_ticks, values)\n"
18399 " This function is used in examples 16 and 33.\n"
18405 "plcolorbar(p_colorbar_width, p_colorbar_height, opt, position, x, y, x_length, y_length, bg_color, bb_color, bb_style, low_cap_color, high_cap_color, cont_color, cont_width, n_labels, label_opts, labels, naxes, axis_opts, ticks, sub_ticks, n_values, values)\n"
18409 " p_colorbar_width (PLFLT_NC_SCALAR, output) : Returned value of the\n"
18410 " labelled and decorated color bar width in adopted coordinates.\n"
18412 " p_colorbar_height (PLFLT_NC_SCALAR, output) : Returned value of the\n"
18413 " labelled and decorated color bar height in adopted coordinates.\n"
18415 " opt (PLINT, input) : opt contains bits controlling the overall\n"
18416 " color bar. The orientation (direction of the maximum value) of\n"
18417 " the color bar is specified with PL_ORIENT_RIGHT, PL_ORIENT_TOP,\n"
18418 " PL_ORIENT_LEFT, or PL_ORIENT_BOTTOM. If none of these bits are\n"
18419 " specified, the default orientation is toward the top if the\n"
18420 " colorbar is placed on the left or right of the viewport or toward\n"
18421 " the right if the colorbar is placed on the top or bottom of the\n"
18422 " viewport. If the PL_COLORBAR_BACKGROUND bit is set, plot a\n"
18423 " (semitransparent) background for the color bar. If the\n"
18424 " PL_COLORBAR_BOUNDING_BOX bit is set, plot a bounding box for the\n"
18425 " color bar. The type of color bar must be specified with one of\n"
18426 " PL_COLORBAR_IMAGE, PL_COLORBAR_SHADE, or PL_COLORBAR_GRADIENT. If\n"
18427 " more than one of those bits is set only the first one in the above\n"
18428 " list is honored. The position of the (optional) label/title can be\n"
18429 " specified with PL_LABEL_RIGHT, PL_LABEL_TOP, PL_LABEL_LEFT, or\n"
18430 " PL_LABEL_BOTTOM. If no label position bit is set then no label\n"
18431 " will be drawn. If more than one of this list of bits is specified,\n"
18432 " only the first one on the list is honored. End-caps for the color\n"
18433 " bar can added with PL_COLORBAR_CAP_LOW and PL_COLORBAR_CAP_HIGH.\n"
18434 " If a particular color bar cap option is not specified then no cap\n"
18435 " will be drawn for that end. As a special case for\n"
18436 " PL_COLORBAR_SHADE, the option PL_COLORBAR_SHADE_LABEL can be\n"
18437 " specified. If this option is provided then any tick marks and tick\n"
18438 " labels will be placed at the breaks between shaded segments. TODO:\n"
18439 " This should be expanded to support custom placement of tick marks\n"
18440 " and tick labels at custom value locations for any color bar type.\n"
18442 " position (PLINT, input) : position contains bits which control the\n"
18443 " overall position of the color bar and the definition of the\n"
18444 " adopted coordinates used for positions just like what is done for\n"
18445 " the position argument for pllegend. However, note that the\n"
18446 " defaults for the position bits (see below) are different than the\n"
18447 " pllegend case. The combination of the PL_POSITION_LEFT,\n"
18448 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n"
18449 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n"
18450 " the 16 possible standard positions (the 4 corners and centers of\n"
18451 " the 4 sides for both the inside and outside cases) of the color\n"
18452 " bar relative to the adopted coordinate system. The corner\n"
18453 " positions are specified by the appropriate combination of two of\n"
18454 " the PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n"
18455 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n"
18456 " value of one of those bits. The adopted coordinates are\n"
18457 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n"
18458 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n"
18459 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n"
18460 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n"
18461 " then use PL_POSITION_RIGHT. If neither of PL_POSITION_INSIDE or\n"
18462 " PL_POSITION_OUTSIDE is set, use PL_POSITION_OUTSIDE. If neither of\n"
18463 " PL_POSITION_VIEWPORT or PL_POSITION_SUBPAGE is set, use\n"
18464 " PL_POSITION_VIEWPORT.\n"
18466 " x (PLFLT, input) : X offset of the color bar position in adopted\n"
18467 " coordinates from the specified standard position of the color bar.\n"
18468 " For positive x, the direction of motion away from the standard\n"
18469 " position is inward/outward from the standard corner positions or\n"
18470 " standard left or right positions if the\n"
18471 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
18472 " For the standard top or bottom positions, the direction of motion\n"
18473 " is toward positive X.\n"
18475 " y (PLFLT, input) : Y offset of the color bar position in adopted\n"
18476 " coordinates from the specified standard position of the color bar.\n"
18477 " For positive y, the direction of motion away from the standard\n"
18478 " position is inward/outward from the standard corner positions or\n"
18479 " standard top or bottom positions if the\n"
18480 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
18481 " For the standard left or right positions, the direction of motion\n"
18482 " is toward positive Y.\n"
18484 " x_length (PLFLT, input) : Length of the body of the color bar in\n"
18485 " the X direction in adopted coordinates.\n"
18487 " y_length (PLFLT, input) : Length of the body of the color bar in\n"
18488 " the Y direction in adopted coordinates.\n"
18490 " bg_color (PLINT, input) : The cmap0 color of the background for the\n"
18491 " color bar (PL_COLORBAR_BACKGROUND).\n"
18493 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n"
18494 " for the color bar (PL_COLORBAR_BOUNDING_BOX).\n"
18496 " bb_style (PLINT, input) : The pllsty style number for the\n"
18497 " bounding-box line for the color bar (PL_COLORBAR_BACKGROUND).\n"
18499 " low_cap_color (PLFLT, input) : The cmap1 color of the low-end color\n"
18500 " bar cap, if it is drawn (PL_COLORBAR_CAP_LOW).\n"
18502 " high_cap_color (PLFLT, input) : The cmap1 color of the high-end\n"
18503 " color bar cap, if it is drawn (PL_COLORBAR_CAP_HIGH).\n"
18505 " cont_color (PLINT, input) : The cmap0 contour color for\n"
18506 " PL_COLORBAR_SHADE plots. This is passed directly to plshades, so\n"
18507 " it will be interpreted according to the design of plshades.\n"
18509 " cont_width (PLFLT, input) : Contour width for PL_COLORBAR_SHADE\n"
18510 " plots. This is passed directly to plshades, so it will be\n"
18511 " interpreted according to the design of plshades.\n"
18513 " n_labels (PLINT, input) : Number of labels to place around the\n"
18516 " label_opts (PLINT_VECTOR, input) : A vector of options for each of\n"
18517 " n_labels labels.\n"
18519 " labels (PLCHAR_MATRIX, input) : A vector of\n"
18520 " n_labels UTF-8 character strings containing the labels for the color\n"
18521 " bar. Ignored if no label position is specified with one of the\n"
18522 " PL_COLORBAR_LABEL_RIGHT, PL_COLORBAR_LABEL_TOP,\n"
18523 " PL_COLORBAR_LABEL_LEFT, or PL_COLORBAR_LABEL_BOTTOM bits in the\n"
18524 " corresponding label_opts field.\n"
18526 " n_axes (PLINT, input) : Number of axis definitions provided. This\n"
18527 " value must be greater than 0. It is typically 1 (numerical axis\n"
18528 " labels are provided for one of the long edges of the color bar),\n"
18529 " but it can be larger if multiple numerical axis labels for the\n"
18530 " long edges of the color bar are desired.\n"
18532 " axis_opts (PLCHAR_MATRIX, input) : A vector of\n"
18533 " n_axes ascii character strings containing options (interpreted as for\n"
18534 " plbox) for the color bar's axis definitions.\n"
18536 " ticks (PLFLT_VECTOR, input) : A vector of n_axes values of the\n"
18537 " spacing of the major tick marks (interpreted as for plbox) for the\n"
18538 " color bar's axis definitions.\n"
18540 " sub_ticks (PLINT_VECTOR, input) : A vector of n_axes values of the\n"
18541 " number of subticks (interpreted as for plbox) for the color bar's\n"
18542 " axis definitions.\n"
18544 " n_values (PLINT_VECTOR, input) : A vector containing the number of\n"
18545 " elements in each of the n_axes rows of the values matrix.\n"
18547 " values (PLFLT_MATRIX, input) : A matrix containing the numeric\n"
18548 " values for the data range represented by the color bar. For a row\n"
18549 " index of i_axis (where 0 < i_axis < n_axes), the number of\n"
18550 " elements in the row is specified by n_values[i_axis]. For\n"
18551 " PL_COLORBAR_IMAGE and PL_COLORBAR_GRADIENT the number of elements\n"
18552 " is 2, and the corresponding row elements of the values matrix are\n"
18553 " the minimum and maximum value represented by the colorbar. For\n"
18554 " PL_COLORBAR_SHADE, the number and values of the elements of a row\n"
18555 " of the values matrix is interpreted the same as the nlevel and\n"
18556 " clevel arguments of plshades.\n"
18560 "Sets the 3D position of the light source\n"
18564 " Sets the 3D position of the light source for use with plsurf3d and\n"
18567 " Redacted form: pllightsource(x, y, z)\n"
18569 " This function is used in example 8.\n"
18575 "pllightsource(x, y, z)\n"
18579 " x (PLFLT, input) : X-coordinate of the light source.\n"
18581 " y (PLFLT, input) : Y-coordinate of the light source.\n"
18583 " z (PLFLT, input) : Z-coordinate of the light source.\n"
18591 " Draws line defined by n points in x and y.\n"
18593 " Redacted form: plline(x, y)\n"
18595 " This function is used in examples 1, 3, 4, 9, 12-14, 16, 18, 20, 22,\n"
18596 " 25-27, and 29.\n"
18602 "plline(n, x, y)\n"
18606 " n (PLINT, input) : Number of points defining line.\n"
18608 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
18611 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
18616 "Draw a line in 3 space\n"
18620 " Draws line in 3 space defined by n points in x, y, and z. You must\n"
18621 " first set up the viewport, the 2d viewing window (in world\n"
18622 " coordinates), and the 3d normalized coordinate box. See x18c.c for\n"
18625 " Redacted form: plline3(x, y, z)\n"
18627 " This function is used in example 18.\n"
18633 "plline3(n, x, y, z)\n"
18637 " n (PLINT, input) : Number of points defining line.\n"
18639 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
18642 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
18645 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
18650 "Select line style\n"
18654 " This sets the line style according to one of eight predefined patterns\n"
18655 " (also see plstyl).\n"
18657 " Redacted form: pllsty(lin)\n"
18659 " This function is used in examples 9, 12, 22, and 25.\n"
18669 " lin (PLINT, input) : Integer value between 1 and 8. Line style 1 is\n"
18670 " a continuous line, line style 2 is a line with short dashes and\n"
18671 " gaps, line style 3 is a line with long dashes and gaps, line style\n"
18672 " 4 has long dashes and short gaps and so on.\n"
18676 "Plot surface mesh\n"
18680 " Plots a surface mesh within the environment set up by plw3d. The\n"
18681 " surface is defined by the matrix z[\n"
18683 " ny] , the point z[i][j] being the value of the function at (\n"
18685 " y[j]). Note that the points in vectors x and y do not need to be\n"
18686 " equally spaced, but must be stored in ascending order. The parameter\n"
18687 " opt controls the way in which the surface is displayed. For further\n"
18688 " details see the PLplot documentation.\n"
18690 " Redacted form: plmesh(x, y, z, opt)\n"
18692 " This function is used in example 11.\n"
18698 "plmesh(x, y, z, nx, ny, opt)\n"
18702 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18703 " which the function is evaluated.\n"
18705 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18706 " which the function is evaluated.\n"
18708 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18709 " plot. Should have dimensions of\n"
18713 " nx (PLINT, input) : Number of x values at which function has been\n"
18716 " ny (PLINT, input) : Number of y values at which function has been\n"
18719 " opt (PLINT, input) : Determines the way in which the surface is\n"
18720 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n"
18721 " function of x for each value of y[j] .\n"
18722 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18723 " for each value of x[i] .\n"
18724 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18725 " at which function is defined.\n"
18729 "Magnitude colored plot surface mesh with contour\n"
18733 " A more powerful form of plmesh: the surface mesh can be colored\n"
18734 " accordingly to the current z value being plotted, a contour plot can\n"
18735 " be drawn at the base XY plane, and a curtain can be drawn between the\n"
18736 " plotted function border and the base XY plane.\n"
18738 " Redacted form: plmeshc(x, y, z, opt, clevel)\n"
18740 " This function is used in example 11.\n"
18746 "plmeshc(x, y, z, nx, ny, opt, clevel, nlevel)\n"
18750 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18751 " which the function is evaluated.\n"
18753 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18754 " which the function is evaluated.\n"
18756 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18757 " plot. Should have dimensions of\n"
18761 " nx (PLINT, input) : Number of x values at which function is\n"
18764 " ny (PLINT, input) : Number of y values at which function is\n"
18767 " opt (PLINT, input) : Determines the way in which the surface is\n"
18768 " represented. To specify more than one option just add the options,\n"
18769 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
18770 " showing z as a function of x for each value of y[j] .\n"
18771 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18772 " for each value of x[i] .\n"
18773 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18774 " at which function is defined.\n"
18775 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
18776 " the z value being plotted. The color is used from the current\n"
18778 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18779 " using parameters\n"
18782 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18783 " the borders of the plotted function.\n"
18786 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18789 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18793 "Creates a new stream and makes it the default\n"
18797 " Creates a new stream and makes it the default. Differs from using\n"
18798 " plsstrm, in that a free stream number is found, and returned.\n"
18799 " Unfortunately, I have to start at stream 1 and work upward, since\n"
18800 " stream 0 is preallocated. One of the big flaws in the PLplot API is\n"
18801 " that no initial, library-opening call is required. So stream 0 must\n"
18802 " be preallocated, and there is no simple way of determining whether it\n"
18803 " is already in use or not.\n"
18805 " Redacted form: plmkstrm(p_strm)\n"
18807 " This function is used in examples 1 and 20.\n"
18813 "plmkstrm(p_strm)\n"
18817 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the stream\n"
18818 " number of the created stream.\n"
18822 "Write text relative to viewport boundaries\n"
18826 " Writes text at a specified position relative to the viewport\n"
18827 " boundaries. Text may be written inside or outside the viewport, but\n"
18828 " is clipped at the subpage boundaries. The reference point of a string\n"
18829 " lies along a line passing through the string at half the height of a\n"
18830 " capital letter. The position of the reference point along this line\n"
18831 " is determined by just, and the position of the reference point\n"
18832 " relative to the viewport is set by disp and pos.\n"
18834 " Redacted form: General: plmtex(side, disp, pos, just, text)\n"
18837 " This function is used in examples 3, 4, 6-8, 11, 12, 14, 18, 23, and\n"
18844 "plmtex(side, disp, pos, just, text)\n"
18848 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
18849 " the side of the viewport along which the text is to be written.\n"
18850 " The string must be one of: b: Bottom of viewport, text written\n"
18851 " parallel to edge.\n"
18852 " bv: Bottom of viewport, text written at right angles to edge.\n"
18853 " l: Left of viewport, text written parallel to edge.\n"
18854 " lv: Left of viewport, text written at right angles to edge.\n"
18855 " r: Right of viewport, text written parallel to edge.\n"
18856 " rv: Right of viewport, text written at right angles to edge.\n"
18857 " t: Top of viewport, text written parallel to edge.\n"
18858 " tv: Top of viewport, text written at right angles to edge.\n"
18861 " disp (PLFLT, input) : Position of the reference point of string,\n"
18862 " measured outwards from the specified viewport edge in units of the\n"
18863 " current character height. Use negative disp to write within the\n"
18866 " pos (PLFLT, input) : Position of the reference point of string\n"
18867 " along the specified edge, expressed as a fraction of the length of\n"
18870 " just (PLFLT, input) : Specifies the position of the string relative\n"
18871 " to its reference point. If just=0. , the reference point is at\n"
18872 " the left and if just=1. , it is at the right of the string. Other\n"
18873 " values of just give intermediate justifications.\n"
18875 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
18880 "Write text relative to viewport boundaries in 3D plots\n"
18884 " Writes text at a specified position relative to the viewport\n"
18885 " boundaries. Text may be written inside or outside the viewport, but\n"
18886 " is clipped at the subpage boundaries. The reference point of a string\n"
18887 " lies along a line passing through the string at half the height of a\n"
18888 " capital letter. The position of the reference point along this line\n"
18889 " is determined by just, and the position of the reference point\n"
18890 " relative to the viewport is set by disp and pos.\n"
18892 " Redacted form: plmtex3(side, disp, pos, just, text)\n"
18894 " This function is used in example 28.\n"
18900 "plmtex3(side, disp, pos, just, text)\n"
18904 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
18905 " the side of the viewport along which the text is to be written.\n"
18906 " The string should contain one or more of the following characters:\n"
18907 " [xyz][ps][v]. Only one label is drawn at a time, i.e. xyp will\n"
18908 " only label the X axis, not both the X and Y axes. x: Label the X\n"
18910 " y: Label the Y axis.\n"
18911 " z: Label the Z axis.\n"
18912 " p: Label the primary axis. For Z this is the leftmost Z axis.\n"
18913 " For X it is the axis that starts at y-min. For Y it is the\n"
18914 " axis that starts at x-min.\n"
18915 " s: Label the secondary axis.\n"
18916 " v: Draw the text perpendicular to the axis.\n"
18919 " disp (PLFLT, input) : Position of the reference point of string,\n"
18920 " measured outwards from the specified viewport edge in units of the\n"
18921 " current character height. Use negative disp to write within the\n"
18924 " pos (PLFLT, input) : Position of the reference point of string\n"
18925 " along the specified edge, expressed as a fraction of the length of\n"
18928 " just (PLFLT, input) : Specifies the position of the string relative\n"
18929 " to its reference point. If just=0. , the reference point is at\n"
18930 " the left and if just=1. , it is at the right of the string. Other\n"
18931 " values of just give intermediate justifications.\n"
18933 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
18938 "Plot 3-d surface plot\n"
18942 " Plots a three-dimensional surface plot within the environment set up\n"
18943 " by plw3d. The surface is defined by the matrix z[\n"
18945 " ny] , the point z[i][j] being the value of the function at (\n"
18947 " y[j]). Note that the points in vectors x and y do not need to be\n"
18948 " equally spaced, but must be stored in ascending order. The parameter\n"
18949 " opt controls the way in which the surface is displayed. For further\n"
18950 " details see the PLplot documentation. The only difference between\n"
18951 " plmesh and plot3d is that plmesh draws the bottom side of the surface,\n"
18952 " while plot3d only draws the surface as viewed from the top.\n"
18954 " Redacted form: plot3d(x, y, z, opt, side)\n"
18956 " This function is used in examples 11 and 21.\n"
18962 "plot3d(x, y, z, nx, ny, opt, side)\n"
18966 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18967 " which the function is evaluated.\n"
18969 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18970 " which the function is evaluated.\n"
18972 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18973 " plot. Should have dimensions of\n"
18977 " nx (PLINT, input) : Number of x values at which function is\n"
18980 " ny (PLINT, input) : Number of y values at which function is\n"
18983 " opt (PLINT, input) : Determines the way in which the surface is\n"
18984 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n"
18985 " function of x for each value of y[j] .\n"
18986 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18987 " for each value of x[i] .\n"
18988 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18989 " at which function is defined.\n"
18992 " side (PLBOOL, input) : Flag to indicate whether or not ``sides''\n"
18993 " should be draw on the figure. If side is true sides are drawn,\n"
18994 " otherwise no sides are drawn.\n"
18998 "Magnitude colored plot surface with contour\n"
19002 " Aside from dropping the\n"
19003 " side functionality this is a more powerful form of plot3d: the surface\n"
19004 " mesh can be colored accordingly to the current z value being plotted,\n"
19005 " a contour plot can be drawn at the base XY plane, and a curtain can be\n"
19006 " drawn between the plotted function border and the base XY plane. The\n"
19007 " arguments are identical to those of plmeshc. The only difference\n"
19008 " between plmeshc and plot3dc is that plmeshc draws the bottom side of\n"
19009 " the surface, while plot3dc only draws the surface as viewed from the\n"
19012 " Redacted form: General: plot3dc(x, y, z, opt, clevel)\n"
19015 " This function is used in example 21.\n"
19021 "plot3dc(x, y, z, nx, ny, opt, clevel, nlevel)\n"
19025 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
19026 " which the function is evaluated.\n"
19028 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
19029 " which the function is evaluated.\n"
19031 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
19032 " plot. Should have dimensions of\n"
19036 " nx (PLINT, input) : Number of x values at which function is\n"
19039 " ny (PLINT, input) : Number of y values at which function is\n"
19042 " opt (PLINT, input) : Determines the way in which the surface is\n"
19043 " represented. To specify more than one option just add the options,\n"
19044 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
19045 " showing z as a function of x for each value of y[j] .\n"
19046 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
19047 " for each value of x[i] .\n"
19048 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
19049 " at which function is defined.\n"
19050 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
19051 " the z value being plotted. The color is used from the current\n"
19053 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
19054 " using parameters\n"
19057 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
19058 " the borders of the plotted function.\n"
19061 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
19064 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
19068 "Magnitude colored plot surface with contour for z[x][y] with y index limits\n"
19072 " When the implementation is completed this variant of plot3dc (see that\n"
19073 " function's documentation for more details) should be suitable for the\n"
19074 " case where the area of the x, y coordinate grid where z is defined can\n"
19075 " be non-rectangular. The implementation is incomplete so the last 4\n"
19076 " parameters of plot3dcl; indexxmin, indexxmax, indexymin, and\n"
19077 " indexymax; are currently ignored and the functionality is otherwise\n"
19078 " identical to that of plot3dc.\n"
19080 " Redacted form: General: plot3dcl(x, y, z, opt, clevel, indexxmin,\n"
19081 " indexymin, indexymax)\n"
19084 " This function is not used in any example.\n"
19090 "plot3dcl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n"
19094 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
19095 " which the function is evaluated.\n"
19097 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
19098 " which the function is evaluated.\n"
19100 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
19101 " plot. Should have dimensions of\n"
19105 " nx (PLINT, input) : Number of x values at which the function is\n"
19108 " ny (PLINT, input) : Number of y values at which the function is\n"
19111 " opt (PLINT, input) : Determines the way in which the surface is\n"
19112 " represented. To specify more than one option just add the options,\n"
19113 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
19114 " showing z as a function of x for each value of y[j] .\n"
19115 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
19116 " for each value of x[i] .\n"
19117 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
19118 " at which function is defined.\n"
19119 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
19120 " the z value being plotted. The color is used from the current\n"
19122 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
19123 " using parameters\n"
19126 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
19127 " the borders of the plotted function.\n"
19130 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
19133 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
19135 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n"
19136 " corresponds to the first x index where z is defined.\n"
19138 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n"
19139 " which corresponds (by convention) to one more than the last x\n"
19140 " index value where z is defined.\n"
19142 " indexymin (PLINT_VECTOR, input) : A vector containing y index\n"
19143 " values which all must be ≥ 0. These values are the first y index\n"
19144 " where z is defined for a particular x index in the range from\n"
19145 " indexxmin to indexxmax - 1. The dimension of indexymin is\n"
19148 " indexymax (PLINT_VECTOR, input) : A vector containing y index\n"
19149 " values which all must be ≤ ny. These values correspond (by\n"
19150 " convention) to one more than the last y index where z is defined\n"
19151 " for a particular x index in the range from indexxmin to indexxmax\n"
19152 " - 1. The dimension of indexymax is indexxmax.\n"
19156 "Plot shaded 3-d surface plot\n"
19160 " Plots a three-dimensional shaded surface plot within the environment\n"
19161 " set up by plw3d. The surface is defined by the two-dimensional matrix\n"
19164 " ny], the point z[i][j] being the value of the function at (\n"
19166 " y[j]). Note that the points in vectors x and y do not need to be\n"
19167 " equally spaced, but must be stored in ascending order. For further\n"
19168 " details see the PLplot documentation.\n"
19170 " Redacted form: plsurf3d(x, y, z, opt, clevel)\n"
19172 " This function is not used in any examples.\n"
19178 "plsurf3d(x, y, z, nx, ny, opt, clevel, nlevel)\n"
19182 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
19183 " which the function is evaluated.\n"
19185 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
19186 " which the function is evaluated.\n"
19188 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
19189 " plot. Should have dimensions of\n"
19193 " nx (PLINT, input) : Number of x values at which function is\n"
19196 " ny (PLINT, input) : Number of y values at which function is\n"
19199 " opt (PLINT, input) : Determines the way in which the surface is\n"
19200 " represented. To specify more than one option just add the options,\n"
19201 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n"
19202 " connecting points at which function is defined.\n"
19203 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
19204 " using parameters\n"
19207 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n"
19208 " using parameters\n"
19211 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
19212 " the borders of the plotted function.\n"
19213 " opt=MAG_COLOR : the surface is colored according to the value\n"
19214 " of Z; if MAG_COLOR is not used, then the surface is colored\n"
19215 " according to the intensity of the reflected light in the\n"
19216 " surface from a light source whose position is set using\n"
19217 " pllightsource.\n"
19220 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
19223 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
19227 "Plot shaded 3-d surface plot for z[x][y] with y index limits\n"
19231 " This variant of plsurf3d (see that function's documentation for more\n"
19232 " details) should be suitable for the case where the area of the x, y\n"
19233 " coordinate grid where z is defined can be non-rectangular. The limits\n"
19234 " of that grid are provided by the parameters indexxmin, indexxmax,\n"
19235 " indexymin, and indexymax.\n"
19237 " Redacted form: plsurf3dl(x, y, z, opt, clevel, indexxmin, indexymin,\n"
19240 " This function is used in example 8.\n"
19246 "plsurf3dl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n"
19250 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
19251 " which the function is evaluated.\n"
19253 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
19254 " which the function is evaluated.\n"
19256 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
19257 " plot. Should have dimensions of\n"
19261 " nx (PLINT, input) : Number of x values at which function is\n"
19264 " ny (PLINT, input) : Number of y values at which function is\n"
19267 " opt (PLINT, input) : Determines the way in which the surface is\n"
19268 " represented. To specify more than one option just add the options,\n"
19269 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n"
19270 " connecting points at which function is defined.\n"
19271 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
19272 " using parameters\n"
19275 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n"
19276 " using parameters\n"
19279 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
19280 " the borders of the plotted function.\n"
19281 " opt=MAG_COLOR : the surface is colored according to the value\n"
19282 " of Z; if MAG_COLOR is not used, then the surface is colored\n"
19283 " according to the intensity of the reflected light in the\n"
19284 " surface from a light source whose position is set using\n"
19285 " pllightsource.\n"
19288 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
19291 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
19293 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n"
19294 " corresponds to the first x index where z is defined.\n"
19296 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n"
19297 " which corresponds (by convention) to one more than the last x\n"
19298 " index value where z is defined.\n"
19300 " indexymin (PLINT_VECTOR, input) : A vector containing the y index\n"
19301 " values which all must be ≥ 0. These values are the first y index\n"
19302 " where z is defined for a particular x index in the range from\n"
19303 " indexxmin to indexxmax - 1. The dimension of indexymin is\n"
19306 " indexymax (PLINT_VECTOR, input) : A vector containing the y index\n"
19307 " values which all must be ≤ ny. These values correspond (by\n"
19308 " convention) to one more than the last y index where z is defined\n"
19309 " for a particular x index in the range from indexxmin to indexxmax\n"
19310 " - 1. The dimension of indexymax is indexxmax.\n"
19314 "Parse command-line arguments\n"
19318 " Parse command-line arguments.\n"
19320 " plparseopts removes all recognized flags (decreasing argc\n"
19321 " accordingly), so that invalid input may be readily detected. It can\n"
19322 " also be used to process user command line flags. The user can merge\n"
19323 " an option table of type PLOptionTable into the internal option table\n"
19324 " info structure using plMergeOpts. Or, the user can specify that ONLY\n"
19325 " the external table(s) be parsed by calling plClearOpts before\n"
19328 " The default action taken by plparseopts is as follows:\n"
19329 " Returns with an error if an unrecognized option or badly formed\n"
19330 " option-value pair are encountered.\n"
19331 " Returns immediately (return code 0) when the first non-option command\n"
19332 " line argument is found.\n"
19333 " Returns with the return code of the option handler, if one was called.\n"
19335 " Deletes command line arguments from argv list as they are found, and\n"
19336 " decrements argc accordingly.\n"
19337 " Does not show \"invisible\" options in usage or help messages.\n"
19338 " Assumes the program name is contained in argv[0].\n"
19340 " These behaviors may be controlled through the\n"
19341 " mode argument.\n"
19343 " Redacted form: General: plparseopts(argv, mode)\n"
19346 " This function is used in all of the examples.\n"
19352 "PLINT plparseopts(p_argc, argv, mode)\n"
19356 " p_argc (int *, input/output) : Number of arguments.\n"
19358 " argv (PLCHAR_NC_MATRIX, input/output) : A vector of character\n"
19359 " strings containing *p_argc command-line arguments.\n"
19361 " mode (PLINT, input) : Parsing mode with the following\n"
19362 " possibilities: PL_PARSE_FULL (1) -- Full parsing of command line\n"
19363 " and all error messages enabled, including program exit when an\n"
19364 " error occurs. Anything on the command line that isn't recognized\n"
19365 " as a valid option or option argument is flagged as an error.\n"
19366 " PL_PARSE_QUIET (2) -- Turns off all output except in the case\n"
19368 " PL_PARSE_NODELETE (4) -- Turns off deletion of processed\n"
19370 " PL_PARSE_SHOWALL (8) -- Show invisible options\n"
19371 " PL_PARSE_NOPROGRAM (32) -- Specified if argv[0] is NOT a\n"
19372 " pointer to the program name.\n"
19373 " PL_PARSE_NODASH (64) -- Set if leading dash is NOT required.\n"
19374 " PL_PARSE_SKIP (128) -- Set to quietly skip over any\n"
19375 " unrecognized arguments.\n"
19379 "Set area line fill pattern\n"
19383 " Sets the area line fill pattern to be used, e.g., for calls to plfill.\n"
19384 " The pattern consists of 1 or 2 sets of parallel lines with specified\n"
19385 " inclinations and spacings. The arguments to this routine are the\n"
19386 " number of sets to use (1 or 2) followed by two vectors (with 1 or 2\n"
19387 " elements) specifying the inclinations in tenths of a degree and the\n"
19388 " spacing in micrometers. (See also plpsty)\n"
19390 " Redacted form: General: plpat(inc, del)\n"
19393 " This function is used in example 15.\n"
19399 "plpat(nlin, inc, del)\n"
19403 " nlin (PLINT, input) : Number of sets of lines making up the\n"
19404 " pattern, either 1 or 2.\n"
19406 " inc (PLINT_VECTOR, input) : A vector containing nlin values of the\n"
19407 " inclination in tenths of a degree. (Should be between -900 and\n"
19410 " del (PLINT_VECTOR, input) : A vector containing nlin values of the\n"
19411 " spacing in micrometers between the lines making up the pattern.\n"
19415 "Draw a line between two points, accounting for coordinate transforms\n"
19419 " Joins the point (\n"
19423 " y2) . If a global coordinate transform is defined then the line is\n"
19424 " broken in to n segments to approximate the path. If no transform is\n"
19425 " defined then this simply acts like a call to pljoin.\n"
19427 " Redacted form: plpath(n,x1,y1,x2,y2)\n"
19429 " This function is used in example 22.\n"
19435 "plpath(n, x1, y1, x2, y2)\n"
19439 " n (PLINT, input) : number of points to use to approximate the path.\n"
19441 " x1 (PLFLT, input) : x coordinate of first point.\n"
19443 " y1 (PLFLT, input) : y coordinate of first point.\n"
19445 " x2 (PLFLT, input) : x coordinate of second point.\n"
19447 " y2 (PLFLT, input) : y coordinate of second point.\n"
19451 "Plot a glyph at the specified points\n"
19455 " Plot a glyph at the specified points. (This function is largely\n"
19456 " superseded by plstring which gives access to many[!] more glyphs.)\n"
19457 " code=-1 means try to just draw a point. Right now it's just a move\n"
19458 " and a draw at the same place. Not ideal, since a sufficiently\n"
19459 " intelligent output device may optimize it away, or there may be faster\n"
19460 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n"
19461 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n"
19462 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n"
19463 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n"
19464 " code <= 127 the corresponding printable ASCII character is plotted.\n"
19466 " Redacted form: plpoin(x, y, code)\n"
19468 " This function is used in examples 1, 6, 14, and 29.\n"
19474 "plpoin(n, x, y, code)\n"
19478 " n (PLINT, input) : Number of points in the x and y vectors.\n"
19480 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
19483 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
19486 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n"
19487 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n"
19488 " each of the n points.\n"
19492 "Plot a glyph at the specified 3D points\n"
19496 " Plot a glyph at the specified 3D points. (This function is largely\n"
19497 " superseded by plstring3 which gives access to many[!] more glyphs.)\n"
19498 " Set up the call to this function similar to what is done for plline3.\n"
19499 " code=-1 means try to just draw a point. Right now it's just a move\n"
19500 " and a draw at the same place. Not ideal, since a sufficiently\n"
19501 " intelligent output device may optimize it away, or there may be faster\n"
19502 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n"
19503 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n"
19504 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n"
19505 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n"
19506 " code <= 127 the corresponding printable ASCII character is plotted.\n"
19508 " Redacted form: plpoin3(x, y, z, code)\n"
19510 " This function is not used in any example.\n"
19516 "plpoin3(n, x, y, z, code)\n"
19520 " n (PLINT, input) : Number of points in the x and y vectors.\n"
19522 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
19525 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
19528 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
19531 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n"
19532 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n"
19533 " each of the n points.\n"
19537 "Draw a polygon in 3 space\n"
19541 " Draws a polygon in 3 space defined by n points in x, y, and z. Setup\n"
19542 " like plline3, but differs from that function in that plpoly3 attempts\n"
19543 " to determine if the polygon is viewable depending on the order of the\n"
19544 " points within the vector and the value of ifcc. If the back of\n"
19545 " polygon is facing the viewer, then it isn't drawn. If this isn't what\n"
19546 " you want, then use plline3 instead.\n"
19548 " The points are assumed to be in a plane, and the directionality of the\n"
19549 " plane is determined from the first three points. Additional points do\n"
19550 " not have to lie on the plane defined by the first three, but if they\n"
19551 " do not, then the determination of visibility obviously can't be 100%\n"
19552 " accurate... So if you're 3 space polygons are too far from planar,\n"
19553 " consider breaking them into smaller polygons. 3 points define a plane\n"
19556 " Bugs: If one of the first two segments is of zero length, or if they\n"
19557 " are co-linear, the calculation of visibility has a 50/50 chance of\n"
19558 " being correct. Avoid such situations :-). See x18c.c for an example\n"
19559 " of this problem. (Search for 20.1).\n"
19561 " Redacted form: plpoly3(x, y, z, code)\n"
19563 " This function is used in example 18.\n"
19569 "plpoly3(n, x, y, z, draw, ifcc)\n"
19573 " n (PLINT, input) : Number of points defining line.\n"
19575 " x (PLFLT_VECTOR, input) : A vector containing\n"
19576 " n x coordinates of points.\n"
19578 " y (PLFLT_VECTOR, input) : A vector containing\n"
19579 " n y coordinates of points.\n"
19581 " z (PLFLT_VECTOR, input) : A vector containing\n"
19582 " n z coordinates of points.\n"
19584 " draw (PLBOOL_VECTOR, input) : A vector containing\n"
19585 " n-1 Boolean values which control drawing the segments of the polygon.\n"
19586 " If draw[i] is true, then the polygon segment from index [i] to\n"
19587 " [i+1] is drawn, otherwise, not.\n"
19589 " ifcc (PLBOOL, input) : If ifcc is true the directionality of the\n"
19590 " polygon is determined by assuming the points are laid out in a\n"
19591 " counter-clockwise order. Otherwise, the directionality of the\n"
19592 " polygon is determined by assuming the points are laid out in a\n"
19593 " clockwise order.\n"
19597 "Set precision in numeric labels\n"
19601 " Sets the number of places after the decimal point in numeric labels.\n"
19603 " Redacted form: plprec(setp, prec)\n"
19605 " This function is used in example 29.\n"
19611 "plprec(setp, prec)\n"
19615 " setp (PLINT, input) : If setp is equal to 0 then PLplot\n"
19616 " automatically determines the number of places to use after the\n"
19617 " decimal point in numeric labels (like those used to label axes).\n"
19618 " If setp is 1 then prec sets the number of places.\n"
19620 " prec (PLINT, input) : The number of characters to draw after the\n"
19621 " decimal point in numeric labels.\n"
19625 "Select area fill pattern\n"
19630 " patt is zero or less use either a hardware solid fill if the drivers\n"
19631 " have that capability (virtually all do) or fall back to a software\n"
19632 " emulation of a solid fill using the eighth area line fill pattern. If\n"
19634 " patt <= 8, then select one of eight predefined area line fill patterns\n"
19635 " to use (see plpat if you desire other patterns).\n"
19637 " Redacted form: plpsty(patt)\n"
19639 " This function is used in examples 12, 13, 15, 16, and 25.\n"
19649 " patt (PLINT, input) : The desired pattern index. If\n"
19650 " patt is zero or less, then a solid fill is (normally, see qualifiers\n"
19651 " above) used. For\n"
19652 " patt in the range from 1 to 8 and assuming the driver has not supplied\n"
19653 " line fill capability itself (most deliberately do not so that line\n"
19654 " fill patterns look identical for those drivers), the patterns\n"
19655 " consist of (1) horizontal lines, (2) vertical lines, (3) lines at\n"
19656 " 45 degrees, (4) lines at -45 degrees, (5) lines at 30 degrees, (6)\n"
19657 " lines at -30 degrees, (7) both vertical and horizontal lines, and\n"
19658 " (8) lines at both 45 degrees and -45 degrees.\n"
19662 "Write text inside the viewport\n"
19666 " Writes text at a specified position and inclination within the\n"
19667 " viewport. Text is clipped at the viewport boundaries. The reference\n"
19668 " point of a string lies along a line passing through the string at half\n"
19669 " the height of a capital letter. The position of the reference point\n"
19670 " along this line is determined by just, the reference point is placed\n"
19671 " at world coordinates (\n"
19673 " y) within the viewport. The inclination of the string is specified\n"
19674 " in terms of differences of world coordinates making it easy to write\n"
19675 " text parallel to a line in a graph.\n"
19677 " Redacted form: plptex(x, y, dx, dy, just, text)\n"
19679 " This function is used in example 2-4,10,12-14,20,23,24,26.\n"
19685 "plptex(x, y, dx, dy, just, text)\n"
19689 " x (PLFLT, input) : x coordinate of reference point of string.\n"
19691 " y (PLFLT, input) : y coordinate of reference point of string.\n"
19693 " dx (PLFLT, input) : Together with dy, this specifies the\n"
19694 " inclination of the string. The baseline of the string is parallel\n"
19695 " to a line joining (\n"
19703 " dy (PLFLT, input) : Together with dx, this specifies the\n"
19704 " inclination of the string.\n"
19706 " just (PLFLT, input) : Specifies the position of the string relative\n"
19707 " to its reference point. If just=0. , the reference point is at\n"
19708 " the left and if just=1. , it is at the right of the string. Other\n"
19709 " values of just give intermediate justifications.\n"
19711 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
19716 "Write text inside the viewport of a 3D plot\n"
19720 " Writes text at a specified position and inclination and with a\n"
19721 " specified shear within the viewport. Text is clipped at the viewport\n"
19722 " boundaries. The reference point of a string lies along a line passing\n"
19723 " through the string at half the height of a capital letter. The\n"
19724 " position of the reference point along this line is determined by just,\n"
19725 " and the reference point is placed at world coordinates (\n"
19728 " wz) within the viewport. The inclination and shear of the string is\n"
19729 " specified in terms of differences of world coordinates making it easy\n"
19730 " to write text parallel to a line in a graph.\n"
19732 " Redacted form: plptex3(x, y, z, dx, dy, dz, sx, sy, sz, just, text)\n"
19734 " This function is used in example 28.\n"
19740 "plptex3(wx, wy, wz, dx, dy, dz, sx, sy, sz, just, text)\n"
19744 " wx (PLFLT, input) : x world coordinate of reference point of\n"
19747 " wy (PLFLT, input) : y world coordinate of reference point of\n"
19750 " wz (PLFLT, input) : z world coordinate of reference point of\n"
19753 " dx (PLFLT, input) : Together with dy and\n"
19754 " dz , this specifies the inclination of the string. The baseline of\n"
19755 " the string is parallel to a line joining (\n"
19766 " dy (PLFLT, input) : Together with dx and\n"
19767 " dz, this specifies the inclination of the string.\n"
19769 " dz (PLFLT, input) : Together with dx and\n"
19770 " dy, this specifies the inclination of the string.\n"
19772 " sx (PLFLT, input) : Together with sy and\n"
19773 " sz , this specifies the shear of the string. The string is sheared so\n"
19774 " that the characters are vertically parallel to a line joining (\n"
19785 " sz = 0.) then the text is not sheared.\n"
19787 " sy (PLFLT, input) : Together with sx and\n"
19788 " sz, this specifies shear of the string.\n"
19790 " sz (PLFLT, input) : Together with sx and\n"
19791 " sy, this specifies shear of the string.\n"
19793 " just (PLFLT, input) : Specifies the position of the string relative\n"
19794 " to its reference point. If just=0. , the reference point is at\n"
19795 " the left and if just=1. , it is at the right of the string. Other\n"
19796 " values of just give intermediate justifications.\n"
19798 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
19803 "Random number generator returning a real random number in the range [0,1]\n"
19807 " Random number generator returning a real random number in the range\n"
19808 " [0,1]. The generator is based on the Mersenne Twister. Most languages\n"
19809 " / compilers provide their own random number generator, and so this is\n"
19810 " provided purely for convenience and to give a consistent random number\n"
19811 " generator across all languages supported by PLplot. This is\n"
19812 " particularly useful for comparing results from the test suite of\n"
19815 " Redacted form: plrandd()\n"
19817 " This function is used in examples 17 and 21.\n"
19827 "Replays contents of plot buffer to current device/file\n"
19831 " Replays contents of plot buffer to current device/file.\n"
19833 " Redacted form: plreplot()\n"
19835 " This function is used in example 1,20.\n"
19845 "Convert RGB color to HLS\n"
19849 " Convert RGB color coordinates to HLS\n"
19851 " Redacted form: General: plrgbhls(r, g, b, p_h, p_l, p_s)\n"
19854 " This function is used in example 2.\n"
19860 "plrgbhls(r, g, b, p_h, p_l, p_s)\n"
19864 " r (PLFLT, input) : Red intensity (0.0-1.0) of the color.\n"
19866 " g (PLFLT, input) : Green intensity (0.0-1.0) of the color.\n"
19868 " b (PLFLT, input) : Blue intensity (0.0-1.0) of the color.\n"
19870 " p_h (PLFLT_NC_SCALAR, output) : Returned value of the hue in\n"
19871 " degrees (0.0-360.0) on the color cylinder.\n"
19873 " p_l (PLFLT_NC_SCALAR, output) : Returned value of the lightness\n"
19874 " expressed as a fraction (0.0-1.0) of the axis of the color\n"
19877 " p_s (PLFLT_NC_SCALAR, output) : Returned value of the saturation\n"
19878 " expressed as a fraction (0.0-1.0) of the radius of the color\n"
19883 "Set character size\n"
19887 " This sets up the size of all subsequent characters drawn. The actual\n"
19888 " height of a character is the product of the default character size and\n"
19889 " a scaling factor.\n"
19891 " Redacted form: plschr(def, scale)\n"
19893 " This function is used in examples 2, 13, 23, and 24.\n"
19899 "plschr(def, scale)\n"
19903 " def (PLFLT, input) : The default height of a character in\n"
19904 " millimeters, should be set to zero if the default height is to\n"
19905 " remain unchanged. For rasterized drivers the dx and dy values\n"
19906 " specified in plspage are used to convert from mm to pixels (note\n"
19907 " the different unit systems used). This dpi aware scaling is not\n"
19908 " implemented for all drivers yet.\n"
19910 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
19911 " actual character height.\n"
19915 "Set cmap0 colors by 8-bit RGB values\n"
19919 " Set cmap0 colors using 8-bit RGB values (see the PLplot\n"
19920 " documentation). This sets the entire color map -- only as many colors\n"
19921 " as specified will be allocated.\n"
19923 " Redacted form: plscmap0(r, g, b)\n"
19925 " This function is used in examples 2 and 24.\n"
19931 "plscmap0(r, g, b, ncol0)\n"
19935 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19936 " integers (0-255) representing the degree of red in the color.\n"
19938 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19939 " integers (0-255) representing the degree of green in the color.\n"
19941 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19942 " integers (0-255) representing the degree of blue in the color.\n"
19944 " ncol0 (PLINT, input) : Number of items in the r, g, and b vectors.\n"
19948 "Set cmap0 colors by 8-bit RGB values and PLFLT alpha transparency value\n"
19952 " Set cmap0 colors using 8-bit RGB values (see the PLplot documentation)\n"
19953 " and PLFLT alpha transparency value. This sets the entire color map --\n"
19954 " only as many colors as specified will be allocated.\n"
19956 " Redacted form: plscmap0a(r, g, b, alpha)\n"
19958 " This function is used in examples 30.\n"
19964 "plscmap0a(r, g, b, alpha, ncol0)\n"
19968 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19969 " integers (0-255) representing the degree of red in the color.\n"
19971 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19972 " integers (0-255) representing the degree of green in the color.\n"
19974 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19975 " integers (0-255) representing the degree of blue in the color.\n"
19977 " alpha (PLFLT_VECTOR, input) : A vector containing values (0.0-1.0)\n"
19978 " representing the alpha transparency of the color.\n"
19980 " ncol0 (PLINT, input) : Number of items in the r, g, b, and alpha\n"
19985 "Set number of colors in cmap0\n"
19989 " Set number of colors in cmap0 (see the PLplot documentation). Allocate\n"
19990 " (or reallocate) cmap0, and fill with default values for those colors\n"
19991 " not previously allocated. The first 16 default colors are given in\n"
19992 " the plcol0 documentation. For larger indices the default color is\n"
19995 " The drivers are not guaranteed to support more than 16 colors.\n"
19997 " Redacted form: plscmap0n(ncol0)\n"
19999 " This function is used in examples 15, 16, and 24.\n"
20005 "plscmap0n(ncol0)\n"
20009 " ncol0 (PLINT, input) : Number of colors that will be allocated in\n"
20010 " the cmap0 palette. If this number is zero or less, then the value\n"
20011 " from the previous call to plscmap0n is used and if there is no\n"
20012 " previous call, then a default value is used.\n"
20016 "Set opaque RGB cmap1 colors values\n"
20020 " Set opaque cmap1 colors (see the PLplot documentation) using RGB\n"
20021 " vector values. This function also sets the number of cmap1 colors.\n"
20022 " N.B. Continuous cmap1 colors are indexed with a floating-point index\n"
20023 " in the range from 0.0-1.0 which is linearly transformed (e.g., by\n"
20024 " plcol1) to an integer index of these RGB vectors in the range from 0\n"
20026 " ncol1-1. So in order for this continuous color model to work\n"
20027 " properly, it is the responsibility of the user of plscmap1 to insure\n"
20028 " that these RGB vectors are continuous functions of their integer\n"
20031 " Redacted form: plscmap1(r, g, b)\n"
20033 " This function is used in example 31.\n"
20039 "plscmap1(r, g, b, ncol1)\n"
20043 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
20044 " 8-bit integers in the range from 0-255) the degree of red in the\n"
20045 " color as a continuous function of the integer index of the vector.\n"
20047 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
20048 " 8-bit integers in the range from 0-255) the degree of green in the\n"
20049 " color as a continuous function of the integer index of the vector.\n"
20051 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
20052 " 8-bit integers in the range from 0-255) the degree of blue in the\n"
20053 " color as a continuous function of the integer index of the vector.\n"
20055 " ncol1 (PLINT, input) : Number of items in the r, g, and b vectors.\n"
20059 "Set semitransparent cmap1 RGBA colors.\n"
20063 " Set semitransparent cmap1 colors (see the PLplot documentation) using\n"
20064 " RGBA vector values. This function also sets the number of cmap1\n"
20065 " colors. N.B. Continuous cmap1 colors are indexed with a\n"
20066 " floating-point index in the range from 0.0-1.0 which is linearly\n"
20067 " transformed (e.g., by plcol1) to an integer index of these RGBA\n"
20068 " vectors in the range from 0 to\n"
20069 " ncol1-1. So in order for this continuous color model to work\n"
20070 " properly, it is the responsibility of the user of plscmap1 to insure\n"
20071 " that these RGBA vectors are continuous functions of their integer\n"
20074 " Redacted form: plscmap1a(r, g, b, alpha)\n"
20076 " This function is used in example 31.\n"
20082 "plscmap1a(r, g, b, alpha, ncol1)\n"
20086 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
20087 " 8-bit integers in the range from 0-255) the degree of red in the\n"
20088 " color as a continuous function of the integer index of the vector.\n"
20090 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
20091 " 8-bit integers in the range from 0-255) the degree of green in the\n"
20092 " color as a continuous function of the integer index of the vector.\n"
20094 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
20095 " 8-bit integers in the range from 0-255) the degree of blue in the\n"
20096 " color as a continuous function of the integer index of the vector.\n"
20098 " alpha (PLFLT_VECTOR, input) : A vector that represents (using PLFLT\n"
20099 " values in the range from 0.0-1.0 where 0.0 corresponds to\n"
20100 " completely transparent and 1.0 corresponds to completely opaque)\n"
20101 " the alpha transparency of the color as a continuous function of\n"
20102 " the integer index of the vector.\n"
20104 " ncol1 (PLINT, input) : Number of items in the r, g, b, and alpha\n"
20109 "Set cmap1 colors using a piece-wise linear relationship\n"
20113 " Set cmap1 colors using a piece-wise linear relationship between the\n"
20114 " cmap1 intensity index (0.0-1.0) and position in HLS or RGB color space\n"
20115 " (see the PLplot documentation). May be called at any time.\n"
20117 " The idea here is to specify a number of control points that define the\n"
20118 " mapping between input cmap1 intensity indices and HLS or RGB. Between\n"
20119 " these points, linear interpolation is used which gives a smooth\n"
20120 " variation of color with intensity index. Any number of control points\n"
20121 " may be specified, located at arbitrary positions, although typically 2\n"
20122 " - 4 are enough. Another way of stating this is that we are traversing\n"
20123 " a given number of lines through HLS or RGB space as we move through\n"
20124 " cmap1 intensity indices. The control points at the minimum and\n"
20125 " maximum position (0 and 1) must always be specified. By adding more\n"
20126 " control points you can get more variation. One good technique for\n"
20127 " plotting functions that vary about some expected average is to use an\n"
20128 " additional 2 control points in the center (position ~= 0.5) that are\n"
20129 " the same lightness as the background (typically white for paper\n"
20130 " output, black for crt), and same hue as the boundary control points.\n"
20131 " This allows the highs and lows to be very easily distinguished.\n"
20133 " Each control point must specify the cmap1 intensity index and the\n"
20134 " associated three coordinates in HLS or RGB space. The first point\n"
20135 " must correspond to position = 0, and the last to position = 1.\n"
20137 " If RGB colors are provided then the interpolation takes place in RGB\n"
20138 " space and is trivial. However if HLS colors are provided then, because\n"
20139 " of the circular nature of the color wheel for the hue coordinate, the\n"
20140 " interpolation could be performed in either direction around the color\n"
20141 " wheel. The default behaviour is for the hue to be linearly\n"
20142 " interpolated ignoring this circular property of hue. So for example,\n"
20143 " the hues 0 (red) and 240 (blue) will get interpolated via yellow,\n"
20144 " green and cyan. If instead you wish to interpolate the other way\n"
20145 " around the color wheel you have two options. You may provide hues\n"
20146 " outside the range [0, 360), so by using a hue of -120 for blue or 360\n"
20147 " for red the interpolation will proceed via magenta. Alternatively you\n"
20148 " can utilise the alt_hue_path variable to reverse the direction of\n"
20149 " interpolation if you need to provide hues within the [0-360) range.\n"
20151 " Examples of interpolation Huealt_hue_pathcolor scheme[120\n"
20152 " 240]falsegreen-cyan-blue[240 120]falseblue-cyan-green[120\n"
20153 " -120]falsegreen-yellow-red-magenta-blue[240\n"
20154 " 480]falseblue-magenta-red-yellow-green[120\n"
20155 " 240]truegreen-yellow-red-magenta-blue[240\n"
20156 " 120]trueblue-magenta-red-yellow-green\n"
20158 " Bounds on coordinatesRGBR[0, 1]magnitudeRGBG[0, 1]magnitudeRGBB[0,\n"
20159 " 1]magnitudeHLShue[0, 360]degreesHLSlightness[0,\n"
20160 " 1]magnitudeHLSsaturation[0, 1]magnitude\n"
20162 " Redacted form: plscmap1l(itype, intensity, coord1, coord2, coord3,\n"
20165 " This function is used in examples 8, 11, 12, 15, 20, and 21.\n"
20171 "plscmap1l(itype, npts, intensity, coord1, coord2, coord3, alt_hue_path)\n"
20175 " itype (PLBOOL, input) : true: RGB, false: HLS.\n"
20177 " npts (PLINT, input) : number of control points\n"
20179 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n"
20180 " intensity index (0.0-1.0) in ascending order for each control\n"
20183 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n"
20184 " coordinate (H or R) for each control point.\n"
20186 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n"
20187 " coordinate (L or G) for each control point.\n"
20189 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n"
20190 " coordinate (S or B) for each control point.\n"
20192 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n"
20193 " npts - 1 elements), each containing either true to use the reversed\n"
20194 " HLS interpolation or false to use the regular HLS interpolation.\n"
20195 " (alt_hue_path[i] refers to the interpolation interval between the\n"
20196 " i and i + 1 control points). This parameter is not used for RGB\n"
20198 " itype = true).\n"
20202 "Set cmap1 colors and alpha transparency using a piece-wise linear relationship\n"
20206 " This is a variant of plscmap1l that supports alpha channel\n"
20207 " transparency. It sets cmap1 colors using a piece-wise linear\n"
20208 " relationship between cmap1 intensity index (0.0-1.0) and position in\n"
20209 " HLS or RGB color space (see the PLplot documentation) with alpha\n"
20210 " transparency value (0.0-1.0). It may be called at any time.\n"
20212 " Redacted form: plscmap1la(itype, intensity, coord1, coord2, coord3,\n"
20213 " alpha, alt_hue_path)\n"
20215 " This function is used in example 30.\n"
20221 "plscmap1la(itype, npts, intensity, coord1, coord2, coord3, alpha, alt_hue_path)\n"
20225 " itype (PLBOOL, input) : true: RGB, false: HLS.\n"
20227 " npts (PLINT, input) : number of control points.\n"
20229 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n"
20230 " intensity index (0.0-1.0) in ascending order for each control\n"
20233 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n"
20234 " coordinate (H or R) for each control point.\n"
20236 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n"
20237 " coordinate (L or G) for each control point.\n"
20239 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n"
20240 " coordinate (S or B) for each control point.\n"
20242 " alpha (PLFLT_VECTOR, input) : A vector containing the alpha\n"
20243 " transparency value (0.0-1.0) for each control point.\n"
20245 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n"
20246 " npts - 1 elements) containing the alternative interpolation method\n"
20247 " Boolean value for each control point interval. (alt_hue_path[i]\n"
20248 " refers to the interpolation interval between the i and i + 1\n"
20249 " control points).\n"
20253 "Set number of colors in cmap1\n"
20257 " Set number of colors in cmap1, (re-)allocate cmap1, and set default\n"
20258 " values if this is the first allocation (see the PLplot documentation).\n"
20260 " Redacted form: plscmap1n(ncol1)\n"
20262 " This function is used in examples 8, 11, 20, and 21.\n"
20268 "plscmap1n(ncol1)\n"
20272 " ncol1 (PLINT, input) : Number of colors that will be allocated in\n"
20273 " the cmap1 palette. If this number is zero or less, then the value\n"
20274 " from the previous call to plscmap1n is used and if there is no\n"
20275 " previous call, then a default value is used.\n"
20279 "Set the cmap1 argument range for continuous color plots\n"
20283 " Set the cmap1 argument range for continuous color plots that\n"
20284 " corresponds to the range of data values. The maximum range\n"
20285 " corresponding to the entire cmap1 palette is 0.0-1.0, and the smaller\n"
20286 " the cmap1 argument range that is specified with this routine, the\n"
20287 " smaller the subset of the cmap1 color palette that is used to\n"
20288 " represent the continuous data being plotted. If\n"
20289 " min_color is greater than\n"
20291 " max_color is greater than 1.0 or\n"
20292 " min_color is less than 0.0 then no change is made to the cmap1\n"
20293 " argument range. (Use plgcmap1_range to get the cmap1 argument range.)\n"
20295 " Redacted form: plscmap1_range(min_color, max_color)\n"
20297 " This function is currently used in example 33.\n"
20303 "plscmap1_range(min_color, max_color)\n"
20307 " min_color (PLFLT, input) : The minimum cmap1 argument. If less\n"
20308 " than 0.0, then 0.0 is used instead.\n"
20310 " max_color (PLFLT, input) : The maximum cmap1 argument. If greater\n"
20311 " than 1.0, then 1.0 is used instead.\n"
20315 "Get the cmap1 argument range for continuous color plots\n"
20319 " Get the cmap1 argument range for continuous color plots. (Use\n"
20320 " plscmap1_range to set the cmap1 argument range.)\n"
20322 " Redacted form: plgcmap1_range(min_color, max_color)\n"
20324 " This function is currently not used in any example.\n"
20330 "plgcmap1_range(min_color, max_color)\n"
20334 " min_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n"
20335 " minimum cmap1 argument.\n"
20337 " max_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n"
20338 " maximum cmap1 argument.\n"
20342 "Set 8-bit RGB values for given cmap0 color index\n"
20346 " Set 8-bit RGB values for given cmap0 (see the PLplot documentation)\n"
20347 " index. Overwrites the previous color value for the given index and,\n"
20348 " thus, does not result in any additional allocation of space for\n"
20351 " Redacted form: plscol0(icol0, r, g, b)\n"
20353 " This function is used in any example 31.\n"
20359 "plscol0(icol0, r, g, b)\n"
20363 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n"
20364 " number of colors (which is set by default, by plscmap0n, or even\n"
20367 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20368 " degree of red in the color.\n"
20370 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20371 " degree of green in the color.\n"
20373 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20374 " degree of blue in the color.\n"
20378 "Set 8-bit RGB values and PLFLT alpha transparency value for given cmap0 color index\n"
20382 " Set 8-bit RGB value and PLFLT alpha transparency value for given cmap0\n"
20383 " (see the PLplot documentation) index. Overwrites the previous color\n"
20384 " value for the given index and, thus, does not result in any additional\n"
20385 " allocation of space for colors.\n"
20387 " This function is used in example 30.\n"
20393 "plscol0a(icol0, r, g, b, alpha)\n"
20397 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n"
20398 " number of colors (which is set by default, by plscmap0n, or even\n"
20401 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20402 " degree of red in the color.\n"
20404 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20405 " degree of green in the color.\n"
20407 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20408 " degree of blue in the color.\n"
20410 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n"
20415 "Set the background color by 8-bit RGB value\n"
20419 " Set the background color (color 0 in cmap0) by 8-bit RGB value (see\n"
20420 " the PLplot documentation).\n"
20422 " Redacted form: plscolbg(r, g, b)\n"
20424 " This function is used in examples 15 and 31.\n"
20430 "plscolbg(r, g, b)\n"
20434 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20435 " degree of red in the color.\n"
20437 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20438 " degree of green in the color.\n"
20440 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20441 " degree of blue in the color.\n"
20445 "Set the background color by 8-bit RGB value and PLFLT alpha transparency value.\n"
20449 " Set the background color (color 0 in cmap0) by 8-bit RGB value and\n"
20450 " PLFLT alpha transparency value (see the PLplot documentation).\n"
20452 " This function is used in example 31.\n"
20458 "plscolbga(r, g, b, alpha)\n"
20462 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20463 " degree of red in the color.\n"
20465 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20466 " degree of green in the color.\n"
20468 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20469 " degree of blue in the color.\n"
20471 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n"
20476 "Used to globally turn color output on/off\n"
20480 " Used to globally turn color output on/off for those drivers/devices\n"
20481 " that support it.\n"
20483 " Redacted form: plscolor(color)\n"
20485 " This function is used in example 31.\n"
20491 "plscolor(color)\n"
20495 " color (PLINT, input) : Color flag (Boolean). If zero, color is\n"
20496 " turned off. If non-zero, color is turned on.\n"
20500 "Set device-compression level\n"
20504 " Set device-compression level. Only used for drivers that provide\n"
20505 " compression. This function, if used, should be invoked before a call\n"
20508 " Redacted form: plscompression(compression)\n"
20510 " This function is used in example 31.\n"
20516 "plscompression(compression)\n"
20520 " compression (PLINT, input) : The desired compression level. This is\n"
20521 " a device-dependent value. Currently only the jpeg and png devices\n"
20522 " use these values. For jpeg value is the jpeg quality which should\n"
20523 " normally be in the range 0-95. Higher values denote higher quality\n"
20524 " and hence larger image sizes. For png values are in the range -1\n"
20525 " to 99. Values of 0-9 are taken as the compression level for zlib.\n"
20526 " A value of -1 denotes the default zlib compression level. Values\n"
20527 " in the range 10-99 are divided by 10 and then used as the zlib\n"
20528 " compression level. Higher compression levels correspond to greater\n"
20529 " compression and small file sizes at the expense of more\n"
20534 "Set the device (keyword) name\n"
20538 " Set the device (keyword) name.\n"
20540 " Redacted form: plsdev(devname)\n"
20542 " This function is used in examples 1, 14, and 20.\n"
20548 "plsdev(devname)\n"
20552 " devname (PLCHAR_VECTOR, input) : An ascii character string\n"
20553 " containing the device name keyword of the required output device.\n"
20555 " devname is NULL or if the first character of the string is a ``?'',\n"
20556 " the normal (prompted) start up is used.\n"
20560 "Set parameters that define current device-space window\n"
20564 " Set relative margin width, aspect ratio, and relative justification\n"
20565 " that define current device-space window. If you want to just use the\n"
20566 " previous value for any of these, just pass in the magic value\n"
20567 " PL_NOTSET. It is unlikely that one should ever need to change the\n"
20568 " aspect ratio but it's in there for completeness. If plsdidev is not\n"
20569 " called the default values of mar, jx, and jy are all 0. aspect is set\n"
20570 " to a device-specific value.\n"
20572 " Redacted form: plsdidev(mar, aspect, jx, jy)\n"
20574 " This function is used in example 31.\n"
20580 "plsdidev(mar, aspect, jx, jy)\n"
20584 " mar (PLFLT, input) : Relative margin width.\n"
20586 " aspect (PLFLT, input) : Aspect ratio.\n"
20588 " jx (PLFLT, input) : Relative justification in x. Value must lie in\n"
20589 " the range -0.5 to 0.5.\n"
20591 " jy (PLFLT, input) : Relative justification in y. Value must lie in\n"
20592 " the range -0.5 to 0.5.\n"
20596 "Set up transformation from metafile coordinates\n"
20600 " Set up transformation from metafile coordinates. The size of the plot\n"
20601 " is scaled so as to preserve aspect ratio. This isn't intended to be a\n"
20602 " general-purpose facility just yet (not sure why the user would need\n"
20605 " Redacted form: plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm,\n"
20608 " This function is not used in any examples.\n"
20614 "plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm, dimypmm)\n"
20618 " dimxmin (PLINT, input) : NEEDS DOCUMENTATION\n"
20620 " dimxmax (PLINT, input) : NEEDS DOCUMENTATION\n"
20622 " dimymin (PLINT, input) : NEEDS DOCUMENTATION\n"
20624 " dimymax (PLINT, input) : NEEDS DOCUMENTATION\n"
20626 " dimxpmm (PLFLT, input) : NEEDS DOCUMENTATION\n"
20628 " dimypmm (PLFLT, input) : NEEDS DOCUMENTATION\n"
20632 "Set plot orientation\n"
20636 " Set plot orientation parameter which is multiplied by 90 degrees to\n"
20637 " obtain the angle of rotation. Note, arbitrary rotation parameters\n"
20638 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n"
20639 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n"
20640 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n"
20641 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori is\n"
20642 " not called the default value of rot is 0.\n"
20644 " N.B. aspect ratio is unaffected by calls to plsdiori. So you will\n"
20645 " probably want to change the aspect ratio to a value suitable for the\n"
20646 " plot orientation using a call to plsdidev or the command-line options\n"
20647 " -a or -freeaspect. For more documentation of those options see the\n"
20648 " PLplot documentation. Such command-line options can be set internally\n"
20649 " using plsetopt or set directly using the command line and parsed using\n"
20650 " a call to plparseopts.\n"
20652 " Redacted form: plsdiori(rot)\n"
20654 " This function is not used in any examples.\n"
20664 " rot (PLFLT, input) : Plot orientation parameter.\n"
20668 "Set parameters that define current plot-space window\n"
20672 " Set relative minima and maxima that define the current plot-space\n"
20673 " window. If plsdiplt is not called the default values of xmin, ymin,\n"
20674 " xmax, and ymax are 0., 0., 1., and 1.\n"
20676 " Redacted form: plsdiplt(xmin, ymin, xmax, ymax)\n"
20678 " This function is used in example 31.\n"
20684 "plsdiplt(xmin, ymin, xmax, ymax)\n"
20688 " xmin (PLFLT, input) : Relative minimum in x.\n"
20690 " ymin (PLFLT, input) : Relative minimum in y.\n"
20692 " xmax (PLFLT, input) : Relative maximum in x.\n"
20694 " ymax (PLFLT, input) : Relative maximum in y.\n"
20698 "Set parameters incrementally (zoom mode) that define current plot-space window\n"
20702 " Set relative minima and maxima incrementally (zoom mode) that define\n"
20703 " the current plot-space window. This function has the same effect as\n"
20704 " plsdiplt if that function has not been previously called. Otherwise,\n"
20705 " this function implements zoom mode using the transformation min_used =\n"
20706 " old_min + old_length*min and max_used = old_min + old_length*max for\n"
20707 " each axis. For example, if min = 0.05 and max = 0.95 for each axis,\n"
20708 " repeated calls to plsdiplz will zoom in by 10 per cent for each call.\n"
20710 " Redacted form: plsdiplz(xmin, ymin, xmax, ymax)\n"
20712 " This function is used in example 31.\n"
20718 "plsdiplz(xmin, ymin, xmax, ymax)\n"
20722 " xmin (PLFLT, input) : Relative (incremental) minimum in x.\n"
20724 " ymin (PLFLT, input) : Relative (incremental) minimum in y.\n"
20726 " xmax (PLFLT, input) : Relative (incremental) maximum in x.\n"
20728 " ymax (PLFLT, input) : Relative (incremental) maximum in y.\n"
20732 "Set seed for internal random number generator.\n"
20736 " Set the seed for the internal random number generator. See plrandd for\n"
20737 " further details.\n"
20739 " Redacted form: plseed(seed)\n"
20741 " This function is used in example 21.\n"
20751 " seed (unsigned int, input) : Seed for random number generator.\n"
20755 "Set the escape character for text strings\n"
20759 " Set the escape character for text strings. From C (in contrast to\n"
20760 " Fortran, see plsescfortran) you pass esc as a character. Only selected\n"
20761 " characters are allowed to prevent the user from shooting himself in\n"
20762 " the foot (For example, a \\ isn't allowed since it conflicts with C's\n"
20763 " use of backslash as a character escape). Here are the allowed escape\n"
20764 " characters and their corresponding decimal ASCII values: !, ASCII 33\n"
20775 " Redacted form: General: plsesc(esc)\n"
20778 " This function is used in example 29.\n"
20788 " esc (char, input) : Escape character.\n"
20792 "Set any command-line option\n"
20796 " Set any command-line option internally from a program before it\n"
20797 " invokes plinit. opt is the name of the command-line option and optarg\n"
20798 " is the corresponding command-line option argument.\n"
20800 " This function returns 0 on success.\n"
20802 " Redacted form: plsetopt(opt, optarg)\n"
20804 " This function is used in example 14.\n"
20810 "PLINT plsetopt(opt, optarg)\n"
20814 " opt (PLCHAR_VECTOR, input) : An ascii character string containing\n"
20815 " the command-line option.\n"
20817 " optarg (PLCHAR_VECTOR, input) : An ascii character string\n"
20818 " containing the argument of the command-line option.\n"
20822 "Set family file parameters\n"
20826 " Sets variables dealing with output file familying. Does nothing if\n"
20827 " familying not supported by the driver. This routine, if used, must be\n"
20828 " called before initializing PLplot. See the PLplot documentation for\n"
20829 " more information.\n"
20831 " Redacted form: plsfam(fam, num, bmax)\n"
20833 " This function is used in examples 14 and 31.\n"
20839 "plsfam(fam, num, bmax)\n"
20843 " fam (PLINT, input) : Family flag (Boolean). If nonzero, familying\n"
20846 " num (PLINT, input) : Current family file number.\n"
20848 " bmax (PLINT, input) : Maximum file size (in bytes) for a family\n"
20853 "Set FCI (font characterization integer)\n"
20857 " Sets font characteristics to be used at the start of the next string\n"
20858 " using the FCI approach. See the PLplot documentation for more\n"
20859 " information. Note, plsfont (which calls plsfci internally) provides a\n"
20860 " more user-friendly API for setting the font characterisitics.\n"
20862 " Redacted form: General: plsfci(fci)\n"
20865 " This function is used in example 23.\n"
20875 " fci (PLUNICODE, input) : PLUNICODE (unsigned 32-bit integer) value\n"
20880 "Set output file name\n"
20884 " Sets the current output file name, if applicable. If the file name\n"
20885 " has not been specified and is required by the driver, the user will be\n"
20886 " prompted for it. If using the X-windows output driver, this sets the\n"
20887 " display name. This routine, if used, must be called before\n"
20888 " initializing PLplot.\n"
20890 " Redacted form: plsfnam(fnam)\n"
20892 " This function is used in examples 1 and 20.\n"
20902 " fnam (PLCHAR_VECTOR, input) : An ascii character string containing\n"
20903 " the file name.\n"
20907 "Set family, style and weight of the current font\n"
20911 " Sets the current font. See the PLplot documentation for more\n"
20912 " information on font selection.\n"
20914 " Redacted form: plsfont(family, style, weight)\n"
20916 " This function is used in example 23.\n"
20922 "plsfont(family, style, weight)\n"
20926 " family (PLINT, input) : Font family to select for the current font.\n"
20927 " The available values are given by the PL_FCI_* constants in\n"
20928 " plplot.h. Current options are PL_FCI_SANS, PL_FCI_SERIF,\n"
20929 " PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. A negative value\n"
20930 " signifies that the font family should not be altered.\n"
20932 " style (PLINT, input) : Font style to select for the current font.\n"
20933 " The available values are given by the PL_FCI_* constants in\n"
20934 " plplot.h. Current options are PL_FCI_UPRIGHT, PL_FCI_ITALIC and\n"
20935 " PL_FCI_OBLIQUE. A negative value signifies that the font style\n"
20936 " should not be altered.\n"
20938 " weight (PLINT, input) : Font weight to select for the current font.\n"
20939 " The available values are given by the PL_FCI_* constants in\n"
20940 " plplot.h. Current options are PL_FCI_MEDIUM and PL_FCI_BOLD. A\n"
20941 " negative value signifies that the font weight should not be\n"
20946 "Shade regions on the basis of value\n"
20950 " Shade regions on the basis of value. This is the high-level routine\n"
20951 " for making continuous color shaded plots with cmap1 while plshade\n"
20952 " should be used to plot individual shaded regions using either cmap0 or\n"
20953 " cmap1. examples/;<language>/x16* shows how to use plshades for each of\n"
20954 " our supported languages.\n"
20956 " Redacted form: General: plshades(a, defined, xmin, xmax, ymin, ymax,\n"
20957 " clevel, fill_width, cont_color, cont_width, fill, rectangular, pltr,\n"
20961 " This function is used in examples 16, 21, and 22.\n"
20967 "plshades(a, nx, ny, defined, xmin, xmax, ymin, ymax, clevel, nlevel, fill_width, cont_color, cont_width, fill, rectangular, pltr, pltr_data)\n"
20971 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n"
20972 " plot. Should have dimensions of\n"
20976 " nx (PLINT, input) : First dimension of matrix \"a\".\n"
20978 " ny (PLINT, input) : Second dimension of matrix \"a\".\n"
20980 " defined (PLDEFINED_callback, input) : Callback function specifying\n"
20981 " the region that should be plotted in the shade plot. This\n"
20982 " function accepts x and y coordinates as input arguments and must\n"
20983 " return 1 if the point is to be included in the shade plot and 0\n"
20984 " otherwise. If you want to plot the entire shade plot (the usual\n"
20985 " case), this argument should be set to NULL.\n"
20987 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
20988 " pltr below for how these arguments are used (only for the special case\n"
20989 " when the callback function\n"
20990 " pltr is not supplied).\n"
20992 " clevel (PLFLT_VECTOR, input) : A vector containing the data levels\n"
20993 " corresponding to the edges of each shaded region that will be\n"
20994 " plotted by this function. To work properly the levels should be\n"
20997 " nlevel (PLINT, input) : Number of shades plus 1 (i.e., the number\n"
20998 " of shade edge values in clevel).\n"
21000 " fill_width (PLFLT, input) : Defines the line width used by the fill\n"
21003 " cont_color (PLINT, input) : Defines cmap0 pen color used for\n"
21004 " contours defining edges of shaded regions. The pen color is only\n"
21005 " temporary set for the contour drawing. Set this value to zero or\n"
21006 " less if no shade edge contours are wanted.\n"
21008 " cont_width (PLFLT, input) : Defines line width used for contours\n"
21009 " defining edges of shaded regions. This value may not be honored\n"
21010 " by all drivers. The pen width is only temporary set for the\n"
21011 " contour drawing. Set this value to zero or less if no shade edge\n"
21012 " contours are wanted.\n"
21014 " fill (PLFILL_callback, input) : Callback routine used to fill the\n"
21015 " region. Use plfill for this purpose.\n"
21017 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n"
21018 " map to rectangles after coordinate transformation with pltrl.\n"
21019 " Otherwise, set rectangular to false. If rectangular is set to\n"
21020 " true, plshade tries to save time by filling large rectangles.\n"
21021 " This optimization fails if the coordinate transformation distorts\n"
21022 " the shape of rectangles. For example a plot in polar coordinates\n"
21023 " has to have rectangular set to false.\n"
21025 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
21026 " defines the transformation between the zero-based indices of the\n"
21027 " matrix a and world coordinates. If\n"
21028 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
21029 " indices of a are mapped to the range\n"
21031 " xmax and the y indices of a are mapped to the range\n"
21033 " ymax.For the C case, transformation functions are provided in the\n"
21034 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
21035 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
21036 " matrices. In addition, C callback routines for the transformation\n"
21037 " can be supplied by the user such as the mypltr function in\n"
21038 " examples/c/x09c.c which provides a general linear transformation\n"
21039 " between index coordinates and world coordinates.For languages\n"
21040 " other than C you should consult the PLplot documentation for the\n"
21041 " details concerning how PLTRANSFORM_callback arguments are\n"
21042 " interfaced. However, in general, a particular pattern of\n"
21043 " callback-associated arguments such as a tr vector with 6 elements;\n"
21044 " xg and yg vectors; or xg and yg matrices are respectively\n"
21045 " interfaced to a linear-transformation routine similar to the above\n"
21046 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
21047 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
21048 " support native language callbacks for handling index to\n"
21049 " world-coordinate transformations. Examples of these various\n"
21050 " approaches are given in examples/<language>x09*,\n"
21051 " examples/<language>x16*, examples/<language>x20*,\n"
21052 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
21053 " supported languages.\n"
21055 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
21056 " information to pltr0, pltr1, pltr2, or whatever routine that is\n"
21057 " externally supplied.\n"
21061 "Shade individual region on the basis of value\n"
21065 " Shade individual region on the basis of value. Use plshades if you\n"
21066 " want to shade a number of contiguous regions using continuous colors.\n"
21067 " In particular the edge contours are treated properly in plshades. If\n"
21068 " you attempt to do contiguous regions with plshade the contours at the\n"
21069 " edge of the shade are partially obliterated by subsequent plots of\n"
21070 " contiguous shaded regions.\n"
21072 " Redacted form: General: plshade(a, defined, xmin, xmax, ymin, ymax,\n"
21073 " shade_min, shade_max, sh_cmap, sh_color, sh_width, min_color,\n"
21074 " min_width, max_color, max_width, fill, rectangular, pltr, pltr_data)\n"
21077 " This function is used in example 15.\n"
21083 "plshade(a, nx, ny, defined, xmin, xmax, ymin, ymax, shade_min, shade_max, sh_cmap, sh_color, sh_width, min_color, min_width, max_color, max_width, fill, rectangular, pltr, pltr_data)\n"
21087 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n"
21088 " plot. Should have dimensions of\n"
21092 " nx (PLINT, input) : First dimension of the matrix \"a\".\n"
21094 " ny (PLINT, input) : Second dimension of the matrix \"a\".\n"
21096 " defined (PLDEFINED_callback, input) : Callback function specifying\n"
21097 " the region that should be plotted in the shade plot. This\n"
21098 " function accepts x and y coordinates as input arguments and must\n"
21099 " return 1 if the point is to be included in the shade plot and 0\n"
21100 " otherwise. If you want to plot the entire shade plot (the usual\n"
21101 " case), this argument should be set to NULL.\n"
21103 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
21104 " pltr below for how these arguments are used (only for the special case\n"
21105 " when the callback function\n"
21106 " pltr is not supplied).\n"
21108 " shade_min (PLFLT, input) : Defines the lower end of the interval to\n"
21109 " be shaded. If shade_max <= shade_min, plshade does nothing.\n"
21111 " shade_max (PLFLT, input) : Defines the upper end of the interval to\n"
21112 " be shaded. If shade_max <= shade_min, plshade does nothing.\n"
21114 " sh_cmap (PLINT, input) : Defines color map. If sh_cmap=0, then\n"
21115 " sh_color is interpreted as a cmap0 (integer) index. If sh_cmap=1,\n"
21116 " then sh_color is interpreted as a cmap1 argument in the range\n"
21119 " sh_color (PLFLT, input) : Defines color map index with integer\n"
21120 " value if cmap0 or value in range (0.0-1.0) if cmap1.\n"
21122 " sh_width (PLFLT, input) : Defines width used by the fill pattern.\n"
21124 " min_color (PLINT, input) : Defines pen color, width used by the\n"
21125 " boundary of shaded region. The min values are used for the\n"
21126 " shade_min boundary, and the max values are used on the shade_max\n"
21127 " boundary. Set color and width to zero for no plotted boundaries.\n"
21129 " min_width (PLFLT, input) : Defines pen color, width used by the\n"
21130 " boundary of shaded region. The min values are used for the\n"
21131 " shade_min boundary, and the max values are used on the shade_max\n"
21132 " boundary. Set color and width to zero for no plotted boundaries.\n"
21134 " max_color (PLINT, input) : Defines pen color, width used by the\n"
21135 " boundary of shaded region. The min values are used for the\n"
21136 " shade_min boundary, and the max values are used on the shade_max\n"
21137 " boundary. Set color and width to zero for no plotted boundaries.\n"
21139 " max_width (PLFLT, input) : Defines pen color, width used by the\n"
21140 " boundary of shaded region. The min values are used for the\n"
21141 " shade_min boundary, and the max values are used on the shade_max\n"
21142 " boundary. Set color and width to zero for no plotted boundaries.\n"
21144 " fill (PLFILL_callback, input) : Routine used to fill the region.\n"
21145 " Use plfill. Future version of PLplot may have other fill\n"
21148 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n"
21149 " map to rectangles after coordinate transformation with pltrl.\n"
21150 " Otherwise, set rectangular to false. If rectangular is set to\n"
21151 " true, plshade tries to save time by filling large rectangles.\n"
21152 " This optimization fails if the coordinate transformation distorts\n"
21153 " the shape of rectangles. For example a plot in polar coordinates\n"
21154 " has to have rectangular set to false.\n"
21156 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
21157 " defines the transformation between the zero-based indices of the\n"
21158 " matrix a and world coordinates. If\n"
21159 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
21160 " indices of a are mapped to the range\n"
21162 " xmax and the y indices of a are mapped to the range\n"
21164 " ymax.For the C case, transformation functions are provided in the\n"
21165 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
21166 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
21167 " matrices. In addition, C callback routines for the transformation\n"
21168 " can be supplied by the user such as the mypltr function in\n"
21169 " examples/c/x09c.c which provides a general linear transformation\n"
21170 " between index coordinates and world coordinates.For languages\n"
21171 " other than C you should consult the PLplot documentation for the\n"
21172 " details concerning how PLTRANSFORM_callback arguments are\n"
21173 " interfaced. However, in general, a particular pattern of\n"
21174 " callback-associated arguments such as a tr vector with 6 elements;\n"
21175 " xg and yg vectors; or xg and yg matrices are respectively\n"
21176 " interfaced to a linear-transformation routine similar to the above\n"
21177 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
21178 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
21179 " support native language callbacks for handling index to\n"
21180 " world-coordinate transformations. Examples of these various\n"
21181 " approaches are given in examples/<language>x09*,\n"
21182 " examples/<language>x16*, examples/<language>x20*,\n"
21183 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
21184 " supported languages.\n"
21186 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
21187 " information to pltr0, pltr1, pltr2, or whatever routine that is\n"
21188 " externally supplied.\n"
21192 "Assign a function to use for generating custom axis labels\n"
21196 " This function allows a user to provide their own function to provide\n"
21197 " axis label text. The user function is given the numeric value for a\n"
21198 " point on an axis and returns a string label to correspond with that\n"
21199 " value. Custom axis labels can be enabled by passing appropriate\n"
21200 " arguments to plenv, plbox, plbox3 and similar functions.\n"
21202 " This function is used in example 19.\n"
21208 "plslabelfunc(label_func, label_data)\n"
21212 " label_func (PLLABEL_FUNC_callback, input) : This is the custom\n"
21213 " label function. In order to reset to the default labelling, set\n"
21214 " this to NULL. The labelling function parameters are, in order:\n"
21215 " axis: This indicates which axis a label is being requested for.\n"
21216 " The value will be one of PL_X_AXIS, PL_Y_AXIS or PL_Z_AXIS.\n"
21218 " value: This is the value along the axis which is being labelled.\n"
21220 " label_text: The string representation of the label value.\n"
21222 " length: The maximum length in characters allowed for label_text.\n"
21225 " label_data (PLPointer, input) : This parameter may be used to pass\n"
21226 " data to the label_func function.\n"
21230 "Set length of major ticks\n"
21234 " This sets up the length of the major ticks. The actual length is the\n"
21235 " product of the default length and a scaling factor as for character\n"
21238 " Redacted form: plsmaj(def, scale)\n"
21240 " This function is used in example 29.\n"
21246 "plsmaj(def, scale)\n"
21250 " def (PLFLT, input) : The default length of a major tick in\n"
21251 " millimeters, should be set to zero if the default length is to\n"
21252 " remain unchanged.\n"
21254 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
21255 " actual tick length.\n"
21259 "Set the memory area to be plotted (RGB)\n"
21263 " Set the memory area to be plotted (with the mem or memcairo driver) as\n"
21264 " the dev member of the stream structure. Also set the number of pixels\n"
21265 " in the memory passed in\n"
21266 " plotmem, which is a block of memory\n"
21268 " maxx by 3 bytes long, say: 480 x 640 x 3 (Y, X, RGB)\n"
21270 " This memory will have to be freed by the user!\n"
21272 " Redacted form: plsmem(maxx, maxy, plotmem)\n"
21274 " This function is not used in any examples.\n"
21280 "plsmem(maxx, maxy, plotmem)\n"
21284 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n"
21286 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n"
21288 " plotmem (PLPointer, input) : Pointer to the beginning of a\n"
21289 " user-supplied writeable memory area.\n"
21293 "Set the memory area to be plotted (RGBA)\n"
21297 " Set the memory area to be plotted (with the memcairo driver) as the\n"
21298 " dev member of the stream structure. Also set the number of pixels in\n"
21299 " the memory passed in\n"
21300 " plotmem, which is a block of memory\n"
21302 " maxx by 4 bytes long, say: 480 x 640 x 4 (Y, X, RGBA)\n"
21304 " This memory will have to be freed by the user!\n"
21306 " Redacted form: plsmema(maxx, maxy, plotmem)\n"
21308 " This function is not used in any examples.\n"
21314 "plsmema(maxx, maxy, plotmem)\n"
21318 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n"
21320 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n"
21322 " plotmem (PLPointer, input) : Pointer to the beginning of a\n"
21323 " user-supplied writeable memory area.\n"
21327 "Set length of minor ticks\n"
21331 " This sets up the length of the minor ticks and the length of the\n"
21332 " terminals on error bars. The actual length is the product of the\n"
21333 " default length and a scaling factor as for character height.\n"
21335 " Redacted form: plsmin(def, scale)\n"
21337 " This function is used in example 29.\n"
21343 "plsmin(def, scale)\n"
21347 " def (PLFLT, input) : The default length of a minor tick in\n"
21348 " millimeters, should be set to zero if the default length is to\n"
21349 " remain unchanged.\n"
21351 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
21352 " actual tick length.\n"
21356 "Set orientation\n"
21360 " Set integer plot orientation parameter. This function is identical to\n"
21361 " plsdiori except for the type of the argument, and should be used in\n"
21362 " the same way. See the documentation of plsdiori for details.\n"
21364 " Redacted form: plsori(ori)\n"
21366 " This function is used in example 3.\n"
21376 " ori (PLINT, input) : Orientation value (0 for landscape, 1 for\n"
21377 " portrait, etc.) The value is multiplied by 90 degrees to get the\n"
21382 "Set page parameters\n"
21386 " Sets the page configuration (optional). If an individual parameter is\n"
21387 " zero then that parameter value is not updated. Not all parameters are\n"
21388 " recognized by all drivers and the interpretation is device-dependent.\n"
21389 " The X-window driver uses the length and offset parameters to determine\n"
21390 " the window size and location. The length and offset values are\n"
21391 " expressed in units that are specific to the current driver. For\n"
21392 " instance: screen drivers will usually interpret them as number of\n"
21393 " pixels, whereas printer drivers will usually use mm.\n"
21395 " This routine, if used, must be called before initializing PLplot. It\n"
21396 " may be called at later times for interactive drivers to change only\n"
21397 " the dpi for subsequent redraws which you can force via a call to\n"
21398 " plreplot. If this function is not called then the page size defaults\n"
21399 " to landscape A4 for drivers which use real world page sizes and 744\n"
21400 " pixels wide by 538 pixels high for raster drivers. The default value\n"
21401 " for dx and dy is 90 pixels per inch for raster drivers.\n"
21405 " Redacted form: plspage(xp, yp, xleng, yleng, xoff, yoff)\n"
21407 " This function is used in examples 14 and 31.\n"
21413 "plspage(xp, yp, xleng, yleng, xoff, yoff)\n"
21417 " xp (PLFLT, input) : Number of pixels per inch (DPI), x. Used only\n"
21418 " by raster drivers, ignored by drivers which use \"real world\" units\n"
21421 " yp (PLFLT, input) : Number of pixels per inch (DPI), y. Used only\n"
21422 " by raster drivers, ignored by drivers which use \"real world\" units\n"
21425 " xleng (PLINT, input) : Page length, x.\n"
21427 " yleng (PLINT, input) : Page length, y.\n"
21429 " xoff (PLINT, input) : Page offset, x.\n"
21431 " yoff (PLINT, input) : Page offset, y.\n"
21435 "Set the cmap0 palette using the specified cmap0*.pal format file\n"
21439 " Set the cmap0 palette using the specified cmap0*.pal format file.\n"
21441 " Redacted form: plspal0(filename)\n"
21443 " This function is in example 16.\n"
21449 "plspal0(filename)\n"
21453 " filename (PLCHAR_VECTOR, input) : An ascii character string\n"
21454 " containing the name of the cmap0*.pal file. If this string is\n"
21455 " empty, use the default cmap0*.pal file.\n"
21459 "Set the cmap1 palette using the specified cmap1*.pal format file\n"
21463 " Set the cmap1 palette using the specified cmap1*.pal format file.\n"
21465 " Redacted form: plspal1(filename, interpolate)\n"
21467 " This function is used in example 16.\n"
21473 "plspal1(filename, interpolate)\n"
21477 " filename (PLCHAR_VECTOR, input) : An ascii character string\n"
21478 " containing the name of the cmap1*.pal file. If this string is\n"
21479 " empty, use the default cmap1*.pal file.\n"
21481 " interpolate (PLBOOL, input) : If this parameter is true, the\n"
21482 " columns containing the intensity index, r, g, b, alpha and\n"
21483 " alt_hue_path in the cmap1*.pal file are used to set the cmap1\n"
21484 " palette with a call to plscmap1la. (The cmap1*.pal header contains\n"
21485 " a flag which controls whether the r, g, b data sent to plscmap1la\n"
21486 " are interpreted as HLS or RGB.) If this parameter is false, the\n"
21487 " intensity index and alt_hue_path columns are ignored and the r, g,\n"
21488 " b (interpreted as RGB), and alpha columns of the cmap1*.pal file\n"
21489 " are used instead to set the cmap1 palette directly with a call to\n"
21494 "Set the pause (on end-of-page) status\n"
21498 " Set the pause (on end-of-page) status.\n"
21500 " Redacted form: plspause(pause)\n"
21502 " This function is in examples 14,20.\n"
21508 "plspause(pause)\n"
21512 " pause (PLBOOL, input) : If pause is true there will be a pause on\n"
21513 " end-of-page for those drivers which support this. Otherwise there\n"
21518 "Set current output stream\n"
21522 " Sets the number of the current output stream. The stream number\n"
21523 " defaults to 0 unless changed by this routine. The first use of this\n"
21524 " routine must be followed by a call initializing PLplot (e.g. plstar).\n"
21526 " Redacted form: plsstrm(strm)\n"
21528 " This function is examples 1,14,20.\n"
21538 " strm (PLINT, input) : The current stream number.\n"
21542 "Set the number of subpages in x and y\n"
21546 " Set the number of subpages in x and y.\n"
21548 " Redacted form: plssub(nx, ny)\n"
21550 " This function is examples 1,2,14,21,25,27.\n"
21560 " nx (PLINT, input) : Number of windows in x direction (i.e., number\n"
21561 " of window columns).\n"
21563 " ny (PLINT, input) : Number of windows in y direction (i.e., number\n"
21564 " of window rows).\n"
21568 "Set symbol size\n"
21572 " This sets up the size of all subsequent symbols drawn by plpoin and\n"
21573 " plsym. The actual height of a symbol is the product of the default\n"
21574 " symbol size and a scaling factor as for the character height.\n"
21576 " Redacted form: plssym(def, scale)\n"
21578 " This function is used in example 29.\n"
21584 "plssym(def, scale)\n"
21588 " def (PLFLT, input) : The default height of a symbol in millimeters,\n"
21589 " should be set to zero if the default height is to remain\n"
21592 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
21593 " actual symbol height.\n"
21601 " Initializing the plotting package. The program prompts for the device\n"
21602 " keyword or number of the desired output device. Hitting a RETURN in\n"
21603 " response to the prompt is the same as selecting the first device. If\n"
21604 " only one device is enabled when PLplot is installed, plstar will issue\n"
21605 " no prompt. The output device is divided into nx by ny subpages, each\n"
21606 " of which may be used independently. The subroutine pladv is used to\n"
21607 " advance from one subpage to the next.\n"
21609 " Redacted form: plstar(nx, ny)\n"
21611 " This function is used in example 1.\n"
21621 " nx (PLINT, input) : Number of subpages to divide output page in the\n"
21624 " ny (PLINT, input) : Number of subpages to divide output page in the\n"
21633 " Alternative to plstar for initializing the plotting package. The\n"
21634 " device name keyword for the desired output device must be supplied as\n"
21635 " an argument. These keywords are the same as those printed out by\n"
21636 " plstar. If the requested device is not available, or if the input\n"
21637 " string is empty or begins with ``?'', the prompted start up of plstar\n"
21638 " is used. This routine also divides the output device page into nx by\n"
21639 " ny subpages, each of which may be used independently. The subroutine\n"
21640 " pladv is used to advance from one subpage to the next.\n"
21642 " Redacted form: General: plstart(devname, nx, ny)\n"
21645 " This function is not used in any examples.\n"
21651 "plstart(devname, nx, ny)\n"
21655 " devname (PLCHAR_VECTOR, input) : An ascii character string\n"
21656 " containing the device name keyword of the required output device.\n"
21658 " devname is NULL or if the first character of the string is a ``?'',\n"
21659 " the normal (prompted) start up is used.\n"
21661 " nx (PLINT, input) : Number of subpages to divide output page in the\n"
21664 " ny (PLINT, input) : Number of subpages to divide output page in the\n"
21669 "Set a global coordinate transform function\n"
21673 " This function can be used to define a coordinate transformation which\n"
21674 " affects all elements drawn within the current plot window. The\n"
21675 " coordinate_transform callback function is similar to that provided for\n"
21676 " the plmap and plmeridians functions. The coordinate_transform_data\n"
21677 " parameter may be used to pass extra data to coordinate_transform.\n"
21679 " Redacted form: General: plstransform(coordinate_transform,\n"
21680 " coordinate_transform_data)\n"
21683 " This function is used in examples 19 and 22.\n"
21689 "plstransform(coordinate_transform, coordinate_transform_data)\n"
21693 " coordinate_transform (PLTRANSFORM_callback, input) : A callback\n"
21694 " function that defines the transformation from the input (x, y)\n"
21695 " world coordinates to new PLplot world coordinates. If\n"
21696 " coordinate_transform is not supplied (e.g., is set to NULL in the C\n"
21697 " case), then no transform is applied.\n"
21699 " coordinate_transform_data (PLPointer, input) : Optional extra data\n"
21701 " coordinate_transform.\n"
21705 "Plot a glyph at the specified points\n"
21709 " Plot a glyph at the specified points. (Supersedes plpoin and plsym\n"
21710 " because many[!] more glyphs are accessible with plstring.) The glyph\n"
21711 " is specified with a PLplot user string. Note that the user string is\n"
21712 " not actually limited to one glyph so it is possible (but not normally\n"
21713 " useful) to plot more than one glyph at the specified points with this\n"
21714 " function. As with plmtex and plptex, the user string can contain FCI\n"
21715 " escapes to determine the font, UTF-8 code to determine the glyph or\n"
21716 " else PLplot escapes for Hershey or unicode text to determine the\n"
21719 " Redacted form: plstring(x, y, string)\n"
21721 " This function is used in examples 4, 21 and 26.\n"
21727 "plstring(n, x, y, string)\n"
21731 " n (PLINT, input) : Number of points in the x and y vectors.\n"
21733 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21736 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21739 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21740 " the glyph(s) to be plotted at each of the n points.\n"
21744 "Plot a glyph at the specified 3D points\n"
21748 " Plot a glyph at the specified 3D points. (Supersedes plpoin3 because\n"
21749 " many[!] more glyphs are accessible with plstring3.) Set up the call to\n"
21750 " this function similar to what is done for plline3. The glyph is\n"
21751 " specified with a PLplot user string. Note that the user string is not\n"
21752 " actually limited to one glyph so it is possible (but not normally\n"
21753 " useful) to plot more than one glyph at the specified points with this\n"
21754 " function. As with plmtex and plptex, the user string can contain FCI\n"
21755 " escapes to determine the font, UTF-8 code to determine the glyph or\n"
21756 " else PLplot escapes for Hershey or unicode text to determine the\n"
21759 " Redacted form: plstring3(x, y, z, string)\n"
21761 " This function is used in example 18.\n"
21767 "plstring3(n, x, y, z, string)\n"
21771 " n (PLINT, input) : Number of points in the x, y, and z vectors.\n"
21773 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21776 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21779 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
21782 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21783 " the glyph(s) to be plotted at each of the n points. points.\n"
21787 "Add a point to a strip chart\n"
21791 " Add a point to a given pen of a given strip chart. There is no need\n"
21792 " for all pens to have the same number of points or to be equally\n"
21793 " sampled in the x coordinate. Allocates memory and rescales as\n"
21796 " Redacted form: plstripa(id, pen, x, y)\n"
21798 " This function is used in example 17.\n"
21804 "plstripa(id, pen, x, y)\n"
21808 " id (PLINT, input) : Identification number of the strip chart (set\n"
21809 " up in plstripc).\n"
21811 " pen (PLINT, input) : Pen number (ranges from 0 to 3).\n"
21813 " x (PLFLT, input) : X coordinate of point to plot.\n"
21815 " y (PLFLT, input) : Y coordinate of point to plot.\n"
21819 "Create a 4-pen strip chart\n"
21823 " Create a 4-pen strip chart, to be used afterwards by plstripa\n"
21825 " Redacted form: General: plstripc(id, xspec, yspec, xmin, xmax, xjump,\n"
21826 " ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline,\n"
21827 " styline, legline, labx, laby, labz)\n"
21830 " This function is used in example 17.\n"
21836 "plstripc(id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline, styline, legline[], labx, laby, labtop)\n"
21840 " id (PLINT_NC_SCALAR, output) : Returned value of the identification\n"
21841 " number of the strip chart to use on plstripa and plstripd.\n"
21843 " xspec (PLCHAR_VECTOR, input) : An ascii character string containing\n"
21844 " the x-axis specification as in plbox.\n"
21846 " yspec (PLCHAR_VECTOR, input) : An ascii character string containing\n"
21847 " the y-axis specification as in plbox.\n"
21849 " xmin (PLFLT, input) : Initial coordinates of plot box; they will\n"
21850 " change as data are added.\n"
21852 " xmax (PLFLT, input) : Initial coordinates of plot box; they will\n"
21853 " change as data are added.\n"
21855 " xjump (PLFLT, input) : When x attains xmax, the length of the plot\n"
21856 " is multiplied by the factor (1 +\n"
21859 " ymin (PLFLT, input) : Initial coordinates of plot box; they will\n"
21860 " change as data are added.\n"
21862 " ymax (PLFLT, input) : Initial coordinates of plot box; they will\n"
21863 " change as data are added.\n"
21865 " xlpos (PLFLT, input) : X legend box position (range from 0 to 1).\n"
21867 " ylpos (PLFLT, input) : Y legend box position (range from 0 to 1).\n"
21869 " y_ascl (PLBOOL, input) : Autoscale y between x jumps if y_ascl is\n"
21870 " true, otherwise not.\n"
21872 " acc (PLBOOL, input) : Accumulate strip plot if acc is true,\n"
21873 " otherwise slide display.\n"
21875 " colbox (PLINT, input) : Plot box color index (cmap0).\n"
21877 " collab (PLINT, input) : Legend color index (cmap0).\n"
21879 " colline (PLINT_VECTOR, input) : A vector containing the cmap0 color\n"
21880 " indices for the 4 pens.\n"
21882 " styline (PLINT_VECTOR, input) : A vector containing the line style\n"
21883 " indices for the 4 pens.\n"
21885 " legline (PLCHAR_MATRIX, input) : A vector of UTF-8 character\n"
21886 " strings containing legends for the 4 pens.\n"
21888 " labx (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21889 " the label for the x axis.\n"
21891 " laby (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21892 " the label for the y axis.\n"
21894 " labtop (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21895 " the plot title.\n"
21899 "Deletes and releases memory used by a strip chart\n"
21903 " Deletes and releases memory used by a strip chart.\n"
21905 " Redacted form: plstripd(id)\n"
21907 " This function is used in example 17.\n"
21917 " id (PLINT, input) : Identification number of strip chart to delete.\n"
21925 " This sets up the line style for all lines subsequently drawn. A line\n"
21926 " consists of segments in which the pen is alternately down and up. The\n"
21927 " lengths of these segments are passed in the vectors mark and space\n"
21928 " respectively. The number of mark-space pairs is specified by nms. In\n"
21929 " order to return the line style to the default continuous line, plstyl\n"
21930 " should be called with nms =0 .(see also pllsty)\n"
21932 " Redacted form: plstyl(mark, space)\n"
21934 " This function is used in examples 1, 9, and 14.\n"
21940 "plstyl(nms, mark, space)\n"
21944 " nms (PLINT, input) : The number of mark and space elements in a\n"
21945 " line. Thus a simple broken line can be obtained by setting nms=1\n"
21946 " . A continuous line is specified by setting nms=0 .\n"
21948 " mark (PLINT_VECTOR, input) : A vector containing the lengths of the\n"
21949 " segments during which the pen is down, measured in micrometers.\n"
21951 " space (PLINT_VECTOR, input) : A vector containing the lengths of\n"
21952 " the segments during which the pen is up, measured in micrometers.\n"
21956 "Set arrow style for vector plots\n"
21960 " Set the style for the arrow used by plvect to plot vectors.\n"
21962 " Redacted form: plsvect(arrowx, arrowy, fill)\n"
21964 " This function is used in example 22.\n"
21970 "plsvect(arrowx, arrowy, npts, fill)\n"
21974 " arrowx, arrowy (PLFLT_VECTOR, input) : A pair of vectors containing\n"
21975 " the x and y points which make up the arrow. The arrow is plotted\n"
21976 " by joining these points to form a polygon. The scaling assumes\n"
21977 " that the x and y points in the arrow lie in the range -0.5 <= x,y\n"
21978 " <= 0.5. If both arrowx and arrowy are NULL then the arrow style\n"
21979 " will be reset to its default.\n"
21981 " npts (PLINT, input) : Number of points in the vectors arrowx and\n"
21984 " fill (PLBOOL, input) : If fill is true then the arrow is closed, if\n"
21985 " fill is false then the arrow is open.\n"
21989 "Specify viewport in absolute coordinates\n"
21993 " Alternate routine to plvpor for setting up the viewport. This routine\n"
21994 " should be used only if the viewport is required to have a definite\n"
21995 " size in millimeters. The routine plgspa is useful for finding out the\n"
21996 " size of the current subpage.\n"
21998 " Redacted form: plsvpa(xmin, xmax, ymin, ymax)\n"
22000 " This function is used in example 10.\n"
22006 "plsvpa(xmin, xmax, ymin, ymax)\n"
22010 " xmin (PLFLT, input) : The distance of the left-hand edge of the\n"
22011 " viewport from the left-hand edge of the subpage in millimeters.\n"
22013 " xmax (PLFLT, input) : The distance of the right-hand edge of the\n"
22014 " viewport from the left-hand edge of the subpage in millimeters.\n"
22016 " ymin (PLFLT, input) : The distance of the bottom edge of the\n"
22017 " viewport from the bottom edge of the subpage in millimeters.\n"
22019 " ymax (PLFLT, input) : The distance of the top edge of the viewport\n"
22020 " from the bottom edge of the subpage in millimeters.\n"
22024 "Set x axis parameters\n"
22028 " Sets values of the digmax and digits flags for the x axis. See the\n"
22029 " PLplot documentation for more information.\n"
22031 " Redacted form: plsxax(digmax, digits)\n"
22033 " This function is used in example 31.\n"
22039 "plsxax(digmax, digits)\n"
22043 " digmax (PLINT, input) : Variable to set the maximum number of\n"
22044 " digits for the x axis. If nonzero, the printed label will be\n"
22045 " switched to a floating-point representation when the number of\n"
22046 " digits exceeds digmax.\n"
22048 " digits (PLINT, input) : Field digits value. Currently, changing\n"
22049 " its value here has no effect since it is set only by plbox or\n"
22050 " plbox3. However, the user may obtain its value after a call to\n"
22051 " either of these functions by calling plgxax.\n"
22055 "Set y axis parameters\n"
22059 " Identical to plsxax, except that arguments are flags for y axis. See\n"
22060 " the description of plsxax for more detail.\n"
22062 " Redacted form: plsyax(digmax, digits)\n"
22064 " This function is used in examples 1, 14, and 31.\n"
22070 "plsyax(digmax, digits)\n"
22074 " digmax (PLINT, input) : Variable to set the maximum number of\n"
22075 " digits for the y axis. If nonzero, the printed label will be\n"
22076 " switched to a floating-point representation when the number of\n"
22077 " digits exceeds digmax.\n"
22079 " digits (PLINT, input) : Field digits value. Currently, changing\n"
22080 " its value here has no effect since it is set only by plbox or\n"
22081 " plbox3. However, the user may obtain its value after a call to\n"
22082 " either of these functions by calling plgyax.\n"
22086 "Plot a glyph at the specified points\n"
22090 " Plot a glyph at the specified points. (This function is largely\n"
22091 " superseded by plstring which gives access to many[!] more glyphs.)\n"
22093 " Redacted form: plsym(x, y, code)\n"
22095 " This function is used in example 7.\n"
22101 "plsym(n, x, y, code)\n"
22105 " n (PLINT, input) : Number of points in the x and y vectors.\n"
22107 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
22110 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
22113 " code (PLINT, input) : Hershey symbol code corresponding to a glyph\n"
22114 " to be plotted at each of the n points.\n"
22118 "Set z axis parameters\n"
22122 " Identical to plsxax, except that arguments are flags for z axis. See\n"
22123 " the description of plsxax for more detail.\n"
22125 " Redacted form: plszax(digmax, digits)\n"
22127 " This function is used in example 31.\n"
22133 "plszax(digmax, digits)\n"
22137 " digmax (PLINT, input) : Variable to set the maximum number of\n"
22138 " digits for the z axis. If nonzero, the printed label will be\n"
22139 " switched to a floating-point representation when the number of\n"
22140 " digits exceeds digmax.\n"
22142 " digits (PLINT, input) : Field digits value. Currently, changing\n"
22143 " its value here has no effect since it is set only by plbox or\n"
22144 " plbox3. However, the user may obtain its value after a call to\n"
22145 " either of these functions by calling plgzax.\n"
22149 "Switch to text screen\n"
22153 " Sets an interactive device to text mode, used in conjunction with\n"
22154 " plgra to allow graphics and text to be interspersed. On a device\n"
22155 " which supports separate text and graphics windows, this command causes\n"
22156 " control to be switched to the text window. This can be useful for\n"
22157 " printing diagnostic messages or getting user input, which would\n"
22158 " otherwise interfere with the plots. The program must switch back to\n"
22159 " the graphics window before issuing plot commands, as the text (or\n"
22160 " console) device will probably become quite confused otherwise. If\n"
22161 " already in text mode, this command is ignored. It is also ignored on\n"
22162 " devices which only support a single window or use a different method\n"
22163 " for shifting focus (see also plgra).\n"
22165 " Redacted form: pltext()\n"
22167 " This function is used in example 1.\n"
22177 "Set format for date / time labels\n"
22181 " Sets the format for date / time labels. To enable date / time format\n"
22182 " labels see the options to plbox, plbox3, and plenv.\n"
22184 " Redacted form: pltimefmt(fmt)\n"
22186 " This function is used in example 29.\n"
22196 " fmt (PLCHAR_VECTOR, input) : An ascii character string which is\n"
22197 " interpreted similarly to the format specifier of typical system\n"
22198 " strftime routines except that PLplot ignores locale and also\n"
22199 " supplies some useful extensions in the context of plotting. All\n"
22200 " text in the string is printed as-is other than conversion\n"
22201 " specifications which take the form of a '%' character followed by\n"
22202 " further conversion specification character. The conversion\n"
22203 " specifications which are similar to those provided by system\n"
22204 " strftime routines are the following: %a: The abbreviated (English)\n"
22206 " %A: The full (English) weekday name.\n"
22207 " %b: The abbreviated (English) month name.\n"
22208 " %B: The full (English) month name.\n"
22209 " %c: Equivalent to %a %b %d %T %Y (non-ISO).\n"
22210 " %C: The century number (year/100) as a 2-digit integer.\n"
22211 " %d: The day of the month as a decimal number (range 01 to 31).\n"
22212 " %D: Equivalent to %m/%d/%y (non-ISO).\n"
22213 " %e: Like %d, but a leading zero is replaced by a space.\n"
22214 " %F: Equivalent to %Y-%m-%d (the ISO 8601 date format).\n"
22215 " %h: Equivalent to %b.\n"
22216 " %H: The hour as a decimal number using a 24-hour clock (range\n"
22218 " %I: The hour as a decimal number using a 12-hour clock (range\n"
22220 " %j: The day of the year as a decimal number (range 001 to\n"
22222 " %k: The hour (24-hour clock) as a decimal number (range 0 to\n"
22223 " 23); single digits are preceded by a blank. (See also %H.)\n"
22224 " %l: The hour (12-hour clock) as a decimal number (range 1 to\n"
22225 " 12); single digits are preceded by a blank. (See also %I.)\n"
22226 " %m: The month as a decimal number (range 01 to 12).\n"
22227 " %M: The minute as a decimal number (range 00 to 59).\n"
22228 " %n: A newline character.\n"
22229 " %p: Either \"AM\" or \"PM\" according to the given time value.\n"
22230 " Noon is treated as \"PM\" and midnight as \"AM\".\n"
22231 " %r: Equivalent to %I:%M:%S %p.\n"
22232 " %R: The time in 24-hour notation (%H:%M). For a version\n"
22233 " including the seconds, see %T below.\n"
22234 " %s: The number of seconds since the Epoch, 1970-01-01 00:00:00\n"
22236 " %S: The second as a decimal number (range 00 to 60). (The\n"
22237 " range is up to 60 to allow for occasional leap seconds.)\n"
22238 " %t: A tab character.\n"
22239 " %T: The time in 24-hour notation (%H:%M:%S).\n"
22240 " %u: The day of the week as a decimal, range 1 to 7, Monday\n"
22241 " being 1. See also %w.\n"
22242 " %U: The week number of the current year as a decimal number,\n"
22243 " range 00 to 53, starting with the first Sunday as the first\n"
22244 " day of week 01. See also %V and %W.\n"
22245 " %v: Equivalent to %e-%b-%Y.\n"
22246 " %V: The ISO 8601 week number of the current year as a decimal\n"
22247 " number, range 01 to 53, where week 1 is the first week that\n"
22248 " has at least 4 days in the new year. See also %U and %W.\n"
22249 " %w: The day of the week as a decimal, range 0 to 6, Sunday\n"
22250 " being 0. See also %u.\n"
22251 " %W: The week number of the current year as a decimal number,\n"
22252 " range 00 to 53, starting with the first Monday as the first\n"
22253 " day of week 01.\n"
22254 " %x: Equivalent to %a %b %d %Y.\n"
22255 " %X: Equivalent to %T.\n"
22256 " %y: The year as a decimal number without a century (range 00\n"
22258 " %Y: The year as a decimal number including a century.\n"
22259 " %z: The UTC time-zone string = \"+0000\".\n"
22260 " %Z: The UTC time-zone abbreviation = \"UTC\".\n"
22261 " %+: The UTC date and time in default format of the Unix date\n"
22262 " command which is equivalent to %a %b %d %T %Z %Y.\n"
22263 " %%: A literal \"%\" character.\n"
22264 " The conversion specifications which are extensions to those normally\n"
22265 " provided by system strftime routines are the following: %(0-9):\n"
22266 " The fractional part of the seconds field (including leading\n"
22267 " decimal point) to the specified accuracy. Thus %S%3 would give\n"
22268 " seconds to millisecond accuracy (00.000).\n"
22269 " %.: The fractional part of the seconds field (including\n"
22270 " leading decimal point) to the maximum available accuracy. Thus\n"
22271 " %S%. would give seconds with fractional part up to 9 decimal\n"
22272 " places if available.\n"
22276 "Specify viewport using aspect ratio only\n"
22280 " Selects the largest viewport with the given aspect ratio within the\n"
22281 " subpage that leaves a standard margin (left-hand margin of eight\n"
22282 " character heights, and a margin around the other three sides of five\n"
22283 " character heights).\n"
22285 " Redacted form: plvasp(aspect)\n"
22287 " This function is used in example 13.\n"
22297 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n"
22298 " axis of resulting viewport.\n"
22306 " Draws a plot of vector data contained in the matrices (\n"
22312 " ny]) . The scaling factor for the vectors is given by scale. A\n"
22313 " transformation routine pointed to by pltr with a pointer pltr_data for\n"
22314 " additional data required by the transformation routine to map indices\n"
22315 " within the matrices to the world coordinates. The style of the vector\n"
22316 " arrow may be set using plsvect.\n"
22318 " Redacted form: plvect(u, v, scale, pltr, pltr_data) where (see above\n"
22319 " discussion) the pltr, pltr_data callback arguments are sometimes\n"
22320 " replaced by a tr vector with 6 elements, or xg and yg array arguments\n"
22321 " with either one or two dimensions.\n"
22323 " This function is used in example 22.\n"
22329 "plvect(u, v, nx, ny, scale, pltr, pltr_data)\n"
22333 " u, v (PLFLT_MATRIX, input) : A pair of matrices containing the x\n"
22334 " and y components of the vector data to be plotted.\n"
22336 " nx, ny (PLINT, input) : Dimensions of the matrices u and v.\n"
22338 " scale (PLFLT, input) : Parameter to control the scaling factor of\n"
22339 " the vectors for plotting. If scale = 0 then the scaling factor is\n"
22340 " automatically calculated for the data. If scale < 0 then the\n"
22341 " scaling factor is automatically calculated for the data and then\n"
22342 " multiplied by -\n"
22343 " scale. If scale > 0 then the scaling factor is set to scale.\n"
22345 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
22346 " defines the transformation between the zero-based indices of the\n"
22347 " matrices u and v and world coordinates.For the C case,\n"
22348 " transformation functions are provided in the PLplot library: pltr0\n"
22349 " for the identity mapping, and pltr1 and pltr2 for arbitrary\n"
22350 " mappings respectively defined by vectors and matrices. In\n"
22351 " addition, C callback routines for the transformation can be\n"
22352 " supplied by the user such as the mypltr function in\n"
22353 " examples/c/x09c.c which provides a general linear transformation\n"
22354 " between index coordinates and world coordinates.For languages\n"
22355 " other than C you should consult the PLplot documentation for the\n"
22356 " details concerning how PLTRANSFORM_callback arguments are\n"
22357 " interfaced. However, in general, a particular pattern of\n"
22358 " callback-associated arguments such as a tr vector with 6 elements;\n"
22359 " xg and yg vectors; or xg and yg matrices are respectively\n"
22360 " interfaced to a linear-transformation routine similar to the above\n"
22361 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
22362 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
22363 " support native language callbacks for handling index to\n"
22364 " world-coordinate transformations. Examples of these various\n"
22365 " approaches are given in examples/<language>x09*,\n"
22366 " examples/<language>x16*, examples/<language>x20*,\n"
22367 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
22368 " supported languages.\n"
22370 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
22371 " information to pltr0, pltr1, pltr2, or whatever callback routine\n"
22372 " that is externally supplied.\n"
22376 "Specify viewport using coordinates and aspect ratio\n"
22380 " Device-independent routine for setting up the viewport. The viewport\n"
22381 " is chosen to be the largest with the given aspect ratio that fits\n"
22382 " within the specified region (in terms of normalized subpage\n"
22383 " coordinates). This routine is functionally equivalent to plvpor when\n"
22384 " a ``natural'' aspect ratio (0.0) is chosen. Unlike plvasp, this\n"
22385 " routine reserves no extra space at the edges for labels.\n"
22387 " Redacted form: plvpas(xmin, xmax, ymin, ymax, aspect)\n"
22389 " This function is used in example 9.\n"
22395 "plvpas(xmin, xmax, ymin, ymax, aspect)\n"
22399 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n"
22400 " left-hand edge of the viewport.\n"
22402 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n"
22403 " right-hand edge of the viewport.\n"
22405 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n"
22406 " bottom edge of the viewport.\n"
22408 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n"
22409 " edge of the viewport.\n"
22411 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n"
22416 "Specify viewport using normalized subpage coordinates\n"
22420 " Device-independent routine for setting up the viewport. This defines\n"
22421 " the viewport in terms of normalized subpage coordinates which run from\n"
22422 " 0.0 to 1.0 (left to right and bottom to top) along each edge of the\n"
22423 " current subpage. Use the alternate routine plsvpa in order to create\n"
22424 " a viewport of a definite size.\n"
22426 " Redacted form: plvpor(xmin, xmax, ymin, ymax)\n"
22428 " This function is used in examples 2, 6-8, 10, 11, 15, 16, 18, 21, 23,\n"
22429 " 24, 26, 27, and 31.\n"
22435 "plvpor(xmin, xmax, ymin, ymax)\n"
22439 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n"
22440 " left-hand edge of the viewport.\n"
22442 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n"
22443 " right-hand edge of the viewport.\n"
22445 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n"
22446 " bottom edge of the viewport.\n"
22448 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n"
22449 " edge of the viewport.\n"
22453 "Select standard viewport\n"
22457 " Selects the largest viewport within the subpage that leaves a standard\n"
22458 " margin (left-hand margin of eight character heights, and a margin\n"
22459 " around the other three sides of five character heights).\n"
22461 " Redacted form: plvsta()\n"
22463 " This function is used in examples 1, 12, 14, 17, 25, and 29.\n"
22473 "Configure the transformations required for projecting a 3D surface on a 2D window\n"
22477 " Configure the transformations required for projecting a 3D surface on\n"
22478 " an existing 2D window. Those transformations (see the PLplot\n"
22479 " documentation) are done to a rectangular cuboid enclosing the 3D\n"
22480 " surface which has its limits expressed in 3D world coordinates and\n"
22481 " also normalized 3D coordinates (used for interpreting the altitude and\n"
22482 " azimuth of the viewing angle). The transformations consist of the\n"
22483 " linear transform from 3D world coordinates to normalized 3D\n"
22484 " coordinates, and the 3D rotation of normalized coordinates required to\n"
22485 " align the pole of the new 3D coordinate system with the viewing\n"
22486 " direction specified by altitude and azimuth so that x and y of the\n"
22487 " surface elements in that transformed coordinate system are the\n"
22488 " projection of the 3D surface with given viewing direction on the 2D\n"
22491 " The enclosing rectangular cuboid for the surface plot is defined by\n"
22492 " xmin, xmax, ymin, ymax, zmin and zmax in 3D world coordinates. It is\n"
22493 " mapped into the same rectangular cuboid with normalized 3D coordinate\n"
22494 " sizes of basex by basey by height so that xmin maps to -\n"
22495 " basex/2, xmax maps to basex/2, ymin maps to -\n"
22496 " basey/2, ymax maps to basey/2, zmin maps to 0 and zmax maps to height.\n"
22497 " The resulting rectangular cuboid in normalized coordinates is then\n"
22498 " viewed by an observer at altitude alt and azimuth az. This routine\n"
22499 " must be called before plbox3 or any of the 3D surface plotting\n"
22500 " routines; plmesh, plmeshc, plot3d, plot3dc, plot3dcl, plsurf3d,\n"
22501 " plsurf3dl or plfill3.\n"
22503 " Redacted form: plw3d(basex, basey, height, xmin, xmax, ymin, ymax,\n"
22504 " zmin, zmax, alt, az)\n"
22506 " This function is examples 8, 11, 18, and 21.\n"
22512 "plw3d(basex, basey, height, xmin, xmax, ymin, ymax, zmin, zmax, alt, az)\n"
22516 " basex (PLFLT, input) : The normalized x coordinate size of the\n"
22517 " rectangular cuboid.\n"
22519 " basey (PLFLT, input) : The normalized y coordinate size of the\n"
22520 " rectangular cuboid.\n"
22522 " height (PLFLT, input) : The normalized z coordinate size of the\n"
22523 " rectangular cuboid.\n"
22525 " xmin (PLFLT, input) : The minimum x world coordinate of the\n"
22526 " rectangular cuboid.\n"
22528 " xmax (PLFLT, input) : The maximum x world coordinate of the\n"
22529 " rectangular cuboid.\n"
22531 " ymin (PLFLT, input) : The minimum y world coordinate of the\n"
22532 " rectangular cuboid.\n"
22534 " ymax (PLFLT, input) : The maximum y world coordinate of the\n"
22535 " rectangular cuboid.\n"
22537 " zmin (PLFLT, input) : The minimum z world coordinate of the\n"
22538 " rectangular cuboid.\n"
22540 " zmax (PLFLT, input) : The maximum z world coordinate of the\n"
22541 " rectangular cuboid.\n"
22543 " alt (PLFLT, input) : The viewing altitude in degrees above the xy\n"
22544 " plane of the rectangular cuboid in normalized coordinates.\n"
22546 " az (PLFLT, input) : The viewing azimuth in degrees of the\n"
22547 " rectangular cuboid in normalized coordinates. When az=0, the\n"
22548 " observer is looking face onto the zx plane of the rectangular\n"
22549 " cuboid in normalized coordinates, and as az is increased, the\n"
22550 " observer moves clockwise around that cuboid when viewed from above\n"
22559 " Sets the pen width.\n"
22561 " Redacted form: plwidth(width)\n"
22563 " This function is used in examples 1 and 2.\n"
22573 " width (PLFLT, input) : The desired pen width. If width is negative\n"
22574 " or the same as the previous value no action is taken. width = 0.\n"
22575 " should be interpreted as as the minimum valid pen width for the\n"
22576 " device. The interpretation of positive width values is also\n"
22577 " device dependent.\n"
22585 " Specify the window, i.e., the world coordinates of the edges of the\n"
22588 " Redacted form: plwind(xmin, xmax, ymin, ymax)\n"
22590 " This function is used in examples 1, 2, 4, 6-12, 14-16, 18, 21, 23-27,\n"
22597 "plwind(xmin, xmax, ymin, ymax)\n"
22601 " xmin (PLFLT, input) : The world x coordinate of the left-hand edge\n"
22602 " of the viewport.\n"
22604 " xmax (PLFLT, input) : The world x coordinate of the right-hand edge\n"
22605 " of the viewport.\n"
22607 " ymin (PLFLT, input) : The world y coordinate of the bottom edge of\n"
22610 " ymax (PLFLT, input) : The world y coordinate of the top edge of the\n"
22615 "Enter or leave xor mode\n"
22619 " Enter (when mode is true) or leave (when mode is false) xor mode for\n"
22620 " those drivers (e.g., the xwin driver) that support it. Enables\n"
22621 " erasing plots by drawing twice the same line, symbol, etc. If driver\n"
22622 " is not capable of xor operation it returns a status of false.\n"
22624 " Redacted form: plxormod(mode, status)\n"
22626 " This function is used in examples 1 and 20.\n"
22632 "plxormod(mode, status)\n"
22636 " mode (PLBOOL, input) : mode is true means enter xor mode and mode\n"
22637 " is false means leave xor mode.\n"
22639 " status (PLBOOL_NC_SCALAR, output) : Returned value of the status.\n"
22640 " modestatus of true (false) means driver is capable (incapable) of\n"
22645 "Plot continental outline or shapefile data in world coordinates\n"
22649 " Plots continental outlines or shapefile data in world coordinates. A\n"
22650 " demonstration of how to use this function to create different\n"
22651 " projections can be found in examples/c/x19c. PLplot is provided with\n"
22652 " basic coastal outlines and USA state borders. To use the map\n"
22653 " functionality PLplot must be compiled with the shapelib library.\n"
22654 " Shapefiles have become a popular standard for geographical data and\n"
22655 " data in this format can be easily found from a number of online\n"
22656 " sources. Shapefile data is actually provided as three or more files\n"
22657 " with the same filename, but different extensions. The .shp and .shx\n"
22658 " files are required for plotting Shapefile data with PLplot.\n"
22660 " PLplot currently supports the point, multipoint, polyline and polygon\n"
22661 " objects within shapefiles. However holes in polygons are not\n"
22662 " supported. When plmap is used the type of object is derived from the\n"
22663 " shapefile, if you wish to override the type then use one of the other\n"
22664 " plmap variants. The built in maps have line data only.\n"
22666 " Redacted form: plmap(mapform, name, minx, maxx, miny, maxy)\n"
22668 " This function is used in example 19.\n"
22674 "plmap(mapform, name, minx, maxx, miny, maxy)\n"
22678 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22679 " transform the original map data coordinates to a new coordinate\n"
22680 " system. The PLplot-supplied map data is provided as latitudes and\n"
22681 " longitudes; other Shapefile data may be provided in other\n"
22682 " coordinate systems as can be found in their .prj plain text files.\n"
22683 " For example, by using this transform we can change from a\n"
22684 " longitude, latitude coordinate to a polar stereographic\n"
22685 " projection. Initially, x[0]..[n-1] are the original x coordinates\n"
22686 " (longitudes for the PLplot-supplied data) and y[0]..y[n-1] are the\n"
22687 " corresponding y coordinates (latitudes for the PLplot supplied\n"
22688 " data). After the call to mapform(), x[] and y[] should be\n"
22689 " replaced by the corresponding plot coordinates. If no transform is\n"
22690 " desired, mapform can be replaced by NULL.\n"
22692 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22693 " the type of map plotted. This is either one of the PLplot built-in\n"
22694 " maps or the file name of a set of Shapefile files without the file\n"
22695 " extensions. For the PLplot built-in maps the possible values are:\n"
22696 " \"globe\" -- continental outlines\n"
22697 " \"usa\" -- USA and state boundaries\n"
22698 " \"cglobe\" -- continental outlines and countries\n"
22699 " \"usaglobe\" -- USA, state boundaries and continental outlines\n"
22702 " minx (PLFLT, input) : The minimum x value of map elements to be\n"
22703 " drawn. The units must match the shapefile (built in maps are\n"
22704 " degrees lat/lon). Objects in the file which do not encroach on the\n"
22705 " box defined by minx, maxx, miny, maxy will not be rendered. But\n"
22706 " note this is simply an optimisation, not a clipping so for objects\n"
22707 " with some points inside the box and some points outside the box\n"
22708 " all the points will be rendered. These parameters also define\n"
22709 " latitude and longitude wrapping for shapefiles using these units.\n"
22710 " Longitude points will be wrapped by integer multiples of 360\n"
22711 " degrees to place them in the box. This allows the same data to be\n"
22712 " used on plots from -180-180 or 0-360 longitude ranges. In fact if\n"
22713 " you plot from -180-540 you will get two cycles of data drawn. The\n"
22714 " value of minx must be less than the value of maxx. Passing in a\n"
22715 " nan, max/-max floating point number or +/-infinity will case the\n"
22716 " bounding box from the shapefile to be used.\n"
22718 " maxx (PLFLT, input) : The maximum x value of map elements to be\n"
22719 " drawn - see minx.\n"
22721 " miny (PLFLT, input) : The minimum y value of map elements to be\n"
22722 " drawn - see minx.\n"
22724 " maxy (PLFLT, input) : The maximum y value of map elements to be\n"
22725 " drawn - see minx.\n"
22729 "Plot all or a subset of Shapefile data using lines in world coordinates\n"
22733 " Plot all or a subset of Shapefile data using lines in world\n"
22734 " coordinates. Our 19th standard example demonstrates how to use this\n"
22735 " function. This function plots data from a Shapefile using lines as in\n"
22736 " plmap, however it also has the option of also only drawing specified\n"
22737 " elements from the Shapefile. The vector of indices of the required\n"
22738 " elements are passed as a function argument. The Shapefile data should\n"
22739 " include a metadata file (extension.dbf) listing all items within the\n"
22740 " Shapefile. This file can be opened by most popular spreadsheet\n"
22741 " programs and can be used to decide which indices to pass to this\n"
22744 " Redacted form: plmapline(mapform, name, minx, maxx, miny, maxy,\n"
22747 " This function is used in example 19.\n"
22753 "plmapline(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22757 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22758 " transform the coordinates given in the shapefile into a plot\n"
22759 " coordinate system. By using this transform, we can change from a\n"
22760 " longitude, latitude coordinate to a polar stereographic project,\n"
22761 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22762 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22763 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22764 " plot coordinates. If no transform is desired, mapform can be\n"
22765 " replaced by NULL.\n"
22767 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22768 " the file name of a set of Shapefile files without the file\n"
22771 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22772 " be in the same units as used by the Shapefile. You could use a\n"
22773 " very large negative number to plot everything, but you can improve\n"
22774 " performance by limiting the area drawn. The units must match those\n"
22775 " of the Shapefile projection, which may be for example longitude or\n"
22776 " distance. The value of minx must be less than the value of maxx.\n"
22778 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22779 " use a very large number to plot everything, but you can improve\n"
22780 " performance by limiting the area drawn.\n"
22782 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22783 " be in the same units as used by the Shapefile. You could use a\n"
22784 " very large negative number to plot everything, but you can improve\n"
22785 " performance by limiting the area drawn. The units must match those\n"
22786 " of the Shapefile projection, which may be for example latitude or\n"
22787 " distance. The value of miny must be less than the value of maxy.\n"
22789 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22790 " use a very large number to plot everything, but you can improve\n"
22791 " performance by limiting the area drawn.\n"
22793 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22794 " zero-based indices of the Shapefile elements which will be drawn.\n"
22796 " plotentries to NULL will plot all elements of the Shapefile.\n"
22798 " nplotentries (PLINT, input) : The number of items in\n"
22799 " plotentries. Ignored if\n"
22800 " plotentries is NULL.\n"
22804 "Plot all or a subset of Shapefile data using strings or points in world coordinates\n"
22808 " As per plmapline, however the items are plotted as strings or points\n"
22809 " in the same way as plstring.\n"
22811 " Redacted form: plmapstring(mapform, name, string, minx, maxx, miny,\n"
22812 " maxy, plotentries)\n"
22814 " This function is not used in any examples.\n"
22820 "plmapstring(mapform, name, string, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22824 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22825 " transform the coordinates given in the shapefile into a plot\n"
22826 " coordinate system. By using this transform, we can change from a\n"
22827 " longitude, latitude coordinate to a polar stereographic project,\n"
22828 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22829 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22830 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22831 " plot coordinates. If no transform is desired, mapform can be\n"
22832 " replaced by NULL.\n"
22834 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22835 " the file name of a set of Shapefile files without the file\n"
22838 " string (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
22841 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22842 " be in the same units as used by the Shapefile. You could use a\n"
22843 " very large negative number to plot everything, but you can improve\n"
22844 " performance by limiting the area drawn. The units must match those\n"
22845 " of the Shapefile projection, which may be for example longitude or\n"
22846 " distance. The value of minx must be less than the value of maxx.\n"
22848 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22849 " use a very large number to plot everything, but you can improve\n"
22850 " performance by limiting the area drawn.\n"
22852 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22853 " be in the same units as used by the Shapefile. You could use a\n"
22854 " very large negative number to plot everything, but you can improve\n"
22855 " performance by limiting the area drawn. The units must match those\n"
22856 " of the Shapefile projection, which may be for example latitude or\n"
22857 " distance. The value of miny must be less than the value of maxy.\n"
22859 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22860 " use a very large number to plot everything, but you can improve\n"
22861 " performance by limiting the area drawn.\n"
22863 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22864 " zero-based indices of the Shapefile elements which will be drawn.\n"
22866 " plotentries to NULL will plot all elements of the Shapefile.\n"
22868 " nplotentries (PLINT, input) : The number of items in\n"
22869 " plotentries. Ignored if\n"
22870 " plotentries is NULL.\n"
22874 "Draw text at points defined by Shapefile data in world coordinates\n"
22878 " As per plmapline, however the items are plotted as text in the same\n"
22879 " way as plptex.\n"
22881 " Redacted form: plmaptex(mapform, name, dx, dy, just, text, minx, maxx,\n"
22882 " miny, maxy, plotentry)\n"
22884 " This function is used in example 19.\n"
22890 "plmaptex(mapform, name, dx, dy, just, text, minx, maxx, miny, maxy, plotentry)\n"
22894 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22895 " transform the coordinates given in the shapefile into a plot\n"
22896 " coordinate system. By using this transform, we can change from a\n"
22897 " longitude, latitude coordinate to a polar stereographic project,\n"
22898 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22899 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22900 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22901 " plot coordinates. If no transform is desired, mapform can be\n"
22902 " replaced by NULL.\n"
22904 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22905 " the file name of a set of Shapefile files without the file\n"
22908 " dx (PLFLT, input) : Used to define the slope of the texts which is\n"
22911 " dy (PLFLT, input) : Used to define the slope of the texts which is\n"
22914 " just (PLFLT, input) : Set the justification of the text. The value\n"
22915 " given will be the fraction of the distance along the string that\n"
22916 " sits at the given point. 0.0 gives left aligned text, 0.5 gives\n"
22917 " centralized text and 1.0 gives right aligned text.\n"
22919 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be drawn.\n"
22921 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22922 " be in the same units as used by the Shapefile. You could use a\n"
22923 " very large negative number to plot everything, but you can improve\n"
22924 " performance by limiting the area drawn. The units must match those\n"
22925 " of the Shapefile projection, which may be for example longitude or\n"
22926 " distance. The value of minx must be less than the value of maxx.\n"
22928 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22929 " use a very large number to plot everything, but you can improve\n"
22930 " performance by limiting the area drawn.\n"
22932 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22933 " be in the same units as used by the Shapefile. You could use a\n"
22934 " very large negative number to plot everything, but you can improve\n"
22935 " performance by limiting the area drawn. The units must match those\n"
22936 " of the Shapefile projection, which may be for example latitude or\n"
22937 " distance. The value of miny must be less than the value of maxy.\n"
22939 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22940 " use a very large number to plot everything, but you can improve\n"
22941 " performance by limiting the area drawn.\n"
22943 " plotentry (PLINT, input) : An integer indicating which text string\n"
22944 " of the Shapefile (zero indexed) will be drawn.\n"
22948 "Plot all or a subset of Shapefile data, filling the polygons\n"
22952 " As per plmapline, however the items are filled in the same way as\n"
22955 " Redacted form: plmapfill(mapform, name, minx, maxx, miny, maxy,\n"
22958 " This function is used in example 19.\n"
22964 "plmapfill(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22968 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22969 " transform the coordinates given in the shapefile into a plot\n"
22970 " coordinate system. By using this transform, we can change from a\n"
22971 " longitude, latitude coordinate to a polar stereographic project,\n"
22972 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22973 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22974 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22975 " plot coordinates. If no transform is desired, mapform can be\n"
22976 " replaced by NULL.\n"
22978 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22979 " the file name of a set of Shapefile files without the file\n"
22982 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22983 " be in the same units as used by the Shapefile. You could use a\n"
22984 " very large negative number to plot everything, but you can improve\n"
22985 " performance by limiting the area drawn. The units must match those\n"
22986 " of the Shapefile projection, which may be for example longitude or\n"
22987 " distance. The value of minx must be less than the value of maxx.\n"
22989 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22990 " use a very large number to plot everything, but you can improve\n"
22991 " performance by limiting the area drawn.\n"
22993 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22994 " be in the same units as used by the Shapefile. You could use a\n"
22995 " very large negative number to plot everything, but you can improve\n"
22996 " performance by limiting the area drawn. The units must match those\n"
22997 " of the Shapefile projection, which may be for example latitude or\n"
22998 " distance. The value of miny must be less than the value of maxy.\n"
23000 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
23001 " use a very large number to plot everything, but you can improve\n"
23002 " performance by limiting the area drawn.\n"
23004 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
23005 " zero-based indices of the Shapefile elements which will be drawn.\n"
23007 " plotentries to NULL will plot all elements of the Shapefile.\n"
23009 " nplotentries (PLINT, input) : The number of items in\n"
23010 " plotentries. Ignored if\n"
23011 " plotentries is NULL.\n"
23015 "Plot latitude and longitude lines\n"
23019 " Displays latitude and longitude on the current plot. The lines are\n"
23020 " plotted in the current color and line style.\n"
23022 " Redacted form: plmeridians(mapform, dlong, dlat, minlong, maxlong,\n"
23023 " minlat, maxlat)\n"
23025 " This function is used in example 19.\n"
23031 "plmeridians(mapform, dlong, dlat, minlong, maxlong, minlat, maxlat)\n"
23035 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
23036 " transform the coordinate longitudes and latitudes to a plot\n"
23037 " coordinate system. By using this transform, we can change from a\n"
23038 " longitude, latitude coordinate to a polar stereographic project,\n"
23039 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
23040 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
23041 " mapform(), x[] and y[] should be replaced by the corresponding\n"
23042 " plot coordinates. If no transform is desired, mapform can be\n"
23043 " replaced by NULL.\n"
23045 " dlong (PLFLT, input) : The interval in degrees at which the\n"
23046 " longitude lines are to be plotted.\n"
23048 " dlat (PLFLT, input) : The interval in degrees at which the latitude\n"
23049 " lines are to be plotted.\n"
23051 " minlong (PLFLT, input) : The value of the longitude on the left\n"
23052 " side of the plot. The value of minlong must be less than the value\n"
23053 " of maxlong, and the quantity maxlong-minlong must be less than or\n"
23056 " maxlong (PLFLT, input) : The value of the longitude on the right\n"
23057 " side of the plot.\n"
23059 " minlat (PLFLT, input) : The minimum latitude to be plotted on the\n"
23060 " background. One can always use -90.0 as the boundary outside the\n"
23061 " plot window will be automatically eliminated. However, the\n"
23062 " program will be faster if one can reduce the size of the\n"
23063 " background plotted.\n"
23065 " maxlat (PLFLT, input) : The maximum latitudes to be plotted on the\n"
23066 " background. One can always use 90.0 as the boundary outside the\n"
23067 " plot window will be automatically eliminated.\n"
23071 "Plot a 2D matrix using cmap1 with automatic color adjustment\n"
23075 " Plot a 2D matrix using the cmap1 palette. The color scale is\n"
23076 " automatically adjusted to use the maximum and minimum values in idata\n"
23077 " as valuemin and valuemax in a call to plimagefr.\n"
23079 " Redacted form: General: plimage(idata, xmin, xmax, ymin, ymax, zmin,\n"
23080 " zmax, Dxmin, Dxmax, Dymin, Dymax)\n"
23083 " This function is used in example 20.\n"
23089 "plimage(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, Dxmin, Dxmax, Dymin, Dymax)\n"
23093 " idata (PLFLT_MATRIX, input) : A matrix containing function values\n"
23094 " to plot. Should have dimensions of\n"
23098 " nx, ny (PLINT, input) : Dimensions of idata\n"
23100 " xmin, xmax, ymin, ymax (PLFLT, input) : The x and y index ranges\n"
23101 " are linearly transformed to these world coordinate ranges such\n"
23102 " that idata[0][0] corresponds to (xmin, ymin) and idata[nx - 1][ny\n"
23103 " - 1] corresponds to (xmax, ymax).\n"
23105 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n"
23106 " (inclusive) will be plotted.\n"
23108 " Dxmin, Dxmax, Dymin, Dymax (PLFLT, input) : Plot only the window of\n"
23109 " points whose plot coordinates fall inside the window of (Dxmin,\n"
23110 " Dymin) to (Dxmax, Dymax).\n"
23114 "Plot a 2D matrix using cmap1\n"
23118 " Plot a 2D matrix using cmap1.\n"
23120 " Redacted form: General: plimagefr(idata, xmin, xmax, ymin, ymax, zmin,\n"
23121 " zmax, valuemin, valuemax, pltr, pltr_data)\n"
23124 " This function is used in example 20.\n"
23130 "plimagefr(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr, pltr_data)\n"
23134 " idata (PLFLT_MATRIX, input) : A matrix of values (intensities) to\n"
23135 " plot. Should have dimensions of\n"
23139 " nx, ny (PLINT, input) : Dimensions of idata\n"
23141 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
23142 " pltr below for how these arguments are used (only for the special case\n"
23143 " when the callback function\n"
23144 " pltr is not supplied).\n"
23146 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n"
23147 " (inclusive) will be plotted.\n"
23149 " valuemin, valuemax (PLFLT, input) : The minimum and maximum data\n"
23150 " values to use for value to color mappings. A datum equal to or\n"
23151 " less than valuemin will be plotted with color 0.0, while a datum\n"
23152 " equal to or greater than valuemax will be plotted with color 1.0.\n"
23153 " Data between valuemin and valuemax map linearly to colors in the\n"
23154 " range (0.0-1.0).\n"
23156 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
23157 " defines the transformation between the zero-based indices of the\n"
23158 " matrix idata and world coordinates. If\n"
23159 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
23160 " indices of idata are mapped to the range\n"
23162 " xmax and the y indices of idata are mapped to the range\n"
23164 " ymax.For the C case, transformation functions are provided in the\n"
23165 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
23166 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
23167 " matrices. In addition, C callback routines for the transformation\n"
23168 " can be supplied by the user such as the mypltr function in\n"
23169 " examples/c/x09c.c which provides a general linear transformation\n"
23170 " between index coordinates and world coordinates.For languages\n"
23171 " other than C you should consult the PLplot documentation for the\n"
23172 " details concerning how PLTRANSFORM_callback arguments are\n"
23173 " interfaced. However, in general, a particular pattern of\n"
23174 " callback-associated arguments such as a tr vector with 6 elements;\n"
23175 " xg and yg vectors; or xg and yg matrices are respectively\n"
23176 " interfaced to a linear-transformation routine similar to the above\n"
23177 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
23178 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
23179 " support native language callbacks for handling index to\n"
23180 " world-coordinate transformations. Examples of these various\n"
23181 " approaches are given in examples/<language>x09*,\n"
23182 " examples/<language>x16*, examples/<language>x20*,\n"
23183 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
23184 " supported languages.\n"
23186 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
23187 " information to pltr0, pltr1, pltr2, or whatever routine is\n"
23188 " externally supplied.\n"
23197 "Wait for graphics input event and translate to world coordinates.\n"
23201 " Wait for graphics input event and translate to world coordinates.\n"
23202 " Returns 0 if no translation to world coordinates is possible.\n"
23204 " This function returns 1 on success and 0 if no translation to world\n"
23205 " coordinates is possible.\n"
23207 " Redacted form: plGetCursor(gin)\n"
23209 " This function is used in examples 1 and 20.\n"
23215 "PLINT plGetCursor(gin)\n"
23219 " gin (PLGraphicsIn *, output) : Pointer to PLGraphicsIn structure\n"
23220 " which will contain the output. The structure is not allocated by\n"
23221 " the routine and must exist before the function is called.\n"
23224 { NULL, NULL, 0, NULL }
23298{0, 0, 0, 0.0, 0, 0}};
23420#define SWIGRUNTIME_DEBUG
23423#ifndef SWIG_INIT_CLIENT_DATA_TYPE
23424#define SWIG_INIT_CLIENT_DATA_TYPE void *
23435 return (pca->
next || pcb->
next == 0) ? -1 : 1;
23437 return (pcb->
next || pca->
next == 0) ? 1 : -1;
23445 const int hmax = size/9;
23447 for(h = 1; h <= hmax; h = 3*h+1);
23448 for(; h > 0; h /= 3)
23450 for(i = h; i < size; ++i)
23453 unsigned int hash = cast[i].
value;
23455 while(j >= h && hash < cast[j-h].
value)
23462 cast[j].
value = hash;
23486 if (!module_head) {
23499 }
while (iter!= module_head);
23510 if (init == 0)
return;
23513#ifdef SWIGRUNTIME_DEBUG
23514 printf(
"SWIG_InitializeModule: size %lu\n", (
unsigned long)
swig_module.size);
23520 int num_mapped = 0;
23522#ifdef SWIGRUNTIME_DEBUG
23523 printf(
"SWIG_InitializeModule: type %lu %s\n", (
unsigned long)i,
swig_module.type_initial[i]->name);
23532#ifdef SWIGRUNTIME_DEBUG
23533 printf(
"SWIG_InitializeModule: found type %s\n", type->name);
23536 type->clientdata =
swig_module.type_initial[i]->clientdata;
23537#ifdef SWIGRUNTIME_DEBUG
23538 printf(
"SWIG_InitializeModule: found and overwrite type %s \n", type->name);
23547 while (cast->
type) {
23550#ifdef SWIGRUNTIME_DEBUG
23551 printf(
"SWIG_InitializeModule: look cast %s\n", cast->
type->
name);
23557#ifdef SWIGRUNTIME_DEBUG
23558 printf(
"SWIG_InitializeModule: found cast %s\n", target_type->
name);
23561#ifdef SWIGRUNTIME_DEBUG
23562 printf(
"SWIG_InitializeModule: skip old type %s\n", target_type->
name);
23564 cast->
type = target_type;
23569#ifdef SWIGRUNTIME_DEBUG
23570 if (ocast) printf(
"SWIG_InitializeModule: skip old cast %s\n", target_type->
name);
23572 if (!ocast) target_type = 0;
23577 if (!target_type) {
23578#ifdef SWIGRUNTIME_DEBUG
23579 printf(
"SWIG_InitializeModule: adding cast %s\n", cast->
type->
name);
23585 if (type == cast->
type) {
23586#ifdef SWIGRUNTIME_DEBUG
23587 printf(
"%s : self cast at pos [%li]\n", type->name, cast - first);
23589 if (cast - first) {
23606 if (cast - first) {
23614 for (tmp = first; tmp < cast; tmp++) {
23621 cast->
value = num_mapped - 1;
23623 num_mapped -= (int)(first - cast);
23624 if (num_mapped > 1) {
23630 first = type->cast;
23634 first->
next = cast;
23646#ifdef SWIGRUNTIME_DEBUG
23647 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
23651 printf(
"SWIG_InitializeModule: type %lu %s\n", (
unsigned long)i,
swig_module.type_initial[i]->name);
23652 while (cast->
type) {
23653 printf(
"SWIG_InitializeModule: cast type %s\n", cast->
type->
name);
23657 printf(
"---- Total casts: %d\n",j);
23659 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
23671 static int init_run = 0;
23673 if (init_run)
return;
23681 for (cast =
head; (cast -
head) <=
head->value; cast++) {
23716 for (i = 0; constants[i].
type; ++i) {
23717 switch(constants[i].type) {
23722 obj =
SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
23729 PyDict_SetItemString(d, constants[i].
name, obj);
23742 for (i = 0; methods[i].ml_name; ++i) {
23743 const char *c = methods[i].ml_doc;
23745 c = strstr(c,
"swig_ptr: ");
23749 const char *
name = c + 10;
23750 for (j = 0; const_table[j].
type; ++j) {
23751 if (strncmp(const_table[j].
name,
name,
23752 strlen(const_table[j].
name)) == 0) {
23753 ci = &(const_table[j]);
23760 size_t shift = (ci->
ptype) - types;
23762 size_t ldoc = (c - methods[i].ml_doc);
23763 size_t lptr = strlen(ty->
name)+2*
sizeof(
void*)+2;
23764 char *ndoc = (
char*)malloc(ldoc + lptr + 10);
23767 memcpy(buff, methods[i].ml_doc, ldoc);
23769 memcpy(buff,
"swig_ptr: ", 10);
23772 methods[i].ml_doc = ndoc;
23798#if PY_VERSION_HEX >= 0x03000000
23804#if PY_VERSION_HEX >= 0x03000000
23805 static PyModuleDef_Slot SwigSlots[] = {
23809#ifdef SWIGPYTHON_NOGIL
23810#ifdef Py_GIL_DISABLED
23812 Py_mod_gil, Py_MOD_GIL_NOT_USED
23821 static struct PyModuleDef SWIG_module = {
23822 PyModuleDef_HEAD_INIT,
23833 return PyModuleDef_Init(&SWIG_module);
23843 PyObject *d, *md, *globals;
23845#if defined(SWIGPYTHON_BUILTIN)
23847 0, 0, 0, 0, 0, 0, 0
23849 static PyGetSetDef this_getset_def = {
23850 (
char *)
"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
23852 static SwigPyGetSet thisown_getset_closure = {
23856 static PyGetSetDef thisown_getset_def = {
23857 (
char *)
"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
23859 PyTypeObject *builtin_pytype;
23860 int builtin_base_count;
23863 PyGetSetDescrObject *static_getset;
23864 PyTypeObject *metatype;
23865 PyTypeObject *swigpyobject;
23867 PyObject *public_interface, *public_symbol;
23868 PyObject *this_descr;
23869 PyObject *thisown_descr;
23870 PyObject *self = 0;
23873 (void)builtin_pytype;
23874 (void)builtin_base_count;
23875 (void)builtin_basetype;
23877 (void)static_getset;
23881 metatype = SwigPyObjectType_Type();
23884 SwigPyStaticVar_Type();
23895#ifndef SWIGPYTHON_BUILTIN
23902#ifdef SWIGPYTHON_NOGIL
23903#ifdef Py_GIL_DISABLED
23904 PyUnstable_Module_SetGIL(m, Py_MOD_GIL_NOT_USED);
23908 md = d = PyModule_GetDict(m);
23913#ifdef SWIGPYTHON_BUILTIN
23917 assert(SwigPyObject_stype);
23920 SwigPyObject_stype->clientdata = &SwigPyObject_clientdata;
23921 SwigPyObject_clientdata.
pytype = swigpyobject;
23922 }
else if (swigpyobject->tp_basicsize != cd->
pytype->tp_basicsize) {
23923 PyErr_SetString(PyExc_RuntimeError,
"Import error: attempted to load two incompatible swig-generated modules.");
23933 (void)thisown_descr;
23935 public_interface = PyList_New(0);
23937 (void)public_symbol;
23939 PyDict_SetItemString(md,
"__all__", public_interface);
23942 SwigPyBuiltin_AddPublicSymbol(public_interface,
SwigMethods[i].ml_name);
23950#if SWIG_VERSION >= 0x040400
void plSetUsage(PLCHAR_VECTOR program_string, PLCHAR_VECTOR usage_string)
void pltr2(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
void pltr1(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
void pltr0(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer PL_UNUSED(pltr_data))
void plsxwin(PLINT window_id)
static PLFLT value(double n1, double n2, double hue)
void plMinMax2dGrid(PLFLT_MATRIX f, PLINT nx, PLINT ny, PLFLT *fnmax, PLFLT *fnmin)
PLINT plGetCursor(PLGraphicsIn *plg)
#define pl_setcontlabelformat
#define pl_setcontlabelparam
SWIGINTERN int SWIG_AsVal_long(const octave_value &ov, long *val)
SWIGINTERN int SWIG_AsVal_double(const octave_value &ov, double *val)
SWIGINTERN PyObject * _wrap_plstransform(PyObject *self, PyObject *args)
SWIGRUNTIME void SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata)
SWIGINTERN PyObject * _wrap_plgcol0a(PyObject *self, PyObject *args)
SWIGRUNTIME swig_module_info * SWIG_Python_GetModule(void *SWIGUNUSEDPARM(clientdata))
SWIGINTERN PyObject * _wrap_plsxwin(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgchr(PyObject *self, PyObject *args)
SWIGINTERNINLINE PyObject * SWIG_From_int(int value)
SWIGRUNTIME int SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty)
SWIGINTERN PyObject * _wrap_plcolorbar(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstripc(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_type_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plshade(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plhlsrgb(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgra(PyObject *self, PyObject *args)
static int interpreter_counter
SWIGINTERN PyObject * _wrap_plvpas(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsdiori(PyObject *self, PyObject *args)
SWIGINTERN int SWIG_PyDict_GetItemRef(PyObject *mp, PyObject *key, PyObject **result)
#define SWIG_MangledTypeQuery(name)
SWIGINTERN PyObject * _wrap_plSetUsage(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plssub(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmaptex(PyObject *self, PyObject *args)
SWIGINTERN PyTypeObject * SwigVarLink_TypeOnce(void)
SWIGINTERN PyObject * _wrap_plsdiplt(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscolbg(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dY_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plResetOpts(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plshades(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsdimap(PyObject *self, PyObject *args)
static PyObject * Swig_This_global
SWIGRUNTIME int SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w)
SWIGINTERN int SWIG_AsVal_double(PyObject *obj, double *val)
static swig_cast_info _swigc__p_PLcGrid2[]
SWIGINTERN PyObject * _wrap_plerrx(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plprec(PyObject *self, PyObject *args)
SWIGINTERN Py_ssize_t SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
#define SWIG_TypeQuery(name)
PLFLT do_f2eval_callback(PLINT x, PLINT y, PLPointer data)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_keysym_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_string_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap0n(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plfill3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_subwindow_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsurf3d(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgfont(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plvsta(PyObject *self, PyObject *args)
#define SWIG_CheckState(r)
static PyObject * Swig_runtime_data_module_global
void cleanup_mapform(void)
void cleanup_PLPointer(void)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pX_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plschr(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_keysym_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstart(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgvpw(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb)
SWIGRUNTIME PyTypeObject * SwigPyObject_Type(void)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dY_get(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_Python_AddErrMesg(const char *mesg, int infront)
SWIGRUNTIME PyObject * SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this)
SWIGINTERN void SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[])
pltr_func marshal_pltr(PyObject *input)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_button_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_string_get(PyObject *self, PyObject *args)
#define myArray_ContiguousFromObject
SWIGRUNTIME PyObject * SwigPyObject_next(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_plgyax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plend(PyObject *self, PyObject *args)
#define SWIG_POINTER_IMPLICIT_CONV
SWIGINTERN PyObject * _wrap_plscmap1la(PyObject *self, PyObject *args)
void do_mapform_callback(PLINT n, PLFLT *x, PLFLT *y)
SWIGRUNTIME PyObject * SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
SWIGINTERN PyObject * SWIG_PyList_GetItemRef(PyObject *op, Py_ssize_t index)
SWIGINTERN PyObject * _wrap_plbin(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcol1(PyObject *self, PyObject *args)
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)
SWIGRUNTIME int SWIG_TypeNameComp(const char *f1, const char *l1, const char *f2, const char *l2)
SWIGRUNTIME PyObject * SwigPyObject_hex(SwigPyObject *v)
SWIGRUNTIME PyObject * SwigPyObject_richcompare(PyObject *v, PyObject *w, int op)
#define SWIG_Python_ConvertPtr(obj, pptr, type, flags)
SWIGRUNTIME void SwigPyObject_dealloc(PyObject *v)
SWIGRUNTIME PyTypeObject * SwigPyPacked_TypeOnce(void)
#define SWIG_PYTHON_THREAD_END_BLOCK
SWIGINTERN PyObject * _wrap_plClearOpts(PyObject *self, PyObject *args)
SWIGINTERN size_t SWIG_strnlen(const char *s, size_t maxlen)
SWIGINTERN PyObject * _wrap_plgradient(PyObject *self, PyObject *args)
SWIGINTERN PyObject * SWIG_runtime_data_module(void)
SWIGINTERN int SWIG_CastCmpStruct(const void *pa, const void *pb)
SWIGINTERN PyObject * _wrap_pladv(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_append(PyObject *v, PyObject *next)
SWIGINTERN PyObject * _wrap_plsdev(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgxax(PyObject *self, PyObject *args)
#define SWIGPY_CAPSULE_ATTR_NAME
SWIGINTERN PyObject * _wrap_plsfont(PyObject *self, PyObject *args)
SWIGINTERN void SwigVarLink_dealloc(PyObject *o)
SWIGINTERN PyObject * SWIG_Python_newvarlink(void)
SWIGINTERN PyObject * _wrap_plsdidev(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsmema(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pl_setcontlabelformat(PyObject *self, PyObject *args)
#define SWIG_NewClientData(obj)
SWIGINTERN PyObject * _wrap_plot3d(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plptex3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dX_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plspal1(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plwidth(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgpage(PyObject *self, PyObject *args)
mapform_func marshal_mapform(PyObject *input)
SWIGINTERN PyObject * _wrap_plline(PyObject *self, PyObject *args)
SWIGINTERNINLINE int SWIG_CanCastAsInteger(double *d, double min, double max)
SWIGINTERN int SWIG_AsVal_unsigned_SS_long(PyObject *obj, unsigned long *val)
SWIGRUNTIME PyTypeObject * SwigVarLink_Type(void)
SWIGRUNTIME unsigned int SWIG_Hash(const char *str, unsigned int len)
SWIGINTERN PyObject * _wrap_plscmap1(PyObject *self, PyObject *args)
SWIGRUNTIME PyTypeObject * SwigPyPacked_Type(void)
SWIGINTERN PyObject * _wrap_plvasp(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap0a(PyObject *self, PyObject *args)
#define SWIG_as_voidptrptr(a)
SWIGINTERN PyObject * _wrap_plsmaj(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscolor(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plrgbhls(PyObject *self, PyObject *args)
SWIGRUNTIMEINLINE const char * SwigPyObject_GetDesc(PyObject *self)
SWIGINTERN PyObject * _wrap_plssym(PyObject *self, PyObject *args)
SWIGINTERN PyObject * SwigPyObject_own(PyObject *v, PyObject *args)
SWIGINTERN PyObject * _wrap_plptex(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstar(PyObject *self, PyObject *args)
#define SWIG_POINTER_NOSHADOW
SWIGINTERN PyObject * _wrap_plwind(PyObject *self, PyObject *args)
SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata)
SWIGINTERN PyObject * _wrap_plstyl(PyObject *self, PyObject *args)
SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
SWIGINTERN void SWIG_Python_addvarlink(PyObject *p, const char *name, PyObject *(*get_attr)(void), int(*set_attr)(PyObject *p))
SWIGINTERN PyObject * _wrap_plend1(PyObject *self, PyObject *args)
SWIGINTERN PyObject * SwigPyObject_acquire(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_plgcompression(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsmin(PyObject *self, PyObject *args)
SWIGRUNTIME char * SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz)
SWIGINTERN PyObject * _wrap_plgcmap1_range(PyObject *self, PyObject *args)
void cleanup_PLcGrid1(void)
SWIGRUNTIME PyObject * SWIG_Python_TypeCache(void)
SWIGINTERN PyObject * _wrap_plgcol0(PyObject *self, PyObject *args)
#define SWIG_InternalNewPointerObj(ptr, type, flags)
SWIGINTERN PyObject * _wrap_plscmap1_range(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscol0a(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_long(SwigPyObject *v)
#define SWIG_exception_fail(code, msg)
SWIGINTERN PyObject * _wrap_plOptUsage(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plarc(PyObject *self, PyObject *args)
SWIGRUNTIMEINLINE PyObject * SWIG_Py_Void(void)
SWIGINTERN PyObject * _wrap_plsfam(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pltr2(PyObject *self, PyObject *args)
void do_label_callback(PLINT axis, PLFLT value, char *string, PLINT len, PLPointer data)
SWIGINTERN PyObject * _wrap_plscmap1l(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_state_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pY_get(PyObject *self, PyObject *args)
SWIGRUNTIME const char * SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_state_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsvpa(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgvpd(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pltr1(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgdev(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_Python_TypeErrorOccurred(PyObject *obj)
SWIGRUNTIME void SWIG_Python_DestroyModule(PyObject *obj)
#define SWIG_SetModule(clientdata, pointer)
SWIGINTERN PyObject * _wrap_plstripd(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plw3d(PyObject *self, PyObject *args)
SWIGRUNTIME SwigPyClientData * SwigPyClientData_New(PyObject *obj)
SWIGINTERN PyObject * _wrap_pllab(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcpstrm(PyObject *self, PyObject *args)
static PyMethodDef SwigPyObject_methods[]
#define SWIGUNUSEDPARM(p)
SWIGINTERN PyObject * _wrap_plvpor(PyObject *self, PyObject *args)
PLPointer marshal_PLPointer(PyObject *input, int isimg)
SWIGINTERN PyObject * _wrap_plstring3(PyObject *self, PyObject *args)
SWIGRUNTIME swig_type_info * SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
#define SWIG_as_voidptr(a)
SWIGINTERN swig_type_info * SWIG_pchar_descriptor(void)
static swig_const_info swig_const_table[]
SWIGINTERN PyObject * SwigPyObject_disown(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_plscol0(PyObject *self, PyObject *args)
SWIGRUNTIMEINLINE int SwigPyPacked_Check(PyObject *op)
#define SWIG_Python_CallFunctor(functor, obj)
SWIGINTERN PyObject * _wrap_plmapline(PyObject *self, PyObject *args)
SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata)
SWIGINTERN PyObject * _wrap_plgfnam(PyObject *self, PyObject *args)
#define SWIG_ConvertPtr(obj, pptr, type, flags)
SWIGRUNTIME int SWIG_TypeCmp(const char *nb, const char *tb)
SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz)
SWIGINTERN PyObject * _wrap_plpsty(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plbox3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plimage(PyObject *self, PyObject *args)
SWIGINTERN int SWIG_Python_CheckNoKeywords(PyObject *kwargs, const char *name)
SWIGINTERN PyObject * _wrap_plmesh(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plszax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plinit(PyObject *self, PyObject *args)
static PyObject * Swig_Globals_global
SWIGINTERN PyObject * _wrap_plpoly3(PyObject *self, PyObject *args)
void *(* swig_converter_func)(void *, int *)
SWIGINTERN PyObject * _wrap_plsvect(PyObject *self, PyObject *args)
#define SWIG_RUNTIME_MODULE
SWIGINTERN PyObject * _wrap_plmapfill(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyPacked_repr(SwigPyPacked *v)
SWIGINTERN PyObject * _wrap_plsetopt(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap0(PyObject *self, PyObject *args)
#define SWIG_newvarlink()
SWIGRUNTIME void SWIG_Python_RaiseOrModifyTypeError(const char *message)
SWIGRUNTIME swig_type_info * SWIG_Python_TypeQuery(const char *type)
SWIGINTERN const char * SWIG_PyUnicode_AsUTF8AndSize(PyObject *str, Py_ssize_t *psize, PyObject **pbytes)
SWIGINTERN PyObject * _wrap_plparseopts(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wX_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wY_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pljoin(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plfill(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmtex3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap1a(PyObject *self, PyObject *args)
SWIGRUNTIME int SwigPyObject_compare(PyObject *v, PyObject *w)
void cleanup_PLcGrid2(void)
static PyObject * Swig_TypeCache_global
SWIGINTERN PyObject * _wrap_plglevel(PyObject *self, PyObject *args)
SWIGRUNTIMEINLINE PyObject * SWIG_Python_ExceptionType(swig_type_info *desc)
SWIGINTERN PyObject * _wrap_plgriddata(PyObject *self, PyObject *args)
SWIGINTERN int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
SWIGINTERN PyObject * _wrap_plpath(PyObject *self, PyObject *args)
SWIGINTERN void SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj)
SWIGINTERN int SWIG_AsVal_char(PyObject *obj, char *val)
SWIGINTERN PyObject * _wrap_plot3dcl(PyObject *self, PyObject *args)
SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
SWIGINTERN PyObject * SwigVarLink_getattr(PyObject *o, char *n)
PyArrayObject * myIntArray_ContiguousFromObject(PyObject *in, int type, int mindims, int maxdims)
#define SWIGPY_CAPSULE_NAME
SWIGRUNTIME void * SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags)
SWIGRUNTIME void SWIG_Python_AddErrorMsg(const char *mesg)
SWIGINTERN PyObject * SwigVarLink_repr(PyObject *SWIGUNUSEDPARM(v))
SWIGINTERN int SWIG_PyDict_GetItemStringRef(PyObject *mp, const char *key, PyObject **result)
SWIGINTERNINLINE PyObject * SWIG_FromCharPtrAndSize(const char *carray, size_t size)
SWIGRUNTIME const char * SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name)
#define SWIG_NewPointerObj(ptr, type, flags)
SWIGRUNTIME void SWIG_Python_SetModule(swig_module_info *swig_module)
SWIGINTERN PyObject * _wrap_plgspa(PyObject *self, PyObject *args)
ct_func marshal_ct(PyObject *input)
SWIGINTERN void SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj)
SWIGINTERN PyObject * _wrap_plsesc(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plline3(PyObject *self, PyObject *args)
#define SWIG_Python_str_FromFormat
#define SWIG_InstallConstants(d, constants)
SWIGINTERN PyObject * _wrap_pllegend(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsxax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgfci(PyObject *self, PyObject *args)
static PyMethodDef SwigMethods[]
SWIGINTERN PyObject * SWIG_Python_AppendOutput(PyObject *result, PyObject *obj, int is_void)
SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty)
SWIGINTERN PyObject * _wrap_pleop(PyObject *self, PyObject *args)
SWIGINTERNINLINE PyObject * SWIG_From_unsigned_SS_int(unsigned int value)
void do_ct_callback(PLFLT x, PLFLT y, PLFLT *xt, PLFLT *yt, PLPointer data)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_button_set(PyObject *self, PyObject *args)
#define SWIG_STATIC_POINTER(var)
struct swig_type_info swig_type_info
PyObject * python_mapform
SWIGINTERN PyObject * _wrap_plgdidev(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgstrm(PyObject *self, PyObject *args)
SWIGRUNTIME char * SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz)
SWIGINTERN PyObject * _wrap_plflush(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgzax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcont(PyObject *self, PyObject *args)
SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz)
SWIGRUNTIME int SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty)
SWIGINTERN void SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg)
SWIGINTERN PyObject * _wrap_plsori(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstripa(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plrandd(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsym(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_format(const char *fmt, SwigPyObject *v)
SWIGINTERN PyObject * _wrap_plbop(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags)
SWIGINTERN PyObject * _wrap_plgver(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsfnam(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmapstring(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plreplot(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plvect(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgdiplt(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pllsty(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_Python_ArgFail(int argnum)
#define SWIG_DelNewMask(r)
SWIGRUNTIME swig_type_info * SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
SWIGINTERN PyObject * _wrap_plpoin3(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own)
SWIGINTERN PyObject * _wrap_plimagefr(PyObject *self, PyObject *args)
#define SWIG_NewPackedObj(ptr, sz, type)
static swig_cast_info _swigc__p_PLcGrid[]
SWIGINTERN PyObject * _wrap_plot3dc(PyObject *self, PyObject *args)
SWIGINTERN void SWIG_CastHashSort(swig_cast_info *cast, int size)
PLcGrid * marshal_PLcGrid1(PyObject *input, int isimg)
#define SWIG_GetModule(clientdata)
SWIGINTERN PyObject * _wrap_plsstrm(PyObject *self, PyObject *args)
SWIGINTERN PyObject * PLGraphicsIn_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plGetCursor(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plspage(PyObject *self, PyObject *args)
SWIGRUNTIME swig_cast_info * SWIG_TypeCheckStruct(const swig_type_info *from, swig_type_info *ty)
SWIGRUNTIME void SWIG_PropagateClientData(void)
SWIGINTERN PyObject * _wrap_plscolbga(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyPacked_str(SwigPyPacked *v)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pX_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pltimefmt(PyObject *self, PyObject *args)
SWIGINTERN int SWIG_mod_exec(PyObject *module)
SWIGRUNTIME int SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type)
SWIGINTERN PyObject * _wrap_plsmem(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmkstrm(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcol0(PyObject *self, PyObject *args)
SWIGINTERN void SWIG_Python_FixMethods(PyMethodDef *methods, const swig_const_info *const_table, swig_type_info **types, swig_type_info **types_initial)
SWIGRUNTIMEINLINE PyObject * SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type)
SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty)
SWIGRUNTIME PyObject * SWIG_This(void)
SWIGINTERN PyObject * _wrap_plenv(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsurf3dl(PyObject *self, PyObject *args)
SWIGINTERN int SWIG_AsVal_int(PyObject *obj, int *val)
SWIGINTERN PyObject * _wrap_plenv0(PyObject *self, PyObject *args)
static swig_type_info _swigt__p_PLcGrid
#define SWIG_BUILTIN_TP_INIT
SWIGRUNTIME PyObject * SwigPyObject_repr(SwigPyObject *v)
SWIGINTERN PyObject * _wrap_plfont(PyObject *self, PyObject *args)
SWIGINTERN int SWIG_AsVal_long(PyObject *obj, long *val)
SWIGINTERN int SWIG_AsCharArray(PyObject *obj, char *val, size_t size)
SWIGINTERN PyObject * _wrap_plslabelfunc(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pY_set(PyObject *self, PyObject *args)
struct swig_module_info swig_module_info
SWIGINTERN int SwigVarLink_setattr(PyObject *o, char *n, PyObject *p)
SWIGRUNTIMEINLINE int SwigPyObject_Check(PyObject *)
SWIGINTERN PyObject * _wrap_plgcolbg(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SWIG_Python_ErrorType(int code)
SWIGRUNTIME void SwigPyClientData_Del(SwigPyClientData *data)
SWIGRUNTIME SwigPyObject * SWIG_Python_GetSwigThis(PyObject *pyobj)
void do_pltr_callback(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer data)
SWIGINTERN PyObject * _wrap_plscompression(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmeridians(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dX_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsfci(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plerry(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plxormod(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plclear(PyObject *self, PyObject *args)
SWIGRUNTIME void SwigPyPacked_dealloc(PyObject *v)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_subwindow_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgcolbga(PyObject *self, PyObject *args)
SWIGINTERN PyObject * SWIG_Python_str_FromChar(const char *c)
#define PySequence_Fast_GET_ITEM
SWIGINTERN PyObject * _wrap_plmap(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
SWIGINTERN PyObject * _wrap_plhist(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pltr0(PyObject *self, PyObject *args)
SWIGRUNTIMEINLINE int SWIG_Python_CheckImplicit(swig_type_info *ty)
SWIGINTERN PyObject * _wrap_plsyax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plpat(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmeshc(PyObject *self, PyObject *args)
PLcGrid2 * marshal_PLcGrid2(PyObject *input, int isimg)
SWIGINTERN PyObject * _wrap_plfamadv(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wY_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plMinMax2dGrid(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plseed(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmtex(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plfontld(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_delete_PLGraphicsIn(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_new_PLGraphicsIn(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wX_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plconfigtime(PyObject *self, PyObject *args)
SWIGRUNTIME PyTypeObject * SwigPyObject_TypeOnce(void)
SWIGINTERN PyObject * _wrap_plstring(PyObject *self, PyObject *args)
SWIGINTERN int SWIG_AsCharPtrAndSize(PyObject *obj, char **cptr, size_t *psize, int *alloc)
static PyObject * Swig_Capsule_global
static swig_type_info _swigt__p_PLcGrid2
SWIGINTERN PyObject * _wrap_plctime(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgfam(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plspause(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plspal0(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_oct(SwigPyObject *v)
SWIGRUNTIME PyObject * SwigPyObject_repr2(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_plgdiori(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pllightsource(PyObject *self, PyObject *args)
SWIGINTERN PyObject * PLGraphicsIn_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * SWIG_Python_InitShadowInstance(PyObject *args)
SWIGINTERN PyObject * _wrap_plsdiplz(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plbtime(PyObject *self, PyObject *args)
#define SWIG_AddNewMask(r)
SWIGINTERN PyObject * SWIG_globals(void)
SWIGINTERN PyObject * _wrap_pl_setcontlabelparam(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plbox(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_type_set(PyObject *self, PyObject *args)
#define SWIG_PYOBJ_REFCNT(OBJ)
#define SWIG_PYTHON_THREAD_BEGIN_BLOCK
SWIGINTERN PyObject * _wrap_plscmap1n(PyObject *self, PyObject *args)
enum callback_type pltr_type
SWIGINTERN PyObject * _wrap_plaxes(PyObject *self, PyObject *args)
SWIGINTERN PyObject * SwigVarLink_str(PyObject *o)
SWIGRUNTIME int SWIG_Python_AcquirePtr(PyObject *obj, int own)
#define MY_UNBLOCK_THREADS
SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory)
static int _wrap_PLGraphicsIn_wX_get(lua_State *L)
static swig_cast_info * swig_cast_initial[]
static int _wrap_PLGraphicsIn_button_get(lua_State *L)
static int _wrap_PLGraphicsIn_keysym_get(lua_State *L)
static swig_type_info _swigt__p_f_double_double_p_double_p_double_p_void__void
static int _wrap_PLGraphicsIn_subwindow_get(lua_State *L)
static int _wrap_plend(lua_State *L)
static swig_cast_info _swigc__p_f_double_double__int[]
static swig_cast_info _swigc__p_int[]
SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb)
static swig_cast_info _swigc__p_double[]
#define SWIGTYPE_p_PLGraphicsIn
static int _wrap_plGetCursor(lua_State *L)
void(* label_func)(PLINT, PLFLT, char *, PLINT, PLPointer)
static int _wrap_PLGraphicsIn_pY_set(lua_State *L)
#define SWIG_RuntimeError
SWIGINTERN int SWIG_CastCmpStruct(const void *pa, const void *pb)
void(* mapform_func)(PLINT, PLFLT *, PLFLT *)
void(* pltr_func)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer)
static swig_cast_info _swigc__p_f_double_double_p_double_p_double_p_void__void[]
static int _wrap_PLGraphicsIn_state_get(lua_State *L)
static int _wrap_new_PLGraphicsIn(lua_State *L)
static int _wrap_PLGraphicsIn_dX_get(lua_State *L)
static int _wrap_PLGraphicsIn_pY_get(lua_State *L)
static swig_type_info * swig_types[13]
static int _wrap_plResetOpts(lua_State *L)
static swig_cast_info _swigc__p_f_int_p_double_p_double__void[]
#define SWIG_AttributeError
static int _wrap_plot3dcl(lua_State *L)
static int _wrap_plOptUsage(lua_State *L)
static swig_module_info swig_module
static int _wrap_PLGraphicsIn_state_set(lua_State *L)
static swig_type_info _swigt__p_double
#define SWIG_INIT_CLIENT_DATA_TYPE
#define SWIG_POINTER_RELEASE
static int _wrap_PLGraphicsIn_string_get(lua_State *L)
static swig_type_info _swigt__p_p_char
static int _wrap_plend1(lua_State *L)
static swig_type_info _swigt__p_p_double
#define SWIG_POINTER_CLEAR
static int _wrap_PLGraphicsIn_string_set(lua_State *L)
PLFLT(* f2eval_func)(PLINT, PLINT, PLPointer)
static int _wrap_plClearOpts(lua_State *L)
static swig_cast_info _swigc__p_char[]
static int _wrap_plot3d(lua_State *L)
static swig_type_info _swigt__p_f_int_p_q_const__double_p_q_const__double__void
PLINT(* defined_func)(PLFLT, PLFLT)
static swig_cast_info _swigc__p_p_double[]
static int _wrap_PLGraphicsIn_keysym_set(lua_State *L)
static int _wrap_PLGraphicsIn_dY_get(lua_State *L)
void(* ct_func)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer)
#define SWIG_POINTER_NO_NULL
static int _wrap_PLGraphicsIn_type_get(lua_State *L)
struct swig_type_info *(* swig_dycast_func)(void **)
#define SWIG_NullReferenceError
static int _wrap_PLGraphicsIn_type_set(lua_State *L)
#define SWIG_POINTER_DISOWN
static swig_type_info _swigt__p_PLGraphicsIn
static swig_type_info _swigt__p_f_double_double__int
static int _wrap_PLGraphicsIn_subwindow_set(lua_State *L)
static int _wrap_plot3dc(lua_State *L)
static int _wrap_PLGraphicsIn_wY_get(lua_State *L)
static int _wrap_PLGraphicsIn_dX_set(lua_State *L)
static int _wrap_PLGraphicsIn_wX_set(lua_State *L)
static swig_cast_info _swigc__p_unsigned_int[]
static swig_type_info _swigt__p_int
static swig_cast_info _swigc__p_f_int_double_p_char_int_p_void__void[]
static int _wrap_plSetUsage(lua_State *L)
static int _wrap_PLGraphicsIn_pX_set(lua_State *L)
#define SWIG_ERROR_RELEASE_NOT_OWNED
static swig_type_info _swigt__p_unsigned_int
#define SWIG_CAST_NEW_MEMORY
static swig_type_info _swigt__p_f_int_p_double_p_double__void
#define SWIGTYPE_p_unsigned_int
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_DivisionByZero
#define SWIGTYPE_p_double
static swig_type_info _swigt__p_char
#define SWIG_OverflowError
void(* fill_func)(PLINT, const PLFLT *, const PLFLT *)
static int _wrap_PLGraphicsIn_dY_set(lua_State *L)
static swig_cast_info _swigc__p_f_int_p_q_const__double_p_q_const__double__void[]
static int _wrap_PLGraphicsIn_wY_set(lua_State *L)
#define SWIGRUNTIMEINLINE
PyObject_HEAD void * pack
struct swig_cast_info * next
swig_converter_func converter
PyObject *(* get_attr)(void)
struct swig_globalvar * next
int(* set_attr)(PyObject *)
swig_cast_info ** cast_initial
swig_type_info ** type_initial
struct swig_module_info * next
struct swig_cast_info * cast
PyObject_HEAD swig_globalvar * vars
static tclMatrixXtnsnDescr * tail
static tclMatrixXtnsnDescr * head