Class VisualNumerics.wave.WaveHistogram
All Packages Class Hierarchy This Package Previous Next Index
Class VisualNumerics.wave.WaveHistogram
java.lang.Object
|
+----netscape.application.View
|
+----netscape.application.ContainerView
|
+----VisualNumerics.wave.WaveGraph
|
+----VisualNumerics.wave.WaveHistogram
- public class WaveHistogram
- extends WaveGraph
A class for creating Histogram plots.
This class encapsulates the PV-WAVE HISTOGRAM and
PLOT_HISTOGRAM commands
and all of the associated positional parameters and keywords
and produces a Histogram plot in a new container.
Methods for setting all of the parameters/keywords have the form
setKeyword(arg1, arg2, ...) where "Keyword" is the parameter
or keyword name from the PV-WAVE documentation. See the WaveGraph
class documentation for information on these methods.
This class also handles the communication between the applet and a PV-WAVE
graphic server running on the web server that served the java applet.
- Version:
- 2.00, 4 Dec 1996
- Author:
- Steve Lang
- See Also:
- setZ, TEK_COLOR, LOADCT, setBackground, setColor, setNodata, setPosition, setRegion, setTitle, setThick, setXRange, setXStyle, setXTicklen, setXTitle, setXType, setYRange, setYStyle, setYTicklen, setYTitle, setYType, setFile
-
axiscolor
-
-
binsize
-
-
fillcolor
-
-
filled
-
-
noaxis
-
-
stepped
-
-
xmax
-
-
xmin
-
-
WaveHistogram(int, int, int, int)
- Creates a frame of the requested size
-
addAxiscolor()
- Protected method used by classes derived from WaveGraph
-
addBinsize()
- Protected method used by classes derived from WaveGraph
-
addFillcolor()
- Protected method used by classes derived from WaveGraph
-
addFilled()
- Protected method used by classes derived from WaveGraph
-
addNoaxis()
- Protected method used by classes derived from WaveGraph
-
addStepped()
- Protected method used by classes derived from WaveGraph
-
addXmax()
- Protected method used by classes derived from WaveGraph
-
addXmin()
- Protected method used by classes derived from WaveGraph
-
plot()
- Connects to the PV-WAVE server and creates the graphic
display and displays it in the container.
-
reset()
- Reset all PV-WAVE plot attributes and data
-
setAxiscolor(int)
- Set the histogram axis color
-
setBinsize(int)
- Set the histogram bin size
-
setFillcolor(int)
- Set the histogram fill color
-
setFillcolor(String)
- Set fill color using standard Java color names:
black green red blue lightGray white cyan magenta yellow
darkGray orange gray pink
-
setFilled(boolean)
- Set histogram style to filled
-
setNoaxis(boolean)
- Set histogram axes off
-
setStepped(boolean)
- Set histogram to display as steps rather than bars
-
setXmax(double)
- Set max Y value to be displayed on histogram
-
setXmin(double)
- Set min Y value to be displayed on histogram
axiscolor
protected int axiscolor
binsize
protected int binsize
fillcolor
protected int fillcolor
filled
protected boolean filled
noaxis
protected boolean noaxis
stepped
protected boolean stepped
xmin
protected double xmin
xmax
protected double xmax
WaveHistogram
public WaveHistogram(int x,
int y,
int xsize,
int ysize)
- Creates a frame of the requested size
- 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 void plot()
- Connects to the PV-WAVE server and creates the graphic
display and displays it in the container.
- Overrides:
- plot in class WaveGraph
setAxiscolor
public void setAxiscolor(int color)
- Set the histogram axis color
setBinsize
public void setBinsize(int size)
- Set the histogram bin size
setFillcolor
public void setFillcolor(int color)
- Set the histogram fill color
setFillcolor
public void setFillcolor(String col)
- Set fill color using standard Java color names:
black green red blue lightGray white cyan magenta yellow
darkGray orange gray pink
setFilled
public void setFilled(boolean flag)
- Set histogram style to filled
setNoaxis
public void setNoaxis(boolean flag)
- Set histogram axes off
setStepped
public void setStepped(boolean flag)
- Set histogram to display as steps rather than bars
setXmin
public void setXmin(double value)
- Set min Y value to be displayed on histogram
setXmax
public void setXmax(double value)
- Set max Y value to be displayed on histogram
addAxiscolor
protected void addAxiscolor()
- Protected method used by classes derived from WaveGraph
addBinsize
protected void addBinsize()
- Protected method used by classes derived from WaveGraph
addFillcolor
protected void addFillcolor()
- Protected method used by classes derived from WaveGraph
addFilled
protected void addFilled()
- Protected method used by classes derived from WaveGraph
addNoaxis
protected void addNoaxis()
- Protected method used by classes derived from WaveGraph
addStepped
protected void addStepped()
- Protected method used by classes derived from WaveGraph
addXmin
protected void addXmin()
- Protected method used by classes derived from WaveGraph
addXmax
protected void addXmax()
- Protected method used by classes derived from WaveGraph
reset
public void reset()
- Reset all PV-WAVE plot attributes and data
- Overrides:
- reset in class WaveGraph
All Packages Class Hierarchy This Package Previous Next Index