Fix x-axis on plots.
BUG: gen_plots function doesn't know k_v params.