MATLAB: Do I receive an error when I set the “LabelRotation” property to “on” for an axes using the “globe” projection in the Mapping Toolbox 2.0 (R14SP1)

globelatitudelongitudeMapping Toolboxmeridianparallel

When I execute the following commands:
axesm globe;
earth = meshm(topo,topolegend,[90 180]);
mlabel on;
setm(gca,'LabelRotation','on');
I receive the following error:
??? Error using ==> vfwdtran
VFWDTRAN does not work on globe projections
Error in ==> rotatetext at 78
th = vfwdtran(mstruct,lat,lon,90);
Error in ==> plabel at 221
rotatetext(hndl0)
Error in ==> axesm at 777
if strcmp(mstruct.parallellabel,'on'); plabel('reset'); end
Error in ==> setm>setmaxes at 178
varargin{1} = oldstruct; [h,msg] = axesm(varargin{:});
Error in ==> setm at 54
msg = setmaxes(varargin{:});

Best Answer

This change has been incorporated into the documentation in Release 14 Service Pack 3 (R14SP3).
The documentation now states:
"You can use the LabelRotation property when you use the Orthographic or any other Mapping Toolbox projection to align meridian and parallel labels with the graticule. Because the Globe display is not a true map projection and is handled differently internally, LabelRotation does not work with it."