I need a little help.
I need a function that will do the following:
I have two variables ( can have more if needed)
If scale is 0-5 then ticks = 5
If scale is 6-10 then ticks = 2.5
If Scale is 11-15 then ticks is 1.25
...AND SO ON.
I would code with conditionals, but It needs to be good forr an unlimited number of scales.
I need to set ticcks based on scale