FactorScatterPlot STATBEAN®

Purpose: Displays a scatterplot of one numeric variable versus levels of an experimental factor. Lets Statgraphics function as a scatter plot calculator.

Scatter Plot Generator DataSource: any. 


Scatter Plot Generator Read/Write Properties
Name Type Description Possible Values Default Value
codeVariableName String The name of an optional column with levels of a second factor to define point symbol codes. Any string. ""
drawVertical boolean Whether to plot the percentages on the vertical axis. true,false true
factorVariableName String The name of the column with factor levels. Any string. ""
labelSkipFactor int If >1, will skip (labelSkipFactor1-1) labels between each label displayed.. 1+ 1
rotateClassLabels boolean Whether to make the bar labels vertical. true,false false
tablewiseExclusion boolean Whether all rows of the data table containing a missing value in any column should be excluded from the plot. true,false false
xVariableName String The name of the column with data values to be plotted. Any string. ""

Other properties for the scatter plot calculator are inherited from the java.awt.Canvas class and from the general GraphicalStatbean class.

Scatter Plot Generator Code Sample 

//create a datasource bean 
FileDataSource fileDataSource1 = new STATBEANS.FileDataSource(); 

//set the file name to be read 

//create a chart bean 
FactorScatterPlot plot1 = new STATBEANS.FactorScatterPlot(); 

//set the column to be plotted 

//set the factor column 

//set the direction 

//show the plot 

//make the plot bean a listener for changes in the FileDataSource bean 

//instruct the fileDataSource bean to read the file