How to center a plot in window using ggplot2? (regardless of length of axis titles, legend, etc.)
问题 [disambiguation: please note, I am not asking how to center the title, for which there are multiple answers already posted] I am creating bar charts, using ggplot2 and one thing I have not been able to figure out is how to make the plot itself be centered in the window, regardless of length of vertical axis label text (which varies by data set), or the presence (or absence) of a legend to the right of the chart. I would like the square that contains the bar chart to always be in the center of