I'm having trouble replicating this graph
I know it's silly to do a graph with so little info, but my teacher demands it.. go figure...
I can't seem to make the bars stick together. It's my first attempt at TikZ ever...
what I've done so far:
\documentclass{article}
\usepackage{pfgplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[ symbolic x coords={18S, HNF1, Normalização dos valores para 18S}, xtick=data]
\addplot[ybar,fill=black] coordinates {
(18S,42)
(HNF1,50)
(Normalização dos valores para 18S,80)
};
\addplot[ybar,fill=gray] coordinates {
(18S,50)
(HNF1,30)
(Normalização dos valores para 18S, 100)
};
\end{axis}
\end{tikzpicture}
\end{document}
\begin{tikzpicture} \begin{axis}[ symbolic x coords={18S, HNF1, Normalização dos valores para 18S}, xtick=data] \addplot[ybar,fill=black] coordinates { (18S,42) (HNF1,50) (Normalização dos valores para 18S,80) }; \addplot[ybar,fill=gray] coordinates { (18S,50) (HNF1,30) (Normalização dos valores para 18S, 100) }; \end{axis} \end{tikzpicture}
this is more or less the example in the manual, I've been wrapping my head around the manual for some time now, guess this will take some time and patience\documentclass{article}
andbegin{document}
etc.) and edit your question to include it, instead of adding the code as a comment.