longitude and latitude plot map

17 ビュー (過去 30 日間)
Blake De Brock
Blake De Brock 2015 年 1 月 28 日
回答済み: Chad Greene 2015 年 1 月 28 日
I am trying to plot a map using a file i hjave downloaded
I have to asign two columns of the loadedd array to different variables (the first column is longitutde and second column is latitude.)
i have to then plot the data as a black linje. and add gridlines.
can anyone help me with this? I am lost on where to begin

回答 (1 件)

Chad Greene
Chad Greene 2015 年 1 月 28 日
Have you tried this?
plot(lon,lat,'k-')
grid on
xlabel('longitude')
ylabel('latitude')

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by