Message: Multiple ploting in one Histogram Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Multiple ploting in one Histogram 

Forum: Analysis
Date: 10 Nov, 2014
From: Amit Kumar <Amit Kumar>

Hello every one

I want to plot three different spectra in the same plot(Histogram)for comparision purpose, I have used following lines for it

analysisManager->CreateH1("1", X-ray spectrum,100,0,6*MeV);




But what I get after the simulation is only one spectrum where all three spectra were merged and statistics were added.

Can any one tell me what is the problem?? What should I do to get three different spectrum in the same plot with their statistics (separately). And how can I make three different spectra of different color?


Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Multiple ploting in one Histogram   (Michael H. Kelsey - 10 Nov, 2014)
(_ Ok: Re: Multiple ploting in one Histogram   (Amit Kumar - 15 Nov, 2014)
 Add Message Add Message
to: "Multiple ploting in one Histogram"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]