Press and hold the Shift key, while the rectangle you are drawing is the specific color of an axis, to lock drawing operation to that axis.
updated 10/16/2012
Tell us how we're doing - Answer five short questions about your help center experience