I want to align several pie charts of different sizes in one table. Specifically, I want that these pie charts are horizontally and vertically aligned such that the centers of the pie charts are on one horizontal and vertical line, respectively. So far I was not succesfull. Any ideas?
%
% Examples for pgf-pie, by Yuan Xu
%
% Based on the manual from:
% http://code.google.com/p/pgf-pie/
%
\documentclass{article}
\usepackage{fullpage}
\usepackage{pgf-pie}
\begin{document}
\maketitle
\begin{table}[h!]
\centering
\begin{tabular}{m{2cm} c c}
\hline
& A & B \\ \hline
A &
\begin{center}
\begin{tabular}{m}
\begin{tikzpicture}
\pie[radius = 0.3*3,
color = {green, gray, red}, sum=auto]{1/, 5/, 1/}
\end{tikzpicture}
\end{tabular}
\end{center}&
\begin{center}
\begin{tabular}{m}
\begin{tikzpicture}
\pie[radius = 0.3*1.25992104989,
color = {gray}, sum=auto]{2/}
\end{tikzpicture}
\end{tabular}
\end{center}\\
B &
\begin{center}
\begin{tabular}{m}
\begin{tikzpicture}
\pie[radius = 0.3*1.44224957031,
color = {gray}, sum=auto]{3/}
\end{tikzpicture}
\end{tabular}
\end{center}&
\begin{center}
\begin{tabular}{m}
\begin{tikzpicture}
\pie[radius = 0.3*1.58740105197,
color = {gray, red}, sum=auto]{2/ , 2/}
\end{tikzpicture}
\end{tabular}
\end{center}
\end{tabular}
\end{table}
\end{document}
Currently it looks like that:
It should look loke this: