int numberOfPoints=200;
int numberOfCircles=40;
float range = numberOfCircles*
d;
view->
SetRange( 0, 0, 0, 4.0*range, 2.0*range, range );
for(
int j =
d; j < numberOfCircles*
d; j +=
d ) {
for( int i = 1; i < numberOfPoints; i++ ) {
float csin = sin(2*
PI / (
double)numberOfPoints * (
double)i) + 1;
float ccos = cos(2*
PI / (
double)numberOfPoints * (
double)i) + 1;
float esin = sin(2*
PI / (
double)(numberOfCircles*
d) * (
double)j) + 1;
z = j;
}
}
char timeStr[60];
sprintf( timeStr, "Execution time: %g sec.", ct);
text->SetFillColor( 42 );
text->AddText(
"ROOT example: tornado.C");
}
R__EXTERN TBenchmark * gBenchmark
Option_t Option_t TPoint TPoint const char text
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
virtual void SetMarkerSize(Size_t msize=1)
Set the marker size.
virtual void Start(const char *name)
Starts Benchmark with the specified name.
virtual void Show(const char *name)
Stops Benchmark name and Prints results.
Float_t GetCpuTime(const char *name)
Returns Cpu time used by Benchmark name.
void Update() override
Update canvas pad buffers.
A Pave (see TPave) with text, lines or/and boxes inside.
void SetPoint(Int_t n, Double_t x, Double_t y, Double_t z)
Set point n to x, y, z.
void Draw(Option_t *option="") override
Draws 3-D polymarker with its current attributes.
static TView * CreateView(Int_t system=1, const Double_t *rmin=nullptr, const Double_t *rmax=nullptr)
Create a concrete default 3-d view via the plug-in manager.
virtual void SetRange(const Double_t *min, const Double_t *max)=0