Multiple contour plots on one pad - different colors?

Greetings,

I have three TGraph2D’s that I want to plot a single contour for (the same level for each=1.0), and I would like to plot them on the same pad. To distinguish them I would have to be able to assign separate line colors and/or line styles. I saw one post on this forum that said line styles are assigned automatically, so no go there. I saw another post that seemed to indicate that the contour colors are controlled through gStyle->SetPalette(), which would also affect all the contours being plotted simultaneously.

So does this mean that what I’m trying to do is currently impossible in ROOT?

Thanks,
-Phil D.

I guess one of the examples on THistPainter.html gives the answer: one has to draw with LIST option, get the contours object, extract each contour as a TGraph, and then you can control the line better.

Lots of work, but it can be done. If someone has a simpler solution, I’d be glad to hear it.

Thanks,
-Phil D.

Do you have the macro producing the 3 graphs ?