A medical device and associated method record signals from each real axis of a multi-axis sensor. An optimal axis for monitoring a physiological signal of the patient is identified from the real axes of the multi-axis sensor and multiple virtual axes. Coordinates defining the optimal axis are stored as respective weighting factors of the signals from each real axis of the multi-axis sensor. A metric of the physiological signal is determined using the multi-axis sensor signals and the weighting factors.