|
From: Achim G. <Str...@ne...> - 2017-10-20 19:33:09
|
Achim Gratz writes:
> So I finally did that today and there is still one tiny bit of
> regression left (I could have seen that in my original test cases
> already, but I didn't look closely enough). In the following example
> you'll see that the tics are only starting from 10^0=1 instead of from
> the smallest fractional power of of 10.
I don't really know what I'm doing, but this patch seems to fix this
issue. I don't know if it causes a regression somewhere else.
--8<---------------cut here---------------start------------->8---
--- origsrc/gnuplot-branch-5-2-stable/src/axis.c 2017-10-14 02:00:11.000000000 +0200
+++ src/gnuplot-branch-5-2-stable/src/axis.c 2017-10-20 21:23:34.189778800 +0200
@@ -1151,9 +1151,7 @@ gen_tics(struct axis *this, tic_callback
*/
step = eval_link_function(this->linked_to_primary, step);
end = eval_link_function(this->linked_to_primary, end);
- if (start <= 0)
- start = step;
- else
+ if (start > 0)
start = eval_link_function(this->linked_to_primary, start);
lmin = this->linked_to_primary->min;
lmax = this->linked_to_primary->max;
--8<---------------cut here---------------end--------------->8---
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra
|