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",
1315 name, (min == max ?
"" :
"at least "), (
int)min);
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",
1334 name, (min == max ?
"" :
"at least "), (
int)min, (
int)l);
1336 }
else if (l > max) {
1337 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got %d",
1338 name, (min == max ?
"" :
"at most "), (
int)max, (
int)l);
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);
1624 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1632 if( op != Py_EQ && op != Py_NE ) {
1643 #ifdef SWIGPYTHON_BUILTIN 1648 assert(SwigPyObject_stype);
1664 #ifdef SWIGPYTHON_BUILTIN 1666 if (PyType_IsSubtype(op->ob_type, target_tp))
1668 return (strcmp(op->ob_type->tp_name,
"SwigPyObject") == 0);
1671 || (strcmp(
Py_TYPE(op)->tp_name,
"SwigPyObject") == 0);
1682 PyObject *next = sobj->
next;
1686 PyObject *destroy = data ? data->
destroy : 0;
1698 PyObject *val = NULL, *type = NULL, *tb = NULL;
1699 PyErr_Fetch(&val, &type, &tb);
1707 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1708 PyObject *mself = PyCFunction_GET_SELF(destroy);
1709 res = ((*meth)(mself, v));
1712 PyErr_WriteUnraisable(destroy);
1714 PyErr_Restore(val, type, tb);
1718 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) 1721 printf(
"swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name :
"unknown"));
1735 if (!PyArg_ParseTuple(next,(
char *)
"O:append", &tmp))
return NULL;
1739 PyErr_SetString(PyExc_TypeError,
"Attempt to append a non SwigPyObject");
1752 Py_INCREF(sobj->
next);
1785 SwigPyObject_disown2(PyObject* v, PyObject *
SWIGUNUSEDPARM(args))
1791 SwigPyObject_acquire2(PyObject* v, PyObject *
SWIGUNUSEDPARM(args))
1801 #if (PY_VERSION_HEX < 0x02020000) 1802 if (!PyArg_ParseTuple(args,(
char *)
"|O:own",&val))
1803 #elif (PY_VERSION_HEX < 0x02050000) 1804 if (!PyArg_UnpackTuple(args, (
char *)
"own", 0, 1, &val))
1806 if (!PyArg_UnpackTuple(args,
"own", 0, 1, &val))
1817 if (PyObject_IsTrue(val)) {
1823 if (PyObject_IsTrue(val)) {
1837 {(
char *)
"disown", (PyCFunction)SwigPyObject_disown2, METH_NOARGS, (
char *)
"releases ownership of the pointer"},
1838 {(
char *)
"acquire", (PyCFunction)SwigPyObject_acquire2,METH_NOARGS, (
char *)
"acquires ownership of the pointer"},
1839 {(
char *)
"own", (PyCFunction)
SwigPyObject_own, METH_VARARGS, (
char *)
"returns/sets ownership of the pointer"},
1840 {(
char *)
"append", (PyCFunction)
SwigPyObject_append, METH_O, (
char *)
"appends another 'this' object"},
1841 {(
char *)
"next", (PyCFunction)
SwigPyObject_next, METH_NOARGS, (
char *)
"returns the next 'this' object"},
1842 {(
char *)
"__repr__",(PyCFunction)
SwigPyObject_repr2, METH_NOARGS, (
char *)
"returns object representation"},
1847 swigobject_methods[] = {
1848 {(
char *)
"disown", (PyCFunction)
SwigPyObject_disown, METH_VARARGS, (
char *)
"releases ownership of the pointer"},
1849 {(
char *)
"acquire", (PyCFunction)
SwigPyObject_acquire, METH_VARARGS, (
char *)
"acquires ownership of the pointer"},
1850 {(
char *)
"own", (PyCFunction)
SwigPyObject_own, METH_VARARGS, (
char *)
"returns/sets ownership of the pointer"},
1851 {(
char *)
"append", (PyCFunction)
SwigPyObject_append, METH_VARARGS, (
char *)
"appends another 'this' object"},
1852 {(
char *)
"next", (PyCFunction)
SwigPyObject_next, METH_VARARGS, (
char *)
"returns the next 'this' object"},
1853 {(
char *)
"__repr__",(PyCFunction)
SwigPyObject_repr, METH_VARARGS, (
char *)
"returns object representation"},
1858 #if PY_VERSION_HEX < 0x02020000 1862 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1868 static char swigobject_doc[] =
"Swig object carries a C/C++ instance pointer";
1870 static PyNumberMethods SwigPyObject_as_number = {
1875 #
if PY_VERSION_HEX < 0x03000000
1891 #
if PY_VERSION_HEX < 0x03000000
1895 #if PY_VERSION_HEX < 0x03000000 1901 #if PY_VERSION_HEX < 0x03000000 1905 #if PY_VERSION_HEX >= 0x03050000 1906 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1907 #elif PY_VERSION_HEX >= 0x03000000 1908 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1909 #elif PY_VERSION_HEX >= 0x02050000 1910 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1911 #elif PY_VERSION_HEX >= 0x02020000 1912 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1913 #elif PY_VERSION_HEX >= 0x02000000 1914 0,0,0,0,0,0,0,0,0,0,0
1918 static PyTypeObject swigpyobject_type;
1919 static int type_init = 0;
1921 const PyTypeObject tmp = {
1922 #if PY_VERSION_HEX >= 0x03000000 1923 PyVarObject_HEAD_INIT(NULL, 0)
1925 PyObject_HEAD_INIT(NULL)
1928 (
char *)
"SwigPyObject",
1933 #
if PY_VERSION_HEX < 0x02020000
1939 #if PY_VERSION_HEX >= 0x03000000 1945 &SwigPyObject_as_number,
1960 #
if PY_VERSION_HEX >= 0x02020000
1982 #
if PY_VERSION_HEX >= 0x02030000
1985 #
if PY_VERSION_HEX >= 0x02060000
1988 #
if PY_VERSION_HEX >= 0x03040000
1995 #
if PY_VERSION_HEX >= 0x02050000
2001 swigpyobject_type = tmp;
2003 #if PY_VERSION_HEX < 0x02020000 2004 swigpyobject_type.ob_type = &PyType_Type;
2006 if (PyType_Ready(&swigpyobject_type) < 0)
2010 return &swigpyobject_type;
2023 return (PyObject *)sobj;
2041 fputs(
"<Swig Packed ", fp);
2078 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
2079 return s ? s : strncmp((
char *)v->
pack, (
char *)w->
pack, 2*v->
size);
2093 || (strcmp((op)->ob_type->tp_name,
"SwigPyPacked") == 0);
2108 static char swigpacked_doc[] =
"Swig object carries a C/C++ instance pointer";
2109 static PyTypeObject swigpypacked_type;
2110 static int type_init = 0;
2112 const PyTypeObject tmp = {
2113 #if PY_VERSION_HEX>=0x03000000 2114 PyVarObject_HEAD_INIT(NULL, 0)
2116 PyObject_HEAD_INIT(NULL)
2119 (
char *)
"SwigPyPacked",
2126 #if PY_VERSION_HEX>=0x03000000 2147 #
if PY_VERSION_HEX >= 0x02020000
2169 #
if PY_VERSION_HEX >= 0x02030000
2172 #
if PY_VERSION_HEX >= 0x02060000
2175 #
if PY_VERSION_HEX >= 0x03040000
2182 #
if PY_VERSION_HEX >= 0x02050000
2188 swigpypacked_type = tmp;
2190 #if PY_VERSION_HEX < 0x02020000 2191 swigpypacked_type.ob_type = &PyType_Type;
2193 if (PyType_Ready(&swigpypacked_type) < 0)
2197 return &swigpypacked_type;
2205 void *pack = malloc(size);
2207 memcpy(pack, ptr, size);
2216 return (PyObject *) sobj;
2224 if (sobj->
size != size)
return 0;
2225 memcpy(ptr, sobj->
pack, size);
2247 if (swig_this == NULL)
2255 #if PY_VERSION_HEX>=0x03000000 2256 #define SWIG_PYTHON_SLOW_GETSET_THIS 2267 #ifdef SWIGPYTHON_BUILTIN 2269 # ifdef PyWeakref_CheckProxy 2270 if (PyWeakref_CheckProxy(pyobj)) {
2271 pyobj = PyWeakref_GET_OBJECT(pyobj);
2281 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) 2282 if (PyInstance_Check(pyobj)) {
2283 obj = _PyInstance_Lookup(pyobj,
SWIG_This());
2285 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
2286 if (dictptr != NULL) {
2287 PyObject *dict = *dictptr;
2288 obj = dict ? PyDict_GetItem(dict,
SWIG_This()) : 0;
2290 #ifdef PyWeakref_CheckProxy 2291 if (PyWeakref_CheckProxy(pyobj)) {
2292 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
2296 obj = PyObject_GetAttr(pyobj,
SWIG_This());
2300 if (PyErr_Occurred()) PyErr_Clear();
2306 obj = PyObject_GetAttr(pyobj,
SWIG_This());
2310 if (PyErr_Occurred()) PyErr_Clear();
2330 int oldown = sobj->
own;
2348 if (obj == Py_None && !implicit_conv) {
2360 void *vptr = sobj->
ptr;
2365 if (ptr) *ptr = vptr;
2385 if (ptr) *ptr = vptr;
2391 *own = *own | sobj->
own;
2397 if (implicit_conv) {
2400 PyObject *klass = data->
klass;
2406 if (PyErr_Occurred()) {
2432 if (!
SWIG_IsOK(res) && obj == Py_None) {
2435 if (PyErr_Occurred())
2447 if (!PyCFunction_Check(obj)) {
2453 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2454 const char *desc = doc ? strstr(doc,
"swig_ptr: ") : 0;
2503 #if (PY_VERSION_HEX >= 0x02020000) 2505 PyObject *newraw = data->
newraw;
2507 inst = PyObject_Call(newraw, data->
newargs, NULL);
2509 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 2510 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2511 if (dictptr != NULL) {
2512 PyObject *dict = *dictptr;
2514 dict = PyDict_New();
2516 PyDict_SetItem(dict,
SWIG_This(), swig_this);
2521 PyObject_SetAttr(inst, key, swig_this);
2525 #if PY_VERSION_HEX >= 0x03000000 2526 inst = ((PyTypeObject*) data->
newargs)->tp_new((PyTypeObject*) data->
newargs, Py_None, Py_None);
2528 PyObject_SetAttr(inst,
SWIG_This(), swig_this);
2529 Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
2532 PyObject *dict = PyDict_New();
2534 PyDict_SetItem(dict,
SWIG_This(), swig_this);
2535 inst = PyInstance_NewRaw(data->
newargs, dict);
2542 #if (PY_VERSION_HEX >= 0x02010000) 2544 PyObject *dict = PyDict_New();
2546 PyDict_SetItem(dict,
SWIG_This(), swig_this);
2547 inst = PyInstance_NewRaw(data->
newargs, dict);
2550 return (PyObject *) inst;
2552 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2556 inst->in_class = (PyClassObject *)data->
newargs;
2557 Py_INCREF(inst->in_class);
2558 inst->in_dict = PyDict_New();
2559 if (inst->in_dict == NULL) {
2563 #ifdef Py_TPFLAGS_HAVE_WEAKREFS 2564 inst->in_weakreflist = NULL;
2566 #ifdef Py_TPFLAGS_GC 2567 PyObject_GC_Init(inst);
2569 PyDict_SetItem(inst->in_dict,
SWIG_This(), swig_this);
2570 return (PyObject *) inst;
2579 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 2580 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2581 if (dictptr != NULL) {
2584 dict = PyDict_New();
2587 PyDict_SetItem(dict,
SWIG_This(), swig_this);
2591 dict = PyObject_GetAttrString(inst, (
char*)
"__dict__");
2592 PyDict_SetItem(dict,
SWIG_This(), swig_this);
2626 if (clientdata && clientdata->
pytype) {
2631 PyObject *next_self = clientdata->
pytype->tp_alloc(clientdata->
pytype, 0);
2632 while (newobj->
next)
2634 newobj->
next = next_self;
2636 #ifdef SWIGPYTHON_BUILTIN 2642 #ifdef SWIGPYTHON_BUILTIN 2651 return (PyObject*) newobj;
2678 #ifdef SWIG_LINK_RUNTIME 2679 void *SWIG_ReturnGlobalTypeList(
void *);
2684 static void *type_pointer = (
void *)0;
2686 if (!type_pointer) {
2687 #ifdef SWIG_LINK_RUNTIME 2688 type_pointer = SWIG_ReturnGlobalTypeList((
void *)0);
2690 # ifdef SWIGPY_USE_CAPSULE 2691 type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0);
2696 if (PyErr_Occurred()) {
2698 type_pointer = (
void *)0;
2705 #if PY_MAJOR_VERSION < 2 2712 if (!PyModule_Check(m)) {
2713 PyErr_SetString(PyExc_TypeError,
"PyModule_AddObject() needs module as first arg");
2717 PyErr_SetString(PyExc_TypeError,
"PyModule_AddObject() needs non-NULL value");
2721 dict = PyModule_GetDict(m);
2724 PyErr_Format(PyExc_SystemError,
"module '%s' has no __dict__",
2725 PyModule_GetName(m));
2728 if (PyDict_SetItemString(dict, name, o))
2736 #ifdef SWIGPY_USE_CAPSULE 2742 #ifdef SWIGPY_USE_CAPSULE 2749 for (i =0; i < swig_module->
size; ++i) {
2762 #if PY_VERSION_HEX >= 0x03000000 2766 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };
2767 PyObject *module = Py_InitModule((
char*)
"swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table);
2769 #ifdef SWIGPY_USE_CAPSULE 2771 if (pointer && module) {
2774 Py_XDECREF(pointer);
2778 if (pointer && module) {
2781 Py_XDECREF(pointer);
2798 PyObject *obj = PyDict_GetItem(cache, key);
2801 #ifdef SWIGPY_USE_CAPSULE 2810 #ifdef SWIGPY_USE_CAPSULE 2811 obj = PyCapsule_New((
void*) descriptor, NULL, NULL);
2813 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2815 PyDict_SetItem(cache, key, obj);
2826 #define SWIG_POINTER_EXCEPTION 0 2827 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) 2828 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) 2833 if (PyErr_Occurred()) {
2835 PyObject *
value = 0;
2836 PyObject *traceback = 0;
2837 PyErr_Fetch(&type, &value, &traceback);
2840 PyObject *old_str = PyObject_Str(value);
2860 if (PyErr_Occurred()) {
2863 PyOS_snprintf(mesg,
sizeof(mesg),
"argument number %d:", argnum);
2875 return ty ? ty->
str :
"";
2882 #if defined(SWIG_COBJECT_TYPES) 2886 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, 'SwigPyObject(%s)' is received",
2893 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2895 PyObject *
str = PyObject_Str(obj);
2898 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, '%s(%s)' is received",
2902 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, '%s' is received",
2909 PyErr_Format(PyExc_TypeError,
"a '%s' is expected", type);
2911 PyErr_Format(PyExc_TypeError,
"unexpected type is received");
2922 #if SWIG_POINTER_EXCEPTION 2932 #ifdef SWIGPYTHON_BUILTIN 2934 SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *
value) {
2935 PyTypeObject *tp = obj->ob_type;
2937 PyObject *encoded_name;
2941 # ifdef Py_USING_UNICODE 2942 if (PyString_Check(name)) {
2943 name = PyUnicode_Decode(PyString_AsString(name), PyString_Size(name), NULL, NULL);
2946 }
else if (!PyUnicode_Check(name))
2948 if (!PyString_Check(name))
2951 PyErr_Format(PyExc_TypeError,
"attribute name must be string, not '%.200s'", name->ob_type->tp_name);
2958 if (PyType_Ready(tp) < 0)
2962 descr = _PyType_Lookup(tp, name);
2965 f = descr->ob_type->tp_descr_set;
2967 if (PyString_Check(name)) {
2968 encoded_name =
name;
2971 encoded_name = PyUnicode_AsUTF8String(name);
2973 PyErr_Format(PyExc_AttributeError,
"'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name));
2974 Py_DECREF(encoded_name);
2976 res = f(descr, obj, value);
2992 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) 2994 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else 3000 #define SWIGTYPE_p_PLGraphicsIn swig_types[0] 3001 #define SWIGTYPE_p_PLcGrid swig_types[1] 3002 #define SWIGTYPE_p_PLcGrid2 swig_types[2] 3003 #define SWIGTYPE_p_char swig_types[3] 3004 #define SWIGTYPE_p_double swig_types[4] 3005 #define SWIGTYPE_p_f_double_double__int swig_types[5] 3006 #define SWIGTYPE_p_f_double_double_p_double_p_double_p_void__void swig_types[6] 3007 #define SWIGTYPE_p_f_int_double_p_char_int_p_void__void swig_types[7] 3008 #define SWIGTYPE_p_f_int_p_double_p_double__void swig_types[8] 3009 #define SWIGTYPE_p_f_int_p_q_const__double_p_q_const__double__void swig_types[9] 3010 #define SWIGTYPE_p_int swig_types[10] 3011 #define SWIGTYPE_p_p_char swig_types[11] 3012 #define SWIGTYPE_p_p_double swig_types[12] 3013 #define SWIGTYPE_p_unsigned_int swig_types[13] 3016 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 3017 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 3021 #if (PY_VERSION_HEX <= 0x02000000) 3022 # if !defined(SWIG_PYTHON_CLASSIC) 3023 # error "This python version requires swig to be run with the '-classic' option" 3030 #if PY_VERSION_HEX >= 0x03000000 3031 # define SWIG_init PyInit__plplotc 3034 # define SWIG_init init_plplotc 3037 #define SWIG_name "_plplotc" 3039 #define SWIGVERSION 0x030012 3040 #define SWIG_VERSION SWIGVERSION 3043 #define SWIG_as_voidptr(a) (void *)((const void *)(a)) 3044 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a)) 3047 #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION 3048 #include <arrayobject.h> 3052 #define NPY_PLINT NPY_INT32 3055 #define NPY_PLFLT NPY_FLOAT64 3057 #define NPY_PLFLT NPY_FLOAT32 3061 #if !defined ( PySequence_Fast_GET_ITEM ) 3062 #define PySequence_Fast_GET_ITEM PySequence_GetItem 3064 #define PySequence_Size PySequence_Length 3075 if (PyFloat_Check(obj)) {
3076 if (val) *val = PyFloat_AsDouble(obj);
3078 #if PY_VERSION_HEX < 0x03000000 3079 }
else if (PyInt_Check(obj)) {
3080 if (val) *val = (double) PyInt_AsLong(obj);
3083 }
else if (PyLong_Check(obj)) {
3084 double v = PyLong_AsDouble(obj);
3085 if (!PyErr_Occurred()) {
3092 #ifdef SWIG_PYTHON_CAST_MODE 3095 double d = PyFloat_AsDouble(obj);
3096 if (!PyErr_Occurred()) {
3103 long v = PyLong_AsLong(obj);
3104 if (!PyErr_Occurred()) {
3117 #define SWIG_From_double PyFloat_FromDouble 3132 return PyInt_FromLong((
long) value);
3137 #if !defined(SWIG_NO_LLONG_MAX) 3138 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__) 3139 # define LLONG_MAX __LONG_LONG_MAX__ 3140 # define LLONG_MIN (-LLONG_MAX - 1LL) 3141 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) 3155 if ((min <= x && x <= max)) {
3156 double fx = floor(x);
3157 double cx = ceil(x);
3158 double rd = ((x - fx) < 0.5) ? fx : cx;
3159 if ((errno == EDOM) || (errno == ERANGE)) {
3162 double summ, reps, diff;
3165 }
else if (rd > x) {
3172 if (reps < 8*DBL_EPSILON) {
3185 #if PY_VERSION_HEX < 0x03000000 3186 if (PyInt_Check(obj)) {
3187 if (val) *val = PyInt_AsLong(obj);
3191 if (PyLong_Check(obj)) {
3192 long v = PyLong_AsLong(obj);
3193 if (!PyErr_Occurred()) {
3201 #ifdef SWIG_PYTHON_CAST_MODE 3204 long v = PyInt_AsLong(obj);
3205 if (!PyErr_Occurred()) {
3215 if (val) *val = (long)(d);
3231 if ((v < INT_MIN || v > INT_MAX)) {
3234 if (val) *val = (int)(v);
3244 #if PY_VERSION_HEX < 0x03000000 3245 if (PyInt_Check(obj)) {
3246 long v = PyInt_AsLong(obj);
3255 if (PyLong_Check(obj)) {
3256 unsigned long v = PyLong_AsUnsignedLong(obj);
3257 if (!PyErr_Occurred()) {
3265 #ifdef SWIG_PYTHON_CAST_MODE 3268 unsigned long v = PyLong_AsUnsignedLong(obj);
3269 if (!PyErr_Occurred()) {
3279 if (val) *val = (
unsigned long)(d);
3295 if ((v > UINT_MAX)) {
3298 if (val) *val = (
unsigned int)(v);
3315 static int init = 0;
3328 #if PY_VERSION_HEX>=0x03000000 3329 #if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3330 if (PyBytes_Check(obj))
3332 if (PyUnicode_Check(obj))
3335 if (PyString_Check(obj))
3339 #if PY_VERSION_HEX>=0x03000000 3340 #if !defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3341 if (!alloc && cptr) {
3348 obj = PyUnicode_AsUTF8String(obj);
3351 PyBytes_AsStringAndSize(obj, &cstr, &len);
3366 #if defined(SWIG_PYTHON_SAFE_CSTRINGS) 3372 *cptr = (
char *)memcpy(malloc((len + 1)*
sizeof(
char)), cstr,
sizeof(char)*(len + 1));
3379 #if PY_VERSION_HEX>=0x03000000 3380 #if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3381 *cptr = PyBytes_AsString(obj);
3390 if (psize) *psize = len + 1;
3391 #if PY_VERSION_HEX>=0x03000000 && !defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3396 #if defined(SWIG_PYTHON_2_UNICODE) 3397 #if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3398 #error "Cannot use both SWIG_PYTHON_2_UNICODE and SWIG_PYTHON_STRICT_BYTE_CHAR at once" 3400 #if PY_VERSION_HEX<0x03000000 3401 if (PyUnicode_Check(obj)) {
3403 if (!alloc && cptr) {
3406 obj = PyUnicode_AsUTF8String(obj);
3410 *cptr = (
char *)memcpy(malloc((len + 1)*
sizeof(
char)), cstr,
sizeof(char)*(len + 1));
3412 if (psize) *psize = len + 1;
3424 if (pchar_descriptor) {
3427 if (cptr) *cptr = (
char *) vptr;
3428 if (psize) *psize = vptr ? (strlen((
char *)vptr) + 1) : 0;
3441 char* cptr = 0;
size_t csize = 0;
int alloc =
SWIG_OLDOBJ;
3445 if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
3446 if (csize <= size) {
3448 if (csize) memcpy(val, cptr, csize*
sizeof(
char));
3449 if (csize < size) memset(val + csize, 0, (size - csize)*
sizeof(
char));
3467 if (size > INT_MAX) {
3469 return pchar_descriptor ?
3472 #if PY_VERSION_HEX >= 0x03000000 3473 #if defined(SWIG_PYTHON_STRICT_BYTE_CHAR) 3474 return PyBytes_FromStringAndSize(carray, (
Py_ssize_t)(size));
3476 #if PY_VERSION_HEX >= 0x03010000 3477 return PyUnicode_DecodeUTF8(carray, (
Py_ssize_t)(size),
"surrogateescape");
3479 return PyUnicode_FromStringAndSize(carray, (
Py_ssize_t)(size));
3483 return PyString_FromStringAndSize(carray, (
Py_ssize_t)(size));
3496 for (p = s; maxlen-- && *p; p++)
3505 #define t_output_helper SWIG_Python_AppendOutput 3516 if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
3517 if (val) *val = (char)(v);
3535 PyArrayObject* tmp = (PyArrayObject *) PyArray_ContiguousFromObject( in,
NPY_PLINT,
3540 if ( PyArray_Check( in ) )
3543 tmp = (PyArrayObject *) PyArray_Cast( (PyArrayObject *) in,
NPY_PLINT );
3550 #define myArray_ContiguousFromObject PyArray_ContiguousFromObject 3553 PyObject *resultobj = 0;
3556 PLFLT *arg3 = (PLFLT *) 0 ;
3557 PLFLT *arg4 = (PLFLT *) 0 ;
3567 PyObject * obj0 = 0 ;
3568 PyObject * obj1 = 0 ;
3575 if (!PyArg_ParseTuple(args,(
char *)
"OO:pltr0",&obj0,&obj1))
SWIG_fail;
3580 arg1 = (
PLFLT)(val1);
3585 arg2 = (
PLFLT)(val2);
3586 pltr0(arg1,arg2,arg3,arg4,arg5);
3621 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two arrays." );
3628 if ( pltr_xg == 0 || pltr_yg == 0 )
3630 PyErr_SetString( PyExc_ValueError,
"Expected a sequence to two 1D arrays." );
3633 tmpGrid1.
nx = (
PLINT) PyArray_DIMS( pltr_xg )[0];
3634 tmpGrid1.
ny = (
PLINT) PyArray_DIMS( pltr_yg )[0];
3637 if ( Xlen != tmpGrid1.
nx ||
Ylen != tmpGrid1.
ny )
3639 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg." );
3645 if ( Xlen != tmpGrid1.
nx - 1 ||
Ylen != tmpGrid1.
ny - 1 )
3647 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg + 1." );
3651 tmpGrid1.
xg = (PLFLT *) PyArray_DATA( pltr_xg );
3652 tmpGrid1.
yg = (PLFLT *) PyArray_DATA( pltr_yg );
3659 Py_CLEAR( pltr_xg );
3660 Py_CLEAR( pltr_yg );
3669 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two arrays." );
3676 if ( pltr_xg == 0 || pltr_yg == 0 )
3678 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two 2D arrays." );
3681 if ( PyArray_DIMS( pltr_xg )[0] != PyArray_DIMS( pltr_yg )[0] ||
3682 PyArray_DIMS( pltr_xg )[1] != PyArray_DIMS( pltr_yg )[1] )
3684 PyErr_SetString( PyExc_ValueError,
"Arrays must be same size." );
3687 tmpGrid2.
nx = (
PLINT) PyArray_DIMS( pltr_xg )[0];
3688 tmpGrid2.
ny = (
PLINT) PyArray_DIMS( pltr_xg )[1];
3691 if ( Xlen != tmpGrid2.
nx ||
Ylen != tmpGrid2.
ny )
3693 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg." );
3699 if ( Xlen != tmpGrid2.
nx - 1 ||
Ylen != tmpGrid2.
ny - 1 )
3701 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg + 1." );
3706 tmpGrid2.
xg = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) tmpGrid2.
nx );
3707 for ( i = 0; i < tmpGrid2.
nx; i++ )
3708 tmpGrid2.
xg[i] = ( (PLFLT *) PyArray_DATA( pltr_xg ) + i * size );
3709 tmpGrid2.
yg = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) tmpGrid2.
nx );
3710 for ( i = 0; i < tmpGrid2.
nx; i++ )
3711 tmpGrid2.
yg[i] = ( (PLFLT *) PyArray_DATA( pltr_yg ) + i * size );
3718 free( tmpGrid2.
xg );
3719 free( tmpGrid2.
yg );
3720 Py_CLEAR( pltr_xg );
3721 Py_CLEAR( pltr_yg );
3725 PyObject *resultobj = 0;
3728 PLFLT *arg3 = (PLFLT *) 0 ;
3729 PLFLT *arg4 = (PLFLT *) 0 ;
3739 PyObject * obj0 = 0 ;
3740 PyObject * obj1 = 0 ;
3741 PyObject * obj2 = 0 ;
3745 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pltr1",&obj0,&obj1,&obj2))
SWIG_fail;
3750 arg1 = (
PLFLT)(val1);
3755 arg2 = (
PLFLT)(val2);
3761 pltr1(arg1,arg2,arg3,arg4,arg5);
3788 PyObject *resultobj = 0;
3791 PLFLT *arg3 = (PLFLT *) 0 ;
3792 PLFLT *arg4 = (PLFLT *) 0 ;
3802 PyObject * obj0 = 0 ;
3803 PyObject * obj1 = 0 ;
3804 PyObject * obj2 = 0 ;
3808 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pltr2",&obj0,&obj1,&obj2))
SWIG_fail;
3813 arg1 = (
PLFLT)(val1);
3818 arg2 = (
PLFLT)(val2);
3824 pltr2(arg1,arg2,arg3,arg4,arg5);
3853 static PyInterpreterState *save_interp = NULL;
3863 #define MY_BLOCK_THREADS { \ 3864 PyThreadState *prev_state, *new_state; \ 3867 PyEval_AcquireLock(); \ 3868 new_state = PyThreadState_New( save_interp ); \ 3869 prev_state = PyThreadState_Swap( new_state ); 3870 #define MY_UNBLOCK_THREADS \ 3871 new_state = PyThreadState_Swap( prev_state ); \ 3872 PyThreadState_Clear( new_state ); \ 3873 PyEval_ReleaseLock(); \ 3874 PyThreadState_Delete( new_state ); \ 3877 #define MY_BLOCK_THREADS 3878 #define MY_UNBLOCK_THREADS 3901 PyObject *pdata, *arglist, *result;
3905 pdata = (PyObject *) data;
3912 Py_XINCREF( pdata );
3917 arglist = Py_BuildValue(
"(ddO)", x, y, pdata );
3919 arglist = Py_BuildValue(
"(ffO)", x, y, pdata );
3921 if ( arglist == NULL )
3923 fprintf( stderr,
"Py_BuildValue failed to make argument list.\n" );
3928 result = PyEval_CallObject( python_pltr, arglist );
3930 Py_CLEAR( arglist );
3932 if ( result == NULL )
3934 fprintf( stderr,
"call to python pltr function with 3 arguments failed\n" );
3935 PyErr_SetString( PyExc_RuntimeError,
"pltr callback must take 3 arguments." );
3941 if ( tmp == 0 || PyArray_DIMS( tmp )[0] != 2 )
3943 fprintf( stderr,
"pltr callback must return a 2 element array or sequence\n" );
3944 PyErr_SetString( PyExc_RuntimeError,
"pltr callback must return a 2-sequence." );
3949 PLFLT* t = (PLFLT *) PyArray_DATA( tmp );
3964 PyObject *pdata, *arglist, *result;
3965 PLFLT fresult = 0.0;
3968 pdata = (PyObject *) data;
3969 if ( python_f2eval )
3971 Py_XINCREF( pdata );
3975 arglist = Py_BuildValue(
"(iiO)", x, y, pdata );
3977 result = PyEval_CallObject( python_f2eval, arglist );
3979 Py_CLEAR( arglist );
3981 if ( !PyFloat_Check( result ) )
3983 fprintf( stderr,
"f2eval callback must return a float\n" );
3984 PyErr_SetString( PyExc_RuntimeError,
"f2eval callback must return a float." );
3989 fresult = (
PLFLT) PyFloat_AsDouble( result );
4001 PyObject *pdata, *arglist, *result, *unicode_string;
4006 pdata = (PyObject *) data;
4011 Py_XINCREF( pdata );
4016 arglist = Py_BuildValue(
"(ldO)", axis, value, pdata );
4018 arglist = Py_BuildValue(
"(lfO)", axis, value, pdata );
4021 result = PyEval_CallObject( python_label, arglist );
4025 if ( result == NULL )
4027 fprintf( stderr,
"label callback failed with 3 arguments\n" );
4028 PyErr_SetString( PyExc_RuntimeError,
"label callback must take 3 arguments." );
4030 else if ( PyString_Check( result ) )
4033 pystring = PyString_AsString( result );
4034 strncpy(
string, pystring, len );
4036 else if ( PyUnicode_Check( result ) )
4039 unicode_string = PyUnicode_AsEncodedString( result,
"utf-8",
"Error ~" );
4040 pystring = PyBytes_AS_STRING( unicode_string );
4042 strncpy(
string, pystring, len );
4046 fprintf( stderr,
"label callback must return a string\n" );
4047 PyErr_SetString( PyExc_RuntimeError,
"label callback must return a string." );
4058 PyObject *px, *py, *pdata, *arglist, *result;
4063 pdata = (PyObject *) data;
4070 Py_XINCREF( pdata );
4074 px = PyArray_SimpleNewFromData( 1, &n,
NPY_PLFLT, (
void *) xt );
4075 py = PyArray_SimpleNewFromData( 1, &n,
NPY_PLFLT, (
void *) yt );
4076 arglist = Py_BuildValue(
"(ddOOO)", x, y, px, py, pdata );
4078 result = PyEval_CallObject( python_ct, arglist );
4080 Py_CLEAR( arglist );
4085 if ( result == NULL )
4087 fprintf( stderr,
"call to python coordinate transform function with 5 arguments failed\n" );
4088 PyErr_SetString( PyExc_RuntimeError,
"coordinate transform callback must take 5 arguments." );
4099 PyObject *px, *py, *arglist, *result;
4106 if ( python_mapform )
4110 #ifdef PL_HAVE_PTHREAD 4111 px = PyArray_SimpleNewFromData( 1, &nn,
NPY_PLFLT, (
void *) x );
4112 py = PyArray_SimpleNewFromData( 1, &nn,
NPY_PLFLT, (
void *) y );
4114 px = PyArray_FromDimsAndData( 1, &n,
NPY_PLFLT, (
char *) x );
4115 py = PyArray_FromDimsAndData( 1, &n,
NPY_PLFLT, (
char *) y );
4117 arglist = Py_BuildValue(
"(iOO)", n, px, py );
4119 result = PyEval_CallObject( python_mapform, arglist );
4121 Py_CLEAR( arglist );
4125 if ( result == NULL )
4127 fprintf( stderr,
"call to python mapform function with 3 arguments failed\n" );
4128 PyErr_SetString( PyExc_RuntimeError,
"mapform callback must take 3 arguments." );
4141 PyObject * rep = PyObject_Repr( input );
4146 if ( PyUnicode_Check( rep ) )
4148 PyObject *uni_str = PyUnicode_AsEncodedString( rep,
"utf-8",
"Error ~" );
4149 str = PyBytes_AS_STRING( uni_str );
4153 str = PyString_AsString( rep );
4155 if ( strstr( str,
"function pltr0" ) != 0 )
4161 else if ( strstr( str,
"function pltr1" ) != 0 )
4167 else if ( strstr( str,
"function pltr2" ) != 0 )
4175 python_pltr = input;
4177 Py_XINCREF( input );
4183 python_pltr = input;
4185 Py_XINCREF( input );
4192 Py_CLEAR( python_pltr );
4201 Py_XINCREF( input );
4207 Py_CLEAR( python_ct );
4215 python_mapform = input;
4216 Py_XINCREF( input );
4222 Py_CLEAR( python_mapform );
4229 switch ( pltr_type )
4234 if ( input != Py_None )
4238 if ( input != Py_None )
4242 Py_XINCREF( input );
4246 fprintf( stderr,
"pltr_type is invalid\n" );
4253 switch ( pltr_type )
4264 Py_CLEAR( python_pltr );
4267 fprintf( stderr,
"pltr_type is invalid\n" );
4276 PyObject *resultobj = 0;
4283 PyObject * obj0 = 0 ;
4284 PyObject * obj1 = 0 ;
4286 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_type_set",&obj0,&obj1))
SWIG_fail;
4297 if (arg1) (arg1)->type = arg2;
4306 PyObject *resultobj = 0;
4310 PyObject * obj0 = 0 ;
4313 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_type_get",&obj0))
SWIG_fail;
4319 result = (int) ((arg1)->type);
4328 PyObject *resultobj = 0;
4335 PyObject * obj0 = 0 ;
4336 PyObject * obj1 = 0 ;
4338 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_state_set",&obj0,&obj1))
SWIG_fail;
4348 arg2 = (
unsigned int)(val2);
4349 if (arg1) (arg1)->state = arg2;
4358 PyObject *resultobj = 0;
4362 PyObject * obj0 = 0 ;
4363 unsigned int result;
4365 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_state_get",&obj0))
SWIG_fail;
4371 result = (
unsigned int) ((arg1)->state);
4380 PyObject *resultobj = 0;
4387 PyObject * obj0 = 0 ;
4388 PyObject * obj1 = 0 ;
4390 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_keysym_set",&obj0,&obj1))
SWIG_fail;
4400 arg2 = (
unsigned int)(val2);
4401 if (arg1) (arg1)->keysym = arg2;
4410 PyObject *resultobj = 0;
4414 PyObject * obj0 = 0 ;
4415 unsigned int result;
4417 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_keysym_get",&obj0))
SWIG_fail;
4423 result = (
unsigned int) ((arg1)->keysym);
4432 PyObject *resultobj = 0;
4439 PyObject * obj0 = 0 ;
4440 PyObject * obj1 = 0 ;
4442 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_button_set",&obj0,&obj1))
SWIG_fail;
4452 arg2 = (
unsigned int)(val2);
4453 if (arg1) (arg1)->button = arg2;
4462 PyObject *resultobj = 0;
4466 PyObject * obj0 = 0 ;
4467 unsigned int result;
4469 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_button_get",&obj0))
SWIG_fail;
4475 result = (
unsigned int) ((arg1)->button);
4484 PyObject *resultobj = 0;
4491 PyObject * obj0 = 0 ;
4492 PyObject * obj1 = 0 ;
4494 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_subwindow_set",&obj0,&obj1))
SWIG_fail;
4504 arg2 = (
PLINT)(val2);
4505 if (arg1) (arg1)->subwindow = arg2;
4514 PyObject *resultobj = 0;
4518 PyObject * obj0 = 0 ;
4521 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_subwindow_get",&obj0))
SWIG_fail;
4527 result = (
PLINT) ((arg1)->subwindow);
4536 PyObject *resultobj = 0;
4543 PyObject * obj0 = 0 ;
4544 PyObject * obj1 = 0 ;
4546 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_string_set",&obj0,&obj1))
SWIG_fail;
4556 arg2 = (
char *)(temp2);
4557 if (arg2) memcpy(arg1->
string,arg2,16*
sizeof(
char));
4558 else memset(arg1->
string,0,16*
sizeof(
char));
4567 PyObject *resultobj = 0;
4571 PyObject * obj0 = 0 ;
4574 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_string_get",&obj0))
SWIG_fail;
4580 result = (
char *)(
char *) ((arg1)->
string);
4595 PyObject *resultobj = 0;
4602 PyObject * obj0 = 0 ;
4603 PyObject * obj1 = 0 ;
4605 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_pX_set",&obj0,&obj1))
SWIG_fail;
4616 if (arg1) (arg1)->pX = arg2;
4625 PyObject *resultobj = 0;
4629 PyObject * obj0 = 0 ;
4632 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_pX_get",&obj0))
SWIG_fail;
4638 result = (int) ((arg1)->pX);
4647 PyObject *resultobj = 0;
4654 PyObject * obj0 = 0 ;
4655 PyObject * obj1 = 0 ;
4657 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_pY_set",&obj0,&obj1))
SWIG_fail;
4668 if (arg1) (arg1)->pY = arg2;
4677 PyObject *resultobj = 0;
4681 PyObject * obj0 = 0 ;
4684 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_pY_get",&obj0))
SWIG_fail;
4690 result = (int) ((arg1)->pY);
4699 PyObject *resultobj = 0;
4706 PyObject * obj0 = 0 ;
4707 PyObject * obj1 = 0 ;
4709 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_dX_set",&obj0,&obj1))
SWIG_fail;
4719 arg2 = (
PLFLT)(val2);
4720 if (arg1) (arg1)->dX = arg2;
4729 PyObject *resultobj = 0;
4733 PyObject * obj0 = 0 ;
4736 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_dX_get",&obj0))
SWIG_fail;
4742 result = (
PLFLT) ((arg1)->dX);
4751 PyObject *resultobj = 0;
4758 PyObject * obj0 = 0 ;
4759 PyObject * obj1 = 0 ;
4761 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_dY_set",&obj0,&obj1))
SWIG_fail;
4771 arg2 = (
PLFLT)(val2);
4772 if (arg1) (arg1)->dY = arg2;
4781 PyObject *resultobj = 0;
4785 PyObject * obj0 = 0 ;
4788 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_dY_get",&obj0))
SWIG_fail;
4794 result = (
PLFLT) ((arg1)->dY);
4803 PyObject *resultobj = 0;
4810 PyObject * obj0 = 0 ;
4811 PyObject * obj1 = 0 ;
4813 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_wX_set",&obj0,&obj1))
SWIG_fail;
4823 arg2 = (
PLFLT)(val2);
4824 if (arg1) (arg1)->wX = arg2;
4833 PyObject *resultobj = 0;
4837 PyObject * obj0 = 0 ;
4840 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_wX_get",&obj0))
SWIG_fail;
4846 result = (
PLFLT) ((arg1)->wX);
4855 PyObject *resultobj = 0;
4862 PyObject * obj0 = 0 ;
4863 PyObject * obj1 = 0 ;
4865 if (!PyArg_ParseTuple(args,(
char *)
"OO:PLGraphicsIn_wY_set",&obj0,&obj1))
SWIG_fail;
4875 arg2 = (
PLFLT)(val2);
4876 if (arg1) (arg1)->wY = arg2;
4885 PyObject *resultobj = 0;
4889 PyObject * obj0 = 0 ;
4892 if (!PyArg_ParseTuple(args,(
char *)
"O:PLGraphicsIn_wY_get",&obj0))
SWIG_fail;
4898 result = (
PLFLT) ((arg1)->wY);
4907 PyObject *resultobj = 0;
4910 if (!PyArg_ParseTuple(args,(
char *)
":new_PLGraphicsIn"))
SWIG_fail;
4920 PyObject *resultobj = 0;
4924 PyObject * obj0 = 0 ;
4926 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_PLGraphicsIn",&obj0))
SWIG_fail;
4932 free((
char *) arg1);
4942 if (!PyArg_ParseTuple(args,(
char *)
"O:swigregister", &obj))
return NULL;
4948 PyObject *resultobj = 0;
4952 PyObject * obj0 = 0 ;
4954 if (!PyArg_ParseTuple(args,(
char *)
"O:plsxwin",&obj0))
SWIG_fail;
4959 arg1 = (
PLINT)(val1);
4969 PyObject *resultobj = 0;
4976 PyObject * obj0 = 0 ;
4977 PyObject * obj1 = 0 ;
4979 if (!PyArg_ParseTuple(args,(
char *)
"OO:pl_setcontlabelformat",&obj0,&obj1))
SWIG_fail;
4984 arg1 = (
PLINT)(val1);
4989 arg2 = (
PLINT)(val2);
4999 PyObject *resultobj = 0;
5012 PyObject * obj0 = 0 ;
5013 PyObject * obj1 = 0 ;
5014 PyObject * obj2 = 0 ;
5015 PyObject * obj3 = 0 ;
5017 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:pl_setcontlabelparam",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
5022 arg1 = (
PLFLT)(val1);
5027 arg2 = (
PLFLT)(val2);
5032 arg3 = (
PLFLT)(val3);
5037 arg4 = (
PLINT)(val4);
5047 PyObject *resultobj = 0;
5051 PyObject * obj0 = 0 ;
5053 if (!PyArg_ParseTuple(args,(
char *)
"O:pladv",&obj0))
SWIG_fail;
5058 arg1 = (
PLINT)(val1);
5068 PyObject *resultobj = 0;
5093 PyObject * obj0 = 0 ;
5094 PyObject * obj1 = 0 ;
5095 PyObject * obj2 = 0 ;
5096 PyObject * obj3 = 0 ;
5097 PyObject * obj4 = 0 ;
5098 PyObject * obj5 = 0 ;
5099 PyObject * obj6 = 0 ;
5100 PyObject * obj7 = 0 ;
5102 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plarc",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
5107 arg1 = (
PLFLT)(val1);
5112 arg2 = (
PLFLT)(val2);
5117 arg3 = (
PLFLT)(val3);
5122 arg4 = (
PLFLT)(val4);
5127 arg5 = (
PLFLT)(val5);
5132 arg6 = (
PLFLT)(val6);
5137 arg7 = (
PLFLT)(val7);
5143 plarc(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5152 PyObject *resultobj = 0;
5155 char *arg3 = (
char *) 0 ;
5158 char *arg6 = (
char *) 0 ;
5179 PyObject * obj0 = 0 ;
5180 PyObject * obj1 = 0 ;
5181 PyObject * obj2 = 0 ;
5182 PyObject * obj3 = 0 ;
5183 PyObject * obj4 = 0 ;
5184 PyObject * obj5 = 0 ;
5185 PyObject * obj6 = 0 ;
5186 PyObject * obj7 = 0 ;
5188 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plaxes",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
5193 arg1 = (
PLFLT)(val1);
5198 arg2 = (
PLFLT)(val2);
5203 arg3 = (
char *)(buf3);
5208 arg4 = (
PLFLT)(val4);
5213 arg5 = (
PLINT)(val5);
5218 arg6 = (
char *)(buf6);
5223 arg7 = (
PLFLT)(val7);
5228 arg8 = (
PLINT)(val8);
5229 plaxes(arg1,arg2,(
char const *)arg3,arg4,arg5,(
char const *)arg6,arg7,arg8);
5242 PyObject *resultobj = 0;
5244 PLFLT *arg2 = (PLFLT *) 0 ;
5245 PLFLT *arg3 = (PLFLT *) 0 ;
5247 PyArrayObject *tmp1 = NULL ;
5248 PyArrayObject *tmp3 = NULL ;
5251 PyObject * obj0 = 0 ;
5252 PyObject * obj1 = 0 ;
5253 PyObject * obj2 = 0 ;
5255 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plbin",&obj0,&obj1,&obj2))
SWIG_fail;
5260 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
5261 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
5267 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
5269 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
5272 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
5278 arg4 = (
PLINT)(val4);
5279 plbin(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
5300 PyObject *resultobj = 0;
5301 PLINT *arg1 = (PLINT *) 0 ;
5302 PLINT *arg2 = (PLINT *) 0 ;
5303 PLINT *arg3 = (PLINT *) 0 ;
5304 PLINT *arg4 = (PLINT *) 0 ;
5305 PLINT *arg5 = (PLINT *) 0 ;
5306 PLFLT *arg6 = (PLFLT *) 0 ;
5322 PyObject * obj0 = 0 ;
5330 if (!PyArg_ParseTuple(args,(
char *)
"O:plbtime",&obj0))
SWIG_fail;
5335 arg7 = (
PLFLT)(val7);
5336 plbtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5381 PyObject *resultobj = 0;
5383 if (!PyArg_ParseTuple(args,(
char *)
":plbop"))
SWIG_fail;
5393 PyObject *resultobj = 0;
5394 char *arg1 = (
char *) 0 ;
5397 char *arg4 = (
char *) 0 ;
5414 PyObject * obj0 = 0 ;
5415 PyObject * obj1 = 0 ;
5416 PyObject * obj2 = 0 ;
5417 PyObject * obj3 = 0 ;
5418 PyObject * obj4 = 0 ;
5419 PyObject * obj5 = 0 ;
5421 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plbox",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
5426 arg1 = (
char *)(buf1);
5431 arg2 = (
PLFLT)(val2);
5436 arg3 = (
PLINT)(val3);
5441 arg4 = (
char *)(buf4);
5446 arg5 = (
PLFLT)(val5);
5451 arg6 = (
PLINT)(val6);
5452 plbox((
char const *)arg1,arg2,arg3,(
char const *)arg4,arg5,arg6);
5465 PyObject *resultobj = 0;
5466 char *arg1 = (
char *) 0 ;
5467 char *arg2 = (
char *) 0 ;
5470 char *arg5 = (
char *) 0 ;
5471 char *arg6 = (
char *) 0 ;
5474 char *arg9 = (
char *) 0 ;
5475 char *arg10 = (
char *) 0 ;
5508 PyObject * obj0 = 0 ;
5509 PyObject * obj1 = 0 ;
5510 PyObject * obj2 = 0 ;
5511 PyObject * obj3 = 0 ;
5512 PyObject * obj4 = 0 ;
5513 PyObject * obj5 = 0 ;
5514 PyObject * obj6 = 0 ;
5515 PyObject * obj7 = 0 ;
5516 PyObject * obj8 = 0 ;
5517 PyObject * obj9 = 0 ;
5518 PyObject * obj10 = 0 ;
5519 PyObject * obj11 = 0 ;
5521 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOOO:plbox3",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11))
SWIG_fail;
5526 arg1 = (
char *)(buf1);
5531 arg2 = (
char *)(buf2);
5536 arg3 = (
PLFLT)(val3);
5541 arg4 = (
PLINT)(val4);
5546 arg5 = (
char *)(buf5);
5551 arg6 = (
char *)(buf6);
5556 arg7 = (
PLFLT)(val7);
5561 arg8 = (
PLINT)(val8);
5566 arg9 = (
char *)(buf9);
5571 arg10 = (
char *)(buf10);
5576 arg11 = (
PLFLT)(val11);
5581 arg12 = (
PLINT)(val12);
5582 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);
5603 PyObject *resultobj = 0;
5606 PLFLT *arg3 = (PLFLT *) 0 ;
5607 PLFLT *arg4 = (PLFLT *) 0 ;
5608 PLINT *arg5 = (PLINT *) 0 ;
5619 PyObject * obj0 = 0 ;
5620 PyObject * obj1 = 0 ;
5625 if (!PyArg_ParseTuple(args,(
char *)
"OO:plcalc_world",&obj0,&obj1))
SWIG_fail;
5630 arg1 = (
PLFLT)(val1);
5635 arg2 = (
PLFLT)(val2);
5663 PyObject *resultobj = 0;
5665 if (!PyArg_ParseTuple(args,(
char *)
":plclear"))
SWIG_fail;
5675 PyObject *resultobj = 0;
5679 PyObject * obj0 = 0 ;
5681 if (!PyArg_ParseTuple(args,(
char *)
"O:plcol0",&obj0))
SWIG_fail;
5686 arg1 = (
PLINT)(val1);
5696 PyObject *resultobj = 0;
5700 PyObject * obj0 = 0 ;
5702 if (!PyArg_ParseTuple(args,(
char *)
"O:plcol1",&obj0))
SWIG_fail;
5707 arg1 = (
PLFLT)(val1);
5717 PyObject *resultobj = 0;
5751 PyObject * obj0 = 0 ;
5752 PyObject * obj1 = 0 ;
5753 PyObject * obj2 = 0 ;
5754 PyObject * obj3 = 0 ;
5755 PyObject * obj4 = 0 ;
5756 PyObject * obj5 = 0 ;
5757 PyObject * obj6 = 0 ;
5758 PyObject * obj7 = 0 ;
5759 PyObject * obj8 = 0 ;
5760 PyObject * obj9 = 0 ;
5761 PyObject * obj10 = 0 ;
5763 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plconfigtime",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
5768 arg1 = (
PLFLT)(val1);
5773 arg2 = (
PLFLT)(val2);
5778 arg3 = (
PLFLT)(val3);
5783 arg4 = (
PLINT)(val4);
5793 arg6 = (
PLINT)(val6);
5798 arg7 = (
PLINT)(val7);
5803 arg8 = (
PLINT)(val8);
5808 arg9 = (
PLINT)(val9);
5813 arg10 = (
PLINT)(val10);
5818 arg11 = (
PLFLT)(val11);
5819 plconfigtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
5828 PyObject *resultobj = 0;
5829 PLFLT **arg1 = (PLFLT **) 0 ;
5836 PLFLT *arg8 = (PLFLT *) 0 ;
5840 PyArrayObject *tmp1 = NULL ;
5849 PyArrayObject *tmp8 = NULL ;
5850 PyObject * obj0 = 0 ;
5851 PyObject * obj1 = 0 ;
5852 PyObject * obj2 = 0 ;
5853 PyObject * obj3 = 0 ;
5854 PyObject * obj4 = 0 ;
5855 PyObject * obj5 = 0 ;
5856 PyObject * obj6 = 0 ;
5857 PyObject * obj7 = 0 ;
5866 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO|OO:plcont",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
5872 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
5873 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
5875 arg1 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg2 );
5876 for ( i = 0; i < arg2; i++ )
5877 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
5883 arg4 = (
PLINT)(val4);
5888 arg5 = (
PLINT)(val5);
5893 arg6 = (
PLINT)(val6);
5898 arg7 = (
PLINT)(val7);
5903 arg9 = PyArray_DIMS( tmp8 )[0];
5904 arg8 = (PLFLT *) PyArray_DATA( tmp8 );
5909 if ( obj6 == Py_None )
5915 if ( !PyCallable_Check( (PyObject *) obj6 ) )
5917 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
5926 if ( obj7 == Py_None )
5934 plcont((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(
double const *)arg8,arg9,arg10,arg11);
5969 PyObject *resultobj = 0;
5976 PLFLT *arg7 = (PLFLT *) 0 ;
5991 PyObject * obj0 = 0 ;
5992 PyObject * obj1 = 0 ;
5993 PyObject * obj2 = 0 ;
5994 PyObject * obj3 = 0 ;
5995 PyObject * obj4 = 0 ;
5996 PyObject * obj5 = 0 ;
5999 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plctime",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
6004 arg1 = (
PLINT)(val1);
6009 arg2 = (
PLINT)(val2);
6014 arg3 = (
PLINT)(val3);
6019 arg4 = (
PLINT)(val4);
6024 arg5 = (
PLINT)(val5);
6029 arg6 = (
PLFLT)(val6);
6030 plctime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
6045 PyObject *resultobj = 0;
6052 PyObject * obj0 = 0 ;
6053 PyObject * obj1 = 0 ;
6055 if (!PyArg_ParseTuple(args,(
char *)
"OO:plcpstrm",&obj0,&obj1))
SWIG_fail;
6060 arg1 = (
PLINT)(val1);
6075 PyObject *resultobj = 0;
6077 if (!PyArg_ParseTuple(args,(
char *)
":plend"))
SWIG_fail;
6087 PyObject *resultobj = 0;
6089 if (!PyArg_ParseTuple(args,(
char *)
":plend1"))
SWIG_fail;
6099 PyObject *resultobj = 0;
6118 PyObject * obj0 = 0 ;
6119 PyObject * obj1 = 0 ;
6120 PyObject * obj2 = 0 ;
6121 PyObject * obj3 = 0 ;
6122 PyObject * obj4 = 0 ;
6123 PyObject * obj5 = 0 ;
6125 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plenv",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
6130 arg1 = (
PLFLT)(val1);
6135 arg2 = (
PLFLT)(val2);
6140 arg3 = (
PLFLT)(val3);
6145 arg4 = (
PLFLT)(val4);
6150 arg5 = (
PLINT)(val5);
6155 arg6 = (
PLINT)(val6);
6156 plenv(arg1,arg2,arg3,arg4,arg5,arg6);
6165 PyObject *resultobj = 0;
6184 PyObject * obj0 = 0 ;
6185 PyObject * obj1 = 0 ;
6186 PyObject * obj2 = 0 ;
6187 PyObject * obj3 = 0 ;
6188 PyObject * obj4 = 0 ;
6189 PyObject * obj5 = 0 ;
6191 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plenv0",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
6196 arg1 = (
PLFLT)(val1);
6201 arg2 = (
PLFLT)(val2);
6206 arg3 = (
PLFLT)(val3);
6211 arg4 = (
PLFLT)(val4);
6216 arg5 = (
PLINT)(val5);
6221 arg6 = (
PLINT)(val6);
6222 plenv0(arg1,arg2,arg3,arg4,arg5,arg6);
6231 PyObject *resultobj = 0;
6233 if (!PyArg_ParseTuple(args,(
char *)
":pleop"))
SWIG_fail;
6243 PyObject *resultobj = 0;
6245 PLFLT *arg2 = (PLFLT *) 0 ;
6246 PLFLT *arg3 = (PLFLT *) 0 ;
6247 PLFLT *arg4 = (PLFLT *) 0 ;
6248 PyArrayObject *tmp1 = NULL ;
6249 PyArrayObject *tmp3 = NULL ;
6250 PyArrayObject *tmp4 = NULL ;
6251 PyObject * obj0 = 0 ;
6252 PyObject * obj1 = 0 ;
6253 PyObject * obj2 = 0 ;
6255 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plerrx",&obj0,&obj1,&obj2))
SWIG_fail;
6260 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6261 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6267 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6269 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6272 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6278 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6280 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6283 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
6285 plerrx(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6312 PyObject *resultobj = 0;
6314 PLFLT *arg2 = (PLFLT *) 0 ;
6315 PLFLT *arg3 = (PLFLT *) 0 ;
6316 PLFLT *arg4 = (PLFLT *) 0 ;
6317 PyArrayObject *tmp1 = NULL ;
6318 PyArrayObject *tmp3 = NULL ;
6319 PyArrayObject *tmp4 = NULL ;
6320 PyObject * obj0 = 0 ;
6321 PyObject * obj1 = 0 ;
6322 PyObject * obj2 = 0 ;
6324 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plerry",&obj0,&obj1,&obj2))
SWIG_fail;
6329 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6330 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6336 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6338 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6341 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6347 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6349 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6352 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
6354 plerry(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6381 PyObject *resultobj = 0;
6383 if (!PyArg_ParseTuple(args,(
char *)
":plfamadv"))
SWIG_fail;
6393 PyObject *resultobj = 0;
6395 PLFLT *arg2 = (PLFLT *) 0 ;
6396 PLFLT *arg3 = (PLFLT *) 0 ;
6397 PyArrayObject *tmp1 = NULL ;
6398 PyArrayObject *tmp3 = NULL ;
6399 PyObject * obj0 = 0 ;
6400 PyObject * obj1 = 0 ;
6402 if (!PyArg_ParseTuple(args,(
char *)
"OO:plfill",&obj0,&obj1))
SWIG_fail;
6407 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6408 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6414 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6416 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6419 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6421 plfill(arg1,(
double const *)arg2,(
double const *)arg3);
6442 PyObject *resultobj = 0;
6444 PLFLT *arg2 = (PLFLT *) 0 ;
6445 PLFLT *arg3 = (PLFLT *) 0 ;
6446 PLFLT *arg4 = (PLFLT *) 0 ;
6447 PyArrayObject *tmp1 = NULL ;
6448 PyArrayObject *tmp3 = NULL ;
6449 PyArrayObject *tmp4 = NULL ;
6450 PyObject * obj0 = 0 ;
6451 PyObject * obj1 = 0 ;
6452 PyObject * obj2 = 0 ;
6454 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plfill3",&obj0,&obj1,&obj2))
SWIG_fail;
6459 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6460 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6466 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6468 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6471 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6477 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6479 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6482 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
6484 plfill3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6511 PyObject *resultobj = 0;
6513 PLFLT *arg2 = (PLFLT *) 0 ;
6514 PLFLT *arg3 = (PLFLT *) 0 ;
6516 PyArrayObject *tmp1 = NULL ;
6517 PyArrayObject *tmp3 = NULL ;
6520 PyObject * obj0 = 0 ;
6521 PyObject * obj1 = 0 ;
6522 PyObject * obj2 = 0 ;
6524 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plgradient",&obj0,&obj1,&obj2))
SWIG_fail;
6529 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
6530 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
6536 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6538 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6541 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
6547 arg4 = (
PLFLT)(val4);
6548 plgradient(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
6569 PyObject *resultobj = 0;
6571 if (!PyArg_ParseTuple(args,(
char *)
":plflush"))
SWIG_fail;
6581 PyObject *resultobj = 0;
6585 PyObject * obj0 = 0 ;
6587 if (!PyArg_ParseTuple(args,(
char *)
"O:plfont",&obj0))
SWIG_fail;
6592 arg1 = (
PLINT)(val1);
6602 PyObject *resultobj = 0;
6606 PyObject * obj0 = 0 ;
6608 if (!PyArg_ParseTuple(args,(
char *)
"O:plfontld",&obj0))
SWIG_fail;
6613 arg1 = (
PLINT)(val1);
6623 PyObject *resultobj = 0;
6624 PLFLT *arg1 = (PLFLT *) 0 ;
6625 PLFLT *arg2 = (PLFLT *) 0 ;
6633 if (!PyArg_ParseTuple(args,(
char *)
":plgchr"))
SWIG_fail;
6655 PyObject *resultobj = 0;
6657 PLINT *arg2 = (PLINT *) 0 ;
6658 PLINT *arg3 = (PLINT *) 0 ;
6659 PLINT *arg4 = (PLINT *) 0 ;
6668 PyObject * obj0 = 0 ;
6673 if (!PyArg_ParseTuple(args,(
char *)
"O:plgcol0",&obj0))
SWIG_fail;
6678 arg1 = (
PLINT)(val1);
6706 PyObject *resultobj = 0;
6708 PLINT *arg2 = (PLINT *) 0 ;
6709 PLINT *arg3 = (PLINT *) 0 ;
6710 PLINT *arg4 = (PLINT *) 0 ;
6711 PLFLT *arg5 = (PLFLT *) 0 ;
6722 PyObject * obj0 = 0 ;
6728 if (!PyArg_ParseTuple(args,(
char *)
"O:plgcol0a",&obj0))
SWIG_fail;
6733 arg1 = (
PLINT)(val1);
6734 plgcol0a(arg1,arg2,arg3,arg4,arg5);
6767 PyObject *resultobj = 0;
6768 PLINT *arg1 = (PLINT *) 0 ;
6769 PLINT *arg2 = (PLINT *) 0 ;
6770 PLINT *arg3 = (PLINT *) 0 ;
6781 if (!PyArg_ParseTuple(args,(
char *)
":plgcolbg"))
SWIG_fail;
6809 PyObject *resultobj = 0;
6810 PLINT *arg1 = (PLINT *) 0 ;
6811 PLINT *arg2 = (PLINT *) 0 ;
6812 PLINT *arg3 = (PLINT *) 0 ;
6813 PLFLT *arg4 = (PLFLT *) 0 ;
6827 if (!PyArg_ParseTuple(args,(
char *)
":plgcolbga"))
SWIG_fail;
6861 PyObject *resultobj = 0;
6862 PLINT *arg1 = (PLINT *) 0 ;
6867 if (!PyArg_ParseTuple(args,(
char *)
":plgcompression"))
SWIG_fail;
6883 PyObject *resultobj = 0;
6884 char *arg1 = (
char *) 0 ;
6890 if (!PyArg_ParseTuple(args,(
char *)
":plgdev"))
SWIG_fail;
6894 PyObject *o = PyString_FromString( arg1 );
6904 PyObject *resultobj = 0;
6905 PLFLT *arg1 = (PLFLT *) 0 ;
6906 PLFLT *arg2 = (PLFLT *) 0 ;
6907 PLFLT *arg3 = (PLFLT *) 0 ;
6908 PLFLT *arg4 = (PLFLT *) 0 ;
6922 if (!PyArg_ParseTuple(args,(
char *)
":plgdidev"))
SWIG_fail;
6956 PyObject *resultobj = 0;
6957 PLFLT *arg1 = (PLFLT *) 0 ;
6962 if (!PyArg_ParseTuple(args,(
char *)
":plgdiori"))
SWIG_fail;
6978 PyObject *resultobj = 0;
6979 PLFLT *arg1 = (PLFLT *) 0 ;
6980 PLFLT *arg2 = (PLFLT *) 0 ;
6981 PLFLT *arg3 = (PLFLT *) 0 ;
6982 PLFLT *arg4 = (PLFLT *) 0 ;
6996 if (!PyArg_ParseTuple(args,(
char *)
":plgdiplt"))
SWIG_fail;
7030 PyObject *resultobj = 0;
7031 PLINT *arg1 = (PLINT *) 0 ;
7032 PLINT *arg2 = (PLINT *) 0 ;
7033 PLINT *arg3 = (PLINT *) 0 ;
7044 if (!PyArg_ParseTuple(args,(
char *)
":plgfam"))
SWIG_fail;
7072 PyObject *resultobj = 0;
7078 if (!PyArg_ParseTuple(args,(
char *)
":plgfci"))
SWIG_fail;
7094 PyObject *resultobj = 0;
7095 char *arg1 = (
char *) 0 ;
7101 if (!PyArg_ParseTuple(args,(
char *)
":plgfnam"))
SWIG_fail;
7105 PyObject *o = PyString_FromString( arg1 );
7115 PyObject *resultobj = 0;
7116 PLINT *arg1 = (PLINT *) 0 ;
7117 PLINT *arg2 = (PLINT *) 0 ;
7118 PLINT *arg3 = (PLINT *) 0 ;
7129 if (!PyArg_ParseTuple(args,(
char *)
":plgfont"))
SWIG_fail;
7157 PyObject *resultobj = 0;
7158 PLINT *arg1 = (PLINT *) 0 ;
7163 if (!PyArg_ParseTuple(args,(
char *)
":plglevel"))
SWIG_fail;
7179 PyObject *resultobj = 0;
7180 PLFLT *arg1 = (PLFLT *) 0 ;
7181 PLFLT *arg2 = (PLFLT *) 0 ;
7182 PLINT *arg3 = (PLINT *) 0 ;
7183 PLINT *arg4 = (PLINT *) 0 ;
7184 PLINT *arg5 = (PLINT *) 0 ;
7185 PLINT *arg6 = (PLINT *) 0 ;
7205 if (!PyArg_ParseTuple(args,(
char *)
":plgpage"))
SWIG_fail;
7206 plgpage(arg1,arg2,arg3,arg4,arg5,arg6);
7251 PyObject *resultobj = 0;
7253 if (!PyArg_ParseTuple(args,(
char *)
":plgra"))
SWIG_fail;
7263 PyObject *resultobj = 0;
7264 PLFLT *arg1 = (PLFLT *) 0 ;
7265 PLFLT *arg2 = (PLFLT *) 0 ;
7266 PLFLT *arg3 = (PLFLT *) 0 ;
7268 PLFLT *arg5 = (PLFLT *) 0 ;
7270 PLFLT *arg7 = (PLFLT *) 0 ;
7272 PLFLT **arg9 = (PLFLT **) 0 ;
7275 PyArrayObject *tmp1 = NULL ;
7276 PyArrayObject *tmp2 = NULL ;
7277 PyArrayObject *tmp3 = NULL ;
7278 PyArrayObject *tmp5 = NULL ;
7279 PyArrayObject *tmp7 = NULL ;
7280 PyObject *array7 = NULL ;
7285 PyObject * obj0 = 0 ;
7286 PyObject * obj1 = 0 ;
7287 PyObject * obj2 = 0 ;
7288 PyObject * obj3 = 0 ;
7289 PyObject * obj4 = 0 ;
7290 PyObject * obj5 = 0 ;
7291 PyObject * obj6 = 0 ;
7293 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plgriddata",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
7298 Alen = PyArray_DIMS( tmp1 )[0];
7299 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
7305 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
7307 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
7310 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
7316 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
7318 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
7321 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
7322 arg4 = PyArray_DIMS( tmp3 )[0];
7328 Xlen = PyArray_DIMS( tmp5 )[0];
7330 arg5 = (PLFLT *) PyArray_DATA( tmp5 );
7338 Ylen = PyArray_DIMS( tmp7 )[0];
7340 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
7345 array7 = PyArray_SimpleNew( 2, dims,
NPY_PLFLT );
7349 arg9 = (PLFLT **) malloc(
sizeof (
double * ) * (size_t) Xlen );
7350 for ( i = 0; i <
Xlen; i++ )
7351 arg9[i] = ( (PLFLT *) PyArray_DATA( (PyArrayObject *) array7 ) + i * size );
7357 arg10 = (
PLINT)(val10);
7362 arg11 = (
PLFLT)(val11);
7363 plgriddata((
double const *)arg1,(
double const *)arg2,(
double const *)arg3,arg4,(
double const *)arg5,arg6,(
double const *)arg7,arg8,arg9,arg10,arg11);
7407 PyObject *resultobj = 0;
7408 PLFLT *arg1 = (PLFLT *) 0 ;
7409 PLFLT *arg2 = (PLFLT *) 0 ;
7410 PLFLT *arg3 = (PLFLT *) 0 ;
7411 PLFLT *arg4 = (PLFLT *) 0 ;
7425 if (!PyArg_ParseTuple(args,(
char *)
":plgspa"))
SWIG_fail;
7426 plgspa(arg1,arg2,arg3,arg4);
7459 PyObject *resultobj = 0;
7460 PLINT *arg1 = (PLINT *) 0 ;
7465 if (!PyArg_ParseTuple(args,(
char *)
":plgstrm"))
SWIG_fail;
7481 PyObject *resultobj = 0;
7482 char *arg1 = (
char *) 0 ;
7488 if (!PyArg_ParseTuple(args,(
char *)
":plgver"))
SWIG_fail;
7492 PyObject *o = PyString_FromString( arg1 );
7502 PyObject *resultobj = 0;
7503 PLFLT *arg1 = (PLFLT *) 0 ;
7504 PLFLT *arg2 = (PLFLT *) 0 ;
7505 PLFLT *arg3 = (PLFLT *) 0 ;
7506 PLFLT *arg4 = (PLFLT *) 0 ;
7520 if (!PyArg_ParseTuple(args,(
char *)
":plgvpd"))
SWIG_fail;
7521 plgvpd(arg1,arg2,arg3,arg4);
7554 PyObject *resultobj = 0;
7555 PLFLT *arg1 = (PLFLT *) 0 ;
7556 PLFLT *arg2 = (PLFLT *) 0 ;
7557 PLFLT *arg3 = (PLFLT *) 0 ;
7558 PLFLT *arg4 = (PLFLT *) 0 ;
7572 if (!PyArg_ParseTuple(args,(
char *)
":plgvpw"))
SWIG_fail;
7573 plgvpw(arg1,arg2,arg3,arg4);
7606 PyObject *resultobj = 0;
7607 PLINT *arg1 = (PLINT *) 0 ;
7608 PLINT *arg2 = (PLINT *) 0 ;
7616 if (!PyArg_ParseTuple(args,(
char *)
":plgxax"))
SWIG_fail;
7638 PyObject *resultobj = 0;
7639 PLINT *arg1 = (PLINT *) 0 ;
7640 PLINT *arg2 = (PLINT *) 0 ;
7648 if (!PyArg_ParseTuple(args,(
char *)
":plgyax"))
SWIG_fail;
7670 PyObject *resultobj = 0;
7671 PLINT *arg1 = (PLINT *) 0 ;
7672 PLINT *arg2 = (PLINT *) 0 ;
7680 if (!PyArg_ParseTuple(args,(
char *)
":plgzax"))
SWIG_fail;
7702 PyObject *resultobj = 0;
7704 PLFLT *arg2 = (PLFLT *) 0 ;
7709 PyArrayObject *tmp1 = NULL ;
7718 PyObject * obj0 = 0 ;
7719 PyObject * obj1 = 0 ;
7720 PyObject * obj2 = 0 ;
7721 PyObject * obj3 = 0 ;
7722 PyObject * obj4 = 0 ;
7724 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plhist",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
7729 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
7730 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
7736 arg3 = (
PLFLT)(val3);
7741 arg4 = (
PLFLT)(val4);
7746 arg5 = (
PLINT)(val5);
7751 arg6 = (
PLINT)(val6);
7752 plhist(arg1,(
double const *)arg2,arg3,arg4,arg5,arg6);
7767 PyObject *resultobj = 0;
7771 PLFLT *arg4 = (PLFLT *) 0 ;
7772 PLFLT *arg5 = (PLFLT *) 0 ;
7773 PLFLT *arg6 = (PLFLT *) 0 ;
7786 PyObject * obj0 = 0 ;
7787 PyObject * obj1 = 0 ;
7788 PyObject * obj2 = 0 ;
7793 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plhlsrgb",&obj0,&obj1,&obj2))
SWIG_fail;
7798 arg1 = (
PLFLT)(val1);
7803 arg2 = (
PLFLT)(val2);
7808 arg3 = (
PLFLT)(val3);
7809 plhlsrgb(arg1,arg2,arg3,arg4,arg5,arg6);
7836 PyObject *resultobj = 0;
7838 if (!PyArg_ParseTuple(args,(
char *)
":plinit"))
SWIG_fail;
7848 PyObject *resultobj = 0;
7861 PyObject * obj0 = 0 ;
7862 PyObject * obj1 = 0 ;
7863 PyObject * obj2 = 0 ;
7864 PyObject * obj3 = 0 ;
7866 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:pljoin",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
7871 arg1 = (
PLFLT)(val1);
7876 arg2 = (
PLFLT)(val2);
7881 arg3 = (
PLFLT)(val3);
7886 arg4 = (
PLFLT)(val4);
7887 pljoin(arg1,arg2,arg3,arg4);
7896 PyObject *resultobj = 0;
7897 char *arg1 = (
char *) 0 ;
7898 char *arg2 = (
char *) 0 ;
7899 char *arg3 = (
char *) 0 ;
7909 PyObject * obj0 = 0 ;
7910 PyObject * obj1 = 0 ;
7911 PyObject * obj2 = 0 ;
7913 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pllab",&obj0,&obj1,&obj2))
SWIG_fail;
7918 arg1 = (
char *)(buf1);
7923 arg2 = (
char *)(buf2);
7928 arg3 = (
char *)(buf3);
7929 pllab((
char const *)arg1,(
char const *)arg2,(
char const *)arg3);
7944 PyObject *resultobj = 0;
7945 PLFLT *arg1 = (PLFLT *) 0 ;
7946 PLFLT *arg2 = (PLFLT *) 0 ;
7958 PLINT *arg14 = (PLINT *) 0 ;
7963 PLINT *arg19 = (PLINT *) 0 ;
7964 char **arg20 = (
char **) 0 ;
7965 PLINT *arg21 = (PLINT *) 0 ;
7966 PLINT *arg22 = (PLINT *) 0 ;
7967 PLFLT *arg23 = (PLFLT *) 0 ;
7968 PLFLT *arg24 = (PLFLT *) 0 ;
7969 PLINT *arg25 = (PLINT *) 0 ;
7970 PLINT *arg26 = (PLINT *) 0 ;
7971 PLFLT *arg27 = (PLFLT *) 0 ;
7972 PLINT *arg28 = (PLINT *) 0 ;
7973 PLFLT *arg29 = (PLFLT *) 0 ;
7974 PLINT *arg30 = (PLINT *) 0 ;
7975 char **arg31 = (
char **) 0 ;
8000 PyArrayObject *tmp13 = NULL ;
8009 PyArrayObject *tmp19 = NULL ;
8010 PyArrayObject *tmp20 = NULL ;
8011 PyArrayObject *tmp21 = NULL ;
8012 PyArrayObject *tmp22 = NULL ;
8013 PyArrayObject *tmp23 = NULL ;
8014 PyArrayObject *tmp24 = NULL ;
8015 PyArrayObject *tmp25 = NULL ;
8016 PyArrayObject *tmp26 = NULL ;
8017 PyArrayObject *tmp27 = NULL ;
8018 PyArrayObject *tmp28 = NULL ;
8019 PyArrayObject *tmp29 = NULL ;
8020 PyArrayObject *tmp30 = NULL ;
8021 PyArrayObject *tmp31 = NULL ;
8022 PyObject * obj0 = 0 ;
8023 PyObject * obj1 = 0 ;
8024 PyObject * obj2 = 0 ;
8025 PyObject * obj3 = 0 ;
8026 PyObject * obj4 = 0 ;
8027 PyObject * obj5 = 0 ;
8028 PyObject * obj6 = 0 ;
8029 PyObject * obj7 = 0 ;
8030 PyObject * obj8 = 0 ;
8031 PyObject * obj9 = 0 ;
8032 PyObject * obj10 = 0 ;
8033 PyObject * obj11 = 0 ;
8034 PyObject * obj12 = 0 ;
8035 PyObject * obj13 = 0 ;
8036 PyObject * obj14 = 0 ;
8037 PyObject * obj15 = 0 ;
8038 PyObject * obj16 = 0 ;
8039 PyObject * obj17 = 0 ;
8040 PyObject * obj18 = 0 ;
8041 PyObject * obj19 = 0 ;
8042 PyObject * obj20 = 0 ;
8043 PyObject * obj21 = 0 ;
8044 PyObject * obj22 = 0 ;
8045 PyObject * obj23 = 0 ;
8046 PyObject * obj24 = 0 ;
8047 PyObject * obj25 = 0 ;
8048 PyObject * obj26 = 0 ;
8049 PyObject * obj27 = 0 ;
8053 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;
8058 arg3 = (
PLINT)(val3);
8063 arg4 = (
PLINT)(val4);
8068 arg5 = (
PLFLT)(val5);
8073 arg6 = (
PLFLT)(val6);
8078 arg7 = (
PLFLT)(val7);
8083 arg8 = (
PLINT)(val8);
8088 arg9 = (
PLINT)(val9);
8093 arg10 = (
PLINT)(val10);
8098 arg11 = (
PLINT)(val11);
8103 arg12 = (
PLINT)(val12);
8106 if ( tmp13 == NULL )
8108 arg13 = Alen = PyArray_DIMS( tmp13 )[0];
8109 arg14 = (PLINT *) PyArray_DATA( tmp13 );
8115 arg15 = (
PLFLT)(val15);
8120 arg16 = (
PLFLT)(val16);
8125 arg17 = (
PLFLT)(val17);
8130 arg18 = (
PLFLT)(val18);
8133 if ( tmp19 == NULL )
8135 if ( PyArray_DIMS( tmp19 )[0] !=
Alen )
8137 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8140 arg19 = (PLINT *) PyArray_DATA( tmp19 );
8144 tmp20 = (PyArrayObject *) PyArray_ContiguousFromObject( obj16, NPY_STRING, 1, 1 );
8145 if ( tmp20 == NULL )
8147 if ( PyArray_DIMS( tmp20 )[0] !=
Alen )
8149 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8152 arg20 = (
char **) malloc(
sizeof (
char* ) * (size_t) Alen );
8153 for ( i = 0; i <
Alen; i++ )
8155 arg20[i] = (
char *) PyArray_DATA( tmp20 ) + i * PyArray_STRIDES( tmp20 )[0];
8156 if ( arg20[i] == NULL )
8165 if ( tmp21 == NULL )
8167 if ( PyArray_DIMS( tmp21 )[0] !=
Alen )
8169 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8172 arg21 = (PLINT *) PyArray_DATA( tmp21 );
8176 if ( tmp22 == NULL )
8178 if ( PyArray_DIMS( tmp22 )[0] !=
Alen )
8180 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8183 arg22 = (PLINT *) PyArray_DATA( tmp22 );
8186 if ( obj19 != Py_None )
8189 if ( tmp23 == NULL )
8191 if ( PyArray_DIMS( tmp23 )[0] !=
Alen )
8193 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8196 arg23 = (PLFLT *) PyArray_DATA( tmp23 );
8204 if ( obj20 != Py_None )
8207 if ( tmp24 == NULL )
8209 if ( PyArray_DIMS( tmp24 )[0] !=
Alen )
8211 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8214 arg24 = (PLFLT *) PyArray_DATA( tmp24 );
8223 if ( tmp25 == NULL )
8225 if ( PyArray_DIMS( tmp25 )[0] !=
Alen )
8227 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8230 arg25 = (PLINT *) PyArray_DATA( tmp25 );
8234 if ( tmp26 == NULL )
8236 if ( PyArray_DIMS( tmp26 )[0] !=
Alen )
8238 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8241 arg26 = (PLINT *) PyArray_DATA( tmp26 );
8244 if ( obj23 != Py_None )
8247 if ( tmp27 == NULL )
8249 if ( PyArray_DIMS( tmp27 )[0] !=
Alen )
8251 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8254 arg27 = (PLFLT *) PyArray_DATA( tmp27 );
8263 if ( tmp28 == NULL )
8265 if ( PyArray_DIMS( tmp28 )[0] !=
Alen )
8267 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8270 arg28 = (PLINT *) PyArray_DATA( tmp28 );
8273 if ( obj25 != Py_None )
8276 if ( tmp29 == NULL )
8278 if ( PyArray_DIMS( tmp29 )[0] !=
Alen )
8280 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8283 arg29 = (PLFLT *) PyArray_DATA( tmp29 );
8292 if ( tmp30 == NULL )
8294 if ( PyArray_DIMS( tmp30 )[0] !=
Alen )
8296 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8299 arg30 = (PLINT *) PyArray_DATA( tmp30 );
8303 tmp31 = (PyArrayObject *) PyArray_ContiguousFromObject( obj27, NPY_STRING, 1, 1 );
8304 if ( tmp31 == NULL )
8306 if ( PyArray_DIMS( tmp31 )[0] !=
Alen )
8308 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8311 arg31 = (
char **) malloc(
sizeof (
char* ) * (size_t) Alen );
8312 for ( i = 0; i <
Alen; i++ )
8314 arg31[i] = (
char *) PyArray_DATA( tmp31 ) + i * PyArray_STRIDES( tmp31 )[0];
8315 if ( arg31[i] == NULL )
8322 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);
8343 Py_CLEAR( tmp20 ); free( arg20 );
8376 Py_CLEAR( tmp31 ); free( arg31 );
8387 Py_CLEAR( tmp20 ); free( arg20 );
8420 Py_CLEAR( tmp31 ); free( arg31 );
8427 PyObject *resultobj = 0;
8428 PLFLT *arg1 = (PLFLT *) 0 ;
8429 PLFLT *arg2 = (PLFLT *) 0 ;
8444 PLINT *arg17 = (PLINT *) 0 ;
8445 char **arg18 = (
char **) 0 ;
8447 char **arg20 = (
char **) 0 ;
8448 PLFLT *arg21 = (PLFLT *) 0 ;
8449 PLINT *arg22 = (PLINT *) 0 ;
8450 PLINT *arg23 = (PLINT *) 0 ;
8451 PLFLT **arg24 = (PLFLT **) 0 ;
8482 PyArrayObject *tmp16 = NULL ;
8483 PyArrayObject *tmp18 = NULL ;
8484 PyArrayObject *tmp19 = NULL ;
8485 PyArrayObject *tmp21 = NULL ;
8486 PyArrayObject *tmp22 = NULL ;
8487 PyArrayObject *tmp23 = NULL ;
8488 PyArrayObject *tmp24 = NULL ;
8489 PyObject * obj0 = 0 ;
8490 PyObject * obj1 = 0 ;
8491 PyObject * obj2 = 0 ;
8492 PyObject * obj3 = 0 ;
8493 PyObject * obj4 = 0 ;
8494 PyObject * obj5 = 0 ;
8495 PyObject * obj6 = 0 ;
8496 PyObject * obj7 = 0 ;
8497 PyObject * obj8 = 0 ;
8498 PyObject * obj9 = 0 ;
8499 PyObject * obj10 = 0 ;
8500 PyObject * obj11 = 0 ;
8501 PyObject * obj12 = 0 ;
8502 PyObject * obj13 = 0 ;
8503 PyObject * obj14 = 0 ;
8504 PyObject * obj15 = 0 ;
8505 PyObject * obj16 = 0 ;
8506 PyObject * obj17 = 0 ;
8507 PyObject * obj18 = 0 ;
8508 PyObject * obj19 = 0 ;
8512 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;
8517 arg3 = (
PLINT)(val3);
8522 arg4 = (
PLINT)(val4);
8527 arg5 = (
PLFLT)(val5);
8532 arg6 = (
PLFLT)(val6);
8537 arg7 = (
PLFLT)(val7);
8542 arg8 = (
PLFLT)(val8);
8547 arg9 = (
PLINT)(val9);
8552 arg10 = (
PLINT)(val10);
8557 arg11 = (
PLINT)(val11);
8562 arg12 = (
PLFLT)(val12);
8567 arg13 = (
PLFLT)(val13);
8572 arg14 = (
PLINT)(val14);
8577 arg15 = (
PLFLT)(val15);
8580 if ( tmp16 == NULL )
8582 arg16 = Alen = PyArray_DIMS( tmp16 )[0];
8583 arg17 = (PLINT *) PyArray_DATA( tmp16 );
8587 tmp18 = (PyArrayObject *) PyArray_ContiguousFromObject( obj14, NPY_STRING, 1, 1 );
8588 if ( tmp18 == NULL )
8590 if ( PyArray_DIMS( tmp18 )[0] !=
Alen )
8592 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8595 arg18 = (
char **) malloc(
sizeof (
char* ) * (size_t) Alen );
8596 for ( i = 0; i <
Alen; i++ )
8598 arg18[i] = (
char *) PyArray_DATA( tmp18 ) + i * PyArray_STRIDES( tmp18 )[0];
8599 if ( arg18[i] == NULL )
8608 tmp19 = (PyArrayObject *) PyArray_ContiguousFromObject( obj15, NPY_STRING, 1, 1 );
8609 if ( tmp19 == NULL )
8611 Alen = PyArray_DIMS( tmp19 )[0];
8613 arg20 = (
char **) malloc(
sizeof (
char* ) * (size_t) Alen );
8614 for ( i = 0; i <
Alen; i++ )
8616 arg20[i] = (
char *) PyArray_DATA( tmp19 ) + i * PyArray_STRIDES( tmp19 )[0];
8617 if ( arg20[i] == NULL )
8626 if ( tmp21 == NULL )
8628 if ( PyArray_DIMS( tmp21 )[0] !=
Alen )
8630 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8633 arg21 = (PLFLT *) PyArray_DATA( tmp21 );
8637 if ( tmp22 == NULL )
8639 if ( PyArray_DIMS( tmp22 )[0] !=
Alen )
8641 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8644 arg22 = (PLINT *) PyArray_DATA( tmp22 );
8649 if ( tmp23 == NULL )
8651 if ( PyArray_DIMS( tmp23 )[0] !=
Alen )
8653 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8656 Xlen = PyArray_DIMS( tmp23 )[0];
8657 arg23 = (PLINT *) PyArray_DATA( tmp23 );
8659 for ( i = 0; i <
Xlen; i++ )
8660 if ( arg23[i] >
Ylen )
8666 if ( tmp24 == NULL )
8668 if ( PyArray_DIMS( tmp24 )[0] != Xlen || PyArray_DIMS( tmp24 )[1] !=
Ylen )
8670 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
8674 arg24 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) Xlen );
8675 for ( i = 0; i <
Xlen; i++ )
8676 arg24[i] = ( (PLFLT *) PyArray_DATA( tmp24 ) + i * size );
8678 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);
8696 Py_CLEAR( tmp18 ); free( arg18 );
8699 Py_CLEAR( tmp19 ); free( arg20 );
8720 Py_CLEAR( tmp18 ); free( arg18 );
8723 Py_CLEAR( tmp19 ); free( arg20 );
8743 PyObject *resultobj = 0;
8753 PyObject * obj0 = 0 ;
8754 PyObject * obj1 = 0 ;
8755 PyObject * obj2 = 0 ;
8757 if (!PyArg_ParseTuple(args,(
char *)
"OOO:pllightsource",&obj0,&obj1,&obj2))
SWIG_fail;
8762 arg1 = (
PLFLT)(val1);
8767 arg2 = (
PLFLT)(val2);
8772 arg3 = (
PLFLT)(val3);
8782 PyObject *resultobj = 0;
8784 PLFLT *arg2 = (PLFLT *) 0 ;
8785 PLFLT *arg3 = (PLFLT *) 0 ;
8786 PyArrayObject *tmp1 = NULL ;
8787 PyArrayObject *tmp3 = NULL ;
8788 PyObject * obj0 = 0 ;
8789 PyObject * obj1 = 0 ;
8791 if (!PyArg_ParseTuple(args,(
char *)
"OO:plline",&obj0,&obj1))
SWIG_fail;
8796 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
8797 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
8803 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
8805 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8808 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
8810 plline(arg1,(
double const *)arg2,(
double const *)arg3);
8831 PyObject *resultobj = 0;
8833 PLFLT *arg2 = (PLFLT *) 0 ;
8834 PLFLT *arg3 = (PLFLT *) 0 ;
8835 PLFLT *arg4 = (PLFLT *) 0 ;
8836 PyArrayObject *tmp1 = NULL ;
8837 PyArrayObject *tmp3 = NULL ;
8838 PyArrayObject *tmp4 = NULL ;
8839 PyObject * obj0 = 0 ;
8840 PyObject * obj1 = 0 ;
8841 PyObject * obj2 = 0 ;
8843 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plline3",&obj0,&obj1,&obj2))
SWIG_fail;
8848 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
8849 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
8855 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
8857 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8860 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
8866 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
8868 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8871 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
8873 plline3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
8900 PyObject *resultobj = 0;
8904 PyObject * obj0 = 0 ;
8906 if (!PyArg_ParseTuple(args,(
char *)
"O:pllsty",&obj0))
SWIG_fail;
8911 arg1 = (
PLINT)(val1);
8921 PyObject *resultobj = 0;
8922 PLFLT *arg1 = (PLFLT *) 0 ;
8923 PLFLT *arg2 = (PLFLT *) 0 ;
8924 PLFLT **arg3 = (PLFLT **) 0 ;
8928 PyArrayObject *tmp1 = NULL ;
8929 PyArrayObject *tmp2 = NULL ;
8930 PyArrayObject *tmp3 = NULL ;
8933 PyObject * obj0 = 0 ;
8934 PyObject * obj1 = 0 ;
8935 PyObject * obj2 = 0 ;
8936 PyObject * obj3 = 0 ;
8938 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plmesh",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
8943 Xlen = PyArray_DIMS( tmp1 )[0];
8944 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
8950 Ylen = PyArray_DIMS( tmp2 )[0];
8951 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
8958 if ( Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
8960 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
8963 arg4 = PyArray_DIMS( tmp3 )[0];
8964 arg5 = PyArray_DIMS( tmp3 )[1];
8966 arg3 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg4 );
8967 for ( i = 0; i < arg4; i++ )
8968 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
8974 arg6 = (
PLINT)(val6);
8975 plmesh((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6);
9004 PyObject *resultobj = 0;
9005 PLFLT *arg1 = (PLFLT *) 0 ;
9006 PLFLT *arg2 = (PLFLT *) 0 ;
9007 PLFLT **arg3 = (PLFLT **) 0 ;
9011 PLFLT *arg7 = (PLFLT *) 0 ;
9013 PyArrayObject *tmp1 = NULL ;
9014 PyArrayObject *tmp2 = NULL ;
9015 PyArrayObject *tmp3 = NULL ;
9018 PyArrayObject *tmp7 = NULL ;
9019 PyObject * obj0 = 0 ;
9020 PyObject * obj1 = 0 ;
9021 PyObject * obj2 = 0 ;
9022 PyObject * obj3 = 0 ;
9023 PyObject * obj4 = 0 ;
9025 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plmeshc",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9030 Xlen = PyArray_DIMS( tmp1 )[0];
9031 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9037 Ylen = PyArray_DIMS( tmp2 )[0];
9038 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9045 if ( Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9047 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9050 arg4 = PyArray_DIMS( tmp3 )[0];
9051 arg5 = PyArray_DIMS( tmp3 )[1];
9053 arg3 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg4 );
9054 for ( i = 0; i < arg4; i++ )
9055 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9061 arg6 = (
PLINT)(val6);
9066 arg8 = PyArray_DIMS( tmp7 )[0];
9067 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9069 plmeshc((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
9104 PyObject *resultobj = 0;
9105 PLINT *arg1 = (PLINT *) 0 ;
9110 if (!PyArg_ParseTuple(args,(
char *)
":plmkstrm"))
SWIG_fail;
9126 PyObject *resultobj = 0;
9127 char *arg1 = (
char *) 0 ;
9131 char *arg5 = (
char *) 0 ;
9144 PyObject * obj0 = 0 ;
9145 PyObject * obj1 = 0 ;
9146 PyObject * obj2 = 0 ;
9147 PyObject * obj3 = 0 ;
9148 PyObject * obj4 = 0 ;
9150 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plmtex",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9155 arg1 = (
char *)(buf1);
9160 arg2 = (
PLFLT)(val2);
9165 arg3 = (
PLFLT)(val3);
9170 arg4 = (
PLFLT)(val4);
9175 arg5 = (
char *)(buf5);
9176 plmtex((
char const *)arg1,arg2,arg3,arg4,(
char const *)arg5);
9189 PyObject *resultobj = 0;
9190 char *arg1 = (
char *) 0 ;
9194 char *arg5 = (
char *) 0 ;
9207 PyObject * obj0 = 0 ;
9208 PyObject * obj1 = 0 ;
9209 PyObject * obj2 = 0 ;
9210 PyObject * obj3 = 0 ;
9211 PyObject * obj4 = 0 ;
9213 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plmtex3",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9218 arg1 = (
char *)(buf1);
9223 arg2 = (
PLFLT)(val2);
9228 arg3 = (
PLFLT)(val3);
9233 arg4 = (
PLFLT)(val4);
9238 arg5 = (
char *)(buf5);
9239 plmtex3((
char const *)arg1,arg2,arg3,arg4,(
char const *)arg5);
9252 PyObject *resultobj = 0;
9253 PLFLT *arg1 = (PLFLT *) 0 ;
9254 PLFLT *arg2 = (PLFLT *) 0 ;
9255 PLFLT **arg3 = (PLFLT **) 0 ;
9260 PyArrayObject *tmp1 = NULL ;
9261 PyArrayObject *tmp2 = NULL ;
9262 PyArrayObject *tmp3 = NULL ;
9267 PyObject * obj0 = 0 ;
9268 PyObject * obj1 = 0 ;
9269 PyObject * obj2 = 0 ;
9270 PyObject * obj3 = 0 ;
9271 PyObject * obj4 = 0 ;
9273 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plot3d",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9278 Xlen = PyArray_DIMS( tmp1 )[0];
9279 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9285 Ylen = PyArray_DIMS( tmp2 )[0];
9286 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9293 if ( Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9295 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9298 arg4 = PyArray_DIMS( tmp3 )[0];
9299 arg5 = PyArray_DIMS( tmp3 )[1];
9301 arg3 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg4 );
9302 for ( i = 0; i < arg4; i++ )
9303 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9309 arg6 = (
PLINT)(val6);
9315 plot3d((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,arg7);
9344 PyObject *resultobj = 0;
9345 PLFLT *arg1 = (PLFLT *) 0 ;
9346 PLFLT *arg2 = (PLFLT *) 0 ;
9347 PLFLT **arg3 = (PLFLT **) 0 ;
9351 PLFLT *arg7 = (PLFLT *) 0 ;
9353 PyArrayObject *tmp1 = NULL ;
9354 PyArrayObject *tmp2 = NULL ;
9355 PyArrayObject *tmp3 = NULL ;
9358 PyArrayObject *tmp7 = NULL ;
9359 PyObject * obj0 = 0 ;
9360 PyObject * obj1 = 0 ;
9361 PyObject * obj2 = 0 ;
9362 PyObject * obj3 = 0 ;
9363 PyObject * obj4 = 0 ;
9365 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plot3dc",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9370 Xlen = PyArray_DIMS( tmp1 )[0];
9371 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9377 Ylen = PyArray_DIMS( tmp2 )[0];
9378 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9385 if ( Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9387 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9390 arg4 = PyArray_DIMS( tmp3 )[0];
9391 arg5 = PyArray_DIMS( tmp3 )[1];
9393 arg3 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg4 );
9394 for ( i = 0; i < arg4; i++ )
9395 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9401 arg6 = (
PLINT)(val6);
9406 arg8 = PyArray_DIMS( tmp7 )[0];
9407 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9409 plot3dc((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
9444 PyObject *resultobj = 0;
9445 PLFLT *arg1 = (PLFLT *) 0 ;
9446 PLFLT *arg2 = (PLFLT *) 0 ;
9447 PLFLT **arg3 = (PLFLT **) 0 ;
9451 PLFLT *arg7 = (PLFLT *) 0 ;
9455 PLINT *arg11 = (PLINT *) 0 ;
9456 PLINT *arg12 = (PLINT *) 0 ;
9457 PyArrayObject *tmp1 = NULL ;
9458 PyArrayObject *tmp2 = NULL ;
9459 PyArrayObject *tmp3 = NULL ;
9462 PyArrayObject *tmp7 = NULL ;
9465 PyArrayObject *tmp10 = NULL ;
9466 PyArrayObject *tmp12 = NULL ;
9467 PyObject * obj0 = 0 ;
9468 PyObject * obj1 = 0 ;
9469 PyObject * obj2 = 0 ;
9470 PyObject * obj3 = 0 ;
9471 PyObject * obj4 = 0 ;
9472 PyObject * obj5 = 0 ;
9473 PyObject * obj6 = 0 ;
9474 PyObject * obj7 = 0 ;
9476 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plot3dcl",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
9481 Xlen = PyArray_DIMS( tmp1 )[0];
9482 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9488 Ylen = PyArray_DIMS( tmp2 )[0];
9489 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9496 if ( Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9498 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9501 arg4 = PyArray_DIMS( tmp3 )[0];
9502 arg5 = PyArray_DIMS( tmp3 )[1];
9504 arg3 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg4 );
9505 for ( i = 0; i < arg4; i++ )
9506 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9512 arg6 = (
PLINT)(val6);
9517 arg8 = PyArray_DIMS( tmp7 )[0];
9518 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9524 arg9 = (
PLINT)(val9);
9527 if ( tmp10 == NULL )
9529 arg10 = Alen = PyArray_DIMS( tmp10 )[0];
9530 arg11 = (PLINT *) PyArray_DATA( tmp10 );
9534 if ( tmp12 == NULL )
9536 if ( PyArray_DIMS( tmp12 )[0] !=
Alen )
9538 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9541 arg12 = (PLINT *) PyArray_DATA( tmp12 );
9543 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);
9590 PyObject *resultobj = 0;
9591 PLFLT *arg1 = (PLFLT *) 0 ;
9592 PLFLT *arg2 = (PLFLT *) 0 ;
9593 PLFLT **arg3 = (PLFLT **) 0 ;
9597 PLFLT *arg7 = (PLFLT *) 0 ;
9599 PyArrayObject *tmp1 = NULL ;
9600 PyArrayObject *tmp2 = NULL ;
9601 PyArrayObject *tmp3 = NULL ;
9604 PyArrayObject *tmp7 = NULL ;
9605 PyObject * obj0 = 0 ;
9606 PyObject * obj1 = 0 ;
9607 PyObject * obj2 = 0 ;
9608 PyObject * obj3 = 0 ;
9609 PyObject * obj4 = 0 ;
9611 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plsurf3d",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9616 Xlen = PyArray_DIMS( tmp1 )[0];
9617 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9623 Ylen = PyArray_DIMS( tmp2 )[0];
9624 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9631 if ( Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9633 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9636 arg4 = PyArray_DIMS( tmp3 )[0];
9637 arg5 = PyArray_DIMS( tmp3 )[1];
9639 arg3 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg4 );
9640 for ( i = 0; i < arg4; i++ )
9641 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9647 arg6 = (
PLINT)(val6);
9652 arg8 = PyArray_DIMS( tmp7 )[0];
9653 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9655 plsurf3d((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
9690 PyObject *resultobj = 0;
9691 PLFLT *arg1 = (PLFLT *) 0 ;
9692 PLFLT *arg2 = (PLFLT *) 0 ;
9693 PLFLT **arg3 = (PLFLT **) 0 ;
9697 PLFLT *arg7 = (PLFLT *) 0 ;
9701 PLINT *arg11 = (PLINT *) 0 ;
9702 PLINT *arg12 = (PLINT *) 0 ;
9703 PyArrayObject *tmp1 = NULL ;
9704 PyArrayObject *tmp2 = NULL ;
9705 PyArrayObject *tmp3 = NULL ;
9708 PyArrayObject *tmp7 = NULL ;
9711 PyArrayObject *tmp10 = NULL ;
9712 PyArrayObject *tmp12 = NULL ;
9713 PyObject * obj0 = 0 ;
9714 PyObject * obj1 = 0 ;
9715 PyObject * obj2 = 0 ;
9716 PyObject * obj3 = 0 ;
9717 PyObject * obj4 = 0 ;
9718 PyObject * obj5 = 0 ;
9719 PyObject * obj6 = 0 ;
9720 PyObject * obj7 = 0 ;
9722 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plsurf3dl",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
9727 Xlen = PyArray_DIMS( tmp1 )[0];
9728 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
9734 Ylen = PyArray_DIMS( tmp2 )[0];
9735 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
9742 if ( Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9744 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9747 arg4 = PyArray_DIMS( tmp3 )[0];
9748 arg5 = PyArray_DIMS( tmp3 )[1];
9750 arg3 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg4 );
9751 for ( i = 0; i < arg4; i++ )
9752 arg3[i] = ( (PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9758 arg6 = (
PLINT)(val6);
9763 arg8 = PyArray_DIMS( tmp7 )[0];
9764 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
9770 arg9 = (
PLINT)(val9);
9773 if ( tmp10 == NULL )
9775 arg10 = Alen = PyArray_DIMS( tmp10 )[0];
9776 arg11 = (PLINT *) PyArray_DATA( tmp10 );
9780 if ( tmp12 == NULL )
9782 if ( PyArray_DIMS( tmp12 )[0] !=
Alen )
9784 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9787 arg12 = (PLINT *) PyArray_DATA( tmp12 );
9789 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);
9836 PyObject *resultobj = 0;
9837 int *arg1 = (
int *) 0 ;
9838 char **arg2 = (
char **) 0 ;
9843 PyObject * obj0 = 0 ;
9844 PyObject * obj1 = 0 ;
9847 if (!PyArg_ParseTuple(args,(
char *)
"OO:plparseopts",&obj0,&obj1))
SWIG_fail;
9850 PyObject *unicode_string;
9852 if ( !PyList_Check( obj0 ) )
9854 PyErr_SetString( PyExc_ValueError,
"Expecting a list" );
9857 tmp1 = PyList_Size( obj0 );
9859 arg2 = (
char **) malloc( (
size_t) ( tmp1 + 1 ) *
sizeof (
char * ) );
9860 for ( i = 0; i < tmp1; i++ )
9862 PyObject *s = PyList_GetItem( obj0, i );
9863 if ( PyString_Check( s ) )
9865 arg2[i] = PyString_AsString( s );
9867 else if ( PyUnicode_Check( s ) )
9870 unicode_string = PyUnicode_AsEncodedString( s,
"utf-8",
"Error ~" );
9871 arg2[i] = PyBytes_AS_STRING( unicode_string );
9876 PyErr_SetString( PyExc_ValueError,
"List items must be strings" );
9886 arg3 = (
PLINT)(val3);
9904 PyObject *resultobj = 0;
9906 PLINT *arg2 = (PLINT *) 0 ;
9907 PLINT *arg3 = (PLINT *) 0 ;
9908 PyArrayObject *tmp1 = NULL ;
9909 PyArrayObject *tmp3 = NULL ;
9910 PyObject * obj0 = 0 ;
9911 PyObject * obj1 = 0 ;
9913 if (!PyArg_ParseTuple(args,(
char *)
"OO:plpat",&obj0,&obj1))
SWIG_fail;
9918 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
9919 arg2 = (PLINT *) PyArray_DATA( tmp1 );
9925 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
9927 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9930 arg3 = (PLINT *) PyArray_DATA( tmp3 );
9932 plpat(arg1,(
int const *)arg2,(
int const *)arg3);
9953 PyObject *resultobj = 0;
9969 PyObject * obj0 = 0 ;
9970 PyObject * obj1 = 0 ;
9971 PyObject * obj2 = 0 ;
9972 PyObject * obj3 = 0 ;
9973 PyObject * obj4 = 0 ;
9975 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plpath",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
9980 arg1 = (
PLINT)(val1);
9985 arg2 = (
PLFLT)(val2);
9990 arg3 = (
PLFLT)(val3);
9995 arg4 = (
PLFLT)(val4);
10000 arg5 = (
PLFLT)(val5);
10001 plpath(arg1,arg2,arg3,arg4,arg5);
10010 PyObject *resultobj = 0;
10012 PLFLT *arg2 = (PLFLT *) 0 ;
10013 PLFLT *arg3 = (PLFLT *) 0 ;
10015 PyArrayObject *tmp1 = NULL ;
10016 PyArrayObject *tmp3 = NULL ;
10019 PyObject * obj0 = 0 ;
10020 PyObject * obj1 = 0 ;
10021 PyObject * obj2 = 0 ;
10023 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plpoin",&obj0,&obj1,&obj2))
SWIG_fail;
10026 if ( tmp1 == NULL )
10028 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10029 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
10033 if ( tmp3 == NULL )
10035 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10037 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10040 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
10046 arg4 = (
PLINT)(val4);
10047 plpoin(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
10068 PyObject *resultobj = 0;
10070 PLFLT *arg2 = (PLFLT *) 0 ;
10071 PLFLT *arg3 = (PLFLT *) 0 ;
10072 PLFLT *arg4 = (PLFLT *) 0 ;
10074 PyArrayObject *tmp1 = NULL ;
10075 PyArrayObject *tmp3 = NULL ;
10076 PyArrayObject *tmp4 = NULL ;
10079 PyObject * obj0 = 0 ;
10080 PyObject * obj1 = 0 ;
10081 PyObject * obj2 = 0 ;
10082 PyObject * obj3 = 0 ;
10084 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plpoin3",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
10087 if ( tmp1 == NULL )
10089 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10090 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
10094 if ( tmp3 == NULL )
10096 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10098 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10101 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
10105 if ( tmp4 == NULL )
10107 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10109 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10112 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10118 arg5 = (
PLINT)(val5);
10119 plpoin3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,arg5);
10146 PyObject *resultobj = 0;
10148 PLFLT *arg2 = (PLFLT *) 0 ;
10149 PLFLT *arg3 = (PLFLT *) 0 ;
10150 PLFLT *arg4 = (PLFLT *) 0 ;
10153 PyArrayObject *tmp1 = NULL ;
10154 PyArrayObject *tmp3 = NULL ;
10155 PyArrayObject *tmp4 = NULL ;
10156 PyArrayObject *tmp5 = NULL ;
10159 PyObject * obj0 = 0 ;
10160 PyObject * obj1 = 0 ;
10161 PyObject * obj2 = 0 ;
10162 PyObject * obj3 = 0 ;
10163 PyObject * obj4 = 0 ;
10165 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plpoly3",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
10168 if ( tmp1 == NULL )
10170 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
10171 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
10175 if ( tmp3 == NULL )
10177 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10179 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10182 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
10186 if ( tmp4 == NULL )
10188 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10190 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10193 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10197 if ( tmp5 == NULL )
10199 if ( PyArray_DIMS( tmp5 )[0] < Alen - 1 )
10201 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
10204 arg5 = (PLINT *) PyArray_DATA( tmp5 );
10211 plpoly3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,(
int const *)arg5,arg6);
10244 PyObject *resultobj = 0;
10251 PyObject * obj0 = 0 ;
10252 PyObject * obj1 = 0 ;
10254 if (!PyArg_ParseTuple(args,(
char *)
"OO:plprec",&obj0,&obj1))
SWIG_fail;
10259 arg1 = (
PLINT)(val1);
10264 arg2 = (
PLINT)(val2);
10274 PyObject *resultobj = 0;
10278 PyObject * obj0 = 0 ;
10280 if (!PyArg_ParseTuple(args,(
char *)
"O:plpsty",&obj0))
SWIG_fail;
10285 arg1 = (
PLINT)(val1);
10295 PyObject *resultobj = 0;
10301 char *arg6 = (
char *) 0 ;
10315 PyObject * obj0 = 0 ;
10316 PyObject * obj1 = 0 ;
10317 PyObject * obj2 = 0 ;
10318 PyObject * obj3 = 0 ;
10319 PyObject * obj4 = 0 ;
10320 PyObject * obj5 = 0 ;
10322 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plptex",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
10327 arg1 = (
PLFLT)(val1);
10332 arg2 = (
PLFLT)(val2);
10337 arg3 = (
PLFLT)(val3);
10342 arg4 = (
PLFLT)(val4);
10347 arg5 = (
PLFLT)(val5);
10352 arg6 = (
char *)(buf6);
10353 plptex(arg1,arg2,arg3,arg4,arg5,(
char const *)arg6);
10364 PyObject *resultobj = 0;
10375 char *arg11 = (
char *) 0 ;
10399 PyObject * obj0 = 0 ;
10400 PyObject * obj1 = 0 ;
10401 PyObject * obj2 = 0 ;
10402 PyObject * obj3 = 0 ;
10403 PyObject * obj4 = 0 ;
10404 PyObject * obj5 = 0 ;
10405 PyObject * obj6 = 0 ;
10406 PyObject * obj7 = 0 ;
10407 PyObject * obj8 = 0 ;
10408 PyObject * obj9 = 0 ;
10409 PyObject * obj10 = 0 ;
10411 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plptex3",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
10416 arg1 = (
PLFLT)(val1);
10421 arg2 = (
PLFLT)(val2);
10426 arg3 = (
PLFLT)(val3);
10431 arg4 = (
PLFLT)(val4);
10436 arg5 = (
PLFLT)(val5);
10441 arg6 = (
PLFLT)(val6);
10446 arg7 = (
PLFLT)(val7);
10451 arg8 = (
PLFLT)(val8);
10456 arg9 = (
PLFLT)(val9);
10461 arg10 = (
PLFLT)(val10);
10466 arg11 = (
char *)(buf11);
10467 plptex3(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(
char const *)arg11);
10478 PyObject *resultobj = 0;
10481 if (!PyArg_ParseTuple(args,(
char *)
":plrandd"))
SWIG_fail;
10491 PyObject *resultobj = 0;
10493 if (!PyArg_ParseTuple(args,(
char *)
":plreplot"))
SWIG_fail;
10503 PyObject *resultobj = 0;
10507 PLFLT *arg4 = (PLFLT *) 0 ;
10508 PLFLT *arg5 = (PLFLT *) 0 ;
10509 PLFLT *arg6 = (PLFLT *) 0 ;
10522 PyObject * obj0 = 0 ;
10523 PyObject * obj1 = 0 ;
10524 PyObject * obj2 = 0 ;
10529 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plrgbhls",&obj0,&obj1,&obj2))
SWIG_fail;
10534 arg1 = (
PLFLT)(val1);
10539 arg2 = (
PLFLT)(val2);
10544 arg3 = (
PLFLT)(val3);
10545 plrgbhls(arg1,arg2,arg3,arg4,arg5,arg6);
10572 PyObject *resultobj = 0;
10579 PyObject * obj0 = 0 ;
10580 PyObject * obj1 = 0 ;
10582 if (!PyArg_ParseTuple(args,(
char *)
"OO:plschr",&obj0,&obj1))
SWIG_fail;
10587 arg1 = (
PLFLT)(val1);
10592 arg2 = (
PLFLT)(val2);
10602 PyObject *resultobj = 0;
10603 PLINT *arg1 = (PLINT *) 0 ;
10604 PLINT *arg2 = (PLINT *) 0 ;
10605 PLINT *arg3 = (PLINT *) 0 ;
10607 PyArrayObject *tmp1 = NULL ;
10608 PyArrayObject *tmp2 = NULL ;
10609 PyArrayObject *tmp3 = NULL ;
10610 PyObject * obj0 = 0 ;
10611 PyObject * obj1 = 0 ;
10612 PyObject * obj2 = 0 ;
10614 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plscmap0",&obj0,&obj1,&obj2))
SWIG_fail;
10617 if ( tmp1 == NULL )
10619 Alen = PyArray_DIMS( tmp1 )[0];
10620 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10624 if ( tmp2 == NULL )
10626 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10628 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10631 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10635 if ( tmp3 == NULL )
10637 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10639 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10642 arg4 = PyArray_DIMS( tmp3 )[0];
10643 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10645 plscmap0((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,arg4);
10672 PyObject *resultobj = 0;
10673 PLINT *arg1 = (PLINT *) 0 ;
10674 PLINT *arg2 = (PLINT *) 0 ;
10675 PLINT *arg3 = (PLINT *) 0 ;
10676 PLFLT *arg4 = (PLFLT *) 0 ;
10678 PyArrayObject *tmp1 = NULL ;
10679 PyArrayObject *tmp2 = NULL ;
10680 PyArrayObject *tmp3 = NULL ;
10681 PyArrayObject *tmp4 = NULL ;
10682 PyObject * obj0 = 0 ;
10683 PyObject * obj1 = 0 ;
10684 PyObject * obj2 = 0 ;
10685 PyObject * obj3 = 0 ;
10687 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscmap0a",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
10690 if ( tmp1 == NULL )
10692 Alen = PyArray_DIMS( tmp1 )[0];
10693 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10697 if ( tmp2 == NULL )
10699 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10701 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10704 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10708 if ( tmp3 == NULL )
10710 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10712 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10715 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10719 if ( tmp4 == NULL )
10721 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10723 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10726 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10727 arg5 = PyArray_DIMS( tmp4 )[0];
10729 plscmap0a((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,(
double const *)arg4,arg5);
10762 PyObject *resultobj = 0;
10766 PyObject * obj0 = 0 ;
10768 if (!PyArg_ParseTuple(args,(
char *)
"O:plscmap0n",&obj0))
SWIG_fail;
10773 arg1 = (
PLINT)(val1);
10783 PyObject *resultobj = 0;
10784 PLINT *arg1 = (PLINT *) 0 ;
10785 PLINT *arg2 = (PLINT *) 0 ;
10786 PLINT *arg3 = (PLINT *) 0 ;
10788 PyArrayObject *tmp1 = NULL ;
10789 PyArrayObject *tmp2 = NULL ;
10790 PyArrayObject *tmp3 = NULL ;
10791 PyObject * obj0 = 0 ;
10792 PyObject * obj1 = 0 ;
10793 PyObject * obj2 = 0 ;
10795 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plscmap1",&obj0,&obj1,&obj2))
SWIG_fail;
10798 if ( tmp1 == NULL )
10800 Alen = PyArray_DIMS( tmp1 )[0];
10801 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10805 if ( tmp2 == NULL )
10807 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10809 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10812 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10816 if ( tmp3 == NULL )
10818 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10820 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10823 arg4 = PyArray_DIMS( tmp3 )[0];
10824 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10826 plscmap1((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,arg4);
10853 PyObject *resultobj = 0;
10854 PLINT *arg1 = (PLINT *) 0 ;
10855 PLINT *arg2 = (PLINT *) 0 ;
10856 PLINT *arg3 = (PLINT *) 0 ;
10857 PLFLT *arg4 = (PLFLT *) 0 ;
10859 PyArrayObject *tmp1 = NULL ;
10860 PyArrayObject *tmp2 = NULL ;
10861 PyArrayObject *tmp3 = NULL ;
10862 PyArrayObject *tmp4 = NULL ;
10863 PyObject * obj0 = 0 ;
10864 PyObject * obj1 = 0 ;
10865 PyObject * obj2 = 0 ;
10866 PyObject * obj3 = 0 ;
10868 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscmap1a",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
10871 if ( tmp1 == NULL )
10873 Alen = PyArray_DIMS( tmp1 )[0];
10874 arg1 = (PLINT *) PyArray_DATA( tmp1 );
10878 if ( tmp2 == NULL )
10880 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10882 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10885 arg2 = (PLINT *) PyArray_DATA( tmp2 );
10889 if ( tmp3 == NULL )
10891 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10893 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10896 arg3 = (PLINT *) PyArray_DATA( tmp3 );
10900 if ( tmp4 == NULL )
10902 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10904 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10907 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10908 arg5 = PyArray_DIMS( tmp4 )[0];
10910 plscmap1a((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,(
double const *)arg4,arg5);
10943 PyObject *resultobj = 0;
10946 PLFLT *arg3 = (PLFLT *) 0 ;
10947 PLFLT *arg4 = (PLFLT *) 0 ;
10948 PLFLT *arg5 = (PLFLT *) 0 ;
10949 PLFLT *arg6 = (PLFLT *) 0 ;
10953 PyArrayObject *tmp2 = NULL ;
10954 PyArrayObject *tmp4 = NULL ;
10955 PyArrayObject *tmp5 = NULL ;
10956 PyArrayObject *tmp6 = NULL ;
10957 PyArrayObject *tmp7 = NULL ;
10958 PyObject * obj0 = 0 ;
10959 PyObject * obj1 = 0 ;
10960 PyObject * obj2 = 0 ;
10961 PyObject * obj3 = 0 ;
10962 PyObject * obj4 = 0 ;
10963 PyObject * obj5 = 0 ;
10965 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plscmap1l",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
10973 if ( tmp2 == NULL )
10975 arg2 = Alen = PyArray_DIMS( tmp2 )[0];
10976 arg3 = (PLFLT *) PyArray_DATA( tmp2 );
10980 if ( tmp4 == NULL )
10982 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10984 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10987 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
10991 if ( tmp5 == NULL )
10993 if ( PyArray_DIMS( tmp5 )[0] !=
Alen )
10995 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10998 arg5 = (PLFLT *) PyArray_DATA( tmp5 );
11002 if ( tmp6 == NULL )
11004 if ( PyArray_DIMS( tmp6 )[0] !=
Alen )
11006 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11009 arg6 = (PLFLT *) PyArray_DATA( tmp6 );
11013 if ( tmp7 == NULL )
11015 if ( PyArray_DIMS( tmp7 )[0] < Alen - 1 )
11017 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
11020 arg7 = (PLINT *) PyArray_DATA( tmp7 );
11022 plscmap1l(arg1,arg2,(
double const *)arg3,(
double const *)arg4,(
double const *)arg5,(
double const *)arg6,(
int const *)arg7);
11061 PyObject *resultobj = 0;
11064 PLFLT *arg3 = (PLFLT *) 0 ;
11065 PLFLT *arg4 = (PLFLT *) 0 ;
11066 PLFLT *arg5 = (PLFLT *) 0 ;
11067 PLFLT *arg6 = (PLFLT *) 0 ;
11068 PLFLT *arg7 = (PLFLT *) 0 ;
11072 PyArrayObject *tmp2 = NULL ;
11073 PyArrayObject *tmp4 = NULL ;
11074 PyArrayObject *tmp5 = NULL ;
11075 PyArrayObject *tmp6 = NULL ;
11076 PyArrayObject *tmp7 = NULL ;
11077 PyArrayObject *tmp8 = NULL ;
11078 PyObject * obj0 = 0 ;
11079 PyObject * obj1 = 0 ;
11080 PyObject * obj2 = 0 ;
11081 PyObject * obj3 = 0 ;
11082 PyObject * obj4 = 0 ;
11083 PyObject * obj5 = 0 ;
11084 PyObject * obj6 = 0 ;
11086 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plscmap1la",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
11094 if ( tmp2 == NULL )
11096 arg2 = Alen = PyArray_DIMS( tmp2 )[0];
11097 arg3 = (PLFLT *) PyArray_DATA( tmp2 );
11101 if ( tmp4 == NULL )
11103 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
11105 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11108 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
11112 if ( tmp5 == NULL )
11114 if ( PyArray_DIMS( tmp5 )[0] !=
Alen )
11116 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11119 arg5 = (PLFLT *) PyArray_DATA( tmp5 );
11123 if ( tmp6 == NULL )
11125 if ( PyArray_DIMS( tmp6 )[0] !=
Alen )
11127 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11130 arg6 = (PLFLT *) PyArray_DATA( tmp6 );
11134 if ( tmp7 == NULL )
11136 if ( PyArray_DIMS( tmp7 )[0] !=
Alen )
11138 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
11141 arg7 = (PLFLT *) PyArray_DATA( tmp7 );
11145 if ( tmp8 == NULL )
11147 if ( PyArray_DIMS( tmp8 )[0] < Alen - 1 )
11149 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
11152 arg8 = (PLINT *) PyArray_DATA( tmp8 );
11154 plscmap1la(arg1,arg2,(
double const *)arg3,(
double const *)arg4,(
double const *)arg5,(
double const *)arg6,(
double const *)arg7,(
int const *)arg8);
11199 PyObject *resultobj = 0;
11203 PyObject * obj0 = 0 ;
11205 if (!PyArg_ParseTuple(args,(
char *)
"O:plscmap1n",&obj0))
SWIG_fail;
11210 arg1 = (
PLINT)(val1);
11220 PyObject *resultobj = 0;
11227 PyObject * obj0 = 0 ;
11228 PyObject * obj1 = 0 ;
11230 if (!PyArg_ParseTuple(args,(
char *)
"OO:plscmap1_range",&obj0,&obj1))
SWIG_fail;
11235 arg1 = (
PLFLT)(val1);
11240 arg2 = (
PLFLT)(val2);
11250 PyObject *resultobj = 0;
11251 PLFLT *arg1 = (PLFLT *) 0 ;
11252 PLFLT *arg2 = (PLFLT *) 0 ;
11260 if (!PyArg_ParseTuple(args,(
char *)
":plgcmap1_range"))
SWIG_fail;
11282 PyObject *resultobj = 0;
11295 PyObject * obj0 = 0 ;
11296 PyObject * obj1 = 0 ;
11297 PyObject * obj2 = 0 ;
11298 PyObject * obj3 = 0 ;
11300 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscol0",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11305 arg1 = (
PLINT)(val1);
11310 arg2 = (
PLINT)(val2);
11315 arg3 = (
PLINT)(val3);
11320 arg4 = (
PLINT)(val4);
11321 plscol0(arg1,arg2,arg3,arg4);
11330 PyObject *resultobj = 0;
11346 PyObject * obj0 = 0 ;
11347 PyObject * obj1 = 0 ;
11348 PyObject * obj2 = 0 ;
11349 PyObject * obj3 = 0 ;
11350 PyObject * obj4 = 0 ;
11352 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plscol0a",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
11357 arg1 = (
PLINT)(val1);
11362 arg2 = (
PLINT)(val2);
11367 arg3 = (
PLINT)(val3);
11372 arg4 = (
PLINT)(val4);
11377 arg5 = (
PLFLT)(val5);
11378 plscol0a(arg1,arg2,arg3,arg4,arg5);
11387 PyObject *resultobj = 0;
11397 PyObject * obj0 = 0 ;
11398 PyObject * obj1 = 0 ;
11399 PyObject * obj2 = 0 ;
11401 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plscolbg",&obj0,&obj1,&obj2))
SWIG_fail;
11406 arg1 = (
PLINT)(val1);
11411 arg2 = (
PLINT)(val2);
11416 arg3 = (
PLINT)(val3);
11426 PyObject *resultobj = 0;
11439 PyObject * obj0 = 0 ;
11440 PyObject * obj1 = 0 ;
11441 PyObject * obj2 = 0 ;
11442 PyObject * obj3 = 0 ;
11444 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plscolbga",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11449 arg1 = (
PLINT)(val1);
11454 arg2 = (
PLINT)(val2);
11459 arg3 = (
PLINT)(val3);
11464 arg4 = (
PLFLT)(val4);
11474 PyObject *resultobj = 0;
11478 PyObject * obj0 = 0 ;
11480 if (!PyArg_ParseTuple(args,(
char *)
"O:plscolor",&obj0))
SWIG_fail;
11485 arg1 = (
PLINT)(val1);
11495 PyObject *resultobj = 0;
11499 PyObject * obj0 = 0 ;
11501 if (!PyArg_ParseTuple(args,(
char *)
"O:plscompression",&obj0))
SWIG_fail;
11506 arg1 = (
PLINT)(val1);
11516 PyObject *resultobj = 0;
11517 char *arg1 = (
char *) 0 ;
11521 PyObject * obj0 = 0 ;
11523 if (!PyArg_ParseTuple(args,(
char *)
"O:plsdev",&obj0))
SWIG_fail;
11528 arg1 = (
char *)(buf1);
11529 plsdev((
char const *)arg1);
11540 PyObject *resultobj = 0;
11553 PyObject * obj0 = 0 ;
11554 PyObject * obj1 = 0 ;
11555 PyObject * obj2 = 0 ;
11556 PyObject * obj3 = 0 ;
11558 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsdidev",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11563 arg1 = (
PLFLT)(val1);
11568 arg2 = (
PLFLT)(val2);
11573 arg3 = (
PLFLT)(val3);
11578 arg4 = (
PLFLT)(val4);
11588 PyObject *resultobj = 0;
11607 PyObject * obj0 = 0 ;
11608 PyObject * obj1 = 0 ;
11609 PyObject * obj2 = 0 ;
11610 PyObject * obj3 = 0 ;
11611 PyObject * obj4 = 0 ;
11612 PyObject * obj5 = 0 ;
11614 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plsdimap",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
11619 arg1 = (
PLINT)(val1);
11624 arg2 = (
PLINT)(val2);
11629 arg3 = (
PLINT)(val3);
11634 arg4 = (
PLINT)(val4);
11639 arg5 = (
PLFLT)(val5);
11644 arg6 = (
PLFLT)(val6);
11645 plsdimap(arg1,arg2,arg3,arg4,arg5,arg6);
11654 PyObject *resultobj = 0;
11658 PyObject * obj0 = 0 ;
11660 if (!PyArg_ParseTuple(args,(
char *)
"O:plsdiori",&obj0))
SWIG_fail;
11665 arg1 = (
PLFLT)(val1);
11675 PyObject *resultobj = 0;
11688 PyObject * obj0 = 0 ;
11689 PyObject * obj1 = 0 ;
11690 PyObject * obj2 = 0 ;
11691 PyObject * obj3 = 0 ;
11693 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsdiplt",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11698 arg1 = (
PLFLT)(val1);
11703 arg2 = (
PLFLT)(val2);
11708 arg3 = (
PLFLT)(val3);
11713 arg4 = (
PLFLT)(val4);
11723 PyObject *resultobj = 0;
11736 PyObject * obj0 = 0 ;
11737 PyObject * obj1 = 0 ;
11738 PyObject * obj2 = 0 ;
11739 PyObject * obj3 = 0 ;
11741 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsdiplz",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
11746 arg1 = (
PLFLT)(val1);
11751 arg2 = (
PLFLT)(val2);
11756 arg3 = (
PLFLT)(val3);
11761 arg4 = (
PLFLT)(val4);
11771 PyObject *resultobj = 0;
11772 unsigned int arg1 ;
11773 unsigned int val1 ;
11775 PyObject * obj0 = 0 ;
11777 if (!PyArg_ParseTuple(args,(
char *)
"O:plseed",&obj0))
SWIG_fail;
11782 arg1 = (
unsigned int)(val1);
11792 PyObject *resultobj = 0;
11796 PyObject * obj0 = 0 ;
11798 if (!PyArg_ParseTuple(args,(
char *)
"O:plsesc",&obj0))
SWIG_fail;
11803 arg1 = (char)(val1);
11813 PyObject *resultobj = 0;
11814 char *arg1 = (
char *) 0 ;
11815 char *arg2 = (
char *) 0 ;
11822 PyObject * obj0 = 0 ;
11823 PyObject * obj1 = 0 ;
11826 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsetopt",&obj0,&obj1))
SWIG_fail;
11831 arg1 = (
char *)(buf1);
11836 arg2 = (
char *)(buf2);
11837 result = (
PLINT)
plsetopt((
char const *)arg1,(
char const *)arg2);
11850 PyObject *resultobj = 0;
11860 PyObject * obj0 = 0 ;
11861 PyObject * obj1 = 0 ;
11862 PyObject * obj2 = 0 ;
11864 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsfam",&obj0,&obj1,&obj2))
SWIG_fail;
11869 arg1 = (
PLINT)(val1);
11874 arg2 = (
PLINT)(val2);
11879 arg3 = (
PLINT)(val3);
11889 PyObject *resultobj = 0;
11891 unsigned int val1 ;
11893 PyObject * obj0 = 0 ;
11895 if (!PyArg_ParseTuple(args,(
char *)
"O:plsfci",&obj0))
SWIG_fail;
11910 PyObject *resultobj = 0;
11911 char *arg1 = (
char *) 0 ;
11915 PyObject * obj0 = 0 ;
11917 if (!PyArg_ParseTuple(args,(
char *)
"O:plsfnam",&obj0))
SWIG_fail;
11922 arg1 = (
char *)(buf1);
11934 PyObject *resultobj = 0;
11944 PyObject * obj0 = 0 ;
11945 PyObject * obj1 = 0 ;
11946 PyObject * obj2 = 0 ;
11948 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsfont",&obj0,&obj1,&obj2))
SWIG_fail;
11953 arg1 = (
PLINT)(val1);
11958 arg2 = (
PLINT)(val2);
11963 arg3 = (
PLINT)(val3);
11973 PyObject *resultobj = 0;
11974 PLFLT **arg1 = (PLFLT **) 0 ;
11982 PLFLT *arg9 = (PLFLT *) 0 ;
11991 PyArrayObject *tmp1 = NULL ;
12000 PyArrayObject *tmp9 = NULL ;
12009 PyObject * obj0 = 0 ;
12010 PyObject * obj1 = 0 ;
12011 PyObject * obj2 = 0 ;
12012 PyObject * obj3 = 0 ;
12013 PyObject * obj4 = 0 ;
12014 PyObject * obj5 = 0 ;
12015 PyObject * obj6 = 0 ;
12016 PyObject * obj7 = 0 ;
12017 PyObject * obj8 = 0 ;
12018 PyObject * obj9 = 0 ;
12019 PyObject * obj10 = 0 ;
12020 PyObject * obj11 = 0 ;
12035 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOO|OO:plshades",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11))
SWIG_fail;
12039 if ( tmp1 == NULL )
12041 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
12042 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
12044 arg1 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg2 );
12045 for ( i = 0; i < arg2; i++ )
12046 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
12052 arg5 = (
PLFLT)(val5);
12057 arg6 = (
PLFLT)(val6);
12062 arg7 = (
PLFLT)(val7);
12067 arg8 = (
PLFLT)(val8);
12070 if ( tmp9 == NULL )
12072 arg10 = PyArray_DIMS( tmp9 )[0];
12073 arg9 = (PLFLT *) PyArray_DATA( tmp9 );
12079 arg11 = (
PLFLT)(val11);
12084 arg12 = (
PLINT)(val12);
12089 arg13 = (
PLFLT)(val13);
12094 arg15 = (
PLBOOL)(val15);
12098 if ( obj10 == Py_None )
12104 if ( !PyCallable_Check( (PyObject *) obj10 ) )
12106 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
12115 if ( obj11 == Py_None )
12123 plshades((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(
double const *)arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17);
12158 PyObject *resultobj = 0;
12159 PLFLT **arg1 = (PLFLT **) 0 ;
12180 PyArrayObject *tmp1 = NULL ;
12209 PyObject * obj0 = 0 ;
12210 PyObject * obj1 = 0 ;
12211 PyObject * obj2 = 0 ;
12212 PyObject * obj3 = 0 ;
12213 PyObject * obj4 = 0 ;
12214 PyObject * obj5 = 0 ;
12215 PyObject * obj6 = 0 ;
12216 PyObject * obj7 = 0 ;
12217 PyObject * obj8 = 0 ;
12218 PyObject * obj9 = 0 ;
12219 PyObject * obj10 = 0 ;
12220 PyObject * obj11 = 0 ;
12221 PyObject * obj12 = 0 ;
12222 PyObject * obj13 = 0 ;
12223 PyObject * obj14 = 0 ;
12224 PyObject * obj15 = 0 ;
12225 PyObject * obj16 = 0 ;
12240 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;
12244 if ( tmp1 == NULL )
12246 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
12247 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
12249 arg1 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg2 );
12250 for ( i = 0; i < arg2; i++ )
12251 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
12257 arg5 = (
PLFLT)(val5);
12262 arg6 = (
PLFLT)(val6);
12267 arg7 = (
PLFLT)(val7);
12272 arg8 = (
PLFLT)(val8);
12277 arg9 = (
PLFLT)(val9);
12282 arg10 = (
PLFLT)(val10);
12287 arg11 = (
PLINT)(val11);
12292 arg12 = (
PLFLT)(val12);
12297 arg13 = (
PLFLT)(val13);
12302 arg14 = (
PLINT)(val14);
12307 arg15 = (
PLFLT)(val15);
12312 arg16 = (
PLINT)(val16);
12317 arg17 = (
PLFLT)(val17);
12322 arg19 = (
PLBOOL)(val19);
12326 if ( obj15 == Py_None )
12332 if ( !PyCallable_Check( (PyObject *) obj15 ) )
12334 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
12343 if ( obj16 == Py_None )
12351 plshade((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21);
12380 PyObject *resultobj = 0;
12384 PyObject * obj0 = 0 ;
12385 PyObject * obj1 = 0 ;
12387 if (!PyArg_ParseTuple(args,(
char *)
"OO:plslabelfunc",&obj0,&obj1))
SWIG_fail;
12390 if ( python_label )
12392 Py_CLEAR( python_label );
12396 if ( obj0 == Py_None )
12402 if ( !PyCallable_Check( (PyObject *) obj0 ) )
12404 PyErr_SetString( PyExc_ValueError,
"label_func argument must be callable" );
12408 Py_XINCREF( (PyObject *) obj0 );
12409 python_label = (PyObject *) obj0;
12427 PyObject *resultobj = 0;
12434 PyObject * obj0 = 0 ;
12435 PyObject * obj1 = 0 ;
12437 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsmaj",&obj0,&obj1))
SWIG_fail;
12442 arg1 = (
PLFLT)(val1);
12447 arg2 = (
PLFLT)(val2);
12457 PyObject *resultobj = 0;
12460 void *arg3 = (
void *) 0 ;
12468 PyObject * obj0 = 0 ;
12469 PyObject * obj1 = 0 ;
12470 PyObject * obj2 = 0 ;
12472 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsmem",&obj0,&obj1,&obj2))
SWIG_fail;
12477 arg1 = (
PLINT)(val1);
12482 arg2 = (
PLINT)(val2);
12484 res3 = PyObject_AsWriteBuffer(obj2, &buf3, &size3);
12489 arg3 = (
void *) buf3;
12500 PyObject *resultobj = 0;
12503 void *arg3 = (
void *) 0 ;
12511 PyObject * obj0 = 0 ;
12512 PyObject * obj1 = 0 ;
12513 PyObject * obj2 = 0 ;
12515 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsmema",&obj0,&obj1,&obj2))
SWIG_fail;
12520 arg1 = (
PLINT)(val1);
12525 arg2 = (
PLINT)(val2);
12527 res3 = PyObject_AsWriteBuffer(obj2, &buf3, &size3);
12532 arg3 = (
void *) buf3;
12543 PyObject *resultobj = 0;
12550 PyObject * obj0 = 0 ;
12551 PyObject * obj1 = 0 ;
12553 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsmin",&obj0,&obj1))
SWIG_fail;
12558 arg1 = (
PLFLT)(val1);
12563 arg2 = (
PLFLT)(val2);
12573 PyObject *resultobj = 0;
12577 PyObject * obj0 = 0 ;
12579 if (!PyArg_ParseTuple(args,(
char *)
"O:plsori",&obj0))
SWIG_fail;
12584 arg1 = (
PLINT)(val1);
12594 PyObject *resultobj = 0;
12613 PyObject * obj0 = 0 ;
12614 PyObject * obj1 = 0 ;
12615 PyObject * obj2 = 0 ;
12616 PyObject * obj3 = 0 ;
12617 PyObject * obj4 = 0 ;
12618 PyObject * obj5 = 0 ;
12620 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plspage",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
12625 arg1 = (
PLFLT)(val1);
12630 arg2 = (
PLFLT)(val2);
12635 arg3 = (
PLINT)(val3);
12640 arg4 = (
PLINT)(val4);
12645 arg5 = (
PLINT)(val5);
12650 arg6 = (
PLINT)(val6);
12651 plspage(arg1,arg2,arg3,arg4,arg5,arg6);
12660 PyObject *resultobj = 0;
12661 char *arg1 = (
char *) 0 ;
12665 PyObject * obj0 = 0 ;
12667 if (!PyArg_ParseTuple(args,(
char *)
"O:plspal0",&obj0))
SWIG_fail;
12672 arg1 = (
char *)(buf1);
12684 PyObject *resultobj = 0;
12685 char *arg1 = (
char *) 0 ;
12692 PyObject * obj0 = 0 ;
12693 PyObject * obj1 = 0 ;
12695 if (!PyArg_ParseTuple(args,(
char *)
"OO:plspal1",&obj0,&obj1))
SWIG_fail;
12700 arg1 = (
char *)(buf1);
12706 plspal1((
char const *)arg1,arg2);
12717 PyObject *resultobj = 0;
12721 PyObject * obj0 = 0 ;
12723 if (!PyArg_ParseTuple(args,(
char *)
"O:plspause",&obj0))
SWIG_fail;
12738 PyObject *resultobj = 0;
12742 PyObject * obj0 = 0 ;
12744 if (!PyArg_ParseTuple(args,(
char *)
"O:plsstrm",&obj0))
SWIG_fail;
12749 arg1 = (
PLINT)(val1);
12759 PyObject *resultobj = 0;
12766 PyObject * obj0 = 0 ;
12767 PyObject * obj1 = 0 ;
12769 if (!PyArg_ParseTuple(args,(
char *)
"OO:plssub",&obj0,&obj1))
SWIG_fail;
12774 arg1 = (
PLINT)(val1);
12779 arg2 = (
PLINT)(val2);
12789 PyObject *resultobj = 0;
12796 PyObject * obj0 = 0 ;
12797 PyObject * obj1 = 0 ;
12799 if (!PyArg_ParseTuple(args,(
char *)
"OO:plssym",&obj0,&obj1))
SWIG_fail;
12804 arg1 = (
PLFLT)(val1);
12809 arg2 = (
PLFLT)(val2);
12819 PyObject *resultobj = 0;
12826 PyObject * obj0 = 0 ;
12827 PyObject * obj1 = 0 ;
12829 if (!PyArg_ParseTuple(args,(
char *)
"OO:plstar",&obj0,&obj1))
SWIG_fail;
12834 arg1 = (
PLINT)(val1);
12839 arg2 = (
PLINT)(val2);
12849 PyObject *resultobj = 0;
12850 char *arg1 = (
char *) 0 ;
12860 PyObject * obj0 = 0 ;
12861 PyObject * obj1 = 0 ;
12862 PyObject * obj2 = 0 ;
12864 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plstart",&obj0,&obj1,&obj2))
SWIG_fail;
12869 arg1 = (
char *)(buf1);
12874 arg2 = (
PLINT)(val2);
12879 arg3 = (
PLINT)(val3);
12880 plstart((
char const *)arg1,arg2,arg3);
12891 PyObject *resultobj = 0;
12895 PyObject * obj0 = 0 ;
12896 PyObject * obj1 = 0 ;
12902 if (!PyArg_ParseTuple(args,(
char *)
"|OO:plstransform",&obj0,&obj1))
SWIG_fail;
12908 if ( obj0 == Py_None )
12914 if ( !PyCallable_Check( (PyObject *) obj0 ) )
12916 PyErr_SetString( PyExc_ValueError,
"coordinate transform argument must be callable" );
12938 PyObject *resultobj = 0;
12940 PLFLT *arg2 = (PLFLT *) 0 ;
12941 PLFLT *arg3 = (PLFLT *) 0 ;
12942 char *arg4 = (
char *) 0 ;
12943 PyArrayObject *tmp1 = NULL ;
12944 PyArrayObject *tmp3 = NULL ;
12948 PyObject * obj0 = 0 ;
12949 PyObject * obj1 = 0 ;
12950 PyObject * obj2 = 0 ;
12952 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plstring",&obj0,&obj1,&obj2))
SWIG_fail;
12955 if ( tmp1 == NULL )
12957 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
12958 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
12962 if ( tmp3 == NULL )
12964 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
12966 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
12969 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
12975 arg4 = (
char *)(buf4);
12976 plstring(arg1,(
double const *)arg2,(
double const *)arg3,(
char const *)arg4);
12999 PyObject *resultobj = 0;
13001 PLFLT *arg2 = (PLFLT *) 0 ;
13002 PLFLT *arg3 = (PLFLT *) 0 ;
13003 PLFLT *arg4 = (PLFLT *) 0 ;
13004 char *arg5 = (
char *) 0 ;
13005 PyArrayObject *tmp1 = NULL ;
13006 PyArrayObject *tmp3 = NULL ;
13007 PyArrayObject *tmp4 = NULL ;
13011 PyObject * obj0 = 0 ;
13012 PyObject * obj1 = 0 ;
13013 PyObject * obj2 = 0 ;
13014 PyObject * obj3 = 0 ;
13016 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plstring3",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
13019 if ( tmp1 == NULL )
13021 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13022 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
13026 if ( tmp3 == NULL )
13028 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13030 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13033 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
13037 if ( tmp4 == NULL )
13039 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
13041 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13044 arg4 = (PLFLT *) PyArray_DATA( tmp4 );
13050 arg5 = (
char *)(buf5);
13051 plstring3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,(
char const *)arg5);
13080 PyObject *resultobj = 0;
13093 PyObject * obj0 = 0 ;
13094 PyObject * obj1 = 0 ;
13095 PyObject * obj2 = 0 ;
13096 PyObject * obj3 = 0 ;
13098 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plstripa",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
13103 arg1 = (
PLINT)(val1);
13108 arg2 = (
PLINT)(val2);
13113 arg3 = (
PLFLT)(val3);
13118 arg4 = (
PLFLT)(val4);
13128 PyObject *resultobj = 0;
13129 PLINT *arg1 = (PLINT *) 0 ;
13130 char *arg2 = (
char *) 0 ;
13131 char *arg3 = (
char *) 0 ;
13143 PLINT *arg15 = (PLINT *) 0 ;
13144 PLINT *arg16 = (PLINT *) 0 ;
13146 char *arg18 = (
char *) 0 ;
13147 char *arg19 = (
char *) 0 ;
13148 char *arg20 = (
char *) 0 ;
13179 PyArrayObject *tmp15 = NULL ;
13180 PyArrayObject *tmp16 = NULL ;
13181 char **tmp17 = NULL ;
13191 PyObject * obj0 = 0 ;
13192 PyObject * obj1 = 0 ;
13193 PyObject * obj2 = 0 ;
13194 PyObject * obj3 = 0 ;
13195 PyObject * obj4 = 0 ;
13196 PyObject * obj5 = 0 ;
13197 PyObject * obj6 = 0 ;
13198 PyObject * obj7 = 0 ;
13199 PyObject * obj8 = 0 ;
13200 PyObject * obj9 = 0 ;
13201 PyObject * obj10 = 0 ;
13202 PyObject * obj11 = 0 ;
13203 PyObject * obj12 = 0 ;
13204 PyObject * obj13 = 0 ;
13205 PyObject * obj14 = 0 ;
13206 PyObject * obj15 = 0 ;
13207 PyObject * obj16 = 0 ;
13208 PyObject * obj17 = 0 ;
13209 PyObject * obj18 = 0 ;
13212 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;
13217 arg2 = (
char *)(buf2);
13222 arg3 = (
char *)(buf3);
13227 arg4 = (
PLFLT)(val4);
13232 arg5 = (
PLFLT)(val5);
13237 arg6 = (
PLFLT)(val6);
13242 arg7 = (
PLFLT)(val7);
13247 arg8 = (
PLFLT)(val8);
13252 arg9 = (
PLFLT)(val9);
13257 arg10 = (
PLFLT)(val10);
13262 arg11 = (
PLBOOL)(val11);
13267 arg12 = (
PLBOOL)(val12);
13272 arg13 = (
PLINT)(val13);
13277 arg14 = (
PLINT)(val14);
13280 if ( tmp15 == NULL )
13282 Alen = PyArray_DIMS( tmp15 )[0];
13283 arg15 = (PLINT *) PyArray_DATA( tmp15 );
13287 if ( tmp16 == NULL )
13289 if ( PyArray_DIMS( tmp16 )[0] !=
Alen )
13291 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13294 arg16 = (PLINT *) PyArray_DATA( tmp16 );
13298 PyObject *elt, *unicode_string;
13302 PyErr_SetString( PyExc_ValueError,
"Requires a sequence of 4 strings." );
13307 PyErr_SetString( PyExc_ValueError,
"colline and styline args must be length 4." );
13310 tmp17 = (
char **) malloc(
sizeof (
char* ) * 4 );
13311 if ( tmp17 == NULL )
13314 for ( i = 0; i < 4; i++ )
13318 if ( PyString_Check( elt ) )
13320 arg17[i] = PyString_AsString( elt );
13322 else if ( PyUnicode_Check( elt ) )
13324 unicode_string = PyUnicode_AsEncodedString( elt,
"utf-8",
"Error ~" );
13325 arg17[i] = PyBytes_AS_STRING( unicode_string );
13327 if ( arg17[i] == NULL )
13338 arg18 = (
char *)(buf18);
13343 arg19 = (
char *)(buf19);
13348 arg20 = (
char *)(buf20);
13349 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);
13392 PyObject *resultobj = 0;
13396 PyObject * obj0 = 0 ;
13398 if (!PyArg_ParseTuple(args,(
char *)
"O:plstripd",&obj0))
SWIG_fail;
13403 arg1 = (
PLINT)(val1);
13413 PyObject *resultobj = 0;
13415 PLINT *arg2 = (PLINT *) 0 ;
13416 PLINT *arg3 = (PLINT *) 0 ;
13417 PyArrayObject *tmp1 = NULL ;
13418 PyArrayObject *tmp3 = NULL ;
13419 PyObject * obj0 = 0 ;
13420 PyObject * obj1 = 0 ;
13422 if (!PyArg_ParseTuple(args,(
char *)
"OO:plstyl",&obj0,&obj1))
SWIG_fail;
13425 if ( tmp1 == NULL )
13427 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13428 arg2 = (PLINT *) PyArray_DATA( tmp1 );
13432 if ( tmp3 == NULL )
13434 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13436 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13439 arg3 = (PLINT *) PyArray_DATA( tmp3 );
13441 plstyl(arg1,(
int const *)arg2,(
int const *)arg3);
13462 PyObject *resultobj = 0;
13463 PLFLT *arg1 = (PLFLT *) 0 ;
13464 PLFLT *arg2 = (PLFLT *) 0 ;
13467 PyArrayObject *tmp1 = NULL ;
13468 PyArrayObject *tmp2 = NULL ;
13471 PyObject * obj0 = 0 ;
13472 PyObject * obj1 = 0 ;
13473 PyObject * obj2 = 0 ;
13475 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsvect",&obj0,&obj1,&obj2))
SWIG_fail;
13477 if ( obj0 != Py_None )
13480 if ( tmp1 == NULL )
13482 Alen = PyArray_DIMS( tmp1 )[0];
13483 arg1 = (PLFLT *) PyArray_DATA( tmp1 );
13492 if ( obj1 != Py_None )
13495 if ( tmp2 == NULL )
13497 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
13499 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13502 arg2 = (PLFLT *) PyArray_DATA( tmp2 );
13503 arg3 = PyArray_DIMS( tmp2 )[0];
13516 plsvect((
double const *)arg1,(
double const *)arg2,arg3,arg4);
13537 PyObject *resultobj = 0;
13550 PyObject * obj0 = 0 ;
13551 PyObject * obj1 = 0 ;
13552 PyObject * obj2 = 0 ;
13553 PyObject * obj3 = 0 ;
13555 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plsvpa",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
13560 arg1 = (
PLFLT)(val1);
13565 arg2 = (
PLFLT)(val2);
13570 arg3 = (
PLFLT)(val3);
13575 arg4 = (
PLFLT)(val4);
13576 plsvpa(arg1,arg2,arg3,arg4);
13585 PyObject *resultobj = 0;
13592 PyObject * obj0 = 0 ;
13593 PyObject * obj1 = 0 ;
13595 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsxax",&obj0,&obj1))
SWIG_fail;
13600 arg1 = (
PLINT)(val1);
13605 arg2 = (
PLINT)(val2);
13615 PyObject *resultobj = 0;
13622 PyObject * obj0 = 0 ;
13623 PyObject * obj1 = 0 ;
13625 if (!PyArg_ParseTuple(args,(
char *)
"OO:plsyax",&obj0,&obj1))
SWIG_fail;
13630 arg1 = (
PLINT)(val1);
13635 arg2 = (
PLINT)(val2);
13645 PyObject *resultobj = 0;
13647 PLFLT *arg2 = (PLFLT *) 0 ;
13648 PLFLT *arg3 = (PLFLT *) 0 ;
13650 PyArrayObject *tmp1 = NULL ;
13651 PyArrayObject *tmp3 = NULL ;
13654 PyObject * obj0 = 0 ;
13655 PyObject * obj1 = 0 ;
13656 PyObject * obj2 = 0 ;
13658 if (!PyArg_ParseTuple(args,(
char *)
"OOO:plsym",&obj0,&obj1,&obj2))
SWIG_fail;
13661 if ( tmp1 == NULL )
13663 arg1 = Alen = PyArray_DIMS( tmp1 )[0];
13664 arg2 = (PLFLT *) PyArray_DATA( tmp1 );
13668 if ( tmp3 == NULL )
13670 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13672 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13675 arg3 = (PLFLT *) PyArray_DATA( tmp3 );
13681 arg4 = (
PLINT)(val4);
13682 plsym(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
13703 PyObject *resultobj = 0;
13710 PyObject * obj0 = 0 ;
13711 PyObject * obj1 = 0 ;
13713 if (!PyArg_ParseTuple(args,(
char *)
"OO:plszax",&obj0,&obj1))
SWIG_fail;
13718 arg1 = (
PLINT)(val1);
13723 arg2 = (
PLINT)(val2);
13733 PyObject *resultobj = 0;
13735 if (!PyArg_ParseTuple(args,(
char *)
":pltext"))
SWIG_fail;
13745 PyObject *resultobj = 0;
13746 char *arg1 = (
char *) 0 ;
13750 PyObject * obj0 = 0 ;
13752 if (!PyArg_ParseTuple(args,(
char *)
"O:pltimefmt",&obj0))
SWIG_fail;
13757 arg1 = (
char *)(buf1);
13769 PyObject *resultobj = 0;
13773 PyObject * obj0 = 0 ;
13775 if (!PyArg_ParseTuple(args,(
char *)
"O:plvasp",&obj0))
SWIG_fail;
13780 arg1 = (
PLFLT)(val1);
13790 PyObject *resultobj = 0;
13791 PLFLT **arg1 = (PLFLT **) 0 ;
13792 PLFLT **arg2 = (PLFLT **) 0 ;
13798 PyArrayObject *tmp1 = NULL ;
13799 PyArrayObject *tmp2 = NULL ;
13802 PyObject * obj0 = 0 ;
13803 PyObject * obj1 = 0 ;
13804 PyObject * obj2 = 0 ;
13805 PyObject * obj3 = 0 ;
13806 PyObject * obj4 = 0 ;
13815 if (!PyArg_ParseTuple(args,(
char *)
"OOO|OO:plvect",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
13819 if ( tmp1 == NULL )
13821 Xlen = PyArray_DIMS( tmp1 )[0];
13822 Ylen = PyArray_DIMS( tmp1 )[1];
13824 arg1 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) Xlen );
13825 for ( i = 0; i <
Xlen; i++ )
13826 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
13831 if ( tmp2 == NULL )
13833 if ( Xlen != PyArray_DIMS( tmp2 )[0] ||
Ylen != PyArray_DIMS( tmp2 )[1] )
13835 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
13838 arg3 = PyArray_DIMS( tmp2 )[0];
13839 arg4 = PyArray_DIMS( tmp2 )[1];
13841 arg2 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg3 );
13842 for ( i = 0; i < arg3; i++ )
13843 arg2[i] = ( (PLFLT *) PyArray_DATA( tmp2 ) + i * size );
13849 arg5 = (
PLFLT)(val5);
13853 if ( obj3 == Py_None )
13859 if ( !PyCallable_Check( (PyObject *) obj3 ) )
13861 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
13870 if ( obj4 == Py_None )
13878 plvect((
double const **)arg1,(
double const **)arg2,arg3,arg4,arg5,arg6,arg7);
13915 PyObject *resultobj = 0;
13931 PyObject * obj0 = 0 ;
13932 PyObject * obj1 = 0 ;
13933 PyObject * obj2 = 0 ;
13934 PyObject * obj3 = 0 ;
13935 PyObject * obj4 = 0 ;
13937 if (!PyArg_ParseTuple(args,(
char *)
"OOOOO:plvpas",&obj0,&obj1,&obj2,&obj3,&obj4))
SWIG_fail;
13942 arg1 = (
PLFLT)(val1);
13947 arg2 = (
PLFLT)(val2);
13952 arg3 = (
PLFLT)(val3);
13957 arg4 = (
PLFLT)(val4);
13962 arg5 = (
PLFLT)(val5);
13963 plvpas(arg1,arg2,arg3,arg4,arg5);
13972 PyObject *resultobj = 0;
13985 PyObject * obj0 = 0 ;
13986 PyObject * obj1 = 0 ;
13987 PyObject * obj2 = 0 ;
13988 PyObject * obj3 = 0 ;
13990 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plvpor",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
13995 arg1 = (
PLFLT)(val1);
14000 arg2 = (
PLFLT)(val2);
14005 arg3 = (
PLFLT)(val3);
14010 arg4 = (
PLFLT)(val4);
14011 plvpor(arg1,arg2,arg3,arg4);
14020 PyObject *resultobj = 0;
14022 if (!PyArg_ParseTuple(args,(
char *)
":plvsta"))
SWIG_fail;
14032 PyObject *resultobj = 0;
14066 PyObject * obj0 = 0 ;
14067 PyObject * obj1 = 0 ;
14068 PyObject * obj2 = 0 ;
14069 PyObject * obj3 = 0 ;
14070 PyObject * obj4 = 0 ;
14071 PyObject * obj5 = 0 ;
14072 PyObject * obj6 = 0 ;
14073 PyObject * obj7 = 0 ;
14074 PyObject * obj8 = 0 ;
14075 PyObject * obj9 = 0 ;
14076 PyObject * obj10 = 0 ;
14078 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plw3d",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
14083 arg1 = (
PLFLT)(val1);
14088 arg2 = (
PLFLT)(val2);
14093 arg3 = (
PLFLT)(val3);
14098 arg4 = (
PLFLT)(val4);
14103 arg5 = (
PLFLT)(val5);
14108 arg6 = (
PLFLT)(val6);
14113 arg7 = (
PLFLT)(val7);
14118 arg8 = (
PLFLT)(val8);
14123 arg9 = (
PLFLT)(val9);
14128 arg10 = (
PLFLT)(val10);
14133 arg11 = (
PLFLT)(val11);
14134 plw3d(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
14143 PyObject *resultobj = 0;
14147 PyObject * obj0 = 0 ;
14149 if (!PyArg_ParseTuple(args,(
char *)
"O:plwidth",&obj0))
SWIG_fail;
14154 arg1 = (
PLFLT)(val1);
14164 PyObject *resultobj = 0;
14177 PyObject * obj0 = 0 ;
14178 PyObject * obj1 = 0 ;
14179 PyObject * obj2 = 0 ;
14180 PyObject * obj3 = 0 ;
14182 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:plwind",&obj0,&obj1,&obj2,&obj3))
SWIG_fail;
14187 arg1 = (
PLFLT)(val1);
14192 arg2 = (
PLFLT)(val2);
14197 arg3 = (
PLFLT)(val3);
14202 arg4 = (
PLFLT)(val4);
14203 plwind(arg1,arg2,arg3,arg4);
14212 PyObject *resultobj = 0;
14219 PyObject * obj0 = 0 ;
14222 if (!PyArg_ParseTuple(args,(
char *)
"O:plxormod",&obj0))
SWIG_fail;
14243 PyObject *resultobj = 0;
14245 char *arg2 = (
char *) 0 ;
14261 PyObject * obj0 = 0 ;
14262 PyObject * obj1 = 0 ;
14263 PyObject * obj2 = 0 ;
14264 PyObject * obj3 = 0 ;
14265 PyObject * obj4 = 0 ;
14266 PyObject * obj5 = 0 ;
14268 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOO:plmap",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5))
SWIG_fail;
14271 if ( obj0 == Py_None )
14277 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14279 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14289 arg2 = (
char *)(buf2);
14294 arg3 = (
PLFLT)(val3);
14299 arg4 = (
PLFLT)(val4);
14304 arg5 = (
PLFLT)(val5);
14309 arg6 = (
PLFLT)(val6);
14310 plmap(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6);
14327 PyObject *resultobj = 0;
14329 char *arg2 = (
char *) 0 ;
14334 PLINT *arg7 = (PLINT *) 0 ;
14347 PyArrayObject *tmp7 = NULL ;
14348 PyObject * obj0 = 0 ;
14349 PyObject * obj1 = 0 ;
14350 PyObject * obj2 = 0 ;
14351 PyObject * obj3 = 0 ;
14352 PyObject * obj4 = 0 ;
14353 PyObject * obj5 = 0 ;
14354 PyObject * obj6 = 0 ;
14356 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plmapline",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
14359 if ( obj0 == Py_None )
14365 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14367 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14377 arg2 = (
char *)(buf2);
14382 arg3 = (
PLFLT)(val3);
14387 arg4 = (
PLFLT)(val4);
14392 arg5 = (
PLFLT)(val5);
14397 arg6 = (
PLFLT)(val6);
14399 if ( obj6 != Py_None )
14402 if ( tmp7 == NULL )
14404 arg7 = (PLINT *) PyArray_DATA( tmp7 );
14405 arg8 = PyArray_DIMS( tmp7 )[0];
14413 plmapline(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6,(
int const *)arg7,arg8);
14436 PyObject *resultobj = 0;
14438 char *arg2 = (
char *) 0 ;
14439 char *arg3 = (
char *) 0 ;
14444 PLINT *arg8 = (PLINT *) 0 ;
14460 PyArrayObject *tmp8 = NULL ;
14461 PyObject * obj0 = 0 ;
14462 PyObject * obj1 = 0 ;
14463 PyObject * obj2 = 0 ;
14464 PyObject * obj3 = 0 ;
14465 PyObject * obj4 = 0 ;
14466 PyObject * obj5 = 0 ;
14467 PyObject * obj6 = 0 ;
14468 PyObject * obj7 = 0 ;
14470 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOO:plmapstring",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7))
SWIG_fail;
14473 if ( obj0 == Py_None )
14479 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14481 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14491 arg2 = (
char *)(buf2);
14496 arg3 = (
char *)(buf3);
14501 arg4 = (
PLFLT)(val4);
14506 arg5 = (
PLFLT)(val5);
14511 arg6 = (
PLFLT)(val6);
14516 arg7 = (
PLFLT)(val7);
14518 if ( obj7 != Py_None )
14521 if ( tmp8 == NULL )
14523 arg8 = (PLINT *) PyArray_DATA( tmp8 );
14524 arg9 = PyArray_DIMS( tmp8 )[0];
14532 plmapstring(arg1,(
char const *)arg2,(
char const *)arg3,arg4,arg5,arg6,arg7,(
int const *)arg8,arg9);
14557 PyObject *resultobj = 0;
14559 char *arg2 = (
char *) 0 ;
14563 char *arg6 = (
char *) 0 ;
14591 PyObject * obj0 = 0 ;
14592 PyObject * obj1 = 0 ;
14593 PyObject * obj2 = 0 ;
14594 PyObject * obj3 = 0 ;
14595 PyObject * obj4 = 0 ;
14596 PyObject * obj5 = 0 ;
14597 PyObject * obj6 = 0 ;
14598 PyObject * obj7 = 0 ;
14599 PyObject * obj8 = 0 ;
14600 PyObject * obj9 = 0 ;
14601 PyObject * obj10 = 0 ;
14603 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plmaptex",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
14606 if ( obj0 == Py_None )
14612 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14614 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14624 arg2 = (
char *)(buf2);
14629 arg3 = (
PLFLT)(val3);
14634 arg4 = (
PLFLT)(val4);
14639 arg5 = (
PLFLT)(val5);
14644 arg6 = (
char *)(buf6);
14649 arg7 = (
PLFLT)(val7);
14654 arg8 = (
PLFLT)(val8);
14659 arg9 = (
PLFLT)(val9);
14664 arg10 = (
PLFLT)(val10);
14669 arg11 = (
PLINT)(val11);
14670 plmaptex(arg1,(
char const *)arg2,arg3,arg4,arg5,(
char const *)arg6,arg7,arg8,arg9,arg10,arg11);
14689 PyObject *resultobj = 0;
14691 char *arg2 = (
char *) 0 ;
14696 PLINT *arg7 = (PLINT *) 0 ;
14709 PyArrayObject *tmp7 = NULL ;
14710 PyObject * obj0 = 0 ;
14711 PyObject * obj1 = 0 ;
14712 PyObject * obj2 = 0 ;
14713 PyObject * obj3 = 0 ;
14714 PyObject * obj4 = 0 ;
14715 PyObject * obj5 = 0 ;
14716 PyObject * obj6 = 0 ;
14718 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plmapfill",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
14721 if ( obj0 == Py_None )
14727 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14729 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14739 arg2 = (
char *)(buf2);
14744 arg3 = (
PLFLT)(val3);
14749 arg4 = (
PLFLT)(val4);
14754 arg5 = (
PLFLT)(val5);
14759 arg6 = (
PLFLT)(val6);
14761 if ( obj6 != Py_None )
14764 if ( tmp7 == NULL )
14766 arg7 = (PLINT *) PyArray_DATA( tmp7 );
14767 arg8 = PyArray_DIMS( tmp7 )[0];
14775 plmapfill(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6,(
int const *)arg7,arg8);
14798 PyObject *resultobj = 0;
14818 PyObject * obj0 = 0 ;
14819 PyObject * obj1 = 0 ;
14820 PyObject * obj2 = 0 ;
14821 PyObject * obj3 = 0 ;
14822 PyObject * obj4 = 0 ;
14823 PyObject * obj5 = 0 ;
14824 PyObject * obj6 = 0 ;
14826 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOO:plmeridians",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6))
SWIG_fail;
14829 if ( obj0 == Py_None )
14835 if ( !PyCallable_Check( (PyObject *) obj0 ) )
14837 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14847 arg2 = (
PLFLT)(val2);
14852 arg3 = (
PLFLT)(val3);
14857 arg4 = (
PLFLT)(val4);
14862 arg5 = (
PLFLT)(val5);
14867 arg6 = (
PLFLT)(val6);
14872 arg7 = (
PLFLT)(val7);
14888 PyObject *resultobj = 0;
14889 PLFLT **arg1 = (PLFLT **) 0 ;
14902 PyArrayObject *tmp1 = NULL ;
14923 PyObject * obj0 = 0 ;
14924 PyObject * obj1 = 0 ;
14925 PyObject * obj2 = 0 ;
14926 PyObject * obj3 = 0 ;
14927 PyObject * obj4 = 0 ;
14928 PyObject * obj5 = 0 ;
14929 PyObject * obj6 = 0 ;
14930 PyObject * obj7 = 0 ;
14931 PyObject * obj8 = 0 ;
14932 PyObject * obj9 = 0 ;
14933 PyObject * obj10 = 0 ;
14935 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOOOO:plimage",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
14939 if ( tmp1 == NULL )
14941 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
14942 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
14944 arg1 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg2 );
14945 for ( i = 0; i < arg2; i++ )
14946 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
14952 arg4 = (
PLFLT)(val4);
14957 arg5 = (
PLFLT)(val5);
14962 arg6 = (
PLFLT)(val6);
14967 arg7 = (
PLFLT)(val7);
14972 arg8 = (
PLFLT)(val8);
14977 arg9 = (
PLFLT)(val9);
14982 arg10 = (
PLFLT)(val10);
14987 arg11 = (
PLFLT)(val11);
14992 arg12 = (
PLFLT)(val12);
14997 arg13 = (
PLFLT)(val13);
14998 plimage((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
15015 PyObject *resultobj = 0;
15016 PLFLT **arg1 = (PLFLT **) 0 ;
15029 PyArrayObject *tmp1 = NULL ;
15046 PyObject * obj0 = 0 ;
15047 PyObject * obj1 = 0 ;
15048 PyObject * obj2 = 0 ;
15049 PyObject * obj3 = 0 ;
15050 PyObject * obj4 = 0 ;
15051 PyObject * obj5 = 0 ;
15052 PyObject * obj6 = 0 ;
15053 PyObject * obj7 = 0 ;
15054 PyObject * obj8 = 0 ;
15055 PyObject * obj9 = 0 ;
15056 PyObject * obj10 = 0 ;
15065 if (!PyArg_ParseTuple(args,(
char *)
"OOOOOOOOO|OO:plimagefr",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10))
SWIG_fail;
15069 if ( tmp1 == NULL )
15071 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15072 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15074 arg1 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg2 );
15075 for ( i = 0; i < arg2; i++ )
15076 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15082 arg4 = (
PLFLT)(val4);
15087 arg5 = (
PLFLT)(val5);
15092 arg6 = (
PLFLT)(val6);
15097 arg7 = (
PLFLT)(val7);
15102 arg8 = (
PLFLT)(val8);
15107 arg9 = (
PLFLT)(val9);
15112 arg10 = (
PLFLT)(val10);
15117 arg11 = (
PLFLT)(val11);
15121 if ( obj9 == Py_None )
15127 if ( !PyCallable_Check( (PyObject *) obj9 ) )
15129 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
15138 if ( obj10 == Py_None )
15146 plimagefr((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
15175 PyObject *resultobj = 0;
15177 if (!PyArg_ParseTuple(args,(
char *)
":plClearOpts"))
SWIG_fail;
15187 PyObject *resultobj = 0;
15189 if (!PyArg_ParseTuple(args,(
char *)
":plResetOpts"))
SWIG_fail;
15199 PyObject *resultobj = 0;
15200 char *arg1 = (
char *) 0 ;
15201 char *arg2 = (
char *) 0 ;
15208 PyObject * obj0 = 0 ;
15209 PyObject * obj1 = 0 ;
15211 if (!PyArg_ParseTuple(args,(
char *)
"OO:plSetUsage",&obj0,&obj1))
SWIG_fail;
15216 arg1 = (
char *)(buf1);
15221 arg2 = (
char *)(buf2);
15222 plSetUsage((
char const *)arg1,(
char const *)arg2);
15235 PyObject *resultobj = 0;
15237 if (!PyArg_ParseTuple(args,(
char *)
":plOptUsage"))
SWIG_fail;
15247 PyObject *resultobj = 0;
15248 PLFLT **arg1 = (PLFLT **) 0 ;
15251 PLFLT *arg4 = (PLFLT *) 0 ;
15252 PLFLT *arg5 = (PLFLT *) 0 ;
15253 PyArrayObject *tmp1 = NULL ;
15258 PyObject * obj0 = 0 ;
15262 if (!PyArg_ParseTuple(args,(
char *)
"O:plMinMax2dGrid",&obj0))
SWIG_fail;
15266 if ( tmp1 == NULL )
15268 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
15269 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
15271 arg1 = (PLFLT **) malloc(
sizeof ( PLFLT* ) * (size_t) arg2 );
15272 for ( i = 0; i < arg2; i++ )
15273 arg1[i] = ( (PLFLT *) PyArray_DATA( tmp1 ) + i * size );
15304 PyObject *resultobj = 0;
15308 PyObject * obj0 = 0 ;
15311 if (!PyArg_ParseTuple(args,(
char *)
"O:plGetCursor",&obj0))
SWIG_fail;
15359 "Set format of numerical label for contours\n" 15363 " Set format of numerical label for contours.\n" 15365 " Redacted form: pl_setcontlabelformat(lexp, sigdig)\n" 15367 " This function is used example 9.\n" 15373 "pl_setcontlabelformat(lexp, sigdig)\n" 15377 " lexp (PLINT, input) : If the contour numerical label is greater\n" 15378 " than 10^(lexp) or less than 10^(-lexp), then the exponential\n" 15379 " format is used. Default value of lexp is 4.\n" 15381 " sigdig (PLINT, input) : Number of significant digits. Default\n" 15386 "Set parameters of contour labelling other than format of numerical label\n" 15390 " Set parameters of contour labelling other than those handled by\n" 15391 " pl_setcontlabelformat.\n" 15393 " Redacted form: pl_setcontlabelparam(offset, size, spacing, active)\n" 15395 " This function is used in example 9.\n" 15401 "pl_setcontlabelparam(offset, size, spacing, active)\n" 15405 " offset (PLFLT, input) : Offset of label from contour line (if set\n" 15406 " to 0.0, labels are printed on the lines). Default value is 0.006.\n" 15408 " size (PLFLT, input) : Font height for contour labels (normalized).\n" 15409 " Default value is 0.3.\n" 15411 " spacing (PLFLT, input) : Spacing parameter for contour labels.\n" 15412 " Default value is 0.1.\n" 15414 " active (PLINT, input) : Activate labels. Set to 1 if you want\n" 15415 " contour labels on. Default is off (0).\n" 15418 {
"pladv",
_wrap_pladv, METH_VARARGS, (
char *)
"\n" 15419 "Advance the (sub-)page\n" 15423 " Advances to the next subpage if sub=0, performing a page advance if\n" 15424 " there are no remaining subpages on the current page. If subpages\n" 15425 " aren't being used, pladv(0) will always advance the page. If page>0,\n" 15426 " PLplot switches to the specified subpage. Note that this allows you\n" 15427 " to overwrite a plot on the specified subpage; if this is not what you\n" 15428 " intended, use pleop followed by plbop to first advance the page. This\n" 15429 " routine is called automatically (with page=0) by plenv, but if plenv\n" 15430 " is not used, pladv must be called after initializing PLplot but before\n" 15431 " defining the viewport.\n" 15433 " Redacted form: pladv(page)\n" 15435 " This function is used in examples 1, 2, 4, 6-12, 14-18, 20, 21, 23-27,\n" 15446 " page (PLINT, input) : Specifies the subpage number (starting from 1\n" 15447 " in the top left corner and increasing along the rows) to which to\n" 15448 " advance. Set to zero to advance to the next subpage (or to the\n" 15449 " next page if subpages are not being used).\n" 15452 {
"plarc",
_wrap_plarc, METH_VARARGS, (
char *)
"\n" 15453 "Draw a circular or elliptical arc\n" 15457 " Draw a possibly filled arc centered at x, y with semimajor axis a and\n" 15458 " semiminor axis b, starting at angle1 and ending at angle2.\n" 15460 " Redacted form: General: plarc(x, y, a, b, angle1, angle2, rotate,\n" 15464 " This function is used in examples 3 and 27.\n" 15470 "plarc(x, y, a, b, angle1, angle2, rotate, fill)\n" 15474 " x (PLFLT, input) : X coordinate of arc center.\n" 15476 " y (PLFLT, input) : Y coordinate of arc center.\n" 15478 " a (PLFLT, input) : Length of the semimajor axis of the arc.\n" 15480 " b (PLFLT, input) : Length of the semiminor axis of the arc.\n" 15482 " angle1 (PLFLT, input) : Starting angle of the arc relative to the\n" 15483 " semimajor axis.\n" 15485 " angle2 (PLFLT, input) : Ending angle of the arc relative to the\n" 15486 " semimajor axis.\n" 15488 " rotate (PLFLT, input) : Angle of the semimajor axis relative to the\n" 15491 " fill (PLBOOL, input) : Draw a filled arc.\n" 15495 "Draw a box with axes, etc. with arbitrary origin\n" 15499 " Draws a box around the currently defined viewport with arbitrary\n" 15500 " world-coordinate origin specified by x0 and y0 and labels it with\n" 15501 " world coordinate values appropriate to the window. Thus plaxes should\n" 15502 " only be called after defining both viewport and window. The ascii\n" 15503 " character strings xopt and yopt specify how the box should be drawn as\n" 15504 " described below. If ticks and/or subticks are to be drawn for a\n" 15505 " particular axis, the tick intervals and number of subintervals may be\n" 15506 " specified explicitly, or they may be defaulted by setting the\n" 15507 " appropriate arguments to zero.\n" 15509 " Redacted form: General: plaxes(x0, y0, xopt, xtick, nxsub, yopt,\n" 15513 " This function is not used in any examples.\n" 15519 "plaxes(x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub)\n" 15523 " x0 (PLFLT, input) : World X coordinate of origin.\n" 15525 " y0 (PLFLT, input) : World Y coordinate of origin.\n" 15527 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15528 " options for the x axis. The string can include any combination of\n" 15529 " the following letters (upper or lower case) in any order: a: Draws\n" 15530 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n" 15532 " b: Draws bottom (X) or left (Y) edge of frame.\n" 15533 " c: Draws top (X) or right (Y) edge of frame.\n" 15534 " d: Plot labels as date / time. Values are assumed to be\n" 15535 " seconds since the epoch (as used by gmtime).\n" 15536 " f: Always use fixed point numeric labels.\n" 15537 " g: Draws a grid at the major tick interval.\n" 15538 " h: Draws a grid at the minor tick interval.\n" 15539 " i: Inverts tick marks, so they are drawn outwards, rather than\n" 15541 " l: Labels axis logarithmically. This only affects the labels,\n" 15542 " not the data, and so it is necessary to compute the logarithms\n" 15543 " of data points before passing them to any of the drawing\n" 15545 " m: Writes numeric labels at major tick intervals in the\n" 15546 " unconventional location (above box for X, right of box for Y).\n" 15547 " n: Writes numeric labels at major tick intervals in the\n" 15548 " conventional location (below box for X, left of box for Y).\n" 15549 " o: Use custom labelling function to generate axis label text.\n" 15550 " The custom labelling function can be defined with the\n" 15551 " plslabelfunc command.\n" 15552 " s: Enables subticks between major ticks, only valid if t is\n" 15553 " also specified.\n" 15554 " t: Draws major ticks.\n" 15555 " u: Exactly like \"b\" except don't draw edge line.\n" 15556 " w: Exactly like \"c\" except don't draw edge line.\n" 15557 " x: Exactly like \"t\" (including the side effect of the\n" 15558 " numerical labels for the major ticks) except exclude drawing\n" 15559 " the major and minor tick marks.\n" 15562 " xtick (PLFLT, input) : World coordinate interval between major\n" 15563 " ticks on the x axis. If it is set to zero, PLplot automatically\n" 15564 " generates a suitable tick interval.\n" 15566 " nxsub (PLINT, input) : Number of subintervals between major x axis\n" 15567 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15568 " generates a suitable minor tick interval.\n" 15570 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15571 " options for the y axis. The string can include any combination of\n" 15572 " the letters defined above for xopt, and in addition may contain:\n" 15573 " v: Write numeric labels for the y axis parallel to the base of the\n" 15574 " graph, rather than parallel to the axis.\n" 15577 " ytick (PLFLT, input) : World coordinate interval between major\n" 15578 " ticks on the y axis. If it is set to zero, PLplot automatically\n" 15579 " generates a suitable tick interval.\n" 15581 " nysub (PLINT, input) : Number of subintervals between major y axis\n" 15582 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15583 " generates a suitable minor tick interval.\n" 15586 {
"plbin",
_wrap_plbin, METH_VARARGS, (
char *)
"\n" 15587 "Plot a histogram from binned data\n" 15591 " Plots a histogram consisting of nbin bins. The value associated with\n" 15592 " the i'th bin is placed in x[i], and the number of points in the bin is\n" 15593 " placed in y[i]. For proper operation, the values in x[i] must form a\n" 15594 " strictly increasing sequence. By default, x[i] is the left-hand edge\n" 15595 " of the i'th bin. If opt=PL_BIN_CENTRED is used, the bin boundaries are\n" 15596 " placed midway between the values in the x vector. Also see plhist for\n" 15597 " drawing histograms from unbinned data.\n" 15599 " Redacted form: General: plbin(x, y, opt)\n" 15600 " Python: plbin(nbin, x, y, opt)\n" 15603 " This function is not used in any examples.\n" 15609 "plbin(nbin, x, y, opt)\n" 15613 " nbin (PLINT, input) : Number of bins (i.e., number of values in x\n" 15614 " and y vectors.)\n" 15616 " x (PLFLT_VECTOR, input) : A vector containing values associated\n" 15617 " with bins. These must form a strictly increasing sequence.\n" 15619 " y (PLFLT_VECTOR, input) : A vector containing a number which is\n" 15620 " proportional to the number of points in each bin. This is a PLFLT\n" 15621 " (instead of PLINT) vector so as to allow histograms of\n" 15622 " probabilities, etc.\n" 15624 " opt (PLINT, input) : Is a combination of several flags:\n" 15625 " opt=PL_BIN_DEFAULT: The x represent the lower bin boundaries, the\n" 15626 " outer bins are expanded to fill up the entire x-axis and bins of\n" 15627 " zero height are simply drawn.\n" 15628 " opt=PL_BIN_CENTRED|...: The bin boundaries are to be midway\n" 15629 " between the x values. If the values in x are equally spaced,\n" 15630 " the values are the center values of the bins.\n" 15631 " opt=PL_BIN_NOEXPAND|...: The outer bins are drawn with equal\n" 15632 " size as the ones inside.\n" 15633 " opt=PL_BIN_NOEMPTY|...: Bins with zero height are not drawn\n" 15634 " (there is a gap for such bins).\n" 15638 "Calculate broken-down time from continuous time for the current stream\n" 15642 " Calculate broken-down time; year, month, day, hour, min, sec; from\n" 15643 " continuous time, ctime for the current stream. This function is the\n" 15644 " inverse of plctime.\n" 15646 " The PLplot definition of broken-down time is a calendar time that\n" 15647 " completely ignores all time zone offsets, i.e., it is the user's\n" 15648 " responsibility to apply those offsets (if so desired) before using the\n" 15649 " PLplot time API. By default broken-down time is defined using the\n" 15650 " proleptic Gregorian calendar without the insertion of leap seconds and\n" 15651 " continuous time is defined as the number of seconds since the Unix\n" 15652 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n" 15653 " broken-down and continuous time are possible, see plconfigtime.\n" 15655 " Redacted form: General: plbtime(year, month, day, hour, min, sec,\n" 15659 " This function is used in example 29.\n" 15665 "plbtime(year, month, day, hour, min, sec, ctime)\n" 15669 " year (PLINT_NC_SCALAR, output) : Returned value of years with\n" 15670 " positive values corresponding to CE (i.e., 1 = 1 CE, etc.) and\n" 15671 " non-negative values corresponding to BCE (e.g., 0 = 1 BCE, -1 = 2\n" 15674 " month (PLINT_NC_SCALAR, output) : Returned value of month within\n" 15675 " the year in the range from 0 (January) to 11 (December).\n" 15677 " day (PLINT_NC_SCALAR, output) : Returned value of day within the\n" 15678 " month in the range from 1 to 31.\n" 15680 " hour (PLINT_NC_SCALAR, output) : Returned value of hour within the\n" 15681 " day in the range from 0 to 23.\n" 15683 " min (PLINT_NC_SCALAR, output) : Returned value of minute within the\n" 15684 " hour in the range from 0 to 59\n" 15686 " sec (PLFLT_NC_SCALAR, output) : Returned value of second within the\n" 15687 " minute in range from 0. to 60.\n" 15689 " ctime (PLFLT, input) : Continuous time from which the broken-down\n" 15690 " time is calculated.\n" 15693 {
"plbop",
_wrap_plbop, METH_VARARGS, (
char *)
"\n" 15694 "Begin a new page\n" 15698 " Begins a new page. For a file driver, the output file is opened if\n" 15699 " necessary. Advancing the page via pleop and plbop is useful when a\n" 15700 " page break is desired at a particular point when plotting to subpages.\n" 15701 " Another use for pleop and plbop is when plotting pages to different\n" 15702 " files, since you can manually set the file name by calling plsfnam\n" 15703 " after the call to pleop. (In fact some drivers may only support a\n" 15704 " single page per file, making this a necessity.) One way to handle\n" 15705 " this case automatically is to page advance via pladv, but enable\n" 15706 " familying (see plsfam) with a small limit on the file size so that a\n" 15707 " new family member file will be created on each page break.\n" 15709 " Redacted form: plbop()\n" 15711 " This function is used in examples 2 and 20.\n" 15720 {
"plbox",
_wrap_plbox, METH_VARARGS, (
char *)
"\n" 15721 "Draw a box with axes, etc\n" 15725 " Draws a box around the currently defined viewport, and labels it with\n" 15726 " world coordinate values appropriate to the window. Thus plbox should\n" 15727 " only be called after defining both viewport and window. The ascii\n" 15728 " character strings xopt and yopt specify how the box should be drawn as\n" 15729 " described below. If ticks and/or subticks are to be drawn for a\n" 15730 " particular axis, the tick intervals and number of subintervals may be\n" 15731 " specified explicitly, or they may be defaulted by setting the\n" 15732 " appropriate arguments to zero.\n" 15734 " Redacted form: General: plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n" 15737 " This function is used in examples 1, 2, 4, 6, 6-12, 14-18, 21, 23-26,\n" 15744 "plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n" 15748 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15749 " options for the x axis. The string can include any combination of\n" 15750 " the following letters (upper or lower case) in any order: a: Draws\n" 15751 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n" 15753 " b: Draws bottom (X) or left (Y) edge of frame.\n" 15754 " c: Draws top (X) or right (Y) edge of frame.\n" 15755 " d: Plot labels as date / time. Values are assumed to be\n" 15756 " seconds since the epoch (as used by gmtime).\n" 15757 " f: Always use fixed point numeric labels.\n" 15758 " g: Draws a grid at the major tick interval.\n" 15759 " h: Draws a grid at the minor tick interval.\n" 15760 " i: Inverts tick marks, so they are drawn outwards, rather than\n" 15762 " l: Labels axis logarithmically. This only affects the labels,\n" 15763 " not the data, and so it is necessary to compute the logarithms\n" 15764 " of data points before passing them to any of the drawing\n" 15766 " m: Writes numeric labels at major tick intervals in the\n" 15767 " unconventional location (above box for X, right of box for Y).\n" 15768 " n: Writes numeric labels at major tick intervals in the\n" 15769 " conventional location (below box for X, left of box for Y).\n" 15770 " o: Use custom labelling function to generate axis label text.\n" 15771 " The custom labelling function can be defined with the\n" 15772 " plslabelfunc command.\n" 15773 " s: Enables subticks between major ticks, only valid if t is\n" 15774 " also specified.\n" 15775 " t: Draws major ticks.\n" 15776 " u: Exactly like \"b\" except don't draw edge line.\n" 15777 " w: Exactly like \"c\" except don't draw edge line.\n" 15778 " x: Exactly like \"t\" (including the side effect of the\n" 15779 " numerical labels for the major ticks) except exclude drawing\n" 15780 " the major and minor tick marks.\n" 15783 " xtick (PLFLT, input) : World coordinate interval between major\n" 15784 " ticks on the x axis. If it is set to zero, PLplot automatically\n" 15785 " generates a suitable tick interval.\n" 15787 " nxsub (PLINT, input) : Number of subintervals between major x axis\n" 15788 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15789 " generates a suitable minor tick interval.\n" 15791 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15792 " options for the y axis. The string can include any combination of\n" 15793 " the letters defined above for xopt, and in addition may contain:\n" 15794 " v: Write numeric labels for the y axis parallel to the base of the\n" 15795 " graph, rather than parallel to the axis.\n" 15798 " ytick (PLFLT, input) : World coordinate interval between major\n" 15799 " ticks on the y axis. If it is set to zero, PLplot automatically\n" 15800 " generates a suitable tick interval.\n" 15802 " nysub (PLINT, input) : Number of subintervals between major y axis\n" 15803 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15804 " generates a suitable minor tick interval.\n" 15808 "Draw a box with axes, etc, in 3-d\n" 15812 " Draws axes, numeric and text labels for a three-dimensional surface\n" 15813 " plot. For a more complete description of three-dimensional plotting\n" 15814 " see the PLplot documentation.\n" 15816 " Redacted form: General: plbox3(xopt, xlabel, xtick, nxsub, yopt,\n" 15817 " ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n" 15820 " This function is used in examples 8, 11, 18, and 21.\n" 15826 "plbox3(xopt, xlabel, xtick, nxsub, yopt, ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n" 15830 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15831 " options for the x axis. The string can include any combination of\n" 15832 " the following letters (upper or lower case) in any order: b: Draws\n" 15833 " axis at base, at height z=\n" 15834 " zmin where zmin is defined by call to plw3d. This character must be\n" 15835 " specified in order to use any of the other options.\n" 15836 " d: Plot labels as date / time. Values are assumed to be\n" 15837 " seconds since the epoch (as used by gmtime).\n" 15838 " f: Always use fixed point numeric labels.\n" 15839 " i: Inverts tick marks, so they are drawn downwards, rather\n" 15841 " l: Labels axis logarithmically. This only affects the labels,\n" 15842 " not the data, and so it is necessary to compute the logarithms\n" 15843 " of data points before passing them to any of the drawing\n" 15845 " n: Writes numeric labels at major tick intervals.\n" 15846 " o: Use custom labelling function to generate axis label text.\n" 15847 " The custom labelling function can be defined with the\n" 15848 " plslabelfunc command.\n" 15849 " s: Enables subticks between major ticks, only valid if t is\n" 15850 " also specified.\n" 15851 " t: Draws major ticks.\n" 15852 " u: If this is specified, the text label for the axis is\n" 15853 " written under the axis.\n" 15856 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 15857 " the text label for the x axis. It is only drawn if u is in the\n" 15860 " xtick (PLFLT, input) : World coordinate interval between major\n" 15861 " ticks on the x axis. If it is set to zero, PLplot automatically\n" 15862 " generates a suitable tick interval.\n" 15864 " nxsub (PLINT, input) : Number of subintervals between major x axis\n" 15865 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15866 " generates a suitable minor tick interval.\n" 15868 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15869 " options for the y axis. The string is interpreted in the same way\n" 15872 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 15873 " the text label for the y axis. It is only drawn if u is in the\n" 15876 " ytick (PLFLT, input) : World coordinate interval between major\n" 15877 " ticks on the y axis. If it is set to zero, PLplot automatically\n" 15878 " generates a suitable tick interval.\n" 15880 " nysub (PLINT, input) : Number of subintervals between major y axis\n" 15881 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15882 " generates a suitable minor tick interval.\n" 15884 " zopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 15885 " options for the z axis. The string can include any combination of\n" 15886 " the following letters (upper or lower case) in any order: b: Draws\n" 15887 " z axis to the left of the surface plot.\n" 15888 " c: Draws z axis to the right of the surface plot.\n" 15889 " d: Draws grid lines parallel to the x-y plane behind the\n" 15890 " figure. These lines are not drawn until after plot3d or\n" 15891 " plmesh are called because of the need for hidden line removal.\n" 15892 " e: Plot labels as date / time. Values are assumed to be\n" 15893 " seconds since the epoch (as used by gmtime). Note this\n" 15894 " suboption is interpreted the same as the d suboption for xopt\n" 15895 " and yopt, but it has to be identified as e for zopt since d\n" 15896 " has already been used for the different purpose above.\n" 15897 " f: Always use fixed point numeric labels.\n" 15898 " i: Inverts tick marks, so they are drawn away from the center.\n" 15899 " l: Labels axis logarithmically. This only affects the labels,\n" 15900 " not the data, and so it is necessary to compute the logarithms\n" 15901 " of data points before passing them to any of the drawing\n" 15903 " m: Writes numeric labels at major tick intervals on the\n" 15904 " right-hand z axis.\n" 15905 " n: Writes numeric labels at major tick intervals on the\n" 15906 " left-hand z axis.\n" 15907 " o: Use custom labelling function to generate axis label text.\n" 15908 " The custom labelling function can be defined with the\n" 15909 " plslabelfunc command.\n" 15910 " s: Enables subticks between major ticks, only valid if t is\n" 15911 " also specified.\n" 15912 " t: Draws major ticks.\n" 15913 " u: If this is specified, the text label is written beside the\n" 15914 " left-hand axis.\n" 15915 " v: If this is specified, the text label is written beside the\n" 15916 " right-hand axis.\n" 15919 " zlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 15920 " the text label for the z axis. It is only drawn if u or v are in\n" 15921 " the zopt string.\n" 15923 " ztick (PLFLT, input) : World coordinate interval between major\n" 15924 " ticks on the z axis. If it is set to zero, PLplot automatically\n" 15925 " generates a suitable tick interval.\n" 15927 " nzsub (PLINT, input) : Number of subintervals between major z axis\n" 15928 " ticks for minor ticks. If it is set to zero, PLplot automatically\n" 15929 " generates a suitable minor tick interval.\n" 15933 "Calculate world coordinates and corresponding window index from relative device coordinates\n" 15937 " Calculate world coordinates, wx and wy, and corresponding window index\n" 15938 " from relative device coordinates, rx and ry.\n" 15940 " Redacted form: General: plcalc_world(rx, ry, wx, wy, window)\n" 15943 " This function is used in example 31.\n" 15949 "plcalc_world(rx, ry, wx, wy, window)\n" 15953 " rx (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n" 15954 " the x coordinate.\n" 15956 " ry (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n" 15957 " the y coordinate.\n" 15959 " wx (PLFLT_NC_SCALAR, output) : Returned value of the x world\n" 15960 " coordinate corresponding to the relative device coordinates rx and\n" 15963 " wy (PLFLT_NC_SCALAR, output) : Returned value of the y world\n" 15964 " coordinate corresponding to the relative device coordinates rx and\n" 15967 " window (PLINT_NC_SCALAR, output) : Returned value of the last\n" 15968 " defined window index that corresponds to the input relative device\n" 15969 " coordinates (and the returned world coordinates). To give some\n" 15970 " background on the window index, for each page the initial window\n" 15971 " index is set to zero, and each time plwind is called within the\n" 15972 " page, world and device coordinates are stored for the window and\n" 15973 " the window index is incremented. Thus, for a simple page layout\n" 15974 " with non-overlapping viewports and one window per viewport, window\n" 15975 " corresponds to the viewport index (in the order which the\n" 15976 " viewport/windows were created) of the only viewport/window\n" 15977 " corresponding to rx and ry. However, for more complicated layouts\n" 15978 " with potentially overlapping viewports and possibly more than one\n" 15979 " window (set of world coordinates) per viewport, window and the\n" 15980 " corresponding output world coordinates corresponds to the last\n" 15981 " window created that fulfills the criterion that the relative\n" 15982 " device coordinates are inside it. Finally, in all cases where the\n" 15983 " input relative device coordinates are not inside any\n" 15984 " viewport/window, then the returned value of the last defined\n" 15985 " window index is set to -1.\n" 15989 "Clear current (sub)page\n" 15993 " Clears the current page, effectively erasing everything that have been\n" 15994 " drawn. This command only works with interactive drivers; if the\n" 15995 " driver does not support this, the page is filled with the background\n" 15996 " color in use. If the current page is divided into subpages, only the\n" 15997 " current subpage is erased. The nth subpage can be selected with\n" 16000 " Redacted form: General: plclear()\n" 16003 " This function is not used in any examples.\n" 16013 "Set color, cmap0\n" 16017 " Sets the color index for cmap0 (see the PLplot documentation).\n" 16019 " Redacted form: plcol0(icol0)\n" 16021 " This function is used in examples 1-9, 11-16, 18-27, and 29.\n" 16031 " icol0 (PLINT, input) : Integer representing the color. The\n" 16032 " defaults at present are (these may change):\n" 16033 " 0 black (default background)\n" 16034 " 1 red (default foreground)\n" 16050 " Use plscmap0 to change the entire cmap0 color palette and plscol0 to\n" 16051 " change an individual color in the cmap0 color palette.\n" 16055 "Set color, cmap1\n" 16059 " Sets the color for cmap1 (see the PLplot documentation).\n" 16061 " Redacted form: plcol1(col1)\n" 16063 " This function is used in examples 12 and 21.\n" 16073 " col1 (PLFLT, input) : This value must be in the range (0.0-1.0) and\n" 16074 " is mapped to color using the continuous cmap1 palette which by\n" 16075 " default ranges from blue to the background color to red. The\n" 16076 " cmap1 palette can also be straightforwardly changed by the user\n" 16077 " with plscmap1 or plscmap1l.\n" 16081 "Configure the transformation between continuous and broken-down time for the current stream\n" 16085 " Configure the transformation between continuous and broken-down time\n" 16086 " for the current stream. This transformation is used by both plbtime\n" 16089 " Redacted form: General: plconfigtime(scale, offset1, offset2,\n" 16090 " ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n" 16093 " This function is used in example 29.\n" 16099 "plconfigtime(scale, offset1, offset2, ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n" 16103 " scale (PLFLT, input) : The number of days per continuous time unit.\n" 16104 " As a special case, if\n" 16105 " scale is 0., then all other arguments are ignored, and the result (the\n" 16106 " default used by PLplot) is the equivalent of a call to\n" 16107 " plconfigtime(1./86400., 0., 0., 0x0, 1, 1970, 0, 1, 0, 0, 0.).\n" 16108 " That is, for this special case broken-down time is calculated with\n" 16109 " the proleptic Gregorian calendar with no leap seconds inserted,\n" 16110 " and the continuous time is defined as the number of seconds since\n" 16111 " the Unix epoch of 1970-01-01T00:00:00Z.\n" 16113 " offset1 (PLFLT, input) : If\n" 16114 " ifbtime_offset is true, the parameters\n" 16116 " offset2 are completely ignored. Otherwise, the sum of these parameters\n" 16117 " (with units in days) specify the epoch of the continuous time\n" 16118 " relative to the MJD epoch corresponding to the Gregorian calendar\n" 16119 " date of 1858-11-17T00:00:00Z or JD = 2400000.5. Two PLFLT numbers\n" 16120 " are used to specify the origin to allow users (by specifying\n" 16121 " offset1 as an integer that can be exactly represented by a\n" 16122 " floating-point variable and specifying\n" 16123 " offset2 as a number in the range from 0. to 1) the chance to minimize\n" 16124 " the numerical errors of the continuous time representation.\n" 16126 " offset2 (PLFLT, input) : See documentation of\n" 16129 " ccontrol (PLINT, input) : ccontrol contains bits controlling the\n" 16130 " transformation. If the 0x1 bit is set, then the proleptic Julian\n" 16131 " calendar is used for broken-down time rather than the proleptic\n" 16132 " Gregorian calendar. If the 0x2 bit is set, then leap seconds that\n" 16133 " have been historically used to define UTC are inserted into the\n" 16134 " broken-down time. Other possibilities for additional control bits\n" 16135 " for ccontrol exist such as making the historical time corrections\n" 16136 " in the broken-down time corresponding to ET (ephemeris time) or\n" 16137 " making the (slightly non-constant) corrections from international\n" 16138 " atomic time (TAI) to what astronomers define as terrestrial time\n" 16139 " (TT). But those additional possibilities have not been\n" 16140 " implemented yet in the qsastime library (one of the PLplot utility\n" 16143 " ifbtime_offset (PLBOOL, input) : ifbtime_offset controls how the\n" 16144 " epoch of the continuous time scale is specified by the user. If\n" 16145 " ifbtime_offset is false, then\n" 16147 " offset2 are used to specify the epoch, and the following broken-down\n" 16148 " time parameters are completely ignored. If\n" 16149 " ifbtime_offset is true, then\n" 16151 " offset2 are completely ignored, and the following broken-down time\n" 16152 " parameters are used to specify the epoch.\n" 16154 " year (PLINT, input) : Year of epoch.\n" 16156 " month (PLINT, input) : Month of epoch in range from 0 (January) to\n" 16157 " 11 (December).\n" 16159 " day (PLINT, input) : Day of epoch in range from 1 to 31.\n" 16161 " hour (PLINT, input) : Hour of epoch in range from 0 to 23\n" 16163 " min (PLINT, input) : Minute of epoch in range from 0 to 59.\n" 16165 " sec (PLFLT, input) : Second of epoch in range from 0. to 60.\n" 16173 " Draws a contour plot of the data in f[\n" 16175 " ny], using the nlevel contour levels specified by clevel. Only the\n" 16176 " region of the matrix from kx to lx and from ky to ly is plotted out\n" 16177 " where all these index ranges are interpreted as one-based for\n" 16178 " historical reasons. A transformation routine pointed to by pltr with\n" 16179 " a generic pointer pltr_data for additional data required by the\n" 16180 " transformation routine is used to map indices within the matrix to the\n" 16181 " world coordinates.\n" 16183 " Redacted form: plcont(f, kx, lx, ky, ly, clevel, pltr, pltr_data)\n" 16184 " where (see above discussion) the pltr, pltr_data callback arguments\n" 16185 " are sometimes replaced by a tr vector with 6 elements; xg and yg\n" 16186 " vectors; or xg and yg matrices.\n" 16188 " This function is used in examples 9, 14, 16, and 22.\n" 16194 "plcont(f, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr, pltr_data)\n" 16198 " f (PLFLT_MATRIX, input) : A matrix containing data to be contoured.\n" 16200 " nx, ny (PLINT, input) : The dimensions of the matrix f.\n" 16202 " kx, lx (PLINT, input) : Range of x indices to consider where 0 <=\n" 16203 " kx-1 < lx-1 < nx. Values of kx and lx are one-based rather than\n" 16204 " zero-based for historical backwards-compatibility reasons.\n" 16206 " ky, ly (PLINT, input) : Range of y indices to consider where 0 <=\n" 16207 " ky-1 < ly-1 < ny. Values of ky and ly are one-based rather than\n" 16208 " zero-based for historical backwards-compatibility reasons.\n" 16210 " clevel (PLFLT_VECTOR, input) : A vector specifying the levels at\n" 16211 " which to draw contours.\n" 16213 " nlevel (PLINT, input) : Number of contour levels to draw.\n" 16215 " pltr (PLTRANSFORM_callback, input) : A callback function that\n" 16216 " defines the transformation between the zero-based indices of the\n" 16217 " matrix f and the world coordinates.For the C case, transformation\n" 16218 " functions are provided in the PLplot library: pltr0 for the\n" 16219 " identity mapping, and pltr1 and pltr2 for arbitrary mappings\n" 16220 " respectively defined by vectors and matrices. In addition, C\n" 16221 " callback routines for the transformation can be supplied by the\n" 16222 " user such as the mypltr function in examples/c/x09c.c which\n" 16223 " provides a general linear transformation between index coordinates\n" 16224 " and world coordinates.For languages other than C you should\n" 16225 " consult the PLplot documentation for the details concerning how\n" 16226 " PLTRANSFORM_callback arguments are interfaced. However, in\n" 16227 " general, a particular pattern of callback-associated arguments\n" 16228 " such as a tr vector with 6 elements; xg and yg vectors; or xg and\n" 16229 " yg matrices are respectively interfaced to a linear-transformation\n" 16230 " routine similar to the above mypltr function; pltr1; and pltr2.\n" 16231 " Furthermore, some of our more sophisticated bindings (see, e.g.,\n" 16232 " the PLplot documentation) support native language callbacks for\n" 16233 " handling index to world-coordinate transformations. Examples of\n" 16234 " these various approaches are given in examples/<language>x09*,\n" 16235 " examples/<language>x16*, examples/<language>x20*,\n" 16236 " examples/<language>x21*, and examples/<language>x22*, for all our\n" 16237 " supported languages.\n" 16239 " pltr_data (PLPointer, input) : Extra parameter to help pass\n" 16240 " information to pltr0, pltr1, pltr2, or whatever callback routine\n" 16241 " that is externally supplied.\n" 16245 "Calculate continuous time from broken-down time for the current stream\n" 16249 " Calculate continuous time, ctime, from broken-down time for the\n" 16250 " current stream. The broken-down\n" 16251 " time is specified by the following parameters: year, month, day, hour,\n" 16252 " min, and sec. This function is the inverse of plbtime.\n" 16254 " The PLplot definition of broken-down time is a calendar time that\n" 16255 " completely ignores all time zone offsets, i.e., it is the user's\n" 16256 " responsibility to apply those offsets (if so desired) before using the\n" 16257 " PLplot time API. By default broken-down time is defined using the\n" 16258 " proleptic Gregorian calendar without the insertion of leap seconds and\n" 16259 " continuous time is defined as the number of seconds since the Unix\n" 16260 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n" 16261 " broken-down and continuous time are possible, see plconfigtime which\n" 16262 " specifies that transformation for the current stream.\n" 16264 " Redacted form: General: plctime(year, month, day, hour, min, sec,\n" 16268 " This function is used in example 29.\n" 16274 "plctime(year, month, day, hour, min, sec, ctime)\n" 16278 " year (PLINT, input) : Input year.\n" 16280 " month (PLINT, input) : Input month in range from 0 (January) to 11\n" 16283 " day (PLINT, input) : Input day in range from 1 to 31.\n" 16285 " hour (PLINT, input) : Input hour in range from 0 to 23\n" 16287 " min (PLINT, input) : Input minute in range from 0 to 59.\n" 16289 " sec (PLFLT, input) : Input second in range from 0. to 60.\n" 16291 " ctime (PLFLT_NC_SCALAR, output) : Returned value of the continuous\n" 16292 " time calculated from the broken-down time specified by the\n" 16293 " previous parameters.\n" 16297 "Copy state parameters from the reference stream to the current stream\n" 16301 " Copies state parameters from the reference stream to the current\n" 16302 " stream. Tell driver interface to map device coordinates unless flags\n" 16305 " This function is used for making save files of selected plots (e.g.\n" 16306 " from the TK driver). After initializing, you can get a copy of the\n" 16307 " current plot to the specified device by switching to this stream and\n" 16308 " issuing a plcpstrm and a plreplot, with calls to plbop and pleop as\n" 16309 " appropriate. The plot buffer must have previously been enabled (done\n" 16310 " automatically by some display drivers, such as X).\n" 16312 " Redacted form: plcpstrm(iplsr, flags)\n" 16314 " This function is used in example 1,20.\n" 16320 "plcpstrm(iplsr, flags)\n" 16324 " iplsr (PLINT, input) : Number of reference stream.\n" 16326 " flags (PLBOOL, input) : If flags is set to true the device\n" 16327 " coordinates are not copied from the reference to current stream.\n" 16330 {
"plend",
_wrap_plend, METH_VARARGS, (
char *)
"\n" 16331 "End plotting session\n" 16335 " Ends a plotting session, tidies up all the output files, switches\n" 16336 " interactive devices back into text mode and frees up any memory that\n" 16337 " was allocated. Must be called before end of program.\n" 16339 " By default, PLplot's interactive devices (Xwin, TK, etc.) go into a\n" 16340 " wait state after a call to plend or other functions which trigger the\n" 16341 " end of a plot page. To avoid this, use the plspause function.\n" 16343 " Redacted form: plend()\n" 16345 " This function is used in all of the examples.\n" 16355 "End plotting session for current stream\n" 16359 " Ends a plotting session for the current output stream only. See\n" 16360 " plsstrm for more info.\n" 16362 " Redacted form: plend1()\n" 16364 " This function is used in examples 1 and 20.\n" 16373 {
"plenv",
_wrap_plenv, METH_VARARGS, (
char *)
"\n" 16374 "Set up standard window and draw box\n" 16378 " Sets up plotter environment for simple graphs by calling pladv and\n" 16379 " setting up viewport and window to sensible default values. plenv\n" 16380 " leaves a standard margin (left-hand margin of eight character heights,\n" 16381 " and a margin around the other three sides of five character heights)\n" 16382 " around most graphs for axis labels and a title. When these defaults\n" 16383 " are not suitable, use the individual routines plvpas, plvpor, or\n" 16384 " plvasp for setting up the viewport, plwind for defining the window,\n" 16385 " and plbox for drawing the box.\n" 16387 " Redacted form: plenv(xmin, xmax, ymin, ymax, just, axis)\n" 16389 " This function is used in example 1,3,9,13,14,19-22,29.\n" 16395 "plenv(xmin, xmax, ymin, ymax, just, axis)\n" 16399 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n" 16400 " world coordinates).\n" 16402 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n" 16403 " world coordinates).\n" 16405 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n" 16408 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n" 16411 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n" 16412 " scales will not be set, the user must set up the scale before\n" 16413 " calling plenv using plsvpa, plvasp or other.\n" 16414 " 0: the x and y axes are scaled independently to use as much of\n" 16415 " the screen as possible.\n" 16416 " 1: the scales of the x and y axes are made equal.\n" 16417 " 2: the axis of the x and y axes are made equal, and the plot\n" 16418 " box will be square.\n" 16421 " axis (PLINT, input) : Controls drawing of the box around the plot:\n" 16422 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n" 16423 " -1: draw box only.\n" 16424 " 0: draw box, ticks, and numeric tick labels.\n" 16425 " 1: also draw coordinate axes at x=0 and y=0.\n" 16426 " 2: also draw a grid at major tick positions in both\n" 16428 " 3: also draw a grid at minor tick positions in both\n" 16430 " 10: same as 0 except logarithmic x tick marks. (The x data\n" 16431 " have to be converted to logarithms separately.)\n" 16432 " 11: same as 1 except logarithmic x tick marks. (The x data\n" 16433 " have to be converted to logarithms separately.)\n" 16434 " 12: same as 2 except logarithmic x tick marks. (The x data\n" 16435 " have to be converted to logarithms separately.)\n" 16436 " 13: same as 3 except logarithmic x tick marks. (The x data\n" 16437 " have to be converted to logarithms separately.)\n" 16438 " 20: same as 0 except logarithmic y tick marks. (The y data\n" 16439 " have to be converted to logarithms separately.)\n" 16440 " 21: same as 1 except logarithmic y tick marks. (The y data\n" 16441 " have to be converted to logarithms separately.)\n" 16442 " 22: same as 2 except logarithmic y tick marks. (The y data\n" 16443 " have to be converted to logarithms separately.)\n" 16444 " 23: same as 3 except logarithmic y tick marks. (The y data\n" 16445 " have to be converted to logarithms separately.)\n" 16446 " 30: same as 0 except logarithmic x and y tick marks. (The x\n" 16447 " and y data have to be converted to logarithms separately.)\n" 16448 " 31: same as 1 except logarithmic x and y tick marks. (The x\n" 16449 " and y data have to be converted to logarithms separately.)\n" 16450 " 32: same as 2 except logarithmic x and y tick marks. (The x\n" 16451 " and y data have to be converted to logarithms separately.)\n" 16452 " 33: same as 3 except logarithmic x and y tick marks. (The x\n" 16453 " and y data have to be converted to logarithms separately.)\n" 16454 " 40: same as 0 except date / time x labels.\n" 16455 " 41: same as 1 except date / time x labels.\n" 16456 " 42: same as 2 except date / time x labels.\n" 16457 " 43: same as 3 except date / time x labels.\n" 16458 " 50: same as 0 except date / time y labels.\n" 16459 " 51: same as 1 except date / time y labels.\n" 16460 " 52: same as 2 except date / time y labels.\n" 16461 " 53: same as 3 except date / time y labels.\n" 16462 " 60: same as 0 except date / time x and y labels.\n" 16463 " 61: same as 1 except date / time x and y labels.\n" 16464 " 62: same as 2 except date / time x and y labels.\n" 16465 " 63: same as 3 except date / time x and y labels.\n" 16466 " 70: same as 0 except custom x and y labels.\n" 16467 " 71: same as 1 except custom x and y labels.\n" 16468 " 72: same as 2 except custom x and y labels.\n" 16469 " 73: same as 3 except custom x and y labels.\n" 16473 "Same as plenv but if in multiplot mode does not advance the subpage, instead clears it\n" 16477 " Sets up plotter environment for simple graphs by calling pladv and\n" 16478 " setting up viewport and window to sensible default values. plenv0\n" 16479 " leaves a standard margin (left-hand margin of eight character heights,\n" 16480 " and a margin around the other three sides of five character heights)\n" 16481 " around most graphs for axis labels and a title. When these defaults\n" 16482 " are not suitable, use the individual routines plvpas, plvpor, or\n" 16483 " plvasp for setting up the viewport, plwind for defining the window,\n" 16484 " and plbox for drawing the box.\n" 16486 " Redacted form: plenv0(xmin, xmax, ymin, ymax, just, axis)\n" 16488 " This function is used in example 21.\n" 16494 "plenv0(xmin, xmax, ymin, ymax, just, axis)\n" 16498 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n" 16499 " world coordinates).\n" 16501 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n" 16502 " world coordinates).\n" 16504 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n" 16507 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n" 16510 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n" 16511 " scales will not be set, the user must set up the scale before\n" 16512 " calling plenv0 using plsvpa, plvasp or other.\n" 16513 " 0: the x and y axes are scaled independently to use as much of\n" 16514 " the screen as possible.\n" 16515 " 1: the scales of the x and y axes are made equal.\n" 16516 " 2: the axis of the x and y axes are made equal, and the plot\n" 16517 " box will be square.\n" 16520 " axis (PLINT, input) : Controls drawing of the box around the plot:\n" 16521 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n" 16522 " -1: draw box only.\n" 16523 " 0: draw box, ticks, and numeric tick labels.\n" 16524 " 1: also draw coordinate axes at x=0 and y=0.\n" 16525 " 2: also draw a grid at major tick positions in both\n" 16527 " 3: also draw a grid at minor tick positions in both\n" 16529 " 10: same as 0 except logarithmic x tick marks. (The x data\n" 16530 " have to be converted to logarithms separately.)\n" 16531 " 11: same as 1 except logarithmic x tick marks. (The x data\n" 16532 " have to be converted to logarithms separately.)\n" 16533 " 12: same as 2 except logarithmic x tick marks. (The x data\n" 16534 " have to be converted to logarithms separately.)\n" 16535 " 13: same as 3 except logarithmic x tick marks. (The x data\n" 16536 " have to be converted to logarithms separately.)\n" 16537 " 20: same as 0 except logarithmic y tick marks. (The y data\n" 16538 " have to be converted to logarithms separately.)\n" 16539 " 21: same as 1 except logarithmic y tick marks. (The y data\n" 16540 " have to be converted to logarithms separately.)\n" 16541 " 22: same as 2 except logarithmic y tick marks. (The y data\n" 16542 " have to be converted to logarithms separately.)\n" 16543 " 23: same as 3 except logarithmic y tick marks. (The y data\n" 16544 " have to be converted to logarithms separately.)\n" 16545 " 30: same as 0 except logarithmic x and y tick marks. (The x\n" 16546 " and y data have to be converted to logarithms separately.)\n" 16547 " 31: same as 1 except logarithmic x and y tick marks. (The x\n" 16548 " and y data have to be converted to logarithms separately.)\n" 16549 " 32: same as 2 except logarithmic x and y tick marks. (The x\n" 16550 " and y data have to be converted to logarithms separately.)\n" 16551 " 33: same as 3 except logarithmic x and y tick marks. (The x\n" 16552 " and y data have to be converted to logarithms separately.)\n" 16553 " 40: same as 0 except date / time x labels.\n" 16554 " 41: same as 1 except date / time x labels.\n" 16555 " 42: same as 2 except date / time x labels.\n" 16556 " 43: same as 3 except date / time x labels.\n" 16557 " 50: same as 0 except date / time y labels.\n" 16558 " 51: same as 1 except date / time y labels.\n" 16559 " 52: same as 2 except date / time y labels.\n" 16560 " 53: same as 3 except date / time y labels.\n" 16561 " 60: same as 0 except date / time x and y labels.\n" 16562 " 61: same as 1 except date / time x and y labels.\n" 16563 " 62: same as 2 except date / time x and y labels.\n" 16564 " 63: same as 3 except date / time x and y labels.\n" 16565 " 70: same as 0 except custom x and y labels.\n" 16566 " 71: same as 1 except custom x and y labels.\n" 16567 " 72: same as 2 except custom x and y labels.\n" 16568 " 73: same as 3 except custom x and y labels.\n" 16571 {
"pleop",
_wrap_pleop, METH_VARARGS, (
char *)
"\n" 16572 "Eject current page\n" 16576 " Clears the graphics screen of an interactive device, or ejects a page\n" 16577 " on a plotter. See plbop for more information.\n" 16579 " Redacted form: pleop()\n" 16581 " This function is used in example 2,14.\n" 16591 "Draw error bars in x direction\n" 16595 " Draws a set of n error bars in x direction, the i'th error bar\n" 16596 " extending from xmin[i] to xmax[i] at y coordinate y[i]. The terminals\n" 16597 " of the error bars are of length equal to the minor tick length\n" 16598 " (settable using plsmin).\n" 16600 " Redacted form: General: plerrx(xmin, ymax, y)\n" 16603 " This function is used in example 29.\n" 16609 "plerrx(n, xmin, xmax, y)\n" 16613 " n (PLINT, input) : Number of error bars to draw.\n" 16615 " xmin (PLFLT_VECTOR, input) : A vector containing the x coordinates\n" 16616 " of the left-hand endpoints of the error bars.\n" 16618 " xmax (PLFLT_VECTOR, input) : A vector containing the x coordinates\n" 16619 " of the right-hand endpoints of the error bars.\n" 16621 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 16622 " the error bars.\n" 16626 "Draw error bars in the y direction\n" 16630 " Draws a set of n error bars in the y direction, the i'th error bar\n" 16631 " extending from ymin[i] to ymax[i] at x coordinate x[i]. The terminals\n" 16632 " of the error bars are of length equal to the minor tick length\n" 16633 " (settable using plsmin).\n" 16635 " Redacted form: General: plerry(x, ymin, ymax)\n" 16638 " This function is used in example 29.\n" 16644 "plerry(n, x, ymin, ymax)\n" 16648 " n (PLINT, input) : Number of error bars to draw.\n" 16650 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 16651 " the error bars.\n" 16653 " ymin (PLFLT_VECTOR, input) : A vector containing the y coordinates\n" 16654 " of the lower endpoints of the error bars.\n" 16656 " ymax (PLFLT_VECTOR, input) : A vector containing the y coordinates\n" 16657 " of the upper endpoints of the error bars.\n" 16661 "Advance to the next family file on the next new page\n" 16665 " Advance to the next family file on the next new page.\n" 16667 " Redacted form: plfamadv()\n" 16669 " This function is not used in any examples.\n" 16679 "Draw filled polygon\n" 16683 " Fills the polygon defined by the n points (\n" 16685 " y[i]) using the pattern defined by plpsty or plpat. The default fill\n" 16686 " style is a solid fill. The routine will automatically close the\n" 16687 " polygon between the last and first vertices. If multiple closed\n" 16688 " polygons are passed in x and y then plfill will fill in between them.\n" 16690 " Redacted form: plfill(x,y)\n" 16692 " This function is used in examples 12, 13, 15, 16, 21, 24, and 25.\n" 16698 "plfill(n, x, y)\n" 16702 " n (PLINT, input) : Number of vertices in polygon.\n" 16704 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 16707 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 16712 "Draw filled polygon in 3D\n" 16716 " Fills the 3D polygon defined by the n points in the x, y, and z\n" 16717 " vectors using the pattern defined by plpsty or plpat. The routine\n" 16718 " will automatically close the polygon between the last and first\n" 16719 " vertices. If multiple closed polygons are passed in x, y, and z then\n" 16720 " plfill3 will fill in between them.\n" 16722 " Redacted form: General: plfill3(x, y, z)\n" 16725 " This function is used in example 15.\n" 16731 "plfill3(n, x, y, z)\n" 16735 " n (PLINT, input) : Number of vertices in polygon.\n" 16737 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 16740 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 16743 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n" 16748 "Draw linear gradient inside polygon\n" 16752 " Draw a linear gradient using cmap1 inside the polygon defined by the n\n" 16755 " y[i]). Interpretation of the polygon is the same as for plfill. The\n" 16756 " polygon coordinates and the gradient angle are all expressed in world\n" 16757 " coordinates. The angle from the x axis for both the rotated\n" 16758 " coordinate system and the gradient vector is specified by angle. The\n" 16759 " magnitude of the gradient vector is the difference between the maximum\n" 16760 " and minimum values of x for the vertices in the rotated coordinate\n" 16761 " system. The origin of the gradient vector can be interpreted as being\n" 16762 " anywhere on the line corresponding to the minimum x value for the\n" 16763 " vertices in the rotated coordinate system. The distance along the\n" 16764 " gradient vector is linearly transformed to the independent variable of\n" 16765 " color map 1 which ranges from 0. at the tail of the gradient vector to\n" 16766 " 1. at the head of the gradient vector. What is drawn is the RGBA\n" 16767 " color corresponding to the independent variable of cmap1. For more\n" 16768 " information about cmap1 (see the PLplot documentation).\n" 16770 " Redacted form: plgradient(x,y,angle)\n" 16772 " This function is used in examples 25 and 30.\n" 16778 "plgradient(n, x, y, angle)\n" 16782 " n (PLINT, input) : Number of vertices in polygon.\n" 16784 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 16787 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 16790 " angle (PLFLT, input) : Angle (degrees) of gradient vector from x\n" 16795 "Flushes the output stream\n" 16799 " Flushes the output stream. Use sparingly, if at all.\n" 16801 " Redacted form: plflush()\n" 16803 " This function is used in examples 1 and 14.\n" 16817 " Sets the font used for subsequent text and symbols. For devices that\n" 16818 " still use Hershey fonts this routine has no effect unless the Hershey\n" 16819 " fonts with extended character set are loaded (see plfontld). For\n" 16820 " unicode-aware devices that use system fonts instead of Hershey fonts,\n" 16821 " this routine calls the plsfci routine with argument set up\n" 16822 " appropriately for the various cases below. However, this method of\n" 16823 " specifying the font for unicode-aware devices is deprecated, and the\n" 16824 " much more flexible method of calling plsfont directly is recommended\n" 16825 " instead (where plsfont provides a user-friendly interface to plsfci),\n" 16827 " Redacted form: plfont(ifont)\n" 16829 " This function is used in examples 1, 2, 4, 7, 13, 24, and 26.\n" 16839 " ifont (PLINT, input) : Specifies the font: 1: Sans serif font\n" 16840 " (simplest and fastest)\n" 16842 " 3: Italic font\n" 16843 " 4: Script font\n" 16847 "Load Hershey fonts\n" 16851 " Loads the Hershey fonts used for text and symbols. This routine may\n" 16852 " be called before or after initializing PLplot. If not explicitly\n" 16853 " called before PLplot initialization, then by default that\n" 16854 " initialization loads Hershey fonts with the extended character set.\n" 16855 " This routine only has a practical effect for devices that still use\n" 16856 " Hershey fonts (as opposed to modern devices that use unicode-aware\n" 16857 " system fonts instead of Hershey fonts).\n" 16859 " Redacted form: plfontld(fnt)\n" 16861 " This function is used in examples 1 and 7.\n" 16871 " fnt (PLINT, input) : Specifies the type of Hershey fonts to load.\n" 16872 " A zero value specifies Hershey fonts with the standard character\n" 16873 " set and a non-zero value (the default assumed if plfontld is never\n" 16874 " called) specifies Hershey fonts with the extended character set.\n" 16878 "Get character default height and current (scaled) height\n" 16882 " Get character default height and current (scaled) height.\n" 16884 " Redacted form: plgchr(p_def, p_ht)\n" 16886 " This function is used in example 23.\n" 16892 "plgchr(p_def, p_ht)\n" 16896 " p_def (PLFLT_NC_SCALAR, output) : Returned value of the default\n" 16897 " character height (mm).\n" 16899 " p_ht (PLFLT_NC_SCALAR, output) : Returned value of the scaled\n" 16900 " character height (mm).\n" 16904 "Returns 8-bit RGB values for given color index from cmap0\n" 16908 " Returns 8-bit RGB values (0-255) for given color from cmap0 (see the\n" 16909 " PLplot documentation). Values are negative if an invalid color id is\n" 16912 " Redacted form: plgcol0(icol0, r, g, b)\n" 16914 " This function is used in example 2.\n" 16920 "plgcol0(icol0, r, g, b)\n" 16924 " icol0 (PLINT, input) : Index of desired cmap0 color.\n" 16926 " r (PLINT_NC_SCALAR, output) : Returned value of the 8-bit red\n" 16929 " g (PLINT_NC_SCALAR, output) : Returned value of the 8-bit green\n" 16932 " b (PLINT_NC_SCALAR, output) : Returned value of the 8-bit blue\n" 16937 "Returns 8-bit RGB values and PLFLT alpha transparency value for given color index from cmap0\n" 16941 " Returns 8-bit RGB values (0-255) and PLFLT alpha transparency value\n" 16942 " (0.0-1.0) for given color from cmap0 (see the PLplot documentation).\n" 16943 " Values are negative if an invalid color id is given.\n" 16945 " Redacted form: plgcola(r, g, b)\n" 16947 " This function is used in example 30.\n" 16953 "plgcol0a(icol0, r, g, b, alpha)\n" 16957 " icol0 (PLINT, input) : Index of desired cmap0 color.\n" 16959 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n" 16960 " in the range from 0 to 255.\n" 16962 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n" 16963 " in the range from 0 to 255.\n" 16965 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n" 16966 " in the range from 0 to 255.\n" 16968 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n" 16969 " transparency in the range from (0.0-1.0).\n" 16973 "Returns the background color (cmap0[0]) by 8-bit RGB value\n" 16977 " Returns the background color (cmap0[0]) by 8-bit RGB value.\n" 16979 " Redacted form: plgcolbg(r, g, b)\n" 16981 " This function is used in example 31.\n" 16987 "plgcolbg(r, g, b)\n" 16991 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n" 16992 " in the range from 0 to 255.\n" 16994 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n" 16995 " in the range from 0 to 255.\n" 16997 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n" 16998 " in the range from 0 to 255.\n" 17002 "Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT alpha transparency value\n" 17006 " Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT\n" 17007 " alpha transparency value.\n" 17009 " This function is used in example 31.\n" 17015 "plgcolbga(r, g, b, alpha)\n" 17019 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n" 17020 " in the range from 0 to 255.\n" 17022 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n" 17023 " in the range from 0 to 255.\n" 17025 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n" 17026 " in the range from 0 to 255.\n" 17028 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n" 17029 " transparency in the range (0.0-1.0).\n" 17033 "Get the current device-compression setting\n" 17037 " Get the current device-compression setting. This parameter is only\n" 17038 " used for drivers that provide compression.\n" 17040 " Redacted form: plgcompression(compression)\n" 17042 " This function is used in example 31.\n" 17048 "plgcompression(compression)\n" 17052 " compression (PLINT_NC_SCALAR, output) : Returned value of the\n" 17053 " compression setting for the current device.\n" 17057 "Get the current device (keyword) name\n" 17061 " Get the current device (keyword) name. Note: you must have allocated\n" 17062 " space for this (80 characters is safe).\n" 17064 " Redacted form: plgdev(p_dev)\n" 17066 " This function is used in example 14.\n" 17076 " p_dev (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n" 17077 " (with preallocated length of 80 characters or more) containing the\n" 17078 " device (keyword) name.\n" 17082 "Get parameters that define current device-space window\n" 17086 " Get relative margin width, aspect ratio, and relative justification\n" 17087 " that define current device-space window. If plsdidev has not been\n" 17088 " called the default values pointed to by p_mar, p_aspect, p_jx, and\n" 17089 " p_jy will all be 0.\n" 17091 " Redacted form: plgdidev(p_mar, p_aspect, p_jx, p_jy)\n" 17093 " This function is used in example 31.\n" 17099 "plgdidev(p_mar, p_aspect, p_jx, p_jy)\n" 17103 " p_mar (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17106 " p_aspect (PLFLT_NC_SCALAR, output) : Returned value of the aspect\n" 17109 " p_jx (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17110 " justification in x.\n" 17112 " p_jy (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17113 " justification in y.\n" 17117 "Get plot orientation\n" 17121 " Get plot orientation parameter which is multiplied by 90 degrees to\n" 17122 " obtain the angle of rotation. Note, arbitrary rotation parameters\n" 17123 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n" 17124 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n" 17125 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n" 17126 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori has\n" 17127 " not been called the default value pointed to by p_rot will be 0.\n" 17129 " Redacted form: plgdiori(p_rot)\n" 17131 " This function is not used in any examples.\n" 17137 "plgdiori(p_rot)\n" 17141 " p_rot (PLFLT_NC_SCALAR, output) : Returned value of the orientation\n" 17146 "Get parameters that define current plot-space window\n" 17150 " Get relative minima and maxima that define current plot-space window.\n" 17151 " If plsdiplt has not been called the default values pointed to by\n" 17152 " p_xmin, p_ymin, p_xmax, and p_ymax will be 0., 0., 1., and 1.\n" 17154 " Redacted form: plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n" 17156 " This function is used in example 31.\n" 17162 "plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n" 17166 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17169 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17172 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17175 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n" 17180 "Get family file parameters\n" 17184 " Gets information about current family file, if familying is enabled.\n" 17185 " See the PLplot documentation for more information.\n" 17187 " Redacted form: plgfam(p_fam, p_num, p_bmax)\n" 17189 " This function is used in examples 14 and 31.\n" 17195 "plgfam(p_fam, p_num, p_bmax)\n" 17199 " p_fam (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17200 " family flag value. If nonzero, familying is enabled for the\n" 17201 " current device.\n" 17203 " p_num (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17204 " family file number.\n" 17206 " p_bmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n" 17207 " file size (in bytes) for a family file.\n" 17211 "Get FCI (font characterization integer)\n" 17215 " Gets information about the current font using the FCI approach. See\n" 17216 " the PLplot documentation for more information.\n" 17218 " Redacted form: plgfci(p_fci)\n" 17220 " This function is used in example 23.\n" 17230 " p_fci (PLUNICODE_NC_SCALAR, output) : Returned value of the current\n" 17235 "Get output file name\n" 17239 " Gets the current output file name, if applicable.\n" 17241 " Redacted form: plgfnam(fnam)\n" 17243 " This function is used in example 31.\n" 17253 " fnam (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n" 17254 " (with preallocated length of 80 characters or more) containing the\n" 17259 "Get family, style and weight of the current font\n" 17263 " Gets information about current font. See the PLplot documentation for\n" 17264 " more information on font selection.\n" 17266 " Redacted form: plgfont(p_family, p_style, p_weight)\n" 17268 " This function is used in example 23.\n" 17274 "plgfont(p_family, p_style, p_weight)\n" 17278 " p_family (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17279 " font family. The available values are given by the PL_FCI_*\n" 17280 " constants in plplot.h. Current options are PL_FCI_SANS,\n" 17281 " PL_FCI_SERIF, PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. If\n" 17282 " p_family is NULL then the font family is not returned.\n" 17284 " p_style (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17285 " font style. The available values are given by the PL_FCI_*\n" 17286 " constants in plplot.h. Current options are PL_FCI_UPRIGHT,\n" 17287 " PL_FCI_ITALIC and PL_FCI_OBLIQUE. If p_style is NULL then the font\n" 17288 " style is not returned.\n" 17290 " p_weight (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17291 " font weight. The available values are given by the PL_FCI_*\n" 17292 " constants in plplot.h. Current options are PL_FCI_MEDIUM and\n" 17293 " PL_FCI_BOLD. If p_weight is NULL then the font weight is not\n" 17298 "Get the (current) run level\n" 17302 " Get the (current) run level. Valid settings are: 0, uninitialized\n" 17303 " 1, initialized\n" 17304 " 2, viewport defined\n" 17305 " 3, world coordinates defined\n" 17308 " Redacted form: plglevel(p_level)\n" 17310 " This function is used in example 31.\n" 17316 "plglevel(p_level)\n" 17320 " p_level (PLINT_NC_SCALAR, output) : Returned value of the run\n" 17325 "Get page parameters\n" 17329 " Gets the current page configuration. The length and offset values are\n" 17330 " expressed in units that are specific to the current driver. For\n" 17331 " instance: screen drivers will usually interpret them as number of\n" 17332 " pixels, whereas printer drivers will usually use mm.\n" 17334 " Redacted form: plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n" 17336 " This function is used in examples 14 and 31.\n" 17342 "plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n" 17346 " p_xp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n" 17347 " pixels/inch (DPI) in x.\n" 17349 " p_yp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n" 17350 " pixels/inch (DPI) in y.\n" 17352 " p_xleng (PLINT_NC_SCALAR, output) : Returned value of the x page\n" 17355 " p_yleng (PLINT_NC_SCALAR, output) : Returned value of the y page\n" 17358 " p_xoff (PLINT_NC_SCALAR, output) : Returned value of the x page\n" 17361 " p_yoff (PLINT_NC_SCALAR, output) : Returned value of the y page\n" 17365 {
"plgra",
_wrap_plgra, METH_VARARGS, (
char *)
"\n" 17366 "Switch to graphics screen\n" 17370 " Sets an interactive device to graphics mode, used in conjunction with\n" 17371 " pltext to allow graphics and text to be interspersed. On a device\n" 17372 " which supports separate text and graphics windows, this command causes\n" 17373 " control to be switched to the graphics window. If already in graphics\n" 17374 " mode, this command is ignored. It is also ignored on devices which\n" 17375 " only support a single window or use a different method for shifting\n" 17376 " focus. See also pltext.\n" 17378 " Redacted form: plgra()\n" 17380 " This function is used in example 1.\n" 17390 "Grid data from irregularly sampled data\n" 17394 " Real world data is frequently irregularly sampled, but PLplot 3D plots\n" 17395 " require data organized as a grid, i.e., with x sample point values\n" 17396 " independent of y coordinate and vice versa. This function takes\n" 17397 " irregularly sampled data from the x[npts], y[npts], and z[npts]\n" 17398 " vectors; reads the desired grid location from the input vectors\n" 17399 " xg[nptsx] and yg[nptsy]; and returns the interpolated result on that\n" 17400 " grid using the output matrix zg[nptsx][nptsy]. The algorithm used to\n" 17401 " interpolate the data to the grid is specified with the argument type\n" 17402 " which can have one parameter specified in argument data.\n" 17404 " Redacted form: General: plgriddata(x, y, z, xg, yg, zg, type, data)\n" 17405 " Python: zg=plgriddata(x, y, z, xg, yg, type, data)\n" 17408 " This function is used in example 21.\n" 17414 "plgriddata(x, y, z, npts, xg, nptsx, yg, nptsy, zg, type, data)\n" 17418 " x (PLFLT_VECTOR, input) : The input x vector.\n" 17420 " y (PLFLT_VECTOR, input) : The input y vector.\n" 17422 " z (PLFLT_VECTOR, input) : The input z vector. Each triple x[i],\n" 17423 " y[i], z[i] represents one data sample coordinate.\n" 17425 " npts (PLINT, input) : The number of data samples in the x, y and z\n" 17428 " xg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n" 17429 " in the x direction. Usually xg has nptsx equally spaced values\n" 17430 " from the minimum to the maximum values of the x input vector.\n" 17432 " nptsx (PLINT, input) : The number of points in the xg vector.\n" 17434 " yg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n" 17435 " in the y direction. Similar to the xg parameter.\n" 17437 " nptsy (PLINT, input) : The number of points in the yg vector.\n" 17439 " zg (PLFLT_NC_MATRIX, output) : The matrix of interpolated results\n" 17440 " where data lies in the grid specified by xg and yg. Therefore the\n" 17441 " zg matrix must be dimensioned\n" 17445 " type (PLINT, input) : The type of grid interpolation algorithm to\n" 17446 " use, which can be: GRID_CSA: Bivariate Cubic Spline approximation\n" 17447 " GRID_DTLI: Delaunay Triangulation Linear Interpolation\n" 17448 " GRID_NNI: Natural Neighbors Interpolation\n" 17449 " GRID_NNIDW: Nearest Neighbors Inverse Distance Weighted\n" 17450 " GRID_NNLI: Nearest Neighbors Linear Interpolation\n" 17451 " GRID_NNAIDW: Nearest Neighbors Around Inverse Distance\n" 17453 " For details of the algorithms read the source file plgridd.c.\n" 17455 " data (PLFLT, input) : Some gridding algorithms require extra data,\n" 17456 " which can be specified through this argument. Currently, for\n" 17457 " algorithm: GRID_NNIDW, data specifies the number of neighbors to\n" 17458 " use, the lower the value, the noisier (more local) the\n" 17459 " approximation is.\n" 17460 " GRID_NNLI, data specifies what a thin triangle is, in the\n" 17461 " range [1. .. 2.]. High values enable the usage of very thin\n" 17462 " triangles for interpolation, possibly resulting in error in\n" 17463 " the approximation.\n" 17464 " GRID_NNI, only weights greater than data will be accepted. If\n" 17465 " 0, all weights will be accepted.\n" 17469 "Get current subpage parameters\n" 17473 " Gets the size of the current subpage in millimeters measured from the\n" 17474 " bottom left hand corner of the output device page or screen. Can be\n" 17475 " used in conjunction with plsvpa for setting the size of a viewport in\n" 17476 " absolute coordinates (millimeters).\n" 17478 " Redacted form: plgspa(xmin, xmax, ymin, ymax)\n" 17480 " This function is used in example 23.\n" 17486 "plgspa(xmin, xmax, ymin, ymax)\n" 17490 " xmin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n" 17491 " the left hand edge of the subpage in millimeters.\n" 17493 " xmax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n" 17494 " the right hand edge of the subpage in millimeters.\n" 17496 " ymin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n" 17497 " the bottom edge of the subpage in millimeters.\n" 17499 " ymax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n" 17500 " the top edge of the subpage in millimeters.\n" 17504 "Get current stream number\n" 17508 " Gets the number of the current output stream. See also plsstrm.\n" 17510 " Redacted form: plgstrm(p_strm)\n" 17512 " This function is used in example 1,20.\n" 17518 "plgstrm(p_strm)\n" 17522 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the current\n" 17527 "Get the current library version number\n" 17531 " Get the current library version number. Note: you must have allocated\n" 17532 " space for this (80 characters is safe).\n" 17534 " Redacted form: plgver(p_ver)\n" 17536 " This function is used in example 1.\n" 17546 " p_ver (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n" 17547 " (with preallocated length of 80 characters or more) containing the\n" 17548 " PLplot version number.\n" 17552 "Get viewport limits in normalized device coordinates\n" 17556 " Get viewport limits in normalized device coordinates.\n" 17558 " Redacted form: General: plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n" 17561 " This function is used in example 31.\n" 17567 "plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n" 17571 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n" 17572 " viewport limit of the normalized device coordinate in x.\n" 17574 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n" 17575 " viewport limit of the normalized device coordinate in x.\n" 17577 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n" 17578 " viewport limit of the normalized device coordinate in y.\n" 17580 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n" 17581 " viewport limit of the normalized device coordinate in y.\n" 17585 "Get viewport limits in world coordinates\n" 17589 " Get viewport limits in world coordinates.\n" 17591 " Redacted form: General: plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n" 17594 " This function is used in example 31.\n" 17600 "plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n" 17604 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n" 17605 " viewport limit of the world coordinate in x.\n" 17607 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n" 17608 " viewport limit of the world coordinate in x.\n" 17610 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n" 17611 " viewport limit of the world coordinate in y.\n" 17613 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n" 17614 " viewport limit of the world coordinate in y.\n" 17618 "Get x axis parameters\n" 17622 " Returns current values of the p_digmax and p_digits flags for the x\n" 17623 " axis. p_digits is updated after the plot is drawn, so this routine\n" 17624 " should only be called after the call to plbox (or plbox3) is complete.\n" 17625 " See the PLplot documentation for more information.\n" 17627 " Redacted form: plgxax(p_digmax, p_digits)\n" 17629 " This function is used in example 31.\n" 17635 "plgxax(p_digmax, p_digits)\n" 17639 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n" 17640 " number of digits for the x axis. If nonzero, the printed label\n" 17641 " has been switched to a floating-point representation when the\n" 17642 " number of digits exceeds this value.\n" 17644 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n" 17645 " number of digits for the numeric labels (x axis) from the last\n" 17650 "Get y axis parameters\n" 17654 " Identical to plgxax, except that arguments are flags for y axis. See\n" 17655 " the description of plgxax for more detail.\n" 17657 " Redacted form: plgyax(p_digmax, p_digits)\n" 17659 " This function is used in example 31.\n" 17665 "plgyax(p_digmax, p_digits)\n" 17669 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n" 17670 " number of digits for the y axis. If nonzero, the printed label\n" 17671 " has been switched to a floating-point representation when the\n" 17672 " number of digits exceeds this value.\n" 17674 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n" 17675 " number of digits for the numeric labels (y axis) from the last\n" 17680 "Get z axis parameters\n" 17684 " Identical to plgxax, except that arguments are flags for z axis. See\n" 17685 " the description of plgxax for more detail.\n" 17687 " Redacted form: plgzax(p_digmax, p_digits)\n" 17689 " This function is used in example 31.\n" 17695 "plgzax(p_digmax, p_digits)\n" 17699 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n" 17700 " number of digits for the z axis. If nonzero, the printed label\n" 17701 " has been switched to a floating-point representation when the\n" 17702 " number of digits exceeds this value.\n" 17704 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n" 17705 " number of digits for the numeric labels (z axis) from the last\n" 17710 "Plot a histogram from unbinned data\n" 17714 " Plots a histogram from n data points stored in the data vector. This\n" 17715 " routine bins the data into nbin bins equally spaced between datmin and\n" 17716 " datmax, and calls plbin to draw the resulting histogram. Parameter\n" 17717 " opt allows, among other things, the histogram either to be plotted in\n" 17718 " an existing window or causes plhist to call plenv with suitable limits\n" 17719 " before plotting the histogram.\n" 17721 " Redacted form: plhist(data, datmin, datmax, nbin, opt)\n" 17723 " This function is used in example 5.\n" 17729 "plhist(n, data, datmin, datmax, nbin, opt)\n" 17733 " n (PLINT, input) : Number of data points.\n" 17735 " data (PLFLT_VECTOR, input) : A vector containing the values of the\n" 17736 " n data points.\n" 17738 " datmin (PLFLT, input) : Left-hand edge of lowest-valued bin.\n" 17740 " datmax (PLFLT, input) : Right-hand edge of highest-valued bin.\n" 17742 " nbin (PLINT, input) : Number of (equal-sized) bins into which to\n" 17743 " divide the interval xmin to xmax.\n" 17745 " opt (PLINT, input) : Is a combination of several flags:\n" 17746 " opt=PL_HIST_DEFAULT: The axes are automatically rescaled to fit\n" 17747 " the histogram data, the outer bins are expanded to fill up the\n" 17748 " entire x-axis, data outside the given extremes are assigned to the\n" 17749 " outer bins and bins of zero height are simply drawn.\n" 17750 " opt=PL_HIST_NOSCALING|...: The existing axes are not rescaled\n" 17751 " to fit the histogram data, without this flag, plenv is called\n" 17752 " to set the world coordinates.\n" 17753 " opt=PL_HIST_IGNORE_OUTLIERS|...: Data outside the given\n" 17754 " extremes are not taken into account. This option should\n" 17755 " probably be combined with opt=PL_HIST_NOEXPAND|..., so as to\n" 17756 " properly present the data.\n" 17757 " opt=PL_HIST_NOEXPAND|...: The outer bins are drawn with equal\n" 17758 " size as the ones inside.\n" 17759 " opt=PL_HIST_NOEMPTY|...: Bins with zero height are not drawn\n" 17760 " (there is a gap for such bins).\n" 17764 "Convert HLS color to RGB\n" 17768 " Convert HLS color coordinates to RGB.\n" 17770 " Redacted form: General: plhlsrgb(h, l, s, p_r, p_g, p_b)\n" 17773 " This function is used in example 2.\n" 17779 "plhlsrgb(h, l, s, p_r, p_g, p_b)\n" 17783 " h (PLFLT, input) : Hue in degrees (0.0-360.0) on the color\n" 17786 " l (PLFLT, input) : Lightness expressed as a fraction (0.0-1.0) of\n" 17787 " the axis of the color cylinder.\n" 17789 " s (PLFLT, input) : Saturation expressed as a fraction (0.0-1.0) of\n" 17790 " the radius of the color cylinder.\n" 17792 " p_r (PLFLT_NC_SCALAR, output) : Returned value of the red intensity\n" 17793 " (0.0-1.0) of the color.\n" 17795 " p_g (PLFLT_NC_SCALAR, output) : Returned value of the green\n" 17796 " intensity (0.0-1.0) of the color.\n" 17798 " p_b (PLFLT_NC_SCALAR, output) : Returned value of the blue\n" 17799 " intensity (0.0-1.0) of the color.\n" 17803 "Initialize PLplot\n" 17807 " Initializing the plotting package. The program prompts for the device\n" 17808 " keyword or number of the desired output device. Hitting a RETURN in\n" 17809 " response to the prompt is the same as selecting the first device.\n" 17810 " plinit will issue no prompt if either the device was specified\n" 17811 " previously (via command line flag, the plsetopt function, or the\n" 17812 " plsdev function), or if only one device is enabled when PLplot is\n" 17813 " installed. If subpages have been specified, the output device is\n" 17814 " divided into nx by ny subpages, each of which may be used\n" 17815 " independently. If plinit is called again during a program, the\n" 17816 " previously opened file will be closed. The subroutine pladv is used\n" 17817 " to advance from one subpage to the next.\n" 17819 " Redacted form: plinit()\n" 17821 " This function is used in all of the examples.\n" 17831 "Draw a line between two points\n" 17835 " Joins the point (\n" 17841 " Redacted form: pljoin(x1,y1,x2,y2)\n" 17843 " This function is used in examples 3 and 14.\n" 17849 "pljoin(x1, y1, x2, y2)\n" 17853 " x1 (PLFLT, input) : x coordinate of first point.\n" 17855 " y1 (PLFLT, input) : y coordinate of first point.\n" 17857 " x2 (PLFLT, input) : x coordinate of second point.\n" 17859 " y2 (PLFLT, input) : y coordinate of second point.\n" 17862 {
"pllab",
_wrap_pllab, METH_VARARGS, (
char *)
"\n" 17863 "Simple routine to write labels\n" 17867 " Routine for writing simple labels. Use plmtex for more complex labels.\n" 17869 " Redacted form: pllab(xlabel, ylabel, tlabel)\n" 17871 " This function is used in examples 1, 5, 9, 12, 14-16, 20-22, and 29.\n" 17877 "pllab(xlabel, ylabel, tlabel)\n" 17881 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 17882 " the label for the x axis.\n" 17884 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 17885 " the label for the y axis.\n" 17887 " tlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n" 17888 " the title of the plot.\n" 17892 "Plot legend using discretely annotated filled boxes, lines, and/or lines of symbols\n" 17896 " Routine for creating a discrete plot legend with a plotted filled box,\n" 17897 " line, and/or line of symbols for each annotated legend entry. (See\n" 17898 " plcolorbar for similar functionality for creating continuous color\n" 17899 " bars.) The arguments of pllegend provide control over the location\n" 17900 " and size of the legend as well as the location and characteristics of\n" 17901 " the elements (most of which are optional) within that legend. The\n" 17902 " resulting legend is clipped at the boundaries of the current subpage.\n" 17903 " (N.B. the adopted coordinate system used for some of the parameters is\n" 17904 " defined in the documentation of the position parameter.)\n" 17906 " Redacted form: pllegend(p_legend_width, p_legend_height, opt,\n" 17907 " position, x, y, plot_width, bg_color, bb_color, bb_style, nrow,\n" 17908 " ncolumn, opt_array, text_offset, text_scale, text_spacing,\n" 17909 " test_justification, text_colors, text, box_colors, box_patterns,\n" 17910 " box_scales, box_line_widths, line_colors, line_styles, line_widths,\n" 17911 " symbol_colors, symbol_scales, symbol_numbers, symbols)\n" 17913 " This function is used in examples 4, 26, and 33.\n" 17919 "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" 17923 " p_legend_width (PLFLT_NC_SCALAR, output) : Returned value of the\n" 17924 " legend width in adopted coordinates. This quantity is calculated\n" 17925 " from plot_width, text_offset, ncolumn (possibly modified inside\n" 17926 " the routine depending on nlegend and nrow), and the length\n" 17927 " (calculated internally) of the longest text string.\n" 17929 " p_legend_height (PLFLT_NC_SCALAR, output) : Returned value of the\n" 17930 " legend height in adopted coordinates. This quantity is calculated\n" 17931 " from text_scale, text_spacing, and nrow (possibly modified inside\n" 17932 " the routine depending on nlegend and nrow).\n" 17934 " opt (PLINT, input) : opt contains bits controlling the overall\n" 17935 " legend. If the PL_LEGEND_TEXT_LEFT bit is set, put the text area\n" 17936 " on the left of the legend and the plotted area on the right.\n" 17937 " Otherwise, put the text area on the right of the legend and the\n" 17938 " plotted area on the left. If the PL_LEGEND_BACKGROUND bit is set,\n" 17939 " plot a (semitransparent) background for the legend. If the\n" 17940 " PL_LEGEND_BOUNDING_BOX bit is set, plot a bounding box for the\n" 17941 " legend. If the PL_LEGEND_ROW_MAJOR bit is set and (both of the\n" 17942 " possibly internally transformed) nrow > 1 and ncolumn > 1, then\n" 17943 " plot the resulting array of legend entries in row-major order.\n" 17944 " Otherwise, plot the legend entries in column-major order.\n" 17946 " position (PLINT, input) : position contains bits which control the\n" 17947 " overall position of the legend and the definition of the adopted\n" 17948 " coordinates used for positions just like what is done for the\n" 17949 " position argument for plcolorbar. However, note that the defaults\n" 17950 " for the position bits (see below) are different than the\n" 17951 " plcolorbar case. The combination of the PL_POSITION_LEFT,\n" 17952 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n" 17953 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n" 17954 " the 16 possible standard positions (the 4 corners and centers of\n" 17955 " the 4 sides for both the inside and outside cases) of the legend\n" 17956 " relative to the adopted coordinate system. The corner positions\n" 17957 " are specified by the appropriate combination of two of the\n" 17958 " PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n" 17959 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n" 17960 " value of one of those bits. The adopted coordinates are\n" 17961 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n" 17962 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n" 17963 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n" 17964 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n" 17965 " then use the combination of PL_POSITION_RIGHT and PL_POSITION_TOP.\n" 17966 " If neither of PL_POSITION_INSIDE or PL_POSITION_OUTSIDE is set,\n" 17967 " use PL_POSITION_INSIDE. If neither of PL_POSITION_VIEWPORT or\n" 17968 " PL_POSITION_SUBPAGE is set, use PL_POSITION_VIEWPORT.\n" 17970 " x (PLFLT, input) : X offset of the legend position in adopted\n" 17971 " coordinates from the specified standard position of the legend.\n" 17972 " For positive x, the direction of motion away from the standard\n" 17973 " position is inward/outward from the standard corner positions or\n" 17974 " standard left or right positions if the\n" 17975 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n" 17976 " For the standard top or bottom positions, the direction of motion\n" 17977 " is toward positive X.\n" 17979 " y (PLFLT, input) : Y offset of the legend position in adopted\n" 17980 " coordinates from the specified standard position of the legend.\n" 17981 " For positive y, the direction of motion away from the standard\n" 17982 " position is inward/outward from the standard corner positions or\n" 17983 " standard top or bottom positions if the\n" 17984 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position. For\n" 17985 " the standard left or right positions, the direction of motion is\n" 17986 " toward positive Y.\n" 17988 " plot_width (PLFLT, input) : Horizontal width in adopted coordinates\n" 17989 " of the plot area (where the colored boxes, lines, and/or lines of\n" 17990 " symbols are drawn) of the legend.\n" 17992 " bg_color (PLINT, input) : The cmap0 color of the background for the\n" 17993 " legend (PL_LEGEND_BACKGROUND).\n" 17995 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n" 17996 " for the legend (PL_LEGEND_BOUNDING_BOX).\n" 17998 " bb_style (PLINT, input) : The pllsty style number for the\n" 17999 " bounding-box line for the legend (PL_LEGEND_BACKGROUND).\n" 18001 " nrow (PLINT, input) : The number of rows in the matrix used to\n" 18003 " nlegend legend entries. For internal transformations of\n" 18004 " nrow, see further remarks under\n" 18007 " ncolumn (PLINT, input) : The number of columns in the matrix used\n" 18009 " nlegend legend entries. For internal transformations of\n" 18010 " ncolumn, see further remarks under\n" 18013 " nlegend (PLINT, input) : Number of legend entries. The above\n" 18015 " ncolumn values are transformed internally to be consistent with\n" 18016 " nlegend. If either\n" 18018 " ncolumn is non-positive it is replaced by 1. If the resulting product\n" 18021 " ncolumn is less than\n" 18022 " nlegend, the smaller of the two (or\n" 18025 " ncolumn) is increased so the product is >=\n" 18026 " nlegend. Thus, for example, the common\n" 18028 " ncolumn = 0 case is transformed internally to\n" 18031 " ncolumn = 1; i.e., the usual case of a legend rendered as a single\n" 18034 " opt_array (PLINT_VECTOR, input) : A vector of\n" 18035 " nlegend values of options to control each individual plotted area\n" 18036 " corresponding to a legend entry. If the\n" 18037 " PL_LEGEND_NONE bit is set, then nothing is plotted in the plotted\n" 18039 " PL_LEGEND_COLOR_BOX,\n" 18040 " PL_LEGEND_LINE, and/or\n" 18041 " PL_LEGEND_SYMBOL bits are set, the area corresponding to a legend\n" 18042 " entry is plotted with a colored box; a line; and/or a line of\n" 18045 " text_offset (PLFLT, input) : Offset of the text area from the plot\n" 18046 " area in units of character width.\n" 18048 " text_scale (PLFLT, input) : Character height scale for text\n" 18051 " text_spacing (PLFLT, input) : Vertical spacing in units of the\n" 18052 " character height from one legend entry to the next.\n" 18054 " text_justification (PLFLT, input) : Justification parameter used\n" 18055 " for text justification. The most common values of\n" 18056 " text_justification are 0., 0.5, or 1. corresponding to a text that\n" 18057 " is left justified, centred, or right justified within the text\n" 18058 " area, but other values are allowed as well.\n" 18060 " text_colors (PLINT_VECTOR, input) : A vector containing\n" 18061 " nlegend cmap0 text colors.\n" 18063 " text (PLCHAR_MATRIX, input) : A vector of\n" 18064 " nlegend UTF-8 character strings containing the legend annotations.\n" 18066 " box_colors (PLINT_VECTOR, input) : A vector containing\n" 18067 " nlegend cmap0 colors for the discrete colored boxes (\n" 18068 " PL_LEGEND_COLOR_BOX).\n" 18070 " box_patterns (PLINT_VECTOR, input) : A vector containing\n" 18071 " nlegend patterns (plpsty indices) for the discrete colored boxes (\n" 18072 " PL_LEGEND_COLOR_BOX).\n" 18074 " box_scales (PLFLT_VECTOR, input) : A vector containing\n" 18075 " nlegend scales (units of fraction of character height) for the height\n" 18076 " of the discrete colored boxes (\n" 18077 " PL_LEGEND_COLOR_BOX).\n" 18079 " box_line_widths (PLFLT_VECTOR, input) : A vector containing\n" 18080 " nlegend line widths for the patterns specified by box_patterns (\n" 18081 " PL_LEGEND_COLOR_BOX).\n" 18083 " line_colors (PLINT_VECTOR, input) : A vector containing\n" 18084 " nlegend cmap0 line colors (\n" 18085 " PL_LEGEND_LINE).\n" 18087 " line_styles (PLINT_VECTOR, input) : A vector containing\n" 18088 " nlegend line styles (plsty indices) (\n" 18089 " PL_LEGEND_LINE).\n" 18091 " line_widths (PLFLT_VECTOR, input) : A vector containing\n" 18092 " nlegend line widths (\n" 18093 " PL_LEGEND_LINE).\n" 18095 " symbol_colors (PLINT_VECTOR, input) : A vector containing\n" 18096 " nlegend cmap0 symbol colors (\n" 18097 " PL_LEGEND_SYMBOL).\n" 18099 " symbol_scales (PLFLT_VECTOR, input) : A vector containing\n" 18100 " nlegend scale values for the symbol height (\n" 18101 " PL_LEGEND_SYMBOL).\n" 18103 " symbol_numbers (PLINT_VECTOR, input) : A vector containing\n" 18104 " nlegend numbers of symbols to be drawn across the width of the plotted\n" 18106 " PL_LEGEND_SYMBOL).\n" 18108 " symbols (PLCHAR_MATRIX, input) : A vector of\n" 18109 " nlegend UTF-8 character strings containing the legend symbols. (\n" 18110 " PL_LEGEND_SYMBOL).\n" 18114 "Plot color bar for image, shade or gradient plots\n" 18118 " Routine for creating a continuous color bar for image, shade, or\n" 18119 " gradient plots. (See pllegend for similar functionality for creating\n" 18120 " legends with discrete elements). The arguments of plcolorbar provide\n" 18121 " control over the location and size of the color bar as well as the\n" 18122 " location and characteristics of the elements (most of which are\n" 18123 " optional) within that color bar. The resulting color bar is clipped\n" 18124 " at the boundaries of the current subpage. (N.B. the adopted coordinate\n" 18125 " system used for some of the parameters is defined in the documentation\n" 18126 " of the position parameter.)\n" 18128 " Redacted form: plcolorbar(p_colorbar_width, p_colorbar_height, opt,\n" 18129 " position, x, y, x_length, y_length, bg_color, bb_color, bb_style,\n" 18130 " low_cap_color, high_cap_color, cont_color, cont_width, label_opts,\n" 18131 " labels, axis_opts, ticks, sub_ticks, values)\n" 18133 " This function is used in examples 16 and 33.\n" 18139 "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" 18143 " p_colorbar_width (PLFLT_NC_SCALAR, output) : Returned value of the\n" 18144 " labelled and decorated color bar width in adopted coordinates.\n" 18146 " p_colorbar_height (PLFLT_NC_SCALAR, output) : Returned value of the\n" 18147 " labelled and decorated color bar height in adopted coordinates.\n" 18149 " opt (PLINT, input) : opt contains bits controlling the overall\n" 18150 " color bar. The orientation (direction of the maximum value) of\n" 18151 " the color bar is specified with PL_ORIENT_RIGHT, PL_ORIENT_TOP,\n" 18152 " PL_ORIENT_LEFT, or PL_ORIENT_BOTTOM. If none of these bits are\n" 18153 " specified, the default orientation is toward the top if the\n" 18154 " colorbar is placed on the left or right of the viewport or toward\n" 18155 " the right if the colorbar is placed on the top or bottom of the\n" 18156 " viewport. If the PL_COLORBAR_BACKGROUND bit is set, plot a\n" 18157 " (semitransparent) background for the color bar. If the\n" 18158 " PL_COLORBAR_BOUNDING_BOX bit is set, plot a bounding box for the\n" 18159 " color bar. The type of color bar must be specified with one of\n" 18160 " PL_COLORBAR_IMAGE, PL_COLORBAR_SHADE, or PL_COLORBAR_GRADIENT. If\n" 18161 " more than one of those bits is set only the first one in the above\n" 18162 " list is honored. The position of the (optional) label/title can be\n" 18163 " specified with PL_LABEL_RIGHT, PL_LABEL_TOP, PL_LABEL_LEFT, or\n" 18164 " PL_LABEL_BOTTOM. If no label position bit is set then no label\n" 18165 " will be drawn. If more than one of this list of bits is specified,\n" 18166 " only the first one on the list is honored. End-caps for the color\n" 18167 " bar can added with PL_COLORBAR_CAP_LOW and PL_COLORBAR_CAP_HIGH.\n" 18168 " If a particular color bar cap option is not specified then no cap\n" 18169 " will be drawn for that end. As a special case for\n" 18170 " PL_COLORBAR_SHADE, the option PL_COLORBAR_SHADE_LABEL can be\n" 18171 " specified. If this option is provided then any tick marks and tick\n" 18172 " labels will be placed at the breaks between shaded segments. TODO:\n" 18173 " This should be expanded to support custom placement of tick marks\n" 18174 " and tick labels at custom value locations for any color bar type.\n" 18176 " position (PLINT, input) : position contains bits which control the\n" 18177 " overall position of the color bar and the definition of the\n" 18178 " adopted coordinates used for positions just like what is done for\n" 18179 " the position argument for pllegend. However, note that the\n" 18180 " defaults for the position bits (see below) are different than the\n" 18181 " pllegend case. The combination of the PL_POSITION_LEFT,\n" 18182 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n" 18183 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n" 18184 " the 16 possible standard positions (the 4 corners and centers of\n" 18185 " the 4 sides for both the inside and outside cases) of the color\n" 18186 " bar relative to the adopted coordinate system. The corner\n" 18187 " positions are specified by the appropriate combination of two of\n" 18188 " the PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n" 18189 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n" 18190 " value of one of those bits. The adopted coordinates are\n" 18191 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n" 18192 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n" 18193 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n" 18194 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n" 18195 " then use PL_POSITION_RIGHT. If neither of PL_POSITION_INSIDE or\n" 18196 " PL_POSITION_OUTSIDE is set, use PL_POSITION_OUTSIDE. If neither of\n" 18197 " PL_POSITION_VIEWPORT or PL_POSITION_SUBPAGE is set, use\n" 18198 " PL_POSITION_VIEWPORT.\n" 18200 " x (PLFLT, input) : X offset of the color bar position in adopted\n" 18201 " coordinates from the specified standard position of the color bar.\n" 18202 " For positive x, the direction of motion away from the standard\n" 18203 " position is inward/outward from the standard corner positions or\n" 18204 " standard left or right positions if the\n" 18205 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n" 18206 " For the standard top or bottom positions, the direction of motion\n" 18207 " is toward positive X.\n" 18209 " y (PLFLT, input) : Y offset of the color bar position in adopted\n" 18210 " coordinates from the specified standard position of the color bar.\n" 18211 " For positive y, the direction of motion away from the standard\n" 18212 " position is inward/outward from the standard corner positions or\n" 18213 " standard top or bottom positions if the\n" 18214 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n" 18215 " For the standard left or right positions, the direction of motion\n" 18216 " is toward positive Y.\n" 18218 " x_length (PLFLT, input) : Length of the body of the color bar in\n" 18219 " the X direction in adopted coordinates.\n" 18221 " y_length (PLFLT, input) : Length of the body of the color bar in\n" 18222 " the Y direction in adopted coordinates.\n" 18224 " bg_color (PLINT, input) : The cmap0 color of the background for the\n" 18225 " color bar (PL_COLORBAR_BACKGROUND).\n" 18227 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n" 18228 " for the color bar (PL_COLORBAR_BOUNDING_BOX).\n" 18230 " bb_style (PLINT, input) : The pllsty style number for the\n" 18231 " bounding-box line for the color bar (PL_COLORBAR_BACKGROUND).\n" 18233 " low_cap_color (PLFLT, input) : The cmap1 color of the low-end color\n" 18234 " bar cap, if it is drawn (PL_COLORBAR_CAP_LOW).\n" 18236 " high_cap_color (PLFLT, input) : The cmap1 color of the high-end\n" 18237 " color bar cap, if it is drawn (PL_COLORBAR_CAP_HIGH).\n" 18239 " cont_color (PLINT, input) : The cmap0 contour color for\n" 18240 " PL_COLORBAR_SHADE plots. This is passed directly to plshades, so\n" 18241 " it will be interpreted according to the design of plshades.\n" 18243 " cont_width (PLFLT, input) : Contour width for PL_COLORBAR_SHADE\n" 18244 " plots. This is passed directly to plshades, so it will be\n" 18245 " interpreted according to the design of plshades.\n" 18247 " n_labels (PLINT, input) : Number of labels to place around the\n" 18250 " label_opts (PLINT_VECTOR, input) : A vector of options for each of\n" 18251 " n_labels labels.\n" 18253 " labels (PLCHAR_MATRIX, input) : A vector of\n" 18254 " n_labels UTF-8 character strings containing the labels for the color\n" 18255 " bar. Ignored if no label position is specified with one of the\n" 18256 " PL_COLORBAR_LABEL_RIGHT, PL_COLORBAR_LABEL_TOP,\n" 18257 " PL_COLORBAR_LABEL_LEFT, or PL_COLORBAR_LABEL_BOTTOM bits in the\n" 18258 " corresponding label_opts field.\n" 18260 " n_axes (PLINT, input) : Number of axis definitions provided. This\n" 18261 " value must be greater than 0. It is typically 1 (numerical axis\n" 18262 " labels are provided for one of the long edges of the color bar),\n" 18263 " but it can be larger if multiple numerical axis labels for the\n" 18264 " long edges of the color bar are desired.\n" 18266 " axis_opts (PLCHAR_MATRIX, input) : A vector of\n" 18267 " n_axes ascii character strings containing options (interpreted as for\n" 18268 " plbox) for the color bar's axis definitions.\n" 18270 " ticks (PLFLT_VECTOR, input) : A vector of n_axes values of the\n" 18271 " spacing of the major tick marks (interpreted as for plbox) for the\n" 18272 " color bar's axis definitions.\n" 18274 " sub_ticks (PLINT_VECTOR, input) : A vector of n_axes values of the\n" 18275 " number of subticks (interpreted as for plbox) for the color bar's\n" 18276 " axis definitions.\n" 18278 " n_values (PLINT_VECTOR, input) : A vector containing the number of\n" 18279 " elements in each of the n_axes rows of the values matrix.\n" 18281 " values (PLFLT_MATRIX, input) : A matrix containing the numeric\n" 18282 " values for the data range represented by the color bar. For a row\n" 18283 " index of i_axis (where 0 < i_axis < n_axes), the number of\n" 18284 " elements in the row is specified by n_values[i_axis]. For\n" 18285 " PL_COLORBAR_IMAGE and PL_COLORBAR_GRADIENT the number of elements\n" 18286 " is 2, and the corresponding row elements of the values matrix are\n" 18287 " the minimum and maximum value represented by the colorbar. For\n" 18288 " PL_COLORBAR_SHADE, the number and values of the elements of a row\n" 18289 " of the values matrix is interpreted the same as the nlevel and\n" 18290 " clevel arguments of plshades.\n" 18294 "Sets the 3D position of the light source\n" 18298 " Sets the 3D position of the light source for use with plsurf3d and\n" 18301 " Redacted form: pllightsource(x, y, z)\n" 18303 " This function is used in example 8.\n" 18309 "pllightsource(x, y, z)\n" 18313 " x (PLFLT, input) : X-coordinate of the light source.\n" 18315 " y (PLFLT, input) : Y-coordinate of the light source.\n" 18317 " z (PLFLT, input) : Z-coordinate of the light source.\n" 18325 " Draws line defined by n points in x and y.\n" 18327 " Redacted form: plline(x, y)\n" 18329 " This function is used in examples 1, 3, 4, 9, 12-14, 16, 18, 20, 22,\n" 18330 " 25-27, and 29.\n" 18336 "plline(n, x, y)\n" 18340 " n (PLINT, input) : Number of points defining line.\n" 18342 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 18345 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 18350 "Draw a line in 3 space\n" 18354 " Draws line in 3 space defined by n points in x, y, and z. You must\n" 18355 " first set up the viewport, the 2d viewing window (in world\n" 18356 " coordinates), and the 3d normalized coordinate box. See x18c.c for\n" 18359 " Redacted form: plline3(x, y, z)\n" 18361 " This function is used in example 18.\n" 18367 "plline3(n, x, y, z)\n" 18371 " n (PLINT, input) : Number of points defining line.\n" 18373 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 18376 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 18379 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n" 18384 "Select line style\n" 18388 " This sets the line style according to one of eight predefined patterns\n" 18389 " (also see plstyl).\n" 18391 " Redacted form: pllsty(lin)\n" 18393 " This function is used in examples 9, 12, 22, and 25.\n" 18403 " lin (PLINT, input) : Integer value between 1 and 8. Line style 1 is\n" 18404 " a continuous line, line style 2 is a line with short dashes and\n" 18405 " gaps, line style 3 is a line with long dashes and gaps, line style\n" 18406 " 4 has long dashes and short gaps and so on.\n" 18410 "Plot surface mesh\n" 18414 " Plots a surface mesh within the environment set up by plw3d. The\n" 18415 " surface is defined by the matrix z[\n" 18417 " ny] , the point z[i][j] being the value of the function at (\n" 18419 " y[j]). Note that the points in vectors x and y do not need to be\n" 18420 " equally spaced, but must be stored in ascending order. The parameter\n" 18421 " opt controls the way in which the surface is displayed. For further\n" 18422 " details see the PLplot documentation.\n" 18424 " Redacted form: plmesh(x, y, z, opt)\n" 18426 " This function is used in example 11.\n" 18432 "plmesh(x, y, z, nx, ny, opt)\n" 18436 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18437 " which the function is evaluated.\n" 18439 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18440 " which the function is evaluated.\n" 18442 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18443 " plot. Should have dimensions of\n" 18447 " nx (PLINT, input) : Number of x values at which function has been\n" 18450 " ny (PLINT, input) : Number of y values at which function has been\n" 18453 " opt (PLINT, input) : Determines the way in which the surface is\n" 18454 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n" 18455 " function of x for each value of y[j] .\n" 18456 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n" 18457 " for each value of x[i] .\n" 18458 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n" 18459 " at which function is defined.\n" 18463 "Magnitude colored plot surface mesh with contour\n" 18467 " A more powerful form of plmesh: the surface mesh can be colored\n" 18468 " accordingly to the current z value being plotted, a contour plot can\n" 18469 " be drawn at the base XY plane, and a curtain can be drawn between the\n" 18470 " plotted function border and the base XY plane.\n" 18472 " Redacted form: plmeshc(x, y, z, opt, clevel)\n" 18474 " This function is used in example 11.\n" 18480 "plmeshc(x, y, z, nx, ny, opt, clevel, nlevel)\n" 18484 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18485 " which the function is evaluated.\n" 18487 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18488 " which the function is evaluated.\n" 18490 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18491 " plot. Should have dimensions of\n" 18495 " nx (PLINT, input) : Number of x values at which function is\n" 18498 " ny (PLINT, input) : Number of y values at which function is\n" 18501 " opt (PLINT, input) : Determines the way in which the surface is\n" 18502 " represented. To specify more than one option just add the options,\n" 18503 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n" 18504 " showing z as a function of x for each value of y[j] .\n" 18505 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n" 18506 " for each value of x[i] .\n" 18507 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n" 18508 " at which function is defined.\n" 18509 " opt=MAG_COLOR : Each line in the mesh is colored according to\n" 18510 " the z value being plotted. The color is used from the current\n" 18512 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n" 18513 " using parameters\n" 18516 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n" 18517 " the borders of the plotted function.\n" 18520 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n" 18523 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n" 18527 "Creates a new stream and makes it the default\n" 18531 " Creates a new stream and makes it the default. Differs from using\n" 18532 " plsstrm, in that a free stream number is found, and returned.\n" 18533 " Unfortunately, I have to start at stream 1 and work upward, since\n" 18534 " stream 0 is preallocated. One of the big flaws in the PLplot API is\n" 18535 " that no initial, library-opening call is required. So stream 0 must\n" 18536 " be preallocated, and there is no simple way of determining whether it\n" 18537 " is already in use or not.\n" 18539 " Redacted form: plmkstrm(p_strm)\n" 18541 " This function is used in examples 1 and 20.\n" 18547 "plmkstrm(p_strm)\n" 18551 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the stream\n" 18552 " number of the created stream.\n" 18556 "Write text relative to viewport boundaries\n" 18560 " Writes text at a specified position relative to the viewport\n" 18561 " boundaries. Text may be written inside or outside the viewport, but\n" 18562 " is clipped at the subpage boundaries. The reference point of a string\n" 18563 " lies along a line passing through the string at half the height of a\n" 18564 " capital letter. The position of the reference point along this line\n" 18565 " is determined by just, and the position of the reference point\n" 18566 " relative to the viewport is set by disp and pos.\n" 18568 " Redacted form: General: plmtex(side, disp, pos, just, text)\n" 18571 " This function is used in examples 3, 4, 6-8, 11, 12, 14, 18, 23, and\n" 18578 "plmtex(side, disp, pos, just, text)\n" 18582 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 18583 " the side of the viewport along which the text is to be written.\n" 18584 " The string must be one of: b: Bottom of viewport, text written\n" 18585 " parallel to edge.\n" 18586 " bv: Bottom of viewport, text written at right angles to edge.\n" 18587 " l: Left of viewport, text written parallel to edge.\n" 18588 " lv: Left of viewport, text written at right angles to edge.\n" 18589 " r: Right of viewport, text written parallel to edge.\n" 18590 " rv: Right of viewport, text written at right angles to edge.\n" 18591 " t: Top of viewport, text written parallel to edge.\n" 18592 " tv: Top of viewport, text written at right angles to edge.\n" 18595 " disp (PLFLT, input) : Position of the reference point of string,\n" 18596 " measured outwards from the specified viewport edge in units of the\n" 18597 " current character height. Use negative disp to write within the\n" 18600 " pos (PLFLT, input) : Position of the reference point of string\n" 18601 " along the specified edge, expressed as a fraction of the length of\n" 18604 " just (PLFLT, input) : Specifies the position of the string relative\n" 18605 " to its reference point. If just=0. , the reference point is at\n" 18606 " the left and if just=1. , it is at the right of the string. Other\n" 18607 " values of just give intermediate justifications.\n" 18609 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n" 18614 "Write text relative to viewport boundaries in 3D plots\n" 18618 " Writes text at a specified position relative to the viewport\n" 18619 " boundaries. Text may be written inside or outside the viewport, but\n" 18620 " is clipped at the subpage boundaries. The reference point of a string\n" 18621 " lies along a line passing through the string at half the height of a\n" 18622 " capital letter. The position of the reference point along this line\n" 18623 " is determined by just, and the position of the reference point\n" 18624 " relative to the viewport is set by disp and pos.\n" 18626 " Redacted form: plmtex3(side, disp, pos, just, text)\n" 18628 " This function is used in example 28.\n" 18634 "plmtex3(side, disp, pos, just, text)\n" 18638 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 18639 " the side of the viewport along which the text is to be written.\n" 18640 " The string should contain one or more of the following characters:\n" 18641 " [xyz][ps][v]. Only one label is drawn at a time, i.e. xyp will\n" 18642 " only label the X axis, not both the X and Y axes. x: Label the X\n" 18644 " y: Label the Y axis.\n" 18645 " z: Label the Z axis.\n" 18646 " p: Label the primary axis. For Z this is the leftmost Z axis.\n" 18647 " For X it is the axis that starts at y-min. For Y it is the\n" 18648 " axis that starts at x-min.\n" 18649 " s: Label the secondary axis.\n" 18650 " v: Draw the text perpendicular to the axis.\n" 18653 " disp (PLFLT, input) : Position of the reference point of string,\n" 18654 " measured outwards from the specified viewport edge in units of the\n" 18655 " current character height. Use negative disp to write within the\n" 18658 " pos (PLFLT, input) : Position of the reference point of string\n" 18659 " along the specified edge, expressed as a fraction of the length of\n" 18662 " just (PLFLT, input) : Specifies the position of the string relative\n" 18663 " to its reference point. If just=0. , the reference point is at\n" 18664 " the left and if just=1. , it is at the right of the string. Other\n" 18665 " values of just give intermediate justifications.\n" 18667 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n" 18672 "Plot 3-d surface plot\n" 18676 " Plots a three-dimensional surface plot within the environment set up\n" 18677 " by plw3d. The surface is defined by the matrix z[\n" 18679 " ny] , the point z[i][j] being the value of the function at (\n" 18681 " y[j]). Note that the points in vectors x and y do not need to be\n" 18682 " equally spaced, but must be stored in ascending order. The parameter\n" 18683 " opt controls the way in which the surface is displayed. For further\n" 18684 " details see the PLplot documentation. The only difference between\n" 18685 " plmesh and plot3d is that plmesh draws the bottom side of the surface,\n" 18686 " while plot3d only draws the surface as viewed from the top.\n" 18688 " Redacted form: plot3d(x, y, z, opt, side)\n" 18690 " This function is used in examples 11 and 21.\n" 18696 "plot3d(x, y, z, nx, ny, opt, side)\n" 18700 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18701 " which the function is evaluated.\n" 18703 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18704 " which the function is evaluated.\n" 18706 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18707 " plot. Should have dimensions of\n" 18711 " nx (PLINT, input) : Number of x values at which function is\n" 18714 " ny (PLINT, input) : Number of y values at which function is\n" 18717 " opt (PLINT, input) : Determines the way in which the surface is\n" 18718 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n" 18719 " function of x for each value of y[j] .\n" 18720 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n" 18721 " for each value of x[i] .\n" 18722 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n" 18723 " at which function is defined.\n" 18726 " side (PLBOOL, input) : Flag to indicate whether or not ``sides''\n" 18727 " should be draw on the figure. If side is true sides are drawn,\n" 18728 " otherwise no sides are drawn.\n" 18732 "Magnitude colored plot surface with contour\n" 18736 " Aside from dropping the\n" 18737 " side functionality this is a more powerful form of plot3d: the surface\n" 18738 " mesh can be colored accordingly to the current z value being plotted,\n" 18739 " a contour plot can be drawn at the base XY plane, and a curtain can be\n" 18740 " drawn between the plotted function border and the base XY plane. The\n" 18741 " arguments are identical to those of plmeshc. The only difference\n" 18742 " between plmeshc and plot3dc is that plmeshc draws the bottom side of\n" 18743 " the surface, while plot3dc only draws the surface as viewed from the\n" 18746 " Redacted form: General: plot3dc(x, y, z, opt, clevel)\n" 18749 " This function is used in example 21.\n" 18755 "plot3dc(x, y, z, nx, ny, opt, clevel, nlevel)\n" 18759 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18760 " which the function is evaluated.\n" 18762 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18763 " which the function is evaluated.\n" 18765 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18766 " plot. Should have dimensions of\n" 18770 " nx (PLINT, input) : Number of x values at which function is\n" 18773 " ny (PLINT, input) : Number of y values at which function is\n" 18776 " opt (PLINT, input) : Determines the way in which the surface is\n" 18777 " represented. To specify more than one option just add the options,\n" 18778 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n" 18779 " showing z as a function of x for each value of y[j] .\n" 18780 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n" 18781 " for each value of x[i] .\n" 18782 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n" 18783 " at which function is defined.\n" 18784 " opt=MAG_COLOR : Each line in the mesh is colored according to\n" 18785 " the z value being plotted. The color is used from the current\n" 18787 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n" 18788 " using parameters\n" 18791 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n" 18792 " the borders of the plotted function.\n" 18795 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n" 18798 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n" 18802 "Magnitude colored plot surface with contour for z[x][y] with y index limits\n" 18806 " When the implementation is completed this variant of plot3dc (see that\n" 18807 " function's documentation for more details) should be suitable for the\n" 18808 " case where the area of the x, y coordinate grid where z is defined can\n" 18809 " be non-rectangular. The implementation is incomplete so the last 4\n" 18810 " parameters of plot3dcl; indexxmin, indexxmax, indexymin, and\n" 18811 " indexymax; are currently ignored and the functionality is otherwise\n" 18812 " identical to that of plot3dc.\n" 18814 " Redacted form: General: plot3dcl(x, y, z, opt, clevel, indexxmin,\n" 18815 " indexymin, indexymax)\n" 18818 " This function is not used in any example.\n" 18824 "plot3dcl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n" 18828 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18829 " which the function is evaluated.\n" 18831 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18832 " which the function is evaluated.\n" 18834 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18835 " plot. Should have dimensions of\n" 18839 " nx (PLINT, input) : Number of x values at which the function is\n" 18842 " ny (PLINT, input) : Number of y values at which the function is\n" 18845 " opt (PLINT, input) : Determines the way in which the surface is\n" 18846 " represented. To specify more than one option just add the options,\n" 18847 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n" 18848 " showing z as a function of x for each value of y[j] .\n" 18849 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n" 18850 " for each value of x[i] .\n" 18851 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n" 18852 " at which function is defined.\n" 18853 " opt=MAG_COLOR : Each line in the mesh is colored according to\n" 18854 " the z value being plotted. The color is used from the current\n" 18856 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n" 18857 " using parameters\n" 18860 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n" 18861 " the borders of the plotted function.\n" 18864 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n" 18867 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n" 18869 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n" 18870 " corresponds to the first x index where z is defined.\n" 18872 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n" 18873 " which corresponds (by convention) to one more than the last x\n" 18874 " index value where z is defined.\n" 18876 " indexymin (PLINT_VECTOR, input) : A vector containing y index\n" 18877 " values which all must be ≥ 0. These values are the first y index\n" 18878 " where z is defined for a particular x index in the range from\n" 18879 " indexxmin to indexxmax - 1. The dimension of indexymin is\n" 18882 " indexymax (PLINT_VECTOR, input) : A vector containing y index\n" 18883 " values which all must be ≤ ny. These values correspond (by\n" 18884 " convention) to one more than the last y index where z is defined\n" 18885 " for a particular x index in the range from indexxmin to indexxmax\n" 18886 " - 1. The dimension of indexymax is indexxmax.\n" 18890 "Plot shaded 3-d surface plot\n" 18894 " Plots a three-dimensional shaded surface plot within the environment\n" 18895 " set up by plw3d. The surface is defined by the two-dimensional matrix\n" 18898 " ny], the point z[i][j] being the value of the function at (\n" 18900 " y[j]). Note that the points in vectors x and y do not need to be\n" 18901 " equally spaced, but must be stored in ascending order. For further\n" 18902 " details see the PLplot documentation.\n" 18904 " Redacted form: plsurf3d(x, y, z, opt, clevel)\n" 18906 " This function is not used in any examples.\n" 18912 "plsurf3d(x, y, z, nx, ny, opt, clevel, nlevel)\n" 18916 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18917 " which the function is evaluated.\n" 18919 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18920 " which the function is evaluated.\n" 18922 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18923 " plot. Should have dimensions of\n" 18927 " nx (PLINT, input) : Number of x values at which function is\n" 18930 " ny (PLINT, input) : Number of y values at which function is\n" 18933 " opt (PLINT, input) : Determines the way in which the surface is\n" 18934 " represented. To specify more than one option just add the options,\n" 18935 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n" 18936 " connecting points at which function is defined.\n" 18937 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n" 18938 " using parameters\n" 18941 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n" 18942 " using parameters\n" 18945 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n" 18946 " the borders of the plotted function.\n" 18947 " opt=MAG_COLOR : the surface is colored according to the value\n" 18948 " of Z; if MAG_COLOR is not used, then the surface is colored\n" 18949 " according to the intensity of the reflected light in the\n" 18950 " surface from a light source whose position is set using\n" 18951 " pllightsource.\n" 18954 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n" 18957 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n" 18961 "Plot shaded 3-d surface plot for z[x][y] with y index limits\n" 18965 " This variant of plsurf3d (see that function's documentation for more\n" 18966 " details) should be suitable for the case where the area of the x, y\n" 18967 " coordinate grid where z is defined can be non-rectangular. The limits\n" 18968 " of that grid are provided by the parameters indexxmin, indexxmax,\n" 18969 " indexymin, and indexymax.\n" 18971 " Redacted form: plsurf3dl(x, y, z, opt, clevel, indexxmin, indexymin,\n" 18974 " This function is used in example 8.\n" 18980 "plsurf3dl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n" 18984 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n" 18985 " which the function is evaluated.\n" 18987 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n" 18988 " which the function is evaluated.\n" 18990 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n" 18991 " plot. Should have dimensions of\n" 18995 " nx (PLINT, input) : Number of x values at which function is\n" 18998 " ny (PLINT, input) : Number of y values at which function is\n" 19001 " opt (PLINT, input) : Determines the way in which the surface is\n" 19002 " represented. To specify more than one option just add the options,\n" 19003 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n" 19004 " connecting points at which function is defined.\n" 19005 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n" 19006 " using parameters\n" 19009 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n" 19010 " using parameters\n" 19013 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n" 19014 " the borders of the plotted function.\n" 19015 " opt=MAG_COLOR : the surface is colored according to the value\n" 19016 " of Z; if MAG_COLOR is not used, then the surface is colored\n" 19017 " according to the intensity of the reflected light in the\n" 19018 " surface from a light source whose position is set using\n" 19019 " pllightsource.\n" 19022 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n" 19025 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n" 19027 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n" 19028 " corresponds to the first x index where z is defined.\n" 19030 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n" 19031 " which corresponds (by convention) to one more than the last x\n" 19032 " index value where z is defined.\n" 19034 " indexymin (PLINT_VECTOR, input) : A vector containing the y index\n" 19035 " values which all must be ≥ 0. These values are the first y index\n" 19036 " where z is defined for a particular x index in the range from\n" 19037 " indexxmin to indexxmax - 1. The dimension of indexymin is\n" 19040 " indexymax (PLINT_VECTOR, input) : A vector containing the y index\n" 19041 " values which all must be ≤ ny. These values correspond (by\n" 19042 " convention) to one more than the last y index where z is defined\n" 19043 " for a particular x index in the range from indexxmin to indexxmax\n" 19044 " - 1. The dimension of indexymax is indexxmax.\n" 19048 "Parse command-line arguments\n" 19052 " Parse command-line arguments.\n" 19054 " plparseopts removes all recognized flags (decreasing argc\n" 19055 " accordingly), so that invalid input may be readily detected. It can\n" 19056 " also be used to process user command line flags. The user can merge\n" 19057 " an option table of type PLOptionTable into the internal option table\n" 19058 " info structure using plMergeOpts. Or, the user can specify that ONLY\n" 19059 " the external table(s) be parsed by calling plClearOpts before\n" 19062 " The default action taken by plparseopts is as follows:\n" 19063 " Returns with an error if an unrecognized option or badly formed\n" 19064 " option-value pair are encountered.\n" 19065 " Returns immediately (return code 0) when the first non-option command\n" 19066 " line argument is found.\n" 19067 " Returns with the return code of the option handler, if one was called.\n" 19069 " Deletes command line arguments from argv list as they are found, and\n" 19070 " decrements argc accordingly.\n" 19071 " Does not show \"invisible\" options in usage or help messages.\n" 19072 " Assumes the program name is contained in argv[0].\n" 19074 " These behaviors may be controlled through the\n" 19075 " mode argument.\n" 19077 " Redacted form: General: plparseopts(argv, mode)\n" 19080 " This function is used in all of the examples.\n" 19086 "PLINT plparseopts(p_argc, argv, mode)\n" 19090 " p_argc (int *, input/output) : Number of arguments.\n" 19092 " argv (PLCHAR_NC_MATRIX, input/output) : A vector of character\n" 19093 " strings containing *p_argc command-line arguments.\n" 19095 " mode (PLINT, input) : Parsing mode with the following\n" 19096 " possibilities: PL_PARSE_FULL (1) -- Full parsing of command line\n" 19097 " and all error messages enabled, including program exit when an\n" 19098 " error occurs. Anything on the command line that isn't recognized\n" 19099 " as a valid option or option argument is flagged as an error.\n" 19100 " PL_PARSE_QUIET (2) -- Turns off all output except in the case\n" 19102 " PL_PARSE_NODELETE (4) -- Turns off deletion of processed\n" 19104 " PL_PARSE_SHOWALL (8) -- Show invisible options\n" 19105 " PL_PARSE_NOPROGRAM (32) -- Specified if argv[0] is NOT a\n" 19106 " pointer to the program name.\n" 19107 " PL_PARSE_NODASH (64) -- Set if leading dash is NOT required.\n" 19108 " PL_PARSE_SKIP (128) -- Set to quietly skip over any\n" 19109 " unrecognized arguments.\n" 19112 {
"plpat",
_wrap_plpat, METH_VARARGS, (
char *)
"\n" 19113 "Set area line fill pattern\n" 19117 " Sets the area line fill pattern to be used, e.g., for calls to plfill.\n" 19118 " The pattern consists of 1 or 2 sets of parallel lines with specified\n" 19119 " inclinations and spacings. The arguments to this routine are the\n" 19120 " number of sets to use (1 or 2) followed by two vectors (with 1 or 2\n" 19121 " elements) specifying the inclinations in tenths of a degree and the\n" 19122 " spacing in micrometers. (See also plpsty)\n" 19124 " Redacted form: General: plpat(inc, del)\n" 19127 " This function is used in example 15.\n" 19133 "plpat(nlin, inc, del)\n" 19137 " nlin (PLINT, input) : Number of sets of lines making up the\n" 19138 " pattern, either 1 or 2.\n" 19140 " inc (PLINT_VECTOR, input) : A vector containing nlin values of the\n" 19141 " inclination in tenths of a degree. (Should be between -900 and\n" 19144 " del (PLINT_VECTOR, input) : A vector containing nlin values of the\n" 19145 " spacing in micrometers between the lines making up the pattern.\n" 19149 "Draw a line between two points, accounting for coordinate transforms\n" 19153 " Joins the point (\n" 19157 " y2) . If a global coordinate transform is defined then the line is\n" 19158 " broken in to n segments to approximate the path. If no transform is\n" 19159 " defined then this simply acts like a call to pljoin.\n" 19161 " Redacted form: plpath(n,x1,y1,x2,y2)\n" 19163 " This function is used in example 22.\n" 19169 "plpath(n, x1, y1, x2, y2)\n" 19173 " n (PLINT, input) : number of points to use to approximate the path.\n" 19175 " x1 (PLFLT, input) : x coordinate of first point.\n" 19177 " y1 (PLFLT, input) : y coordinate of first point.\n" 19179 " x2 (PLFLT, input) : x coordinate of second point.\n" 19181 " y2 (PLFLT, input) : y coordinate of second point.\n" 19185 "Plot a glyph at the specified points\n" 19189 " Plot a glyph at the specified points. (This function is largely\n" 19190 " superseded by plstring which gives access to many[!] more glyphs.)\n" 19191 " code=-1 means try to just draw a point. Right now it's just a move\n" 19192 " and a draw at the same place. Not ideal, since a sufficiently\n" 19193 " intelligent output device may optimize it away, or there may be faster\n" 19194 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n" 19195 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n" 19196 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n" 19197 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n" 19198 " code <= 127 the corresponding printable ASCII character is plotted.\n" 19200 " Redacted form: plpoin(x, y, code)\n" 19202 " This function is used in examples 1, 6, 14, and 29.\n" 19208 "plpoin(n, x, y, code)\n" 19212 " n (PLINT, input) : Number of points in the x and y vectors.\n" 19214 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 19217 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 19220 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n" 19221 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n" 19222 " each of the n points.\n" 19226 "Plot a glyph at the specified 3D points\n" 19230 " Plot a glyph at the specified 3D points. (This function is largely\n" 19231 " superseded by plstring3 which gives access to many[!] more glyphs.)\n" 19232 " Set up the call to this function similar to what is done for plline3.\n" 19233 " code=-1 means try to just draw a point. Right now it's just a move\n" 19234 " and a draw at the same place. Not ideal, since a sufficiently\n" 19235 " intelligent output device may optimize it away, or there may be faster\n" 19236 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n" 19237 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n" 19238 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n" 19239 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n" 19240 " code <= 127 the corresponding printable ASCII character is plotted.\n" 19242 " Redacted form: plpoin3(x, y, z, code)\n" 19244 " This function is not used in any example.\n" 19250 "plpoin3(n, x, y, z, code)\n" 19254 " n (PLINT, input) : Number of points in the x and y vectors.\n" 19256 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 19259 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 19262 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n" 19265 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n" 19266 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n" 19267 " each of the n points.\n" 19271 "Draw a polygon in 3 space\n" 19275 " Draws a polygon in 3 space defined by n points in x, y, and z. Setup\n" 19276 " like plline3, but differs from that function in that plpoly3 attempts\n" 19277 " to determine if the polygon is viewable depending on the order of the\n" 19278 " points within the vector and the value of ifcc. If the back of\n" 19279 " polygon is facing the viewer, then it isn't drawn. If this isn't what\n" 19280 " you want, then use plline3 instead.\n" 19282 " The points are assumed to be in a plane, and the directionality of the\n" 19283 " plane is determined from the first three points. Additional points do\n" 19284 " not have to lie on the plane defined by the first three, but if they\n" 19285 " do not, then the determination of visibility obviously can't be 100%\n" 19286 " accurate... So if you're 3 space polygons are too far from planar,\n" 19287 " consider breaking them into smaller polygons. 3 points define a plane\n" 19290 " Bugs: If one of the first two segments is of zero length, or if they\n" 19291 " are co-linear, the calculation of visibility has a 50/50 chance of\n" 19292 " being correct. Avoid such situations :-). See x18c.c for an example\n" 19293 " of this problem. (Search for 20.1).\n" 19295 " Redacted form: plpoly3(x, y, z, code)\n" 19297 " This function is used in example 18.\n" 19303 "plpoly3(n, x, y, z, draw, ifcc)\n" 19307 " n (PLINT, input) : Number of points defining line.\n" 19309 " x (PLFLT_VECTOR, input) : A vector containing\n" 19310 " n x coordinates of points.\n" 19312 " y (PLFLT_VECTOR, input) : A vector containing\n" 19313 " n y coordinates of points.\n" 19315 " z (PLFLT_VECTOR, input) : A vector containing\n" 19316 " n z coordinates of points.\n" 19318 " draw (PLBOOL_VECTOR, input) : A vector containing\n" 19319 " n-1 Boolean values which control drawing the segments of the polygon.\n" 19320 " If draw[i] is true, then the polygon segment from index [i] to\n" 19321 " [i+1] is drawn, otherwise, not.\n" 19323 " ifcc (PLBOOL, input) : If ifcc is true the directionality of the\n" 19324 " polygon is determined by assuming the points are laid out in a\n" 19325 " counter-clockwise order. Otherwise, the directionality of the\n" 19326 " polygon is determined by assuming the points are laid out in a\n" 19327 " clockwise order.\n" 19331 "Set precision in numeric labels\n" 19335 " Sets the number of places after the decimal point in numeric labels.\n" 19337 " Redacted form: plprec(setp, prec)\n" 19339 " This function is used in example 29.\n" 19345 "plprec(setp, prec)\n" 19349 " setp (PLINT, input) : If setp is equal to 0 then PLplot\n" 19350 " automatically determines the number of places to use after the\n" 19351 " decimal point in numeric labels (like those used to label axes).\n" 19352 " If setp is 1 then prec sets the number of places.\n" 19354 " prec (PLINT, input) : The number of characters to draw after the\n" 19355 " decimal point in numeric labels.\n" 19359 "Select area fill pattern\n" 19364 " patt is zero or less use either a hardware solid fill if the drivers\n" 19365 " have that capability (virtually all do) or fall back to a software\n" 19366 " emulation of a solid fill using the eighth area line fill pattern. If\n" 19368 " patt <= 8, then select one of eight predefined area line fill patterns\n" 19369 " to use (see plpat if you desire other patterns).\n" 19371 " Redacted form: plpsty(patt)\n" 19373 " This function is used in examples 12, 13, 15, 16, and 25.\n" 19383 " patt (PLINT, input) : The desired pattern index. If\n" 19384 " patt is zero or less, then a solid fill is (normally, see qualifiers\n" 19385 " above) used. For\n" 19386 " patt in the range from 1 to 8 and assuming the driver has not supplied\n" 19387 " line fill capability itself (most deliberately do not so that line\n" 19388 " fill patterns look identical for those drivers), the patterns\n" 19389 " consist of (1) horizontal lines, (2) vertical lines, (3) lines at\n" 19390 " 45 degrees, (4) lines at -45 degrees, (5) lines at 30 degrees, (6)\n" 19391 " lines at -30 degrees, (7) both vertical and horizontal lines, and\n" 19392 " (8) lines at both 45 degrees and -45 degrees.\n" 19396 "Write text inside the viewport\n" 19400 " Writes text at a specified position and inclination within the\n" 19401 " viewport. Text is clipped at the viewport boundaries. The reference\n" 19402 " point of a string lies along a line passing through the string at half\n" 19403 " the height of a capital letter. The position of the reference point\n" 19404 " along this line is determined by just, the reference point is placed\n" 19405 " at world coordinates (\n" 19407 " y) within the viewport. The inclination of the string is specified\n" 19408 " in terms of differences of world coordinates making it easy to write\n" 19409 " text parallel to a line in a graph.\n" 19411 " Redacted form: plptex(x, y, dx, dy, just, text)\n" 19413 " This function is used in example 2-4,10,12-14,20,23,24,26.\n" 19419 "plptex(x, y, dx, dy, just, text)\n" 19423 " x (PLFLT, input) : x coordinate of reference point of string.\n" 19425 " y (PLFLT, input) : y coordinate of reference point of string.\n" 19427 " dx (PLFLT, input) : Together with dy, this specifies the\n" 19428 " inclination of the string. The baseline of the string is parallel\n" 19429 " to a line joining (\n" 19437 " dy (PLFLT, input) : Together with dx, this specifies the\n" 19438 " inclination of the string.\n" 19440 " just (PLFLT, input) : Specifies the position of the string relative\n" 19441 " to its reference point. If just=0. , the reference point is at\n" 19442 " the left and if just=1. , it is at the right of the string. Other\n" 19443 " values of just give intermediate justifications.\n" 19445 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n" 19450 "Write text inside the viewport of a 3D plot\n" 19454 " Writes text at a specified position and inclination and with a\n" 19455 " specified shear within the viewport. Text is clipped at the viewport\n" 19456 " boundaries. The reference point of a string lies along a line passing\n" 19457 " through the string at half the height of a capital letter. The\n" 19458 " position of the reference point along this line is determined by just,\n" 19459 " and the reference point is placed at world coordinates (\n" 19462 " wz) within the viewport. The inclination and shear of the string is\n" 19463 " specified in terms of differences of world coordinates making it easy\n" 19464 " to write text parallel to a line in a graph.\n" 19466 " Redacted form: plptex3(x, y, z, dx, dy, dz, sx, sy, sz, just, text)\n" 19468 " This function is used in example 28.\n" 19474 "plptex3(wx, wy, wz, dx, dy, dz, sx, sy, sz, just, text)\n" 19478 " wx (PLFLT, input) : x world coordinate of reference point of\n" 19481 " wy (PLFLT, input) : y world coordinate of reference point of\n" 19484 " wz (PLFLT, input) : z world coordinate of reference point of\n" 19487 " dx (PLFLT, input) : Together with dy and\n" 19488 " dz , this specifies the inclination of the string. The baseline of\n" 19489 " the string is parallel to a line joining (\n" 19500 " dy (PLFLT, input) : Together with dx and\n" 19501 " dz, this specifies the inclination of the string.\n" 19503 " dz (PLFLT, input) : Together with dx and\n" 19504 " dy, this specifies the inclination of the string.\n" 19506 " sx (PLFLT, input) : Together with sy and\n" 19507 " sz , this specifies the shear of the string. The string is sheared so\n" 19508 " that the characters are vertically parallel to a line joining (\n" 19519 " sz = 0.) then the text is not sheared.\n" 19521 " sy (PLFLT, input) : Together with sx and\n" 19522 " sz, this specifies shear of the string.\n" 19524 " sz (PLFLT, input) : Together with sx and\n" 19525 " sy, this specifies shear of the string.\n" 19527 " just (PLFLT, input) : Specifies the position of the string relative\n" 19528 " to its reference point. If just=0. , the reference point is at\n" 19529 " the left and if just=1. , it is at the right of the string. Other\n" 19530 " values of just give intermediate justifications.\n" 19532 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n" 19537 "Random number generator returning a real random number in the range [0,1]\n" 19541 " Random number generator returning a real random number in the range\n" 19542 " [0,1]. The generator is based on the Mersenne Twister. Most languages\n" 19543 " / compilers provide their own random number generator, and so this is\n" 19544 " provided purely for convenience and to give a consistent random number\n" 19545 " generator across all languages supported by PLplot. This is\n" 19546 " particularly useful for comparing results from the test suite of\n" 19549 " Redacted form: plrandd()\n" 19551 " This function is used in examples 17 and 21.\n" 19561 "Replays contents of plot buffer to current device/file\n" 19565 " Replays contents of plot buffer to current device/file.\n" 19567 " Redacted form: plreplot()\n" 19569 " This function is used in example 1,20.\n" 19579 "Convert RGB color to HLS\n" 19583 " Convert RGB color coordinates to HLS\n" 19585 " Redacted form: General: plrgbhls(r, g, b, p_h, p_l, p_s)\n" 19588 " This function is used in example 2.\n" 19594 "plrgbhls(r, g, b, p_h, p_l, p_s)\n" 19598 " r (PLFLT, input) : Red intensity (0.0-1.0) of the color.\n" 19600 " g (PLFLT, input) : Green intensity (0.0-1.0) of the color.\n" 19602 " b (PLFLT, input) : Blue intensity (0.0-1.0) of the color.\n" 19604 " p_h (PLFLT_NC_SCALAR, output) : Returned value of the hue in\n" 19605 " degrees (0.0-360.0) on the color cylinder.\n" 19607 " p_l (PLFLT_NC_SCALAR, output) : Returned value of the lightness\n" 19608 " expressed as a fraction (0.0-1.0) of the axis of the color\n" 19611 " p_s (PLFLT_NC_SCALAR, output) : Returned value of the saturation\n" 19612 " expressed as a fraction (0.0-1.0) of the radius of the color\n" 19617 "Set character size\n" 19621 " This sets up the size of all subsequent characters drawn. The actual\n" 19622 " height of a character is the product of the default character size and\n" 19623 " a scaling factor.\n" 19625 " Redacted form: plschr(def, scale)\n" 19627 " This function is used in examples 2, 13, 23, and 24.\n" 19633 "plschr(def, scale)\n" 19637 " def (PLFLT, input) : The default height of a character in\n" 19638 " millimeters, should be set to zero if the default height is to\n" 19639 " remain unchanged. For rasterized drivers the dx and dy values\n" 19640 " specified in plspage are used to convert from mm to pixels (note\n" 19641 " the different unit systems used). This dpi aware scaling is not\n" 19642 " implemented for all drivers yet.\n" 19644 " scale (PLFLT, input) : Scale factor to be applied to default to get\n" 19645 " actual character height.\n" 19649 "Set cmap0 colors by 8-bit RGB values\n" 19653 " Set cmap0 colors using 8-bit RGB values (see the PLplot\n" 19654 " documentation). This sets the entire color map -- only as many colors\n" 19655 " as specified will be allocated.\n" 19657 " Redacted form: plscmap0(r, g, b)\n" 19659 " This function is used in examples 2 and 24.\n" 19665 "plscmap0(r, g, b, ncol0)\n" 19669 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19670 " integers (0-255) representing the degree of red in the color.\n" 19672 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19673 " integers (0-255) representing the degree of green in the color.\n" 19675 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19676 " integers (0-255) representing the degree of blue in the color.\n" 19678 " ncol0 (PLINT, input) : Number of items in the r, g, and b vectors.\n" 19682 "Set cmap0 colors by 8-bit RGB values and PLFLT alpha transparency value\n" 19686 " Set cmap0 colors using 8-bit RGB values (see the PLplot documentation)\n" 19687 " and PLFLT alpha transparency value. This sets the entire color map --\n" 19688 " only as many colors as specified will be allocated.\n" 19690 " Redacted form: plscmap0a(r, g, b, alpha)\n" 19692 " This function is used in examples 30.\n" 19698 "plscmap0a(r, g, b, alpha, ncol0)\n" 19702 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19703 " integers (0-255) representing the degree of red in the color.\n" 19705 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19706 " integers (0-255) representing the degree of green in the color.\n" 19708 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n" 19709 " integers (0-255) representing the degree of blue in the color.\n" 19711 " alpha (PLFLT_VECTOR, input) : A vector containing values (0.0-1.0)\n" 19712 " representing the alpha transparency of the color.\n" 19714 " ncol0 (PLINT, input) : Number of items in the r, g, b, and alpha\n" 19719 "Set number of colors in cmap0\n" 19723 " Set number of colors in cmap0 (see the PLplot documentation). Allocate\n" 19724 " (or reallocate) cmap0, and fill with default values for those colors\n" 19725 " not previously allocated. The first 16 default colors are given in\n" 19726 " the plcol0 documentation. For larger indices the default color is\n" 19729 " The drivers are not guaranteed to support more than 16 colors.\n" 19731 " Redacted form: plscmap0n(ncol0)\n" 19733 " This function is used in examples 15, 16, and 24.\n" 19739 "plscmap0n(ncol0)\n" 19743 " ncol0 (PLINT, input) : Number of colors that will be allocated in\n" 19744 " the cmap0 palette. If this number is zero or less, then the value\n" 19745 " from the previous call to plscmap0n is used and if there is no\n" 19746 " previous call, then a default value is used.\n" 19750 "Set opaque RGB cmap1 colors values\n" 19754 " Set opaque cmap1 colors (see the PLplot documentation) using RGB\n" 19755 " vector values. This function also sets the number of cmap1 colors.\n" 19756 " N.B. Continuous cmap1 colors are indexed with a floating-point index\n" 19757 " in the range from 0.0-1.0 which is linearly transformed (e.g., by\n" 19758 " plcol1) to an integer index of these RGB vectors in the range from 0\n" 19760 " ncol1-1. So in order for this continuous color model to work\n" 19761 " properly, it is the responsibility of the user of plscmap1 to insure\n" 19762 " that these RGB vectors are continuous functions of their integer\n" 19765 " Redacted form: plscmap1(r, g, b)\n" 19767 " This function is used in example 31.\n" 19773 "plscmap1(r, g, b, ncol1)\n" 19777 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19778 " 8-bit integers in the range from 0-255) the degree of red in the\n" 19779 " color as a continuous function of the integer index of the vector.\n" 19781 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19782 " 8-bit integers in the range from 0-255) the degree of green in the\n" 19783 " color as a continuous function of the integer index of the vector.\n" 19785 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19786 " 8-bit integers in the range from 0-255) the degree of blue in the\n" 19787 " color as a continuous function of the integer index of the vector.\n" 19789 " ncol1 (PLINT, input) : Number of items in the r, g, and b vectors.\n" 19793 "Set semitransparent cmap1 RGBA colors.\n" 19797 " Set semitransparent cmap1 colors (see the PLplot documentation) using\n" 19798 " RGBA vector values. This function also sets the number of cmap1\n" 19799 " colors. N.B. Continuous cmap1 colors are indexed with a\n" 19800 " floating-point index in the range from 0.0-1.0 which is linearly\n" 19801 " transformed (e.g., by plcol1) to an integer index of these RGBA\n" 19802 " vectors in the range from 0 to\n" 19803 " ncol1-1. So in order for this continuous color model to work\n" 19804 " properly, it is the responsibility of the user of plscmap1 to insure\n" 19805 " that these RGBA vectors are continuous functions of their integer\n" 19808 " Redacted form: plscmap1a(r, g, b, alpha)\n" 19810 " This function is used in example 31.\n" 19816 "plscmap1a(r, g, b, alpha, ncol1)\n" 19820 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19821 " 8-bit integers in the range from 0-255) the degree of red in the\n" 19822 " color as a continuous function of the integer index of the vector.\n" 19824 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19825 " 8-bit integers in the range from 0-255) the degree of green in the\n" 19826 " color as a continuous function of the integer index of the vector.\n" 19828 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n" 19829 " 8-bit integers in the range from 0-255) the degree of blue in the\n" 19830 " color as a continuous function of the integer index of the vector.\n" 19832 " alpha (PLFLT_VECTOR, input) : A vector that represents (using PLFLT\n" 19833 " values in the range from 0.0-1.0 where 0.0 corresponds to\n" 19834 " completely transparent and 1.0 corresponds to completely opaque)\n" 19835 " the alpha transparency of the color as a continuous function of\n" 19836 " the integer index of the vector.\n" 19838 " ncol1 (PLINT, input) : Number of items in the r, g, b, and alpha\n" 19843 "Set cmap1 colors using a piece-wise linear relationship\n" 19847 " Set cmap1 colors using a piece-wise linear relationship between the\n" 19848 " cmap1 intensity index (0.0-1.0) and position in HLS or RGB color space\n" 19849 " (see the PLplot documentation). May be called at any time.\n" 19851 " The idea here is to specify a number of control points that define the\n" 19852 " mapping between input cmap1 intensity indices and HLS or RGB. Between\n" 19853 " these points, linear interpolation is used which gives a smooth\n" 19854 " variation of color with intensity index. Any number of control points\n" 19855 " may be specified, located at arbitrary positions, although typically 2\n" 19856 " - 4 are enough. Another way of stating this is that we are traversing\n" 19857 " a given number of lines through HLS or RGB space as we move through\n" 19858 " cmap1 intensity indices. The control points at the minimum and\n" 19859 " maximum position (0 and 1) must always be specified. By adding more\n" 19860 " control points you can get more variation. One good technique for\n" 19861 " plotting functions that vary about some expected average is to use an\n" 19862 " additional 2 control points in the center (position ~= 0.5) that are\n" 19863 " the same lightness as the background (typically white for paper\n" 19864 " output, black for crt), and same hue as the boundary control points.\n" 19865 " This allows the highs and lows to be very easily distinguished.\n" 19867 " Each control point must specify the cmap1 intensity index and the\n" 19868 " associated three coordinates in HLS or RGB space. The first point\n" 19869 " must correspond to position = 0, and the last to position = 1.\n" 19871 " If RGB colors are provided then the interpolation takes place in RGB\n" 19872 " space and is trivial. However if HLS colors are provided then, because\n" 19873 " of the circular nature of the color wheel for the hue coordinate, the\n" 19874 " interpolation could be performed in either direction around the color\n" 19875 " wheel. The default behaviour is for the hue to be linearly\n" 19876 " interpolated ignoring this circular property of hue. So for example,\n" 19877 " the hues 0 (red) and 240 (blue) will get interpolated via yellow,\n" 19878 " green and cyan. If instead you wish to interpolate the other way\n" 19879 " around the color wheel you have two options. You may provide hues\n" 19880 " outside the range [0, 360), so by using a hue of -120 for blue or 360\n" 19881 " for red the interpolation will proceed via magenta. Alternatively you\n" 19882 " can utilise the alt_hue_path variable to reverse the direction of\n" 19883 " interpolation if you need to provide hues within the [0-360) range.\n" 19885 " Examples of interpolation Huealt_hue_pathcolor scheme[120\n" 19886 " 240]falsegreen-cyan-blue[240 120]falseblue-cyan-green[120\n" 19887 " -120]falsegreen-yellow-red-magenta-blue[240\n" 19888 " 480]falseblue-magenta-red-yellow-green[120\n" 19889 " 240]truegreen-yellow-red-magenta-blue[240\n" 19890 " 120]trueblue-magenta-red-yellow-green\n" 19892 " Bounds on coordinatesRGBR[0, 1]magnitudeRGBG[0, 1]magnitudeRGBB[0,\n" 19893 " 1]magnitudeHLShue[0, 360]degreesHLSlightness[0,\n" 19894 " 1]magnitudeHLSsaturation[0, 1]magnitude\n" 19896 " Redacted form: plscmap1l(itype, intensity, coord1, coord2, coord3,\n" 19899 " This function is used in examples 8, 11, 12, 15, 20, and 21.\n" 19905 "plscmap1l(itype, npts, intensity, coord1, coord2, coord3, alt_hue_path)\n" 19909 " itype (PLBOOL, input) : true: RGB, false: HLS.\n" 19911 " npts (PLINT, input) : number of control points\n" 19913 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n" 19914 " intensity index (0.0-1.0) in ascending order for each control\n" 19917 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n" 19918 " coordinate (H or R) for each control point.\n" 19920 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n" 19921 " coordinate (L or G) for each control point.\n" 19923 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n" 19924 " coordinate (S or B) for each control point.\n" 19926 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n" 19927 " npts - 1 elements), each containing either true to use the reversed\n" 19928 " HLS interpolation or false to use the regular HLS interpolation.\n" 19929 " (alt_hue_path[i] refers to the interpolation interval between the\n" 19930 " i and i + 1 control points). This parameter is not used for RGB\n" 19932 " itype = true).\n" 19936 "Set cmap1 colors and alpha transparency using a piece-wise linear relationship\n" 19940 " This is a variant of plscmap1l that supports alpha channel\n" 19941 " transparency. It sets cmap1 colors using a piece-wise linear\n" 19942 " relationship between cmap1 intensity index (0.0-1.0) and position in\n" 19943 " HLS or RGB color space (see the PLplot documentation) with alpha\n" 19944 " transparency value (0.0-1.0). It may be called at any time.\n" 19946 " Redacted form: plscmap1la(itype, intensity, coord1, coord2, coord3,\n" 19947 " alpha, alt_hue_path)\n" 19949 " This function is used in example 30.\n" 19955 "plscmap1la(itype, npts, intensity, coord1, coord2, coord3, alpha, alt_hue_path)\n" 19959 " itype (PLBOOL, input) : true: RGB, false: HLS.\n" 19961 " npts (PLINT, input) : number of control points.\n" 19963 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n" 19964 " intensity index (0.0-1.0) in ascending order for each control\n" 19967 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n" 19968 " coordinate (H or R) for each control point.\n" 19970 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n" 19971 " coordinate (L or G) for each control point.\n" 19973 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n" 19974 " coordinate (S or B) for each control point.\n" 19976 " alpha (PLFLT_VECTOR, input) : A vector containing the alpha\n" 19977 " transparency value (0.0-1.0) for each control point.\n" 19979 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n" 19980 " npts - 1 elements) containing the alternative interpolation method\n" 19981 " Boolean value for each control point interval. (alt_hue_path[i]\n" 19982 " refers to the interpolation interval between the i and i + 1\n" 19983 " control points).\n" 19987 "Set number of colors in cmap1\n" 19991 " Set number of colors in cmap1, (re-)allocate cmap1, and set default\n" 19992 " values if this is the first allocation (see the PLplot documentation).\n" 19994 " Redacted form: plscmap1n(ncol1)\n" 19996 " This function is used in examples 8, 11, 20, and 21.\n" 20002 "plscmap1n(ncol1)\n" 20006 " ncol1 (PLINT, input) : Number of colors that will be allocated in\n" 20007 " the cmap1 palette. If this number is zero or less, then the value\n" 20008 " from the previous call to plscmap1n is used and if there is no\n" 20009 " previous call, then a default value is used.\n" 20013 "Set the cmap1 argument range for continuous color plots\n" 20017 " Set the cmap1 argument range for continuous color plots that\n" 20018 " corresponds to the range of data values. The maximum range\n" 20019 " corresponding to the entire cmap1 palette is 0.0-1.0, and the smaller\n" 20020 " the cmap1 argument range that is specified with this routine, the\n" 20021 " smaller the subset of the cmap1 color palette that is used to\n" 20022 " represent the continuous data being plotted. If\n" 20023 " min_color is greater than\n" 20025 " max_color is greater than 1.0 or\n" 20026 " min_color is less than 0.0 then no change is made to the cmap1\n" 20027 " argument range. (Use plgcmap1_range to get the cmap1 argument range.)\n" 20029 " Redacted form: plscmap1_range(min_color, max_color)\n" 20031 " This function is currently used in example 33.\n" 20037 "plscmap1_range(min_color, max_color)\n" 20041 " min_color (PLFLT, input) : The minimum cmap1 argument. If less\n" 20042 " than 0.0, then 0.0 is used instead.\n" 20044 " max_color (PLFLT, input) : The maximum cmap1 argument. If greater\n" 20045 " than 1.0, then 1.0 is used instead.\n" 20049 "Get the cmap1 argument range for continuous color plots\n" 20053 " Get the cmap1 argument range for continuous color plots. (Use\n" 20054 " plscmap1_range to set the cmap1 argument range.)\n" 20056 " Redacted form: plgcmap1_range(min_color, max_color)\n" 20058 " This function is currently not used in any example.\n" 20064 "plgcmap1_range(min_color, max_color)\n" 20068 " min_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n" 20069 " minimum cmap1 argument.\n" 20071 " max_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n" 20072 " maximum cmap1 argument.\n" 20076 "Set 8-bit RGB values for given cmap0 color index\n" 20080 " Set 8-bit RGB values for given cmap0 (see the PLplot documentation)\n" 20081 " index. Overwrites the previous color value for the given index and,\n" 20082 " thus, does not result in any additional allocation of space for\n" 20085 " Redacted form: plscol0(icol0, r, g, b)\n" 20087 " This function is used in any example 31.\n" 20093 "plscol0(icol0, r, g, b)\n" 20097 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n" 20098 " number of colors (which is set by default, by plscmap0n, or even\n" 20101 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20102 " degree of red in the color.\n" 20104 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20105 " degree of green in the color.\n" 20107 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20108 " degree of blue in the color.\n" 20112 "Set 8-bit RGB values and PLFLT alpha transparency value for given cmap0 color index\n" 20116 " Set 8-bit RGB value and PLFLT alpha transparency value for given cmap0\n" 20117 " (see the PLplot documentation) index. Overwrites the previous color\n" 20118 " value for the given index and, thus, does not result in any additional\n" 20119 " allocation of space for colors.\n" 20121 " This function is used in example 30.\n" 20127 "plscol0a(icol0, r, g, b, alpha)\n" 20131 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n" 20132 " number of colors (which is set by default, by plscmap0n, or even\n" 20135 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20136 " degree of red in the color.\n" 20138 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20139 " degree of green in the color.\n" 20141 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20142 " degree of blue in the color.\n" 20144 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n" 20149 "Set the background color by 8-bit RGB value\n" 20153 " Set the background color (color 0 in cmap0) by 8-bit RGB value (see\n" 20154 " the PLplot documentation).\n" 20156 " Redacted form: plscolbg(r, g, b)\n" 20158 " This function is used in examples 15 and 31.\n" 20164 "plscolbg(r, g, b)\n" 20168 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20169 " degree of red in the color.\n" 20171 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20172 " degree of green in the color.\n" 20174 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20175 " degree of blue in the color.\n" 20179 "Set the background color by 8-bit RGB value and PLFLT alpha transparency value.\n" 20183 " Set the background color (color 0 in cmap0) by 8-bit RGB value and\n" 20184 " PLFLT alpha transparency value (see the PLplot documentation).\n" 20186 " This function is used in example 31.\n" 20192 "plscolbga(r, g, b, alpha)\n" 20196 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20197 " degree of red in the color.\n" 20199 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20200 " degree of green in the color.\n" 20202 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n" 20203 " degree of blue in the color.\n" 20205 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n" 20210 "Used to globally turn color output on/off\n" 20214 " Used to globally turn color output on/off for those drivers/devices\n" 20215 " that support it.\n" 20217 " Redacted form: plscolor(color)\n" 20219 " This function is used in example 31.\n" 20225 "plscolor(color)\n" 20229 " color (PLINT, input) : Color flag (Boolean). If zero, color is\n" 20230 " turned off. If non-zero, color is turned on.\n" 20234 "Set device-compression level\n" 20238 " Set device-compression level. Only used for drivers that provide\n" 20239 " compression. This function, if used, should be invoked before a call\n" 20242 " Redacted form: plscompression(compression)\n" 20244 " This function is used in example 31.\n" 20250 "plscompression(compression)\n" 20254 " compression (PLINT, input) : The desired compression level. This is\n" 20255 " a device-dependent value. Currently only the jpeg and png devices\n" 20256 " use these values. For jpeg value is the jpeg quality which should\n" 20257 " normally be in the range 0-95. Higher values denote higher quality\n" 20258 " and hence larger image sizes. For png values are in the range -1\n" 20259 " to 99. Values of 0-9 are taken as the compression level for zlib.\n" 20260 " A value of -1 denotes the default zlib compression level. Values\n" 20261 " in the range 10-99 are divided by 10 and then used as the zlib\n" 20262 " compression level. Higher compression levels correspond to greater\n" 20263 " compression and small file sizes at the expense of more\n" 20268 "Set the device (keyword) name\n" 20272 " Set the device (keyword) name.\n" 20274 " Redacted form: plsdev(devname)\n" 20276 " This function is used in examples 1, 14, and 20.\n" 20282 "plsdev(devname)\n" 20286 " devname (PLCHAR_VECTOR, input) : An ascii character string\n" 20287 " containing the device name keyword of the required output device.\n" 20289 " devname is NULL or if the first character of the string is a ``?'',\n" 20290 " the normal (prompted) start up is used.\n" 20294 "Set parameters that define current device-space window\n" 20298 " Set relative margin width, aspect ratio, and relative justification\n" 20299 " that define current device-space window. If you want to just use the\n" 20300 " previous value for any of these, just pass in the magic value\n" 20301 " PL_NOTSET. It is unlikely that one should ever need to change the\n" 20302 " aspect ratio but it's in there for completeness. If plsdidev is not\n" 20303 " called the default values of mar, jx, and jy are all 0. aspect is set\n" 20304 " to a device-specific value.\n" 20306 " Redacted form: plsdidev(mar, aspect, jx, jy)\n" 20308 " This function is used in example 31.\n" 20314 "plsdidev(mar, aspect, jx, jy)\n" 20318 " mar (PLFLT, input) : Relative margin width.\n" 20320 " aspect (PLFLT, input) : Aspect ratio.\n" 20322 " jx (PLFLT, input) : Relative justification in x. Value must lie in\n" 20323 " the range -0.5 to 0.5.\n" 20325 " jy (PLFLT, input) : Relative justification in y. Value must lie in\n" 20326 " the range -0.5 to 0.5.\n" 20330 "Set up transformation from metafile coordinates\n" 20334 " Set up transformation from metafile coordinates. The size of the plot\n" 20335 " is scaled so as to preserve aspect ratio. This isn't intended to be a\n" 20336 " general-purpose facility just yet (not sure why the user would need\n" 20339 " Redacted form: plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm,\n" 20342 " This function is not used in any examples.\n" 20348 "plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm, dimypmm)\n" 20352 " dimxmin (PLINT, input) : NEEDS DOCUMENTATION\n" 20354 " dimxmax (PLINT, input) : NEEDS DOCUMENTATION\n" 20356 " dimymin (PLINT, input) : NEEDS DOCUMENTATION\n" 20358 " dimymax (PLINT, input) : NEEDS DOCUMENTATION\n" 20360 " dimxpmm (PLFLT, input) : NEEDS DOCUMENTATION\n" 20362 " dimypmm (PLFLT, input) : NEEDS DOCUMENTATION\n" 20366 "Set plot orientation\n" 20370 " Set plot orientation parameter which is multiplied by 90 degrees to\n" 20371 " obtain the angle of rotation. Note, arbitrary rotation parameters\n" 20372 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n" 20373 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n" 20374 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n" 20375 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori is\n" 20376 " not called the default value of rot is 0.\n" 20378 " N.B. aspect ratio is unaffected by calls to plsdiori. So you will\n" 20379 " probably want to change the aspect ratio to a value suitable for the\n" 20380 " plot orientation using a call to plsdidev or the command-line options\n" 20381 " -a or -freeaspect. For more documentation of those options see the\n" 20382 " PLplot documentation. Such command-line options can be set internally\n" 20383 " using plsetopt or set directly using the command line and parsed using\n" 20384 " a call to plparseopts.\n" 20386 " Redacted form: plsdiori(rot)\n" 20388 " This function is not used in any examples.\n" 20398 " rot (PLFLT, input) : Plot orientation parameter.\n" 20402 "Set parameters that define current plot-space window\n" 20406 " Set relative minima and maxima that define the current plot-space\n" 20407 " window. If plsdiplt is not called the default values of xmin, ymin,\n" 20408 " xmax, and ymax are 0., 0., 1., and 1.\n" 20410 " Redacted form: plsdiplt(xmin, ymin, xmax, ymax)\n" 20412 " This function is used in example 31.\n" 20418 "plsdiplt(xmin, ymin, xmax, ymax)\n" 20422 " xmin (PLFLT, input) : Relative minimum in x.\n" 20424 " ymin (PLFLT, input) : Relative minimum in y.\n" 20426 " xmax (PLFLT, input) : Relative maximum in x.\n" 20428 " ymax (PLFLT, input) : Relative maximum in y.\n" 20432 "Set parameters incrementally (zoom mode) that define current plot-space window\n" 20436 " Set relative minima and maxima incrementally (zoom mode) that define\n" 20437 " the current plot-space window. This function has the same effect as\n" 20438 " plsdiplt if that function has not been previously called. Otherwise,\n" 20439 " this function implements zoom mode using the transformation min_used =\n" 20440 " old_min + old_length*min and max_used = old_min + old_length*max for\n" 20441 " each axis. For example, if min = 0.05 and max = 0.95 for each axis,\n" 20442 " repeated calls to plsdiplz will zoom in by 10 per cent for each call.\n" 20444 " Redacted form: plsdiplz(xmin, ymin, xmax, ymax)\n" 20446 " This function is used in example 31.\n" 20452 "plsdiplz(xmin, ymin, xmax, ymax)\n" 20456 " xmin (PLFLT, input) : Relative (incremental) minimum in x.\n" 20458 " ymin (PLFLT, input) : Relative (incremental) minimum in y.\n" 20460 " xmax (PLFLT, input) : Relative (incremental) maximum in x.\n" 20462 " ymax (PLFLT, input) : Relative (incremental) maximum in y.\n" 20466 "Set seed for internal random number generator.\n" 20470 " Set the seed for the internal random number generator. See plrandd for\n" 20471 " further details.\n" 20473 " Redacted form: plseed(seed)\n" 20475 " This function is used in example 21.\n" 20485 " seed (unsigned int, input) : Seed for random number generator.\n" 20489 "Set the escape character for text strings\n" 20493 " Set the escape character for text strings. From C (in contrast to\n" 20494 " Fortran, see plsescfortran) you pass esc as a character. Only selected\n" 20495 " characters are allowed to prevent the user from shooting himself in\n" 20496 " the foot (For example, a \\ isn't allowed since it conflicts with C's\n" 20497 " use of backslash as a character escape). Here are the allowed escape\n" 20498 " characters and their corresponding decimal ASCII values: !, ASCII 33\n" 20509 " Redacted form: General: plsesc(esc)\n" 20512 " This function is used in example 29.\n" 20522 " esc (char, input) : Escape character.\n" 20526 "Set any command-line option\n" 20530 " Set any command-line option internally from a program before it\n" 20531 " invokes plinit. opt is the name of the command-line option and optarg\n" 20532 " is the corresponding command-line option argument.\n" 20534 " This function returns 0 on success.\n" 20536 " Redacted form: plsetopt(opt, optarg)\n" 20538 " This function is used in example 14.\n" 20544 "PLINT plsetopt(opt, optarg)\n" 20548 " opt (PLCHAR_VECTOR, input) : An ascii character string containing\n" 20549 " the command-line option.\n" 20551 " optarg (PLCHAR_VECTOR, input) : An ascii character string\n" 20552 " containing the argument of the command-line option.\n" 20556 "Set family file parameters\n" 20560 " Sets variables dealing with output file familying. Does nothing if\n" 20561 " familying not supported by the driver. This routine, if used, must be\n" 20562 " called before initializing PLplot. See the PLplot documentation for\n" 20563 " more information.\n" 20565 " Redacted form: plsfam(fam, num, bmax)\n" 20567 " This function is used in examples 14 and 31.\n" 20573 "plsfam(fam, num, bmax)\n" 20577 " fam (PLINT, input) : Family flag (Boolean). If nonzero, familying\n" 20580 " num (PLINT, input) : Current family file number.\n" 20582 " bmax (PLINT, input) : Maximum file size (in bytes) for a family\n" 20587 "Set FCI (font characterization integer)\n" 20591 " Sets font characteristics to be used at the start of the next string\n" 20592 " using the FCI approach. See the PLplot documentation for more\n" 20593 " information. Note, plsfont (which calls plsfci internally) provides a\n" 20594 " more user-friendly API for setting the font characterisitics.\n" 20596 " Redacted form: General: plsfci(fci)\n" 20599 " This function is used in example 23.\n" 20609 " fci (PLUNICODE, input) : PLUNICODE (unsigned 32-bit integer) value\n" 20614 "Set output file name\n" 20618 " Sets the current output file name, if applicable. If the file name\n" 20619 " has not been specified and is required by the driver, the user will be\n" 20620 " prompted for it. If using the X-windows output driver, this sets the\n" 20621 " display name. This routine, if used, must be called before\n" 20622 " initializing PLplot.\n" 20624 " Redacted form: plsfnam(fnam)\n" 20626 " This function is used in examples 1 and 20.\n" 20636 " fnam (PLCHAR_VECTOR, input) : An ascii character string containing\n" 20637 " the file name.\n" 20641 "Set family, style and weight of the current font\n" 20645 " Sets the current font. See the PLplot documentation for more\n" 20646 " information on font selection.\n" 20648 " Redacted form: plsfont(family, style, weight)\n" 20650 " This function is used in example 23.\n" 20656 "plsfont(family, style, weight)\n" 20660 " family (PLINT, input) : Font family to select for the current font.\n" 20661 " The available values are given by the PL_FCI_* constants in\n" 20662 " plplot.h. Current options are PL_FCI_SANS, PL_FCI_SERIF,\n" 20663 " PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. A negative value\n" 20664 " signifies that the font family should not be altered.\n" 20666 " style (PLINT, input) : Font style to select for the current font.\n" 20667 " The available values are given by the PL_FCI_* constants in\n" 20668 " plplot.h. Current options are PL_FCI_UPRIGHT, PL_FCI_ITALIC and\n" 20669 " PL_FCI_OBLIQUE. A negative value signifies that the font style\n" 20670 " should not be altered.\n" 20672 " weight (PLINT, input) : Font weight to select for the current font.\n" 20673 " The available values are given by the PL_FCI_* constants in\n" 20674 " plplot.h. Current options are PL_FCI_MEDIUM and PL_FCI_BOLD. A\n" 20675 " negative value signifies that the font weight should not be\n" 20680 "Shade regions on the basis of value\n" 20684 " Shade regions on the basis of value. This is the high-level routine\n" 20685 " for making continuous color shaded plots with cmap1 while plshade\n" 20686 " should be used to plot individual shaded regions using either cmap0 or\n" 20687 " cmap1. examples/;<language>/x16* shows how to use plshades for each of\n" 20688 " our supported languages.\n" 20690 " Redacted form: General: plshades(a, defined, xmin, xmax, ymin, ymax,\n" 20691 " clevel, fill_width, cont_color, cont_width, fill, rectangular, pltr,\n" 20695 " This function is used in examples 16, 21, and 22.\n" 20701 "plshades(a, nx, ny, defined, xmin, xmax, ymin, ymax, clevel, nlevel, fill_width, cont_color, cont_width, fill, rectangular, pltr, pltr_data)\n" 20705 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n" 20706 " plot. Should have dimensions of\n" 20710 " nx (PLINT, input) : First dimension of matrix \"a\".\n" 20712 " ny (PLINT, input) : Second dimension of matrix \"a\".\n" 20714 " defined (PLDEFINED_callback, input) : Callback function specifying\n" 20715 " the region that should be plotted in the shade plot. This\n" 20716 " function accepts x and y coordinates as input arguments and must\n" 20717 " return 1 if the point is to be included in the shade plot and 0\n" 20718 " otherwise. If you want to plot the entire shade plot (the usual\n" 20719 " case), this argument should be set to NULL.\n" 20721 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n" 20722 " pltr below for how these arguments are used (only for the special case\n" 20723 " when the callback function\n" 20724 " pltr is not supplied).\n" 20726 " clevel (PLFLT_VECTOR, input) : A vector containing the data levels\n" 20727 " corresponding to the edges of each shaded region that will be\n" 20728 " plotted by this function. To work properly the levels should be\n" 20731 " nlevel (PLINT, input) : Number of shades plus 1 (i.e., the number\n" 20732 " of shade edge values in clevel).\n" 20734 " fill_width (PLFLT, input) : Defines the line width used by the fill\n" 20737 " cont_color (PLINT, input) : Defines cmap0 pen color used for\n" 20738 " contours defining edges of shaded regions. The pen color is only\n" 20739 " temporary set for the contour drawing. Set this value to zero or\n" 20740 " less if no shade edge contours are wanted.\n" 20742 " cont_width (PLFLT, input) : Defines line width used for contours\n" 20743 " defining edges of shaded regions. This value may not be honored\n" 20744 " by all drivers. The pen width is only temporary set for the\n" 20745 " contour drawing. Set this value to zero or less if no shade edge\n" 20746 " contours are wanted.\n" 20748 " fill (PLFILL_callback, input) : Callback routine used to fill the\n" 20749 " region. Use plfill for this purpose.\n" 20751 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n" 20752 " map to rectangles after coordinate transformation with pltrl.\n" 20753 " Otherwise, set rectangular to false. If rectangular is set to\n" 20754 " true, plshade tries to save time by filling large rectangles.\n" 20755 " This optimization fails if the coordinate transformation distorts\n" 20756 " the shape of rectangles. For example a plot in polar coordinates\n" 20757 " has to have rectangular set to false.\n" 20759 " pltr (PLTRANSFORM_callback, input) : A callback function that\n" 20760 " defines the transformation between the zero-based indices of the\n" 20761 " matrix a and world coordinates. If\n" 20762 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n" 20763 " indices of a are mapped to the range\n" 20765 " xmax and the y indices of a are mapped to the range\n" 20767 " ymax.For the C case, transformation functions are provided in the\n" 20768 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n" 20769 " pltr2 for arbitrary mappings respectively defined by vectors and\n" 20770 " matrices. In addition, C callback routines for the transformation\n" 20771 " can be supplied by the user such as the mypltr function in\n" 20772 " examples/c/x09c.c which provides a general linear transformation\n" 20773 " between index coordinates and world coordinates.For languages\n" 20774 " other than C you should consult the PLplot documentation for the\n" 20775 " details concerning how PLTRANSFORM_callback arguments are\n" 20776 " interfaced. However, in general, a particular pattern of\n" 20777 " callback-associated arguments such as a tr vector with 6 elements;\n" 20778 " xg and yg vectors; or xg and yg matrices are respectively\n" 20779 " interfaced to a linear-transformation routine similar to the above\n" 20780 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n" 20781 " sophisticated bindings (see, e.g., the PLplot documentation)\n" 20782 " support native language callbacks for handling index to\n" 20783 " world-coordinate transformations. Examples of these various\n" 20784 " approaches are given in examples/<language>x09*,\n" 20785 " examples/<language>x16*, examples/<language>x20*,\n" 20786 " examples/<language>x21*, and examples/<language>x22*, for all our\n" 20787 " supported languages.\n" 20789 " pltr_data (PLPointer, input) : Extra parameter to help pass\n" 20790 " information to pltr0, pltr1, pltr2, or whatever routine that is\n" 20791 " externally supplied.\n" 20795 "Shade individual region on the basis of value\n" 20799 " Shade individual region on the basis of value. Use plshades if you\n" 20800 " want to shade a number of contiguous regions using continuous colors.\n" 20801 " In particular the edge contours are treated properly in plshades. If\n" 20802 " you attempt to do contiguous regions with plshade the contours at the\n" 20803 " edge of the shade are partially obliterated by subsequent plots of\n" 20804 " contiguous shaded regions.\n" 20806 " Redacted form: General: plshade(a, defined, xmin, xmax, ymin, ymax,\n" 20807 " shade_min, shade_max, sh_cmap, sh_color, sh_width, min_color,\n" 20808 " min_width, max_color, max_width, fill, rectangular, pltr, pltr_data)\n" 20811 " This function is used in example 15.\n" 20817 "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" 20821 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n" 20822 " plot. Should have dimensions of\n" 20826 " nx (PLINT, input) : First dimension of the matrix \"a\".\n" 20828 " ny (PLINT, input) : Second dimension of the matrix \"a\".\n" 20830 " defined (PLDEFINED_callback, input) : Callback function specifying\n" 20831 " the region that should be plotted in the shade plot. This\n" 20832 " function accepts x and y coordinates as input arguments and must\n" 20833 " return 1 if the point is to be included in the shade plot and 0\n" 20834 " otherwise. If you want to plot the entire shade plot (the usual\n" 20835 " case), this argument should be set to NULL.\n" 20837 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n" 20838 " pltr below for how these arguments are used (only for the special case\n" 20839 " when the callback function\n" 20840 " pltr is not supplied).\n" 20842 " shade_min (PLFLT, input) : Defines the lower end of the interval to\n" 20843 " be shaded. If shade_max <= shade_min, plshade does nothing.\n" 20845 " shade_max (PLFLT, input) : Defines the upper end of the interval to\n" 20846 " be shaded. If shade_max <= shade_min, plshade does nothing.\n" 20848 " sh_cmap (PLINT, input) : Defines color map. If sh_cmap=0, then\n" 20849 " sh_color is interpreted as a cmap0 (integer) index. If sh_cmap=1,\n" 20850 " then sh_color is interpreted as a cmap1 argument in the range\n" 20853 " sh_color (PLFLT, input) : Defines color map index with integer\n" 20854 " value if cmap0 or value in range (0.0-1.0) if cmap1.\n" 20856 " sh_width (PLFLT, input) : Defines width used by the fill pattern.\n" 20858 " min_color (PLINT, input) : Defines pen color, width used by the\n" 20859 " boundary of shaded region. The min values are used for the\n" 20860 " shade_min boundary, and the max values are used on the shade_max\n" 20861 " boundary. Set color and width to zero for no plotted boundaries.\n" 20863 " min_width (PLFLT, input) : Defines pen color, width used by the\n" 20864 " boundary of shaded region. The min values are used for the\n" 20865 " shade_min boundary, and the max values are used on the shade_max\n" 20866 " boundary. Set color and width to zero for no plotted boundaries.\n" 20868 " max_color (PLINT, input) : Defines pen color, width used by the\n" 20869 " boundary of shaded region. The min values are used for the\n" 20870 " shade_min boundary, and the max values are used on the shade_max\n" 20871 " boundary. Set color and width to zero for no plotted boundaries.\n" 20873 " max_width (PLFLT, input) : Defines pen color, width used by the\n" 20874 " boundary of shaded region. The min values are used for the\n" 20875 " shade_min boundary, and the max values are used on the shade_max\n" 20876 " boundary. Set color and width to zero for no plotted boundaries.\n" 20878 " fill (PLFILL_callback, input) : Routine used to fill the region.\n" 20879 " Use plfill. Future version of PLplot may have other fill\n" 20882 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n" 20883 " map to rectangles after coordinate transformation with pltrl.\n" 20884 " Otherwise, set rectangular to false. If rectangular is set to\n" 20885 " true, plshade tries to save time by filling large rectangles.\n" 20886 " This optimization fails if the coordinate transformation distorts\n" 20887 " the shape of rectangles. For example a plot in polar coordinates\n" 20888 " has to have rectangular set to false.\n" 20890 " pltr (PLTRANSFORM_callback, input) : A callback function that\n" 20891 " defines the transformation between the zero-based indices of the\n" 20892 " matrix a and world coordinates. If\n" 20893 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n" 20894 " indices of a are mapped to the range\n" 20896 " xmax and the y indices of a are mapped to the range\n" 20898 " ymax.For the C case, transformation functions are provided in the\n" 20899 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n" 20900 " pltr2 for arbitrary mappings respectively defined by vectors and\n" 20901 " matrices. In addition, C callback routines for the transformation\n" 20902 " can be supplied by the user such as the mypltr function in\n" 20903 " examples/c/x09c.c which provides a general linear transformation\n" 20904 " between index coordinates and world coordinates.For languages\n" 20905 " other than C you should consult the PLplot documentation for the\n" 20906 " details concerning how PLTRANSFORM_callback arguments are\n" 20907 " interfaced. However, in general, a particular pattern of\n" 20908 " callback-associated arguments such as a tr vector with 6 elements;\n" 20909 " xg and yg vectors; or xg and yg matrices are respectively\n" 20910 " interfaced to a linear-transformation routine similar to the above\n" 20911 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n" 20912 " sophisticated bindings (see, e.g., the PLplot documentation)\n" 20913 " support native language callbacks for handling index to\n" 20914 " world-coordinate transformations. Examples of these various\n" 20915 " approaches are given in examples/<language>x09*,\n" 20916 " examples/<language>x16*, examples/<language>x20*,\n" 20917 " examples/<language>x21*, and examples/<language>x22*, for all our\n" 20918 " supported languages.\n" 20920 " pltr_data (PLPointer, input) : Extra parameter to help pass\n" 20921 " information to pltr0, pltr1, pltr2, or whatever routine that is\n" 20922 " externally supplied.\n" 20926 "Assign a function to use for generating custom axis labels\n" 20930 " This function allows a user to provide their own function to provide\n" 20931 " axis label text. The user function is given the numeric value for a\n" 20932 " point on an axis and returns a string label to correspond with that\n" 20933 " value. Custom axis labels can be enabled by passing appropriate\n" 20934 " arguments to plenv, plbox, plbox3 and similar functions.\n" 20936 " This function is used in example 19.\n" 20942 "plslabelfunc(label_func, label_data)\n" 20946 " label_func (PLLABEL_FUNC_callback, input) : This is the custom\n" 20947 " label function. In order to reset to the default labelling, set\n" 20948 " this to NULL. The labelling function parameters are, in order:\n" 20949 " axis: This indicates which axis a label is being requested for.\n" 20950 " The value will be one of PL_X_AXIS, PL_Y_AXIS or PL_Z_AXIS.\n" 20952 " value: This is the value along the axis which is being labelled.\n" 20954 " label_text: The string representation of the label value.\n" 20956 " length: The maximum length in characters allowed for label_text.\n" 20959 " label_data (PLPointer, input) : This parameter may be used to pass\n" 20960 " data to the label_func function.\n" 20964 "Set length of major ticks\n" 20968 " This sets up the length of the major ticks. The actual length is the\n" 20969 " product of the default length and a scaling factor as for character\n" 20972 " Redacted form: plsmaj(def, scale)\n" 20974 " This function is used in example 29.\n" 20980 "plsmaj(def, scale)\n" 20984 " def (PLFLT, input) : The default length of a major tick in\n" 20985 " millimeters, should be set to zero if the default length is to\n" 20986 " remain unchanged.\n" 20988 " scale (PLFLT, input) : Scale factor to be applied to default to get\n" 20989 " actual tick length.\n" 20993 "Set the memory area to be plotted (RGB)\n" 20997 " Set the memory area to be plotted (with the mem or memcairo driver) as\n" 20998 " the dev member of the stream structure. Also set the number of pixels\n" 20999 " in the memory passed in\n" 21000 " plotmem, which is a block of memory\n" 21002 " maxx by 3 bytes long, say: 480 x 640 x 3 (Y, X, RGB)\n" 21004 " This memory will have to be freed by the user!\n" 21006 " Redacted form: plsmem(maxx, maxy, plotmem)\n" 21008 " This function is not used in any examples.\n" 21014 "plsmem(maxx, maxy, plotmem)\n" 21018 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n" 21020 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n" 21022 " plotmem (PLPointer, input) : Pointer to the beginning of a\n" 21023 " user-supplied writeable memory area.\n" 21027 "Set the memory area to be plotted (RGBA)\n" 21031 " Set the memory area to be plotted (with the memcairo driver) as the\n" 21032 " dev member of the stream structure. Also set the number of pixels in\n" 21033 " the memory passed in\n" 21034 " plotmem, which is a block of memory\n" 21036 " maxx by 4 bytes long, say: 480 x 640 x 4 (Y, X, RGBA)\n" 21038 " This memory will have to be freed by the user!\n" 21040 " Redacted form: plsmema(maxx, maxy, plotmem)\n" 21042 " This function is not used in any examples.\n" 21048 "plsmema(maxx, maxy, plotmem)\n" 21052 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n" 21054 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n" 21056 " plotmem (PLPointer, input) : Pointer to the beginning of a\n" 21057 " user-supplied writeable memory area.\n" 21061 "Set length of minor ticks\n" 21065 " This sets up the length of the minor ticks and the length of the\n" 21066 " terminals on error bars. The actual length is the product of the\n" 21067 " default length and a scaling factor as for character height.\n" 21069 " Redacted form: plsmin(def, scale)\n" 21071 " This function is used in example 29.\n" 21077 "plsmin(def, scale)\n" 21081 " def (PLFLT, input) : The default length of a minor tick in\n" 21082 " millimeters, should be set to zero if the default length is to\n" 21083 " remain unchanged.\n" 21085 " scale (PLFLT, input) : Scale factor to be applied to default to get\n" 21086 " actual tick length.\n" 21090 "Set orientation\n" 21094 " Set integer plot orientation parameter. This function is identical to\n" 21095 " plsdiori except for the type of the argument, and should be used in\n" 21096 " the same way. See the documentation of plsdiori for details.\n" 21098 " Redacted form: plsori(ori)\n" 21100 " This function is used in example 3.\n" 21110 " ori (PLINT, input) : Orientation value (0 for landscape, 1 for\n" 21111 " portrait, etc.) The value is multiplied by 90 degrees to get the\n" 21116 "Set page parameters\n" 21120 " Sets the page configuration (optional). If an individual parameter is\n" 21121 " zero then that parameter value is not updated. Not all parameters are\n" 21122 " recognized by all drivers and the interpretation is device-dependent.\n" 21123 " The X-window driver uses the length and offset parameters to determine\n" 21124 " the window size and location. The length and offset values are\n" 21125 " expressed in units that are specific to the current driver. For\n" 21126 " instance: screen drivers will usually interpret them as number of\n" 21127 " pixels, whereas printer drivers will usually use mm.\n" 21129 " This routine, if used, must be called before initializing PLplot. It\n" 21130 " may be called at later times for interactive drivers to change only\n" 21131 " the dpi for subsequent redraws which you can force via a call to\n" 21132 " plreplot. If this function is not called then the page size defaults\n" 21133 " to landscape A4 for drivers which use real world page sizes and 744\n" 21134 " pixels wide by 538 pixels high for raster drivers. The default value\n" 21135 " for dx and dy is 90 pixels per inch for raster drivers.\n" 21139 " Redacted form: plspage(xp, yp, xleng, yleng, xoff, yoff)\n" 21141 " This function is used in examples 14 and 31.\n" 21147 "plspage(xp, yp, xleng, yleng, xoff, yoff)\n" 21151 " xp (PLFLT, input) : Number of pixels per inch (DPI), x. Used only\n" 21152 " by raster drivers, ignored by drivers which use \"real world\" units\n" 21155 " yp (PLFLT, input) : Number of pixels per inch (DPI), y. Used only\n" 21156 " by raster drivers, ignored by drivers which use \"real world\" units\n" 21159 " xleng (PLINT, input) : Page length, x.\n" 21161 " yleng (PLINT, input) : Page length, y.\n" 21163 " xoff (PLINT, input) : Page offset, x.\n" 21165 " yoff (PLINT, input) : Page offset, y.\n" 21169 "Set the cmap0 palette using the specified cmap0*.pal format file\n" 21173 " Set the cmap0 palette using the specified cmap0*.pal format file.\n" 21175 " Redacted form: plspal0(filename)\n" 21177 " This function is in example 16.\n" 21183 "plspal0(filename)\n" 21187 " filename (PLCHAR_VECTOR, input) : An ascii character string\n" 21188 " containing the name of the cmap0*.pal file. If this string is\n" 21189 " empty, use the default cmap0*.pal file.\n" 21193 "Set the cmap1 palette using the specified cmap1*.pal format file\n" 21197 " Set the cmap1 palette using the specified cmap1*.pal format file.\n" 21199 " Redacted form: plspal1(filename, interpolate)\n" 21201 " This function is used in example 16.\n" 21207 "plspal1(filename, interpolate)\n" 21211 " filename (PLCHAR_VECTOR, input) : An ascii character string\n" 21212 " containing the name of the cmap1*.pal file. If this string is\n" 21213 " empty, use the default cmap1*.pal file.\n" 21215 " interpolate (PLBOOL, input) : If this parameter is true, the\n" 21216 " columns containing the intensity index, r, g, b, alpha and\n" 21217 " alt_hue_path in the cmap1*.pal file are used to set the cmap1\n" 21218 " palette with a call to plscmap1la. (The cmap1*.pal header contains\n" 21219 " a flag which controls whether the r, g, b data sent to plscmap1la\n" 21220 " are interpreted as HLS or RGB.) If this parameter is false, the\n" 21221 " intensity index and alt_hue_path columns are ignored and the r, g,\n" 21222 " b (interpreted as RGB), and alpha columns of the cmap1*.pal file\n" 21223 " are used instead to set the cmap1 palette directly with a call to\n" 21228 "Set the pause (on end-of-page) status\n" 21232 " Set the pause (on end-of-page) status.\n" 21234 " Redacted form: plspause(pause)\n" 21236 " This function is in examples 14,20.\n" 21242 "plspause(pause)\n" 21246 " pause (PLBOOL, input) : If pause is true there will be a pause on\n" 21247 " end-of-page for those drivers which support this. Otherwise there\n" 21252 "Set current output stream\n" 21256 " Sets the number of the current output stream. The stream number\n" 21257 " defaults to 0 unless changed by this routine. The first use of this\n" 21258 " routine must be followed by a call initializing PLplot (e.g. plstar).\n" 21260 " Redacted form: plsstrm(strm)\n" 21262 " This function is examples 1,14,20.\n" 21272 " strm (PLINT, input) : The current stream number.\n" 21276 "Set the number of subpages in x and y\n" 21280 " Set the number of subpages in x and y.\n" 21282 " Redacted form: plssub(nx, ny)\n" 21284 " This function is examples 1,2,14,21,25,27.\n" 21294 " nx (PLINT, input) : Number of windows in x direction (i.e., number\n" 21295 " of window columns).\n" 21297 " ny (PLINT, input) : Number of windows in y direction (i.e., number\n" 21298 " of window rows).\n" 21302 "Set symbol size\n" 21306 " This sets up the size of all subsequent symbols drawn by plpoin and\n" 21307 " plsym. The actual height of a symbol is the product of the default\n" 21308 " symbol size and a scaling factor as for the character height.\n" 21310 " Redacted form: plssym(def, scale)\n" 21312 " This function is used in example 29.\n" 21318 "plssym(def, scale)\n" 21322 " def (PLFLT, input) : The default height of a symbol in millimeters,\n" 21323 " should be set to zero if the default height is to remain\n" 21326 " scale (PLFLT, input) : Scale factor to be applied to default to get\n" 21327 " actual symbol height.\n" 21335 " Initializing the plotting package. The program prompts for the device\n" 21336 " keyword or number of the desired output device. Hitting a RETURN in\n" 21337 " response to the prompt is the same as selecting the first device. If\n" 21338 " only one device is enabled when PLplot is installed, plstar will issue\n" 21339 " no prompt. The output device is divided into nx by ny subpages, each\n" 21340 " of which may be used independently. The subroutine pladv is used to\n" 21341 " advance from one subpage to the next.\n" 21343 " Redacted form: plstar(nx, ny)\n" 21345 " This function is used in example 1.\n" 21355 " nx (PLINT, input) : Number of subpages to divide output page in the\n" 21358 " ny (PLINT, input) : Number of subpages to divide output page in the\n" 21367 " Alternative to plstar for initializing the plotting package. The\n" 21368 " device name keyword for the desired output device must be supplied as\n" 21369 " an argument. These keywords are the same as those printed out by\n" 21370 " plstar. If the requested device is not available, or if the input\n" 21371 " string is empty or begins with ``?'', the prompted start up of plstar\n" 21372 " is used. This routine also divides the output device page into nx by\n" 21373 " ny subpages, each of which may be used independently. The subroutine\n" 21374 " pladv is used to advance from one subpage to the next.\n" 21376 " Redacted form: General: plstart(devname, nx, ny)\n" 21379 " This function is not used in any examples.\n" 21385 "plstart(devname, nx, ny)\n" 21389 " devname (PLCHAR_VECTOR, input) : An ascii character string\n" 21390 " containing the device name keyword of the required output device.\n" 21392 " devname is NULL or if the first character of the string is a ``?'',\n" 21393 " the normal (prompted) start up is used.\n" 21395 " nx (PLINT, input) : Number of subpages to divide output page in the\n" 21398 " ny (PLINT, input) : Number of subpages to divide output page in the\n" 21403 "Set a global coordinate transform function\n" 21407 " This function can be used to define a coordinate transformation which\n" 21408 " affects all elements drawn within the current plot window. The\n" 21409 " coordinate_transform callback function is similar to that provided for\n" 21410 " the plmap and plmeridians functions. The coordinate_transform_data\n" 21411 " parameter may be used to pass extra data to coordinate_transform.\n" 21413 " Redacted form: General: plstransform(coordinate_transform,\n" 21414 " coordinate_transform_data)\n" 21417 " This function is used in examples 19 and 22.\n" 21423 "plstransform(coordinate_transform, coordinate_transform_data)\n" 21427 " coordinate_transform (PLTRANSFORM_callback, input) : A callback\n" 21428 " function that defines the transformation from the input (x, y)\n" 21429 " world coordinates to new PLplot world coordinates. If\n" 21430 " coordinate_transform is not supplied (e.g., is set to NULL in the C\n" 21431 " case), then no transform is applied.\n" 21433 " coordinate_transform_data (PLPointer, input) : Optional extra data\n" 21435 " coordinate_transform.\n" 21439 "Plot a glyph at the specified points\n" 21443 " Plot a glyph at the specified points. (Supersedes plpoin and plsym\n" 21444 " because many[!] more glyphs are accessible with plstring.) The glyph\n" 21445 " is specified with a PLplot user string. Note that the user string is\n" 21446 " not actually limited to one glyph so it is possible (but not normally\n" 21447 " useful) to plot more than one glyph at the specified points with this\n" 21448 " function. As with plmtex and plptex, the user string can contain FCI\n" 21449 " escapes to determine the font, UTF-8 code to determine the glyph or\n" 21450 " else PLplot escapes for Hershey or unicode text to determine the\n" 21453 " Redacted form: plstring(x, y, string)\n" 21455 " This function is used in examples 4, 21 and 26.\n" 21461 "plstring(n, x, y, string)\n" 21465 " n (PLINT, input) : Number of points in the x and y vectors.\n" 21467 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 21470 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 21473 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n" 21474 " the glyph(s) to be plotted at each of the n points.\n" 21478 "Plot a glyph at the specified 3D points\n" 21482 " Plot a glyph at the specified 3D points. (Supersedes plpoin3 because\n" 21483 " many[!] more glyphs are accessible with plstring3.) Set up the call to\n" 21484 " this function similar to what is done for plline3. The glyph is\n" 21485 " specified with a PLplot user string. Note that the user string is not\n" 21486 " actually limited to one glyph so it is possible (but not normally\n" 21487 " useful) to plot more than one glyph at the specified points with this\n" 21488 " function. As with plmtex and plptex, the user string can contain FCI\n" 21489 " escapes to determine the font, UTF-8 code to determine the glyph or\n" 21490 " else PLplot escapes for Hershey or unicode text to determine the\n" 21493 " Redacted form: plstring3(x, y, z, string)\n" 21495 " This function is used in example 18.\n" 21501 "plstring3(n, x, y, z, string)\n" 21505 " n (PLINT, input) : Number of points in the x, y, and z vectors.\n" 21507 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 21510 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 21513 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n" 21516 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n" 21517 " the glyph(s) to be plotted at each of the n points. points.\n" 21521 "Add a point to a strip chart\n" 21525 " Add a point to a given pen of a given strip chart. There is no need\n" 21526 " for all pens to have the same number of points or to be equally\n" 21527 " sampled in the x coordinate. Allocates memory and rescales as\n" 21530 " Redacted form: plstripa(id, pen, x, y)\n" 21532 " This function is used in example 17.\n" 21538 "plstripa(id, pen, x, y)\n" 21542 " id (PLINT, input) : Identification number of the strip chart (set\n" 21543 " up in plstripc).\n" 21545 " pen (PLINT, input) : Pen number (ranges from 0 to 3).\n" 21547 " x (PLFLT, input) : X coordinate of point to plot.\n" 21549 " y (PLFLT, input) : Y coordinate of point to plot.\n" 21553 "Create a 4-pen strip chart\n" 21557 " Create a 4-pen strip chart, to be used afterwards by plstripa\n" 21559 " Redacted form: General: plstripc(id, xspec, yspec, xmin, xmax, xjump,\n" 21560 " ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline,\n" 21561 " styline, legline, labx, laby, labz)\n" 21564 " This function is used in example 17.\n" 21570 "plstripc(id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline, styline, legline[], labx, laby, labtop)\n" 21574 " id (PLINT_NC_SCALAR, output) : Returned value of the identification\n" 21575 " number of the strip chart to use on plstripa and plstripd.\n" 21577 " xspec (PLCHAR_VECTOR, input) : An ascii character string containing\n" 21578 " the x-axis specification as in plbox.\n" 21580 " yspec (PLCHAR_VECTOR, input) : An ascii character string containing\n" 21581 " the y-axis specification as in plbox.\n" 21583 " xmin (PLFLT, input) : Initial coordinates of plot box; they will\n" 21584 " change as data are added.\n" 21586 " xmax (PLFLT, input) : Initial coordinates of plot box; they will\n" 21587 " change as data are added.\n" 21589 " xjump (PLFLT, input) : When x attains xmax, the length of the plot\n" 21590 " is multiplied by the factor (1 +\n" 21593 " ymin (PLFLT, input) : Initial coordinates of plot box; they will\n" 21594 " change as data are added.\n" 21596 " ymax (PLFLT, input) : Initial coordinates of plot box; they will\n" 21597 " change as data are added.\n" 21599 " xlpos (PLFLT, input) : X legend box position (range from 0 to 1).\n" 21601 " ylpos (PLFLT, input) : Y legend box position (range from 0 to 1).\n" 21603 " y_ascl (PLBOOL, input) : Autoscale y between x jumps if y_ascl is\n" 21604 " true, otherwise not.\n" 21606 " acc (PLBOOL, input) : Accumulate strip plot if acc is true,\n" 21607 " otherwise slide display.\n" 21609 " colbox (PLINT, input) : Plot box color index (cmap0).\n" 21611 " collab (PLINT, input) : Legend color index (cmap0).\n" 21613 " colline (PLINT_VECTOR, input) : A vector containing the cmap0 color\n" 21614 " indices for the 4 pens.\n" 21616 " styline (PLINT_VECTOR, input) : A vector containing the line style\n" 21617 " indices for the 4 pens.\n" 21619 " legline (PLCHAR_MATRIX, input) : A vector of UTF-8 character\n" 21620 " strings containing legends for the 4 pens.\n" 21622 " labx (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n" 21623 " the label for the x axis.\n" 21625 " laby (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n" 21626 " the label for the y axis.\n" 21628 " labtop (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n" 21629 " the plot title.\n" 21633 "Deletes and releases memory used by a strip chart\n" 21637 " Deletes and releases memory used by a strip chart.\n" 21639 " Redacted form: plstripd(id)\n" 21641 " This function is used in example 17.\n" 21651 " id (PLINT, input) : Identification number of strip chart to delete.\n" 21659 " This sets up the line style for all lines subsequently drawn. A line\n" 21660 " consists of segments in which the pen is alternately down and up. The\n" 21661 " lengths of these segments are passed in the vectors mark and space\n" 21662 " respectively. The number of mark-space pairs is specified by nms. In\n" 21663 " order to return the line style to the default continuous line, plstyl\n" 21664 " should be called with nms =0 .(see also pllsty)\n" 21666 " Redacted form: plstyl(mark, space)\n" 21668 " This function is used in examples 1, 9, and 14.\n" 21674 "plstyl(nms, mark, space)\n" 21678 " nms (PLINT, input) : The number of mark and space elements in a\n" 21679 " line. Thus a simple broken line can be obtained by setting nms=1\n" 21680 " . A continuous line is specified by setting nms=0 .\n" 21682 " mark (PLINT_VECTOR, input) : A vector containing the lengths of the\n" 21683 " segments during which the pen is down, measured in micrometers.\n" 21685 " space (PLINT_VECTOR, input) : A vector containing the lengths of\n" 21686 " the segments during which the pen is up, measured in micrometers.\n" 21690 "Set arrow style for vector plots\n" 21694 " Set the style for the arrow used by plvect to plot vectors.\n" 21696 " Redacted form: plsvect(arrowx, arrowy, fill)\n" 21698 " This function is used in example 22.\n" 21704 "plsvect(arrowx, arrowy, npts, fill)\n" 21708 " arrowx, arrowy (PLFLT_VECTOR, input) : A pair of vectors containing\n" 21709 " the x and y points which make up the arrow. The arrow is plotted\n" 21710 " by joining these points to form a polygon. The scaling assumes\n" 21711 " that the x and y points in the arrow lie in the range -0.5 <= x,y\n" 21712 " <= 0.5. If both arrowx and arrowy are NULL then the arrow style\n" 21713 " will be reset to its default.\n" 21715 " npts (PLINT, input) : Number of points in the vectors arrowx and\n" 21718 " fill (PLBOOL, input) : If fill is true then the arrow is closed, if\n" 21719 " fill is false then the arrow is open.\n" 21723 "Specify viewport in absolute coordinates\n" 21727 " Alternate routine to plvpor for setting up the viewport. This routine\n" 21728 " should be used only if the viewport is required to have a definite\n" 21729 " size in millimeters. The routine plgspa is useful for finding out the\n" 21730 " size of the current subpage.\n" 21732 " Redacted form: plsvpa(xmin, xmax, ymin, ymax)\n" 21734 " This function is used in example 10.\n" 21740 "plsvpa(xmin, xmax, ymin, ymax)\n" 21744 " xmin (PLFLT, input) : The distance of the left-hand edge of the\n" 21745 " viewport from the left-hand edge of the subpage in millimeters.\n" 21747 " xmax (PLFLT, input) : The distance of the right-hand edge of the\n" 21748 " viewport from the left-hand edge of the subpage in millimeters.\n" 21750 " ymin (PLFLT, input) : The distance of the bottom edge of the\n" 21751 " viewport from the bottom edge of the subpage in millimeters.\n" 21753 " ymax (PLFLT, input) : The distance of the top edge of the viewport\n" 21754 " from the bottom edge of the subpage in millimeters.\n" 21758 "Set x axis parameters\n" 21762 " Sets values of the digmax and digits flags for the x axis. See the\n" 21763 " PLplot documentation for more information.\n" 21765 " Redacted form: plsxax(digmax, digits)\n" 21767 " This function is used in example 31.\n" 21773 "plsxax(digmax, digits)\n" 21777 " digmax (PLINT, input) : Variable to set the maximum number of\n" 21778 " digits for the x axis. If nonzero, the printed label will be\n" 21779 " switched to a floating-point representation when the number of\n" 21780 " digits exceeds digmax.\n" 21782 " digits (PLINT, input) : Field digits value. Currently, changing\n" 21783 " its value here has no effect since it is set only by plbox or\n" 21784 " plbox3. However, the user may obtain its value after a call to\n" 21785 " either of these functions by calling plgxax.\n" 21789 "Set y axis parameters\n" 21793 " Identical to plsxax, except that arguments are flags for y axis. See\n" 21794 " the description of plsxax for more detail.\n" 21796 " Redacted form: plsyax(digmax, digits)\n" 21798 " This function is used in examples 1, 14, and 31.\n" 21804 "plsyax(digmax, digits)\n" 21808 " digmax (PLINT, input) : Variable to set the maximum number of\n" 21809 " digits for the y axis. If nonzero, the printed label will be\n" 21810 " switched to a floating-point representation when the number of\n" 21811 " digits exceeds digmax.\n" 21813 " digits (PLINT, input) : Field digits value. Currently, changing\n" 21814 " its value here has no effect since it is set only by plbox or\n" 21815 " plbox3. However, the user may obtain its value after a call to\n" 21816 " either of these functions by calling plgyax.\n" 21819 {
"plsym",
_wrap_plsym, METH_VARARGS, (
char *)
"\n" 21820 "Plot a glyph at the specified points\n" 21824 " Plot a glyph at the specified points. (This function is largely\n" 21825 " superseded by plstring which gives access to many[!] more glyphs.)\n" 21827 " Redacted form: plsym(x, y, code)\n" 21829 " This function is used in example 7.\n" 21835 "plsym(n, x, y, code)\n" 21839 " n (PLINT, input) : Number of points in the x and y vectors.\n" 21841 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n" 21844 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n" 21847 " code (PLINT, input) : Hershey symbol code corresponding to a glyph\n" 21848 " to be plotted at each of the n points.\n" 21852 "Set z axis parameters\n" 21856 " Identical to plsxax, except that arguments are flags for z axis. See\n" 21857 " the description of plsxax for more detail.\n" 21859 " Redacted form: plszax(digmax, digits)\n" 21861 " This function is used in example 31.\n" 21867 "plszax(digmax, digits)\n" 21871 " digmax (PLINT, input) : Variable to set the maximum number of\n" 21872 " digits for the z axis. If nonzero, the printed label will be\n" 21873 " switched to a floating-point representation when the number of\n" 21874 " digits exceeds digmax.\n" 21876 " digits (PLINT, input) : Field digits value. Currently, changing\n" 21877 " its value here has no effect since it is set only by plbox or\n" 21878 " plbox3. However, the user may obtain its value after a call to\n" 21879 " either of these functions by calling plgzax.\n" 21883 "Switch to text screen\n" 21887 " Sets an interactive device to text mode, used in conjunction with\n" 21888 " plgra to allow graphics and text to be interspersed. On a device\n" 21889 " which supports separate text and graphics windows, this command causes\n" 21890 " control to be switched to the text window. This can be useful for\n" 21891 " printing diagnostic messages or getting user input, which would\n" 21892 " otherwise interfere with the plots. The program must switch back to\n" 21893 " the graphics window before issuing plot commands, as the text (or\n" 21894 " console) device will probably become quite confused otherwise. If\n" 21895 " already in text mode, this command is ignored. It is also ignored on\n" 21896 " devices which only support a single window or use a different method\n" 21897 " for shifting focus (see also plgra).\n" 21899 " Redacted form: pltext()\n" 21901 " This function is used in example 1.\n" 21911 "Set format for date / time labels\n" 21915 " Sets the format for date / time labels. To enable date / time format\n" 21916 " labels see the options to plbox, plbox3, and plenv.\n" 21918 " Redacted form: pltimefmt(fmt)\n" 21920 " This function is used in example 29.\n" 21930 " fmt (PLCHAR_VECTOR, input) : An ascii character string which is\n" 21931 " interpreted similarly to the format specifier of typical system\n" 21932 " strftime routines except that PLplot ignores locale and also\n" 21933 " supplies some useful extensions in the context of plotting. All\n" 21934 " text in the string is printed as-is other than conversion\n" 21935 " specifications which take the form of a '%' character followed by\n" 21936 " further conversion specification character. The conversion\n" 21937 " specifications which are similar to those provided by system\n" 21938 " strftime routines are the following: %a: The abbreviated (English)\n" 21940 " %A: The full (English) weekday name.\n" 21941 " %b: The abbreviated (English) month name.\n" 21942 " %B: The full (English) month name.\n" 21943 " %c: Equivalent to %a %b %d %T %Y (non-ISO).\n" 21944 " %C: The century number (year/100) as a 2-digit integer.\n" 21945 " %d: The day of the month as a decimal number (range 01 to 31).\n" 21946 " %D: Equivalent to %m/%d/%y (non-ISO).\n" 21947 " %e: Like %d, but a leading zero is replaced by a space.\n" 21948 " %F: Equivalent to %Y-%m-%d (the ISO 8601 date format).\n" 21949 " %h: Equivalent to %b.\n" 21950 " %H: The hour as a decimal number using a 24-hour clock (range\n" 21952 " %I: The hour as a decimal number using a 12-hour clock (range\n" 21954 " %j: The day of the year as a decimal number (range 001 to\n" 21956 " %k: The hour (24-hour clock) as a decimal number (range 0 to\n" 21957 " 23); single digits are preceded by a blank. (See also %H.)\n" 21958 " %l: The hour (12-hour clock) as a decimal number (range 1 to\n" 21959 " 12); single digits are preceded by a blank. (See also %I.)\n" 21960 " %m: The month as a decimal number (range 01 to 12).\n" 21961 " %M: The minute as a decimal number (range 00 to 59).\n" 21962 " %n: A newline character.\n" 21963 " %p: Either \"AM\" or \"PM\" according to the given time value.\n" 21964 " Noon is treated as \"PM\" and midnight as \"AM\".\n" 21965 " %r: Equivalent to %I:%M:%S %p.\n" 21966 " %R: The time in 24-hour notation (%H:%M). For a version\n" 21967 " including the seconds, see %T below.\n" 21968 " %s: The number of seconds since the Epoch, 1970-01-01 00:00:00\n" 21970 " %S: The second as a decimal number (range 00 to 60). (The\n" 21971 " range is up to 60 to allow for occasional leap seconds.)\n" 21972 " %t: A tab character.\n" 21973 " %T: The time in 24-hour notation (%H:%M:%S).\n" 21974 " %u: The day of the week as a decimal, range 1 to 7, Monday\n" 21975 " being 1. See also %w.\n" 21976 " %U: The week number of the current year as a decimal number,\n" 21977 " range 00 to 53, starting with the first Sunday as the first\n" 21978 " day of week 01. See also %V and %W.\n" 21979 " %v: Equivalent to %e-%b-%Y.\n" 21980 " %V: The ISO 8601 week number of the current year as a decimal\n" 21981 " number, range 01 to 53, where week 1 is the first week that\n" 21982 " has at least 4 days in the new year. See also %U and %W.\n" 21983 " %w: The day of the week as a decimal, range 0 to 6, Sunday\n" 21984 " being 0. See also %u.\n" 21985 " %W: The week number of the current year as a decimal number,\n" 21986 " range 00 to 53, starting with the first Monday as the first\n" 21987 " day of week 01.\n" 21988 " %x: Equivalent to %a %b %d %Y.\n" 21989 " %X: Equivalent to %T.\n" 21990 " %y: The year as a decimal number without a century (range 00\n" 21992 " %Y: The year as a decimal number including a century.\n" 21993 " %z: The UTC time-zone string = \"+0000\".\n" 21994 " %Z: The UTC time-zone abbreviation = \"UTC\".\n" 21995 " %+: The UTC date and time in default format of the Unix date\n" 21996 " command which is equivalent to %a %b %d %T %Z %Y.\n" 21997 " %%: A literal \"%\" character.\n" 21998 " The conversion specifications which are extensions to those normally\n" 21999 " provided by system strftime routines are the following: %(0-9):\n" 22000 " The fractional part of the seconds field (including leading\n" 22001 " decimal point) to the specified accuracy. Thus %S%3 would give\n" 22002 " seconds to millisecond accuracy (00.000).\n" 22003 " %.: The fractional part of the seconds field (including\n" 22004 " leading decimal point) to the maximum available accuracy. Thus\n" 22005 " %S%. would give seconds with fractional part up to 9 decimal\n" 22006 " places if available.\n" 22010 "Specify viewport using aspect ratio only\n" 22014 " Selects the largest viewport with the given aspect ratio within the\n" 22015 " subpage that leaves a standard margin (left-hand margin of eight\n" 22016 " character heights, and a margin around the other three sides of five\n" 22017 " character heights).\n" 22019 " Redacted form: plvasp(aspect)\n" 22021 " This function is used in example 13.\n" 22031 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n" 22032 " axis of resulting viewport.\n" 22040 " Draws a plot of vector data contained in the matrices (\n" 22046 " ny]) . The scaling factor for the vectors is given by scale. A\n" 22047 " transformation routine pointed to by pltr with a pointer pltr_data for\n" 22048 " additional data required by the transformation routine to map indices\n" 22049 " within the matrices to the world coordinates. The style of the vector\n" 22050 " arrow may be set using plsvect.\n" 22052 " Redacted form: plvect(u, v, scale, pltr, pltr_data) where (see above\n" 22053 " discussion) the pltr, pltr_data callback arguments are sometimes\n" 22054 " replaced by a tr vector with 6 elements, or xg and yg array arguments\n" 22055 " with either one or two dimensions.\n" 22057 " This function is used in example 22.\n" 22063 "plvect(u, v, nx, ny, scale, pltr, pltr_data)\n" 22067 " u, v (PLFLT_MATRIX, input) : A pair of matrices containing the x\n" 22068 " and y components of the vector data to be plotted.\n" 22070 " nx, ny (PLINT, input) : Dimensions of the matrices u and v.\n" 22072 " scale (PLFLT, input) : Parameter to control the scaling factor of\n" 22073 " the vectors for plotting. If scale = 0 then the scaling factor is\n" 22074 " automatically calculated for the data. If scale < 0 then the\n" 22075 " scaling factor is automatically calculated for the data and then\n" 22076 " multiplied by -\n" 22077 " scale. If scale > 0 then the scaling factor is set to scale.\n" 22079 " pltr (PLTRANSFORM_callback, input) : A callback function that\n" 22080 " defines the transformation between the zero-based indices of the\n" 22081 " matrices u and v and world coordinates.For the C case,\n" 22082 " transformation functions are provided in the PLplot library: pltr0\n" 22083 " for the identity mapping, and pltr1 and pltr2 for arbitrary\n" 22084 " mappings respectively defined by vectors and matrices. In\n" 22085 " addition, C callback routines for the transformation can be\n" 22086 " supplied by the user such as the mypltr function in\n" 22087 " examples/c/x09c.c which provides a general linear transformation\n" 22088 " between index coordinates and world coordinates.For languages\n" 22089 " other than C you should consult the PLplot documentation for the\n" 22090 " details concerning how PLTRANSFORM_callback arguments are\n" 22091 " interfaced. However, in general, a particular pattern of\n" 22092 " callback-associated arguments such as a tr vector with 6 elements;\n" 22093 " xg and yg vectors; or xg and yg matrices are respectively\n" 22094 " interfaced to a linear-transformation routine similar to the above\n" 22095 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n" 22096 " sophisticated bindings (see, e.g., the PLplot documentation)\n" 22097 " support native language callbacks for handling index to\n" 22098 " world-coordinate transformations. Examples of these various\n" 22099 " approaches are given in examples/<language>x09*,\n" 22100 " examples/<language>x16*, examples/<language>x20*,\n" 22101 " examples/<language>x21*, and examples/<language>x22*, for all our\n" 22102 " supported languages.\n" 22104 " pltr_data (PLPointer, input) : Extra parameter to help pass\n" 22105 " information to pltr0, pltr1, pltr2, or whatever callback routine\n" 22106 " that is externally supplied.\n" 22110 "Specify viewport using coordinates and aspect ratio\n" 22114 " Device-independent routine for setting up the viewport. The viewport\n" 22115 " is chosen to be the largest with the given aspect ratio that fits\n" 22116 " within the specified region (in terms of normalized subpage\n" 22117 " coordinates). This routine is functionally equivalent to plvpor when\n" 22118 " a ``natural'' aspect ratio (0.0) is chosen. Unlike plvasp, this\n" 22119 " routine reserves no extra space at the edges for labels.\n" 22121 " Redacted form: plvpas(xmin, xmax, ymin, ymax, aspect)\n" 22123 " This function is used in example 9.\n" 22129 "plvpas(xmin, xmax, ymin, ymax, aspect)\n" 22133 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n" 22134 " left-hand edge of the viewport.\n" 22136 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n" 22137 " right-hand edge of the viewport.\n" 22139 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n" 22140 " bottom edge of the viewport.\n" 22142 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n" 22143 " edge of the viewport.\n" 22145 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n" 22150 "Specify viewport using normalized subpage coordinates\n" 22154 " Device-independent routine for setting up the viewport. This defines\n" 22155 " the viewport in terms of normalized subpage coordinates which run from\n" 22156 " 0.0 to 1.0 (left to right and bottom to top) along each edge of the\n" 22157 " current subpage. Use the alternate routine plsvpa in order to create\n" 22158 " a viewport of a definite size.\n" 22160 " Redacted form: plvpor(xmin, xmax, ymin, ymax)\n" 22162 " This function is used in examples 2, 6-8, 10, 11, 15, 16, 18, 21, 23,\n" 22163 " 24, 26, 27, and 31.\n" 22169 "plvpor(xmin, xmax, ymin, ymax)\n" 22173 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n" 22174 " left-hand edge of the viewport.\n" 22176 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n" 22177 " right-hand edge of the viewport.\n" 22179 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n" 22180 " bottom edge of the viewport.\n" 22182 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n" 22183 " edge of the viewport.\n" 22187 "Select standard viewport\n" 22191 " Selects the largest viewport within the subpage that leaves a standard\n" 22192 " margin (left-hand margin of eight character heights, and a margin\n" 22193 " around the other three sides of five character heights).\n" 22195 " Redacted form: plvsta()\n" 22197 " This function is used in examples 1, 12, 14, 17, 25, and 29.\n" 22206 {
"plw3d",
_wrap_plw3d, METH_VARARGS, (
char *)
"\n" 22207 "Configure the transformations required for projecting a 3D surface on a 2D window\n" 22211 " Configure the transformations required for projecting a 3D surface on\n" 22212 " an existing 2D window. Those transformations (see the PLplot\n" 22213 " documentation) are done to a rectangular cuboid enclosing the 3D\n" 22214 " surface which has its limits expressed in 3D world coordinates and\n" 22215 " also normalized 3D coordinates (used for interpreting the altitude and\n" 22216 " azimuth of the viewing angle). The transformations consist of the\n" 22217 " linear transform from 3D world coordinates to normalized 3D\n" 22218 " coordinates, and the 3D rotation of normalized coordinates required to\n" 22219 " align the pole of the new 3D coordinate system with the viewing\n" 22220 " direction specified by altitude and azimuth so that x and y of the\n" 22221 " surface elements in that transformed coordinate system are the\n" 22222 " projection of the 3D surface with given viewing direction on the 2D\n" 22225 " The enclosing rectangular cuboid for the surface plot is defined by\n" 22226 " xmin, xmax, ymin, ymax, zmin and zmax in 3D world coordinates. It is\n" 22227 " mapped into the same rectangular cuboid with normalized 3D coordinate\n" 22228 " sizes of basex by basey by height so that xmin maps to -\n" 22229 " basex/2, xmax maps to basex/2, ymin maps to -\n" 22230 " basey/2, ymax maps to basey/2, zmin maps to 0 and zmax maps to height.\n" 22231 " The resulting rectangular cuboid in normalized coordinates is then\n" 22232 " viewed by an observer at altitude alt and azimuth az. This routine\n" 22233 " must be called before plbox3 or any of the 3D surface plotting\n" 22234 " routines; plmesh, plmeshc, plot3d, plot3dc, plot3dcl, plsurf3d,\n" 22235 " plsurf3dl or plfill3.\n" 22237 " Redacted form: plw3d(basex, basey, height, xmin, xmax, ymin, ymax,\n" 22238 " zmin, zmax, alt, az)\n" 22240 " This function is examples 8, 11, 18, and 21.\n" 22246 "plw3d(basex, basey, height, xmin, xmax, ymin, ymax, zmin, zmax, alt, az)\n" 22250 " basex (PLFLT, input) : The normalized x coordinate size of the\n" 22251 " rectangular cuboid.\n" 22253 " basey (PLFLT, input) : The normalized y coordinate size of the\n" 22254 " rectangular cuboid.\n" 22256 " height (PLFLT, input) : The normalized z coordinate size of the\n" 22257 " rectangular cuboid.\n" 22259 " xmin (PLFLT, input) : The minimum x world coordinate of the\n" 22260 " rectangular cuboid.\n" 22262 " xmax (PLFLT, input) : The maximum x world coordinate of the\n" 22263 " rectangular cuboid.\n" 22265 " ymin (PLFLT, input) : The minimum y world coordinate of the\n" 22266 " rectangular cuboid.\n" 22268 " ymax (PLFLT, input) : The maximum y world coordinate of the\n" 22269 " rectangular cuboid.\n" 22271 " zmin (PLFLT, input) : The minimum z world coordinate of the\n" 22272 " rectangular cuboid.\n" 22274 " zmax (PLFLT, input) : The maximum z world coordinate of the\n" 22275 " rectangular cuboid.\n" 22277 " alt (PLFLT, input) : The viewing altitude in degrees above the xy\n" 22278 " plane of the rectangular cuboid in normalized coordinates.\n" 22280 " az (PLFLT, input) : The viewing azimuth in degrees of the\n" 22281 " rectangular cuboid in normalized coordinates. When az=0, the\n" 22282 " observer is looking face onto the zx plane of the rectangular\n" 22283 " cuboid in normalized coordinates, and as az is increased, the\n" 22284 " observer moves clockwise around that cuboid when viewed from above\n" 22293 " Sets the pen width.\n" 22295 " Redacted form: plwidth(width)\n" 22297 " This function is used in examples 1 and 2.\n" 22307 " width (PLFLT, input) : The desired pen width. If width is negative\n" 22308 " or the same as the previous value no action is taken. width = 0.\n" 22309 " should be interpreted as as the minimum valid pen width for the\n" 22310 " device. The interpretation of positive width values is also\n" 22311 " device dependent.\n" 22319 " Specify the window, i.e., the world coordinates of the edges of the\n" 22322 " Redacted form: plwind(xmin, xmax, ymin, ymax)\n" 22324 " This function is used in examples 1, 2, 4, 6-12, 14-16, 18, 21, 23-27,\n" 22331 "plwind(xmin, xmax, ymin, ymax)\n" 22335 " xmin (PLFLT, input) : The world x coordinate of the left-hand edge\n" 22336 " of the viewport.\n" 22338 " xmax (PLFLT, input) : The world x coordinate of the right-hand edge\n" 22339 " of the viewport.\n" 22341 " ymin (PLFLT, input) : The world y coordinate of the bottom edge of\n" 22344 " ymax (PLFLT, input) : The world y coordinate of the top edge of the\n" 22349 "Enter or leave xor mode\n" 22353 " Enter (when mode is true) or leave (when mode is false) xor mode for\n" 22354 " those drivers (e.g., the xwin driver) that support it. Enables\n" 22355 " erasing plots by drawing twice the same line, symbol, etc. If driver\n" 22356 " is not capable of xor operation it returns a status of false.\n" 22358 " Redacted form: plxormod(mode, status)\n" 22360 " This function is used in examples 1 and 20.\n" 22366 "plxormod(mode, status)\n" 22370 " mode (PLBOOL, input) : mode is true means enter xor mode and mode\n" 22371 " is false means leave xor mode.\n" 22373 " status (PLBOOL_NC_SCALAR, output) : Returned value of the status.\n" 22374 " modestatus of true (false) means driver is capable (incapable) of\n" 22378 {
"plmap",
_wrap_plmap, METH_VARARGS, (
char *)
"\n" 22379 "Plot continental outline or shapefile data in world coordinates\n" 22383 " Plots continental outlines or shapefile data in world coordinates. A\n" 22384 " demonstration of how to use this function to create different\n" 22385 " projections can be found in examples/c/x19c. PLplot is provided with\n" 22386 " basic coastal outlines and USA state borders. To use the map\n" 22387 " functionality PLplot must be compiled with the shapelib library.\n" 22388 " Shapefiles have become a popular standard for geographical data and\n" 22389 " data in this format can be easily found from a number of online\n" 22390 " sources. Shapefile data is actually provided as three or more files\n" 22391 " with the same filename, but different extensions. The .shp and .shx\n" 22392 " files are required for plotting Shapefile data with PLplot.\n" 22394 " PLplot currently supports the point, multipoint, polyline and polygon\n" 22395 " objects within shapefiles. However holes in polygons are not\n" 22396 " supported. When plmap is used the type of object is derived from the\n" 22397 " shapefile, if you wish to override the type then use one of the other\n" 22398 " plmap variants. The built in maps have line data only.\n" 22400 " Redacted form: plmap(mapform, name, minx, maxx, miny, maxy)\n" 22402 " This function is used in example 19.\n" 22408 "plmap(mapform, name, minx, maxx, miny, maxy)\n" 22412 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22413 " transform the original map data coordinates to a new coordinate\n" 22414 " system. The PLplot-supplied map data is provided as latitudes and\n" 22415 " longitudes; other Shapefile data may be provided in other\n" 22416 " coordinate systems as can be found in their .prj plain text files.\n" 22417 " For example, by using this transform we can change from a\n" 22418 " longitude, latitude coordinate to a polar stereographic\n" 22419 " projection. Initially, x[0]..[n-1] are the original x coordinates\n" 22420 " (longitudes for the PLplot-supplied data) and y[0]..y[n-1] are the\n" 22421 " corresponding y coordinates (latitudes for the PLplot supplied\n" 22422 " data). After the call to mapform(), x[] and y[] should be\n" 22423 " replaced by the corresponding plot coordinates. If no transform is\n" 22424 " desired, mapform can be replaced by NULL.\n" 22426 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 22427 " the type of map plotted. This is either one of the PLplot built-in\n" 22428 " maps or the file name of a set of Shapefile files without the file\n" 22429 " extensions. For the PLplot built-in maps the possible values are:\n" 22430 " \"globe\" -- continental outlines\n" 22431 " \"usa\" -- USA and state boundaries\n" 22432 " \"cglobe\" -- continental outlines and countries\n" 22433 " \"usaglobe\" -- USA, state boundaries and continental outlines\n" 22436 " minx (PLFLT, input) : The minimum x value of map elements to be\n" 22437 " drawn. The units must match the shapefile (built in maps are\n" 22438 " degrees lat/lon). Objects in the file which do not encroach on the\n" 22439 " box defined by minx, maxx, miny, maxy will not be rendered. But\n" 22440 " note this is simply an optimisation, not a clipping so for objects\n" 22441 " with some points inside the box and some points outside the box\n" 22442 " all the points will be rendered. These parameters also define\n" 22443 " latitude and longitude wrapping for shapefiles using these units.\n" 22444 " Longitude points will be wrapped by integer multiples of 360\n" 22445 " degrees to place them in the box. This allows the same data to be\n" 22446 " used on plots from -180-180 or 0-360 longitude ranges. In fact if\n" 22447 " you plot from -180-540 you will get two cycles of data drawn. The\n" 22448 " value of minx must be less than the value of maxx. Passing in a\n" 22449 " nan, max/-max floating point number or +/-infinity will case the\n" 22450 " bounding box from the shapefile to be used.\n" 22452 " maxx (PLFLT, input) : The maximum x value of map elements to be\n" 22453 " drawn - see minx.\n" 22455 " miny (PLFLT, input) : The minimum y value of map elements to be\n" 22456 " drawn - see minx.\n" 22458 " maxy (PLFLT, input) : The maximum y value of map elements to be\n" 22459 " drawn - see minx.\n" 22463 "Plot all or a subset of Shapefile data using lines in world coordinates\n" 22467 " Plot all or a subset of Shapefile data using lines in world\n" 22468 " coordinates. Our 19th standard example demonstrates how to use this\n" 22469 " function. This function plots data from a Shapefile using lines as in\n" 22470 " plmap, however it also has the option of also only drawing specified\n" 22471 " elements from the Shapefile. The vector of indices of the required\n" 22472 " elements are passed as a function argument. The Shapefile data should\n" 22473 " include a metadata file (extension.dbf) listing all items within the\n" 22474 " Shapefile. This file can be opened by most popular spreadsheet\n" 22475 " programs and can be used to decide which indices to pass to this\n" 22478 " Redacted form: plmapline(mapform, name, minx, maxx, miny, maxy,\n" 22481 " This function is used in example 19.\n" 22487 "plmapline(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n" 22491 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22492 " transform the coordinates given in the shapefile into a plot\n" 22493 " coordinate system. By using this transform, we can change from a\n" 22494 " longitude, latitude coordinate to a polar stereographic project,\n" 22495 " for example. Initially, x[0]..[n-1] are the longitudes and\n" 22496 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n" 22497 " mapform(), x[] and y[] should be replaced by the corresponding\n" 22498 " plot coordinates. If no transform is desired, mapform can be\n" 22499 " replaced by NULL.\n" 22501 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 22502 " the file name of a set of Shapefile files without the file\n" 22505 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n" 22506 " be in the same units as used by the Shapefile. You could use a\n" 22507 " very large negative number to plot everything, but you can improve\n" 22508 " performance by limiting the area drawn. The units must match those\n" 22509 " of the Shapefile projection, which may be for example longitude or\n" 22510 " distance. The value of minx must be less than the value of maxx.\n" 22512 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n" 22513 " use a very large number to plot everything, but you can improve\n" 22514 " performance by limiting the area drawn.\n" 22516 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n" 22517 " be in the same units as used by the Shapefile. You could use a\n" 22518 " very large negative number to plot everything, but you can improve\n" 22519 " performance by limiting the area drawn. The units must match those\n" 22520 " of the Shapefile projection, which may be for example latitude or\n" 22521 " distance. The value of miny must be less than the value of maxy.\n" 22523 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n" 22524 " use a very large number to plot everything, but you can improve\n" 22525 " performance by limiting the area drawn.\n" 22527 " plotentries (PLINT_VECTOR, input) : A vector containing the\n" 22528 " zero-based indices of the Shapefile elements which will be drawn.\n" 22530 " plotentries to NULL will plot all elements of the Shapefile.\n" 22532 " nplotentries (PLINT, input) : The number of items in\n" 22533 " plotentries. Ignored if\n" 22534 " plotentries is NULL.\n" 22538 "Plot all or a subset of Shapefile data using strings or points in world coordinates\n" 22542 " As per plmapline, however the items are plotted as strings or points\n" 22543 " in the same way as plstring.\n" 22545 " Redacted form: plmapstring(mapform, name, string, minx, maxx, miny,\n" 22546 " maxy, plotentries)\n" 22548 " This function is not used in any examples.\n" 22554 "plmapstring(mapform, name, string, minx, maxx, miny, maxy, plotentries, nplotentries)\n" 22558 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22559 " transform the coordinates given in the shapefile into a plot\n" 22560 " coordinate system. By using this transform, we can change from a\n" 22561 " longitude, latitude coordinate to a polar stereographic project,\n" 22562 " for example. Initially, x[0]..[n-1] are the longitudes and\n" 22563 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n" 22564 " mapform(), x[] and y[] should be replaced by the corresponding\n" 22565 " plot coordinates. If no transform is desired, mapform can be\n" 22566 " replaced by NULL.\n" 22568 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 22569 " the file name of a set of Shapefile files without the file\n" 22572 " string (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n" 22575 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n" 22576 " be in the same units as used by the Shapefile. You could use a\n" 22577 " very large negative number to plot everything, but you can improve\n" 22578 " performance by limiting the area drawn. The units must match those\n" 22579 " of the Shapefile projection, which may be for example longitude or\n" 22580 " distance. The value of minx must be less than the value of maxx.\n" 22582 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n" 22583 " use a very large number to plot everything, but you can improve\n" 22584 " performance by limiting the area drawn.\n" 22586 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n" 22587 " be in the same units as used by the Shapefile. You could use a\n" 22588 " very large negative number to plot everything, but you can improve\n" 22589 " performance by limiting the area drawn. The units must match those\n" 22590 " of the Shapefile projection, which may be for example latitude or\n" 22591 " distance. The value of miny must be less than the value of maxy.\n" 22593 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n" 22594 " use a very large number to plot everything, but you can improve\n" 22595 " performance by limiting the area drawn.\n" 22597 " plotentries (PLINT_VECTOR, input) : A vector containing the\n" 22598 " zero-based indices of the Shapefile elements which will be drawn.\n" 22600 " plotentries to NULL will plot all elements of the Shapefile.\n" 22602 " nplotentries (PLINT, input) : The number of items in\n" 22603 " plotentries. Ignored if\n" 22604 " plotentries is NULL.\n" 22608 "Draw text at points defined by Shapefile data in world coordinates\n" 22612 " As per plmapline, however the items are plotted as text in the same\n" 22613 " way as plptex.\n" 22615 " Redacted form: plmaptex(mapform, name, dx, dy, just, text, minx, maxx,\n" 22616 " miny, maxy, plotentry)\n" 22618 " This function is used in example 19.\n" 22624 "plmaptex(mapform, name, dx, dy, just, text, minx, maxx, miny, maxy, plotentry)\n" 22628 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22629 " transform the coordinates given in the shapefile into a plot\n" 22630 " coordinate system. By using this transform, we can change from a\n" 22631 " longitude, latitude coordinate to a polar stereographic project,\n" 22632 " for example. Initially, x[0]..[n-1] are the longitudes and\n" 22633 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n" 22634 " mapform(), x[] and y[] should be replaced by the corresponding\n" 22635 " plot coordinates. If no transform is desired, mapform can be\n" 22636 " replaced by NULL.\n" 22638 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 22639 " the file name of a set of Shapefile files without the file\n" 22642 " dx (PLFLT, input) : Used to define the slope of the texts which is\n" 22645 " dy (PLFLT, input) : Used to define the slope of the texts which is\n" 22648 " just (PLFLT, input) : Set the justification of the text. The value\n" 22649 " given will be the fraction of the distance along the string that\n" 22650 " sits at the given point. 0.0 gives left aligned text, 0.5 gives\n" 22651 " centralized text and 1.0 gives right aligned text.\n" 22653 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be drawn.\n" 22655 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n" 22656 " be in the same units as used by the Shapefile. You could use a\n" 22657 " very large negative number to plot everything, but you can improve\n" 22658 " performance by limiting the area drawn. The units must match those\n" 22659 " of the Shapefile projection, which may be for example longitude or\n" 22660 " distance. The value of minx must be less than the value of maxx.\n" 22662 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n" 22663 " use a very large number to plot everything, but you can improve\n" 22664 " performance by limiting the area drawn.\n" 22666 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n" 22667 " be in the same units as used by the Shapefile. You could use a\n" 22668 " very large negative number to plot everything, but you can improve\n" 22669 " performance by limiting the area drawn. The units must match those\n" 22670 " of the Shapefile projection, which may be for example latitude or\n" 22671 " distance. The value of miny must be less than the value of maxy.\n" 22673 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n" 22674 " use a very large number to plot everything, but you can improve\n" 22675 " performance by limiting the area drawn.\n" 22677 " plotentry (PLINT, input) : An integer indicating which text string\n" 22678 " of the Shapefile (zero indexed) will be drawn.\n" 22682 "Plot all or a subset of Shapefile data, filling the polygons\n" 22686 " As per plmapline, however the items are filled in the same way as\n" 22689 " Redacted form: plmapfill(mapform, name, minx, maxx, miny, maxy,\n" 22692 " This function is used in example 19.\n" 22698 "plmapfill(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n" 22702 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22703 " transform the coordinates given in the shapefile into a plot\n" 22704 " coordinate system. By using this transform, we can change from a\n" 22705 " longitude, latitude coordinate to a polar stereographic project,\n" 22706 " for example. Initially, x[0]..[n-1] are the longitudes and\n" 22707 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n" 22708 " mapform(), x[] and y[] should be replaced by the corresponding\n" 22709 " plot coordinates. If no transform is desired, mapform can be\n" 22710 " replaced by NULL.\n" 22712 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n" 22713 " the file name of a set of Shapefile files without the file\n" 22716 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n" 22717 " be in the same units as used by the Shapefile. You could use a\n" 22718 " very large negative number to plot everything, but you can improve\n" 22719 " performance by limiting the area drawn. The units must match those\n" 22720 " of the Shapefile projection, which may be for example longitude or\n" 22721 " distance. The value of minx must be less than the value of maxx.\n" 22723 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n" 22724 " use a very large number to plot everything, but you can improve\n" 22725 " performance by limiting the area drawn.\n" 22727 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n" 22728 " be in the same units as used by the Shapefile. You could use a\n" 22729 " very large negative number to plot everything, but you can improve\n" 22730 " performance by limiting the area drawn. The units must match those\n" 22731 " of the Shapefile projection, which may be for example latitude or\n" 22732 " distance. The value of miny must be less than the value of maxy.\n" 22734 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n" 22735 " use a very large number to plot everything, but you can improve\n" 22736 " performance by limiting the area drawn.\n" 22738 " plotentries (PLINT_VECTOR, input) : A vector containing the\n" 22739 " zero-based indices of the Shapefile elements which will be drawn.\n" 22741 " plotentries to NULL will plot all elements of the Shapefile.\n" 22743 " nplotentries (PLINT, input) : The number of items in\n" 22744 " plotentries. Ignored if\n" 22745 " plotentries is NULL.\n" 22749 "Plot latitude and longitude lines\n" 22753 " Displays latitude and longitude on the current plot. The lines are\n" 22754 " plotted in the current color and line style.\n" 22756 " Redacted form: plmeridians(mapform, dlong, dlat, minlong, maxlong,\n" 22757 " minlat, maxlat)\n" 22759 " This function is used in example 19.\n" 22765 "plmeridians(mapform, dlong, dlat, minlong, maxlong, minlat, maxlat)\n" 22769 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n" 22770 " transform the coordinate longitudes and latitudes to a plot\n" 22771 " coordinate system. By using this transform, we can change from a\n" 22772 " longitude, latitude coordinate to a polar stereographic project,\n" 22773 " for example. Initially, x[0]..[n-1] are the longitudes and\n" 22774 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n" 22775 " mapform(), x[] and y[] should be replaced by the corresponding\n" 22776 " plot coordinates. If no transform is desired, mapform can be\n" 22777 " replaced by NULL.\n" 22779 " dlong (PLFLT, input) : The interval in degrees at which the\n" 22780 " longitude lines are to be plotted.\n" 22782 " dlat (PLFLT, input) : The interval in degrees at which the latitude\n" 22783 " lines are to be plotted.\n" 22785 " minlong (PLFLT, input) : The value of the longitude on the left\n" 22786 " side of the plot. The value of minlong must be less than the value\n" 22787 " of maxlong, and the quantity maxlong-minlong must be less than or\n" 22790 " maxlong (PLFLT, input) : The value of the longitude on the right\n" 22791 " side of the plot.\n" 22793 " minlat (PLFLT, input) : The minimum latitude to be plotted on the\n" 22794 " background. One can always use -90.0 as the boundary outside the\n" 22795 " plot window will be automatically eliminated. However, the\n" 22796 " program will be faster if one can reduce the size of the\n" 22797 " background plotted.\n" 22799 " maxlat (PLFLT, input) : The maximum latitudes to be plotted on the\n" 22800 " background. One can always use 90.0 as the boundary outside the\n" 22801 " plot window will be automatically eliminated.\n" 22805 "Plot a 2D matrix using cmap1 with automatic color adjustment\n" 22809 " Plot a 2D matrix using the cmap1 palette. The color scale is\n" 22810 " automatically adjusted to use the maximum and minimum values in idata\n" 22811 " as valuemin and valuemax in a call to plimagefr.\n" 22813 " Redacted form: General: plimage(idata, xmin, xmax, ymin, ymax, zmin,\n" 22814 " zmax, Dxmin, Dxmax, Dymin, Dymax)\n" 22817 " This function is used in example 20.\n" 22823 "plimage(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, Dxmin, Dxmax, Dymin, Dymax)\n" 22827 " idata (PLFLT_MATRIX, input) : A matrix containing function values\n" 22828 " to plot. Should have dimensions of\n" 22832 " nx, ny (PLINT, input) : Dimensions of idata\n" 22834 " xmin, xmax, ymin, ymax (PLFLT, input) : The x and y index ranges\n" 22835 " are linearly transformed to these world coordinate ranges such\n" 22836 " that idata[0][0] corresponds to (xmin, ymin) and idata[nx - 1][ny\n" 22837 " - 1] corresponds to (xmax, ymax).\n" 22839 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n" 22840 " (inclusive) will be plotted.\n" 22842 " Dxmin, Dxmax, Dymin, Dymax (PLFLT, input) : Plot only the window of\n" 22843 " points whose plot coordinates fall inside the window of (Dxmin,\n" 22844 " Dymin) to (Dxmax, Dymax).\n" 22848 "Plot a 2D matrix using cmap1\n" 22852 " Plot a 2D matrix using cmap1.\n" 22854 " Redacted form: General: plimagefr(idata, xmin, xmax, ymin, ymax, zmin,\n" 22855 " zmax, valuemin, valuemax, pltr, pltr_data)\n" 22858 " This function is used in example 20.\n" 22864 "plimagefr(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr, pltr_data)\n" 22868 " idata (PLFLT_MATRIX, input) : A matrix of values (intensities) to\n" 22869 " plot. Should have dimensions of\n" 22873 " nx, ny (PLINT, input) : Dimensions of idata\n" 22875 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n" 22876 " pltr below for how these arguments are used (only for the special case\n" 22877 " when the callback function\n" 22878 " pltr is not supplied).\n" 22880 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n" 22881 " (inclusive) will be plotted.\n" 22883 " valuemin, valuemax (PLFLT, input) : The minimum and maximum data\n" 22884 " values to use for value to color mappings. A datum equal to or\n" 22885 " less than valuemin will be plotted with color 0.0, while a datum\n" 22886 " equal to or greater than valuemax will be plotted with color 1.0.\n" 22887 " Data between valuemin and valuemax map linearly to colors in the\n" 22888 " range (0.0-1.0).\n" 22890 " pltr (PLTRANSFORM_callback, input) : A callback function that\n" 22891 " defines the transformation between the zero-based indices of the\n" 22892 " matrix idata and world coordinates. If\n" 22893 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n" 22894 " indices of idata are mapped to the range\n" 22896 " xmax and the y indices of idata are mapped to the range\n" 22898 " ymax.For the C case, transformation functions are provided in the\n" 22899 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n" 22900 " pltr2 for arbitrary mappings respectively defined by vectors and\n" 22901 " matrices. In addition, C callback routines for the transformation\n" 22902 " can be supplied by the user such as the mypltr function in\n" 22903 " examples/c/x09c.c which provides a general linear transformation\n" 22904 " between index coordinates and world coordinates.For languages\n" 22905 " other than C you should consult the PLplot documentation for the\n" 22906 " details concerning how PLTRANSFORM_callback arguments are\n" 22907 " interfaced. However, in general, a particular pattern of\n" 22908 " callback-associated arguments such as a tr vector with 6 elements;\n" 22909 " xg and yg vectors; or xg and yg matrices are respectively\n" 22910 " interfaced to a linear-transformation routine similar to the above\n" 22911 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n" 22912 " sophisticated bindings (see, e.g., the PLplot documentation)\n" 22913 " support native language callbacks for handling index to\n" 22914 " world-coordinate transformations. Examples of these various\n" 22915 " approaches are given in examples/<language>x09*,\n" 22916 " examples/<language>x16*, examples/<language>x20*,\n" 22917 " examples/<language>x21*, and examples/<language>x22*, for all our\n" 22918 " supported languages.\n" 22920 " pltr_data (PLPointer, input) : Extra parameter to help pass\n" 22921 " information to pltr0, pltr1, pltr2, or whatever routine is\n" 22922 " externally supplied.\n" 22931 "Wait for graphics input event and translate to world coordinates.\n" 22935 " Wait for graphics input event and translate to world coordinates.\n" 22936 " Returns 0 if no translation to world coordinates is possible.\n" 22938 " This function returns 1 on success and 0 if no translation to world\n" 22939 " coordinates is possible.\n" 22941 " Redacted form: plGetCursor(gin)\n" 22943 " This function is used in examples 1 and 20.\n" 22949 "PLINT plGetCursor(gin)\n" 22953 " gin (PLGraphicsIn *, output) : Pointer to PLGraphicsIn structure\n" 22954 " which will contain the output. The structure is not allocated by\n" 22955 " the routine and must exist before the function is called.\n" 22958 { NULL, NULL, 0, NULL }
23032 {0, 0, 0, 0.0, 0, 0}};
23086 #define SWIGRUNTIME_DEBUG 23097 if (swig_module.
next==0) {
23109 if (!module_head) {
23117 if (iter==&swig_module) {
23122 }
while (iter!= module_head);
23125 swig_module.
next = module_head->
next;
23133 if (init == 0)
return;
23136 #ifdef SWIGRUNTIME_DEBUG 23137 printf(
"SWIG_InitializeModule: size %d\n", swig_module.
size);
23139 for (i = 0; i < swig_module.
size; ++i) {
23144 #ifdef SWIGRUNTIME_DEBUG 23145 printf(
"SWIG_InitializeModule: type %d %s\n", i, swig_module.
type_initial[i]->
name);
23149 if (swig_module.
next != &swig_module) {
23154 #ifdef SWIGRUNTIME_DEBUG 23155 printf(
"SWIG_InitializeModule: found type %s\n", type->
name);
23159 #ifdef SWIGRUNTIME_DEBUG 23160 printf(
"SWIG_InitializeModule: found and overwrite type %s \n", type->
name);
23169 while (cast->
type) {
23172 #ifdef SWIGRUNTIME_DEBUG 23173 printf(
"SWIG_InitializeModule: look cast %s\n", cast->
type->
name);
23175 if (swig_module.
next != &swig_module) {
23177 #ifdef SWIGRUNTIME_DEBUG 23178 if (ret) printf(
"SWIG_InitializeModule: found cast %s\n", ret->
name);
23183 #ifdef SWIGRUNTIME_DEBUG 23184 printf(
"SWIG_InitializeModule: skip old type %s\n", ret->
name);
23191 #ifdef SWIGRUNTIME_DEBUG 23192 if (ocast) printf(
"SWIG_InitializeModule: skip old cast %s\n", ret->
name);
23194 if (!ocast) ret = 0;
23199 #ifdef SWIGRUNTIME_DEBUG 23200 printf(
"SWIG_InitializeModule: adding cast %s\n", cast->
type->
name);
23211 swig_module.
types[i] = type;
23213 swig_module.
types[i] = 0;
23215 #ifdef SWIGRUNTIME_DEBUG 23216 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
23217 for (i = 0; i < swig_module.
size; ++i) {
23220 printf(
"SWIG_InitializeModule: type %d %s\n", i, swig_module.
type_initial[i]->
name);
23221 while (cast->
type) {
23222 printf(
"SWIG_InitializeModule: cast type %s\n", cast->
type->
name);
23226 printf(
"---- Total casts: %d\n",j);
23228 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
23241 static int init_run = 0;
23243 if (init_run)
return;
23246 for (i = 0; i < swig_module.
size; i++) {
23254 equiv = equiv->
next;
23275 #define SWIG_newvarlink() SWIG_Python_newvarlink() 23276 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) 23277 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) 23285 PyObject *(*get_attr)(void);
23286 int (*set_attr)(PyObject *);
23297 #if PY_VERSION_HEX >= 0x03000000 23298 return PyUnicode_InternFromString(
"<Swig global variables>");
23300 return PyString_FromString(
"<Swig global variables>");
23306 #if PY_VERSION_HEX >= 0x03000000 23307 PyObject *
str = PyUnicode_InternFromString(
"(");
23311 for (var = v->
vars; var; var=var->
next) {
23312 tail = PyUnicode_FromString(var->
name);
23313 joined = PyUnicode_Concat(str, tail);
23318 tail = PyUnicode_InternFromString(
", ");
23319 joined = PyUnicode_Concat(str, tail);
23325 tail = PyUnicode_InternFromString(
")");
23326 joined = PyUnicode_Concat(str, tail);
23331 PyObject *str = PyString_FromString(
"(");
23333 for (var = v->
vars; var; var=var->
next) {
23334 PyString_ConcatAndDel(&str,PyString_FromString(var->
name));
23335 if (var->
next) PyString_ConcatAndDel(&str,PyString_FromString(
", "));
23337 PyString_ConcatAndDel(&str,PyString_FromString(
")"));
23346 fprintf(fp,
"Swig global variables ");
23366 PyObject *res = NULL;
23369 if (strcmp(var->
name,n) == 0) {
23375 if (res == NULL && !PyErr_Occurred()) {
23376 PyErr_Format(PyExc_AttributeError,
"Unknown C global variable '%s'", n);
23386 if (strcmp(var->
name,n) == 0) {
23392 if (res == 1 && !PyErr_Occurred()) {
23393 PyErr_Format(PyExc_AttributeError,
"Unknown C global variable '%s'", n);
23400 static char varlink__doc__[] =
"Swig var link object";
23401 static PyTypeObject varlink_type;
23402 static int type_init = 0;
23404 const PyTypeObject tmp = {
23405 #if PY_VERSION_HEX >= 0x03000000 23406 PyVarObject_HEAD_INIT(NULL, 0)
23408 PyObject_HEAD_INIT(NULL)
23411 (
char *)
"swigvarlink",
23435 #if PY_VERSION_HEX >= 0x02020000 23436 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
23438 #if PY_VERSION_HEX >= 0x02030000 23441 #if PY_VERSION_HEX >= 0x02060000 23444 #if PY_VERSION_HEX >= 0x03040000 23447 #ifdef COUNT_ALLOCS 23451 #if PY_VERSION_HEX >= 0x02050000 23457 varlink_type = tmp;
23459 #if PY_VERSION_HEX < 0x02020000 23460 varlink_type.ob_type = &PyType_Type;
23462 if (PyType_Ready(&varlink_type) < 0)
23466 return &varlink_type;
23476 return ((PyObject*) result);
23484 size_t size = strlen(name)+1;
23485 gv->
name = (
char *)malloc(size);
23487 strncpy(gv->
name,name,size);
23498 static PyObject *_SWIG_globals = 0;
23500 return _SWIG_globals;
23512 for (i = 0; constants[i].
type; ++i) {
23513 switch(constants[i].type) {
23518 obj =
SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
23525 PyDict_SetItemString(d, constants[i].name, obj);
23541 for (i = 0; methods[i].ml_name; ++i) {
23542 const char *c = methods[i].ml_doc;
23544 c = strstr(c,
"swig_ptr: ");
23548 const char *name = c + 10;
23549 for (j = 0; const_table[j].
type; ++j) {
23550 if (strncmp(const_table[j].name, name,
23551 strlen(const_table[j].name)) == 0) {
23552 ci = &(const_table[j]);
23559 size_t shift = (ci->
ptype) - types;
23561 size_t ldoc = (c - methods[i].ml_doc);
23562 size_t lptr = strlen(ty->
name)+2*
sizeof(
void*)+2;
23563 char *ndoc = (
char*)malloc(ldoc + lptr + 10);
23566 memcpy(buff, methods[i].ml_doc, ldoc);
23568 memcpy(buff,
"swig_ptr: ", 10);
23571 methods[i].ml_doc = ndoc;
23592 #if PY_VERSION_HEX >= 0x03000000 23598 PyObject *m, *d, *md;
23599 #if PY_VERSION_HEX >= 0x03000000 23600 static struct PyModuleDef SWIG_module = {
23601 # if PY_VERSION_HEX >= 0x03020000 23602 PyModuleDef_HEAD_INIT,
23605 PyObject_HEAD_INIT(NULL)
23622 #if defined(SWIGPYTHON_BUILTIN) 23624 0, 0, 0, 0, 0, 0, 0
23626 static PyGetSetDef this_getset_def = {
23627 (
char *)
"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
23629 static SwigPyGetSet thisown_getset_closure = {
23633 static PyGetSetDef thisown_getset_def = {
23634 (
char *)
"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
23636 PyTypeObject *builtin_pytype;
23637 int builtin_base_count;
23640 PyGetSetDescrObject *static_getset;
23641 PyTypeObject *metatype;
23642 PyTypeObject *swigpyobject;
23644 PyObject *public_interface, *public_symbol;
23645 PyObject *this_descr;
23646 PyObject *thisown_descr;
23647 PyObject *
self = 0;
23650 (void)builtin_pytype;
23651 (void)builtin_base_count;
23652 (void)builtin_basetype;
23654 (void)static_getset;
23658 metatype = SwigPyObjectType();
23665 #if PY_VERSION_HEX >= 0x03000000 23666 m = PyModule_Create(&SWIG_module);
23671 md = d = PyModule_GetDict(m);
23676 #ifdef SWIGPYTHON_BUILTIN 23680 assert(SwigPyObject_stype);
23683 SwigPyObject_stype->
clientdata = &SwigPyObject_clientdata;
23684 SwigPyObject_clientdata.pytype = swigpyobject;
23685 }
else if (swigpyobject->tp_basicsize != cd->
pytype->tp_basicsize) {
23686 PyErr_SetString(PyExc_RuntimeError,
"Import error: attempted to load two incompatible swig-generated modules.");
23687 # if PY_VERSION_HEX >= 0x03000000 23700 (void)thisown_descr;
23702 public_interface = PyList_New(0);
23704 (void)public_symbol;
23706 PyDict_SetItemString(md,
"__all__", public_interface);
23707 Py_DECREF(public_interface);
23709 SwigPyBuiltin_AddPublicSymbol(public_interface,
SwigMethods[i].ml_name);
23711 SwigPyBuiltin_AddPublicSymbol(public_interface,
swig_const_table[i].name);
23904 #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)
PyObject_HEAD swig_globalvar * vars
SWIGINTERN PyObject * _wrap_plstripa(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plGetCursor(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
struct swig_varlinkobject swig_varlinkobject
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dX_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plOptUsage(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plscompression(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_pltimefmt(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n)
void do_pltr_callback(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer data)
SWIGINTERN PyObject * _wrap_plgvpd(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
struct swig_cast_info swig_cast_info
SWIGINTERN PyObject * _wrap_plwind(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
SWIGINTERN PyObject * _wrap_plptex(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wX_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plinit(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plhist(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_AttributeError
SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
SWIGINTERN PyObject * SwigPyObject_acquire(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_plspal1(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME PyObject * SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *SWIGUNUSEDPARM(func))
getwritebufferproc writebufferproc
static swig_type_info * swig_type_initial[]
#define SWIG_InstallConstants(d, constants)
SWIGINTERN PyObject * _wrap_plseed(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plgxax(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
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)
struct swig_globalvar * next
SWIGRUNTIME const char * SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name)
SWIGINTERN void SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int(*set_attr)(PyObject *p))
SWIGRUNTIME int SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w)
SWIGINTERN PyObject * _wrap_plfamadv(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
void cleanup_mapform(void)
static swig_type_info _swigt__p_f_int_p_q_const__double_p_q_const__double__void
SWIGINTERN PyObject * _wrap_plline(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plbox3(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plmapline(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsetopt(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIMEINLINE int SWIG_Python_CheckImplicit(swig_type_info *ty)
static swig_type_info _swigt__p_p_double
SWIGRUNTIME swig_type_info * SWIG_Python_TypeQuery(const char *type)
SWIGINTERN PyObject * _wrap_plbin(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsdev(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
PyObject_HEAD void * pack
SWIGINTERN PyObject * _wrap_plscmap1l(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
void do_ct_callback(PLFLT x, PLFLT y, PLFLT *xt, PLFLT *yt, PLPointer data)
void plmapline(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT_VECTOR plotentries, PLINT nplotentries)
SWIGRUNTIME PyObject * SwigPyObject_repr(SwigPyObject *v, PyObject *args)
SWIGRUNTIME PyObject * SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags)
SWIGRUNTIMEINLINE PyObject * _SWIG_This(void)
SWIGINTERN PyObject * _wrap_plctime(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define pl_setcontlabelparam
static swig_module_info swig_module
SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty)
SWIGINTERN PyObject * _wrap_plpsty(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
struct swig_cast_info * cast
static PyObject * swig_this
SWIGINTERN PyObject * _wrap_plspage(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plsdidev(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
struct swig_globalvar swig_globalvar
SWIGINTERN PyObject * _wrap_PLGraphicsIn_subwindow_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIMEINLINE PyObject * SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define Py_NotImplemented
static swig_type_info _swigt__p_int
SWIGRUNTIME PyTypeObject * SwigPyPacked_type(void)
SWIGINTERN PyObject * _wrap_plMinMax2dGrid(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
ct_func marshal_ct(PyObject *input)
#define SWIG_Python_ConvertPtr(obj, pptr, type, flags)
SWIGRUNTIME PyTypeObject * SwigPyPacked_TypeOnce(void)
SWIGINTERN PyObject * _wrap_plend1(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_pljoin(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
void plmeridians(PLMAPFORM_callback mapform, PLFLT dlong, PLFLT dlat, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat)
SWIGRUNTIME int SWIG_Python_AddErrMesg(const char *mesg, int infront)
void plmaptex(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLFLT dx, PLFLT dy, PLFLT just, PLCHAR_VECTOR text, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT plotentry)
SWIGINTERN PyObject * _wrap_plbtime(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN void SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[])
SWIGINTERN PyObject * swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v))
SWIGINTERN PyObject * _wrap_plscmap1(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
SWIGINTERN PyObject * _wrap_plsfont(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plbop(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
static swig_type_info _swigt__p_unsigned_int
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)
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)
int(* set_attr)(PyObject *)
#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)
PyObject *(* get_attr)(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)
static PLFLT value(double n1, double n2, double hue)
SWIGINTERN PyObject * _wrap_plvpas(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_NewClientData(obj)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pY_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plgcmap1_range(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_next(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pX_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN int SWIG_AsVal_int(PyObject *obj, int *val)
SWIGINTERN PyObject * _wrap_plgzax(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
#define SWIG_NewPackedObj(ptr, sz, type)
SWIGINTERN PyObject * _wrap_plstart(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME swig_module_info * SWIG_Python_GetModule(void *SWIGUNUSEDPARM(clientdata))
SWIGINTERN PyObject * _wrap_plgfci(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plrgbhls(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
void cleanup_PLPointer(void)
SWIGINTERN PyObject * _wrap_plshade(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb)
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)
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)
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)
#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)
SWIGRUNTIME PyObject * SwigPyObject_repr2(PyObject *v, PyObject *SWIGUNUSEDPARM(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)