Creates a centered pseudocolor (checkerboard) plot.


Updated 27 Sep 2010

View License

This is basically a wrapper to the pcolor routine which pads the arrays passed to pcolor so that the full array is plotted. It also centers the ticks on the pixels rather than on the edges. The EdgeColor is set to 'none.' This is good for plotting data on a grid when you don't want any interpolation.

The function can handle the X and Y axis arrays being passed as 1-D arrays or 2-D ones.

Cite As

Samuel Lazerson (2023). pixplot (https://www.mathworks.com/matlabcentral/fileexchange/28714-pixplot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Contour Plots in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Added functionality so X and Y axis can be passed as 2D arrays or 1D vectors.