Re: TArrow and a marker

From: Mario Kadastik <mario.kadastik_at_cern.ch>
Date: Mon, 21 Feb 2011 09:57:35 +0200


> 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

---
  "Physics is like sex, sure it may have practical reasons, but that's not why we do it" 
     -- Richard P. Feynman
Received on Mon Feb 21 2011 - 08:57:42 CET

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