[pstricks] funny behaviour of pstArcOAB

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat Sep 27 11:20:59 CEST 2008


Doris Wagner schrieb:

> please look at the much more funny behaviour of \pstRotation and the  
> still wrong beahaviour of \pstArcnOAB in the following code, where I  
> changed all the dotnode-definitions to pnode:

there are some negative iteractions between pnode and pstGeonode.
Use _always_ pstGeonode and everything should be fine, at least
for me in the following example :-)

Herbert

\documentclass{article}
\usepackage{pstricks,pst-eucl}
\pagestyle{empty}

\begin{document}
\psset{unit=.7cm}
\psset{linecolor=gray}
\begin{pspicture*}(12,13)
\psgrid[subgriddiv=0,gridwidth=.3pt,gridcolor=black!20]
\pstGeonode(3.5,6){A}(8.5,6){B}
\uput{.3}[dl]{0}(A){$A$}
\pstInterCC[PointSymbolA=*,RadiusA=\pstDistVal{3},
  RadiusB=\pstDistVal{4}]{A}{}{B}{}{C}{X}
\pspolygon[fillstyle=solid,fillcolor=lightgray,showpoints=true](A)(B)(C)
\pspolygon[showpoints=true,linecolor=black](A)(B)(C)
\pstInterLC[PointSymbolB=*]{B}{C}{C}{A}{U}{D}
\pstInterCC[RadiusA=\pstDistVal{4},RadiusB=\pstDistVal{3}]{A}{}{B}{}{Z}{Y}
\pstInterLC[PointSymbolA=*]{A}{Y}{A}{C}{E}{V}
\psline(A)(E)(D)(C)
\pstGeonode([nodesep=5]E){F}
\psline[showpoints=true](E)(F)
\pspolygon[linewidth=1.2pt,linecolor=black,showpoints=true](A)(B)(F)(E)
\pstGeonode(3.5,1){G}
\pstCircleOA{A}{B}
\pstGeonode([offset=-5]C){H}
\pstArcOAB[linewidth=2pt,linecolor=red]{A}{G}{B}
\pstArcnOAB[linestyle=dashed,linecolor=blue,
  arrowscale=2,arrows=->]{A}{E}{C}
\pspolygon[linecolor=blue,linewidth=1.2pt](A)(C)(H)(G)
\pstRotation[RotAngle=-90,CodeFig=true]{A}{C}[H]
\end{pspicture*}
\end{document}





More information about the PSTricks mailing list