Rotate x axis labels

Added the ability to specify a rotation angle for x-axis labels, and to change the default margins (once the label is rotated, the margin probalby needs to be bigger).