Package cnuphys.splot.plot
Class CurveDrawer
java.lang.Object
cnuphys.splot.plot.CurveDrawer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voiddrawCurve(Graphics g, PlotCanvas plotCanvas, DataColumn xcol, DataColumn ycol) Draw a curve with no error barsstatic voiddrawCurve(Graphics g, PlotCanvas plotCanvas, DataColumn xcol, DataColumn ycol, DataColumn xerrCol, DataColumn yerrCol) Draw a curve with x and y error barsstatic voiddrawHisto1D(Graphics g, PlotCanvas canvas, DataColumn histoColumn) Draw a 1D histogramstatic voiddrawHisto2D(Graphics g, PlotCanvas canvas, DataColumn histoColumn) 
- 
Constructor Details- 
CurveDrawerpublic CurveDrawer()
 
- 
- 
Method Details- 
drawHisto2D
- 
drawHisto1DDraw a 1D histogram- Parameters:
- g- the graphics context
- plotCanvas- the plot canvas
- histoColumn- the column (should contain a HistData object)
 
- 
drawCurveDraw a curve with no error bars- Parameters:
- g- the graphics context
- plotCanvas- the plot canvas
- xcol- the x data column
- ycol- the y data column
 
- 
drawCurvepublic static void drawCurve(Graphics g, PlotCanvas plotCanvas, DataColumn xcol, DataColumn ycol, DataColumn xerrCol, DataColumn yerrCol) Draw a curve with x and y error bars- Parameters:
- g- the graphics context
- plotCanvas- the plot canvas
- xcol- the x data column
- ycol- the y data column
- xerrCol- the x error bar column (often- null)
- yerrCol- the y error bar column
 
 
-