Constrain dimdata along an axis

Closes #69.