changed plotting to index, not time (but labelled in time)