pixplot
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 (2024). pixplot (https://www.mathworks.com/matlabcentral/fileexchange/28714-pixplot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Contour Plots >
Tags
Acknowledgements
Inspired: vecslice, Offsets and missing data via pcolor and surf, matlabEXTENDER
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.