public class PlotPanel extends IPanel
The primary purpose of this class is ease-of-use. A plot panel handles much of the work of constructing a mosaic of tiled graphical views.
One consequence of ease-of-use is that some of the methods provided by this class are redundant. For example, some methods have (irow,icol) parameters that specify the row and column indices of a tile. These parameters are useful for mosaics with more than one tile. However, the most common case is a mosaic with only one tile; and, for this case, a corresponding method without (irow,icol) parameters is provided as well. The latter method simply calls the former with (irow,icol) = (0,0).
An important property of a plot panel is the orientation of its axes. Tiles have axes x1 and x2. By default, the x1 axis increases toward the right and the x2 axis increases toward the top of each tile in a mosaic. In this default X1RIGHT_X2UP orientation, the coordinates (x1,x2) correspond to conventional (x,y) coordinates. An alternative orientation is X1DOWN_X2RIGHT, which is useful when the x1 axis corresponds to, say, a depth coordinate z.
Modifier and Type | Class and Description |
---|---|
static class |
PlotPanel.AxesPlacement
Placement of labeled axes in mosaic.
|
static class |
PlotPanel.Orientation
Orientation of axes x1 and x2.
|
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
PlotPanel()
Constructs a new plot panel with a mosaic of one tile.
|
PlotPanel(int nrow,
int ncol)
Constructs a new plot panel with a mosaic of nrow by ncol tiles.
|
PlotPanel(int nrow,
int ncol,
PlotPanel.Orientation orientation) |
PlotPanel(int nrow,
int ncol,
PlotPanel.Orientation orientation,
PlotPanel.AxesPlacement axesPlacement)
Constructs a new plot panel with a mosaic of nrow by ncol tiles.
|
PlotPanel(PlotPanel.Orientation orientation)
Constructs a new plot panel with a mosaic of one tile.
|
Modifier and Type | Method and Description |
---|---|
ColorBar |
addColorBar()
Adds the color bar with no label.
|
ColorBar |
addColorBar(ColorMapped cm)
Adds a color bar with a specified color mapped object and no label.
|
ColorBar |
addColorBar(ColorMapped cm,
java.lang.String label)
Adds a color bar with a specified color mapped object and label.
|
ColorBar |
addColorBar(java.lang.String label)
Adds the color bar with specified label.
|
ContoursView |
addContours(float[][] f)
Adds a contours view with the function f(x1,x2).
|
ContoursView |
addContours(int irow,
int icol,
float[][] f)
Adds a contours view with the function f(x1,x2).
|
ContoursView |
addContours(int irow,
int icol,
Sampling s1,
Sampling s2,
float[][] f)
Adds a contours view of the specified sampled function f(x1,x2).
|
ContoursView |
addContours(Sampling s1,
Sampling s2,
float[][] f)
Adds a contours view of the specified sampled function f(x1,x2).
|
GridView |
addGrid()
Adds a grid view.
|
GridView |
addGrid(int irow,
int icol)
Adds a grid view.
|
GridView |
addGrid(int irow,
int icol,
java.lang.String parameters)
Adds a grid view with specified parameters string.
|
GridView |
addGrid(java.lang.String parameters)
Adds a grid view with specified parameters string.
|
PixelsView |
addPixels(float[][] f)
Adds a pixels view of the specified sampled function f(x1,x2).
|
PixelsView |
addPixels(float[][][] f)
Adds a pixels view of the specified sampled function f(x1,x2).
|
PixelsView |
addPixels(int irow,
int icol,
float[][] f)
Adds a pixels view of the specified sampled function f(x1,x2).
|
PixelsView |
addPixels(int irow,
int icol,
float[][][] f)
Adds a pixels view of the specified sampled function f(x1,x2).
|
PixelsView |
addPixels(int irow,
int icol,
Sampling s1,
Sampling s2,
float[][] f)
Adds a pixels view of the specified sampled function f(x1,x2).
|
PixelsView |
addPixels(int irow,
int icol,
Sampling s1,
Sampling s2,
float[][][] f)
Adds a pixels view of the specified sampled function f(x1,x2).
|
PixelsView |
addPixels(Sampling s1,
Sampling s2,
float[][] f)
Adds a pixels view of the specified sampled function f(x1,x2).
|
PixelsView |
addPixels(Sampling s1,
Sampling s2,
float[][][] f)
Adds a pixels view of the specified sampled function f(x1,x2).
|
PointsView |
addPoints(float[] x2)
Adds a points view of (x1,x2) with specified x2 coordinates.
|
PointsView |
addPoints(float[][] x1,
float[][] x2)
Adds a view of arrays of (x1,x2) coordinates for multiple plot segments.
|
PointsView |
addPoints(float[] x1,
float[] x2)
Adds a points view of the arrays x1 and x2 of point (x1,x2) coordinates.
|
PointsView |
addPoints(float[] x1,
float[] x2,
float[] x3)
Adds a points view of arrays x1, x2 and x3 of point (x1,x2,x3) coordinates.
|
PointsView |
addPoints(int irow,
int icol,
float[] x2)
Adds a points view of (x1,x2) with specified x2 coordinates.
|
PointsView |
addPoints(int irow,
int icol,
float[][] x1,
float[][] x2)
Adds a view of arrays of (x1,x2) coordinates for multiple plot segments.
|
PointsView |
addPoints(int irow,
int icol,
float[] x1,
float[] x2)
Adds a points view of the arrays x1 and x2 of point (x1,x2) coordinates.
|
PointsView |
addPoints(int irow,
int icol,
float[] x1,
float[] x2,
float[] x3)
Adds a points view of arrays x1, x2 and x3 of point (x1,x2,x3) coordinates.
|
PointsView |
addPoints(int irow,
int icol,
Sampling s1,
float[] x2)
Adds a view of points (x1,x2) for a sampled function x2(x1).
|
PointsView |
addPoints(Sampling s1,
float[] x2)
Adds a view of points (x1,x2) for a sampled function x2(x1).
|
SequenceView |
addSequence(float[] f)
Adds a sequence view with specified values f(x).
|
SequenceView |
addSequence(int irow,
int icol,
float[] f)
Adds a sequence view with specified values f(x).
|
SequenceView |
addSequence(int irow,
int icol,
Sampling sx,
float[] f)
Adds a sequence view with specified sampling and values f(x).
|
SequenceView |
addSequence(Sampling sx,
float[] f)
Adds a sequence view with specified sampling and values f(x).
|
boolean |
addTiledView(int irow,
int icol,
TiledView tv)
Adds the specified tiled view to this plot panel.
|
boolean |
addTiledView(TiledView tv)
Adds the specified tiled view to this plot panel.
|
void |
addTitle(java.lang.String title)
Adds the plot title.
|
Mosaic |
getMosaic()
Gets the mosaic.
|
Tile |
getTile(int irow,
int icol)
Gets the tile with specified row and column indices.
|
boolean |
remove(TiledView tv)
Removes the specified tiled view from this plot panel.
|
void |
removeColorBar()
Removes the color bar.
|
void |
removeTitle()
Removes the plot title.
|
void |
setBackground(java.awt.Color color)
Sets the background color in all components of this panel.
|
void |
setColorBarFormat(java.lang.String format)
Sets the format for major tic annotation of the color bar.
|
void |
setColorBarWidthMinimum(int widthMinimum)
Sets a minimum width (in pixels) for a color bar.
|
void |
setFont(java.awt.Font font)
Sets the font in all components of this panel.
|
void |
setForeground(java.awt.Color color)
Sets the foreground color in all components of this panel.
|
void |
setHFormat(int icol,
java.lang.String format)
Sets the format for the horizontal axis in the specified column.
|
void |
setHFormat(java.lang.String format)
Sets the format for the horizontal axis.
|
void |
setHInterval(double interval)
Sets the tic interval for the horizontal axis.
|
void |
setHInterval(int icol,
double interval)
Sets the tic interval for the horizontal axis in the specified column.
|
void |
setHLabel(int icol,
java.lang.String label)
Sets the label for the horizontal axis in the specified column.
|
void |
setHLabel(java.lang.String label)
Sets the label for the horizontal axis.
|
void |
setHLimits(double hmin,
double hmax)
Sets limits for the horizontal axis.
|
void |
setHLimits(int icol,
double hmin,
double hmax)
Sets limits for the horizontal axis in the specified column.
|
void |
setHLimitsDefault()
Sets default limits for the horizontal axis.
|
void |
setHLimitsDefault(int icol)
Sets default limits for the horizontal axis in the specified column.
|
void |
setLimits(double hmin,
double vmin,
double hmax,
double vmax)
Sets limits for the both horizontal and vertical axes.
|
void |
setLimitsDefault()
Sets default limits for horizontal and vertical axes.
|
void |
setTitle(java.lang.String title)
Sets the plot title.
|
void |
setVFormat(int irow,
java.lang.String format)
Sets the format for the vertical axis in the specified row.
|
void |
setVFormat(java.lang.String format)
Sets the format for the vertical axis.
|
void |
setVInterval(double interval)
Sets the tic interval for the vertical axis.
|
void |
setVInterval(int irow,
double interval)
Sets the tic interval for the vertical axis in the specified column.
|
void |
setVLabel(int irow,
java.lang.String label)
Sets the label for the vertical axis in the specified row.
|
void |
setVLabel(java.lang.String label)
Sets the label for the vertical axis.
|
void |
setVLimits(double vmin,
double vmax)
Sets limits for the vertical axis.
|
void |
setVLimits(int irow,
double vmin,
double vmax)
Sets limits for the vertical axis in the specified row.
|
void |
setVLimitsDefault()
Sets default limits for the vertical axis.
|
void |
setVLimitsDefault(int irow)
Sets default limits for the vertical axis in the specified column.
|
void |
setVRotated(int irow,
boolean rotated)
Sets tic label rotation for the vertical axis in the specifie row.
|
computeScale, createGraphics, getLineWidth, paintToImage, paintToImage, paintToPng, paintToRect, scaleLineWidth
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public PlotPanel()
public PlotPanel(int nrow, int ncol)
nrow
- the number of rows.ncol
- the number of columns.public PlotPanel(PlotPanel.Orientation orientation)
orientation
- the plot orientation.public PlotPanel(int nrow, int ncol, PlotPanel.Orientation orientation)
public PlotPanel(int nrow, int ncol, PlotPanel.Orientation orientation, PlotPanel.AxesPlacement axesPlacement)
nrow
- the number of rows.ncol
- the number of columns.orientation
- the plot orientation.axesPlacement
- the placement of axes.public Mosaic getMosaic()
public Tile getTile(int irow, int icol)
irow
- the row index.icol
- the column index.public ColorBar addColorBar()
public ColorBar addColorBar(java.lang.String label)
label
- the label; null, if none.public ColorBar addColorBar(ColorMapped cm)
cm
- the specified color mapped.public ColorBar addColorBar(ColorMapped cm, java.lang.String label)
cm
- the color mapped object.label
- the label.public void setColorBarWidthMinimum(int widthMinimum)
widthMinimum
- the minimum width.public void setColorBarFormat(java.lang.String format)
format
- the format.public void removeColorBar()
public void addTitle(java.lang.String title)
setTitle(String)
.
The title font is 1.5 times larger than the font of this panel.title
- the title; null, if none.public void setTitle(java.lang.String title)
addTitle(String)
.title
- the title; null, for no title.public void removeTitle()
setTitle(String)
with a null title.public void setLimits(double hmin, double vmin, double hmax, double vmax)
hmin
- the minimum value.vmin
- the minimum value.hmax
- the maximum value.vmax
- the maximum value.public void setHLimits(double hmin, double hmax)
hmin
- the minimum value.hmax
- the maximum value.public void setVLimits(double vmin, double vmax)
vmin
- the minimum value.vmax
- the maximum value.public void setHLimits(int icol, double hmin, double hmax)
icol
- the column index.hmin
- the minimum value.hmax
- the maximum value.public void setVLimits(int irow, double vmin, double vmax)
irow
- the row index.vmin
- the minimum value.vmax
- the maximum value.public void setLimitsDefault()
public void setHLimitsDefault()
public void setVLimitsDefault()
public void setHLimitsDefault(int icol)
icol
- the column index.public void setVLimitsDefault(int irow)
irow
- the row index.public void setHLabel(java.lang.String label)
label
- the label.public void setVLabel(java.lang.String label)
label
- the label.public void setHLabel(int icol, java.lang.String label)
icol
- the column index.label
- the label.public void setVLabel(int irow, java.lang.String label)
irow
- the row index.label
- the label.public void setHFormat(java.lang.String format)
format
- the format.public void setVFormat(java.lang.String format)
format
- the format.public void setHFormat(int icol, java.lang.String format)
icol
- the column index.format
- the format.public void setVFormat(int irow, java.lang.String format)
irow
- the row index.format
- the format.public void setVRotated(int irow, boolean rotated)
irow
- the row index.rotated
- true, if rotated; false, otherwise.public void setHInterval(double interval)
interval
- the major labeled tic interval.public void setVInterval(double interval)
interval
- the major labeled tic interval.public void setHInterval(int icol, double interval)
icol
- the column index.interval
- the major labeled tic interval.public void setVInterval(int irow, double interval)
irow
- the row index.interval
- the major labeled tic interval.public GridView addGrid()
public GridView addGrid(java.lang.String parameters)
GridView.setParameters(String)
.parameters
- the parameters string.public GridView addGrid(int irow, int icol)
irow
- the tile row index.icol
- the tile column index.public GridView addGrid(int irow, int icol, java.lang.String parameters)
GridView.setParameters(String)
.irow
- the tile row index.icol
- the tile column index.parameters
- the parameters string.public PixelsView addPixels(float[][] f)
f
- array[n2][n1] of sampled function values f(x1,x2), where
n1 = f[0].length and n2 = f.length.public PixelsView addPixels(Sampling s1, Sampling s2, float[][] f)
s1
- the sampling of the variable x1; must be uniform.s2
- the sampling of the variable x2; must be uniform.f
- array[n2][n1] of sampled function values f(x1,x2), where
n1 = f[0].length and n2 = f.length.public PixelsView addPixels(int irow, int icol, float[][] f)
irow
- the tile row index.icol
- the tile column index.f
- array[n2][n1] of sampled function values f(x1,x2),
where n1 = f[0].length and n2 = f.length.public PixelsView addPixels(int irow, int icol, Sampling s1, Sampling s2, float[][] f)
irow
- the tile row index.icol
- the tile column index.s1
- the sampling of the variable x1; must be uniform.s2
- the sampling of the variable x2; must be uniform.f
- array[n2][n1] of sampled function values f(x1,x2),
where n1 = f[0].length and n2 = f.length.public PixelsView addPixels(float[][][] f)
f
- array[nc][n2][n1] of sampled function values f(x1,x2),
where n1 = f[0][0].length, n2 = f[0].length, and nc is the
number of components.public PixelsView addPixels(Sampling s1, Sampling s2, float[][][] f)
s1
- the sampling of the variable x1; must be uniform.s2
- the sampling of the variable x2; must be uniform.f
- array[nc][n2][n1] of sampled function values f(x1,x2),
where n1 = f[0][0].length, n2 = f[0].length, and nc is the
number of components.public PixelsView addPixels(int irow, int icol, float[][][] f)
irow
- the tile row index.icol
- the tile column index.f
- array[nc][n2][n1] of sampled function values f(x1,x2),
where n1 = f[0][0].length, n2 = f[0].length, and nc is the
number of components.public PixelsView addPixels(int irow, int icol, Sampling s1, Sampling s2, float[][][] f)
irow
- the tile row index.icol
- the tile column index.s1
- the sampling of the variable x1; must be uniform.s2
- the sampling of the variable x2; must be uniform.f
- array[nc][n2][n1] of sampled function values f(x1,x2),
where n1 = f[0][0].length, n2 = f[0].length, and nc is the
number of components.public PointsView addPoints(float[] x1, float[] x2)
x1
- array of x1 coordinates.x2
- array of x2 coordinates.public PointsView addPoints(float[] x1, float[] x2, float[] x3)
x1
- array of x1 coordinates.x2
- array of x2 coordinates.x3
- array of x3 coordinates.public PointsView addPoints(float[] x2)
x2
- array of x2 coordinates.public PointsView addPoints(Sampling s1, float[] x2)
s1
- the sampling of x1 coordinates.x2
- array of x2 coordinates.public PointsView addPoints(float[][] x1, float[][] x2)
x1
- array of arrays of x1 coordinates.x2
- array of arrays of x2 coordinates.public PointsView addPoints(int irow, int icol, float[] x1, float[] x2)
irow
- the tile row index.icol
- the tile column index.x1
- array of x1 coordinates.x2
- array of x2 coordinates.public PointsView addPoints(int irow, int icol, float[] x1, float[] x2, float[] x3)
irow
- the tile row index.icol
- the tile column index.x1
- array of x1 coordinates.x2
- array of x2 coordinates.x3
- array of x3 coordinates.public PointsView addPoints(int irow, int icol, float[] x2)
irow
- the tile row index.icol
- the tile column index.x2
- array of x2 coordinates.public PointsView addPoints(int irow, int icol, Sampling s1, float[] x2)
irow
- the tile row index.icol
- the tile column index.s1
- the sampling of x1 coordinates.x2
- array of x2 coordinates.public PointsView addPoints(int irow, int icol, float[][] x1, float[][] x2)
irow
- the tile row index.icol
- the tile column index.x1
- array of arrays of x1 coordinates.x2
- array of arrays of x2 coordinates.public ContoursView addContours(float[][] f)
f
- array[n2][n1] of sampled function values f(x1,x2), where
n1 = f[0].length and n2 = f.length.public ContoursView addContours(Sampling s1, Sampling s2, float[][] f)
s1
- the sampling of the variable x1; must be uniform.s2
- the sampling of the variable x2; must be uniform.f
- array[n2][n1] of sampled function values f(x1,x2), where
n1 = f[0].length and n2 = f.length.public ContoursView addContours(int irow, int icol, float[][] f)
irow
- the tile row index.icol
- the tile column index.f
- array[n2][n1] of sampline function values f(x1,x2), where
n1 = f[0].length and n2 = f.length.public ContoursView addContours(int irow, int icol, Sampling s1, Sampling s2, float[][] f)
irow
- the tile row index.icol
- the tile column index.s1
- the sampling of the variable x1; must be uniform.s2
- the sampling of the variable x2; must be uniform.f
- array[n2][n1] of sampled function values f(x1,x2),
where n1 = f[0].length and n2 = f.length.public SequenceView addSequence(float[] f)
f
- array of sampled function values f(x).public SequenceView addSequence(Sampling sx, float[] f)
sx
- the sampling of the variable x.f
- array of sampled function values f(x).public SequenceView addSequence(int irow, int icol, float[] f)
irow
- the tile row index.icol
- the tile column index.f
- array of sampled function values f(x).public SequenceView addSequence(int irow, int icol, Sampling sx, float[] f)
irow
- the tile row index.icol
- the tile column index.sx
- the sampling of the variable x.f
- array of sampled function values f(x).public boolean addTiledView(TiledView tv)
tv
- the tiled view.public boolean addTiledView(int irow, int icol, TiledView tv)
irow
- the tile row index.icol
- the tile column index.tv
- the tiled view.public boolean remove(TiledView tv)
tv
- the tiled view.public void setFont(java.awt.Font font)
setFont
in class javax.swing.JComponent
font
- the font.public void setForeground(java.awt.Color color)
setForeground
in class javax.swing.JComponent
color
- the foreground color.public void setBackground(java.awt.Color color)
setBackground
in class javax.swing.JComponent
color
- the background color.