# [pstricks] Problem with showpoints in pst-plot

Alexander Michel alex at monsterblock.de
Tue Jun 5 16:53:03 CEST 2012

Hi all,

since the last update I think there is a problem with the "showpoints"
option in listplot. I draw 3 times the same numeric data but if the
showpoints option is enabled the plot is moved somehow. It effects also
plots in the same graph, which are plottet afterwards. Here is a kind of
simple example to test

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[]{article}
%
\usepackage{pst-plot}
%
\def\DataToPlot{
0 1
1 2
2 4
3 5
}
\begin{document}
%
\pstScalePoints(1,1){}{}
\psgraph[Dx=1,Dy=1,subticks=0](0,0)(3,6){5cm}{4cm}
\listplot[linecolor=black,linewidth=1pt,dotstyle=x,dotscale=2]{\DataToPlot}
\listplot[linecolor=red,linestyle=none,linewidth=1pt,showpoints,dotstyle=x,dotscale=2]{\DataToPlot}
\listplot[linecolor=blue,linewidth=1pt,dotstyle=x,dotscale=2]{\DataToPlot}
\endpsgraph
%
\vspace{5cm}
%
\pstScalePoints(1,1){}{}
\psgraph[Dx=1,Dy=1,subticks=0](0,0)(3,6){5cm}{4cm}
\listplot[linecolor=black,linewidth=1pt,dotstyle=x,dotscale=2]{\DataToPlot}
\listplot[linecolor=red,linestyle=solid,linewidth=1pt,dotstyle=x,dotscale=2]{\DataToPlot}
\listplot[linecolor=blue,linewidth=1pt,dotstyle=x,dotscale=2]{\DataToPlot}
\endpsgraph
%
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Any idea how to workaround??

Regards
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20120605/5344a1a0/attachment.html>