[pstricks] pst-plot

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Jun 10 19:48:25 CEST 2011


Am 10.06.2011 14:03, schrieb Patrice MÉGRET:

> \iffalse
> \begin{psgraph}[axesstyle=frame,mathLabel=false,labelFontSize=\small,Dy=0.1,dy=100,Oy=1584,Ox=30,Dx=10,xticksize=0 800, yticksize=0 80](30,0)(110,800){8cm}{5cm}
> \pstScalePoints(1,1000){}{1584 sub}
> \listplot[plotstyle=LSM,showpoints=true,dotstyle=*,linecolor=blue,linewidth=1.5pt]{\myData}
> \listplot[plotstyle=dots,showpoints=true,dotstyle=*,linecolor=orange,linewidth=1.5pt]{\myData}
> \end{psgraph}
> \fi

Patrice,
use it this way:

\pstScalePoints(1,1){}{1583 sub}
\begin{psgraph}[
   axesstyle=frame,
   mathLabel=false,labelFontSize=\small,
   Dy=0.2, Dx=10,
   Oy=1583.0, Ox=30,
   xticksize=0 2, yticksize=0 70](30,0)(100,2){8cm}{5cm}
   \listplot[plotstyle=LSM,showpoints,dotstyle=*,
             linecolor=blue,linewidth=1.5pt]{\myData}
   \listplot[plotstyle=dots,showpoints,
             dotstyle=*,linecolor=orange,linewidth=1.5pt]{\myData}
\end{psgraph}

The y axis is 2 units long from 1583 to 1585 which is
from 0 to 2 and Oy does the rest ..

Herbert


More information about the PSTricks mailing list