Class DataDrawer

java.lang.Object
edu.cnu.mdi.splot.plot.DataDrawer

public class DataDrawer extends Object
Draws the data on the plot canvas. It draws the fixed lines, then the curves.
Author:
heddle
  • Constructor Details

    • DataDrawer

      public DataDrawer(PlotCanvas plotCanvas)
      Create a DataDrawer
      Parameters:
      plotCanvas - the owner canvas
  • Method Details

    • draw

      public void draw(Graphics2D g2, PlotData plotData)
      Draw a data set on the canvas.Draws the optional fixed lines, then the curves.
      Parameters:
      g2 - the graphics context
      plotData - the PlotData to draw.