[pstricks] xunit too large ?

Denis Vergès Denis.Verges at wanadoo.fr
Fri Feb 23 16:50:32 CET 2007


Hello In this file :
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[10pt]{article}
\usepackage[latin1]{inputenc}
\usepackage{lscape}
\usepackage{pstricks,pst-plot,pst-tree}
\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\D}{\mathbb{D}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\C}{\mathbb{C}}
\setlength{\textheight}{23,5cm}
\setlength{\voffset}{-1,5cm}

\usepackage{fancyhdr}
\usepackage[frenchb]{babel}
\begin{document}
\begin{landscape}
\psset{xunit=2.8mm,yunit=0.06mm}
\begin{pspicture}(1993,1000)(2011,2200)
\psaxes[linewidth=1.5pt,Ox=1993,Dx=2,Oy=1000,Dy=100](1993,1000) 
(2011,2200)
\psline(1993,1590)(2011,1950)
\multido{\n=1993.0+0.5}{37}{\psline[linewidth=0.4pt](\n,1000)(\n,2200)}
\multido{\n=1000+50}{25}{\psline[linewidth=0.4pt](1993,\n)(2011,\n)}
\psdots[dotstyle=+](1994,1550)(1995,1650)(1996,1600)(1997,1750) 
(1998,1700)(1999,1750)(2000,1650)(2001,1850)(2002,1700)(2003,1800)
\psdots[dotstyle=+,dotangle=45](1994,1150)(1995,1300)(1996,1350) 
(1997,1350)(1998,1225)(199,1350)(2000,1500)(2001,1500)(2002,1650) 
(2003,1500)
\end{pspicture}
\end{landscape}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

The max value iof xunit is 2.8mm. Why ?
Since xunit=2.9mm LaTeX says :
! Dimension too large.
<recently read> \@psunit

Thanks for your help.
Denis Vergès





More information about the PSTricks mailing list