Visualizing Data

Visualizing Data

Carlos Hurtado

Department of Economics University of Illinois at Urbana-Champaign

hrtdmrt2@illinois.edu

Oct 3rd, 2017

C. Hurtado (UIUC - Economics)

Numerical Methods

On the Agenda

1 2D Figures in Python 2 Matplotlib vs. Pylab 3 Saving a Figure 4 Detailed Graphs 5 Two ore more graphs in one figure 6 Histograms 7 Colormaps and Contour 8 3D Plots

C. Hurtado (UIUC - Economics)

Numerical Methods

On the Agenda

2D Figures in Python

1 2D Figures in Python 2 Matplotlib vs. Pylab 3 Saving a Figure 4 Detailed Graphs 5 Two ore more graphs in one figure 6 Histograms 7 Colormaps and Contour 8 3D Plots

C. Hurtado (UIUC - Economics)

Numerical Methods

2D Figures in Python

2D Figures in Python

The purpose of scientific computation is insight, not only numbers To understand the meaning of the numbers we compute, we often need post-processing, statistical analysis and graphical visualization of our data. The Python library Matplotlib is a python 2D plotting library which produces quality figures. You can generate histograms, bar charts, scatter plots, etc. Matplotlib as an object oriented plotting library. Pylab is an interface to the same set of functions

C. Hurtado (UIUC - Economics)

Numerical Methods

1 / 15

On the Agenda

Matplotlib vs. Pylab

1 2D Figures in Python 2 Matplotlib vs. Pylab 3 Saving a Figure 4 Detailed Graphs 5 Two ore more graphs in one figure 6 Histograms 7 Colormaps and Contour 8 3D Plots

C. Hurtado (UIUC - Economics)

Numerical Methods

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download