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 785 str = PyUnicode_AsUTF8String(str);
786 PyBytes_AsStringAndSize(str, &cstr, &len);
787 newstr = (
char *) malloc(len+1);
788 memcpy(newstr, cstr, len+1);
792 return PyString_AsString(str);
796 #if PY_VERSION_HEX >= 0x03000000 797 # define SWIG_Python_str_DelForPy3(x) free( (void*) (x) ) 799 # define SWIG_Python_str_DelForPy3(x) 806 #if PY_VERSION_HEX >= 0x03000000 807 return PyUnicode_FromString(c);
809 return PyString_FromString(c);
814 #if PY_VERSION_HEX < 0x02020000 815 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) 816 # define PyOS_snprintf _snprintf 818 # define PyOS_snprintf snprintf 823 #if PY_VERSION_HEX < 0x02020000 825 #ifndef SWIG_PYBUFFER_SIZE 826 # define SWIG_PYBUFFER_SIZE 1024 835 res = vsnprintf(
buf,
sizeof(
buf), fmt, ap);
837 return (res < 0 || res >= (
int)
sizeof(
buf)) ? 0 : PyString_FromString(
buf);
842 # define PyObject_DEL PyObject_Del 846 #if PY_VERSION_HEX < 0x02020000 847 # ifndef PyExc_StopIteration 848 # define PyExc_StopIteration PyExc_RuntimeError 850 # ifndef PyObject_GenericGetAttr 851 # define PyObject_GenericGetAttr 0 856 #if PY_VERSION_HEX < 0x02010000 857 # ifndef Py_NotImplemented 858 # define Py_NotImplemented PyExc_RuntimeError 863 #if PY_VERSION_HEX < 0x02010000 864 # ifndef PyString_AsStringAndSize 865 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} 870 #if PY_VERSION_HEX < 0x02000000 871 # ifndef PySequence_Size 872 # define PySequence_Size PySequence_Length 877 #if PY_VERSION_HEX < 0x02030000 881 PyObject *result = ok ? Py_True : Py_False;
890 #if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) 892 # define PY_SSIZE_T_MAX INT_MAX 893 # define PY_SSIZE_T_MIN INT_MIN 906 PyObject *i = PyNumber_Int(x);
908 result = PyInt_AsLong(i);
915 #if PY_VERSION_HEX < 0x02050000 916 #define PyInt_FromSize_t(x) PyInt_FromLong((long)x) 919 #if PY_VERSION_HEX < 0x02040000 920 #define Py_VISIT(op) \ 923 int vret = visit((op), arg); \ 930 #if PY_VERSION_HEX < 0x02030000 941 #if PY_VERSION_HEX < 0x02030000 945 #if ((PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION > 6) || \ 946 (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION > 0) || \ 947 (PY_MAJOR_VERSION > 3)) 948 # define SWIGPY_USE_CAPSULE 949 # define SWIGPY_CAPSULE_NAME ((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME) 952 #if PY_VERSION_HEX < 0x03020000 953 #define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type) 954 #define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name) 955 #define Py_hash_t long 967 type = PyExc_MemoryError;
970 type = PyExc_IOError;
973 type = PyExc_RuntimeError;
976 type = PyExc_IndexError;
979 type = PyExc_TypeError;
982 type = PyExc_ZeroDivisionError;
985 type = PyExc_OverflowError;
988 type = PyExc_SyntaxError;
991 type = PyExc_ValueError;
994 type = PyExc_SystemError;
997 type = PyExc_AttributeError;
1000 type = PyExc_RuntimeError;
1010 PyObject *
value = 0;
1011 PyObject *traceback = 0;
1013 if (PyErr_Occurred()) PyErr_Fetch(&type, &
value, &traceback);
1016 PyObject *old_str = PyObject_Str(
value);
1025 PyErr_SetString(PyExc_RuntimeError, mesg);
1029 #if defined(SWIG_PYTHON_NO_THREADS) 1030 # if defined(SWIG_PYTHON_THREADS) 1031 # undef SWIG_PYTHON_THREADS 1034 #if defined(SWIG_PYTHON_THREADS) 1035 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) 1036 # if (PY_VERSION_HEX >= 0x02030000) 1037 # define SWIG_PYTHON_USE_GIL 1040 # if defined(SWIG_PYTHON_USE_GIL) 1041 # ifndef SWIG_PYTHON_INITIALIZE_THREADS 1042 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() 1045 class SWIG_Python_Thread_Block {
1047 PyGILState_STATE state;
1049 void end() {
if (status) { PyGILState_Release(state); status =
false;} }
1050 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
1051 ~SWIG_Python_Thread_Block() { end(); }
1053 class SWIG_Python_Thread_Allow {
1055 PyThreadState *save;
1057 void end() {
if (status) { PyEval_RestoreThread(save); status =
false; }}
1058 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
1059 ~SWIG_Python_Thread_Allow() { end(); }
1061 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block 1062 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end() 1063 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow 1064 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end() 1066 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure() 1067 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block) 1068 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread() 1069 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow) 1072 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS) 1073 # define SWIG_PYTHON_INITIALIZE_THREADS 1075 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) 1076 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK 1078 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK) 1079 # define SWIG_PYTHON_THREAD_END_BLOCK 1081 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) 1082 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW 1084 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW) 1085 # define SWIG_PYTHON_THREAD_END_ALLOW 1089 # define SWIG_PYTHON_INITIALIZE_THREADS 1090 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK 1091 # define SWIG_PYTHON_THREAD_END_BLOCK 1092 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW 1093 # define SWIG_PYTHON_THREAD_END_ALLOW 1109 #define SWIG_PY_POINTER 4 1110 #define SWIG_PY_BINARY 5 1127 #if PY_VERSION_HEX >= 0x03000000 1130 return PyInstanceMethod_New(func);
1156 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) 1157 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) 1158 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) 1160 #ifdef SWIGPYTHON_BUILTIN 1161 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags) 1163 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) 1166 #define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) 1168 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty) 1169 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src) 1170 #define swig_owntype int 1173 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 1174 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) 1177 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) 1178 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) 1181 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type) 1182 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(NULL, ptr, type, 0) 1185 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 1186 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) 1191 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule(clientdata) 1192 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) 1193 #define SWIG_NewClientData(obj) SwigPyClientData_New(obj) 1195 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj 1196 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg 1197 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code) 1198 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) 1199 #define SWIG_fail goto fail 1209 PyErr_SetObject(errtype, obj);
1217 PyErr_SetString(errtype, msg);
1221 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) 1225 #if defined(SWIGPYTHON_BUILTIN) 1228 SwigPyBuiltin_AddPublicSymbol(PyObject *seq,
const char *key) {
1229 PyObject *s = PyString_InternFromString(key);
1230 PyList_Append(seq, s);
1236 #if PY_VERSION_HEX < 0x02030000 1237 PyDict_SetItemString(d, (
char *)
name, obj);
1239 PyDict_SetItemString(d,
name, obj);
1242 if (public_interface)
1243 SwigPyBuiltin_AddPublicSymbol(public_interface,
name);
1250 #if PY_VERSION_HEX < 0x02030000 1251 PyDict_SetItemString(d, (
char *)
name, obj);
1253 PyDict_SetItemString(d,
name, obj);
1264 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) 1267 }
else if (result == Py_None) {
1271 if (!PyList_Check(result)) {
1272 PyObject *o2 = result;
1273 result = PyList_New(1);
1274 PyList_SetItem(result, 0, o2);
1276 PyList_Append(result,obj);
1285 }
else if (result == Py_None) {
1289 if (!PyTuple_Check(result)) {
1291 result = PyTuple_New(1);
1292 PyTuple_SET_ITEM(result, 0, o2);
1294 o3 = PyTuple_New(1);
1295 PyTuple_SET_ITEM(o3, 0, obj);
1297 result = PySequence_Concat(o2, o3);
1314 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got none",
1319 if (!PyTuple_Check(args)) {
1320 if (min <= 1 && max >= 1) {
1323 for (i = 1; i <
max; ++i) {
1328 PyErr_SetString(PyExc_SystemError,
"UnpackTuple() argument list is not a tuple");
1333 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got %d",
1336 }
else if (l >
max) {
1337 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got %d",
1342 for (i = 0; i < l; ++i) {
1343 objs[i] = PyTuple_GET_ITEM(args, i);
1345 for (; l <
max; ++l) {
1354 #if PY_VERSION_HEX >= 0x02020000 1355 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); 1357 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj); 1365 #define SWIG_STATIC_POINTER(var) var 1367 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var 1375 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) 1376 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) 1378 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) 1380 #define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2) 1381 #define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN) 1388 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 1389 # ifndef SWIG_PYTHON_NO_BUILD_NONE 1390 # ifndef SWIG_PYTHON_BUILD_NONE 1391 # define SWIG_PYTHON_BUILD_NONE 1396 #ifdef SWIG_PYTHON_BUILD_NONE 1399 # define Py_None SWIG_Py_None() 1404 PyObject *none = Py_BuildValue((
char*)
"");
1421 PyObject *none = Py_None;
1448 PyObject *klass = data ? data->
klass : 0;
1449 return (klass ? klass : PyExc_RuntimeError);
1462 Py_INCREF(data->
klass);
1464 if (PyClass_Check(obj)) {
1469 #if (PY_VERSION_HEX < 0x02020000) 1472 data->
newraw = PyObject_GetAttrString(data->
klass, (
char *)
"__new__");
1476 data->
newargs = PyTuple_New(1);
1477 PyTuple_SetItem(data->
newargs, 0, obj);
1484 data->
destroy = PyObject_GetAttrString(data->
klass, (
char *)
"__swig_destroy__");
1485 if (PyErr_Occurred()) {
1492 flags = PyCFunction_GET_FLAGS(data->
destroy);
1494 data->
delargs = !(flags & (METH_O));
1509 Py_XDECREF(data->
newraw);
1522 #ifdef SWIGPYTHON_BUILTIN 1528 #ifdef SWIGPYTHON_BUILTIN 1531 SwigPyObject_get___dict__(PyObject *v, PyObject *
SWIGUNUSEDPARM(args))
1536 sobj->dict = PyDict_New();
1538 Py_INCREF(sobj->dict);
1547 return PyLong_FromVoidPtr(v->
ptr);
1553 PyObject *res = NULL;
1554 PyObject *args = PyTuple_New(1);
1559 #if PY_VERSION_HEX >= 0x03000000 1560 res = PyUnicode_Format(ofmt,args);
1562 res = PyString_Format(ofmt,args);
1599 # if PY_VERSION_HEX >= 0x03000000 1600 PyObject *joined = PyUnicode_Concat(repr, nrep);
1605 PyString_ConcatAndDel(&repr,nrep);
1616 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1624 if( op != Py_EQ && op != Py_NE ) {
1635 #ifdef SWIGPYTHON_BUILTIN 1640 assert(SwigPyObject_stype);
1656 #ifdef SWIGPYTHON_BUILTIN 1658 if (PyType_IsSubtype(op->ob_type, target_tp))
1660 return (strcmp(op->ob_type->tp_name,
"SwigPyObject") == 0);
1663 || (strcmp(
Py_TYPE(op)->tp_name,
"SwigPyObject") == 0);
1674 PyObject *next = sobj->
next;
1678 PyObject *destroy = data ? data->
destroy : 0;
1690 PyObject *val = NULL, *type = NULL, *tb = NULL;
1691 PyErr_Fetch(&val, &type, &tb);
1699 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1700 PyObject *mself = PyCFunction_GET_SELF(destroy);
1701 res = ((*meth)(mself, v));
1704 PyErr_WriteUnraisable(destroy);
1706 PyErr_Restore(val, type, tb);
1710 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) 1713 printf(
"swig/python detected a memory leak of type '%s', no destructor found.\n", (
name ?
name :
"unknown"));
1727 if (!PyArg_ParseTuple(next,(
char *)
"O:append", &tmp))
return NULL;
1731 PyErr_SetString(PyExc_TypeError,
"Attempt to append a non SwigPyObject");
1748 Py_INCREF(sobj->
next);
1783 #if (PY_VERSION_HEX < 0x02020000) 1784 if (!PyArg_ParseTuple(args,(
char *)
"|O:own",&val))
1785 #elif (PY_VERSION_HEX < 0x02050000) 1786 if (!PyArg_UnpackTuple(args, (
char *)
"own", 0, 1, &val))
1788 if (!PyArg_UnpackTuple(args,
"own", 0, 1, &val))
1799 if (PyObject_IsTrue(val)) {
1805 if (PyObject_IsTrue(val)) {
1819 {(
char *)
"disown", (PyCFunction)
SwigPyObject_disown, METH_NOARGS, (
char *)
"releases ownership of the pointer"},
1820 {(
char *)
"acquire", (PyCFunction)
SwigPyObject_acquire, METH_NOARGS, (
char *)
"acquires ownership of the pointer"},
1821 {(
char *)
"own", (PyCFunction)
SwigPyObject_own, METH_VARARGS, (
char *)
"returns/sets ownership of the pointer"},
1822 {(
char *)
"append", (PyCFunction)
SwigPyObject_append, METH_O, (
char *)
"appends another 'this' object"},
1823 {(
char *)
"next", (PyCFunction)
SwigPyObject_next, METH_NOARGS, (
char *)
"returns the next 'this' object"},
1824 {(
char *)
"__repr__",(PyCFunction)
SwigPyObject_repr, METH_NOARGS, (
char *)
"returns object representation"},
1830 {(
char *)
"disown", (PyCFunction)
SwigPyObject_disown, METH_VARARGS, (
char *)
"releases ownership of the pointer"},
1831 {(
char *)
"acquire", (PyCFunction)
SwigPyObject_acquire, METH_VARARGS, (
char *)
"acquires ownership of the pointer"},
1832 {(
char *)
"own", (PyCFunction)
SwigPyObject_own, METH_VARARGS, (
char *)
"returns/sets ownership of the pointer"},
1833 {(
char *)
"append", (PyCFunction)
SwigPyObject_append, METH_VARARGS, (
char *)
"appends another 'this' object"},
1834 {(
char *)
"next", (PyCFunction)
SwigPyObject_next, METH_VARARGS, (
char *)
"returns the next 'this' object"},
1835 {(
char *)
"__repr__",(PyCFunction)
SwigPyObject_repr, METH_VARARGS, (
char *)
"returns object representation"},
1840 #if PY_VERSION_HEX < 0x02020000 1850 static char swigobject_doc[] =
"Swig object carries a C/C++ instance pointer";
1852 static PyNumberMethods SwigPyObject_as_number = {
1857 #
if PY_VERSION_HEX < 0x03000000
1873 #
if PY_VERSION_HEX < 0x03000000
1877 #if PY_VERSION_HEX < 0x03000000 1883 #if PY_VERSION_HEX < 0x03000000 1887 #if PY_VERSION_HEX >= 0x03050000 1888 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1889 #elif PY_VERSION_HEX >= 0x03000000 1890 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1891 #elif PY_VERSION_HEX >= 0x02050000 1892 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1893 #elif PY_VERSION_HEX >= 0x02020000 1894 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1895 #elif PY_VERSION_HEX >= 0x02000000 1896 0,0,0,0,0,0,0,0,0,0,0
1900 static PyTypeObject swigpyobject_type;
1901 static int type_init = 0;
1903 const PyTypeObject tmp = {
1904 #if PY_VERSION_HEX >= 0x03000000 1905 PyVarObject_HEAD_INIT(NULL, 0)
1907 PyObject_HEAD_INIT(NULL)
1910 (
char *)
"SwigPyObject",
1915 #
if PY_VERSION_HEX < 0x02020000
1921 #if PY_VERSION_HEX >= 0x03000000 1927 &SwigPyObject_as_number,
1942 #
if PY_VERSION_HEX >= 0x02020000
1964 #
if PY_VERSION_HEX >= 0x02030000
1967 #
if PY_VERSION_HEX >= 0x02060000
1970 #
if PY_VERSION_HEX >= 0x03040000
1977 #
if PY_VERSION_HEX >= 0x02050000
1983 swigpyobject_type = tmp;
1985 #if PY_VERSION_HEX < 0x02020000 1986 swigpyobject_type.ob_type = &PyType_Type;
1988 if (PyType_Ready(&swigpyobject_type) < 0)
1992 return &swigpyobject_type;
2005 return (PyObject *)sobj;
2023 fputs(
"<Swig Packed ", fp);
2060 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
2061 return s ? s : strncmp((
char *)v->
pack, (
char *)w->
pack, 2*v->
size);
2075 || (strcmp((op)->ob_type->tp_name,
"SwigPyPacked") == 0);
2090 static char swigpacked_doc[] =
"Swig object carries a C/C++ instance pointer";
2091 static PyTypeObject swigpypacked_type;
2092 static int type_init = 0;
2094 const PyTypeObject tmp = {
2095 #if PY_VERSION_HEX>=0x03000000 2096 PyVarObject_HEAD_INIT(NULL, 0)
2098 PyObject_HEAD_INIT(NULL)
2101 (
char *)
"SwigPyPacked",
2108 #if PY_VERSION_HEX>=0x03000000 2129 #
if PY_VERSION_HEX >= 0x02020000
2151 #
if PY_VERSION_HEX >= 0x02030000
2154 #
if PY_VERSION_HEX >= 0x02060000
2157 #
if PY_VERSION_HEX >= 0x03040000
2164 #
if PY_VERSION_HEX >= 0x02050000
2170 swigpypacked_type = tmp;
2172 #if PY_VERSION_HEX < 0x02020000 2173 swigpypacked_type.ob_type = &PyType_Type;
2175 if (PyType_Ready(&swigpypacked_type) < 0)
2179 return &swigpypacked_type;
2187 void *pack = malloc(size);
2189 memcpy(pack, ptr, size);
2198 return (PyObject *) sobj;
2206 if (sobj->
size != size)
return 0;
2207 memcpy(ptr, sobj->
pack, size);
2237 #if PY_VERSION_HEX>=0x03000000 2238 #define SWIG_PYTHON_SLOW_GETSET_THIS 2249 #ifdef SWIGPYTHON_BUILTIN 2251 # ifdef PyWeakref_CheckProxy 2252 if (PyWeakref_CheckProxy(pyobj)) {
2253 pyobj = PyWeakref_GET_OBJECT(pyobj);
2263 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) 2264 if (PyInstance_Check(pyobj)) {
2265 obj = _PyInstance_Lookup(pyobj,
SWIG_This());
2267 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
2268 if (dictptr != NULL) {
2269 PyObject *dict = *dictptr;
2270 obj = dict ? PyDict_GetItem(dict,
SWIG_This()) : 0;
2272 #ifdef PyWeakref_CheckProxy 2273 if (PyWeakref_CheckProxy(pyobj)) {
2274 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
2278 obj = PyObject_GetAttr(pyobj,
SWIG_This());
2282 if (PyErr_Occurred()) PyErr_Clear();
2288 obj = PyObject_GetAttr(pyobj,
SWIG_This());
2292 if (PyErr_Occurred()) PyErr_Clear();
2312 int oldown = sobj->
own;
2330 if (obj == Py_None && !implicit_conv) {
2342 void *vptr = sobj->
ptr;
2347 if (ptr) *ptr = vptr;
2367 if (ptr) *ptr = vptr;
2373 *own = *own | sobj->
own;
2379 if (implicit_conv) {
2382 PyObject *klass = data->
klass;
2388 if (PyErr_Occurred()) {
2414 if (!
SWIG_IsOK(res) && obj == Py_None) {
2417 if (PyErr_Occurred())
2429 if (!PyCFunction_Check(obj)) {
2436 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2437 const char *desc = doc ? strstr(doc,
"swig_ptr: ") : 0;
2482 #if (PY_VERSION_HEX >= 0x02020000) 2484 PyObject *newraw = data->
newraw;
2486 inst = PyObject_Call(newraw, data->
newargs, NULL);
2488 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 2489 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2490 if (dictptr != NULL) {
2491 PyObject *dict = *dictptr;
2493 dict = PyDict_New();
2504 #if PY_VERSION_HEX >= 0x03000000 2505 inst = ((PyTypeObject*) data->
newargs)->tp_new((PyTypeObject*) data->
newargs, Py_None, Py_None);
2508 Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
2511 PyObject *dict = PyDict_New();
2514 inst = PyInstance_NewRaw(data->
newargs, dict);
2521 #if (PY_VERSION_HEX >= 0x02010000) 2523 PyObject *dict = PyDict_New();
2526 inst = PyInstance_NewRaw(data->
newargs, dict);
2529 return (PyObject *) inst;
2531 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2535 inst->in_class = (PyClassObject *)data->
newargs;
2536 Py_INCREF(inst->in_class);
2537 inst->in_dict = PyDict_New();
2538 if (inst->in_dict == NULL) {
2542 #ifdef Py_TPFLAGS_HAVE_WEAKREFS 2543 inst->in_weakreflist = NULL;
2545 #ifdef Py_TPFLAGS_GC 2546 PyObject_GC_Init(inst);
2549 return (PyObject *) inst;
2558 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 2559 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2560 if (dictptr != NULL) {
2563 dict = PyDict_New();
2570 dict = PyObject_GetAttrString(inst, (
char*)
"__dict__");
2605 if (clientdata && clientdata->
pytype) {
2610 PyObject *next_self = clientdata->
pytype->tp_alloc(clientdata->
pytype, 0);
2611 while (newobj->
next)
2613 newobj->
next = next_self;
2615 #ifdef SWIGPYTHON_BUILTIN 2621 #ifdef SWIGPYTHON_BUILTIN 2630 return (PyObject*) newobj;
2657 #ifdef SWIG_LINK_RUNTIME 2658 void *SWIG_ReturnGlobalTypeList(
void *);
2663 static void *type_pointer = (
void *)0;
2665 if (!type_pointer) {
2666 #ifdef SWIG_LINK_RUNTIME 2667 type_pointer = SWIG_ReturnGlobalTypeList((
void *)0);
2669 # ifdef SWIGPY_USE_CAPSULE 2670 type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0);
2675 if (PyErr_Occurred()) {
2677 type_pointer = (
void *)0;
2684 #if PY_MAJOR_VERSION < 2 2691 if (!PyModule_Check(m)) {
2692 PyErr_SetString(PyExc_TypeError,
"PyModule_AddObject() needs module as first arg");
2696 PyErr_SetString(PyExc_TypeError,
"PyModule_AddObject() needs non-NULL value");
2700 dict = PyModule_GetDict(m);
2703 PyErr_Format(PyExc_SystemError,
"module '%s' has no __dict__",
2704 PyModule_GetName(m));
2707 if (PyDict_SetItemString(dict,
name, o))
2715 #ifdef SWIGPY_USE_CAPSULE 2721 #ifdef SWIGPY_USE_CAPSULE 2741 #if PY_VERSION_HEX >= 0x03000000 2745 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };
2746 PyObject *module = Py_InitModule((
char*)
"swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table);
2748 #ifdef SWIGPY_USE_CAPSULE 2750 if (pointer && module) {
2753 Py_XDECREF(pointer);
2757 if (pointer && module) {
2760 Py_XDECREF(pointer);
2777 PyObject *obj = PyDict_GetItem(cache, key);
2780 #ifdef SWIGPY_USE_CAPSULE 2789 #ifdef SWIGPY_USE_CAPSULE 2790 obj = PyCapsule_New((
void*) descriptor, NULL, NULL);
2792 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2794 PyDict_SetItem(cache, key, obj);
2805 #define SWIG_POINTER_EXCEPTION 0 2806 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) 2807 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) 2812 if (PyErr_Occurred()) {
2814 PyObject *
value = 0;
2815 PyObject *traceback = 0;
2816 PyErr_Fetch(&type, &
value, &traceback);
2819 PyObject *old_str = PyObject_Str(
value);
2839 if (PyErr_Occurred()) {
2842 PyOS_snprintf(mesg,
sizeof(mesg),
"argument number %d:", argnum);
2854 return ty ? ty->
str :
"";
2861 #if defined(SWIG_COBJECT_TYPES) 2865 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, 'SwigPyObject(%s)' is received",
2872 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2874 PyObject *str = PyObject_Str(obj);
2877 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, '%s(%s)' is received",
2881 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, '%s' is received",
2888 PyErr_Format(PyExc_TypeError,
"a '%s' is expected", type);
2890 PyErr_Format(PyExc_TypeError,
"unexpected type is received");
2901 #if SWIG_POINTER_EXCEPTION 2911 #ifdef SWIGPYTHON_BUILTIN 2913 SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *
name, PyObject *
value) {
2914 PyTypeObject *tp = obj->ob_type;
2916 PyObject *encoded_name;
2920 # ifdef Py_USING_UNICODE 2921 if (PyString_Check(
name)) {
2922 name = PyUnicode_Decode(PyString_AsString(
name), PyString_Size(
name), NULL, NULL);
2925 }
else if (!PyUnicode_Check(
name))
2927 if (!PyString_Check(
name))
2930 PyErr_Format(PyExc_TypeError,
"attribute name must be string, not '%.200s'",
name->ob_type->tp_name);
2937 if (PyType_Ready(tp) < 0)
2941 descr = _PyType_Lookup(tp,
name);
2944 f = descr->ob_type->tp_descr_set;
2946 if (PyString_Check(
name)) {
2947 encoded_name =
name;
2950 encoded_name = PyUnicode_AsUTF8String(
name);
2952 PyErr_Format(PyExc_AttributeError,
"'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name));
2953 Py_DECREF(encoded_name);
2955 res = f(descr, obj,
value);
2971 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) 2973 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else 2979 #define SWIGTYPE_p_PLGraphicsIn swig_types[0] 2980 #define SWIGTYPE_p_PLcGrid swig_types[1] 2981 #define SWIGTYPE_p_PLcGrid2 swig_types[2] 2982 #define SWIGTYPE_p_char swig_types[3] 2983 #define SWIGTYPE_p_double swig_types[4] 2984 #define SWIGTYPE_p_f_double_double__int swig_types[5] 2985 #define SWIGTYPE_p_f_double_double_p_double_p_double_p_void__void swig_types[6] 2986 #define SWIGTYPE_p_f_int_double_p_char_int_p_void__void swig_types[7] 2987 #define SWIGTYPE_p_f_int_p_double_p_double__void swig_types[8] 2988 #define SWIGTYPE_p_f_int_p_q_const__double_p_q_const__double__void swig_types[9] 2989 #define SWIGTYPE_p_int swig_types[10] 2990 #define SWIGTYPE_p_p_char swig_types[11] 2991 #define SWIGTYPE_p_p_double swig_types[12] 2992 #define SWIGTYPE_p_unsigned_int swig_types[13] 2995 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 2996 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 3000 #if (PY_VERSION_HEX <= 0x02000000) 3001 # if !defined(SWIG_PYTHON_CLASSIC) 3002 # error "This python version requires swig to be run with the '-classic' option" 3009 #if PY_VERSION_HEX >= 0x03000000 3010 # define SWIG_init PyInit__plplotc 3013 # define SWIG_init init_plplotc 3016 #define SWIG_name "_plplotc" 3018 #define SWIGVERSION 0x030012 3019 #define SWIG_VERSION SWIGVERSION 3022 #define SWIG_as_voidptr(a) (void *)((const void *)(a)) 3023 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a)) 3026 #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION 3027 #include <arrayobject.h> 3031 #define NPY_PLINT NPY_INT32 3034 #define NPY_PLFLT NPY_FLOAT64 3036 #define NPY_PLFLT NPY_FLOAT32 3040 #if !defined ( PySequence_Fast_GET_ITEM ) 3041 #define PySequence_Fast_GET_ITEM PySequence_GetItem 3043 #define PySequence_Size PySequence_Length 3054 if (PyFloat_Check(obj)) {
3055 if (val) *val = PyFloat_AsDouble(obj);
3057 #if PY_VERSION_HEX < 0x03000000 3058 }
else if (PyInt_Check(obj)) {
3059 if (val) *val = (double) PyInt_AsLong(obj);
3062 }
else if (PyLong_Check(obj)) {
3063 double v = PyLong_AsDouble(obj);
3064 if (!PyErr_Occurred()) {
3071 #ifdef SWIG_PYTHON_CAST_MODE 3074 double d = PyFloat_AsDouble(obj);
3075 if (!PyErr_Occurred()) {
3082 long v = PyLong_AsLong(obj);
3083 if (!PyErr_Occurred()) {
3096 #define SWIG_From_double PyFloat_FromDouble 3111 return PyInt_FromLong((
long)
value);
3116 #if !defined(SWIG_NO_LLONG_MAX) 3117 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__) 3118 # define LLONG_MAX __LONG_LONG_MAX__ 3119 # define LLONG_MIN (-LLONG_MAX - 1LL) 3120 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) 3134 if ((
min <= x && x <=
max)) {
3135 double fx = floor(x);
3136 double cx = ceil(x);
3137 double rd = ((x - fx) < 0.5) ? fx : cx;
3138 if ((errno == EDOM) || (errno == ERANGE)) {
3141 double summ, reps, diff;
3144 }
else if (rd > x) {
3151 if (reps < 8*DBL_EPSILON) {
3164 #if PY_VERSION_HEX < 0x03000000 3165 if (PyInt_Check(obj)) {
3166 if (val) *val = PyInt_AsLong(obj);
3170 if (PyLong_Check(obj)) {
3171 long v = PyLong_AsLong(obj);
3172 if (!PyErr_Occurred()) {
3180 #ifdef SWIG_PYTHON_CAST_MODE 3183 long v = PyInt_AsLong(obj);
3184 if (!PyErr_Occurred()) {
3194 if (val) *val = (long)(d);
3210 if ((v < INT_MIN || v > INT_MAX)) {
3213 if (val) *val = (int)(v);
3223 #if PY_VERSION_HEX < 0x03000000 3224 if (PyInt_Check(obj)) {
3225 long v = PyInt_AsLong(obj);
3234 if (PyLong_Check(obj)) {
3235 unsigned long v = PyLong_AsUnsignedLong(obj);
3236 if (!PyErr_Occurred()) {
3244 #ifdef SWIG_PYTHON_CAST_MODE 3247 unsigned long v = PyLong_AsUnsignedLong(obj);
3248 if (!PyErr_Occurred()) {
3258 if (val) *val = (
unsigned long)(d);
3274 if ((v > UINT_MAX)) {
3277 if (val) *val = (
unsigned int)(v);
3294 static int init = 0;
3307 #if PY_VERSION_HEX>=0x03000000 3308 #if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3309 if (PyBytes_Check(obj))
3311 if (PyUnicode_Check(obj))
3314 if (PyString_Check(obj))
3318 #if PY_VERSION_HEX>=0x03000000 3319 #if !defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3320 if (!alloc && cptr) {
3327 obj = PyUnicode_AsUTF8String(obj);
3330 PyBytes_AsStringAndSize(obj, &cstr, &len);
3345 #if defined(SWIG_PYTHON_SAFE_CSTRINGS) 3351 *cptr = (
char *)memcpy(malloc((len + 1)*
sizeof(
char)), cstr,
sizeof(char)*(len + 1));
3358 #if PY_VERSION_HEX>=0x03000000 3359 #if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3360 *cptr = PyBytes_AsString(obj);
3369 if (psize) *psize = len + 1;
3370 #if PY_VERSION_HEX>=0x03000000 && !defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3375 #if defined(SWIG_PYTHON_2_UNICODE) 3376 #if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3377 #error "Cannot use both SWIG_PYTHON_2_UNICODE and SWIG_PYTHON_STRICT_BYTE_CHAR at once" 3379 #if PY_VERSION_HEX<0x03000000 3380 if (PyUnicode_Check(obj)) {
3382 if (!alloc && cptr) {
3385 obj = PyUnicode_AsUTF8String(obj);
3389 *cptr = (
char *)memcpy(malloc((len + 1)*
sizeof(
char)), cstr,
sizeof(char)*(len + 1));
3391 if (psize) *psize = len + 1;
3403 if (pchar_descriptor) {
3406 if (cptr) *cptr = (
char *) vptr;
3407 if (psize) *psize = vptr ? (strlen((
char *)vptr) + 1) : 0;
3420 char* cptr = 0;
size_t csize = 0;
int alloc =
SWIG_OLDOBJ;
3424 if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
3425 if (csize <= size) {
3427 if (csize) memcpy(val, cptr, csize*
sizeof(
char));
3428 if (csize < size) memset(val + csize, 0, (size - csize)*
sizeof(
char));
3446 if (size > INT_MAX) {
3448 return pchar_descriptor ?
3451 #if PY_VERSION_HEX >= 0x03000000 3452 #if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3453 return PyBytes_FromStringAndSize(carray, (
Py_ssize_t)(size));
3455 #if PY_VERSION_HEX >= 0x03010000 3456 return PyUnicode_DecodeUTF8(carray, (
Py_ssize_t)(size),
"surrogateescape");
3458 return PyUnicode_FromStringAndSize(carray, (
Py_ssize_t)(size));
3462 return PyString_FromStringAndSize(carray, (
Py_ssize_t)(size));
3475 for (p = s;
maxlen-- && *p; p++)
3484 #define t_output_helper SWIG_Python_AppendOutput 3495 if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
3496 if (val) *val = (char)(v);
3514 PyArrayObject* tmp = (PyArrayObject *) PyArray_ContiguousFromObject( in,
NPY_PLINT,
3519 if ( PyArray_Check( in ) )
3522 tmp = (PyArrayObject *) PyArray_Cast( (PyArrayObject *) in,
NPY_PLINT );
3529 #define myArray_ContiguousFromObject PyArray_ContiguousFromObject 3532 PyObject *resultobj = 0;
3546 PyObject * obj0 = 0 ;
3547 PyObject * obj1 = 0 ;
3554 if (!PyArg_ParseTuple(args,(
char *)
"OO:pltr0",&obj0,&obj1))
SWIG_fail;
3559 arg1 = (
PLFLT)(val1);
3564 arg2 = (
PLFLT)(val2);
3565 pltr0(arg1,arg2,arg3,arg4,arg5);
3600 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two arrays." );
3609 PyErr_SetString( PyExc_ValueError,
"Expected a sequence to two 1D arrays." );
3618 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg." );
3626 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg + 1." );
3648 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two arrays." );
3657 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two 2D arrays." );
3663 PyErr_SetString( PyExc_ValueError,
"Arrays must be same size." );
3672 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg." );
3680 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg + 1." );
3704 PyObject *resultobj = 0;
3718 PyObject * obj0 = 0 ;
3719 PyObject * obj1 = 0 ;
3720 PyObject * obj2 = 0 ;
3724 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pltr1",&obj0,&obj1,&obj2))
SWIG_fail;
3729 arg1 = (
PLFLT)(val1);
3734 arg2 = (
PLFLT)(val2);
3740 pltr1(arg1,arg2,arg3,arg4,arg5);
3767 PyObject *resultobj = 0;
3781 PyObject * obj0 = 0 ;
3782 PyObject * obj1 = 0 ;
3783 PyObject * obj2 = 0 ;
3787 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pltr2",&obj0,&obj1,&obj2))
SWIG_fail;
3792 arg1 = (
PLFLT)(val1);
3797 arg2 = (
PLFLT)(val2);
3803 pltr2(arg1,arg2,arg3,arg4,arg5);
3832 static PyInterpreterState *save_interp = NULL;
3842 #define MY_BLOCK_THREADS { \ 3843 PyThreadState *prev_state, *new_state; \ 3846 PyEval_AcquireLock(); \ 3847 new_state = PyThreadState_New( save_interp ); \ 3848 prev_state = PyThreadState_Swap( new_state ); 3849 #define MY_UNBLOCK_THREADS \ 3850 new_state = PyThreadState_Swap( prev_state ); \ 3851 PyThreadState_Clear( new_state ); \ 3852 PyEval_ReleaseLock(); \ 3853 PyThreadState_Delete( new_state ); \ 3856 #define MY_BLOCK_THREADS 3857 #define MY_UNBLOCK_THREADS 3880 PyObject *pdata, *arglist, *result;
3884 pdata = (PyObject *) data;
3891 Py_XINCREF( pdata );
3896 arglist = Py_BuildValue(
"(ddO)", x, y, pdata );
3898 arglist = Py_BuildValue(
"(ffO)", x, y, pdata );
3900 if ( arglist == NULL )
3902 fprintf( stderr,
"Py_BuildValue failed to make argument list.\n" );
3907 result = PyEval_CallObject(
python_pltr, arglist );
3909 Py_CLEAR( arglist );
3911 if ( result == NULL )
3913 fprintf( stderr,
"call to python pltr function with 3 arguments failed\n" );
3914 PyErr_SetString( PyExc_RuntimeError,
"pltr callback must take 3 arguments." );
3920 if ( tmp == 0 || PyArray_DIMS( tmp )[0] != 2 )
3922 fprintf( stderr,
"pltr callback must return a 2 element array or sequence\n" );
3923 PyErr_SetString( PyExc_RuntimeError,
"pltr callback must return a 2-sequence." );
3943 PyObject *pdata, *arglist, *result;
3944 PLFLT fresult = 0.0;
3947 pdata = (PyObject *) data;
3950 Py_XINCREF( pdata );
3954 arglist = Py_BuildValue(
"(iiO)", x, y, pdata );
3958 Py_CLEAR( arglist );
3960 if ( !PyFloat_Check( result ) )
3962 fprintf( stderr,
"f2eval callback must return a float\n" );
3963 PyErr_SetString( PyExc_RuntimeError,
"f2eval callback must return a float." );
3968 fresult = (
PLFLT) PyFloat_AsDouble( result );
3980 PyObject *pdata, *arglist, *result, *unicode_string;
3985 pdata = (PyObject *) data;
3990 Py_XINCREF( pdata );
3995 arglist = Py_BuildValue(
"(ldO)", axis,
value, pdata );
3997 arglist = Py_BuildValue(
"(lfO)", axis,
value, pdata );
4004 if ( result == NULL )
4006 fprintf( stderr,
"label callback failed with 3 arguments\n" );
4007 PyErr_SetString( PyExc_RuntimeError,
"label callback must take 3 arguments." );
4009 else if ( PyString_Check( result ) )
4012 pystring = PyString_AsString( result );
4013 strncpy(
string, pystring, len );
4015 else if ( PyUnicode_Check( result ) )
4018 unicode_string = PyUnicode_AsEncodedString( result,
"utf-8",
"Error ~" );
4019 pystring = PyBytes_AS_STRING( unicode_string );
4021 strncpy(
string, pystring, len );
4025 fprintf( stderr,
"label callback must return a string\n" );
4026 PyErr_SetString( PyExc_RuntimeError,
"label callback must return a string." );
4037 PyObject *px, *py, *pdata, *arglist, *result;
4042 pdata = (PyObject *) data;
4049 Py_XINCREF( pdata );
4053 px = PyArray_SimpleNewFromData( 1, &n,
NPY_PLFLT, (
void *) xt );
4054 py = PyArray_SimpleNewFromData( 1, &n,
NPY_PLFLT, (
void *) yt );
4055 arglist = Py_BuildValue(
"(ddOOO)", x, y, px, py, pdata );
4057 result = PyEval_CallObject(
python_ct, arglist );
4059 Py_CLEAR( arglist );
4064 if ( result == NULL )
4066 fprintf( stderr,
"call to python coordinate transform function with 5 arguments failed\n" );
4067 PyErr_SetString( PyExc_RuntimeError,
"coordinate transform callback must take 5 arguments." );
4078 PyObject *px, *py, *arglist, *result;
4089 #ifdef PL_HAVE_PTHREAD 4090 px = PyArray_SimpleNewFromData( 1, &nn,
NPY_PLFLT, (
void *) x );
4091 py = PyArray_SimpleNewFromData( 1, &nn,
NPY_PLFLT, (
void *) y );
4093 px = PyArray_FromDimsAndData( 1, &n,
NPY_PLFLT, (
char *) x );
4094 py = PyArray_FromDimsAndData( 1, &n,
NPY_PLFLT, (
char *) y );
4096 arglist = Py_BuildValue(
"(iOO)", n, px, py );
4100 Py_CLEAR( arglist );
4104 if ( result == NULL )
4106 fprintf( stderr,
"call to python mapform function with 3 arguments failed\n" );
4107 PyErr_SetString( PyExc_RuntimeError,
"mapform callback must take 3 arguments." );
4120 PyObject * rep = PyObject_Repr( input );
4125 if ( PyUnicode_Check( rep ) )
4127 PyObject *uni_str = PyUnicode_AsEncodedString( rep,
"utf-8",
"Error ~" );
4128 str = PyBytes_AS_STRING( uni_str );
4132 str = PyString_AsString( rep );
4134 if ( strstr( str,
"function pltr0" ) != 0 )
4140 else if ( strstr( str,
"function pltr1" ) != 0 )
4146 else if ( strstr( str,
"function pltr2" ) != 0 )
4156 Py_XINCREF( input );
4164 Py_XINCREF( input );
4180 Py_XINCREF( input );
4195 Py_XINCREF( input );
4213 if ( input != Py_None )
4217 if ( input != Py_None )
4221 Py_XINCREF( input );
4225 fprintf( stderr,
"pltr_type is invalid\n" );
4246 fprintf( stderr,
"pltr_type is invalid\n" );
4255 PyObject *resultobj = 0;
4262 PyObject * obj0 = 0 ;
4263 PyObject * obj1 = 0 ;
4265 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_type_set",&obj0,&obj1))
SWIG_fail;
4276 if (arg1) (arg1)->type = arg2;
4285 PyObject *resultobj = 0;
4289 PyObject * obj0 = 0 ;
4292 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_type_get",&obj0))
SWIG_fail;
4298 result = (int) ((arg1)->type);
4307 PyObject *resultobj = 0;
4314 PyObject * obj0 = 0 ;
4315 PyObject * obj1 = 0 ;
4317 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_state_set",&obj0,&obj1))
SWIG_fail;
4327 arg2 = (
unsigned int)(val2);
4328 if (arg1) (arg1)->state = arg2;
4337 PyObject *resultobj = 0;
4341 PyObject * obj0 = 0 ;
4342 unsigned int result;
4344 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_state_get",&obj0))
SWIG_fail;
4350 result = (
unsigned int) ((arg1)->state);
4359 PyObject *resultobj = 0;
4366 PyObject * obj0 = 0 ;
4367 PyObject * obj1 = 0 ;
4369 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_keysym_set",&obj0,&obj1))
SWIG_fail;
4379 arg2 = (
unsigned int)(val2);
4380 if (arg1) (arg1)->keysym = arg2;
4389 PyObject *resultobj = 0;
4393 PyObject * obj0 = 0 ;
4394 unsigned int result;
4396 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_keysym_get",&obj0))
SWIG_fail;
4402 result = (
unsigned int) ((arg1)->keysym);
4411 PyObject *resultobj = 0;
4418 PyObject * obj0 = 0 ;
4419 PyObject * obj1 = 0 ;
4421 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_button_set",&obj0,&obj1))
SWIG_fail;
4431 arg2 = (
unsigned int)(val2);
4432 if (arg1) (arg1)->button = arg2;
4441 PyObject *resultobj = 0;
4445 PyObject * obj0 = 0 ;
4446 unsigned int result;
4448 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_button_get",&obj0))
SWIG_fail;
4454 result = (
unsigned int) ((arg1)->button);
4463 PyObject *resultobj = 0;
4470 PyObject * obj0 = 0 ;
4471 PyObject * obj1 = 0 ;
4473 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_subwindow_set",&obj0,&obj1))
SWIG_fail;
4483 arg2 = (
PLINT)(val2);
4484 if (arg1) (arg1)->subwindow = arg2;
4493 PyObject *resultobj = 0;
4497 PyObject * obj0 = 0 ;
4500 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_subwindow_get",&obj0))
SWIG_fail;
4506 result = (
PLINT) ((arg1)->subwindow);
4515 PyObject *resultobj = 0;
4522 PyObject * obj0 = 0 ;
4523 PyObject * obj1 = 0 ;
4525 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_string_set",&obj0,&obj1))
SWIG_fail;
4535 arg2 = (
char *)(temp2);
4536 if (arg2) memcpy(arg1->
string,arg2,16*
sizeof(
char));
4537 else memset(arg1->
string,0,16*
sizeof(
char));
4546 PyObject *resultobj = 0;
4550 PyObject * obj0 = 0 ;
4553 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_string_get",&obj0))
SWIG_fail;
4559 result = (
char *)(
char *) ((arg1)->
string);
4574 PyObject *resultobj = 0;
4581 PyObject * obj0 = 0 ;
4582 PyObject * obj1 = 0 ;
4584 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_pX_set",&obj0,&obj1))
SWIG_fail;
4595 if (arg1) (arg1)->pX = arg2;
4604 PyObject *resultobj = 0;
4608 PyObject * obj0 = 0 ;
4611 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_pX_get",&obj0))
SWIG_fail;
4617 result = (int) ((arg1)->pX);
4626 PyObject *resultobj = 0;
4633 PyObject * obj0 = 0 ;
4634 PyObject * obj1 = 0 ;
4636 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_pY_set",&obj0,&obj1))
SWIG_fail;
4647 if (arg1) (arg1)->pY = arg2;
4656 PyObject *resultobj = 0;
4660 PyObject * obj0 = 0 ;
4663 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_pY_get",&obj0))
SWIG_fail;
4669 result = (int) ((arg1)->pY);
4678 PyObject *resultobj = 0;
4685 PyObject * obj0 = 0 ;
4686 PyObject * obj1 = 0 ;
4688 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_dX_set",&obj0,&obj1))
SWIG_fail;
4698 arg2 = (
PLFLT)(val2);
4699 if (arg1) (arg1)->dX = arg2;
4708 PyObject *resultobj = 0;
4712 PyObject * obj0 = 0 ;
4715 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_dX_get",&obj0))
SWIG_fail;
4721 result = (
PLFLT) ((arg1)->dX);
4730 PyObject *resultobj = 0;
4737 PyObject * obj0 = 0 ;
4738 PyObject * obj1 = 0 ;
4740 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_dY_set",&obj0,&obj1))
SWIG_fail;
4750 arg2 = (
PLFLT)(val2);
4751 if (arg1) (arg1)->dY = arg2;
4760 PyObject *resultobj = 0;
4764 PyObject * obj0 = 0 ;
4767 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_dY_get",&obj0))
SWIG_fail;
4773 result = (
PLFLT) ((arg1)->dY);
4782 PyObject *resultobj = 0;
4789 PyObject * obj0 = 0 ;
4790 PyObject * obj1 = 0 ;
4792 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_wX_set",&obj0,&obj1))
SWIG_fail;
4802 arg2 = (
PLFLT)(val2);
4803 if (arg1) (arg1)->wX = arg2;
4812 PyObject *resultobj = 0;
4816 PyObject * obj0 = 0 ;
4819 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_wX_get",&obj0))
SWIG_fail;
4825 result = (
PLFLT) ((arg1)->wX);
4834 PyObject *resultobj = 0;
4841 PyObject * obj0 = 0 ;
4842 PyObject * obj1 = 0 ;
4844 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_wY_set",&obj0,&obj1))
SWIG_fail;
4854 arg2 = (
PLFLT)(val2);
4855 if (arg1) (arg1)->wY = arg2;
4864 PyObject *resultobj = 0;
4868 PyObject * obj0 = 0 ;
4871 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_wY_get",&obj0))
SWIG_fail;
4877 result = (
PLFLT) ((arg1)->wY);
4886 PyObject *resultobj = 0;
4889 if (!PyArg_ParseTuple(args,(
char *)
":new_PLGraphicsIn"))
SWIG_fail;
4899 PyObject *resultobj = 0;
4903 PyObject * obj0 = 0 ;
4905 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_PLGraphicsIn",&obj0))
SWIG_fail;
4911 free((
char *) arg1);
4921 if (!PyArg_ParseTuple(args,(
char *)
"O:swigregister", &obj))
return NULL;
4927 PyObject *resultobj = 0;
4931 PyObject * obj0 = 0 ;
4933 if (!PyArg_ParseTuple(args,(
char *)
"O:plsxwin",&obj0))
SWIG_fail;
4938 arg1 = (
PLINT)(val1);
4948 PyObject *resultobj = 0;
4955 PyObject * obj0 = 0 ;
4956 PyObject * obj1 = 0 ;
4958 if (!PyArg_ParseTuple(args,(
char *)
"OO:pl_setcontlabelformat",&obj0,&obj1))
SWIG_fail;
4963 arg1 = (
PLINT)(val1);
4968 arg2 = (
PLINT)(val2);
4978 PyObject *resultobj = 0;
4991 PyObject * obj0 = 0 ;
4992 PyObject * obj1 = 0 ;
4993 PyObject * obj2 = 0 ;
4994 PyObject * obj3 = 0 ;
4996 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:pl_setcontlabelparam",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
5001 arg1 = (
PLFLT)(val1);
5006 arg2 = (
PLFLT)(val2);
5011 arg3 = (
PLFLT)(val3);
5016 arg4 = (
PLINT)(val4);
5026 PyObject *resultobj = 0;
5030 PyObject * obj0 = 0 ;
5032 if (!PyArg_ParseTuple(args,(
char *)
"O:pladv",&obj0))
SWIG_fail;
5037 arg1 = (
PLINT)(val1);
5047 PyObject *resultobj = 0;
5072 PyObject * obj0 = 0 ;
5073 PyObject * obj1 = 0 ;
5074 PyObject * obj2 = 0 ;
5075 PyObject * obj3 = 0 ;
5076 PyObject * obj4 = 0 ;
5077 PyObject * obj5 = 0 ;
5078 PyObject * obj6 = 0 ;
5079 PyObject * obj7 = 0 ;
5081 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plarc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
5086 arg1 = (
PLFLT)(val1);
5091 arg2 = (
PLFLT)(val2);
5096 arg3 = (
PLFLT)(val3);
5101 arg4 = (
PLFLT)(val4);
5106 arg5 = (
PLFLT)(val5);
5111 arg6 = (
PLFLT)(val6);
5116 arg7 = (
PLFLT)(val7);
5122 plarc(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5131 PyObject *resultobj = 0;
5134 char *arg3 = (
char *) 0 ;
5137 char *arg6 = (
char *) 0 ;
5158 PyObject * obj0 = 0 ;
5159 PyObject * obj1 = 0 ;
5160 PyObject * obj2 = 0 ;
5161 PyObject * obj3 = 0 ;
5162 PyObject * obj4 = 0 ;
5163 PyObject * obj5 = 0 ;
5164 PyObject * obj6 = 0 ;
5165 PyObject * obj7 = 0 ;
5167 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plaxes",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
5172 arg1 = (
PLFLT)(val1);
5177 arg2 = (
PLFLT)(val2);
5182 arg3 = (
char *)(buf3);
5187 arg4 = (
PLFLT)(val4);
5192 arg5 = (
PLINT)(val5);
5197 arg6 = (
char *)(buf6);
5202 arg7 = (
PLFLT)(val7);
5207 arg8 = (
PLINT)(val8);
5208 plaxes(arg1,arg2,(
char const *)arg3,arg4,arg5,(
char const *)arg6,arg7,arg8);
5221 PyObject *resultobj = 0;
5226 PyArrayObject *tmp1 = NULL ;
5227 PyArrayObject *tmp3 = NULL ;
5230 PyObject * obj0 = 0 ;
5231 PyObject * obj1 = 0 ;
5232 PyObject * obj2 = 0 ;
5234 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plbin",&obj0,&obj1,&obj2))
SWIG_fail;
5239 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
5240 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
5246 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
5248 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
5251 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
5257 arg4 = (
PLINT)(val4);
5258 plbin(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
5279 PyObject *resultobj = 0;
5301 PyObject * obj0 = 0 ;
5309 if (!PyArg_ParseTuple(args,(
char *)
"O:plbtime",&obj0))
SWIG_fail;
5314 arg7 = (
PLFLT)(val7);
5315 plbtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5360 PyObject *resultobj = 0;
5362 if (!PyArg_ParseTuple(args,(
char *)
":plbop"))
SWIG_fail;
5372 PyObject *resultobj = 0;
5373 char *arg1 = (
char *) 0 ;
5376 char *arg4 = (
char *) 0 ;
5393 PyObject * obj0 = 0 ;
5394 PyObject * obj1 = 0 ;
5395 PyObject * obj2 = 0 ;
5396 PyObject * obj3 = 0 ;
5397 PyObject * obj4 = 0 ;
5398 PyObject * obj5 = 0 ;
5400 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plbox",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
5405 arg1 = (
char *)(buf1);
5410 arg2 = (
PLFLT)(val2);
5415 arg3 = (
PLINT)(val3);
5420 arg4 = (
char *)(buf4);
5425 arg5 = (
PLFLT)(val5);
5430 arg6 = (
PLINT)(val6);
5431 plbox((
char const *)arg1,arg2,arg3,(
char const *)arg4,arg5,arg6);
5444 PyObject *resultobj = 0;
5445 char *arg1 = (
char *) 0 ;
5446 char *arg2 = (
char *) 0 ;
5449 char *arg5 = (
char *) 0 ;
5450 char *arg6 = (
char *) 0 ;
5453 char *arg9 = (
char *) 0 ;
5454 char *arg10 = (
char *) 0 ;
5487 PyObject * obj0 = 0 ;
5488 PyObject * obj1 = 0 ;
5489 PyObject * obj2 = 0 ;
5490 PyObject * obj3 = 0 ;
5491 PyObject * obj4 = 0 ;
5492 PyObject * obj5 = 0 ;
5493 PyObject * obj6 = 0 ;
5494 PyObject * obj7 = 0 ;
5495 PyObject * obj8 = 0 ;
5496 PyObject * obj9 = 0 ;
5497 PyObject * obj10 = 0 ;
5498 PyObject * obj11 = 0 ;
5500 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOOO:plbox3",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11))
SWIG_fail;
5505 arg1 = (
char *)(buf1);
5510 arg2 = (
char *)(buf2);
5515 arg3 = (
PLFLT)(val3);
5520 arg4 = (
PLINT)(val4);
5525 arg5 = (
char *)(buf5);
5530 arg6 = (
char *)(buf6);
5535 arg7 = (
PLFLT)(val7);
5540 arg8 = (
PLINT)(val8);
5545 arg9 = (
char *)(buf9);
5550 arg10 = (
char *)(buf10);
5555 arg11 = (
PLFLT)(val11);
5560 arg12 = (
PLINT)(val12);
5561 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);
5582 PyObject *resultobj = 0;
5598 PyObject * obj0 = 0 ;
5599 PyObject * obj1 = 0 ;
5604 if (!PyArg_ParseTuple(args,(
char *)
"OO:plcalc_world",&obj0,&obj1))
SWIG_fail;
5609 arg1 = (
PLFLT)(val1);
5614 arg2 = (
PLFLT)(val2);
5642 PyObject *resultobj = 0;
5644 if (!PyArg_ParseTuple(args,(
char *)
":plclear"))
SWIG_fail;
5654 PyObject *resultobj = 0;
5658 PyObject * obj0 = 0 ;
5660 if (!PyArg_ParseTuple(args,(
char *)
"O:plcol0",&obj0))
SWIG_fail;
5665 arg1 = (
PLINT)(val1);
5675 PyObject *resultobj = 0;
5679 PyObject * obj0 = 0 ;
5681 if (!PyArg_ParseTuple(args,(
char *)
"O:plcol1",&obj0))
SWIG_fail;
5686 arg1 = (
PLFLT)(val1);
5696 PyObject *resultobj = 0;
5730 PyObject * obj0 = 0 ;
5731 PyObject * obj1 = 0 ;
5732 PyObject * obj2 = 0 ;
5733 PyObject * obj3 = 0 ;
5734 PyObject * obj4 = 0 ;
5735 PyObject * obj5 = 0 ;
5736 PyObject * obj6 = 0 ;
5737 PyObject * obj7 = 0 ;
5738 PyObject * obj8 = 0 ;
5739 PyObject * obj9 = 0 ;
5740 PyObject * obj10 = 0 ;
5742 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plconfigtime",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
5747 arg1 = (
PLFLT)(val1);
5752 arg2 = (
PLFLT)(val2);
5757 arg3 = (
PLFLT)(val3);
5762 arg4 = (
PLINT)(val4);
5772 arg6 = (
PLINT)(val6);
5777 arg7 = (
PLINT)(val7);
5782 arg8 = (
PLINT)(val8);
5787 arg9 = (
PLINT)(val9);
5792 arg10 = (
PLINT)(val10);
5797 arg11 = (
PLFLT)(val11);
5798 plconfigtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
5807 PyObject *resultobj = 0;
5819 PyArrayObject *tmp1 = NULL ;
5828 PyArrayObject *tmp8 = NULL ;
5829 PyObject * obj0 = 0 ;
5830 PyObject * obj1 = 0 ;
5831 PyObject * obj2 = 0 ;
5832 PyObject * obj3 = 0 ;
5833 PyObject * obj4 = 0 ;
5834 PyObject * obj5 = 0 ;
5835 PyObject * obj6 = 0 ;
5836 PyObject * obj7 = 0 ;
5845 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO|OO:plcont",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
5851 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
5852 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
5854 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
5855 for ( i = 0; i < arg2; i++ )
5856 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
5862 arg4 = (
PLINT)(val4);
5867 arg5 = (
PLINT)(val5);
5872 arg6 = (
PLINT)(val6);
5877 arg7 = (
PLINT)(val7);
5882 arg9 = PyArray_DIMS( tmp8 )[0];
5883 arg8 = (
PLFLT *) PyArray_DATA( tmp8 );
5888 if ( obj6 == Py_None )
5894 if ( !PyCallable_Check( (PyObject *) obj6 ) )
5896 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
5905 if ( obj7 == Py_None )
5913 plcont((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(
double const *)arg8,arg9,arg10,arg11);
5948 PyObject *resultobj = 0;
5970 PyObject * obj0 = 0 ;
5971 PyObject * obj1 = 0 ;
5972 PyObject * obj2 = 0 ;
5973 PyObject * obj3 = 0 ;
5974 PyObject * obj4 = 0 ;
5975 PyObject * obj5 = 0 ;
5978 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plctime",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
5983 arg1 = (
PLINT)(val1);
5988 arg2 = (
PLINT)(val2);
5993 arg3 = (
PLINT)(val3);
5998 arg4 = (
PLINT)(val4);
6003 arg5 = (
PLINT)(val5);
6008 arg6 = (
PLFLT)(val6);
6009 plctime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
6024 PyObject *resultobj = 0;
6031 PyObject * obj0 = 0 ;
6032 PyObject * obj1 = 0 ;
6034 if (!PyArg_ParseTuple(args,(
char *)
"OO:plcpstrm",&obj0,&obj1))
SWIG_fail;
6039 arg1 = (
PLINT)(val1);
6054 PyObject *resultobj = 0;
6056 if (!PyArg_ParseTuple(args,(
char *)
":plend"))
SWIG_fail;
6066 PyObject *resultobj = 0;
6068 if (!PyArg_ParseTuple(args,(
char *)
":plend1"))
SWIG_fail;
6078 PyObject *resultobj = 0;
6097 PyObject * obj0 = 0 ;
6098 PyObject * obj1 = 0 ;
6099 PyObject * obj2 = 0 ;
6100 PyObject * obj3 = 0 ;
6101 PyObject * obj4 = 0 ;
6102 PyObject * obj5 = 0 ;
6104 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plenv",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
6109 arg1 = (
PLFLT)(val1);
6114 arg2 = (
PLFLT)(val2);
6119 arg3 = (
PLFLT)(val3);
6124 arg4 = (
PLFLT)(val4);
6129 arg5 = (
PLINT)(val5);
6134 arg6 = (
PLINT)(val6);
6135 plenv(arg1,arg2,arg3,arg4,arg5,arg6);
6144 PyObject *resultobj = 0;
6163 PyObject * obj0 = 0 ;
6164 PyObject * obj1 = 0 ;
6165 PyObject * obj2 = 0 ;
6166 PyObject * obj3 = 0 ;
6167 PyObject * obj4 = 0 ;
6168 PyObject * obj5 = 0 ;
6170 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plenv0",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
6175 arg1 = (
PLFLT)(val1);
6180 arg2 = (
PLFLT)(val2);
6185 arg3 = (
PLFLT)(val3);
6190 arg4 = (
PLFLT)(val4);
6195 arg5 = (
PLINT)(val5);
6200 arg6 = (
PLINT)(val6);
6201 plenv0(arg1,arg2,arg3,arg4,arg5,arg6);
6210 PyObject *resultobj = 0;
6212 if (!PyArg_ParseTuple(args,(
char *)
":pleop"))
SWIG_fail;
6222 PyObject *resultobj = 0;
6227 PyArrayObject *tmp1 = NULL ;
6228 PyArrayObject *tmp3 = NULL ;
6229 PyArrayObject *tmp4 = NULL ;
6230 PyObject * obj0 = 0 ;
6231 PyObject * obj1 = 0 ;
6232 PyObject * obj2 = 0 ;
6234 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plerrx",&obj0,&obj1,&obj2))
SWIG_fail;
6239 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6240 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6246 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6248 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6251 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6257 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6259 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6262 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
6264 plerrx(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6291 PyObject *resultobj = 0;
6296 PyArrayObject *tmp1 = NULL ;
6297 PyArrayObject *tmp3 = NULL ;
6298 PyArrayObject *tmp4 = NULL ;
6299 PyObject * obj0 = 0 ;
6300 PyObject * obj1 = 0 ;
6301 PyObject * obj2 = 0 ;
6303 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plerry",&obj0,&obj1,&obj2))
SWIG_fail;
6308 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6309 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6315 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6317 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6320 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6326 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6328 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6331 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
6333 plerry(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6360 PyObject *resultobj = 0;
6362 if (!PyArg_ParseTuple(args,(
char *)
":plfamadv"))
SWIG_fail;
6372 PyObject *resultobj = 0;
6376 PyArrayObject *tmp1 = NULL ;
6377 PyArrayObject *tmp3 = NULL ;
6378 PyObject * obj0 = 0 ;
6379 PyObject * obj1 = 0 ;
6381 if (!PyArg_ParseTuple(args,(
char *)
"OO:plfill",&obj0,&obj1))
SWIG_fail;
6386 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6387 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6393 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6395 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6398 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6400 plfill(arg1,(
double const *)arg2,(
double const *)arg3);
6421 PyObject *resultobj = 0;
6426 PyArrayObject *tmp1 = NULL ;
6427 PyArrayObject *tmp3 = NULL ;
6428 PyArrayObject *tmp4 = NULL ;
6429 PyObject * obj0 = 0 ;
6430 PyObject * obj1 = 0 ;
6431 PyObject * obj2 = 0 ;
6433 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plfill3",&obj0,&obj1,&obj2))
SWIG_fail;
6438 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6439 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6445 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6447 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6450 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6456 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6458 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6461 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
6463 plfill3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6490 PyObject *resultobj = 0;
6495 PyArrayObject *tmp1 = NULL ;
6496 PyArrayObject *tmp3 = NULL ;
6499 PyObject * obj0 = 0 ;
6500 PyObject * obj1 = 0 ;
6501 PyObject * obj2 = 0 ;
6503 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plgradient",&obj0,&obj1,&obj2))
SWIG_fail;
6508 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6509 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6515 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6517 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6520 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6526 arg4 = (
PLFLT)(val4);
6527 plgradient(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
6548 PyObject *resultobj = 0;
6550 if (!PyArg_ParseTuple(args,(
char *)
":plflush"))
SWIG_fail;
6560 PyObject *resultobj = 0;
6564 PyObject * obj0 = 0 ;
6566 if (!PyArg_ParseTuple(args,(
char *)
"O:plfont",&obj0))
SWIG_fail;
6571 arg1 = (
PLINT)(val1);
6581 PyObject *resultobj = 0;
6585 PyObject * obj0 = 0 ;
6587 if (!PyArg_ParseTuple(args,(
char *)
"O:plfontld",&obj0))
SWIG_fail;
6592 arg1 = (
PLINT)(val1);
6602 PyObject *resultobj = 0;
6612 if (!PyArg_ParseTuple(args,(
char *)
":plgchr"))
SWIG_fail;
6634 PyObject *resultobj = 0;
6647 PyObject * obj0 = 0 ;
6652 if (!PyArg_ParseTuple(args,(
char *)
"O:plgcol0",&obj0))
SWIG_fail;
6657 arg1 = (
PLINT)(val1);
6685 PyObject *resultobj = 0;
6701 PyObject * obj0 = 0 ;
6707 if (!PyArg_ParseTuple(args,(
char *)
"O:plgcol0a",&obj0))
SWIG_fail;
6712 arg1 = (
PLINT)(val1);
6713 plgcol0a(arg1,arg2,arg3,arg4,arg5);
6746 PyObject *resultobj = 0;
6760 if (!PyArg_ParseTuple(args,(
char *)
":plgcolbg"))
SWIG_fail;
6788 PyObject *resultobj = 0;
6806 if (!PyArg_ParseTuple(args,(
char *)
":plgcolbga"))
SWIG_fail;
6840 PyObject *resultobj = 0;
6846 if (!PyArg_ParseTuple(args,(
char *)
":plgcompression"))
SWIG_fail;
6862 PyObject *resultobj = 0;
6863 char *arg1 = (
char *) 0 ;
6869 if (!PyArg_ParseTuple(args,(
char *)
":plgdev"))
SWIG_fail;
6873 PyObject *o = PyString_FromString( arg1 );
6883 PyObject *resultobj = 0;
6901 if (!PyArg_ParseTuple(args,(
char *)
":plgdidev"))
SWIG_fail;
6935 PyObject *resultobj = 0;
6941 if (!PyArg_ParseTuple(args,(
char *)
":plgdiori"))
SWIG_fail;
6957 PyObject *resultobj = 0;
6975 if (!PyArg_ParseTuple(args,(
char *)
":plgdiplt"))
SWIG_fail;
7009 PyObject *resultobj = 0;
7023 if (!PyArg_ParseTuple(args,(
char *)
":plgfam"))
SWIG_fail;
7051 PyObject *resultobj = 0;
7057 if (!PyArg_ParseTuple(args,(
char *)
":plgfci"))
SWIG_fail;
7073 PyObject *resultobj = 0;
7074 char *arg1 = (
char *) 0 ;
7080 if (!PyArg_ParseTuple(args,(
char *)
":plgfnam"))
SWIG_fail;
7084 PyObject *o = PyString_FromString( arg1 );
7094 PyObject *resultobj = 0;
7108 if (!PyArg_ParseTuple(args,(
char *)
":plgfont"))
SWIG_fail;
7136 PyObject *resultobj = 0;
7142 if (!PyArg_ParseTuple(args,(
char *)
":plglevel"))
SWIG_fail;
7158 PyObject *resultobj = 0;
7184 if (!PyArg_ParseTuple(args,(
char *)
":plgpage"))
SWIG_fail;
7185 plgpage(arg1,arg2,arg3,arg4,arg5,arg6);
7230 PyObject *resultobj = 0;
7232 if (!PyArg_ParseTuple(args,(
char *)
":plgra"))
SWIG_fail;
7242 PyObject *resultobj = 0;
7254 PyArrayObject *tmp1 = NULL ;
7255 PyArrayObject *tmp2 = NULL ;
7256 PyArrayObject *tmp3 = NULL ;
7257 PyArrayObject *tmp5 = NULL ;
7258 PyArrayObject *tmp7 = NULL ;
7259 PyObject *array7 = NULL ;
7264 PyObject * obj0 = 0 ;
7265 PyObject * obj1 = 0 ;
7266 PyObject * obj2 = 0 ;
7267 PyObject * obj3 = 0 ;
7268 PyObject * obj4 = 0 ;
7269 PyObject * obj5 = 0 ;
7270 PyObject * obj6 = 0 ;
7272 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plgriddata",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
7277 Alen = PyArray_DIMS( tmp1 )[0];
7278 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
7284 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
7286 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
7289 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
7295 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
7297 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
7300 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
7301 arg4 = PyArray_DIMS( tmp3 )[0];
7307 Xlen = PyArray_DIMS( tmp5 )[0];
7309 arg5 = (
PLFLT *) PyArray_DATA( tmp5 );
7317 Ylen = PyArray_DIMS( tmp7 )[0];
7319 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
7324 array7 = PyArray_SimpleNew( 2, dims,
NPY_PLFLT );
7328 arg9 = (
PLFLT **) malloc(
sizeof (
double * ) * (size_t)
Xlen );
7329 for ( i = 0; i <
Xlen; i++ )
7330 arg9[i] = ( (
PLFLT *) PyArray_DATA( (PyArrayObject *) array7 ) + i * size );
7336 arg10 = (
PLINT)(val10);
7341 arg11 = (
PLFLT)(val11);
7342 plgriddata((
double const *)arg1,(
double const *)arg2,(
double const *)arg3,arg4,(
double const *)arg5,arg6,(
double const *)arg7,arg8,arg9,arg10,arg11);
7386 PyObject *resultobj = 0;
7404 if (!PyArg_ParseTuple(args,(
char *)
":plgspa"))
SWIG_fail;
7405 plgspa(arg1,arg2,arg3,arg4);
7438 PyObject *resultobj = 0;
7444 if (!PyArg_ParseTuple(args,(
char *)
":plgstrm"))
SWIG_fail;
7460 PyObject *resultobj = 0;
7461 char *arg1 = (
char *) 0 ;
7467 if (!PyArg_ParseTuple(args,(
char *)
":plgver"))
SWIG_fail;
7471 PyObject *o = PyString_FromString( arg1 );
7481 PyObject *resultobj = 0;
7499 if (!PyArg_ParseTuple(args,(
char *)
":plgvpd"))
SWIG_fail;
7500 plgvpd(arg1,arg2,arg3,arg4);
7533 PyObject *resultobj = 0;
7551 if (!PyArg_ParseTuple(args,(
char *)
":plgvpw"))
SWIG_fail;
7552 plgvpw(arg1,arg2,arg3,arg4);
7585 PyObject *resultobj = 0;
7595 if (!PyArg_ParseTuple(args,(
char *)
":plgxax"))
SWIG_fail;
7617 PyObject *resultobj = 0;
7627 if (!PyArg_ParseTuple(args,(
char *)
":plgyax"))
SWIG_fail;
7649 PyObject *resultobj = 0;
7659 if (!PyArg_ParseTuple(args,(
char *)
":plgzax"))
SWIG_fail;
7681 PyObject *resultobj = 0;
7688 PyArrayObject *tmp1 = NULL ;
7697 PyObject * obj0 = 0 ;
7698 PyObject * obj1 = 0 ;
7699 PyObject * obj2 = 0 ;
7700 PyObject * obj3 = 0 ;
7701 PyObject * obj4 = 0 ;
7703 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plhist",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
7708 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
7709 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
7715 arg3 = (
PLFLT)(val3);
7720 arg4 = (
PLFLT)(val4);
7725 arg5 = (
PLINT)(val5);
7730 arg6 = (
PLINT)(val6);
7731 plhist(arg1,(
double const *)arg2,arg3,arg4,arg5,arg6);
7746 PyObject *resultobj = 0;
7765 PyObject * obj0 = 0 ;
7766 PyObject * obj1 = 0 ;
7767 PyObject * obj2 = 0 ;
7772 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plhlsrgb",&obj0,&obj1,&obj2))
SWIG_fail;
7777 arg1 = (
PLFLT)(val1);
7782 arg2 = (
PLFLT)(val2);
7787 arg3 = (
PLFLT)(val3);
7788 plhlsrgb(arg1,arg2,arg3,arg4,arg5,arg6);
7815 PyObject *resultobj = 0;
7817 if (!PyArg_ParseTuple(args,(
char *)
":plinit"))
SWIG_fail;
7827 PyObject *resultobj = 0;
7840 PyObject * obj0 = 0 ;
7841 PyObject * obj1 = 0 ;
7842 PyObject * obj2 = 0 ;
7843 PyObject * obj3 = 0 ;
7845 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:pljoin",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
7850 arg1 = (
PLFLT)(val1);
7855 arg2 = (
PLFLT)(val2);
7860 arg3 = (
PLFLT)(val3);
7865 arg4 = (
PLFLT)(val4);
7866 pljoin(arg1,arg2,arg3,arg4);
7875 PyObject *resultobj = 0;
7876 char *arg1 = (
char *) 0 ;
7877 char *arg2 = (
char *) 0 ;
7878 char *arg3 = (
char *) 0 ;
7888 PyObject * obj0 = 0 ;
7889 PyObject * obj1 = 0 ;
7890 PyObject * obj2 = 0 ;
7892 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pllab",&obj0,&obj1,&obj2))
SWIG_fail;
7897 arg1 = (
char *)(buf1);
7902 arg2 = (
char *)(buf2);
7907 arg3 = (
char *)(buf3);
7908 pllab((
char const *)arg1,(
char const *)arg2,(
char const *)arg3);
7923 PyObject *resultobj = 0;
7943 char **arg20 = (
char **) 0 ;
7954 char **arg31 = (
char **) 0 ;
7979 PyArrayObject *tmp13 = NULL ;
7988 PyArrayObject *tmp19 = NULL ;
7989 PyArrayObject *tmp20 = NULL ;
7990 PyArrayObject *tmp21 = NULL ;
7991 PyArrayObject *tmp22 = NULL ;
7992 PyArrayObject *tmp23 = NULL ;
7993 PyArrayObject *tmp24 = NULL ;
7994 PyArrayObject *tmp25 = NULL ;
7995 PyArrayObject *tmp26 = NULL ;
7996 PyArrayObject *tmp27 = NULL ;
7997 PyArrayObject *tmp28 = NULL ;
7998 PyArrayObject *tmp29 = NULL ;
7999 PyArrayObject *tmp30 = NULL ;
8000 PyArrayObject *tmp31 = NULL ;
8001 PyObject * obj0 = 0 ;
8002 PyObject * obj1 = 0 ;
8003 PyObject * obj2 = 0 ;
8004 PyObject * obj3 = 0 ;
8005 PyObject * obj4 = 0 ;
8006 PyObject * obj5 = 0 ;
8007 PyObject * obj6 = 0 ;
8008 PyObject * obj7 = 0 ;
8009 PyObject * obj8 = 0 ;
8010 PyObject * obj9 = 0 ;
8011 PyObject * obj10 = 0 ;
8012 PyObject * obj11 = 0 ;
8013 PyObject * obj12 = 0 ;
8014 PyObject * obj13 = 0 ;
8015 PyObject * obj14 = 0 ;
8016 PyObject * obj15 = 0 ;
8017 PyObject * obj16 = 0 ;
8018 PyObject * obj17 = 0 ;
8019 PyObject * obj18 = 0 ;
8020 PyObject * obj19 = 0 ;
8021 PyObject * obj20 = 0 ;
8022 PyObject * obj21 = 0 ;
8023 PyObject * obj22 = 0 ;
8024 PyObject * obj23 = 0 ;
8025 PyObject * obj24 = 0 ;
8026 PyObject * obj25 = 0 ;
8027 PyObject * obj26 = 0 ;
8028 PyObject * obj27 = 0 ;
8032 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;
8037 arg3 = (
PLINT)(val3);
8042 arg4 = (
PLINT)(val4);
8047 arg5 = (
PLFLT)(val5);
8052 arg6 = (
PLFLT)(val6);
8057 arg7 = (
PLFLT)(val7);
8062 arg8 = (
PLINT)(val8);
8067 arg9 = (
PLINT)(val9);
8072 arg10 = (
PLINT)(val10);
8077 arg11 = (
PLINT)(val11);
8082 arg12 = (
PLINT)(val12);
8085 if ( tmp13 == NULL )
8087 arg13 =
Alen = PyArray_DIMS( tmp13 )[0];
8088 arg14 = (
PLINT *) PyArray_DATA( tmp13 );
8094 arg15 = (
PLFLT)(val15);
8099 arg16 = (
PLFLT)(val16);
8104 arg17 = (
PLFLT)(val17);
8109 arg18 = (
PLFLT)(val18);
8112 if ( tmp19 == NULL )
8114 if ( PyArray_DIMS( tmp19 )[0] !=
Alen )
8116 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8119 arg19 = (
PLINT *) PyArray_DATA( tmp19 );
8123 tmp20 = (PyArrayObject *) PyArray_ContiguousFromObject( obj16, NPY_STRING, 1, 1 );
8124 if ( tmp20 == NULL )
8126 if ( PyArray_DIMS( tmp20 )[0] !=
Alen )
8128 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8131 arg20 = (
char **) malloc(
sizeof (
char* ) * (size_t)
Alen );
8132 for ( i = 0; i <
Alen; i++ )
8134 arg20[i] = (
char *) PyArray_DATA( tmp20 ) + i * PyArray_STRIDES( tmp20 )[0];
8135 if ( arg20[i] == NULL )
8144 if ( tmp21 == NULL )
8146 if ( PyArray_DIMS( tmp21 )[0] !=
Alen )
8148 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8151 arg21 = (
PLINT *) PyArray_DATA( tmp21 );
8155 if ( tmp22 == NULL )
8157 if ( PyArray_DIMS( tmp22 )[0] !=
Alen )
8159 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8162 arg22 = (
PLINT *) PyArray_DATA( tmp22 );
8165 if ( obj19 != Py_None )
8168 if ( tmp23 == NULL )
8170 if ( PyArray_DIMS( tmp23 )[0] !=
Alen )
8172 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8175 arg23 = (
PLFLT *) PyArray_DATA( tmp23 );
8183 if ( obj20 != Py_None )
8186 if ( tmp24 == NULL )
8188 if ( PyArray_DIMS( tmp24 )[0] !=
Alen )
8190 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8193 arg24 = (
PLFLT *) PyArray_DATA( tmp24 );
8202 if ( tmp25 == NULL )
8204 if ( PyArray_DIMS( tmp25 )[0] !=
Alen )
8206 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8209 arg25 = (
PLINT *) PyArray_DATA( tmp25 );
8213 if ( tmp26 == NULL )
8215 if ( PyArray_DIMS( tmp26 )[0] !=
Alen )
8217 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8220 arg26 = (
PLINT *) PyArray_DATA( tmp26 );
8223 if ( obj23 != Py_None )
8226 if ( tmp27 == NULL )
8228 if ( PyArray_DIMS( tmp27 )[0] !=
Alen )
8230 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8233 arg27 = (
PLFLT *) PyArray_DATA( tmp27 );
8242 if ( tmp28 == NULL )
8244 if ( PyArray_DIMS( tmp28 )[0] !=
Alen )
8246 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8249 arg28 = (
PLINT *) PyArray_DATA( tmp28 );
8252 if ( obj25 != Py_None )
8255 if ( tmp29 == NULL )
8257 if ( PyArray_DIMS( tmp29 )[0] !=
Alen )
8259 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8262 arg29 = (
PLFLT *) PyArray_DATA( tmp29 );
8271 if ( tmp30 == NULL )
8273 if ( PyArray_DIMS( tmp30 )[0] !=
Alen )
8275 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8278 arg30 = (
PLINT *) PyArray_DATA( tmp30 );
8282 tmp31 = (PyArrayObject *) PyArray_ContiguousFromObject( obj27, NPY_STRING, 1, 1 );
8283 if ( tmp31 == NULL )
8285 if ( PyArray_DIMS( tmp31 )[0] !=
Alen )
8287 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8290 arg31 = (
char **) malloc(
sizeof (
char* ) * (size_t)
Alen );
8291 for ( i = 0; i <
Alen; i++ )
8293 arg31[i] = (
char *) PyArray_DATA( tmp31 ) + i * PyArray_STRIDES( tmp31 )[0];
8294 if ( arg31[i] == NULL )
8301 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);
8322 Py_CLEAR( tmp20 ); free( arg20 );
8355 Py_CLEAR( tmp31 ); free( arg31 );
8366 Py_CLEAR( tmp20 ); free( arg20 );
8399 Py_CLEAR( tmp31 ); free( arg31 );
8406 PyObject *resultobj = 0;
8424 char **arg18 = (
char **) 0 ;
8426 char **arg20 = (
char **) 0 ;
8461 PyArrayObject *tmp16 = NULL ;
8462 PyArrayObject *tmp18 = NULL ;
8463 PyArrayObject *tmp19 = NULL ;
8464 PyArrayObject *tmp21 = NULL ;
8465 PyArrayObject *tmp22 = NULL ;
8466 PyArrayObject *tmp23 = NULL ;
8467 PyArrayObject *tmp24 = NULL ;
8468 PyObject * obj0 = 0 ;
8469 PyObject * obj1 = 0 ;
8470 PyObject * obj2 = 0 ;
8471 PyObject * obj3 = 0 ;
8472 PyObject * obj4 = 0 ;
8473 PyObject * obj5 = 0 ;
8474 PyObject * obj6 = 0 ;
8475 PyObject * obj7 = 0 ;
8476 PyObject * obj8 = 0 ;
8477 PyObject * obj9 = 0 ;
8478 PyObject * obj10 = 0 ;
8479 PyObject * obj11 = 0 ;
8480 PyObject * obj12 = 0 ;
8481 PyObject * obj13 = 0 ;
8482 PyObject * obj14 = 0 ;
8483 PyObject * obj15 = 0 ;
8484 PyObject * obj16 = 0 ;
8485 PyObject * obj17 = 0 ;
8486 PyObject * obj18 = 0 ;
8487 PyObject * obj19 = 0 ;
8491 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;
8496 arg3 = (
PLINT)(val3);
8501 arg4 = (
PLINT)(val4);
8506 arg5 = (
PLFLT)(val5);
8511 arg6 = (
PLFLT)(val6);
8516 arg7 = (
PLFLT)(val7);
8521 arg8 = (
PLFLT)(val8);
8526 arg9 = (
PLINT)(val9);
8531 arg10 = (
PLINT)(val10);
8536 arg11 = (
PLINT)(val11);
8541 arg12 = (
PLFLT)(val12);
8546 arg13 = (
PLFLT)(val13);
8551 arg14 = (
PLINT)(val14);
8556 arg15 = (
PLFLT)(val15);
8559 if ( tmp16 == NULL )
8561 arg16 =
Alen = PyArray_DIMS( tmp16 )[0];
8562 arg17 = (
PLINT *) PyArray_DATA( tmp16 );
8566 tmp18 = (PyArrayObject *) PyArray_ContiguousFromObject( obj14, NPY_STRING, 1, 1 );
8567 if ( tmp18 == NULL )
8569 if ( PyArray_DIMS( tmp18 )[0] !=
Alen )
8571 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8574 arg18 = (
char **) malloc(
sizeof (
char* ) * (size_t)
Alen );
8575 for ( i = 0; i <
Alen; i++ )
8577 arg18[i] = (
char *) PyArray_DATA( tmp18 ) + i * PyArray_STRIDES( tmp18 )[0];
8578 if ( arg18[i] == NULL )
8587 tmp19 = (PyArrayObject *) PyArray_ContiguousFromObject( obj15, NPY_STRING, 1, 1 );
8588 if ( tmp19 == NULL )
8590 Alen = PyArray_DIMS( tmp19 )[0];
8592 arg20 = (
char **) malloc(
sizeof (
char* ) * (size_t)
Alen );
8593 for ( i = 0; i <
Alen; i++ )
8595 arg20[i] = (
char *) PyArray_DATA( tmp19 ) + i * PyArray_STRIDES( tmp19 )[0];
8596 if ( arg20[i] == NULL )
8605 if ( tmp21 == NULL )
8607 if ( PyArray_DIMS( tmp21 )[0] !=
Alen )
8609 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8612 arg21 = (
PLFLT *) PyArray_DATA( tmp21 );
8616 if ( tmp22 == NULL )
8618 if ( PyArray_DIMS( tmp22 )[0] !=
Alen )
8620 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8623 arg22 = (
PLINT *) PyArray_DATA( tmp22 );
8628 if ( tmp23 == NULL )
8630 if ( PyArray_DIMS( tmp23 )[0] !=
Alen )
8632 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8635 Xlen = PyArray_DIMS( tmp23 )[0];
8636 arg23 = (
PLINT *) PyArray_DATA( tmp23 );
8638 for ( i = 0; i <
Xlen; i++ )
8639 if ( arg23[i] >
Ylen )
8645 if ( tmp24 == NULL )
8647 if ( PyArray_DIMS( tmp24 )[0] !=
Xlen || PyArray_DIMS( tmp24 )[1] !=
Ylen )
8649 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
8654 for ( i = 0; i <
Xlen; i++ )
8655 arg24[i] = ( (
PLFLT *) PyArray_DATA( tmp24 ) + i * size );
8657 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);
8675 Py_CLEAR( tmp18 ); free( arg18 );
8678 Py_CLEAR( tmp19 ); free( arg20 );
8699 Py_CLEAR( tmp18 ); free( arg18 );
8702 Py_CLEAR( tmp19 ); free( arg20 );
8722 PyObject *resultobj = 0;
8732 PyObject * obj0 = 0 ;
8733 PyObject * obj1 = 0 ;
8734 PyObject * obj2 = 0 ;
8736 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pllightsource",&obj0,&obj1,&obj2))
SWIG_fail;
8741 arg1 = (
PLFLT)(val1);
8746 arg2 = (
PLFLT)(val2);
8751 arg3 = (
PLFLT)(val3);
8761 PyObject *resultobj = 0;
8765 PyArrayObject *tmp1 = NULL ;
8766 PyArrayObject *tmp3 = NULL ;
8767 PyObject * obj0 = 0 ;
8768 PyObject * obj1 = 0 ;
8770 if (!PyArg_ParseTuple(args,(
char *)
"OO:plline",&obj0,&obj1))
SWIG_fail;
8775 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
8776 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
8782 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
8784 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8787 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
8789 plline(arg1,(
double const *)arg2,(
double const *)arg3);
8810 PyObject *resultobj = 0;
8815 PyArrayObject *tmp1 = NULL ;
8816 PyArrayObject *tmp3 = NULL ;
8817 PyArrayObject *tmp4 = NULL ;
8818 PyObject * obj0 = 0 ;
8819 PyObject * obj1 = 0 ;
8820 PyObject * obj2 = 0 ;
8822 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plline3",&obj0,&obj1,&obj2))
SWIG_fail;
8827 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
8828 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
8834 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
8836 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8839 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
8845 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
8847 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8850 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
8852 plline3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
8879 PyObject *resultobj = 0;
8883 PyObject * obj0 = 0 ;
8885 if (!PyArg_ParseTuple(args,(
char *)
"O:pllsty",&obj0))
SWIG_fail;
8890 arg1 = (
PLINT)(val1);
8900 PyObject *resultobj = 0;
8907 PyArrayObject *tmp1 = NULL ;
8908 PyArrayObject *tmp2 = NULL ;
8909 PyArrayObject *tmp3 = NULL ;
8912 PyObject * obj0 = 0 ;
8913 PyObject * obj1 = 0 ;
8914 PyObject * obj2 = 0 ;
8915 PyObject * obj3 = 0 ;
8917 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plmesh",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
8922 Xlen = PyArray_DIMS( tmp1 )[0];
8923 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
8929 Ylen = PyArray_DIMS( tmp2 )[0];
8930 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
8937 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
8939 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
8942 arg4 = PyArray_DIMS( tmp3 )[0];
8943 arg5 = PyArray_DIMS( tmp3 )[1];
8945 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
8946 for ( i = 0; i < arg4; i++ )
8947 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
8953 arg6 = (
PLINT)(val6);
8954 plmesh((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6);
8983 PyObject *resultobj = 0;
8992 PyArrayObject *tmp1 = NULL ;
8993 PyArrayObject *tmp2 = NULL ;
8994 PyArrayObject *tmp3 = NULL ;
8997 PyArrayObject *tmp7 = NULL ;
8998 PyObject * obj0 = 0 ;
8999 PyObject * obj1 = 0 ;
9000 PyObject * obj2 = 0 ;
9001 PyObject * obj3 = 0 ;
9002 PyObject * obj4 = 0 ;
9004 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plmeshc",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9009 Xlen = PyArray_DIMS( tmp1 )[0];
9010 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9016 Ylen = PyArray_DIMS( tmp2 )[0];
9017 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9024 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9026 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9029 arg4 = PyArray_DIMS( tmp3 )[0];
9030 arg5 = PyArray_DIMS( tmp3 )[1];
9032 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9033 for ( i = 0; i < arg4; i++ )
9034 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9040 arg6 = (
PLINT)(val6);
9045 arg8 = PyArray_DIMS( tmp7 )[0];
9046 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9048 plmeshc((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
9083 PyObject *resultobj = 0;
9089 if (!PyArg_ParseTuple(args,(
char *)
":plmkstrm"))
SWIG_fail;
9105 PyObject *resultobj = 0;
9106 char *arg1 = (
char *) 0 ;
9110 char *arg5 = (
char *) 0 ;
9123 PyObject * obj0 = 0 ;
9124 PyObject * obj1 = 0 ;
9125 PyObject * obj2 = 0 ;
9126 PyObject * obj3 = 0 ;
9127 PyObject * obj4 = 0 ;
9129 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plmtex",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9134 arg1 = (
char *)(buf1);
9139 arg2 = (
PLFLT)(val2);
9144 arg3 = (
PLFLT)(val3);
9149 arg4 = (
PLFLT)(val4);
9154 arg5 = (
char *)(buf5);
9155 plmtex((
char const *)arg1,arg2,arg3,arg4,(
char const *)arg5);
9168 PyObject *resultobj = 0;
9169 char *arg1 = (
char *) 0 ;
9173 char *arg5 = (
char *) 0 ;
9186 PyObject * obj0 = 0 ;
9187 PyObject * obj1 = 0 ;
9188 PyObject * obj2 = 0 ;
9189 PyObject * obj3 = 0 ;
9190 PyObject * obj4 = 0 ;
9192 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plmtex3",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9197 arg1 = (
char *)(buf1);
9202 arg2 = (
PLFLT)(val2);
9207 arg3 = (
PLFLT)(val3);
9212 arg4 = (
PLFLT)(val4);
9217 arg5 = (
char *)(buf5);
9218 plmtex3((
char const *)arg1,arg2,arg3,arg4,(
char const *)arg5);
9231 PyObject *resultobj = 0;
9239 PyArrayObject *tmp1 = NULL ;
9240 PyArrayObject *tmp2 = NULL ;
9241 PyArrayObject *tmp3 = NULL ;
9246 PyObject * obj0 = 0 ;
9247 PyObject * obj1 = 0 ;
9248 PyObject * obj2 = 0 ;
9249 PyObject * obj3 = 0 ;
9250 PyObject * obj4 = 0 ;
9252 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plot3d",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9257 Xlen = PyArray_DIMS( tmp1 )[0];
9258 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9264 Ylen = PyArray_DIMS( tmp2 )[0];
9265 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9272 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9274 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9277 arg4 = PyArray_DIMS( tmp3 )[0];
9278 arg5 = PyArray_DIMS( tmp3 )[1];
9280 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9281 for ( i = 0; i < arg4; i++ )
9282 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9288 arg6 = (
PLINT)(val6);
9294 plot3d((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,arg7);
9323 PyObject *resultobj = 0;
9332 PyArrayObject *tmp1 = NULL ;
9333 PyArrayObject *tmp2 = NULL ;
9334 PyArrayObject *tmp3 = NULL ;
9337 PyArrayObject *tmp7 = NULL ;
9338 PyObject * obj0 = 0 ;
9339 PyObject * obj1 = 0 ;
9340 PyObject * obj2 = 0 ;
9341 PyObject * obj3 = 0 ;
9342 PyObject * obj4 = 0 ;
9344 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plot3dc",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9349 Xlen = PyArray_DIMS( tmp1 )[0];
9350 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9356 Ylen = PyArray_DIMS( tmp2 )[0];
9357 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9364 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9366 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9369 arg4 = PyArray_DIMS( tmp3 )[0];
9370 arg5 = PyArray_DIMS( tmp3 )[1];
9372 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9373 for ( i = 0; i < arg4; i++ )
9374 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9380 arg6 = (
PLINT)(val6);
9385 arg8 = PyArray_DIMS( tmp7 )[0];
9386 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9388 plot3dc((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
9423 PyObject *resultobj = 0;
9436 PyArrayObject *tmp1 = NULL ;
9437 PyArrayObject *tmp2 = NULL ;
9438 PyArrayObject *tmp3 = NULL ;
9441 PyArrayObject *tmp7 = NULL ;
9444 PyArrayObject *tmp10 = NULL ;
9445 PyArrayObject *tmp12 = NULL ;
9446 PyObject * obj0 = 0 ;
9447 PyObject * obj1 = 0 ;
9448 PyObject * obj2 = 0 ;
9449 PyObject * obj3 = 0 ;
9450 PyObject * obj4 = 0 ;
9451 PyObject * obj5 = 0 ;
9452 PyObject * obj6 = 0 ;
9453 PyObject * obj7 = 0 ;
9455 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plot3dcl",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
9460 Xlen = PyArray_DIMS( tmp1 )[0];
9461 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9467 Ylen = PyArray_DIMS( tmp2 )[0];
9468 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9475 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9477 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9480 arg4 = PyArray_DIMS( tmp3 )[0];
9481 arg5 = PyArray_DIMS( tmp3 )[1];
9483 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9484 for ( i = 0; i < arg4; i++ )
9485 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9491 arg6 = (
PLINT)(val6);
9496 arg8 = PyArray_DIMS( tmp7 )[0];
9497 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9503 arg9 = (
PLINT)(val9);
9506 if ( tmp10 == NULL )
9508 arg10 =
Alen = PyArray_DIMS( tmp10 )[0];
9509 arg11 = (
PLINT *) PyArray_DATA( tmp10 );
9513 if ( tmp12 == NULL )
9515 if ( PyArray_DIMS( tmp12 )[0] !=
Alen )
9517 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9520 arg12 = (
PLINT *) PyArray_DATA( tmp12 );
9522 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);
9569 PyObject *resultobj = 0;
9578 PyArrayObject *tmp1 = NULL ;
9579 PyArrayObject *tmp2 = NULL ;
9580 PyArrayObject *tmp3 = NULL ;
9583 PyArrayObject *tmp7 = NULL ;
9584 PyObject * obj0 = 0 ;
9585 PyObject * obj1 = 0 ;
9586 PyObject * obj2 = 0 ;
9587 PyObject * obj3 = 0 ;
9588 PyObject * obj4 = 0 ;
9590 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plsurf3d",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9595 Xlen = PyArray_DIMS( tmp1 )[0];
9596 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9602 Ylen = PyArray_DIMS( tmp2 )[0];
9603 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9610 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9612 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9615 arg4 = PyArray_DIMS( tmp3 )[0];
9616 arg5 = PyArray_DIMS( tmp3 )[1];
9618 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9619 for ( i = 0; i < arg4; i++ )
9620 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9626 arg6 = (
PLINT)(val6);
9631 arg8 = PyArray_DIMS( tmp7 )[0];
9632 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9634 plsurf3d((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
9669 PyObject *resultobj = 0;
9682 PyArrayObject *tmp1 = NULL ;
9683 PyArrayObject *tmp2 = NULL ;
9684 PyArrayObject *tmp3 = NULL ;
9687 PyArrayObject *tmp7 = NULL ;
9690 PyArrayObject *tmp10 = NULL ;
9691 PyArrayObject *tmp12 = NULL ;
9692 PyObject * obj0 = 0 ;
9693 PyObject * obj1 = 0 ;
9694 PyObject * obj2 = 0 ;
9695 PyObject * obj3 = 0 ;
9696 PyObject * obj4 = 0 ;
9697 PyObject * obj5 = 0 ;
9698 PyObject * obj6 = 0 ;
9699 PyObject * obj7 = 0 ;
9701 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plsurf3dl",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
9706 Xlen = PyArray_DIMS( tmp1 )[0];
9707 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9713 Ylen = PyArray_DIMS( tmp2 )[0];
9714 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9721 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9723 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9726 arg4 = PyArray_DIMS( tmp3 )[0];
9727 arg5 = PyArray_DIMS( tmp3 )[1];
9729 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9730 for ( i = 0; i < arg4; i++ )
9731 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9737 arg6 = (
PLINT)(val6);
9742 arg8 = PyArray_DIMS( tmp7 )[0];
9743 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9749 arg9 = (
PLINT)(val9);
9752 if ( tmp10 == NULL )
9754 arg10 =
Alen = PyArray_DIMS( tmp10 )[0];
9755 arg11 = (
PLINT *) PyArray_DATA( tmp10 );
9759 if ( tmp12 == NULL )
9761 if ( PyArray_DIMS( tmp12 )[0] !=
Alen )
9763 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9766 arg12 = (
PLINT *) PyArray_DATA( tmp12 );
9768 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);
9815 PyObject *resultobj = 0;
9816 int *arg1 = (
int *) 0 ;
9817 char **arg2 = (
char **) 0 ;
9822 PyObject * obj0 = 0 ;
9823 PyObject * obj1 = 0 ;
9826 if (!PyArg_ParseTuple(args,(
char *)
"OO:plparseopts",&obj0,&obj1))
SWIG_fail;
9829 PyObject *unicode_string;
9831 if ( !PyList_Check( obj0 ) )
9833 PyErr_SetString( PyExc_ValueError,
"Expecting a list" );
9836 tmp1 = PyList_Size( obj0 );
9838 arg2 = (
char **) malloc( (
size_t) ( tmp1 + 1 ) *
sizeof (
char * ) );
9839 for ( i = 0; i < tmp1; i++ )
9841 PyObject *s = PyList_GetItem( obj0, i );
9842 if ( PyString_Check( s ) )
9844 arg2[i] = PyString_AsString( s );
9846 else if ( PyUnicode_Check( s ) )
9849 unicode_string = PyUnicode_AsEncodedString( s,
"utf-8",
"Error ~" );
9850 arg2[i] = PyBytes_AS_STRING( unicode_string );
9855 PyErr_SetString( PyExc_ValueError,
"List items must be strings" );
9865 arg3 = (
PLINT)(val3);
9883 PyObject *resultobj = 0;
9887 PyArrayObject *tmp1 = NULL ;
9888 PyArrayObject *tmp3 = NULL ;
9889 PyObject * obj0 = 0 ;
9890 PyObject * obj1 = 0 ;
9892 if (!PyArg_ParseTuple(args,(
char *)
"OO:plpat",&obj0,&obj1))
SWIG_fail;
9897 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
9898 arg2 = (
PLINT *) PyArray_DATA( tmp1 );
9904 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
9906 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9909 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
9911 plpat(arg1,(
int const *)arg2,(
int const *)arg3);
9932 PyObject *resultobj = 0;
9948 PyObject * obj0 = 0 ;
9949 PyObject * obj1 = 0 ;
9950 PyObject * obj2 = 0 ;
9951 PyObject * obj3 = 0 ;
9952 PyObject * obj4 = 0 ;
9954 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plpath",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9959 arg1 = (
PLINT)(val1);
9964 arg2 = (
PLFLT)(val2);
9969 arg3 = (
PLFLT)(val3);
9974 arg4 = (
PLFLT)(val4);
9979 arg5 = (
PLFLT)(val5);
9980 plpath(arg1,arg2,arg3,arg4,arg5);
9989 PyObject *resultobj = 0;
9994 PyArrayObject *tmp1 = NULL ;
9995 PyArrayObject *tmp3 = NULL ;
9998 PyObject * obj0 = 0 ;
9999 PyObject * obj1 = 0 ;
10000 PyObject * obj2 = 0 ;
10002 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plpoin",&obj0,&obj1,&obj2))
SWIG_fail;
10005 if ( tmp1 == NULL )
10007 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
10008 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
10012 if ( tmp3 == NULL )
10014 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10016 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10019 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
10025 arg4 = (
PLINT)(val4);
10026 plpoin(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
10047 PyObject *resultobj = 0;
10053 PyArrayObject *tmp1 = NULL ;
10054 PyArrayObject *tmp3 = NULL ;
10055 PyArrayObject *tmp4 = NULL ;
10058 PyObject * obj0 = 0 ;
10059 PyObject * obj1 = 0 ;
10060 PyObject * obj2 = 0 ;
10061 PyObject * obj3 = 0 ;
10063 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plpoin3",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
10066 if ( tmp1 == NULL )
10068 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
10069 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
10073 if ( tmp3 == NULL )
10075 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10077 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10080 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
10084 if ( tmp4 == NULL )
10086 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10088 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10091 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10097 arg5 = (
PLINT)(val5);
10098 plpoin3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,arg5);
10125 PyObject *resultobj = 0;
10132 PyArrayObject *tmp1 = NULL ;
10133 PyArrayObject *tmp3 = NULL ;
10134 PyArrayObject *tmp4 = NULL ;
10135 PyArrayObject *tmp5 = NULL ;
10138 PyObject * obj0 = 0 ;
10139 PyObject * obj1 = 0 ;
10140 PyObject * obj2 = 0 ;
10141 PyObject * obj3 = 0 ;
10142 PyObject * obj4 = 0 ;
10144 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plpoly3",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
10147 if ( tmp1 == NULL )
10149 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
10150 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
10154 if ( tmp3 == NULL )
10156 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10158 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10161 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
10165 if ( tmp4 == NULL )
10167 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10169 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10172 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10176 if ( tmp5 == NULL )
10178 if ( PyArray_DIMS( tmp5 )[0] <
Alen - 1 )
10180 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
10183 arg5 = (
PLINT *) PyArray_DATA( tmp5 );
10190 plpoly3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,(
int const *)arg5,arg6);
10223 PyObject *resultobj = 0;
10230 PyObject * obj0 = 0 ;
10231 PyObject * obj1 = 0 ;
10233 if (!PyArg_ParseTuple(args,(
char *)
"OO:plprec",&obj0,&obj1))
SWIG_fail;
10238 arg1 = (
PLINT)(val1);
10243 arg2 = (
PLINT)(val2);
10253 PyObject *resultobj = 0;
10257 PyObject * obj0 = 0 ;
10259 if (!PyArg_ParseTuple(args,(
char *)
"O:plpsty",&obj0))
SWIG_fail;
10264 arg1 = (
PLINT)(val1);
10274 PyObject *resultobj = 0;
10280 char *arg6 = (
char *) 0 ;
10294 PyObject * obj0 = 0 ;
10295 PyObject * obj1 = 0 ;
10296 PyObject * obj2 = 0 ;
10297 PyObject * obj3 = 0 ;
10298 PyObject * obj4 = 0 ;
10299 PyObject * obj5 = 0 ;
10301 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plptex",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
10306 arg1 = (
PLFLT)(val1);
10311 arg2 = (
PLFLT)(val2);
10316 arg3 = (
PLFLT)(val3);
10321 arg4 = (
PLFLT)(val4);
10326 arg5 = (
PLFLT)(val5);
10331 arg6 = (
char *)(buf6);
10332 plptex(arg1,arg2,arg3,arg4,arg5,(
char const *)arg6);
10343 PyObject *resultobj = 0;
10354 char *arg11 = (
char *) 0 ;
10378 PyObject * obj0 = 0 ;
10379 PyObject * obj1 = 0 ;
10380 PyObject * obj2 = 0 ;
10381 PyObject * obj3 = 0 ;
10382 PyObject * obj4 = 0 ;
10383 PyObject * obj5 = 0 ;
10384 PyObject * obj6 = 0 ;
10385 PyObject * obj7 = 0 ;
10386 PyObject * obj8 = 0 ;
10387 PyObject * obj9 = 0 ;
10388 PyObject * obj10 = 0 ;
10390 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plptex3",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
10395 arg1 = (
PLFLT)(val1);
10400 arg2 = (
PLFLT)(val2);
10405 arg3 = (
PLFLT)(val3);
10410 arg4 = (
PLFLT)(val4);
10415 arg5 = (
PLFLT)(val5);
10420 arg6 = (
PLFLT)(val6);
10425 arg7 = (
PLFLT)(val7);
10430 arg8 = (
PLFLT)(val8);
10435 arg9 = (
PLFLT)(val9);
10440 arg10 = (
PLFLT)(val10);
10445 arg11 = (
char *)(buf11);
10446 plptex3(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(
char const *)arg11);
10457 PyObject *resultobj = 0;
10460 if (!PyArg_ParseTuple(args,(
char *)
":plrandd"))
SWIG_fail;
10470 PyObject *resultobj = 0;
10472 if (!PyArg_ParseTuple(args,(
char *)
":plreplot"))
SWIG_fail;
10482 PyObject *resultobj = 0;
10501 PyObject * obj0 = 0 ;
10502 PyObject * obj1 = 0 ;
10503 PyObject * obj2 = 0 ;
10508 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plrgbhls",&obj0,&obj1,&obj2))
SWIG_fail;
10513 arg1 = (
PLFLT)(val1);
10518 arg2 = (
PLFLT)(val2);
10523 arg3 = (
PLFLT)(val3);
10524 plrgbhls(arg1,arg2,arg3,arg4,arg5,arg6);
10551 PyObject *resultobj = 0;
10558 PyObject * obj0 = 0 ;
10559 PyObject * obj1 = 0 ;
10561 if (!PyArg_ParseTuple(args,(
char *)
"OO:plschr",&obj0,&obj1))
SWIG_fail;
10566 arg1 = (
PLFLT)(val1);
10571 arg2 = (
PLFLT)(val2);
10581 PyObject *resultobj = 0;
10586 PyArrayObject *tmp1 = NULL ;
10587 PyArrayObject *tmp2 = NULL ;
10588 PyArrayObject *tmp3 = NULL ;
10589 PyObject * obj0 = 0 ;
10590 PyObject * obj1 = 0 ;
10591 PyObject * obj2 = 0 ;
10593 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plscmap0",&obj0,&obj1,&obj2))
SWIG_fail;
10596 if ( tmp1 == NULL )
10598 Alen = PyArray_DIMS( tmp1 )[0];
10599 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
10603 if ( tmp2 == NULL )
10605 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10607 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10610 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
10614 if ( tmp3 == NULL )
10616 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10618 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10621 arg4 = PyArray_DIMS( tmp3 )[0];
10622 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
10624 plscmap0((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,arg4);
10651 PyObject *resultobj = 0;
10657 PyArrayObject *tmp1 = NULL ;
10658 PyArrayObject *tmp2 = NULL ;
10659 PyArrayObject *tmp3 = NULL ;
10660 PyArrayObject *tmp4 = NULL ;
10661 PyObject * obj0 = 0 ;
10662 PyObject * obj1 = 0 ;
10663 PyObject * obj2 = 0 ;
10664 PyObject * obj3 = 0 ;
10666 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscmap0a",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
10669 if ( tmp1 == NULL )
10671 Alen = PyArray_DIMS( tmp1 )[0];
10672 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
10676 if ( tmp2 == NULL )
10678 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10680 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10683 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
10687 if ( tmp3 == NULL )
10689 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10691 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10694 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
10698 if ( tmp4 == NULL )
10700 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10702 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10705 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10706 arg5 = PyArray_DIMS( tmp4 )[0];
10708 plscmap0a((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,(
double const *)arg4,arg5);
10741 PyObject *resultobj = 0;
10745 PyObject * obj0 = 0 ;
10747 if (!PyArg_ParseTuple(args,(
char *)
"O:plscmap0n",&obj0))
SWIG_fail;
10752 arg1 = (
PLINT)(val1);
10762 PyObject *resultobj = 0;
10767 PyArrayObject *tmp1 = NULL ;
10768 PyArrayObject *tmp2 = NULL ;
10769 PyArrayObject *tmp3 = NULL ;
10770 PyObject * obj0 = 0 ;
10771 PyObject * obj1 = 0 ;
10772 PyObject * obj2 = 0 ;
10774 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plscmap1",&obj0,&obj1,&obj2))
SWIG_fail;
10777 if ( tmp1 == NULL )
10779 Alen = PyArray_DIMS( tmp1 )[0];
10780 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
10784 if ( tmp2 == NULL )
10786 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10788 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10791 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
10795 if ( tmp3 == NULL )
10797 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10799 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10802 arg4 = PyArray_DIMS( tmp3 )[0];
10803 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
10805 plscmap1((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,arg4);
10832 PyObject *resultobj = 0;
10838 PyArrayObject *tmp1 = NULL ;
10839 PyArrayObject *tmp2 = NULL ;
10840 PyArrayObject *tmp3 = NULL ;
10841 PyArrayObject *tmp4 = NULL ;
10842 PyObject * obj0 = 0 ;
10843 PyObject * obj1 = 0 ;
10844 PyObject * obj2 = 0 ;
10845 PyObject * obj3 = 0 ;
10847 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscmap1a",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
10850 if ( tmp1 == NULL )
10852 Alen = PyArray_DIMS( tmp1 )[0];
10853 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
10857 if ( tmp2 == NULL )
10859 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10861 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10864 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
10868 if ( tmp3 == NULL )
10870 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10872 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10875 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
10879 if ( tmp4 == NULL )
10881 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10883 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10886 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10887 arg5 = PyArray_DIMS( tmp4 )[0];
10889 plscmap1a((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,(
double const *)arg4,arg5);
10922 PyObject *resultobj = 0;
10932 PyArrayObject *tmp2 = NULL ;
10933 PyArrayObject *tmp4 = NULL ;
10934 PyArrayObject *tmp5 = NULL ;
10935 PyArrayObject *tmp6 = NULL ;
10936 PyArrayObject *tmp7 = NULL ;
10937 PyObject * obj0 = 0 ;
10938 PyObject * obj1 = 0 ;
10939 PyObject * obj2 = 0 ;
10940 PyObject * obj3 = 0 ;
10941 PyObject * obj4 = 0 ;
10942 PyObject * obj5 = 0 ;
10944 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plscmap1l",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
10952 if ( tmp2 == NULL )
10954 arg2 =
Alen = PyArray_DIMS( tmp2 )[0];
10955 arg3 = (
PLFLT *) PyArray_DATA( tmp2 );
10959 if ( tmp4 == NULL )
10961 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10963 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10966 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10970 if ( tmp5 == NULL )
10972 if ( PyArray_DIMS( tmp5 )[0] !=
Alen )
10974 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10977 arg5 = (
PLFLT *) PyArray_DATA( tmp5 );
10981 if ( tmp6 == NULL )
10983 if ( PyArray_DIMS( tmp6 )[0] !=
Alen )
10985 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10988 arg6 = (
PLFLT *) PyArray_DATA( tmp6 );
10992 if ( tmp7 == NULL )
10994 if ( PyArray_DIMS( tmp7 )[0] <
Alen - 1 )
10996 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
10999 arg7 = (
PLINT *) PyArray_DATA( tmp7 );
11001 plscmap1l(arg1,arg2,(
double const *)arg3,(
double const *)arg4,(
double const *)arg5,(
double const *)arg6,(
int const *)arg7);
11040 PyObject *resultobj = 0;
11051 PyArrayObject *tmp2 = NULL ;
11052 PyArrayObject *tmp4 = NULL ;
11053 PyArrayObject *tmp5 = NULL ;
11054 PyArrayObject *tmp6 = NULL ;
11055 PyArrayObject *tmp7 = NULL ;
11056 PyArrayObject *tmp8 = NULL ;
11057 PyObject * obj0 = 0 ;
11058 PyObject * obj1 = 0 ;
11059 PyObject * obj2 = 0 ;
11060 PyObject * obj3 = 0 ;
11061 PyObject * obj4 = 0 ;
11062 PyObject * obj5 = 0 ;
11063 PyObject * obj6 = 0 ;
11065 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plscmap1la",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
11073 if ( tmp2 == NULL )
11075 arg2 =
Alen = PyArray_DIMS( tmp2 )[0];
11076 arg3 = (
PLFLT *) PyArray_DATA( tmp2 );
11080 if ( tmp4 == NULL )
11082 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
11084 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11087 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
11091 if ( tmp5 == NULL )
11093 if ( PyArray_DIMS( tmp5 )[0] !=
Alen )
11095 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11098 arg5 = (
PLFLT *) PyArray_DATA( tmp5 );
11102 if ( tmp6 == NULL )
11104 if ( PyArray_DIMS( tmp6 )[0] !=
Alen )
11106 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11109 arg6 = (
PLFLT *) PyArray_DATA( tmp6 );
11113 if ( tmp7 == NULL )
11115 if ( PyArray_DIMS( tmp7 )[0] !=
Alen )
11117 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11120 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
11124 if ( tmp8 == NULL )
11126 if ( PyArray_DIMS( tmp8 )[0] <
Alen - 1 )
11128 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
11131 arg8 = (
PLINT *) PyArray_DATA( tmp8 );
11133 plscmap1la(arg1,arg2,(
double const *)arg3,(
double const *)arg4,(
double const *)arg5,(
double const *)arg6,(
double const *)arg7,(
int const *)arg8);
11178 PyObject *resultobj = 0;
11182 PyObject * obj0 = 0 ;
11184 if (!PyArg_ParseTuple(args,(
char *)
"O:plscmap1n",&obj0))
SWIG_fail;
11189 arg1 = (
PLINT)(val1);
11199 PyObject *resultobj = 0;
11206 PyObject * obj0 = 0 ;
11207 PyObject * obj1 = 0 ;
11209 if (!PyArg_ParseTuple(args,(
char *)
"OO:plscmap1_range",&obj0,&obj1))
SWIG_fail;
11214 arg1 = (
PLFLT)(val1);
11219 arg2 = (
PLFLT)(val2);
11229 PyObject *resultobj = 0;
11239 if (!PyArg_ParseTuple(args,(
char *)
":plgcmap1_range"))
SWIG_fail;
11261 PyObject *resultobj = 0;
11274 PyObject * obj0 = 0 ;
11275 PyObject * obj1 = 0 ;
11276 PyObject * obj2 = 0 ;
11277 PyObject * obj3 = 0 ;
11279 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscol0",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11284 arg1 = (
PLINT)(val1);
11289 arg2 = (
PLINT)(val2);
11294 arg3 = (
PLINT)(val3);
11299 arg4 = (
PLINT)(val4);
11300 plscol0(arg1,arg2,arg3,arg4);
11309 PyObject *resultobj = 0;
11325 PyObject * obj0 = 0 ;
11326 PyObject * obj1 = 0 ;
11327 PyObject * obj2 = 0 ;
11328 PyObject * obj3 = 0 ;
11329 PyObject * obj4 = 0 ;
11331 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plscol0a",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
11336 arg1 = (
PLINT)(val1);
11341 arg2 = (
PLINT)(val2);
11346 arg3 = (
PLINT)(val3);
11351 arg4 = (
PLINT)(val4);
11356 arg5 = (
PLFLT)(val5);
11357 plscol0a(arg1,arg2,arg3,arg4,arg5);
11366 PyObject *resultobj = 0;
11376 PyObject * obj0 = 0 ;
11377 PyObject * obj1 = 0 ;
11378 PyObject * obj2 = 0 ;
11380 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plscolbg",&obj0,&obj1,&obj2))
SWIG_fail;
11385 arg1 = (
PLINT)(val1);
11390 arg2 = (
PLINT)(val2);
11395 arg3 = (
PLINT)(val3);
11405 PyObject *resultobj = 0;
11418 PyObject * obj0 = 0 ;
11419 PyObject * obj1 = 0 ;
11420 PyObject * obj2 = 0 ;
11421 PyObject * obj3 = 0 ;
11423 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscolbga",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11428 arg1 = (
PLINT)(val1);
11433 arg2 = (
PLINT)(val2);
11438 arg3 = (
PLINT)(val3);
11443 arg4 = (
PLFLT)(val4);
11453 PyObject *resultobj = 0;
11457 PyObject * obj0 = 0 ;
11459 if (!PyArg_ParseTuple(args,(
char *)
"O:plscolor",&obj0))
SWIG_fail;
11464 arg1 = (
PLINT)(val1);
11474 PyObject *resultobj = 0;
11478 PyObject * obj0 = 0 ;
11480 if (!PyArg_ParseTuple(args,(
char *)
"O:plscompression",&obj0))
SWIG_fail;
11485 arg1 = (
PLINT)(val1);
11495 PyObject *resultobj = 0;
11496 char *arg1 = (
char *) 0 ;
11500 PyObject * obj0 = 0 ;
11502 if (!PyArg_ParseTuple(args,(
char *)
"O:plsdev",&obj0))
SWIG_fail;
11507 arg1 = (
char *)(buf1);
11508 plsdev((
char const *)arg1);
11519 PyObject *resultobj = 0;
11532 PyObject * obj0 = 0 ;
11533 PyObject * obj1 = 0 ;
11534 PyObject * obj2 = 0 ;
11535 PyObject * obj3 = 0 ;
11537 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsdidev",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11542 arg1 = (
PLFLT)(val1);
11547 arg2 = (
PLFLT)(val2);
11552 arg3 = (
PLFLT)(val3);
11557 arg4 = (
PLFLT)(val4);
11567 PyObject *resultobj = 0;
11586 PyObject * obj0 = 0 ;
11587 PyObject * obj1 = 0 ;
11588 PyObject * obj2 = 0 ;
11589 PyObject * obj3 = 0 ;
11590 PyObject * obj4 = 0 ;
11591 PyObject * obj5 = 0 ;
11593 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plsdimap",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
11598 arg1 = (
PLINT)(val1);
11603 arg2 = (
PLINT)(val2);
11608 arg3 = (
PLINT)(val3);
11613 arg4 = (
PLINT)(val4);
11618 arg5 = (
PLFLT)(val5);
11623 arg6 = (
PLFLT)(val6);
11624 plsdimap(arg1,arg2,arg3,arg4,arg5,arg6);
11633 PyObject *resultobj = 0;
11637 PyObject * obj0 = 0 ;
11639 if (!PyArg_ParseTuple(args,(
char *)
"O:plsdiori",&obj0))
SWIG_fail;
11644 arg1 = (
PLFLT)(val1);
11654 PyObject *resultobj = 0;
11667 PyObject * obj0 = 0 ;
11668 PyObject * obj1 = 0 ;
11669 PyObject * obj2 = 0 ;
11670 PyObject * obj3 = 0 ;
11672 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsdiplt",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11677 arg1 = (
PLFLT)(val1);
11682 arg2 = (
PLFLT)(val2);
11687 arg3 = (
PLFLT)(val3);
11692 arg4 = (
PLFLT)(val4);
11702 PyObject *resultobj = 0;
11715 PyObject * obj0 = 0 ;
11716 PyObject * obj1 = 0 ;
11717 PyObject * obj2 = 0 ;
11718 PyObject * obj3 = 0 ;
11720 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsdiplz",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11725 arg1 = (
PLFLT)(val1);
11730 arg2 = (
PLFLT)(val2);
11735 arg3 = (
PLFLT)(val3);
11740 arg4 = (
PLFLT)(val4);
11750 PyObject *resultobj = 0;
11751 unsigned int arg1 ;
11752 unsigned int val1 ;
11754 PyObject * obj0 = 0 ;
11756 if (!PyArg_ParseTuple(args,(
char *)
"O:plseed",&obj0))
SWIG_fail;
11761 arg1 = (
unsigned int)(val1);
11771 PyObject *resultobj = 0;
11775 PyObject * obj0 = 0 ;
11777 if (!PyArg_ParseTuple(args,(
char *)
"O:plsesc",&obj0))
SWIG_fail;
11782 arg1 = (char)(val1);
11792 PyObject *resultobj = 0;
11793 char *arg1 = (
char *) 0 ;
11794 char *arg2 = (
char *) 0 ;
11801 PyObject * obj0 = 0 ;
11802 PyObject * obj1 = 0 ;
11805 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsetopt",&obj0,&obj1))
SWIG_fail;
11810 arg1 = (
char *)(buf1);
11815 arg2 = (
char *)(buf2);
11816 result = (
PLINT)
plsetopt((
char const *)arg1,(
char const *)arg2);
11829 PyObject *resultobj = 0;
11839 PyObject * obj0 = 0 ;
11840 PyObject * obj1 = 0 ;
11841 PyObject * obj2 = 0 ;
11843 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsfam",&obj0,&obj1,&obj2))
SWIG_fail;
11848 arg1 = (
PLINT)(val1);
11853 arg2 = (
PLINT)(val2);
11858 arg3 = (
PLINT)(val3);
11868 PyObject *resultobj = 0;
11870 unsigned int val1 ;
11872 PyObject * obj0 = 0 ;
11874 if (!PyArg_ParseTuple(args,(
char *)
"O:plsfci",&obj0))
SWIG_fail;
11889 PyObject *resultobj = 0;
11890 char *arg1 = (
char *) 0 ;
11894 PyObject * obj0 = 0 ;
11896 if (!PyArg_ParseTuple(args,(
char *)
"O:plsfnam",&obj0))
SWIG_fail;
11901 arg1 = (
char *)(buf1);
11913 PyObject *resultobj = 0;
11923 PyObject * obj0 = 0 ;
11924 PyObject * obj1 = 0 ;
11925 PyObject * obj2 = 0 ;
11927 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsfont",&obj0,&obj1,&obj2))
SWIG_fail;
11932 arg1 = (
PLINT)(val1);
11937 arg2 = (
PLINT)(val2);
11942 arg3 = (
PLINT)(val3);
11952 PyObject *resultobj = 0;
11970 PyArrayObject *tmp1 = NULL ;
11979 PyArrayObject *tmp9 = NULL ;
11988 PyObject * obj0 = 0 ;
11989 PyObject * obj1 = 0 ;
11990 PyObject * obj2 = 0 ;
11991 PyObject * obj3 = 0 ;
11992 PyObject * obj4 = 0 ;
11993 PyObject * obj5 = 0 ;
11994 PyObject * obj6 = 0 ;
11995 PyObject * obj7 = 0 ;
11996 PyObject * obj8 = 0 ;
11997 PyObject * obj9 = 0 ;
11998 PyObject * obj10 = 0 ;
11999 PyObject * obj11 = 0 ;
12014 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOO|OO:plshades",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11))
SWIG_fail;
12018 if ( tmp1 == NULL )
12020 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
12021 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
12023 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
12024 for ( i = 0; i < arg2; i++ )
12025 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
12031 arg5 = (
PLFLT)(val5);
12036 arg6 = (
PLFLT)(val6);
12041 arg7 = (
PLFLT)(val7);
12046 arg8 = (
PLFLT)(val8);
12049 if ( tmp9 == NULL )
12051 arg10 = PyArray_DIMS( tmp9 )[0];
12052 arg9 = (
PLFLT *) PyArray_DATA( tmp9 );
12058 arg11 = (
PLFLT)(val11);
12063 arg12 = (
PLINT)(val12);
12068 arg13 = (
PLFLT)(val13);
12073 arg15 = (
PLBOOL)(val15);
12077 if ( obj10 == Py_None )
12083 if ( !PyCallable_Check( (PyObject *) obj10 ) )
12085 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
12094 if ( obj11 == Py_None )
12102 plshades((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(
double const *)arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17);
12137 PyObject *resultobj = 0;
12159 PyArrayObject *tmp1 = NULL ;
12188 PyObject * obj0 = 0 ;
12189 PyObject * obj1 = 0 ;
12190 PyObject * obj2 = 0 ;
12191 PyObject * obj3 = 0 ;
12192 PyObject * obj4 = 0 ;
12193 PyObject * obj5 = 0 ;
12194 PyObject * obj6 = 0 ;
12195 PyObject * obj7 = 0 ;
12196 PyObject * obj8 = 0 ;
12197 PyObject * obj9 = 0 ;
12198 PyObject * obj10 = 0 ;
12199 PyObject * obj11 = 0 ;
12200 PyObject * obj12 = 0 ;
12201 PyObject * obj13 = 0 ;
12202 PyObject * obj14 = 0 ;
12203 PyObject * obj15 = 0 ;
12204 PyObject * obj16 = 0 ;
12219 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;
12223 if ( tmp1 == NULL )
12225 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
12226 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
12228 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
12229 for ( i = 0; i < arg2; i++ )
12230 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
12236 arg5 = (
PLFLT)(val5);
12241 arg6 = (
PLFLT)(val6);
12246 arg7 = (
PLFLT)(val7);
12251 arg8 = (
PLFLT)(val8);
12256 arg9 = (
PLFLT)(val9);
12261 arg10 = (
PLFLT)(val10);
12266 arg11 = (
PLINT)(val11);
12271 arg12 = (
PLFLT)(val12);
12276 arg13 = (
PLFLT)(val13);
12281 arg14 = (
PLINT)(val14);
12286 arg15 = (
PLFLT)(val15);
12291 arg16 = (
PLINT)(val16);
12296 arg17 = (
PLFLT)(val17);
12301 arg19 = (
PLBOOL)(val19);
12305 if ( obj15 == Py_None )
12311 if ( !PyCallable_Check( (PyObject *) obj15 ) )
12313 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
12322 if ( obj16 == Py_None )
12330 plshade((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21);
12359 PyObject *resultobj = 0;
12363 PyObject * obj0 = 0 ;
12364 PyObject * obj1 = 0 ;
12366 if (!PyArg_ParseTuple(args,(
char *)
"OO:plslabelfunc",&obj0,&obj1))
SWIG_fail;
12375 if ( obj0 == Py_None )
12381 if ( !PyCallable_Check( (PyObject *) obj0 ) )
12383 PyErr_SetString( PyExc_ValueError,
"label_func argument must be callable" );
12387 Py_XINCREF( (PyObject *) obj0 );
12406 PyObject *resultobj = 0;
12413 PyObject * obj0 = 0 ;
12414 PyObject * obj1 = 0 ;
12416 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsmaj",&obj0,&obj1))
SWIG_fail;
12421 arg1 = (
PLFLT)(val1);
12426 arg2 = (
PLFLT)(val2);
12436 PyObject *resultobj = 0;
12439 void *arg3 = (
void *) 0 ;
12447 PyObject * obj0 = 0 ;
12448 PyObject * obj1 = 0 ;
12449 PyObject * obj2 = 0 ;
12451 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsmem",&obj0,&obj1,&obj2))
SWIG_fail;
12456 arg1 = (
PLINT)(val1);
12461 arg2 = (
PLINT)(val2);
12463 res3 = PyObject_AsWriteBuffer(obj2, &buf3, &size3);
12468 arg3 = (
void *) buf3;
12479 PyObject *resultobj = 0;
12482 void *arg3 = (
void *) 0 ;
12490 PyObject * obj0 = 0 ;
12491 PyObject * obj1 = 0 ;
12492 PyObject * obj2 = 0 ;
12494 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsmema",&obj0,&obj1,&obj2))
SWIG_fail;
12499 arg1 = (
PLINT)(val1);
12504 arg2 = (
PLINT)(val2);
12506 res3 = PyObject_AsWriteBuffer(obj2, &buf3, &size3);
12511 arg3 = (
void *) buf3;
12522 PyObject *resultobj = 0;
12529 PyObject * obj0 = 0 ;
12530 PyObject * obj1 = 0 ;
12532 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsmin",&obj0,&obj1))
SWIG_fail;
12537 arg1 = (
PLFLT)(val1);
12542 arg2 = (
PLFLT)(val2);
12552 PyObject *resultobj = 0;
12556 PyObject * obj0 = 0 ;
12558 if (!PyArg_ParseTuple(args,(
char *)
"O:plsori",&obj0))
SWIG_fail;
12563 arg1 = (
PLINT)(val1);
12573 PyObject *resultobj = 0;
12592 PyObject * obj0 = 0 ;
12593 PyObject * obj1 = 0 ;
12594 PyObject * obj2 = 0 ;
12595 PyObject * obj3 = 0 ;
12596 PyObject * obj4 = 0 ;
12597 PyObject * obj5 = 0 ;
12599 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plspage",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
12604 arg1 = (
PLFLT)(val1);
12609 arg2 = (
PLFLT)(val2);
12614 arg3 = (
PLINT)(val3);
12619 arg4 = (
PLINT)(val4);
12624 arg5 = (
PLINT)(val5);
12629 arg6 = (
PLINT)(val6);
12630 plspage(arg1,arg2,arg3,arg4,arg5,arg6);
12639 PyObject *resultobj = 0;
12640 char *arg1 = (
char *) 0 ;
12644 PyObject * obj0 = 0 ;
12646 if (!PyArg_ParseTuple(args,(
char *)
"O:plspal0",&obj0))
SWIG_fail;
12651 arg1 = (
char *)(buf1);
12663 PyObject *resultobj = 0;
12664 char *arg1 = (
char *) 0 ;
12671 PyObject * obj0 = 0 ;
12672 PyObject * obj1 = 0 ;
12674 if (!PyArg_ParseTuple(args,(
char *)
"OO:plspal1",&obj0,&obj1))
SWIG_fail;
12679 arg1 = (
char *)(buf1);
12685 plspal1((
char const *)arg1,arg2);
12696 PyObject *resultobj = 0;
12700 PyObject * obj0 = 0 ;
12702 if (!PyArg_ParseTuple(args,(
char *)
"O:plspause",&obj0))
SWIG_fail;
12717 PyObject *resultobj = 0;
12721 PyObject * obj0 = 0 ;
12723 if (!PyArg_ParseTuple(args,(
char *)
"O:plsstrm",&obj0))
SWIG_fail;
12728 arg1 = (
PLINT)(val1);
12738 PyObject *resultobj = 0;
12745 PyObject * obj0 = 0 ;
12746 PyObject * obj1 = 0 ;
12748 if (!PyArg_ParseTuple(args,(
char *)
"OO:plssub",&obj0,&obj1))
SWIG_fail;
12753 arg1 = (
PLINT)(val1);
12758 arg2 = (
PLINT)(val2);
12768 PyObject *resultobj = 0;
12775 PyObject * obj0 = 0 ;
12776 PyObject * obj1 = 0 ;
12778 if (!PyArg_ParseTuple(args,(
char *)
"OO:plssym",&obj0,&obj1))
SWIG_fail;
12783 arg1 = (
PLFLT)(val1);
12788 arg2 = (
PLFLT)(val2);
12798 PyObject *resultobj = 0;
12805 PyObject * obj0 = 0 ;
12806 PyObject * obj1 = 0 ;
12808 if (!PyArg_ParseTuple(args,(
char *)
"OO:plstar",&obj0,&obj1))
SWIG_fail;
12813 arg1 = (
PLINT)(val1);
12818 arg2 = (
PLINT)(val2);
12828 PyObject *resultobj = 0;
12829 char *arg1 = (
char *) 0 ;
12839 PyObject * obj0 = 0 ;
12840 PyObject * obj1 = 0 ;
12841 PyObject * obj2 = 0 ;
12843 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plstart",&obj0,&obj1,&obj2))
SWIG_fail;
12848 arg1 = (
char *)(buf1);
12853 arg2 = (
PLINT)(val2);
12858 arg3 = (
PLINT)(val3);
12859 plstart((
char const *)arg1,arg2,arg3);
12870 PyObject *resultobj = 0;
12874 PyObject * obj0 = 0 ;
12875 PyObject * obj1 = 0 ;
12881 if (!PyArg_ParseTuple(args,(
char *)
"|OO:plstransform",&obj0,&obj1))
SWIG_fail;
12887 if ( obj0 == Py_None )
12893 if ( !PyCallable_Check( (PyObject *) obj0 ) )
12895 PyErr_SetString( PyExc_ValueError,
"coordinate transform argument must be callable" );
12917 PyObject *resultobj = 0;
12921 char *arg4 = (
char *) 0 ;
12922 PyArrayObject *tmp1 = NULL ;
12923 PyArrayObject *tmp3 = NULL ;
12927 PyObject * obj0 = 0 ;
12928 PyObject * obj1 = 0 ;
12929 PyObject * obj2 = 0 ;
12931 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plstring",&obj0,&obj1,&obj2))
SWIG_fail;
12934 if ( tmp1 == NULL )
12936 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
12937 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
12941 if ( tmp3 == NULL )
12943 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
12945 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
12948 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
12954 arg4 = (
char *)(buf4);
12955 plstring(arg1,(
double const *)arg2,(
double const *)arg3,(
char const *)arg4);
12978 PyObject *resultobj = 0;
12983 char *arg5 = (
char *) 0 ;
12984 PyArrayObject *tmp1 = NULL ;
12985 PyArrayObject *tmp3 = NULL ;
12986 PyArrayObject *tmp4 = NULL ;
12990 PyObject * obj0 = 0 ;
12991 PyObject * obj1 = 0 ;
12992 PyObject * obj2 = 0 ;
12993 PyObject * obj3 = 0 ;
12995 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plstring3",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
12998 if ( tmp1 == NULL )
13000 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
13001 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
13005 if ( tmp3 == NULL )
13007 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13009 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13012 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
13016 if ( tmp4 == NULL )
13018 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
13020 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13023 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
13029 arg5 = (
char *)(buf5);
13030 plstring3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,(
char const *)arg5);
13059 PyObject *resultobj = 0;
13072 PyObject * obj0 = 0 ;
13073 PyObject * obj1 = 0 ;
13074 PyObject * obj2 = 0 ;
13075 PyObject * obj3 = 0 ;
13077 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plstripa",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
13082 arg1 = (
PLINT)(val1);
13087 arg2 = (
PLINT)(val2);
13092 arg3 = (
PLFLT)(val3);
13097 arg4 = (
PLFLT)(val4);
13107 PyObject *resultobj = 0;
13109 char *arg2 = (
char *) 0 ;
13110 char *arg3 = (
char *) 0 ;
13125 char *arg18 = (
char *) 0 ;
13126 char *arg19 = (
char *) 0 ;
13127 char *arg20 = (
char *) 0 ;
13158 PyArrayObject *tmp15 = NULL ;
13159 PyArrayObject *tmp16 = NULL ;
13160 char **tmp17 = NULL ;
13170 PyObject * obj0 = 0 ;
13171 PyObject * obj1 = 0 ;
13172 PyObject * obj2 = 0 ;
13173 PyObject * obj3 = 0 ;
13174 PyObject * obj4 = 0 ;
13175 PyObject * obj5 = 0 ;
13176 PyObject * obj6 = 0 ;
13177 PyObject * obj7 = 0 ;
13178 PyObject * obj8 = 0 ;
13179 PyObject * obj9 = 0 ;
13180 PyObject * obj10 = 0 ;
13181 PyObject * obj11 = 0 ;
13182 PyObject * obj12 = 0 ;
13183 PyObject * obj13 = 0 ;
13184 PyObject * obj14 = 0 ;
13185 PyObject * obj15 = 0 ;
13186 PyObject * obj16 = 0 ;
13187 PyObject * obj17 = 0 ;
13188 PyObject * obj18 = 0 ;
13191 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;
13196 arg2 = (
char *)(buf2);
13201 arg3 = (
char *)(buf3);
13206 arg4 = (
PLFLT)(val4);
13211 arg5 = (
PLFLT)(val5);
13216 arg6 = (
PLFLT)(val6);
13221 arg7 = (
PLFLT)(val7);
13226 arg8 = (
PLFLT)(val8);
13231 arg9 = (
PLFLT)(val9);
13236 arg10 = (
PLFLT)(val10);
13241 arg11 = (
PLBOOL)(val11);
13246 arg12 = (
PLBOOL)(val12);
13251 arg13 = (
PLINT)(val13);
13256 arg14 = (
PLINT)(val14);
13259 if ( tmp15 == NULL )
13261 Alen = PyArray_DIMS( tmp15 )[0];
13262 arg15 = (
PLINT *) PyArray_DATA( tmp15 );
13266 if ( tmp16 == NULL )
13268 if ( PyArray_DIMS( tmp16 )[0] !=
Alen )
13270 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13273 arg16 = (
PLINT *) PyArray_DATA( tmp16 );
13277 PyObject *elt, *unicode_string;
13281 PyErr_SetString( PyExc_ValueError,
"Requires a sequence of 4 strings." );
13286 PyErr_SetString( PyExc_ValueError,
"colline and styline args must be length 4." );
13289 tmp17 = (
char **) malloc(
sizeof (
char* ) * 4 );
13290 if ( tmp17 == NULL )
13293 for ( i = 0; i < 4; i++ )
13297 if ( PyString_Check( elt ) )
13299 arg17[i] = PyString_AsString( elt );
13301 else if ( PyUnicode_Check( elt ) )
13303 unicode_string = PyUnicode_AsEncodedString( elt,
"utf-8",
"Error ~" );
13304 arg17[i] = PyBytes_AS_STRING( unicode_string );
13306 if ( arg17[i] == NULL )
13317 arg18 = (
char *)(buf18);
13322 arg19 = (
char *)(buf19);
13327 arg20 = (
char *)(buf20);
13328 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);
13371 PyObject *resultobj = 0;
13375 PyObject * obj0 = 0 ;
13377 if (!PyArg_ParseTuple(args,(
char *)
"O:plstripd",&obj0))
SWIG_fail;
13382 arg1 = (
PLINT)(val1);
13392 PyObject *resultobj = 0;
13396 PyArrayObject *tmp1 = NULL ;
13397 PyArrayObject *tmp3 = NULL ;
13398 PyObject * obj0 = 0 ;
13399 PyObject * obj1 = 0 ;
13401 if (!PyArg_ParseTuple(args,(
char *)
"OO:plstyl",&obj0,&obj1))
SWIG_fail;
13404 if ( tmp1 == NULL )
13406 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
13407 arg2 = (
PLINT *) PyArray_DATA( tmp1 );
13411 if ( tmp3 == NULL )
13413 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13415 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13418 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
13420 plstyl(arg1,(
int const *)arg2,(
int const *)arg3);
13441 PyObject *resultobj = 0;
13446 PyArrayObject *tmp1 = NULL ;
13447 PyArrayObject *tmp2 = NULL ;
13450 PyObject * obj0 = 0 ;
13451 PyObject * obj1 = 0 ;
13452 PyObject * obj2 = 0 ;
13454 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsvect",&obj0,&obj1,&obj2))
SWIG_fail;
13456 if ( obj0 != Py_None )
13459 if ( tmp1 == NULL )
13461 Alen = PyArray_DIMS( tmp1 )[0];
13462 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
13471 if ( obj1 != Py_None )
13474 if ( tmp2 == NULL )
13476 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
13478 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13481 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
13482 arg3 = PyArray_DIMS( tmp2 )[0];
13495 plsvect((
double const *)arg1,(
double const *)arg2,arg3,arg4);
13516 PyObject *resultobj = 0;
13529 PyObject * obj0 = 0 ;
13530 PyObject * obj1 = 0 ;
13531 PyObject * obj2 = 0 ;
13532 PyObject * obj3 = 0 ;
13534 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsvpa",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
13539 arg1 = (
PLFLT)(val1);
13544 arg2 = (
PLFLT)(val2);
13549 arg3 = (
PLFLT)(val3);
13554 arg4 = (
PLFLT)(val4);
13555 plsvpa(arg1,arg2,arg3,arg4);
13564 PyObject *resultobj = 0;
13571 PyObject * obj0 = 0 ;
13572 PyObject * obj1 = 0 ;
13574 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsxax",&obj0,&obj1))
SWIG_fail;
13579 arg1 = (
PLINT)(val1);
13584 arg2 = (
PLINT)(val2);
13594 PyObject *resultobj = 0;
13601 PyObject * obj0 = 0 ;
13602 PyObject * obj1 = 0 ;
13604 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsyax",&obj0,&obj1))
SWIG_fail;
13609 arg1 = (
PLINT)(val1);
13614 arg2 = (
PLINT)(val2);
13624 PyObject *resultobj = 0;
13629 PyArrayObject *tmp1 = NULL ;
13630 PyArrayObject *tmp3 = NULL ;
13633 PyObject * obj0 = 0 ;
13634 PyObject * obj1 = 0 ;
13635 PyObject * obj2 = 0 ;
13637 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsym",&obj0,&obj1,&obj2))
SWIG_fail;
13640 if ( tmp1 == NULL )
13642 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
13643 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
13647 if ( tmp3 == NULL )
13649 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13651 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13654 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
13660 arg4 = (
PLINT)(val4);
13661 plsym(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
13682 PyObject *resultobj = 0;
13689 PyObject * obj0 = 0 ;
13690 PyObject * obj1 = 0 ;
13692 if (!PyArg_ParseTuple(args,(
char *)
"OO:plszax",&obj0,&obj1))
SWIG_fail;
13697 arg1 = (
PLINT)(val1);
13702 arg2 = (
PLINT)(val2);
13712 PyObject *resultobj = 0;
13714 if (!PyArg_ParseTuple(args,(
char *)
":pltext"))
SWIG_fail;
13724 PyObject *resultobj = 0;
13725 char *arg1 = (
char *) 0 ;
13729 PyObject * obj0 = 0 ;
13731 if (!PyArg_ParseTuple(args,(
char *)
"O:pltimefmt",&obj0))
SWIG_fail;
13736 arg1 = (
char *)(buf1);
13748 PyObject *resultobj = 0;
13752 PyObject * obj0 = 0 ;
13754 if (!PyArg_ParseTuple(args,(
char *)
"O:plvasp",&obj0))
SWIG_fail;
13759 arg1 = (
PLFLT)(val1);
13769 PyObject *resultobj = 0;
13777 PyArrayObject *tmp1 = NULL ;
13778 PyArrayObject *tmp2 = NULL ;
13781 PyObject * obj0 = 0 ;
13782 PyObject * obj1 = 0 ;
13783 PyObject * obj2 = 0 ;
13784 PyObject * obj3 = 0 ;
13785 PyObject * obj4 = 0 ;
13794 if (!PyArg_ParseTuple(args,(
char *)
"OOO|OO:plvect",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
13798 if ( tmp1 == NULL )
13800 Xlen = PyArray_DIMS( tmp1 )[0];
13801 Ylen = PyArray_DIMS( tmp1 )[1];
13804 for ( i = 0; i <
Xlen; i++ )
13805 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
13810 if ( tmp2 == NULL )
13812 if (
Xlen != PyArray_DIMS( tmp2 )[0] ||
Ylen != PyArray_DIMS( tmp2 )[1] )
13814 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
13817 arg3 = PyArray_DIMS( tmp2 )[0];
13818 arg4 = PyArray_DIMS( tmp2 )[1];
13820 arg2 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg3 );
13821 for ( i = 0; i < arg3; i++ )
13822 arg2[i] = ( (
PLFLT *) PyArray_DATA( tmp2 ) + i * size );
13828 arg5 = (
PLFLT)(val5);
13832 if ( obj3 == Py_None )
13838 if ( !PyCallable_Check( (PyObject *) obj3 ) )
13840 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
13849 if ( obj4 == Py_None )
13857 plvect((
double const **)arg1,(
double const **)arg2,arg3,arg4,arg5,arg6,arg7);
13894 PyObject *resultobj = 0;
13910 PyObject * obj0 = 0 ;
13911 PyObject * obj1 = 0 ;
13912 PyObject * obj2 = 0 ;
13913 PyObject * obj3 = 0 ;
13914 PyObject * obj4 = 0 ;
13916 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plvpas",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
13921 arg1 = (
PLFLT)(val1);
13926 arg2 = (
PLFLT)(val2);
13931 arg3 = (
PLFLT)(val3);
13936 arg4 = (
PLFLT)(val4);
13941 arg5 = (
PLFLT)(val5);
13942 plvpas(arg1,arg2,arg3,arg4,arg5);
13951 PyObject *resultobj = 0;
13964 PyObject * obj0 = 0 ;
13965 PyObject * obj1 = 0 ;
13966 PyObject * obj2 = 0 ;
13967 PyObject * obj3 = 0 ;
13969 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plvpor",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
13974 arg1 = (
PLFLT)(val1);
13979 arg2 = (
PLFLT)(val2);
13984 arg3 = (
PLFLT)(val3);
13989 arg4 = (
PLFLT)(val4);
13990 plvpor(arg1,arg2,arg3,arg4);
13999 PyObject *resultobj = 0;
14001 if (!PyArg_ParseTuple(args,(
char *)
":plvsta"))
SWIG_fail;
14011 PyObject *resultobj = 0;
14045 PyObject * obj0 = 0 ;
14046 PyObject * obj1 = 0 ;
14047 PyObject * obj2 = 0 ;
14048 PyObject * obj3 = 0 ;
14049 PyObject * obj4 = 0 ;
14050 PyObject * obj5 = 0 ;
14051 PyObject * obj6 = 0 ;
14052 PyObject * obj7 = 0 ;
14053 PyObject * obj8 = 0 ;
14054 PyObject * obj9 = 0 ;
14055 PyObject * obj10 = 0 ;
14057 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plw3d",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
14062 arg1 = (
PLFLT)(val1);
14067 arg2 = (
PLFLT)(val2);
14072 arg3 = (
PLFLT)(val3);
14077 arg4 = (
PLFLT)(val4);
14082 arg5 = (
PLFLT)(val5);
14087 arg6 = (
PLFLT)(val6);
14092 arg7 = (
PLFLT)(val7);
14097 arg8 = (
PLFLT)(val8);
14102 arg9 = (
PLFLT)(val9);
14107 arg10 = (
PLFLT)(val10);
14112 arg11 = (
PLFLT)(val11);
14113 plw3d(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
14122 PyObject *resultobj = 0;
14126 PyObject * obj0 = 0 ;
14128 if (!PyArg_ParseTuple(args,(
char *)
"O:plwidth",&obj0))
SWIG_fail;
14133 arg1 = (
PLFLT)(val1);
14143 PyObject *resultobj = 0;
14156 PyObject * obj0 = 0 ;
14157 PyObject * obj1 = 0 ;
14158 PyObject * obj2 = 0 ;
14159 PyObject * obj3 = 0 ;
14161 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plwind",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
14166 arg1 = (
PLFLT)(val1);
14171 arg2 = (
PLFLT)(val2);
14176 arg3 = (
PLFLT)(val3);
14181 arg4 = (
PLFLT)(val4);
14182 plwind(arg1,arg2,arg3,arg4);
14191 PyObject *resultobj = 0;
14198 PyObject * obj0 = 0 ;
14201 if (!PyArg_ParseTuple(args,(
char *)
"O:plxormod",&obj0))
SWIG_fail;
14222 PyObject *resultobj = 0;
14224 char *arg2 = (
char *) 0 ;
14240 PyObject * obj0 = 0 ;
14241 PyObject * obj1 = 0 ;
14242 PyObject * obj2 = 0 ;
14243 PyObject * obj3 = 0 ;
14244 PyObject * obj4 = 0 ;
14245 PyObject * obj5 = 0 ;
14247 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plmap",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
14250 if ( obj0 == Py_None )
14256 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14258 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14268 arg2 = (
char *)(buf2);
14273 arg3 = (
PLFLT)(val3);
14278 arg4 = (
PLFLT)(val4);
14283 arg5 = (
PLFLT)(val5);
14288 arg6 = (
PLFLT)(val6);
14289 plmap(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6);
14306 PyObject *resultobj = 0;
14308 char *arg2 = (
char *) 0 ;
14326 PyArrayObject *tmp7 = NULL ;
14327 PyObject * obj0 = 0 ;
14328 PyObject * obj1 = 0 ;
14329 PyObject * obj2 = 0 ;
14330 PyObject * obj3 = 0 ;
14331 PyObject * obj4 = 0 ;
14332 PyObject * obj5 = 0 ;
14333 PyObject * obj6 = 0 ;
14335 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plmapline",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
14338 if ( obj0 == Py_None )
14344 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14346 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14356 arg2 = (
char *)(buf2);
14361 arg3 = (
PLFLT)(val3);
14366 arg4 = (
PLFLT)(val4);
14371 arg5 = (
PLFLT)(val5);
14376 arg6 = (
PLFLT)(val6);
14378 if ( obj6 != Py_None )
14381 if ( tmp7 == NULL )
14383 arg7 = (
PLINT *) PyArray_DATA( tmp7 );
14384 arg8 = PyArray_DIMS( tmp7 )[0];
14392 plmapline(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6,(
int const *)arg7,arg8);
14415 PyObject *resultobj = 0;
14417 char *arg2 = (
char *) 0 ;
14418 char *arg3 = (
char *) 0 ;
14439 PyArrayObject *tmp8 = NULL ;
14440 PyObject * obj0 = 0 ;
14441 PyObject * obj1 = 0 ;
14442 PyObject * obj2 = 0 ;
14443 PyObject * obj3 = 0 ;
14444 PyObject * obj4 = 0 ;
14445 PyObject * obj5 = 0 ;
14446 PyObject * obj6 = 0 ;
14447 PyObject * obj7 = 0 ;
14449 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plmapstring",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
14452 if ( obj0 == Py_None )
14458 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14460 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14470 arg2 = (
char *)(buf2);
14475 arg3 = (
char *)(buf3);
14480 arg4 = (
PLFLT)(val4);
14485 arg5 = (
PLFLT)(val5);
14490 arg6 = (
PLFLT)(val6);
14495 arg7 = (
PLFLT)(val7);
14497 if ( obj7 != Py_None )
14500 if ( tmp8 == NULL )
14502 arg8 = (
PLINT *) PyArray_DATA( tmp8 );
14503 arg9 = PyArray_DIMS( tmp8 )[0];
14511 plmapstring(arg1,(
char const *)arg2,(
char const *)arg3,arg4,arg5,arg6,arg7,(
int const *)arg8,arg9);
14536 PyObject *resultobj = 0;
14538 char *arg2 = (
char *) 0 ;
14542 char *arg6 = (
char *) 0 ;
14570 PyObject * obj0 = 0 ;
14571 PyObject * obj1 = 0 ;
14572 PyObject * obj2 = 0 ;
14573 PyObject * obj3 = 0 ;
14574 PyObject * obj4 = 0 ;
14575 PyObject * obj5 = 0 ;
14576 PyObject * obj6 = 0 ;
14577 PyObject * obj7 = 0 ;
14578 PyObject * obj8 = 0 ;
14579 PyObject * obj9 = 0 ;
14580 PyObject * obj10 = 0 ;
14582 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plmaptex",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
14585 if ( obj0 == Py_None )
14591 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14593 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14603 arg2 = (
char *)(buf2);
14608 arg3 = (
PLFLT)(val3);
14613 arg4 = (
PLFLT)(val4);
14618 arg5 = (
PLFLT)(val5);
14623 arg6 = (
char *)(buf6);
14628 arg7 = (
PLFLT)(val7);
14633 arg8 = (
PLFLT)(val8);
14638 arg9 = (
PLFLT)(val9);
14643 arg10 = (
PLFLT)(val10);
14648 arg11 = (
PLINT)(val11);
14649 plmaptex(arg1,(
char const *)arg2,arg3,arg4,arg5,(
char const *)arg6,arg7,arg8,arg9,arg10,arg11);
14668 PyObject *resultobj = 0;
14670 char *arg2 = (
char *) 0 ;
14688 PyArrayObject *tmp7 = NULL ;
14689 PyObject * obj0 = 0 ;
14690 PyObject * obj1 = 0 ;
14691 PyObject * obj2 = 0 ;
14692 PyObject * obj3 = 0 ;
14693 PyObject * obj4 = 0 ;
14694 PyObject * obj5 = 0 ;
14695 PyObject * obj6 = 0 ;
14697 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plmapfill",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
14700 if ( obj0 == Py_None )
14706 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14708 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14718 arg2 = (
char *)(buf2);
14723 arg3 = (
PLFLT)(val3);
14728 arg4 = (
PLFLT)(val4);
14733 arg5 = (
PLFLT)(val5);
14738 arg6 = (
PLFLT)(val6);
14740 if ( obj6 != Py_None )
14743 if ( tmp7 == NULL )
14745 arg7 = (
PLINT *) PyArray_DATA( tmp7 );
14746 arg8 = PyArray_DIMS( tmp7 )[0];
14754 plmapfill(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6,(
int const *)arg7,arg8);
14777 PyObject *resultobj = 0;
14797 PyObject * obj0 = 0 ;
14798 PyObject * obj1 = 0 ;
14799 PyObject * obj2 = 0 ;
14800 PyObject * obj3 = 0 ;
14801 PyObject * obj4 = 0 ;
14802 PyObject * obj5 = 0 ;
14803 PyObject * obj6 = 0 ;
14805 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plmeridians",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
14808 if ( obj0 == Py_None )
14814 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14816 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14826 arg2 = (
PLFLT)(val2);
14831 arg3 = (
PLFLT)(val3);
14836 arg4 = (
PLFLT)(val4);
14841 arg5 = (
PLFLT)(val5);
14846 arg6 = (
PLFLT)(val6);
14851 arg7 = (
PLFLT)(val7);
14867 PyObject *resultobj = 0;
14881 PyArrayObject *tmp1 = NULL ;
14902 PyObject * obj0 = 0 ;
14903 PyObject * obj1 = 0 ;
14904 PyObject * obj2 = 0 ;
14905 PyObject * obj3 = 0 ;
14906 PyObject * obj4 = 0 ;
14907 PyObject * obj5 = 0 ;
14908 PyObject * obj6 = 0 ;
14909 PyObject * obj7 = 0 ;
14910 PyObject * obj8 = 0 ;
14911 PyObject * obj9 = 0 ;
14912 PyObject * obj10 = 0 ;
14914 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plimage",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
14918 if ( tmp1 == NULL )
14920 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
14921 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
14923 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
14924 for ( i = 0; i < arg2; i++ )
14925 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
14931 arg4 = (
PLFLT)(val4);
14936 arg5 = (
PLFLT)(val5);
14941 arg6 = (
PLFLT)(val6);
14946 arg7 = (
PLFLT)(val7);
14951 arg8 = (
PLFLT)(val8);
14956 arg9 = (
PLFLT)(val9);
14961 arg10 = (
PLFLT)(val10);
14966 arg11 = (
PLFLT)(val11);
14971 arg12 = (
PLFLT)(val12);
14976 arg13 = (
PLFLT)(val13);
14977 plimage((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
14994 PyObject *resultobj = 0;
15008 PyArrayObject *tmp1 = NULL ;
15025 PyObject * obj0 = 0 ;
15026 PyObject * obj1 = 0 ;
15027 PyObject * obj2 = 0 ;
15028 PyObject * obj3 = 0 ;
15029 PyObject * obj4 = 0 ;
15030 PyObject * obj5 = 0 ;
15031 PyObject * obj6 = 0 ;
15032 PyObject * obj7 = 0 ;
15033 PyObject * obj8 = 0 ;
15034 PyObject * obj9 = 0 ;
15035 PyObject * obj10 = 0 ;
15044 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOO|OO:plimagefr",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
15048 if ( tmp1 == NULL )
15050 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15051 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15053 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
15054 for ( i = 0; i < arg2; i++ )
15055 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15061 arg4 = (
PLFLT)(val4);
15066 arg5 = (
PLFLT)(val5);
15071 arg6 = (
PLFLT)(val6);
15076 arg7 = (
PLFLT)(val7);
15081 arg8 = (
PLFLT)(val8);
15086 arg9 = (
PLFLT)(val9);
15091 arg10 = (
PLFLT)(val10);
15096 arg11 = (
PLFLT)(val11);
15100 if ( obj9 == Py_None )
15106 if ( !PyCallable_Check( (PyObject *) obj9 ) )
15108 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
15117 if ( obj10 == Py_None )
15125 plimagefr((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
15154 PyObject *resultobj = 0;
15156 if (!PyArg_ParseTuple(args,(
char *)
":plClearOpts"))
SWIG_fail;
15166 PyObject *resultobj = 0;
15168 if (!PyArg_ParseTuple(args,(
char *)
":plResetOpts"))
SWIG_fail;
15178 PyObject *resultobj = 0;
15179 char *arg1 = (
char *) 0 ;
15180 char *arg2 = (
char *) 0 ;
15187 PyObject * obj0 = 0 ;
15188 PyObject * obj1 = 0 ;
15190 if (!PyArg_ParseTuple(args,(
char *)
"OO:plSetUsage",&obj0,&obj1))
SWIG_fail;
15195 arg1 = (
char *)(buf1);
15200 arg2 = (
char *)(buf2);
15201 plSetUsage((
char const *)arg1,(
char const *)arg2);
15214 PyObject *resultobj = 0;
15216 if (!PyArg_ParseTuple(args,(
char *)
":plOptUsage"))
SWIG_fail;
15226 PyObject *resultobj = 0;
15232 PyArrayObject *tmp1 = NULL ;
15237 PyObject * obj0 = 0 ;
15241 if (!PyArg_ParseTuple(args,(
char *)
"O:plMinMax2dGrid",&obj0))
SWIG_fail;
15245 if ( tmp1 == NULL )
15247 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15248 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15250 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
15251 for ( i = 0; i < arg2; i++ )
15252 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15283 PyObject *resultobj = 0;
15287 PyObject * obj0 = 0 ;
15290 if (!PyArg_ParseTuple(args,(
char *)
"O:plGetCursor",&obj0))
SWIG_fail;
15306 { (
char *)
"pltr0",
_wrap_pltr0, METH_VARARGS, NULL},
15307 { (
char *)
"pltr1",
_wrap_pltr1, METH_VARARGS, NULL},
15308 { (
char *)
"pltr2",
_wrap_pltr2, METH_VARARGS, NULL},
15338 "Set format of numerical label for contours\n" 15342 " Set format of numerical label for contours.\n" 15344 " Redacted form: pl_setcontlabelformat(lexp, sigdig)\n" 15346 " This function is used example 9.\n" 15352 "pl_setcontlabelformat(lexp, sigdig)\n" 15356 " lexp (PLINT, input) : If the contour numerical label is greater\n" 15357 " than 10^(lexp) or less than 10^(-lexp), then the exponential\n" 15358 " format is used. Default value of lexp is 4.\n" 15360 " sigdig (PLINT, input) : Number of significant digits. Default\n" 15365 "Set parameters of contour labelling other than format of numerical label\n" 15369 " Set parameters of contour labelling other than those handled by\n" 15370 " pl_setcontlabelformat.\n" 15372 " Redacted form: pl_setcontlabelparam(offset, size, spacing, active)\n" 15374 " This function is used in example 9.\n" 15380 "pl_setcontlabelparam(offset, size, spacing, active)\n" 15384 " offset (PLFLT, input) : Offset of label from contour line (if set\n" 15385 " to 0.0, labels are printed on the lines). Default value is 0.006.\n" 15387 " size (PLFLT, input) : Font height for contour labels (normalized).\n" 15388 " Default value is 0.3.\n" 15390 " spacing (PLFLT, input) : Spacing parameter for contour labels.\n" 15391 " Default value is 0.1.\n" 15393 " active (PLINT, input) : Activate labels. Set to 1 if you want\n" 15394 " contour labels on. Default is off (0).\n" 15397 { (
char *)
"pladv",
_wrap_pladv, METH_VARARGS, (
char *)
"\n" 15398 "Advance the (sub-)page\n" 15402 " Advances to the next subpage if sub=0, performing a page advance if\n" 15403 " there are no remaining subpages on the current page. If subpages\n" 15404 " aren't being used, pladv(0) will always advance the page. If page>0,\n" 15405 " PLplot switches to the specified subpage. Note that this allows you\n" 15406 " to overwrite a plot on the specified subpage; if this is not what you\n" 15407 " intended, use pleop followed by plbop to first advance the page. This\n" 15408 " routine is called automatically (with page=0) by plenv, but if plenv\n" 15409 " is not used, pladv must be called after initializing PLplot but before\n" 15410 " defining the viewport.\n" 15412 " Redacted form: pladv(page)\n" 15414 " This function is used in examples 1, 2, 4, 6-12, 14-18, 20, 21, 23-27,\n" 15425 " page (PLINT, input) : Specifies the subpage number (starting from 1\n" 15426 " in the top left corner and increasing along the rows) to which to\n" 15427 " advance. Set to zero to advance to the next subpage (or to the\n" 15428 " next page if subpages are not being used).\n" 15431 { (
char *)
"plarc",
_wrap_plarc, METH_VARARGS, (
char *)
"\n" 15432 "Draw a circular or elliptical arc\n" 15436 " Draw a possibly filled arc centered at x, y with semimajor axis a and\n" 15437 " semiminor axis b, starting at angle1 and ending at angle2.\n" 15439 " Redacted form: General: plarc(x, y, a, b, angle1, angle2, rotate,\n" 15443 " This function is used in examples 3 and 27.\n" 15449 "plarc(x, y, a, b, angle1, angle2, rotate, fill)\n" 15453 " x (PLFLT, input) : X coordinate of arc center.\n" 15455 " y (PLFLT, input) : Y coordinate of arc center.\n" 15457 " a (PLFLT, input) : Length of the semimajor axis of the arc.\n" 15459 " b (PLFLT, input) : Length of the semiminor axis of the arc.\n" 15461 " angle1 (PLFLT, input) : Starting angle of the arc relative to the\n" 15462 " semimajor axis.\n" 15464 " angle2 (PLFLT, input) : Ending angle of the arc relative to the\n" 15465 " semimajor axis.\n" 15467 " rotate (PLFLT, input) : Angle of the semimajor axis relative to the\n" 15470 " fill (PLBOOL, input) : Draw a filled arc.\n" 15473 { (
char *)
"plaxes",
_wrap_plaxes, METH_VARARGS, (
char *)
"\n" 15474 "Draw a box with axes, etc. with arbitrary origin\n" 15478 " Draws a box around the currently defined viewport with arbitrary\n" 15479 " world-coordinate origin specified by x0 and y0 and labels it with\n" 15480 " world coordinate values appropriate to the window. Thus plaxes should\n" 15481 " only be called after defining both viewport and window. The ascii\n" 15482 " character strings xopt and yopt specify how the box should be drawn as\n" 15483 " described below. If ticks and/or subticks are to be drawn for a\n" 15484 " particular axis, the tick intervals and number of subintervals may be\n" 15485 " specified explicitly, or they may be defaulted by setting the\n" 15486 " appropriate arguments to zero.\n" 15488 " Redacted form: General: plaxes(x0, y0, xopt, xtick, nxsub, yopt,\n" 15492 " This function is not used in any examples.\n" 15498 "plaxes(x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub)\n" 15502 " x0 (PLFLT, input) : World X coordinate of origin.\n" 15504 " y0 (PLFLT, input) : World Y coordinate of origin.\n" 15506 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15507 " options for the x axis. The string can include any combination of\n" 15508 " the following letters (upper or lower case) in any order: a: Draws\n" 15509 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n" 15511 " b: Draws bottom (X) or left (Y) edge of frame.\n" 15512 " c: Draws top (X) or right (Y) edge of frame.\n" 15513 " d: Plot labels as date / time. Values are assumed to be\n" 15514 " seconds since the epoch (as used by gmtime).\n" 15515 " f: Always use fixed point numeric labels.\n" 15516 " g: Draws a grid at the major tick interval.\n" 15517 " h: Draws a grid at the minor tick interval.\n" 15518 " i: Inverts tick marks, so they are drawn outwards, rather than\n" 15520 " l: Labels axis logarithmically. This only affects the labels,\n" 15521 " not the data, and so it is necessary to compute the logarithms\n" 15522 " of data points before passing them to any of the drawing\n" 15524 " m: Writes numeric labels at major tick intervals in the\n" 15525 " unconventional location (above box for X, right of box for Y).\n" 15526 " n: Writes numeric labels at major tick intervals in the\n" 15527 " conventional location (below box for X, left of box for Y).\n" 15528 " o: Use custom labelling function to generate axis label text.\n" 15529 " The custom labelling function can be defined with the\n" 15530 " plslabelfunc command.\n" 15531 " s: Enables subticks between major ticks, only valid if t is\n" 15532 " also specified.\n" 15533 " t: Draws major ticks.\n" 15534 " u: Exactly like \"b\" except don't draw edge line.\n" 15535 " w: Exactly like \"c\" except don't draw edge line.\n" 15536 " x: Exactly like \"t\" (including the side effect of the\n" 15537 " numerical labels for the major ticks) except exclude drawing\n" 15538 " the major and minor tick marks.\n" 15541 " xtick (PLFLT, input) : World coordinate interval between major\n" 15542 " ticks on the x axis. If it is set to zero, PLplot automatically\n" 15543 " generates a suitable tick interval.\n" 15545 " nxsub (PLINT, input) : Number of subintervals between major x axis\n" 15546 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15547 " generates a suitable minor tick interval.\n" 15549 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15550 " options for the y axis. The string can include any combination of\n" 15551 " the letters defined above for xopt, and in addition may contain:\n" 15552 " v: Write numeric labels for the y axis parallel to the base of the\n" 15553 " graph, rather than parallel to the axis.\n" 15556 " ytick (PLFLT, input) : World coordinate interval between major\n" 15557 " ticks on the y axis. If it is set to zero, PLplot automatically\n" 15558 " generates a suitable tick interval.\n" 15560 " nysub (PLINT, input) : Number of subintervals between major y axis\n" 15561 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15562 " generates a suitable minor tick interval.\n" 15565 { (
char *)
"plbin",
_wrap_plbin, METH_VARARGS, (
char *)
"\n" 15566 "Plot a histogram from binned data\n" 15570 " Plots a histogram consisting of nbin bins. The value associated with\n" 15571 " the i'th bin is placed in x[i], and the number of points in the bin is\n" 15572 " placed in y[i]. For proper operation, the values in x[i] must form a\n" 15573 " strictly increasing sequence. By default, x[i] is the left-hand edge\n" 15574 " of the i'th bin. If opt=PL_BIN_CENTRED is used, the bin boundaries are\n" 15575 " placed midway between the values in the x vector. Also see plhist for\n" 15576 " drawing histograms from unbinned data.\n" 15578 " Redacted form: General: plbin(x, y, opt)\n" 15579 " Python: plbin(nbin, x, y, opt)\n" 15582 " This function is not used in any examples.\n" 15588 "plbin(nbin, x, y, opt)\n" 15592 " nbin (PLINT, input) : Number of bins (i.e., number of values in x\n" 15593 " and y vectors.)\n" 15595 " x (PLFLT_VECTOR, input) : A vector containing values associated\n" 15596 " with bins. These must form a strictly increasing sequence.\n" 15598 " y (PLFLT_VECTOR, input) : A vector containing a number which is\n" 15599 " proportional to the number of points in each bin. This is a PLFLT\n" 15600 " (instead of PLINT) vector so as to allow histograms of\n" 15601 " probabilities, etc.\n" 15603 " opt (PLINT, input) : Is a combination of several flags:\n" 15604 " opt=PL_BIN_DEFAULT: The x represent the lower bin boundaries, the\n" 15605 " outer bins are expanded to fill up the entire x-axis and bins of\n" 15606 " zero height are simply drawn.\n" 15607 " opt=PL_BIN_CENTRED|...: The bin boundaries are to be midway\n" 15608 " between the x values. If the values in x are equally spaced,\n" 15609 " the values are the center values of the bins.\n" 15610 " opt=PL_BIN_NOEXPAND|...: The outer bins are drawn with equal\n" 15611 " size as the ones inside.\n" 15612 " opt=PL_BIN_NOEMPTY|...: Bins with zero height are not drawn\n" 15613 " (there is a gap for such bins).\n" 15616 { (
char *)
"plbtime",
_wrap_plbtime, METH_VARARGS, (
char *)
"\n" 15617 "Calculate broken-down time from continuous time for the current stream\n" 15621 " Calculate broken-down time; year, month, day, hour, min, sec; from\n" 15622 " continuous time, ctime for the current stream. This function is the\n" 15623 " inverse of plctime.\n" 15625 " The PLplot definition of broken-down time is a calendar time that\n" 15626 " completely ignores all time zone offsets, i.e., it is the user's\n" 15627 " responsibility to apply those offsets (if so desired) before using the\n" 15628 " PLplot time API. By default broken-down time is defined using the\n" 15629 " proleptic Gregorian calendar without the insertion of leap seconds and\n" 15630 " continuous time is defined as the number of seconds since the Unix\n" 15631 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n" 15632 " broken-down and continuous time are possible, see plconfigtime.\n" 15634 " Redacted form: General: plbtime(year, month, day, hour, min, sec,\n" 15638 " This function is used in example 29.\n" 15644 "plbtime(year, month, day, hour, min, sec, ctime)\n" 15648 " year (PLINT_NC_SCALAR, output) : Returned value of years with\n" 15649 " positive values corresponding to CE (i.e., 1 = 1 CE, etc.) and\n" 15650 " non-negative values corresponding to BCE (e.g., 0 = 1 BCE, -1 = 2\n" 15653 " month (PLINT_NC_SCALAR, output) : Returned value of month within\n" 15654 " the year in the range from 0 (January) to 11 (December).\n" 15656 " day (PLINT_NC_SCALAR, output) : Returned value of day within the\n" 15657 " month in the range from 1 to 31.\n" 15659 " hour (PLINT_NC_SCALAR, output) : Returned value of hour within the\n" 15660 " day in the range from 0 to 23.\n" 15662 " min (PLINT_NC_SCALAR, output) : Returned value of minute within the\n" 15663 " hour in the range from 0 to 59\n" 15665 " sec (PLFLT_NC_SCALAR, output) : Returned value of second within the\n" 15666 " minute in range from 0. to 60.\n" 15668 " ctime (PLFLT, input) : Continuous time from which the broken-down\n" 15669 " time is calculated.\n" 15672 { (
char *)
"plbop",
_wrap_plbop, METH_VARARGS, (
char *)
"\n" 15673 "Begin a new page\n" 15677 " Begins a new page. For a file driver, the output file is opened if\n" 15678 " necessary. Advancing the page via pleop and plbop is useful when a\n" 15679 " page break is desired at a particular point when plotting to subpages.\n" 15680 " Another use for pleop and plbop is when plotting pages to different\n" 15681 " files, since you can manually set the file name by calling plsfnam\n" 15682 " after the call to pleop. (In fact some drivers may only support a\n" 15683 " single page per file, making this a necessity.) One way to handle\n" 15684 " this case automatically is to page advance via pladv, but enable\n" 15685 " familying (see plsfam) with a small limit on the file size so that a\n" 15686 " new family member file will be created on each page break.\n" 15688 " Redacted form: plbop()\n" 15690 " This function is used in examples 2 and 20.\n" 15699 { (
char *)
"plbox",
_wrap_plbox, METH_VARARGS, (
char *)
"\n" 15700 "Draw a box with axes, etc\n" 15704 " Draws a box around the currently defined viewport, and labels it with\n" 15705 " world coordinate values appropriate to the window. Thus plbox should\n" 15706 " only be called after defining both viewport and window. The ascii\n" 15707 " character strings xopt and yopt specify how the box should be drawn as\n" 15708 " described below. If ticks and/or subticks are to be drawn for a\n" 15709 " particular axis, the tick intervals and number of subintervals may be\n" 15710 " specified explicitly, or they may be defaulted by setting the\n" 15711 " appropriate arguments to zero.\n" 15713 " Redacted form: General: plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n" 15716 " This function is used in examples 1, 2, 4, 6, 6-12, 14-18, 21, 23-26,\n" 15723 "plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n" 15727 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15728 " options for the x axis. The string can include any combination of\n" 15729 " the following letters (upper or lower case) in any order: a: Draws\n" 15730 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n" 15732 " b: Draws bottom (X) or left (Y) edge of frame.\n" 15733 " c: Draws top (X) or right (Y) edge of frame.\n" 15734 " d: Plot labels as date / time. Values are assumed to be\n" 15735 " seconds since the epoch (as used by gmtime).\n" 15736 " f: Always use fixed point numeric labels.\n" 15737 " g: Draws a grid at the major tick interval.\n" 15738 " h: Draws a grid at the minor tick interval.\n" 15739 " i: Inverts tick marks, so they are drawn outwards, rather than\n" 15741 " l: Labels axis logarithmically. This only affects the labels,\n" 15742 " not the data, and so it is necessary to compute the logarithms\n" 15743 " of data points before passing them to any of the drawing\n" 15745 " m: Writes numeric labels at major tick intervals in the\n" 15746 " unconventional location (above box for X, right of box for Y).\n" 15747 " n: Writes numeric labels at major tick intervals in the\n" 15748 " conventional location (below box for X, left of box for Y).\n" 15749 " o: Use custom labelling function to generate axis label text.\n" 15750 " The custom labelling function can be defined with the\n" 15751 " plslabelfunc command.\n" 15752 " s: Enables subticks between major ticks, only valid if t is\n" 15753 " also specified.\n" 15754 " t: Draws major ticks.\n" 15755 " u: Exactly like \"b\" except don't draw edge line.\n" 15756 " w: Exactly like \"c\" except don't draw edge line.\n" 15757 " x: Exactly like \"t\" (including the side effect of the\n" 15758 " numerical labels for the major ticks) except exclude drawing\n" 15759 " the major and minor tick marks.\n" 15762 " xtick (PLFLT, input) : World coordinate interval between major\n" 15763 " ticks on the x axis. If it is set to zero, PLplot automatically\n" 15764 " generates a suitable tick interval.\n" 15766 " nxsub (PLINT, input) : Number of subintervals between major x axis\n" 15767 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15768 " generates a suitable minor tick interval.\n" 15770 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15771 " options for the y axis. The string can include any combination of\n" 15772 " the letters defined above for xopt, and in addition may contain:\n" 15773 " v: Write numeric labels for the y axis parallel to the base of the\n" 15774 " graph, rather than parallel to the axis.\n" 15777 " ytick (PLFLT, input) : World coordinate interval between major\n" 15778 " ticks on the y axis. If it is set to zero, PLplot automatically\n" 15779 " generates a suitable tick interval.\n" 15781 " nysub (PLINT, input) : Number of subintervals between major y axis\n" 15782 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15783 " generates a suitable minor tick interval.\n" 15786 { (
char *)
"plbox3",
_wrap_plbox3, METH_VARARGS, (
char *)
"\n" 15787 "Draw a box with axes, etc, in 3-d\n" 15791 " Draws axes, numeric and text labels for a three-dimensional surface\n" 15792 " plot. For a more complete description of three-dimensional plotting\n" 15793 " see the PLplot documentation.\n" 15795 " Redacted form: General: plbox3(xopt, xlabel, xtick, nxsub, yopt,\n" 15796 " ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n" 15799 " This function is used in examples 8, 11, 18, and 21.\n" 15805 "plbox3(xopt, xlabel, xtick, nxsub, yopt, ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n" 15809 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15810 " options for the x axis. The string can include any combination of\n" 15811 " the following letters (upper or lower case) in any order: b: Draws\n" 15812 " axis at base, at height z=\n" 15813 " zmin where zmin is defined by call to plw3d. This character must be\n" 15814 " specified in order to use any of the other options.\n" 15815 " d: Plot labels as date / time. Values are assumed to be\n" 15816 " seconds since the epoch (as used by gmtime).\n" 15817 " f: Always use fixed point numeric labels.\n" 15818 " i: Inverts tick marks, so they are drawn downwards, rather\n" 15820 " l: Labels axis logarithmically. This only affects the labels,\n" 15821 " not the data, and so it is necessary to compute the logarithms\n" 15822 " of data points before passing them to any of the drawing\n" 15824 " n: Writes numeric labels at major tick intervals.\n" 15825 " o: Use custom labelling function to generate axis label text.\n" 15826 " The custom labelling function can be defined with the\n" 15827 " plslabelfunc command.\n" 15828 " s: Enables subticks between major ticks, only valid if t is\n" 15829 " also specified.\n" 15830 " t: Draws major ticks.\n" 15831 " u: If this is specified, the text label for the axis is\n" 15832 " written under the axis.\n" 15835 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 15836 " the text label for the x axis. It is only drawn if u is in the\n" 15839 " xtick (PLFLT, input) : World coordinate interval between major\n" 15840 " ticks on the x axis. If it is set to zero, PLplot automatically\n" 15841 " generates a suitable tick interval.\n" 15843 " nxsub (PLINT, input) : Number of subintervals between major x axis\n" 15844 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15845 " generates a suitable minor tick interval.\n" 15847 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15848 " options for the y axis. The string is interpreted in the same way\n" 15851 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 15852 " the text label for the y axis. It is only drawn if u is in the\n" 15855 " ytick (PLFLT, input) : World coordinate interval between major\n" 15856 " ticks on the y axis. If it is set to zero, PLplot automatically\n" 15857 " generates a suitable tick interval.\n" 15859 " nysub (PLINT, input) : Number of subintervals between major y axis\n" 15860 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15861 " generates a suitable minor tick interval.\n" 15863 " zopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15864 " options for the z axis. The string can include any combination of\n" 15865 " the following letters (upper or lower case) in any order: b: Draws\n" 15866 " z axis to the left of the surface plot.\n" 15867 " c: Draws z axis to the right of the surface plot.\n" 15868 " d: Draws grid lines parallel to the x-y plane behind the\n" 15869 " figure. These lines are not drawn until after plot3d or\n" 15870 " plmesh are called because of the need for hidden line removal.\n" 15871 " e: Plot labels as date / time. Values are assumed to be\n" 15872 " seconds since the epoch (as used by gmtime). Note this\n" 15873 " suboption is interpreted the same as the d suboption for xopt\n" 15874 " and yopt, but it has to be identified as e for zopt since d\n" 15875 " has already been used for the different purpose above.\n" 15876 " f: Always use fixed point numeric labels.\n" 15877 " i: Inverts tick marks, so they are drawn away from the center.\n" 15878 " l: Labels axis logarithmically. This only affects the labels,\n" 15879 " not the data, and so it is necessary to compute the logarithms\n" 15880 " of data points before passing them to any of the drawing\n" 15882 " m: Writes numeric labels at major tick intervals on the\n" 15883 " right-hand z axis.\n" 15884 " n: Writes numeric labels at major tick intervals on the\n" 15885 " left-hand z axis.\n" 15886 " o: Use custom labelling function to generate axis label text.\n" 15887 " The custom labelling function can be defined with the\n" 15888 " plslabelfunc command.\n" 15889 " s: Enables subticks between major ticks, only valid if t is\n" 15890 " also specified.\n" 15891 " t: Draws major ticks.\n" 15892 " u: If this is specified, the text label is written beside the\n" 15893 " left-hand axis.\n" 15894 " v: If this is specified, the text label is written beside the\n" 15895 " right-hand axis.\n" 15898 " zlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 15899 " the text label for the z axis. It is only drawn if u or v are in\n" 15900 " the zopt string.\n" 15902 " ztick (PLFLT, input) : World coordinate interval between major\n" 15903 " ticks on the z axis. If it is set to zero, PLplot automatically\n" 15904 " generates a suitable tick interval.\n" 15906 " nzsub (PLINT, input) : Number of subintervals between major z axis\n" 15907 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15908 " generates a suitable minor tick interval.\n" 15912 "Calculate world coordinates and corresponding window index from relative device coordinates\n" 15916 " Calculate world coordinates, wx and wy, and corresponding window index\n" 15917 " from relative device coordinates, rx and ry.\n" 15919 " Redacted form: General: plcalc_world(rx, ry, wx, wy, window)\n" 15922 " This function is used in example 31.\n" 15928 "plcalc_world(rx, ry, wx, wy, window)\n" 15932 " rx (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n" 15933 " the x coordinate.\n" 15935 " ry (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n" 15936 " the y coordinate.\n" 15938 " wx (PLFLT_NC_SCALAR, output) : Returned value of the x world\n" 15939 " coordinate corresponding to the relative device coordinates rx and\n" 15942 " wy (PLFLT_NC_SCALAR, output) : Returned value of the y world\n" 15943 " coordinate corresponding to the relative device coordinates rx and\n" 15946 " window (PLINT_NC_SCALAR, output) : Returned value of the last\n" 15947 " defined window index that corresponds to the input relative device\n" 15948 " coordinates (and the returned world coordinates). To give some\n" 15949 " background on the window index, for each page the initial window\n" 15950 " index is set to zero, and each time plwind is called within the\n" 15951 " page, world and device coordinates are stored for the window and\n" 15952 " the window index is incremented. Thus, for a simple page layout\n" 15953 " with non-overlapping viewports and one window per viewport, window\n" 15954 " corresponds to the viewport index (in the order which the\n" 15955 " viewport/windows were created) of the only viewport/window\n" 15956 " corresponding to rx and ry. However, for more complicated layouts\n" 15957 " with potentially overlapping viewports and possibly more than one\n" 15958 " window (set of world coordinates) per viewport, window and the\n" 15959 " corresponding output world coordinates corresponds to the last\n" 15960 " window created that fulfills the criterion that the relative\n" 15961 " device coordinates are inside it. Finally, in all cases where the\n" 15962 " input relative device coordinates are not inside any\n" 15963 " viewport/window, then the returned value of the last defined\n" 15964 " window index is set to -1.\n" 15967 { (
char *)
"plclear",
_wrap_plclear, METH_VARARGS, (
char *)
"\n" 15968 "Clear current (sub)page\n" 15972 " Clears the current page, effectively erasing everything that have been\n" 15973 " drawn. This command only works with interactive drivers; if the\n" 15974 " driver does not support this, the page is filled with the background\n" 15975 " color in use. If the current page is divided into subpages, only the\n" 15976 " current subpage is erased. The nth subpage can be selected with\n" 15979 " Redacted form: General: plclear()\n" 15982 " This function is not used in any examples.\n" 15991 { (
char *)
"plcol0",
_wrap_plcol0, METH_VARARGS, (
char *)
"\n" 15992 "Set color, cmap0\n" 15996 " Sets the color index for cmap0 (see the PLplot documentation).\n" 15998 " Redacted form: plcol0(icol0)\n" 16000 " This function is used in examples 1-9, 11-16, 18-27, and 29.\n" 16010 " icol0 (PLINT, input) : Integer representing the color. The\n" 16011 " defaults at present are (these may change):\n" 16012 " 0 black (default background)\n" 16013 " 1 red (default foreground)\n" 16029 " Use plscmap0 to change the entire cmap0 color palette and plscol0 to\n" 16030 " change an individual color in the cmap0 color palette.\n" 16033 { (
char *)
"plcol1",
_wrap_plcol1, METH_VARARGS, (
char *)
"\n" 16034 "Set color, cmap1\n" 16038 " Sets the color for cmap1 (see the PLplot documentation).\n" 16040 " Redacted form: plcol1(col1)\n" 16042 " This function is used in examples 12 and 21.\n" 16052 " col1 (PLFLT, input) : This value must be in the range (0.0-1.0) and\n" 16053 " is mapped to color using the continuous cmap1 palette which by\n" 16054 " default ranges from blue to the background color to red. The\n" 16055 " cmap1 palette can also be straightforwardly changed by the user\n" 16056 " with plscmap1 or plscmap1l.\n" 16060 "Configure the transformation between continuous and broken-down time for the current stream\n" 16064 " Configure the transformation between continuous and broken-down time\n" 16065 " for the current stream. This transformation is used by both plbtime\n" 16068 " Redacted form: General: plconfigtime(scale, offset1, offset2,\n" 16069 " ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n" 16072 " This function is used in example 29.\n" 16078 "plconfigtime(scale, offset1, offset2, ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n" 16082 " scale (PLFLT, input) : The number of days per continuous time unit.\n" 16083 " As a special case, if\n" 16084 " scale is 0., then all other arguments are ignored, and the result (the\n" 16085 " default used by PLplot) is the equivalent of a call to\n" 16086 " plconfigtime(1./86400., 0., 0., 0x0, 1, 1970, 0, 1, 0, 0, 0.).\n" 16087 " That is, for this special case broken-down time is calculated with\n" 16088 " the proleptic Gregorian calendar with no leap seconds inserted,\n" 16089 " and the continuous time is defined as the number of seconds since\n" 16090 " the Unix epoch of 1970-01-01T00:00:00Z.\n" 16092 " offset1 (PLFLT, input) : If\n" 16093 " ifbtime_offset is true, the parameters\n" 16095 " offset2 are completely ignored. Otherwise, the sum of these parameters\n" 16096 " (with units in days) specify the epoch of the continuous time\n" 16097 " relative to the MJD epoch corresponding to the Gregorian calendar\n" 16098 " date of 1858-11-17T00:00:00Z or JD = 2400000.5. Two PLFLT numbers\n" 16099 " are used to specify the origin to allow users (by specifying\n" 16100 " offset1 as an integer that can be exactly represented by a\n" 16101 " floating-point variable and specifying\n" 16102 " offset2 as a number in the range from 0. to 1) the chance to minimize\n" 16103 " the numerical errors of the continuous time representation.\n" 16105 " offset2 (PLFLT, input) : See documentation of\n" 16108 " ccontrol (PLINT, input) : ccontrol contains bits controlling the\n" 16109 " transformation. If the 0x1 bit is set, then the proleptic Julian\n" 16110 " calendar is used for broken-down time rather than the proleptic\n" 16111 " Gregorian calendar. If the 0x2 bit is set, then leap seconds that\n" 16112 " have been historically used to define UTC are inserted into the\n" 16113 " broken-down time. Other possibilities for additional control bits\n" 16114 " for ccontrol exist such as making the historical time corrections\n" 16115 " in the broken-down time corresponding to ET (ephemeris time) or\n" 16116 " making the (slightly non-constant) corrections from international\n" 16117 " atomic time (TAI) to what astronomers define as terrestrial time\n" 16118 " (TT). But those additional possibilities have not been\n" 16119 " implemented yet in the qsastime library (one of the PLplot utility\n" 16122 " ifbtime_offset (PLBOOL, input) : ifbtime_offset controls how the\n" 16123 " epoch of the continuous time scale is specified by the user. If\n" 16124 " ifbtime_offset is false, then\n" 16126 " offset2 are used to specify the epoch, and the following broken-down\n" 16127 " time parameters are completely ignored. If\n" 16128 " ifbtime_offset is true, then\n" 16130 " offset2 are completely ignored, and the following broken-down time\n" 16131 " parameters are used to specify the epoch.\n" 16133 " year (PLINT, input) : Year of epoch.\n" 16135 " month (PLINT, input) : Month of epoch in range from 0 (January) to\n" 16136 " 11 (December).\n" 16138 " day (PLINT, input) : Day of epoch in range from 1 to 31.\n" 16140 " hour (PLINT, input) : Hour of epoch in range from 0 to 23\n" 16142 " min (PLINT, input) : Minute of epoch in range from 0 to 59.\n" 16144 " sec (PLFLT, input) : Second of epoch in range from 0. to 60.\n" 16147 { (
char *)
"plcont",
_wrap_plcont, METH_VARARGS, (
char *)
"\n" 16152 " Draws a contour plot of the data in f[\n" 16154 " ny], using the nlevel contour levels specified by clevel. Only the\n" 16155 " region of the matrix from kx to lx and from ky to ly is plotted out\n" 16156 " where all these index ranges are interpreted as one-based for\n" 16157 " historical reasons. A transformation routine pointed to by pltr with\n" 16158 " a generic pointer pltr_data for additional data required by the\n" 16159 " transformation routine is used to map indices within the matrix to the\n" 16160 " world coordinates.\n" 16162 " Redacted form: plcont(f, kx, lx, ky, ly, clevel, pltr, pltr_data)\n" 16163 " where (see above discussion) the pltr, pltr_data callback arguments\n" 16164 " are sometimes replaced by a tr vector with 6 elements; xg and yg\n" 16165 " vectors; or xg and yg matrices.\n" 16167 " This function is used in examples 9, 14, 16, and 22.\n" 16173 "plcont(f, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr, pltr_data)\n" 16177 " f (PLFLT_MATRIX, input) : A matrix containing data to be contoured.\n" 16179 " nx, ny (PLINT, input) : The dimensions of the matrix f.\n" 16181 " kx, lx (PLINT, input) : Range of x indices to consider where 0 <=\n" 16182 " kx-1 < lx-1 < nx. Values of kx and lx are one-based rather than\n" 16183 " zero-based for historical backwards-compatibility reasons.\n" 16185 " ky, ly (PLINT, input) : Range of y indices to consider where 0 <=\n" 16186 " ky-1 < ly-1 < ny. Values of ky and ly are one-based rather than\n" 16187 " zero-based for historical backwards-compatibility reasons.\n" 16189 " clevel (PLFLT_VECTOR, input) : A vector specifying the levels at\n" 16190 " which to draw contours.\n" 16192 " nlevel (PLINT, input) : Number of contour levels to draw.\n" 16194 " pltr (PLTRANSFORM_callback, input) : A callback function that\n" 16195 " defines the transformation between the zero-based indices of the\n" 16196 " matrix f and the world coordinates.For the C case, transformation\n" 16197 " functions are provided in the PLplot library: pltr0 for the\n" 16198 " identity mapping, and pltr1 and pltr2 for arbitrary mappings\n" 16199 " respectively defined by vectors and matrices. In addition, C\n" 16200 " callback routines for the transformation can be supplied by the\n" 16201 " user such as the mypltr function in examples/c/x09c.c which\n" 16202 " provides a general linear transformation between index coordinates\n" 16203 " and world coordinates.For languages other than C you should\n" 16204 " consult the PLplot documentation for the details concerning how\n" 16205 " PLTRANSFORM_callback arguments are interfaced. However, in\n" 16206 " general, a particular pattern of callback-associated arguments\n" 16207 " such as a tr vector with 6 elements; xg and yg vectors; or xg and\n" 16208 " yg matrices are respectively interfaced to a linear-transformation\n" 16209 " routine similar to the above mypltr function; pltr1; and pltr2.\n" 16210 " Furthermore, some of our more sophisticated bindings (see, e.g.,\n" 16211 " the PLplot documentation) support native language callbacks for\n" 16212 " handling index to world-coordinate transformations. Examples of\n" 16213 " these various approaches are given in examples/<language>x09*,\n" 16214 " examples/<language>x16*, examples/<language>x20*,\n" 16215 " examples/<language>x21*, and examples/<language>x22*, for all our\n" 16216 " supported languages.\n" 16218 " pltr_data (PLPointer, input) : Extra parameter to help pass\n" 16219 " information to pltr0, pltr1, pltr2, or whatever callback routine\n" 16220 " that is externally supplied.\n" 16223 { (
char *)
"plctime",
_wrap_plctime, METH_VARARGS, (
char *)
"\n" 16224 "Calculate continuous time from broken-down time for the current stream\n" 16228 " Calculate continuous time, ctime, from broken-down time for the\n" 16229 " current stream. The broken-down\n" 16230 " time is specified by the following parameters: year, month, day, hour,\n" 16231 " min, and sec. This function is the inverse of plbtime.\n" 16233 " The PLplot definition of broken-down time is a calendar time that\n" 16234 " completely ignores all time zone offsets, i.e., it is the user's\n" 16235 " responsibility to apply those offsets (if so desired) before using the\n" 16236 " PLplot time API. By default broken-down time is defined using the\n" 16237 " proleptic Gregorian calendar without the insertion of leap seconds and\n" 16238 " continuous time is defined as the number of seconds since the Unix\n" 16239 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n" 16240 " broken-down and continuous time are possible, see plconfigtime which\n" 16241 " specifies that transformation for the current stream.\n" 16243 " Redacted form: General: plctime(year, month, day, hour, min, sec,\n" 16247 " This function is used in example 29.\n" 16253 "plctime(year, month, day, hour, min, sec, ctime)\n" 16257 " year (PLINT, input) : Input year.\n" 16259 " month (PLINT, input) : Input month in range from 0 (January) to 11\n" 16262 " day (PLINT, input) : Input day in range from 1 to 31.\n" 16264 " hour (PLINT, input) : Input hour in range from 0 to 23\n" 16266 " min (PLINT, input) : Input minute in range from 0 to 59.\n" 16268 " sec (PLFLT, input) : Input second in range from 0. to 60.\n" 16270 " ctime (PLFLT_NC_SCALAR, output) : Returned value of the continuous\n" 16271 " time calculated from the broken-down time specified by the\n" 16272 " previous parameters.\n" 16275 { (
char *)
"plcpstrm",
_wrap_plcpstrm, METH_VARARGS, (
char *)
"\n" 16276 "Copy state parameters from the reference stream to the current stream\n" 16280 " Copies state parameters from the reference stream to the current\n" 16281 " stream. Tell driver interface to map device coordinates unless flags\n" 16284 " This function is used for making save files of selected plots (e.g.\n" 16285 " from the TK driver). After initializing, you can get a copy of the\n" 16286 " current plot to the specified device by switching to this stream and\n" 16287 " issuing a plcpstrm and a plreplot, with calls to plbop and pleop as\n" 16288 " appropriate. The plot buffer must have previously been enabled (done\n" 16289 " automatically by some display drivers, such as X).\n" 16291 " Redacted form: plcpstrm(iplsr, flags)\n" 16293 " This function is used in example 1,20.\n" 16299 "plcpstrm(iplsr, flags)\n" 16303 " iplsr (PLINT, input) : Number of reference stream.\n" 16305 " flags (PLBOOL, input) : If flags is set to true the device\n" 16306 " coordinates are not copied from the reference to current stream.\n" 16309 { (
char *)
"plend",
_wrap_plend, METH_VARARGS, (
char *)
"\n" 16310 "End plotting session\n" 16314 " Ends a plotting session, tidies up all the output files, switches\n" 16315 " interactive devices back into text mode and frees up any memory that\n" 16316 " was allocated. Must be called before end of program.\n" 16318 " By default, PLplot's interactive devices (Xwin, TK, etc.) go into a\n" 16319 " wait state after a call to plend or other functions which trigger the\n" 16320 " end of a plot page. To avoid this, use the plspause function.\n" 16322 " Redacted form: plend()\n" 16324 " This function is used in all of the examples.\n" 16333 { (
char *)
"plend1",
_wrap_plend1, METH_VARARGS, (
char *)
"\n" 16334 "End plotting session for current stream\n" 16338 " Ends a plotting session for the current output stream only. See\n" 16339 " plsstrm for more info.\n" 16341 " Redacted form: plend1()\n" 16343 " This function is used in examples 1 and 20.\n" 16352 { (
char *)
"plenv",
_wrap_plenv, METH_VARARGS, (
char *)
"\n" 16353 "Set up standard window and draw box\n" 16357 " Sets up plotter environment for simple graphs by calling pladv and\n" 16358 " setting up viewport and window to sensible default values. plenv\n" 16359 " leaves a standard margin (left-hand margin of eight character heights,\n" 16360 " and a margin around the other three sides of five character heights)\n" 16361 " around most graphs for axis labels and a title. When these defaults\n" 16362 " are not suitable, use the individual routines plvpas, plvpor, or\n" 16363 " plvasp for setting up the viewport, plwind for defining the window,\n" 16364 " and plbox for drawing the box.\n" 16366 " Redacted form: plenv(xmin, xmax, ymin, ymax, just, axis)\n" 16368 " This function is used in example 1,3,9,13,14,19-22,29.\n" 16374 "plenv(xmin, xmax, ymin, ymax, just, axis)\n" 16378 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n" 16379 " world coordinates).\n" 16381 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n" 16382 " world coordinates).\n" 16384 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n" 16387 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n" 16390 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n" 16391 " scales will not be set, the user must set up the scale before\n" 16392 " calling plenv using plsvpa, plvasp or other.\n" 16393 " 0: the x and y axes are scaled independently to use as much of\n" 16394 " the screen as possible.\n" 16395 " 1: the scales of the x and y axes are made equal.\n" 16396 " 2: the axis of the x and y axes are made equal, and the plot\n" 16397 " box will be square.\n" 16400 " axis (PLINT, input) : Controls drawing of the box around the plot:\n" 16401 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n" 16402 " -1: draw box only.\n" 16403 " 0: draw box, ticks, and numeric tick labels.\n" 16404 " 1: also draw coordinate axes at x=0 and y=0.\n" 16405 " 2: also draw a grid at major tick positions in both\n" 16407 " 3: also draw a grid at minor tick positions in both\n" 16409 " 10: same as 0 except logarithmic x tick marks. (The x data\n" 16410 " have to be converted to logarithms separately.)\n" 16411 " 11: same as 1 except logarithmic x tick marks. (The x data\n" 16412 " have to be converted to logarithms separately.)\n" 16413 " 12: same as 2 except logarithmic x tick marks. (The x data\n" 16414 " have to be converted to logarithms separately.)\n" 16415 " 13: same as 3 except logarithmic x tick marks. (The x data\n" 16416 " have to be converted to logarithms separately.)\n" 16417 " 20: same as 0 except logarithmic y tick marks. (The y data\n" 16418 " have to be converted to logarithms separately.)\n" 16419 " 21: same as 1 except logarithmic y tick marks. (The y data\n" 16420 " have to be converted to logarithms separately.)\n" 16421 " 22: same as 2 except logarithmic y tick marks. (The y data\n" 16422 " have to be converted to logarithms separately.)\n" 16423 " 23: same as 3 except logarithmic y tick marks. (The y data\n" 16424 " have to be converted to logarithms separately.)\n" 16425 " 30: same as 0 except logarithmic x and y tick marks. (The x\n" 16426 " and y data have to be converted to logarithms separately.)\n" 16427 " 31: same as 1 except logarithmic x and y tick marks. (The x\n" 16428 " and y data have to be converted to logarithms separately.)\n" 16429 " 32: same as 2 except logarithmic x and y tick marks. (The x\n" 16430 " and y data have to be converted to logarithms separately.)\n" 16431 " 33: same as 3 except logarithmic x and y tick marks. (The x\n" 16432 " and y data have to be converted to logarithms separately.)\n" 16433 " 40: same as 0 except date / time x labels.\n" 16434 " 41: same as 1 except date / time x labels.\n" 16435 " 42: same as 2 except date / time x labels.\n" 16436 " 43: same as 3 except date / time x labels.\n" 16437 " 50: same as 0 except date / time y labels.\n" 16438 " 51: same as 1 except date / time y labels.\n" 16439 " 52: same as 2 except date / time y labels.\n" 16440 " 53: same as 3 except date / time y labels.\n" 16441 " 60: same as 0 except date / time x and y labels.\n" 16442 " 61: same as 1 except date / time x and y labels.\n" 16443 " 62: same as 2 except date / time x and y labels.\n" 16444 " 63: same as 3 except date / time x and y labels.\n" 16445 " 70: same as 0 except custom x and y labels.\n" 16446 " 71: same as 1 except custom x and y labels.\n" 16447 " 72: same as 2 except custom x and y labels.\n" 16448 " 73: same as 3 except custom x and y labels.\n" 16451 { (
char *)
"plenv0",
_wrap_plenv0, METH_VARARGS, (
char *)
"\n" 16452 "Same as plenv but if in multiplot mode does not advance the subpage, instead clears it\n" 16456 " Sets up plotter environment for simple graphs by calling pladv and\n" 16457 " setting up viewport and window to sensible default values. plenv0\n" 16458 " leaves a standard margin (left-hand margin of eight character heights,\n" 16459 " and a margin around the other three sides of five character heights)\n" 16460 " around most graphs for axis labels and a title. When these defaults\n" 16461 " are not suitable, use the individual routines plvpas, plvpor, or\n" 16462 " plvasp for setting up the viewport, plwind for defining the window,\n" 16463 " and plbox for drawing the box.\n" 16465 " Redacted form: plenv0(xmin, xmax, ymin, ymax, just, axis)\n" 16467 " This function is used in example 21.\n" 16473 "plenv0(xmin, xmax, ymin, ymax, just, axis)\n" 16477 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n" 16478 " world coordinates).\n" 16480 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n" 16481 " world coordinates).\n" 16483 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n" 16486 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n" 16489 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n" 16490 " scales will not be set, the user must set up the scale before\n" 16491 " calling plenv0 using plsvpa, plvasp or other.\n" 16492 " 0: the x and y axes are scaled independently to use as much of\n" 16493 " the screen as possible.\n" 16494 " 1: the scales of the x and y axes are made equal.\n" 16495 " 2: the axis of the x and y axes are made equal, and the plot\n" 16496 " box will be square.\n" 16499 " axis (PLINT, input) : Controls drawing of the box around the plot:\n" 16500 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n" 16501 " -1: draw box only.\n" 16502 " 0: draw box, ticks, and numeric tick labels.\n" 16503 " 1: also draw coordinate axes at x=0 and y=0.\n" 16504 " 2: also draw a grid at major tick positions in both\n" 16506 " 3: also draw a grid at minor tick positions in both\n" 16508 " 10: same as 0 except logarithmic x tick marks. (The x data\n" 16509 " have to be converted to logarithms separately.)\n" 16510 " 11: same as 1 except logarithmic x tick marks. (The x data\n" 16511 " have to be converted to logarithms separately.)\n" 16512 " 12: same as 2 except logarithmic x tick marks. (The x data\n" 16513 " have to be converted to logarithms separately.)\n" 16514 " 13: same as 3 except logarithmic x tick marks. (The x data\n" 16515 " have to be converted to logarithms separately.)\n" 16516 " 20: same as 0 except logarithmic y tick marks. (The y data\n" 16517 " have to be converted to logarithms separately.)\n" 16518 " 21: same as 1 except logarithmic y tick marks. (The y data\n" 16519 " have to be converted to logarithms separately.)\n" 16520 " 22: same as 2 except logarithmic y tick marks. (The y data\n" 16521 " have to be converted to logarithms separately.)\n" 16522 " 23: same as 3 except logarithmic y tick marks. (The y data\n" 16523 " have to be converted to logarithms separately.)\n" 16524 " 30: same as 0 except logarithmic x and y tick marks. (The x\n" 16525 " and y data have to be converted to logarithms separately.)\n" 16526 " 31: same as 1 except logarithmic x and y tick marks. (The x\n" 16527 " and y data have to be converted to logarithms separately.)\n" 16528 " 32: same as 2 except logarithmic x and y tick marks. (The x\n" 16529 " and y data have to be converted to logarithms separately.)\n" 16530 " 33: same as 3 except logarithmic x and y tick marks. (The x\n" 16531 " and y data have to be converted to logarithms separately.)\n" 16532 " 40: same as 0 except date / time x labels.\n" 16533 " 41: same as 1 except date / time x labels.\n" 16534 " 42: same as 2 except date / time x labels.\n" 16535 " 43: same as 3 except date / time x labels.\n" 16536 " 50: same as 0 except date / time y labels.\n" 16537 " 51: same as 1 except date / time y labels.\n" 16538 " 52: same as 2 except date / time y labels.\n" 16539 " 53: same as 3 except date / time y labels.\n" 16540 " 60: same as 0 except date / time x and y labels.\n" 16541 " 61: same as 1 except date / time x and y labels.\n" 16542 " 62: same as 2 except date / time x and y labels.\n" 16543 " 63: same as 3 except date / time x and y labels.\n" 16544 " 70: same as 0 except custom x and y labels.\n" 16545 " 71: same as 1 except custom x and y labels.\n" 16546 " 72: same as 2 except custom x and y labels.\n" 16547 " 73: same as 3 except custom x and y labels.\n" 16550 { (
char *)
"pleop",
_wrap_pleop, METH_VARARGS, (
char *)
"\n" 16551 "Eject current page\n" 16555 " Clears the graphics screen of an interactive device, or ejects a page\n" 16556 " on a plotter. See plbop for more information.\n" 16558 " Redacted form: pleop()\n" 16560 " This function is used in example 2,14.\n" 16569 { (
char *)
"plerrx",
_wrap_plerrx, METH_VARARGS, (
char *)
"\n" 16570 "Draw error bars in x direction\n" 16574 " Draws a set of n error bars in x direction, the i'th error bar\n" 16575 " extending from xmin[i] to xmax[i] at y coordinate y[i]. The terminals\n" 16576 " of the error bars are of length equal to the minor tick length\n" 16577 " (settable using plsmin).\n" 16579 " Redacted form: General: plerrx(xmin, ymax, y)\n" 16582 " This function is used in example 29.\n" 16588 "plerrx(n, xmin, xmax, y)\n" 16592 " n (PLINT, input) : Number of error bars to draw.\n" 16594 " xmin (PLFLT_VECTOR, input) : A vector containing the x coordinates\n" 16595 " of the left-hand endpoints of the error bars.\n" 16597 " xmax (PLFLT_VECTOR, input) : A vector containing the x coordinates\n" 16598 " of the right-hand endpoints of the error bars.\n" 16600 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 16601 " the error bars.\n" 16604 { (
char *)
"plerry",
_wrap_plerry, METH_VARARGS, (
char *)
"\n" 16605 "Draw error bars in the y direction\n" 16609 " Draws a set of n error bars in the y direction, the i'th error bar\n" 16610 " extending from ymin[i] to ymax[i] at x coordinate x[i]. The terminals\n" 16611 " of the error bars are of length equal to the minor tick length\n" 16612 " (settable using plsmin).\n" 16614 " Redacted form: General: plerry(x, ymin, ymax)\n" 16617 " This function is used in example 29.\n" 16623 "plerry(n, x, ymin, ymax)\n" 16627 " n (PLINT, input) : Number of error bars to draw.\n" 16629 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 16630 " the error bars.\n" 16632 " ymin (PLFLT_VECTOR, input) : A vector containing the y coordinates\n" 16633 " of the lower endpoints of the error bars.\n" 16635 " ymax (PLFLT_VECTOR, input) : A vector containing the y coordinates\n" 16636 " of the upper endpoints of the error bars.\n" 16639 { (
char *)
"plfamadv",
_wrap_plfamadv, METH_VARARGS, (
char *)
"\n" 16640 "Advance to the next family file on the next new page\n" 16644 " Advance to the next family file on the next new page.\n" 16646 " Redacted form: plfamadv()\n" 16648 " This function is not used in any examples.\n" 16657 { (
char *)
"plfill",
_wrap_plfill, METH_VARARGS, (
char *)
"\n" 16658 "Draw filled polygon\n" 16662 " Fills the polygon defined by the n points (\n" 16664 " y[i]) using the pattern defined by plpsty or plpat. The default fill\n" 16665 " style is a solid fill. The routine will automatically close the\n" 16666 " polygon between the last and first vertices. If multiple closed\n" 16667 " polygons are passed in x and y then plfill will fill in between them.\n" 16669 " Redacted form: plfill(x,y)\n" 16671 " This function is used in examples 12, 13, 15, 16, 21, 24, and 25.\n" 16677 "plfill(n, x, y)\n" 16681 " n (PLINT, input) : Number of vertices in polygon.\n" 16683 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 16686 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 16690 { (
char *)
"plfill3",
_wrap_plfill3, METH_VARARGS, (
char *)
"\n" 16691 "Draw filled polygon in 3D\n" 16695 " Fills the 3D polygon defined by the n points in the x, y, and z\n" 16696 " vectors using the pattern defined by plpsty or plpat. The routine\n" 16697 " will automatically close the polygon between the last and first\n" 16698 " vertices. If multiple closed polygons are passed in x, y, and z then\n" 16699 " plfill3 will fill in between them.\n" 16701 " Redacted form: General: plfill3(x, y, z)\n" 16704 " This function is used in example 15.\n" 16710 "plfill3(n, x, y, z)\n" 16714 " n (PLINT, input) : Number of vertices in polygon.\n" 16716 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 16719 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 16722 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n" 16727 "Draw linear gradient inside polygon\n" 16731 " Draw a linear gradient using cmap1 inside the polygon defined by the n\n" 16734 " y[i]). Interpretation of the polygon is the same as for plfill. The\n" 16735 " polygon coordinates and the gradient angle are all expressed in world\n" 16736 " coordinates. The angle from the x axis for both the rotated\n" 16737 " coordinate system and the gradient vector is specified by angle. The\n" 16738 " magnitude of the gradient vector is the difference between the maximum\n" 16739 " and minimum values of x for the vertices in the rotated coordinate\n" 16740 " system. The origin of the gradient vector can be interpreted as being\n" 16741 " anywhere on the line corresponding to the minimum x value for the\n" 16742 " vertices in the rotated coordinate system. The distance along the\n" 16743 " gradient vector is linearly transformed to the independent variable of\n" 16744 " color map 1 which ranges from 0. at the tail of the gradient vector to\n" 16745 " 1. at the head of the gradient vector. What is drawn is the RGBA\n" 16746 " color corresponding to the independent variable of cmap1. For more\n" 16747 " information about cmap1 (see the PLplot documentation).\n" 16749 " Redacted form: plgradient(x,y,angle)\n" 16751 " This function is used in examples 25 and 30.\n" 16757 "plgradient(n, x, y, angle)\n" 16761 " n (PLINT, input) : Number of vertices in polygon.\n" 16763 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 16766 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 16769 " angle (PLFLT, input) : Angle (degrees) of gradient vector from x\n" 16773 { (
char *)
"plflush",
_wrap_plflush, METH_VARARGS, (
char *)
"\n" 16774 "Flushes the output stream\n" 16778 " Flushes the output stream. Use sparingly, if at all.\n" 16780 " Redacted form: plflush()\n" 16782 " This function is used in examples 1 and 14.\n" 16791 { (
char *)
"plfont",
_wrap_plfont, METH_VARARGS, (
char *)
"\n" 16796 " Sets the font used for subsequent text and symbols. For devices that\n" 16797 " still use Hershey fonts this routine has no effect unless the Hershey\n" 16798 " fonts with extended character set are loaded (see plfontld). For\n" 16799 " unicode-aware devices that use system fonts instead of Hershey fonts,\n" 16800 " this routine calls the plsfci routine with argument set up\n" 16801 " appropriately for the various cases below. However, this method of\n" 16802 " specifying the font for unicode-aware devices is deprecated, and the\n" 16803 " much more flexible method of calling plsfont directly is recommended\n" 16804 " instead (where plsfont provides a user-friendly interface to plsfci),\n" 16806 " Redacted form: plfont(ifont)\n" 16808 " This function is used in examples 1, 2, 4, 7, 13, 24, and 26.\n" 16818 " ifont (PLINT, input) : Specifies the font: 1: Sans serif font\n" 16819 " (simplest and fastest)\n" 16821 " 3: Italic font\n" 16822 " 4: Script font\n" 16825 { (
char *)
"plfontld",
_wrap_plfontld, METH_VARARGS, (
char *)
"\n" 16826 "Load Hershey fonts\n" 16830 " Loads the Hershey fonts used for text and symbols. This routine may\n" 16831 " be called before or after initializing PLplot. If not explicitly\n" 16832 " called before PLplot initialization, then by default that\n" 16833 " initialization loads Hershey fonts with the extended character set.\n" 16834 " This routine only has a practical effect for devices that still use\n" 16835 " Hershey fonts (as opposed to modern devices that use unicode-aware\n" 16836 " system fonts instead of Hershey fonts).\n" 16838 " Redacted form: plfontld(fnt)\n" 16840 " This function is used in examples 1 and 7.\n" 16850 " fnt (PLINT, input) : Specifies the type of Hershey fonts to load.\n" 16851 " A zero value specifies Hershey fonts with the standard character\n" 16852 " set and a non-zero value (the default assumed if plfontld is never\n" 16853 " called) specifies Hershey fonts with the extended character set.\n" 16856 { (
char *)
"plgchr",
_wrap_plgchr, METH_VARARGS, (
char *)
"\n" 16857 "Get character default height and current (scaled) height\n" 16861 " Get character default height and current (scaled) height.\n" 16863 " Redacted form: plgchr(p_def, p_ht)\n" 16865 " This function is used in example 23.\n" 16871 "plgchr(p_def, p_ht)\n" 16875 " p_def (PLFLT_NC_SCALAR, output) : Returned value of the default\n" 16876 " character height (mm).\n" 16878 " p_ht (PLFLT_NC_SCALAR, output) : Returned value of the scaled\n" 16879 " character height (mm).\n" 16882 { (
char *)
"plgcol0",
_wrap_plgcol0, METH_VARARGS, (
char *)
"\n" 16883 "Returns 8-bit RGB values for given color index from cmap0\n" 16887 " Returns 8-bit RGB values (0-255) for given color from cmap0 (see the\n" 16888 " PLplot documentation). Values are negative if an invalid color id is\n" 16891 " Redacted form: plgcol0(icol0, r, g, b)\n" 16893 " This function is used in example 2.\n" 16899 "plgcol0(icol0, r, g, b)\n" 16903 " icol0 (PLINT, input) : Index of desired cmap0 color.\n" 16905 " r (PLINT_NC_SCALAR, output) : Returned value of the 8-bit red\n" 16908 " g (PLINT_NC_SCALAR, output) : Returned value of the 8-bit green\n" 16911 " b (PLINT_NC_SCALAR, output) : Returned value of the 8-bit blue\n" 16915 { (
char *)
"plgcol0a",
_wrap_plgcol0a, METH_VARARGS, (
char *)
"\n" 16916 "Returns 8-bit RGB values and PLFLT alpha transparency value for given color index from cmap0\n" 16920 " Returns 8-bit RGB values (0-255) and PLFLT alpha transparency value\n" 16921 " (0.0-1.0) for given color from cmap0 (see the PLplot documentation).\n" 16922 " Values are negative if an invalid color id is given.\n" 16924 " Redacted form: plgcola(r, g, b)\n" 16926 " This function is used in example 30.\n" 16932 "plgcol0a(icol0, r, g, b, alpha)\n" 16936 " icol0 (PLINT, input) : Index of desired cmap0 color.\n" 16938 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n" 16939 " in the range from 0 to 255.\n" 16941 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n" 16942 " in the range from 0 to 255.\n" 16944 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n" 16945 " in the range from 0 to 255.\n" 16947 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n" 16948 " transparency in the range from (0.0-1.0).\n" 16951 { (
char *)
"plgcolbg",
_wrap_plgcolbg, METH_VARARGS, (
char *)
"\n" 16952 "Returns the background color (cmap0[0]) by 8-bit RGB value\n" 16956 " Returns the background color (cmap0[0]) by 8-bit RGB value.\n" 16958 " Redacted form: plgcolbg(r, g, b)\n" 16960 " This function is used in example 31.\n" 16966 "plgcolbg(r, g, b)\n" 16970 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n" 16971 " in the range from 0 to 255.\n" 16973 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n" 16974 " in the range from 0 to 255.\n" 16976 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n" 16977 " in the range from 0 to 255.\n" 16981 "Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT alpha transparency value\n" 16985 " Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT\n" 16986 " alpha transparency value.\n" 16988 " This function is used in example 31.\n" 16994 "plgcolbga(r, g, b, alpha)\n" 16998 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n" 16999 " in the range from 0 to 255.\n" 17001 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n" 17002 " in the range from 0 to 255.\n" 17004 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n" 17005 " in the range from 0 to 255.\n" 17007 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n" 17008 " transparency in the range (0.0-1.0).\n" 17012 "Get the current device-compression setting\n" 17016 " Get the current device-compression setting. This parameter is only\n" 17017 " used for drivers that provide compression.\n" 17019 " Redacted form: plgcompression(compression)\n" 17021 " This function is used in example 31.\n" 17027 "plgcompression(compression)\n" 17031 " compression (PLINT_NC_SCALAR, output) : Returned value of the\n" 17032 " compression setting for the current device.\n" 17035 { (
char *)
"plgdev",
_wrap_plgdev, METH_VARARGS, (
char *)
"\n" 17036 "Get the current device (keyword) name\n" 17040 " Get the current device (keyword) name. Note: you must have allocated\n" 17041 " space for this (80 characters is safe).\n" 17043 " Redacted form: plgdev(p_dev)\n" 17045 " This function is used in example 14.\n" 17055 " p_dev (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n" 17056 " (with preallocated length of 80 characters or more) containing the\n" 17057 " device (keyword) name.\n" 17060 { (
char *)
"plgdidev",
_wrap_plgdidev, METH_VARARGS, (
char *)
"\n" 17061 "Get parameters that define current device-space window\n" 17065 " Get relative margin width, aspect ratio, and relative justification\n" 17066 " that define current device-space window. If plsdidev has not been\n" 17067 " called the default values pointed to by p_mar, p_aspect, p_jx, and\n" 17068 " p_jy will all be 0.\n" 17070 " Redacted form: plgdidev(p_mar, p_aspect, p_jx, p_jy)\n" 17072 " This function is used in example 31.\n" 17078 "plgdidev(p_mar, p_aspect, p_jx, p_jy)\n" 17082 " p_mar (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17085 " p_aspect (PLFLT_NC_SCALAR, output) : Returned value of the aspect\n" 17088 " p_jx (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17089 " justification in x.\n" 17091 " p_jy (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17092 " justification in y.\n" 17095 { (
char *)
"plgdiori",
_wrap_plgdiori, METH_VARARGS, (
char *)
"\n" 17096 "Get plot orientation\n" 17100 " Get plot orientation parameter which is multiplied by 90 degrees to\n" 17101 " obtain the angle of rotation. Note, arbitrary rotation parameters\n" 17102 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n" 17103 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n" 17104 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n" 17105 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori has\n" 17106 " not been called the default value pointed to by p_rot will be 0.\n" 17108 " Redacted form: plgdiori(p_rot)\n" 17110 " This function is not used in any examples.\n" 17116 "plgdiori(p_rot)\n" 17120 " p_rot (PLFLT_NC_SCALAR, output) : Returned value of the orientation\n" 17124 { (
char *)
"plgdiplt",
_wrap_plgdiplt, METH_VARARGS, (
char *)
"\n" 17125 "Get parameters that define current plot-space window\n" 17129 " Get relative minima and maxima that define current plot-space window.\n" 17130 " If plsdiplt has not been called the default values pointed to by\n" 17131 " p_xmin, p_ymin, p_xmax, and p_ymax will be 0., 0., 1., and 1.\n" 17133 " Redacted form: plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n" 17135 " This function is used in example 31.\n" 17141 "plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n" 17145 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17148 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17151 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17154 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17158 { (
char *)
"plgfam",
_wrap_plgfam, METH_VARARGS, (
char *)
"\n" 17159 "Get family file parameters\n" 17163 " Gets information about current family file, if familying is enabled.\n" 17164 " See the PLplot documentation for more information.\n" 17166 " Redacted form: plgfam(p_fam, p_num, p_bmax)\n" 17168 " This function is used in examples 14 and 31.\n" 17174 "plgfam(p_fam, p_num, p_bmax)\n" 17178 " p_fam (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17179 " family flag value. If nonzero, familying is enabled for the\n" 17180 " current device.\n" 17182 " p_num (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17183 " family file number.\n" 17185 " p_bmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n" 17186 " file size (in bytes) for a family file.\n" 17189 { (
char *)
"plgfci",
_wrap_plgfci, METH_VARARGS, (
char *)
"\n" 17190 "Get FCI (font characterization integer)\n" 17194 " Gets information about the current font using the FCI approach. See\n" 17195 " the PLplot documentation for more information.\n" 17197 " Redacted form: plgfci(p_fci)\n" 17199 " This function is used in example 23.\n" 17209 " p_fci (PLUNICODE_NC_SCALAR, output) : Returned value of the current\n" 17213 { (
char *)
"plgfnam",
_wrap_plgfnam, METH_VARARGS, (
char *)
"\n" 17214 "Get output file name\n" 17218 " Gets the current output file name, if applicable.\n" 17220 " Redacted form: plgfnam(fnam)\n" 17222 " This function is used in example 31.\n" 17232 " fnam (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n" 17233 " (with preallocated length of 80 characters or more) containing the\n" 17237 { (
char *)
"plgfont",
_wrap_plgfont, METH_VARARGS, (
char *)
"\n" 17238 "Get family, style and weight of the current font\n" 17242 " Gets information about current font. See the PLplot documentation for\n" 17243 " more information on font selection.\n" 17245 " Redacted form: plgfont(p_family, p_style, p_weight)\n" 17247 " This function is used in example 23.\n" 17253 "plgfont(p_family, p_style, p_weight)\n" 17257 " p_family (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17258 " font family. The available values are given by the PL_FCI_*\n" 17259 " constants in plplot.h. Current options are PL_FCI_SANS,\n" 17260 " PL_FCI_SERIF, PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. If\n" 17261 " p_family is NULL then the font family is not returned.\n" 17263 " p_style (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17264 " font style. The available values are given by the PL_FCI_*\n" 17265 " constants in plplot.h. Current options are PL_FCI_UPRIGHT,\n" 17266 " PL_FCI_ITALIC and PL_FCI_OBLIQUE. If p_style is NULL then the font\n" 17267 " style is not returned.\n" 17269 " p_weight (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17270 " font weight. The available values are given by the PL_FCI_*\n" 17271 " constants in plplot.h. Current options are PL_FCI_MEDIUM and\n" 17272 " PL_FCI_BOLD. If p_weight is NULL then the font weight is not\n" 17276 { (
char *)
"plglevel",
_wrap_plglevel, METH_VARARGS, (
char *)
"\n" 17277 "Get the (current) run level\n" 17281 " Get the (current) run level. Valid settings are: 0, uninitialized\n" 17282 " 1, initialized\n" 17283 " 2, viewport defined\n" 17284 " 3, world coordinates defined\n" 17287 " Redacted form: plglevel(p_level)\n" 17289 " This function is used in example 31.\n" 17295 "plglevel(p_level)\n" 17299 " p_level (PLINT_NC_SCALAR, output) : Returned value of the run\n" 17303 { (
char *)
"plgpage",
_wrap_plgpage, METH_VARARGS, (
char *)
"\n" 17304 "Get page parameters\n" 17308 " Gets the current page configuration. The length and offset values are\n" 17309 " expressed in units that are specific to the current driver. For\n" 17310 " instance: screen drivers will usually interpret them as number of\n" 17311 " pixels, whereas printer drivers will usually use mm.\n" 17313 " Redacted form: plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n" 17315 " This function is used in examples 14 and 31.\n" 17321 "plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n" 17325 " p_xp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n" 17326 " pixels/inch (DPI) in x.\n" 17328 " p_yp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n" 17329 " pixels/inch (DPI) in y.\n" 17331 " p_xleng (PLINT_NC_SCALAR, output) : Returned value of the x page\n" 17334 " p_yleng (PLINT_NC_SCALAR, output) : Returned value of the y page\n" 17337 " p_xoff (PLINT_NC_SCALAR, output) : Returned value of the x page\n" 17340 " p_yoff (PLINT_NC_SCALAR, output) : Returned value of the y page\n" 17344 { (
char *)
"plgra",
_wrap_plgra, METH_VARARGS, (
char *)
"\n" 17345 "Switch to graphics screen\n" 17349 " Sets an interactive device to graphics mode, used in conjunction with\n" 17350 " pltext to allow graphics and text to be interspersed. On a device\n" 17351 " which supports separate text and graphics windows, this command causes\n" 17352 " control to be switched to the graphics window. If already in graphics\n" 17353 " mode, this command is ignored. It is also ignored on devices which\n" 17354 " only support a single window or use a different method for shifting\n" 17355 " focus. See also pltext.\n" 17357 " Redacted form: plgra()\n" 17359 " This function is used in example 1.\n" 17369 "Grid data from irregularly sampled data\n" 17373 " Real world data is frequently irregularly sampled, but PLplot 3D plots\n" 17374 " require data organized as a grid, i.e., with x sample point values\n" 17375 " independent of y coordinate and vice versa. This function takes\n" 17376 " irregularly sampled data from the x[npts], y[npts], and z[npts]\n" 17377 " vectors; reads the desired grid location from the input vectors\n" 17378 " xg[nptsx] and yg[nptsy]; and returns the interpolated result on that\n" 17379 " grid using the output matrix zg[nptsx][nptsy]. The algorithm used to\n" 17380 " interpolate the data to the grid is specified with the argument type\n" 17381 " which can have one parameter specified in argument data.\n" 17383 " Redacted form: General: plgriddata(x, y, z, xg, yg, zg, type, data)\n" 17384 " Python: zg=plgriddata(x, y, z, xg, yg, type, data)\n" 17387 " This function is used in example 21.\n" 17393 "plgriddata(x, y, z, npts, xg, nptsx, yg, nptsy, zg, type, data)\n" 17397 " x (PLFLT_VECTOR, input) : The input x vector.\n" 17399 " y (PLFLT_VECTOR, input) : The input y vector.\n" 17401 " z (PLFLT_VECTOR, input) : The input z vector. Each triple x[i],\n" 17402 " y[i], z[i] represents one data sample coordinate.\n" 17404 " npts (PLINT, input) : The number of data samples in the x, y and z\n" 17407 " xg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n" 17408 " in the x direction. Usually xg has nptsx equally spaced values\n" 17409 " from the minimum to the maximum values of the x input vector.\n" 17411 " nptsx (PLINT, input) : The number of points in the xg vector.\n" 17413 " yg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n" 17414 " in the y direction. Similar to the xg parameter.\n" 17416 " nptsy (PLINT, input) : The number of points in the yg vector.\n" 17418 " zg (PLFLT_NC_MATRIX, output) : The matrix of interpolated results\n" 17419 " where data lies in the grid specified by xg and yg. Therefore the\n" 17420 " zg matrix must be dimensioned\n" 17424 " type (PLINT, input) : The type of grid interpolation algorithm to\n" 17425 " use, which can be: GRID_CSA: Bivariate Cubic Spline approximation\n" 17426 " GRID_DTLI: Delaunay Triangulation Linear Interpolation\n" 17427 " GRID_NNI: Natural Neighbors Interpolation\n" 17428 " GRID_NNIDW: Nearest Neighbors Inverse Distance Weighted\n" 17429 " GRID_NNLI: Nearest Neighbors Linear Interpolation\n" 17430 " GRID_NNAIDW: Nearest Neighbors Around Inverse Distance\n" 17432 " For details of the algorithms read the source file plgridd.c.\n" 17434 " data (PLFLT, input) : Some gridding algorithms require extra data,\n" 17435 " which can be specified through this argument. Currently, for\n" 17436 " algorithm: GRID_NNIDW, data specifies the number of neighbors to\n" 17437 " use, the lower the value, the noisier (more local) the\n" 17438 " approximation is.\n" 17439 " GRID_NNLI, data specifies what a thin triangle is, in the\n" 17440 " range [1. .. 2.]. High values enable the usage of very thin\n" 17441 " triangles for interpolation, possibly resulting in error in\n" 17442 " the approximation.\n" 17443 " GRID_NNI, only weights greater than data will be accepted. If\n" 17444 " 0, all weights will be accepted.\n" 17447 { (
char *)
"plgspa",
_wrap_plgspa, METH_VARARGS, (
char *)
"\n" 17448 "Get current subpage parameters\n" 17452 " Gets the size of the current subpage in millimeters measured from the\n" 17453 " bottom left hand corner of the output device page or screen. Can be\n" 17454 " used in conjunction with plsvpa for setting the size of a viewport in\n" 17455 " absolute coordinates (millimeters).\n" 17457 " Redacted form: plgspa(xmin, xmax, ymin, ymax)\n" 17459 " This function is used in example 23.\n" 17465 "plgspa(xmin, xmax, ymin, ymax)\n" 17469 " xmin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n" 17470 " the left hand edge of the subpage in millimeters.\n" 17472 " xmax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n" 17473 " the right hand edge of the subpage in millimeters.\n" 17475 " ymin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n" 17476 " the bottom edge of the subpage in millimeters.\n" 17478 " ymax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n" 17479 " the top edge of the subpage in millimeters.\n" 17482 { (
char *)
"plgstrm",
_wrap_plgstrm, METH_VARARGS, (
char *)
"\n" 17483 "Get current stream number\n" 17487 " Gets the number of the current output stream. See also plsstrm.\n" 17489 " Redacted form: plgstrm(p_strm)\n" 17491 " This function is used in example 1,20.\n" 17497 "plgstrm(p_strm)\n" 17501 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17505 { (
char *)
"plgver",
_wrap_plgver, METH_VARARGS, (
char *)
"\n" 17506 "Get the current library version number\n" 17510 " Get the current library version number. Note: you must have allocated\n" 17511 " space for this (80 characters is safe).\n" 17513 " Redacted form: plgver(p_ver)\n" 17515 " This function is used in example 1.\n" 17525 " p_ver (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n" 17526 " (with preallocated length of 80 characters or more) containing the\n" 17527 " PLplot version number.\n" 17530 { (
char *)
"plgvpd",
_wrap_plgvpd, METH_VARARGS, (
char *)
"\n" 17531 "Get viewport limits in normalized device coordinates\n" 17535 " Get viewport limits in normalized device coordinates.\n" 17537 " Redacted form: General: plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n" 17540 " This function is used in example 31.\n" 17546 "plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n" 17550 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n" 17551 " viewport limit of the normalized device coordinate in x.\n" 17553 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n" 17554 " viewport limit of the normalized device coordinate in x.\n" 17556 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n" 17557 " viewport limit of the normalized device coordinate in y.\n" 17559 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n" 17560 " viewport limit of the normalized device coordinate in y.\n" 17563 { (
char *)
"plgvpw",
_wrap_plgvpw, METH_VARARGS, (
char *)
"\n" 17564 "Get viewport limits in world coordinates\n" 17568 " Get viewport limits in world coordinates.\n" 17570 " Redacted form: General: plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n" 17573 " This function is used in example 31.\n" 17579 "plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n" 17583 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n" 17584 " viewport limit of the world coordinate in x.\n" 17586 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n" 17587 " viewport limit of the world coordinate in x.\n" 17589 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n" 17590 " viewport limit of the world coordinate in y.\n" 17592 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n" 17593 " viewport limit of the world coordinate in y.\n" 17596 { (
char *)
"plgxax",
_wrap_plgxax, METH_VARARGS, (
char *)
"\n" 17597 "Get x axis parameters\n" 17601 " Returns current values of the p_digmax and p_digits flags for the x\n" 17602 " axis. p_digits is updated after the plot is drawn, so this routine\n" 17603 " should only be called after the call to plbox (or plbox3) is complete.\n" 17604 " See the PLplot documentation for more information.\n" 17606 " Redacted form: plgxax(p_digmax, p_digits)\n" 17608 " This function is used in example 31.\n" 17614 "plgxax(p_digmax, p_digits)\n" 17618 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n" 17619 " number of digits for the x axis. If nonzero, the printed label\n" 17620 " has been switched to a floating-point representation when the\n" 17621 " number of digits exceeds this value.\n" 17623 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n" 17624 " number of digits for the numeric labels (x axis) from the last\n" 17628 { (
char *)
"plgyax",
_wrap_plgyax, METH_VARARGS, (
char *)
"\n" 17629 "Get y axis parameters\n" 17633 " Identical to plgxax, except that arguments are flags for y axis. See\n" 17634 " the description of plgxax for more detail.\n" 17636 " Redacted form: plgyax(p_digmax, p_digits)\n" 17638 " This function is used in example 31.\n" 17644 "plgyax(p_digmax, p_digits)\n" 17648 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n" 17649 " number of digits for the y axis. If nonzero, the printed label\n" 17650 " has been switched to a floating-point representation when the\n" 17651 " number of digits exceeds this value.\n" 17653 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n" 17654 " number of digits for the numeric labels (y axis) from the last\n" 17658 { (
char *)
"plgzax",
_wrap_plgzax, METH_VARARGS, (
char *)
"\n" 17659 "Get z axis parameters\n" 17663 " Identical to plgxax, except that arguments are flags for z axis. See\n" 17664 " the description of plgxax for more detail.\n" 17666 " Redacted form: plgzax(p_digmax, p_digits)\n" 17668 " This function is used in example 31.\n" 17674 "plgzax(p_digmax, p_digits)\n" 17678 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n" 17679 " number of digits for the z axis. If nonzero, the printed label\n" 17680 " has been switched to a floating-point representation when the\n" 17681 " number of digits exceeds this value.\n" 17683 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n" 17684 " number of digits for the numeric labels (z axis) from the last\n" 17688 { (
char *)
"plhist",
_wrap_plhist, METH_VARARGS, (
char *)
"\n" 17689 "Plot a histogram from unbinned data\n" 17693 " Plots a histogram from n data points stored in the data vector. This\n" 17694 " routine bins the data into nbin bins equally spaced between datmin and\n" 17695 " datmax, and calls plbin to draw the resulting histogram. Parameter\n" 17696 " opt allows, among other things, the histogram either to be plotted in\n" 17697 " an existing window or causes plhist to call plenv with suitable limits\n" 17698 " before plotting the histogram.\n" 17700 " Redacted form: plhist(data, datmin, datmax, nbin, opt)\n" 17702 " This function is used in example 5.\n" 17708 "plhist(n, data, datmin, datmax, nbin, opt)\n" 17712 " n (PLINT, input) : Number of data points.\n" 17714 " data (PLFLT_VECTOR, input) : A vector containing the values of the\n" 17715 " n data points.\n" 17717 " datmin (PLFLT, input) : Left-hand edge of lowest-valued bin.\n" 17719 " datmax (PLFLT, input) : Right-hand edge of highest-valued bin.\n" 17721 " nbin (PLINT, input) : Number of (equal-sized) bins into which to\n" 17722 " divide the interval xmin to xmax.\n" 17724 " opt (PLINT, input) : Is a combination of several flags:\n" 17725 " opt=PL_HIST_DEFAULT: The axes are automatically rescaled to fit\n" 17726 " the histogram data, the outer bins are expanded to fill up the\n" 17727 " entire x-axis, data outside the given extremes are assigned to the\n" 17728 " outer bins and bins of zero height are simply drawn.\n" 17729 " opt=PL_HIST_NOSCALING|...: The existing axes are not rescaled\n" 17730 " to fit the histogram data, without this flag, plenv is called\n" 17731 " to set the world coordinates.\n" 17732 " opt=PL_HIST_IGNORE_OUTLIERS|...: Data outside the given\n" 17733 " extremes are not taken into account. This option should\n" 17734 " probably be combined with opt=PL_HIST_NOEXPAND|..., so as to\n" 17735 " properly present the data.\n" 17736 " opt=PL_HIST_NOEXPAND|...: The outer bins are drawn with equal\n" 17737 " size as the ones inside.\n" 17738 " opt=PL_HIST_NOEMPTY|...: Bins with zero height are not drawn\n" 17739 " (there is a gap for such bins).\n" 17742 { (
char *)
"plhlsrgb",
_wrap_plhlsrgb, METH_VARARGS, (
char *)
"\n" 17743 "Convert HLS color to RGB\n" 17747 " Convert HLS color coordinates to RGB.\n" 17749 " Redacted form: General: plhlsrgb(h, l, s, p_r, p_g, p_b)\n" 17752 " This function is used in example 2.\n" 17758 "plhlsrgb(h, l, s, p_r, p_g, p_b)\n" 17762 " h (PLFLT, input) : Hue in degrees (0.0-360.0) on the color\n" 17765 " l (PLFLT, input) : Lightness expressed as a fraction (0.0-1.0) of\n" 17766 " the axis of the color cylinder.\n" 17768 " s (PLFLT, input) : Saturation expressed as a fraction (0.0-1.0) of\n" 17769 " the radius of the color cylinder.\n" 17771 " p_r (PLFLT_NC_SCALAR, output) : Returned value of the red intensity\n" 17772 " (0.0-1.0) of the color.\n" 17774 " p_g (PLFLT_NC_SCALAR, output) : Returned value of the green\n" 17775 " intensity (0.0-1.0) of the color.\n" 17777 " p_b (PLFLT_NC_SCALAR, output) : Returned value of the blue\n" 17778 " intensity (0.0-1.0) of the color.\n" 17781 { (
char *)
"plinit",
_wrap_plinit, METH_VARARGS, (
char *)
"\n" 17782 "Initialize PLplot\n" 17786 " Initializing the plotting package. The program prompts for the device\n" 17787 " keyword or number of the desired output device. Hitting a RETURN in\n" 17788 " response to the prompt is the same as selecting the first device.\n" 17789 " plinit will issue no prompt if either the device was specified\n" 17790 " previously (via command line flag, the plsetopt function, or the\n" 17791 " plsdev function), or if only one device is enabled when PLplot is\n" 17792 " installed. If subpages have been specified, the output device is\n" 17793 " divided into nx by ny subpages, each of which may be used\n" 17794 " independently. If plinit is called again during a program, the\n" 17795 " previously opened file will be closed. The subroutine pladv is used\n" 17796 " to advance from one subpage to the next.\n" 17798 " Redacted form: plinit()\n" 17800 " This function is used in all of the examples.\n" 17809 { (
char *)
"pljoin",
_wrap_pljoin, METH_VARARGS, (
char *)
"\n" 17810 "Draw a line between two points\n" 17814 " Joins the point (\n" 17820 " Redacted form: pljoin(x1,y1,x2,y2)\n" 17822 " This function is used in examples 3 and 14.\n" 17828 "pljoin(x1, y1, x2, y2)\n" 17832 " x1 (PLFLT, input) : x coordinate of first point.\n" 17834 " y1 (PLFLT, input) : y coordinate of first point.\n" 17836 " x2 (PLFLT, input) : x coordinate of second point.\n" 17838 " y2 (PLFLT, input) : y coordinate of second point.\n" 17841 { (
char *)
"pllab",
_wrap_pllab, METH_VARARGS, (
char *)
"\n" 17842 "Simple routine to write labels\n" 17846 " Routine for writing simple labels. Use plmtex for more complex labels.\n" 17848 " Redacted form: pllab(xlabel, ylabel, tlabel)\n" 17850 " This function is used in examples 1, 5, 9, 12, 14-16, 20-22, and 29.\n" 17856 "pllab(xlabel, ylabel, tlabel)\n" 17860 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 17861 " the label for the x axis.\n" 17863 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 17864 " the label for the y axis.\n" 17866 " tlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 17867 " the title of the plot.\n" 17870 { (
char *)
"pllegend",
_wrap_pllegend, METH_VARARGS, (
char *)
"\n" 17871 "Plot legend using discretely annotated filled boxes, lines, and/or lines of symbols\n" 17875 " Routine for creating a discrete plot legend with a plotted filled box,\n" 17876 " line, and/or line of symbols for each annotated legend entry. (See\n" 17877 " plcolorbar for similar functionality for creating continuous color\n" 17878 " bars.) The arguments of pllegend provide control over the location\n" 17879 " and size of the legend as well as the location and characteristics of\n" 17880 " the elements (most of which are optional) within that legend. The\n" 17881 " resulting legend is clipped at the boundaries of the current subpage.\n" 17882 " (N.B. the adopted coordinate system used for some of the parameters is\n" 17883 " defined in the documentation of the position parameter.)\n" 17885 " Redacted form: pllegend(p_legend_width, p_legend_height, opt,\n" 17886 " position, x, y, plot_width, bg_color, bb_color, bb_style, nrow,\n" 17887 " ncolumn, opt_array, text_offset, text_scale, text_spacing,\n" 17888 " test_justification, text_colors, text, box_colors, box_patterns,\n" 17889 " box_scales, box_line_widths, line_colors, line_styles, line_widths,\n" 17890 " symbol_colors, symbol_scales, symbol_numbers, symbols)\n" 17892 " This function is used in examples 4, 26, and 33.\n" 17898 "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" 17902 " p_legend_width (PLFLT_NC_SCALAR, output) : Returned value of the\n" 17903 " legend width in adopted coordinates. This quantity is calculated\n" 17904 " from plot_width, text_offset, ncolumn (possibly modified inside\n" 17905 " the routine depending on nlegend and nrow), and the length\n" 17906 " (calculated internally) of the longest text string.\n" 17908 " p_legend_height (PLFLT_NC_SCALAR, output) : Returned value of the\n" 17909 " legend height in adopted coordinates. This quantity is calculated\n" 17910 " from text_scale, text_spacing, and nrow (possibly modified inside\n" 17911 " the routine depending on nlegend and nrow).\n" 17913 " opt (PLINT, input) : opt contains bits controlling the overall\n" 17914 " legend. If the PL_LEGEND_TEXT_LEFT bit is set, put the text area\n" 17915 " on the left of the legend and the plotted area on the right.\n" 17916 " Otherwise, put the text area on the right of the legend and the\n" 17917 " plotted area on the left. If the PL_LEGEND_BACKGROUND bit is set,\n" 17918 " plot a (semitransparent) background for the legend. If the\n" 17919 " PL_LEGEND_BOUNDING_BOX bit is set, plot a bounding box for the\n" 17920 " legend. If the PL_LEGEND_ROW_MAJOR bit is set and (both of the\n" 17921 " possibly internally transformed) nrow > 1 and ncolumn > 1, then\n" 17922 " plot the resulting array of legend entries in row-major order.\n" 17923 " Otherwise, plot the legend entries in column-major order.\n" 17925 " position (PLINT, input) : position contains bits which control the\n" 17926 " overall position of the legend and the definition of the adopted\n" 17927 " coordinates used for positions just like what is done for the\n" 17928 " position argument for plcolorbar. However, note that the defaults\n" 17929 " for the position bits (see below) are different than the\n" 17930 " plcolorbar case. The combination of the PL_POSITION_LEFT,\n" 17931 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n" 17932 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n" 17933 " the 16 possible standard positions (the 4 corners and centers of\n" 17934 " the 4 sides for both the inside and outside cases) of the legend\n" 17935 " relative to the adopted coordinate system. The corner positions\n" 17936 " are specified by the appropriate combination of two of the\n" 17937 " PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n" 17938 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n" 17939 " value of one of those bits. The adopted coordinates are\n" 17940 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n" 17941 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n" 17942 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n" 17943 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n" 17944 " then use the combination of PL_POSITION_RIGHT and PL_POSITION_TOP.\n" 17945 " If neither of PL_POSITION_INSIDE or PL_POSITION_OUTSIDE is set,\n" 17946 " use PL_POSITION_INSIDE. If neither of PL_POSITION_VIEWPORT or\n" 17947 " PL_POSITION_SUBPAGE is set, use PL_POSITION_VIEWPORT.\n" 17949 " x (PLFLT, input) : X offset of the legend position in adopted\n" 17950 " coordinates from the specified standard position of the legend.\n" 17951 " For positive x, the direction of motion away from the standard\n" 17952 " position is inward/outward from the standard corner positions or\n" 17953 " standard left or right positions if the\n" 17954 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n" 17955 " For the standard top or bottom positions, the direction of motion\n" 17956 " is toward positive X.\n" 17958 " y (PLFLT, input) : Y offset of the legend position in adopted\n" 17959 " coordinates from the specified standard position of the legend.\n" 17960 " For positive y, the direction of motion away from the standard\n" 17961 " position is inward/outward from the standard corner positions or\n" 17962 " standard top or bottom positions if the\n" 17963 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position. For\n" 17964 " the standard left or right positions, the direction of motion is\n" 17965 " toward positive Y.\n" 17967 " plot_width (PLFLT, input) : Horizontal width in adopted coordinates\n" 17968 " of the plot area (where the colored boxes, lines, and/or lines of\n" 17969 " symbols are drawn) of the legend.\n" 17971 " bg_color (PLINT, input) : The cmap0 color of the background for the\n" 17972 " legend (PL_LEGEND_BACKGROUND).\n" 17974 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n" 17975 " for the legend (PL_LEGEND_BOUNDING_BOX).\n" 17977 " bb_style (PLINT, input) : The pllsty style number for the\n" 17978 " bounding-box line for the legend (PL_LEGEND_BACKGROUND).\n" 17980 " nrow (PLINT, input) : The number of rows in the matrix used to\n" 17982 " nlegend legend entries. For internal transformations of\n" 17983 " nrow, see further remarks under\n" 17986 " ncolumn (PLINT, input) : The number of columns in the matrix used\n" 17988 " nlegend legend entries. For internal transformations of\n" 17989 " ncolumn, see further remarks under\n" 17992 " nlegend (PLINT, input) : Number of legend entries. The above\n" 17994 " ncolumn values are transformed internally to be consistent with\n" 17995 " nlegend. If either\n" 17997 " ncolumn is non-positive it is replaced by 1. If the resulting product\n" 18000 " ncolumn is less than\n" 18001 " nlegend, the smaller of the two (or\n" 18004 " ncolumn) is increased so the product is >=\n" 18005 " nlegend. Thus, for example, the common\n" 18007 " ncolumn = 0 case is transformed internally to\n" 18010 " ncolumn = 1; i.e., the usual case of a legend rendered as a single\n" 18013 " opt_array (PLINT_VECTOR, input) : A vector of\n" 18014 " nlegend values of options to control each individual plotted area\n" 18015 " corresponding to a legend entry. If the\n" 18016 " PL_LEGEND_NONE bit is set, then nothing is plotted in the plotted\n" 18018 " PL_LEGEND_COLOR_BOX,\n" 18019 " PL_LEGEND_LINE, and/or\n" 18020 " PL_LEGEND_SYMBOL bits are set, the area corresponding to a legend\n" 18021 " entry is plotted with a colored box; a line; and/or a line of\n" 18024 " text_offset (PLFLT, input) : Offset of the text area from the plot\n" 18025 " area in units of character width.\n" 18027 " text_scale (PLFLT, input) : Character height scale for text\n" 18030 " text_spacing (PLFLT, input) : Vertical spacing in units of the\n" 18031 " character height from one legend entry to the next.\n" 18033 " text_justification (PLFLT, input) : Justification parameter used\n" 18034 " for text justification. The most common values of\n" 18035 " text_justification are 0., 0.5, or 1. corresponding to a text that\n" 18036 " is left justified, centred, or right justified within the text\n" 18037 " area, but other values are allowed as well.\n" 18039 " text_colors (PLINT_VECTOR, input) : A vector containing\n" 18040 " nlegend cmap0 text colors.\n" 18042 " text (PLCHAR_MATRIX, input) : A vector of\n" 18043 " nlegend UTF-8 character strings containing the legend annotations.\n" 18045 " box_colors (PLINT_VECTOR, input) : A vector containing\n" 18046 " nlegend cmap0 colors for the discrete colored boxes (\n" 18047 " PL_LEGEND_COLOR_BOX).\n" 18049 " box_patterns (PLINT_VECTOR, input) : A vector containing\n" 18050 " nlegend patterns (plpsty indices) for the discrete colored boxes (\n" 18051 " PL_LEGEND_COLOR_BOX).\n" 18053 " box_scales (PLFLT_VECTOR, input) : A vector containing\n" 18054 " nlegend scales (units of fraction of character height) for the height\n" 18055 " of the discrete colored boxes (\n" 18056 " PL_LEGEND_COLOR_BOX).\n" 18058 " box_line_widths (PLFLT_VECTOR, input) : A vector containing\n" 18059 " nlegend line widths for the patterns specified by box_patterns (\n" 18060 " PL_LEGEND_COLOR_BOX).\n" 18062 " line_colors (PLINT_VECTOR, input) : A vector containing\n" 18063 " nlegend cmap0 line colors (\n" 18064 " PL_LEGEND_LINE).\n" 18066 " line_styles (PLINT_VECTOR, input) : A vector containing\n" 18067 " nlegend line styles (plsty indices) (\n" 18068 " PL_LEGEND_LINE).\n" 18070 " line_widths (PLFLT_VECTOR, input) : A vector containing\n" 18071 " nlegend line widths (\n" 18072 " PL_LEGEND_LINE).\n" 18074 " symbol_colors (PLINT_VECTOR, input) : A vector containing\n" 18075 " nlegend cmap0 symbol colors (\n" 18076 " PL_LEGEND_SYMBOL).\n" 18078 " symbol_scales (PLFLT_VECTOR, input) : A vector containing\n" 18079 " nlegend scale values for the symbol height (\n" 18080 " PL_LEGEND_SYMBOL).\n" 18082 " symbol_numbers (PLINT_VECTOR, input) : A vector containing\n" 18083 " nlegend numbers of symbols to be drawn across the width of the plotted\n" 18085 " PL_LEGEND_SYMBOL).\n" 18087 " symbols (PLCHAR_MATRIX, input) : A vector of\n" 18088 " nlegend UTF-8 character strings containing the legend symbols. (\n" 18089 " PL_LEGEND_SYMBOL).\n" 18093 "Plot color bar for image, shade or gradient plots\n" 18097 " Routine for creating a continuous color bar for image, shade, or\n" 18098 " gradient plots. (See pllegend for similar functionality for creating\n" 18099 " legends with discrete elements). The arguments of plcolorbar provide\n" 18100 " control over the location and size of the color bar as well as the\n" 18101 " location and characteristics of the elements (most of which are\n" 18102 " optional) within that color bar. The resulting color bar is clipped\n" 18103 " at the boundaries of the current subpage. (N.B. the adopted coordinate\n" 18104 " system used for some of the parameters is defined in the documentation\n" 18105 " of the position parameter.)\n" 18107 " Redacted form: plcolorbar(p_colorbar_width, p_colorbar_height, opt,\n" 18108 " position, x, y, x_length, y_length, bg_color, bb_color, bb_style,\n" 18109 " low_cap_color, high_cap_color, cont_color, cont_width, label_opts,\n" 18110 " labels, axis_opts, ticks, sub_ticks, values)\n" 18112 " This function is used in examples 16 and 33.\n" 18118 "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" 18122 " p_colorbar_width (PLFLT_NC_SCALAR, output) : Returned value of the\n" 18123 " labelled and decorated color bar width in adopted coordinates.\n" 18125 " p_colorbar_height (PLFLT_NC_SCALAR, output) : Returned value of the\n" 18126 " labelled and decorated color bar height in adopted coordinates.\n" 18128 " opt (PLINT, input) : opt contains bits controlling the overall\n" 18129 " color bar. The orientation (direction of the maximum value) of\n" 18130 " the color bar is specified with PL_ORIENT_RIGHT, PL_ORIENT_TOP,\n" 18131 " PL_ORIENT_LEFT, or PL_ORIENT_BOTTOM. If none of these bits are\n" 18132 " specified, the default orientation is toward the top if the\n" 18133 " colorbar is placed on the left or right of the viewport or toward\n" 18134 " the right if the colorbar is placed on the top or bottom of the\n" 18135 " viewport. If the PL_COLORBAR_BACKGROUND bit is set, plot a\n" 18136 " (semitransparent) background for the color bar. If the\n" 18137 " PL_COLORBAR_BOUNDING_BOX bit is set, plot a bounding box for the\n" 18138 " color bar. The type of color bar must be specified with one of\n" 18139 " PL_COLORBAR_IMAGE, PL_COLORBAR_SHADE, or PL_COLORBAR_GRADIENT. If\n" 18140 " more than one of those bits is set only the first one in the above\n" 18141 " list is honored. The position of the (optional) label/title can be\n" 18142 " specified with PL_LABEL_RIGHT, PL_LABEL_TOP, PL_LABEL_LEFT, or\n" 18143 " PL_LABEL_BOTTOM. If no label position bit is set then no label\n" 18144 " will be drawn. If more than one of this list of bits is specified,\n" 18145 " only the first one on the list is honored. End-caps for the color\n" 18146 " bar can added with PL_COLORBAR_CAP_LOW and PL_COLORBAR_CAP_HIGH.\n" 18147 " If a particular color bar cap option is not specified then no cap\n" 18148 " will be drawn for that end. As a special case for\n" 18149 " PL_COLORBAR_SHADE, the option PL_COLORBAR_SHADE_LABEL can be\n" 18150 " specified. If this option is provided then any tick marks and tick\n" 18151 " labels will be placed at the breaks between shaded segments. TODO:\n" 18152 " This should be expanded to support custom placement of tick marks\n" 18153 " and tick labels at custom value locations for any color bar type.\n" 18155 " position (PLINT, input) : position contains bits which control the\n" 18156 " overall position of the color bar and the definition of the\n" 18157 " adopted coordinates used for positions just like what is done for\n" 18158 " the position argument for pllegend. However, note that the\n" 18159 " defaults for the position bits (see below) are different than the\n" 18160 " pllegend case. The combination of the PL_POSITION_LEFT,\n" 18161 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n" 18162 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n" 18163 " the 16 possible standard positions (the 4 corners and centers of\n" 18164 " the 4 sides for both the inside and outside cases) of the color\n" 18165 " bar relative to the adopted coordinate system. The corner\n" 18166 " positions are specified by the appropriate combination of two of\n" 18167 " the PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n" 18168 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n" 18169 " value of one of those bits. The adopted coordinates are\n" 18170 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n" 18171 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n" 18172 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n" 18173 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n" 18174 " then use PL_POSITION_RIGHT. If neither of PL_POSITION_INSIDE or\n" 18175 " PL_POSITION_OUTSIDE is set, use PL_POSITION_OUTSIDE. If neither of\n" 18176 " PL_POSITION_VIEWPORT or PL_POSITION_SUBPAGE is set, use\n" 18177 " PL_POSITION_VIEWPORT.\n" 18179 " x (PLFLT, input) : X offset of the color bar position in adopted\n" 18180 " coordinates from the specified standard position of the color bar.\n" 18181 " For positive x, the direction of motion away from the standard\n" 18182 " position is inward/outward from the standard corner positions or\n" 18183 " standard left or right positions if the\n" 18184 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n" 18185 " For the standard top or bottom positions, the direction of motion\n" 18186 " is toward positive X.\n" 18188 " y (PLFLT, input) : Y offset of the color bar position in adopted\n" 18189 " coordinates from the specified standard position of the color bar.\n" 18190 " For positive y, the direction of motion away from the standard\n" 18191 " position is inward/outward from the standard corner positions or\n" 18192 " standard top or bottom positions if the\n" 18193 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n" 18194 " For the standard left or right positions, the direction of motion\n" 18195 " is toward positive Y.\n" 18197 " x_length (PLFLT, input) : Length of the body of the color bar in\n" 18198 " the X direction in adopted coordinates.\n" 18200 " y_length (PLFLT, input) : Length of the body of the color bar in\n" 18201 " the Y direction in adopted coordinates.\n" 18203 " bg_color (PLINT, input) : The cmap0 color of the background for the\n" 18204 " color bar (PL_COLORBAR_BACKGROUND).\n" 18206 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n" 18207 " for the color bar (PL_COLORBAR_BOUNDING_BOX).\n" 18209 " bb_style (PLINT, input) : The pllsty style number for the\n" 18210 " bounding-box line for the color bar (PL_COLORBAR_BACKGROUND).\n" 18212 " low_cap_color (PLFLT, input) : The cmap1 color of the low-end color\n" 18213 " bar cap, if it is drawn (PL_COLORBAR_CAP_LOW).\n" 18215 " high_cap_color (PLFLT, input) : The cmap1 color of the high-end\n" 18216 " color bar cap, if it is drawn (PL_COLORBAR_CAP_HIGH).\n" 18218 " cont_color (PLINT, input) : The cmap0 contour color for\n" 18219 " PL_COLORBAR_SHADE plots. This is passed directly to plshades, so\n" 18220 " it will be interpreted according to the design of plshades.\n" 18222 " cont_width (PLFLT, input) : Contour width for PL_COLORBAR_SHADE\n" 18223 " plots. This is passed directly to plshades, so it will be\n" 18224 " interpreted according to the design of plshades.\n" 18226 " n_labels (PLINT, input) : Number of labels to place around the\n" 18229 " label_opts (PLINT_VECTOR, input) : A vector of options for each of\n" 18230 " n_labels labels.\n" 18232 " labels (PLCHAR_MATRIX, input) : A vector of\n" 18233 " n_labels UTF-8 character strings containing the labels for the color\n" 18234 " bar. Ignored if no label position is specified with one of the\n" 18235 " PL_COLORBAR_LABEL_RIGHT, PL_COLORBAR_LABEL_TOP,\n" 18236 " PL_COLORBAR_LABEL_LEFT, or PL_COLORBAR_LABEL_BOTTOM bits in the\n" 18237 " corresponding label_opts field.\n" 18239 " n_axes (PLINT, input) : Number of axis definitions provided. This\n" 18240 " value must be greater than 0. It is typically 1 (numerical axis\n" 18241 " labels are provided for one of the long edges of the color bar),\n" 18242 " but it can be larger if multiple numerical axis labels for the\n" 18243 " long edges of the color bar are desired.\n" 18245 " axis_opts (PLCHAR_MATRIX, input) : A vector of\n" 18246 " n_axes ascii character strings containing options (interpreted as for\n" 18247 " plbox) for the color bar's axis definitions.\n" 18249 " ticks (PLFLT_VECTOR, input) : A vector of n_axes values of the\n" 18250 " spacing of the major tick marks (interpreted as for plbox) for the\n" 18251 " color bar's axis definitions.\n" 18253 " sub_ticks (PLINT_VECTOR, input) : A vector of n_axes values of the\n" 18254 " number of subticks (interpreted as for plbox) for the color bar's\n" 18255 " axis definitions.\n" 18257 " n_values (PLINT_VECTOR, input) : A vector containing the number of\n" 18258 " elements in each of the n_axes rows of the values matrix.\n" 18260 " values (PLFLT_MATRIX, input) : A matrix containing the numeric\n" 18261 " values for the data range represented by the color bar. For a row\n" 18262 " index of i_axis (where 0 < i_axis < n_axes), the number of\n" 18263 " elements in the row is specified by n_values[i_axis]. For\n" 18264 " PL_COLORBAR_IMAGE and PL_COLORBAR_GRADIENT the number of elements\n" 18265 " is 2, and the corresponding row elements of the values matrix are\n" 18266 " the minimum and maximum value represented by the colorbar. For\n" 18267 " PL_COLORBAR_SHADE, the number and values of the elements of a row\n" 18268 " of the values matrix is interpreted the same as the nlevel and\n" 18269 " clevel arguments of plshades.\n" 18273 "Sets the 3D position of the light source\n" 18277 " Sets the 3D position of the light source for use with plsurf3d and\n" 18280 " Redacted form: pllightsource(x, y, z)\n" 18282 " This function is used in example 8.\n" 18288 "pllightsource(x, y, z)\n" 18292 " x (PLFLT, input) : X-coordinate of the light source.\n" 18294 " y (PLFLT, input) : Y-coordinate of the light source.\n" 18296 " z (PLFLT, input) : Z-coordinate of the light source.\n" 18299 { (
char *)
"plline",
_wrap_plline, METH_VARARGS, (
char *)
"\n" 18304 " Draws line defined by n points in x and y.\n" 18306 " Redacted form: plline(x, y)\n" 18308 " This function is used in examples 1, 3, 4, 9, 12-14, 16, 18, 20, 22,\n" 18309 " 25-27, and 29.\n" 18315 "plline(n, x, y)\n" 18319 " n (PLINT, input) : Number of points defining line.\n" 18321 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 18324 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 18328 { (
char *)
"plline3",
_wrap_plline3, METH_VARARGS, (
char *)
"\n" 18329 "Draw a line in 3 space\n" 18333 " Draws line in 3 space defined by n points in x, y, and z. You must\n" 18334 " first set up the viewport, the 2d viewing window (in world\n" 18335 " coordinates), and the 3d normalized coordinate box. See x18c.c for\n" 18338 " Redacted form: plline3(x, y, z)\n" 18340 " This function is used in example 18.\n" 18346 "plline3(n, x, y, z)\n" 18350 " n (PLINT, input) : Number of points defining line.\n" 18352 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 18355 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 18358 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n" 18362 { (
char *)
"pllsty",
_wrap_pllsty, METH_VARARGS, (
char *)
"\n" 18363 "Select line style\n" 18367 " This sets the line style according to one of eight predefined patterns\n" 18368 " (also see plstyl).\n" 18370 " Redacted form: pllsty(lin)\n" 18372 " This function is used in examples 9, 12, 22, and 25.\n" 18382 " lin (PLINT, input) : Integer value between 1 and 8. Line style 1 is\n" 18383 " a continuous line, line style 2 is a line with short dashes and\n" 18384 " gaps, line style 3 is a line with long dashes and gaps, line style\n" 18385 " 4 has long dashes and short gaps and so on.\n" 18388 { (
char *)
"plmesh",
_wrap_plmesh, METH_VARARGS, (
char *)
"\n" 18389 "Plot surface mesh\n" 18393 " Plots a surface mesh within the environment set up by plw3d. The\n" 18394 " surface is defined by the matrix z[\n" 18396 " ny] , the point z[i][j] being the value of the function at (\n" 18398 " y[j]). Note that the points in vectors x and y do not need to be\n" 18399 " equally spaced, but must be stored in ascending order. The parameter\n" 18400 " opt controls the way in which the surface is displayed. For further\n" 18401 " details see the PLplot documentation.\n" 18403 " Redacted form: plmesh(x, y, z, opt)\n" 18405 " This function is used in example 11.\n" 18411 "plmesh(x, y, z, nx, ny, opt)\n" 18415 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18416 " which the function is evaluated.\n" 18418 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18419 " which the function is evaluated.\n" 18421 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18422 " plot. Should have dimensions of\n" 18426 " nx (PLINT, input) : Number of x values at which function has been\n" 18429 " ny (PLINT, input) : Number of y values at which function has been\n" 18432 " opt (PLINT, input) : Determines the way in which the surface is\n" 18433 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n" 18434 " function of x for each value of y[j] .\n" 18435 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n" 18436 " for each value of x[i] .\n" 18437 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n" 18438 " at which function is defined.\n" 18441 { (
char *)
"plmeshc",
_wrap_plmeshc, METH_VARARGS, (
char *)
"\n" 18442 "Magnitude colored plot surface mesh with contour\n" 18446 " A more powerful form of plmesh: the surface mesh can be colored\n" 18447 " accordingly to the current z value being plotted, a contour plot can\n" 18448 " be drawn at the base XY plane, and a curtain can be drawn between the\n" 18449 " plotted function border and the base XY plane.\n" 18451 " Redacted form: plmeshc(x, y, z, opt, clevel)\n" 18453 " This function is used in example 11.\n" 18459 "plmeshc(x, y, z, nx, ny, opt, clevel, nlevel)\n" 18463 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18464 " which the function is evaluated.\n" 18466 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18467 " which the function is evaluated.\n" 18469 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18470 " plot. Should have dimensions of\n" 18474 " nx (PLINT, input) : Number of x values at which function is\n" 18477 " ny (PLINT, input) : Number of y values at which function is\n" 18480 " opt (PLINT, input) : Determines the way in which the surface is\n" 18481 " represented. To specify more than one option just add the options,\n" 18482 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n" 18483 " showing z as a function of x for each value of y[j] .\n" 18484 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n" 18485 " for each value of x[i] .\n" 18486 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n" 18487 " at which function is defined.\n" 18488 " opt=MAG_COLOR : Each line in the mesh is colored according to\n" 18489 " the z value being plotted. The color is used from the current\n" 18491 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n" 18492 " using parameters\n" 18495 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n" 18496 " the borders of the plotted function.\n" 18499 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n" 18502 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n" 18505 { (
char *)
"plmkstrm",
_wrap_plmkstrm, METH_VARARGS, (
char *)
"\n" 18506 "Creates a new stream and makes it the default\n" 18510 " Creates a new stream and makes it the default. Differs from using\n" 18511 " plsstrm, in that a free stream number is found, and returned.\n" 18512 " Unfortunately, I have to start at stream 1 and work upward, since\n" 18513 " stream 0 is preallocated. One of the big flaws in the PLplot API is\n" 18514 " that no initial, library-opening call is required. So stream 0 must\n" 18515 " be preallocated, and there is no simple way of determining whether it\n" 18516 " is already in use or not.\n" 18518 " Redacted form: plmkstrm(p_strm)\n" 18520 " This function is used in examples 1 and 20.\n" 18526 "plmkstrm(p_strm)\n" 18530 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the stream\n" 18531 " number of the created stream.\n" 18534 { (
char *)
"plmtex",
_wrap_plmtex, METH_VARARGS, (
char *)
"\n" 18535 "Write text relative to viewport boundaries\n" 18539 " Writes text at a specified position relative to the viewport\n" 18540 " boundaries. Text may be written inside or outside the viewport, but\n" 18541 " is clipped at the subpage boundaries. The reference point of a string\n" 18542 " lies along a line passing through the string at half the height of a\n" 18543 " capital letter. The position of the reference point along this line\n" 18544 " is determined by just, and the position of the reference point\n" 18545 " relative to the viewport is set by disp and pos.\n" 18547 " Redacted form: General: plmtex(side, disp, pos, just, text)\n" 18550 " This function is used in examples 3, 4, 6-8, 11, 12, 14, 18, 23, and\n" 18557 "plmtex(side, disp, pos, just, text)\n" 18561 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 18562 " the side of the viewport along which the text is to be written.\n" 18563 " The string must be one of: b: Bottom of viewport, text written\n" 18564 " parallel to edge.\n" 18565 " bv: Bottom of viewport, text written at right angles to edge.\n" 18566 " l: Left of viewport, text written parallel to edge.\n" 18567 " lv: Left of viewport, text written at right angles to edge.\n" 18568 " r: Right of viewport, text written parallel to edge.\n" 18569 " rv: Right of viewport, text written at right angles to edge.\n" 18570 " t: Top of viewport, text written parallel to edge.\n" 18571 " tv: Top of viewport, text written at right angles to edge.\n" 18574 " disp (PLFLT, input) : Position of the reference point of string,\n" 18575 " measured outwards from the specified viewport edge in units of the\n" 18576 " current character height. Use negative disp to write within the\n" 18579 " pos (PLFLT, input) : Position of the reference point of string\n" 18580 " along the specified edge, expressed as a fraction of the length of\n" 18583 " just (PLFLT, input) : Specifies the position of the string relative\n" 18584 " to its reference point. If just=0. , the reference point is at\n" 18585 " the left and if just=1. , it is at the right of the string. Other\n" 18586 " values of just give intermediate justifications.\n" 18588 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n" 18592 { (
char *)
"plmtex3",
_wrap_plmtex3, METH_VARARGS, (
char *)
"\n" 18593 "Write text relative to viewport boundaries in 3D plots\n" 18597 " Writes text at a specified position relative to the viewport\n" 18598 " boundaries. Text may be written inside or outside the viewport, but\n" 18599 " is clipped at the subpage boundaries. The reference point of a string\n" 18600 " lies along a line passing through the string at half the height of a\n" 18601 " capital letter. The position of the reference point along this line\n" 18602 " is determined by just, and the position of the reference point\n" 18603 " relative to the viewport is set by disp and pos.\n" 18605 " Redacted form: plmtex3(side, disp, pos, just, text)\n" 18607 " This function is used in example 28.\n" 18613 "plmtex3(side, disp, pos, just, text)\n" 18617 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 18618 " the side of the viewport along which the text is to be written.\n" 18619 " The string should contain one or more of the following characters:\n" 18620 " [xyz][ps][v]. Only one label is drawn at a time, i.e. xyp will\n" 18621 " only label the X axis, not both the X and Y axes. x: Label the X\n" 18623 " y: Label the Y axis.\n" 18624 " z: Label the Z axis.\n" 18625 " p: Label the primary axis. For Z this is the leftmost Z axis.\n" 18626 " For X it is the axis that starts at y-min. For Y it is the\n" 18627 " axis that starts at x-min.\n" 18628 " s: Label the secondary axis.\n" 18629 " v: Draw the text perpendicular to the axis.\n" 18632 " disp (PLFLT, input) : Position of the reference point of string,\n" 18633 " measured outwards from the specified viewport edge in units of the\n" 18634 " current character height. Use negative disp to write within the\n" 18637 " pos (PLFLT, input) : Position of the reference point of string\n" 18638 " along the specified edge, expressed as a fraction of the length of\n" 18641 " just (PLFLT, input) : Specifies the position of the string relative\n" 18642 " to its reference point. If just=0. , the reference point is at\n" 18643 " the left and if just=1. , it is at the right of the string. Other\n" 18644 " values of just give intermediate justifications.\n" 18646 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n" 18650 { (
char *)
"plot3d",
_wrap_plot3d, METH_VARARGS, (
char *)
"\n" 18651 "Plot 3-d surface plot\n" 18655 " Plots a three-dimensional surface plot within the environment set up\n" 18656 " by plw3d. The surface is defined by the matrix z[\n" 18658 " ny] , the point z[i][j] being the value of the function at (\n" 18660 " y[j]). Note that the points in vectors x and y do not need to be\n" 18661 " equally spaced, but must be stored in ascending order. The parameter\n" 18662 " opt controls the way in which the surface is displayed. For further\n" 18663 " details see the PLplot documentation. The only difference between\n" 18664 " plmesh and plot3d is that plmesh draws the bottom side of the surface,\n" 18665 " while plot3d only draws the surface as viewed from the top.\n" 18667 " Redacted form: plot3d(x, y, z, opt, side)\n" 18669 " This function is used in examples 11 and 21.\n" 18675 "plot3d(x, y, z, nx, ny, opt, side)\n" 18679 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18680 " which the function is evaluated.\n" 18682 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18683 " which the function is evaluated.\n" 18685 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18686 " plot. Should have dimensions of\n" 18690 " nx (PLINT, input) : Number of x values at which function is\n" 18693 " ny (PLINT, input) : Number of y values at which function is\n" 18696 " opt (PLINT, input) : Determines the way in which the surface is\n" 18697 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n" 18698 " function of x for each value of y[j] .\n" 18699 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n" 18700 " for each value of x[i] .\n" 18701 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n" 18702 " at which function is defined.\n" 18705 " side (PLBOOL, input) : Flag to indicate whether or not ``sides''\n" 18706 " should be draw on the figure. If side is true sides are drawn,\n" 18707 " otherwise no sides are drawn.\n" 18710 { (
char *)
"plot3dc",
_wrap_plot3dc, METH_VARARGS, (
char *)
"\n" 18711 "Magnitude colored plot surface with contour\n" 18715 " Aside from dropping the\n" 18716 " side functionality this is a more powerful form of plot3d: the surface\n" 18717 " mesh can be colored accordingly to the current z value being plotted,\n" 18718 " a contour plot can be drawn at the base XY plane, and a curtain can be\n" 18719 " drawn between the plotted function border and the base XY plane. The\n" 18720 " arguments are identical to those of plmeshc. The only difference\n" 18721 " between plmeshc and plot3dc is that plmeshc draws the bottom side of\n" 18722 " the surface, while plot3dc only draws the surface as viewed from the\n" 18725 " Redacted form: General: plot3dc(x, y, z, opt, clevel)\n" 18728 " This function is used in example 21.\n" 18734 "plot3dc(x, y, z, nx, ny, opt, clevel, nlevel)\n" 18738 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18739 " which the function is evaluated.\n" 18741 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18742 " which the function is evaluated.\n" 18744 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18745 " plot. Should have dimensions of\n" 18749 " nx (PLINT, input) : Number of x values at which function is\n" 18752 " ny (PLINT, input) : Number of y values at which function is\n" 18755 " opt (PLINT, input) : Determines the way in which the surface is\n" 18756 " represented. To specify more than one option just add the options,\n" 18757 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n" 18758 " showing z as a function of x for each value of y[j] .\n" 18759 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n" 18760 " for each value of x[i] .\n" 18761 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n" 18762 " at which function is defined.\n" 18763 " opt=MAG_COLOR : Each line in the mesh is colored according to\n" 18764 " the z value being plotted. The color is used from the current\n" 18766 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n" 18767 " using parameters\n" 18770 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n" 18771 " the borders of the plotted function.\n" 18774 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n" 18777 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n" 18780 { (
char *)
"plot3dcl",
_wrap_plot3dcl, METH_VARARGS, (
char *)
"\n" 18781 "Magnitude colored plot surface with contour for z[x][y] with y index limits\n" 18785 " When the implementation is completed this variant of plot3dc (see that\n" 18786 " function's documentation for more details) should be suitable for the\n" 18787 " case where the area of the x, y coordinate grid where z is defined can\n" 18788 " be non-rectangular. The implementation is incomplete so the last 4\n" 18789 " parameters of plot3dcl; indexxmin, indexxmax, indexymin, and\n" 18790 " indexymax; are currently ignored and the functionality is otherwise\n" 18791 " identical to that of plot3dc.\n" 18793 " Redacted form: General: plot3dcl(x, y, z, opt, clevel, indexxmin,\n" 18794 " indexymin, indexymax)\n" 18797 " This function is not used in any example.\n" 18803 "plot3dcl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n" 18807 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18808 " which the function is evaluated.\n" 18810 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18811 " which the function is evaluated.\n" 18813 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18814 " plot. Should have dimensions of\n" 18818 " nx (PLINT, input) : Number of x values at which the function is\n" 18821 " ny (PLINT, input) : Number of y values at which the function is\n" 18824 " opt (PLINT, input) : Determines the way in which the surface is\n" 18825 " represented. To specify more than one option just add the options,\n" 18826 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n" 18827 " showing z as a function of x for each value of y[j] .\n" 18828 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n" 18829 " for each value of x[i] .\n" 18830 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n" 18831 " at which function is defined.\n" 18832 " opt=MAG_COLOR : Each line in the mesh is colored according to\n" 18833 " the z value being plotted. The color is used from the current\n" 18835 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n" 18836 " using parameters\n" 18839 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n" 18840 " the borders of the plotted function.\n" 18843 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n" 18846 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n" 18848 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n" 18849 " corresponds to the first x index where z is defined.\n" 18851 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n" 18852 " which corresponds (by convention) to one more than the last x\n" 18853 " index value where z is defined.\n" 18855 " indexymin (PLINT_VECTOR, input) : A vector containing y index\n" 18856 " values which all must be ≥ 0. These values are the first y index\n" 18857 " where z is defined for a particular x index in the range from\n" 18858 " indexxmin to indexxmax - 1. The dimension of indexymin is\n" 18861 " indexymax (PLINT_VECTOR, input) : A vector containing y index\n" 18862 " values which all must be ≤ ny. These values correspond (by\n" 18863 " convention) to one more than the last y index where z is defined\n" 18864 " for a particular x index in the range from indexxmin to indexxmax\n" 18865 " - 1. The dimension of indexymax is indexxmax.\n" 18868 { (
char *)
"plsurf3d",
_wrap_plsurf3d, METH_VARARGS, (
char *)
"\n" 18869 "Plot shaded 3-d surface plot\n" 18873 " Plots a three-dimensional shaded surface plot within the environment\n" 18874 " set up by plw3d. The surface is defined by the two-dimensional matrix\n" 18877 " ny], the point z[i][j] being the value of the function at (\n" 18879 " y[j]). Note that the points in vectors x and y do not need to be\n" 18880 " equally spaced, but must be stored in ascending order. For further\n" 18881 " details see the PLplot documentation.\n" 18883 " Redacted form: plsurf3d(x, y, z, opt, clevel)\n" 18885 " This function is not used in any examples.\n" 18891 "plsurf3d(x, y, z, nx, ny, opt, clevel, nlevel)\n" 18895 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18896 " which the function is evaluated.\n" 18898 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18899 " which the function is evaluated.\n" 18901 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18902 " plot. Should have dimensions of\n" 18906 " nx (PLINT, input) : Number of x values at which function is\n" 18909 " ny (PLINT, input) : Number of y values at which function is\n" 18912 " opt (PLINT, input) : Determines the way in which the surface is\n" 18913 " represented. To specify more than one option just add the options,\n" 18914 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n" 18915 " connecting points at which function is defined.\n" 18916 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n" 18917 " using parameters\n" 18920 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n" 18921 " using parameters\n" 18924 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n" 18925 " the borders of the plotted function.\n" 18926 " opt=MAG_COLOR : the surface is colored according to the value\n" 18927 " of Z; if MAG_COLOR is not used, then the surface is colored\n" 18928 " according to the intensity of the reflected light in the\n" 18929 " surface from a light source whose position is set using\n" 18930 " pllightsource.\n" 18933 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n" 18936 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n" 18940 "Plot shaded 3-d surface plot for z[x][y] with y index limits\n" 18944 " This variant of plsurf3d (see that function's documentation for more\n" 18945 " details) should be suitable for the case where the area of the x, y\n" 18946 " coordinate grid where z is defined can be non-rectangular. The limits\n" 18947 " of that grid are provided by the parameters indexxmin, indexxmax,\n" 18948 " indexymin, and indexymax.\n" 18950 " Redacted form: plsurf3dl(x, y, z, opt, clevel, indexxmin, indexymin,\n" 18953 " This function is used in example 8.\n" 18959 "plsurf3dl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n" 18963 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18964 " which the function is evaluated.\n" 18966 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18967 " which the function is evaluated.\n" 18969 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18970 " plot. Should have dimensions of\n" 18974 " nx (PLINT, input) : Number of x values at which function is\n" 18977 " ny (PLINT, input) : Number of y values at which function is\n" 18980 " opt (PLINT, input) : Determines the way in which the surface is\n" 18981 " represented. To specify more than one option just add the options,\n" 18982 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n" 18983 " connecting points at which function is defined.\n" 18984 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n" 18985 " using parameters\n" 18988 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n" 18989 " using parameters\n" 18992 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n" 18993 " the borders of the plotted function.\n" 18994 " opt=MAG_COLOR : the surface is colored according to the value\n" 18995 " of Z; if MAG_COLOR is not used, then the surface is colored\n" 18996 " according to the intensity of the reflected light in the\n" 18997 " surface from a light source whose position is set using\n" 18998 " pllightsource.\n" 19001 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n" 19004 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n" 19006 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n" 19007 " corresponds to the first x index where z is defined.\n" 19009 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n" 19010 " which corresponds (by convention) to one more than the last x\n" 19011 " index value where z is defined.\n" 19013 " indexymin (PLINT_VECTOR, input) : A vector containing the y index\n" 19014 " values which all must be ≥ 0. These values are the first y index\n" 19015 " where z is defined for a particular x index in the range from\n" 19016 " indexxmin to indexxmax - 1. The dimension of indexymin is\n" 19019 " indexymax (PLINT_VECTOR, input) : A vector containing the y index\n" 19020 " values which all must be ≤ ny. These values correspond (by\n" 19021 " convention) to one more than the last y index where z is defined\n" 19022 " for a particular x index in the range from indexxmin to indexxmax\n" 19023 " - 1. The dimension of indexymax is indexxmax.\n" 19027 "Parse command-line arguments\n" 19031 " Parse command-line arguments.\n" 19033 " plparseopts removes all recognized flags (decreasing argc\n" 19034 " accordingly), so that invalid input may be readily detected. It can\n" 19035 " also be used to process user command line flags. The user can merge\n" 19036 " an option table of type PLOptionTable into the internal option table\n" 19037 " info structure using plMergeOpts. Or, the user can specify that ONLY\n" 19038 " the external table(s) be parsed by calling plClearOpts before\n" 19041 " The default action taken by plparseopts is as follows:\n" 19042 " Returns with an error if an unrecognized option or badly formed\n" 19043 " option-value pair are encountered.\n" 19044 " Returns immediately (return code 0) when the first non-option command\n" 19045 " line argument is found.\n" 19046 " Returns with the return code of the option handler, if one was called.\n" 19048 " Deletes command line arguments from argv list as they are found, and\n" 19049 " decrements argc accordingly.\n" 19050 " Does not show \"invisible\" options in usage or help messages.\n" 19051 " Assumes the program name is contained in argv[0].\n" 19053 " These behaviors may be controlled through the\n" 19054 " mode argument.\n" 19056 " Redacted form: General: plparseopts(argv, mode)\n" 19059 " This function is used in all of the examples.\n" 19065 "PLINT plparseopts(p_argc, argv, mode)\n" 19069 " p_argc (int *, input/output) : Number of arguments.\n" 19071 " argv (PLCHAR_NC_MATRIX, input/output) : A vector of character\n" 19072 " strings containing *p_argc command-line arguments.\n" 19074 " mode (PLINT, input) : Parsing mode with the following\n" 19075 " possibilities: PL_PARSE_FULL (1) -- Full parsing of command line\n" 19076 " and all error messages enabled, including program exit when an\n" 19077 " error occurs. Anything on the command line that isn't recognized\n" 19078 " as a valid option or option argument is flagged as an error.\n" 19079 " PL_PARSE_QUIET (2) -- Turns off all output except in the case\n" 19081 " PL_PARSE_NODELETE (4) -- Turns off deletion of processed\n" 19083 " PL_PARSE_SHOWALL (8) -- Show invisible options\n" 19084 " PL_PARSE_NOPROGRAM (32) -- Specified if argv[0] is NOT a\n" 19085 " pointer to the program name.\n" 19086 " PL_PARSE_NODASH (64) -- Set if leading dash is NOT required.\n" 19087 " PL_PARSE_SKIP (128) -- Set to quietly skip over any\n" 19088 " unrecognized arguments.\n" 19091 { (
char *)
"plpat",
_wrap_plpat, METH_VARARGS, (
char *)
"\n" 19092 "Set area line fill pattern\n" 19096 " Sets the area line fill pattern to be used, e.g., for calls to plfill.\n" 19097 " The pattern consists of 1 or 2 sets of parallel lines with specified\n" 19098 " inclinations and spacings. The arguments to this routine are the\n" 19099 " number of sets to use (1 or 2) followed by two vectors (with 1 or 2\n" 19100 " elements) specifying the inclinations in tenths of a degree and the\n" 19101 " spacing in micrometers. (See also plpsty)\n" 19103 " Redacted form: General: plpat(inc, del)\n" 19106 " This function is used in example 15.\n" 19112 "plpat(nlin, inc, del)\n" 19116 " nlin (PLINT, input) : Number of sets of lines making up the\n" 19117 " pattern, either 1 or 2.\n" 19119 " inc (PLINT_VECTOR, input) : A vector containing nlin values of the\n" 19120 " inclination in tenths of a degree. (Should be between -900 and\n" 19123 " del (PLINT_VECTOR, input) : A vector containing nlin values of the\n" 19124 " spacing in micrometers between the lines making up the pattern.\n" 19127 { (
char *)
"plpath",
_wrap_plpath, METH_VARARGS, (
char *)
"\n" 19128 "Draw a line between two points, accounting for coordinate transforms\n" 19132 " Joins the point (\n" 19136 " y2) . If a global coordinate transform is defined then the line is\n" 19137 " broken in to n segments to approximate the path. If no transform is\n" 19138 " defined then this simply acts like a call to pljoin.\n" 19140 " Redacted form: plpath(n,x1,y1,x2,y2)\n" 19142 " This function is used in example 22.\n" 19148 "plpath(n, x1, y1, x2, y2)\n" 19152 " n (PLINT, input) : number of points to use to approximate the path.\n" 19154 " x1 (PLFLT, input) : x coordinate of first point.\n" 19156 " y1 (PLFLT, input) : y coordinate of first point.\n" 19158 " x2 (PLFLT, input) : x coordinate of second point.\n" 19160 " y2 (PLFLT, input) : y coordinate of second point.\n" 19163 { (
char *)
"plpoin",
_wrap_plpoin, METH_VARARGS, (
char *)
"\n" 19164 "Plot a glyph at the specified points\n" 19168 " Plot a glyph at the specified points. (This function is largely\n" 19169 " superseded by plstring which gives access to many[!] more glyphs.)\n" 19170 " code=-1 means try to just draw a point. Right now it's just a move\n" 19171 " and a draw at the same place. Not ideal, since a sufficiently\n" 19172 " intelligent output device may optimize it away, or there may be faster\n" 19173 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n" 19174 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n" 19175 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n" 19176 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n" 19177 " code <= 127 the corresponding printable ASCII character is plotted.\n" 19179 " Redacted form: plpoin(x, y, code)\n" 19181 " This function is used in examples 1, 6, 14, and 29.\n" 19187 "plpoin(n, x, y, code)\n" 19191 " n (PLINT, input) : Number of points in the x and y vectors.\n" 19193 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 19196 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 19199 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n" 19200 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n" 19201 " each of the n points.\n" 19204 { (
char *)
"plpoin3",
_wrap_plpoin3, METH_VARARGS, (
char *)
"\n" 19205 "Plot a glyph at the specified 3D points\n" 19209 " Plot a glyph at the specified 3D points. (This function is largely\n" 19210 " superseded by plstring3 which gives access to many[!] more glyphs.)\n" 19211 " Set up the call to this function similar to what is done for plline3.\n" 19212 " code=-1 means try to just draw a point. Right now it's just a move\n" 19213 " and a draw at the same place. Not ideal, since a sufficiently\n" 19214 " intelligent output device may optimize it away, or there may be faster\n" 19215 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n" 19216 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n" 19217 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n" 19218 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n" 19219 " code <= 127 the corresponding printable ASCII character is plotted.\n" 19221 " Redacted form: plpoin3(x, y, z, code)\n" 19223 " This function is not used in any example.\n" 19229 "plpoin3(n, x, y, z, code)\n" 19233 " n (PLINT, input) : Number of points in the x and y vectors.\n" 19235 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 19238 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 19241 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n" 19244 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n" 19245 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n" 19246 " each of the n points.\n" 19249 { (
char *)
"plpoly3",
_wrap_plpoly3, METH_VARARGS, (
char *)
"\n" 19250 "Draw a polygon in 3 space\n" 19254 " Draws a polygon in 3 space defined by n points in x, y, and z. Setup\n" 19255 " like plline3, but differs from that function in that plpoly3 attempts\n" 19256 " to determine if the polygon is viewable depending on the order of the\n" 19257 " points within the vector and the value of ifcc. If the back of\n" 19258 " polygon is facing the viewer, then it isn't drawn. If this isn't what\n" 19259 " you want, then use plline3 instead.\n" 19261 " The points are assumed to be in a plane, and the directionality of the\n" 19262 " plane is determined from the first three points. Additional points do\n" 19263 " not have to lie on the plane defined by the first three, but if they\n" 19264 " do not, then the determination of visibility obviously can't be 100%\n" 19265 " accurate... So if you're 3 space polygons are too far from planar,\n" 19266 " consider breaking them into smaller polygons. 3 points define a plane\n" 19269 " Bugs: If one of the first two segments is of zero length, or if they\n" 19270 " are co-linear, the calculation of visibility has a 50/50 chance of\n" 19271 " being correct. Avoid such situations :-). See x18c.c for an example\n" 19272 " of this problem. (Search for 20.1).\n" 19274 " Redacted form: plpoly3(x, y, z, code)\n" 19276 " This function is used in example 18.\n" 19282 "plpoly3(n, x, y, z, draw, ifcc)\n" 19286 " n (PLINT, input) : Number of points defining line.\n" 19288 " x (PLFLT_VECTOR, input) : A vector containing\n" 19289 " n x coordinates of points.\n" 19291 " y (PLFLT_VECTOR, input) : A vector containing\n" 19292 " n y coordinates of points.\n" 19294 " z (PLFLT_VECTOR, input) : A vector containing\n" 19295 " n z coordinates of points.\n" 19297 " draw (PLBOOL_VECTOR, input) : A vector containing\n" 19298 " n-1 Boolean values which control drawing the segments of the polygon.\n" 19299 " If draw[i] is true, then the polygon segment from index [i] to\n" 19300 " [i+1] is drawn, otherwise, not.\n" 19302 " ifcc (PLBOOL, input) : If ifcc is true the directionality of the\n" 19303 " polygon is determined by assuming the points are laid out in a\n" 19304 " counter-clockwise order. Otherwise, the directionality of the\n" 19305 " polygon is determined by assuming the points are laid out in a\n" 19306 " clockwise order.\n" 19309 { (
char *)
"plprec",
_wrap_plprec, METH_VARARGS, (
char *)
"\n" 19310 "Set precision in numeric labels\n" 19314 " Sets the number of places after the decimal point in numeric labels.\n" 19316 " Redacted form: plprec(setp, prec)\n" 19318 " This function is used in example 29.\n" 19324 "plprec(setp, prec)\n" 19328 " setp (PLINT, input) : If setp is equal to 0 then PLplot\n" 19329 " automatically determines the number of places to use after the\n" 19330 " decimal point in numeric labels (like those used to label axes).\n" 19331 " If setp is 1 then prec sets the number of places.\n" 19333 " prec (PLINT, input) : The number of characters to draw after the\n" 19334 " decimal point in numeric labels.\n" 19337 { (
char *)
"plpsty",
_wrap_plpsty, METH_VARARGS, (
char *)
"\n" 19338 "Select area fill pattern\n" 19343 " patt is zero or less use either a hardware solid fill if the drivers\n" 19344 " have that capability (virtually all do) or fall back to a software\n" 19345 " emulation of a solid fill using the eighth area line fill pattern. If\n" 19347 " patt <= 8, then select one of eight predefined area line fill patterns\n" 19348 " to use (see plpat if you desire other patterns).\n" 19350 " Redacted form: plpsty(patt)\n" 19352 " This function is used in examples 12, 13, 15, 16, and 25.\n" 19362 " patt (PLINT, input) : The desired pattern index. If\n" 19363 " patt is zero or less, then a solid fill is (normally, see qualifiers\n" 19364 " above) used. For\n" 19365 " patt in the range from 1 to 8 and assuming the driver has not supplied\n" 19366 " line fill capability itself (most deliberately do not so that line\n" 19367 " fill patterns look identical for those drivers), the patterns\n" 19368 " consist of (1) horizontal lines, (2) vertical lines, (3) lines at\n" 19369 " 45 degrees, (4) lines at -45 degrees, (5) lines at 30 degrees, (6)\n" 19370 " lines at -30 degrees, (7) both vertical and horizontal lines, and\n" 19371 " (8) lines at both 45 degrees and -45 degrees.\n" 19374 { (
char *)
"plptex",
_wrap_plptex, METH_VARARGS, (
char *)
"\n" 19375 "Write text inside the viewport\n" 19379 " Writes text at a specified position and inclination within the\n" 19380 " viewport. Text is clipped at the viewport boundaries. The reference\n" 19381 " point of a string lies along a line passing through the string at half\n" 19382 " the height of a capital letter. The position of the reference point\n" 19383 " along this line is determined by just, the reference point is placed\n" 19384 " at world coordinates (\n" 19386 " y) within the viewport. The inclination of the string is specified\n" 19387 " in terms of differences of world coordinates making it easy to write\n" 19388 " text parallel to a line in a graph.\n" 19390 " Redacted form: plptex(x, y, dx, dy, just, text)\n" 19392 " This function is used in example 2-4,10,12-14,20,23,24,26.\n" 19398 "plptex(x, y, dx, dy, just, text)\n" 19402 " x (PLFLT, input) : x coordinate of reference point of string.\n" 19404 " y (PLFLT, input) : y coordinate of reference point of string.\n" 19406 " dx (PLFLT, input) : Together with dy, this specifies the\n" 19407 " inclination of the string. The baseline of the string is parallel\n" 19408 " to a line joining (\n" 19416 " dy (PLFLT, input) : Together with dx, this specifies the\n" 19417 " inclination of the string.\n" 19419 " just (PLFLT, input) : Specifies the position of the string relative\n" 19420 " to its reference point. If just=0. , the reference point is at\n" 19421 " the left and if just=1. , it is at the right of the string. Other\n" 19422 " values of just give intermediate justifications.\n" 19424 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n" 19428 { (
char *)
"plptex3",
_wrap_plptex3, METH_VARARGS, (
char *)
"\n" 19429 "Write text inside the viewport of a 3D plot\n" 19433 " Writes text at a specified position and inclination and with a\n" 19434 " specified shear within the viewport. Text is clipped at the viewport\n" 19435 " boundaries. The reference point of a string lies along a line passing\n" 19436 " through the string at half the height of a capital letter. The\n" 19437 " position of the reference point along this line is determined by just,\n" 19438 " and the reference point is placed at world coordinates (\n" 19441 " wz) within the viewport. The inclination and shear of the string is\n" 19442 " specified in terms of differences of world coordinates making it easy\n" 19443 " to write text parallel to a line in a graph.\n" 19445 " Redacted form: plptex3(x, y, z, dx, dy, dz, sx, sy, sz, just, text)\n" 19447 " This function is used in example 28.\n" 19453 "plptex3(wx, wy, wz, dx, dy, dz, sx, sy, sz, just, text)\n" 19457 " wx (PLFLT, input) : x world coordinate of reference point of\n" 19460 " wy (PLFLT, input) : y world coordinate of reference point of\n" 19463 " wz (PLFLT, input) : z world coordinate of reference point of\n" 19466 " dx (PLFLT, input) : Together with dy and\n" 19467 " dz , this specifies the inclination of the string. The baseline of\n" 19468 " the string is parallel to a line joining (\n" 19479 " dy (PLFLT, input) : Together with dx and\n" 19480 " dz, this specifies the inclination of the string.\n" 19482 " dz (PLFLT, input) : Together with dx and\n" 19483 " dy, this specifies the inclination of the string.\n" 19485 " sx (PLFLT, input) : Together with sy and\n" 19486 " sz , this specifies the shear of the string. The string is sheared so\n" 19487 " that the characters are vertically parallel to a line joining (\n" 19498 " sz = 0.) then the text is not sheared.\n" 19500 " sy (PLFLT, input) : Together with sx and\n" 19501 " sz, this specifies shear of the string.\n" 19503 " sz (PLFLT, input) : Together with sx and\n" 19504 " sy, this specifies shear of the string.\n" 19506 " just (PLFLT, input) : Specifies the position of the string relative\n" 19507 " to its reference point. If just=0. , the reference point is at\n" 19508 " the left and if just=1. , it is at the right of the string. Other\n" 19509 " values of just give intermediate justifications.\n" 19511 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n" 19515 { (
char *)
"plrandd",
_wrap_plrandd, METH_VARARGS, (
char *)
"\n" 19516 "Random number generator returning a real random number in the range [0,1]\n" 19520 " Random number generator returning a real random number in the range\n" 19521 " [0,1]. The generator is based on the Mersenne Twister. Most languages\n" 19522 " / compilers provide their own random number generator, and so this is\n" 19523 " provided purely for convenience and to give a consistent random number\n" 19524 " generator across all languages supported by PLplot. This is\n" 19525 " particularly useful for comparing results from the test suite of\n" 19528 " Redacted form: plrandd()\n" 19530 " This function is used in examples 17 and 21.\n" 19539 { (
char *)
"plreplot",
_wrap_plreplot, METH_VARARGS, (
char *)
"\n" 19540 "Replays contents of plot buffer to current device/file\n" 19544 " Replays contents of plot buffer to current device/file.\n" 19546 " Redacted form: plreplot()\n" 19548 " This function is used in example 1,20.\n" 19557 { (
char *)
"plrgbhls",
_wrap_plrgbhls, METH_VARARGS, (
char *)
"\n" 19558 "Convert RGB color to HLS\n" 19562 " Convert RGB color coordinates to HLS\n" 19564 " Redacted form: General: plrgbhls(r, g, b, p_h, p_l, p_s)\n" 19567 " This function is used in example 2.\n" 19573 "plrgbhls(r, g, b, p_h, p_l, p_s)\n" 19577 " r (PLFLT, input) : Red intensity (0.0-1.0) of the color.\n" 19579 " g (PLFLT, input) : Green intensity (0.0-1.0) of the color.\n" 19581 " b (PLFLT, input) : Blue intensity (0.0-1.0) of the color.\n" 19583 " p_h (PLFLT_NC_SCALAR, output) : Returned value of the hue in\n" 19584 " degrees (0.0-360.0) on the color cylinder.\n" 19586 " p_l (PLFLT_NC_SCALAR, output) : Returned value of the lightness\n" 19587 " expressed as a fraction (0.0-1.0) of the axis of the color\n" 19590 " p_s (PLFLT_NC_SCALAR, output) : Returned value of the saturation\n" 19591 " expressed as a fraction (0.0-1.0) of the radius of the color\n" 19595 { (
char *)
"plschr",
_wrap_plschr, METH_VARARGS, (
char *)
"\n" 19596 "Set character size\n" 19600 " This sets up the size of all subsequent characters drawn. The actual\n" 19601 " height of a character is the product of the default character size and\n" 19602 " a scaling factor.\n" 19604 " Redacted form: plschr(def, scale)\n" 19606 " This function is used in examples 2, 13, 23, and 24.\n" 19612 "plschr(def, scale)\n" 19616 " def (PLFLT, input) : The default height of a character in\n" 19617 " millimeters, should be set to zero if the default height is to\n" 19618 " remain unchanged. For rasterized drivers the dx and dy values\n" 19619 " specified in plspage are used to convert from mm to pixels (note\n" 19620 " the different unit systems used). This dpi aware scaling is not\n" 19621 " implemented for all drivers yet.\n" 19623 " scale (PLFLT, input) : Scale factor to be applied to default to get\n" 19624 " actual character height.\n" 19627 { (
char *)
"plscmap0",
_wrap_plscmap0, METH_VARARGS, (
char *)
"\n" 19628 "Set cmap0 colors by 8-bit RGB values\n" 19632 " Set cmap0 colors using 8-bit RGB values (see the PLplot\n" 19633 " documentation). This sets the entire color map -- only as many colors\n" 19634 " as specified will be allocated.\n" 19636 " Redacted form: plscmap0(r, g, b)\n" 19638 " This function is used in examples 2 and 24.\n" 19644 "plscmap0(r, g, b, ncol0)\n" 19648 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19649 " integers (0-255) representing the degree of red in the color.\n" 19651 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19652 " integers (0-255) representing the degree of green in the color.\n" 19654 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19655 " integers (0-255) representing the degree of blue in the color.\n" 19657 " ncol0 (PLINT, input) : Number of items in the r, g, and b vectors.\n" 19661 "Set cmap0 colors by 8-bit RGB values and PLFLT alpha transparency value\n" 19665 " Set cmap0 colors using 8-bit RGB values (see the PLplot documentation)\n" 19666 " and PLFLT alpha transparency value. This sets the entire color map --\n" 19667 " only as many colors as specified will be allocated.\n" 19669 " Redacted form: plscmap0a(r, g, b, alpha)\n" 19671 " This function is used in examples 30.\n" 19677 "plscmap0a(r, g, b, alpha, ncol0)\n" 19681 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19682 " integers (0-255) representing the degree of red in the color.\n" 19684 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19685 " integers (0-255) representing the degree of green in the color.\n" 19687 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19688 " integers (0-255) representing the degree of blue in the color.\n" 19690 " alpha (PLFLT_VECTOR, input) : A vector containing values (0.0-1.0)\n" 19691 " representing the alpha transparency of the color.\n" 19693 " ncol0 (PLINT, input) : Number of items in the r, g, b, and alpha\n" 19698 "Set number of colors in cmap0\n" 19702 " Set number of colors in cmap0 (see the PLplot documentation). Allocate\n" 19703 " (or reallocate) cmap0, and fill with default values for those colors\n" 19704 " not previously allocated. The first 16 default colors are given in\n" 19705 " the plcol0 documentation. For larger indices the default color is\n" 19708 " The drivers are not guaranteed to support more than 16 colors.\n" 19710 " Redacted form: plscmap0n(ncol0)\n" 19712 " This function is used in examples 15, 16, and 24.\n" 19718 "plscmap0n(ncol0)\n" 19722 " ncol0 (PLINT, input) : Number of colors that will be allocated in\n" 19723 " the cmap0 palette. If this number is zero or less, then the value\n" 19724 " from the previous call to plscmap0n is used and if there is no\n" 19725 " previous call, then a default value is used.\n" 19728 { (
char *)
"plscmap1",
_wrap_plscmap1, METH_VARARGS, (
char *)
"\n" 19729 "Set opaque RGB cmap1 colors values\n" 19733 " Set opaque cmap1 colors (see the PLplot documentation) using RGB\n" 19734 " vector values. This function also sets the number of cmap1 colors.\n" 19735 " N.B. Continuous cmap1 colors are indexed with a floating-point index\n" 19736 " in the range from 0.0-1.0 which is linearly transformed (e.g., by\n" 19737 " plcol1) to an integer index of these RGB vectors in the range from 0\n" 19739 " ncol1-1. So in order for this continuous color model to work\n" 19740 " properly, it is the responsibility of the user of plscmap1 to insure\n" 19741 " that these RGB vectors are continuous functions of their integer\n" 19744 " Redacted form: plscmap1(r, g, b)\n" 19746 " This function is used in example 31.\n" 19752 "plscmap1(r, g, b, ncol1)\n" 19756 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19757 " 8-bit integers in the range from 0-255) the degree of red in the\n" 19758 " color as a continuous function of the integer index of the vector.\n" 19760 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19761 " 8-bit integers in the range from 0-255) the degree of green in the\n" 19762 " color as a continuous function of the integer index of the vector.\n" 19764 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19765 " 8-bit integers in the range from 0-255) the degree of blue in the\n" 19766 " color as a continuous function of the integer index of the vector.\n" 19768 " ncol1 (PLINT, input) : Number of items in the r, g, and b vectors.\n" 19772 "Set semitransparent cmap1 RGBA colors.\n" 19776 " Set semitransparent cmap1 colors (see the PLplot documentation) using\n" 19777 " RGBA vector values. This function also sets the number of cmap1\n" 19778 " colors. N.B. Continuous cmap1 colors are indexed with a\n" 19779 " floating-point index in the range from 0.0-1.0 which is linearly\n" 19780 " transformed (e.g., by plcol1) to an integer index of these RGBA\n" 19781 " vectors in the range from 0 to\n" 19782 " ncol1-1. So in order for this continuous color model to work\n" 19783 " properly, it is the responsibility of the user of plscmap1 to insure\n" 19784 " that these RGBA vectors are continuous functions of their integer\n" 19787 " Redacted form: plscmap1a(r, g, b, alpha)\n" 19789 " This function is used in example 31.\n" 19795 "plscmap1a(r, g, b, alpha, ncol1)\n" 19799 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19800 " 8-bit integers in the range from 0-255) the degree of red in the\n" 19801 " color as a continuous function of the integer index of the vector.\n" 19803 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19804 " 8-bit integers in the range from 0-255) the degree of green in the\n" 19805 " color as a continuous function of the integer index of the vector.\n" 19807 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19808 " 8-bit integers in the range from 0-255) the degree of blue in the\n" 19809 " color as a continuous function of the integer index of the vector.\n" 19811 " alpha (PLFLT_VECTOR, input) : A vector that represents (using PLFLT\n" 19812 " values in the range from 0.0-1.0 where 0.0 corresponds to\n" 19813 " completely transparent and 1.0 corresponds to completely opaque)\n" 19814 " the alpha transparency of the color as a continuous function of\n" 19815 " the integer index of the vector.\n" 19817 " ncol1 (PLINT, input) : Number of items in the r, g, b, and alpha\n" 19822 "Set cmap1 colors using a piece-wise linear relationship\n" 19826 " Set cmap1 colors using a piece-wise linear relationship between the\n" 19827 " cmap1 intensity index (0.0-1.0) and position in HLS or RGB color space\n" 19828 " (see the PLplot documentation). May be called at any time.\n" 19830 " The idea here is to specify a number of control points that define the\n" 19831 " mapping between input cmap1 intensity indices and HLS or RGB. Between\n" 19832 " these points, linear interpolation is used which gives a smooth\n" 19833 " variation of color with intensity index. Any number of control points\n" 19834 " may be specified, located at arbitrary positions, although typically 2\n" 19835 " - 4 are enough. Another way of stating this is that we are traversing\n" 19836 " a given number of lines through HLS or RGB space as we move through\n" 19837 " cmap1 intensity indices. The control points at the minimum and\n" 19838 " maximum position (0 and 1) must always be specified. By adding more\n" 19839 " control points you can get more variation. One good technique for\n" 19840 " plotting functions that vary about some expected average is to use an\n" 19841 " additional 2 control points in the center (position ~= 0.5) that are\n" 19842 " the same lightness as the background (typically white for paper\n" 19843 " output, black for crt), and same hue as the boundary control points.\n" 19844 " This allows the highs and lows to be very easily distinguished.\n" 19846 " Each control point must specify the cmap1 intensity index and the\n" 19847 " associated three coordinates in HLS or RGB space. The first point\n" 19848 " must correspond to position = 0, and the last to position = 1.\n" 19850 " If RGB colors are provided then the interpolation takes place in RGB\n" 19851 " space and is trivial. However if HLS colors are provided then, because\n" 19852 " of the circular nature of the color wheel for the hue coordinate, the\n" 19853 " interpolation could be performed in either direction around the color\n" 19854 " wheel. The default behaviour is for the hue to be linearly\n" 19855 " interpolated ignoring this circular property of hue. So for example,\n" 19856 " the hues 0 (red) and 240 (blue) will get interpolated via yellow,\n" 19857 " green and cyan. If instead you wish to interpolate the other way\n" 19858 " around the color wheel you have two options. You may provide hues\n" 19859 " outside the range [0, 360), so by using a hue of -120 for blue or 360\n" 19860 " for red the interpolation will proceed via magenta. Alternatively you\n" 19861 " can utilise the alt_hue_path variable to reverse the direction of\n" 19862 " interpolation if you need to provide hues within the [0-360) range.\n" 19864 " Examples of interpolation Huealt_hue_pathcolor scheme[120\n" 19865 " 240]falsegreen-cyan-blue[240 120]falseblue-cyan-green[120\n" 19866 " -120]falsegreen-yellow-red-magenta-blue[240\n" 19867 " 480]falseblue-magenta-red-yellow-green[120\n" 19868 " 240]truegreen-yellow-red-magenta-blue[240\n" 19869 " 120]trueblue-magenta-red-yellow-green\n" 19871 " Bounds on coordinatesRGBR[0, 1]magnitudeRGBG[0, 1]magnitudeRGBB[0,\n" 19872 " 1]magnitudeHLShue[0, 360]degreesHLSlightness[0,\n" 19873 " 1]magnitudeHLSsaturation[0, 1]magnitude\n" 19875 " Redacted form: plscmap1l(itype, intensity, coord1, coord2, coord3,\n" 19878 " This function is used in examples 8, 11, 12, 15, 20, and 21.\n" 19884 "plscmap1l(itype, npts, intensity, coord1, coord2, coord3, alt_hue_path)\n" 19888 " itype (PLBOOL, input) : true: RGB, false: HLS.\n" 19890 " npts (PLINT, input) : number of control points\n" 19892 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n" 19893 " intensity index (0.0-1.0) in ascending order for each control\n" 19896 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n" 19897 " coordinate (H or R) for each control point.\n" 19899 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n" 19900 " coordinate (L or G) for each control point.\n" 19902 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n" 19903 " coordinate (S or B) for each control point.\n" 19905 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n" 19906 " npts - 1 elements), each containing either true to use the reversed\n" 19907 " HLS interpolation or false to use the regular HLS interpolation.\n" 19908 " (alt_hue_path[i] refers to the interpolation interval between the\n" 19909 " i and i + 1 control points). This parameter is not used for RGB\n" 19911 " itype = true).\n" 19915 "Set cmap1 colors and alpha transparency using a piece-wise linear relationship\n" 19919 " This is a variant of plscmap1l that supports alpha channel\n" 19920 " transparency. It sets cmap1 colors using a piece-wise linear\n" 19921 " relationship between cmap1 intensity index (0.0-1.0) and position in\n" 19922 " HLS or RGB color space (see the PLplot documentation) with alpha\n" 19923 " transparency value (0.0-1.0). It may be called at any time.\n" 19925 " Redacted form: plscmap1la(itype, intensity, coord1, coord2, coord3,\n" 19926 " alpha, alt_hue_path)\n" 19928 " This function is used in example 30.\n" 19934 "plscmap1la(itype, npts, intensity, coord1, coord2, coord3, alpha, alt_hue_path)\n" 19938 " itype (PLBOOL, input) : true: RGB, false: HLS.\n" 19940 " npts (PLINT, input) : number of control points.\n" 19942 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n" 19943 " intensity index (0.0-1.0) in ascending order for each control\n" 19946 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n" 19947 " coordinate (H or R) for each control point.\n" 19949 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n" 19950 " coordinate (L or G) for each control point.\n" 19952 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n" 19953 " coordinate (S or B) for each control point.\n" 19955 " alpha (PLFLT_VECTOR, input) : A vector containing the alpha\n" 19956 " transparency value (0.0-1.0) for each control point.\n" 19958 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n" 19959 " npts - 1 elements) containing the alternative interpolation method\n" 19960 " Boolean value for each control point interval. (alt_hue_path[i]\n" 19961 " refers to the interpolation interval between the i and i + 1\n" 19962 " control points).\n" 19966 "Set number of colors in cmap1\n" 19970 " Set number of colors in cmap1, (re-)allocate cmap1, and set default\n" 19971 " values if this is the first allocation (see the PLplot documentation).\n" 19973 " Redacted form: plscmap1n(ncol1)\n" 19975 " This function is used in examples 8, 11, 20, and 21.\n" 19981 "plscmap1n(ncol1)\n" 19985 " ncol1 (PLINT, input) : Number of colors that will be allocated in\n" 19986 " the cmap1 palette. If this number is zero or less, then the value\n" 19987 " from the previous call to plscmap1n is used and if there is no\n" 19988 " previous call, then a default value is used.\n" 19992 "Set the cmap1 argument range for continuous color plots\n" 19996 " Set the cmap1 argument range for continuous color plots that\n" 19997 " corresponds to the range of data values. The maximum range\n" 19998 " corresponding to the entire cmap1 palette is 0.0-1.0, and the smaller\n" 19999 " the cmap1 argument range that is specified with this routine, the\n" 20000 " smaller the subset of the cmap1 color palette that is used to\n" 20001 " represent the continuous data being plotted. If\n" 20002 " min_color is greater than\n" 20004 " max_color is greater than 1.0 or\n" 20005 " min_color is less than 0.0 then no change is made to the cmap1\n" 20006 " argument range. (Use plgcmap1_range to get the cmap1 argument range.)\n" 20008 " Redacted form: plscmap1_range(min_color, max_color)\n" 20010 " This function is currently used in example 33.\n" 20016 "plscmap1_range(min_color, max_color)\n" 20020 " min_color (PLFLT, input) : The minimum cmap1 argument. If less\n" 20021 " than 0.0, then 0.0 is used instead.\n" 20023 " max_color (PLFLT, input) : The maximum cmap1 argument. If greater\n" 20024 " than 1.0, then 1.0 is used instead.\n" 20028 "Get the cmap1 argument range for continuous color plots\n" 20032 " Get the cmap1 argument range for continuous color plots. (Use\n" 20033 " plscmap1_range to set the cmap1 argument range.)\n" 20035 " Redacted form: plgcmap1_range(min_color, max_color)\n" 20037 " This function is currently not used in any example.\n" 20043 "plgcmap1_range(min_color, max_color)\n" 20047 " min_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n" 20048 " minimum cmap1 argument.\n" 20050 " max_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n" 20051 " maximum cmap1 argument.\n" 20054 { (
char *)
"plscol0",
_wrap_plscol0, METH_VARARGS, (
char *)
"\n" 20055 "Set 8-bit RGB values for given cmap0 color index\n" 20059 " Set 8-bit RGB values for given cmap0 (see the PLplot documentation)\n" 20060 " index. Overwrites the previous color value for the given index and,\n" 20061 " thus, does not result in any additional allocation of space for\n" 20064 " Redacted form: plscol0(icol0, r, g, b)\n" 20066 " This function is used in any example 31.\n" 20072 "plscol0(icol0, r, g, b)\n" 20076 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n" 20077 " number of colors (which is set by default, by plscmap0n, or even\n" 20080 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20081 " degree of red in the color.\n" 20083 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20084 " degree of green in the color.\n" 20086 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20087 " degree of blue in the color.\n" 20090 { (
char *)
"plscol0a",
_wrap_plscol0a, METH_VARARGS, (
char *)
"\n" 20091 "Set 8-bit RGB values and PLFLT alpha transparency value for given cmap0 color index\n" 20095 " Set 8-bit RGB value and PLFLT alpha transparency value for given cmap0\n" 20096 " (see the PLplot documentation) index. Overwrites the previous color\n" 20097 " value for the given index and, thus, does not result in any additional\n" 20098 " allocation of space for colors.\n" 20100 " This function is used in example 30.\n" 20106 "plscol0a(icol0, r, g, b, alpha)\n" 20110 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n" 20111 " number of colors (which is set by default, by plscmap0n, or even\n" 20114 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20115 " degree of red in the color.\n" 20117 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20118 " degree of green in the color.\n" 20120 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20121 " degree of blue in the color.\n" 20123 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n" 20127 { (
char *)
"plscolbg",
_wrap_plscolbg, METH_VARARGS, (
char *)
"\n" 20128 "Set the background color by 8-bit RGB value\n" 20132 " Set the background color (color 0 in cmap0) by 8-bit RGB value (see\n" 20133 " the PLplot documentation).\n" 20135 " Redacted form: plscolbg(r, g, b)\n" 20137 " This function is used in examples 15 and 31.\n" 20143 "plscolbg(r, g, b)\n" 20147 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20148 " degree of red in the color.\n" 20150 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20151 " degree of green in the color.\n" 20153 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20154 " degree of blue in the color.\n" 20158 "Set the background color by 8-bit RGB value and PLFLT alpha transparency value.\n" 20162 " Set the background color (color 0 in cmap0) by 8-bit RGB value and\n" 20163 " PLFLT alpha transparency value (see the PLplot documentation).\n" 20165 " This function is used in example 31.\n" 20171 "plscolbga(r, g, b, alpha)\n" 20175 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20176 " degree of red in the color.\n" 20178 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20179 " degree of green in the color.\n" 20181 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20182 " degree of blue in the color.\n" 20184 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n" 20188 { (
char *)
"plscolor",
_wrap_plscolor, METH_VARARGS, (
char *)
"\n" 20189 "Used to globally turn color output on/off\n" 20193 " Used to globally turn color output on/off for those drivers/devices\n" 20194 " that support it.\n" 20196 " Redacted form: plscolor(color)\n" 20198 " This function is used in example 31.\n" 20204 "plscolor(color)\n" 20208 " color (PLINT, input) : Color flag (Boolean). If zero, color is\n" 20209 " turned off. If non-zero, color is turned on.\n" 20213 "Set device-compression level\n" 20217 " Set device-compression level. Only used for drivers that provide\n" 20218 " compression. This function, if used, should be invoked before a call\n" 20221 " Redacted form: plscompression(compression)\n" 20223 " This function is used in example 31.\n" 20229 "plscompression(compression)\n" 20233 " compression (PLINT, input) : The desired compression level. This is\n" 20234 " a device-dependent value. Currently only the jpeg and png devices\n" 20235 " use these values. For jpeg value is the jpeg quality which should\n" 20236 " normally be in the range 0-95. Higher values denote higher quality\n" 20237 " and hence larger image sizes. For png values are in the range -1\n" 20238 " to 99. Values of 0-9 are taken as the compression level for zlib.\n" 20239 " A value of -1 denotes the default zlib compression level. Values\n" 20240 " in the range 10-99 are divided by 10 and then used as the zlib\n" 20241 " compression level. Higher compression levels correspond to greater\n" 20242 " compression and small file sizes at the expense of more\n" 20246 { (
char *)
"plsdev",
_wrap_plsdev, METH_VARARGS, (
char *)
"\n" 20247 "Set the device (keyword) name\n" 20251 " Set the device (keyword) name.\n" 20253 " Redacted form: plsdev(devname)\n" 20255 " This function is used in examples 1, 14, and 20.\n" 20261 "plsdev(devname)\n" 20265 " devname (PLCHAR_VECTOR, input) : An ascii character string\n" 20266 " containing the device name keyword of the required output device.\n" 20268 " devname is NULL or if the first character of the string is a ``?'',\n" 20269 " the normal (prompted) start up is used.\n" 20272 { (
char *)
"plsdidev",
_wrap_plsdidev, METH_VARARGS, (
char *)
"\n" 20273 "Set parameters that define current device-space window\n" 20277 " Set relative margin width, aspect ratio, and relative justification\n" 20278 " that define current device-space window. If you want to just use the\n" 20279 " previous value for any of these, just pass in the magic value\n" 20280 " PL_NOTSET. It is unlikely that one should ever need to change the\n" 20281 " aspect ratio but it's in there for completeness. If plsdidev is not\n" 20282 " called the default values of mar, jx, and jy are all 0. aspect is set\n" 20283 " to a device-specific value.\n" 20285 " Redacted form: plsdidev(mar, aspect, jx, jy)\n" 20287 " This function is used in example 31.\n" 20293 "plsdidev(mar, aspect, jx, jy)\n" 20297 " mar (PLFLT, input) : Relative margin width.\n" 20299 " aspect (PLFLT, input) : Aspect ratio.\n" 20301 " jx (PLFLT, input) : Relative justification in x. Value must lie in\n" 20302 " the range -0.5 to 0.5.\n" 20304 " jy (PLFLT, input) : Relative justification in y. Value must lie in\n" 20305 " the range -0.5 to 0.5.\n" 20308 { (
char *)
"plsdimap",
_wrap_plsdimap, METH_VARARGS, (
char *)
"\n" 20309 "Set up transformation from metafile coordinates\n" 20313 " Set up transformation from metafile coordinates. The size of the plot\n" 20314 " is scaled so as to preserve aspect ratio. This isn't intended to be a\n" 20315 " general-purpose facility just yet (not sure why the user would need\n" 20318 " Redacted form: plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm,\n" 20321 " This function is not used in any examples.\n" 20327 "plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm, dimypmm)\n" 20331 " dimxmin (PLINT, input) : NEEDS DOCUMENTATION\n" 20333 " dimxmax (PLINT, input) : NEEDS DOCUMENTATION\n" 20335 " dimymin (PLINT, input) : NEEDS DOCUMENTATION\n" 20337 " dimymax (PLINT, input) : NEEDS DOCUMENTATION\n" 20339 " dimxpmm (PLFLT, input) : NEEDS DOCUMENTATION\n" 20341 " dimypmm (PLFLT, input) : NEEDS DOCUMENTATION\n" 20344 { (
char *)
"plsdiori",
_wrap_plsdiori, METH_VARARGS, (
char *)
"\n" 20345 "Set plot orientation\n" 20349 " Set plot orientation parameter which is multiplied by 90 degrees to\n" 20350 " obtain the angle of rotation. Note, arbitrary rotation parameters\n" 20351 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n" 20352 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n" 20353 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n" 20354 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori is\n" 20355 " not called the default value of rot is 0.\n" 20357 " N.B. aspect ratio is unaffected by calls to plsdiori. So you will\n" 20358 " probably want to change the aspect ratio to a value suitable for the\n" 20359 " plot orientation using a call to plsdidev or the command-line options\n" 20360 " -a or -freeaspect. For more documentation of those options see the\n" 20361 " PLplot documentation. Such command-line options can be set internally\n" 20362 " using plsetopt or set directly using the command line and parsed using\n" 20363 " a call to plparseopts.\n" 20365 " Redacted form: plsdiori(rot)\n" 20367 " This function is not used in any examples.\n" 20377 " rot (PLFLT, input) : Plot orientation parameter.\n" 20380 { (
char *)
"plsdiplt",
_wrap_plsdiplt, METH_VARARGS, (
char *)
"\n" 20381 "Set parameters that define current plot-space window\n" 20385 " Set relative minima and maxima that define the current plot-space\n" 20386 " window. If plsdiplt is not called the default values of xmin, ymin,\n" 20387 " xmax, and ymax are 0., 0., 1., and 1.\n" 20389 " Redacted form: plsdiplt(xmin, ymin, xmax, ymax)\n" 20391 " This function is used in example 31.\n" 20397 "plsdiplt(xmin, ymin, xmax, ymax)\n" 20401 " xmin (PLFLT, input) : Relative minimum in x.\n" 20403 " ymin (PLFLT, input) : Relative minimum in y.\n" 20405 " xmax (PLFLT, input) : Relative maximum in x.\n" 20407 " ymax (PLFLT, input) : Relative maximum in y.\n" 20410 { (
char *)
"plsdiplz",
_wrap_plsdiplz, METH_VARARGS, (
char *)
"\n" 20411 "Set parameters incrementally (zoom mode) that define current plot-space window\n" 20415 " Set relative minima and maxima incrementally (zoom mode) that define\n" 20416 " the current plot-space window. This function has the same effect as\n" 20417 " plsdiplt if that function has not been previously called. Otherwise,\n" 20418 " this function implements zoom mode using the transformation min_used =\n" 20419 " old_min + old_length*min and max_used = old_min + old_length*max for\n" 20420 " each axis. For example, if min = 0.05 and max = 0.95 for each axis,\n" 20421 " repeated calls to plsdiplz will zoom in by 10 per cent for each call.\n" 20423 " Redacted form: plsdiplz(xmin, ymin, xmax, ymax)\n" 20425 " This function is used in example 31.\n" 20431 "plsdiplz(xmin, ymin, xmax, ymax)\n" 20435 " xmin (PLFLT, input) : Relative (incremental) minimum in x.\n" 20437 " ymin (PLFLT, input) : Relative (incremental) minimum in y.\n" 20439 " xmax (PLFLT, input) : Relative (incremental) maximum in x.\n" 20441 " ymax (PLFLT, input) : Relative (incremental) maximum in y.\n" 20444 { (
char *)
"plseed",
_wrap_plseed, METH_VARARGS, (
char *)
"\n" 20445 "Set seed for internal random number generator.\n" 20449 " Set the seed for the internal random number generator. See plrandd for\n" 20450 " further details.\n" 20452 " Redacted form: plseed(seed)\n" 20454 " This function is used in example 21.\n" 20464 " seed (unsigned int, input) : Seed for random number generator.\n" 20467 { (
char *)
"plsesc",
_wrap_plsesc, METH_VARARGS, (
char *)
"\n" 20468 "Set the escape character for text strings\n" 20472 " Set the escape character for text strings. From C (in contrast to\n" 20473 " Fortran, see plsescfortran) you pass esc as a character. Only selected\n" 20474 " characters are allowed to prevent the user from shooting himself in\n" 20475 " the foot (For example, a \\ isn't allowed since it conflicts with C's\n" 20476 " use of backslash as a character escape). Here are the allowed escape\n" 20477 " characters and their corresponding decimal ASCII values: !, ASCII 33\n" 20488 " Redacted form: General: plsesc(esc)\n" 20491 " This function is used in example 29.\n" 20501 " esc (char, input) : Escape character.\n" 20504 { (
char *)
"plsetopt",
_wrap_plsetopt, METH_VARARGS, (
char *)
"\n" 20505 "Set any command-line option\n" 20509 " Set any command-line option internally from a program before it\n" 20510 " invokes plinit. opt is the name of the command-line option and optarg\n" 20511 " is the corresponding command-line option argument.\n" 20513 " This function returns 0 on success.\n" 20515 " Redacted form: plsetopt(opt, optarg)\n" 20517 " This function is used in example 14.\n" 20523 "PLINT plsetopt(opt, optarg)\n" 20527 " opt (PLCHAR_VECTOR, input) : An ascii character string containing\n" 20528 " the command-line option.\n" 20530 " optarg (PLCHAR_VECTOR, input) : An ascii character string\n" 20531 " containing the argument of the command-line option.\n" 20534 { (
char *)
"plsfam",
_wrap_plsfam, METH_VARARGS, (
char *)
"\n" 20535 "Set family file parameters\n" 20539 " Sets variables dealing with output file familying. Does nothing if\n" 20540 " familying not supported by the driver. This routine, if used, must be\n" 20541 " called before initializing PLplot. See the PLplot documentation for\n" 20542 " more information.\n" 20544 " Redacted form: plsfam(fam, num, bmax)\n" 20546 " This function is used in examples 14 and 31.\n" 20552 "plsfam(fam, num, bmax)\n" 20556 " fam (PLINT, input) : Family flag (Boolean). If nonzero, familying\n" 20559 " num (PLINT, input) : Current family file number.\n" 20561 " bmax (PLINT, input) : Maximum file size (in bytes) for a family\n" 20565 { (
char *)
"plsfci",
_wrap_plsfci, METH_VARARGS, (
char *)
"\n" 20566 "Set FCI (font characterization integer)\n" 20570 " Sets font characteristics to be used at the start of the next string\n" 20571 " using the FCI approach. See the PLplot documentation for more\n" 20572 " information. Note, plsfont (which calls plsfci internally) provides a\n" 20573 " more user-friendly API for setting the font characterisitics.\n" 20575 " Redacted form: General: plsfci(fci)\n" 20578 " This function is used in example 23.\n" 20588 " fci (PLUNICODE, input) : PLUNICODE (unsigned 32-bit integer) value\n" 20592 { (
char *)
"plsfnam",
_wrap_plsfnam, METH_VARARGS, (
char *)
"\n" 20593 "Set output file name\n" 20597 " Sets the current output file name, if applicable. If the file name\n" 20598 " has not been specified and is required by the driver, the user will be\n" 20599 " prompted for it. If using the X-windows output driver, this sets the\n" 20600 " display name. This routine, if used, must be called before\n" 20601 " initializing PLplot.\n" 20603 " Redacted form: plsfnam(fnam)\n" 20605 " This function is used in examples 1 and 20.\n" 20615 " fnam (PLCHAR_VECTOR, input) : An ascii character string containing\n" 20616 " the file name.\n" 20619 { (
char *)
"plsfont",
_wrap_plsfont, METH_VARARGS, (
char *)
"\n" 20620 "Set family, style and weight of the current font\n" 20624 " Sets the current font. See the PLplot documentation for more\n" 20625 " information on font selection.\n" 20627 " Redacted form: plsfont(family, style, weight)\n" 20629 " This function is used in example 23.\n" 20635 "plsfont(family, style, weight)\n" 20639 " family (PLINT, input) : Font family to select for the current font.\n" 20640 " The available values are given by the PL_FCI_* constants in\n" 20641 " plplot.h. Current options are PL_FCI_SANS, PL_FCI_SERIF,\n" 20642 " PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. A negative value\n" 20643 " signifies that the font family should not be altered.\n" 20645 " style (PLINT, input) : Font style to select for the current font.\n" 20646 " The available values are given by the PL_FCI_* constants in\n" 20647 " plplot.h. Current options are PL_FCI_UPRIGHT, PL_FCI_ITALIC and\n" 20648 " PL_FCI_OBLIQUE. A negative value signifies that the font style\n" 20649 " should not be altered.\n" 20651 " weight (PLINT, input) : Font weight to select for the current font.\n" 20652 " The available values are given by the PL_FCI_* constants in\n" 20653 " plplot.h. Current options are PL_FCI_MEDIUM and PL_FCI_BOLD. A\n" 20654 " negative value signifies that the font weight should not be\n" 20658 { (
char *)
"plshades",
_wrap_plshades, METH_VARARGS, (
char *)
"\n" 20659 "Shade regions on the basis of value\n" 20663 " Shade regions on the basis of value. This is the high-level routine\n" 20664 " for making continuous color shaded plots with cmap1 while plshade\n" 20665 " should be used to plot individual shaded regions using either cmap0 or\n" 20666 " cmap1. examples/;<language>/x16* shows how to use plshades for each of\n" 20667 " our supported languages.\n" 20669 " Redacted form: General: plshades(a, defined, xmin, xmax, ymin, ymax,\n" 20670 " clevel, fill_width, cont_color, cont_width, fill, rectangular, pltr,\n" 20674 " This function is used in examples 16, 21, and 22.\n" 20680 "plshades(a, nx, ny, defined, xmin, xmax, ymin, ymax, clevel, nlevel, fill_width, cont_color, cont_width, fill, rectangular, pltr, pltr_data)\n" 20684 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n" 20685 " plot. Should have dimensions of\n" 20689 " nx (PLINT, input) : First dimension of matrix \"a\".\n" 20691 " ny (PLINT, input) : Second dimension of matrix \"a\".\n" 20693 " defined (PLDEFINED_callback, input) : Callback function specifying\n" 20694 " the region that should be plotted in the shade plot. This\n" 20695 " function accepts x and y coordinates as input arguments and must\n" 20696 " return 1 if the point is to be included in the shade plot and 0\n" 20697 " otherwise. If you want to plot the entire shade plot (the usual\n" 20698 " case), this argument should be set to NULL.\n" 20700 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n" 20701 " pltr below for how these arguments are used (only for the special case\n" 20702 " when the callback function\n" 20703 " pltr is not supplied).\n" 20705 " clevel (PLFLT_VECTOR, input) : A vector containing the data levels\n" 20706 " corresponding to the edges of each shaded region that will be\n" 20707 " plotted by this function. To work properly the levels should be\n" 20710 " nlevel (PLINT, input) : Number of shades plus 1 (i.e., the number\n" 20711 " of shade edge values in clevel).\n" 20713 " fill_width (PLFLT, input) : Defines the line width used by the fill\n" 20716 " cont_color (PLINT, input) : Defines cmap0 pen color used for\n" 20717 " contours defining edges of shaded regions. The pen color is only\n" 20718 " temporary set for the contour drawing. Set this value to zero or\n" 20719 " less if no shade edge contours are wanted.\n" 20721 " cont_width (PLFLT, input) : Defines line width used for contours\n" 20722 " defining edges of shaded regions. This value may not be honored\n" 20723 " by all drivers. The pen width is only temporary set for the\n" 20724 " contour drawing. Set this value to zero or less if no shade edge\n" 20725 " contours are wanted.\n" 20727 " fill (PLFILL_callback, input) : Callback routine used to fill the\n" 20728 " region. Use plfill for this purpose.\n" 20730 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n" 20731 " map to rectangles after coordinate transformation with pltrl.\n" 20732 " Otherwise, set rectangular to false. If rectangular is set to\n" 20733 " true, plshade tries to save time by filling large rectangles.\n" 20734 " This optimization fails if the coordinate transformation distorts\n" 20735 " the shape of rectangles. For example a plot in polar coordinates\n" 20736 " has to have rectangular set to false.\n" 20738 " pltr (PLTRANSFORM_callback, input) : A callback function that\n" 20739 " defines the transformation between the zero-based indices of the\n" 20740 " matrix a and world coordinates. If\n" 20741 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n" 20742 " indices of a are mapped to the range\n" 20744 " xmax and the y indices of a are mapped to the range\n" 20746 " ymax.For the C case, transformation functions are provided in the\n" 20747 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n" 20748 " pltr2 for arbitrary mappings respectively defined by vectors and\n" 20749 " matrices. In addition, C callback routines for the transformation\n" 20750 " can be supplied by the user such as the mypltr function in\n" 20751 " examples/c/x09c.c which provides a general linear transformation\n" 20752 " between index coordinates and world coordinates.For languages\n" 20753 " other than C you should consult the PLplot documentation for the\n" 20754 " details concerning how PLTRANSFORM_callback arguments are\n" 20755 " interfaced. However, in general, a particular pattern of\n" 20756 " callback-associated arguments such as a tr vector with 6 elements;\n" 20757 " xg and yg vectors; or xg and yg matrices are respectively\n" 20758 " interfaced to a linear-transformation routine similar to the above\n" 20759 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n" 20760 " sophisticated bindings (see, e.g., the PLplot documentation)\n" 20761 " support native language callbacks for handling index to\n" 20762 " world-coordinate transformations. Examples of these various\n" 20763 " approaches are given in examples/<language>x09*,\n" 20764 " examples/<language>x16*, examples/<language>x20*,\n" 20765 " examples/<language>x21*, and examples/<language>x22*, for all our\n" 20766 " supported languages.\n" 20768 " pltr_data (PLPointer, input) : Extra parameter to help pass\n" 20769 " information to pltr0, pltr1, pltr2, or whatever routine that is\n" 20770 " externally supplied.\n" 20773 { (
char *)
"plshade",
_wrap_plshade, METH_VARARGS, (
char *)
"\n" 20774 "Shade individual region on the basis of value\n" 20778 " Shade individual region on the basis of value. Use plshades if you\n" 20779 " want to shade a number of contiguous regions using continuous colors.\n" 20780 " In particular the edge contours are treated properly in plshades. If\n" 20781 " you attempt to do contiguous regions with plshade the contours at the\n" 20782 " edge of the shade are partially obliterated by subsequent plots of\n" 20783 " contiguous shaded regions.\n" 20785 " Redacted form: General: plshade(a, defined, xmin, xmax, ymin, ymax,\n" 20786 " shade_min, shade_max, sh_cmap, sh_color, sh_width, min_color,\n" 20787 " min_width, max_color, max_width, fill, rectangular, pltr, pltr_data)\n" 20790 " This function is used in example 15.\n" 20796 "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" 20800 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n" 20801 " plot. Should have dimensions of\n" 20805 " nx (PLINT, input) : First dimension of the matrix \"a\".\n" 20807 " ny (PLINT, input) : Second dimension of the matrix \"a\".\n" 20809 " defined (PLDEFINED_callback, input) : Callback function specifying\n" 20810 " the region that should be plotted in the shade plot. This\n" 20811 " function accepts x and y coordinates as input arguments and must\n" 20812 " return 1 if the point is to be included in the shade plot and 0\n" 20813 " otherwise. If you want to plot the entire shade plot (the usual\n" 20814 " case), this argument should be set to NULL.\n" 20816 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n" 20817 " pltr below for how these arguments are used (only for the special case\n" 20818 " when the callback function\n" 20819 " pltr is not supplied).\n" 20821 " shade_min (PLFLT, input) : Defines the lower end of the interval to\n" 20822 " be shaded. If shade_max <= shade_min, plshade does nothing.\n" 20824 " shade_max (PLFLT, input) : Defines the upper end of the interval to\n" 20825 " be shaded. If shade_max <= shade_min, plshade does nothing.\n" 20827 " sh_cmap (PLINT, input) : Defines color map. If sh_cmap=0, then\n" 20828 " sh_color is interpreted as a cmap0 (integer) index. If sh_cmap=1,\n" 20829 " then sh_color is interpreted as a cmap1 argument in the range\n" 20832 " sh_color (PLFLT, input) : Defines color map index with integer\n" 20833 " value if cmap0 or value in range (0.0-1.0) if cmap1.\n" 20835 " sh_width (PLFLT, input) : Defines width used by the fill pattern.\n" 20837 " min_color (PLINT, input) : Defines pen color, width used by the\n" 20838 " boundary of shaded region. The min values are used for the\n" 20839 " shade_min boundary, and the max values are used on the shade_max\n" 20840 " boundary. Set color and width to zero for no plotted boundaries.\n" 20842 " min_width (PLFLT, input) : Defines pen color, width used by the\n" 20843 " boundary of shaded region. The min values are used for the\n" 20844 " shade_min boundary, and the max values are used on the shade_max\n" 20845 " boundary. Set color and width to zero for no plotted boundaries.\n" 20847 " max_color (PLINT, input) : Defines pen color, width used by the\n" 20848 " boundary of shaded region. The min values are used for the\n" 20849 " shade_min boundary, and the max values are used on the shade_max\n" 20850 " boundary. Set color and width to zero for no plotted boundaries.\n" 20852 " max_width (PLFLT, input) : Defines pen color, width used by the\n" 20853 " boundary of shaded region. The min values are used for the\n" 20854 " shade_min boundary, and the max values are used on the shade_max\n" 20855 " boundary. Set color and width to zero for no plotted boundaries.\n" 20857 " fill (PLFILL_callback, input) : Routine used to fill the region.\n" 20858 " Use plfill. Future version of PLplot may have other fill\n" 20861 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n" 20862 " map to rectangles after coordinate transformation with pltrl.\n" 20863 " Otherwise, set rectangular to false. If rectangular is set to\n" 20864 " true, plshade tries to save time by filling large rectangles.\n" 20865 " This optimization fails if the coordinate transformation distorts\n" 20866 " the shape of rectangles. For example a plot in polar coordinates\n" 20867 " has to have rectangular set to false.\n" 20869 " pltr (PLTRANSFORM_callback, input) : A callback function that\n" 20870 " defines the transformation between the zero-based indices of the\n" 20871 " matrix a and world coordinates. If\n" 20872 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n" 20873 " indices of a are mapped to the range\n" 20875 " xmax and the y indices of a are mapped to the range\n" 20877 " ymax.For the C case, transformation functions are provided in the\n" 20878 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n" 20879 " pltr2 for arbitrary mappings respectively defined by vectors and\n" 20880 " matrices. In addition, C callback routines for the transformation\n" 20881 " can be supplied by the user such as the mypltr function in\n" 20882 " examples/c/x09c.c which provides a general linear transformation\n" 20883 " between index coordinates and world coordinates.For languages\n" 20884 " other than C you should consult the PLplot documentation for the\n" 20885 " details concerning how PLTRANSFORM_callback arguments are\n" 20886 " interfaced. However, in general, a particular pattern of\n" 20887 " callback-associated arguments such as a tr vector with 6 elements;\n" 20888 " xg and yg vectors; or xg and yg matrices are respectively\n" 20889 " interfaced to a linear-transformation routine similar to the above\n" 20890 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n" 20891 " sophisticated bindings (see, e.g., the PLplot documentation)\n" 20892 " support native language callbacks for handling index to\n" 20893 " world-coordinate transformations. Examples of these various\n" 20894 " approaches are given in examples/<language>x09*,\n" 20895 " examples/<language>x16*, examples/<language>x20*,\n" 20896 " examples/<language>x21*, and examples/<language>x22*, for all our\n" 20897 " supported languages.\n" 20899 " pltr_data (PLPointer, input) : Extra parameter to help pass\n" 20900 " information to pltr0, pltr1, pltr2, or whatever routine that is\n" 20901 " externally supplied.\n" 20905 "Assign a function to use for generating custom axis labels\n" 20909 " This function allows a user to provide their own function to provide\n" 20910 " axis label text. The user function is given the numeric value for a\n" 20911 " point on an axis and returns a string label to correspond with that\n" 20912 " value. Custom axis labels can be enabled by passing appropriate\n" 20913 " arguments to plenv, plbox, plbox3 and similar functions.\n" 20915 " This function is used in example 19.\n" 20921 "plslabelfunc(label_func, label_data)\n" 20925 " label_func (PLLABEL_FUNC_callback, input) : This is the custom\n" 20926 " label function. In order to reset to the default labelling, set\n" 20927 " this to NULL. The labelling function parameters are, in order:\n" 20928 " axis: This indicates which axis a label is being requested for.\n" 20929 " The value will be one of PL_X_AXIS, PL_Y_AXIS or PL_Z_AXIS.\n" 20931 " value: This is the value along the axis which is being labelled.\n" 20933 " label_text: The string representation of the label value.\n" 20935 " length: The maximum length in characters allowed for label_text.\n" 20938 " label_data (PLPointer, input) : This parameter may be used to pass\n" 20939 " data to the label_func function.\n" 20942 { (
char *)
"plsmaj",
_wrap_plsmaj, METH_VARARGS, (
char *)
"\n" 20943 "Set length of major ticks\n" 20947 " This sets up the length of the major ticks. The actual length is the\n" 20948 " product of the default length and a scaling factor as for character\n" 20951 " Redacted form: plsmaj(def, scale)\n" 20953 " This function is used in example 29.\n" 20959 "plsmaj(def, scale)\n" 20963 " def (PLFLT, input) : The default length of a major tick in\n" 20964 " millimeters, should be set to zero if the default length is to\n" 20965 " remain unchanged.\n" 20967 " scale (PLFLT, input) : Scale factor to be applied to default to get\n" 20968 " actual tick length.\n" 20971 { (
char *)
"plsmem",
_wrap_plsmem, METH_VARARGS, (
char *)
"\n" 20972 "Set the memory area to be plotted (RGB)\n" 20976 " Set the memory area to be plotted (with the mem or memcairo driver) as\n" 20977 " the dev member of the stream structure. Also set the number of pixels\n" 20978 " in the memory passed in\n" 20979 " plotmem, which is a block of memory\n" 20981 " maxx by 3 bytes long, say: 480 x 640 x 3 (Y, X, RGB)\n" 20983 " This memory will have to be freed by the user!\n" 20985 " Redacted form: plsmem(maxx, maxy, plotmem)\n" 20987 " This function is not used in any examples.\n" 20993 "plsmem(maxx, maxy, plotmem)\n" 20997 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n" 20999 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n" 21001 " plotmem (PLPointer, input) : Pointer to the beginning of a\n" 21002 " user-supplied writeable memory area.\n" 21005 { (
char *)
"plsmema",
_wrap_plsmema, METH_VARARGS, (
char *)
"\n" 21006 "Set the memory area to be plotted (RGBA)\n" 21010 " Set the memory area to be plotted (with the memcairo driver) as the\n" 21011 " dev member of the stream structure. Also set the number of pixels in\n" 21012 " the memory passed in\n" 21013 " plotmem, which is a block of memory\n" 21015 " maxx by 4 bytes long, say: 480 x 640 x 4 (Y, X, RGBA)\n" 21017 " This memory will have to be freed by the user!\n" 21019 " Redacted form: plsmema(maxx, maxy, plotmem)\n" 21021 " This function is not used in any examples.\n" 21027 "plsmema(maxx, maxy, plotmem)\n" 21031 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n" 21033 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n" 21035 " plotmem (PLPointer, input) : Pointer to the beginning of a\n" 21036 " user-supplied writeable memory area.\n" 21039 { (
char *)
"plsmin",
_wrap_plsmin, METH_VARARGS, (
char *)
"\n" 21040 "Set length of minor ticks\n" 21044 " This sets up the length of the minor ticks and the length of the\n" 21045 " terminals on error bars. The actual length is the product of the\n" 21046 " default length and a scaling factor as for character height.\n" 21048 " Redacted form: plsmin(def, scale)\n" 21050 " This function is used in example 29.\n" 21056 "plsmin(def, scale)\n" 21060 " def (PLFLT, input) : The default length of a minor tick in\n" 21061 " millimeters, should be set to zero if the default length is to\n" 21062 " remain unchanged.\n" 21064 " scale (PLFLT, input) : Scale factor to be applied to default to get\n" 21065 " actual tick length.\n" 21068 { (
char *)
"plsori",
_wrap_plsori, METH_VARARGS, (
char *)
"\n" 21069 "Set orientation\n" 21073 " Set integer plot orientation parameter. This function is identical to\n" 21074 " plsdiori except for the type of the argument, and should be used in\n" 21075 " the same way. See the documentation of plsdiori for details.\n" 21077 " Redacted form: plsori(ori)\n" 21079 " This function is used in example 3.\n" 21089 " ori (PLINT, input) : Orientation value (0 for landscape, 1 for\n" 21090 " portrait, etc.) The value is multiplied by 90 degrees to get the\n" 21094 { (
char *)
"plspage",
_wrap_plspage, METH_VARARGS, (
char *)
"\n" 21095 "Set page parameters\n" 21099 " Sets the page configuration (optional). If an individual parameter is\n" 21100 " zero then that parameter value is not updated. Not all parameters are\n" 21101 " recognized by all drivers and the interpretation is device-dependent.\n" 21102 " The X-window driver uses the length and offset parameters to determine\n" 21103 " the window size and location. The length and offset values are\n" 21104 " expressed in units that are specific to the current driver. For\n" 21105 " instance: screen drivers will usually interpret them as number of\n" 21106 " pixels, whereas printer drivers will usually use mm.\n" 21108 " This routine, if used, must be called before initializing PLplot. It\n" 21109 " may be called at later times for interactive drivers to change only\n" 21110 " the dpi for subsequent redraws which you can force via a call to\n" 21111 " plreplot. If this function is not called then the page size defaults\n" 21112 " to landscape A4 for drivers which use real world page sizes and 744\n" 21113 " pixels wide by 538 pixels high for raster drivers. The default value\n" 21114 " for dx and dy is 90 pixels per inch for raster drivers.\n" 21118 " Redacted form: plspage(xp, yp, xleng, yleng, xoff, yoff)\n" 21120 " This function is used in examples 14 and 31.\n" 21126 "plspage(xp, yp, xleng, yleng, xoff, yoff)\n" 21130 " xp (PLFLT, input) : Number of pixels per inch (DPI), x. Used only\n" 21131 " by raster drivers, ignored by drivers which use \"real world\" units\n" 21134 " yp (PLFLT, input) : Number of pixels per inch (DPI), y. Used only\n" 21135 " by raster drivers, ignored by drivers which use \"real world\" units\n" 21138 " xleng (PLINT, input) : Page length, x.\n" 21140 " yleng (PLINT, input) : Page length, y.\n" 21142 " xoff (PLINT, input) : Page offset, x.\n" 21144 " yoff (PLINT, input) : Page offset, y.\n" 21147 { (
char *)
"plspal0",
_wrap_plspal0, METH_VARARGS, (
char *)
"\n" 21148 "Set the cmap0 palette using the specified cmap0*.pal format file\n" 21152 " Set the cmap0 palette using the specified cmap0*.pal format file.\n" 21154 " Redacted form: plspal0(filename)\n" 21156 " This function is in example 16.\n" 21162 "plspal0(filename)\n" 21166 " filename (PLCHAR_VECTOR, input) : An ascii character string\n" 21167 " containing the name of the cmap0*.pal file. If this string is\n" 21168 " empty, use the default cmap0*.pal file.\n" 21171 { (
char *)
"plspal1",
_wrap_plspal1, METH_VARARGS, (
char *)
"\n" 21172 "Set the cmap1 palette using the specified cmap1*.pal format file\n" 21176 " Set the cmap1 palette using the specified cmap1*.pal format file.\n" 21178 " Redacted form: plspal1(filename, interpolate)\n" 21180 " This function is used in example 16.\n" 21186 "plspal1(filename, interpolate)\n" 21190 " filename (PLCHAR_VECTOR, input) : An ascii character string\n" 21191 " containing the name of the cmap1*.pal file. If this string is\n" 21192 " empty, use the default cmap1*.pal file.\n" 21194 " interpolate (PLBOOL, input) : If this parameter is true, the\n" 21195 " columns containing the intensity index, r, g, b, alpha and\n" 21196 " alt_hue_path in the cmap1*.pal file are used to set the cmap1\n" 21197 " palette with a call to plscmap1la. (The cmap1*.pal header contains\n" 21198 " a flag which controls whether the r, g, b data sent to plscmap1la\n" 21199 " are interpreted as HLS or RGB.) If this parameter is false, the\n" 21200 " intensity index and alt_hue_path columns are ignored and the r, g,\n" 21201 " b (interpreted as RGB), and alpha columns of the cmap1*.pal file\n" 21202 " are used instead to set the cmap1 palette directly with a call to\n" 21206 { (
char *)
"plspause",
_wrap_plspause, METH_VARARGS, (
char *)
"\n" 21207 "Set the pause (on end-of-page) status\n" 21211 " Set the pause (on end-of-page) status.\n" 21213 " Redacted form: plspause(pause)\n" 21215 " This function is in examples 14,20.\n" 21221 "plspause(pause)\n" 21225 " pause (PLBOOL, input) : If pause is true there will be a pause on\n" 21226 " end-of-page for those drivers which support this. Otherwise there\n" 21230 { (
char *)
"plsstrm",
_wrap_plsstrm, METH_VARARGS, (
char *)
"\n" 21231 "Set current output stream\n" 21235 " Sets the number of the current output stream. The stream number\n" 21236 " defaults to 0 unless changed by this routine. The first use of this\n" 21237 " routine must be followed by a call initializing PLplot (e.g. plstar).\n" 21239 " Redacted form: plsstrm(strm)\n" 21241 " This function is examples 1,14,20.\n" 21251 " strm (PLINT, input) : The current stream number.\n" 21254 { (
char *)
"plssub",
_wrap_plssub, METH_VARARGS, (
char *)
"\n" 21255 "Set the number of subpages in x and y\n" 21259 " Set the number of subpages in x and y.\n" 21261 " Redacted form: plssub(nx, ny)\n" 21263 " This function is examples 1,2,14,21,25,27.\n" 21273 " nx (PLINT, input) : Number of windows in x direction (i.e., number\n" 21274 " of window columns).\n" 21276 " ny (PLINT, input) : Number of windows in y direction (i.e., number\n" 21277 " of window rows).\n" 21280 { (
char *)
"plssym",
_wrap_plssym, METH_VARARGS, (
char *)
"\n" 21281 "Set symbol size\n" 21285 " This sets up the size of all subsequent symbols drawn by plpoin and\n" 21286 " plsym. The actual height of a symbol is the product of the default\n" 21287 " symbol size and a scaling factor as for the character height.\n" 21289 " Redacted form: plssym(def, scale)\n" 21291 " This function is used in example 29.\n" 21297 "plssym(def, scale)\n" 21301 " def (PLFLT, input) : The default height of a symbol in millimeters,\n" 21302 " should be set to zero if the default height is to remain\n" 21305 " scale (PLFLT, input) : Scale factor to be applied to default to get\n" 21306 " actual symbol height.\n" 21309 { (
char *)
"plstar",
_wrap_plstar, METH_VARARGS, (
char *)
"\n" 21314 " Initializing the plotting package. The program prompts for the device\n" 21315 " keyword or number of the desired output device. Hitting a RETURN in\n" 21316 " response to the prompt is the same as selecting the first device. If\n" 21317 " only one device is enabled when PLplot is installed, plstar will issue\n" 21318 " no prompt. The output device is divided into nx by ny subpages, each\n" 21319 " of which may be used independently. The subroutine pladv is used to\n" 21320 " advance from one subpage to the next.\n" 21322 " Redacted form: plstar(nx, ny)\n" 21324 " This function is used in example 1.\n" 21334 " nx (PLINT, input) : Number of subpages to divide output page in the\n" 21337 " ny (PLINT, input) : Number of subpages to divide output page in the\n" 21341 { (
char *)
"plstart",
_wrap_plstart, METH_VARARGS, (
char *)
"\n" 21346 " Alternative to plstar for initializing the plotting package. The\n" 21347 " device name keyword for the desired output device must be supplied as\n" 21348 " an argument. These keywords are the same as those printed out by\n" 21349 " plstar. If the requested device is not available, or if the input\n" 21350 " string is empty or begins with ``?'', the prompted start up of plstar\n" 21351 " is used. This routine also divides the output device page into nx by\n" 21352 " ny subpages, each of which may be used independently. The subroutine\n" 21353 " pladv is used to advance from one subpage to the next.\n" 21355 " Redacted form: General: plstart(devname, nx, ny)\n" 21358 " This function is not used in any examples.\n" 21364 "plstart(devname, nx, ny)\n" 21368 " devname (PLCHAR_VECTOR, input) : An ascii character string\n" 21369 " containing the device name keyword of the required output device.\n" 21371 " devname is NULL or if the first character of the string is a ``?'',\n" 21372 " the normal (prompted) start up is used.\n" 21374 " nx (PLINT, input) : Number of subpages to divide output page in the\n" 21377 " ny (PLINT, input) : Number of subpages to divide output page in the\n" 21382 "Set a global coordinate transform function\n" 21386 " This function can be used to define a coordinate transformation which\n" 21387 " affects all elements drawn within the current plot window. The\n" 21388 " coordinate_transform callback function is similar to that provided for\n" 21389 " the plmap and plmeridians functions. The coordinate_transform_data\n" 21390 " parameter may be used to pass extra data to coordinate_transform.\n" 21392 " Redacted form: General: plstransform(coordinate_transform,\n" 21393 " coordinate_transform_data)\n" 21396 " This function is used in examples 19 and 22.\n" 21402 "plstransform(coordinate_transform, coordinate_transform_data)\n" 21406 " coordinate_transform (PLTRANSFORM_callback, input) : A callback\n" 21407 " function that defines the transformation from the input (x, y)\n" 21408 " world coordinates to new PLplot world coordinates. If\n" 21409 " coordinate_transform is not supplied (e.g., is set to NULL in the C\n" 21410 " case), then no transform is applied.\n" 21412 " coordinate_transform_data (PLPointer, input) : Optional extra data\n" 21414 " coordinate_transform.\n" 21417 { (
char *)
"plstring",
_wrap_plstring, METH_VARARGS, (
char *)
"\n" 21418 "Plot a glyph at the specified points\n" 21422 " Plot a glyph at the specified points. (Supersedes plpoin and plsym\n" 21423 " because many[!] more glyphs are accessible with plstring.) The glyph\n" 21424 " is specified with a PLplot user string. Note that the user string is\n" 21425 " not actually limited to one glyph so it is possible (but not normally\n" 21426 " useful) to plot more than one glyph at the specified points with this\n" 21427 " function. As with plmtex and plptex, the user string can contain FCI\n" 21428 " escapes to determine the font, UTF-8 code to determine the glyph or\n" 21429 " else PLplot escapes for Hershey or unicode text to determine the\n" 21432 " Redacted form: plstring(x, y, string)\n" 21434 " This function is used in examples 4, 21 and 26.\n" 21440 "plstring(n, x, y, string)\n" 21444 " n (PLINT, input) : Number of points in the x and y vectors.\n" 21446 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 21449 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 21452 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n" 21453 " the glyph(s) to be plotted at each of the n points.\n" 21457 "Plot a glyph at the specified 3D points\n" 21461 " Plot a glyph at the specified 3D points. (Supersedes plpoin3 because\n" 21462 " many[!] more glyphs are accessible with plstring3.) Set up the call to\n" 21463 " this function similar to what is done for plline3. The glyph is\n" 21464 " specified with a PLplot user string. Note that the user string is not\n" 21465 " actually limited to one glyph so it is possible (but not normally\n" 21466 " useful) to plot more than one glyph at the specified points with this\n" 21467 " function. As with plmtex and plptex, the user string can contain FCI\n" 21468 " escapes to determine the font, UTF-8 code to determine the glyph or\n" 21469 " else PLplot escapes for Hershey or unicode text to determine the\n" 21472 " Redacted form: plstring3(x, y, z, string)\n" 21474 " This function is used in example 18.\n" 21480 "plstring3(n, x, y, z, string)\n" 21484 " n (PLINT, input) : Number of points in the x, y, and z vectors.\n" 21486 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 21489 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 21492 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n" 21495 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n" 21496 " the glyph(s) to be plotted at each of the n points. points.\n" 21499 { (
char *)
"plstripa",
_wrap_plstripa, METH_VARARGS, (
char *)
"\n" 21500 "Add a point to a strip chart\n" 21504 " Add a point to a given pen of a given strip chart. There is no need\n" 21505 " for all pens to have the same number of points or to be equally\n" 21506 " sampled in the x coordinate. Allocates memory and rescales as\n" 21509 " Redacted form: plstripa(id, pen, x, y)\n" 21511 " This function is used in example 17.\n" 21517 "plstripa(id, pen, x, y)\n" 21521 " id (PLINT, input) : Identification number of the strip chart (set\n" 21522 " up in plstripc).\n" 21524 " pen (PLINT, input) : Pen number (ranges from 0 to 3).\n" 21526 " x (PLFLT, input) : X coordinate of point to plot.\n" 21528 " y (PLFLT, input) : Y coordinate of point to plot.\n" 21531 { (
char *)
"plstripc",
_wrap_plstripc, METH_VARARGS, (
char *)
"\n" 21532 "Create a 4-pen strip chart\n" 21536 " Create a 4-pen strip chart, to be used afterwards by plstripa\n" 21538 " Redacted form: General: plstripc(id, xspec, yspec, xmin, xmax, xjump,\n" 21539 " ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline,\n" 21540 " styline, legline, labx, laby, labz)\n" 21543 " This function is used in example 17.\n" 21549 "plstripc(id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline, styline, legline[], labx, laby, labtop)\n" 21553 " id (PLINT_NC_SCALAR, output) : Returned value of the identification\n" 21554 " number of the strip chart to use on plstripa and plstripd.\n" 21556 " xspec (PLCHAR_VECTOR, input) : An ascii character string containing\n" 21557 " the x-axis specification as in plbox.\n" 21559 " yspec (PLCHAR_VECTOR, input) : An ascii character string containing\n" 21560 " the y-axis specification as in plbox.\n" 21562 " xmin (PLFLT, input) : Initial coordinates of plot box; they will\n" 21563 " change as data are added.\n" 21565 " xmax (PLFLT, input) : Initial coordinates of plot box; they will\n" 21566 " change as data are added.\n" 21568 " xjump (PLFLT, input) : When x attains xmax, the length of the plot\n" 21569 " is multiplied by the factor (1 +\n" 21572 " ymin (PLFLT, input) : Initial coordinates of plot box; they will\n" 21573 " change as data are added.\n" 21575 " ymax (PLFLT, input) : Initial coordinates of plot box; they will\n" 21576 " change as data are added.\n" 21578 " xlpos (PLFLT, input) : X legend box position (range from 0 to 1).\n" 21580 " ylpos (PLFLT, input) : Y legend box position (range from 0 to 1).\n" 21582 " y_ascl (PLBOOL, input) : Autoscale y between x jumps if y_ascl is\n" 21583 " true, otherwise not.\n" 21585 " acc (PLBOOL, input) : Accumulate strip plot if acc is true,\n" 21586 " otherwise slide display.\n" 21588 " colbox (PLINT, input) : Plot box color index (cmap0).\n" 21590 " collab (PLINT, input) : Legend color index (cmap0).\n" 21592 " colline (PLINT_VECTOR, input) : A vector containing the cmap0 color\n" 21593 " indices for the 4 pens.\n" 21595 " styline (PLINT_VECTOR, input) : A vector containing the line style\n" 21596 " indices for the 4 pens.\n" 21598 " legline (PLCHAR_MATRIX, input) : A vector of UTF-8 character\n" 21599 " strings containing legends for the 4 pens.\n" 21601 " labx (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n" 21602 " the label for the x axis.\n" 21604 " laby (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n" 21605 " the label for the y axis.\n" 21607 " labtop (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n" 21608 " the plot title.\n" 21611 { (
char *)
"plstripd",
_wrap_plstripd, METH_VARARGS, (
char *)
"\n" 21612 "Deletes and releases memory used by a strip chart\n" 21616 " Deletes and releases memory used by a strip chart.\n" 21618 " Redacted form: plstripd(id)\n" 21620 " This function is used in example 17.\n" 21630 " id (PLINT, input) : Identification number of strip chart to delete.\n" 21633 { (
char *)
"plstyl",
_wrap_plstyl, METH_VARARGS, (
char *)
"\n" 21638 " This sets up the line style for all lines subsequently drawn. A line\n" 21639 " consists of segments in which the pen is alternately down and up. The\n" 21640 " lengths of these segments are passed in the vectors mark and space\n" 21641 " respectively. The number of mark-space pairs is specified by nms. In\n" 21642 " order to return the line style to the default continuous line, plstyl\n" 21643 " should be called with nms =0 .(see also pllsty)\n" 21645 " Redacted form: plstyl(mark, space)\n" 21647 " This function is used in examples 1, 9, and 14.\n" 21653 "plstyl(nms, mark, space)\n" 21657 " nms (PLINT, input) : The number of mark and space elements in a\n" 21658 " line. Thus a simple broken line can be obtained by setting nms=1\n" 21659 " . A continuous line is specified by setting nms=0 .\n" 21661 " mark (PLINT_VECTOR, input) : A vector containing the lengths of the\n" 21662 " segments during which the pen is down, measured in micrometers.\n" 21664 " space (PLINT_VECTOR, input) : A vector containing the lengths of\n" 21665 " the segments during which the pen is up, measured in micrometers.\n" 21668 { (
char *)
"plsvect",
_wrap_plsvect, METH_VARARGS, (
char *)
"\n" 21669 "Set arrow style for vector plots\n" 21673 " Set the style for the arrow used by plvect to plot vectors.\n" 21675 " Redacted form: plsvect(arrowx, arrowy, fill)\n" 21677 " This function is used in example 22.\n" 21683 "plsvect(arrowx, arrowy, npts, fill)\n" 21687 " arrowx, arrowy (PLFLT_VECTOR, input) : A pair of vectors containing\n" 21688 " the x and y points which make up the arrow. The arrow is plotted\n" 21689 " by joining these points to form a polygon. The scaling assumes\n" 21690 " that the x and y points in the arrow lie in the range -0.5 <= x,y\n" 21691 " <= 0.5. If both arrowx and arrowy are NULL then the arrow style\n" 21692 " will be reset to its default.\n" 21694 " npts (PLINT, input) : Number of points in the vectors arrowx and\n" 21697 " fill (PLBOOL, input) : If fill is true then the arrow is closed, if\n" 21698 " fill is false then the arrow is open.\n" 21701 { (
char *)
"plsvpa",
_wrap_plsvpa, METH_VARARGS, (
char *)
"\n" 21702 "Specify viewport in absolute coordinates\n" 21706 " Alternate routine to plvpor for setting up the viewport. This routine\n" 21707 " should be used only if the viewport is required to have a definite\n" 21708 " size in millimeters. The routine plgspa is useful for finding out the\n" 21709 " size of the current subpage.\n" 21711 " Redacted form: plsvpa(xmin, xmax, ymin, ymax)\n" 21713 " This function is used in example 10.\n" 21719 "plsvpa(xmin, xmax, ymin, ymax)\n" 21723 " xmin (PLFLT, input) : The distance of the left-hand edge of the\n" 21724 " viewport from the left-hand edge of the subpage in millimeters.\n" 21726 " xmax (PLFLT, input) : The distance of the right-hand edge of the\n" 21727 " viewport from the left-hand edge of the subpage in millimeters.\n" 21729 " ymin (PLFLT, input) : The distance of the bottom edge of the\n" 21730 " viewport from the bottom edge of the subpage in millimeters.\n" 21732 " ymax (PLFLT, input) : The distance of the top edge of the viewport\n" 21733 " from the bottom edge of the subpage in millimeters.\n" 21736 { (
char *)
"plsxax",
_wrap_plsxax, METH_VARARGS, (
char *)
"\n" 21737 "Set x axis parameters\n" 21741 " Sets values of the digmax and digits flags for the x axis. See the\n" 21742 " PLplot documentation for more information.\n" 21744 " Redacted form: plsxax(digmax, digits)\n" 21746 " This function is used in example 31.\n" 21752 "plsxax(digmax, digits)\n" 21756 " digmax (PLINT, input) : Variable to set the maximum number of\n" 21757 " digits for the x axis. If nonzero, the printed label will be\n" 21758 " switched to a floating-point representation when the number of\n" 21759 " digits exceeds digmax.\n" 21761 " digits (PLINT, input) : Field digits value. Currently, changing\n" 21762 " its value here has no effect since it is set only by plbox or\n" 21763 " plbox3. However, the user may obtain its value after a call to\n" 21764 " either of these functions by calling plgxax.\n" 21767 { (
char *)
"plsyax",
_wrap_plsyax, METH_VARARGS, (
char *)
"\n" 21768 "Set y axis parameters\n" 21772 " Identical to plsxax, except that arguments are flags for y axis. See\n" 21773 " the description of plsxax for more detail.\n" 21775 " Redacted form: plsyax(digmax, digits)\n" 21777 " This function is used in examples 1, 14, and 31.\n" 21783 "plsyax(digmax, digits)\n" 21787 " digmax (PLINT, input) : Variable to set the maximum number of\n" 21788 " digits for the y axis. If nonzero, the printed label will be\n" 21789 " switched to a floating-point representation when the number of\n" 21790 " digits exceeds digmax.\n" 21792 " digits (PLINT, input) : Field digits value. Currently, changing\n" 21793 " its value here has no effect since it is set only by plbox or\n" 21794 " plbox3. However, the user may obtain its value after a call to\n" 21795 " either of these functions by calling plgyax.\n" 21798 { (
char *)
"plsym",
_wrap_plsym, METH_VARARGS, (
char *)
"\n" 21799 "Plot a glyph at the specified points\n" 21803 " Plot a glyph at the specified points. (This function is largely\n" 21804 " superseded by plstring which gives access to many[!] more glyphs.)\n" 21806 " Redacted form: plsym(x, y, code)\n" 21808 " This function is used in example 7.\n" 21814 "plsym(n, x, y, code)\n" 21818 " n (PLINT, input) : Number of points in the x and y vectors.\n" 21820 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 21823 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 21826 " code (PLINT, input) : Hershey symbol code corresponding to a glyph\n" 21827 " to be plotted at each of the n points.\n" 21830 { (
char *)
"plszax",
_wrap_plszax, METH_VARARGS, (
char *)
"\n" 21831 "Set z axis parameters\n" 21835 " Identical to plsxax, except that arguments are flags for z axis. See\n" 21836 " the description of plsxax for more detail.\n" 21838 " Redacted form: plszax(digmax, digits)\n" 21840 " This function is used in example 31.\n" 21846 "plszax(digmax, digits)\n" 21850 " digmax (PLINT, input) : Variable to set the maximum number of\n" 21851 " digits for the z axis. If nonzero, the printed label will be\n" 21852 " switched to a floating-point representation when the number of\n" 21853 " digits exceeds digmax.\n" 21855 " digits (PLINT, input) : Field digits value. Currently, changing\n" 21856 " its value here has no effect since it is set only by plbox or\n" 21857 " plbox3. However, the user may obtain its value after a call to\n" 21858 " either of these functions by calling plgzax.\n" 21861 { (
char *)
"pltext",
_wrap_pltext, METH_VARARGS, (
char *)
"\n" 21862 "Switch to text screen\n" 21866 " Sets an interactive device to text mode, used in conjunction with\n" 21867 " plgra to allow graphics and text to be interspersed. On a device\n" 21868 " which supports separate text and graphics windows, this command causes\n" 21869 " control to be switched to the text window. This can be useful for\n" 21870 " printing diagnostic messages or getting user input, which would\n" 21871 " otherwise interfere with the plots. The program must switch back to\n" 21872 " the graphics window before issuing plot commands, as the text (or\n" 21873 " console) device will probably become quite confused otherwise. If\n" 21874 " already in text mode, this command is ignored. It is also ignored on\n" 21875 " devices which only support a single window or use a different method\n" 21876 " for shifting focus (see also plgra).\n" 21878 " Redacted form: pltext()\n" 21880 " This function is used in example 1.\n" 21890 "Set format for date / time labels\n" 21894 " Sets the format for date / time labels. To enable date / time format\n" 21895 " labels see the options to plbox, plbox3, and plenv.\n" 21897 " Redacted form: pltimefmt(fmt)\n" 21899 " This function is used in example 29.\n" 21909 " fmt (PLCHAR_VECTOR, input) : An ascii character string which is\n" 21910 " interpreted similarly to the format specifier of typical system\n" 21911 " strftime routines except that PLplot ignores locale and also\n" 21912 " supplies some useful extensions in the context of plotting. All\n" 21913 " text in the string is printed as-is other than conversion\n" 21914 " specifications which take the form of a '%' character followed by\n" 21915 " further conversion specification character. The conversion\n" 21916 " specifications which are similar to those provided by system\n" 21917 " strftime routines are the following: %a: The abbreviated (English)\n" 21919 " %A: The full (English) weekday name.\n" 21920 " %b: The abbreviated (English) month name.\n" 21921 " %B: The full (English) month name.\n" 21922 " %c: Equivalent to %a %b %d %T %Y (non-ISO).\n" 21923 " %C: The century number (year/100) as a 2-digit integer.\n" 21924 " %d: The day of the month as a decimal number (range 01 to 31).\n" 21925 " %D: Equivalent to %m/%d/%y (non-ISO).\n" 21926 " %e: Like %d, but a leading zero is replaced by a space.\n" 21927 " %F: Equivalent to %Y-%m-%d (the ISO 8601 date format).\n" 21928 " %h: Equivalent to %b.\n" 21929 " %H: The hour as a decimal number using a 24-hour clock (range\n" 21931 " %I: The hour as a decimal number using a 12-hour clock (range\n" 21933 " %j: The day of the year as a decimal number (range 001 to\n" 21935 " %k: The hour (24-hour clock) as a decimal number (range 0 to\n" 21936 " 23); single digits are preceded by a blank. (See also %H.)\n" 21937 " %l: The hour (12-hour clock) as a decimal number (range 1 to\n" 21938 " 12); single digits are preceded by a blank. (See also %I.)\n" 21939 " %m: The month as a decimal number (range 01 to 12).\n" 21940 " %M: The minute as a decimal number (range 00 to 59).\n" 21941 " %n: A newline character.\n" 21942 " %p: Either \"AM\" or \"PM\" according to the given time value.\n" 21943 " Noon is treated as \"PM\" and midnight as \"AM\".\n" 21944 " %r: Equivalent to %I:%M:%S %p.\n" 21945 " %R: The time in 24-hour notation (%H:%M). For a version\n" 21946 " including the seconds, see %T below.\n" 21947 " %s: The number of seconds since the Epoch, 1970-01-01 00:00:00\n" 21949 " %S: The second as a decimal number (range 00 to 60). (The\n" 21950 " range is up to 60 to allow for occasional leap seconds.)\n" 21951 " %t: A tab character.\n" 21952 " %T: The time in 24-hour notation (%H:%M:%S).\n" 21953 " %u: The day of the week as a decimal, range 1 to 7, Monday\n" 21954 " being 1. See also %w.\n" 21955 " %U: The week number of the current year as a decimal number,\n" 21956 " range 00 to 53, starting with the first Sunday as the first\n" 21957 " day of week 01. See also %V and %W.\n" 21958 " %v: Equivalent to %e-%b-%Y.\n" 21959 " %V: The ISO 8601 week number of the current year as a decimal\n" 21960 " number, range 01 to 53, where week 1 is the first week that\n" 21961 " has at least 4 days in the new year. See also %U and %W.\n" 21962 " %w: The day of the week as a decimal, range 0 to 6, Sunday\n" 21963 " being 0. See also %u.\n" 21964 " %W: The week number of the current year as a decimal number,\n" 21965 " range 00 to 53, starting with the first Monday as the first\n" 21966 " day of week 01.\n" 21967 " %x: Equivalent to %a %b %d %Y.\n" 21968 " %X: Equivalent to %T.\n" 21969 " %y: The year as a decimal number without a century (range 00\n" 21971 " %Y: The year as a decimal number including a century.\n" 21972 " %z: The UTC time-zone string = \"+0000\".\n" 21973 " %Z: The UTC time-zone abbreviation = \"UTC\".\n" 21974 " %+: The UTC date and time in default format of the Unix date\n" 21975 " command which is equivalent to %a %b %d %T %Z %Y.\n" 21976 " %%: A literal \"%\" character.\n" 21977 " The conversion specifications which are extensions to those normally\n" 21978 " provided by system strftime routines are the following: %(0-9):\n" 21979 " The fractional part of the seconds field (including leading\n" 21980 " decimal point) to the specified accuracy. Thus %S%3 would give\n" 21981 " seconds to millisecond accuracy (00.000).\n" 21982 " %.: The fractional part of the seconds field (including\n" 21983 " leading decimal point) to the maximum available accuracy. Thus\n" 21984 " %S%. would give seconds with fractional part up to 9 decimal\n" 21985 " places if available.\n" 21988 { (
char *)
"plvasp",
_wrap_plvasp, METH_VARARGS, (
char *)
"\n" 21989 "Specify viewport using aspect ratio only\n" 21993 " Selects the largest viewport with the given aspect ratio within the\n" 21994 " subpage that leaves a standard margin (left-hand margin of eight\n" 21995 " character heights, and a margin around the other three sides of five\n" 21996 " character heights).\n" 21998 " Redacted form: plvasp(aspect)\n" 22000 " This function is used in example 13.\n" 22010 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n" 22011 " axis of resulting viewport.\n" 22014 { (
char *)
"plvect",
_wrap_plvect, METH_VARARGS, (
char *)
"\n" 22019 " Draws a plot of vector data contained in the matrices (\n" 22025 " ny]) . The scaling factor for the vectors is given by scale. A\n" 22026 " transformation routine pointed to by pltr with a pointer pltr_data for\n" 22027 " additional data required by the transformation routine to map indices\n" 22028 " within the matrices to the world coordinates. The style of the vector\n" 22029 " arrow may be set using plsvect.\n" 22031 " Redacted form: plvect(u, v, scale, pltr, pltr_data) where (see above\n" 22032 " discussion) the pltr, pltr_data callback arguments are sometimes\n" 22033 " replaced by a tr vector with 6 elements, or xg and yg array arguments\n" 22034 " with either one or two dimensions.\n" 22036 " This function is used in example 22.\n" 22042 "plvect(u, v, nx, ny, scale, pltr, pltr_data)\n" 22046 " u, v (PLFLT_MATRIX, input) : A pair of matrices containing the x\n" 22047 " and y components of the vector data to be plotted.\n" 22049 " nx, ny (PLINT, input) : Dimensions of the matrices u and v.\n" 22051 " scale (PLFLT, input) : Parameter to control the scaling factor of\n" 22052 " the vectors for plotting. If scale = 0 then the scaling factor is\n" 22053 " automatically calculated for the data. If scale < 0 then the\n" 22054 " scaling factor is automatically calculated for the data and then\n" 22055 " multiplied by -\n" 22056 " scale. If scale > 0 then the scaling factor is set to scale.\n" 22058 " pltr (PLTRANSFORM_callback, input) : A callback function that\n" 22059 " defines the transformation between the zero-based indices of the\n" 22060 " matrices u and v and world coordinates.For the C case,\n" 22061 " transformation functions are provided in the PLplot library: pltr0\n" 22062 " for the identity mapping, and pltr1 and pltr2 for arbitrary\n" 22063 " mappings respectively defined by vectors and matrices. In\n" 22064 " addition, C callback routines for the transformation can be\n" 22065 " supplied by the user such as the mypltr function in\n" 22066 " examples/c/x09c.c which provides a general linear transformation\n" 22067 " between index coordinates and world coordinates.For languages\n" 22068 " other than C you should consult the PLplot documentation for the\n" 22069 " details concerning how PLTRANSFORM_callback arguments are\n" 22070 " interfaced. However, in general, a particular pattern of\n" 22071 " callback-associated arguments such as a tr vector with 6 elements;\n" 22072 " xg and yg vectors; or xg and yg matrices are respectively\n" 22073 " interfaced to a linear-transformation routine similar to the above\n" 22074 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n" 22075 " sophisticated bindings (see, e.g., the PLplot documentation)\n" 22076 " support native language callbacks for handling index to\n" 22077 " world-coordinate transformations. Examples of these various\n" 22078 " approaches are given in examples/<language>x09*,\n" 22079 " examples/<language>x16*, examples/<language>x20*,\n" 22080 " examples/<language>x21*, and examples/<language>x22*, for all our\n" 22081 " supported languages.\n" 22083 " pltr_data (PLPointer, input) : Extra parameter to help pass\n" 22084 " information to pltr0, pltr1, pltr2, or whatever callback routine\n" 22085 " that is externally supplied.\n" 22088 { (
char *)
"plvpas",
_wrap_plvpas, METH_VARARGS, (
char *)
"\n" 22089 "Specify viewport using coordinates and aspect ratio\n" 22093 " Device-independent routine for setting up the viewport. The viewport\n" 22094 " is chosen to be the largest with the given aspect ratio that fits\n" 22095 " within the specified region (in terms of normalized subpage\n" 22096 " coordinates). This routine is functionally equivalent to plvpor when\n" 22097 " a ``natural'' aspect ratio (0.0) is chosen. Unlike plvasp, this\n" 22098 " routine reserves no extra space at the edges for labels.\n" 22100 " Redacted form: plvpas(xmin, xmax, ymin, ymax, aspect)\n" 22102 " This function is used in example 9.\n" 22108 "plvpas(xmin, xmax, ymin, ymax, aspect)\n" 22112 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n" 22113 " left-hand edge of the viewport.\n" 22115 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n" 22116 " right-hand edge of the viewport.\n" 22118 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n" 22119 " bottom edge of the viewport.\n" 22121 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n" 22122 " edge of the viewport.\n" 22124 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n" 22128 { (
char *)
"plvpor",
_wrap_plvpor, METH_VARARGS, (
char *)
"\n" 22129 "Specify viewport using normalized subpage coordinates\n" 22133 " Device-independent routine for setting up the viewport. This defines\n" 22134 " the viewport in terms of normalized subpage coordinates which run from\n" 22135 " 0.0 to 1.0 (left to right and bottom to top) along each edge of the\n" 22136 " current subpage. Use the alternate routine plsvpa in order to create\n" 22137 " a viewport of a definite size.\n" 22139 " Redacted form: plvpor(xmin, xmax, ymin, ymax)\n" 22141 " This function is used in examples 2, 6-8, 10, 11, 15, 16, 18, 21, 23,\n" 22142 " 24, 26, 27, and 31.\n" 22148 "plvpor(xmin, xmax, ymin, ymax)\n" 22152 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n" 22153 " left-hand edge of the viewport.\n" 22155 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n" 22156 " right-hand edge of the viewport.\n" 22158 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n" 22159 " bottom edge of the viewport.\n" 22161 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n" 22162 " edge of the viewport.\n" 22165 { (
char *)
"plvsta",
_wrap_plvsta, METH_VARARGS, (
char *)
"\n" 22166 "Select standard viewport\n" 22170 " Selects the largest viewport within the subpage that leaves a standard\n" 22171 " margin (left-hand margin of eight character heights, and a margin\n" 22172 " around the other three sides of five character heights).\n" 22174 " Redacted form: plvsta()\n" 22176 " This function is used in examples 1, 12, 14, 17, 25, and 29.\n" 22185 { (
char *)
"plw3d",
_wrap_plw3d, METH_VARARGS, (
char *)
"\n" 22186 "Configure the transformations required for projecting a 3D surface on a 2D window\n" 22190 " Configure the transformations required for projecting a 3D surface on\n" 22191 " an existing 2D window. Those transformations (see the PLplot\n" 22192 " documentation) are done to a rectangular cuboid enclosing the 3D\n" 22193 " surface which has its limits expressed in 3D world coordinates and\n" 22194 " also normalized 3D coordinates (used for interpreting the altitude and\n" 22195 " azimuth of the viewing angle). The transformations consist of the\n" 22196 " linear transform from 3D world coordinates to normalized 3D\n" 22197 " coordinates, and the 3D rotation of normalized coordinates required to\n" 22198 " align the pole of the new 3D coordinate system with the viewing\n" 22199 " direction specified by altitude and azimuth so that x and y of the\n" 22200 " surface elements in that transformed coordinate system are the\n" 22201 " projection of the 3D surface with given viewing direction on the 2D\n" 22204 " The enclosing rectangular cuboid for the surface plot is defined by\n" 22205 " xmin, xmax, ymin, ymax, zmin and zmax in 3D world coordinates. It is\n" 22206 " mapped into the same rectangular cuboid with normalized 3D coordinate\n" 22207 " sizes of basex by basey by height so that xmin maps to -\n" 22208 " basex/2, xmax maps to basex/2, ymin maps to -\n" 22209 " basey/2, ymax maps to basey/2, zmin maps to 0 and zmax maps to height.\n" 22210 " The resulting rectangular cuboid in normalized coordinates is then\n" 22211 " viewed by an observer at altitude alt and azimuth az. This routine\n" 22212 " must be called before plbox3 or any of the 3D surface plotting\n" 22213 " routines; plmesh, plmeshc, plot3d, plot3dc, plot3dcl, plsurf3d,\n" 22214 " plsurf3dl or plfill3.\n" 22216 " Redacted form: plw3d(basex, basey, height, xmin, xmax, ymin, ymax,\n" 22217 " zmin, zmax, alt, az)\n" 22219 " This function is examples 8, 11, 18, and 21.\n" 22225 "plw3d(basex, basey, height, xmin, xmax, ymin, ymax, zmin, zmax, alt, az)\n" 22229 " basex (PLFLT, input) : The normalized x coordinate size of the\n" 22230 " rectangular cuboid.\n" 22232 " basey (PLFLT, input) : The normalized y coordinate size of the\n" 22233 " rectangular cuboid.\n" 22235 " height (PLFLT, input) : The normalized z coordinate size of the\n" 22236 " rectangular cuboid.\n" 22238 " xmin (PLFLT, input) : The minimum x world coordinate of the\n" 22239 " rectangular cuboid.\n" 22241 " xmax (PLFLT, input) : The maximum x world coordinate of the\n" 22242 " rectangular cuboid.\n" 22244 " ymin (PLFLT, input) : The minimum y world coordinate of the\n" 22245 " rectangular cuboid.\n" 22247 " ymax (PLFLT, input) : The maximum y world coordinate of the\n" 22248 " rectangular cuboid.\n" 22250 " zmin (PLFLT, input) : The minimum z world coordinate of the\n" 22251 " rectangular cuboid.\n" 22253 " zmax (PLFLT, input) : The maximum z world coordinate of the\n" 22254 " rectangular cuboid.\n" 22256 " alt (PLFLT, input) : The viewing altitude in degrees above the xy\n" 22257 " plane of the rectangular cuboid in normalized coordinates.\n" 22259 " az (PLFLT, input) : The viewing azimuth in degrees of the\n" 22260 " rectangular cuboid in normalized coordinates. When az=0, the\n" 22261 " observer is looking face onto the zx plane of the rectangular\n" 22262 " cuboid in normalized coordinates, and as az is increased, the\n" 22263 " observer moves clockwise around that cuboid when viewed from above\n" 22267 { (
char *)
"plwidth",
_wrap_plwidth, METH_VARARGS, (
char *)
"\n" 22272 " Sets the pen width.\n" 22274 " Redacted form: plwidth(width)\n" 22276 " This function is used in examples 1 and 2.\n" 22286 " width (PLFLT, input) : The desired pen width. If width is negative\n" 22287 " or the same as the previous value no action is taken. width = 0.\n" 22288 " should be interpreted as as the minimum valid pen width for the\n" 22289 " device. The interpretation of positive width values is also\n" 22290 " device dependent.\n" 22293 { (
char *)
"plwind",
_wrap_plwind, METH_VARARGS, (
char *)
"\n" 22298 " Specify the window, i.e., the world coordinates of the edges of the\n" 22301 " Redacted form: plwind(xmin, xmax, ymin, ymax)\n" 22303 " This function is used in examples 1, 2, 4, 6-12, 14-16, 18, 21, 23-27,\n" 22310 "plwind(xmin, xmax, ymin, ymax)\n" 22314 " xmin (PLFLT, input) : The world x coordinate of the left-hand edge\n" 22315 " of the viewport.\n" 22317 " xmax (PLFLT, input) : The world x coordinate of the right-hand edge\n" 22318 " of the viewport.\n" 22320 " ymin (PLFLT, input) : The world y coordinate of the bottom edge of\n" 22323 " ymax (PLFLT, input) : The world y coordinate of the top edge of the\n" 22327 { (
char *)
"plxormod",
_wrap_plxormod, METH_VARARGS, (
char *)
"\n" 22328 "Enter or leave xor mode\n" 22332 " Enter (when mode is true) or leave (when mode is false) xor mode for\n" 22333 " those drivers (e.g., the xwin driver) that support it. Enables\n" 22334 " erasing plots by drawing twice the same line, symbol, etc. If driver\n" 22335 " is not capable of xor operation it returns a status of false.\n" 22337 " Redacted form: plxormod(mode, status)\n" 22339 " This function is used in examples 1 and 20.\n" 22345 "plxormod(mode, status)\n" 22349 " mode (PLBOOL, input) : mode is true means enter xor mode and mode\n" 22350 " is false means leave xor mode.\n" 22352 " status (PLBOOL_NC_SCALAR, output) : Returned value of the status.\n" 22353 " modestatus of true (false) means driver is capable (incapable) of\n" 22357 { (
char *)
"plmap",
_wrap_plmap, METH_VARARGS, (
char *)
"\n" 22358 "Plot continental outline or shapefile data in world coordinates\n" 22362 " Plots continental outlines or shapefile data in world coordinates. A\n" 22363 " demonstration of how to use this function to create different\n" 22364 " projections can be found in examples/c/x19c. PLplot is provided with\n" 22365 " basic coastal outlines and USA state borders. To use the map\n" 22366 " functionality PLplot must be compiled with the shapelib library.\n" 22367 " Shapefiles have become a popular standard for geographical data and\n" 22368 " data in this format can be easily found from a number of online\n" 22369 " sources. Shapefile data is actually provided as three or more files\n" 22370 " with the same filename, but different extensions. The .shp and .shx\n" 22371 " files are required for plotting Shapefile data with PLplot.\n" 22373 " PLplot currently supports the point, multipoint, polyline and polygon\n" 22374 " objects within shapefiles. However holes in polygons are not\n" 22375 " supported. When plmap is used the type of object is derived from the\n" 22376 " shapefile, if you wish to override the type then use one of the other\n" 22377 " plmap variants. The built in maps have line data only.\n" 22379 " Redacted form: plmap(mapform, name, minx, maxx, miny, maxy)\n" 22381 " This function is used in example 19.\n" 22387 "plmap(mapform, name, minx, maxx, miny, maxy)\n" 22391 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22392 " transform the original map data coordinates to a new coordinate\n" 22393 " system. The PLplot-supplied map data is provided as latitudes and\n" 22394 " longitudes; other Shapefile data may be provided in other\n" 22395 " coordinate systems as can be found in their .prj plain text files.\n" 22396 " For example, by using this transform we can change from a\n" 22397 " longitude, latitude coordinate to a polar stereographic\n" 22398 " projection. Initially, x[0]..[n-1] are the original x coordinates\n" 22399 " (longitudes for the PLplot-supplied data) and y[0]..y[n-1] are the\n" 22400 " corresponding y coordinates (latitudes for the PLplot supplied\n" 22401 " data). After the call to mapform(), x[] and y[] should be\n" 22402 " replaced by the corresponding plot coordinates. If no transform is\n" 22403 " desired, mapform can be replaced by NULL.\n" 22405 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 22406 " the type of map plotted. This is either one of the PLplot built-in\n" 22407 " maps or the file name of a set of Shapefile files without the file\n" 22408 " extensions. For the PLplot built-in maps the possible values are:\n" 22409 " \"globe\" -- continental outlines\n" 22410 " \"usa\" -- USA and state boundaries\n" 22411 " \"cglobe\" -- continental outlines and countries\n" 22412 " \"usaglobe\" -- USA, state boundaries and continental outlines\n" 22415 " minx (PLFLT, input) : The minimum x value of map elements to be\n" 22416 " drawn. The units must match the shapefile (built in maps are\n" 22417 " degrees lat/lon). Objects in the file which do not encroach on the\n" 22418 " box defined by minx, maxx, miny, maxy will not be rendered. But\n" 22419 " note this is simply an optimisation, not a clipping so for objects\n" 22420 " with some points inside the box and some points outside the box\n" 22421 " all the points will be rendered. These parameters also define\n" 22422 " latitude and longitude wrapping for shapefiles using these units.\n" 22423 " Longitude points will be wrapped by integer multiples of 360\n" 22424 " degrees to place them in the box. This allows the same data to be\n" 22425 " used on plots from -180-180 or 0-360 longitude ranges. In fact if\n" 22426 " you plot from -180-540 you will get two cycles of data drawn. The\n" 22427 " value of minx must be less than the value of maxx. Passing in a\n" 22428 " nan, max/-max floating point number or +/-infinity will case the\n" 22429 " bounding box from the shapefile to be used.\n" 22431 " maxx (PLFLT, input) : The maximum x value of map elements to be\n" 22432 " drawn - see minx.\n" 22434 " miny (PLFLT, input) : The minimum y value of map elements to be\n" 22435 " drawn - see minx.\n" 22437 " maxy (PLFLT, input) : The maximum y value of map elements to be\n" 22438 " drawn - see minx.\n" 22442 "Plot all or a subset of Shapefile data using lines in world coordinates\n" 22446 " Plot all or a subset of Shapefile data using lines in world\n" 22447 " coordinates. Our 19th standard example demonstrates how to use this\n" 22448 " function. This function plots data from a Shapefile using lines as in\n" 22449 " plmap, however it also has the option of also only drawing specified\n" 22450 " elements from the Shapefile. The vector of indices of the required\n" 22451 " elements are passed as a function argument. The Shapefile data should\n" 22452 " include a metadata file (extension.dbf) listing all items within the\n" 22453 " Shapefile. This file can be opened by most popular spreadsheet\n" 22454 " programs and can be used to decide which indices to pass to this\n" 22457 " Redacted form: plmapline(mapform, name, minx, maxx, miny, maxy,\n" 22460 " This function is used in example 19.\n" 22466 "plmapline(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n" 22470 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22471 " transform the coordinates given in the shapefile into a plot\n" 22472 " coordinate system. By using this transform, we can change from a\n" 22473 " longitude, latitude coordinate to a polar stereographic project,\n" 22474 " for example. Initially, x[0]..[n-1] are the longitudes and\n" 22475 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n" 22476 " mapform(), x[] and y[] should be replaced by the corresponding\n" 22477 " plot coordinates. If no transform is desired, mapform can be\n" 22478 " replaced by NULL.\n" 22480 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 22481 " the file name of a set of Shapefile files without the file\n" 22484 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n" 22485 " be in the same units as used by the Shapefile. You could use a\n" 22486 " very large negative number to plot everything, but you can improve\n" 22487 " performance by limiting the area drawn. The units must match those\n" 22488 " of the Shapefile projection, which may be for example longitude or\n" 22489 " distance. The value of minx must be less than the value of maxx.\n" 22491 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n" 22492 " use a very large number to plot everything, but you can improve\n" 22493 " performance by limiting the area drawn.\n" 22495 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n" 22496 " be in the same units as used by the Shapefile. You could use a\n" 22497 " very large negative number to plot everything, but you can improve\n" 22498 " performance by limiting the area drawn. The units must match those\n" 22499 " of the Shapefile projection, which may be for example latitude or\n" 22500 " distance. The value of miny must be less than the value of maxy.\n" 22502 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n" 22503 " use a very large number to plot everything, but you can improve\n" 22504 " performance by limiting the area drawn.\n" 22506 " plotentries (PLINT_VECTOR, input) : A vector containing the\n" 22507 " zero-based indices of the Shapefile elements which will be drawn.\n" 22509 " plotentries to NULL will plot all elements of the Shapefile.\n" 22511 " nplotentries (PLINT, input) : The number of items in\n" 22512 " plotentries. Ignored if\n" 22513 " plotentries is NULL.\n" 22517 "Plot all or a subset of Shapefile data using strings or points in world coordinates\n" 22521 " As per plmapline, however the items are plotted as strings or points\n" 22522 " in the same way as plstring.\n" 22524 " Redacted form: plmapstring(mapform, name, string, minx, maxx, miny,\n" 22525 " maxy, plotentries)\n" 22527 " This function is not used in any examples.\n" 22533 "plmapstring(mapform, name, string, minx, maxx, miny, maxy, plotentries, nplotentries)\n" 22537 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22538 " transform the coordinates given in the shapefile into a plot\n" 22539 " coordinate system. By using this transform, we can change from a\n" 22540 " longitude, latitude coordinate to a polar stereographic project,\n" 22541 " for example. Initially, x[0]..[n-1] are the longitudes and\n" 22542 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n" 22543 " mapform(), x[] and y[] should be replaced by the corresponding\n" 22544 " plot coordinates. If no transform is desired, mapform can be\n" 22545 " replaced by NULL.\n" 22547 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 22548 " the file name of a set of Shapefile files without the file\n" 22551 " string (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n" 22554 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n" 22555 " be in the same units as used by the Shapefile. You could use a\n" 22556 " very large negative number to plot everything, but you can improve\n" 22557 " performance by limiting the area drawn. The units must match those\n" 22558 " of the Shapefile projection, which may be for example longitude or\n" 22559 " distance. The value of minx must be less than the value of maxx.\n" 22561 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n" 22562 " use a very large number to plot everything, but you can improve\n" 22563 " performance by limiting the area drawn.\n" 22565 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n" 22566 " be in the same units as used by the Shapefile. You could use a\n" 22567 " very large negative number to plot everything, but you can improve\n" 22568 " performance by limiting the area drawn. The units must match those\n" 22569 " of the Shapefile projection, which may be for example latitude or\n" 22570 " distance. The value of miny must be less than the value of maxy.\n" 22572 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n" 22573 " use a very large number to plot everything, but you can improve\n" 22574 " performance by limiting the area drawn.\n" 22576 " plotentries (PLINT_VECTOR, input) : A vector containing the\n" 22577 " zero-based indices of the Shapefile elements which will be drawn.\n" 22579 " plotentries to NULL will plot all elements of the Shapefile.\n" 22581 " nplotentries (PLINT, input) : The number of items in\n" 22582 " plotentries. Ignored if\n" 22583 " plotentries is NULL.\n" 22586 { (
char *)
"plmaptex",
_wrap_plmaptex, METH_VARARGS, (
char *)
"\n" 22587 "Draw text at points defined by Shapefile data in world coordinates\n" 22591 " As per plmapline, however the items are plotted as text in the same\n" 22592 " way as plptex.\n" 22594 " Redacted form: plmaptex(mapform, name, dx, dy, just, text, minx, maxx,\n" 22595 " miny, maxy, plotentry)\n" 22597 " This function is used in example 19.\n" 22603 "plmaptex(mapform, name, dx, dy, just, text, minx, maxx, miny, maxy, plotentry)\n" 22607 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22608 " transform the coordinates given in the shapefile into a plot\n" 22609 " coordinate system. By using this transform, we can change from a\n" 22610 " longitude, latitude coordinate to a polar stereographic project,\n" 22611 " for example. Initially, x[0]..[n-1] are the longitudes and\n" 22612 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n" 22613 " mapform(), x[] and y[] should be replaced by the corresponding\n" 22614 " plot coordinates. If no transform is desired, mapform can be\n" 22615 " replaced by NULL.\n" 22617 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 22618 " the file name of a set of Shapefile files without the file\n" 22621 " dx (PLFLT, input) : Used to define the slope of the texts which is\n" 22624 " dy (PLFLT, input) : Used to define the slope of the texts which is\n" 22627 " just (PLFLT, input) : Set the justification of the text. The value\n" 22628 " given will be the fraction of the distance along the string that\n" 22629 " sits at the given point. 0.0 gives left aligned text, 0.5 gives\n" 22630 " centralized text and 1.0 gives right aligned text.\n" 22632 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be drawn.\n" 22634 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n" 22635 " be in the same units as used by the Shapefile. You could use a\n" 22636 " very large negative number to plot everything, but you can improve\n" 22637 " performance by limiting the area drawn. The units must match those\n" 22638 " of the Shapefile projection, which may be for example longitude or\n" 22639 " distance. The value of minx must be less than the value of maxx.\n" 22641 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n" 22642 " use a very large number to plot everything, but you can improve\n" 22643 " performance by limiting the area drawn.\n" 22645 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n" 22646 " be in the same units as used by the Shapefile. You could use a\n" 22647 " very large negative number to plot everything, but you can improve\n" 22648 " performance by limiting the area drawn. The units must match those\n" 22649 " of the Shapefile projection, which may be for example latitude or\n" 22650 " distance. The value of miny must be less than the value of maxy.\n" 22652 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n" 22653 " use a very large number to plot everything, but you can improve\n" 22654 " performance by limiting the area drawn.\n" 22656 " plotentry (PLINT, input) : An integer indicating which text string\n" 22657 " of the Shapefile (zero indexed) will be drawn.\n" 22661 "Plot all or a subset of Shapefile data, filling the polygons\n" 22665 " As per plmapline, however the items are filled in the same way as\n" 22668 " Redacted form: plmapfill(mapform, name, minx, maxx, miny, maxy,\n" 22671 " This function is used in example 19.\n" 22677 "plmapfill(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n" 22681 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22682 " transform the coordinates given in the shapefile into a plot\n" 22683 " coordinate system. By using this transform, we can change from a\n" 22684 " longitude, latitude coordinate to a polar stereographic project,\n" 22685 " for example. Initially, x[0]..[n-1] are the longitudes and\n" 22686 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n" 22687 " mapform(), x[] and y[] should be replaced by the corresponding\n" 22688 " plot coordinates. If no transform is desired, mapform can be\n" 22689 " replaced by NULL.\n" 22691 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 22692 " the file name of a set of Shapefile files without the file\n" 22695 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n" 22696 " be in the same units as used by the Shapefile. You could use a\n" 22697 " very large negative number to plot everything, but you can improve\n" 22698 " performance by limiting the area drawn. The units must match those\n" 22699 " of the Shapefile projection, which may be for example longitude or\n" 22700 " distance. The value of minx must be less than the value of maxx.\n" 22702 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n" 22703 " use a very large number to plot everything, but you can improve\n" 22704 " performance by limiting the area drawn.\n" 22706 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n" 22707 " be in the same units as used by the Shapefile. You could use a\n" 22708 " very large negative number to plot everything, but you can improve\n" 22709 " performance by limiting the area drawn. The units must match those\n" 22710 " of the Shapefile projection, which may be for example latitude or\n" 22711 " distance. The value of miny must be less than the value of maxy.\n" 22713 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n" 22714 " use a very large number to plot everything, but you can improve\n" 22715 " performance by limiting the area drawn.\n" 22717 " plotentries (PLINT_VECTOR, input) : A vector containing the\n" 22718 " zero-based indices of the Shapefile elements which will be drawn.\n" 22720 " plotentries to NULL will plot all elements of the Shapefile.\n" 22722 " nplotentries (PLINT, input) : The number of items in\n" 22723 " plotentries. Ignored if\n" 22724 " plotentries is NULL.\n" 22728 "Plot latitude and longitude lines\n" 22732 " Displays latitude and longitude on the current plot. The lines are\n" 22733 " plotted in the current color and line style.\n" 22735 " Redacted form: plmeridians(mapform, dlong, dlat, minlong, maxlong,\n" 22736 " minlat, maxlat)\n" 22738 " This function is used in example 19.\n" 22744 "plmeridians(mapform, dlong, dlat, minlong, maxlong, minlat, maxlat)\n" 22748 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22749 " transform the coordinate longitudes and latitudes to a plot\n" 22750 " coordinate system. By using this transform, we can change from a\n" 22751 " longitude, latitude coordinate to a polar stereographic project,\n" 22752 " for example. Initially, x[0]..[n-1] are the longitudes and\n" 22753 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n" 22754 " mapform(), x[] and y[] should be replaced by the corresponding\n" 22755 " plot coordinates. If no transform is desired, mapform can be\n" 22756 " replaced by NULL.\n" 22758 " dlong (PLFLT, input) : The interval in degrees at which the\n" 22759 " longitude lines are to be plotted.\n" 22761 " dlat (PLFLT, input) : The interval in degrees at which the latitude\n" 22762 " lines are to be plotted.\n" 22764 " minlong (PLFLT, input) : The value of the longitude on the left\n" 22765 " side of the plot. The value of minlong must be less than the value\n" 22766 " of maxlong, and the quantity maxlong-minlong must be less than or\n" 22769 " maxlong (PLFLT, input) : The value of the longitude on the right\n" 22770 " side of the plot.\n" 22772 " minlat (PLFLT, input) : The minimum latitude to be plotted on the\n" 22773 " background. One can always use -90.0 as the boundary outside the\n" 22774 " plot window will be automatically eliminated. However, the\n" 22775 " program will be faster if one can reduce the size of the\n" 22776 " background plotted.\n" 22778 " maxlat (PLFLT, input) : The maximum latitudes to be plotted on the\n" 22779 " background. One can always use 90.0 as the boundary outside the\n" 22780 " plot window will be automatically eliminated.\n" 22783 { (
char *)
"plimage",
_wrap_plimage, METH_VARARGS, (
char *)
"\n" 22784 "Plot a 2D matrix using cmap1 with automatic color adjustment\n" 22788 " Plot a 2D matrix using the cmap1 palette. The color scale is\n" 22789 " automatically adjusted to use the maximum and minimum values in idata\n" 22790 " as valuemin and valuemax in a call to plimagefr.\n" 22792 " Redacted form: General: plimage(idata, xmin, xmax, ymin, ymax, zmin,\n" 22793 " zmax, Dxmin, Dxmax, Dymin, Dymax)\n" 22796 " This function is used in example 20.\n" 22802 "plimage(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, Dxmin, Dxmax, Dymin, Dymax)\n" 22806 " idata (PLFLT_MATRIX, input) : A matrix containing function values\n" 22807 " to plot. Should have dimensions of\n" 22811 " nx, ny (PLINT, input) : Dimensions of idata\n" 22813 " xmin, xmax, ymin, ymax (PLFLT, input) : The x and y index ranges\n" 22814 " are linearly transformed to these world coordinate ranges such\n" 22815 " that idata[0][0] corresponds to (xmin, ymin) and idata[nx - 1][ny\n" 22816 " - 1] corresponds to (xmax, ymax).\n" 22818 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n" 22819 " (inclusive) will be plotted.\n" 22821 " Dxmin, Dxmax, Dymin, Dymax (PLFLT, input) : Plot only the window of\n" 22822 " points whose plot coordinates fall inside the window of (Dxmin,\n" 22823 " Dymin) to (Dxmax, Dymax).\n" 22827 "Plot a 2D matrix using cmap1\n" 22831 " Plot a 2D matrix using cmap1.\n" 22833 " Redacted form: General: plimagefr(idata, xmin, xmax, ymin, ymax, zmin,\n" 22834 " zmax, valuemin, valuemax, pltr, pltr_data)\n" 22837 " This function is used in example 20.\n" 22843 "plimagefr(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr, pltr_data)\n" 22847 " idata (PLFLT_MATRIX, input) : A matrix of values (intensities) to\n" 22848 " plot. Should have dimensions of\n" 22852 " nx, ny (PLINT, input) : Dimensions of idata\n" 22854 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n" 22855 " pltr below for how these arguments are used (only for the special case\n" 22856 " when the callback function\n" 22857 " pltr is not supplied).\n" 22859 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n" 22860 " (inclusive) will be plotted.\n" 22862 " valuemin, valuemax (PLFLT, input) : The minimum and maximum data\n" 22863 " values to use for value to color mappings. A datum equal to or\n" 22864 " less than valuemin will be plotted with color 0.0, while a datum\n" 22865 " equal to or greater than valuemax will be plotted with color 1.0.\n" 22866 " Data between valuemin and valuemax map linearly to colors in the\n" 22867 " range (0.0-1.0).\n" 22869 " pltr (PLTRANSFORM_callback, input) : A callback function that\n" 22870 " defines the transformation between the zero-based indices of the\n" 22871 " matrix idata and world coordinates. If\n" 22872 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n" 22873 " indices of idata are mapped to the range\n" 22875 " xmax and the y indices of idata are mapped to the range\n" 22877 " ymax.For the C case, transformation functions are provided in the\n" 22878 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n" 22879 " pltr2 for arbitrary mappings respectively defined by vectors and\n" 22880 " matrices. In addition, C callback routines for the transformation\n" 22881 " can be supplied by the user such as the mypltr function in\n" 22882 " examples/c/x09c.c which provides a general linear transformation\n" 22883 " between index coordinates and world coordinates.For languages\n" 22884 " other than C you should consult the PLplot documentation for the\n" 22885 " details concerning how PLTRANSFORM_callback arguments are\n" 22886 " interfaced. However, in general, a particular pattern of\n" 22887 " callback-associated arguments such as a tr vector with 6 elements;\n" 22888 " xg and yg vectors; or xg and yg matrices are respectively\n" 22889 " interfaced to a linear-transformation routine similar to the above\n" 22890 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n" 22891 " sophisticated bindings (see, e.g., the PLplot documentation)\n" 22892 " support native language callbacks for handling index to\n" 22893 " world-coordinate transformations. Examples of these various\n" 22894 " approaches are given in examples/<language>x09*,\n" 22895 " examples/<language>x16*, examples/<language>x20*,\n" 22896 " examples/<language>x21*, and examples/<language>x22*, for all our\n" 22897 " supported languages.\n" 22899 " pltr_data (PLPointer, input) : Extra parameter to help pass\n" 22900 " information to pltr0, pltr1, pltr2, or whatever routine is\n" 22901 " externally supplied.\n" 22910 "Wait for graphics input event and translate to world coordinates.\n" 22914 " Wait for graphics input event and translate to world coordinates.\n" 22915 " Returns 0 if no translation to world coordinates is possible.\n" 22917 " This function returns 1 on success and 0 if no translation to world\n" 22918 " coordinates is possible.\n" 22920 " Redacted form: plGetCursor(gin)\n" 22922 " This function is used in examples 1 and 20.\n" 22928 "PLINT plGetCursor(gin)\n" 22932 " gin (PLGraphicsIn *, output) : Pointer to PLGraphicsIn structure\n" 22933 " which will contain the output. The structure is not allocated by\n" 22934 " the routine and must exist before the function is called.\n" 22937 { NULL, NULL, 0, NULL }
23011 {0, 0, 0, 0.0, 0, 0}};
23065 #define SWIGRUNTIME_DEBUG 23088 if (!module_head) {
23101 }
while (iter!= module_head);
23112 if (init == 0)
return;
23115 #ifdef SWIGRUNTIME_DEBUG 23123 #ifdef SWIGRUNTIME_DEBUG 23133 #ifdef SWIGRUNTIME_DEBUG 23134 printf(
"SWIG_InitializeModule: found type %s\n", type->
name);
23138 #ifdef SWIGRUNTIME_DEBUG 23139 printf(
"SWIG_InitializeModule: found and overwrite type %s \n", type->
name);
23148 while (cast->
type) {
23151 #ifdef SWIGRUNTIME_DEBUG 23152 printf(
"SWIG_InitializeModule: look cast %s\n", cast->
type->
name);
23156 #ifdef SWIGRUNTIME_DEBUG 23157 if (ret) printf(
"SWIG_InitializeModule: found cast %s\n", ret->
name);
23162 #ifdef SWIGRUNTIME_DEBUG 23163 printf(
"SWIG_InitializeModule: skip old type %s\n", ret->
name);
23170 #ifdef SWIGRUNTIME_DEBUG 23171 if (ocast) printf(
"SWIG_InitializeModule: skip old cast %s\n", ret->
name);
23173 if (!ocast) ret = 0;
23178 #ifdef SWIGRUNTIME_DEBUG 23179 printf(
"SWIG_InitializeModule: adding cast %s\n", cast->
type->
name);
23194 #ifdef SWIGRUNTIME_DEBUG 23195 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
23200 while (cast->
type) {
23201 printf(
"SWIG_InitializeModule: cast type %s\n", cast->
type->
name);
23205 printf(
"---- Total casts: %d\n",j);
23207 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
23220 static int init_run = 0;
23222 if (init_run)
return;
23233 equiv = equiv->
next;
23254 #define SWIG_newvarlink() SWIG_Python_newvarlink() 23255 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) 23256 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) 23264 PyObject *(*get_attr)(void);
23276 #if PY_VERSION_HEX >= 0x03000000 23277 return PyUnicode_InternFromString(
"<Swig global variables>");
23279 return PyString_FromString(
"<Swig global variables>");
23285 #if PY_VERSION_HEX >= 0x03000000 23286 PyObject *str = PyUnicode_InternFromString(
"(");
23290 for (var = v->
vars; var; var=var->
next) {
23291 tail = PyUnicode_FromString(var->
name);
23292 joined = PyUnicode_Concat(str,
tail);
23297 tail = PyUnicode_InternFromString(
", ");
23298 joined = PyUnicode_Concat(str,
tail);
23304 tail = PyUnicode_InternFromString(
")");
23305 joined = PyUnicode_Concat(str,
tail);
23310 PyObject *str = PyString_FromString(
"(");
23312 for (var = v->
vars; var; var=var->
next) {
23313 PyString_ConcatAndDel(&str,PyString_FromString(var->
name));
23314 if (var->
next) PyString_ConcatAndDel(&str,PyString_FromString(
", "));
23316 PyString_ConcatAndDel(&str,PyString_FromString(
")"));
23325 fprintf(fp,
"Swig global variables ");
23345 PyObject *res = NULL;
23348 if (strcmp(var->
name,n) == 0) {
23354 if (res == NULL && !PyErr_Occurred()) {
23355 PyErr_Format(PyExc_AttributeError,
"Unknown C global variable '%s'", n);
23365 if (strcmp(var->
name,n) == 0) {
23371 if (res == 1 && !PyErr_Occurred()) {
23372 PyErr_Format(PyExc_AttributeError,
"Unknown C global variable '%s'", n);
23379 static char varlink__doc__[] =
"Swig var link object";
23380 static PyTypeObject varlink_type;
23381 static int type_init = 0;
23383 const PyTypeObject tmp = {
23384 #if PY_VERSION_HEX >= 0x03000000 23385 PyVarObject_HEAD_INIT(NULL, 0)
23387 PyObject_HEAD_INIT(NULL)
23390 (
char *)
"swigvarlink",
23414 #if PY_VERSION_HEX >= 0x02020000 23415 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
23417 #if PY_VERSION_HEX >= 0x02030000 23420 #if PY_VERSION_HEX >= 0x02060000 23423 #if PY_VERSION_HEX >= 0x03040000 23426 #ifdef COUNT_ALLOCS 23430 #if PY_VERSION_HEX >= 0x02050000 23436 varlink_type = tmp;
23438 #if PY_VERSION_HEX < 0x02020000 23439 varlink_type.ob_type = &PyType_Type;
23441 if (PyType_Ready(&varlink_type) < 0)
23445 return &varlink_type;
23455 return ((PyObject*) result);
23463 size_t size = strlen(
name)+1;
23464 gv->
name = (
char *)malloc(size);
23477 static PyObject *_SWIG_globals = 0;
23479 return _SWIG_globals;
23491 for (i = 0; constants[i].
type; ++i) {
23492 switch(constants[i].type) {
23497 obj =
SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
23504 PyDict_SetItemString(d, constants[i].
name, obj);
23520 for (i = 0; methods[i].ml_name; ++i) {
23521 const char *c = methods[i].ml_doc;
23523 c = strstr(c,
"swig_ptr: ");
23527 const char *
name = c + 10;
23528 for (j = 0; const_table[j].
type; ++j) {
23529 if (strncmp(const_table[j].
name,
name,
23530 strlen(const_table[j].
name)) == 0) {
23531 ci = &(const_table[j]);
23538 size_t shift = (ci->
ptype) - types;
23540 size_t ldoc = (c - methods[i].ml_doc);
23541 size_t lptr = strlen(ty->
name)+2*
sizeof(
void*)+2;
23542 char *ndoc = (
char*)malloc(ldoc + lptr + 10);
23545 memcpy(buff, methods[i].ml_doc, ldoc);
23547 memcpy(buff,
"swig_ptr: ", 10);
23550 methods[i].ml_doc = ndoc;
23571 #if PY_VERSION_HEX >= 0x03000000 23577 PyObject *m, *d, *md;
23578 #if PY_VERSION_HEX >= 0x03000000 23579 static struct PyModuleDef SWIG_module = {
23580 # if PY_VERSION_HEX >= 0x03020000 23581 PyModuleDef_HEAD_INIT,
23584 PyObject_HEAD_INIT(NULL)
23601 #if defined(SWIGPYTHON_BUILTIN) 23603 0, 0, 0, 0, 0, 0, 0
23605 static PyGetSetDef this_getset_def = {
23606 (
char *)
"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
23608 static SwigPyGetSet thisown_getset_closure = {
23612 static PyGetSetDef thisown_getset_def = {
23613 (
char *)
"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
23615 PyTypeObject *builtin_pytype;
23616 int builtin_base_count;
23619 PyGetSetDescrObject *static_getset;
23620 PyTypeObject *metatype;
23621 PyTypeObject *swigpyobject;
23623 PyObject *public_interface, *public_symbol;
23624 PyObject *this_descr;
23625 PyObject *thisown_descr;
23626 PyObject *
self = 0;
23629 (void)builtin_pytype;
23630 (void)builtin_base_count;
23631 (void)builtin_basetype;
23633 (void)static_getset;
23637 metatype = SwigPyObjectType();
23644 #if PY_VERSION_HEX >= 0x03000000 23645 m = PyModule_Create(&SWIG_module);
23650 md = d = PyModule_GetDict(m);
23655 #ifdef SWIGPYTHON_BUILTIN 23659 assert(SwigPyObject_stype);
23662 SwigPyObject_stype->
clientdata = &SwigPyObject_clientdata;
23663 SwigPyObject_clientdata.
pytype = swigpyobject;
23664 }
else if (swigpyobject->tp_basicsize != cd->
pytype->tp_basicsize) {
23665 PyErr_SetString(PyExc_RuntimeError,
"Import error: attempted to load two incompatible swig-generated modules.");
23666 # if PY_VERSION_HEX >= 0x03000000 23679 (void)thisown_descr;
23681 public_interface = PyList_New(0);
23683 (void)public_symbol;
23685 PyDict_SetItemString(md,
"__all__", public_interface);
23686 Py_DECREF(public_interface);
23688 SwigPyBuiltin_AddPublicSymbol(public_interface,
SwigMethods[i].ml_name);
23875 #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)