countour plot of three variable ?

4 Ansichten (letzte 30 Tage)
Akim Mahmud
Akim Mahmud am 20 Dez. 2017
Beantwortet: Walter Roberson am 20 Dez. 2017
Hi I have thistext file ( please see attached )with 3 columns ( lat, lon and depth ) I want to plot a contour map of the water depth as a function of lat and lon. I used the following code contour (lat,lon,depth) where I extracted lat, lon, and depth separately but I get this error "Z must be at least a 2x2 matrix."
any help ? thanks

Antworten (1)

Walter Roberson
Walter Roberson am 20 Dez. 2017
Use griddedInterpolant()

Kategorien

Mehr zu Contour Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by