[pstricks] problems with autoscale of psgraph

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Jan 1 15:18:28 CET 2010


Am 01.01.2010 13:35, schrieb Marco Daniel:
> 
> in the following example I am using pscircle with the radius 1. The
> problem is that the radius is not 1 *G*.

sure, the default behaviour. Because the system don't know
what the runit should be set to. To the xunit or to the yunit.
\pscircle takes only the runit into account. Compare

\begin{psgraph}[ticks=x,labels=x,arrowscale=1.5]{->}(0,0)(-1.1,-1.1)(1.2,1.2){7.5cm}{5cm}
\makeatletter
\pscircle[runit=\psxunit]{1}
\pscircle[runit=\psyunit]{1}
\end{psgraph}

Only when the x and y axis have the same units, it makes sense to
set the runit by the system.

For your example simply set \psset{runit=\psxunit} inside the
psgraph environment should help.

Herbert


More information about the PSTricks mailing list