[pstricks] Label every other tick

Michael Sharpe msharpe at ucsd.edu
Sun May 10 23:43:28 CEST 2009


On May 10, 2009, at 2:09 PM, <dwarnold45 at suddenlink.net> <dwarnold45 at suddenlink.net 
 > wrote:

> All,
>
> Is there an easy way to label every other tick mark with \psaxes?
>
> That is, I want ticks at 1, 2, 3, 4, 5, and 6, but I want labels  
> only at 2, 4, and 6, and no labels at the ticks 1, 3, and 5.
>
> Can do?

\psaxes[axesstyle=none,labels=x,ticks=x,Dx=2](0,0)(-.5,-.5)(6.5,6.5)
\psaxes[labels=y](0,0)(-.5,-.5)(6.5,6.5)



More information about the PSTricks mailing list