[pstricks] behavior of arrows when plotting functions and scaling
Ryan Higginbottom
mathalot at yahoo.com
Mon Aug 21 21:45:51 CEST 2006
It seems to me that the commands \psline and \psplot have different
behaviors with respect to arrowheads, and I was wondering if there is a
way to correct the behavior of \psplot in this regard. The example I
include below is very simple, but it illustrates the problem I'm having
with something a bit more complex. I would like to use the arrows=<-o
option, but when I scale the units, the arrowheads seem to be slightly
misplaced. (Note: this doesn't seem to happen when the units are left
alone.)
When you compile the example below and magnify a bit, you will see what I
mean. The arrows on the top line are off a bit. (I am trying to write
something for a powerdot presentation, so even though the magnification
may seem insignificant here, it is clear when on the presentation.)
Thank you for your help.
Example:
--------------------
\documentclass{article}
\listfiles
\usepackage{pstricks}
\usepackage{pstricks-add}
\begin{document}
\psset{xunit=.5cm,yunit=.5cm}
\psline[arrows=<-o,linewidth=1pt](0,0)(2,0)
\psplot[arrows=<-o,linewidth=1pt]{0}{2}{1}
\end{document}
--------------------
*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.sty 2005/12/19 v0.31 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2006/02/06 v1.14a `PSTricks' (tvz)
xcolor.sty 2005/12/21 v2.09 LaTeX color extensions (UK)
color.cfg 2005/12/29 v1.1 MiKTeX 'color' configuration
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pstricks-add.sty 2005/03/03 package wrapper for pstricks-add.tex (hv)
pstricks-add.tex 2006/06/17 v2.75 `PSTricks-add' (hv)
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2005/11/25 v2.5e package option processing (HA)
xkeyval.tex 2005/11/25 v2.5e key=value parser (HA)
***********
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the PSTricks
mailing list