Forum Discussion
ross27
9 years agoAdvocate II
R Visual with transparent background
Is it possible to create an R-Visual with a transparent background i.e. so that you can see an image added to the page background behing the plot the R-Visual generates? Specifically I'm using gg...
- 7 years ago
I don't know whether this will work with ggplot2 but in a visual I made based on the fmsb package I was able to work around this issue by using the par() function before the plotting was called:
# generic par function for graphical elements, call before the plotting
par(bg="transparent")
# this is wear the plotting of the visual actually happens radarchart(data)
ankitpatira
9 years agoCommunity Champion
ross27
9 years agoAdvocate II
Thanks Ankit. I do have that option set, but it just produces the result Herbert describes below.