[pstricks] loglines on even subticks

Jesper Goransson jesper at control.lth.se
Thu Feb 17 11:08:50 CET 2005


Thanks, I'll have a look at it.

Cheers,
Jesper

Herbert Voss wrote:
> 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
> 
> 
> 




More information about the PSTricks mailing list