MATLAB: Can’t I specify the markers for the lines in contour plots

argumentscontourlineMATLABplotstype

According to the documentation for CONTOUR, using the syntax CONTOUR(…,'LINESPEC'), will allow me to specify the Color and the LineStyle of the lines. It won't allow the setting of a Marker for the lines.
Why doesn't it allow the full LineSpec, including the Marker. like the PLOT function?

Best Answer

This issue has been forwarded to our development staff as an enhancement request.
As a workaround, the Marker can be specified after the CONTOUR function:
linespec = 'k:';
[c,h] = contour(peaks,linespec);
set(h,'Marker','o')