Trying to streamline the flot plotting of data a bit