Plotting mechanism plots from db files as well, plotting all data stored in the database