📄 datapoints.html,v
字号:
int panelWidth, int panelHeight, DisplayScale scale)</PRE><DL><DD>Converts an instance of Point to an instance of MyPoint containing the cartesian x-y values<P><DD><DL><DT><B>Parameters:</B><DD><CODE>jpoint</CODE> - Point variable used to set MyPoint<DD><CODE>panelWidth</CODE> - Width of viewing panel<DD><CODE>panelHeight</CODE> - Height of viewing panel<DD><CODE>scale</CODE> - DisplayScale variable used for viewing<DT><B>Returns:</B><DD>MyPoint convertion</DL></DD></DL><HR><A NAME="convertPoints(java.util.Vector, int, int, DisplayScale)"><!-- --></A><H3>convertPoints</H3><PRE>public static java.util.Vector<MyPoint> <B>convertPoints</B>(java.util.Vector<java.awt.Point> jset, int panelWidth, int panelHeight, DisplayScale scale)</PRE><DL><DD>Converts a vector of Points to a vector of MyPoints containing the cartesian x-y values<P><DD><DL><DT><B>Parameters:</B><DD><CODE>jset</CODE> - Vector of points to be converted<DD><CODE>panelWidth</CODE> - Width of viewing panel<DD><CODE>panelHeight</CODE> - Height of viewing panel<DT><B>Returns:</B><DD>Vector of MyPoints converted</DL></DD></DL><HR><A NAME="convertMyPoint(MyPoint, int, int, DisplayScale)"><!-- --></A><H3>convertMyPoint</H3><PRE>public static java.awt.Point <B>convertMyPoint</B>(MyPoint dpoint, int panelWidth, int panelHeight, DisplayScale scale)</PRE><DL><DD>Converts an instance of MyPoint to an instance of Point<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dpoint</CODE> - MyPoint to be converted<DD><CODE>panelWidth</CODE> - Width of panel for viewing<DD><CODE>panelHeight</CODE> - Width of panel for viewing<DT><B>Returns:</B><DD>Point type converted from MyPoint type</DL></DD></DL><HR><A NAME="convertMyPoints(java.util.Vector, int, int, DisplayScale)"><!-- --></A><H3>convertMyPoints</H3><PRE>public static java.util.Vector<java.awt.Point> <B>convertMyPoints</B>(java.util.Vector<MyPoint> dset, int panelWidth, int panelHeight, DisplayScale scale)</PRE><DL><DD>Converts a Vector of MyPoints to a Vector of points that correspond to Java coordinates.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dset</CODE> - Vector of MyPoints to be converted to Vector of Points<DD><CODE>panelWidth</CODE> - Width of panel for viewing<DD><CODE>panelHeight</CODE> - Height of panel for viewing<DT><B>Returns:</B><DD>Vector of Points converted from MyPoints</DL></DD></DL><HR><A NAME="setDrawGaussValues(int, double, double, double, double)"><!-- --></A><H3>setDrawGaussValues</H3><PRE>public void <B>setDrawGaussValues</B>(int points, double cov11, double cov12, double cov21, double cov22)</PRE><DL><DD>sets the gaussian values<P><DD><DL><DT><B>Parameters:</B><DD><CODE>points</CODE> - number of points<DD><CODE>cov11</CODE> - double value of covariance11<DD><CODE>cov12</CODE> - double value of covariance12<DD><CODE>cov21</CODE> - double value of covariance21<DD><CODE>cov22</CODE> - double value of covariance22</DL></DD></DL><HR><A NAME="setColors(java.awt.Color, java.awt.Color, java.awt.Color, java.awt.Color)"><!-- --></A><H3>setColors</H3><PRE>public void <B>setColors</B>(java.awt.Color color_dset1, java.awt.Color color_dset2, java.awt.Color color_dset3, java.awt.Color color_dset4)</PRE><DL><DD>sets the gaussian values<P><DD><DL><DT><B>Parameters:</B><DD><CODE>color_dset1</CODE> - color for data set 1<DD><CODE>color_dset2</CODE> - color for data set 2<DD><CODE>color_dset3</CODE> - color for data set 3<DD><CODE>color_dset4</CODE> - color for data set 4</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=2 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="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="Covariance.html" title="class in <Unnamed>"><B>PREV CLASS</B></A> <A HREF="DecisionRegion.html" title="class in <Unnamed>"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="index.html?DataPoints.html" target="_top"><B>FRAMES</B></A> <A HREF="DataPoints.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>@1.1log@temp.text@text@d5 1a5 1<!-- Generated by javadoc (build 1.5.0_03) on Fri Jun 03 16:18:39 CDT 2005 -->d116 1a116 1<TD><CODE><B><A HREF="DataPoints.html#addPoint(MyPoint)">addPoint</A></B>(<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A> p)</CODE>d132 1a132 1<TD><CODE><B><A HREF="DataPoints.html#convertMyPoint(MyPoint, int, int, DisplayScale)">convertMyPoint</A></B>(<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A> dpoint,d135 1a135 1 <A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</CODE>d143 1a143 1<TD><CODE><B><A HREF="DataPoints.html#convertMyPoints(java.util.Vector, int, int, DisplayScale)">convertMyPoints</A></B>(java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> dset,d146 1a146 1 <A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</CODE>d154 1a154 1<CODE>static <A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A></CODE></FONT></TD>d158 1a158 1 <A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</CODE>d166 1a166 1<CODE>static java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>></CODE></FONT></TD>d170 1a170 1 <A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</CODE>d181 1a181 1 <A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</CODE>d228 1a228 1<TD><CODE><B><A HREF="DataPoints.html#setFourEllipses(DisplayScale)">setFourEllipses</A></B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</CODE>d237 1a237 1<TD><CODE><B><A HREF="DataPoints.html#setFourGaussian(DisplayScale)">setFourGaussian</A></B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</CODE>d254 1a254 1 <A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</CODE>d262 1a262 1<TD><CODE><B><A HREF="DataPoints.html#setOverGaussian(DisplayScale)">setOverGaussian</A></B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</CODE>d271 1a271 1<TD><CODE><B><A HREF="DataPoints.html#setRotatedEllipses(DisplayScale)">setRotatedEllipses</A></B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</CODE>d280 1a280 1<TD><CODE><B><A HREF="DataPoints.html#setToroidal(DisplayScale)">setToroidal</A></B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</CODE>d289 1a289 1<TD><CODE><B><A HREF="DataPoints.html#setTwoEllipses(DisplayScale)">setTwoEllipses</A></B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</CODE>d298 1a298 1<TD><CODE><B><A HREF="DataPoints.html#setTwoGaussian(DisplayScale)">setTwoGaussian</A></B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</CODE>d307 1a307 1<TD><CODE><B><A HREF="DataPoints.html#setYinYang(DisplayScale)">setYinYang</A></B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</CODE>d380 1a380 1public void <B>addPoint</B>(<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A> p)</PRE>d395 1a395 1 <A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</PRE>d415 1a415 1 <A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</PRE>d428 1a428 1public void <B>setTwoGaussian</B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</PRE>d442 1a442 1public void <B>setFourGaussian</B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</PRE>d457 1a457 1public void <B>setOverGaussian</B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</PRE>d471 1a471 1public void <B>setTwoEllipses</B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</PRE>d485 1a485 1public void <B>setRotatedEllipses</B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</PRE>d499 1a499 1public void <B>setFourEllipses</B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</PRE>d513 1a513 1public void <B>setToroidal</B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</PRE>d527 1a527 1public void <B>setYinYang</B>(<A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</PRE>d541 1a541 1public static <A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A> <B>convertPoint</B>(java.awt.Point jpoint,d544 1a544 1 <A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</PRE>d559 1a559 1public static java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> <B>convertPoints</B>(java.util.Vector<java.awt.Point> jset,d562 1a562 1 <A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</PRE>d577 1a577 1public static java.awt.Point <B>convertMyPoint</B>(<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A> dpoint,d580 1a580 1 <A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</PRE>d594 1a594 1public static java.util.Vector<java.awt.Point> <B>convertMyPoints</B>(java.util.Vector<<A HREF="MyPoint.html" title="class in <Unnamed>">MyPoint</A>> dset,d597 1a597 1 <A HREF="DisplayScale.html" title="class in <Unnamed>">DisplayScale</A> scale)</PRE>@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -