📄 graph.contour.html
字号:
</dl></dl><a name="setLabelFont(java.awt.Font)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setLabelFont"><b>setLabelFont</b></a><pre> public void setLabelFont(<a href="java.awt.Font.html#_top_">Font</a> f)</pre><dl> <dd> Set the font to be used with All the labels <dl> <dt> <b>Parameters:</b> <dd> f - Font </dl></dl><a name="setLabelColor(java.awt.Color)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setLabelColor"><b>setLabelColor</b></a><pre> public void setLabelColor(<a href="java.awt.Color.html#_top_">Color</a> c)</pre><dl> <dd> Set the Color to be used with all the labels. <dl> <dt> <b>Parameters:</b> <dd> c - Color </dl></dl><a name="setGrid(double[], int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setGrid"><b>setGrid</b></a><pre> public void setGrid(double grid[], int nx, int ny)</pre><dl> <dd> Set the grid to be contoured. <dl> <dt> <b>Parameters:</b> <dd> grid - Array of values <dd> nx - Number of columns <dd> ny - Number of rows </dl></dl><a name="deleteContours()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="deleteContours"><b>deleteContours</b></a><pre> public void deleteContours()</pre><dl> <dd> Delete all the Contours</dl><a name="detachContours()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="detachContours"><b>detachContours</b></a><pre> public void detachContours()</pre><dl> <dd> Detach contours so that they will not be plotted.</dl><a name="attachContours()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="attachContours"><b>attachContours</b></a><pre> public void attachContours()</pre><dl> <dd> Attach contours so that they will be plotted.</dl><a name="setContourColor(java.awt.Color)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setContourColor"><b>setContourColor</b></a><pre> public void setContourColor(<a href="java.awt.Color.html#_top_">Color</a> c)</pre><dl> <dd> Set the contour's color. <dl> <dt> <b>Parameters:</b> <dd> c - Color </dl></dl><a name="setLabelledContourColor(java.awt.Color)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setLabelledContourColor"><b>setLabelledContourColor</b></a><pre> public void setLabelledContourColor(<a href="java.awt.Color.html#_top_">Color</a> c)</pre><dl> <dd> Set the labelled contour's color. <dl> <dt> <b>Parameters:</b> <dd> c - Color </dl></dl><a name="getLevels()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getLevels"><b>getLevels</b></a><pre> public double[] getLevels()</pre><dl> <dd> Return the contour levels. <dl> <dt> <b>Returns:</b> <dd> An array containing the contour levels </dl></dl><a name="setLimitsToGrid(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setLimitsToGrid"><b>setLimitsToGrid</b></a><pre> public void setLimitsToGrid(boolean b)</pre><dl> <dd> If true the limits of the plot will be the grid limits.If false the limits of the plot will be the contours. <dl> <dt> <b>Parameters:</b> <dd> b - boolean </dl></dl><a name="setLabelLevels(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setLabelLevels"><b>setLabelLevels</b></a><pre> public void setLabelLevels(int i)</pre><dl> <dd> Set the contour levels that are to have labels.<pre> if 0 no labels are drawn if 1 every level gets a label If 2 every 2nd level gets a label etc.</pre></dl><a name="setLogLevels(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setLogLevels"><b>setLogLevels</b></a><pre> public void setLogLevels(boolean b)</pre><dl> <dd> If true contour levels are calculated on a log scale. <dl> <dt> <b>Parameters:</b> <dd> b - boolean </dl></dl><a name="setNLevels(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setNLevels"><b>setNLevels</b></a><pre> public void setNLevels(int l)</pre><dl> <dd> Set the number of contour levels.</dl><a name="setAutoLevels(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setAutoLevels"><b>setAutoLevels</b></a><pre> public void setAutoLevels(boolean b)</pre><dl> <dd> If true contour levels are calculated automatically. <dl> <dt> <b>Parameters:</b> <dd> b - boolean </dl></dl><a name="setDrawLabels(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setDrawLabels"><b>setDrawLabels</b></a><pre> public void setDrawLabels(boolean b)</pre><dl> <dd> If true contour levels are not labeled. <dl> <dt> <b>Parameters:</b> <dd> b - boolean </dl></dl><a name="setLabelStyle(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setLabelStyle"><b>setLabelStyle</b></a><pre> public void setLabelStyle(int s)</pre><dl> <dd> Set the label style, either TextLine.SCIENTIFIC orTextLine.ALGEBRAIC. <dl> <dt> <b>Parameters:</b> <dd> s - Style </dl></dl><a name="getLabelStyle()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getLabelStyle"><b>getLabelStyle</b></a><pre> public int getLabelStyle()</pre><dl> <dd> Get the label style, either TextLine.SCIENTIFIC orTextLine.ALGEBRAIC. <dl> <dt> <b>Returns:</b> <dd> style </dl></dl><a name="setLabelPrecision(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setLabelPrecision"><b>setLabelPrecision</b></a><pre> public void setLabelPrecision(int p)</pre><dl> <dd> Set the label precision. <dl> <dt> <b>Parameters:</b> <dd> s - Precision </dl></dl><a name="getLabelPrecision()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getLabelPrecision"><b>getLabelPrecision</b></a><pre> public int getLabelPrecision()</pre><dl> <dd> Get the label precision. <dl> <dt> <b>Returns:</b> <dd> precision </dl></dl><a name="setLabelSignificance(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setLabelSignificance"><b>setLabelSignificance</b></a><pre> public void setLabelSignificance(int s)</pre><dl> <dd> Set the label significant figures. <dl> <dt> <b>Parameters:</b> <dd> s - number of significant figures </dl></dl><a name="getLabelSignificance()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getLabelSignificance"><b>getLabelSignificance</b></a><pre> public int getLabelSignificance()</pre><dl> <dd> Get the number of significant figures for labels. <dl> <dt> <b>Returns:</b> <dd> number of significant figures </dl></dl><a name="keyDown(java.awt.Event, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="keyDown"><b>keyDown</b></a><pre> public boolean keyDown(<a href="java.awt.Event.html#_top_">Event</a> e, int key)</pre><dl> <dd> Add extra events to the G2Dint event handler. If 'l' is pressed repaint without the labels If 'L' is pressed repaint with the labels. <dl> <dt> <b>Overrides:</b> <dd> <a href="graph.G2Dint.html#keyDown(java.awt.Event, int)">keyDown</a> in class <a href="graph.G2Dint.html#_top_">G2Dint</a> </dl></dl><a name="paintFirst(java.awt.Graphics, java.awt.Rectangle)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="paintFirst"><b>paintFirst</b></a><pre> public void paintFirst(<a href="java.awt.Graphics.html#_top_">Graphics</a> g, <a href="java.awt.Rectangle.html#_top_">Rectangle</a> r)</pre><dl> <dd> A hook into the Graph2D.paint method. <dl> <dt> <b>Overrides:</b> <dd> <a href="graph.Graph2D.html#paintFirst(java.awt.Graphics, java.awt.Rectangle)">paintFirst</a> in class <a href="graph.Graph2D.html#_top_">Graph2D</a> </dl></dl><a name="paintLast(java.awt.Graphics, java.awt.Rectangle)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="paintLast"><b>paintLast</b></a><pre> public void paintLast(<a href="java.awt.Graphics.html#_top_">Graphics</a> g, <a href="java.awt.Rectangle.html#_top_">Rectangle</a> rect)</pre><dl> <dd> A hook into the Graph2D.paint method. <dl> <dt> <b>Overrides:</b> <dd> <a href="graph.Graph2D.html#paintLast(java.awt.Graphics, java.awt.Rectangle)">paintLast</a> in class <a href="graph.Graph2D.html#_top_">Graph2D</a> </dl></dl><a name="calculateCurves()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="calculateCurves"><b>calculateCurves</b></a><pre> protected void calculateCurves()</pre><hr><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-graph.html">This Package</a> <a href="graph.BuildGraph.html#_top_">Previous</a> <a href="graph.DataSet.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -