Surendra Singhi
2005-02-14 00:36:22 UTC
Hello,
I have a question about tables and subtables, I have created
subtables but when I refer them I get wrong reference number, the
table is referred to as 0(c) when it should be 1(c). Can anyone
please tell me what mistake am I making?
The code for creating table is:
\begin{table}[t]
\centering
\label{table:group}
\subtable[Training Set]{
\label{table:training}
{\scriptsize
\begin{tabular}{|c|c|c|c|} \hline
\multicolumn{3}{|c|}{ \em Attributes} &\em Class \\\cline{1-3}
\em $A_{1}$ &\em $›¼.$ &\em $A_{m}$ & \\\hline
$x_{1,1}$ &$...$ &$x_{1,m}$ & a \\
$x_{2,1}$ &$...$ &$x_{2,m}$ & b \\
$...$ &$...$ &$...$ &$...$ \\
$x_{n,1}$ &$...$ &$x_{n,m}$ & a \\\hline
\end{tabular}
}
}
\caption {Illustration of training $n$ set.}
\end{table} %
%and for referring it
\ref{table:training}
Thanks.
I have a question about tables and subtables, I have created
subtables but when I refer them I get wrong reference number, the
table is referred to as 0(c) when it should be 1(c). Can anyone
please tell me what mistake am I making?
The code for creating table is:
\begin{table}[t]
\centering
\label{table:group}
\subtable[Training Set]{
\label{table:training}
{\scriptsize
\begin{tabular}{|c|c|c|c|} \hline
\multicolumn{3}{|c|}{ \em Attributes} &\em Class \\\cline{1-3}
\em $A_{1}$ &\em $›¼.$ &\em $A_{m}$ & \\\hline
$x_{1,1}$ &$...$ &$x_{1,m}$ & a \\
$x_{2,1}$ &$...$ &$x_{2,m}$ & b \\
$...$ &$...$ &$...$ &$...$ \\
$x_{n,1}$ &$...$ &$x_{n,m}$ & a \\\hline
\end{tabular}
}
}
\caption {Illustration of training $n$ set.}
\end{table} %
%and for referring it
\ref{table:training}
Thanks.
--
Surendra Singhi
www.public.asu.edu/~sksinghi/
Surendra Singhi
www.public.asu.edu/~sksinghi/