2208 lines
126 KiB
HTML
2208 lines
126 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>Plot (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="Plot (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/Plot.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/Dots.html" title="class in edu.rit.numeric.plot"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../edu/rit/numeric/plot/Plot.AxisKind.html" title="enum in edu.rit.numeric.plot"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?edu/rit/numeric/plot/Plot.html" target="_top">Frames</a></li>
|
|
<li><a href="Plot.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><a href="#nested_class_summary">Nested</a> | </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</div>
|
|
<h2 title="Class Plot" class="title">Class Plot</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.Plot</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>, <a href="../../../../edu/rit/swing/Viewable.html" title="interface in edu.rit.swing">Viewable</a>, <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">Plot</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/Viewable.html" title="interface in edu.rit.swing">Viewable</a>, <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 Plot is a class for creating and displaying a plot.
|
|
<P>
|
|
To create a plot, construct an instance of class Plot, and call the desired
|
|
methods to specify attributes of the plot and to provide the data to be
|
|
plotted.
|
|
<P>
|
|
To display a plot, call the <TT>getFrame()</TT> method to get a <a href="../../../../edu/rit/swing/DisplayableFrame.html" title="class in edu.rit.swing">DisplayableFrame</a> that displays the plot in a window, then call the frame's
|
|
<TT>setVisible(true)</TT> method. The frame has menus for zooming the
|
|
display, for changing the plot's attributes (title, margins, grid, X axis, Y
|
|
axis, etc.), and for saving the plot in a PNG or PostScript file.
|
|
<P>
|
|
If the plot's attributes are changed after displaying the frame, call the
|
|
frame's <TT>display()</TT> method, passing in a reference to the plot object.
|
|
If the data in the plot's X-Y series are changed after displaying the frame,
|
|
but the plot's attributes are not changed, call the frame's
|
|
<TT>repaint()</TT> method.
|
|
<P>
|
|
A Plot object can be written (serialized) into a file. The <a href="../../../../View.html" title="class in <Unnamed>">View</a>
|
|
program can be used to display the file.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#edu.rit.numeric.plot.Plot">Serialized Form</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="nested_class_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested Class Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
|
|
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Class and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static class </code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.AxisKind.html" title="enum in edu.rit.numeric.plot">Plot.AxisKind</a></strong></code>
|
|
<div class="block">Enum Plot.AxisKind enumerates the possible kinds of axis on a <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a>.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- =========== 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>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#ABOVE">ABOVE</a></strong></code>
|
|
<div class="block">The label is positioned above its location.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#ABOVE_LEFT">ABOVE_LEFT</a></strong></code>
|
|
<div class="block">The label is positioned above and to the left of its location.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#ABOVE_RIGHT">ABOVE_RIGHT</a></strong></code>
|
|
<div class="block">The label is positioned above and to the right of its location.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#BELOW">BELOW</a></strong></code>
|
|
<div class="block">The label is positioned below its location.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#BELOW_LEFT">BELOW_LEFT</a></strong></code>
|
|
<div class="block">The label is positioned below and to the left of its location.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#BELOW_RIGHT">BELOW_RIGHT</a></strong></code>
|
|
<div class="block">The label is positioned below and to the right of its location.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#CENTER">CENTER</a></strong></code>
|
|
<div class="block">The label is centered on its location.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#LEFT">LEFT</a></strong></code>
|
|
<div class="block">The label is positioned to the left of its location.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../../edu/rit/numeric/plot/Plot.AxisKind.html" title="enum in edu.rit.numeric.plot">Plot.AxisKind</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#LINEAR">LINEAR</a></strong></code>
|
|
<div class="block">Linear axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../../edu/rit/numeric/plot/Plot.AxisKind.html" title="enum in edu.rit.numeric.plot">Plot.AxisKind</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#LOGARITHMIC">LOGARITHMIC</a></strong></code>
|
|
<div class="block">Logarithmic axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#PIXEL_COORDINATES">PIXEL_COORDINATES</a></strong></code>
|
|
<div class="block">The label's location is specified in pixel coordinates relative to the
|
|
lower left corner of the plot area, rather than in plot coordinates.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#RIGHT">RIGHT</a></strong></code>
|
|
<div class="block">The label is positioned to the right of its location.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#ROTATE_AROUND">ROTATE_AROUND</a></strong></code>
|
|
<div class="block">The label is rotated 180 degrees around.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#ROTATE_LEFT">ROTATE_LEFT</a></strong></code>
|
|
<div class="block">The label is rotated 90 degrees left (counterclockwise).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#ROTATE_RIGHT">ROTATE_RIGHT</a></strong></code>
|
|
<div class="block">The label is rotated 90 degrees right (clockwise).</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/Plot.html#Plot()">Plot</a></strong>()</code>
|
|
<div class="block">Construct a new plot.</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="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#bottomMargin(double)">bottomMargin</a></strong>(double theMargin)</code>
|
|
<div class="block">Set the bottom margin for the 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/Plot.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> g2d)</code>
|
|
<div class="block">Draw this drawable object in the given graphics context.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#frameTitle(java.lang.String)">frameTitle</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theTitle)</code>
|
|
<div class="block">Set the title for the frame that displays the plot.</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/Plot.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/Plot.html#getBoundingBox()">getBoundingBox</a></strong>()</code>
|
|
<div class="block">Returns this displayable object's bounding box.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/swing/DisplayableFrame.html" title="class in edu.rit.swing">DisplayableFrame</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#getFrame()">getFrame</a></strong>()</code>
|
|
<div class="block">Get a displayable frame in which to view this viewable object.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#getTitle()">getTitle</a></strong>()</code>
|
|
<div class="block">Get the title for the frame used to view this viewable object.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#label(java.lang.String, double, double)">label</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> text,
|
|
double x,
|
|
double y)</code>
|
|
<div class="block">Add a label to this plot.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#labelBackground(java.awt.Color)">labelBackground</a></strong>(<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">Set the color to use for label backgrounds.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#labelColor(java.awt.Color)">labelColor</a></strong>(<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">Set the color to use for labels.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#labelFont(java.awt.Font)">labelFont</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</a> theFont)</code>
|
|
<div class="block">Set the font to use for labels.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#labelOffset(double)">labelOffset</a></strong>(double theOffset)</code>
|
|
<div class="block">Set the offset to use for labels.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#labelPosition(int)">labelPosition</a></strong>(int thePosition)</code>
|
|
<div class="block">Set the positioning to use for labels.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#leftMargin(double)">leftMargin</a></strong>(double theMargin)</code>
|
|
<div class="block">Set the left margin for the plot.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#majorGridLines(boolean)">majorGridLines</a></strong>(boolean theGridLines)</code>
|
|
<div class="block">Specify whether major division grid lines are drawn on the plot.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#margins(double)">margins</a></strong>(double theMargin)</code>
|
|
<div class="block">Set the margins for the plot.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#minorGridLines(boolean)">minorGridLines</a></strong>(boolean theGridLines)</code>
|
|
<div class="block">Specify whether minor division grid lines are drawn on the plot.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#plotTitle(java.lang.String)">plotTitle</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theTitle)</code>
|
|
<div class="block">Set the title for the plot.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#plotTitleFont(java.awt.Font)">plotTitleFont</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</a> theTitleFont)</code>
|
|
<div class="block">Set the title font for the plot.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#plotTitleOffset(double)">plotTitleOffset</a></strong>(double theTitleOffset)</code>
|
|
<div class="block">Set the offset from the plot area to the title for the plot.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#read(java.io.File)">read</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> theFile)</code>
|
|
<div class="block">Read a plot from the given file.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#read(java.lang.String)">read</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theFileName)</code>
|
|
<div class="block">Read a plot from the file with the given name.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.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 from the given object input stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#rightMargin(double)">rightMargin</a></strong>(double theMargin)</code>
|
|
<div class="block">Set the right margin for the plot.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#segmentedSeries(double...)">segmentedSeries</a></strong>(double... theData)</code>
|
|
<div class="block">Add a segmented data series to this plot with data points taken from the
|
|
arguments.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#segmentedSeries(double[], double[])">segmentedSeries</a></strong>(double[] theXArray,
|
|
double[] theYArray)</code>
|
|
<div class="block">Add a segmented data series to this plot with data points taken from the
|
|
two arrays.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#segmentedSeries(java.io.File)">segmentedSeries</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> theFile)</code>
|
|
<div class="block">Add a segmented data series to this plot with data points read from the
|
|
given file.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#segmentedSeries(java.io.InputStream)">segmentedSeries</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> theInputStream)</code>
|
|
<div class="block">Add a segmented data series to this plot with data points read from the
|
|
given input stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#segmentedSeries(java.util.Scanner)">segmentedSeries</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Scanner.html?is-external=true" title="class or interface in java.util">Scanner</a> theScanner)</code>
|
|
<div class="block">Add a segmented data series to this plot with data points read from the
|
|
given scanner.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#segmentedSeries(java.lang.String)">segmentedSeries</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theFileName)</code>
|
|
<div class="block">Add a segmented data series to this plot with data points read from the
|
|
file with the given name.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#segmentedSeries(edu.rit.numeric.XYSeries)">segmentedSeries</a></strong>(<a href="../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a> theXYSeries)</code>
|
|
<div class="block">Add a segmented data series to this plot with data points taken from the
|
|
given <a href="../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#seriesColor(java.awt.Color)">seriesColor</a></strong>(<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">Set the color to use for line segments when plotting a data series.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#seriesDots(edu.rit.numeric.plot.Dots)">seriesDots</a></strong>(<a href="../../../../edu/rit/numeric/plot/Dots.html" title="class in edu.rit.numeric.plot">Dots</a> theDots)</code>
|
|
<div class="block">Set the dots to use when plotting a data series.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#seriesSmooth(boolean)">seriesSmooth</a></strong>(boolean isSmooth)</code>
|
|
<div class="block">Specify whether to draw a smooth curve when plotting a data series.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#seriesStroke(java.awt.BasicStroke)">seriesStroke</a></strong>(<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)</code>
|
|
<div class="block">Set the stroke to use for line segments when plotting a data series.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#topMargin(double)">topMargin</a></strong>(double theMargin)</code>
|
|
<div class="block">Set the top margin for the plot.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#write(edu.rit.numeric.plot.Plot, java.io.File)">write</a></strong>(<a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> thePlot,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> theFile)</code>
|
|
<div class="block">Write the given plot to the given file.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#write(edu.rit.numeric.plot.Plot, java.lang.String)">write</a></strong>(<a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> thePlot,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theFileName)</code>
|
|
<div class="block">Write the given plot to the file with the given name.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.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 to the given object output stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xAxisCrossing(double)">xAxisCrossing</a></strong>(double theCrossing)</code>
|
|
<div class="block">Set the perpendicular axis crossing value for the X axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xAxisEnd(double)">xAxisEnd</a></strong>(double theEnd)</code>
|
|
<div class="block">Set the ending value for the X axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xAxisKind(edu.rit.numeric.plot.Plot.AxisKind)">xAxisKind</a></strong>(<a href="../../../../edu/rit/numeric/plot/Plot.AxisKind.html" title="enum in edu.rit.numeric.plot">Plot.AxisKind</a> theKind)</code>
|
|
<div class="block">Set the kind of axis for the X axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xAxisLength(double)">xAxisLength</a></strong>(double theLength)</code>
|
|
<div class="block">Set the length of the X axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xAxisMajorDivisions(int)">xAxisMajorDivisions</a></strong>(int theMajorDivisions)</code>
|
|
<div class="block">Set the number of major divisions for the X axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xAxisMinorDivisions(int)">xAxisMinorDivisions</a></strong>(int theMinorDivisions)</code>
|
|
<div class="block">Set the number of minor divisions <I>per major division</I> for the X
|
|
axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xAxisStart(double)">xAxisStart</a></strong>(double theStart)</code>
|
|
<div class="block">Set the starting value for the X axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xAxisTickFont(java.awt.Font)">xAxisTickFont</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</a> theTickFont)</code>
|
|
<div class="block">Set the tick label font for the X axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xAxisTickFormat(java.text.DecimalFormat)">xAxisTickFormat</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html?is-external=true" title="class or interface in java.text">DecimalFormat</a> theTickFormat)</code>
|
|
<div class="block">Set the tick label format for the X axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xAxisTickScale(double)">xAxisTickScale</a></strong>(double theTickScale)</code>
|
|
<div class="block">Set the tick label scale factor for the X axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xAxisTitle(java.lang.String)">xAxisTitle</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theTitle)</code>
|
|
<div class="block">Set the title for the X axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xAxisTitleFont(java.awt.Font)">xAxisTitleFont</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</a> theTitleFont)</code>
|
|
<div class="block">Set the title font for the X axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xAxisTitleOffset(double)">xAxisTitleOffset</a></strong>(double theTitleOffset)</code>
|
|
<div class="block">Set the offset from the axis to the title for the X axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xySeries(double...)">xySeries</a></strong>(double... theData)</code>
|
|
<div class="block">Add an X-Y data series to this plot with data points taken from the
|
|
arguments.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xySeries(double[], double[])">xySeries</a></strong>(double[] theXArray,
|
|
double[] theYArray)</code>
|
|
<div class="block">Add an X-Y data series to this plot with data points taken from the two
|
|
arrays.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xySeries(java.io.File)">xySeries</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> theFile)</code>
|
|
<div class="block">Add an X-Y data series to this plot with data points read from the given
|
|
file.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xySeries(java.io.InputStream)">xySeries</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> theInputStream)</code>
|
|
<div class="block">Add an X-Y data series to this plot with data points read from the given
|
|
input stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xySeries(java.util.Scanner)">xySeries</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Scanner.html?is-external=true" title="class or interface in java.util">Scanner</a> theScanner)</code>
|
|
<div class="block">Add an X-Y data series to this plot with data points read from the given
|
|
scanner.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xySeries(java.lang.String)">xySeries</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theFileName)</code>
|
|
<div class="block">Add an X-Y data series to this plot with data points read from the file
|
|
with the given name.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#xySeries(edu.rit.numeric.XYSeries)">xySeries</a></strong>(<a href="../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a> theXYSeries)</code>
|
|
<div class="block">Add an X-Y data series to this plot with data points taken from the given
|
|
<a href="../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#yAxisCrossing(double)">yAxisCrossing</a></strong>(double theCrossing)</code>
|
|
<div class="block">Set the perpendicular axis crossing value for the Y axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#yAxisEnd(double)">yAxisEnd</a></strong>(double theEnd)</code>
|
|
<div class="block">Set the ending value for the Y axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#yAxisKind(edu.rit.numeric.plot.Plot.AxisKind)">yAxisKind</a></strong>(<a href="../../../../edu/rit/numeric/plot/Plot.AxisKind.html" title="enum in edu.rit.numeric.plot">Plot.AxisKind</a> theKind)</code>
|
|
<div class="block">Set the kind of axis for the Y axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#yAxisLength(double)">yAxisLength</a></strong>(double theLength)</code>
|
|
<div class="block">Set the length of the Y axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#yAxisMajorDivisions(int)">yAxisMajorDivisions</a></strong>(int theMajorDivisions)</code>
|
|
<div class="block">Set the number of major divisions for the Y axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#yAxisMinorDivisions(int)">yAxisMinorDivisions</a></strong>(int theMinorDivisions)</code>
|
|
<div class="block">Set the number of minor divisions <I>per major division</I> for the X
|
|
axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#yAxisStart(double)">yAxisStart</a></strong>(double theStart)</code>
|
|
<div class="block">Set the starting value for the Y axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#yAxisTickFont(java.awt.Font)">yAxisTickFont</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</a> theTickFont)</code>
|
|
<div class="block">Set the tick label font for the Y axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#yAxisTickFormat(java.text.DecimalFormat)">yAxisTickFormat</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html?is-external=true" title="class or interface in java.text">DecimalFormat</a> theTickFormat)</code>
|
|
<div class="block">Set the tick label format for the Y axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#yAxisTickScale(double)">yAxisTickScale</a></strong>(double theTickScale)</code>
|
|
<div class="block">Set the tick label scale factor for the Y axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#yAxisTitle(java.lang.String)">yAxisTitle</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theTitle)</code>
|
|
<div class="block">Set the title for the Y axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#yAxisTitleFont(java.awt.Font)">yAxisTitleFont</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</a> theTitleFont)</code>
|
|
<div class="block">Set the title font for the Y axis.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../edu/rit/numeric/plot/Plot.html#yAxisTitleOffset(double)">yAxisTitleOffset</a></strong>(double theTitleOffset)</code>
|
|
<div class="block">Set the offset from the axis to the title for the Y axis.</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="LINEAR">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>LINEAR</h4>
|
|
<pre>public static final <a href="../../../../edu/rit/numeric/plot/Plot.AxisKind.html" title="enum in edu.rit.numeric.plot">Plot.AxisKind</a> LINEAR</pre>
|
|
<div class="block">Linear axis.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="LOGARITHMIC">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>LOGARITHMIC</h4>
|
|
<pre>public static final <a href="../../../../edu/rit/numeric/plot/Plot.AxisKind.html" title="enum in edu.rit.numeric.plot">Plot.AxisKind</a> LOGARITHMIC</pre>
|
|
<div class="block">Logarithmic axis.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="ABOVE_LEFT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ABOVE_LEFT</h4>
|
|
<pre>public static final int ABOVE_LEFT</pre>
|
|
<div class="block">The label is positioned above and to the left of its location.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.numeric.plot.Plot.ABOVE_LEFT">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="ABOVE">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ABOVE</h4>
|
|
<pre>public static final int ABOVE</pre>
|
|
<div class="block">The label is positioned above its location.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.numeric.plot.Plot.ABOVE">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="ABOVE_RIGHT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ABOVE_RIGHT</h4>
|
|
<pre>public static final int ABOVE_RIGHT</pre>
|
|
<div class="block">The label is positioned above and to the right of its location.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.numeric.plot.Plot.ABOVE_RIGHT">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="LEFT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>LEFT</h4>
|
|
<pre>public static final int LEFT</pre>
|
|
<div class="block">The label is positioned to the left of its location.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.numeric.plot.Plot.LEFT">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="CENTER">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CENTER</h4>
|
|
<pre>public static final int CENTER</pre>
|
|
<div class="block">The label is centered on its location.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.numeric.plot.Plot.CENTER">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="RIGHT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>RIGHT</h4>
|
|
<pre>public static final int RIGHT</pre>
|
|
<div class="block">The label is positioned to the right of its location.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.numeric.plot.Plot.RIGHT">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="BELOW_LEFT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>BELOW_LEFT</h4>
|
|
<pre>public static final int BELOW_LEFT</pre>
|
|
<div class="block">The label is positioned below and to the left of its location.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.numeric.plot.Plot.BELOW_LEFT">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="BELOW">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>BELOW</h4>
|
|
<pre>public static final int BELOW</pre>
|
|
<div class="block">The label is positioned below its location.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.numeric.plot.Plot.BELOW">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="BELOW_RIGHT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>BELOW_RIGHT</h4>
|
|
<pre>public static final int BELOW_RIGHT</pre>
|
|
<div class="block">The label is positioned below and to the right of its location.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.numeric.plot.Plot.BELOW_RIGHT">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="ROTATE_LEFT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ROTATE_LEFT</h4>
|
|
<pre>public static final int ROTATE_LEFT</pre>
|
|
<div class="block">The label is rotated 90 degrees left (counterclockwise).</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.numeric.plot.Plot.ROTATE_LEFT">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="ROTATE_RIGHT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ROTATE_RIGHT</h4>
|
|
<pre>public static final int ROTATE_RIGHT</pre>
|
|
<div class="block">The label is rotated 90 degrees right (clockwise).</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.numeric.plot.Plot.ROTATE_RIGHT">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="ROTATE_AROUND">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>ROTATE_AROUND</h4>
|
|
<pre>public static final int ROTATE_AROUND</pre>
|
|
<div class="block">The label is rotated 180 degrees around.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.numeric.plot.Plot.ROTATE_AROUND">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="PIXEL_COORDINATES">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>PIXEL_COORDINATES</h4>
|
|
<pre>public static final int PIXEL_COORDINATES</pre>
|
|
<div class="block">The label's location is specified in pixel coordinates relative to the
|
|
lower left corner of the plot area, rather than in plot coordinates.</div>
|
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#edu.rit.numeric.plot.Plot.PIXEL_COORDINATES">Constant Field Values</a></dd></dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="Plot()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>Plot</h4>
|
|
<pre>public Plot()</pre>
|
|
<div class="block">Construct a new plot.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="frameTitle(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>frameTitle</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> frameTitle(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theTitle)</pre>
|
|
<div class="block">Set the title for the frame that displays the plot. The default is the
|
|
same as the plot title.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTitle</code> - Title.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="plotTitle(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>plotTitle</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> plotTitle(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theTitle)</pre>
|
|
<div class="block">Set the title for the plot. The default is no title.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTitle</code> - Title.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="plotTitleFont(java.awt.Font)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>plotTitleFont</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> plotTitleFont(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</a> theTitleFont)</pre>
|
|
<div class="block">Set the title font for the plot. The default is sans-serif, plain, 14
|
|
point.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTitleFont</code> - Title font.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="plotTitleOffset(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>plotTitleOffset</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> plotTitleOffset(double theTitleOffset)</pre>
|
|
<div class="block">Set the offset from the plot area to the title for the plot. The default
|
|
is 9 points.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTitleOffset</code> - Title offset (points).</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="margins(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>margins</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> margins(double theMargin)</pre>
|
|
<div class="block">Set the margins for the plot. This is the distance from the left, top,
|
|
right, and bottom sides of the plot area to the left, top, right, and
|
|
bottom sides of the display.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theMargin</code> - Margin (points).</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="leftMargin(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>leftMargin</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> leftMargin(double theMargin)</pre>
|
|
<div class="block">Set the left margin for the plot. This is the distance from the left side
|
|
of the plot area to the left side of the display. The default is 54
|
|
points.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theMargin</code> - Left margin (points).</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="topMargin(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>topMargin</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> topMargin(double theMargin)</pre>
|
|
<div class="block">Set the top margin for the plot. This is the distance from the top side
|
|
of the plot area to the top side of the display. The default is 27
|
|
points.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theMargin</code> - Top margin (points).</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="rightMargin(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>rightMargin</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> rightMargin(double theMargin)</pre>
|
|
<div class="block">Set the right margin for the plot. This is the distance from the right
|
|
side of the plot area to the right side of the display. The default is 27
|
|
points.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theMargin</code> - Right margin (points).</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="bottomMargin(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>bottomMargin</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> bottomMargin(double theMargin)</pre>
|
|
<div class="block">Set the bottom margin for the plot. This is the distance from the bottom
|
|
side of the plot area to the bottom side of the display. The default is
|
|
54 points.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theMargin</code> - Bottom margin (points).</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="majorGridLines(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>majorGridLines</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> majorGridLines(boolean theGridLines)</pre>
|
|
<div class="block">Specify whether major division grid lines are drawn on the plot. The
|
|
default is to draw major division grid lines.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theGridLines</code> - True to draw major division grid lines, false not
|
|
to draw them.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="minorGridLines(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>minorGridLines</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> minorGridLines(boolean theGridLines)</pre>
|
|
<div class="block">Specify whether minor division grid lines are drawn on the plot. The
|
|
default is not to draw minor division grid lines.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theGridLines</code> - True to draw minor division grid lines, false not
|
|
to draw them.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xAxisKind(edu.rit.numeric.plot.Plot.AxisKind)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xAxisKind</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xAxisKind(<a href="../../../../edu/rit/numeric/plot/Plot.AxisKind.html" title="enum in edu.rit.numeric.plot">Plot.AxisKind</a> theKind)</pre>
|
|
<div class="block">Set the kind of axis for the X axis. The default is a linear axis.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theKind</code> - <a href="../../../../edu/rit/numeric/plot/Plot.html#LINEAR"><code>LINEAR</code></a> or <a href="../../../../edu/rit/numeric/plot/Plot.html#LOGARITHMIC"><code>LOGARITHMIC</code></a>.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xAxisStart(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xAxisStart</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xAxisStart(double theStart)</pre>
|
|
<div class="block">Set the starting value for the X axis. For a linear axis, this is the
|
|
actual starting value. For a logarithmic axis, this the base-10 logarithm
|
|
of the starting value, and it is truncated to the nearest integer. The
|
|
default is to determine the starting value automatically from the plotted
|
|
data.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theStart</code> - Starting value.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xAxisEnd(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xAxisEnd</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xAxisEnd(double theEnd)</pre>
|
|
<div class="block">Set the ending value for the X axis. For a linear axis, this is the
|
|
actual ending value. For a logarithmic axis, this the base-10 logarithm
|
|
of the ending value, and it is truncated to the nearest integer. The
|
|
default is to determine the ending value automatically from the plotted
|
|
data.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theEnd</code> - Ending value.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xAxisMajorDivisions(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xAxisMajorDivisions</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xAxisMajorDivisions(int theMajorDivisions)</pre>
|
|
<div class="block">Set the number of major divisions for the X axis. The default is 10 major
|
|
divisions.
|
|
<P>
|
|
For a logarithmic axis, <TT>theMajorDivisions</TT> is ignored; each
|
|
factor of 10 between the starting and ending values is one major
|
|
division.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theMajorDivisions</code> - Number of major divisions.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xAxisMinorDivisions(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xAxisMinorDivisions</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xAxisMinorDivisions(int theMinorDivisions)</pre>
|
|
<div class="block">Set the number of minor divisions <I>per major division</I> for the X
|
|
axis. The default is 1 minor division per major division.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theMinorDivisions</code> - Number of minor divisions per major division.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xAxisCrossing(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xAxisCrossing</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xAxisCrossing(double theCrossing)</pre>
|
|
<div class="block">Set the perpendicular axis crossing value for the X axis. For a linear
|
|
axis, this is the actual crossing value. For a logarithmic axis, this the
|
|
base-10 logarithm of the crossing value, and it is truncated to the
|
|
nearest integer. The default is for the perpendicular axis to cross at
|
|
the X axis's starting value.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theCrossing</code> - Perpendicular axis crossing value.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xAxisLength(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xAxisLength</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xAxisLength(double theLength)</pre>
|
|
<div class="block">Set the length of the X axis. The default is 288 points.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theLength</code> - Axis length (points).</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xAxisTickFormat(java.text.DecimalFormat)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xAxisTickFormat</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xAxisTickFormat(<a href="http://docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html?is-external=true" title="class or interface in java.text">DecimalFormat</a> theTickFormat)</pre>
|
|
<div class="block">Set the tick label format for the X axis. If <TT>theTickFormat</TT> is
|
|
null, tick labels will not be drawn on the X axis. The default is a
|
|
decimal format of <TT>"0"</TT>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTickFormat</code> - Tick format, or null.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xAxisTickScale(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xAxisTickScale</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xAxisTickScale(double theTickScale)</pre>
|
|
<div class="block">Set the tick label scale factor for the X axis. Each tick mark's
|
|
numerical value is divided by the scale factor before being displayed.
|
|
The default is 1 (no scaling).</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTickScale</code> - Tick scale factor.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xAxisTickFont(java.awt.Font)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xAxisTickFont</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xAxisTickFont(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</a> theTickFont)</pre>
|
|
<div class="block">Set the tick label font for the X axis. The default is sans-serif, plain,
|
|
12 point.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTickFont</code> - Tick font.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xAxisTitle(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xAxisTitle</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xAxisTitle(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theTitle)</pre>
|
|
<div class="block">Set the title for the X axis. The default is no title.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTitle</code> - Title.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xAxisTitleFont(java.awt.Font)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xAxisTitleFont</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xAxisTitleFont(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</a> theTitleFont)</pre>
|
|
<div class="block">Set the title font for the X axis. The default is sans-serif, plain, 12
|
|
point.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTitleFont</code> - Title font.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xAxisTitleOffset(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xAxisTitleOffset</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xAxisTitleOffset(double theTitleOffset)</pre>
|
|
<div class="block">Set the offset from the axis to the title for the X axis. The default is
|
|
30 points.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTitleOffset</code> - Title offset (points).</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="yAxisKind(edu.rit.numeric.plot.Plot.AxisKind)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>yAxisKind</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> yAxisKind(<a href="../../../../edu/rit/numeric/plot/Plot.AxisKind.html" title="enum in edu.rit.numeric.plot">Plot.AxisKind</a> theKind)</pre>
|
|
<div class="block">Set the kind of axis for the Y axis. The default is a linear axis.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theKind</code> - <a href="../../../../edu/rit/numeric/plot/Plot.html#LINEAR"><code>LINEAR</code></a> or <a href="../../../../edu/rit/numeric/plot/Plot.html#LOGARITHMIC"><code>LOGARITHMIC</code></a>.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="yAxisStart(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>yAxisStart</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> yAxisStart(double theStart)</pre>
|
|
<div class="block">Set the starting value for the Y axis. For a linear axis, this is the
|
|
actual starting value. For a logarithmic axis, this the base-10 logarithm
|
|
of the starting value, and it is truncated to the nearest integer. The
|
|
default is to determine the starting value automatically from the plotted
|
|
data.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theStart</code> - Starting value.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="yAxisEnd(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>yAxisEnd</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> yAxisEnd(double theEnd)</pre>
|
|
<div class="block">Set the ending value for the Y axis. For a linear axis, this is the
|
|
actual ending value. For a logarithmic axis, this the base-10 logarithm
|
|
of the ending value, and it is truncated to the nearest integer. The
|
|
default is to determine the ending value automatically from the plotted
|
|
data.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theEnd</code> - Ending value.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="yAxisMajorDivisions(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>yAxisMajorDivisions</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> yAxisMajorDivisions(int theMajorDivisions)</pre>
|
|
<div class="block">Set the number of major divisions for the Y axis. The default is 10 major
|
|
divisions.
|
|
<P>
|
|
For a logarithmic axis, <TT>theMajorDivisions</TT> is ignored; each
|
|
factor of 10 between the starting and ending values is one major
|
|
division.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theMajorDivisions</code> - Number of major divisions.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="yAxisMinorDivisions(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>yAxisMinorDivisions</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> yAxisMinorDivisions(int theMinorDivisions)</pre>
|
|
<div class="block">Set the number of minor divisions <I>per major division</I> for the X
|
|
axis. The default is 1 minor division per major division.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theMinorDivisions</code> - Number of minor divisions per major division.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="yAxisCrossing(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>yAxisCrossing</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> yAxisCrossing(double theCrossing)</pre>
|
|
<div class="block">Set the perpendicular axis crossing value for the Y axis. For a linear
|
|
axis, this is the actual crossing value. For a logarithmic axis, this the
|
|
base-10 logarithm of the crossing value, and it is truncated to the
|
|
nearest integer. The default is for the perpendicular axis to cross at
|
|
the Y axis's starting value.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theCrossing</code> - Perpendicular axis crossing value.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="yAxisLength(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>yAxisLength</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> yAxisLength(double theLength)</pre>
|
|
<div class="block">Set the length of the Y axis. The default is 288 points.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theLength</code> - Axis length (points).</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="yAxisTickFormat(java.text.DecimalFormat)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>yAxisTickFormat</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> yAxisTickFormat(<a href="http://docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html?is-external=true" title="class or interface in java.text">DecimalFormat</a> theTickFormat)</pre>
|
|
<div class="block">Set the tick label format for the Y axis. If <TT>theTickFormat</TT> is
|
|
null, tick labels will not be drawn on the Y axis. The default is a
|
|
decimal format of <TT>"0"</TT>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTickFormat</code> - Tick format, or null.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="yAxisTickScale(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>yAxisTickScale</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> yAxisTickScale(double theTickScale)</pre>
|
|
<div class="block">Set the tick label scale factor for the Y axis. Each tick mark's
|
|
numerical value is divided by the scale factor before being displayed.
|
|
The default is 1 (no scaling).</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTickScale</code> - Tick scale factor.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="yAxisTickFont(java.awt.Font)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>yAxisTickFont</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> yAxisTickFont(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</a> theTickFont)</pre>
|
|
<div class="block">Set the tick label font for the Y axis. The default is sans-serif, plain,
|
|
12 point.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTickFont</code> - Tick font.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="yAxisTitle(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>yAxisTitle</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> yAxisTitle(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theTitle)</pre>
|
|
<div class="block">Set the title for the Y axis. The default is no title.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTitle</code> - Title.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="yAxisTitleFont(java.awt.Font)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>yAxisTitleFont</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> yAxisTitleFont(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</a> theTitleFont)</pre>
|
|
<div class="block">Set the title font for the Y axis. The default is sans-serif, plain, 12
|
|
point.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTitleFont</code> - Title font.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="yAxisTitleOffset(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>yAxisTitleOffset</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> yAxisTitleOffset(double theTitleOffset)</pre>
|
|
<div class="block">Set the offset from the axis to the title for the Y axis. The default is
|
|
36 points.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theTitleOffset</code> - Title offset (points).</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="seriesDots(edu.rit.numeric.plot.Dots)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>seriesDots</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> seriesDots(<a href="../../../../edu/rit/numeric/plot/Dots.html" title="class in edu.rit.numeric.plot">Dots</a> theDots)</pre>
|
|
<div class="block">Set the dots to use when plotting a data series. All data series added
|
|
hereafter will use the given dots. The default is a solid black circle 5
|
|
points in diameter. See class <a href="../../../../edu/rit/numeric/plot/Dots.html" title="class in edu.rit.numeric.plot">Dots</a> for other shapes.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theDots</code> - Dots, or null not to plot dots.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="seriesStroke(java.awt.BasicStroke)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>seriesStroke</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> seriesStroke(<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)</pre>
|
|
<div class="block">Set the stroke to use for line segments when plotting a data series. All
|
|
data series added hereafter will use the given stroke. The default is a
|
|
solid stroke 2 points wide. See class <a href="../../../../edu/rit/numeric/plot/Strokes.html" title="class in edu.rit.numeric.plot">Strokes</a> for other
|
|
strokes.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theStroke</code> - Stroke, or null not to plot line segments.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="seriesColor(java.awt.Color)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>seriesColor</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> seriesColor(<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">Set the color to use for line segments when plotting a data series. All
|
|
data series added hereafter will use the given color. The default is
|
|
black.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theColor</code> - Color, or null not to plot line segments.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="seriesSmooth(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>seriesSmooth</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> seriesSmooth(boolean isSmooth)</pre>
|
|
<div class="block">Specify whether to draw a smooth curve when plotting a data series. All
|
|
data series added hereafter will use the given smoothing. The default is
|
|
false (draw straight line segments).</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>isSmooth</code> - True to draw a smooth curve, false to draw straight
|
|
line segments.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xySeries(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xySeries</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xySeries(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theFileName)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</a></pre>
|
|
<div class="block">Add an X-Y data series to this plot with data points read from the file
|
|
with the given name. Double values are read from the file until there are
|
|
no more. Each pair of double values becomes an (<I>x,y</I>) point in the
|
|
data series. Any leftover double value is discarded.
|
|
<P>
|
|
A dot is drawn at each data point as specified by the
|
|
<TT>seriesDot()</TT> method. A line segment is drawn from each data point
|
|
to the next as specified by the <TT>seriesStroke()</TT> and
|
|
<TT>seriesColor()</TT> methods. A smooth curve is drawn, or not, as
|
|
specified by the <TT>seriesSmooth()</TT> method.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFileName</code> - File name.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</a></code> - Thrown if the file could not be read.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xySeries(java.io.File)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xySeries</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xySeries(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> theFile)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</a></pre>
|
|
<div class="block">Add an X-Y data series to this plot with data points read from the given
|
|
file. Double values are read from the file until there are no more. Each
|
|
pair of double values becomes an (<I>x,y</I>) point in the data series.
|
|
Any leftover double value is discarded.
|
|
<P>
|
|
A dot is drawn at each data point as specified by the
|
|
<TT>seriesDot()</TT> method. A line segment is drawn from each data point
|
|
to the next as specified by the <TT>seriesStroke()</TT> and
|
|
<TT>seriesColor()</TT> methods. A smooth curve is drawn, or not, as
|
|
specified by the <TT>seriesSmooth()</TT> method.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFile</code> - File.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</a></code> - Thrown if the file could not be read.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xySeries(java.io.InputStream)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xySeries</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xySeries(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> theInputStream)</pre>
|
|
<div class="block">Add an X-Y data series to this plot with data points read from the given
|
|
input stream. Double values are read from the input stream until there
|
|
are no more. Each pair of double values becomes an (<I>x,y</I>) point in
|
|
the data series. Any leftover double value is discarded. After adding the
|
|
data series, the input stream is closed.
|
|
<P>
|
|
A dot is drawn at each data point as specified by the
|
|
<TT>seriesDot()</TT> method. A line segment is drawn from each data point
|
|
to the next as specified by the <TT>seriesStroke()</TT> and
|
|
<TT>seriesColor()</TT> methods. A smooth curve is drawn, or not, as
|
|
specified by the <TT>seriesSmooth()</TT> method.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theInputStream</code> - Input stream.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xySeries(java.util.Scanner)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xySeries</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xySeries(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Scanner.html?is-external=true" title="class or interface in java.util">Scanner</a> theScanner)</pre>
|
|
<div class="block">Add an X-Y data series to this plot with data points read from the given
|
|
scanner. Double values are read from the scanner until there are no more.
|
|
Each pair of double values becomes an (<I>x,y</I>) point in the data
|
|
series. Any leftover double value is discarded. After constructing the
|
|
data series, the scanner is closed.
|
|
<P>
|
|
A dot is drawn at each data point as specified by the
|
|
<TT>seriesDot()</TT> method. A line segment is drawn from each data point
|
|
to the next as specified by the <TT>seriesStroke()</TT> and
|
|
<TT>seriesColor()</TT> methods. A smooth curve is drawn, or not, as
|
|
specified by the <TT>seriesSmooth()</TT> method.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theScanner</code> - Scanner.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xySeries(double...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xySeries</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xySeries(double... theData)</pre>
|
|
<div class="block">Add an X-Y data series to this plot with data points taken from the
|
|
arguments. The argument values are grouped into pairs, where the first
|
|
argument value is the X value and the second argument value is the Y
|
|
value. Each pair of argument values becomes one data point in the X-Y
|
|
data series. It is assumed that there are an even number of argument
|
|
values.
|
|
<P>
|
|
A dot is drawn at each data point as specified by the
|
|
<TT>seriesDot()</TT> method. A line segment is drawn from each data point
|
|
to the next as specified by the <TT>seriesStroke()</TT> and
|
|
<TT>seriesColor()</TT> methods. A smooth curve is drawn, or not, as
|
|
specified by the <TT>seriesSmooth()</TT> method.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theData</code> - Data point X and Y coordinates.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xySeries(double[], double[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xySeries</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xySeries(double[] theXArray,
|
|
double[] theYArray)</pre>
|
|
<div class="block">Add an X-Y data series to this plot with data points taken from the two
|
|
arrays. The first array contains the X coordinates, the second array
|
|
contains the Y coordinates.
|
|
<P>
|
|
A dot is drawn at each data point as specified by the
|
|
<TT>seriesDot()</TT> method. A line segment is drawn from each data point
|
|
to the next as specified by the <TT>seriesStroke()</TT> and
|
|
<TT>seriesColor()</TT> methods. A smooth curve is drawn, or not, as
|
|
specified by the <TT>seriesSmooth()</TT> method.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theXArray</code> - Array of data point X coordinates.</dd><dd><code>theYArray</code> - Array of data point Y coordinates.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="xySeries(edu.rit.numeric.XYSeries)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>xySeries</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> xySeries(<a href="../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a> theXYSeries)</pre>
|
|
<div class="block">Add an X-Y data series to this plot with data points taken from the given
|
|
<a href="../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a>.
|
|
<P>
|
|
A dot is drawn at each data point as specified by the
|
|
<TT>seriesDot()</TT> method. A line segment is drawn from each data point
|
|
to the next as specified by the <TT>seriesStroke()</TT> and
|
|
<TT>seriesColor()</TT> methods. A smooth curve is drawn, or not, as
|
|
specified by the <TT>seriesSmooth()</TT> method.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theXYSeries</code> - X-Y series.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="segmentedSeries(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>segmentedSeries</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> segmentedSeries(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theFileName)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</a></pre>
|
|
<div class="block">Add a segmented data series to this plot with data points read from the
|
|
file with the given name. Double values are read from the file until
|
|
there are no more. Each pair of double values becomes an (<I>x,y</I>)
|
|
point in the data series. Any leftover double value is discarded.
|
|
<P>
|
|
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.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFileName</code> - File name.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</a></code> - Thrown if the file could not be read.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="segmentedSeries(java.io.File)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>segmentedSeries</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> segmentedSeries(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> theFile)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</a></pre>
|
|
<div class="block">Add a segmented data series to this plot with data points read from the
|
|
given file. Double values are read from the file until there are no more.
|
|
Each pair of double values becomes an (<I>x,y</I>) point in the data
|
|
series. Any leftover double value is discarded.
|
|
<P>
|
|
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.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFile</code> - File.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</a></code> - Thrown if the file could not be read.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="segmentedSeries(java.io.InputStream)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>segmentedSeries</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> segmentedSeries(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> theInputStream)</pre>
|
|
<div class="block">Add a segmented data series to this plot with data points read from the
|
|
given input stream. Double values are read from the input stream until
|
|
there are no more. Each pair of double values becomes an (<I>x,y</I>)
|
|
point in the data series. Any leftover double value is discarded. After
|
|
adding the data series, the input stream is closed.
|
|
<P>
|
|
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.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theInputStream</code> - Input stream.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="segmentedSeries(java.util.Scanner)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>segmentedSeries</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> segmentedSeries(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Scanner.html?is-external=true" title="class or interface in java.util">Scanner</a> theScanner)</pre>
|
|
<div class="block">Add a segmented data series to this plot with data points read from the
|
|
given scanner. Double values are read from the scanner until there are no
|
|
more. Each pair of double values becomes an (<I>x,y</I>) point in the
|
|
data series. Any leftover double value is discarded. After constructing
|
|
the data series, the scanner is closed.
|
|
<P>
|
|
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.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theScanner</code> - Scanner.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="segmentedSeries(double...)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>segmentedSeries</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> segmentedSeries(double... theData)</pre>
|
|
<div class="block">Add a segmented data series to this plot with data points taken from the
|
|
arguments. The argument values are grouped into pairs, where the first
|
|
argument value is the X value and the second argument value is the Y
|
|
value. Each pair of argument values becomes one data point in the
|
|
segmented data series. It is assumed that there are an even number of
|
|
argument values.
|
|
<P>
|
|
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.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theData</code> - Data point X and Y coordinates.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="segmentedSeries(double[], double[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>segmentedSeries</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> segmentedSeries(double[] theXArray,
|
|
double[] theYArray)</pre>
|
|
<div class="block">Add a segmented data series to this plot with data points taken from the
|
|
two arrays. The first array contains the X coordinates, the second array
|
|
contains the Y coordinates.
|
|
<P>
|
|
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.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theXArray</code> - Array of data point X coordinates.</dd><dd><code>theYArray</code> - Array of data point Y coordinates.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="segmentedSeries(edu.rit.numeric.XYSeries)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>segmentedSeries</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> segmentedSeries(<a href="../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a> theXYSeries)</pre>
|
|
<div class="block">Add a segmented data series to this plot with data points taken from the
|
|
given <a href="../../../../edu/rit/numeric/XYSeries.html" title="class in edu.rit.numeric">XYSeries</a>.
|
|
<P>
|
|
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.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theXYSeries</code> - X-Y series.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="labelPosition(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>labelPosition</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> labelPosition(int thePosition)</pre>
|
|
<div class="block">Set the positioning to use for labels. All labels added hereafter will
|
|
use the given positioning. The label positioning argument must be one of
|
|
the following constants to specify how the label is positioned relative
|
|
to the label's (<I>x,y</I>) location: <a href="../../../../edu/rit/numeric/plot/Plot.html#ABOVE_LEFT"><code>ABOVE_LEFT</code></a>, <a href="../../../../edu/rit/numeric/plot/Plot.html#ABOVE"><code>ABOVE</code></a>, <a href="../../../../edu/rit/numeric/plot/Plot.html#ABOVE_RIGHT"><code>ABOVE_RIGHT</code></a>, <a href="../../../../edu/rit/numeric/plot/Plot.html#LEFT"><code>LEFT</code></a>, <a href="../../../../edu/rit/numeric/plot/Plot.html#CENTER"><code>CENTER</code></a>, <a href="../../../../edu/rit/numeric/plot/Plot.html#RIGHT"><code>RIGHT</code></a>, <a href="../../../../edu/rit/numeric/plot/Plot.html#BELOW_LEFT"><code>BELOW_LEFT</code></a>, <a href="../../../../edu/rit/numeric/plot/Plot.html#BELOW"><code>BELOW</code></a>, or <a href="../../../../edu/rit/numeric/plot/Plot.html#BELOW_RIGHT"><code>BELOW_RIGHT</code></a>.
|
|
The default is <a href="../../../../edu/rit/numeric/plot/Plot.html#CENTER"><code>CENTER</code></a>.
|
|
<P>
|
|
One of the following constants may be added to rotate the label around
|
|
the label's (<I>x,y</I>) location: <a href="../../../../edu/rit/numeric/plot/Plot.html#ROTATE_LEFT"><code>ROTATE_LEFT</code></a>, <a href="../../../../edu/rit/numeric/plot/Plot.html#ROTATE_RIGHT"><code>ROTATE_RIGHT</code></a>, or <a href="../../../../edu/rit/numeric/plot/Plot.html#ROTATE_AROUND"><code>ROTATE_AROUND</code></a>. For example,
|
|
<TT>labelPosition(Plot.LEFT+Plot.ROTATE_LEFT)</TT> will rotate each label
|
|
90 degrees left and position it to the left of its (<I>x,y</I>) location.
|
|
The default is no rotation.
|
|
<P>
|
|
The following constant may also be added: <a href="../../../../edu/rit/numeric/plot/Plot.html#PIXEL_COORDINATES"><code>PIXEL_COORDINATES</code></a>. If
|
|
this constant is omitted, the label's (<I>x,y</I>) location is specified
|
|
in plot coordinates as determined by the X and Y axes' attributes. If
|
|
this constant is included, the label's (<I>x,y</I>) location is specified
|
|
in pixel coordinates relative to the lower left corner of the plot area,
|
|
regardless of the X and Y axes' attributes.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>thePosition</code> - Label positioning.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="labelOffset(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>labelOffset</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> labelOffset(double theOffset)</pre>
|
|
<div class="block">Set the offset to use for labels. All labels added hereafter will use the
|
|
given offset. The default is 0. The offset specifies, in pixel
|
|
coordinates, how far away from the label's (<I>x,y</I>) location the
|
|
label is positioned in the direction determined by the label positioning
|
|
attribute.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theOffset</code> - Label offset.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="labelFont(java.awt.Font)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>labelFont</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> labelFont(<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</a> theFont)</pre>
|
|
<div class="block">Set the font to use for labels. All labels added hereafter will use the
|
|
given font. The default is sans-serif, plain, 12 point.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFont</code> - Label offset.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="labelColor(java.awt.Color)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>labelColor</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> labelColor(<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">Set the color to use for labels. All labels added hereafter will use the
|
|
given color. The default is black.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theColor</code> - Label color.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="labelBackground(java.awt.Color)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>labelBackground</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> labelBackground(<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">Set the color to use for label backgrounds. All labels added hereafter
|
|
will use the given color for the background. The default is transparent.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theColor</code> - Label background color, or null for transparent.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="label(java.lang.String, double, double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>label</h4>
|
|
<pre>public <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> label(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> text,
|
|
double x,
|
|
double y)</pre>
|
|
<div class="block">Add a label to this plot. The label's position is (<I>x,y</I>).
|
|
<P>
|
|
The label supports a subset of HTML for specifying attributes of
|
|
characters. The following HTML tags may be embedded in a label's text:
|
|
<UL>
|
|
<LI><TT><B>Bold</B></TT>
|
|
<LI><TT><I>Italic</I></TT>
|
|
<LI><TT><SUP>Superscript</SUP></TT>
|
|
<LI><TT><SUB>Subscript</SUB></TT>
|
|
</UL>
|
|
<P>
|
|
To get literal less-than, greater-than, and ampersand characters in the
|
|
text, use the following HTML character entities:
|
|
<UL>
|
|
<LI><TT>&lt;</TT> -- Less-than (<)
|
|
<LI><TT>&gt;</TT> -- Greater-than (>)
|
|
<LI><TT>&amp;</TT> -- Ampersand (&)
|
|
</UL></div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - Label text.</dd><dd><code>x</code> - X coordinate of label position.</dd><dd><code>y</code> - Y coordinate of label position.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>This plot object.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="draw(java.awt.Graphics2D)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>draw</h4>
|
|
<pre>public void 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> 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.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/swing/Drawable.html#draw(java.awt.Graphics2D)">draw</a></code> in interface <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 <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> 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> in interface <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="blockList">
|
|
<li class="blockList">
|
|
<h4>getBackgroundPaint</h4>
|
|
<pre>public <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> 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> in interface <code><a href="../../../../edu/rit/swing/Displayable.html" title="interface in edu.rit.swing">Displayable</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getFrame()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getFrame</h4>
|
|
<pre>public <a href="../../../../edu/rit/swing/DisplayableFrame.html" title="class in edu.rit.swing">DisplayableFrame</a> getFrame()</pre>
|
|
<div class="block">Get a displayable frame in which to view this viewable object. Initially,
|
|
the returned frame is displaying this viewable object.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/swing/Viewable.html#getFrame()">getFrame</a></code> in interface <code><a href="../../../../edu/rit/swing/Viewable.html" title="interface in edu.rit.swing">Viewable</a></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Displayable frame.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTitle()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTitle</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getTitle()</pre>
|
|
<div class="block">Get the title for the frame used to view this viewable object. If the
|
|
title is null, a default title is used.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code><a href="../../../../edu/rit/swing/Viewable.html#getTitle()">getTitle</a></code> in interface <code><a href="../../../../edu/rit/swing/Viewable.html" title="interface in edu.rit.swing">Viewable</a></code></dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Title.</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 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="blockList">
|
|
<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 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 was not found.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="write(edu.rit.numeric.plot.Plot, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>write</h4>
|
|
<pre>public static void write(<a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> thePlot,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theFileName)
|
|
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 the given plot to the file with the given name. <TT>thePlot</TT> is
|
|
written in serialized form to the file.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>thePlot</code> - Plot.</dd><dd><code>theFileName</code> - File name.</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="write(edu.rit.numeric.plot.Plot, java.io.File)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>write</h4>
|
|
<pre>public static void write(<a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> thePlot,
|
|
<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> theFile)
|
|
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 the given plot to the given file. <TT>thePlot</TT> is written in
|
|
serialized form to <TT>theFile</TT>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>thePlot</code> - Plot.</dd><dd><code>theFile</code> - File.</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="read(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>read</h4>
|
|
<pre>public static <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> read(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> theFileName)
|
|
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 a plot from the file with the given name. The file must contain one
|
|
instance of class Plot in serialized form; for example, as written by the
|
|
static <TT>Plot.write()</TT> method.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFileName</code> - File name.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Plot.</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 any class needed to deserialize the plot cannot be found.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="read(java.io.File)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>read</h4>
|
|
<pre>public static <a href="../../../../edu/rit/numeric/plot/Plot.html" title="class in edu.rit.numeric.plot">Plot</a> read(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> theFile)
|
|
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 a plot from the given file. The file must contain one instance of
|
|
class Plot in serialized form; for example, as written by the static
|
|
<TT>Plot.write()</TT> method.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>theFile</code> - File.</dd>
|
|
<dt><span class="strong">Returns:</span></dt><dd>Plot.</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 any class needed to deserialize the plot cannot be 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/Plot.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/Dots.html" title="class in edu.rit.numeric.plot"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../../edu/rit/numeric/plot/Plot.AxisKind.html" title="enum in edu.rit.numeric.plot"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?edu/rit/numeric/plot/Plot.html" target="_top">Frames</a></li>
|
|
<li><a href="Plot.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><a href="#nested_class_summary">Nested</a> | </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>
|