Add filter functions for legend interpolation.