Here's a simple program to demonstrate Benford's Law, which also shows the simple power of matplotlib. It reads from a bunch of files (or stdin, if none specified), extracts the leading digits of all number-like strings found, and plots the distribution in a window together with the expected result if Benford's law applies.
I needed to use the cumulative normal distribution and normal probability density functions repeatedly for some data analysis. I found that I could speed things up drastically by using a lookup table and matplotlib's builtin interpolation function.
An interactive graph to plot the trajectory of points on and off the mandelbrot
set. Illustrates the use of sliders in matplotlib
Creates stacked graphs (sometimes known as stream graphs, apparently) as recommended by Byron and Wattenberg, http://www.leebyron.com/else/streamgraph/download.php?file=stackedgraphs_byron_wattenberg.pdf
Polynomial explorer. You tell this module what order of polynomial you want and it will set up a figure with a graph of that polynomial plotted with x = -1 to +1. It will set up a second figure with a set of coefficient axes. You can click on the...
This snipped illustrates the use of thetagrids and rgrids to customize the polar plot grid
PyMaTi is a simple and easy to use GUI for numerical and scientific computing in Python. It surrounds well know packages NumPy and Matplotlib and provides possibility to immediately play with numerical python from intuitive user interface.
jltk is a library for quickly creating GUIs, specifically for scientific applications, using Python. It is based on wxPython, and integrates plotting using matplotlib.
Simple code to show how to incorporate a pylab plot into wx and then interact with it. This can form the basis of windows/apps that plot various variables that can be changing in the background.
This is a class that allows you to set up an arbitrary probability distribution function and generate random numbers that follow that arbitrary distribution.
From this great tutorial
For two corelated variables, the formula is much as one would get from intuition about the meaning of correlation with some twist due to normalizing the standard deviation:
$X_3 = alpha X_1 +...
The Metropolis-Hastings Sampler is the most common Markov-Chain-Monte-Carlo (MCMC) algorithm used to sample from arbitrary probability density functions (PDF). Suppose you want to simulate samples from a random variable which can be described by...
PyInstaller is a program that converts (packages) Python programs into stand-alone executables, under Windows, Linux, Mac OS X, AIX and Solaris. Its main advantages over similar tools are that PyInstaller works with any version of Python since...
Poctapoc is a data plotting library based on Enthought Tool Suite (ETS) and written mainly in python (some extensions are written in C). It is quite similar to ETS and matplotlib