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

📄 ezgraphc.html

📁 文件来自swarm.org
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Tue Nov 30 14:11:20 MST 2004 --><TITLE>Swarm 2.2 Reference Guide: Interface  EZGraphC</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_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 ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="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 ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="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="../../swarm/analysis/EZGraph.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../swarm/analysis/EZGraphS.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="EZGraphC.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">swarm.analysis</FONT><BR>Interface  EZGraphC</H2><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../swarm/analysis/EZGraphCImpl.html">EZGraphCImpl</A></DD></DL><HR><DL><DT>public interface <B>EZGraphC</B><DT>extends <A HREF="../../swarm/objectbase/SwarmObjectC.html">SwarmObjectC</A>, <A HREF="../../swarm/objectbase/SwarmObjectS.html">SwarmObjectS</A>, <A HREF="../../swarm/simtoolsgui/GUICompositeC.html">GUICompositeC</A>, <A HREF="../../swarm/simtoolsgui/GUICompositeS.html">GUICompositeS</A></DL><P><strong> A class for easily create graphs.</strong>.This class allows the user to easily create graphs of various quantities in the model s/he is investigating.  The user first creates the EZGraph, and then creates "Sequences";  (lines) which will appear in the graph.  The sequences are generated based on data provided by a  single object or a collection of target objects, in reponse to a specified selector. One of the features of the EZGraph is that it will automatically generate average, total, min, max and count sequences without the user having to mess with Averagers amd other low-level classes.<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphC.html#create$setFileName(swarm.defobj.Zone, java.lang.String)">create$setFileName</A></B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A>&nbsp;aZone,                   java.lang.String&nbsp;filename)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method for creating a non-graphical EZGraph, in this case, the filename is explicitly set by the user</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphC.html#create$setFileOutput(swarm.defobj.Zone, boolean)">create$setFileOutput</A></B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A>&nbsp;aZone,                     boolean&nbsp;fileOutputFlag)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method for creating a non-graphical EZGraph, the filename is generated from the sequence name</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphC.html#create$setHDF5Container$setPrefix(swarm.defobj.Zone, swarm.defobj.HDF5, java.lang.String)">create$setHDF5Container$setPrefix</A></B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A>&nbsp;aZone,                                  <A HREF="../../swarm/defobj/HDF5.html">HDF5</A>&nbsp;hdf5Container,                                  java.lang.String&nbsp;prefix)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method for creating a non-graphical EZGraph, inside of a HDF5 container.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphC.html#create$setTitle$setAxisLabelsX$Y$setWindowGeometryRecordName(swarm.defobj.Zone, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">create$setTitle$setAxisLabelsX$Y$setWindowGeometryRecordName</A></B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A>&nbsp;aZone,                                                             java.lang.String&nbsp;aTitle,                                                             java.lang.String&nbsp;xl,                                                             java.lang.String&nbsp;yl,                                                             java.lang.String&nbsp;windowGeometryRecordName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method for creating `graphical' EZGraph instances</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphC.html#create$setTitle$setAxisLabelsX$Y$setWindowGeometryRecordName$setSaveSizeFlag(swarm.defobj.Zone, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)">create$setTitle$setAxisLabelsX$Y$setWindowGeometryRecordName$setSaveSizeFlag</A></B>(<A HREF="../../swarm/defobj/Zone.html">Zone</A>&nbsp;aZone,                                                                             java.lang.String&nbsp;aTitle,                                                                             java.lang.String&nbsp;xl,                                                                             java.lang.String&nbsp;yl,                                                                             java.lang.String&nbsp;windowGeometryRecordName,                                                                             boolean&nbsp;saveSizeFlag)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphC.html#setAxisLabelsX$Y(java.lang.String, java.lang.String)">setAxisLabelsX$Y</A></B>(java.lang.String&nbsp;xl,                 java.lang.String&nbsp;yl)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The setAxisLabels:X:Y method sets the horizontal and vertical labels on  the histogram in the graphical version of EZGraph.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphC.html#setColors$count(java.lang.String[], int)">setColors$count</A></B>(java.lang.String[]&nbsp;colors,                int&nbsp;count)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a custom vector of colors for the graph lines</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphC.html#setFileName(java.lang.String)">setFileName</A></B>(java.lang.String&nbsp;aFileName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The setFileName method sets the name used for disk file data output.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphC.html#setFileOutput(boolean)">setFileOutput</A></B>(boolean&nbsp;state)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The setFileOutput method sets the state of file I/O.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphC.html#setGraphics(boolean)">setGraphics</A></B>(boolean&nbsp;state)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The setGraphics method sets the state of the display.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphC.html#setHDF5Container(swarm.defobj.HDF5)">setHDF5Container</A></B>(<A HREF="../../swarm/defobj/HDF5.html">HDF5</A>&nbsp;hdf5Container)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The setHDF5Container: method allows one to combine multiple graphs with multiple sequences in a single HDF5 file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraphC.html#setTitle(java.lang.String)">setTitle</A></B>(java.lang.String&nbsp;aTitle)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The setTitle method uses a title string to label a graph window in the  graphical version of EZGraph.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.defobj.CreateC"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.defobj.<A HREF="../../swarm/defobj/CreateC.html">CreateC</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/defobj/CreateC.html#create(swarm.defobj.Zone)">create</A>, <A HREF="../../swarm/defobj/CreateC.html#createBegin(swarm.defobj.Zone)">createBegin</A>, <A HREF="../../swarm/defobj/CreateC.html#createEnd()">createEnd</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.defobj.CustomizeC"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.defobj.<A HREF="../../swarm/defobj/CustomizeC.html">CustomizeC</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/defobj/CustomizeC.html#customizeBegin(java.lang.Object)">customizeBegin</A>, <A HREF="../../swarm/defobj/CustomizeC.html#customizeCopy(java.lang.Object)">customizeCopy</A>, <A HREF="../../swarm/defobj/CustomizeC.html#customizeEnd()">customizeEnd</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.simtoolsgui.CompositeWindowGeometryRecordNameC"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -