imageWithNonSqrPix mimics the high-level form of the builtin function "image" but it displays image object with non-square pixels (disks, hexagons, octagons, rhombus).
You can specify the shape of the pixels and the pattern used to align them.
Run the demos for a better understanding of the concept.
I developed this code mostly for fun. Could it be useful for someone ? Let me know.
Jerome Briot (2021). Image with non-square pixels (https://www.mathworks.com/matlabcentral/fileexchange/48233-image-with-non-square-pixels), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Very nice work ! It works also very well as an alternative to pcolor: e.g.: X=peaks(100);