DraftsmansPlot STATBEAN®


Purpose: - 3D scatter plot software that displays a top, front and side view of a 3D scatterplot. Allows Statgraphics to function as 3D plotting software.

3D Scatter Plot Software DataSource: Any. 


3D Plotting Software Read/Write Properties
Name Type Description Possible Values Default Value
gap double The proportion of the plotting space left blank around each side of the cells of the plot. 0.0-0.25 0.1
missingValueExclusion String The method for handling records which contain missing values. "Columnwise","Casewise",
smootherColor Color Color for drawing the smooth. Any valid color. Color.blue
smootherPercentage int Width of the smoother as a percentage of the number of observations. 1-99 50
smootherType String Type of smoother, if any, to be added to the plot. "None",
"Running Means",
"Running Lines",
"Robust LOWESS"
xVariableName String The name of the column with data values to be plotted on the X axis. Any string. "X"
yVariableName String The name of the column with data values to be plotted on the Y axis. Any string. "Y"
zVariableName String The name of the column with data values to be plotted on the Z axis. Any string. "Z"

Other properties for this 3D scatter plot software are inherited from the java.awt.Canvas class and from the general GraphicalStatbean class.

3D Plotting Software Code Sample

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

//set the file name to be read 

//create a plot bean 
DraftsmansPlot draftsmansPlot1 = new STATBEANS.DraftsmansPlot(); 

//set the columns names 

//set smoother type 
draftsmansPlot1.setSmootherType("Robust Lowess"); 

//add plot 

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

//instruct the fileDataSource bean to read the file