Re: [R] [FORGED] Re: Change the position of label when using R package eulerr

2018-09-17 Thread Aimin Yan
Yes, it does. Thank you. Aimin On Sun, Sep 16, 2018 at 11:00 PM Paul Murrell wrote: > Hi > > The 'x' component of the 't' grob that you get back from grid.get() is a > unit object, which you can subset and assign to a subset, for example > this code nudges the fourth label up and to the right

Re: [R] [FORGED] Re: Change the position of label when using R package eulerr

2018-09-16 Thread Paul Murrell
Hi The 'x' component of the 't' grob that you get back from grid.get() is a unit object, which you can subset and assign to a subset, for example this code nudges the fourth label up and to the right 1mm in each direction ... x <- t$x y <- t$y x[4] <- t$x[4] + unit(1, "mm") y[4] <- t$y[4]