Added output of basic analysis graphs to cli-interface.
A file prefix can be chosen in the cli interface.