[pstricks] yMaxValue depending on plotpoints

Markus markuskrebs at web.de
Wed Jan 21 14:11:23 CET 2009


Hi Herbert!

You should mention, that yMaxValue depends on plotpoints.

\documentclass{scrartcl} % ,titlepage
\usepackage{pstricks-add}
\begin{document}
\psset{plotpoints=20000}
\begin{pspicture}(-5,-1)(5,10)
\psgrid(0,0)(-5,-1)(5,10)
\psplot[yMaxValue=10]{0.25}{10}{1 x 2 exp div }
\end{pspicture}

\newpage

\psset{plotpoints=20}
\begin{pspicture}(-5,-1)(5,10)
\psgrid(0,0)(-5,-1)(5,10)
\psplot[yMaxValue=10]{0.25}{10}{1 x 2 exp div }
\end{pspicture}

\end{document}

with the following

  *File List*
  article.cls    2005/09/16 v1.4f Standard LaTeX document class
   size10.clo    2005/09/16 v1.4f Standard LaTeX file (size option)
pstricks-add.sty    2007/09/03 v. 0.11 package wrapper for pstricks-add.tex (hv
)
pstricks.sty    2008/10/31 v0.39 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2008/07/31 v1.26 `PSTricks' (tvz)
   xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
    color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
    dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pstricks-add.tex    2009/01/17 v3.17 `PSTricks-add' (hv)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
  xkeyval.sty    2008/08/13 v2.6a package option processing (HA)
  xkeyval.tex    2008/08/13 v2.6a key=value parser (HA)
  ***********

Kind regarts

Markus



More information about the PSTricks mailing list