📄 visualizepanel.plotpanel.html
字号:
<CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/VisualizePanel.PlotPanel.html#addPlot(weka.gui.visualize.PlotData2D)">addPlot</A></B>(<A HREF="../../../weka/gui/visualize/PlotData2D.html">PlotData2D</A> newPlot)</CODE><BR> Adds a plot.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/VisualizePanel.PlotPanel.html#cancelShapes()">cancelShapes</A></B>()</CODE><BR> Sets the list of shapes to empty and also cancels the current shape being drawn (if applicable).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../weka/core/FastVector.html">FastVector</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/VisualizePanel.PlotPanel.html#getShapes()">getShapes</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/VisualizePanel.PlotPanel.html#inSplit(weka.core.Instance)">inSplit</A></B>(<A HREF="../../../weka/core/Instance.html">Instance</A> i)</CODE><BR> This will check if an instance is inside or outside of the current shapes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/VisualizePanel.PlotPanel.html#prePlot(java.awt.Graphics)">prePlot</A></B>(java.awt.Graphics gx)</CODE><BR> Renders the polygons if necessary</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/VisualizePanel.PlotPanel.html#setCindex(int)">setCindex</A></B>(int c)</CODE><BR> Set the index of the attribute to use for colouring</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/VisualizePanel.PlotPanel.html#setColours(weka.core.FastVector)">setColours</A></B>(<A HREF="../../../weka/core/FastVector.html">FastVector</A> cols)</CODE><BR> Set a list of colours to use for plotting points</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/VisualizePanel.PlotPanel.html#setJitter(int)">setJitter</A></B>(int j)</CODE><BR> Set level of jitter and repaint the plot using the new jitter value</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/VisualizePanel.PlotPanel.html#setMasterPlot(weka.gui.visualize.PlotData2D)">setMasterPlot</A></B>(<A HREF="../../../weka/gui/visualize/PlotData2D.html">PlotData2D</A> newPlot)</CODE><BR> Clears all existing plots and sets a new master plot</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/VisualizePanel.PlotPanel.html#setShapes(weka.core.FastVector)">setShapes</A></B>(<A HREF="../../../weka/core/FastVector.html">FastVector</A> v)</CODE><BR> This can be used to set the shapes that should appear.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/VisualizePanel.PlotPanel.html#setSindex(int)">setSindex</A></B>(int s)</CODE><BR> Set the index of the attribute to use for the shape.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/VisualizePanel.PlotPanel.html#setXindex(int)">setXindex</A></B>(int x)</CODE><BR> Set the index of the attribute to go on the x axis</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/VisualizePanel.PlotPanel.html#setYindex(int)">setYindex</A></B>(int y)</CODE><BR> Set the index of the attribute to go on the y axis</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/VisualizePanel.PlotPanel.html#switchToLegend()">switchToLegend</A></B>()</CODE><BR> Remove the attibute panel and replace it with the legend panel</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.JPanel"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.JPanel</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getAccessibleContext, getUIClassID, paramString, updateUI</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.JComponent"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.JComponent</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processFocusEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.awt.Container</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setLayout, validate, validateTree</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.awt.Component</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="m_plot2D"><!-- --></A><H3>m_plot2D</H3><PRE>protected <A HREF="../../../weka/gui/visualize/Plot2D.html">Plot2D</A> <B>m_plot2D</B></PRE><DL><DD>The actual generic plotting panel</DL><HR><A NAME="m_plotInstances"><!-- --></A><H3>m_plotInstances</H3><PRE>protected <A HREF="../../../weka/core/Instances.html">Instances</A> <B>m_plotInstances</B></PRE><DL><DD>The instances from the master plot</DL><HR><A NAME="m_originalPlot"><!-- --></A><H3>m_originalPlot</H3><PRE>protected <A HREF="../../../weka/gui/visualize/PlotData2D.html">PlotData2D</A> <B>m_originalPlot</B></PRE><DL><DD>The master plot</DL><HR><A NAME="m_xIndex"><!-- --></A><H3>m_xIndex</H3><PRE>protected int <B>m_xIndex</B></PRE><DL><DD>Indexes of the attributes to go on the x and y axis and the attributeto use for colouring and the current shape for drawing</DL><HR><A NAME="m_yIndex"><!-- --></A><H3>m_yIndex</H3><PRE>protected int <B>m_yIndex</B></PRE><DL></DL><HR><A NAME="m_cIndex"><!-- --></A><H3>m_cIndex</H3><PRE>protected int <B>m_cIndex</B></PRE><DL></DL><HR><A NAME="m_sIndex"><!-- --></A><H3>m_sIndex</H3><PRE>protected int <B>m_sIndex</B></PRE><DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="VisualizePanel.PlotPanel(weka.gui.visualize.VisualizePanel)"><!-- --></A><H3>VisualizePanel.PlotPanel</H3><PRE>public <B>VisualizePanel.PlotPanel</B>()</PRE><DL><DD>Constructor</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -