[pstricks] The 11-malediction

Herbert Voss LaTeX at zedat.fu-berlin.de
Sat Nov 26 17:06:29 CET 2005


Alain Matthes wrote:
> 
> \listfiles
> \documentclass{article}
> \usepackage{pstricks-add}

it can not work with pstricks-add, use pstricks and pst-plot

\listfiles
\documentclass{article}
\usepackage{pstricks,pst-plot}
\usepackage[frenchb]{babel}
\usepackage{numprint}% you need the latest (!!!) version
\npthousandsep{\,}

\begin{document}

\psset{xunit=1.5cm,yunit=0.0006cm}

\renewcommand\psvlabel[1]{$\numprint{#1}$}
%renewcommand{\psvlabel}[1]{\nombre{#1}}
%renewcommand{\psvlabel}[1]{$\nombre{#1}$}

\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,4220)(6,5850)
\psdots[dotstyle=square,dotscale=2](1,4012)(2,4813)(3,5872)(4,7281) 
(5,8664)(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{document}


Herbert




More information about the PSTricks mailing list