Increase contrast in geoscatter
조회 수: 3 (최근 30일)
이전 댓글 표시
Andres Salomon Fielbaum Schnitzler
2021년 11월 19일
댓글: Andres Salomon Fielbaum Schnitzler
2021년 11월 22일
Hi, all.
I am using geoscatter to create a video, by concatenating many frames one after the other. When I create just a single image (the image at the bottom below), the background looks really nice, and the streets can be easily identified. However, when I run the video, the contrast of the background becomes much lighter, and the streets are hardly noticeable (the top image below). Do you know how can I fix this? I am not sure if it relates with how do I create the images, or how do I create the video. I am attaching the relevant code below. Thanks in advance
geoscatter(StopsToPlot(:,1),StopsToPlot(:,2),0.01,'y','s','filled')
hold on
for k=1:numel(Border)-1
O=NodesExtended(Border(k),:);
D=NodesExtended(Border(k+1),:);
geoplot([O(1),D(1)],[O(2),D(2)],'b');
end
geoscatter(StopsToPlot(:,1),StopsToPlot(:,2),0.01,'y','s','filled')
hold on
geoplot(EdgesToStop(1,1:2),EdgesToStop(1,3:4),'k');
for k=1:numel(Border)-1
O=NodesExtended(Border(k),:);
D=NodesExtended(Border(k+1),:);
geoplot([O(1),D(1)],[O(2),D(2)],'b');
end
geoscatter(BVeh(:,1),BVeh(:,2),50,[0.4940 0.1840 0.5560],'filled','d')
text(-33.4,-70.54,TextClock,'FontSize',20)
hold off


댓글 수: 3
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!