extract plot