Skip to content

fcontour

matlab_compat · scripts/matlab_compat/fcontour.m

FCONTOUR  Plot contours of a function of two variables (MATLAB R2026a).

  fcontour(f)
  fcontour(f, [xmin xmax])
  fcontour(f, [xmin xmax ymin ymax])
  fcontour(..., LineSpec)
  fcontour(..., Name, Value)
  fcontour(ax, ...)
  h = fcontour(...)

  Returns a matlab.graphics.function.FunctionContour object.  Name-value
  pairs include LevelList, MeshDensity, XRange, YRange, Fill, LineColor,
  LineStyle, and LineWidth.  Default sampling domain is [-5 5] x [-5 5]
  with MeshDensity 71 (MATLAB R2026a).