Introduction

PLplot is a cross-platform software package for creating scientific plots whose (UTF-8) plot symbols and text are limited in practice only by what Unicode-aware system fonts are installed on a user's computer. The PLplot software, which is primarily licensed under the LGPL, has a clean architecture that is organized as a core C library, separate language bindings for that library, and separate device drivers that are dynamically loaded by the core library which control how the plots are presented in noninteractive and interactive plotting contexts.

The PLplot core library can be used to create standard x-y plots, semi-log plots, log-log plots, contour plots, 3D surface plots, mesh plots, bar charts and pie charts. Multiple graphs (of the same or different sizes) may be placed on a single page, and multiple pages are allowed for those device formats that support them.

PLplot has core library support for plot symbols and text specified by the user in the UTF-8 encoding of Unicode. This means for our many Unicode-aware devices that plot symbols and text are only limited by the collection of glyphs normally available via installed system fonts. Furthermore, a large subset of our Unicode-aware devices also support complex text layout (CTL) languages such as Arabic, Hebrew, and Indic and Indic-derived CTL scripts such as Devanagari, Thai, Lao, and Tibetan. Thus, for these PLplot devices essentially any language that is supported by Unicode and installed system fonts can be used to label plots.

Feature Summary

Cross Platform

PLplot is currently known to work on the following platforms:

  • Linux, Mac OS X, and other Unices
  • MSVC IDE on the Microsoft version of Windows (Windows 2000 and later)
  • Cygwin on the Microsoft version of Windows
  • MinGW/MSYS on the Microsoft version of Windows
  • MinGW/MSYS on the Wine (1.6.1 and later) version of Windows

For each of the above platforms, PLplot can be built from source, and for the Linux and Mac OS X platforms third-party binary packages for PLplot are available.

Language Bindings

There are many bindings to the PLplot library

  • Ada
  • C/C++/D
  • Fortran 95
  • Java
  • Lisp
  • Lua
  • OCaml
  • Octave
  • Perl
  • Python
  • Tcl/Tk

Output file formats

PLplot device drivers support a number of plotting file formats.

  • CGM
  • GIF
  • JPEG
  • LaTeX
  • PBM
  • PDF
  • PNG
  • PostScript
  • SVG
  • Xfig

Interactive Platforms

PLplot device drivers support a number of platforms that are suitable for interactive plotting.

  • Gtk+
  • PyQt
  • Qt
  • Tcl/Tk
  • wxWidgets
  • X

Screenshots

Polar plot Shade 3D plots Contouring plot False colour plot Unicode example Alpha color support

You can find the code for these and other examples at the examples page

News

PLplot-5.10.0 has been released

This is the latest stable release of PLplot. We encourage all users to upgrade to this version which... Read more (13 Feb 2014)

PLplot Release 5.9.11

This is a development release of PLplot. It represents the ongoing efforts of the community to improve... Read more (22 Dec 2013)

PLplot release 5.9.10

This is a development release of PLplot. It represents the ongoing efforts of the community to improve... Read more (1 Oct 2013)

Resources

Source Code