*** gnuplot-3.7.1/graphics.c.orig Wed Sep 15 17:30:29 1999 --- gnuplot-3.7.1/graphics.c Sun Dec 9 16:33:59 2001 *************** *** 4223,4229 **** (*callback) (axis, internal, label, lgrd); } ! return; /* NO MINITICS FOR USER-DEF TICS */ /*}}} */ } /* series-tics --- 4223,4231 ---- (*callback) (axis, internal, label, lgrd); } ! if( !minitics || !def->def.user->next ) ! return; ! /*}}} */ } /* series-tics *************** *** 4259,4264 **** --- 4261,4276 ---- } /*{{{ choose start, step and end */ switch (def->type) { + case TIC_USER: + if (log_array[axis]) { + step= (log(def->def.user->next->position) - log(def->def.user->position)) + / log_base_array[axis]; + } else { + step= def->def.user->next->position - def->def.user->position; + } + start = step * floor(lmin / step); + end = step * ceil(lmax / step); + break; case TIC_SERIES: if (log_array[axis]) { /* we can tolerate start <= 0 if step and end > 0 */ *************** *** 4402,4407 **** --- 4414,4424 ---- /*{{{ draw tick via callback */ switch (def->type) { + case TIC_USER: + /* Major tic labels have already been printed. Just draw tics in + case user-defined tics are too few. */ + (*callback) (axis, internal, NULL, lgrd); + break; case TIC_DAY:{ int d = (long) floor(user + 0.5) % 7; if (d < 0)