[pstricks] \psxTick error

Martin Chicoine martin.chicoine at umontreal.ca
Wed May 13 20:19:16 CEST 2009


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}

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


More information about the PSTricks mailing list