log ticksize and axis
Hi everybody, if any around.
I am setting a logarithmic axis and I would like to put labels only on a limited number of big ticks.
Hence what I do is define a double box. The second would be invisble, but I use it to draw labels only:
FIRST BOX:
limits -11 5.5 -13 -6
ticksize -1 0 -1 0
box 0 2 0 0
SECOND BOX:
ticksize -1 50 -1 0
box 0 3 3 3
The problem is that actually the "-1 50" x-axis appears exactly like the "-1 10" axis, i.e. like the "-1 0".
WHY?
The avoid the problem, I'm trying to use "axis", with VLAB, but actually I cannot find the way to use VLAB:
set vlab={'1e-10' '1e-5' '1' '1e5'}
axis -11 5.5 1 5 vlab 5000 3500 26000 1 0
it simply crashes with syntax error. Putting vlab to capital letters, or changing its name does not solve the problem.
Note that the axis is now linear ON PURPOSE because otherwise I'd have exactly the same problem as above (actually it does not make any difference!)
I'm running SM2_4_7 (11th Oct 1997). It's old but it's always been reliable.
Thanks to anybody who could point me in the right direction.
Stefano
- Forums:
Who's online
Online users
- karuiner

got it!
ok, I got it!
set xs={-10 -5 0 5}
set xb={-10 -5 0 5}
set dimen(s)=4.s
set s[0]='1e-10'
set s[1]='1e-5'
set s[2]='1'
set s[3]='1e5'
axis -11 5.5 xs xb s 5000 3500 26000 1 0
yeah!