Add an example with time axis, minor fixes