|
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, PLFLT *OUTPUT );
-%feature("autodoc", "Get 8 bit RGB values for given color from color map 0.") plgcol0;
+%feature( "autodoc", "Get 8 bit RGB values for given color from color map 0." ) plgcol0;
void
-plgcol0(PLINT icol0, PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT);
+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( "autodoc", "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);
+plgcol0a( PLINT icol0, PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLFLT *OUTPUT );
-%feature("autodoc", "Get 8-bit RGB background color.") plgcolbg;
+%feature( "autodoc", "Get 8-bit RGB background color." ) plgcolbg;
void
-plgcolbg(PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT);
+plgcolbg( PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT );
-%feature("autodoc", "Get 8-bit RGB + alpha background color.") plgcolbga;
+%feature( "autodoc", "Get 8-bit RGB + alpha background color." ) plgcolbga;
void
-plgcolbga(PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLFLT *OUTPUT);
+plgcolbga( PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLFLT *OUTPUT );
-%feature("autodoc", "Get the current compression setting.") plgcompression;
+%feature( "autodoc", "Get the current compression setting." ) plgcompression;
void
-plgcompression(PLINT *OUTPUT);
+plgcompression( PLINT *OUTPUT );
-%feature("autodoc", "Get the current device (keyword) name.") plgdev;
+%feature( "autodoc", "Get the current device (keyword) name." ) plgdev;
void
-plgdev(char *OUTPUT);
+plgdev( char *OUTPUT );
-%feature("autodoc", "Retrieve current window into device space.") plgdidev;
+%feature( "autodoc", "Retrieve current window into device space." ) plgdidev;
void
-plgdidev(PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT);
+plgdidev( PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT );
-%feature("autodoc", "Get plot orientation.") plgdiori;
+%feature( "autodoc", "Get plot orientation." ) plgdiori;
void
-plgdiori(PLFLT *OUTPUT);
+plgdiori( PLFLT *OUTPUT );
-%feature("autodoc", "Retrieve current window into plot space.") plgdiplt;
+%feature( "autodoc", "Retrieve current window into plot space." ) plgdiplt;
void
-plgdiplt(PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT);
+plgdiplt( PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT );
-%feature("autodoc", "Get family file parameters.") plgfam;
+%feature( "autodoc", "Get family file parameters." ) plgfam;
void
-plgfam(PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT);
+plgfam( PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT );
-%feature("autodoc", "Get FCI (font characterization integer).") plgfci;
+%feature( "autodoc", "Get FCI (font characterization integer)." ) plgfci;
void
-plgfci(PLUNICODE *OUTPUT);
+plgfci( PLUNICODE *OUTPUT );
-%feature("autodoc", "Get the (current) output file name.") plgfnam;
+%feature( "autodoc", "Get the (current) output file name." ) plgfnam;
void
-plgfnam(char *OUTPUT);
+plgfnam( char *OUTPUT );
-%feature("autodoc", "Get the current font family, style and weight.") plgfont;
+%feature( "autodoc", "Get the current font family, style and weight." ) plgfont;
void
-plgfont(PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT);
+plgfont( PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT );
-%feature("autodoc", "Get the (current) run level.") plglevel;
+%feature( "autodoc", "Get the (current) run level." ) plglevel;
void
-plglevel(PLINT *OUTPUT);
+plglevel( PLINT *OUTPUT );
-%feature("autodoc", "Get output device parameters.") plgpage;
+%feature( "autodoc", "Get output device parameters." ) plgpage;
void
-plgpage(PLFLT *OUTPUT, PLFLT *OUTPUT,
- PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT);
+plgpage( PLFLT *OUTPUT, PLFLT *OUTPUT,
+ PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT, PLINT *OUTPUT );
-%feature("autodoc", "Switch to graphics screen.") plgra;
+%feature( "autodoc", "Switch to graphics screen." ) plgra;
void
-plgra(void);
+plgra( void );
-%feature("autodoc", "Grid irregular sample data.") plgriddata;
+%feature( "autodoc", "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);
+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( "autodoc", "Get subpage boundaries in absolute coordinates." ) plgspa;
void
-plgspa(PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT);
+plgspa( PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT );
-%feature("autodoc", "Get current stream number.") plgstrm;
+%feature( "autodoc", "Get current stream number." ) plgstrm;
void
-plgstrm(PLINT *OUTPUT);
+plgstrm( PLINT *OUTPUT );
-%feature("autodoc", "Get current library version number.") plgver;
+%feature( "autodoc", "Get current library version number." ) plgver;
void
-plgver(char *OUTPUT);
+plgver( char *OUTPUT );
-%feature("autodoc", "Get viewport boundaries in normalized device coordinates.") plgvpd;
+%feature( "autodoc", "Get viewport boundaries in normalized device coordinates." ) plgvpd;
void
-plgvpd(PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT);
+plgvpd( PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT );
-%feature("autodoc", "Get viewport boundaries in world coordinates.") plgvpw;
+%feature( "autodoc", "Get viewport boundaries in world coordinates." ) plgvpw;
void
-plgvpw(PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT);
+plgvpw( PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT );
-%feature("autodoc", "Get x axis labeling parameters.") plgxax;
+%feature( "autodoc", "Get x axis labeling parameters." ) plgxax;
void
-plgxax(PLINT *OUTPUT, PLINT *OUTPUT);
+plgxax( PLINT *OUTPUT, PLINT *OUTPUT );
-%feature("autodoc", "Get y axis labeling parameters.") plgyax;
+%feature( "autodoc", "Get y axis labeling parameters." ) plgyax;
void
-plgyax(PLINT *OUTPUT, PLINT *OUTPUT);
+plgyax( PLINT *OUTPUT, PLINT *OUTPUT );
-%feature("autodoc", "Get z axis labeling parameters.") plgzax;
+%feature( "autodoc", "Get z axis labeling parameters." ) plgzax;
void
-plgzax(PLINT *OUTPUT, PLINT *OUTPUT);
+plgzax( PLINT *OUTPUT, PLINT *OUTPUT );
-%feature("autodoc", "Draw histogram.") plhist;
+%feature( "autodoc", "Draw histogram." ) plhist;
void
-plhist(PLINT n, PLFLT *Array, PLFLT datmin, PLFLT datmax,
- PLINT nbin, PLINT oldwin);
+plhist( PLINT n, PLFLT *Array, PLFLT datmin, PLFLT datmax,
+ PLINT nbin, PLINT oldwin );
#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", "Set current color (map 0) by hue, lightness, and saturation.") plhls;
+%feature( "autodoc", "Set current color (map 0) by hue, lightness, and saturation." ) plhls;
void
-plhls(PLFLT h, PLFLT l, PLFLT s);
+plhls( PLFLT h, PLFLT l, PLFLT s );
#endif
-%feature("autodoc", "Transform from HLS to RGB form of colours.") plhlsrgb;
+%feature( "autodoc", "Transform from HLS to RGB form of colours." ) plhlsrgb;
void
-plhlsrgb(PLFLT h, PLFLT l, PLFLT s, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT);
+plhlsrgb( PLFLT h, PLFLT l, PLFLT s, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT );
-%feature("autodoc", "Initialize PLplot, using preset or default options.") plinit;
+%feature( "autodoc", "Initialize PLplot, using preset or default options." ) plinit;
void
-plinit(void);
+plinit( void );
-%feature("autodoc", "Draw a line segment from (x1, y1) to (x2, y2).") pljoin;
+%feature( "autodoc", "Draw a line segment from (x1, y1) to (x2, y2)." ) pljoin;
void
-pljoin(PLFLT x1, PLFLT y1, PLFLT x2, PLFLT y2);
+pljoin( PLFLT x1, PLFLT y1, PLFLT x2, PLFLT y2 );
-%feature("autodoc", "Label graphs.") pllab;
+%feature( "autodoc", "Label graphs." ) pllab;
void
-pllab(const char *xlabel, const char *ylabel, const char *tlabel);
+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;
+%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,
+ const PLFLT *ArrayCk,
+ const PLINT *ArrayCk, const PLINT *ArrayCk,
+ const PLINT *ArrayCk,
+ const PLINT *ArrayCk, const PLFLT *ArrayCk,
const PLINT *ArrayCk, const PLINT *ArrayCk );
-%feature("autodoc", "Set position of the light source.") pllightsource;
+%feature( "autodoc", "Set position of the light source." ) pllightsource;
#endif
void
-pllightsource(PLFLT x, PLFLT y, PLFLT z);
+pllightsource( PLFLT x, PLFLT y, PLFLT z );
-%feature("autodoc", "Draw line segments connecting a series of points.") plline;
+%feature( "autodoc", "Draw line segments connecting a series of points." ) plline;
void
-plline(PLINT n, PLFLT *Array, PLFLT *ArrayCk);
+plline( PLINT n, PLFLT *Array, PLFLT *ArrayCk );
-%feature("autodoc", "Draw a line in 3 space.") plline3;
+%feature( "autodoc", "Draw a line in 3 space." ) plline3;
void
-plline3(PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk);
+plline3( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk );
-%feature("autodoc", "Set line style.") pllsty;
+%feature( "autodoc", "Set line style." ) pllsty;
void
-pllsty(PLINT lin);
+pllsty( PLINT lin );
-%feature("autodoc", "Plot a 3-d mesh representation of z[x][y].") plmesh;
+%feature( "autodoc", "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);
+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( "autodoc", "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);
+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( "autodoc", "Create a new stream and makes it the default." ) plmkstrm;
void
-plmkstrm(PLINT *OUTPUT);
+plmkstrm( PLINT *OUTPUT );
-%feature("autodoc", "Print \"text\" at specified position relative to viewport.") plmtex;
+%feature( "autodoc", "Print \"text\" at specified position relative to viewport." ) plmtex;
void
-plmtex(const char *side, PLFLT disp, PLFLT pos, PLFLT just,
- const char *text);
+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( "autodoc", "Print \"text\" at specified position relative to 3D viewport." ) plmtex3;
void
-plmtex3(const char *side, PLFLT disp, PLFLT pos, PLFLT just,
- const char *text);
+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( "autodoc", "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);
+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( "autodoc", "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);
+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( "autodoc", "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);
+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( "autodoc", "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);
+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( "autodoc", "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);
+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( "autodoc", "Process options list using current options info." ) plparseopts;
PLINT
-plparseopts(int *p_argc, const char **argv, PLINT mode);
+plparseopts( int *p_argc, const char **argv, PLINT mode );
-%feature("autodoc", "Set fill pattern directly.") plpat;
+%feature( "autodoc", "Set fill pattern directly." ) plpat;
void
-plpat(PLINT n, PLINT *Array, PLINT *ArrayCk);
+plpat( PLINT n, PLINT *Array, PLINT *ArrayCk );
-%feature("autodoc", "Plot array y against x for n points using ASCII code \"code\".") plpoin;
+%feature( "autodoc", "Plot array y against x for n points using ASCII code \"code\"." ) plpoin;
void
-plpoin(PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLINT code);
+plpoin( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLINT code );
-%feature("autodoc", "Draw a series of points in 3 space.") plpoin3;
+%feature( "autodoc", "Draw a series of points in 3 space." ) plpoin3;
void
-plpoin3(PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk, PLINT code);
+plpoin3( PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk, PLINT code );
-%feature("autodoc", "Draw a polygon in 3 space.") plpoly3;
+%feature( "autodoc", "Draw a polygon in 3 space." ) plpoly3;
void
-plpoly3(PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLFLT *ArrayCk, PLBOOL *ArrayCkMinus1,
- PLBOOL flag);
+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( "autodoc", "Set the floating point precision (in number of places) in numeric labels." ) plprec;
void
-plprec(PLINT setp, PLINT prec);
+plprec( PLINT setp, PLINT prec );
-%feature("autodoc", "Set fill pattern, using one of the predefined patterns.") plpsty;
+%feature( "autodoc", "Set fill pattern, using one of the predefined patterns." ) plpsty;
void
-plpsty(PLINT patt);
+plpsty( PLINT patt );
-%feature("autodoc", "Print \"text\" at world cooordinates (x,y).") plptex;
+%feature( "autodoc", "Print \"text\" at world cooordinates (x,y)." ) plptex;
void
-plptex(PLFLT x, PLFLT y, PLFLT dx, PLFLT dy, PLFLT just, const char *text);
+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( "autodoc", "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);
+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( "autodoc", "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( "autodoc", "Replay contents of plot buffer to current device/file." ) plreplot;
void
-plreplot(void);
+plreplot( void );
-%feature("autodoc", "Transform from RGB to HLS form of colours.") plrgbhls;
+%feature( "autodoc", "Transform from RGB to HLS form of colours." ) plrgbhls;
void
-plrgbhls(PLFLT r, PLFLT g, PLFLT b, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT);
+plrgbhls( PLFLT r, PLFLT g, PLFLT b, PLFLT *OUTPUT, PLFLT *OUTPUT, PLFLT *OUTPUT );
-%feature("autodoc", "Set character height.") plschr;
+%feature( "autodoc", "Set character height." ) plschr;
void
-plschr(PLFLT def, PLFLT scale);
+plschr( PLFLT def, PLFLT scale );
-%feature("autodoc", "Set color map 0 colors by 8 bit RGB values.") plscmap0;
+%feature( "autodoc", "Set color map 0 colors by 8 bit RGB values." ) plscmap0;
void
-plscmap0(PLINT *Array, PLINT *ArrayCk, PLINT *ArrayCk, PLINT n);
+plscmap0( PLINT *Array, PLINT *ArrayCk, PLINT *ArrayCk, PLINT n );
-%feature("autodoc", "Set color map 0 colors by 8 bit RGB + alpha values.") plscmap0a;
+%feature( "autodoc", "Set color map 0 colors by 8 bit RGB + alpha values." ) plscmap0a;
void
-plscmap0a(PLINT *Array, PLINT *ArrayCk, PLINT *ArrayCk, PLFLT *ArrayCk, PLINT n);
+plscmap0a( PLINT *Array, PLINT *ArrayCk, PLINT *ArrayCk, PLFLT *ArrayCk, PLINT n );
-%feature("autodoc", "Set number of colors in cmap 0.") plscmap0n;
+%feature( "autodoc", "Set number of colors in cmap 0." ) plscmap0n;
void
-plscmap0n(PLINT ncol0);
+plscmap0n( PLINT ncol0 );
-%feature("autodoc", "Set color map 1 colors by 8 bit RGB values.") plscmap1;
+%feature( "autodoc", "Set color map 1 colors by 8 bit RGB values." ) plscmap1;
void
-plscmap1(PLINT *Array, PLINT *ArrayCk, PLINT *ArrayCk, PLINT n);
+plscmap1( PLINT *Array, PLINT *ArrayCk, PLINT *ArrayCk, PLINT n );
-%feature("autodoc", "Set color map 1 colors by 8 bit RGB + alpha values.") plscmap1a;
+%feature( "autodoc", "Set color map 1 colors by 8 bit RGB + alpha values." ) plscmap1a;
void
-plscmap1a(PLINT *Array, PLINT *ArrayCk, PLINT *ArrayCk, PLFLT *ArrayCk, PLINT n);
+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
-RGB color space.") plscmap1l;
+%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
+RGB color space." ) plscmap1l;
void
-plscmap1l(PLBOOL itype, PLINT n, PLFLT *Array,
- PLFLT *ArrayCk, PLFLT *ArrayCk, PLFLT *ArrayCk,
- PLBOOL *ArrayCkMinus1Null);
+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
-RGB color space + alpha value.") plscmap1la;
+%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
+RGB color space + alpha value." ) plscmap1la;
void
-plscmap1la(PLBOOL itype, PLINT n, PLFLT *Array,
- PLFLT *ArrayCk, PLFLT *ArrayCk, PLFLT *ArrayCk, PLFLT *ArrayCk,
- PLBOOL *ArrayCkMinus1Null);
+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( "autodoc", "Set number of colors in cmap 1." ) plscmap1n;
void
-plscmap1n(PLINT ncol1);
+plscmap1n( PLINT ncol1 );
-%feature("autodoc", "Set 8-bit RGB value in cmap 0.") plscol0;
+%feature( "autodoc", "Set 8-bit RGB value in cmap 0." ) plscol0;
void
-plscol0(PLINT icol0, PLINT r, PLINT g, PLINT b);
+plscol0( PLINT icol0, PLINT r, PLINT g, PLINT b );
-%feature("autodoc", "Set 8-bit RGB + alpha value in cmap 0.") plscol0a;
+%feature( "autodoc", "Set 8-bit RGB + alpha value in cmap 0." ) plscol0a;
void
-plscol0a(PLINT icol0, PLINT r, PLINT g, PLINT b, PLFLT a);
+plscol0a( PLINT icol0, PLINT r, PLINT g, PLINT b, PLFLT a );
-%feature("autodoc", "Set the background color using 8-bit RGB value.") plscolbg;
+%feature( "autodoc", "Set the background color using 8-bit RGB value." ) plscolbg;
void
-plscolbg(PLINT r, PLINT g, PLINT b);
+plscolbg( PLINT r, PLINT g, PLINT b );
-%feature("autodoc", "Set the background color using 8-bit RGB + alpha value.") plscolbga;
+%feature( "autodoc", "Set the background color using 8-bit RGB + alpha value." ) plscolbga;
void
-plscolbga(PLINT r, PLINT g, PLINT b, PLFLT a);
+plscolbga( PLINT r, PLINT g, PLINT b, PLFLT a );
-%feature("autodoc", "Globally turn color output on/off.") plscolor;
+%feature( "autodoc", "Globally turn color output on/off." ) plscolor;
void
-plscolor(PLINT color);
+plscolor( PLINT color );
-%feature("autodoc", "Set the compression level.") plscompression;
+%feature( "autodoc", "Set the compression level." ) plscompression;
void
-plscompression(PLINT compression);
+plscompression( PLINT compression );
-%feature("autodoc", "Set the device (keyword) name.") plsdev;
+%feature( "autodoc", "Set the device (keyword) name." ) plsdev;
void
-plsdev(const char *devname);
+plsdev( const char *devname );
-%feature("autodoc", "Set window into device space using margin, aspect ratio, and justification.") plsdidev;
+%feature( "autodoc", "Set window into device space using margin, aspect ratio, and justification." ) plsdidev;
void
-plsdidev(PLFLT mar, PLFLT aspect, PLFLT jx, PLFLT jy);
+plsdidev( PLFLT mar, PLFLT aspect, PLFLT jx, PLFLT jy );
-%feature("autodoc", "Set up transformation from metafile coordinates.") plsdimap;
+%feature( "autodoc", "Set up transformation from metafile coordinates." ) plsdimap;
void
-plsdimap(PLINT dimxmin, PLINT dimxmax, PLINT dimymin, PLINT dimymax,
- PLFLT dimxpmm, PLFLT dimypmm);
+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( "autodoc", "Set plot orientation, specifying rotation in units of pi/2." ) plsdiori;
void
-plsdiori(PLFLT rot);
+plsdiori( PLFLT rot );
-%feature("autodoc", "Set window into plot space.") plsdiplt;
+%feature( "autodoc", "Set window into plot space." ) plsdiplt;
void
-plsdiplt(PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax);
+plsdiplt( PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax );
-%feature("autodoc", "Set window into plot space incrementally (zoom).") plsdiplz;
+%feature( "autodoc", "Set window into plot space incrementally (zoom)." ) plsdiplz;
void
-plsdiplz(PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax);
+plsdiplz( PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax );
-%feature("autodoc", "Seed the random number generator.") plseed;
+%feature( "autodoc", "Seed the random number generator." ) plseed;
void
-plseed(unsigned int s);
+plseed( unsigned int s );
-%feature("autodoc", "Set the escape character for text strings.") plsesc;
+%feature( "autodoc", "Set the escape character for text strings." ) plsesc;
void
-plsesc(char esc);
+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( "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);
+plsetopt( const char *opt, const char *optarg );
-%feature("autodoc", "Set family file parameters.") plsfam;
+%feature( "autodoc", "Set family file parameters." ) plsfam;
void
-plsfam(PLINT fam, PLINT num, PLINT bmax);
+plsfam( PLINT fam, PLINT num, PLINT bmax );
-%feature("autodoc", "Set FCI (font characterization integer).") plsfci;
+%feature( "autodoc", "Set FCI (font characterization integer)." ) plsfci;
void
-plsfci(PLUNICODE fci);
+plsfci( PLUNICODE fci );
-%feature("autodoc", "Set the output file name.") plsfnam;
+%feature( "autodoc", "Set the output file name." ) plsfnam;
void
-plsfnam(const char *fnam);
+plsfnam( const char *fnam );
-%feature("autodoc", "Set the current font family, style and weight.") plsfont;
+%feature( "autodoc", "Set the current font family, style and weight." ) plsfont;
void
-plsfont(PLINT family, PLINT style, PLINT weight);
+plsfont( PLINT family, PLINT style, PLINT weight );
-%feature("autodoc", "Shade regions with continuous range of colours.") plshades;
+%feature( "autodoc", "Shade regions with continuous range of colours." ) plshades;
void
plshades( PLFLT **Matrix, PLINT nx, PLINT ny, defined_func df,
- PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
- PLFLT *Array, PLINT n, PLINT fill_width,
- PLINT cont_color, PLINT cont_width,
- fill_func ff, PLBOOL rectangular,
- pltr_func pltr,
- PLPointer SWIG_OBJECT_DATA);
+ PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
+ PLFLT *Array, PLINT n, PLINT fill_width,
+ PLINT cont_color, PLINT cont_width,
+ fill_func ff, PLBOOL rectangular,
+ pltr_func pltr,
+ PLPointer SWIG_OBJECT_DATA );
-%feature("autodoc", "Shade region with discrete colour, pattern fill.") plshade;
+%feature( "autodoc", "Shade region with discrete colour, pattern fill." ) plshade;
void
-plshade(PLFLT **Matrix, PLINT nx, PLINT ny, defined_func df,
- PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
- PLFLT shade_min, PLFLT shade_max,
- PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
- PLINT min_color, PLINT min_width,
- PLINT max_color, PLINT max_width,
- fill_func ff, PLBOOL rectangular,
- pltr_func pltr,
- PLPointer SWIG_OBJECT_DATA);
+plshade( PLFLT **Matrix, PLINT nx, PLINT ny, defined_func df,
+ PLFLT left, PLFLT right, PLFLT bottom, PLFLT top,
+ PLFLT shade_min, PLFLT shade_max,
+ PLINT sh_cmap, PLFLT sh_color, PLINT sh_width,
+ PLINT min_color, PLINT min_width,
+ PLINT max_color, PLINT max_width,
+ fill_func ff, PLBOOL rectangular,
+ pltr_func pltr,
+ PLPointer SWIG_OBJECT_DATA );
-%feature("autodoc", "Set up a user-provided custom labeling function") plslabelfunc;
+%feature( "autodoc", "Set up a user-provided custom labeling function" ) plslabelfunc;
void
-plslabelfunc(label_func lf, PLPointer data);
+plslabelfunc( label_func lf, PLPointer data );
-%feature("autodoc", "Set up lengths of major tick marks.") plsmaj;
+%feature( "autodoc", "Set up lengths of major tick marks." ) plsmaj;
void
-plsmaj(PLFLT def, PLFLT scale);
+plsmaj( PLFLT def, PLFLT scale );
-#if defined ( PYTHON_HAVE_PYBUFFER ) && defined ( SWIG_PYTHON )
+#if defined ( PYTHON_HAVE_PYBUFFER ) && defined ( SWIG_PYTHON )
-%feature("autodoc", "Set the RGB memory area to be plotted (with the 'mem' or 'memcairo' drivers).") 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);
+plsmem( PLINT maxx, PLINT maxy, void *plotmem );
-%feature("autodoc", "Set the RGBA memory area to be plotted (with the 'memcairo' driver).") plsmema;
+%feature( "autodoc", "Set the RGBA memory area to be plotted (with the 'memcairo' driver)." ) plsmema;
void
-plsmema(PLINT maxx, PLINT maxy, void *plotmem);
+plsmema( PLINT maxx, PLINT maxy, void *plotmem );
#endif
-%feature("autodoc", "Set up lengths of minor tick marks.") plsmin;
+%feature( "autodoc", "Set up lengths of minor tick marks." ) plsmin;
void
-plsmin(PLFLT def, PLFLT scale);
+plsmin( PLFLT def, PLFLT scale );
-%feature("autodoc", "Set orientation. Must be done before calling plinit.") plsori;
+%feature( "autodoc", "Set orientation. Must be done before calling plinit." ) plsori;
void
-plsori(PLINT ori);
+plsori( PLINT ori );
-%feature("autodoc", "Set output device parameters. Usually ignored by the driver.") plspage;
+%feature( "autodoc", "Set output device parameters. Usually ignored by the driver." ) plspage;
void
-plspage(PLFLT xp, PLFLT yp, PLINT xleng, PLINT yleng,
- PLINT xoff, PLINT yoff);
+plspage( PLFLT xp, PLFLT yp, PLINT xleng, PLINT yleng,
+ PLINT xoff, PLINT yoff );
-%feature("autodoc", "Set the color map 0 colors using a cmap0 color palette file.") plspal0;
+%feature...
[truncated message content] |