Configure, build, and install PLplot from source

After the source code for PLplot has been obtained the generic steps to configure, build, and install PLplot are as follows:

For additional platform-specific details beyond the above generic steps, please consult our wiki.

After PLplot has been configured, built, and installed, you can write code in C or any of the languages that have PLplot bindings to make the desired PLplot calls. Standard example programs in all supported languages are included with the PLplot software package. The installation of those examples includes both a CMake-based build system (see <installation prefix>/share/plplot5.15.0/examples/CMakelists.txt) and a more traditional (Makefile + pkg-config) build system (see <installation prefix>/share/plplot5.15.0/examples/Makefile) for building and linking the examples. Either of these two build systems can be adapted by users to build and link their own PLplot-related code for compiled languages or to test PLplot related code that is compiled or which is written in a scripting language where PLplot capability is dynamically loaded. However, note the CMake-based build system for the installed examples should work on all platforms where PLplot can be built while the traditional build system for the installed examples will only work on platforms (e.g., Linux) which have make (only with GNU extensions), pkg-config, and bash (required for testing targets) installed. Plots generated from these example programs as well as the source code for those examples in all our supported languages are available from links given here.