root programming


by lamyaa
Tags: programming, root
lamyaa
lamyaa is offline
#1
Dec29-12, 10:57 PM
P: 5
Hi all,

I want ask you about root programming , if I have A (mass number) for output and input data for experiment how I can comparison between A input and A output
see attachments
Attached Thumbnails
A-input.jpg   A-output.jpg  
Phys.Org News Partner Science news on Phys.org
Lemurs match scent of a friend to sound of her voice
Repeated self-healing now possible in composite materials
'Heartbleed' fix may slow Web performance
mfb
mfb is offline
#2
Dec30-12, 08:33 AM
Mentor
P: 10,766
Draw both in the same diagram? (histogram->Draw("SAME") iirc).
Draw a two-dimensional plot (probably not in the object browser)?
lamyaa
lamyaa is offline
#3
Dec31-12, 12:13 AM
P: 5
thanks a lot ,

but I am beginner in this programming

please, can you explain this point in details

how I can draw both in the same diagram?

gbeagle
gbeagle is offline
#4
Jan4-13, 09:53 AM
P: 53

root programming


It's not super easy to overlay two histograms on the same canvas in root using the root browser.

It's easiest to just use the command prompt or write a script to be executed by root. ROOT is essentially just a collection of C++ libraries, so there really isn't 'root programming' its just C++. One of the previous posters already gave the basic commands for that. I can give a more explicit example if you need it.


Register to reply

Related Discussions
how do you superimpose graphs from different root files in C++/root Programming & Computer Science 1
Recommended programming language (and texts) for middle-school beginner programming Programming & Computer Science 9
square root and cube root question Precalculus Mathematics Homework 4
Need help with finding Root of an Equation, given another root. Analysis Question. Precalculus Mathematics Homework 10
Proove that the cubic root of 2 + the square root of 2 is irrational Calculus & Beyond Homework 4