coachbennett1981 wrote:Good afternoon, I am looking to change the vertical axes to letters in the alphabet. For example the first vertical axis I would like to read B,C,D,A. Is there a quick way to fix this? I was wondering if I had to use the uput feature, for each axis, but that can be tedious. Any thoughts would be appreciated.
Code: Select all
\documentclass{article}
\usepackage{pstricks-add}
\newcounter{lC}
\setcounter{lC}{1}
\begin{document}
\psset{unit=.5in}
\begin{pspicture}(1,5)
\psaxes[labels=none,xAxis=false,linecolor=red]{->}(0.5,0)(0.5,5)
\psforeach{\yL}{B,C,D,A}{\uput[180](0,\value{lC}){\yL}\stepcounter{lC}}
\end{pspicture}
\end{document}
by the way: it may be a good idea, if you can test your code, before
posting it ...
Herbert