Fix plotting so that it produces graphs.