Class VisualNumerics.wave.WaveGraph
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class VisualNumerics.wave.WaveGraph

java.lang.Object
   |
   +----netscape.application.View
           |
           +----netscape.application.ContainerView
                   |
                   +----VisualNumerics.wave.WaveGraph

public class WaveGraph
extends ContainerView
implements DrawingSequenceOwner
An abstract class for creating graphic displays. Classes such as WavePlot are derived from this. This class contains many common mutator methods for setting plotting keywords in PV-WAVE, and handles the communication between the java applet/application and the PV-WAVE graphic server.

Any new classes derived from WaveGraph must have the associated code installed on the server. For example class WavePlot has a corresponding PV-WAVE procedure on the server called waveplot.pro.

WaveGraph has instance variables for data and keyword parameters in PV-WAVE, which are accessed by the user with "set" methods. The abstract method plot() is used to select which of the variables/keywords are appropriate for a particular plot type, and plot() consists mainly of "add" methods to select which parameters to send to PV-WAVE.

The instance variables and "add" methods in this class are "protected" so that any classes inherited from this abstract class can access the instance variables and methods.

Version:
2.00, 4 Dec 1996
Author:
Steve Lang

Variable Index

 o animate
 o ax
 o az
 o background
 o base
 o charsize
 o charthick
 o color
 o data
 o device
 o displayOnly
 o disposed
 o file
 o fileext
 o font
 o framerate
 o frames
 o grid
 o gridnghbr
 o gridnx
 o gridny
 o id
 o img
 o imgcnt
 o imgSequence
 o linestyle
 o loadct
 o nodata
 o normal
 o position
 o psym
 o region
 o server
 o subtitle
 o symsize
 o tags
 o tek_color
 o thick
 o ticklen
 o title
 o usefile
 o xcharsize
 o XD
 o XDataType
 o XF
 o xgridstyle
 o XI
 o xmax
 o xmin
 o xminor
 o xpos
 o xsize
 o xstyle
 o xticklen
 o xticks
 o xtitle
 o xtype
 o XV
 o ycharsize
 o YD
 o YDataType
 o YF
 o ygridstyle
 o YI
 o ymax
 o ymin
 o yminor
 o ynozero
 o ypos
 o ysize
 o ystyle
 o yticklen
 o yticks
 o ytitle
 o ytype
 o YV
 o z2cols
 o Z2D
 o Z2DataType
 o z2elem
 o Z2F
 o Z2I
 o z2rows
 o Z2S
 o Z2V
 o zcharsize
 o zcols
 o ZD
 o ZDataType
 o zelem
 o ZF
 o zgridstyle
 o ZI
 o zmax
 o zmin
 o zminor
 o zrows
 o ZS
 o zstyle
 o zticklen
 o zticks
 o ztitle
 o ztype
 o ZV

Constructor Index

 o WaveGraph(int, int, int, int)
Constructs a ContainerView of the desired location/size and resets protected variables.

Method Index

 o addAx()
Protected method used by classes derived from WaveGraph
 o addAz()
Protected method used by classes derived from WaveGraph
 o addBackground()
Protected method used by classes derived from WaveGraph
 o addCharsize()
Protected method used by classes derived from WaveGraph
 o addCharthick()
Protected method used by classes derived from WaveGraph
 o addColor()
Protected method used by classes derived from WaveGraph
 o addData()
Protected method used by classes derived from WaveGraph
 o addDevice()
Protected method used by classes derived from WaveGraph
 o addFont()
Protected method used by classes derived from WaveGraph
 o addFrames()
Protected method used by classes derived from WaveGraph
 o addGraph(String)
Protected method used by classes derived from WaveGraph
 o addGrid()
Protected method used by classes derived from WaveGraph
 o addGridNghbr()
Protected method used by classes derived from WaveGraph
 o addGridNx()
Protected method used by classes derived from WaveGraph
 o addGridNy()
Protected method used by classes derived from WaveGraph
 o addLinestyle()
Protected method used by classes derived from WaveGraph
 o addLOADCT()
Protected method used by classes derived from WaveGraph
 o addNodata()
Protected method used by classes derived from WaveGraph
 o addNormal()
Protected method used by classes derived from WaveGraph
 o addPosition()
Protected method used by classes derived from WaveGraph
 o addPsym()
Protected method used by classes derived from WaveGraph
 o addRegion()
Protected method used by classes derived from WaveGraph
 o addSubtitle()
Protected method used by classes derived from WaveGraph
 o addSymsize()
