フィルターのクリア

What function to plot lat, lon and a variable on a topographic map?

2 ビュー (過去 30 日間)
goyanks1989
goyanks1989 2016 年 5 月 9 日
コメント済み: Chad Greene 2016 年 5 月 10 日
My variables are latitude, longitude and land surface temperature and are set up as 1200 x 1200 tables. I would like to plot the land surface temperature that correspond with the latitude and longitude values for the Northeastern U.S. area.
When I load topo and run my code:
plot(geoshow(lat, lon, final_lst_day))
I receive the error:
Error using plot
Not enough input arguments.
When I do not load topo, the plot will actually run but comes out blank because I did not load any topographic data to plot it on.
Is geoshow the appropriate function to run? I have tried meshgrid but also am getting an error.
Thank you for the help!

回答 (1 件)

Chad Greene
Chad Greene 2016 年 5 月 9 日
There's no need to call plot if you're using geoshow. Initialize a map with worldmap then plot the data with geoshow.
  2 件のコメント
goyanks1989
goyanks1989 2016 年 5 月 10 日
do you have any other suggestions besides worldmap? I do not have the mapping tool installed with my version of Matlab.
Thank you!
Chad Greene
Chad Greene 2016 年 5 月 10 日
If you don't have the Mapping Toolbox, you can't use geoshow either. But you can do
imagesc(lon,lat,final_lst_day)
axis xy image
hold on
borders('countries')
if you download my borders function.

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

Community Treasure Hunt

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

Start Hunting!

Translated by