search for: resc_gt

Displaying 7 results from an estimated 7 matches for "resc_gt".

2011 Aug 19
2
Auto key legend does not match plot
...;. However when i use autokey to make a legend the size (cex) and symbol (pch) do not match what is on the dotplot. Code is below and image attached library("lattice") Cal_dat <- read.table("Calibration2.dat",header = TRUE,sep = "\t",) dotplot(reorder(Label.yr, Resc_Gt)~ Resc_Gt,groups=Commodity, data=Cal_dat,cex=1.5, pch=19,aspect="xy", auto.key=list(space="right",title="Commodity")) Any assistance appreciated http://r.789695.n4.nabble.com/file/n3756245/Ranked_boxplot_by_commodity.png -- View this message in context: http://r....
2011 Sep 15
1
Colour code y-axis labels on a dot plot
...t;), 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), cex=sym.siz, col...
2011 Sep 15
1
Move the x-axis labels to the top of the dotplot
Dear R helpers I would like to move the x-axis labels, which plot automatically at the base of a dot plot to the top of the plot. Is there a way to do this? Code snippet below 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), cex=sym.siz, col = "black", fill = col.pat, alpha=0.6, legend = list(inside = list(fun = mkey,...
2011 Aug 21
1
Dot plot with two grouping variables concurrently
...rellis.par.set( dot.line=list(col = "transparent"), axis.line=list(col = "grey90"), axis.text=list(col ="grey50", cex=0.8), panel.background=list(col="grey98"), par.xlab.text= list(col="grey50") ) ## Create the dot plot dotplot(reorder(Mine, Resc_Gt)~ Resc_Gt,groups=Commodity, data=Cal_dat, cex=1.2, pch=21, aspect=2.0, key=plot.key, col="black", fill=col.pat, origin=0, type = c("p", "h"), main = "Resource Tonnage", xlab= "tonnes (billions)" ) The dot plot so far is attached a...
2011 Sep 01
1
Background fill and border for a legend in dotplot
...quot;grey50", cex=0.8), panel.background=list(col="transparent"), par.xlab.text= list(col="grey50"), ) ## Create the dot plot #---------------------------------------------------------------------------------------- with(Cal_dat, dotplot(reorder(paste(Mine,Company), Resc_Gt) ~ Resc_Gt, fill_var = Commodity, pch_var = factor(Year), cex=1.2, pch = c(21, 22, 23), col = "black", fill = col.pat, aspect = 2.0, alpha=0.6, legend = list(inside = list(fun = mkey,corner =...
2011 Sep 10
0
Mutiple vertical reference lines with a dotplot
Dear R helpers I would like to plot vertical reference lines for yearly averages the variable being plotted. In this case there are three years 2002, 2009 and 2010 for a variable Resc_Gt. I've attempted to get the 2002 mean plotting (2.27) using the 'abline' command but no joy. Ideally I would like to be able to compute and plot the means of the three years automatically using a function rather than computing and plotting manually. The next challange will be to get...
2011 Sep 15
1
Move the main titel to the left of the plot
...e the main title, which appears on a dotplot to be right aligned with the left axis. Is there are parameter associated with dotplot 'main' that allows the title to be placed where I want it? Code snippet relating to dotplot is below. 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), cex=sym.siz, col = "black", fill = col.pat, alpha=0.6, legend = list(inside = list(fun = mkey,...