countour plot of three variable ?

1 次查看(过去 30 天)
Akim Mahmud
Akim Mahmud 2017-12-20
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

回答(1 个)

Walter Roberson
Walter Roberson 2017-12-20
Use griddedInterpolant()

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by