search for: ave_dat

Displaying 3 results from an estimated 3 matches for "ave_dat".

Did you mean: save_date
2011 Sep 15
1
Move the x-axis labels to the top of the dotplot
...xlab= "Total tonnes (billions)", panel = function(x, y, ..., subscripts, fill, pch, fill_var, pch_var) { pch <- pch[pch_var[subscripts]] fill <- fill[fill_var[subscripts]] panel.ablineq(v=log(ave_dat[1,2]),col="grey60", lty=1, rotate= TRUE,label="2002", at=0.40) panel.ablineq(v=log(ave_dat[2,2]),col="grey60", lty=1, rotate= TRUE,label="2009", at=0.50) panel.ablineq(v=log(ave_dat[3,2]),col="grey60", lty=1, rotate= TRUE,label="201...
2011 Sep 15
1
Colour code y-axis labels on a dot plot
...ne=list(col = "grey50"), axis.text=list(col ="grey50", cex=0.8), panel.background=list(col="transparent") ) ## Create the dot plot #---------------------------------------------------------------------------------------- # some mean values for reference lines first ave_dat<-aggregate(Cal_dat$Resc_Gt, by = list(Cal_dat$Year),mean) # create the plot with(Cal_dat, dotplot(reorder(paste(Mine,Company), Resc_Gt) ~ Resc_Gt, fill_var = Commodity, pch_var = factor(Year), xlab_var = factor(Company), pch = c(21, 22, 23),...
2011 Sep 15
1
Move the main titel to the left of the plot
...xlab= "Total tonnes (billions)", panel = function(x, y, ..., subscripts, fill, pch, fill_var, pch_var) { pch <- pch[pch_var[subscripts]] fill <- fill[fill_var[subscripts]] panel.ablineq(v=log(ave_dat[1,2]),col="grey60", lty=1, rotate= TRUE,label="2002", at=0.40) panel.ablineq(v=log(ave_dat[2,2]),col="grey60", lty=1, rotate= TRUE,label="2009", at=0.50) panel.ablineq(v=log(ave_dat[3,2]),col="grey60", lty=1, rotate= TRUE,label="201...