Re: TArrow and a marker

From: Olivier Couet <olivier.couet_at_cern.ch>
Date: Mon, 21 Feb 2011 09:02:41 +0100

On Feb 21, 2011, at 8:57 AM, Mario Kadastik wrote:

>> I'm trying to use a TArrow to mark a location and also show this TArrow in the legend, but no matter how I create the Arrow, in the TLegend it shows an ugly black square marker for the line style as well. And I can't see a way to disable that marker as TArrow doesn't have SetMarkerStyle etc attributes.

>
> Oh well, the moment I hit send I thought to first time look at TLegend options and indeed I can at AddEntry specify what components are drawn so setting it to line fixed it :)
>
> Mario Kadastik, PhD
> Researcher

Good :-) I think the example in the TLegend doc shows that clearly too. Cheers,
Olivier Received on Mon Feb 21 2011 - 09:02:49 CET

This archive was generated by hypermail 2.2.0 : Mon Feb 21 2011 - 23:50:01 CET