[pstricks] loglines on even subticks

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Wed Feb 16 21:42:49 CET 2005


Jesper Goransson wrote:
> Hi,
> 
> I am using
> 
> \psaxes[xylogBase=10,subticks=5,logLines=all]{->}(-1,-3)(3.5,1.5)
> 
> and get some some very nice looking log-lines. But the lines are at 
> 1,3,5,7,9,10. Any chance to get them at 1,2,4,6,8,10?

no, not really ...

this is done in pstricks-add in the macro

\def\psxs@@axes#1#2#3#4#5{% llx,lly,urx,ury,exch,arrowA,arrowB

you can change the third line of

  logLines {                            % log lines?
    gsave
    1 10 subTNo div 9.99 {              % do not write a line for 1

to

    2 10 subTNo 1 add div 10.99 {       % do not write a line for 1


and the same for some lines further

Herbert



-- 
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes




More information about the PSTricks mailing list