All Entries Tagged matplotlib

matplotlib: a plotting library
matplotlib
is a 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms.matplotlib
can be used in scripts, the Python ... 0
 by SciPy Central
 on 01 July 2011

Geometric illustration of the SVD
Given the SVD of a matrix, A, such that \(A=U \Sigma V^*,\) plot the columns of \(U\) and \(V\), and show how vectors on the unit circle are transformed ...

OpenPIV  Open Souce Particle Image Velocimetry
PIV is a most ubiquitous experimental method in fluid mechanics. It’s based on imaging of flows seeded with small particles, illuminated by a laser sheet and recorded in two ...

Plotting Trellis Diagrams with CommPy in Python
It is often required to visualize the trellis representation of a convolutional code. This is an attempt to provide the same as shown below

CommPy  Digital Communication with Python
CommPy is an open source toolkit implementing digital communication algorithms in python using SciPy, NumPy, Matplotlib and Cython.

pcolorlike plotting wrapper for imshow
Matplotlib’s pcolor function becomes slow when the amount of data is large. The workaround is to use imshow, but this function has a different interface which is somewhat clumsier ...

NumPy Beginner's Guide Second Edition Release Imminent
NumPy Beginner’s Guide (second edition) is due to be released on 24 April. What you will learn from this book:
Perform high performance calculations with clean and efficient NumPy ... 
NumPy Beginner's Guide Second Edition Giveaway Contest
Win free ebooks of NumPy Beginner’s Guide Second Edition Giveaway Contest

Absolute plot size and margins in Matplotlib
This function computes the figure size and relative margins necessary for a given plot size and absolute margins. For example, this is useful when making exactly square plots, or if ...

Print Targeted Plots
Make plots suitable for printed publication. This module contains functions to improve the appearance of
matplotlib
plots that will appear in print. The recommended usage is to first decide on ... 0
 by Andrew Davis
 on 26 October 2013

Simple interactive Matplotlib plots
Interactive graphs with Matplotlib have haunted me. So here I have collected a number of tricks that should make interactive use of plots simpler. The functions below show how to ...
 0
 by thomas.haslwanter
 on 30 March 2015

Building a simple interactive 2ddata viewer with Matplotlib
This is a very simple, but practical 2ddata viewer, which uses only matplotlib widgets. Click: on the image or the plots to get a cross section  x or y depending ...
 0
 revision 5
 by lissacoffey
 on 08 April 2015

ROC curve demo
This script can be used to understand the relationship between the signal absent and signal present distributions and the ROC curve which they generate. The distributions are assumed to be ...

Ten simple rules for better figures
This link to the sources of the figures of the article “Ten Simple Rules for better figures”, Nicolas P. Rougier, Michael Droettboom, Philip E. Bourne, PLOS Computational Biology, 2014. Article ...
 0
 by Nicolas Rougier
 on 28 September 2015

SciPy Lectures Notes
These are a consistent set of materials to learn the core aspects of the scientific Python ecosystem, from beginner to expert. They are written and maintained by a set of ...
 0
 by Nicolas Rougier
 on 28 September 2015

Matplotlib tutorial
Matplotlib is probably the single most used Python package for 2Dgraphics. It provides both a very quick way to visualize data from Python and publicationquality figures in many formats. We ...
 0
 by Nicolas Rougier
 on 29 September 2015

IBCAO (International Bathymetric Chart of the Arctic Ocean) class for python and Scipy
Class which sets up the IBCAO (projection and loads file) for use with Matplotlib: