Please see the code below, is not allowing me to save the plot as an object to later add multiple plots in one figure and neither add the title using the function "main". Any help would be appreciated
plot.new()
draw version pie chart first
version_chart <-
floating.pie(
xpos = center_x,
ypos = center_y,
x = version_data$Aromatic3,
radius = 0.35,
border = "white",
col = version_colors,
)
add labels for version pie chart
pie.labels(
x = center_x,
y = center_y,
angles = version_chart,
labels = version_labels,
radius = 0.38,
bg = NULL,
cex = 0.8,
font = 2,
col = "gray40"
)
overlay browser pie chart
browser_chart <-
floating.pie(
xpos = center_x,
ypos = center_y,
x = browser_data$x,
radius = 0.25,
border = "white",
col = browser_colors
)
add labels for browser pie chart
pie.labels(
x = center_x,
y = center_y,
angles = browser_chart,
labels = browser_data$var_aromatic,
radius = 0.125,
bg = NULL,
cex = 0.8,
font = 2,
col = "white"
)
Please see the code below, is not allowing me to save the plot as an object to later add multiple plots in one figure and neither add the title using the function "main". Any help would be appreciated
plot.new()
draw version pie chart first
version_chart <-
floating.pie(
xpos = center_x,
ypos = center_y,
x = version_data$Aromatic3,
radius = 0.35,
border = "white",
col = version_colors,
)
add labels for version pie chart
pie.labels(
x = center_x,
y = center_y,
angles = version_chart,
labels = version_labels,
radius = 0.38,
bg = NULL,
cex = 0.8,
font = 2,
col = "gray40"
)
overlay browser pie chart
browser_chart <-
floating.pie(
xpos = center_x,
ypos = center_y,
x = browser_data$x,
radius = 0.25,
border = "white",
col = browser_colors
)
add labels for browser pie chart
pie.labels(
x = center_x,
y = center_y,
angles = browser_chart,
labels = browser_data$var_aromatic,
radius = 0.125,
bg = NULL,
cex = 0.8,
font = 2,
col = "white"
)