10#define SWIG_VERSION 0x040101
12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
20#ifndef SWIGTEMPLATEDISAMBIGUATOR
21# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
22# define SWIGTEMPLATEDISAMBIGUATOR template
23# elif defined(__HP_aCC)
26# define SWIGTEMPLATEDISAMBIGUATOR template
28# define SWIGTEMPLATEDISAMBIGUATOR
34# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
35# define SWIGINLINE inline
44# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
45# define SWIGUNUSED __attribute__ ((__unused__))
50# define SWIGUNUSED __attribute__ ((__unused__))
56#ifndef SWIG_MSC_UNSUPPRESS_4505
58# pragma warning(disable : 4505)
64# define SWIGUNUSEDPARM(p)
66# define SWIGUNUSEDPARM(p) p SWIGUNUSED
72# define SWIGINTERN static SWIGUNUSED
76#ifndef SWIGINTERNINLINE
77# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
82# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
83# ifndef GCC_HASCLASSVISIBILITY
84# define GCC_HASCLASSVISIBILITY
90# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
91# if defined(STATIC_LINKED)
94# define SWIGEXPORT __declspec(dllexport)
97# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
98# define SWIGEXPORT __attribute__ ((visibility("default")))
107# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
108# define SWIGSTDCALL __stdcall
115#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
116# define _CRT_SECURE_NO_DEPRECATE
120#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
121# define _SCL_SECURE_NO_DEPRECATE
125#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
126# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
134#ifdef __INTEL_COMPILER
135# pragma warning disable 592
139#if defined(__GNUC__) && defined(_WIN32) && !defined(SWIG_PYTHON_NO_HYPOT_WORKAROUND)
144#if !defined(PY_SSIZE_T_CLEAN) && !defined(SWIG_NO_PY_SSIZE_T_CLEAN)
145#define PY_SSIZE_T_CLEAN
149#pragma GCC diagnostic push
150#if defined(__cplusplus) && __cplusplus >=201703L
151#pragma GCC diagnostic ignored "-Wregister"
155#if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG)
158#if defined(_MSC_VER) && _MSC_VER >= 1929
172#pragma GCC diagnostic pop
184#define SWIG_RUNTIME_VERSION "4"
187#ifdef SWIG_TYPE_TABLE
188# define SWIG_QUOTE_STRING(x) #x
189# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
190# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
192# define SWIG_TYPE_TABLE_NAME
205# define SWIGRUNTIME SWIGINTERN
208#ifndef SWIGRUNTIMEINLINE
209# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
213#ifndef SWIG_BUFFER_SIZE
214# define SWIG_BUFFER_SIZE 1024
218#define SWIG_POINTER_DISOWN 0x1
219#define SWIG_CAST_NEW_MEMORY 0x2
220#define SWIG_POINTER_NO_NULL 0x4
221#define SWIG_POINTER_CLEAR 0x8
222#define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN)
225#define SWIG_POINTER_OWN 0x1
309#define SWIG_ERROR (-1)
313#define SWIG_ERROR_RELEASE_NOT_OWNED (-200)
315#define SWIG_IsOK(r) (r >= 0)
316#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
319#define SWIG_CASTRANKLIMIT (1 << 8)
321#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
323#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
325#define SWIG_BADOBJ (SWIG_ERROR)
326#define SWIG_OLDOBJ (SWIG_OK)
327#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
328#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
330#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
331#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
332#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
333#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
334#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
335#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
338#if defined(SWIG_CASTRANK_MODE)
339# ifndef SWIG_TypeRank
340# define SWIG_TypeRank unsigned long
342# ifndef SWIG_MAXCASTRANK
343# define SWIG_MAXCASTRANK (2)
345# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
346# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
351 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
354# define SWIG_AddCast(r) (r)
355# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
365typedef void *(*swig_converter_func)(
void *,
int *);
407 const char *f2,
const char *l2) {
408 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
409 while ((*f1 ==
' ') && (f1 != l1)) ++f1;
410 while ((*f2 ==
' ') && (f2 != l2)) ++f2;
411 if (*f1 != *f2)
return (*f1 > *f2) ? 1 : -1;
413 return (
int)((l1 - f1) - (l2 - f2));
423 const char* te = tb + strlen(tb);
425 while (equiv != 0 && *ne) {
426 for (nb = ne; *ne; ++ne) {
427 if (*ne ==
'|')
break;
452 if (strcmp(iter->
type->
name, c) == 0) {
453 if (iter == ty->
cast)
479 if (iter->
type == from) {
480 if (iter == ty->
cast)
512 if (!ty || !ty->
dcast)
return ty;
513 while (ty && (ty->
dcast)) {
514 ty = (*ty->
dcast)(ptr);
538 if (!type)
return NULL;
539 if (type->
str != NULL) {
540 const char *last_name = type->
str;
542 for (s = type->
str; *s; s++)
543 if (*s ==
'|') last_name = s+1;
591 size_t r = iter->
size - 1;
594 size_t i = (l + r) >> 1;
595 const char *iname = iter->
types[i]->
name;
597 int compare = strcmp(
name, iname);
599 return iter->
types[i];
600 }
else if (compare < 0) {
606 }
else if (compare > 0) {
615 }
while (iter != end);
642 for (; i < iter->
size; ++i) {
644 return iter->
types[i];
647 }
while (iter != end);
659 static const char hex[17] =
"0123456789abcdef";
660 const unsigned char *u = (
unsigned char *) ptr;
661 const unsigned char *eu = u + sz;
662 for (; u != eu; ++u) {
663 unsigned char uu = *u;
664 *(c++) = hex[(uu & 0xf0) >> 4];
665 *(c++) = hex[uu & 0xf];
675 unsigned char *u = (
unsigned char *) ptr;
676 const unsigned char *eu = u + sz;
677 for (; u != eu; ++u) {
680 if ((d >=
'0') && (d <=
'9'))
681 uu = (
unsigned char)((d -
'0') << 4);
682 else if ((d >=
'a') && (d <=
'f'))
683 uu = (
unsigned char)((d - (
'a'-10)) << 4);
687 if ((d >=
'0') && (d <=
'9'))
688 uu |= (
unsigned char)(d -
'0');
689 else if ((d >=
'a') && (d <=
'f'))
690 uu |= (
unsigned char)(d - (
'a'-10));
704 if ((2*
sizeof(
void *) + 2) > bsz)
return 0;
707 if (strlen(
name) + 1 > (bsz - (r - buff)))
return 0;
715 if (strcmp(c,
"NULL") == 0) {
728 size_t lname = (
name ? strlen(
name) : 0);
729 if ((2*sz + 2 + lname) > bsz)
return 0;
733 strncpy(r,
name,lname+1);
743 if (strcmp(c,
"NULL") == 0) {
758#define SWIG_UnknownError -1
759#define SWIG_IOError -2
760#define SWIG_RuntimeError -3
761#define SWIG_IndexError -4
762#define SWIG_TypeError -5
763#define SWIG_DivisionByZero -6
764#define SWIG_OverflowError -7
765#define SWIG_SyntaxError -8
766#define SWIG_ValueError -9
767#define SWIG_SystemError -10
768#define SWIG_AttributeError -11
769#define SWIG_MemoryError -12
770#define SWIG_NullReferenceError -13
774#if PY_VERSION_HEX >= 0x03000000
776#define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type)
777#define PyInt_Check(x) PyLong_Check(x)
778#define PyInt_AsLong(x) PyLong_AsLong(x)
779#define PyInt_FromLong(x) PyLong_FromLong(x)
780#define PyInt_FromSize_t(x) PyLong_FromSize_t(x)
781#define PyString_Check(name) PyBytes_Check(name)
782#define PyString_FromString(x) PyUnicode_FromString(x)
783#define PyString_Format(fmt, args) PyUnicode_Format(fmt, args)
784#define PyString_AsString(str) PyBytes_AsString(str)
785#define PyString_Size(str) PyBytes_Size(str)
786#define PyString_InternFromString(key) PyUnicode_InternFromString(key)
787#define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE
788#define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x)
793# define Py_TYPE(op) ((op)->ob_type)
798#if PY_VERSION_HEX >= 0x03000000
799# define SWIG_Python_str_FromFormat PyUnicode_FromFormat
801# define SWIG_Python_str_FromFormat PyString_FromFormat
808#if PY_VERSION_HEX >= 0x03030000
809 return (
char *)PyUnicode_AsUTF8(str);
811 return PyString_AsString(str);
817#define SWIG_Python_str_DelForPy3(x)
823#if PY_VERSION_HEX >= 0x03000000
824 return PyUnicode_FromString(c);
826 return PyString_FromString(c);
831# define PyObject_DEL PyObject_Del
835# define SWIGPY_USE_CAPSULE
836#ifdef SWIGPYTHON_BUILTIN
837# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule_builtin" SWIG_TYPE_TABLE_NAME
839# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule" SWIG_TYPE_TABLE_NAME
841# define SWIGPY_CAPSULE_NAME ("swig_runtime_data" SWIG_RUNTIME_VERSION "." SWIGPY_CAPSULE_ATTR_NAME)
843#if PY_VERSION_HEX < 0x03020000
844#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
845#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
846#define Py_hash_t long
858 type = PyExc_MemoryError;
861 type = PyExc_IOError;
864 type = PyExc_RuntimeError;
867 type = PyExc_IndexError;
870 type = PyExc_TypeError;
873 type = PyExc_ZeroDivisionError;
876 type = PyExc_OverflowError;
879 type = PyExc_SyntaxError;
882 type = PyExc_ValueError;
885 type = PyExc_SystemError;
888 type = PyExc_AttributeError;
891 type = PyExc_RuntimeError;
902 PyObject *traceback = 0;
904 if (PyErr_Occurred())
905 PyErr_Fetch(&type, &
value, &traceback);
907 PyObject *old_str = PyObject_Str(
value);
912 PyErr_Format(type,
"%s %s", tmp, mesg);
914 PyErr_Format(type,
"%s", mesg);
918 PyErr_SetString(PyExc_RuntimeError, mesg);
928 error = PyErr_Occurred();
929 return error && PyErr_GivenExceptionMatches(
error, PyExc_TypeError);
938 PyObject *type = NULL, *
value = NULL, *traceback = NULL;
939 PyErr_Fetch(&type, &
value, &traceback);
940#if PY_VERSION_HEX >= 0x03000000
941 newvalue = PyUnicode_FromFormat(
"%S\nAdditional information:\n%s",
value, message);
943 newvalue = PyString_FromFormat(
"%s\nAdditional information:\n%s", PyString_AsString(
value), message);
947 PyErr_Restore(type, newvalue, traceback);
949 PyErr_Restore(type,
value, traceback);
953 PyErr_SetString(PyExc_TypeError, message);
957#if defined(SWIG_PYTHON_NO_THREADS)
958# if defined(SWIG_PYTHON_THREADS)
959# undef SWIG_PYTHON_THREADS
962#if defined(SWIG_PYTHON_THREADS)
963# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
964# define SWIG_PYTHON_USE_GIL
966# if defined(SWIG_PYTHON_USE_GIL)
967# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
968# if PY_VERSION_HEX < 0x03070000
969# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
971# define SWIG_PYTHON_INITIALIZE_THREADS
975 class SWIG_Python_Thread_Block {
977 PyGILState_STATE state;
979 void end() {
if (status) { PyGILState_Release(state); status =
false;} }
980 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
981 ~SWIG_Python_Thread_Block() { end(); }
983 class SWIG_Python_Thread_Allow {
987 void end() {
if (status) { PyEval_RestoreThread(save); status =
false; }}
988 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
989 ~SWIG_Python_Thread_Allow() { end(); }
991# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
992# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
993# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
994# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
996# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
997# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
998# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
999# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
1002# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
1003# define SWIG_PYTHON_INITIALIZE_THREADS
1005# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
1006# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1008# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
1009# define SWIG_PYTHON_THREAD_END_BLOCK
1011# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
1012# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1014# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
1015# define SWIG_PYTHON_THREAD_END_ALLOW
1019# define SWIG_PYTHON_INITIALIZE_THREADS
1020# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1021# define SWIG_PYTHON_THREAD_END_BLOCK
1022# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1023# define SWIG_PYTHON_THREAD_END_ALLOW
1039#define SWIG_PY_POINTER 4
1040#define SWIG_PY_BINARY 5
1066#if PY_VERSION_HEX < 0x02070000
1067# error "This version of SWIG only supports Python >= 2.7"
1070#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03030000
1071# error "This version of SWIG only supports Python 3 >= 3.3"
1077#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1078#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
1079#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
1081#ifdef SWIGPYTHON_BUILTIN
1082#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
1084#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1087#define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1089#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
1090#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
1091#define swig_owntype int
1094#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1095#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1098#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1099#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1102#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1103#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(NULL, ptr, type, 0)
1106#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1107#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1112#define SWIG_GetModule(clientdata) SWIG_Python_GetModule(clientdata)
1113#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1114#define SWIG_NewClientData(obj) SwigPyClientData_New(obj)
1116#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1117#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1118#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1119#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1120#define SWIG_fail goto fail
1130 PyErr_SetObject(errtype, obj);
1138 PyErr_SetString(errtype, msg);
1142#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1146#if defined(SWIGPYTHON_BUILTIN)
1149SwigPyBuiltin_AddPublicSymbol(PyObject *seq,
const char *key) {
1150 PyObject *s = PyString_InternFromString(key);
1151 PyList_Append(seq, s);
1157 PyDict_SetItemString(d,
name, obj);
1159 if (public_interface)
1160 SwigPyBuiltin_AddPublicSymbol(public_interface,
name);
1167 PyDict_SetItemString(d,
name, obj);
1179 }
else if (result == Py_None) {
1183 if (!PyList_Check(result)) {
1184 PyObject *o2 = result;
1185 result = PyList_New(1);
1187 PyList_SET_ITEM(result, 0, o2);
1193 PyList_Append(result,obj);
1208 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got none",
1213 if (!PyTuple_Check(args)) {
1214 if (min <= 1 && max >= 1) {
1217 for (i = 1; i <
max; ++i) {
1222 PyErr_SetString(PyExc_SystemError,
"UnpackTuple() argument list is not a tuple");
1225 Py_ssize_t l = PyTuple_GET_SIZE(args);
1227 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got %d",
1230 }
else if (l >
max) {
1231 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got %d",
1236 for (i = 0; i < l; ++i) {
1237 objs[i] = PyTuple_GET_ITEM(args, i);
1239 for (; l <
max; ++l) {
1251 assert(PyDict_Check(kwargs));
1252 if (PyDict_Size(kwargs) > 0) {
1253 PyErr_Format(PyExc_TypeError,
"%s() does not take keyword arguments",
name);
1261#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1268#define SWIG_STATIC_POINTER(var) var
1270#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1278#define SWIG_newvarlink() SWIG_Python_newvarlink()
1279#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
1280#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
1288 PyObject *(*get_attr)(void);
1300#if PY_VERSION_HEX >= 0x03000000
1301 return PyUnicode_InternFromString(
"<Swig global variables>");
1303 return PyString_FromString(
"<Swig global variables>");
1310#if PY_VERSION_HEX >= 0x03000000
1311 PyObject *str = PyUnicode_InternFromString(
"(");
1315 for (var = v->
vars; var; var=var->
next) {
1316 tail = PyUnicode_FromString(var->
name);
1317 joined = PyUnicode_Concat(str,
tail);
1322 tail = PyUnicode_InternFromString(
", ");
1323 joined = PyUnicode_Concat(str,
tail);
1329 tail = PyUnicode_InternFromString(
")");
1330 joined = PyUnicode_Concat(str,
tail);
1335 PyObject *str = PyString_FromString(
"(");
1337 for (var = v->
vars; var; var=var->
next) {
1338 PyString_ConcatAndDel(&str,PyString_FromString(var->
name));
1339 if (var->
next) PyString_ConcatAndDel(&str,PyString_FromString(
", "));
1341 PyString_ConcatAndDel(&str,PyString_FromString(
")"));
1361 PyObject *res = NULL;
1364 if (strcmp(var->
name,n) == 0) {
1370 if (res == NULL && !PyErr_Occurred()) {
1371 PyErr_Format(PyExc_AttributeError,
"Unknown C global variable '%s'", n);
1382 if (strcmp(var->
name,n) == 0) {
1388 if (res == 1 && !PyErr_Occurred()) {
1389 PyErr_Format(PyExc_AttributeError,
"Unknown C global variable '%s'", n);
1396 static char varlink__doc__[] =
"Swig var link object";
1397 static PyTypeObject varlink_type;
1398 static int type_init = 0;
1400 const PyTypeObject tmp = {
1401#if PY_VERSION_HEX >= 0x03000000
1402 PyVarObject_HEAD_INIT(NULL, 0)
1404 PyObject_HEAD_INIT(NULL)
1411#if PY_VERSION_HEX < 0x030800b4
1435 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1438#if PY_VERSION_HEX >= 0x03040000
1441#if PY_VERSION_HEX >= 0x03080000
1444#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
1457 if (PyType_Ready(&varlink_type) < 0)
1460 return &varlink_type;
1470 return ((PyObject*) result);
1478 size_t size = strlen(
name)+1;
1479 gv->
name = (
char *)malloc(size);
1510#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1511#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1513#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1515#define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2)
1516#define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN)
1527 PyObject *none = Py_None;
1550 PyErr_SetString(PyExc_TypeError,
"Implicit conversion is prohibited for explicit constructors.");
1557 PyObject *klass = data ? data->
klass : 0;
1558 return (klass ? klass : PyExc_RuntimeError);
1571 Py_INCREF(data->
klass);
1573 if (PyClass_Check(obj)) {
1578 data->
newraw = PyObject_GetAttrString(data->
klass,
"__new__");
1580 data->
newargs = PyTuple_New(1);
1583 PyTuple_SET_ITEM(data->
newargs, 0, obj);
1586 Py_DECREF(data->
klass);
1596 data->
destroy = PyObject_GetAttrString(data->
klass,
"__swig_destroy__");
1597 if (PyErr_Occurred()) {
1602 data->
delargs = !(PyCFunction_GET_FLAGS(data->
destroy) & METH_O);
1615 Py_XDECREF(data->
klass);
1616 Py_XDECREF(data->
newraw);
1630#ifdef SWIGPYTHON_BUILTIN
1636#ifdef SWIGPYTHON_BUILTIN
1639SwigPyObject_get___dict__(PyObject *v, PyObject *
SWIGUNUSEDPARM(args))
1644 sobj->dict = PyDict_New();
1646 Py_XINCREF(sobj->dict);
1655 return PyLong_FromVoidPtr(v->
ptr);
1661 PyObject *res = NULL;
1662 PyObject *args = PyTuple_New(1);
1667 PyTuple_SET_ITEM(args, 0, val);
1670#if PY_VERSION_HEX >= 0x03000000
1671 res = PyUnicode_Format(ofmt,args);
1673 res = PyString_Format(ofmt,args);
1700 if (repr && v->
next) {
1703# if PY_VERSION_HEX >= 0x03000000
1704 PyObject *joined = PyUnicode_Concat(repr, nrep);
1709 PyString_ConcatAndDel(&repr,nrep);
1732 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1740 if( op != Py_EQ && op != Py_NE ) {
1741 Py_INCREF(Py_NotImplemented);
1742 return Py_NotImplemented;
1751#ifdef SWIGPYTHON_BUILTIN
1756 assert(SwigPyObject_stype);
1772#ifdef SWIGPYTHON_BUILTIN
1774 if (PyType_IsSubtype(op->ob_type, target_tp))
1776 return (strcmp(op->ob_type->tp_name,
"SwigPyObject") == 0);
1779 || (strcmp(
Py_TYPE(op)->tp_name,
"SwigPyObject") == 0);
1792 PyObject *next = sobj->
next;
1796 PyObject *destroy = data ? data->
destroy : 0;
1808 PyObject *type = NULL, *
value = NULL, *traceback = NULL;
1809 PyErr_Fetch(&type, &
value, &traceback);
1821 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1822 PyObject *mself = PyCFunction_GET_SELF(destroy);
1823 res = ((*meth)(mself, v));
1826 PyErr_WriteUnraisable(destroy);
1828 PyErr_Restore(type,
value, traceback);
1832#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1835 printf(
"swig/python detected a memory leak of type '%s', no destructor found.\n", (
name ?
name :
"unknown"));
1841#ifdef SWIGPYTHON_BUILTIN
1842 Py_XDECREF(sobj->dict);
1852 PyErr_SetString(PyExc_TypeError,
"Attempt to append a non SwigPyObject");
1866 Py_INCREF(sobj->
next);
1893 if (!PyArg_UnpackTuple(args,
"own", 0, 1, &val)) {
1897 PyObject *obj = PyBool_FromLong(sobj->
own);
1899 if (PyObject_IsTrue(val)) {
1913 {
"own",
SwigPyObject_own, METH_VARARGS,
"returns/sets ownership of the pointer"},
1922 static char swigobject_doc[] =
"Swig object carries a C/C++ instance pointer";
1924 static PyNumberMethods SwigPyObject_as_number = {
1929#
if PY_VERSION_HEX < 0x03000000
1945#
if PY_VERSION_HEX < 0x03000000
1949#if PY_VERSION_HEX < 0x03000000
1955#if PY_VERSION_HEX < 0x03000000
1959#if PY_VERSION_HEX >= 0x03050000
1960 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1961#elif PY_VERSION_HEX >= 0x03000000
1962 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1964 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1968 static PyTypeObject swigpyobject_type;
1969 static int type_init = 0;
1971 const PyTypeObject tmp = {
1972#if PY_VERSION_HEX >= 0x03000000
1973 PyVarObject_HEAD_INIT(NULL, 0)
1975 PyObject_HEAD_INIT(NULL)
1982#if PY_VERSION_HEX < 0x030800b4
1989#if PY_VERSION_HEX >= 0x03000000
1995 &SwigPyObject_as_number,
2001 PyObject_GenericGetAttr,
2032#
if PY_VERSION_HEX >= 0x03040000
2035#
if PY_VERSION_HEX >= 0x03080000
2038#
if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
2049 swigpyobject_type = tmp;
2051 if (PyType_Ready(&swigpyobject_type) != 0)
2054 return &swigpyobject_type;
2066#ifdef SWIGPYTHON_BUILTIN
2076 return (PyObject *)sobj;
2117 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
2118 return s ? s : strncmp((
const char *)v->
pack, (
const char *)w->
pack, 2*v->
size);
2132 || (strcmp((op)->ob_type->tp_name,
"SwigPyPacked") == 0);
2147 static char swigpacked_doc[] =
"Swig object carries a C/C++ instance pointer";
2148 static PyTypeObject swigpypacked_type;
2149 static int type_init = 0;
2151 const PyTypeObject tmp = {
2152#if PY_VERSION_HEX>=0x03000000
2153 PyVarObject_HEAD_INIT(NULL, 0)
2155 PyObject_HEAD_INIT(NULL)
2162#if PY_VERSION_HEX < 0x030800b4
2169#if PY_VERSION_HEX>=0x03000000
2181 PyObject_GenericGetAttr,
2212#
if PY_VERSION_HEX >= 0x03040000
2215#
if PY_VERSION_HEX >= 0x03080000
2218#
if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000)
2229 swigpypacked_type = tmp;
2231 if (PyType_Ready(&swigpypacked_type) != 0)
2234 return &swigpypacked_type;
2242 void *pack = malloc(size);
2244 memcpy(pack, ptr, size);
2253 return (PyObject *) sobj;
2261 if (sobj->
size != size)
return 0;
2262 memcpy(ptr, sobj->
pack, size);
2286#if PY_VERSION_HEX>=0x03000000
2287#define SWIG_PYTHON_SLOW_GETSET_THIS
2298#ifdef SWIGPYTHON_BUILTIN
2300# ifdef PyWeakref_CheckProxy
2301 if (PyWeakref_CheckProxy(pyobj)) {
2302 pyobj = PyWeakref_GET_OBJECT(pyobj);
2312#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2313 if (PyInstance_Check(pyobj)) {
2314 obj = _PyInstance_Lookup(pyobj,
SWIG_This());
2316 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
2317 if (dictptr != NULL) {
2318 PyObject *dict = *dictptr;
2319 obj = dict ? PyDict_GetItem(dict,
SWIG_This()) : 0;
2321#ifdef PyWeakref_CheckProxy
2322 if (PyWeakref_CheckProxy(pyobj)) {
2323 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
2327 obj = PyObject_GetAttr(pyobj,
SWIG_This());
2331 if (PyErr_Occurred()) PyErr_Clear();
2337 obj = PyObject_GetAttr(pyobj,
SWIG_This());
2341 if (PyErr_Occurred()) PyErr_Clear();
2361 int oldown = sobj->
own;
2379 if (obj == Py_None && !implicit_conv) {
2391 void *vptr = sobj->
ptr;
2396 if (ptr) *ptr = vptr;
2416 if (ptr) *ptr = vptr;
2425 *own = *own | sobj->
own;
2435 if (implicit_conv) {
2438 PyObject *klass = data->
klass;
2444 if (PyErr_Occurred()) {
2469 if (!
SWIG_IsOK(res) && obj == Py_None) {
2472 if (PyErr_Occurred())
2485 if (!PyCFunction_Check(obj)) {
2492 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2493 const char *desc = doc ? strstr(doc,
"swig_ptr: ") : 0;
2539 PyObject *newraw = data->
newraw;
2541 inst = PyObject_Call(newraw, data->
newargs, NULL);
2543#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2544 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2545 if (dictptr != NULL) {
2546 PyObject *dict = *dictptr;
2548 dict = PyDict_New();
2552 PyDict_SetItem(dict,
SWIG_This(), swig_this);
2559 if (PyObject_SetAttr(inst,
SWIG_This(), swig_this) == -1) {
2566#if PY_VERSION_HEX >= 0x03000000
2567 PyObject *empty_args = PyTuple_New(0);
2569 PyObject *empty_kwargs = PyDict_New();
2571 inst = ((PyTypeObject *)data->
newargs)->tp_new((PyTypeObject *)data->
newargs, empty_args, empty_kwargs);
2572 Py_DECREF(empty_kwargs);
2574 if (PyObject_SetAttr(inst,
SWIG_This(), swig_this) == -1) {
2578 PyType_Modified(
Py_TYPE(inst));
2582 Py_DECREF(empty_args);
2585 PyObject *dict = PyDict_New();
2587 PyDict_SetItem(dict,
SWIG_This(), swig_this);
2588 inst = PyInstance_NewRaw(data->
newargs, dict);
2599#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2600 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2601 if (dictptr != NULL) {
2602 PyObject *dict = *dictptr;
2604 dict = PyDict_New();
2608 return PyDict_SetItem(dict,
SWIG_This(), swig_this);
2614 return PyObject_SetAttr(inst,
SWIG_This(), swig_this);
2648 if (clientdata && clientdata->
pytype) {
2653 PyObject *next_self = clientdata->
pytype->tp_alloc(clientdata->
pytype, 0);
2654 while (newobj->
next)
2656 newobj->
next = next_self;
2658#ifdef SWIGPYTHON_BUILTIN
2664#ifdef SWIGPYTHON_BUILTIN
2675 return (PyObject*) newobj;
2702#ifdef SWIG_LINK_RUNTIME
2703void *SWIG_ReturnGlobalTypeList(
void *);
2719#ifdef SWIG_LINK_RUNTIME
2720 static void *type_pointer = (
void *)0;
2722 if (!type_pointer) {
2723 type_pointer = SWIG_ReturnGlobalTypeList((
void *)0);
2727 if (PyErr_Occurred()) {
2729 type_pointer = (
void *)0;
2765#if PY_VERSION_HEX >= 0x03000000
2769 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };
2770 PyObject *module = Py_InitModule(
"swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table);
2773 if (pointer && module) {
2781 Py_XDECREF(pointer);
2790 PyObject *obj = PyDict_GetItem(cache, key);
2798 obj = PyCapsule_New((
void*) descriptor, NULL, NULL);
2800 PyDict_SetItem(cache, key, obj);
2812#define SWIG_POINTER_EXCEPTION 0
2813#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2814#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2819 if (PyErr_Occurred()) {
2821 PyObject *
value = 0;
2822 PyObject *traceback = 0;
2823 PyErr_Fetch(&type, &
value, &traceback);
2825 PyObject *old_str = PyObject_Str(
value);
2827 const char *errmesg = tmp ? tmp :
"Invalid error message";
2831 PyErr_Format(type,
"%s %s", mesg, errmesg);
2833 PyErr_Format(type,
"%s %s", errmesg, mesg);
2846 if (PyErr_Occurred()) {
2849 PyOS_snprintf(mesg,
sizeof(mesg),
"argument number %d:", argnum);
2861 return ty ? ty->
str :
"";
2868#if defined(SWIG_COBJECT_TYPES)
2872 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, 'SwigPyObject(%s)' is received",
2879 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2881 PyObject *str = PyObject_Str(obj);
2884 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, '%s(%s)' is received",
2887 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, '%s' is received",
2894 PyErr_Format(PyExc_TypeError,
"a '%s' is expected", type);
2896 PyErr_Format(PyExc_TypeError,
"unexpected type is received");
2911#ifdef SWIGPYTHON_BUILTIN
2913SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *
name, PyObject *
value) {
2914 PyTypeObject *tp = obj->ob_type;
2916 PyObject *encoded_name;
2920# ifdef Py_USING_UNICODE
2921 if (PyString_Check(
name)) {
2922 name = PyUnicode_Decode(PyString_AsString(
name), PyString_Size(
name), NULL, NULL);
2925 }
else if (!PyUnicode_Check(
name))
2927 if (!PyString_Check(
name))
2930 PyErr_Format(PyExc_TypeError,
"attribute name must be string, not '%.200s'",
name->ob_type->tp_name);
2937 if (PyType_Ready(tp) != 0)
2941 descr = _PyType_Lookup(tp,
name);
2944 f = descr->ob_type->tp_descr_set;
2946 if (PyString_Check(
name)) {
2947 encoded_name =
name;
2950 encoded_name = PyUnicode_AsUTF8String(
name);
2954 PyErr_Format(PyExc_AttributeError,
"'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name));
2955 Py_DECREF(encoded_name);
2957 res = f(descr, obj,
value);
2973#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2975#define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0)
2981#define SWIGTYPE_p_PLGraphicsIn swig_types[0]
2982#define SWIGTYPE_p_PLcGrid swig_types[1]
2983#define SWIGTYPE_p_PLcGrid2 swig_types[2]
2984#define SWIGTYPE_p_char swig_types[3]
2985#define SWIGTYPE_p_double swig_types[4]
2986#define SWIGTYPE_p_f_double_double__int swig_types[5]
2987#define SWIGTYPE_p_f_double_double_p_double_p_double_p_void__void swig_types[6]
2988#define SWIGTYPE_p_f_int_double_p_char_int_p_void__void swig_types[7]
2989#define SWIGTYPE_p_f_int_p_double_p_double__void swig_types[8]
2990#define SWIGTYPE_p_f_int_p_q_const__double_p_q_const__double__void swig_types[9]
2991#define SWIGTYPE_p_int swig_types[10]
2992#define SWIGTYPE_p_p_char swig_types[11]
2993#define SWIGTYPE_p_p_double swig_types[12]
2994#define SWIGTYPE_p_unsigned_int swig_types[13]
2997#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2998#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
3002#ifdef SWIG_TypeQuery
3003# undef SWIG_TypeQuery
3005#define SWIG_TypeQuery SWIG_Python_TypeQuery
3010#if PY_VERSION_HEX >= 0x03000000
3011# define SWIG_init PyInit__plplotc
3014# define SWIG_init init_plplotc
3017#define SWIG_name "_plplotc"
3019#define SWIG_as_voidptr(a) (void *)((const void *)(a))
3020#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
3023#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
3024#include <arrayobject.h>
3028#define NPY_PLINT NPY_INT32
3031#define NPY_PLFLT NPY_FLOAT64
3033#define NPY_PLFLT NPY_FLOAT32
3037#if !defined ( PySequence_Fast_GET_ITEM )
3038 #define PySequence_Fast_GET_ITEM PySequence_GetItem
3040#define PySequence_Size PySequence_Length
3051 if (PyFloat_Check(obj)) {
3052 if (val) *val = PyFloat_AsDouble(obj);
3054#if PY_VERSION_HEX < 0x03000000
3055 }
else if (PyInt_Check(obj)) {
3056 if (val) *val = (double) PyInt_AsLong(obj);
3059 }
else if (PyLong_Check(obj)) {
3060 double v = PyLong_AsDouble(obj);
3061 if (!PyErr_Occurred()) {
3068#ifdef SWIG_PYTHON_CAST_MODE
3071 double d = PyFloat_AsDouble(obj);
3072 if (!PyErr_Occurred()) {
3079 long v = PyLong_AsLong(obj);
3080 if (!PyErr_Occurred()) {
3093 #define SWIG_From_double PyFloat_FromDouble
3108 return PyInt_FromLong((
long)
value);
3113#if !defined(SWIG_NO_LLONG_MAX)
3114# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
3115# define LLONG_MAX __LONG_LONG_MAX__
3116# define LLONG_MIN (-LLONG_MAX - 1LL)
3117# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
3131 if ((
min <= x && x <=
max)) {
3132 double fx = floor(x);
3133 double cx = ceil(x);
3134 double rd = ((x - fx) < 0.5) ? fx : cx;
3135 if ((errno == EDOM) || (errno == ERANGE)) {
3138 double summ, reps, diff;
3141 }
else if (rd > x) {
3148 if (reps < 8*DBL_EPSILON) {
3161#if PY_VERSION_HEX < 0x03000000
3162 if (PyInt_Check(obj)) {
3163 if (val) *val = PyInt_AsLong(obj);
3167 if (PyLong_Check(obj)) {
3168 long v = PyLong_AsLong(obj);
3169 if (!PyErr_Occurred()) {
3177#ifdef SWIG_PYTHON_CAST_MODE
3180 long v = PyInt_AsLong(obj);
3181 if (!PyErr_Occurred()) {
3191 if (val) *val = (long)(d);
3207 if ((v < INT_MIN || v > INT_MAX)) {
3210 if (val) *val = (int)(v);
3220#if PY_VERSION_HEX < 0x03000000
3221 if (PyInt_Check(obj)) {
3222 long v = PyInt_AsLong(obj);
3231 if (PyLong_Check(obj)) {
3232 unsigned long v = PyLong_AsUnsignedLong(obj);
3233 if (!PyErr_Occurred()) {
3241#ifdef SWIG_PYTHON_CAST_MODE
3244 unsigned long v = PyLong_AsUnsignedLong(obj);
3245 if (!PyErr_Occurred()) {
3255 if (val) *val = (
unsigned long)(d);
3271 if ((v > UINT_MAX)) {
3274 if (val) *val = (
unsigned int)(v);
3284 return PyInt_FromSize_t((
size_t)
value);
3291 static int init = 0;
3304#if PY_VERSION_HEX>=0x03000000
3305#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3306 if (PyBytes_Check(obj))
3308 if (PyUnicode_Check(obj))
3311 if (PyString_Check(obj))
3314 char *cstr; Py_ssize_t len;
3316#if PY_VERSION_HEX>=0x03000000
3317#if !defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3318 if (!alloc && cptr) {
3325 obj = PyUnicode_AsUTF8String(obj);
3331 if (PyBytes_AsStringAndSize(obj, &cstr, &len) == -1)
3334 if (PyString_AsStringAndSize(obj, &cstr, &len) == -1)
3340 *cptr = (
char *)memcpy(malloc((len + 1)*
sizeof(
char)), cstr,
sizeof(char)*(len + 1));
3347#if PY_VERSION_HEX>=0x03000000
3348#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3349 *cptr = PyBytes_AsString(obj);
3360 if (psize) *psize = len + 1;
3361#if PY_VERSION_HEX>=0x03000000 && !defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3366#if defined(SWIG_PYTHON_2_UNICODE)
3367#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3368#error "Cannot use both SWIG_PYTHON_2_UNICODE and SWIG_PYTHON_STRICT_BYTE_CHAR at once"
3370#if PY_VERSION_HEX<0x03000000
3371 if (PyUnicode_Check(obj)) {
3372 char *cstr; Py_ssize_t len;
3373 if (!alloc && cptr) {
3376 obj = PyUnicode_AsUTF8String(obj);
3379 if (PyString_AsStringAndSize(obj, &cstr, &len) != -1) {
3382 *cptr = (
char *)memcpy(malloc((len + 1)*
sizeof(
char)), cstr,
sizeof(char)*(len + 1));
3384 if (psize) *psize = len + 1;
3396 if (pchar_descriptor) {
3399 if (cptr) *cptr = (
char *) vptr;
3400 if (psize) *psize = vptr ? (strlen((
char *)vptr) + 1) : 0;
3413 char* cptr = 0;
size_t csize = 0;
int alloc =
SWIG_OLDOBJ;
3417 if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
3418 if (csize <= size) {
3420 if (csize) memcpy(val, cptr, csize*
sizeof(
char));
3421 if (csize < size) memset(val + csize, 0, (size - csize)*
sizeof(
char));
3439 if (size > INT_MAX) {
3441 return pchar_descriptor ?
3444#if PY_VERSION_HEX >= 0x03000000
3445#if defined(SWIG_PYTHON_STRICT_BYTE_CHAR)
3446 return PyBytes_FromStringAndSize(carray, (Py_ssize_t)(size));
3448 return PyUnicode_DecodeUTF8(carray, (Py_ssize_t)(size),
"surrogateescape");
3451 return PyString_FromStringAndSize(carray, (Py_ssize_t)(size));
3464 for (p = s; maxlen-- && *p; p++)
3473#define t_output_helper SWIG_Python_AppendOutput
3484 if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
3485 if (val) *val = (char)(v);
3503 PyArrayObject* tmp = (PyArrayObject *) PyArray_ContiguousFromObject( in,
NPY_PLINT,
3508 if ( PyArray_Check( in ) )
3511 tmp = (PyArrayObject *) PyArray_Cast( (PyArrayObject *) in,
NPY_PLINT );
3518#define myArray_ContiguousFromObject PyArray_ContiguousFromObject
3521 PyObject *resultobj = 0;
3535 PyObject *swig_obj[2] ;
3547 arg1 = (
PLFLT)(val1);
3552 arg2 = (
PLFLT)(val2);
3553 pltr0(arg1,arg2,arg3,arg4,arg5);
3588 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two arrays." );
3597 PyErr_SetString( PyExc_ValueError,
"Expected a sequence to two 1D arrays." );
3606 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg." );
3614 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg + 1." );
3636 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two arrays." );
3645 PyErr_SetString( PyExc_ValueError,
"Expected a sequence of two 2D arrays." );
3651 PyErr_SetString( PyExc_ValueError,
"Arrays must be same size." );
3660 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg." );
3668 PyErr_SetString( PyExc_ValueError,
"pltr arguments must have X and Y dimensions of first arg + 1." );
3692 PyObject *resultobj = 0;
3706 PyObject *swig_obj[3] ;
3715 arg1 = (
PLFLT)(val1);
3720 arg2 = (
PLFLT)(val2);
3726 pltr1(arg1,arg2,arg3,arg4,arg5);
3753 PyObject *resultobj = 0;
3767 PyObject *swig_obj[3] ;
3776 arg1 = (
PLFLT)(val1);
3781 arg2 = (
PLFLT)(val2);
3787 pltr2(arg1,arg2,arg3,arg4,arg5);
3816 static PyInterpreterState *save_interp = NULL;
3826#define MY_BLOCK_THREADS { \
3827 PyThreadState *prev_state, *new_state; \
3830 PyEval_AcquireLock(); \
3831 new_state = PyThreadState_New( save_interp ); \
3832 prev_state = PyThreadState_Swap( new_state );
3833#define MY_UNBLOCK_THREADS \
3834 new_state = PyThreadState_Swap( prev_state ); \
3835 PyThreadState_Clear( new_state ); \
3836 PyEval_ReleaseLock(); \
3837 PyThreadState_Delete( new_state ); \
3840#define MY_BLOCK_THREADS
3841#define MY_UNBLOCK_THREADS
3864 PyObject *pdata, *arglist, *result;
3868 pdata = (PyObject *) data;
3875 Py_XINCREF( pdata );
3880 arglist = Py_BuildValue(
"(ddO)", x, y, pdata );
3882 arglist = Py_BuildValue(
"(ffO)", x, y, pdata );
3884 if ( arglist == NULL )
3886 fprintf( stderr,
"Py_BuildValue failed to make argument list.\n" );
3891 result = PyEval_CallObject(
python_pltr, arglist );
3893 Py_CLEAR( arglist );
3895 if ( result == NULL )
3897 fprintf( stderr,
"call to python pltr function with 3 arguments failed\n" );
3898 PyErr_SetString( PyExc_RuntimeError,
"pltr callback must take 3 arguments." );
3904 if ( tmp == 0 || PyArray_DIMS( tmp )[0] != 2 )
3906 fprintf( stderr,
"pltr callback must return a 2 element array or sequence\n" );
3907 PyErr_SetString( PyExc_RuntimeError,
"pltr callback must return a 2-sequence." );
3927 PyObject *pdata, *arglist, *result;
3928 PLFLT fresult = 0.0;
3931 pdata = (PyObject *) data;
3934 Py_XINCREF( pdata );
3938 arglist = Py_BuildValue(
"(iiO)", x, y, pdata );
3942 Py_CLEAR( arglist );
3944 if ( !PyFloat_Check( result ) )
3946 fprintf( stderr,
"f2eval callback must return a float\n" );
3947 PyErr_SetString( PyExc_RuntimeError,
"f2eval callback must return a float." );
3952 fresult = (
PLFLT) PyFloat_AsDouble( result );
3964 PyObject *pdata, *arglist, *result, *unicode_string;
3969 pdata = (PyObject *) data;
3974 Py_XINCREF( pdata );
3979 arglist = Py_BuildValue(
"(ldO)", axis,
value, pdata );
3981 arglist = Py_BuildValue(
"(lfO)", axis,
value, pdata );
3988 if ( result == NULL )
3990 fprintf( stderr,
"label callback failed with 3 arguments\n" );
3991 PyErr_SetString( PyExc_RuntimeError,
"label callback must take 3 arguments." );
3993 else if ( PyString_Check( result ) )
3996 pystring = PyString_AsString( result );
3997 strncpy(
string, pystring, len );
3999 else if ( PyUnicode_Check( result ) )
4002 unicode_string = PyUnicode_AsEncodedString( result,
"utf-8",
"Error ~" );
4003 pystring = PyBytes_AS_STRING( unicode_string );
4005 strncpy(
string, pystring, len );
4009 fprintf( stderr,
"label callback must return a string\n" );
4010 PyErr_SetString( PyExc_RuntimeError,
"label callback must return a string." );
4021 PyObject *px, *py, *pdata, *arglist, *result;
4026 pdata = (PyObject *) data;
4033 Py_XINCREF( pdata );
4037 px = PyArray_SimpleNewFromData( 1, &n,
NPY_PLFLT, (
void *) xt );
4038 py = PyArray_SimpleNewFromData( 1, &n,
NPY_PLFLT, (
void *) yt );
4039 arglist = Py_BuildValue(
"(ddOOO)", x, y, px, py, pdata );
4041 result = PyEval_CallObject(
python_ct, arglist );
4043 Py_CLEAR( arglist );
4048 if ( result == NULL )
4050 fprintf( stderr,
"call to python coordinate transform function with 5 arguments failed\n" );
4051 PyErr_SetString( PyExc_RuntimeError,
"coordinate transform callback must take 5 arguments." );
4062 PyObject *px, *py, *arglist, *result;
4073#ifdef PL_HAVE_PTHREAD
4074 px = PyArray_SimpleNewFromData( 1, &nn,
NPY_PLFLT, (
void *) x );
4075 py = PyArray_SimpleNewFromData( 1, &nn,
NPY_PLFLT, (
void *) y );
4077 px = PyArray_FromDimsAndData( 1, &n,
NPY_PLFLT, (
char *) x );
4078 py = PyArray_FromDimsAndData( 1, &n,
NPY_PLFLT, (
char *) y );
4080 arglist = Py_BuildValue(
"(iOO)", n, px, py );
4084 Py_CLEAR( arglist );
4088 if ( result == NULL )
4090 fprintf( stderr,
"call to python mapform function with 3 arguments failed\n" );
4091 PyErr_SetString( PyExc_RuntimeError,
"mapform callback must take 3 arguments." );
4104 PyObject * rep = PyObject_Repr( input );
4109 if ( PyUnicode_Check( rep ) )
4111 PyObject *uni_str = PyUnicode_AsEncodedString( rep,
"utf-8",
"Error ~" );
4112 str = PyBytes_AS_STRING( uni_str );
4116 str = PyString_AsString( rep );
4118 if ( strstr( str,
"function pltr0" ) != 0 )
4124 else if ( strstr( str,
"function pltr1" ) != 0 )
4130 else if ( strstr( str,
"function pltr2" ) != 0 )
4140 Py_XINCREF( input );
4148 Py_XINCREF( input );
4164 Py_XINCREF( input );
4179 Py_XINCREF( input );
4197 if ( input != Py_None )
4201 if ( input != Py_None )
4205 Py_XINCREF( input );
4209 fprintf( stderr,
"pltr_type is invalid\n" );
4230 fprintf( stderr,
"pltr_type is invalid\n" );
4239 PyObject *resultobj = 0;
4246 PyObject *swig_obj[2] ;
4259 if (arg1) (arg1)->type = arg2;
4268 PyObject *resultobj = 0;
4272 PyObject *swig_obj[1] ;
4282 result = (int) ((arg1)->type);
4291 PyObject *resultobj = 0;
4298 PyObject *swig_obj[2] ;
4310 arg2 = (
unsigned int)(val2);
4311 if (arg1) (arg1)->state = arg2;
4320 PyObject *resultobj = 0;
4324 PyObject *swig_obj[1] ;
4325 unsigned int result;
4334 result = (
unsigned int) ((arg1)->state);
4343 PyObject *resultobj = 0;
4350 PyObject *swig_obj[2] ;
4362 arg2 = (
unsigned int)(val2);
4363 if (arg1) (arg1)->keysym = arg2;
4372 PyObject *resultobj = 0;
4376 PyObject *swig_obj[1] ;
4377 unsigned int result;
4386 result = (
unsigned int) ((arg1)->keysym);
4395 PyObject *resultobj = 0;
4402 PyObject *swig_obj[2] ;
4414 arg2 = (
unsigned int)(val2);
4415 if (arg1) (arg1)->button = arg2;
4424 PyObject *resultobj = 0;
4428 PyObject *swig_obj[1] ;
4429 unsigned int result;
4438 result = (
unsigned int) ((arg1)->button);
4447 PyObject *resultobj = 0;
4454 PyObject *swig_obj[2] ;
4466 arg2 = (
PLINT)(val2);
4467 if (arg1) (arg1)->subwindow = arg2;
4476 PyObject *resultobj = 0;
4480 PyObject *swig_obj[1] ;
4490 result = (
PLINT) ((arg1)->subwindow);
4499 PyObject *resultobj = 0;
4506 PyObject *swig_obj[2] ;
4518 arg2 = (
char *)(temp2);
4519 if (arg2) memcpy(arg1->
string,arg2,16*
sizeof(
char));
4520 else memset(arg1->
string,0,16*
sizeof(
char));
4529 PyObject *resultobj = 0;
4533 PyObject *swig_obj[1] ;
4543 result = (
char *)(
char *) ((arg1)->
string);
4558 PyObject *resultobj = 0;
4565 PyObject *swig_obj[2] ;
4578 if (arg1) (arg1)->pX = arg2;
4587 PyObject *resultobj = 0;
4591 PyObject *swig_obj[1] ;
4601 result = (int) ((arg1)->pX);
4610 PyObject *resultobj = 0;
4617 PyObject *swig_obj[2] ;
4630 if (arg1) (arg1)->pY = arg2;
4639 PyObject *resultobj = 0;
4643 PyObject *swig_obj[1] ;
4653 result = (int) ((arg1)->pY);
4662 PyObject *resultobj = 0;
4669 PyObject *swig_obj[2] ;
4681 arg2 = (
PLFLT)(val2);
4682 if (arg1) (arg1)->dX = arg2;
4691 PyObject *resultobj = 0;
4695 PyObject *swig_obj[1] ;
4705 result = (
PLFLT) ((arg1)->dX);
4714 PyObject *resultobj = 0;
4721 PyObject *swig_obj[2] ;
4733 arg2 = (
PLFLT)(val2);
4734 if (arg1) (arg1)->dY = arg2;
4743 PyObject *resultobj = 0;
4747 PyObject *swig_obj[1] ;
4757 result = (
PLFLT) ((arg1)->dY);
4766 PyObject *resultobj = 0;
4773 PyObject *swig_obj[2] ;
4785 arg2 = (
PLFLT)(val2);
4786 if (arg1) (arg1)->wX = arg2;
4795 PyObject *resultobj = 0;
4799 PyObject *swig_obj[1] ;
4809 result = (
PLFLT) ((arg1)->wX);
4818 PyObject *resultobj = 0;
4825 PyObject *swig_obj[2] ;
4837 arg2 = (
PLFLT)(val2);
4838 if (arg1) (arg1)->wY = arg2;
4847 PyObject *resultobj = 0;
4851 PyObject *swig_obj[1] ;
4861 result = (
PLFLT) ((arg1)->wY);
4870 PyObject *resultobj = 0;
4883 PyObject *resultobj = 0;
4887 PyObject *swig_obj[1] ;
4896 free((
char *) arg1);
4916 PyObject *resultobj = 0;
4920 PyObject *swig_obj[1] ;
4928 arg1 = (
PLINT)(val1);
4938 PyObject *resultobj = 0;
4945 PyObject *swig_obj[2] ;
4952 arg1 = (
PLINT)(val1);
4957 arg2 = (
PLINT)(val2);
4967 PyObject *resultobj = 0;
4980 PyObject *swig_obj[4] ;
4987 arg1 = (
PLFLT)(val1);
4992 arg2 = (
PLFLT)(val2);
4997 arg3 = (
PLFLT)(val3);
5002 arg4 = (
PLINT)(val4);
5012 PyObject *resultobj = 0;
5016 PyObject *swig_obj[1] ;
5024 arg1 = (
PLINT)(val1);
5034 PyObject *resultobj = 0;
5059 PyObject *swig_obj[8] ;
5066 arg1 = (
PLFLT)(val1);
5071 arg2 = (
PLFLT)(val2);
5076 arg3 = (
PLFLT)(val3);
5081 arg4 = (
PLFLT)(val4);
5086 arg5 = (
PLFLT)(val5);
5091 arg6 = (
PLFLT)(val6);
5096 arg7 = (
PLFLT)(val7);
5102 plarc(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5111 PyObject *resultobj = 0;
5114 char *arg3 = (
char *) 0 ;
5117 char *arg6 = (
char *) 0 ;
5138 PyObject *swig_obj[8] ;
5145 arg1 = (
PLFLT)(val1);
5150 arg2 = (
PLFLT)(val2);
5155 arg3 = (
char *)(buf3);
5160 arg4 = (
PLFLT)(val4);
5165 arg5 = (
PLINT)(val5);
5170 arg6 = (
char *)(buf6);
5175 arg7 = (
PLFLT)(val7);
5180 arg8 = (
PLINT)(val8);
5181 plaxes(arg1,arg2,(
char const *)arg3,arg4,arg5,(
char const *)arg6,arg7,arg8);
5194 PyObject *resultobj = 0;
5199 PyArrayObject *tmp1 = NULL ;
5200 PyArrayObject *tmp3 = NULL ;
5203 PyObject *swig_obj[3] ;
5210 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
5211 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
5217 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
5219 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
5222 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
5228 arg4 = (
PLINT)(val4);
5229 plbin(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
5250 PyObject *resultobj = 0;
5272 PyObject *swig_obj[1] ;
5286 arg7 = (
PLFLT)(val7);
5287 plbtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5332 PyObject *resultobj = 0;
5344 PyObject *resultobj = 0;
5345 char *arg1 = (
char *) 0 ;
5348 char *arg4 = (
char *) 0 ;
5365 PyObject *swig_obj[6] ;
5372 arg1 = (
char *)(buf1);
5377 arg2 = (
PLFLT)(val2);
5382 arg3 = (
PLINT)(val3);
5387 arg4 = (
char *)(buf4);
5392 arg5 = (
PLFLT)(val5);
5397 arg6 = (
PLINT)(val6);
5398 plbox((
char const *)arg1,arg2,arg3,(
char const *)arg4,arg5,arg6);
5411 PyObject *resultobj = 0;
5412 char *arg1 = (
char *) 0 ;
5413 char *arg2 = (
char *) 0 ;
5416 char *arg5 = (
char *) 0 ;
5417 char *arg6 = (
char *) 0 ;
5420 char *arg9 = (
char *) 0 ;
5421 char *arg10 = (
char *) 0 ;
5454 PyObject *swig_obj[12] ;
5461 arg1 = (
char *)(buf1);
5466 arg2 = (
char *)(buf2);
5471 arg3 = (
PLFLT)(val3);
5476 arg4 = (
PLINT)(val4);
5481 arg5 = (
char *)(buf5);
5486 arg6 = (
char *)(buf6);
5491 arg7 = (
PLFLT)(val7);
5496 arg8 = (
PLINT)(val8);
5501 arg9 = (
char *)(buf9);
5506 arg10 = (
char *)(buf10);
5511 arg11 = (
PLFLT)(val11);
5516 arg12 = (
PLINT)(val12);
5517 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);
5538 PyObject *resultobj = 0;
5554 PyObject *swig_obj[2] ;
5564 arg1 = (
PLFLT)(val1);
5569 arg2 = (
PLFLT)(val2);
5597 PyObject *resultobj = 0;
5609 PyObject *resultobj = 0;
5613 PyObject *swig_obj[1] ;
5621 arg1 = (
PLINT)(val1);
5631 PyObject *resultobj = 0;
5635 PyObject *swig_obj[1] ;
5643 arg1 = (
PLFLT)(val1);
5653 PyObject *resultobj = 0;
5687 PyObject *swig_obj[11] ;
5694 arg1 = (
PLFLT)(val1);
5699 arg2 = (
PLFLT)(val2);
5704 arg3 = (
PLFLT)(val3);
5709 arg4 = (
PLINT)(val4);
5719 arg6 = (
PLINT)(val6);
5724 arg7 = (
PLINT)(val7);
5729 arg8 = (
PLINT)(val8);
5734 arg9 = (
PLINT)(val9);
5739 arg10 = (
PLINT)(val10);
5744 arg11 = (
PLFLT)(val11);
5745 plconfigtime(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
5754 PyObject *resultobj = 0;
5766 PyArrayObject *tmp1 = NULL ;
5775 PyArrayObject *tmp8 = NULL ;
5776 PyObject *swig_obj[8] ;
5791 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
5792 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
5794 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
5795 for ( i = 0; i < arg2; i++ )
5796 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
5802 arg4 = (
PLINT)(val4);
5807 arg5 = (
PLINT)(val5);
5812 arg6 = (
PLINT)(val6);
5817 arg7 = (
PLINT)(val7);
5822 arg9 = PyArray_DIMS( tmp8 )[0];
5823 arg8 = (
PLFLT *) PyArray_DATA( tmp8 );
5828 if ( swig_obj[6] == Py_None )
5834 if ( !PyCallable_Check( (PyObject *) swig_obj[6] ) )
5836 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
5845 if ( swig_obj[7] == Py_None )
5853 plcont((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,(
double const *)arg8,arg9,arg10,arg11);
5888 PyObject *resultobj = 0;
5910 PyObject *swig_obj[6] ;
5918 arg1 = (
PLINT)(val1);
5923 arg2 = (
PLINT)(val2);
5928 arg3 = (
PLINT)(val3);
5933 arg4 = (
PLINT)(val4);
5938 arg5 = (
PLINT)(val5);
5943 arg6 = (
PLFLT)(val6);
5944 plctime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
5959 PyObject *resultobj = 0;
5966 PyObject *swig_obj[2] ;
5973 arg1 = (
PLINT)(val1);
5988 PyObject *resultobj = 0;
6000 PyObject *resultobj = 0;
6012 PyObject *resultobj = 0;
6031 PyObject *swig_obj[6] ;
6038 arg1 = (
PLFLT)(val1);
6043 arg2 = (
PLFLT)(val2);
6048 arg3 = (
PLFLT)(val3);
6053 arg4 = (
PLFLT)(val4);
6058 arg5 = (
PLINT)(val5);
6063 arg6 = (
PLINT)(val6);
6064 plenv(arg1,arg2,arg3,arg4,arg5,arg6);
6073 PyObject *resultobj = 0;
6092 PyObject *swig_obj[6] ;
6099 arg1 = (
PLFLT)(val1);
6104 arg2 = (
PLFLT)(val2);
6109 arg3 = (
PLFLT)(val3);
6114 arg4 = (
PLFLT)(val4);
6119 arg5 = (
PLINT)(val5);
6124 arg6 = (
PLINT)(val6);
6125 plenv0(arg1,arg2,arg3,arg4,arg5,arg6);
6134 PyObject *resultobj = 0;
6146 PyObject *resultobj = 0;
6151 PyArrayObject *tmp1 = NULL ;
6152 PyArrayObject *tmp3 = NULL ;
6153 PyArrayObject *tmp4 = NULL ;
6154 PyObject *swig_obj[3] ;
6161 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6162 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6168 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6170 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6173 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6179 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6181 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6184 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
6186 plerrx(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6213 PyObject *resultobj = 0;
6218 PyArrayObject *tmp1 = NULL ;
6219 PyArrayObject *tmp3 = NULL ;
6220 PyArrayObject *tmp4 = NULL ;
6221 PyObject *swig_obj[3] ;
6228 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6229 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6235 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6237 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6240 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6246 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6248 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6251 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
6253 plerry(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6280 PyObject *resultobj = 0;
6292 PyObject *resultobj = 0;
6296 PyArrayObject *tmp1 = NULL ;
6297 PyArrayObject *tmp3 = NULL ;
6298 PyObject *swig_obj[2] ;
6305 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6306 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6312 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6314 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6317 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6319 plfill(arg1,(
double const *)arg2,(
double const *)arg3);
6340 PyObject *resultobj = 0;
6345 PyArrayObject *tmp1 = NULL ;
6346 PyArrayObject *tmp3 = NULL ;
6347 PyArrayObject *tmp4 = NULL ;
6348 PyObject *swig_obj[3] ;
6355 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6356 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6362 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6364 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6367 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6373 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
6375 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6378 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
6380 plfill3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
6407 PyObject *resultobj = 0;
6412 PyArrayObject *tmp1 = NULL ;
6413 PyArrayObject *tmp3 = NULL ;
6416 PyObject *swig_obj[3] ;
6423 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
6424 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
6430 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
6432 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
6435 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
6441 arg4 = (
PLFLT)(val4);
6442 plgradient(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
6463 PyObject *resultobj = 0;
6475 PyObject *resultobj = 0;
6479 PyObject *swig_obj[1] ;
6487 arg1 = (
PLINT)(val1);
6497 PyObject *resultobj = 0;
6501 PyObject *swig_obj[1] ;
6509 arg1 = (
PLINT)(val1);
6519 PyObject *resultobj = 0;
6551 PyObject *resultobj = 0;
6564 PyObject *swig_obj[1] ;
6575 arg1 = (
PLINT)(val1);
6603 PyObject *resultobj = 0;
6619 PyObject *swig_obj[1] ;
6631 arg1 = (
PLINT)(val1);
6632 plgcol0a(arg1,arg2,arg3,arg4,arg5);
6665 PyObject *resultobj = 0;
6707 PyObject *resultobj = 0;
6759 PyObject *resultobj = 0;
6781 PyObject *resultobj = 0;
6782 char *arg1 = (
char *) 0 ;
6792 PyObject *o = PyString_FromString( arg1 );
6802 PyObject *resultobj = 0;
6854 PyObject *resultobj = 0;
6876 PyObject *resultobj = 0;
6928 PyObject *resultobj = 0;
6970 PyObject *resultobj = 0;
6992 PyObject *resultobj = 0;
6993 char *arg1 = (
char *) 0 ;
7003 PyObject *o = PyString_FromString( arg1 );
7013 PyObject *resultobj = 0;
7055 PyObject *resultobj = 0;
7077 PyObject *resultobj = 0;
7104 plgpage(arg1,arg2,arg3,arg4,arg5,arg6);
7149 PyObject *resultobj = 0;
7161 PyObject *resultobj = 0;
7173 PyArrayObject *tmp1 = NULL ;
7174 PyArrayObject *tmp2 = NULL ;
7175 PyArrayObject *tmp3 = NULL ;
7176 PyArrayObject *tmp5 = NULL ;
7177 PyArrayObject *tmp7 = NULL ;
7178 PyObject *array7 = NULL ;
7183 PyObject *swig_obj[7] ;
7190 Alen = PyArray_DIMS( tmp1 )[0];
7191 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
7197 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
7199 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
7202 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
7208 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
7210 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
7213 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
7214 arg4 = PyArray_DIMS( tmp3 )[0];
7220 Xlen = PyArray_DIMS( tmp5 )[0];
7222 arg5 = (
PLFLT *) PyArray_DATA( tmp5 );
7230 Ylen = PyArray_DIMS( tmp7 )[0];
7232 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
7237 array7 = PyArray_SimpleNew( 2, dims,
NPY_PLFLT );
7241 arg9 = (
PLFLT **) malloc(
sizeof (
double * ) * (size_t)
Xlen );
7242 for ( i = 0; i <
Xlen; i++ )
7243 arg9[i] = ( (
PLFLT *) PyArray_DATA( (PyArrayObject *) array7 ) + i * size );
7249 arg10 = (
PLINT)(val10);
7254 arg11 = (
PLFLT)(val11);
7255 plgriddata((
double const *)arg1,(
double const *)arg2,(
double const *)arg3,arg4,(
double const *)arg5,arg6,(
double const *)arg7,arg8,arg9,arg10,arg11);
7299 PyObject *resultobj = 0;
7318 plgspa(arg1,arg2,arg3,arg4);
7351 PyObject *resultobj = 0;
7373 PyObject *resultobj = 0;
7374 char *arg1 = (
char *) 0 ;
7384 PyObject *o = PyString_FromString( arg1 );
7394 PyObject *resultobj = 0;
7413 plgvpd(arg1,arg2,arg3,arg4);
7446 PyObject *resultobj = 0;
7465 plgvpw(arg1,arg2,arg3,arg4);
7498 PyObject *resultobj = 0;
7530 PyObject *resultobj = 0;
7562 PyObject *resultobj = 0;
7594 PyObject *resultobj = 0;
7601 PyArrayObject *tmp1 = NULL ;
7610 PyObject *swig_obj[5] ;
7617 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
7618 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
7624 arg3 = (
PLFLT)(val3);
7629 arg4 = (
PLFLT)(val4);
7634 arg5 = (
PLINT)(val5);
7639 arg6 = (
PLINT)(val6);
7640 plhist(arg1,(
double const *)arg2,arg3,arg4,arg5,arg6);
7655 PyObject *resultobj = 0;
7674 PyObject *swig_obj[3] ;
7684 arg1 = (
PLFLT)(val1);
7689 arg2 = (
PLFLT)(val2);
7694 arg3 = (
PLFLT)(val3);
7695 plhlsrgb(arg1,arg2,arg3,arg4,arg5,arg6);
7722 PyObject *resultobj = 0;
7734 PyObject *resultobj = 0;
7747 PyObject *swig_obj[4] ;
7754 arg1 = (
PLFLT)(val1);
7759 arg2 = (
PLFLT)(val2);
7764 arg3 = (
PLFLT)(val3);
7769 arg4 = (
PLFLT)(val4);
7770 pljoin(arg1,arg2,arg3,arg4);
7779 PyObject *resultobj = 0;
7780 char *arg1 = (
char *) 0 ;
7781 char *arg2 = (
char *) 0 ;
7782 char *arg3 = (
char *) 0 ;
7792 PyObject *swig_obj[3] ;
7799 arg1 = (
char *)(buf1);
7804 arg2 = (
char *)(buf2);
7809 arg3 = (
char *)(buf3);
7810 pllab((
char const *)arg1,(
char const *)arg2,(
char const *)arg3);
7825 PyObject *resultobj = 0;
7845 char **arg20 = (
char **) 0 ;
7856 char **arg31 = (
char **) 0 ;
7881 PyArrayObject *tmp13 = NULL ;
7890 PyArrayObject *tmp19 = NULL ;
7891 PyArrayObject *tmp20 = NULL ;
7892 PyArrayObject *tmp21 = NULL ;
7893 PyArrayObject *tmp22 = NULL ;
7894 PyArrayObject *tmp23 = NULL ;
7895 PyArrayObject *tmp24 = NULL ;
7896 PyArrayObject *tmp25 = NULL ;
7897 PyArrayObject *tmp26 = NULL ;
7898 PyArrayObject *tmp27 = NULL ;
7899 PyArrayObject *tmp28 = NULL ;
7900 PyArrayObject *tmp29 = NULL ;
7901 PyArrayObject *tmp30 = NULL ;
7902 PyArrayObject *tmp31 = NULL ;
7903 PyObject *swig_obj[28] ;
7912 arg3 = (
PLINT)(val3);
7917 arg4 = (
PLINT)(val4);
7922 arg5 = (
PLFLT)(val5);
7927 arg6 = (
PLFLT)(val6);
7932 arg7 = (
PLFLT)(val7);
7937 arg8 = (
PLINT)(val8);
7942 arg9 = (
PLINT)(val9);
7947 arg10 = (
PLINT)(val10);
7952 arg11 = (
PLINT)(val11);
7957 arg12 = (
PLINT)(val12);
7960 if ( tmp13 == NULL )
7962 arg13 =
Alen = PyArray_DIMS( tmp13 )[0];
7963 arg14 = (
PLINT *) PyArray_DATA( tmp13 );
7969 arg15 = (
PLFLT)(val15);
7974 arg16 = (
PLFLT)(val16);
7979 arg17 = (
PLFLT)(val17);
7984 arg18 = (
PLFLT)(val18);
7987 if ( tmp19 == NULL )
7989 if ( PyArray_DIMS( tmp19 )[0] !=
Alen )
7991 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
7994 arg19 = (
PLINT *) PyArray_DATA( tmp19 );
7998 tmp20 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[16], NPY_STRING, 1, 1 );
7999 if ( tmp20 == NULL )
8001 if ( PyArray_DIMS( tmp20 )[0] !=
Alen )
8003 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8006 arg20 = (
char **) malloc(
sizeof (
char* ) * (size_t)
Alen );
8007 for ( i = 0; i <
Alen; i++ )
8009 arg20[i] = (
char *) PyArray_DATA( tmp20 ) + i * PyArray_STRIDES( tmp20 )[0];
8010 if ( arg20[i] == NULL )
8019 if ( tmp21 == NULL )
8021 if ( PyArray_DIMS( tmp21 )[0] !=
Alen )
8023 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8026 arg21 = (
PLINT *) PyArray_DATA( tmp21 );
8030 if ( tmp22 == NULL )
8032 if ( PyArray_DIMS( tmp22 )[0] !=
Alen )
8034 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8037 arg22 = (
PLINT *) PyArray_DATA( tmp22 );
8040 if ( swig_obj[19] != Py_None )
8043 if ( tmp23 == NULL )
8045 if ( PyArray_DIMS( tmp23 )[0] !=
Alen )
8047 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8050 arg23 = (
PLFLT *) PyArray_DATA( tmp23 );
8058 if ( swig_obj[20] != Py_None )
8061 if ( tmp24 == NULL )
8063 if ( PyArray_DIMS( tmp24 )[0] !=
Alen )
8065 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8068 arg24 = (
PLFLT *) PyArray_DATA( tmp24 );
8077 if ( tmp25 == NULL )
8079 if ( PyArray_DIMS( tmp25 )[0] !=
Alen )
8081 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8084 arg25 = (
PLINT *) PyArray_DATA( tmp25 );
8088 if ( tmp26 == NULL )
8090 if ( PyArray_DIMS( tmp26 )[0] !=
Alen )
8092 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8095 arg26 = (
PLINT *) PyArray_DATA( tmp26 );
8098 if ( swig_obj[23] != Py_None )
8101 if ( tmp27 == NULL )
8103 if ( PyArray_DIMS( tmp27 )[0] !=
Alen )
8105 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8108 arg27 = (
PLFLT *) PyArray_DATA( tmp27 );
8117 if ( tmp28 == NULL )
8119 if ( PyArray_DIMS( tmp28 )[0] !=
Alen )
8121 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8124 arg28 = (
PLINT *) PyArray_DATA( tmp28 );
8127 if ( swig_obj[25] != Py_None )
8130 if ( tmp29 == NULL )
8132 if ( PyArray_DIMS( tmp29 )[0] !=
Alen )
8134 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8137 arg29 = (
PLFLT *) PyArray_DATA( tmp29 );
8146 if ( tmp30 == NULL )
8148 if ( PyArray_DIMS( tmp30 )[0] !=
Alen )
8150 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8153 arg30 = (
PLINT *) PyArray_DATA( tmp30 );
8157 tmp31 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[27], NPY_STRING, 1, 1 );
8158 if ( tmp31 == NULL )
8160 if ( PyArray_DIMS( tmp31 )[0] !=
Alen )
8162 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8165 arg31 = (
char **) malloc(
sizeof (
char* ) * (size_t)
Alen );
8166 for ( i = 0; i <
Alen; i++ )
8168 arg31[i] = (
char *) PyArray_DATA( tmp31 ) + i * PyArray_STRIDES( tmp31 )[0];
8169 if ( arg31[i] == NULL )
8176 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);
8197 Py_CLEAR( tmp20 ); free( arg20 );
8230 Py_CLEAR( tmp31 ); free( arg31 );
8241 Py_CLEAR( tmp20 ); free( arg20 );
8274 Py_CLEAR( tmp31 ); free( arg31 );
8281 PyObject *resultobj = 0;
8299 char **arg18 = (
char **) 0 ;
8301 char **arg20 = (
char **) 0 ;
8336 PyArrayObject *tmp16 = NULL ;
8337 PyArrayObject *tmp18 = NULL ;
8338 PyArrayObject *tmp19 = NULL ;
8339 PyArrayObject *tmp21 = NULL ;
8340 PyArrayObject *tmp22 = NULL ;
8341 PyArrayObject *tmp23 = NULL ;
8342 PyArrayObject *tmp24 = NULL ;
8343 PyObject *swig_obj[20] ;
8352 arg3 = (
PLINT)(val3);
8357 arg4 = (
PLINT)(val4);
8362 arg5 = (
PLFLT)(val5);
8367 arg6 = (
PLFLT)(val6);
8372 arg7 = (
PLFLT)(val7);
8377 arg8 = (
PLFLT)(val8);
8382 arg9 = (
PLINT)(val9);
8387 arg10 = (
PLINT)(val10);
8392 arg11 = (
PLINT)(val11);
8397 arg12 = (
PLFLT)(val12);
8402 arg13 = (
PLFLT)(val13);
8407 arg14 = (
PLINT)(val14);
8412 arg15 = (
PLFLT)(val15);
8415 if ( tmp16 == NULL )
8417 arg16 =
Alen = PyArray_DIMS( tmp16 )[0];
8418 arg17 = (
PLINT *) PyArray_DATA( tmp16 );
8422 tmp18 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[14], NPY_STRING, 1, 1 );
8423 if ( tmp18 == NULL )
8425 if ( PyArray_DIMS( tmp18 )[0] !=
Alen )
8427 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8430 arg18 = (
char **) malloc(
sizeof (
char* ) * (size_t)
Alen );
8431 for ( i = 0; i <
Alen; i++ )
8433 arg18[i] = (
char *) PyArray_DATA( tmp18 ) + i * PyArray_STRIDES( tmp18 )[0];
8434 if ( arg18[i] == NULL )
8443 tmp19 = (PyArrayObject *) PyArray_ContiguousFromObject( swig_obj[15], NPY_STRING, 1, 1 );
8444 if ( tmp19 == NULL )
8446 Alen = PyArray_DIMS( tmp19 )[0];
8448 arg20 = (
char **) malloc(
sizeof (
char* ) * (size_t)
Alen );
8449 for ( i = 0; i <
Alen; i++ )
8451 arg20[i] = (
char *) PyArray_DATA( tmp19 ) + i * PyArray_STRIDES( tmp19 )[0];
8452 if ( arg20[i] == NULL )
8461 if ( tmp21 == NULL )
8463 if ( PyArray_DIMS( tmp21 )[0] !=
Alen )
8465 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8468 arg21 = (
PLFLT *) PyArray_DATA( tmp21 );
8472 if ( tmp22 == NULL )
8474 if ( PyArray_DIMS( tmp22 )[0] !=
Alen )
8476 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8479 arg22 = (
PLINT *) PyArray_DATA( tmp22 );
8484 if ( tmp23 == NULL )
8486 if ( PyArray_DIMS( tmp23 )[0] !=
Alen )
8488 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8491 Xlen = PyArray_DIMS( tmp23 )[0];
8492 arg23 = (
PLINT *) PyArray_DATA( tmp23 );
8494 for ( i = 0; i <
Xlen; i++ )
8495 if ( arg23[i] >
Ylen )
8501 if ( tmp24 == NULL )
8503 if ( PyArray_DIMS( tmp24 )[0] !=
Xlen || PyArray_DIMS( tmp24 )[1] !=
Ylen )
8505 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
8510 for ( i = 0; i <
Xlen; i++ )
8511 arg24[i] = ( (
PLFLT *) PyArray_DATA( tmp24 ) + i * size );
8513 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);
8531 Py_CLEAR( tmp18 ); free( arg18 );
8534 Py_CLEAR( tmp19 ); free( arg20 );
8555 Py_CLEAR( tmp18 ); free( arg18 );
8558 Py_CLEAR( tmp19 ); free( arg20 );
8578 PyObject *resultobj = 0;
8588 PyObject *swig_obj[3] ;
8595 arg1 = (
PLFLT)(val1);
8600 arg2 = (
PLFLT)(val2);
8605 arg3 = (
PLFLT)(val3);
8615 PyObject *resultobj = 0;
8619 PyArrayObject *tmp1 = NULL ;
8620 PyArrayObject *tmp3 = NULL ;
8621 PyObject *swig_obj[2] ;
8628 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
8629 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
8635 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
8637 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8640 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
8642 plline(arg1,(
double const *)arg2,(
double const *)arg3);
8663 PyObject *resultobj = 0;
8668 PyArrayObject *tmp1 = NULL ;
8669 PyArrayObject *tmp3 = NULL ;
8670 PyArrayObject *tmp4 = NULL ;
8671 PyObject *swig_obj[3] ;
8678 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
8679 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
8685 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
8687 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8690 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
8696 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
8698 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
8701 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
8703 plline3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4);
8730 PyObject *resultobj = 0;
8734 PyObject *swig_obj[1] ;
8742 arg1 = (
PLINT)(val1);
8752 PyObject *resultobj = 0;
8759 PyArrayObject *tmp1 = NULL ;
8760 PyArrayObject *tmp2 = NULL ;
8761 PyArrayObject *tmp3 = NULL ;
8764 PyObject *swig_obj[4] ;
8771 Xlen = PyArray_DIMS( tmp1 )[0];
8772 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
8778 Ylen = PyArray_DIMS( tmp2 )[0];
8779 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
8786 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
8788 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
8791 arg4 = PyArray_DIMS( tmp3 )[0];
8792 arg5 = PyArray_DIMS( tmp3 )[1];
8794 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
8795 for ( i = 0; i < arg4; i++ )
8796 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
8802 arg6 = (
PLINT)(val6);
8803 plmesh((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6);
8832 PyObject *resultobj = 0;
8841 PyArrayObject *tmp1 = NULL ;
8842 PyArrayObject *tmp2 = NULL ;
8843 PyArrayObject *tmp3 = NULL ;
8846 PyArrayObject *tmp7 = NULL ;
8847 PyObject *swig_obj[5] ;
8854 Xlen = PyArray_DIMS( tmp1 )[0];
8855 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
8861 Ylen = PyArray_DIMS( tmp2 )[0];
8862 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
8869 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
8871 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
8874 arg4 = PyArray_DIMS( tmp3 )[0];
8875 arg5 = PyArray_DIMS( tmp3 )[1];
8877 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
8878 for ( i = 0; i < arg4; i++ )
8879 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
8885 arg6 = (
PLINT)(val6);
8890 arg8 = PyArray_DIMS( tmp7 )[0];
8891 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
8893 plmeshc((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
8928 PyObject *resultobj = 0;
8950 PyObject *resultobj = 0;
8951 char *arg1 = (
char *) 0 ;
8955 char *arg5 = (
char *) 0 ;
8968 PyObject *swig_obj[5] ;
8975 arg1 = (
char *)(buf1);
8980 arg2 = (
PLFLT)(val2);
8985 arg3 = (
PLFLT)(val3);
8990 arg4 = (
PLFLT)(val4);
8995 arg5 = (
char *)(buf5);
8996 plmtex((
char const *)arg1,arg2,arg3,arg4,(
char const *)arg5);
9009 PyObject *resultobj = 0;
9010 char *arg1 = (
char *) 0 ;
9014 char *arg5 = (
char *) 0 ;
9027 PyObject *swig_obj[5] ;
9034 arg1 = (
char *)(buf1);
9039 arg2 = (
PLFLT)(val2);
9044 arg3 = (
PLFLT)(val3);
9049 arg4 = (
PLFLT)(val4);
9054 arg5 = (
char *)(buf5);
9055 plmtex3((
char const *)arg1,arg2,arg3,arg4,(
char const *)arg5);
9068 PyObject *resultobj = 0;
9076 PyArrayObject *tmp1 = NULL ;
9077 PyArrayObject *tmp2 = NULL ;
9078 PyArrayObject *tmp3 = NULL ;
9083 PyObject *swig_obj[5] ;
9090 Xlen = PyArray_DIMS( tmp1 )[0];
9091 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9097 Ylen = PyArray_DIMS( tmp2 )[0];
9098 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9105 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9107 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9110 arg4 = PyArray_DIMS( tmp3 )[0];
9111 arg5 = PyArray_DIMS( tmp3 )[1];
9113 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9114 for ( i = 0; i < arg4; i++ )
9115 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9121 arg6 = (
PLINT)(val6);
9127 plot3d((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,arg7);
9156 PyObject *resultobj = 0;
9165 PyArrayObject *tmp1 = NULL ;
9166 PyArrayObject *tmp2 = NULL ;
9167 PyArrayObject *tmp3 = NULL ;
9170 PyArrayObject *tmp7 = NULL ;
9171 PyObject *swig_obj[5] ;
9178 Xlen = PyArray_DIMS( tmp1 )[0];
9179 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9185 Ylen = PyArray_DIMS( tmp2 )[0];
9186 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9193 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9195 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9198 arg4 = PyArray_DIMS( tmp3 )[0];
9199 arg5 = PyArray_DIMS( tmp3 )[1];
9201 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9202 for ( i = 0; i < arg4; i++ )
9203 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9209 arg6 = (
PLINT)(val6);
9214 arg8 = PyArray_DIMS( tmp7 )[0];
9215 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9217 plot3dc((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
9252 PyObject *resultobj = 0;
9265 PyArrayObject *tmp1 = NULL ;
9266 PyArrayObject *tmp2 = NULL ;
9267 PyArrayObject *tmp3 = NULL ;
9270 PyArrayObject *tmp7 = NULL ;
9273 PyArrayObject *tmp10 = NULL ;
9274 PyArrayObject *tmp12 = NULL ;
9275 PyObject *swig_obj[8] ;
9282 Xlen = PyArray_DIMS( tmp1 )[0];
9283 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9289 Ylen = PyArray_DIMS( tmp2 )[0];
9290 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9297 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9299 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9302 arg4 = PyArray_DIMS( tmp3 )[0];
9303 arg5 = PyArray_DIMS( tmp3 )[1];
9305 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9306 for ( i = 0; i < arg4; i++ )
9307 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9313 arg6 = (
PLINT)(val6);
9318 arg8 = PyArray_DIMS( tmp7 )[0];
9319 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9325 arg9 = (
PLINT)(val9);
9328 if ( tmp10 == NULL )
9330 arg10 =
Alen = PyArray_DIMS( tmp10 )[0];
9331 arg11 = (
PLINT *) PyArray_DATA( tmp10 );
9335 if ( tmp12 == NULL )
9337 if ( PyArray_DIMS( tmp12 )[0] !=
Alen )
9339 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9342 arg12 = (
PLINT *) PyArray_DATA( tmp12 );
9344 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);
9391 PyObject *resultobj = 0;
9400 PyArrayObject *tmp1 = NULL ;
9401 PyArrayObject *tmp2 = NULL ;
9402 PyArrayObject *tmp3 = NULL ;
9405 PyArrayObject *tmp7 = NULL ;
9406 PyObject *swig_obj[5] ;
9413 Xlen = PyArray_DIMS( tmp1 )[0];
9414 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9420 Ylen = PyArray_DIMS( tmp2 )[0];
9421 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9428 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9430 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9433 arg4 = PyArray_DIMS( tmp3 )[0];
9434 arg5 = PyArray_DIMS( tmp3 )[1];
9436 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9437 for ( i = 0; i < arg4; i++ )
9438 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9444 arg6 = (
PLINT)(val6);
9449 arg8 = PyArray_DIMS( tmp7 )[0];
9450 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9452 plsurf3d((
double const *)arg1,(
double const *)arg2,(
double const **)arg3,arg4,arg5,arg6,(
double const *)arg7,arg8);
9487 PyObject *resultobj = 0;
9500 PyArrayObject *tmp1 = NULL ;
9501 PyArrayObject *tmp2 = NULL ;
9502 PyArrayObject *tmp3 = NULL ;
9505 PyArrayObject *tmp7 = NULL ;
9508 PyArrayObject *tmp10 = NULL ;
9509 PyArrayObject *tmp12 = NULL ;
9510 PyObject *swig_obj[8] ;
9517 Xlen = PyArray_DIMS( tmp1 )[0];
9518 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
9524 Ylen = PyArray_DIMS( tmp2 )[0];
9525 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
9532 if (
Xlen != PyArray_DIMS( tmp3 )[0] ||
Ylen != PyArray_DIMS( tmp3 )[1] )
9534 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
9537 arg4 = PyArray_DIMS( tmp3 )[0];
9538 arg5 = PyArray_DIMS( tmp3 )[1];
9540 arg3 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg4 );
9541 for ( i = 0; i < arg4; i++ )
9542 arg3[i] = ( (
PLFLT *) PyArray_DATA( tmp3 ) + i * size );
9548 arg6 = (
PLINT)(val6);
9553 arg8 = PyArray_DIMS( tmp7 )[0];
9554 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
9560 arg9 = (
PLINT)(val9);
9563 if ( tmp10 == NULL )
9565 arg10 =
Alen = PyArray_DIMS( tmp10 )[0];
9566 arg11 = (
PLINT *) PyArray_DATA( tmp10 );
9570 if ( tmp12 == NULL )
9572 if ( PyArray_DIMS( tmp12 )[0] !=
Alen )
9574 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9577 arg12 = (
PLINT *) PyArray_DATA( tmp12 );
9579 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);
9626 PyObject *resultobj = 0;
9627 int *arg1 = (
int *) 0 ;
9628 char **arg2 = (
char **) 0 ;
9633 PyObject *swig_obj[2] ;
9639 PyObject *unicode_string;
9641 if ( !PyList_Check( swig_obj[0] ) )
9643 PyErr_SetString( PyExc_ValueError,
"Expecting a list" );
9646 tmp1 = PyList_Size( swig_obj[0] );
9648 arg2 = (
char **) malloc( (
size_t) ( tmp1 + 1 ) *
sizeof (
char * ) );
9649 for ( i = 0; i < tmp1; i++ )
9651 PyObject *s = PyList_GetItem( swig_obj[0], i );
9652 if ( PyString_Check( s ) )
9654 arg2[i] = PyString_AsString( s );
9656 else if ( PyUnicode_Check( s ) )
9659 unicode_string = PyUnicode_AsEncodedString( s,
"utf-8",
"Error ~" );
9660 arg2[i] = PyBytes_AS_STRING( unicode_string );
9665 PyErr_SetString( PyExc_ValueError,
"List items must be strings" );
9675 arg3 = (
PLINT)(val3);
9693 PyObject *resultobj = 0;
9697 PyArrayObject *tmp1 = NULL ;
9698 PyArrayObject *tmp3 = NULL ;
9699 PyObject *swig_obj[2] ;
9706 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
9707 arg2 = (
PLINT *) PyArray_DATA( tmp1 );
9713 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
9715 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9718 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
9720 plpat(arg1,(
int const *)arg2,(
int const *)arg3);
9741 PyObject *resultobj = 0;
9757 PyObject *swig_obj[5] ;
9764 arg1 = (
PLINT)(val1);
9769 arg2 = (
PLFLT)(val2);
9774 arg3 = (
PLFLT)(val3);
9779 arg4 = (
PLFLT)(val4);
9784 arg5 = (
PLFLT)(val5);
9785 plpath(arg1,arg2,arg3,arg4,arg5);
9794 PyObject *resultobj = 0;
9799 PyArrayObject *tmp1 = NULL ;
9800 PyArrayObject *tmp3 = NULL ;
9803 PyObject *swig_obj[3] ;
9810 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
9811 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
9817 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
9819 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9822 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
9828 arg4 = (
PLINT)(val4);
9829 plpoin(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
9850 PyObject *resultobj = 0;
9856 PyArrayObject *tmp1 = NULL ;
9857 PyArrayObject *tmp3 = NULL ;
9858 PyArrayObject *tmp4 = NULL ;
9861 PyObject *swig_obj[4] ;
9868 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
9869 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
9875 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
9877 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9880 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
9886 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
9888 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9891 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
9897 arg5 = (
PLINT)(val5);
9898 plpoin3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,arg5);
9925 PyObject *resultobj = 0;
9932 PyArrayObject *tmp1 = NULL ;
9933 PyArrayObject *tmp3 = NULL ;
9934 PyArrayObject *tmp4 = NULL ;
9935 PyArrayObject *tmp5 = NULL ;
9938 PyObject *swig_obj[5] ;
9945 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
9946 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
9952 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
9954 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9957 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
9963 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
9965 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
9968 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
9974 if ( PyArray_DIMS( tmp5 )[0] <
Alen - 1 )
9976 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
9979 arg5 = (
PLINT *) PyArray_DATA( tmp5 );
9986 plpoly3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,(
int const *)arg5,arg6);
10019 PyObject *resultobj = 0;
10026 PyObject *swig_obj[2] ;
10033 arg1 = (
PLINT)(val1);
10038 arg2 = (
PLINT)(val2);
10048 PyObject *resultobj = 0;
10052 PyObject *swig_obj[1] ;
10055 swig_obj[0] = args;
10060 arg1 = (
PLINT)(val1);
10070 PyObject *resultobj = 0;
10076 char *arg6 = (
char *) 0 ;
10090 PyObject *swig_obj[6] ;
10097 arg1 = (
PLFLT)(val1);
10102 arg2 = (
PLFLT)(val2);
10107 arg3 = (
PLFLT)(val3);
10112 arg4 = (
PLFLT)(val4);
10117 arg5 = (
PLFLT)(val5);
10122 arg6 = (
char *)(buf6);
10123 plptex(arg1,arg2,arg3,arg4,arg5,(
char const *)arg6);
10134 PyObject *resultobj = 0;
10145 char *arg11 = (
char *) 0 ;
10169 PyObject *swig_obj[11] ;
10176 arg1 = (
PLFLT)(val1);
10181 arg2 = (
PLFLT)(val2);
10186 arg3 = (
PLFLT)(val3);
10191 arg4 = (
PLFLT)(val4);
10196 arg5 = (
PLFLT)(val5);
10201 arg6 = (
PLFLT)(val6);
10206 arg7 = (
PLFLT)(val7);
10211 arg8 = (
PLFLT)(val8);
10216 arg9 = (
PLFLT)(val9);
10221 arg10 = (
PLFLT)(val10);
10226 arg11 = (
char *)(buf11);
10227 plptex3(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,(
char const *)arg11);
10238 PyObject *resultobj = 0;
10251 PyObject *resultobj = 0;
10263 PyObject *resultobj = 0;
10282 PyObject *swig_obj[3] ;
10292 arg1 = (
PLFLT)(val1);
10297 arg2 = (
PLFLT)(val2);
10302 arg3 = (
PLFLT)(val3);
10303 plrgbhls(arg1,arg2,arg3,arg4,arg5,arg6);
10330 PyObject *resultobj = 0;
10337 PyObject *swig_obj[2] ;
10344 arg1 = (
PLFLT)(val1);
10349 arg2 = (
PLFLT)(val2);
10359 PyObject *resultobj = 0;
10364 PyArrayObject *tmp1 = NULL ;
10365 PyArrayObject *tmp2 = NULL ;
10366 PyArrayObject *tmp3 = NULL ;
10367 PyObject *swig_obj[3] ;
10372 if ( tmp1 == NULL )
10374 Alen = PyArray_DIMS( tmp1 )[0];
10375 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
10379 if ( tmp2 == NULL )
10381 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10383 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10386 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
10390 if ( tmp3 == NULL )
10392 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10394 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10397 arg4 = PyArray_DIMS( tmp3 )[0];
10398 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
10400 plscmap0((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,arg4);
10427 PyObject *resultobj = 0;
10433 PyArrayObject *tmp1 = NULL ;
10434 PyArrayObject *tmp2 = NULL ;
10435 PyArrayObject *tmp3 = NULL ;
10436 PyArrayObject *tmp4 = NULL ;
10437 PyObject *swig_obj[4] ;
10442 if ( tmp1 == NULL )
10444 Alen = PyArray_DIMS( tmp1 )[0];
10445 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
10449 if ( tmp2 == NULL )
10451 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10453 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10456 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
10460 if ( tmp3 == NULL )
10462 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10464 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10467 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
10471 if ( tmp4 == NULL )
10473 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10475 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10478 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10479 arg5 = PyArray_DIMS( tmp4 )[0];
10481 plscmap0a((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,(
double const *)arg4,arg5);
10514 PyObject *resultobj = 0;
10518 PyObject *swig_obj[1] ;
10521 swig_obj[0] = args;
10526 arg1 = (
PLINT)(val1);
10536 PyObject *resultobj = 0;
10541 PyArrayObject *tmp1 = NULL ;
10542 PyArrayObject *tmp2 = NULL ;
10543 PyArrayObject *tmp3 = NULL ;
10544 PyObject *swig_obj[3] ;
10549 if ( tmp1 == NULL )
10551 Alen = PyArray_DIMS( tmp1 )[0];
10552 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
10556 if ( tmp2 == NULL )
10558 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10560 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10563 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
10567 if ( tmp3 == NULL )
10569 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10571 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10574 arg4 = PyArray_DIMS( tmp3 )[0];
10575 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
10577 plscmap1((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,arg4);
10604 PyObject *resultobj = 0;
10610 PyArrayObject *tmp1 = NULL ;
10611 PyArrayObject *tmp2 = NULL ;
10612 PyArrayObject *tmp3 = NULL ;
10613 PyArrayObject *tmp4 = NULL ;
10614 PyObject *swig_obj[4] ;
10619 if ( tmp1 == NULL )
10621 Alen = PyArray_DIMS( tmp1 )[0];
10622 arg1 = (
PLINT *) PyArray_DATA( tmp1 );
10626 if ( tmp2 == NULL )
10628 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
10630 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10633 arg2 = (
PLINT *) PyArray_DATA( tmp2 );
10637 if ( tmp3 == NULL )
10639 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
10641 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10644 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
10648 if ( tmp4 == NULL )
10650 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10652 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10655 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10656 arg5 = PyArray_DIMS( tmp4 )[0];
10658 plscmap1a((
int const *)arg1,(
int const *)arg2,(
int const *)arg3,(
double const *)arg4,arg5);
10691 PyObject *resultobj = 0;
10701 PyArrayObject *tmp2 = NULL ;
10702 PyArrayObject *tmp4 = NULL ;
10703 PyArrayObject *tmp5 = NULL ;
10704 PyArrayObject *tmp6 = NULL ;
10705 PyArrayObject *tmp7 = NULL ;
10706 PyObject *swig_obj[6] ;
10716 if ( tmp2 == NULL )
10718 arg2 =
Alen = PyArray_DIMS( tmp2 )[0];
10719 arg3 = (
PLFLT *) PyArray_DATA( tmp2 );
10723 if ( tmp4 == NULL )
10725 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10727 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10730 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10734 if ( tmp5 == NULL )
10736 if ( PyArray_DIMS( tmp5 )[0] !=
Alen )
10738 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10741 arg5 = (
PLFLT *) PyArray_DATA( tmp5 );
10745 if ( tmp6 == NULL )
10747 if ( PyArray_DIMS( tmp6 )[0] !=
Alen )
10749 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10752 arg6 = (
PLFLT *) PyArray_DATA( tmp6 );
10756 if ( tmp7 == NULL )
10758 if ( PyArray_DIMS( tmp7 )[0] <
Alen - 1 )
10760 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
10763 arg7 = (
PLINT *) PyArray_DATA( tmp7 );
10765 plscmap1l(arg1,arg2,(
double const *)arg3,(
double const *)arg4,(
double const *)arg5,(
double const *)arg6,(
int const *)arg7);
10804 PyObject *resultobj = 0;
10815 PyArrayObject *tmp2 = NULL ;
10816 PyArrayObject *tmp4 = NULL ;
10817 PyArrayObject *tmp5 = NULL ;
10818 PyArrayObject *tmp6 = NULL ;
10819 PyArrayObject *tmp7 = NULL ;
10820 PyArrayObject *tmp8 = NULL ;
10821 PyObject *swig_obj[7] ;
10831 if ( tmp2 == NULL )
10833 arg2 =
Alen = PyArray_DIMS( tmp2 )[0];
10834 arg3 = (
PLFLT *) PyArray_DATA( tmp2 );
10838 if ( tmp4 == NULL )
10840 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
10842 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10845 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
10849 if ( tmp5 == NULL )
10851 if ( PyArray_DIMS( tmp5 )[0] !=
Alen )
10853 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10856 arg5 = (
PLFLT *) PyArray_DATA( tmp5 );
10860 if ( tmp6 == NULL )
10862 if ( PyArray_DIMS( tmp6 )[0] !=
Alen )
10864 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10867 arg6 = (
PLFLT *) PyArray_DATA( tmp6 );
10871 if ( tmp7 == NULL )
10873 if ( PyArray_DIMS( tmp7 )[0] !=
Alen )
10875 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
10878 arg7 = (
PLFLT *) PyArray_DATA( tmp7 );
10882 if ( tmp8 == NULL )
10884 if ( PyArray_DIMS( tmp8 )[0] <
Alen - 1 )
10886 PyErr_SetString( PyExc_ValueError,
"Vector must be at least length of others minus 1." );
10889 arg8 = (
PLINT *) PyArray_DATA( tmp8 );
10891 plscmap1la(arg1,arg2,(
double const *)arg3,(
double const *)arg4,(
double const *)arg5,(
double const *)arg6,(
double const *)arg7,(
int const *)arg8);
10936 PyObject *resultobj = 0;
10940 PyObject *swig_obj[1] ;
10943 swig_obj[0] = args;
10948 arg1 = (
PLINT)(val1);
10958 PyObject *resultobj = 0;
10965 PyObject *swig_obj[2] ;
10972 arg1 = (
PLFLT)(val1);
10977 arg2 = (
PLFLT)(val2);
10987 PyObject *resultobj = 0;
11019 PyObject *resultobj = 0;
11032 PyObject *swig_obj[4] ;
11039 arg1 = (
PLINT)(val1);
11044 arg2 = (
PLINT)(val2);
11049 arg3 = (
PLINT)(val3);
11054 arg4 = (
PLINT)(val4);
11055 plscol0(arg1,arg2,arg3,arg4);
11064 PyObject *resultobj = 0;
11080 PyObject *swig_obj[5] ;
11087 arg1 = (
PLINT)(val1);
11092 arg2 = (
PLINT)(val2);
11097 arg3 = (
PLINT)(val3);
11102 arg4 = (
PLINT)(val4);
11107 arg5 = (
PLFLT)(val5);
11108 plscol0a(arg1,arg2,arg3,arg4,arg5);
11117 PyObject *resultobj = 0;
11127 PyObject *swig_obj[3] ;
11134 arg1 = (
PLINT)(val1);
11139 arg2 = (
PLINT)(val2);
11144 arg3 = (
PLINT)(val3);
11154 PyObject *resultobj = 0;
11167 PyObject *swig_obj[4] ;
11174 arg1 = (
PLINT)(val1);
11179 arg2 = (
PLINT)(val2);
11184 arg3 = (
PLINT)(val3);
11189 arg4 = (
PLFLT)(val4);
11199 PyObject *resultobj = 0;
11203 PyObject *swig_obj[1] ;
11206 swig_obj[0] = args;
11211 arg1 = (
PLINT)(val1);
11221 PyObject *resultobj = 0;
11225 PyObject *swig_obj[1] ;
11228 swig_obj[0] = args;
11233 arg1 = (
PLINT)(val1);
11243 PyObject *resultobj = 0;
11244 char *arg1 = (
char *) 0 ;
11248 PyObject *swig_obj[1] ;
11251 swig_obj[0] = args;
11256 arg1 = (
char *)(buf1);
11257 plsdev((
char const *)arg1);
11268 PyObject *resultobj = 0;
11281 PyObject *swig_obj[4] ;
11288 arg1 = (
PLFLT)(val1);
11293 arg2 = (
PLFLT)(val2);
11298 arg3 = (
PLFLT)(val3);
11303 arg4 = (
PLFLT)(val4);
11313 PyObject *resultobj = 0;
11332 PyObject *swig_obj[6] ;
11339 arg1 = (
PLINT)(val1);
11344 arg2 = (
PLINT)(val2);
11349 arg3 = (
PLINT)(val3);
11354 arg4 = (
PLINT)(val4);
11359 arg5 = (
PLFLT)(val5);
11364 arg6 = (
PLFLT)(val6);
11365 plsdimap(arg1,arg2,arg3,arg4,arg5,arg6);
11374 PyObject *resultobj = 0;
11378 PyObject *swig_obj[1] ;
11381 swig_obj[0] = args;
11386 arg1 = (
PLFLT)(val1);
11396 PyObject *resultobj = 0;
11409 PyObject *swig_obj[4] ;
11416 arg1 = (
PLFLT)(val1);
11421 arg2 = (
PLFLT)(val2);
11426 arg3 = (
PLFLT)(val3);
11431 arg4 = (
PLFLT)(val4);
11441 PyObject *resultobj = 0;
11454 PyObject *swig_obj[4] ;
11461 arg1 = (
PLFLT)(val1);
11466 arg2 = (
PLFLT)(val2);
11471 arg3 = (
PLFLT)(val3);
11476 arg4 = (
PLFLT)(val4);
11486 PyObject *resultobj = 0;
11487 unsigned int arg1 ;
11488 unsigned int val1 ;
11490 PyObject *swig_obj[1] ;
11493 swig_obj[0] = args;
11498 arg1 = (
unsigned int)(val1);
11508 PyObject *resultobj = 0;
11512 PyObject *swig_obj[1] ;
11515 swig_obj[0] = args;
11520 arg1 = (char)(val1);
11530 PyObject *resultobj = 0;
11531 char *arg1 = (
char *) 0 ;
11532 char *arg2 = (
char *) 0 ;
11539 PyObject *swig_obj[2] ;
11547 arg1 = (
char *)(buf1);
11552 arg2 = (
char *)(buf2);
11553 result = (
PLINT)
plsetopt((
char const *)arg1,(
char const *)arg2);
11566 PyObject *resultobj = 0;
11576 PyObject *swig_obj[3] ;
11583 arg1 = (
PLINT)(val1);
11588 arg2 = (
PLINT)(val2);
11593 arg3 = (
PLINT)(val3);
11603 PyObject *resultobj = 0;
11605 unsigned int val1 ;
11607 PyObject *swig_obj[1] ;
11610 swig_obj[0] = args;
11625 PyObject *resultobj = 0;
11626 char *arg1 = (
char *) 0 ;
11630 PyObject *swig_obj[1] ;
11633 swig_obj[0] = args;
11638 arg1 = (
char *)(buf1);
11650 PyObject *resultobj = 0;
11660 PyObject *swig_obj[3] ;
11667 arg1 = (
PLINT)(val1);
11672 arg2 = (
PLINT)(val2);
11677 arg3 = (
PLINT)(val3);
11687 PyObject *resultobj = 0;
11705 PyArrayObject *tmp1 = NULL ;
11714 PyArrayObject *tmp9 = NULL ;
11723 PyObject *swig_obj[12] ;
11742 if ( tmp1 == NULL )
11744 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
11745 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
11747 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
11748 for ( i = 0; i < arg2; i++ )
11749 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
11755 arg5 = (
PLFLT)(val5);
11760 arg6 = (
PLFLT)(val6);
11765 arg7 = (
PLFLT)(val7);
11770 arg8 = (
PLFLT)(val8);
11773 if ( tmp9 == NULL )
11775 arg10 = PyArray_DIMS( tmp9 )[0];
11776 arg9 = (
PLFLT *) PyArray_DATA( tmp9 );
11782 arg11 = (
PLFLT)(val11);
11787 arg12 = (
PLINT)(val12);
11792 arg13 = (
PLFLT)(val13);
11797 arg15 = (
PLBOOL)(val15);
11798 if (swig_obj[10]) {
11801 if ( swig_obj[10] == Py_None )
11807 if ( !PyCallable_Check( (PyObject *) swig_obj[10] ) )
11809 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
11816 if (swig_obj[11]) {
11818 if ( swig_obj[11] == Py_None )
11826 plshades((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(
double const *)arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17);
11861 PyObject *resultobj = 0;
11883 PyArrayObject *tmp1 = NULL ;
11912 PyObject *swig_obj[17] ;
11931 if ( tmp1 == NULL )
11933 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
11934 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
11936 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
11937 for ( i = 0; i < arg2; i++ )
11938 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
11944 arg5 = (
PLFLT)(val5);
11949 arg6 = (
PLFLT)(val6);
11954 arg7 = (
PLFLT)(val7);
11959 arg8 = (
PLFLT)(val8);
11964 arg9 = (
PLFLT)(val9);
11969 arg10 = (
PLFLT)(val10);
11974 arg11 = (
PLINT)(val11);
11979 arg12 = (
PLFLT)(val12);
11984 arg13 = (
PLFLT)(val13);
11989 arg14 = (
PLINT)(val14);
11994 arg15 = (
PLFLT)(val15);
11999 arg16 = (
PLINT)(val16);
12004 arg17 = (
PLFLT)(val17);
12009 arg19 = (
PLBOOL)(val19);
12010 if (swig_obj[15]) {
12013 if ( swig_obj[15] == Py_None )
12019 if ( !PyCallable_Check( (PyObject *) swig_obj[15] ) )
12021 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
12028 if (swig_obj[16]) {
12030 if ( swig_obj[16] == Py_None )
12038 plshade((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21);
12067 PyObject *resultobj = 0;
12071 PyObject *swig_obj[2] ;
12082 if ( swig_obj[0] == Py_None )
12088 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
12090 PyErr_SetString( PyExc_ValueError,
"label_func argument must be callable" );
12094 Py_XINCREF( (PyObject *) swig_obj[0] );
12113 PyObject *resultobj = 0;
12120 PyObject *swig_obj[2] ;
12127 arg1 = (
PLFLT)(val1);
12132 arg2 = (
PLFLT)(val2);
12142 PyObject *resultobj = 0;
12145 void *arg3 = (
void *) 0 ;
12150 PyObject *swig_obj[3] ;
12157 arg1 = (
PLINT)(val1);
12162 arg2 = (
PLINT)(val2);
12164 int res;
void *
buf = 0;
12166 res = PyObject_GetBuffer(swig_obj[2], &view, PyBUF_WRITABLE);
12172 PyBuffer_Release(&view);
12173 arg3 = (
void *)
buf;
12184 PyObject *resultobj = 0;
12187 void *arg3 = (
void *) 0 ;
12192 PyObject *swig_obj[3] ;
12199 arg1 = (
PLINT)(val1);
12204 arg2 = (
PLINT)(val2);
12206 int res;
void *
buf = 0;
12208 res = PyObject_GetBuffer(swig_obj[2], &view, PyBUF_WRITABLE);
12214 PyBuffer_Release(&view);
12215 arg3 = (
void *)
buf;
12226 PyObject *resultobj = 0;
12233 PyObject *swig_obj[2] ;
12240 arg1 = (
PLFLT)(val1);
12245 arg2 = (
PLFLT)(val2);
12255 PyObject *resultobj = 0;
12259 PyObject *swig_obj[1] ;
12262 swig_obj[0] = args;
12267 arg1 = (
PLINT)(val1);
12277 PyObject *resultobj = 0;
12296 PyObject *swig_obj[6] ;
12303 arg1 = (
PLFLT)(val1);
12308 arg2 = (
PLFLT)(val2);
12313 arg3 = (
PLINT)(val3);
12318 arg4 = (
PLINT)(val4);
12323 arg5 = (
PLINT)(val5);
12328 arg6 = (
PLINT)(val6);
12329 plspage(arg1,arg2,arg3,arg4,arg5,arg6);
12338 PyObject *resultobj = 0;
12339 char *arg1 = (
char *) 0 ;
12343 PyObject *swig_obj[1] ;
12346 swig_obj[0] = args;
12351 arg1 = (
char *)(buf1);
12363 PyObject *resultobj = 0;
12364 char *arg1 = (
char *) 0 ;
12371 PyObject *swig_obj[2] ;
12378 arg1 = (
char *)(buf1);
12384 plspal1((
char const *)arg1,arg2);
12395 PyObject *resultobj = 0;
12399 PyObject *swig_obj[1] ;
12402 swig_obj[0] = args;
12417 PyObject *resultobj = 0;
12421 PyObject *swig_obj[1] ;
12424 swig_obj[0] = args;
12429 arg1 = (
PLINT)(val1);
12439 PyObject *resultobj = 0;
12446 PyObject *swig_obj[2] ;
12453 arg1 = (
PLINT)(val1);
12458 arg2 = (
PLINT)(val2);
12468 PyObject *resultobj = 0;
12475 PyObject *swig_obj[2] ;
12482 arg1 = (
PLFLT)(val1);
12487 arg2 = (
PLFLT)(val2);
12497 PyObject *resultobj = 0;
12504 PyObject *swig_obj[2] ;
12511 arg1 = (
PLINT)(val1);
12516 arg2 = (
PLINT)(val2);
12526 PyObject *resultobj = 0;
12527 char *arg1 = (
char *) 0 ;
12537 PyObject *swig_obj[3] ;
12544 arg1 = (
char *)(buf1);
12549 arg2 = (
PLINT)(val2);
12554 arg3 = (
PLINT)(val3);
12555 plstart((
char const *)arg1,arg2,arg3);
12566 PyObject *resultobj = 0;
12570 PyObject *swig_obj[2] ;
12582 if ( swig_obj[0] == Py_None )
12588 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
12590 PyErr_SetString( PyExc_ValueError,
"coordinate transform argument must be callable" );
12612 PyObject *resultobj = 0;
12616 char *arg4 = (
char *) 0 ;
12617 PyArrayObject *tmp1 = NULL ;
12618 PyArrayObject *tmp3 = NULL ;
12622 PyObject *swig_obj[3] ;
12627 if ( tmp1 == NULL )
12629 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
12630 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
12634 if ( tmp3 == NULL )
12636 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
12638 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
12641 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
12647 arg4 = (
char *)(buf4);
12648 plstring(arg1,(
double const *)arg2,(
double const *)arg3,(
char const *)arg4);
12671 PyObject *resultobj = 0;
12676 char *arg5 = (
char *) 0 ;
12677 PyArrayObject *tmp1 = NULL ;
12678 PyArrayObject *tmp3 = NULL ;
12679 PyArrayObject *tmp4 = NULL ;
12683 PyObject *swig_obj[4] ;
12688 if ( tmp1 == NULL )
12690 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
12691 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
12695 if ( tmp3 == NULL )
12697 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
12699 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
12702 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
12706 if ( tmp4 == NULL )
12708 if ( PyArray_DIMS( tmp4 )[0] !=
Alen )
12710 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
12713 arg4 = (
PLFLT *) PyArray_DATA( tmp4 );
12719 arg5 = (
char *)(buf5);
12720 plstring3(arg1,(
double const *)arg2,(
double const *)arg3,(
double const *)arg4,(
char const *)arg5);
12749 PyObject *resultobj = 0;
12762 PyObject *swig_obj[4] ;
12769 arg1 = (
PLINT)(val1);
12774 arg2 = (
PLINT)(val2);
12779 arg3 = (
PLFLT)(val3);
12784 arg4 = (
PLFLT)(val4);
12794 PyObject *resultobj = 0;
12796 char *arg2 = (
char *) 0 ;
12797 char *arg3 = (
char *) 0 ;
12812 char *arg18 = (
char *) 0 ;
12813 char *arg19 = (
char *) 0 ;
12814 char *arg20 = (
char *) 0 ;
12845 PyArrayObject *tmp15 = NULL ;
12846 PyArrayObject *tmp16 = NULL ;
12847 char **tmp17 = NULL ;
12857 PyObject *swig_obj[19] ;
12865 arg2 = (
char *)(buf2);
12870 arg3 = (
char *)(buf3);
12875 arg4 = (
PLFLT)(val4);
12880 arg5 = (
PLFLT)(val5);
12885 arg6 = (
PLFLT)(val6);
12890 arg7 = (
PLFLT)(val7);
12895 arg8 = (
PLFLT)(val8);
12900 arg9 = (
PLFLT)(val9);
12905 arg10 = (
PLFLT)(val10);
12910 arg11 = (
PLBOOL)(val11);
12915 arg12 = (
PLBOOL)(val12);
12920 arg13 = (
PLINT)(val13);
12925 arg14 = (
PLINT)(val14);
12928 if ( tmp15 == NULL )
12930 Alen = PyArray_DIMS( tmp15 )[0];
12931 arg15 = (
PLINT *) PyArray_DATA( tmp15 );
12935 if ( tmp16 == NULL )
12937 if ( PyArray_DIMS( tmp16 )[0] !=
Alen )
12939 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
12942 arg16 = (
PLINT *) PyArray_DATA( tmp16 );
12946 PyObject *elt, *unicode_string;
12948 if ( !PySequence_Check( swig_obj[15] ) ||
PySequence_Size( swig_obj[15] ) != 4 )
12950 PyErr_SetString( PyExc_ValueError,
"Requires a sequence of 4 strings." );
12955 PyErr_SetString( PyExc_ValueError,
"colline and styline args must be length 4." );
12958 tmp17 = (
char **) malloc(
sizeof (
char* ) * 4 );
12959 if ( tmp17 == NULL )
12962 for ( i = 0; i < 4; i++ )
12966 if ( PyString_Check( elt ) )
12968 arg17[i] = PyString_AsString( elt );
12970 else if ( PyUnicode_Check( elt ) )
12972 unicode_string = PyUnicode_AsEncodedString( elt,
"utf-8",
"Error ~" );
12973 arg17[i] = PyBytes_AS_STRING( unicode_string );
12975 if ( arg17[i] == NULL )
12986 arg18 = (
char *)(buf18);
12991 arg19 = (
char *)(buf19);
12996 arg20 = (
char *)(buf20);
12997 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);
13040 PyObject *resultobj = 0;
13044 PyObject *swig_obj[1] ;
13047 swig_obj[0] = args;
13052 arg1 = (
PLINT)(val1);
13062 PyObject *resultobj = 0;
13066 PyArrayObject *tmp1 = NULL ;
13067 PyArrayObject *tmp3 = NULL ;
13068 PyObject *swig_obj[2] ;
13073 if ( tmp1 == NULL )
13075 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
13076 arg2 = (
PLINT *) PyArray_DATA( tmp1 );
13080 if ( tmp3 == NULL )
13082 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13084 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13087 arg3 = (
PLINT *) PyArray_DATA( tmp3 );
13089 plstyl(arg1,(
int const *)arg2,(
int const *)arg3);
13110 PyObject *resultobj = 0;
13115 PyArrayObject *tmp1 = NULL ;
13116 PyArrayObject *tmp2 = NULL ;
13119 PyObject *swig_obj[3] ;
13123 if ( swig_obj[0] != Py_None )
13126 if ( tmp1 == NULL )
13128 Alen = PyArray_DIMS( tmp1 )[0];
13129 arg1 = (
PLFLT *) PyArray_DATA( tmp1 );
13138 if ( swig_obj[1] != Py_None )
13141 if ( tmp2 == NULL )
13143 if ( PyArray_DIMS( tmp2 )[0] !=
Alen )
13145 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13148 arg2 = (
PLFLT *) PyArray_DATA( tmp2 );
13149 arg3 = PyArray_DIMS( tmp2 )[0];
13162 plsvect((
double const *)arg1,(
double const *)arg2,arg3,arg4);
13183 PyObject *resultobj = 0;
13196 PyObject *swig_obj[4] ;
13203 arg1 = (
PLFLT)(val1);
13208 arg2 = (
PLFLT)(val2);
13213 arg3 = (
PLFLT)(val3);
13218 arg4 = (
PLFLT)(val4);
13219 plsvpa(arg1,arg2,arg3,arg4);
13228 PyObject *resultobj = 0;
13235 PyObject *swig_obj[2] ;
13242 arg1 = (
PLINT)(val1);
13247 arg2 = (
PLINT)(val2);
13257 PyObject *resultobj = 0;
13264 PyObject *swig_obj[2] ;
13271 arg1 = (
PLINT)(val1);
13276 arg2 = (
PLINT)(val2);
13286 PyObject *resultobj = 0;
13291 PyArrayObject *tmp1 = NULL ;
13292 PyArrayObject *tmp3 = NULL ;
13295 PyObject *swig_obj[3] ;
13300 if ( tmp1 == NULL )
13302 arg1 =
Alen = PyArray_DIMS( tmp1 )[0];
13303 arg2 = (
PLFLT *) PyArray_DATA( tmp1 );
13307 if ( tmp3 == NULL )
13309 if ( PyArray_DIMS( tmp3 )[0] !=
Alen )
13311 PyErr_SetString( PyExc_ValueError,
"Vectors must be same length." );
13314 arg3 = (
PLFLT *) PyArray_DATA( tmp3 );
13320 arg4 = (
PLINT)(val4);
13321 plsym(arg1,(
double const *)arg2,(
double const *)arg3,arg4);
13342 PyObject *resultobj = 0;
13349 PyObject *swig_obj[2] ;
13356 arg1 = (
PLINT)(val1);
13361 arg2 = (
PLINT)(val2);
13371 PyObject *resultobj = 0;
13383 PyObject *resultobj = 0;
13384 char *arg1 = (
char *) 0 ;
13388 PyObject *swig_obj[1] ;
13391 swig_obj[0] = args;
13396 arg1 = (
char *)(buf1);
13408 PyObject *resultobj = 0;
13412 PyObject *swig_obj[1] ;
13415 swig_obj[0] = args;
13420 arg1 = (
PLFLT)(val1);
13430 PyObject *resultobj = 0;
13438 PyArrayObject *tmp1 = NULL ;
13439 PyArrayObject *tmp2 = NULL ;
13442 PyObject *swig_obj[5] ;
13455 if ( tmp1 == NULL )
13457 Xlen = PyArray_DIMS( tmp1 )[0];
13458 Ylen = PyArray_DIMS( tmp1 )[1];
13461 for ( i = 0; i <
Xlen; i++ )
13462 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
13467 if ( tmp2 == NULL )
13469 if (
Xlen != PyArray_DIMS( tmp2 )[0] ||
Ylen != PyArray_DIMS( tmp2 )[1] )
13471 PyErr_SetString( PyExc_ValueError,
"Vectors must match matrix." );
13474 arg3 = PyArray_DIMS( tmp2 )[0];
13475 arg4 = PyArray_DIMS( tmp2 )[1];
13477 arg2 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg3 );
13478 for ( i = 0; i < arg3; i++ )
13479 arg2[i] = ( (
PLFLT *) PyArray_DATA( tmp2 ) + i * size );
13485 arg5 = (
PLFLT)(val5);
13489 if ( swig_obj[3] == Py_None )
13495 if ( !PyCallable_Check( (PyObject *) swig_obj[3] ) )
13497 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
13506 if ( swig_obj[4] == Py_None )
13514 plvect((
double const **)arg1,(
double const **)arg2,arg3,arg4,arg5,arg6,arg7);
13551 PyObject *resultobj = 0;
13567 PyObject *swig_obj[5] ;
13574 arg1 = (
PLFLT)(val1);
13579 arg2 = (
PLFLT)(val2);
13584 arg3 = (
PLFLT)(val3);
13589 arg4 = (
PLFLT)(val4);
13594 arg5 = (
PLFLT)(val5);
13595 plvpas(arg1,arg2,arg3,arg4,arg5);
13604 PyObject *resultobj = 0;
13617 PyObject *swig_obj[4] ;
13624 arg1 = (
PLFLT)(val1);
13629 arg2 = (
PLFLT)(val2);
13634 arg3 = (
PLFLT)(val3);
13639 arg4 = (
PLFLT)(val4);
13640 plvpor(arg1,arg2,arg3,arg4);
13649 PyObject *resultobj = 0;
13661 PyObject *resultobj = 0;
13695 PyObject *swig_obj[11] ;
13702 arg1 = (
PLFLT)(val1);
13707 arg2 = (
PLFLT)(val2);
13712 arg3 = (
PLFLT)(val3);
13717 arg4 = (
PLFLT)(val4);
13722 arg5 = (
PLFLT)(val5);
13727 arg6 = (
PLFLT)(val6);
13732 arg7 = (
PLFLT)(val7);
13737 arg8 = (
PLFLT)(val8);
13742 arg9 = (
PLFLT)(val9);
13747 arg10 = (
PLFLT)(val10);
13752 arg11 = (
PLFLT)(val11);
13753 plw3d(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
13762 PyObject *resultobj = 0;
13766 PyObject *swig_obj[1] ;
13769 swig_obj[0] = args;
13774 arg1 = (
PLFLT)(val1);
13784 PyObject *resultobj = 0;
13797 PyObject *swig_obj[4] ;
13804 arg1 = (
PLFLT)(val1);
13809 arg2 = (
PLFLT)(val2);
13814 arg3 = (
PLFLT)(val3);
13819 arg4 = (
PLFLT)(val4);
13820 plwind(arg1,arg2,arg3,arg4);
13829 PyObject *resultobj = 0;
13836 PyObject *swig_obj[1] ;
13840 swig_obj[0] = args;
13861 PyObject *resultobj = 0;
13863 char *arg2 = (
char *) 0 ;
13879 PyObject *swig_obj[6] ;
13884 if ( swig_obj[0] == Py_None )
13890 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
13892 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
13902 arg2 = (
char *)(buf2);
13907 arg3 = (
PLFLT)(val3);
13912 arg4 = (
PLFLT)(val4);
13917 arg5 = (
PLFLT)(val5);
13922 arg6 = (
PLFLT)(val6);
13923 plmap(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6);
13940 PyObject *resultobj = 0;
13942 char *arg2 = (
char *) 0 ;
13960 PyArrayObject *tmp7 = NULL ;
13961 PyObject *swig_obj[7] ;
13966 if ( swig_obj[0] == Py_None )
13972 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
13974 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
13984 arg2 = (
char *)(buf2);
13989 arg3 = (
PLFLT)(val3);
13994 arg4 = (
PLFLT)(val4);
13999 arg5 = (
PLFLT)(val5);
14004 arg6 = (
PLFLT)(val6);
14006 if ( swig_obj[6] != Py_None )
14009 if ( tmp7 == NULL )
14011 arg7 = (
PLINT *) PyArray_DATA( tmp7 );
14012 arg8 = PyArray_DIMS( tmp7 )[0];
14020 plmapline(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6,(
int const *)arg7,arg8);
14043 PyObject *resultobj = 0;
14045 char *arg2 = (
char *) 0 ;
14046 char *arg3 = (
char *) 0 ;
14067 PyArrayObject *tmp8 = NULL ;
14068 PyObject *swig_obj[8] ;
14073 if ( swig_obj[0] == Py_None )
14079 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14081 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14091 arg2 = (
char *)(buf2);
14096 arg3 = (
char *)(buf3);
14101 arg4 = (
PLFLT)(val4);
14106 arg5 = (
PLFLT)(val5);
14111 arg6 = (
PLFLT)(val6);
14116 arg7 = (
PLFLT)(val7);
14118 if ( swig_obj[7] != Py_None )
14121 if ( tmp8 == NULL )
14123 arg8 = (
PLINT *) PyArray_DATA( tmp8 );
14124 arg9 = PyArray_DIMS( tmp8 )[0];
14132 plmapstring(arg1,(
char const *)arg2,(
char const *)arg3,arg4,arg5,arg6,arg7,(
int const *)arg8,arg9);
14157 PyObject *resultobj = 0;
14159 char *arg2 = (
char *) 0 ;
14163 char *arg6 = (
char *) 0 ;
14191 PyObject *swig_obj[11] ;
14196 if ( swig_obj[0] == Py_None )
14202 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14204 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14214 arg2 = (
char *)(buf2);
14219 arg3 = (
PLFLT)(val3);
14224 arg4 = (
PLFLT)(val4);
14229 arg5 = (
PLFLT)(val5);
14234 arg6 = (
char *)(buf6);
14239 arg7 = (
PLFLT)(val7);
14244 arg8 = (
PLFLT)(val8);
14249 arg9 = (
PLFLT)(val9);
14254 arg10 = (
PLFLT)(val10);
14259 arg11 = (
PLINT)(val11);
14260 plmaptex(arg1,(
char const *)arg2,arg3,arg4,arg5,(
char const *)arg6,arg7,arg8,arg9,arg10,arg11);
14279 PyObject *resultobj = 0;
14281 char *arg2 = (
char *) 0 ;
14299 PyArrayObject *tmp7 = NULL ;
14300 PyObject *swig_obj[7] ;
14305 if ( swig_obj[0] == Py_None )
14311 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14313 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14323 arg2 = (
char *)(buf2);
14328 arg3 = (
PLFLT)(val3);
14333 arg4 = (
PLFLT)(val4);
14338 arg5 = (
PLFLT)(val5);
14343 arg6 = (
PLFLT)(val6);
14345 if ( swig_obj[6] != Py_None )
14348 if ( tmp7 == NULL )
14350 arg7 = (
PLINT *) PyArray_DATA( tmp7 );
14351 arg8 = PyArray_DIMS( tmp7 )[0];
14359 plmapfill(arg1,(
char const *)arg2,arg3,arg4,arg5,arg6,(
int const *)arg7,arg8);
14382 PyObject *resultobj = 0;
14402 PyObject *swig_obj[7] ;
14407 if ( swig_obj[0] == Py_None )
14413 if ( !PyCallable_Check( (PyObject *) swig_obj[0] ) )
14415 PyErr_SetString( PyExc_ValueError,
"mapform argument must be callable" );
14425 arg2 = (
PLFLT)(val2);
14430 arg3 = (
PLFLT)(val3);
14435 arg4 = (
PLFLT)(val4);
14440 arg5 = (
PLFLT)(val5);
14445 arg6 = (
PLFLT)(val6);
14450 arg7 = (
PLFLT)(val7);
14466 PyObject *resultobj = 0;
14480 PyArrayObject *tmp1 = NULL ;
14501 PyObject *swig_obj[11] ;
14507 if ( tmp1 == NULL )
14509 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
14510 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
14512 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
14513 for ( i = 0; i < arg2; i++ )
14514 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
14520 arg4 = (
PLFLT)(val4);
14525 arg5 = (
PLFLT)(val5);
14530 arg6 = (
PLFLT)(val6);
14535 arg7 = (
PLFLT)(val7);
14540 arg8 = (
PLFLT)(val8);
14545 arg9 = (
PLFLT)(val9);
14550 arg10 = (
PLFLT)(val10);
14555 arg11 = (
PLFLT)(val11);
14560 arg12 = (
PLFLT)(val12);
14565 arg13 = (
PLFLT)(val13);
14566 plimage((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
14583 PyObject *resultobj = 0;
14597 PyArrayObject *tmp1 = NULL ;
14614 PyObject *swig_obj[11] ;
14627 if ( tmp1 == NULL )
14629 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
14630 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
14632 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
14633 for ( i = 0; i < arg2; i++ )
14634 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
14640 arg4 = (
PLFLT)(val4);
14645 arg5 = (
PLFLT)(val5);
14650 arg6 = (
PLFLT)(val6);
14655 arg7 = (
PLFLT)(val7);
14660 arg8 = (
PLFLT)(val8);
14665 arg9 = (
PLFLT)(val9);
14670 arg10 = (
PLFLT)(val10);
14675 arg11 = (
PLFLT)(val11);
14679 if ( swig_obj[9] == Py_None )
14685 if ( !PyCallable_Check( (PyObject *) swig_obj[9] ) )
14687 PyErr_SetString( PyExc_ValueError,
"pltr argument must be callable" );
14694 if (swig_obj[10]) {
14696 if ( swig_obj[10] == Py_None )
14704 plimagefr((
double const **)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
14733 PyObject *resultobj = 0;
14745 PyObject *resultobj = 0;
14757 PyObject *resultobj = 0;
14758 char *arg1 = (
char *) 0 ;
14759 char *arg2 = (
char *) 0 ;
14766 PyObject *swig_obj[2] ;
14773 arg1 = (
char *)(buf1);
14778 arg2 = (
char *)(buf2);
14779 plSetUsage((
char const *)arg1,(
char const *)arg2);
14792 PyObject *resultobj = 0;
14804 PyObject *resultobj = 0;
14810 PyArrayObject *tmp1 = NULL ;
14815 PyObject *swig_obj[1] ;
14820 swig_obj[0] = args;
14824 if ( tmp1 == NULL )
14826 Xlen = arg2 = PyArray_DIMS( tmp1 )[0];
14827 Ylen = arg3 = PyArray_DIMS( tmp1 )[1];
14829 arg1 = (
PLFLT **) malloc(
sizeof (
PLFLT* ) * (size_t) arg2 );
14830 for ( i = 0; i < arg2; i++ )
14831 arg1[i] = ( (
PLFLT *) PyArray_DATA( tmp1 ) + i * size );
14862 PyObject *resultobj = 0;
14866 PyObject *swig_obj[1] ;
14870 swig_obj[0] = args;
14918 "Set format of numerical label for contours\n"
14922 " Set format of numerical label for contours.\n"
14924 " Redacted form: pl_setcontlabelformat(lexp, sigdig)\n"
14926 " This function is used example 9.\n"
14932 "pl_setcontlabelformat(lexp, sigdig)\n"
14936 " lexp (PLINT, input) : If the contour numerical label is greater\n"
14937 " than 10^(lexp) or less than 10^(-lexp), then the exponential\n"
14938 " format is used. Default value of lexp is 4.\n"
14940 " sigdig (PLINT, input) : Number of significant digits. Default\n"
14945 "Set parameters of contour labelling other than format of numerical label\n"
14949 " Set parameters of contour labelling other than those handled by\n"
14950 " pl_setcontlabelformat.\n"
14952 " Redacted form: pl_setcontlabelparam(offset, size, spacing, active)\n"
14954 " This function is used in example 9.\n"
14960 "pl_setcontlabelparam(offset, size, spacing, active)\n"
14964 " offset (PLFLT, input) : Offset of label from contour line (if set\n"
14965 " to 0.0, labels are printed on the lines). Default value is 0.006.\n"
14967 " size (PLFLT, input) : Font height for contour labels (normalized).\n"
14968 " Default value is 0.3.\n"
14970 " spacing (PLFLT, input) : Spacing parameter for contour labels.\n"
14971 " Default value is 0.1.\n"
14973 " active (PLINT, input) : Activate labels. Set to 1 if you want\n"
14974 " contour labels on. Default is off (0).\n"
14978 "Advance the (sub-)page\n"
14982 " Advances to the next subpage if sub=0, performing a page advance if\n"
14983 " there are no remaining subpages on the current page. If subpages\n"
14984 " aren't being used, pladv(0) will always advance the page. If page>0,\n"
14985 " PLplot switches to the specified subpage. Note that this allows you\n"
14986 " to overwrite a plot on the specified subpage; if this is not what you\n"
14987 " intended, use pleop followed by plbop to first advance the page. This\n"
14988 " routine is called automatically (with page=0) by plenv, but if plenv\n"
14989 " is not used, pladv must be called after initializing PLplot but before\n"
14990 " defining the viewport.\n"
14992 " Redacted form: pladv(page)\n"
14994 " This function is used in examples 1, 2, 4, 6-12, 14-18, 20, 21, 23-27,\n"
15005 " page (PLINT, input) : Specifies the subpage number (starting from 1\n"
15006 " in the top left corner and increasing along the rows) to which to\n"
15007 " advance. Set to zero to advance to the next subpage (or to the\n"
15008 " next page if subpages are not being used).\n"
15012 "Draw a circular or elliptical arc\n"
15016 " Draw a possibly filled arc centered at x, y with semimajor axis a and\n"
15017 " semiminor axis b, starting at angle1 and ending at angle2.\n"
15019 " Redacted form: General: plarc(x, y, a, b, angle1, angle2, rotate,\n"
15023 " This function is used in examples 3 and 27.\n"
15029 "plarc(x, y, a, b, angle1, angle2, rotate, fill)\n"
15033 " x (PLFLT, input) : X coordinate of arc center.\n"
15035 " y (PLFLT, input) : Y coordinate of arc center.\n"
15037 " a (PLFLT, input) : Length of the semimajor axis of the arc.\n"
15039 " b (PLFLT, input) : Length of the semiminor axis of the arc.\n"
15041 " angle1 (PLFLT, input) : Starting angle of the arc relative to the\n"
15042 " semimajor axis.\n"
15044 " angle2 (PLFLT, input) : Ending angle of the arc relative to the\n"
15045 " semimajor axis.\n"
15047 " rotate (PLFLT, input) : Angle of the semimajor axis relative to the\n"
15050 " fill (PLBOOL, input) : Draw a filled arc.\n"
15054 "Draw a box with axes, etc. with arbitrary origin\n"
15058 " Draws a box around the currently defined viewport with arbitrary\n"
15059 " world-coordinate origin specified by x0 and y0 and labels it with\n"
15060 " world coordinate values appropriate to the window. Thus plaxes should\n"
15061 " only be called after defining both viewport and window. The ascii\n"
15062 " character strings xopt and yopt specify how the box should be drawn as\n"
15063 " described below. If ticks and/or subticks are to be drawn for a\n"
15064 " particular axis, the tick intervals and number of subintervals may be\n"
15065 " specified explicitly, or they may be defaulted by setting the\n"
15066 " appropriate arguments to zero.\n"
15068 " Redacted form: General: plaxes(x0, y0, xopt, xtick, nxsub, yopt,\n"
15072 " This function is not used in any examples.\n"
15078 "plaxes(x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub)\n"
15082 " x0 (PLFLT, input) : World X coordinate of origin.\n"
15084 " y0 (PLFLT, input) : World Y coordinate of origin.\n"
15086 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15087 " options for the x axis. The string can include any combination of\n"
15088 " the following letters (upper or lower case) in any order: a: Draws\n"
15089 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n"
15091 " b: Draws bottom (X) or left (Y) edge of frame.\n"
15092 " c: Draws top (X) or right (Y) edge of frame.\n"
15093 " d: Plot labels as date / time. Values are assumed to be\n"
15094 " seconds since the epoch (as used by gmtime).\n"
15095 " f: Always use fixed point numeric labels.\n"
15096 " g: Draws a grid at the major tick interval.\n"
15097 " h: Draws a grid at the minor tick interval.\n"
15098 " i: Inverts tick marks, so they are drawn outwards, rather than\n"
15100 " l: Labels axis logarithmically. This only affects the labels,\n"
15101 " not the data, and so it is necessary to compute the logarithms\n"
15102 " of data points before passing them to any of the drawing\n"
15104 " m: Writes numeric labels at major tick intervals in the\n"
15105 " unconventional location (above box for X, right of box for Y).\n"
15106 " n: Writes numeric labels at major tick intervals in the\n"
15107 " conventional location (below box for X, left of box for Y).\n"
15108 " o: Use custom labelling function to generate axis label text.\n"
15109 " The custom labelling function can be defined with the\n"
15110 " plslabelfunc command.\n"
15111 " s: Enables subticks between major ticks, only valid if t is\n"
15112 " also specified.\n"
15113 " t: Draws major ticks.\n"
15114 " u: Exactly like \"b\" except don't draw edge line.\n"
15115 " w: Exactly like \"c\" except don't draw edge line.\n"
15116 " x: Exactly like \"t\" (including the side effect of the\n"
15117 " numerical labels for the major ticks) except exclude drawing\n"
15118 " the major and minor tick marks.\n"
15121 " xtick (PLFLT, input) : World coordinate interval between major\n"
15122 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
15123 " generates a suitable tick interval.\n"
15125 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
15126 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15127 " generates a suitable minor tick interval.\n"
15129 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15130 " options for the y axis. The string can include any combination of\n"
15131 " the letters defined above for xopt, and in addition may contain:\n"
15132 " v: Write numeric labels for the y axis parallel to the base of the\n"
15133 " graph, rather than parallel to the axis.\n"
15136 " ytick (PLFLT, input) : World coordinate interval between major\n"
15137 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
15138 " generates a suitable tick interval.\n"
15140 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
15141 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15142 " generates a suitable minor tick interval.\n"
15146 "Plot a histogram from binned data\n"
15150 " Plots a histogram consisting of nbin bins. The value associated with\n"
15151 " the i'th bin is placed in x[i], and the number of points in the bin is\n"
15152 " placed in y[i]. For proper operation, the values in x[i] must form a\n"
15153 " strictly increasing sequence. By default, x[i] is the left-hand edge\n"
15154 " of the i'th bin. If opt=PL_BIN_CENTRED is used, the bin boundaries are\n"
15155 " placed midway between the values in the x vector. Also see plhist for\n"
15156 " drawing histograms from unbinned data.\n"
15158 " Redacted form: General: plbin(x, y, opt)\n"
15159 " Python: plbin(nbin, x, y, opt)\n"
15162 " This function is not used in any examples.\n"
15168 "plbin(nbin, x, y, opt)\n"
15172 " nbin (PLINT, input) : Number of bins (i.e., number of values in x\n"
15173 " and y vectors.)\n"
15175 " x (PLFLT_VECTOR, input) : A vector containing values associated\n"
15176 " with bins. These must form a strictly increasing sequence.\n"
15178 " y (PLFLT_VECTOR, input) : A vector containing a number which is\n"
15179 " proportional to the number of points in each bin. This is a PLFLT\n"
15180 " (instead of PLINT) vector so as to allow histograms of\n"
15181 " probabilities, etc.\n"
15183 " opt (PLINT, input) : Is a combination of several flags:\n"
15184 " opt=PL_BIN_DEFAULT: The x represent the lower bin boundaries, the\n"
15185 " outer bins are expanded to fill up the entire x-axis and bins of\n"
15186 " zero height are simply drawn.\n"
15187 " opt=PL_BIN_CENTRED|...: The bin boundaries are to be midway\n"
15188 " between the x values. If the values in x are equally spaced,\n"
15189 " the values are the center values of the bins.\n"
15190 " opt=PL_BIN_NOEXPAND|...: The outer bins are drawn with equal\n"
15191 " size as the ones inside.\n"
15192 " opt=PL_BIN_NOEMPTY|...: Bins with zero height are not drawn\n"
15193 " (there is a gap for such bins).\n"
15197 "Calculate broken-down time from continuous time for the current stream\n"
15201 " Calculate broken-down time; year, month, day, hour, min, sec; from\n"
15202 " continuous time, ctime for the current stream. This function is the\n"
15203 " inverse of plctime.\n"
15205 " The PLplot definition of broken-down time is a calendar time that\n"
15206 " completely ignores all time zone offsets, i.e., it is the user's\n"
15207 " responsibility to apply those offsets (if so desired) before using the\n"
15208 " PLplot time API. By default broken-down time is defined using the\n"
15209 " proleptic Gregorian calendar without the insertion of leap seconds and\n"
15210 " continuous time is defined as the number of seconds since the Unix\n"
15211 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n"
15212 " broken-down and continuous time are possible, see plconfigtime.\n"
15214 " Redacted form: General: plbtime(year, month, day, hour, min, sec,\n"
15218 " This function is used in example 29.\n"
15224 "plbtime(year, month, day, hour, min, sec, ctime)\n"
15228 " year (PLINT_NC_SCALAR, output) : Returned value of years with\n"
15229 " positive values corresponding to CE (i.e., 1 = 1 CE, etc.) and\n"
15230 " non-negative values corresponding to BCE (e.g., 0 = 1 BCE, -1 = 2\n"
15233 " month (PLINT_NC_SCALAR, output) : Returned value of month within\n"
15234 " the year in the range from 0 (January) to 11 (December).\n"
15236 " day (PLINT_NC_SCALAR, output) : Returned value of day within the\n"
15237 " month in the range from 1 to 31.\n"
15239 " hour (PLINT_NC_SCALAR, output) : Returned value of hour within the\n"
15240 " day in the range from 0 to 23.\n"
15242 " min (PLINT_NC_SCALAR, output) : Returned value of minute within the\n"
15243 " hour in the range from 0 to 59\n"
15245 " sec (PLFLT_NC_SCALAR, output) : Returned value of second within the\n"
15246 " minute in range from 0. to 60.\n"
15248 " ctime (PLFLT, input) : Continuous time from which the broken-down\n"
15249 " time is calculated.\n"
15253 "Begin a new page\n"
15257 " Begins a new page. For a file driver, the output file is opened if\n"
15258 " necessary. Advancing the page via pleop and plbop is useful when a\n"
15259 " page break is desired at a particular point when plotting to subpages.\n"
15260 " Another use for pleop and plbop is when plotting pages to different\n"
15261 " files, since you can manually set the file name by calling plsfnam\n"
15262 " after the call to pleop. (In fact some drivers may only support a\n"
15263 " single page per file, making this a necessity.) One way to handle\n"
15264 " this case automatically is to page advance via pladv, but enable\n"
15265 " familying (see plsfam) with a small limit on the file size so that a\n"
15266 " new family member file will be created on each page break.\n"
15268 " Redacted form: plbop()\n"
15270 " This function is used in examples 2 and 20.\n"
15280 "Draw a box with axes, etc\n"
15284 " Draws a box around the currently defined viewport, and labels it with\n"
15285 " world coordinate values appropriate to the window. Thus plbox should\n"
15286 " only be called after defining both viewport and window. The ascii\n"
15287 " character strings xopt and yopt specify how the box should be drawn as\n"
15288 " described below. If ticks and/or subticks are to be drawn for a\n"
15289 " particular axis, the tick intervals and number of subintervals may be\n"
15290 " specified explicitly, or they may be defaulted by setting the\n"
15291 " appropriate arguments to zero.\n"
15293 " Redacted form: General: plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n"
15296 " This function is used in examples 1, 2, 4, 6, 6-12, 14-18, 21, 23-26,\n"
15303 "plbox(xopt, xtick, nxsub, yopt, ytick, nysub)\n"
15307 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15308 " options for the x axis. The string can include any combination of\n"
15309 " the following letters (upper or lower case) in any order: a: Draws\n"
15310 " axis, X-axis is horizontal line (y=0), and Y-axis is vertical line\n"
15312 " b: Draws bottom (X) or left (Y) edge of frame.\n"
15313 " c: Draws top (X) or right (Y) edge of frame.\n"
15314 " d: Plot labels as date / time. Values are assumed to be\n"
15315 " seconds since the epoch (as used by gmtime).\n"
15316 " f: Always use fixed point numeric labels.\n"
15317 " g: Draws a grid at the major tick interval.\n"
15318 " h: Draws a grid at the minor tick interval.\n"
15319 " i: Inverts tick marks, so they are drawn outwards, rather than\n"
15321 " l: Labels axis logarithmically. This only affects the labels,\n"
15322 " not the data, and so it is necessary to compute the logarithms\n"
15323 " of data points before passing them to any of the drawing\n"
15325 " m: Writes numeric labels at major tick intervals in the\n"
15326 " unconventional location (above box for X, right of box for Y).\n"
15327 " n: Writes numeric labels at major tick intervals in the\n"
15328 " conventional location (below box for X, left of box for Y).\n"
15329 " o: Use custom labelling function to generate axis label text.\n"
15330 " The custom labelling function can be defined with the\n"
15331 " plslabelfunc command.\n"
15332 " s: Enables subticks between major ticks, only valid if t is\n"
15333 " also specified.\n"
15334 " t: Draws major ticks.\n"
15335 " u: Exactly like \"b\" except don't draw edge line.\n"
15336 " w: Exactly like \"c\" except don't draw edge line.\n"
15337 " x: Exactly like \"t\" (including the side effect of the\n"
15338 " numerical labels for the major ticks) except exclude drawing\n"
15339 " the major and minor tick marks.\n"
15342 " xtick (PLFLT, input) : World coordinate interval between major\n"
15343 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
15344 " generates a suitable tick interval.\n"
15346 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
15347 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15348 " generates a suitable minor tick interval.\n"
15350 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15351 " options for the y axis. The string can include any combination of\n"
15352 " the letters defined above for xopt, and in addition may contain:\n"
15353 " v: Write numeric labels for the y axis parallel to the base of the\n"
15354 " graph, rather than parallel to the axis.\n"
15357 " ytick (PLFLT, input) : World coordinate interval between major\n"
15358 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
15359 " generates a suitable tick interval.\n"
15361 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
15362 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15363 " generates a suitable minor tick interval.\n"
15367 "Draw a box with axes, etc, in 3-d\n"
15371 " Draws axes, numeric and text labels for a three-dimensional surface\n"
15372 " plot. For a more complete description of three-dimensional plotting\n"
15373 " see the PLplot documentation.\n"
15375 " Redacted form: General: plbox3(xopt, xlabel, xtick, nxsub, yopt,\n"
15376 " ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n"
15379 " This function is used in examples 8, 11, 18, and 21.\n"
15385 "plbox3(xopt, xlabel, xtick, nxsub, yopt, ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)\n"
15389 " xopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15390 " options for the x axis. The string can include any combination of\n"
15391 " the following letters (upper or lower case) in any order: b: Draws\n"
15392 " axis at base, at height z=\n"
15393 " zmin where zmin is defined by call to plw3d. This character must be\n"
15394 " specified in order to use any of the other options.\n"
15395 " d: Plot labels as date / time. Values are assumed to be\n"
15396 " seconds since the epoch (as used by gmtime).\n"
15397 " f: Always use fixed point numeric labels.\n"
15398 " i: Inverts tick marks, so they are drawn downwards, rather\n"
15400 " l: Labels axis logarithmically. This only affects the labels,\n"
15401 " not the data, and so it is necessary to compute the logarithms\n"
15402 " of data points before passing them to any of the drawing\n"
15404 " n: Writes numeric labels at major tick intervals.\n"
15405 " o: Use custom labelling function to generate axis label text.\n"
15406 " The custom labelling function can be defined with the\n"
15407 " plslabelfunc command.\n"
15408 " s: Enables subticks between major ticks, only valid if t is\n"
15409 " also specified.\n"
15410 " t: Draws major ticks.\n"
15411 " u: If this is specified, the text label for the axis is\n"
15412 " written under the axis.\n"
15415 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
15416 " the text label for the x axis. It is only drawn if u is in the\n"
15419 " xtick (PLFLT, input) : World coordinate interval between major\n"
15420 " ticks on the x axis. If it is set to zero, PLplot automatically\n"
15421 " generates a suitable tick interval.\n"
15423 " nxsub (PLINT, input) : Number of subintervals between major x axis\n"
15424 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15425 " generates a suitable minor tick interval.\n"
15427 " yopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15428 " options for the y axis. The string is interpreted in the same way\n"
15431 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
15432 " the text label for the y axis. It is only drawn if u is in the\n"
15435 " ytick (PLFLT, input) : World coordinate interval between major\n"
15436 " ticks on the y axis. If it is set to zero, PLplot automatically\n"
15437 " generates a suitable tick interval.\n"
15439 " nysub (PLINT, input) : Number of subintervals between major y axis\n"
15440 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15441 " generates a suitable minor tick interval.\n"
15443 " zopt (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
15444 " options for the z axis. The string can include any combination of\n"
15445 " the following letters (upper or lower case) in any order: b: Draws\n"
15446 " z axis to the left of the surface plot.\n"
15447 " c: Draws z axis to the right of the surface plot.\n"
15448 " d: Draws grid lines parallel to the x-y plane behind the\n"
15449 " figure. These lines are not drawn until after plot3d or\n"
15450 " plmesh are called because of the need for hidden line removal.\n"
15451 " e: Plot labels as date / time. Values are assumed to be\n"
15452 " seconds since the epoch (as used by gmtime). Note this\n"
15453 " suboption is interpreted the same as the d suboption for xopt\n"
15454 " and yopt, but it has to be identified as e for zopt since d\n"
15455 " has already been used for the different purpose above.\n"
15456 " f: Always use fixed point numeric labels.\n"
15457 " i: Inverts tick marks, so they are drawn away from the center.\n"
15458 " l: Labels axis logarithmically. This only affects the labels,\n"
15459 " not the data, and so it is necessary to compute the logarithms\n"
15460 " of data points before passing them to any of the drawing\n"
15462 " m: Writes numeric labels at major tick intervals on the\n"
15463 " right-hand z axis.\n"
15464 " n: Writes numeric labels at major tick intervals on the\n"
15465 " left-hand z axis.\n"
15466 " o: Use custom labelling function to generate axis label text.\n"
15467 " The custom labelling function can be defined with the\n"
15468 " plslabelfunc command.\n"
15469 " s: Enables subticks between major ticks, only valid if t is\n"
15470 " also specified.\n"
15471 " t: Draws major ticks.\n"
15472 " u: If this is specified, the text label is written beside the\n"
15473 " left-hand axis.\n"
15474 " v: If this is specified, the text label is written beside the\n"
15475 " right-hand axis.\n"
15478 " zlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
15479 " the text label for the z axis. It is only drawn if u or v are in\n"
15480 " the zopt string.\n"
15482 " ztick (PLFLT, input) : World coordinate interval between major\n"
15483 " ticks on the z axis. If it is set to zero, PLplot automatically\n"
15484 " generates a suitable tick interval.\n"
15486 " nzsub (PLINT, input) : Number of subintervals between major z axis\n"
15487 " ticks for minor ticks. If it is set to zero, PLplot automatically\n"
15488 " generates a suitable minor tick interval.\n"
15492 "Calculate world coordinates and corresponding window index from relative device coordinates\n"
15496 " Calculate world coordinates, wx and wy, and corresponding window index\n"
15497 " from relative device coordinates, rx and ry.\n"
15499 " Redacted form: General: plcalc_world(rx, ry, wx, wy, window)\n"
15502 " This function is used in example 31.\n"
15508 "plcalc_world(rx, ry, wx, wy, window)\n"
15512 " rx (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n"
15513 " the x coordinate.\n"
15515 " ry (PLFLT, input) : Input relative device coordinate (0.0-1.0) for\n"
15516 " the y coordinate.\n"
15518 " wx (PLFLT_NC_SCALAR, output) : Returned value of the x world\n"
15519 " coordinate corresponding to the relative device coordinates rx and\n"
15522 " wy (PLFLT_NC_SCALAR, output) : Returned value of the y world\n"
15523 " coordinate corresponding to the relative device coordinates rx and\n"
15526 " window (PLINT_NC_SCALAR, output) : Returned value of the last\n"
15527 " defined window index that corresponds to the input relative device\n"
15528 " coordinates (and the returned world coordinates). To give some\n"
15529 " background on the window index, for each page the initial window\n"
15530 " index is set to zero, and each time plwind is called within the\n"
15531 " page, world and device coordinates are stored for the window and\n"
15532 " the window index is incremented. Thus, for a simple page layout\n"
15533 " with non-overlapping viewports and one window per viewport, window\n"
15534 " corresponds to the viewport index (in the order which the\n"
15535 " viewport/windows were created) of the only viewport/window\n"
15536 " corresponding to rx and ry. However, for more complicated layouts\n"
15537 " with potentially overlapping viewports and possibly more than one\n"
15538 " window (set of world coordinates) per viewport, window and the\n"
15539 " corresponding output world coordinates corresponds to the last\n"
15540 " window created that fulfills the criterion that the relative\n"
15541 " device coordinates are inside it. Finally, in all cases where the\n"
15542 " input relative device coordinates are not inside any\n"
15543 " viewport/window, then the returned value of the last defined\n"
15544 " window index is set to -1.\n"
15548 "Clear current (sub)page\n"
15552 " Clears the current page, effectively erasing everything that have been\n"
15553 " drawn. This command only works with interactive drivers; if the\n"
15554 " driver does not support this, the page is filled with the background\n"
15555 " color in use. If the current page is divided into subpages, only the\n"
15556 " current subpage is erased. The nth subpage can be selected with\n"
15559 " Redacted form: General: plclear()\n"
15562 " This function is not used in any examples.\n"
15572 "Set color, cmap0\n"
15576 " Sets the color index for cmap0 (see the PLplot documentation).\n"
15578 " Redacted form: plcol0(icol0)\n"
15580 " This function is used in examples 1-9, 11-16, 18-27, and 29.\n"
15590 " icol0 (PLINT, input) : Integer representing the color. The\n"
15591 " defaults at present are (these may change):\n"
15592 " 0 black (default background)\n"
15593 " 1 red (default foreground)\n"
15609 " Use plscmap0 to change the entire cmap0 color palette and plscol0 to\n"
15610 " change an individual color in the cmap0 color palette.\n"
15614 "Set color, cmap1\n"
15618 " Sets the color for cmap1 (see the PLplot documentation).\n"
15620 " Redacted form: plcol1(col1)\n"
15622 " This function is used in examples 12 and 21.\n"
15632 " col1 (PLFLT, input) : This value must be in the range (0.0-1.0) and\n"
15633 " is mapped to color using the continuous cmap1 palette which by\n"
15634 " default ranges from blue to the background color to red. The\n"
15635 " cmap1 palette can also be straightforwardly changed by the user\n"
15636 " with plscmap1 or plscmap1l.\n"
15640 "Configure the transformation between continuous and broken-down time for the current stream\n"
15644 " Configure the transformation between continuous and broken-down time\n"
15645 " for the current stream. This transformation is used by both plbtime\n"
15648 " Redacted form: General: plconfigtime(scale, offset1, offset2,\n"
15649 " ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n"
15652 " This function is used in example 29.\n"
15658 "plconfigtime(scale, offset1, offset2, ccontrol, ifbtime_offset, year, month, day, hour, min, sec)\n"
15662 " scale (PLFLT, input) : The number of days per continuous time unit.\n"
15663 " As a special case, if\n"
15664 " scale is 0., then all other arguments are ignored, and the result (the\n"
15665 " default used by PLplot) is the equivalent of a call to\n"
15666 " plconfigtime(1./86400., 0., 0., 0x0, 1, 1970, 0, 1, 0, 0, 0.).\n"
15667 " That is, for this special case broken-down time is calculated with\n"
15668 " the proleptic Gregorian calendar with no leap seconds inserted,\n"
15669 " and the continuous time is defined as the number of seconds since\n"
15670 " the Unix epoch of 1970-01-01T00:00:00Z.\n"
15672 " offset1 (PLFLT, input) : If\n"
15673 " ifbtime_offset is true, the parameters\n"
15675 " offset2 are completely ignored. Otherwise, the sum of these parameters\n"
15676 " (with units in days) specify the epoch of the continuous time\n"
15677 " relative to the MJD epoch corresponding to the Gregorian calendar\n"
15678 " date of 1858-11-17T00:00:00Z or JD = 2400000.5. Two PLFLT numbers\n"
15679 " are used to specify the origin to allow users (by specifying\n"
15680 " offset1 as an integer that can be exactly represented by a\n"
15681 " floating-point variable and specifying\n"
15682 " offset2 as a number in the range from 0. to 1) the chance to minimize\n"
15683 " the numerical errors of the continuous time representation.\n"
15685 " offset2 (PLFLT, input) : See documentation of\n"
15688 " ccontrol (PLINT, input) : ccontrol contains bits controlling the\n"
15689 " transformation. If the 0x1 bit is set, then the proleptic Julian\n"
15690 " calendar is used for broken-down time rather than the proleptic\n"
15691 " Gregorian calendar. If the 0x2 bit is set, then leap seconds that\n"
15692 " have been historically used to define UTC are inserted into the\n"
15693 " broken-down time. Other possibilities for additional control bits\n"
15694 " for ccontrol exist such as making the historical time corrections\n"
15695 " in the broken-down time corresponding to ET (ephemeris time) or\n"
15696 " making the (slightly non-constant) corrections from international\n"
15697 " atomic time (TAI) to what astronomers define as terrestrial time\n"
15698 " (TT). But those additional possibilities have not been\n"
15699 " implemented yet in the qsastime library (one of the PLplot utility\n"
15702 " ifbtime_offset (PLBOOL, input) : ifbtime_offset controls how the\n"
15703 " epoch of the continuous time scale is specified by the user. If\n"
15704 " ifbtime_offset is false, then\n"
15706 " offset2 are used to specify the epoch, and the following broken-down\n"
15707 " time parameters are completely ignored. If\n"
15708 " ifbtime_offset is true, then\n"
15710 " offset2 are completely ignored, and the following broken-down time\n"
15711 " parameters are used to specify the epoch.\n"
15713 " year (PLINT, input) : Year of epoch.\n"
15715 " month (PLINT, input) : Month of epoch in range from 0 (January) to\n"
15716 " 11 (December).\n"
15718 " day (PLINT, input) : Day of epoch in range from 1 to 31.\n"
15720 " hour (PLINT, input) : Hour of epoch in range from 0 to 23\n"
15722 " min (PLINT, input) : Minute of epoch in range from 0 to 59.\n"
15724 " sec (PLFLT, input) : Second of epoch in range from 0. to 60.\n"
15732 " Draws a contour plot of the data in f[\n"
15734 " ny], using the nlevel contour levels specified by clevel. Only the\n"
15735 " region of the matrix from kx to lx and from ky to ly is plotted out\n"
15736 " where all these index ranges are interpreted as one-based for\n"
15737 " historical reasons. A transformation routine pointed to by pltr with\n"
15738 " a generic pointer pltr_data for additional data required by the\n"
15739 " transformation routine is used to map indices within the matrix to the\n"
15740 " world coordinates.\n"
15742 " Redacted form: plcont(f, kx, lx, ky, ly, clevel, pltr, pltr_data)\n"
15743 " where (see above discussion) the pltr, pltr_data callback arguments\n"
15744 " are sometimes replaced by a tr vector with 6 elements; xg and yg\n"
15745 " vectors; or xg and yg matrices.\n"
15747 " This function is used in examples 9, 14, 16, and 22.\n"
15753 "plcont(f, nx, ny, kx, lx, ky, ly, clevel, nlevel, pltr, pltr_data)\n"
15757 " f (PLFLT_MATRIX, input) : A matrix containing data to be contoured.\n"
15759 " nx, ny (PLINT, input) : The dimensions of the matrix f.\n"
15761 " kx, lx (PLINT, input) : Range of x indices to consider where 0 <=\n"
15762 " kx-1 < lx-1 < nx. Values of kx and lx are one-based rather than\n"
15763 " zero-based for historical backwards-compatibility reasons.\n"
15765 " ky, ly (PLINT, input) : Range of y indices to consider where 0 <=\n"
15766 " ky-1 < ly-1 < ny. Values of ky and ly are one-based rather than\n"
15767 " zero-based for historical backwards-compatibility reasons.\n"
15769 " clevel (PLFLT_VECTOR, input) : A vector specifying the levels at\n"
15770 " which to draw contours.\n"
15772 " nlevel (PLINT, input) : Number of contour levels to draw.\n"
15774 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
15775 " defines the transformation between the zero-based indices of the\n"
15776 " matrix f and the world coordinates.For the C case, transformation\n"
15777 " functions are provided in the PLplot library: pltr0 for the\n"
15778 " identity mapping, and pltr1 and pltr2 for arbitrary mappings\n"
15779 " respectively defined by vectors and matrices. In addition, C\n"
15780 " callback routines for the transformation can be supplied by the\n"
15781 " user such as the mypltr function in examples/c/x09c.c which\n"
15782 " provides a general linear transformation between index coordinates\n"
15783 " and world coordinates.For languages other than C you should\n"
15784 " consult the PLplot documentation for the details concerning how\n"
15785 " PLTRANSFORM_callback arguments are interfaced. However, in\n"
15786 " general, a particular pattern of callback-associated arguments\n"
15787 " such as a tr vector with 6 elements; xg and yg vectors; or xg and\n"
15788 " yg matrices are respectively interfaced to a linear-transformation\n"
15789 " routine similar to the above mypltr function; pltr1; and pltr2.\n"
15790 " Furthermore, some of our more sophisticated bindings (see, e.g.,\n"
15791 " the PLplot documentation) support native language callbacks for\n"
15792 " handling index to world-coordinate transformations. Examples of\n"
15793 " these various approaches are given in examples/<language>x09*,\n"
15794 " examples/<language>x16*, examples/<language>x20*,\n"
15795 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
15796 " supported languages.\n"
15798 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
15799 " information to pltr0, pltr1, pltr2, or whatever callback routine\n"
15800 " that is externally supplied.\n"
15804 "Calculate continuous time from broken-down time for the current stream\n"
15808 " Calculate continuous time, ctime, from broken-down time for the\n"
15809 " current stream. The broken-down\n"
15810 " time is specified by the following parameters: year, month, day, hour,\n"
15811 " min, and sec. This function is the inverse of plbtime.\n"
15813 " The PLplot definition of broken-down time is a calendar time that\n"
15814 " completely ignores all time zone offsets, i.e., it is the user's\n"
15815 " responsibility to apply those offsets (if so desired) before using the\n"
15816 " PLplot time API. By default broken-down time is defined using the\n"
15817 " proleptic Gregorian calendar without the insertion of leap seconds and\n"
15818 " continuous time is defined as the number of seconds since the Unix\n"
15819 " epoch of 1970-01-01T00:00:00Z. However, other definitions of\n"
15820 " broken-down and continuous time are possible, see plconfigtime which\n"
15821 " specifies that transformation for the current stream.\n"
15823 " Redacted form: General: plctime(year, month, day, hour, min, sec,\n"
15827 " This function is used in example 29.\n"
15833 "plctime(year, month, day, hour, min, sec, ctime)\n"
15837 " year (PLINT, input) : Input year.\n"
15839 " month (PLINT, input) : Input month in range from 0 (January) to 11\n"
15842 " day (PLINT, input) : Input day in range from 1 to 31.\n"
15844 " hour (PLINT, input) : Input hour in range from 0 to 23\n"
15846 " min (PLINT, input) : Input minute in range from 0 to 59.\n"
15848 " sec (PLFLT, input) : Input second in range from 0. to 60.\n"
15850 " ctime (PLFLT_NC_SCALAR, output) : Returned value of the continuous\n"
15851 " time calculated from the broken-down time specified by the\n"
15852 " previous parameters.\n"
15856 "Copy state parameters from the reference stream to the current stream\n"
15860 " Copies state parameters from the reference stream to the current\n"
15861 " stream. Tell driver interface to map device coordinates unless flags\n"
15864 " This function is used for making save files of selected plots (e.g.\n"
15865 " from the TK driver). After initializing, you can get a copy of the\n"
15866 " current plot to the specified device by switching to this stream and\n"
15867 " issuing a plcpstrm and a plreplot, with calls to plbop and pleop as\n"
15868 " appropriate. The plot buffer must have previously been enabled (done\n"
15869 " automatically by some display drivers, such as X).\n"
15871 " Redacted form: plcpstrm(iplsr, flags)\n"
15873 " This function is used in example 1,20.\n"
15879 "plcpstrm(iplsr, flags)\n"
15883 " iplsr (PLINT, input) : Number of reference stream.\n"
15885 " flags (PLBOOL, input) : If flags is set to true the device\n"
15886 " coordinates are not copied from the reference to current stream.\n"
15890 "End plotting session\n"
15894 " Ends a plotting session, tidies up all the output files, switches\n"
15895 " interactive devices back into text mode and frees up any memory that\n"
15896 " was allocated. Must be called before end of program.\n"
15898 " By default, PLplot's interactive devices (Xwin, TK, etc.) go into a\n"
15899 " wait state after a call to plend or other functions which trigger the\n"
15900 " end of a plot page. To avoid this, use the plspause function.\n"
15902 " Redacted form: plend()\n"
15904 " This function is used in all of the examples.\n"
15914 "End plotting session for current stream\n"
15918 " Ends a plotting session for the current output stream only. See\n"
15919 " plsstrm for more info.\n"
15921 " Redacted form: plend1()\n"
15923 " This function is used in examples 1 and 20.\n"
15933 "Set up standard window and draw box\n"
15937 " Sets up plotter environment for simple graphs by calling pladv and\n"
15938 " setting up viewport and window to sensible default values. plenv\n"
15939 " leaves a standard margin (left-hand margin of eight character heights,\n"
15940 " and a margin around the other three sides of five character heights)\n"
15941 " around most graphs for axis labels and a title. When these defaults\n"
15942 " are not suitable, use the individual routines plvpas, plvpor, or\n"
15943 " plvasp for setting up the viewport, plwind for defining the window,\n"
15944 " and plbox for drawing the box.\n"
15946 " Redacted form: plenv(xmin, xmax, ymin, ymax, just, axis)\n"
15948 " This function is used in example 1,3,9,13,14,19-22,29.\n"
15954 "plenv(xmin, xmax, ymin, ymax, just, axis)\n"
15958 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n"
15959 " world coordinates).\n"
15961 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n"
15962 " world coordinates).\n"
15964 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n"
15967 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n"
15970 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n"
15971 " scales will not be set, the user must set up the scale before\n"
15972 " calling plenv using plsvpa, plvasp or other.\n"
15973 " 0: the x and y axes are scaled independently to use as much of\n"
15974 " the screen as possible.\n"
15975 " 1: the scales of the x and y axes are made equal.\n"
15976 " 2: the axis of the x and y axes are made equal, and the plot\n"
15977 " box will be square.\n"
15980 " axis (PLINT, input) : Controls drawing of the box around the plot:\n"
15981 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n"
15982 " -1: draw box only.\n"
15983 " 0: draw box, ticks, and numeric tick labels.\n"
15984 " 1: also draw coordinate axes at x=0 and y=0.\n"
15985 " 2: also draw a grid at major tick positions in both\n"
15987 " 3: also draw a grid at minor tick positions in both\n"
15989 " 10: same as 0 except logarithmic x tick marks. (The x data\n"
15990 " have to be converted to logarithms separately.)\n"
15991 " 11: same as 1 except logarithmic x tick marks. (The x data\n"
15992 " have to be converted to logarithms separately.)\n"
15993 " 12: same as 2 except logarithmic x tick marks. (The x data\n"
15994 " have to be converted to logarithms separately.)\n"
15995 " 13: same as 3 except logarithmic x tick marks. (The x data\n"
15996 " have to be converted to logarithms separately.)\n"
15997 " 20: same as 0 except logarithmic y tick marks. (The y data\n"
15998 " have to be converted to logarithms separately.)\n"
15999 " 21: same as 1 except logarithmic y tick marks. (The y data\n"
16000 " have to be converted to logarithms separately.)\n"
16001 " 22: same as 2 except logarithmic y tick marks. (The y data\n"
16002 " have to be converted to logarithms separately.)\n"
16003 " 23: same as 3 except logarithmic y tick marks. (The y data\n"
16004 " have to be converted to logarithms separately.)\n"
16005 " 30: same as 0 except logarithmic x and y tick marks. (The x\n"
16006 " and y data have to be converted to logarithms separately.)\n"
16007 " 31: same as 1 except logarithmic x and y tick marks. (The x\n"
16008 " and y data have to be converted to logarithms separately.)\n"
16009 " 32: same as 2 except logarithmic x and y tick marks. (The x\n"
16010 " and y data have to be converted to logarithms separately.)\n"
16011 " 33: same as 3 except logarithmic x and y tick marks. (The x\n"
16012 " and y data have to be converted to logarithms separately.)\n"
16013 " 40: same as 0 except date / time x labels.\n"
16014 " 41: same as 1 except date / time x labels.\n"
16015 " 42: same as 2 except date / time x labels.\n"
16016 " 43: same as 3 except date / time x labels.\n"
16017 " 50: same as 0 except date / time y labels.\n"
16018 " 51: same as 1 except date / time y labels.\n"
16019 " 52: same as 2 except date / time y labels.\n"
16020 " 53: same as 3 except date / time y labels.\n"
16021 " 60: same as 0 except date / time x and y labels.\n"
16022 " 61: same as 1 except date / time x and y labels.\n"
16023 " 62: same as 2 except date / time x and y labels.\n"
16024 " 63: same as 3 except date / time x and y labels.\n"
16025 " 70: same as 0 except custom x and y labels.\n"
16026 " 71: same as 1 except custom x and y labels.\n"
16027 " 72: same as 2 except custom x and y labels.\n"
16028 " 73: same as 3 except custom x and y labels.\n"
16032 "Same as plenv but if in multiplot mode does not advance the subpage, instead clears it\n"
16036 " Sets up plotter environment for simple graphs by calling pladv and\n"
16037 " setting up viewport and window to sensible default values. plenv0\n"
16038 " leaves a standard margin (left-hand margin of eight character heights,\n"
16039 " and a margin around the other three sides of five character heights)\n"
16040 " around most graphs for axis labels and a title. When these defaults\n"
16041 " are not suitable, use the individual routines plvpas, plvpor, or\n"
16042 " plvasp for setting up the viewport, plwind for defining the window,\n"
16043 " and plbox for drawing the box.\n"
16045 " Redacted form: plenv0(xmin, xmax, ymin, ymax, just, axis)\n"
16047 " This function is used in example 21.\n"
16053 "plenv0(xmin, xmax, ymin, ymax, just, axis)\n"
16057 " xmin (PLFLT, input) : Value of x at left-hand edge of window (in\n"
16058 " world coordinates).\n"
16060 " xmax (PLFLT, input) : Value of x at right-hand edge of window (in\n"
16061 " world coordinates).\n"
16063 " ymin (PLFLT, input) : Value of y at bottom edge of window (in world\n"
16066 " ymax (PLFLT, input) : Value of y at top edge of window (in world\n"
16069 " just (PLINT, input) : Controls how the axes will be scaled: -1: the\n"
16070 " scales will not be set, the user must set up the scale before\n"
16071 " calling plenv0 using plsvpa, plvasp or other.\n"
16072 " 0: the x and y axes are scaled independently to use as much of\n"
16073 " the screen as possible.\n"
16074 " 1: the scales of the x and y axes are made equal.\n"
16075 " 2: the axis of the x and y axes are made equal, and the plot\n"
16076 " box will be square.\n"
16079 " axis (PLINT, input) : Controls drawing of the box around the plot:\n"
16080 " -2: draw no box, no tick marks, no numeric tick labels, no axes.\n"
16081 " -1: draw box only.\n"
16082 " 0: draw box, ticks, and numeric tick labels.\n"
16083 " 1: also draw coordinate axes at x=0 and y=0.\n"
16084 " 2: also draw a grid at major tick positions in both\n"
16086 " 3: also draw a grid at minor tick positions in both\n"
16088 " 10: same as 0 except logarithmic x tick marks. (The x data\n"
16089 " have to be converted to logarithms separately.)\n"
16090 " 11: same as 1 except logarithmic x tick marks. (The x data\n"
16091 " have to be converted to logarithms separately.)\n"
16092 " 12: same as 2 except logarithmic x tick marks. (The x data\n"
16093 " have to be converted to logarithms separately.)\n"
16094 " 13: same as 3 except logarithmic x tick marks. (The x data\n"
16095 " have to be converted to logarithms separately.)\n"
16096 " 20: same as 0 except logarithmic y tick marks. (The y data\n"
16097 " have to be converted to logarithms separately.)\n"
16098 " 21: same as 1 except logarithmic y tick marks. (The y data\n"
16099 " have to be converted to logarithms separately.)\n"
16100 " 22: same as 2 except logarithmic y tick marks. (The y data\n"
16101 " have to be converted to logarithms separately.)\n"
16102 " 23: same as 3 except logarithmic y tick marks. (The y data\n"
16103 " have to be converted to logarithms separately.)\n"
16104 " 30: same as 0 except logarithmic x and y tick marks. (The x\n"
16105 " and y data have to be converted to logarithms separately.)\n"
16106 " 31: same as 1 except logarithmic x and y tick marks. (The x\n"
16107 " and y data have to be converted to logarithms separately.)\n"
16108 " 32: same as 2 except logarithmic x and y tick marks. (The x\n"
16109 " and y data have to be converted to logarithms separately.)\n"
16110 " 33: same as 3 except logarithmic x and y tick marks. (The x\n"
16111 " and y data have to be converted to logarithms separately.)\n"
16112 " 40: same as 0 except date / time x labels.\n"
16113 " 41: same as 1 except date / time x labels.\n"
16114 " 42: same as 2 except date / time x labels.\n"
16115 " 43: same as 3 except date / time x labels.\n"
16116 " 50: same as 0 except date / time y labels.\n"
16117 " 51: same as 1 except date / time y labels.\n"
16118 " 52: same as 2 except date / time y labels.\n"
16119 " 53: same as 3 except date / time y labels.\n"
16120 " 60: same as 0 except date / time x and y labels.\n"
16121 " 61: same as 1 except date / time x and y labels.\n"
16122 " 62: same as 2 except date / time x and y labels.\n"
16123 " 63: same as 3 except date / time x and y labels.\n"
16124 " 70: same as 0 except custom x and y labels.\n"
16125 " 71: same as 1 except custom x and y labels.\n"
16126 " 72: same as 2 except custom x and y labels.\n"
16127 " 73: same as 3 except custom x and y labels.\n"
16131 "Eject current page\n"
16135 " Clears the graphics screen of an interactive device, or ejects a page\n"
16136 " on a plotter. See plbop for more information.\n"
16138 " Redacted form: pleop()\n"
16140 " This function is used in example 2,14.\n"
16150 "Draw error bars in x direction\n"
16154 " Draws a set of n error bars in x direction, the i'th error bar\n"
16155 " extending from xmin[i] to xmax[i] at y coordinate y[i]. The terminals\n"
16156 " of the error bars are of length equal to the minor tick length\n"
16157 " (settable using plsmin).\n"
16159 " Redacted form: General: plerrx(xmin, ymax, y)\n"
16162 " This function is used in example 29.\n"
16168 "plerrx(n, xmin, xmax, y)\n"
16172 " n (PLINT, input) : Number of error bars to draw.\n"
16174 " xmin (PLFLT_VECTOR, input) : A vector containing the x coordinates\n"
16175 " of the left-hand endpoints of the error bars.\n"
16177 " xmax (PLFLT_VECTOR, input) : A vector containing the x coordinates\n"
16178 " of the right-hand endpoints of the error bars.\n"
16180 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16181 " the error bars.\n"
16185 "Draw error bars in the y direction\n"
16189 " Draws a set of n error bars in the y direction, the i'th error bar\n"
16190 " extending from ymin[i] to ymax[i] at x coordinate x[i]. The terminals\n"
16191 " of the error bars are of length equal to the minor tick length\n"
16192 " (settable using plsmin).\n"
16194 " Redacted form: General: plerry(x, ymin, ymax)\n"
16197 " This function is used in example 29.\n"
16203 "plerry(n, x, ymin, ymax)\n"
16207 " n (PLINT, input) : Number of error bars to draw.\n"
16209 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16210 " the error bars.\n"
16212 " ymin (PLFLT_VECTOR, input) : A vector containing the y coordinates\n"
16213 " of the lower endpoints of the error bars.\n"
16215 " ymax (PLFLT_VECTOR, input) : A vector containing the y coordinates\n"
16216 " of the upper endpoints of the error bars.\n"
16220 "Advance to the next family file on the next new page\n"
16224 " Advance to the next family file on the next new page.\n"
16226 " Redacted form: plfamadv()\n"
16228 " This function is not used in any examples.\n"
16238 "Draw filled polygon\n"
16242 " Fills the polygon defined by the n points (\n"
16244 " y[i]) using the pattern defined by plpsty or plpat. The default fill\n"
16245 " style is a solid fill. The routine will automatically close the\n"
16246 " polygon between the last and first vertices. If multiple closed\n"
16247 " polygons are passed in x and y then plfill will fill in between them.\n"
16249 " Redacted form: plfill(x,y)\n"
16251 " This function is used in examples 12, 13, 15, 16, 21, 24, and 25.\n"
16257 "plfill(n, x, y)\n"
16261 " n (PLINT, input) : Number of vertices in polygon.\n"
16263 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16266 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16271 "Draw filled polygon in 3D\n"
16275 " Fills the 3D polygon defined by the n points in the x, y, and z\n"
16276 " vectors using the pattern defined by plpsty or plpat. The routine\n"
16277 " will automatically close the polygon between the last and first\n"
16278 " vertices. If multiple closed polygons are passed in x, y, and z then\n"
16279 " plfill3 will fill in between them.\n"
16281 " Redacted form: General: plfill3(x, y, z)\n"
16284 " This function is used in example 15.\n"
16290 "plfill3(n, x, y, z)\n"
16294 " n (PLINT, input) : Number of vertices in polygon.\n"
16296 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16299 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16302 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
16307 "Draw linear gradient inside polygon\n"
16311 " Draw a linear gradient using cmap1 inside the polygon defined by the n\n"
16314 " y[i]). Interpretation of the polygon is the same as for plfill. The\n"
16315 " polygon coordinates and the gradient angle are all expressed in world\n"
16316 " coordinates. The angle from the x axis for both the rotated\n"
16317 " coordinate system and the gradient vector is specified by angle. The\n"
16318 " magnitude of the gradient vector is the difference between the maximum\n"
16319 " and minimum values of x for the vertices in the rotated coordinate\n"
16320 " system. The origin of the gradient vector can be interpreted as being\n"
16321 " anywhere on the line corresponding to the minimum x value for the\n"
16322 " vertices in the rotated coordinate system. The distance along the\n"
16323 " gradient vector is linearly transformed to the independent variable of\n"
16324 " color map 1 which ranges from 0. at the tail of the gradient vector to\n"
16325 " 1. at the head of the gradient vector. What is drawn is the RGBA\n"
16326 " color corresponding to the independent variable of cmap1. For more\n"
16327 " information about cmap1 (see the PLplot documentation).\n"
16329 " Redacted form: plgradient(x,y,angle)\n"
16331 " This function is used in examples 25 and 30.\n"
16337 "plgradient(n, x, y, angle)\n"
16341 " n (PLINT, input) : Number of vertices in polygon.\n"
16343 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
16346 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
16349 " angle (PLFLT, input) : Angle (degrees) of gradient vector from x\n"
16354 "Flushes the output stream\n"
16358 " Flushes the output stream. Use sparingly, if at all.\n"
16360 " Redacted form: plflush()\n"
16362 " This function is used in examples 1 and 14.\n"
16376 " Sets the font used for subsequent text and symbols. For devices that\n"
16377 " still use Hershey fonts this routine has no effect unless the Hershey\n"
16378 " fonts with extended character set are loaded (see plfontld). For\n"
16379 " unicode-aware devices that use system fonts instead of Hershey fonts,\n"
16380 " this routine calls the plsfci routine with argument set up\n"
16381 " appropriately for the various cases below. However, this method of\n"
16382 " specifying the font for unicode-aware devices is deprecated, and the\n"
16383 " much more flexible method of calling plsfont directly is recommended\n"
16384 " instead (where plsfont provides a user-friendly interface to plsfci),\n"
16386 " Redacted form: plfont(ifont)\n"
16388 " This function is used in examples 1, 2, 4, 7, 13, 24, and 26.\n"
16398 " ifont (PLINT, input) : Specifies the font: 1: Sans serif font\n"
16399 " (simplest and fastest)\n"
16401 " 3: Italic font\n"
16402 " 4: Script font\n"
16406 "Load Hershey fonts\n"
16410 " Loads the Hershey fonts used for text and symbols. This routine may\n"
16411 " be called before or after initializing PLplot. If not explicitly\n"
16412 " called before PLplot initialization, then by default that\n"
16413 " initialization loads Hershey fonts with the extended character set.\n"
16414 " This routine only has a practical effect for devices that still use\n"
16415 " Hershey fonts (as opposed to modern devices that use unicode-aware\n"
16416 " system fonts instead of Hershey fonts).\n"
16418 " Redacted form: plfontld(fnt)\n"
16420 " This function is used in examples 1 and 7.\n"
16430 " fnt (PLINT, input) : Specifies the type of Hershey fonts to load.\n"
16431 " A zero value specifies Hershey fonts with the standard character\n"
16432 " set and a non-zero value (the default assumed if plfontld is never\n"
16433 " called) specifies Hershey fonts with the extended character set.\n"
16437 "Get character default height and current (scaled) height\n"
16441 " Get character default height and current (scaled) height.\n"
16443 " Redacted form: plgchr(p_def, p_ht)\n"
16445 " This function is used in example 23.\n"
16451 "plgchr(p_def, p_ht)\n"
16455 " p_def (PLFLT_NC_SCALAR, output) : Returned value of the default\n"
16456 " character height (mm).\n"
16458 " p_ht (PLFLT_NC_SCALAR, output) : Returned value of the scaled\n"
16459 " character height (mm).\n"
16463 "Returns 8-bit RGB values for given color index from cmap0\n"
16467 " Returns 8-bit RGB values (0-255) for given color from cmap0 (see the\n"
16468 " PLplot documentation). Values are negative if an invalid color id is\n"
16471 " Redacted form: plgcol0(icol0, r, g, b)\n"
16473 " This function is used in example 2.\n"
16479 "plgcol0(icol0, r, g, b)\n"
16483 " icol0 (PLINT, input) : Index of desired cmap0 color.\n"
16485 " r (PLINT_NC_SCALAR, output) : Returned value of the 8-bit red\n"
16488 " g (PLINT_NC_SCALAR, output) : Returned value of the 8-bit green\n"
16491 " b (PLINT_NC_SCALAR, output) : Returned value of the 8-bit blue\n"
16496 "Returns 8-bit RGB values and PLFLT alpha transparency value for given color index from cmap0\n"
16500 " Returns 8-bit RGB values (0-255) and PLFLT alpha transparency value\n"
16501 " (0.0-1.0) for given color from cmap0 (see the PLplot documentation).\n"
16502 " Values are negative if an invalid color id is given.\n"
16504 " Redacted form: plgcola(r, g, b)\n"
16506 " This function is used in example 30.\n"
16512 "plgcol0a(icol0, r, g, b, alpha)\n"
16516 " icol0 (PLINT, input) : Index of desired cmap0 color.\n"
16518 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
16519 " in the range from 0 to 255.\n"
16521 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
16522 " in the range from 0 to 255.\n"
16524 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
16525 " in the range from 0 to 255.\n"
16527 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n"
16528 " transparency in the range from (0.0-1.0).\n"
16532 "Returns the background color (cmap0[0]) by 8-bit RGB value\n"
16536 " Returns the background color (cmap0[0]) by 8-bit RGB value.\n"
16538 " Redacted form: plgcolbg(r, g, b)\n"
16540 " This function is used in example 31.\n"
16546 "plgcolbg(r, g, b)\n"
16550 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
16551 " in the range from 0 to 255.\n"
16553 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
16554 " in the range from 0 to 255.\n"
16556 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
16557 " in the range from 0 to 255.\n"
16561 "Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT alpha transparency value\n"
16565 " Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT\n"
16566 " alpha transparency value.\n"
16568 " This function is used in example 31.\n"
16574 "plgcolbga(r, g, b, alpha)\n"
16578 " r (PLINT_NC_SCALAR, output) : Returned value of the red intensity\n"
16579 " in the range from 0 to 255.\n"
16581 " g (PLINT_NC_SCALAR, output) : Returned value of the green intensity\n"
16582 " in the range from 0 to 255.\n"
16584 " b (PLINT_NC_SCALAR, output) : Returned value of the blue intensity\n"
16585 " in the range from 0 to 255.\n"
16587 " alpha (PLFLT_NC_SCALAR, output) : Returned value of the alpha\n"
16588 " transparency in the range (0.0-1.0).\n"
16592 "Get the current device-compression setting\n"
16596 " Get the current device-compression setting. This parameter is only\n"
16597 " used for drivers that provide compression.\n"
16599 " Redacted form: plgcompression(compression)\n"
16601 " This function is used in example 31.\n"
16607 "plgcompression(compression)\n"
16611 " compression (PLINT_NC_SCALAR, output) : Returned value of the\n"
16612 " compression setting for the current device.\n"
16616 "Get the current device (keyword) name\n"
16620 " Get the current device (keyword) name. Note: you must have allocated\n"
16621 " space for this (80 characters is safe).\n"
16623 " Redacted form: plgdev(p_dev)\n"
16625 " This function is used in example 14.\n"
16635 " p_dev (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
16636 " (with preallocated length of 80 characters or more) containing the\n"
16637 " device (keyword) name.\n"
16641 "Get parameters that define current device-space window\n"
16645 " Get relative margin width, aspect ratio, and relative justification\n"
16646 " that define current device-space window. If plsdidev has not been\n"
16647 " called the default values pointed to by p_mar, p_aspect, p_jx, and\n"
16648 " p_jy will all be 0.\n"
16650 " Redacted form: plgdidev(p_mar, p_aspect, p_jx, p_jy)\n"
16652 " This function is used in example 31.\n"
16658 "plgdidev(p_mar, p_aspect, p_jx, p_jy)\n"
16662 " p_mar (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
16665 " p_aspect (PLFLT_NC_SCALAR, output) : Returned value of the aspect\n"
16668 " p_jx (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
16669 " justification in x.\n"
16671 " p_jy (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
16672 " justification in y.\n"
16676 "Get plot orientation\n"
16680 " Get plot orientation parameter which is multiplied by 90 degrees to\n"
16681 " obtain the angle of rotation. Note, arbitrary rotation parameters\n"
16682 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n"
16683 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n"
16684 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n"
16685 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori has\n"
16686 " not been called the default value pointed to by p_rot will be 0.\n"
16688 " Redacted form: plgdiori(p_rot)\n"
16690 " This function is not used in any examples.\n"
16696 "plgdiori(p_rot)\n"
16700 " p_rot (PLFLT_NC_SCALAR, output) : Returned value of the orientation\n"
16705 "Get parameters that define current plot-space window\n"
16709 " Get relative minima and maxima that define current plot-space window.\n"
16710 " If plsdiplt has not been called the default values pointed to by\n"
16711 " p_xmin, p_ymin, p_xmax, and p_ymax will be 0., 0., 1., and 1.\n"
16713 " Redacted form: plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n"
16715 " This function is used in example 31.\n"
16721 "plgdiplt(p_xmin, p_ymin, p_xmax, p_ymax)\n"
16725 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
16728 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
16731 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
16734 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the relative\n"
16739 "Get family file parameters\n"
16743 " Gets information about current family file, if familying is enabled.\n"
16744 " See the PLplot documentation for more information.\n"
16746 " Redacted form: plgfam(p_fam, p_num, p_bmax)\n"
16748 " This function is used in examples 14 and 31.\n"
16754 "plgfam(p_fam, p_num, p_bmax)\n"
16758 " p_fam (PLINT_NC_SCALAR, output) : Returned value of the current\n"
16759 " family flag value. If nonzero, familying is enabled for the\n"
16760 " current device.\n"
16762 " p_num (PLINT_NC_SCALAR, output) : Returned value of the current\n"
16763 " family file number.\n"
16765 " p_bmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
16766 " file size (in bytes) for a family file.\n"
16770 "Get FCI (font characterization integer)\n"
16774 " Gets information about the current font using the FCI approach. See\n"
16775 " the PLplot documentation for more information.\n"
16777 " Redacted form: plgfci(p_fci)\n"
16779 " This function is used in example 23.\n"
16789 " p_fci (PLUNICODE_NC_SCALAR, output) : Returned value of the current\n"
16794 "Get output file name\n"
16798 " Gets the current output file name, if applicable.\n"
16800 " Redacted form: plgfnam(fnam)\n"
16802 " This function is used in example 31.\n"
16812 " fnam (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
16813 " (with preallocated length of 80 characters or more) containing the\n"
16818 "Get family, style and weight of the current font\n"
16822 " Gets information about current font. See the PLplot documentation for\n"
16823 " more information on font selection.\n"
16825 " Redacted form: plgfont(p_family, p_style, p_weight)\n"
16827 " This function is used in example 23.\n"
16833 "plgfont(p_family, p_style, p_weight)\n"
16837 " p_family (PLINT_NC_SCALAR, output) : Returned value of the current\n"
16838 " font family. The available values are given by the PL_FCI_*\n"
16839 " constants in plplot.h. Current options are PL_FCI_SANS,\n"
16840 " PL_FCI_SERIF, PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. If\n"
16841 " p_family is NULL then the font family is not returned.\n"
16843 " p_style (PLINT_NC_SCALAR, output) : Returned value of the current\n"
16844 " font style. The available values are given by the PL_FCI_*\n"
16845 " constants in plplot.h. Current options are PL_FCI_UPRIGHT,\n"
16846 " PL_FCI_ITALIC and PL_FCI_OBLIQUE. If p_style is NULL then the font\n"
16847 " style is not returned.\n"
16849 " p_weight (PLINT_NC_SCALAR, output) : Returned value of the current\n"
16850 " font weight. The available values are given by the PL_FCI_*\n"
16851 " constants in plplot.h. Current options are PL_FCI_MEDIUM and\n"
16852 " PL_FCI_BOLD. If p_weight is NULL then the font weight is not\n"
16857 "Get the (current) run level\n"
16861 " Get the (current) run level. Valid settings are: 0, uninitialized\n"
16862 " 1, initialized\n"
16863 " 2, viewport defined\n"
16864 " 3, world coordinates defined\n"
16867 " Redacted form: plglevel(p_level)\n"
16869 " This function is used in example 31.\n"
16875 "plglevel(p_level)\n"
16879 " p_level (PLINT_NC_SCALAR, output) : Returned value of the run\n"
16884 "Get page parameters\n"
16888 " Gets the current page configuration. The length and offset values are\n"
16889 " expressed in units that are specific to the current driver. For\n"
16890 " instance: screen drivers will usually interpret them as number of\n"
16891 " pixels, whereas printer drivers will usually use mm.\n"
16893 " Redacted form: plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n"
16895 " This function is used in examples 14 and 31.\n"
16901 "plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)\n"
16905 " p_xp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n"
16906 " pixels/inch (DPI) in x.\n"
16908 " p_yp (PLFLT_NC_SCALAR, output) : Returned value of the number of\n"
16909 " pixels/inch (DPI) in y.\n"
16911 " p_xleng (PLINT_NC_SCALAR, output) : Returned value of the x page\n"
16914 " p_yleng (PLINT_NC_SCALAR, output) : Returned value of the y page\n"
16917 " p_xoff (PLINT_NC_SCALAR, output) : Returned value of the x page\n"
16920 " p_yoff (PLINT_NC_SCALAR, output) : Returned value of the y page\n"
16925 "Switch to graphics screen\n"
16929 " Sets an interactive device to graphics mode, used in conjunction with\n"
16930 " pltext to allow graphics and text to be interspersed. On a device\n"
16931 " which supports separate text and graphics windows, this command causes\n"
16932 " control to be switched to the graphics window. If already in graphics\n"
16933 " mode, this command is ignored. It is also ignored on devices which\n"
16934 " only support a single window or use a different method for shifting\n"
16935 " focus. See also pltext.\n"
16937 " Redacted form: plgra()\n"
16939 " This function is used in example 1.\n"
16949 "Grid data from irregularly sampled data\n"
16953 " Real world data is frequently irregularly sampled, but PLplot 3D plots\n"
16954 " require data organized as a grid, i.e., with x sample point values\n"
16955 " independent of y coordinate and vice versa. This function takes\n"
16956 " irregularly sampled data from the x[npts], y[npts], and z[npts]\n"
16957 " vectors; reads the desired grid location from the input vectors\n"
16958 " xg[nptsx] and yg[nptsy]; and returns the interpolated result on that\n"
16959 " grid using the output matrix zg[nptsx][nptsy]. The algorithm used to\n"
16960 " interpolate the data to the grid is specified with the argument type\n"
16961 " which can have one parameter specified in argument data.\n"
16963 " Redacted form: General: plgriddata(x, y, z, xg, yg, zg, type, data)\n"
16964 " Python: zg=plgriddata(x, y, z, xg, yg, type, data)\n"
16967 " This function is used in example 21.\n"
16973 "plgriddata(x, y, z, npts, xg, nptsx, yg, nptsy, zg, type, data)\n"
16977 " x (PLFLT_VECTOR, input) : The input x vector.\n"
16979 " y (PLFLT_VECTOR, input) : The input y vector.\n"
16981 " z (PLFLT_VECTOR, input) : The input z vector. Each triple x[i],\n"
16982 " y[i], z[i] represents one data sample coordinate.\n"
16984 " npts (PLINT, input) : The number of data samples in the x, y and z\n"
16987 " xg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n"
16988 " in the x direction. Usually xg has nptsx equally spaced values\n"
16989 " from the minimum to the maximum values of the x input vector.\n"
16991 " nptsx (PLINT, input) : The number of points in the xg vector.\n"
16993 " yg (PLFLT_VECTOR, input) : A vector that specifies the grid spacing\n"
16994 " in the y direction. Similar to the xg parameter.\n"
16996 " nptsy (PLINT, input) : The number of points in the yg vector.\n"
16998 " zg (PLFLT_NC_MATRIX, output) : The matrix of interpolated results\n"
16999 " where data lies in the grid specified by xg and yg. Therefore the\n"
17000 " zg matrix must be dimensioned\n"
17004 " type (PLINT, input) : The type of grid interpolation algorithm to\n"
17005 " use, which can be: GRID_CSA: Bivariate Cubic Spline approximation\n"
17006 " GRID_DTLI: Delaunay Triangulation Linear Interpolation\n"
17007 " GRID_NNI: Natural Neighbors Interpolation\n"
17008 " GRID_NNIDW: Nearest Neighbors Inverse Distance Weighted\n"
17009 " GRID_NNLI: Nearest Neighbors Linear Interpolation\n"
17010 " GRID_NNAIDW: Nearest Neighbors Around Inverse Distance\n"
17012 " For details of the algorithms read the source file plgridd.c.\n"
17014 " data (PLFLT, input) : Some gridding algorithms require extra data,\n"
17015 " which can be specified through this argument. Currently, for\n"
17016 " algorithm: GRID_NNIDW, data specifies the number of neighbors to\n"
17017 " use, the lower the value, the noisier (more local) the\n"
17018 " approximation is.\n"
17019 " GRID_NNLI, data specifies what a thin triangle is, in the\n"
17020 " range [1. .. 2.]. High values enable the usage of very thin\n"
17021 " triangles for interpolation, possibly resulting in error in\n"
17022 " the approximation.\n"
17023 " GRID_NNI, only weights greater than data will be accepted. If\n"
17024 " 0, all weights will be accepted.\n"
17028 "Get current subpage parameters\n"
17032 " Gets the size of the current subpage in millimeters measured from the\n"
17033 " bottom left hand corner of the output device page or screen. Can be\n"
17034 " used in conjunction with plsvpa for setting the size of a viewport in\n"
17035 " absolute coordinates (millimeters).\n"
17037 " Redacted form: plgspa(xmin, xmax, ymin, ymax)\n"
17039 " This function is used in example 23.\n"
17045 "plgspa(xmin, xmax, ymin, ymax)\n"
17049 " xmin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17050 " the left hand edge of the subpage in millimeters.\n"
17052 " xmax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17053 " the right hand edge of the subpage in millimeters.\n"
17055 " ymin (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17056 " the bottom edge of the subpage in millimeters.\n"
17058 " ymax (PLFLT_NC_SCALAR, output) : Returned value of the position of\n"
17059 " the top edge of the subpage in millimeters.\n"
17063 "Get current stream number\n"
17067 " Gets the number of the current output stream. See also plsstrm.\n"
17069 " Redacted form: plgstrm(p_strm)\n"
17071 " This function is used in example 1,20.\n"
17077 "plgstrm(p_strm)\n"
17081 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the current\n"
17086 "Get the current library version number\n"
17090 " Get the current library version number. Note: you must have allocated\n"
17091 " space for this (80 characters is safe).\n"
17093 " Redacted form: plgver(p_ver)\n"
17095 " This function is used in example 1.\n"
17105 " p_ver (PLCHAR_NC_VECTOR, output) : Returned ascii character string\n"
17106 " (with preallocated length of 80 characters or more) containing the\n"
17107 " PLplot version number.\n"
17111 "Get viewport limits in normalized device coordinates\n"
17115 " Get viewport limits in normalized device coordinates.\n"
17117 " Redacted form: General: plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17120 " This function is used in example 31.\n"
17126 "plgvpd(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17130 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17131 " viewport limit of the normalized device coordinate in x.\n"
17133 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17134 " viewport limit of the normalized device coordinate in x.\n"
17136 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17137 " viewport limit of the normalized device coordinate in y.\n"
17139 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17140 " viewport limit of the normalized device coordinate in y.\n"
17144 "Get viewport limits in world coordinates\n"
17148 " Get viewport limits in world coordinates.\n"
17150 " Redacted form: General: plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17153 " This function is used in example 31.\n"
17159 "plgvpw(p_xmin, p_xmax, p_ymin, p_ymax)\n"
17163 " p_xmin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17164 " viewport limit of the world coordinate in x.\n"
17166 " p_xmax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17167 " viewport limit of the world coordinate in x.\n"
17169 " p_ymin (PLFLT_NC_SCALAR, output) : Returned value of the lower\n"
17170 " viewport limit of the world coordinate in y.\n"
17172 " p_ymax (PLFLT_NC_SCALAR, output) : Returned value of the upper\n"
17173 " viewport limit of the world coordinate in y.\n"
17177 "Get x axis parameters\n"
17181 " Returns current values of the p_digmax and p_digits flags for the x\n"
17182 " axis. p_digits is updated after the plot is drawn, so this routine\n"
17183 " should only be called after the call to plbox (or plbox3) is complete.\n"
17184 " See the PLplot documentation for more information.\n"
17186 " Redacted form: plgxax(p_digmax, p_digits)\n"
17188 " This function is used in example 31.\n"
17194 "plgxax(p_digmax, p_digits)\n"
17198 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17199 " number of digits for the x axis. If nonzero, the printed label\n"
17200 " has been switched to a floating-point representation when the\n"
17201 " number of digits exceeds this value.\n"
17203 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17204 " number of digits for the numeric labels (x axis) from the last\n"
17209 "Get y axis parameters\n"
17213 " Identical to plgxax, except that arguments are flags for y axis. See\n"
17214 " the description of plgxax for more detail.\n"
17216 " Redacted form: plgyax(p_digmax, p_digits)\n"
17218 " This function is used in example 31.\n"
17224 "plgyax(p_digmax, p_digits)\n"
17228 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17229 " number of digits for the y axis. If nonzero, the printed label\n"
17230 " has been switched to a floating-point representation when the\n"
17231 " number of digits exceeds this value.\n"
17233 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17234 " number of digits for the numeric labels (y axis) from the last\n"
17239 "Get z axis parameters\n"
17243 " Identical to plgxax, except that arguments are flags for z axis. See\n"
17244 " the description of plgxax for more detail.\n"
17246 " Redacted form: plgzax(p_digmax, p_digits)\n"
17248 " This function is used in example 31.\n"
17254 "plgzax(p_digmax, p_digits)\n"
17258 " p_digmax (PLINT_NC_SCALAR, output) : Returned value of the maximum\n"
17259 " number of digits for the z axis. If nonzero, the printed label\n"
17260 " has been switched to a floating-point representation when the\n"
17261 " number of digits exceeds this value.\n"
17263 " p_digits (PLINT_NC_SCALAR, output) : Returned value of the actual\n"
17264 " number of digits for the numeric labels (z axis) from the last\n"
17269 "Plot a histogram from unbinned data\n"
17273 " Plots a histogram from n data points stored in the data vector. This\n"
17274 " routine bins the data into nbin bins equally spaced between datmin and\n"
17275 " datmax, and calls plbin to draw the resulting histogram. Parameter\n"
17276 " opt allows, among other things, the histogram either to be plotted in\n"
17277 " an existing window or causes plhist to call plenv with suitable limits\n"
17278 " before plotting the histogram.\n"
17280 " Redacted form: plhist(data, datmin, datmax, nbin, opt)\n"
17282 " This function is used in example 5.\n"
17288 "plhist(n, data, datmin, datmax, nbin, opt)\n"
17292 " n (PLINT, input) : Number of data points.\n"
17294 " data (PLFLT_VECTOR, input) : A vector containing the values of the\n"
17295 " n data points.\n"
17297 " datmin (PLFLT, input) : Left-hand edge of lowest-valued bin.\n"
17299 " datmax (PLFLT, input) : Right-hand edge of highest-valued bin.\n"
17301 " nbin (PLINT, input) : Number of (equal-sized) bins into which to\n"
17302 " divide the interval xmin to xmax.\n"
17304 " opt (PLINT, input) : Is a combination of several flags:\n"
17305 " opt=PL_HIST_DEFAULT: The axes are automatically rescaled to fit\n"
17306 " the histogram data, the outer bins are expanded to fill up the\n"
17307 " entire x-axis, data outside the given extremes are assigned to the\n"
17308 " outer bins and bins of zero height are simply drawn.\n"
17309 " opt=PL_HIST_NOSCALING|...: The existing axes are not rescaled\n"
17310 " to fit the histogram data, without this flag, plenv is called\n"
17311 " to set the world coordinates.\n"
17312 " opt=PL_HIST_IGNORE_OUTLIERS|...: Data outside the given\n"
17313 " extremes are not taken into account. This option should\n"
17314 " probably be combined with opt=PL_HIST_NOEXPAND|..., so as to\n"
17315 " properly present the data.\n"
17316 " opt=PL_HIST_NOEXPAND|...: The outer bins are drawn with equal\n"
17317 " size as the ones inside.\n"
17318 " opt=PL_HIST_NOEMPTY|...: Bins with zero height are not drawn\n"
17319 " (there is a gap for such bins).\n"
17323 "Convert HLS color to RGB\n"
17327 " Convert HLS color coordinates to RGB.\n"
17329 " Redacted form: General: plhlsrgb(h, l, s, p_r, p_g, p_b)\n"
17332 " This function is used in example 2.\n"
17338 "plhlsrgb(h, l, s, p_r, p_g, p_b)\n"
17342 " h (PLFLT, input) : Hue in degrees (0.0-360.0) on the color\n"
17345 " l (PLFLT, input) : Lightness expressed as a fraction (0.0-1.0) of\n"
17346 " the axis of the color cylinder.\n"
17348 " s (PLFLT, input) : Saturation expressed as a fraction (0.0-1.0) of\n"
17349 " the radius of the color cylinder.\n"
17351 " p_r (PLFLT_NC_SCALAR, output) : Returned value of the red intensity\n"
17352 " (0.0-1.0) of the color.\n"
17354 " p_g (PLFLT_NC_SCALAR, output) : Returned value of the green\n"
17355 " intensity (0.0-1.0) of the color.\n"
17357 " p_b (PLFLT_NC_SCALAR, output) : Returned value of the blue\n"
17358 " intensity (0.0-1.0) of the color.\n"
17362 "Initialize PLplot\n"
17366 " Initializing the plotting package. The program prompts for the device\n"
17367 " keyword or number of the desired output device. Hitting a RETURN in\n"
17368 " response to the prompt is the same as selecting the first device.\n"
17369 " plinit will issue no prompt if either the device was specified\n"
17370 " previously (via command line flag, the plsetopt function, or the\n"
17371 " plsdev function), or if only one device is enabled when PLplot is\n"
17372 " installed. If subpages have been specified, the output device is\n"
17373 " divided into nx by ny subpages, each of which may be used\n"
17374 " independently. If plinit is called again during a program, the\n"
17375 " previously opened file will be closed. The subroutine pladv is used\n"
17376 " to advance from one subpage to the next.\n"
17378 " Redacted form: plinit()\n"
17380 " This function is used in all of the examples.\n"
17390 "Draw a line between two points\n"
17394 " Joins the point (\n"
17400 " Redacted form: pljoin(x1,y1,x2,y2)\n"
17402 " This function is used in examples 3 and 14.\n"
17408 "pljoin(x1, y1, x2, y2)\n"
17412 " x1 (PLFLT, input) : x coordinate of first point.\n"
17414 " y1 (PLFLT, input) : y coordinate of first point.\n"
17416 " x2 (PLFLT, input) : x coordinate of second point.\n"
17418 " y2 (PLFLT, input) : y coordinate of second point.\n"
17422 "Simple routine to write labels\n"
17426 " Routine for writing simple labels. Use plmtex for more complex labels.\n"
17428 " Redacted form: pllab(xlabel, ylabel, tlabel)\n"
17430 " This function is used in examples 1, 5, 9, 12, 14-16, 20-22, and 29.\n"
17436 "pllab(xlabel, ylabel, tlabel)\n"
17440 " xlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
17441 " the label for the x axis.\n"
17443 " ylabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
17444 " the label for the y axis.\n"
17446 " tlabel (PLCHAR_VECTOR, input) : A UTF-8 character string specifying\n"
17447 " the title of the plot.\n"
17451 "Plot legend using discretely annotated filled boxes, lines, and/or lines of symbols\n"
17455 " Routine for creating a discrete plot legend with a plotted filled box,\n"
17456 " line, and/or line of symbols for each annotated legend entry. (See\n"
17457 " plcolorbar for similar functionality for creating continuous color\n"
17458 " bars.) The arguments of pllegend provide control over the location\n"
17459 " and size of the legend as well as the location and characteristics of\n"
17460 " the elements (most of which are optional) within that legend. The\n"
17461 " resulting legend is clipped at the boundaries of the current subpage.\n"
17462 " (N.B. the adopted coordinate system used for some of the parameters is\n"
17463 " defined in the documentation of the position parameter.)\n"
17465 " Redacted form: pllegend(p_legend_width, p_legend_height, opt,\n"
17466 " position, x, y, plot_width, bg_color, bb_color, bb_style, nrow,\n"
17467 " ncolumn, opt_array, text_offset, text_scale, text_spacing,\n"
17468 " test_justification, text_colors, text, box_colors, box_patterns,\n"
17469 " box_scales, box_line_widths, line_colors, line_styles, line_widths,\n"
17470 " symbol_colors, symbol_scales, symbol_numbers, symbols)\n"
17472 " This function is used in examples 4, 26, and 33.\n"
17478 "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"
17482 " p_legend_width (PLFLT_NC_SCALAR, output) : Returned value of the\n"
17483 " legend width in adopted coordinates. This quantity is calculated\n"
17484 " from plot_width, text_offset, ncolumn (possibly modified inside\n"
17485 " the routine depending on nlegend and nrow), and the length\n"
17486 " (calculated internally) of the longest text string.\n"
17488 " p_legend_height (PLFLT_NC_SCALAR, output) : Returned value of the\n"
17489 " legend height in adopted coordinates. This quantity is calculated\n"
17490 " from text_scale, text_spacing, and nrow (possibly modified inside\n"
17491 " the routine depending on nlegend and nrow).\n"
17493 " opt (PLINT, input) : opt contains bits controlling the overall\n"
17494 " legend. If the PL_LEGEND_TEXT_LEFT bit is set, put the text area\n"
17495 " on the left of the legend and the plotted area on the right.\n"
17496 " Otherwise, put the text area on the right of the legend and the\n"
17497 " plotted area on the left. If the PL_LEGEND_BACKGROUND bit is set,\n"
17498 " plot a (semitransparent) background for the legend. If the\n"
17499 " PL_LEGEND_BOUNDING_BOX bit is set, plot a bounding box for the\n"
17500 " legend. If the PL_LEGEND_ROW_MAJOR bit is set and (both of the\n"
17501 " possibly internally transformed) nrow > 1 and ncolumn > 1, then\n"
17502 " plot the resulting array of legend entries in row-major order.\n"
17503 " Otherwise, plot the legend entries in column-major order.\n"
17505 " position (PLINT, input) : position contains bits which control the\n"
17506 " overall position of the legend and the definition of the adopted\n"
17507 " coordinates used for positions just like what is done for the\n"
17508 " position argument for plcolorbar. However, note that the defaults\n"
17509 " for the position bits (see below) are different than the\n"
17510 " plcolorbar case. The combination of the PL_POSITION_LEFT,\n"
17511 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n"
17512 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n"
17513 " the 16 possible standard positions (the 4 corners and centers of\n"
17514 " the 4 sides for both the inside and outside cases) of the legend\n"
17515 " relative to the adopted coordinate system. The corner positions\n"
17516 " are specified by the appropriate combination of two of the\n"
17517 " PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n"
17518 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n"
17519 " value of one of those bits. The adopted coordinates are\n"
17520 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n"
17521 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n"
17522 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n"
17523 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n"
17524 " then use the combination of PL_POSITION_RIGHT and PL_POSITION_TOP.\n"
17525 " If neither of PL_POSITION_INSIDE or PL_POSITION_OUTSIDE is set,\n"
17526 " use PL_POSITION_INSIDE. If neither of PL_POSITION_VIEWPORT or\n"
17527 " PL_POSITION_SUBPAGE is set, use PL_POSITION_VIEWPORT.\n"
17529 " x (PLFLT, input) : X offset of the legend position in adopted\n"
17530 " coordinates from the specified standard position of the legend.\n"
17531 " For positive x, the direction of motion away from the standard\n"
17532 " position is inward/outward from the standard corner positions or\n"
17533 " standard left or right positions if the\n"
17534 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
17535 " For the standard top or bottom positions, the direction of motion\n"
17536 " is toward positive X.\n"
17538 " y (PLFLT, input) : Y offset of the legend position in adopted\n"
17539 " coordinates from the specified standard position of the legend.\n"
17540 " For positive y, the direction of motion away from the standard\n"
17541 " position is inward/outward from the standard corner positions or\n"
17542 " standard top or bottom positions if the\n"
17543 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position. For\n"
17544 " the standard left or right positions, the direction of motion is\n"
17545 " toward positive Y.\n"
17547 " plot_width (PLFLT, input) : Horizontal width in adopted coordinates\n"
17548 " of the plot area (where the colored boxes, lines, and/or lines of\n"
17549 " symbols are drawn) of the legend.\n"
17551 " bg_color (PLINT, input) : The cmap0 color of the background for the\n"
17552 " legend (PL_LEGEND_BACKGROUND).\n"
17554 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n"
17555 " for the legend (PL_LEGEND_BOUNDING_BOX).\n"
17557 " bb_style (PLINT, input) : The pllsty style number for the\n"
17558 " bounding-box line for the legend (PL_LEGEND_BACKGROUND).\n"
17560 " nrow (PLINT, input) : The number of rows in the matrix used to\n"
17562 " nlegend legend entries. For internal transformations of\n"
17563 " nrow, see further remarks under\n"
17566 " ncolumn (PLINT, input) : The number of columns in the matrix used\n"
17568 " nlegend legend entries. For internal transformations of\n"
17569 " ncolumn, see further remarks under\n"
17572 " nlegend (PLINT, input) : Number of legend entries. The above\n"
17574 " ncolumn values are transformed internally to be consistent with\n"
17575 " nlegend. If either\n"
17577 " ncolumn is non-positive it is replaced by 1. If the resulting product\n"
17580 " ncolumn is less than\n"
17581 " nlegend, the smaller of the two (or\n"
17584 " ncolumn) is increased so the product is >=\n"
17585 " nlegend. Thus, for example, the common\n"
17587 " ncolumn = 0 case is transformed internally to\n"
17590 " ncolumn = 1; i.e., the usual case of a legend rendered as a single\n"
17593 " opt_array (PLINT_VECTOR, input) : A vector of\n"
17594 " nlegend values of options to control each individual plotted area\n"
17595 " corresponding to a legend entry. If the\n"
17596 " PL_LEGEND_NONE bit is set, then nothing is plotted in the plotted\n"
17598 " PL_LEGEND_COLOR_BOX,\n"
17599 " PL_LEGEND_LINE, and/or\n"
17600 " PL_LEGEND_SYMBOL bits are set, the area corresponding to a legend\n"
17601 " entry is plotted with a colored box; a line; and/or a line of\n"
17604 " text_offset (PLFLT, input) : Offset of the text area from the plot\n"
17605 " area in units of character width.\n"
17607 " text_scale (PLFLT, input) : Character height scale for text\n"
17610 " text_spacing (PLFLT, input) : Vertical spacing in units of the\n"
17611 " character height from one legend entry to the next.\n"
17613 " text_justification (PLFLT, input) : Justification parameter used\n"
17614 " for text justification. The most common values of\n"
17615 " text_justification are 0., 0.5, or 1. corresponding to a text that\n"
17616 " is left justified, centred, or right justified within the text\n"
17617 " area, but other values are allowed as well.\n"
17619 " text_colors (PLINT_VECTOR, input) : A vector containing\n"
17620 " nlegend cmap0 text colors.\n"
17622 " text (PLCHAR_MATRIX, input) : A vector of\n"
17623 " nlegend UTF-8 character strings containing the legend annotations.\n"
17625 " box_colors (PLINT_VECTOR, input) : A vector containing\n"
17626 " nlegend cmap0 colors for the discrete colored boxes (\n"
17627 " PL_LEGEND_COLOR_BOX).\n"
17629 " box_patterns (PLINT_VECTOR, input) : A vector containing\n"
17630 " nlegend patterns (plpsty indices) for the discrete colored boxes (\n"
17631 " PL_LEGEND_COLOR_BOX).\n"
17633 " box_scales (PLFLT_VECTOR, input) : A vector containing\n"
17634 " nlegend scales (units of fraction of character height) for the height\n"
17635 " of the discrete colored boxes (\n"
17636 " PL_LEGEND_COLOR_BOX).\n"
17638 " box_line_widths (PLFLT_VECTOR, input) : A vector containing\n"
17639 " nlegend line widths for the patterns specified by box_patterns (\n"
17640 " PL_LEGEND_COLOR_BOX).\n"
17642 " line_colors (PLINT_VECTOR, input) : A vector containing\n"
17643 " nlegend cmap0 line colors (\n"
17644 " PL_LEGEND_LINE).\n"
17646 " line_styles (PLINT_VECTOR, input) : A vector containing\n"
17647 " nlegend line styles (plsty indices) (\n"
17648 " PL_LEGEND_LINE).\n"
17650 " line_widths (PLFLT_VECTOR, input) : A vector containing\n"
17651 " nlegend line widths (\n"
17652 " PL_LEGEND_LINE).\n"
17654 " symbol_colors (PLINT_VECTOR, input) : A vector containing\n"
17655 " nlegend cmap0 symbol colors (\n"
17656 " PL_LEGEND_SYMBOL).\n"
17658 " symbol_scales (PLFLT_VECTOR, input) : A vector containing\n"
17659 " nlegend scale values for the symbol height (\n"
17660 " PL_LEGEND_SYMBOL).\n"
17662 " symbol_numbers (PLINT_VECTOR, input) : A vector containing\n"
17663 " nlegend numbers of symbols to be drawn across the width of the plotted\n"
17665 " PL_LEGEND_SYMBOL).\n"
17667 " symbols (PLCHAR_MATRIX, input) : A vector of\n"
17668 " nlegend UTF-8 character strings containing the legend symbols. (\n"
17669 " PL_LEGEND_SYMBOL).\n"
17673 "Plot color bar for image, shade or gradient plots\n"
17677 " Routine for creating a continuous color bar for image, shade, or\n"
17678 " gradient plots. (See pllegend for similar functionality for creating\n"
17679 " legends with discrete elements). The arguments of plcolorbar provide\n"
17680 " control over the location and size of the color bar as well as the\n"
17681 " location and characteristics of the elements (most of which are\n"
17682 " optional) within that color bar. The resulting color bar is clipped\n"
17683 " at the boundaries of the current subpage. (N.B. the adopted coordinate\n"
17684 " system used for some of the parameters is defined in the documentation\n"
17685 " of the position parameter.)\n"
17687 " Redacted form: plcolorbar(p_colorbar_width, p_colorbar_height, opt,\n"
17688 " position, x, y, x_length, y_length, bg_color, bb_color, bb_style,\n"
17689 " low_cap_color, high_cap_color, cont_color, cont_width, label_opts,\n"
17690 " labels, axis_opts, ticks, sub_ticks, values)\n"
17692 " This function is used in examples 16 and 33.\n"
17698 "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"
17702 " p_colorbar_width (PLFLT_NC_SCALAR, output) : Returned value of the\n"
17703 " labelled and decorated color bar width in adopted coordinates.\n"
17705 " p_colorbar_height (PLFLT_NC_SCALAR, output) : Returned value of the\n"
17706 " labelled and decorated color bar height in adopted coordinates.\n"
17708 " opt (PLINT, input) : opt contains bits controlling the overall\n"
17709 " color bar. The orientation (direction of the maximum value) of\n"
17710 " the color bar is specified with PL_ORIENT_RIGHT, PL_ORIENT_TOP,\n"
17711 " PL_ORIENT_LEFT, or PL_ORIENT_BOTTOM. If none of these bits are\n"
17712 " specified, the default orientation is toward the top if the\n"
17713 " colorbar is placed on the left or right of the viewport or toward\n"
17714 " the right if the colorbar is placed on the top or bottom of the\n"
17715 " viewport. If the PL_COLORBAR_BACKGROUND bit is set, plot a\n"
17716 " (semitransparent) background for the color bar. If the\n"
17717 " PL_COLORBAR_BOUNDING_BOX bit is set, plot a bounding box for the\n"
17718 " color bar. The type of color bar must be specified with one of\n"
17719 " PL_COLORBAR_IMAGE, PL_COLORBAR_SHADE, or PL_COLORBAR_GRADIENT. If\n"
17720 " more than one of those bits is set only the first one in the above\n"
17721 " list is honored. The position of the (optional) label/title can be\n"
17722 " specified with PL_LABEL_RIGHT, PL_LABEL_TOP, PL_LABEL_LEFT, or\n"
17723 " PL_LABEL_BOTTOM. If no label position bit is set then no label\n"
17724 " will be drawn. If more than one of this list of bits is specified,\n"
17725 " only the first one on the list is honored. End-caps for the color\n"
17726 " bar can added with PL_COLORBAR_CAP_LOW and PL_COLORBAR_CAP_HIGH.\n"
17727 " If a particular color bar cap option is not specified then no cap\n"
17728 " will be drawn for that end. As a special case for\n"
17729 " PL_COLORBAR_SHADE, the option PL_COLORBAR_SHADE_LABEL can be\n"
17730 " specified. If this option is provided then any tick marks and tick\n"
17731 " labels will be placed at the breaks between shaded segments. TODO:\n"
17732 " This should be expanded to support custom placement of tick marks\n"
17733 " and tick labels at custom value locations for any color bar type.\n"
17735 " position (PLINT, input) : position contains bits which control the\n"
17736 " overall position of the color bar and the definition of the\n"
17737 " adopted coordinates used for positions just like what is done for\n"
17738 " the position argument for pllegend. However, note that the\n"
17739 " defaults for the position bits (see below) are different than the\n"
17740 " pllegend case. The combination of the PL_POSITION_LEFT,\n"
17741 " PL_POSITION_RIGHT, PL_POSITION_TOP, PL_POSITION_BOTTOM,\n"
17742 " PL_POSITION_INSIDE, and PL_POSITION_OUTSIDE bits specifies one of\n"
17743 " the 16 possible standard positions (the 4 corners and centers of\n"
17744 " the 4 sides for both the inside and outside cases) of the color\n"
17745 " bar relative to the adopted coordinate system. The corner\n"
17746 " positions are specified by the appropriate combination of two of\n"
17747 " the PL_POSITION_LEFT, PL_POSITION_RIGHT, PL_POSITION_TOP, and\n"
17748 " PL_POSITION_BOTTOM bits while the sides are specified by a single\n"
17749 " value of one of those bits. The adopted coordinates are\n"
17750 " normalized viewport coordinates if the PL_POSITION_VIEWPORT bit is\n"
17751 " set or normalized subpage coordinates if the PL_POSITION_SUBPAGE\n"
17752 " bit is set. Default position bits: If none of PL_POSITION_LEFT,\n"
17753 " PL_POSITION_RIGHT, PL_POSITION_TOP, or PL_POSITION_BOTTOM are set,\n"
17754 " then use PL_POSITION_RIGHT. If neither of PL_POSITION_INSIDE or\n"
17755 " PL_POSITION_OUTSIDE is set, use PL_POSITION_OUTSIDE. If neither of\n"
17756 " PL_POSITION_VIEWPORT or PL_POSITION_SUBPAGE is set, use\n"
17757 " PL_POSITION_VIEWPORT.\n"
17759 " x (PLFLT, input) : X offset of the color bar position in adopted\n"
17760 " coordinates from the specified standard position of the color bar.\n"
17761 " For positive x, the direction of motion away from the standard\n"
17762 " position is inward/outward from the standard corner positions or\n"
17763 " standard left or right positions if the\n"
17764 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
17765 " For the standard top or bottom positions, the direction of motion\n"
17766 " is toward positive X.\n"
17768 " y (PLFLT, input) : Y offset of the color bar position in adopted\n"
17769 " coordinates from the specified standard position of the color bar.\n"
17770 " For positive y, the direction of motion away from the standard\n"
17771 " position is inward/outward from the standard corner positions or\n"
17772 " standard top or bottom positions if the\n"
17773 " PL_POSITION_INSIDE/PL_POSITION_OUTSIDE bit is set in position.\n"
17774 " For the standard left or right positions, the direction of motion\n"
17775 " is toward positive Y.\n"
17777 " x_length (PLFLT, input) : Length of the body of the color bar in\n"
17778 " the X direction in adopted coordinates.\n"
17780 " y_length (PLFLT, input) : Length of the body of the color bar in\n"
17781 " the Y direction in adopted coordinates.\n"
17783 " bg_color (PLINT, input) : The cmap0 color of the background for the\n"
17784 " color bar (PL_COLORBAR_BACKGROUND).\n"
17786 " bb_color (PLINT, input) : The cmap0 color of the bounding-box line\n"
17787 " for the color bar (PL_COLORBAR_BOUNDING_BOX).\n"
17789 " bb_style (PLINT, input) : The pllsty style number for the\n"
17790 " bounding-box line for the color bar (PL_COLORBAR_BACKGROUND).\n"
17792 " low_cap_color (PLFLT, input) : The cmap1 color of the low-end color\n"
17793 " bar cap, if it is drawn (PL_COLORBAR_CAP_LOW).\n"
17795 " high_cap_color (PLFLT, input) : The cmap1 color of the high-end\n"
17796 " color bar cap, if it is drawn (PL_COLORBAR_CAP_HIGH).\n"
17798 " cont_color (PLINT, input) : The cmap0 contour color for\n"
17799 " PL_COLORBAR_SHADE plots. This is passed directly to plshades, so\n"
17800 " it will be interpreted according to the design of plshades.\n"
17802 " cont_width (PLFLT, input) : Contour width for PL_COLORBAR_SHADE\n"
17803 " plots. This is passed directly to plshades, so it will be\n"
17804 " interpreted according to the design of plshades.\n"
17806 " n_labels (PLINT, input) : Number of labels to place around the\n"
17809 " label_opts (PLINT_VECTOR, input) : A vector of options for each of\n"
17810 " n_labels labels.\n"
17812 " labels (PLCHAR_MATRIX, input) : A vector of\n"
17813 " n_labels UTF-8 character strings containing the labels for the color\n"
17814 " bar. Ignored if no label position is specified with one of the\n"
17815 " PL_COLORBAR_LABEL_RIGHT, PL_COLORBAR_LABEL_TOP,\n"
17816 " PL_COLORBAR_LABEL_LEFT, or PL_COLORBAR_LABEL_BOTTOM bits in the\n"
17817 " corresponding label_opts field.\n"
17819 " n_axes (PLINT, input) : Number of axis definitions provided. This\n"
17820 " value must be greater than 0. It is typically 1 (numerical axis\n"
17821 " labels are provided for one of the long edges of the color bar),\n"
17822 " but it can be larger if multiple numerical axis labels for the\n"
17823 " long edges of the color bar are desired.\n"
17825 " axis_opts (PLCHAR_MATRIX, input) : A vector of\n"
17826 " n_axes ascii character strings containing options (interpreted as for\n"
17827 " plbox) for the color bar's axis definitions.\n"
17829 " ticks (PLFLT_VECTOR, input) : A vector of n_axes values of the\n"
17830 " spacing of the major tick marks (interpreted as for plbox) for the\n"
17831 " color bar's axis definitions.\n"
17833 " sub_ticks (PLINT_VECTOR, input) : A vector of n_axes values of the\n"
17834 " number of subticks (interpreted as for plbox) for the color bar's\n"
17835 " axis definitions.\n"
17837 " n_values (PLINT_VECTOR, input) : A vector containing the number of\n"
17838 " elements in each of the n_axes rows of the values matrix.\n"
17840 " values (PLFLT_MATRIX, input) : A matrix containing the numeric\n"
17841 " values for the data range represented by the color bar. For a row\n"
17842 " index of i_axis (where 0 < i_axis < n_axes), the number of\n"
17843 " elements in the row is specified by n_values[i_axis]. For\n"
17844 " PL_COLORBAR_IMAGE and PL_COLORBAR_GRADIENT the number of elements\n"
17845 " is 2, and the corresponding row elements of the values matrix are\n"
17846 " the minimum and maximum value represented by the colorbar. For\n"
17847 " PL_COLORBAR_SHADE, the number and values of the elements of a row\n"
17848 " of the values matrix is interpreted the same as the nlevel and\n"
17849 " clevel arguments of plshades.\n"
17853 "Sets the 3D position of the light source\n"
17857 " Sets the 3D position of the light source for use with plsurf3d and\n"
17860 " Redacted form: pllightsource(x, y, z)\n"
17862 " This function is used in example 8.\n"
17868 "pllightsource(x, y, z)\n"
17872 " x (PLFLT, input) : X-coordinate of the light source.\n"
17874 " y (PLFLT, input) : Y-coordinate of the light source.\n"
17876 " z (PLFLT, input) : Z-coordinate of the light source.\n"
17884 " Draws line defined by n points in x and y.\n"
17886 " Redacted form: plline(x, y)\n"
17888 " This function is used in examples 1, 3, 4, 9, 12-14, 16, 18, 20, 22,\n"
17889 " 25-27, and 29.\n"
17895 "plline(n, x, y)\n"
17899 " n (PLINT, input) : Number of points defining line.\n"
17901 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
17904 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
17909 "Draw a line in 3 space\n"
17913 " Draws line in 3 space defined by n points in x, y, and z. You must\n"
17914 " first set up the viewport, the 2d viewing window (in world\n"
17915 " coordinates), and the 3d normalized coordinate box. See x18c.c for\n"
17918 " Redacted form: plline3(x, y, z)\n"
17920 " This function is used in example 18.\n"
17926 "plline3(n, x, y, z)\n"
17930 " n (PLINT, input) : Number of points defining line.\n"
17932 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
17935 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
17938 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
17943 "Select line style\n"
17947 " This sets the line style according to one of eight predefined patterns\n"
17948 " (also see plstyl).\n"
17950 " Redacted form: pllsty(lin)\n"
17952 " This function is used in examples 9, 12, 22, and 25.\n"
17962 " lin (PLINT, input) : Integer value between 1 and 8. Line style 1 is\n"
17963 " a continuous line, line style 2 is a line with short dashes and\n"
17964 " gaps, line style 3 is a line with long dashes and gaps, line style\n"
17965 " 4 has long dashes and short gaps and so on.\n"
17969 "Plot surface mesh\n"
17973 " Plots a surface mesh within the environment set up by plw3d. The\n"
17974 " surface is defined by the matrix z[\n"
17976 " ny] , the point z[i][j] being the value of the function at (\n"
17978 " y[j]). Note that the points in vectors x and y do not need to be\n"
17979 " equally spaced, but must be stored in ascending order. The parameter\n"
17980 " opt controls the way in which the surface is displayed. For further\n"
17981 " details see the PLplot documentation.\n"
17983 " Redacted form: plmesh(x, y, z, opt)\n"
17985 " This function is used in example 11.\n"
17991 "plmesh(x, y, z, nx, ny, opt)\n"
17995 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
17996 " which the function is evaluated.\n"
17998 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
17999 " which the function is evaluated.\n"
18001 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18002 " plot. Should have dimensions of\n"
18006 " nx (PLINT, input) : Number of x values at which function has been\n"
18009 " ny (PLINT, input) : Number of y values at which function has been\n"
18012 " opt (PLINT, input) : Determines the way in which the surface is\n"
18013 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n"
18014 " function of x for each value of y[j] .\n"
18015 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18016 " for each value of x[i] .\n"
18017 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18018 " at which function is defined.\n"
18022 "Magnitude colored plot surface mesh with contour\n"
18026 " A more powerful form of plmesh: the surface mesh can be colored\n"
18027 " accordingly to the current z value being plotted, a contour plot can\n"
18028 " be drawn at the base XY plane, and a curtain can be drawn between the\n"
18029 " plotted function border and the base XY plane.\n"
18031 " Redacted form: plmeshc(x, y, z, opt, clevel)\n"
18033 " This function is used in example 11.\n"
18039 "plmeshc(x, y, z, nx, ny, opt, clevel, nlevel)\n"
18043 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18044 " which the function is evaluated.\n"
18046 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18047 " which the function is evaluated.\n"
18049 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18050 " plot. Should have dimensions of\n"
18054 " nx (PLINT, input) : Number of x values at which function is\n"
18057 " ny (PLINT, input) : Number of y values at which function is\n"
18060 " opt (PLINT, input) : Determines the way in which the surface is\n"
18061 " represented. To specify more than one option just add the options,\n"
18062 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
18063 " showing z as a function of x for each value of y[j] .\n"
18064 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18065 " for each value of x[i] .\n"
18066 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18067 " at which function is defined.\n"
18068 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
18069 " the z value being plotted. The color is used from the current\n"
18071 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18072 " using parameters\n"
18075 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18076 " the borders of the plotted function.\n"
18079 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18082 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18086 "Creates a new stream and makes it the default\n"
18090 " Creates a new stream and makes it the default. Differs from using\n"
18091 " plsstrm, in that a free stream number is found, and returned.\n"
18092 " Unfortunately, I have to start at stream 1 and work upward, since\n"
18093 " stream 0 is preallocated. One of the big flaws in the PLplot API is\n"
18094 " that no initial, library-opening call is required. So stream 0 must\n"
18095 " be preallocated, and there is no simple way of determining whether it\n"
18096 " is already in use or not.\n"
18098 " Redacted form: plmkstrm(p_strm)\n"
18100 " This function is used in examples 1 and 20.\n"
18106 "plmkstrm(p_strm)\n"
18110 " p_strm (PLINT_NC_SCALAR, output) : Returned value of the stream\n"
18111 " number of the created stream.\n"
18115 "Write text relative to viewport boundaries\n"
18119 " Writes text at a specified position relative to the viewport\n"
18120 " boundaries. Text may be written inside or outside the viewport, but\n"
18121 " is clipped at the subpage boundaries. The reference point of a string\n"
18122 " lies along a line passing through the string at half the height of a\n"
18123 " capital letter. The position of the reference point along this line\n"
18124 " is determined by just, and the position of the reference point\n"
18125 " relative to the viewport is set by disp and pos.\n"
18127 " Redacted form: General: plmtex(side, disp, pos, just, text)\n"
18130 " This function is used in examples 3, 4, 6-8, 11, 12, 14, 18, 23, and\n"
18137 "plmtex(side, disp, pos, just, text)\n"
18141 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
18142 " the side of the viewport along which the text is to be written.\n"
18143 " The string must be one of: b: Bottom of viewport, text written\n"
18144 " parallel to edge.\n"
18145 " bv: Bottom of viewport, text written at right angles to edge.\n"
18146 " l: Left of viewport, text written parallel to edge.\n"
18147 " lv: Left of viewport, text written at right angles to edge.\n"
18148 " r: Right of viewport, text written parallel to edge.\n"
18149 " rv: Right of viewport, text written at right angles to edge.\n"
18150 " t: Top of viewport, text written parallel to edge.\n"
18151 " tv: Top of viewport, text written at right angles to edge.\n"
18154 " disp (PLFLT, input) : Position of the reference point of string,\n"
18155 " measured outwards from the specified viewport edge in units of the\n"
18156 " current character height. Use negative disp to write within the\n"
18159 " pos (PLFLT, input) : Position of the reference point of string\n"
18160 " along the specified edge, expressed as a fraction of the length of\n"
18163 " just (PLFLT, input) : Specifies the position of the string relative\n"
18164 " to its reference point. If just=0. , the reference point is at\n"
18165 " the left and if just=1. , it is at the right of the string. Other\n"
18166 " values of just give intermediate justifications.\n"
18168 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
18173 "Write text relative to viewport boundaries in 3D plots\n"
18177 " Writes text at a specified position relative to the viewport\n"
18178 " boundaries. Text may be written inside or outside the viewport, but\n"
18179 " is clipped at the subpage boundaries. The reference point of a string\n"
18180 " lies along a line passing through the string at half the height of a\n"
18181 " capital letter. The position of the reference point along this line\n"
18182 " is determined by just, and the position of the reference point\n"
18183 " relative to the viewport is set by disp and pos.\n"
18185 " Redacted form: plmtex3(side, disp, pos, just, text)\n"
18187 " This function is used in example 28.\n"
18193 "plmtex3(side, disp, pos, just, text)\n"
18197 " side (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
18198 " the side of the viewport along which the text is to be written.\n"
18199 " The string should contain one or more of the following characters:\n"
18200 " [xyz][ps][v]. Only one label is drawn at a time, i.e. xyp will\n"
18201 " only label the X axis, not both the X and Y axes. x: Label the X\n"
18203 " y: Label the Y axis.\n"
18204 " z: Label the Z axis.\n"
18205 " p: Label the primary axis. For Z this is the leftmost Z axis.\n"
18206 " For X it is the axis that starts at y-min. For Y it is the\n"
18207 " axis that starts at x-min.\n"
18208 " s: Label the secondary axis.\n"
18209 " v: Draw the text perpendicular to the axis.\n"
18212 " disp (PLFLT, input) : Position of the reference point of string,\n"
18213 " measured outwards from the specified viewport edge in units of the\n"
18214 " current character height. Use negative disp to write within the\n"
18217 " pos (PLFLT, input) : Position of the reference point of string\n"
18218 " along the specified edge, expressed as a fraction of the length of\n"
18221 " just (PLFLT, input) : Specifies the position of the string relative\n"
18222 " to its reference point. If just=0. , the reference point is at\n"
18223 " the left and if just=1. , it is at the right of the string. Other\n"
18224 " values of just give intermediate justifications.\n"
18226 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
18231 "Plot 3-d surface plot\n"
18235 " Plots a three-dimensional surface plot within the environment set up\n"
18236 " by plw3d. The surface is defined by the matrix z[\n"
18238 " ny] , the point z[i][j] being the value of the function at (\n"
18240 " y[j]). Note that the points in vectors x and y do not need to be\n"
18241 " equally spaced, but must be stored in ascending order. The parameter\n"
18242 " opt controls the way in which the surface is displayed. For further\n"
18243 " details see the PLplot documentation. The only difference between\n"
18244 " plmesh and plot3d is that plmesh draws the bottom side of the surface,\n"
18245 " while plot3d only draws the surface as viewed from the top.\n"
18247 " Redacted form: plot3d(x, y, z, opt, side)\n"
18249 " This function is used in examples 11 and 21.\n"
18255 "plot3d(x, y, z, nx, ny, opt, side)\n"
18259 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18260 " which the function is evaluated.\n"
18262 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18263 " which the function is evaluated.\n"
18265 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18266 " plot. Should have dimensions of\n"
18270 " nx (PLINT, input) : Number of x values at which function is\n"
18273 " ny (PLINT, input) : Number of y values at which function is\n"
18276 " opt (PLINT, input) : Determines the way in which the surface is\n"
18277 " represented: opt=DRAW_LINEX : Lines are drawn showing z as a\n"
18278 " function of x for each value of y[j] .\n"
18279 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18280 " for each value of x[i] .\n"
18281 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18282 " at which function is defined.\n"
18285 " side (PLBOOL, input) : Flag to indicate whether or not ``sides''\n"
18286 " should be draw on the figure. If side is true sides are drawn,\n"
18287 " otherwise no sides are drawn.\n"
18291 "Magnitude colored plot surface with contour\n"
18295 " Aside from dropping the\n"
18296 " side functionality this is a more powerful form of plot3d: the surface\n"
18297 " mesh can be colored accordingly to the current z value being plotted,\n"
18298 " a contour plot can be drawn at the base XY plane, and a curtain can be\n"
18299 " drawn between the plotted function border and the base XY plane. The\n"
18300 " arguments are identical to those of plmeshc. The only difference\n"
18301 " between plmeshc and plot3dc is that plmeshc draws the bottom side of\n"
18302 " the surface, while plot3dc only draws the surface as viewed from the\n"
18305 " Redacted form: General: plot3dc(x, y, z, opt, clevel)\n"
18308 " This function is used in example 21.\n"
18314 "plot3dc(x, y, z, nx, ny, opt, clevel, nlevel)\n"
18318 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18319 " which the function is evaluated.\n"
18321 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18322 " which the function is evaluated.\n"
18324 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18325 " plot. Should have dimensions of\n"
18329 " nx (PLINT, input) : Number of x values at which function is\n"
18332 " ny (PLINT, input) : Number of y values at which function is\n"
18335 " opt (PLINT, input) : Determines the way in which the surface is\n"
18336 " represented. To specify more than one option just add the options,\n"
18337 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
18338 " showing z as a function of x for each value of y[j] .\n"
18339 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18340 " for each value of x[i] .\n"
18341 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18342 " at which function is defined.\n"
18343 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
18344 " the z value being plotted. The color is used from the current\n"
18346 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18347 " using parameters\n"
18350 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18351 " the borders of the plotted function.\n"
18354 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18357 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18361 "Magnitude colored plot surface with contour for z[x][y] with y index limits\n"
18365 " When the implementation is completed this variant of plot3dc (see that\n"
18366 " function's documentation for more details) should be suitable for the\n"
18367 " case where the area of the x, y coordinate grid where z is defined can\n"
18368 " be non-rectangular. The implementation is incomplete so the last 4\n"
18369 " parameters of plot3dcl; indexxmin, indexxmax, indexymin, and\n"
18370 " indexymax; are currently ignored and the functionality is otherwise\n"
18371 " identical to that of plot3dc.\n"
18373 " Redacted form: General: plot3dcl(x, y, z, opt, clevel, indexxmin,\n"
18374 " indexymin, indexymax)\n"
18377 " This function is not used in any example.\n"
18383 "plot3dcl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n"
18387 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18388 " which the function is evaluated.\n"
18390 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18391 " which the function is evaluated.\n"
18393 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18394 " plot. Should have dimensions of\n"
18398 " nx (PLINT, input) : Number of x values at which the function is\n"
18401 " ny (PLINT, input) : Number of y values at which the function is\n"
18404 " opt (PLINT, input) : Determines the way in which the surface is\n"
18405 " represented. To specify more than one option just add the options,\n"
18406 " e.g. DRAW_LINEXY + MAG_COLOR opt=DRAW_LINEX : Lines are drawn\n"
18407 " showing z as a function of x for each value of y[j] .\n"
18408 " opt=DRAW_LINEY : Lines are drawn showing z as a function of y\n"
18409 " for each value of x[i] .\n"
18410 " opt=DRAW_LINEXY : Network of lines is drawn connecting points\n"
18411 " at which function is defined.\n"
18412 " opt=MAG_COLOR : Each line in the mesh is colored according to\n"
18413 " the z value being plotted. The color is used from the current\n"
18415 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18416 " using parameters\n"
18419 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18420 " the borders of the plotted function.\n"
18423 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18426 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18428 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n"
18429 " corresponds to the first x index where z is defined.\n"
18431 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n"
18432 " which corresponds (by convention) to one more than the last x\n"
18433 " index value where z is defined.\n"
18435 " indexymin (PLINT_VECTOR, input) : A vector containing y index\n"
18436 " values which all must be ≥ 0. These values are the first y index\n"
18437 " where z is defined for a particular x index in the range from\n"
18438 " indexxmin to indexxmax - 1. The dimension of indexymin is\n"
18441 " indexymax (PLINT_VECTOR, input) : A vector containing y index\n"
18442 " values which all must be ≤ ny. These values correspond (by\n"
18443 " convention) to one more than the last y index where z is defined\n"
18444 " for a particular x index in the range from indexxmin to indexxmax\n"
18445 " - 1. The dimension of indexymax is indexxmax.\n"
18449 "Plot shaded 3-d surface plot\n"
18453 " Plots a three-dimensional shaded surface plot within the environment\n"
18454 " set up by plw3d. The surface is defined by the two-dimensional matrix\n"
18457 " ny], the point z[i][j] being the value of the function at (\n"
18459 " y[j]). Note that the points in vectors x and y do not need to be\n"
18460 " equally spaced, but must be stored in ascending order. For further\n"
18461 " details see the PLplot documentation.\n"
18463 " Redacted form: plsurf3d(x, y, z, opt, clevel)\n"
18465 " This function is not used in any examples.\n"
18471 "plsurf3d(x, y, z, nx, ny, opt, clevel, nlevel)\n"
18475 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18476 " which the function is evaluated.\n"
18478 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18479 " which the function is evaluated.\n"
18481 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18482 " plot. Should have dimensions of\n"
18486 " nx (PLINT, input) : Number of x values at which function is\n"
18489 " ny (PLINT, input) : Number of y values at which function is\n"
18492 " opt (PLINT, input) : Determines the way in which the surface is\n"
18493 " represented. To specify more than one option just add the options,\n"
18494 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n"
18495 " connecting points at which function is defined.\n"
18496 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18497 " using parameters\n"
18500 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n"
18501 " using parameters\n"
18504 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18505 " the borders of the plotted function.\n"
18506 " opt=MAG_COLOR : the surface is colored according to the value\n"
18507 " of Z; if MAG_COLOR is not used, then the surface is colored\n"
18508 " according to the intensity of the reflected light in the\n"
18509 " surface from a light source whose position is set using\n"
18510 " pllightsource.\n"
18513 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18516 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18520 "Plot shaded 3-d surface plot for z[x][y] with y index limits\n"
18524 " This variant of plsurf3d (see that function's documentation for more\n"
18525 " details) should be suitable for the case where the area of the x, y\n"
18526 " coordinate grid where z is defined can be non-rectangular. The limits\n"
18527 " of that grid are provided by the parameters indexxmin, indexxmax,\n"
18528 " indexymin, and indexymax.\n"
18530 " Redacted form: plsurf3dl(x, y, z, opt, clevel, indexxmin, indexymin,\n"
18533 " This function is used in example 8.\n"
18539 "plsurf3dl(x, y, z, nx, ny, opt, clevel, nlevel, indexxmin, indexxmax, indexymin, indexymax)\n"
18543 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates at\n"
18544 " which the function is evaluated.\n"
18546 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates at\n"
18547 " which the function is evaluated.\n"
18549 " z (PLFLT_MATRIX, input) : A matrix containing function values to\n"
18550 " plot. Should have dimensions of\n"
18554 " nx (PLINT, input) : Number of x values at which function is\n"
18557 " ny (PLINT, input) : Number of y values at which function is\n"
18560 " opt (PLINT, input) : Determines the way in which the surface is\n"
18561 " represented. To specify more than one option just add the options,\n"
18562 " e.g. FACETED + SURF_CONT opt=FACETED : Network of lines is drawn\n"
18563 " connecting points at which function is defined.\n"
18564 " opt=BASE_CONT : A contour plot is drawn at the base XY plane\n"
18565 " using parameters\n"
18568 " opt=SURF_CONT : A contour plot is drawn at the surface plane\n"
18569 " using parameters\n"
18572 " opt=DRAW_SIDES : draws a curtain between the base XY plane and\n"
18573 " the borders of the plotted function.\n"
18574 " opt=MAG_COLOR : the surface is colored according to the value\n"
18575 " of Z; if MAG_COLOR is not used, then the surface is colored\n"
18576 " according to the intensity of the reflected light in the\n"
18577 " surface from a light source whose position is set using\n"
18578 " pllightsource.\n"
18581 " clevel (PLFLT_VECTOR, input) : A vector containing the contour\n"
18584 " nlevel (PLINT, input) : Number of elements in the clevel vector.\n"
18586 " indexxmin (PLINT, input) : The index value (which must be ≥ 0) that\n"
18587 " corresponds to the first x index where z is defined.\n"
18589 " indexxmax (PLINT, input) : The index value (which must be ≤ nx)\n"
18590 " which corresponds (by convention) to one more than the last x\n"
18591 " index value where z is defined.\n"
18593 " indexymin (PLINT_VECTOR, input) : A vector containing the y index\n"
18594 " values which all must be ≥ 0. These values are the first y index\n"
18595 " where z is defined for a particular x index in the range from\n"
18596 " indexxmin to indexxmax - 1. The dimension of indexymin is\n"
18599 " indexymax (PLINT_VECTOR, input) : A vector containing the y index\n"
18600 " values which all must be ≤ ny. These values correspond (by\n"
18601 " convention) to one more than the last y index where z is defined\n"
18602 " for a particular x index in the range from indexxmin to indexxmax\n"
18603 " - 1. The dimension of indexymax is indexxmax.\n"
18607 "Parse command-line arguments\n"
18611 " Parse command-line arguments.\n"
18613 " plparseopts removes all recognized flags (decreasing argc\n"
18614 " accordingly), so that invalid input may be readily detected. It can\n"
18615 " also be used to process user command line flags. The user can merge\n"
18616 " an option table of type PLOptionTable into the internal option table\n"
18617 " info structure using plMergeOpts. Or, the user can specify that ONLY\n"
18618 " the external table(s) be parsed by calling plClearOpts before\n"
18621 " The default action taken by plparseopts is as follows:\n"
18622 " Returns with an error if an unrecognized option or badly formed\n"
18623 " option-value pair are encountered.\n"
18624 " Returns immediately (return code 0) when the first non-option command\n"
18625 " line argument is found.\n"
18626 " Returns with the return code of the option handler, if one was called.\n"
18628 " Deletes command line arguments from argv list as they are found, and\n"
18629 " decrements argc accordingly.\n"
18630 " Does not show \"invisible\" options in usage or help messages.\n"
18631 " Assumes the program name is contained in argv[0].\n"
18633 " These behaviors may be controlled through the\n"
18634 " mode argument.\n"
18636 " Redacted form: General: plparseopts(argv, mode)\n"
18639 " This function is used in all of the examples.\n"
18645 "PLINT plparseopts(p_argc, argv, mode)\n"
18649 " p_argc (int *, input/output) : Number of arguments.\n"
18651 " argv (PLCHAR_NC_MATRIX, input/output) : A vector of character\n"
18652 " strings containing *p_argc command-line arguments.\n"
18654 " mode (PLINT, input) : Parsing mode with the following\n"
18655 " possibilities: PL_PARSE_FULL (1) -- Full parsing of command line\n"
18656 " and all error messages enabled, including program exit when an\n"
18657 " error occurs. Anything on the command line that isn't recognized\n"
18658 " as a valid option or option argument is flagged as an error.\n"
18659 " PL_PARSE_QUIET (2) -- Turns off all output except in the case\n"
18661 " PL_PARSE_NODELETE (4) -- Turns off deletion of processed\n"
18663 " PL_PARSE_SHOWALL (8) -- Show invisible options\n"
18664 " PL_PARSE_NOPROGRAM (32) -- Specified if argv[0] is NOT a\n"
18665 " pointer to the program name.\n"
18666 " PL_PARSE_NODASH (64) -- Set if leading dash is NOT required.\n"
18667 " PL_PARSE_SKIP (128) -- Set to quietly skip over any\n"
18668 " unrecognized arguments.\n"
18672 "Set area line fill pattern\n"
18676 " Sets the area line fill pattern to be used, e.g., for calls to plfill.\n"
18677 " The pattern consists of 1 or 2 sets of parallel lines with specified\n"
18678 " inclinations and spacings. The arguments to this routine are the\n"
18679 " number of sets to use (1 or 2) followed by two vectors (with 1 or 2\n"
18680 " elements) specifying the inclinations in tenths of a degree and the\n"
18681 " spacing in micrometers. (See also plpsty)\n"
18683 " Redacted form: General: plpat(inc, del)\n"
18686 " This function is used in example 15.\n"
18692 "plpat(nlin, inc, del)\n"
18696 " nlin (PLINT, input) : Number of sets of lines making up the\n"
18697 " pattern, either 1 or 2.\n"
18699 " inc (PLINT_VECTOR, input) : A vector containing nlin values of the\n"
18700 " inclination in tenths of a degree. (Should be between -900 and\n"
18703 " del (PLINT_VECTOR, input) : A vector containing nlin values of the\n"
18704 " spacing in micrometers between the lines making up the pattern.\n"
18708 "Draw a line between two points, accounting for coordinate transforms\n"
18712 " Joins the point (\n"
18716 " y2) . If a global coordinate transform is defined then the line is\n"
18717 " broken in to n segments to approximate the path. If no transform is\n"
18718 " defined then this simply acts like a call to pljoin.\n"
18720 " Redacted form: plpath(n,x1,y1,x2,y2)\n"
18722 " This function is used in example 22.\n"
18728 "plpath(n, x1, y1, x2, y2)\n"
18732 " n (PLINT, input) : number of points to use to approximate the path.\n"
18734 " x1 (PLFLT, input) : x coordinate of first point.\n"
18736 " y1 (PLFLT, input) : y coordinate of first point.\n"
18738 " x2 (PLFLT, input) : x coordinate of second point.\n"
18740 " y2 (PLFLT, input) : y coordinate of second point.\n"
18744 "Plot a glyph at the specified points\n"
18748 " Plot a glyph at the specified points. (This function is largely\n"
18749 " superseded by plstring which gives access to many[!] more glyphs.)\n"
18750 " code=-1 means try to just draw a point. Right now it's just a move\n"
18751 " and a draw at the same place. Not ideal, since a sufficiently\n"
18752 " intelligent output device may optimize it away, or there may be faster\n"
18753 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n"
18754 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n"
18755 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n"
18756 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n"
18757 " code <= 127 the corresponding printable ASCII character is plotted.\n"
18759 " Redacted form: plpoin(x, y, code)\n"
18761 " This function is used in examples 1, 6, 14, and 29.\n"
18767 "plpoin(n, x, y, code)\n"
18771 " n (PLINT, input) : Number of points in the x and y vectors.\n"
18773 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
18776 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
18779 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n"
18780 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n"
18781 " each of the n points.\n"
18785 "Plot a glyph at the specified 3D points\n"
18789 " Plot a glyph at the specified 3D points. (This function is largely\n"
18790 " superseded by plstring3 which gives access to many[!] more glyphs.)\n"
18791 " Set up the call to this function similar to what is done for plline3.\n"
18792 " code=-1 means try to just draw a point. Right now it's just a move\n"
18793 " and a draw at the same place. Not ideal, since a sufficiently\n"
18794 " intelligent output device may optimize it away, or there may be faster\n"
18795 " ways of doing it. This is OK for now, though, and offers a 4X speedup\n"
18796 " over drawing a Hershey font \"point\" (which is actually diamond shaped\n"
18797 " and therefore takes 4 strokes to draw). If 0 < code < 32, then a\n"
18798 " useful (but small subset) of Hershey symbols is plotted. If 32 <=\n"
18799 " code <= 127 the corresponding printable ASCII character is plotted.\n"
18801 " Redacted form: plpoin3(x, y, z, code)\n"
18803 " This function is not used in any example.\n"
18809 "plpoin3(n, x, y, z, code)\n"
18813 " n (PLINT, input) : Number of points in the x and y vectors.\n"
18815 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
18818 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
18821 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
18824 " code (PLINT, input) : Hershey symbol code (in \"ascii-indexed\" form\n"
18825 " with -1 <= code <= 127) corresponding to a glyph to be plotted at\n"
18826 " each of the n points.\n"
18830 "Draw a polygon in 3 space\n"
18834 " Draws a polygon in 3 space defined by n points in x, y, and z. Setup\n"
18835 " like plline3, but differs from that function in that plpoly3 attempts\n"
18836 " to determine if the polygon is viewable depending on the order of the\n"
18837 " points within the vector and the value of ifcc. If the back of\n"
18838 " polygon is facing the viewer, then it isn't drawn. If this isn't what\n"
18839 " you want, then use plline3 instead.\n"
18841 " The points are assumed to be in a plane, and the directionality of the\n"
18842 " plane is determined from the first three points. Additional points do\n"
18843 " not have to lie on the plane defined by the first three, but if they\n"
18844 " do not, then the determination of visibility obviously can't be 100%\n"
18845 " accurate... So if you're 3 space polygons are too far from planar,\n"
18846 " consider breaking them into smaller polygons. 3 points define a plane\n"
18849 " Bugs: If one of the first two segments is of zero length, or if they\n"
18850 " are co-linear, the calculation of visibility has a 50/50 chance of\n"
18851 " being correct. Avoid such situations :-). See x18c.c for an example\n"
18852 " of this problem. (Search for 20.1).\n"
18854 " Redacted form: plpoly3(x, y, z, code)\n"
18856 " This function is used in example 18.\n"
18862 "plpoly3(n, x, y, z, draw, ifcc)\n"
18866 " n (PLINT, input) : Number of points defining line.\n"
18868 " x (PLFLT_VECTOR, input) : A vector containing\n"
18869 " n x coordinates of points.\n"
18871 " y (PLFLT_VECTOR, input) : A vector containing\n"
18872 " n y coordinates of points.\n"
18874 " z (PLFLT_VECTOR, input) : A vector containing\n"
18875 " n z coordinates of points.\n"
18877 " draw (PLBOOL_VECTOR, input) : A vector containing\n"
18878 " n-1 Boolean values which control drawing the segments of the polygon.\n"
18879 " If draw[i] is true, then the polygon segment from index [i] to\n"
18880 " [i+1] is drawn, otherwise, not.\n"
18882 " ifcc (PLBOOL, input) : If ifcc is true the directionality of the\n"
18883 " polygon is determined by assuming the points are laid out in a\n"
18884 " counter-clockwise order. Otherwise, the directionality of the\n"
18885 " polygon is determined by assuming the points are laid out in a\n"
18886 " clockwise order.\n"
18890 "Set precision in numeric labels\n"
18894 " Sets the number of places after the decimal point in numeric labels.\n"
18896 " Redacted form: plprec(setp, prec)\n"
18898 " This function is used in example 29.\n"
18904 "plprec(setp, prec)\n"
18908 " setp (PLINT, input) : If setp is equal to 0 then PLplot\n"
18909 " automatically determines the number of places to use after the\n"
18910 " decimal point in numeric labels (like those used to label axes).\n"
18911 " If setp is 1 then prec sets the number of places.\n"
18913 " prec (PLINT, input) : The number of characters to draw after the\n"
18914 " decimal point in numeric labels.\n"
18918 "Select area fill pattern\n"
18923 " patt is zero or less use either a hardware solid fill if the drivers\n"
18924 " have that capability (virtually all do) or fall back to a software\n"
18925 " emulation of a solid fill using the eighth area line fill pattern. If\n"
18927 " patt <= 8, then select one of eight predefined area line fill patterns\n"
18928 " to use (see plpat if you desire other patterns).\n"
18930 " Redacted form: plpsty(patt)\n"
18932 " This function is used in examples 12, 13, 15, 16, and 25.\n"
18942 " patt (PLINT, input) : The desired pattern index. If\n"
18943 " patt is zero or less, then a solid fill is (normally, see qualifiers\n"
18944 " above) used. For\n"
18945 " patt in the range from 1 to 8 and assuming the driver has not supplied\n"
18946 " line fill capability itself (most deliberately do not so that line\n"
18947 " fill patterns look identical for those drivers), the patterns\n"
18948 " consist of (1) horizontal lines, (2) vertical lines, (3) lines at\n"
18949 " 45 degrees, (4) lines at -45 degrees, (5) lines at 30 degrees, (6)\n"
18950 " lines at -30 degrees, (7) both vertical and horizontal lines, and\n"
18951 " (8) lines at both 45 degrees and -45 degrees.\n"
18955 "Write text inside the viewport\n"
18959 " Writes text at a specified position and inclination within the\n"
18960 " viewport. Text is clipped at the viewport boundaries. The reference\n"
18961 " point of a string lies along a line passing through the string at half\n"
18962 " the height of a capital letter. The position of the reference point\n"
18963 " along this line is determined by just, the reference point is placed\n"
18964 " at world coordinates (\n"
18966 " y) within the viewport. The inclination of the string is specified\n"
18967 " in terms of differences of world coordinates making it easy to write\n"
18968 " text parallel to a line in a graph.\n"
18970 " Redacted form: plptex(x, y, dx, dy, just, text)\n"
18972 " This function is used in example 2-4,10,12-14,20,23,24,26.\n"
18978 "plptex(x, y, dx, dy, just, text)\n"
18982 " x (PLFLT, input) : x coordinate of reference point of string.\n"
18984 " y (PLFLT, input) : y coordinate of reference point of string.\n"
18986 " dx (PLFLT, input) : Together with dy, this specifies the\n"
18987 " inclination of the string. The baseline of the string is parallel\n"
18988 " to a line joining (\n"
18996 " dy (PLFLT, input) : Together with dx, this specifies the\n"
18997 " inclination of the string.\n"
18999 " just (PLFLT, input) : Specifies the position of the string relative\n"
19000 " to its reference point. If just=0. , the reference point is at\n"
19001 " the left and if just=1. , it is at the right of the string. Other\n"
19002 " values of just give intermediate justifications.\n"
19004 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
19009 "Write text inside the viewport of a 3D plot\n"
19013 " Writes text at a specified position and inclination and with a\n"
19014 " specified shear within the viewport. Text is clipped at the viewport\n"
19015 " boundaries. The reference point of a string lies along a line passing\n"
19016 " through the string at half the height of a capital letter. The\n"
19017 " position of the reference point along this line is determined by just,\n"
19018 " and the reference point is placed at world coordinates (\n"
19021 " wz) within the viewport. The inclination and shear of the string is\n"
19022 " specified in terms of differences of world coordinates making it easy\n"
19023 " to write text parallel to a line in a graph.\n"
19025 " Redacted form: plptex3(x, y, z, dx, dy, dz, sx, sy, sz, just, text)\n"
19027 " This function is used in example 28.\n"
19033 "plptex3(wx, wy, wz, dx, dy, dz, sx, sy, sz, just, text)\n"
19037 " wx (PLFLT, input) : x world coordinate of reference point of\n"
19040 " wy (PLFLT, input) : y world coordinate of reference point of\n"
19043 " wz (PLFLT, input) : z world coordinate of reference point of\n"
19046 " dx (PLFLT, input) : Together with dy and\n"
19047 " dz , this specifies the inclination of the string. The baseline of\n"
19048 " the string is parallel to a line joining (\n"
19059 " dy (PLFLT, input) : Together with dx and\n"
19060 " dz, this specifies the inclination of the string.\n"
19062 " dz (PLFLT, input) : Together with dx and\n"
19063 " dy, this specifies the inclination of the string.\n"
19065 " sx (PLFLT, input) : Together with sy and\n"
19066 " sz , this specifies the shear of the string. The string is sheared so\n"
19067 " that the characters are vertically parallel to a line joining (\n"
19078 " sz = 0.) then the text is not sheared.\n"
19080 " sy (PLFLT, input) : Together with sx and\n"
19081 " sz, this specifies shear of the string.\n"
19083 " sz (PLFLT, input) : Together with sx and\n"
19084 " sy, this specifies shear of the string.\n"
19086 " just (PLFLT, input) : Specifies the position of the string relative\n"
19087 " to its reference point. If just=0. , the reference point is at\n"
19088 " the left and if just=1. , it is at the right of the string. Other\n"
19089 " values of just give intermediate justifications.\n"
19091 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
19096 "Random number generator returning a real random number in the range [0,1]\n"
19100 " Random number generator returning a real random number in the range\n"
19101 " [0,1]. The generator is based on the Mersenne Twister. Most languages\n"
19102 " / compilers provide their own random number generator, and so this is\n"
19103 " provided purely for convenience and to give a consistent random number\n"
19104 " generator across all languages supported by PLplot. This is\n"
19105 " particularly useful for comparing results from the test suite of\n"
19108 " Redacted form: plrandd()\n"
19110 " This function is used in examples 17 and 21.\n"
19120 "Replays contents of plot buffer to current device/file\n"
19124 " Replays contents of plot buffer to current device/file.\n"
19126 " Redacted form: plreplot()\n"
19128 " This function is used in example 1,20.\n"
19138 "Convert RGB color to HLS\n"
19142 " Convert RGB color coordinates to HLS\n"
19144 " Redacted form: General: plrgbhls(r, g, b, p_h, p_l, p_s)\n"
19147 " This function is used in example 2.\n"
19153 "plrgbhls(r, g, b, p_h, p_l, p_s)\n"
19157 " r (PLFLT, input) : Red intensity (0.0-1.0) of the color.\n"
19159 " g (PLFLT, input) : Green intensity (0.0-1.0) of the color.\n"
19161 " b (PLFLT, input) : Blue intensity (0.0-1.0) of the color.\n"
19163 " p_h (PLFLT_NC_SCALAR, output) : Returned value of the hue in\n"
19164 " degrees (0.0-360.0) on the color cylinder.\n"
19166 " p_l (PLFLT_NC_SCALAR, output) : Returned value of the lightness\n"
19167 " expressed as a fraction (0.0-1.0) of the axis of the color\n"
19170 " p_s (PLFLT_NC_SCALAR, output) : Returned value of the saturation\n"
19171 " expressed as a fraction (0.0-1.0) of the radius of the color\n"
19176 "Set character size\n"
19180 " This sets up the size of all subsequent characters drawn. The actual\n"
19181 " height of a character is the product of the default character size and\n"
19182 " a scaling factor.\n"
19184 " Redacted form: plschr(def, scale)\n"
19186 " This function is used in examples 2, 13, 23, and 24.\n"
19192 "plschr(def, scale)\n"
19196 " def (PLFLT, input) : The default height of a character in\n"
19197 " millimeters, should be set to zero if the default height is to\n"
19198 " remain unchanged. For rasterized drivers the dx and dy values\n"
19199 " specified in plspage are used to convert from mm to pixels (note\n"
19200 " the different unit systems used). This dpi aware scaling is not\n"
19201 " implemented for all drivers yet.\n"
19203 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
19204 " actual character height.\n"
19208 "Set cmap0 colors by 8-bit RGB values\n"
19212 " Set cmap0 colors using 8-bit RGB values (see the PLplot\n"
19213 " documentation). This sets the entire color map -- only as many colors\n"
19214 " as specified will be allocated.\n"
19216 " Redacted form: plscmap0(r, g, b)\n"
19218 " This function is used in examples 2 and 24.\n"
19224 "plscmap0(r, g, b, ncol0)\n"
19228 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19229 " integers (0-255) representing the degree of red in the color.\n"
19231 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19232 " integers (0-255) representing the degree of green in the color.\n"
19234 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19235 " integers (0-255) representing the degree of blue in the color.\n"
19237 " ncol0 (PLINT, input) : Number of items in the r, g, and b vectors.\n"
19241 "Set cmap0 colors by 8-bit RGB values and PLFLT alpha transparency value\n"
19245 " Set cmap0 colors using 8-bit RGB values (see the PLplot documentation)\n"
19246 " and PLFLT alpha transparency value. This sets the entire color map --\n"
19247 " only as many colors as specified will be allocated.\n"
19249 " Redacted form: plscmap0a(r, g, b, alpha)\n"
19251 " This function is used in examples 30.\n"
19257 "plscmap0a(r, g, b, alpha, ncol0)\n"
19261 " r (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19262 " integers (0-255) representing the degree of red in the color.\n"
19264 " g (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19265 " integers (0-255) representing the degree of green in the color.\n"
19267 " b (PLINT_VECTOR, input) : A vector containing unsigned 8-bit\n"
19268 " integers (0-255) representing the degree of blue in the color.\n"
19270 " alpha (PLFLT_VECTOR, input) : A vector containing values (0.0-1.0)\n"
19271 " representing the alpha transparency of the color.\n"
19273 " ncol0 (PLINT, input) : Number of items in the r, g, b, and alpha\n"
19278 "Set number of colors in cmap0\n"
19282 " Set number of colors in cmap0 (see the PLplot documentation). Allocate\n"
19283 " (or reallocate) cmap0, and fill with default values for those colors\n"
19284 " not previously allocated. The first 16 default colors are given in\n"
19285 " the plcol0 documentation. For larger indices the default color is\n"
19288 " The drivers are not guaranteed to support more than 16 colors.\n"
19290 " Redacted form: plscmap0n(ncol0)\n"
19292 " This function is used in examples 15, 16, and 24.\n"
19298 "plscmap0n(ncol0)\n"
19302 " ncol0 (PLINT, input) : Number of colors that will be allocated in\n"
19303 " the cmap0 palette. If this number is zero or less, then the value\n"
19304 " from the previous call to plscmap0n is used and if there is no\n"
19305 " previous call, then a default value is used.\n"
19309 "Set opaque RGB cmap1 colors values\n"
19313 " Set opaque cmap1 colors (see the PLplot documentation) using RGB\n"
19314 " vector values. This function also sets the number of cmap1 colors.\n"
19315 " N.B. Continuous cmap1 colors are indexed with a floating-point index\n"
19316 " in the range from 0.0-1.0 which is linearly transformed (e.g., by\n"
19317 " plcol1) to an integer index of these RGB vectors in the range from 0\n"
19319 " ncol1-1. So in order for this continuous color model to work\n"
19320 " properly, it is the responsibility of the user of plscmap1 to insure\n"
19321 " that these RGB vectors are continuous functions of their integer\n"
19324 " Redacted form: plscmap1(r, g, b)\n"
19326 " This function is used in example 31.\n"
19332 "plscmap1(r, g, b, ncol1)\n"
19336 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19337 " 8-bit integers in the range from 0-255) the degree of red in the\n"
19338 " color as a continuous function of the integer index of the vector.\n"
19340 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19341 " 8-bit integers in the range from 0-255) the degree of green in the\n"
19342 " color as a continuous function of the integer index of the vector.\n"
19344 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19345 " 8-bit integers in the range from 0-255) the degree of blue in the\n"
19346 " color as a continuous function of the integer index of the vector.\n"
19348 " ncol1 (PLINT, input) : Number of items in the r, g, and b vectors.\n"
19352 "Set semitransparent cmap1 RGBA colors.\n"
19356 " Set semitransparent cmap1 colors (see the PLplot documentation) using\n"
19357 " RGBA vector values. This function also sets the number of cmap1\n"
19358 " colors. N.B. Continuous cmap1 colors are indexed with a\n"
19359 " floating-point index in the range from 0.0-1.0 which is linearly\n"
19360 " transformed (e.g., by plcol1) to an integer index of these RGBA\n"
19361 " vectors in the range from 0 to\n"
19362 " ncol1-1. So in order for this continuous color model to work\n"
19363 " properly, it is the responsibility of the user of plscmap1 to insure\n"
19364 " that these RGBA vectors are continuous functions of their integer\n"
19367 " Redacted form: plscmap1a(r, g, b, alpha)\n"
19369 " This function is used in example 31.\n"
19375 "plscmap1a(r, g, b, alpha, ncol1)\n"
19379 " r (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19380 " 8-bit integers in the range from 0-255) the degree of red in the\n"
19381 " color as a continuous function of the integer index of the vector.\n"
19383 " g (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19384 " 8-bit integers in the range from 0-255) the degree of green in the\n"
19385 " color as a continuous function of the integer index of the vector.\n"
19387 " b (PLINT_VECTOR, input) : A vector that represents (using unsigned\n"
19388 " 8-bit integers in the range from 0-255) the degree of blue in the\n"
19389 " color as a continuous function of the integer index of the vector.\n"
19391 " alpha (PLFLT_VECTOR, input) : A vector that represents (using PLFLT\n"
19392 " values in the range from 0.0-1.0 where 0.0 corresponds to\n"
19393 " completely transparent and 1.0 corresponds to completely opaque)\n"
19394 " the alpha transparency of the color as a continuous function of\n"
19395 " the integer index of the vector.\n"
19397 " ncol1 (PLINT, input) : Number of items in the r, g, b, and alpha\n"
19402 "Set cmap1 colors using a piece-wise linear relationship\n"
19406 " Set cmap1 colors using a piece-wise linear relationship between the\n"
19407 " cmap1 intensity index (0.0-1.0) and position in HLS or RGB color space\n"
19408 " (see the PLplot documentation). May be called at any time.\n"
19410 " The idea here is to specify a number of control points that define the\n"
19411 " mapping between input cmap1 intensity indices and HLS or RGB. Between\n"
19412 " these points, linear interpolation is used which gives a smooth\n"
19413 " variation of color with intensity index. Any number of control points\n"
19414 " may be specified, located at arbitrary positions, although typically 2\n"
19415 " - 4 are enough. Another way of stating this is that we are traversing\n"
19416 " a given number of lines through HLS or RGB space as we move through\n"
19417 " cmap1 intensity indices. The control points at the minimum and\n"
19418 " maximum position (0 and 1) must always be specified. By adding more\n"
19419 " control points you can get more variation. One good technique for\n"
19420 " plotting functions that vary about some expected average is to use an\n"
19421 " additional 2 control points in the center (position ~= 0.5) that are\n"
19422 " the same lightness as the background (typically white for paper\n"
19423 " output, black for crt), and same hue as the boundary control points.\n"
19424 " This allows the highs and lows to be very easily distinguished.\n"
19426 " Each control point must specify the cmap1 intensity index and the\n"
19427 " associated three coordinates in HLS or RGB space. The first point\n"
19428 " must correspond to position = 0, and the last to position = 1.\n"
19430 " If RGB colors are provided then the interpolation takes place in RGB\n"
19431 " space and is trivial. However if HLS colors are provided then, because\n"
19432 " of the circular nature of the color wheel for the hue coordinate, the\n"
19433 " interpolation could be performed in either direction around the color\n"
19434 " wheel. The default behaviour is for the hue to be linearly\n"
19435 " interpolated ignoring this circular property of hue. So for example,\n"
19436 " the hues 0 (red) and 240 (blue) will get interpolated via yellow,\n"
19437 " green and cyan. If instead you wish to interpolate the other way\n"
19438 " around the color wheel you have two options. You may provide hues\n"
19439 " outside the range [0, 360), so by using a hue of -120 for blue or 360\n"
19440 " for red the interpolation will proceed via magenta. Alternatively you\n"
19441 " can utilise the alt_hue_path variable to reverse the direction of\n"
19442 " interpolation if you need to provide hues within the [0-360) range.\n"
19444 " Examples of interpolation Huealt_hue_pathcolor scheme[120\n"
19445 " 240]falsegreen-cyan-blue[240 120]falseblue-cyan-green[120\n"
19446 " -120]falsegreen-yellow-red-magenta-blue[240\n"
19447 " 480]falseblue-magenta-red-yellow-green[120\n"
19448 " 240]truegreen-yellow-red-magenta-blue[240\n"
19449 " 120]trueblue-magenta-red-yellow-green\n"
19451 " Bounds on coordinatesRGBR[0, 1]magnitudeRGBG[0, 1]magnitudeRGBB[0,\n"
19452 " 1]magnitudeHLShue[0, 360]degreesHLSlightness[0,\n"
19453 " 1]magnitudeHLSsaturation[0, 1]magnitude\n"
19455 " Redacted form: plscmap1l(itype, intensity, coord1, coord2, coord3,\n"
19458 " This function is used in examples 8, 11, 12, 15, 20, and 21.\n"
19464 "plscmap1l(itype, npts, intensity, coord1, coord2, coord3, alt_hue_path)\n"
19468 " itype (PLBOOL, input) : true: RGB, false: HLS.\n"
19470 " npts (PLINT, input) : number of control points\n"
19472 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n"
19473 " intensity index (0.0-1.0) in ascending order for each control\n"
19476 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n"
19477 " coordinate (H or R) for each control point.\n"
19479 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n"
19480 " coordinate (L or G) for each control point.\n"
19482 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n"
19483 " coordinate (S or B) for each control point.\n"
19485 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n"
19486 " npts - 1 elements), each containing either true to use the reversed\n"
19487 " HLS interpolation or false to use the regular HLS interpolation.\n"
19488 " (alt_hue_path[i] refers to the interpolation interval between the\n"
19489 " i and i + 1 control points). This parameter is not used for RGB\n"
19491 " itype = true).\n"
19495 "Set cmap1 colors and alpha transparency using a piece-wise linear relationship\n"
19499 " This is a variant of plscmap1l that supports alpha channel\n"
19500 " transparency. It sets cmap1 colors using a piece-wise linear\n"
19501 " relationship between cmap1 intensity index (0.0-1.0) and position in\n"
19502 " HLS or RGB color space (see the PLplot documentation) with alpha\n"
19503 " transparency value (0.0-1.0). It may be called at any time.\n"
19505 " Redacted form: plscmap1la(itype, intensity, coord1, coord2, coord3,\n"
19506 " alpha, alt_hue_path)\n"
19508 " This function is used in example 30.\n"
19514 "plscmap1la(itype, npts, intensity, coord1, coord2, coord3, alpha, alt_hue_path)\n"
19518 " itype (PLBOOL, input) : true: RGB, false: HLS.\n"
19520 " npts (PLINT, input) : number of control points.\n"
19522 " intensity (PLFLT_VECTOR, input) : A vector containing the cmap1\n"
19523 " intensity index (0.0-1.0) in ascending order for each control\n"
19526 " coord1 (PLFLT_VECTOR, input) : A vector containing the first\n"
19527 " coordinate (H or R) for each control point.\n"
19529 " coord2 (PLFLT_VECTOR, input) : A vector containing the second\n"
19530 " coordinate (L or G) for each control point.\n"
19532 " coord3 (PLFLT_VECTOR, input) : A vector containing the third\n"
19533 " coordinate (S or B) for each control point.\n"
19535 " alpha (PLFLT_VECTOR, input) : A vector containing the alpha\n"
19536 " transparency value (0.0-1.0) for each control point.\n"
19538 " alt_hue_path (PLBOOL_VECTOR, input) : A vector (with\n"
19539 " npts - 1 elements) containing the alternative interpolation method\n"
19540 " Boolean value for each control point interval. (alt_hue_path[i]\n"
19541 " refers to the interpolation interval between the i and i + 1\n"
19542 " control points).\n"
19546 "Set number of colors in cmap1\n"
19550 " Set number of colors in cmap1, (re-)allocate cmap1, and set default\n"
19551 " values if this is the first allocation (see the PLplot documentation).\n"
19553 " Redacted form: plscmap1n(ncol1)\n"
19555 " This function is used in examples 8, 11, 20, and 21.\n"
19561 "plscmap1n(ncol1)\n"
19565 " ncol1 (PLINT, input) : Number of colors that will be allocated in\n"
19566 " the cmap1 palette. If this number is zero or less, then the value\n"
19567 " from the previous call to plscmap1n is used and if there is no\n"
19568 " previous call, then a default value is used.\n"
19572 "Set the cmap1 argument range for continuous color plots\n"
19576 " Set the cmap1 argument range for continuous color plots that\n"
19577 " corresponds to the range of data values. The maximum range\n"
19578 " corresponding to the entire cmap1 palette is 0.0-1.0, and the smaller\n"
19579 " the cmap1 argument range that is specified with this routine, the\n"
19580 " smaller the subset of the cmap1 color palette that is used to\n"
19581 " represent the continuous data being plotted. If\n"
19582 " min_color is greater than\n"
19584 " max_color is greater than 1.0 or\n"
19585 " min_color is less than 0.0 then no change is made to the cmap1\n"
19586 " argument range. (Use plgcmap1_range to get the cmap1 argument range.)\n"
19588 " Redacted form: plscmap1_range(min_color, max_color)\n"
19590 " This function is currently used in example 33.\n"
19596 "plscmap1_range(min_color, max_color)\n"
19600 " min_color (PLFLT, input) : The minimum cmap1 argument. If less\n"
19601 " than 0.0, then 0.0 is used instead.\n"
19603 " max_color (PLFLT, input) : The maximum cmap1 argument. If greater\n"
19604 " than 1.0, then 1.0 is used instead.\n"
19608 "Get the cmap1 argument range for continuous color plots\n"
19612 " Get the cmap1 argument range for continuous color plots. (Use\n"
19613 " plscmap1_range to set the cmap1 argument range.)\n"
19615 " Redacted form: plgcmap1_range(min_color, max_color)\n"
19617 " This function is currently not used in any example.\n"
19623 "plgcmap1_range(min_color, max_color)\n"
19627 " min_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n"
19628 " minimum cmap1 argument.\n"
19630 " max_color (PLFLT_NC_SCALAR, output) : Returned value of the current\n"
19631 " maximum cmap1 argument.\n"
19635 "Set 8-bit RGB values for given cmap0 color index\n"
19639 " Set 8-bit RGB values for given cmap0 (see the PLplot documentation)\n"
19640 " index. Overwrites the previous color value for the given index and,\n"
19641 " thus, does not result in any additional allocation of space for\n"
19644 " Redacted form: plscol0(icol0, r, g, b)\n"
19646 " This function is used in any example 31.\n"
19652 "plscol0(icol0, r, g, b)\n"
19656 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n"
19657 " number of colors (which is set by default, by plscmap0n, or even\n"
19660 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
19661 " degree of red in the color.\n"
19663 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
19664 " degree of green in the color.\n"
19666 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
19667 " degree of blue in the color.\n"
19671 "Set 8-bit RGB values and PLFLT alpha transparency value for given cmap0 color index\n"
19675 " Set 8-bit RGB value and PLFLT alpha transparency value for given cmap0\n"
19676 " (see the PLplot documentation) index. Overwrites the previous color\n"
19677 " value for the given index and, thus, does not result in any additional\n"
19678 " allocation of space for colors.\n"
19680 " This function is used in example 30.\n"
19686 "plscol0a(icol0, r, g, b, alpha)\n"
19690 " icol0 (PLINT, input) : Color index. Must be less than the maximum\n"
19691 " number of colors (which is set by default, by plscmap0n, or even\n"
19694 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
19695 " degree of red in the color.\n"
19697 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
19698 " degree of green in the color.\n"
19700 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
19701 " degree of blue in the color.\n"
19703 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n"
19708 "Set the background color by 8-bit RGB value\n"
19712 " Set the background color (color 0 in cmap0) by 8-bit RGB value (see\n"
19713 " the PLplot documentation).\n"
19715 " Redacted form: plscolbg(r, g, b)\n"
19717 " This function is used in examples 15 and 31.\n"
19723 "plscolbg(r, g, b)\n"
19727 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
19728 " degree of red in the color.\n"
19730 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
19731 " degree of green in the color.\n"
19733 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
19734 " degree of blue in the color.\n"
19738 "Set the background color by 8-bit RGB value and PLFLT alpha transparency value.\n"
19742 " Set the background color (color 0 in cmap0) by 8-bit RGB value and\n"
19743 " PLFLT alpha transparency value (see the PLplot documentation).\n"
19745 " This function is used in example 31.\n"
19751 "plscolbga(r, g, b, alpha)\n"
19755 " r (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
19756 " degree of red in the color.\n"
19758 " g (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
19759 " degree of green in the color.\n"
19761 " b (PLINT, input) : Unsigned 8-bit integer (0-255) representing the\n"
19762 " degree of blue in the color.\n"
19764 " alpha (PLFLT, input) : Value of the alpha transparency in the range\n"
19769 "Used to globally turn color output on/off\n"
19773 " Used to globally turn color output on/off for those drivers/devices\n"
19774 " that support it.\n"
19776 " Redacted form: plscolor(color)\n"
19778 " This function is used in example 31.\n"
19784 "plscolor(color)\n"
19788 " color (PLINT, input) : Color flag (Boolean). If zero, color is\n"
19789 " turned off. If non-zero, color is turned on.\n"
19793 "Set device-compression level\n"
19797 " Set device-compression level. Only used for drivers that provide\n"
19798 " compression. This function, if used, should be invoked before a call\n"
19801 " Redacted form: plscompression(compression)\n"
19803 " This function is used in example 31.\n"
19809 "plscompression(compression)\n"
19813 " compression (PLINT, input) : The desired compression level. This is\n"
19814 " a device-dependent value. Currently only the jpeg and png devices\n"
19815 " use these values. For jpeg value is the jpeg quality which should\n"
19816 " normally be in the range 0-95. Higher values denote higher quality\n"
19817 " and hence larger image sizes. For png values are in the range -1\n"
19818 " to 99. Values of 0-9 are taken as the compression level for zlib.\n"
19819 " A value of -1 denotes the default zlib compression level. Values\n"
19820 " in the range 10-99 are divided by 10 and then used as the zlib\n"
19821 " compression level. Higher compression levels correspond to greater\n"
19822 " compression and small file sizes at the expense of more\n"
19827 "Set the device (keyword) name\n"
19831 " Set the device (keyword) name.\n"
19833 " Redacted form: plsdev(devname)\n"
19835 " This function is used in examples 1, 14, and 20.\n"
19841 "plsdev(devname)\n"
19845 " devname (PLCHAR_VECTOR, input) : An ascii character string\n"
19846 " containing the device name keyword of the required output device.\n"
19848 " devname is NULL or if the first character of the string is a ``?'',\n"
19849 " the normal (prompted) start up is used.\n"
19853 "Set parameters that define current device-space window\n"
19857 " Set relative margin width, aspect ratio, and relative justification\n"
19858 " that define current device-space window. If you want to just use the\n"
19859 " previous value for any of these, just pass in the magic value\n"
19860 " PL_NOTSET. It is unlikely that one should ever need to change the\n"
19861 " aspect ratio but it's in there for completeness. If plsdidev is not\n"
19862 " called the default values of mar, jx, and jy are all 0. aspect is set\n"
19863 " to a device-specific value.\n"
19865 " Redacted form: plsdidev(mar, aspect, jx, jy)\n"
19867 " This function is used in example 31.\n"
19873 "plsdidev(mar, aspect, jx, jy)\n"
19877 " mar (PLFLT, input) : Relative margin width.\n"
19879 " aspect (PLFLT, input) : Aspect ratio.\n"
19881 " jx (PLFLT, input) : Relative justification in x. Value must lie in\n"
19882 " the range -0.5 to 0.5.\n"
19884 " jy (PLFLT, input) : Relative justification in y. Value must lie in\n"
19885 " the range -0.5 to 0.5.\n"
19889 "Set up transformation from metafile coordinates\n"
19893 " Set up transformation from metafile coordinates. The size of the plot\n"
19894 " is scaled so as to preserve aspect ratio. This isn't intended to be a\n"
19895 " general-purpose facility just yet (not sure why the user would need\n"
19898 " Redacted form: plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm,\n"
19901 " This function is not used in any examples.\n"
19907 "plsdimap(dimxmin, dimxmax, dimymin, dimymax, dimxpmm, dimypmm)\n"
19911 " dimxmin (PLINT, input) : NEEDS DOCUMENTATION\n"
19913 " dimxmax (PLINT, input) : NEEDS DOCUMENTATION\n"
19915 " dimymin (PLINT, input) : NEEDS DOCUMENTATION\n"
19917 " dimymax (PLINT, input) : NEEDS DOCUMENTATION\n"
19919 " dimxpmm (PLFLT, input) : NEEDS DOCUMENTATION\n"
19921 " dimypmm (PLFLT, input) : NEEDS DOCUMENTATION\n"
19925 "Set plot orientation\n"
19929 " Set plot orientation parameter which is multiplied by 90 degrees to\n"
19930 " obtain the angle of rotation. Note, arbitrary rotation parameters\n"
19931 " such as 0.2 (corresponding to 18 degrees) are possible, but the usual\n"
19932 " values for the rotation parameter are 0., 1., 2., and 3. corresponding\n"
19933 " to 0 degrees (landscape mode), 90 degrees (portrait mode), 180 degrees\n"
19934 " (seascape mode), and 270 degrees (upside-down mode). If plsdiori is\n"
19935 " not called the default value of rot is 0.\n"
19937 " N.B. aspect ratio is unaffected by calls to plsdiori. So you will\n"
19938 " probably want to change the aspect ratio to a value suitable for the\n"
19939 " plot orientation using a call to plsdidev or the command-line options\n"
19940 " -a or -freeaspect. For more documentation of those options see the\n"
19941 " PLplot documentation. Such command-line options can be set internally\n"
19942 " using plsetopt or set directly using the command line and parsed using\n"
19943 " a call to plparseopts.\n"
19945 " Redacted form: plsdiori(rot)\n"
19947 " This function is not used in any examples.\n"
19957 " rot (PLFLT, input) : Plot orientation parameter.\n"
19961 "Set parameters that define current plot-space window\n"
19965 " Set relative minima and maxima that define the current plot-space\n"
19966 " window. If plsdiplt is not called the default values of xmin, ymin,\n"
19967 " xmax, and ymax are 0., 0., 1., and 1.\n"
19969 " Redacted form: plsdiplt(xmin, ymin, xmax, ymax)\n"
19971 " This function is used in example 31.\n"
19977 "plsdiplt(xmin, ymin, xmax, ymax)\n"
19981 " xmin (PLFLT, input) : Relative minimum in x.\n"
19983 " ymin (PLFLT, input) : Relative minimum in y.\n"
19985 " xmax (PLFLT, input) : Relative maximum in x.\n"
19987 " ymax (PLFLT, input) : Relative maximum in y.\n"
19991 "Set parameters incrementally (zoom mode) that define current plot-space window\n"
19995 " Set relative minima and maxima incrementally (zoom mode) that define\n"
19996 " the current plot-space window. This function has the same effect as\n"
19997 " plsdiplt if that function has not been previously called. Otherwise,\n"
19998 " this function implements zoom mode using the transformation min_used =\n"
19999 " old_min + old_length*min and max_used = old_min + old_length*max for\n"
20000 " each axis. For example, if min = 0.05 and max = 0.95 for each axis,\n"
20001 " repeated calls to plsdiplz will zoom in by 10 per cent for each call.\n"
20003 " Redacted form: plsdiplz(xmin, ymin, xmax, ymax)\n"
20005 " This function is used in example 31.\n"
20011 "plsdiplz(xmin, ymin, xmax, ymax)\n"
20015 " xmin (PLFLT, input) : Relative (incremental) minimum in x.\n"
20017 " ymin (PLFLT, input) : Relative (incremental) minimum in y.\n"
20019 " xmax (PLFLT, input) : Relative (incremental) maximum in x.\n"
20021 " ymax (PLFLT, input) : Relative (incremental) maximum in y.\n"
20025 "Set seed for internal random number generator.\n"
20029 " Set the seed for the internal random number generator. See plrandd for\n"
20030 " further details.\n"
20032 " Redacted form: plseed(seed)\n"
20034 " This function is used in example 21.\n"
20044 " seed (unsigned int, input) : Seed for random number generator.\n"
20048 "Set the escape character for text strings\n"
20052 " Set the escape character for text strings. From C (in contrast to\n"
20053 " Fortran, see plsescfortran) you pass esc as a character. Only selected\n"
20054 " characters are allowed to prevent the user from shooting himself in\n"
20055 " the foot (For example, a \\ isn't allowed since it conflicts with C's\n"
20056 " use of backslash as a character escape). Here are the allowed escape\n"
20057 " characters and their corresponding decimal ASCII values: !, ASCII 33\n"
20068 " Redacted form: General: plsesc(esc)\n"
20071 " This function is used in example 29.\n"
20081 " esc (char, input) : Escape character.\n"
20085 "Set any command-line option\n"
20089 " Set any command-line option internally from a program before it\n"
20090 " invokes plinit. opt is the name of the command-line option and optarg\n"
20091 " is the corresponding command-line option argument.\n"
20093 " This function returns 0 on success.\n"
20095 " Redacted form: plsetopt(opt, optarg)\n"
20097 " This function is used in example 14.\n"
20103 "PLINT plsetopt(opt, optarg)\n"
20107 " opt (PLCHAR_VECTOR, input) : An ascii character string containing\n"
20108 " the command-line option.\n"
20110 " optarg (PLCHAR_VECTOR, input) : An ascii character string\n"
20111 " containing the argument of the command-line option.\n"
20115 "Set family file parameters\n"
20119 " Sets variables dealing with output file familying. Does nothing if\n"
20120 " familying not supported by the driver. This routine, if used, must be\n"
20121 " called before initializing PLplot. See the PLplot documentation for\n"
20122 " more information.\n"
20124 " Redacted form: plsfam(fam, num, bmax)\n"
20126 " This function is used in examples 14 and 31.\n"
20132 "plsfam(fam, num, bmax)\n"
20136 " fam (PLINT, input) : Family flag (Boolean). If nonzero, familying\n"
20139 " num (PLINT, input) : Current family file number.\n"
20141 " bmax (PLINT, input) : Maximum file size (in bytes) for a family\n"
20146 "Set FCI (font characterization integer)\n"
20150 " Sets font characteristics to be used at the start of the next string\n"
20151 " using the FCI approach. See the PLplot documentation for more\n"
20152 " information. Note, plsfont (which calls plsfci internally) provides a\n"
20153 " more user-friendly API for setting the font characterisitics.\n"
20155 " Redacted form: General: plsfci(fci)\n"
20158 " This function is used in example 23.\n"
20168 " fci (PLUNICODE, input) : PLUNICODE (unsigned 32-bit integer) value\n"
20173 "Set output file name\n"
20177 " Sets the current output file name, if applicable. If the file name\n"
20178 " has not been specified and is required by the driver, the user will be\n"
20179 " prompted for it. If using the X-windows output driver, this sets the\n"
20180 " display name. This routine, if used, must be called before\n"
20181 " initializing PLplot.\n"
20183 " Redacted form: plsfnam(fnam)\n"
20185 " This function is used in examples 1 and 20.\n"
20195 " fnam (PLCHAR_VECTOR, input) : An ascii character string containing\n"
20196 " the file name.\n"
20200 "Set family, style and weight of the current font\n"
20204 " Sets the current font. See the PLplot documentation for more\n"
20205 " information on font selection.\n"
20207 " Redacted form: plsfont(family, style, weight)\n"
20209 " This function is used in example 23.\n"
20215 "plsfont(family, style, weight)\n"
20219 " family (PLINT, input) : Font family to select for the current font.\n"
20220 " The available values are given by the PL_FCI_* constants in\n"
20221 " plplot.h. Current options are PL_FCI_SANS, PL_FCI_SERIF,\n"
20222 " PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. A negative value\n"
20223 " signifies that the font family should not be altered.\n"
20225 " style (PLINT, input) : Font style to select for the current font.\n"
20226 " The available values are given by the PL_FCI_* constants in\n"
20227 " plplot.h. Current options are PL_FCI_UPRIGHT, PL_FCI_ITALIC and\n"
20228 " PL_FCI_OBLIQUE. A negative value signifies that the font style\n"
20229 " should not be altered.\n"
20231 " weight (PLINT, input) : Font weight to select for the current font.\n"
20232 " The available values are given by the PL_FCI_* constants in\n"
20233 " plplot.h. Current options are PL_FCI_MEDIUM and PL_FCI_BOLD. A\n"
20234 " negative value signifies that the font weight should not be\n"
20239 "Shade regions on the basis of value\n"
20243 " Shade regions on the basis of value. This is the high-level routine\n"
20244 " for making continuous color shaded plots with cmap1 while plshade\n"
20245 " should be used to plot individual shaded regions using either cmap0 or\n"
20246 " cmap1. examples/;<language>/x16* shows how to use plshades for each of\n"
20247 " our supported languages.\n"
20249 " Redacted form: General: plshades(a, defined, xmin, xmax, ymin, ymax,\n"
20250 " clevel, fill_width, cont_color, cont_width, fill, rectangular, pltr,\n"
20254 " This function is used in examples 16, 21, and 22.\n"
20260 "plshades(a, nx, ny, defined, xmin, xmax, ymin, ymax, clevel, nlevel, fill_width, cont_color, cont_width, fill, rectangular, pltr, pltr_data)\n"
20264 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n"
20265 " plot. Should have dimensions of\n"
20269 " nx (PLINT, input) : First dimension of matrix \"a\".\n"
20271 " ny (PLINT, input) : Second dimension of matrix \"a\".\n"
20273 " defined (PLDEFINED_callback, input) : Callback function specifying\n"
20274 " the region that should be plotted in the shade plot. This\n"
20275 " function accepts x and y coordinates as input arguments and must\n"
20276 " return 1 if the point is to be included in the shade plot and 0\n"
20277 " otherwise. If you want to plot the entire shade plot (the usual\n"
20278 " case), this argument should be set to NULL.\n"
20280 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
20281 " pltr below for how these arguments are used (only for the special case\n"
20282 " when the callback function\n"
20283 " pltr is not supplied).\n"
20285 " clevel (PLFLT_VECTOR, input) : A vector containing the data levels\n"
20286 " corresponding to the edges of each shaded region that will be\n"
20287 " plotted by this function. To work properly the levels should be\n"
20290 " nlevel (PLINT, input) : Number of shades plus 1 (i.e., the number\n"
20291 " of shade edge values in clevel).\n"
20293 " fill_width (PLFLT, input) : Defines the line width used by the fill\n"
20296 " cont_color (PLINT, input) : Defines cmap0 pen color used for\n"
20297 " contours defining edges of shaded regions. The pen color is only\n"
20298 " temporary set for the contour drawing. Set this value to zero or\n"
20299 " less if no shade edge contours are wanted.\n"
20301 " cont_width (PLFLT, input) : Defines line width used for contours\n"
20302 " defining edges of shaded regions. This value may not be honored\n"
20303 " by all drivers. The pen width is only temporary set for the\n"
20304 " contour drawing. Set this value to zero or less if no shade edge\n"
20305 " contours are wanted.\n"
20307 " fill (PLFILL_callback, input) : Callback routine used to fill the\n"
20308 " region. Use plfill for this purpose.\n"
20310 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n"
20311 " map to rectangles after coordinate transformation with pltrl.\n"
20312 " Otherwise, set rectangular to false. If rectangular is set to\n"
20313 " true, plshade tries to save time by filling large rectangles.\n"
20314 " This optimization fails if the coordinate transformation distorts\n"
20315 " the shape of rectangles. For example a plot in polar coordinates\n"
20316 " has to have rectangular set to false.\n"
20318 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
20319 " defines the transformation between the zero-based indices of the\n"
20320 " matrix a and world coordinates. If\n"
20321 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
20322 " indices of a are mapped to the range\n"
20324 " xmax and the y indices of a are mapped to the range\n"
20326 " ymax.For the C case, transformation functions are provided in the\n"
20327 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
20328 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
20329 " matrices. In addition, C callback routines for the transformation\n"
20330 " can be supplied by the user such as the mypltr function in\n"
20331 " examples/c/x09c.c which provides a general linear transformation\n"
20332 " between index coordinates and world coordinates.For languages\n"
20333 " other than C you should consult the PLplot documentation for the\n"
20334 " details concerning how PLTRANSFORM_callback arguments are\n"
20335 " interfaced. However, in general, a particular pattern of\n"
20336 " callback-associated arguments such as a tr vector with 6 elements;\n"
20337 " xg and yg vectors; or xg and yg matrices are respectively\n"
20338 " interfaced to a linear-transformation routine similar to the above\n"
20339 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
20340 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
20341 " support native language callbacks for handling index to\n"
20342 " world-coordinate transformations. Examples of these various\n"
20343 " approaches are given in examples/<language>x09*,\n"
20344 " examples/<language>x16*, examples/<language>x20*,\n"
20345 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
20346 " supported languages.\n"
20348 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
20349 " information to pltr0, pltr1, pltr2, or whatever routine that is\n"
20350 " externally supplied.\n"
20354 "Shade individual region on the basis of value\n"
20358 " Shade individual region on the basis of value. Use plshades if you\n"
20359 " want to shade a number of contiguous regions using continuous colors.\n"
20360 " In particular the edge contours are treated properly in plshades. If\n"
20361 " you attempt to do contiguous regions with plshade the contours at the\n"
20362 " edge of the shade are partially obliterated by subsequent plots of\n"
20363 " contiguous shaded regions.\n"
20365 " Redacted form: General: plshade(a, defined, xmin, xmax, ymin, ymax,\n"
20366 " shade_min, shade_max, sh_cmap, sh_color, sh_width, min_color,\n"
20367 " min_width, max_color, max_width, fill, rectangular, pltr, pltr_data)\n"
20370 " This function is used in example 15.\n"
20376 "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"
20380 " a (PLFLT_MATRIX, input) : A matrix containing function values to\n"
20381 " plot. Should have dimensions of\n"
20385 " nx (PLINT, input) : First dimension of the matrix \"a\".\n"
20387 " ny (PLINT, input) : Second dimension of the matrix \"a\".\n"
20389 " defined (PLDEFINED_callback, input) : Callback function specifying\n"
20390 " the region that should be plotted in the shade plot. This\n"
20391 " function accepts x and y coordinates as input arguments and must\n"
20392 " return 1 if the point is to be included in the shade plot and 0\n"
20393 " otherwise. If you want to plot the entire shade plot (the usual\n"
20394 " case), this argument should be set to NULL.\n"
20396 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
20397 " pltr below for how these arguments are used (only for the special case\n"
20398 " when the callback function\n"
20399 " pltr is not supplied).\n"
20401 " shade_min (PLFLT, input) : Defines the lower end of the interval to\n"
20402 " be shaded. If shade_max <= shade_min, plshade does nothing.\n"
20404 " shade_max (PLFLT, input) : Defines the upper end of the interval to\n"
20405 " be shaded. If shade_max <= shade_min, plshade does nothing.\n"
20407 " sh_cmap (PLINT, input) : Defines color map. If sh_cmap=0, then\n"
20408 " sh_color is interpreted as a cmap0 (integer) index. If sh_cmap=1,\n"
20409 " then sh_color is interpreted as a cmap1 argument in the range\n"
20412 " sh_color (PLFLT, input) : Defines color map index with integer\n"
20413 " value if cmap0 or value in range (0.0-1.0) if cmap1.\n"
20415 " sh_width (PLFLT, input) : Defines width used by the fill pattern.\n"
20417 " min_color (PLINT, input) : Defines pen color, width used by the\n"
20418 " boundary of shaded region. The min values are used for the\n"
20419 " shade_min boundary, and the max values are used on the shade_max\n"
20420 " boundary. Set color and width to zero for no plotted boundaries.\n"
20422 " min_width (PLFLT, input) : Defines pen color, width used by the\n"
20423 " boundary of shaded region. The min values are used for the\n"
20424 " shade_min boundary, and the max values are used on the shade_max\n"
20425 " boundary. Set color and width to zero for no plotted boundaries.\n"
20427 " max_color (PLINT, input) : Defines pen color, width used by the\n"
20428 " boundary of shaded region. The min values are used for the\n"
20429 " shade_min boundary, and the max values are used on the shade_max\n"
20430 " boundary. Set color and width to zero for no plotted boundaries.\n"
20432 " max_width (PLFLT, input) : Defines pen color, width used by the\n"
20433 " boundary of shaded region. The min values are used for the\n"
20434 " shade_min boundary, and the max values are used on the shade_max\n"
20435 " boundary. Set color and width to zero for no plotted boundaries.\n"
20437 " fill (PLFILL_callback, input) : Routine used to fill the region.\n"
20438 " Use plfill. Future version of PLplot may have other fill\n"
20441 " rectangular (PLBOOL, input) : Set rectangular to true if rectangles\n"
20442 " map to rectangles after coordinate transformation with pltrl.\n"
20443 " Otherwise, set rectangular to false. If rectangular is set to\n"
20444 " true, plshade tries to save time by filling large rectangles.\n"
20445 " This optimization fails if the coordinate transformation distorts\n"
20446 " the shape of rectangles. For example a plot in polar coordinates\n"
20447 " has to have rectangular set to false.\n"
20449 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
20450 " defines the transformation between the zero-based indices of the\n"
20451 " matrix a and world coordinates. If\n"
20452 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
20453 " indices of a are mapped to the range\n"
20455 " xmax and the y indices of a are mapped to the range\n"
20457 " ymax.For the C case, transformation functions are provided in the\n"
20458 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
20459 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
20460 " matrices. In addition, C callback routines for the transformation\n"
20461 " can be supplied by the user such as the mypltr function in\n"
20462 " examples/c/x09c.c which provides a general linear transformation\n"
20463 " between index coordinates and world coordinates.For languages\n"
20464 " other than C you should consult the PLplot documentation for the\n"
20465 " details concerning how PLTRANSFORM_callback arguments are\n"
20466 " interfaced. However, in general, a particular pattern of\n"
20467 " callback-associated arguments such as a tr vector with 6 elements;\n"
20468 " xg and yg vectors; or xg and yg matrices are respectively\n"
20469 " interfaced to a linear-transformation routine similar to the above\n"
20470 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
20471 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
20472 " support native language callbacks for handling index to\n"
20473 " world-coordinate transformations. Examples of these various\n"
20474 " approaches are given in examples/<language>x09*,\n"
20475 " examples/<language>x16*, examples/<language>x20*,\n"
20476 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
20477 " supported languages.\n"
20479 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
20480 " information to pltr0, pltr1, pltr2, or whatever routine that is\n"
20481 " externally supplied.\n"
20485 "Assign a function to use for generating custom axis labels\n"
20489 " This function allows a user to provide their own function to provide\n"
20490 " axis label text. The user function is given the numeric value for a\n"
20491 " point on an axis and returns a string label to correspond with that\n"
20492 " value. Custom axis labels can be enabled by passing appropriate\n"
20493 " arguments to plenv, plbox, plbox3 and similar functions.\n"
20495 " This function is used in example 19.\n"
20501 "plslabelfunc(label_func, label_data)\n"
20505 " label_func (PLLABEL_FUNC_callback, input) : This is the custom\n"
20506 " label function. In order to reset to the default labelling, set\n"
20507 " this to NULL. The labelling function parameters are, in order:\n"
20508 " axis: This indicates which axis a label is being requested for.\n"
20509 " The value will be one of PL_X_AXIS, PL_Y_AXIS or PL_Z_AXIS.\n"
20511 " value: This is the value along the axis which is being labelled.\n"
20513 " label_text: The string representation of the label value.\n"
20515 " length: The maximum length in characters allowed for label_text.\n"
20518 " label_data (PLPointer, input) : This parameter may be used to pass\n"
20519 " data to the label_func function.\n"
20523 "Set length of major ticks\n"
20527 " This sets up the length of the major ticks. The actual length is the\n"
20528 " product of the default length and a scaling factor as for character\n"
20531 " Redacted form: plsmaj(def, scale)\n"
20533 " This function is used in example 29.\n"
20539 "plsmaj(def, scale)\n"
20543 " def (PLFLT, input) : The default length of a major tick in\n"
20544 " millimeters, should be set to zero if the default length is to\n"
20545 " remain unchanged.\n"
20547 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
20548 " actual tick length.\n"
20552 "Set the memory area to be plotted (RGB)\n"
20556 " Set the memory area to be plotted (with the mem or memcairo driver) as\n"
20557 " the dev member of the stream structure. Also set the number of pixels\n"
20558 " in the memory passed in\n"
20559 " plotmem, which is a block of memory\n"
20561 " maxx by 3 bytes long, say: 480 x 640 x 3 (Y, X, RGB)\n"
20563 " This memory will have to be freed by the user!\n"
20565 " Redacted form: plsmem(maxx, maxy, plotmem)\n"
20567 " This function is not used in any examples.\n"
20573 "plsmem(maxx, maxy, plotmem)\n"
20577 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n"
20579 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n"
20581 " plotmem (PLPointer, input) : Pointer to the beginning of a\n"
20582 " user-supplied writeable memory area.\n"
20586 "Set the memory area to be plotted (RGBA)\n"
20590 " Set the memory area to be plotted (with the memcairo driver) as the\n"
20591 " dev member of the stream structure. Also set the number of pixels in\n"
20592 " the memory passed in\n"
20593 " plotmem, which is a block of memory\n"
20595 " maxx by 4 bytes long, say: 480 x 640 x 4 (Y, X, RGBA)\n"
20597 " This memory will have to be freed by the user!\n"
20599 " Redacted form: plsmema(maxx, maxy, plotmem)\n"
20601 " This function is not used in any examples.\n"
20607 "plsmema(maxx, maxy, plotmem)\n"
20611 " maxx (PLINT, input) : Size of memory area in the X coordinate.\n"
20613 " maxy (PLINT, input) : Size of memory area in the Y coordinate.\n"
20615 " plotmem (PLPointer, input) : Pointer to the beginning of a\n"
20616 " user-supplied writeable memory area.\n"
20620 "Set length of minor ticks\n"
20624 " This sets up the length of the minor ticks and the length of the\n"
20625 " terminals on error bars. The actual length is the product of the\n"
20626 " default length and a scaling factor as for character height.\n"
20628 " Redacted form: plsmin(def, scale)\n"
20630 " This function is used in example 29.\n"
20636 "plsmin(def, scale)\n"
20640 " def (PLFLT, input) : The default length of a minor tick in\n"
20641 " millimeters, should be set to zero if the default length is to\n"
20642 " remain unchanged.\n"
20644 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
20645 " actual tick length.\n"
20649 "Set orientation\n"
20653 " Set integer plot orientation parameter. This function is identical to\n"
20654 " plsdiori except for the type of the argument, and should be used in\n"
20655 " the same way. See the documentation of plsdiori for details.\n"
20657 " Redacted form: plsori(ori)\n"
20659 " This function is used in example 3.\n"
20669 " ori (PLINT, input) : Orientation value (0 for landscape, 1 for\n"
20670 " portrait, etc.) The value is multiplied by 90 degrees to get the\n"
20675 "Set page parameters\n"
20679 " Sets the page configuration (optional). If an individual parameter is\n"
20680 " zero then that parameter value is not updated. Not all parameters are\n"
20681 " recognized by all drivers and the interpretation is device-dependent.\n"
20682 " The X-window driver uses the length and offset parameters to determine\n"
20683 " the window size and location. The length and offset values are\n"
20684 " expressed in units that are specific to the current driver. For\n"
20685 " instance: screen drivers will usually interpret them as number of\n"
20686 " pixels, whereas printer drivers will usually use mm.\n"
20688 " This routine, if used, must be called before initializing PLplot. It\n"
20689 " may be called at later times for interactive drivers to change only\n"
20690 " the dpi for subsequent redraws which you can force via a call to\n"
20691 " plreplot. If this function is not called then the page size defaults\n"
20692 " to landscape A4 for drivers which use real world page sizes and 744\n"
20693 " pixels wide by 538 pixels high for raster drivers. The default value\n"
20694 " for dx and dy is 90 pixels per inch for raster drivers.\n"
20698 " Redacted form: plspage(xp, yp, xleng, yleng, xoff, yoff)\n"
20700 " This function is used in examples 14 and 31.\n"
20706 "plspage(xp, yp, xleng, yleng, xoff, yoff)\n"
20710 " xp (PLFLT, input) : Number of pixels per inch (DPI), x. Used only\n"
20711 " by raster drivers, ignored by drivers which use \"real world\" units\n"
20714 " yp (PLFLT, input) : Number of pixels per inch (DPI), y. Used only\n"
20715 " by raster drivers, ignored by drivers which use \"real world\" units\n"
20718 " xleng (PLINT, input) : Page length, x.\n"
20720 " yleng (PLINT, input) : Page length, y.\n"
20722 " xoff (PLINT, input) : Page offset, x.\n"
20724 " yoff (PLINT, input) : Page offset, y.\n"
20728 "Set the cmap0 palette using the specified cmap0*.pal format file\n"
20732 " Set the cmap0 palette using the specified cmap0*.pal format file.\n"
20734 " Redacted form: plspal0(filename)\n"
20736 " This function is in example 16.\n"
20742 "plspal0(filename)\n"
20746 " filename (PLCHAR_VECTOR, input) : An ascii character string\n"
20747 " containing the name of the cmap0*.pal file. If this string is\n"
20748 " empty, use the default cmap0*.pal file.\n"
20752 "Set the cmap1 palette using the specified cmap1*.pal format file\n"
20756 " Set the cmap1 palette using the specified cmap1*.pal format file.\n"
20758 " Redacted form: plspal1(filename, interpolate)\n"
20760 " This function is used in example 16.\n"
20766 "plspal1(filename, interpolate)\n"
20770 " filename (PLCHAR_VECTOR, input) : An ascii character string\n"
20771 " containing the name of the cmap1*.pal file. If this string is\n"
20772 " empty, use the default cmap1*.pal file.\n"
20774 " interpolate (PLBOOL, input) : If this parameter is true, the\n"
20775 " columns containing the intensity index, r, g, b, alpha and\n"
20776 " alt_hue_path in the cmap1*.pal file are used to set the cmap1\n"
20777 " palette with a call to plscmap1la. (The cmap1*.pal header contains\n"
20778 " a flag which controls whether the r, g, b data sent to plscmap1la\n"
20779 " are interpreted as HLS or RGB.) If this parameter is false, the\n"
20780 " intensity index and alt_hue_path columns are ignored and the r, g,\n"
20781 " b (interpreted as RGB), and alpha columns of the cmap1*.pal file\n"
20782 " are used instead to set the cmap1 palette directly with a call to\n"
20787 "Set the pause (on end-of-page) status\n"
20791 " Set the pause (on end-of-page) status.\n"
20793 " Redacted form: plspause(pause)\n"
20795 " This function is in examples 14,20.\n"
20801 "plspause(pause)\n"
20805 " pause (PLBOOL, input) : If pause is true there will be a pause on\n"
20806 " end-of-page for those drivers which support this. Otherwise there\n"
20811 "Set current output stream\n"
20815 " Sets the number of the current output stream. The stream number\n"
20816 " defaults to 0 unless changed by this routine. The first use of this\n"
20817 " routine must be followed by a call initializing PLplot (e.g. plstar).\n"
20819 " Redacted form: plsstrm(strm)\n"
20821 " This function is examples 1,14,20.\n"
20831 " strm (PLINT, input) : The current stream number.\n"
20835 "Set the number of subpages in x and y\n"
20839 " Set the number of subpages in x and y.\n"
20841 " Redacted form: plssub(nx, ny)\n"
20843 " This function is examples 1,2,14,21,25,27.\n"
20853 " nx (PLINT, input) : Number of windows in x direction (i.e., number\n"
20854 " of window columns).\n"
20856 " ny (PLINT, input) : Number of windows in y direction (i.e., number\n"
20857 " of window rows).\n"
20861 "Set symbol size\n"
20865 " This sets up the size of all subsequent symbols drawn by plpoin and\n"
20866 " plsym. The actual height of a symbol is the product of the default\n"
20867 " symbol size and a scaling factor as for the character height.\n"
20869 " Redacted form: plssym(def, scale)\n"
20871 " This function is used in example 29.\n"
20877 "plssym(def, scale)\n"
20881 " def (PLFLT, input) : The default height of a symbol in millimeters,\n"
20882 " should be set to zero if the default height is to remain\n"
20885 " scale (PLFLT, input) : Scale factor to be applied to default to get\n"
20886 " actual symbol height.\n"
20894 " Initializing the plotting package. The program prompts for the device\n"
20895 " keyword or number of the desired output device. Hitting a RETURN in\n"
20896 " response to the prompt is the same as selecting the first device. If\n"
20897 " only one device is enabled when PLplot is installed, plstar will issue\n"
20898 " no prompt. The output device is divided into nx by ny subpages, each\n"
20899 " of which may be used independently. The subroutine pladv is used to\n"
20900 " advance from one subpage to the next.\n"
20902 " Redacted form: plstar(nx, ny)\n"
20904 " This function is used in example 1.\n"
20914 " nx (PLINT, input) : Number of subpages to divide output page in the\n"
20917 " ny (PLINT, input) : Number of subpages to divide output page in the\n"
20926 " Alternative to plstar for initializing the plotting package. The\n"
20927 " device name keyword for the desired output device must be supplied as\n"
20928 " an argument. These keywords are the same as those printed out by\n"
20929 " plstar. If the requested device is not available, or if the input\n"
20930 " string is empty or begins with ``?'', the prompted start up of plstar\n"
20931 " is used. This routine also divides the output device page into nx by\n"
20932 " ny subpages, each of which may be used independently. The subroutine\n"
20933 " pladv is used to advance from one subpage to the next.\n"
20935 " Redacted form: General: plstart(devname, nx, ny)\n"
20938 " This function is not used in any examples.\n"
20944 "plstart(devname, nx, ny)\n"
20948 " devname (PLCHAR_VECTOR, input) : An ascii character string\n"
20949 " containing the device name keyword of the required output device.\n"
20951 " devname is NULL or if the first character of the string is a ``?'',\n"
20952 " the normal (prompted) start up is used.\n"
20954 " nx (PLINT, input) : Number of subpages to divide output page in the\n"
20957 " ny (PLINT, input) : Number of subpages to divide output page in the\n"
20962 "Set a global coordinate transform function\n"
20966 " This function can be used to define a coordinate transformation which\n"
20967 " affects all elements drawn within the current plot window. The\n"
20968 " coordinate_transform callback function is similar to that provided for\n"
20969 " the plmap and plmeridians functions. The coordinate_transform_data\n"
20970 " parameter may be used to pass extra data to coordinate_transform.\n"
20972 " Redacted form: General: plstransform(coordinate_transform,\n"
20973 " coordinate_transform_data)\n"
20976 " This function is used in examples 19 and 22.\n"
20982 "plstransform(coordinate_transform, coordinate_transform_data)\n"
20986 " coordinate_transform (PLTRANSFORM_callback, input) : A callback\n"
20987 " function that defines the transformation from the input (x, y)\n"
20988 " world coordinates to new PLplot world coordinates. If\n"
20989 " coordinate_transform is not supplied (e.g., is set to NULL in the C\n"
20990 " case), then no transform is applied.\n"
20992 " coordinate_transform_data (PLPointer, input) : Optional extra data\n"
20994 " coordinate_transform.\n"
20998 "Plot a glyph at the specified points\n"
21002 " Plot a glyph at the specified points. (Supersedes plpoin and plsym\n"
21003 " because many[!] more glyphs are accessible with plstring.) The glyph\n"
21004 " is specified with a PLplot user string. Note that the user string is\n"
21005 " not actually limited to one glyph so it is possible (but not normally\n"
21006 " useful) to plot more than one glyph at the specified points with this\n"
21007 " function. As with plmtex and plptex, the user string can contain FCI\n"
21008 " escapes to determine the font, UTF-8 code to determine the glyph or\n"
21009 " else PLplot escapes for Hershey or unicode text to determine the\n"
21012 " Redacted form: plstring(x, y, string)\n"
21014 " This function is used in examples 4, 21 and 26.\n"
21020 "plstring(n, x, y, string)\n"
21024 " n (PLINT, input) : Number of points in the x and y vectors.\n"
21026 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21029 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21032 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21033 " the glyph(s) to be plotted at each of the n points.\n"
21037 "Plot a glyph at the specified 3D points\n"
21041 " Plot a glyph at the specified 3D points. (Supersedes plpoin3 because\n"
21042 " many[!] more glyphs are accessible with plstring3.) Set up the call to\n"
21043 " this function similar to what is done for plline3. The glyph is\n"
21044 " specified with a PLplot user string. Note that the user string is not\n"
21045 " actually limited to one glyph so it is possible (but not normally\n"
21046 " useful) to plot more than one glyph at the specified points with this\n"
21047 " function. As with plmtex and plptex, the user string can contain FCI\n"
21048 " escapes to determine the font, UTF-8 code to determine the glyph or\n"
21049 " else PLplot escapes for Hershey or unicode text to determine the\n"
21052 " Redacted form: plstring3(x, y, z, string)\n"
21054 " This function is used in example 18.\n"
21060 "plstring3(n, x, y, z, string)\n"
21064 " n (PLINT, input) : Number of points in the x, y, and z vectors.\n"
21066 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21069 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21072 " z (PLFLT_VECTOR, input) : A vector containing the z coordinates of\n"
21075 " string (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21076 " the glyph(s) to be plotted at each of the n points. points.\n"
21080 "Add a point to a strip chart\n"
21084 " Add a point to a given pen of a given strip chart. There is no need\n"
21085 " for all pens to have the same number of points or to be equally\n"
21086 " sampled in the x coordinate. Allocates memory and rescales as\n"
21089 " Redacted form: plstripa(id, pen, x, y)\n"
21091 " This function is used in example 17.\n"
21097 "plstripa(id, pen, x, y)\n"
21101 " id (PLINT, input) : Identification number of the strip chart (set\n"
21102 " up in plstripc).\n"
21104 " pen (PLINT, input) : Pen number (ranges from 0 to 3).\n"
21106 " x (PLFLT, input) : X coordinate of point to plot.\n"
21108 " y (PLFLT, input) : Y coordinate of point to plot.\n"
21112 "Create a 4-pen strip chart\n"
21116 " Create a 4-pen strip chart, to be used afterwards by plstripa\n"
21118 " Redacted form: General: plstripc(id, xspec, yspec, xmin, xmax, xjump,\n"
21119 " ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline,\n"
21120 " styline, legline, labx, laby, labz)\n"
21123 " This function is used in example 17.\n"
21129 "plstripc(id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline, styline, legline[], labx, laby, labtop)\n"
21133 " id (PLINT_NC_SCALAR, output) : Returned value of the identification\n"
21134 " number of the strip chart to use on plstripa and plstripd.\n"
21136 " xspec (PLCHAR_VECTOR, input) : An ascii character string containing\n"
21137 " the x-axis specification as in plbox.\n"
21139 " yspec (PLCHAR_VECTOR, input) : An ascii character string containing\n"
21140 " the y-axis specification as in plbox.\n"
21142 " xmin (PLFLT, input) : Initial coordinates of plot box; they will\n"
21143 " change as data are added.\n"
21145 " xmax (PLFLT, input) : Initial coordinates of plot box; they will\n"
21146 " change as data are added.\n"
21148 " xjump (PLFLT, input) : When x attains xmax, the length of the plot\n"
21149 " is multiplied by the factor (1 +\n"
21152 " ymin (PLFLT, input) : Initial coordinates of plot box; they will\n"
21153 " change as data are added.\n"
21155 " ymax (PLFLT, input) : Initial coordinates of plot box; they will\n"
21156 " change as data are added.\n"
21158 " xlpos (PLFLT, input) : X legend box position (range from 0 to 1).\n"
21160 " ylpos (PLFLT, input) : Y legend box position (range from 0 to 1).\n"
21162 " y_ascl (PLBOOL, input) : Autoscale y between x jumps if y_ascl is\n"
21163 " true, otherwise not.\n"
21165 " acc (PLBOOL, input) : Accumulate strip plot if acc is true,\n"
21166 " otherwise slide display.\n"
21168 " colbox (PLINT, input) : Plot box color index (cmap0).\n"
21170 " collab (PLINT, input) : Legend color index (cmap0).\n"
21172 " colline (PLINT_VECTOR, input) : A vector containing the cmap0 color\n"
21173 " indices for the 4 pens.\n"
21175 " styline (PLINT_VECTOR, input) : A vector containing the line style\n"
21176 " indices for the 4 pens.\n"
21178 " legline (PLCHAR_MATRIX, input) : A vector of UTF-8 character\n"
21179 " strings containing legends for the 4 pens.\n"
21181 " labx (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21182 " the label for the x axis.\n"
21184 " laby (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21185 " the label for the y axis.\n"
21187 " labtop (PLCHAR_VECTOR, input) : A UTF-8 character string containing\n"
21188 " the plot title.\n"
21192 "Deletes and releases memory used by a strip chart\n"
21196 " Deletes and releases memory used by a strip chart.\n"
21198 " Redacted form: plstripd(id)\n"
21200 " This function is used in example 17.\n"
21210 " id (PLINT, input) : Identification number of strip chart to delete.\n"
21218 " This sets up the line style for all lines subsequently drawn. A line\n"
21219 " consists of segments in which the pen is alternately down and up. The\n"
21220 " lengths of these segments are passed in the vectors mark and space\n"
21221 " respectively. The number of mark-space pairs is specified by nms. In\n"
21222 " order to return the line style to the default continuous line, plstyl\n"
21223 " should be called with nms =0 .(see also pllsty)\n"
21225 " Redacted form: plstyl(mark, space)\n"
21227 " This function is used in examples 1, 9, and 14.\n"
21233 "plstyl(nms, mark, space)\n"
21237 " nms (PLINT, input) : The number of mark and space elements in a\n"
21238 " line. Thus a simple broken line can be obtained by setting nms=1\n"
21239 " . A continuous line is specified by setting nms=0 .\n"
21241 " mark (PLINT_VECTOR, input) : A vector containing the lengths of the\n"
21242 " segments during which the pen is down, measured in micrometers.\n"
21244 " space (PLINT_VECTOR, input) : A vector containing the lengths of\n"
21245 " the segments during which the pen is up, measured in micrometers.\n"
21249 "Set arrow style for vector plots\n"
21253 " Set the style for the arrow used by plvect to plot vectors.\n"
21255 " Redacted form: plsvect(arrowx, arrowy, fill)\n"
21257 " This function is used in example 22.\n"
21263 "plsvect(arrowx, arrowy, npts, fill)\n"
21267 " arrowx, arrowy (PLFLT_VECTOR, input) : A pair of vectors containing\n"
21268 " the x and y points which make up the arrow. The arrow is plotted\n"
21269 " by joining these points to form a polygon. The scaling assumes\n"
21270 " that the x and y points in the arrow lie in the range -0.5 <= x,y\n"
21271 " <= 0.5. If both arrowx and arrowy are NULL then the arrow style\n"
21272 " will be reset to its default.\n"
21274 " npts (PLINT, input) : Number of points in the vectors arrowx and\n"
21277 " fill (PLBOOL, input) : If fill is true then the arrow is closed, if\n"
21278 " fill is false then the arrow is open.\n"
21282 "Specify viewport in absolute coordinates\n"
21286 " Alternate routine to plvpor for setting up the viewport. This routine\n"
21287 " should be used only if the viewport is required to have a definite\n"
21288 " size in millimeters. The routine plgspa is useful for finding out the\n"
21289 " size of the current subpage.\n"
21291 " Redacted form: plsvpa(xmin, xmax, ymin, ymax)\n"
21293 " This function is used in example 10.\n"
21299 "plsvpa(xmin, xmax, ymin, ymax)\n"
21303 " xmin (PLFLT, input) : The distance of the left-hand edge of the\n"
21304 " viewport from the left-hand edge of the subpage in millimeters.\n"
21306 " xmax (PLFLT, input) : The distance of the right-hand edge of the\n"
21307 " viewport from the left-hand edge of the subpage in millimeters.\n"
21309 " ymin (PLFLT, input) : The distance of the bottom edge of the\n"
21310 " viewport from the bottom edge of the subpage in millimeters.\n"
21312 " ymax (PLFLT, input) : The distance of the top edge of the viewport\n"
21313 " from the bottom edge of the subpage in millimeters.\n"
21317 "Set x axis parameters\n"
21321 " Sets values of the digmax and digits flags for the x axis. See the\n"
21322 " PLplot documentation for more information.\n"
21324 " Redacted form: plsxax(digmax, digits)\n"
21326 " This function is used in example 31.\n"
21332 "plsxax(digmax, digits)\n"
21336 " digmax (PLINT, input) : Variable to set the maximum number of\n"
21337 " digits for the x axis. If nonzero, the printed label will be\n"
21338 " switched to a floating-point representation when the number of\n"
21339 " digits exceeds digmax.\n"
21341 " digits (PLINT, input) : Field digits value. Currently, changing\n"
21342 " its value here has no effect since it is set only by plbox or\n"
21343 " plbox3. However, the user may obtain its value after a call to\n"
21344 " either of these functions by calling plgxax.\n"
21348 "Set y axis parameters\n"
21352 " Identical to plsxax, except that arguments are flags for y axis. See\n"
21353 " the description of plsxax for more detail.\n"
21355 " Redacted form: plsyax(digmax, digits)\n"
21357 " This function is used in examples 1, 14, and 31.\n"
21363 "plsyax(digmax, digits)\n"
21367 " digmax (PLINT, input) : Variable to set the maximum number of\n"
21368 " digits for the y axis. If nonzero, the printed label will be\n"
21369 " switched to a floating-point representation when the number of\n"
21370 " digits exceeds digmax.\n"
21372 " digits (PLINT, input) : Field digits value. Currently, changing\n"
21373 " its value here has no effect since it is set only by plbox or\n"
21374 " plbox3. However, the user may obtain its value after a call to\n"
21375 " either of these functions by calling plgyax.\n"
21379 "Plot a glyph at the specified points\n"
21383 " Plot a glyph at the specified points. (This function is largely\n"
21384 " superseded by plstring which gives access to many[!] more glyphs.)\n"
21386 " Redacted form: plsym(x, y, code)\n"
21388 " This function is used in example 7.\n"
21394 "plsym(n, x, y, code)\n"
21398 " n (PLINT, input) : Number of points in the x and y vectors.\n"
21400 " x (PLFLT_VECTOR, input) : A vector containing the x coordinates of\n"
21403 " y (PLFLT_VECTOR, input) : A vector containing the y coordinates of\n"
21406 " code (PLINT, input) : Hershey symbol code corresponding to a glyph\n"
21407 " to be plotted at each of the n points.\n"
21411 "Set z axis parameters\n"
21415 " Identical to plsxax, except that arguments are flags for z axis. See\n"
21416 " the description of plsxax for more detail.\n"
21418 " Redacted form: plszax(digmax, digits)\n"
21420 " This function is used in example 31.\n"
21426 "plszax(digmax, digits)\n"
21430 " digmax (PLINT, input) : Variable to set the maximum number of\n"
21431 " digits for the z axis. If nonzero, the printed label will be\n"
21432 " switched to a floating-point representation when the number of\n"
21433 " digits exceeds digmax.\n"
21435 " digits (PLINT, input) : Field digits value. Currently, changing\n"
21436 " its value here has no effect since it is set only by plbox or\n"
21437 " plbox3. However, the user may obtain its value after a call to\n"
21438 " either of these functions by calling plgzax.\n"
21442 "Switch to text screen\n"
21446 " Sets an interactive device to text mode, used in conjunction with\n"
21447 " plgra to allow graphics and text to be interspersed. On a device\n"
21448 " which supports separate text and graphics windows, this command causes\n"
21449 " control to be switched to the text window. This can be useful for\n"
21450 " printing diagnostic messages or getting user input, which would\n"
21451 " otherwise interfere with the plots. The program must switch back to\n"
21452 " the graphics window before issuing plot commands, as the text (or\n"
21453 " console) device will probably become quite confused otherwise. If\n"
21454 " already in text mode, this command is ignored. It is also ignored on\n"
21455 " devices which only support a single window or use a different method\n"
21456 " for shifting focus (see also plgra).\n"
21458 " Redacted form: pltext()\n"
21460 " This function is used in example 1.\n"
21470 "Set format for date / time labels\n"
21474 " Sets the format for date / time labels. To enable date / time format\n"
21475 " labels see the options to plbox, plbox3, and plenv.\n"
21477 " Redacted form: pltimefmt(fmt)\n"
21479 " This function is used in example 29.\n"
21489 " fmt (PLCHAR_VECTOR, input) : An ascii character string which is\n"
21490 " interpreted similarly to the format specifier of typical system\n"
21491 " strftime routines except that PLplot ignores locale and also\n"
21492 " supplies some useful extensions in the context of plotting. All\n"
21493 " text in the string is printed as-is other than conversion\n"
21494 " specifications which take the form of a '%' character followed by\n"
21495 " further conversion specification character. The conversion\n"
21496 " specifications which are similar to those provided by system\n"
21497 " strftime routines are the following: %a: The abbreviated (English)\n"
21499 " %A: The full (English) weekday name.\n"
21500 " %b: The abbreviated (English) month name.\n"
21501 " %B: The full (English) month name.\n"
21502 " %c: Equivalent to %a %b %d %T %Y (non-ISO).\n"
21503 " %C: The century number (year/100) as a 2-digit integer.\n"
21504 " %d: The day of the month as a decimal number (range 01 to 31).\n"
21505 " %D: Equivalent to %m/%d/%y (non-ISO).\n"
21506 " %e: Like %d, but a leading zero is replaced by a space.\n"
21507 " %F: Equivalent to %Y-%m-%d (the ISO 8601 date format).\n"
21508 " %h: Equivalent to %b.\n"
21509 " %H: The hour as a decimal number using a 24-hour clock (range\n"
21511 " %I: The hour as a decimal number using a 12-hour clock (range\n"
21513 " %j: The day of the year as a decimal number (range 001 to\n"
21515 " %k: The hour (24-hour clock) as a decimal number (range 0 to\n"
21516 " 23); single digits are preceded by a blank. (See also %H.)\n"
21517 " %l: The hour (12-hour clock) as a decimal number (range 1 to\n"
21518 " 12); single digits are preceded by a blank. (See also %I.)\n"
21519 " %m: The month as a decimal number (range 01 to 12).\n"
21520 " %M: The minute as a decimal number (range 00 to 59).\n"
21521 " %n: A newline character.\n"
21522 " %p: Either \"AM\" or \"PM\" according to the given time value.\n"
21523 " Noon is treated as \"PM\" and midnight as \"AM\".\n"
21524 " %r: Equivalent to %I:%M:%S %p.\n"
21525 " %R: The time in 24-hour notation (%H:%M). For a version\n"
21526 " including the seconds, see %T below.\n"
21527 " %s: The number of seconds since the Epoch, 1970-01-01 00:00:00\n"
21529 " %S: The second as a decimal number (range 00 to 60). (The\n"
21530 " range is up to 60 to allow for occasional leap seconds.)\n"
21531 " %t: A tab character.\n"
21532 " %T: The time in 24-hour notation (%H:%M:%S).\n"
21533 " %u: The day of the week as a decimal, range 1 to 7, Monday\n"
21534 " being 1. See also %w.\n"
21535 " %U: The week number of the current year as a decimal number,\n"
21536 " range 00 to 53, starting with the first Sunday as the first\n"
21537 " day of week 01. See also %V and %W.\n"
21538 " %v: Equivalent to %e-%b-%Y.\n"
21539 " %V: The ISO 8601 week number of the current year as a decimal\n"
21540 " number, range 01 to 53, where week 1 is the first week that\n"
21541 " has at least 4 days in the new year. See also %U and %W.\n"
21542 " %w: The day of the week as a decimal, range 0 to 6, Sunday\n"
21543 " being 0. See also %u.\n"
21544 " %W: The week number of the current year as a decimal number,\n"
21545 " range 00 to 53, starting with the first Monday as the first\n"
21546 " day of week 01.\n"
21547 " %x: Equivalent to %a %b %d %Y.\n"
21548 " %X: Equivalent to %T.\n"
21549 " %y: The year as a decimal number without a century (range 00\n"
21551 " %Y: The year as a decimal number including a century.\n"
21552 " %z: The UTC time-zone string = \"+0000\".\n"
21553 " %Z: The UTC time-zone abbreviation = \"UTC\".\n"
21554 " %+: The UTC date and time in default format of the Unix date\n"
21555 " command which is equivalent to %a %b %d %T %Z %Y.\n"
21556 " %%: A literal \"%\" character.\n"
21557 " The conversion specifications which are extensions to those normally\n"
21558 " provided by system strftime routines are the following: %(0-9):\n"
21559 " The fractional part of the seconds field (including leading\n"
21560 " decimal point) to the specified accuracy. Thus %S%3 would give\n"
21561 " seconds to millisecond accuracy (00.000).\n"
21562 " %.: The fractional part of the seconds field (including\n"
21563 " leading decimal point) to the maximum available accuracy. Thus\n"
21564 " %S%. would give seconds with fractional part up to 9 decimal\n"
21565 " places if available.\n"
21569 "Specify viewport using aspect ratio only\n"
21573 " Selects the largest viewport with the given aspect ratio within the\n"
21574 " subpage that leaves a standard margin (left-hand margin of eight\n"
21575 " character heights, and a margin around the other three sides of five\n"
21576 " character heights).\n"
21578 " Redacted form: plvasp(aspect)\n"
21580 " This function is used in example 13.\n"
21590 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n"
21591 " axis of resulting viewport.\n"
21599 " Draws a plot of vector data contained in the matrices (\n"
21605 " ny]) . The scaling factor for the vectors is given by scale. A\n"
21606 " transformation routine pointed to by pltr with a pointer pltr_data for\n"
21607 " additional data required by the transformation routine to map indices\n"
21608 " within the matrices to the world coordinates. The style of the vector\n"
21609 " arrow may be set using plsvect.\n"
21611 " Redacted form: plvect(u, v, scale, pltr, pltr_data) where (see above\n"
21612 " discussion) the pltr, pltr_data callback arguments are sometimes\n"
21613 " replaced by a tr vector with 6 elements, or xg and yg array arguments\n"
21614 " with either one or two dimensions.\n"
21616 " This function is used in example 22.\n"
21622 "plvect(u, v, nx, ny, scale, pltr, pltr_data)\n"
21626 " u, v (PLFLT_MATRIX, input) : A pair of matrices containing the x\n"
21627 " and y components of the vector data to be plotted.\n"
21629 " nx, ny (PLINT, input) : Dimensions of the matrices u and v.\n"
21631 " scale (PLFLT, input) : Parameter to control the scaling factor of\n"
21632 " the vectors for plotting. If scale = 0 then the scaling factor is\n"
21633 " automatically calculated for the data. If scale < 0 then the\n"
21634 " scaling factor is automatically calculated for the data and then\n"
21635 " multiplied by -\n"
21636 " scale. If scale > 0 then the scaling factor is set to scale.\n"
21638 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
21639 " defines the transformation between the zero-based indices of the\n"
21640 " matrices u and v and world coordinates.For the C case,\n"
21641 " transformation functions are provided in the PLplot library: pltr0\n"
21642 " for the identity mapping, and pltr1 and pltr2 for arbitrary\n"
21643 " mappings respectively defined by vectors and matrices. In\n"
21644 " addition, C callback routines for the transformation can be\n"
21645 " supplied by the user such as the mypltr function in\n"
21646 " examples/c/x09c.c which provides a general linear transformation\n"
21647 " between index coordinates and world coordinates.For languages\n"
21648 " other than C you should consult the PLplot documentation for the\n"
21649 " details concerning how PLTRANSFORM_callback arguments are\n"
21650 " interfaced. However, in general, a particular pattern of\n"
21651 " callback-associated arguments such as a tr vector with 6 elements;\n"
21652 " xg and yg vectors; or xg and yg matrices are respectively\n"
21653 " interfaced to a linear-transformation routine similar to the above\n"
21654 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
21655 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
21656 " support native language callbacks for handling index to\n"
21657 " world-coordinate transformations. Examples of these various\n"
21658 " approaches are given in examples/<language>x09*,\n"
21659 " examples/<language>x16*, examples/<language>x20*,\n"
21660 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
21661 " supported languages.\n"
21663 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
21664 " information to pltr0, pltr1, pltr2, or whatever callback routine\n"
21665 " that is externally supplied.\n"
21669 "Specify viewport using coordinates and aspect ratio\n"
21673 " Device-independent routine for setting up the viewport. The viewport\n"
21674 " is chosen to be the largest with the given aspect ratio that fits\n"
21675 " within the specified region (in terms of normalized subpage\n"
21676 " coordinates). This routine is functionally equivalent to plvpor when\n"
21677 " a ``natural'' aspect ratio (0.0) is chosen. Unlike plvasp, this\n"
21678 " routine reserves no extra space at the edges for labels.\n"
21680 " Redacted form: plvpas(xmin, xmax, ymin, ymax, aspect)\n"
21682 " This function is used in example 9.\n"
21688 "plvpas(xmin, xmax, ymin, ymax, aspect)\n"
21692 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n"
21693 " left-hand edge of the viewport.\n"
21695 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n"
21696 " right-hand edge of the viewport.\n"
21698 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n"
21699 " bottom edge of the viewport.\n"
21701 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n"
21702 " edge of the viewport.\n"
21704 " aspect (PLFLT, input) : Ratio of length of y axis to length of x\n"
21709 "Specify viewport using normalized subpage coordinates\n"
21713 " Device-independent routine for setting up the viewport. This defines\n"
21714 " the viewport in terms of normalized subpage coordinates which run from\n"
21715 " 0.0 to 1.0 (left to right and bottom to top) along each edge of the\n"
21716 " current subpage. Use the alternate routine plsvpa in order to create\n"
21717 " a viewport of a definite size.\n"
21719 " Redacted form: plvpor(xmin, xmax, ymin, ymax)\n"
21721 " This function is used in examples 2, 6-8, 10, 11, 15, 16, 18, 21, 23,\n"
21722 " 24, 26, 27, and 31.\n"
21728 "plvpor(xmin, xmax, ymin, ymax)\n"
21732 " xmin (PLFLT, input) : The normalized subpage coordinate of the\n"
21733 " left-hand edge of the viewport.\n"
21735 " xmax (PLFLT, input) : The normalized subpage coordinate of the\n"
21736 " right-hand edge of the viewport.\n"
21738 " ymin (PLFLT, input) : The normalized subpage coordinate of the\n"
21739 " bottom edge of the viewport.\n"
21741 " ymax (PLFLT, input) : The normalized subpage coordinate of the top\n"
21742 " edge of the viewport.\n"
21746 "Select standard viewport\n"
21750 " Selects the largest viewport within the subpage that leaves a standard\n"
21751 " margin (left-hand margin of eight character heights, and a margin\n"
21752 " around the other three sides of five character heights).\n"
21754 " Redacted form: plvsta()\n"
21756 " This function is used in examples 1, 12, 14, 17, 25, and 29.\n"
21766 "Configure the transformations required for projecting a 3D surface on a 2D window\n"
21770 " Configure the transformations required for projecting a 3D surface on\n"
21771 " an existing 2D window. Those transformations (see the PLplot\n"
21772 " documentation) are done to a rectangular cuboid enclosing the 3D\n"
21773 " surface which has its limits expressed in 3D world coordinates and\n"
21774 " also normalized 3D coordinates (used for interpreting the altitude and\n"
21775 " azimuth of the viewing angle). The transformations consist of the\n"
21776 " linear transform from 3D world coordinates to normalized 3D\n"
21777 " coordinates, and the 3D rotation of normalized coordinates required to\n"
21778 " align the pole of the new 3D coordinate system with the viewing\n"
21779 " direction specified by altitude and azimuth so that x and y of the\n"
21780 " surface elements in that transformed coordinate system are the\n"
21781 " projection of the 3D surface with given viewing direction on the 2D\n"
21784 " The enclosing rectangular cuboid for the surface plot is defined by\n"
21785 " xmin, xmax, ymin, ymax, zmin and zmax in 3D world coordinates. It is\n"
21786 " mapped into the same rectangular cuboid with normalized 3D coordinate\n"
21787 " sizes of basex by basey by height so that xmin maps to -\n"
21788 " basex/2, xmax maps to basex/2, ymin maps to -\n"
21789 " basey/2, ymax maps to basey/2, zmin maps to 0 and zmax maps to height.\n"
21790 " The resulting rectangular cuboid in normalized coordinates is then\n"
21791 " viewed by an observer at altitude alt and azimuth az. This routine\n"
21792 " must be called before plbox3 or any of the 3D surface plotting\n"
21793 " routines; plmesh, plmeshc, plot3d, plot3dc, plot3dcl, plsurf3d,\n"
21794 " plsurf3dl or plfill3.\n"
21796 " Redacted form: plw3d(basex, basey, height, xmin, xmax, ymin, ymax,\n"
21797 " zmin, zmax, alt, az)\n"
21799 " This function is examples 8, 11, 18, and 21.\n"
21805 "plw3d(basex, basey, height, xmin, xmax, ymin, ymax, zmin, zmax, alt, az)\n"
21809 " basex (PLFLT, input) : The normalized x coordinate size of the\n"
21810 " rectangular cuboid.\n"
21812 " basey (PLFLT, input) : The normalized y coordinate size of the\n"
21813 " rectangular cuboid.\n"
21815 " height (PLFLT, input) : The normalized z coordinate size of the\n"
21816 " rectangular cuboid.\n"
21818 " xmin (PLFLT, input) : The minimum x world coordinate of the\n"
21819 " rectangular cuboid.\n"
21821 " xmax (PLFLT, input) : The maximum x world coordinate of the\n"
21822 " rectangular cuboid.\n"
21824 " ymin (PLFLT, input) : The minimum y world coordinate of the\n"
21825 " rectangular cuboid.\n"
21827 " ymax (PLFLT, input) : The maximum y world coordinate of the\n"
21828 " rectangular cuboid.\n"
21830 " zmin (PLFLT, input) : The minimum z world coordinate of the\n"
21831 " rectangular cuboid.\n"
21833 " zmax (PLFLT, input) : The maximum z world coordinate of the\n"
21834 " rectangular cuboid.\n"
21836 " alt (PLFLT, input) : The viewing altitude in degrees above the xy\n"
21837 " plane of the rectangular cuboid in normalized coordinates.\n"
21839 " az (PLFLT, input) : The viewing azimuth in degrees of the\n"
21840 " rectangular cuboid in normalized coordinates. When az=0, the\n"
21841 " observer is looking face onto the zx plane of the rectangular\n"
21842 " cuboid in normalized coordinates, and as az is increased, the\n"
21843 " observer moves clockwise around that cuboid when viewed from above\n"
21852 " Sets the pen width.\n"
21854 " Redacted form: plwidth(width)\n"
21856 " This function is used in examples 1 and 2.\n"
21866 " width (PLFLT, input) : The desired pen width. If width is negative\n"
21867 " or the same as the previous value no action is taken. width = 0.\n"
21868 " should be interpreted as as the minimum valid pen width for the\n"
21869 " device. The interpretation of positive width values is also\n"
21870 " device dependent.\n"
21878 " Specify the window, i.e., the world coordinates of the edges of the\n"
21881 " Redacted form: plwind(xmin, xmax, ymin, ymax)\n"
21883 " This function is used in examples 1, 2, 4, 6-12, 14-16, 18, 21, 23-27,\n"
21890 "plwind(xmin, xmax, ymin, ymax)\n"
21894 " xmin (PLFLT, input) : The world x coordinate of the left-hand edge\n"
21895 " of the viewport.\n"
21897 " xmax (PLFLT, input) : The world x coordinate of the right-hand edge\n"
21898 " of the viewport.\n"
21900 " ymin (PLFLT, input) : The world y coordinate of the bottom edge of\n"
21903 " ymax (PLFLT, input) : The world y coordinate of the top edge of the\n"
21908 "Enter or leave xor mode\n"
21912 " Enter (when mode is true) or leave (when mode is false) xor mode for\n"
21913 " those drivers (e.g., the xwin driver) that support it. Enables\n"
21914 " erasing plots by drawing twice the same line, symbol, etc. If driver\n"
21915 " is not capable of xor operation it returns a status of false.\n"
21917 " Redacted form: plxormod(mode, status)\n"
21919 " This function is used in examples 1 and 20.\n"
21925 "plxormod(mode, status)\n"
21929 " mode (PLBOOL, input) : mode is true means enter xor mode and mode\n"
21930 " is false means leave xor mode.\n"
21932 " status (PLBOOL_NC_SCALAR, output) : Returned value of the status.\n"
21933 " modestatus of true (false) means driver is capable (incapable) of\n"
21938 "Plot continental outline or shapefile data in world coordinates\n"
21942 " Plots continental outlines or shapefile data in world coordinates. A\n"
21943 " demonstration of how to use this function to create different\n"
21944 " projections can be found in examples/c/x19c. PLplot is provided with\n"
21945 " basic coastal outlines and USA state borders. To use the map\n"
21946 " functionality PLplot must be compiled with the shapelib library.\n"
21947 " Shapefiles have become a popular standard for geographical data and\n"
21948 " data in this format can be easily found from a number of online\n"
21949 " sources. Shapefile data is actually provided as three or more files\n"
21950 " with the same filename, but different extensions. The .shp and .shx\n"
21951 " files are required for plotting Shapefile data with PLplot.\n"
21953 " PLplot currently supports the point, multipoint, polyline and polygon\n"
21954 " objects within shapefiles. However holes in polygons are not\n"
21955 " supported. When plmap is used the type of object is derived from the\n"
21956 " shapefile, if you wish to override the type then use one of the other\n"
21957 " plmap variants. The built in maps have line data only.\n"
21959 " Redacted form: plmap(mapform, name, minx, maxx, miny, maxy)\n"
21961 " This function is used in example 19.\n"
21967 "plmap(mapform, name, minx, maxx, miny, maxy)\n"
21971 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
21972 " transform the original map data coordinates to a new coordinate\n"
21973 " system. The PLplot-supplied map data is provided as latitudes and\n"
21974 " longitudes; other Shapefile data may be provided in other\n"
21975 " coordinate systems as can be found in their .prj plain text files.\n"
21976 " For example, by using this transform we can change from a\n"
21977 " longitude, latitude coordinate to a polar stereographic\n"
21978 " projection. Initially, x[0]..[n-1] are the original x coordinates\n"
21979 " (longitudes for the PLplot-supplied data) and y[0]..y[n-1] are the\n"
21980 " corresponding y coordinates (latitudes for the PLplot supplied\n"
21981 " data). After the call to mapform(), x[] and y[] should be\n"
21982 " replaced by the corresponding plot coordinates. If no transform is\n"
21983 " desired, mapform can be replaced by NULL.\n"
21985 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
21986 " the type of map plotted. This is either one of the PLplot built-in\n"
21987 " maps or the file name of a set of Shapefile files without the file\n"
21988 " extensions. For the PLplot built-in maps the possible values are:\n"
21989 " \"globe\" -- continental outlines\n"
21990 " \"usa\" -- USA and state boundaries\n"
21991 " \"cglobe\" -- continental outlines and countries\n"
21992 " \"usaglobe\" -- USA, state boundaries and continental outlines\n"
21995 " minx (PLFLT, input) : The minimum x value of map elements to be\n"
21996 " drawn. The units must match the shapefile (built in maps are\n"
21997 " degrees lat/lon). Objects in the file which do not encroach on the\n"
21998 " box defined by minx, maxx, miny, maxy will not be rendered. But\n"
21999 " note this is simply an optimisation, not a clipping so for objects\n"
22000 " with some points inside the box and some points outside the box\n"
22001 " all the points will be rendered. These parameters also define\n"
22002 " latitude and longitude wrapping for shapefiles using these units.\n"
22003 " Longitude points will be wrapped by integer multiples of 360\n"
22004 " degrees to place them in the box. This allows the same data to be\n"
22005 " used on plots from -180-180 or 0-360 longitude ranges. In fact if\n"
22006 " you plot from -180-540 you will get two cycles of data drawn. The\n"
22007 " value of minx must be less than the value of maxx. Passing in a\n"
22008 " nan, max/-max floating point number or +/-infinity will case the\n"
22009 " bounding box from the shapefile to be used.\n"
22011 " maxx (PLFLT, input) : The maximum x value of map elements to be\n"
22012 " drawn - see minx.\n"
22014 " miny (PLFLT, input) : The minimum y value of map elements to be\n"
22015 " drawn - see minx.\n"
22017 " maxy (PLFLT, input) : The maximum y value of map elements to be\n"
22018 " drawn - see minx.\n"
22022 "Plot all or a subset of Shapefile data using lines in world coordinates\n"
22026 " Plot all or a subset of Shapefile data using lines in world\n"
22027 " coordinates. Our 19th standard example demonstrates how to use this\n"
22028 " function. This function plots data from a Shapefile using lines as in\n"
22029 " plmap, however it also has the option of also only drawing specified\n"
22030 " elements from the Shapefile. The vector of indices of the required\n"
22031 " elements are passed as a function argument. The Shapefile data should\n"
22032 " include a metadata file (extension.dbf) listing all items within the\n"
22033 " Shapefile. This file can be opened by most popular spreadsheet\n"
22034 " programs and can be used to decide which indices to pass to this\n"
22037 " Redacted form: plmapline(mapform, name, minx, maxx, miny, maxy,\n"
22040 " This function is used in example 19.\n"
22046 "plmapline(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22050 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22051 " transform the coordinates given in the shapefile into a plot\n"
22052 " coordinate system. By using this transform, we can change from a\n"
22053 " longitude, latitude coordinate to a polar stereographic project,\n"
22054 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22055 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22056 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22057 " plot coordinates. If no transform is desired, mapform can be\n"
22058 " replaced by NULL.\n"
22060 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22061 " the file name of a set of Shapefile files without the file\n"
22064 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22065 " be in the same units as used by the Shapefile. You could use a\n"
22066 " very large negative number to plot everything, but you can improve\n"
22067 " performance by limiting the area drawn. The units must match those\n"
22068 " of the Shapefile projection, which may be for example longitude or\n"
22069 " distance. The value of minx must be less than the value of maxx.\n"
22071 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22072 " use a very large number to plot everything, but you can improve\n"
22073 " performance by limiting the area drawn.\n"
22075 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22076 " be in the same units as used by the Shapefile. You could use a\n"
22077 " very large negative number to plot everything, but you can improve\n"
22078 " performance by limiting the area drawn. The units must match those\n"
22079 " of the Shapefile projection, which may be for example latitude or\n"
22080 " distance. The value of miny must be less than the value of maxy.\n"
22082 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22083 " use a very large number to plot everything, but you can improve\n"
22084 " performance by limiting the area drawn.\n"
22086 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22087 " zero-based indices of the Shapefile elements which will be drawn.\n"
22089 " plotentries to NULL will plot all elements of the Shapefile.\n"
22091 " nplotentries (PLINT, input) : The number of items in\n"
22092 " plotentries. Ignored if\n"
22093 " plotentries is NULL.\n"
22097 "Plot all or a subset of Shapefile data using strings or points in world coordinates\n"
22101 " As per plmapline, however the items are plotted as strings or points\n"
22102 " in the same way as plstring.\n"
22104 " Redacted form: plmapstring(mapform, name, string, minx, maxx, miny,\n"
22105 " maxy, plotentries)\n"
22107 " This function is not used in any examples.\n"
22113 "plmapstring(mapform, name, string, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22117 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22118 " transform the coordinates given in the shapefile into a plot\n"
22119 " coordinate system. By using this transform, we can change from a\n"
22120 " longitude, latitude coordinate to a polar stereographic project,\n"
22121 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22122 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22123 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22124 " plot coordinates. If no transform is desired, mapform can be\n"
22125 " replaced by NULL.\n"
22127 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22128 " the file name of a set of Shapefile files without the file\n"
22131 " string (PLCHAR_VECTOR, input) : A UTF-8 character string to be\n"
22134 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22135 " be in the same units as used by the Shapefile. You could use a\n"
22136 " very large negative number to plot everything, but you can improve\n"
22137 " performance by limiting the area drawn. The units must match those\n"
22138 " of the Shapefile projection, which may be for example longitude or\n"
22139 " distance. The value of minx must be less than the value of maxx.\n"
22141 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22142 " use a very large number to plot everything, but you can improve\n"
22143 " performance by limiting the area drawn.\n"
22145 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22146 " be in the same units as used by the Shapefile. You could use a\n"
22147 " very large negative number to plot everything, but you can improve\n"
22148 " performance by limiting the area drawn. The units must match those\n"
22149 " of the Shapefile projection, which may be for example latitude or\n"
22150 " distance. The value of miny must be less than the value of maxy.\n"
22152 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22153 " use a very large number to plot everything, but you can improve\n"
22154 " performance by limiting the area drawn.\n"
22156 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22157 " zero-based indices of the Shapefile elements which will be drawn.\n"
22159 " plotentries to NULL will plot all elements of the Shapefile.\n"
22161 " nplotentries (PLINT, input) : The number of items in\n"
22162 " plotentries. Ignored if\n"
22163 " plotentries is NULL.\n"
22167 "Draw text at points defined by Shapefile data in world coordinates\n"
22171 " As per plmapline, however the items are plotted as text in the same\n"
22172 " way as plptex.\n"
22174 " Redacted form: plmaptex(mapform, name, dx, dy, just, text, minx, maxx,\n"
22175 " miny, maxy, plotentry)\n"
22177 " This function is used in example 19.\n"
22183 "plmaptex(mapform, name, dx, dy, just, text, minx, maxx, miny, maxy, plotentry)\n"
22187 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22188 " transform the coordinates given in the shapefile into a plot\n"
22189 " coordinate system. By using this transform, we can change from a\n"
22190 " longitude, latitude coordinate to a polar stereographic project,\n"
22191 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22192 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22193 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22194 " plot coordinates. If no transform is desired, mapform can be\n"
22195 " replaced by NULL.\n"
22197 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22198 " the file name of a set of Shapefile files without the file\n"
22201 " dx (PLFLT, input) : Used to define the slope of the texts which is\n"
22204 " dy (PLFLT, input) : Used to define the slope of the texts which is\n"
22207 " just (PLFLT, input) : Set the justification of the text. The value\n"
22208 " given will be the fraction of the distance along the string that\n"
22209 " sits at the given point. 0.0 gives left aligned text, 0.5 gives\n"
22210 " centralized text and 1.0 gives right aligned text.\n"
22212 " text (PLCHAR_VECTOR, input) : A UTF-8 character string to be drawn.\n"
22214 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22215 " be in the same units as used by the Shapefile. You could use a\n"
22216 " very large negative number to plot everything, but you can improve\n"
22217 " performance by limiting the area drawn. The units must match those\n"
22218 " of the Shapefile projection, which may be for example longitude or\n"
22219 " distance. The value of minx must be less than the value of maxx.\n"
22221 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22222 " use a very large number to plot everything, but you can improve\n"
22223 " performance by limiting the area drawn.\n"
22225 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22226 " be in the same units as used by the Shapefile. You could use a\n"
22227 " very large negative number to plot everything, but you can improve\n"
22228 " performance by limiting the area drawn. The units must match those\n"
22229 " of the Shapefile projection, which may be for example latitude or\n"
22230 " distance. The value of miny must be less than the value of maxy.\n"
22232 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22233 " use a very large number to plot everything, but you can improve\n"
22234 " performance by limiting the area drawn.\n"
22236 " plotentry (PLINT, input) : An integer indicating which text string\n"
22237 " of the Shapefile (zero indexed) will be drawn.\n"
22241 "Plot all or a subset of Shapefile data, filling the polygons\n"
22245 " As per plmapline, however the items are filled in the same way as\n"
22248 " Redacted form: plmapfill(mapform, name, minx, maxx, miny, maxy,\n"
22251 " This function is used in example 19.\n"
22257 "plmapfill(mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries)\n"
22261 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22262 " transform the coordinates given in the shapefile into a plot\n"
22263 " coordinate system. By using this transform, we can change from a\n"
22264 " longitude, latitude coordinate to a polar stereographic project,\n"
22265 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22266 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22267 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22268 " plot coordinates. If no transform is desired, mapform can be\n"
22269 " replaced by NULL.\n"
22271 " name (PLCHAR_VECTOR, input) : An ascii character string specifying\n"
22272 " the file name of a set of Shapefile files without the file\n"
22275 " minx (PLFLT, input) : The minimum x value to be plotted. This must\n"
22276 " be in the same units as used by the Shapefile. You could use a\n"
22277 " very large negative number to plot everything, but you can improve\n"
22278 " performance by limiting the area drawn. The units must match those\n"
22279 " of the Shapefile projection, which may be for example longitude or\n"
22280 " distance. The value of minx must be less than the value of maxx.\n"
22282 " maxx (PLFLT, input) : The maximum x value to be plotted. You could\n"
22283 " use a very large number to plot everything, but you can improve\n"
22284 " performance by limiting the area drawn.\n"
22286 " miny (PLFLT, input) : The minimum y value to be plotted. This must\n"
22287 " be in the same units as used by the Shapefile. You could use a\n"
22288 " very large negative number to plot everything, but you can improve\n"
22289 " performance by limiting the area drawn. The units must match those\n"
22290 " of the Shapefile projection, which may be for example latitude or\n"
22291 " distance. The value of miny must be less than the value of maxy.\n"
22293 " maxy (PLFLT, input) : The maximum y value to be plotted. You could\n"
22294 " use a very large number to plot everything, but you can improve\n"
22295 " performance by limiting the area drawn.\n"
22297 " plotentries (PLINT_VECTOR, input) : A vector containing the\n"
22298 " zero-based indices of the Shapefile elements which will be drawn.\n"
22300 " plotentries to NULL will plot all elements of the Shapefile.\n"
22302 " nplotentries (PLINT, input) : The number of items in\n"
22303 " plotentries. Ignored if\n"
22304 " plotentries is NULL.\n"
22308 "Plot latitude and longitude lines\n"
22312 " Displays latitude and longitude on the current plot. The lines are\n"
22313 " plotted in the current color and line style.\n"
22315 " Redacted form: plmeridians(mapform, dlong, dlat, minlong, maxlong,\n"
22316 " minlat, maxlat)\n"
22318 " This function is used in example 19.\n"
22324 "plmeridians(mapform, dlong, dlat, minlong, maxlong, minlat, maxlat)\n"
22328 " mapform (PLMAPFORM_callback, input) : A user supplied function to\n"
22329 " transform the coordinate longitudes and latitudes to a plot\n"
22330 " coordinate system. By using this transform, we can change from a\n"
22331 " longitude, latitude coordinate to a polar stereographic project,\n"
22332 " for example. Initially, x[0]..[n-1] are the longitudes and\n"
22333 " y[0]..y[n-1] are the corresponding latitudes. After the call to\n"
22334 " mapform(), x[] and y[] should be replaced by the corresponding\n"
22335 " plot coordinates. If no transform is desired, mapform can be\n"
22336 " replaced by NULL.\n"
22338 " dlong (PLFLT, input) : The interval in degrees at which the\n"
22339 " longitude lines are to be plotted.\n"
22341 " dlat (PLFLT, input) : The interval in degrees at which the latitude\n"
22342 " lines are to be plotted.\n"
22344 " minlong (PLFLT, input) : The value of the longitude on the left\n"
22345 " side of the plot. The value of minlong must be less than the value\n"
22346 " of maxlong, and the quantity maxlong-minlong must be less than or\n"
22349 " maxlong (PLFLT, input) : The value of the longitude on the right\n"
22350 " side of the plot.\n"
22352 " minlat (PLFLT, input) : The minimum latitude to be plotted on the\n"
22353 " background. One can always use -90.0 as the boundary outside the\n"
22354 " plot window will be automatically eliminated. However, the\n"
22355 " program will be faster if one can reduce the size of the\n"
22356 " background plotted.\n"
22358 " maxlat (PLFLT, input) : The maximum latitudes to be plotted on the\n"
22359 " background. One can always use 90.0 as the boundary outside the\n"
22360 " plot window will be automatically eliminated.\n"
22364 "Plot a 2D matrix using cmap1 with automatic color adjustment\n"
22368 " Plot a 2D matrix using the cmap1 palette. The color scale is\n"
22369 " automatically adjusted to use the maximum and minimum values in idata\n"
22370 " as valuemin and valuemax in a call to plimagefr.\n"
22372 " Redacted form: General: plimage(idata, xmin, xmax, ymin, ymax, zmin,\n"
22373 " zmax, Dxmin, Dxmax, Dymin, Dymax)\n"
22376 " This function is used in example 20.\n"
22382 "plimage(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, Dxmin, Dxmax, Dymin, Dymax)\n"
22386 " idata (PLFLT_MATRIX, input) : A matrix containing function values\n"
22387 " to plot. Should have dimensions of\n"
22391 " nx, ny (PLINT, input) : Dimensions of idata\n"
22393 " xmin, xmax, ymin, ymax (PLFLT, input) : The x and y index ranges\n"
22394 " are linearly transformed to these world coordinate ranges such\n"
22395 " that idata[0][0] corresponds to (xmin, ymin) and idata[nx - 1][ny\n"
22396 " - 1] corresponds to (xmax, ymax).\n"
22398 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n"
22399 " (inclusive) will be plotted.\n"
22401 " Dxmin, Dxmax, Dymin, Dymax (PLFLT, input) : Plot only the window of\n"
22402 " points whose plot coordinates fall inside the window of (Dxmin,\n"
22403 " Dymin) to (Dxmax, Dymax).\n"
22407 "Plot a 2D matrix using cmap1\n"
22411 " Plot a 2D matrix using cmap1.\n"
22413 " Redacted form: General: plimagefr(idata, xmin, xmax, ymin, ymax, zmin,\n"
22414 " zmax, valuemin, valuemax, pltr, pltr_data)\n"
22417 " This function is used in example 20.\n"
22423 "plimagefr(idata, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr, pltr_data)\n"
22427 " idata (PLFLT_MATRIX, input) : A matrix of values (intensities) to\n"
22428 " plot. Should have dimensions of\n"
22432 " nx, ny (PLINT, input) : Dimensions of idata\n"
22434 " xmin, xmax, ymin, ymax (PLFLT, input) : See the discussion of\n"
22435 " pltr below for how these arguments are used (only for the special case\n"
22436 " when the callback function\n"
22437 " pltr is not supplied).\n"
22439 " zmin, zmax (PLFLT, input) : Only data between zmin and zmax\n"
22440 " (inclusive) will be plotted.\n"
22442 " valuemin, valuemax (PLFLT, input) : The minimum and maximum data\n"
22443 " values to use for value to color mappings. A datum equal to or\n"
22444 " less than valuemin will be plotted with color 0.0, while a datum\n"
22445 " equal to or greater than valuemax will be plotted with color 1.0.\n"
22446 " Data between valuemin and valuemax map linearly to colors in the\n"
22447 " range (0.0-1.0).\n"
22449 " pltr (PLTRANSFORM_callback, input) : A callback function that\n"
22450 " defines the transformation between the zero-based indices of the\n"
22451 " matrix idata and world coordinates. If\n"
22452 " pltr is not supplied (e.g., is set to NULL in the C case), then the x\n"
22453 " indices of idata are mapped to the range\n"
22455 " xmax and the y indices of idata are mapped to the range\n"
22457 " ymax.For the C case, transformation functions are provided in the\n"
22458 " PLplot library: pltr0 for the identity mapping, and pltr1 and\n"
22459 " pltr2 for arbitrary mappings respectively defined by vectors and\n"
22460 " matrices. In addition, C callback routines for the transformation\n"
22461 " can be supplied by the user such as the mypltr function in\n"
22462 " examples/c/x09c.c which provides a general linear transformation\n"
22463 " between index coordinates and world coordinates.For languages\n"
22464 " other than C you should consult the PLplot documentation for the\n"
22465 " details concerning how PLTRANSFORM_callback arguments are\n"
22466 " interfaced. However, in general, a particular pattern of\n"
22467 " callback-associated arguments such as a tr vector with 6 elements;\n"
22468 " xg and yg vectors; or xg and yg matrices are respectively\n"
22469 " interfaced to a linear-transformation routine similar to the above\n"
22470 " mypltr function; pltr1; and pltr2. Furthermore, some of our more\n"
22471 " sophisticated bindings (see, e.g., the PLplot documentation)\n"
22472 " support native language callbacks for handling index to\n"
22473 " world-coordinate transformations. Examples of these various\n"
22474 " approaches are given in examples/<language>x09*,\n"
22475 " examples/<language>x16*, examples/<language>x20*,\n"
22476 " examples/<language>x21*, and examples/<language>x22*, for all our\n"
22477 " supported languages.\n"
22479 " pltr_data (PLPointer, input) : Extra parameter to help pass\n"
22480 " information to pltr0, pltr1, pltr2, or whatever routine is\n"
22481 " externally supplied.\n"
22490 "Wait for graphics input event and translate to world coordinates.\n"
22494 " Wait for graphics input event and translate to world coordinates.\n"
22495 " Returns 0 if no translation to world coordinates is possible.\n"
22497 " This function returns 1 on success and 0 if no translation to world\n"
22498 " coordinates is possible.\n"
22500 " Redacted form: plGetCursor(gin)\n"
22502 " This function is used in examples 1 and 20.\n"
22508 "PLINT plGetCursor(gin)\n"
22512 " gin (PLGraphicsIn *, output) : Pointer to PLGraphicsIn structure\n"
22513 " which will contain the output. The structure is not allocated by\n"
22514 " the routine and must exist before the function is called.\n"
22517 { NULL, NULL, 0, NULL }
22591{0, 0, 0, 0.0, 0, 0}};
22645#define SWIGRUNTIME_DEBUG
22648#ifndef SWIG_INIT_CLIENT_DATA_TYPE
22649#define SWIG_INIT_CLIENT_DATA_TYPE void *
22671 if (!module_head) {
22684 }
while (iter!= module_head);
22695 if (init == 0)
return;
22698#ifdef SWIGRUNTIME_DEBUG
22699 printf(
"SWIG_InitializeModule: size %lu\n", (
unsigned long)
swig_module.
size);
22706#ifdef SWIGRUNTIME_DEBUG
22716#ifdef SWIGRUNTIME_DEBUG
22717 printf(
"SWIG_InitializeModule: found type %s\n", type->
name);
22721#ifdef SWIGRUNTIME_DEBUG
22722 printf(
"SWIG_InitializeModule: found and overwrite type %s \n", type->
name);
22731 while (cast->
type) {
22734#ifdef SWIGRUNTIME_DEBUG
22735 printf(
"SWIG_InitializeModule: look cast %s\n", cast->
type->
name);
22739#ifdef SWIGRUNTIME_DEBUG
22740 if (ret) printf(
"SWIG_InitializeModule: found cast %s\n", ret->
name);
22745#ifdef SWIGRUNTIME_DEBUG
22746 printf(
"SWIG_InitializeModule: skip old type %s\n", ret->
name);
22753#ifdef SWIGRUNTIME_DEBUG
22754 if (ocast) printf(
"SWIG_InitializeModule: skip old cast %s\n", ret->
name);
22756 if (!ocast) ret = 0;
22761#ifdef SWIGRUNTIME_DEBUG
22762 printf(
"SWIG_InitializeModule: adding cast %s\n", cast->
type->
name);
22777#ifdef SWIGRUNTIME_DEBUG
22778 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
22783 while (cast->
type) {
22784 printf(
"SWIG_InitializeModule: cast type %s\n", cast->
type->
name);
22788 printf(
"---- Total casts: %d\n",j);
22790 printf(
"**** SWIG_InitializeModule: Cast List ******\n");
22803 static int init_run = 0;
22805 if (init_run)
return;
22816 equiv = equiv->
next;
22845 for (i = 0; constants[i].
type; ++i) {
22846 switch(constants[i].type) {
22851 obj =
SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
22858 PyDict_SetItemString(d, constants[i].
name, obj);
22871 for (i = 0; methods[i].ml_name; ++i) {
22872 const char *c = methods[i].ml_doc;
22874 c = strstr(c,
"swig_ptr: ");
22878 const char *
name = c + 10;
22879 for (j = 0; const_table[j].
type; ++j) {
22880 if (strncmp(const_table[j].
name,
name,
22881 strlen(const_table[j].
name)) == 0) {
22882 ci = &(const_table[j]);
22889 size_t shift = (ci->
ptype) - types;
22891 size_t ldoc = (c - methods[i].ml_doc);
22892 size_t lptr = strlen(ty->
name)+2*
sizeof(
void*)+2;
22893 char *ndoc = (
char*)malloc(ldoc + lptr + 10);
22896 memcpy(buff, methods[i].ml_doc, ldoc);
22898 memcpy(buff,
"swig_ptr: ", 10);
22901 methods[i].ml_doc = ndoc;
22925#if PY_VERSION_HEX >= 0x03000000
22931 PyObject *m, *d, *md, *globals;
22933#if PY_VERSION_HEX >= 0x03000000
22934 static struct PyModuleDef SWIG_module = {
22935 PyModuleDef_HEAD_INIT,
22947#if defined(SWIGPYTHON_BUILTIN)
22949 0, 0, 0, 0, 0, 0, 0
22951 static PyGetSetDef this_getset_def = {
22952 (
char *)
"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
22954 static SwigPyGetSet thisown_getset_closure = {
22958 static PyGetSetDef thisown_getset_def = {
22959 (
char *)
"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
22961 PyTypeObject *builtin_pytype;
22962 int builtin_base_count;
22965 PyGetSetDescrObject *static_getset;
22966 PyTypeObject *metatype;
22967 PyTypeObject *swigpyobject;
22969 PyObject *public_interface, *public_symbol;
22970 PyObject *this_descr;
22971 PyObject *thisown_descr;
22972 PyObject *self = 0;
22975 (void)builtin_pytype;
22976 (void)builtin_base_count;
22977 (void)builtin_basetype;
22979 (void)static_getset;
22983 metatype = SwigPyObjectType();
22993#ifndef SWIGPYTHON_BUILTIN
23000#if PY_VERSION_HEX >= 0x03000000
23001 m = PyModule_Create(&SWIG_module);
23006 md = d = PyModule_GetDict(m);
23011#ifdef SWIGPYTHON_BUILTIN
23015 assert(SwigPyObject_stype);
23018 SwigPyObject_stype->clientdata = &SwigPyObject_clientdata;
23019 SwigPyObject_clientdata.
pytype = swigpyobject;
23020 }
else if (swigpyobject->tp_basicsize != cd->
pytype->tp_basicsize) {
23021 PyErr_SetString(PyExc_RuntimeError,
"Import error: attempted to load two incompatible swig-generated modules.");
23022# if PY_VERSION_HEX >= 0x03000000
23035 (void)thisown_descr;
23037 public_interface = PyList_New(0);
23039 (void)public_symbol;
23041 PyDict_SetItemString(md,
"__all__", public_interface);
23042 Py_DECREF(public_interface);
23044 SwigPyBuiltin_AddPublicSymbol(public_interface,
SwigMethods[i].ml_name);
23239#if PY_VERSION_HEX >= 0x03000000
void plSetUsage(PLCHAR_VECTOR program_string, PLCHAR_VECTOR usage_string)
void pltr2(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
void pltr1(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
void pltr0(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer PL_UNUSED(pltr_data))
void plsxwin(PLINT window_id)
static PLFLT value(double n1, double n2, double hue)
void plMinMax2dGrid(PLFLT_MATRIX f, PLINT nx, PLINT ny, PLFLT *fnmax, PLFLT *fnmin)
PLINT plGetCursor(PLGraphicsIn *plg)
#define pl_setcontlabelformat
#define pl_setcontlabelparam
SWIGINTERN PyObject * _wrap_plstransform(PyObject *self, PyObject *args)
SWIGRUNTIME void SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata)
SWIGINTERN PyObject * _wrap_plgcol0a(PyObject *self, PyObject *args)
SWIGRUNTIME swig_module_info * SWIG_Python_GetModule(void *SWIGUNUSEDPARM(clientdata))
SWIGINTERN PyObject * _wrap_plsxwin(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgchr(PyObject *self, PyObject *args)
SWIGINTERNINLINE PyObject * SWIG_From_int(int value)
SWIGRUNTIME int SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty)
SWIGINTERN PyObject * _wrap_plcolorbar(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstripc(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_type_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plshade(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plhlsrgb(PyObject *self, PyObject *args)
static swig_cast_info * swig_cast_initial[]
SWIGINTERN int swig_varlink_setattr(PyObject *o, char *n, PyObject *p)
SWIGINTERN PyObject * _wrap_plgra(PyObject *self, PyObject *args)
static int interpreter_counter
SWIGINTERN PyObject * _wrap_plvpas(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsdiori(PyObject *self, PyObject *args)
#define SWIG_MangledTypeQuery(name)
SWIGINTERN PyObject * _wrap_plSetUsage(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plssub(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmaptex(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsdiplt(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscolbg(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dY_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plResetOpts(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plshades(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsdimap(PyObject *self, PyObject *args)
static PyObject * Swig_This_global
SWIGRUNTIME int SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *w)
SWIGINTERN int SWIG_AsVal_double(PyObject *obj, double *val)
static swig_cast_info _swigc__p_PLcGrid2[]
SWIGINTERN PyObject * _wrap_plerrx(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plprec(PyObject *self, PyObject *args)
SWIGINTERN Py_ssize_t SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
static swig_type_info _swigt__p_f_double_double_p_double_p_double_p_void__void
#define SWIG_TypeQuery(name)
PLFLT do_f2eval_callback(PLINT x, PLINT y, PLPointer data)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_keysym_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_string_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap0n(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plfill3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_subwindow_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsurf3d(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgfont(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plvsta(PyObject *self, PyObject *args)
#define SWIG_CheckState(r)
static swig_cast_info _swigc__p_f_double_double__int[]
void cleanup_mapform(void)
void cleanup_PLPointer(void)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pX_set(PyObject *self, PyObject *args)
static swig_cast_info _swigc__p_int[]
SWIGINTERN PyObject * _wrap_plschr(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_keysym_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstart(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgvpw(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dY_get(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_Python_AddErrMesg(const char *mesg, int infront)
SWIGRUNTIME PyObject * SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this)
SWIGINTERN void SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[])
pltr_func marshal_pltr(PyObject *input)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_button_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_string_get(PyObject *self, PyObject *args)
#define myArray_ContiguousFromObject
SWIGRUNTIME PyObject * SwigPyObject_next(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_plgyax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plend(PyObject *self, PyObject *args)
#define SWIG_POINTER_IMPLICIT_CONV
static swig_cast_info _swigc__p_double[]
#define SWIGTYPE_p_PLGraphicsIn
SWIGINTERN PyObject * _wrap_plscmap1la(PyObject *self, PyObject *args)
void do_mapform_callback(PLINT n, PLFLT *x, PLFLT *y)
SWIGRUNTIME PyObject * SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
SWIGINTERN PyObject * _wrap_plbin(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcol1(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plpoin(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pltext(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcalc_world(PyObject *self, PyObject *args)
void(* label_func)(PLINT, PLFLT, char *, PLINT, PLPointer)
SWIGRUNTIME int SWIG_TypeNameComp(const char *f1, const char *l1, const char *f2, const char *l2)
SWIGRUNTIME PyObject * SwigPyObject_hex(SwigPyObject *v)
#define SWIG_Python_ConvertPtr(obj, pptr, type, flags)
SWIGRUNTIME void SwigPyObject_dealloc(PyObject *v)
SWIGRUNTIME PyTypeObject * SwigPyPacked_TypeOnce(void)
#define SWIG_PYTHON_THREAD_END_BLOCK
SWIGINTERN PyObject * _wrap_plClearOpts(PyObject *self, PyObject *args)
SWIGINTERN size_t SWIG_strnlen(const char *s, size_t maxlen)
SWIGINTERN PyObject * _wrap_plgradient(PyObject *self, PyObject *args)
#define SWIG_RuntimeError
SWIGRUNTIME PyObject * SwigPyObject_richcompare(SwigPyObject *v, SwigPyObject *w, int op)
SWIGINTERN PyObject * _wrap_pladv(PyObject *self, PyObject *args)
void(* mapform_func)(PLINT, PLFLT *, PLFLT *)
SWIGRUNTIME PyObject * SwigPyObject_append(PyObject *v, PyObject *next)
SWIGINTERN PyObject * _wrap_plsdev(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgxax(PyObject *self, PyObject *args)
#define SWIGPY_CAPSULE_ATTR_NAME
SWIGINTERN PyObject * _wrap_plsfont(PyObject *self, PyObject *args)
SWIGINTERN PyObject * SWIG_Python_newvarlink(void)
SWIGINTERN PyObject * _wrap_plsdidev(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsmema(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pl_setcontlabelformat(PyObject *self, PyObject *args)
#define SWIG_NewClientData(obj)
SWIGINTERN PyObject * _wrap_plot3d(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plptex3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dX_set(PyObject *self, PyObject *args)
void(* pltr_func)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer)
SWIGINTERN PyObject * _wrap_plspal1(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plwidth(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgpage(PyObject *self, PyObject *args)
mapform_func marshal_mapform(PyObject *input)
static swig_cast_info _swigc__p_f_double_double_p_double_p_double_p_void__void[]
SWIGINTERN PyObject * _wrap_plline(PyObject *self, PyObject *args)
SWIGINTERNINLINE int SWIG_CanCastAsInteger(double *d, double min, double max)
SWIGINTERN int SWIG_AsVal_unsigned_SS_long(PyObject *obj, unsigned long *val)
SWIGINTERN PyObject * _wrap_plscmap1(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plvasp(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap0a(PyObject *self, PyObject *args)
#define SWIG_as_voidptrptr(a)
SWIGINTERN PyObject * _wrap_plsmaj(PyObject *self, PyObject *args)
#define SWIG_RUNTIME_VERSION
SWIGINTERN char * SWIG_Python_str_AsChar(PyObject *str)
SWIGINTERN PyObject * _wrap_plscolor(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plrgbhls(PyObject *self, PyObject *args)
SWIGRUNTIMEINLINE const char * SwigPyObject_GetDesc(PyObject *self)
SWIGINTERN PyObject * _wrap_plssym(PyObject *self, PyObject *args)
SWIGINTERN PyObject * SwigPyObject_own(PyObject *v, PyObject *args)
SWIGINTERN PyObject * _wrap_plptex(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstar(PyObject *self, PyObject *args)
#define SWIG_POINTER_NOSHADOW
SWIGINTERN PyObject * _wrap_plwind(PyObject *self, PyObject *args)
SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata)
SWIGINTERN PyObject * _wrap_plstyl(PyObject *self, PyObject *args)
SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
SWIGINTERN void SWIG_Python_addvarlink(PyObject *p, const char *name, PyObject *(*get_attr)(void), int(*set_attr)(PyObject *p))
SWIGINTERN PyObject * _wrap_plend1(PyObject *self, PyObject *args)
SWIGINTERN PyObject * SwigPyObject_acquire(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_plgcompression(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsmin(PyObject *self, PyObject *args)
static PyMethodDef swigobject_methods[]
SWIGRUNTIME char * SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz)
SWIGINTERN PyObject * _wrap_plgcmap1_range(PyObject *self, PyObject *args)
void cleanup_PLcGrid1(void)
SWIGRUNTIME PyObject * SWIG_Python_TypeCache(void)
SWIGINTERN PyObject * _wrap_plgcol0(PyObject *self, PyObject *args)
#define SWIG_InternalNewPointerObj(ptr, type, flags)
SWIGINTERN PyObject * _wrap_plscmap1_range(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscol0a(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_long(SwigPyObject *v)
#define SWIG_exception_fail(code, msg)
SWIGINTERN PyObject * _wrap_plOptUsage(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plarc(PyObject *self, PyObject *args)
SWIGRUNTIMEINLINE PyObject * SWIG_Py_Void(void)
SWIGINTERN PyObject * _wrap_plsfam(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pltr2(PyObject *self, PyObject *args)
void do_label_callback(PLINT axis, PLFLT value, char *string, PLINT len, PLPointer data)
static swig_cast_info _swigc__p_f_int_p_double_p_double__void[]
SWIGINTERN PyObject * _wrap_plscmap1l(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_state_set(PyObject *self, PyObject *args)
#define SWIG_AttributeError
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pY_get(PyObject *self, PyObject *args)
SWIGRUNTIME const char * SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_state_get(PyObject *self, PyObject *args)
static swig_module_info swig_module
SWIGINTERN PyObject * _wrap_plsvpa(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgvpd(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pltr1(PyObject *self, PyObject *args)
static swig_type_info _swigt__p_double
SWIGINTERN PyObject * _wrap_plgdev(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_Python_TypeErrorOccurred(PyObject *obj)
SWIGRUNTIME void SWIG_Python_DestroyModule(PyObject *obj)
#define SWIG_SetModule(clientdata, pointer)
SWIGINTERN PyObject * _wrap_plstripd(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plw3d(PyObject *self, PyObject *args)
SWIGRUNTIME SwigPyClientData * SwigPyClientData_New(PyObject *obj)
SWIGINTERN PyObject * swig_varlink_str(PyObject *o)
SWIGINTERN PyTypeObject * swig_varlink_type(void)
SWIGINTERN PyObject * _wrap_pllab(PyObject *self, PyObject *args)
#define SWIG_INIT_CLIENT_DATA_TYPE
SWIGINTERN PyObject * _wrap_plcpstrm(PyObject *self, PyObject *args)
#define SWIGUNUSEDPARM(p)
SWIGINTERN PyObject * _wrap_plvpor(PyObject *self, PyObject *args)
PLPointer marshal_PLPointer(PyObject *input, int isimg)
#define SWIG_POINTER_RELEASE
SWIGINTERN PyObject * _wrap_plstring3(PyObject *self, PyObject *args)
SWIGRUNTIME swig_type_info * SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
#define SWIG_as_voidptr(a)
SWIGINTERN swig_type_info * SWIG_pchar_descriptor(void)
static swig_const_info swig_const_table[]
SWIGINTERN PyObject * SwigPyObject_disown(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_plscol0(PyObject *self, PyObject *args)
SWIGRUNTIMEINLINE int SwigPyPacked_Check(PyObject *op)
static swig_type_info _swigt__p_p_char
#define SWIG_Python_CallFunctor(functor, obj)
SWIGINTERN PyObject * _wrap_plmapline(PyObject *self, PyObject *args)
SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata)
static swig_type_info _swigt__p_p_double
SWIGINTERN PyObject * _wrap_plgfnam(PyObject *self, PyObject *args)
SWIGRUNTIME int SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w)
#define SWIG_POINTER_CLEAR
#define SWIG_ConvertPtr(obj, pptr, type, flags)
SWIGRUNTIME int SWIG_TypeCmp(const char *nb, const char *tb)
SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz)
SWIGINTERN PyObject * _wrap_plpsty(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plbox3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plimage(PyObject *self, PyObject *args)
SWIGINTERN int SWIG_Python_CheckNoKeywords(PyObject *kwargs, const char *name)
SWIGINTERN PyObject * _wrap_plmesh(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plszax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plinit(PyObject *self, PyObject *args)
static PyObject * Swig_Globals_global
SWIGINTERN PyObject * _wrap_plpoly3(PyObject *self, PyObject *args)
void *(* swig_converter_func)(void *, int *)
SWIGINTERN PyObject * _wrap_plsvect(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmapfill(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyPacked_repr(SwigPyPacked *v)
SWIGINTERN PyObject * _wrap_plsetopt(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap0(PyObject *self, PyObject *args)
#define SWIG_newvarlink()
SWIGRUNTIME void SWIG_Python_RaiseOrModifyTypeError(const char *message)
SWIGRUNTIME swig_type_info * SWIG_Python_TypeQuery(const char *type)
PLFLT(* f2eval_func)(PLINT, PLINT, PLPointer)
SWIGINTERN PyObject * _wrap_plparseopts(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wX_get(PyObject *self, PyObject *args)
static swig_cast_info _swigc__p_char[]
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wY_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pljoin(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plfill(PyObject *self, PyObject *args)
static swig_type_info _swigt__p_f_int_p_q_const__double_p_q_const__double__void
PLINT(* defined_func)(PLFLT, PLFLT)
SWIGINTERN PyObject * _wrap_plmtex3(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plscmap1a(PyObject *self, PyObject *args)
void cleanup_PLcGrid2(void)
static PyObject * Swig_TypeCache_global
SWIGINTERN PyObject * _wrap_plglevel(PyObject *self, PyObject *args)
static swig_cast_info _swigc__p_p_double[]
SWIGRUNTIMEINLINE PyObject * SWIG_Python_ExceptionType(swig_type_info *desc)
SWIGINTERN PyObject * _wrap_plgriddata(PyObject *self, PyObject *args)
SWIGINTERN int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
SWIGRUNTIMEINLINE int SwigPyObject_Check(PyObject *op)
SWIGINTERN PyObject * _wrap_plpath(PyObject *self, PyObject *args)
SWIGINTERN void SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj)
SWIGINTERN int SWIG_AsVal_char(PyObject *obj, char *val)
SWIGINTERN PyObject * _wrap_plot3dcl(PyObject *self, PyObject *args)
SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
PyArrayObject * myIntArray_ContiguousFromObject(PyObject *in, int type, int mindims, int maxdims)
#define SWIGPY_CAPSULE_NAME
SWIGRUNTIME void * SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(argnum), int flags)
SWIGRUNTIME void SWIG_Python_AddErrorMsg(const char *mesg)
SWIGINTERNINLINE PyObject * SWIG_FromCharPtrAndSize(const char *carray, size_t size)
SWIGRUNTIME const char * SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name)
#define SWIG_NewPointerObj(ptr, type, flags)
SWIGRUNTIME void SWIG_Python_SetModule(swig_module_info *swig_module)
SWIGINTERN PyObject * _wrap_plgspa(PyObject *self, PyObject *args)
ct_func marshal_ct(PyObject *input)
void(* ct_func)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer)
SWIGINTERN void SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj)
SWIGINTERN PyObject * _wrap_plsesc(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plline3(PyObject *self, PyObject *args)
#define SWIG_POINTER_NO_NULL
#define SWIG_Python_str_FromFormat
#define SWIG_InstallConstants(d, constants)
struct swig_type_info *(* swig_dycast_func)(void **)
SWIGINTERN PyObject * _wrap_pllegend(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsxax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgfci(PyObject *self, PyObject *args)
static PyMethodDef SwigMethods[]
#define SWIG_NullReferenceError
SWIGRUNTIME PyTypeObject * SwigPyPacked_type(void)
SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty)
SWIGINTERN PyObject * _wrap_pleop(PyObject *self, PyObject *args)
SWIGINTERNINLINE PyObject * SWIG_From_unsigned_SS_int(unsigned int value)
void do_ct_callback(PLFLT x, PLFLT y, PLFLT *xt, PLFLT *yt, PLPointer data)
#define SWIG_POINTER_DISOWN
SWIGINTERN PyObject * _wrap_PLGraphicsIn_button_set(PyObject *self, PyObject *args)
#define SWIG_STATIC_POINTER(var)
PyObject * python_mapform
SWIGINTERN PyObject * _wrap_plgdidev(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgstrm(PyObject *self, PyObject *args)
SWIGINTERN PyObject * swig_varlink_repr(PyObject *SWIGUNUSEDPARM(v))
SWIGRUNTIME char * SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz)
static swig_type_info _swigt__p_PLGraphicsIn
SWIGINTERN PyObject * _wrap_plflush(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgzax(PyObject *self, PyObject *args)
static swig_type_info _swigt__p_f_double_double__int
SWIGINTERN PyObject * _wrap_plcont(PyObject *self, PyObject *args)
SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz)
SWIGRUNTIME int SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty)
SWIGINTERN void SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg)
SWIGINTERN PyObject * _wrap_plsori(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plstripa(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plrandd(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsym(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_format(const char *fmt, SwigPyObject *v)
SWIGINTERN PyObject * _wrap_plbop(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int flags)
SWIGINTERN PyObject * _wrap_plgver(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsfnam(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmapstring(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plreplot(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plvect(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgdiplt(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pllsty(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_Python_ArgFail(int argnum)
#define SWIG_DelNewMask(r)
SWIGRUNTIME swig_type_info * SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
SWIGINTERN PyObject * _wrap_plpoin3(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own)
SWIGINTERN PyObject * _wrap_plimagefr(PyObject *self, PyObject *args)
#define SWIG_NewPackedObj(ptr, sz, type)
static swig_cast_info _swigc__p_PLcGrid[]
SWIGINTERN PyObject * _wrap_plot3dc(PyObject *self, PyObject *args)
PLcGrid * marshal_PLcGrid1(PyObject *input, int isimg)
#define SWIG_GetModule(clientdata)
SWIGINTERN PyObject * _wrap_plsstrm(PyObject *self, PyObject *args)
static swig_cast_info _swigc__p_unsigned_int[]
static swig_type_info _swigt__p_int
SWIGINTERN PyObject * PLGraphicsIn_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * _wrap_plGetCursor(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plspage(PyObject *self, PyObject *args)
SWIGRUNTIME swig_cast_info * SWIG_TypeCheckStruct(const swig_type_info *from, swig_type_info *ty)
SWIGRUNTIME void SWIG_PropagateClientData(void)
SWIGINTERN PyObject * _wrap_plscolbga(PyObject *self, PyObject *args)
static swig_cast_info _swigc__p_f_int_double_p_char_int_p_void__void[]
SWIGRUNTIME PyObject * SwigPyPacked_str(SwigPyPacked *v)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pX_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pltimefmt(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type)
SWIGINTERN PyObject * _wrap_plsmem(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmkstrm(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plcol0(PyObject *self, PyObject *args)
SWIGINTERN void SWIG_Python_FixMethods(PyMethodDef *methods, const swig_const_info *const_table, swig_type_info **types, swig_type_info **types_initial)
SWIGRUNTIMEINLINE PyObject * SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type)
SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty)
#define SWIG_ERROR_RELEASE_NOT_OWNED
SWIGRUNTIME PyObject * SWIG_This(void)
SWIGINTERN PyObject * _wrap_plenv(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsurf3dl(PyObject *self, PyObject *args)
SWIGRUNTIME void SWIG_Python_TypeError(const char *type, PyObject *obj)
SWIGINTERN int SWIG_AsVal_int(PyObject *obj, int *val)
SWIGINTERN PyObject * SWIG_Python_AppendOutput(PyObject *result, PyObject *obj)
SWIGINTERN PyObject * _wrap_plenv0(PyObject *self, PyObject *args)
static swig_type_info _swigt__p_PLcGrid
#define SWIG_BUILTIN_TP_INIT
static swig_type_info _swigt__p_unsigned_int
#define SWIG_CAST_NEW_MEMORY
SWIGINTERN void swig_varlink_dealloc(PyObject *o)
SWIGRUNTIME PyObject * SwigPyObject_repr(SwigPyObject *v)
static swig_type_info _swigt__p_f_int_p_double_p_double__void
#define SWIGTYPE_p_unsigned_int
SWIGINTERN PyObject * _wrap_plfont(PyObject *self, PyObject *args)
SWIGINTERN int SWIG_AsVal_long(PyObject *obj, long *val)
SWIGINTERN int SWIG_AsCharArray(PyObject *obj, char *val, size_t size)
SWIGINTERN PyObject * _wrap_plslabelfunc(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_pY_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgcolbg(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SWIG_Python_ErrorType(int code)
SWIGRUNTIME void SwigPyClientData_Del(SwigPyClientData *data)
SWIGRUNTIME SwigPyObject * SWIG_Python_GetSwigThis(PyObject *pyobj)
static swig_type_info _swigt__p_f_int_double_p_char_int_p_void__void
void do_pltr_callback(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer data)
SWIGINTERN PyObject * _wrap_plscompression(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmeridians(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_dX_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plsfci(PyObject *self, PyObject *args)
static swig_type_info * swig_type_initial[]
SWIGINTERN PyObject * _wrap_plerry(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plxormod(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plclear(PyObject *self, PyObject *args)
SWIGRUNTIME void SwigPyPacked_dealloc(PyObject *v)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_subwindow_get(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgcolbga(PyObject *self, PyObject *args)
SWIGINTERN PyObject * SWIG_Python_str_FromChar(const char *c)
#define PySequence_Fast_GET_ITEM
SWIGINTERN PyObject * _wrap_plmap(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
SWIGINTERN PyObject * _wrap_plhist(PyObject *self, PyObject *args)
static swig_cast_info _swigc__p_PLGraphicsIn[]
SWIGINTERN PyObject * _wrap_pltr0(PyObject *self, PyObject *args)
SWIGRUNTIMEINLINE int SWIG_Python_CheckImplicit(swig_type_info *ty)
SWIGINTERN PyObject * _wrap_plsyax(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plpat(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmeshc(PyObject *self, PyObject *args)
PLcGrid2 * marshal_PLcGrid2(PyObject *input, int isimg)
SWIGINTERN PyObject * _wrap_plfamadv(PyObject *self, PyObject *args)
SWIGINTERN PyObject * swig_varlink_getattr(PyObject *o, char *n)
static swig_cast_info _swigc__p_p_char[]
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wY_set(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plMinMax2dGrid(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plseed(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plmtex(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plfontld(PyObject *self, PyObject *args)
#define SWIG_DivisionByZero
SWIGINTERN PyObject * _wrap_delete_PLGraphicsIn(PyObject *self, PyObject *args)
#define SWIGTYPE_p_double
static swig_type_info _swigt__p_char
SWIGINTERN PyObject * _wrap_new_PLGraphicsIn(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_wX_set(PyObject *self, PyObject *args)
SWIGRUNTIME PyTypeObject * SwigPyObject_type(void)
#define SWIG_OverflowError
SWIGINTERN PyObject * _wrap_plconfigtime(PyObject *self, PyObject *args)
SWIGRUNTIME PyTypeObject * SwigPyObject_TypeOnce(void)
SWIGINTERN PyObject * _wrap_plstring(PyObject *self, PyObject *args)
void(* fill_func)(PLINT, const PLFLT *, const PLFLT *)
SWIGINTERN int SWIG_AsCharPtrAndSize(PyObject *obj, char **cptr, size_t *psize, int *alloc)
static PyObject * Swig_Capsule_global
static swig_type_info _swigt__p_PLcGrid2
SWIGINTERN PyObject * _wrap_plctime(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plgfam(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plspause(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plspal0(PyObject *self, PyObject *args)
SWIGRUNTIME PyObject * SwigPyObject_oct(SwigPyObject *v)
static swig_type_info * swig_types[15]
SWIGRUNTIME PyObject * SwigPyObject_repr2(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
SWIGINTERN PyObject * _wrap_plgdiori(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_pllightsource(PyObject *self, PyObject *args)
static swig_cast_info _swigc__p_f_int_p_q_const__double_p_q_const__double__void[]
SWIGINTERN PyObject * PLGraphicsIn_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args)
SWIGINTERN PyObject * SWIG_Python_InitShadowInstance(PyObject *args)
SWIGINTERN PyObject * _wrap_plsdiplz(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plbtime(PyObject *self, PyObject *args)
#define SWIG_AddNewMask(r)
SWIGINTERN PyObject * SWIG_globals(void)
SWIGINTERN PyObject * _wrap_pl_setcontlabelparam(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_plbox(PyObject *self, PyObject *args)
SWIGINTERN PyObject * _wrap_PLGraphicsIn_type_set(PyObject *self, PyObject *args)
#define SWIG_PYTHON_THREAD_BEGIN_BLOCK
SWIGINTERN PyObject * _wrap_plscmap1n(PyObject *self, PyObject *args)
enum callback_type pltr_type
SWIGINTERN PyObject * _wrap_plaxes(PyObject *self, PyObject *args)
SWIGRUNTIME int SWIG_Python_AcquirePtr(PyObject *obj, int own)
#define MY_UNBLOCK_THREADS
#define SWIGRUNTIMEINLINE
SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory)
PyObject_HEAD void * pack
struct swig_cast_info * prev
struct swig_cast_info * next
swig_converter_func converter
PyObject *(* get_attr)(void)
struct swig_globalvar * next
int(* set_attr)(PyObject *)
swig_cast_info ** cast_initial
swig_type_info ** type_initial
struct swig_module_info * next
struct swig_cast_info * cast
PyObject_HEAD swig_globalvar * vars
static tclMatrixXtnsnDescr * tail