Added plotFluxQ function.