[pstricks] Displaying a unsymetrich diagram
Herbert Voss
LaTeX at zedat.fu-berlin.de
Mon Nov 21 17:02:51 CET 2005
Nicolai Emig wrote:
> With your help I was able to create this diagram:
>
> \psset{yunit=100cm}
> \begin{pspicture}{-0.5m-1.1}{11,-1.6}
this example never run! Please send only complete
documents, which show exactly your code ...
> \psaxes[dy=1cm,Dy=0.01,Oy=-1.10]{->}(0,-1.1)(11,-1.6)
it should be not too difficult to compare your values
with mine ...
>> \psaxes[dy=1cm,Dy=0.01,Oy=-1.70]{->}(0,1.7)(11,1.8)
> \psdots(1,-1.577)
use positive values or listplot if you cannot change
the y values.
\documentclass{minimal}
\usepackage{pstricks}
\usepackage{pstricks-add}
\pagestyle{empty}
\begin{document}
\def\data{1 -1.577 2 -1.526 3 -1.475 4 -1.423 5 -1.373 6 -1.321
7 -1.270 8 -1.217 9 -1.170 10 -1.118}
\pstScalePoints(1,1){}{ neg }
%
\psset{yunit=10cm}
\begin{pspicture}(-0.5,1.1)(11,1.6)
\psaxes[dy=1cm,Dy=-0.1,Oy=-1.1]{->}(0,1.1)(11,1.6)
\listplot[plotstyle=dots]{\data}
\end{pspicture}
\end{document}
Herbert
More information about the PSTricks
mailing list