📄 plotdata2d.html
字号:
<A NAME="m_displayAllPoints"><!-- --></A><H3>m_displayAllPoints</H3><PRE>public boolean <B>m_displayAllPoints</B></PRE><DL><DD>Display all points (ie. those that map to the same display coords)<P><DL></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="PlotData2D(weka.core.Instances)"><!-- --></A><H3>PlotData2D</H3><PRE>public <B>PlotData2D</B>(<A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A> insts)</PRE><DL><DD>Construct a new PlotData2D using the supplied instances<P><DT><B>Parameters:</B><DD><CODE>insts</CODE> - the instances to use.</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="addInstanceNumberAttribute()"><!-- --></A><H3>addInstanceNumberAttribute</H3><PRE>public void <B>addInstanceNumberAttribute</B>()</PRE><DL><DD>Adds an instance number attribute to the plottable instances,<P><DD><DL></DL></DD></DL><HR><A NAME="getPlotInstances()"><!-- --></A><H3>getPlotInstances</H3><PRE>public <A HREF="../../../weka/core/Instances.html" title="class in weka.core">Instances</A> <B>getPlotInstances</B>()</PRE><DL><DD>Returns the instances for this plot<P><DD><DL><DT><B>Returns:</B><DD>the instances for this plot</DL></DD></DL><HR><A NAME="setPlotName(java.lang.String)"><!-- --></A><H3>setPlotName</H3><PRE>public void <B>setPlotName</B>(java.lang.String name)</PRE><DL><DD>Set the name of this plot<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name for this plot</DL></DD></DL><HR><A NAME="getPlotName()"><!-- --></A><H3>getPlotName</H3><PRE>public java.lang.String <B>getPlotName</B>()</PRE><DL><DD>Get the name of this plot<P><DD><DL><DT><B>Returns:</B><DD>the name of this plot</DL></DD></DL><HR><A NAME="setShapeType(int[])"><!-- --></A><H3>setShapeType</H3><PRE>public void <B>setShapeType</B>(int[] st) throws java.lang.Exception</PRE><DL><DD>Set the shape type for the plot data<P><DD><DL><DT><B>Parameters:</B><DD><CODE>st</CODE> - an array of integers corresponding to shape types (see constants defined in Plot2D)<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="setShapeType(weka.core.FastVector)"><!-- --></A><H3>setShapeType</H3><PRE>public void <B>setShapeType</B>(<A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> st) throws java.lang.Exception</PRE><DL><DD>Set the shape type for the plot data<P><DD><DL><DT><B>Parameters:</B><DD><CODE>st</CODE> - a FastVector of integers corresponding to shape types (see constants defined in Plot2D)<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="setShapeSize(int[])"><!-- --></A><H3>setShapeSize</H3><PRE>public void <B>setShapeSize</B>(int[] ss) throws java.lang.Exception</PRE><DL><DD>Set the shape sizes for the plot data<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="setShapeSize(weka.core.FastVector)"><!-- --></A><H3>setShapeSize</H3><PRE>public void <B>setShapeSize</B>(<A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> ss) throws java.lang.Exception</PRE><DL><DD>Set the shape sizes for the plot data<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="setConnectPoints(boolean[])"><!-- --></A><H3>setConnectPoints</H3><PRE>public void <B>setConnectPoints</B>(boolean[] cp) throws java.lang.Exception</PRE><DL><DD>Set whether consecutive points should be connected by lines<P><DD><DL><DT><B>Parameters:</B><DD><CODE>cp</CODE> - an array of boolean specifying which points should be connected to their preceeding neighbour.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="setConnectPoints(weka.core.FastVector)"><!-- --></A><H3>setConnectPoints</H3><PRE>public void <B>setConnectPoints</B>(<A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A> cp) throws java.lang.Exception</PRE><DL><DD>Set whether consecutive points should be connected by lines<P><DD><DL><DT><B>Parameters:</B><DD><CODE>cp</CODE> - a FastVector of boolean specifying which points should be connected to their preceeding neighbour.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="setCustomColour(java.awt.Color)"><!-- --></A><H3>setCustomColour</H3><PRE>public void <B>setCustomColour</B>(java.awt.Color c)</PRE><DL><DD>Set a custom colour to use for this plot. This overides any data index to use for colouring. If null, then will revert back to the default (no custom colouring).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - a custom colour to use for this plot or null (default---no colouring).</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 x index of the data.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x index</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 y index of the data<P><DD><DL><DT><B>Parameters:</B><DD><CODE>y</CODE> - the y index</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 colouring index of the data<P><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the colouring index</DL></DD></DL><HR><A NAME="getXindex()"><!-- --></A><H3>getXindex</H3><PRE>public int <B>getXindex</B>()</PRE><DL><DD>Get the currently set x index of the data<P><DD><DL><DT><B>Returns:</B><DD>the current x index</DL></DD></DL><HR><A NAME="getYindex()"><!-- --></A><H3>getYindex</H3><PRE>public int <B>getYindex</B>()</PRE><DL><DD>Get the currently set y index of the data<P><DD><DL><DT><B>Returns:</B><DD>the current y index</DL></DD></DL><HR><A NAME="getCindex()"><!-- --></A><H3>getCindex</H3><PRE>public int <B>getCindex</B>()</PRE><DL><DD>Get the currently set colouring index of the data<P><DD><DL><DT><B>Returns:</B><DD>the current colouring index</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../Tutorial.pdf"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/index.html"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../weka/gui/visualize/Plot2D.html" title="class in weka.gui.visualize"><B>PREV CLASS</B></A> <A HREF="../../../weka/gui/visualize/PostscriptGraphics.html" title="class in weka.gui.visualize"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="PlotData2D.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -