Some function to plot openfoam data with matplotlib