## Macro Command Reference

`datamode <mode>`

Define the format for adding data directly from macros. Data can be added by adding lines containing only numbers.
Possible values for mode are:

`col, 1` | the first value in the line is the x value all other values will be treated as y values
`xy, 2` | the values in a line will be interpreted alternately as x and y values
`err, 3` | lines can have up to 4 values which will be interpreted a x, y, x error and y error