Please see output from \listfiles below. It seems that my pstricks packages are quite old.<br>I use openSuSE 11.1 and all pstricks seems to be included in the texlive distribution.<br>What is the best way to update the pstricks packages?<br>
<br>Best regards,<br>Johan<br><br><br> *File List*<br> abbtr.cls 2008/02/13<br> article.cls 2005/09/16 v1.4f Standard LaTeX document class<br> size11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)<br>fancyhdr.sty <br>
helvet.sty 2005/04/12 PSNFSS-v9.2a (WaS) <br> keyval.sty 1999/03/16 v1.13 key=value parser (DPC) <br> array.sty 2005/08/23 v2.4b Tabular extension package (FMi) <br>colortbl.sty 2001/02/13 v0.1j Color table columns (DPC) <br>
color.sty 1999/02/16 <br> color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive<br> dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) <br>dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR) <br>
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) <br>graphics.sty 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR) <br> trig.sty 1999/03/16 v1.09 sin cos tan (DPC)<br>graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive<br>
lastpage.sty 1994/06/25 v0.1b LaTeX2e package for refs to last page number (<br>JPG)<br> natbib.sty 2007/02/05 8.0 (PWD)<br> ABBlogo.eps Graphic file (type eps)<br>inputenc.sty 2006/05/05 v1.1b Input encoding file<br>
latin1.def 2006/05/05 v1.1b Input encoding file<br> srcltx.sty 1999/10/11 v1.002 DVI Search<br>varioref.sty 2006/05/13 v1.4p package for extended references (FMi)<br> amssymb.sty 2002/01/22 v2.2d<br>amsfonts.sty 2001/10/25 v2.2f<br>
amsmath.sty 2000/07/18 v2.13 AMS math features<br> amstext.sty 2000/06/29 v2.01<br> amsgen.sty 1999/11/30 v2.0<br> amsbsy.sty 1999/11/29 v1.2d<br> amsopn.sty 1999/12/14 v2.01 operator names<br> amsxtra.sty 1999/11/15 v1.2c<br>
bm.sty 2004/02/26 v1.1c Bold Symbol Support (DPC/FMi)<br>draftcopy.sty 2002/02/25 v2.16<br>draftcopy.cfg<br>subfigure.sty 2002/03/15 v2.1.5 subfigure package<br>subfigure.cfg<br> caption.sty 2004/05/16 v3.0b Customising captions (AS)<br>
booktabs.sty 2005/03/16 v1.6180 publication quality tables<br>threeparttable.sty 2003/06/13 v 3.0<br> xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)<br> color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive<br>
nomencl.sty 2005/09/22 v4.2 Nomenclature package (LN)<br> psfrag.sty 1998/04/11 v3.04 PSfrag (MCG)<br>floatflt.sty 1997/07/16 v. 1.31<br>paralist.sty 2002/03/18 v2.3b Extended list environments (BS)<br> float.sty 2001/11/08 v1.3d Float enhancements (AL)<br>
pstricks.sty 2006/08/10 v0.32 LaTeX wrapper for `PSTricks' (RN,HV)<br>pstricks.tex 2006/12/22 v1.15 `PSTricks' (tvz)<br>pst-plot.sty 2004/07/15 package wrapper for pst-plot.tex<br>pst-plot.tex 2004/05/18 1.41 `pst-plot' (tvz)<br>
pst-node.sty 2006/01/01 package wrapper for pst-node.tex<br>pst-node.tex 2000/11/09 97 patch 11 `pst-node' (tvz)<br>pstricks-add.sty 2005/03/03 package wrapper for pstricks-add.tex (hv)<br>pstricks-add.tex 2006/11/22 v2.82 `PSTricks-add' (hv,dr)<br>
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)<br> xkeyval.sty 2006/11/18 v2.5f package option processing (HA)<br> xkeyval.tex 2006/11/18 v2.5f key=value parser (HA)<br>pst-math.sty 2004/03/20 package wrapper for PSTricks pst-math.tex<br>
pst-3dplot.sty 2006/02/07 package wrapper for pst-3dplot.tex (hv)<br>pst-3dplot.tex 2006/02/07 v1.72 `PST-3dplot' (hv)<br>pst-func.sty 2006/04/22 package wrapper for pst-func.tex (hv)<br>pst-func.tex 2007/02/01 v0.47 `PST-func' (hv)<br>
<a href="http://pst-func.pro">pst-func.pro</a><br> ifthen.sty 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)<br> ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv.<br>ragged2e.sty 2003/03/25 v2.04 ragged2e Package (MS)<br>
everysel.sty 1999/06/08 v1.03 EverySelectfont Package (MS)<br> umsa.fd 2002/01/19 v2.2g AMS font definitions<br> umsb.fd 2002/01/19 v2.2g AMS font definitions<br> omsphv.fd<br>TR_Analysis.nls<br>pictures/damage_noslide.eps<br>
TR_Analysis.bbl<br> ***********<br><br><br><br><br><br><br><div class="gmail_quote">On Thu, Aug 13, 2009 at 12:11 AM, Michael Sharpe <span dir="ltr"><<a href="mailto:mchl.sharpe@gmail.com">mchl.sharpe@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"> \psset{xAxisLabel=,yAxisLabel=}<br>
\begin{psgraph}[ticks=none,Dx=2,Dy=2](0,0)(-5,-5)(5,5){0.5\textwidth}{!}<br>
\psxTick(1.5){a^2}<br>
\psplot[linewidth=1.25pt,algebraic]{-4.0}{4.0}{ 3*sin(3.141592*x/8.0) }<br>
\end{psgraph}<br>
<br></div>
works for me with a recent version of pstricks-add (4/29/2009). (Note that $a^2$ was replaced by a^2 as the last argument of \psxTick is assumed to be specified in math mode.<br>
<br>
Perhaps you would post the results of \listfiles so we could see the version of pstricks-add you are using.<br><font color="#888888">
<br>
Michael</font><div><div></div><div class="h5"><br>
<br>
<br>
On Aug 12, 2009, at 11:20 AM, Johan Ekh wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
I'm trying to use \psxTick but I get "Undefined control sequence" when I run LaTeX.<br>
Can anyone tell me what I am doing wrong?<br>
<br>
I've included the following packages:<br>
<br>
\usepackage{pstricks,pstricks-add,pst-math,pst-plot,pst-3dplot}<br>
<br>
<br>
This is my code:<br>
<br>
\begin{figure}[hbt]<br>
\begin{center}<br>
\psset{xAxisLabel=,yAxisLabel=}<br>
\begin{psgraph}[ticks=none,Dx=2,Dy=2](0,0)(-5,-5)(5,5){0.5\textwidth}{!}<br>
\psxTick(1.5){$a^2$}<br>
\psplot[linewidth=1.25pt,algebraic]{-4.0}{4.0}{ 3*sin(3.141592*x/8.0) }<br>
\end{psgraph}<br>
\end{center}<br>
\end{figure<br>
<br>
</blockquote>
<br></div></div><div><div></div><div class="h5">
_______________________________________________<br>
PSTricks mailing list<br>
<a href="mailto:PSTricks@tug.org" target="_blank">PSTricks@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/pstricks" target="_blank">http://tug.org/mailman/listinfo/pstricks</a><br>
</div></div></blockquote></div><br>