uneven

Display unevenly distributed data in 2-D and 3-D as ordinary colour-coded, regularly spaced data.
5.7K Downloads
Updated 9 Jan 1998

No License

FFGRID and DENSITY display unevenly distributed data in 2-D and 3-D as ordinary colour-coded, regularly spaced data. This is very useful when dealing with data which are difficult to view using plot3 (which, in my experience, is the case with all 3-D data that are not completely smooth).

FFGRID is a Fast `n' Furious way to do the same job that griddata does for you. The difference is that there is no interpolation. Empty points are left empty rather than trying to fill them using neighbouring points. Also, FFGRID has no problem with multiple points that fall in the same grid cell. Data are displayed using PCOLOR unless output arguments are specified, in which case the matrix of (regularly spaced) data is given along with the vectors s specifying x- and y-dimensions.

DENSITY is akin to HIST in that it displays a density distribution, but this time in 2-D rather than 1-D.

BIN is a small M-file that is needed for FFGRID and DENSITY to do the job right.

Cite As

Oyvind Breivik (2024). uneven (https://www.mathworks.com/matlabcentral/fileexchange/293-uneven), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on General Physics in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0