0
\begin{document}
\begin {tikzpicture}[scale=0.65]

   \pie [sum=100]{46.5/, 31.6/, 8.2/, 13.7/}

   \pie [text=legend,pos ={7.9,0}]{46.8/Limerock, 31.9/Sand,7.5/Water,13.8/Cement}

\end {tikzpicture}
\end{document}

I need help closing the pie charts...Every time I recompile there is a small fraction that isn't closed. Any help?

2
  • 2
    Could you please provide a minimal working example, i.e. a compilable document that starts with \documentclass and ends with \end{document}. Otherwise you may have to wait very long until you find out who stole the piece of your pie ;-) – user121799 Dec 12 '17 at 2:52
  • 4
    I'm voting to close this question as off-topic because the package was outdated. An update solves the problem. – Henri Menke Dec 12 '17 at 5:56
2

Cannot reproduce with latest pgf-pie.sty from CTAN.

\documentclass{article}
\usepackage{pgf-pie}
\begin{document}
\begin {tikzpicture}[scale=0.65]
  \pie[sum=100]{46.5/, 31.6/, 8.2/, 13.7/}
  \pie[text=legend,pos={7.9,0}]{46.8/Limerock, 31.9/Sand,7.5/Water,13.8/Cement}
\end {tikzpicture}
\end{document}

enter image description here

4
  • 2
    May I ask you to mention that pgf-pie.sty is not included in tex-live? (That is, if @Griff uses tex-live, and uses an outdated version, this might be the reason for the missing piece.) – user121799 Dec 12 '17 at 3:53
  • Thank you. Also, how exactly do I caption each graph? I want to label the left one "Mix A1" and the right one "Mix A2." I want the captions to be above. – Griff Dec 12 '17 at 5:51
  • @Griff How to Ask and minimal working example (MWE) – Henri Menke Dec 12 '17 at 5:55
  • @Griff \node at (0,3.5) {Mix A1}; \node at (7.9,3.5) {Mix A2}; – Torbjørn T. Dec 12 '17 at 7:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.