[pstricks] readdata: bug or expected behavior?

Antoine Pairet antoine at pairet.be
Tue Jun 22 15:26:38 CEST 2010


Hello,
When passing optional arguments to readdata such as ignoreLines or
nStep, their effect is global. Two complete examples are given in
attachment. 

If data is read with:
\readata[nStep=2]{\data}{data.dat}
Points will be plotted with a step equal to 4:
\listplot{\data}
while 
\listplot[nStep=1]{\data} will produce the expected output.


My file list:
*File List*
article.cls    2007/10/19 v1.4h Standard LaTeX document class
  size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
pst-plot.sty    2010/01/22 package wrapper for pst-plot.tex
pstricks.sty    2008/11/26 v0.40 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2010/04/26 v2.05 `PSTricks' (tvz,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)
  pst-fp.tex    2010/04/26 v2.05 `PST-fp' (hv)
  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)
pst-plot.tex    2010/04/29 1.15 `pst-plot' (tvz,hv)
pstricks-add.sty    2010/02/11 v. 0.14 package wrapper for
pstricks-add.tex (hv
)
pstricks-add.tex    2010/03/12 v3.39 `PSTricks-add' (hv)


Best regards,
Antoine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: readdataBug.tex
Type: text/x-tex
Size: 632 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20100622/1b28a542/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: readdataBugExample.tex
Type: text/x-tex
Size: 733 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20100622/1b28a542/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://tug.org/pipermail/pstricks/attachments/20100622/1b28a542/attachment-0002.bin>


More information about the PSTricks mailing list