Skip to content
Prev 176579 / 398503 Next

xyplot - show values of a series on graph

not very clean, but perhaps,

xyplot(cars+trucks~year, data=df2, type="o",
  panel=function(x,y,subscripts,...){
  	panel.xyplot(x,y,subscripts=subscripts,...)
  	 
grid 
.text(unit(df2$year,"native"),unit(df2$cars,"native"),label=df2$cars,  
just="top")}
    )

baptiste
On 8 Apr 2009, at 20:25, taz9 wrote:

            
_____________________________

Baptiste Augui?

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

Phone: +44 1392 264187

http://newton.ex.ac.uk/research/emag