Pie chart example.
void piechart()
{
Float_t vals[] = {.2,1.1,.6,.9,2.3};
Int_t colors[] = {2,3,4,5,6};
Int_t nvals =
sizeof(vals)/
sizeof(vals[0]);
"Pie with offset and no colors",nvals,vals);
"Pie with radial labels",nvals,vals,colors);
"Pie with tangential labels",nvals,vals,colors);
"Pie with verbose labels",nvals,vals,colors);
}
- Authors
- Olivier Couet, Guido Volpi
Definition in file piechart.C.