[pstricks] The 11-malediction

Denis Vergès Denis.Verges at wanadoo.fr
Fri Nov 25 16:15:23 CET 2005


Hello,
In this first code :
%%%%%%%%%%%%%%%
\begin{pspicture}(-1,-1)(7,16)
\psaxes[linewidth=1.5pt]{->}(0,0)(-1,-1)(7,16)
\uput[dl](0,0){O}
\psplot{0}{6}{x 2 exp 0.75 mul x 3 mul sub 6 add}
\pscustom[fillstyle=solid,fillstyle=vlines,fillcolor=blue]{
\psplot{0}{6}{x 2 exp 0.75 mul x 3 mul sub 6 add}
\psline(6,0)(0,0)
%%%%%%%%%%%%%%
11 on they-axis don't appear,
In this else :
%%%%%%%%%%%%%%%%
   
\begin{center}\psset{xunit=1.5cm,yunit=0.0006cm}\begin{pspicture}(-1, 
-100)(8,12000)
   \psaxes[Ox=1,Dy=1000](0,0)(0,-100)(6,11990)
   \multido{\n=0+1000}{12}{\psline(-0.2,\n)(6,\n)}
    
\psdots[dotstyle=triangle,dotscale=2](1,975)(2,1443)(3,2049)(4,2930)(5,4 
220)(6,5850)
    
\psdots[dotstyle=square,dotscale=2](1,4012)(2,4813)(3,5872)(4,7281)(5,86 
64)(6,10432)
   \psframe(6.2,5000)(8.1,7000)
     \psdots[dotstyle=triangle,dotscale=2](6.4,5500)
     \psdots[dotstyle=square,dotscale=2](6.4,6500)
     \rput(7.3,5500){Fournisseur B}
     \rput(7.3,6500){Fournisseur A}
   \end{pspicture} \end{center}
%%%%%%%%%%%%%%%%%%%%%%%%

11000 on the y-axis don't appear

A 11-malediction ?

Another question : in France it's usual to write 10 000, with a space  
at each  3-digit.
With the option babel the code is \nombre{10000}.
With PSTricks how can I have such graduations on the axes ?
Thanks
Denis Vergès





More information about the PSTricks mailing list