Package edu.cnu.mdi.splot.plot
Class HorizontalLine
java.lang.Object
edu.cnu.mdi.splot.plot.PlotLine
edu.cnu.mdi.splot.plot.HorizontalLine
Plot annotation spanning the visible x range at a fixed data-space y value.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HorizontalLine
Create a horizontal annotation.- Parameters:
canvas- owning canvasy- fixed data-space y value
-
-
Method Details
-
getX0
public double getX0()Description copied from class:PlotLineGet the starting x coordinate -
getX1
public double getX1()Description copied from class:PlotLineGet the ending x coordinate -
getY0
public double getY0()Description copied from class:PlotLineGet the starting y coordinate -
getY1
public double getY1()Description copied from class:PlotLineGet the ending y coordinate
-