# Pie Chart with text outside pie

I'm able to draw pie chart using tex code mentioned below:

\documentclass[landscape,a3paper,11pt]{article}
\usepackage{pgfplots, pgfplotstable}
\begin{document}
\begin{center}
\begin{pspicture}(-5,-4)(4,4)
\psset{unit=1.2}
\bfseries
\rput(psChartI1){Above 10 \%}
\rput(psChartI2){Below 90 \%}
\end{pspicture}
\end{center}
\end{document}


I want to move text inside pie chart to outside (as highlighted in RED color) can you please suggest?

You must use the outer nodes (with letter O) for the positioning (see texdoc pstricks-add):

\documentclass[pstricks]{standalone}
\begin{document}
\begin{pspicture}(-7,-4)(7,4)
\psset{unit=1.2}
\bfseries
\ncline[arrows=<-, arrowscale=1.5, nodesepB=2pt]{psChartI1}{psChartO1}
\ncline[arrows=<-, arrowscale=1.5, nodesepB=2pt]{psChartI2}{psChartO2}
\rput[l](psChartO1){Above 10 \%}
\rput[r](psChartO2){Below 90 \%}
\end{pspicture}
\end{document}


That gives:

• Thank You I'm able to get text outside, is there any way to draw arrow (from pie to outside text)? – Pawan Mude Nov 5 '13 at 12:18
• Yes, see the edited answer, and texdoc pstricks-add ;) – Christoph Nov 5 '13 at 12:24
• :) Thank you ; it's working perfectly ; I'll surely read texdoc mentioned by you – Pawan Mude Nov 5 '13 at 12:34