flag for extracting figure