www.gusucode.com > map 案例源码 matlab代码程序 > map/DisplayVectorDataCustomizingLineStyleExample.m

    %% Display Vector Data Customizing Line Style
% 
%%
% Read the vector data and display it using a dotted line.

% Copyright 2015 The MathWorks, Inc.

roads = shaperead('boston_roads.shp');
figure
mapshow(roads,'LineStyle',':');