[pstricks] \psxTick error

David Arnold dwarnold45 at suddenlink.net
Wed May 13 20:28:23 CEST 2009


Thanks, that was it.


On May 13, 2009, at 11:19 AM, Martin Chicoine wrote:

Always use pstricks-add the last of pstricks-related packages.



\usepackage{pst-pdf}

\usepackage{pst-bar}

\usepackage{pst-plot}

\usepackage{pst-tree}

\usepackage{pstricks-add}





De : pstricks-bounces at tug.org [mailto:pstricks-bounces at tug.org] De la  
part de David Arnold
Envoyé : 13 mai 2009 13:41
À : Graphics with PSTricks
Objet : [pstricks] \psxTick error



All,



I can't see why the code below is producing this error:



! Missing number, treated as zero.

<to be read again>

                    !

l.15   \psxTick[linecolor=red](1.5){x_0}


?



\documentclass[12pt]{article}



\usepackage{pst-pdf}

\usepackage{pst-bar}

\usepackage{pstricks-add}

\usepackage{pst-plot}

\usepackage{pst-tree}



\begin{document}



\begin{center}

           \psset{unit=0.125in}

           \begin{pspicture}(-8,-2)(8,0.5)

           \psaxes[arrowscale=1.5,arrows=<->,yAxis=false,labels=none] 
(0,0)(-8,0)(8,0)

           \psxTick[linecolor=red](1.5){x_0}

           \uput[270](0,0){$0$}

           \uput[270](7,0){$7$}

           \psdots*[linecolor=red,dotsize=3pt 3](#sa,0)(#sb,0)(#sc,0) 
(#sd,0)

           \end{pspicture}

\end{center}



\end{document}

_______________________________________________
PSTricks mailing list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20090513/bc96b5ed/attachment.html 


More information about the PSTricks mailing list