0

I have group plot which consists of 2 rows and 3 columns. I need to add text to left of the figure and below of of the figure, very similar to this : enter image description here

\documentclass{article}
\usepackage{amssymb}
\usepackage{tikz} 
\usepackage{graphicx}
\usepackage{pgfplots}
\usetikzlibrary{spy}
\pgfplotsset{compat=1.9}
\usepackage{epsfig}
\usepgfplotslibrary{groupplots}
\usepgfplotslibrary{external}
\usetikzlibrary{external} % set up externalization
\tikzexternalize[shell escape=-enable-write18] % activate     externalisation
\tikzset{external/system call={pdflatex \tikzexternalcheckshellescape     -halt-on-error
-interaction=batchmode -jobname "\image" "\texsource"&&
pdftops -eps "\image.pdf"}}

\begin{document}
\begin{tikzpicture}[spy using outlines={rectangle, magnification=2,connect spies}]
\begin{groupplot}[
group style={
    vertical sep=0,
    group name=my plots,
    group size=3 by 2,    },
 ybar,
width=8cm,
height=6cm,
ymin=0, 
xtick align=inside,
]
\nextgroupplot[ymax = 80,xmin = -2, xmax=10,xticklabel pos = right]

\nextgroupplot[ymax = 60,xmin = -2, xmax=4,xticklabel pos = right]

\nextgroupplot[ymax = 60 ,ymin = 0.1,xmin = -5, xmax=5,xticklabel pos = right,ytick = {20,40,60},xtick = {-4,-2,0,2,4}]

\nextgroupplot[ymax = 60,xmin = -5, xmax=5]

\nextgroupplot[ymax = 40,xmin = -1, xmax=1]

\nextgroupplot[xmin=-6,xmax=2,ymax = 70]

\end{groupplot} 
\end{tikzpicture}
\end{document}

0 Answers0