[pstricks] Label every other tick

David Arnold dwarnold45 at suddenlink.net
Mon May 11 05:40:20 CEST 2009


All,

Thanks:

\documentclass{minimal}
\usepackage{pstricks-add}
\begin{document}

\psset{unit=0.5}

Without pstricks-add:

\begin{center}
\begin{pspicture}(-1,-1)(6,6)
\psaxes[labels=none](6,6)
\psaxes[showorigin=false,ticks=none,Dx=2,Dy=2](6,6)
\end{pspicture}
\end{center}

With pstricks-add:

\begin{center}
\begin{pspicture}(-1,-1)(6,6)
\psaxes[showOriginTick=false,showorigin=false,Dx=2,Dy=2,subticks=2](6,6)
\end{pspicture}
\end{center}

The first two did not work, but they did give me a good idea for what  
I actually needed:

\bigbreak

\begin{center}
\begin{pspicture}(-1,-1)(6,6)
\psaxes[showOriginTick=false,showorigin=false,Dx=2,Dy=2,subticks=2](6,6)
\psaxes[showOriginTick=false,showorigin=false,labels=none](6,6)
\end{pspicture}
\end{center}


\end{document}



On May 10, 2009, at 2:49 PM, Herbert Voss wrote:

\documentclass{minimal}
\usepackage{pstricks-add}
\begin{document}

With pstricks-add:

\begin{pspicture}(-1,-1)(6,6)
\psaxes[showOriginTick=false,showorigin=false,Dx=2,Dy=2,subticks=2](6,6)
\end{pspicture}

\end{document}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20090510/e9e933b9/attachment-0002.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: voss.pdf
Type: application/pdf
Size: 6284 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20090510/e9e933b9/attachment-0001.pdf 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20090510/e9e933b9/attachment-0003.html 


More information about the PSTricks mailing list