About This Course
This short course provides an introduction to scientific Data Visualization using Matplotlib, a popular plotting tool for the Python programming language.
This course is instructor-led. Consult the class schedule below for times and locations.
In this workshop you will learn how to use Python's Matplotlib package to visualize scientific data.
The short course covers:
- Matplotlib basics
- Displaying data as an image
- Drawing contour lines
- Drawing vector fields
- 3-D plotting
- Including interactive elements using widgets
- Creating and saving animations
We illustrate these topics with examples and exercises using:
- COVID-19 data
- Simulated flow around a cylinder
- Simulated refraction patterns
If you registered to attend this course online, the session times will be sent to you one week before your program start date. The course will be held on GoToMeeting.
Onsite corporate classes are also available. Discounts are available for 3 or more attendees and academics currently at a degree-granting institution. Contact us using the form on this page to learn more.
Course Syllabus & Topics
This is a virtual class taught in real-time by an Enthought trainer using GoToMeeting.
Functional knowledge of Python fundamentals (data types, looking, control flow, functions) is required. Basic familiarity with NumPy (creating arrays, basic mathematical functions such as sum, exp, sqrt) and Pandas (reading CSV files, selecting columns) is expected.
- Using Visual Studio Code to execute scripts
- Plotting line and bar charts
- Labeling plots
- Setting plot style
- Exercise: Plotting COVID-19 case data
- Plotting 2D data as images
- Controlling mesh size when plotting 2D data
- Drawing contour lines on 2D plots
- Visualizing flow using quiver plots
- Exercise: plot streamlines, velocity potential contour lines, and velocity vector field to visualize flow around a cylinder
- Visualizing 3D data using wireframes and surface plots
- Animating the 1-D wave equation solution
- Exercise: Visualizing and animating the surface of a fluid and optionally, visualizing the diffraction pattern of light passing through it.