[pstricks] \psball
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Tue Apr 15 14:57:20 CEST 2014
Am 15.04.2014 13:20, schrieb cyrille piatecki:
> Sincerely sorry for my last invoice. I would understad why the \psBall
> are not on tbe circle
>
> \documentclass[12pt,a4paper]{article}
> \usepackage[utf8]{inputenc}
> \usepackage{pstricks,pst-all,pst-3dplot,pst-plot,pst-slpe,pst-eucl,pst-solides3d,pst-blur,pstricks-add}%,pst-math}
>
>
> \begin{document}
>
> \begin{center}
> \begin{pspicture}(0,0)(14,6)
> \psgrid
> \pscircle(7,3){2}
> \SpecialCoor
> \Rnode{A}{\psBall[origin={7.6;22.9}](2,0.05){blue}{.15cm}}
> \Rnode{B}{\psBall[origin={7.6;22.9}](1.89,0.675){blue}{.15cm}}
> \Rnode{C}{\psBall[origin={7.6;22.9}](1.55,1.275){blue}{.15cm}}
\Rnode{A}{\psBall[origin={7.6;22.9}](2,0.05){blue}{.15cm}}%
\Rnode{B}{\psBall[origin={7.6;22.9}](1.89,0.675){blue}{.15cm}}%
\Rnode{C}{\psBall[origin={7.6;22.9}](1.55,1.275){blue}{.15cm}}%
.. and so on
\Rnode (and also \rnode) are no PSTricks objects. Spaces are not deleted.
This is also possible:
\rput(7.6;22.9){%
\Rnode{A}{\psBall(2,0.05){blue}{.15cm}}%
\Rnode{B}{\psBall(1.89,0.675){blue}{.15cm}}%
\Rnode{C}{\psBall(1.55,1.275){blue}{.15cm}}%
\Rnode{D}{\psBall(1.025,1.75){blue}{.15cm}}%
\Rnode{E}{\psBall(0.35,2){blue}{.15cm}}%
\Rnode{F}{\psBall(-0.35,2){blue}{.15cm}}%
\Rnode{G}{\psBall(-1.025,1.75){blue}{.15cm}}%
\Rnode{H}{\psBall(-1.55,1.275){blue}{.15cm}}%
\Rnode{I}{\psBall(-1.89,0.675){blue}{.15cm}}%
\Rnode{J}{\psBall(-2,0.05){blue}{.15cm}}%
\Rnode{K}{\psBall(-1.84,-0.675){blue}{.15cm}}%
\Rnode{L}{\psBall(-1.55,-1.255){blue}{.15cm}}%
\Rnode{M}{\psBall(-1.025,-1.715){blue}{.15cm}}%
\Rnode{N}{\psBall(-0.35,-1.95){blue}{.15cm}}%
\Rnode{O}{\psBall(0.35,-1.95){blue}{.15cm}}%
\Rnode{P}{\psBall(1.025,-1.65){blue}{.15cm}}%
\Rnode{Q}{\psBall(1.55,-1.27){blue}{.15cm}}%
\Cnode(2;0){R}{\psBall{blue}{.15cm}}}
Herbert
More information about the PSTricks
mailing list