added plotrawnow function to rt