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

Variable Index

 o axiscolor
 o binsize
 o fillcolor
 o filled
 o noaxis
 o stepped
 o xmax
 o xmin

Constructor Index

 o WaveHistogram(int, int, int, int)
Creates a frame of the requested size

Method Index

 o addAxiscolor()
Protected method used by classes derived from WaveGraph
 o addBinsize()
Protected method used by classes derived from WaveGraph
 o addFillcolor()
Protected method used by classes derived from WaveGraph
 o addFilled()
Protected method used by classes derived from WaveGraph
 o addNoaxis()
Protected method used by classes derived from WaveGraph
 o addStepped()
Protected method used by classes derived from WaveGraph
 o addXmax()
Protected method used by classes derived from WaveGraph
 o addXmin()
Protected method used by classes derived from WaveGraph
 o plot()
Connects to the PV-WAVE server and creates the graphic display and displays it in the container.
 o reset()
Reset all PV-WAVE plot attributes and data
 o setAxiscolor(int)
Set the histogram axis color
 o setBinsize(int)
Set the histogram bin size
 o setFillcolor(int)
Set the histogram fill color
 o setFillcolor(String)
Set fill color using standard Java color names: black green red blue lightGray white cyan magenta yellow darkGray orange gray pink
 o setFilled(boolean)
Set histogram style to filled
 o setNoaxis(boolean)
Set histogram axes off
 o setStepped(boolean)
Set histogram to display as steps rather than bars
 o setXmax(double)
Set max Y value to be displayed on histogram
 o setXmin(double)
Set min Y value to be displayed on histogram

Variables

 o axiscolor
  protected int axiscolor
 o binsize
  protected int binsize
 o fillcolor
  protected int fillcolor
 o filled
  protected boolean filled
 o noaxis
  protected boolean noaxis
 o stepped
  protected boolean stepped
 o xmin
  protected double xmin
 o xmax
  protected double xmax

Constructors

 o 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

Methods

 o 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
 o setAxiscolor
  public void setAxiscolor(int color)
Set the histogram axis color
 o setBinsize
  public void setBinsize(int size)
Set the histogram bin size
 o setFillcolor
  public void setFillcolor(int color)
Set the histogram fill color
 o 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
 o setFilled
  public void setFilled(boolean flag)
Set histogram style to filled
 o setNoaxis
  public void setNoaxis(boolean flag)
Set histogram axes off
 o setStepped
  public void setStepped(boolean flag)
Set histogram to display as steps rather than bars
 o setXmin
  public void setXmin(double value)
Set min Y value to be displayed on histogram
 o setXmax
  public void setXmax(double value)
Set max Y value to be displayed on histogram
 o addAxiscolor
  protected void addAxiscolor()
Protected method used by classes derived from WaveGraph
 o addBinsize
  protected void addBinsize()
Protected method used by classes derived from WaveGraph
 o addFillcolor
  protected void addFillcolor()
Protected method used by classes derived from WaveGraph
 o addFilled
  protected void addFilled()
Protected method used by classes derived from WaveGraph
 o addNoaxis
  protected void addNoaxis()
Protected method used by classes derived from WaveGraph
 o addStepped
  protected void addStepped()
Protected method used by classes derived from WaveGraph
 o addXmin
  protected void addXmin()
Protected method used by classes derived from WaveGraph
 o addXmax
  protected void addXmax()
Protected method used by classes derived from WaveGraph
 o 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