717 lines
35 KiB
HTML
717 lines
35 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>PlotSeries (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="PlotSeries (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/PlotSeries.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/NumericalAxis.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/SegmentedPlotSeries.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/PlotSeries.html" target="_top">Frames</a></li>
|
|
<li><a href="PlotSeries.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: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field_summary">Field</a> | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field_detail">Field</a> | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </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 PlotSeries" class="title">Class PlotSeries</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.PlotSeries</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
|
|
</dl>
|
|
<dl>
|
|
<dt>Direct Known Subclasses:</dt>
|
|
<dd><a href="../../../../../edu/rit/numeric/plot/impl/SegmentedPlotSeries.html" title="class in edu.rit.numeric.plot.impl">SegmentedPlotSeries</a>, <a href="../../../../../edu/rit/numeric/plot/impl/XYPlotSeries.html" title="class in edu.rit.numeric.plot.impl">XYPlotSeries</a></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public abstract class <span class="strong">PlotSeries</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="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a></pre>
|
|
<div class="block">Class PlotSeries is the abstract base class for a plot series for an
|
|
<a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html" title="class in edu.rit.numeric.plot.impl">XYPlot</a>.
|
|
<P>
|
|
Class PlotSeries provides operations to tell where to plot data points as
|
|
well as which <a href="../../../../../edu/rit/swing/Drawable.html" title="interface in edu.rit.swing">Drawable</a> object to use to
|
|
plot the points. Class <a href="../../../../../edu/rit/numeric/plot/Dots.html" title="class in edu.rit.numeric.plot">Dots</a> provides
|
|
several shapes of drawable objects for plotting data points.
|
|
<P>
|
|
Class PlotSeries provides operations to tell where to plot line segments as
|
|
well as which stroke and color objects to use to plot the line segments.
|
|
Class <a href="../../../../../edu/rit/numeric/plot/Strokes.html" title="class in edu.rit.numeric.plot">Strokes</a> provides several
|
|
kinds of strokes for drawing lines.
|
|
<P>
|
|
Class PlotSeries provides an operation to tell whether to plot a smooth curve
|
|
instead of straight line segments.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#edu.rit.numeric.plot.impl.PlotSeries">Serialized Form</a></dd></dl>
|
|
</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"> </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>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#myColor">myColor</a></strong></code>
|
|
<div class="block">Color for drawing line segments.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected <a href="../../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#myDataSeries">myDataSeries</a></strong></code>
|
|
<div class="block">Data series.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="../../../../../edu/rit/numeric/plot/Dots.html" title="class in edu.rit.numeric.plot">Dots</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#myDots">myDots</a></strong></code>
|
|
<div class="block">Drawable object for plotting data points.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#mySmooth">mySmooth</a></strong></code>
|
|
<div class="block">True to plot a smooth curve, false to plot straight line segments.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/awt/BasicStroke.html?is-external=true" title="class or interface in java.awt">BasicStroke</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#myStroke">myStroke</a></strong></code>
|
|
<div class="block">Stroke for drawing line segments.</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"> </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/PlotSeries.html#PlotSeries()">PlotSeries</a></strong>()</code>
|
|
<div class="block">Construct a new plot series.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#PlotSeries(edu.rit.numeric.XYSeries, edu.rit.numeric.plot.Dots, java.awt.BasicStroke, java.awt.Color, boolean)">PlotSeries</a></strong>(<a href="../../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a> theDataSeries,
|
|
<a href="../../../../../edu/rit/numeric/plot/Dots.html" title="class in edu.rit.numeric.plot">Dots</a> theDots,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/BasicStroke.html?is-external=true" title="class or interface in java.awt">BasicStroke</a> theStroke,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</a> theColor,
|
|
boolean isSmooth)</code>
|
|
<div class="block">Construct a new plot series.</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"> </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><a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getColor()">getColor</a></strong>()</code>
|
|
<div class="block">Returns the color for drawing line segments for this plot series.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getDataSeries()">getDataSeries</a></strong>()</code>
|
|
<div class="block">Returns the data series for this plot series.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>abstract int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getDotCount()">getDotCount</a></strong>()</code>
|
|
<div class="block">Returns the number of dots to be plotted.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../../edu/rit/numeric/plot/Dots.html" title="class in edu.rit.numeric.plot">Dots</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getDots()">getDots</a></strong>()</code>
|
|
<div class="block">Returns the drawable object for plotting data points for this XY plot
|
|
series.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>abstract double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getDotX(int)">getDotX</a></strong>(int i)</code>
|
|
<div class="block">Returns the X coordinate of the given dot.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>abstract double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getDotY(int)">getDotY</a></strong>(int i)</code>
|
|
<div class="block">Returns the Y coordinate of the given dot.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>abstract int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getLineCount()">getLineCount</a></strong>()</code>
|
|
<div class="block">Returns the number of line segments to be plotted.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>abstract double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getLineX1(int)">getLineX1</a></strong>(int i)</code>
|
|
<div class="block">Returns the starting X coordinate of the given line segment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>abstract double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getLineX2(int)">getLineX2</a></strong>(int i)</code>
|
|
<div class="block">Returns the ending X coordinate of the given line segment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>abstract double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getLineY1(int)">getLineY1</a></strong>(int i)</code>
|
|
<div class="block">Returns the starting Y coordinate of the given line segment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>abstract double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getLineY2(int)">getLineY2</a></strong>(int i)</code>
|
|
<div class="block">Returns the ending Y coordinate of the given line segment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/awt/BasicStroke.html?is-external=true" title="class or interface in java.awt">BasicStroke</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getStroke()">getStroke</a></strong>()</code>
|
|
<div class="block">Returns the stroke for drawing line segments for this plot series.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#isSmooth()">isSmooth</a></strong>()</code>
|
|
<div class="block">Determine whether to plot a smooth curve or straight line segments.</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/PlotSeries.html#readExternal(java.io.ObjectInput)">readExternal</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io">ObjectInput</a> in)</code>
|
|
<div class="block">Read this plot series from the given object input stream.</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/PlotSeries.html#writeExternal(java.io.ObjectOutput)">writeExternal</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io">ObjectOutput</a> out)</code>
|
|
<div class="block">Write this plot series to the given object output stream.</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 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="myDataSeries">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>myDataSeries</h4>
|
|
<pre>protected <a href="../../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a> myDataSeries</pre>
|
|
<div class="block">Data series.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="myDots">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>myDots</h4>
|
|
<pre>protected <a href="../../../../../edu/rit/numeric/plot/Dots.html" title="class in edu.rit.numeric.plot">Dots</a> myDots</pre>
|
|
<div class="block">Drawable object for plotting data points.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="myStroke">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>myStroke</h4>
|
|
<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/awt/BasicStroke.html?is-external=true" title="class or interface in java.awt">BasicStroke</a> myStroke</pre>
|
|
<div class="block">Stroke for drawing line segments.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="myColor">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>myColor</h4>
|
|
<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</a> myColor</pre>
|
|
<div class="block">Color for drawing line segments.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="mySmooth">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>mySmooth</h4>
|
|
<pre>protected boolean mySmooth</pre>
|
|
<div class="block">True to plot a smooth curve, false to plot straight line segments.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="PlotSeries()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>PlotSeries</h4>
|
|
<pre>public PlotSeries()</pre>
|
|
<div class="block">Construct a new plot series. This constructor is intended for use only by
|
|
object deserialization.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="PlotSeries(edu.rit.numeric.XYSeries, edu.rit.numeric.plot.Dots, java.awt.BasicStroke, java.awt.Color, boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>PlotSeries</h4>
|
|
<pre>public PlotSeries(<a href="../../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a> theDataSeries,
|
|
<a href="../../../../../edu/rit/numeric/plot/Dots.html" title="class in edu.rit.numeric.plot">Dots</a> theDots,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/BasicStroke.html?is-external=true" title="class or interface in java.awt">BasicStroke</a> theStroke,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</a> theColor,
|
|
boolean isSmooth)</pre>
|
|
<div class="block">Construct a new plot series. Dots are plotted on the data points using
|
|
the given drawable object. Line segments are drawn using the given stroke
|
|
and color.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theDataSeries</code> - Data series.</dd><dd><code>theDots</code> - Drawable object for plotting data points. If null, dots are not
|
|
plotted on the data points.</dd><dd><code>theStroke</code> - Stroke for drawing line segments. If null, line segments are not
|
|
drawn.</dd><dd><code>theColor</code> - Color for drawing line segments. If null, line segments are not
|
|
drawn.</dd><dd><code>isSmooth</code> - True to plot a smooth curve, false to plot straight line segments.</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>theDataSeries</TT> is null.</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="getDataSeries()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDataSeries</h4>
|
|
<pre>public <a href="../../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a> getDataSeries()</pre>
|
|
<div class="block">Returns the data series for this plot series.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getDots()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDots</h4>
|
|
<pre>public <a href="../../../../../edu/rit/numeric/plot/Dots.html" title="class in edu.rit.numeric.plot">Dots</a> getDots()</pre>
|
|
<div class="block">Returns the drawable object for plotting data points for this XY plot
|
|
series. If dots are not to be plotted, null is returned.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getStroke()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getStroke</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/awt/BasicStroke.html?is-external=true" title="class or interface in java.awt">BasicStroke</a> getStroke()</pre>
|
|
<div class="block">Returns the stroke for drawing line segments for this plot series. If
|
|
line segments are not to be drawn, null is returned.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getColor()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getColor</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</a> getColor()</pre>
|
|
<div class="block">Returns the color for drawing line segments for this plot series. If line
|
|
segments are not to be drawn, null is returned.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isSmooth()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isSmooth</h4>
|
|
<pre>public boolean isSmooth()</pre>
|
|
<div class="block">Determine whether to plot a smooth curve or straight line segments.</div>
|
|
<dl><dt><span class="strong">Returns:</span></dt><dd>True to plot a smooth curve, false to plot straight line
|
|
segments.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getDotCount()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDotCount</h4>
|
|
<pre>public abstract int getDotCount()</pre>
|
|
<div class="block">Returns the number of dots to be plotted.
|
|
<P>
|
|
This method must be overridden in a subclass.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getDotX(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDotX</h4>
|
|
<pre>public abstract double getDotX(int i)</pre>
|
|
<div class="block">Returns the X coordinate of the given dot.
|
|
<P>
|
|
This method must be overridden in a subclass.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - Dot index.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>X coordinate.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>i</TT> is not in the range 0 ..
|
|
<TT>getDotCount()-1</TT>.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getDotY(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDotY</h4>
|
|
<pre>public abstract double getDotY(int i)</pre>
|
|
<div class="block">Returns the Y coordinate of the given dot.
|
|
<P>
|
|
This method must be overridden in a subclass.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - Dot index.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Y coordinate.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>i</TT> is not in the range 0 ..
|
|
<TT>getDotCount()-1</TT>.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLineCount()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLineCount</h4>
|
|
<pre>public abstract int getLineCount()</pre>
|
|
<div class="block">Returns the number of line segments to be plotted.
|
|
<P>
|
|
This method must be overridden in a subclass.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getLineX1(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLineX1</h4>
|
|
<pre>public abstract double getLineX1(int i)</pre>
|
|
<div class="block">Returns the starting X coordinate of the given line segment.
|
|
<P>
|
|
This method must be overridden in a subclass.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - Line segment index.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Starting X coordinate.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>i</TT> is not in the range 0 ..
|
|
<TT>getLineCount()-1</TT>.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLineY1(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLineY1</h4>
|
|
<pre>public abstract double getLineY1(int i)</pre>
|
|
<div class="block">Returns the starting Y coordinate of the given line segment.
|
|
<P>
|
|
This method must be overridden in a subclass.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - Line segment index.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Starting Y coordinate.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>i</TT> is not in the range 0 ..
|
|
<TT>getLineCount()-1</TT>.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLineX2(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLineX2</h4>
|
|
<pre>public abstract double getLineX2(int i)</pre>
|
|
<div class="block">Returns the ending X coordinate of the given line segment.
|
|
<P>
|
|
This method must be overridden in a subclass.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - Line segment index.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Ending X coordinate.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>i</TT> is not in the range 0 ..
|
|
<TT>getLineCount()-1</TT>.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLineY2(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLineY2</h4>
|
|
<pre>public abstract double getLineY2(int i)</pre>
|
|
<div class="block">Returns the ending Y coordinate of the given line segment.
|
|
<P>
|
|
This method must be overridden in a subclass.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - Line segment index.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Ending Y coordinate.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>i</TT> is not in the range 0 ..
|
|
<TT>getLineCount()-1</TT>.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeExternal(java.io.ObjectOutput)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeExternal</h4>
|
|
<pre>public void writeExternal(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io">ObjectOutput</a> out)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write this plot series to the given object output stream.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true#writeExternal(java.io.ObjectOutput)" title="class or interface in java.io">writeExternal</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - Object output stream.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="readExternal(java.io.ObjectInput)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>readExternal</h4>
|
|
<pre>public void readExternal(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io">ObjectInput</a> in)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></pre>
|
|
<div class="block">Read this plot series from the given object input stream.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true#readExternal(java.io.ObjectInput)" title="class or interface in java.io">readExternal</a></code> in interface <code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io">Externalizable</a></code></dd>
|
|
<dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - Object input stream.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code> - Thrown if a class needed to deserialize this plot series was not
|
|
found.</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/PlotSeries.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/NumericalAxis.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/SegmentedPlotSeries.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/PlotSeries.html" target="_top">Frames</a></li>
|
|
<li><a href="PlotSeries.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: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field_summary">Field</a> | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field_detail">Field</a> | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </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 © 2013–2016 by Alan Kaminsky. All rights reserved. Send comments to ark</FONT><FONT SIZE="1" COLOR="#FFFFFF">­</FONT><FONT SIZE="-2">@</FONT><FONT SIZE="1" COLOR="#FFFFFF">­</FONT><FONT SIZE="-2">cs.rit.edu.</FONT></small></p>
|
|
</body>
|
|
</html>
|