12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
20 #ifndef SWIGTEMPLATEDISAMBIGUATOR
21 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
22 # define SWIGTEMPLATEDISAMBIGUATOR template
23 # elif defined(__HP_aCC)
26 # define SWIGTEMPLATEDISAMBIGUATOR template
28 # define SWIGTEMPLATEDISAMBIGUATOR
34 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
35 # define SWIGINLINE inline
43 # if defined(__GNUC__)
44 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
45 # define SWIGUNUSED __attribute__ ((__unused__))
50 # define SWIGUNUSED __attribute__ ((__unused__))
56 #ifndef SWIG_MSC_UNSUPPRESS_4505
57 # if defined(_MSC_VER)
58 # pragma warning(disable : 4505)
62 #ifndef SWIGUNUSEDPARM
64 # define SWIGUNUSEDPARM(p)
66 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
72 # define SWIGINTERN static SWIGUNUSED
76 #ifndef SWIGINTERNINLINE
77 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
81 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
82 # ifndef GCC_HASCLASSVISIBILITY
83 # define GCC_HASCLASSVISIBILITY
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # if defined(STATIC_LINKED)
92 # define SWIGEXPORT __declspec(dllexport)
95 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
96 # define SWIGEXPORT __attribute__ ((visibility("default")))
105 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
106 # define SWIGSTDCALL __stdcall
113 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
114 # define _CRT_SECURE_NO_DEPRECATE
118 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
119 # define _SCL_SECURE_NO_DEPRECATE
124 #if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG)
142 #define SWIG_RUNTIME_VERSION "4"
145 #ifdef SWIG_TYPE_TABLE
146 # define SWIG_QUOTE_STRING(x) #x
147 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
148 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
150 # define SWIG_TYPE_TABLE_NAME
163 # define SWIGRUNTIME SWIGINTERN
166 #ifndef SWIGRUNTIMEINLINE
167 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
171 #ifndef SWIG_BUFFER_SIZE
172 # define SWIG_BUFFER_SIZE 1024
176 #define SWIG_POINTER_DISOWN 0x1
177 #define SWIG_CAST_NEW_MEMORY 0x2
180 #define SWIG_POINTER_OWN 0x1
263 #define SWIG_ERROR (-1)
264 #define SWIG_IsOK(r) (r >= 0)
265 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
268 #define SWIG_CASTRANKLIMIT (1 << 8)
270 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
272 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
274 #define SWIG_BADOBJ (SWIG_ERROR)
275 #define SWIG_OLDOBJ (SWIG_OK)
276 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
277 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
279 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
280 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
281 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
282 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
283 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
284 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
287 #if defined(SWIG_CASTRANK_MODE)
288 # ifndef SWIG_TypeRank
289 # define SWIG_TypeRank unsigned long
291 # ifndef SWIG_MAXCASTRANK
292 # define SWIG_MAXCASTRANK (2)
294 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
295 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
300 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
303 # define SWIG_AddCast(r) (r)
304 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
314 typedef void *(*swig_converter_func)(
void *,
int *);
356 const char *f2,
const char *l2) {
357 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
358 while ((*f1 ==
' ') && (f1 != l1)) ++f1;
359 while ((*f2 ==
' ') && (f2 != l2)) ++f2;
360 if (*f1 != *f2)
return (*f1 > *f2) ? 1 : -1;
362 return (
int)((l1 - f1) - (l2 - f2));
372 const char* te = tb + strlen(tb);
374 while (equiv != 0 && *ne) {
375 for (nb = ne; *ne; ++ne) {
376 if (*ne ==
'|')
break;
401 if (strcmp(iter->
type->
name, c) == 0) {
402 if (iter == ty->
cast)
428 if (iter->
type == from) {
429 if (iter == ty->
cast)
461 if (!ty || !ty->
dcast)
return ty;
462 while (ty && (ty->
dcast)) {
463 ty = (*ty->
dcast)(ptr);
487 if (!type)
return NULL;
488 if (type->
str != NULL) {
489 const char *last_name = type->
str;
491 for (s = type->
str; *s; s++)
492 if (*s ==
'|') last_name = s+1;
539 register size_t l = 0;
540 register size_t r = iter->
size - 1;
543 register size_t i = (l + r) >> 1;
544 const char *iname = iter->
types[i]->
name;
546 register int compare = strcmp(name, iname);
548 return iter->
types[i];
549 }
else if (compare < 0) {
555 }
else if (compare > 0) {
564 }
while (iter != end);
590 register size_t i = 0;
591 for (; i < iter->
size; ++i) {
593 return iter->
types[i];
596 }
while (iter != end);
608 static const char hex[17] =
"0123456789abcdef";
609 register const unsigned char *u = (
unsigned char *) ptr;
610 register const unsigned char *eu = u + sz;
611 for (; u != eu; ++u) {
612 register unsigned char uu = *u;
613 *(c++) = hex[(uu & 0xf0) >> 4];
614 *(c++) = hex[uu & 0xf];
624 register unsigned char *u = (
unsigned char *) ptr;
625 register const unsigned char *eu = u + sz;
626 for (; u != eu; ++u) {
627 register char d = *(c++);
628 register unsigned char uu;
629 if ((d >=
'0') && (d <=
'9'))
630 uu = ((d -
'0') << 4);
631 else if ((d >=
'a') && (d <=
'f'))
632 uu = ((d - (
'a'-10)) << 4);
636 if ((d >=
'0') && (d <=
'9'))
638 else if ((d >=
'a') && (d <=
'f'))
639 uu |= (d - (
'a'-10));
653 if ((2*
sizeof(
void *) + 2) > bsz)
return 0;
656 if (strlen(name) + 1 > (bsz - (r - buff)))
return 0;
664 if (strcmp(c,
"NULL") == 0) {
677 size_t lname = (name ? strlen(name) : 0);
678 if ((2*sz + 2 + lname) > bsz)
return 0;
682 strncpy(r,name,lname+1);
692 if (strcmp(c,
"NULL") == 0) {
707 #define SWIG_UnknownError -1
708 #define SWIG_IOError -2
709 #define SWIG_RuntimeError -3
710 #define SWIG_IndexError -4
711 #define SWIG_TypeError -5
712 #define SWIG_DivisionByZero -6
713 #define SWIG_OverflowError -7
714 #define SWIG_SyntaxError -8
715 #define SWIG_ValueError -9
716 #define SWIG_SystemError -10
717 #define SWIG_AttributeError -11
718 #define SWIG_MemoryError -12
719 #define SWIG_NullReferenceError -13
724 #if PY_VERSION_HEX >= 0x03000000
726 #define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type)
727 #define PyInt_Check(x) PyLong_Check(x)
728 #define PyInt_AsLong(x) PyLong_AsLong(x)
729 #define PyInt_FromLong(x) PyLong_FromLong(x)
730 #define PyInt_FromSize_t(x) PyLong_FromSize_t(x)
731 #define PyString_Check(name) PyBytes_Check(name)
732 #define PyString_FromString(x) PyUnicode_FromString(x)
733 #define PyString_Format(fmt, args) PyUnicode_Format(fmt, args)
734 #define PyString_AsString(str) PyBytes_AsString(str)
735 #define PyString_Size(str) PyBytes_Size(str)
736 #define PyString_InternFromString(key) PyUnicode_InternFromString(key)
737 #define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE
738 #define PyString_AS_STRING(x) PyUnicode_AS_STRING(x)
739 #define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x)
744 # define Py_TYPE(op) ((op)->ob_type)
749 #if PY_VERSION_HEX >= 0x03000000
750 # define SWIG_Python_str_FromFormat PyUnicode_FromFormat
752 # define SWIG_Python_str_FromFormat PyString_FromFormat
762 #if PY_VERSION_HEX >= 0x03000000
766 str = PyUnicode_AsUTF8String(str);
767 PyBytes_AsStringAndSize(str, &cstr, &len);
768 newstr = (
char *) malloc(len+1);
769 memcpy(newstr, cstr, len+1);
773 return PyString_AsString(str);
777 #if PY_VERSION_HEX >= 0x03000000
778 # define SWIG_Python_str_DelForPy3(x) free( (void*) (x) )
780 # define SWIG_Python_str_DelForPy3(x)
787 #if PY_VERSION_HEX >= 0x03000000
788 return PyUnicode_FromString(c);
790 return PyString_FromString(c);
795 #if PY_VERSION_HEX < 0x02020000
796 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
797 # define PyOS_snprintf _snprintf
799 # define PyOS_snprintf snprintf
804 #if PY_VERSION_HEX < 0x02020000
806 #ifndef SWIG_PYBUFFER_SIZE
807 # define SWIG_PYBUFFER_SIZE 1024
816 res = vsnprintf(buf,
sizeof(buf), fmt, ap);
818 return (res < 0 || res >= (
int)
sizeof(buf)) ? 0 : PyString_FromString(buf);
823 #if PY_VERSION_HEX < 0x01060000
824 # define PyObject_Del(op) PyMem_DEL((op))
827 # define PyObject_DEL PyObject_Del
831 #if PY_VERSION_HEX < 0x02020000
832 # ifndef PyExc_StopIteration
833 # define PyExc_StopIteration PyExc_RuntimeError
835 # ifndef PyObject_GenericGetAttr
836 # define PyObject_GenericGetAttr 0
841 #if PY_VERSION_HEX < 0x02010000
842 # ifndef Py_NotImplemented
843 # define Py_NotImplemented PyExc_RuntimeError
848 #if PY_VERSION_HEX < 0x02010000
849 # ifndef PyString_AsStringAndSize
850 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
855 #if PY_VERSION_HEX < 0x02000000
856 # ifndef PySequence_Size
857 # define PySequence_Size PySequence_Length
862 #if PY_VERSION_HEX < 0x02030000
866 PyObject *result = ok ? Py_True : Py_False;
875 #if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
877 # define PY_SSIZE_T_MAX INT_MAX
878 # define PY_SSIZE_T_MIN INT_MIN
891 PyObject *i = PyNumber_Int(x);
893 result = PyInt_AsLong(i);
900 #if PY_VERSION_HEX < 0x02050000
901 #define PyInt_FromSize_t(x) PyInt_FromLong((long)x)
904 #if PY_VERSION_HEX < 0x02040000
905 #define Py_VISIT(op) \
908 int vret = visit((op), arg); \
915 #if PY_VERSION_HEX < 0x02030000
926 #if PY_VERSION_HEX < 0x02030000
930 #if ((PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION > 6) || \
931 (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION > 0) || \
932 (PY_MAJOR_VERSION > 3))
933 # define SWIGPY_USE_CAPSULE
934 # define SWIGPY_CAPSULE_NAME ((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME)
937 #if PY_VERSION_HEX < 0x03020000
938 #define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
939 #define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
951 type = PyExc_MemoryError;
954 type = PyExc_IOError;
957 type = PyExc_RuntimeError;
960 type = PyExc_IndexError;
963 type = PyExc_TypeError;
966 type = PyExc_ZeroDivisionError;
969 type = PyExc_OverflowError;
972 type = PyExc_SyntaxError;
975 type = PyExc_ValueError;
978 type = PyExc_SystemError;
981 type = PyExc_AttributeError;
984 type = PyExc_RuntimeError;
995 PyObject *traceback = 0;
997 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
1000 PyObject *old_str = PyObject_Str(value);
1009 PyErr_SetString(PyExc_RuntimeError, mesg);
1013 #if defined(SWIG_PYTHON_NO_THREADS)
1014 # if defined(SWIG_PYTHON_THREADS)
1015 # undef SWIG_PYTHON_THREADS
1018 #if defined(SWIG_PYTHON_THREADS)
1019 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
1020 # if (PY_VERSION_HEX >= 0x02030000)
1021 # define SWIG_PYTHON_USE_GIL
1024 # if defined(SWIG_PYTHON_USE_GIL)
1025 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
1026 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
1029 class SWIG_Python_Thread_Block {
1031 PyGILState_STATE state;
1033 void end() {
if (status) { PyGILState_Release(state); status =
false;} }
1034 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
1035 ~SWIG_Python_Thread_Block() { end(); }
1037 class SWIG_Python_Thread_Allow {
1039 PyThreadState *save;
1041 void end() {
if (status) { PyEval_RestoreThread(save); status =
false; }}
1042 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
1043 ~SWIG_Python_Thread_Allow() { end(); }
1045 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
1046 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
1047 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
1048 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
1050 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
1051 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
1052 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
1053 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
1056 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
1057 # define SWIG_PYTHON_INITIALIZE_THREADS
1059 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
1060 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1062 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
1063 # define SWIG_PYTHON_THREAD_END_BLOCK
1065 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
1066 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1068 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
1069 # define SWIG_PYTHON_THREAD_END_ALLOW
1073 # define SWIG_PYTHON_INITIALIZE_THREADS
1074 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1075 # define SWIG_PYTHON_THREAD_END_BLOCK
1076 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1077 # define SWIG_PYTHON_THREAD_END_ALLOW
1093 #define SWIG_PY_POINTER 4
1094 #define SWIG_PY_BINARY 5
1111 #if PY_VERSION_HEX >= 0x03000000
1114 return PyInstanceMethod_New(func);
1140 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1141 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
1142 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
1144 #ifdef SWIGPYTHON_BUILTIN
1145 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
1147 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1150 #define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1152 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
1153 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
1154 #define swig_owntype int
1157 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1158 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1161 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1162 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1165 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1166 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(NULL, ptr, type, 0)
1169 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1170 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1175 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule(clientdata)
1176 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1177 #define SWIG_NewClientData(obj) SwigPyClientData_New(obj)
1179 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1180 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1181 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1182 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1183 #define SWIG_fail goto fail
1193 PyErr_SetObject(errtype, obj);
1201 PyErr_SetString(errtype, msg);
1205 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1209 #if defined(SWIGPYTHON_BUILTIN)
1212 SwigPyBuiltin_AddPublicSymbol(PyObject *seq,
const char *key) {
1213 PyObject *s = PyString_InternFromString(key);
1214 PyList_Append(seq, s);
1220 #if PY_VERSION_HEX < 0x02030000
1221 PyDict_SetItemString(d, (
char *)name, obj);
1223 PyDict_SetItemString(d, name, obj);
1226 if (public_interface)
1227 SwigPyBuiltin_AddPublicSymbol(public_interface, name);
1234 #if PY_VERSION_HEX < 0x02030000
1235 PyDict_SetItemString(d, (
char *)name, obj);
1237 PyDict_SetItemString(d, name, obj);
1248 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1251 }
else if (result == Py_None) {
1255 if (!PyList_Check(result)) {
1256 PyObject *o2 = result;
1257 result = PyList_New(1);
1258 PyList_SetItem(result, 0, o2);
1260 PyList_Append(result,obj);
1269 }
else if (result == Py_None) {
1273 if (!PyTuple_Check(result)) {
1275 result = PyTuple_New(1);
1276 PyTuple_SET_ITEM(result, 0, o2);
1278 o3 = PyTuple_New(1);
1279 PyTuple_SET_ITEM(o3, 0, obj);
1281 result = PySequence_Concat(o2, o3);
1298 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got none",
1299 name, (min == max ?
"" :
"at least "), (
int)min);
1303 if (!PyTuple_Check(args)) {
1304 if (min <= 1 && max >= 1) {
1307 for (i = 1; i <
max; ++i) {
1312 PyErr_SetString(PyExc_SystemError,
"UnpackTuple() argument list is not a tuple");
1315 register Py_ssize_t l = PyTuple_GET_SIZE(args);
1317 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got %d",
1318 name, (min == max ?
"" :
"at least "), (
int)min, (
int)l);
1320 }
else if (l > max) {
1321 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got %d",
1322 name, (min == max ?
"" :
"at most "), (
int)max, (
int)l);
1326 for (i = 0; i < l; ++i) {
1327 objs[i] = PyTuple_GET_ITEM(args, i);
1329 for (; l <
max; ++l) {
1338 #if PY_VERSION_HEX >= 0x02020000
1339 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1341 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1349 #define SWIG_STATIC_POINTER(var) var
1351 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1359 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1360 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1362 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1364 #define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2)
1365 #define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN)
1372 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1373 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1374 # ifndef SWIG_PYTHON_BUILD_NONE
1375 # define SWIG_PYTHON_BUILD_NONE
1380 #ifdef SWIG_PYTHON_BUILD_NONE
1383 # define Py_None SWIG_Py_None()
1388 PyObject *none = Py_BuildValue((
char*)
"");
1405 PyObject *none = Py_None;
1432 PyObject *klass = data ? data->
klass : 0;
1433 return (klass ? klass : PyExc_RuntimeError);
1446 Py_INCREF(data->
klass);
1448 if (PyClass_Check(obj)) {
1453 #if (PY_VERSION_HEX < 0x02020000)
1456 data->
newraw = PyObject_GetAttrString(data->
klass, (
char *)
"__new__");
1460 data->
newargs = PyTuple_New(1);
1461 PyTuple_SetItem(data->
newargs, 0, obj);
1468 data->
destroy = PyObject_GetAttrString(data->
klass, (
char *)
"__swig_destroy__");
1469 if (PyErr_Occurred()) {
1476 flags = PyCFunction_GET_FLAGS(data->
destroy);
1478 data->
delargs = !(flags & (METH_O));
1493 Py_XDECREF(data->
newraw);
1506 #ifdef SWIGPYTHON_BUILTIN
1514 return PyLong_FromVoidPtr(v->
ptr);
1520 PyObject *res = NULL;
1521 PyObject *args = PyTuple_New(1);
1526 #if PY_VERSION_HEX >= 0x03000000
1527 res = PyUnicode_Format(ofmt,args);
1529 res = PyString_Format(ofmt,args);
1566 # if PY_VERSION_HEX >= 0x03000000
1567 PyObject *joined = PyUnicode_Concat(repr, nrep);
1572 PyString_ConcatAndDel(&repr,nrep);
1583 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1591 if( op != Py_EQ && op != Py_NE ) {
1602 #ifdef SWIGPYTHON_BUILTIN
1607 assert(SwigPyObject_stype);
1623 #ifdef SWIGPYTHON_BUILTIN
1625 if (PyType_IsSubtype(op->ob_type, target_tp))
1627 return (strcmp(op->ob_type->tp_name,
"SwigPyObject") == 0);
1630 || (strcmp(
Py_TYPE(op)->tp_name,
"SwigPyObject") == 0);
1641 PyObject *next = sobj->
next;
1645 PyObject *destroy = data ? data->
destroy : 0;
1655 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1656 PyObject *mself = PyCFunction_GET_SELF(destroy);
1657 res = ((*meth)(mself, v));
1661 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1664 printf(
"swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name :
"unknown"));
1678 if (!PyArg_ParseTuple(next,(
char *)
"O:append", &tmp))
return NULL;
1698 Py_INCREF(sobj->
next);
1733 #if (PY_VERSION_HEX < 0x02020000)
1734 if (!PyArg_ParseTuple(args,(
char *)
"|O:own",&val))
1735 #elif (PY_VERSION_HEX < 0x02050000)
1736 if (!PyArg_UnpackTuple(args, (
char *)
"own", 0, 1, &val))
1738 if (!PyArg_UnpackTuple(args,
"own", 0, 1, &val))
1749 if (PyObject_IsTrue(val)) {
1755 if (PyObject_IsTrue(val)) {
1769 {(
char *)
"disown", (PyCFunction)
SwigPyObject_disown, METH_NOARGS, (
char *)
"releases ownership of the pointer"},
1770 {(
char *)
"acquire", (PyCFunction)
SwigPyObject_acquire, METH_NOARGS, (
char *)
"acquires ownership of the pointer"},
1771 {(
char *)
"own", (PyCFunction)
SwigPyObject_own, METH_VARARGS, (
char *)
"returns/sets ownership of the pointer"},
1772 {(
char *)
"append", (PyCFunction)
SwigPyObject_append, METH_O, (
char *)
"appends another 'this' object"},
1773 {(
char *)
"next", (PyCFunction)
SwigPyObject_next, METH_NOARGS, (
char *)
"returns the next 'this' object"},
1774 {(
char *)
"__repr__",(PyCFunction)
SwigPyObject_repr, METH_NOARGS, (
char *)
"returns object representation"},
1779 swigobject_methods[] = {
1780 {(
char *)
"disown", (PyCFunction)
SwigPyObject_disown, METH_VARARGS, (
char *)
"releases ownership of the pointer"},
1781 {(
char *)
"acquire", (PyCFunction)
SwigPyObject_acquire, METH_VARARGS, (
char *)
"aquires ownership of the pointer"},
1782 {(
char *)
"own", (PyCFunction)
SwigPyObject_own, METH_VARARGS, (
char *)
"returns/sets ownership of the pointer"},
1783 {(
char *)
"append", (PyCFunction)
SwigPyObject_append, METH_VARARGS, (
char *)
"appends another 'this' object"},
1784 {(
char *)
"next", (PyCFunction)
SwigPyObject_next, METH_VARARGS, (
char *)
"returns the next 'this' object"},
1785 {(
char *)
"__repr__",(PyCFunction)
SwigPyObject_repr, METH_VARARGS, (
char *)
"returns object representation"},
1790 #if PY_VERSION_HEX < 0x02020000
1794 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1800 static char swigobject_doc[] =
"Swig object carries a C/C++ instance pointer";
1802 static PyNumberMethods SwigPyObject_as_number = {
1807 #
if PY_VERSION_HEX < 0x03000000
1823 #
if PY_VERSION_HEX < 0x03000000
1827 #if PY_VERSION_HEX < 0x03000000
1833 #if PY_VERSION_HEX < 0x03000000
1837 #if PY_VERSION_HEX >= 0x03000000
1838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1839 #elif PY_VERSION_HEX >= 0x02050000
1840 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1841 #elif PY_VERSION_HEX >= 0x02020000
1842 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1843 #elif PY_VERSION_HEX >= 0x02000000
1844 0,0,0,0,0,0,0,0,0,0,0
1848 static PyTypeObject swigpyobject_type;
1849 static int type_init = 0;
1851 const PyTypeObject tmp = {
1853 #if PY_VERSION_HEX >= 0x03000000
1854 PyVarObject_HEAD_INIT(NULL, 0)
1856 PyObject_HEAD_INIT(NULL)
1859 (
char *)
"SwigPyObject",
1864 #
if PY_VERSION_HEX < 0x02020000
1870 #if PY_VERSION_HEX >= 0x03000000
1876 &SwigPyObject_as_number,
1891 #
if PY_VERSION_HEX >= 0x02020000
1913 #
if PY_VERSION_HEX >= 0x02030000
1916 #
if PY_VERSION_HEX >= 0x02060000
1923 swigpyobject_type = tmp;
1925 #if PY_VERSION_HEX < 0x02020000
1926 swigpyobject_type.ob_type = &PyType_Type;
1928 if (PyType_Ready(&swigpyobject_type) < 0)
1932 return &swigpyobject_type;
1945 return (PyObject *)sobj;
1963 fputs(
"<Swig Packed ", fp);
2000 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
2001 return s ? s : strncmp((
char *)v->
pack, (
char *)w->
pack, 2*v->
size);
2015 || (strcmp((op)->ob_type->tp_name,
"SwigPyPacked") == 0);
2030 static char swigpacked_doc[] =
"Swig object carries a C/C++ instance pointer";
2031 static PyTypeObject swigpypacked_type;
2032 static int type_init = 0;
2034 const PyTypeObject tmp = {
2036 #if PY_VERSION_HEX>=0x03000000
2037 PyVarObject_HEAD_INIT(NULL, 0)
2039 PyObject_HEAD_INIT(NULL)
2042 (
char *)
"SwigPyPacked",
2049 #if PY_VERSION_HEX>=0x03000000
2070 #
if PY_VERSION_HEX >= 0x02020000
2092 #
if PY_VERSION_HEX >= 0x02030000
2095 #
if PY_VERSION_HEX >= 0x02060000
2102 swigpypacked_type = tmp;
2104 #if PY_VERSION_HEX < 0x02020000
2105 swigpypacked_type.ob_type = &PyType_Type;
2107 if (PyType_Ready(&swigpypacked_type) < 0)
2111 return &swigpypacked_type;
2119 void *pack = malloc(size);
2121 memcpy(pack, ptr, size);
2130 return (PyObject *) sobj;
2138 if (sobj->
size != size)
return 0;
2139 memcpy(ptr, sobj->
pack, size);
2161 if (swig_this == NULL)
2169 #if PY_VERSION_HEX>=0x03000000
2170 #define SWIG_PYTHON_SLOW_GETSET_THIS
2181 #ifdef SWIGPYTHON_BUILTIN
2183 # ifdef PyWeakref_CheckProxy
2184 if (PyWeakref_CheckProxy(pyobj)) {
2185 pyobj = PyWeakref_GET_OBJECT(pyobj);
2195 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
2196 if (PyInstance_Check(pyobj)) {
2197 obj = _PyInstance_Lookup(pyobj,
SWIG_This());
2199 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
2200 if (dictptr != NULL) {
2201 PyObject *dict = *dictptr;
2202 obj = dict ? PyDict_GetItem(dict,
SWIG_This()) : 0;
2204 #ifdef PyWeakref_CheckProxy
2205 if (PyWeakref_CheckProxy(pyobj)) {
2206 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
2210 obj = PyObject_GetAttr(pyobj,
SWIG_This());
2214 if (PyErr_Occurred()) PyErr_Clear();
2220 obj = PyObject_GetAttr(pyobj,
SWIG_This());
2224 if (PyErr_Occurred()) PyErr_Clear();
2244 int oldown = sobj->
own;
2262 if (obj == Py_None && !implicit_conv) {
2274 void *vptr = sobj->
ptr;
2279 if (ptr) *ptr = vptr;
2299 if (ptr) *ptr = vptr;
2305 *own = *own | sobj->
own;
2311 if (implicit_conv) {
2314 PyObject *klass = data->
klass;
2320 if (PyErr_Occurred()) {
2346 if (!
SWIG_IsOK(res) && obj == Py_None) {
2349 if (PyErr_Occurred())
2361 if (!PyCFunction_Check(obj)) {
2367 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2368 const char *desc = doc ? strstr(doc,
"swig_ptr: ") : 0;
2417 #if (PY_VERSION_HEX >= 0x02020000)
2419 PyObject *newraw = data->
newraw;
2421 inst = PyObject_Call(newraw, data->
newargs, NULL);
2423 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2424 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2425 if (dictptr != NULL) {
2426 PyObject *dict = *dictptr;
2428 dict = PyDict_New();
2430 PyDict_SetItem(dict,
SWIG_This(), swig_this);
2435 PyObject_SetAttr(inst, key, swig_this);
2439 #if PY_VERSION_HEX >= 0x03000000
2440 inst = PyBaseObject_Type.tp_new((PyTypeObject*) data->
newargs, Py_None, Py_None);
2442 PyObject_SetAttr(inst,
SWIG_This(), swig_this);
2443 Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
2446 PyObject *dict = PyDict_New();
2448 PyDict_SetItem(dict,
SWIG_This(), swig_this);
2449 inst = PyInstance_NewRaw(data->
newargs, dict);
2456 #if (PY_VERSION_HEX >= 0x02010000)
2458 PyObject *dict = PyDict_New();
2460 PyDict_SetItem(dict,
SWIG_This(), swig_this);
2461 inst = PyInstance_NewRaw(data->
newargs, dict);
2464 return (PyObject *) inst;
2466 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2470 inst->in_class = (PyClassObject *)data->
newargs;
2471 Py_INCREF(inst->in_class);
2472 inst->in_dict = PyDict_New();
2473 if (inst->in_dict == NULL) {
2477 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2478 inst->in_weakreflist = NULL;
2480 #ifdef Py_TPFLAGS_GC
2481 PyObject_GC_Init(inst);
2483 PyDict_SetItem(inst->in_dict,
SWIG_This(), swig_this);
2484 return (PyObject *) inst;
2493 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2494 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2495 if (dictptr != NULL) {
2498 dict = PyDict_New();
2501 PyDict_SetItem(dict,
SWIG_This(), swig_this);
2505 dict = PyObject_GetAttrString(inst, (
char*)
"__dict__");
2506 PyDict_SetItem(dict,
SWIG_This(), swig_this);
2540 if (clientdata && clientdata->
pytype) {
2545 PyObject *next_self = clientdata->
pytype->tp_alloc(clientdata->
pytype, 0);
2546 while (newobj->
next)
2548 newobj->
next = next_self;
2559 #ifdef SWIGPYTHON_BUILTIN
2562 return (PyObject*) newobj;
2589 #ifdef SWIG_LINK_RUNTIME
2590 void *SWIG_ReturnGlobalTypeList(
void *);
2595 static void *type_pointer = (
void *)0;
2597 if (!type_pointer) {
2598 #ifdef SWIG_LINK_RUNTIME
2599 type_pointer = SWIG_ReturnGlobalTypeList((
void *)0);
2601 # ifdef SWIGPY_USE_CAPSULE
2602 type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0);
2607 if (PyErr_Occurred()) {
2609 type_pointer = (
void *)0;
2616 #if PY_MAJOR_VERSION < 2
2623 if (!PyModule_Check(m)) {
2624 PyErr_SetString(PyExc_TypeError,
2625 "PyModule_AddObject() needs module as first arg");
2629 PyErr_SetString(PyExc_TypeError,
2630 "PyModule_AddObject() needs non-NULL value");
2634 dict = PyModule_GetDict(m);
2637 PyErr_Format(PyExc_SystemError,
"module '%s' has no __dict__",
2638 PyModule_GetName(m));
2641 if (PyDict_SetItemString(dict, name, o))
2649 #ifdef SWIGPY_USE_CAPSULE
2655 #ifdef SWIGPY_USE_CAPSULE
2662 for (i =0; i < swig_module->
size; ++i) {
2675 #if PY_VERSION_HEX >= 0x03000000
2679 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };
2680 PyObject *module = Py_InitModule((
char*)
"swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table);
2682 #ifdef SWIGPY_USE_CAPSULE
2684 if (pointer && module) {
2687 Py_XDECREF(pointer);
2691 if (pointer && module) {
2694 Py_XDECREF(pointer);
2711 PyObject *obj = PyDict_GetItem(cache, key);
2714 #ifdef SWIGPY_USE_CAPSULE
2723 #ifdef SWIGPY_USE_CAPSULE
2724 obj = PyCapsule_New((
void*) descriptor, NULL, NULL);
2726 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2728 PyDict_SetItem(cache, key, obj);
2739 #define SWIG_POINTER_EXCEPTION 0
2740 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2741 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2746 if (PyErr_Occurred()) {
2748 PyObject *
value = 0;
2749 PyObject *traceback = 0;
2750 PyErr_Fetch(&type, &value, &traceback);
2753 PyObject *old_str = PyObject_Str(value);
2773 if (PyErr_Occurred()) {
2776 PyOS_snprintf(mesg,
sizeof(mesg),
"argument number %d:", argnum);
2788 return ty ? ty->
str :
"";
2795 #if defined(SWIG_COBJECT_TYPES)
2799 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, 'SwigPyObject(%s)' is received",
2806 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2808 PyObject *str = PyObject_Str(obj);
2811 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, '%s(%s)' is received",
2815 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, '%s' is received",
2822 PyErr_Format(PyExc_TypeError,
"a '%s' is expected", type);
2824 PyErr_Format(PyExc_TypeError,
"unexpected type is received");
2835 #if SWIG_POINTER_EXCEPTION
2845 #ifdef SWIGPYTHON_BUILTIN
2847 SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *
value) {
2848 PyTypeObject *tp = obj->ob_type;
2850 PyObject *encoded_name;
2854 # ifdef Py_USING_UNICODE
2855 if (PyString_Check(name)) {
2856 name = PyUnicode_Decode(PyString_AsString(name), PyString_Size(name), NULL, NULL);
2859 }
else if (!PyUnicode_Check(name))
2861 if (!PyString_Check(name))
2864 PyErr_Format(PyExc_TypeError,
"attribute name must be string, not '%.200s'", name->ob_type->tp_name);
2871 if (PyType_Ready(tp) < 0)
2875 descr = _PyType_Lookup(tp, name);
2878 f = descr->ob_type->tp_descr_set;
2880 if (PyString_Check(name)) {
2881 encoded_name =
name;
2884 encoded_name = PyUnicode_AsUTF8String(name);
2886 PyErr_Format(PyExc_AttributeError,
"'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name));
2887 Py_DECREF(encoded_name);
2889 res = f(descr, obj, value);
2905 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2907 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2913 #define SWIGTYPE_p_PLGraphicsIn swig_types[0]
2914 #define SWIGTYPE_p_PLcGrid swig_types[1]
2915 #define SWIGTYPE_p_PLcGrid2 swig_types[2]
2916 #define SWIGTYPE_p_char swig_types[3]
2917 #define SWIGTYPE_p_double swig_types[4]
2918 #define SWIGTYPE_p_f_double_double__int swig_types[5]
2919 #define SWIGTYPE_p_f_double_double_p_double_p_double_p_void__void swig_types[6]
2920 #define SWIGTYPE_p_f_int_double_p_char_int_p_void__void swig_types[7]
2921 #define SWIGTYPE_p_f_int_p_double_p_double__void swig_types[8]
2922 #define SWIGTYPE_p_f_int_p_q_const__double_p_q_const__double__void swig_types[9]
2923 #define SWIGTYPE_p_int swig_types[10]
2924 #define SWIGTYPE_p_p_char swig_types[11]
2925 #define SWIGTYPE_p_p_double swig_types[12]
2926 #define SWIGTYPE_p_unsigned_int swig_types[13]
2929 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2930 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2934 #if (PY_VERSION_HEX <= 0x02000000)
2935 # if !defined(SWIG_PYTHON_CLASSIC)
2936 # error "This python version requires swig to be run with the '-classic' option"
2943 #if PY_VERSION_HEX >= 0x03000000
2944 # define SWIG_init PyInit__plplotc
2947 # define SWIG_init init_plplotc
2950 #define SWIG_name "_plplotc"
2952 #define SWIGVERSION 0x020012
2953 #define SWIG_VERSION SWIGVERSION
2956 #define SWIG_as_voidptr(a) (void *)((const void *)(a))
2957 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
2960 #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
2961 #include <arrayobject.h>
2965 #define NPY_PLINT NPY_INT32
2968 #define NPY_PLFLT NPY_FLOAT64
2970 #define NPY_PLFLT NPY_FLOAT32
2974 #if !defined ( PySequence_Fast_GET_ITEM )
2975 #define PySequence_Fast_GET_ITEM PySequence_GetItem
2977 #define PySequence_Size PySequence_Length
2988 if (PyFloat_Check(obj)) {
2989 if (val) *val = PyFloat_AsDouble(obj);
2991 }
else if (PyInt_Check(obj)) {
2992 if (val) *val = PyInt_AsLong(obj);
2994 }
else if (PyLong_Check(obj)) {
2995 double v = PyLong_AsDouble(obj);
2996 if (!PyErr_Occurred()) {
3003 #ifdef SWIG_PYTHON_CAST_MODE
3006 double d = PyFloat_AsDouble(obj);
3007 if (!PyErr_Occurred()) {
3014 long v = PyLong_AsLong(obj);
3015 if (!PyErr_Occurred()) {
3028 #define SWIG_From_double PyFloat_FromDouble
3043 return PyInt_FromLong((
long) value);
3048 #if !defined(SWIG_NO_LLONG_MAX)
3049 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
3050 # define LLONG_MAX __LONG_LONG_MAX__
3051 # define LLONG_MIN (-LLONG_MAX - 1LL)
3052 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
3066 if ((min <= x && x <= max)) {
3067 double fx = floor(x);
3068 double cx = ceil(x);
3069 double rd = ((x - fx) < 0.5) ? fx : cx;
3070 if ((errno == EDOM) || (errno == ERANGE)) {
3073 double summ, reps, diff;
3076 }
else if (rd > x) {
3083 if (reps < 8*DBL_EPSILON) {
3096 if (PyInt_Check(obj)) {
3097 if (val) *val = PyInt_AsLong(obj);
3099 }
else if (PyLong_Check(obj)) {
3100 long v = PyLong_AsLong(obj);
3101 if (!PyErr_Occurred()) {
3108 #ifdef SWIG_PYTHON_CAST_MODE
3111 long v = PyInt_AsLong(obj);
3112 if (!PyErr_Occurred()) {
3122 if (val) *val = (long)(d);
3138 if ((v < INT_MIN || v > INT_MAX)) {
3141 if (val) *val = (int)(v);
3151 #if PY_VERSION_HEX < 0x03000000
3152 if (PyInt_Check(obj)) {
3153 long v = PyInt_AsLong(obj);
3162 if (PyLong_Check(obj)) {
3163 unsigned long v = PyLong_AsUnsignedLong(obj);
3164 if (!PyErr_Occurred()) {
3169 #if PY_VERSION_HEX >= 0x03000000
3171 long v = PyLong_AsLong(obj);
3172 if (!PyErr_Occurred()) {
3183 #ifdef SWIG_PYTHON_CAST_MODE
3186 unsigned long v = PyLong_AsUnsignedLong(obj);
3187 if (!PyErr_Occurred()) {
3197 if (val) *val = (
unsigned long)(d);
3213 if ((v > UINT_MAX)) {
3216 if (val) *val = (
unsigned int)(v);
3233 static int init = 0;
3246 #if PY_VERSION_HEX>=0x03000000
3247 if (PyUnicode_Check(obj))
3249 if (PyString_Check(obj))
3253 #if PY_VERSION_HEX>=0x03000000
3254 if (!alloc && cptr) {
3261 obj = PyUnicode_AsUTF8String(obj);
3262 PyBytes_AsStringAndSize(obj, &cstr, &len);
3278 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
3284 *cptr = (
char *)memcpy((
char *)malloc((len + 1)*
sizeof(
char)), cstr,
sizeof(char)*(len + 1));
3292 #if PY_VERSION_HEX>=0x03000000
3298 if (psize) *psize = len + 1;
3299 #if PY_VERSION_HEX>=0x03000000
3305 if (pchar_descriptor) {
3308 if (cptr) *cptr = (
char *) vptr;
3309 if (psize) *psize = vptr ? (strlen((
char *)vptr) + 1) : 0;
3322 char* cptr = 0;
size_t csize = 0;
int alloc =
SWIG_OLDOBJ;
3325 if ((csize == size + 1) && cptr && !(cptr[csize-1])) --csize;
3326 if (csize <= size) {
3328 if (csize) memcpy(val, cptr, csize*
sizeof(
char));
3329 if (csize < size) memset(val + csize, 0, (size - csize)*
sizeof(
char));
3347 if (size > INT_MAX) {
3349 return pchar_descriptor ?
3352 #if PY_VERSION_HEX >= 0x03000000
3353 return PyUnicode_FromStringAndSize(carray, (
int)(size));
3355 return PyString_FromStringAndSize(carray, (
int)(size));
3367 #define t_output_helper SWIG_Python_AppendOutput
3378 if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
3379 if (val) *val = (char)(v);
3397 PyArrayObject* tmp = (PyArrayObject *) PyArray_ContiguousFromObject( in,
NPY_PLINT,
3402 if ( PyArray_Check( in ) )
3405 tmp = (PyArrayObject *) PyArray_Cast( (PyArrayObject *) in,
NPY_PLINT );
3412 #define myArray_ContiguousFromObject PyArray_ContiguousFromObject
3415 PyObject *resultobj = 0;
3418 PLFLT *arg3 = (PLFLT *) 0 ;
3419 PLFLT *arg4 = (PLFLT *) 0 ;
3429 PyObject * obj0 = 0 ;
3430 PyObject * obj1 = 0 ;
3437 if (!PyArg_ParseTuple(args,(
char *)
"OO:pltr0",&obj0,&obj1))
SWIG_fail;
3442 arg1 = (
PLFLT)(val1);
3447 arg2 = (
PLFLT)(val2);
3448 pltr0(arg1,arg2,arg3,arg4,arg5);
3483 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two arrays." );
3490 if ( pltr_xg == 0 || pltr_yg == 0 )
3492 PyErr_SetString( PyExc_ValueError,
"Expected a sequence to two 1D arrays." );
3495 tmpGrid1.
nx = (
PLINT) PyArray_DIMS( pltr_xg )[0];
3496 tmpGrid1.
ny = (
PLINT) PyArray_DIMS( pltr_yg )[0];
3499 if ( Xlen != tmpGrid1.
nx ||
Ylen != tmpGrid1.
ny )
3501 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg." );
3507 if ( Xlen != tmpGrid1.
nx - 1 ||
Ylen != tmpGrid1.
ny - 1 )
3509 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg + 1." );
3513 tmpGrid1.
xg = (PLFLT *) PyArray_DATA( pltr_xg );
3514 tmpGrid1.
yg = (PLFLT *) PyArray_DATA( pltr_yg );
3521 Py_CLEAR( pltr_xg );
3522 Py_CLEAR( pltr_yg );
3531 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two arrays." );
3538 if ( pltr_xg == 0 || pltr_yg == 0 )
3540 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two 2D arrays." );
3543 if ( PyArray_DIMS( pltr_xg )[0] != PyArray_DIMS( pltr_yg )[0] ||
3544 PyArray_DIMS( pltr_xg )[1] != PyArray_DIMS( pltr_yg )[1] )
3546 PyErr_SetString( PyExc_ValueError,
"Arrays must be same size." );
3549 tmpGrid2.
nx = (
PLINT) PyArray_DIMS( pltr_xg )[0];
3550 tmpGrid2.
ny = (
PLINT) PyArray_DIMS( pltr_xg )[1];
3553 if ( Xlen != tmpGrid2.
nx ||
Ylen != tmpGrid2.
ny )
3555 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg." );
3561 if ( Xlen != tmpGrid2.
nx - 1 ||
Ylen != tmpGrid2.
ny - 1 )
3563 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg + 1." );
3568 tmpGrid2.
xg = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) tmpGrid2.
nx );
3569 for ( i = 0; i < tmpGrid2.
nx; i++ )
3570 tmpGrid2.
xg[i] = ( (PLFLT *) PyArray_DATA( pltr_xg ) + i * size );
3571 tmpGrid2.
yg = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) tmpGrid2.
nx );
3572 for ( i = 0; i < tmpGrid2.
nx; i++ )
3573 tmpGrid2.
yg[i] = ( (PLFLT *) PyArray_DATA( pltr_yg ) + i * size );
3580 free( tmpGrid2.
xg );
3581 free( tmpGrid2.
yg );
3582 Py_CLEAR( pltr_xg );
3583 Py_CLEAR( pltr_yg );
3587 PyObject *resultobj = 0;
3590 PLFLT *arg3 = (PLFLT *) 0 ;
3591 PLFLT *arg4 = (PLFLT *) 0 ;
3601 PyObject * obj0 = 0 ;
3602 PyObject * obj1 = 0 ;
3603 PyObject * obj2 = 0 ;
3607 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pltr1",&obj0,&obj1,&obj2))
SWIG_fail;
3612 arg1 = (
PLFLT)(val1);
3617 arg2 = (
PLFLT)(val2);
3623 pltr1(arg1,arg2,arg3,arg4,arg5);
3650 PyObject *resultobj = 0;
3653 PLFLT *arg3 = (PLFLT *) 0 ;
3654 PLFLT *arg4 = (PLFLT *) 0 ;
3664 PyObject * obj0 = 0 ;
3665 PyObject * obj1 = 0 ;
3666 PyObject * obj2 = 0 ;
3670 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pltr2",&obj0,&obj1,&obj2))
SWIG_fail;
3675 arg1 = (
PLFLT)(val1);
3680 arg2 = (
PLFLT)(val2);
3686 pltr2(arg1,arg2,arg3,arg4,arg5);
3715 static PyInterpreterState *save_interp = NULL;
3725 #define MY_BLOCK_THREADS { \
3726 PyThreadState *prev_state, *new_state; \
3729 PyEval_AcquireLock(); \
3730 new_state = PyThreadState_New( save_interp ); \
3731 prev_state = PyThreadState_Swap( new_state );
3732 #define MY_UNBLOCK_THREADS \
3733 new_state = PyThreadState_Swap( prev_state ); \
3734 PyThreadState_Clear( new_state ); \
3735 PyEval_ReleaseLock(); \
3736 PyThreadState_Delete( new_state ); \
3739 #define MY_BLOCK_THREADS
3740 #define MY_UNBLOCK_THREADS
3763 PyObject *pdata, *arglist, *result;
3767 pdata = (PyObject *) data;
3774 Py_XINCREF( pdata );
3779 arglist = Py_BuildValue(
"(ddO)", x, y, pdata );
3781 arglist = Py_BuildValue(
"(ffO)", x, y, pdata );
3783 if ( arglist == NULL )
3785 fprintf( stderr,
"Py_BuildValue failed to make argument list.\n" );
3790 result = PyEval_CallObject( python_pltr, arglist );
3792 Py_CLEAR( arglist );
3794 if ( result == NULL )
3796 fprintf( stderr,
"call to python pltr function with 3 arguments failed\n" );
3797 PyErr_SetString( PyExc_RuntimeError,
"pltr callback must take 3 arguments." );
3803 if ( tmp == 0 || PyArray_DIMS( tmp )[0] != 2 )
3805 fprintf( stderr,
"pltr callback must return a 2 element array or sequence\n" );
3806 PyErr_SetString( PyExc_RuntimeError,
"pltr callback must return a 2-sequence." );
3811 PLFLT* t = (PLFLT *) PyArray_DATA( tmp );
3826 PyObject *pdata, *arglist, *result;
3827 PLFLT fresult = 0.0;
3830 pdata = (PyObject *) data;
3831 if ( python_f2eval )
3833 Py_XINCREF( pdata );
3837 arglist = Py_BuildValue(
"(iiO)", x, y, pdata );
3839 result = PyEval_CallObject( python_f2eval, arglist );
3841 Py_CLEAR( arglist );
3843 if ( !PyFloat_Check( result ) )
3845 fprintf( stderr,
"f2eval callback must return a float\n" );
3846 PyErr_SetString( PyExc_RuntimeError,
"f2eval callback must return a float." );
3851 fresult = (
PLFLT) PyFloat_AsDouble( result );
3863 PyObject *pdata, *arglist, *result, *unicode_string;
3868 pdata = (PyObject *) data;
3873 Py_XINCREF( pdata );
3878 arglist = Py_BuildValue(
"(ldO)", axis, value, pdata );
3880 arglist = Py_BuildValue(
"(lfO)", axis, value, pdata );
3883 result = PyEval_CallObject( python_label, arglist );
3887 if ( result == NULL )
3889 fprintf( stderr,
"label callback failed with 3 arguments\n" );
3890 PyErr_SetString( PyExc_RuntimeError,
"label callback must take 3 arguments." );
3892 else if ( PyString_Check( result ) )
3895 pystring = PyString_AsString( result );
3896 strncpy(
string, pystring, len );
3898 else if ( PyUnicode_Check( result ) )
3901 unicode_string = PyUnicode_AsEncodedString( result,
"utf-8",
"Error ~" );
3902 pystring = PyBytes_AS_STRING( unicode_string );
3904 strncpy(
string, pystring, len );
3908 fprintf( stderr,
"label callback must return a string\n" );
3909 PyErr_SetString( PyExc_RuntimeError,
"label callback must return a string." );
3920 PyObject *px, *py, *pdata, *arglist, *result;
3925 pdata = (PyObject *) data;
3932 Py_XINCREF( pdata );
3936 px = PyArray_SimpleNewFromData( 1, &n,
NPY_PLFLT, (
void *) xt );
3937 py = PyArray_SimpleNewFromData( 1, &n,
NPY_PLFLT, (
void *) yt );
3938 arglist = Py_BuildValue(
"(ddOOO)", x, y, px, py, pdata );
3940 result = PyEval_CallObject( python_ct, arglist );
3942 Py_CLEAR( arglist );
3947 if ( result == NULL )
3949 fprintf( stderr,
"call to python coordinate transform function with 5 arguments failed\n" );
3950 PyErr_SetString( PyExc_RuntimeError,
"coordinate transform callback must take 5 arguments." );
3961 PyObject *px, *py, *arglist, *result;
3968 if ( python_mapform )
3972 #ifdef PL_HAVE_PTHREAD
3973 px = PyArray_SimpleNewFromData( 1, &nn,
NPY_PLFLT, (
void *) x );
3974 py = PyArray_SimpleNewFromData( 1, &nn,
NPY_PLFLT, (
void *) y );
3976 px = PyArray_FromDimsAndData( 1, &n,
NPY_PLFLT, (
char *) x );
3977 py = PyArray_FromDimsAndData( 1, &n,
NPY_PLFLT, (
char *) y );
3979 arglist = Py_BuildValue(
"(iOO)", n, px, py );
3981 result = PyEval_CallObject( python_mapform, arglist );
3983 Py_CLEAR( arglist );
3987 if ( result == NULL )
3989 fprintf( stderr,
"call to python mapform function with 3 arguments failed\n" );
3990 PyErr_SetString( PyExc_RuntimeError,
"mapform callback must take 3 arguments." );
4003 PyObject * rep = PyObject_Repr( input );
4008 if ( PyUnicode_Check( rep ) )
4010 PyObject *uni_str = PyUnicode_AsEncodedString( rep,
"utf-8",
"Error ~" );
4011 str = PyBytes_AS_STRING( uni_str );
4015 str = PyString_AsString( rep );
4017 if ( strcmp( str,
"<built-in function pltr0>" ) == 0 )
4023 else if ( strcmp( str,
"<built-in function pltr1>" ) == 0 )
4029 else if ( strcmp( str,
"<built-in function pltr2>" ) == 0 )
4037 python_pltr = input;
4039 Py_XINCREF( input );
4045 python_pltr = input;
4047 Py_XINCREF( input );
4054 Py_CLEAR( python_pltr );
4063 Py_XINCREF( input );
4069 Py_CLEAR( python_ct );
4077 python_mapform = input;
4078 Py_XINCREF( input );
4084 Py_CLEAR( python_mapform );
4096 if ( input != Py_None )
4100 if ( input != Py_None )
4104 Py_XINCREF( input );
4108 fprintf( stderr,
"pltr_type is invalid\n" );
4126 Py_CLEAR( python_pltr );
4129 fprintf( stderr,
"pltr_type is invalid\n" );
4138 PyObject *resultobj = 0;
4145 PyObject * obj0 = 0 ;
4146 PyObject * obj1 = 0 ;
4148 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_type_set",&obj0,&obj1))
SWIG_fail;
4159 if (arg1) (arg1)->type = arg2;
4168 PyObject *resultobj = 0;
4172 PyObject * obj0 = 0 ;
4175 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_type_get",&obj0))
SWIG_fail;
4181 result = (int) ((arg1)->type);
4190 PyObject *resultobj = 0;
4197 PyObject * obj0 = 0 ;
4198 PyObject * obj1 = 0 ;
4200 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_state_set",&obj0,&obj1))
SWIG_fail;
4210 arg2 = (
unsigned int)(val2);
4211 if (arg1) (arg1)->state = arg2;
4220 PyObject *resultobj = 0;
4224 PyObject * obj0 = 0 ;
4225 unsigned int result;
4227 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_state_get",&obj0))
SWIG_fail;
4233 result = (
unsigned int) ((arg1)->state);
4242 PyObject *resultobj = 0;
4249 PyObject * obj0 = 0 ;
4250 PyObject * obj1 = 0 ;
4252 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_keysym_set",&obj0,&obj1))
SWIG_fail;
4262 arg2 = (
unsigned int)(val2);
4263 if (arg1) (arg1)->keysym = arg2;
4272 PyObject *resultobj = 0;
4276 PyObject * obj0 = 0 ;
4277 unsigned int result;
4279 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_keysym_get",&obj0))
SWIG_fail;
4285 result = (
unsigned int) ((arg1)->keysym);
4294 PyObject *resultobj = 0;
4301 PyObject * obj0 = 0 ;
4302 PyObject * obj1 = 0 ;
4304 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_button_set",&obj0,&obj1))
SWIG_fail;
4314 arg2 = (
unsigned int)(val2);
4315 if (arg1) (arg1)->button = arg2;
4324 PyObject *resultobj = 0;
4328 PyObject * obj0 = 0 ;
4329 unsigned int result;
4331 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_button_get",&obj0))
SWIG_fail;
4337 result = (
unsigned int) ((arg1)->button);
4346 PyObject *resultobj = 0;
4353 PyObject * obj0 = 0 ;
4354 PyObject * obj1 = 0 ;
4356 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_subwindow_set",&obj0,&obj1))
SWIG_fail;
4366 arg2 = (
PLINT)(val2);
4367 if (arg1) (arg1)->subwindow = arg2;
4376 PyObject *resultobj = 0;
4380 PyObject * obj0 = 0 ;
4383 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_subwindow_get",&obj0))
SWIG_fail;
4389 result = (
PLINT) ((arg1)->subwindow);
4398 PyObject *resultobj = 0;
4405 PyObject * obj0 = 0 ;
4406 PyObject * obj1 = 0 ;
4408 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_string_set",&obj0,&obj1))
SWIG_fail;
4418 arg2 = (
char *)(temp2);
4419 if (arg2) memcpy(arg1->
string,arg2,16*
sizeof(
char));
4420 else memset(arg1->
string,0,16*
sizeof(
char));
4429 PyObject *resultobj = 0;
4433 PyObject * obj0 = 0 ;
4436 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_string_get",&obj0))
SWIG_fail;
4442 result = (
char *)(
char *) ((arg1)->
string);
4446 while (size && (result[size - 1] ==
'\0')) --size;
4457 PyObject *resultobj = 0;
4464 PyObject * obj0 = 0 ;
4465 PyObject * obj1 = 0 ;
4467 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_pX_set",&obj0,&obj1))
SWIG_fail;
4478 if (arg1) (arg1)->pX = arg2;
4487 PyObject *resultobj = 0;
4491 PyObject * obj0 = 0 ;
4494 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_pX_get",&obj0))
SWIG_fail;
4500 result = (int) ((arg1)->pX);
4509 PyObject *resultobj = 0;
4516 PyObject * obj0 = 0 ;
4517 PyObject * obj1 = 0 ;
4519 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_pY_set",&obj0,&obj1))
SWIG_fail;
4530 if (arg1) (arg1)->pY = arg2;
4539 PyObject *resultobj = 0;
4543 PyObject * obj0 = 0 ;
4546 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_pY_get",&obj0))
SWIG_fail;
4552 result = (int) ((arg1)->pY);
4561 PyObject *resultobj = 0;
4568 PyObject * obj0 = 0 ;
4569 PyObject * obj1 = 0 ;
4571 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_dX_set",&obj0,&obj1))
SWIG_fail;
4581 arg2 = (
PLFLT)(val2);
4582 if (arg1) (arg1)->dX = arg2;
4591 PyObject *resultobj = 0;
4595 PyObject * obj0 = 0 ;
4598 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_dX_get",&obj0))
SWIG_fail;
4604 result = (
PLFLT) ((arg1)->dX);
4613 PyObject *resultobj = 0;
4620 PyObject * obj0 = 0 ;
4621 PyObject * obj1 = 0 ;
4623 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_dY_set",&obj0,&obj1))
SWIG_fail;
4633 arg2 = (
PLFLT)(val2);
4634 if (arg1) (arg1)->dY = arg2;
4643 PyObject *resultobj = 0;
4647 PyObject * obj0 = 0 ;
4650 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_dY_get",&obj0))
SWIG_fail;
4656 result = (
PLFLT) ((arg1)->dY);
4665 PyObject *resultobj = 0;
4672 PyObject * obj0 = 0 ;
4673 PyObject * obj1 = 0 ;
4675 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_wX_set",&obj0,&obj1))
SWIG_fail;
4685 arg2 = (
PLFLT)(val2);
4686 if (arg1) (arg1)->wX = arg2;
4695 PyObject *resultobj = 0;
4699 PyObject * obj0 = 0 ;
4702 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_wX_get",&obj0))
SWIG_fail;
4708 result = (
PLFLT) ((arg1)->wX);
4717 PyObject *resultobj = 0;
4724 PyObject * obj0 = 0 ;
4725 PyObject * obj1 = 0 ;
4727 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_wY_set",&obj0,&obj1))
SWIG_fail;
4737 arg2 = (
PLFLT)(val2);
4738 if (arg1) (arg1)->wY = arg2;
4747 PyObject *resultobj = 0;
4751 PyObject * obj0 = 0 ;
4754 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_wY_get",&obj0))
SWIG_fail;
4760 result = (
PLFLT) ((arg1)->wY);
4769 PyObject *resultobj = 0;
4772 if (!PyArg_ParseTuple(args,(
char *)
":new_PLGraphicsIn"))
SWIG_fail;
4782 PyObject *resultobj = 0;
4786 PyObject * obj0 = 0 ;
4788 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_PLGraphicsIn",&obj0))
SWIG_fail;
4794 free((
char *) arg1);
4804 if (!PyArg_ParseTuple(args,(
char*)
"O:swigregister", &obj))
return NULL;
4810 PyObject *resultobj = 0;
4814 PyObject * obj0 = 0 ;
4816 if (!PyArg_ParseTuple(args,(
char *)
"O:plsxwin",&obj0))
SWIG_fail;
4821 arg1 = (
PLINT)(val1);
4831 PyObject *resultobj = 0;
4838 PyObject * obj0 = 0 ;
4839 PyObject * obj1 = 0 ;
4841 if (!PyArg_ParseTuple(args,(
char *)
"OO:pl_setcontlabelformat",&obj0,&obj1))
SWIG_fail;
4846 arg1 = (
PLINT)(val1);
4851 arg2 = (
PLINT)(val2);
4861 PyObject *resultobj = 0;
4874 PyObject * obj0 = 0 ;
4875 PyObject * obj1 = 0 ;
4876 PyObject * obj2 = 0 ;
4877 PyObject * obj3 = 0 ;
4879 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:pl_setcontlabelparam",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
4884 arg1 = (
PLFLT)(val1);
4889 arg2 = (
PLFLT)(val2);
4894 arg3 = (
PLFLT)(val3);
4899 arg4 = (
PLINT)(val4);
4909 PyObject *resultobj = 0;
4913 PyObject * obj0 = 0 ;
4915 if (!PyArg_ParseTuple(args,(
char *)
"O:pladv",&obj0))
SWIG_fail;
4920 arg1 = (
PLINT)(val1);
4930 PyObject *resultobj = 0;
4955 PyObject * obj0 = 0 ;
4956 PyObject * obj1 = 0 ;
4957 PyObject * obj2 = 0 ;
4958 PyObject * obj3 = 0 ;
4959 PyObject * obj4 = 0 ;
4960 PyObject * obj5 = 0 ;
4961 PyObject * obj6 = 0 ;
4962 PyObject * obj7 = 0 ;
4964 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plarc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
4969 arg1 = (
PLFLT)(val1);
4974 arg2 = (
PLFLT)(val2);
4979 arg3 = (
PLFLT)(val3);
4984 arg4 = (
PLFLT)(val4);
4989 arg5 = (
PLFLT)(val5);
4994 arg6 = (
PLFLT)(val6);
4999 arg7 = (
PLFLT)(val7);
5005 plarc(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5014 PyObject *resultobj = 0;
5017 char *arg3 = (
char *) 0 ;
5020 char *arg6 = (
char *) 0 ;
5041 PyObject * obj0 = 0 ;
5042 PyObject * obj1 = 0 ;
5043 PyObject * obj2 = 0 ;
5044 PyObject * obj3 = 0 ;
5045 PyObject * obj4 = 0 ;
5046 PyObject * obj5 = 0 ;
5047 PyObject * obj6 = 0 ;
5048 PyObject * obj7 = 0 ;
5050 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plaxes",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
5055 arg1 = (
PLFLT)(val1);
5060 arg2 = (
PLFLT)(val2);
5065 arg3 = (
char *)(buf3);
5070 arg4 = (
PLFLT)(val4);
5075 arg5 = (
PLINT)(val5);
5080 arg6 = (
char *)(buf6);
5085 arg7 = (
PLFLT)(val7);
5090 arg8 = (
PLINT)(val8);
5091 plaxes(arg1,arg2,(
char const *)arg3,arg4,arg5,(
char const *)arg6,arg7,arg8);
5104 PyObject *resultobj = 0;
5106 PLFLT *arg2 = (PLFLT *) 0 ;
5107 PLFLT *arg3 = (PLFLT *) 0 ;
5109 PyArrayObject *tmp1 = NULL ;
5110 PyArrayObject *tmp3 = NULL ;
5113 PyObject * obj0 = 0 ;
5114 PyObject * obj1 = 0 ;
5115 PyObject * obj2 = 0 ;
5117 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plbin",&obj0,&obj1,&obj2))
SWIG_fail;
5122 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
5123 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
5129 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
5131 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
5134 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
5140 arg4 = (
PLINT)(val4);
5141 plbin(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
5162 PyObject *resultobj = 0;
5163 PLINT *arg1 = (PLINT *) 0 ;
5164 PLINT *arg2 = (PLINT *) 0 ;
5165 PLINT *arg3 = (PLINT *) 0 ;
5166 PLINT *arg4 = (PLINT *) 0 ;
5167 PLINT *arg5 = (PLINT *) 0 ;
5168 PLFLT *arg6 = (PLFLT *) 0 ;
5184 PyObject * obj0 = 0 ;
5192 if (!PyArg_ParseTuple(args,(
char *)
"O:plbtime",&obj0))
SWIG_fail;
5197 arg7 = (
PLFLT)(val7);
5198 plbtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5243 PyObject *resultobj = 0;
5245 if (!PyArg_ParseTuple(args,(
char *)
":plbop"))
SWIG_fail;
5255 PyObject *resultobj = 0;
5256 char *arg1 = (
char *) 0 ;
5259 char *arg4 = (
char *) 0 ;
5276 PyObject * obj0 = 0 ;
5277 PyObject * obj1 = 0 ;
5278 PyObject * obj2 = 0 ;
5279 PyObject * obj3 = 0 ;
5280 PyObject * obj4 = 0 ;
5281 PyObject * obj5 = 0 ;
5283 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plbox",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
5288 arg1 = (
char *)(buf1);
5293 arg2 = (
PLFLT)(val2);
5298 arg3 = (
PLINT)(val3);
5303 arg4 = (
char *)(buf4);
5308 arg5 = (
PLFLT)(val5);
5313 arg6 = (
PLINT)(val6);
5314 plbox((
char const *)arg1,arg2,arg3,(
char const *)arg4,arg5,arg6);
5327 PyObject *resultobj = 0;
5328 char *arg1 = (
char *) 0 ;
5329 char *arg2 = (
char *) 0 ;
5332 char *arg5 = (
char *) 0 ;
5333 char *arg6 = (
char *) 0 ;
5336 char *arg9 = (
char *) 0 ;
5337 char *arg10 = (
char *) 0 ;
5370 PyObject * obj0 = 0 ;
5371 PyObject * obj1 = 0 ;
5372 PyObject * obj2 = 0 ;
5373 PyObject * obj3 = 0 ;
5374 PyObject * obj4 = 0 ;
5375 PyObject * obj5 = 0 ;
5376 PyObject * obj6 = 0 ;
5377 PyObject * obj7 = 0 ;
5378 PyObject * obj8 = 0 ;
5379 PyObject * obj9 = 0 ;
5380 PyObject * obj10 = 0 ;
5381 PyObject * obj11 = 0 ;
5383 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOOO:plbox3",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11))
SWIG_fail;
5388 arg1 = (
char *)(buf1);
5393 arg2 = (
char *)(buf2);
5398 arg3 = (
PLFLT)(val3);
5403 arg4 = (
PLINT)(val4);
5408 arg5 = (
char *)(buf5);
5413 arg6 = (
char *)(buf6);
5418 arg7 = (
PLFLT)(val7);
5423 arg8 = (
PLINT)(val8);
5428 arg9 = (
char *)(buf9);
5433 arg10 = (
char *)(buf10);
5438 arg11 = (
PLFLT)(val11);
5443 arg12 = (
PLINT)(val12);
5444 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);
5465 PyObject *resultobj = 0;
5468 PLFLT *arg3 = (PLFLT *) 0 ;
5469 PLFLT *arg4 = (PLFLT *) 0 ;
5470 PLINT *arg5 = (PLINT *) 0 ;
5481 PyObject * obj0 = 0 ;
5482 PyObject * obj1 = 0 ;
5487 if (!PyArg_ParseTuple(args,(
char *)
"OO:plcalc_world",&obj0,&obj1))
SWIG_fail;
5492 arg1 = (
PLFLT)(val1);
5497 arg2 = (
PLFLT)(val2);
5525 PyObject *resultobj = 0;
5527 if (!PyArg_ParseTuple(args,(
char *)
":plclear"))
SWIG_fail;
5537 PyObject *resultobj = 0;
5541 PyObject * obj0 = 0 ;
5543 if (!PyArg_ParseTuple(args,(
char *)
"O:plcol0",&obj0))
SWIG_fail;
5548 arg1 = (
PLINT)(val1);
5558 PyObject *resultobj = 0;
5562 PyObject * obj0 = 0 ;
5564 if (!PyArg_ParseTuple(args,(
char *)
"O:plcol1",&obj0))
SWIG_fail;
5569 arg1 = (
PLFLT)(val1);
5579 PyObject *resultobj = 0;
5613 PyObject * obj0 = 0 ;
5614 PyObject * obj1 = 0 ;
5615 PyObject * obj2 = 0 ;
5616 PyObject * obj3 = 0 ;
5617 PyObject * obj4 = 0 ;
5618 PyObject * obj5 = 0 ;
5619 PyObject * obj6 = 0 ;
5620 PyObject * obj7 = 0 ;
5621 PyObject * obj8 = 0 ;
5622 PyObject * obj9 = 0 ;
5623 PyObject * obj10 = 0 ;
5625 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plconfigtime",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
5630 arg1 = (
PLFLT)(val1);
5635 arg2 = (
PLFLT)(val2);
5640 arg3 = (
PLFLT)(val3);
5645 arg4 = (
PLINT)(val4);
5655 arg6 = (
PLINT)(val6);
5660 arg7 = (
PLINT)(val7);
5665 arg8 = (
PLINT)(val8);
5670 arg9 = (
PLINT)(val9);
5675 arg10 = (
PLINT)(val10);
5680 arg11 = (
PLFLT)(val11);
5681 plconfigtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
5690 PyObject *resultobj = 0;
5691 PLFLT **arg1 = (PLFLT **) 0 ;
5698 PLFLT *arg8 = (PLFLT *) 0 ;
5702 PyArrayObject *tmp1 = NULL ;
5711 PyArrayObject *tmp8 = NULL ;
5712 PyObject * obj0 = 0 ;
5713 PyObject * obj1 = 0 ;
5714 PyObject * obj2 = 0 ;
5715 PyObject * obj3 = 0 ;
5716 PyObject * obj4 = 0 ;
5717 PyObject * obj5 = 0 ;
5718 PyObject * obj6 = 0 ;
5719 PyObject * obj7 = 0 ;
5728 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO|OO:plcont",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
5734 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
5735 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
5737 arg1 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg2 );
5738 for ( i = 0; i < arg2; i++ )
5739 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
5745 arg4 = (
PLINT)(val4);
5750 arg5 = (
PLINT)(val5);
5755 arg6 = (
PLINT)(val6);
5760 arg7 = (
PLINT)(val7);
5765 arg9 = PyArray_DIMS( tmp8 )[0];
5766 arg8 = (PLFLT *) PyArray_DATA( tmp8 );
5771 if ( obj6 == Py_None )
5777 if ( !PyCallable_Check( (PyObject *) obj6 ) )
5779 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
5788 if ( obj7 == Py_None )
5796 plcont((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(
double const *)arg8,arg9,arg10,arg11);
5831 PyObject *resultobj = 0;
5838 PLFLT *arg7 = (PLFLT *) 0 ;
5853 PyObject * obj0 = 0 ;
5854 PyObject * obj1 = 0 ;
5855 PyObject * obj2 = 0 ;
5856 PyObject * obj3 = 0 ;
5857 PyObject * obj4 = 0 ;
5858 PyObject * obj5 = 0 ;
5861 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plctime",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
5866 arg1 = (
PLINT)(val1);
5871 arg2 = (
PLINT)(val2);
5876 arg3 = (
PLINT)(val3);
5881 arg4 = (
PLINT)(val4);
5886 arg5 = (
PLINT)(val5);
5891 arg6 = (
PLFLT)(val6);
5892 plctime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5907 PyObject *resultobj = 0;
5914 PyObject * obj0 = 0 ;
5915 PyObject * obj1 = 0 ;
5917 if (!PyArg_ParseTuple(args,(
char *)
"OO:plcpstrm",&obj0,&obj1))
SWIG_fail;
5922 arg1 = (
PLINT)(val1);
5937 PyObject *resultobj = 0;
5939 if (!PyArg_ParseTuple(args,(
char *)
":plend"))
SWIG_fail;
5949 PyObject *resultobj = 0;
5951 if (!PyArg_ParseTuple(args,(
char *)
":plend1"))
SWIG_fail;
5961 PyObject *resultobj = 0;
5980 PyObject * obj0 = 0 ;
5981 PyObject * obj1 = 0 ;
5982 PyObject * obj2 = 0 ;
5983 PyObject * obj3 = 0 ;
5984 PyObject * obj4 = 0 ;
5985 PyObject * obj5 = 0 ;
5987 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plenv",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
5992 arg1 = (
PLFLT)(val1);
5997 arg2 = (
PLFLT)(val2);
6002 arg3 = (
PLFLT)(val3);
6007 arg4 = (
PLFLT)(val4);
6012 arg5 = (
PLINT)(val5);
6017 arg6 = (
PLINT)(val6);
6018 plenv(arg1,arg2,arg3,arg4,arg5,arg6);
6027 PyObject *resultobj = 0;
6046 PyObject * obj0 = 0 ;
6047 PyObject * obj1 = 0 ;
6048 PyObject * obj2 = 0 ;
6049 PyObject * obj3 = 0 ;
6050 PyObject * obj4 = 0 ;
6051 PyObject * obj5 = 0 ;
6053 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plenv0",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
6058 arg1 = (
PLFLT)(val1);
6063 arg2 = (
PLFLT)(val2);
6068 arg3 = (
PLFLT)(val3);
6073 arg4 = (
PLFLT)(val4);
6078 arg5 = (
PLINT)(val5);
6083 arg6 = (
PLINT)(val6);
6084 plenv0(arg1,arg2,arg3,arg4,arg5,arg6);
6093 PyObject *resultobj = 0;
6095 if (!PyArg_ParseTuple(args,(
char *)
":pleop"))
SWIG_fail;
6105 PyObject *resultobj = 0;
6107 PLFLT *arg2 = (PLFLT *) 0 ;
6108 PLFLT *arg3 = (PLFLT *) 0 ;
6109 PLFLT *arg4 = (PLFLT *) 0 ;
6110 PyArrayObject *tmp1 = NULL ;
6111 PyArrayObject *tmp3 = NULL ;
6112 PyArrayObject *tmp4 = NULL ;
6113 PyObject * obj0 = 0 ;
6114 PyObject * obj1 = 0 ;
6115 PyObject * obj2 = 0 ;
6117 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plerrx",&obj0,&obj1,&obj2))
SWIG_fail;
6122 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6123 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6129 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6131 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6134 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6140 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6142 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6145 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
6147 plerrx(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6174 PyObject *resultobj = 0;
6176 PLFLT *arg2 = (PLFLT *) 0 ;
6177 PLFLT *arg3 = (PLFLT *) 0 ;
6178 PLFLT *arg4 = (PLFLT *) 0 ;
6179 PyArrayObject *tmp1 = NULL ;
6180 PyArrayObject *tmp3 = NULL ;
6181 PyArrayObject *tmp4 = NULL ;
6182 PyObject * obj0 = 0 ;
6183 PyObject * obj1 = 0 ;
6184 PyObject * obj2 = 0 ;
6186 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plerry",&obj0,&obj1,&obj2))
SWIG_fail;
6191 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6192 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6198 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6200 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6203 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6209 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6211 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6214 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
6216 plerry(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6243 PyObject *resultobj = 0;
6245 if (!PyArg_ParseTuple(args,(
char *)
":plfamadv"))
SWIG_fail;
6255 PyObject *resultobj = 0;
6257 PLFLT *arg2 = (PLFLT *) 0 ;
6258 PLFLT *arg3 = (PLFLT *) 0 ;
6259 PyArrayObject *tmp1 = NULL ;
6260 PyArrayObject *tmp3 = NULL ;
6261 PyObject * obj0 = 0 ;
6262 PyObject * obj1 = 0 ;
6264 if (!PyArg_ParseTuple(args,(
char *)
"OO:plfill",&obj0,&obj1))
SWIG_fail;
6269 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6270 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6276 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6278 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6281 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6283 plfill(arg1,(
double const *)arg2,(
double const *)arg3);
6304 PyObject *resultobj = 0;
6306 PLFLT *arg2 = (PLFLT *) 0 ;
6307 PLFLT *arg3 = (PLFLT *) 0 ;
6308 PLFLT *arg4 = (PLFLT *) 0 ;
6309 PyArrayObject *tmp1 = NULL ;
6310 PyArrayObject *tmp3 = NULL ;
6311 PyArrayObject *tmp4 = NULL ;
6312 PyObject * obj0 = 0 ;
6313 PyObject * obj1 = 0 ;
6314 PyObject * obj2 = 0 ;
6316 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plfill3",&obj0,&obj1,&obj2))
SWIG_fail;
6321 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6322 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6328 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6330 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6333 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6339 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6341 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6344 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
6346 plfill3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6373 PyObject *resultobj = 0;
6375 PLFLT *arg2 = (PLFLT *) 0 ;
6376 PLFLT *arg3 = (PLFLT *) 0 ;
6378 PyArrayObject *tmp1 = NULL ;
6379 PyArrayObject *tmp3 = NULL ;
6382 PyObject * obj0 = 0 ;
6383 PyObject * obj1 = 0 ;
6384 PyObject * obj2 = 0 ;
6386 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plgradient",&obj0,&obj1,&obj2))
SWIG_fail;
6391 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6392 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6398 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6400 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6403 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6409 arg4 = (
PLFLT)(val4);
6410 plgradient(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
6431 PyObject *resultobj = 0;
6433 if (!PyArg_ParseTuple(args,(
char *)
":plflush"))
SWIG_fail;
6443 PyObject *resultobj = 0;
6447 PyObject * obj0 = 0 ;
6449 if (!PyArg_ParseTuple(args,(
char *)
"O:plfont",&obj0))
SWIG_fail;
6454 arg1 = (
PLINT)(val1);
6464 PyObject *resultobj = 0;
6468 PyObject * obj0 = 0 ;
6470 if (!PyArg_ParseTuple(args,(
char *)
"O:plfontld",&obj0))
SWIG_fail;
6475 arg1 = (
PLINT)(val1);
6485 PyObject *resultobj = 0;
6486 PLFLT *arg1 = (PLFLT *) 0 ;
6487 PLFLT *arg2 = (PLFLT *) 0 ;
6495 if (!PyArg_ParseTuple(args,(
char *)
":plgchr"))
SWIG_fail;
6517 PyObject *resultobj = 0;
6519 PLINT *arg2 = (PLINT *) 0 ;
6520 PLINT *arg3 = (PLINT *) 0 ;
6521 PLINT *arg4 = (PLINT *) 0 ;
6530 PyObject * obj0 = 0 ;
6535 if (!PyArg_ParseTuple(args,(
char *)
"O:plgcol0",&obj0))
SWIG_fail;
6540 arg1 = (
PLINT)(val1);
6568 PyObject *resultobj = 0;
6570 PLINT *arg2 = (PLINT *) 0 ;
6571 PLINT *arg3 = (PLINT *) 0 ;
6572 PLINT *arg4 = (PLINT *) 0 ;
6573 PLFLT *arg5 = (PLFLT *) 0 ;
6584 PyObject * obj0 = 0 ;
6590 if (!PyArg_ParseTuple(args,(
char *)
"O:plgcol0a",&obj0))
SWIG_fail;
6595 arg1 = (
PLINT)(val1);
6596 plgcol0a(arg1,arg2,arg3,arg4,arg5);
6629 PyObject *resultobj = 0;
6630 PLINT *arg1 = (PLINT *) 0 ;
6631 PLINT *arg2 = (PLINT *) 0 ;
6632 PLINT *arg3 = (PLINT *) 0 ;
6643 if (!PyArg_ParseTuple(args,(
char *)
":plgcolbg"))
SWIG_fail;
6671 PyObject *resultobj = 0;
6672 PLINT *arg1 = (PLINT *) 0 ;
6673 PLINT *arg2 = (PLINT *) 0 ;
6674 PLINT *arg3 = (PLINT *) 0 ;
6675 PLFLT *arg4 = (PLFLT *) 0 ;
6689 if (!PyArg_ParseTuple(args,(
char *)
":plgcolbga"))
SWIG_fail;
6723 PyObject *resultobj = 0;
6724 PLINT *arg1 = (PLINT *) 0 ;
6729 if (!PyArg_ParseTuple(args,(
char *)
":plgcompression"))
SWIG_fail;
6745 PyObject *resultobj = 0;
6746 char *arg1 = (
char *) 0 ;
6752 if (!PyArg_ParseTuple(args,(
char *)
":plgdev"))
SWIG_fail;
6756 PyObject *o = PyString_FromString( arg1 );
6766 PyObject *resultobj = 0;
6767 PLFLT *arg1 = (PLFLT *) 0 ;
6768 PLFLT *arg2 = (PLFLT *) 0 ;
6769 PLFLT *arg3 = (PLFLT *) 0 ;
6770 PLFLT *arg4 = (PLFLT *) 0 ;
6784 if (!PyArg_ParseTuple(args,(
char *)
":plgdidev"))
SWIG_fail;
6818 PyObject *resultobj = 0;
6819 PLFLT *arg1 = (PLFLT *) 0 ;
6824 if (!PyArg_ParseTuple(args,(
char *)
":plgdiori"))
SWIG_fail;
6840 PyObject *resultobj = 0;
6841 PLFLT *arg1 = (PLFLT *) 0 ;
6842 PLFLT *arg2 = (PLFLT *) 0 ;
6843 PLFLT *arg3 = (PLFLT *) 0 ;
6844 PLFLT *arg4 = (PLFLT *) 0 ;
6858 if (!PyArg_ParseTuple(args,(
char *)
":plgdiplt"))
SWIG_fail;
6892 PyObject *resultobj = 0;
6893 PLINT *arg1 = (PLINT *) 0 ;
6894 PLINT *arg2 = (PLINT *) 0 ;
6895 PLINT *arg3 = (PLINT *) 0 ;
6906 if (!PyArg_ParseTuple(args,(
char *)
":plgfam"))
SWIG_fail;
6934 PyObject *resultobj = 0;
6940 if (!PyArg_ParseTuple(args,(
char *)
":plgfci"))
SWIG_fail;
6956 PyObject *resultobj = 0;
6957 char *arg1 = (
char *) 0 ;
6963 if (!PyArg_ParseTuple(args,(
char *)
":plgfnam"))
SWIG_fail;
6967 PyObject *o = PyString_FromString( arg1 );
6977 PyObject *resultobj = 0;
6978 PLINT *arg1 = (PLINT *) 0 ;
6979 PLINT *arg2 = (PLINT *) 0 ;
6980 PLINT *arg3 = (PLINT *) 0 ;
6991 if (!PyArg_ParseTuple(args,(
char *)
":plgfont"))
SWIG_fail;
7019 PyObject *resultobj = 0;
7020 PLINT *arg1 = (PLINT *) 0 ;
7025 if (!PyArg_ParseTuple(args,(
char *)
":plglevel"))
SWIG_fail;
7041 PyObject *resultobj = 0;
7042 PLFLT *arg1 = (PLFLT *) 0 ;
7043 PLFLT *arg2 = (PLFLT *) 0 ;
7044 PLINT *arg3 = (PLINT *) 0 ;
7045 PLINT *arg4 = (PLINT *) 0 ;
7046 PLINT *arg5 = (PLINT *) 0 ;
7047 PLINT *arg6 = (PLINT *) 0 ;
7067 if (!PyArg_ParseTuple(args,(
char *)
":plgpage"))
SWIG_fail;
7068 plgpage(arg1,arg2,arg3,arg4,arg5,arg6);
7113 PyObject *resultobj = 0;
7115 if (!PyArg_ParseTuple(args,(
char *)
":plgra"))
SWIG_fail;
7125 PyObject *resultobj = 0;
7126 PLFLT *arg1 = (PLFLT *) 0 ;
7127 PLFLT *arg2 = (PLFLT *) 0 ;
7128 PLFLT *arg3 = (PLFLT *) 0 ;
7130 PLFLT *arg5 = (PLFLT *) 0 ;
7132 PLFLT *arg7 = (PLFLT *) 0 ;
7134 PLFLT **arg9 = (PLFLT **) 0 ;
7137 PyArrayObject *tmp1 = NULL ;
7138 PyArrayObject *tmp2 = NULL ;
7139 PyArrayObject *tmp3 = NULL ;
7140 PyArrayObject *tmp5 = NULL ;
7141 PyArrayObject *tmp7 = NULL ;
7142 PyObject *array7 = NULL ;
7147 PyObject * obj0 = 0 ;
7148 PyObject * obj1 = 0 ;
7149 PyObject * obj2 = 0 ;
7150 PyObject * obj3 = 0 ;
7151 PyObject * obj4 = 0 ;
7152 PyObject * obj5 = 0 ;
7153 PyObject * obj6 = 0 ;
7155 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plgriddata",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
7160 Alen = PyArray_DIMS( tmp1 )[0];
7161 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
7167 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
7169 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
7172 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
7178 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
7180 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
7183 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
7184 arg4 = PyArray_DIMS( tmp3 )[0];
7190 Xlen = PyArray_DIMS( tmp5 )[0];
7192 arg5 = (PLFLT *) PyArray_DATA( tmp5 );
7200 Ylen = PyArray_DIMS( tmp7 )[0];
7202 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
7207 array7 = PyArray_SimpleNew( 2, dims,
NPY_PLFLT );
7211 arg9 = (PLFLT **) malloc(
sizeof (
double * ) * (size_t) Xlen );
7212 for ( i = 0; i <
Xlen; i++ )
7213 arg9[i] = ( (PLFLT *) PyArray_DATA( (PyArrayObject *) array7 ) + i * size );
7219 arg10 = (
PLINT)(val10);
7224 arg11 = (
PLFLT)(val11);
7225 plgriddata((
double const *)arg1,(
double const *)arg2,(
double const *)arg3,arg4,(
double const *)arg5,arg6,(
double const *)arg7,arg8,arg9,arg10,arg11);
7269 PyObject *resultobj = 0;
7270 PLFLT *arg1 = (PLFLT *) 0 ;
7271 PLFLT *arg2 = (PLFLT *) 0 ;
7272 PLFLT *arg3 = (PLFLT *) 0 ;
7273 PLFLT *arg4 = (PLFLT *) 0 ;
7287 if (!PyArg_ParseTuple(args,(
char *)
":plgspa"))
SWIG_fail;
7288 plgspa(arg1,arg2,arg3,arg4);
7321 PyObject *resultobj = 0;
7322 PLINT *arg1 = (PLINT *) 0 ;
7327 if (!PyArg_ParseTuple(args,(
char *)
":plgstrm"))
SWIG_fail;
7343 PyObject *resultobj = 0;
7344 char *arg1 = (
char *) 0 ;
7350 if (!PyArg_ParseTuple(args,(
char *)
":plgver"))
SWIG_fail;
7354 PyObject *o = PyString_FromString( arg1 );
7364 PyObject *resultobj = 0;
7365 PLFLT *arg1 = (PLFLT *) 0 ;
7366 PLFLT *arg2 = (PLFLT *) 0 ;
7367 PLFLT *arg3 = (PLFLT *) 0 ;
7368 PLFLT *arg4 = (PLFLT *) 0 ;
7382 if (!PyArg_ParseTuple(args,(
char *)
":plgvpd"))
SWIG_fail;
7383 plgvpd(arg1,arg2,arg3,arg4);
7416 PyObject *resultobj = 0;
7417 PLFLT *arg1 = (PLFLT *) 0 ;
7418 PLFLT *arg2 = (PLFLT *) 0 ;
7419 PLFLT *arg3 = (PLFLT *) 0 ;
7420 PLFLT *arg4 = (PLFLT *) 0 ;
7434 if (!PyArg_ParseTuple(args,(
char *)
":plgvpw"))
SWIG_fail;
7435 plgvpw(arg1,arg2,arg3,arg4);
7468 PyObject *resultobj = 0;
7469 PLINT *arg1 = (PLINT *) 0 ;
7470 PLINT *arg2 = (PLINT *) 0 ;
7478 if (!PyArg_ParseTuple(args,(
char *)
":plgxax"))
SWIG_fail;
7500 PyObject *resultobj = 0;
7501 PLINT *arg1 = (PLINT *) 0 ;
7502 PLINT *arg2 = (PLINT *) 0 ;
7510 if (!PyArg_ParseTuple(args,(
char *)
":plgyax"))
SWIG_fail;
7532 PyObject *resultobj = 0;
7533 PLINT *arg1 = (PLINT *) 0 ;
7534 PLINT *arg2 = (PLINT *) 0 ;
7542 if (!PyArg_ParseTuple(args,(
char *)
":plgzax"))
SWIG_fail;
7564 PyObject *resultobj = 0;
7566 PLFLT *arg2 = (PLFLT *) 0 ;
7571 PyArrayObject *tmp1 = NULL ;
7580 PyObject * obj0 = 0 ;
7581 PyObject * obj1 = 0 ;
7582 PyObject * obj2 = 0 ;
7583 PyObject * obj3 = 0 ;
7584 PyObject * obj4 = 0 ;
7586 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plhist",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
7591 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
7592 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
7598 arg3 = (
PLFLT)(val3);
7603 arg4 = (
PLFLT)(val4);
7608 arg5 = (
PLINT)(val5);
7613 arg6 = (
PLINT)(val6);
7614 plhist(arg1,(
double const *)arg2,arg3,arg4,arg5,arg6);
7629 PyObject *resultobj = 0;
7633 PLFLT *arg4 = (PLFLT *) 0 ;
7634 PLFLT *arg5 = (PLFLT *) 0 ;
7635 PLFLT *arg6 = (PLFLT *) 0 ;
7648 PyObject * obj0 = 0 ;
7649 PyObject * obj1 = 0 ;
7650 PyObject * obj2 = 0 ;
7655 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plhlsrgb",&obj0,&obj1,&obj2))
SWIG_fail;
7660 arg1 = (
PLFLT)(val1);
7665 arg2 = (
PLFLT)(val2);
7670 arg3 = (
PLFLT)(val3);
7671 plhlsrgb(arg1,arg2,arg3,arg4,arg5,arg6);
7698 PyObject *resultobj = 0;
7700 if (!PyArg_ParseTuple(args,(
char *)
":plinit"))
SWIG_fail;
7710 PyObject *resultobj = 0;
7723 PyObject * obj0 = 0 ;
7724 PyObject * obj1 = 0 ;
7725 PyObject * obj2 = 0 ;
7726 PyObject * obj3 = 0 ;
7728 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:pljoin",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
7733 arg1 = (
PLFLT)(val1);
7738 arg2 = (
PLFLT)(val2);
7743 arg3 = (
PLFLT)(val3);
7748 arg4 = (
PLFLT)(val4);
7749 pljoin(arg1,arg2,arg3,arg4);
7758 PyObject *resultobj = 0;
7759 char *arg1 = (
char *) 0 ;
7760 char *arg2 = (
char *) 0 ;
7761 char *arg3 = (
char *) 0 ;
7771 PyObject * obj0 = 0 ;
7772 PyObject * obj1 = 0 ;
7773 PyObject * obj2 = 0 ;
7775 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pllab",&obj0,&obj1,&obj2))
SWIG_fail;
7780 arg1 = (
char *)(buf1);
7785 arg2 = (
char *)(buf2);
7790 arg3 = (
char *)(buf3);
7791 pllab((
char const *)arg1,(
char const *)arg2,(
char const *)arg3);
7806 PyObject *resultobj = 0;
7807 PLFLT *arg1 = (PLFLT *) 0 ;
7808 PLFLT *arg2 = (PLFLT *) 0 ;
7820 PLINT *arg14 = (PLINT *) 0 ;
7825 PLINT *arg19 = (PLINT *) 0 ;
7826 char **arg20 = (
char **) 0 ;
7827 PLINT *arg21 = (PLINT *) 0 ;
7828 PLINT *arg22 = (PLINT *) 0 ;
7829 PLFLT *arg23 = (PLFLT *) 0 ;
7830 PLFLT *arg24 = (PLFLT *) 0 ;
7831 PLINT *arg25 = (PLINT *) 0 ;
7832 PLINT *arg26 = (PLINT *) 0 ;
7833 PLFLT *arg27 = (PLFLT *) 0 ;
7834 PLINT *arg28 = (PLINT *) 0 ;
7835 PLFLT *arg29 = (PLFLT *) 0 ;
7836 PLINT *arg30 = (PLINT *) 0 ;
7837 char **arg31 = (
char **) 0 ;
7862 PyArrayObject *tmp13 = NULL ;
7871 PyArrayObject *tmp19 = NULL ;
7872 PyArrayObject *tmp20 = NULL ;
7873 PyArrayObject *tmp21 = NULL ;
7874 PyArrayObject *tmp22 = NULL ;
7875 PyArrayObject *tmp23 = NULL ;
7876 PyArrayObject *tmp24 = NULL ;
7877 PyArrayObject *tmp25 = NULL ;
7878 PyArrayObject *tmp26 = NULL ;
7879 PyArrayObject *tmp27 = NULL ;
7880 PyArrayObject *tmp28 = NULL ;
7881 PyArrayObject *tmp29 = NULL ;
7882 PyArrayObject *tmp30 = NULL ;
7883 PyArrayObject *tmp31 = NULL ;
7884 PyObject * obj0 = 0 ;
7885 PyObject * obj1 = 0 ;
7886 PyObject * obj2 = 0 ;
7887 PyObject * obj3 = 0 ;
7888 PyObject * obj4 = 0 ;
7889 PyObject * obj5 = 0 ;
7890 PyObject * obj6 = 0 ;
7891 PyObject * obj7 = 0 ;
7892 PyObject * obj8 = 0 ;
7893 PyObject * obj9 = 0 ;
7894 PyObject * obj10 = 0 ;
7895 PyObject * obj11 = 0 ;
7896 PyObject * obj12 = 0 ;
7897 PyObject * obj13 = 0 ;
7898 PyObject * obj14 = 0 ;
7899 PyObject * obj15 = 0 ;
7900 PyObject * obj16 = 0 ;
7901 PyObject * obj17 = 0 ;
7902 PyObject * obj18 = 0 ;
7903 PyObject * obj19 = 0 ;
7904 PyObject * obj20 = 0 ;
7905 PyObject * obj21 = 0 ;
7906 PyObject * obj22 = 0 ;
7907 PyObject * obj23 = 0 ;
7908 PyObject * obj24 = 0 ;
7909 PyObject * obj25 = 0 ;
7910 PyObject * obj26 = 0 ;
7911 PyObject * obj27 = 0 ;
7915 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOOOOOOOOOOOOOOOOOOO:pllegend",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14,&obj15,&obj16,&obj17,&obj18,&obj19,&obj20,&obj21,&obj22,&obj23,&obj24,&obj25,&obj26,&obj27))
SWIG_fail;
7920 arg3 = (
PLINT)(val3);
7925 arg4 = (
PLINT)(val4);
7930 arg5 = (
PLFLT)(val5);
7935 arg6 = (
PLFLT)(val6);
7940 arg7 = (
PLFLT)(val7);
7945 arg8 = (
PLINT)(val8);
7950 arg9 = (
PLINT)(val9);
7955 arg10 = (
PLINT)(val10);
7960 arg11 = (
PLINT)(val11);
7965 arg12 = (
PLINT)(val12);
7968 if ( tmp13 == NULL )
7970 arg13 = Alen = PyArray_DIMS( tmp13 )[0];
7971 arg14 = (PLINT *) PyArray_DATA( tmp13 );
7977 arg15 = (
PLFLT)(val15);
7982 arg16 = (
PLFLT)(val16);
7987 arg17 = (
PLFLT)(val17);
7992 arg18 = (
PLFLT)(val18);
7995 if ( tmp19 == NULL )
7997 if ( PyArray_DIMS( tmp19 )[0] !=
Alen )
7999 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8002 arg19 = (PLINT *) PyArray_DATA( tmp19 );
8006 tmp20 = (PyArrayObject *) PyArray_ContiguousFromObject( obj16, NPY_STRING, 1, 1 );
8007 if ( tmp20 == NULL )
8009 if ( PyArray_DIMS( tmp20 )[0] !=
Alen )
8011 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8014 arg20 = (
char **) malloc(
sizeof (
char* ) * (size_t) Alen );
8015 for ( i = 0; i <
Alen; i++ )
8017 arg20[i] = (
char *) PyArray_DATA( tmp20 ) + i * PyArray_STRIDES( tmp20 )[0];
8018 if ( arg20[i] == NULL )
8027 if ( tmp21 == NULL )
8029 if ( PyArray_DIMS( tmp21 )[0] !=
Alen )
8031 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8034 arg21 = (PLINT *) PyArray_DATA( tmp21 );
8038 if ( tmp22 == NULL )
8040 if ( PyArray_DIMS( tmp22 )[0] !=
Alen )
8042 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8045 arg22 = (PLINT *) PyArray_DATA( tmp22 );
8048 if ( obj19 != Py_None )
8051 if ( tmp23 == NULL )
8053 if ( PyArray_DIMS( tmp23 )[0] !=
Alen )
8055 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8058 arg23 = (PLFLT *) PyArray_DATA( tmp23 );
8066 if ( obj20 != Py_None )
8069 if ( tmp24 == NULL )
8071 if ( PyArray_DIMS( tmp24 )[0] !=
Alen )
8073 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8076 arg24 = (PLFLT *) PyArray_DATA( tmp24 );
8085 if ( tmp25 == NULL )
8087 if ( PyArray_DIMS( tmp25 )[0] !=
Alen )
8089 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8092 arg25 = (PLINT *) PyArray_DATA( tmp25 );
8096 if ( tmp26 == NULL )
8098 if ( PyArray_DIMS( tmp26 )[0] !=
Alen )
8100 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8103 arg26 = (PLINT *) PyArray_DATA( tmp26 );
8106 if ( obj23 != Py_None )
8109 if ( tmp27 == NULL )
8111 if ( PyArray_DIMS( tmp27 )[0] !=
Alen )
8113 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8116 arg27 = (PLFLT *) PyArray_DATA( tmp27 );
8125 if ( tmp28 == NULL )
8127 if ( PyArray_DIMS( tmp28 )[0] !=
Alen )
8129 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8132 arg28 = (PLINT *) PyArray_DATA( tmp28 );
8135 if ( obj25 != Py_None )
8138 if ( tmp29 == NULL )
8140 if ( PyArray_DIMS( tmp29 )[0] !=
Alen )
8142 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8145 arg29 = (PLFLT *) PyArray_DATA( tmp29 );
8154 if ( tmp30 == NULL )
8156 if ( PyArray_DIMS( tmp30 )[0] !=
Alen )
8158 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8161 arg30 = (PLINT *) PyArray_DATA( tmp30 );
8165 tmp31 = (PyArrayObject *) PyArray_ContiguousFromObject( obj27, NPY_STRING, 1, 1 );
8166 if ( tmp31 == NULL )
8168 if ( PyArray_DIMS( tmp31 )[0] !=
Alen )
8170 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8173 arg31 = (
char **) malloc(
sizeof (
char* ) * (size_t) Alen );
8174 for ( i = 0; i <
Alen; i++ )
8176 arg31[i] = (
char *) PyArray_DATA( tmp31 ) + i * PyArray_STRIDES( tmp31 )[0];
8177 if ( arg31[i] == NULL )
8184 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);
8205 Py_CLEAR( tmp20 ); free( arg20 );
8238 Py_CLEAR( tmp31 ); free( arg31 );
8249 Py_CLEAR( tmp20 ); free( arg20 );
8282 Py_CLEAR( tmp31 ); free( arg31 );
8289 PyObject *resultobj = 0;
8290 PLFLT *arg1 = (PLFLT *) 0 ;
8291 PLFLT *arg2 = (PLFLT *) 0 ;
8306 PLINT *arg17 = (PLINT *) 0 ;
8307 char **arg18 = (
char **) 0 ;
8309 char **arg20 = (
char **) 0 ;
8310 PLFLT *arg21 = (PLFLT *) 0 ;
8311 PLINT *arg22 = (PLINT *) 0 ;
8312 PLINT *arg23 = (PLINT *) 0 ;
8313 PLFLT **arg24 = (PLFLT **) 0 ;
8344 PyArrayObject *tmp16 = NULL ;
8345 PyArrayObject *tmp18 = NULL ;
8346 PyArrayObject *tmp19 = NULL ;
8347 PyArrayObject *tmp21 = NULL ;
8348 PyArrayObject *tmp22 = NULL ;
8349 PyArrayObject *tmp23 = NULL ;
8350 PyArrayObject *tmp24 = NULL ;
8351 PyObject * obj0 = 0 ;
8352 PyObject * obj1 = 0 ;
8353 PyObject * obj2 = 0 ;
8354 PyObject * obj3 = 0 ;
8355 PyObject * obj4 = 0 ;
8356 PyObject * obj5 = 0 ;
8357 PyObject * obj6 = 0 ;
8358 PyObject * obj7 = 0 ;
8359 PyObject * obj8 = 0 ;
8360 PyObject * obj9 = 0 ;
8361 PyObject * obj10 = 0 ;
8362 PyObject * obj11 = 0 ;
8363 PyObject * obj12 = 0 ;
8364 PyObject * obj13 = 0 ;
8365 PyObject * obj14 = 0 ;
8366 PyObject * obj15 = 0 ;
8367 PyObject * obj16 = 0 ;
8368 PyObject * obj17 = 0 ;
8369 PyObject * obj18 = 0 ;
8370 PyObject * obj19 = 0 ;
8374 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOOOOOOOOOOO:plcolorbar",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14,&obj15,&obj16,&obj17,&obj18,&obj19))
SWIG_fail;
8379 arg3 = (
PLINT)(val3);
8384 arg4 = (
PLINT)(val4);
8389 arg5 = (
PLFLT)(val5);
8394 arg6 = (
PLFLT)(val6);
8399 arg7 = (
PLFLT)(val7);
8404 arg8 = (
PLFLT)(val8);
8409 arg9 = (
PLINT)(val9);
8414 arg10 = (
PLINT)(val10);
8419 arg11 = (
PLINT)(val11);
8424 arg12 = (
PLFLT)(val12);
8429 arg13 = (
PLFLT)(val13);
8434 arg14 = (
PLINT)(val14);
8439 arg15 = (
PLFLT)(val15);
8442 if ( tmp16 == NULL )
8444 arg16 = Alen = PyArray_DIMS( tmp16 )[0];
8445 arg17 = (PLINT *) PyArray_DATA( tmp16 );
8449 tmp18 = (PyArrayObject *) PyArray_ContiguousFromObject( obj14, NPY_STRING, 1, 1 );
8450 if ( tmp18 == NULL )
8452 if ( PyArray_DIMS( tmp18 )[0] !=
Alen )
8454 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8457 arg18 = (
char **) malloc(
sizeof (
char* ) * (size_t) Alen );
8458 for ( i = 0; i <
Alen; i++ )
8460 arg18[i] = (
char *) PyArray_DATA( tmp18 ) + i * PyArray_STRIDES( tmp18 )[0];
8461 if ( arg18[i] == NULL )
8470 tmp19 = (PyArrayObject *) PyArray_ContiguousFromObject( obj15, NPY_STRING, 1, 1 );
8471 if ( tmp19 == NULL )
8473 Alen = PyArray_DIMS( tmp19 )[0];
8475 arg20 = (
char **) malloc(
sizeof (
char* ) * (size_t) Alen );
8476 for ( i = 0; i <
Alen; i++ )
8478 arg20[i] = (
char *) PyArray_DATA( tmp19 ) + i * PyArray_STRIDES( tmp19 )[0];
8479 if ( arg20[i] == NULL )
8488 if ( tmp21 == NULL )
8490 if ( PyArray_DIMS( tmp21 )[0] !=
Alen )
8492 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8495 arg21 = (PLFLT *) PyArray_DATA( tmp21 );
8499 if ( tmp22 == NULL )
8501 if ( PyArray_DIMS( tmp22 )[0] !=
Alen )
8503 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8506 arg22 = (PLINT *) PyArray_DATA( tmp22 );
8511 if ( tmp23 == NULL )
8513 if ( PyArray_DIMS( tmp23 )[0] !=
Alen )
8515 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8518 Xlen = PyArray_DIMS( tmp23 )[0];
8519 arg23 = (PLINT *) PyArray_DATA( tmp23 );
8521 for ( i = 0; i <
Xlen; i++ )
8522 if ( arg23[i] >
Ylen )
8528 if ( tmp24 == NULL )
8530 if ( PyArray_DIMS( tmp24 )[0] != Xlen || PyArray_DIMS( tmp24 )[1] !=
Ylen )
8532 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
8536 arg24 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) Xlen );
8537 for ( i = 0; i <
Xlen; i++ )
8538 arg24[i] = ( (PLFLT *) PyArray_DATA( tmp24 ) + i * size );
8540 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);
8558 Py_CLEAR( tmp18 ); free( arg18 );
8561 Py_CLEAR( tmp19 ); free( arg20 );
8582 Py_CLEAR( tmp18 ); free( arg18 );
8585 Py_CLEAR( tmp19 ); free( arg20 );
8605 PyObject *resultobj = 0;
8615 PyObject * obj0 = 0 ;
8616 PyObject * obj1 = 0 ;
8617 PyObject * obj2 = 0 ;
8619 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pllightsource",&obj0,&obj1,&obj2))
SWIG_fail;
8624 arg1 = (
PLFLT)(val1);
8629 arg2 = (
PLFLT)(val2);
8634 arg3 = (
PLFLT)(val3);
8644 PyObject *resultobj = 0;
8646 PLFLT *arg2 = (PLFLT *) 0 ;
8647 PLFLT *arg3 = (PLFLT *) 0 ;
8648 PyArrayObject *tmp1 = NULL ;
8649 PyArrayObject *tmp3 = NULL ;
8650 PyObject * obj0 = 0 ;
8651 PyObject * obj1 = 0 ;
8653 if (!PyArg_ParseTuple(args,(
char *)
"OO:plline",&obj0,&obj1))
SWIG_fail;
8658 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
8659 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
8665 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
8667 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8670 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
8672 plline(arg1,(
double const *)arg2,(
double const *)arg3);
8693 PyObject *resultobj = 0;
8695 PLFLT *arg2 = (PLFLT *) 0 ;
8696 PLFLT *arg3 = (PLFLT *) 0 ;
8697 PLFLT *arg4 = (PLFLT *) 0 ;
8698 PyArrayObject *tmp1 = NULL ;
8699 PyArrayObject *tmp3 = NULL ;
8700 PyArrayObject *tmp4 = NULL ;
8701 PyObject * obj0 = 0 ;
8702 PyObject * obj1 = 0 ;
8703 PyObject * obj2 = 0 ;
8705 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plline3",&obj0,&obj1,&obj2))
SWIG_fail;
8710 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
8711 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
8717 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
8719 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8722 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
8728 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
8730 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8733 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
8735 plline3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
8762 PyObject *resultobj = 0;
8766 PyObject * obj0 = 0 ;
8768 if (!PyArg_ParseTuple(args,(
char *)
"O:pllsty",&obj0))
SWIG_fail;
8773 arg1 = (
PLINT)(val1);
8783 PyObject *resultobj = 0;
8784 PLFLT *arg1 = (PLFLT *) 0 ;
8785 PLFLT *arg2 = (PLFLT *) 0 ;
8786 PLFLT **arg3 = (PLFLT **) 0 ;
8790 PyArrayObject *tmp1 = NULL ;
8791 PyArrayObject *tmp2 = NULL ;
8792 PyArrayObject *tmp3 = NULL ;
8795 PyObject * obj0 = 0 ;
8796 PyObject * obj1 = 0 ;
8797 PyObject * obj2 = 0 ;
8798 PyObject * obj3 = 0 ;
8800 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plmesh",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
8805 Xlen = PyArray_DIMS( tmp1 )[0];
8806 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
8812 Ylen = PyArray_DIMS( tmp2 )[0];
8813 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
8820 if ( Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
8822 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
8825 arg4 = PyArray_DIMS( tmp3 )[0];
8826 arg5 = PyArray_DIMS( tmp3 )[1];
8828 arg3 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg4 );
8829 for ( i = 0; i < arg4; i++ )
8830 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
8836 arg6 = (
PLINT)(val6);
8837 plmesh((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6);
8866 PyObject *resultobj = 0;
8867 PLFLT *arg1 = (PLFLT *) 0 ;
8868 PLFLT *arg2 = (PLFLT *) 0 ;
8869 PLFLT **arg3 = (PLFLT **) 0 ;
8873 PLFLT *arg7 = (PLFLT *) 0 ;
8875 PyArrayObject *tmp1 = NULL ;
8876 PyArrayObject *tmp2 = NULL ;
8877 PyArrayObject *tmp3 = NULL ;
8880 PyArrayObject *tmp7 = NULL ;
8881 PyObject * obj0 = 0 ;
8882 PyObject * obj1 = 0 ;
8883 PyObject * obj2 = 0 ;
8884 PyObject * obj3 = 0 ;
8885 PyObject * obj4 = 0 ;
8887 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plmeshc",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
8892 Xlen = PyArray_DIMS( tmp1 )[0];
8893 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
8899 Ylen = PyArray_DIMS( tmp2 )[0];
8900 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
8907 if ( Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
8909 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
8912 arg4 = PyArray_DIMS( tmp3 )[0];
8913 arg5 = PyArray_DIMS( tmp3 )[1];
8915 arg3 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg4 );
8916 for ( i = 0; i < arg4; i++ )
8917 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
8923 arg6 = (
PLINT)(val6);
8928 arg8 = PyArray_DIMS( tmp7 )[0];
8929 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
8931 plmeshc((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
8966 PyObject *resultobj = 0;
8967 PLINT *arg1 = (PLINT *) 0 ;
8972 if (!PyArg_ParseTuple(args,(
char *)
":plmkstrm"))
SWIG_fail;
8988 PyObject *resultobj = 0;
8989 char *arg1 = (
char *) 0 ;
8993 char *arg5 = (
char *) 0 ;
9006 PyObject * obj0 = 0 ;
9007 PyObject * obj1 = 0 ;
9008 PyObject * obj2 = 0 ;
9009 PyObject * obj3 = 0 ;
9010 PyObject * obj4 = 0 ;
9012 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plmtex",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9017 arg1 = (
char *)(buf1);
9022 arg2 = (
PLFLT)(val2);
9027 arg3 = (
PLFLT)(val3);
9032 arg4 = (
PLFLT)(val4);
9037 arg5 = (
char *)(buf5);
9038 plmtex((
char const *)arg1,arg2,arg3,arg4,(
char const *)arg5);
9051 PyObject *resultobj = 0;
9052 char *arg1 = (
char *) 0 ;
9056 char *arg5 = (
char *) 0 ;
9069 PyObject * obj0 = 0 ;
9070 PyObject * obj1 = 0 ;
9071 PyObject * obj2 = 0 ;
9072 PyObject * obj3 = 0 ;
9073 PyObject * obj4 = 0 ;
9075 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plmtex3",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9080 arg1 = (
char *)(buf1);
9085 arg2 = (
PLFLT)(val2);
9090 arg3 = (
PLFLT)(val3);
9095 arg4 = (
PLFLT)(val4);
9100 arg5 = (
char *)(buf5);
9101 plmtex3((
char const *)arg1,arg2,arg3,arg4,(
char const *)arg5);
9114 PyObject *resultobj = 0;
9115 PLFLT *arg1 = (PLFLT *) 0 ;
9116 PLFLT *arg2 = (PLFLT *) 0 ;
9117 PLFLT **arg3 = (PLFLT **) 0 ;
9122 PyArrayObject *tmp1 = NULL ;
9123 PyArrayObject *tmp2 = NULL ;
9124 PyArrayObject *tmp3 = NULL ;
9129 PyObject * obj0 = 0 ;
9130 PyObject * obj1 = 0 ;
9131 PyObject * obj2 = 0 ;
9132 PyObject * obj3 = 0 ;
9133 PyObject * obj4 = 0 ;
9135 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plot3d",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9140 Xlen = PyArray_DIMS( tmp1 )[0];
9141 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9147 Ylen = PyArray_DIMS( tmp2 )[0];
9148 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9155 if ( Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9157 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9160 arg4 = PyArray_DIMS( tmp3 )[0];
9161 arg5 = PyArray_DIMS( tmp3 )[1];
9163 arg3 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg4 );
9164 for ( i = 0; i < arg4; i++ )
9165 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9171 arg6 = (
PLINT)(val6);
9177 plot3d((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,arg7);
9206 PyObject *resultobj = 0;
9207 PLFLT *arg1 = (PLFLT *) 0 ;
9208 PLFLT *arg2 = (PLFLT *) 0 ;
9209 PLFLT **arg3 = (PLFLT **) 0 ;
9213 PLFLT *arg7 = (PLFLT *) 0 ;
9215 PyArrayObject *tmp1 = NULL ;
9216 PyArrayObject *tmp2 = NULL ;
9217 PyArrayObject *tmp3 = NULL ;
9220 PyArrayObject *tmp7 = NULL ;
9221 PyObject * obj0 = 0 ;
9222 PyObject * obj1 = 0 ;
9223 PyObject * obj2 = 0 ;
9224 PyObject * obj3 = 0 ;
9225 PyObject * obj4 = 0 ;
9227 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plot3dc",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9232 Xlen = PyArray_DIMS( tmp1 )[0];
9233 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9239 Ylen = PyArray_DIMS( tmp2 )[0];
9240 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9247 if ( Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9249 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9252 arg4 = PyArray_DIMS( tmp3 )[0];
9253 arg5 = PyArray_DIMS( tmp3 )[1];
9255 arg3 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg4 );
9256 for ( i = 0; i < arg4; i++ )
9257 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9263 arg6 = (
PLINT)(val6);
9268 arg8 = PyArray_DIMS( tmp7 )[0];
9269 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9271 plot3dc((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
9306 PyObject *resultobj = 0;
9307 PLFLT *arg1 = (PLFLT *) 0 ;
9308 PLFLT *arg2 = (PLFLT *) 0 ;
9309 PLFLT **arg3 = (PLFLT **) 0 ;
9313 PLFLT *arg7 = (PLFLT *) 0 ;
9317 PLINT *arg11 = (PLINT *) 0 ;
9318 PLINT *arg12 = (PLINT *) 0 ;
9319 PyArrayObject *tmp1 = NULL ;
9320 PyArrayObject *tmp2 = NULL ;
9321 PyArrayObject *tmp3 = NULL ;
9324 PyArrayObject *tmp7 = NULL ;
9327 PyArrayObject *tmp10 = NULL ;
9328 PyArrayObject *tmp12 = NULL ;
9329 PyObject * obj0 = 0 ;
9330 PyObject * obj1 = 0 ;
9331 PyObject * obj2 = 0 ;
9332 PyObject * obj3 = 0 ;
9333 PyObject * obj4 = 0 ;
9334 PyObject * obj5 = 0 ;
9335 PyObject * obj6 = 0 ;
9336 PyObject * obj7 = 0 ;
9338 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plot3dcl",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
9343 Xlen = PyArray_DIMS( tmp1 )[0];
9344 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9350 Ylen = PyArray_DIMS( tmp2 )[0];
9351 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9358 if ( Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9360 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9363 arg4 = PyArray_DIMS( tmp3 )[0];
9364 arg5 = PyArray_DIMS( tmp3 )[1];
9366 arg3 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg4 );
9367 for ( i = 0; i < arg4; i++ )
9368 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9374 arg6 = (
PLINT)(val6);
9379 arg8 = PyArray_DIMS( tmp7 )[0];
9380 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9386 arg9 = (
PLINT)(val9);
9389 if ( tmp10 == NULL )
9391 arg10 = Alen = PyArray_DIMS( tmp10 )[0];
9392 arg11 = (PLINT *) PyArray_DATA( tmp10 );
9396 if ( tmp12 == NULL )
9398 if ( PyArray_DIMS( tmp12 )[0] !=
Alen )
9400 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9403 arg12 = (PLINT *) PyArray_DATA( tmp12 );
9405 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);
9452 PyObject *resultobj = 0;
9453 PLFLT *arg1 = (PLFLT *) 0 ;
9454 PLFLT *arg2 = (PLFLT *) 0 ;
9455 PLFLT **arg3 = (PLFLT **) 0 ;
9459 PLFLT *arg7 = (PLFLT *) 0 ;
9461 PyArrayObject *tmp1 = NULL ;
9462 PyArrayObject *tmp2 = NULL ;
9463 PyArrayObject *tmp3 = NULL ;
9466 PyArrayObject *tmp7 = NULL ;
9467 PyObject * obj0 = 0 ;
9468 PyObject * obj1 = 0 ;
9469 PyObject * obj2 = 0 ;
9470 PyObject * obj3 = 0 ;
9471 PyObject * obj4 = 0 ;
9473 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plsurf3d",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9478 Xlen = PyArray_DIMS( tmp1 )[0];
9479 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9485 Ylen = PyArray_DIMS( tmp2 )[0];
9486 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9493 if ( Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9495 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9498 arg4 = PyArray_DIMS( tmp3 )[0];
9499 arg5 = PyArray_DIMS( tmp3 )[1];
9501 arg3 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg4 );
9502 for ( i = 0; i < arg4; i++ )
9503 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9509 arg6 = (
PLINT)(val6);
9514 arg8 = PyArray_DIMS( tmp7 )[0];
9515 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9517 plsurf3d((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
9552 PyObject *resultobj = 0;
9553 PLFLT *arg1 = (PLFLT *) 0 ;
9554 PLFLT *arg2 = (PLFLT *) 0 ;
9555 PLFLT **arg3 = (PLFLT **) 0 ;
9559 PLFLT *arg7 = (PLFLT *) 0 ;
9563 PLINT *arg11 = (PLINT *) 0 ;
9564 PLINT *arg12 = (PLINT *) 0 ;
9565 PyArrayObject *tmp1 = NULL ;
9566 PyArrayObject *tmp2 = NULL ;
9567 PyArrayObject *tmp3 = NULL ;
9570 PyArrayObject *tmp7 = NULL ;
9573 PyArrayObject *tmp10 = NULL ;
9574 PyArrayObject *tmp12 = NULL ;
9575 PyObject * obj0 = 0 ;
9576 PyObject * obj1 = 0 ;
9577 PyObject * obj2 = 0 ;
9578 PyObject * obj3 = 0 ;
9579 PyObject * obj4 = 0 ;
9580 PyObject * obj5 = 0 ;
9581 PyObject * obj6 = 0 ;
9582 PyObject * obj7 = 0 ;
9584 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plsurf3dl",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
9589 Xlen = PyArray_DIMS( tmp1 )[0];
9590 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9596 Ylen = PyArray_DIMS( tmp2 )[0];
9597 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9604 if ( Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9606 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9609 arg4 = PyArray_DIMS( tmp3 )[0];
9610 arg5 = PyArray_DIMS( tmp3 )[1];
9612 arg3 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg4 );
9613 for ( i = 0; i < arg4; i++ )
9614 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9620 arg6 = (
PLINT)(val6);
9625 arg8 = PyArray_DIMS( tmp7 )[0];
9626 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9632 arg9 = (
PLINT)(val9);
9635 if ( tmp10 == NULL )
9637 arg10 = Alen = PyArray_DIMS( tmp10 )[0];
9638 arg11 = (PLINT *) PyArray_DATA( tmp10 );
9642 if ( tmp12 == NULL )
9644 if ( PyArray_DIMS( tmp12 )[0] !=
Alen )
9646 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9649 arg12 = (PLINT *) PyArray_DATA( tmp12 );
9651 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);
9698 PyObject *resultobj = 0;
9699 int *arg1 = (
int *) 0 ;
9700 char **arg2 = (
char **) 0 ;
9705 PyObject * obj0 = 0 ;
9706 PyObject * obj1 = 0 ;
9709 if (!PyArg_ParseTuple(args,(
char *)
"OO:plparseopts",&obj0,&obj1))
SWIG_fail;
9712 PyObject *unicode_string;
9714 if ( !PyList_Check( obj0 ) )
9716 PyErr_SetString( PyExc_ValueError,
"Expecting a list" );
9719 tmp1 = PyList_Size( obj0 );
9721 arg2 = (
char **) malloc( (
size_t) ( tmp1 + 1 ) *
sizeof (
char * ) );
9722 for ( i = 0; i < tmp1; i++ )
9724 PyObject *s = PyList_GetItem( obj0, i );
9725 if ( PyString_Check( s ) )
9727 arg2[i] = PyString_AsString( s );
9729 else if ( PyUnicode_Check( s ) )
9732 unicode_string = PyUnicode_AsEncodedString( s,
"utf-8",
"Error ~" );
9733 arg2[i] = PyBytes_AS_STRING( unicode_string );
9738 PyErr_SetString( PyExc_ValueError,
"List items must be strings" );
9748 arg3 = (
PLINT)(val3);
9766 PyObject *resultobj = 0;
9768 PLINT *arg2 = (PLINT *) 0 ;
9769 PLINT *arg3 = (PLINT *) 0 ;
9770 PyArrayObject *tmp1 = NULL ;
9771 PyArrayObject *tmp3 = NULL ;
9772 PyObject * obj0 = 0 ;
9773 PyObject * obj1 = 0 ;
9775 if (!PyArg_ParseTuple(args,(
char *)
"OO:plpat",&obj0,&obj1))
SWIG_fail;
9780 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
9781 arg2 = (PLINT *) PyArray_DATA( tmp1 );
9787 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
9789 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9792 arg3 = (PLINT *) PyArray_DATA( tmp3 );
9794 plpat(arg1,(
int const *)arg2,(
int const *)arg3);
9815 PyObject *resultobj = 0;
9831 PyObject * obj0 = 0 ;
9832 PyObject * obj1 = 0 ;
9833 PyObject * obj2 = 0 ;
9834 PyObject * obj3 = 0 ;
9835 PyObject * obj4 = 0 ;
9837 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plpath",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9842 arg1 = (
PLINT)(val1);
9847 arg2 = (
PLFLT)(val2);
9852 arg3 = (
PLFLT)(val3);
9857 arg4 = (
PLFLT)(val4);
9862 arg5 = (
PLFLT)(val5);
9863 plpath(arg1,arg2,arg3,arg4,arg5);
9872 PyObject *resultobj = 0;
9874 PLFLT *arg2 = (PLFLT *) 0 ;
9875 PLFLT *arg3 = (PLFLT *) 0 ;
9877 PyArrayObject *tmp1 = NULL ;
9878 PyArrayObject *tmp3 = NULL ;
9881 PyObject * obj0 = 0 ;
9882 PyObject * obj1 = 0 ;
9883 PyObject * obj2 = 0 ;
9885 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plpoin",&obj0,&obj1,&obj2))
SWIG_fail;
9890 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
9891 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
9897 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
9899 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9902 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
9908 arg4 = (
PLINT)(val4);
9909 plpoin(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
9930 PyObject *resultobj = 0;
9932 PLFLT *arg2 = (PLFLT *) 0 ;
9933 PLFLT *arg3 = (PLFLT *) 0 ;
9934 PLFLT *arg4 = (PLFLT *) 0 ;
9936 PyArrayObject *tmp1 = NULL ;
9937 PyArrayObject *tmp3 = NULL ;
9938 PyArrayObject *tmp4 = NULL ;
9941 PyObject * obj0 = 0 ;
9942 PyObject * obj1 = 0 ;
9943 PyObject * obj2 = 0 ;
9944 PyObject * obj3 = 0 ;
9946 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plpoin3",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
9951 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
9952 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
9958 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
9960 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9963 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
9969 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
9971 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9974 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
9980 arg5 = (
PLINT)(val5);
9981 plpoin3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,arg5);
10008 PyObject *resultobj = 0;
10010 PLFLT *arg2 = (PLFLT *) 0 ;
10011 PLFLT *arg3 = (PLFLT *) 0 ;
10012 PLFLT *arg4 = (PLFLT *) 0 ;
10015 PyArrayObject *tmp1 = NULL ;
10016 PyArrayObject *tmp3 = NULL ;
10017 PyArrayObject *tmp4 = NULL ;
10018 PyArrayObject *tmp5 = NULL ;
10021 PyObject * obj0 = 0 ;
10022 PyObject * obj1 = 0 ;
10023 PyObject * obj2 = 0 ;
10024 PyObject * obj3 = 0 ;
10025 PyObject * obj4 = 0 ;
10027 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plpoly3",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
10030 if ( tmp1 == NULL )
10032 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10033 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
10037 if ( tmp3 == NULL )
10039 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10041 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10044 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
10048 if ( tmp4 == NULL )
10050 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10052 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10055 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10059 if ( tmp5 == NULL )
10061 if ( PyArray_DIMS( tmp5 )[0] < Alen - 1 )
10063 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
10066 arg5 = (PLINT *) PyArray_DATA( tmp5 );
10073 plpoly3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,(
int const *)arg5,arg6);
10106 PyObject *resultobj = 0;
10113 PyObject * obj0 = 0 ;
10114 PyObject * obj1 = 0 ;
10116 if (!PyArg_ParseTuple(args,(
char *)
"OO:plprec",&obj0,&obj1))
SWIG_fail;
10121 arg1 = (
PLINT)(val1);
10126 arg2 = (
PLINT)(val2);
10136 PyObject *resultobj = 0;
10140 PyObject * obj0 = 0 ;
10142 if (!PyArg_ParseTuple(args,(
char *)
"O:plpsty",&obj0))
SWIG_fail;
10147 arg1 = (
PLINT)(val1);
10157 PyObject *resultobj = 0;
10163 char *arg6 = (
char *) 0 ;
10177 PyObject * obj0 = 0 ;
10178 PyObject * obj1 = 0 ;
10179 PyObject * obj2 = 0 ;
10180 PyObject * obj3 = 0 ;
10181 PyObject * obj4 = 0 ;
10182 PyObject * obj5 = 0 ;
10184 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plptex",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
10189 arg1 = (
PLFLT)(val1);
10194 arg2 = (
PLFLT)(val2);
10199 arg3 = (
PLFLT)(val3);
10204 arg4 = (
PLFLT)(val4);
10209 arg5 = (
PLFLT)(val5);
10214 arg6 = (
char *)(buf6);
10215 plptex(arg1,arg2,arg3,arg4,arg5,(
char const *)arg6);
10226 PyObject *resultobj = 0;
10237 char *arg11 = (
char *) 0 ;
10261 PyObject * obj0 = 0 ;
10262 PyObject * obj1 = 0 ;
10263 PyObject * obj2 = 0 ;
10264 PyObject * obj3 = 0 ;
10265 PyObject * obj4 = 0 ;
10266 PyObject * obj5 = 0 ;
10267 PyObject * obj6 = 0 ;
10268 PyObject * obj7 = 0 ;
10269 PyObject * obj8 = 0 ;
10270 PyObject * obj9 = 0 ;
10271 PyObject * obj10 = 0 ;
10273 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plptex3",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
10278 arg1 = (
PLFLT)(val1);
10283 arg2 = (
PLFLT)(val2);
10288 arg3 = (
PLFLT)(val3);
10293 arg4 = (
PLFLT)(val4);
10298 arg5 = (
PLFLT)(val5);
10303 arg6 = (
PLFLT)(val6);
10308 arg7 = (
PLFLT)(val7);
10313 arg8 = (
PLFLT)(val8);
10318 arg9 = (
PLFLT)(val9);
10323 arg10 = (
PLFLT)(val10);
10328 arg11 = (
char *)(buf11);
10329 plptex3(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(
char const *)arg11);
10340 PyObject *resultobj = 0;
10343 if (!PyArg_ParseTuple(args,(
char *)
":plrandd"))
SWIG_fail;
10353 PyObject *resultobj = 0;
10355 if (!PyArg_ParseTuple(args,(
char *)
":plreplot"))
SWIG_fail;
10365 PyObject *resultobj = 0;
10369 PLFLT *arg4 = (PLFLT *) 0 ;
10370 PLFLT *arg5 = (PLFLT *) 0 ;
10371 PLFLT *arg6 = (PLFLT *) 0 ;
10384 PyObject * obj0 = 0 ;
10385 PyObject * obj1 = 0 ;
10386 PyObject * obj2 = 0 ;
10391 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plrgbhls",&obj0,&obj1,&obj2))
SWIG_fail;
10396 arg1 = (
PLFLT)(val1);
10401 arg2 = (
PLFLT)(val2);
10406 arg3 = (
PLFLT)(val3);
10407 plrgbhls(arg1,arg2,arg3,arg4,arg5,arg6);
10434 PyObject *resultobj = 0;
10441 PyObject * obj0 = 0 ;
10442 PyObject * obj1 = 0 ;
10444 if (!PyArg_ParseTuple(args,(
char *)
"OO:plschr",&obj0,&obj1))
SWIG_fail;
10449 arg1 = (
PLFLT)(val1);
10454 arg2 = (
PLFLT)(val2);
10464 PyObject *resultobj = 0;
10465 PLINT *arg1 = (PLINT *) 0 ;
10466 PLINT *arg2 = (PLINT *) 0 ;
10467 PLINT *arg3 = (PLINT *) 0 ;
10469 PyArrayObject *tmp1 = NULL ;
10470 PyArrayObject *tmp2 = NULL ;
10471 PyArrayObject *tmp3 = NULL ;
10472 PyObject * obj0 = 0 ;
10473 PyObject * obj1 = 0 ;
10474 PyObject * obj2 = 0 ;
10476 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plscmap0",&obj0,&obj1,&obj2))
SWIG_fail;
10479 if ( tmp1 == NULL )
10481 Alen = PyArray_DIMS( tmp1 )[0];
10482 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10486 if ( tmp2 == NULL )
10488 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10490 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10493 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10497 if ( tmp3 == NULL )
10499 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10501 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10504 arg4 = PyArray_DIMS( tmp3 )[0];
10505 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10507 plscmap0((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,arg4);
10534 PyObject *resultobj = 0;
10535 PLINT *arg1 = (PLINT *) 0 ;
10536 PLINT *arg2 = (PLINT *) 0 ;
10537 PLINT *arg3 = (PLINT *) 0 ;
10538 PLFLT *arg4 = (PLFLT *) 0 ;
10540 PyArrayObject *tmp1 = NULL ;
10541 PyArrayObject *tmp2 = NULL ;
10542 PyArrayObject *tmp3 = NULL ;
10543 PyArrayObject *tmp4 = NULL ;
10544 PyObject * obj0 = 0 ;
10545 PyObject * obj1 = 0 ;
10546 PyObject * obj2 = 0 ;
10547 PyObject * obj3 = 0 ;
10549 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscmap0a",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
10552 if ( tmp1 == NULL )
10554 Alen = PyArray_DIMS( tmp1 )[0];
10555 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10559 if ( tmp2 == NULL )
10561 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10563 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10566 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10570 if ( tmp3 == NULL )
10572 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10574 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10577 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10581 if ( tmp4 == NULL )
10583 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10585 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10588 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10589 arg5 = PyArray_DIMS( tmp4 )[0];
10591 plscmap0a((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,(
double const *)arg4,arg5);
10624 PyObject *resultobj = 0;
10628 PyObject * obj0 = 0 ;
10630 if (!PyArg_ParseTuple(args,(
char *)
"O:plscmap0n",&obj0))
SWIG_fail;
10635 arg1 = (
PLINT)(val1);
10645 PyObject *resultobj = 0;
10646 PLINT *arg1 = (PLINT *) 0 ;
10647 PLINT *arg2 = (PLINT *) 0 ;
10648 PLINT *arg3 = (PLINT *) 0 ;
10650 PyArrayObject *tmp1 = NULL ;
10651 PyArrayObject *tmp2 = NULL ;
10652 PyArrayObject *tmp3 = NULL ;
10653 PyObject * obj0 = 0 ;
10654 PyObject * obj1 = 0 ;
10655 PyObject * obj2 = 0 ;
10657 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plscmap1",&obj0,&obj1,&obj2))
SWIG_fail;
10660 if ( tmp1 == NULL )
10662 Alen = PyArray_DIMS( tmp1 )[0];
10663 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10667 if ( tmp2 == NULL )
10669 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10671 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10674 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10678 if ( tmp3 == NULL )
10680 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10682 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10685 arg4 = PyArray_DIMS( tmp3 )[0];
10686 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10688 plscmap1((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,arg4);
10715 PyObject *resultobj = 0;
10716 PLINT *arg1 = (PLINT *) 0 ;
10717 PLINT *arg2 = (PLINT *) 0 ;
10718 PLINT *arg3 = (PLINT *) 0 ;
10719 PLFLT *arg4 = (PLFLT *) 0 ;
10721 PyArrayObject *tmp1 = NULL ;
10722 PyArrayObject *tmp2 = NULL ;
10723 PyArrayObject *tmp3 = NULL ;
10724 PyArrayObject *tmp4 = NULL ;
10725 PyObject * obj0 = 0 ;
10726 PyObject * obj1 = 0 ;
10727 PyObject * obj2 = 0 ;
10728 PyObject * obj3 = 0 ;
10730 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscmap1a",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
10733 if ( tmp1 == NULL )
10735 Alen = PyArray_DIMS( tmp1 )[0];
10736 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10740 if ( tmp2 == NULL )
10742 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10744 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10747 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10751 if ( tmp3 == NULL )
10753 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10755 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10758 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10762 if ( tmp4 == NULL )
10764 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10766 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10769 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10770 arg5 = PyArray_DIMS( tmp4 )[0];
10772 plscmap1a((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,(
double const *)arg4,arg5);
10805 PyObject *resultobj = 0;
10808 PLFLT *arg3 = (PLFLT *) 0 ;
10809 PLFLT *arg4 = (PLFLT *) 0 ;
10810 PLFLT *arg5 = (PLFLT *) 0 ;
10811 PLFLT *arg6 = (PLFLT *) 0 ;
10815 PyArrayObject *tmp2 = NULL ;
10816 PyArrayObject *tmp4 = NULL ;
10817 PyArrayObject *tmp5 = NULL ;
10818 PyArrayObject *tmp6 = NULL ;
10819 PyArrayObject *tmp7 = NULL ;
10820 PyObject * obj0 = 0 ;
10821 PyObject * obj1 = 0 ;
10822 PyObject * obj2 = 0 ;
10823 PyObject * obj3 = 0 ;
10824 PyObject * obj4 = 0 ;
10825 PyObject * obj5 = 0 ;
10827 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plscmap1l",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
10835 if ( tmp2 == NULL )
10837 arg2 = Alen = PyArray_DIMS( tmp2 )[0];
10838 arg3 = (PLFLT *) PyArray_DATA( tmp2 );
10842 if ( tmp4 == NULL )
10844 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10846 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10849 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10853 if ( tmp5 == NULL )
10855 if ( PyArray_DIMS( tmp5 )[0] !=
Alen )
10857 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10860 arg5 = (PLFLT *) PyArray_DATA( tmp5 );
10864 if ( tmp6 == NULL )
10866 if ( PyArray_DIMS( tmp6 )[0] !=
Alen )
10868 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10871 arg6 = (PLFLT *) PyArray_DATA( tmp6 );
10875 if ( tmp7 == NULL )
10877 if ( PyArray_DIMS( tmp7 )[0] < Alen - 1 )
10879 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
10882 arg7 = (PLINT *) PyArray_DATA( tmp7 );
10884 plscmap1l(arg1,arg2,(
double const *)arg3,(
double const *)arg4,(
double const *)arg5,(
double const *)arg6,(
int const *)arg7);
10923 PyObject *resultobj = 0;
10926 PLFLT *arg3 = (PLFLT *) 0 ;
10927 PLFLT *arg4 = (PLFLT *) 0 ;
10928 PLFLT *arg5 = (PLFLT *) 0 ;
10929 PLFLT *arg6 = (PLFLT *) 0 ;
10930 PLFLT *arg7 = (PLFLT *) 0 ;
10934 PyArrayObject *tmp2 = NULL ;
10935 PyArrayObject *tmp4 = NULL ;
10936 PyArrayObject *tmp5 = NULL ;
10937 PyArrayObject *tmp6 = NULL ;
10938 PyArrayObject *tmp7 = NULL ;
10939 PyArrayObject *tmp8 = NULL ;
10940 PyObject * obj0 = 0 ;
10941 PyObject * obj1 = 0 ;
10942 PyObject * obj2 = 0 ;
10943 PyObject * obj3 = 0 ;
10944 PyObject * obj4 = 0 ;
10945 PyObject * obj5 = 0 ;
10946 PyObject * obj6 = 0 ;
10948 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plscmap1la",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
10956 if ( tmp2 == NULL )
10958 arg2 = Alen = PyArray_DIMS( tmp2 )[0];
10959 arg3 = (PLFLT *) PyArray_DATA( tmp2 );
10963 if ( tmp4 == NULL )
10965 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10967 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10970 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10974 if ( tmp5 == NULL )
10976 if ( PyArray_DIMS( tmp5 )[0] !=
Alen )
10978 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10981 arg5 = (PLFLT *) PyArray_DATA( tmp5 );
10985 if ( tmp6 == NULL )
10987 if ( PyArray_DIMS( tmp6 )[0] !=
Alen )
10989 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10992 arg6 = (PLFLT *) PyArray_DATA( tmp6 );
10996 if ( tmp7 == NULL )
10998 if ( PyArray_DIMS( tmp7 )[0] !=
Alen )
11000 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11003 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
11007 if ( tmp8 == NULL )
11009 if ( PyArray_DIMS( tmp8 )[0] < Alen - 1 )
11011 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
11014 arg8 = (PLINT *) PyArray_DATA( tmp8 );
11016 plscmap1la(arg1,arg2,(
double const *)arg3,(
double const *)arg4,(
double const *)arg5,(
double const *)arg6,(
double const *)arg7,(
int const *)arg8);
11061 PyObject *resultobj = 0;
11065 PyObject * obj0 = 0 ;
11067 if (!PyArg_ParseTuple(args,(
char *)
"O:plscmap1n",&obj0))
SWIG_fail;
11072 arg1 = (
PLINT)(val1);
11082 PyObject *resultobj = 0;
11089 PyObject * obj0 = 0 ;
11090 PyObject * obj1 = 0 ;
11092 if (!PyArg_ParseTuple(args,(
char *)
"OO:plscmap1_range",&obj0,&obj1))
SWIG_fail;
11097 arg1 = (
PLFLT)(val1);
11102 arg2 = (
PLFLT)(val2);
11112 PyObject *resultobj = 0;
11113 PLFLT *arg1 = (PLFLT *) 0 ;
11114 PLFLT *arg2 = (PLFLT *) 0 ;
11122 if (!PyArg_ParseTuple(args,(
char *)
":plgcmap1_range"))
SWIG_fail;
11144 PyObject *resultobj = 0;
11157 PyObject * obj0 = 0 ;
11158 PyObject * obj1 = 0 ;
11159 PyObject * obj2 = 0 ;
11160 PyObject * obj3 = 0 ;
11162 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscol0",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11167 arg1 = (
PLINT)(val1);
11172 arg2 = (
PLINT)(val2);
11177 arg3 = (
PLINT)(val3);
11182 arg4 = (
PLINT)(val4);
11183 plscol0(arg1,arg2,arg3,arg4);
11192 PyObject *resultobj = 0;
11208 PyObject * obj0 = 0 ;
11209 PyObject * obj1 = 0 ;
11210 PyObject * obj2 = 0 ;
11211 PyObject * obj3 = 0 ;
11212 PyObject * obj4 = 0 ;
11214 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plscol0a",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
11219 arg1 = (
PLINT)(val1);
11224 arg2 = (
PLINT)(val2);
11229 arg3 = (
PLINT)(val3);
11234 arg4 = (
PLINT)(val4);
11239 arg5 = (
PLFLT)(val5);
11240 plscol0a(arg1,arg2,arg3,arg4,arg5);
11249 PyObject *resultobj = 0;
11259 PyObject * obj0 = 0 ;
11260 PyObject * obj1 = 0 ;
11261 PyObject * obj2 = 0 ;
11263 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plscolbg",&obj0,&obj1,&obj2))
SWIG_fail;
11268 arg1 = (
PLINT)(val1);
11273 arg2 = (
PLINT)(val2);
11278 arg3 = (
PLINT)(val3);
11288 PyObject *resultobj = 0;
11301 PyObject * obj0 = 0 ;
11302 PyObject * obj1 = 0 ;
11303 PyObject * obj2 = 0 ;
11304 PyObject * obj3 = 0 ;
11306 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscolbga",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11311 arg1 = (
PLINT)(val1);
11316 arg2 = (
PLINT)(val2);
11321 arg3 = (
PLINT)(val3);
11326 arg4 = (
PLFLT)(val4);
11336 PyObject *resultobj = 0;
11340 PyObject * obj0 = 0 ;
11342 if (!PyArg_ParseTuple(args,(
char *)
"O:plscolor",&obj0))
SWIG_fail;
11347 arg1 = (
PLINT)(val1);
11357 PyObject *resultobj = 0;
11361 PyObject * obj0 = 0 ;
11363 if (!PyArg_ParseTuple(args,(
char *)
"O:plscompression",&obj0))
SWIG_fail;
11368 arg1 = (
PLINT)(val1);
11378 PyObject *resultobj = 0;
11379 char *arg1 = (
char *) 0 ;
11383 PyObject * obj0 = 0 ;
11385 if (!PyArg_ParseTuple(args,(
char *)
"O:plsdev",&obj0))
SWIG_fail;
11390 arg1 = (
char *)(buf1);
11391 plsdev((
char const *)arg1);
11402 PyObject *resultobj = 0;
11415 PyObject * obj0 = 0 ;
11416 PyObject * obj1 = 0 ;
11417 PyObject * obj2 = 0 ;
11418 PyObject * obj3 = 0 ;
11420 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsdidev",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11425 arg1 = (
PLFLT)(val1);
11430 arg2 = (
PLFLT)(val2);
11435 arg3 = (
PLFLT)(val3);
11440 arg4 = (
PLFLT)(val4);
11450 PyObject *resultobj = 0;
11469 PyObject * obj0 = 0 ;
11470 PyObject * obj1 = 0 ;
11471 PyObject * obj2 = 0 ;
11472 PyObject * obj3 = 0 ;
11473 PyObject * obj4 = 0 ;
11474 PyObject * obj5 = 0 ;
11476 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plsdimap",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
11481 arg1 = (
PLINT)(val1);
11486 arg2 = (
PLINT)(val2);
11491 arg3 = (
PLINT)(val3);
11496 arg4 = (
PLINT)(val4);
11501 arg5 = (
PLFLT)(val5);
11506 arg6 = (
PLFLT)(val6);
11507 plsdimap(arg1,arg2,arg3,arg4,arg5,arg6);
11516 PyObject *resultobj = 0;
11520 PyObject * obj0 = 0 ;
11522 if (!PyArg_ParseTuple(args,(
char *)
"O:plsdiori",&obj0))
SWIG_fail;
11527 arg1 = (
PLFLT)(val1);
11537 PyObject *resultobj = 0;
11550 PyObject * obj0 = 0 ;
11551 PyObject * obj1 = 0 ;
11552 PyObject * obj2 = 0 ;
11553 PyObject * obj3 = 0 ;
11555 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsdiplt",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11560 arg1 = (
PLFLT)(val1);
11565 arg2 = (
PLFLT)(val2);
11570 arg3 = (
PLFLT)(val3);
11575 arg4 = (
PLFLT)(val4);
11585 PyObject *resultobj = 0;
11598 PyObject * obj0 = 0 ;
11599 PyObject * obj1 = 0 ;
11600 PyObject * obj2 = 0 ;
11601 PyObject * obj3 = 0 ;
11603 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsdiplz",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11608 arg1 = (
PLFLT)(val1);
11613 arg2 = (
PLFLT)(val2);
11618 arg3 = (
PLFLT)(val3);
11623 arg4 = (
PLFLT)(val4);
11633 PyObject *resultobj = 0;
11634 unsigned int arg1 ;
11635 unsigned int val1 ;
11637 PyObject * obj0 = 0 ;
11639 if (!PyArg_ParseTuple(args,(
char *)
"O:plseed",&obj0))
SWIG_fail;
11644 arg1 = (
unsigned int)(val1);
11654 PyObject *resultobj = 0;
11658 PyObject * obj0 = 0 ;
11660 if (!PyArg_ParseTuple(args,(
char *)
"O:plsesc",&obj0))
SWIG_fail;
11665 arg1 = (char)(val1);
11675 PyObject *resultobj = 0;
11676 char *arg1 = (
char *) 0 ;
11677 char *arg2 = (
char *) 0 ;
11684 PyObject * obj0 = 0 ;
11685 PyObject * obj1 = 0 ;
11688 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsetopt",&obj0,&obj1))
SWIG_fail;
11693 arg1 = (
char *)(buf1);
11698 arg2 = (
char *)(buf2);
11699 result = (
PLINT)
plsetopt((
char const *)arg1,(
char const *)arg2);
11712 PyObject *resultobj = 0;
11722 PyObject * obj0 = 0 ;
11723 PyObject * obj1 = 0 ;
11724 PyObject * obj2 = 0 ;
11726 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsfam",&obj0,&obj1,&obj2))
SWIG_fail;
11731 arg1 = (
PLINT)(val1);
11736 arg2 = (
PLINT)(val2);
11741 arg3 = (
PLINT)(val3);
11751 PyObject *resultobj = 0;
11753 unsigned int val1 ;
11755 PyObject * obj0 = 0 ;
11757 if (!PyArg_ParseTuple(args,(
char *)
"O:plsfci",&obj0))
SWIG_fail;
11772 PyObject *resultobj = 0;
11773 char *arg1 = (
char *) 0 ;
11777 PyObject * obj0 = 0 ;
11779 if (!PyArg_ParseTuple(args,(
char *)
"O:plsfnam",&obj0))
SWIG_fail;
11784 arg1 = (
char *)(buf1);
11796 PyObject *resultobj = 0;
11806 PyObject * obj0 = 0 ;
11807 PyObject * obj1 = 0 ;
11808 PyObject * obj2 = 0 ;
11810 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsfont",&obj0,&obj1,&obj2))
SWIG_fail;
11815 arg1 = (
PLINT)(val1);
11820 arg2 = (
PLINT)(val2);
11825 arg3 = (
PLINT)(val3);
11835 PyObject *resultobj = 0;
11836 PLFLT **arg1 = (PLFLT **) 0 ;
11844 PLFLT *arg9 = (PLFLT *) 0 ;
11853 PyArrayObject *tmp1 = NULL ;
11862 PyArrayObject *tmp9 = NULL ;
11871 PyObject * obj0 = 0 ;
11872 PyObject * obj1 = 0 ;
11873 PyObject * obj2 = 0 ;
11874 PyObject * obj3 = 0 ;
11875 PyObject * obj4 = 0 ;
11876 PyObject * obj5 = 0 ;
11877 PyObject * obj6 = 0 ;
11878 PyObject * obj7 = 0 ;
11879 PyObject * obj8 = 0 ;
11880 PyObject * obj9 = 0 ;
11881 PyObject * obj10 = 0 ;
11882 PyObject * obj11 = 0 ;
11897 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOO|OO:plshades",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11))
SWIG_fail;
11901 if ( tmp1 == NULL )
11903 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
11904 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
11906 arg1 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg2 );
11907 for ( i = 0; i < arg2; i++ )
11908 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
11914 arg5 = (
PLFLT)(val5);
11919 arg6 = (
PLFLT)(val6);
11924 arg7 = (
PLFLT)(val7);
11929 arg8 = (
PLFLT)(val8);
11932 if ( tmp9 == NULL )
11934 arg10 = PyArray_DIMS( tmp9 )[0];
11935 arg9 = (PLFLT *) PyArray_DATA( tmp9 );
11941 arg11 = (
PLFLT)(val11);
11946 arg12 = (
PLINT)(val12);
11951 arg13 = (
PLFLT)(val13);
11956 arg15 = (
PLBOOL)(val15);
11960 if ( obj10 == Py_None )
11966 if ( !PyCallable_Check( (PyObject *) obj10 ) )
11968 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
11977 if ( obj11 == Py_None )
11985 plshades((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(
double const *)arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17);
12020 PyObject *resultobj = 0;
12021 PLFLT **arg1 = (PLFLT **) 0 ;
12042 PyArrayObject *tmp1 = NULL ;
12071 PyObject * obj0 = 0 ;
12072 PyObject * obj1 = 0 ;
12073 PyObject * obj2 = 0 ;
12074 PyObject * obj3 = 0 ;
12075 PyObject * obj4 = 0 ;
12076 PyObject * obj5 = 0 ;
12077 PyObject * obj6 = 0 ;
12078 PyObject * obj7 = 0 ;
12079 PyObject * obj8 = 0 ;
12080 PyObject * obj9 = 0 ;
12081 PyObject * obj10 = 0 ;
12082 PyObject * obj11 = 0 ;
12083 PyObject * obj12 = 0 ;
12084 PyObject * obj13 = 0 ;
12085 PyObject * obj14 = 0 ;
12086 PyObject * obj15 = 0 ;
12087 PyObject * obj16 = 0 ;
12102 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOOOOOO|OO:plshade",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14,&obj15,&obj16))
SWIG_fail;
12106 if ( tmp1 == NULL )
12108 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
12109 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
12111 arg1 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg2 );
12112 for ( i = 0; i < arg2; i++ )
12113 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
12119 arg5 = (
PLFLT)(val5);
12124 arg6 = (
PLFLT)(val6);
12129 arg7 = (
PLFLT)(val7);
12134 arg8 = (
PLFLT)(val8);
12139 arg9 = (
PLFLT)(val9);
12144 arg10 = (
PLFLT)(val10);
12149 arg11 = (
PLINT)(val11);
12154 arg12 = (
PLFLT)(val12);
12159 arg13 = (
PLFLT)(val13);
12164 arg14 = (
PLINT)(val14);
12169 arg15 = (
PLFLT)(val15);
12174 arg16 = (
PLINT)(val16);
12179 arg17 = (
PLFLT)(val17);
12184 arg19 = (
PLBOOL)(val19);
12188 if ( obj15 == Py_None )
12194 if ( !PyCallable_Check( (PyObject *) obj15 ) )
12196 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
12205 if ( obj16 == Py_None )
12213 plshade((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21);
12242 PyObject *resultobj = 0;
12246 PyObject * obj0 = 0 ;
12247 PyObject * obj1 = 0 ;
12249 if (!PyArg_ParseTuple(args,(
char *)
"OO:plslabelfunc",&obj0,&obj1))
SWIG_fail;
12252 if ( python_label )
12254 Py_CLEAR( python_label );
12258 if ( obj0 == Py_None )
12264 if ( !PyCallable_Check( (PyObject *) obj0 ) )
12266 PyErr_SetString( PyExc_ValueError,
"label_func argument must be callable" );
12270 Py_XINCREF( (PyObject *) obj0 );
12271 python_label = (PyObject *) obj0;
12289 PyObject *resultobj = 0;
12296 PyObject * obj0 = 0 ;
12297 PyObject * obj1 = 0 ;
12299 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsmaj",&obj0,&obj1))
SWIG_fail;
12304 arg1 = (
PLFLT)(val1);
12309 arg2 = (
PLFLT)(val2);
12319 PyObject *resultobj = 0;
12322 void *arg3 = (
void *) 0 ;
12330 PyObject * obj0 = 0 ;
12331 PyObject * obj1 = 0 ;
12332 PyObject * obj2 = 0 ;
12334 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsmem",&obj0,&obj1,&obj2))
SWIG_fail;
12339 arg1 = (
PLINT)(val1);
12344 arg2 = (
PLINT)(val2);
12346 res3 = PyObject_AsWriteBuffer(obj2, &buf3, &size3);
12351 arg3 = (
void *) buf3;
12362 PyObject *resultobj = 0;
12365 void *arg3 = (
void *) 0 ;
12373 PyObject * obj0 = 0 ;
12374 PyObject * obj1 = 0 ;
12375 PyObject * obj2 = 0 ;
12377 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsmema",&obj0,&obj1,&obj2))
SWIG_fail;
12382 arg1 = (
PLINT)(val1);
12387 arg2 = (
PLINT)(val2);
12389 res3 = PyObject_AsWriteBuffer(obj2, &buf3, &size3);
12394 arg3 = (
void *) buf3;
12405 PyObject *resultobj = 0;
12412 PyObject * obj0 = 0 ;
12413 PyObject * obj1 = 0 ;
12415 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsmin",&obj0,&obj1))
SWIG_fail;
12420 arg1 = (
PLFLT)(val1);
12425 arg2 = (
PLFLT)(val2);
12435 PyObject *resultobj = 0;
12439 PyObject * obj0 = 0 ;
12441 if (!PyArg_ParseTuple(args,(
char *)
"O:plsori",&obj0))
SWIG_fail;
12446 arg1 = (
PLINT)(val1);
12456 PyObject *resultobj = 0;
12475 PyObject * obj0 = 0 ;
12476 PyObject * obj1 = 0 ;
12477 PyObject * obj2 = 0 ;
12478 PyObject * obj3 = 0 ;
12479 PyObject * obj4 = 0 ;
12480 PyObject * obj5 = 0 ;
12482 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plspage",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
12487 arg1 = (
PLFLT)(val1);
12492 arg2 = (
PLFLT)(val2);
12497 arg3 = (
PLINT)(val3);
12502 arg4 = (
PLINT)(val4);
12507 arg5 = (
PLINT)(val5);
12512 arg6 = (
PLINT)(val6);
12513 plspage(arg1,arg2,arg3,arg4,arg5,arg6);
12522 PyObject *resultobj = 0;
12523 char *arg1 = (
char *) 0 ;
12527 PyObject * obj0 = 0 ;
12529 if (!PyArg_ParseTuple(args,(
char *)
"O:plspal0",&obj0))
SWIG_fail;
12534 arg1 = (
char *)(buf1);
12546 PyObject *resultobj = 0;
12547 char *arg1 = (
char *) 0 ;
12554 PyObject * obj0 = 0 ;
12555 PyObject * obj1 = 0 ;
12557 if (!PyArg_ParseTuple(args,(
char *)
"OO:plspal1",&obj0,&obj1))
SWIG_fail;
12562 arg1 = (
char *)(buf1);
12568 plspal1((
char const *)arg1,arg2);
12579 PyObject *resultobj = 0;
12583 PyObject * obj0 = 0 ;
12585 if (!PyArg_ParseTuple(args,(
char *)
"O:plspause",&obj0))
SWIG_fail;
12600 PyObject *resultobj = 0;
12604 PyObject * obj0 = 0 ;
12606 if (!PyArg_ParseTuple(args,(
char *)
"O:plsstrm",&obj0))
SWIG_fail;
12611 arg1 = (
PLINT)(val1);
12621 PyObject *resultobj = 0;
12628 PyObject * obj0 = 0 ;
12629 PyObject * obj1 = 0 ;
12631 if (!PyArg_ParseTuple(args,(
char *)
"OO:plssub",&obj0,&obj1))
SWIG_fail;
12636 arg1 = (
PLINT)(val1);
12641 arg2 = (
PLINT)(val2);
12651 PyObject *resultobj = 0;
12658 PyObject * obj0 = 0 ;
12659 PyObject * obj1 = 0 ;
12661 if (!PyArg_ParseTuple(args,(
char *)
"OO:plssym",&obj0,&obj1))
SWIG_fail;
12666 arg1 = (
PLFLT)(val1);
12671 arg2 = (
PLFLT)(val2);
12681 PyObject *resultobj = 0;
12688 PyObject * obj0 = 0 ;
12689 PyObject * obj1 = 0 ;
12691 if (!PyArg_ParseTuple(args,(
char *)
"OO:plstar",&obj0,&obj1))
SWIG_fail;
12696 arg1 = (
PLINT)(val1);
12701 arg2 = (
PLINT)(val2);
12711 PyObject *resultobj = 0;
12712 char *arg1 = (
char *) 0 ;
12722 PyObject * obj0 = 0 ;
12723 PyObject * obj1 = 0 ;
12724 PyObject * obj2 = 0 ;
12726 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plstart",&obj0,&obj1,&obj2))
SWIG_fail;
12731 arg1 = (
char *)(buf1);
12736 arg2 = (
PLINT)(val2);
12741 arg3 = (
PLINT)(val3);
12742 plstart((
char const *)arg1,arg2,arg3);
12753 PyObject *resultobj = 0;
12757 PyObject * obj0 = 0 ;
12758 PyObject * obj1 = 0 ;
12764 if (!PyArg_ParseTuple(args,(
char *)
"|OO:plstransform",&obj0,&obj1))
SWIG_fail;
12770 if ( obj0 == Py_None )
12776 if ( !PyCallable_Check( (PyObject *) obj0 ) )
12778 PyErr_SetString( PyExc_ValueError,
"coordinate transform argument must be callable" );
12800 PyObject *resultobj = 0;
12802 PLFLT *arg2 = (PLFLT *) 0 ;
12803 PLFLT *arg3 = (PLFLT *) 0 ;
12804 char *arg4 = (
char *) 0 ;
12805 PyArrayObject *tmp1 = NULL ;
12806 PyArrayObject *tmp3 = NULL ;
12810 PyObject * obj0 = 0 ;
12811 PyObject * obj1 = 0 ;
12812 PyObject * obj2 = 0 ;
12814 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plstring",&obj0,&obj1,&obj2))
SWIG_fail;
12817 if ( tmp1 == NULL )
12819 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
12820 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
12824 if ( tmp3 == NULL )
12826 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
12828 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
12831 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
12837 arg4 = (
char *)(buf4);
12838 plstring(arg1,(
double const *)arg2,(
double const *)arg3,(
char const *)arg4);
12861 PyObject *resultobj = 0;
12863 PLFLT *arg2 = (PLFLT *) 0 ;
12864 PLFLT *arg3 = (PLFLT *) 0 ;
12865 PLFLT *arg4 = (PLFLT *) 0 ;
12866 char *arg5 = (
char *) 0 ;
12867 PyArrayObject *tmp1 = NULL ;
12868 PyArrayObject *tmp3 = NULL ;
12869 PyArrayObject *tmp4 = NULL ;
12873 PyObject * obj0 = 0 ;
12874 PyObject * obj1 = 0 ;
12875 PyObject * obj2 = 0 ;
12876 PyObject * obj3 = 0 ;
12878 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plstring3",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
12881 if ( tmp1 == NULL )
12883 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
12884 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
12888 if ( tmp3 == NULL )
12890 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
12892 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
12895 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
12899 if ( tmp4 == NULL )
12901 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
12903 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
12906 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
12912 arg5 = (
char *)(buf5);
12913 plstring3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,(
char const *)arg5);
12942 PyObject *resultobj = 0;
12955 PyObject * obj0 = 0 ;
12956 PyObject * obj1 = 0 ;
12957 PyObject * obj2 = 0 ;
12958 PyObject * obj3 = 0 ;
12960 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plstripa",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
12965 arg1 = (
PLINT)(val1);
12970 arg2 = (
PLINT)(val2);
12975 arg3 = (
PLFLT)(val3);
12980 arg4 = (
PLFLT)(val4);
12990 PyObject *resultobj = 0;
12991 PLINT *arg1 = (PLINT *) 0 ;
12992 char *arg2 = (
char *) 0 ;
12993 char *arg3 = (
char *) 0 ;
13005 PLINT *arg15 = (PLINT *) 0 ;
13006 PLINT *arg16 = (PLINT *) 0 ;
13008 char *arg18 = (
char *) 0 ;
13009 char *arg19 = (
char *) 0 ;
13010 char *arg20 = (
char *) 0 ;
13041 PyArrayObject *tmp15 = NULL ;
13042 PyArrayObject *tmp16 = NULL ;
13043 char **tmp17 = NULL ;
13053 PyObject * obj0 = 0 ;
13054 PyObject * obj1 = 0 ;
13055 PyObject * obj2 = 0 ;
13056 PyObject * obj3 = 0 ;
13057 PyObject * obj4 = 0 ;
13058 PyObject * obj5 = 0 ;
13059 PyObject * obj6 = 0 ;
13060 PyObject * obj7 = 0 ;
13061 PyObject * obj8 = 0 ;
13062 PyObject * obj9 = 0 ;
13063 PyObject * obj10 = 0 ;
13064 PyObject * obj11 = 0 ;
13065 PyObject * obj12 = 0 ;
13066 PyObject * obj13 = 0 ;
13067 PyObject * obj14 = 0 ;
13068 PyObject * obj15 = 0 ;
13069 PyObject * obj16 = 0 ;
13070 PyObject * obj17 = 0 ;
13071 PyObject * obj18 = 0 ;
13074 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOOOOOOOOOO:plstripc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11,&obj12,&obj13,&obj14,&obj15,&obj16,&obj17,&obj18))
SWIG_fail;
13079 arg2 = (
char *)(buf2);
13084 arg3 = (
char *)(buf3);
13089 arg4 = (
PLFLT)(val4);
13094 arg5 = (
PLFLT)(val5);
13099 arg6 = (
PLFLT)(val6);
13104 arg7 = (
PLFLT)(val7);
13109 arg8 = (
PLFLT)(val8);
13114 arg9 = (
PLFLT)(val9);
13119 arg10 = (
PLFLT)(val10);
13124 arg11 = (
PLBOOL)(val11);
13129 arg12 = (
PLBOOL)(val12);
13134 arg13 = (
PLINT)(val13);
13139 arg14 = (
PLINT)(val14);
13142 if ( tmp15 == NULL )
13144 Alen = PyArray_DIMS( tmp15 )[0];
13145 arg15 = (PLINT *) PyArray_DATA( tmp15 );
13149 if ( tmp16 == NULL )
13151 if ( PyArray_DIMS( tmp16 )[0] !=
Alen )
13153 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13156 arg16 = (PLINT *) PyArray_DATA( tmp16 );
13160 PyObject *elt, *unicode_string;
13164 PyErr_SetString( PyExc_ValueError,
"Requires a sequence of 4 strings." );
13169 PyErr_SetString( PyExc_ValueError,
"colline and styline args must be length 4." );
13172 tmp17 = (
char **) malloc(
sizeof (
char* ) * 4 );
13173 if ( tmp17 == NULL )
13176 for ( i = 0; i < 4; i++ )
13180 if ( PyString_Check( elt ) )
13182 arg17[i] = PyString_AsString( elt );
13184 else if ( PyUnicode_Check( elt ) )
13186 unicode_string = PyUnicode_AsEncodedString( elt,
"utf-8",
"Error ~" );
13187 arg17[i] = PyBytes_AS_STRING( unicode_string );
13189 if ( arg17[i] == NULL )
13200 arg18 = (
char *)(buf18);
13205 arg19 = (
char *)(buf19);
13210 arg20 = (
char *)(buf20);
13211 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);
13254 PyObject *resultobj = 0;
13258 PyObject * obj0 = 0 ;
13260 if (!PyArg_ParseTuple(args,(
char *)
"O:plstripd",&obj0))
SWIG_fail;
13265 arg1 = (
PLINT)(val1);
13275 PyObject *resultobj = 0;
13277 PLINT *arg2 = (PLINT *) 0 ;
13278 PLINT *arg3 = (PLINT *) 0 ;
13279 PyArrayObject *tmp1 = NULL ;
13280 PyArrayObject *tmp3 = NULL ;
13281 PyObject * obj0 = 0 ;
13282 PyObject * obj1 = 0 ;
13284 if (!PyArg_ParseTuple(args,(
char *)
"OO:plstyl",&obj0,&obj1))
SWIG_fail;
13287 if ( tmp1 == NULL )
13289 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13290 arg2 = (PLINT *) PyArray_DATA( tmp1 );
13294 if ( tmp3 == NULL )
13296 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13298 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13301 arg3 = (PLINT *) PyArray_DATA( tmp3 );
13303 plstyl(arg1,(
int const *)arg2,(
int const *)arg3);
13324 PyObject *resultobj = 0;
13325 PLFLT *arg1 = (PLFLT *) 0 ;
13326 PLFLT *arg2 = (PLFLT *) 0 ;
13329 PyArrayObject *tmp1 = NULL ;
13330 PyArrayObject *tmp2 = NULL ;
13333 PyObject * obj0 = 0 ;
13334 PyObject * obj1 = 0 ;
13335 PyObject * obj2 = 0 ;
13337 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsvect",&obj0,&obj1,&obj2))
SWIG_fail;
13339 if ( obj0 != Py_None )
13342 if ( tmp1 == NULL )
13344 Alen = PyArray_DIMS( tmp1 )[0];
13345 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
13354 if ( obj1 != Py_None )
13357 if ( tmp2 == NULL )
13359 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
13361 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13364 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
13365 arg3 = PyArray_DIMS( tmp2 )[0];
13378 plsvect((
double const *)arg1,(
double const *)arg2,arg3,arg4);
13399 PyObject *resultobj = 0;
13412 PyObject * obj0 = 0 ;
13413 PyObject * obj1 = 0 ;
13414 PyObject * obj2 = 0 ;
13415 PyObject * obj3 = 0 ;
13417 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsvpa",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
13422 arg1 = (
PLFLT)(val1);
13427 arg2 = (
PLFLT)(val2);
13432 arg3 = (
PLFLT)(val3);
13437 arg4 = (
PLFLT)(val4);
13438 plsvpa(arg1,arg2,arg3,arg4);
13447 PyObject *resultobj = 0;
13454 PyObject * obj0 = 0 ;
13455 PyObject * obj1 = 0 ;
13457 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsxax",&obj0,&obj1))
SWIG_fail;
13462 arg1 = (
PLINT)(val1);
13467 arg2 = (
PLINT)(val2);
13477 PyObject *resultobj = 0;
13484 PyObject * obj0 = 0 ;
13485 PyObject * obj1 = 0 ;
13487 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsyax",&obj0,&obj1))
SWIG_fail;
13492 arg1 = (
PLINT)(val1);
13497 arg2 = (
PLINT)(val2);
13507 PyObject *resultobj = 0;
13509 PLFLT *arg2 = (PLFLT *) 0 ;
13510 PLFLT *arg3 = (PLFLT *) 0 ;
13512 PyArrayObject *tmp1 = NULL ;
13513 PyArrayObject *tmp3 = NULL ;
13516 PyObject * obj0 = 0 ;
13517 PyObject * obj1 = 0 ;
13518 PyObject * obj2 = 0 ;
13520 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsym",&obj0,&obj1,&obj2))
SWIG_fail;
13523 if ( tmp1 == NULL )
13525 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13526 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
13530 if ( tmp3 == NULL )
13532 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13534 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13537 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
13543 arg4 = (
PLINT)(val4);
13544 plsym(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
13565 PyObject *resultobj = 0;
13572 PyObject * obj0 = 0 ;
13573 PyObject * obj1 = 0 ;
13575 if (!PyArg_ParseTuple(args,(
char *)
"OO:plszax",&obj0,&obj1))
SWIG_fail;
13580 arg1 = (
PLINT)(val1);
13585 arg2 = (
PLINT)(val2);
13595 PyObject *resultobj = 0;
13597 if (!PyArg_ParseTuple(args,(
char *)
":pltext"))
SWIG_fail;
13607 PyObject *resultobj = 0;
13608 char *arg1 = (
char *) 0 ;
13612 PyObject * obj0 = 0 ;
13614 if (!PyArg_ParseTuple(args,(
char *)
"O:pltimefmt",&obj0))
SWIG_fail;
13619 arg1 = (
char *)(buf1);
13631 PyObject *resultobj = 0;
13635 PyObject * obj0 = 0 ;
13637 if (!PyArg_ParseTuple(args,(
char *)
"O:plvasp",&obj0))
SWIG_fail;
13642 arg1 = (
PLFLT)(val1);
13652 PyObject *resultobj = 0;
13653 PLFLT **arg1 = (PLFLT **) 0 ;
13654 PLFLT **arg2 = (PLFLT **) 0 ;
13660 PyArrayObject *tmp1 = NULL ;
13661 PyArrayObject *tmp2 = NULL ;
13664 PyObject * obj0 = 0 ;
13665 PyObject * obj1 = 0 ;
13666 PyObject * obj2 = 0 ;
13667 PyObject * obj3 = 0 ;
13668 PyObject * obj4 = 0 ;
13677 if (!PyArg_ParseTuple(args,(
char *)
"OOO|OO:plvect",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
13681 if ( tmp1 == NULL )
13683 Xlen = PyArray_DIMS( tmp1 )[0];
13684 Ylen = PyArray_DIMS( tmp1 )[1];
13686 arg1 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) Xlen );
13687 for ( i = 0; i <
Xlen; i++ )
13688 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
13693 if ( tmp2 == NULL )
13695 if ( Xlen != PyArray_DIMS( tmp2 )[0] ||
Ylen != PyArray_DIMS( tmp2 )[1] )
13697 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
13700 arg3 = PyArray_DIMS( tmp2 )[0];
13701 arg4 = PyArray_DIMS( tmp2 )[1];
13703 arg2 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg3 );
13704 for ( i = 0; i < arg3; i++ )
13705 arg2[i] = ( (PLFLT *) PyArray_DATA( tmp2 ) + i * size );
13711 arg5 = (
PLFLT)(val5);
13715 if ( obj3 == Py_None )
13721 if ( !PyCallable_Check( (PyObject *) obj3 ) )
13723 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
13732 if ( obj4 == Py_None )
13740 plvect((
double const **)arg1,(
double const **)arg2,arg3,arg4,arg5,arg6,arg7);
13777 PyObject *resultobj = 0;
13793 PyObject * obj0 = 0 ;
13794 PyObject * obj1 = 0 ;
13795 PyObject * obj2 = 0 ;
13796 PyObject * obj3 = 0 ;
13797 PyObject * obj4 = 0 ;
13799 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plvpas",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
13804 arg1 = (
PLFLT)(val1);
13809 arg2 = (
PLFLT)(val2);
13814 arg3 = (
PLFLT)(val3);
13819 arg4 = (
PLFLT)(val4);
13824 arg5 = (
PLFLT)(val5);
13825 plvpas(arg1,arg2,arg3,arg4,arg5);
13834 PyObject *resultobj = 0;
13847 PyObject * obj0 = 0 ;
13848 PyObject * obj1 = 0 ;
13849 PyObject * obj2 = 0 ;
13850 PyObject * obj3 = 0 ;
13852 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plvpor",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
13857 arg1 = (
PLFLT)(val1);
13862 arg2 = (
PLFLT)(val2);
13867 arg3 = (
PLFLT)(val3);
13872 arg4 = (
PLFLT)(val4);
13873 plvpor(arg1,arg2,arg3,arg4);
13882 PyObject *resultobj = 0;
13884 if (!PyArg_ParseTuple(args,(
char *)
":plvsta"))
SWIG_fail;
13894 PyObject *resultobj = 0;
13928 PyObject * obj0 = 0 ;
13929 PyObject * obj1 = 0 ;
13930 PyObject * obj2 = 0 ;
13931 PyObject * obj3 = 0 ;
13932 PyObject * obj4 = 0 ;
13933 PyObject * obj5 = 0 ;
13934 PyObject * obj6 = 0 ;
13935 PyObject * obj7 = 0 ;
13936 PyObject * obj8 = 0 ;
13937 PyObject * obj9 = 0 ;
13938 PyObject * obj10 = 0 ;
13940 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plw3d",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
13945 arg1 = (
PLFLT)(val1);
13950 arg2 = (
PLFLT)(val2);
13955 arg3 = (
PLFLT)(val3);
13960 arg4 = (
PLFLT)(val4);
13965 arg5 = (
PLFLT)(val5);
13970 arg6 = (
PLFLT)(val6);
13975 arg7 = (
PLFLT)(val7);
13980 arg8 = (
PLFLT)(val8);
13985 arg9 = (
PLFLT)(val9);
13990 arg10 = (
PLFLT)(val10);
13995 arg11 = (
PLFLT)(val11);
13996 plw3d(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
14005 PyObject *resultobj = 0;
14009 PyObject * obj0 = 0 ;
14011 if (!PyArg_ParseTuple(args,(
char *)
"O:plwidth",&obj0))
SWIG_fail;
14016 arg1 = (
PLFLT)(val1);
14026 PyObject *resultobj = 0;
14039 PyObject * obj0 = 0 ;
14040 PyObject * obj1 = 0 ;
14041 PyObject * obj2 = 0 ;
14042 PyObject * obj3 = 0 ;
14044 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plwind",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
14049 arg1 = (
PLFLT)(val1);
14054 arg2 = (
PLFLT)(val2);
14059 arg3 = (
PLFLT)(val3);
14064 arg4 = (
PLFLT)(val4);
14065 plwind(arg1,arg2,arg3,arg4);
14074 PyObject *resultobj = 0;
14081 PyObject * obj0 = 0 ;
14084 if (!PyArg_ParseTuple(args,(
char *)
"O:plxormod",&obj0))
SWIG_fail;
14105 PyObject *resultobj = 0;
14107 char *arg2 = (
char *) 0 ;
14123 PyObject * obj0 = 0 ;
14124 PyObject * obj1 = 0 ;
14125 PyObject * obj2 = 0 ;
14126 PyObject * obj3 = 0 ;
14127 PyObject * obj4 = 0 ;
14128 PyObject * obj5 = 0 ;
14130 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plmap",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
14133 if ( obj0 == Py_None )
14139 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14141 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14151 arg2 = (
char *)(buf2);
14156 arg3 = (
PLFLT)(val3);
14161 arg4 = (
PLFLT)(val4);
14166 arg5 = (
PLFLT)(val5);
14171 arg6 = (
PLFLT)(val6);
14172 plmap(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6);
14189 PyObject *resultobj = 0;
14191 char *arg2 = (
char *) 0 ;
14196 PLINT *arg7 = (PLINT *) 0 ;
14209 PyArrayObject *tmp7 = NULL ;
14210 PyObject * obj0 = 0 ;
14211 PyObject * obj1 = 0 ;
14212 PyObject * obj2 = 0 ;
14213 PyObject * obj3 = 0 ;
14214 PyObject * obj4 = 0 ;
14215 PyObject * obj5 = 0 ;
14216 PyObject * obj6 = 0 ;
14218 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plmapline",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
14221 if ( obj0 == Py_None )
14227 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14229 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14239 arg2 = (
char *)(buf2);
14244 arg3 = (
PLFLT)(val3);
14249 arg4 = (
PLFLT)(val4);
14254 arg5 = (
PLFLT)(val5);
14259 arg6 = (
PLFLT)(val6);
14261 if ( obj6 != Py_None )
14264 if ( tmp7 == NULL )
14266 arg7 = (PLINT *) PyArray_DATA( tmp7 );
14267 arg8 = PyArray_DIMS( tmp7 )[0];
14275 plmapline(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6,(
int const *)arg7,arg8);
14298 PyObject *resultobj = 0;
14300 char *arg2 = (
char *) 0 ;
14301 char *arg3 = (
char *) 0 ;
14306 PLINT *arg8 = (PLINT *) 0 ;
14322 PyArrayObject *tmp8 = NULL ;
14323 PyObject * obj0 = 0 ;
14324 PyObject * obj1 = 0 ;
14325 PyObject * obj2 = 0 ;
14326 PyObject * obj3 = 0 ;
14327 PyObject * obj4 = 0 ;
14328 PyObject * obj5 = 0 ;
14329 PyObject * obj6 = 0 ;
14330 PyObject * obj7 = 0 ;
14332 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plmapstring",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
14335 if ( obj0 == Py_None )
14341 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14343 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14353 arg2 = (
char *)(buf2);
14358 arg3 = (
char *)(buf3);
14363 arg4 = (
PLFLT)(val4);
14368 arg5 = (
PLFLT)(val5);
14373 arg6 = (
PLFLT)(val6);
14378 arg7 = (
PLFLT)(val7);
14380 if ( obj7 != Py_None )
14383 if ( tmp8 == NULL )
14385 arg8 = (PLINT *) PyArray_DATA( tmp8 );
14386 arg9 = PyArray_DIMS( tmp8 )[0];
14394 plmapstring(arg1,(
char const *)arg2,(
char const *)arg3,arg4,arg5,arg6,arg7,(
int const *)arg8,arg9);
14419 PyObject *resultobj = 0;
14421 char *arg2 = (
char *) 0 ;
14425 char *arg6 = (
char *) 0 ;
14453 PyObject * obj0 = 0 ;
14454 PyObject * obj1 = 0 ;
14455 PyObject * obj2 = 0 ;
14456 PyObject * obj3 = 0 ;
14457 PyObject * obj4 = 0 ;
14458 PyObject * obj5 = 0 ;
14459 PyObject * obj6 = 0 ;
14460 PyObject * obj7 = 0 ;
14461 PyObject * obj8 = 0 ;
14462 PyObject * obj9 = 0 ;
14463 PyObject * obj10 = 0 ;
14465 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plmaptex",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
14468 if ( obj0 == Py_None )
14474 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14476 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14486 arg2 = (
char *)(buf2);
14491 arg3 = (
PLFLT)(val3);
14496 arg4 = (
PLFLT)(val4);
14501 arg5 = (
PLFLT)(val5);
14506 arg6 = (
char *)(buf6);
14511 arg7 = (
PLFLT)(val7);
14516 arg8 = (
PLFLT)(val8);
14521 arg9 = (
PLFLT)(val9);
14526 arg10 = (
PLFLT)(val10);
14531 arg11 = (
PLINT)(val11);
14532 plmaptex(arg1,(
char const *)arg2,arg3,arg4,arg5,(
char const *)arg6,arg7,arg8,arg9,arg10,arg11);
14551 PyObject *resultobj = 0;
14553 char *arg2 = (
char *) 0 ;
14558 PLINT *arg7 = (PLINT *) 0 ;
14571 PyArrayObject *tmp7 = NULL ;
14572 PyObject * obj0 = 0 ;
14573 PyObject * obj1 = 0 ;
14574 PyObject * obj2 = 0 ;
14575 PyObject * obj3 = 0 ;
14576 PyObject * obj4 = 0 ;
14577 PyObject * obj5 = 0 ;
14578 PyObject * obj6 = 0 ;
14580 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plmapfill",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
14583 if ( obj0 == Py_None )
14589 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14591 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14601 arg2 = (
char *)(buf2);
14606 arg3 = (
PLFLT)(val3);
14611 arg4 = (
PLFLT)(val4);
14616 arg5 = (
PLFLT)(val5);
14621 arg6 = (
PLFLT)(val6);
14623 if ( obj6 != Py_None )
14626 if ( tmp7 == NULL )
14628 arg7 = (PLINT *) PyArray_DATA( tmp7 );
14629 arg8 = PyArray_DIMS( tmp7 )[0];
14637 plmapfill(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6,(
int const *)arg7,arg8);
14660 PyObject *resultobj = 0;
14680 PyObject * obj0 = 0 ;
14681 PyObject * obj1 = 0 ;
14682 PyObject * obj2 = 0 ;
14683 PyObject * obj3 = 0 ;
14684 PyObject * obj4 = 0 ;
14685 PyObject * obj5 = 0 ;
14686 PyObject * obj6 = 0 ;
14688 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plmeridians",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
14691 if ( obj0 == Py_None )
14697 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14699 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14709 arg2 = (
PLFLT)(val2);
14714 arg3 = (
PLFLT)(val3);
14719 arg4 = (
PLFLT)(val4);
14724 arg5 = (
PLFLT)(val5);
14729 arg6 = (
PLFLT)(val6);
14734 arg7 = (
PLFLT)(val7);
14750 PyObject *resultobj = 0;
14751 PLFLT **arg1 = (PLFLT **) 0 ;
14764 PyArrayObject *tmp1 = NULL ;
14785 PyObject * obj0 = 0 ;
14786 PyObject * obj1 = 0 ;
14787 PyObject * obj2 = 0 ;
14788 PyObject * obj3 = 0 ;
14789 PyObject * obj4 = 0 ;
14790 PyObject * obj5 = 0 ;
14791 PyObject * obj6 = 0 ;
14792 PyObject * obj7 = 0 ;
14793 PyObject * obj8 = 0 ;
14794 PyObject * obj9 = 0 ;
14795 PyObject * obj10 = 0 ;
14797 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plimage",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
14801 if ( tmp1 == NULL )
14803 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
14804 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
14806 arg1 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg2 );
14807 for ( i = 0; i < arg2; i++ )
14808 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
14814 arg4 = (
PLFLT)(val4);
14819 arg5 = (
PLFLT)(val5);
14824 arg6 = (
PLFLT)(val6);
14829 arg7 = (
PLFLT)(val7);
14834 arg8 = (
PLFLT)(val8);
14839 arg9 = (
PLFLT)(val9);
14844 arg10 = (
PLFLT)(val10);
14849 arg11 = (
PLFLT)(val11);
14854 arg12 = (
PLFLT)(val12);
14859 arg13 = (
PLFLT)(val13);
14860 plimage((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
14877 PyObject *resultobj = 0;
14878 PLFLT **arg1 = (PLFLT **) 0 ;
14891 PyArrayObject *tmp1 = NULL ;
14908 PyObject * obj0 = 0 ;
14909 PyObject * obj1 = 0 ;
14910 PyObject * obj2 = 0 ;
14911 PyObject * obj3 = 0 ;
14912 PyObject * obj4 = 0 ;
14913 PyObject * obj5 = 0 ;
14914 PyObject * obj6 = 0 ;
14915 PyObject * obj7 = 0 ;
14916 PyObject * obj8 = 0 ;
14917 PyObject * obj9 = 0 ;
14918 PyObject * obj10 = 0 ;
14927 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOO|OO:plimagefr",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
14931 if ( tmp1 == NULL )
14933 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
14934 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
14936 arg1 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg2 );
14937 for ( i = 0; i < arg2; i++ )
14938 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
14944 arg4 = (
PLFLT)(val4);
14949 arg5 = (
PLFLT)(val5);
14954 arg6 = (
PLFLT)(val6);
14959 arg7 = (
PLFLT)(val7);
14964 arg8 = (
PLFLT)(val8);
14969 arg9 = (
PLFLT)(val9);
14974 arg10 = (
PLFLT)(val10);
14979 arg11 = (
PLFLT)(val11);
14983 if ( obj9 == Py_None )
14989 if ( !PyCallable_Check( (PyObject *) obj9 ) )
14991 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
15000 if ( obj10 == Py_None )
15008 plimagefr((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
15037 PyObject *resultobj = 0;
15039 if (!PyArg_ParseTuple(args,(
char *)
":plClearOpts"))
SWIG_fail;
15049 PyObject *resultobj = 0;
15051 if (!PyArg_ParseTuple(args,(
char *)
":plResetOpts"))
SWIG_fail;
15061 PyObject *resultobj = 0;
15062 char *arg1 = (
char *) 0 ;
15063 char *arg2 = (
char *) 0 ;
15070 PyObject * obj0 = 0 ;
15071 PyObject * obj1 = 0 ;
15073 if (!PyArg_ParseTuple(args,(
char *)
"OO:plSetUsage",&obj0,&obj1))
SWIG_fail;
15078 arg1 = (
char *)(buf1);
15083 arg2 = (
char *)(buf2);
15084 plSetUsage((
char const *)arg1,(
char const *)arg2);
15097 PyObject *resultobj = 0;
15099 if (!PyArg_ParseTuple(args,(
char *)
":plOptUsage"))
SWIG_fail;
15109 PyObject *resultobj = 0;
15110 PLFLT **arg1 = (PLFLT **) 0 ;
15113 PLFLT *arg4 = (PLFLT *) 0 ;
15114 PLFLT *arg5 = (PLFLT *) 0 ;
15115 PyArrayObject *tmp1 = NULL ;
15120 PyObject * obj0 = 0 ;
15124 if (!PyArg_ParseTuple(args,(
char *)
"O:plMinMax2dGrid",&obj0))
SWIG_fail;
15128 if ( tmp1 == NULL )
15130 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15131 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15133 arg1 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg2 );
15134 for ( i = 0; i < arg2; i++ )
15135 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15166 PyObject *resultobj = 0;
15170 PyObject * obj0 = 0 ;
15173 if (!PyArg_ParseTuple(args,(
char *)
"O:plGetCursor",&obj0))
SWIG_fail;
15189 { (
char *)
"pltr0",
_wrap_pltr0, METH_VARARGS, NULL},
15190 { (
char *)
"pltr1",
_wrap_pltr1, METH_VARARGS, NULL},
15191 { (
char *)
"pltr2",
_wrap_pltr2, METH_VARARGS, NULL},
15221 "Set format of numerical label for contours\n"
15225 " Set format of numerical label for contours.\n"
15227 " Redacted form: pl_setcontlabelformat(lexp, sigdig)\n"
15229 " This function is used example 9.\n"
15235 "pl_setcontlabelformat(lexp, sigdig)\n"
15239 " lexp (PLINT, input) : If the contour numerical label is greater\n"
15240 " than 10^(lexp) or less than 10^(-lexp), then the exponential\n"
15241 " format is used. Default value of lexp is 4.\n"
15243 " sigdig (PLINT, input) : Number of significant digits. Default\n"
15248 "Set parameters of contour labelling other than format of numerical label\n"
15252 " Set parameters of contour labelling other than those handled by\n"
15253 " pl_setcontlabelformat.\n"
15255 " Redacted form: pl_setcontlabelparam(offset, size, spacing, active)\n"
15257 " This function is used in example 9.\n"
15263 "pl_setcontlabelparam(offset, size, spacing, active)\n"
15267 " offset (PLFLT, input) : Offset of label from contour line (if set\n"
15268 " to 0.0, labels are printed on the lines). Default value is 0.006.\n"
15270 " size (PLFLT, input) : Font height for contour labels (normalized).\n"
15271 " Default value is 0.3.\n"
15273 " spacing (PLFLT, input) : Spacing parameter for contour labels.\n"
15274 " Default value is 0.1.\n"
15276 " active (PLINT, input) : Activate labels. Set to 1 if you want\n"
15277 " contour labels on. Default is off (0).\n"
15280 { (
char *)
"pladv",
_wrap_pladv, METH_VARARGS, (
char *)
"\n"
15281 "Advance the (sub-)page\n"
15285 " Advances to the next subpage if sub=0, performing a page advance if\n"
15286 " there are no remaining subpages on the current page. If subpages\n"
15287 " aren't being used, pladv(0) will always advance the page. If page>0,\n"
15288 " PLplot switches to the specified subpage. Note that this allows you\n"
15289 " to overwrite a plot on the specified subpage; if this is not what you\n"
15290 " intended, use pleop followed by plbop to first advance the page. This\n"
15291 " routine is called automatically (with page=0) by plenv, but if plenv\n"
15292 " is not used, pladv must be called after initializing PLplot but before\n"
15293 " defining the viewport.\n"
15295 " Redacted form: pladv(page)\n"
15297 " This function is used in examples 1, 2, 4, 6-12, 14-18, 20, 21, 23-27,\n"
15308 " page (PLINT, input) : Specifies the subpage number (starting from 1\n"
15309 " in the top left corner and increasing along the rows) to which to\n"
15310 " advance. Set to zero to advance to the next subpage (or to the\n"
15311 " next page if subpages are not being used).\n"
15314 { (
char *)
"plarc",
_wrap_plarc, METH_VARARGS, (
char *)
"\n"
15315 "Draw a circular or elliptical arc\n"
15319 " Draw a possibly filled arc centered at x, y with semimajor axis a and\n"
15320 " semiminor axis b, starting at angle1 and ending at angle2.\n"
15322 " Redacted form: General: plarc(x, y, a, b, angle1, angle2, rotate,\n"
15326 " This function is used in examples 3 and 27.\n"
15332 "plarc(x, y, a, b, angle1, angle2, rotate, fill)\n"
15336 " x (PLFLT, input) : X coordinate of arc center.\n"
15338 " y (PLFLT, input) : Y coordinate of arc center.\n"
15340 " a (PLFLT, input) : Length of the semimajor axis of the arc.\n"
15342 " b (PLFLT, input) : Length of the semiminor axis of the arc.\n"
15344 " angle1 (PLFLT, input) : Starting angle of the arc relative to the\n"
15345 " semimajor axis.\n"
15347 " angle2 (PLFLT, input) : Ending angle of the arc relative to the\n"
15348 " semimajor axis.\n"
15350 " rotate (PLFLT, input) : Angle of the semimajor axis relative to the\n"
15353 " fill (PLBOOL, input) : Draw a filled arc.\n"
15356 { (
char *)
"plaxes",
_wrap_plaxes, METH_VARARGS, (
char *)
"\n"
15357 "Draw a box with axes, etc. with arbitrary origin\n"
15361 " Draws a box around the currently defined viewport with arbitrary\n"
15362 " world-coordinate origin specified by x0 and y0 and labels it with\n"
15363 " world coordinate values appropriate to the window. Thus plaxes should\n"
15364 " only be called after defining both viewport and window. The ascii\n"
15365 " character strings xopt and yopt specify how the box should be drawn as\n"
15366 " described below. If ticks and/or subticks are to be drawn for a\n"
15367 " particular axis, the tick intervals and number of subintervals may be\n"
15368 " specified explicitly, or they may be defaulted by setting the\n"
15369 " appropriate arguments to zero.\n"
15371 " Redacted form: General: plaxes(x0, y0, xopt, xtick, nxsub, yopt,\n"
15373 " Perl/PDL: plaxes(x0, y0, xtick, nxsub, ytick, nysub, xopt,\n"
15377 " This function is not used in any examples.\n"
15383 "plaxes(x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub)\n"
15387 " x0 (PLFLT, input) : World X coordinate of origin.\n"
15389 " y0 (PLFLT, input) : World Y coordinate of origin.\n"
15391 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15392 " options for the x axis. The string can include any combination of\n"
15393 " the following letters (upper or lower case) in any order: a: Draws\n"
15394 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n"
15396 " b: Draws bottom (X) or left (Y) edge of frame.\n"
15397 " c: Draws top (X) or right (Y) edge of frame.\n"
15398 " d: Plot labels as date / time. Values are assumed to be\n"
15399 " seconds since the epoch (as used by gmtime).\n"
15400 " f: Always use fixed point numeric labels.\n"
15401 " g: Draws a grid at the major tick interval.\n"
15402 " h: Draws a grid at the minor tick interval.\n"
15403 " i: Inverts tick marks, so they are drawn outwards, rather than\n"
15405 " l: Labels axis logarithmically. This only affects the labels,\n"
15406 " not the data, and so it is necessary to compute the logarithms\n"
15407 " of data points before passing them to any of the drawing\n"
15409 " m: Writes numeric labels at major tick intervals in the\n"
15410 " unconventional location (above box for X, right of box for Y).\n"
15411 " n: Writes numeric labels at major tick intervals in the\n"
15412 " conventional location (below box for X, left of box for Y).\n"
15413 " o: Use custom labelling function to generate axis label text.\n"
15414 " The custom labelling function can be defined with the\n"
15415 " plslabelfunc command.\n"
15416 " s: Enables subticks between major ticks, only valid if t is\n"
15417 " also specified.\n"
15418 " t: Draws major ticks.\n"
15419 " u: Exactly like \"b\" except don't draw edge line.\n"
15420 " w: Exactly like \"c\" except don't draw edge line.\n"
15421 " x: Exactly like \"t\" (including the side effect of the\n"
15422 " numerical labels for the major ticks) except exclude drawing\n"
15423 " the major and minor tick marks.\n"
15426 " xtick (PLFLT, input) : World coordinate interval between major\n"
15427 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
15428 " generates a suitable tick interval.\n"
15430 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
15431 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15432 " generates a suitable minor tick interval.\n"
15434 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15435 " options for the y axis. The string can include any combination of\n"
15436 " the letters defined above for xopt, and in addition may contain:\n"
15437 " v: Write numeric labels for the y axis parallel to the base of the\n"
15438 " graph, rather than parallel to the axis.\n"
15441 " ytick (PLFLT, input) : World coordinate interval between major\n"
15442 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
15443 " generates a suitable tick interval.\n"
15445 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
15446 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15447 " generates a suitable minor tick interval.\n"
15450 { (
char *)
"plbin",
_wrap_plbin, METH_VARARGS, (
char *)
"\n"
15451 "Plot a histogram from binned data\n"
15455 " Plots a histogram consisting of nbin bins. The value associated with\n"
15456 " the i'th bin is placed in x[i], and the number of points in the bin is\n"
15457 " placed in y[i]. For proper operation, the values in x[i] must form a\n"
15458 " strictly increasing sequence. By default, x[i] is the left-hand edge\n"
15459 " of the i'th bin. If opt=PL_BIN_CENTRED is used, the bin boundaries are\n"
15460 " placed midway between the values in the x vector. Also see plhist for\n"
15461 " drawing histograms from unbinned data.\n"
15463 " Redacted form: General: plbin(x, y, opt)\n"
15464 " Perl/PDL: plbin(nbin, x, y, opt)\n"
15465 " Python: plbin(nbin, x, y, opt)\n"
15468 " This function is not used in any examples.\n"
15474 "plbin(nbin, x, y, opt)\n"
15478 " nbin (PLINT, input) : Number of bins (i.e., number of values in x\n"
15479 " and y vectors.)\n"
15481 " x (PLFLT_VECTOR, input) : A vector containing values associated\n"
15482 " with bins. These must form a strictly increasing sequence.\n"
15484 " y (PLFLT_VECTOR, input) : A vector containing a number which is\n"
15485 " proportional to the number of points in each bin. This is a PLFLT\n"
15486 " (instead of PLINT) vector so as to allow histograms of\n"
15487 " probabilities, etc.\n"
15489 " opt (PLINT, input) : Is a combination of several flags:\n"
15490 " opt=PL_BIN_DEFAULT: The x represent the lower bin boundaries, the\n"
15491 " outer bins are expanded to fill up the entire x-axis and bins of\n"
15492 " zero height are simply drawn.\n"
15493 " opt=PL_BIN_CENTRED|...: The bin boundaries are to be midway\n"
15494 " between the x values. If the values in x are equally spaced,\n"
15495 " the values are the center values of the bins.\n"
15496 " opt=PL_BIN_NOEXPAND|...: The outer bins are drawn with equal\n"
15497 " size as the ones inside.\n"
15498 " opt=PL_BIN_NOEMPTY|...: Bins with zero height are not drawn\n"
15499 " (there is a gap for such bins).\n"
15502 { (
char *)
"plbtime",
_wrap_plbtime, METH_VARARGS, (
char *)
"\n"
15503 "Calculate broken-down time from continuous time for the current stream\n"
15507 " Calculate broken-down time; year, month, day, hour, min, sec; from\n"
15508 " continuous time, ctime for the current stream. This function is the\n"
15509 " inverse of plctime.\n"
15511 " The PLplot definition of broken-down time is a calendar time that\n"
15512 " completely ignores all time zone offsets, i.e., it is the user's\n"
15513 " responsibility to apply those offsets (if so desired) before using the\n"
15514 " PLplot time API. By default broken-down time is defined using the\n"
15515 " proleptic Gregorian calendar without the insertion of leap seconds and\n"
15516 " continuous time is defined as the number of seconds since the Unix\n"
15517 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n"
15518 " broken-down and continuous time are possible, see plconfigtime.\n"
15520 " Redacted form: General: plbtime(year, month, day, hour, min, sec,\n"
15522 " Perl/PDL: Not available?\n"
15525 " This function is used in example 29.\n"
15531 "plbtime(year, month, day, hour, min, sec, ctime)\n"
15535 " year (PLINT_NC_SCALAR, output) : Returned value of years with\n"
15536 " positive values corresponding to CE (i.e., 1 = 1 CE, etc.) and\n"
15537 " non-negative values corresponding to BCE (e.g., 0 = 1 BCE, -1 = 2\n"
15540 " month (PLINT_NC_SCALAR, output) : Returned value of month within\n"
15541 " the year in the range from 0 (January) to 11 (December).\n"
15543 " day (PLINT_NC_SCALAR, output) : Returned value of day within the\n"
15544 " month in the range from 1 to 31.\n"
15546 " hour (PLINT_NC_SCALAR, output) : Returned value of hour within the\n"
15547 " day in the range from 0 to 23.\n"
15549 " min (PLINT_NC_SCALAR, output) : Returned value of minute within the\n"
15550 " hour in the range from 0 to 59\n"
15552 " sec (PLFLT_NC_SCALAR, output) : Returned value of second within the\n"
15553 " minute in range from 0. to 60.\n"
15555 " ctime (PLFLT, input) : Continuous time from which the broken-down\n"
15556 " time is calculated.\n"
15559 { (
char *)
"plbop",
_wrap_plbop, METH_VARARGS, (
char *)
"\n"
15560 "Begin a new page\n"
15564 " Begins a new page. For a file driver, the output file is opened if\n"
15565 " necessary. Advancing the page via pleop and plbop is useful when a\n"
15566 " page break is desired at a particular point when plotting to subpages.\n"
15567 " Another use for pleop and plbop is when plotting pages to different\n"
15568 " files, since you can manually set the file name by calling plsfnam\n"
15569 " after the call to pleop. (In fact some drivers may only support a\n"
15570 " single page per file, making this a necessity.) One way to handle\n"
15571 " this case automatically is to page advance via pladv, but enable\n"
15572 " familying (see plsfam) with a small limit on the file size so that a\n"
15573 " new family member file will be created on each page break.\n"
15575 " Redacted form: plbop()\n"
15577 " This function is used in examples 2 and 20.\n"
15586 { (
char *)
"plbox",
_wrap_plbox, METH_VARARGS, (
char *)
"\n"
15587 "Draw a box with axes, etc\n"
15591 " Draws a box around the currently defined viewport, and labels it with\n"
15592 " world coordinate values appropriate to the window. Thus plbox should\n"
15593 " only be called after defining both viewport and window. The ascii\n"
15594 " character strings xopt and yopt specify how the box should be drawn as\n"
15595 " described below. If ticks and/or subticks are to be drawn for a\n"
15596 " particular axis, the tick intervals and number of subintervals may be\n"
15597 " specified explicitly, or they may be defaulted by setting the\n"
15598 " appropriate arguments to zero.\n"
15600 " Redacted form: General: plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n"
15601 " Perl/PDL: plbox(xtick, nxsub, ytick, nysub, xopt, yopt)\n"
15604 " This function is used in examples 1, 2, 4, 6, 6-12, 14-18, 21, 23-26,\n"
15611 "plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n"
15615 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15616 " options for the x axis. The string can include any combination of\n"
15617 " the following letters (upper or lower case) in any order: a: Draws\n"
15618 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n"
15620 " b: Draws bottom (X) or left (Y) edge of frame.\n"
15621 " c: Draws top (X) or right (Y) edge of frame.\n"
15622 " d: Plot labels as date / time. Values are assumed to be\n"
15623 " seconds since the epoch (as used by gmtime).\n"
15624 " f: Always use fixed point numeric labels.\n"
15625 " g: Draws a grid at the major tick interval.\n"
15626 " h: Draws a grid at the minor tick interval.\n"
15627 " i: Inverts tick marks, so they are drawn outwards, rather than\n"
15629 " l: Labels axis logarithmically. This only affects the labels,\n"
15630 " not the data, and so it is necessary to compute the logarithms\n"
15631 " of data points before passing them to any of the drawing\n"
15633 " m: Writes numeric labels at major tick intervals in the\n"
15634 " unconventional location (above box for X, right of box for Y).\n"
15635 " n: Writes numeric labels at major tick intervals in the\n"
15636 " conventional location (below box for X, left of box for Y).\n"
15637 " o: Use custom labelling function to generate axis label text.\n"
15638 " The custom labelling function can be defined with the\n"
15639 " plslabelfunc command.\n"
15640 " s: Enables subticks between major ticks, only valid if t is\n"
15641 " also specified.\n"
15642 " t: Draws major ticks.\n"
15643 " u: Exactly like \"b\" except don't draw edge line.\n"
15644 " w: Exactly like \"c\" except don't draw edge line.\n"
15645 " x: Exactly like \"t\" (including the side effect of the\n"
15646 " numerical labels for the major ticks) except exclude drawing\n"
15647 " the major and minor tick marks.\n"
15650 " xtick (PLFLT, input) : World coordinate interval between major\n"
15651 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
15652 " generates a suitable tick interval.\n"
15654 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
15655 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15656 " generates a suitable minor tick interval.\n"
15658 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15659 " options for the y axis. The string can include any combination of\n"
15660 " the letters defined above for xopt, and in addition may contain:\n"
15661 " v: Write numeric labels for the y axis parallel to the base of the\n"
15662 " graph, rather than parallel to the axis.\n"
15665 " ytick (PLFLT, input) : World coordinate interval between major\n"
15666 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
15667 " generates a suitable tick interval.\n"
15669 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
15670 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15671 " generates a suitable minor tick interval.\n"
15674 { (
char *)
"plbox3",
_wrap_plbox3, METH_VARARGS, (
char *)
"\n"
15675 "Draw a box with axes, etc, in 3-d\n"
15679 " Draws axes, numeric and text labels for a three-dimensional surface\n"
15680 " plot. For a more complete description of three-dimensional plotting\n"
15681 " see the PLplot documentation.\n"
15683 " Redacted form: General: plbox3(xopt, xlabel, xtick, nxsub, yopt,\n"
15684 " ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n"
15685 " Perl/PDL: plbox3(xtick, nxsub, ytick, nysub, ztick, nzsub,\n"
15686 " xopt, xlabel, yopt, ylabel, zopt, zlabel)\n"
15689 " This function is used in examples 8, 11, 18, and 21.\n"
15695 "plbox3(xopt, xlabel, xtick, nxsub, yopt, ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n"
15699 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15700 " options for the x axis. The string can include any combination of\n"
15701 " the following letters (upper or lower case) in any order: b: Draws\n"
15702 " axis at base, at height z=\n"
15703 " zmin where zmin is defined by call to plw3d. This character must be\n"
15704 " specified in order to use any of the other options.\n"
15705 " d: Plot labels as date / time. Values are assumed to be\n"
15706 " seconds since the epoch (as used by gmtime).\n"
15707 " f: Always use fixed point numeric labels.\n"
15708 " i: Inverts tick marks, so they are drawn downwards, rather\n"
15710 " l: Labels axis logarithmically. This only affects the labels,\n"
15711 " not the data, and so it is necessary to compute the logarithms\n"
15712 " of data points before passing them to any of the drawing\n"
15714 " n: Writes numeric labels at major tick intervals.\n"
15715 " o: Use custom labelling function to generate axis label text.\n"
15716 " The custom labelling function can be defined with the\n"
15717 " plslabelfunc command.\n"
15718 " s: Enables subticks between major ticks, only valid if t is\n"
15719 " also specified.\n"
15720 " t: Draws major ticks.\n"
15721 " u: If this is specified, the text label for the axis is\n"
15722 " written under the axis.\n"
15725 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
15726 " the text label for the x axis. It is only drawn if u is in the\n"
15729 " xtick (PLFLT, input) : World coordinate interval between major\n"
15730 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
15731 " generates a suitable tick interval.\n"
15733 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
15734 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15735 " generates a suitable minor tick interval.\n"
15737 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15738 " options for the y axis. The string is interpreted in the same way\n"
15741 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
15742 " the text label for the y axis. It is only drawn if u is in the\n"
15745 " ytick (PLFLT, input) : World coordinate interval between major\n"
15746 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
15747 " generates a suitable tick interval.\n"
15749 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
15750 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15751 " generates a suitable minor tick interval.\n"
15753 " zopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15754 " options for the z axis. The string can include any combination of\n"
15755 " the following letters (upper or lower case) in any order: b: Draws\n"
15756 " z axis to the left of the surface plot.\n"
15757 " c: Draws z axis to the right of the surface plot.\n"
15758 " d: Draws grid lines parallel to the x-y plane behind the\n"
15759 " figure. These lines are not drawn until after plot3d or\n"
15760 " plmesh are called because of the need for hidden line removal.\n"
15761 " e: Plot labels as date / time. Values are assumed to be\n"
15762 " seconds since the epoch (as used by gmtime). Note this\n"
15763 " suboption is interpreted the same as the d suboption for xopt\n"
15764 " and yopt, but it has to be identified as e for zopt since d\n"
15765 " has already been used for the different purpose above.\n"
15766 " f: Always use fixed point numeric labels.\n"
15767 " i: Inverts tick marks, so they are drawn away from the center.\n"
15768 " l: Labels axis logarithmically. This only affects the labels,\n"
15769 " not the data, and so it is necessary to compute the logarithms\n"
15770 " of data points before passing them to any of the drawing\n"
15772 " m: Writes numeric labels at major tick intervals on the\n"
15773 " right-hand z axis.\n"
15774 " n: Writes numeric labels at major tick intervals on the\n"
15775 " left-hand z axis.\n"
15776 " o: Use custom labelling function to generate axis label text.\n"
15777 " The custom labelling function can be defined with the\n"
15778 " plslabelfunc command.\n"
15779 " s: Enables subticks between major ticks, only valid if t is\n"
15780 " also specified.\n"
15781 " t: Draws major ticks.\n"
15782 " u: If this is specified, the text label is written beside the\n"
15783 " left-hand axis.\n"
15784 " v: If this is specified, the text label is written beside the\n"
15785 " right-hand axis.\n"
15788 " zlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
15789 " the text label for the z axis. It is only drawn if u or v are in\n"
15790 " the zopt string.\n"
15792 " ztick (PLFLT, input) : World coordinate interval between major\n"
15793 " ticks on the z axis. If it is set to zero, PLplot automatically\n"
15794 " generates a suitable tick interval.\n"
15796 " nzsub (PLINT, input) : Number of subintervals between major z axis\n"
15797 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15798 " generates a suitable minor tick interval.\n"
15802 "Calculate world coordinates and corresponding window index from relative device coordinates\n"
15806 " Calculate world coordinates, wx and wy, and corresponding window index\n"
15807 " from relative device coordinates, rx and ry.\n"
15809 " Redacted form: General: plcalc_world(rx, ry, wx, wy, window)\n"
15810 " Perl/PDL: Not available?\n"
15813 " This function is used in example 31.\n"
15819 "plcalc_world(rx, ry, wx, wy, window)\n"
15823 " rx (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n"
15824 " the x coordinate.\n"
15826 " ry (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n"
15827 " the y coordinate.\n"
15829 " wx (PLFLT_NC_SCALAR, output) : Returned value of the x world\n"
15830 " coordinate corresponding to the relative device coordinates rx and\n"
15833 " wy (PLFLT_NC_SCALAR, output) : Returned value of the y world\n"
15834 " coordinate corresponding to the relative device coordinates rx and\n"
15837 " window (PLINT_NC_SCALAR, output) : Returned value of the last\n"
15838 " defined window index that corresponds to the input relative device\n"
15839 " coordinates (and the returned world coordinates). To give some\n"
15840 " background on the window index, for each page the initial window\n"
15841 " index is set to zero, and each time plwind is called within the\n"
15842 " page, world and device coordinates are stored for the window and\n"
15843 " the window index is incremented. Thus, for a simple page layout\n"
15844 " with non-overlapping viewports and one window per viewport, window\n"
15845 " corresponds to the viewport index (in the order which the\n"
15846 " viewport/windows were created) of the only viewport/window\n"
15847 " corresponding to rx and ry. However, for more complicated layouts\n"
15848 " with potentially overlapping viewports and possibly more than one\n"
15849 " window (set of world coordinates) per viewport, window and the\n"
15850 " corresponding output world coordinates corresponds to the last\n"
15851 " window created that fulfills the criterion that the relative\n"
15852 " device coordinates are inside it. Finally, in all cases where the\n"
15853 " input relative device coordinates are not inside any\n"
15854 " viewport/window, then the returned value of the last defined\n"
15855 " window index is set to -1.\n"
15858 { (
char *)
"plclear",
_wrap_plclear, METH_VARARGS, (
char *)
"\n"
15859 "Clear current (sub)page\n"
15863 " Clears the current page, effectively erasing everything that have been\n"
15864 " drawn. This command only works with interactive drivers; if the\n"
15865 " driver does not support this, the page is filled with the background\n"
15866 " color in use. If the current page is divided into subpages, only the\n"
15867 " current subpage is erased. The nth subpage can be selected with\n"
15870 " Redacted form: General: plclear()\n"
15871 " Perl/PDL: Not available?\n"
15874 " This function is not used in any examples.\n"
15883 { (
char *)
"plcol0",
_wrap_plcol0, METH_VARARGS, (
char *)
"\n"
15884 "Set color, cmap0\n"
15888 " Sets the color index for cmap0 (see the PLplot documentation).\n"
15890 " Redacted form: plcol0(icol0)\n"
15892 " This function is used in examples 1-9, 11-16, 18-27, and 29.\n"
15902 " icol0 (PLINT, input) : Integer representing the color. The\n"
15903 " defaults at present are (these may change):\n"
15904 " 0 black (default background)\n"
15905 " 1 red (default foreground)\n"
15921 " Use plscmap0 to change the entire cmap0 color palette and plscol0 to\n"
15922 " change an individual color in the cmap0 color palette.\n"
15925 { (
char *)
"plcol1",
_wrap_plcol1, METH_VARARGS, (
char *)
"\n"
15926 "Set color, cmap1\n"
15930 " Sets the color for cmap1 (see the PLplot documentation).\n"
15932 " Redacted form: plcol1(col1)\n"
15934 " This function is used in examples 12 and 21.\n"
15944 " col1 (PLFLT, input) : This value must be in the range (0.0-1.0) and\n"
15945 " is mapped to color using the continuous cmap1 palette which by\n"
15946 " default ranges from blue to the background color to red. The\n"
15947 " cmap1 palette can also be straightforwardly changed by the user\n"
15948 " with plscmap1 or plscmap1l.\n"
15952 "Configure the transformation between continuous and broken-down time for the current stream\n"
15956 " Configure the transformation between continuous and broken-down time\n"
15957 " for the current stream. This transformation is used by both plbtime\n"
15960 " Redacted form: General: plconfigtime(scale, offset1, offset2,\n"
15961 " ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n"
15962 " Perl/PDL: Not available?\n"
15965 " This function is used in example 29.\n"
15971 "plconfigtime(scale, offset1, offset2, ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n"
15975 " scale (PLFLT, input) : The number of days per continuous time unit.\n"
15976 " As a special case, if\n"
15977 " scale is 0., then all other arguments are ignored, and the result (the\n"
15978 " default used by PLplot) is the equivalent of a call to\n"
15979 " plconfigtime(1./86400., 0., 0., 0x0, 1, 1970, 0, 1, 0, 0, 0.).\n"
15980 " That is, for this special case broken-down time is calculated with\n"
15981 " the proleptic Gregorian calendar with no leap seconds inserted,\n"
15982 " and the continuous time is defined as the number of seconds since\n"
15983 " the Unix epoch of 1970-01-01T00:00:00Z.\n"
15985 " offset1 (PLFLT, input) : If\n"
15986 " ifbtime_offset is true, the parameters\n"
15988 " offset2 are completely ignored. Otherwise, the sum of these parameters\n"
15989 " (with units in days) specify the epoch of the continuous time\n"
15990 " relative to the MJD epoch corresponding to the Gregorian calendar\n"
15991 " date of 1858-11-17T00:00:00Z or JD = 2400000.5. Two PLFLT numbers\n"
15992 " are used to specify the origin to allow users (by specifying\n"
15993 " offset1 as an integer that can be exactly represented by a\n"
15994 " floating-point variable and specifying\n"
15995 " offset2 as a number in the range from 0. to 1) the chance to minimize\n"
15996 " the numerical errors of the continuous time representation.\n"
15998 " offset2 (PLFLT, input) : See documentation of\n"
16001 " ccontrol (PLINT, input) : ccontrol contains bits controlling the\n"
16002 " transformation. If the 0x1 bit is set, then the proleptic Julian\n"
16003 " calendar is used for broken-down time rather than the proleptic\n"
16004 " Gregorian calendar. If the 0x2 bit is set, then leap seconds that\n"
16005 " have been historically used to define UTC are inserted into the\n"
16006 " broken-down time. Other possibilities for additional control bits\n"
16007 " for ccontrol exist such as making the historical time corrections\n"
16008 " in the broken-down time corresponding to ET (ephemeris time) or\n"
16009 " making the (slightly non-constant) corrections from international\n"
16010 " atomic time (TAI) to what astronomers define as terrestrial time\n"
16011 " (TT). But those additional possibilities have not been\n"
16012 " implemented yet in the qsastime library (one of the PLplot utility\n"
16015 " ifbtime_offset (PLBOOL, input) : ifbtime_offset controls how the\n"
16016 " epoch of the continuous time scale is specified by the user. If\n"
16017 " ifbtime_offset is false, then\n"
16019 " offset2 are used to specify the epoch, and the following broken-down\n"
16020 " time parameters are completely ignored. If\n"
16021 " ifbtime_offset is true, then\n"
16023 " offset2 are completely ignored, and the following broken-down time\n"
16024 " parameters are used to specify the epoch.\n"
16026 " year (PLINT, input) : Year of epoch.\n"
16028 " month (PLINT, input) : Month of epoch in range from 0 (January) to\n"
16029 " 11 (December).\n"
16031 " day (PLINT, input) : Day of epoch in range from 1 to 31.\n"
16033 " hour (PLINT, input) : Hour of epoch in range from 0 to 23\n"
16035 " min (PLINT, input) : Minute of epoch in range from 0 to 59.\n"
16037 " sec (PLFLT, input) : Second of epoch in range from 0. to 60.\n"
16040 { (
char *)
"plcont",
_wrap_plcont, METH_VARARGS, (
char *)
"\n"
16045 " Draws a contour plot of the data in f[\n"
16047 " ny], using the nlevel contour levels specified by clevel. Only the\n"
16048 " region of the matrix from kx to lx and from ky to ly is plotted out\n"
16049 " where all these index ranges are interpreted as one-based for\n"
16050 " historical reasons. A transformation routine pointed to by pltr with\n"
16051 " a generic pointer pltr_data for additional data required by the\n"
16052 " transformation routine is used to map indices within the matrix to the\n"
16053 " world coordinates.\n"
16055 " Redacted form: plcont(f, kx, lx, ky, ly, clevel, pltr, pltr_data)\n"
16056 " where (see above discussion) the pltr, pltr_data callback arguments\n"
16057 " are sometimes replaced by a tr vector with 6 elements; xg and yg\n"
16058 " vectors; or xg and yg matrices.\n"
16060 " This function is used in examples 9, 14, 16, and 22.\n"
16066 "plcont(f, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr, pltr_data)\n"
16070 " f (PLFLT_MATRIX, input) : A matrix containing data to be contoured.\n"
16072 " nx, ny (PLINT, input) : The dimensions of the matrix f.\n"
16074 " kx, lx (PLINT, input) : Range of x indices to consider where 0 <=\n"
16075 " kx-1 < lx-1 < nx. Values of kx and lx are one-based rather than\n"
16076 " zero-based for historical backwards-compatibility reasons.\n"
16078 " ky, ly (PLINT, input) : Range of y indices to consider where 0 <=\n"
16079 " ky-1 < ly-1 < ny. Values of ky and ly are one-based rather than\n"
16080 " zero-based for historical backwards-compatibility reasons.\n"
16082 " clevel (PLFLT_VECTOR, input) : A vector specifying the levels at\n"
16083 " which to draw contours.\n"
16085 " nlevel (PLINT, input) : Number of contour levels to draw.\n"
16087 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
16088 " defines the transformation between the zero-based indices of the\n"
16089 " matrix f and the world coordinates.For the C case, transformation\n"
16090 " functions are provided in the PLplot library: pltr0 for the\n"
16091 " identity mapping, and pltr1 and pltr2 for arbitrary mappings\n"
16092 " respectively defined by vectors and matrices. In addition, C\n"
16093 " callback routines for the transformation can be supplied by the\n"
16094 " user such as the mypltr function in examples/c/x09c.c which\n"
16095 " provides a general linear transformation between index coordinates\n"
16096 " and world coordinates.For languages other than C you should\n"
16097 " consult the PLplot documentation for the details concerning how\n"
16098 " PLTRANSFORM_callback arguments are interfaced. However, in\n"
16099 " general, a particular pattern of callback-associated arguments\n"
16100 " such as a tr vector with 6 elements; xg and yg vectors; or xg and\n"
16101 " yg matrices are respectively interfaced to a linear-transformation\n"
16102 " routine similar to the above mypltr function; pltr1; and pltr2.\n"
16103 " Furthermore, some of our more sophisticated bindings (see, e.g.,\n"
16104 " the PLplot documentation) support native language callbacks for\n"
16105 " handling index to world-coordinate transformations. Examples of\n"
16106 " these various approaches are given in examples/<language>x09*,\n"
16107 " examples/<language>x16*, examples/<language>x20*,\n"
16108 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
16109 " supported languages.\n"
16111 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
16112 " information to pltr0, pltr1, pltr2, or whatever callback routine\n"
16113 " that is externally supplied.\n"
16116 { (
char *)
"plctime",
_wrap_plctime, METH_VARARGS, (
char *)
"\n"
16117 "Calculate continuous time from broken-down time for the current stream\n"
16121 " Calculate continuous time, ctime, from broken-down time for the\n"
16122 " current stream. The broken-down\n"
16123 " time is specified by the following parameters: year, month, day, hour,\n"
16124 " min, and sec. This function is the inverse of plbtime.\n"
16126 " The PLplot definition of broken-down time is a calendar time that\n"
16127 " completely ignores all time zone offsets, i.e., it is the user's\n"
16128 " responsibility to apply those offsets (if so desired) before using the\n"
16129 " PLplot time API. By default broken-down time is defined using the\n"
16130 " proleptic Gregorian calendar without the insertion of leap seconds and\n"
16131 " continuous time is defined as the number of seconds since the Unix\n"
16132 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n"
16133 " broken-down and continuous time are possible, see plconfigtime which\n"
16134 " specifies that transformation for the current stream.\n"
16136 " Redacted form: General: plctime(year, month, day, hour, min, sec,\n"
16138 " Perl/PDL: Not available?\n"
16141 " This function is used in example 29.\n"
16147 "plctime(year, month, day, hour, min, sec, ctime)\n"
16151 " year (PLINT, input) : Input year.\n"
16153 " month (PLINT, input) : Input month in range from 0 (January) to 11\n"
16156 " day (PLINT, input) : Input day in range from 1 to 31.\n"
16158 " hour (PLINT, input) : Input hour in range from 0 to 23\n"
16160 " min (PLINT, input) : Input minute in range from 0 to 59.\n"
16162 " sec (PLFLT, input) : Input second in range from 0. to 60.\n"
16164 " ctime (PLFLT_NC_SCALAR, output) : Returned value of the continuous\n"
16165 " time calculated from the broken-down time specified by the\n"
16166 " previous parameters.\n"
16169 { (
char *)
"plcpstrm",
_wrap_plcpstrm, METH_VARARGS, (
char *)
"\n"
16170 "Copy state parameters from the reference stream to the current stream\n"
16174 " Copies state parameters from the reference stream to the current\n"
16175 " stream. Tell driver interface to map device coordinates unless flags\n"
16178 " This function is used for making save files of selected plots (e.g.\n"
16179 " from the TK driver). After initializing, you can get a copy of the\n"
16180 " current plot to the specified device by switching to this stream and\n"
16181 " issuing a plcpstrm and a plreplot, with calls to plbop and pleop as\n"
16182 " appropriate. The plot buffer must have previously been enabled (done\n"
16183 " automatically by some display drivers, such as X).\n"
16185 " Redacted form: plcpstrm(iplsr, flags)\n"
16187 " This function is used in example 1,20.\n"
16193 "plcpstrm(iplsr, flags)\n"
16197 " iplsr (PLINT, input) : Number of reference stream.\n"
16199 " flags (PLBOOL, input) : If flags is set to true the device\n"
16200 " coordinates are not copied from the reference to current stream.\n"
16203 { (
char *)
"plend",
_wrap_plend, METH_VARARGS, (
char *)
"\n"
16204 "End plotting session\n"
16208 " Ends a plotting session, tidies up all the output files, switches\n"
16209 " interactive devices back into text mode and frees up any memory that\n"
16210 " was allocated. Must be called before end of program.\n"
16212 " By default, PLplot's interactive devices (Xwin, TK, etc.) go into a\n"
16213 " wait state after a call to plend or other functions which trigger the\n"
16214 " end of a plot page. To avoid this, use the plspause function.\n"
16216 " Redacted form: plend()\n"
16218 " This function is used in all of the examples.\n"
16227 { (
char *)
"plend1",
_wrap_plend1, METH_VARARGS, (
char *)
"\n"
16228 "End plotting session for current stream\n"
16232 " Ends a plotting session for the current output stream only. See\n"
16233 " plsstrm for more info.\n"
16235 " Redacted form: plend1()\n"
16237 " This function is used in examples 1 and 20.\n"
16246 { (
char *)
"plenv",
_wrap_plenv, METH_VARARGS, (
char *)
"\n"
16247 "Set up standard window and draw box\n"
16251 " Sets up plotter environment for simple graphs by calling pladv and\n"
16252 " setting up viewport and window to sensible default values. plenv\n"
16253 " leaves a standard margin (left-hand margin of eight character heights,\n"
16254 " and a margin around the other three sides of five character heights)\n"
16255 " around most graphs for axis labels and a title. When these defaults\n"
16256 " are not suitable, use the individual routines plvpas, plvpor, or\n"
16257 " plvasp for setting up the viewport, plwind for defining the window,\n"
16258 " and plbox for drawing the box.\n"
16260 " Redacted form: plenv(xmin, xmax, ymin, ymax, just, axis)\n"
16262 " This function is used in example 1,3,9,13,14,19-22,29.\n"
16268 "plenv(xmin, xmax, ymin, ymax, just, axis)\n"
16272 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n"
16273 " world coordinates).\n"
16275 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n"
16276 " world coordinates).\n"
16278 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n"
16281 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n"
16284 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n"
16285 " scales will not be set, the user must set up the scale before\n"
16286 " calling plenv using plsvpa, plvasp or other.\n"
16287 " 0: the x and y axes are scaled independently to use as much of\n"
16288 " the screen as possible.\n"
16289 " 1: the scales of the x and y axes are made equal.\n"
16290 " 2: the axis of the x and y axes are made equal, and the plot\n"
16291 " box will be square.\n"
16294 " axis (PLINT, input) : Controls drawing of the box around the plot:\n"
16295 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n"
16296 " -1: draw box only.\n"
16297 " 0: draw box, ticks, and numeric tick labels.\n"
16298 " 1: also draw coordinate axes at x=0 and y=0.\n"
16299 " 2: also draw a grid at major tick positions in both\n"
16301 " 3: also draw a grid at minor tick positions in both\n"
16303 " 10: same as 0 except logarithmic x tick marks. (The x data\n"
16304 " have to be converted to logarithms separately.)\n"
16305 " 11: same as 1 except logarithmic x tick marks. (The x data\n"
16306 " have to be converted to logarithms separately.)\n"
16307 " 12: same as 2 except logarithmic x tick marks. (The x data\n"
16308 " have to be converted to logarithms separately.)\n"
16309 " 13: same as 3 except logarithmic x tick marks. (The x data\n"
16310 " have to be converted to logarithms separately.)\n"
16311 " 20: same as 0 except logarithmic y tick marks. (The y data\n"
16312 " have to be converted to logarithms separately.)\n"
16313 " 21: same as 1 except logarithmic y tick marks. (The y data\n"
16314 " have to be converted to logarithms separately.)\n"
16315 " 22: same as 2 except logarithmic y tick marks. (The y data\n"
16316 " have to be converted to logarithms separately.)\n"
16317 " 23: same as 3 except logarithmic y tick marks. (The y data\n"
16318 " have to be converted to logarithms separately.)\n"
16319 " 30: same as 0 except logarithmic x and y tick marks. (The x\n"
16320 " and y data have to be converted to logarithms separately.)\n"
16321 " 31: same as 1 except logarithmic x and y tick marks. (The x\n"
16322 " and y data have to be converted to logarithms separately.)\n"
16323 " 32: same as 2 except logarithmic x and y tick marks. (The x\n"
16324 " and y data have to be converted to logarithms separately.)\n"
16325 " 33: same as 3 except logarithmic x and y tick marks. (The x\n"
16326 " and y data have to be converted to logarithms separately.)\n"
16327 " 40: same as 0 except date / time x labels.\n"
16328 " 41: same as 1 except date / time x labels.\n"
16329 " 42: same as 2 except date / time x labels.\n"
16330 " 43: same as 3 except date / time x labels.\n"
16331 " 50: same as 0 except date / time y labels.\n"
16332 " 51: same as 1 except date / time y labels.\n"
16333 " 52: same as 2 except date / time y labels.\n"
16334 " 53: same as 3 except date / time y labels.\n"
16335 " 60: same as 0 except date / time x and y labels.\n"
16336 " 61: same as 1 except date / time x and y labels.\n"
16337 " 62: same as 2 except date / time x and y labels.\n"
16338 " 63: same as 3 except date / time x and y labels.\n"
16339 " 70: same as 0 except custom x and y labels.\n"
16340 " 71: same as 1 except custom x and y labels.\n"
16341 " 72: same as 2 except custom x and y labels.\n"
16342 " 73: same as 3 except custom x and y labels.\n"
16345 { (
char *)
"plenv0",
_wrap_plenv0, METH_VARARGS, (
char *)
"\n"
16346 "Same as plenv but if in multiplot mode does not advance the subpage, instead clears it\n"
16350 " Sets up plotter environment for simple graphs by calling pladv and\n"
16351 " setting up viewport and window to sensible default values. plenv0\n"
16352 " leaves a standard margin (left-hand margin of eight character heights,\n"
16353 " and a margin around the other three sides of five character heights)\n"
16354 " around most graphs for axis labels and a title. When these defaults\n"
16355 " are not suitable, use the individual routines plvpas, plvpor, or\n"
16356 " plvasp for setting up the viewport, plwind for defining the window,\n"
16357 " and plbox for drawing the box.\n"
16359 " Redacted form: plenv0(xmin, xmax, ymin, ymax, just, axis)\n"
16361 " This function is used in example 21.\n"
16367 "plenv0(xmin, xmax, ymin, ymax, just, axis)\n"
16371 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n"
16372 " world coordinates).\n"
16374 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n"
16375 " world coordinates).\n"
16377 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n"
16380 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n"
16383 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n"
16384 " scales will not be set, the user must set up the scale before\n"
16385 " calling plenv0 using plsvpa, plvasp or other.\n"
16386 " 0: the x and y axes are scaled independently to use as much of\n"
16387 " the screen as possible.\n"
16388 " 1: the scales of the x and y axes are made equal.\n"
16389 " 2: the axis of the x and y axes are made equal, and the plot\n"
16390 " box will be square.\n"
16393 " axis (PLINT, input) : Controls drawing of the box around the plot:\n"
16394 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n"
16395 " -1: draw box only.\n"
16396 " 0: draw box, ticks, and numeric tick labels.\n"
16397 " 1: also draw coordinate axes at x=0 and y=0.\n"
16398 " 2: also draw a grid at major tick positions in both\n"
16400 " 3: also draw a grid at minor tick positions in both\n"
16402 " 10: same as 0 except logarithmic x tick marks. (The x data\n"
16403 " have to be converted to logarithms separately.)\n"
16404 " 11: same as 1 except logarithmic x tick marks. (The x data\n"
16405 " have to be converted to logarithms separately.)\n"
16406 " 12: same as 2 except logarithmic x tick marks. (The x data\n"
16407 " have to be converted to logarithms separately.)\n"
16408 " 13: same as 3 except logarithmic x tick marks. (The x data\n"
16409 " have to be converted to logarithms separately.)\n"
16410 " 20: same as 0 except logarithmic y tick marks. (The y data\n"
16411 " have to be converted to logarithms separately.)\n"
16412 " 21: same as 1 except logarithmic y tick marks. (The y data\n"
16413 " have to be converted to logarithms separately.)\n"
16414 " 22: same as 2 except logarithmic y tick marks. (The y data\n"
16415 " have to be converted to logarithms separately.)\n"
16416 " 23: same as 3 except logarithmic y tick marks. (The y data\n"
16417 " have to be converted to logarithms separately.)\n"
16418 " 30: same as 0 except logarithmic x and y tick marks. (The x\n"
16419 " and y data have to be converted to logarithms separately.)\n"
16420 " 31: same as 1 except logarithmic x and y tick marks. (The x\n"
16421 " and y data have to be converted to logarithms separately.)\n"
16422 " 32: same as 2 except logarithmic x and y tick marks. (The x\n"
16423 " and y data have to be converted to logarithms separately.)\n"
16424 " 33: same as 3 except logarithmic x and y tick marks. (The x\n"
16425 " and y data have to be converted to logarithms separately.)\n"
16426 " 40: same as 0 except date / time x labels.\n"
16427 " 41: same as 1 except date / time x labels.\n"
16428 " 42: same as 2 except date / time x labels.\n"
16429 " 43: same as 3 except date / time x labels.\n"
16430 " 50: same as 0 except date / time y labels.\n"
16431 " 51: same as 1 except date / time y labels.\n"
16432 " 52: same as 2 except date / time y labels.\n"
16433 " 53: same as 3 except date / time y labels.\n"
16434 " 60: same as 0 except date / time x and y labels.\n"
16435 " 61: same as 1 except date / time x and y labels.\n"
16436 " 62: same as 2 except date / time x and y labels.\n"
16437 " 63: same as 3 except date / time x and y labels.\n"
16438 " 70: same as 0 except custom x and y labels.\n"
16439 " 71: same as 1 except custom x and y labels.\n"
16440 " 72: same as 2 except custom x and y labels.\n"
16441 " 73: same as 3 except custom x and y labels.\n"
16444 { (
char *)
"pleop",
_wrap_pleop, METH_VARARGS, (
char *)
"\n"
16445 "Eject current page\n"
16449 " Clears the graphics screen of an interactive device, or ejects a page\n"
16450 " on a plotter. See plbop for more information.\n"
16452 " Redacted form: pleop()\n"
16454 " This function is used in example 2,14.\n"
16463 { (
char *)
"plerrx",
_wrap_plerrx, METH_VARARGS, (
char *)
"\n"
16464 "Draw error bars in x direction\n"
16468 " Draws a set of n error bars in x direction, the i'th error bar\n"
16469 " extending from xmin[i] to xmax[i] at y coordinate y[i]. The terminals\n"
16470 " of the error bars are of length equal to the minor tick length\n"
16471 " (settable using plsmin).\n"
16473 " Redacted form: General: plerrx(xmin, ymax, y)\n"
16474 " Perl/PDL: plerrx(n, xmin, xmax, y)\n"
16477 " This function is used in example 29.\n"
16483 "plerrx(n, xmin, xmax, y)\n"
16487 " n (PLINT, input) : Number of error bars to draw.\n"
16489 " xmin (PLFLT_VECTOR, input) : A vector containing the x coordinates\n"
16490 " of the left-hand endpoints of the error bars.\n"
16492 " xmax (PLFLT_VECTOR, input) : A vector containing the x coordinates\n"
16493 " of the right-hand endpoints of the error bars.\n"
16495 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16496 " the error bars.\n"
16499 { (
char *)
"plerry",
_wrap_plerry, METH_VARARGS, (
char *)
"\n"
16500 "Draw error bars in the y direction\n"
16504 " Draws a set of n error bars in the y direction, the i'th error bar\n"
16505 " extending from ymin[i] to ymax[i] at x coordinate x[i]. The terminals\n"
16506 " of the error bars are of length equal to the minor tick length\n"
16507 " (settable using plsmin).\n"
16509 " Redacted form: General: plerry(x, ymin, ymax)\n"
16510 " Perl/PDL: plerry(n, x, ymin, ymax)\n"
16513 " This function is used in example 29.\n"
16519 "plerry(n, x, ymin, ymax)\n"
16523 " n (PLINT, input) : Number of error bars to draw.\n"
16525 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16526 " the error bars.\n"
16528 " ymin (PLFLT_VECTOR, input) : A vector containing the y coordinates\n"
16529 " of the lower endpoints of the error bars.\n"
16531 " ymax (PLFLT_VECTOR, input) : A vector containing the y coordinates\n"
16532 " of the upper endpoints of the error bars.\n"
16535 { (
char *)
"plfamadv",
_wrap_plfamadv, METH_VARARGS, (
char *)
"\n"
16536 "Advance to the next family file on the next new page\n"
16540 " Advance to the next family file on the next new page.\n"
16542 " Redacted form: plfamadv()\n"
16544 " This function is not used in any examples.\n"
16553 { (
char *)
"plfill",
_wrap_plfill, METH_VARARGS, (
char *)
"\n"
16554 "Draw filled polygon\n"
16558 " Fills the polygon defined by the n points (\n"
16560 " y[i]) using the pattern defined by plpsty or plpat. The default fill\n"
16561 " style is a solid fill. The routine will automatically close the\n"
16562 " polygon between the last and first vertices. If multiple closed\n"
16563 " polygons are passed in x and y then plfill will fill in between them.\n"
16565 " Redacted form: plfill(x,y)\n"
16567 " This function is used in examples 12, 13, 15, 16, 21, 24, and 25.\n"
16573 "plfill(n, x, y)\n"
16577 " n (PLINT, input) : Number of vertices in polygon.\n"
16579 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16582 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16586 { (
char *)
"plfill3",
_wrap_plfill3, METH_VARARGS, (
char *)
"\n"
16587 "Draw filled polygon in 3D\n"
16591 " Fills the 3D polygon defined by the n points in the x, y, and z\n"
16592 " vectors using the pattern defined by plpsty or plpat. The routine\n"
16593 " will automatically close the polygon between the last and first\n"
16594 " vertices. If multiple closed polygons are passed in x, y, and z then\n"
16595 " plfill3 will fill in between them.\n"
16597 " Redacted form: General: plfill3(x, y, z)\n"
16598 " Perl/PDL: plfill3(n, x, y, z)\n"
16601 " This function is used in example 15.\n"
16607 "plfill3(n, x, y, z)\n"
16611 " n (PLINT, input) : Number of vertices in polygon.\n"
16613 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16616 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16619 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
16624 "Draw linear gradient inside polygon\n"
16628 " Draw a linear gradient using cmap1 inside the polygon defined by the n\n"
16631 " y[i]). Interpretation of the polygon is the same as for plfill. The\n"
16632 " polygon coordinates and the gradient angle are all expressed in world\n"
16633 " coordinates. The angle from the x axis for both the rotated\n"
16634 " coordinate system and the gradient vector is specified by angle. The\n"
16635 " magnitude of the gradient vector is the difference between the maximum\n"
16636 " and minimum values of x for the vertices in the rotated coordinate\n"
16637 " system. The origin of the gradient vector can be interpreted as being\n"
16638 " anywhere on the line corresponding to the minimum x value for the\n"
16639 " vertices in the rotated coordinate system. The distance along the\n"
16640 " gradient vector is linearly transformed to the independent variable of\n"
16641 " color map 1 which ranges from 0. at the tail of the gradient vector to\n"
16642 " 1. at the head of the gradient vector. What is drawn is the RGBA\n"
16643 " color corresponding to the independent variable of cmap1. For more\n"
16644 " information about cmap1 (see the PLplot documentation).\n"
16646 " Redacted form: plgradient(x,y,angle)\n"
16648 " This function is used in examples 25 and 30.\n"
16654 "plgradient(n, x, y, angle)\n"
16658 " n (PLINT, input) : Number of vertices in polygon.\n"
16660 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16663 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16666 " angle (PLFLT, input) : Angle (degrees) of gradient vector from x\n"
16670 { (
char *)
"plflush",
_wrap_plflush, METH_VARARGS, (
char *)
"\n"
16671 "Flushes the output stream\n"
16675 " Flushes the output stream. Use sparingly, if at all.\n"
16677 " Redacted form: plflush()\n"
16679 " This function is used in examples 1 and 14.\n"
16688 { (
char *)
"plfont",
_wrap_plfont, METH_VARARGS, (
char *)
"\n"
16693 " Sets the font used for subsequent text and symbols. For devices that\n"
16694 " still use Hershey fonts this routine has no effect unless the Hershey\n"
16695 " fonts with extended character set are loaded (see plfontld). For\n"
16696 " unicode-aware devices that use system fonts instead of Hershey fonts,\n"
16697 " this routine calls the plsfci routine with argument set up\n"
16698 " appropriately for the various cases below. However, this method of\n"
16699 " specifying the font for unicode-aware devices is deprecated, and the\n"
16700 " much more flexible method of calling plsfont directly is recommended\n"
16701 " instead (where plsfont provides a user-friendly interface to plsfci),\n"
16703 " Redacted form: plfont(ifont)\n"
16705 " This function is used in examples 1, 2, 4, 7, 13, 24, and 26.\n"
16715 " ifont (PLINT, input) : Specifies the font: 1: Sans serif font\n"
16716 " (simplest and fastest)\n"
16718 " 3: Italic font\n"
16719 " 4: Script font\n"
16722 { (
char *)
"plfontld",
_wrap_plfontld, METH_VARARGS, (
char *)
"\n"
16723 "Load Hershey fonts\n"
16727 " Loads the Hershey fonts used for text and symbols. This routine may\n"
16728 " be called before or after initializing PLplot. If not explicitly\n"
16729 " called before PLplot initialization, then by default that\n"
16730 " initialization loads Hershey fonts with the extended character set.\n"
16731 " This routine only has a practical effect for devices that still use\n"
16732 " Hershey fonts (as opposed to modern devices that use unicode-aware\n"
16733 " system fonts instead of Hershey fonts).\n"
16735 " Redacted form: plfontld(fnt)\n"
16737 " This function is used in examples 1 and 7.\n"
16747 " fnt (PLINT, input) : Specifies the type of Hershey fonts to load.\n"
16748 " A zero value specifies Hershey fonts with the standard character\n"
16749 " set and a non-zero value (the default assumed if plfontld is never\n"
16750 " called) specifies Hershey fonts with the extended character set.\n"
16753 { (
char *)
"plgchr",
_wrap_plgchr, METH_VARARGS, (
char *)
"\n"
16754 "Get character default height and current (scaled) height\n"
16758 " Get character default height and current (scaled) height.\n"
16760 " Redacted form: plgchr(p_def, p_ht)\n"
16762 " This function is used in example 23.\n"
16768 "plgchr(p_def, p_ht)\n"
16772 " p_def (PLFLT_NC_SCALAR, output) : Returned value of the default\n"
16773 " character height (mm).\n"
16775 " p_ht (PLFLT_NC_SCALAR, output) : Returned value of the scaled\n"
16776 " character height (mm).\n"
16779 { (
char *)
"plgcol0",
_wrap_plgcol0, METH_VARARGS, (
char *)
"\n"
16780 "Returns 8-bit RGB values for given color index from cmap0\n"
16784 " Returns 8-bit RGB values (0-255) for given color from cmap0 (see the\n"
16785 " PLplot documentation). Values are negative if an invalid color id is\n"
16788 " Redacted form: plgcol0(icol0, r, g, b)\n"
16790 " This function is used in example 2.\n"
16796 "plgcol0(icol0, r, g, b)\n"
16800 " icol0 (PLINT, input) : Index of desired cmap0 color.\n"
16802 " r (PLINT_NC_SCALAR, output) : Returned value of the 8-bit red\n"
16805 " g (PLINT_NC_SCALAR, output) : Returned value of the 8-bit green\n"
16808 " b (PLINT_NC_SCALAR, output) : Returned value of the 8-bit blue\n"
16812 { (
char *)
"plgcol0a",
_wrap_plgcol0a, METH_VARARGS, (
char *)
"\n"
16813 "Returns 8-bit RGB values and PLFLT alpha transparency value for given color index from cmap0\n"
16817 " Returns 8-bit RGB values (0-255) and PLFLT alpha transparency value\n"
16818 " (0.0-1.0) for given color from cmap0 (see the PLplot documentation).\n"
16819 " Values are negative if an invalid color id is given.\n"
16821 " Redacted form: plgcola(r, g, b)\n"
16823 " This function is used in example 30.\n"
16829 "plgcol0a(icol0, r, g, b, alpha)\n"
16833 " icol0 (PLINT, input) : Index of desired cmap0 color.\n"
16835 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
16836 " in the range from 0 to 255.\n"
16838 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
16839 " in the range from 0 to 255.\n"
16841 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
16842 " in the range from 0 to 255.\n"
16844 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n"
16845 " transparency in the range from (0.0-1.0).\n"
16848 { (
char *)
"plgcolbg",
_wrap_plgcolbg, METH_VARARGS, (
char *)
"\n"
16849 "Returns the background color (cmap0[0]) by 8-bit RGB value\n"
16853 " Returns the background color (cmap0[0]) by 8-bit RGB value.\n"
16855 " Redacted form: plgcolbg(r, g, b)\n"
16857 " This function is used in example 31.\n"
16863 "plgcolbg(r, g, b)\n"
16867 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
16868 " in the range from 0 to 255.\n"
16870 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
16871 " in the range from 0 to 255.\n"
16873 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
16874 " in the range from 0 to 255.\n"
16878 "Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT alpha transparency value\n"
16882 " Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT\n"
16883 " alpha transparency value.\n"
16885 " This function is used in example 31.\n"
16891 "plgcolbga(r, g, b, alpha)\n"
16895 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
16896 " in the range from 0 to 255.\n"
16898 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
16899 " in the range from 0 to 255.\n"
16901 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
16902 " in the range from 0 to 255.\n"
16904 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n"
16905 " transparency in the range (0.0-1.0).\n"
16909 "Get the current device-compression setting\n"
16913 " Get the current device-compression setting. This parameter is only\n"
16914 " used for drivers that provide compression.\n"
16916 " Redacted form: plgcompression(compression)\n"
16918 " This function is used in example 31.\n"
16924 "plgcompression(compression)\n"
16928 " compression (PLINT_NC_SCALAR, output) : Returned value of the\n"
16929 " compression setting for the current device.\n"
16932 { (
char *)
"plgdev",
_wrap_plgdev, METH_VARARGS, (
char *)
"\n"
16933 "Get the current device (keyword) name\n"
16937 " Get the current device (keyword) name. Note: you must have allocated\n"
16938 " space for this (80 characters is safe).\n"
16940 " Redacted form: plgdev(p_dev)\n"
16942 " This function is used in example 14.\n"
16952 " p_dev (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
16953 " (with preallocated length of 80 characters or more) containing the\n"
16954 " device (keyword) name.\n"
16957 { (
char *)
"plgdidev",
_wrap_plgdidev, METH_VARARGS, (
char *)
"\n"
16958 "Get parameters that define current device-space window\n"
16962 " Get relative margin width, aspect ratio, and relative justification\n"
16963 " that define current device-space window. If plsdidev has not been\n"
16964 " called the default values pointed to by p_mar, p_aspect, p_jx, and\n"
16965 " p_jy will all be 0.\n"
16967 " Redacted form: plgdidev(p_mar, p_aspect, p_jx, p_jy)\n"
16969 " This function is used in example 31.\n"
16975 "plgdidev(p_mar, p_aspect, p_jx, p_jy)\n"
16979 " p_mar (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
16982 " p_aspect (PLFLT_NC_SCALAR, output) : Returned value of the aspect\n"
16985 " p_jx (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
16986 " justification in x.\n"
16988 " p_jy (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
16989 " justification in y.\n"
16992 { (
char *)
"plgdiori",
_wrap_plgdiori, METH_VARARGS, (
char *)
"\n"
16993 "Get plot orientation\n"
16997 " Get plot orientation parameter which is multiplied by 90 degrees to\n"
16998 " obtain the angle of rotation. Note, arbitrary rotation parameters\n"
16999 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n"
17000 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n"
17001 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n"
17002 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori has\n"
17003 " not been called the default value pointed to by p_rot will be 0.\n"
17005 " Redacted form: plgdiori(p_rot)\n"
17007 " This function is not used in any examples.\n"
17013 "plgdiori(p_rot)\n"
17017 " p_rot (PLFLT_NC_SCALAR, output) : Returned value of the orientation\n"
17021 { (
char *)
"plgdiplt",
_wrap_plgdiplt, METH_VARARGS, (
char *)
"\n"
17022 "Get parameters that define current plot-space window\n"
17026 " Get relative minima and maxima that define current plot-space window.\n"
17027 " If plsdiplt has not been called the default values pointed to by\n"
17028 " p_xmin, p_ymin, p_xmax, and p_ymax will be 0., 0., 1., and 1.\n"
17030 " Redacted form: plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n"
17032 " This function is used in example 31.\n"
17038 "plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n"
17042 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17045 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17048 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17051 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
17055 { (
char *)
"plgfam",
_wrap_plgfam, METH_VARARGS, (
char *)
"\n"
17056 "Get family file parameters\n"
17060 " Gets information about current family file, if familying is enabled.\n"
17061 " See the PLplot documentation for more information.\n"
17063 " Redacted form: plgfam(p_fam, p_num, p_bmax)\n"
17065 " This function is used in examples 14 and 31.\n"
17071 "plgfam(p_fam, p_num, p_bmax)\n"
17075 " p_fam (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17076 " family flag value. If nonzero, familying is enabled for the\n"
17077 " current device.\n"
17079 " p_num (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17080 " family file number.\n"
17082 " p_bmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17083 " file size (in bytes) for a family file.\n"
17086 { (
char *)
"plgfci",
_wrap_plgfci, METH_VARARGS, (
char *)
"\n"
17087 "Get FCI (font characterization integer)\n"
17091 " Gets information about the current font using the FCI approach. See\n"
17092 " the PLplot documentation for more information.\n"
17094 " Redacted form: plgfci(p_fci)\n"
17096 " This function is used in example 23.\n"
17106 " p_fci (PLUNICODE_NC_SCALAR, output) : Returned value of the current\n"
17110 { (
char *)
"plgfnam",
_wrap_plgfnam, METH_VARARGS, (
char *)
"\n"
17111 "Get output file name\n"
17115 " Gets the current output file name, if applicable.\n"
17117 " Redacted form: plgfnam(fnam)\n"
17119 " This function is used in example 31.\n"
17129 " fnam (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
17130 " (with preallocated length of 80 characters or more) containing the\n"
17134 { (
char *)
"plgfont",
_wrap_plgfont, METH_VARARGS, (
char *)
"\n"
17135 "Get family, style and weight of the current font\n"
17139 " Gets information about current font. See the PLplot documentation for\n"
17140 " more information on font selection.\n"
17142 " Redacted form: plgfont(p_family, p_style, p_weight)\n"
17144 " This function is used in example 23.\n"
17150 "plgfont(p_family, p_style, p_weight)\n"
17154 " p_family (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17155 " font family. The available values are given by the PL_FCI_*\n"
17156 " constants in plplot.h. Current options are PL_FCI_SANS,\n"
17157 " PL_FCI_SERIF, PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. If\n"
17158 " p_family is NULL then the font family is not returned.\n"
17160 " p_style (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17161 " font style. The available values are given by the PL_FCI_*\n"
17162 " constants in plplot.h. Current options are PL_FCI_UPRIGHT,\n"
17163 " PL_FCI_ITALIC and PL_FCI_OBLIQUE. If p_style is NULL then the font\n"
17164 " style is not returned.\n"
17166 " p_weight (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17167 " font weight. The available values are given by the PL_FCI_*\n"
17168 " constants in plplot.h. Current options are PL_FCI_MEDIUM and\n"
17169 " PL_FCI_BOLD. If p_weight is NULL then the font weight is not\n"
17173 { (
char *)
"plglevel",
_wrap_plglevel, METH_VARARGS, (
char *)
"\n"
17174 "Get the (current) run level\n"
17178 " Get the (current) run level. Valid settings are: 0, uninitialized\n"
17179 " 1, initialized\n"
17180 " 2, viewport defined\n"
17181 " 3, world coordinates defined\n"
17184 " Redacted form: plglevel(p_level)\n"
17186 " This function is used in example 31.\n"
17192 "plglevel(p_level)\n"
17196 " p_level (PLINT_NC_SCALAR, output) : Returned value of the run\n"
17200 { (
char *)
"plgpage",
_wrap_plgpage, METH_VARARGS, (
char *)
"\n"
17201 "Get page parameters\n"
17205 " Gets the current page configuration. The length and offset values are\n"
17206 " expressed in units that are specific to the current driver. For\n"
17207 " instance: screen drivers will usually interpret them as number of\n"
17208 " pixels, whereas printer drivers will usually use mm.\n"
17210 " Redacted form: plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n"
17212 " This function is used in examples 14 and 31.\n"
17218 "plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n"
17222 " p_xp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n"
17223 " pixels/inch (DPI) in x.\n"
17225 " p_yp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n"
17226 " pixels/inch (DPI) in y.\n"
17228 " p_xleng (PLINT_NC_SCALAR, output) : Returned value of the x page\n"
17231 " p_yleng (PLINT_NC_SCALAR, output) : Returned value of the y page\n"
17234 " p_xoff (PLINT_NC_SCALAR, output) : Returned value of the x page\n"
17237 " p_yoff (PLINT_NC_SCALAR, output) : Returned value of the y page\n"
17241 { (
char *)
"plgra",
_wrap_plgra, METH_VARARGS, (
char *)
"\n"
17242 "Switch to graphics screen\n"
17246 " Sets an interactive device to graphics mode, used in conjunction with\n"
17247 " pltext to allow graphics and text to be interspersed. On a device\n"
17248 " which supports separate text and graphics windows, this command causes\n"
17249 " control to be switched to the graphics window. If already in graphics\n"
17250 " mode, this command is ignored. It is also ignored on devices which\n"
17251 " only support a single window or use a different method for shifting\n"
17252 " focus. See also pltext.\n"
17254 " Redacted form: plgra()\n"
17256 " This function is used in example 1.\n"
17266 "Grid data from irregularly sampled data\n"
17270 " Real world data is frequently irregularly sampled, but PLplot 3D plots\n"
17271 " require data organized as a grid, i.e., with x sample point values\n"
17272 " independent of y coordinate and vice versa. This function takes\n"
17273 " irregularly sampled data from the x[npts], y[npts], and z[npts]\n"
17274 " vectors; reads the desired grid location from the input vectors\n"
17275 " xg[nptsx] and yg[nptsy]; and returns the interpolated result on that\n"
17276 " grid using the output matrix zg[nptsx][nptsy]. The algorithm used to\n"
17277 " interpolate the data to the grid is specified with the argument type\n"
17278 " which can have one parameter specified in argument data.\n"
17280 " Redacted form: General: plgriddata(x, y, z, xg, yg, zg, type, data)\n"
17281 " Perl/PDL: Not available?\n"
17282 " Python: zg=plgriddata(x, y, z, xg, yg, type, data)\n"
17285 " This function is used in example 21.\n"
17291 "plgriddata(x, y, z, npts, xg, nptsx, yg, nptsy, zg, type, data)\n"
17295 " x (PLFLT_VECTOR, input) : The input x vector.\n"
17297 " y (PLFLT_VECTOR, input) : The input y vector.\n"
17299 " z (PLFLT_VECTOR, input) : The input z vector. Each triple x[i],\n"
17300 " y[i], z[i] represents one data sample coordinate.\n"
17302 " npts (PLINT, input) : The number of data samples in the x, y and z\n"
17305 " xg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n"
17306 " in the x direction. Usually xg has nptsx equally spaced values\n"
17307 " from the minimum to the maximum values of the x input vector.\n"
17309 " nptsx (PLINT, input) : The number of points in the xg vector.\n"
17311 " yg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n"
17312 " in the y direction. Similar to the xg parameter.\n"
17314 " nptsy (PLINT, input) : The number of points in the yg vector.\n"
17316 " zg (PLFLT_NC_MATRIX, output) : The matrix of interpolated results\n"
17317 " where data lies in the grid specified by xg and yg. Therefore the\n"
17318 " zg matrix must be dimensioned\n"
17322 " type (PLINT, input) : The type of grid interpolation algorithm to\n"
17323 " use, which can be: GRID_CSA: Bivariate Cubic Spline approximation\n"
17324 " GRID_DTLI: Delaunay Triangulation Linear Interpolation\n"
17325 " GRID_NNI: Natural Neighbors Interpolation\n"
17326 " GRID_NNIDW: Nearest Neighbors Inverse Distance Weighted\n"
17327 " GRID_NNLI: Nearest Neighbors Linear Interpolation\n"
17328 " GRID_NNAIDW: Nearest Neighbors Around Inverse Distance\n"
17330 " For details of the algorithms read the source file plgridd.c.\n"
17332 " data (PLFLT, input) : Some gridding algorithms require extra data,\n"
17333 " which can be specified through this argument. Currently, for\n"
17334 " algorithm: GRID_NNIDW, data specifies the number of neighbors to\n"
17335 " use, the lower the value, the noisier (more local) the\n"
17336 " approximation is.\n"
17337 " GRID_NNLI, data specifies what a thin triangle is, in the\n"
17338 " range [1. .. 2.]. High values enable the usage of very thin\n"
17339 " triangles for interpolation, possibly resulting in error in\n"
17340 " the approximation.\n"
17341 " GRID_NNI, only weights greater than data will be accepted. If\n"
17342 " 0, all weights will be accepted.\n"
17345 { (
char *)
"plgspa",
_wrap_plgspa, METH_VARARGS, (
char *)
"\n"
17346 "Get current subpage parameters\n"
17350 " Gets the size of the current subpage in millimeters measured from the\n"
17351 " bottom left hand corner of the output device page or screen. Can be\n"
17352 " used in conjunction with plsvpa for setting the size of a viewport in\n"
17353 " absolute coordinates (millimeters).\n"
17355 " Redacted form: plgspa(xmin, xmax, ymin, ymax)\n"
17357 " This function is used in example 23.\n"
17363 "plgspa(xmin, xmax, ymin, ymax)\n"
17367 " xmin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17368 " the left hand edge of the subpage in millimeters.\n"
17370 " xmax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17371 " the right hand edge of the subpage in millimeters.\n"
17373 " ymin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17374 " the bottom edge of the subpage in millimeters.\n"
17376 " ymax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17377 " the top edge of the subpage in millimeters.\n"
17380 { (
char *)
"plgstrm",
_wrap_plgstrm, METH_VARARGS, (
char *)
"\n"
17381 "Get current stream number\n"
17385 " Gets the number of the current output stream. See also plsstrm.\n"
17387 " Redacted form: plgstrm(p_strm)\n"
17389 " This function is used in example 1,20.\n"
17395 "plgstrm(p_strm)\n"
17399 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17403 { (
char *)
"plgver",
_wrap_plgver, METH_VARARGS, (
char *)
"\n"
17404 "Get the current library version number\n"
17408 " Get the current library version number. Note: you must have allocated\n"
17409 " space for this (80 characters is safe).\n"
17411 " Redacted form: plgver(p_ver)\n"
17413 " This function is used in example 1.\n"
17423 " p_ver (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
17424 " (with preallocated length of 80 characters or more) containing the\n"
17425 " PLplot version number.\n"
17428 { (
char *)
"plgvpd",
_wrap_plgvpd, METH_VARARGS, (
char *)
"\n"
17429 "Get viewport limits in normalized device coordinates\n"
17433 " Get viewport limits in normalized device coordinates.\n"
17435 " Redacted form: General: plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17436 " Perl/PDL: Not available?\n"
17439 " This function is used in example 31.\n"
17445 "plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17449 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17450 " viewport limit of the normalized device coordinate in x.\n"
17452 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17453 " viewport limit of the normalized device coordinate in x.\n"
17455 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17456 " viewport limit of the normalized device coordinate in y.\n"
17458 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17459 " viewport limit of the normalized device coordinate in y.\n"
17462 { (
char *)
"plgvpw",
_wrap_plgvpw, METH_VARARGS, (
char *)
"\n"
17463 "Get viewport limits in world coordinates\n"
17467 " Get viewport limits in world coordinates.\n"
17469 " Redacted form: General: plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17470 " Perl/PDL: Not available?\n"
17473 " This function is used in example 31.\n"
17479 "plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17483 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17484 " viewport limit of the world coordinate in x.\n"
17486 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17487 " viewport limit of the world coordinate in x.\n"
17489 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17490 " viewport limit of the world coordinate in y.\n"
17492 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17493 " viewport limit of the world coordinate in y.\n"
17496 { (
char *)
"plgxax",
_wrap_plgxax, METH_VARARGS, (
char *)
"\n"
17497 "Get x axis parameters\n"
17501 " Returns current values of the p_digmax and p_digits flags for the x\n"
17502 " axis. p_digits is updated after the plot is drawn, so this routine\n"
17503 " should only be called after the call to plbox (or plbox3) is complete.\n"
17504 " See the PLplot documentation for more information.\n"
17506 " Redacted form: plgxax(p_digmax, p_digits)\n"
17508 " This function is used in example 31.\n"
17514 "plgxax(p_digmax, p_digits)\n"
17518 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17519 " number of digits for the x axis. If nonzero, the printed label\n"
17520 " has been switched to a floating-point representation when the\n"
17521 " number of digits exceeds this value.\n"
17523 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17524 " number of digits for the numeric labels (x axis) from the last\n"
17528 { (
char *)
"plgyax",
_wrap_plgyax, METH_VARARGS, (
char *)
"\n"
17529 "Get y axis parameters\n"
17533 " Identical to plgxax, except that arguments are flags for y axis. See\n"
17534 " the description of plgxax for more detail.\n"
17536 " Redacted form: plgyax(p_digmax, p_digits)\n"
17538 " This function is used in example 31.\n"
17544 "plgyax(p_digmax, p_digits)\n"
17548 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17549 " number of digits for the y axis. If nonzero, the printed label\n"
17550 " has been switched to a floating-point representation when the\n"
17551 " number of digits exceeds this value.\n"
17553 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17554 " number of digits for the numeric labels (y axis) from the last\n"
17558 { (
char *)
"plgzax",
_wrap_plgzax, METH_VARARGS, (
char *)
"\n"
17559 "Get z axis parameters\n"
17563 " Identical to plgxax, except that arguments are flags for z axis. See\n"
17564 " the description of plgxax for more detail.\n"
17566 " Redacted form: plgzax(p_digmax, p_digits)\n"
17568 " This function is used in example 31.\n"
17574 "plgzax(p_digmax, p_digits)\n"
17578 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17579 " number of digits for the z axis. If nonzero, the printed label\n"
17580 " has been switched to a floating-point representation when the\n"
17581 " number of digits exceeds this value.\n"
17583 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17584 " number of digits for the numeric labels (z axis) from the last\n"
17588 { (
char *)
"plhist",
_wrap_plhist, METH_VARARGS, (
char *)
"\n"
17589 "Plot a histogram from unbinned data\n"
17593 " Plots a histogram from n data points stored in the data vector. This\n"
17594 " routine bins the data into nbin bins equally spaced between datmin and\n"
17595 " datmax, and calls plbin to draw the resulting histogram. Parameter\n"
17596 " opt allows, among other things, the histogram either to be plotted in\n"
17597 " an existing window or causes plhist to call plenv with suitable limits\n"
17598 " before plotting the histogram.\n"
17600 " Redacted form: plhist(data, datmin, datmax, nbin, opt)\n"
17602 " This function is used in example 5.\n"
17608 "plhist(n, data, datmin, datmax, nbin, opt)\n"
17612 " n (PLINT, input) : Number of data points.\n"
17614 " data (PLFLT_VECTOR, input) : A vector containing the values of the\n"
17615 " n data points.\n"
17617 " datmin (PLFLT, input) : Left-hand edge of lowest-valued bin.\n"
17619 " datmax (PLFLT, input) : Right-hand edge of highest-valued bin.\n"
17621 " nbin (PLINT, input) : Number of (equal-sized) bins into which to\n"
17622 " divide the interval xmin to xmax.\n"
17624 " opt (PLINT, input) : Is a combination of several flags:\n"
17625 " opt=PL_HIST_DEFAULT: The axes are automatically rescaled to fit\n"
17626 " the histogram data, the outer bins are expanded to fill up the\n"
17627 " entire x-axis, data outside the given extremes are assigned to the\n"
17628 " outer bins and bins of zero height are simply drawn.\n"
17629 " opt=PL_HIST_NOSCALING|...: The existing axes are not rescaled\n"
17630 " to fit the histogram data, without this flag, plenv is called\n"
17631 " to set the world coordinates.\n"
17632 " opt=PL_HIST_IGNORE_OUTLIERS|...: Data outside the given\n"
17633 " extremes are not taken into account. This option should\n"
17634 " probably be combined with opt=PL_HIST_NOEXPAND|..., so as to\n"
17635 " properly present the data.\n"
17636 " opt=PL_HIST_NOEXPAND|...: The outer bins are drawn with equal\n"
17637 " size as the ones inside.\n"
17638 " opt=PL_HIST_NOEMPTY|...: Bins with zero height are not drawn\n"
17639 " (there is a gap for such bins).\n"
17642 { (
char *)
"plhlsrgb",
_wrap_plhlsrgb, METH_VARARGS, (
char *)
"\n"
17643 "Convert HLS color to RGB\n"
17647 " Convert HLS color coordinates to RGB.\n"
17649 " Redacted form: General: plhlsrgb(h, l, s, p_r, p_g, p_b)\n"
17650 " Perl/PDL: Not available? Implemented as plhls?\n"
17653 " This function is used in example 2.\n"
17659 "plhlsrgb(h, l, s, p_r, p_g, p_b)\n"
17663 " h (PLFLT, input) : Hue in degrees (0.0-360.0) on the color\n"
17666 " l (PLFLT, input) : Lightness expressed as a fraction (0.0-1.0) of\n"
17667 " the axis of the color cylinder.\n"
17669 " s (PLFLT, input) : Saturation expressed as a fraction (0.0-1.0) of\n"
17670 " the radius of the color cylinder.\n"
17672 " p_r (PLFLT_NC_SCALAR, output) : Returned value of the red intensity\n"
17673 " (0.0-1.0) of the color.\n"
17675 " p_g (PLFLT_NC_SCALAR, output) : Returned value of the green\n"
17676 " intensity (0.0-1.0) of the color.\n"
17678 " p_b (PLFLT_NC_SCALAR, output) : Returned value of the blue\n"
17679 " intensity (0.0-1.0) of the color.\n"
17682 { (
char *)
"plinit",
_wrap_plinit, METH_VARARGS, (
char *)
"\n"
17683 "Initialize PLplot\n"
17687 " Initializing the plotting package. The program prompts for the device\n"
17688 " keyword or number of the desired output device. Hitting a RETURN in\n"
17689 " response to the prompt is the same as selecting the first device.\n"
17690 " plinit will issue no prompt if either the device was specified\n"
17691 " previously (via command line flag, the plsetopt function, or the\n"
17692 " plsdev function), or if only one device is enabled when PLplot is\n"
17693 " installed. If subpages have been specified, the output device is\n"
17694 " divided into nx by ny subpages, each of which may be used\n"
17695 " independently. If plinit is called again during a program, the\n"
17696 " previously opened file will be closed. The subroutine pladv is used\n"
17697 " to advance from one subpage to the next.\n"
17699 " Redacted form: plinit()\n"
17701 " This function is used in all of the examples.\n"
17710 { (
char *)
"pljoin",
_wrap_pljoin, METH_VARARGS, (
char *)
"\n"
17711 "Draw a line between two points\n"
17715 " Joins the point (\n"
17721 " Redacted form: pljoin(x1,y1,x2,y2)\n"
17723 " This function is used in examples 3 and 14.\n"
17729 "pljoin(x1, y1, x2, y2)\n"
17733 " x1 (PLFLT, input) : x coordinate of first point.\n"
17735 " y1 (PLFLT, input) : y coordinate of first point.\n"
17737 " x2 (PLFLT, input) : x coordinate of second point.\n"
17739 " y2 (PLFLT, input) : y coordinate of second point.\n"
17742 { (
char *)
"pllab",
_wrap_pllab, METH_VARARGS, (
char *)
"\n"
17743 "Simple routine to write labels\n"
17747 " Routine for writing simple labels. Use plmtex for more complex labels.\n"
17749 " Redacted form: pllab(xlabel, ylabel, tlabel)\n"
17751 " This function is used in examples 1, 5, 9, 12, 14-16, 20-22, and 29.\n"
17757 "pllab(xlabel, ylabel, tlabel)\n"
17761 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
17762 " the label for the x axis.\n"
17764 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
17765 " the label for the y axis.\n"
17767 " tlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
17768 " the title of the plot.\n"
17771 { (
char *)
"pllegend",
_wrap_pllegend, METH_VARARGS, (
char *)
"\n"
17772 "Plot legend using discretely annotated filled boxes, lines, and/or lines of symbols\n"
17776 " Routine for creating a discrete plot legend with a plotted filled box,\n"
17777 " line, and/or line of symbols for each annotated legend entry. (See\n"
17778 " plcolorbar for similar functionality for creating continuous color\n"
17779 " bars.) The arguments of pllegend provide control over the location\n"
17780 " and size of the legend as well as the location and characteristics of\n"
17781 " the elements (most of which are optional) within that legend. The\n"
17782 " resulting legend is clipped at the boundaries of the current subpage.\n"
17783 " (N.B. the adopted coordinate system used for some of the parameters is\n"
17784 " defined in the documentation of the position parameter.)\n"
17786 " Redacted form: pllegend(p_legend_width, p_legend_height, opt,\n"
17787 " position, x, y, plot_width, bg_color, bb_color, bb_style, nrow,\n"
17788 " ncolumn, opt_array, text_offset, text_scale, text_spacing,\n"
17789 " test_justification, text_colors, text, box_colors, box_patterns,\n"
17790 " box_scales, box_line_widths, line_colors, line_styles, line_widths,\n"
17791 " symbol_colors, symbol_scales, symbol_numbers, symbols)\n"
17793 " This function is used in examples 4, 26, and 33.\n"
17799 "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"
17803 " p_legend_width (PLFLT_NC_SCALAR, output) : Returned value of the\n"
17804 " legend width in adopted coordinates. This quantity is calculated\n"
17805 " from plot_width, text_offset, ncolumn (possibly modified inside\n"
17806 " the routine depending on nlegend and nrow), and the length\n"
17807 " (calculated internally) of the longest text string.\n"
17809 " p_legend_height (PLFLT_NC_SCALAR, output) : Returned value of the\n"
17810 " legend height in adopted coordinates. This quantity is calculated\n"
17811 " from text_scale, text_spacing, and nrow (possibly modified inside\n"
17812 " the routine depending on nlegend and nrow).\n"
17814 " opt (PLINT, input) : opt contains bits controlling the overall\n"
17815 " legend. If the PL_LEGEND_TEXT_LEFT bit is set, put the text area\n"
17816 " on the left of the legend and the plotted area on the right.\n"
17817 " Otherwise, put the text area on the right of the legend and the\n"
17818 " plotted area on the left. If the PL_LEGEND_BACKGROUND bit is set,\n"
17819 " plot a (semitransparent) background for the legend. If the\n"
17820 " PL_LEGEND_BOUNDING_BOX bit is set, plot a bounding box for the\n"
17821 " legend. If the PL_LEGEND_ROW_MAJOR bit is set and (both of the\n"
17822 " possibly internally transformed) nrow > 1 and ncolumn > 1, then\n"
17823 " plot the resulting array of legend entries in row-major order.\n"
17824 " Otherwise, plot the legend entries in column-major order.\n"
17826 " position (PLINT, input) : position contains bits which control the\n"
17827 " overall position of the legend and the definition of the adopted\n"
17828 " coordinates used for positions just like what is done for the\n"
17829 " position argument for plcolorbar. However, note that the defaults\n"
17830 " for the position bits (see below) are different than the\n"
17831 " plcolorbar case. The combination of the PL_POSITION_LEFT,\n"
17832 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n"
17833 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n"
17834 " the 16 possible standard positions (the 4 corners and centers of\n"
17835 " the 4 sides for both the inside and outside cases) of the legend\n"
17836 " relative to the adopted coordinate system. The corner positions\n"
17837 " are specified by the appropriate combination of two of the\n"
17838 " PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n"
17839 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n"
17840 " value of one of those bits. The adopted coordinates are\n"
17841 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n"
17842 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n"
17843 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n"
17844 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n"
17845 " then use the combination of PL_POSITION_RIGHT and PL_POSITION_TOP.\n"
17846 " If neither of PL_POSITION_INSIDE or PL_POSITION_OUTSIDE is set,\n"
17847 " use PL_POSITION_INSIDE. If neither of PL_POSITION_VIEWPORT or\n"
17848 " PL_POSITION_SUBPAGE is set, use PL_POSITION_VIEWPORT.\n"
17850 " x (PLFLT, input) : X offset of the legend position in adopted\n"
17851 " coordinates from the specified standard position of the legend.\n"
17852 " For positive x, the direction of motion away from the standard\n"
17853 " position is inward/outward from the standard corner positions or\n"
17854 " standard left or right positions if the\n"
17855 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
17856 " For the standard top or bottom positions, the direction of motion\n"
17857 " is toward positive X.\n"
17859 " y (PLFLT, input) : Y offset of the legend position in adopted\n"
17860 " coordinates from the specified standard position of the legend.\n"
17861 " For positive y, the direction of motion away from the standard\n"
17862 " position is inward/outward from the standard corner positions or\n"
17863 " standard top or bottom positions if the\n"
17864 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position. For\n"
17865 " the standard left or right positions, the direction of motion is\n"
17866 " toward positive Y.\n"
17868 " plot_width (PLFLT, input) : Horizontal width in adopted coordinates\n"
17869 " of the plot area (where the colored boxes, lines, and/or lines of\n"
17870 " symbols are drawn) of the legend.\n"
17872 " bg_color (PLINT, input) : The cmap0 color of the background for the\n"
17873 " legend (PL_LEGEND_BACKGROUND).\n"
17875 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n"
17876 " for the legend (PL_LEGEND_BOUNDING_BOX).\n"
17878 " bb_style (PLINT, input) : The pllsty style number for the\n"
17879 " bounding-box line for the legend (PL_LEGEND_BACKGROUND).\n"
17881 " nrow (PLINT, input) : The cmap0 index of the background color for\n"
17882 " the legend (PL_LEGEND_BACKGROUND).\n"
17884 " ncolumn (PLINT, input) : The cmap0 index of the background color\n"
17885 " for the legend (PL_LEGEND_BACKGROUND).\n"
17887 " nlegend (PLINT, input) : Number of legend entries. N.B. The total\n"
17888 " vertical height of the legend in adopted coordinates is calculated\n"
17889 " internally from nlegend, text_scale (see below), and text_spacing\n"
17892 " opt_array (PLINT_VECTOR, input) : A vector of\n"
17893 " nlegend values of options to control each individual plotted area\n"
17894 " corresponding to a legend entry. If the\n"
17895 " PL_LEGEND_NONE bit is set, then nothing is plotted in the plotted\n"
17897 " PL_LEGEND_COLOR_BOX,\n"
17898 " PL_LEGEND_LINE, and/or\n"
17899 " PL_LEGEND_SYMBOL bits are set, the area corresponding to a legend\n"
17900 " entry is plotted with a colored box; a line; and/or a line of\n"
17903 " text_offset (PLFLT, input) : Offset of the text area from the plot\n"
17904 " area in units of character width. N.B. The total horizontal\n"
17905 " width of the legend in adopted coordinates is calculated\n"
17906 " internally from\n"
17907 " plot_width (see above),\n"
17908 " text_offset, and length (calculated internally) of the longest text\n"
17911 " text_scale (PLFLT, input) : Character height scale for text\n"
17912 " annotations. N.B. The total vertical height of the legend in\n"
17913 " adopted coordinates is calculated internally from\n"
17914 " nlegend (see above),\n"
17915 " text_scale, and\n"
17916 " text_spacing (see below).\n"
17918 " text_spacing (PLFLT, input) : Vertical spacing in units of the\n"
17919 " character height from one legend entry to the next. N.B. The\n"
17920 " total vertical height of the legend in adopted coordinates is\n"
17921 " calculated internally from\n"
17922 " nlegend (see above),\n"
17923 " text_scale (see above), and\n"
17926 " text_justification (PLFLT, input) : Justification parameter used\n"
17927 " for text justification. The most common values of\n"
17928 " text_justification are 0., 0.5, or 1. corresponding to a text that\n"
17929 " is left justified, centred, or right justified within the text\n"
17930 " area, but other values are allowed as well.\n"
17932 " text_colors (PLINT_VECTOR, input) : A vector containing\n"
17933 " nlegend cmap0 text colors.\n"
17935 " text (PLCHAR_MATRIX, input) : A vector of\n"
17936 " nlegend UTF-8 character strings containing the legend annotations.\n"
17938 " box_colors (PLINT_VECTOR, input) : A vector containing\n"
17939 " nlegend cmap0 colors for the discrete colored boxes (\n"
17940 " PL_LEGEND_COLOR_BOX).\n"
17942 " box_patterns (PLINT_VECTOR, input) : A vector containing\n"
17943 " nlegend patterns (plpsty indices) for the discrete colored boxes (\n"
17944 " PL_LEGEND_COLOR_BOX).\n"
17946 " box_scales (PLFLT_VECTOR, input) : A vector containing\n"
17947 " nlegend scales (units of fraction of character height) for the height\n"
17948 " of the discrete colored boxes (\n"
17949 " PL_LEGEND_COLOR_BOX).\n"
17951 " box_line_widths (PLFLT_VECTOR, input) : A vector containing\n"
17952 " nlegend line widths for the patterns specified by box_patterns (\n"
17953 " PL_LEGEND_COLOR_BOX).\n"
17955 " line_colors (PLINT_VECTOR, input) : A vector containing\n"
17956 " nlegend cmap0 line colors (\n"
17957 " PL_LEGEND_LINE).\n"
17959 " line_styles (PLINT_VECTOR, input) : A vector containing\n"
17960 " nlegend line styles (plsty indices) (\n"
17961 " PL_LEGEND_LINE).\n"
17963 " line_widths (PLFLT_VECTOR, input) : A vector containing\n"
17964 " nlegend line widths (\n"
17965 " PL_LEGEND_LINE).\n"
17967 " symbol_colors (PLINT_VECTOR, input) : A vector containing\n"
17968 " nlegend cmap0 symbol colors (\n"
17969 " PL_LEGEND_SYMBOL).\n"
17971 " symbol_scales (PLFLT_VECTOR, input) : A vector containing\n"
17972 " nlegend scale values for the symbol height (\n"
17973 " PL_LEGEND_SYMBOL).\n"
17975 " symbol_numbers (PLINT_VECTOR, input) : A vector containing\n"
17976 " nlegend numbers of symbols to be drawn across the width of the plotted\n"
17978 " PL_LEGEND_SYMBOL).\n"
17980 " symbols (PLCHAR_MATRIX, input) : A vector of\n"
17981 " nlegend UTF-8 character strings containing the legend symbols. (\n"
17982 " PL_LEGEND_SYMBOL).\n"
17986 "Plot color bar for image, shade or gradient plots\n"
17990 " Routine for creating a continuous color bar for image, shade, or\n"
17991 " gradient plots. (See pllegend for similar functionality for creating\n"
17992 " legends with discrete elements). The arguments of plcolorbar provide\n"
17993 " control over the location and size of the color bar as well as the\n"
17994 " location and characteristics of the elements (most of which are\n"
17995 " optional) within that color bar. The resulting color bar is clipped\n"
17996 " at the boundaries of the current subpage. (N.B. the adopted coordinate\n"
17997 " system used for some of the parameters is defined in the documentation\n"
17998 " of the position parameter.)\n"
18000 " Redacted form: plcolorbar(p_colorbar_width, p_colorbar_height, opt,\n"
18001 " position, x, y, x_length, y_length, bg_color, bb_color, bb_style,\n"
18002 " low_cap_color, high_cap_color, cont_color, cont_width, label_opts,\n"
18003 " labels, axis_opts, ticks, sub_ticks, values)\n"
18005 " This function is used in examples 16 and 33.\n"
18011 "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"
18015 " p_colorbar_width (PLFLT_NC_SCALAR, output) : Returned value of the\n"
18016 " labelled and decorated color bar width in adopted coordinates.\n"
18018 " p_colorbar_height (PLFLT_NC_SCALAR, output) : Returned value of the\n"
18019 " labelled and decorated color bar height in adopted coordinates.\n"
18021 " opt (PLINT, input) : opt contains bits controlling the overall\n"
18022 " color bar. The orientation (direction of the maximum value) of\n"
18023 " the color bar is specified with PL_ORIENT_RIGHT, PL_ORIENT_TOP,\n"
18024 " PL_ORIENT_LEFT, or PL_ORIENT_BOTTOM. If none of these bits are\n"
18025 " specified, the default orientation is toward the top if the\n"
18026 " colorbar is placed on the left or right of the viewport or toward\n"
18027 " the right if the colorbar is placed on the top or bottom of the\n"
18028 " viewport. If the PL_COLORBAR_BACKGROUND bit is set, plot a\n"
18029 " (semitransparent) background for the color bar. If the\n"
18030 " PL_COLORBAR_BOUNDING_BOX bit is set, plot a bounding box for the\n"
18031 " color bar. The type of color bar must be specified with one of\n"
18032 " PL_COLORBAR_IMAGE, PL_COLORBAR_SHADE, or PL_COLORBAR_GRADIENT. If\n"
18033 " more than one of those bits is set only the first one in the above\n"
18034 " list is honored. The position of the (optional) label/title can be\n"
18035 " specified with PL_LABEL_RIGHT, PL_LABEL_TOP, PL_LABEL_LEFT, or\n"
18036 " PL_LABEL_BOTTOM. If no label position bit is set then no label\n"
18037 " will be drawn. If more than one of this list of bits is specified,\n"
18038 " only the first one on the list is honored. End-caps for the color\n"
18039 " bar can added with PL_COLORBAR_CAP_LOW and PL_COLORBAR_CAP_HIGH.\n"
18040 " If a particular color bar cap option is not specified then no cap\n"
18041 " will be drawn for that end. As a special case for\n"
18042 " PL_COLORBAR_SHADE, the option PL_COLORBAR_SHADE_LABEL can be\n"
18043 " specified. If this option is provided then any tick marks and tick\n"
18044 " labels will be placed at the breaks between shaded segments. TODO:\n"
18045 " This should be expanded to support custom placement of tick marks\n"
18046 " and tick labels at custom value locations for any color bar type.\n"
18048 " position (PLINT, input) : position contains bits which control the\n"
18049 " overall position of the color bar and the definition of the\n"
18050 " adopted coordinates used for positions just like what is done for\n"
18051 " the position argument for pllegend. However, note that the\n"
18052 " defaults for the position bits (see below) are different than the\n"
18053 " pllegend case. The combination of the PL_POSITION_LEFT,\n"
18054 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n"
18055 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n"
18056 " the 16 possible standard positions (the 4 corners and centers of\n"
18057 " the 4 sides for both the inside and outside cases) of the color\n"
18058 " bar relative to the adopted coordinate system. The corner\n"
18059 " positions are specified by the appropriate combination of two of\n"
18060 " the PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n"
18061 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n"
18062 " value of one of those bits. The adopted coordinates are\n"
18063 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n"
18064 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n"
18065 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n"
18066 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n"
18067 " then use PL_POSITION_RIGHT. If neither of PL_POSITION_INSIDE or\n"
18068 " PL_POSITION_OUTSIDE is set, use PL_POSITION_OUTSIDE. If neither of\n"
18069 " PL_POSITION_VIEWPORT or PL_POSITION_SUBPAGE is set, use\n"
18070 " PL_POSITION_VIEWPORT.\n"
18072 " x (PLFLT, input) : X offset of the color bar position in adopted\n"
18073 " coordinates from the specified standard position of the color bar.\n"
18074 " For positive x, the direction of motion away from the standard\n"
18075 " position is inward/outward from the standard corner positions or\n"
18076 " standard left or right positions if the\n"
18077 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
18078 " For the standard top or bottom positions, the direction of motion\n"
18079 " is toward positive X.\n"
18081 " y (PLFLT, input) : Y offset of the color bar position in adopted\n"
18082 " coordinates from the specified standard position of the color bar.\n"
18083 " For positive y, the direction of motion away from the standard\n"
18084 " position is inward/outward from the standard corner positions or\n"
18085 " standard top or bottom positions if the\n"
18086 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
18087 " For the standard left or right positions, the direction of motion\n"
18088 " is toward positive Y.\n"
18090 " x_length (PLFLT, input) : Length of the body of the color bar in\n"
18091 " the X direction in adopted coordinates.\n"
18093 " y_length (PLFLT, input) : Length of the body of the color bar in\n"
18094 " the Y direction in adopted coordinates.\n"
18096 " bg_color (PLINT, input) : The cmap0 color of the background for the\n"
18097 " color bar (PL_COLORBAR_BACKGROUND).\n"
18099 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n"
18100 " for the color bar (PL_COLORBAR_BOUNDING_BOX).\n"
18102 " bb_style (PLINT, input) : The pllsty style number for the\n"
18103 " bounding-box line for the color bar (PL_COLORBAR_BACKGROUND).\n"
18105 " low_cap_color (PLFLT, input) : The cmap1 color of the low-end color\n"
18106 " bar cap, if it is drawn (PL_COLORBAR_CAP_LOW).\n"
18108 " high_cap_color (PLFLT, input) : The cmap1 color of the high-end\n"
18109 " color bar cap, if it is drawn (PL_COLORBAR_CAP_HIGH).\n"
18111 " cont_color (PLINT, input) : The cmap0 contour color for\n"
18112 " PL_COLORBAR_SHADE plots. This is passed directly to plshades, so\n"
18113 " it will be interpreted according to the design of plshades.\n"
18115 " cont_width (PLFLT, input) : Contour width for PL_COLORBAR_SHADE\n"
18116 " plots. This is passed directly to plshades, so it will be\n"
18117 " interpreted according to the design of plshades.\n"
18119 " n_labels (PLINT, input) : Number of labels to place around the\n"
18122 " label_opts (PLINT_VECTOR, input) : A vector of options for each of\n"
18123 " n_labels labels.\n"
18125 " labels (PLCHAR_MATRIX, input) : A vector of\n"
18126 " n_labels UTF-8 character strings containing the labels for the color\n"
18127 " bar. Ignored if no label position is specified with one of the\n"
18128 " PL_COLORBAR_LABEL_RIGHT, PL_COLORBAR_LABEL_TOP,\n"
18129 " PL_COLORBAR_LABEL_LEFT, or PL_COLORBAR_LABEL_BOTTOM bits in the\n"
18130 " corresponding label_opts field.\n"
18132 " n_axes (PLINT, input) : Number of axis definitions provided. This\n"
18133 " value must be greater than 0. It is typically 1 (numerical axis\n"
18134 " labels are provided for one of the long edges of the color bar),\n"
18135 " but it can be larger if multiple numerical axis labels for the\n"
18136 " long edges of the color bar are desired.\n"
18138 " axis_opts (PLCHAR_MATRIX, input) : A vector of\n"
18139 " n_axes ascii character strings containing options (interpreted as for\n"
18140 " plbox) for the color bar's axis definitions.\n"
18142 " ticks (PLFLT_VECTOR, input) : A vector of n_axes values of the\n"
18143 " spacing of the major tick marks (interpreted as for plbox) for the\n"
18144 " color bar's axis definitions.\n"
18146 " sub_ticks (PLINT_VECTOR, input) : A vector of n_axes values of the\n"
18147 " number of subticks (interpreted as for plbox) for the color bar's\n"
18148 " axis definitions.\n"
18150 " n_values (PLINT_VECTOR, input) : A vector containing the number of\n"
18151 " elements in each of the n_axes rows of the values matrix.\n"
18153 " values (PLFLT_MATRIX, input) : A matrix containing the numeric\n"
18154 " values for the data range represented by the color bar. For a row\n"
18155 " index of i_axis (where 0 < i_axis < n_axes), the number of\n"
18156 " elements in the row is specified by n_values[i_axis]. For\n"
18157 " PL_COLORBAR_IMAGE and PL_COLORBAR_GRADIENT the number of elements\n"
18158 " is 2, and the corresponding row elements of the values matrix are\n"
18159 " the minimum and maximum value represented by the colorbar. For\n"
18160 " PL_COLORBAR_SHADE, the number and values of the elements of a row\n"
18161 " of the values matrix is interpreted the same as the nlevel and\n"
18162 " clevel arguments of plshades.\n"
18166 "Sets the 3D position of the light source\n"
18170 " Sets the 3D position of the light source for use with plsurf3d and\n"
18173 " Redacted form: pllightsource(x, y, z)\n"
18175 " This function is used in example 8.\n"
18181 "pllightsource(x, y, z)\n"
18185 " x (PLFLT, input) : X-coordinate of the light source.\n"
18187 " y (PLFLT, input) : Y-coordinate of the light source.\n"
18189 " z (PLFLT, input) : Z-coordinate of the light source.\n"
18192 { (
char *)
"plline",
_wrap_plline, METH_VARARGS, (
char *)
"\n"
18197 " Draws line defined by n points in x and y.\n"
18199 " Redacted form: plline(x, y)\n"
18201 " This function is used in examples 1, 3, 4, 9, 12-14, 16, 18, 20, 22,\n"
18202 " 25-27, and 29.\n"
18208 "plline(n, x, y)\n"
18212 " n (PLINT, input) : Number of points defining line.\n"
18214 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
18217 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
18221 { (
char *)
"plline3",
_wrap_plline3, METH_VARARGS, (
char *)
"\n"
18222 "Draw a line in 3 space\n"
18226 " Draws line in 3 space defined by n points in x, y, and z. You must\n"
18227 " first set up the viewport, the 2d viewing window (in world\n"
18228 " coordinates), and the 3d normalized coordinate box. See x18c.c for\n"
18231 " Redacted form: plline3(x, y, z)\n"
18233 " This function is used in example 18.\n"
18239 "plline3(n, x, y, z)\n"
18243 " n (PLINT, input) : Number of points defining line.\n"
18245 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
18248 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
18251 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
18255 { (
char *)
"pllsty",
_wrap_pllsty, METH_VARARGS, (
char *)
"\n"
18256 "Select line style\n"
18260 " This sets the line style according to one of eight predefined patterns\n"
18261 " (also see plstyl).\n"
18263 " Redacted form: pllsty(lin)\n"
18265 " This function is used in examples 9, 12, 22, and 25.\n"
18275 " lin (PLINT, input) : Integer value between 1 and 8. Line style 1 is\n"
18276 " a continuous line, line style 2 is a line with short dashes and\n"
18277 " gaps, line style 3 is a line with long dashes and gaps, line style\n"
18278 " 4 has long dashes and short gaps and so on.\n"
18281 { (
char *)
"plmesh",
_wrap_plmesh, METH_VARARGS, (
char *)
"\n"
18282 "Plot surface mesh\n"
18286 " Plots a surface mesh within the environment set up by plw3d. The\n"
18287 " surface is defined by the matrix z[\n"
18289 " ny] , the point z[i][j] being the value of the function at (\n"
18291 " y[j]). Note that the points in vectors x and y do not need to be\n"
18292 " equally spaced, but must be stored in ascending order. The parameter\n"
18293 " opt controls the way in which the surface is displayed. For further\n"
18294 " details see the PLplot documentation.\n"
18296 " Redacted form: plmesh(x, y, z, opt)\n"
18298 " This function is used in example 11.\n"
18304 "plmesh(x, y, z, nx, ny, opt)\n"
18308 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18309 " which the function is evaluated.\n"
18311 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18312 " which the function is evaluated.\n"
18314 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18315 " plot. Should have dimensions of\n"
18319 " nx (PLINT, input) : Number of x values at which function has been\n"
18322 " ny (PLINT, input) : Number of y values at which function has been\n"
18325 " opt (PLINT, input) : Determines the way in which the surface is\n"
18326 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n"
18327 " function of x for each value of y[j] .\n"
18328 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18329 " for each value of x[i] .\n"
18330 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18331 " at which function is defined.\n"
18334 { (
char *)
"plmeshc",
_wrap_plmeshc, METH_VARARGS, (
char *)
"\n"
18335 "Magnitude colored plot surface mesh with contour\n"
18339 " A more powerful form of plmesh: the surface mesh can be colored\n"
18340 " accordingly to the current z value being plotted, a contour plot can\n"
18341 " be drawn at the base XY plane, and a curtain can be drawn between the\n"
18342 " plotted function border and the base XY plane.\n"
18344 " Redacted form: plmeshc(x, y, z, opt, clevel)\n"
18346 " This function is used in example 11.\n"
18352 "plmeshc(x, y, z, nx, ny, opt, clevel, nlevel)\n"
18356 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18357 " which the function is evaluated.\n"
18359 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18360 " which the function is evaluated.\n"
18362 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18363 " plot. Should have dimensions of\n"
18367 " nx (PLINT, input) : Number of x values at which function is\n"
18370 " ny (PLINT, input) : Number of y values at which function is\n"
18373 " opt (PLINT, input) : Determines the way in which the surface is\n"
18374 " represented. To specify more than one option just add the options,\n"
18375 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
18376 " showing z as a function of x for each value of y[j] .\n"
18377 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18378 " for each value of x[i] .\n"
18379 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18380 " at which function is defined.\n"
18381 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
18382 " the z value being plotted. The color is used from the current\n"
18384 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18385 " using parameters\n"
18388 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18389 " the borders of the plotted function.\n"
18392 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18395 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18398 { (
char *)
"plmkstrm",
_wrap_plmkstrm, METH_VARARGS, (
char *)
"\n"
18399 "Creates a new stream and makes it the default\n"
18403 " Creates a new stream and makes it the default. Differs from using\n"
18404 " plsstrm, in that a free stream number is found, and returned.\n"
18405 " Unfortunately, I have to start at stream 1 and work upward, since\n"
18406 " stream 0 is preallocated. One of the big flaws in the PLplot API is\n"
18407 " that no initial, library-opening call is required. So stream 0 must\n"
18408 " be preallocated, and there is no simple way of determining whether it\n"
18409 " is already in use or not.\n"
18411 " Redacted form: plmkstrm(p_strm)\n"
18413 " This function is used in examples 1 and 20.\n"
18419 "plmkstrm(p_strm)\n"
18423 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the stream\n"
18424 " number of the created stream.\n"
18427 { (
char *)
"plmtex",
_wrap_plmtex, METH_VARARGS, (
char *)
"\n"
18428 "Write text relative to viewport boundaries\n"
18432 " Writes text at a specified position relative to the viewport\n"
18433 " boundaries. Text may be written inside or outside the viewport, but\n"
18434 " is clipped at the subpage boundaries. The reference point of a string\n"
18435 " lies along a line passing through the string at half the height of a\n"
18436 " capital letter. The position of the reference point along this line\n"
18437 " is determined by just, and the position of the reference point\n"
18438 " relative to the viewport is set by disp and pos.\n"
18440 " Redacted form: General: plmtex(side, disp, pos, just, text)\n"
18441 " Perl/PDL: plmtex(disp, pos, just, side, text)\n"
18444 " This function is used in examples 3, 4, 6-8, 11, 12, 14, 18, 23, and\n"
18451 "plmtex(side, disp, pos, just, text)\n"
18455 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
18456 " the side of the viewport along which the text is to be written.\n"
18457 " The string must be one of: b: Bottom of viewport, text written\n"
18458 " parallel to edge.\n"
18459 " bv: Bottom of viewport, text written at right angles to edge.\n"
18460 " l: Left of viewport, text written parallel to edge.\n"
18461 " lv: Left of viewport, text written at right angles to edge.\n"
18462 " r: Right of viewport, text written parallel to edge.\n"
18463 " rv: Right of viewport, text written at right angles to edge.\n"
18464 " t: Top of viewport, text written parallel to edge.\n"
18465 " tv: Top of viewport, text written at right angles to edge.\n"
18468 " disp (PLFLT, input) : Position of the reference point of string,\n"
18469 " measured outwards from the specified viewport edge in units of the\n"
18470 " current character height. Use negative disp to write within the\n"
18473 " pos (PLFLT, input) : Position of the reference point of string\n"
18474 " along the specified edge, expressed as a fraction of the length of\n"
18477 " just (PLFLT, input) : Specifies the position of the string relative\n"
18478 " to its reference point. If just=0. , the reference point is at\n"
18479 " the left and if just=1. , it is at the right of the string. Other\n"
18480 " values of just give intermediate justifications.\n"
18482 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
18486 { (
char *)
"plmtex3",
_wrap_plmtex3, METH_VARARGS, (
char *)
"\n"
18487 "Write text relative to viewport boundaries in 3D plots\n"
18491 " Writes text at a specified position relative to the viewport\n"
18492 " boundaries. Text may be written inside or outside the viewport, but\n"
18493 " is clipped at the subpage boundaries. The reference point of a string\n"
18494 " lies along a line passing through the string at half the height of a\n"
18495 " capital letter. The position of the reference point along this line\n"
18496 " is determined by just, and the position of the reference point\n"
18497 " relative to the viewport is set by disp and pos.\n"
18499 " Redacted form: plmtex3(side, disp, pos, just, text)\n"
18501 " This function is used in example 28.\n"
18507 "plmtex3(side, disp, pos, just, text)\n"
18511 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
18512 " the side of the viewport along which the text is to be written.\n"
18513 " The string should contain one or more of the following characters:\n"
18514 " [xyz][ps][v]. Only one label is drawn at a time, i.e. xyp will\n"
18515 " only label the X axis, not both the X and Y axes. x: Label the X\n"
18517 " y: Label the Y axis.\n"
18518 " z: Label the Z axis.\n"
18519 " p: Label the primary axis. For Z this is the leftmost Z axis.\n"
18520 " For X it is the axis that starts at y-min. For Y it is the\n"
18521 " axis that starts at x-min.\n"
18522 " s: Label the secondary axis.\n"
18523 " v: Draw the text perpendicular to the axis.\n"
18526 " disp (PLFLT, input) : Position of the reference point of string,\n"
18527 " measured outwards from the specified viewport edge in units of the\n"
18528 " current character height. Use negative disp to write within the\n"
18531 " pos (PLFLT, input) : Position of the reference point of string\n"
18532 " along the specified edge, expressed as a fraction of the length of\n"
18535 " just (PLFLT, input) : Specifies the position of the string relative\n"
18536 " to its reference point. If just=0. , the reference point is at\n"
18537 " the left and if just=1. , it is at the right of the string. Other\n"
18538 " values of just give intermediate justifications.\n"
18540 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
18544 { (
char *)
"plot3d",
_wrap_plot3d, METH_VARARGS, (
char *)
"\n"
18545 "Plot 3-d surface plot\n"
18549 " Plots a three-dimensional surface plot within the environment set up\n"
18550 " by plw3d. The surface is defined by the matrix z[\n"
18552 " ny] , the point z[i][j] being the value of the function at (\n"
18554 " y[j]). Note that the points in vectors x and y do not need to be\n"
18555 " equally spaced, but must be stored in ascending order. The parameter\n"
18556 " opt controls the way in which the surface is displayed. For further\n"
18557 " details see the PLplot documentation. The only difference between\n"
18558 " plmesh and plot3d is that plmesh draws the bottom side of the surface,\n"
18559 " while plot3d only draws the surface as viewed from the top.\n"
18561 " Redacted form: plot3d(x, y, z, opt, side)\n"
18563 " This function is used in examples 11 and 21.\n"
18569 "plot3d(x, y, z, nx, ny, opt, side)\n"
18573 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18574 " which the function is evaluated.\n"
18576 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18577 " which the function is evaluated.\n"
18579 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18580 " plot. Should have dimensions of\n"
18584 " nx (PLINT, input) : Number of x values at which function is\n"
18587 " ny (PLINT, input) : Number of y values at which function is\n"
18590 " opt (PLINT, input) : Determines the way in which the surface is\n"
18591 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n"
18592 " function of x for each value of y[j] .\n"
18593 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18594 " for each value of x[i] .\n"
18595 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18596 " at which function is defined.\n"
18599 " side (PLBOOL, input) : Flag to indicate whether or not ``sides''\n"
18600 " should be draw on the figure. If side is true sides are drawn,\n"
18601 " otherwise no sides are drawn.\n"
18604 { (
char *)
"plot3dc",
_wrap_plot3dc, METH_VARARGS, (
char *)
"\n"
18605 "Magnitude colored plot surface with contour\n"
18609 " Aside from dropping the\n"
18610 " side functionality this is a more powerful form of plot3d: the surface\n"
18611 " mesh can be colored accordingly to the current z value being plotted,\n"
18612 " a contour plot can be drawn at the base XY plane, and a curtain can be\n"
18613 " drawn between the plotted function border and the base XY plane. The\n"
18614 " arguments are identical to those of plmeshc. The only difference\n"
18615 " between plmeshc and plot3dc is that plmeshc draws the bottom side of\n"
18616 " the surface, while plot3dc only draws the surface as viewed from the\n"
18619 " Redacted form: General: plot3dc(x, y, z, opt, clevel)\n"
18620 " Perl/PDL: Not available?\n"
18623 " This function is used in example 21.\n"
18629 "plot3dc(x, y, z, nx, ny, opt, clevel, nlevel)\n"
18633 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18634 " which the function is evaluated.\n"
18636 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18637 " which the function is evaluated.\n"
18639 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18640 " plot. Should have dimensions of\n"
18644 " nx (PLINT, input) : Number of x values at which function is\n"
18647 " ny (PLINT, input) : Number of y values at which function is\n"
18650 " opt (PLINT, input) : Determines the way in which the surface is\n"
18651 " represented. To specify more than one option just add the options,\n"
18652 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
18653 " showing z as a function of x for each value of y[j] .\n"
18654 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18655 " for each value of x[i] .\n"
18656 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18657 " at which function is defined.\n"
18658 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
18659 " the z value being plotted. The color is used from the current\n"
18661 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18662 " using parameters\n"
18665 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18666 " the borders of the plotted function.\n"
18669 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18672 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18675 { (
char *)
"plot3dcl",
_wrap_plot3dcl, METH_VARARGS, (
char *)
"\n"
18676 "Magnitude colored plot surface with contour for z[x][y] with y index limits\n"
18680 " When the implementation is completed this variant of plot3dc (see that\n"
18681 " function's documentation for more details) should be suitable for the\n"
18682 " case where the area of the x, y coordinate grid where z is defined can\n"
18683 " be non-rectangular. The implementation is incomplete so the last 4\n"
18684 " parameters of plot3dcl; indexxmin, indexxmax, indexymin, and\n"
18685 " indexymax; are currently ignored and the functionality is otherwise\n"
18686 " identical to that of plot3dc.\n"
18688 " Redacted form: General: plot3dcl(x, y, z, opt, clevel, indexxmin,\n"
18689 " indexymin, indexymax)\n"
18690 " Perl/PDL: Not available?\n"
18693 " This function is not used in any example.\n"
18699 "plot3dcl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n"
18703 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18704 " which the function is evaluated.\n"
18706 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18707 " which the function is evaluated.\n"
18709 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18710 " plot. Should have dimensions of\n"
18714 " nx (PLINT, input) : Number of x values at which the function is\n"
18717 " ny (PLINT, input) : Number of y values at which the function is\n"
18720 " opt (PLINT, input) : Determines the way in which the surface is\n"
18721 " represented. To specify more than one option just add the options,\n"
18722 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
18723 " showing z as a function of x for each value of y[j] .\n"
18724 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18725 " for each value of x[i] .\n"
18726 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18727 " at which function is defined.\n"
18728 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
18729 " the z value being plotted. The color is used from the current\n"
18731 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18732 " using parameters\n"
18735 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18736 " the borders of the plotted function.\n"
18739 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18742 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18744 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n"
18745 " corresponds to the first x index where z is defined.\n"
18747 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n"
18748 " which corresponds (by convention) to one more than the last x\n"
18749 " index value where z is defined.\n"
18751 " indexymin (PLINT_VECTOR, input) : A vector containing y index\n"
18752 " values which all must be ≥ 0. These values are the first y index\n"
18753 " where z is defined for a particular x index in the range from\n"
18754 " indexxmin to indexxmax - 1. The dimension of indexymin is\n"
18757 " indexymax (PLINT_VECTOR, input) : A vector containing y index\n"
18758 " values which all must be ≤ ny. These values correspond (by\n"
18759 " convention) to one more than the last y index where z is defined\n"
18760 " for a particular x index in the range from indexxmin to indexxmax\n"
18761 " - 1. The dimension of indexymax is indexxmax.\n"
18764 { (
char *)
"plsurf3d",
_wrap_plsurf3d, METH_VARARGS, (
char *)
"\n"
18765 "Plot shaded 3-d surface plot\n"
18769 " Plots a three-dimensional shaded surface plot within the environment\n"
18770 " set up by plw3d. The surface is defined by the two-dimensional matrix\n"
18773 " ny], the point z[i][j] being the value of the function at (\n"
18775 " y[j]). Note that the points in vectors x and y do not need to be\n"
18776 " equally spaced, but must be stored in ascending order. For further\n"
18777 " details see the PLplot documentation.\n"
18779 " Redacted form: plsurf3d(x, y, z, opt, clevel)\n"
18781 " This function is not used in any examples.\n"
18787 "plsurf3d(x, y, z, nx, ny, opt, clevel, nlevel)\n"
18791 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18792 " which the function is evaluated.\n"
18794 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18795 " which the function is evaluated.\n"
18797 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18798 " plot. Should have dimensions of\n"
18802 " nx (PLINT, input) : Number of x values at which function is\n"
18805 " ny (PLINT, input) : Number of y values at which function is\n"
18808 " opt (PLINT, input) : Determines the way in which the surface is\n"
18809 " represented. To specify more than one option just add the options,\n"
18810 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n"
18811 " connecting points at which function is defined.\n"
18812 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18813 " using parameters\n"
18816 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n"
18817 " using parameters\n"
18820 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18821 " the borders of the plotted function.\n"
18822 " opt=MAG_COLOR : the surface is colored according to the value\n"
18823 " of Z; if MAG_COLOR is not used, then the surface is colored\n"
18824 " according to the intensity of the reflected light in the\n"
18825 " surface from a light source whose position is set using\n"
18826 " pllightsource.\n"
18829 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18832 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18836 "Plot shaded 3-d surface plot for z[x][y] with y index limits\n"
18840 " This variant of plsurf3d (see that function's documentation for more\n"
18841 " details) should be suitable for the case where the area of the x, y\n"
18842 " coordinate grid where z is defined can be non-rectangular. The limits\n"
18843 " of that grid are provided by the parameters indexxmin, indexxmax,\n"
18844 " indexymin, and indexymax.\n"
18846 " Redacted form: plsurf3dl(x, y, z, opt, clevel, indexxmin, indexymin,\n"
18849 " This function is used in example 8.\n"
18855 "plsurf3dl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n"
18859 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18860 " which the function is evaluated.\n"
18862 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18863 " which the function is evaluated.\n"
18865 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18866 " plot. Should have dimensions of\n"
18870 " nx (PLINT, input) : Number of x values at which function is\n"
18873 " ny (PLINT, input) : Number of y values at which function is\n"
18876 " opt (PLINT, input) : Determines the way in which the surface is\n"
18877 " represented. To specify more than one option just add the options,\n"
18878 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n"
18879 " connecting points at which function is defined.\n"
18880 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18881 " using parameters\n"
18884 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n"
18885 " using parameters\n"
18888 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18889 " the borders of the plotted function.\n"
18890 " opt=MAG_COLOR : the surface is colored according to the value\n"
18891 " of Z; if MAG_COLOR is not used, then the surface is colored\n"
18892 " according to the intensity of the reflected light in the\n"
18893 " surface from a light source whose position is set using\n"
18894 " pllightsource.\n"
18897 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18900 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18902 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n"
18903 " corresponds to the first x index where z is defined.\n"
18905 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n"
18906 " which corresponds (by convention) to one more than the last x\n"
18907 " index value where z is defined.\n"
18909 " indexymin (PLINT_VECTOR, input) : A vector containing the y index\n"
18910 " values which all must be ≥ 0. These values are the first y index\n"
18911 " where z is defined for a particular x index in the range from\n"
18912 " indexxmin to indexxmax - 1. The dimension of indexymin is\n"
18915 " indexymax (PLINT_VECTOR, input) : A vector containing the y index\n"
18916 " values which all must be ≤ ny. These values correspond (by\n"
18917 " convention) to one more than the last y index where z is defined\n"
18918 " for a particular x index in the range from indexxmin to indexxmax\n"
18919 " - 1. The dimension of indexymax is indexxmax.\n"
18923 "Parse command-line arguments\n"
18927 " Parse command-line arguments.\n"
18929 " plparseopts removes all recognized flags (decreasing argc\n"
18930 " accordingly), so that invalid input may be readily detected. It can\n"
18931 " also be used to process user command line flags. The user can merge\n"
18932 " an option table of type PLOptionTable into the internal option table\n"
18933 " info structure using plMergeOpts. Or, the user can specify that ONLY\n"
18934 " the external table(s) be parsed by calling plClearOpts before\n"
18937 " The default action taken by plparseopts is as follows:\n"
18938 " Returns with an error if an unrecognized option or badly formed\n"
18939 " option-value pair are encountered.\n"
18940 " Returns immediately (return code 0) when the first non-option command\n"
18941 " line argument is found.\n"
18942 " Returns with the return code of the option handler, if one was called.\n"
18944 " Deletes command line arguments from argv list as they are found, and\n"
18945 " decrements argc accordingly.\n"
18946 " Does not show \"invisible\" options in usage or help messages.\n"
18947 " Assumes the program name is contained in argv[0].\n"
18949 " These behaviors may be controlled through the\n"
18950 " mode argument.\n"
18952 " Redacted form: General: plparseopts(argv, mode)\n"
18953 " Perl/PDL: Not available?\n"
18956 " This function is used in all of the examples.\n"
18962 "PLINT plparseopts(p_argc, argv, mode)\n"
18966 " p_argc (int *, input/output) : Number of arguments.\n"
18968 " argv (PLCHAR_NC_MATRIX, input/output) : A vector of character\n"
18969 " strings containing *p_argc command-line arguments.\n"
18971 " mode (PLINT, input) : Parsing mode with the following\n"
18972 " possibilities: PL_PARSE_FULL (1) -- Full parsing of command line\n"
18973 " and all error messages enabled, including program exit when an\n"
18974 " error occurs. Anything on the command line that isn't recognized\n"
18975 " as a valid option or option argument is flagged as an error.\n"
18976 " PL_PARSE_QUIET (2) -- Turns off all output except in the case\n"
18978 " PL_PARSE_NODELETE (4) -- Turns off deletion of processed\n"
18980 " PL_PARSE_SHOWALL (8) -- Show invisible options\n"
18981 " PL_PARSE_NOPROGRAM (32) -- Specified if argv[0] is NOT a\n"
18982 " pointer to the program name.\n"
18983 " PL_PARSE_NODASH (64) -- Set if leading dash is NOT required.\n"
18984 " PL_PARSE_SKIP (128) -- Set to quietly skip over any\n"
18985 " unrecognized arguments.\n"
18988 { (
char *)
"plpat",
_wrap_plpat, METH_VARARGS, (
char *)
"\n"
18989 "Set area line fill pattern\n"
18993 " Sets the area line fill pattern to be used, e.g., for calls to plfill.\n"
18994 " The pattern consists of 1 or 2 sets of parallel lines with specified\n"
18995 " inclinations and spacings. The arguments to this routine are the\n"
18996 " number of sets to use (1 or 2) followed by two vectors (with 1 or 2\n"
18997 " elements) specifying the inclinations in tenths of a degree and the\n"
18998 " spacing in micrometers. (See also plpsty)\n"
19000 " Redacted form: General: plpat(inc, del)\n"
19001 " Perl/PDL: plpat(nlin, inc, del)\n"
19004 " This function is used in example 15.\n"
19010 "plpat(nlin, inc, del)\n"
19014 " nlin (PLINT, input) : Number of sets of lines making up the\n"
19015 " pattern, either 1 or 2.\n"
19017 " inc (PLINT_VECTOR, input) : A vector containing nlin values of the\n"
19018 " inclination in tenths of a degree. (Should be between -900 and\n"
19021 " del (PLINT_VECTOR, input) : A vector containing nlin values of the\n"
19022 " spacing in micrometers between the lines making up the pattern.\n"
19025 { (
char *)
"plpath",
_wrap_plpath, METH_VARARGS, (
char *)
"\n"
19026 "Draw a line between two points, accounting for coordinate transforms\n"
19030 " Joins the point (\n"
19034 " y2) . If a global coordinate transform is defined then the line is\n"
19035 " broken in to n segments to approximate the path. If no transform is\n"
19036 " defined then this simply acts like a call to pljoin.\n"
19038 " Redacted form: plpath(n,x1,y1,x2,y2)\n"
19040 " This function is used in example 22.\n"
19046 "plpath(n, x1, y1, x2, y2)\n"
19050 " n (PLINT, input) : number of points to use to approximate the path.\n"
19052 " x1 (PLFLT, input) : x coordinate of first point.\n"
19054 " y1 (PLFLT, input) : y coordinate of first point.\n"
19056 " x2 (PLFLT, input) : x coordinate of second point.\n"
19058 " y2 (PLFLT, input) : y coordinate of second point.\n"
19061 { (
char *)
"plpoin",
_wrap_plpoin, METH_VARARGS, (
char *)
"\n"
19062 "Plot a glyph at the specified points\n"
19066 " Plot a glyph at the specified points. (This function is largely\n"
19067 " superseded by plstring which gives access to many[!] more glyphs.)\n"
19068 " code=-1 means try to just draw a point. Right now it's just a move\n"
19069 " and a draw at the same place. Not ideal, since a sufficiently\n"
19070 " intelligent output device may optimize it away, or there may be faster\n"
19071 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n"
19072 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n"
19073 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n"
19074 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n"
19075 " code <= 127 the corresponding printable ASCII character is plotted.\n"
19077 " Redacted form: plpoin(x, y, code)\n"
19079 " This function is used in examples 1, 6, 14, and 29.\n"
19085 "plpoin(n, x, y, code)\n"
19089 " n (PLINT, input) : Number of points in the x and y vectors.\n"
19091 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
19094 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
19097 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n"
19098 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n"
19099 " each of the n points.\n"
19102 { (
char *)
"plpoin3",
_wrap_plpoin3, METH_VARARGS, (
char *)
"\n"
19103 "Plot a glyph at the specified 3D points\n"
19107 " Plot a glyph at the specified 3D points. (This function is largely\n"
19108 " superseded by plstring3 which gives access to many[!] more glyphs.)\n"
19109 " Set up the call to this function similar to what is done for plline3.\n"
19110 " code=-1 means try to just draw a point. Right now it's just a move\n"
19111 " and a draw at the same place. Not ideal, since a sufficiently\n"
19112 " intelligent output device may optimize it away, or there may be faster\n"
19113 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n"
19114 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n"
19115 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n"
19116 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n"
19117 " code <= 127 the corresponding printable ASCII character is plotted.\n"
19119 " Redacted form: plpoin3(x, y, z, code)\n"
19121 " This function is not used in any example.\n"
19127 "plpoin3(n, x, y, z, code)\n"
19131 " n (PLINT, input) : Number of points in the x and y vectors.\n"
19133 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
19136 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
19139 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
19142 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n"
19143 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n"
19144 " each of the n points.\n"
19147 { (
char *)
"plpoly3",
_wrap_plpoly3, METH_VARARGS, (
char *)
"\n"
19148 "Draw a polygon in 3 space\n"
19152 " Draws a polygon in 3 space defined by n points in x, y, and z. Setup\n"
19153 " like plline3, but differs from that function in that plpoly3 attempts\n"
19154 " to determine if the polygon is viewable depending on the order of the\n"
19155 " points within the vector and the value of ifcc. If the back of\n"
19156 " polygon is facing the viewer, then it isn't drawn. If this isn't what\n"
19157 " you want, then use plline3 instead.\n"
19159 " The points are assumed to be in a plane, and the directionality of the\n"
19160 " plane is determined from the first three points. Additional points do\n"
19161 " not have to lie on the plane defined by the first three, but if they\n"
19162 " do not, then the determination of visibility obviously can't be 100%\n"
19163 " accurate... So if you're 3 space polygons are too far from planar,\n"
19164 " consider breaking them into smaller polygons. 3 points define a plane\n"
19167 " Bugs: If one of the first two segments is of zero length, or if they\n"
19168 " are co-linear, the calculation of visibility has a 50/50 chance of\n"
19169 " being correct. Avoid such situations :-). See x18c.c for an example\n"
19170 " of this problem. (Search for 20.1).\n"
19172 " Redacted form: plpoly3(x, y, z, code)\n"
19174 " This function is used in example 18.\n"
19180 "plpoly3(n, x, y, z, draw, ifcc)\n"
19184 " n (PLINT, input) : Number of points defining line.\n"
19186 " x (PLFLT_VECTOR, input) : A vector containing\n"
19187 " n x coordinates of points.\n"
19189 " y (PLFLT_VECTOR, input) : A vector containing\n"
19190 " n y coordinates of points.\n"
19192 " z (PLFLT_VECTOR, input) : A vector containing\n"
19193 " n z coordinates of points.\n"
19195 " draw (PLBOOL_VECTOR, input) : A vector containing\n"
19196 " n-1 Boolean values which control drawing the segments of the polygon.\n"
19197 " If draw[i] is true, then the polygon segment from index [i] to\n"
19198 " [i+1] is drawn, otherwise, not.\n"
19200 " ifcc (PLBOOL, input) : If ifcc is true the directionality of the\n"
19201 " polygon is determined by assuming the points are laid out in a\n"
19202 " counter-clockwise order. Otherwise, the directionality of the\n"
19203 " polygon is determined by assuming the points are laid out in a\n"
19204 " clockwise order.\n"
19207 { (
char *)
"plprec",
_wrap_plprec, METH_VARARGS, (
char *)
"\n"
19208 "Set precision in numeric labels\n"
19212 " Sets the number of places after the decimal point in numeric labels.\n"
19214 " Redacted form: plprec(setp, prec)\n"
19216 " This function is used in example 29.\n"
19222 "plprec(setp, prec)\n"
19226 " setp (PLINT, input) : If setp is equal to 0 then PLplot\n"
19227 " automatically determines the number of places to use after the\n"
19228 " decimal point in numeric labels (like those used to label axes).\n"
19229 " If setp is 1 then prec sets the number of places.\n"
19231 " prec (PLINT, input) : The number of characters to draw after the\n"
19232 " decimal point in numeric labels.\n"
19235 { (
char *)
"plpsty",
_wrap_plpsty, METH_VARARGS, (
char *)
"\n"
19236 "Select area fill pattern\n"
19241 " patt is zero or less use either a hardware solid fill if the drivers\n"
19242 " have that capability (virtually all do) or fall back to a software\n"
19243 " emulation of a solid fill using the eighth area line fill pattern. If\n"
19245 " patt <= 8, then select one of eight predefined area line fill patterns\n"
19246 " to use (see plpat if you desire other patterns).\n"
19248 " Redacted form: plpsty(patt)\n"
19250 " This function is used in examples 12, 13, 15, 16, and 25.\n"
19260 " patt (PLINT, input) : The desired pattern index. If\n"
19261 " patt is zero or less, then a solid fill is (normally, see qualifiers\n"
19262 " above) used. For\n"
19263 " patt in the range from 1 to 8 and assuming the driver has not supplied\n"
19264 " line fill capability itself (most deliberately do not so that line\n"
19265 " fill patterns look identical for those drivers), the patterns\n"
19266 " consist of (1) horizontal lines, (2) vertical lines, (3) lines at\n"
19267 " 45 degrees, (4) lines at -45 degrees, (5) lines at 30 degrees, (6)\n"
19268 " lines at -30 degrees, (7) both vertical and horizontal lines, and\n"
19269 " (8) lines at both 45 degrees and -45 degrees.\n"
19272 { (
char *)
"plptex",
_wrap_plptex, METH_VARARGS, (
char *)
"\n"
19273 "Write text inside the viewport\n"
19277 " Writes text at a specified position and inclination within the\n"
19278 " viewport. Text is clipped at the viewport boundaries. The reference\n"
19279 " point of a string lies along a line passing through the string at half\n"
19280 " the height of a capital letter. The position of the reference point\n"
19281 " along this line is determined by just, the reference point is placed\n"
19282 " at world coordinates (\n"
19284 " y) within the viewport. The inclination of the string is specified\n"
19285 " in terms of differences of world coordinates making it easy to write\n"
19286 " text parallel to a line in a graph.\n"
19288 " Redacted form: plptex(x, y, dx, dy, just, text)\n"
19290 " This function is used in example 2-4,10,12-14,20,23,24,26.\n"
19296 "plptex(x, y, dx, dy, just, text)\n"
19300 " x (PLFLT, input) : x coordinate of reference point of string.\n"
19302 " y (PLFLT, input) : y coordinate of reference point of string.\n"
19304 " dx (PLFLT, input) : Together with dy, this specifies the\n"
19305 " inclination of the string. The baseline of the string is parallel\n"
19306 " to a line joining (\n"
19314 " dy (PLFLT, input) : Together with dx, this specifies the\n"
19315 " inclination of the string.\n"
19317 " just (PLFLT, input) : Specifies the position of the string relative\n"
19318 " to its reference point. If just=0. , the reference point is at\n"
19319 " the left and if just=1. , it is at the right of the string. Other\n"
19320 " values of just give intermediate justifications.\n"
19322 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
19326 { (
char *)
"plptex3",
_wrap_plptex3, METH_VARARGS, (
char *)
"\n"
19327 "Write text inside the viewport of a 3D plot\n"
19331 " Writes text at a specified position and inclination and with a\n"
19332 " specified shear within the viewport. Text is clipped at the viewport\n"
19333 " boundaries. The reference point of a string lies along a line passing\n"
19334 " through the string at half the height of a capital letter. The\n"
19335 " position of the reference point along this line is determined by just,\n"
19336 " and the reference point is placed at world coordinates (\n"
19339 " wz) within the viewport. The inclination and shear of the string is\n"
19340 " specified in terms of differences of world coordinates making it easy\n"
19341 " to write text parallel to a line in a graph.\n"
19343 " Redacted form: plptex3(x, y, z, dx, dy, dz, sx, sy, sz, just, text)\n"
19345 " This function is used in example 28.\n"
19351 "plptex3(wx, wy, wz, dx, dy, dz, sx, sy, sz, just, text)\n"
19355 " wx (PLFLT, input) : x world coordinate of reference point of\n"
19358 " wy (PLFLT, input) : y world coordinate of reference point of\n"
19361 " wz (PLFLT, input) : z world coordinate of reference point of\n"
19364 " dx (PLFLT, input) : Together with dy and\n"
19365 " dz , this specifies the inclination of the string. The baseline of\n"
19366 " the string is parallel to a line joining (\n"
19377 " dy (PLFLT, input) : Together with dx and\n"
19378 " dz, this specifies the inclination of the string.\n"
19380 " dz (PLFLT, input) : Together with dx and\n"
19381 " dy, this specifies the inclination of the string.\n"
19383 " sx (PLFLT, input) : Together with sy and\n"
19384 " sz , this specifies the shear of the string. The string is sheared so\n"
19385 " that the characters are vertically parallel to a line joining (\n"
19396 " sz = 0.) then the text is not sheared.\n"
19398 " sy (PLFLT, input) : Together with sx and\n"
19399 " sz, this specifies shear of the string.\n"
19401 " sz (PLFLT, input) : Together with sx and\n"
19402 " sy, this specifies shear of the string.\n"
19404 " just (PLFLT, input) : Specifies the position of the string relative\n"
19405 " to its reference point. If just=0. , the reference point is at\n"
19406 " the left and if just=1. , it is at the right of the string. Other\n"
19407 " values of just give intermediate justifications.\n"
19409 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
19413 { (
char *)
"plrandd",
_wrap_plrandd, METH_VARARGS, (
char *)
"\n"
19414 "Random number generator returning a real random number in the range [0,1]\n"
19418 " Random number generator returning a real random number in the range\n"
19419 " [0,1]. The generator is based on the Mersenne Twister. Most languages\n"
19420 " / compilers provide their own random number generator, and so this is\n"
19421 " provided purely for convenience and to give a consistent random number\n"
19422 " generator across all languages supported by PLplot. This is\n"
19423 " particularly useful for comparing results from the test suite of\n"
19426 " Redacted form: plrandd()\n"
19428 " This function is used in examples 17 and 21.\n"
19437 { (
char *)
"plreplot",
_wrap_plreplot, METH_VARARGS, (
char *)
"\n"
19438 "Replays contents of plot buffer to current device/file\n"
19442 " Replays contents of plot buffer to current device/file.\n"
19444 " Redacted form: plreplot()\n"
19446 " This function is used in example 1,20.\n"
19455 { (
char *)
"plrgbhls",
_wrap_plrgbhls, METH_VARARGS, (
char *)
"\n"
19456 "Convert RGB color to HLS\n"
19460 " Convert RGB color coordinates to HLS\n"
19462 " Redacted form: General: plrgbhls(r, g, b, p_h, p_l, p_s)\n"
19463 " Perl/PDL: Not available? Implemented as plrgb/plrgb1?\n"
19466 " This function is used in example 2.\n"
19472 "plrgbhls(r, g, b, p_h, p_l, p_s)\n"
19476 " r (PLFLT, input) : Red intensity (0.0-1.0) of the color.\n"
19478 " g (PLFLT, input) : Green intensity (0.0-1.0) of the color.\n"
19480 " b (PLFLT, input) : Blue intensity (0.0-1.0) of the color.\n"
19482 " p_h (PLFLT_NC_SCALAR, output) : Returned value of the hue in\n"
19483 " degrees (0.0-360.0) on the color cylinder.\n"
19485 " p_l (PLFLT_NC_SCALAR, output) : Returned value of the lightness\n"
19486 " expressed as a fraction (0.0-1.0) of the axis of the color\n"
19489 " p_s (PLFLT_NC_SCALAR, output) : Returned value of the saturation\n"
19490 " expressed as a fraction (0.0-1.0) of the radius of the color\n"
19494 { (
char *)
"plschr",
_wrap_plschr, METH_VARARGS, (
char *)
"\n"
19495 "Set character size\n"
19499 " This sets up the size of all subsequent characters drawn. The actual\n"
19500 " height of a character is the product of the default character size and\n"
19501 " a scaling factor.\n"
19503 " Redacted form: plschr(def, scale)\n"
19505 " This function is used in examples 2, 13, 23, and 24.\n"
19511 "plschr(def, scale)\n"
19515 " def (PLFLT, input) : The default height of a character in\n"
19516 " millimeters, should be set to zero if the default height is to\n"
19517 " remain unchanged. For rasterized drivers the dx and dy values\n"
19518 " specified in plspage are used to convert from mm to pixels (note\n"
19519 " the different unit systems used). This dpi aware scaling is not\n"
19520 " implemented for all drivers yet.\n"
19522 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
19523 " actual character height.\n"
19526 { (
char *)
"plscmap0",
_wrap_plscmap0, METH_VARARGS, (
char *)
"\n"
19527 "Set cmap0 colors by 8-bit RGB values\n"
19531 " Set cmap0 colors using 8-bit RGB values (see the PLplot\n"
19532 " documentation). This sets the entire color map -- only as many colors\n"
19533 " as specified will be allocated.\n"
19535 " Redacted form: plscmap0(r, g, b)\n"
19537 " This function is used in examples 2 and 24.\n"
19543 "plscmap0(r, g, b, ncol0)\n"
19547 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19548 " integers (0-255) representing the degree of red in the color.\n"
19550 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19551 " integers (0-255) representing the degree of green in the color.\n"
19553 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19554 " integers (0-255) representing the degree of blue in the color.\n"
19556 " ncol0 (PLINT, input) : Number of items in the r, g, and b vectors.\n"
19560 "Set cmap0 colors by 8-bit RGB values and PLFLT alpha transparency value\n"
19564 " Set cmap0 colors using 8-bit RGB values (see the PLplot documentation)\n"
19565 " and PLFLT alpha transparency value. This sets the entire color map --\n"
19566 " only as many colors as specified will be allocated.\n"
19568 " Redacted form: plscmap0a(r, g, b, alpha)\n"
19570 " This function is used in examples 30.\n"
19576 "plscmap0a(r, g, b, alpha, ncol0)\n"
19580 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19581 " integers (0-255) representing the degree of red in the color.\n"
19583 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19584 " integers (0-255) representing the degree of green in the color.\n"
19586 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19587 " integers (0-255) representing the degree of blue in the color.\n"
19589 " alpha (PLFLT_VECTOR, input) : A vector containing values (0.0-1.0)\n"
19590 " representing the alpha transparency of the color.\n"
19592 " ncol0 (PLINT, input) : Number of items in the r, g, b, and alpha\n"
19597 "Set number of colors in cmap0\n"
19601 " Set number of colors in cmap0 (see the PLplot documentation). Allocate\n"
19602 " (or reallocate) cmap0, and fill with default values for those colors\n"
19603 " not previously allocated. The first 16 default colors are given in\n"
19604 " the plcol0 documentation. For larger indices the default color is\n"
19607 " The drivers are not guaranteed to support more than 16 colors.\n"
19609 " Redacted form: plscmap0n(ncol0)\n"
19611 " This function is used in examples 15, 16, and 24.\n"
19617 "plscmap0n(ncol0)\n"
19621 " ncol0 (PLINT, input) : Number of colors that will be allocated in\n"
19622 " the cmap0 palette. If this number is zero or less, then the value\n"
19623 " from the previous call to plscmap0n is used and if there is no\n"
19624 " previous call, then a default value is used.\n"
19627 { (
char *)
"plscmap1",
_wrap_plscmap1, METH_VARARGS, (
char *)
"\n"
19628 "Set opaque RGB cmap1 colors values\n"
19632 " Set opaque cmap1 colors (see the PLplot documentation) using RGB\n"
19633 " vector values. This function also sets the number of cmap1 colors.\n"
19634 " N.B. Continuous cmap1 colors are indexed with a floating-point index\n"
19635 " in the range from 0.0-1.0 which is linearly transformed (e.g., by\n"
19636 " plcol1) to an integer index of these RGB vectors in the range from 0\n"
19638 " ncol1-1. So in order for this continuous color model to work\n"
19639 " properly, it is the responsibility of the user of plscmap1 to insure\n"
19640 " that these RGB vectors are continuous functions of their integer\n"
19643 " Redacted form: plscmap1(r, g, b)\n"
19645 " This function is used in example 31.\n"
19651 "plscmap1(r, g, b, ncol1)\n"
19655 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19656 " 8-bit integers in the range from 0-255) the degree of red in the\n"
19657 " color as a continuous function of the integer index of the vector.\n"
19659 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19660 " 8-bit integers in the range from 0-255) the degree of green in the\n"
19661 " color as a continuous function of the integer index of the vector.\n"
19663 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19664 " 8-bit integers in the range from 0-255) the degree of blue in the\n"
19665 " color as a continuous function of the integer index of the vector.\n"
19667 " ncol1 (PLINT, input) : Number of items in the r, g, and b vectors.\n"
19671 "Set semitransparent cmap1 RGBA colors.\n"
19675 " Set semitransparent cmap1 colors (see the PLplot documentation) using\n"
19676 " RGBA vector values. This function also sets the number of cmap1\n"
19677 " colors. N.B. Continuous cmap1 colors are indexed with a\n"
19678 " floating-point index in the range from 0.0-1.0 which is linearly\n"
19679 " transformed (e.g., by plcol1) to an integer index of these RGBA\n"
19680 " vectors in the range from 0 to\n"
19681 " ncol1-1. So in order for this continuous color model to work\n"
19682 " properly, it is the responsibility of the user of plscmap1 to insure\n"
19683 " that these RGBA vectors are continuous functions of their integer\n"
19686 " Redacted form: plscmap1a(r, g, b, alpha)\n"
19688 " This function is used in example 31.\n"
19694 "plscmap1a(r, g, b, alpha, ncol1)\n"
19698 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19699 " 8-bit integers in the range from 0-255) the degree of red in the\n"
19700 " color as a continuous function of the integer index of the vector.\n"
19702 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19703 " 8-bit integers in the range from 0-255) the degree of green in the\n"
19704 " color as a continuous function of the integer index of the vector.\n"
19706 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19707 " 8-bit integers in the range from 0-255) the degree of blue in the\n"
19708 " color as a continuous function of the integer index of the vector.\n"
19710 " alpha (PLFLT_VECTOR, input) : A vector that represents (using PLFLT\n"
19711 " values in the range from 0.0-1.0 where 0.0 corresponds to\n"
19712 " completely transparent and 1.0 corresponds to completely opaque)\n"
19713 " the alpha transparency of the color as a continuous function of\n"
19714 " the integer index of the vector.\n"
19716 " ncol1 (PLINT, input) : Number of items in the r, g, b, and alpha\n"
19721 "Set cmap1 colors using a piece-wise linear relationship\n"
19725 " Set cmap1 colors using a piece-wise linear relationship between the\n"
19726 " cmap1 intensity index (0.0-1.0) and position in HLS or RGB color space\n"
19727 " (see the PLplot documentation). May be called at any time.\n"
19729 " The idea here is to specify a number of control points that define the\n"
19730 " mapping between input cmap1 intensity indices and HLS (or RGB).\n"
19731 " Between these points, linear interpolation is used which gives a\n"
19732 " smooth variation of color with intensity index. Any number of control\n"
19733 " points may be specified, located at arbitrary positions, although\n"
19734 " typically 2 - 4 are enough. Another way of stating this is that we are\n"
19735 " traversing a given number of lines through HLS (or RGB) space as we\n"
19736 " move through cmap1 intensity indices. The control points at the\n"
19737 " minimum and maximum position (0 and 1) must always be specified. By\n"
19738 " adding more control points you can get more variation. One good\n"
19739 " technique for plotting functions that vary about some expected average\n"
19740 " is to use an additional 2 control points in the center (position ~=\n"
19741 " 0.5) that are the same lightness as the background (typically white\n"
19742 " for paper output, black for crt), and same hue as the boundary control\n"
19743 " points. This allows the highs and lows to be very easily\n"
19744 " distinguished.\n"
19746 " Each control point must specify the cmap1 intensity index and the\n"
19747 " associated three coordinates in HLS or RGB space. The first point\n"
19748 " must correspond to position = 0, and the last to position = 1.\n"
19750 " The default behaviour is for the hue to be linearly interpolated\n"
19751 " between the control points. Since the hue lies in the range [0, 360]\n"
19752 " this corresponds to interpolation around the \"front\" of the color\n"
19753 " wheel (red<->green<->blue<->red). If alt_hue_path[i] is true, then an\n"
19754 " alternative interpolation is used between control points i and i+1. If\n"
19755 " hue[i+1]-hue[i] > 0 then interpolation is between hue[i] and hue[i+1]\n"
19756 " - 360, otherwise between hue[i] and hue[i+1] + 360. You can consider\n"
19757 " this as interpolation around the \"back\" or \"reverse\" of the color\n"
19758 " wheel. Specifying alt_hue_path=NULL is equivalent to setting\n"
19759 " alt_hue_path[] = false for every control point.\n"
19761 " Examples of interpolation Huealt_hue_pathcolor scheme[120\n"
19762 " 240]falsegreen-cyan-blue[240 120]falseblue-cyan-green[120\n"
19763 " 240]truegreen-yellow-red-magenta-blue[240\n"
19764 " 120]trueblue-magenta-red-yellow-green\n"
19766 " Bounds on coordinatesRGBR[0, 1]magnitudeRGBG[0, 1]magnitudeRGBB[0,\n"
19767 " 1]magnitudeHLShue[0, 360]degreesHLSlightness[0,\n"
19768 " 1]magnitudeHLSsaturation[0, 1]magnitude\n"
19770 " Redacted form: plscmap1l(itype, intensity, coord1, coord2, coord3,\n"
19773 " This function is used in examples 8, 11, 12, 15, 20, and 21.\n"
19779 "plscmap1l(itype, npts, intensity, coord1, coord2, coord3, alt_hue_path)\n"
19783 " itype (PLBOOL, input) : true: RGB, false: HLS.\n"
19785 " npts (PLINT, input) : number of control points\n"
19787 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n"
19788 " intensity index (0.0-1.0) in ascending order for each control\n"
19791 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n"
19792 " coordinate (H or R) for each control point.\n"
19794 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n"
19795 " coordinate (L or G) for each control point.\n"
19797 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n"
19798 " coordinate (S or B) for each control point.\n"
19800 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n"
19801 " npts - 1 elements) containing the alternative interpolation method\n"
19802 " Boolean value for each control point interval. (alt_hue_path[i]\n"
19803 " refers to the interpolation interval between the i and i + 1\n"
19804 " control points).\n"
19808 "Set cmap1 colors and alpha transparency using a piece-wise linear relationship\n"
19812 " This is a variant of plscmap1l that supports alpha channel\n"
19813 " transparency. It sets cmap1 colors using a piece-wise linear\n"
19814 " relationship between cmap1 intensity index (0.0-1.0) and position in\n"
19815 " HLS or RGB color space (see the PLplot documentation) with alpha\n"
19816 " transparency value (0.0-1.0). It may be called at any time.\n"
19818 " Redacted form: plscmap1la(itype, intensity, coord1, coord2, coord3,\n"
19819 " alpha, alt_hue_path)\n"
19821 " This function is used in example 30.\n"
19827 "plscmap1la(itype, npts, intensity, coord1, coord2, coord3, alpha, alt_hue_path)\n"
19831 " itype (PLBOOL, input) : true: RGB, false: HLS.\n"
19833 " npts (PLINT, input) : number of control points.\n"
19835 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n"
19836 " intensity index (0.0-1.0) in ascending order for each control\n"
19839 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n"
19840 " coordinate (H or R) for each control point.\n"
19842 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n"
19843 " coordinate (L or G) for each control point.\n"
19845 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n"
19846 " coordinate (S or B) for each control point.\n"
19848 " alpha (PLFLT_VECTOR, input) : A vector containing the alpha\n"
19849 " transparency value (0.0-1.0) for each control point.\n"
19851 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n"
19852 " npts - 1 elements) containing the alternative interpolation method\n"
19853 " Boolean value for each control point interval. (alt_hue_path[i]\n"
19854 " refers to the interpolation interval between the i and i + 1\n"
19855 " control points).\n"
19859 "Set number of colors in cmap1\n"
19863 " Set number of colors in cmap1, (re-)allocate cmap1, and set default\n"
19864 " values if this is the first allocation (see the PLplot documentation).\n"
19866 " Redacted form: plscmap1n(ncol1)\n"
19868 " This function is used in examples 8, 11, 20, and 21.\n"
19874 "plscmap1n(ncol1)\n"
19878 " ncol1 (PLINT, input) : Number of colors that will be allocated in\n"
19879 " the cmap1 palette. If this number is zero or less, then the value\n"
19880 " from the previous call to plscmap1n is used and if there is no\n"
19881 " previous call, then a default value is used.\n"
19885 "Set the cmap1 argument range for continuous color plots\n"
19889 " Set the cmap1 argument range for continuous color plots that\n"
19890 " corresponds to the range of data values. The maximum range\n"
19891 " corresponding to the entire cmap1 palette is 0.0-1.0, and the smaller\n"
19892 " the cmap1 argument range that is specified with this routine, the\n"
19893 " smaller the subset of the cmap1 color palette that is used to\n"
19894 " represent the continuous data being plotted. If\n"
19895 " min_color is greater than\n"
19897 " max_color is greater than 1.0 or\n"
19898 " min_color is less than 0.0 then no change is made to the cmap1\n"
19899 " argument range. (Use plgcmap1_range to get the cmap1 argument range.)\n"
19901 " Redacted form: plscmap1_range(min_color, max_color)\n"
19903 " This function is currently used in example 33.\n"
19909 "plscmap1_range(min_color, max_color)\n"
19913 " min_color (PLFLT, input) : The minimum cmap1 argument. If less\n"
19914 " than 0.0, then 0.0 is used instead.\n"
19916 " max_color (PLFLT, input) : The maximum cmap1 argument. If greater\n"
19917 " than 1.0, then 1.0 is used instead.\n"
19921 "Get the cmap1 argument range for continuous color plots\n"
19925 " Get the cmap1 argument range for continuous color plots. (Use\n"
19926 " plscmap1_range to set the cmap1 argument range.)\n"
19928 " Redacted form: plgcmap1_range(min_color, max_color)\n"
19930 " This function is currently not used in any example.\n"
19936 "plgcmap1_range(min_color, max_color)\n"
19940 " min_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n"
19941 " minimum cmap1 argument.\n"
19943 " max_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n"
19944 " maximum cmap1 argument.\n"
19947 { (
char *)
"plscol0",
_wrap_plscol0, METH_VARARGS, (
char *)
"\n"
19948 "Set 8-bit RGB values for given cmap0 color index\n"
19952 " Set 8-bit RGB values for given cmap0 (see the PLplot documentation)\n"
19953 " index. Overwrites the previous color value for the given index and,\n"
19954 " thus, does not result in any additional allocation of space for\n"
19957 " Redacted form: plscol0(icol0, r, g, b)\n"
19959 " This function is used in any example 31.\n"
19965 "plscol0(icol0, r, g, b)\n"
19969 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n"
19970 " number of colors (which is set by default, by plscmap0n, or even\n"
19973 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
19974 " degree of red in the color.\n"
19976 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
19977 " degree of green in the color.\n"
19979 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
19980 " degree of blue in the color.\n"
19983 { (
char *)
"plscol0a",
_wrap_plscol0a, METH_VARARGS, (
char *)
"\n"
19984 "Set 8-bit RGB values and PLFLT alpha transparency value for given cmap0 color index\n"
19988 " Set 8-bit RGB value and PLFLT alpha transparency value for given cmap0\n"
19989 " (see the PLplot documentation) index. Overwrites the previous color\n"
19990 " value for the given index and, thus, does not result in any additional\n"
19991 " allocation of space for colors.\n"
19993 " This function is used in example 30.\n"
19999 "plscol0a(icol0, r, g, b, alpha)\n"
20003 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n"
20004 " number of colors (which is set by default, by plscmap0n, or even\n"
20007 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20008 " degree of red in the color.\n"
20010 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20011 " degree of green in the color.\n"
20013 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20014 " degree of blue in the color.\n"
20016 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n"
20020 { (
char *)
"plscolbg",
_wrap_plscolbg, METH_VARARGS, (
char *)
"\n"
20021 "Set the background color by 8-bit RGB value\n"
20025 " Set the background color (color 0 in cmap0) by 8-bit RGB value (see\n"
20026 " the PLplot documentation).\n"
20028 " Redacted form: plscolbg(r, g, b)\n"
20030 " This function is used in examples 15 and 31.\n"
20036 "plscolbg(r, g, b)\n"
20040 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20041 " degree of red in the color.\n"
20043 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20044 " degree of green in the color.\n"
20046 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20047 " degree of blue in the color.\n"
20051 "Set the background color by 8-bit RGB value and PLFLT alpha transparency value.\n"
20055 " Set the background color (color 0 in cmap0) by 8-bit RGB value and\n"
20056 " PLFLT alpha transparency value (see the PLplot documentation).\n"
20058 " This function is used in example 31.\n"
20064 "plscolbga(r, g, b, alpha)\n"
20068 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20069 " degree of red in the color.\n"
20071 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20072 " degree of green in the color.\n"
20074 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
20075 " degree of blue in the color.\n"
20077 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n"
20081 { (
char *)
"plscolor",
_wrap_plscolor, METH_VARARGS, (
char *)
"\n"
20082 "Used to globally turn color output on/off\n"
20086 " Used to globally turn color output on/off for those drivers/devices\n"
20087 " that support it.\n"
20089 " Redacted form: plscolor(color)\n"
20091 " This function is used in example 31.\n"
20097 "plscolor(color)\n"
20101 " color (PLINT, input) : Color flag (Boolean). If zero, color is\n"
20102 " turned off. If non-zero, color is turned on.\n"
20106 "Set device-compression level\n"
20110 " Set device-compression level. Only used for drivers that provide\n"
20111 " compression. This function, if used, should be invoked before a call\n"
20114 " Redacted form: plscompression(compression)\n"
20116 " This function is used in example 31.\n"
20122 "plscompression(compression)\n"
20126 " compression (PLINT, input) : The desired compression level. This is\n"
20127 " a device-dependent value. Currently only the jpeg and png devices\n"
20128 " use these values. For jpeg value is the jpeg quality which should\n"
20129 " normally be in the range 0-95. Higher values denote higher quality\n"
20130 " and hence larger image sizes. For png values are in the range -1\n"
20131 " to 99. Values of 0-9 are taken as the compression level for zlib.\n"
20132 " A value of -1 denotes the default zlib compression level. Values\n"
20133 " in the range 10-99 are divided by 10 and then used as the zlib\n"
20134 " compression level. Higher compression levels correspond to greater\n"
20135 " compression and small file sizes at the expense of more\n"
20139 { (
char *)
"plsdev",
_wrap_plsdev, METH_VARARGS, (
char *)
"\n"
20140 "Set the device (keyword) name\n"
20144 " Set the device (keyword) name.\n"
20146 " Redacted form: plsdev(devname)\n"
20148 " This function is used in examples 1, 14, and 20.\n"
20154 "plsdev(devname)\n"
20158 " devname (PLCHAR_VECTOR, input) : An ascii character string\n"
20159 " containing the device name keyword of the required output device.\n"
20161 " devname is NULL or if the first character of the string is a ``?'',\n"
20162 " the normal (prompted) start up is used.\n"
20165 { (
char *)
"plsdidev",
_wrap_plsdidev, METH_VARARGS, (
char *)
"\n"
20166 "Set parameters that define current device-space window\n"
20170 " Set relative margin width, aspect ratio, and relative justification\n"
20171 " that define current device-space window. If you want to just use the\n"
20172 " previous value for any of these, just pass in the magic value\n"
20173 " PL_NOTSET. It is unlikely that one should ever need to change the\n"
20174 " aspect ratio but it's in there for completeness. If plsdidev is not\n"
20175 " called the default values of mar, jx, and jy are all 0. aspect is set\n"
20176 " to a device-specific value.\n"
20178 " Redacted form: plsdidev(mar, aspect, jx, jy)\n"
20180 " This function is used in example 31.\n"
20186 "plsdidev(mar, aspect, jx, jy)\n"
20190 " mar (PLFLT, input) : Relative margin width.\n"
20192 " aspect (PLFLT, input) : Aspect ratio.\n"
20194 " jx (PLFLT, input) : Relative justification in x. Value must lie in\n"
20195 " the range -0.5 to 0.5.\n"
20197 " jy (PLFLT, input) : Relative justification in y. Value must lie in\n"
20198 " the range -0.5 to 0.5.\n"
20201 { (
char *)
"plsdimap",
_wrap_plsdimap, METH_VARARGS, (
char *)
"\n"
20202 "Set up transformation from metafile coordinates\n"
20206 " Set up transformation from metafile coordinates. The size of the plot\n"
20207 " is scaled so as to preserve aspect ratio. This isn't intended to be a\n"
20208 " general-purpose facility just yet (not sure why the user would need\n"
20211 " Redacted form: plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm,\n"
20214 " This function is not used in any examples.\n"
20220 "plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm, dimypmm)\n"
20224 " dimxmin (PLINT, input) : NEEDS DOCUMENTATION\n"
20226 " dimxmax (PLINT, input) : NEEDS DOCUMENTATION\n"
20228 " dimymin (PLINT, input) : NEEDS DOCUMENTATION\n"
20230 " dimymax (PLINT, input) : NEEDS DOCUMENTATION\n"
20232 " dimxpmm (PLFLT, input) : NEEDS DOCUMENTATION\n"
20234 " dimypmm (PLFLT, input) : NEEDS DOCUMENTATION\n"
20237 { (
char *)
"plsdiori",
_wrap_plsdiori, METH_VARARGS, (
char *)
"\n"
20238 "Set plot orientation\n"
20242 " Set plot orientation parameter which is multiplied by 90 degrees to\n"
20243 " obtain the angle of rotation. Note, arbitrary rotation parameters\n"
20244 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n"
20245 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n"
20246 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n"
20247 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori is\n"
20248 " not called the default value of rot is 0.\n"
20250 " N.B. aspect ratio is unaffected by calls to plsdiori. So you will\n"
20251 " probably want to change the aspect ratio to a value suitable for the\n"
20252 " plot orientation using a call to plsdidev or the command-line options\n"
20253 " -a or -freeaspect. For more documentation of those options see the\n"
20254 " PLplot documentation. Such command-line options can be set internally\n"
20255 " using plsetopt or set directly using the command line and parsed using\n"
20256 " a call to plparseopts.\n"
20258 " Redacted form: plsdiori(rot)\n"
20260 " This function is not used in any examples.\n"
20270 " rot (PLFLT, input) : Plot orientation parameter.\n"
20273 { (
char *)
"plsdiplt",
_wrap_plsdiplt, METH_VARARGS, (
char *)
"\n"
20274 "Set parameters that define current plot-space window\n"
20278 " Set relative minima and maxima that define the current plot-space\n"
20279 " window. If plsdiplt is not called the default values of xmin, ymin,\n"
20280 " xmax, and ymax are 0., 0., 1., and 1.\n"
20282 " Redacted form: plsdiplt(xmin, ymin, xmax, ymax)\n"
20284 " This function is used in example 31.\n"
20290 "plsdiplt(xmin, ymin, xmax, ymax)\n"
20294 " xmin (PLFLT, input) : Relative minimum in x.\n"
20296 " ymin (PLFLT, input) : Relative minimum in y.\n"
20298 " xmax (PLFLT, input) : Relative maximum in x.\n"
20300 " ymax (PLFLT, input) : Relative maximum in y.\n"
20303 { (
char *)
"plsdiplz",
_wrap_plsdiplz, METH_VARARGS, (
char *)
"\n"
20304 "Set parameters incrementally (zoom mode) that define current plot-space window\n"
20308 " Set relative minima and maxima incrementally (zoom mode) that define\n"
20309 " the current plot-space window. This function has the same effect as\n"
20310 " plsdiplt if that function has not been previously called. Otherwise,\n"
20311 " this function implements zoom mode using the transformation min_used =\n"
20312 " old_min + old_length*min and max_used = old_min + old_length*max for\n"
20313 " each axis. For example, if min = 0.05 and max = 0.95 for each axis,\n"
20314 " repeated calls to plsdiplz will zoom in by 10 per cent for each call.\n"
20316 " Redacted form: plsdiplz(xmin, ymin, xmax, ymax)\n"
20318 " This function is used in example 31.\n"
20324 "plsdiplz(xmin, ymin, xmax, ymax)\n"
20328 " xmin (PLFLT, input) : Relative (incremental) minimum in x.\n"
20330 " ymin (PLFLT, input) : Relative (incremental) minimum in y.\n"
20332 " xmax (PLFLT, input) : Relative (incremental) maximum in x.\n"
20334 " ymax (PLFLT, input) : Relative (incremental) maximum in y.\n"
20337 { (
char *)
"plseed",
_wrap_plseed, METH_VARARGS, (
char *)
"\n"
20338 "Set seed for internal random number generator.\n"
20342 " Set the seed for the internal random number generator. See plrandd for\n"
20343 " further details.\n"
20345 " Redacted form: plseed(seed)\n"
20347 " This function is used in example 21.\n"
20357 " seed (unsigned int, input) : Seed for random number generator.\n"
20360 { (
char *)
"plsesc",
_wrap_plsesc, METH_VARARGS, (
char *)
"\n"
20361 "Set the escape character for text strings\n"
20365 " Set the escape character for text strings. From C (in contrast to\n"
20366 " Fortran, see plsescfortran) you pass esc as a character. Only selected\n"
20367 " characters are allowed to prevent the user from shooting himself in\n"
20368 " the foot (For example, a \\ isn't allowed since it conflicts with C's\n"
20369 " use of backslash as a character escape). Here are the allowed escape\n"
20370 " characters and their corresponding decimal ASCII values: !, ASCII 33\n"
20381 " Redacted form: General: plsesc(esc)\n"
20382 " Perl/PDL: Not available?\n"
20385 " This function is used in example 29.\n"
20395 " esc (char, input) : Escape character.\n"
20398 { (
char *)
"plsetopt",
_wrap_plsetopt, METH_VARARGS, (
char *)
"\n"
20399 "Set any command-line option\n"
20403 " Set any command-line option internally from a program before it\n"
20404 " invokes plinit. opt is the name of the command-line option and optarg\n"
20405 " is the corresponding command-line option argument.\n"
20407 " This function returns 0 on success.\n"
20409 " Redacted form: plsetopt(opt, optarg)\n"
20411 " This function is used in example 14.\n"
20417 "PLINT plsetopt(opt, optarg)\n"
20421 " opt (PLCHAR_VECTOR, input) : An ascii character string containing\n"
20422 " the command-line option.\n"
20424 " optarg (PLCHAR_VECTOR, input) : An ascii character string\n"
20425 " containing the argument of the command-line option.\n"
20428 { (
char *)
"plsfam",
_wrap_plsfam, METH_VARARGS, (
char *)
"\n"
20429 "Set family file parameters\n"
20433 " Sets variables dealing with output file familying. Does nothing if\n"
20434 " familying not supported by the driver. This routine, if used, must be\n"
20435 " called before initializing PLplot. See the PLplot documentation for\n"
20436 " more information.\n"
20438 " Redacted form: plsfam(fam, num, bmax)\n"
20440 " This function is used in examples 14 and 31.\n"
20446 "plsfam(fam, num, bmax)\n"
20450 " fam (PLINT, input) : Family flag (Boolean). If nonzero, familying\n"
20453 " num (PLINT, input) : Current family file number.\n"
20455 " bmax (PLINT, input) : Maximum file size (in bytes) for a family\n"
20459 { (
char *)
"plsfci",
_wrap_plsfci, METH_VARARGS, (
char *)
"\n"
20460 "Set FCI (font characterization integer)\n"
20464 " Sets font characteristics to be used at the start of the next string\n"
20465 " using the FCI approach. See the PLplot documentation for more\n"
20466 " information. Note, plsfont (which calls plsfci internally) provides a\n"
20467 " more user-friendly API for setting the font characterisitics.\n"
20469 " Redacted form: General: plsfci(fci)\n"
20470 " Perl/PDL: Not available?\n"
20473 " This function is used in example 23.\n"
20483 " fci (PLUNICODE, input) : PLUNICODE (unsigned 32-bit integer) value\n"
20487 { (
char *)
"plsfnam",
_wrap_plsfnam, METH_VARARGS, (
char *)
"\n"
20488 "Set output file name\n"
20492 " Sets the current output file name, if applicable. If the file name\n"
20493 " has not been specified and is required by the driver, the user will be\n"
20494 " prompted for it. If using the X-windows output driver, this sets the\n"
20495 " display name. This routine, if used, must be called before\n"
20496 " initializing PLplot.\n"
20498 " Redacted form: plsfnam(fnam)\n"
20500 " This function is used in examples 1 and 20.\n"
20510 " fnam (PLCHAR_VECTOR, input) : An ascii character string containing\n"
20511 " the file name.\n"
20514 { (
char *)
"plsfont",
_wrap_plsfont, METH_VARARGS, (
char *)
"\n"
20515 "Set family, style and weight of the current font\n"
20519 " Sets the current font. See the PLplot documentation for more\n"
20520 " information on font selection.\n"
20522 " Redacted form: plsfont(family, style, weight)\n"
20524 " This function is used in example 23.\n"
20530 "plsfont(family, style, weight)\n"
20534 " family (PLINT, input) : Font family to select for the current font.\n"
20535 " The available values are given by the PL_FCI_* constants in\n"
20536 " plplot.h. Current options are PL_FCI_SANS, PL_FCI_SERIF,\n"
20537 " PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. A negative value\n"
20538 " signifies that the font family should not be altered.\n"
20540 " style (PLINT, input) : Font style to select for the current font.\n"
20541 " The available values are given by the PL_FCI_* constants in\n"
20542 " plplot.h. Current options are PL_FCI_UPRIGHT, PL_FCI_ITALIC and\n"
20543 " PL_FCI_OBLIQUE. A negative value signifies that the font style\n"
20544 " should not be altered.\n"
20546 " weight (PLINT, input) : Font weight to select for the current font.\n"
20547 " The available values are given by the PL_FCI_* constants in\n"
20548 " plplot.h. Current options are PL_FCI_MEDIUM and PL_FCI_BOLD. A\n"
20549 " negative value signifies that the font weight should not be\n"
20553 { (
char *)
"plshades",
_wrap_plshades, METH_VARARGS, (
char *)
"\n"
20554 "Shade regions on the basis of value\n"
20558 " Shade regions on the basis of value. This is the high-level routine\n"
20559 " for making continuous color shaded plots with cmap1 while plshade\n"
20560 " should be used to plot individual shaded regions using either cmap0 or\n"
20561 " cmap1. examples/;<language>/x16* shows how to use plshades for each of\n"
20562 " our supported languages.\n"
20564 " Redacted form: General: plshades(a, defined, xmin, xmax, ymin, ymax,\n"
20565 " clevel, fill_width, cont_color, cont_width, fill, rectangular, pltr,\n"
20567 " Perl/PDL: plshades(a, xmin, xmax, ymin, ymax, clevel,\n"
20568 " fill_width, cont_color, cont_width, fill, rectangular, defined, pltr,\n"
20572 " This function is used in examples 16, 21, and 22.\n"
20578 "plshades(a, nx, ny, defined, xmin, xmax, ymin, ymax, clevel, nlevel, fill_width, cont_color, cont_width, fill, rectangular, pltr, pltr_data)\n"
20582 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n"
20583 " plot. Should have dimensions of\n"
20587 " nx (PLINT, input) : First dimension of matrix \"a\".\n"
20589 " ny (PLINT, input) : Second dimension of matrix \"a\".\n"
20591 " defined (PLDEFINED_callback, input) : Callback function specifying\n"
20592 " the region that should be plotted in the shade plot. This\n"
20593 " function accepts x and y coordinates as input arguments and must\n"
20594 " return 1 if the point is to be included in the shade plot and 0\n"
20595 " otherwise. If you want to plot the entire shade plot (the usual\n"
20596 " case), this argument should be set to NULL.\n"
20598 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
20599 " pltr below for how these arguments are used (only for the special case\n"
20600 " when the callback function\n"
20601 " pltr is not supplied).\n"
20603 " clevel (PLFLT_VECTOR, input) : A vector containing the data levels\n"
20604 " corresponding to the edges of each shaded region that will be\n"
20605 " plotted by this function. To work properly the levels should be\n"
20608 " nlevel (PLINT, input) : Number of shades plus 1 (i.e., the number\n"
20609 " of shade edge values in clevel).\n"
20611 " fill_width (PLFLT, input) : Defines the line width used by the fill\n"
20614 " cont_color (PLINT, input) : Defines cmap0 pen color used for\n"
20615 " contours defining edges of shaded regions. The pen color is only\n"
20616 " temporary set for the contour drawing. Set this value to zero or\n"
20617 " less if no shade edge contours are wanted.\n"
20619 " cont_width (PLFLT, input) : Defines line width used for contours\n"
20620 " defining edges of shaded regions. This value may not be honored\n"
20621 " by all drivers. The pen width is only temporary set for the\n"
20622 " contour drawing. Set this value to zero or less if no shade edge\n"
20623 " contours are wanted.\n"
20625 " fill (PLFILL_callback, input) : Callback routine used to fill the\n"
20626 " region. Use plfill for this purpose.\n"
20628 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n"
20629 " map to rectangles after coordinate transformation with pltrl.\n"
20630 " Otherwise, set rectangular to false. If rectangular is set to\n"
20631 " true, plshade tries to save time by filling large rectangles.\n"
20632 " This optimization fails if the coordinate transformation distorts\n"
20633 " the shape of rectangles. For example a plot in polar coordinates\n"
20634 " has to have rectangular set to false.\n"
20636 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
20637 " defines the transformation between the zero-based indices of the\n"
20638 " matrix a and world coordinates. If\n"
20639 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
20640 " indices of a are mapped to the range\n"
20642 " xmax and the y indices of a are mapped to the range\n"
20644 " ymax.For the C case, transformation functions are provided in the\n"
20645 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
20646 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
20647 " matrices. In addition, C callback routines for the transformation\n"
20648 " can be supplied by the user such as the mypltr function in\n"
20649 " examples/c/x09c.c which provides a general linear transformation\n"
20650 " between index coordinates and world coordinates.For languages\n"
20651 " other than C you should consult the PLplot documentation for the\n"
20652 " details concerning how PLTRANSFORM_callback arguments are\n"
20653 " interfaced. However, in general, a particular pattern of\n"
20654 " callback-associated arguments such as a tr vector with 6 elements;\n"
20655 " xg and yg vectors; or xg and yg matrices are respectively\n"
20656 " interfaced to a linear-transformation routine similar to the above\n"
20657 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
20658 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
20659 " support native language callbacks for handling index to\n"
20660 " world-coordinate transformations. Examples of these various\n"
20661 " approaches are given in examples/<language>x09*,\n"
20662 " examples/<language>x16*, examples/<language>x20*,\n"
20663 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
20664 " supported languages.\n"
20666 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
20667 " information to pltr0, pltr1, pltr2, or whatever routine that is\n"
20668 " externally supplied.\n"
20671 { (
char *)
"plshade",
_wrap_plshade, METH_VARARGS, (
char *)
"\n"
20672 "Shade individual region on the basis of value\n"
20676 " Shade individual region on the basis of value. Use plshades if you\n"
20677 " want to shade a number of contiguous regions using continuous colors.\n"
20678 " In particular the edge contours are treated properly in plshades. If\n"
20679 " you attempt to do contiguous regions with plshade the contours at the\n"
20680 " edge of the shade are partially obliterated by subsequent plots of\n"
20681 " contiguous shaded regions.\n"
20683 " Redacted form: General: plshade(a, defined, xmin, xmax, ymin, ymax,\n"
20684 " shade_min, shade_max, sh_cmap, sh_color, sh_width, min_color,\n"
20685 " min_width, max_color, max_width, fill, rectangular, pltr, pltr_data)\n"
20688 " This function is used in example 15.\n"
20694 "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"
20698 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n"
20699 " plot. Should have dimensions of\n"
20703 " nx (PLINT, input) : First dimension of the matrix \"a\".\n"
20705 " ny (PLINT, input) : Second dimension of the matrix \"a\".\n"
20707 " defined (PLDEFINED_callback, input) : Callback function specifying\n"
20708 " the region that should be plotted in the shade plot. This\n"
20709 " function accepts x and y coordinates as input arguments and must\n"
20710 " return 1 if the point is to be included in the shade plot and 0\n"
20711 " otherwise. If you want to plot the entire shade plot (the usual\n"
20712 " case), this argument should be set to NULL.\n"
20714 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
20715 " pltr below for how these arguments are used (only for the special case\n"
20716 " when the callback function\n"
20717 " pltr is not supplied).\n"
20719 " shade_min (PLFLT, input) : Defines the lower end of the interval to\n"
20720 " be shaded. If shade_max <= shade_min, plshade does nothing.\n"
20722 " shade_max (PLFLT, input) : Defines the upper end of the interval to\n"
20723 " be shaded. If shade_max <= shade_min, plshade does nothing.\n"
20725 " sh_cmap (PLINT, input) : Defines color map. If sh_cmap=0, then\n"
20726 " sh_color is interpreted as a cmap0 (integer) index. If sh_cmap=1,\n"
20727 " then sh_color is interpreted as a cmap1 argument in the range\n"
20730 " sh_color (PLFLT, input) : Defines color map index with integer\n"
20731 " value if cmap0 or value in range (0.0-1.0) if cmap1.\n"
20733 " sh_width (PLFLT, input) : Defines width used by the fill pattern.\n"
20735 " min_color (PLINT, input) : Defines pen color, width used by the\n"
20736 " boundary of shaded region. The min values are used for the\n"
20737 " shade_min boundary, and the max values are used on the shade_max\n"
20738 " boundary. Set color and width to zero for no plotted boundaries.\n"
20740 " min_width (PLFLT, input) : Defines pen color, width used by the\n"
20741 " boundary of shaded region. The min values are used for the\n"
20742 " shade_min boundary, and the max values are used on the shade_max\n"
20743 " boundary. Set color and width to zero for no plotted boundaries.\n"
20745 " max_color (PLINT, input) : Defines pen color, width used by the\n"
20746 " boundary of shaded region. The min values are used for the\n"
20747 " shade_min boundary, and the max values are used on the shade_max\n"
20748 " boundary. Set color and width to zero for no plotted boundaries.\n"
20750 " max_width (PLFLT, input) : Defines pen color, width used by the\n"
20751 " boundary of shaded region. The min values are used for the\n"
20752 " shade_min boundary, and the max values are used on the shade_max\n"
20753 " boundary. Set color and width to zero for no plotted boundaries.\n"
20755 " fill (PLFILL_callback, input) : Routine used to fill the region.\n"
20756 " Use plfill. Future version of PLplot may have other fill\n"
20759 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n"
20760 " map to rectangles after coordinate transformation with pltrl.\n"
20761 " Otherwise, set rectangular to false. If rectangular is set to\n"
20762 " true, plshade tries to save time by filling large rectangles.\n"
20763 " This optimization fails if the coordinate transformation distorts\n"
20764 " the shape of rectangles. For example a plot in polar coordinates\n"
20765 " has to have rectangular set to false.\n"
20767 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
20768 " defines the transformation between the zero-based indices of the\n"
20769 " matrix a and world coordinates. If\n"
20770 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
20771 " indices of a are mapped to the range\n"
20773 " xmax and the y indices of a are mapped to the range\n"
20775 " ymax.For the C case, transformation functions are provided in the\n"
20776 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
20777 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
20778 " matrices. In addition, C callback routines for the transformation\n"
20779 " can be supplied by the user such as the mypltr function in\n"
20780 " examples/c/x09c.c which provides a general linear transformation\n"
20781 " between index coordinates and world coordinates.For languages\n"
20782 " other than C you should consult the PLplot documentation for the\n"
20783 " details concerning how PLTRANSFORM_callback arguments are\n"
20784 " interfaced. However, in general, a particular pattern of\n"
20785 " callback-associated arguments such as a tr vector with 6 elements;\n"
20786 " xg and yg vectors; or xg and yg matrices are respectively\n"
20787 " interfaced to a linear-transformation routine similar to the above\n"
20788 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
20789 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
20790 " support native language callbacks for handling index to\n"
20791 " world-coordinate transformations. Examples of these various\n"
20792 " approaches are given in examples/<language>x09*,\n"
20793 " examples/<language>x16*, examples/<language>x20*,\n"
20794 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
20795 " supported languages.\n"
20797 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
20798 " information to pltr0, pltr1, pltr2, or whatever routine that is\n"
20799 " externally supplied.\n"
20803 "Assign a function to use for generating custom axis labels\n"
20807 " This function allows a user to provide their own function to provide\n"
20808 " axis label text. The user function is given the numeric value for a\n"
20809 " point on an axis and returns a string label to correspond with that\n"
20810 " value. Custom axis labels can be enabled by passing appropriate\n"
20811 " arguments to plenv, plbox, plbox3 and similar functions.\n"
20813 " This function is used in example 19.\n"
20819 "plslabelfunc(label_func, label_data)\n"
20823 " label_func (PLLABEL_FUNC_callback, input) : This is the custom\n"
20824 " label function. In order to reset to the default labelling, set\n"
20825 " this to NULL. The labelling function parameters are, in order:\n"
20826 " axis: This indicates which axis a label is being requested for.\n"
20827 " The value will be one of PL_X_AXIS, PL_Y_AXIS or PL_Z_AXIS.\n"
20829 " value: This is the value along the axis which is being labelled.\n"
20831 " label_text: The string representation of the label value.\n"
20833 " length: The maximum length in characters allowed for label_text.\n"
20836 " label_data (PLPointer, input) : This parameter may be used to pass\n"
20837 " data to the label_func function.\n"
20840 { (
char *)
"plsmaj",
_wrap_plsmaj, METH_VARARGS, (
char *)
"\n"
20841 "Set length of major ticks\n"
20845 " This sets up the length of the major ticks. The actual length is the\n"
20846 " product of the default length and a scaling factor as for character\n"
20849 " Redacted form: plsmaj(def, scale)\n"
20851 " This function is used in example 29.\n"
20857 "plsmaj(def, scale)\n"
20861 " def (PLFLT, input) : The default length of a major tick in\n"
20862 " millimeters, should be set to zero if the default length is to\n"
20863 " remain unchanged.\n"
20865 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
20866 " actual tick length.\n"
20869 { (
char *)
"plsmem",
_wrap_plsmem, METH_VARARGS, (
char *)
"\n"
20870 "Set the memory area to be plotted (RGB)\n"
20874 " Set the memory area to be plotted (with the mem or memcairo driver) as\n"
20875 " the dev member of the stream structure. Also set the number of pixels\n"
20876 " in the memory passed in\n"
20877 " plotmem, which is a block of memory\n"
20879 " maxx by 3 bytes long, say: 480 x 640 x 3 (Y, X, RGB)\n"
20881 " This memory will have to be freed by the user!\n"
20883 " Redacted form: plsmem(maxx, maxy, plotmem)\n"
20885 " This function is not used in any examples.\n"
20891 "plsmem(maxx, maxy, plotmem)\n"
20895 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n"
20897 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n"
20899 " plotmem (PLPointer, input) : Pointer to the beginning of a\n"
20900 " user-supplied writeable memory area.\n"
20903 { (
char *)
"plsmema",
_wrap_plsmema, METH_VARARGS, (
char *)
"\n"
20904 "Set the memory area to be plotted (RGBA)\n"
20908 " Set the memory area to be plotted (with the memcairo driver) as the\n"
20909 " dev member of the stream structure. Also set the number of pixels in\n"
20910 " the memory passed in\n"
20911 " plotmem, which is a block of memory\n"
20913 " maxx by 4 bytes long, say: 480 x 640 x 4 (Y, X, RGBA)\n"
20915 " This memory will have to be freed by the user!\n"
20917 " Redacted form: plsmema(maxx, maxy, plotmem)\n"
20919 " This function is not used in any examples.\n"
20925 "plsmema(maxx, maxy, plotmem)\n"
20929 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n"
20931 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n"
20933 " plotmem (PLPointer, input) : Pointer to the beginning of a\n"
20934 " user-supplied writeable memory area.\n"
20937 { (
char *)
"plsmin",
_wrap_plsmin, METH_VARARGS, (
char *)
"\n"
20938 "Set length of minor ticks\n"
20942 " This sets up the length of the minor ticks and the length of the\n"
20943 " terminals on error bars. The actual length is the product of the\n"
20944 " default length and a scaling factor as for character height.\n"
20946 " Redacted form: plsmin(def, scale)\n"
20948 " This function is used in example 29.\n"
20954 "plsmin(def, scale)\n"
20958 " def (PLFLT, input) : The default length of a minor tick in\n"
20959 " millimeters, should be set to zero if the default length is to\n"
20960 " remain unchanged.\n"
20962 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
20963 " actual tick length.\n"
20966 { (
char *)
"plsori",
_wrap_plsori, METH_VARARGS, (
char *)
"\n"
20967 "Set orientation\n"
20971 " Set integer plot orientation parameter. This function is identical to\n"
20972 " plsdiori except for the type of the argument, and should be used in\n"
20973 " the same way. See the documentation of plsdiori for details.\n"
20975 " Redacted form: plsori(ori)\n"
20977 " This function is used in example 3.\n"
20987 " ori (PLINT, input) : Orientation value (0 for landscape, 1 for\n"
20988 " portrait, etc.) The value is multiplied by 90 degrees to get the\n"
20992 { (
char *)
"plspage",
_wrap_plspage, METH_VARARGS, (
char *)
"\n"
20993 "Set page parameters\n"
20997 " Sets the page configuration (optional). If an individual parameter is\n"
20998 " zero then that parameter value is not updated. Not all parameters are\n"
20999 " recognized by all drivers and the interpretation is device-dependent.\n"
21000 " The X-window driver uses the length and offset parameters to determine\n"
21001 " the window size and location. The length and offset values are\n"
21002 " expressed in units that are specific to the current driver. For\n"
21003 " instance: screen drivers will usually interpret them as number of\n"
21004 " pixels, whereas printer drivers will usually use mm.\n"
21006 " This routine, if used, must be called before initializing PLplot. It\n"
21007 " may be called at later times for interactive drivers to change only\n"
21008 " the dpi for subsequent redraws which you can force via a call to\n"
21009 " plreplot. If this function is not called then the page size defaults\n"
21010 " to landscape A4 for drivers which use real world page sizes and 744\n"
21011 " pixels wide by 538 pixels high for raster drivers. The default value\n"
21012 " for dx and dy is 90 pixels per inch for raster drivers.\n"
21016 " Redacted form: plspage(xp, yp, xleng, yleng, xoff, yoff)\n"
21018 " This function is used in examples 14 and 31.\n"
21024 "plspage(xp, yp, xleng, yleng, xoff, yoff)\n"
21028 " xp (PLFLT, input) : Number of pixels per inch (DPI), x. Used only\n"
21029 " by raster drivers, ignored by drivers which use \"real world\" units\n"
21032 " yp (PLFLT, input) : Number of pixels per inch (DPI), y. Used only\n"
21033 " by raster drivers, ignored by drivers which use \"real world\" units\n"
21036 " xleng (PLINT, input) : Page length, x.\n"
21038 " yleng (PLINT, input) : Page length, y.\n"
21040 " xoff (PLINT, input) : Page offset, x.\n"
21042 " yoff (PLINT, input) : Page offset, y.\n"
21045 { (
char *)
"plspal0",
_wrap_plspal0, METH_VARARGS, (
char *)
"\n"
21046 "Set the cmap0 palette using the specified cmap0*.pal format file\n"
21050 " Set the cmap0 palette using the specified cmap0*.pal format file.\n"
21052 " Redacted form: plspal0(filename)\n"
21054 " This function is in example 16.\n"
21060 "plspal0(filename)\n"
21064 " filename (PLCHAR_VECTOR, input) : An ascii character string\n"
21065 " containing the name of the cmap0*.pal file. If this string is\n"
21066 " empty, use the default cmap0*.pal file.\n"
21069 { (
char *)
"plspal1",
_wrap_plspal1, METH_VARARGS, (
char *)
"\n"
21070 "Set the cmap1 palette using the specified cmap1*.pal format file\n"
21074 " Set the cmap1 palette using the specified cmap1*.pal format file.\n"
21076 " Redacted form: plspal1(filename, interpolate)\n"
21078 " This function is used in example 16.\n"
21084 "plspal1(filename, interpolate)\n"
21088 " filename (PLCHAR_VECTOR, input) : An ascii character string\n"
21089 " containing the name of the cmap1*.pal file. If this string is\n"
21090 " empty, use the default cmap1*.pal file.\n"
21092 " interpolate (PLBOOL, input) : If this parameter is true, the\n"
21093 " columns containing the intensity index, r, g, b, alpha and\n"
21094 " alt_hue_path in the cmap1*.pal file are used to set the cmap1\n"
21095 " palette with a call to plscmap1la. (The cmap1*.pal header contains\n"
21096 " a flag which controls whether the r, g, b data sent to plscmap1la\n"
21097 " are interpreted as HLS or RGB.) If this parameter is false, the\n"
21098 " intensity index and alt_hue_path columns are ignored and the r, g,\n"
21099 " b (interpreted as RGB), and alpha columns of the cmap1*.pal file\n"
21100 " are used instead to set the cmap1 palette directly with a call to\n"
21104 { (
char *)
"plspause",
_wrap_plspause, METH_VARARGS, (
char *)
"\n"
21105 "Set the pause (on end-of-page) status\n"
21109 " Set the pause (on end-of-page) status.\n"
21111 " Redacted form: plspause(pause)\n"
21113 " This function is in examples 14,20.\n"
21119 "plspause(pause)\n"
21123 " pause (PLBOOL, input) : If pause is true there will be a pause on\n"
21124 " end-of-page for those drivers which support this. Otherwise there\n"
21128 { (
char *)
"plsstrm",
_wrap_plsstrm, METH_VARARGS, (
char *)
"\n"
21129 "Set current output stream\n"
21133 " Sets the number of the current output stream. The stream number\n"
21134 " defaults to 0 unless changed by this routine. The first use of this\n"
21135 " routine must be followed by a call initializing PLplot (e.g. plstar).\n"
21137 " Redacted form: plsstrm(strm)\n"
21139 " This function is examples 1,14,20.\n"
21149 " strm (PLINT, input) : The current stream number.\n"
21152 { (
char *)
"plssub",
_wrap_plssub, METH_VARARGS, (
char *)
"\n"
21153 "Set the number of subpages in x and y\n"
21157 " Set the number of subpages in x and y.\n"
21159 " Redacted form: plssub(nx, ny)\n"
21161 " This function is examples 1,2,14,21,25,27.\n"
21171 " nx (PLINT, input) : Number of windows in x direction (i.e., number\n"
21172 " of window columns).\n"
21174 " ny (PLINT, input) : Number of windows in y direction (i.e., number\n"
21175 " of window rows).\n"
21178 { (
char *)
"plssym",
_wrap_plssym, METH_VARARGS, (
char *)
"\n"
21179 "Set symbol size\n"
21183 " This sets up the size of all subsequent symbols drawn by plpoin and\n"
21184 " plsym. The actual height of a symbol is the product of the default\n"
21185 " symbol size and a scaling factor as for the character height.\n"
21187 " Redacted form: plssym(def, scale)\n"
21189 " This function is used in example 29.\n"
21195 "plssym(def, scale)\n"
21199 " def (PLFLT, input) : The default height of a symbol in millimeters,\n"
21200 " should be set to zero if the default height is to remain\n"
21203 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
21204 " actual symbol height.\n"
21207 { (
char *)
"plstar",
_wrap_plstar, METH_VARARGS, (
char *)
"\n"
21212 " Initializing the plotting package. The program prompts for the device\n"
21213 " keyword or number of the desired output device. Hitting a RETURN in\n"
21214 " response to the prompt is the same as selecting the first device. If\n"
21215 " only one device is enabled when PLplot is installed, plstar will issue\n"
21216 " no prompt. The output device is divided into nx by ny subpages, each\n"
21217 " of which may be used independently. The subroutine pladv is used to\n"
21218 " advance from one subpage to the next.\n"
21220 " Redacted form: plstar(nx, ny)\n"
21222 " This function is used in example 1.\n"
21232 " nx (PLINT, input) : Number of subpages to divide output page in the\n"
21235 " ny (PLINT, input) : Number of subpages to divide output page in the\n"
21239 { (
char *)
"plstart",
_wrap_plstart, METH_VARARGS, (
char *)
"\n"
21244 " Alternative to plstar for initializing the plotting package. The\n"
21245 " device name keyword for the desired output device must be supplied as\n"
21246 " an argument. These keywords are the same as those printed out by\n"
21247 " plstar. If the requested device is not available, or if the input\n"
21248 " string is empty or begins with ``?'', the prompted start up of plstar\n"
21249 " is used. This routine also divides the output device page into nx by\n"
21250 " ny subpages, each of which may be used independently. The subroutine\n"
21251 " pladv is used to advance from one subpage to the next.\n"
21253 " Redacted form: General: plstart(devname, nx, ny)\n"
21254 " Perl/PDL: plstart(nx, ny, devname)\n"
21257 " This function is not used in any examples.\n"
21263 "plstart(devname, nx, ny)\n"
21267 " devname (PLCHAR_VECTOR, input) : An ascii character string\n"
21268 " containing the device name keyword of the required output device.\n"
21270 " devname is NULL or if the first character of the string is a ``?'',\n"
21271 " the normal (prompted) start up is used.\n"
21273 " nx (PLINT, input) : Number of subpages to divide output page in the\n"
21276 " ny (PLINT, input) : Number of subpages to divide output page in the\n"
21281 "Set a global coordinate transform function\n"
21285 " This function can be used to define a coordinate transformation which\n"
21286 " affects all elements drawn within the current plot window. The\n"
21287 " coordinate_transform callback function is similar to that provided for\n"
21288 " the plmap and plmeridians functions. The coordinate_transform_data\n"
21289 " parameter may be used to pass extra data to coordinate_transform.\n"
21291 " Redacted form: General: plstransform(coordinate_transform,\n"
21292 " coordinate_transform_data)\n"
21295 " This function is used in examples 19 and 22.\n"
21301 "plstransform(coordinate_transform, coordinate_transform_data)\n"
21305 " coordinate_transform (PLTRANSFORM_callback, input) : A callback\n"
21306 " function that defines the transformation from the input (x, y)\n"
21307 " world coordinates to new PLplot world coordinates. If\n"
21308 " coordinate_transform is not supplied (e.g., is set to NULL in the C\n"
21309 " case), then no transform is applied.\n"
21311 " coordinate_transform_data (PLPointer, input) : Optional extra data\n"
21313 " coordinate_transform.\n"
21316 { (
char *)
"plstring",
_wrap_plstring, METH_VARARGS, (
char *)
"\n"
21317 "Plot a glyph at the specified points\n"
21321 " Plot a glyph at the specified points. (Supersedes plpoin and plsym\n"
21322 " because many[!] more glyphs are accessible with plstring.) The glyph\n"
21323 " is specified with a PLplot user string. Note that the user string is\n"
21324 " not actually limited to one glyph so it is possible (but not normally\n"
21325 " useful) to plot more than one glyph at the specified points with this\n"
21326 " function. As with plmtex and plptex, the user string can contain FCI\n"
21327 " escapes to determine the font, UTF-8 code to determine the glyph or\n"
21328 " else PLplot escapes for Hershey or unicode text to determine the\n"
21331 " Redacted form: plstring(x, y, string)\n"
21333 " This function is used in examples 4, 21 and 26.\n"
21339 "plstring(n, x, y, string)\n"
21343 " n (PLINT, input) : Number of points in the x and y vectors.\n"
21345 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21348 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21351 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21352 " the glyph(s) to be plotted at each of the n points.\n"
21356 "Plot a glyph at the specified 3D points\n"
21360 " Plot a glyph at the specified 3D points. (Supersedes plpoin3 because\n"
21361 " many[!] more glyphs are accessible with plstring3.) Set up the call to\n"
21362 " this function similar to what is done for plline3. The glyph is\n"
21363 " specified with a PLplot user string. Note that the user string is not\n"
21364 " actually limited to one glyph so it is possible (but not normally\n"
21365 " useful) to plot more than one glyph at the specified points with this\n"
21366 " function. As with plmtex and plptex, the user string can contain FCI\n"
21367 " escapes to determine the font, UTF-8 code to determine the glyph or\n"
21368 " else PLplot escapes for Hershey or unicode text to determine the\n"
21371 " Redacted form: plstring3(x, y, z, string)\n"
21373 " This function is used in example 18.\n"
21379 "plstring3(n, x, y, z, string)\n"
21383 " n (PLINT, input) : Number of points in the x, y, and z vectors.\n"
21385 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21388 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21391 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
21394 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21395 " the glyph(s) to be plotted at each of the n points. points.\n"
21398 { (
char *)
"plstripa",
_wrap_plstripa, METH_VARARGS, (
char *)
"\n"
21399 "Add a point to a strip chart\n"
21403 " Add a point to a given pen of a given strip chart. There is no need\n"
21404 " for all pens to have the same number of points or to be equally\n"
21405 " sampled in the x coordinate. Allocates memory and rescales as\n"
21408 " Redacted form: plstripa(id, pen, x, y)\n"
21410 " This function is used in example 17.\n"
21416 "plstripa(id, pen, x, y)\n"
21420 " id (PLINT, input) : Identification number of the strip chart (set\n"
21421 " up in plstripc).\n"
21423 " pen (PLINT, input) : Pen number (ranges from 0 to 3).\n"
21425 " x (PLFLT, input) : X coordinate of point to plot.\n"
21427 " y (PLFLT, input) : Y coordinate of point to plot.\n"
21430 { (
char *)
"plstripc",
_wrap_plstripc, METH_VARARGS, (
char *)
"\n"
21431 "Create a 4-pen strip chart\n"
21435 " Create a 4-pen strip chart, to be used afterwards by plstripa\n"
21437 " Redacted form: General: plstripc(id, xspec, yspec, xmin, xmax, xjump,\n"
21438 " ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline,\n"
21439 " styline, legline, labx, laby, labz)\n"
21440 " Perl/PDL: plstripc(xmin, xmax, xjump, ymin, ymax, xlpos,\n"
21441 " ylpos, y_ascl, acc, colbox, collab, colline, styline, id, xspec,\n"
21442 " ypsec, legline, labx, laby, labtop)\n"
21445 " This function is used in example 17.\n"
21451 "plstripc(id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline, styline, legline[], labx, laby, labtop)\n"
21455 " id (PLINT_NC_SCALAR, output) : Returned value of the identification\n"
21456 " number of the strip chart to use on plstripa and plstripd.\n"
21458 " xspec (PLCHAR_VECTOR, input) : An ascii character string containing\n"
21459 " the x-axis specification as in plbox.\n"
21461 " yspec (PLCHAR_VECTOR, input) : An ascii character string containing\n"
21462 " the y-axis specification as in plbox.\n"
21464 " xmin (PLFLT, input) : Initial coordinates of plot box; they will\n"
21465 " change as data are added.\n"
21467 " xmax (PLFLT, input) : Initial coordinates of plot box; they will\n"
21468 " change as data are added.\n"
21470 " xjump (PLFLT, input) : When x attains xmax, the length of the plot\n"
21471 " is multiplied by the factor (1 +\n"
21474 " ymin (PLFLT, input) : Initial coordinates of plot box; they will\n"
21475 " change as data are added.\n"
21477 " ymax (PLFLT, input) : Initial coordinates of plot box; they will\n"
21478 " change as data are added.\n"
21480 " xlpos (PLFLT, input) : X legend box position (range from 0 to 1).\n"
21482 " ylpos (PLFLT, input) : Y legend box position (range from 0 to 1).\n"
21484 " y_ascl (PLBOOL, input) : Autoscale y between x jumps if y_ascl is\n"
21485 " true, otherwise not.\n"
21487 " acc (PLBOOL, input) : Accumulate strip plot if acc is true,\n"
21488 " otherwise slide display.\n"
21490 " colbox (PLINT, input) : Plot box color index (cmap0).\n"
21492 " collab (PLINT, input) : Legend color index (cmap0).\n"
21494 " colline (PLINT_VECTOR, input) : A vector containing the cmap0 color\n"
21495 " indices for the 4 pens.\n"
21497 " styline (PLINT_VECTOR, input) : A vector containing the line style\n"
21498 " indices for the 4 pens.\n"
21500 " legline (PLCHAR_MATRIX, input) : A vector of UTF-8 character\n"
21501 " strings containing legends for the 4 pens.\n"
21503 " labx (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21504 " the label for the x axis.\n"
21506 " laby (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21507 " the label for the y axis.\n"
21509 " labtop (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21510 " the plot title.\n"
21513 { (
char *)
"plstripd",
_wrap_plstripd, METH_VARARGS, (
char *)
"\n"
21514 "Deletes and releases memory used by a strip chart\n"
21518 " Deletes and releases memory used by a strip chart.\n"
21520 " Redacted form: plstripd(id)\n"
21522 " This function is used in example 17.\n"
21532 " id (PLINT, input) : Identification number of strip chart to delete.\n"
21535 { (
char *)
"plstyl",
_wrap_plstyl, METH_VARARGS, (
char *)
"\n"
21540 " This sets up the line style for all lines subsequently drawn. A line\n"
21541 " consists of segments in which the pen is alternately down and up. The\n"
21542 " lengths of these segments are passed in the vectors mark and space\n"
21543 " respectively. The number of mark-space pairs is specified by nms. In\n"
21544 " order to return the line style to the default continuous line, plstyl\n"
21545 " should be called with nms =0 .(see also pllsty)\n"
21547 " Redacted form: plstyl(mark, space)\n"
21549 " This function is used in examples 1, 9, and 14.\n"
21555 "plstyl(nms, mark, space)\n"
21559 " nms (PLINT, input) : The number of mark and space elements in a\n"
21560 " line. Thus a simple broken line can be obtained by setting nms=1\n"
21561 " . A continuous line is specified by setting nms=0 .\n"
21563 " mark (PLINT_VECTOR, input) : A vector containing the lengths of the\n"
21564 " segments during which the pen is down, measured in micrometers.\n"
21566 " space (PLINT_VECTOR, input) : A vector containing the lengths of\n"
21567 " the segments during which the pen is up, measured in micrometers.\n"
21570 { (
char *)
"plsvect",
_wrap_plsvect, METH_VARARGS, (
char *)
"\n"
21571 "Set arrow style for vector plots\n"
21575 " Set the style for the arrow used by plvect to plot vectors.\n"
21577 " Redacted form: plsvect(arrowx, arrowy, fill)\n"
21579 " This function is used in example 22.\n"
21585 "plsvect(arrowx, arrowy, npts, fill)\n"
21589 " arrowx, arrowy (PLFLT_VECTOR, input) : A pair of vectors containing\n"
21590 " the x and y points which make up the arrow. The arrow is plotted\n"
21591 " by joining these points to form a polygon. The scaling assumes\n"
21592 " that the x and y points in the arrow lie in the range -0.5 <= x,y\n"
21593 " <= 0.5. If both arrowx and arrowy are NULL then the arrow style\n"
21594 " will be reset to its default.\n"
21596 " npts (PLINT, input) : Number of points in the vectors arrowx and\n"
21599 " fill (PLBOOL, input) : If fill is true then the arrow is closed, if\n"
21600 " fill is false then the arrow is open.\n"
21603 { (
char *)
"plsvpa",
_wrap_plsvpa, METH_VARARGS, (
char *)
"\n"
21604 "Specify viewport in absolute coordinates\n"
21608 " Alternate routine to plvpor for setting up the viewport. This routine\n"
21609 " should be used only if the viewport is required to have a definite\n"
21610 " size in millimeters. The routine plgspa is useful for finding out the\n"
21611 " size of the current subpage.\n"
21613 " Redacted form: plsvpa(xmin, xmax, ymin, ymax)\n"
21615 " This function is used in example 10.\n"
21621 "plsvpa(xmin, xmax, ymin, ymax)\n"
21625 " xmin (PLFLT, input) : The distance of the left-hand edge of the\n"
21626 " viewport from the left-hand edge of the subpage in millimeters.\n"
21628 " xmax (PLFLT, input) : The distance of the right-hand edge of the\n"
21629 " viewport from the left-hand edge of the subpage in millimeters.\n"
21631 " ymin (PLFLT, input) : The distance of the bottom edge of the\n"
21632 " viewport from the bottom edge of the subpage in millimeters.\n"
21634 " ymax (PLFLT, input) : The distance of the top edge of the viewport\n"
21635 " from the bottom edge of the subpage in millimeters.\n"
21638 { (
char *)
"plsxax",
_wrap_plsxax, METH_VARARGS, (
char *)
"\n"
21639 "Set x axis parameters\n"
21643 " Sets values of the digmax and digits flags for the x axis. See the\n"
21644 " PLplot documentation for more information.\n"
21646 " Redacted form: plsxax(digmax, digits)\n"
21648 " This function is used in example 31.\n"
21654 "plsxax(digmax, digits)\n"
21658 " digmax (PLINT, input) : Variable to set the maximum number of\n"
21659 " digits for the x axis. If nonzero, the printed label will be\n"
21660 " switched to a floating-point representation when the number of\n"
21661 " digits exceeds digmax.\n"
21663 " digits (PLINT, input) : Field digits value. Currently, changing\n"
21664 " its value here has no effect since it is set only by plbox or\n"
21665 " plbox3. However, the user may obtain its value after a call to\n"
21666 " either of these functions by calling plgxax.\n"
21669 { (
char *)
"plsyax",
_wrap_plsyax, METH_VARARGS, (
char *)
"\n"
21670 "Set y axis parameters\n"
21674 " Identical to plsxax, except that arguments are flags for y axis. See\n"
21675 " the description of plsxax for more detail.\n"
21677 " Redacted form: plsyax(digmax, digits)\n"
21679 " This function is used in examples 1, 14, and 31.\n"
21685 "plsyax(digmax, digits)\n"
21689 " digmax (PLINT, input) : Variable to set the maximum number of\n"
21690 " digits for the y axis. If nonzero, the printed label will be\n"
21691 " switched to a floating-point representation when the number of\n"
21692 " digits exceeds digmax.\n"
21694 " digits (PLINT, input) : Field digits value. Currently, changing\n"
21695 " its value here has no effect since it is set only by plbox or\n"
21696 " plbox3. However, the user may obtain its value after a call to\n"
21697 " either of these functions by calling plgyax.\n"
21700 { (
char *)
"plsym",
_wrap_plsym, METH_VARARGS, (
char *)
"\n"
21701 "Plot a glyph at the specified points\n"
21705 " Plot a glyph at the specified points. (This function is largely\n"
21706 " superseded by plstring which gives access to many[!] more glyphs.)\n"
21708 " Redacted form: plsym(x, y, code)\n"
21710 " This function is used in example 7.\n"
21716 "plsym(n, x, y, code)\n"
21720 " n (PLINT, input) : Number of points in the x and y vectors.\n"
21722 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21725 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21728 " code (PLINT, input) : Hershey symbol code corresponding to a glyph\n"
21729 " to be plotted at each of the n points.\n"
21732 { (
char *)
"plszax",
_wrap_plszax, METH_VARARGS, (
char *)
"\n"
21733 "Set z axis parameters\n"
21737 " Identical to plsxax, except that arguments are flags for z axis. See\n"
21738 " the description of plsxax for more detail.\n"
21740 " Redacted form: plszax(digmax, digits)\n"
21742 " This function is used in example 31.\n"
21748 "plszax(digmax, digits)\n"
21752 " digmax (PLINT, input) : Variable to set the maximum number of\n"
21753 " digits for the z axis. If nonzero, the printed label will be\n"
21754 " switched to a floating-point representation when the number of\n"
21755 " digits exceeds digmax.\n"
21757 " digits (PLINT, input) : Field digits value. Currently, changing\n"
21758 " its value here has no effect since it is set only by plbox or\n"
21759 " plbox3. However, the user may obtain its value after a call to\n"
21760 " either of these functions by calling plgzax.\n"
21763 { (
char *)
"pltext",
_wrap_pltext, METH_VARARGS, (
char *)
"\n"
21764 "Switch to text screen\n"
21768 " Sets an interactive device to text mode, used in conjunction with\n"
21769 " plgra to allow graphics and text to be interspersed. On a device\n"
21770 " which supports separate text and graphics windows, this command causes\n"
21771 " control to be switched to the text window. This can be useful for\n"
21772 " printing diagnostic messages or getting user input, which would\n"
21773 " otherwise interfere with the plots. The program must switch back to\n"
21774 " the graphics window before issuing plot commands, as the text (or\n"
21775 " console) device will probably become quite confused otherwise. If\n"
21776 " already in text mode, this command is ignored. It is also ignored on\n"
21777 " devices which only support a single window or use a different method\n"
21778 " for shifting focus (see also plgra).\n"
21780 " Redacted form: pltext()\n"
21782 " This function is used in example 1.\n"
21792 "Set format for date / time labels\n"
21796 " Sets the format for date / time labels. To enable date / time format\n"
21797 " labels see the options to plbox, plbox3, and plenv.\n"
21799 " Redacted form: pltimefmt(fmt)\n"
21801 " This function is used in example 29.\n"
21811 " fmt (PLCHAR_VECTOR, input) : An ascii character string which is\n"
21812 " interpreted similarly to the format specifier of typical system\n"
21813 " strftime routines except that PLplot ignores locale and also\n"
21814 " supplies some useful extensions in the context of plotting. All\n"
21815 " text in the string is printed as-is other than conversion\n"
21816 " specifications which take the form of a '%' character followed by\n"
21817 " further conversion specification character. The conversion\n"
21818 " specifications which are similar to those provided by system\n"
21819 " strftime routines are the following: %a: The abbreviated (English)\n"
21821 " %A: The full (English) weekday name.\n"
21822 " %b: The abbreviated (English) month name.\n"
21823 " %B: The full (English) month name.\n"
21824 " %c: Equivalent to %a %b %d %T %Y (non-ISO).\n"
21825 " %C: The century number (year/100) as a 2-digit integer.\n"
21826 " %d: The day of the month as a decimal number (range 01 to 31).\n"
21827 " %D: Equivalent to %m/%d/%y (non-ISO).\n"
21828 " %e: Like %d, but a leading zero is replaced by a space.\n"
21829 " %F: Equivalent to %Y-%m-%d (the ISO 8601 date format).\n"
21830 " %h: Equivalent to %b.\n"
21831 " %H: The hour as a decimal number using a 24-hour clock (range\n"
21833 " %I: The hour as a decimal number using a 12-hour clock (range\n"
21835 " %j: The day of the year as a decimal number (range 001 to\n"
21837 " %k: The hour (24-hour clock) as a decimal number (range 0 to\n"
21838 " 23); single digits are preceded by a blank. (See also %H.)\n"
21839 " %l: The hour (12-hour clock) as a decimal number (range 1 to\n"
21840 " 12); single digits are preceded by a blank. (See also %I.)\n"
21841 " %m: The month as a decimal number (range 01 to 12).\n"
21842 " %M: The minute as a decimal number (range 00 to 59).\n"
21843 " %n: A newline character.\n"
21844 " %p: Either \"AM\" or \"PM\" according to the given time value.\n"
21845 " Noon is treated as \"PM\" and midnight as \"AM\".\n"
21846 " %r: Equivalent to %I:%M:%S %p.\n"
21847 " %R: The time in 24-hour notation (%H:%M). For a version\n"
21848 " including the seconds, see %T below.\n"
21849 " %s: The number of seconds since the Epoch, 1970-01-01 00:00:00\n"
21851 " %S: The second as a decimal number (range 00 to 60). (The\n"
21852 " range is up to 60 to allow for occasional leap seconds.)\n"
21853 " %t: A tab character.\n"
21854 " %T: The time in 24-hour notation (%H:%M:%S).\n"
21855 " %u: The day of the week as a decimal, range 1 to 7, Monday\n"
21856 " being 1. See also %w.\n"
21857 " %U: The week number of the current year as a decimal number,\n"
21858 " range 00 to 53, starting with the first Sunday as the first\n"
21859 " day of week 01. See also %V and %W.\n"
21860 " %v: Equivalent to %e-%b-%Y.\n"
21861 " %V: The ISO 8601 week number of the current year as a decimal\n"
21862 " number, range 01 to 53, where week 1 is the first week that\n"
21863 " has at least 4 days in the new year. See also %U and %W.\n"
21864 " %w: The day of the week as a decimal, range 0 to 6, Sunday\n"
21865 " being 0. See also %u.\n"
21866 " %W: The week number of the current year as a decimal number,\n"
21867 " range 00 to 53, starting with the first Monday as the first\n"
21868 " day of week 01.\n"
21869 " %x: Equivalent to %a %b %d %Y.\n"
21870 " %X: Equivalent to %T.\n"
21871 " %y: The year as a decimal number without a century (range 00\n"
21873 " %Y: The year as a decimal number including a century.\n"
21874 " %z: The UTC time-zone string = \"+0000\".\n"
21875 " %Z: The UTC time-zone abbreviation = \"UTC\".\n"
21876 " %+: The UTC date and time in default format of the Unix date\n"
21877 " command which is equivalent to %a %b %d %T %Z %Y.\n"
21878 " %%: A literal \"%\" character.\n"
21879 " The conversion specifications which are extensions to those normally\n"
21880 " provided by system strftime routines are the following: %(0-9):\n"
21881 " The fractional part of the seconds field (including leading\n"
21882 " decimal point) to the specified accuracy. Thus %S%3 would give\n"
21883 " seconds to millisecond accuracy (00.000).\n"
21884 " %.: The fractional part of the seconds field (including\n"
21885 " leading decimal point) to the maximum available accuracy. Thus\n"
21886 " %S%. would give seconds with fractional part up to 9 decimal\n"
21887 " places if available.\n"
21890 { (
char *)
"plvasp",
_wrap_plvasp, METH_VARARGS, (
char *)
"\n"
21891 "Specify viewport using aspect ratio only\n"
21895 " Selects the largest viewport with the given aspect ratio within the\n"
21896 " subpage that leaves a standard margin (left-hand margin of eight\n"
21897 " character heights, and a margin around the other three sides of five\n"
21898 " character heights).\n"
21900 " Redacted form: plvasp(aspect)\n"
21902 " This function is used in example 13.\n"
21912 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n"
21913 " axis of resulting viewport.\n"
21916 { (
char *)
"plvect",
_wrap_plvect, METH_VARARGS, (
char *)
"\n"
21921 " Draws a plot of vector data contained in the matrices (\n"
21927 " ny]) . The scaling factor for the vectors is given by scale. A\n"
21928 " transformation routine pointed to by pltr with a pointer pltr_data for\n"
21929 " additional data required by the transformation routine to map indices\n"
21930 " within the matrices to the world coordinates. The style of the vector\n"
21931 " arrow may be set using plsvect.\n"
21933 " Redacted form: plvect(u, v, scale, pltr, pltr_data) where (see above\n"
21934 " discussion) the pltr, pltr_data callback arguments are sometimes\n"
21935 " replaced by a tr vector with 6 elements, or xg and yg array arguments\n"
21936 " with either one or two dimensions.\n"
21938 " This function is used in example 22.\n"
21944 "plvect(u, v, nx, ny, scale, pltr, pltr_data)\n"
21948 " u, v (PLFLT_MATRIX, input) : A pair of matrices containing the x\n"
21949 " and y components of the vector data to be plotted.\n"
21951 " nx, ny (PLINT, input) : Dimensions of the matrices u and v.\n"
21953 " scale (PLFLT, input) : Parameter to control the scaling factor of\n"
21954 " the vectors for plotting. If scale = 0 then the scaling factor is\n"
21955 " automatically calculated for the data. If scale < 0 then the\n"
21956 " scaling factor is automatically calculated for the data and then\n"
21957 " multiplied by -\n"
21958 " scale. If scale > 0 then the scaling factor is set to scale.\n"
21960 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
21961 " defines the transformation between the zero-based indices of the\n"
21962 " matrices u and v and world coordinates.For the C case,\n"
21963 " transformation functions are provided in the PLplot library: pltr0\n"
21964 " for the identity mapping, and pltr1 and pltr2 for arbitrary\n"
21965 " mappings respectively defined by vectors and matrices. In\n"
21966 " addition, C callback routines for the transformation can be\n"
21967 " supplied by the user such as the mypltr function in\n"
21968 " examples/c/x09c.c which provides a general linear transformation\n"
21969 " between index coordinates and world coordinates.For languages\n"
21970 " other than C you should consult the PLplot documentation for the\n"
21971 " details concerning how PLTRANSFORM_callback arguments are\n"
21972 " interfaced. However, in general, a particular pattern of\n"
21973 " callback-associated arguments such as a tr vector with 6 elements;\n"
21974 " xg and yg vectors; or xg and yg matrices are respectively\n"
21975 " interfaced to a linear-transformation routine similar to the above\n"
21976 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
21977 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
21978 " support native language callbacks for handling index to\n"
21979 " world-coordinate transformations. Examples of these various\n"
21980 " approaches are given in examples/<language>x09*,\n"
21981 " examples/<language>x16*, examples/<language>x20*,\n"
21982 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
21983 " supported languages.\n"
21985 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
21986 " information to pltr0, pltr1, pltr2, or whatever callback routine\n"
21987 " that is externally supplied.\n"
21990 { (
char *)
"plvpas",
_wrap_plvpas, METH_VARARGS, (
char *)
"\n"
21991 "Specify viewport using coordinates and aspect ratio\n"
21995 " Device-independent routine for setting up the viewport. The viewport\n"
21996 " is chosen to be the largest with the given aspect ratio that fits\n"
21997 " within the specified region (in terms of normalized subpage\n"
21998 " coordinates). This routine is functionally equivalent to plvpor when\n"
21999 " a ``natural'' aspect ratio (0.0) is chosen. Unlike plvasp, this\n"
22000 " routine reserves no extra space at the edges for labels.\n"
22002 " Redacted form: plvpas(xmin, xmax, ymin, ymax, aspect)\n"
22004 " This function is used in example 9.\n"
22010 "plvpas(xmin, xmax, ymin, ymax, aspect)\n"
22014 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n"
22015 " left-hand edge of the viewport.\n"
22017 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n"
22018 " right-hand edge of the viewport.\n"
22020 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n"
22021 " bottom edge of the viewport.\n"
22023 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n"
22024 " edge of the viewport.\n"
22026 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n"
22030 { (
char *)
"plvpor",
_wrap_plvpor, METH_VARARGS, (
char *)
"\n"
22031 "Specify viewport using normalized subpage coordinates\n"
22035 " Device-independent routine for setting up the viewport. This defines\n"
22036 " the viewport in terms of normalized subpage coordinates which run from\n"
22037 " 0.0 to 1.0 (left to right and bottom to top) along each edge of the\n"
22038 " current subpage. Use the alternate routine plsvpa in order to create\n"
22039 " a viewport of a definite size.\n"
22041 " Redacted form: plvpor(xmin, xmax, ymin, ymax)\n"
22043 " This function is used in examples 2, 6-8, 10, 11, 15, 16, 18, 21, 23,\n"
22044 " 24, 26, 27, and 31.\n"
22050 "plvpor(xmin, xmax, ymin, ymax)\n"
22054 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n"
22055 " left-hand edge of the viewport.\n"
22057 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n"
22058 " right-hand edge of the viewport.\n"
22060 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n"
22061 " bottom edge of the viewport.\n"
22063 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n"
22064 " edge of the viewport.\n"
22067 { (
char *)
"plvsta",
_wrap_plvsta, METH_VARARGS, (
char *)
"\n"
22068 "Select standard viewport\n"
22072 " Selects the largest viewport within the subpage that leaves a standard\n"
22073 " margin (left-hand margin of eight character heights, and a margin\n"
22074 " around the other three sides of five character heights).\n"
22076 " Redacted form: plvsta()\n"
22078 " This function is used in examples 1, 12, 14, 17, 25, and 29.\n"
22087 { (
char *)
"plw3d",
_wrap_plw3d, METH_VARARGS, (
char *)
"\n"
22088 "Configure the transformations required for projecting a 3D surface on a 2D window\n"
22092 " Configure the transformations required for projecting a 3D surface on\n"
22093 " an existing 2D window. Those transformations (see the PLplot\n"
22094 " documentation) are done to a rectangular cuboid enclosing the 3D\n"
22095 " surface which has its limits expressed in 3D world coordinates and\n"
22096 " also normalized 3D coordinates (used for interpreting the altitude and\n"
22097 " azimuth of the viewing angle). The transformations consist of the\n"
22098 " linear transform from 3D world coordinates to normalized 3D\n"
22099 " coordinates, and the 3D rotation of normalized coordinates required to\n"
22100 " align the pole of the new 3D coordinate system with the viewing\n"
22101 " direction specified by altitude and azimuth so that x and y of the\n"
22102 " surface elements in that transformed coordinate system are the\n"
22103 " projection of the 3D surface with given viewing direction on the 2D\n"
22106 " The enclosing rectangular cuboid for the surface plot is defined by\n"
22107 " xmin, xmax, ymin, ymax, zmin and zmax in 3D world coordinates. It is\n"
22108 " mapped into the same rectangular cuboid with normalized 3D coordinate\n"
22109 " sizes of basex by basey by height so that xmin maps to -\n"
22110 " basex/2, xmax maps to basex/2, ymin maps to -\n"
22111 " basey/2, ymax maps to basey/2, zmin maps to 0 and zmax maps to height.\n"
22112 " The resulting rectangular cuboid in normalized coordinates is then\n"
22113 " viewed by an observer at altitude alt and azimuth az. This routine\n"
22114 " must be called before plbox3 or any of the 3D surface plotting\n"
22115 " routines; plmesh, plmeshc, plot3d, plot3dc, plot3dcl, plsurf3d,\n"
22116 " plsurf3dl or plfill3.\n"
22118 " Redacted form: plw3d(basex, basey, height, xmin, xmax, ymin, ymax,\n"
22119 " zmin, zmax, alt, az)\n"
22121 " This function is examples 8, 11, 18, and 21.\n"
22127 "plw3d(basex, basey, height, xmin, xmax, ymin, ymax, zmin, zmax, alt, az)\n"
22131 " basex (PLFLT, input) : The normalized x coordinate size of the\n"
22132 " rectangular cuboid.\n"
22134 " basey (PLFLT, input) : The normalized y coordinate size of the\n"
22135 " rectangular cuboid.\n"
22137 " height (PLFLT, input) : The normalized z coordinate size of the\n"
22138 " rectangular cuboid.\n"
22140 " xmin (PLFLT, input) : The minimum x world coordinate of the\n"
22141 " rectangular cuboid.\n"
22143 " xmax (PLFLT, input) : The maximum x world coordinate of the\n"
22144 " rectangular cuboid.\n"
22146 " ymin (PLFLT, input) : The minimum y world coordinate of the\n"
22147 " rectangular cuboid.\n"
22149 " ymax (PLFLT, input) : The maximum y world coordinate of the\n"
22150 " rectangular cuboid.\n"
22152 " zmin (PLFLT, input) : The minimum z world coordinate of the\n"
22153 " rectangular cuboid.\n"
22155 " zmax (PLFLT, input) : The maximum z world coordinate of the\n"
22156 " rectangular cuboid.\n"
22158 " alt (PLFLT, input) : The viewing altitude in degrees above the xy\n"
22159 " plane of the rectangular cuboid in normalized coordinates.\n"
22161 " az (PLFLT, input) : The viewing azimuth in degrees of the\n"
22162 " rectangular cuboid in normalized coordinates. When az=0, the\n"
22163 " observer is looking face onto the zx plane of the rectangular\n"
22164 " cuboid in normalized coordinates, and as az is increased, the\n"
22165 " observer moves clockwise around that cuboid when viewed from above\n"
22169 { (
char *)
"plwidth",
_wrap_plwidth, METH_VARARGS, (
char *)
"\n"
22174 " Sets the pen width.\n"
22176 " Redacted form: plwidth(width)\n"
22178 " This function is used in examples 1 and 2.\n"
22188 " width (PLFLT, input) : The desired pen width. If width is negative\n"
22189 " or the same as the previous value no action is taken. width = 0.\n"
22190 " should be interpreted as as the minimum valid pen width for the\n"
22191 " device. The interpretation of positive width values is also\n"
22192 " device dependent.\n"
22195 { (
char *)
"plwind",
_wrap_plwind, METH_VARARGS, (
char *)
"\n"
22200 " Specify the window, i.e., the world coordinates of the edges of the\n"
22203 " Redacted form: plwind(xmin, xmax, ymin, ymax)\n"
22205 " This function is used in examples 1, 2, 4, 6-12, 14-16, 18, 21, 23-27,\n"
22212 "plwind(xmin, xmax, ymin, ymax)\n"
22216 " xmin (PLFLT, input) : The world x coordinate of the left-hand edge\n"
22217 " of the viewport.\n"
22219 " xmax (PLFLT, input) : The world x coordinate of the right-hand edge\n"
22220 " of the viewport.\n"
22222 " ymin (PLFLT, input) : The world y coordinate of the bottom edge of\n"
22225 " ymax (PLFLT, input) : The world y coordinate of the top edge of the\n"
22229 { (
char *)
"plxormod",
_wrap_plxormod, METH_VARARGS, (
char *)
"\n"
22230 "Enter or leave xor mode\n"
22234 " Enter (when mode is true) or leave (when mode is false) xor mode for\n"
22235 " those drivers (e.g., the xwin driver) that support it. Enables\n"
22236 " erasing plots by drawing twice the same line, symbol, etc. If driver\n"
22237 " is not capable of xor operation it returns a status of false.\n"
22239 " Redacted form: plxormod(mode, status)\n"
22241 " This function is used in examples 1 and 20.\n"
22247 "plxormod(mode, status)\n"
22251 " mode (PLBOOL, input) : mode is true means enter xor mode and mode\n"
22252 " is false means leave xor mode.\n"
22254 " status (PLBOOL_NC_SCALAR, output) : Returned value of the status.\n"
22255 " modestatus of true (false) means driver is capable (incapable) of\n"
22259 { (
char *)
"plmap",
_wrap_plmap, METH_VARARGS, (
char *)
"\n"
22260 "Plot continental outline or shapefile data in world coordinates\n"
22264 " Plots continental outlines or shapefile data in world coordinates. A\n"
22265 " demonstration of how to use this function to create different\n"
22266 " projections can be found in examples/c/x19c. PLplot is provided with\n"
22267 " basic coastal outlines and USA state borders. These can be used\n"
22268 " irrespective of whether Shapefile support is built into PLplot. With\n"
22269 " Shapefile support this function can also be used with user Shapefiles,\n"
22270 " in which case it will plot the entire contents of a Shapefile joining\n"
22271 " each point of each Shapefile element with a line. Shapefiles have\n"
22272 " become a popular standard for geographical data and data in this\n"
22273 " format can be easily found from a number of online sources. Shapefile\n"
22274 " data is actually provided as three or more files with the same\n"
22275 " filename, but different extensions. The .shp and .shx files are\n"
22276 " required for plotting Shapefile data with PLplot.\n"
22278 " Redacted form: plmap(mapform, name, minx, maxx, miny, maxy)\n"
22280 " This function is used in example 19.\n"
22286 "plmap(mapform, name, minx, maxx, miny, maxy)\n"
22290 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22291 " transform the original map data coordinates to a new coordinate\n"
22292 " system. The PLplot-supplied map data is provided as latitudes and\n"
22293 " longitudes; other Shapefile data may be provided in other\n"
22294 " coordinate systems as can be found in their .prj plain text files.\n"
22295 " For example, by using this transform we can change from a\n"
22296 " longitude, latitude coordinate to a polar stereographic\n"
22297 " projection. Initially, x[0]..[n-1] are the original x coordinates\n"
22298 " (longitudes for the PLplot-supplied data) and y[0]..y[n-1] are the\n"
22299 " corresponding y coordinates (latitudes for the PLplot supplied\n"
22300 " data). After the call to mapform(), x[] and y[] should be\n"
22301 " replaced by the corresponding plot coordinates. If no transform is\n"
22302 " desired, mapform can be replaced by NULL.\n"
22304 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22305 " the type of map plotted. This is either one of the PLplot built-in\n"
22306 " maps or the file name of a set of Shapefile files without the file\n"
22307 " extensions. For the PLplot built-in maps the possible values are:\n"
22308 " \"globe\" -- continental outlines\n"
22309 " \"usa\" -- USA and state boundaries\n"
22310 " \"cglobe\" -- continental outlines and countries\n"
22311 " \"usaglobe\" -- USA, state boundaries and continental outlines\n"
22314 " minx (PLFLT, input) : The minimum x value of map elements to be\n"
22315 " drawn. For the built in maps this is a measure of longitude. For\n"
22316 " Shapefiles the units must match the projection. The value of minx\n"
22317 " must be less than the value of maxx. Specifying a useful limit for\n"
22318 " these limits provides a useful optimization for complex or\n"
22319 " detailed maps.\n"
22321 " maxx (PLFLT, input) : The maximum x value of map elements to be\n"
22324 " miny (PLFLT, input) : The minimum y value of map elements to be\n"
22325 " drawn. For the built in maps this is a measure of latitude. For\n"
22326 " Shapefiles the units must match the projection. The value of miny\n"
22327 " must be less than the value of maxy.\n"
22329 " maxy (PLFLT, input) : The maximum y value of map elements to be\n"
22334 "Plot all or a subset of Shapefile data using lines in world coordinates\n"
22338 " Plot all or a subset of Shapefile data using lines in world\n"
22339 " coordinates. Our 19th standard example demonstrates how to use this\n"
22340 " function. This function plots data from a Shapefile using lines as in\n"
22341 " plmap, however it also has the option of also only drawing specified\n"
22342 " elements from the Shapefile. The vector of indices of the required\n"
22343 " elements are passed as a function argument. The Shapefile data should\n"
22344 " include a metadata file (extension.dbf) listing all items within the\n"
22345 " Shapefile. This file can be opened by most popular spreadsheet\n"
22346 " programs and can be used to decide which indices to pass to this\n"
22349 " Redacted form: plmapline(mapform, name, minx, maxx, miny, maxy,\n"
22352 " This function is used in example 19.\n"
22358 "plmapline(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22362 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22363 " transform the coordinates given in the shapefile into a plot\n"
22364 " coordinate system. By using this transform, we can change from a\n"
22365 " longitude, latitude coordinate to a polar stereographic project,\n"
22366 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22367 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22368 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22369 " plot coordinates. If no transform is desired, mapform can be\n"
22370 " replaced by NULL.\n"
22372 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22373 " the file name of a set of Shapefile files without the file\n"
22376 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22377 " be in the same units as used by the Shapefile. You could use a\n"
22378 " very large negative number to plot everything, but you can improve\n"
22379 " performance by limiting the area drawn. The units must match those\n"
22380 " of the Shapefile projection, which may be for example longitude or\n"
22381 " distance. The value of minx must be less than the value of maxx.\n"
22383 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22384 " use a very large number to plot everything, but you can improve\n"
22385 " performance by limiting the area drawn.\n"
22387 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22388 " be in the same units as used by the Shapefile. You could use a\n"
22389 " very large negative number to plot everything, but you can improve\n"
22390 " performance by limiting the area drawn. The units must match those\n"
22391 " of the Shapefile projection, which may be for example latitude or\n"
22392 " distance. The value of miny must be less than the value of maxy.\n"
22394 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22395 " use a very large number to plot everything, but you can improve\n"
22396 " performance by limiting the area drawn.\n"
22398 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22399 " zero-based indices of the Shapefile elements which will be drawn.\n"
22401 " plotentries to NULL will plot all elements of the Shapefile.\n"
22403 " nplotentries (PLINT, input) : The number of items in\n"
22404 " plotentries. Ignored if\n"
22405 " plotentries is NULL.\n"
22409 "Plot all or a subset of Shapefile data using strings or points in world coordinates\n"
22413 " As per plmapline, however the items are plotted as strings or points\n"
22414 " in the same way as plstring.\n"
22416 " Redacted form: plmapstring(mapform, name, string, minx, maxx, miny,\n"
22417 " maxy, plotentries)\n"
22419 " This function is not used in any examples.\n"
22425 "plmapstring(mapform, name, string, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22429 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22430 " transform the coordinates given in the shapefile into a plot\n"
22431 " coordinate system. By using this transform, we can change from a\n"
22432 " longitude, latitude coordinate to a polar stereographic project,\n"
22433 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22434 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22435 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22436 " plot coordinates. If no transform is desired, mapform can be\n"
22437 " replaced by NULL.\n"
22439 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22440 " the file name of a set of Shapefile files without the file\n"
22443 " string (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
22446 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22447 " be in the same units as used by the Shapefile. You could use a\n"
22448 " very large negative number to plot everything, but you can improve\n"
22449 " performance by limiting the area drawn. The units must match those\n"
22450 " of the Shapefile projection, which may be for example longitude or\n"
22451 " distance. The value of minx must be less than the value of maxx.\n"
22453 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22454 " use a very large number to plot everything, but you can improve\n"
22455 " performance by limiting the area drawn.\n"
22457 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22458 " be in the same units as used by the Shapefile. You could use a\n"
22459 " very large negative number to plot everything, but you can improve\n"
22460 " performance by limiting the area drawn. The units must match those\n"
22461 " of the Shapefile projection, which may be for example latitude or\n"
22462 " distance. The value of miny must be less than the value of maxy.\n"
22464 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22465 " use a very large number to plot everything, but you can improve\n"
22466 " performance by limiting the area drawn.\n"
22468 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22469 " zero-based indices of the Shapefile elements which will be drawn.\n"
22471 " plotentries to NULL will plot all elements of the Shapefile.\n"
22473 " nplotentries (PLINT, input) : The number of items in\n"
22474 " plotentries. Ignored if\n"
22475 " plotentries is NULL.\n"
22478 { (
char *)
"plmaptex",
_wrap_plmaptex, METH_VARARGS, (
char *)
"\n"
22479 "Draw text at points defined by Shapefile data in world coordinates\n"
22483 " As per plmapline, however the items are plotted as text in the same\n"
22484 " way as plptex.\n"
22486 " Redacted form: plmaptex(mapform, name, dx, dy, just, text, minx, maxx,\n"
22487 " miny, maxy, plotentry)\n"
22489 " This function is used in example 19.\n"
22495 "plmaptex(mapform, name, dx, dy, just, text, minx, maxx, miny, maxy, plotentry)\n"
22499 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22500 " transform the coordinates given in the shapefile into a plot\n"
22501 " coordinate system. By using this transform, we can change from a\n"
22502 " longitude, latitude coordinate to a polar stereographic project,\n"
22503 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22504 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22505 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22506 " plot coordinates. If no transform is desired, mapform can be\n"
22507 " replaced by NULL.\n"
22509 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22510 " the file name of a set of Shapefile files without the file\n"
22513 " dx (PLFLT, input) : Used to define the slope of the texts which is\n"
22516 " dy (PLFLT, input) : Used to define the slope of the texts which is\n"
22519 " just (PLFLT, input) : Set the justification of the text. The value\n"
22520 " given will be the fraction of the distance along the string that\n"
22521 " sits at the given point. 0.0 gives left aligned text, 0.5 gives\n"
22522 " centralized text and 1.0 gives right aligned text.\n"
22524 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be drawn.\n"
22526 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22527 " be in the same units as used by the Shapefile. You could use a\n"
22528 " very large negative number to plot everything, but you can improve\n"
22529 " performance by limiting the area drawn. The units must match those\n"
22530 " of the Shapefile projection, which may be for example longitude or\n"
22531 " distance. The value of minx must be less than the value of maxx.\n"
22533 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22534 " use a very large number to plot everything, but you can improve\n"
22535 " performance by limiting the area drawn.\n"
22537 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22538 " be in the same units as used by the Shapefile. You could use a\n"
22539 " very large negative number to plot everything, but you can improve\n"
22540 " performance by limiting the area drawn. The units must match those\n"
22541 " of the Shapefile projection, which may be for example latitude or\n"
22542 " distance. The value of miny must be less than the value of maxy.\n"
22544 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22545 " use a very large number to plot everything, but you can improve\n"
22546 " performance by limiting the area drawn.\n"
22548 " plotentry (PLINT, input) : An integer indicating which text string\n"
22549 " of the Shapefile (zero indexed) will be drawn.\n"
22553 "Plot all or a subset of Shapefile data, filling the polygons\n"
22557 " As per plmapline, however the items are filled in the same way as\n"
22560 " Redacted form: plmapfill(mapform, name, minx, maxx, miny, maxy,\n"
22563 " This function is used in example 19.\n"
22569 "plmapfill(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22573 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22574 " transform the coordinates given in the shapefile into a plot\n"
22575 " coordinate system. By using this transform, we can change from a\n"
22576 " longitude, latitude coordinate to a polar stereographic project,\n"
22577 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22578 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22579 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22580 " plot coordinates. If no transform is desired, mapform can be\n"
22581 " replaced by NULL.\n"
22583 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22584 " the file name of a set of Shapefile files without the file\n"
22587 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22588 " be in the same units as used by the Shapefile. You could use a\n"
22589 " very large negative number to plot everything, but you can improve\n"
22590 " performance by limiting the area drawn. The units must match those\n"
22591 " of the Shapefile projection, which may be for example longitude or\n"
22592 " distance. The value of minx must be less than the value of maxx.\n"
22594 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22595 " use a very large number to plot everything, but you can improve\n"
22596 " performance by limiting the area drawn.\n"
22598 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22599 " be in the same units as used by the Shapefile. You could use a\n"
22600 " very large negative number to plot everything, but you can improve\n"
22601 " performance by limiting the area drawn. The units must match those\n"
22602 " of the Shapefile projection, which may be for example latitude or\n"
22603 " distance. The value of miny must be less than the value of maxy.\n"
22605 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22606 " use a very large number to plot everything, but you can improve\n"
22607 " performance by limiting the area drawn.\n"
22609 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22610 " zero-based indices of the Shapefile elements which will be drawn.\n"
22612 " plotentries to NULL will plot all elements of the Shapefile.\n"
22614 " nplotentries (PLINT, input) : The number of items in\n"
22615 " plotentries. Ignored if\n"
22616 " plotentries is NULL.\n"
22620 "Plot latitude and longitude lines\n"
22624 " Displays latitude and longitude on the current plot. The lines are\n"
22625 " plotted in the current color and line style.\n"
22627 " Redacted form: plmeridians(mapform, dlong, dlat, minlong, maxlong,\n"
22628 " minlat, maxlat)\n"
22630 " This function is used in example 19.\n"
22636 "plmeridians(mapform, dlong, dlat, minlong, maxlong, minlat, maxlat)\n"
22640 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22641 " transform the coordinate longitudes and latitudes to a plot\n"
22642 " coordinate system. By using this transform, we can change from a\n"
22643 " longitude, latitude coordinate to a polar stereographic project,\n"
22644 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22645 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22646 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22647 " plot coordinates. If no transform is desired, mapform can be\n"
22648 " replaced by NULL.\n"
22650 " dlong (PLFLT, input) : The interval in degrees at which the\n"
22651 " longitude lines are to be plotted.\n"
22653 " dlat (PLFLT, input) : The interval in degrees at which the latitude\n"
22654 " lines are to be plotted.\n"
22656 " minlong (PLFLT, input) : The value of the longitude on the left\n"
22657 " side of the plot. The value of minlong must be less than the value\n"
22658 " of maxlong, and the quantity maxlong-minlong must be less than or\n"
22661 " maxlong (PLFLT, input) : The value of the longitude on the right\n"
22662 " side of the plot.\n"
22664 " minlat (PLFLT, input) : The minimum latitude to be plotted on the\n"
22665 " background. One can always use -90.0 as the boundary outside the\n"
22666 " plot window will be automatically eliminated. However, the\n"
22667 " program will be faster if one can reduce the size of the\n"
22668 " background plotted.\n"
22670 " maxlat (PLFLT, input) : The maximum latitudes to be plotted on the\n"
22671 " background. One can always use 90.0 as the boundary outside the\n"
22672 " plot window will be automatically eliminated.\n"
22675 { (
char *)
"plimage",
_wrap_plimage, METH_VARARGS, (
char *)
"\n"
22676 "Plot a 2D matrix using cmap1 with automatic color adjustment\n"
22680 " Plot a 2D matrix using the cmap1 palette. The color scale is\n"
22681 " automatically adjusted to use the maximum and minimum values in idata\n"
22682 " as valuemin and valuemax in a call to plimagefr.\n"
22684 " Redacted form: General: plimage(idata, xmin, xmax, ymin, ymax, zmin,\n"
22685 " zmax, Dxmin, Dxmax, Dymin, Dymax)\n"
22688 " This function is used in example 20.\n"
22694 "plimage(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, Dxmin, Dxmax, Dymin, Dymax)\n"
22698 " idata (PLFLT_MATRIX, input) : A matrix containing function values\n"
22699 " to plot. Should have dimensions of\n"
22703 " nx, ny (PLINT, input) : Dimensions of idata\n"
22705 " xmin, xmax, ymin, ymax (PLFLT, input) : The x and y index ranges\n"
22706 " are linearly transformed to these world coordinate ranges such\n"
22707 " that idata[0][0] corresponds to (xmin, ymin) and idata[nx - 1][ny\n"
22708 " - 1] corresponds to (xmax, ymax).\n"
22710 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n"
22711 " (inclusive) will be plotted.\n"
22713 " Dxmin, Dxmax, Dymin, Dymax (PLFLT, input) : Plot only the window of\n"
22714 " points whose plot coordinates fall inside the window of (Dxmin,\n"
22715 " Dymin) to (Dxmax, Dymax).\n"
22719 "Plot a 2D matrix using cmap1\n"
22723 " Plot a 2D matrix using cmap1.\n"
22725 " Redacted form: General: plimagefr(idata, xmin, xmax, ymin, ymax, zmin,\n"
22726 " zmax, valuemin, valuemax, pltr, pltr_data)\n"
22729 " This function is used in example 20.\n"
22735 "plimagefr(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr, pltr_data)\n"
22739 " idata (PLFLT_MATRIX, input) : A matrix of values (intensities) to\n"
22740 " plot. Should have dimensions of\n"
22744 " nx, ny (PLINT, input) : Dimensions of idata\n"
22746 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
22747 " pltr below for how these arguments are used (only for the special case\n"
22748 " when the callback function\n"
22749 " pltr is not supplied).\n"
22751 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n"
22752 " (inclusive) will be plotted.\n"
22754 " valuemin, valuemax (PLFLT, input) : The minimum and maximum data\n"
22755 " values to use for value to color mappings. A datum equal to or\n"
22756 " less than valuemin will be plotted with color 0.0, while a datum\n"
22757 " equal to or greater than valuemax will be plotted with color 1.0.\n"
22758 " Data between valuemin and valuemax map linearly to colors in the\n"
22759 " range (0.0-1.0).\n"
22761 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
22762 " defines the transformation between the zero-based indices of the\n"
22763 " matrix idata and world coordinates. If\n"
22764 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
22765 " indices of idata are mapped to the range\n"
22767 " xmax and the y indices of idata are mapped to the range\n"
22769 " ymax.For the C case, transformation functions are provided in the\n"
22770 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
22771 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
22772 " matrices. In addition, C callback routines for the transformation\n"
22773 " can be supplied by the user such as the mypltr function in\n"
22774 " examples/c/x09c.c which provides a general linear transformation\n"
22775 " between index coordinates and world coordinates.For languages\n"
22776 " other than C you should consult the PLplot documentation for the\n"
22777 " details concerning how PLTRANSFORM_callback arguments are\n"
22778 " interfaced. However, in general, a particular pattern of\n"
22779 " callback-associated arguments such as a tr vector with 6 elements;\n"
22780 " xg and yg vectors; or xg and yg matrices are respectively\n"
22781 " interfaced to a linear-transformation routine similar to the above\n"
22782 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
22783 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
22784 " support native language callbacks for handling index to\n"
22785 " world-coordinate transformations. Examples of these various\n"
22786 " approaches are given in examples/<language>x09*,\n"
22787 " examples/<language>x16*, examples/<language>x20*,\n"
22788 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
22789 " supported languages.\n"
22791 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
22792 " information to pltr0, pltr1, pltr2, or whatever routine is\n"
22793 " externally supplied.\n"
22802 "Wait for graphics input event and translate to world coordinates.\n"
22806 " Wait for graphics input event and translate to world coordinates.\n"
22807 " Returns 0 if no translation to world coordinates is possible.\n"
22809 " This function returns 1 on success and 0 if no translation to world\n"
22810 " coordinates is possible.\n"
22812 " Redacted form: plGetCursor(gin)\n"
22814 " This function is used in examples 1 and 20.\n"
22820 "PLINT plGetCursor(gin)\n"
22824 " gin (PLGraphicsIn *, output) : Pointer to PLGraphicsIn structure\n"
22825 " which will contain the output. The structure is not allocated by\n"
22826 " the routine and must exist before the function is called.\n"
22829 { NULL, NULL, 0, NULL }
22903 {0, 0, 0, 0.0, 0, 0}};
22957 #define SWIGRUNTIME_DEBUG
22968 if (swig_module.
next==0) {
22980 if (!module_head) {
22990 if (iter==&swig_module) {
22995 }
while (iter!= module_head);
23000 swig_module.
next = module_head->
next;
23008 if (init == 0)
return;
23011 #ifdef SWIGRUNTIME_DEBUG
23012 printf(
"SWIG_InitializeModule: size %d\n", swig_module.
size);
23014 for (i = 0; i < swig_module.
size; ++i) {
23019 #ifdef SWIGRUNTIME_DEBUG
23020 printf(
"SWIG_InitializeModule: type %d %s\n", i, swig_module.
type_initial[i]->
name);
23024 if (swig_module.
next != &swig_module) {
23029 #ifdef SWIGRUNTIME_DEBUG
23030 printf(
"SWIG_InitializeModule: found type %s\n", type->
name);
23034 #ifdef SWIGRUNTIME_DEBUG
23035 printf(
"SWIG_InitializeModule: found and overwrite type %s \n", type->
name);
23044 while (cast->
type) {
23047 #ifdef SWIGRUNTIME_DEBUG
23048 printf(
"SWIG_InitializeModule: look cast %s\n", cast->
type->
name);
23050 if (swig_module.
next != &swig_module) {
23052 #ifdef SWIGRUNTIME_DEBUG
23053 if (ret) printf(
"SWIG_InitializeModule: found cast %s\n", ret->
name);
23058 #ifdef SWIGRUNTIME_DEBUG
23059 printf(
"SWIG_InitializeModule: skip old type %s\n", ret->
name);
23066 #ifdef SWIGRUNTIME_DEBUG
23067 if (ocast) printf(
"SWIG_InitializeModule: skip old cast %s\n", ret->
name);
23069 if (!ocast) ret = 0;
23074 #ifdef SWIGRUNTIME_DEBUG
23075 printf(
"SWIG_InitializeModule: adding cast %s\n", cast->
type->
name);
23086 swig_module.
types[i] = type;
23088 swig_module.
types[i] = 0;
23090 #ifdef SWIGRUNTIME_DEBUG
23091 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
23092 for (i = 0; i < swig_module.
size; ++i) {
23095 printf(
"SWIG_InitializeModule: type %d %s\n", i, swig_module.
type_initial[i]->
name);
23096 while (cast->
type) {
23097 printf(
"SWIG_InitializeModule: cast type %s\n", cast->
type->
name);
23101 printf(
"---- Total casts: %d\n",j);
23103 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
23116 static int init_run = 0;
23118 if (init_run)
return;
23121 for (i = 0; i < swig_module.
size; i++) {
23129 equiv = equiv->
next;
23150 #define SWIG_newvarlink() SWIG_Python_newvarlink()
23151 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
23152 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
23160 PyObject *(*get_attr)(void);
23172 #if PY_VERSION_HEX >= 0x03000000
23173 return PyUnicode_InternFromString(
"<Swig global variables>");
23175 return PyString_FromString(
"<Swig global variables>");
23181 #if PY_VERSION_HEX >= 0x03000000
23182 PyObject *str = PyUnicode_InternFromString(
"(");
23186 for (var = v->
vars; var; var=var->
next) {
23187 tail = PyUnicode_FromString(var->
name);
23188 joined = PyUnicode_Concat(str, tail);
23193 tail = PyUnicode_InternFromString(
", ");
23194 joined = PyUnicode_Concat(str, tail);
23200 tail = PyUnicode_InternFromString(
")");
23201 joined = PyUnicode_Concat(str, tail);
23206 PyObject *str = PyString_FromString(
"(");
23208 for (var = v->
vars; var; var=var->
next) {
23209 PyString_ConcatAndDel(&str,PyString_FromString(var->
name));
23210 if (var->
next) PyString_ConcatAndDel(&str,PyString_FromString(
", "));
23212 PyString_ConcatAndDel(&str,PyString_FromString(
")"));
23221 fprintf(fp,
"Swig global variables ");
23241 PyObject *res = NULL;
23244 if (strcmp(var->
name,n) == 0) {
23250 if (res == NULL && !PyErr_Occurred()) {
23251 PyErr_SetString(PyExc_NameError,
"Unknown C global variable");
23261 if (strcmp(var->
name,n) == 0) {
23267 if (res == 1 && !PyErr_Occurred()) {
23268 PyErr_SetString(PyExc_NameError,
"Unknown C global variable");
23275 static char varlink__doc__[] =
"Swig var link object";
23276 static PyTypeObject varlink_type;
23277 static int type_init = 0;
23279 const PyTypeObject tmp = {
23281 #if PY_VERSION_HEX >= 0x03000000
23282 PyVarObject_HEAD_INIT(NULL, 0)
23284 PyObject_HEAD_INIT(NULL)
23287 (
char *)
"swigvarlink",
23311 #if PY_VERSION_HEX >= 0x02020000
23312 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
23314 #if PY_VERSION_HEX >= 0x02030000
23317 #if PY_VERSION_HEX >= 0x02060000
23320 #ifdef COUNT_ALLOCS
23324 varlink_type = tmp;
23326 #if PY_VERSION_HEX < 0x02020000
23327 varlink_type.ob_type = &PyType_Type;
23329 if (PyType_Ready(&varlink_type) < 0)
23333 return &varlink_type;
23343 return ((PyObject*) result);
23351 size_t size = strlen(name)+1;
23352 gv->
name = (
char *)malloc(size);
23354 strncpy(gv->
name,name,size);
23365 static PyObject *_SWIG_globals = 0;
23367 return _SWIG_globals;
23379 for (i = 0; constants[i].
type; ++i) {
23380 switch(constants[i].type) {
23385 obj =
SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
23392 PyDict_SetItemString(d, constants[i].name, obj);
23408 for (i = 0; methods[i].ml_name; ++i) {
23409 const char *c = methods[i].ml_doc;
23410 if (c && (c = strstr(c,
"swig_ptr: "))) {
23413 const char *name = c + 10;
23414 for (j = 0; const_table[j].
type; ++j) {
23415 if (strncmp(const_table[j].name, name,
23416 strlen(const_table[j].name)) == 0) {
23417 ci = &(const_table[j]);
23424 size_t shift = (ci->
ptype) - types;
23426 size_t ldoc = (c - methods[i].ml_doc);
23427 size_t lptr = strlen(ty->
name)+2*
sizeof(
void*)+2;
23428 char *ndoc = (
char*)malloc(ldoc + lptr + 10);
23431 strncpy(buff, methods[i].ml_doc, ldoc);
23433 strncpy(buff,
"swig_ptr: ", 10);
23436 methods[i].ml_doc = ndoc;
23457 #if PY_VERSION_HEX >= 0x03000000
23463 PyObject *m, *d, *md;
23464 #if PY_VERSION_HEX >= 0x03000000
23465 static struct PyModuleDef SWIG_module = {
23466 # if PY_VERSION_HEX >= 0x03020000
23467 PyModuleDef_HEAD_INIT,
23470 PyObject_HEAD_INIT(NULL)
23487 #if defined(SWIGPYTHON_BUILTIN)
23489 0, 0, 0, 0, 0, 0, 0
23491 static PyGetSetDef this_getset_def = {
23492 (
char *)
"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
23494 static SwigPyGetSet thisown_getset_closure = {
23498 static PyGetSetDef thisown_getset_def = {
23499 (
char *)
"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
23501 PyObject *metatype_args;
23502 PyTypeObject *builtin_pytype;
23503 int builtin_base_count;
23506 PyGetSetDescrObject *static_getset;
23507 PyTypeObject *metatype;
23509 PyObject *public_interface, *public_symbol;
23510 PyObject *this_descr;
23511 PyObject *thisown_descr;
23514 (void)builtin_pytype;
23515 (void)builtin_base_count;
23516 (void)builtin_basetype;
23518 (void)static_getset;
23521 metatype_args = Py_BuildValue(
"(s(O){})",
"SwigPyObjectType", &PyType_Type);
23522 assert(metatype_args);
23523 metatype = (PyTypeObject *) PyType_Type.tp_call((PyObject *) &PyType_Type, metatype_args, NULL);
23525 Py_DECREF(metatype_args);
23526 metatype->tp_setattro = (setattrofunc) &SwigPyObjectType_setattro;
23527 assert(PyType_Ready(metatype) >= 0);
23533 #if PY_VERSION_HEX >= 0x03000000
23534 m = PyModule_Create(&SWIG_module);
23536 m = Py_InitModule((
char *)
SWIG_name, SwigMethods);
23538 md = d = PyModule_GetDict(m);
23543 #ifdef SWIGPYTHON_BUILTIN
23545 assert(SwigPyObject_stype);
23548 SwigPyObject_stype->
clientdata = &SwigPyObject_clientdata;
23551 PyErr_SetString(PyExc_RuntimeError,
"Import error: attempted to load two incompatible swig-generated modules.");
23552 # if PY_VERSION_HEX >= 0x03000000
23565 (void)thisown_descr;
23567 public_interface = PyList_New(0);
23569 (void)public_symbol;
23571 PyDict_SetItemString(md,
"__all__", public_interface);
23572 Py_DECREF(public_interface);
23573 for (i = 0; SwigMethods[i].ml_name != NULL; ++i)
23574 SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name);
23576 SwigPyBuiltin_AddPublicSymbol(public_interface,
swig_const_table[i].name);
23758 #if PY_VERSION_HEX >= 0x03000000
SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata)
SWIGRUNTIME SwigPyClientData * SwigPyClientData_New(PyObject *obj)
SWIGINTERN char * SWIG_Python_str_AsChar(PyObject *str)
#define SWIG_PYBUFFER_SIZE
SWIGINTERN PyObject * _wrap_plrandd(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plscolbg(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_PYTHON_THREAD_END_BLOCK
#define SWIG_STATIC_POINTER(var)
SWIGINTERN PyObject * _wrap_plflush(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plmapfill(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_type_info _swigt__p_f_int_double_p_char_int_p_void__void
SWIGINTERNINLINE int SWIG_CanCastAsInteger(double *d, double min, double max)
SWIGINTERN PyObject * _wrap_plbox(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plconfigtime(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
void cleanup_PLcGrid1(void)
static swig_type_info _swigt__p_PLGraphicsIn
SWIGINTERN PyObject * _wrap_pltr1(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
PLPointer marshal_PLPointer(PyObject *input, int isimg)
SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz)
PLFLT(* f2eval_func)(PLINT, PLINT, PLPointer)
SWIGINTERN PyObject * _wrap_plscmap0n(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plgpage(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN void SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj)
#define SWIG_MangledTypeQuery(name)
SWIGINTERN PyObject * _wrap_plot3dc(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * SwigPyObject_getattr(SwigPyObject *sobj, char *name)
PLINT plGetCursor(PLGraphicsIn *plg)
SWIGINTERN PyObject * _wrap_plstyl(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
PyObject_HEAD swig_globalvar * vars
SWIGINTERN PyObject * _wrap_plstripa(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plGetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
struct swig_varlinkobject swig_varlinkobject
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dX_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plOptUsage(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plscompression(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_pltimefmt(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n)
void do_pltr_callback(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer data)
SWIGINTERN PyObject * _wrap_plgvpd(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
struct swig_cast_info swig_cast_info
SWIGINTERN PyObject * _wrap_plwind(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
SWIGINTERN PyObject * _wrap_plptex(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wX_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plinit(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plhist(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_AttributeError
SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
SWIGINTERN PyObject * SwigPyObject_acquire(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_plspal1(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME PyObject * SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *SWIGUNUSEDPARM(func))
getwritebufferproc writebufferproc
static swig_type_info * swig_type_initial[]
#define SWIG_InstallConstants(d, constants)
SWIGINTERN PyObject * _wrap_plseed(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plgxax(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIGUNUSEDPARM(p)
SWIGINTERN PyObject * _wrap_plspause(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_Python_CallFunctor(functor, obj)
#define SWIG_DivisionByZero
SWIGINTERN PyObject * _wrap_plmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static PyMethodDef SwigMethods[]
SWIGINTERN PyObject * _wrap_plcont(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plmesh(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
struct swig_globalvar * next
SWIGRUNTIME const char * SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name)
SWIGINTERN void SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int(*set_attr)(PyObject *p))
SWIGRUNTIME int SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w)
SWIGINTERN PyObject * _wrap_plfamadv(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
void cleanup_mapform(void)
static swig_type_info _swigt__p_f_int_p_q_const__double_p_q_const__double__void
SWIGINTERN PyObject * _wrap_plline(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plbox3(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plmapline(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
void *(* swig_converter_func)(void *, int *)
SWIGINTERN PyObject * _wrap_plsetopt(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIMEINLINE int SWIG_Python_CheckImplicit(swig_type_info *ty)
static swig_type_info _swigt__p_p_double
SWIGRUNTIME swig_type_info * SWIG_Python_TypeQuery(const char *type)
SWIGINTERN PyObject * _wrap_plbin(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsdev(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
PyObject_HEAD void * pack
SWIGINTERN PyObject * _wrap_plscmap1l(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
void do_ct_callback(PLFLT x, PLFLT y, PLFLT *xt, PLFLT *yt, PLPointer data)
void plmapline(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT_VECTOR plotentries, PLINT nplotentries)
SWIGRUNTIME PyObject * SwigPyObject_repr(SwigPyObject *v, PyObject *args)
SWIGRUNTIME PyObject * SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags)
SWIGRUNTIMEINLINE PyObject * _SWIG_This(void)
SWIGINTERN PyObject * _wrap_plctime(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define pl_setcontlabelparam
static swig_module_info swig_module
SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty)
SWIGINTERN PyObject * _wrap_plpsty(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
struct swig_cast_info * cast
static PyObject * swig_this
SWIGINTERN PyObject * _wrap_plspage(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsdidev(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
struct swig_globalvar swig_globalvar
SWIGINTERN PyObject * _wrap_PLGraphicsIn_subwindow_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIMEINLINE PyObject * SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define Py_NotImplemented
static swig_type_info _swigt__p_int
SWIGRUNTIME PyTypeObject * SwigPyPacked_type(void)
SWIGINTERN PyObject * _wrap_plMinMax2dGrid(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
ct_func marshal_ct(PyObject *input)
#define SWIG_Python_ConvertPtr(obj, pptr, type, flags)
SWIGRUNTIME PyTypeObject * SwigPyPacked_TypeOnce(void)
SWIGINTERN PyObject * _wrap_plend1(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_pljoin(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
void plmeridians(PLMAPFORM_callback mapform, PLFLT dlong, PLFLT dlat, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat)
SWIGRUNTIME int SWIG_Python_AddErrMesg(const char *mesg, int infront)
void plmaptex(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLFLT dx, PLFLT dy, PLFLT just, PLCHAR_VECTOR text, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT plotentry)
SWIGINTERN PyObject * _wrap_plbtime(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN void SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[])
SWIGINTERN PyObject * swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v))
SWIGINTERN PyObject * _wrap_plscmap1(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
SWIGINTERN PyObject * _wrap_plsfont(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plbop(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_type_info _swigt__p_unsigned_int
void(* mapform_func)(PLINT, PLFLT *, PLFLT *)
SWIGRUNTIMEINLINE PyObject * SWIG_Python_ExceptionType(swig_type_info *desc)
static swig_type_info _swigt__p_f_double_double__int
SWIGRUNTIME char * SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz)
SWIGINTERN int SWIG_AsVal_double(PyObject *obj, double *val)
#define SWIG_DelNewMask(r)
#define SWIG_NewPointerObj(ptr, type, flags)
SWIGINTERN PyObject * _wrap_plsmin(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_string_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plmtex3(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plpoin3(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type)
static swig_cast_info _swigc__p_p_double[]
SWIGINTERN PyObject * _wrap_plgcol0(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plenv(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
pltr_func marshal_pltr(PyObject *input)
static swig_cast_info _swigc__p_PLcGrid2[]
SWIGINTERN PyObject * _wrap_plshades(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plot3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plpath(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_TypeQuery(name)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wY_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plgfam(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * SWIG_Python_str_FromChar(const char *c)
#define SWIG_Python_str_DelForPy3(x)
PyMappingMethods as_mapping
SWIGINTERN void swig_varlink_dealloc(swig_varlinkobject *v)
SWIGINTERNINLINE PyObject * SWIG_FromCharPtrAndSize(const char *carray, size_t size)
SWIGINTERN int swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p)
SWIGRUNTIMEINLINE int SwigPyPacked_Check(PyObject *op)
#define SWIG_GetModule(clientdata)
SWIGINTERN PyObject * _wrap_plpoin(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plfont(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_pllightsource(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_pleop(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata)
SWIGRUNTIME void SwigPyPacked_dealloc(PyObject *v)
#define SWIG_as_voidptrptr(a)
SWIGINTERN PyObject * _wrap_plgdidev(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plmtex(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plvsta(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_cast_info _swigc__p_double[]
SWIGINTERN PyObject * SwigPyObject_own(PyObject *v, PyObject *args)
#define SWIG_RuntimeError
struct swig_type_info swig_type_info
SWIGRUNTIME int SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own)
static swig_type_info _swigt__p_p_char
#define SWIG_BUILTIN_TP_INIT
#define PyString_AsStringAndSize(obj, s, len)
SWIGINTERN PyObject * _wrap_plscol0a(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plglevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_ConvertPtr(obj, pptr, type, flags)
SWIGINTERN PyObject * _wrap_plstring(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_Python_str_FromFormat
SWIGRUNTIME int SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty)
SWIGINTERN PyObject * _wrap_plmkstrm(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_new_PLGraphicsIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsyax(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_cast_info _swigc__p_f_int_double_p_char_int_p_void__void[]
#define SWIG_POINTER_NOSHADOW
SWIGINTERN PyObject * _wrap_PLGraphicsIn_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_pltr2(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plgcolbga(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME void SWIG_Python_SetModule(swig_module_info *swig_module)
static PyObject * PyString_FromFormat(const char *fmt,...)
getcharbufferproc charbufferproc
SWIGINTERN PyObject * _wrap_plsmema(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
PLcGrid * marshal_PLcGrid1(PyObject *input, int isimg)
SWIGINTERN PyObject * _wrap_plscmap1_range(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_const_info swig_const_table[]
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dX_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME int SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty)
SWIGINTERN PyObject * _wrap_plgdev(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsvpa(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
void do_mapform_callback(PLINT n, PLFLT *x, PLFLT *y)
SWIGINTERN PyObject * _wrap_pl_setcontlabelformat(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsmem(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_type_info _swigt__p_char
#define SWIG_AddNewMask(r)
SWIGINTERN PyObject * _wrap_plmapstring(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plstring3(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyTypeObject * swig_varlink_type(void)
SWIGRUNTIME void SWIG_Python_DestroyModule(void *vptr)
SWIGRUNTIME int SWIG_TypeNameComp(const char *f1, const char *l1, const char *f2, const char *l2)
static swig_type_info _swigt__p_PLcGrid
SWIGINTERN PyObject * _wrap_plerry(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME int SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w)
SWIGINTERN int SWIG_AsVal_long(PyObject *obj, long *val)
SWIGINTERN PyObject * _wrap_plparseopts(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plxormod(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
PyNumberMethods as_number
SWIGRUNTIME char * SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz)
SWIGINTERN PyObject * _wrap_plfill3(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsdimap(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plgcol0a(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME swig_type_info * SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
SWIGINTERN PyObject * _wrap_plResetOpts(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plSetUsage(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plslabelfunc(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static PyObject * PyBool_FromLong(long ok)
#define SWIG_OverflowError
SWIGINTERN PyObject * _wrap_plimage(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME void * SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags)
SWIGINTERN PyObject * _wrap_plsurf3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
struct swig_module_info * next
void(* pltr_func)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer)
static swig_cast_info _swigc__p_f_double_double_p_double_p_double_p_void__void[]
SWIGINTERN PyObject * _wrap_PLGraphicsIn_keysym_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN int SWIG_AsVal_unsigned_SS_long(PyObject *obj, unsigned long *val)
SWIGRUNTIME PyObject * SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
SWIGINTERN int SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
SWIGINTERN PyObject * _wrap_plmeridians(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plgyax(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERNINLINE PyObject * SWIG_From_int(int value)
swig_converter_func converter
#define PySequence_Fast_GET_ITEM
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pY_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * SWIG_Python_AppendOutput(PyObject *result, PyObject *obj)
SWIGINTERN PyObject * _wrap_plfill(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME PyObject * SWIG_Python_TypeCache(void)
SWIGRUNTIME PyObject * SwigPyObject_richcompare(SwigPyObject *v, SwigPyObject *w, int op)
SWIGINTERN PyObject * _wrap_plgchr(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
int(* set_attr)(PyObject *)
SWIGRUNTIME void SWIG_PropagateClientData(void)
#define SWIG_SetModule(clientdata, pointer)
SWIGINTERN PyObject * _wrap_plgradient(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_type_info _swigt__p_double
SWIGINTERN PyObject * SWIG_Python_InitShadowInstance(PyObject *args)
#define SWIG_exception_fail(code, msg)
intintargfunc ssizessizeargfunc
#define SWIG_PYTHON_THREAD_BEGIN_BLOCK
SWIGINTERN PyObject * _wrap_plsxwin(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_TYPE_TABLE_NAME
SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz)
SWIGINTERN PyObject * _wrap_plscolbga(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN int SWIG_AsCharPtrAndSize(PyObject *obj, char **cptr, size_t *psize, int *alloc)
SWIGRUNTIME void SwigPyClientData_Del(SwigPyClientData *data)
SWIGRUNTIMEINLINE PyObject * SWIG_Py_Void(void)
getsegcountproc segcountproc
#define PyInt_FromSize_t(x)
SWIGINTERN PyObject * _wrap_plsym(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_cast_info _swigc__p_unsigned_int[]
static PyMethodDef swigobject_methods[]
SWIGINTERN PyObject * _wrap_plfontld(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_pltext(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_cast_info _swigc__p_f_double_double__int[]
SWIGINTERN PyObject * _wrap_plgfnam(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_type_info _swigt__p_PLcGrid2
SWIGINTERN PyObject * SWIG_Python_newvarlink(void)
SWIGINTERN PyObject * _wrap_plenv0(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pX_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN void SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg)
SWIGRUNTIME PyObject * SwigPyObject_format(const char *fmt, SwigPyObject *v)
#define SWIG_RUNTIME_VERSION
void do_label_callback(PLINT axis, PLFLT value, char *string, PLINT len, PLPointer data)
SWIGINTERN PyObject * _wrap_plgfont(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME PyTypeObject * SwigPyObject_TypeOnce(void)
SWIGINTERN PyObject * _wrap_plvpor(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_CAST_NEW_MEMORY
SWIGINTERN PyObject * _wrap_plsdiori(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN swig_type_info * SWIG_pchar_descriptor(void)
SWIGRUNTIMEINLINE int SwigPyObject_Check(PyObject *op)
#define SWIG_POINTER_IMPLICIT_CONV
SWIGINTERN PyObject * _wrap_plline3(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty)
SWIGINTERN PyObject * _wrap_plcol1(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERNINLINE PyObject * SWIG_From_unsigned_SS_int(unsigned int value)
SWIGINTERN PyObject * SwigPyObject_disown(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
void cleanup_PLcGrid2(void)
SWIGINTERN PyObject * _wrap_plvpas(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_NewClientData(obj)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pY_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plgcmap1_range(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_next(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pX_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN int SWIG_AsVal_int(PyObject *obj, int *val)
SWIGINTERN PyObject * _wrap_plgzax(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_NewPackedObj(ptr, sz, type)
SWIGINTERN PyObject * _wrap_plstart(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME swig_module_info * SWIG_Python_GetModule(void *SWIGUNUSEDPARM(clientdata))
SWIGINTERN PyObject * _wrap_plgfci(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plrgbhls(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
void cleanup_PLPointer(void)
SWIGINTERN PyObject * _wrap_plshade(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb)
PyObject *(* get_attr)(void)
SWIGINTERN PyObject * _wrap_plsfnam(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plgdiplt(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_delete_PLGraphicsIn(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIMEINLINE const char * SwigPyObject_GetDesc(PyObject *self)
SWIGINTERN PyObject * _wrap_plw3d(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN int PyModule_AddObject(PyObject *m, char *name, PyObject *o)
PySequenceMethods as_sequence
void plmapfill(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT_VECTOR plotentries, PLINT nplotentries)
#define PyObject_GenericGetAttr
SWIGINTERN PyObject * swig_varlink_str(swig_varlinkobject *v)
SWIGRUNTIME SwigPyObject * SWIG_Python_GetSwigThis(PyObject *pyobj)
SWIGRUNTIME PyObject * SwigPyObject_append(PyObject *v, PyObject *next)
#define MY_UNBLOCK_THREADS
SWIGINTERN PyObject * _wrap_plszax(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plstransform(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME swig_type_info * SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
struct swig_module_info swig_module_info
struct swig_type_info *(* swig_dycast_func)(void **)
static PLFLT value(double n1, double n2, double hue)
SWIGINTERN PyObject * _wrap_plvasp(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_type_info _swigt__p_f_double_double_p_double_p_double_p_void__void
SWIGINTERN PyObject * _wrap_plerrx(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME void SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
SWIGINTERN PyObject * _wrap_plschr(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIGTYPE_p_PLGraphicsIn
void(* label_func)(PLINT, PLFLT, char *, PLINT, PLPointer)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dY_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plstar(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plpoly3(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plimagefr(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plgcompression(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME int SWIG_Python_ArgFail(int argnum)
SWIGINTERN PyObject * _wrap_plgcolbg(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plclear(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME void SwigPyObject_dealloc(PyObject *v)
static swig_cast_info _swigc__p_f_int_p_double_p_double__void[]
#define SWIG_CheckState(r)
SWIGINTERN PyObject * _wrap_plsstrm(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_type_info * swig_types[15]
SWIGINTERN PyObject * _wrap_plscol0(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plssym(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
intintobjargproc ssizessizeobjargproc
#define SWIG_InternalNewPointerObj(ptr, type, flags)
SWIGINTERN PyObject * _wrap_plcalc_world(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME PyObject * SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
SWIGINTERN PyObject * _wrap_plscolor(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN int SWIG_AsCharArray(PyObject *obj, char *val, size_t size)
static swig_cast_info * swig_cast_initial[]
SWIGRUNTIME PyObject * SWIG_This(void)
getreadbufferproc readbufferproc
#define myArray_ContiguousFromObject
SWIGRUNTIME PyObject * SWIG_Python_ErrorType(int code)
PLINT(* defined_func)(PLFLT, PLFLT)
static swig_cast_info _swigc__p_PLGraphicsIn[]
SWIGRUNTIME PyObject * SwigPyObject_oct(SwigPyObject *v)
SWIGINTERN PyObject * _wrap_plgspa(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plcpstrm(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_pllegend(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_subwindow_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dY_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsfci(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_newvarlink()
struct swig_cast_info * next
SWIGINTERN PyObject * _wrap_plmaptex(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsori(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
PLcGrid2 * marshal_PLcGrid2(PyObject *input, int isimg)
static swig_type_info _swigt__p_f_int_p_double_p_double__void
SWIGINTERN PyObject * _wrap_plot3dcl(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_POINTER_DISOWN
SWIGINTERN PyObject * _wrap_plcol0(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME int SWIG_Python_AcquirePtr(PyObject *obj, int own)
SWIGINTERN PyObject * _wrap_pllsty(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME PyObject * SwigPyPacked_str(SwigPyPacked *v)
SWIGINTERN int swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
SWIGINTERN PyObject * _wrap_pllab(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_cast_info _swigc__p_PLcGrid[]
static long PyNumber_AsSsize_t(PyObject *x, void *SWIGUNUSEDPARM(exc))
intobjargproc ssizeobjargproc
SWIGRUNTIME PyObject * SwigPyObject_long(SwigPyObject *v)
SWIGINTERN PyObject * _wrap_plhlsrgb(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plreplot(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsmaj(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME void SWIG_Python_TypeError(const char *type, PyObject *obj)
SWIGINTERN PyObject * _wrap_plprec(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsurf3dl(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plarc(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static tclMatrixXtnsnDescr * tail
SWIGINTERN PyObject * _wrap_PLGraphicsIn_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
void(* ct_func)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer)
SWIGRUNTIME PyObject * SwigPyPacked_repr(SwigPyPacked *v)
struct swig_cast_info * prev
SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory)
SWIGINTERN PyObject * _wrap_plcolorbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME void SWIG_InitializeModule(void *clientdata)
PyObject * python_mapform
swig_cast_info ** cast_initial
#define SWIGRUNTIMEINLINE
SWIGINTERN PyObject * _wrap_plgstrm(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plvect(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_as_voidptr(a)
void(* fill_func)(PLINT, const PLFLT *, const PLFLT *)
SWIGINTERN PyObject * _wrap_plptex3(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME PyObject * SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME void SWIG_Python_AddErrorMsg(const char *mesg)
void plmap(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wY_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap0a(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN void SWIG_Python_FixMethods(PyMethodDef *methods, swig_const_info *const_table, swig_type_info **types, swig_type_info **types_initial)
SWIGINTERN void SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj)
SWIGRUNTIME swig_cast_info * SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty)
enum callback_type pltr_type
SWIGINTERN PyObject * _wrap_plgvpw(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
PLFLT do_f2eval_callback(PLINT x, PLINT y, PLPointer data)
SWIGRUNTIME int SwigPyPacked_print(SwigPyPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
swig_type_info ** type_initial
SWIGINTERN PyObject * _wrap_plscmap0(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plspal0(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN int SWIG_AsVal_char(PyObject *obj, char *val)
static swig_cast_info _swigc__p_p_char[]
SWIGINTERN PyObject * _wrap_plmeshc(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_pladv(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plstripd(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_hex(SwigPyObject *v)
SWIGINTERN PyObject * _wrap_plsfam(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIGTYPE_p_double
SWIGINTERN PyObject * _wrap_plgra(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsxax(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME const char * SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name)
SWIGINTERN PyObject * _wrap_plssub(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
void plmapstring(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLCHAR_VECTOR string, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT_VECTOR plotentries, PLINT nplotentries)
SWIGINTERN PyObject * _wrap_plaxes(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIGTYPE_p_unsigned_int
SWIGINTERN PyObject * _wrap_plgdiori(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_pl_setcontlabelparam(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_cast_info _swigc__p_f_int_p_q_const__double_p_q_const__double__void[]
SWIGINTERN PyObject * _wrap_plgver(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_cast_info _swigc__p_int[]
mapform_func marshal_mapform(PyObject *input)
SWIGINTERN PyObject * _wrap_plscmap1n(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsdiplz(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_keysym_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plClearOpts(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
struct swig_const_info swig_const_info
SWIGINTERN PyObject * _wrap_plgriddata(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME PyTypeObject * SwigPyObject_type(void)
SWIGINTERN PyObject * _wrap_plend(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_string_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plpat(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME int SWIG_TypeCmp(const char *nb, const char *tb)
SWIGINTERN PyObject * SWIG_globals(void)
static swig_cast_info _swigc__p_char[]
SWIGINTERN PyObject * _wrap_plstripc(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsvect(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsesc(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsdiplt(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wX_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap1a(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
PyArrayObject * myIntArray_ContiguousFromObject(PyObject *in, int type, int mindims, int maxdims)
SWIGINTERN PyObject * _wrap_plscmap1la(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_pltr0(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * PLGraphicsIn_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args)