📄 plotdata2d.html
字号:
<PRE>protected <A HREF="../../../weka/core/Instances.html">Instances</A> <B>m_plotInstances</B></PRE><DL><DD>The instances</DL><HR><A NAME="m_plotName"><!-- --></A><H3>m_plotName</H3><PRE>protected java.lang.String <B>m_plotName</B></PRE><DL><DD>The name of this plot</DL><HR><A NAME="m_useCustomColour"><!-- --></A><H3>m_useCustomColour</H3><PRE>public boolean <B>m_useCustomColour</B></PRE><DL><DD>Custom colour for this plot</DL><HR><A NAME="m_customColour"><!-- --></A><H3>m_customColour</H3><PRE>public java.awt.Color <B>m_customColour</B></PRE><DL></DL><HR><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)</DL><HR><A NAME="m_pointLookup"><!-- --></A><H3>m_pointLookup</H3><PRE>protected double[][] <B>m_pointLookup</B></PRE><DL><DD>Panel coordinate cache for data points</DL><HR><A NAME="m_shapeSize"><!-- --></A><H3>m_shapeSize</H3><PRE>protected int[] <B>m_shapeSize</B></PRE><DL><DD>Additional optional information to control the size of points.The default is shape size 2</DL><HR><A NAME="m_shapeType"><!-- --></A><H3>m_shapeType</H3><PRE>protected int[] <B>m_shapeType</B></PRE><DL><DD>Additional optional information to control the point shape for thisdata. Default is to allow automatic assigning of point shape on thebasis of plot number</DL><HR><A NAME="m_connectPoints"><!-- --></A><H3>m_connectPoints</H3><PRE>protected boolean[] <B>m_connectPoints</B></PRE><DL><DD>Additional optional information to control the drawing of lines between consecutive points. Setting an entry in the array to true indicates that the associated point should have a line connecting it to the previous point.</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 for this plot</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="PlotData2D(weka.core.Instances)"><!-- --></A><H3>PlotData2D</H3><PRE>public <B>PlotData2D</B>(<A HREF="../../../weka/core/Instances.html">Instances</A> insts)</PRE><DL><DD>Construct a new PlotData2D using the supplied instances<DD><DL><DT><B>Parameters:</B><DD><CODE>insts</CODE> - the instances to use.</DL></DD></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="addInstanceNumberAttribute()"><!-- --></A><H3>addInstanceNumberAttribute</H3><PRE>public void <B>addInstanceNumberAttribute</B>()</PRE><DL><DD>Adds an instance number attribute to the plottable instances,</DL><HR><A NAME="getPlotInstances()"><!-- --></A><H3>getPlotInstances</H3><PRE>public <A HREF="../../../weka/core/Instances.html">Instances</A> <B>getPlotInstances</B>()</PRE><DL><DD>Returns the instances for this plot<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<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<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<DD><DL><DT><B>Parameters:</B><DD><CODE>st</CODE> - an array of integers corresponding to shape types (see constants defined in Plot2D)</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">FastVector</A> st) throws java.lang.Exception</PRE><DL><DD>Set the shape type for the plot data<DD><DL><DT><B>Parameters:</B><DD><CODE>st</CODE> - a FastVector of integers corresponding to shape types (see constants defined in Plot2D)</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<DD><DL><DT><B>Parameters:</B><DD><CODE>st</CODE> - an array of integers specifying the size of data points</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">FastVector</A> ss) throws java.lang.Exception</PRE><DL><DD>Set the shape sizes for the plot data<DD><DL><DT><B>Parameters:</B><DD><CODE>st</CODE> - a FastVector of integers specifying the size of data points</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<DD><DL><DT><B>Parameters:</B><DD><CODE>cp</CODE> - an array of boolean specifying which points should be connected to their preceeding neighbour.</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">FastVector</A> cp) throws java.lang.Exception</PRE><DL><DD>Set whether consecutive points should be connected by lines<DD><DL><DT><B>Parameters:</B><DD><CODE>cp</CODE> - a FastVector of boolean specifying which points should be connected to their preceeding neighbour.</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).<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.<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<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<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<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<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<DD><DL><DT><B>Returns:</B><DD>the current colouring index</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <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="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</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"><B>PREV CLASS</B></A> <A HREF="../../../weka/gui/visualize/VisualizePanel.html"><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></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <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><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -