prepare colormapping