When plotting a function attached to an histogram in 3D (surf or lego) use the histogram range for the x and y axis.
This fixes JIRA issue ROOT-6072