S2PLOT: A Three-Dimensional Plotting Library
S2PLOT is an advanced three-dimensional plotting library with support for standard and enhanced display devices. The S2PLOT library was written in C and can be used with C, C++ and FORTRAN programs on GNU/Linux and Apple/OSX. The S2PLOT architecture supports dynamic geometry and can be used to plot both static and time-evolving data sets. S2PLOT is based on the OpenGL graphics library.
With a programming interface inspired by PGPLOT, S2PLOT provides researchers with elegant techniques for displaying and interactively exploring 3D data sets directly from their program code.
This latest version of S2PLOT is the first to be released through the GNU GPL, and needs to be compiled on your local system.
Please follow all instructions in the INSTALL.TXT file that accompanies the source distribution.
Announcement: Thank you to Tom Marsh for providing updated Python wrappers. (March 2014)
You can access these on: github.
Sample code: How to create and display spherical coordinate grids.
Howto: How to embed S2PLOT visualisations in PDF Documents and on the Web with Flash.
This website provides the main source of information on obtaining, installing and programming with S2PLOT.
- Features and Concepts of S2PLOT
- Download the S2PLOT distribution
- Installation instructions to get you started
- Function List including sample code for every S2PLOT function
- Keyboard and mouse controls for interactivity
- Environment variables to control properties of S2PLOT windows, etc.
- How To perform a range of common visualisation tasks in S2PLOT
- Frequently Asked Questions
- Advanced displays such as stereoscopic and dome projection are supported
- Download and install the S2PLOT Python module
- Contact us for new versions, feedback or bug reports
- Publications related to S2PLOT and visualisation
- Gallery of images created with S2PLOT
|Built on top of OpenGL|
Nicholas Jones is acknowledged for providing the S2PLOT Python module.
S2PLOT 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 programming library and sample codes are distributed in the hope that they 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.
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.
The initial S2PLOT development was funded through the Researcher Developer Grant Scheme at Swinburne University of Technology.