Wolfram 语言

增强的地理可视化

合并与修改地图

Show 合并地图并修改其选项.

取两个地图,每个都包含一个彩色多边形.

In[1]:=
Click for copyable input
spain = GeoGraphics[{GeoStyling[Red, Opacity[0.5]], Polygon[Entity["Country", "Spain"]]}]
Out[1]=
In[2]:=
Click for copyable input
italy = GeoGraphics[{GeoStyling[Green, Opacity[0.5]], Polygon[Entity["Country", "Italy"]]}]
Out[2]=

合并地图然后做些修,这里是加入了地理网格线.

In[3]:=
Click for copyable input
Show[spain, italy, GeoGridLines -> Automatic]
Out[3]=

进一步修改地图,现在来改变地理背景的样式.

In[4]:=
Click for copyable input
Show[spain, italy, GeoGridLines -> Automatic]; Show[%, GeoBackground -> "Satellite"]
Out[4]=

相关范例

de en es fr ja ko pt-br ru