root/trunk/matml/src/sphlow/PlotPoint.java

Revision 148, 2.0 kB (checked in by powell, 7 years ago)

New Sphlow Java applet.

  • Property svn:keywords set to Author Date Id Revision
Line 
1/* A point in a plot.
2
3@Author: Edward A. Lee
4@Version: @(#)PlotPoint.java    1.9    01/11/98
5
6@Copyright (c) 1997-1998 The Regents of the University of California.
7All rights reserved.
8
9Permission is hereby granted, without written agreement and without
10license or royalty fees, to use, copy, modify, and distribute this
11software and its documentation for any purpose, provided that the
12above copyright notice and the following two paragraphs appear in all
13copies of this software.
14
15IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
16FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
17ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
18THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
19SUCH DAMAGE.
20
21THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
22INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
23MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
24PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
25CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
26ENHANCEMENTS, OR MODIFICATIONS.
27
28                                                PT_COPYRIGHT_VERSION_2
29                                                COPYRIGHTENDKEY
30*/
31//package ptplot;
32
33//////////////////////////////////////////////////////////////////////////
34//// PlotPoint
35/**
36 * A simple structure for storing a plot point.
37 * @author Edward A. Lee
38 * @version @(#)PlotPoint.java  1.9    01/11/98
39 */
40public class PlotPoint {
41
42    //////////////////////////////////////////////////////////////////////////
43    ////                         public variables                         ////
44   
45    public double x,y;
46
47    /** Error bar Y low value. */
48    public double yLowEB;
49
50    /** Error bar Y low value. */
51    public double yHighEB;
52
53    /** True if this point is connected to the previous point by a line. */
54    public boolean connected = false;
55
56    /** True if the yLowEB and yHighEB fields are valid. */
57    public boolean errorBar = false;
58}
Note: See TracBrowser for help on using the browser.