Generate performance scaling figures for the constrained testbed.
The figures show the scaling of the performance in terms of ERT w.r.t. number of constraints on a log-log scale.
TODO: - docstring - example
Comments: (Paul) for now the strategy is to keep the same interface as in ppfigdim.py and implement an additional call to ppfigcons if data is from the constrained test suite
Function | beautify |
Customize figure format. |
Function | ecdfs |
Undocumented |
Function | fix |
a short hack to fix length of styles |
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 |
Function | ylim |
Undocumented |
Variable | fontsize |
Undocumented |
Variable | legend |
Undocumented |
Variable | legend |
Undocumented |
Variable | ratio |
Undocumented |
Variable | refcolor |
Undocumented |
Variable | show |
Undocumented |
Variable | show |
Undocumented |
Customize figure format.
adding a legend, axis label, etc
Parameters | |
dim | Undocumented |
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 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)