
グループ プロットの中央に \vdots を含めようとしています。そのために、境界軸のないプロットを挿入しようとしていますが、できませんでした。
MWE:
\documentclass[border=5pt, multi, tikz]{standalone}
\usepackage{pgfplots} \usetikzlibrary{quotes,arrows.meta}
\usetikzlibrary{decorations.pathreplacing,intersections}
\usetikzlibrary{shapes.misc}
\usetikzlibrary{calc,fit}
\usetikzlibrary{pgfplots.groupplots}
\begin{document}
\begin{tikzpicture}[every edge quotes/.append style={auto, text=blue}]
\begin{groupplot}[
group style=
{group size=1 by 4,
vertical sep=0pt,
group name = myplots},
height=2cm,
width=5cm,
xtick=\empty,
ytick=\empty,
]
\nextgroupplot
\addplot[blue, title=Multichannel Audio] table [col sep=comma] {audio1.csv} coordinate (ax1);
\nextgroupplot
\addplot[red] table [col sep=comma] {audio1.csv} coordinate[near start] (ax2) ;
\nextgroupplot
\addplot[hide axis, draw=none, no markers, axis line style={draw=none},
tick style={draw=none}] {0} node[midway, draw=none, align=center] (ax3) {$\vdots$};
\nextgroupplot
\addplot[green] table [col sep=comma] {audio1.csv} coordinate[near start] (ax2) ;
\end{groupplot}
\end{tikzpicture}
\end{document}
赤と緑のプロットの間に、プロット内の境界ボックスなしで複数のチャネルを表す \vdots を配置したいと思います。
答え1
そこで、いろいろいじってみて、ある方法を見つけました。
\documentclass[border=5pt, multi, tikz]{standalone}
\usepackage{pgfplots}
\usetikzlibrary{quotes,arrows.meta}
\usetikzlibrary{decorations.pathreplacing,intersections}
\usetikzlibrary{shapes.misc}
\usetikzlibrary{calc,fit}
\usetikzlibrary{pgfplots.groupplots}
\begin{document}
\begin{tikzpicture}[every edge quotes/.append style={auto, text=blue}]
\begin{groupplot}[
group style=
{group size=1 by 4,
vertical sep=0pt,
group name = myplots},
height=2cm,
width=5cm,
xtick=\empty,
ytick=\empty,
]
\nextgroupplot
\addplot[blue, title=Multichannel Audio] table [col sep=comma] {audio1.csv} coordinate (ax1);
\nextgroupplot
\addplot[red] table [col sep=comma] {audio1.csv} coordinate[near start] (ax2) ;
\nextgroupplot[hide axis, draw=none, no markers, axis line style={draw=none},
tick style={draw=none}]
\addplot[white] {0} node[black, midway, draw=none, align=center, yshift=3] (ax3) {$\vdots$};
\nextgroupplot
\addplot[green] table [col sep=comma] {audio1.csv} coordinate[near start] (ax2) ;
\end{groupplot}
\end{tikzpicture}
\end{document}
これにより、次の画像が生まれます。
それが私が達成しようとしていたことでした。