\newcommand\cxymatrix[2][]{%
  \begin{xy}*[c]\xybox{\xymatrix#1{#2}}\end{xy} }
