Transformations and Colors

This week, we covered how transformations work, how colors work, and how we can choose transforms and colors to better suit our data.

References and Reading List

Quick Reference for Matplotlib

Developed and available at github.com/matplotlib/cheatsheets

Lectures

Transformations and Scaling

How do we transform and scale data? How can we apply scalings to data, and what does this have to do with color?

Colors and Colormapping

How do colors work? What are the different ways we can map colors to values? What should we keep in mind when doing this?

Examples

Matplotlib specifics - (download)

This goes over some very specific aspects of matplotlib, and how to apply data transformations to patches and annotations, as well as modifying properties of the plot.

Colormaps - (download)

We load in a brain scan and try some basics of colormapping in matplotlib.

Assignments