Package edu.cnu.mdi.splot.plot
Class DataDrawer
java.lang.Object
edu.cnu.mdi.splot.plot.DataDrawer
Draws the data on the plot canvas. It draws the fixed lines, then the curves.
- Author:
- heddle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(Graphics2D g2, PlotData plotData) Draw a data set on the canvas.Draws the optional fixed lines, then the curves.
-
Constructor Details
-
DataDrawer
Create a DataDrawer- Parameters:
plotCanvas- the owner canvas
-
-
Method Details
-
draw
Draw a data set on the canvas.Draws the optional fixed lines, then the curves.- Parameters:
g2- the graphics contextplotData- the PlotData to draw.
-