diff --git a/src/lib/plot.h b/src/lib/plot.h index 81791d4d3..6c2242a7c 100644 --- a/src/lib/plot.h +++ b/src/lib/plot.h @@ -121,6 +121,10 @@ class ncppplot { if(labelaxisd){ // show the *top* of each interval range for(int y = 0 ; y < dimy ; ++y){ + uint64_t channels = 0; + calc_gradient_channels(&channels, maxchannel, maxchannel, + minchannel, minchannel, y, 0, dimy, dimx); + ncplane_set_channels(ncp, channels); char buf[PREFIXSTRLEN + 1]; if(exponentiali){ if(y == dimy - 1){ // we cheat on the top row to exactly match maxy