# make a figure of subfigures of tables of figures

This question builds off of the following:

grid of subfigures with one caption per row on the left

However, what I would like to do is to have a figure with subfigures having similar to these tables. Specifically, I am looking for something like this:

So, in some sense, put the solution in the link above inside each subfigure. Also, add a caption to each little figure (with some numerical value). Any suggestion as to how I can do this?

• You can put images and text in a tabular. There are many examples here. See tex.stackexchange.com/questions/655714/… for example. The only restriction is that \caption has to go into a paragraph type column. Sep 4 at 14:10

Your image can be simple reproduced by expand of code in the question given link to desired number of columns and rows. Using tabularray and adjustbox packages the table code is simple and short:

\documentclass{article}
\usepackage{geometry}               % for set up page layout
\usepackage{tabularray}
\UseTblrLibrary{counter,varwidth}   % <===
\usepackage[skip=0.33\baselineskip]{subcaption}

\begin{document}
\begin{figure}[ht!]
valign=m
}

\begin{tblr}{vline{5,8} = {1-5}{solid},
colsep=2pt,
colspec = {@{} r *{9}{X[c]} @{}},
measure = vbox,
hspan = minimal,
}
& coll 1 & coll 2 & coll 3
& coll 1 & coll 2 & coll 3
& coll 1 & coll 2 & coll 3          \\
\\
& val a11 & val a12 & val a13
& val b11 & val b12 & val b13
& val c11 & val c12 & val c13       \\