MATLAB: 2d scan plot in matlab

2d plotsscan plots

Hi,
I want to scan over 2 quantities lets say x and y. For every value of x, I scan over a range of y and record value z for every point. So I have an (x,y) grid and have z which is an x by y matrix. How would I do a 2D plot of over such quantities. Many thanks for any lead.

Best Answer

What your Question lacks in clarity it makes up for in obfuscation.
See if my Answer to Create array from table with observations with two codes will do what you want.