Change variable names to refer to correct dimensions of plots.