No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.txt
gnuplot-def_pdf_term.plt
gnuplot-def_styles4.plt
gnuplot-def_styles5+.plt
gnuplot-ref-colmap-linear.pdf
gnuplot-ref-colmap-plusmin.pdf
gnuplot-ref-colmap-rainbow.pdf
gnuplot-ref-colmap.plt
gnuplot-ref-fonts.pdf
gnuplot-ref-fonts.plt
gnuplot-ref-lines-bw.pdf
gnuplot-ref-lines-col.pdf
gnuplot-ref-lines.plt
gnuplot-ref.pdf
gnuplot-reference-density.plt
gnuplot-reference-fonts.plt
gnuplot-reference-lines.plt
gnuplot-reference.plt
gnuplot_term_pdf_test.pdf
matplotlib-ref-density-linear.pdf
matplotlib-ref-density-plusmin.pdf
matplotlib-ref-density-rainbow.pdf
matplotlib-ref-density.py
matplotlib-ref-latex-mathtext.pdf
matplotlib-ref-latex-tex.pdf
matplotlib-ref-latex.py
matplotlib-ref-zernike.py

README.txt

Tim's plot examples
===================

These are some small scripts in Gnuplot and Python/matplotlib to plot nice figures. Most of the plots are aimed at using Paul Tol's optimal colour schemes[1].

Note that for matplotlib, the colour schemes RdYlBu, YlOrBr and Spectral are close to the colour schemes Paul Tol proposes.

This library 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.

Availability
============

The latest version is available at https://github.com/tvwerkhoven/pretty-plots

Installation / usage
====================

Simply copy and paste the parts of the plot scripts that you need.

Python
------

- matplotlib-ref-density.py generates color map examples
- matplotlib-ref-latex.py generates LaTeX examples
- matplotlib-ref-zernike.py generates example plots of Zernike shapes[2]

Gnuplot
-------

- gnuplot-def_styles4.plt: plot styles for <4 lines
- gnuplot-def_styles5+.plt: plot styles for 5+ lines
- gnuplot-ref-lines.plt: plot example using different linestyles
- gnuplot-ref-colmap.plt: plot examples using Paul Tol's color maps
- gnuplot-ref-fonts.plt: plot examples using custom fonts

Copyright
=========

© 2011--2013 Tim van Werkhoven <timvanwerkhoven@gmail.com>

This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.

This program 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 2
of the License, or (at your option) any later version.

This program 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 this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

Version history
===============

## 20131021

- Cleaned up README file
- Clean up Python scripts
- Relicensed code under GPLv2 as requested
- Published code on Github

## 20111109

- Added README

References
==========

[1] Paul Tol's Notes -- http://www.sron.nl/~pault/
[2] Zernike Polynomials -- Wikipedia, the free encyclopedia -- https://en.wikipedia.org/wiki/Zernike_polynomials