added legend to polhistp

Change-Id: I7f1edb94b6b1d3e8ac84824ac7f7a66caab6016d