我怎样才能将多幅图像与两个轴(x 和 y)轴组合在一起,如以下附图所示
答案1
您可以使用tikz
matrix
图书馆。
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{matrix}
\newcommand{\graphics}[1]{\includegraphics[width=2cm]{#1}}
\begin{document}
\begin{tikzpicture}[
mygrid/.style={matrix of nodes,
row sep=-\pgflinewidth, column sep=-\pgflinewidth,
nodes={minimum size=1cm}, nodes in empty cells},
]
\matrix (m) [mygrid]
{
|[shift={(-2mm,6mm)}]|100 & \graphics{example-image}&\graphics{example-image-a}&\graphics{example-image-a}&\graphics{example-image-c}\\
|[shift={(-2mm,6mm)}]|200 & \graphics{example-image}&\graphics{example-image-a}&\graphics{example-image-a}&\graphics{example-image-c}\\
|[shift={(-2mm,6mm)}]|300 & \graphics{example-image}&\graphics{example-image-a}&\graphics{example-image-a}&\graphics{example-image-c}\\
|[shift={(-2mm,6mm)}]|400 & \graphics{example-image}&\graphics{example-image-a}&\graphics{example-image-a}&\graphics{example-image-c}\\
& 0:100 & 25:75 & 50:50 & 75:75 \\
};
\draw[thick,-latex] ([shift={(-2mm,-2mm)}]m-4-2.south west) --
([shift={(5mm,-2mm)}]m-4-5.south east)
node[pos=0.5,below=7mm]{PLGA: Myristic Acid Ratio};
\draw[thick,-latex] ([shift={(-2mm,-2mm)}]m-4-2.south west) --
([shift={(-2mm,5mm)}]m-1-2.north west)
node[pos=0.5,left=10mm,rotate=90,anchor=center]{Magnification};
\end{tikzpicture}
\end{document}