[pstricks] Displaying a unsymetrich diagram

Herbert Voss LaTeX at zedat.fu-berlin.de
Mon Nov 21 18:23:54 CET 2005


Nicolai Emig wrote:

> \psset{yunit=100cm}
> \begin{pspicture}(-0.5,-1.1)(11,-1.6)%
>   \psaxes[dy=1cm,Dy=0.01,Oy=-1.10]{->}(0,-1.10)(11,-1.6)

how should this work? You have a half PSTricks unit:
-1.6 - (-1.10) = -0.5

and with a scaling of 100cm you get a y-axis of 50cm!

\psset{yunit=10cm}
\begin{pspicture}(-0.5,-1.1)(11,-1.6)%
   \psaxes[dy=1cm,Dy=0.1,Oy=-1.1]{->}(0,-1.10)(11,-1.6)
   \psdots(1,-1.577)(2,-1.526)(3,-1.475)(4,-1.423)(5,-1.373)
   \psdots(6,-1.321)(7,-1.270)(8,-1.217)(9,-1.170)(10,-1.118)
\end{pspicture}


Herbert




More information about the PSTricks mailing list