Figure-generation for EG-paper