## Macro Command Reference

`normx <ref1> <ref2> <new1> <new2> <BUFFER>`

This function manipulates the buffers by stretching or shrinking along the X axis. The specified reference points in the data are changed in such a way that the `ref1` value becomes the `new1` value and the `ref2` value becomes the `new2` value.

`BUFFER`

a list of one or more data buffers. Possible values are:

`all` | all buffers in the document
`selected` | selected buffers in the document
`unselected` | unselected buffers in the document
`visible` | visible buffers in the document
`hidden` | hidden buffers in the document
`none` | no buffer
`b1,b2,b3,...,bn` | a list of buffers where the arguments may be math expressions.
`bs..be` | buffers from bs to be