[Tex/LaTex] subplots 3X3 with one colorbar at the top

graphicssubfloats

enter image description here

I wanted to do 3×3 subplots with their colour bar shown north side, I want to write a code that puts them together as 3×3 subplots in Latex and then, I need to place thier colorbar at the north side. I posted a similar question before but the answer was for subplots that are all generated in matlab while what I need is to do 9 .eps files with one colorbar placed northside.

UPDATE: here I added an image of what I want, also I want to have the labels where the zero is and another 3 labels on top; one label for each ( directly below the colorbar).

any help will be greatly appreciated

Best Answer

Instead, if you want this result:

tabular includegraphics figure rotating

The code is the following, with the same recommandations of the previous one:

\documentclass{article}

\usepackage{adjustbox}
\usepackage{booktabs,rotating,bigstrut}

\begin{document}

\begin{center}
    \begin{tabular}{cccc}
        &\multicolumn{3}{c}{\adjustimage{width=.94\textwidth}{}}\\
        &\begin{adjustbox}{max width=.28\textwidth}
            my caption 1 [NW]
        \end{adjustbox}&
        \begin{adjustbox}{max width=.28\textwidth}
            my caption 2 [NN]
        \end{adjustbox}&
        \begin{adjustbox}{max width=.28\textwidth}
            my caption 3 [NE]
        \end{adjustbox}\\
        \begin{sideways}my sideways 1\end{sideways}&
        \adjustimage{width=.29\textwidth}{}&
        \adjustimage{width=.29\textwidth}{}&
        \adjustimage{width=.29\textwidth}{}\\
        \begin{sideways}my sideways 2\end{sideways}&
        \adjustimage{width=.29\textwidth}{}&
        \adjustimage{width=.29\textwidth}{}&
        \adjustimage{width=.29\textwidth}{}\\
        \begin{sideways}my sideways 3\end{sideways}&
        \adjustimage{width=.29\textwidth}{}&
        \adjustimage{width=.29\textwidth}{}&
        \adjustimage{width=.29\textwidth}{}\\
    \end{tabular}
\end{center}

\end{document}