plotResources function

Generic plotting of resources over time