added 'norm' option which will normalize data before plotting