Allows automatically-updating customized tick marks in Matlab