[pstricks] Origin in (1994,0)
Herbert Voss
LaTeX at zedat.fu-berlin.de
Fri Apr 28 22:16:31 CEST 2006
Denis Vergès wrote:
> What's wrong in this \pspicture?
>
> %%%%%%%%%%%%%%%%%%%%%
> \psset{xunit=0.85cm,yunit=0.0267cm}
> \begin{pspicture}(1994,0)(2007,300)
greater than 15 meter ...
Herbert
\documentclass[12pt]{article}
\usepackage{pst-plot}
\parindent0pt
\pagestyle{empty}
\makeatletter
\def\pshlabel#1{\footnotesize#1}
\def\cartesian at coor#1,#2,#3\@nil{%
\edef\pst at coor{%
#1 \psk at Ox\space sub \pst at number\psxunit mul
#2 \pst at number\psyunit mul }}
\makeatother
\begin{document}
\psset{Ox=1994,% _global_ !
xunit=0.85cm,yunit=0.0267cm}
\begin{pspicture}(13,300)
\psaxes[Dy=50](13,300)
\psline(1994,67)(1995,59)(1996,90) \psdots(1994,67)(1995,59)(1996,90)
\psline(1994,65)(1995,70)(1996,101) \psdots(1994,65)(1995,70)(1996,101)
\end{pspicture}
\end{document}
More information about the PSTricks
mailing list