output temporal occupancy as a pdf figure

code and new figures outputted