Plot history index with ggplot2.

# S3 method for path_index
plot(x, ...)