Displaying 6 results from an estimated 6 matches for "fill_var".
2011 Sep 01
1
Background fill and border for a legend in dotplot
...nel.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 = c(0.95, 0.01))),
scales = list...
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,corner = c(0.97, 0.06))),
scale...
2011 Sep 10
0
Mutiple vertical reference lines with a dotplot
...nel.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=sym.siz,
pch = c(21, 22, 23),
col = "black",
fill = col.pat,
aspect = 2.0,
alpha=0.6,
legend = list(inside = list(fun = mkey,corner = c(0.95, 0.01))),
scales =...
2011 Sep 15
1
Colour code y-axis labels on a 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 = "black",
fill = col.pat,
alpha=0.6,
legend = list(inside = list(fun = mkey,corner = c(0.97, 0.06))),
scale...
2011 Sep 15
1
Move the main titel to the left of the plot
...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,corner = c(0.97, 0.06))),
scale...
2011 Aug 25
1
Sorting order of reorder with multiple variables
...ist(col = "grey90"),
axis.text=list(col ="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), Resv_Prop) ~ Resv_Prop,
fill_var = Commodity,
pch_var = factor(Year),
cex=1.2,
pch = c(21, 22, 23),
col = "black",
fill = col.pat,
aspect = 2.0,
## key = plot.key,
legend = list(inside = list(fun = mkey, corner = c(1, 0))),...