It works great with the xticklabel rotation! But, when I save my matlab figure as pdf the pdf file contains rotated version of my matlab figure. I have double check everything and found this function is the cause. I will appreciate if anybody can help me with this.
13 Jul 2012
Rotate XTickLabel to better accommodate long labels and text labels.