필터 지우기
필터 지우기

How change color of lines at shapefiles with various ID's?

조회 수: 2 (최근 30일)
Kelly Kyriakou
Kelly Kyriakou 2017년 5월 9일
I have a shapefile with roads and I want all the road to have the same color except from some road with specific ID. I have tried the following but at the figure it is shown with different color the last loop:
for i = 1:size(id2select,1)
roadColors = ...
makesymbolspec('Line',{'Road_ID', id2select(i), 'Color','r'},...
{'Default','Color','b'});
mapshow(map,'SymbolSpec',roadColors);
end
end
I tried also using drawnow but this is animated and I need to be permanent.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by