Member of the plots class.
image(z)
image(x, y, z)
Plots an image. image(z) plots the (i, j)-th element of z against i and j. image(x, y, z) plots the i-th element of x, the j-th element of y, and the (i, j)-th element of z.
| Name | Description |
| x | Specifies a real vector. length(x) must equal the number of rows in z. |
| y | Specifies a real vector. length(y) must equal the number of columns in z. |
| z | Specifies a real matrix. Each element in z represents a color in the image. |
This function is not supported in the LabVIEW Run-Time Engine. This function can remain in your scripts when you build a stand-alone application or shared library, but the LabVIEW Run-Time Engine does not execute this function.
t = 0:0.1:1;
[X, Y] = meshgrid(0:0.1:1);
Z = sqrt(X.^2 + Y.^2);
image(t, t, Z)