フィルターのクリア

Plotting various data on worldmap

2 ビュー (過去 30 日間)
Hitesh Bugata
Hitesh Bugata 2020 年 6 月 16 日
コメント済み: KSSV 2020 年 6 月 17 日
I have precipitation, temperature values on a particular day for USA, Canada, India, China. I want to plot them on world map with country name in the background and different symbols/ colours for precipitation, temperature and a small table on the side to say what colour indicates what property. A sample image is attached. Thanks in advance.

採用された回答

KSSV
KSSV 2020 年 6 月 16 日
  1. Select the background world image with good quality.
  2. Read the image using imread, show it using image and fix the limits using axis. Read about imread, image, axis.
  3. USe hold on and plot your required data with different markers. Read about plot for this.
  4. You can show up your country names using text. Read about text.
  5. You can show the explanation using legend. Read about legend.
  2 件のコメント
Hitesh Bugata
Hitesh Bugata 2020 年 6 月 17 日
You are a genius. I faced a difficulty in assigning limits to the axis. When I tried to give axis([-180 180 -90 90]). I tried with 7 images and all of them couldn't adjust to the limitations of the axis I gave. So I went with 'axis auto' and plotted data accordingly. Is there a way to enlarge the image after creating all the data and adding legend? That's because few data points are close to each other and their headings are overlapping when looked at a broad scale. When I zoom in on the image after the code runs, they are visible and clear. How to overcome this problem?
KSSV
KSSV 2020 年 6 月 17 日
You can fix the dimensions of figure. Read about the properties of figure. There are lot of other options, which could help you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by