01 /*
02 * $Id: Options.java,v 1.4 2006/08/10 03:20:31 koga Exp $
03 *
04 * Copyright (C) 2004 Koga Laboratory. All rights reserved.
05 *
06 */
07 package matxbook.chap12old;
08
09 import org.mklab.tool.graph.mgplot.Mgplot;
10
11
12 /**
13 * @author koga
14 * @version $Revision: 1.4 $, 2004/05/01
15 */
16 public class Options {
17
18 /**
19 * メインメソッド
20 *
21 * @param args コマンドライン引数
22 * @throws InterruptedException 強制終了された場合
23 */
24 public static void main(String[] args) throws InterruptedException {
25 Mgplot.options(1, "-geometry 400x400"); //$NON-NLS-1$
26 Mgplot.command(1, "plot sin(x)"); //$NON-NLS-1$
27 Thread.sleep(10000);
28 Mgplot.quit();
29 }
30 }
|