Alan, just to confirm, QSAS does not use your colour bar code, nor does it use label_box_custom(). Alban wrote his own colour bar using plbox().
This means any change we made to label_box_custom is historical and nugatory, and only the changes to plbox() are relevant ( the else{ } ). In fact we do not include pllegend.c in our version of plplot at all, which is why I did not see label_box_custom() being called. All the best Tony _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel