[pstricks] Displaying a unsymetrich diagram

Nicolai Emig Nicolai at areaemig.de
Mon Nov 21 20:14:32 CET 2005


I do not seem to understand this and I am getting really annoyed. Why 
doesn't this diagram show right?

 \def\data{0.003472 -14.159 0.003246 -11.27}

\pstScalePoints(1,1){}{ neg }
\psset{yunit=1cm, xunit=10000cm}
\begin{pspicture}(0,11.1)(0.001,15)
   \psaxes[dy=1cm,Dy=-1,Oy=-11.2,dx=2.5cm, Dx=0.0001, 
Ox=0.0032]{->}(0.0032,11.2)(0.0035,14.0)
  \listplot[plotstyle=dots]{\data}
\end{pspicture}



I declared xunit 10.000cm because I want one x unit to be 0.0001

my pspicture goes from 0 to 0.001 (thus being 10cm with my xunit)

psaxes defines a unit of 2.5 cm for 0.0001 units and the Origin is at 0.0032

My x Axis goes from 0.0032 to 0.0035 so the datavalues I defined should 
be in range.

But the diagram is totally screwed up. No x-axes shown and the dots are 
at the complete wrong places.



Nicolai Emig wrote:

> Herbert Voss wrote:
>
>> 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
>
>
>
> What do you want to tell me with that?
>
> Where can I find a docu about that pstricks topic?
>
>>
>> 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
>>
>> _______________________________________________
>> pstricks mailing list
>> pstricks at tug.org
>> http://tug.org/mailman/listinfo/pstricks
>>
>>
>
> _______________________________________________
> pstricks mailing list
> pstricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
>




More information about the PSTricks mailing list