Plot data for ex2 with Python.