[pstricks] Trying to compile pie chart example
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Wed Jun 5 18:32:48 CEST 2013
Am 05.06.2013 15:49, schrieb john Culleton:
> I extracted the example of a pie chart from page 43 of the draft of the
> users guide. It blows up on the statement \small.
define the command:
\input pstricks
\font\small=cmr10 at 10pt
Herbert
>
> Here is my pdftex file:
> \input pstricks
> \psset{unit=1.2cm}
> \pspicture(-2.2,-2.2)(2.2,2.2)
> \pswedge[fillstyle=solid,fillcolor=gray]{2}{0}{70}
> \pswedge[fillstyle=solid,fillcolor=lightgray]{2}{70}{200}
> \pswedge[fillstyle=solid,fillcolor=darkgray]{2}{200}{360}
> \SpecialCoor
> \psset{framesep=1.5pt}
> \rput(1.2;35){\psframebox*{\small\$9.0M}}
> \uput{2.2}[45](0,0){Oreos}
> \rput(1.2;135){\psframebox*{\small\$16.7M}}
> \uput{2.2}[135](0,0){Heath}
> \rput(1.2;280){\psframebox*{\small\$23.1M}}
> \uput{2.2}[280](0,0){M\&M}
> \endpspicture
> \bye
> What else do I need to add to compile this file?
>
More information about the PSTricks
mailing list