refactored plots.width to plots.height