public class ChartGNUPlot extends Object
Constructor and Description |
---|
ChartGNUPlot() |
Modifier and Type | Method and Description |
---|---|
static GINsimPlot |
getConvergence(double[][] dataset,
List<String> names,
int space,
String title,
String xaxis,
String yaxis)
Creates a chart based on the convergence of probabilities per attractor
|
static GINsimPlot |
getErrorBars(Map<String,List<Integer>> depths,
Map<String,String> names,
String title,
String xaxis,
String yaxis)
Creates a chart with statistics on the depth for a list of attractors
|
static GINsimPlot |
getProgression(List<double[]> progression,
String title,
String xaxis,
String yaxis)
Creates a chart based on the progression of probabilities per state-set (F,
N, A)
|
static void |
writePNGFile(BufferedImage img,
File file)
Saves a given image in a PNG file
|
public static void writePNGFile(BufferedImage img, File file) throws IOException
img
- the image to be savedfile
- the PNG file where the image is to be savedIOException
public static GINsimPlot getErrorBars(Map<String,List<Integer>> depths, Map<String,String> names, String title, String xaxis, String yaxis)
depths
- the list of depths at which an attractor was foundtitle
- the title of the plotxaxis
- the x-axis labelyaxis
- the y-axis labelpublic static GINsimPlot getConvergence(double[][] dataset, List<String> names, int space, String title, String xaxis, String yaxis)
dataset
- the evolution of probabilities per attractor as the number of
iterations increasesnames
- space
- number of iterations between two measured pointstitle
- the title of the plotxaxis
- the x-axis labelyaxis
- the y-axis labelpublic static GINsimPlot getProgression(List<double[]> progression, String title, String xaxis, String yaxis)
progression
- the evolution of probabilities as the number of iterations
increasestitle
- the title of the plotxaxis
- the x-axis labelyaxis
- the y-axis labelCopyright © 2005–2020. All rights reserved.