How to plot a map with Latitude, Longitude and Elevation of India?

31 views (last 30 days)
Abhishek Chakraborty
Abhishek Chakraborty on 6 Jul 2020
I have 3 arrays containing the Latitude, Longitude and Elevation. All three of them are column vectors and of India. How do I plot a map on MATLAB using these 3 arrays where the values correspond to the elevation data?

Answers (1)

Reeshabh Kumar Ranjan
Reeshabh Kumar Ranjan on 6 Jul 2020
Edited: Reeshabh Kumar Ranjan on 6 Jul 2020
I think you want to use the mesh function.
>> x = linspace(1, 199, 100);
>> y = x;
>> z = rand(100);
>> mesh(x, y, z);

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by