Files
2016-04-27 01:07:35 -04:00

760 lines
40 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Wed Apr 06 13:11:04 EDT 2016 -->
<title>XYPlot (Parallel Java 2 Library Documentation)</title>
<meta name="date" content="2016-04-06">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="XYPlot (Parallel Java 2 Library Documentation)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XYPlot.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../edu/rit/numeric/plot/impl/Ticks.html" title="class in edu.rit.numeric.plot.impl"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../edu/rit/numeric/plot/impl/XYPlotSeries.html" title="class in edu.rit.numeric.plot.impl"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?edu/rit/numeric/plot/impl/XYPlot.html" target="_top">Frames</a></li>
<li><a href="XYPlot.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">edu.rit.numeric.plot.impl</div>
<h2 title="Class XYPlot" class="title">Class XYPlot</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>edu.rit.numeric.plot.impl.XYPlot</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../edu/rit/swing/Displayable.html" title="interface in edu.rit.swing">Displayable</a>, <a href="../../../../../edu/rit/swing/Drawable.html" title="interface in edu.rit.swing">Drawable</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">XYPlot</span>
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../../edu/rit/swing/Displayable.html" title="interface in edu.rit.swing">Displayable</a></pre>
<div class="block">Class XYPlot provides an XY plot. The plot has an X axis, a Y axis, and one
or more plot series (type <a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a>). The plot may optionally
have a <a href="../../../../../edu/rit/numeric/plot/impl/Grid.html" title="class in edu.rit.numeric.plot.impl">Grid</a>. Labels (class <a href="../../../../../edu/rit/numeric/plot/impl/Label.html" title="class in edu.rit.numeric.plot.impl">Label</a>) may be added to a
plot and are drawn after drawing all the plot series.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Paint.html?is-external=true" title="class or interface in java.awt">Paint</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#DEFAULT_BACKGROUND">DEFAULT_BACKGROUND</a></strong></code>
<div class="block">The default background paint (white).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#DEFAULT_MARGIN">DEFAULT_MARGIN</a></strong></code>
<div class="block">The default margin (54).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Paint.html?is-external=true" title="class or interface in java.awt">Paint</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#myBackgroundPaint">myBackgroundPaint</a></strong></code>
<div class="block">Background paint.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected double</code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#myBottomMargin">myBottomMargin</a></strong></code>
<div class="block">Bottom margin.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/awt/geom/Rectangle2D.Double.html?is-external=true" title="class or interface in java.awt.geom">Rectangle2D.Double</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#myBoundingBox">myBoundingBox</a></strong></code>
<div class="block">Bounding box.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../edu/rit/numeric/plot/impl/Grid.html" title="class in edu.rit.numeric.plot.impl">Grid</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#myGrid">myGrid</a></strong></code>
<div class="block">Grid.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected double</code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#myHeight">myHeight</a></strong></code>
<div class="block">Height.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../edu/rit/util/AList.html" title="class in edu.rit.util">AList</a>&lt;<a href="../../../../../edu/rit/numeric/plot/impl/Label.html" title="class in edu.rit.numeric.plot.impl">Label</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#myLabels">myLabels</a></strong></code>
<div class="block">List of labels.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected double</code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#myLeftMargin">myLeftMargin</a></strong></code>
<div class="block">Left margin.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../edu/rit/util/AList.html" title="class in edu.rit.util">AList</a>&lt;<a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#myPlotSeries">myPlotSeries</a></strong></code>
<div class="block">List of plot series.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected double</code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#myRightMargin">myRightMargin</a></strong></code>
<div class="block">Right margin.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected double</code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#myTopMargin">myTopMargin</a></strong></code>
<div class="block">Top margin.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected double</code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#myWidth">myWidth</a></strong></code>
<div class="block">Width.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#myXAxis">myXAxis</a></strong></code>
<div class="block">X axis.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#myYAxis">myYAxis</a></strong></code>
<div class="block">Y axis.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#XYPlot(edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.NumericalAxis)">XYPlot</a></strong>(<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theXAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theYAxis)</code>
<div class="block">Construct a new XY plot with the given axes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#XYPlot(edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.Grid)">XYPlot</a></strong>(<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theXAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theYAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/Grid.html" title="class in edu.rit.numeric.plot.impl">Grid</a>&nbsp;theGrid)</code>
<div class="block">Construct a new XY plot with the given axes and grid.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#XYPlot(edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.Grid, double)">XYPlot</a></strong>(<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theXAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theYAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/Grid.html" title="class in edu.rit.numeric.plot.impl">Grid</a>&nbsp;theGrid,
double&nbsp;theMargin)</code>
<div class="block">Construct a new XY plot with the given axes, grid, and margin.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#XYPlot(edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.Grid, double, double, double, double)">XYPlot</a></strong>(<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theXAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theYAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/Grid.html" title="class in edu.rit.numeric.plot.impl">Grid</a>&nbsp;theGrid,
double&nbsp;theLeftMargin,
double&nbsp;theTopMargin,
double&nbsp;theRightMargin,
double&nbsp;theBottomMargin)</code>
<div class="block">Construct a new XY plot with the given axes, grid, and margins.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#XYPlot(edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.Grid, double, double, double, double, java.awt.Paint)">XYPlot</a></strong>(<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theXAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theYAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/Grid.html" title="class in edu.rit.numeric.plot.impl">Grid</a>&nbsp;theGrid,
double&nbsp;theLeftMargin,
double&nbsp;theTopMargin,
double&nbsp;theRightMargin,
double&nbsp;theBottomMargin,
<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Paint.html?is-external=true" title="class or interface in java.awt">Paint</a>&nbsp;theBackgroundPaint)</code>
<div class="block">Construct a new XY plot with the given axes, grid, margins, and
background.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#addLabel(edu.rit.numeric.plot.impl.Label)">addLabel</a></strong>(<a href="../../../../../edu/rit/numeric/plot/impl/Label.html" title="class in edu.rit.numeric.plot.impl">Label</a>&nbsp;theLabel)</code>
<div class="block">Add the given label to this XY plot.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#addPlotSeries(edu.rit.numeric.plot.impl.PlotSeries)">addPlotSeries</a></strong>(<a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a>&nbsp;thePlotSeries)</code>
<div class="block">Add the given plot series to this XY plot.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#draw(java.awt.Graphics2D)">draw</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</a>&nbsp;g2d)</code>
<div class="block">Draw this drawable object in the given graphics context.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Paint.html?is-external=true" title="class or interface in java.awt">Paint</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#getBackgroundPaint()">getBackgroundPaint</a></strong>()</code>
<div class="block">Returns this displayable object's background paint.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/awt/geom/Rectangle2D.html?is-external=true" title="class or interface in java.awt.geom">Rectangle2D</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html#getBoundingBox()">getBoundingBox</a></strong>()</code>
<div class="block">Returns this displayable object's bounding box.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="DEFAULT_MARGIN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_MARGIN</h4>
<pre>public static final&nbsp;double DEFAULT_MARGIN</pre>
<div class="block">The default margin (54).</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#edu.rit.numeric.plot.impl.XYPlot.DEFAULT_MARGIN">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="DEFAULT_BACKGROUND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_BACKGROUND</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Paint.html?is-external=true" title="class or interface in java.awt">Paint</a> DEFAULT_BACKGROUND</pre>
<div class="block">The default background paint (white).</div>
</li>
</ul>
<a name="myXAxis">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>myXAxis</h4>
<pre>protected&nbsp;<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a> myXAxis</pre>
<div class="block">X axis.</div>
</li>
</ul>
<a name="myYAxis">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>myYAxis</h4>
<pre>protected&nbsp;<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a> myYAxis</pre>
<div class="block">Y axis.</div>
</li>
</ul>
<a name="myGrid">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>myGrid</h4>
<pre>protected&nbsp;<a href="../../../../../edu/rit/numeric/plot/impl/Grid.html" title="class in edu.rit.numeric.plot.impl">Grid</a> myGrid</pre>
<div class="block">Grid.</div>
</li>
</ul>
<a name="myPlotSeries">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>myPlotSeries</h4>
<pre>protected&nbsp;<a href="../../../../../edu/rit/util/AList.html" title="class in edu.rit.util">AList</a>&lt;<a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a>&gt; myPlotSeries</pre>
<div class="block">List of plot series.</div>
</li>
</ul>
<a name="myLabels">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>myLabels</h4>
<pre>protected&nbsp;<a href="../../../../../edu/rit/util/AList.html" title="class in edu.rit.util">AList</a>&lt;<a href="../../../../../edu/rit/numeric/plot/impl/Label.html" title="class in edu.rit.numeric.plot.impl">Label</a>&gt; myLabels</pre>
<div class="block">List of labels.</div>
</li>
</ul>
<a name="myLeftMargin">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>myLeftMargin</h4>
<pre>protected&nbsp;double myLeftMargin</pre>
<div class="block">Left margin.</div>
</li>
</ul>
<a name="myTopMargin">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>myTopMargin</h4>
<pre>protected&nbsp;double myTopMargin</pre>
<div class="block">Top margin.</div>
</li>
</ul>
<a name="myRightMargin">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>myRightMargin</h4>
<pre>protected&nbsp;double myRightMargin</pre>
<div class="block">Right margin.</div>
</li>
</ul>
<a name="myBottomMargin">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>myBottomMargin</h4>
<pre>protected&nbsp;double myBottomMargin</pre>
<div class="block">Bottom margin.</div>
</li>
</ul>
<a name="myWidth">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>myWidth</h4>
<pre>protected&nbsp;double myWidth</pre>
<div class="block">Width.</div>
</li>
</ul>
<a name="myHeight">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>myHeight</h4>
<pre>protected&nbsp;double myHeight</pre>
<div class="block">Height.</div>
</li>
</ul>
<a name="myBoundingBox">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>myBoundingBox</h4>
<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/geom/Rectangle2D.Double.html?is-external=true" title="class or interface in java.awt.geom">Rectangle2D.Double</a> myBoundingBox</pre>
<div class="block">Bounding box.</div>
</li>
</ul>
<a name="myBackgroundPaint">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>myBackgroundPaint</h4>
<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Paint.html?is-external=true" title="class or interface in java.awt">Paint</a> myBackgroundPaint</pre>
<div class="block">Background paint.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="XYPlot(edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.NumericalAxis)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XYPlot</h4>
<pre>public&nbsp;XYPlot(<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theXAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theYAxis)</pre>
<div class="block">Construct a new XY plot with the given axes. The plot has no grid. The
plot uses the default margin (54) on all sides. The plot uses the default
background (white).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theXAxis</code> - X axis.</dd><dd><code>theYAxis</code> - Y axis.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>theXAxis</TT> is null or
<TT>theYAxis</TT> is null.</dd></dl>
</li>
</ul>
<a name="XYPlot(edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.Grid)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XYPlot</h4>
<pre>public&nbsp;XYPlot(<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theXAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theYAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/Grid.html" title="class in edu.rit.numeric.plot.impl">Grid</a>&nbsp;theGrid)</pre>
<div class="block">Construct a new XY plot with the given axes and grid. The plot uses the
default margin (54) on all sides. The plot uses the default background
(white).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theXAxis</code> - X axis.</dd><dd><code>theYAxis</code> - Y axis.</dd><dd><code>theGrid</code> - Grid, or null for no grid.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>theXAxis</TT> is null or
<TT>theYAxis</TT> is null.</dd></dl>
</li>
</ul>
<a name="XYPlot(edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.Grid, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XYPlot</h4>
<pre>public&nbsp;XYPlot(<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theXAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theYAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/Grid.html" title="class in edu.rit.numeric.plot.impl">Grid</a>&nbsp;theGrid,
double&nbsp;theMargin)</pre>
<div class="block">Construct a new XY plot with the given axes, grid, and margin. The plot
uses the same margin on all sides. The plot uses the default background
(white).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theXAxis</code> - X axis.</dd><dd><code>theYAxis</code> - Y axis.</dd><dd><code>theGrid</code> - Grid, or null for no grid.</dd><dd><code>theMargin</code> - Margin.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>theXAxis</TT> is null or
<TT>theYAxis</TT> is null.</dd>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - (unchecked exception) Thrown if <TT>theMargin</TT> is less than 0.</dd></dl>
</li>
</ul>
<a name="XYPlot(edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.Grid, double, double, double, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XYPlot</h4>
<pre>public&nbsp;XYPlot(<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theXAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theYAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/Grid.html" title="class in edu.rit.numeric.plot.impl">Grid</a>&nbsp;theGrid,
double&nbsp;theLeftMargin,
double&nbsp;theTopMargin,
double&nbsp;theRightMargin,
double&nbsp;theBottomMargin)</pre>
<div class="block">Construct a new XY plot with the given axes, grid, and margins. The plot
uses the default background (white).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theXAxis</code> - X axis.</dd><dd><code>theYAxis</code> - Y axis.</dd><dd><code>theGrid</code> - Grid, or null for no grid.</dd><dd><code>theLeftMargin</code> - Left margin.</dd><dd><code>theTopMargin</code> - Top margin.</dd><dd><code>theRightMargin</code> - Right margin.</dd><dd><code>theBottomMargin</code> - Left margin.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>theXAxis</TT> is null or
<TT>theYAxis</TT> is null.</dd>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - (unchecked exception) Thrown if any margin is less than 0.</dd></dl>
</li>
</ul>
<a name="XYPlot(edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.NumericalAxis, edu.rit.numeric.plot.impl.Grid, double, double, double, double, java.awt.Paint)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>XYPlot</h4>
<pre>public&nbsp;XYPlot(<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theXAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/NumericalAxis.html" title="class in edu.rit.numeric.plot.impl">NumericalAxis</a>&nbsp;theYAxis,
<a href="../../../../../edu/rit/numeric/plot/impl/Grid.html" title="class in edu.rit.numeric.plot.impl">Grid</a>&nbsp;theGrid,
double&nbsp;theLeftMargin,
double&nbsp;theTopMargin,
double&nbsp;theRightMargin,
double&nbsp;theBottomMargin,
<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Paint.html?is-external=true" title="class or interface in java.awt">Paint</a>&nbsp;theBackgroundPaint)</pre>
<div class="block">Construct a new XY plot with the given axes, grid, margins, and
background.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theXAxis</code> - X axis.</dd><dd><code>theYAxis</code> - Y axis.</dd><dd><code>theGrid</code> - Grid, or null for no grid.</dd><dd><code>theLeftMargin</code> - Left margin.</dd><dd><code>theTopMargin</code> - Top margin.</dd><dd><code>theRightMargin</code> - Right margin.</dd><dd><code>theBottomMargin</code> - Left margin.</dd><dd><code>theBackgroundPaint</code> - Background paint.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>theXAxis</TT> is null,
<TT>theYAxis</TT> is null, or <TT>theBackgroundPaint</TT> is null.</dd>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - (unchecked exception) Thrown if any margin is less than 0.</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="addPlotSeries(edu.rit.numeric.plot.impl.PlotSeries)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addPlotSeries</h4>
<pre>public&nbsp;void&nbsp;addPlotSeries(<a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a>&nbsp;thePlotSeries)</pre>
<div class="block">Add the given plot series to this XY plot. When this XY plot is drawn,
the plot series are drawn in the order they were added; that is, last
added plot series on top.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>thePlotSeries</code> - Plot series.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>thePlotSeries</TT> is null.</dd></dl>
</li>
</ul>
<a name="addLabel(edu.rit.numeric.plot.impl.Label)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addLabel</h4>
<pre>public&nbsp;void&nbsp;addLabel(<a href="../../../../../edu/rit/numeric/plot/impl/Label.html" title="class in edu.rit.numeric.plot.impl">Label</a>&nbsp;theLabel)</pre>
<div class="block">Add the given label to this XY plot. When this XY plot is drawn, the
labels are drawn after the plot series, and the labels are drawn in the
order they were added; that is, last added label on top.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theLabel</code> - Label.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>theLabel</TT> is null.</dd></dl>
</li>
</ul>
<a name="draw(java.awt.Graphics2D)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>draw</h4>
<pre>public&nbsp;void&nbsp;draw(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</a>&nbsp;g2d)</pre>
<div class="block">Draw this drawable object in the given graphics context. Upon return from
this method, the given graphics context's state (color, font, transform,
clip, and so on) is the same as it was upon entry to this method.
<P>
This XY plot is drawn so that the upper left corner (including the
margins) is located at the display coordinates (0, 0) in the graphics
context.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../edu/rit/swing/Drawable.html#draw(java.awt.Graphics2D)">draw</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../edu/rit/swing/Drawable.html" title="interface in edu.rit.swing">Drawable</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>g2d</code> - 2-D graphics context.</dd></dl>
</li>
</ul>
<a name="getBoundingBox()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBoundingBox</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/geom/Rectangle2D.html?is-external=true" title="class or interface in java.awt.geom">Rectangle2D</a>&nbsp;getBoundingBox()</pre>
<div class="block">Returns this displayable object's bounding box. This is the smallest
rectangle that encloses all of this displayable object.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../edu/rit/swing/Displayable.html#getBoundingBox()">getBoundingBox</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../edu/rit/swing/Displayable.html" title="interface in edu.rit.swing">Displayable</a></code></dd>
</dl>
</li>
</ul>
<a name="getBackgroundPaint()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getBackgroundPaint</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Paint.html?is-external=true" title="class or interface in java.awt">Paint</a>&nbsp;getBackgroundPaint()</pre>
<div class="block">Returns this displayable object's background paint.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../edu/rit/swing/Displayable.html#getBackgroundPaint()">getBackgroundPaint</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../edu/rit/swing/Displayable.html" title="interface in edu.rit.swing">Displayable</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XYPlot.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../edu/rit/numeric/plot/impl/Ticks.html" title="class in edu.rit.numeric.plot.impl"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../edu/rit/numeric/plot/impl/XYPlotSeries.html" title="class in edu.rit.numeric.plot.impl"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?edu/rit/numeric/plot/impl/XYPlot.html" target="_top">Frames</a></li>
<li><a href="XYPlot.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><FONT SIZE="-2">Copyright &copy; 2013&ndash;2016 by Alan Kaminsky. All rights reserved. Send comments to ark</FONT><FONT SIZE="1" COLOR="#FFFFFF">&shy;</FONT><FONT SIZE="-2">&#64;</FONT><FONT SIZE="1" COLOR="#FFFFFF">&shy;</FONT><FONT SIZE="-2">cs.rit.edu.</FONT></small></p>
</body>
</html>