Debian Codegraph @

texmf-dist/doc/latex/cora-macs/examples/figures/mymatlabgroupfigure_animated.tikz

raw
1 \definecolor{mycolor1}{rgb}{0.00000,0.44700,0.74100}%
2 \definecolor{mycolor2}{rgb}{0.85000,0.32500,0.09800}%
3 \definecolor{mycolor3}{rgb}{0.92900,0.69400,0.12500}%
4 %
5 \begin{tikzpicture}
6 \footnotesize
7 \pgfplotsset{
8 plotstyle1/.style={color=mycolor1, forget plot,alt=<2->{}{draw=none},alt=<2|handout:0>{fill=mycolor1!20}{}},
9 plotstyle2/.style={color=mycolor2, forget plot,alt=<3->{}{draw=none},alt=<3|handout:0>{fill=mycolor2!20}{}},
10 plotstyle3/.style={color=mycolor3, forget plot,alt=<4->{}{draw=none},alt=<4|handout:0>{fill=mycolor3!20}{}}
11 }
12 \def\rows{1}
13 \def\cols{3}
14 \def\horzsep{1cm}
15 \def\basepath{./figures/}
16
17 \begin{groupplot}[%
18 group style={rows = \rows, columns = \cols, horizontal sep = \horzsep},
19 scale only axis,
20 width=1/\cols*\textwidth -\horzsep,
21 legend style={legend columns=2,legend to name=legendname, legend cell align=left,/tikz/every even column/.append style={column sep=0.5cm}}
22 ]
23 \nextgroupplot[xmin=-6.2,xmax=-3.8,ymin=-0.2,ymax=2.2]
24 \input{\basepath mymatlabgroupfigure_animated_11.tikz}
25 \coordinate (top) at (rel axis cs:0,1);
26 \nextgroupplot[xmin=-3.2,xmax=-0.8,ymin=-0.2,ymax=2.2]
27 \input{\basepath mymatlabgroupfigure_animated_12.tikz}
28 \nextgroupplot[xmin=-0.2,xmax=2.2,ymin=-0.2,ymax=2.2]
29 \input{\basepath mymatlabgroupfigure_animated_13.tikz}
30 \coordinate (bot) at (rel axis cs:1,0);
31 \end{groupplot}
32 \path (top|-current bounding box.south)--coordinate(legendpos)(bot|-current bounding box.south);
33
34 \end{tikzpicture}%