public void actionPerformed(ActionEvent event) {
                // make random data for plot2:
                Random r = new Random();
                double[][] testdata = { {r.nextDouble(), r.nextDouble(), r.nextDouble()}, {r.nextDouble(), r.nextDouble(), r.nextDouble()} };
                plot2.updateData(testdata, "test");
            }