I want to view the data in a dataset as follows: ``` for(data in dataset){ xxx val plotter = new JFGraphPlotter(chart) plotter.gui() } ``` When I execute it, it just keeps plotting. So is there a way to make it plot next figure after I close the current figure?