Class DataDrawer

java.lang.Object
cnuphys.splot.plot.DataDrawer

public class DataDrawer extends Object
  • Constructor Details

    • DataDrawer

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

    • draw

      public void draw(Graphics g, DataSet ds)
      Draw a data set on the canvas
      Parameters:
      g - the graphics context
      ds - the DataSet to draw.