[pstricks] Trig Graph Inconsistency?
McGarry Vince
vmcgarry at austin.rr.com
Fri Sep 29 17:09:51 CEST 2006
I would think that these would each give the same result, but they
don't seem to---I'm not certain what I don't understand about how
these work.
\documentclass{minimal}
\listfiles
\usepackage{pstricks}
\usepackage{pstricks-add}
%%%--- this seems to work correctly
\begin{document}
\psset{trigLabels=true}
\begin{pspicture}(-0.5,-1.25) (10,1.25)%
\psaxes[xunit=\pstRadUnit]{->}(0,0)(-0.5,-1.25) (\psPiTwo,1.25)
\psplot[xunit=1,linecolor=red,linewidth=1.5pt]{0}{\psPiTwo}{x
RadtoDeg sin}
\end{pspicture}
%%%--- this doesn't seem to work correctly (or more than likely
there's something I don't get.)
\psset{trigLabels=true,xunit=\pstRadUnit}
\begin{pspicture}(-0.5,-1.25) (10,1.25)%
\psaxes{->}(0,0)(-0.5,-1.25) (\psPiTwo,1.25)
\psplot[xunit=1,linecolor=red,linewidth=1.5pt]{0}{\psPiTwo}{x
RadtoDeg sin}
\end{pspicture}
\end{document}
*File List*
minimal.cls 2001/05/25 Standard LaTeX minimal class
pstricks.sty 2005/12/19 v0.31 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2006/04/20 v1.14b `PSTricks' (tvz)
xcolor.sty 2005/12/21 v2.09 LaTeX color extensions (UK)
color.cfg 2005/02/03 v1.3 color configuration of teTeX/TeXLive
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/08/12 v2.79 `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)
***********
More information about the PSTricks
mailing list