Protected method used by classes derived from WaveGraph
 o addTEK_COLOR()
Protected method used by classes derived from WaveGraph
 o addThick()
Protected method used by classes derived from WaveGraph
 o addTicklen()
Protected method used by classes derived from WaveGraph
 o addTitle()
Protected method used by classes derived from WaveGraph
 o addX()
Protected method used by classes derived from WaveGraph
 o addXCharsize()
Protected method used by classes derived from WaveGraph
 o addXGridstyle()
Protected method used by classes derived from WaveGraph
 o addXMinor()
Protected method used by classes derived from WaveGraph
 o addXRange()
Protected method used by classes derived from WaveGraph
 o addXStyle()
Protected method used by classes derived from WaveGraph
 o addXTicklen()
Protected method used by classes derived from WaveGraph
 o addXTicks()
Protected method used by classes derived from WaveGraph
 o addXTitle()
Protected method used by classes derived from WaveGraph
 o addXType()
Protected method used by classes derived from WaveGraph
 o addY()
Protected method used by classes derived from WaveGraph
 o addYCharsize()
Protected method used by classes derived from WaveGraph
 o addYGridstyle()
Protected method used by classes derived from WaveGraph
 o addYMinor()
Protected method used by classes derived from WaveGraph
 o addYnozero()
Protected method used by classes derived from WaveGraph
 o addYRange()
Protected method used by classes derived from WaveGraph
 o addYStyle()
Protected method used by classes derived from WaveGraph
 o addYTicklen()
Protected method used by classes derived from WaveGraph
 o addYTicks()
Protected method used by classes derived from WaveGraph
 o addYTitle()
Protected method used by classes derived from WaveGraph
 o addYType()
Protected method used by classes derived from WaveGraph
 o addZ()
Protected method used by classes derived from WaveGraph
 o addZ2()
Protected method used by classes derived from WaveGraph
 o addZCharsize()
Protected method used by classes derived from WaveGraph
 o addZGridstyle()
Protected method used by classes derived from WaveGraph
 o addZMinor()
Protected method used by classes derived from WaveGraph
 o addZRange()
Protected method used by classes derived from WaveGraph
 o addZStyle()
Protected method used by classes derived from WaveGraph
 o addZTicklen()
Protected method used by classes derived from WaveGraph
 o addZTicks()
Protected method used by classes derived from WaveGraph
 o addZTitle()
Protected method used by classes derived from WaveGraph
 o addZType()
Protected method used by classes derived from WaveGraph
 o bufferSize()
Method which can be overridden to allow subclasses to send binary data other than the supported variables: X, Y, Z, and Z2.
 o callWave()
Protected method used by classes derived from WaveGraph
 o dispose()
Tell the PV-WAVE Graphics server to delete the files associated with this object
 o drawingSequenceCompleted(DrawingSequence)
Called when Drawing Sequence completes
 o drawingSequenceFrameChanged(DrawingSequence)
Called when Drawing Sequence changes
 o drawView(Graphics)
Draw method
 o LOADCT(int)
PV-WAVE LOADCT command using an index between 0-32
 o LOADCT(String)
PV-WAVE LOADCT command using table name rather than index Valid values are: B-W LINEAR BLUE/WHITE GRN-RED-BLU-WHT RED TEMPERATURE BLUE/GREEN/RED/YELLOW STD GAMMA-II PRISM RED-PURPLE GREEN/WHITE LINEAR GRN/WHT EXPONENTIAL GREEN-PINK BLUE-RED 16 LEVEL 16 LEVEL II STEPS WAVE SPECIAL W-B LINEAR
 o nextFrame()
Increment the animation sequence
 o plot()
Abstract class that is implimented by classes that extend WaveGraph.
 o reset()
Reset all PV-WAVE plot attributes and data
 o sendData()
Method which can be overridden to allow subclasses to send binary data other than the supported variables: X, Y, Z, and Z2.
 o setAx(double)
Set rotation about X axis
 o setAz(double)
Set rotation about Z axis
 o setBackground(int)
Set Background color using index into PV-WAVE color table
 o setBackground(String)
Set background color using standard Java color names: black green red blue lightGray white cyan magenta yellow darkGray orange gray pink
 o setBase(String)
Set the base URL of the directory where waveserver will place plot files.
 o setCharsize(double)
Set character size (default = 1.0)
 o setCharthick(double)
Set character thickness (default = 1 pixel)
 o setColor(int)
