Skip to content

rootio/cmd/root-print: first import

Sebastien Binet requested to merge rootio-root-print into master

This CL adds a WIP command to print (to PNG, PDF, ...) histograms from ROOT files. Its CLI is loosely based on rootprint from ROOT-6.

  Usage: root-print [options] file.root [file.root [...]]
  ex:
   $> root-print -f pdf ./testdata/histos.root
   $> root-print -f pdf ./testdata/histos.root:h1
   $> root-print -f pdf ./testdata/histos.root:h*
   $> root-print -f pdf -o output ./testdata/histos.root:h1

  options:
    -f string
      	output format for plots (pdf, png, svg, ...) (default "pdf")
    -o string
      	output directory for plots
    -v	enable verbose mode

Merge request reports

Loading