In this paper, we propose a method of shaping a reference signal so that a desired response of an uncertain linear system can be achieved. The signal shaping can be done by using the data-driven control schemes, thereby improving the closed-loop performance without knowing the model. Since the proposed method do not change any closed-loop controllers equipped with the target system, the method is useful for working plants. The effectiveness of the proposed method is shown through an experiment of using a Lego Mindstorm EV3.