Creates ERTs and convergence figures for multiple algorithms.
Function | beautify |
Customize figure format. |
Function | ecdfs |
Undocumented |
Function | fix |
a short hack to fix length of styles |
Function | generate |
Returns an array of results to be plotted. |
Function | get |
Returns figure caption for ECDF plots aggregating over function groups. |
Function | get |
Returns figure caption for single function ECDF plots. |
Function | get |
Returns figure caption for single function ECDF plots showing the results of 2+ algorithms in a single dimension. |
Function | legend |
return a fontsize scaling factor depending on the number of entries in the legend. |
Function | main |
From a DataSetList, returns figures showing the scaling: ERT/dim vs dim. |
Function | plot |
Display right-side legend. |
Function | prepare |
Undocumented |
Function | prepare |
Undocumented |
Function | providecolorsforlatex |
Provides the dvipsnames colors in pure LaTeX. |
Function | scaling |
Undocumented |
Variable | fontsize |
Undocumented |
Variable | legend |
Undocumented |
Variable | legend |
Undocumented |
Variable | refcolor |
Undocumented |
Variable | show |
Undocumented |
Variable | show |
Undocumented |
Customize figure format.
adding a legend, axis label, etc
Parameters | |
legend | Undocumented |
rightlegend | Undocumented |
bool legend | if True, display a box legend |
bool rightlegend | if True, makes some space on the right for legend |
Returns an array of results to be plotted.
Oth column is ert, 1st is the success rate, 2nd the number of successes, 3rd the mean of the number of function evaluations, and 4th the median of number of function evaluations of successful runs or numpy.nan.
Returns figure caption for single function ECDF plots showing the results of 2+ algorithms in a single dimension.
return a fontsize scaling factor depending on the number of entries in the legend.
Works currently well with fontsize 14, where a legend with up to ~30 entries will still fit into the figure.
From a DataSetList, returns figures showing the scaling: ERT/dim vs dim.
One function and one target per figure.
target can be a scalar, a list with one element or a pproc.TargetValues instance with one target.
sortedAlgs is a list of string-identifies (folder names)