General function for plotting within IOHanalyzer
plot_general_data(
df,
x_attr = "ID",
y_attr = "vals",
type = "violin",
legend_attr = "ID",
scale.xlog = F,
scale.ylog = F,
scale.reverse = F,
p = NULL,
x_title = NULL,
y_title = NULL,
plot_title = NULL,
upper_attr = NULL,
lower_attr = NULL,
subplot_attr = NULL,
show.legend = F,
inf.action = "none",
violin.showpoints = F,
frame_attr = "frame",
symbol_attr = "run_nr",
subplot_shareX = F,
line.step = F,
...
)
The dataframe containing the data to plot. It should contain at least two columns: 'x_attr' and 'y_attr'
The column to specify the x_axis. Default is 'algId'
The column to specify the y_axis
The type of plot to use. Currently available: 'violin', 'line', 'radar', 'bar', hist' and 'ribbon'
Default is 'algId' This is also used for the selection of colorschemes
Logarithmic scaling of x-axis
Logarithmic scaling of y-axis
Decreasing or increasing x-axis
A previously existing plot on which to add traces. If NULL, a new canvas is created
Title of x-axis. Defaults to x_attr
Title of x-axis. Defaults to x_attr
Title of x-axis. Defaults to no title
When using ribbon-plot, this can be used to create a shaded area. Only works in combination with`lower_attr` and `type` == 'ribbon'
When using ribbon-plot, this can be used to create a shaded area. Only works in combination with`upper_attr` and `type` == 'ribbon'
Which attribute of the dataframe to use for creating subplots
Whether or not to include a legend
How to deal with infinite values. Can be 'none', 'overlap' or 'jitter'
Wheteher or not to show individual points when making a violinplot
Which attribute of the dataframe to use for the time element of the animation
Which attribute of the dataframe to use for the scatter symbol
Whether or not to share X-axis when using subplots
Whether to plot lines as a step-function (T) or as linear interpolation (F, default)
Additional parameters for the add_trace function