How is the isoline in a 2D contour calculated inside 'contourc' function?

2 views (last 30 days)
Hello Matlab experts,
My questions is about using contourc function to get a isoline in a 2D contour. For example,
iso_line = contourc(x,y,function_of_x_y,[0.5 0.5]);
I assume that the algrithme is interploilating the function_of_x_y on meshgrids(x,y) to get the isoline at 0.5. My question is what is the interpolation function? is it a linear interpolation? Does the uniform or non-uniform grids affect the 2D iso_line matrix?
Thanks in advance.
Bin
  8 Comments
Bin Jiang
Bin Jiang on 25 Apr 2020
Thanks for the clarification. The figure looks more understandable now.

Sign in to comment.

Answers (0)

Categories

Find more on Contour Plots in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!