show histogram of image plot 12th legendre polynomial