I have a faceted plot and I want to plot on each facet a different grob (say a table with summary statistics). I tried to use ggpmisc::geom_grob putti ...
I have a faceted plot and I want to plot on each facet a different grob (say a table with summary statistics). I tried to use ggpmisc::geom_grob putti ...
I'd like to add an annotation to my geom_density_ridges() plot which inidicates the defined limit for scale_x_continous() In the example below there ...
I have two plot lists, each one with 3 graphs, made with ggplot: plot_list1: plot_list2: I would like to combine them in a single list, where all ...
I do not get to add a png background to my plot when using the facet_wrap option. Any idea what should work? my data is here plot without backgrou ...
I want to create a facet-like effect with ggExtra::ggMarginal plots. This is not yet directly possible, so I tried to use patchwork::wrap_plots, cowpl ...
I'm using grid graphics in order to position strip labels on a facet_wrap similar to facet_grid (like this question), and am using the code provided i ...
I am having trouble understanding how grobs are being placed into the plotting area. Here's an example of what I mean. Let's assume I have the followi ...
How can I change the facet_wrap() strip position as it has shown in below picture? The data frames is from this question. enter image description here ...
I've made a Kaplan Meier plot using ggplot2 that denotes the disease-free survival (in %) between 3 groups of patients: those unexposed to a risk fact ...
I would like to graph a table in R where I highlight a value with a condition of 'less than 2' in Red, for example. Any help on how I can do this? ...
I have a question very similar to what discussed here: Adding text to a grid.table plot my ultimate goal however is to have a title 60mm from the top ...
This is a follow up to my previous question where I was looking for a solution to get the axis drawn first, then the data. The answer works for that s ...
0 Forgive my stupid to disturb you again. @teunbrand answered my question yesterday and I used it in my real data but it doesn’t work . Here is my ...
I have created the following function which takes a data frame and outputs multiple plots: How do I put the graphic objects in a list as I create t ...
This is a follow up problem to this question. The OP asked for a way to arrange parts of a plot in specific distances. I think teunbrand gave a very g ...
I would like to create a Shiny document which shows two grobs alongside one another and would like the text inside each grob to be the selected value ...
I am trying to use annotate_custom to create lines outside of my plot to divide my axis into sections. I am aware of this post that asks a similar que ...
I would like to generate multiple plots using marginplot() (VIM package) and then arrange them into one big figure. I tried to use grid.arrange (grid/ ...
Update The below code runs now after kernel restart. I'm leaving the question since I didn't see this exact method of converting the plot object into ...
I'm trying to add a border to a rectangular png image (found here) I've added to a ggplot, with positioning specified using npc. Looks like this in ...