回覆列表
  • 1 # 使用者6057070978277

    使用worldmap+geoshow命令繪製中國地圖。直接寫入如下程式碼:

    figure(3)

    subplot(2,2,1);

    worldmap("China"); mapshow(fnshp_L,"Color","k");

    subplot(2,2,2);

    worldmap([0,55],[70,140]); mapshow(fnshp_P,"FaceColor",[0.5,1.0,0.5]);

    setm(gca,"MLineLocation",10);

    setm(gca,"PLineLocation",10);

    setm(gca,"MLabelLocation",20);

    setm(gca,"PLabelLocation",10);

    subplot(2,2,3);

    worldmap("China"); geoshow(fnshp_L,"Color","k");

    subplot(2,2,4);

    worldmap([0,55],[70,140]); geoshow(fnshp_P,"FaceColor",[0.5,1.0,0.5]);

    setm(gca,"MLineLocation",10);

    setm(gca,"PLineLocation",10);

    setm(gca,"MLabelLocation",20);

    setm(gca,"PLabelLocation",10);

    title("中國地圖","FontSize",14,"FontWeight","Bold")

    其中worldmap([0,55],[70,140])為設定顯示緯度經度範圍;setm(gca,"MLineLocation",10)為設定經度間隔;setm(gca,"PLineLocation",10)為設定緯度間隔;setm(gca,"MLabelLocation",20)為設定經度標籤每隔幾度;setm(gca,"PLabelLocation",10)為設定緯度標籤每隔幾度。

  • 中秋節和大豐收的關聯?
  • 描寫一個人做任何事高度集中的句子?