Increase contrast in geoscatter
1 次查看(过去 30 天)
显示 更早的评论
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/806814/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/806819/image.jpeg)
3 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!