Re: [R] ggarrange & legend

2024-02-06 Thread Paul Murrell
t;> labels = c("(A)", "(B)"), font.label = list(size = 18, color = "black"), >> ncol=2) >> >> fig1 >> >> >> >> 1. My question is how I can position the legend on the topright of >> the top axis. However, “topright”

Re: [R] ggarrange & legend

2024-02-05 Thread John Kane
>> fig1 >> >> >> >>1. My question is how I can position the legend on the topright of >>the top axis. However, “topright” is not a common label for legend in >>ggarrange (but in other plot functions), so legend =”topright” is not >>w

Re: [R] ggarrange & legend

2024-02-05 Thread Ebert,Timothy Aaron
x = min(mtcars$wt) + 23, y = max(mtcars$mpg) - 10, label = "Custom Text") Tim -Original Message- From: R-help On Behalf Of SIBYLLE STÖCKLI via R-help Sent: Monday, February 5, 2024 8:43 AM To: 'John Kane' Cc: r-help@r-project.org Subject: Re: [R] ggarrange & legend [Ext

Re: [R] ggarrange & legend

2024-02-05 Thread John Kane
ist=mylist, common.legend = TRUE, legend="topright", > labels = c("(A)", "(B)"), font.label = list(size = 18, color = "black"), > ncol=2) > > fig1 > > > > Kind regards > > Sibylle > > > > *From:* John Kane > *Sent:*

Re: [R] ggarrange & legend

2024-02-05 Thread SIBYLLE STÖCKLI via R-help
uot;black"), ncol=2) fig1 Kind regards Sibylle From: John Kane Sent: Monday, February 5, 2024 1:59 PM To: sibylle.stoec...@gmx.ch Cc: r-help@r-project.org Subject: Re: [R] ggarrange & legend Could you supply us with a MWE (minimal working example)of what you have so far?

Re: [R] ggarrange & legend

2024-02-05 Thread John Kane
Could you supply us with a MWE (minimal working example)of what you have so far? Thanks. On Mon, 5 Feb 2024 at 05:00, SIBYLLE STÖCKLI via R-help < r-help@r-project.org> wrote: > Dear R community > > It is possible to adjust the legend in combined ggplots using ggarrange > with > be positions

[R] ggarrange & legend

2024-02-05 Thread SIBYLLE STÖCKLI via R-help
Dear R community It is possible to adjust the legend in combined ggplots using ggarrange with be positions top, bottom, left and right. My question: Is there a function to change the position of the legend to topright or bottomleft? Right and top etc are in the middle of the axis. Kind regards