Open main menu

Changes

Write grace2images

5 bytes added, 09:02, 18 June 2013
"""Write a python "grace to PNG/EPS/SVG..." conversion script..
The makes a conversion script to image types as PNG/EPS/SVG. The conversion is looping over a directory list of *.agr files, and making function calls to xmgrace. Successfull conversion of images depends on the compilation of xmgrace. The input is a list of image types which is wanted, f.ex: PNG EPS SVG. PNG is default.
@type file: file object