public class HistogramDrawing
extends usf.saav.common.mvc.ViewComponent.Default
implements usf.saav.common.mvc.ViewComponent
Constructor and Description |
---|
HistogramDrawing(int bins)
Instantiates a new histogram drawing.
|
HistogramDrawing(int bins,
boolean verbose)
Instantiates a new histogram drawing.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(usf.saav.common.mvc.swing.TGraphics g) |
void |
setData(ScalarField1D sf)
Sets the data.
|
void |
setData(ScalarField2D sf)
Sets the data.
|
void |
setData(ScalarField3D sf)
Sets the data.
|
void |
setData(ScalarFieldND sf)
Sets the data.
|
void |
setLinearScale()
Sets the linear scale.
|
void |
setLogScale()
Sets the log scale.
|
getHeight, getPosition, getU0, getV0, getWidth, inRange, setPosition, setPosition
disable, enable, isEnabled, setEnabled, setup, update
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public HistogramDrawing(int bins)
bins
- the binspublic HistogramDrawing(int bins, boolean verbose)
bins
- the binsverbose
- the verbosepublic void setLogScale()
public void setLinearScale()
public void setData(ScalarField1D sf)
sf
- the new datapublic void setData(ScalarField2D sf)
sf
- the new datapublic void setData(ScalarField3D sf)
sf
- the new datapublic void setData(ScalarFieldND sf)
sf
- the new datapublic void draw(usf.saav.common.mvc.swing.TGraphics g)
draw
in interface usf.saav.common.mvc.ViewComponent
draw
in class usf.saav.common.mvc.ViewComponent.Default