Options.java
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  * Gnuplotのコマンドラインオプションを指定するサンプルです。
14  @author koga
15  @version $Revision: 1.4 $, 2004/05/01
16  */
17 public class Options {
18 
19   /**
20    * メインメソッド
21    
22    @param args コマンドライン引数
23    @throws InterruptedException 強制終了された場合
24    */
25   public static void main(String[] argsthrows InterruptedException {
26     Mgplot.options(1"-geometry 400x400")//$NON-NLS-1$
27     Mgplot.command(1"plot sin(x)")//$NON-NLS-1$
28     Thread.sleep(10000);
29     Mgplot.quit();
30   }
31 }