added decorators for wave plotting and spectrum plotting