[pstricks] Displaying a unsymetrich diagram

Nicolai Emig Nicolai at areaemig.de
Mon Nov 21 17:56:32 CET 2005


Herbert Voss wrote:

> 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 ...

Sorry I had to copy it by manual typing. Now I copy/pasted it:

 \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)
   \psdots(1,-1.577)
   \psdots(2,-1.526)
   \psdots(3,-1.475)
   \psdots(4,-1.423)
   \psdots(5,-1.373)
   \psdots(6,-1.321)
   \psdots(7,-1.270)
   \psdots(8,-1.217)
   \psdots(9,-1.170)
   \psdots(10,-1.118)
 \end{pspicture}

As you can see the diagram is too large. But when I change  
\psset{yunit=100cm} to  \psset{yunit=45cm} the y-values do not 
correspond to the psdots I declared.
e.g. the highest point is at 1.315 and not at 1.577.

I do not understand why.

With your given example it works but I do not understand why scaling the 
diagram totally screws up the y-values

thanks

Nicolai



>
>> \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
>
> _______________________________________________
> pstricks mailing list
> pstricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
>




More information about the PSTricks mailing list