added code to output the pdf figure

of tracked female reproduction