added script for plotting residue data