Package weka.gui.visualize
Class VisualizeUtils
java.lang.Object
weka.gui.visualize.VisualizeUtils
This class contains utility routines for visualization
- Version:
- $Revision: 13476 $
- Author:
- Mark Hall (mhall@cs.waikato.ac.nz)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Defaults for the 2D scatter plot and attribute bars -
Field Summary
Modifier and TypeFieldDescriptionstatic int
Default maximum precision for the display of numeric values -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Color
processColour
(String colourDef, Color defaultColour) Parses a string containing either a named colour or r,g,b values.
-
Field Details
-
MAX_PRECISION
public static int MAX_PRECISIONDefault maximum precision for the display of numeric values
-
-
Constructor Details
-
VisualizeUtils
public VisualizeUtils()
-
-
Method Details
-
processColour
Parses a string containing either a named colour or r,g,b values.- Parameters:
colourDef
- the string containing the named colour (or r,g,b)defaultColour
- the colour to return if parsing fails- Returns:
- the Color corresponding to the string.
-