Adds a graph on which you can draw plots.