Set line color using index into PV-WAVE color table
 o setColor(String)
Set line color using standard Java color names: black green red blue lightGray white cyan magenta yellow darkGray orange gray pink
 o setData(boolean)
Set data coordinate system to true
 o setDevice(boolean)
Set device coordinate system to true
 o setFile(String)
Set the filename if we just want to display a previously created plot
 o setFont(int)
Set PV-WAVE font
 o setFrameRate(int)
Set the animation sequence frame rate (in milliseconds)
 o setFrames(int)
Set the number of frames in a previously created animation
 o setGrid(boolean)
Define that data requires gridding (This assumes that setX, setY, and setZ are called and each represent vectors of the same length)
 o setGridNghbr(int)
Number of neighbors for grid
 o setGridNx(int)
Grid size in X direction
 o setGridNy(int)
Grid size in Y direction
 o setLinestyle(double)
Set line style
 o setLocalServer(String)
Set the the local directory path for passing data to the PV-WAVE server and retrieving the output.
 o setNodata(boolean)
Set NoData flag so PV-WAVE only draws axes
 o setNormal(boolean)
Set normal coordinate system to true
 o setPlaybackMode(int)
Set the animation sequence playback mode
 o setPosition(double, double, double, double)
Set plot position in data, device, or normal coordinates
 o setPsym(int)
Set plot symbol
 o setRegion(double, double, double, double)
Set plot region in normal coordinates
 o setServer(String)
Set the base URL of the cgi-bin directory where the waveserver script is found,
 o setSubtitle(String)
Set plot subtitle
 o setSymsize(double)
Set symbol size (default = 1.0)
 o setThick(double)
Set line thickness (default = 1 pixel)
 o setTicklen(double)
Set tick length (1.0 = entire length of axis)
 o setTitle(String)
Set plot title
 o setX(double[])
Set the X data to be passed to PV-WAVE (Does not make a copy of the data)
 o setX(float[])
Set the X data to be passed to PV-WAVE (Does not make a copy of the data)
 o setX(int[])
Set the X data to be passed to PV-WAVE (Does not make a copy of the data)
 o setX(Vector)
Set the X data to be passed to PV-WAVE (Does not make a copy of the data)
 o setXCharsize(double)
Set X axis character size (default = 1.0)
 o setXGridstyle(double)
Set X axis grid style (0-5)
 o setXMinor(int)
Set X axis number of minor ticks
 o setXRange(double, double)
Set X axis range
 o setXStyle(int)
Set X axis style (a bitmask - see PV-WAVE docs)
 o setXTicklen(double)
Set X axis tick length (1.0 = entire length of axis)
 o setXTicks(int)
Set X axis number of major ticks
 o setXTitle(String)
Set X axis title
 o setXType(int)
Set X axis type (0=linear, 1=log, 2=Julian date)
 o setY(double[])
Set the Y data to be passed to PV-WAVE (Does not make a copy of the data)
 o setY(float[])
Set the Y data to be passed to PV-WAVE (Does not make a copy of the data)
 o setY(int[])
Set the Y data to be passed to PV-WAVE (Does not make a copy of the data)
 o setY(Vector)
Set the Y data to be passed to PV-WAVE (Does not make a copy of the data)
 o setYCharsize(double)
Set Y axis character size (default = 1.0)
 o setYGridstyle(double)
Set Y axis grid style (0-5)
 o setYMinor(int)
Set Y axis number of minor ticks
 o setYnozero(boolean)
Set YnoZero flag so that 0.0 is not forced to be displayed on Z axes
 o setYRange(double, double)
Set Y axis range
 o setYStyle(int)
Set Y axis style (a bitmask - see PV-WAVE docs)
 o setYTicklen(double)
Set Y axis tick length (1.0 = entire length of axis)
 o setYTicks(int)
Set Y axis number of major ticks
 o setYTitle(String)
Set Y axis title
 o setYType(int)
Set Y axis type (0=linear, 1=log, 2=Julian date)
 o setZ(double[])
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ(double[], int, int)
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ(float[])
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ(float[], int, int)
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ(int[])
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ(int[], int, int)
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ(String, int)
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ(String, int, int)
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ(Vector)
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ(Vector, int, int)
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2(double[])
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2(double[], int, int)
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2(float[])
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2(float[], int, int)
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2(int[])
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2(int[], int, int)
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2(String, int)
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2(String, int, int)
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2(Vector)
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2(Vector, int, int)
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZCharsize(double)
Set Z axis character size (default = 1.0)
 o setZGridstyle(double)
