High dynamic range log axis problem
From
Martin Brown@21:1/5 to
All on Sun Jul 2 13:46:36 2023
Help! I have a function which is plotted on a log-log graph.
It has an extreme dynamic range of machine eps to 1.
Default log plot settings give insane mytics for this namely.
ytic interval 100 so major ticks at
10^-16, 10^-14, 10^-12, ...0.0001,0.01, 1
mytics intervals 10, 20,30,40,50,60,70,80,90
so it looks like a crazy picket fence
| | | | | | | | | ||
1 10 20 30 40 50 60 70 80 100
if I try to set log intervals to eg 2 between major ticks
it appears to put a tick at the linear position (100+1)/2
or two ticks at 101/3, 202/3 etc.
Surely in log mode it should put a new tick at the geometric mean sqrt(1*100)=10 ie equally spaced in the log domain for interval 2
Since minor ticks mytics seems to be automatic in log mode I'm stuck.
I tried adding ticks manually with no labels but it wouldn't let me.
Any ideas how I might add myticks at say 2,4,8,10,20,40,80 ?
I'd settle for just at 0.001, 10^-5, etc
I tried the following but got an incomprehensible error msg:
set mytics add ("" 1.0e-3)
^
')' expected
Thanks for any suggestions on how to get mytics to behave on such a high dynamic range axis.
It works fine on the other axis where all powers of 10 are present but
it looks very clumsy to have every power of 10 on the range 10^-16 to 1 annotated. That is what will happen if I don't find a fixup and soon.
Thanks for any enlightenment!
--
Martin Brown
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)