I would like to get latex code for two commutative diagrams joined by a function between two domains in commutative diagrams
Suppose I have following diagrams
\documentclass[article]{amsart}
\textheight 9.3in \textwidth 6.5in
\topmargin -1cm
\usepackage[all]{xy}\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage{hyperref}
\usepackage{mathrsfs}
\usepackage[all]{xy}
\pagestyle{myheadings}
\usepackage{xypic}
\begin{document}
\[\xymatrixrowsep{10mm} \xymatrixcolsep{10mm}
\xymatrix{
A \ar[r] \ar[d]
& B \ar[d]\\
C \ar[r]
& D}.\]
and
\[\xymatrixrowsep{10mm} \xymatrixcolsep{10mm}
\xymatrix{
M \ar[r] \ar[d]
& N \ar[d]\\
P \ar[r]
& Q}.\]
\end{document}
I would like to get help for digram which has both of these diagrams side by side in the order above and a map from D to P and another map (curved map) from C to Q.