choosing graph per page in pdf