Image plot from xyz matrix
Soepvork
I'm trying to create an image plot from a matrix with xyz data. The data is in a matrix with three columns. When I try to create an image (using the NewImage or Display;AppendImage command), Igor creates an image with three 'lines', as it takes the row number as x-values and the column numbers as y-values. I can get around this issue by using ImageInterpolate on the wave, but this is a time-consuming process. Also, as my data is not evenly spaced in the x or y direction, ImageInterpolate means I have to choose some interpolation value so the image won't be raw data. As there another way to circumvent this issue which lets me plot my raw data as an image?
Cheers!
From the Graph menu, choose Packages->Append Image or Fill Between Contours
Once you have appended the image, you can remove the contour plot (or just remove the contour lines if you think you'll want to change the image parameters later).
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
September 18, 2011 at 08:06 am - Permalink