earth.C: this tutorial illustrate the special contour options | Basic Graphics | eval.C: This macro produces the flowchart of TFormula::Eval |
//Draw ellipses //Author: Rene Brun { c1 = new TCanvas("c1"); c1->Range(0,0,1,1); TPaveLabel pel(0.1,0.8,0.9,0.95,"Examples of Ellipses"); pel.SetFillColor(42); pel.Draw(); TEllipse el1(0.25,0.25,.1,.2); el1.Draw(); TEllipse el2(0.25,0.6,.2,.1); el2.SetFillColor(6); el2.SetFillStyle(3008); el2.Draw(); TEllipse el3(0.75,0.6,.2,.1,45,315); el3.SetFillColor(2); el3.SetFillStyle(1001); el3.SetLineColor(4); el3.Draw(); TEllipse el4(0.75,0.25,.2,.15,45,315,62); el4.SetFillColor(5); el4.SetFillStyle(1001); el4.SetLineColor(4); el4.SetLineWidth(6); el4.Draw(); return c1; } ellipse.C:1 ellipse.C:2 ellipse.C:3 ellipse.C:4 ellipse.C:5 ellipse.C:6 ellipse.C:7 ellipse.C:8 ellipse.C:9 ellipse.C:10 ellipse.C:11 ellipse.C:12 ellipse.C:13 ellipse.C:14 ellipse.C:15 ellipse.C:16 ellipse.C:17 ellipse.C:18 ellipse.C:19 ellipse.C:20 ellipse.C:21 ellipse.C:22 ellipse.C:23 ellipse.C:24 ellipse.C:25 ellipse.C:26 ellipse.C:27 ellipse.C:28 |
|