Plot data may be given as either a numeric or boxed array.
A numeric array should be a vector or matrix.
For a 2D plot, 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 3D plot, 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 .
A boxed array is either x;y values for a 2D plot, or x;y;z values for a 3D plot. The boxed values should conform in size.
For a 2D plot, the x values should have the same shape as the y values, or be a vector of length {:$y .
For a 3D plot, 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 of length {:$z .
|