Skip to content

abhijitb498/histToGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PROGRAM TO PLOT FROM RAW HISTOGRAM FILE
AUTHOR, ABHIJIT BAISHYA

*****MAKE SURE THAT YOU HAVE GNUPLOT IN YOUR SYSTEM*****

TO GENERATE THE EXECUTABLE, RUN "make", AN EXECUTABLE NAMED "htg" WILL BE CREATED. NOW THERE IS TWO OPTIONS:

1. MANUALLY ADD BIN EXECUTABLE PATH TO THE SYSTEM: TO DO THAT, EDIT ~/.bashrc FILE AND ADD THIS LINE: "export PATH=$PATH:YOURPATH", YOURPATH IS THE PATH OF THE EXECUTABLE "htg"

2. RUN "MAKE INSTALL", THE EXECUTABLE WILL BE MOVED TO EXISTING SYSTEM BINARY PATH: /USR/BIN, GIVE ROOT PERMISSION IF ASKED FOR. THIS IS EASIER OPTION AND ALSO PREFERRED.

TO RUN THE PROGRAM, OPEN A TERMINAL WHERE YOUR RAW HISTOGRAM FILE IS LOCATED AND RUN ...
"htg 'inputfile'"   OR   "htg 'inputfile' 'LowerLimit' 'UpperLimit' 'NumberOfBins'"

ONE EXAMPLE HISTOGRAM HAS BEEN PROVIDED e.g. "energy.txt", TO PLOT THIS RUN "htg energy.txt". GIVE CONVENIENT INPUT BIN NUMBER, LOWER LIMIT 7.0 AND UPPER LIMIT 14.0

About

Plots histogram from raw histogram file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published