📄 plot2d.html
字号:
<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="MAX_SHAPES"><!-- --></A><H3>MAX_SHAPES</H3><PRE>public static final int <B>MAX_SHAPES</B></PRE><DL></DL><HR><A NAME="ERROR_SHAPE"><!-- --></A><H3>ERROR_SHAPE</H3><PRE>public static final int <B>ERROR_SHAPE</B></PRE><DL></DL><HR><A NAME="MISSING_SHAPE"><!-- --></A><H3>MISSING_SHAPE</H3><PRE>public static final int <B>MISSING_SHAPE</B></PRE><DL></DL><HR><A NAME="CONST_AUTOMATIC_SHAPE"><!-- --></A><H3>CONST_AUTOMATIC_SHAPE</H3><PRE>public static final int <B>CONST_AUTOMATIC_SHAPE</B></PRE><DL></DL><HR><A NAME="X_SHAPE"><!-- --></A><H3>X_SHAPE</H3><PRE>public static final int <B>X_SHAPE</B></PRE><DL></DL><HR><A NAME="PLUS_SHAPE"><!-- --></A><H3>PLUS_SHAPE</H3><PRE>public static final int <B>PLUS_SHAPE</B></PRE><DL></DL><HR><A NAME="DIAMOND_SHAPE"><!-- --></A><H3>DIAMOND_SHAPE</H3><PRE>public static final int <B>DIAMOND_SHAPE</B></PRE><DL></DL><HR><A NAME="TRIANGLEUP_SHAPE"><!-- --></A><H3>TRIANGLEUP_SHAPE</H3><PRE>public static final int <B>TRIANGLEUP_SHAPE</B></PRE><DL></DL><HR><A NAME="TRIANGLEDOWN_SHAPE"><!-- --></A><H3>TRIANGLEDOWN_SHAPE</H3><PRE>public static final int <B>TRIANGLEDOWN_SHAPE</B></PRE><DL></DL><HR><A NAME="DEFAULT_SHAPE_SIZE"><!-- --></A><H3>DEFAULT_SHAPE_SIZE</H3><PRE>public static final int <B>DEFAULT_SHAPE_SIZE</B></PRE><DL></DL><HR><A NAME="m_plots"><!-- --></A><H3>m_plots</H3><PRE>protected <A HREF="../../../weka/core/FastVector.html">FastVector</A> <B>m_plots</B></PRE><DL><DD>The plots to display</DL><HR><A NAME="m_masterPlot"><!-- --></A><H3>m_masterPlot</H3><PRE>protected <A HREF="../../../weka/gui/visualize/PlotData2D.html">PlotData2D</A> <B>m_masterPlot</B></PRE><DL><DD>The master plot</DL><HR><A NAME="m_masterName"><!-- --></A><H3>m_masterName</H3><PRE>protected java.lang.String <B>m_masterName</B></PRE><DL><DD>The name of the master plot</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 to be plotted</DL><HR><A NAME="m_plotCompanion"><!-- --></A><H3>m_plotCompanion</H3><PRE>protected <A HREF="../../../weka/gui/visualize/Plot2DCompanion.html">Plot2DCompanion</A> <B>m_plotCompanion</B></PRE><DL><DD>An optional "compainion" of the panel. If specified, thisclass will get to do its thing with our graphics contextbefore we do any drawing. Eg. the visualize panel may needto draw polygons etc. before we draw plot axis and data points</DL><HR><A NAME="m_colorList"><!-- --></A><H3>m_colorList</H3><PRE>protected <A HREF="../../../weka/core/FastVector.html">FastVector</A> <B>m_colorList</B></PRE><DL><DD>The list of the colors used</DL><HR><A NAME="m_DefaultColors"><!-- --></A><H3>m_DefaultColors</H3><PRE>protected java.awt.Color[] <B>m_DefaultColors</B></PRE><DL><DD>default colours for colouring discrete class</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><HR><A NAME="m_maxX"><!-- --></A><H3>m_maxX</H3><PRE>protected double <B>m_maxX</B></PRE><DL><DD>Holds the min and max values of the x, y and colouring attributes over all plots</DL><HR><A NAME="m_minX"><!-- --></A><H3>m_minX</H3><PRE>protected double <B>m_minX</B></PRE><DL></DL><HR><A NAME="m_maxY"><!-- --></A><H3>m_maxY</H3><PRE>protected double <B>m_maxY</B></PRE><DL></DL><HR><A NAME="m_minY"><!-- --></A><H3>m_minY</H3><PRE>protected double <B>m_minY</B></PRE><DL></DL><HR><A NAME="m_maxC"><!-- --></A><H3>m_maxC</H3><PRE>protected double <B>m_maxC</B></PRE><DL></DL><HR><A NAME="m_minC"><!-- --></A><H3>m_minC</H3><PRE>protected double <B>m_minC</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="Plot2D()"><!-- --></A><H3>Plot2D</H3><PRE>public <B>Plot2D</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"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setPlotCompanion(weka.gui.visualize.Plot2DCompanion)"><!-- --></A><H3>setPlotCompanion</H3><PRE>public void <B>setPlotCompanion</B>(<A HREF="../../../weka/gui/visualize/Plot2DCompanion.html">Plot2DCompanion</A> p)</PRE><DL><DD>Set a companion class. This is a class that might want to render something on the plot before we do our thing. Eg, Malcolm's shape drawing stuff needs to happen before we plot axis and points<DD><DL><DT><B>Parameters:</B><DD><CODE>p</CODE> - a companion class</DL></DD></DL><HR><A NAME="setJitter(int)"><!-- --></A><H3>setJitter</H3><PRE>public void <B>setJitter</B>(int j)</PRE><DL><DD>Set level of jitter and repaint the plot using the new jitter value<DD><DL><DT><B>Parameters:</B><DD><CODE>j</CODE> - the level of jitter</DL></DD></DL><HR><A NAME="setColours(weka.core.FastVector)"><!-- --></A><H3>setColours</H3><PRE>public void <B>setColours</B>(<A HREF="../../../weka/core/FastVector.html">FastVector</A> cols)</PRE><DL><DD>Set a list of colours to use when colouring points according to class values or cluster numbers<DD><DL><DT><B>Parameters:</B><DD><CODE>cols</CODE> - the list of colours to use</DL></DD></DL><HR><A NAME="setXindex(int)"><!-- --></A><H3>setXindex</H3><PRE>public void <B>setXindex</B>(int x)</PRE><DL><DD>Set the index of the attribute to go on the x axis<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the index of the attribute to use on the x axis</DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -