I want to draw my university logo. My 5 individual TikZ pictures are OK. However, I don't know how to combine them to a single picture. Code: http://integraali.com/uef-logo-tikz.tex
\documentclass[border=5mm]{article}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\vspace{5cm}
\hspace{-1.2cm}
\pgfmathdeclarefunction{f}{0}{%
\pgfmathparse{-0.83*abs(x)-0.28}%
}
\pgfmathdeclarefunction{g}{0}{%
\pgfmathparse{-0.6-1.7*(abs(x)-0.7)^2}%
}
%+1.433 => g(0)=0
\begin{tikzpicture}
\begin{axis}[
height=4.632cm, %height=2.316cm,
width=3.8592cm,%width=1.9296cm,
%height=1.158cm,
%width=0.9648cm,
%anchor=origin, % Same as before <==rotate
%rotate around={-90:(current axis.origin)},
domain=-0.4824:0.4824, %width=0.9648
ymin=-1.433,
ymax=-0.28,%height=1.158
samples=161,
stack plots=y,
axis line style={draw=none},
tick style={draw=none},
yticklabels={,,},
xticklabels={,,}
]
%%%\begin{scope}[yscale=-1,xscale=1] <===flip
% draw graph for the first function f
\addplot+[black,thick,mark=none] {f};
% draw graph of max(g-f, 0) and stack
\addplot+[mark=none,fill=gray!60,black] {g-f} \closedcycle;
%%%\end{scope}
\end{axis}
\end{tikzpicture}
\pgfmathdeclarefunction{fff}{0}{%
\pgfmathparse{-1.3 + x/3 +(x-1.7)^3/15+(x - 1.7)^9/35}%
}
\pgfmathdeclarefunction{ggg}{0}{%
\pgfmathparse{-1.6+(x-2)^3/6}%
}
%+1.433 => g(0)=0
\hspace{0.5cm}
\begin{tikzpicture}
\begin{axis}[
height=3.72cm,
width=2.654cm,
%anchor=origin, % Same as before <==rotate
%rotate around={-90:(current axis.origin)},
domain=0.1973:1.5, %width=1.3027
ymin=-2.64,
ymax=-0.78,%height=1.86
samples=161,
stack plots=y,
axis line style={draw=none},
tick style={draw=none},
yticklabels={,,},
xticklabels={,,}
]
%%%\begin{scope}[yscale=-1,xscale=1] <===flip
% draw graph for the first function f
\addplot+[black,thick,mark=none] {fff};
% draw graph of max(g-f, 0) and stack
\addplot+[mark=none,fill=gray!60,black] {ggg-fff} \closedcycle;
%%%\end{scope}
\end{axis}
\end{tikzpicture}
\vspace{-2.5cm}
\hspace{-1cm}
\begin{tikzpicture}
\begin{axis}[
height=3.72cm,
width=2.654cm,
%anchor=origin, % Same as before <==rotate
%rotate around={-90:(current axis.origin)},
domain=0.1973:1.5, %width=1.3027
ymin=-2.64,
ymax=-0.78,%height=1.86
samples=161,
stack plots=y,
axis line style={draw=none},
tick style={draw=none},
yticklabels={,,},
xticklabels={,,}
]
\begin{scope}[yscale=1,xscale=-1] <===flip
% draw graph for the first function f
\addplot+[black,thick,mark=none] {fff};
% draw graph of max(g-f, 0) and stack
\addplot+[mark=none,fill=gray!60,black] {ggg-fff} \closedcycle;
\end{scope}
\end{axis}
\end{tikzpicture}
\pgfmathdeclarefunction{ff}{0}{%
\pgfmathparse{-2.1+(x-2)^3/8+(x-2)^7/50}%
}
\pgfmathdeclarefunction{gg}{0}{%
\pgfmathparse{-3.5-(x-2)^2/3.5}%
}
%+1.433 => g(0)=0
\vspace{-1cm}
\hspace{0.5cm}
\begin{tikzpicture}
\begin{axis}[
height=4.79204cm,
width=3.7342cm,
%anchor=origin, % Same as before <==rotate
%rotate around={-90:(current axis.origin)},
domain=0.1329:2, %width=1.8671
ymin=-4.49602,%height=2.39602
ymax=-2.1,
samples=161,
stack plots=y,
axis line style={draw=none},
tick style={draw=none},
yticklabels={,,},
xticklabels={,,}
]
%%%\begin{scope}[yscale=-1,xscale=1] <===flip
% draw graph for the first function f
\addplot+[black,thick,mark=none] {ff};
% draw graph of max(g-f, 0) and stack
\addplot+[mark=none,fill=gray!60,black] {gg-ff} \closedcycle;
%%%\end{scope}
\end{axis}
\end{tikzpicture}
\vspace{-3.5cm}
\hspace{-2cm}
\begin{tikzpicture}
\begin{axis}[
height=4.79204cm,
width=3.7342cm,
%anchor=origin, % Same as before <==rotate
%rotate around={-90:(current axis.origin)},
domain=0.1329:2, %width=1.8671
ymin=-4.49602,%height=2.39602
ymax=-2.1,
samples=161,
stack plots=y,
axis line style={draw=none},
tick style={draw=none},
yticklabels={,,},
xticklabels={,,}
]
\begin{scope}[xscale=-1,yscale=1] <===flip
% draw graph for the first function f
\addplot+[black,thick,mark=none] {ff};
% draw graph of max(g-f, 0) and stack
\addplot+[mark=none,fill=gray!60,black] {gg-ff} \closedcycle;
\end{scope}
\end{axis}
\end{tikzpicture}
\end{document}



\vspace*{-1cm}. BTW, your code throws an error on my TeXLive 2017 distribution. – Apr 23 '18 at 14:33