/usr/include/root/TGraphQQ.h is in libroot-graf2d-graf-dev 5.34.14-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | // @(#)root/graf:$Id$
// Author: Anna Kreshuk 18/11/2005
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TGraphQQ
#define ROOT_TGraphQQ
//////////////////////////////////////////////////////////////////////////
// //
// TGraphQQ //
// //
// to create and to draw quantile-quantile plots //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TGraph
#include "TGraph.h"
#endif
class TGraphQQ : public TGraph{
protected:
Int_t fNy0; //size of the fY0 dataset
Double_t fXq1; //x1 coordinate of the interquartile line
Double_t fXq2; //x2 coordinate of the interquartile line
Double_t fYq1; //y1 coordinate of the interquartile line
Double_t fYq2; //y2 coordinate of the interquartile line
Double_t *fY0; //!second dataset, if specified
TF1 *fF; //theoretical density function, if specified
void Quartiles();
void MakeQuantiles();
void MakeFunctionQuantiles();
public:
TGraphQQ();
TGraphQQ(Int_t n, Double_t *x);
TGraphQQ(Int_t n, Double_t *x, TF1 *f);
TGraphQQ(Int_t nx, Double_t *x, Int_t ny, Double_t *y);
virtual ~TGraphQQ();
void SetFunction(TF1 *f);
Double_t GetXq1() const {return fXq1;}
Double_t GetXq2() const {return fXq2;}
Double_t GetYq1() const {return fYq1;}
Double_t GetYq2() const {return fYq2;}
TF1 *GetF() const {return fF;}
ClassDef(TGraphQQ, 1); // to create and to draw quantile-quantile plots
};
#endif
|