Class Gplot

java.lang.Object
  |
  +--Gplot

class Gplot
extends java.lang.Object

Author:
Erhan Oztop, 2001-2002

Source code by Erhan Oztop (erhan@atr.co.jp)
Copyright August 2002 via
University of Southern California Ph.D. publication copyright

Field Summary
(package private) static int he
           
(package private) static int in_he
           
(package private) static int in_wi
           
(package private) static int in_xpos
           
(package private) static int in_ypos
           
(package private)  java.lang.Process p
           
(package private) static java.lang.String persist
           
(package private)  java.io.DataInputStream pin
           
(package private)  java.io.DataOutputStream pout
           
(package private)  java.lang.Runtime r
           
(package private)  java.io.InputStream rawpin
           
(package private)  java.io.OutputStream rawpout
           
(package private) static boolean spread_window
           
(package private) static java.lang.String usercommand
           
(package private) static int wi
           
(package private) static int xend
           
(package private) static int XGAP
           
(package private) static int xpos
           
(package private) static int yend
           
(package private) static int YGAP
           
(package private) static int ypos
           
 
Constructor Summary
  Gplot()
           
(package private) Gplot(double[] v)
           
(package private) Gplot(double[][] v, int N, int M)
           
(package private) Gplot(double[][] v, int N, int M, java.lang.String suffix)
           
(package private) Gplot(double[][] v, int N, int M, java.lang.String gifname, int ign)
           
(package private) Gplot(double[][] v, int N, int M, java.lang.String suffix, java.lang.String extracommand)
           
(package private) Gplot(double[][] v, java.lang.String com)
           
(package private) Gplot(double[] v, int N)
           
(package private) Gplot(Point3d[] v, java.lang.String suffix)
           
(package private) Gplot(Point3d[] v, java.lang.String suffix, java.lang.String extracommand)
           
(package private) Gplot(java.lang.String s)
           
(package private) Gplot(java.lang.String s, java.lang.String gifname)
           
 
Method Summary
 void close()
           
private  void construct()
           
private  void construct(java.lang.String s)
           
 void get()
           
static void main(java.lang.String[] args)
           
static void resetGeom()
           
static void resetGeom(int x, int y)
           
static void resetGeom(int x, int y, int w, int h)
           
static void resetGeom(int x, int y, int xen, int yen, int w, int h)
          (x,y) first Gplot top-left coord.
 void send(java.lang.String s)
           
static void setUserCommand(java.lang.String s)
           
static void spreadWindow(boolean k)
           
static void spreadWindow(int k)
           
(package private) static double[][] transpose(double[][] M)
           
 void waitFinish()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

XGAP

static int XGAP

YGAP

static int YGAP

in_wi

static int in_wi

in_he

static int in_he

in_xpos

static int in_xpos

in_ypos

static int in_ypos

xend

static int xend

yend

static int yend

wi

static int wi

he

static int he

xpos

static int xpos

ypos

static int ypos

spread_window

static boolean spread_window

persist

static final java.lang.String persist

r

java.lang.Runtime r

p

java.lang.Process p

pout

java.io.DataOutputStream pout

rawpout

java.io.OutputStream rawpout

pin

java.io.DataInputStream pin

rawpin

java.io.InputStream rawpin

usercommand

static java.lang.String usercommand
Constructor Detail

Gplot

public Gplot()

Gplot

Gplot(java.lang.String s)

Gplot

Gplot(java.lang.String s,
      java.lang.String gifname)

Gplot

Gplot(double[] v)

Gplot

Gplot(double[] v,
      int N)

Gplot

Gplot(double[][] v,
      java.lang.String com)

Gplot

Gplot(double[][] v,
      int N,
      int M)

Gplot

Gplot(Point3d[] v,
      java.lang.String suffix,
      java.lang.String extracommand)

Gplot

Gplot(Point3d[] v,
      java.lang.String suffix)

Gplot

Gplot(double[][] v,
      int N,
      int M,
      java.lang.String suffix)

Gplot

Gplot(double[][] v,
      int N,
      int M,
      java.lang.String suffix,
      java.lang.String extracommand)

Gplot

Gplot(double[][] v,
      int N,
      int M,
      java.lang.String gifname,
      int ign)
Method Detail

resetGeom

public static void resetGeom(int x,
                             int y,
                             int xen,
                             int yen,
                             int w,
                             int h)
(x,y) first Gplot top-left coord. (w,h) is the size of the plot and (xen,yen) defines the end of the gnuplot usuable area in the screen

resetGeom

public static void resetGeom(int x,
                             int y,
                             int w,
                             int h)

resetGeom

public static void resetGeom(int x,
                             int y)

resetGeom

public static void resetGeom()

spreadWindow

public static void spreadWindow(boolean k)

spreadWindow

public static void spreadWindow(int k)

setUserCommand

public static void setUserCommand(java.lang.String s)

construct

private void construct()

construct

private void construct(java.lang.String s)

waitFinish

public void waitFinish()

send

public void send(java.lang.String s)

get

public void get()

close

public void close()

main

public static void main(java.lang.String[] args)

transpose

static double[][] transpose(double[][] M)