{ Int_t i; Float_t x[1000]; Float_t y[1000]; for (i=0; i<1000; i++) { x[i] = 0.001*i; y[i] = 6.2831853*x[i]; y[i] = sin(12*y[i]) + sin(17*y[i]) + sin(56*y[i]) + sin(74*y[i]); } TGraph *graph = new TGraph( 1000, x, y ); graph->Draw("AL"); printf( "\n\n===============================================================\n" ); printf( "Right click on X axis and select SetRangeUser.\n" ); printf( "Enter the range 0.387 to 0.389 and click OK.\n" ); printf( "Move the cursor over one of the 3 points (at .387, .388, .389).\n" ); printf( "Press down the left mouse button.\n" ); printf( "When I do it, there are 6 extra boxes drawn\n" ); printf( " (in addition to the three that should be drawn)\n" ); printf( "===============================================================\n" ); }