Re: Creating custom marker style

Rene Brun (Rene.Brun@cern.ch)
Thu, 19 Nov 1998 03:41:33 +0100


Matthew R. Nelson wrote:
>
> Root Users,
>
> Has anyone had any experience creating a custom marker style (adding
> additional styles to the supplied core of 30)? I would like to plot dash
> marks ("-"). Of course an alternative is to draw them on as TText, but I
> would much rather do this through TGraph.
>

Hi Matt,
I agree that there should be a simple mechanism to define your
own marker types. The function to do that is nearly there in TGX11,
but this is the wrong place to do the job. The mechanism must obviously
work for the screen and Postscript.
I think the best place is to add a new function in TStyle with
the possibility to add new markers (a la TGX11) or (why not?)
the possibility to draw any user defined object (derived from TObject).
I will look into this possibility.

Rene Brun