564 lines
32 KiB
HTML
564 lines
32 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>SegmentedPlotSeries (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="SegmentedPlotSeries (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/SegmentedPlotSeries.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/PlotSeries.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/Ticks.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/SegmentedPlotSeries.html" target="_top">Frames</a></li>
|
|
<li><a href="SegmentedPlotSeries.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="#fields_inherited_from_class_edu.rit.numeric.plot.impl.PlotSeries">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>Field | </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 SegmentedPlotSeries" class="title">Class SegmentedPlotSeries</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><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">edu.rit.numeric.plot.impl.PlotSeries</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>edu.rit.numeric.plot.impl.SegmentedPlotSeries</li>
|
|
</ul>
|
|
</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>
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="strong">SegmentedPlotSeries</span>
|
|
extends <a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a></pre>
|
|
<div class="block">Class SegmentedPlotSeries provides a plot series for an <a href="../../../../../edu/rit/numeric/plot/impl/XYPlot.html" title="class in edu.rit.numeric.plot.impl">XYPlot</a>.
|
|
An <a href="../../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a> specifies the data points
|
|
to be plotted. The data points are divided into pairs. Each pair of data
|
|
points specifies the starting and ending coordinates of a line segment. A dot
|
|
is drawn at each endpoint of each line segment. A line segment's starting
|
|
coordinates need not be the same as the previous line segment's ending
|
|
coordinates. If the data series has an odd number of data points, the last
|
|
data point is ignored.
|
|
<P>
|
|
Class SegmentedPlotSeries 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 SegmentedPlotSeries 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.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#edu.rit.numeric.plot.impl.SegmentedPlotSeries">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>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="fields_inherited_from_class_edu.rit.numeric.plot.impl.PlotSeries">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class edu.rit.numeric.plot.impl.<a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a></h3>
|
|
<code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#myColor">myColor</a>, <a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#myDataSeries">myDataSeries</a>, <a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#myDots">myDots</a>, <a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#mySmooth">mySmooth</a>, <a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#myStroke">myStroke</a></code></li>
|
|
</ul>
|
|
</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/SegmentedPlotSeries.html#SegmentedPlotSeries()">SegmentedPlotSeries</a></strong>()</code>
|
|
<div class="block">Construct a new segmented plot series.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/SegmentedPlotSeries.html#SegmentedPlotSeries(edu.rit.numeric.XYSeries, java.awt.BasicStroke, java.awt.Color)">SegmentedPlotSeries</a></strong>(<a href="../../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a> theDataSeries,
|
|
<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)</code>
|
|
<div class="block">Construct a new segmented plot series.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/SegmentedPlotSeries.html#SegmentedPlotSeries(edu.rit.numeric.XYSeries, edu.rit.numeric.plot.Dots)">SegmentedPlotSeries</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)</code>
|
|
<div class="block">Construct a new segmented plot series.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/SegmentedPlotSeries.html#SegmentedPlotSeries(edu.rit.numeric.XYSeries, edu.rit.numeric.plot.Dots, java.awt.BasicStroke, java.awt.Color)">SegmentedPlotSeries</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)</code>
|
|
<div class="block">Construct a new segmented 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>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/SegmentedPlotSeries.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>double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/SegmentedPlotSeries.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="altColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/SegmentedPlotSeries.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="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/SegmentedPlotSeries.html#getLineCount()">getLineCount</a></strong>()</code>
|
|
<div class="block">Returns the number of line segments to be plotted.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/SegmentedPlotSeries.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="rowColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/SegmentedPlotSeries.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="altColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/SegmentedPlotSeries.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="rowColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../../edu/rit/numeric/plot/impl/SegmentedPlotSeries.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>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_edu.rit.numeric.plot.impl.PlotSeries">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class edu.rit.numeric.plot.impl.<a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a></h3>
|
|
<code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getColor()">getColor</a>, <a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getDataSeries()">getDataSeries</a>, <a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getDots()">getDots</a>, <a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getStroke()">getStroke</a>, <a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#isSmooth()">isSmooth</a>, <a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#readExternal(java.io.ObjectInput)">readExternal</a>, <a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#writeExternal(java.io.ObjectOutput)">writeExternal</a></code></li>
|
|
</ul>
|
|
<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">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="SegmentedPlotSeries()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>SegmentedPlotSeries</h4>
|
|
<pre>public SegmentedPlotSeries()</pre>
|
|
<div class="block">Construct a new segmented plot series. This constructor is intended for
|
|
use only by object deserialization.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="SegmentedPlotSeries(edu.rit.numeric.XYSeries, edu.rit.numeric.plot.Dots)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>SegmentedPlotSeries</h4>
|
|
<pre>public SegmentedPlotSeries(<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)</pre>
|
|
<div class="block">Construct a new segmented plot series. The given data series contains the
|
|
data points to be plotted. Dots are plotted on the data points using the
|
|
given drawable object. Lines are not drawn between data points.</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>
|
|
<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>
|
|
<a name="SegmentedPlotSeries(edu.rit.numeric.XYSeries, java.awt.BasicStroke, java.awt.Color)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>SegmentedPlotSeries</h4>
|
|
<pre>public SegmentedPlotSeries(<a href="../../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a> theDataSeries,
|
|
<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)</pre>
|
|
<div class="block">Construct a new segmented plot series. The given data series contains the
|
|
data points to be plotted. No dots are plotted on the data points. Lines
|
|
are drawn between data points using the given stroke and color.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theDataSeries</code> - Data series.</dd><dd><code>theStroke</code> - Stroke for drawing lines between data points. If null, lines are not
|
|
drawn between data points.</dd><dd><code>theColor</code> - Color for drawing lines between data points. If null, lines are not
|
|
drawn between data points.</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>
|
|
<a name="SegmentedPlotSeries(edu.rit.numeric.XYSeries, edu.rit.numeric.plot.Dots, java.awt.BasicStroke, java.awt.Color)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>SegmentedPlotSeries</h4>
|
|
<pre>public SegmentedPlotSeries(<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)</pre>
|
|
<div class="block">Construct a new segmented plot series. The given data series contains the
|
|
data points to be plotted. Dots are plotted on the data points using the
|
|
given drawable object. Lines are drawn between data points 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 lines between data points. If null, lines are not
|
|
drawn between data points.</dd><dd><code>theColor</code> - Color for drawing lines between data points. If null, lines are not
|
|
drawn between data points.</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="getDotCount()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDotCount</h4>
|
|
<pre>public int getDotCount()</pre>
|
|
<div class="block">Returns the number of dots to be plotted.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getDotCount()">getDotCount</a></code> in class <code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getDotX(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDotX</h4>
|
|
<pre>public double getDotX(int i)</pre>
|
|
<div class="block">Returns the X coordinate of the given dot.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getDotX(int)">getDotX</a></code> in class <code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a></code></dd>
|
|
<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 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><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getDotY(int)">getDotY</a></code> in class <code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a></code></dd>
|
|
<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 int getLineCount()</pre>
|
|
<div class="block">Returns the number of line segments to be plotted.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getLineCount()">getLineCount</a></code> in class <code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLineX1(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLineX1</h4>
|
|
<pre>public double getLineX1(int i)</pre>
|
|
<div class="block">Returns the starting X coordinate of the given line segment.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getLineX1(int)">getLineX1</a></code> in class <code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a></code></dd>
|
|
<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 double getLineY1(int i)</pre>
|
|
<div class="block">Returns the starting Y coordinate of the given line segment.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getLineY1(int)">getLineY1</a></code> in class <code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a></code></dd>
|
|
<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 double getLineX2(int i)</pre>
|
|
<div class="block">Returns the ending X coordinate of the given line segment.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getLineX2(int)">getLineX2</a></code> in class <code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a></code></dd>
|
|
<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="blockListLast">
|
|
<li class="blockList">
|
|
<h4>getLineY2</h4>
|
|
<pre>public double getLineY2(int i)</pre>
|
|
<div class="block">Returns the ending Y coordinate of the given line segment.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html#getLineY2(int)">getLineY2</a></code> in class <code><a href="../../../../../edu/rit/numeric/plot/impl/PlotSeries.html" title="class in edu.rit.numeric.plot.impl">PlotSeries</a></code></dd>
|
|
<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>
|
|
</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/SegmentedPlotSeries.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/PlotSeries.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/Ticks.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/SegmentedPlotSeries.html" target="_top">Frames</a></li>
|
|
<li><a href="SegmentedPlotSeries.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="#fields_inherited_from_class_edu.rit.numeric.plot.impl.PlotSeries">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>Field | </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>
|