Abdo
April 21, 2005, 4:05pm
1
Hi,
For the Function SetLineStyle(style) is there any way I can set the argument “style” to other than those given in the root manual, 1,2,3,4. I have a figure that has more than four entries.
couet
April 22, 2005, 7:42am
2
You can, but only in PostScript files:
//______________________________________________________________________________
void TStyle::SetLineStyleString(Int_t i, const char *text)
{
// Set line style string (used by Postscript)
// PostScript uses the following convention
// a line is a suite of segments, each segment is described by the
// number of pixels. For example default line styles are defined as:
// linestyle 1 “ ” solid
// linestyle 2 “[12 12]” dashed
// linestyle 3 “[4 8]” dotted
// linestyle 4 “[12 15 4 15]” dash-dotted
//
// Up to 30 different styles may be defined.
// The opening and closing brackets may be omitted
// They will be automaticalled added by this function.
gStyle->SetLineStyleString(“…”)