[pstricks] \psxTick error

David Arnold dwarnold45 at suddenlink.net
Wed May 13 20:24:00 CEST 2009


Juergen et al,

This is so weird.

\documentclass[12pt]{article}

\usepackage{pstricks}
\usepackage{pst-bar}
\usepackage{pstricks-add}
\usepackage{pst-plot}
\usepackage{pst-tree}


\begin{document}

\begin{center}
   \begin{pspicture}(-1,-0.5)(8,0.5)
     \psline[linecolor=blue,arrows=<->](-1,0)(8,0)
     \psxTick[linecolor=red](0){0}
   \end{pspicture}
\end{center}

\end{document}

Produces:

! Missing number, treated as zero.
<to be read again>
                    !
l.15     \psxTick[linecolor=red](0){0}


This:

\documentclass[12pt]{article}

\usepackage{pstricks}
\usepackage{pst-bar}
\usepackage{pstricks-add}
\usepackage{pst-plot}
\usepackage{pst-tree}


\begin{document}

\begin{center}
   \begin{pspicture}(-1,-0.5)(8,0.5)
     \psline[linecolor=blue,arrows=<->](-1,0)(8,0)
     \psxTick[linecolor=red](0){$0$}
   \end{pspicture}
\end{center}

\end{document}


Produces:

! Missing number, treated as zero.
<to be read again>
                    !
l.15     \psxTick[linecolor=red](0){$0$}

?


On May 13, 2009, at 11:00 AM, Juergen Gilg wrote:

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

Juergen

David Arnold wrote:
>
> Oops.
>
> Same error:
>
> ! Missing number, treated as zero.
> <to be read again>
>                    !
> l.15  \psxTick[linecolor=red](1.5){x_0}
>
> ?
>
> But this code:
>
> \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](-2,0)(-3,0)(-4,0)(-5,0)
>  \end{pspicture}
> \end{center}
>
>
> \end{document}
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>

-- 
  Jürgen Gilg
  Austr. 59
  70376 Stuttgart
-------------------------------------
  Tel       0711.59 27 88
  e-Mail    gilg at acrotex.net

_______________________________________________
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/7da12bf2/attachment.html 


More information about the PSTricks mailing list