# pgfplotstable an caption below data [closed]

I'd like to have a pgfplotstable with the caption below the data, just like with a regular table:

\begin{table}[h]
\centering
\begin{tabular}{lccc}
A & 3 &  4 & 6 \\
B & 4 &  5 & 7 \\
\end{tabular}
\caption{Blah}
\end{table}


But how to?

I'm trying it like this:

\pgfplotstabletypeset[
col sep=comma,
string type,
every head row/.style={before row=\hline,after row=\hline},
every last row/.style={after row=\hline },
every last row/.append style={after row={\caption{The caption},
]{data.csv}


But i fail with a runaway argument.

-

## closed as too localized by Jake, clemens, Heiko Oberdiek, Andrew Swann, Stefan Kottwitz♦Dec 15 '12 at 15:28

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

It's rather common to place the caption above a table (also with regular tables!). IMHO you should rethink this layout. – clemens Nov 2 '12 at 11:08
Just replace the tabular environment with the \pgfplotstabletypeset one in your first code. – Luigi Nov 2 '12 at 11:15
@cgnieder, I have rules to stick to for this document – Sebastian Nov 2 '12 at 11:24
@Luigi this works. Thanks. – Sebastian Nov 2 '12 at 11:25