Graphing phase plots of physical systems