added plotting code for DRT4