1
|
5167 Views
|
4 Replies
|
8 Total Likes
View groups...
Share

# How to control PointSize in GeoListPlot?

Posted 3 years ago
 I marked two groups very close points on GeoListPlot and hoping to control PointSize to avoid overlap. Should I how to do it? a={{24.9954,121.304},{25.0603,121.202},{24.9528,121.204},{24.9528,121.204},{24.8639,121.216},{24.9001,121.039},{24.9001,121.039},{24.7406,121.089},{24.8056,120.972},{24.697,120.899},{24.5653,120.82},{24.9533,121.222},{25.0355,121.083},{24.9868,121.309}}; b={{24.9001,121.039},{24.8056,120.972},{24.9528,121.204},{24.9948,121.32},{24.9533,121.222},{25.0603,121.202},{24.697,120.899},{24.5653,120.82},{25.0355,121.083},{24.8639,121.216},{24.7406,121.089}}; GeoListPlot[{GeoPosition@a,GeoPosition@b},PlotLegends->Placed[{"A","B"},Bottom],PlotStyle->PointSize[0.01]] 
4 Replies
Sort By:
Posted 15 days ago
 Hi! The documentation page for GeoListPlot now includes a solution. The Details and Options section contains the following: PlotMarkers can take the following forms: ... {g,s} expression g at size s positions = RandomGeoPosition[Entity["Country", "France"], 1000]; GeoListPlot[positions, PlotMarkers -> {Automatic, 5}, ImageSize -> Large] 
Posted 3 years ago
 Thanks Emmanuel & Rohit. These two methods are very suitable for me. I have never considered these methods ~~ It is great!!
Posted 3 years ago
 Hi Ming-Chou,Many points overlap exactly so changing point size is not going to help. Complement[a, b] (* {{24.9868, 121.309}, {24.9954, 121.304}} *) Complement[b, a] (* {{24.9948, 121.32}} *) If the points are close then maybe DynamicGeoGraphics will work. The user can pan and zoom to see the close points. DynamicGeoGraphics[{PointSize[0.01], Red, Point@GeoPosition@a, Blue, Point@GeoPosition@b}, GeoZoomLevel -> 11] 
Posted 3 years ago
 Hi,The default PlotMarkers in GeoListPlot are not really Points, they are Insets. So you can make custom PlotMarkers like: GeoListPlot[{GeoPosition@a, GeoPosition@b}, PlotLegends -> Placed[{"A", "B"}, Bottom], PlotMarkers -> Graphics[{PointSize[.06], Point[{0, 0}]}]]