[pstricks] Ticks on x-Axis

azzam.hassan at voila.fr azzam.hassan at voila.fr
Sun Sep 30 19:09:54 CEST 2007


Hi all
in the example below, the ticks on the x-axes do not follow the real coordinates neither the grids. This is not the case on the y-axis. 
Any help ?
Example :
\def\barData{
50 16.5
55 16.5
60 23.3
65 29.2
70 34.7
75 42.7
80 50.5
85 60.6
}
 \begin{center}
 \psset{xunit=1.5mm,yunit=.75mm}
 \begin{pspicture*}(30,-10)(100,75)
 \psaxes[axesstyle=axes,Ox=40,Oy=0,Dx=10,Dy=10]{->}(40,0)(100,75)
 \psgrid[subgriddiv=0,griddots=8,gridlabels=0pts,gridcolor=orange,xunit=5,yunit=10](100,75)
 \listplot[plotstyle=dots,dotsize=8pt,linecolor=blue]{\barData}
 \psdots[dotsize=8pt,linecolor=red](67.5,34.25)
 \psdots[dotsize=8pt,linecolor=green](57.5,21.375)(77.5,47.125)
 \rput(66,40){$G$}\rput(58,17){$G_1$}\rput(80,45){$G_2$}
 \pscurve[linestyle=dashed](75,60)(85,70)(90,70)(85,40)(75,20)(68.5,34.25)(75,60)
 \pscurve[linestyle=dashed](65.5,33)(50,30)(45,20)(48,15)(66,15)(65.5,33)
 \rput(55,40){Nuage (1)}\rput(70,65){Nuage (2)}
 \end{pspicture*}
\end{center}

Cordialement
Azzam HASSAN
tel : 06 63 82 97 09
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20070930/a6f8b2c0/attachment.html 


More information about the PSTricks mailing list