|
From: <ai...@us...> - 2008-10-19 04:59:08
|
Revision: 8926
http://plplot.svn.sourceforge.net/plplot/?rev=8926&view=rev
Author: airwin
Date: 2008-10-19 04:59:06 +0000 (Sun, 19 Oct 2008)
Log Message:
-----------
#define FCI-related constants.
Modified Paths:
--------------
trunk/bindings/swig-support/plplotcapi.i
Modified: trunk/bindings/swig-support/plplotcapi.i
===================================================================
--- trunk/bindings/swig-support/plplotcapi.i 2008-10-19 04:02:14 UTC (rev 8925)
+++ trunk/bindings/swig-support/plplotcapi.i 2008-10-19 04:59:06 UTC (rev 8926)
@@ -132,6 +132,30 @@
#define PL_PARSE_NODASH 0x0040 /* Set if leading dash NOT required */
#define PL_PARSE_SKIP 0x0080 /* Skip over unrecognized args */
+/* FCI (font characterization integer) related constants. */
+#define PL_FCI_MARK 0x80000000
+#define PL_FCI_IMPOSSIBLE 0x00000000
+#define PL_FCI_HEXDIGIT_MASK 0xf
+#define PL_FCI_HEXPOWER_MASK 0x7
+#define PL_FCI_HEXPOWER_IMPOSSIBLE 0xf
+/* These define hexpower values corresponding to each font attribute. */
+#define PL_FCI_FAMILY 0x0
+#define PL_FCI_STYLE 0x1
+#define PL_FCI_WEIGHT 0x2
+/* These are legal values for font family attribute */
+#define PL_FCI_SANS 0x0
+#define PL_FCI_SERIF 0x1
+#define PL_FCI_MONO 0x2
+#define PL_FCI_SCRIPT 0x3
+#define PL_FCI_SYMBOL 0x4
+/* These are legal values for font style attribute */
+#define PL_FCI_UPRIGHT 0x0
+#define PL_FCI_ITALIC 0x1
+#define PL_FCI_OBLIQUE 0x2
+/* These are legal values for font weight attribute */
+#define PL_FCI_MEDIUM 0x0
+#define PL_FCI_BOLD 0x1
+
#define PL_MAXKEY 16
typedef struct {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <and...@us...> - 2009-05-05 08:47:41
|
Revision: 9915
http://plplot.svn.sourceforge.net/plplot/?rev=9915&view=rev
Author: andrewross
Date: 2009-05-05 08:47:27 +0000 (Tue, 05 May 2009)
Log Message:
-----------
Fix spelling mistake. (Picked up by debian lintian).
Modified Paths:
--------------
trunk/bindings/swig-support/plplotcapi.i
Modified: trunk/bindings/swig-support/plplotcapi.i
===================================================================
--- trunk/bindings/swig-support/plplotcapi.i 2009-05-05 06:33:40 UTC (rev 9914)
+++ trunk/bindings/swig-support/plplotcapi.i 2009-05-05 08:47:27 UTC (rev 9915)
@@ -710,7 +710,7 @@
void
plsesc(char esc);
-%feature("autodoc", "Process input strings, treating them as an option and argument pair. The first is for the external API, the second the work routine declared here for backward compatibilty.") plsetopt;
+%feature("autodoc", "Process input strings, treating them as an option and argument pair. The first is for the external API, the second the work routine declared here for backward compatibility.") plsetopt;
PLINT
plsetopt(const char *opt, const char *optarg);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ai...@us...> - 2009-08-13 20:01:37
|
Revision: 10246
http://plplot.svn.sourceforge.net/plplot/?rev=10246&view=rev
Author: airwin
Date: 2009-08-13 20:01:31 +0000 (Thu, 13 Aug 2009)
Log Message:
-----------
Temporarily exclude plslabelfunc from lua bindings until that function is
enabled properly in those bindings.
Modified Paths:
--------------
trunk/bindings/swig-support/plplotcapi.i
Modified: trunk/bindings/swig-support/plplotcapi.i
===================================================================
--- trunk/bindings/swig-support/plplotcapi.i 2009-08-13 19:57:21 UTC (rev 10245)
+++ trunk/bindings/swig-support/plplotcapi.i 2009-08-13 20:01:31 UTC (rev 10246)
@@ -762,9 +762,11 @@
pltr_func pltr,
PLPointer SWIG_OBJECT_DATA);
+#if !defined(SWIG_LUA)
%feature("autodoc", "Set up a user-provided custom labeling function") plslabelfunc;
void
plslabelfunc(label_func lf, PLPointer data);
+#endif
%feature("autodoc", "Set up lengths of major tick marks.") plsmaj;
void
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <sm...@us...> - 2009-08-19 07:56:29
|
Revision: 10292
http://plplot.svn.sourceforge.net/plplot/?rev=10292&view=rev
Author: smekal
Date: 2009-08-19 07:56:16 +0000 (Wed, 19 Aug 2009)
Log Message:
-----------
plslabelfunc() works now for Lua as well. Removed if clause.
Modified Paths:
--------------
trunk/bindings/swig-support/plplotcapi.i
Modified: trunk/bindings/swig-support/plplotcapi.i
===================================================================
--- trunk/bindings/swig-support/plplotcapi.i 2009-08-19 07:55:17 UTC (rev 10291)
+++ trunk/bindings/swig-support/plplotcapi.i 2009-08-19 07:56:16 UTC (rev 10292)
@@ -762,11 +762,9 @@
pltr_func pltr,
PLPointer SWIG_OBJECT_DATA);
-#if !defined(SWIG_LUA)
%feature("autodoc", "Set up a user-provided custom labeling function") plslabelfunc;
void
plslabelfunc(label_func lf, PLPointer data);
-#endif
%feature("autodoc", "Set up lengths of major tick marks.") plsmaj;
void
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ai...@us...> - 2009-11-29 07:50:35
|
Revision: 10644
http://plplot.svn.sourceforge.net/plplot/?rev=10644&view=rev
Author: airwin
Date: 2009-11-29 07:50:29 +0000 (Sun, 29 Nov 2009)
Log Message:
-----------
swig support for plgradient. Only tested for python at this stage.
Modified Paths:
--------------
trunk/bindings/swig-support/plplotcapi.i
Modified: trunk/bindings/swig-support/plplotcapi.i
===================================================================
--- trunk/bindings/swig-support/plplotcapi.i 2009-11-29 07:47:06 UTC (rev 10643)
+++ trunk/bindings/swig-support/plplotcapi.i 2009-11-29 07:50:29 UTC (rev 10644)
@@ -355,6 +355,10 @@
void
plfill3(PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk);
+%feature("autodoc", "Renders linear gradient for the polygon bounded by the input points.") plgradient;
+void
+plgradient(PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT angle);
+
%feature("autodoc", "Flush the output stream. Use sparingly, if at all.") plflush;
void
plflush(void);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <and...@us...> - 2010-05-20 06:57:50
|
Revision: 11015
http://plplot.svn.sourceforge.net/plplot/?rev=11015&view=rev
Author: andrewross
Date: 2010-05-20 06:57:43 +0000 (Thu, 20 May 2010)
Log Message:
-----------
Comment out swig support for plstransform for lua (for now) as the required code is not in place.
Modified Paths:
--------------
trunk/bindings/swig-support/plplotcapi.i
Modified: trunk/bindings/swig-support/plplotcapi.i
===================================================================
--- trunk/bindings/swig-support/plplotcapi.i 2010-05-19 16:15:27 UTC (rev 11014)
+++ trunk/bindings/swig-support/plplotcapi.i 2010-05-20 06:57:43 UTC (rev 11015)
@@ -829,9 +829,11 @@
void
plstart(const char *devname, PLINT nx, PLINT ny);
+#ifndef SWIG_LUA
%feature("autodoc", "Set the coordinate transform.") plstransform;
void
plstransform( ct_func ctf, PLPointer data );
+#endif /* SWIG_LUA */
%feature("autodoc", "Add a point to a stripchart.") plstripa;
void
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ai...@us...> - 2010-09-22 19:16:12
|
Revision: 11200
http://plplot.svn.sourceforge.net/plplot/?rev=11200&view=rev
Author: airwin
Date: 2010-09-22 19:16:06 +0000 (Wed, 22 Sep 2010)
Log Message:
-----------
Tweak documentation of plsmem and plsmema.
Modified Paths:
--------------
trunk/bindings/swig-support/plplotcapi.i
Modified: trunk/bindings/swig-support/plplotcapi.i
===================================================================
--- trunk/bindings/swig-support/plplotcapi.i 2010-09-22 15:05:29 UTC (rev 11199)
+++ trunk/bindings/swig-support/plplotcapi.i 2010-09-22 19:16:06 UTC (rev 11200)
@@ -776,11 +776,11 @@
#if defined ( PYTHON_HAVE_PYBUFFER ) && defined ( SWIG_PYTHON )
-%feature("autodoc", "Set the memory area to be plotted (with the 'mem' driver).") plsmem;
+%feature("autodoc", "Set the RGB memory area to be plotted (with the 'mem' or 'memcairo' drivers).") plsmem;
void
plsmem(PLINT maxx, PLINT maxy, void *plotmem);
-%feature("autodoc", "Similar to plsmem(), but supports alpha values.") plsmema;
+%feature("autodoc", "Set the RGBA memory area to be plotted (with the 'memcairo' driver).") plsmema;
void
plsmema(PLINT maxx, PLINT maxy, void *plotmem);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ai...@us...> - 2010-11-10 02:11:34
|
Revision: 11311
http://plplot.svn.sourceforge.net/plplot/?rev=11311&view=rev
Author: airwin
Date: 2010-11-10 02:11:28 +0000 (Wed, 10 Nov 2010)
Log Message:
-----------
Propagate changed pllegend API to python bindings (but continue to
exclude java and lua for now because don't yet know how to handle char
** for those cases).
Propagate entirely new plstring API to python, java, and lua.
Modified Paths:
--------------
trunk/bindings/swig-support/plplotcapi.i
Modified: trunk/bindings/swig-support/plplotcapi.i
===================================================================
--- trunk/bindings/swig-support/plplotcapi.i 2010-11-09 21:59:06 UTC (rev 11310)
+++ trunk/bindings/swig-support/plplotcapi.i 2010-11-10 02:11:28 UTC (rev 11311)
@@ -96,12 +96,20 @@
#define PL_HIST_NOEMPTY 16
// Flags for pllegend.
-#define PL_LEGEND_NONE 1
-#define PL_LEGEND_COLOR_BOX 2
-#define PL_LEGEND_LINE 4
-#define PL_LEGEND_SYMBOL 8
-#define PL_LEGEND_TEXT_LEFT 16
-#define PL_LEGEND_BACKGROUND 32
+#define PL_LEGEND_NONE 1
+#define PL_LEGEND_COLOR_BOX 2
+#define PL_LEGEND_LINE 4
+#define PL_LEGEND_SYMBOL 8
+#define PL_LEGEND_TEXT_LEFT 16
+#define PL_LEGEND_BACKGROUND 32
+#define PL_LEGEND_BOUNDING_BOX 64
+#define PL_LEGEND_ROW_MAJOR 128
+#define PL_LEGEND_RIGHT 256
+#define PL_LEGEND_LEFT 512
+#define PL_LEGEND_UPPER 1024
+#define PL_LEGEND_LOWER 2048
+#define PL_LEGEND_INSIDE 4096
+#define PL_LEGEND_OUTSIDE 8192
// Window parameter tags
@@ -518,21 +526,23 @@
void
pllab( const char *xlabel, const char *ylabel, const char *tlabel );
-//#ifdef SWIG_PYTHON
-#if 0
+#ifdef SWIG_PYTHON
%feature( "autodoc", "Create a discrete annotated legend using boxes, lines, and/or lines of symbols." ) pllegend;
void
-pllegend( PLINT opt, PLFLT x, PLFLT y, PLFLT plot_width, PLINT bg_color,
- PLINT n, const PLINT *Array,
- PLFLT text_offset, PLFLT text_scale, PLFLT text_spacing,
- PLFLT text_justification,
- const PLINT *ArrayCk, const char **ArrayCk,
- const PLINT *ArrayCk, const PLINT *ArrayCk,
- const PLFLT *ArrayCk,
- const PLINT *ArrayCk, const PLINT *ArrayCk,
- const PLINT *ArrayCk,
- const PLINT *ArrayCk, const PLFLT *ArrayCk,
- const PLINT *ArrayCk, const PLINT *ArrayCk );
+pllegend( PLINT opt, PLFLT x, PLFLT y, PLFLT plot_width,
+ PLINT bg_color, PLINT bb_color, PLINT bb_style,
+ PLINT nrow, PLINT ncolumn,
+ PLINT n, const PLINT *Array,
+ PLFLT text_offset, PLFLT text_scale, PLFLT text_spacing,
+ PLFLT text_justification,
+ const PLINT *ArrayCk, const char **ArrayCk,
+ const PLINT *ArrayCk, const PLINT *ArrayCk,
+ const PLFLT *ArrayCk,
+ const PLINT *ArrayCk, const PLINT *ArrayCk,
+ const PLINT *ArrayCk,
+ const PLINT *ArrayCk, const PLFLT *ArrayCk,
+ const PLINT *ArrayCk, const char **ArrayCk );
+
%feature( "autodoc", "Set position of the light source." ) pllightsource;
#endif
@@ -863,6 +873,10 @@
plstransform( ct_func ctf, PLPointer data );
#endif // SWIG_LUA
+%feature( "autodoc", "Prints out the same string repeatedly at the n points in world coordinates given by the x and y arrays. Supersedes plpoin and plsymbol for the case where text refers to a unicode glyph either directly as UTF-8 or indirectly via the standard text escape sequences allowed for PLplot input strings." ) plstring;
+void
+plstring( PLINT n, PLFLT *Array, PLFLT *ArrayCk, const char *string );
+
%feature( "autodoc", "Add a point to a stripchart." ) plstripa;
void
plstripa( PLINT id, PLINT pen, PLFLT x, PLFLT y );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ai...@us...> - 2011-01-06 08:07:16
|
Revision: 11443
http://plplot.svn.sourceforge.net/plplot/?rev=11443&view=rev
Author: airwin
Date: 2011-01-06 08:07:10 +0000 (Thu, 06 Jan 2011)
Log Message:
-----------
Establish experimental (and probably subject to change) plcolorbar API
for Python, Java, Lua, and Octave.
Modified Paths:
--------------
trunk/bindings/swig-support/plplotcapi.i
Modified: trunk/bindings/swig-support/plplotcapi.i
===================================================================
--- trunk/bindings/swig-support/plplotcapi.i 2011-01-05 22:49:31 UTC (rev 11442)
+++ trunk/bindings/swig-support/plplotcapi.i 2011-01-06 08:07:10 UTC (rev 11443)
@@ -111,6 +111,22 @@
#define PL_LEGEND_INSIDE 4096
#define PL_LEGEND_OUTSIDE 8192
+// Flags for plcolorbar
+#define PL_COLORBAR_LEFT 1
+#define PL_COLORBAR_RIGHT 2
+#define PL_COLORBAR_UPPER 4
+#define PL_COLORBAR_LOWER 8
+#define PL_COLORBAR_LABEL_LEFT 16
+#define PL_COLORBAR_LABEL_RIGHT 32
+#define PL_COLORBAR_LABEL_UPPER 64
+#define PL_COLORBAR_LABEL_LOWER 128
+#define PL_COLORBAR_IMAGE 256
+#define PL_COLORBAR_SHADE 512
+#define PL_COLORBAR_GRADIENT 1024
+#define PL_COLORBAR_CAP_LOW 2048
+#define PL_COLORBAR_CAP_HIGH 4096
+#define PL_COLORBAR_SHADE_LABEL 8192
+
// Window parameter tags
#define PLSWIN_DEVICE 1 // device coordinates
@@ -543,8 +559,14 @@
const PLINT *ArrayCk, const PLFLT *ArrayCk,
const PLINT *ArrayCk, const char **ArrayCk );
+%feature( "autodoc", "Create a continous colorbar using an image, shade, or gradient with an optional axis label." ) plcolorbar;
+void
+plcolorbar( PLINT opt, PLFLT x, PLFLT y, PLFLT length, PLFLT width,
+ PLFLT ticks, PLINT sub_ticks,
+ const char *axis_opts, const char *label,
+ PLINT n, PLFLT *Array, PLFLT *ArrayCk );
+
%feature( "autodoc", "Set position of the light source." ) pllightsource;
-
void
pllightsource( PLFLT x, PLFLT y, PLFLT z );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <and...@us...> - 2011-01-07 21:19:45
|
Revision: 11449
http://plplot.svn.sourceforge.net/plplot/?rev=11449&view=rev
Author: andrewross
Date: 2011-01-07 21:19:38 +0000 (Fri, 07 Jan 2011)
Log Message:
-----------
Tweak to the swig autodoc support to allow auto-generation of help for octave as well as python bindings.
Modified Paths:
--------------
trunk/bindings/swig-support/plplotcapi.i
Modified: trunk/bindings/swig-support/plplotcapi.i
===================================================================
--- trunk/bindings/swig-support/plplotcapi.i 2011-01-07 19:00:19 UTC (rev 11448)
+++ trunk/bindings/swig-support/plplotcapi.i 2011-01-07 21:19:38 UTC (rev 11449)
@@ -249,14 +249,14 @@
// Deprecated function that we no longer want to propagate to the
// python API.
-%feature( "autodoc", "Plot an arrow." ) plarrows;
+%feature( "docstring", "Plot an arrow." ) plarrows;
void
plarrows( PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk, PLFLT *ArrayCk, PLINT n,
PLFLT scale, PLFLT dx, PLFLT dy );
#endif
-%feature( "autodoc", "Set inferior X window." ) plsxwin;
+%feature( "docstring", "Set inferior X window." ) plsxwin;
void
plsxwin( PLINT window_id );
@@ -264,73 +264,73 @@
// Complete list of common API (has "c_" suffix version defined in plplot.h)
-%feature( "autodoc", "Set the format of the contour labels." )
+%feature( "docstring", "Set the format of the contour labels." )
pl_setcontlabelformat;
void
pl_setcontlabelformat( PLINT lexp, PLINT sigdig );
-%feature( "autodoc", "Set offset and spacing of contour labels." ) pl_setcontlabelparam;
+%feature( "docstring", "Set offset and spacing of contour labels." ) pl_setcontlabelparam;
void
pl_setcontlabelparam( PLFLT offset, PLFLT size, PLFLT spacing, PLINT active );
-%feature( "autodoc", "Advance to subpage \"page\", or to the next one if \"page\" = 0." ) pladv;
+%feature( "docstring", "Advance to subpage \"page\", or to the next one if \"page\" = 0." ) pladv;
void
pladv( PLINT page );
-%feature( "autodoc", "Plot an arc" ) plarc;
+%feature( "docstring", "Plot an arc" ) plarc;
void
plarc( PLFLT x, PLFLT y, PLFLT a, PLFLT b, PLFLT angle1, PLFLT angle2,
PLBOOL fill );
-%feature( "autodoc", "This functions similarly to plbox() except that the origin of the axes is placed at the user-specified point (x0, y0)." ) plaxes;
+%feature( "docstring", "This functions similarly to plbox() except that the origin of the axes is placed at the user-specified point (x0, y0)." ) plaxes;
void
plaxes( PLFLT x0, PLFLT y0, const char *xopt, PLFLT xtick, PLINT nxsub,
const char *yopt, PLFLT ytick, PLINT nysub );
-%feature( "autodoc", "Plot a histogram using x to store data values and y to store frequencies." ) plbin;
+%feature( "docstring", "Plot a histogram using x to store data values and y to store frequencies." ) plbin;
void
plbin( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLINT center );
-%feature( "autodoc", "Calculate broken-down time from continuous time for current stream." ) plbtime;
+%feature( "docstring", "Calculate broken-down time from continuous time for current stream." ) plbtime;
void
plbtime( PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLFLT *OUTPUT, PLFLT ctime );
-%feature( "autodoc", "Start new page. Should only be used with pleop()." ) plbop;
+%feature( "docstring", "Start new page. Should only be used with pleop()." ) plbop;
void
plbop( void );
-%feature( "autodoc", "Draw a box around the current viewport." ) plbox;
+%feature( "docstring", "Draw a box around the current viewport." ) plbox;
void
plbox( const char *xopt, PLFLT xtick, PLINT nxsub,
const char *yopt, PLFLT ytick, PLINT nysub );
-%feature( "autodoc", "This is the 3-d analogue of plbox()." ) plbox3;
+%feature( "docstring", "This is the 3-d analogue of plbox()." ) plbox3;
void
plbox3( const char *xopt, const char *xlabel, PLFLT xtick, PLINT nsubx,
const char *yopt, const char *ylabel, PLFLT ytick, PLINT nsuby,
const char *zopt, const char *zlabel, PLFLT ztick, PLINT nsubz );
-%feature( "autodoc", "Calculate world coordinates and subpage from relative device coordinates." ) plcalc_world;
+%feature( "docstring", "Calculate world coordinates and subpage from relative device coordinates." ) plcalc_world;
void
plcalc_world( PLFLT rx, PLFLT ry, PLFLT *OUTPUT, PLFLT *OUTPUT, PLINT *OUTPUT );
-%feature( "autodoc", "Clear current subpage." ) plclear;
+%feature( "docstring", "Clear current subpage." ) plclear;
void
plclear( void );
-%feature( "autodoc", "Set color, map 0. Argument is integer between 0 and 15." ) plcol0;
+%feature( "docstring", "Set color, map 0. Argument is integer between 0 and 15." ) plcol0;
void
plcol0( PLINT icol0 );
-%feature( "autodoc", "Set color, map 1. Argument is a float between 0. and 1." ) plcol1;
+%feature( "docstring", "Set color, map 1. Argument is a float between 0. and 1." ) plcol1;
void
plcol1( PLFLT col1 );
-%feature( "autodoc", "Configure transformation between continuous and broken-down time (and vice versa) for current stream." ) plconfigtime;
+%feature( "docstring", "Configure transformation between continuous and broken-down time (and vice versa) for current stream." ) plconfigtime;
void
plconfigtime( PLFLT scale, PLFLT offset1, PLFLT offset2, PLINT ccontrol, PLBOOL ifbtime_offset, PLINT year, PLINT month, PLINT day, PLINT hour, PLINT min, PLFLT sec );
-%feature( "autodoc", "Draw a contour plot." ) plcont;
+%feature( "docstring", "Draw a contour plot." ) plcont;
void
plcont( PLFLT **Matrix, PLINT nx, PLINT ny, PLINT kx, PLINT lx,
PLINT ky, PLINT ly, PLFLT *Array, PLINT n,
@@ -338,181 +338,181 @@
PLPointer SWIG_OBJECT_DATA );
-%feature( "autodoc", "Calculate continuous time from broken-down time for current stream." ) plctime;
+%feature( "docstring", "Calculate continuous time from broken-down time for current stream." ) plctime;
void
plctime( PLINT year, PLINT month, PLINT day, PLINT hour, PLINT min, PLFLT sec, PLFLT *OUTPUT );
-%feature( "autodoc", "Copy state parameters from the reference stream to the current stream." ) plcpstrm;
+%feature( "docstring", "Copy state parameters from the reference stream to the current stream." ) plcpstrm;
void
plcpstrm( PLINT iplsr, PLBOOL flags );
-%feature( "autodoc", "End a plotting session for all open streams." ) plend;
+%feature( "docstring", "End a plotting session for all open streams." ) plend;
void
plend( void );
-%feature( "autodoc", "End a plotting session for the current stream only." ) plend1;
+%feature( "docstring", "End a plotting session for the current stream only." ) plend1;
void
plend1( void );
-%feature( "autodoc", "Simple interface for defining viewport and window." ) plenv;
+%feature( "docstring", "Simple interface for defining viewport and window." ) plenv;
void
plenv( PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
PLINT just, PLINT axis );
-%feature( "autodoc", "Simple interface for defining viewport and window." ) plenv0;
+%feature( "docstring", "Simple interface for defining viewport and window." ) plenv0;
void
plenv0( PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
PLINT just, PLINT axis );
-%feature( "autodoc", "End current page. Should only be used with plbop()." ) pleop;
+%feature( "docstring", "End current page. Should only be used with plbop()." ) pleop;
void
pleop( void );
-%feature( "autodoc", "Plot horizontal error bars (xmin(i),y(i)) to (xmax(i),y(i))." ) plerrx;
+%feature( "docstring", "Plot horizontal error bars (xmin(i),y(i)) to (xmax(i),y(i))." ) plerrx;
void
plerrx( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk );
-%feature( "autodoc", "Plot vertical error bars (x,ymin(i)) to (x(i),ymax(i))." ) plerry;
+%feature( "docstring", "Plot vertical error bars (x,ymin(i)) to (x(i),ymax(i))." ) plerry;
void
plerry( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk );
-%feature( "autodoc", "Advance to the next family file on the next new page." ) plfamadv;
+%feature( "docstring", "Advance to the next family file on the next new page." ) plfamadv;
void
plfamadv( void );
-%feature( "autodoc", "Pattern fills the polygon bounded by the input points." ) plfill;
+%feature( "docstring", "Pattern fills the polygon bounded by the input points." ) plfill;
void
plfill( PLINT n, PLFLT *Array, PLFLT *ArrayCk );
-%feature( "autodoc", "Pattern fills the 3d polygon bounded by the input points." ) plfill3;
+%feature( "docstring", "Pattern fills the 3d polygon bounded by the input points." ) plfill3;
void
plfill3( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk );
-%feature( "autodoc", "Renders linear gradient for the polygon bounded by the input points." ) plgradient;
+%feature( "docstring", "Renders linear gradient for the polygon bounded by the input points." ) plgradient;
void
plgradient( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT angle );
-%feature( "autodoc", "Flush the output stream. Use sparingly, if at all." ) plflush;
+%feature( "docstring", "Flush the output stream. Use sparingly, if at all." ) plflush;
void
plflush( void );
-%feature( "autodoc", "Set the global font flag to 'ifont'." ) plfont;
+%feature( "docstring", "Set the global font flag to 'ifont'." ) plfont;
void
plfont( PLINT ifont );
-%feature( "autodoc", "Load specified font set." ) plfontld;
+%feature( "docstring", "Load specified font set." ) plfontld;
void
plfontld( PLINT fnt );
-%feature( "autodoc", "Get character default height and current (scaled) height." ) plgchr;
+%feature( "docstring", "Get character default height and current (scaled) height." ) plgchr;
void
plgchr( PLFLT *OUTPUT, PLFLT *OUTPUT );
-%feature( "autodoc", "Get 8 bit RGB values for given color from color map 0." ) plgcol0;
+%feature( "docstring", "Get 8 bit RGB values for given color from color map 0." ) plgcol0;
void
plgcol0( PLINT icol0, PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT );
-%feature( "autodoc", "Get 8 bit RGB + alpha values for given color from color map 0." ) plgcol0a;
+%feature( "docstring", "Get 8 bit RGB + alpha values for given color from color map 0." ) plgcol0a;
void
plgcol0a( PLINT icol0, PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLFLT *OUTPUT );
-%feature( "autodoc", "Get 8-bit RGB background color." ) plgcolbg;
+%feature( "docstring", "Get 8-bit RGB background color." ) plgcolbg;
void
plgcolbg( PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT );
-%feature( "autodoc", "Get 8-bit RGB + alpha background color." ) plgcolbga;
+%feature( "docstring", "Get 8-bit RGB + alpha background color." ) plgcolbga;
void
plgcolbga( PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLFLT *OUTPUT );
-%feature( "autodoc", "Get the current compression setting." ) plgcompression;
+%feature( "docstring", "Get the current compression setting." ) plgcompression;
void
plgcompression( PLINT *OUTPUT );
-%feature( "autodoc", "Get the current device (keyword) name." ) plgdev;
+%feature( "docstring", "Get the current device (keyword) name." ) plgdev;
void
plgdev( char *OUTPUT );
-%feature( "autodoc", "Retrieve current window into device space." ) plgdidev;
+%feature( "docstring", "Retrieve current window into device space." ) plgdidev;
void
plgdidev( PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT );
-%feature( "autodoc", "Get plot orientation." ) plgdiori;
+%feature( "docstring", "Get plot orientation." ) plgdiori;
void
plgdiori( PLFLT *OUTPUT );
-%feature( "autodoc", "Retrieve current window into plot space." ) plgdiplt;
+%feature( "docstring", "Retrieve current window into plot space." ) plgdiplt;
void
plgdiplt( PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT );
-%feature( "autodoc", "Get family file parameters." ) plgfam;
+%feature( "docstring", "Get family file parameters." ) plgfam;
void
plgfam( PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT );
-%feature( "autodoc", "Get FCI (font characterization integer)." ) plgfci;
+%feature( "docstring", "Get FCI (font characterization integer)." ) plgfci;
void
plgfci( PLUNICODE *OUTPUT );
-%feature( "autodoc", "Get the (current) output file name." ) plgfnam;
+%feature( "docstring", "Get the (current) output file name." ) plgfnam;
void
plgfnam( char *OUTPUT );
-%feature( "autodoc", "Get the current font family, style and weight." ) plgfont;
+%feature( "docstring", "Get the current font family, style and weight." ) plgfont;
void
plgfont( PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT );
-%feature( "autodoc", "Get the (current) run level." ) plglevel;
+%feature( "docstring", "Get the (current) run level." ) plglevel;
void
plglevel( PLINT *OUTPUT );
-%feature( "autodoc", "Get output device parameters." ) plgpage;
+%feature( "docstring", "Get output device parameters." ) plgpage;
void
plgpage( PLFLT *OUTPUT, PLFLT *OUTPUT,
PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT );
-%feature( "autodoc", "Switch to graphics screen." ) plgra;
+%feature( "docstring", "Switch to graphics screen." ) plgra;
void
plgra( void );
-%feature( "autodoc", "Grid irregular sample data." ) plgriddata;
+%feature( "docstring", "Grid irregular sample data." ) plgriddata;
void
plgriddata( PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk, PLINT n,
PLFLT *ArrayX, PLINT nx, PLFLT *ArrayY, PLINT ny,
PLFLT **OutMatrixCk, PLINT type, PLFLT data );
-%feature( "autodoc", "Get subpage boundaries in absolute coordinates." ) plgspa;
+%feature( "docstring", "Get subpage boundaries in absolute coordinates." ) plgspa;
void
plgspa( PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT );
-%feature( "autodoc", "Get current stream number." ) plgstrm;
+%feature( "docstring", "Get current stream number." ) plgstrm;
void
plgstrm( PLINT *OUTPUT );
-%feature( "autodoc", "Get current library version number." ) plgver;
+%feature( "docstring", "Get current library version number." ) plgver;
void
plgver( char *OUTPUT );
-%feature( "autodoc", "Get viewport boundaries in normalized device coordinates." ) plgvpd;
+%feature( "docstring", "Get viewport boundaries in normalized device coordinates." ) plgvpd;
void
plgvpd( PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT );
-%feature( "autodoc", "Get viewport boundaries in world coordinates." ) plgvpw;
+%feature( "docstring", "Get viewport boundaries in world coordinates." ) plgvpw;
void
plgvpw( PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT );
-%feature( "autodoc", "Get x axis labeling parameters." ) plgxax;
+%feature( "docstring", "Get x axis labeling parameters." ) plgxax;
void
plgxax( PLINT *OUTPUT, PLINT *OUTPUT );
-%feature( "autodoc", "Get y axis labeling parameters." ) plgyax;
+%feature( "docstring", "Get y axis labeling parameters." ) plgyax;
void
plgyax( PLINT *OUTPUT, PLINT *OUTPUT );
-%feature( "autodoc", "Get z axis labeling parameters." ) plgzax;
+%feature( "docstring", "Get z axis labeling parameters." ) plgzax;
void
plgzax( PLINT *OUTPUT, PLINT *OUTPUT );
-%feature( "autodoc", "Draw histogram." ) plhist;
+%feature( "docstring", "Draw histogram." ) plhist;
void
plhist( PLINT n, PLFLT *Array, PLFLT datmin, PLFLT datmax,
PLINT nbin, PLINT oldwin );
@@ -521,28 +521,28 @@
// Deprecated function that we no longer want to propagate to the
// python API.
-%feature( "autodoc", "Set current color (map 0) by hue, lightness, and saturation." ) plhls;
+%feature( "docstring", "Set current color (map 0) by hue, lightness, and saturation." ) plhls;
void
plhls( PLFLT h, PLFLT l, PLFLT s );
#endif
-%feature( "autodoc", "Transform from HLS to RGB form of colours." ) plhlsrgb;
+%feature( "docstring", "Transform from HLS to RGB form of colours." ) plhlsrgb;
void
plhlsrgb( PLFLT h, PLFLT l, PLFLT s, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT );
-%feature( "autodoc", "Initialize PLplot, using preset or default options." ) plinit;
+%feature( "docstring", "Initialize PLplot, using preset or default options." ) plinit;
void
plinit( void );
-%feature( "autodoc", "Draw a line segment from (x1, y1) to (x2, y2)." ) pljoin;
+%feature( "docstring", "Draw a line segment from (x1, y1) to (x2, y2)." ) pljoin;
void
pljoin( PLFLT x1, PLFLT y1, PLFLT x2, PLFLT y2 );
-%feature( "autodoc", "Label graphs." ) pllab;
+%feature( "docstring", "Label graphs." ) pllab;
void
pllab( const char *xlabel, const char *ylabel, const char *tlabel );
-%feature( "autodoc", "Create a discrete annotated legend using boxes, lines, and/or lines of symbols." ) pllegend;
+%feature( "docstring", "Create a discrete annotated legend using boxes, lines, and/or lines of symbols." ) pllegend;
void
pllegend( PLFLT *OUTPUT, PLFLT *OUTPUT,
PLINT opt, PLFLT x, PLFLT y, PLFLT plot_width,
@@ -559,249 +559,249 @@
const PLINT *ArrayCk, const PLFLT *ArrayCk,
const PLINT *ArrayCk, const char **ArrayCk );
-%feature( "autodoc", "Create a continous colorbar using an image, shade, or gradient with an optional axis label." ) plcolorbar;
+%feature( "docstring", "Create a continous colorbar using an image, shade, or gradient with an optional axis label." ) plcolorbar;
void
plcolorbar( PLINT opt, PLFLT x, PLFLT y, PLFLT length, PLFLT width,
PLFLT ticks, PLINT sub_ticks,
const char *axis_opts, const char *label,
PLINT n, PLFLT *Array, PLFLT *ArrayCk );
-%feature( "autodoc", "Set position of the light source." ) pllightsource;
+%feature( "docstring", "Set position of the light source." ) pllightsource;
void
pllightsource( PLFLT x, PLFLT y, PLFLT z );
-%feature( "autodoc", "Draw line segments connecting a series of points." ) plline;
+%feature( "docstring", "Draw line segments connecting a series of points." ) plline;
void
plline( PLINT n, PLFLT *Array, PLFLT *ArrayCk );
-%feature( "autodoc", "Draw a line in 3 space." ) plline3;
+%feature( "docstring", "Draw a line in 3 space." ) plline3;
void
plline3( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk );
-%feature( "autodoc", "Set line style." ) pllsty;
+%feature( "docstring", "Set line style." ) pllsty;
void
pllsty( PLINT lin );
-%feature( "autodoc", "Plot a 3-d mesh representation of z[x][y]." ) plmesh;
+%feature( "docstring", "Plot a 3-d mesh representation of z[x][y]." ) plmesh;
void
plmesh( PLFLT *ArrayX, PLFLT *ArrayY, PLFLT **MatrixCk,
PLINT nx, PLINT ny, PLINT opt );
-%feature( "autodoc", "Plot a 3-d contoured mesh representation of the function z[x][y]." ) plmeshc;
+%feature( "docstring", "Plot a 3-d contoured mesh representation of the function z[x][y]." ) plmeshc;
void
plmeshc( PLFLT *ArrayX, PLFLT *ArrayY, PLFLT **MatrixCk,
PLINT nx, PLINT ny, PLINT opt, PLFLT *Array, PLINT n );
-%feature( "autodoc", "Create a new stream and makes it the default." ) plmkstrm;
+%feature( "docstring", "Create a new stream and makes it the default." ) plmkstrm;
void
plmkstrm( PLINT *OUTPUT );
-%feature( "autodoc", "Print \"text\" at specified position relative to viewport." ) plmtex;
+%feature( "docstring", "Print \"text\" at specified position relative to viewport." ) plmtex;
void
plmtex( const char *side, PLFLT disp, PLFLT pos, PLFLT just,
const char *text );
-%feature( "autodoc", "Print \"text\" at specified position relative to 3D viewport." ) plmtex3;
+%feature( "docstring", "Print \"text\" at specified position relative to 3D viewport." ) plmtex3;
void
plmtex3( const char *side, PLFLT disp, PLFLT pos, PLFLT just,
const char *text );
-%feature( "autodoc", "Plot a 3-d representation of the function z[x][y]." ) plot3d;
+%feature( "docstring", "Plot a 3-d representation of the function z[x][y]." ) plot3d;
void
plot3d( PLFLT *ArrayX, PLFLT *ArrayY, PLFLT **MatrixCk,
PLINT nx, PLINT ny, PLINT opt, PLBOOL side );
-%feature( "autodoc", "Plot a 3-d contoured representation of the function z[x][y]." ) plot3dc;
+%feature( "docstring", "Plot a 3-d contoured representation of the function z[x][y]." ) plot3dc;
void
plot3dc( PLFLT *ArrayX, PLFLT *ArrayY, PLFLT **MatrixCk,
PLINT nx, PLINT ny, PLINT opt, PLFLT *Array, PLINT n );
-%feature( "autodoc", "Plot a 3-d contoured representation of the function z[x][y] with limits on the y index." ) plot3dcl;
+%feature( "docstring", "Plot a 3-d contoured representation of the function z[x][y] with limits on the y index." ) plot3dcl;
void
plot3dcl( PLFLT *ArrayX, PLFLT *ArrayY, PLFLT **MatrixCk,
PLINT nx, PLINT ny, PLINT opt, PLFLT *Array, PLINT n,
PLINT ixstart, PLINT n, PLINT *Array, PLINT *ArrayCk );
-%feature( "autodoc", "Plot a 3-d contoured surface representation of the function z[x][y]." ) plsurf3d;
+%feature( "docstring", "Plot a 3-d contoured surface representation of the function z[x][y]." ) plsurf3d;
void
plsurf3d( PLFLT *ArrayX, PLFLT *ArrayY, PLFLT **MatrixCk,
PLINT nx, PLINT ny, PLINT opt, PLFLT *Array, PLINT n );
-%feature( "autodoc", "Plot a 3-d contoured surface representation of the function z[x][y] with limits on the y index." ) plsurf3dl;
+%feature( "docstring", "Plot a 3-d contoured surface representation of the function z[x][y] with limits on the y index." ) plsurf3dl;
void
plsurf3dl( PLFLT *ArrayX, PLFLT *ArrayY, PLFLT **MatrixCk,
PLINT nx, PLINT ny, PLINT opt, PLFLT *Array, PLINT n,
PLINT ixstart, PLINT n, PLINT *Array, PLINT *ArrayCk );
-%feature( "autodoc", "Process options list using current options info." ) plparseopts;
+%feature( "docstring", "Process options list using current options info." ) plparseopts;
PLINT
plparseopts( int *p_argc, const char **argv, PLINT mode );
-%feature( "autodoc", "Set fill pattern directly." ) plpat;
+%feature( "docstring", "Set fill pattern directly." ) plpat;
void
plpat( PLINT n, PLINT *Array, PLINT *ArrayCk );
-%feature( "autodoc", "Plot array y against x for n points using ASCII code \"code\"." ) plpoin;
+%feature( "docstring", "Plot array y against x for n points using ASCII code \"code\"." ) plpoin;
void
plpoin( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLINT code );
-%feature( "autodoc", "Draw a series of points in 3 space." ) plpoin3;
+%feature( "docstring", "Draw a series of points in 3 space." ) plpoin3;
void
plpoin3( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk, PLINT code );
-%feature( "autodoc", "Draw a polygon in 3 space." ) plpoly3;
+%feature( "docstring", "Draw a polygon in 3 space." ) plpoly3;
void
plpoly3( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk, PLBOOL *ArrayCkMinus1,
PLBOOL flag );
-%feature( "autodoc", "Set the floating point precision (in number of places) in numeric labels." ) plprec;
+%feature( "docstring", "Set the floating point precision (in number of places) in numeric labels." ) plprec;
void
plprec( PLINT setp, PLINT prec );
-%feature( "autodoc", "Set fill pattern, using one of the predefined patterns." ) plpsty;
+%feature( "docstring", "Set fill pattern, using one of the predefined patterns." ) plpsty;
void
plpsty( PLINT patt );
-%feature( "autodoc", "Print \"text\" at world cooordinates (x,y)." ) plptex;
+%feature( "docstring", "Print \"text\" at world cooordinates (x,y)." ) plptex;
void
plptex( PLFLT x, PLFLT y, PLFLT dx, PLFLT dy, PLFLT just, const char *text );
-%feature( "autodoc", "Print \"text\" at world cooordinates (x,y,z)." ) plptex3;
+%feature( "docstring", "Print \"text\" at world cooordinates (x,y,z)." ) plptex3;
void
plptex3( PLFLT x, PLFLT y, PLFLT z, PLFLT dx, PLFLT dy, PLFLT dz, PLFLT sx, PLFLT sy, PLFLT sz, PLFLT just, const char *text );
-%feature( "autodoc", "Return a random number in the range [0,1]." ) plrandd;
+%feature( "docstring", "Return a random number in the range [0,1]." ) plrandd;
PLFLT
plrandd();
-%feature( "autodoc", "Replay contents of plot buffer to current device/file." ) plreplot;
+%feature( "docstring", "Replay contents of plot buffer to current device/file." ) plreplot;
void
plreplot( void );
-%feature( "autodoc", "Transform from RGB to HLS form of colours." ) plrgbhls;
+%feature( "docstring", "Transform from RGB to HLS form of colours." ) plrgbhls;
void
plrgbhls( PLFLT r, PLFLT g, PLFLT b, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT );
-%feature( "autodoc", "Set character height." ) plschr;
+%feature( "docstring", "Set character height." ) plschr;
void
plschr( PLFLT def, PLFLT scale );
-%feature( "autodoc", "Set color map 0 colors by 8 bit RGB values." ) plscmap0;
+%feature( "docstring", "Set color map 0 colors by 8 bit RGB values." ) plscmap0;
void
plscmap0( PLINT *Array, PLINT *ArrayCk, PLINT *ArrayCk, PLINT n );
-%feature( "autodoc", "Set color map 0 colors by 8 bit RGB + alpha values." ) plscmap0a;
+%feature( "docstring", "Set color map 0 colors by 8 bit RGB + alpha values." ) plscmap0a;
void
plscmap0a( PLINT *Array, PLINT *ArrayCk, PLINT *ArrayCk, PLFLT *ArrayCk, PLINT n );
-%feature( "autodoc", "Set number of colors in cmap 0." ) plscmap0n;
+%feature( "docstring", "Set number of colors in cmap 0." ) plscmap0n;
void
plscmap0n( PLINT ncol0 );
-%feature( "autodoc", "Set color map 1 colors by 8 bit RGB values." ) plscmap1;
+%feature( "docstring", "Set color map 1 colors by 8 bit RGB values." ) plscmap1;
void
plscmap1( PLINT *Array, PLINT *ArrayCk, PLINT *ArrayCk, PLINT n );
-%feature( "autodoc", "Set color map 1 colors by 8 bit RGB + alpha values." ) plscmap1a;
+%feature( "docstring", "Set color map 1 colors by 8 bit RGB + alpha values." ) plscmap1a;
void
plscmap1a( PLINT *Array, PLINT *ArrayCk, PLINT *ArrayCk, PLFLT *ArrayCk, PLINT n );
-%feature( "autodoc", "Set color map 1 colors using a piece-wise linear relationship between intensity [0,1] (cmap 1 index) and position in HLS or
+%feature( "docstring", "Set color map 1 colors using a piece-wise linear relationship between intensity [0,1] (cmap 1 index) and position in HLS or
RGB color space." ) plscmap1l;
void
plscmap1l( PLBOOL itype, PLINT n, PLFLT *Array,
PLFLT *ArrayCk, PLFLT *ArrayCk, PLFLT *ArrayCk,
PLBOOL *ArrayCkMinus1Null );
-%feature( "autodoc", "Set color map 1 colors using a piece-wise linear relationship between intensity [0,1] (cmap 1 index) and position in HLS or
+%feature( "docstring", "Set color map 1 colors using a piece-wise linear relationship between intensity [0,1] (cmap 1 index) and position in HLS or
RGB color space + alpha value." ) plscmap1la;
void
plscmap1la( PLBOOL itype, PLINT n, PLFLT *Array,
PLFLT *ArrayCk, PLFLT *ArrayCk, PLFLT *ArrayCk, PLFLT *ArrayCk,
PLBOOL *ArrayCkMinus1Null );
-%feature( "autodoc", "Set number of colors in cmap 1." ) plscmap1n;
+%feature( "docstring", "Set number of colors in cmap 1." ) plscmap1n;
void
plscmap1n( PLINT ncol1 );
-%feature( "autodoc", "Set 8-bit RGB value in cmap 0." ) plscol0;
+%feature( "docstring", "Set 8-bit RGB value in cmap 0." ) plscol0;
void
plscol0( PLINT icol0, PLINT r, PLINT g, PLINT b );
-%feature( "autodoc", "Set 8-bit RGB + alpha value in cmap 0." ) plscol0a;
+%feature( "docstring", "Set 8-bit RGB + alpha value in cmap 0." ) plscol0a;
void
plscol0a( PLINT icol0, PLINT r, PLINT g, PLINT b, PLFLT a );
-%feature( "autodoc", "Set the background color using 8-bit RGB value." ) plscolbg;
+%feature( "docstring", "Set the background color using 8-bit RGB value." ) plscolbg;
void
plscolbg( PLINT r, PLINT g, PLINT b );
-%feature( "autodoc", "Set the background color using 8-bit RGB + alpha value." ) plscolbga;
+%feature( "docstring", "Set the background color using 8-bit RGB + alpha value." ) plscolbga;
void
plscolbga( PLINT r, PLINT g, PLINT b, PLFLT a );
-%feature( "autodoc", "Globally turn color output on/off." ) plscolor;
+%feature( "docstring", "Globally turn color output on/off." ) plscolor;
void
plscolor( PLINT color );
-%feature( "autodoc", "Set the compression level." ) plscompression;
+%feature( "docstring", "Set the compression level." ) plscompression;
void
plscompression( PLINT compression );
-%feature( "autodoc", "Set the device (keyword) name." ) plsdev;
+%feature( "docstring", "Set the device (keyword) name." ) plsdev;
void
plsdev( const char *devname );
-%feature( "autodoc", "Set window into device space using margin, aspect ratio, and justification." ) plsdidev;
+%feature( "docstring", "Set window into device space using margin, aspect ratio, and justification." ) plsdidev;
void
plsdidev( PLFLT mar, PLFLT aspect, PLFLT jx, PLFLT jy );
-%feature( "autodoc", "Set up transformation from metafile coordinates." ) plsdimap;
+%feature( "docstring", "Set up transformation from metafile coordinates." ) plsdimap;
void
plsdimap( PLINT dimxmin, PLINT dimxmax, PLINT dimymin, PLINT dimymax,
PLFLT dimxpmm, PLFLT dimypmm );
-%feature( "autodoc", "Set plot orientation, specifying rotation in units of pi/2." ) plsdiori;
+%feature( "docstring", "Set plot orientation, specifying rotation in units of pi/2." ) plsdiori;
void
plsdiori( PLFLT rot );
-%feature( "autodoc", "Set window into plot space." ) plsdiplt;
+%feature( "docstring", "Set window into plot space." ) plsdiplt;
void
plsdiplt( PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax );
-%feature( "autodoc", "Set window into plot space incrementally (zoom)." ) plsdiplz;
+%feature( "docstring", "Set window into plot space incrementally (zoom)." ) plsdiplz;
void
plsdiplz( PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax );
-%feature( "autodoc", "Seed the random number generator." ) plseed;
+%feature( "docstring", "Seed the random number generator." ) plseed;
void
plseed( unsigned int s );
-%feature( "autodoc", "Set the escape character for text strings." ) plsesc;
+%feature( "docstring", "Set the escape character for text strings." ) plsesc;
void
plsesc( char esc );
-%feature( "autodoc", "Process input strings, treating them as an option and argument pair. The first is for the external API, the second the work routine declared here for backward compatibility." ) plsetopt;
+%feature( "docstring", "Process input strings, treating them as an option and argument pair. The first is for the external API, the second the work routine declared here for backward compatibility." ) plsetopt;
PLINT
plsetopt( const char *opt, const char *optarg );
-%feature( "autodoc"...
[truncated message content] |
|
From: <and...@us...> - 2011-01-07 21:29:04
|
Revision: 11450
http://plplot.svn.sourceforge.net/plplot/?rev=11450&view=rev
Author: andrewross
Date: 2011-01-07 21:28:57 +0000 (Fri, 07 Jan 2011)
Log Message:
-----------
Enable inclusion of the function type parameters in auto-generated documentation (for python and octave),
Modified Paths:
--------------
trunk/bindings/swig-support/plplotcapi.i
Modified: trunk/bindings/swig-support/plplotcapi.i
===================================================================
--- trunk/bindings/swig-support/plplotcapi.i 2011-01-07 21:19:38 UTC (rev 11449)
+++ trunk/bindings/swig-support/plplotcapi.i 2011-01-07 21:28:57 UTC (rev 11450)
@@ -240,6 +240,8 @@
#define SWIG_OBJECT_DATA_img OBJECT_DATA_img
#endif
+%feature( "autodoc", "1" );
+
#ifdef SWIG_PYTHON
// Non-common API that are included here because they traditionally
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ai...@us...> - 2014-04-01 19:28:31
|
Revision: 13090
http://sourceforge.net/p/plplot/code/13090
Author: airwin
Date: 2014-04-01 19:28:28 +0000 (Tue, 01 Apr 2014)
Log Message:
-----------
Use correct precision (PLINT ==> PLFLT) for plwidth argument.
This change successfully tested on Linux using the test_diff_psc target.
Modified Paths:
--------------
trunk/bindings/swig-support/plplotcapi.i
Modified: trunk/bindings/swig-support/plplotcapi.i
===================================================================
--- trunk/bindings/swig-support/plplotcapi.i 2014-03-31 23:38:37 UTC (rev 13089)
+++ trunk/bindings/swig-support/plplotcapi.i 2014-04-01 19:28:28 UTC (rev 13090)
@@ -810,7 +810,7 @@
PLFLT zmax0, PLFLT alt, PLFLT az );
void
-plwidth( PLINT width );
+plwidth( PLFLT width );
void
plwind( PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ai...@us...> - 2010-10-05 01:07:29
|
Revision: 11247
http://plplot.svn.sourceforge.net/plplot/?rev=11247&view=rev
Author: airwin
Date: 2010-10-05 01:07:23 +0000 (Tue, 05 Oct 2010)
Log Message:
-----------
Limit pllegend to just Python for now since more work is required to get
the Java (and Lua?) bindings to build with pllegend.
Modified Paths:
--------------
trunk/bindings/swig-support/plplotcapi.i
Modified: trunk/bindings/swig-support/plplotcapi.i
===================================================================
--- trunk/bindings/swig-support/plplotcapi.i 2010-10-05 00:52:18 UTC (rev 11246)
+++ trunk/bindings/swig-support/plplotcapi.i 2010-10-05 01:07:23 UTC (rev 11247)
@@ -517,6 +517,7 @@
void
pllab(const char *xlabel, const char *ylabel, const char *tlabel);
+#ifdef SWIG_PYTHON
%feature("autodoc", "Create a discrete annotated legend using boxes, lines, and/or lines of symbols.") pllegend;
void
pllegend( PLINT opt, PLFLT x, PLFLT y, PLFLT plot_width, PLINT bg_color,
@@ -531,6 +532,8 @@
const PLINT *ArrayCk, const PLFLT *ArrayCk,
const PLINT *ArrayCk, const PLINT *ArrayCk );
%feature("autodoc", "Set position of the light source.") pllightsource;
+#endif
+
void
pllightsource(PLFLT x, PLFLT y, PLFLT z);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ai...@us...> - 2010-11-02 18:37:58
|
Revision: 11302
http://plplot.svn.sourceforge.net/plplot/?rev=11302&view=rev
Author: airwin
Date: 2010-11-02 18:37:50 +0000 (Tue, 02 Nov 2010)
Log Message:
-----------
Style using repeated runs of the commands
uncrustify -c uncrustify.cfg -q -l C \
<bindings/swig-support/plplotcapi.i |sed 's?% feature?%feature?' \
|scripts/convert_comment.py >| /tmp/test_software
cp /tmp/test_software bindings/swig-support/plplotcapi.i
until there are no differences left between input and output.
N.B. plplotcapi.i is a swig configuration file that closely resembles
a C file but which is not exactly a C file so the above sed fixup
had to be done. That is the reason why this style update was done
by hand rather than using scripts/style_source.sh.
The styled result tested without issues for make test_noninteractive in the
build tree.
Modified Paths:
--------------
trunk/bindings/swig-support/plplotcapi.i
Modified: trunk/bindings/swig-support/plplotcapi.i
===================================================================
--- trunk/bindings/swig-support/plplotcapi.i 2010-11-02 17:21:08 UTC (rev 11301)
+++ trunk/bindings/swig-support/plplotcapi.i 2010-11-02 18:37:50 UTC (rev 11302)
@@ -1,1256 +1,1257 @@
-/* plplotcapi.i contains the common API (API used by the many computer
- * language interfaces for the PLplot library) of PLplot in a form that
- * is readily understood by swig.
- */
-/*
+// plplotcapi.i contains the common API (API used by the many computer
+// language interfaces for the PLplot library) of PLplot in a form that
+// is readily understood by swig.
+//
+//
+//
+//Copyright (C) 2002 Gary Bishop
+//Copyright (C) 2002, 2004 Alan W. Irwin
+//Copyright (C) 2004 Rafael Laboissiere
+//Copyright (C) 2004 Andrew Ross
+//
+//This file is part of PLplot.
+//
+//PLplot is free software; you can redistribute it and/or modify
+//it under the terms of the GNU Library General Public License as published by
+//the Free Software Foundation; version 2 of the License.
+//
+//PLplot is distributed in the hope that it will be useful,
+//but WITHOUT ANY WARRANTY; without even the implied warranty of
+//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//GNU Library General Public License for more details.
+//
+//You should have received a copy of the GNU Library General Public License
+//along with the file PLplot; if not, write to the Free Software
+//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
-Copyright (C) 2002 Gary Bishop
-Copyright (C) 2002, 2004 Alan W. Irwin
-Copyright (C) 2004 Rafael Laboissiere
-Copyright (C) 2004 Andrew Ross
+// For passing user data, as with X's XtPointer
-This file is part of PLplot.
+typedef void* PLPointer;
-PLplot is free software; you can redistribute it and/or modify
-it under the terms of the GNU Library General Public License as published by
-the Free Software Foundation; version 2 of the License.
+//--------------------------------------------------------------------------
+// Complex data types and other good stuff
+//--------------------------------------------------------------------------
-PLplot is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Library General Public License for more details.
+// Switches for escape function call.
+// Some of these are obsolete but are retained in order to process
+// old metafiles
-You should have received a copy of the GNU Library General Public License
-along with the file PLplot; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-*/
+#define PLESC_SET_RGB 1 // obsolete
+#define PLESC_ALLOC_NCOL 2 // obsolete
+#define PLESC_SET_LPB 3 // obsolete
+#define PLESC_EXPOSE 4 // handle window expose
+#define PLESC_RESIZE 5 // handle window resize
+#define PLESC_REDRAW 6 // handle window redraw
+#define PLESC_TEXT 7 // switch to text screen
+#define PLESC_GRAPH 8 // switch to graphics screen
+#define PLESC_FILL 9 // fill polygon
+#define PLESC_DI 10 // handle DI command
+#define PLESC_FLUSH 11 // flush output
+#define PLESC_EH 12 // handle Window events
+#define PLESC_GETC 13 // get cursor position
+#define PLESC_SWIN 14 // set window parameters
+#define PLESC_PLFLTBUFFERING 15 // configure PLFLT buffering
+#define PLESC_XORMOD 16 // set xor mode
+#define PLESC_SET_COMPRESSION 17 // AFR: set compression
+#define PLESC_CLEAR 18 // RL: clear graphics region
+#define PLESC_DASH 19 // RL: draw dashed line
+#define PLESC_HAS_TEXT 20 // driver draws text
+#define PLESC_IMAGE 21 // handle image
+#define PLESC_IMAGEOPS 22 // plimage related operations
-/* For passing user data, as with X's XtPointer */
-
-typedef void* PLPointer;
-
-/*--------------------------------------------------------------------------*\
- * Complex data types and other good stuff
-\*--------------------------------------------------------------------------*/
-
-/* Switches for escape function call. */
-/* Some of these are obsolete but are retained in order to process
- old metafiles */
-
-#define PLESC_SET_RGB 1 /* obsolete */
-#define PLESC_ALLOC_NCOL 2 /* obsolete */
-#define PLESC_SET_LPB 3 /* obsolete */
-#define PLESC_EXPOSE 4 /* handle window expose */
-#define PLESC_RESIZE 5 /* handle window resize */
-#define PLESC_REDRAW 6 /* handle window redraw */
-#define PLESC_TEXT 7 /* switch to text screen */
-#define PLESC_GRAPH 8 /* switch to graphics screen */
-#define PLESC_FILL 9 /* fill polygon */
-#define PLESC_DI 10 /* handle DI command */
-#define PLESC_FLUSH 11 /* flush output */
-#define PLESC_EH 12 /* handle Window events */
-#define PLESC_GETC 13 /* get cursor position */
-#define PLESC_SWIN 14 /* set window parameters */
-#define PLESC_PLFLTBUFFERING 15 /* configure PLFLT buffering */
-#define PLESC_XORMOD 16 /* set xor mode */
-#define PLESC_SET_COMPRESSION 17 /* AFR: set compression */
-#define PLESC_CLEAR 18 /* RL: clear graphics region */
-#define PLESC_DASH 19 /* RL: draw dashed line */
-#define PLESC_HAS_TEXT 20 /* driver draws text */
-#define PLESC_IMAGE 21 /* handle image */
-#define PLESC_IMAGEOPS 22 /* plimage related operations */
-
-/* image operations */
+// image operations
#if 0
-#define ZEROW2B 1
-#define ZEROW2D 2
-#define ONEW2B 3
-#define ONEW2D 4
+#define ZEROW2B 1
+#define ZEROW2D 2
+#define ONEW2B 3
+#define ONEW2D 4
#endif
-/* definitions for the opt argument in plsurf3d() */
+// definitions for the opt argument in plsurf3d()
-#define DRAW_LINEX 0x01 /* draw lines parallel to the X axis */
-#define DRAW_LINEY 0x02 /* draw lines parallel to the Y axis */
-#define DRAW_LINEXY 0x03 /* draw lines parallel to both the X and Y axes */
-#define MAG_COLOR 0x04 /* draw the mesh with a color dependent of the magnitude */
-#define BASE_CONT 0x08 /* draw contour plot at bottom xy plane */
-#define TOP_CONT 0x10 /* draw contour plot at top xy plane */
-#define SURF_CONT 0x20 /* draw contour plot at surface */
-#define DRAW_SIDES 0x40 /* draw sides */
-#define FACETED 0x80 /* draw outline for each square that makes up the surface */
-#define MESH 0x100 /* draw mesh */
+#define DRAW_LINEX 0x01 // draw lines parallel to the X axis
+#define DRAW_LINEY 0x02 // draw lines parallel to the Y axis
+#define DRAW_LINEXY 0x03 // draw lines parallel to both the X and Y axes
+#define MAG_COLOR 0x04 // draw the mesh with a color dependent of the magnitude
+#define BASE_CONT 0x08 // draw contour plot at bottom xy plane
+#define TOP_CONT 0x10 // draw contour plot at top xy plane
+#define SURF_CONT 0x20 // draw contour plot at surface
+#define DRAW_SIDES 0x40 // draw sides
+#define FACETED 0x80 // draw outline for each square that makes up the surface
+#define MESH 0x100 // draw mesh
-/* Flags for plbin() - opt argument */
-#define PL_BIN_DEFAULT 0
-#define PL_BIN_CENTRED 1
-#define PL_BIN_NOEXPAND 2
-#define PL_BIN_NOEMPTY 4
+// Flags for plbin() - opt argument
+#define PL_BIN_DEFAULT 0
+#define PL_BIN_CENTRED 1
+#define PL_BIN_NOEXPAND 2
+#define PL_BIN_NOEMPTY 4
-/* Flags for plhist() - opt argument; note: some flags are passed to
- plbin() for the actual plotting */
-#define PL_HIST_DEFAULT 0
-#define PL_HIST_NOSCALING 1
-#define PL_HIST_IGNORE_OUTLIERS 2
-#define PL_HIST_NOEXPAND 8
-#define PL_HIST_NOEMPTY 16
+// Flags for plhist() - opt argument; note: some flags are passed to
+// plbin() for the actual plotting
+#define PL_HIST_DEFAULT 0
+#define PL_HIST_NOSCALING 1
+#define PL_HIST_IGNORE_OUTLIERS 2
+#define PL_HIST_NOEXPAND 8
+#define PL_HIST_NOEMPTY 16
// Flags for pllegend.
-#define PL_LEGEND_NONE 1
-#define PL_LEGEND_COLOR_BOX 2
-#define PL_LEGEND_LINE 4
-#define PL_LEGEND_SYMBOL 8
-#define PL_LEGEND_TEXT_LEFT 16
-#define PL_LEGEND_BACKGROUND 32
+#define PL_LEGEND_NONE 1
+#define PL_LEGEND_COLOR_BOX 2
+#define PL_LEGEND_LINE 4
+#define PL_LEGEND_SYMBOL 8
+#define PL_LEGEND_TEXT_LEFT 16
+#define PL_LEGEND_BACKGROUND 32
-/* Window parameter tags */
+// Window parameter tags
-#define PLSWIN_DEVICE 1 /* device coordinates */
-#define PLSWIN_WORLD 2 /* world coordinates */
+#define PLSWIN_DEVICE 1 // device coordinates
+#define PLSWIN_WORLD 2 // world coordinates
-/* Axis label tags */
-#define PL_X_AXIS 1 /* The x-axis */
-#define PL_Y_AXIS 2 /* The y-axis */
-#define PL_Z_AXIS 3 /* The z-axis */
+// Axis label tags
+#define PL_X_AXIS 1 // The x-axis
+#define PL_Y_AXIS 2 // The y-axis
+#define PL_Z_AXIS 3 // The z-axis
-/* PLplot Option table & support constants */
+// PLplot Option table & support constants
-/* Option-specific settings */
+// Option-specific settings
-#define PL_OPT_ENABLED 0x0001 /* Obsolete */
-#define PL_OPT_ARG 0x0002 /* Option has an argment */
-#define PL_OPT_NODELETE 0x0004 /* Don't delete after processing */
-#define PL_OPT_INVISIBLE 0x0008 /* Make invisible */
-#define PL_OPT_DISABLED 0x0010 /* Processing is disabled */
+#define PL_OPT_ENABLED 0x0001 // Obsolete
+#define PL_OPT_ARG 0x0002 // Option has an argment
+#define PL_OPT_NODELETE 0x0004 // Don't delete after processing
+#define PL_OPT_INVISIBLE 0x0008 // Make invisible
+#define PL_OPT_DISABLED 0x0010 // Processing is disabled
-/* Option-processing settings -- mutually exclusive */
+// Option-processing settings -- mutually exclusive
-#define PL_OPT_FUNC 0x0100 /* Call handler function */
-#define PL_OPT_BOOL 0x0200 /* Set *var = 1 */
-#define PL_OPT_INT 0x0400 /* Set *var = atoi(optarg) */
-#define PL_OPT_FLOAT 0x0800 /* Set *var = atof(optarg) */
-#define PL_OPT_STRING 0x1000 /* Set var = optarg */
+#define PL_OPT_FUNC 0x0100 // Call handler function
+#define PL_OPT_BOOL 0x0200 // Set *var = 1
+#define PL_OPT_INT 0x0400 // Set *var = atoi(optarg)
+#define PL_OPT_FLOAT 0x0800 // Set *var = atof(optarg)
+#define PL_OPT_STRING 0x1000 // Set var = optarg
-/* Global mode settings */
-/* These override per-option settings */
+// Global mode settings
+// These override per-option settings
-#define PL_PARSE_PARTIAL 0x0000 /* For backward compatibility */
-#define PL_PARSE_FULL 0x0001 /* Process fully & exit if error */
-#define PL_PARSE_QUIET 0x0002 /* Don't issue messages */
-#define PL_PARSE_NODELETE 0x0004 /* Don't delete options after */
- /* processing */
-#define PL_PARSE_SHOWALL 0x0008 /* Show invisible options */
-#define PL_PARSE_OVERRIDE 0x0010 /* Obsolete */
-#define PL_PARSE_NOPROGRAM 0x0020 /* Program name NOT in *argv[0].. */
-#define PL_PARSE_NODASH 0x0040 /* Set if leading dash NOT required */
-#define PL_PARSE_SKIP 0x0080 /* Skip over unrecognized args */
+#define PL_PARSE_PARTIAL 0x0000 // For backward compatibility
+#define PL_PARSE_FULL 0x0001 // Process fully & exit if error
+#define PL_PARSE_QUIET 0x0002 // Don't issue messages
+#define PL_PARSE_NODELETE 0x0004 // Don't delete options after
+ // processing
+#define PL_PARSE_SHOWALL 0x0008 // Show invisible options
+#define PL_PARSE_OVERRIDE 0x0010 // Obsolete
+#define PL_PARSE_NOPROGRAM 0x0020 // Program name NOT in *argv[0]..
+#define PL_PARSE_NODASH 0x0040 // Set if leading dash NOT required
+#define PL_PARSE_SKIP 0x0080 // Skip over unrecognized args
-/* FCI (font characterization integer) related constants. */
-#define PL_FCI_MARK 0x80000000
-#define PL_FCI_IMPOSSIBLE 0x00000000
-#define PL_FCI_HEXDIGIT_MASK 0xf
-#define PL_FCI_HEXPOWER_MASK 0x7
-#define PL_FCI_HEXPOWER_IMPOSSIBLE 0xf
-/* These define hexpower values corresponding to each font attribute. */
-#define PL_FCI_FAMILY 0x0
-#define PL_FCI_STYLE 0x1
-#define PL_FCI_WEIGHT 0x2
-/* These are legal values for font family attribute */
-#define PL_FCI_SANS 0x0
-#define PL_FCI_SERIF 0x1
-#define PL_FCI_MONO 0x2
-#define PL_FCI_SCRIPT 0x3
-#define PL_FCI_SYMBOL 0x4
-/* These are legal values for font style attribute */
-#define PL_FCI_UPRIGHT 0x0
-#define PL_FCI_ITALIC 0x1
-#define PL_FCI_OBLIQUE 0x2
-/* These are legal values for font weight attribute */
-#define PL_FCI_MEDIUM 0x0
-#define PL_FCI_BOLD 0x1
+// FCI (font characterization integer) related constants.
+#define PL_FCI_MARK 0x80000000
+#define PL_FCI_IMPOSSIBLE 0x00000000
+#define PL_FCI_HEXDIGIT_MASK 0xf
+#define PL_FCI_HEXPOWER_MASK 0x7
+#define PL_FCI_HEXPOWER_IMPOSSIBLE 0xf
+// These define hexpower values corresponding to each font attribute.
+#define PL_FCI_FAMILY 0x0
+#define PL_FCI_STYLE 0x1
+#define PL_FCI_WEIGHT 0x2
+// These are legal values for font family attribute
+#define PL_FCI_SANS 0x0
+#define PL_FCI_SERIF 0x1
+#define PL_FCI_MONO 0x2
+#define PL_FCI_SCRIPT 0x3
+#define PL_FCI_SYMBOL 0x4
+// These are legal values for font style attribute
+#define PL_FCI_UPRIGHT 0x0
+#define PL_FCI_ITALIC 0x1
+#define PL_FCI_OBLIQUE 0x2
+// These are legal values for font weight attribute
+#define PL_FCI_MEDIUM 0x0
+#define PL_FCI_BOLD 0x1
-#define PL_MAXKEY 16
+#define PL_MAXKEY 16
-typedef struct {
- int type; /* of event (CURRENTLY UNUSED) */
- unsigned int state; /* key or button mask */
- unsigned int keysym; /* key selected */
- unsigned int button; /* mouse button selected */
- PLINT subwindow; /* subwindow (alias subpage, alias subplot) number */
- char string[PL_MAXKEY]; /* translated string */
- int pX, pY; /* absolute device coordinates of pointer */
- PLFLT dX, dY; /* relative device coordinates of pointer */
- PLFLT wX, wY; /* world coordinates of pointer */
+typedef struct
+{
+ int type; // of event (CURRENTLY UNUSED)
+ unsigned int state; // key or button mask
+ unsigned int keysym; // key selected
+ unsigned int button; // mouse button selected
+ PLINT subwindow; // subwindow (alias subpage, alias subplot) number
+ char string[PL_MAXKEY]; // translated string
+ int pX, pY; // absolute device coordinates of pointer
+ PLFLT dX, dY; // relative device coordinates of pointer
+ PLFLT wX, wY; // world coordinates of pointer
} PLGraphicsIn;
-/* Structure for describing the plot window */
+// Structure for describing the plot window
-#define PL_MAXWINDOWS 64 /* Max number of windows/page tracked */
+#define PL_MAXWINDOWS 64 // Max number of windows/page tracked
-/* Macro used (in some cases) to ignore value of argument */
-/* I don't plan on changing the value so you can hard-code it */
+// Macro used (in some cases) to ignore value of argument
+// I don't plan on changing the value so you can hard-code it
-#define PL_NOTSET (-42)
+#define PL_NOTSET ( -42 )
#define PLESPLFLTBUFFERING_ENABLE 1
#define PLESPLFLTBUFFERING_DISABLE 2
#define PLESPLFLTBUFFERING_QUERY 3
-#define GRID_CSA 1 /* Bivariate Cubic Spline approximation */
-#define GRID_DTLI 2 /* Delaunay Triangulation Linear Interpolation */
-#define GRID_NNI 3 /* Natural Neighbors Interpolation */
-#define GRID_NNIDW 4 /* Nearest Neighbors Inverse Distance Weighted */
-#define GRID_NNLI 5 /* Nearest Neighbors Linear Interpolation */
-#define GRID_NNAIDW 6 /* Nearest Neighbors Around Inverse Distance Weighted */
+#define GRID_CSA 1 // Bivariate Cubic Spline approximation
+#define GRID_DTLI 2 // Delaunay Triangulation Linear Interpolation
+#define GRID_NNI 3 // Natural Neighbors Interpolation
+#define GRID_NNIDW 4 // Nearest Neighbors Inverse Distance Weighted
+#define GRID_NNLI 5 // Nearest Neighbors Linear Interpolation
+#define GRID_NNAIDW 6 // Nearest Neighbors Around Inverse Distance Weighted
#ifdef SWIG_PYTHON
-#define SWIG_OBJECT_DATA PYOBJECT_DATA
-#define SWIG_OBJECT_DATA_img PYOBJECT_DATA_img
-#define pltr_img pltr
+#define SWIG_OBJECT_DATA PYOBJECT_DATA
+#define SWIG_OBJECT_DATA_img PYOBJECT_DATA_img
+#define pltr_img pltr
#else
-#define SWIG_OBJECT_DATA OBJECT_DATA
-#define SWIG_OBJECT_DATA_img OBJECT_DATA_img
+#define SWIG_OBJECT_DATA OBJECT_DATA
+#define SWIG_OBJECT_DATA_img OBJECT_DATA_img
#endif
#ifdef SWIG_PYTHON
-/* Non-common API that are included here because they traditionally
- * were part of plmodule.c. */
+// Non-common API that are included here because they traditionally
+// were part of plmodule.c.
#if 0
-/* Deprecated function that we no longer want to propagate to the
- * python API. */
+// Deprecated function that we no longer want to propagate to the
+// python API.
-%feature("autodoc", "Plot an arrow.") plarrows;
+%feature( "autodoc", "Plot an arrow." ) plarrows;
void
-plarrows(PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk, PLFLT *ArrayCk, PLINT n,
- PLFLT scale, PLFLT dx, PLFLT dy) ;
+plarrows( PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk, PLFLT *ArrayCk, PLINT n,
+ PLFLT scale, PLFLT dx, PLFLT dy );
#endif
-%feature("autodoc", "Set inferior X window.") plsxwin;
+%feature( "autodoc", "Set inferior X window." ) plsxwin;
void
-plsxwin(PLINT window_id);
+plsxwin( PLINT window_id );
-#endif /* SWIG_PYTHON */
+#endif // SWIG_PYTHON
-/* Complete list of common API (has "c_" suffix version defined in plplot.h) */
+// Complete list of common API (has "c_" suffix version defined in plplot.h)
-%feature("autodoc", "Set the format of the contour labels.")
+%feature( "autodoc", "Set the format of the contour labels." )
pl_setcontlabelformat;
void
-pl_setcontlabelformat(PLINT lexp, PLINT sigdig);
+pl_setcontlabelformat( PLINT lexp, PLINT sigdig );
-%feature("autodoc", "Set offset and spacing of contour labels.") pl_setcontlabelparam;
+%feature( "autodoc", "Set offset and spacing of contour labels." ) pl_setcontlabelparam;
void
-pl_setcontlabelparam(PLFLT offset, PLFLT size, PLFLT spacing, PLINT active);
+pl_setcontlabelparam( PLFLT offset, PLFLT size, PLFLT spacing, PLINT active );
-%feature("autodoc", "Advance to subpage \"page\", or to the next one if \"page\" = 0.") pladv;
+%feature( "autodoc", "Advance to subpage \"page\", or to the next one if \"page\" = 0." ) pladv;
void
-pladv(PLINT page);
+pladv( PLINT page );
-%feature("autodoc", "Plot an arc") plarc;
+%feature( "autodoc", "Plot an arc" ) plarc;
void
-plarc(PLFLT x, PLFLT y, PLFLT a, PLFLT b, PLFLT angle1, PLFLT angle2,
- PLBOOL fill);
+plarc( PLFLT x, PLFLT y, PLFLT a, PLFLT b, PLFLT angle1, PLFLT angle2,
+ PLBOOL fill );
-%feature("autodoc", "This functions similarly to plbox() except that the origin of the axes is placed at the user-specified point (x0, y0).") plaxes;
+%feature( "autodoc", "This functions similarly to plbox() except that the origin of the axes is placed at the user-specified point (x0, y0)." ) plaxes;
void
-plaxes(PLFLT x0, PLFLT y0, const char *xopt, PLFLT xtick, PLINT nxsub,
- const char *yopt, PLFLT ytick, PLINT nysub);
+plaxes( PLFLT x0, PLFLT y0, const char *xopt, PLFLT xtick, PLINT nxsub,
+ const char *yopt, PLFLT ytick, PLINT nysub );
-%feature("autodoc", "Plot a histogram using x to store data values and y to store frequencies.") plbin;
+%feature( "autodoc", "Plot a histogram using x to store data values and y to store frequencies." ) plbin;
void
-plbin(PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLINT center);
+plbin( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLINT center );
-%feature("autodoc", "Calculate broken-down time from continuous time for current stream.") plbtime;
+%feature( "autodoc", "Calculate broken-down time from continuous time for current stream." ) plbtime;
void
-plbtime(PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLFLT *OUTPUT, PLFLT ctime);
-
-%feature("autodoc", "Start new page. Should only be used with pleop().") plbop;
+plbtime( PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLFLT *OUTPUT, PLFLT ctime );
+
+%feature( "autodoc", "Start new page. Should only be used with pleop()." ) plbop;
void
-plbop(void);
+plbop( void );
-%feature("autodoc", "Draw a box around the current viewport.") plbox;
+%feature( "autodoc", "Draw a box around the current viewport." ) plbox;
void
-plbox(const char *xopt, PLFLT xtick, PLINT nxsub,
- const char *yopt, PLFLT ytick, PLINT nysub);
+plbox( const char *xopt, PLFLT xtick, PLINT nxsub,
+ const char *yopt, PLFLT ytick, PLINT nysub );
-%feature("autodoc", "This is the 3-d analogue of plbox().") plbox3;
+%feature( "autodoc", "This is the 3-d analogue of plbox()." ) plbox3;
void
-plbox3(const char *xopt, const char *xlabel, PLFLT xtick, PLINT nsubx,
- const char *yopt, const char *ylabel, PLFLT ytick, PLINT nsuby,
- const char *zopt, const char *zlabel, PLFLT ztick, PLINT nsubz);
+plbox3( const char *xopt, const char *xlabel, PLFLT xtick, PLINT nsubx,
+ const char *yopt, const char *ylabel, PLFLT ytick, PLINT nsuby,
+ const char *zopt, const char *zlabel, PLFLT ztick, PLINT nsubz );
-%feature("autodoc", "Calculate world coordinates and subpage from relative device coordinates.") plcalc_world;
+%feature( "autodoc", "Calculate world coordinates and subpage from relative device coordinates." ) plcalc_world;
void
-plcalc_world(PLFLT rx, PLFLT ry, PLFLT *OUTPUT, PLFLT *OUTPUT, PLINT *OUTPUT);
+plcalc_world( PLFLT rx, PLFLT ry, PLFLT *OUTPUT, PLFLT *OUTPUT, PLINT *OUTPUT );
-%feature("autodoc", "Clear current subpage.") plclear;
+%feature( "autodoc", "Clear current subpage." ) plclear;
void
-plclear(void);
+plclear( void );
-%feature("autodoc", "Set color, map 0. Argument is integer between 0 and 15.") plcol0;
+%feature( "autodoc", "Set color, map 0. Argument is integer between 0 and 15." ) plcol0;
void
-plcol0(PLINT icol0);
+plcol0( PLINT icol0 );
-%feature("autodoc", "Set color, map 1. Argument is a float between 0. and 1.") plcol1;
+%feature( "autodoc", "Set color, map 1. Argument is a float between 0. and 1." ) plcol1;
void
-plcol1(PLFLT col1);
+plcol1( PLFLT col1 );
-%feature("autodoc", "Configure transformation between continuous and broken-down time (and vice versa) for current stream.") plconfigtime;
+%feature( "autodoc", "Configure transformation between continuous and broken-down time (and vice versa) for current stream." ) plconfigtime;
void
-plconfigtime(PLFLT scale, PLFLT offset1, PLFLT offset2, PLINT ccontrol, PLBOOL ifbtime_offset, PLINT year, PLINT month, PLINT day, PLINT hour, PLINT min, PLFLT sec);
-
-%feature("autodoc", "Draw a contour plot.") plcont;
+plconfigtime( PLFLT scale, PLFLT offset1, PLFLT offset2, PLINT ccontrol, PLBOOL ifbtime_offset, PLINT year, PLINT month, PLINT day, PLINT hour, PLINT min, PLFLT sec );
+
+%feature( "autodoc", "Draw a contour plot." ) plcont;
void
-plcont(PLFLT **Matrix, PLINT nx, PLINT ny, PLINT kx, PLINT lx,
- PLINT ky, PLINT ly, PLFLT *Array, PLINT n,
- pltr_func pltr,
- PLPointer SWIG_OBJECT_DATA);
+plcont( PLFLT **Matrix, PLINT nx, PLINT ny, PLINT kx, PLINT lx,
+ PLINT ky, PLINT ly, PLFLT *Array, PLINT n,
+ pltr_func pltr,
+ PLPointer SWIG_OBJECT_DATA );
-%feature("autodoc", "Calculate continuous time from broken-down time for current stream.") plctime;
+%feature( "autodoc", "Calculate continuous time from broken-down time for current stream." ) plctime;
void
-plctime(PLINT year, PLINT month, PLINT day, PLINT hour, PLINT min, PLFLT sec, PLFLT *OUTPUT);
-
-%feature("autodoc", "Copy state parameters from the reference stream to the current stream.") plcpstrm;
+plctime( PLINT year, PLINT month, PLINT day, PLINT hour, PLINT min, PLFLT sec, PLFLT *OUTPUT );
+
+%feature( "autodoc", "Copy state parameters from the reference stream to the current stream." ) plcpstrm;
void
-plcpstrm(PLINT iplsr, PLBOOL flags);
+plcpstrm( PLINT iplsr, PLBOOL flags );
-%feature("autodoc", "End a plotting session for all open streams.") plend;
+%feature( "autodoc", "End a plotting session for all open streams." ) plend;
void
-plend(void);
+plend( void );
-%feature("autodoc", "End a plotting session for the current stream only.") plend1;
+%feature( "autodoc", "End a plotting session for the current stream only." ) plend1;
void
-plend1(void);
+plend1( void );
-%feature("autodoc", "Simple interface for defining viewport and window.") plenv;
+%feature( "autodoc", "Simple interface for defining viewport and window." ) plenv;
void
-plenv(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
- PLINT just, PLINT axis);
+plenv( PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
+ PLINT just, PLINT axis );
-%feature("autodoc", "Simple interface for defining viewport and window.") plenv0;
+%feature( "autodoc", "Simple interface for defining viewport and window." ) plenv0;
void
-plenv0(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
- PLINT just, PLINT axis);
+plenv0( PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
+ PLINT just, PLINT axis );
-%feature("autodoc", "End current page. Should only be used with plbop().") pleop;
+%feature( "autodoc", "End current page. Should only be used with plbop()." ) pleop;
void
-pleop(void);
+pleop( void );
-%feature("autodoc", "Plot horizontal error bars (xmin(i),y(i)) to (xmax(i),y(i)).") plerrx;
+%feature( "autodoc", "Plot horizontal error bars (xmin(i),y(i)) to (xmax(i),y(i))." ) plerrx;
void
-plerrx(PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk);
+plerrx( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk );
-%feature("autodoc", "Plot vertical error bars (x,ymin(i)) to (x(i),ymax(i)).") plerry;
+%feature( "autodoc", "Plot vertical error bars (x,ymin(i)) to (x(i),ymax(i))." ) plerry;
void
-plerry(PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk);
+plerry( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk );
-%feature("autodoc", "Advance to the next family file on the next new page.") plfamadv;
+%feature( "autodoc", "Advance to the next family file on the next new page." ) plfamadv;
void
-plfamadv(void);
+plfamadv( void );
-%feature("autodoc", "Pattern fills the polygon bounded by the input points.") plfill;
+%feature( "autodoc", "Pattern fills the polygon bounded by the input points." ) plfill;
void
-plfill(PLINT n, PLFLT *Array, PLFLT *ArrayCk);
+plfill( PLINT n, PLFLT *Array, PLFLT *ArrayCk );
-%feature("autodoc", "Pattern fills the 3d polygon bounded by the input points.") plfill3;
+%feature( "autodoc", "Pattern fills the 3d polygon bounded by the input points." ) plfill3;
void
-plfill3(PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk);
+plfill3( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk );
-%feature("autodoc", "Renders linear gradient for the polygon bounded by the input points.") plgradient;
+%feature( "autodoc", "Renders linear gradient for the polygon bounded by the input points." ) plgradient;
void
-plgradient(PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT angle);
+plgradient( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT angle );
-%feature("autodoc", "Flush the output stream. Use sparingly, if at all.") plflush;
+%feature( "autodoc", "Flush the output stream. Use sparingly, if at all." ) plflush;
void
-plflush(void);
+plflush( void );
-%feature("autodoc", "Set the global font flag to 'ifont'.") plfont;
+%feature( "autodoc", "Set the global font flag to 'ifont'." ) plfont;
void
-plfont(PLINT ifont);
+plfont( PLINT ifont );
-%feature("autodoc", "Load specified font set.") plfontld;
+%feature( "autodoc", "Load specified font set." ) plfontld;
void
-plfontld(PLINT fnt);
+plfontld( PLINT fnt );
-%feature("autodoc", "Get character default height and current (scaled) height.") plgchr;
+%feature( "autodoc", "Get character default height and current (scaled) height." ) plgchr;
void
-plgchr(PLFLT *OUTPUT, PLFLT *OUTPUT);
+plgchr( PLFLT *OUTPUT, PLF...
[truncated message content] |