added patient effect plot function