Offsets and missing data via pcolor and surf

A brief explanation of the half-pixel offset in pcolor and surf.

You are now following this Submission

The pcolor and surf functions discard a row and column of data. Take a look at the example file (the light bulb icon) for a depiction of the effect.

Cite As

Chad Greene (2026). Offsets and missing data via pcolor and surf (https://au.mathworks.com/matlabcentral/fileexchange/50706-offsets-and-missing-data-via-pcolor-and-surf), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Minor edits.

1.0.0.0