Set Z axis grid style (0-5)
 o setZMinor(int)
Set Z axis number of minor ticks
 o setZRange(double, double)
Set Z axis range
 o setZStyle(int)
Set Z axis style (a bitmask - see PV-WAVE docs)
 o setZTicklen(double)
Set Z axis tick length (1.0 = entire length of axis)
 o setZTicks(int)
Set Z axis number of major ticks
 o setZTitle(String)
Set Z axis title
 o setZType(int)
Set Z axis type (0=linear, 1=log, 2=Julian date)
 o start()
Start the animation sequence
 o stop()
Stop the animation sequence
 o TEK_COLOR()
PV-WAVE TEK_COLOR command

Variables

 o usefile
  protected boolean usefile
 o grid
  protected boolean grid
 o gridnx
  protected int gridnx
 o gridny
  protected int gridny
 o gridnghbr
  protected int gridnghbr
 o imgcnt
  protected int imgcnt
 o id
  protected int id
 o file
  protected String file
 o fileext
  protected String fileext
 o img
  protected Bitmap img
 o tags
  protected String tags
 o displayOnly
  protected boolean displayOnly
 o disposed
  protected boolean disposed
 o animate
  protected boolean animate
 o framerate
  protected int framerate
 o imgSequence
  protected ImageSequence imgSequence
 o server
  protected String server
 o base
  protected String base
 o tek_color
  protected boolean tek_color
 o loadct
  protected int loadct
 o xpos
  protected int xpos
 o ypos
  protected int ypos
 o xsize
  protected int xsize
 o ysize
  protected int ysize
 o XDataType
  protected String XDataType
 o XI
  protected int XI[]
 o XF
  protected float XF[]
 o XD
  protected double XD[]
 o XV
  protected Vector XV
 o YDataType
  protected String YDataType
 o YI
  protected int YI[]
 o YF
  protected float YF[]
 o YD
  protected double YD[]
 o YV
  protected Vector YV
 o ZDataType
  protected String ZDataType
 o ZS
  protected String ZS
 o ZI
  protected int ZI[]
 o ZF
  protected float ZF[]
 o ZD
  protected double ZD[]
 o ZV
  protected Vector ZV
 o zrows
  protected int zrows
 o zcols
  protected int zcols
 o zelem
  protected int zelem
 o Z2DataType
  protected String Z2DataType
 o Z2S
  protected String Z2S
 o Z2I
  protected int Z2I[]
 o Z2F
  protected float Z2F[]
 o Z2D
  protected double Z2D[]
 o Z2V
  protected Vector Z2V
 o z2rows
  protected int z2rows
 o z2cols
  protected int z2cols
 o z2elem
  protected int z2elem
 o frames
  protected int frames
 o ax
  protected double ax
 o az
  protected double az
 o background
  protected int background
 o charsize
  protected double charsize
 o charthick
  protected double charthick
 o color
  protected int color
 o data
  protected boolean data
 o device
  protected boolean device
 o normal
  protected boolean normal
 o font
  protected int font
 o linestyle
  protected double linestyle
 o nodata
  protected boolean nodata
 o position
  protected double position[]
 o psym
  protected int psym
 o region
  protected double region[]
 o title
  protected String title
 o subtitle
  protected String subtitle
 o symsize
  protected double symsize
 o thick
  protected double thick
 o ticklen
  protected double ticklen
 o ynozero
  protected boolean ynozero
 o xcharsize
  protected double xcharsize
 o xgridstyle
  protected double xgridstyle
 o xminor
  protected int xminor
 o xmin
  protected double xmin
 o xmax
  protected double xmax
 o xstyle
  protected int xstyle
 o xticklen
  protected double xticklen
 o xticks
  protected int xticks
 o xtitle
  protected String xtitle
 o xtype
  protected int xtype
 o ycharsize
  protected double ycharsize
 o ygridstyle
  protected double ygridstyle
 o yminor
  protected int yminor
 o ymin
  protected double ymin
 o ymax
  protected double ymax
 o ystyle
  protected int ystyle
 o yticklen
  protected double yticklen
 o yticks
  protected int yticks
 o ytitle
  protected String ytitle
 o ytype
  protected int ytype
 o zcharsize
  protected double zcharsize
 o zgridstyle
  protected double zgridstyle
 o zminor
  protected int zminor
 o zmin
  protected double zmin
 o zmax
  protected double zmax
 o zstyle
  protected int zstyle
 o zticklen
  protected double zticklen
 o zticks
  protected int zticks
 o ztitle
  protected String ztitle
 o ztype
  protected int ztype

Constructors

 o WaveGraph
  public WaveGraph(int x,
                   int y,
                   int xs,
                   int ys)
Constructs a ContainerView of the desired location/size and resets protected variables.
Parameters:
x - the x location of the View
y - the x location of the View
xs - the with of the View
ys - the height of the View

Methods

 o plot
  public abstract void plot()
Abstract class that is implimented by classes that extend WaveGraph. Normally the method would call the "addGraph" method to set the plot type to be passed to the PV-WAVE server, followed by the desired "add" methods to included the appropriate keywords for the plot type derived from this class, followed by the callWave() method to send the commands to PV-WAVE and create the graphic.
 o bufferSize
  public int bufferSize()
Method which can be overridden to allow subclasses to send binary data other than the supported variables: X, Y, Z, and Z2. When overridden this method should return the number of BYTES (not simply elements) contained in the array or arrays to be passed to PV-WAVE.

This method is neccessary for CGI communications which require that a buffer large enough to hold the entire data and tag stream be created.

For example, to pass a variable "A" which is of type float the complete method in the subclass should look like this:

public int bufferSize() { return A.length * 4;}

 o sendData
  public void sendData()
Method which can be overridden to allow subclasses to send binary data other than the supported variables: X, Y, Z, and Z2. When overridden this method should return the number of BYTES (not simply elements) contained in the array or arrays to be passed to PV-WAVE.

For example, to pass a variable "A" which is of type float, the complete method in the subclass should look like this:

public void sendData() 
{  outStream.println("DATA\tX\tF\t"+A.length);
   int len = A.length;
   try {
      for(int i=0; i < len; i++) outData.writeFloat((float) A[i]);
   }  catch (IOException e) {
         System.out.println("IOException: " + e + "\n" );
         return;
   }  
}
The print stream outStream and data stream outData are protected variables in the WaveGraph class. The format for the tags sent to outStream should include these 4 values separated by tabs (\t):

     DATA          Required tag indicating binary data follows
     name          A string containing the variable name
     type          Variable type: I=int, F=float, S=string
     dim1, dim2... Array dimensions, with at least one provided.
 o dispose
  public void dispose()
Tell the PV-WAVE Graphics server to delete the files associated with this object
 o drawView
  public void drawView(Graphics g)
Draw method
Overrides:
drawView in class ContainerView
 o drawingSequenceFrameChanged
  public void drawingSequenceFrameChanged(DrawingSequence sequence)
Called when Drawing Sequence changes
 o drawingSequenceCompleted
  public void drawingSequenceCompleted(DrawingSequence sequence)
Called when Drawing Sequence completes
 o stop
  public void stop()
Stop the animation sequence
 o start
  public void start()
Start the animation sequence
 o setFrameRate
  public void setFrameRate(int rate)
Set the animation sequence frame rate (in milliseconds)
 o setPlaybackMode
  public void setPlaybackMode(int mode)
Set the animation sequence playback mode
 o nextFrame
  public void nextFrame()
Increment the animation sequence
 o TEK_COLOR
  public void TEK_COLOR()
PV-WAVE TEK_COLOR command
 o LOADCT
  public void LOADCT(int tbl)
PV-WAVE LOADCT command using an index between 0-32
 o LOADCT
  public void LOADCT(String tbl)
PV-WAVE LOADCT command using table name rather than index Valid values are: B-W LINEAR BLUE/WHITE GRN-RED-BLU-WHT RED TEMPERATURE BLUE/GREEN/RED/YELLOW STD GAMMA-II PRISM RED-PURPLE GREEN/WHITE LINEAR GRN/WHT EXPONENTIAL GREEN-PINK BLUE-RED 16 LEVEL 16 LEVEL II STEPS WAVE SPECIAL W-B LINEAR
 o setX
  public void setX(int data[])
Set the X data to be passed to PV-WAVE (Does not make a copy of the data)
 o setX
  public void setX(float data[])
Set the X data to be passed to PV-WAVE (Does not make a copy of the data)
 o setX
  public void setX(double data[])
Set the X data to be passed to PV-WAVE (Does not make a copy of the data)
 o setX
  public void setX(Vector data)
Set the X data to be passed to PV-WAVE (Does not make a copy of the data)
 o setY
  public void setY(int data[])
