saved the graph in eps