Draws the Klein bottle.
Klein bottle is closed non-orientable surface that has no inside or outside. TF3 can be drawn in several styles:
- default - like surface4
- kMaple0 - very nice colours
- kMaple1 - nice colours and outlines
- kMaple2 - nice colour outlines. To switch between them, you can press 's' key.
{
new TPaveLabel(0.04, 0.86, 0.96, 0.98,
"\"gl\" option for TF3. Select plot and press 's' to change the color.");
TF3 *
tf3 =
new TF3(
"Klein Bottle",
"f1*(f2*f2-8*z*z) + 16*x*z*f2", -3.5, 3.5, -3.5, 3.5, -2.5, 2.5);
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TStyle * gStyle
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
A 3-Dim function with parameters.
The most important graphics class in the ROOT system.
A Pave (see TPave) with a text centered in the Pave.
void Draw(Option_t *option="") override
Draw this pavelabel with its current attributes.
void SetCanvasPreferGL(Bool_t prefer=kTRUE)
- Author
- Timur Pocheptsov
Definition in file gltf3.C.