⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 plot2d.html

📁 < 数据挖掘--实用机器学习技术及java实现> 一书结合数据挖掘和机器学习的知识,作者陈述了自动挖掘模式的基础理论,并且以java语言实现了具有代表性的各类数据挖掘方法.例如:class
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<A NAME="setYindex(int)"><!-- --></A><H3>setYindex</H3><PRE>public void <B>setYindex</B>(int&nbsp;y)</PRE><DL><DD>Set the index of the attribute to go on the y axis<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&nbsp;c)</PRE><DL><DD>Set the index of the attribute to use for colouring<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">FastVector</A> <B>getPlots</B>()</PRE><DL><DD>Return the list of plots<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">PlotData2D</A> <B>getMasterPlot</B>()</PRE><DL><DD>Get the master plot<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<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<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<DD><DL><DT><B>Returns:</B><DD>the min x value</DL></DD></DL><HR><A NAME="getMinY()"><!-- --></A><H3>getMinY</H3><PRE>public double <B>getMinY</B>()</PRE><DL><DD>Return the current min value of the attribute plotted on the y axis<DD><DL><DT><B>Returns:</B><DD>the min y value</DL></DD></DL><HR><A NAME="getMaxC()"><!-- --></A><H3>getMaxC</H3><PRE>public double <B>getMaxC</B>()</PRE><DL><DD>Return the current max value of the colouring attribute<DD><DL><DT><B>Returns:</B><DD>the max colour value</DL></DD></DL><HR><A NAME="getMinC()"><!-- --></A><H3>getMinC</H3><PRE>public double <B>getMinC</B>()</PRE><DL><DD>Return the current min value of the colouring attribute<DD><DL><DT><B>Returns:</B><DD>the min colour value</DL></DD></DL><HR><A NAME="setInstances(weka.core.Instances)"><!-- --></A><H3>setInstances</H3><PRE>public void <B>setInstances</B>(<A HREF="../../../weka/core/Instances.html">Instances</A>&nbsp;inst)                  throws java.lang.Exception</PRE><DL><DD>Sets the master plot from a set of instances<DD><DL><DT><B>Parameters:</B><DD><CODE>inst</CODE> - the instances<DT><B>Throws:</B><DD><CODE>exception</CODE> - Exception if instances could not be set</DL></DD></DL><HR><A NAME="setMasterPlot(weka.gui.visualize.PlotData2D)"><!-- --></A><H3>setMasterPlot</H3><PRE>public void <B>setMasterPlot</B>(<A HREF="../../../weka/gui/visualize/PlotData2D.html">PlotData2D</A>&nbsp;master)                   throws java.lang.Exception</PRE><DL><DD>Set the master plot.<DD><DL><DT><B>Parameters:</B><DD><CODE>master</CODE> - the plot to make the master plot<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the plot could not be set.</DL></DD></DL><HR><A NAME="removeAllPlots()"><!-- --></A><H3>removeAllPlots</H3><PRE>public void <B>removeAllPlots</B>()</PRE><DL><DD>Clears all plots</DL><HR><A NAME="addPlot(weka.gui.visualize.PlotData2D)"><!-- --></A><H3>addPlot</H3><PRE>public void <B>addPlot</B>(<A HREF="../../../weka/gui/visualize/PlotData2D.html">PlotData2D</A>&nbsp;newPlot)             throws java.lang.Exception</PRE><DL><DD>Add a plot to the list of plots to display<DD><DL><DT><B>Parameters:</B><DD><CODE>newPlot</CODE> - the new plot to add<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if the plot could not be added</DL></DD></DL><HR><A NAME="searchPoints(int, int, boolean)"><!-- --></A><H3>searchPoints</H3><PRE>public void <B>searchPoints</B>(int&nbsp;x,                         int&nbsp;y,                         boolean&nbsp;newFrame)</PRE><DL><DD>Pops up a window displaying attribute information on any instances at a point+-plotting_point_size (in panel coordinates)<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x value of the clicked point<DD><CODE>y</CODE> - the y value of the clicked point<DD><CODE>newFrame</CODE> - true if instance info is to be displayed in a new frame.</DL></DD></DL><HR><A NAME="determineBounds()"><!-- --></A><H3>determineBounds</H3><PRE>public void <B>determineBounds</B>()</PRE><DL><DD>Determine the min and max values for axis and colouring attributes</DL><HR><A NAME="convertToAttribX(double)"><!-- --></A><H3>convertToAttribX</H3><PRE>public double <B>convertToAttribX</B>(double&nbsp;scx)</PRE><DL><DD>convert a Panel x coordinate to a raw x value.<DD><DL><DT><B>Parameters:</B><DD><CODE>scx</CODE> - The Panel x coordinate<DT><B>Returns:</B><DD>A raw x value.</DL></DD></DL><HR><A NAME="convertToAttribY(double)"><!-- --></A><H3>convertToAttribY</H3><PRE>public double <B>convertToAttribY</B>(double&nbsp;scy)</PRE><DL><DD>convert a Panel y coordinate to a raw y value.<DD><DL><DT><B>Parameters:</B><DD><CODE>scy</CODE> - The Panel y coordinate<DT><B>Returns:</B><DD>A raw y value.</DL></DD></DL><HR><A NAME="convertToPanelX(double)"><!-- --></A><H3>convertToPanelX</H3><PRE>public double <B>convertToPanelX</B>(double&nbsp;xval)</PRE><DL><DD>Convert an raw x value to Panel x coordinate.<DD><DL><DT><B>Parameters:</B><DD><CODE>xval</CODE> - the raw x value<DT><B>Returns:</B><DD>an x value for plotting in the panel.</DL></DD></DL><HR><A NAME="convertToPanelY(double)"><!-- --></A><H3>convertToPanelY</H3><PRE>public double <B>convertToPanelY</B>(double&nbsp;yval)</PRE><DL><DD>Convert an raw y value to Panel y coordinate.<DD><DL><DT><B>Parameters:</B><DD><CODE>yval</CODE> - the raw y value<DT><B>Returns:</B><DD>an y value for plotting in the panel.</DL></DD></DL><HR><A NAME="drawDataPoint(double, double, double, double, int, int, java.awt.Graphics)"><!-- --></A><H3>drawDataPoint</H3><PRE>protected static void <B>drawDataPoint</B>(double&nbsp;x,                                    double&nbsp;y,                                    double&nbsp;xprev,                                    double&nbsp;yprev,                                    int&nbsp;size,                                    int&nbsp;shape,                                    java.awt.Graphics&nbsp;gx)</PRE><DL><DD>Draws a data point at a given set of panel coordinates at a given size and connects a line to the previous point.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x coord<DD><CODE>y</CODE> - the y coord<DD><CODE>xprev</CODE> - the x coord of the previous point<DD><CODE>yprev</CODE> - the y coord of the previous point<DD><CODE>size</CODE> - the size of the point<DD><CODE>shape</CODE> - the shape of the data point (square is reserved for nominal error data points). Shapes: 0=x, 1=plus, 2=diamond, 3=triangle(up), 4 = triangle (down).<DD><CODE>gx</CODE> - the graphics context</DL></DD></DL><HR><A NAME="drawDataPoint(double, double, int, int, java.awt.Graphics)"><!-- --></A><H3>drawDataPoint</H3><PRE>protected static void <B>drawDataPoint</B>(double&nbsp;x,                                    double&nbsp;y,                                    int&nbsp;size,                                    int&nbsp;shape,                                    java.awt.Graphics&nbsp;gx)</PRE><DL><DD>Draws a data point at a given set of panel coordinates at a given size.<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the x coord<DD><CODE>y</CODE> - the y coord<DD><CODE>size</CODE> - the size of the point<DD><CODE>shape</CODE> - the shape of the data point (square is reserved for nominal error data points). Shapes: 0=x, 1=plus, 2=diamond, 3=triangle(up), 4 = triangle (down).<DD><CODE>gx</CODE> - the graphics context</DL></DD></DL><HR><A NAME="paintComponent(java.awt.Graphics)"><!-- --></A><H3>paintComponent</H3><PRE>public void <B>paintComponent</B>(java.awt.Graphics&nbsp;gx)</PRE><DL><DD>Renders this component<DD><DL><DT><B>Overrides:</B><DD><CODE>paintComponent</CODE> in class <CODE>javax.swing.JComponent</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>gx</CODE> - the graphics context</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[]&nbsp;args)</PRE><DL><DD>Main method for testing this class<DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - arguments</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../weka/gui/visualize/LegendPanel.LegendEntry.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../weka/gui/visualize/PlotData2D.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>  &nbsp;&nbsp;<A HREF="Plot2D.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;<A HREF="#inner_classes_inherited_from_class_javax.swing.JPanel">INNER</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -