Create Mesh Grid (2D) (x array) VI
- Updated2025-07-30
- 2 minute(s) read
Takes two x domain and y domain arrays and forms X and Y 2D arrays, which are typically used to evaluate and plot functions of two variables. You must manually select the polymorphic instance to use.

Inputs/Outputs
domain
—
domain becomes the repeated row data in the output X.
X
—
X is an N x N 2D array formed by creating N identical rows of domain data, where N is the number of elements in domain.
Y
—
Y is an N x N 2D array formed by creating N identical columns of domain data, where N is the number of elements in domain.
error
—
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Mathematics\Interpolation\2D Interpolation.vi
domain
—
X
—
error
—