# [pstricks] PSTricks Digest, Vol 111, Issue 3

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat Apr 7 08:54:50 CEST 2012

Am 06.04.2012 11:24, schrieb Cyrille Piatecki:

> I wonder why I am oblige to put the tilted graph not exactly at (4, 0)
> but at (4.4,0) from in such a way it be posed in (9,1). Where is my
> mistake? Secondly I have tried also to use
> \pscisaillement[cisX=60]{\gr} from the psy=t-transform package but it
> seems to have a weird comportment between the curve and the line.

Cyrille,

it seems to be a problem with the origin parameter, which
works only for graphical objects which are internally defined as
\pst at object{..}. However, this works in a better way:

\documentclass{article}
\usepackage{pst-3d,pst-plot}
\def\gr{\pspicture(4,4)%
\psline[linecolor=red](0,4)(0,0)(4,0)%
\psplot[algebraic,linewidth=2pt,linecolor=blue]{.5}{4}{x^(-2)}%
\endpspicture}
\begin{document}

\begin{pspicture}[showgrid](3,0)(14,6)
%\psgrid
\psline[linestyle=dashed](9,1)(9,5)
\psarc[linestyle=dashed]{<-}(9,1){4cm}{65}{85}
\pspolygon[linecolor=green](4,1)(6,4.425)(8,1)
\rput[lb](4,1){\gr}%
\psarc[linestyle=dashed,linewidth=.6pt](4,1){4cm}{0}{90}
\psarc[linestyle=dashed,linewidth=.6pt](8,1){4cm}{90}{180}
\rput[lb](9,1){\psTilt{60}{\gr}}%
\pspolygon[origin={5,0},linecolor=green](4,1)(6,4.425)(8,1)
\end{pspicture}

\end{document}

by the way: pay attention for unwanted spaces, eg. \def\gr{
should be
\def\gr{%
...%
}

Herbert