01 /*
02 * $Id: Command.java,v 1.8 2007/06/11 00:44:51 koga Exp $
03 *
04 * Copyright (C) 2004 Koga Laboratory. All rights reserved.
05 *
06 */
07 package matxbook.chap12;
08
09 import java.io.IOException;
10
11 import org.mklab.nfc.util.Pause;
12 import org.mklab.tool.graph.gnuplot.Gnuplot;
13
14
15 /**
16 * @author koga
17 * @version $Revision: 1.8 $, 2004/05/01
18 */
19 public class Command {
20
21 /**
22 * メインメソッド
23 *
24 * @param args コマンドライン引数
25 * @throws InterruptedException 強制終了された場合
26 * @throws IOException キーボードから入力できない場合
27 */
28 @SuppressWarnings("nls")
29 public static void main(String[] args) throws InterruptedException, IOException {
30 Gnuplot gnuplot = new Gnuplot();
31 gnuplot.doCommand("plot sin(x)");
32 Pause.pause();
33 gnuplot.close();
34 }
35 }
|