generate figure with timer