Re: [R] adding line to spinogram/histogram/etc solved

2006-05-17 Thread Achim Zeileis
Viktor, what you said below was all correct for the specific situation you looked at, to get more of a general overview, look at some of the vignettes in the grid package vignette(package = grid) particularly grid and viewport and then maybe at vignette(package = vcd) which explains some of

Re: [R] adding line to spinogram/histogram/etc solved

2006-05-16 Thread Viktor Tron
Thanks loads, extremely useful. So just for the record again. You have to get into the viewport that contains the actual graphplot with the axes. So, how you do it: 1. viewports have names. In case of histograms the relevant viewport is something like plotA.panel.X.Y.vp where A is the plot