[pstricks] Pspie

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Oct 26 22:52:11 CEST 2011


Am 26.10.2011 21:55, schrieb Hernando Diaz Morales:

> I was trying to rebuild some old document that uses the Pspie command and it
> appears that it is no longer in pstricks-add.
> However, the examples (e.g., torte0.tex)  in the pstricks page suggest that
> it should still work.
> Am I doing something wrong? Or, do I have an outdated version?
> Please help.

read the documentation of pstricks-add, there
you find several examples

\documentclass{article}
\usepackage{pstricks-add}
\SpecialCoor

\begin{document}
\begin{center}
\psframebox[fillcolor=black!20,fillstyle=solid]{%
\begin{pspicture}(-3.5,-3.5)(4.25,3.5)
\psChart[chartColor=color]{23, 29, 3, 26, 28, 14, 17, 4, 9}{}{2}
\multido{\iA=1+1}{9}{%
   \ncline[linecolor=-chartFillColor\iA,
     nodesepB=-10pt]{psChartI\iA}{psChartO\iA}
   \rput[l](psChartO\iA){%
     \textcolor{chartFillColor\iA}{pie no \iA}}}
\end{pspicture}}
\end{center}

\end{document}


Herbert


More information about the PSTricks mailing list