📄 visualizepanel.plotpanel.html
字号:
<TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getShapes()"><!-- --></A><H3>getShapes</H3><PRE>public <A HREF="../../../weka/core/FastVector.html">FastVector</A> <B>getShapes</B>()</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The FastVector containing all the shapes.</DL></DD></DL><HR><A NAME="cancelShapes()"><!-- --></A><H3>cancelShapes</H3><PRE>public void <B>cancelShapes</B>()</PRE><DL><DD>Sets the list of shapes to empty and also cancels the current shape being drawn (if applicable).<DD><DL></DL></DD></DL><HR><A NAME="setShapes(weka.core.FastVector)"><!-- --></A><H3>setShapes</H3><PRE>public void <B>setShapes</B>(<A HREF="../../../weka/core/FastVector.html">FastVector</A> v)</PRE><DL><DD>This can be used to set the shapes that should appear.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - The list of shapes.</DL></DD></DL><HR><A NAME="inSplit(weka.core.Instance)"><!-- --></A><H3>inSplit</H3><PRE>public boolean <B>inSplit</B>(<A HREF="../../../weka/core/Instance.html">Instance</A> i)</PRE><DL><DD>This will check if an instance is inside or outside of the current shapes.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - The instance to check.<DT><B>Returns:</B><DD>True if 'i' falls inside the shapes, false otherwise.</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></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>j</CODE> - the level of jitter</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></DL></DD><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<DD><DL></DL></DD><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<DD><DL></DL></DD><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="setSindex(int)"><!-- --></A><H3>setSindex</H3><PRE>public void <B>setSindex</B>(int s)</PRE><DL><DD>Set the index of the attribute to use for the shape.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the index of the attribute to use for the shape</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> newPlot) throws java.lang.Exception</PRE><DL><DD>Clears all existing plots and sets a new master plot<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newPlot</CODE> - the new master plot<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if plot could not be added</DL></DD></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> newPlot) throws java.lang.Exception</PRE><DL><DD>Adds a plot. If there are no plots so far this plot becomes the master plot and, if it has a custom colour defined then the class panel is removed.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newPlot</CODE> - the plot to add.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - if plot could not be added</DL></DD></DL><HR><A NAME="switchToLegend()"><!-- --></A><H3>switchToLegend</H3><PRE>protected void <B>switchToLegend</B>()</PRE><DL><DD>Remove the attibute panel and replace it with the legend panel<DD><DL></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 for plotting points<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>cols</CODE> - a list of java.awt.Colors</DL></DD></DL><HR><A NAME="prePlot(java.awt.Graphics)"><!-- --></A><H3>prePlot</H3><PRE>public void <B>prePlot</B>(java.awt.Graphics gx)</PRE><DL><DD>Renders the polygons if necessary<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../weka/gui/visualize/Plot2DCompanion.html#prePlot(java.awt.Graphics)">prePlot</A></CODE> in interface <CODE><A HREF="../../../weka/gui/visualize/Plot2DCompanion.html">Plot2DCompanion</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>gx</CODE> - the graphics context</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/VisualizePanel.html"><B>PREV CLASS</B></A> <A HREF="../../../weka/gui/visualize/VisualizePanelEvent.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="VisualizePanel.PlotPanel.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#inner_classes_inherited_from_class_javax.swing.JPanel">INNER</A> | <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 + -