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
-
animate
-
-
ax
-
-
az
-
-
background
-
-
base
-
-
charsize
-
-
charthick
-
-
color
-
-
data
-
-
device
-
-
displayOnly
-
-
disposed
-
-
file
-
-
fileext
-
-
font
-
-
framerate
-
-
frames
-
-
grid
-
-
gridnghbr
-
-
gridnx
-
-
gridny
-
-
id
-
-
img
-
-
imgcnt
-
-
imgSequence
-
-
linestyle
-
-
loadct
-
-
nodata
-
-
normal
-
-
position
-
-
psym
-
-
region
-
-
server
-
-
subtitle
-
-
symsize
-
-
tags
-
-
tek_color
-
-
thick
-
-
ticklen
-
-
title
-
-
usefile
-
-
xcharsize
-
-
XD
-
-
XDataType
-
-
XF
-
-
xgridstyle
-
-
XI
-
-
xmax
-
-
xmin
-
-
xminor
-
-
xpos
-
-
xsize
-
-
xstyle
-
-
xticklen
-
-
xticks
-
-
xtitle
-
-
xtype
-
-
XV
-
-
ycharsize
-
-
YD
-
-
YDataType
-
-
YF
-
-
ygridstyle
-
-
YI
-
-
ymax
-
-
ymin
-
-
yminor
-
-
ynozero
-
-
ypos
-
-
ysize
-
-
ystyle
-
-
yticklen
-
-
yticks
-
-
ytitle
-
-
ytype
-
-
YV
-
-
z2cols
-
-
Z2D
-
-
Z2DataType
-
-
z2elem
-
-
Z2F
-
-
Z2I
-
-
z2rows
-
-
Z2S
-
-
Z2V
-
-
zcharsize
-
-
zcols
-
-
ZD
-
-
ZDataType
-
-
zelem
-
-
ZF
-
-
zgridstyle
-
-
ZI
-
-
zmax
-
-
zmin
-
-
zminor
-
-
zrows
-
-
ZS
-
-
zstyle
-
-
zticklen
-
-
zticks
-
-
ztitle
-
-
ztype
-
-
ZV
-
-
WaveGraph(int, int, int, int)
- Constructs a ContainerView of the desired location/size and resets
protected variables.
-
addAx()
- Protected method used by classes derived from WaveGraph
-
addAz()
- Protected method used by classes derived from WaveGraph
-
addBackground()
- Protected method used by classes derived from WaveGraph
-
addCharsize()
- Protected method used by classes derived from WaveGraph
-
addCharthick()
- Protected method used by classes derived from WaveGraph
-
addColor()
- Protected method used by classes derived from WaveGraph
-
addData()
- Protected method used by classes derived from WaveGraph
-
addDevice()
- Protected method used by classes derived from WaveGraph
-
addFont()
- Protected method used by classes derived from WaveGraph
-
addFrames()
- Protected method used by classes derived from WaveGraph
-
addGraph(String)
- Protected method used by classes derived from WaveGraph
-
addGrid()
- Protected method used by classes derived from WaveGraph
-
addGridNghbr()
- Protected method used by classes derived from WaveGraph
-
addGridNx()
- Protected method used by classes derived from WaveGraph
-
addGridNy()
- Protected method used by classes derived from WaveGraph
-
addLinestyle()
- Protected method used by classes derived from WaveGraph
-
addLOADCT()
- Protected method used by classes derived from WaveGraph
-
addNodata()
- Protected method used by classes derived from WaveGraph
-
addNormal()
- Protected method used by classes derived from WaveGraph
-
addPosition()
- Protected method used by classes derived from WaveGraph
-
addPsym()
- Protected method used by classes derived from WaveGraph
-
addRegion()
- Protected method used by classes derived from WaveGraph
-
addSubtitle()
- Protected method used by classes derived from WaveGraph
-
addSymsize()
- Protected method used by classes derived from WaveGraph
-
addTEK_COLOR()
- Protected method used by classes derived from WaveGraph
-
addThick()
- Protected method used by classes derived from WaveGraph
-
addTicklen()
- Protected method used by classes derived from WaveGraph
-
addTitle()
- Protected method used by classes derived from WaveGraph
-
addX()
- Protected method used by classes derived from WaveGraph
-
addXCharsize()
- Protected method used by classes derived from WaveGraph
-
addXGridstyle()
- Protected method used by classes derived from WaveGraph
-
addXMinor()
- Protected method used by classes derived from WaveGraph
-
addXRange()
- Protected method used by classes derived from WaveGraph
-
addXStyle()
- Protected method used by classes derived from WaveGraph
-
addXTicklen()
- Protected method used by classes derived from WaveGraph
-
addXTicks()
- Protected method used by classes derived from WaveGraph
-
addXTitle()
- Protected method used by classes derived from WaveGraph
-
addXType()
- Protected method used by classes derived from WaveGraph
-
addY()
- Protected method used by classes derived from WaveGraph
-
addYCharsize()
- Protected method used by classes derived from WaveGraph
-
addYGridstyle()
- Protected method used by classes derived from WaveGraph
-
addYMinor()
- Protected method used by classes derived from WaveGraph
-
addYnozero()
- Protected method used by classes derived from WaveGraph
-
addYRange()
- Protected method used by classes derived from WaveGraph
-
addYStyle()
- Protected method used by classes derived from WaveGraph
-
addYTicklen()
- Protected method used by classes derived from WaveGraph
-
addYTicks()
- Protected method used by classes derived from WaveGraph
-
addYTitle()
- Protected method used by classes derived from WaveGraph
-
addYType()
- Protected method used by classes derived from WaveGraph
-
addZ()
- Protected method used by classes derived from WaveGraph
-
addZ2()
- Protected method used by classes derived from WaveGraph
-
addZCharsize()
- Protected method used by classes derived from WaveGraph
-
addZGridstyle()
- Protected method used by classes derived from WaveGraph
-
addZMinor()
- Protected method used by classes derived from WaveGraph
-
addZRange()
- Protected method used by classes derived from WaveGraph
-
addZStyle()
- Protected method used by classes derived from WaveGraph
-
addZTicklen()
- Protected method used by classes derived from WaveGraph
-
addZTicks()
- Protected method used by classes derived from WaveGraph
-
addZTitle()
- Protected method used by classes derived from WaveGraph
-
addZType()
- Protected method used by classes derived from WaveGraph
-
bufferSize()
- Method which can be overridden to allow subclasses to
send binary data other than the supported variables:
X, Y, Z, and Z2.
-
callWave()
- Protected method used by classes derived from WaveGraph
-
dispose()
- Tell the PV-WAVE Graphics server to delete the files associated with this object
-
drawingSequenceCompleted(DrawingSequence)
- Called when Drawing Sequence completes
-
drawingSequenceFrameChanged(DrawingSequence)
- Called when Drawing Sequence changes
-
drawView(Graphics)
- Draw method
-
LOADCT(int)
- PV-WAVE LOADCT command using an index between 0-32
-
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
-
nextFrame()
- Increment the animation sequence
-
plot()
- Abstract class that is implimented by classes that extend WaveGraph.
-
reset()
- Reset all PV-WAVE plot attributes and data
-
sendData()
- Method which can be overridden to allow subclasses to
send binary data other than the supported variables:
X, Y, Z, and Z2.
-
setAx(double)
- Set rotation about X axis
-
setAz(double)
- Set rotation about Z axis
-
setBackground(int)
- Set Background color using index into PV-WAVE color table
-
setBackground(String)
- Set background color using standard Java color names:
black green red blue lightGray white cyan magenta yellow
darkGray orange gray pink
-
setBase(String)
- Set the base URL of the directory where waveserver will place plot files.
-
setCharsize(double)
- Set character size (default = 1.0)
-
setCharthick(double)
- Set character thickness (default = 1 pixel)
-
setColor(int)
- Set line color using index into PV-WAVE color table
-
setColor(String)
- Set line color using standard Java color names:
black green red blue lightGray white cyan magenta yellow
darkGray orange gray pink
-
setData(boolean)
- Set data coordinate system to true
-
setDevice(boolean)
- Set device coordinate system to true
-
setFile(String)
- Set the filename if we just want to display a previously created plot
-
setFont(int)
- Set PV-WAVE font
-
setFrameRate(int)
- Set the animation sequence frame rate (in milliseconds)
-
setFrames(int)
- Set the number of frames in a previously created animation
-
setGrid(boolean)
- Define that data requires gridding
(This assumes that setX, setY, and setZ are called
and each represent vectors of the same length)
-
setGridNghbr(int)
- Number of neighbors for grid
-
setGridNx(int)
- Grid size in X direction
-
setGridNy(int)
- Grid size in Y direction
-
setLinestyle(double)
- Set line style
-
setLocalServer(String)
- Set the the local directory path for passing data to
the PV-WAVE server and retrieving the output.
-
setNodata(boolean)
- Set NoData flag so PV-WAVE only draws axes
-
setNormal(boolean)
- Set normal coordinate system to true
-
setPlaybackMode(int)
- Set the animation sequence playback mode
-
setPosition(double, double, double, double)
- Set plot position in data, device, or normal coordinates
-
setPsym(int)
- Set plot symbol
-
setRegion(double, double, double, double)
- Set plot region in normal coordinates
-
setServer(String)
- Set the base URL of the cgi-bin directory where the waveserver script is found,
-
setSubtitle(String)
- Set plot subtitle
-
setSymsize(double)
- Set symbol size (default = 1.0)
-
setThick(double)
- Set line thickness (default = 1 pixel)
-
setTicklen(double)
- Set tick length (1.0 = entire length of axis)
-
setTitle(String)
- Set plot title
-
setX(double[])
- Set the X data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setX(float[])
- Set the X data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setX(int[])
- Set the X data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setX(Vector)
- Set the X data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setXCharsize(double)
- Set X axis character size (default = 1.0)
-
setXGridstyle(double)
- Set X axis grid style (0-5)
-
setXMinor(int)
- Set X axis number of minor ticks
-
setXRange(double, double)
- Set X axis range
-
setXStyle(int)
- Set X axis style (a bitmask - see PV-WAVE docs)
-
setXTicklen(double)
- Set X axis tick length (1.0 = entire length of axis)
-
setXTicks(int)
- Set X axis number of major ticks
-
setXTitle(String)
- Set X axis title
-
setXType(int)
- Set X axis type (0=linear, 1=log, 2=Julian date)
-
setY(double[])
- Set the Y data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setY(float[])
- Set the Y data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setY(int[])
- Set the Y data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setY(Vector)
- Set the Y data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setYCharsize(double)
- Set Y axis character size (default = 1.0)
-
setYGridstyle(double)
- Set Y axis grid style (0-5)
-
setYMinor(int)
- Set Y axis number of minor ticks
-
setYnozero(boolean)
- Set YnoZero flag so that 0.0 is not forced to be displayed on Z axes
-
setYRange(double, double)
- Set Y axis range
-
setYStyle(int)
- Set Y axis style (a bitmask - see PV-WAVE docs)
-
setYTicklen(double)
- Set Y axis tick length (1.0 = entire length of axis)
-
setYTicks(int)
- Set Y axis number of major ticks
-
setYTitle(String)
- Set Y axis title
-
setYType(int)
- Set Y axis type (0=linear, 1=log, 2=Julian date)
-
setZ(double[])
- Set the Z data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ(double[], int, int)
- Set the Z data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ(float[])
- Set the Z data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ(float[], int, int)
- Set the Z data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ(int[])
- Set the Z data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ(int[], int, int)
- Set the Z data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ(String, int)
- Set the Z data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ(String, int, int)
- Set the Z data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ(Vector)
- Set the Z data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ(Vector, int, int)
- Set the Z data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ2(double[])
- Set the Z2 data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ2(double[], int, int)
- Set the Z2 data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ2(float[])
- Set the Z2 data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ2(float[], int, int)
- Set the Z2 data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ2(int[])
- Set the Z2 data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ2(int[], int, int)
- Set the Z2 data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ2(String, int)
- Set the Z2 data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ2(String, int, int)
- Set the Z2 data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ2(Vector)
- Set the Z2 data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZ2(Vector, int, int)
- Set the Z2 data to be passed to PV-WAVE
(Does not make a copy of the data)
-
setZCharsize(double)
- Set Z axis character size (default = 1.0)
-
setZGridstyle(double)
- Set Z axis grid style (0-5)
-
setZMinor(int)
- Set Z axis number of minor ticks
-
setZRange(double, double)
- Set Z axis range
-
setZStyle(int)
- Set Z axis style (a bitmask - see PV-WAVE docs)
-
setZTicklen(double)
- Set Z axis tick length (1.0 = entire length of axis)
-
setZTicks(int)
- Set Z axis number of major ticks
-
setZTitle(String)
- Set Z axis title
-
setZType(int)
- Set Z axis type (0=linear, 1=log, 2=Julian date)
-
start()
- Start the animation sequence
-
stop()
- Stop the animation sequence
-
TEK_COLOR()
- PV-WAVE TEK_COLOR command
usefile
protected boolean usefile
grid
protected boolean grid
gridnx
protected int gridnx
gridny
protected int gridny
gridnghbr
protected int gridnghbr
imgcnt
protected int imgcnt
id
protected int id
file
protected String file
fileext
protected String fileext
img
protected Bitmap img
tags
protected String tags
displayOnly
protected boolean displayOnly
disposed
protected boolean disposed
animate
protected boolean animate
framerate
protected int framerate
imgSequence
protected ImageSequence imgSequence
server
protected String server
base
protected String base
tek_color
protected boolean tek_color
loadct
protected int loadct
xpos
protected int xpos
ypos
protected int ypos
xsize
protected int xsize
ysize
protected int ysize
XDataType
protected String XDataType
XI
protected int XI[]
XF
protected float XF[]
XD
protected double XD[]
XV
protected Vector XV
YDataType
protected String YDataType
YI
protected int YI[]
YF
protected float YF[]
YD
protected double YD[]
YV
protected Vector YV
ZDataType
protected String ZDataType
ZS
protected String ZS
ZI
protected int ZI[]
ZF
protected float ZF[]
ZD
protected double ZD[]
ZV
protected Vector ZV
zrows
protected int zrows
zcols
protected int zcols
zelem
protected int zelem
Z2DataType
protected String Z2DataType
Z2S
protected String Z2S
Z2I
protected int Z2I[]
Z2F
protected float Z2F[]
Z2D
protected double Z2D[]
Z2V
protected Vector Z2V
z2rows
protected int z2rows
z2cols
protected int z2cols
z2elem
protected int z2elem
frames
protected int frames
ax
protected double ax
az
protected double az
background
protected int background
charsize
protected double charsize
charthick
protected double charthick
color
protected int color
data
protected boolean data
device
protected boolean device
normal
protected boolean normal
font
protected int font
linestyle
protected double linestyle
nodata
protected boolean nodata
position
protected double position[]
psym
protected int psym
region
protected double region[]
title
protected String title
subtitle
protected String subtitle
symsize
protected double symsize
thick
protected double thick
ticklen
protected double ticklen
ynozero
protected boolean ynozero
xcharsize
protected double xcharsize
xgridstyle
protected double xgridstyle
xminor
protected int xminor
xmin
protected double xmin
xmax
protected double xmax
xstyle
protected int xstyle
xticklen
protected double xticklen
xticks
protected int xticks
xtitle
protected String xtitle
xtype
protected int xtype
ycharsize
protected double ycharsize
ygridstyle
protected double ygridstyle
yminor
protected int yminor
ymin
protected double ymin
ymax
protected double ymax
ystyle
protected int ystyle
yticklen
protected double yticklen
yticks
protected int yticks
ytitle
protected String ytitle
ytype
protected int ytype
zcharsize
protected double zcharsize
zgridstyle
protected double zgridstyle
zminor
protected int zminor
zmin
protected double zmin
zmax
protected double zmax
zstyle
protected int zstyle
zticklen
protected double zticklen
zticks
protected int zticks
ztitle
protected String ztitle
ztype
protected int ztype
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
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.
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;}
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.
dispose
public void dispose()
- Tell the PV-WAVE Graphics server to delete the files associated with this object
drawView
public void drawView(Graphics g)
- Draw method
- Overrides:
- drawView in class ContainerView
drawingSequenceFrameChanged
public void drawingSequenceFrameChanged(DrawingSequence sequence)
- Called when Drawing Sequence changes
drawingSequenceCompleted
public void drawingSequenceCompleted(DrawingSequence sequence)
- Called when Drawing Sequence completes
stop
public void stop()
- Stop the animation sequence
start
public void start()
- Start the animation sequence
setFrameRate
public void setFrameRate(int rate)
- Set the animation sequence frame rate (in milliseconds)
setPlaybackMode
public void setPlaybackMode(int mode)
- Set the animation sequence playback mode
nextFrame
public void nextFrame()
- Increment the animation sequence
TEK_COLOR
public void TEK_COLOR()
- PV-WAVE TEK_COLOR command
LOADCT
public void LOADCT(int tbl)
- PV-WAVE LOADCT command using an index between 0-32
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
setX
public void setX(int data[])
- Set the X data to be passed to PV-WAVE
(Does not make a copy of the data)
setX
public void setX(float data[])
- Set the X data to be passed to PV-WAVE
(Does not make a copy of the data)
setX
public void setX(double data[])
- Set the X data to be passed to PV-WAVE
(Does not make a copy of the data)
setX
public void setX(Vector data)
- Set the X data to be passed to PV-WAVE
(Does not make a copy of the data)
setY
public void setY(int data[])
- Set the Y data to be passed to PV-WAVE
(Does not make a copy of the data)
setY
public void setY(float data[])
- Set the Y data to be passed to PV-WAVE
(Does not make a copy of the data)
setY
public void setY(double data[])
- Set the Y data to be passed to PV-WAVE
(Does not make a copy of the data)
setY
public void setY(Vector data)
- Set the Y data to be passed to PV-WAVE
(Does not make a copy of the data)
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)
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)
setZ
public void setZ(int data[])
- Set the Z data to be passed to PV-WAVE
(Does not make a copy of the data)
setZ
public void setZ(float data[])
- Set the Z data to be passed to PV-WAVE
(Does not make a copy of the data)
setZ
public void setZ(double data[])
- Set the Z data to be passed to PV-WAVE
(Does not make a copy of the data)
setZ
public void setZ(Vector data)
- Set the Z data to be passed to PV-WAVE
(Does not make a copy of the data)
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)
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)
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)
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)
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)
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)
setZ2
public void setZ2(int data[])
- Set the Z2 data to be passed to PV-WAVE
(Does not make a copy of the data)
setZ2
public void setZ2(float data[])
- Set the Z2 data to be passed to PV-WAVE
(Does not make a copy of the data)
setZ2
public void setZ2(double data[])
- Set the Z2 data to be passed to PV-WAVE
(Does not make a copy of the data)
setZ2
public void setZ2(Vector data)
- Set the Z2 data to be passed to PV-WAVE
(Does not make a copy of the data)
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)
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)
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)
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)
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)
setGridNx
public void setGridNx(int ncols)
- Grid size in X direction
setGridNy
public void setGridNy(int nrows)
- Grid size in Y direction
setGridNghbr
public void setGridNghbr(int neighbors)
- Number of neighbors for grid
setFile
public void setFile(String fil)
- Set the filename if we just want to display a previously created plot
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.
setServer
public void setServer(String srv)
- Set the base URL of the cgi-bin directory where the waveserver script is found,
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.)
setFrames
public void setFrames(int n)
- Set the number of frames in a previously created animation
setAx
public void setAx(double rot)
- Set rotation about X axis
setAz
public void setAz(double rot)
- Set rotation about Z axis
setBackground
public void setBackground(int col)
- Set Background color using index into PV-WAVE color table
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
setCharsize
public void setCharsize(double siz)
- Set character size (default = 1.0)
setCharthick
public void setCharthick(double thick)
- Set character thickness (default = 1 pixel)
setColor
public void setColor(int col)
- Set line color using index into PV-WAVE color table
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
setData
public void setData(boolean flag)
- Set data coordinate system to true
setDevice
public void setDevice(boolean flag)
- Set device coordinate system to true
setNormal
public void setNormal(boolean flag)
- Set normal coordinate system to true
setFont
public void setFont(int fnt)
- Set PV-WAVE font
setLinestyle
public void setLinestyle(double lstyle)
- Set line style
setNodata
public void setNodata(boolean flag)
- Set NoData flag so PV-WAVE only draws axes
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
setPsym
public void setPsym(int sym)
- Set plot symbol
setRegion
public void setRegion(double x1,
double y1,
double x2,
double y2)
- Set plot region in normal coordinates
setTitle
public void setTitle(String titl)
- Set plot title
- Overrides:
- setTitle in class ContainerView
setSubtitle
public void setSubtitle(String titl)
- Set plot subtitle
setSymsize
public void setSymsize(double siz)
- Set symbol size (default = 1.0)
setThick
public void setThick(double thick)
- Set line thickness (default = 1 pixel)
setTicklen
public void setTicklen(double tickl)
- Set tick length (1.0 = entire length of axis)
setYnozero
public void setYnozero(boolean flag)
- Set YnoZero flag so that 0.0 is not forced to be displayed on Z axes
setXCharsize
public void setXCharsize(double siz)
- Set X axis character size (default = 1.0)
setXGridstyle
public void setXGridstyle(double gstyle)
- Set X axis grid style (0-5)
setXMinor
public void setXMinor(int minor)
- Set X axis number of minor ticks
setXRange
public void setXRange(double min,
double max)
- Set X axis range
setXStyle
public void setXStyle(int style)
- Set X axis style (a bitmask - see PV-WAVE docs)
setXTicklen
public void setXTicklen(double len)
- Set X axis tick length (1.0 = entire length of axis)
setXTicks
public void setXTicks(int n)
- Set X axis number of major ticks
setXTitle
public void setXTitle(String titl)
- Set X axis title
setXType
public void setXType(int type)
- Set X axis type (0=linear, 1=log, 2=Julian date)
setYCharsize
public void setYCharsize(double siz)
- Set Y axis character size (default = 1.0)
setYGridstyle
public void setYGridstyle(double gstyle)
- Set Y axis grid style (0-5)
setYMinor
public void setYMinor(int minor)
- Set Y axis number of minor ticks
setYRange
public void setYRange(double min,
double max)
- Set Y axis range
setYStyle
public void setYStyle(int style)
- Set Y axis style (a bitmask - see PV-WAVE docs)
setYTicklen
public void setYTicklen(double len)
- Set Y axis tick length (1.0 = entire length of axis)
setYTicks
public void setYTicks(int n)
- Set Y axis number of major ticks
setYTitle
public void setYTitle(String titl)
- Set Y axis title
setYType
public void setYType(int type)
- Set Y axis type (0=linear, 1=log, 2=Julian date)
setZCharsize
public void setZCharsize(double siz)
- Set Z axis character size (default = 1.0)
setZGridstyle
public void setZGridstyle(double gstyle)
- Set Z axis grid style (0-5)
setZMinor
public void setZMinor(int minor)
- Set Z axis number of minor ticks
setZRange
public void setZRange(double min,
double max)
- Set Z axis range
setZStyle
public void setZStyle(int style)
- Set Z axis style (a bitmask - see PV-WAVE docs)
setZTicklen
public void setZTicklen(double len)
- Set Z axis tick length (1.0 = entire length of axis)
setZTicks
public void setZTicks(int n)
- Set Z axis number of major ticks
setZTitle
public void setZTitle(String titl)
- Set Z axis title
setZType
public void setZType(int type)
- Set Z axis type (0=linear, 1=log, 2=Julian date)
callWave
protected void callWave()
- Protected method used by classes derived from WaveGraph
addGraph
protected void addGraph(String name)
- Protected method used by classes derived from WaveGraph
addTEK_COLOR
protected void addTEK_COLOR()
- Protected method used by classes derived from WaveGraph
addLOADCT
protected void addLOADCT()
- Protected method used by classes derived from WaveGraph
addX
protected void addX()
- Protected method used by classes derived from WaveGraph
addY
protected void addY()
- Protected method used by classes derived from WaveGraph
addZ
protected void addZ()
- Protected method used by classes derived from WaveGraph
addZ2
protected void addZ2()
- Protected method used by classes derived from WaveGraph
addGrid
protected void addGrid()
- Protected method used by classes derived from WaveGraph
addGridNx
protected void addGridNx()
- Protected method used by classes derived from WaveGraph
addGridNy
protected void addGridNy()
- Protected method used by classes derived from WaveGraph
addGridNghbr
protected void addGridNghbr()
- Protected method used by classes derived from WaveGraph
addFrames
protected void addFrames()
- Protected method used by classes derived from WaveGraph
addAx
protected void addAx()
- Protected method used by classes derived from WaveGraph
addAz
protected void addAz()
- Protected method used by classes derived from WaveGraph
addBackground
protected void addBackground()
- Protected method used by classes derived from WaveGraph
addCharsize
protected void addCharsize()
- Protected method used by classes derived from WaveGraph
addCharthick
protected void addCharthick()
- Protected method used by classes derived from WaveGraph
addColor
protected void addColor()
- Protected method used by classes derived from WaveGraph
addData
protected void addData()
- Protected method used by classes derived from WaveGraph
addDevice
protected void addDevice()
- Protected method used by classes derived from WaveGraph
addNormal
protected void addNormal()
- Protected method used by classes derived from WaveGraph
addFont
protected void addFont()
- Protected method used by classes derived from WaveGraph
addLinestyle
protected void addLinestyle()
- Protected method used by classes derived from WaveGraph
addNodata
protected void addNodata()
- Protected method used by classes derived from WaveGraph
addPosition
protected void addPosition()
- Protected method used by classes derived from WaveGraph
addPsym
protected void addPsym()
- Protected method used by classes derived from WaveGraph
addRegion
protected void addRegion()
- Protected method used by classes derived from WaveGraph
addTitle
protected void addTitle()
- Protected method used by classes derived from WaveGraph
addSubtitle
protected void addSubtitle()
- Protected method used by classes derived from WaveGraph
addSymsize
protected void addSymsize()
- Protected method used by classes derived from WaveGraph
addThick
protected void addThick()
- Protected method used by classes derived from WaveGraph
addTicklen
protected void addTicklen()
- Protected method used by classes derived from WaveGraph
addYnozero
protected void addYnozero()
- Protected method used by classes derived from WaveGraph
addXCharsize
protected void addXCharsize()
- Protected method used by classes derived from WaveGraph
addXGridstyle
protected void addXGridstyle()
- Protected method used by classes derived from WaveGraph
addXMinor
protected void addXMinor()
- Protected method used by classes derived from WaveGraph
addXRange
protected void addXRange()
- Protected method used by classes derived from WaveGraph
addXStyle
protected void addXStyle()
- Protected method used by classes derived from WaveGraph
addXTicklen
protected void addXTicklen()
- Protected method used by classes derived from WaveGraph
addXTicks
protected void addXTicks()
- Protected method used by classes derived from WaveGraph
addXTitle
protected void addXTitle()
- Protected method used by classes derived from WaveGraph
addXType
protected void addXType()
- Protected method used by classes derived from WaveGraph
addYCharsize
protected void addYCharsize()
- Protected method used by classes derived from WaveGraph
addYGridstyle
protected void addYGridstyle()
- Protected method used by classes derived from WaveGraph
addYMinor
protected void addYMinor()
- Protected method used by classes derived from WaveGraph
addYRange
protected void addYRange()
- Protected method used by classes derived from WaveGraph
addYStyle
protected void addYStyle()
- Protected method used by classes derived from WaveGraph
addYTicklen
protected void addYTicklen()
- Protected method used by classes derived from WaveGraph
addYTicks
protected void addYTicks()
- Protected method used by classes derived from WaveGraph
addYTitle
protected void addYTitle()
- Protected method used by classes derived from WaveGraph
addYType
protected void addYType()
- Protected method used by classes derived from WaveGraph
addZCharsize
protected void addZCharsize()
- Protected method used by classes derived from WaveGraph
addZGridstyle
protected void addZGridstyle()
- Protected method used by classes derived from WaveGraph
addZMinor
protected void addZMinor()
- Protected method used by classes derived from WaveGraph
addZRange
protected void addZRange()
- Protected method used by classes derived from WaveGraph
addZStyle
protected void addZStyle()
- Protected method used by classes derived from WaveGraph
addZTicklen
protected void addZTicklen()
- Protected method used by classes derived from WaveGraph
addZTicks
protected void addZTicks()
- Protected method used by classes derived from WaveGraph
addZTitle
protected void addZTitle()
- Protected method used by classes derived from WaveGraph
addZType
protected void addZType()
- Protected method used by classes derived from WaveGraph
reset
public void reset()
- Reset all PV-WAVE plot attributes and data
All Packages Class Hierarchy This Package Previous Next Index