Learn R Programming

IOHanalyzer (version 0.1.8.10)

plot_eaf_data: Create EAF-based polygon plots

Description

Create EAF-based polygon plots

Usage

plot_eaf_data(
  df,
  maximization = F,
  scale.xlog = F,
  scale.ylog = F,
  scale.reverse = F,
  p = NULL,
  x_title = NULL,
  xmin = NULL,
  xmax = NULL,
  ymin = NULL,
  ymax = NULL,
  y_title = NULL,
  plot_title = NULL,
  subplot_attr = NULL,
  show.colorbar = F,
  subplot_shareX = F,
  dt_overlay = NULL,
  ...
)

Value

An EAF plot

Arguments

df

The dataframe containing the data to plot. This should come from `generate_data.EAF`

maximization

Whether the data comes from maximization or minimization

scale.xlog

Logarithmic scaling of x-axis

scale.ylog

Logarithmic scaling of y-axis

scale.reverse

Decreasing or increasing x-axis

p

A previously existing plot on which to add traces. If NULL, a new canvas is created

x_title

Title of x-axis. Defaults to x_attr

xmin

Minimum value for the x-axis

xmax

Maximum value for the x-axis

ymin

Minimum value for the y-axis

ymax

Maximum value for the y-axis

y_title

Title of x-axis. Defaults to x_attr

plot_title

Title of x-axis. Defaults to no title

subplot_attr

Which attribute of the dataframe to use for creating subplots

show.colorbar

Whether or not to include a colorbar

subplot_shareX

Whether or not to share X-axis when using subplots

dt_overlay

Dataframe containing additional data (e.g. quantiles) to plot on top of the EAF. This should have a column labeled 'runtime'. The other columsn will all be plotted as function values.

...

Additional parameters for the add_trace function

Examples

Run this code
if (FALSE) {
plot_eaf_data(generate_data.EAF(subset(dsl, ID==get_id(dsl)[[1]])), maximization=T)
}

Run the code above in your browser using DataLab