About the PGFplots examples gallery
PGFplots is a delightful package for creating high quality plots for use with (La|Con)TeX. The purpose of this examples gallery is to showcase PGFplots, and to be a useful learning resource.
The examples in the gallery are copyrighted by their respective authors. Some of the examples are from the PGFplots manual, which belongs to the PGFplotspackage which is released under GNU General Public License version 2.0 (GPLv2). All other examples are are available under a Creative Commons attribution license.
Proper attribution is to mention somewhere in your code or document who made the illustration and to provide a link to http://pgfplots.net.
Contribute an example!
You are more than welcome to contribute PGFplots examples. Send an email to me or see the contact page for other ways to reach me. All contributed examples must be released under the Creative Commons attribution license.
The gallery is implemented using the high-level Python Web framework Django. A Python script is used to build and update the gallery from a set of LaTeX source files. The following tools and libraries are used in the process:
- Docutils for formatting the example descriptions. The description of each example is put inside a comment environment, formatted using the reStructuredText syntax.
- pygments for syntax highlighting.
- The preview LaTeX package for extracting and cropping the figures.
- pdfTeX for generating PDFs.
- Ghostscript for creating PNG images.
- The Python Imaging Library (PIL) for image resizing and image thumbnail generation.