Set the Y data to be passed to PV-WAVE (Does not make a copy of the data)
 o setY
  public void setY(float data[])
Set the Y data to be passed to PV-WAVE (Does not make a copy of the data)
 o setY
  public void setY(double data[])
Set the Y data to be passed to PV-WAVE (Does not make a copy of the data)
 o setY
  public void setY(Vector data)
Set the Y data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ
  public void setZ(String data,
                   int count)
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ
  public void setZ(String data,
                   int rows,
                   int columns)
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ
  public void setZ(int data[])
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ
  public void setZ(float data[])
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ
  public void setZ(double data[])
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ
  public void setZ(Vector data)
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ
  public void setZ(int data[],
                   int rows,
                   int columns)
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ
  public void setZ(float data[],
                   int rows,
                   int columns)
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ
  public void setZ(double data[],
                   int rows,
                   int columns)
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ
  public void setZ(Vector data,
                   int rows,
                   int columns)
Set the Z data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2
  public void setZ2(String data,
                    int count)
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2
  public void setZ2(String data,
                    int rows,
                    int columns)
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2
  public void setZ2(int data[])
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2
  public void setZ2(float data[])
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2
  public void setZ2(double data[])
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2
  public void setZ2(Vector data)
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2
  public void setZ2(int data[],
                    int rows,
                    int columns)
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2
  public void setZ2(float data[],
                    int rows,
                    int columns)
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2
  public void setZ2(double data[],
                    int rows,
                    int columns)
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setZ2
  public void setZ2(Vector data,
                    int rows,
                    int columns)
Set the Z2 data to be passed to PV-WAVE (Does not make a copy of the data)
 o setGrid
  public void setGrid(boolean flag)
Define that data requires gridding (This assumes that setX, setY, and setZ are called and each represent vectors of the same length)
 o setGridNx
  public void setGridNx(int ncols)
Grid size in X direction
 o setGridNy
  public void setGridNy(int nrows)
Grid size in Y direction
 o setGridNghbr
  public void setGridNghbr(int neighbors)
Number of neighbors for grid
 o setFile
  public void setFile(String fil)
Set the filename if we just want to display a previously created plot
 o setLocalServer
  public void setLocalServer(String srv)
Set the the local directory path for passing data to the PV-WAVE server and retrieving the output. This typically would be used in a stand alone java application rather than a java applet. This sets the base URL for created graphics to be the same directory as the server directory.
 o setServer
  public void setServer(String srv)
Set the base URL of the cgi-bin directory where the waveserver script is found,
 o setBase
  public void setBase(String bas)
Set the base URL of the directory where waveserver will place plot files. (it should be a local URL path if setApplication(true) was called.)
 o setFrames
  public void setFrames(int n)
Set the number of frames in a previously created animation
 o setAx
  public void setAx(double rot)
Set rotation about X axis
 o setAz
  public void setAz(double rot)
Set rotation about Z axis
 o setBackground
  public void setBackground(int col)
Set Background color using index into PV-WAVE color table
 o setBackground
  public void setBackground(String col)
Set background color using standard Java color names: black green red blue lightGray white cyan magenta yellow darkGray orange gray pink
 o setCharsize
  public void setCharsize(double siz)
Set character size (default = 1.0)
 o setCharthick
  public void setCharthick(double thick)
Set character thickness (default = 1 pixel)
 o setColor
  public void setColor(int col)
Set line color using index into PV-WAVE color table
 o setColor
  public void setColor(String col)
Set line color using standard Java color names: black green red blue lightGray white cyan magenta yellow darkGray orange gray pink
 o setData
  public void setData(boolean flag)
Set data coordinate system to true
 o setDevice
  public void setDevice(boolean flag)
Set device coordinate system to true
 o setNormal
  public void setNormal(boolean flag)
Set normal coordinate system to true
 o setFont
  public void setFont(int fnt)
Set PV-WAVE font
 o setLinestyle
  public void setLinestyle(double lstyle)
Set line style
 o setNodata
  public void setNodata(boolean flag)
Set NoData flag so PV-WAVE only draws axes
 o setPosition
  public void setPosition(double x1,
                          double y1,
                          double x2,
                          double y2)
Set plot position in data, device, or normal coordinates
See Also:
setData, setDevice, setNormal
 o setPsym
  public void setPsym(int sym)
Set plot symbol
 o setRegion
  public void setRegion(double x1,
                        double y1,
                        double x2,
                        double y2)
Set plot region in normal coordinates
 o setTitle
  public void setTitle(String titl)
