subplots for time and f