📄 plot2d.html
字号:
MAX_SHAPES</H3><PRE>public static final int <B>MAX_SHAPES</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.gui.visualize.Plot2D.MAX_SHAPES">Constant Field Values</A></DL></DL><HR><A NAME="ERROR_SHAPE"><!-- --></A><H3>ERROR_SHAPE</H3><PRE>public static final int <B>ERROR_SHAPE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.gui.visualize.Plot2D.ERROR_SHAPE">Constant Field Values</A></DL></DL><HR><A NAME="MISSING_SHAPE"><!-- --></A><H3>MISSING_SHAPE</H3><PRE>public static final int <B>MISSING_SHAPE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.gui.visualize.Plot2D.MISSING_SHAPE">Constant Field Values</A></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><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.gui.visualize.Plot2D.CONST_AUTOMATIC_SHAPE">Constant Field Values</A></DL></DL><HR><A NAME="X_SHAPE"><!-- --></A><H3>X_SHAPE</H3><PRE>public static final int <B>X_SHAPE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.gui.visualize.Plot2D.X_SHAPE">Constant Field Values</A></DL></DL><HR><A NAME="PLUS_SHAPE"><!-- --></A><H3>PLUS_SHAPE</H3><PRE>public static final int <B>PLUS_SHAPE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.gui.visualize.Plot2D.PLUS_SHAPE">Constant Field Values</A></DL></DL><HR><A NAME="DIAMOND_SHAPE"><!-- --></A><H3>DIAMOND_SHAPE</H3><PRE>public static final int <B>DIAMOND_SHAPE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.gui.visualize.Plot2D.DIAMOND_SHAPE">Constant Field Values</A></DL></DL><HR><A NAME="TRIANGLEUP_SHAPE"><!-- --></A><H3>TRIANGLEUP_SHAPE</H3><PRE>public static final int <B>TRIANGLEUP_SHAPE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.gui.visualize.Plot2D.TRIANGLEUP_SHAPE">Constant Field Values</A></DL></DL><HR><A NAME="TRIANGLEDOWN_SHAPE"><!-- --></A><H3>TRIANGLEDOWN_SHAPE</H3><PRE>public static final int <B>TRIANGLEDOWN_SHAPE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.gui.visualize.Plot2D.TRIANGLEDOWN_SHAPE">Constant Field Values</A></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><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#weka.gui.visualize.Plot2D.DEFAULT_SHAPE_SIZE">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><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<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><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" title="interface in weka.gui.visualize">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<P><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<P><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" title="class in weka.core">FastVector</A> cols)</PRE><DL><DD>Set a list of colours to use when colouring points according to class values or cluster numbers<P><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<P><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><A NAME="setYindex(int)"><!-- --></A><H3>setYindex</H3><PRE>public void <B>setYindex</B>(int y)</PRE><DL><DD>Set the index of the attribute to go on the y axis<P><DD><DL><DT><B>Parameters:</B><DD><CODE>y</CODE> - the index of the attribute to use on the y axis</DL></DD></DL><HR><A NAME="setCindex(int)"><!-- --></A><H3>setCindex</H3><PRE>public void <B>setCindex</B>(int c)</PRE><DL><DD>Set the index of the attribute to use for colouring<P><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the index of the attribute to use for colouring</DL></DD></DL><HR><A NAME="getPlots()"><!-- --></A><H3>getPlots</H3><PRE>public <A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> <B>getPlots</B>()</PRE><DL><DD>Return the list of plots<P><DD><DL><DT><B>Returns:</B><DD>the list of plots</DL></DD></DL><HR><A NAME="getMasterPlot()"><!-- --></A><H3>getMasterPlot</H3><PRE>public <A HREF="../../../weka/gui/visualize/PlotData2D.html" title="class in weka.gui.visualize">PlotData2D</A> <B>getMasterPlot</B>()</PRE><DL><DD>Get the master plot<P><DD><DL><DT><B>Returns:</B><DD>the master plot</DL></DD></DL><HR><A NAME="getMaxX()"><!-- --></A><H3>getMaxX</H3><PRE>public double <B>getMaxX</B>()</PRE><DL><DD>Return the current max value of the attribute plotted on the x axis<P><DD><DL><DT><B>Returns:</B><DD>the max x value</DL></DD></DL><HR><A NAME="getMaxY()"><!-- --></A><H3>getMaxY</H3><PRE>public double <B>getMaxY</B>()</PRE><DL><DD>Return the current max value of the attribute plotted on the y axis<P><DD><DL><DT><B>Returns:</B><DD>the max y value</DL></DD></DL><HR><A NAME="getMinX()"><!-- --></A><H3>getMinX</H3><PRE>public double <B>getMinX</B>()</PRE><DL><DD>Return the current min value of the attribute plotted on the x axis<P><DD><DL><DT><B>Returns:</B><DD>the min x value</DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -