Add possibility to save diagrams to eps files