scaling and saving graphs in tests window

Signed-off-by: Alevtina Glonina <alevtina@lvk.cs.msu.su>