Defined functions for similar looking figures.
Also read required graph info from config file.