Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Experiments must be reproducible; they should all fail in the same way.


devel / comp.graphics.apps.gnuplot / High dynamic range log axis problem

SubjectAuthor
o High dynamic range log axis problemMartin Brown

1
High dynamic range log axis problem

<u7rrjc$3amtd$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=148&group=comp.graphics.apps.gnuplot#148

  copy link   Newsgroups: comp.graphics.apps.gnuplot
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: '''newspam'''@nonad.co.uk (Martin Brown)
Newsgroups: comp.graphics.apps.gnuplot
Subject: High dynamic range log axis problem
Date: Sun, 2 Jul 2023 13:46:36 +0100
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <u7rrjc$3amtd$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 2 Jul 2023 12:46:36 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="660b7a43850d8d1f1866940303f5fa80";
logging-data="3496877"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ilfhqSz24RQJCtIi5xkg5uQdcIc0KKjoAAdBJyDn60g=="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:jXtqSVCsFtDGPTOfeopLacgvAN0=
Content-Language: en-GB
 by: Martin Brown - Sun, 2 Jul 2023 12:46 UTC

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

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor