used ipython to plot for PHYS357