MATLAB: Does the GEOSHOW command not respect the ‘Color’ choice in Mapping Toolbox 2.4 (R2006b)

Mapping Toolbox

When I execute the following code:
geoshow([0 1], [0 1], 'DisplayType', 'point', 'Color', 'y');
in R2006a, the points are yellow, as I would expect. However, when I execute the same command in R2006b, the points are red.

Best Answer

There has been a change in Mapping Toolbox 2.4 (R2006b) concerning the default points and lines in the maps. (See the R2006b release notes for more information.)
The 'MarkerEdgeColor' property is now set to [1 0 0], whereas before it was set to 'auto'.
This means that when the 'MarkerEdgeColor' property is set to a particular color, this color is chosen rather than the color specified by the 'Color' property. When the 'MarkerEdgeColor' property is set to 'auto', however, the color specified in the 'Color' property is seen. You can obtain the yellow color by entering either of the following statements:
geoshow([0 1], [0 1], 'DisplayType', 'point', 'MarkerEdgeColor', 'y')
or
geoshow([0 1], [0 1], 'DisplayType', 'point', 'Color', 'y', 'MarkerEdgeColor', 'auto')