meshcompare(varargi​n)

Helps to visually compare two fields, or multiple fields in pairs. Works on 2D or 3D arrays.

Download
Download

You are now following this Submission

Cite As

Matt Molteno (2026). meshcompare(varargin) (https://uk.mathworks.com/matlabcentral/fileexchange/59520-meshcompare-varargin), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: avinterpnan(A,method)

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.3.0

For 3D arrays, it is possible to specify whether it is rows, columns, or z values which should remain constant to produce the 2D mesh plot.
Try:
meshcompare(aa,aa1,bb,bb1,...,'col');

Download
1.2.0

Made figure axes clearer.

Download
1.1.0

Description update

Download
1.0.0

Download