Magnetic Orientation and Magnetic Properties of a Single Carbon Nanotube