Set plot title
Overrides:
setTitle in class ContainerView
 o setSubtitle
  public void setSubtitle(String titl)
Set plot subtitle
 o setSymsize
  public void setSymsize(double siz)
Set symbol size (default = 1.0)
 o setThick
  public void setThick(double thick)
Set line thickness (default = 1 pixel)
 o setTicklen
  public void setTicklen(double tickl)
Set tick length (1.0 = entire length of axis)
 o setYnozero
  public void setYnozero(boolean flag)
Set YnoZero flag so that 0.0 is not forced to be displayed on Z axes
 o setXCharsize
  public void setXCharsize(double siz)
Set X axis character size (default = 1.0)
 o setXGridstyle
  public void setXGridstyle(double gstyle)
Set X axis grid style (0-5)
 o setXMinor
  public void setXMinor(int minor)
Set X axis number of minor ticks
 o setXRange
  public void setXRange(double min,
                        double max)
Set X axis range
 o setXStyle
  public void setXStyle(int style)
Set X axis style (a bitmask - see PV-WAVE docs)
 o setXTicklen
  public void setXTicklen(double len)
Set X axis tick length (1.0 = entire length of axis)
 o setXTicks
  public void setXTicks(int n)
Set X axis number of major ticks
 o setXTitle
  public void setXTitle(String titl)
Set X axis title
 o setXType
  public void setXType(int type)
Set X axis type (0=linear, 1=log, 2=Julian date)
 o setYCharsize
  public void setYCharsize(double siz)
Set Y axis character size (default = 1.0)
 o setYGridstyle
  public void setYGridstyle(double gstyle)
Set Y axis grid style (0-5)
 o setYMinor
  public void setYMinor(int minor)
Set Y axis number of minor ticks
 o setYRange
  public void setYRange(double min,
                        double max)
Set Y axis range
 o setYStyle
  public void setYStyle(int style)
Set Y axis style (a bitmask - see PV-WAVE docs)
 o setYTicklen
  public void setYTicklen(double len)
Set Y axis tick length (1.0 = entire length of axis)
 o setYTicks
  public void setYTicks(int n)
Set Y axis number of major ticks
 o setYTitle
  public void setYTitle(String titl)
Set Y axis title
 o setYType
  public void setYType(int type)
Set Y axis type (0=linear, 1=log, 2=Julian date)
 o setZCharsize
  public void setZCharsize(double siz)
Set Z axis character size (default = 1.0)
 o setZGridstyle
  public void setZGridstyle(double gstyle)
Set Z axis grid style (0-5)
 o setZMinor
  public void setZMinor(int minor)
Set Z axis number of minor ticks
 o setZRange
  public void setZRange(double min,
                        double max)
Set Z axis range
 o setZStyle
  public void setZStyle(int style)
Set Z axis style (a bitmask - see PV-WAVE docs)
 o setZTicklen
  public void setZTicklen(double len)
Set Z axis tick length (1.0 = entire length of axis)
 o setZTicks
  public void setZTicks(int n)
Set Z axis number of major ticks
 o setZTitle
  public void setZTitle(String titl)
Set Z axis title
 o setZType
  public void setZType(int type)
Set Z axis type (0=linear, 1=log, 2=Julian date)
 o callWave
  protected void callWave()
Protected method used by classes derived from WaveGraph
 o addGraph
  protected void addGraph(String name)
Protected method used by classes derived from WaveGraph
 o addTEK_COLOR
  protected void addTEK_COLOR()
Protected method used by classes derived from WaveGraph
 o addLOADCT
  protected void addLOADCT()
Protected method used by classes derived from WaveGraph
 o addX
  protected void addX()
Protected method used by classes derived from WaveGraph
 o addY
  protected void addY()
Protected method used by classes derived from WaveGraph
 o addZ
  protected void addZ()
Protected method used by classes derived from WaveGraph
 o addZ2
  protected void addZ2()
Protected method used by classes derived from WaveGraph
 o addGrid
  protected void addGrid()
Protected method used by classes derived from WaveGraph
 o addGridNx
  protected void addGridNx()
Protected method used by classes derived from WaveGraph
 o addGridNy
  protected void addGridNy()
Protected method used by classes derived from WaveGraph
 o addGridNghbr
  protected void addGridNghbr()
Protected method used by classes derived from WaveGraph
 o addFrames
  protected void addFrames()
Protected method used by classes derived from WaveGraph
 o addAx
  protected void addAx()
