Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Root programming

  1. Dec 29, 2012 #1
    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 Files:

  2. jcsd
  3. Dec 30, 2012 #2

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    Draw both in the same diagram? (histogram->Draw("SAME") iirc).
    Draw a two-dimensional plot (probably not in the object browser)?
     
  4. Dec 31, 2012 #3
    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?
     
  5. Jan 4, 2013 #4
    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.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Root programming
  1. Cubic Root (Replies: 3)

  2. Root Finding (Replies: 5)

  3. Root programming (Replies: 3)

  4. HMI programming (Replies: 1)

Loading...