# plots and dotangle

Greg Byrd gbyrd at Umunhum.Stanford.edu
Fri Aug 1 23:33:56 CEST 1997

-----------------------------------------------------------------------------
This is the PSTricks mailing list, devoted to discussions about computational
graphics in (La)TeX using the PSTricks package from Timothy van Zandt.
For help using this mailing list, see instructions at the end of message.
-----------------------------------------------------------------------------

When I tried to use dotangle to rotate the dots used in a plot,
the placement of the dots themselves got rotated, rather than
the symbol used to draw the dot.

The following example should produce a row of dots above a row
of dashes.  Instead, it produces a row of dots and a vertical
column of vertical lines.

\documentclass{article}
\usepackage{pstricks,pst-plot}
\pagestyle{empty}
\begin{document}
\begin{pspicture}(8,2)
\psset{plotstyle=dots,plotpoints=9}
\psplot[dotstyle=*,dotsize=4pt 0]{0}{8}{1}
\psplot[dotstyle=|,dotangle=90]{0}{8}{0}
\end{pspicture}
\end{document}

In pst-plot.tex, I found the following correction:

\def\beginqp at dots{%
\psk at dotsize
\@nameuse{psds@\psk at dotstyle}
% Modification Denis GIROU (CNRS/IDRIS - France) - &lt;Denis.Girou at idris.fr&gt; - 14 Jun. 1996
%  Dot }
%\def\doqp at dots{Dot }
%% SPQR remove the translate after gsave????
/TheDot { gsave \psk at dotangle \psk at dotscale Dot grestore } def
TheDot }
\def\doqp at dots{TheDot }

I replaced the modification with the original, and the example
produced the desired result.  I don't know enough PostScript to figure
out what's going on -- maybe Denis can remember the motivation behind the
original modification.

...Greg Byrd
gbyrd at stanford.edu

-----------------------------------------------------------------------------
To [un]subscribe to this list, send mail to pstricks-request at mail.tug.org
Leave the subject line blank and in the body put the line
For help, put the word "help" in the message body.
To obtain current archive, put the words "get current" in the message body.
-----------------------------------------------------------------------------