I want to plot two figures in the same line. I'm also using the llncs
Springer class file found here for my document.
I have these two figures:
\begin{figure}
\begin{tikzpicture}
\begin{axis}[
ybar,
symbolic x coords={x1, x2, x3},
xtick={x1, x2, x3},
ytick={5, 4, 10},
xticklabel style={rotate=-90},
nodes near coords,
ylabel={Accuracy (\%)},
width = 6.9cm,
legend pos= north east]
\addplot [black] coordinates{(x1, 5) (x2, 4) (x3, 10)};
\end{axis}
\end{tikzpicture}
{\footnotesize $\bf Fig. 10.$ The results using gh algo}
\end{figure}
\begin{figure}
\begin{tikzpicture}
\begin{axis}[
ybar,
symbolic x coords={x1, x2, x3},
xtick={x1, x2, x3},
ytick={4, 7, 23},
xticklabel style={rotate=-90},
nodes near coords,
ylabel={Accuracy (\%)},
width = 6.9cm,
legend pos= north east]
\addplot [black] coordinates{(x1, 4) (x2, 7) (x3, 23)};
\end{axis}
\end{tikzpicture}
{\footnotesize $\bf Fig. 10.$ The results using er algo}
\end{figure}
When I am plotting these two figures like, I always get the second figure below the first figure. What I want is to plot side by side the two figures. How can I modify my code?
Any help will be very appreciated!