root/trunk/matml/src/sphlow/PlotPoint.java
| Revision 148, 2.0 kB (checked in by powell, 7 years ago) | |
|---|---|
|
|
| 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. |
| 7 | All rights reserved. |
| 8 | |
| 9 | Permission is hereby granted, without written agreement and without |
| 10 | license or royalty fees, to use, copy, modify, and distribute this |
| 11 | software and its documentation for any purpose, provided that the |
| 12 | above copyright notice and the following two paragraphs appear in all |
| 13 | copies of this software. |
| 14 | |
| 15 | IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY |
| 16 | FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES |
| 17 | ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF |
| 18 | THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF |
| 19 | SUCH DAMAGE. |
| 20 | |
| 21 | THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, |
| 22 | INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 23 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE |
| 24 | PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF |
| 25 | CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, |
| 26 | ENHANCEMENTS, 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 | */ |
| 40 | public 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.