how to make a spatial plot?

3 views (last 30 days)
Totanly
Totanly on 15 Apr 2014
Answered: lvn on 15 Apr 2014
hi everybody, i have 3 data sets, latitude,longitude,and rain how to make spatial distribution plot for rain in a certain region. please help

Accepted Answer

lvn
lvn on 15 Apr 2014
Assuming your dataset are vectors, you could simply make a scatterplot
scatter(longitude, latitude, 5, rain);
Alternatively, you can grid your data with griddata and make a contourplot with contourf.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!