cetz-plot icon indicating copy to clipboard operation
cetz-plot copied to clipboard

`{n}-tick-step` none/auto does not work for sets of values ~E-5

Open jamesrswift opened this issue 1 year ago • 0 comments

This was an issue I ran into when writing my thesis. A lin-lin plot of small values ~E-5 fails to produce ticks unless explicitly set. I haven't delved into the codebase yet but I have a sneaky suspicion it is related to the float error constant that is used sometimes for comparisons.

This is what I am using instead (not perfect, but better than no ticks)

y-tick-step: calc.pow(10, calc.floor(calc.log(calc.max(..pairs.map(array.last))))), 

jamesrswift avatar Oct 23 '24 13:10 jamesrswift