# Plot/Data

Plot | Verbs | Class Commands Data Options Outputs Types | Colors Fonts Keys Text YAxes | Function Multi Shape

Plot data may be given as either a numeric or boxed array.

A numeric array should be a vector or matrix.

- for a plot requiring 2D data, a vector is the y values and a matrix is treated as rows of y values. The x axis defaults to
`i.{:$y` - for a plot requiring 3D data, the array should be a matrix and is treated as z values. The x axis defaults to
`i.# z`and the y axis to`i.{:$z` - complex data is treated as x (real) and y (complex) values.

A boxed array is either `x;y` or `x;y;z` values. The boxed values should conform in size.

- for a plot requiring 2D data, the x values should have the same shape as the y values, or be a vector of length
`{:$y` - for a plot requiring 3D data, the x and y values should have the same shape as the z values, or the x values should have length
`#z`and the y values length`{:$z`

More than one set of data can be given.