Day 1: Graphics

We start with using Python to create different types of graphics. Graphics can make Math and Analysis come alive though illustration and animation. We will use graphics in the rest of the workshop to help display and explain concepts.

Most of Python graphics is enabled through the matplotlib module. Symbolic graphing is very limited compared to MATLAB but it generates the common type of graphs. Numerical plotting can match MATLAB's ability and can create visually compelling ideas for teaching and learning. We can use it in every calculation to throw light on the mathematics or physics of the problem than merely solving it. Python graphics can create publication quality graphics. Python is very limited in handling functions of three variables or more. Standard Python modules cannot create three dimensional objects like MATLAB. To handle larger variable data you need other additional modules like Mayavi (enthought.com)- which is beyond the scope of this workshop, or Visvis, or Vispy for visualization of 1D - 4D data based on openGL.

Our focus here is to

  • Create different kinds of plots
  • Create well scaled graphic objects
  • Move these objects around if necessary
  • Create animation
  • Create mathematical objects

The slides are in the the link below

The session is hands-on so you will all be creating your own code

Topics

PythonGraphics.pdf