16 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE 24 #ifndef SWIGTEMPLATEDISAMBIGUATOR 25 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) 26 # define SWIGTEMPLATEDISAMBIGUATOR template 27 # elif defined(__HP_aCC) 30 # define SWIGTEMPLATEDISAMBIGUATOR template 32 # define SWIGTEMPLATEDISAMBIGUATOR 38 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) 39 # define SWIGINLINE inline 47 # if defined(__GNUC__) 48 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) 49 # define SWIGUNUSED __attribute__ ((__unused__)) 54 # define SWIGUNUSED __attribute__ ((__unused__)) 60 #ifndef SWIG_MSC_UNSUPPRESS_4505 61 # if defined(_MSC_VER) 62 # pragma warning(disable : 4505) 66 #ifndef SWIGUNUSEDPARM 68 # define SWIGUNUSEDPARM(p) 70 # define SWIGUNUSEDPARM(p) p SWIGUNUSED 76 # define SWIGINTERN static SWIGUNUSED 80 #ifndef SWIGINTERNINLINE 81 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE 86 # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) 87 # ifndef GCC_HASCLASSVISIBILITY 88 # define GCC_HASCLASSVISIBILITY 94 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 95 # if defined(STATIC_LINKED) 98 # define SWIGEXPORT __declspec(dllexport) 101 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) 102 # define SWIGEXPORT __attribute__ ((visibility("default"))) 111 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 112 # define SWIGSTDCALL __stdcall 119 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) 120 # define _CRT_SECURE_NO_DEPRECATE 124 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) 125 # define _SCL_SECURE_NO_DEPRECATE 129 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES) 130 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 138 #ifdef __INTEL_COMPILER 139 # pragma warning disable 592 143 #if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG) 161 #define SWIG_RUNTIME_VERSION "4" 164 #ifdef SWIG_TYPE_TABLE 165 # define SWIG_QUOTE_STRING(x) #x 166 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) 167 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) 169 # define SWIG_TYPE_TABLE_NAME 182 # define SWIGRUNTIME SWIGINTERN 185 #ifndef SWIGRUNTIMEINLINE 186 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE 190 #ifndef SWIG_BUFFER_SIZE 191 # define SWIG_BUFFER_SIZE 1024 195 #define SWIG_POINTER_DISOWN 0x1 196 #define SWIG_CAST_NEW_MEMORY 0x2 199 #define SWIG_POINTER_OWN 0x1 282 #define SWIG_ERROR (-1) 283 #define SWIG_IsOK(r) (r >= 0) 284 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) 287 #define SWIG_CASTRANKLIMIT (1 << 8) 289 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) 291 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) 293 #define SWIG_BADOBJ (SWIG_ERROR) 294 #define SWIG_OLDOBJ (SWIG_OK) 295 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) 296 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) 298 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) 299 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) 300 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) 301 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) 302 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) 303 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) 306 #if defined(SWIG_CASTRANK_MODE) 307 # ifndef SWIG_TypeRank 308 # define SWIG_TypeRank unsigned long 310 # ifndef SWIG_MAXCASTRANK 311 # define SWIG_MAXCASTRANK (2) 313 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1) 314 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK) 319 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
322 # define SWIG_AddCast(r) (r) 323 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) 333 typedef void *(*swig_converter_func)(
void *,
int *);
375 const char *f2,
const char *l2) {
376 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
377 while ((*f1 ==
' ') && (f1 != l1)) ++f1;
378 while ((*f2 ==
' ') && (f2 != l2)) ++f2;
379 if (*f1 != *f2)
return (*f1 > *f2) ? 1 : -1;
381 return (
int)((l1 - f1) - (l2 - f2));
391 const char* te = tb + strlen(tb);
393 while (equiv != 0 && *ne) {
394 for (nb = ne; *ne; ++ne) {
395 if (*ne ==
'|')
break;
420 if (strcmp(iter->
type->
name, c) == 0) {
421 if (iter == ty->
cast)
447 if (iter->
type == from) {
448 if (iter == ty->
cast)
480 if (!ty || !ty->
dcast)
return ty;
481 while (ty && (ty->
dcast)) {
482 ty = (*ty->
dcast)(ptr);
506 if (!type)
return NULL;
507 if (type->
str != NULL) {
508 const char *last_name = type->
str;
510 for (s = type->
str; *s; s++)
511 if (*s ==
'|') last_name = s+1;
559 size_t r = iter->
size - 1;
562 size_t i = (l + r) >> 1;
563 const char *iname = iter->
types[i]->
name;
565 int compare = strcmp(
name, iname);
567 return iter->
types[i];
568 }
else if (compare < 0) {
574 }
else if (compare > 0) {
583 }
while (iter != end);
610 for (; i < iter->
size; ++i) {
612 return iter->
types[i];
615 }
while (iter != end);
627 static const char hex[17] =
"0123456789abcdef";
628 const unsigned char *u = (
unsigned char *) ptr;
629 const unsigned char *eu = u + sz;
630 for (; u != eu; ++u) {
631 unsigned char uu = *u;
632 *(c++) = hex[(uu & 0xf0) >> 4];
633 *(c++) = hex[uu & 0xf];
643 unsigned char *u = (
unsigned char *) ptr;
644 const unsigned char *eu = u + sz;
645 for (; u != eu; ++u) {
648 if ((d >=
'0') && (d <=
'9'))
649 uu = (
unsigned char)((d -
'0') << 4);
650 else if ((d >=
'a') && (d <=
'f'))
651 uu = (
unsigned char)((d - (
'a'-10)) << 4);
655 if ((d >=
'0') && (d <=
'9'))
656 uu |= (
unsigned char)(d -
'0');
657 else if ((d >=
'a') && (d <=
'f'))
658 uu |= (
unsigned char)(d - (
'a'-10));
672 if ((2*
sizeof(
void *) + 2) > bsz)
return 0;
675 if (strlen(
name) + 1 > (bsz - (r - buff)))
return 0;
683 if (strcmp(c,
"NULL") == 0) {
696 size_t lname = (
name ? strlen(
name) : 0);
697 if ((2*sz + 2 + lname) > bsz)
return 0;
701 strncpy(r,
name,lname+1);
711 if (strcmp(c,
"NULL") == 0) {
726 #define SWIG_UnknownError -1 727 #define SWIG_IOError -2 728 #define SWIG_RuntimeError -3 729 #define SWIG_IndexError -4 730 #define SWIG_TypeError -5 731 #define SWIG_DivisionByZero -6 732 #define SWIG_OverflowError -7 733 #define SWIG_SyntaxError -8 734 #define SWIG_ValueError -9 735 #define SWIG_SystemError -10 736 #define SWIG_AttributeError -11 737 #define SWIG_MemoryError -12 738 #define SWIG_NullReferenceError -13 743 #if PY_VERSION_HEX >= 0x03000000 745 #define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type) 746 #define PyInt_Check(x) PyLong_Check(x) 747 #define PyInt_AsLong(x) PyLong_AsLong(x) 748 #define PyInt_FromLong(x) PyLong_FromLong(x) 749 #define PyInt_FromSize_t(x) PyLong_FromSize_t(x) 750 #define PyString_Check(name) PyBytes_Check(name) 751 #define PyString_FromString(x) PyUnicode_FromString(x) 752 #define PyString_Format(fmt, args) PyUnicode_Format(fmt, args) 753 #define PyString_AsString(str) PyBytes_AsString(str) 754 #define PyString_Size(str) PyBytes_Size(str) 755 #define PyString_InternFromString(key) PyUnicode_InternFromString(key) 756 #define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE 757 #define PyString_AS_STRING(x) PyUnicode_AS_STRING(x) 758 #define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x) 763 # define Py_TYPE(op) ((op)->ob_type) 768 #if PY_VERSION_HEX >= 0x03000000 769 # define SWIG_Python_str_FromFormat PyUnicode_FromFormat 771 # define SWIG_Python_str_FromFormat PyString_FromFormat 781 #if PY_VERSION_HEX >= 0x03000000 783 str = PyUnicode_AsUTF8String(str);
787 PyBytes_AsStringAndSize(str, &cstr, &len);
788 newstr = (
char *) malloc(len+1);
789 memcpy(newstr, cstr, len+1);
794 return PyString_AsString(str);
798 #if PY_VERSION_HEX >= 0x03000000 799 # define SWIG_Python_str_DelForPy3(x) free( (void*) (x) ) 801 # define SWIG_Python_str_DelForPy3(x) 808 #if PY_VERSION_HEX >= 0x03000000 809 return PyUnicode_FromString(c);
811 return PyString_FromString(c);
816 #if PY_VERSION_HEX < 0x02020000 817 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) 818 # define PyOS_snprintf _snprintf 820 # define PyOS_snprintf snprintf 825 #if PY_VERSION_HEX < 0x02020000 827 #ifndef SWIG_PYBUFFER_SIZE 828 # define SWIG_PYBUFFER_SIZE 1024 837 res = vsnprintf(
buf,
sizeof(
buf), fmt, ap);
839 return (res < 0 || res >= (
int)
sizeof(
buf)) ? 0 : PyString_FromString(
buf);
844 # define PyObject_DEL PyObject_Del 848 #if PY_VERSION_HEX < 0x02020000 849 # ifndef PyExc_StopIteration 850 # define PyExc_StopIteration PyExc_RuntimeError 852 # ifndef PyObject_GenericGetAttr 853 # define PyObject_GenericGetAttr 0 858 #if PY_VERSION_HEX < 0x02010000 859 # ifndef Py_NotImplemented 860 # define Py_NotImplemented PyExc_RuntimeError 865 #if PY_VERSION_HEX < 0x02010000 866 # ifndef PyString_AsStringAndSize 867 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} 872 #if PY_VERSION_HEX < 0x02000000 873 # ifndef PySequence_Size 874 # define PySequence_Size PySequence_Length 879 #if PY_VERSION_HEX < 0x02030000 883 PyObject *result = ok ? Py_True : Py_False;
892 #if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) 894 # define PY_SSIZE_T_MAX INT_MAX 895 # define PY_SSIZE_T_MIN INT_MIN 908 PyObject *i = PyNumber_Int(x);
910 result = PyInt_AsLong(i);
917 #if PY_VERSION_HEX < 0x02050000 918 #define PyInt_FromSize_t(x) PyInt_FromLong((long)x) 921 #if PY_VERSION_HEX < 0x02040000 922 #define Py_VISIT(op) \ 925 int vret = visit((op), arg); \ 932 #if PY_VERSION_HEX < 0x02030000 943 #if PY_VERSION_HEX < 0x02030000 947 #if ((PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION > 6) || \ 948 (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION > 0) || \ 949 (PY_MAJOR_VERSION > 3)) 950 # define SWIGPY_USE_CAPSULE 951 # define SWIGPY_CAPSULE_NAME ((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME) 954 #if PY_VERSION_HEX < 0x03020000 955 #define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type) 956 #define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name) 957 #define Py_hash_t long 969 type = PyExc_MemoryError;
972 type = PyExc_IOError;
975 type = PyExc_RuntimeError;
978 type = PyExc_IndexError;
981 type = PyExc_TypeError;
984 type = PyExc_ZeroDivisionError;
987 type = PyExc_OverflowError;
990 type = PyExc_SyntaxError;
993 type = PyExc_ValueError;
996 type = PyExc_SystemError;
999 type = PyExc_AttributeError;
1002 type = PyExc_RuntimeError;
1012 PyObject *
value = 0;
1013 PyObject *traceback = 0;
1015 if (PyErr_Occurred())
1016 PyErr_Fetch(&type, &
value, &traceback);
1018 PyObject *old_str = PyObject_Str(
value);
1023 PyErr_Format(type,
"%s %s", tmp, mesg);
1025 PyErr_Format(type,
"%s", mesg);
1030 PyErr_SetString(PyExc_RuntimeError, mesg);
1034 #if defined(SWIG_PYTHON_NO_THREADS) 1035 # if defined(SWIG_PYTHON_THREADS) 1036 # undef SWIG_PYTHON_THREADS 1039 #if defined(SWIG_PYTHON_THREADS) 1040 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) 1041 # if (PY_VERSION_HEX >= 0x02030000) 1042 # define SWIG_PYTHON_USE_GIL 1045 # if defined(SWIG_PYTHON_USE_GIL) 1046 # ifndef SWIG_PYTHON_INITIALIZE_THREADS 1047 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() 1050 class SWIG_Python_Thread_Block {
1052 PyGILState_STATE state;
1054 void end() {
if (status) { PyGILState_Release(state); status =
false;} }
1055 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
1056 ~SWIG_Python_Thread_Block() { end(); }
1058 class SWIG_Python_Thread_Allow {
1060 PyThreadState *save;
1062 void end() {
if (status) { PyEval_RestoreThread(save); status =
false; }}
1063 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
1064 ~SWIG_Python_Thread_Allow() { end(); }
1066 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block 1067 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end() 1068 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow 1069 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end() 1071 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure() 1072 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block) 1073 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread() 1074 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow) 1077 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS) 1078 # define SWIG_PYTHON_INITIALIZE_THREADS 1080 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) 1081 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK 1083 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK) 1084 # define SWIG_PYTHON_THREAD_END_BLOCK 1086 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) 1087 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW 1089 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW) 1090 # define SWIG_PYTHON_THREAD_END_ALLOW 1094 # define SWIG_PYTHON_INITIALIZE_THREADS 1095 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK 1096 # define SWIG_PYTHON_THREAD_END_BLOCK 1097 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW 1098 # define SWIG_PYTHON_THREAD_END_ALLOW 1114 #define SWIG_PY_POINTER 4 1115 #define SWIG_PY_BINARY 5 1132 #if PY_VERSION_HEX >= 0x03000000 1135 return PyInstanceMethod_New(func);
1161 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) 1162 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) 1163 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) 1165 #ifdef SWIGPYTHON_BUILTIN 1166 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags) 1168 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) 1171 #define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) 1173 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty) 1174 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src) 1175 #define swig_owntype int 1178 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 1179 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) 1182 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) 1183 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) 1186 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type) 1187 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(NULL, ptr, type, 0) 1190 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 1191 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) 1196 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule(clientdata) 1197 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) 1198 #define SWIG_NewClientData(obj) SwigPyClientData_New(obj) 1200 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj 1201 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg 1202 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code) 1203 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) 1204 #define SWIG_fail goto fail 1214 PyErr_SetObject(errtype, obj);
1222 PyErr_SetString(errtype, msg);
1226 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) 1230 #if defined(SWIGPYTHON_BUILTIN) 1233 SwigPyBuiltin_AddPublicSymbol(PyObject *seq,
const char *key) {
1234 PyObject *s = PyString_InternFromString(key);
1235 PyList_Append(seq, s);
1241 #if PY_VERSION_HEX < 0x02030000 1242 PyDict_SetItemString(d, (
char *)
name, obj);
1244 PyDict_SetItemString(d,
name, obj);
1247 if (public_interface)
1248 SwigPyBuiltin_AddPublicSymbol(public_interface,
name);
1255 #if PY_VERSION_HEX < 0x02030000 1256 PyDict_SetItemString(d, (
char *)
name, obj);
1258 PyDict_SetItemString(d,
name, obj);
1269 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) 1272 }
else if (result == Py_None) {
1276 if (!PyList_Check(result)) {
1277 PyObject *o2 = result;
1278 result = PyList_New(1);
1279 PyList_SetItem(result, 0, o2);
1281 PyList_Append(result,obj);
1290 }
else if (result == Py_None) {
1294 if (!PyTuple_Check(result)) {
1296 result = PyTuple_New(1);
1297 PyTuple_SET_ITEM(result, 0, o2);
1299 o3 = PyTuple_New(1);
1300 PyTuple_SET_ITEM(o3, 0, obj);
1302 result = PySequence_Concat(o2, o3);
1319 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got none",
1324 if (!PyTuple_Check(args)) {
1325 if (min <= 1 && max >= 1) {
1328 for (i = 1; i <
max; ++i) {
1333 PyErr_SetString(PyExc_SystemError,
"UnpackTuple() argument list is not a tuple");
1338 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got %d",
1341 }
else if (l >
max) {
1342 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got %d",
1347 for (i = 0; i < l; ++i) {
1348 objs[i] = PyTuple_GET_ITEM(args, i);
1350 for (; l <
max; ++l) {
1359 #if PY_VERSION_HEX >= 0x02020000 1360 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); 1362 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj); 1370 #define SWIG_STATIC_POINTER(var) var 1372 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var 1380 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) 1381 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) 1383 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) 1385 #define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2) 1386 #define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN) 1393 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 1394 # ifndef SWIG_PYTHON_NO_BUILD_NONE 1395 # ifndef SWIG_PYTHON_BUILD_NONE 1396 # define SWIG_PYTHON_BUILD_NONE 1401 #ifdef SWIG_PYTHON_BUILD_NONE 1404 # define Py_None SWIG_Py_None() 1409 PyObject *none = Py_BuildValue((
char*)
"");
1426 PyObject *none = Py_None;
1453 PyObject *klass = data ? data->
klass : 0;
1454 return (klass ? klass : PyExc_RuntimeError);
1467 Py_INCREF(data->
klass);
1469 if (PyClass_Check(obj)) {
1474 #if (PY_VERSION_HEX < 0x02020000) 1477 data->
newraw = PyObject_GetAttrString(data->
klass, (
char *)
"__new__");
1481 data->
newargs = PyTuple_New(1);
1482 PyTuple_SetItem(data->
newargs, 0, obj);
1489 data->
destroy = PyObject_GetAttrString(data->
klass, (
char *)
"__swig_destroy__");
1490 if (PyErr_Occurred()) {
1497 flags = PyCFunction_GET_FLAGS(data->
destroy);
1499 data->
delargs = !(flags & (METH_O));
1514 Py_XDECREF(data->
newraw);
1527 #ifdef SWIGPYTHON_BUILTIN 1533 #ifdef SWIGPYTHON_BUILTIN 1536 SwigPyObject_get___dict__(PyObject *v, PyObject *
SWIGUNUSEDPARM(args))
1541 sobj->dict = PyDict_New();
1543 Py_INCREF(sobj->dict);
1552 return PyLong_FromVoidPtr(v->
ptr);
1558 PyObject *res = NULL;
1559 PyObject *args = PyTuple_New(1);
1564 #if PY_VERSION_HEX >= 0x03000000 1565 res = PyUnicode_Format(ofmt,args);
1567 res = PyString_Format(ofmt,args);
1604 # if PY_VERSION_HEX >= 0x03000000 1605 PyObject *joined = PyUnicode_Concat(repr, nrep);
1610 PyString_ConcatAndDel(&repr,nrep);
1621 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1629 if( op != Py_EQ && op != Py_NE ) {
1640 #ifdef SWIGPYTHON_BUILTIN 1645 assert(SwigPyObject_stype);
1661 #ifdef SWIGPYTHON_BUILTIN 1663 if (PyType_IsSubtype(op->ob_type, target_tp))
1665 return (strcmp(op->ob_type->tp_name,
"SwigPyObject") == 0);
1668 || (strcmp(
Py_TYPE(op)->tp_name,
"SwigPyObject") == 0);
1679 PyObject *next = sobj->
next;
1683 PyObject *destroy = data ? data->
destroy : 0;
1695 PyObject *val = NULL, *type = NULL, *tb = NULL;
1696 PyErr_Fetch(&val, &type, &tb);
1704 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1705 PyObject *mself = PyCFunction_GET_SELF(destroy);
1706 res = ((*meth)(mself, v));
1709 PyErr_WriteUnraisable(destroy);
1711 PyErr_Restore(val, type, tb);
1715 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) 1718 printf(
"swig/python detected a memory leak of type '%s', no destructor found.\n", (
name ?
name :
"unknown"));
1732 if (!PyArg_ParseTuple(next,(
char *)
"O:append", &tmp))
return NULL;
1736 PyErr_SetString(PyExc_TypeError,
"Attempt to append a non SwigPyObject");
1753 Py_INCREF(sobj->
next);
1788 #if (PY_VERSION_HEX < 0x02020000) 1789 if (!PyArg_ParseTuple(args,(
char *)
"|O:own",&val))
1790 #elif (PY_VERSION_HEX < 0x02050000) 1791 if (!PyArg_UnpackTuple(args, (
char *)
"own", 0, 1, &val))
1793 if (!PyArg_UnpackTuple(args,
"own", 0, 1, &val))
1804 if (PyObject_IsTrue(val)) {
1810 if (PyObject_IsTrue(val)) {
1824 {(
char *)
"disown", (PyCFunction)
SwigPyObject_disown, METH_NOARGS, (
char *)
"releases ownership of the pointer"},
1825 {(
char *)
"acquire", (PyCFunction)
SwigPyObject_acquire, METH_NOARGS, (
char *)
"acquires ownership of the pointer"},
1826 {(
char *)
"own", (PyCFunction)
SwigPyObject_own, METH_VARARGS, (
char *)
"returns/sets ownership of the pointer"},
1827 {(
char *)
"append", (PyCFunction)
SwigPyObject_append, METH_O, (
char *)
"appends another 'this' object"},
1828 {(
char *)
"next", (PyCFunction)
SwigPyObject_next, METH_NOARGS, (
char *)
"returns the next 'this' object"},
1829 {(
char *)
"__repr__",(PyCFunction)
SwigPyObject_repr, METH_NOARGS, (
char *)
"returns object representation"},
1835 {(
char *)
"disown", (PyCFunction)
SwigPyObject_disown, METH_VARARGS, (
char *)
"releases ownership of the pointer"},
1836 {(
char *)
"acquire", (PyCFunction)
SwigPyObject_acquire, METH_VARARGS, (
char *)
"acquires ownership of the pointer"},
1837 {(
char *)
"own", (PyCFunction)
SwigPyObject_own, METH_VARARGS, (
char *)
"returns/sets ownership of the pointer"},
1838 {(
char *)
"append", (PyCFunction)
SwigPyObject_append, METH_VARARGS, (
char *)
"appends another 'this' object"},
1839 {(
char *)
"next", (PyCFunction)
SwigPyObject_next, METH_VARARGS, (
char *)
"returns the next 'this' object"},
1840 {(
char *)
"__repr__",(PyCFunction)
SwigPyObject_repr, METH_VARARGS, (
char *)
"returns object representation"},
1845 #if PY_VERSION_HEX < 0x02020000 1855 static char swigobject_doc[] =
"Swig object carries a C/C++ instance pointer";
1857 static PyNumberMethods SwigPyObject_as_number = {
1862 #
if PY_VERSION_HEX < 0x03000000
1878 #
if PY_VERSION_HEX < 0x03000000
1882 #if PY_VERSION_HEX < 0x03000000 1888 #if PY_VERSION_HEX < 0x03000000 1892 #if PY_VERSION_HEX >= 0x03050000 1893 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1894 #elif PY_VERSION_HEX >= 0x03000000 1895 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1896 #elif PY_VERSION_HEX >= 0x02050000 1897 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1898 #elif PY_VERSION_HEX >= 0x02020000 1899 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1900 #elif PY_VERSION_HEX >= 0x02000000 1901 0,0,0,0,0,0,0,0,0,0,0
1905 static PyTypeObject swigpyobject_type;
1906 static int type_init = 0;
1908 const PyTypeObject tmp = {
1909 #if PY_VERSION_HEX >= 0x03000000 1910 PyVarObject_HEAD_INIT(NULL, 0)
1912 PyObject_HEAD_INIT(NULL)
1915 (
char *)
"SwigPyObject",
1920 #
if PY_VERSION_HEX < 0x02020000
1926 #if PY_VERSION_HEX >= 0x03000000 1932 &SwigPyObject_as_number,
1947 #
if PY_VERSION_HEX >= 0x02020000
1969 #
if PY_VERSION_HEX >= 0x02030000
1972 #
if PY_VERSION_HEX >= 0x02060000
1975 #
if PY_VERSION_HEX >= 0x03040000
1982 #
if PY_VERSION_HEX >= 0x02050000
1988 swigpyobject_type = tmp;
1990 #if PY_VERSION_HEX < 0x02020000 1991 swigpyobject_type.ob_type = &PyType_Type;
1993 if (PyType_Ready(&swigpyobject_type) < 0)
1997 return &swigpyobject_type;
2010 return (PyObject *)sobj;
2028 fputs(
"<Swig Packed ", fp);
2065 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
2066 return s ? s : strncmp((
char *)v->
pack, (
char *)w->
pack, 2*v->
size);
2080 || (strcmp((op)->ob_type->tp_name,
"SwigPyPacked") == 0);
2095 static char swigpacked_doc[] =
"Swig object carries a C/C++ instance pointer";
2096 static PyTypeObject swigpypacked_type;
2097 static int type_init = 0;
2099 const PyTypeObject tmp = {
2100 #if PY_VERSION_HEX>=0x03000000 2101 PyVarObject_HEAD_INIT(NULL, 0)
2103 PyObject_HEAD_INIT(NULL)
2106 (
char *)
"SwigPyPacked",
2113 #if PY_VERSION_HEX>=0x03000000 2134 #
if PY_VERSION_HEX >= 0x02020000
2156 #
if PY_VERSION_HEX >= 0x02030000
2159 #
if PY_VERSION_HEX >= 0x02060000
2162 #
if PY_VERSION_HEX >= 0x03040000
2169 #
if PY_VERSION_HEX >= 0x02050000
2175 swigpypacked_type = tmp;
2177 #if PY_VERSION_HEX < 0x02020000 2178 swigpypacked_type.ob_type = &PyType_Type;
2180 if (PyType_Ready(&swigpypacked_type) < 0)
2184 return &swigpypacked_type;
2192 void *pack = malloc(size);
2194 memcpy(pack, ptr, size);
2203 return (PyObject *) sobj;
2211 if (sobj->
size != size)
return 0;
2212 memcpy(ptr, sobj->
pack, size);
2242 #if PY_VERSION_HEX>=0x03000000 2243 #define SWIG_PYTHON_SLOW_GETSET_THIS 2254 #ifdef SWIGPYTHON_BUILTIN 2256 # ifdef PyWeakref_CheckProxy 2257 if (PyWeakref_CheckProxy(pyobj)) {
2258 pyobj = PyWeakref_GET_OBJECT(pyobj);
2268 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) 2269 if (PyInstance_Check(pyobj)) {
2270 obj = _PyInstance_Lookup(pyobj,
SWIG_This());
2272 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
2273 if (dictptr != NULL) {
2274 PyObject *dict = *dictptr;
2275 obj = dict ? PyDict_GetItem(dict,
SWIG_This()) : 0;
2277 #ifdef PyWeakref_CheckProxy 2278 if (PyWeakref_CheckProxy(pyobj)) {
2279 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
2283 obj = PyObject_GetAttr(pyobj,
SWIG_This());
2287 if (PyErr_Occurred()) PyErr_Clear();
2293 obj = PyObject_GetAttr(pyobj,
SWIG_This());
2297 if (PyErr_Occurred()) PyErr_Clear();
2317 int oldown = sobj->
own;
2335 if (obj == Py_None && !implicit_conv) {
2347 void *vptr = sobj->
ptr;
2352 if (ptr) *ptr = vptr;
2372 if (ptr) *ptr = vptr;
2378 *own = *own | sobj->
own;
2384 if (implicit_conv) {
2387 PyObject *klass = data->
klass;
2393 if (PyErr_Occurred()) {
2419 if (!
SWIG_IsOK(res) && obj == Py_None) {
2422 if (PyErr_Occurred())
2434 if (!PyCFunction_Check(obj)) {
2441 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2442 const char *desc = doc ? strstr(doc,
"swig_ptr: ") : 0;
2487 #if (PY_VERSION_HEX >= 0x02020000) 2489 PyObject *newraw = data->
newraw;
2491 inst = PyObject_Call(newraw, data->
newargs, NULL);
2493 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 2494 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2495 if (dictptr != NULL) {
2496 PyObject *dict = *dictptr;
2498 dict = PyDict_New();
2509 #if PY_VERSION_HEX >= 0x03000000 2510 inst = ((PyTypeObject*) data->
newargs)->tp_new((PyTypeObject*) data->
newargs, Py_None, Py_None);
2513 Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
2516 PyObject *dict = PyDict_New();
2519 inst = PyInstance_NewRaw(data->
newargs, dict);
2526 #if (PY_VERSION_HEX >= 0x02010000) 2528 PyObject *dict = PyDict_New();
2531 inst = PyInstance_NewRaw(data->
newargs, dict);
2534 return (PyObject *) inst;
2536 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2540 inst->in_class = (PyClassObject *)data->
newargs;
2541 Py_INCREF(inst->in_class);
2542 inst->in_dict = PyDict_New();
2543 if (inst->in_dict == NULL) {
2547 #ifdef Py_TPFLAGS_HAVE_WEAKREFS 2548 inst->in_weakreflist = NULL;
2550 #ifdef Py_TPFLAGS_GC 2551 PyObject_GC_Init(inst);
2554 return (PyObject *) inst;
2563 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 2564 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2565 if (dictptr != NULL) {
2568 dict = PyDict_New();
2575 dict = PyObject_GetAttrString(inst, (
char*)
"__dict__");
2610 if (clientdata && clientdata->
pytype) {
2615 PyObject *next_self = clientdata->
pytype->tp_alloc(clientdata->
pytype, 0);
2616 while (newobj->
next)
2618 newobj->
next = next_self;
2620 #ifdef SWIGPYTHON_BUILTIN 2626 #ifdef SWIGPYTHON_BUILTIN 2635 return (PyObject*) newobj;
2662 #ifdef SWIG_LINK_RUNTIME 2663 void *SWIG_ReturnGlobalTypeList(
void *);
2668 static void *type_pointer = (
void *)0;
2670 if (!type_pointer) {
2671 #ifdef SWIG_LINK_RUNTIME 2672 type_pointer = SWIG_ReturnGlobalTypeList((
void *)0);
2674 # ifdef SWIGPY_USE_CAPSULE 2675 type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0);
2680 if (PyErr_Occurred()) {
2682 type_pointer = (
void *)0;
2689 #if PY_MAJOR_VERSION < 2 2696 if (!PyModule_Check(m)) {
2697 PyErr_SetString(PyExc_TypeError,
"PyModule_AddObject() needs module as first arg");
2701 PyErr_SetString(PyExc_TypeError,
"PyModule_AddObject() needs non-NULL value");
2705 dict = PyModule_GetDict(m);
2708 PyErr_Format(PyExc_SystemError,
"module '%s' has no __dict__",
2709 PyModule_GetName(m));
2712 if (PyDict_SetItemString(dict,
name, o))
2720 #ifdef SWIGPY_USE_CAPSULE 2726 #ifdef SWIGPY_USE_CAPSULE 2746 #if PY_VERSION_HEX >= 0x03000000 2750 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };
2751 PyObject *module = Py_InitModule((
char*)
"swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table);
2753 #ifdef SWIGPY_USE_CAPSULE 2755 if (pointer && module) {
2758 Py_XDECREF(pointer);
2762 if (pointer && module) {
2765 Py_XDECREF(pointer);
2782 PyObject *obj = PyDict_GetItem(cache, key);
2785 #ifdef SWIGPY_USE_CAPSULE 2794 #ifdef SWIGPY_USE_CAPSULE 2795 obj = PyCapsule_New((
void*) descriptor, NULL, NULL);
2797 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2799 PyDict_SetItem(cache, key, obj);
2810 #define SWIG_POINTER_EXCEPTION 0 2811 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) 2812 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) 2817 if (PyErr_Occurred()) {
2819 PyObject *
value = 0;
2820 PyObject *traceback = 0;
2821 PyErr_Fetch(&type, &
value, &traceback);
2823 PyObject *old_str = PyObject_Str(
value);
2826 tmp =
"Invalid error message";
2830 PyErr_Format(type,
"%s %s", mesg, tmp);
2832 PyErr_Format(type,
"%s %s", tmp, mesg);
2846 if (PyErr_Occurred()) {
2849 PyOS_snprintf(mesg,
sizeof(mesg),
"argument number %d:", argnum);
2861 return ty ? ty->
str :
"";
2868 #if defined(SWIG_COBJECT_TYPES) 2872 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, 'SwigPyObject(%s)' is received",
2879 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2881 PyObject *str = PyObject_Str(obj);
2884 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, '%s(%s)' is received",
2888 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, '%s' is received",
2895 PyErr_Format(PyExc_TypeError,
"a '%s' is expected", type);
2897 PyErr_Format(PyExc_TypeError,
"unexpected type is received");
2908 #if SWIG_POINTER_EXCEPTION 2918 #ifdef SWIGPYTHON_BUILTIN 2920 SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *
name, PyObject *
value) {
2921 PyTypeObject *tp = obj->ob_type;
2923 PyObject *encoded_name;
2927 # ifdef Py_USING_UNICODE 2928 if (PyString_Check(
name)) {
2929 name = PyUnicode_Decode(PyString_AsString(
name), PyString_Size(
name), NULL, NULL);
2932 }
else if (!PyUnicode_Check(
name))
2934 if (!PyString_Check(
name))
2937 PyErr_Format(PyExc_TypeError,
"attribute name must be string, not '%.200s'",
name->ob_type->tp_name);
2944 if (PyType_Ready(tp) < 0)
2948 descr = _PyType_Lookup(tp,
name);
2951 f = descr->ob_type->tp_descr_set;
2953 if (PyString_Check(
name)) {
2954 encoded_name =
name;
2957 encoded_name = PyUnicode_AsUTF8String(
name);
2961 PyErr_Format(PyExc_AttributeError,
"'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name));
2962 Py_DECREF(encoded_name);
2964 res = f(descr, obj,
value);
2980 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) 2982 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else 2988 #define SWIGTYPE_p_PLGraphicsIn swig_types[0] 2989 #define SWIGTYPE_p_PLcGrid swig_types[1] 2990 #define SWIGTYPE_p_PLcGrid2 swig_types[2] 2991 #define SWIGTYPE_p_char swig_types[3] 2992 #define SWIGTYPE_p_double swig_types[4] 2993 #define SWIGTYPE_p_f_double_double__int swig_types[5] 2994 #define SWIGTYPE_p_f_double_double_p_double_p_double_p_void__void swig_types[6] 2995 #define SWIGTYPE_p_f_int_double_p_char_int_p_void__void swig_types[7] 2996 #define SWIGTYPE_p_f_int_p_double_p_double__void swig_types[8] 2997 #define SWIGTYPE_p_f_int_p_q_const__double_p_q_const__double__void swig_types[9] 2998 #define SWIGTYPE_p_int swig_types[10] 2999 #define SWIGTYPE_p_p_char swig_types[11] 3000 #define SWIGTYPE_p_p_double swig_types[12] 3001 #define SWIGTYPE_p_unsigned_int swig_types[13] 3004 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 3005 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 3009 #if (PY_VERSION_HEX <= 0x02000000) 3010 # if !defined(SWIG_PYTHON_CLASSIC) 3011 # error "This python version requires swig to be run with the '-classic' option" 3018 #if PY_VERSION_HEX >= 0x03000000 3019 # define SWIG_init PyInit__plplotc 3022 # define SWIG_init init_plplotc 3025 #define SWIG_name "_plplotc" 3027 #define SWIGVERSION 0x030012 3028 #define SWIG_VERSION SWIGVERSION 3031 #define SWIG_as_voidptr(a) (void *)((const void *)(a)) 3032 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a)) 3035 #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION 3036 #include <arrayobject.h> 3040 #define NPY_PLINT NPY_INT32 3043 #define NPY_PLFLT NPY_FLOAT64 3045 #define NPY_PLFLT NPY_FLOAT32 3049 #if !defined ( PySequence_Fast_GET_ITEM ) 3050 #define PySequence_Fast_GET_ITEM PySequence_GetItem 3052 #define PySequence_Size PySequence_Length 3063 if (PyFloat_Check(obj)) {
3064 if (val) *val = PyFloat_AsDouble(obj);
3066 #if PY_VERSION_HEX < 0x03000000 3067 }
else if (PyInt_Check(obj)) {
3068 if (val) *val = (double) PyInt_AsLong(obj);
3071 }
else if (PyLong_Check(obj)) {
3072 double v = PyLong_AsDouble(obj);
3073 if (!PyErr_Occurred()) {
3080 #ifdef SWIG_PYTHON_CAST_MODE 3083 double d = PyFloat_AsDouble(obj);
3084 if (!PyErr_Occurred()) {
3091 long v = PyLong_AsLong(obj);
3092 if (!PyErr_Occurred()) {
3105 #define SWIG_From_double PyFloat_FromDouble 3120 return PyInt_FromLong((
long)
value);
3125 #if !defined(SWIG_NO_LLONG_MAX) 3126 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__) 3127 # define LLONG_MAX __LONG_LONG_MAX__ 3128 # define LLONG_MIN (-LLONG_MAX - 1LL) 3129 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) 3143 if ((
min <= x && x <=
max)) {
3144 double fx = floor(x);
3145 double cx = ceil(x);
3146 double rd = ((x - fx) < 0.5) ? fx : cx;
3147 if ((errno == EDOM) || (errno == ERANGE)) {
3150 double summ, reps, diff;
3153 }
else if (rd > x) {
3160 if (reps < 8*DBL_EPSILON) {
3173 #if PY_VERSION_HEX < 0x03000000 3174 if (PyInt_Check(obj)) {
3175 if (val) *val = PyInt_AsLong(obj);
3179 if (PyLong_Check(obj)) {
3180 long v = PyLong_AsLong(obj);
3181 if (!PyErr_Occurred()) {
3189 #ifdef SWIG_PYTHON_CAST_MODE 3192 long v = PyInt_AsLong(obj);
3193 if (!PyErr_Occurred()) {
3203 if (val) *val = (long)(d);
3219 if ((v < INT_MIN || v > INT_MAX)) {
3222 if (val) *val = (int)(v);
3232 #if PY_VERSION_HEX < 0x03000000 3233 if (PyInt_Check(obj)) {
3234 long v = PyInt_AsLong(obj);
3243 if (PyLong_Check(obj)) {
3244 unsigned long v = PyLong_AsUnsignedLong(obj);
3245 if (!PyErr_Occurred()) {
3253 #ifdef SWIG_PYTHON_CAST_MODE 3256 unsigned long v = PyLong_AsUnsignedLong(obj);
3257 if (!PyErr_Occurred()) {
3267 if (val) *val = (
unsigned long)(d);
3283 if ((v > UINT_MAX)) {
3286 if (val) *val = (
unsigned int)(v);
3303 static int init = 0;
3316 #if PY_VERSION_HEX>=0x03000000 3317 #if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3318 if (PyBytes_Check(obj))
3320 if (PyUnicode_Check(obj))
3323 if (PyString_Check(obj))
3328 #if PY_VERSION_HEX>=0x03000000 3329 #if !defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3330 if (!alloc && cptr) {
3337 obj = PyUnicode_AsUTF8String(obj);
3343 PyBytes_AsStringAndSize(obj, &cstr, &len);
3358 #if defined(SWIG_PYTHON_SAFE_CSTRINGS) 3364 *cptr = (
char *)memcpy(malloc((len + 1)*
sizeof(
char)), cstr,
sizeof(char)*(len + 1));
3371 #if PY_VERSION_HEX>=0x03000000 3372 #if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3373 *cptr = PyBytes_AsString(obj);
3384 if (psize) *psize = len + 1;
3385 #if PY_VERSION_HEX>=0x03000000 && !defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3390 #if defined(SWIG_PYTHON_2_UNICODE) 3391 #if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3392 #error "Cannot use both SWIG_PYTHON_2_UNICODE and SWIG_PYTHON_STRICT_BYTE_CHAR at once" 3394 #if PY_VERSION_HEX<0x03000000 3395 if (PyUnicode_Check(obj)) {
3397 if (!alloc && cptr) {
3400 obj = PyUnicode_AsUTF8String(obj);
3406 *cptr = (
char *)memcpy(malloc((len + 1)*
sizeof(
char)), cstr,
sizeof(char)*(len + 1));
3408 if (psize) *psize = len + 1;
3420 if (pchar_descriptor) {
3423 if (cptr) *cptr = (
char *) vptr;
3424 if (psize) *psize = vptr ? (strlen((
char *)vptr) + 1) : 0;
3437 char* cptr = 0;
size_t csize = 0;
int alloc =
SWIG_OLDOBJ;
3441 if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
3442 if (csize <= size) {
3444 if (csize) memcpy(val, cptr, csize*
sizeof(
char));
3445 if (csize < size) memset(val + csize, 0, (size - csize)*
sizeof(
char));
3463 if (size > INT_MAX) {
3465 return pchar_descriptor ?
3468 #if PY_VERSION_HEX >= 0x03000000 3469 #if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3470 return PyBytes_FromStringAndSize(carray, (
Py_ssize_t)(size));
3472 #if PY_VERSION_HEX >= 0x03010000 3473 return PyUnicode_DecodeUTF8(carray, (
Py_ssize_t)(size),
"surrogateescape");
3475 return PyUnicode_FromStringAndSize(carray, (
Py_ssize_t)(size));
3479 return PyString_FromStringAndSize(carray, (
Py_ssize_t)(size));
3492 for (p = s;
maxlen-- && *p; p++)
3501 #define t_output_helper SWIG_Python_AppendOutput 3512 if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
3513 if (val) *val = (char)(v);
3531 PyArrayObject* tmp = (PyArrayObject *) PyArray_ContiguousFromObject( in,
NPY_PLINT,
3536 if ( PyArray_Check( in ) )
3539 tmp = (PyArrayObject *) PyArray_Cast( (PyArrayObject *) in,
NPY_PLINT );
3546 #define myArray_ContiguousFromObject PyArray_ContiguousFromObject 3549 PyObject *resultobj = 0;
3563 PyObject * obj0 = 0 ;
3564 PyObject * obj1 = 0 ;
3571 if (!PyArg_ParseTuple(args,(
char *)
"OO:pltr0",&obj0,&obj1))
SWIG_fail;
3576 arg1 = (
PLFLT)(val1);
3581 arg2 = (
PLFLT)(val2);
3582 pltr0(arg1,arg2,arg3,arg4,arg5);
3617 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two arrays." );
3626 PyErr_SetString( PyExc_ValueError,
"Expected a sequence to two 1D arrays." );
3635 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg." );
3643 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg + 1." );
3665 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two arrays." );
3674 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two 2D arrays." );
3680 PyErr_SetString( PyExc_ValueError,
"Arrays must be same size." );
3689 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg." );
3697 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg + 1." );
3721 PyObject *resultobj = 0;
3735 PyObject * obj0 = 0 ;
3736 PyObject * obj1 = 0 ;
3737 PyObject * obj2 = 0 ;
3741 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pltr1",&obj0,&obj1,&obj2))
SWIG_fail;
3746 arg1 = (
PLFLT)(val1);
3751 arg2 = (
PLFLT)(val2);
3757 pltr1(arg1,arg2,arg3,arg4,arg5);
3784 PyObject *resultobj = 0;
3798 PyObject * obj0 = 0 ;
3799 PyObject * obj1 = 0 ;
3800 PyObject * obj2 = 0 ;
3804 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pltr2",&obj0,&obj1,&obj2))
SWIG_fail;
3809 arg1 = (
PLFLT)(val1);
3814 arg2 = (
PLFLT)(val2);
3820 pltr2(arg1,arg2,arg3,arg4,arg5);
3849 static PyInterpreterState *save_interp = NULL;
3859 #define MY_BLOCK_THREADS { \ 3860 PyThreadState *prev_state, *new_state; \ 3863 PyEval_AcquireLock(); \ 3864 new_state = PyThreadState_New( save_interp ); \ 3865 prev_state = PyThreadState_Swap( new_state ); 3866 #define MY_UNBLOCK_THREADS \ 3867 new_state = PyThreadState_Swap( prev_state ); \ 3868 PyThreadState_Clear( new_state ); \ 3869 PyEval_ReleaseLock(); \ 3870 PyThreadState_Delete( new_state ); \ 3873 #define MY_BLOCK_THREADS 3874 #define MY_UNBLOCK_THREADS 3897 PyObject *pdata, *arglist, *result;
3901 pdata = (PyObject *) data;
3908 Py_XINCREF( pdata );
3913 arglist = Py_BuildValue(
"(ddO)", x, y, pdata );
3915 arglist = Py_BuildValue(
"(ffO)", x, y, pdata );
3917 if ( arglist == NULL )
3919 fprintf( stderr,
"Py_BuildValue failed to make argument list.\n" );
3924 result = PyEval_CallObject(
python_pltr, arglist );
3926 Py_CLEAR( arglist );
3928 if ( result == NULL )
3930 fprintf( stderr,
"call to python pltr function with 3 arguments failed\n" );
3931 PyErr_SetString( PyExc_RuntimeError,
"pltr callback must take 3 arguments." );
3937 if ( tmp == 0 || PyArray_DIMS( tmp )[0] != 2 )
3939 fprintf( stderr,
"pltr callback must return a 2 element array or sequence\n" );
3940 PyErr_SetString( PyExc_RuntimeError,
"pltr callback must return a 2-sequence." );
3960 PyObject *pdata, *arglist, *result;
3961 PLFLT fresult = 0.0;
3964 pdata = (PyObject *) data;
3967 Py_XINCREF( pdata );
3971 arglist = Py_BuildValue(
"(iiO)", x, y, pdata );
3975 Py_CLEAR( arglist );
3977 if ( !PyFloat_Check( result ) )
3979 fprintf( stderr,
"f2eval callback must return a float\n" );
3980 PyErr_SetString( PyExc_RuntimeError,
"f2eval callback must return a float." );
3985 fresult = (
PLFLT) PyFloat_AsDouble( result );
3997 PyObject *pdata, *arglist, *result, *unicode_string;
4002 pdata = (PyObject *) data;
4007 Py_XINCREF( pdata );
4012 arglist = Py_BuildValue(
"(ldO)", axis,
value, pdata );
4014 arglist = Py_BuildValue(
"(lfO)", axis,
value, pdata );
4021 if ( result == NULL )
4023 fprintf( stderr,
"label callback failed with 3 arguments\n" );
4024 PyErr_SetString( PyExc_RuntimeError,
"label callback must take 3 arguments." );
4026 else if ( PyString_Check( result ) )
4029 pystring = PyString_AsString( result );
4030 strncpy(
string, pystring, len );
4032 else if ( PyUnicode_Check( result ) )
4035 unicode_string = PyUnicode_AsEncodedString( result,
"utf-8",
"Error ~" );
4036 pystring = PyBytes_AS_STRING( unicode_string );
4038 strncpy(
string, pystring, len );
4042 fprintf( stderr,
"label callback must return a string\n" );
4043 PyErr_SetString( PyExc_RuntimeError,
"label callback must return a string." );
4054 PyObject *px, *py, *pdata, *arglist, *result;
4059 pdata = (PyObject *) data;
4066 Py_XINCREF( pdata );
4070 px = PyArray_SimpleNewFromData( 1, &n,
NPY_PLFLT, (
void *) xt );
4071 py = PyArray_SimpleNewFromData( 1, &n,
NPY_PLFLT, (
void *) yt );
4072 arglist = Py_BuildValue(
"(ddOOO)", x, y, px, py, pdata );
4074 result = PyEval_CallObject(
python_ct, arglist );
4076 Py_CLEAR( arglist );
4081 if ( result == NULL )
4083 fprintf( stderr,
"call to python coordinate transform function with 5 arguments failed\n" );
4084 PyErr_SetString( PyExc_RuntimeError,
"coordinate transform callback must take 5 arguments." );
4095 PyObject *px, *py, *arglist, *result;
4106 #ifdef PL_HAVE_PTHREAD 4107 px = PyArray_SimpleNewFromData( 1, &nn,
NPY_PLFLT, (
void *) x );
4108 py = PyArray_SimpleNewFromData( 1, &nn,
NPY_PLFLT, (
void *) y );
4110 px = PyArray_FromDimsAndData( 1, &n,
NPY_PLFLT, (
char *) x );
4111 py = PyArray_FromDimsAndData( 1, &n,
NPY_PLFLT, (
char *) y );
4113 arglist = Py_BuildValue(
"(iOO)", n, px, py );
4117 Py_CLEAR( arglist );
4121 if ( result == NULL )
4123 fprintf( stderr,
"call to python mapform function with 3 arguments failed\n" );
4124 PyErr_SetString( PyExc_RuntimeError,
"mapform callback must take 3 arguments." );
4137 PyObject * rep = PyObject_Repr( input );
4142 if ( PyUnicode_Check( rep ) )
4144 PyObject *uni_str = PyUnicode_AsEncodedString( rep,
"utf-8",
"Error ~" );
4145 str = PyBytes_AS_STRING( uni_str );
4149 str = PyString_AsString( rep );
4151 if ( strstr( str,
"function pltr0" ) != 0 )
4157 else if ( strstr( str,
"function pltr1" ) != 0 )
4163 else if ( strstr( str,
"function pltr2" ) != 0 )
4173 Py_XINCREF( input );
4181 Py_XINCREF( input );
4197 Py_XINCREF( input );
4212 Py_XINCREF( input );
4230 if ( input != Py_None )
4234 if ( input != Py_None )
4238 Py_XINCREF( input );
4242 fprintf( stderr,
"pltr_type is invalid\n" );
4263 fprintf( stderr,
"pltr_type is invalid\n" );
4272 PyObject *resultobj = 0;
4279 PyObject * obj0 = 0 ;
4280 PyObject * obj1 = 0 ;
4282 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_type_set",&obj0,&obj1))
SWIG_fail;
4293 if (arg1) (arg1)->type = arg2;
4302 PyObject *resultobj = 0;
4306 PyObject * obj0 = 0 ;
4309 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_type_get",&obj0))
SWIG_fail;
4315 result = (int) ((arg1)->type);
4324 PyObject *resultobj = 0;
4331 PyObject * obj0 = 0 ;
4332 PyObject * obj1 = 0 ;
4334 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_state_set",&obj0,&obj1))
SWIG_fail;
4344 arg2 = (
unsigned int)(val2);
4345 if (arg1) (arg1)->state = arg2;
4354 PyObject *resultobj = 0;
4358 PyObject * obj0 = 0 ;
4359 unsigned int result;
4361 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_state_get",&obj0))
SWIG_fail;
4367 result = (
unsigned int) ((arg1)->state);
4376 PyObject *resultobj = 0;
4383 PyObject * obj0 = 0 ;
4384 PyObject * obj1 = 0 ;
4386 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_keysym_set",&obj0,&obj1))
SWIG_fail;
4396 arg2 = (
unsigned int)(val2);
4397 if (arg1) (arg1)->keysym = arg2;
4406 PyObject *resultobj = 0;
4410 PyObject * obj0 = 0 ;
4411 unsigned int result;
4413 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_keysym_get",&obj0))
SWIG_fail;
4419 result = (
unsigned int) ((arg1)->keysym);
4428 PyObject *resultobj = 0;
4435 PyObject * obj0 = 0 ;
4436 PyObject * obj1 = 0 ;
4438 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_button_set",&obj0,&obj1))
SWIG_fail;
4448 arg2 = (
unsigned int)(val2);
4449 if (arg1) (arg1)->button = arg2;
4458 PyObject *resultobj = 0;
4462 PyObject * obj0 = 0 ;
4463 unsigned int result;
4465 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_button_get",&obj0))
SWIG_fail;
4471 result = (
unsigned int) ((arg1)->button);
4480 PyObject *resultobj = 0;
4487 PyObject * obj0 = 0 ;
4488 PyObject * obj1 = 0 ;
4490 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_subwindow_set",&obj0,&obj1))
SWIG_fail;
4500 arg2 = (
PLINT)(val2);
4501 if (arg1) (arg1)->subwindow = arg2;
4510 PyObject *resultobj = 0;
4514 PyObject * obj0 = 0 ;
4517 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_subwindow_get",&obj0))
SWIG_fail;
4523 result = (
PLINT) ((arg1)->subwindow);
4532 PyObject *resultobj = 0;
4539 PyObject * obj0 = 0 ;
4540 PyObject * obj1 = 0 ;
4542 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_string_set",&obj0,&obj1))
SWIG_fail;
4552 arg2 = (
char *)(temp2);
4553 if (arg2) memcpy(arg1->
string,arg2,16*
sizeof(
char));
4554 else memset(arg1->
string,0,16*
sizeof(
char));
4563 PyObject *resultobj = 0;
4567 PyObject * obj0 = 0 ;
4570 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_string_get",&obj0))
SWIG_fail;
4576 result = (
char *)(
char *) ((arg1)->
string);
4591 PyObject *resultobj = 0;
4598 PyObject * obj0 = 0 ;
4599 PyObject * obj1 = 0 ;
4601 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_pX_set",&obj0,&obj1))
SWIG_fail;
4612 if (arg1) (arg1)->pX = arg2;
4621 PyObject *resultobj = 0;
4625 PyObject * obj0 = 0 ;
4628 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_pX_get",&obj0))
SWIG_fail;
4634 result = (int) ((arg1)->pX);
4643 PyObject *resultobj = 0;
4650 PyObject * obj0 = 0 ;
4651 PyObject * obj1 = 0 ;
4653 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_pY_set",&obj0,&obj1))
SWIG_fail;
4664 if (arg1) (arg1)->pY = arg2;
4673 PyObject *resultobj = 0;
4677 PyObject * obj0 = 0 ;
4680 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_pY_get",&obj0))
SWIG_fail;
4686 result = (int) ((arg1)->pY);
4695 PyObject *resultobj = 0;
4702 PyObject * obj0 = 0 ;
4703 PyObject * obj1 = 0 ;
4705 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_dX_set",&obj0,&obj1))
SWIG_fail;
4715 arg2 = (
PLFLT)(val2);
4716 if (arg1) (arg1)->dX = arg2;
4725 PyObject *resultobj = 0;
4729 PyObject * obj0 = 0 ;
4732 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_dX_get",&obj0))
SWIG_fail;
4738 result = (
PLFLT) ((arg1)->dX);
4747 PyObject *resultobj = 0;
4754 PyObject * obj0 = 0 ;
4755 PyObject * obj1 = 0 ;
4757 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_dY_set",&obj0,&obj1))
SWIG_fail;
4767 arg2 = (
PLFLT)(val2);
4768 if (arg1) (arg1)->dY = arg2;
4777 PyObject *resultobj = 0;
4781 PyObject * obj0 = 0 ;
4784 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_dY_get",&obj0))
SWIG_fail;
4790 result = (
PLFLT) ((arg1)->dY);
4799 PyObject *resultobj = 0;
4806 PyObject * obj0 = 0 ;
4807 PyObject * obj1 = 0 ;
4809 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_wX_set",&obj0,&obj1))
SWIG_fail;
4819 arg2 = (
PLFLT)(val2);
4820 if (arg1) (arg1)->wX = arg2;
4829 PyObject *resultobj = 0;
4833 PyObject * obj0 = 0 ;
4836 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_wX_get",&obj0))
SWIG_fail;
4842 result = (
PLFLT) ((arg1)->wX);
4851 PyObject *resultobj = 0;
4858 PyObject * obj0 = 0 ;
4859 PyObject * obj1 = 0 ;
4861 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_wY_set",&obj0,&obj1))
SWIG_fail;
4871 arg2 = (
PLFLT)(val2);
4872 if (arg1) (arg1)->wY = arg2;
4881 PyObject *resultobj = 0;
4885 PyObject * obj0 = 0 ;
4888 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_wY_get",&obj0))
SWIG_fail;
4894 result = (
PLFLT) ((arg1)->wY);
4903 PyObject *resultobj = 0;
4906 if (!PyArg_ParseTuple(args,(
char *)
":new_PLGraphicsIn"))
SWIG_fail;
4916 PyObject *resultobj = 0;
4920 PyObject * obj0 = 0 ;
4922 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_PLGraphicsIn",&obj0))
SWIG_fail;
4928 free((
char *) arg1);
4938 if (!PyArg_ParseTuple(args,(
char *)
"O:swigregister", &obj))
return NULL;
4944 PyObject *resultobj = 0;
4948 PyObject * obj0 = 0 ;
4950 if (!PyArg_ParseTuple(args,(
char *)
"O:plsxwin",&obj0))
SWIG_fail;
4955 arg1 = (
PLINT)(val1);
4965 PyObject *resultobj = 0;
4972 PyObject * obj0 = 0 ;
4973 PyObject * obj1 = 0 ;
4975 if (!PyArg_ParseTuple(args,(
char *)
"OO:pl_setcontlabelformat",&obj0,&obj1))
SWIG_fail;
4980 arg1 = (
PLINT)(val1);
4985 arg2 = (
PLINT)(val2);
4995 PyObject *resultobj = 0;
5008 PyObject * obj0 = 0 ;
5009 PyObject * obj1 = 0 ;
5010 PyObject * obj2 = 0 ;
5011 PyObject * obj3 = 0 ;
5013 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:pl_setcontlabelparam",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
5018 arg1 = (
PLFLT)(val1);
5023 arg2 = (
PLFLT)(val2);
5028 arg3 = (
PLFLT)(val3);
5033 arg4 = (
PLINT)(val4);
5043 PyObject *resultobj = 0;
5047 PyObject * obj0 = 0 ;
5049 if (!PyArg_ParseTuple(args,(
char *)
"O:pladv",&obj0))
SWIG_fail;
5054 arg1 = (
PLINT)(val1);
5064 PyObject *resultobj = 0;
5089 PyObject * obj0 = 0 ;
5090 PyObject * obj1 = 0 ;
5091 PyObject * obj2 = 0 ;
5092 PyObject * obj3 = 0 ;
5093 PyObject * obj4 = 0 ;
5094 PyObject * obj5 = 0 ;
5095 PyObject * obj6 = 0 ;
5096 PyObject * obj7 = 0 ;
5098 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plarc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
5103 arg1 = (
PLFLT)(val1);
5108 arg2 = (
PLFLT)(val2);
5113 arg3 = (
PLFLT)(val3);
5118 arg4 = (
PLFLT)(val4);
5123 arg5 = (
PLFLT)(val5);
5128 arg6 = (
PLFLT)(val6);
5133 arg7 = (
PLFLT)(val7);
5139 plarc(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5148 PyObject *resultobj = 0;
5151 char *arg3 = (
char *) 0 ;
5154 char *arg6 = (
char *) 0 ;
5175 PyObject * obj0 = 0 ;
5176 PyObject * obj1 = 0 ;
5177 PyObject * obj2 = 0 ;
5178 PyObject * obj3 = 0 ;
5179 PyObject * obj4 = 0 ;
5180 PyObject * obj5 = 0 ;
5181 PyObject * obj6 = 0 ;
5182 PyObject * obj7 = 0 ;
5184 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plaxes",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
5189 arg1 = (
PLFLT)(val1);
5194 arg2 = (
PLFLT)(val2);
5199 arg3 = (
char *)(buf3);
5204 arg4 = (
PLFLT)(val4);
5209 arg5 = (
PLINT)(val5);
5214 arg6 = (
char *)(buf6);
5219 arg7 = (
PLFLT)(val7);
5224 arg8 = (
PLINT)(val8);
5225 plaxes(arg1,arg2,(
char const *)arg3,arg4,arg5,(
char const *)arg6,arg7,arg8);
5238 PyObject *resultobj = 0;
5243 PyArrayObject *tmp1 = NULL ;
5244 PyArrayObject *tmp3 = NULL ;
5247 PyObject * obj0 = 0 ;
5248 PyObject * obj1 = 0 ;
5249 PyObject * obj2 = 0 ;
5251 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plbin",&obj0,&obj1,&obj2))
SWIG_fail;
5256 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
5257 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
5263 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
5265 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
5268 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
5274 arg4 = (
PLINT)(val4);
5275 plbin(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
5296 PyObject *resultobj = 0;
5318 PyObject * obj0 = 0 ;
5326 if (!PyArg_ParseTuple(args,(
char *)
"O:plbtime",&obj0))
SWIG_fail;
5331 arg7 = (
PLFLT)(val7);
5332 plbtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5377 PyObject *resultobj = 0;
5379 if (!PyArg_ParseTuple(args,(
char *)
":plbop"))
SWIG_fail;
5389 PyObject *resultobj = 0;
5390 char *arg1 = (
char *) 0 ;
5393 char *arg4 = (
char *) 0 ;
5410 PyObject * obj0 = 0 ;
5411 PyObject * obj1 = 0 ;
5412 PyObject * obj2 = 0 ;
5413 PyObject * obj3 = 0 ;
5414 PyObject * obj4 = 0 ;
5415 PyObject * obj5 = 0 ;
5417 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plbox",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
5422 arg1 = (
char *)(buf1);
5427 arg2 = (
PLFLT)(val2);
5432 arg3 = (
PLINT)(val3);
5437 arg4 = (
char *)(buf4);
5442 arg5 = (
PLFLT)(val5);
5447 arg6 = (
PLINT)(val6);
5448 plbox((
char const *)arg1,arg2,arg3,(
char const *)arg4,arg5,arg6);
5461 PyObject *resultobj = 0;
5462 char *arg1 = (
char *) 0 ;
5463 char *arg2 = (
char *) 0 ;
5466 char *arg5 = (
char *) 0 ;
5467 char *arg6 = (
char *) 0 ;
5470 char *arg9 = (
char *) 0 ;
5471 char *arg10 = (
char *) 0 ;
5504 PyObject * obj0 = 0 ;
5505 PyObject * obj1 = 0 ;
5506 PyObject * obj2 = 0 ;
5507 PyObject * obj3 = 0 ;
5508 PyObject * obj4 = 0 ;
5509 PyObject * obj5 = 0 ;
5510 PyObject * obj6 = 0 ;
5511 PyObject * obj7 = 0 ;
5512 PyObject * obj8 = 0 ;
5513 PyObject * obj9 = 0 ;
5514 PyObject * obj10 = 0 ;
5515 PyObject * obj11 = 0 ;
5517 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOOO:plbox3",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11))
SWIG_fail;
5522 arg1 = (
char *)(buf1);
5527 arg2 = (
char *)(buf2);
5532 arg3 = (
PLFLT)(val3);
5537 arg4 = (
PLINT)(val4);
5542 arg5 = (
char *)(buf5);
5547 arg6 = (
char *)(buf6);
5552 arg7 = (
PLFLT)(val7);
5557 arg8 = (
PLINT)(val8);
5562 arg9 = (
char *)(buf9);
5567 arg10 = (
char *)(buf10);
5572 arg11 = (
PLFLT)(val11);
5577 arg12 = (
PLINT)(val12);
5578 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);
5599 PyObject *resultobj = 0;
5615 PyObject * obj0 = 0 ;
5616 PyObject * obj1 = 0 ;
5621 if (!PyArg_ParseTuple(args,(
char *)
"OO:plcalc_world",&obj0,&obj1))
SWIG_fail;
5626 arg1 = (
PLFLT)(val1);
5631 arg2 = (
PLFLT)(val2);
5659 PyObject *resultobj = 0;
5661 if (!PyArg_ParseTuple(args,(
char *)
":plclear"))
SWIG_fail;
5671 PyObject *resultobj = 0;
5675 PyObject * obj0 = 0 ;
5677 if (!PyArg_ParseTuple(args,(
char *)
"O:plcol0",&obj0))
SWIG_fail;
5682 arg1 = (
PLINT)(val1);
5692 PyObject *resultobj = 0;
5696 PyObject * obj0 = 0 ;
5698 if (!PyArg_ParseTuple(args,(
char *)
"O:plcol1",&obj0))
SWIG_fail;
5703 arg1 = (
PLFLT)(val1);
5713 PyObject *resultobj = 0;
5747 PyObject * obj0 = 0 ;
5748 PyObject * obj1 = 0 ;
5749 PyObject * obj2 = 0 ;
5750 PyObject * obj3 = 0 ;
5751 PyObject * obj4 = 0 ;
5752 PyObject * obj5 = 0 ;
5753 PyObject * obj6 = 0 ;
5754 PyObject * obj7 = 0 ;
5755 PyObject * obj8 = 0 ;
5756 PyObject * obj9 = 0 ;
5757 PyObject * obj10 = 0 ;
5759 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plconfigtime",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
5764 arg1 = (
PLFLT)(val1);
5769 arg2 = (
PLFLT)(val2);
5774 arg3 = (
PLFLT)(val3);
5779 arg4 = (
PLINT)(val4);
5789 arg6 = (
PLINT)(val6);
5794 arg7 = (
PLINT)(val7);
5799 arg8 = (
PLINT)(val8);
5804 arg9 = (
PLINT)(val9);
5809 arg10 = (
PLINT)(val10);
5814 arg11 = (
PLFLT)(val11);
5815 plconfigtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
5824 PyObject *resultobj = 0;
5836 PyArrayObject *tmp1 = NULL ;
5845 PyArrayObject *tmp8 = NULL ;
5846 PyObject * obj0 = 0 ;
5847 PyObject * obj1 = 0 ;
5848 PyObject * obj2 = 0 ;
5849 PyObject * obj3 = 0 ;
5850 PyObject * obj4 = 0 ;
5851 PyObject * obj5 = 0 ;
5852 PyObject * obj6 = 0 ;
5853 PyObject * obj7 = 0 ;
5862 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO|OO:plcont",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
5868 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
5869 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
5871 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
5872 for ( i = 0; i < arg2; i++ )
5873 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
5879 arg4 = (
PLINT)(val4);
5884 arg5 = (
PLINT)(val5);
5889 arg6 = (
PLINT)(val6);
5894 arg7 = (
PLINT)(val7);
5899 arg9 = PyArray_DIMS( tmp8 )[0];
5900 arg8 = (
PLFLT *) PyArray_DATA( tmp8 );
5905 if ( obj6 == Py_None )
5911 if ( !PyCallable_Check( (PyObject *) obj6 ) )
5913 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
5922 if ( obj7 == Py_None )
5930 plcont((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(
double const *)arg8,arg9,arg10,arg11);
5965 PyObject *resultobj = 0;
5987 PyObject * obj0 = 0 ;
5988 PyObject * obj1 = 0 ;
5989 PyObject * obj2 = 0 ;
5990 PyObject * obj3 = 0 ;
5991 PyObject * obj4 = 0 ;
5992 PyObject * obj5 = 0 ;
5995 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plctime",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
6000 arg1 = (
PLINT)(val1);
6005 arg2 = (
PLINT)(val2);
6010 arg3 = (
PLINT)(val3);
6015 arg4 = (
PLINT)(val4);
6020 arg5 = (
PLINT)(val5);
6025 arg6 = (
PLFLT)(val6);
6026 plctime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
6041 PyObject *resultobj = 0;
6048 PyObject * obj0 = 0 ;
6049 PyObject * obj1 = 0 ;
6051 if (!PyArg_ParseTuple(args,(
char *)
"OO:plcpstrm",&obj0,&obj1))
SWIG_fail;
6056 arg1 = (
PLINT)(val1);
6071 PyObject *resultobj = 0;
6073 if (!PyArg_ParseTuple(args,(
char *)
":plend"))
SWIG_fail;
6083 PyObject *resultobj = 0;
6085 if (!PyArg_ParseTuple(args,(
char *)
":plend1"))
SWIG_fail;
6095 PyObject *resultobj = 0;
6114 PyObject * obj0 = 0 ;
6115 PyObject * obj1 = 0 ;
6116 PyObject * obj2 = 0 ;
6117 PyObject * obj3 = 0 ;
6118 PyObject * obj4 = 0 ;
6119 PyObject * obj5 = 0 ;
6121 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plenv",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
6126 arg1 = (
PLFLT)(val1);
6131 arg2 = (
PLFLT)(val2);
6136 arg3 = (
PLFLT)(val3);
6141 arg4 = (
PLFLT)(val4);
6146 arg5 = (
PLINT)(val5);
6151 arg6 = (
PLINT)(val6);
6152 plenv(arg1,arg2,arg3,arg4,arg5,arg6);
6161 PyObject *resultobj = 0;
6180 PyObject * obj0 = 0 ;
6181 PyObject * obj1 = 0 ;
6182 PyObject * obj2 = 0 ;
6183 PyObject * obj3 = 0 ;
6184 PyObject * obj4 = 0 ;
6185 PyObject * obj5 = 0 ;
6187 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plenv0",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
6192 arg1 = (
PLFLT)(val1);
6197 arg2 = (
PLFLT)(val2);
6202 arg3 = (
PLFLT)(val3);
6207 arg4 = (
PLFLT)(val4);
6212 arg5 = (
PLINT)(val5);
6217 arg6 = (
PLINT)(val6);
6218 plenv0(arg1,arg2,arg3,arg4,arg5,arg6);
6227 PyObject *resultobj = 0;
6229 if (!PyArg_ParseTuple(args,(
char *)
":pleop"))
SWIG_fail;
6239 PyObject *resultobj = 0;
6244 PyArrayObject *tmp1 = NULL ;
6245 PyArrayObject *tmp3 = NULL ;
6246 PyArrayObject *tmp4 = NULL ;
6247 PyObject * obj0 = 0 ;
6248 PyObject * obj1 = 0 ;
6249 PyObject * obj2 = 0 ;
6251 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plerrx",&obj0,&obj1,&obj2))
SWIG_fail;
6256 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6257 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6263 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6265 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6268 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6274 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6276 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6279 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
6281 plerrx(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6308 PyObject *resultobj = 0;
6313 PyArrayObject *tmp1 = NULL ;
6314 PyArrayObject *tmp3 = NULL ;
6315 PyArrayObject *tmp4 = NULL ;
6316 PyObject * obj0 = 0 ;
6317 PyObject * obj1 = 0 ;
6318 PyObject * obj2 = 0 ;
6320 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plerry",&obj0,&obj1,&obj2))
SWIG_fail;
6325 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6326 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6332 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6334 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6337 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6343 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6345 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6348 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
6350 plerry(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6377 PyObject *resultobj = 0;
6379 if (!PyArg_ParseTuple(args,(
char *)
":plfamadv"))
SWIG_fail;
6389 PyObject *resultobj = 0;
6393 PyArrayObject *tmp1 = NULL ;
6394 PyArrayObject *tmp3 = NULL ;
6395 PyObject * obj0 = 0 ;
6396 PyObject * obj1 = 0 ;
6398 if (!PyArg_ParseTuple(args,(
char *)
"OO:plfill",&obj0,&obj1))
SWIG_fail;
6403 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6404 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6410 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6412 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6415 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6417 plfill(arg1,(
double const *)arg2,(
double const *)arg3);
6438 PyObject *resultobj = 0;
6443 PyArrayObject *tmp1 = NULL ;
6444 PyArrayObject *tmp3 = NULL ;
6445 PyArrayObject *tmp4 = NULL ;
6446 PyObject * obj0 = 0 ;
6447 PyObject * obj1 = 0 ;
6448 PyObject * obj2 = 0 ;
6450 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plfill3",&obj0,&obj1,&obj2))
SWIG_fail;
6455 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6456 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6462 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6464 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6467 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6473 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6475 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6478 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
6480 plfill3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6507 PyObject *resultobj = 0;
6512 PyArrayObject *tmp1 = NULL ;
6513 PyArrayObject *tmp3 = NULL ;
6516 PyObject * obj0 = 0 ;
6517 PyObject * obj1 = 0 ;
6518 PyObject * obj2 = 0 ;
6520 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plgradient",&obj0,&obj1,&obj2))
SWIG_fail;
6525 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6526 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6532 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6534 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6537 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6543 arg4 = (
PLFLT)(val4);
6544 plgradient(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
6565 PyObject *resultobj = 0;
6567 if (!PyArg_ParseTuple(args,(
char *)
":plflush"))
SWIG_fail;
6577 PyObject *resultobj = 0;
6581 PyObject * obj0 = 0 ;
6583 if (!PyArg_ParseTuple(args,(
char *)
"O:plfont",&obj0))
SWIG_fail;
6588 arg1 = (
PLINT)(val1);
6598 PyObject *resultobj = 0;
6602 PyObject * obj0 = 0 ;
6604 if (!PyArg_ParseTuple(args,(
char *)
"O:plfontld",&obj0))
SWIG_fail;
6609 arg1 = (
PLINT)(val1);
6619 PyObject *resultobj = 0;
6629 if (!PyArg_ParseTuple(args,(
char *)
":plgchr"))
SWIG_fail;
6651 PyObject *resultobj = 0;
6664 PyObject * obj0 = 0 ;
6669 if (!PyArg_ParseTuple(args,(
char *)
"O:plgcol0",&obj0))
SWIG_fail;
6674 arg1 = (
PLINT)(val1);
6702 PyObject *resultobj = 0;
6718 PyObject * obj0 = 0 ;
6724 if (!PyArg_ParseTuple(args,(
char *)
"O:plgcol0a",&obj0))
SWIG_fail;
6729 arg1 = (
PLINT)(val1);
6730 plgcol0a(arg1,arg2,arg3,arg4,arg5);
6763 PyObject *resultobj = 0;
6777 if (!PyArg_ParseTuple(args,(
char *)
":plgcolbg"))
SWIG_fail;
6805 PyObject *resultobj = 0;
6823 if (!PyArg_ParseTuple(args,(
char *)
":plgcolbga"))
SWIG_fail;
6857 PyObject *resultobj = 0;
6863 if (!PyArg_ParseTuple(args,(
char *)
":plgcompression"))
SWIG_fail;
6879 PyObject *resultobj = 0;
6880 char *arg1 = (
char *) 0 ;
6886 if (!PyArg_ParseTuple(args,(
char *)
":plgdev"))
SWIG_fail;
6890 PyObject *o = PyString_FromString( arg1 );
6900 PyObject *resultobj = 0;
6918 if (!PyArg_ParseTuple(args,(
char *)
":plgdidev"))
SWIG_fail;
6952 PyObject *resultobj = 0;
6958 if (!PyArg_ParseTuple(args,(
char *)
":plgdiori"))
SWIG_fail;
6974 PyObject *resultobj = 0;
6992 if (!PyArg_ParseTuple(args,(
char *)
":plgdiplt"))
SWIG_fail;
7026 PyObject *resultobj = 0;
7040 if (!PyArg_ParseTuple(args,(
char *)
":plgfam"))
SWIG_fail;
7068 PyObject *resultobj = 0;
7074 if (!PyArg_ParseTuple(args,(
char *)
":plgfci"))
SWIG_fail;
7090 PyObject *resultobj = 0;
7091 char *arg1 = (
char *) 0 ;
7097 if (!PyArg_ParseTuple(args,(
char *)
":plgfnam"))
SWIG_fail;
7101 PyObject *o = PyString_FromString( arg1 );
7111 PyObject *resultobj = 0;
7125 if (!PyArg_ParseTuple(args,(
char *)
":plgfont"))
SWIG_fail;
7153 PyObject *resultobj = 0;
7159 if (!PyArg_ParseTuple(args,(
char *)
":plglevel"))
SWIG_fail;
7175 PyObject *resultobj = 0;
7201 if (!PyArg_ParseTuple(args,(
char *)
":plgpage"))
SWIG_fail;
7202 plgpage(arg1,arg2,arg3,arg4,arg5,arg6);
7247 PyObject *resultobj = 0;
7249 if (!PyArg_ParseTuple(args,(
char *)
":plgra"))
SWIG_fail;
7259 PyObject *resultobj = 0;
7271 PyArrayObject *tmp1 = NULL ;
7272 PyArrayObject *tmp2 = NULL ;
7273 PyArrayObject *tmp3 = NULL ;
7274 PyArrayObject *tmp5 = NULL ;
7275 PyArrayObject *tmp7 = NULL ;
7276 PyObject *array7 = NULL ;
7281 PyObject * obj0 = 0 ;
7282 PyObject * obj1 = 0 ;
7283 PyObject * obj2 = 0 ;
7284 PyObject * obj3 = 0 ;
7285 PyObject * obj4 = 0 ;
7286 PyObject * obj5 = 0 ;
7287 PyObject * obj6 = 0 ;
7289 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plgriddata",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
7294 Alen = PyArray_DIMS( tmp1 )[0];
7295 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
7301 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
7303 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
7306 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
7312 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
7314 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
7317 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
7318 arg4 = PyArray_DIMS( tmp3 )[0];
7324 Xlen = PyArray_DIMS( tmp5 )[0];
7326 arg5 = (
PLFLT *) PyArray_DATA( tmp5 );
7334 Ylen = PyArray_DIMS( tmp7 )[0];
7336 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
7341 array7 = PyArray_SimpleNew( 2, dims,
NPY_PLFLT );
7345 arg9 = (
PLFLT **) malloc(
sizeof (
double * ) * (size_t)
Xlen );
7346 for ( i = 0; i <
Xlen; i++ )
7347 arg9[i] = ( (
PLFLT *) PyArray_DATA( (PyArrayObject *) array7 ) + i * size );
7353 arg10 = (
PLINT)(val10);
7358 arg11 = (
PLFLT)(val11);
7359 plgriddata((
double const *)arg1,(
double const *)arg2,(
double const *)arg3,arg4,(
double const *)arg5,arg6,(
double const *)arg7,arg8,arg9,arg10,arg11);
7403 PyObject *resultobj = 0;
7421 if (!PyArg_ParseTuple(args,(
char *)
":plgspa"))
SWIG_fail;
7422 plgspa(arg1,arg2,arg3,arg4);
7455 PyObject *resultobj = 0;
7461 if (!PyArg_ParseTuple(args,(
char *)
":plgstrm"))
SWIG_fail;
7477 PyObject *resultobj = 0;
7478 char *arg1 = (
char *) 0 ;
7484 if (!PyArg_ParseTuple(args,(
char *)
":plgver"))
SWIG_fail;
7488 PyObject *o = PyString_FromString( arg1 );
7498 PyObject *resultobj = 0;
7516 if (!PyArg_ParseTuple(args,(
char *)
":plgvpd"))
SWIG_fail;
7517 plgvpd(arg1,arg2,arg3,arg4);
7550 PyObject *resultobj = 0;
7568 if (!PyArg_ParseTuple(args,(
char *)
":plgvpw"))
SWIG_fail;
7569 plgvpw(arg1,arg2,arg3,arg4);
7602 PyObject *resultobj = 0;
7612 if (!PyArg_ParseTuple(args,(
char *)
":plgxax"))
SWIG_fail;
7634 PyObject *resultobj = 0;
7644 if (!PyArg_ParseTuple(args,(
char *)
":plgyax"))
SWIG_fail;
7666 PyObject *resultobj = 0;
7676 if (!PyArg_ParseTuple(args,(
char *)
":plgzax"))
SWIG_fail;
7698 PyObject *resultobj = 0;
7705 PyArrayObject *tmp1 = NULL ;
7714 PyObject * obj0 = 0 ;
7715 PyObject * obj1 = 0 ;
7716 PyObject * obj2 = 0 ;
7717 PyObject * obj3 = 0 ;
7718 PyObject * obj4 = 0 ;
7720 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plhist",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
7725 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
7726 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
7732 arg3 = (
PLFLT)(val3);
7737 arg4 = (
PLFLT)(val4);
7742 arg5 = (
PLINT)(val5);
7747 arg6 = (
PLINT)(val6);
7748 plhist(arg1,(
double const *)arg2,arg3,arg4,arg5,arg6);
7763 PyObject *resultobj = 0;
7782 PyObject * obj0 = 0 ;
7783 PyObject * obj1 = 0 ;
7784 PyObject * obj2 = 0 ;
7789 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plhlsrgb",&obj0,&obj1,&obj2))
SWIG_fail;
7794 arg1 = (
PLFLT)(val1);
7799 arg2 = (
PLFLT)(val2);
7804 arg3 = (
PLFLT)(val3);
7805 plhlsrgb(arg1,arg2,arg3,arg4,arg5,arg6);
7832 PyObject *resultobj = 0;
7834 if (!PyArg_ParseTuple(args,(
char *)
":plinit"))
SWIG_fail;
7844 PyObject *resultobj = 0;
7857 PyObject * obj0 = 0 ;
7858 PyObject * obj1 = 0 ;
7859 PyObject * obj2 = 0 ;
7860 PyObject * obj3 = 0 ;
7862 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:pljoin",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
7867 arg1 = (
PLFLT)(val1);
7872 arg2 = (
PLFLT)(val2);
7877 arg3 = (
PLFLT)(val3);
7882 arg4 = (
PLFLT)(val4);
7883 pljoin(arg1,arg2,arg3,arg4);
7892 PyObject *resultobj = 0;
7893 char *arg1 = (
char *) 0 ;
7894 char *arg2 = (
char *) 0 ;
7895 char *arg3 = (
char *) 0 ;
7905 PyObject * obj0 = 0 ;
7906 PyObject * obj1 = 0 ;
7907 PyObject * obj2 = 0 ;
7909 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pllab",&obj0,&obj1,&obj2))
SWIG_fail;
7914 arg1 = (
char *)(buf1);
7919 arg2 = (
char *)(buf2);
7924 arg3 = (
char *)(buf3);
7925 pllab((
char const *)arg1,(
char const *)arg2,(
char const *)arg3);
7940 PyObject *resultobj = 0;
7960 char **arg20 = (
char **) 0 ;
7971 char **arg31 = (
char **) 0 ;
7996 PyArrayObject *tmp13 = NULL ;
8005 PyArrayObject *tmp19 = NULL ;
8006 PyArrayObject *tmp20 = NULL ;
8007 PyArrayObject *tmp21 = NULL ;
8008 PyArrayObject *tmp22 = NULL ;
8009 PyArrayObject *tmp23 = NULL ;
8010 PyArrayObject *tmp24 = NULL ;
8011 PyArrayObject *tmp25 = NULL ;
8012 PyArrayObject *tmp26 = NULL ;
8013 PyArrayObject *tmp27 = NULL ;
8014 PyArrayObject *tmp28 = NULL ;
8015 PyArrayObject *tmp29 = NULL ;
8016 PyArrayObject *tmp30 = NULL ;
8017 PyArrayObject *tmp31 = NULL ;
8018 PyObject * obj0 = 0 ;
8019 PyObject * obj1 = 0 ;
8020 PyObject * obj2 = 0 ;
8021 PyObject * obj3 = 0 ;
8022 PyObject * obj4 = 0 ;
8023 PyObject * obj5 = 0 ;
8024 PyObject * obj6 = 0 ;
8025 PyObject * obj7 = 0 ;
8026 PyObject * obj8 = 0 ;
8027 PyObject * obj9 = 0 ;
8028 PyObject * obj10 = 0 ;
8029 PyObject * obj11 = 0 ;
8030 PyObject * obj12 = 0 ;
8031 PyObject * obj13 = 0 ;
8032 PyObject * obj14 = 0 ;
8033 PyObject * obj15 = 0 ;
8034 PyObject * obj16 = 0 ;
8035 PyObject * obj17 = 0 ;
8036 PyObject * obj18 = 0 ;
8037 PyObject * obj19 = 0 ;
8038 PyObject * obj20 = 0 ;
8039 PyObject * obj21 = 0 ;
8040 PyObject * obj22 = 0 ;
8041 PyObject * obj23 = 0 ;
8042 PyObject * obj24 = 0 ;
8043 PyObject * obj25 = 0 ;
8044 PyObject * obj26 = 0 ;
8045 PyObject * obj27 = 0 ;
8049 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;
8054 arg3 = (
PLINT)(val3);
8059 arg4 = (
PLINT)(val4);
8064 arg5 = (
PLFLT)(val5);
8069 arg6 = (
PLFLT)(val6);
8074 arg7 = (
PLFLT)(val7);
8079 arg8 = (
PLINT)(val8);
8084 arg9 = (
PLINT)(val9);
8089 arg10 = (
PLINT)(val10);
8094 arg11 = (
PLINT)(val11);
8099 arg12 = (
PLINT)(val12);
8102 if ( tmp13 == NULL )
8104 arg13 =
Alen = PyArray_DIMS( tmp13 )[0];
8105 arg14 = (
PLINT *) PyArray_DATA( tmp13 );
8111 arg15 = (
PLFLT)(val15);
8116 arg16 = (
PLFLT)(val16);
8121 arg17 = (
PLFLT)(val17);
8126 arg18 = (
PLFLT)(val18);
8129 if ( tmp19 == NULL )
8131 if ( PyArray_DIMS( tmp19 )[0] !=
Alen )
8133 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8136 arg19 = (
PLINT *) PyArray_DATA( tmp19 );
8140 tmp20 = (PyArrayObject *) PyArray_ContiguousFromObject( obj16, NPY_STRING, 1, 1 );
8141 if ( tmp20 == NULL )
8143 if ( PyArray_DIMS( tmp20 )[0] !=
Alen )
8145 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8148 arg20 = (
char **) malloc(
sizeof (
char* ) * (size_t)
Alen );
8149 for ( i = 0; i <
Alen; i++ )
8151 arg20[i] = (
char *) PyArray_DATA( tmp20 ) + i * PyArray_STRIDES( tmp20 )[0];
8152 if ( arg20[i] == NULL )
8161 if ( tmp21 == NULL )
8163 if ( PyArray_DIMS( tmp21 )[0] !=
Alen )
8165 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8168 arg21 = (
PLINT *) PyArray_DATA( tmp21 );
8172 if ( tmp22 == NULL )
8174 if ( PyArray_DIMS( tmp22 )[0] !=
Alen )
8176 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8179 arg22 = (
PLINT *) PyArray_DATA( tmp22 );
8182 if ( obj19 != Py_None )
8185 if ( tmp23 == NULL )
8187 if ( PyArray_DIMS( tmp23 )[0] !=
Alen )
8189 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8192 arg23 = (
PLFLT *) PyArray_DATA( tmp23 );
8200 if ( obj20 != Py_None )
8203 if ( tmp24 == NULL )
8205 if ( PyArray_DIMS( tmp24 )[0] !=
Alen )
8207 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8210 arg24 = (
PLFLT *) PyArray_DATA( tmp24 );
8219 if ( tmp25 == NULL )
8221 if ( PyArray_DIMS( tmp25 )[0] !=
Alen )
8223 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8226 arg25 = (
PLINT *) PyArray_DATA( tmp25 );
8230 if ( tmp26 == NULL )
8232 if ( PyArray_DIMS( tmp26 )[0] !=
Alen )
8234 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8237 arg26 = (
PLINT *) PyArray_DATA( tmp26 );
8240 if ( obj23 != Py_None )
8243 if ( tmp27 == NULL )
8245 if ( PyArray_DIMS( tmp27 )[0] !=
Alen )
8247 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8250 arg27 = (
PLFLT *) PyArray_DATA( tmp27 );
8259 if ( tmp28 == NULL )
8261 if ( PyArray_DIMS( tmp28 )[0] !=
Alen )
8263 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8266 arg28 = (
PLINT *) PyArray_DATA( tmp28 );
8269 if ( obj25 != Py_None )
8272 if ( tmp29 == NULL )
8274 if ( PyArray_DIMS( tmp29 )[0] !=
Alen )
8276 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8279 arg29 = (
PLFLT *) PyArray_DATA( tmp29 );
8288 if ( tmp30 == NULL )
8290 if ( PyArray_DIMS( tmp30 )[0] !=
Alen )
8292 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8295 arg30 = (
PLINT *) PyArray_DATA( tmp30 );
8299 tmp31 = (PyArrayObject *) PyArray_ContiguousFromObject( obj27, NPY_STRING, 1, 1 );
8300 if ( tmp31 == NULL )
8302 if ( PyArray_DIMS( tmp31 )[0] !=
Alen )
8304 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8307 arg31 = (
char **) malloc(
sizeof (
char* ) * (size_t)
Alen );
8308 for ( i = 0; i <
Alen; i++ )
8310 arg31[i] = (
char *) PyArray_DATA( tmp31 ) + i * PyArray_STRIDES( tmp31 )[0];
8311 if ( arg31[i] == NULL )
8318 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);
8339 Py_CLEAR( tmp20 ); free( arg20 );
8372 Py_CLEAR( tmp31 ); free( arg31 );
8383 Py_CLEAR( tmp20 ); free( arg20 );
8416 Py_CLEAR( tmp31 ); free( arg31 );
8423 PyObject *resultobj = 0;
8441 char **arg18 = (
char **) 0 ;
8443 char **arg20 = (
char **) 0 ;
8478 PyArrayObject *tmp16 = NULL ;
8479 PyArrayObject *tmp18 = NULL ;
8480 PyArrayObject *tmp19 = NULL ;
8481 PyArrayObject *tmp21 = NULL ;
8482 PyArrayObject *tmp22 = NULL ;
8483 PyArrayObject *tmp23 = NULL ;
8484 PyArrayObject *tmp24 = NULL ;
8485 PyObject * obj0 = 0 ;
8486 PyObject * obj1 = 0 ;
8487 PyObject * obj2 = 0 ;
8488 PyObject * obj3 = 0 ;
8489 PyObject * obj4 = 0 ;
8490 PyObject * obj5 = 0 ;
8491 PyObject * obj6 = 0 ;
8492 PyObject * obj7 = 0 ;
8493 PyObject * obj8 = 0 ;
8494 PyObject * obj9 = 0 ;
8495 PyObject * obj10 = 0 ;
8496 PyObject * obj11 = 0 ;
8497 PyObject * obj12 = 0 ;
8498 PyObject * obj13 = 0 ;
8499 PyObject * obj14 = 0 ;
8500 PyObject * obj15 = 0 ;
8501 PyObject * obj16 = 0 ;
8502 PyObject * obj17 = 0 ;
8503 PyObject * obj18 = 0 ;
8504 PyObject * obj19 = 0 ;
8508 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;
8513 arg3 = (
PLINT)(val3);
8518 arg4 = (
PLINT)(val4);
8523 arg5 = (
PLFLT)(val5);
8528 arg6 = (
PLFLT)(val6);
8533 arg7 = (
PLFLT)(val7);
8538 arg8 = (
PLFLT)(val8);
8543 arg9 = (
PLINT)(val9);
8548 arg10 = (
PLINT)(val10);
8553 arg11 = (
PLINT)(val11);
8558 arg12 = (
PLFLT)(val12);
8563 arg13 = (
PLFLT)(val13);
8568 arg14 = (
PLINT)(val14);
8573 arg15 = (
PLFLT)(val15);
8576 if ( tmp16 == NULL )
8578 arg16 =
Alen = PyArray_DIMS( tmp16 )[0];
8579 arg17 = (
PLINT *) PyArray_DATA( tmp16 );
8583 tmp18 = (PyArrayObject *) PyArray_ContiguousFromObject( obj14, NPY_STRING, 1, 1 );
8584 if ( tmp18 == NULL )
8586 if ( PyArray_DIMS( tmp18 )[0] !=
Alen )
8588 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8591 arg18 = (
char **) malloc(
sizeof (
char* ) * (size_t)
Alen );
8592 for ( i = 0; i <
Alen; i++ )
8594 arg18[i] = (
char *) PyArray_DATA( tmp18 ) + i * PyArray_STRIDES( tmp18 )[0];
8595 if ( arg18[i] == NULL )
8604 tmp19 = (PyArrayObject *) PyArray_ContiguousFromObject( obj15, NPY_STRING, 1, 1 );
8605 if ( tmp19 == NULL )
8607 Alen = PyArray_DIMS( tmp19 )[0];
8609 arg20 = (
char **) malloc(
sizeof (
char* ) * (size_t)
Alen );
8610 for ( i = 0; i <
Alen; i++ )
8612 arg20[i] = (
char *) PyArray_DATA( tmp19 ) + i * PyArray_STRIDES( tmp19 )[0];
8613 if ( arg20[i] == NULL )
8622 if ( tmp21 == NULL )
8624 if ( PyArray_DIMS( tmp21 )[0] !=
Alen )
8626 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8629 arg21 = (
PLFLT *) PyArray_DATA( tmp21 );
8633 if ( tmp22 == NULL )
8635 if ( PyArray_DIMS( tmp22 )[0] !=
Alen )
8637 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8640 arg22 = (
PLINT *) PyArray_DATA( tmp22 );
8645 if ( tmp23 == NULL )
8647 if ( PyArray_DIMS( tmp23 )[0] !=
Alen )
8649 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8652 Xlen = PyArray_DIMS( tmp23 )[0];
8653 arg23 = (
PLINT *) PyArray_DATA( tmp23 );
8655 for ( i = 0; i <
Xlen; i++ )
8656 if ( arg23[i] >
Ylen )
8662 if ( tmp24 == NULL )
8664 if ( PyArray_DIMS( tmp24 )[0] !=
Xlen || PyArray_DIMS( tmp24 )[1] !=
Ylen )
8666 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
8671 for ( i = 0; i <
Xlen; i++ )
8672 arg24[i] = ( (
PLFLT *) PyArray_DATA( tmp24 ) + i * size );
8674 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);
8692 Py_CLEAR( tmp18 ); free( arg18 );
8695 Py_CLEAR( tmp19 ); free( arg20 );
8716 Py_CLEAR( tmp18 ); free( arg18 );
8719 Py_CLEAR( tmp19 ); free( arg20 );
8739 PyObject *resultobj = 0;
8749 PyObject * obj0 = 0 ;
8750 PyObject * obj1 = 0 ;
8751 PyObject * obj2 = 0 ;
8753 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pllightsource",&obj0,&obj1,&obj2))
SWIG_fail;
8758 arg1 = (
PLFLT)(val1);
8763 arg2 = (
PLFLT)(val2);
8768 arg3 = (
PLFLT)(val3);
8778 PyObject *resultobj = 0;
8782 PyArrayObject *tmp1 = NULL ;
8783 PyArrayObject *tmp3 = NULL ;
8784 PyObject * obj0 = 0 ;
8785 PyObject * obj1 = 0 ;
8787 if (!PyArg_ParseTuple(args,(
char *)
"OO:plline",&obj0,&obj1))
SWIG_fail;
8792 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
8793 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
8799 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
8801 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8804 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
8806 plline(arg1,(
double const *)arg2,(
double const *)arg3);
8827 PyObject *resultobj = 0;
8832 PyArrayObject *tmp1 = NULL ;
8833 PyArrayObject *tmp3 = NULL ;
8834 PyArrayObject *tmp4 = NULL ;
8835 PyObject * obj0 = 0 ;
8836 PyObject * obj1 = 0 ;
8837 PyObject * obj2 = 0 ;
8839 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plline3",&obj0,&obj1,&obj2))
SWIG_fail;
8844 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
8845 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
8851 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
8853 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8856 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
8862 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
8864 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8867 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
8869 plline3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
8896 PyObject *resultobj = 0;
8900 PyObject * obj0 = 0 ;
8902 if (!PyArg_ParseTuple(args,(
char *)
"O:pllsty",&obj0))
SWIG_fail;
8907 arg1 = (
PLINT)(val1);
8917 PyObject *resultobj = 0;
8924 PyArrayObject *tmp1 = NULL ;
8925 PyArrayObject *tmp2 = NULL ;
8926 PyArrayObject *tmp3 = NULL ;
8929 PyObject * obj0 = 0 ;
8930 PyObject * obj1 = 0 ;
8931 PyObject * obj2 = 0 ;
8932 PyObject * obj3 = 0 ;
8934 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plmesh",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
8939 Xlen = PyArray_DIMS( tmp1 )[0];
8940 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
8946 Ylen = PyArray_DIMS( tmp2 )[0];
8947 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
8954 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
8956 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
8959 arg4 = PyArray_DIMS( tmp3 )[0];
8960 arg5 = PyArray_DIMS( tmp3 )[1];
8962 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
8963 for ( i = 0; i < arg4; i++ )
8964 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
8970 arg6 = (
PLINT)(val6);
8971 plmesh((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6);
9000 PyObject *resultobj = 0;
9009 PyArrayObject *tmp1 = NULL ;
9010 PyArrayObject *tmp2 = NULL ;
9011 PyArrayObject *tmp3 = NULL ;
9014 PyArrayObject *tmp7 = NULL ;
9015 PyObject * obj0 = 0 ;
9016 PyObject * obj1 = 0 ;
9017 PyObject * obj2 = 0 ;
9018 PyObject * obj3 = 0 ;
9019 PyObject * obj4 = 0 ;
9021 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plmeshc",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9026 Xlen = PyArray_DIMS( tmp1 )[0];
9027 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9033 Ylen = PyArray_DIMS( tmp2 )[0];
9034 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9041 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9043 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9046 arg4 = PyArray_DIMS( tmp3 )[0];
9047 arg5 = PyArray_DIMS( tmp3 )[1];
9049 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9050 for ( i = 0; i < arg4; i++ )
9051 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9057 arg6 = (
PLINT)(val6);
9062 arg8 = PyArray_DIMS( tmp7 )[0];
9063 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9065 plmeshc((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
9100 PyObject *resultobj = 0;
9106 if (!PyArg_ParseTuple(args,(
char *)
":plmkstrm"))
SWIG_fail;
9122 PyObject *resultobj = 0;
9123 char *arg1 = (
char *) 0 ;
9127 char *arg5 = (
char *) 0 ;
9140 PyObject * obj0 = 0 ;
9141 PyObject * obj1 = 0 ;
9142 PyObject * obj2 = 0 ;
9143 PyObject * obj3 = 0 ;
9144 PyObject * obj4 = 0 ;
9146 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plmtex",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9151 arg1 = (
char *)(buf1);
9156 arg2 = (
PLFLT)(val2);
9161 arg3 = (
PLFLT)(val3);
9166 arg4 = (
PLFLT)(val4);
9171 arg5 = (
char *)(buf5);
9172 plmtex((
char const *)arg1,arg2,arg3,arg4,(
char const *)arg5);
9185 PyObject *resultobj = 0;
9186 char *arg1 = (
char *) 0 ;
9190 char *arg5 = (
char *) 0 ;
9203 PyObject * obj0 = 0 ;
9204 PyObject * obj1 = 0 ;
9205 PyObject * obj2 = 0 ;
9206 PyObject * obj3 = 0 ;
9207 PyObject * obj4 = 0 ;
9209 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plmtex3",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9214 arg1 = (
char *)(buf1);
9219 arg2 = (
PLFLT)(val2);
9224 arg3 = (
PLFLT)(val3);
9229 arg4 = (
PLFLT)(val4);
9234 arg5 = (
char *)(buf5);
9235 plmtex3((
char const *)arg1,arg2,arg3,arg4,(
char const *)arg5);
9248 PyObject *resultobj = 0;
9256 PyArrayObject *tmp1 = NULL ;
9257 PyArrayObject *tmp2 = NULL ;
9258 PyArrayObject *tmp3 = NULL ;
9263 PyObject * obj0 = 0 ;
9264 PyObject * obj1 = 0 ;
9265 PyObject * obj2 = 0 ;
9266 PyObject * obj3 = 0 ;
9267 PyObject * obj4 = 0 ;
9269 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plot3d",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9274 Xlen = PyArray_DIMS( tmp1 )[0];
9275 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9281 Ylen = PyArray_DIMS( tmp2 )[0];
9282 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9289 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9291 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9294 arg4 = PyArray_DIMS( tmp3 )[0];
9295 arg5 = PyArray_DIMS( tmp3 )[1];
9297 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9298 for ( i = 0; i < arg4; i++ )
9299 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9305 arg6 = (
PLINT)(val6);
9311 plot3d((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,arg7);
9340 PyObject *resultobj = 0;
9349 PyArrayObject *tmp1 = NULL ;
9350 PyArrayObject *tmp2 = NULL ;
9351 PyArrayObject *tmp3 = NULL ;
9354 PyArrayObject *tmp7 = NULL ;
9355 PyObject * obj0 = 0 ;
9356 PyObject * obj1 = 0 ;
9357 PyObject * obj2 = 0 ;
9358 PyObject * obj3 = 0 ;
9359 PyObject * obj4 = 0 ;
9361 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plot3dc",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9366 Xlen = PyArray_DIMS( tmp1 )[0];
9367 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9373 Ylen = PyArray_DIMS( tmp2 )[0];
9374 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9381 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9383 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9386 arg4 = PyArray_DIMS( tmp3 )[0];
9387 arg5 = PyArray_DIMS( tmp3 )[1];
9389 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9390 for ( i = 0; i < arg4; i++ )
9391 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9397 arg6 = (
PLINT)(val6);
9402 arg8 = PyArray_DIMS( tmp7 )[0];
9403 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9405 plot3dc((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
9440 PyObject *resultobj = 0;
9453 PyArrayObject *tmp1 = NULL ;
9454 PyArrayObject *tmp2 = NULL ;
9455 PyArrayObject *tmp3 = NULL ;
9458 PyArrayObject *tmp7 = NULL ;
9461 PyArrayObject *tmp10 = NULL ;
9462 PyArrayObject *tmp12 = NULL ;
9463 PyObject * obj0 = 0 ;
9464 PyObject * obj1 = 0 ;
9465 PyObject * obj2 = 0 ;
9466 PyObject * obj3 = 0 ;
9467 PyObject * obj4 = 0 ;
9468 PyObject * obj5 = 0 ;
9469 PyObject * obj6 = 0 ;
9470 PyObject * obj7 = 0 ;
9472 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plot3dcl",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
9477 Xlen = PyArray_DIMS( tmp1 )[0];
9478 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9484 Ylen = PyArray_DIMS( tmp2 )[0];
9485 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9492 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9494 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9497 arg4 = PyArray_DIMS( tmp3 )[0];
9498 arg5 = PyArray_DIMS( tmp3 )[1];
9500 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9501 for ( i = 0; i < arg4; i++ )
9502 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9508 arg6 = (
PLINT)(val6);
9513 arg8 = PyArray_DIMS( tmp7 )[0];
9514 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9520 arg9 = (
PLINT)(val9);
9523 if ( tmp10 == NULL )
9525 arg10 =
Alen = PyArray_DIMS( tmp10 )[0];
9526 arg11 = (
PLINT *) PyArray_DATA( tmp10 );
9530 if ( tmp12 == NULL )
9532 if ( PyArray_DIMS( tmp12 )[0] !=
Alen )
9534 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9537 arg12 = (
PLINT *) PyArray_DATA( tmp12 );
9539 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);
9586 PyObject *resultobj = 0;
9595 PyArrayObject *tmp1 = NULL ;
9596 PyArrayObject *tmp2 = NULL ;
9597 PyArrayObject *tmp3 = NULL ;
9600 PyArrayObject *tmp7 = NULL ;
9601 PyObject * obj0 = 0 ;
9602 PyObject * obj1 = 0 ;
9603 PyObject * obj2 = 0 ;
9604 PyObject * obj3 = 0 ;
9605 PyObject * obj4 = 0 ;
9607 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plsurf3d",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9612 Xlen = PyArray_DIMS( tmp1 )[0];
9613 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9619 Ylen = PyArray_DIMS( tmp2 )[0];
9620 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9627 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9629 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9632 arg4 = PyArray_DIMS( tmp3 )[0];
9633 arg5 = PyArray_DIMS( tmp3 )[1];
9635 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9636 for ( i = 0; i < arg4; i++ )
9637 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9643 arg6 = (
PLINT)(val6);
9648 arg8 = PyArray_DIMS( tmp7 )[0];
9649 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9651 plsurf3d((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
9686 PyObject *resultobj = 0;
9699 PyArrayObject *tmp1 = NULL ;
9700 PyArrayObject *tmp2 = NULL ;
9701 PyArrayObject *tmp3 = NULL ;
9704 PyArrayObject *tmp7 = NULL ;
9707 PyArrayObject *tmp10 = NULL ;
9708 PyArrayObject *tmp12 = NULL ;
9709 PyObject * obj0 = 0 ;
9710 PyObject * obj1 = 0 ;
9711 PyObject * obj2 = 0 ;
9712 PyObject * obj3 = 0 ;
9713 PyObject * obj4 = 0 ;
9714 PyObject * obj5 = 0 ;
9715 PyObject * obj6 = 0 ;
9716 PyObject * obj7 = 0 ;
9718 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plsurf3dl",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
9723 Xlen = PyArray_DIMS( tmp1 )[0];
9724 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9730 Ylen = PyArray_DIMS( tmp2 )[0];
9731 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9738 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9740 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9743 arg4 = PyArray_DIMS( tmp3 )[0];
9744 arg5 = PyArray_DIMS( tmp3 )[1];
9746 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9747 for ( i = 0; i < arg4; i++ )
9748 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9754 arg6 = (
PLINT)(val6);
9759 arg8 = PyArray_DIMS( tmp7 )[0];
9760 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9766 arg9 = (
PLINT)(val9);
9769 if ( tmp10 == NULL )
9771 arg10 =
Alen = PyArray_DIMS( tmp10 )[0];
9772 arg11 = (
PLINT *) PyArray_DATA( tmp10 );
9776 if ( tmp12 == NULL )
9778 if ( PyArray_DIMS( tmp12 )[0] !=
Alen )
9780 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9783 arg12 = (
PLINT *) PyArray_DATA( tmp12 );
9785 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);
9832 PyObject *resultobj = 0;
9833 int *arg1 = (
int *) 0 ;
9834 char **arg2 = (
char **) 0 ;
9839 PyObject * obj0 = 0 ;
9840 PyObject * obj1 = 0 ;
9843 if (!PyArg_ParseTuple(args,(
char *)
"OO:plparseopts",&obj0,&obj1))
SWIG_fail;
9846 PyObject *unicode_string;
9848 if ( !PyList_Check( obj0 ) )
9850 PyErr_SetString( PyExc_ValueError,
"Expecting a list" );
9853 tmp1 = PyList_Size( obj0 );
9855 arg2 = (
char **) malloc( (
size_t) ( tmp1 + 1 ) *
sizeof (
char * ) );
9856 for ( i = 0; i < tmp1; i++ )
9858 PyObject *s = PyList_GetItem( obj0, i );
9859 if ( PyString_Check( s ) )
9861 arg2[i] = PyString_AsString( s );
9863 else if ( PyUnicode_Check( s ) )
9866 unicode_string = PyUnicode_AsEncodedString( s,
"utf-8",
"Error ~" );
9867 arg2[i] = PyBytes_AS_STRING( unicode_string );
9872 PyErr_SetString( PyExc_ValueError,
"List items must be strings" );
9882 arg3 = (
PLINT)(val3);
9900 PyObject *resultobj = 0;
9904 PyArrayObject *tmp1 = NULL ;
9905 PyArrayObject *tmp3 = NULL ;
9906 PyObject * obj0 = 0 ;
9907 PyObject * obj1 = 0 ;
9909 if (!PyArg_ParseTuple(args,(
char *)
"OO:plpat",&obj0,&obj1))
SWIG_fail;
9914 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
9915 arg2 = (
PLINT *) PyArray_DATA( tmp1 );
9921 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
9923 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9926 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
9928 plpat(arg1,(
int const *)arg2,(
int const *)arg3);
9949 PyObject *resultobj = 0;
9965 PyObject * obj0 = 0 ;
9966 PyObject * obj1 = 0 ;
9967 PyObject * obj2 = 0 ;
9968 PyObject * obj3 = 0 ;
9969 PyObject * obj4 = 0 ;
9971 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plpath",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9976 arg1 = (
PLINT)(val1);
9981 arg2 = (
PLFLT)(val2);
9986 arg3 = (
PLFLT)(val3);
9991 arg4 = (
PLFLT)(val4);
9996 arg5 = (
PLFLT)(val5);
9997 plpath(arg1,arg2,arg3,arg4,arg5);
10006 PyObject *resultobj = 0;
10011 PyArrayObject *tmp1 = NULL ;
10012 PyArrayObject *tmp3 = NULL ;
10015 PyObject * obj0 = 0 ;
10016 PyObject * obj1 = 0 ;
10017 PyObject * obj2 = 0 ;
10019 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plpoin",&obj0,&obj1,&obj2))
SWIG_fail;
10022 if ( tmp1 == NULL )
10024 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
10025 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
10029 if ( tmp3 == NULL )
10031 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10033 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10036 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
10042 arg4 = (
PLINT)(val4);
10043 plpoin(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
10064 PyObject *resultobj = 0;
10070 PyArrayObject *tmp1 = NULL ;
10071 PyArrayObject *tmp3 = NULL ;
10072 PyArrayObject *tmp4 = NULL ;
10075 PyObject * obj0 = 0 ;
10076 PyObject * obj1 = 0 ;
10077 PyObject * obj2 = 0 ;
10078 PyObject * obj3 = 0 ;
10080 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plpoin3",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
10083 if ( tmp1 == NULL )
10085 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
10086 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
10090 if ( tmp3 == NULL )
10092 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10094 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10097 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
10101 if ( tmp4 == NULL )
10103 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10105 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10108 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10114 arg5 = (
PLINT)(val5);
10115 plpoin3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,arg5);
10142 PyObject *resultobj = 0;
10149 PyArrayObject *tmp1 = NULL ;
10150 PyArrayObject *tmp3 = NULL ;
10151 PyArrayObject *tmp4 = NULL ;
10152 PyArrayObject *tmp5 = NULL ;
10155 PyObject * obj0 = 0 ;
10156 PyObject * obj1 = 0 ;
10157 PyObject * obj2 = 0 ;
10158 PyObject * obj3 = 0 ;
10159 PyObject * obj4 = 0 ;
10161 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plpoly3",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
10164 if ( tmp1 == NULL )
10166 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
10167 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
10171 if ( tmp3 == NULL )
10173 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10175 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10178 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
10182 if ( tmp4 == NULL )
10184 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10186 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10189 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10193 if ( tmp5 == NULL )
10195 if ( PyArray_DIMS( tmp5 )[0] <
Alen - 1 )
10197 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
10200 arg5 = (
PLINT *) PyArray_DATA( tmp5 );
10207 plpoly3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,(
int const *)arg5,arg6);
10240 PyObject *resultobj = 0;
10247 PyObject * obj0 = 0 ;
10248 PyObject * obj1 = 0 ;
10250 if (!PyArg_ParseTuple(args,(
char *)
"OO:plprec",&obj0,&obj1))
SWIG_fail;
10255 arg1 = (
PLINT)(val1);
10260 arg2 = (
PLINT)(val2);
10270 PyObject *resultobj = 0;
10274 PyObject * obj0 = 0 ;
10276 if (!PyArg_ParseTuple(args,(
char *)
"O:plpsty",&obj0))
SWIG_fail;
10281 arg1 = (
PLINT)(val1);
10291 PyObject *resultobj = 0;
10297 char *arg6 = (
char *) 0 ;
10311 PyObject * obj0 = 0 ;
10312 PyObject * obj1 = 0 ;
10313 PyObject * obj2 = 0 ;
10314 PyObject * obj3 = 0 ;
10315 PyObject * obj4 = 0 ;
10316 PyObject * obj5 = 0 ;
10318 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plptex",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
10323 arg1 = (
PLFLT)(val1);
10328 arg2 = (
PLFLT)(val2);
10333 arg3 = (
PLFLT)(val3);
10338 arg4 = (
PLFLT)(val4);
10343 arg5 = (
PLFLT)(val5);
10348 arg6 = (
char *)(buf6);
10349 plptex(arg1,arg2,arg3,arg4,arg5,(
char const *)arg6);
10360 PyObject *resultobj = 0;
10371 char *arg11 = (
char *) 0 ;
10395 PyObject * obj0 = 0 ;
10396 PyObject * obj1 = 0 ;
10397 PyObject * obj2 = 0 ;
10398 PyObject * obj3 = 0 ;
10399 PyObject * obj4 = 0 ;
10400 PyObject * obj5 = 0 ;
10401 PyObject * obj6 = 0 ;
10402 PyObject * obj7 = 0 ;
10403 PyObject * obj8 = 0 ;
10404 PyObject * obj9 = 0 ;
10405 PyObject * obj10 = 0 ;
10407 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plptex3",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
10412 arg1 = (
PLFLT)(val1);
10417 arg2 = (
PLFLT)(val2);
10422 arg3 = (
PLFLT)(val3);
10427 arg4 = (
PLFLT)(val4);
10432 arg5 = (
PLFLT)(val5);
10437 arg6 = (
PLFLT)(val6);
10442 arg7 = (
PLFLT)(val7);
10447 arg8 = (
PLFLT)(val8);
10452 arg9 = (
PLFLT)(val9);
10457 arg10 = (
PLFLT)(val10);
10462 arg11 = (
char *)(buf11);
10463 plptex3(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(
char const *)arg11);
10474 PyObject *resultobj = 0;
10477 if (!PyArg_ParseTuple(args,(
char *)
":plrandd"))
SWIG_fail;
10487 PyObject *resultobj = 0;
10489 if (!PyArg_ParseTuple(args,(
char *)
":plreplot"))
SWIG_fail;
10499 PyObject *resultobj = 0;
10518 PyObject * obj0 = 0 ;
10519 PyObject * obj1 = 0 ;
10520 PyObject * obj2 = 0 ;
10525 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plrgbhls",&obj0,&obj1,&obj2))
SWIG_fail;
10530 arg1 = (
PLFLT)(val1);
10535 arg2 = (
PLFLT)(val2);
10540 arg3 = (
PLFLT)(val3);
10541 plrgbhls(arg1,arg2,arg3,arg4,arg5,arg6);
10568 PyObject *resultobj = 0;
10575 PyObject * obj0 = 0 ;
10576 PyObject * obj1 = 0 ;
10578 if (!PyArg_ParseTuple(args,(
char *)
"OO:plschr",&obj0,&obj1))
SWIG_fail;
10583 arg1 = (
PLFLT)(val1);
10588 arg2 = (
PLFLT)(val2);
10598 PyObject *resultobj = 0;
10603 PyArrayObject *tmp1 = NULL ;
10604 PyArrayObject *tmp2 = NULL ;
10605 PyArrayObject *tmp3 = NULL ;
10606 PyObject * obj0 = 0 ;
10607 PyObject * obj1 = 0 ;
10608 PyObject * obj2 = 0 ;
10610 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plscmap0",&obj0,&obj1,&obj2))
SWIG_fail;
10613 if ( tmp1 == NULL )
10615 Alen = PyArray_DIMS( tmp1 )[0];
10616 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
10620 if ( tmp2 == NULL )
10622 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10624 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10627 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
10631 if ( tmp3 == NULL )
10633 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10635 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10638 arg4 = PyArray_DIMS( tmp3 )[0];
10639 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
10641 plscmap0((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,arg4);
10668 PyObject *resultobj = 0;
10674 PyArrayObject *tmp1 = NULL ;
10675 PyArrayObject *tmp2 = NULL ;
10676 PyArrayObject *tmp3 = NULL ;
10677 PyArrayObject *tmp4 = NULL ;
10678 PyObject * obj0 = 0 ;
10679 PyObject * obj1 = 0 ;
10680 PyObject * obj2 = 0 ;
10681 PyObject * obj3 = 0 ;
10683 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscmap0a",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
10686 if ( tmp1 == NULL )
10688 Alen = PyArray_DIMS( tmp1 )[0];
10689 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
10693 if ( tmp2 == NULL )
10695 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10697 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10700 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
10704 if ( tmp3 == NULL )
10706 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10708 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10711 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
10715 if ( tmp4 == NULL )
10717 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10719 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10722 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10723 arg5 = PyArray_DIMS( tmp4 )[0];
10725 plscmap0a((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,(
double const *)arg4,arg5);
10758 PyObject *resultobj = 0;
10762 PyObject * obj0 = 0 ;
10764 if (!PyArg_ParseTuple(args,(
char *)
"O:plscmap0n",&obj0))
SWIG_fail;
10769 arg1 = (
PLINT)(val1);
10779 PyObject *resultobj = 0;
10784 PyArrayObject *tmp1 = NULL ;
10785 PyArrayObject *tmp2 = NULL ;
10786 PyArrayObject *tmp3 = NULL ;
10787 PyObject * obj0 = 0 ;
10788 PyObject * obj1 = 0 ;
10789 PyObject * obj2 = 0 ;
10791 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plscmap1",&obj0,&obj1,&obj2))
SWIG_fail;
10794 if ( tmp1 == NULL )
10796 Alen = PyArray_DIMS( tmp1 )[0];
10797 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
10801 if ( tmp2 == NULL )
10803 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10805 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10808 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
10812 if ( tmp3 == NULL )
10814 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10816 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10819 arg4 = PyArray_DIMS( tmp3 )[0];
10820 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
10822 plscmap1((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,arg4);
10849 PyObject *resultobj = 0;
10855 PyArrayObject *tmp1 = NULL ;
10856 PyArrayObject *tmp2 = NULL ;
10857 PyArrayObject *tmp3 = NULL ;
10858 PyArrayObject *tmp4 = NULL ;
10859 PyObject * obj0 = 0 ;
10860 PyObject * obj1 = 0 ;
10861 PyObject * obj2 = 0 ;
10862 PyObject * obj3 = 0 ;
10864 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscmap1a",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
10867 if ( tmp1 == NULL )
10869 Alen = PyArray_DIMS( tmp1 )[0];
10870 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
10874 if ( tmp2 == NULL )
10876 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10878 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10881 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
10885 if ( tmp3 == NULL )
10887 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10889 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10892 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
10896 if ( tmp4 == NULL )
10898 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10900 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10903 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10904 arg5 = PyArray_DIMS( tmp4 )[0];
10906 plscmap1a((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,(
double const *)arg4,arg5);
10939 PyObject *resultobj = 0;
10949 PyArrayObject *tmp2 = NULL ;
10950 PyArrayObject *tmp4 = NULL ;
10951 PyArrayObject *tmp5 = NULL ;
10952 PyArrayObject *tmp6 = NULL ;
10953 PyArrayObject *tmp7 = NULL ;
10954 PyObject * obj0 = 0 ;
10955 PyObject * obj1 = 0 ;
10956 PyObject * obj2 = 0 ;
10957 PyObject * obj3 = 0 ;
10958 PyObject * obj4 = 0 ;
10959 PyObject * obj5 = 0 ;
10961 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plscmap1l",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
10969 if ( tmp2 == NULL )
10971 arg2 =
Alen = PyArray_DIMS( tmp2 )[0];
10972 arg3 = (
PLFLT *) PyArray_DATA( tmp2 );
10976 if ( tmp4 == NULL )
10978 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10980 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10983 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10987 if ( tmp5 == NULL )
10989 if ( PyArray_DIMS( tmp5 )[0] !=
Alen )
10991 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10994 arg5 = (
PLFLT *) PyArray_DATA( tmp5 );
10998 if ( tmp6 == NULL )
11000 if ( PyArray_DIMS( tmp6 )[0] !=
Alen )
11002 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11005 arg6 = (
PLFLT *) PyArray_DATA( tmp6 );
11009 if ( tmp7 == NULL )
11011 if ( PyArray_DIMS( tmp7 )[0] <
Alen - 1 )
11013 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
11016 arg7 = (
PLINT *) PyArray_DATA( tmp7 );
11018 plscmap1l(arg1,arg2,(
double const *)arg3,(
double const *)arg4,(
double const *)arg5,(
double const *)arg6,(
int const *)arg7);
11057 PyObject *resultobj = 0;
11068 PyArrayObject *tmp2 = NULL ;
11069 PyArrayObject *tmp4 = NULL ;
11070 PyArrayObject *tmp5 = NULL ;
11071 PyArrayObject *tmp6 = NULL ;
11072 PyArrayObject *tmp7 = NULL ;
11073 PyArrayObject *tmp8 = NULL ;
11074 PyObject * obj0 = 0 ;
11075 PyObject * obj1 = 0 ;
11076 PyObject * obj2 = 0 ;
11077 PyObject * obj3 = 0 ;
11078 PyObject * obj4 = 0 ;
11079 PyObject * obj5 = 0 ;
11080 PyObject * obj6 = 0 ;
11082 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plscmap1la",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
11090 if ( tmp2 == NULL )
11092 arg2 =
Alen = PyArray_DIMS( tmp2 )[0];
11093 arg3 = (
PLFLT *) PyArray_DATA( tmp2 );
11097 if ( tmp4 == NULL )
11099 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
11101 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11104 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
11108 if ( tmp5 == NULL )
11110 if ( PyArray_DIMS( tmp5 )[0] !=
Alen )
11112 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11115 arg5 = (
PLFLT *) PyArray_DATA( tmp5 );
11119 if ( tmp6 == NULL )
11121 if ( PyArray_DIMS( tmp6 )[0] !=
Alen )
11123 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11126 arg6 = (
PLFLT *) PyArray_DATA( tmp6 );
11130 if ( tmp7 == NULL )
11132 if ( PyArray_DIMS( tmp7 )[0] !=
Alen )
11134 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11137 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
11141 if ( tmp8 == NULL )
11143 if ( PyArray_DIMS( tmp8 )[0] <
Alen - 1 )
11145 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
11148 arg8 = (
PLINT *) PyArray_DATA( tmp8 );
11150 plscmap1la(arg1,arg2,(
double const *)arg3,(
double const *)arg4,(
double const *)arg5,(
double const *)arg6,(
double const *)arg7,(
int const *)arg8);
11195 PyObject *resultobj = 0;
11199 PyObject * obj0 = 0 ;
11201 if (!PyArg_ParseTuple(args,(
char *)
"O:plscmap1n",&obj0))
SWIG_fail;
11206 arg1 = (
PLINT)(val1);
11216 PyObject *resultobj = 0;
11223 PyObject * obj0 = 0 ;
11224 PyObject * obj1 = 0 ;
11226 if (!PyArg_ParseTuple(args,(
char *)
"OO:plscmap1_range",&obj0,&obj1))
SWIG_fail;
11231 arg1 = (
PLFLT)(val1);
11236 arg2 = (
PLFLT)(val2);
11246 PyObject *resultobj = 0;
11256 if (!PyArg_ParseTuple(args,(
char *)
":plgcmap1_range"))
SWIG_fail;
11278 PyObject *resultobj = 0;
11291 PyObject * obj0 = 0 ;
11292 PyObject * obj1 = 0 ;
11293 PyObject * obj2 = 0 ;
11294 PyObject * obj3 = 0 ;
11296 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscol0",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11301 arg1 = (
PLINT)(val1);
11306 arg2 = (
PLINT)(val2);
11311 arg3 = (
PLINT)(val3);
11316 arg4 = (
PLINT)(val4);
11317 plscol0(arg1,arg2,arg3,arg4);
11326 PyObject *resultobj = 0;
11342 PyObject * obj0 = 0 ;
11343 PyObject * obj1 = 0 ;
11344 PyObject * obj2 = 0 ;
11345 PyObject * obj3 = 0 ;
11346 PyObject * obj4 = 0 ;
11348 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plscol0a",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
11353 arg1 = (
PLINT)(val1);
11358 arg2 = (
PLINT)(val2);
11363 arg3 = (
PLINT)(val3);
11368 arg4 = (
PLINT)(val4);
11373 arg5 = (
PLFLT)(val5);
11374 plscol0a(arg1,arg2,arg3,arg4,arg5);
11383 PyObject *resultobj = 0;
11393 PyObject * obj0 = 0 ;
11394 PyObject * obj1 = 0 ;
11395 PyObject * obj2 = 0 ;
11397 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plscolbg",&obj0,&obj1,&obj2))
SWIG_fail;
11402 arg1 = (
PLINT)(val1);
11407 arg2 = (
PLINT)(val2);
11412 arg3 = (
PLINT)(val3);
11422 PyObject *resultobj = 0;
11435 PyObject * obj0 = 0 ;
11436 PyObject * obj1 = 0 ;
11437 PyObject * obj2 = 0 ;
11438 PyObject * obj3 = 0 ;
11440 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscolbga",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11445 arg1 = (
PLINT)(val1);
11450 arg2 = (
PLINT)(val2);
11455 arg3 = (
PLINT)(val3);
11460 arg4 = (
PLFLT)(val4);
11470 PyObject *resultobj = 0;
11474 PyObject * obj0 = 0 ;
11476 if (!PyArg_ParseTuple(args,(
char *)
"O:plscolor",&obj0))
SWIG_fail;
11481 arg1 = (
PLINT)(val1);
11491 PyObject *resultobj = 0;
11495 PyObject * obj0 = 0 ;
11497 if (!PyArg_ParseTuple(args,(
char *)
"O:plscompression",&obj0))
SWIG_fail;
11502 arg1 = (
PLINT)(val1);
11512 PyObject *resultobj = 0;
11513 char *arg1 = (
char *) 0 ;
11517 PyObject * obj0 = 0 ;
11519 if (!PyArg_ParseTuple(args,(
char *)
"O:plsdev",&obj0))
SWIG_fail;
11524 arg1 = (
char *)(buf1);
11525 plsdev((
char const *)arg1);
11536 PyObject *resultobj = 0;
11549 PyObject * obj0 = 0 ;
11550 PyObject * obj1 = 0 ;
11551 PyObject * obj2 = 0 ;
11552 PyObject * obj3 = 0 ;
11554 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsdidev",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11559 arg1 = (
PLFLT)(val1);
11564 arg2 = (
PLFLT)(val2);
11569 arg3 = (
PLFLT)(val3);
11574 arg4 = (
PLFLT)(val4);
11584 PyObject *resultobj = 0;
11603 PyObject * obj0 = 0 ;
11604 PyObject * obj1 = 0 ;
11605 PyObject * obj2 = 0 ;
11606 PyObject * obj3 = 0 ;
11607 PyObject * obj4 = 0 ;
11608 PyObject * obj5 = 0 ;
11610 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plsdimap",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
11615 arg1 = (
PLINT)(val1);
11620 arg2 = (
PLINT)(val2);
11625 arg3 = (
PLINT)(val3);
11630 arg4 = (
PLINT)(val4);
11635 arg5 = (
PLFLT)(val5);
11640 arg6 = (
PLFLT)(val6);
11641 plsdimap(arg1,arg2,arg3,arg4,arg5,arg6);
11650 PyObject *resultobj = 0;
11654 PyObject * obj0 = 0 ;
11656 if (!PyArg_ParseTuple(args,(
char *)
"O:plsdiori",&obj0))
SWIG_fail;
11661 arg1 = (
PLFLT)(val1);
11671 PyObject *resultobj = 0;
11684 PyObject * obj0 = 0 ;
11685 PyObject * obj1 = 0 ;
11686 PyObject * obj2 = 0 ;
11687 PyObject * obj3 = 0 ;
11689 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsdiplt",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11694 arg1 = (
PLFLT)(val1);
11699 arg2 = (
PLFLT)(val2);
11704 arg3 = (
PLFLT)(val3);
11709 arg4 = (
PLFLT)(val4);
11719 PyObject *resultobj = 0;
11732 PyObject * obj0 = 0 ;
11733 PyObject * obj1 = 0 ;
11734 PyObject * obj2 = 0 ;
11735 PyObject * obj3 = 0 ;
11737 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsdiplz",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11742 arg1 = (
PLFLT)(val1);
11747 arg2 = (
PLFLT)(val2);
11752 arg3 = (
PLFLT)(val3);
11757 arg4 = (
PLFLT)(val4);
11767 PyObject *resultobj = 0;
11768 unsigned int arg1 ;
11769 unsigned int val1 ;
11771 PyObject * obj0 = 0 ;
11773 if (!PyArg_ParseTuple(args,(
char *)
"O:plseed",&obj0))
SWIG_fail;
11778 arg1 = (
unsigned int)(val1);
11788 PyObject *resultobj = 0;
11792 PyObject * obj0 = 0 ;
11794 if (!PyArg_ParseTuple(args,(
char *)
"O:plsesc",&obj0))
SWIG_fail;
11799 arg1 = (char)(val1);
11809 PyObject *resultobj = 0;
11810 char *arg1 = (
char *) 0 ;
11811 char *arg2 = (
char *) 0 ;
11818 PyObject * obj0 = 0 ;
11819 PyObject * obj1 = 0 ;
11822 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsetopt",&obj0,&obj1))
SWIG_fail;
11827 arg1 = (
char *)(buf1);
11832 arg2 = (
char *)(buf2);
11833 result = (
PLINT)
plsetopt((
char const *)arg1,(
char const *)arg2);
11846 PyObject *resultobj = 0;
11856 PyObject * obj0 = 0 ;
11857 PyObject * obj1 = 0 ;
11858 PyObject * obj2 = 0 ;
11860 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsfam",&obj0,&obj1,&obj2))
SWIG_fail;
11865 arg1 = (
PLINT)(val1);
11870 arg2 = (
PLINT)(val2);
11875 arg3 = (
PLINT)(val3);
11885 PyObject *resultobj = 0;
11887 unsigned int val1 ;
11889 PyObject * obj0 = 0 ;
11891 if (!PyArg_ParseTuple(args,(
char *)
"O:plsfci",&obj0))
SWIG_fail;
11906 PyObject *resultobj = 0;
11907 char *arg1 = (
char *) 0 ;
11911 PyObject * obj0 = 0 ;
11913 if (!PyArg_ParseTuple(args,(
char *)
"O:plsfnam",&obj0))
SWIG_fail;
11918 arg1 = (
char *)(buf1);
11930 PyObject *resultobj = 0;
11940 PyObject * obj0 = 0 ;
11941 PyObject * obj1 = 0 ;
11942 PyObject * obj2 = 0 ;
11944 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsfont",&obj0,&obj1,&obj2))
SWIG_fail;
11949 arg1 = (
PLINT)(val1);
11954 arg2 = (
PLINT)(val2);
11959 arg3 = (
PLINT)(val3);
11969 PyObject *resultobj = 0;
11987 PyArrayObject *tmp1 = NULL ;
11996 PyArrayObject *tmp9 = NULL ;
12005 PyObject * obj0 = 0 ;
12006 PyObject * obj1 = 0 ;
12007 PyObject * obj2 = 0 ;
12008 PyObject * obj3 = 0 ;
12009 PyObject * obj4 = 0 ;
12010 PyObject * obj5 = 0 ;
12011 PyObject * obj6 = 0 ;
12012 PyObject * obj7 = 0 ;
12013 PyObject * obj8 = 0 ;
12014 PyObject * obj9 = 0 ;
12015 PyObject * obj10 = 0 ;
12016 PyObject * obj11 = 0 ;
12031 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOO|OO:plshades",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11))
SWIG_fail;
12035 if ( tmp1 == NULL )
12037 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
12038 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
12040 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
12041 for ( i = 0; i < arg2; i++ )
12042 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
12048 arg5 = (
PLFLT)(val5);
12053 arg6 = (
PLFLT)(val6);
12058 arg7 = (
PLFLT)(val7);
12063 arg8 = (
PLFLT)(val8);
12066 if ( tmp9 == NULL )
12068 arg10 = PyArray_DIMS( tmp9 )[0];
12069 arg9 = (
PLFLT *) PyArray_DATA( tmp9 );
12075 arg11 = (
PLFLT)(val11);
12080 arg12 = (
PLINT)(val12);
12085 arg13 = (
PLFLT)(val13);
12090 arg15 = (
PLBOOL)(val15);
12094 if ( obj10 == Py_None )
12100 if ( !PyCallable_Check( (PyObject *) obj10 ) )
12102 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
12111 if ( obj11 == Py_None )
12119 plshades((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(
double const *)arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17);
12154 PyObject *resultobj = 0;
12176 PyArrayObject *tmp1 = NULL ;
12205 PyObject * obj0 = 0 ;
12206 PyObject * obj1 = 0 ;
12207 PyObject * obj2 = 0 ;
12208 PyObject * obj3 = 0 ;
12209 PyObject * obj4 = 0 ;
12210 PyObject * obj5 = 0 ;
12211 PyObject * obj6 = 0 ;
12212 PyObject * obj7 = 0 ;
12213 PyObject * obj8 = 0 ;
12214 PyObject * obj9 = 0 ;
12215 PyObject * obj10 = 0 ;
12216 PyObject * obj11 = 0 ;
12217 PyObject * obj12 = 0 ;
12218 PyObject * obj13 = 0 ;
12219 PyObject * obj14 = 0 ;
12220 PyObject * obj15 = 0 ;
12221 PyObject * obj16 = 0 ;
12236 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;
12240 if ( tmp1 == NULL )
12242 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
12243 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
12245 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
12246 for ( i = 0; i < arg2; i++ )
12247 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
12253 arg5 = (
PLFLT)(val5);
12258 arg6 = (
PLFLT)(val6);
12263 arg7 = (
PLFLT)(val7);
12268 arg8 = (
PLFLT)(val8);
12273 arg9 = (
PLFLT)(val9);
12278 arg10 = (
PLFLT)(val10);
12283 arg11 = (
PLINT)(val11);
12288 arg12 = (
PLFLT)(val12);
12293 arg13 = (
PLFLT)(val13);
12298 arg14 = (
PLINT)(val14);
12303 arg15 = (
PLFLT)(val15);
12308 arg16 = (
PLINT)(val16);
12313 arg17 = (
PLFLT)(val17);
12318 arg19 = (
PLBOOL)(val19);
12322 if ( obj15 == Py_None )
12328 if ( !PyCallable_Check( (PyObject *) obj15 ) )
12330 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
12339 if ( obj16 == Py_None )
12347 plshade((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21);
12376 PyObject *resultobj = 0;
12380 PyObject * obj0 = 0 ;
12381 PyObject * obj1 = 0 ;
12383 if (!PyArg_ParseTuple(args,(
char *)
"OO:plslabelfunc",&obj0,&obj1))
SWIG_fail;
12392 if ( obj0 == Py_None )
12398 if ( !PyCallable_Check( (PyObject *) obj0 ) )
12400 PyErr_SetString( PyExc_ValueError,
"label_func argument must be callable" );
12404 Py_XINCREF( (PyObject *) obj0 );
12423 PyObject *resultobj = 0;
12430 PyObject * obj0 = 0 ;
12431 PyObject * obj1 = 0 ;
12433 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsmaj",&obj0,&obj1))
SWIG_fail;
12438 arg1 = (
PLFLT)(val1);
12443 arg2 = (
PLFLT)(val2);
12453 PyObject *resultobj = 0;
12456 void *arg3 = (
void *) 0 ;
12464 PyObject * obj0 = 0 ;
12465 PyObject * obj1 = 0 ;
12466 PyObject * obj2 = 0 ;
12468 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsmem",&obj0,&obj1,&obj2))
SWIG_fail;
12473 arg1 = (
PLINT)(val1);
12478 arg2 = (
PLINT)(val2);
12480 res3 = PyObject_AsWriteBuffer(obj2, &buf3, &size3);
12485 arg3 = (
void *) buf3;
12496 PyObject *resultobj = 0;
12499 void *arg3 = (
void *) 0 ;
12507 PyObject * obj0 = 0 ;
12508 PyObject * obj1 = 0 ;
12509 PyObject * obj2 = 0 ;
12511 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsmema",&obj0,&obj1,&obj2))
SWIG_fail;
12516 arg1 = (
PLINT)(val1);
12521 arg2 = (
PLINT)(val2);
12523 res3 = PyObject_AsWriteBuffer(obj2, &buf3, &size3);
12528 arg3 = (
void *) buf3;
12539 PyObject *resultobj = 0;
12546 PyObject * obj0 = 0 ;
12547 PyObject * obj1 = 0 ;
12549 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsmin",&obj0,&obj1))
SWIG_fail;
12554 arg1 = (
PLFLT)(val1);
12559 arg2 = (
PLFLT)(val2);
12569 PyObject *resultobj = 0;
12573 PyObject * obj0 = 0 ;
12575 if (!PyArg_ParseTuple(args,(
char *)
"O:plsori",&obj0))
SWIG_fail;
12580 arg1 = (
PLINT)(val1);
12590 PyObject *resultobj = 0;
12609 PyObject * obj0 = 0 ;
12610 PyObject * obj1 = 0 ;
12611 PyObject * obj2 = 0 ;
12612 PyObject * obj3 = 0 ;
12613 PyObject * obj4 = 0 ;
12614 PyObject * obj5 = 0 ;
12616 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plspage",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
12621 arg1 = (
PLFLT)(val1);
12626 arg2 = (
PLFLT)(val2);
12631 arg3 = (
PLINT)(val3);
12636 arg4 = (
PLINT)(val4);
12641 arg5 = (
PLINT)(val5);
12646 arg6 = (
PLINT)(val6);
12647 plspage(arg1,arg2,arg3,arg4,arg5,arg6);
12656 PyObject *resultobj = 0;
12657 char *arg1 = (
char *) 0 ;
12661 PyObject * obj0 = 0 ;
12663 if (!PyArg_ParseTuple(args,(
char *)
"O:plspal0",&obj0))
SWIG_fail;
12668 arg1 = (
char *)(buf1);
12680 PyObject *resultobj = 0;
12681 char *arg1 = (
char *) 0 ;
12688 PyObject * obj0 = 0 ;
12689 PyObject * obj1 = 0 ;
12691 if (!PyArg_ParseTuple(args,(
char *)
"OO:plspal1",&obj0,&obj1))
SWIG_fail;
12696 arg1 = (
char *)(buf1);
12702 plspal1((
char const *)arg1,arg2);
12713 PyObject *resultobj = 0;
12717 PyObject * obj0 = 0 ;
12719 if (!PyArg_ParseTuple(args,(
char *)
"O:plspause",&obj0))
SWIG_fail;
12734 PyObject *resultobj = 0;
12738 PyObject * obj0 = 0 ;
12740 if (!PyArg_ParseTuple(args,(
char *)
"O:plsstrm",&obj0))
SWIG_fail;
12745 arg1 = (
PLINT)(val1);
12755 PyObject *resultobj = 0;
12762 PyObject * obj0 = 0 ;
12763 PyObject * obj1 = 0 ;
12765 if (!PyArg_ParseTuple(args,(
char *)
"OO:plssub",&obj0,&obj1))
SWIG_fail;
12770 arg1 = (
PLINT)(val1);
12775 arg2 = (
PLINT)(val2);
12785 PyObject *resultobj = 0;
12792 PyObject * obj0 = 0 ;
12793 PyObject * obj1 = 0 ;
12795 if (!PyArg_ParseTuple(args,(
char *)
"OO:plssym",&obj0,&obj1))
SWIG_fail;
12800 arg1 = (
PLFLT)(val1);
12805 arg2 = (
PLFLT)(val2);
12815 PyObject *resultobj = 0;
12822 PyObject * obj0 = 0 ;
12823 PyObject * obj1 = 0 ;
12825 if (!PyArg_ParseTuple(args,(
char *)
"OO:plstar",&obj0,&obj1))
SWIG_fail;
12830 arg1 = (
PLINT)(val1);
12835 arg2 = (
PLINT)(val2);
12845 PyObject *resultobj = 0;
12846 char *arg1 = (
char *) 0 ;
12856 PyObject * obj0 = 0 ;
12857 PyObject * obj1 = 0 ;
12858 PyObject * obj2 = 0 ;
12860 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plstart",&obj0,&obj1,&obj2))
SWIG_fail;
12865 arg1 = (
char *)(buf1);
12870 arg2 = (
PLINT)(val2);
12875 arg3 = (
PLINT)(val3);
12876 plstart((
char const *)arg1,arg2,arg3);
12887 PyObject *resultobj = 0;
12891 PyObject * obj0 = 0 ;
12892 PyObject * obj1 = 0 ;
12898 if (!PyArg_ParseTuple(args,(
char *)
"|OO:plstransform",&obj0,&obj1))
SWIG_fail;
12904 if ( obj0 == Py_None )
12910 if ( !PyCallable_Check( (PyObject *) obj0 ) )
12912 PyErr_SetString( PyExc_ValueError,
"coordinate transform argument must be callable" );
12934 PyObject *resultobj = 0;
12938 char *arg4 = (
char *) 0 ;
12939 PyArrayObject *tmp1 = NULL ;
12940 PyArrayObject *tmp3 = NULL ;
12944 PyObject * obj0 = 0 ;
12945 PyObject * obj1 = 0 ;
12946 PyObject * obj2 = 0 ;
12948 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plstring",&obj0,&obj1,&obj2))
SWIG_fail;
12951 if ( tmp1 == NULL )
12953 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
12954 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
12958 if ( tmp3 == NULL )
12960 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
12962 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
12965 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
12971 arg4 = (
char *)(buf4);
12972 plstring(arg1,(
double const *)arg2,(
double const *)arg3,(
char const *)arg4);
12995 PyObject *resultobj = 0;
13000 char *arg5 = (
char *) 0 ;
13001 PyArrayObject *tmp1 = NULL ;
13002 PyArrayObject *tmp3 = NULL ;
13003 PyArrayObject *tmp4 = NULL ;
13007 PyObject * obj0 = 0 ;
13008 PyObject * obj1 = 0 ;
13009 PyObject * obj2 = 0 ;
13010 PyObject * obj3 = 0 ;
13012 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plstring3",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
13015 if ( tmp1 == NULL )
13017 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
13018 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
13022 if ( tmp3 == NULL )
13024 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13026 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13029 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
13033 if ( tmp4 == NULL )
13035 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
13037 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13040 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
13046 arg5 = (
char *)(buf5);
13047 plstring3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,(
char const *)arg5);
13076 PyObject *resultobj = 0;
13089 PyObject * obj0 = 0 ;
13090 PyObject * obj1 = 0 ;
13091 PyObject * obj2 = 0 ;
13092 PyObject * obj3 = 0 ;
13094 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plstripa",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
13099 arg1 = (
PLINT)(val1);
13104 arg2 = (
PLINT)(val2);
13109 arg3 = (
PLFLT)(val3);
13114 arg4 = (
PLFLT)(val4);
13124 PyObject *resultobj = 0;
13126 char *arg2 = (
char *) 0 ;
13127 char *arg3 = (
char *) 0 ;
13142 char *arg18 = (
char *) 0 ;
13143 char *arg19 = (
char *) 0 ;
13144 char *arg20 = (
char *) 0 ;
13175 PyArrayObject *tmp15 = NULL ;
13176 PyArrayObject *tmp16 = NULL ;
13177 char **tmp17 = NULL ;
13187 PyObject * obj0 = 0 ;
13188 PyObject * obj1 = 0 ;
13189 PyObject * obj2 = 0 ;
13190 PyObject * obj3 = 0 ;
13191 PyObject * obj4 = 0 ;
13192 PyObject * obj5 = 0 ;
13193 PyObject * obj6 = 0 ;
13194 PyObject * obj7 = 0 ;
13195 PyObject * obj8 = 0 ;
13196 PyObject * obj9 = 0 ;
13197 PyObject * obj10 = 0 ;
13198 PyObject * obj11 = 0 ;
13199 PyObject * obj12 = 0 ;
13200 PyObject * obj13 = 0 ;
13201 PyObject * obj14 = 0 ;
13202 PyObject * obj15 = 0 ;
13203 PyObject * obj16 = 0 ;
13204 PyObject * obj17 = 0 ;
13205 PyObject * obj18 = 0 ;
13208 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;
13213 arg2 = (
char *)(buf2);
13218 arg3 = (
char *)(buf3);
13223 arg4 = (
PLFLT)(val4);
13228 arg5 = (
PLFLT)(val5);
13233 arg6 = (
PLFLT)(val6);
13238 arg7 = (
PLFLT)(val7);
13243 arg8 = (
PLFLT)(val8);
13248 arg9 = (
PLFLT)(val9);
13253 arg10 = (
PLFLT)(val10);
13258 arg11 = (
PLBOOL)(val11);
13263 arg12 = (
PLBOOL)(val12);
13268 arg13 = (
PLINT)(val13);
13273 arg14 = (
PLINT)(val14);
13276 if ( tmp15 == NULL )
13278 Alen = PyArray_DIMS( tmp15 )[0];
13279 arg15 = (
PLINT *) PyArray_DATA( tmp15 );
13283 if ( tmp16 == NULL )
13285 if ( PyArray_DIMS( tmp16 )[0] !=
Alen )
13287 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13290 arg16 = (
PLINT *) PyArray_DATA( tmp16 );
13294 PyObject *elt, *unicode_string;
13298 PyErr_SetString( PyExc_ValueError,
"Requires a sequence of 4 strings." );
13303 PyErr_SetString( PyExc_ValueError,
"colline and styline args must be length 4." );
13306 tmp17 = (
char **) malloc(
sizeof (
char* ) * 4 );
13307 if ( tmp17 == NULL )
13310 for ( i = 0; i < 4; i++ )
13314 if ( PyString_Check( elt ) )
13316 arg17[i] = PyString_AsString( elt );
13318 else if ( PyUnicode_Check( elt ) )
13320 unicode_string = PyUnicode_AsEncodedString( elt,
"utf-8",
"Error ~" );
13321 arg17[i] = PyBytes_AS_STRING( unicode_string );
13323 if ( arg17[i] == NULL )
13334 arg18 = (
char *)(buf18);
13339 arg19 = (
char *)(buf19);
13344 arg20 = (
char *)(buf20);
13345 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);
13388 PyObject *resultobj = 0;
13392 PyObject * obj0 = 0 ;
13394 if (!PyArg_ParseTuple(args,(
char *)
"O:plstripd",&obj0))
SWIG_fail;
13399 arg1 = (
PLINT)(val1);
13409 PyObject *resultobj = 0;
13413 PyArrayObject *tmp1 = NULL ;
13414 PyArrayObject *tmp3 = NULL ;
13415 PyObject * obj0 = 0 ;
13416 PyObject * obj1 = 0 ;
13418 if (!PyArg_ParseTuple(args,(
char *)
"OO:plstyl",&obj0,&obj1))
SWIG_fail;
13421 if ( tmp1 == NULL )
13423 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
13424 arg2 = (
PLINT *) PyArray_DATA( tmp1 );
13428 if ( tmp3 == NULL )
13430 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13432 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13435 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
13437 plstyl(arg1,(
int const *)arg2,(
int const *)arg3);
13458 PyObject *resultobj = 0;
13463 PyArrayObject *tmp1 = NULL ;
13464 PyArrayObject *tmp2 = NULL ;
13467 PyObject * obj0 = 0 ;
13468 PyObject * obj1 = 0 ;
13469 PyObject * obj2 = 0 ;
13471 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsvect",&obj0,&obj1,&obj2))
SWIG_fail;
13473 if ( obj0 != Py_None )
13476 if ( tmp1 == NULL )
13478 Alen = PyArray_DIMS( tmp1 )[0];
13479 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
13488 if ( obj1 != Py_None )
13491 if ( tmp2 == NULL )
13493 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
13495 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13498 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
13499 arg3 = PyArray_DIMS( tmp2 )[0];
13512 plsvect((
double const *)arg1,(
double const *)arg2,arg3,arg4);
13533 PyObject *resultobj = 0;
13546 PyObject * obj0 = 0 ;
13547 PyObject * obj1 = 0 ;
13548 PyObject * obj2 = 0 ;
13549 PyObject * obj3 = 0 ;
13551 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsvpa",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
13556 arg1 = (
PLFLT)(val1);
13561 arg2 = (
PLFLT)(val2);
13566 arg3 = (
PLFLT)(val3);
13571 arg4 = (
PLFLT)(val4);
13572 plsvpa(arg1,arg2,arg3,arg4);
13581 PyObject *resultobj = 0;
13588 PyObject * obj0 = 0 ;
13589 PyObject * obj1 = 0 ;
13591 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsxax",&obj0,&obj1))
SWIG_fail;
13596 arg1 = (
PLINT)(val1);
13601 arg2 = (
PLINT)(val2);
13611 PyObject *resultobj = 0;
13618 PyObject * obj0 = 0 ;
13619 PyObject * obj1 = 0 ;
13621 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsyax",&obj0,&obj1))
SWIG_fail;
13626 arg1 = (
PLINT)(val1);
13631 arg2 = (
PLINT)(val2);
13641 PyObject *resultobj = 0;
13646 PyArrayObject *tmp1 = NULL ;
13647 PyArrayObject *tmp3 = NULL ;
13650 PyObject * obj0 = 0 ;
13651 PyObject * obj1 = 0 ;
13652 PyObject * obj2 = 0 ;
13654 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsym",&obj0,&obj1,&obj2))
SWIG_fail;
13657 if ( tmp1 == NULL )
13659 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
13660 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
13664 if ( tmp3 == NULL )
13666 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13668 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13671 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
13677 arg4 = (
PLINT)(val4);
13678 plsym(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
13699 PyObject *resultobj = 0;
13706 PyObject * obj0 = 0 ;
13707 PyObject * obj1 = 0 ;
13709 if (!PyArg_ParseTuple(args,(
char *)
"OO:plszax",&obj0,&obj1))
SWIG_fail;
13714 arg1 = (
PLINT)(val1);
13719 arg2 = (
PLINT)(val2);
13729 PyObject *resultobj = 0;
13731 if (!PyArg_ParseTuple(args,(
char *)
":pltext"))
SWIG_fail;
13741 PyObject *resultobj = 0;
13742 char *arg1 = (
char *) 0 ;
13746 PyObject * obj0 = 0 ;
13748 if (!PyArg_ParseTuple(args,(
char *)
"O:pltimefmt",&obj0))
SWIG_fail;
13753 arg1 = (
char *)(buf1);
13765 PyObject *resultobj = 0;
13769 PyObject * obj0 = 0 ;
13771 if (!PyArg_ParseTuple(args,(
char *)
"O:plvasp",&obj0))
SWIG_fail;
13776 arg1 = (
PLFLT)(val1);
13786 PyObject *resultobj = 0;
13794 PyArrayObject *tmp1 = NULL ;
13795 PyArrayObject *tmp2 = NULL ;
13798 PyObject * obj0 = 0 ;
13799 PyObject * obj1 = 0 ;
13800 PyObject * obj2 = 0 ;
13801 PyObject * obj3 = 0 ;
13802 PyObject * obj4 = 0 ;
13811 if (!PyArg_ParseTuple(args,(
char *)
"OOO|OO:plvect",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
13815 if ( tmp1 == NULL )
13817 Xlen = PyArray_DIMS( tmp1 )[0];
13818 Ylen = PyArray_DIMS( tmp1 )[1];
13821 for ( i = 0; i <
Xlen; i++ )
13822 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
13827 if ( tmp2 == NULL )
13829 if (
Xlen != PyArray_DIMS( tmp2 )[0] ||
Ylen != PyArray_DIMS( tmp2 )[1] )
13831 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
13834 arg3 = PyArray_DIMS( tmp2 )[0];
13835 arg4 = PyArray_DIMS( tmp2 )[1];
13837 arg2 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg3 );
13838 for ( i = 0; i < arg3; i++ )
13839 arg2[i] = ( (
PLFLT *) PyArray_DATA( tmp2 ) + i * size );
13845 arg5 = (
PLFLT)(val5);
13849 if ( obj3 == Py_None )
13855 if ( !PyCallable_Check( (PyObject *) obj3 ) )
13857 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
13866 if ( obj4 == Py_None )
13874 plvect((
double const **)arg1,(
double const **)arg2,arg3,arg4,arg5,arg6,arg7);
13911 PyObject *resultobj = 0;
13927 PyObject * obj0 = 0 ;
13928 PyObject * obj1 = 0 ;
13929 PyObject * obj2 = 0 ;
13930 PyObject * obj3 = 0 ;
13931 PyObject * obj4 = 0 ;
13933 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plvpas",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
13938 arg1 = (
PLFLT)(val1);
13943 arg2 = (
PLFLT)(val2);
13948 arg3 = (
PLFLT)(val3);
13953 arg4 = (
PLFLT)(val4);
13958 arg5 = (
PLFLT)(val5);
13959 plvpas(arg1,arg2,arg3,arg4,arg5);
13968 PyObject *resultobj = 0;
13981 PyObject * obj0 = 0 ;
13982 PyObject * obj1 = 0 ;
13983 PyObject * obj2 = 0 ;
13984 PyObject * obj3 = 0 ;
13986 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plvpor",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
13991 arg1 = (
PLFLT)(val1);
13996 arg2 = (
PLFLT)(val2);
14001 arg3 = (
PLFLT)(val3);
14006 arg4 = (
PLFLT)(val4);
14007 plvpor(arg1,arg2,arg3,arg4);
14016 PyObject *resultobj = 0;
14018 if (!PyArg_ParseTuple(args,(
char *)
":plvsta"))
SWIG_fail;
14028 PyObject *resultobj = 0;
14062 PyObject * obj0 = 0 ;
14063 PyObject * obj1 = 0 ;
14064 PyObject * obj2 = 0 ;
14065 PyObject * obj3 = 0 ;
14066 PyObject * obj4 = 0 ;
14067 PyObject * obj5 = 0 ;
14068 PyObject * obj6 = 0 ;
14069 PyObject * obj7 = 0 ;
14070 PyObject * obj8 = 0 ;
14071 PyObject * obj9 = 0 ;
14072 PyObject * obj10 = 0 ;
14074 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plw3d",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
14079 arg1 = (
PLFLT)(val1);
14084 arg2 = (
PLFLT)(val2);
14089 arg3 = (
PLFLT)(val3);
14094 arg4 = (
PLFLT)(val4);
14099 arg5 = (
PLFLT)(val5);
14104 arg6 = (
PLFLT)(val6);
14109 arg7 = (
PLFLT)(val7);
14114 arg8 = (
PLFLT)(val8);
14119 arg9 = (
PLFLT)(val9);
14124 arg10 = (
PLFLT)(val10);
14129 arg11 = (
PLFLT)(val11);
14130 plw3d(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
14139 PyObject *resultobj = 0;
14143 PyObject * obj0 = 0 ;
14145 if (!PyArg_ParseTuple(args,(
char *)
"O:plwidth",&obj0))
SWIG_fail;
14150 arg1 = (
PLFLT)(val1);
14160 PyObject *resultobj = 0;
14173 PyObject * obj0 = 0 ;
14174 PyObject * obj1 = 0 ;
14175 PyObject * obj2 = 0 ;
14176 PyObject * obj3 = 0 ;
14178 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plwind",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
14183 arg1 = (
PLFLT)(val1);
14188 arg2 = (
PLFLT)(val2);
14193 arg3 = (
PLFLT)(val3);
14198 arg4 = (
PLFLT)(val4);
14199 plwind(arg1,arg2,arg3,arg4);
14208 PyObject *resultobj = 0;
14215 PyObject * obj0 = 0 ;
14218 if (!PyArg_ParseTuple(args,(
char *)
"O:plxormod",&obj0))
SWIG_fail;
14239 PyObject *resultobj = 0;
14241 char *arg2 = (
char *) 0 ;
14257 PyObject * obj0 = 0 ;
14258 PyObject * obj1 = 0 ;
14259 PyObject * obj2 = 0 ;
14260 PyObject * obj3 = 0 ;
14261 PyObject * obj4 = 0 ;
14262 PyObject * obj5 = 0 ;
14264 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plmap",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
14267 if ( obj0 == Py_None )
14273 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14275 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14285 arg2 = (
char *)(buf2);
14290 arg3 = (
PLFLT)(val3);
14295 arg4 = (
PLFLT)(val4);
14300 arg5 = (
PLFLT)(val5);
14305 arg6 = (
PLFLT)(val6);
14306 plmap(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6);
14323 PyObject *resultobj = 0;
14325 char *arg2 = (
char *) 0 ;
14343 PyArrayObject *tmp7 = NULL ;
14344 PyObject * obj0 = 0 ;
14345 PyObject * obj1 = 0 ;
14346 PyObject * obj2 = 0 ;
14347 PyObject * obj3 = 0 ;
14348 PyObject * obj4 = 0 ;
14349 PyObject * obj5 = 0 ;
14350 PyObject * obj6 = 0 ;
14352 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plmapline",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
14355 if ( obj0 == Py_None )
14361 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14363 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14373 arg2 = (
char *)(buf2);
14378 arg3 = (
PLFLT)(val3);
14383 arg4 = (
PLFLT)(val4);
14388 arg5 = (
PLFLT)(val5);
14393 arg6 = (
PLFLT)(val6);
14395 if ( obj6 != Py_None )
14398 if ( tmp7 == NULL )
14400 arg7 = (
PLINT *) PyArray_DATA( tmp7 );
14401 arg8 = PyArray_DIMS( tmp7 )[0];
14409 plmapline(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6,(
int const *)arg7,arg8);
14432 PyObject *resultobj = 0;
14434 char *arg2 = (
char *) 0 ;
14435 char *arg3 = (
char *) 0 ;
14456 PyArrayObject *tmp8 = NULL ;
14457 PyObject * obj0 = 0 ;
14458 PyObject * obj1 = 0 ;
14459 PyObject * obj2 = 0 ;
14460 PyObject * obj3 = 0 ;
14461 PyObject * obj4 = 0 ;
14462 PyObject * obj5 = 0 ;
14463 PyObject * obj6 = 0 ;
14464 PyObject * obj7 = 0 ;
14466 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plmapstring",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
14469 if ( obj0 == Py_None )
14475 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14477 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14487 arg2 = (
char *)(buf2);
14492 arg3 = (
char *)(buf3);
14497 arg4 = (
PLFLT)(val4);
14502 arg5 = (
PLFLT)(val5);
14507 arg6 = (
PLFLT)(val6);
14512 arg7 = (
PLFLT)(val7);
14514 if ( obj7 != Py_None )
14517 if ( tmp8 == NULL )
14519 arg8 = (
PLINT *) PyArray_DATA( tmp8 );
14520 arg9 = PyArray_DIMS( tmp8 )[0];
14528 plmapstring(arg1,(
char const *)arg2,(
char const *)arg3,arg4,arg5,arg6,arg7,(
int const *)arg8,arg9);
14553 PyObject *resultobj = 0;
14555 char *arg2 = (
char *) 0 ;
14559 char *arg6 = (
char *) 0 ;
14587 PyObject * obj0 = 0 ;
14588 PyObject * obj1 = 0 ;
14589 PyObject * obj2 = 0 ;
14590 PyObject * obj3 = 0 ;
14591 PyObject * obj4 = 0 ;
14592 PyObject * obj5 = 0 ;
14593 PyObject * obj6 = 0 ;
14594 PyObject * obj7 = 0 ;
14595 PyObject * obj8 = 0 ;
14596 PyObject * obj9 = 0 ;
14597 PyObject * obj10 = 0 ;
14599 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plmaptex",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
14602 if ( obj0 == Py_None )
14608 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14610 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14620 arg2 = (
char *)(buf2);
14625 arg3 = (
PLFLT)(val3);
14630 arg4 = (
PLFLT)(val4);
14635 arg5 = (
PLFLT)(val5);
14640 arg6 = (
char *)(buf6);
14645 arg7 = (
PLFLT)(val7);
14650 arg8 = (
PLFLT)(val8);
14655 arg9 = (
PLFLT)(val9);
14660 arg10 = (
PLFLT)(val10);
14665 arg11 = (
PLINT)(val11);
14666 plmaptex(arg1,(
char const *)arg2,arg3,arg4,arg5,(
char const *)arg6,arg7,arg8,arg9,arg10,arg11);
14685 PyObject *resultobj = 0;
14687 char *arg2 = (
char *) 0 ;
14705 PyArrayObject *tmp7 = NULL ;
14706 PyObject * obj0 = 0 ;
14707 PyObject * obj1 = 0 ;
14708 PyObject * obj2 = 0 ;
14709 PyObject * obj3 = 0 ;
14710 PyObject * obj4 = 0 ;
14711 PyObject * obj5 = 0 ;
14712 PyObject * obj6 = 0 ;
14714 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plmapfill",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
14717 if ( obj0 == Py_None )
14723 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14725 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14735 arg2 = (
char *)(buf2);
14740 arg3 = (
PLFLT)(val3);
14745 arg4 = (
PLFLT)(val4);
14750 arg5 = (
PLFLT)(val5);
14755 arg6 = (
PLFLT)(val6);
14757 if ( obj6 != Py_None )
14760 if ( tmp7 == NULL )
14762 arg7 = (
PLINT *) PyArray_DATA( tmp7 );
14763 arg8 = PyArray_DIMS( tmp7 )[0];
14771 plmapfill(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6,(
int const *)arg7,arg8);
14794 PyObject *resultobj = 0;
14814 PyObject * obj0 = 0 ;
14815 PyObject * obj1 = 0 ;
14816 PyObject * obj2 = 0 ;
14817 PyObject * obj3 = 0 ;
14818 PyObject * obj4 = 0 ;
14819 PyObject * obj5 = 0 ;
14820 PyObject * obj6 = 0 ;
14822 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plmeridians",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
14825 if ( obj0 == Py_None )
14831 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14833 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14843 arg2 = (
PLFLT)(val2);
14848 arg3 = (
PLFLT)(val3);
14853 arg4 = (
PLFLT)(val4);
14858 arg5 = (
PLFLT)(val5);
14863 arg6 = (
PLFLT)(val6);
14868 arg7 = (
PLFLT)(val7);
14884 PyObject *resultobj = 0;
14898 PyArrayObject *tmp1 = NULL ;
14919 PyObject * obj0 = 0 ;
14920 PyObject * obj1 = 0 ;
14921 PyObject * obj2 = 0 ;
14922 PyObject * obj3 = 0 ;
14923 PyObject * obj4 = 0 ;
14924 PyObject * obj5 = 0 ;
14925 PyObject * obj6 = 0 ;
14926 PyObject * obj7 = 0 ;
14927 PyObject * obj8 = 0 ;
14928 PyObject * obj9 = 0 ;
14929 PyObject * obj10 = 0 ;
14931 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plimage",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
14935 if ( tmp1 == NULL )
14937 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
14938 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
14940 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
14941 for ( i = 0; i < arg2; i++ )
14942 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
14948 arg4 = (
PLFLT)(val4);
14953 arg5 = (
PLFLT)(val5);
14958 arg6 = (
PLFLT)(val6);
14963 arg7 = (
PLFLT)(val7);
14968 arg8 = (
PLFLT)(val8);
14973 arg9 = (
PLFLT)(val9);
14978 arg10 = (
PLFLT)(val10);
14983 arg11 = (
PLFLT)(val11);
14988 arg12 = (
PLFLT)(val12);
14993 arg13 = (
PLFLT)(val13);
14994 plimage((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
15011 PyObject *resultobj = 0;
15025 PyArrayObject *tmp1 = NULL ;
15042 PyObject * obj0 = 0 ;
15043 PyObject * obj1 = 0 ;
15044 PyObject * obj2 = 0 ;
15045 PyObject * obj3 = 0 ;
15046 PyObject * obj4 = 0 ;
15047 PyObject * obj5 = 0 ;
15048 PyObject * obj6 = 0 ;
15049 PyObject * obj7 = 0 ;
15050 PyObject * obj8 = 0 ;
15051 PyObject * obj9 = 0 ;
15052 PyObject * obj10 = 0 ;
15061 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOO|OO:plimagefr",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
15065 if ( tmp1 == NULL )
15067 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15068 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15070 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
15071 for ( i = 0; i < arg2; i++ )
15072 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15078 arg4 = (
PLFLT)(val4);
15083 arg5 = (
PLFLT)(val5);
15088 arg6 = (
PLFLT)(val6);
15093 arg7 = (
PLFLT)(val7);
15098 arg8 = (
PLFLT)(val8);
15103 arg9 = (
PLFLT)(val9);
15108 arg10 = (
PLFLT)(val10);
15113 arg11 = (
PLFLT)(val11);
15117 if ( obj9 == Py_None )
15123 if ( !PyCallable_Check( (PyObject *) obj9 ) )
15125 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
15134 if ( obj10 == Py_None )
15142 plimagefr((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
15171 PyObject *resultobj = 0;
15173 if (!PyArg_ParseTuple(args,(
char *)
":plClearOpts"))
SWIG_fail;
15183 PyObject *resultobj = 0;
15185 if (!PyArg_ParseTuple(args,(
char *)
":plResetOpts"))
SWIG_fail;
15195 PyObject *resultobj = 0;
15196 char *arg1 = (
char *) 0 ;
15197 char *arg2 = (
char *) 0 ;
15204 PyObject * obj0 = 0 ;
15205 PyObject * obj1 = 0 ;
15207 if (!PyArg_ParseTuple(args,(
char *)
"OO:plSetUsage",&obj0,&obj1))
SWIG_fail;
15212 arg1 = (
char *)(buf1);
15217 arg2 = (
char *)(buf2);
15218 plSetUsage((
char const *)arg1,(
char const *)arg2);
15231 PyObject *resultobj = 0;
15233 if (!PyArg_ParseTuple(args,(
char *)
":plOptUsage"))
SWIG_fail;
15243 PyObject *resultobj = 0;
15249 PyArrayObject *tmp1 = NULL ;
15254 PyObject * obj0 = 0 ;
15258 if (!PyArg_ParseTuple(args,(
char *)
"O:plMinMax2dGrid",&obj0))
SWIG_fail;
15262 if ( tmp1 == NULL )
15264 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15265 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15267 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
15268 for ( i = 0; i < arg2; i++ )
15269 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15300 PyObject *resultobj = 0;
15304 PyObject * obj0 = 0 ;
15307 if (!PyArg_ParseTuple(args,(
char *)
"O:plGetCursor",&obj0))
SWIG_fail;
15323 { (
char *)
"pltr0",
_wrap_pltr0, METH_VARARGS, NULL},
15324 { (
char *)
"pltr1",
_wrap_pltr1, METH_VARARGS, NULL},
15325 { (
char *)
"pltr2",
_wrap_pltr2, METH_VARARGS, NULL},
15355 "Set format of numerical label for contours\n" 15359 " Set format of numerical label for contours.\n" 15361 " Redacted form: pl_setcontlabelformat(lexp, sigdig)\n" 15363 " This function is used example 9.\n" 15369 "pl_setcontlabelformat(lexp, sigdig)\n" 15373 " lexp (PLINT, input) : If the contour numerical label is greater\n" 15374 " than 10^(lexp) or less than 10^(-lexp), then the exponential\n" 15375 " format is used. Default value of lexp is 4.\n" 15377 " sigdig (PLINT, input) : Number of significant digits. Default\n" 15382 "Set parameters of contour labelling other than format of numerical label\n" 15386 " Set parameters of contour labelling other than those handled by\n" 15387 " pl_setcontlabelformat.\n" 15389 " Redacted form: pl_setcontlabelparam(offset, size, spacing, active)\n" 15391 " This function is used in example 9.\n" 15397 "pl_setcontlabelparam(offset, size, spacing, active)\n" 15401 " offset (PLFLT, input) : Offset of label from contour line (if set\n" 15402 " to 0.0, labels are printed on the lines). Default value is 0.006.\n" 15404 " size (PLFLT, input) : Font height for contour labels (normalized).\n" 15405 " Default value is 0.3.\n" 15407 " spacing (PLFLT, input) : Spacing parameter for contour labels.\n" 15408 " Default value is 0.1.\n" 15410 " active (PLINT, input) : Activate labels. Set to 1 if you want\n" 15411 " contour labels on. Default is off (0).\n" 15414 { (
char *)
"pladv",
_wrap_pladv, METH_VARARGS, (
char *)
"\n" 15415 "Advance the (sub-)page\n" 15419 " Advances to the next subpage if sub=0, performing a page advance if\n" 15420 " there are no remaining subpages on the current page. If subpages\n" 15421 " aren't being used, pladv(0) will always advance the page. If page>0,\n" 15422 " PLplot switches to the specified subpage. Note that this allows you\n" 15423 " to overwrite a plot on the specified subpage; if this is not what you\n" 15424 " intended, use pleop followed by plbop to first advance the page. This\n" 15425 " routine is called automatically (with page=0) by plenv, but if plenv\n" 15426 " is not used, pladv must be called after initializing PLplot but before\n" 15427 " defining the viewport.\n" 15429 " Redacted form: pladv(page)\n" 15431 " This function is used in examples 1, 2, 4, 6-12, 14-18, 20, 21, 23-27,\n" 15442 " page (PLINT, input) : Specifies the subpage number (starting from 1\n" 15443 " in the top left corner and increasing along the rows) to which to\n" 15444 " advance. Set to zero to advance to the next subpage (or to the\n" 15445 " next page if subpages are not being used).\n" 15448 { (
char *)
"plarc",
_wrap_plarc, METH_VARARGS, (
char *)
"\n" 15449 "Draw a circular or elliptical arc\n" 15453 " Draw a possibly filled arc centered at x, y with semimajor axis a and\n" 15454 " semiminor axis b, starting at angle1 and ending at angle2.\n" 15456 " Redacted form: General: plarc(x, y, a, b, angle1, angle2, rotate,\n" 15460 " This function is used in examples 3 and 27.\n" 15466 "plarc(x, y, a, b, angle1, angle2, rotate, fill)\n" 15470 " x (PLFLT, input) : X coordinate of arc center.\n" 15472 " y (PLFLT, input) : Y coordinate of arc center.\n" 15474 " a (PLFLT, input) : Length of the semimajor axis of the arc.\n" 15476 " b (PLFLT, input) : Length of the semiminor axis of the arc.\n" 15478 " angle1 (PLFLT, input) : Starting angle of the arc relative to the\n" 15479 " semimajor axis.\n" 15481 " angle2 (PLFLT, input) : Ending angle of the arc relative to the\n" 15482 " semimajor axis.\n" 15484 " rotate (PLFLT, input) : Angle of the semimajor axis relative to the\n" 15487 " fill (PLBOOL, input) : Draw a filled arc.\n" 15490 { (
char *)
"plaxes",
_wrap_plaxes, METH_VARARGS, (
char *)
"\n" 15491 "Draw a box with axes, etc. with arbitrary origin\n" 15495 " Draws a box around the currently defined viewport with arbitrary\n" 15496 " world-coordinate origin specified by x0 and y0 and labels it with\n" 15497 " world coordinate values appropriate to the window. Thus plaxes should\n" 15498 " only be called after defining both viewport and window. The ascii\n" 15499 " character strings xopt and yopt specify how the box should be drawn as\n" 15500 " described below. If ticks and/or subticks are to be drawn for a\n" 15501 " particular axis, the tick intervals and number of subintervals may be\n" 15502 " specified explicitly, or they may be defaulted by setting the\n" 15503 " appropriate arguments to zero.\n" 15505 " Redacted form: General: plaxes(x0, y0, xopt, xtick, nxsub, yopt,\n" 15509 " This function is not used in any examples.\n" 15515 "plaxes(x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub)\n" 15519 " x0 (PLFLT, input) : World X coordinate of origin.\n" 15521 " y0 (PLFLT, input) : World Y coordinate of origin.\n" 15523 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15524 " options for the x axis. The string can include any combination of\n" 15525 " the following letters (upper or lower case) in any order: a: Draws\n" 15526 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n" 15528 " b: Draws bottom (X) or left (Y) edge of frame.\n" 15529 " c: Draws top (X) or right (Y) edge of frame.\n" 15530 " d: Plot labels as date / time. Values are assumed to be\n" 15531 " seconds since the epoch (as used by gmtime).\n" 15532 " f: Always use fixed point numeric labels.\n" 15533 " g: Draws a grid at the major tick interval.\n" 15534 " h: Draws a grid at the minor tick interval.\n" 15535 " i: Inverts tick marks, so they are drawn outwards, rather than\n" 15537 " l: Labels axis logarithmically. This only affects the labels,\n" 15538 " not the data, and so it is necessary to compute the logarithms\n" 15539 " of data points before passing them to any of the drawing\n" 15541 " m: Writes numeric labels at major tick intervals in the\n" 15542 " unconventional location (above box for X, right of box for Y).\n" 15543 " n: Writes numeric labels at major tick intervals in the\n" 15544 " conventional location (below box for X, left of box for Y).\n" 15545 " o: Use custom labelling function to generate axis label text.\n" 15546 " The custom labelling function can be defined with the\n" 15547 " plslabelfunc command.\n" 15548 " s: Enables subticks between major ticks, only valid if t is\n" 15549 " also specified.\n" 15550 " t: Draws major ticks.\n" 15551 " u: Exactly like \"b\" except don't draw edge line.\n" 15552 " w: Exactly like \"c\" except don't draw edge line.\n" 15553 " x: Exactly like \"t\" (including the side effect of the\n" 15554 " numerical labels for the major ticks) except exclude drawing\n" 15555 " the major and minor tick marks.\n" 15558 " xtick (PLFLT, input) : World coordinate interval between major\n" 15559 " ticks on the x axis. If it is set to zero, PLplot automatically\n" 15560 " generates a suitable tick interval.\n" 15562 " nxsub (PLINT, input) : Number of subintervals between major x axis\n" 15563 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15564 " generates a suitable minor tick interval.\n" 15566 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15567 " options for the y axis. The string can include any combination of\n" 15568 " the letters defined above for xopt, and in addition may contain:\n" 15569 " v: Write numeric labels for the y axis parallel to the base of the\n" 15570 " graph, rather than parallel to the axis.\n" 15573 " ytick (PLFLT, input) : World coordinate interval between major\n" 15574 " ticks on the y axis. If it is set to zero, PLplot automatically\n" 15575 " generates a suitable tick interval.\n" 15577 " nysub (PLINT, input) : Number of subintervals between major y axis\n" 15578 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15579 " generates a suitable minor tick interval.\n" 15582 { (
char *)
"plbin",
_wrap_plbin, METH_VARARGS, (
char *)
"\n" 15583 "Plot a histogram from binned data\n" 15587 " Plots a histogram consisting of nbin bins. The value associated with\n" 15588 " the i'th bin is placed in x[i], and the number of points in the bin is\n" 15589 " placed in y[i]. For proper operation, the values in x[i] must form a\n" 15590 " strictly increasing sequence. By default, x[i] is the left-hand edge\n" 15591 " of the i'th bin. If opt=PL_BIN_CENTRED is used, the bin boundaries are\n" 15592 " placed midway between the values in the x vector. Also see plhist for\n" 15593 " drawing histograms from unbinned data.\n" 15595 " Redacted form: General: plbin(x, y, opt)\n" 15596 " Python: plbin(nbin, x, y, opt)\n" 15599 " This function is not used in any examples.\n" 15605 "plbin(nbin, x, y, opt)\n" 15609 " nbin (PLINT, input) : Number of bins (i.e., number of values in x\n" 15610 " and y vectors.)\n" 15612 " x (PLFLT_VECTOR, input) : A vector containing values associated\n" 15613 " with bins. These must form a strictly increasing sequence.\n" 15615 " y (PLFLT_VECTOR, input) : A vector containing a number which is\n" 15616 " proportional to the number of points in each bin. This is a PLFLT\n" 15617 " (instead of PLINT) vector so as to allow histograms of\n" 15618 " probabilities, etc.\n" 15620 " opt (PLINT, input) : Is a combination of several flags:\n" 15621 " opt=PL_BIN_DEFAULT: The x represent the lower bin boundaries, the\n" 15622 " outer bins are expanded to fill up the entire x-axis and bins of\n" 15623 " zero height are simply drawn.\n" 15624 " opt=PL_BIN_CENTRED|...: The bin boundaries are to be midway\n" 15625 " between the x values. If the values in x are equally spaced,\n" 15626 " the values are the center values of the bins.\n" 15627 " opt=PL_BIN_NOEXPAND|...: The outer bins are drawn with equal\n" 15628 " size as the ones inside.\n" 15629 " opt=PL_BIN_NOEMPTY|...: Bins with zero height are not drawn\n" 15630 " (there is a gap for such bins).\n" 15633 { (
char *)
"plbtime",
_wrap_plbtime, METH_VARARGS, (
char *)
"\n" 15634 "Calculate broken-down time from continuous time for the current stream\n" 15638 " Calculate broken-down time; year, month, day, hour, min, sec; from\n" 15639 " continuous time, ctime for the current stream. This function is the\n" 15640 " inverse of plctime.\n" 15642 " The PLplot definition of broken-down time is a calendar time that\n" 15643 " completely ignores all time zone offsets, i.e., it is the user's\n" 15644 " responsibility to apply those offsets (if so desired) before using the\n" 15645 " PLplot time API. By default broken-down time is defined using the\n" 15646 " proleptic Gregorian calendar without the insertion of leap seconds and\n" 15647 " continuous time is defined as the number of seconds since the Unix\n" 15648 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n" 15649 " broken-down and continuous time are possible, see plconfigtime.\n" 15651 " Redacted form: General: plbtime(year, month, day, hour, min, sec,\n" 15655 " This function is used in example 29.\n" 15661 "plbtime(year, month, day, hour, min, sec, ctime)\n" 15665 " year (PLINT_NC_SCALAR, output) : Returned value of years with\n" 15666 " positive values corresponding to CE (i.e., 1 = 1 CE, etc.) and\n" 15667 " non-negative values corresponding to BCE (e.g., 0 = 1 BCE, -1 = 2\n" 15670 " month (PLINT_NC_SCALAR, output) : Returned value of month within\n" 15671 " the year in the range from 0 (January) to 11 (December).\n" 15673 " day (PLINT_NC_SCALAR, output) : Returned value of day within the\n" 15674 " month in the range from 1 to 31.\n" 15676 " hour (PLINT_NC_SCALAR, output) : Returned value of hour within the\n" 15677 " day in the range from 0 to 23.\n" 15679 " min (PLINT_NC_SCALAR, output) : Returned value of minute within the\n" 15680 " hour in the range from 0 to 59\n" 15682 " sec (PLFLT_NC_SCALAR, output) : Returned value of second within the\n" 15683 " minute in range from 0. to 60.\n" 15685 " ctime (PLFLT, input) : Continuous time from which the broken-down\n" 15686 " time is calculated.\n" 15689 { (
char *)
"plbop",
_wrap_plbop, METH_VARARGS, (
char *)
"\n" 15690 "Begin a new page\n" 15694 " Begins a new page. For a file driver, the output file is opened if\n" 15695 " necessary. Advancing the page via pleop and plbop is useful when a\n" 15696 " page break is desired at a particular point when plotting to subpages.\n" 15697 " Another use for pleop and plbop is when plotting pages to different\n" 15698 " files, since you can manually set the file name by calling plsfnam\n" 15699 " after the call to pleop. (In fact some drivers may only support a\n" 15700 " single page per file, making this a necessity.) One way to handle\n" 15701 " this case automatically is to page advance via pladv, but enable\n" 15702 " familying (see plsfam) with a small limit on the file size so that a\n" 15703 " new family member file will be created on each page break.\n" 15705 " Redacted form: plbop()\n" 15707 " This function is used in examples 2 and 20.\n" 15716 { (
char *)
"plbox",
_wrap_plbox, METH_VARARGS, (
char *)
"\n" 15717 "Draw a box with axes, etc\n" 15721 " Draws a box around the currently defined viewport, and labels it with\n" 15722 " world coordinate values appropriate to the window. Thus plbox should\n" 15723 " only be called after defining both viewport and window. The ascii\n" 15724 " character strings xopt and yopt specify how the box should be drawn as\n" 15725 " described below. If ticks and/or subticks are to be drawn for a\n" 15726 " particular axis, the tick intervals and number of subintervals may be\n" 15727 " specified explicitly, or they may be defaulted by setting the\n" 15728 " appropriate arguments to zero.\n" 15730 " Redacted form: General: plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n" 15733 " This function is used in examples 1, 2, 4, 6, 6-12, 14-18, 21, 23-26,\n" 15740 "plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n" 15744 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15745 " options for the x axis. The string can include any combination of\n" 15746 " the following letters (upper or lower case) in any order: a: Draws\n" 15747 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n" 15749 " b: Draws bottom (X) or left (Y) edge of frame.\n" 15750 " c: Draws top (X) or right (Y) edge of frame.\n" 15751 " d: Plot labels as date / time. Values are assumed to be\n" 15752 " seconds since the epoch (as used by gmtime).\n" 15753 " f: Always use fixed point numeric labels.\n" 15754 " g: Draws a grid at the major tick interval.\n" 15755 " h: Draws a grid at the minor tick interval.\n" 15756 " i: Inverts tick marks, so they are drawn outwards, rather than\n" 15758 " l: Labels axis logarithmically. This only affects the labels,\n" 15759 " not the data, and so it is necessary to compute the logarithms\n" 15760 " of data points before passing them to any of the drawing\n" 15762 " m: Writes numeric labels at major tick intervals in the\n" 15763 " unconventional location (above box for X, right of box for Y).\n" 15764 " n: Writes numeric labels at major tick intervals in the\n" 15765 " conventional location (below box for X, left of box for Y).\n" 15766 " o: Use custom labelling function to generate axis label text.\n" 15767 " The custom labelling function can be defined with the\n" 15768 " plslabelfunc command.\n" 15769 " s: Enables subticks between major ticks, only valid if t is\n" 15770 " also specified.\n" 15771 " t: Draws major ticks.\n" 15772 " u: Exactly like \"b\" except don't draw edge line.\n" 15773 " w: Exactly like \"c\" except don't draw edge line.\n" 15774 " x: Exactly like \"t\" (including the side effect of the\n" 15775 " numerical labels for the major ticks) except exclude drawing\n" 15776 " the major and minor tick marks.\n" 15779 " xtick (PLFLT, input) : World coordinate interval between major\n" 15780 " ticks on the x axis. If it is set to zero, PLplot automatically\n" 15781 " generates a suitable tick interval.\n" 15783 " nxsub (PLINT, input) : Number of subintervals between major x axis\n" 15784 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15785 " generates a suitable minor tick interval.\n" 15787 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15788 " options for the y axis. The string can include any combination of\n" 15789 " the letters defined above for xopt, and in addition may contain:\n" 15790 " v: Write numeric labels for the y axis parallel to the base of the\n" 15791 " graph, rather than parallel to the axis.\n" 15794 " ytick (PLFLT, input) : World coordinate interval between major\n" 15795 " ticks on the y axis. If it is set to zero, PLplot automatically\n" 15796 " generates a suitable tick interval.\n" 15798 " nysub (PLINT, input) : Number of subintervals between major y axis\n" 15799 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15800 " generates a suitable minor tick interval.\n" 15803 { (
char *)
"plbox3",
_wrap_plbox3, METH_VARARGS, (
char *)
"\n" 15804 "Draw a box with axes, etc, in 3-d\n" 15808 " Draws axes, numeric and text labels for a three-dimensional surface\n" 15809 " plot. For a more complete description of three-dimensional plotting\n" 15810 " see the PLplot documentation.\n" 15812 " Redacted form: General: plbox3(xopt, xlabel, xtick, nxsub, yopt,\n" 15813 " ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n" 15816 " This function is used in examples 8, 11, 18, and 21.\n" 15822 "plbox3(xopt, xlabel, xtick, nxsub, yopt, ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n" 15826 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15827 " options for the x axis. The string can include any combination of\n" 15828 " the following letters (upper or lower case) in any order: b: Draws\n" 15829 " axis at base, at height z=\n" 15830 " zmin where zmin is defined by call to plw3d. This character must be\n" 15831 " specified in order to use any of the other options.\n" 15832 " d: Plot labels as date / time. Values are assumed to be\n" 15833 " seconds since the epoch (as used by gmtime).\n" 15834 " f: Always use fixed point numeric labels.\n" 15835 " i: Inverts tick marks, so they are drawn downwards, rather\n" 15837 " l: Labels axis logarithmically. This only affects the labels,\n" 15838 " not the data, and so it is necessary to compute the logarithms\n" 15839 " of data points before passing them to any of the drawing\n" 15841 " n: Writes numeric labels at major tick intervals.\n" 15842 " o: Use custom labelling function to generate axis label text.\n" 15843 " The custom labelling function can be defined with the\n" 15844 " plslabelfunc command.\n" 15845 " s: Enables subticks between major ticks, only valid if t is\n" 15846 " also specified.\n" 15847 " t: Draws major ticks.\n" 15848 " u: If this is specified, the text label for the axis is\n" 15849 " written under the axis.\n" 15852 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 15853 " the text label for the x axis. It is only drawn if u is in the\n" 15856 " xtick (PLFLT, input) : World coordinate interval between major\n" 15857 " ticks on the x axis. If it is set to zero, PLplot automatically\n" 15858 " generates a suitable tick interval.\n" 15860 " nxsub (PLINT, input) : Number of subintervals between major x axis\n" 15861 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15862 " generates a suitable minor tick interval.\n" 15864 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15865 " options for the y axis. The string is interpreted in the same way\n" 15868 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 15869 " the text label for the y axis. It is only drawn if u is in the\n" 15872 " ytick (PLFLT, input) : World coordinate interval between major\n" 15873 " ticks on the y axis. If it is set to zero, PLplot automatically\n" 15874 " generates a suitable tick interval.\n" 15876 " nysub (PLINT, input) : Number of subintervals between major y axis\n" 15877 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15878 " generates a suitable minor tick interval.\n" 15880 " zopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15881 " options for the z axis. The string can include any combination of\n" 15882 " the following letters (upper or lower case) in any order: b: Draws\n" 15883 " z axis to the left of the surface plot.\n" 15884 " c: Draws z axis to the right of the surface plot.\n" 15885 " d: Draws grid lines parallel to the x-y plane behind the\n" 15886 " figure. These lines are not drawn until after plot3d or\n" 15887 " plmesh are called because of the need for hidden line removal.\n" 15888 " e: Plot labels as date / time. Values are assumed to be\n" 15889 " seconds since the epoch (as used by gmtime). Note this\n" 15890 " suboption is interpreted the same as the d suboption for xopt\n" 15891 " and yopt, but it has to be identified as e for zopt since d\n" 15892 " has already been used for the different purpose above.\n" 15893 " f: Always use fixed point numeric labels.\n" 15894 " i: Inverts tick marks, so they are drawn away from the center.\n" 15895 " l: Labels axis logarithmically. This only affects the labels,\n" 15896 " not the data, and so it is necessary to compute the logarithms\n" 15897 " of data points before passing them to any of the drawing\n" 15899 " m: Writes numeric labels at major tick intervals on the\n" 15900 " right-hand z axis.\n" 15901 " n: Writes numeric labels at major tick intervals on the\n" 15902 " left-hand z axis.\n" 15903 " o: Use custom labelling function to generate axis label text.\n" 15904 " The custom labelling function can be defined with the\n" 15905 " plslabelfunc command.\n" 15906 " s: Enables subticks between major ticks, only valid if t is\n" 15907 " also specified.\n" 15908 " t: Draws major ticks.\n" 15909 " u: If this is specified, the text label is written beside the\n" 15910 " left-hand axis.\n" 15911 " v: If this is specified, the text label is written beside the\n" 15912 " right-hand axis.\n" 15915 " zlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 15916 " the text label for the z axis. It is only drawn if u or v are in\n" 15917 " the zopt string.\n" 15919 " ztick (PLFLT, input) : World coordinate interval between major\n" 15920 " ticks on the z axis. If it is set to zero, PLplot automatically\n" 15921 " generates a suitable tick interval.\n" 15923 " nzsub (PLINT, input) : Number of subintervals between major z axis\n" 15924 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15925 " generates a suitable minor tick interval.\n" 15929 "Calculate world coordinates and corresponding window index from relative device coordinates\n" 15933 " Calculate world coordinates, wx and wy, and corresponding window index\n" 15934 " from relative device coordinates, rx and ry.\n" 15936 " Redacted form: General: plcalc_world(rx, ry, wx, wy, window)\n" 15939 " This function is used in example 31.\n" 15945 "plcalc_world(rx, ry, wx, wy, window)\n" 15949 " rx (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n" 15950 " the x coordinate.\n" 15952 " ry (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n" 15953 " the y coordinate.\n" 15955 " wx (PLFLT_NC_SCALAR, output) : Returned value of the x world\n" 15956 " coordinate corresponding to the relative device coordinates rx and\n" 15959 " wy (PLFLT_NC_SCALAR, output) : Returned value of the y world\n" 15960 " coordinate corresponding to the relative device coordinates rx and\n" 15963 " window (PLINT_NC_SCALAR, output) : Returned value of the last\n" 15964 " defined window index that corresponds to the input relative device\n" 15965 " coordinates (and the returned world coordinates). To give some\n" 15966 " background on the window index, for each page the initial window\n" 15967 " index is set to zero, and each time plwind is called within the\n" 15968 " page, world and device coordinates are stored for the window and\n" 15969 " the window index is incremented. Thus, for a simple page layout\n" 15970 " with non-overlapping viewports and one window per viewport, window\n" 15971 " corresponds to the viewport index (in the order which the\n" 15972 " viewport/windows were created) of the only viewport/window\n" 15973 " corresponding to rx and ry. However, for more complicated layouts\n" 15974 " with potentially overlapping viewports and possibly more than one\n" 15975 " window (set of world coordinates) per viewport, window and the\n" 15976 " corresponding output world coordinates corresponds to the last\n" 15977 " window created that fulfills the criterion that the relative\n" 15978 " device coordinates are inside it. Finally, in all cases where the\n" 15979 " input relative device coordinates are not inside any\n" 15980 " viewport/window, then the returned value of the last defined\n" 15981 " window index is set to -1.\n" 15984 { (
char *)
"plclear",
_wrap_plclear, METH_VARARGS, (
char *)
"\n" 15985 "Clear current (sub)page\n" 15989 " Clears the current page, effectively erasing everything that have been\n" 15990 " drawn. This command only works with interactive drivers; if the\n" 15991 " driver does not support this, the page is filled with the background\n" 15992 " color in use. If the current page is divided into subpages, only the\n" 15993 " current subpage is erased. The nth subpage can be selected with\n" 15996 " Redacted form: General: plclear()\n" 15999 " This function is not used in any examples.\n" 16008 { (
char *)
"plcol0",
_wrap_plcol0, METH_VARARGS, (
char *)
"\n" 16009 "Set color, cmap0\n" 16013 " Sets the color index for cmap0 (see the PLplot documentation).\n" 16015 " Redacted form: plcol0(icol0)\n" 16017 " This function is used in examples 1-9, 11-16, 18-27, and 29.\n" 16027 " icol0 (PLINT, input) : Integer representing the color. The\n" 16028 " defaults at present are (these may change):\n" 16029 " 0 black (default background)\n" 16030 " 1 red (default foreground)\n" 16046 " Use plscmap0 to change the entire cmap0 color palette and plscol0 to\n" 16047 " change an individual color in the cmap0 color palette.\n" 16050 { (
char *)
"plcol1",
_wrap_plcol1, METH_VARARGS, (
char *)
"\n" 16051 "Set color, cmap1\n" 16055 " Sets the color for cmap1 (see the PLplot documentation).\n" 16057 " Redacted form: plcol1(col1)\n" 16059 " This function is used in examples 12 and 21.\n" 16069 " col1 (PLFLT, input) : This value must be in the range (0.0-1.0) and\n" 16070 " is mapped to color using the continuous cmap1 palette which by\n" 16071 " default ranges from blue to the background color to red. The\n" 16072 " cmap1 palette can also be straightforwardly changed by the user\n" 16073 " with plscmap1 or plscmap1l.\n" 16077 "Configure the transformation between continuous and broken-down time for the current stream\n" 16081 " Configure the transformation between continuous and broken-down time\n" 16082 " for the current stream. This transformation is used by both plbtime\n" 16085 " Redacted form: General: plconfigtime(scale, offset1, offset2,\n" 16086 " ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n" 16089 " This function is used in example 29.\n" 16095 "plconfigtime(scale, offset1, offset2, ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n" 16099 " scale (PLFLT, input) : The number of days per continuous time unit.\n" 16100 " As a special case, if\n" 16101 " scale is 0., then all other arguments are ignored, and the result (the\n" 16102 " default used by PLplot) is the equivalent of a call to\n" 16103 " plconfigtime(1./86400., 0., 0., 0x0, 1, 1970, 0, 1, 0, 0, 0.).\n" 16104 " That is, for this special case broken-down time is calculated with\n" 16105 " the proleptic Gregorian calendar with no leap seconds inserted,\n" 16106 " and the continuous time is defined as the number of seconds since\n" 16107 " the Unix epoch of 1970-01-01T00:00:00Z.\n" 16109 " offset1 (PLFLT, input) : If\n" 16110 " ifbtime_offset is true, the parameters\n" 16112 " offset2 are completely ignored. Otherwise, the sum of these parameters\n" 16113 " (with units in days) specify the epoch of the continuous time\n" 16114 " relative to the MJD epoch corresponding to the Gregorian calendar\n" 16115 " date of 1858-11-17T00:00:00Z or JD = 2400000.5. Two PLFLT numbers\n" 16116 " are used to specify the origin to allow users (by specifying\n" 16117 " offset1 as an integer that can be exactly represented by a\n" 16118 " floating-point variable and specifying\n" 16119 " offset2 as a number in the range from 0. to 1) the chance to minimize\n" 16120 " the numerical errors of the continuous time representation.\n" 16122 " offset2 (PLFLT, input) : See documentation of\n" 16125 " ccontrol (PLINT, input) : ccontrol contains bits controlling the\n" 16126 " transformation. If the 0x1 bit is set, then the proleptic Julian\n" 16127 " calendar is used for broken-down time rather than the proleptic\n" 16128 " Gregorian calendar. If the 0x2 bit is set, then leap seconds that\n" 16129 " have been historically used to define UTC are inserted into the\n" 16130 " broken-down time. Other possibilities for additional control bits\n" 16131 " for ccontrol exist such as making the historical time corrections\n" 16132 " in the broken-down time corresponding to ET (ephemeris time) or\n" 16133 " making the (slightly non-constant) corrections from international\n" 16134 " atomic time (TAI) to what astronomers define as terrestrial time\n" 16135 " (TT). But those additional possibilities have not been\n" 16136 " implemented yet in the qsastime library (one of the PLplot utility\n" 16139 " ifbtime_offset (PLBOOL, input) : ifbtime_offset controls how the\n" 16140 " epoch of the continuous time scale is specified by the user. If\n" 16141 " ifbtime_offset is false, then\n" 16143 " offset2 are used to specify the epoch, and the following broken-down\n" 16144 " time parameters are completely ignored. If\n" 16145 " ifbtime_offset is true, then\n" 16147 " offset2 are completely ignored, and the following broken-down time\n" 16148 " parameters are used to specify the epoch.\n" 16150 " year (PLINT, input) : Year of epoch.\n" 16152 " month (PLINT, input) : Month of epoch in range from 0 (January) to\n" 16153 " 11 (December).\n" 16155 " day (PLINT, input) : Day of epoch in range from 1 to 31.\n" 16157 " hour (PLINT, input) : Hour of epoch in range from 0 to 23\n" 16159 " min (PLINT, input) : Minute of epoch in range from 0 to 59.\n" 16161 " sec (PLFLT, input) : Second of epoch in range from 0. to 60.\n" 16164 { (
char *)
"plcont",
_wrap_plcont, METH_VARARGS, (
char *)
"\n" 16169 " Draws a contour plot of the data in f[\n" 16171 " ny], using the nlevel contour levels specified by clevel. Only the\n" 16172 " region of the matrix from kx to lx and from ky to ly is plotted out\n" 16173 " where all these index ranges are interpreted as one-based for\n" 16174 " historical reasons. A transformation routine pointed to by pltr with\n" 16175 " a generic pointer pltr_data for additional data required by the\n" 16176 " transformation routine is used to map indices within the matrix to the\n" 16177 " world coordinates.\n" 16179 " Redacted form: plcont(f, kx, lx, ky, ly, clevel, pltr, pltr_data)\n" 16180 " where (see above discussion) the pltr, pltr_data callback arguments\n" 16181 " are sometimes replaced by a tr vector with 6 elements; xg and yg\n" 16182 " vectors; or xg and yg matrices.\n" 16184 " This function is used in examples 9, 14, 16, and 22.\n" 16190 "plcont(f, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr, pltr_data)\n" 16194 " f (PLFLT_MATRIX, input) : A matrix containing data to be contoured.\n" 16196 " nx, ny (PLINT, input) : The dimensions of the matrix f.\n" 16198 " kx, lx (PLINT, input) : Range of x indices to consider where 0 <=\n" 16199 " kx-1 < lx-1 < nx. Values of kx and lx are one-based rather than\n" 16200 " zero-based for historical backwards-compatibility reasons.\n" 16202 " ky, ly (PLINT, input) : Range of y indices to consider where 0 <=\n" 16203 " ky-1 < ly-1 < ny. Values of ky and ly are one-based rather than\n" 16204 " zero-based for historical backwards-compatibility reasons.\n" 16206 " clevel (PLFLT_VECTOR, input) : A vector specifying the levels at\n" 16207 " which to draw contours.\n" 16209 " nlevel (PLINT, input) : Number of contour levels to draw.\n" 16211 " pltr (PLTRANSFORM_callback, input) : A callback function that\n" 16212 " defines the transformation between the zero-based indices of the\n" 16213 " matrix f and the world coordinates.For the C case, transformation\n" 16214 " functions are provided in the PLplot library: pltr0 for the\n" 16215 " identity mapping, and pltr1 and pltr2 for arbitrary mappings\n" 16216 " respectively defined by vectors and matrices. In addition, C\n" 16217 " callback routines for the transformation can be supplied by the\n" 16218 " user such as the mypltr function in examples/c/x09c.c which\n" 16219 " provides a general linear transformation between index coordinates\n" 16220 " and world coordinates.For languages other than C you should\n" 16221 " consult the PLplot documentation for the details concerning how\n" 16222 " PLTRANSFORM_callback arguments are interfaced. However, in\n" 16223 " general, a particular pattern of callback-associated arguments\n" 16224 " such as a tr vector with 6 elements; xg and yg vectors; or xg and\n" 16225 " yg matrices are respectively interfaced to a linear-transformation\n" 16226 " routine similar to the above mypltr function; pltr1; and pltr2.\n" 16227 " Furthermore, some of our more sophisticated bindings (see, e.g.,\n" 16228 " the PLplot documentation) support native language callbacks for\n" 16229 " handling index to world-coordinate transformations. Examples of\n" 16230 " these various approaches are given in examples/<language>x09*,\n" 16231 " examples/<language>x16*, examples/<language>x20*,\n" 16232 " examples/<language>x21*, and examples/<language>x22*, for all our\n" 16233 " supported languages.\n" 16235 " pltr_data (PLPointer, input) : Extra parameter to help pass\n" 16236 " information to pltr0, pltr1, pltr2, or whatever callback routine\n" 16237 " that is externally supplied.\n" 16240 { (
char *)
"plctime",
_wrap_plctime, METH_VARARGS, (
char *)
"\n" 16241 "Calculate continuous time from broken-down time for the current stream\n" 16245 " Calculate continuous time, ctime, from broken-down time for the\n" 16246 " current stream. The broken-down\n" 16247 " time is specified by the following parameters: year, month, day, hour,\n" 16248 " min, and sec. This function is the inverse of plbtime.\n" 16250 " The PLplot definition of broken-down time is a calendar time that\n" 16251 " completely ignores all time zone offsets, i.e., it is the user's\n" 16252 " responsibility to apply those offsets (if so desired) before using the\n" 16253 " PLplot time API. By default broken-down time is defined using the\n" 16254 " proleptic Gregorian calendar without the insertion of leap seconds and\n" 16255 " continuous time is defined as the number of seconds since the Unix\n" 16256 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n" 16257 " broken-down and continuous time are possible, see plconfigtime which\n" 16258 " specifies that transformation for the current stream.\n" 16260 " Redacted form: General: plctime(year, month, day, hour, min, sec,\n" 16264 " This function is used in example 29.\n" 16270 "plctime(year, month, day, hour, min, sec, ctime)\n" 16274 " year (PLINT, input) : Input year.\n" 16276 " month (PLINT, input) : Input month in range from 0 (January) to 11\n" 16279 " day (PLINT, input) : Input day in range from 1 to 31.\n" 16281 " hour (PLINT, input) : Input hour in range from 0 to 23\n" 16283 " min (PLINT, input) : Input minute in range from 0 to 59.\n" 16285 " sec (PLFLT, input) : Input second in range from 0. to 60.\n" 16287 " ctime (PLFLT_NC_SCALAR, output) : Returned value of the continuous\n" 16288 " time calculated from the broken-down time specified by the\n" 16289 " previous parameters.\n" 16292 { (
char *)
"plcpstrm",
_wrap_plcpstrm, METH_VARARGS, (
char *)
"\n" 16293 "Copy state parameters from the reference stream to the current stream\n" 16297 " Copies state parameters from the reference stream to the current\n" 16298 " stream. Tell driver interface to map device coordinates unless flags\n" 16301 " This function is used for making save files of selected plots (e.g.\n" 16302 " from the TK driver). After initializing, you can get a copy of the\n" 16303 " current plot to the specified device by switching to this stream and\n" 16304 " issuing a plcpstrm and a plreplot, with calls to plbop and pleop as\n" 16305 " appropriate. The plot buffer must have previously been enabled (done\n" 16306 " automatically by some display drivers, such as X).\n" 16308 " Redacted form: plcpstrm(iplsr, flags)\n" 16310 " This function is used in example 1,20.\n" 16316 "plcpstrm(iplsr, flags)\n" 16320 " iplsr (PLINT, input) : Number of reference stream.\n" 16322 " flags (PLBOOL, input) : If flags is set to true the device\n" 16323 " coordinates are not copied from the reference to current stream.\n" 16326 { (
char *)
"plend",
_wrap_plend, METH_VARARGS, (
char *)
"\n" 16327 "End plotting session\n" 16331 " Ends a plotting session, tidies up all the output files, switches\n" 16332 " interactive devices back into text mode and frees up any memory that\n" 16333 " was allocated. Must be called before end of program.\n" 16335 " By default, PLplot's interactive devices (Xwin, TK, etc.) go into a\n" 16336 " wait state after a call to plend or other functions which trigger the\n" 16337 " end of a plot page. To avoid this, use the plspause function.\n" 16339 " Redacted form: plend()\n" 16341 " This function is used in all of the examples.\n" 16350 { (
char *)
"plend1",
_wrap_plend1, METH_VARARGS, (
char *)
"\n" 16351 "End plotting session for current stream\n" 16355 " Ends a plotting session for the current output stream only. See\n" 16356 " plsstrm for more info.\n" 16358 " Redacted form: plend1()\n" 16360 " This function is used in examples 1 and 20.\n" 16369 { (
char *)
"plenv",
_wrap_plenv, METH_VARARGS, (
char *)
"\n" 16370 "Set up standard window and draw box\n" 16374 " Sets up plotter environment for simple graphs by calling pladv and\n" 16375 " setting up viewport and window to sensible default values. plenv\n" 16376 " leaves a standard margin (left-hand margin of eight character heights,\n" 16377 " and a margin around the other three sides of five character heights)\n" 16378 " around most graphs for axis labels and a title. When these defaults\n" 16379 " are not suitable, use the individual routines plvpas, plvpor, or\n" 16380 " plvasp for setting up the viewport, plwind for defining the window,\n" 16381 " and plbox for drawing the box.\n" 16383 " Redacted form: plenv(xmin, xmax, ymin, ymax, just, axis)\n" 16385 " This function is used in example 1,3,9,13,14,19-22,29.\n" 16391 "plenv(xmin, xmax, ymin, ymax, just, axis)\n" 16395 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n" 16396 " world coordinates).\n" 16398 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n" 16399 " world coordinates).\n" 16401 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n" 16404 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n" 16407 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n" 16408 " scales will not be set, the user must set up the scale before\n" 16409 " calling plenv using plsvpa, plvasp or other.\n" 16410 " 0: the x and y axes are scaled independently to use as much of\n" 16411 " the screen as possible.\n" 16412 " 1: the scales of the x and y axes are made equal.\n" 16413 " 2: the axis of the x and y axes are made equal, and the plot\n" 16414 " box will be square.\n" 16417 " axis (PLINT, input) : Controls drawing of the box around the plot:\n" 16418 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n" 16419 " -1: draw box only.\n" 16420 " 0: draw box, ticks, and numeric tick labels.\n" 16421 " 1: also draw coordinate axes at x=0 and y=0.\n" 16422 " 2: also draw a grid at major tick positions in both\n" 16424 " 3: also draw a grid at minor tick positions in both\n" 16426 " 10: same as 0 except logarithmic x tick marks. (The x data\n" 16427 " have to be converted to logarithms separately.)\n" 16428 " 11: same as 1 except logarithmic x tick marks. (The x data\n" 16429 " have to be converted to logarithms separately.)\n" 16430 " 12: same as 2 except logarithmic x tick marks. (The x data\n" 16431 " have to be converted to logarithms separately.)\n" 16432 " 13: same as 3 except logarithmic x tick marks. (The x data\n" 16433 " have to be converted to logarithms separately.)\n" 16434 " 20: same as 0 except logarithmic y tick marks. (The y data\n" 16435 " have to be converted to logarithms separately.)\n" 16436 " 21: same as 1 except logarithmic y tick marks. (The y data\n" 16437 " have to be converted to logarithms separately.)\n" 16438 " 22: same as 2 except logarithmic y tick marks. (The y data\n" 16439 " have to be converted to logarithms separately.)\n" 16440 " 23: same as 3 except logarithmic y tick marks. (The y data\n" 16441 " have to be converted to logarithms separately.)\n" 16442 " 30: same as 0 except logarithmic x and y tick marks. (The x\n" 16443 " and y data have to be converted to logarithms separately.)\n" 16444 " 31: same as 1 except logarithmic x and y tick marks. (The x\n" 16445 " and y data have to be converted to logarithms separately.)\n" 16446 " 32: same as 2 except logarithmic x and y tick marks. (The x\n" 16447 " and y data have to be converted to logarithms separately.)\n" 16448 " 33: same as 3 except logarithmic x and y tick marks. (The x\n" 16449 " and y data have to be converted to logarithms separately.)\n" 16450 " 40: same as 0 except date / time x labels.\n" 16451 " 41: same as 1 except date / time x labels.\n" 16452 " 42: same as 2 except date / time x labels.\n" 16453 " 43: same as 3 except date / time x labels.\n" 16454 " 50: same as 0 except date / time y labels.\n" 16455 " 51: same as 1 except date / time y labels.\n" 16456 " 52: same as 2 except date / time y labels.\n" 16457 " 53: same as 3 except date / time y labels.\n" 16458 " 60: same as 0 except date / time x and y labels.\n" 16459 " 61: same as 1 except date / time x and y labels.\n" 16460 " 62: same as 2 except date / time x and y labels.\n" 16461 " 63: same as 3 except date / time x and y labels.\n" 16462 " 70: same as 0 except custom x and y labels.\n" 16463 " 71: same as 1 except custom x and y labels.\n" 16464 " 72: same as 2 except custom x and y labels.\n" 16465 " 73: same as 3 except custom x and y labels.\n" 16468 { (
char *)
"plenv0",
_wrap_plenv0, METH_VARARGS, (
char *)
"\n" 16469 "Same as plenv but if in multiplot mode does not advance the subpage, instead clears it\n" 16473 " Sets up plotter environment for simple graphs by calling pladv and\n" 16474 " setting up viewport and window to sensible default values. plenv0\n" 16475 " leaves a standard margin (left-hand margin of eight character heights,\n" 16476 " and a margin around the other three sides of five character heights)\n" 16477 " around most graphs for axis labels and a title. When these defaults\n" 16478 " are not suitable, use the individual routines plvpas, plvpor, or\n" 16479 " plvasp for setting up the viewport, plwind for defining the window,\n" 16480 " and plbox for drawing the box.\n" 16482 " Redacted form: plenv0(xmin, xmax, ymin, ymax, just, axis)\n" 16484 " This function is used in example 21.\n" 16490 "plenv0(xmin, xmax, ymin, ymax, just, axis)\n" 16494 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n" 16495 " world coordinates).\n" 16497 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n" 16498 " world coordinates).\n" 16500 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n" 16503 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n" 16506 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n" 16507 " scales will not be set, the user must set up the scale before\n" 16508 " calling plenv0 using plsvpa, plvasp or other.\n" 16509 " 0: the x and y axes are scaled independently to use as much of\n" 16510 " the screen as possible.\n" 16511 " 1: the scales of the x and y axes are made equal.\n" 16512 " 2: the axis of the x and y axes are made equal, and the plot\n" 16513 " box will be square.\n" 16516 " axis (PLINT, input) : Controls drawing of the box around the plot:\n" 16517 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n" 16518 " -1: draw box only.\n" 16519 " 0: draw box, ticks, and numeric tick labels.\n" 16520 " 1: also draw coordinate axes at x=0 and y=0.\n" 16521 " 2: also draw a grid at major tick positions in both\n" 16523 " 3: also draw a grid at minor tick positions in both\n" 16525 " 10: same as 0 except logarithmic x tick marks. (The x data\n" 16526 " have to be converted to logarithms separately.)\n" 16527 " 11: same as 1 except logarithmic x tick marks. (The x data\n" 16528 " have to be converted to logarithms separately.)\n" 16529 " 12: same as 2 except logarithmic x tick marks. (The x data\n" 16530 " have to be converted to logarithms separately.)\n" 16531 " 13: same as 3 except logarithmic x tick marks. (The x data\n" 16532 " have to be converted to logarithms separately.)\n" 16533 " 20: same as 0 except logarithmic y tick marks. (The y data\n" 16534 " have to be converted to logarithms separately.)\n" 16535 " 21: same as 1 except logarithmic y tick marks. (The y data\n" 16536 " have to be converted to logarithms separately.)\n" 16537 " 22: same as 2 except logarithmic y tick marks. (The y data\n" 16538 " have to be converted to logarithms separately.)\n" 16539 " 23: same as 3 except logarithmic y tick marks. (The y data\n" 16540 " have to be converted to logarithms separately.)\n" 16541 " 30: same as 0 except logarithmic x and y tick marks. (The x\n" 16542 " and y data have to be converted to logarithms separately.)\n" 16543 " 31: same as 1 except logarithmic x and y tick marks. (The x\n" 16544 " and y data have to be converted to logarithms separately.)\n" 16545 " 32: same as 2 except logarithmic x and y tick marks. (The x\n" 16546 " and y data have to be converted to logarithms separately.)\n" 16547 " 33: same as 3 except logarithmic x and y tick marks. (The x\n" 16548 " and y data have to be converted to logarithms separately.)\n" 16549 " 40: same as 0 except date / time x labels.\n" 16550 " 41: same as 1 except date / time x labels.\n" 16551 " 42: same as 2 except date / time x labels.\n" 16552 " 43: same as 3 except date / time x labels.\n" 16553 " 50: same as 0 except date / time y labels.\n" 16554 " 51: same as 1 except date / time y labels.\n" 16555 " 52: same as 2 except date / time y labels.\n" 16556 " 53: same as 3 except date / time y labels.\n" 16557 " 60: same as 0 except date / time x and y labels.\n" 16558 " 61: same as 1 except date / time x and y labels.\n" 16559 " 62: same as 2 except date / time x and y labels.\n" 16560 " 63: same as 3 except date / time x and y labels.\n" 16561 " 70: same as 0 except custom x and y labels.\n" 16562 " 71: same as 1 except custom x and y labels.\n" 16563 " 72: same as 2 except custom x and y labels.\n" 16564 " 73: same as 3 except custom x and y labels.\n" 16567 { (
char *)
"pleop",
_wrap_pleop, METH_VARARGS, (
char *)
"\n" 16568 "Eject current page\n" 16572 " Clears the graphics screen of an interactive device, or ejects a page\n" 16573 " on a plotter. See plbop for more information.\n" 16575 " Redacted form: pleop()\n" 16577 " This function is used in example 2,14.\n" 16586 { (
char *)
"plerrx",
_wrap_plerrx, METH_VARARGS, (
char *)
"\n" 16587 "Draw error bars in x direction\n" 16591 " Draws a set of n error bars in x direction, the i'th error bar\n" 16592 " extending from xmin[i] to xmax[i] at y coordinate y[i]. The terminals\n" 16593 " of the error bars are of length equal to the minor tick length\n" 16594 " (settable using plsmin).\n" 16596 " Redacted form: General: plerrx(xmin, ymax, y)\n" 16599 " This function is used in example 29.\n" 16605 "plerrx(n, xmin, xmax, y)\n" 16609 " n (PLINT, input) : Number of error bars to draw.\n" 16611 " xmin (PLFLT_VECTOR, input) : A vector containing the x coordinates\n" 16612 " of the left-hand endpoints of the error bars.\n" 16614 " xmax (PLFLT_VECTOR, input) : A vector containing the x coordinates\n" 16615 " of the right-hand endpoints of the error bars.\n" 16617 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 16618 " the error bars.\n" 16621 { (
char *)
"plerry",
_wrap_plerry, METH_VARARGS, (
char *)
"\n" 16622 "Draw error bars in the y direction\n" 16626 " Draws a set of n error bars in the y direction, the i'th error bar\n" 16627 " extending from ymin[i] to ymax[i] at x coordinate x[i]. The terminals\n" 16628 " of the error bars are of length equal to the minor tick length\n" 16629 " (settable using plsmin).\n" 16631 " Redacted form: General: plerry(x, ymin, ymax)\n" 16634 " This function is used in example 29.\n" 16640 "plerry(n, x, ymin, ymax)\n" 16644 " n (PLINT, input) : Number of error bars to draw.\n" 16646 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 16647 " the error bars.\n" 16649 " ymin (PLFLT_VECTOR, input) : A vector containing the y coordinates\n" 16650 " of the lower endpoints of the error bars.\n" 16652 " ymax (PLFLT_VECTOR, input) : A vector containing the y coordinates\n" 16653 " of the upper endpoints of the error bars.\n" 16656 { (
char *)
"plfamadv",
_wrap_plfamadv, METH_VARARGS, (
char *)
"\n" 16657 "Advance to the next family file on the next new page\n" 16661 " Advance to the next family file on the next new page.\n" 16663 " Redacted form: plfamadv()\n" 16665 " This function is not used in any examples.\n" 16674 { (
char *)
"plfill",
_wrap_plfill, METH_VARARGS, (
char *)
"\n" 16675 "Draw filled polygon\n" 16679 " Fills the polygon defined by the n points (\n" 16681 " y[i]) using the pattern defined by plpsty or plpat. The default fill\n" 16682 " style is a solid fill. The routine will automatically close the\n" 16683 " polygon between the last and first vertices. If multiple closed\n" 16684 " polygons are passed in x and y then plfill will fill in between them.\n" 16686 " Redacted form: plfill(x,y)\n" 16688 " This function is used in examples 12, 13, 15, 16, 21, 24, and 25.\n" 16694 "plfill(n, x, y)\n" 16698 " n (PLINT, input) : Number of vertices in polygon.\n" 16700 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 16703 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 16707 { (
char *)
"plfill3",
_wrap_plfill3, METH_VARARGS, (
char *)
"\n" 16708 "Draw filled polygon in 3D\n" 16712 " Fills the 3D polygon defined by the n points in the x, y, and z\n" 16713 " vectors using the pattern defined by plpsty or plpat. The routine\n" 16714 " will automatically close the polygon between the last and first\n" 16715 " vertices. If multiple closed polygons are passed in x, y, and z then\n" 16716 " plfill3 will fill in between them.\n" 16718 " Redacted form: General: plfill3(x, y, z)\n" 16721 " This function is used in example 15.\n" 16727 "plfill3(n, x, y, z)\n" 16731 " n (PLINT, input) : Number of vertices in polygon.\n" 16733 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 16736 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 16739 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n" 16744 "Draw linear gradient inside polygon\n" 16748 " Draw a linear gradient using cmap1 inside the polygon defined by the n\n" 16751 " y[i]). Interpretation of the polygon is the same as for plfill. The\n" 16752 " polygon coordinates and the gradient angle are all expressed in world\n" 16753 " coordinates. The angle from the x axis for both the rotated\n" 16754 " coordinate system and the gradient vector is specified by angle. The\n" 16755 " magnitude of the gradient vector is the difference between the maximum\n" 16756 " and minimum values of x for the vertices in the rotated coordinate\n" 16757 " system. The origin of the gradient vector can be interpreted as being\n" 16758 " anywhere on the line corresponding to the minimum x value for the\n" 16759 " vertices in the rotated coordinate system. The distance along the\n" 16760 " gradient vector is linearly transformed to the independent variable of\n" 16761 " color map 1 which ranges from 0. at the tail of the gradient vector to\n" 16762 " 1. at the head of the gradient vector. What is drawn is the RGBA\n" 16763 " color corresponding to the independent variable of cmap1. For more\n" 16764 " information about cmap1 (see the PLplot documentation).\n" 16766 " Redacted form: plgradient(x,y,angle)\n" 16768 " This function is used in examples 25 and 30.\n" 16774 "plgradient(n, x, y, angle)\n" 16778 " n (PLINT, input) : Number of vertices in polygon.\n" 16780 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 16783 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 16786 " angle (PLFLT, input) : Angle (degrees) of gradient vector from x\n" 16790 { (
char *)
"plflush",
_wrap_plflush, METH_VARARGS, (
char *)
"\n" 16791 "Flushes the output stream\n" 16795 " Flushes the output stream. Use sparingly, if at all.\n" 16797 " Redacted form: plflush()\n" 16799 " This function is used in examples 1 and 14.\n" 16808 { (
char *)
"plfont",
_wrap_plfont, METH_VARARGS, (
char *)
"\n" 16813 " Sets the font used for subsequent text and symbols. For devices that\n" 16814 " still use Hershey fonts this routine has no effect unless the Hershey\n" 16815 " fonts with extended character set are loaded (see plfontld). For\n" 16816 " unicode-aware devices that use system fonts instead of Hershey fonts,\n" 16817 " this routine calls the plsfci routine with argument set up\n" 16818 " appropriately for the various cases below. However, this method of\n" 16819 " specifying the font for unicode-aware devices is deprecated, and the\n" 16820 " much more flexible method of calling plsfont directly is recommended\n" 16821 " instead (where plsfont provides a user-friendly interface to plsfci),\n" 16823 " Redacted form: plfont(ifont)\n" 16825 " This function is used in examples 1, 2, 4, 7, 13, 24, and 26.\n" 16835 " ifont (PLINT, input) : Specifies the font: 1: Sans serif font\n" 16836 " (simplest and fastest)\n" 16838 " 3: Italic font\n" 16839 " 4: Script font\n" 16842 { (
char *)
"plfontld",
_wrap_plfontld, METH_VARARGS, (
char *)
"\n" 16843 "Load Hershey fonts\n" 16847 " Loads the Hershey fonts used for text and symbols. This routine may\n" 16848 " be called before or after initializing PLplot. If not explicitly\n" 16849 " called before PLplot initialization, then by default that\n" 16850 " initialization loads Hershey fonts with the extended character set.\n" 16851 " This routine only has a practical effect for devices that still use\n" 16852 " Hershey fonts (as opposed to modern devices that use unicode-aware\n" 16853 " system fonts instead of Hershey fonts).\n" 16855 " Redacted form: plfontld(fnt)\n" 16857 " This function is used in examples 1 and 7.\n" 16867 " fnt (PLINT, input) : Specifies the type of Hershey fonts to load.\n" 16868 " A zero value specifies Hershey fonts with the standard character\n" 16869 " set and a non-zero value (the default assumed if plfontld is never\n" 16870 " called) specifies Hershey fonts with the extended character set.\n" 16873 { (
char *)
"plgchr",
_wrap_plgchr, METH_VARARGS, (
char *)
"\n" 16874 "Get character default height and current (scaled) height\n" 16878 " Get character default height and current (scaled) height.\n" 16880 " Redacted form: plgchr(p_def, p_ht)\n" 16882 " This function is used in example 23.\n" 16888 "plgchr(p_def, p_ht)\n" 16892 " p_def (PLFLT_NC_SCALAR, output) : Returned value of the default\n" 16893 " character height (mm).\n" 16895 " p_ht (PLFLT_NC_SCALAR, output) : Returned value of the scaled\n" 16896 " character height (mm).\n" 16899 { (
char *)
"plgcol0",
_wrap_plgcol0, METH_VARARGS, (
char *)
"\n" 16900 "Returns 8-bit RGB values for given color index from cmap0\n" 16904 " Returns 8-bit RGB values (0-255) for given color from cmap0 (see the\n" 16905 " PLplot documentation). Values are negative if an invalid color id is\n" 16908 " Redacted form: plgcol0(icol0, r, g, b)\n" 16910 " This function is used in example 2.\n" 16916 "plgcol0(icol0, r, g, b)\n" 16920 " icol0 (PLINT, input) : Index of desired cmap0 color.\n" 16922 " r (PLINT_NC_SCALAR, output) : Returned value of the 8-bit red\n" 16925 " g (PLINT_NC_SCALAR, output) : Returned value of the 8-bit green\n" 16928 " b (PLINT_NC_SCALAR, output) : Returned value of the 8-bit blue\n" 16932 { (
char *)
"plgcol0a",
_wrap_plgcol0a, METH_VARARGS, (
char *)
"\n" 16933 "Returns 8-bit RGB values and PLFLT alpha transparency value for given color index from cmap0\n" 16937 " Returns 8-bit RGB values (0-255) and PLFLT alpha transparency value\n" 16938 " (0.0-1.0) for given color from cmap0 (see the PLplot documentation).\n" 16939 " Values are negative if an invalid color id is given.\n" 16941 " Redacted form: plgcola(r, g, b)\n" 16943 " This function is used in example 30.\n" 16949 "plgcol0a(icol0, r, g, b, alpha)\n" 16953 " icol0 (PLINT, input) : Index of desired cmap0 color.\n" 16955 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n" 16956 " in the range from 0 to 255.\n" 16958 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n" 16959 " in the range from 0 to 255.\n" 16961 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n" 16962 " in the range from 0 to 255.\n" 16964 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n" 16965 " transparency in the range from (0.0-1.0).\n" 16968 { (
char *)
"plgcolbg",
_wrap_plgcolbg, METH_VARARGS, (
char *)
"\n" 16969 "Returns the background color (cmap0[0]) by 8-bit RGB value\n" 16973 " Returns the background color (cmap0[0]) by 8-bit RGB value.\n" 16975 " Redacted form: plgcolbg(r, g, b)\n" 16977 " This function is used in example 31.\n" 16983 "plgcolbg(r, g, b)\n" 16987 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n" 16988 " in the range from 0 to 255.\n" 16990 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n" 16991 " in the range from 0 to 255.\n" 16993 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n" 16994 " in the range from 0 to 255.\n" 16998 "Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT alpha transparency value\n" 17002 " Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT\n" 17003 " alpha transparency value.\n" 17005 " This function is used in example 31.\n" 17011 "plgcolbga(r, g, b, alpha)\n" 17015 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n" 17016 " in the range from 0 to 255.\n" 17018 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n" 17019 " in the range from 0 to 255.\n" 17021 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n" 17022 " in the range from 0 to 255.\n" 17024 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n" 17025 " transparency in the range (0.0-1.0).\n" 17029 "Get the current device-compression setting\n" 17033 " Get the current device-compression setting. This parameter is only\n" 17034 " used for drivers that provide compression.\n" 17036 " Redacted form: plgcompression(compression)\n" 17038 " This function is used in example 31.\n" 17044 "plgcompression(compression)\n" 17048 " compression (PLINT_NC_SCALAR, output) : Returned value of the\n" 17049 " compression setting for the current device.\n" 17052 { (
char *)
"plgdev",
_wrap_plgdev, METH_VARARGS, (
char *)
"\n" 17053 "Get the current device (keyword) name\n" 17057 " Get the current device (keyword) name. Note: you must have allocated\n" 17058 " space for this (80 characters is safe).\n" 17060 " Redacted form: plgdev(p_dev)\n" 17062 " This function is used in example 14.\n" 17072 " p_dev (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n" 17073 " (with preallocated length of 80 characters or more) containing the\n" 17074 " device (keyword) name.\n" 17077 { (
char *)
"plgdidev",
_wrap_plgdidev, METH_VARARGS, (
char *)
"\n" 17078 "Get parameters that define current device-space window\n" 17082 " Get relative margin width, aspect ratio, and relative justification\n" 17083 " that define current device-space window. If plsdidev has not been\n" 17084 " called the default values pointed to by p_mar, p_aspect, p_jx, and\n" 17085 " p_jy will all be 0.\n" 17087 " Redacted form: plgdidev(p_mar, p_aspect, p_jx, p_jy)\n" 17089 " This function is used in example 31.\n" 17095 "plgdidev(p_mar, p_aspect, p_jx, p_jy)\n" 17099 " p_mar (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17102 " p_aspect (PLFLT_NC_SCALAR, output) : Returned value of the aspect\n" 17105 " p_jx (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17106 " justification in x.\n" 17108 " p_jy (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17109 " justification in y.\n" 17112 { (
char *)
"plgdiori",
_wrap_plgdiori, METH_VARARGS, (
char *)
"\n" 17113 "Get plot orientation\n" 17117 " Get plot orientation parameter which is multiplied by 90 degrees to\n" 17118 " obtain the angle of rotation. Note, arbitrary rotation parameters\n" 17119 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n" 17120 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n" 17121 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n" 17122 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori has\n" 17123 " not been called the default value pointed to by p_rot will be 0.\n" 17125 " Redacted form: plgdiori(p_rot)\n" 17127 " This function is not used in any examples.\n" 17133 "plgdiori(p_rot)\n" 17137 " p_rot (PLFLT_NC_SCALAR, output) : Returned value of the orientation\n" 17141 { (
char *)
"plgdiplt",
_wrap_plgdiplt, METH_VARARGS, (
char *)
"\n" 17142 "Get parameters that define current plot-space window\n" 17146 " Get relative minima and maxima that define current plot-space window.\n" 17147 " If plsdiplt has not been called the default values pointed to by\n" 17148 " p_xmin, p_ymin, p_xmax, and p_ymax will be 0., 0., 1., and 1.\n" 17150 " Redacted form: plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n" 17152 " This function is used in example 31.\n" 17158 "plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n" 17162 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17165 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17168 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17171 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17175 { (
char *)
"plgfam",
_wrap_plgfam, METH_VARARGS, (
char *)
"\n" 17176 "Get family file parameters\n" 17180 " Gets information about current family file, if familying is enabled.\n" 17181 " See the PLplot documentation for more information.\n" 17183 " Redacted form: plgfam(p_fam, p_num, p_bmax)\n" 17185 " This function is used in examples 14 and 31.\n" 17191 "plgfam(p_fam, p_num, p_bmax)\n" 17195 " p_fam (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17196 " family flag value. If nonzero, familying is enabled for the\n" 17197 " current device.\n" 17199 " p_num (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17200 " family file number.\n" 17202 " p_bmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n" 17203 " file size (in bytes) for a family file.\n" 17206 { (
char *)
"plgfci",
_wrap_plgfci, METH_VARARGS, (
char *)
"\n" 17207 "Get FCI (font characterization integer)\n" 17211 " Gets information about the current font using the FCI approach. See\n" 17212 " the PLplot documentation for more information.\n" 17214 " Redacted form: plgfci(p_fci)\n" 17216 " This function is used in example 23.\n" 17226 " p_fci (PLUNICODE_NC_SCALAR, output) : Returned value of the current\n" 17230 { (
char *)
"plgfnam",
_wrap_plgfnam, METH_VARARGS, (
char *)
"\n" 17231 "Get output file name\n" 17235 " Gets the current output file name, if applicable.\n" 17237 " Redacted form: plgfnam(fnam)\n" 17239 " This function is used in example 31.\n" 17249 " fnam (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n" 17250 " (with preallocated length of 80 characters or more) containing the\n" 17254 { (
char *)
"plgfont",
_wrap_plgfont, METH_VARARGS, (
char *)
"\n" 17255 "Get family, style and weight of the current font\n" 17259 " Gets information about current font. See the PLplot documentation for\n" 17260 " more information on font selection.\n" 17262 " Redacted form: plgfont(p_family, p_style, p_weight)\n" 17264 " This function is used in example 23.\n" 17270 "plgfont(p_family, p_style, p_weight)\n" 17274 " p_family (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17275 " font family. The available values are given by the PL_FCI_*\n" 17276 " constants in plplot.h. Current options are PL_FCI_SANS,\n" 17277 " PL_FCI_SERIF, PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. If\n" 17278 " p_family is NULL then the font family is not returned.\n" 17280 " p_style (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17281 " font style. The available values are given by the PL_FCI_*\n" 17282 " constants in plplot.h. Current options are PL_FCI_UPRIGHT,\n" 17283 " PL_FCI_ITALIC and PL_FCI_OBLIQUE. If p_style is NULL then the font\n" 17284 " style is not returned.\n" 17286 " p_weight (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17287 " font weight. The available values are given by the PL_FCI_*\n" 17288 " constants in plplot.h. Current options are PL_FCI_MEDIUM and\n" 17289 " PL_FCI_BOLD. If p_weight is NULL then the font weight is not\n" 17293 { (
char *)
"plglevel",
_wrap_plglevel, METH_VARARGS, (
char *)
"\n" 17294 "Get the (current) run level\n" 17298 " Get the (current) run level. Valid settings are: 0, uninitialized\n" 17299 " 1, initialized\n" 17300 " 2, viewport defined\n" 17301 " 3, world coordinates defined\n" 17304 " Redacted form: plglevel(p_level)\n" 17306 " This function is used in example 31.\n" 17312 "plglevel(p_level)\n" 17316 " p_level (PLINT_NC_SCALAR, output) : Returned value of the run\n" 17320 { (
char *)
"plgpage",
_wrap_plgpage, METH_VARARGS, (
char *)
"\n" 17321 "Get page parameters\n" 17325 " Gets the current page configuration. The length and offset values are\n" 17326 " expressed in units that are specific to the current driver. For\n" 17327 " instance: screen drivers will usually interpret them as number of\n" 17328 " pixels, whereas printer drivers will usually use mm.\n" 17330 " Redacted form: plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n" 17332 " This function is used in examples 14 and 31.\n" 17338 "plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n" 17342 " p_xp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n" 17343 " pixels/inch (DPI) in x.\n" 17345 " p_yp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n" 17346 " pixels/inch (DPI) in y.\n" 17348 " p_xleng (PLINT_NC_SCALAR, output) : Returned value of the x page\n" 17351 " p_yleng (PLINT_NC_SCALAR, output) : Returned value of the y page\n" 17354 " p_xoff (PLINT_NC_SCALAR, output) : Returned value of the x page\n" 17357 " p_yoff (PLINT_NC_SCALAR, output) : Returned value of the y page\n" 17361 { (
char *)
"plgra",
_wrap_plgra, METH_VARARGS, (
char *)
"\n" 17362 "Switch to graphics screen\n" 17366 " Sets an interactive device to graphics mode, used in conjunction with\n" 17367 " pltext to allow graphics and text to be interspersed. On a device\n" 17368 " which supports separate text and graphics windows, this command causes\n" 17369 " control to be switched to the graphics window. If already in graphics\n" 17370 " mode, this command is ignored. It is also ignored on devices which\n" 17371 " only support a single window or use a different method for shifting\n" 17372 " focus. See also pltext.\n" 17374 " Redacted form: plgra()\n" 17376 " This function is used in example 1.\n" 17386 "Grid data from irregularly sampled data\n" 17390 " Real world data is frequently irregularly sampled, but PLplot 3D plots\n" 17391 " require data organized as a grid, i.e., with x sample point values\n" 17392 " independent of y coordinate and vice versa. This function takes\n" 17393 " irregularly sampled data from the x[npts], y[npts], and z[npts]\n" 17394 " vectors; reads the desired grid location from the input vectors\n" 17395 " xg[nptsx] and yg[nptsy]; and returns the interpolated result on that\n" 17396 " grid using the output matrix zg[nptsx][nptsy]. The algorithm used to\n" 17397 " interpolate the data to the grid is specified with the argument type\n" 17398 " which can have one parameter specified in argument data.\n" 17400 " Redacted form: General: plgriddata(x, y, z, xg, yg, zg, type, data)\n" 17401 " Python: zg=plgriddata(x, y, z, xg, yg, type, data)\n" 17404 " This function is used in example 21.\n" 17410 "plgriddata(x, y, z, npts, xg, nptsx, yg, nptsy, zg, type, data)\n" 17414 " x (PLFLT_VECTOR, input) : The input x vector.\n" 17416 " y (PLFLT_VECTOR, input) : The input y vector.\n" 17418 " z (PLFLT_VECTOR, input) : The input z vector. Each triple x[i],\n" 17419 " y[i], z[i] represents one data sample coordinate.\n" 17421 " npts (PLINT, input) : The number of data samples in the x, y and z\n" 17424 " xg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n" 17425 " in the x direction. Usually xg has nptsx equally spaced values\n" 17426 " from the minimum to the maximum values of the x input vector.\n" 17428 " nptsx (PLINT, input) : The number of points in the xg vector.\n" 17430 " yg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n" 17431 " in the y direction. Similar to the xg parameter.\n" 17433 " nptsy (PLINT, input) : The number of points in the yg vector.\n" 17435 " zg (PLFLT_NC_MATRIX, output) : The matrix of interpolated results\n" 17436 " where data lies in the grid specified by xg and yg. Therefore the\n" 17437 " zg matrix must be dimensioned\n" 17441 " type (PLINT, input) : The type of grid interpolation algorithm to\n" 17442 " use, which can be: GRID_CSA: Bivariate Cubic Spline approximation\n" 17443 " GRID_DTLI: Delaunay Triangulation Linear Interpolation\n" 17444 " GRID_NNI: Natural Neighbors Interpolation\n" 17445 " GRID_NNIDW: Nearest Neighbors Inverse Distance Weighted\n" 17446 " GRID_NNLI: Nearest Neighbors Linear Interpolation\n" 17447 " GRID_NNAIDW: Nearest Neighbors Around Inverse Distance\n" 17449 " For details of the algorithms read the source file plgridd.c.\n" 17451 " data (PLFLT, input) : Some gridding algorithms require extra data,\n" 17452 " which can be specified through this argument. Currently, for\n" 17453 " algorithm: GRID_NNIDW, data specifies the number of neighbors to\n" 17454 " use, the lower the value, the noisier (more local) the\n" 17455 " approximation is.\n" 17456 " GRID_NNLI, data specifies what a thin triangle is, in the\n" 17457 " range [1. .. 2.]. High values enable the usage of very thin\n" 17458 " triangles for interpolation, possibly resulting in error in\n" 17459 " the approximation.\n" 17460 " GRID_NNI, only weights greater than data will be accepted. If\n" 17461 " 0, all weights will be accepted.\n" 17464 { (
char *)
"plgspa",
_wrap_plgspa, METH_VARARGS, (
char *)
"\n" 17465 "Get current subpage parameters\n" 17469 " Gets the size of the current subpage in millimeters measured from the\n" 17470 " bottom left hand corner of the output device page or screen. Can be\n" 17471 " used in conjunction with plsvpa for setting the size of a viewport in\n" 17472 " absolute coordinates (millimeters).\n" 17474 " Redacted form: plgspa(xmin, xmax, ymin, ymax)\n" 17476 " This function is used in example 23.\n" 17482 "plgspa(xmin, xmax, ymin, ymax)\n" 17486 " xmin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n" 17487 " the left hand edge of the subpage in millimeters.\n" 17489 " xmax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n" 17490 " the right hand edge of the subpage in millimeters.\n" 17492 " ymin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n" 17493 " the bottom edge of the subpage in millimeters.\n" 17495 " ymax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n" 17496 " the top edge of the subpage in millimeters.\n" 17499 { (
char *)
"plgstrm",
_wrap_plgstrm, METH_VARARGS, (
char *)
"\n" 17500 "Get current stream number\n" 17504 " Gets the number of the current output stream. See also plsstrm.\n" 17506 " Redacted form: plgstrm(p_strm)\n" 17508 " This function is used in example 1,20.\n" 17514 "plgstrm(p_strm)\n" 17518 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17522 { (
char *)
"plgver",
_wrap_plgver, METH_VARARGS, (
char *)
"\n" 17523 "Get the current library version number\n" 17527 " Get the current library version number. Note: you must have allocated\n" 17528 " space for this (80 characters is safe).\n" 17530 " Redacted form: plgver(p_ver)\n" 17532 " This function is used in example 1.\n" 17542 " p_ver (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n" 17543 " (with preallocated length of 80 characters or more) containing the\n" 17544 " PLplot version number.\n" 17547 { (
char *)
"plgvpd",
_wrap_plgvpd, METH_VARARGS, (
char *)
"\n" 17548 "Get viewport limits in normalized device coordinates\n" 17552 " Get viewport limits in normalized device coordinates.\n" 17554 " Redacted form: General: plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n" 17557 " This function is used in example 31.\n" 17563 "plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n" 17567 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n" 17568 " viewport limit of the normalized device coordinate in x.\n" 17570 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n" 17571 " viewport limit of the normalized device coordinate in x.\n" 17573 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n" 17574 " viewport limit of the normalized device coordinate in y.\n" 17576 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n" 17577 " viewport limit of the normalized device coordinate in y.\n" 17580 { (
char *)
"plgvpw",
_wrap_plgvpw, METH_VARARGS, (
char *)
"\n" 17581 "Get viewport limits in world coordinates\n" 17585 " Get viewport limits in world coordinates.\n" 17587 " Redacted form: General: plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n" 17590 " This function is used in example 31.\n" 17596 "plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n" 17600 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n" 17601 " viewport limit of the world coordinate in x.\n" 17603 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n" 17604 " viewport limit of the world coordinate in x.\n" 17606 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n" 17607 " viewport limit of the world coordinate in y.\n" 17609 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n" 17610 " viewport limit of the world coordinate in y.\n" 17613 { (
char *)
"plgxax",
_wrap_plgxax, METH_VARARGS, (
char *)
"\n" 17614 "Get x axis parameters\n" 17618 " Returns current values of the p_digmax and p_digits flags for the x\n" 17619 " axis. p_digits is updated after the plot is drawn, so this routine\n" 17620 " should only be called after the call to plbox (or plbox3) is complete.\n" 17621 " See the PLplot documentation for more information.\n" 17623 " Redacted form: plgxax(p_digmax, p_digits)\n" 17625 " This function is used in example 31.\n" 17631 "plgxax(p_digmax, p_digits)\n" 17635 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n" 17636 " number of digits for the x axis. If nonzero, the printed label\n" 17637 " has been switched to a floating-point representation when the\n" 17638 " number of digits exceeds this value.\n" 17640 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n" 17641 " number of digits for the numeric labels (x axis) from the last\n" 17645 { (
char *)
"plgyax",
_wrap_plgyax, METH_VARARGS, (
char *)
"\n" 17646 "Get y axis parameters\n" 17650 " Identical to plgxax, except that arguments are flags for y axis. See\n" 17651 " the description of plgxax for more detail.\n" 17653 " Redacted form: plgyax(p_digmax, p_digits)\n" 17655 " This function is used in example 31.\n" 17661 "plgyax(p_digmax, p_digits)\n" 17665 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n" 17666 " number of digits for the y axis. If nonzero, the printed label\n" 17667 " has been switched to a floating-point representation when the\n" 17668 " number of digits exceeds this value.\n" 17670 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n" 17671 " number of digits for the numeric labels (y axis) from the last\n" 17675 { (
char *)
"plgzax",
_wrap_plgzax, METH_VARARGS, (
char *)
"\n" 17676 "Get z axis parameters\n" 17680 " Identical to plgxax, except that arguments are flags for z axis. See\n" 17681 " the description of plgxax for more detail.\n" 17683 " Redacted form: plgzax(p_digmax, p_digits)\n" 17685 " This function is used in example 31.\n" 17691 "plgzax(p_digmax, p_digits)\n" 17695 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n" 17696 " number of digits for the z axis. If nonzero, the printed label\n" 17697 " has been switched to a floating-point representation when the\n" 17698 " number of digits exceeds this value.\n" 17700 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n" 17701 " number of digits for the numeric labels (z axis) from the last\n" 17705 { (
char *)
"plhist",
_wrap_plhist, METH_VARARGS, (
char *)
"\n" 17706 "Plot a histogram from unbinned data\n" 17710 " Plots a histogram from n data points stored in the data vector. This\n" 17711 " routine bins the data into nbin bins equally spaced between datmin and\n" 17712 " datmax, and calls plbin to draw the resulting histogram. Parameter\n" 17713 " opt allows, among other things, the histogram either to be plotted in\n" 17714 " an existing window or causes plhist to call plenv with suitable limits\n" 17715 " before plotting the histogram.\n" 17717 " Redacted form: plhist(data, datmin, datmax, nbin, opt)\n" 17719 " This function is used in example 5.\n" 17725 "plhist(n, data, datmin, datmax, nbin, opt)\n" 17729 " n (PLINT, input) : Number of data points.\n" 17731 " data (PLFLT_VECTOR, input) : A vector containing the values of the\n" 17732 " n data points.\n" 17734 " datmin (PLFLT, input) : Left-hand edge of lowest-valued bin.\n" 17736 " datmax (PLFLT, input) : Right-hand edge of highest-valued bin.\n" 17738 " nbin (PLINT, input) : Number of (equal-sized) bins into which to\n" 17739 " divide the interval xmin to xmax.\n" 17741 " opt (PLINT, input) : Is a combination of several flags:\n" 17742 " opt=PL_HIST_DEFAULT: The axes are automatically rescaled to fit\n" 17743 " the histogram data, the outer bins are expanded to fill up the\n" 17744 " entire x-axis, data outside the given extremes are assigned to the\n" 17745 " outer bins and bins of zero height are simply drawn.\n" 17746 " opt=PL_HIST_NOSCALING|...: The existing axes are not rescaled\n" 17747 " to fit the histogram data, without this flag, plenv is called\n" 17748 " to set the world coordinates.\n" 17749 " opt=PL_HIST_IGNORE_OUTLIERS|...: Data outside the given\n" 17750 " extremes are not taken into account. This option should\n" 17751 " probably be combined with opt=PL_HIST_NOEXPAND|..., so as to\n" 17752 " properly present the data.\n" 17753 " opt=PL_HIST_NOEXPAND|...: The outer bins are drawn with equal\n" 17754 " size as the ones inside.\n" 17755 " opt=PL_HIST_NOEMPTY|...: Bins with zero height are not drawn\n" 17756 " (there is a gap for such bins).\n" 17759 { (
char *)
"plhlsrgb",
_wrap_plhlsrgb, METH_VARARGS, (
char *)
"\n" 17760 "Convert HLS color to RGB\n" 17764 " Convert HLS color coordinates to RGB.\n" 17766 " Redacted form: General: plhlsrgb(h, l, s, p_r, p_g, p_b)\n" 17769 " This function is used in example 2.\n" 17775 "plhlsrgb(h, l, s, p_r, p_g, p_b)\n" 17779 " h (PLFLT, input) : Hue in degrees (0.0-360.0) on the color\n" 17782 " l (PLFLT, input) : Lightness expressed as a fraction (0.0-1.0) of\n" 17783 " the axis of the color cylinder.\n" 17785 " s (PLFLT, input) : Saturation expressed as a fraction (0.0-1.0) of\n" 17786 " the radius of the color cylinder.\n" 17788 " p_r (PLFLT_NC_SCALAR, output) : Returned value of the red intensity\n" 17789 " (0.0-1.0) of the color.\n" 17791 " p_g (PLFLT_NC_SCALAR, output) : Returned value of the green\n" 17792 " intensity (0.0-1.0) of the color.\n" 17794 " p_b (PLFLT_NC_SCALAR, output) : Returned value of the blue\n" 17795 " intensity (0.0-1.0) of the color.\n" 17798 { (
char *)
"plinit",
_wrap_plinit, METH_VARARGS, (
char *)
"\n" 17799 "Initialize PLplot\n" 17803 " Initializing the plotting package. The program prompts for the device\n" 17804 " keyword or number of the desired output device. Hitting a RETURN in\n" 17805 " response to the prompt is the same as selecting the first device.\n" 17806 " plinit will issue no prompt if either the device was specified\n" 17807 " previously (via command line flag, the plsetopt function, or the\n" 17808 " plsdev function), or if only one device is enabled when PLplot is\n" 17809 " installed. If subpages have been specified, the output device is\n" 17810 " divided into nx by ny subpages, each of which may be used\n" 17811 " independently. If plinit is called again during a program, the\n" 17812 " previously opened file will be closed. The subroutine pladv is used\n" 17813 " to advance from one subpage to the next.\n" 17815 " Redacted form: plinit()\n" 17817 " This function is used in all of the examples.\n" 17826 { (
char *)
"pljoin",
_wrap_pljoin, METH_VARARGS, (
char *)
"\n" 17827 "Draw a line between two points\n" 17831 " Joins the point (\n" 17837 " Redacted form: pljoin(x1,y1,x2,y2)\n" 17839 " This function is used in examples 3 and 14.\n" 17845 "pljoin(x1, y1, x2, y2)\n" 17849 " x1 (PLFLT, input) : x coordinate of first point.\n" 17851 " y1 (PLFLT, input) : y coordinate of first point.\n" 17853 " x2 (PLFLT, input) : x coordinate of second point.\n" 17855 " y2 (PLFLT, input) : y coordinate of second point.\n" 17858 { (
char *)
"pllab",
_wrap_pllab, METH_VARARGS, (
char *)
"\n" 17859 "Simple routine to write labels\n" 17863 " Routine for writing simple labels. Use plmtex for more complex labels.\n" 17865 " Redacted form: pllab(xlabel, ylabel, tlabel)\n" 17867 " This function is used in examples 1, 5, 9, 12, 14-16, 20-22, and 29.\n" 17873 "pllab(xlabel, ylabel, tlabel)\n" 17877 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 17878 " the label for the x axis.\n" 17880 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 17881 " the label for the y axis.\n" 17883 " tlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 17884 " the title of the plot.\n" 17887 { (
char *)
"pllegend",
_wrap_pllegend, METH_VARARGS, (
char *)
"\n" 17888 "Plot legend using discretely annotated filled boxes, lines, and/or lines of symbols\n" 17892 " Routine for creating a discrete plot legend with a plotted filled box,\n" 17893 " line, and/or line of symbols for each annotated legend entry. (See\n" 17894 " plcolorbar for similar functionality for creating continuous color\n" 17895 " bars.) The arguments of pllegend provide control over the location\n" 17896 " and size of the legend as well as the location and characteristics of\n" 17897 " the elements (most of which are optional) within that legend. The\n" 17898 " resulting legend is clipped at the boundaries of the current subpage.\n" 17899 " (N.B. the adopted coordinate system used for some of the parameters is\n" 17900 " defined in the documentation of the position parameter.)\n" 17902 " Redacted form: pllegend(p_legend_width, p_legend_height, opt,\n" 17903 " position, x, y, plot_width, bg_color, bb_color, bb_style, nrow,\n" 17904 " ncolumn, opt_array, text_offset, text_scale, text_spacing,\n" 17905 " test_justification, text_colors, text, box_colors, box_patterns,\n" 17906 " box_scales, box_line_widths, line_colors, line_styles, line_widths,\n" 17907 " symbol_colors, symbol_scales, symbol_numbers, symbols)\n" 17909 " This function is used in examples 4, 26, and 33.\n" 17915 "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" 17919 " p_legend_width (PLFLT_NC_SCALAR, output) : Returned value of the\n" 17920 " legend width in adopted coordinates. This quantity is calculated\n" 17921 " from plot_width, text_offset, ncolumn (possibly modified inside\n" 17922 " the routine depending on nlegend and nrow), and the length\n" 17923 " (calculated internally) of the longest text string.\n" 17925 " p_legend_height (PLFLT_NC_SCALAR, output) : Returned value of the\n" 17926 " legend height in adopted coordinates. This quantity is calculated\n" 17927 " from text_scale, text_spacing, and nrow (possibly modified inside\n" 17928 " the routine depending on nlegend and nrow).\n" 17930 " opt (PLINT, input) : opt contains bits controlling the overall\n" 17931 " legend. If the PL_LEGEND_TEXT_LEFT bit is set, put the text area\n" 17932 " on the left of the legend and the plotted area on the right.\n" 17933 " Otherwise, put the text area on the right of the legend and the\n" 17934 " plotted area on the left. If the PL_LEGEND_BACKGROUND bit is set,\n" 17935 " plot a (semitransparent) background for the legend. If the\n" 17936 " PL_LEGEND_BOUNDING_BOX bit is set, plot a bounding box for the\n" 17937 " legend. If the PL_LEGEND_ROW_MAJOR bit is set and (both of the\n" 17938 " possibly internally transformed) nrow > 1 and ncolumn > 1, then\n" 17939 " plot the resulting array of legend entries in row-major order.\n" 17940 " Otherwise, plot the legend entries in column-major order.\n" 17942 " position (PLINT, input) : position contains bits which control the\n" 17943 " overall position of the legend and the definition of the adopted\n" 17944 " coordinates used for positions just like what is done for the\n" 17945 " position argument for plcolorbar. However, note that the defaults\n" 17946 " for the position bits (see below) are different than the\n" 17947 " plcolorbar case. The combination of the PL_POSITION_LEFT,\n" 17948 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n" 17949 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n" 17950 " the 16 possible standard positions (the 4 corners and centers of\n" 17951 " the 4 sides for both the inside and outside cases) of the legend\n" 17952 " relative to the adopted coordinate system. The corner positions\n" 17953 " are specified by the appropriate combination of two of the\n" 17954 " PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n" 17955 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n" 17956 " value of one of those bits. The adopted coordinates are\n" 17957 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n" 17958 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n" 17959 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n" 17960 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n" 17961 " then use the combination of PL_POSITION_RIGHT and PL_POSITION_TOP.\n" 17962 " If neither of PL_POSITION_INSIDE or PL_POSITION_OUTSIDE is set,\n" 17963 " use PL_POSITION_INSIDE. If neither of PL_POSITION_VIEWPORT or\n" 17964 " PL_POSITION_SUBPAGE is set, use PL_POSITION_VIEWPORT.\n" 17966 " x (PLFLT, input) : X offset of the legend position in adopted\n" 17967 " coordinates from the specified standard position of the legend.\n" 17968 " For positive x, the direction of motion away from the standard\n" 17969 " position is inward/outward from the standard corner positions or\n" 17970 " standard left or right positions if the\n" 17971 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n" 17972 " For the standard top or bottom positions, the direction of motion\n" 17973 " is toward positive X.\n" 17975 " y (PLFLT, input) : Y offset of the legend position in adopted\n" 17976 " coordinates from the specified standard position of the legend.\n" 17977 " For positive y, the direction of motion away from the standard\n" 17978 " position is inward/outward from the standard corner positions or\n" 17979 " standard top or bottom positions if the\n" 17980 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position. For\n" 17981 " the standard left or right positions, the direction of motion is\n" 17982 " toward positive Y.\n" 17984 " plot_width (PLFLT, input) : Horizontal width in adopted coordinates\n" 17985 " of the plot area (where the colored boxes, lines, and/or lines of\n" 17986 " symbols are drawn) of the legend.\n" 17988 " bg_color (PLINT, input) : The cmap0 color of the background for the\n" 17989 " legend (PL_LEGEND_BACKGROUND).\n" 17991 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n" 17992 " for the legend (PL_LEGEND_BOUNDING_BOX).\n" 17994 " bb_style (PLINT, input) : The pllsty style number for the\n" 17995 " bounding-box line for the legend (PL_LEGEND_BACKGROUND).\n" 17997 " nrow (PLINT, input) : The number of rows in the matrix used to\n" 17999 " nlegend legend entries. For internal transformations of\n" 18000 " nrow, see further remarks under\n" 18003 " ncolumn (PLINT, input) : The number of columns in the matrix used\n" 18005 " nlegend legend entries. For internal transformations of\n" 18006 " ncolumn, see further remarks under\n" 18009 " nlegend (PLINT, input) : Number of legend entries. The above\n" 18011 " ncolumn values are transformed internally to be consistent with\n" 18012 " nlegend. If either\n" 18014 " ncolumn is non-positive it is replaced by 1. If the resulting product\n" 18017 " ncolumn is less than\n" 18018 " nlegend, the smaller of the two (or\n" 18021 " ncolumn) is increased so the product is >=\n" 18022 " nlegend. Thus, for example, the common\n" 18024 " ncolumn = 0 case is transformed internally to\n" 18027 " ncolumn = 1; i.e., the usual case of a legend rendered as a single\n" 18030 " opt_array (PLINT_VECTOR, input) : A vector of\n" 18031 " nlegend values of options to control each individual plotted area\n" 18032 " corresponding to a legend entry. If the\n" 18033 " PL_LEGEND_NONE bit is set, then nothing is plotted in the plotted\n" 18035 " PL_LEGEND_COLOR_BOX,\n" 18036 " PL_LEGEND_LINE, and/or\n" 18037 " PL_LEGEND_SYMBOL bits are set, the area corresponding to a legend\n" 18038 " entry is plotted with a colored box; a line; and/or a line of\n" 18041 " text_offset (PLFLT, input) : Offset of the text area from the plot\n" 18042 " area in units of character width.\n" 18044 " text_scale (PLFLT, input) : Character height scale for text\n" 18047 " text_spacing (PLFLT, input) : Vertical spacing in units of the\n" 18048 " character height from one legend entry to the next.\n" 18050 " text_justification (PLFLT, input) : Justification parameter used\n" 18051 " for text justification. The most common values of\n" 18052 " text_justification are 0., 0.5, or 1. corresponding to a text that\n" 18053 " is left justified, centred, or right justified within the text\n" 18054 " area, but other values are allowed as well.\n" 18056 " text_colors (PLINT_VECTOR, input) : A vector containing\n" 18057 " nlegend cmap0 text colors.\n" 18059 " text (PLCHAR_MATRIX, input) : A vector of\n" 18060 " nlegend UTF-8 character strings containing the legend annotations.\n" 18062 " box_colors (PLINT_VECTOR, input) : A vector containing\n" 18063 " nlegend cmap0 colors for the discrete colored boxes (\n" 18064 " PL_LEGEND_COLOR_BOX).\n" 18066 " box_patterns (PLINT_VECTOR, input) : A vector containing\n" 18067 " nlegend patterns (plpsty indices) for the discrete colored boxes (\n" 18068 " PL_LEGEND_COLOR_BOX).\n" 18070 " box_scales (PLFLT_VECTOR, input) : A vector containing\n" 18071 " nlegend scales (units of fraction of character height) for the height\n" 18072 " of the discrete colored boxes (\n" 18073 " PL_LEGEND_COLOR_BOX).\n" 18075 " box_line_widths (PLFLT_VECTOR, input) : A vector containing\n" 18076 " nlegend line widths for the patterns specified by box_patterns (\n" 18077 " PL_LEGEND_COLOR_BOX).\n" 18079 " line_colors (PLINT_VECTOR, input) : A vector containing\n" 18080 " nlegend cmap0 line colors (\n" 18081 " PL_LEGEND_LINE).\n" 18083 " line_styles (PLINT_VECTOR, input) : A vector containing\n" 18084 " nlegend line styles (plsty indices) (\n" 18085 " PL_LEGEND_LINE).\n" 18087 " line_widths (PLFLT_VECTOR, input) : A vector containing\n" 18088 " nlegend line widths (\n" 18089 " PL_LEGEND_LINE).\n" 18091 " symbol_colors (PLINT_VECTOR, input) : A vector containing\n" 18092 " nlegend cmap0 symbol colors (\n" 18093 " PL_LEGEND_SYMBOL).\n" 18095 " symbol_scales (PLFLT_VECTOR, input) : A vector containing\n" 18096 " nlegend scale values for the symbol height (\n" 18097 " PL_LEGEND_SYMBOL).\n" 18099 " symbol_numbers (PLINT_VECTOR, input) : A vector containing\n" 18100 " nlegend numbers of symbols to be drawn across the width of the plotted\n" 18102 " PL_LEGEND_SYMBOL).\n" 18104 " symbols (PLCHAR_MATRIX, input) : A vector of\n" 18105 " nlegend UTF-8 character strings containing the legend symbols. (\n" 18106 " PL_LEGEND_SYMBOL).\n" 18110 "Plot color bar for image, shade or gradient plots\n" 18114 " Routine for creating a continuous color bar for image, shade, or\n" 18115 " gradient plots. (See pllegend for similar functionality for creating\n" 18116 " legends with discrete elements). The arguments of plcolorbar provide\n" 18117 " control over the location and size of the color bar as well as the\n" 18118 " location and characteristics of the elements (most of which are\n" 18119 " optional) within that color bar. The resulting color bar is clipped\n" 18120 " at the boundaries of the current subpage. (N.B. the adopted coordinate\n" 18121 " system used for some of the parameters is defined in the documentation\n" 18122 " of the position parameter.)\n" 18124 " Redacted form: plcolorbar(p_colorbar_width, p_colorbar_height, opt,\n" 18125 " position, x, y, x_length, y_length, bg_color, bb_color, bb_style,\n" 18126 " low_cap_color, high_cap_color, cont_color, cont_width, label_opts,\n" 18127 " labels, axis_opts, ticks, sub_ticks, values)\n" 18129 " This function is used in examples 16 and 33.\n" 18135 "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" 18139 " p_colorbar_width (PLFLT_NC_SCALAR, output) : Returned value of the\n" 18140 " labelled and decorated color bar width in adopted coordinates.\n" 18142 " p_colorbar_height (PLFLT_NC_SCALAR, output) : Returned value of the\n" 18143 " labelled and decorated color bar height in adopted coordinates.\n" 18145 " opt (PLINT, input) : opt contains bits controlling the overall\n" 18146 " color bar. The orientation (direction of the maximum value) of\n" 18147 " the color bar is specified with PL_ORIENT_RIGHT, PL_ORIENT_TOP,\n" 18148 " PL_ORIENT_LEFT, or PL_ORIENT_BOTTOM. If none of these bits are\n" 18149 " specified, the default orientation is toward the top if the\n" 18150 " colorbar is placed on the left or right of the viewport or toward\n" 18151 " the right if the colorbar is placed on the top or bottom of the\n" 18152 " viewport. If the PL_COLORBAR_BACKGROUND bit is set, plot a\n" 18153 " (semitransparent) background for the color bar. If the\n" 18154 " PL_COLORBAR_BOUNDING_BOX bit is set, plot a bounding box for the\n" 18155 " color bar. The type of color bar must be specified with one of\n" 18156 " PL_COLORBAR_IMAGE, PL_COLORBAR_SHADE, or PL_COLORBAR_GRADIENT. If\n" 18157 " more than one of those bits is set only the first one in the above\n" 18158 " list is honored. The position of the (optional) label/title can be\n" 18159 " specified with PL_LABEL_RIGHT, PL_LABEL_TOP, PL_LABEL_LEFT, or\n" 18160 " PL_LABEL_BOTTOM. If no label position bit is set then no label\n" 18161 " will be drawn. If more than one of this list of bits is specified,\n" 18162 " only the first one on the list is honored. End-caps for the color\n" 18163 " bar can added with PL_COLORBAR_CAP_LOW and PL_COLORBAR_CAP_HIGH.\n" 18164 " If a particular color bar cap option is not specified then no cap\n" 18165 " will be drawn for that end. As a special case for\n" 18166 " PL_COLORBAR_SHADE, the option PL_COLORBAR_SHADE_LABEL can be\n" 18167 " specified. If this option is provided then any tick marks and tick\n" 18168 " labels will be placed at the breaks between shaded segments. TODO:\n" 18169 " This should be expanded to support custom placement of tick marks\n" 18170 " and tick labels at custom value locations for any color bar type.\n" 18172 " position (PLINT, input) : position contains bits which control the\n" 18173 " overall position of the color bar and the definition of the\n" 18174 " adopted coordinates used for positions just like what is done for\n" 18175 " the position argument for pllegend. However, note that the\n" 18176 " defaults for the position bits (see below) are different than the\n" 18177 " pllegend case. The combination of the PL_POSITION_LEFT,\n" 18178 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n" 18179 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n" 18180 " the 16 possible standard positions (the 4 corners and centers of\n" 18181 " the 4 sides for both the inside and outside cases) of the color\n" 18182 " bar relative to the adopted coordinate system. The corner\n" 18183 " positions are specified by the appropriate combination of two of\n" 18184 " the PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n" 18185 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n" 18186 " value of one of those bits. The adopted coordinates are\n" 18187 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n" 18188 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n" 18189 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n" 18190 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n" 18191 " then use PL_POSITION_RIGHT. If neither of PL_POSITION_INSIDE or\n" 18192 " PL_POSITION_OUTSIDE is set, use PL_POSITION_OUTSIDE. If neither of\n" 18193 " PL_POSITION_VIEWPORT or PL_POSITION_SUBPAGE is set, use\n" 18194 " PL_POSITION_VIEWPORT.\n" 18196 " x (PLFLT, input) : X offset of the color bar position in adopted\n" 18197 " coordinates from the specified standard position of the color bar.\n" 18198 " For positive x, the direction of motion away from the standard\n" 18199 " position is inward/outward from the standard corner positions or\n" 18200 " standard left or right positions if the\n" 18201 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n" 18202 " For the standard top or bottom positions, the direction of motion\n" 18203 " is toward positive X.\n" 18205 " y (PLFLT, input) : Y offset of the color bar position in adopted\n" 18206 " coordinates from the specified standard position of the color bar.\n" 18207 " For positive y, the direction of motion away from the standard\n" 18208 " position is inward/outward from the standard corner positions or\n" 18209 " standard top or bottom positions if the\n" 18210 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n" 18211 " For the standard left or right positions, the direction of motion\n" 18212 " is toward positive Y.\n" 18214 " x_length (PLFLT, input) : Length of the body of the color bar in\n" 18215 " the X direction in adopted coordinates.\n" 18217 " y_length (PLFLT, input) : Length of the body of the color bar in\n" 18218 " the Y direction in adopted coordinates.\n" 18220 " bg_color (PLINT, input) : The cmap0 color of the background for the\n" 18221 " color bar (PL_COLORBAR_BACKGROUND).\n" 18223 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n" 18224 " for the color bar (PL_COLORBAR_BOUNDING_BOX).\n" 18226 " bb_style (PLINT, input) : The pllsty style number for the\n" 18227 " bounding-box line for the color bar (PL_COLORBAR_BACKGROUND).\n" 18229 " low_cap_color (PLFLT, input) : The cmap1 color of the low-end color\n" 18230 " bar cap, if it is drawn (PL_COLORBAR_CAP_LOW).\n" 18232 " high_cap_color (PLFLT, input) : The cmap1 color of the high-end\n" 18233 " color bar cap, if it is drawn (PL_COLORBAR_CAP_HIGH).\n" 18235 " cont_color (PLINT, input) : The cmap0 contour color for\n" 18236 " PL_COLORBAR_SHADE plots. This is passed directly to plshades, so\n" 18237 " it will be interpreted according to the design of plshades.\n" 18239 " cont_width (PLFLT, input) : Contour width for PL_COLORBAR_SHADE\n" 18240 " plots. This is passed directly to plshades, so it will be\n" 18241 " interpreted according to the design of plshades.\n" 18243 " n_labels (PLINT, input) : Number of labels to place around the\n" 18246 " label_opts (PLINT_VECTOR, input) : A vector of options for each of\n" 18247 " n_labels labels.\n" 18249 " labels (PLCHAR_MATRIX, input) : A vector of\n" 18250 " n_labels UTF-8 character strings containing the labels for the color\n" 18251 " bar. Ignored if no label position is specified with one of the\n" 18252 " PL_COLORBAR_LABEL_RIGHT, PL_COLORBAR_LABEL_TOP,\n" 18253 " PL_COLORBAR_LABEL_LEFT, or PL_COLORBAR_LABEL_BOTTOM bits in the\n" 18254 " corresponding label_opts field.\n" 18256 " n_axes (PLINT, input) : Number of axis definitions provided. This\n" 18257 " value must be greater than 0. It is typically 1 (numerical axis\n" 18258 " labels are provided for one of the long edges of the color bar),\n" 18259 " but it can be larger if multiple numerical axis labels for the\n" 18260 " long edges of the color bar are desired.\n" 18262 " axis_opts (PLCHAR_MATRIX, input) : A vector of\n" 18263 " n_axes ascii character strings containing options (interpreted as for\n" 18264 " plbox) for the color bar's axis definitions.\n" 18266 " ticks (PLFLT_VECTOR, input) : A vector of n_axes values of the\n" 18267 " spacing of the major tick marks (interpreted as for plbox) for the\n" 18268 " color bar's axis definitions.\n" 18270 " sub_ticks (PLINT_VECTOR, input) : A vector of n_axes values of the\n" 18271 " number of subticks (interpreted as for plbox) for the color bar's\n" 18272 " axis definitions.\n" 18274 " n_values (PLINT_VECTOR, input) : A vector containing the number of\n" 18275 " elements in each of the n_axes rows of the values matrix.\n" 18277 " values (PLFLT_MATRIX, input) : A matrix containing the numeric\n" 18278 " values for the data range represented by the color bar. For a row\n" 18279 " index of i_axis (where 0 < i_axis < n_axes), the number of\n" 18280 " elements in the row is specified by n_values[i_axis]. For\n" 18281 " PL_COLORBAR_IMAGE and PL_COLORBAR_GRADIENT the number of elements\n" 18282 " is 2, and the corresponding row elements of the values matrix are\n" 18283 " the minimum and maximum value represented by the colorbar. For\n" 18284 " PL_COLORBAR_SHADE, the number and values of the elements of a row\n" 18285 " of the values matrix is interpreted the same as the nlevel and\n" 18286 " clevel arguments of plshades.\n" 18290 "Sets the 3D position of the light source\n" 18294 " Sets the 3D position of the light source for use with plsurf3d and\n" 18297 " Redacted form: pllightsource(x, y, z)\n" 18299 " This function is used in example 8.\n" 18305 "pllightsource(x, y, z)\n" 18309 " x (PLFLT, input) : X-coordinate of the light source.\n" 18311 " y (PLFLT, input) : Y-coordinate of the light source.\n" 18313 " z (PLFLT, input) : Z-coordinate of the light source.\n" 18316 { (
char *)
"plline",
_wrap_plline, METH_VARARGS, (
char *)
"\n" 18321 " Draws line defined by n points in x and y.\n" 18323 " Redacted form: plline(x, y)\n" 18325 " This function is used in examples 1, 3, 4, 9, 12-14, 16, 18, 20, 22,\n" 18326 " 25-27, and 29.\n" 18332 "plline(n, x, y)\n" 18336 " n (PLINT, input) : Number of points defining line.\n" 18338 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 18341 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 18345 { (
char *)
"plline3",
_wrap_plline3, METH_VARARGS, (
char *)
"\n" 18346 "Draw a line in 3 space\n" 18350 " Draws line in 3 space defined by n points in x, y, and z. You must\n" 18351 " first set up the viewport, the 2d viewing window (in world\n" 18352 " coordinates), and the 3d normalized coordinate box. See x18c.c for\n" 18355 " Redacted form: plline3(x, y, z)\n" 18357 " This function is used in example 18.\n" 18363 "plline3(n, x, y, z)\n" 18367 " n (PLINT, input) : Number of points defining line.\n" 18369 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 18372 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 18375 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n" 18379 { (
char *)
"pllsty",
_wrap_pllsty, METH_VARARGS, (
char *)
"\n" 18380 "Select line style\n" 18384 " This sets the line style according to one of eight predefined patterns\n" 18385 " (also see plstyl).\n" 18387 " Redacted form: pllsty(lin)\n" 18389 " This function is used in examples 9, 12, 22, and 25.\n" 18399 " lin (PLINT, input) : Integer value between 1 and 8. Line style 1 is\n" 18400 " a continuous line, line style 2 is a line with short dashes and\n" 18401 " gaps, line style 3 is a line with long dashes and gaps, line style\n" 18402 " 4 has long dashes and short gaps and so on.\n" 18405 { (
char *)
"plmesh",
_wrap_plmesh, METH_VARARGS, (
char *)
"\n" 18406 "Plot surface mesh\n" 18410 " Plots a surface mesh within the environment set up by plw3d. The\n" 18411 " surface is defined by the matrix z[\n" 18413 " ny] , the point z[i][j] being the value of the function at (\n" 18415 " y[j]). Note that the points in vectors x and y do not need to be\n" 18416 " equally spaced, but must be stored in ascending order. The parameter\n" 18417 " opt controls the way in which the surface is displayed. For further\n" 18418 " details see the PLplot documentation.\n" 18420 " Redacted form: plmesh(x, y, z, opt)\n" 18422 " This function is used in example 11.\n" 18428 "plmesh(x, y, z, nx, ny, opt)\n" 18432 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18433 " which the function is evaluated.\n" 18435 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18436 " which the function is evaluated.\n" 18438 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18439 " plot. Should have dimensions of\n" 18443 " nx (PLINT, input) : Number of x values at which function has been\n" 18446 " ny (PLINT, input) : Number of y values at which function has been\n" 18449 " opt (PLINT, input) : Determines the way in which the surface is\n" 18450 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n" 18451 " function of x for each value of y[j] .\n" 18452 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n" 18453 " for each value of x[i] .\n" 18454 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n" 18455 " at which function is defined.\n" 18458 { (
char *)
"plmeshc",
_wrap_plmeshc, METH_VARARGS, (
char *)
"\n" 18459 "Magnitude colored plot surface mesh with contour\n" 18463 " A more powerful form of plmesh: the surface mesh can be colored\n" 18464 " accordingly to the current z value being plotted, a contour plot can\n" 18465 " be drawn at the base XY plane, and a curtain can be drawn between the\n" 18466 " plotted function border and the base XY plane.\n" 18468 " Redacted form: plmeshc(x, y, z, opt, clevel)\n" 18470 " This function is used in example 11.\n" 18476 "plmeshc(x, y, z, nx, ny, opt, clevel, nlevel)\n" 18480 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18481 " which the function is evaluated.\n" 18483 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18484 " which the function is evaluated.\n" 18486 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18487 " plot. Should have dimensions of\n" 18491 " nx (PLINT, input) : Number of x values at which function is\n" 18494 " ny (PLINT, input) : Number of y values at which function is\n" 18497 " opt (PLINT, input) : Determines the way in which the surface is\n" 18498 " represented. To specify more than one option just add the options,\n" 18499 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n" 18500 " showing z as a function of x for each value of y[j] .\n" 18501 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n" 18502 " for each value of x[i] .\n" 18503 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n" 18504 " at which function is defined.\n" 18505 " opt=MAG_COLOR : Each line in the mesh is colored according to\n" 18506 " the z value being plotted. The color is used from the current\n" 18508 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n" 18509 " using parameters\n" 18512 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n" 18513 " the borders of the plotted function.\n" 18516 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n" 18519 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n" 18522 { (
char *)
"plmkstrm",
_wrap_plmkstrm, METH_VARARGS, (
char *)
"\n" 18523 "Creates a new stream and makes it the default\n" 18527 " Creates a new stream and makes it the default. Differs from using\n" 18528 " plsstrm, in that a free stream number is found, and returned.\n" 18529 " Unfortunately, I have to start at stream 1 and work upward, since\n" 18530 " stream 0 is preallocated. One of the big flaws in the PLplot API is\n" 18531 " that no initial, library-opening call is required. So stream 0 must\n" 18532 " be preallocated, and there is no simple way of determining whether it\n" 18533 " is already in use or not.\n" 18535 " Redacted form: plmkstrm(p_strm)\n" 18537 " This function is used in examples 1 and 20.\n" 18543 "plmkstrm(p_strm)\n" 18547 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the stream\n" 18548 " number of the created stream.\n" 18551 { (
char *)
"plmtex",
_wrap_plmtex, METH_VARARGS, (
char *)
"\n" 18552 "Write text relative to viewport boundaries\n" 18556 " Writes text at a specified position relative to the viewport\n" 18557 " boundaries. Text may be written inside or outside the viewport, but\n" 18558 " is clipped at the subpage boundaries. The reference point of a string\n" 18559 " lies along a line passing through the string at half the height of a\n" 18560 " capital letter. The position of the reference point along this line\n" 18561 " is determined by just, and the position of the reference point\n" 18562 " relative to the viewport is set by disp and pos.\n" 18564 " Redacted form: General: plmtex(side, disp, pos, just, text)\n" 18567 " This function is used in examples 3, 4, 6-8, 11, 12, 14, 18, 23, and\n" 18574 "plmtex(side, disp, pos, just, text)\n" 18578 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 18579 " the side of the viewport along which the text is to be written.\n" 18580 " The string must be one of: b: Bottom of viewport, text written\n" 18581 " parallel to edge.\n" 18582 " bv: Bottom of viewport, text written at right angles to edge.\n" 18583 " l: Left of viewport, text written parallel to edge.\n" 18584 " lv: Left of viewport, text written at right angles to edge.\n" 18585 " r: Right of viewport, text written parallel to edge.\n" 18586 " rv: Right of viewport, text written at right angles to edge.\n" 18587 " t: Top of viewport, text written parallel to edge.\n" 18588 " tv: Top of viewport, text written at right angles to edge.\n" 18591 " disp (PLFLT, input) : Position of the reference point of string,\n" 18592 " measured outwards from the specified viewport edge in units of the\n" 18593 " current character height. Use negative disp to write within the\n" 18596 " pos (PLFLT, input) : Position of the reference point of string\n" 18597 " along the specified edge, expressed as a fraction of the length of\n" 18600 " just (PLFLT, input) : Specifies the position of the string relative\n" 18601 " to its reference point. If just=0. , the reference point is at\n" 18602 " the left and if just=1. , it is at the right of the string. Other\n" 18603 " values of just give intermediate justifications.\n" 18605 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n" 18609 { (
char *)
"plmtex3",
_wrap_plmtex3, METH_VARARGS, (
char *)
"\n" 18610 "Write text relative to viewport boundaries in 3D plots\n" 18614 " Writes text at a specified position relative to the viewport\n" 18615 " boundaries. Text may be written inside or outside the viewport, but\n" 18616 " is clipped at the subpage boundaries. The reference point of a string\n" 18617 " lies along a line passing through the string at half the height of a\n" 18618 " capital letter. The position of the reference point along this line\n" 18619 " is determined by just, and the position of the reference point\n" 18620 " relative to the viewport is set by disp and pos.\n" 18622 " Redacted form: plmtex3(side, disp, pos, just, text)\n" 18624 " This function is used in example 28.\n" 18630 "plmtex3(side, disp, pos, just, text)\n" 18634 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 18635 " the side of the viewport along which the text is to be written.\n" 18636 " The string should contain one or more of the following characters:\n" 18637 " [xyz][ps][v]. Only one label is drawn at a time, i.e. xyp will\n" 18638 " only label the X axis, not both the X and Y axes. x: Label the X\n" 18640 " y: Label the Y axis.\n" 18641 " z: Label the Z axis.\n" 18642 " p: Label the primary axis. For Z this is the leftmost Z axis.\n" 18643 " For X it is the axis that starts at y-min. For Y it is the\n" 18644 " axis that starts at x-min.\n" 18645 " s: Label the secondary axis.\n" 18646 " v: Draw the text perpendicular to the axis.\n" 18649 " disp (PLFLT, input) : Position of the reference point of string,\n" 18650 " measured outwards from the specified viewport edge in units of the\n" 18651 " current character height. Use negative disp to write within the\n" 18654 " pos (PLFLT, input) : Position of the reference point of string\n" 18655 " along the specified edge, expressed as a fraction of the length of\n" 18658 " just (PLFLT, input) : Specifies the position of the string relative\n" 18659 " to its reference point. If just=0. , the reference point is at\n" 18660 " the left and if just=1. , it is at the right of the string. Other\n" 18661 " values of just give intermediate justifications.\n" 18663 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n" 18667 { (
char *)
"plot3d",
_wrap_plot3d, METH_VARARGS, (
char *)
"\n" 18668 "Plot 3-d surface plot\n" 18672 " Plots a three-dimensional surface plot within the environment set up\n" 18673 " by plw3d. The surface is defined by the matrix z[\n" 18675 " ny] , the point z[i][j] being the value of the function at (\n" 18677 " y[j]). Note that the points in vectors x and y do not need to be\n" 18678 " equally spaced, but must be stored in ascending order. The parameter\n" 18679 " opt controls the way in which the surface is displayed. For further\n" 18680 " details see the PLplot documentation. The only difference between\n" 18681 " plmesh and plot3d is that plmesh draws the bottom side of the surface,\n" 18682 " while plot3d only draws the surface as viewed from the top.\n" 18684 " Redacted form: plot3d(x, y, z, opt, side)\n" 18686 " This function is used in examples 11 and 21.\n" 18692 "plot3d(x, y, z, nx, ny, opt, side)\n" 18696 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18697 " which the function is evaluated.\n" 18699 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18700 " which the function is evaluated.\n" 18702 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18703 " plot. Should have dimensions of\n" 18707 " nx (PLINT, input) : Number of x values at which function is\n" 18710 " ny (PLINT, input) : Number of y values at which function is\n" 18713 " opt (PLINT, input) : Determines the way in which the surface is\n" 18714 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n" 18715 " function of x for each value of y[j] .\n" 18716 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n" 18717 " for each value of x[i] .\n" 18718 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n" 18719 " at which function is defined.\n" 18722 " side (PLBOOL, input) : Flag to indicate whether or not ``sides''\n" 18723 " should be draw on the figure. If side is true sides are drawn,\n" 18724 " otherwise no sides are drawn.\n" 18727 { (
char *)
"plot3dc",
_wrap_plot3dc, METH_VARARGS, (
char *)
"\n" 18728 "Magnitude colored plot surface with contour\n" 18732 " Aside from dropping the\n" 18733 " side functionality this is a more powerful form of plot3d: the surface\n" 18734 " mesh can be colored accordingly to the current z value being plotted,\n" 18735 " a contour plot can be drawn at the base XY plane, and a curtain can be\n" 18736 " drawn between the plotted function border and the base XY plane. The\n" 18737 " arguments are identical to those of plmeshc. The only difference\n" 18738 " between plmeshc and plot3dc is that plmeshc draws the bottom side of\n" 18739 " the surface, while plot3dc only draws the surface as viewed from the\n" 18742 " Redacted form: General: plot3dc(x, y, z, opt, clevel)\n" 18745 " This function is used in example 21.\n" 18751 "plot3dc(x, y, z, nx, ny, opt, clevel, nlevel)\n" 18755 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18756 " which the function is evaluated.\n" 18758 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18759 " which the function is evaluated.\n" 18761 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18762 " plot. Should have dimensions of\n" 18766 " nx (PLINT, input) : Number of x values at which function is\n" 18769 " ny (PLINT, input) : Number of y values at which function is\n" 18772 " opt (PLINT, input) : Determines the way in which the surface is\n" 18773 " represented. To specify more than one option just add the options,\n" 18774 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n" 18775 " showing z as a function of x for each value of y[j] .\n" 18776 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n" 18777 " for each value of x[i] .\n" 18778 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n" 18779 " at which function is defined.\n" 18780 " opt=MAG_COLOR : Each line in the mesh is colored according to\n" 18781 " the z value being plotted. The color is used from the current\n" 18783 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n" 18784 " using parameters\n" 18787 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n" 18788 " the borders of the plotted function.\n" 18791 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n" 18794 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n" 18797 { (
char *)
"plot3dcl",
_wrap_plot3dcl, METH_VARARGS, (
char *)
"\n" 18798 "Magnitude colored plot surface with contour for z[x][y] with y index limits\n" 18802 " When the implementation is completed this variant of plot3dc (see that\n" 18803 " function's documentation for more details) should be suitable for the\n" 18804 " case where the area of the x, y coordinate grid where z is defined can\n" 18805 " be non-rectangular. The implementation is incomplete so the last 4\n" 18806 " parameters of plot3dcl; indexxmin, indexxmax, indexymin, and\n" 18807 " indexymax; are currently ignored and the functionality is otherwise\n" 18808 " identical to that of plot3dc.\n" 18810 " Redacted form: General: plot3dcl(x, y, z, opt, clevel, indexxmin,\n" 18811 " indexymin, indexymax)\n" 18814 " This function is not used in any example.\n" 18820 "plot3dcl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n" 18824 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18825 " which the function is evaluated.\n" 18827 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18828 " which the function is evaluated.\n" 18830 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18831 " plot. Should have dimensions of\n" 18835 " nx (PLINT, input) : Number of x values at which the function is\n" 18838 " ny (PLINT, input) : Number of y values at which the function is\n" 18841 " opt (PLINT, input) : Determines the way in which the surface is\n" 18842 " represented. To specify more than one option just add the options,\n" 18843 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n" 18844 " showing z as a function of x for each value of y[j] .\n" 18845 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n" 18846 " for each value of x[i] .\n" 18847 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n" 18848 " at which function is defined.\n" 18849 " opt=MAG_COLOR : Each line in the mesh is colored according to\n" 18850 " the z value being plotted. The color is used from the current\n" 18852 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n" 18853 " using parameters\n" 18856 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n" 18857 " the borders of the plotted function.\n" 18860 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n" 18863 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n" 18865 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n" 18866 " corresponds to the first x index where z is defined.\n" 18868 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n" 18869 " which corresponds (by convention) to one more than the last x\n" 18870 " index value where z is defined.\n" 18872 " indexymin (PLINT_VECTOR, input) : A vector containing y index\n" 18873 " values which all must be ≥ 0. These values are the first y index\n" 18874 " where z is defined for a particular x index in the range from\n" 18875 " indexxmin to indexxmax - 1. The dimension of indexymin is\n" 18878 " indexymax (PLINT_VECTOR, input) : A vector containing y index\n" 18879 " values which all must be ≤ ny. These values correspond (by\n" 18880 " convention) to one more than the last y index where z is defined\n" 18881 " for a particular x index in the range from indexxmin to indexxmax\n" 18882 " - 1. The dimension of indexymax is indexxmax.\n" 18885 { (
char *)
"plsurf3d",
_wrap_plsurf3d, METH_VARARGS, (
char *)
"\n" 18886 "Plot shaded 3-d surface plot\n" 18890 " Plots a three-dimensional shaded surface plot within the environment\n" 18891 " set up by plw3d. The surface is defined by the two-dimensional matrix\n" 18894 " ny], the point z[i][j] being the value of the function at (\n" 18896 " y[j]). Note that the points in vectors x and y do not need to be\n" 18897 " equally spaced, but must be stored in ascending order. For further\n" 18898 " details see the PLplot documentation.\n" 18900 " Redacted form: plsurf3d(x, y, z, opt, clevel)\n" 18902 " This function is not used in any examples.\n" 18908 "plsurf3d(x, y, z, nx, ny, opt, clevel, nlevel)\n" 18912 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18913 " which the function is evaluated.\n" 18915 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18916 " which the function is evaluated.\n" 18918 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18919 " plot. Should have dimensions of\n" 18923 " nx (PLINT, input) : Number of x values at which function is\n" 18926 " ny (PLINT, input) : Number of y values at which function is\n" 18929 " opt (PLINT, input) : Determines the way in which the surface is\n" 18930 " represented. To specify more than one option just add the options,\n" 18931 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n" 18932 " connecting points at which function is defined.\n" 18933 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n" 18934 " using parameters\n" 18937 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n" 18938 " using parameters\n" 18941 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n" 18942 " the borders of the plotted function.\n" 18943 " opt=MAG_COLOR : the surface is colored according to the value\n" 18944 " of Z; if MAG_COLOR is not used, then the surface is colored\n" 18945 " according to the intensity of the reflected light in the\n" 18946 " surface from a light source whose position is set using\n" 18947 " pllightsource.\n" 18950 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n" 18953 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n" 18957 "Plot shaded 3-d surface plot for z[x][y] with y index limits\n" 18961 " This variant of plsurf3d (see that function's documentation for more\n" 18962 " details) should be suitable for the case where the area of the x, y\n" 18963 " coordinate grid where z is defined can be non-rectangular. The limits\n" 18964 " of that grid are provided by the parameters indexxmin, indexxmax,\n" 18965 " indexymin, and indexymax.\n" 18967 " Redacted form: plsurf3dl(x, y, z, opt, clevel, indexxmin, indexymin,\n" 18970 " This function is used in example 8.\n" 18976 "plsurf3dl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n" 18980 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18981 " which the function is evaluated.\n" 18983 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18984 " which the function is evaluated.\n" 18986 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18987 " plot. Should have dimensions of\n" 18991 " nx (PLINT, input) : Number of x values at which function is\n" 18994 " ny (PLINT, input) : Number of y values at which function is\n" 18997 " opt (PLINT, input) : Determines the way in which the surface is\n" 18998 " represented. To specify more than one option just add the options,\n" 18999 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n" 19000 " connecting points at which function is defined.\n" 19001 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n" 19002 " using parameters\n" 19005 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n" 19006 " using parameters\n" 19009 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n" 19010 " the borders of the plotted function.\n" 19011 " opt=MAG_COLOR : the surface is colored according to the value\n" 19012 " of Z; if MAG_COLOR is not used, then the surface is colored\n" 19013 " according to the intensity of the reflected light in the\n" 19014 " surface from a light source whose position is set using\n" 19015 " pllightsource.\n" 19018 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n" 19021 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n" 19023 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n" 19024 " corresponds to the first x index where z is defined.\n" 19026 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n" 19027 " which corresponds (by convention) to one more than the last x\n" 19028 " index value where z is defined.\n" 19030 " indexymin (PLINT_VECTOR, input) : A vector containing the y index\n" 19031 " values which all must be ≥ 0. These values are the first y index\n" 19032 " where z is defined for a particular x index in the range from\n" 19033 " indexxmin to indexxmax - 1. The dimension of indexymin is\n" 19036 " indexymax (PLINT_VECTOR, input) : A vector containing the y index\n" 19037 " values which all must be ≤ ny. These values correspond (by\n" 19038 " convention) to one more than the last y index where z is defined\n" 19039 " for a particular x index in the range from indexxmin to indexxmax\n" 19040 " - 1. The dimension of indexymax is indexxmax.\n" 19044 "Parse command-line arguments\n" 19048 " Parse command-line arguments.\n" 19050 " plparseopts removes all recognized flags (decreasing argc\n" 19051 " accordingly), so that invalid input may be readily detected. It can\n" 19052 " also be used to process user command line flags. The user can merge\n" 19053 " an option table of type PLOptionTable into the internal option table\n" 19054 " info structure using plMergeOpts. Or, the user can specify that ONLY\n" 19055 " the external table(s) be parsed by calling plClearOpts before\n" 19058 " The default action taken by plparseopts is as follows:\n" 19059 " Returns with an error if an unrecognized option or badly formed\n" 19060 " option-value pair are encountered.\n" 19061 " Returns immediately (return code 0) when the first non-option command\n" 19062 " line argument is found.\n" 19063 " Returns with the return code of the option handler, if one was called.\n" 19065 " Deletes command line arguments from argv list as they are found, and\n" 19066 " decrements argc accordingly.\n" 19067 " Does not show \"invisible\" options in usage or help messages.\n" 19068 " Assumes the program name is contained in argv[0].\n" 19070 " These behaviors may be controlled through the\n" 19071 " mode argument.\n" 19073 " Redacted form: General: plparseopts(argv, mode)\n" 19076 " This function is used in all of the examples.\n" 19082 "PLINT plparseopts(p_argc, argv, mode)\n" 19086 " p_argc (int *, input/output) : Number of arguments.\n" 19088 " argv (PLCHAR_NC_MATRIX, input/output) : A vector of character\n" 19089 " strings containing *p_argc command-line arguments.\n" 19091 " mode (PLINT, input) : Parsing mode with the following\n" 19092 " possibilities: PL_PARSE_FULL (1) -- Full parsing of command line\n" 19093 " and all error messages enabled, including program exit when an\n" 19094 " error occurs. Anything on the command line that isn't recognized\n" 19095 " as a valid option or option argument is flagged as an error.\n" 19096 " PL_PARSE_QUIET (2) -- Turns off all output except in the case\n" 19098 " PL_PARSE_NODELETE (4) -- Turns off deletion of processed\n" 19100 " PL_PARSE_SHOWALL (8) -- Show invisible options\n" 19101 " PL_PARSE_NOPROGRAM (32) -- Specified if argv[0] is NOT a\n" 19102 " pointer to the program name.\n" 19103 " PL_PARSE_NODASH (64) -- Set if leading dash is NOT required.\n" 19104 " PL_PARSE_SKIP (128) -- Set to quietly skip over any\n" 19105 " unrecognized arguments.\n" 19108 { (
char *)
"plpat",
_wrap_plpat, METH_VARARGS, (
char *)
"\n" 19109 "Set area line fill pattern\n" 19113 " Sets the area line fill pattern to be used, e.g., for calls to plfill.\n" 19114 " The pattern consists of 1 or 2 sets of parallel lines with specified\n" 19115 " inclinations and spacings. The arguments to this routine are the\n" 19116 " number of sets to use (1 or 2) followed by two vectors (with 1 or 2\n" 19117 " elements) specifying the inclinations in tenths of a degree and the\n" 19118 " spacing in micrometers. (See also plpsty)\n" 19120 " Redacted form: General: plpat(inc, del)\n" 19123 " This function is used in example 15.\n" 19129 "plpat(nlin, inc, del)\n" 19133 " nlin (PLINT, input) : Number of sets of lines making up the\n" 19134 " pattern, either 1 or 2.\n" 19136 " inc (PLINT_VECTOR, input) : A vector containing nlin values of the\n" 19137 " inclination in tenths of a degree. (Should be between -900 and\n" 19140 " del (PLINT_VECTOR, input) : A vector containing nlin values of the\n" 19141 " spacing in micrometers between the lines making up the pattern.\n" 19144 { (
char *)
"plpath",
_wrap_plpath, METH_VARARGS, (
char *)
"\n" 19145 "Draw a line between two points, accounting for coordinate transforms\n" 19149 " Joins the point (\n" 19153 " y2) . If a global coordinate transform is defined then the line is\n" 19154 " broken in to n segments to approximate the path. If no transform is\n" 19155 " defined then this simply acts like a call to pljoin.\n" 19157 " Redacted form: plpath(n,x1,y1,x2,y2)\n" 19159 " This function is used in example 22.\n" 19165 "plpath(n, x1, y1, x2, y2)\n" 19169 " n (PLINT, input) : number of points to use to approximate the path.\n" 19171 " x1 (PLFLT, input) : x coordinate of first point.\n" 19173 " y1 (PLFLT, input) : y coordinate of first point.\n" 19175 " x2 (PLFLT, input) : x coordinate of second point.\n" 19177 " y2 (PLFLT, input) : y coordinate of second point.\n" 19180 { (
char *)
"plpoin",
_wrap_plpoin, METH_VARARGS, (
char *)
"\n" 19181 "Plot a glyph at the specified points\n" 19185 " Plot a glyph at the specified points. (This function is largely\n" 19186 " superseded by plstring which gives access to many[!] more glyphs.)\n" 19187 " code=-1 means try to just draw a point. Right now it's just a move\n" 19188 " and a draw at the same place. Not ideal, since a sufficiently\n" 19189 " intelligent output device may optimize it away, or there may be faster\n" 19190 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n" 19191 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n" 19192 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n" 19193 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n" 19194 " code <= 127 the corresponding printable ASCII character is plotted.\n" 19196 " Redacted form: plpoin(x, y, code)\n" 19198 " This function is used in examples 1, 6, 14, and 29.\n" 19204 "plpoin(n, x, y, code)\n" 19208 " n (PLINT, input) : Number of points in the x and y vectors.\n" 19210 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 19213 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 19216 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n" 19217 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n" 19218 " each of the n points.\n" 19221 { (
char *)
"plpoin3",
_wrap_plpoin3, METH_VARARGS, (
char *)
"\n" 19222 "Plot a glyph at the specified 3D points\n" 19226 " Plot a glyph at the specified 3D points. (This function is largely\n" 19227 " superseded by plstring3 which gives access to many[!] more glyphs.)\n" 19228 " Set up the call to this function similar to what is done for plline3.\n" 19229 " code=-1 means try to just draw a point. Right now it's just a move\n" 19230 " and a draw at the same place. Not ideal, since a sufficiently\n" 19231 " intelligent output device may optimize it away, or there may be faster\n" 19232 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n" 19233 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n" 19234 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n" 19235 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n" 19236 " code <= 127 the corresponding printable ASCII character is plotted.\n" 19238 " Redacted form: plpoin3(x, y, z, code)\n" 19240 " This function is not used in any example.\n" 19246 "plpoin3(n, x, y, z, code)\n" 19250 " n (PLINT, input) : Number of points in the x and y vectors.\n" 19252 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 19255 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 19258 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n" 19261 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n" 19262 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n" 19263 " each of the n points.\n" 19266 { (
char *)
"plpoly3",
_wrap_plpoly3, METH_VARARGS, (
char *)
"\n" 19267 "Draw a polygon in 3 space\n" 19271 " Draws a polygon in 3 space defined by n points in x, y, and z. Setup\n" 19272 " like plline3, but differs from that function in that plpoly3 attempts\n" 19273 " to determine if the polygon is viewable depending on the order of the\n" 19274 " points within the vector and the value of ifcc. If the back of\n" 19275 " polygon is facing the viewer, then it isn't drawn. If this isn't what\n" 19276 " you want, then use plline3 instead.\n" 19278 " The points are assumed to be in a plane, and the directionality of the\n" 19279 " plane is determined from the first three points. Additional points do\n" 19280 " not have to lie on the plane defined by the first three, but if they\n" 19281 " do not, then the determination of visibility obviously can't be 100%\n" 19282 " accurate... So if you're 3 space polygons are too far from planar,\n" 19283 " consider breaking them into smaller polygons. 3 points define a plane\n" 19286 " Bugs: If one of the first two segments is of zero length, or if they\n" 19287 " are co-linear, the calculation of visibility has a 50/50 chance of\n" 19288 " being correct. Avoid such situations :-). See x18c.c for an example\n" 19289 " of this problem. (Search for 20.1).\n" 19291 " Redacted form: plpoly3(x, y, z, code)\n" 19293 " This function is used in example 18.\n" 19299 "plpoly3(n, x, y, z, draw, ifcc)\n" 19303 " n (PLINT, input) : Number of points defining line.\n" 19305 " x (PLFLT_VECTOR, input) : A vector containing\n" 19306 " n x coordinates of points.\n" 19308 " y (PLFLT_VECTOR, input) : A vector containing\n" 19309 " n y coordinates of points.\n" 19311 " z (PLFLT_VECTOR, input) : A vector containing\n" 19312 " n z coordinates of points.\n" 19314 " draw (PLBOOL_VECTOR, input) : A vector containing\n" 19315 " n-1 Boolean values which control drawing the segments of the polygon.\n" 19316 " If draw[i] is true, then the polygon segment from index [i] to\n" 19317 " [i+1] is drawn, otherwise, not.\n" 19319 " ifcc (PLBOOL, input) : If ifcc is true the directionality of the\n" 19320 " polygon is determined by assuming the points are laid out in a\n" 19321 " counter-clockwise order. Otherwise, the directionality of the\n" 19322 " polygon is determined by assuming the points are laid out in a\n" 19323 " clockwise order.\n" 19326 { (
char *)
"plprec",
_wrap_plprec, METH_VARARGS, (
char *)
"\n" 19327 "Set precision in numeric labels\n" 19331 " Sets the number of places after the decimal point in numeric labels.\n" 19333 " Redacted form: plprec(setp, prec)\n" 19335 " This function is used in example 29.\n" 19341 "plprec(setp, prec)\n" 19345 " setp (PLINT, input) : If setp is equal to 0 then PLplot\n" 19346 " automatically determines the number of places to use after the\n" 19347 " decimal point in numeric labels (like those used to label axes).\n" 19348 " If setp is 1 then prec sets the number of places.\n" 19350 " prec (PLINT, input) : The number of characters to draw after the\n" 19351 " decimal point in numeric labels.\n" 19354 { (
char *)
"plpsty",
_wrap_plpsty, METH_VARARGS, (
char *)
"\n" 19355 "Select area fill pattern\n" 19360 " patt is zero or less use either a hardware solid fill if the drivers\n" 19361 " have that capability (virtually all do) or fall back to a software\n" 19362 " emulation of a solid fill using the eighth area line fill pattern. If\n" 19364 " patt <= 8, then select one of eight predefined area line fill patterns\n" 19365 " to use (see plpat if you desire other patterns).\n" 19367 " Redacted form: plpsty(patt)\n" 19369 " This function is used in examples 12, 13, 15, 16, and 25.\n" 19379 " patt (PLINT, input) : The desired pattern index. If\n" 19380 " patt is zero or less, then a solid fill is (normally, see qualifiers\n" 19381 " above) used. For\n" 19382 " patt in the range from 1 to 8 and assuming the driver has not supplied\n" 19383 " line fill capability itself (most deliberately do not so that line\n" 19384 " fill patterns look identical for those drivers), the patterns\n" 19385 " consist of (1) horizontal lines, (2) vertical lines, (3) lines at\n" 19386 " 45 degrees, (4) lines at -45 degrees, (5) lines at 30 degrees, (6)\n" 19387 " lines at -30 degrees, (7) both vertical and horizontal lines, and\n" 19388 " (8) lines at both 45 degrees and -45 degrees.\n" 19391 { (
char *)
"plptex",
_wrap_plptex, METH_VARARGS, (
char *)
"\n" 19392 "Write text inside the viewport\n" 19396 " Writes text at a specified position and inclination within the\n" 19397 " viewport. Text is clipped at the viewport boundaries. The reference\n" 19398 " point of a string lies along a line passing through the string at half\n" 19399 " the height of a capital letter. The position of the reference point\n" 19400 " along this line is determined by just, the reference point is placed\n" 19401 " at world coordinates (\n" 19403 " y) within the viewport. The inclination of the string is specified\n" 19404 " in terms of differences of world coordinates making it easy to write\n" 19405 " text parallel to a line in a graph.\n" 19407 " Redacted form: plptex(x, y, dx, dy, just, text)\n" 19409 " This function is used in example 2-4,10,12-14,20,23,24,26.\n" 19415 "plptex(x, y, dx, dy, just, text)\n" 19419 " x (PLFLT, input) : x coordinate of reference point of string.\n" 19421 " y (PLFLT, input) : y coordinate of reference point of string.\n" 19423 " dx (PLFLT, input) : Together with dy, this specifies the\n" 19424 " inclination of the string. The baseline of the string is parallel\n" 19425 " to a line joining (\n" 19433 " dy (PLFLT, input) : Together with dx, this specifies the\n" 19434 " inclination of the string.\n" 19436 " just (PLFLT, input) : Specifies the position of the string relative\n" 19437 " to its reference point. If just=0. , the reference point is at\n" 19438 " the left and if just=1. , it is at the right of the string. Other\n" 19439 " values of just give intermediate justifications.\n" 19441 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n" 19445 { (
char *)
"plptex3",
_wrap_plptex3, METH_VARARGS, (
char *)
"\n" 19446 "Write text inside the viewport of a 3D plot\n" 19450 " Writes text at a specified position and inclination and with a\n" 19451 " specified shear within the viewport. Text is clipped at the viewport\n" 19452 " boundaries. The reference point of a string lies along a line passing\n" 19453 " through the string at half the height of a capital letter. The\n" 19454 " position of the reference point along this line is determined by just,\n" 19455 " and the reference point is placed at world coordinates (\n" 19458 " wz) within the viewport. The inclination and shear of the string is\n" 19459 " specified in terms of differences of world coordinates making it easy\n" 19460 " to write text parallel to a line in a graph.\n" 19462 " Redacted form: plptex3(x, y, z, dx, dy, dz, sx, sy, sz, just, text)\n" 19464 " This function is used in example 28.\n" 19470 "plptex3(wx, wy, wz, dx, dy, dz, sx, sy, sz, just, text)\n" 19474 " wx (PLFLT, input) : x world coordinate of reference point of\n" 19477 " wy (PLFLT, input) : y world coordinate of reference point of\n" 19480 " wz (PLFLT, input) : z world coordinate of reference point of\n" 19483 " dx (PLFLT, input) : Together with dy and\n" 19484 " dz , this specifies the inclination of the string. The baseline of\n" 19485 " the string is parallel to a line joining (\n" 19496 " dy (PLFLT, input) : Together with dx and\n" 19497 " dz, this specifies the inclination of the string.\n" 19499 " dz (PLFLT, input) : Together with dx and\n" 19500 " dy, this specifies the inclination of the string.\n" 19502 " sx (PLFLT, input) : Together with sy and\n" 19503 " sz , this specifies the shear of the string. The string is sheared so\n" 19504 " that the characters are vertically parallel to a line joining (\n" 19515 " sz = 0.) then the text is not sheared.\n" 19517 " sy (PLFLT, input) : Together with sx and\n" 19518 " sz, this specifies shear of the string.\n" 19520 " sz (PLFLT, input) : Together with sx and\n" 19521 " sy, this specifies shear of the string.\n" 19523 " just (PLFLT, input) : Specifies the position of the string relative\n" 19524 " to its reference point. If just=0. , the reference point is at\n" 19525 " the left and if just=1. , it is at the right of the string. Other\n" 19526 " values of just give intermediate justifications.\n" 19528 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n" 19532 { (
char *)
"plrandd",
_wrap_plrandd, METH_VARARGS, (
char *)
"\n" 19533 "Random number generator returning a real random number in the range [0,1]\n" 19537 " Random number generator returning a real random number in the range\n" 19538 " [0,1]. The generator is based on the Mersenne Twister. Most languages\n" 19539 " / compilers provide their own random number generator, and so this is\n" 19540 " provided purely for convenience and to give a consistent random number\n" 19541 " generator across all languages supported by PLplot. This is\n" 19542 " particularly useful for comparing results from the test suite of\n" 19545 " Redacted form: plrandd()\n" 19547 " This function is used in examples 17 and 21.\n" 19556 { (
char *)
"plreplot",
_wrap_plreplot, METH_VARARGS, (
char *)
"\n" 19557 "Replays contents of plot buffer to current device/file\n" 19561 " Replays contents of plot buffer to current device/file.\n" 19563 " Redacted form: plreplot()\n" 19565 " This function is used in example 1,20.\n" 19574 { (
char *)
"plrgbhls",
_wrap_plrgbhls, METH_VARARGS, (
char *)
"\n" 19575 "Convert RGB color to HLS\n" 19579 " Convert RGB color coordinates to HLS\n" 19581 " Redacted form: General: plrgbhls(r, g, b, p_h, p_l, p_s)\n" 19584 " This function is used in example 2.\n" 19590 "plrgbhls(r, g, b, p_h, p_l, p_s)\n" 19594 " r (PLFLT, input) : Red intensity (0.0-1.0) of the color.\n" 19596 " g (PLFLT, input) : Green intensity (0.0-1.0) of the color.\n" 19598 " b (PLFLT, input) : Blue intensity (0.0-1.0) of the color.\n" 19600 " p_h (PLFLT_NC_SCALAR, output) : Returned value of the hue in\n" 19601 " degrees (0.0-360.0) on the color cylinder.\n" 19603 " p_l (PLFLT_NC_SCALAR, output) : Returned value of the lightness\n" 19604 " expressed as a fraction (0.0-1.0) of the axis of the color\n" 19607 " p_s (PLFLT_NC_SCALAR, output) : Returned value of the saturation\n" 19608 " expressed as a fraction (0.0-1.0) of the radius of the color\n" 19612 { (
char *)
"plschr",
_wrap_plschr, METH_VARARGS, (
char *)
"\n" 19613 "Set character size\n" 19617 " This sets up the size of all subsequent characters drawn. The actual\n" 19618 " height of a character is the product of the default character size and\n" 19619 " a scaling factor.\n" 19621 " Redacted form: plschr(def, scale)\n" 19623 " This function is used in examples 2, 13, 23, and 24.\n" 19629 "plschr(def, scale)\n" 19633 " def (PLFLT, input) : The default height of a character in\n" 19634 " millimeters, should be set to zero if the default height is to\n" 19635 " remain unchanged. For rasterized drivers the dx and dy values\n" 19636 " specified in plspage are used to convert from mm to pixels (note\n" 19637 " the different unit systems used). This dpi aware scaling is not\n" 19638 " implemented for all drivers yet.\n" 19640 " scale (PLFLT, input) : Scale factor to be applied to default to get\n" 19641 " actual character height.\n" 19644 { (
char *)
"plscmap0",
_wrap_plscmap0, METH_VARARGS, (
char *)
"\n" 19645 "Set cmap0 colors by 8-bit RGB values\n" 19649 " Set cmap0 colors using 8-bit RGB values (see the PLplot\n" 19650 " documentation). This sets the entire color map -- only as many colors\n" 19651 " as specified will be allocated.\n" 19653 " Redacted form: plscmap0(r, g, b)\n" 19655 " This function is used in examples 2 and 24.\n" 19661 "plscmap0(r, g, b, ncol0)\n" 19665 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19666 " integers (0-255) representing the degree of red in the color.\n" 19668 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19669 " integers (0-255) representing the degree of green in the color.\n" 19671 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19672 " integers (0-255) representing the degree of blue in the color.\n" 19674 " ncol0 (PLINT, input) : Number of items in the r, g, and b vectors.\n" 19678 "Set cmap0 colors by 8-bit RGB values and PLFLT alpha transparency value\n" 19682 " Set cmap0 colors using 8-bit RGB values (see the PLplot documentation)\n" 19683 " and PLFLT alpha transparency value. This sets the entire color map --\n" 19684 " only as many colors as specified will be allocated.\n" 19686 " Redacted form: plscmap0a(r, g, b, alpha)\n" 19688 " This function is used in examples 30.\n" 19694 "plscmap0a(r, g, b, alpha, ncol0)\n" 19698 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19699 " integers (0-255) representing the degree of red in the color.\n" 19701 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19702 " integers (0-255) representing the degree of green in the color.\n" 19704 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19705 " integers (0-255) representing the degree of blue in the color.\n" 19707 " alpha (PLFLT_VECTOR, input) : A vector containing values (0.0-1.0)\n" 19708 " representing the alpha transparency of the color.\n" 19710 " ncol0 (PLINT, input) : Number of items in the r, g, b, and alpha\n" 19715 "Set number of colors in cmap0\n" 19719 " Set number of colors in cmap0 (see the PLplot documentation). Allocate\n" 19720 " (or reallocate) cmap0, and fill with default values for those colors\n" 19721 " not previously allocated. The first 16 default colors are given in\n" 19722 " the plcol0 documentation. For larger indices the default color is\n" 19725 " The drivers are not guaranteed to support more than 16 colors.\n" 19727 " Redacted form: plscmap0n(ncol0)\n" 19729 " This function is used in examples 15, 16, and 24.\n" 19735 "plscmap0n(ncol0)\n" 19739 " ncol0 (PLINT, input) : Number of colors that will be allocated in\n" 19740 " the cmap0 palette. If this number is zero or less, then the value\n" 19741 " from the previous call to plscmap0n is used and if there is no\n" 19742 " previous call, then a default value is used.\n" 19745 { (
char *)
"plscmap1",
_wrap_plscmap1, METH_VARARGS, (
char *)
"\n" 19746 "Set opaque RGB cmap1 colors values\n" 19750 " Set opaque cmap1 colors (see the PLplot documentation) using RGB\n" 19751 " vector values. This function also sets the number of cmap1 colors.\n" 19752 " N.B. Continuous cmap1 colors are indexed with a floating-point index\n" 19753 " in the range from 0.0-1.0 which is linearly transformed (e.g., by\n" 19754 " plcol1) to an integer index of these RGB vectors in the range from 0\n" 19756 " ncol1-1. So in order for this continuous color model to work\n" 19757 " properly, it is the responsibility of the user of plscmap1 to insure\n" 19758 " that these RGB vectors are continuous functions of their integer\n" 19761 " Redacted form: plscmap1(r, g, b)\n" 19763 " This function is used in example 31.\n" 19769 "plscmap1(r, g, b, ncol1)\n" 19773 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19774 " 8-bit integers in the range from 0-255) the degree of red in the\n" 19775 " color as a continuous function of the integer index of the vector.\n" 19777 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19778 " 8-bit integers in the range from 0-255) the degree of green in the\n" 19779 " color as a continuous function of the integer index of the vector.\n" 19781 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19782 " 8-bit integers in the range from 0-255) the degree of blue in the\n" 19783 " color as a continuous function of the integer index of the vector.\n" 19785 " ncol1 (PLINT, input) : Number of items in the r, g, and b vectors.\n" 19789 "Set semitransparent cmap1 RGBA colors.\n" 19793 " Set semitransparent cmap1 colors (see the PLplot documentation) using\n" 19794 " RGBA vector values. This function also sets the number of cmap1\n" 19795 " colors. N.B. Continuous cmap1 colors are indexed with a\n" 19796 " floating-point index in the range from 0.0-1.0 which is linearly\n" 19797 " transformed (e.g., by plcol1) to an integer index of these RGBA\n" 19798 " vectors in the range from 0 to\n" 19799 " ncol1-1. So in order for this continuous color model to work\n" 19800 " properly, it is the responsibility of the user of plscmap1 to insure\n" 19801 " that these RGBA vectors are continuous functions of their integer\n" 19804 " Redacted form: plscmap1a(r, g, b, alpha)\n" 19806 " This function is used in example 31.\n" 19812 "plscmap1a(r, g, b, alpha, ncol1)\n" 19816 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19817 " 8-bit integers in the range from 0-255) the degree of red in the\n" 19818 " color as a continuous function of the integer index of the vector.\n" 19820 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19821 " 8-bit integers in the range from 0-255) the degree of green in the\n" 19822 " color as a continuous function of the integer index of the vector.\n" 19824 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19825 " 8-bit integers in the range from 0-255) the degree of blue in the\n" 19826 " color as a continuous function of the integer index of the vector.\n" 19828 " alpha (PLFLT_VECTOR, input) : A vector that represents (using PLFLT\n" 19829 " values in the range from 0.0-1.0 where 0.0 corresponds to\n" 19830 " completely transparent and 1.0 corresponds to completely opaque)\n" 19831 " the alpha transparency of the color as a continuous function of\n" 19832 " the integer index of the vector.\n" 19834 " ncol1 (PLINT, input) : Number of items in the r, g, b, and alpha\n" 19839 "Set cmap1 colors using a piece-wise linear relationship\n" 19843 " Set cmap1 colors using a piece-wise linear relationship between the\n" 19844 " cmap1 intensity index (0.0-1.0) and position in HLS or RGB color space\n" 19845 " (see the PLplot documentation). May be called at any time.\n" 19847 " The idea here is to specify a number of control points that define the\n" 19848 " mapping between input cmap1 intensity indices and HLS or RGB. Between\n" 19849 " these points, linear interpolation is used which gives a smooth\n" 19850 " variation of color with intensity index. Any number of control points\n" 19851 " may be specified, located at arbitrary positions, although typically 2\n" 19852 " - 4 are enough. Another way of stating this is that we are traversing\n" 19853 " a given number of lines through HLS or RGB space as we move through\n" 19854 " cmap1 intensity indices. The control points at the minimum and\n" 19855 " maximum position (0 and 1) must always be specified. By adding more\n" 19856 " control points you can get more variation. One good technique for\n" 19857 " plotting functions that vary about some expected average is to use an\n" 19858 " additional 2 control points in the center (position ~= 0.5) that are\n" 19859 " the same lightness as the background (typically white for paper\n" 19860 " output, black for crt), and same hue as the boundary control points.\n" 19861 " This allows the highs and lows to be very easily distinguished.\n" 19863 " Each control point must specify the cmap1 intensity index and the\n" 19864 " associated three coordinates in HLS or RGB space. The first point\n" 19865 " must correspond to position = 0, and the last to position = 1.\n" 19867 " If RGB colors are provided then the interpolation takes place in RGB\n" 19868 " space and is trivial. However if HLS colors are provided then, because\n" 19869 " of the circular nature of the color wheel for the hue coordinate, the\n" 19870 " interpolation could be performed in either direction around the color\n" 19871 " wheel. The default behaviour is for the hue to be linearly\n" 19872 " interpolated ignoring this circular property of hue. So for example,\n" 19873 " the hues 0 (red) and 240 (blue) will get interpolated via yellow,\n" 19874 " green and cyan. If instead you wish to interpolate the other way\n" 19875 " around the color wheel you have two options. You may provide hues\n" 19876 " outside the range [0, 360), so by using a hue of -120 for blue or 360\n" 19877 " for red the interpolation will proceed via magenta. Alternatively you\n" 19878 " can utilise the alt_hue_path variable to reverse the direction of\n" 19879 " interpolation if you need to provide hues within the [0-360) range.\n" 19881 " Examples of interpolation Huealt_hue_pathcolor scheme[120\n" 19882 " 240]falsegreen-cyan-blue[240 120]falseblue-cyan-green[120\n" 19883 " -120]falsegreen-yellow-red-magenta-blue[240\n" 19884 " 480]falseblue-magenta-red-yellow-green[120\n" 19885 " 240]truegreen-yellow-red-magenta-blue[240\n" 19886 " 120]trueblue-magenta-red-yellow-green\n" 19888 " Bounds on coordinatesRGBR[0, 1]magnitudeRGBG[0, 1]magnitudeRGBB[0,\n" 19889 " 1]magnitudeHLShue[0, 360]degreesHLSlightness[0,\n" 19890 " 1]magnitudeHLSsaturation[0, 1]magnitude\n" 19892 " Redacted form: plscmap1l(itype, intensity, coord1, coord2, coord3,\n" 19895 " This function is used in examples 8, 11, 12, 15, 20, and 21.\n" 19901 "plscmap1l(itype, npts, intensity, coord1, coord2, coord3, alt_hue_path)\n" 19905 " itype (PLBOOL, input) : true: RGB, false: HLS.\n" 19907 " npts (PLINT, input) : number of control points\n" 19909 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n" 19910 " intensity index (0.0-1.0) in ascending order for each control\n" 19913 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n" 19914 " coordinate (H or R) for each control point.\n" 19916 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n" 19917 " coordinate (L or G) for each control point.\n" 19919 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n" 19920 " coordinate (S or B) for each control point.\n" 19922 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n" 19923 " npts - 1 elements), each containing either true to use the reversed\n" 19924 " HLS interpolation or false to use the regular HLS interpolation.\n" 19925 " (alt_hue_path[i] refers to the interpolation interval between the\n" 19926 " i and i + 1 control points). This parameter is not used for RGB\n" 19928 " itype = true).\n" 19932 "Set cmap1 colors and alpha transparency using a piece-wise linear relationship\n" 19936 " This is a variant of plscmap1l that supports alpha channel\n" 19937 " transparency. It sets cmap1 colors using a piece-wise linear\n" 19938 " relationship between cmap1 intensity index (0.0-1.0) and position in\n" 19939 " HLS or RGB color space (see the PLplot documentation) with alpha\n" 19940 " transparency value (0.0-1.0). It may be called at any time.\n" 19942 " Redacted form: plscmap1la(itype, intensity, coord1, coord2, coord3,\n" 19943 " alpha, alt_hue_path)\n" 19945 " This function is used in example 30.\n" 19951 "plscmap1la(itype, npts, intensity, coord1, coord2, coord3, alpha, alt_hue_path)\n" 19955 " itype (PLBOOL, input) : true: RGB, false: HLS.\n" 19957 " npts (PLINT, input) : number of control points.\n" 19959 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n" 19960 " intensity index (0.0-1.0) in ascending order for each control\n" 19963 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n" 19964 " coordinate (H or R) for each control point.\n" 19966 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n" 19967 " coordinate (L or G) for each control point.\n" 19969 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n" 19970 " coordinate (S or B) for each control point.\n" 19972 " alpha (PLFLT_VECTOR, input) : A vector containing the alpha\n" 19973 " transparency value (0.0-1.0) for each control point.\n" 19975 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n" 19976 " npts - 1 elements) containing the alternative interpolation method\n" 19977 " Boolean value for each control point interval. (alt_hue_path[i]\n" 19978 " refers to the interpolation interval between the i and i + 1\n" 19979 " control points).\n" 19983 "Set number of colors in cmap1\n" 19987 " Set number of colors in cmap1, (re-)allocate cmap1, and set default\n" 19988 " values if this is the first allocation (see the PLplot documentation).\n" 19990 " Redacted form: plscmap1n(ncol1)\n" 19992 " This function is used in examples 8, 11, 20, and 21.\n" 19998 "plscmap1n(ncol1)\n" 20002 " ncol1 (PLINT, input) : Number of colors that will be allocated in\n" 20003 " the cmap1 palette. If this number is zero or less, then the value\n" 20004 " from the previous call to plscmap1n is used and if there is no\n" 20005 " previous call, then a default value is used.\n" 20009 "Set the cmap1 argument range for continuous color plots\n" 20013 " Set the cmap1 argument range for continuous color plots that\n" 20014 " corresponds to the range of data values. The maximum range\n" 20015 " corresponding to the entire cmap1 palette is 0.0-1.0, and the smaller\n" 20016 " the cmap1 argument range that is specified with this routine, the\n" 20017 " smaller the subset of the cmap1 color palette that is used to\n" 20018 " represent the continuous data being plotted. If\n" 20019 " min_color is greater than\n" 20021 " max_color is greater than 1.0 or\n" 20022 " min_color is less than 0.0 then no change is made to the cmap1\n" 20023 " argument range. (Use plgcmap1_range to get the cmap1 argument range.)\n" 20025 " Redacted form: plscmap1_range(min_color, max_color)\n" 20027 " This function is currently used in example 33.\n" 20033 "plscmap1_range(min_color, max_color)\n" 20037 " min_color (PLFLT, input) : The minimum cmap1 argument. If less\n" 20038 " than 0.0, then 0.0 is used instead.\n" 20040 " max_color (PLFLT, input) : The maximum cmap1 argument. If greater\n" 20041 " than 1.0, then 1.0 is used instead.\n" 20045 "Get the cmap1 argument range for continuous color plots\n" 20049 " Get the cmap1 argument range for continuous color plots. (Use\n" 20050 " plscmap1_range to set the cmap1 argument range.)\n" 20052 " Redacted form: plgcmap1_range(min_color, max_color)\n" 20054 " This function is currently not used in any example.\n" 20060 "plgcmap1_range(min_color, max_color)\n" 20064 " min_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n" 20065 " minimum cmap1 argument.\n" 20067 " max_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n" 20068 " maximum cmap1 argument.\n" 20071 { (
char *)
"plscol0",
_wrap_plscol0, METH_VARARGS, (
char *)
"\n" 20072 "Set 8-bit RGB values for given cmap0 color index\n" 20076 " Set 8-bit RGB values for given cmap0 (see the PLplot documentation)\n" 20077 " index. Overwrites the previous color value for the given index and,\n" 20078 " thus, does not result in any additional allocation of space for\n" 20081 " Redacted form: plscol0(icol0, r, g, b)\n" 20083 " This function is used in any example 31.\n" 20089 "plscol0(icol0, r, g, b)\n" 20093 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n" 20094 " number of colors (which is set by default, by plscmap0n, or even\n" 20097 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20098 " degree of red in the color.\n" 20100 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20101 " degree of green in the color.\n" 20103 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20104 " degree of blue in the color.\n" 20107 { (
char *)
"plscol0a",
_wrap_plscol0a, METH_VARARGS, (
char *)
"\n" 20108 "Set 8-bit RGB values and PLFLT alpha transparency value for given cmap0 color index\n" 20112 " Set 8-bit RGB value and PLFLT alpha transparency value for given cmap0\n" 20113 " (see the PLplot documentation) index. Overwrites the previous color\n" 20114 " value for the given index and, thus, does not result in any additional\n" 20115 " allocation of space for colors.\n" 20117 " This function is used in example 30.\n" 20123 "plscol0a(icol0, r, g, b, alpha)\n" 20127 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n" 20128 " number of colors (which is set by default, by plscmap0n, or even\n" 20131 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20132 " degree of red in the color.\n" 20134 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20135 " degree of green in the color.\n" 20137 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20138 " degree of blue in the color.\n" 20140 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n" 20144 { (
char *)
"plscolbg",
_wrap_plscolbg, METH_VARARGS, (
char *)
"\n" 20145 "Set the background color by 8-bit RGB value\n" 20149 " Set the background color (color 0 in cmap0) by 8-bit RGB value (see\n" 20150 " the PLplot documentation).\n" 20152 " Redacted form: plscolbg(r, g, b)\n" 20154 " This function is used in examples 15 and 31.\n" 20160 "plscolbg(r, g, b)\n" 20164 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20165 " degree of red in the color.\n" 20167 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20168 " degree of green in the color.\n" 20170 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20171 " degree of blue in the color.\n" 20175 "Set the background color by 8-bit RGB value and PLFLT alpha transparency value.\n" 20179 " Set the background color (color 0 in cmap0) by 8-bit RGB value and\n" 20180 " PLFLT alpha transparency value (see the PLplot documentation).\n" 20182 " This function is used in example 31.\n" 20188 "plscolbga(r, g, b, alpha)\n" 20192 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20193 " degree of red in the color.\n" 20195 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20196 " degree of green in the color.\n" 20198 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20199 " degree of blue in the color.\n" 20201 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n" 20205 { (
char *)
"plscolor",
_wrap_plscolor, METH_VARARGS, (
char *)
"\n" 20206 "Used to globally turn color output on/off\n" 20210 " Used to globally turn color output on/off for those drivers/devices\n" 20211 " that support it.\n" 20213 " Redacted form: plscolor(color)\n" 20215 " This function is used in example 31.\n" 20221 "plscolor(color)\n" 20225 " color (PLINT, input) : Color flag (Boolean). If zero, color is\n" 20226 " turned off. If non-zero, color is turned on.\n" 20230 "Set device-compression level\n" 20234 " Set device-compression level. Only used for drivers that provide\n" 20235 " compression. This function, if used, should be invoked before a call\n" 20238 " Redacted form: plscompression(compression)\n" 20240 " This function is used in example 31.\n" 20246 "plscompression(compression)\n" 20250 " compression (PLINT, input) : The desired compression level. This is\n" 20251 " a device-dependent value. Currently only the jpeg and png devices\n" 20252 " use these values. For jpeg value is the jpeg quality which should\n" 20253 " normally be in the range 0-95. Higher values denote higher quality\n" 20254 " and hence larger image sizes. For png values are in the range -1\n" 20255 " to 99. Values of 0-9 are taken as the compression level for zlib.\n" 20256 " A value of -1 denotes the default zlib compression level. Values\n" 20257 " in the range 10-99 are divided by 10 and then used as the zlib\n" 20258 " compression level. Higher compression levels correspond to greater\n" 20259 " compression and small file sizes at the expense of more\n" 20263 { (
char *)
"plsdev",
_wrap_plsdev, METH_VARARGS, (
char *)
"\n" 20264 "Set the device (keyword) name\n" 20268 " Set the device (keyword) name.\n" 20270 " Redacted form: plsdev(devname)\n" 20272 " This function is used in examples 1, 14, and 20.\n" 20278 "plsdev(devname)\n" 20282 " devname (PLCHAR_VECTOR, input) : An ascii character string\n" 20283 " containing the device name keyword of the required output device.\n" 20285 " devname is NULL or if the first character of the string is a ``?'',\n" 20286 " the normal (prompted) start up is used.\n" 20289 { (
char *)
"plsdidev",
_wrap_plsdidev, METH_VARARGS, (
char *)
"\n" 20290 "Set parameters that define current device-space window\n" 20294 " Set relative margin width, aspect ratio, and relative justification\n" 20295 " that define current device-space window. If you want to just use the\n" 20296 " previous value for any of these, just pass in the magic value\n" 20297 " PL_NOTSET. It is unlikely that one should ever need to change the\n" 20298 " aspect ratio but it's in there for completeness. If plsdidev is not\n" 20299 " called the default values of mar, jx, and jy are all 0. aspect is set\n" 20300 " to a device-specific value.\n" 20302 " Redacted form: plsdidev(mar, aspect, jx, jy)\n" 20304 " This function is used in example 31.\n" 20310 "plsdidev(mar, aspect, jx, jy)\n" 20314 " mar (PLFLT, input) : Relative margin width.\n" 20316 " aspect (PLFLT, input) : Aspect ratio.\n" 20318 " jx (PLFLT, input) : Relative justification in x. Value must lie in\n" 20319 " the range -0.5 to 0.5.\n" 20321 " jy (PLFLT, input) : Relative justification in y. Value must lie in\n" 20322 " the range -0.5 to 0.5.\n" 20325 { (
char *)
"plsdimap",
_wrap_plsdimap, METH_VARARGS, (
char *)
"\n" 20326 "Set up transformation from metafile coordinates\n" 20330 " Set up transformation from metafile coordinates. The size of the plot\n" 20331 " is scaled so as to preserve aspect ratio. This isn't intended to be a\n" 20332 " general-purpose facility just yet (not sure why the user would need\n" 20335 " Redacted form: plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm,\n" 20338 " This function is not used in any examples.\n" 20344 "plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm, dimypmm)\n" 20348 " dimxmin (PLINT, input) : NEEDS DOCUMENTATION\n" 20350 " dimxmax (PLINT, input) : NEEDS DOCUMENTATION\n" 20352 " dimymin (PLINT, input) : NEEDS DOCUMENTATION\n" 20354 " dimymax (PLINT, input) : NEEDS DOCUMENTATION\n" 20356 " dimxpmm (PLFLT, input) : NEEDS DOCUMENTATION\n" 20358 " dimypmm (PLFLT, input) : NEEDS DOCUMENTATION\n" 20361 { (
char *)
"plsdiori",
_wrap_plsdiori, METH_VARARGS, (
char *)
"\n" 20362 "Set plot orientation\n" 20366 " Set plot orientation parameter which is multiplied by 90 degrees to\n" 20367 " obtain the angle of rotation. Note, arbitrary rotation parameters\n" 20368 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n" 20369 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n" 20370 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n" 20371 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori is\n" 20372 " not called the default value of rot is 0.\n" 20374 " N.B. aspect ratio is unaffected by calls to plsdiori. So you will\n" 20375 " probably want to change the aspect ratio to a value suitable for the\n" 20376 " plot orientation using a call to plsdidev or the command-line options\n" 20377 " -a or -freeaspect. For more documentation of those options see the\n" 20378 " PLplot documentation. Such command-line options can be set internally\n" 20379 " using plsetopt or set directly using the command line and parsed using\n" 20380 " a call to plparseopts.\n" 20382 " Redacted form: plsdiori(rot)\n" 20384 " This function is not used in any examples.\n" 20394 " rot (PLFLT, input) : Plot orientation parameter.\n" 20397 { (
char *)
"plsdiplt",
_wrap_plsdiplt, METH_VARARGS, (
char *)
"\n" 20398 "Set parameters that define current plot-space window\n" 20402 " Set relative minima and maxima that define the current plot-space\n" 20403 " window. If plsdiplt is not called the default values of xmin, ymin,\n" 20404 " xmax, and ymax are 0., 0., 1., and 1.\n" 20406 " Redacted form: plsdiplt(xmin, ymin, xmax, ymax)\n" 20408 " This function is used in example 31.\n" 20414 "plsdiplt(xmin, ymin, xmax, ymax)\n" 20418 " xmin (PLFLT, input) : Relative minimum in x.\n" 20420 " ymin (PLFLT, input) : Relative minimum in y.\n" 20422 " xmax (PLFLT, input) : Relative maximum in x.\n" 20424 " ymax (PLFLT, input) : Relative maximum in y.\n" 20427 { (
char *)
"plsdiplz",
_wrap_plsdiplz, METH_VARARGS, (
char *)
"\n" 20428 "Set parameters incrementally (zoom mode) that define current plot-space window\n" 20432 " Set relative minima and maxima incrementally (zoom mode) that define\n" 20433 " the current plot-space window. This function has the same effect as\n" 20434 " plsdiplt if that function has not been previously called. Otherwise,\n" 20435 " this function implements zoom mode using the transformation min_used =\n" 20436 " old_min + old_length*min and max_used = old_min + old_length*max for\n" 20437 " each axis. For example, if min = 0.05 and max = 0.95 for each axis,\n" 20438 " repeated calls to plsdiplz will zoom in by 10 per cent for each call.\n" 20440 " Redacted form: plsdiplz(xmin, ymin, xmax, ymax)\n" 20442 " This function is used in example 31.\n" 20448 "plsdiplz(xmin, ymin, xmax, ymax)\n" 20452 " xmin (PLFLT, input) : Relative (incremental) minimum in x.\n" 20454 " ymin (PLFLT, input) : Relative (incremental) minimum in y.\n" 20456 " xmax (PLFLT, input) : Relative (incremental) maximum in x.\n" 20458 " ymax (PLFLT, input) : Relative (incremental) maximum in y.\n" 20461 { (
char *)
"plseed",
_wrap_plseed, METH_VARARGS, (
char *)
"\n" 20462 "Set seed for internal random number generator.\n" 20466 " Set the seed for the internal random number generator. See plrandd for\n" 20467 " further details.\n" 20469 " Redacted form: plseed(seed)\n" 20471 " This function is used in example 21.\n" 20481 " seed (unsigned int, input) : Seed for random number generator.\n" 20484 { (
char *)
"plsesc",
_wrap_plsesc, METH_VARARGS, (
char *)
"\n" 20485 "Set the escape character for text strings\n" 20489 " Set the escape character for text strings. From C (in contrast to\n" 20490 " Fortran, see plsescfortran) you pass esc as a character. Only selected\n" 20491 " characters are allowed to prevent the user from shooting himself in\n" 20492 " the foot (For example, a \\ isn't allowed since it conflicts with C's\n" 20493 " use of backslash as a character escape). Here are the allowed escape\n" 20494 " characters and their corresponding decimal ASCII values: !, ASCII 33\n" 20505 " Redacted form: General: plsesc(esc)\n" 20508 " This function is used in example 29.\n" 20518 " esc (char, input) : Escape character.\n" 20521 { (
char *)
"plsetopt",
_wrap_plsetopt, METH_VARARGS, (
char *)
"\n" 20522 "Set any command-line option\n" 20526 " Set any command-line option internally from a program before it\n" 20527 " invokes plinit. opt is the name of the command-line option and optarg\n" 20528 " is the corresponding command-line option argument.\n" 20530 " This function returns 0 on success.\n" 20532 " Redacted form: plsetopt(opt, optarg)\n" 20534 " This function is used in example 14.\n" 20540 "PLINT plsetopt(opt, optarg)\n" 20544 " opt (PLCHAR_VECTOR, input) : An ascii character string containing\n" 20545 " the command-line option.\n" 20547 " optarg (PLCHAR_VECTOR, input) : An ascii character string\n" 20548 " containing the argument of the command-line option.\n" 20551 { (
char *)
"plsfam",
_wrap_plsfam, METH_VARARGS, (
char *)
"\n" 20552 "Set family file parameters\n" 20556 " Sets variables dealing with output file familying. Does nothing if\n" 20557 " familying not supported by the driver. This routine, if used, must be\n" 20558 " called before initializing PLplot. See the PLplot documentation for\n" 20559 " more information.\n" 20561 " Redacted form: plsfam(fam, num, bmax)\n" 20563 " This function is used in examples 14 and 31.\n" 20569 "plsfam(fam, num, bmax)\n" 20573 " fam (PLINT, input) : Family flag (Boolean). If nonzero, familying\n" 20576 " num (PLINT, input) : Current family file number.\n" 20578 " bmax (PLINT, input) : Maximum file size (in bytes) for a family\n" 20582 { (
char *)
"plsfci",
_wrap_plsfci, METH_VARARGS, (
char *)
"\n" 20583 "Set FCI (font characterization integer)\n" 20587 " Sets font characteristics to be used at the start of the next string\n" 20588 " using the FCI approach. See the PLplot documentation for more\n" 20589 " information. Note, plsfont (which calls plsfci internally) provides a\n" 20590 " more user-friendly API for setting the font characterisitics.\n" 20592 " Redacted form: General: plsfci(fci)\n" 20595 " This function is used in example 23.\n" 20605 " fci (PLUNICODE, input) : PLUNICODE (unsigned 32-bit integer) value\n" 20609 { (
char *)
"plsfnam",
_wrap_plsfnam, METH_VARARGS, (
char *)
"\n" 20610 "Set output file name\n" 20614 " Sets the current output file name, if applicable. If the file name\n" 20615 " has not been specified and is required by the driver, the user will be\n" 20616 " prompted for it. If using the X-windows output driver, this sets the\n" 20617 " display name. This routine, if used, must be called before\n" 20618 " initializing PLplot.\n" 20620 " Redacted form: plsfnam(fnam)\n" 20622 " This function is used in examples 1 and 20.\n" 20632 " fnam (PLCHAR_VECTOR, input) : An ascii character string containing\n" 20633 " the file name.\n" 20636 { (
char *)
"plsfont",
_wrap_plsfont, METH_VARARGS, (
char *)
"\n" 20637 "Set family, style and weight of the current font\n" 20641 " Sets the current font. See the PLplot documentation for more\n" 20642 " information on font selection.\n" 20644 " Redacted form: plsfont(family, style, weight)\n" 20646 " This function is used in example 23.\n" 20652 "plsfont(family, style, weight)\n" 20656 " family (PLINT, input) : Font family to select for the current font.\n" 20657 " The available values are given by the PL_FCI_* constants in\n" 20658 " plplot.h. Current options are PL_FCI_SANS, PL_FCI_SERIF,\n" 20659 " PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. A negative value\n" 20660 " signifies that the font family should not be altered.\n" 20662 " style (PLINT, input) : Font style to select for the current font.\n" 20663 " The available values are given by the PL_FCI_* constants in\n" 20664 " plplot.h. Current options are PL_FCI_UPRIGHT, PL_FCI_ITALIC and\n" 20665 " PL_FCI_OBLIQUE. A negative value signifies that the font style\n" 20666 " should not be altered.\n" 20668 " weight (PLINT, input) : Font weight to select for the current font.\n" 20669 " The available values are given by the PL_FCI_* constants in\n" 20670 " plplot.h. Current options are PL_FCI_MEDIUM and PL_FCI_BOLD. A\n" 20671 " negative value signifies that the font weight should not be\n" 20675 { (
char *)
"plshades",
_wrap_plshades, METH_VARARGS, (
char *)
"\n" 20676 "Shade regions on the basis of value\n" 20680 " Shade regions on the basis of value. This is the high-level routine\n" 20681 " for making continuous color shaded plots with cmap1 while plshade\n" 20682 " should be used to plot individual shaded regions using either cmap0 or\n" 20683 " cmap1. examples/;<language>/x16* shows how to use plshades for each of\n" 20684 " our supported languages.\n" 20686 " Redacted form: General: plshades(a, defined, xmin, xmax, ymin, ymax,\n" 20687 " clevel, fill_width, cont_color, cont_width, fill, rectangular, pltr,\n" 20691 " This function is used in examples 16, 21, and 22.\n" 20697 "plshades(a, nx, ny, defined, xmin, xmax, ymin, ymax, clevel, nlevel, fill_width, cont_color, cont_width, fill, rectangular, pltr, pltr_data)\n" 20701 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n" 20702 " plot. Should have dimensions of\n" 20706 " nx (PLINT, input) : First dimension of matrix \"a\".\n" 20708 " ny (PLINT, input) : Second dimension of matrix \"a\".\n" 20710 " defined (PLDEFINED_callback, input) : Callback function specifying\n" 20711 " the region that should be plotted in the shade plot. This\n" 20712 " function accepts x and y coordinates as input arguments and must\n" 20713 " return 1 if the point is to be included in the shade plot and 0\n" 20714 " otherwise. If you want to plot the entire shade plot (the usual\n" 20715 " case), this argument should be set to NULL.\n" 20717 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n" 20718 " pltr below for how these arguments are used (only for the special case\n" 20719 " when the callback function\n" 20720 " pltr is not supplied).\n" 20722 " clevel (PLFLT_VECTOR, input) : A vector containing the data levels\n" 20723 " corresponding to the edges of each shaded region that will be\n" 20724 " plotted by this function. To work properly the levels should be\n" 20727 " nlevel (PLINT, input) : Number of shades plus 1 (i.e., the number\n" 20728 " of shade edge values in clevel).\n" 20730 " fill_width (PLFLT, input) : Defines the line width used by the fill\n" 20733 " cont_color (PLINT, input) : Defines cmap0 pen color used for\n" 20734 " contours defining edges of shaded regions. The pen color is only\n" 20735 " temporary set for the contour drawing. Set this value to zero or\n" 20736 " less if no shade edge contours are wanted.\n" 20738 " cont_width (PLFLT, input) : Defines line width used for contours\n" 20739 " defining edges of shaded regions. This value may not be honored\n" 20740 " by all drivers. The pen width is only temporary set for the\n" 20741 " contour drawing. Set this value to zero or less if no shade edge\n" 20742 " contours are wanted.\n" 20744 " fill (PLFILL_callback, input) : Callback routine used to fill the\n" 20745 " region. Use plfill for this purpose.\n" 20747 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n" 20748 " map to rectangles after coordinate transformation with pltrl.\n" 20749 " Otherwise, set rectangular to false. If rectangular is set to\n" 20750 " true, plshade tries to save time by filling large rectangles.\n" 20751 " This optimization fails if the coordinate transformation distorts\n" 20752 " the shape of rectangles. For example a plot in polar coordinates\n" 20753 " has to have rectangular set to false.\n" 20755 " pltr (PLTRANSFORM_callback, input) : A callback function that\n" 20756 " defines the transformation between the zero-based indices of the\n" 20757 " matrix a and world coordinates. If\n" 20758 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n" 20759 " indices of a are mapped to the range\n" 20761 " xmax and the y indices of a are mapped to the range\n" 20763 " ymax.For the C case, transformation functions are provided in the\n" 20764 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n" 20765 " pltr2 for arbitrary mappings respectively defined by vectors and\n" 20766 " matrices. In addition, C callback routines for the transformation\n" 20767 " can be supplied by the user such as the mypltr function in\n" 20768 " examples/c/x09c.c which provides a general linear transformation\n" 20769 " between index coordinates and world coordinates.For languages\n" 20770 " other than C you should consult the PLplot documentation for the\n" 20771 " details concerning how PLTRANSFORM_callback arguments are\n" 20772 " interfaced. However, in general, a particular pattern of\n" 20773 " callback-associated arguments such as a tr vector with 6 elements;\n" 20774 " xg and yg vectors; or xg and yg matrices are respectively\n" 20775 " interfaced to a linear-transformation routine similar to the above\n" 20776 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n" 20777 " sophisticated bindings (see, e.g., the PLplot documentation)\n" 20778 " support native language callbacks for handling index to\n" 20779 " world-coordinate transformations. Examples of these various\n" 20780 " approaches are given in examples/<language>x09*,\n" 20781 " examples/<language>x16*, examples/<language>x20*,\n" 20782 " examples/<language>x21*, and examples/<language>x22*, for all our\n" 20783 " supported languages.\n" 20785 " pltr_data (PLPointer, input) : Extra parameter to help pass\n" 20786 " information to pltr0, pltr1, pltr2, or whatever routine that is\n" 20787 " externally supplied.\n" 20790 { (
char *)
"plshade",
_wrap_plshade, METH_VARARGS, (
char *)
"\n" 20791 "Shade individual region on the basis of value\n" 20795 " Shade individual region on the basis of value. Use plshades if you\n" 20796 " want to shade a number of contiguous regions using continuous colors.\n" 20797 " In particular the edge contours are treated properly in plshades. If\n" 20798 " you attempt to do contiguous regions with plshade the contours at the\n" 20799 " edge of the shade are partially obliterated by subsequent plots of\n" 20800 " contiguous shaded regions.\n" 20802 " Redacted form: General: plshade(a, defined, xmin, xmax, ymin, ymax,\n" 20803 " shade_min, shade_max, sh_cmap, sh_color, sh_width, min_color,\n" 20804 " min_width, max_color, max_width, fill, rectangular, pltr, pltr_data)\n" 20807 " This function is used in example 15.\n" 20813 "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" 20817 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n" 20818 " plot. Should have dimensions of\n" 20822 " nx (PLINT, input) : First dimension of the matrix \"a\".\n" 20824 " ny (PLINT, input) : Second dimension of the matrix \"a\".\n" 20826 " defined (PLDEFINED_callback, input) : Callback function specifying\n" 20827 " the region that should be plotted in the shade plot. This\n" 20828 " function accepts x and y coordinates as input arguments and must\n" 20829 " return 1 if the point is to be included in the shade plot and 0\n" 20830 " otherwise. If you want to plot the entire shade plot (the usual\n" 20831 " case), this argument should be set to NULL.\n" 20833 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n" 20834 " pltr below for how these arguments are used (only for the special case\n" 20835 " when the callback function\n" 20836 " pltr is not supplied).\n" 20838 " shade_min (PLFLT, input) : Defines the lower end of the interval to\n" 20839 " be shaded. If shade_max <= shade_min, plshade does nothing.\n" 20841 " shade_max (PLFLT, input) : Defines the upper end of the interval to\n" 20842 " be shaded. If shade_max <= shade_min, plshade does nothing.\n" 20844 " sh_cmap (PLINT, input) : Defines color map. If sh_cmap=0, then\n" 20845 " sh_color is interpreted as a cmap0 (integer) index. If sh_cmap=1,\n" 20846 " then sh_color is interpreted as a cmap1 argument in the range\n" 20849 " sh_color (PLFLT, input) : Defines color map index with integer\n" 20850 " value if cmap0 or value in range (0.0-1.0) if cmap1.\n" 20852 " sh_width (PLFLT, input) : Defines width used by the fill pattern.\n" 20854 " min_color (PLINT, input) : Defines pen color, width used by the\n" 20855 " boundary of shaded region. The min values are used for the\n" 20856 " shade_min boundary, and the max values are used on the shade_max\n" 20857 " boundary. Set color and width to zero for no plotted boundaries.\n" 20859 " min_width (PLFLT, input) : Defines pen color, width used by the\n" 20860 " boundary of shaded region. The min values are used for the\n" 20861 " shade_min boundary, and the max values are used on the shade_max\n" 20862 " boundary. Set color and width to zero for no plotted boundaries.\n" 20864 " max_color (PLINT, input) : Defines pen color, width used by the\n" 20865 " boundary of shaded region. The min values are used for the\n" 20866 " shade_min boundary, and the max values are used on the shade_max\n" 20867 " boundary. Set color and width to zero for no plotted boundaries.\n" 20869 " max_width (PLFLT, input) : Defines pen color, width used by the\n" 20870 " boundary of shaded region. The min values are used for the\n" 20871 " shade_min boundary, and the max values are used on the shade_max\n" 20872 " boundary. Set color and width to zero for no plotted boundaries.\n" 20874 " fill (PLFILL_callback, input) : Routine used to fill the region.\n" 20875 " Use plfill. Future version of PLplot may have other fill\n" 20878 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n" 20879 " map to rectangles after coordinate transformation with pltrl.\n" 20880 " Otherwise, set rectangular to false. If rectangular is set to\n" 20881 " true, plshade tries to save time by filling large rectangles.\n" 20882 " This optimization fails if the coordinate transformation distorts\n" 20883 " the shape of rectangles. For example a plot in polar coordinates\n" 20884 " has to have rectangular set to false.\n" 20886 " pltr (PLTRANSFORM_callback, input) : A callback function that\n" 20887 " defines the transformation between the zero-based indices of the\n" 20888 " matrix a and world coordinates. If\n" 20889 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n" 20890 " indices of a are mapped to the range\n" 20892 " xmax and the y indices of a are mapped to the range\n" 20894 " ymax.For the C case, transformation functions are provided in the\n" 20895 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n" 20896 " pltr2 for arbitrary mappings respectively defined by vectors and\n" 20897 " matrices. In addition, C callback routines for the transformation\n" 20898 " can be supplied by the user such as the mypltr function in\n" 20899 " examples/c/x09c.c which provides a general linear transformation\n" 20900 " between index coordinates and world coordinates.For languages\n" 20901 " other than C you should consult the PLplot documentation for the\n" 20902 " details concerning how PLTRANSFORM_callback arguments are\n" 20903 " interfaced. However, in general, a particular pattern of\n" 20904 " callback-associated arguments such as a tr vector with 6 elements;\n" 20905 " xg and yg vectors; or xg and yg matrices are respectively\n" 20906 " interfaced to a linear-transformation routine similar to the above\n" 20907 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n" 20908 " sophisticated bindings (see, e.g., the PLplot documentation)\n" 20909 " support native language callbacks for handling index to\n" 20910 " world-coordinate transformations. Examples of these various\n" 20911 " approaches are given in examples/<language>x09*,\n" 20912 " examples/<language>x16*, examples/<language>x20*,\n" 20913 " examples/<language>x21*, and examples/<language>x22*, for all our\n" 20914 " supported languages.\n" 20916 " pltr_data (PLPointer, input) : Extra parameter to help pass\n" 20917 " information to pltr0, pltr1, pltr2, or whatever routine that is\n" 20918 " externally supplied.\n" 20922 "Assign a function to use for generating custom axis labels\n" 20926 " This function allows a user to provide their own function to provide\n" 20927 " axis label text. The user function is given the numeric value for a\n" 20928 " point on an axis and returns a string label to correspond with that\n" 20929 " value. Custom axis labels can be enabled by passing appropriate\n" 20930 " arguments to plenv, plbox, plbox3 and similar functions.\n" 20932 " This function is used in example 19.\n" 20938 "plslabelfunc(label_func, label_data)\n" 20942 " label_func (PLLABEL_FUNC_callback, input) : This is the custom\n" 20943 " label function. In order to reset to the default labelling, set\n" 20944 " this to NULL. The labelling function parameters are, in order:\n" 20945 " axis: This indicates which axis a label is being requested for.\n" 20946 " The value will be one of PL_X_AXIS, PL_Y_AXIS or PL_Z_AXIS.\n" 20948 " value: This is the value along the axis which is being labelled.\n" 20950 " label_text: The string representation of the label value.\n" 20952 " length: The maximum length in characters allowed for label_text.\n" 20955 " label_data (PLPointer, input) : This parameter may be used to pass\n" 20956 " data to the label_func function.\n" 20959 { (
char *)
"plsmaj",
_wrap_plsmaj, METH_VARARGS, (
char *)
"\n" 20960 "Set length of major ticks\n" 20964 " This sets up the length of the major ticks. The actual length is the\n" 20965 " product of the default length and a scaling factor as for character\n" 20968 " Redacted form: plsmaj(def, scale)\n" 20970 " This function is used in example 29.\n" 20976 "plsmaj(def, scale)\n" 20980 " def (PLFLT, input) : The default length of a major tick in\n" 20981 " millimeters, should be set to zero if the default length is to\n" 20982 " remain unchanged.\n" 20984 " scale (PLFLT, input) : Scale factor to be applied to default to get\n" 20985 " actual tick length.\n" 20988 { (
char *)
"plsmem",
_wrap_plsmem, METH_VARARGS, (
char *)
"\n" 20989 "Set the memory area to be plotted (RGB)\n" 20993 " Set the memory area to be plotted (with the mem or memcairo driver) as\n" 20994 " the dev member of the stream structure. Also set the number of pixels\n" 20995 " in the memory passed in\n" 20996 " plotmem, which is a block of memory\n" 20998 " maxx by 3 bytes long, say: 480 x 640 x 3 (Y, X, RGB)\n" 21000 " This memory will have to be freed by the user!\n" 21002 " Redacted form: plsmem(maxx, maxy, plotmem)\n" 21004 " This function is not used in any examples.\n" 21010 "plsmem(maxx, maxy, plotmem)\n" 21014 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n" 21016 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n" 21018 " plotmem (PLPointer, input) : Pointer to the beginning of a\n" 21019 " user-supplied writeable memory area.\n" 21022 { (
char *)
"plsmema",
_wrap_plsmema, METH_VARARGS, (
char *)
"\n" 21023 "Set the memory area to be plotted (RGBA)\n" 21027 " Set the memory area to be plotted (with the memcairo driver) as the\n" 21028 " dev member of the stream structure. Also set the number of pixels in\n" 21029 " the memory passed in\n" 21030 " plotmem, which is a block of memory\n" 21032 " maxx by 4 bytes long, say: 480 x 640 x 4 (Y, X, RGBA)\n" 21034 " This memory will have to be freed by the user!\n" 21036 " Redacted form: plsmema(maxx, maxy, plotmem)\n" 21038 " This function is not used in any examples.\n" 21044 "plsmema(maxx, maxy, plotmem)\n" 21048 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n" 21050 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n" 21052 " plotmem (PLPointer, input) : Pointer to the beginning of a\n" 21053 " user-supplied writeable memory area.\n" 21056 { (
char *)
"plsmin",
_wrap_plsmin, METH_VARARGS, (
char *)
"\n" 21057 "Set length of minor ticks\n" 21061 " This sets up the length of the minor ticks and the length of the\n" 21062 " terminals on error bars. The actual length is the product of the\n" 21063 " default length and a scaling factor as for character height.\n" 21065 " Redacted form: plsmin(def, scale)\n" 21067 " This function is used in example 29.\n" 21073 "plsmin(def, scale)\n" 21077 " def (PLFLT, input) : The default length of a minor tick in\n" 21078 " millimeters, should be set to zero if the default length is to\n" 21079 " remain unchanged.\n" 21081 " scale (PLFLT, input) : Scale factor to be applied to default to get\n" 21082 " actual tick length.\n" 21085 { (
char *)
"plsori",
_wrap_plsori, METH_VARARGS, (
char *)
"\n" 21086 "Set orientation\n" 21090 " Set integer plot orientation parameter. This function is identical to\n" 21091 " plsdiori except for the type of the argument, and should be used in\n" 21092 " the same way. See the documentation of plsdiori for details.\n" 21094 " Redacted form: plsori(ori)\n" 21096 " This function is used in example 3.\n" 21106 " ori (PLINT, input) : Orientation value (0 for landscape, 1 for\n" 21107 " portrait, etc.) The value is multiplied by 90 degrees to get the\n" 21111 { (
char *)
"plspage",
_wrap_plspage, METH_VARARGS, (
char *)
"\n" 21112 "Set page parameters\n" 21116 " Sets the page configuration (optional). If an individual parameter is\n" 21117 " zero then that parameter value is not updated. Not all parameters are\n" 21118 " recognized by all drivers and the interpretation is device-dependent.\n" 21119 " The X-window driver uses the length and offset parameters to determine\n" 21120 " the window size and location. The length and offset values are\n" 21121 " expressed in units that are specific to the current driver. For\n" 21122 " instance: screen drivers will usually interpret them as number of\n" 21123 " pixels, whereas printer drivers will usually use mm.\n" 21125 " This routine, if used, must be called before initializing PLplot. It\n" 21126 " may be called at later times for interactive drivers to change only\n" 21127 " the dpi for subsequent redraws which you can force via a call to\n" 21128 " plreplot. If this function is not called then the page size defaults\n" 21129 " to landscape A4 for drivers which use real world page sizes and 744\n" 21130 " pixels wide by 538 pixels high for raster drivers. The default value\n" 21131 " for dx and dy is 90 pixels per inch for raster drivers.\n" 21135 " Redacted form: plspage(xp, yp, xleng, yleng, xoff, yoff)\n" 21137 " This function is used in examples 14 and 31.\n" 21143 "plspage(xp, yp, xleng, yleng, xoff, yoff)\n" 21147 " xp (PLFLT, input) : Number of pixels per inch (DPI), x. Used only\n" 21148 " by raster drivers, ignored by drivers which use \"real world\" units\n" 21151 " yp (PLFLT, input) : Number of pixels per inch (DPI), y. Used only\n" 21152 " by raster drivers, ignored by drivers which use \"real world\" units\n" 21155 " xleng (PLINT, input) : Page length, x.\n" 21157 " yleng (PLINT, input) : Page length, y.\n" 21159 " xoff (PLINT, input) : Page offset, x.\n" 21161 " yoff (PLINT, input) : Page offset, y.\n" 21164 { (
char *)
"plspal0",
_wrap_plspal0, METH_VARARGS, (
char *)
"\n" 21165 "Set the cmap0 palette using the specified cmap0*.pal format file\n" 21169 " Set the cmap0 palette using the specified cmap0*.pal format file.\n" 21171 " Redacted form: plspal0(filename)\n" 21173 " This function is in example 16.\n" 21179 "plspal0(filename)\n" 21183 " filename (PLCHAR_VECTOR, input) : An ascii character string\n" 21184 " containing the name of the cmap0*.pal file. If this string is\n" 21185 " empty, use the default cmap0*.pal file.\n" 21188 { (
char *)
"plspal1",
_wrap_plspal1, METH_VARARGS, (
char *)
"\n" 21189 "Set the cmap1 palette using the specified cmap1*.pal format file\n" 21193 " Set the cmap1 palette using the specified cmap1*.pal format file.\n" 21195 " Redacted form: plspal1(filename, interpolate)\n" 21197 " This function is used in example 16.\n" 21203 "plspal1(filename, interpolate)\n" 21207 " filename (PLCHAR_VECTOR, input) : An ascii character string\n" 21208 " containing the name of the cmap1*.pal file. If this string is\n" 21209 " empty, use the default cmap1*.pal file.\n" 21211 " interpolate (PLBOOL, input) : If this parameter is true, the\n" 21212 " columns containing the intensity index, r, g, b, alpha and\n" 21213 " alt_hue_path in the cmap1*.pal file are used to set the cmap1\n" 21214 " palette with a call to plscmap1la. (The cmap1*.pal header contains\n" 21215 " a flag which controls whether the r, g, b data sent to plscmap1la\n" 21216 " are interpreted as HLS or RGB.) If this parameter is false, the\n" 21217 " intensity index and alt_hue_path columns are ignored and the r, g,\n" 21218 " b (interpreted as RGB), and alpha columns of the cmap1*.pal file\n" 21219 " are used instead to set the cmap1 palette directly with a call to\n" 21223 { (
char *)
"plspause",
_wrap_plspause, METH_VARARGS, (
char *)
"\n" 21224 "Set the pause (on end-of-page) status\n" 21228 " Set the pause (on end-of-page) status.\n" 21230 " Redacted form: plspause(pause)\n" 21232 " This function is in examples 14,20.\n" 21238 "plspause(pause)\n" 21242 " pause (PLBOOL, input) : If pause is true there will be a pause on\n" 21243 " end-of-page for those drivers which support this. Otherwise there\n" 21247 { (
char *)
"plsstrm",
_wrap_plsstrm, METH_VARARGS, (
char *)
"\n" 21248 "Set current output stream\n" 21252 " Sets the number of the current output stream. The stream number\n" 21253 " defaults to 0 unless changed by this routine. The first use of this\n" 21254 " routine must be followed by a call initializing PLplot (e.g. plstar).\n" 21256 " Redacted form: plsstrm(strm)\n" 21258 " This function is examples 1,14,20.\n" 21268 " strm (PLINT, input) : The current stream number.\n" 21271 { (
char *)
"plssub",
_wrap_plssub, METH_VARARGS, (
char *)
"\n" 21272 "Set the number of subpages in x and y\n" 21276 " Set the number of subpages in x and y.\n" 21278 " Redacted form: plssub(nx, ny)\n" 21280 " This function is examples 1,2,14,21,25,27.\n" 21290 " nx (PLINT, input) : Number of windows in x direction (i.e., number\n" 21291 " of window columns).\n" 21293 " ny (PLINT, input) : Number of windows in y direction (i.e., number\n" 21294 " of window rows).\n" 21297 { (
char *)
"plssym",
_wrap_plssym, METH_VARARGS, (
char *)
"\n" 21298 "Set symbol size\n" 21302 " This sets up the size of all subsequent symbols drawn by plpoin and\n" 21303 " plsym. The actual height of a symbol is the product of the default\n" 21304 " symbol size and a scaling factor as for the character height.\n" 21306 " Redacted form: plssym(def, scale)\n" 21308 " This function is used in example 29.\n" 21314 "plssym(def, scale)\n" 21318 " def (PLFLT, input) : The default height of a symbol in millimeters,\n" 21319 " should be set to zero if the default height is to remain\n" 21322 " scale (PLFLT, input) : Scale factor to be applied to default to get\n" 21323 " actual symbol height.\n" 21326 { (
char *)
"plstar",
_wrap_plstar, METH_VARARGS, (
char *)
"\n" 21331 " Initializing the plotting package. The program prompts for the device\n" 21332 " keyword or number of the desired output device. Hitting a RETURN in\n" 21333 " response to the prompt is the same as selecting the first device. If\n" 21334 " only one device is enabled when PLplot is installed, plstar will issue\n" 21335 " no prompt. The output device is divided into nx by ny subpages, each\n" 21336 " of which may be used independently. The subroutine pladv is used to\n" 21337 " advance from one subpage to the next.\n" 21339 " Redacted form: plstar(nx, ny)\n" 21341 " This function is used in example 1.\n" 21351 " nx (PLINT, input) : Number of subpages to divide output page in the\n" 21354 " ny (PLINT, input) : Number of subpages to divide output page in the\n" 21358 { (
char *)
"plstart",
_wrap_plstart, METH_VARARGS, (
char *)
"\n" 21363 " Alternative to plstar for initializing the plotting package. The\n" 21364 " device name keyword for the desired output device must be supplied as\n" 21365 " an argument. These keywords are the same as those printed out by\n" 21366 " plstar. If the requested device is not available, or if the input\n" 21367 " string is empty or begins with ``?'', the prompted start up of plstar\n" 21368 " is used. This routine also divides the output device page into nx by\n" 21369 " ny subpages, each of which may be used independently. The subroutine\n" 21370 " pladv is used to advance from one subpage to the next.\n" 21372 " Redacted form: General: plstart(devname, nx, ny)\n" 21375 " This function is not used in any examples.\n" 21381 "plstart(devname, nx, ny)\n" 21385 " devname (PLCHAR_VECTOR, input) : An ascii character string\n" 21386 " containing the device name keyword of the required output device.\n" 21388 " devname is NULL or if the first character of the string is a ``?'',\n" 21389 " the normal (prompted) start up is used.\n" 21391 " nx (PLINT, input) : Number of subpages to divide output page in the\n" 21394 " ny (PLINT, input) : Number of subpages to divide output page in the\n" 21399 "Set a global coordinate transform function\n" 21403 " This function can be used to define a coordinate transformation which\n" 21404 " affects all elements drawn within the current plot window. The\n" 21405 " coordinate_transform callback function is similar to that provided for\n" 21406 " the plmap and plmeridians functions. The coordinate_transform_data\n" 21407 " parameter may be used to pass extra data to coordinate_transform.\n" 21409 " Redacted form: General: plstransform(coordinate_transform,\n" 21410 " coordinate_transform_data)\n" 21413 " This function is used in examples 19 and 22.\n" 21419 "plstransform(coordinate_transform, coordinate_transform_data)\n" 21423 " coordinate_transform (PLTRANSFORM_callback, input) : A callback\n" 21424 " function that defines the transformation from the input (x, y)\n" 21425 " world coordinates to new PLplot world coordinates. If\n" 21426 " coordinate_transform is not supplied (e.g., is set to NULL in the C\n" 21427 " case), then no transform is applied.\n" 21429 " coordinate_transform_data (PLPointer, input) : Optional extra data\n" 21431 " coordinate_transform.\n" 21434 { (
char *)
"plstring",
_wrap_plstring, METH_VARARGS, (
char *)
"\n" 21435 "Plot a glyph at the specified points\n" 21439 " Plot a glyph at the specified points. (Supersedes plpoin and plsym\n" 21440 " because many[!] more glyphs are accessible with plstring.) The glyph\n" 21441 " is specified with a PLplot user string. Note that the user string is\n" 21442 " not actually limited to one glyph so it is possible (but not normally\n" 21443 " useful) to plot more than one glyph at the specified points with this\n" 21444 " function. As with plmtex and plptex, the user string can contain FCI\n" 21445 " escapes to determine the font, UTF-8 code to determine the glyph or\n" 21446 " else PLplot escapes for Hershey or unicode text to determine the\n" 21449 " Redacted form: plstring(x, y, string)\n" 21451 " This function is used in examples 4, 21 and 26.\n" 21457 "plstring(n, x, y, string)\n" 21461 " n (PLINT, input) : Number of points in the x and y vectors.\n" 21463 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 21466 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 21469 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n" 21470 " the glyph(s) to be plotted at each of the n points.\n" 21474 "Plot a glyph at the specified 3D points\n" 21478 " Plot a glyph at the specified 3D points. (Supersedes plpoin3 because\n" 21479 " many[!] more glyphs are accessible with plstring3.) Set up the call to\n" 21480 " this function similar to what is done for plline3. The glyph is\n" 21481 " specified with a PLplot user string. Note that the user string is not\n" 21482 " actually limited to one glyph so it is possible (but not normally\n" 21483 " useful) to plot more than one glyph at the specified points with this\n" 21484 " function. As with plmtex and plptex, the user string can contain FCI\n" 21485 " escapes to determine the font, UTF-8 code to determine the glyph or\n" 21486 " else PLplot escapes for Hershey or unicode text to determine the\n" 21489 " Redacted form: plstring3(x, y, z, string)\n" 21491 " This function is used in example 18.\n" 21497 "plstring3(n, x, y, z, string)\n" 21501 " n (PLINT, input) : Number of points in the x, y, and z vectors.\n" 21503 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 21506 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 21509 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n" 21512 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n" 21513 " the glyph(s) to be plotted at each of the n points. points.\n" 21516 { (
char *)
"plstripa",
_wrap_plstripa, METH_VARARGS, (
char *)
"\n" 21517 "Add a point to a strip chart\n" 21521 " Add a point to a given pen of a given strip chart. There is no need\n" 21522 " for all pens to have the same number of points or to be equally\n" 21523 " sampled in the x coordinate. Allocates memory and rescales as\n" 21526 " Redacted form: plstripa(id, pen, x, y)\n" 21528 " This function is used in example 17.\n" 21534 "plstripa(id, pen, x, y)\n" 21538 " id (PLINT, input) : Identification number of the strip chart (set\n" 21539 " up in plstripc).\n" 21541 " pen (PLINT, input) : Pen number (ranges from 0 to 3).\n" 21543 " x (PLFLT, input) : X coordinate of point to plot.\n" 21545 " y (PLFLT, input) : Y coordinate of point to plot.\n" 21548 { (
char *)
"plstripc",
_wrap_plstripc, METH_VARARGS, (
char *)
"\n" 21549 "Create a 4-pen strip chart\n" 21553 " Create a 4-pen strip chart, to be used afterwards by plstripa\n" 21555 " Redacted form: General: plstripc(id, xspec, yspec, xmin, xmax, xjump,\n" 21556 " ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline,\n" 21557 " styline, legline, labx, laby, labz)\n" 21560 " This function is used in example 17.\n" 21566 "plstripc(id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline, styline, legline[], labx, laby, labtop)\n" 21570 " id (PLINT_NC_SCALAR, output) : Returned value of the identification\n" 21571 " number of the strip chart to use on plstripa and plstripd.\n" 21573 " xspec (PLCHAR_VECTOR, input) : An ascii character string containing\n" 21574 " the x-axis specification as in plbox.\n" 21576 " yspec (PLCHAR_VECTOR, input) : An ascii character string containing\n" 21577 " the y-axis specification as in plbox.\n" 21579 " xmin (PLFLT, input) : Initial coordinates of plot box; they will\n" 21580 " change as data are added.\n" 21582 " xmax (PLFLT, input) : Initial coordinates of plot box; they will\n" 21583 " change as data are added.\n" 21585 " xjump (PLFLT, input) : When x attains xmax, the length of the plot\n" 21586 " is multiplied by the factor (1 +\n" 21589 " ymin (PLFLT, input) : Initial coordinates of plot box; they will\n" 21590 " change as data are added.\n" 21592 " ymax (PLFLT, input) : Initial coordinates of plot box; they will\n" 21593 " change as data are added.\n" 21595 " xlpos (PLFLT, input) : X legend box position (range from 0 to 1).\n" 21597 " ylpos (PLFLT, input) : Y legend box position (range from 0 to 1).\n" 21599 " y_ascl (PLBOOL, input) : Autoscale y between x jumps if y_ascl is\n" 21600 " true, otherwise not.\n" 21602 " acc (PLBOOL, input) : Accumulate strip plot if acc is true,\n" 21603 " otherwise slide display.\n" 21605 " colbox (PLINT, input) : Plot box color index (cmap0).\n" 21607 " collab (PLINT, input) : Legend color index (cmap0).\n" 21609 " colline (PLINT_VECTOR, input) : A vector containing the cmap0 color\n" 21610 " indices for the 4 pens.\n" 21612 " styline (PLINT_VECTOR, input) : A vector containing the line style\n" 21613 " indices for the 4 pens.\n" 21615 " legline (PLCHAR_MATRIX, input) : A vector of UTF-8 character\n" 21616 " strings containing legends for the 4 pens.\n" 21618 " labx (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n" 21619 " the label for the x axis.\n" 21621 " laby (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n" 21622 " the label for the y axis.\n" 21624 " labtop (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n" 21625 " the plot title.\n" 21628 { (
char *)
"plstripd",
_wrap_plstripd, METH_VARARGS, (
char *)
"\n" 21629 "Deletes and releases memory used by a strip chart\n" 21633 " Deletes and releases memory used by a strip chart.\n" 21635 " Redacted form: plstripd(id)\n" 21637 " This function is used in example 17.\n" 21647 " id (PLINT, input) : Identification number of strip chart to delete.\n" 21650 { (
char *)
"plstyl",
_wrap_plstyl, METH_VARARGS, (
char *)
"\n" 21655 " This sets up the line style for all lines subsequently drawn. A line\n" 21656 " consists of segments in which the pen is alternately down and up. The\n" 21657 " lengths of these segments are passed in the vectors mark and space\n" 21658 " respectively. The number of mark-space pairs is specified by nms. In\n" 21659 " order to return the line style to the default continuous line, plstyl\n" 21660 " should be called with nms =0 .(see also pllsty)\n" 21662 " Redacted form: plstyl(mark, space)\n" 21664 " This function is used in examples 1, 9, and 14.\n" 21670 "plstyl(nms, mark, space)\n" 21674 " nms (PLINT, input) : The number of mark and space elements in a\n" 21675 " line. Thus a simple broken line can be obtained by setting nms=1\n" 21676 " . A continuous line is specified by setting nms=0 .\n" 21678 " mark (PLINT_VECTOR, input) : A vector containing the lengths of the\n" 21679 " segments during which the pen is down, measured in micrometers.\n" 21681 " space (PLINT_VECTOR, input) : A vector containing the lengths of\n" 21682 " the segments during which the pen is up, measured in micrometers.\n" 21685 { (
char *)
"plsvect",
_wrap_plsvect, METH_VARARGS, (
char *)
"\n" 21686 "Set arrow style for vector plots\n" 21690 " Set the style for the arrow used by plvect to plot vectors.\n" 21692 " Redacted form: plsvect(arrowx, arrowy, fill)\n" 21694 " This function is used in example 22.\n" 21700 "plsvect(arrowx, arrowy, npts, fill)\n" 21704 " arrowx, arrowy (PLFLT_VECTOR, input) : A pair of vectors containing\n" 21705 " the x and y points which make up the arrow. The arrow is plotted\n" 21706 " by joining these points to form a polygon. The scaling assumes\n" 21707 " that the x and y points in the arrow lie in the range -0.5 <= x,y\n" 21708 " <= 0.5. If both arrowx and arrowy are NULL then the arrow style\n" 21709 " will be reset to its default.\n" 21711 " npts (PLINT, input) : Number of points in the vectors arrowx and\n" 21714 " fill (PLBOOL, input) : If fill is true then the arrow is closed, if\n" 21715 " fill is false then the arrow is open.\n" 21718 { (
char *)
"plsvpa",
_wrap_plsvpa, METH_VARARGS, (
char *)
"\n" 21719 "Specify viewport in absolute coordinates\n" 21723 " Alternate routine to plvpor for setting up the viewport. This routine\n" 21724 " should be used only if the viewport is required to have a definite\n" 21725 " size in millimeters. The routine plgspa is useful for finding out the\n" 21726 " size of the current subpage.\n" 21728 " Redacted form: plsvpa(xmin, xmax, ymin, ymax)\n" 21730 " This function is used in example 10.\n" 21736 "plsvpa(xmin, xmax, ymin, ymax)\n" 21740 " xmin (PLFLT, input) : The distance of the left-hand edge of the\n" 21741 " viewport from the left-hand edge of the subpage in millimeters.\n" 21743 " xmax (PLFLT, input) : The distance of the right-hand edge of the\n" 21744 " viewport from the left-hand edge of the subpage in millimeters.\n" 21746 " ymin (PLFLT, input) : The distance of the bottom edge of the\n" 21747 " viewport from the bottom edge of the subpage in millimeters.\n" 21749 " ymax (PLFLT, input) : The distance of the top edge of the viewport\n" 21750 " from the bottom edge of the subpage in millimeters.\n" 21753 { (
char *)
"plsxax",
_wrap_plsxax, METH_VARARGS, (
char *)
"\n" 21754 "Set x axis parameters\n" 21758 " Sets values of the digmax and digits flags for the x axis. See the\n" 21759 " PLplot documentation for more information.\n" 21761 " Redacted form: plsxax(digmax, digits)\n" 21763 " This function is used in example 31.\n" 21769 "plsxax(digmax, digits)\n" 21773 " digmax (PLINT, input) : Variable to set the maximum number of\n" 21774 " digits for the x axis. If nonzero, the printed label will be\n" 21775 " switched to a floating-point representation when the number of\n" 21776 " digits exceeds digmax.\n" 21778 " digits (PLINT, input) : Field digits value. Currently, changing\n" 21779 " its value here has no effect since it is set only by plbox or\n" 21780 " plbox3. However, the user may obtain its value after a call to\n" 21781 " either of these functions by calling plgxax.\n" 21784 { (
char *)
"plsyax",
_wrap_plsyax, METH_VARARGS, (
char *)
"\n" 21785 "Set y axis parameters\n" 21789 " Identical to plsxax, except that arguments are flags for y axis. See\n" 21790 " the description of plsxax for more detail.\n" 21792 " Redacted form: plsyax(digmax, digits)\n" 21794 " This function is used in examples 1, 14, and 31.\n" 21800 "plsyax(digmax, digits)\n" 21804 " digmax (PLINT, input) : Variable to set the maximum number of\n" 21805 " digits for the y axis. If nonzero, the printed label will be\n" 21806 " switched to a floating-point representation when the number of\n" 21807 " digits exceeds digmax.\n" 21809 " digits (PLINT, input) : Field digits value. Currently, changing\n" 21810 " its value here has no effect since it is set only by plbox or\n" 21811 " plbox3. However, the user may obtain its value after a call to\n" 21812 " either of these functions by calling plgyax.\n" 21815 { (
char *)
"plsym",
_wrap_plsym, METH_VARARGS, (
char *)
"\n" 21816 "Plot a glyph at the specified points\n" 21820 " Plot a glyph at the specified points. (This function is largely\n" 21821 " superseded by plstring which gives access to many[!] more glyphs.)\n" 21823 " Redacted form: plsym(x, y, code)\n" 21825 " This function is used in example 7.\n" 21831 "plsym(n, x, y, code)\n" 21835 " n (PLINT, input) : Number of points in the x and y vectors.\n" 21837 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 21840 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 21843 " code (PLINT, input) : Hershey symbol code corresponding to a glyph\n" 21844 " to be plotted at each of the n points.\n" 21847 { (
char *)
"plszax",
_wrap_plszax, METH_VARARGS, (
char *)
"\n" 21848 "Set z axis parameters\n" 21852 " Identical to plsxax, except that arguments are flags for z axis. See\n" 21853 " the description of plsxax for more detail.\n" 21855 " Redacted form: plszax(digmax, digits)\n" 21857 " This function is used in example 31.\n" 21863 "plszax(digmax, digits)\n" 21867 " digmax (PLINT, input) : Variable to set the maximum number of\n" 21868 " digits for the z axis. If nonzero, the printed label will be\n" 21869 " switched to a floating-point representation when the number of\n" 21870 " digits exceeds digmax.\n" 21872 " digits (PLINT, input) : Field digits value. Currently, changing\n" 21873 " its value here has no effect since it is set only by plbox or\n" 21874 " plbox3. However, the user may obtain its value after a call to\n" 21875 " either of these functions by calling plgzax.\n" 21878 { (
char *)
"pltext",
_wrap_pltext, METH_VARARGS, (
char *)
"\n" 21879 "Switch to text screen\n" 21883 " Sets an interactive device to text mode, used in conjunction with\n" 21884 " plgra to allow graphics and text to be interspersed. On a device\n" 21885 " which supports separate text and graphics windows, this command causes\n" 21886 " control to be switched to the text window. This can be useful for\n" 21887 " printing diagnostic messages or getting user input, which would\n" 21888 " otherwise interfere with the plots. The program must switch back to\n" 21889 " the graphics window before issuing plot commands, as the text (or\n" 21890 " console) device will probably become quite confused otherwise. If\n" 21891 " already in text mode, this command is ignored. It is also ignored on\n" 21892 " devices which only support a single window or use a different method\n" 21893 " for shifting focus (see also plgra).\n" 21895 " Redacted form: pltext()\n" 21897 " This function is used in example 1.\n" 21907 "Set format for date / time labels\n" 21911 " Sets the format for date / time labels. To enable date / time format\n" 21912 " labels see the options to plbox, plbox3, and plenv.\n" 21914 " Redacted form: pltimefmt(fmt)\n" 21916 " This function is used in example 29.\n" 21926 " fmt (PLCHAR_VECTOR, input) : An ascii character string which is\n" 21927 " interpreted similarly to the format specifier of typical system\n" 21928 " strftime routines except that PLplot ignores locale and also\n" 21929 " supplies some useful extensions in the context of plotting. All\n" 21930 " text in the string is printed as-is other than conversion\n" 21931 " specifications which take the form of a '%' character followed by\n" 21932 " further conversion specification character. The conversion\n" 21933 " specifications which are similar to those provided by system\n" 21934 " strftime routines are the following: %a: The abbreviated (English)\n" 21936 " %A: The full (English) weekday name.\n" 21937 " %b: The abbreviated (English) month name.\n" 21938 " %B: The full (English) month name.\n" 21939 " %c: Equivalent to %a %b %d %T %Y (non-ISO).\n" 21940 " %C: The century number (year/100) as a 2-digit integer.\n" 21941 " %d: The day of the month as a decimal number (range 01 to 31).\n" 21942 " %D: Equivalent to %m/%d/%y (non-ISO).\n" 21943 " %e: Like %d, but a leading zero is replaced by a space.\n" 21944 " %F: Equivalent to %Y-%m-%d (the ISO 8601 date format).\n" 21945 " %h: Equivalent to %b.\n" 21946 " %H: The hour as a decimal number using a 24-hour clock (range\n" 21948 " %I: The hour as a decimal number using a 12-hour clock (range\n" 21950 " %j: The day of the year as a decimal number (range 001 to\n" 21952 " %k: The hour (24-hour clock) as a decimal number (range 0 to\n" 21953 " 23); single digits are preceded by a blank. (See also %H.)\n" 21954 " %l: The hour (12-hour clock) as a decimal number (range 1 to\n" 21955 " 12); single digits are preceded by a blank. (See also %I.)\n" 21956 " %m: The month as a decimal number (range 01 to 12).\n" 21957 " %M: The minute as a decimal number (range 00 to 59).\n" 21958 " %n: A newline character.\n" 21959 " %p: Either \"AM\" or \"PM\" according to the given time value.\n" 21960 " Noon is treated as \"PM\" and midnight as \"AM\".\n" 21961 " %r: Equivalent to %I:%M:%S %p.\n" 21962 " %R: The time in 24-hour notation (%H:%M). For a version\n" 21963 " including the seconds, see %T below.\n" 21964 " %s: The number of seconds since the Epoch, 1970-01-01 00:00:00\n" 21966 " %S: The second as a decimal number (range 00 to 60). (The\n" 21967 " range is up to 60 to allow for occasional leap seconds.)\n" 21968 " %t: A tab character.\n" 21969 " %T: The time in 24-hour notation (%H:%M:%S).\n" 21970 " %u: The day of the week as a decimal, range 1 to 7, Monday\n" 21971 " being 1. See also %w.\n" 21972 " %U: The week number of the current year as a decimal number,\n" 21973 " range 00 to 53, starting with the first Sunday as the first\n" 21974 " day of week 01. See also %V and %W.\n" 21975 " %v: Equivalent to %e-%b-%Y.\n" 21976 " %V: The ISO 8601 week number of the current year as a decimal\n" 21977 " number, range 01 to 53, where week 1 is the first week that\n" 21978 " has at least 4 days in the new year. See also %U and %W.\n" 21979 " %w: The day of the week as a decimal, range 0 to 6, Sunday\n" 21980 " being 0. See also %u.\n" 21981 " %W: The week number of the current year as a decimal number,\n" 21982 " range 00 to 53, starting with the first Monday as the first\n" 21983 " day of week 01.\n" 21984 " %x: Equivalent to %a %b %d %Y.\n" 21985 " %X: Equivalent to %T.\n" 21986 " %y: The year as a decimal number without a century (range 00\n" 21988 " %Y: The year as a decimal number including a century.\n" 21989 " %z: The UTC time-zone string = \"+0000\".\n" 21990 " %Z: The UTC time-zone abbreviation = \"UTC\".\n" 21991 " %+: The UTC date and time in default format of the Unix date\n" 21992 " command which is equivalent to %a %b %d %T %Z %Y.\n" 21993 " %%: A literal \"%\" character.\n" 21994 " The conversion specifications which are extensions to those normally\n" 21995 " provided by system strftime routines are the following: %(0-9):\n" 21996 " The fractional part of the seconds field (including leading\n" 21997 " decimal point) to the specified accuracy. Thus %S%3 would give\n" 21998 " seconds to millisecond accuracy (00.000).\n" 21999 " %.: The fractional part of the seconds field (including\n" 22000 " leading decimal point) to the maximum available accuracy. Thus\n" 22001 " %S%. would give seconds with fractional part up to 9 decimal\n" 22002 " places if available.\n" 22005 { (
char *)
"plvasp",
_wrap_plvasp, METH_VARARGS, (
char *)
"\n" 22006 "Specify viewport using aspect ratio only\n" 22010 " Selects the largest viewport with the given aspect ratio within the\n" 22011 " subpage that leaves a standard margin (left-hand margin of eight\n" 22012 " character heights, and a margin around the other three sides of five\n" 22013 " character heights).\n" 22015 " Redacted form: plvasp(aspect)\n" 22017 " This function is used in example 13.\n" 22027 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n" 22028 " axis of resulting viewport.\n" 22031 { (
char *)
"plvect",
_wrap_plvect, METH_VARARGS, (
char *)
"\n" 22036 " Draws a plot of vector data contained in the matrices (\n" 22042 " ny]) . The scaling factor for the vectors is given by scale. A\n" 22043 " transformation routine pointed to by pltr with a pointer pltr_data for\n" 22044 " additional data required by the transformation routine to map indices\n" 22045 " within the matrices to the world coordinates. The style of the vector\n" 22046 " arrow may be set using plsvect.\n" 22048 " Redacted form: plvect(u, v, scale, pltr, pltr_data) where (see above\n" 22049 " discussion) the pltr, pltr_data callback arguments are sometimes\n" 22050 " replaced by a tr vector with 6 elements, or xg and yg array arguments\n" 22051 " with either one or two dimensions.\n" 22053 " This function is used in example 22.\n" 22059 "plvect(u, v, nx, ny, scale, pltr, pltr_data)\n" 22063 " u, v (PLFLT_MATRIX, input) : A pair of matrices containing the x\n" 22064 " and y components of the vector data to be plotted.\n" 22066 " nx, ny (PLINT, input) : Dimensions of the matrices u and v.\n" 22068 " scale (PLFLT, input) : Parameter to control the scaling factor of\n" 22069 " the vectors for plotting. If scale = 0 then the scaling factor is\n" 22070 " automatically calculated for the data. If scale < 0 then the\n" 22071 " scaling factor is automatically calculated for the data and then\n" 22072 " multiplied by -\n" 22073 " scale. If scale > 0 then the scaling factor is set to scale.\n" 22075 " pltr (PLTRANSFORM_callback, input) : A callback function that\n" 22076 " defines the transformation between the zero-based indices of the\n" 22077 " matrices u and v and world coordinates.For the C case,\n" 22078 " transformation functions are provided in the PLplot library: pltr0\n" 22079 " for the identity mapping, and pltr1 and pltr2 for arbitrary\n" 22080 " mappings respectively defined by vectors and matrices. In\n" 22081 " addition, C callback routines for the transformation can be\n" 22082 " supplied by the user such as the mypltr function in\n" 22083 " examples/c/x09c.c which provides a general linear transformation\n" 22084 " between index coordinates and world coordinates.For languages\n" 22085 " other than C you should consult the PLplot documentation for the\n" 22086 " details concerning how PLTRANSFORM_callback arguments are\n" 22087 " interfaced. However, in general, a particular pattern of\n" 22088 " callback-associated arguments such as a tr vector with 6 elements;\n" 22089 " xg and yg vectors; or xg and yg matrices are respectively\n" 22090 " interfaced to a linear-transformation routine similar to the above\n" 22091 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n" 22092 " sophisticated bindings (see, e.g., the PLplot documentation)\n" 22093 " support native language callbacks for handling index to\n" 22094 " world-coordinate transformations. Examples of these various\n" 22095 " approaches are given in examples/<language>x09*,\n" 22096 " examples/<language>x16*, examples/<language>x20*,\n" 22097 " examples/<language>x21*, and examples/<language>x22*, for all our\n" 22098 " supported languages.\n" 22100 " pltr_data (PLPointer, input) : Extra parameter to help pass\n" 22101 " information to pltr0, pltr1, pltr2, or whatever callback routine\n" 22102 " that is externally supplied.\n" 22105 { (
char *)
"plvpas",
_wrap_plvpas, METH_VARARGS, (
char *)
"\n" 22106 "Specify viewport using coordinates and aspect ratio\n" 22110 " Device-independent routine for setting up the viewport. The viewport\n" 22111 " is chosen to be the largest with the given aspect ratio that fits\n" 22112 " within the specified region (in terms of normalized subpage\n" 22113 " coordinates). This routine is functionally equivalent to plvpor when\n" 22114 " a ``natural'' aspect ratio (0.0) is chosen. Unlike plvasp, this\n" 22115 " routine reserves no extra space at the edges for labels.\n" 22117 " Redacted form: plvpas(xmin, xmax, ymin, ymax, aspect)\n" 22119 " This function is used in example 9.\n" 22125 "plvpas(xmin, xmax, ymin, ymax, aspect)\n" 22129 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n" 22130 " left-hand edge of the viewport.\n" 22132 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n" 22133 " right-hand edge of the viewport.\n" 22135 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n" 22136 " bottom edge of the viewport.\n" 22138 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n" 22139 " edge of the viewport.\n" 22141 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n" 22145 { (
char *)
"plvpor",
_wrap_plvpor, METH_VARARGS, (
char *)
"\n" 22146 "Specify viewport using normalized subpage coordinates\n" 22150 " Device-independent routine for setting up the viewport. This defines\n" 22151 " the viewport in terms of normalized subpage coordinates which run from\n" 22152 " 0.0 to 1.0 (left to right and bottom to top) along each edge of the\n" 22153 " current subpage. Use the alternate routine plsvpa in order to create\n" 22154 " a viewport of a definite size.\n" 22156 " Redacted form: plvpor(xmin, xmax, ymin, ymax)\n" 22158 " This function is used in examples 2, 6-8, 10, 11, 15, 16, 18, 21, 23,\n" 22159 " 24, 26, 27, and 31.\n" 22165 "plvpor(xmin, xmax, ymin, ymax)\n" 22169 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n" 22170 " left-hand edge of the viewport.\n" 22172 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n" 22173 " right-hand edge of the viewport.\n" 22175 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n" 22176 " bottom edge of the viewport.\n" 22178 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n" 22179 " edge of the viewport.\n" 22182 { (
char *)
"plvsta",
_wrap_plvsta, METH_VARARGS, (
char *)
"\n" 22183 "Select standard viewport\n" 22187 " Selects the largest viewport within the subpage that leaves a standard\n" 22188 " margin (left-hand margin of eight character heights, and a margin\n" 22189 " around the other three sides of five character heights).\n" 22191 " Redacted form: plvsta()\n" 22193 " This function is used in examples 1, 12, 14, 17, 25, and 29.\n" 22202 { (
char *)
"plw3d",
_wrap_plw3d, METH_VARARGS, (
char *)
"\n" 22203 "Configure the transformations required for projecting a 3D surface on a 2D window\n" 22207 " Configure the transformations required for projecting a 3D surface on\n" 22208 " an existing 2D window. Those transformations (see the PLplot\n" 22209 " documentation) are done to a rectangular cuboid enclosing the 3D\n" 22210 " surface which has its limits expressed in 3D world coordinates and\n" 22211 " also normalized 3D coordinates (used for interpreting the altitude and\n" 22212 " azimuth of the viewing angle). The transformations consist of the\n" 22213 " linear transform from 3D world coordinates to normalized 3D\n" 22214 " coordinates, and the 3D rotation of normalized coordinates required to\n" 22215 " align the pole of the new 3D coordinate system with the viewing\n" 22216 " direction specified by altitude and azimuth so that x and y of the\n" 22217 " surface elements in that transformed coordinate system are the\n" 22218 " projection of the 3D surface with given viewing direction on the 2D\n" 22221 " The enclosing rectangular cuboid for the surface plot is defined by\n" 22222 " xmin, xmax, ymin, ymax, zmin and zmax in 3D world coordinates. It is\n" 22223 " mapped into the same rectangular cuboid with normalized 3D coordinate\n" 22224 " sizes of basex by basey by height so that xmin maps to -\n" 22225 " basex/2, xmax maps to basex/2, ymin maps to -\n" 22226 " basey/2, ymax maps to basey/2, zmin maps to 0 and zmax maps to height.\n" 22227 " The resulting rectangular cuboid in normalized coordinates is then\n" 22228 " viewed by an observer at altitude alt and azimuth az. This routine\n" 22229 " must be called before plbox3 or any of the 3D surface plotting\n" 22230 " routines; plmesh, plmeshc, plot3d, plot3dc, plot3dcl, plsurf3d,\n" 22231 " plsurf3dl or plfill3.\n" 22233 " Redacted form: plw3d(basex, basey, height, xmin, xmax, ymin, ymax,\n" 22234 " zmin, zmax, alt, az)\n" 22236 " This function is examples 8, 11, 18, and 21.\n" 22242 "plw3d(basex, basey, height, xmin, xmax, ymin, ymax, zmin, zmax, alt, az)\n" 22246 " basex (PLFLT, input) : The normalized x coordinate size of the\n" 22247 " rectangular cuboid.\n" 22249 " basey (PLFLT, input) : The normalized y coordinate size of the\n" 22250 " rectangular cuboid.\n" 22252 " height (PLFLT, input) : The normalized z coordinate size of the\n" 22253 " rectangular cuboid.\n" 22255 " xmin (PLFLT, input) : The minimum x world coordinate of the\n" 22256 " rectangular cuboid.\n" 22258 " xmax (PLFLT, input) : The maximum x world coordinate of the\n" 22259 " rectangular cuboid.\n" 22261 " ymin (PLFLT, input) : The minimum y world coordinate of the\n" 22262 " rectangular cuboid.\n" 22264 " ymax (PLFLT, input) : The maximum y world coordinate of the\n" 22265 " rectangular cuboid.\n" 22267 " zmin (PLFLT, input) : The minimum z world coordinate of the\n" 22268 " rectangular cuboid.\n" 22270 " zmax (PLFLT, input) : The maximum z world coordinate of the\n" 22271 " rectangular cuboid.\n" 22273 " alt (PLFLT, input) : The viewing altitude in degrees above the xy\n" 22274 " plane of the rectangular cuboid in normalized coordinates.\n" 22276 " az (PLFLT, input) : The viewing azimuth in degrees of the\n" 22277 " rectangular cuboid in normalized coordinates. When az=0, the\n" 22278 " observer is looking face onto the zx plane of the rectangular\n" 22279 " cuboid in normalized coordinates, and as az is increased, the\n" 22280 " observer moves clockwise around that cuboid when viewed from above\n" 22284 { (
char *)
"plwidth",
_wrap_plwidth, METH_VARARGS, (
char *)
"\n" 22289 " Sets the pen width.\n" 22291 " Redacted form: plwidth(width)\n" 22293 " This function is used in examples 1 and 2.\n" 22303 " width (PLFLT, input) : The desired pen width. If width is negative\n" 22304 " or the same as the previous value no action is taken. width = 0.\n" 22305 " should be interpreted as as the minimum valid pen width for the\n" 22306 " device. The interpretation of positive width values is also\n" 22307 " device dependent.\n" 22310 { (
char *)
"plwind",
_wrap_plwind, METH_VARARGS, (
char *)
"\n" 22315 " Specify the window, i.e., the world coordinates of the edges of the\n" 22318 " Redacted form: plwind(xmin, xmax, ymin, ymax)\n" 22320 " This function is used in examples 1, 2, 4, 6-12, 14-16, 18, 21, 23-27,\n" 22327 "plwind(xmin, xmax, ymin, ymax)\n" 22331 " xmin (PLFLT, input) : The world x coordinate of the left-hand edge\n" 22332 " of the viewport.\n" 22334 " xmax (PLFLT, input) : The world x coordinate of the right-hand edge\n" 22335 " of the viewport.\n" 22337 " ymin (PLFLT, input) : The world y coordinate of the bottom edge of\n" 22340 " ymax (PLFLT, input) : The world y coordinate of the top edge of the\n" 22344 { (
char *)
"plxormod",
_wrap_plxormod, METH_VARARGS, (
char *)
"\n" 22345 "Enter or leave xor mode\n" 22349 " Enter (when mode is true) or leave (when mode is false) xor mode for\n" 22350 " those drivers (e.g., the xwin driver) that support it. Enables\n" 22351 " erasing plots by drawing twice the same line, symbol, etc. If driver\n" 22352 " is not capable of xor operation it returns a status of false.\n" 22354 " Redacted form: plxormod(mode, status)\n" 22356 " This function is used in examples 1 and 20.\n" 22362 "plxormod(mode, status)\n" 22366 " mode (PLBOOL, input) : mode is true means enter xor mode and mode\n" 22367 " is false means leave xor mode.\n" 22369 " status (PLBOOL_NC_SCALAR, output) : Returned value of the status.\n" 22370 " modestatus of true (false) means driver is capable (incapable) of\n" 22374 { (
char *)
"plmap",
_wrap_plmap, METH_VARARGS, (
char *)
"\n" 22375 "Plot continental outline or shapefile data in world coordinates\n" 22379 " Plots continental outlines or shapefile data in world coordinates. A\n" 22380 " demonstration of how to use this function to create different\n" 22381 " projections can be found in examples/c/x19c. PLplot is provided with\n" 22382 " basic coastal outlines and USA state borders. To use the map\n" 22383 " functionality PLplot must be compiled with the shapelib library.\n" 22384 " Shapefiles have become a popular standard for geographical data and\n" 22385 " data in this format can be easily found from a number of online\n" 22386 " sources. Shapefile data is actually provided as three or more files\n" 22387 " with the same filename, but different extensions. The .shp and .shx\n" 22388 " files are required for plotting Shapefile data with PLplot.\n" 22390 " PLplot currently supports the point, multipoint, polyline and polygon\n" 22391 " objects within shapefiles. However holes in polygons are not\n" 22392 " supported. When plmap is used the type of object is derived from the\n" 22393 " shapefile, if you wish to override the type then use one of the other\n" 22394 " plmap variants. The built in maps have line data only.\n" 22396 " Redacted form: plmap(mapform, name, minx, maxx, miny, maxy)\n" 22398 " This function is used in example 19.\n" 22404 "plmap(mapform, name, minx, maxx, miny, maxy)\n" 22408 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22409 " transform the original map data coordinates to a new coordinate\n" 22410 " system. The PLplot-supplied map data is provided as latitudes and\n" 22411 " longitudes; other Shapefile data may be provided in other\n" 22412 " coordinate systems as can be found in their .prj plain text files.\n" 22413 " For example, by using this transform we can change from a\n" 22414 " longitude, latitude coordinate to a polar stereographic\n" 22415 " projection. Initially, x[0]..[n-1] are the original x coordinates\n" 22416 " (longitudes for the PLplot-supplied data) and y[0]..y[n-1] are the\n" 22417 " corresponding y coordinates (latitudes for the PLplot supplied\n" 22418 " data). After the call to mapform(), x[] and y[] should be\n" 22419 " replaced by the corresponding plot coordinates. If no transform is\n" 22420 " desired, mapform can be replaced by NULL.\n" 22422 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 22423 " the type of map plotted. This is either one of the PLplot built-in\n" 22424 " maps or the file name of a set of Shapefile files without the file\n" 22425 " extensions. For the PLplot built-in maps the possible values are:\n" 22426 " \"globe\" -- continental outlines\n" 22427 " \"usa\" -- USA and state boundaries\n" 22428 " \"cglobe\" -- continental outlines and countries\n" 22429 " \"usaglobe\" -- USA, state boundaries and continental outlines\n" 22432 " minx (PLFLT, input) : The minimum x value of map elements to be\n" 22433 " drawn. The units must match the shapefile (built in maps are\n" 22434 " degrees lat/lon). Objects in the file which do not encroach on the\n" 22435 " box defined by minx, maxx, miny, maxy will not be rendered. But\n" 22436 " note this is simply an optimisation, not a clipping so for objects\n" 22437 " with some points inside the box and some points outside the box\n" 22438 " all the points will be rendered. These parameters also define\n" 22439 " latitude and longitude wrapping for shapefiles using these units.\n" 22440 " Longitude points will be wrapped by integer multiples of 360\n" 22441 " degrees to place them in the box. This allows the same data to be\n" 22442 " used on plots from -180-180 or 0-360 longitude ranges. In fact if\n" 22443 " you plot from -180-540 you will get two cycles of data drawn. The\n" 22444 " value of minx must be less than the value of maxx. Passing in a\n" 22445 " nan, max/-max floating point number or +/-infinity will case the\n" 22446 " bounding box from the shapefile to be used.\n" 22448 " maxx (PLFLT, input) : The maximum x value of map elements to be\n" 22449 " drawn - see minx.\n" 22451 " miny (PLFLT, input) : The minimum y value of map elements to be\n" 22452 " drawn - see minx.\n" 22454 " maxy (PLFLT, input) : The maximum y value of map elements to be\n" 22455 " drawn - see minx.\n" 22459 "Plot all or a subset of Shapefile data using lines in world coordinates\n" 22463 " Plot all or a subset of Shapefile data using lines in world\n" 22464 " coordinates. Our 19th standard example demonstrates how to use this\n" 22465 " function. This function plots data from a Shapefile using lines as in\n" 22466 " plmap, however it also has the option of also only drawing specified\n" 22467 " elements from the Shapefile. The vector of indices of the required\n" 22468 " elements are passed as a function argument. The Shapefile data should\n" 22469 " include a metadata file (extension.dbf) listing all items within the\n" 22470 " Shapefile. This file can be opened by most popular spreadsheet\n" 22471 " programs and can be used to decide which indices to pass to this\n" 22474 " Redacted form: plmapline(mapform, name, minx, maxx, miny, maxy,\n" 22477 " This function is used in example 19.\n" 22483 "plmapline(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n" 22487 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22488 " transform the coordinates given in the shapefile into a plot\n" 22489 " coordinate system. By using this transform, we can change from a\n" 22490 " longitude, latitude coordinate to a polar stereographic project,\n" 22491 " for example. Initially, x[0]..[n-1] are the longitudes and\n" 22492 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n" 22493 " mapform(), x[] and y[] should be replaced by the corresponding\n" 22494 " plot coordinates. If no transform is desired, mapform can be\n" 22495 " replaced by NULL.\n" 22497 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 22498 " the file name of a set of Shapefile files without the file\n" 22501 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n" 22502 " be in the same units as used by the Shapefile. You could use a\n" 22503 " very large negative number to plot everything, but you can improve\n" 22504 " performance by limiting the area drawn. The units must match those\n" 22505 " of the Shapefile projection, which may be for example longitude or\n" 22506 " distance. The value of minx must be less than the value of maxx.\n" 22508 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n" 22509 " use a very large number to plot everything, but you can improve\n" 22510 " performance by limiting the area drawn.\n" 22512 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n" 22513 " be in the same units as used by the Shapefile. You could use a\n" 22514 " very large negative number to plot everything, but you can improve\n" 22515 " performance by limiting the area drawn. The units must match those\n" 22516 " of the Shapefile projection, which may be for example latitude or\n" 22517 " distance. The value of miny must be less than the value of maxy.\n" 22519 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n" 22520 " use a very large number to plot everything, but you can improve\n" 22521 " performance by limiting the area drawn.\n" 22523 " plotentries (PLINT_VECTOR, input) : A vector containing the\n" 22524 " zero-based indices of the Shapefile elements which will be drawn.\n" 22526 " plotentries to NULL will plot all elements of the Shapefile.\n" 22528 " nplotentries (PLINT, input) : The number of items in\n" 22529 " plotentries. Ignored if\n" 22530 " plotentries is NULL.\n" 22534 "Plot all or a subset of Shapefile data using strings or points in world coordinates\n" 22538 " As per plmapline, however the items are plotted as strings or points\n" 22539 " in the same way as plstring.\n" 22541 " Redacted form: plmapstring(mapform, name, string, minx, maxx, miny,\n" 22542 " maxy, plotentries)\n" 22544 " This function is not used in any examples.\n" 22550 "plmapstring(mapform, name, string, minx, maxx, miny, maxy, plotentries, nplotentries)\n" 22554 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22555 " transform the coordinates given in the shapefile into a plot\n" 22556 " coordinate system. By using this transform, we can change from a\n" 22557 " longitude, latitude coordinate to a polar stereographic project,\n" 22558 " for example. Initially, x[0]..[n-1] are the longitudes and\n" 22559 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n" 22560 " mapform(), x[] and y[] should be replaced by the corresponding\n" 22561 " plot coordinates. If no transform is desired, mapform can be\n" 22562 " replaced by NULL.\n" 22564 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 22565 " the file name of a set of Shapefile files without the file\n" 22568 " string (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n" 22571 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n" 22572 " be in the same units as used by the Shapefile. You could use a\n" 22573 " very large negative number to plot everything, but you can improve\n" 22574 " performance by limiting the area drawn. The units must match those\n" 22575 " of the Shapefile projection, which may be for example longitude or\n" 22576 " distance. The value of minx must be less than the value of maxx.\n" 22578 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n" 22579 " use a very large number to plot everything, but you can improve\n" 22580 " performance by limiting the area drawn.\n" 22582 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n" 22583 " be in the same units as used by the Shapefile. You could use a\n" 22584 " very large negative number to plot everything, but you can improve\n" 22585 " performance by limiting the area drawn. The units must match those\n" 22586 " of the Shapefile projection, which may be for example latitude or\n" 22587 " distance. The value of miny must be less than the value of maxy.\n" 22589 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n" 22590 " use a very large number to plot everything, but you can improve\n" 22591 " performance by limiting the area drawn.\n" 22593 " plotentries (PLINT_VECTOR, input) : A vector containing the\n" 22594 " zero-based indices of the Shapefile elements which will be drawn.\n" 22596 " plotentries to NULL will plot all elements of the Shapefile.\n" 22598 " nplotentries (PLINT, input) : The number of items in\n" 22599 " plotentries. Ignored if\n" 22600 " plotentries is NULL.\n" 22603 { (
char *)
"plmaptex",
_wrap_plmaptex, METH_VARARGS, (
char *)
"\n" 22604 "Draw text at points defined by Shapefile data in world coordinates\n" 22608 " As per plmapline, however the items are plotted as text in the same\n" 22609 " way as plptex.\n" 22611 " Redacted form: plmaptex(mapform, name, dx, dy, just, text, minx, maxx,\n" 22612 " miny, maxy, plotentry)\n" 22614 " This function is used in example 19.\n" 22620 "plmaptex(mapform, name, dx, dy, just, text, minx, maxx, miny, maxy, plotentry)\n" 22624 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22625 " transform the coordinates given in the shapefile into a plot\n" 22626 " coordinate system. By using this transform, we can change from a\n" 22627 " longitude, latitude coordinate to a polar stereographic project,\n" 22628 " for example. Initially, x[0]..[n-1] are the longitudes and\n" 22629 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n" 22630 " mapform(), x[] and y[] should be replaced by the corresponding\n" 22631 " plot coordinates. If no transform is desired, mapform can be\n" 22632 " replaced by NULL.\n" 22634 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 22635 " the file name of a set of Shapefile files without the file\n" 22638 " dx (PLFLT, input) : Used to define the slope of the texts which is\n" 22641 " dy (PLFLT, input) : Used to define the slope of the texts which is\n" 22644 " just (PLFLT, input) : Set the justification of the text. The value\n" 22645 " given will be the fraction of the distance along the string that\n" 22646 " sits at the given point. 0.0 gives left aligned text, 0.5 gives\n" 22647 " centralized text and 1.0 gives right aligned text.\n" 22649 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be drawn.\n" 22651 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n" 22652 " be in the same units as used by the Shapefile. You could use a\n" 22653 " very large negative number to plot everything, but you can improve\n" 22654 " performance by limiting the area drawn. The units must match those\n" 22655 " of the Shapefile projection, which may be for example longitude or\n" 22656 " distance. The value of minx must be less than the value of maxx.\n" 22658 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n" 22659 " use a very large number to plot everything, but you can improve\n" 22660 " performance by limiting the area drawn.\n" 22662 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n" 22663 " be in the same units as used by the Shapefile. You could use a\n" 22664 " very large negative number to plot everything, but you can improve\n" 22665 " performance by limiting the area drawn. The units must match those\n" 22666 " of the Shapefile projection, which may be for example latitude or\n" 22667 " distance. The value of miny must be less than the value of maxy.\n" 22669 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n" 22670 " use a very large number to plot everything, but you can improve\n" 22671 " performance by limiting the area drawn.\n" 22673 " plotentry (PLINT, input) : An integer indicating which text string\n" 22674 " of the Shapefile (zero indexed) will be drawn.\n" 22678 "Plot all or a subset of Shapefile data, filling the polygons\n" 22682 " As per plmapline, however the items are filled in the same way as\n" 22685 " Redacted form: plmapfill(mapform, name, minx, maxx, miny, maxy,\n" 22688 " This function is used in example 19.\n" 22694 "plmapfill(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n" 22698 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22699 " transform the coordinates given in the shapefile into a plot\n" 22700 " coordinate system. By using this transform, we can change from a\n" 22701 " longitude, latitude coordinate to a polar stereographic project,\n" 22702 " for example. Initially, x[0]..[n-1] are the longitudes and\n" 22703 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n" 22704 " mapform(), x[] and y[] should be replaced by the corresponding\n" 22705 " plot coordinates. If no transform is desired, mapform can be\n" 22706 " replaced by NULL.\n" 22708 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 22709 " the file name of a set of Shapefile files without the file\n" 22712 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n" 22713 " be in the same units as used by the Shapefile. You could use a\n" 22714 " very large negative number to plot everything, but you can improve\n" 22715 " performance by limiting the area drawn. The units must match those\n" 22716 " of the Shapefile projection, which may be for example longitude or\n" 22717 " distance. The value of minx must be less than the value of maxx.\n" 22719 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n" 22720 " use a very large number to plot everything, but you can improve\n" 22721 " performance by limiting the area drawn.\n" 22723 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n" 22724 " be in the same units as used by the Shapefile. You could use a\n" 22725 " very large negative number to plot everything, but you can improve\n" 22726 " performance by limiting the area drawn. The units must match those\n" 22727 " of the Shapefile projection, which may be for example latitude or\n" 22728 " distance. The value of miny must be less than the value of maxy.\n" 22730 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n" 22731 " use a very large number to plot everything, but you can improve\n" 22732 " performance by limiting the area drawn.\n" 22734 " plotentries (PLINT_VECTOR, input) : A vector containing the\n" 22735 " zero-based indices of the Shapefile elements which will be drawn.\n" 22737 " plotentries to NULL will plot all elements of the Shapefile.\n" 22739 " nplotentries (PLINT, input) : The number of items in\n" 22740 " plotentries. Ignored if\n" 22741 " plotentries is NULL.\n" 22745 "Plot latitude and longitude lines\n" 22749 " Displays latitude and longitude on the current plot. The lines are\n" 22750 " plotted in the current color and line style.\n" 22752 " Redacted form: plmeridians(mapform, dlong, dlat, minlong, maxlong,\n" 22753 " minlat, maxlat)\n" 22755 " This function is used in example 19.\n" 22761 "plmeridians(mapform, dlong, dlat, minlong, maxlong, minlat, maxlat)\n" 22765 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22766 " transform the coordinate longitudes and latitudes to a plot\n" 22767 " coordinate system. By using this transform, we can change from a\n" 22768 " longitude, latitude coordinate to a polar stereographic project,\n" 22769 " for example. Initially, x[0]..[n-1] are the longitudes and\n" 22770 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n" 22771 " mapform(), x[] and y[] should be replaced by the corresponding\n" 22772 " plot coordinates. If no transform is desired, mapform can be\n" 22773 " replaced by NULL.\n" 22775 " dlong (PLFLT, input) : The interval in degrees at which the\n" 22776 " longitude lines are to be plotted.\n" 22778 " dlat (PLFLT, input) : The interval in degrees at which the latitude\n" 22779 " lines are to be plotted.\n" 22781 " minlong (PLFLT, input) : The value of the longitude on the left\n" 22782 " side of the plot. The value of minlong must be less than the value\n" 22783 " of maxlong, and the quantity maxlong-minlong must be less than or\n" 22786 " maxlong (PLFLT, input) : The value of the longitude on the right\n" 22787 " side of the plot.\n" 22789 " minlat (PLFLT, input) : The minimum latitude to be plotted on the\n" 22790 " background. One can always use -90.0 as the boundary outside the\n" 22791 " plot window will be automatically eliminated. However, the\n" 22792 " program will be faster if one can reduce the size of the\n" 22793 " background plotted.\n" 22795 " maxlat (PLFLT, input) : The maximum latitudes to be plotted on the\n" 22796 " background. One can always use 90.0 as the boundary outside the\n" 22797 " plot window will be automatically eliminated.\n" 22800 { (
char *)
"plimage",
_wrap_plimage, METH_VARARGS, (
char *)
"\n" 22801 "Plot a 2D matrix using cmap1 with automatic color adjustment\n" 22805 " Plot a 2D matrix using the cmap1 palette. The color scale is\n" 22806 " automatically adjusted to use the maximum and minimum values in idata\n" 22807 " as valuemin and valuemax in a call to plimagefr.\n" 22809 " Redacted form: General: plimage(idata, xmin, xmax, ymin, ymax, zmin,\n" 22810 " zmax, Dxmin, Dxmax, Dymin, Dymax)\n" 22813 " This function is used in example 20.\n" 22819 "plimage(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, Dxmin, Dxmax, Dymin, Dymax)\n" 22823 " idata (PLFLT_MATRIX, input) : A matrix containing function values\n" 22824 " to plot. Should have dimensions of\n" 22828 " nx, ny (PLINT, input) : Dimensions of idata\n" 22830 " xmin, xmax, ymin, ymax (PLFLT, input) : The x and y index ranges\n" 22831 " are linearly transformed to these world coordinate ranges such\n" 22832 " that idata[0][0] corresponds to (xmin, ymin) and idata[nx - 1][ny\n" 22833 " - 1] corresponds to (xmax, ymax).\n" 22835 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n" 22836 " (inclusive) will be plotted.\n" 22838 " Dxmin, Dxmax, Dymin, Dymax (PLFLT, input) : Plot only the window of\n" 22839 " points whose plot coordinates fall inside the window of (Dxmin,\n" 22840 " Dymin) to (Dxmax, Dymax).\n" 22844 "Plot a 2D matrix using cmap1\n" 22848 " Plot a 2D matrix using cmap1.\n" 22850 " Redacted form: General: plimagefr(idata, xmin, xmax, ymin, ymax, zmin,\n" 22851 " zmax, valuemin, valuemax, pltr, pltr_data)\n" 22854 " This function is used in example 20.\n" 22860 "plimagefr(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr, pltr_data)\n" 22864 " idata (PLFLT_MATRIX, input) : A matrix of values (intensities) to\n" 22865 " plot. Should have dimensions of\n" 22869 " nx, ny (PLINT, input) : Dimensions of idata\n" 22871 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n" 22872 " pltr below for how these arguments are used (only for the special case\n" 22873 " when the callback function\n" 22874 " pltr is not supplied).\n" 22876 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n" 22877 " (inclusive) will be plotted.\n" 22879 " valuemin, valuemax (PLFLT, input) : The minimum and maximum data\n" 22880 " values to use for value to color mappings. A datum equal to or\n" 22881 " less than valuemin will be plotted with color 0.0, while a datum\n" 22882 " equal to or greater than valuemax will be plotted with color 1.0.\n" 22883 " Data between valuemin and valuemax map linearly to colors in the\n" 22884 " range (0.0-1.0).\n" 22886 " pltr (PLTRANSFORM_callback, input) : A callback function that\n" 22887 " defines the transformation between the zero-based indices of the\n" 22888 " matrix idata and world coordinates. If\n" 22889 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n" 22890 " indices of idata are mapped to the range\n" 22892 " xmax and the y indices of idata are mapped to the range\n" 22894 " ymax.For the C case, transformation functions are provided in the\n" 22895 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n" 22896 " pltr2 for arbitrary mappings respectively defined by vectors and\n" 22897 " matrices. In addition, C callback routines for the transformation\n" 22898 " can be supplied by the user such as the mypltr function in\n" 22899 " examples/c/x09c.c which provides a general linear transformation\n" 22900 " between index coordinates and world coordinates.For languages\n" 22901 " other than C you should consult the PLplot documentation for the\n" 22902 " details concerning how PLTRANSFORM_callback arguments are\n" 22903 " interfaced. However, in general, a particular pattern of\n" 22904 " callback-associated arguments such as a tr vector with 6 elements;\n" 22905 " xg and yg vectors; or xg and yg matrices are respectively\n" 22906 " interfaced to a linear-transformation routine similar to the above\n" 22907 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n" 22908 " sophisticated bindings (see, e.g., the PLplot documentation)\n" 22909 " support native language callbacks for handling index to\n" 22910 " world-coordinate transformations. Examples of these various\n" 22911 " approaches are given in examples/<language>x09*,\n" 22912 " examples/<language>x16*, examples/<language>x20*,\n" 22913 " examples/<language>x21*, and examples/<language>x22*, for all our\n" 22914 " supported languages.\n" 22916 " pltr_data (PLPointer, input) : Extra parameter to help pass\n" 22917 " information to pltr0, pltr1, pltr2, or whatever routine is\n" 22918 " externally supplied.\n" 22927 "Wait for graphics input event and translate to world coordinates.\n" 22931 " Wait for graphics input event and translate to world coordinates.\n" 22932 " Returns 0 if no translation to world coordinates is possible.\n" 22934 " This function returns 1 on success and 0 if no translation to world\n" 22935 " coordinates is possible.\n" 22937 " Redacted form: plGetCursor(gin)\n" 22939 " This function is used in examples 1 and 20.\n" 22945 "PLINT plGetCursor(gin)\n" 22949 " gin (PLGraphicsIn *, output) : Pointer to PLGraphicsIn structure\n" 22950 " which will contain the output. The structure is not allocated by\n" 22951 " the routine and must exist before the function is called.\n" 22954 { NULL, NULL, 0, NULL }
23028 {0, 0, 0, 0.0, 0, 0}};
23082 #define SWIGRUNTIME_DEBUG 23105 if (!module_head) {
23118 }
while (iter!= module_head);
23129 if (init == 0)
return;
23132 #ifdef SWIGRUNTIME_DEBUG 23140 #ifdef SWIGRUNTIME_DEBUG 23150 #ifdef SWIGRUNTIME_DEBUG 23151 printf(
"SWIG_InitializeModule: found type %s\n", type->
name);
23155 #ifdef SWIGRUNTIME_DEBUG 23156 printf(
"SWIG_InitializeModule: found and overwrite type %s \n", type->
name);
23165 while (cast->
type) {
23168 #ifdef SWIGRUNTIME_DEBUG 23169 printf(
"SWIG_InitializeModule: look cast %s\n", cast->
type->
name);
23173 #ifdef SWIGRUNTIME_DEBUG 23174 if (ret) printf(
"SWIG_InitializeModule: found cast %s\n", ret->
name);
23179 #ifdef SWIGRUNTIME_DEBUG 23180 printf(
"SWIG_InitializeModule: skip old type %s\n", ret->
name);
23187 #ifdef SWIGRUNTIME_DEBUG 23188 if (ocast) printf(
"SWIG_InitializeModule: skip old cast %s\n", ret->
name);
23190 if (!ocast) ret = 0;
23195 #ifdef SWIGRUNTIME_DEBUG 23196 printf(
"SWIG_InitializeModule: adding cast %s\n", cast->
type->
name);
23211 #ifdef SWIGRUNTIME_DEBUG 23212 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
23217 while (cast->
type) {
23218 printf(
"SWIG_InitializeModule: cast type %s\n", cast->
type->
name);
23222 printf(
"---- Total casts: %d\n",j);
23224 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
23237 static int init_run = 0;
23239 if (init_run)
return;
23250 equiv = equiv->
next;
23271 #define SWIG_newvarlink() SWIG_Python_newvarlink() 23272 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) 23273 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) 23281 PyObject *(*get_attr)(void);
23293 #if PY_VERSION_HEX >= 0x03000000 23294 return PyUnicode_InternFromString(
"<Swig global variables>");
23296 return PyString_FromString(
"<Swig global variables>");
23302 #if PY_VERSION_HEX >= 0x03000000 23303 PyObject *str = PyUnicode_InternFromString(
"(");
23307 for (var = v->
vars; var; var=var->
next) {
23308 tail = PyUnicode_FromString(var->
name);
23309 joined = PyUnicode_Concat(str,
tail);
23314 tail = PyUnicode_InternFromString(
", ");
23315 joined = PyUnicode_Concat(str,
tail);
23321 tail = PyUnicode_InternFromString(
")");
23322 joined = PyUnicode_Concat(str,
tail);
23327 PyObject *str = PyString_FromString(
"(");
23329 for (var = v->
vars; var; var=var->
next) {
23330 PyString_ConcatAndDel(&str,PyString_FromString(var->
name));
23331 if (var->
next) PyString_ConcatAndDel(&str,PyString_FromString(
", "));
23333 PyString_ConcatAndDel(&str,PyString_FromString(
")"));
23342 fprintf(fp,
"Swig global variables ");
23343 fprintf(fp,
"%s\n", tmp ? tmp :
"Invalid global variable");
23362 PyObject *res = NULL;
23365 if (strcmp(var->
name,n) == 0) {
23371 if (res == NULL && !PyErr_Occurred()) {
23372 PyErr_Format(PyExc_AttributeError,
"Unknown C global variable '%s'", n);
23382 if (strcmp(var->
name,n) == 0) {
23388 if (res == 1 && !PyErr_Occurred()) {
23389 PyErr_Format(PyExc_AttributeError,
"Unknown C global variable '%s'", n);
23396 static char varlink__doc__[] =
"Swig var link object";
23397 static PyTypeObject varlink_type;
23398 static int type_init = 0;
23400 const PyTypeObject tmp = {
23401 #if PY_VERSION_HEX >= 0x03000000 23402 PyVarObject_HEAD_INIT(NULL, 0)
23404 PyObject_HEAD_INIT(NULL)
23407 (
char *)
"swigvarlink",
23431 #if PY_VERSION_HEX >= 0x02020000 23432 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
23434 #if PY_VERSION_HEX >= 0x02030000 23437 #if PY_VERSION_HEX >= 0x02060000 23440 #if PY_VERSION_HEX >= 0x03040000 23443 #ifdef COUNT_ALLOCS 23447 #if PY_VERSION_HEX >= 0x02050000 23453 varlink_type = tmp;
23455 #if PY_VERSION_HEX < 0x02020000 23456 varlink_type.ob_type = &PyType_Type;
23458 if (PyType_Ready(&varlink_type) < 0)
23462 return &varlink_type;
23472 return ((PyObject*) result);
23480 size_t size = strlen(
name)+1;
23481 gv->
name = (
char *)malloc(size);
23494 static PyObject *_SWIG_globals = 0;
23496 return _SWIG_globals;
23508 for (i = 0; constants[i].
type; ++i) {
23509 switch(constants[i].type) {
23514 obj =
SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
23521 PyDict_SetItemString(d, constants[i].
name, obj);
23537 for (i = 0; methods[i].ml_name; ++i) {
23538 const char *c = methods[i].ml_doc;
23540 c = strstr(c,
"swig_ptr: ");
23544 const char *
name = c + 10;
23545 for (j = 0; const_table[j].
type; ++j) {
23546 if (strncmp(const_table[j].
name,
name,
23547 strlen(const_table[j].
name)) == 0) {
23548 ci = &(const_table[j]);
23555 size_t shift = (ci->
ptype) - types;
23557 size_t ldoc = (c - methods[i].ml_doc);
23558 size_t lptr = strlen(ty->
name)+2*
sizeof(
void*)+2;
23559 char *ndoc = (
char*)malloc(ldoc + lptr + 10);
23562 memcpy(buff, methods[i].ml_doc, ldoc);
23564 memcpy(buff,
"swig_ptr: ", 10);
23567 methods[i].ml_doc = ndoc;
23588 #if PY_VERSION_HEX >= 0x03000000 23594 PyObject *m, *d, *md;
23595 #if PY_VERSION_HEX >= 0x03000000 23596 static struct PyModuleDef SWIG_module = {
23597 # if PY_VERSION_HEX >= 0x03020000 23598 PyModuleDef_HEAD_INIT,
23601 PyObject_HEAD_INIT(NULL)
23618 #if defined(SWIGPYTHON_BUILTIN) 23620 0, 0, 0, 0, 0, 0, 0
23622 static PyGetSetDef this_getset_def = {
23623 (
char *)
"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
23625 static SwigPyGetSet thisown_getset_closure = {
23629 static PyGetSetDef thisown_getset_def = {
23630 (
char *)
"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
23632 PyTypeObject *builtin_pytype;
23633 int builtin_base_count;
23636 PyGetSetDescrObject *static_getset;
23637 PyTypeObject *metatype;
23638 PyTypeObject *swigpyobject;
23640 PyObject *public_interface, *public_symbol;
23641 PyObject *this_descr;
23642 PyObject *thisown_descr;
23643 PyObject *
self = 0;
23646 (void)builtin_pytype;
23647 (void)builtin_base_count;
23648 (void)builtin_basetype;
23650 (void)static_getset;
23654 metatype = SwigPyObjectType();
23661 #if PY_VERSION_HEX >= 0x03000000 23662 m = PyModule_Create(&SWIG_module);
23667 md = d = PyModule_GetDict(m);
23672 #ifdef SWIGPYTHON_BUILTIN 23676 assert(SwigPyObject_stype);
23679 SwigPyObject_stype->
clientdata = &SwigPyObject_clientdata;
23680 SwigPyObject_clientdata.
pytype = swigpyobject;
23681 }
else if (swigpyobject->tp_basicsize != cd->
pytype->tp_basicsize) {
23682 PyErr_SetString(PyExc_RuntimeError,
"Import error: attempted to load two incompatible swig-generated modules.");
23683 # if PY_VERSION_HEX >= 0x03000000 23696 (void)thisown_descr;
23698 public_interface = PyList_New(0);
23700 (void)public_symbol;
23702 PyDict_SetItemString(md,
"__all__", public_interface);
23703 Py_DECREF(public_interface);
23705 SwigPyBuiltin_AddPublicSymbol(public_interface,
SwigMethods[i].ml_name);
23892 #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)
integer(kind=private_plint), parameter, private maxlen
PLPointer marshal_PLPointer(PyObject *input, int isimg)
SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz)
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)
void(* pltr_func)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer)
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)
PLFLT(* f2eval_func)(PLINT, PLINT, PLPointer)
#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)
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)
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
PyObject_HEAD swig_globalvar * vars
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)
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
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)
void(* mapform_func)(PLINT, PLFLT *, PLFLT *)
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)
PLINT(* defined_func)(PLFLT, PLFLT)
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
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 PyObject * _wrap_plmeridians(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plgyax(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
struct swig_type_info *(* swig_dycast_func)(void **)
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)
void(* fill_func)(PLINT, const PLFLT *, const PLFLT *)
SWIGINTERN PyObject * _wrap_plgfont(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME PyTypeObject * SwigPyObject_TypeOnce(void)
void *(* swig_converter_func)(void *, int *)
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))
PyObject *(* get_attr)(void)
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)
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
SWIGINTERN size_t SWIG_strnlen(const char *s, size_t maxlen)
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
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)
PyObject_HEAD void * pack
SWIGINTERN int SWIG_AsCharArray(PyObject *obj, char *val, size_t size)
void(* label_func)(PLINT, PLFLT, char *, PLINT, PLPointer)
static swig_cast_info * swig_cast_initial[]
SWIGRUNTIME PyObject * SWIG_This(void)
getreadbufferproc readbufferproc
#define myArray_ContiguousFromObject
SWIGRUNTIME PyObject * SWIG_Python_ErrorType(int code)
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)
struct swig_globalvar * next
#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
#define pl_setcontlabelformat
SWIGINTERN PyObject * _wrap_PLGraphicsIn_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
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)
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[]
SWIGINTERN Py_ssize_t SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
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)
void(* ct_func)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer)
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)