Ticket #3836: logscale.patch
File logscale.patch, 452 bytes (added by , 13 years ago) 


mainvisual.cpp
967 967 alpha = x; 968 968 for (i = 1; i < (int) domain; i++) { 969 969 scaled = (int) floor(0.5 + (alpha * log((double(i) + alpha) / alpha))); 970 if (scaled < 1) 971 scaled = 1; 970 972 if (indices[scaled  1] < i) 971 973 indices[scaled  1] = i; 972 974 }