[pstricks] two questions about psaxes

Ryan Higginbottom mathalot at yahoo.com
Tue Aug 30 00:05:04 CEST 2005


I have two questions about the behavior of \psaxes, both of which are
illustrated in the minimal example I have included below.

1) Is there any way to exclude the tickmark for the 0 y-coordinate?  I'd
prefer that portion of the x-axis to look like the rest.  (Incidentally,
in this example that same problem does not occur on the y-axis.)

2) Is there any way to exclude a tickmark label when it would overlap
another one?  In this example, the x=-1 and y=-1 labels are overlapping.

Thank you for your help.

Ryan
-----file below-----
\documentclass{article}

\usepackage{pstricks-add}

\begin{document}

\begin{center}
\def\pshlabel#1{\scriptsize #1}
\def\psvlabel#1{\scriptsize #1}
\psset{xunit=.5cm,yunit=.5cm}
\begin{pspicture}(-4,-4)(4,4)
\psaxes[linecolor=lightgray,ticksize=-4pt 0](0,0)(-4,-4)(4,4)
\end{pspicture}
\end{center}

\end{document}

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the PSTricks mailing list