Clear Filters
Clear Filters

countour plot of three variable ?

1 view (last 30 days)
Akim Mahmud
Akim Mahmud on 20 Dec 2017
Answered: Walter Roberson on 20 Dec 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

Answers (1)

Walter Roberson
Walter Roberson on 20 Dec 2017
Use griddedInterpolant()

Categories

Find more on Contour Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!