Does not seem to correctly handle when latitude or longitude is negative. i.e. West and South hemispheres.
Using the variable c assigned on line 138, c(12) designates longitude hemisphere as 'E' or 'W' and c(20) latitude hemisphere as 'N' or 'S'.
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.