Protected method used by classes derived from WaveGraph
 o addAz
  protected void addAz()
Protected method used by classes derived from WaveGraph
 o addBackground
  protected void addBackground()
Protected method used by classes derived from WaveGraph
 o addCharsize
  protected void addCharsize()
Protected method used by classes derived from WaveGraph
 o addCharthick
  protected void addCharthick()
Protected method used by classes derived from WaveGraph
 o addColor
  protected void addColor()
Protected method used by classes derived from WaveGraph
 o addData
  protected void addData()
Protected method used by classes derived from WaveGraph
 o addDevice
  protected void addDevice()
Protected method used by classes derived from WaveGraph
 o addNormal
  protected void addNormal()
Protected method used by classes derived from WaveGraph
 o addFont
  protected void addFont()
Protected method used by classes derived from WaveGraph
 o addLinestyle
  protected void addLinestyle()
Protected method used by classes derived from WaveGraph
 o addNodata
  protected void addNodata()
Protected method used by classes derived from WaveGraph
 o addPosition
  protected void addPosition()
Protected method used by classes derived from WaveGraph
 o addPsym
  protected void addPsym()
Protected method used by classes derived from WaveGraph
 o addRegion
  protected void addRegion()
Protected method used by classes derived from WaveGraph
 o addTitle
  protected void addTitle()
Protected method used by classes derived from WaveGraph
 o addSubtitle
  protected void addSubtitle()
Protected method used by classes derived from WaveGraph
 o addSymsize
  protected void addSymsize()
Protected method used by classes derived from WaveGraph
 o addThick
  protected void addThick()
Protected method used by classes derived from WaveGraph
 o addTicklen
  protected void addTicklen()
Protected method used by classes derived from WaveGraph
 o addYnozero
  protected void addYnozero()
Protected method used by classes derived from WaveGraph
 o addXCharsize
  protected void addXCharsize()
Protected method used by classes derived from WaveGraph
 o addXGridstyle
  protected void addXGridstyle()
Protected method used by classes derived from WaveGraph
 o addXMinor
  protected void addXMinor()
Protected method used by classes derived from WaveGraph
 o addXRange
  protected void addXRange()
Protected method used by classes derived from WaveGraph
 o addXStyle
  protected void addXStyle()
Protected method used by classes derived from WaveGraph
 o addXTicklen
  protected void addXTicklen()
Protected method used by classes derived from WaveGraph
 o addXTicks
  protected void addXTicks()
Protected method used by classes derived from WaveGraph
 o addXTitle
  protected void addXTitle()
Protected method used by classes derived from WaveGraph
 o addXType
  protected void addXType()
Protected method used by classes derived from WaveGraph
 o addYCharsize
  protected void addYCharsize()
Protected method used by classes derived from WaveGraph
 o addYGridstyle
  protected void addYGridstyle()
Protected method used by classes derived from WaveGraph
 o addYMinor
  protected void addYMinor()
Protected method used by classes derived from WaveGraph
 o addYRange
  protected void addYRange()
Protected method used by classes derived from WaveGraph
 o addYStyle
  protected void addYStyle()
Protected method used by classes derived from WaveGraph
 o addYTicklen
  protected void addYTicklen()
Protected method used by classes derived from WaveGraph
 o addYTicks
  protected void addYTicks()
Protected method used by classes derived from WaveGraph
 o addYTitle
  protected void addYTitle()
Protected method used by classes derived from WaveGraph
 o addYType
  protected void addYType()
Protected method used by classes derived from WaveGraph
 o addZCharsize
  protected void addZCharsize()
Protected method used by classes derived from WaveGraph
 o addZGridstyle
  protected void addZGridstyle()
Protected method used by classes derived from WaveGraph
 o addZMinor
  protected void addZMinor()
Protected method used by classes derived from WaveGraph
 o addZRange
  protected void addZRange()
Protected method used by classes derived from WaveGraph
 o addZStyle
  protected void addZStyle()
Protected method used by classes derived from WaveGraph
 o addZTicklen
  protected void addZTicklen()
Protected method used by classes derived from WaveGraph
 o addZTicks
  protected void addZTicks()
Protected method used by classes derived from WaveGraph
 o addZTitle
  protected void addZTitle()
Protected method used by classes derived from WaveGraph
 o addZType
  protected void addZType()
Protected method used by classes derived from WaveGraph
 o reset
  public void reset()
Reset all PV-WAVE plot attributes and data

All Packages  Class Hierarchy  This Package  Previous  Next  Index