Re: [R] childNames for xaxis grob (grid package)

2008-07-10 Thread Tobias Verbeke
Hi Paul, Can someone explain why the childNames below gives character(0) instead of the (canonical) names of the children grobs of the xaxis gTree ? [1] "major" "ticks" "labels" The problem is that you xaxis has an 'at' component of NULL, which means that the axis calculates its tick mar

Re: [R] childNames for xaxis grob (grid package)

2008-07-09 Thread Paul Murrell
Hi Tobias Verbeke wrote: > Dear list, > > Can someone explain why the childNames below > gives > > character(0) > > instead of the (canonical) names of the children grobs > of the xaxis gTree ? > > [1] "major" "ticks" "labels" The problem is that you xaxis has an 'at' component of NULL, w

[R] childNames for xaxis grob (grid package)

2008-07-09 Thread Tobias Verbeke
Dear list, Can someone explain why the childNames below gives character(0) instead of the (canonical) names of the children grobs of the xaxis gTree ? [1] "major" "ticks" "labels" Many thanks in advance, Tobias ### minimal example code ### library(grid) pushViewport(plotViewport(c(5,4,4,2