matplotlib

Visualization Fun with Python

by Jess K February 10, 2014

The below plot is my favorite data visualization I created for my thesis. It is a 2D density plot with histograms projected along each axis. I based the above plot on code from here, however this plot also includes a 2D temperature/density plot in the middle, and 1/2/3 sigma contour lines.  Below is the code I […]

{ 9 comments }

Read more →

Slim down your bloated graphics

by Jessica Lu January 17, 2014

This post was originally written by Erik Petigura who is a graduate student at UC Berkeley and visitor at the IfA, Hawaii working on exo-planet hunting. The post was modified by Jessica R. Lu to incorporate suggestions from a Facebook Astronomers Group thread on the same topic.  Have you ever encountered a paper or proposal PDF […]

{ 10 comments }

Read more →

Plotting to a File in Python

by Jess K September 20, 2013

Have you ever wanted to save a Python/Matplotlib image directly to a file instead of having it displayed in an X11 window? I needed to do this for a project where I used qsub/PBS to submit jobs to a cluster and I wanted to plot some results for each run and save them to a […]

{ 8 comments }

Read more →