Re: Option_t* from TString*

From: Otto Schaile (Otto.Schaile@Physik.uni-muenchen.de)
Date: Mon Sep 13 1999 - 16:30:45 MEST


Hi Colin,
the following works for me (it draws the 2nd time as lego plot):

f = new TFile("hsimple.root");
TString opt("LE");
hpxpy->Draw(opt.Data());
opt.Append("GO");
hpxpy->Draw(opt.Data());

Cheers
Otto

On Mon, 13 Sep 1999, Colin Partridge wrote:

> I have been using the TString::Append() function to concatenate strings and
> wish to use the result as the option for the Histogram draw function.  Apart
> from one occasion which I have not been able to repeat (don't know why) I
> have had no success in making the conversion.
> 
> Can anyone help?
> 
> --
> Colin Partridge
> stack@lineone.net
> http://website.lineone.net/~stack/
> 

----------------------------------------------------------------------------
Otto Schaile                    Sektion Physik der LMU Muenchen
Phone: (+49 89)289 14070        Am Coulombwall 1, D-85748 Garching, Germany
FAX:   (+49 89)289 14072        EMail: Otto.Schaile@Physik.Uni-Muenchen.DE



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET