library: libGraf
#include "TGraphPolar.h"

TGraphPolargram


class description - header file - source file - inheritance tree (.pdf)

class TGraphPolargram : public TNamed, public TAttText, public TAttLine

Inheritance Chart:
TObject
<-
TNamed
TAttText
TAttLine
<-
TGraphPolargram
    private:
virtual void Paint(Option_t* options = "") public:
TGraphPolargram(const char* name, Double_t rmin, Double_t rmax, Double_t tmin, Double_t tmax) TGraphPolargram(const TGraphPolargram&) ~TGraphPolargram() static TClass* Class() virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) virtual void Draw(Option_t* options = "") virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) Double_t GetLabelOffset() Int_t GetNdivPolar() Int_t GetNdivRadial() Double_t GetRMax() Double_t GetRMin() Double_t GetTMax() Double_t GetTMin() virtual TClass* IsA() const TGraphPolargram& operator=(const TGraphPolargram&) void PaintCircle(Double_t x, Double_t y, Double_t r, Double_t phimin, Double_t phimax, Double_t theta) void SetLabelOffset(Double_t LabelOffset = 0.03) void SetNdivPolar(Int_t Ndiv = 204) void SetNdivRadial(Int_t Ndiv = 502) void SetRangePolar(Double_t tmin, Double_t tmax) void SetRangeRadial(Double_t rmin, Double_t rmax) void SetTwoPi() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Double_t fRwrmin Minimal radial value (real world) Double_t fRwrmax Maximal radial value (real world) Double_t fRwtmin Minimal angular value (real world) Double_t fRwtmax Minimal angular value (real world) Int_t fNdivRad Number of radial divisions Int_t fNdivPol Number of radial divisions Double_t fLabelOffset Offset for radial and polar labels

Class Description

______________________________________________________________________________

  TPolarGraph creates a polar graph (including error bars).
  It uses the class TGraphPolargram to draw the polar axis.

  An example of TGraphPolar is given in the tutorial graphpolar.C
  with the following output:

______________________________________________________________________________
TGraphPolargram(const char* name, Double_t rmin, Double_t rmax, Double_t tmin, Double_t tmax)
 TGraphPolargram Constructor.
~TGraphPolargram()
 TGraphPolargram destructor.
Int_t DistancetoPrimitive(Int_t px, Int_t py)
 Everything within the circle belongs to the TGraphPolargram.
void SetNdivRadial(Int_t ndiv)
 Set the number of radial divisions
void SetNdivPolar(Int_t ndiv)
 Set the number of polar divisions
void SetLabelOffset(Double_t labelOffset)
 Set the labels offset.
void SetRangeRadial(Double_t rmin, Double_t rmax)
 Set the radial range.
void SetRangePolar(Double_t tmin, Double_t tmax)
 Set the polar range.
void Draw(Option_t* options)
 Draw Polargram.
void PaintCircle(Double_t x1, Double_t y1, Double_t r, Double_t phimin, Double_t phimax, Double_t theta)
 This is simplified from TEllipse::PaintEllipse
 Draw this ellipse with new coordinates.
void Paint(Option_t* options="")
TGraphPolargram(const char* name, Double_t rmin, Double_t rmax, Double_t tmin, Double_t tmax)
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Double_t GetRMin()
Double_t GetRMax()
Double_t GetTMin()
Double_t GetTMax()
void SetTwoPi()
Int_t GetNdivRadial()
Int_t GetNdivPolar()
Double_t GetLabelOffset()

Author: Sebastian Boser, 02/02/06
Last update: root/graf:$Name: $:$Id: TGraphPolar.cxx,v 1.3 2006/05/18 19:15:36 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.