Package | Description |
---|---|
org.gicentre.utils.colour |
Colour-related utilities for use with Processing.
|
org.gicentre.utils.stat |
Utilities to support the creation of statistical graphics with Processing.
|
Modifier and Type | Method and Description |
---|---|
ColourTable |
ColourPicker.getLastColourTable()
Reports the last selected colour table.
|
static ColourTable |
ColourTable.getPresetColourTable(int type)
Creates a preset colour table scaled between default minimum and maximum values.
|
static ColourTable |
ColourTable.getPresetColourTable(int type,
float min,
float max)
Creates a preset colour table between the given values.
|
ColourTable |
CIELuv.getSequential(double hue1,
double hue2,
double saturation,
double brightness,
int numColours)
Provides a multi-hue sequential scheme using the given hues and having the given number of colours.
|
ColourTable |
CIELuv.getSequential(double hue,
double saturation,
double brightness,
int numColours)
Provides a single hue sequential scheme using the given hue and having the given number of colours.
|
ColourTable |
CIELuv.getSequential(double hue,
int numColours)
Provides a single hue sequential scheme using the given hue and having the given number of colours.
|
static ColourTable |
ColourTable.readFile(java.io.InputStream inStream)
Creates a colour table from the rules defined in the given input stream.
|
static ColourTable |
ColourTable.readFile(java.lang.String fileName)
Creates a colour table from the rules defined in the file with the given name.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ColourTable.writeFile(ColourTable colourTable,
java.io.OutputStream outStream)
Writes the given colour table out as a file using the given output stream.
|
static boolean |
ColourTable.writeFile(ColourTable colourTable,
java.lang.String fileName)
Writes the given colour table out as a file using the given name.
|
Constructor and Description |
---|
ColourTable(ColourTable oldColourTable)
Creates a colour table based on a copy of a colour table.
|
Modifier and Type | Method and Description |
---|---|
void |
BarChart.setBarColour(float[] colourData,
ColourTable cTable)
Provides the data and colour table from which to colour bars.
|
void |
LikertChart.setColourTable(ColourTable cTable)
Sets the colour table to be used to show the Likert chart.
|
void |
XYChart.setPointColour(float[] colourData,
ColourTable cTable)
Provides the data and colour table from which to colour points.
|