contourplot.html

来自「JFreeChart的帮助文档」· HTML 代码 · 共 1,246 行 · 第 1/5 页

HTML
1,246 行
字号
<DD><DL><DT><B>Returns:</B><DD>The domain axis.</DL></DD></DL><HR><A NAME="setDomainAxis(org.jfree.chart.axis.ValueAxis)"><!-- --></A><H3>setDomainAxis</H3><PRE>public void <B>setDomainAxis</B>(<A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A>&nbsp;axis)</PRE><DL><DD>Sets the domain axis for the plot (this must be compatible with the plot type or an exception is thrown).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>axis</CODE> - The new axis.</DL></DD></DL><HR><A NAME="getRangeAxis()"><!-- --></A><H3>getRangeAxis</H3><PRE>public <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A> <B>getRangeAxis</B>()</PRE><DL><DD>Returns the range axis for the plot.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The range axis.</DL></DD></DL><HR><A NAME="setRangeAxis(org.jfree.chart.axis.ValueAxis)"><!-- --></A><H3>setRangeAxis</H3><PRE>public void <B>setRangeAxis</B>(<A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A>&nbsp;axis)</PRE><DL><DD>Sets the range axis for the plot. <P> An exception is thrown if the new axis and the plot are not mutually compatible.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>axis</CODE> - The new axis (null permitted).</DL></DD></DL><HR><A NAME="setColorBarAxis(org.jfree.chart.axis.ColorBar)"><!-- --></A><H3>setColorBarAxis</H3><PRE>public void <B>setColorBarAxis</B>(<A HREF="../../../../org/jfree/chart/axis/ColorBar.html">ColorBar</A>&nbsp;axis)</PRE><DL><DD>Sets the colorbar for the plot.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>axis</CODE> - The new axis (null permitted).</DL></DD></DL><HR><A NAME="addDomainMarker(org.jfree.chart.Marker)"><!-- --></A><H3>addDomainMarker</H3><PRE>public void <B>addDomainMarker</B>(<A HREF="../../../../org/jfree/chart/Marker.html">Marker</A>&nbsp;marker)</PRE><DL><DD>Adds a marker for the domain axis. <P> Typically a marker will be drawn by the renderer as a line perpendicular to the range axis, however this is entirely up to the renderer.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>marker</CODE> - the marker.</DL></DD></DL><HR><A NAME="clearDomainMarkers()"><!-- --></A><H3>clearDomainMarkers</H3><PRE>public void <B>clearDomainMarkers</B>()</PRE><DL><DD>Clears all the domain markers.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addRangeMarker(org.jfree.chart.Marker)"><!-- --></A><H3>addRangeMarker</H3><PRE>public void <B>addRangeMarker</B>(<A HREF="../../../../org/jfree/chart/Marker.html">Marker</A>&nbsp;marker)</PRE><DL><DD>Adds a marker for the range axis. <P> Typically a marker will be drawn by the renderer as a line perpendicular to the range axis, however this is entirely up to the renderer.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>marker</CODE> - The marker.</DL></DD></DL><HR><A NAME="clearRangeMarkers()"><!-- --></A><H3>clearRangeMarkers</H3><PRE>public void <B>clearRangeMarkers</B>()</PRE><DL><DD>Clears all the range markers.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addAnnotation(org.jfree.chart.annotations.XYAnnotation)"><!-- --></A><H3>addAnnotation</H3><PRE>public void <B>addAnnotation</B>(<A HREF="../../../../org/jfree/chart/annotations/XYAnnotation.html">XYAnnotation</A>&nbsp;annotation)</PRE><DL><DD>Adds an annotation to the plot.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>annotation</CODE> - the annotation.</DL></DD></DL><HR><A NAME="clearAnnotations()"><!-- --></A><H3>clearAnnotations</H3><PRE>public void <B>clearAnnotations</B>()</PRE><DL><DD>Clears all the annotations.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isCompatibleDomainAxis(org.jfree.chart.axis.ValueAxis)"><!-- --></A><H3>isCompatibleDomainAxis</H3><PRE>public boolean <B>isCompatibleDomainAxis</B>(<A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A>&nbsp;axis)</PRE><DL><DD>Checks the compatibility of a domain axis, returning true if the axis is compatible with the plot, and false otherwise.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>axis</CODE> - The proposed axis.<DT><B>Returns:</B><DD><code>true</code> if the axis is compatible with the plot.</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.ChartRenderingInfo)"><!-- --></A><H3>draw</H3><PRE>public void <B>draw</B>(java.awt.Graphics2D&nbsp;g2,                 java.awt.geom.Rectangle2D&nbsp;plotArea,                 <A HREF="../../../../org/jfree/chart/ChartRenderingInfo.html">ChartRenderingInfo</A>&nbsp;info)</PRE><DL><DD>Draws the plot on a Java 2D graphics device (such as the screen or a printer). <P> The optional <code>info</code> argument collects information about the rendering of the plot (dimensions, tooltip information etc).  Just pass in <code>null</code> if you do not need this information.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/Plot.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.ChartRenderingInfo)">draw</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/Plot.html">Plot</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>plotArea</CODE> - the area within which the plot (including axis labels) should be drawn.<DD><CODE>info</CODE> - collects chart drawing information (<code>null</code> permitted).</DL></DD></DL><HR><A NAME="render(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.ChartRenderingInfo, org.jfree.chart.CrosshairInfo)"><!-- --></A><H3>render</H3><PRE>public void <B>render</B>(java.awt.Graphics2D&nbsp;g2,                   java.awt.geom.Rectangle2D&nbsp;dataArea,                   <A HREF="../../../../org/jfree/chart/ChartRenderingInfo.html">ChartRenderingInfo</A>&nbsp;info,                   <A HREF="../../../../org/jfree/chart/CrosshairInfo.html">CrosshairInfo</A>&nbsp;crosshairInfo)</PRE><DL><DD>Draws a representation of the data within the dataArea region, using the current renderer. <P> The <code>info</code> and <code>crosshairInfo</code> arguments may be <code>null</code>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>dataArea</CODE> - the region in which the data is to be drawn.<DD><CODE>info</CODE> - an optional object for collection dimension information.<DD><CODE>crosshairInfo</CODE> - an optional object for collecting crosshair info.</DL></DD></DL><HR><A NAME="contourRenderer(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.ChartRenderingInfo, org.jfree.chart.plot.ContourPlot, org.jfree.chart.axis.ValueAxis, org.jfree.chart.axis.ValueAxis, org.jfree.chart.axis.ColorBar, org.jfree.data.ContourDataset, org.jfree.chart.CrosshairInfo)"><!-- --></A><H3>contourRenderer</H3><PRE>public void <B>contourRenderer</B>(java.awt.Graphics2D&nbsp;g2,                            java.awt.geom.Rectangle2D&nbsp;dataArea,                            <A HREF="../../../../org/jfre

⌨️ 快捷键说明

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