[pstricks] Bug in pstricks-add?

Alan Ristow ristow at ece.gatech.edu
Thu Jan 27 22:26:56 CET 2005


It seems that when \listplot is used with the nStep and xEnd parameters 
simultaneously, the nStep parameter is ignored. Is this expected 
behavior? Minimal example and result of \listfiles below.

Alan


\documentclass{article}
\usepackage{filecontents}
\usepackage{pstricks}
\usepackage{pstricks-add}

\begin{filecontents*}{test.dat}
   1 10
   2 9
   3 8
   4 7
   5 6
   6 5
   7 4
   8 3
   9 2
   10  1
   11  0
   12  0
   13  0
   14  0
   15  0
   16  0
   17  0
   18  0
   19  0
   20  0
\end{filecontents*}

\pagestyle{empty}

\begin{document}
   \begin{psgraph}[axesstyle=frame](0,0)(12,12){3in}{3in}%
     \readdata{\data}{test.dat}%
     \listplot[xEnd=12,linecolor=black,linestyle=solid,showpoints=false,%
       plotstyle=line]{\data}%
     \listplot[xEnd=12,nStep=4,linestyle=none,showpoints=true,%
       dotstyle=*]{\data}%
   \end{psgraph}
\end{document}


  *File List*
  article.cls    2004/02/16 v1.4f Standard LaTeX document class
   size10.clo    2004/02/16 v1.4f Standard LaTeX file (size option)
filecontents.sty    2004/08/16 v1.1 Create an external file from within 
a LaTeX
  document
pstricks.sty    2004/05/12 v0.2l LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2004/06/22 v1.04 `PSTricks' (tvz)
   xcolor.sty    2004/07/04 v2.00 LaTeX color extensions (UK)
    color.cfg    2003/03/08 v1.0 MiKTeX 'color' configuration
    dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pstricks-add.sty    2004/07/18 package wrapper for pstricks-add.tex (hv)
pstricks-add.tex    2004/11/24 v2.28 `PSTricks-add' (hv)
pst-xkey.tex    2005/01/16 v1.3 PSTricks specialization of xkeyval (HA)
  xkeyval.sty    2005/01/16 v1.9 package option processing (HA)
  xkeyval.tex    2005/01/16 v1.9 key=value parser (HA)






More information about the PSTricks mailing list