TH2F contz

Hi Rooters,
I have a 2d histogram that is attached (plotted in a TCanvas with gPalette->SetStyle(1) and gStyle->SetNumberContours(50)). When plotted with “colz”, it looks fine, but when plotted with “contz” a white border appears round the edge along with some very odd white contours throughout the plot. Any idea what’s going on?
image.root (132 KB)

I suggest you try CONT4Z.
CONT (or CONT0) is an extension to filled area of a “line drawing” contour algorithm.
It is fast and gives most of the time good result but has the side effect you describe in particular
for contour clipping. CONT4 is a real filled area contour drawing algorithm.