add histogram plot