|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Canvas
flanagan.plot.Plot
us.ihmc.plotting.PlotGraph2d
public class PlotGraph2d
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.BaselineResizeBehavior |
Field Summary | |
---|---|
static int |
CLOSE_PROGRAM_WITH_WINDOW
|
static int |
CLOSE_WINDOW_ONLY
|
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
PlotGraph2d(double[][] data)
|
|
PlotGraph2d(double[] xData,
double[] yData)
|
Method Summary | |
---|---|
static PlotGraph2d |
createFrameVectorPlotGraph2d(java.util.ArrayList<java.lang.Double> x,
java.util.ArrayList<FrameVector> frameVectors)
|
static PlotGraph2d |
createPlotGraph2d(java.util.ArrayList<java.lang.Double> x,
java.util.ArrayList<java.lang.Double> y)
|
static PlotGraph2d |
createPlotGraph2dMultipleCurves(java.util.ArrayList<double[][]> listOfXYCurves)
|
static PlotGraph2d |
createVectorPlotGraph2d(java.util.ArrayList<java.lang.Double> x,
java.util.ArrayList<javax.vecmath.Vector3d> vectors)
|
void |
endProgram()
|
int |
getCloseChoice()
|
static double[][] |
getDoubleArray(java.util.ArrayList<java.lang.Double> x,
java.util.ArrayList<java.lang.Double> y)
|
int |
getGraphHeight()
|
int |
getGraphWidth()
|
static void |
main(java.lang.String[] args)
|
void |
paint(java.awt.Graphics g)
|
void |
plot()
|
void |
rescaleX(double xScaleFactor)
|
void |
rescaleY(double yScaleFactor)
|
void |
setCloseChoice(int choice)
|
void |
setGraphHeight(int graphHeight)
|
void |
setGraphWidth(int graphWidth)
|
Methods inherited from class flanagan.plot.Plot |
---|
axesScaleOffset, data, doubleSelectionSort, getDashlength, getDataFillValue, getFontSize, getLine, getNiPoints, getNoXoffset, getNoYoffset, getPoint, getPointsize, getXaxisLen, getXlow, getXlowFac, getXmax, getXmin, getYaxisLen, getYhigh, getYlowFac, getYmax, getYmin, graph, limits, minMax, offset, printCheck, scale, setDashLength, setDashLength, setDataFillValue, setErrorBars, setFontSize, setGraphTitle, setGraphTitle2, setLine, setLine, setMinMaxOpt, setNiPoints, setNoOffset, setNoXoffset, setNoYoffset, setPoint, setPoint, setPointSize, setPointSize, setTrimOpt, setXaxisLegend, setXaxisLen, setXaxisUnitsName, setXlow, setXlowFac, setYaxisLegend, setYaxisLen, setYaxisUnitsName, setYhigh, setYlowFac, ticks |
Methods inherited from class java.awt.Canvas |
---|
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy, update |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int CLOSE_PROGRAM_WITH_WINDOW
public static final int CLOSE_WINDOW_ONLY
Constructor Detail |
---|
public PlotGraph2d(double[][] data)
public PlotGraph2d(double[] xData, double[] yData)
Method Detail |
---|
public static double[][] getDoubleArray(java.util.ArrayList<java.lang.Double> x, java.util.ArrayList<java.lang.Double> y)
public static PlotGraph2d createPlotGraph2d(java.util.ArrayList<java.lang.Double> x, java.util.ArrayList<java.lang.Double> y)
public static PlotGraph2d createPlotGraph2dMultipleCurves(java.util.ArrayList<double[][]> listOfXYCurves)
public void rescaleY(double yScaleFactor)
public void rescaleX(double xScaleFactor)
public int getGraphWidth()
public int getGraphHeight()
public void setGraphHeight(int graphHeight)
public void setGraphWidth(int graphWidth)
public int getCloseChoice()
public void setCloseChoice(int choice)
public void paint(java.awt.Graphics g)
paint
in class java.awt.Canvas
public void plot()
public void endProgram()
public static void main(java.lang.String[] args)
public static PlotGraph2d createFrameVectorPlotGraph2d(java.util.ArrayList<java.lang.Double> x, java.util.ArrayList<FrameVector> frameVectors)
public static PlotGraph2d createVectorPlotGraph2d(java.util.ArrayList<java.lang.Double> x, java.util.ArrayList<javax.vecmath.Vector3d> vectors)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |