RE: shaded up and down of a TF1

From: Olivier Couet <Olivier.Couet_at_cern.ch>
Date: Tue, 31 May 2011 07:50:00 +0000


Can you provide a simple example macro I can work on ?

-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Marc Escalier Sent: Sunday, May 29, 2011 1:08 AM
To: roottalk_at_lxroot01.cern.ch
Subject: [ROOT] shaded up and down of a TF1

Hello,

i was wondering how to make a TF1 function that would have filled area but : -only to a certain given extension (not till y=0) -with a filled ared up and down to a given extension

here is attached a typical example that i copied/pasted from a talk of a meeting (which most probably is using a TGraph)

-->i would like to do this with a TF1. Most probably an "erf" function
-->would

modelize the function, but the main problematic point is the shaded area. And the SetLineWidth has a limitation for the width

thanks for any advice

thougthfully Received on Tue May 31 2011 - 09:50:08 CEST

This archive was generated by hypermail 2.2.0 : Wed Jun 01 2011 - 05:50:01 CEST