I have do a color map for latitude, longitude and arsenic concentration data. Please help me in this regard. I have 2430 data for each variable

Antworten (1)

KSSV
KSSV am 19 Aug. 2016

0 Stimmen

use surf(lon,lat,data) where lon is your longitude matrix/ array, lat is latitude matrix/array and data is your arsenic concentration matrix.
Eg:
[X,Y,Z] = peaks(25);
surf(X,Y,Z);
colorbar

3 Kommentare

MAITHILI MOHANTY
MAITHILI MOHANTY am 19 Aug. 2016
Thanks! I have imported the excel sheet and created a .mat file which contains three variables(lat,long,conc) each 2429x1. But when i am using surf(lat,long,conc), error comes Z must be a matrix, not a scalar or vector. plz help in this regard.
KSSV
KSSV am 19 Aug. 2016
I already mentioned that ....conc must be a a matrix. Attach excel here..
MAITHILI MOHANTY
MAITHILI MOHANTY am 20 Aug. 2016
Please find the attached file..
Thanks

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Color and Styling finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 19 Aug. 2016

Kommentiert:

am 20 Aug. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by