The effect of twinning and detwinning on the mechanical property of AZ31 extruded magnesium alloy during strain-path changes