![]() | Download Help (Windows Only) |
Owning Class: plots
Requires: MathScript RT Module
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 j-th element of x, the i-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 columns in z. |
y | Specifies a real vector. length(y) must equal the number of rows in z. |
z | Specifies a real matrix. Each element in z represents a color in the image. |
The following table lists the support characteristics of this function.
Supported in the LabVIEW Run-Time Engine | No (always ignored) |
Supported on RT targets | No |
t = 0:0.1:1;
[X, Y] = meshgrid2d(0:0.1:1);
Z = sqrt(X.^2 + Y.^2);
image(t, t, Z)
Helpful
Not Helpful