Displaying 4 results from an estimated 4 matches for "mainlabel".
2010 Mar 08
1
(box-) plot annotation: italic within paste?
...Acrobeloides <-c(0.0,9.8,76.7,51.1,93.9,43.9)
Alaimus <-c(0.0,4.9,0.0,0.0,0.0,6.3)
Aphelenchoides <-c(126.5,29.3,76.7,134.1,176.7,87.9)
x<-data.frame(Acrobeles,Acrobeloides,Alaimus,Aphelenchoides)
predictor <- colnames(x)
ylabel <-"Numerical abundance"
mainlabel1 <-"Boxplot for"
mainlabel2 <-"sp."
cexalabel <-1.8 # axis label
cexmlabel <-1.6 # main label
par(oma=c(6,6,3,3),mar = c(6, 4, 4, 2) + 0.1,mfrow=c(2,2))
for (i in 1:ncol(x)){
boxplot(x[,i],
main=paste(mainlabel,predictor[i],mainlabel2),ylab=paste(ylabel),cex...
2017 Nov 05
0
Change colour of line in logi.hist.plot
...r function,
... or you can add a named parameter after the dots in the outer parameter list such as:
function (independ, depend, logi.mod = 1, type = "dit", boxp = TRUE,
rug = FALSE, ylabel = "Probability", ylabel2 = "Frequency",
xlabel = "", mainlabel = "", las.h = 1, counts = FALSE, ..., col.cur = "red")
... and modify the inner function to read:
logi.curve <- function(independ, depend, mod = logi.mod,
col.cur = col.cur, lwd.cur = 4) {
> [[alternative HTML version deleted]]
>
> ______________...
2017 Nov 05
3
Change colour of line in logi.hist.plot
I am using the function logi.hist.plot in package popbio. I want to change the colour of the probability line from the default red to black. I have not been able to find out how to do that.
[[alternative HTML version deleted]]
2002 Sep 23
4
Overall Title in par(mfrow)
Hi,
Say I did something like:
par(mfrow = c(1, 2))
plot(1:10)
plot(1:10)
and I'd like to have an overall title, i.e. a title that would appear,
centered, on the top of both plots, rather than the top of the last plot.
I tried:
title("FOO", outer = T)
but it doesn't appear right. Half of the FOO is outside the figure region
and can't be seen...
Is there another