Jump to: navigation, search


The S2PLOT Python module

The S2PLOT Python module is a Python module which provides an interface to the S2PLOT graphics programming library. All capabilities of S2PLOT are supported in the Python module, including advanced features such as camera control, texture handling, and dynamic callbacks.

The documentation for this module is limited to the INSTALL.TXT file (in the distribution - see below) which contains sufficient information for installation and operation of the supplied example Python programs. Bug reports and requests for help should go to the S2PLOT Google Group.

Unlike the S2PLOT library, the Python module is made available in open source form under the terms of the GNU General Public License.

The principal author of the S2PLOT Python module is Nicholas Jones. Updates to include additional functions were made by Matthew Turk and Tom Marsh.


The current S2PLOT Python module distribution is now available from github. Please follow the instructions provided with the github distribution.

Older versions

An earlier version of the Python headers for version 2.4 is also available. Simply download the source code distribution, extract it and follow the instructions in the included INSTALL.TXT file.

Version 2.4pre of the S2PLOT Python module is developed and tested against version 2.4 of the S2PLOT library.


The S2PLOT Python module is Copyright 2008 Swinburne University of Technology.

The S2PLOT Python module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The S2PLOT Python module 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with the S2PLOT Python module. If not, see http://www.gnu.org/licenses/.

We would appreciate it if research outcomes using S2PLOT would provide the following acknowledgement:

"Three-dimensional visualisation was conducted with the S2PLOT progamming library"

and a reference to

D.G.Barnes, C.J.Fluke, P.D.Bourke & O.T.Parry, 2006, Publications of the Astronomical Society of Australia, 23(2), 82-93.

Personal tools