Skip to content

Commit c30b157

Browse files
committed
update axis labels in main text Figures
1 parent d0092bb commit c30b157

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Scripts/Plot/MainText/fig1_fatConcept.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ ylim1.1 <- range(samples2[,"phi1"])*c(1, 1.15)
3333
par(mar=pm.1)
3434
plot(samples2[,"phi1"], type="l", col="gray", xlab="", ylab="", bty="l", xpd=TRUE, ylim=ylim1.1) # plot full samples of variable phi1
3535
points(samples2.max[,"phi1.i"], samples2.max[,"phi1"], col="blue", xpd=TRUE) # add circles for annual maxima of phi1
36-
mtext(bquote(phi1), side=2, line=0.75)
36+
mtext(bquote(Driver~(phi1)), side=2, line=0.75)
3737
text(x=25, y=0.85, "A", font=2)
3838

3939
par(mar=pm.1)
4040
ylim1.2 <- range(samples2[,"phi2"])*c(1, 1.15)
4141
plot(samples2[,"phi2"], type="l", col="gray", xlab="", ylab="", bty="l", xpd=TRUE, ylim=ylim1.2) # plot full samples of variable phi2
4242
points(samples2.max[,"phi2.i"], samples2.max[,"phi2"], col="red", xpd=TRUE) # add circles for annual maxima of phi2
43-
mtext(bquote(gamma), side=2, line=0.75)
43+
mtext(bquote(Driver~(gamma)), side=2, line=0.75)
4444
text(x=25, y=0.85, "B", font=2)
4545

4646
# ==========
@@ -50,7 +50,7 @@ text(x=25, y=0.85, "B", font=2)
5050
par(mar=pm.2)
5151
plot(samples2[,"X"], type="l", col="gray", xlab="", ylab="", bty="l", xpd=TRUE) # plot full samples of variable phi1
5252
points(samples2.max[,"X.i"], samples2.max[,"X"], col="black", xpd=TRUE) # add circles for annual maxima of phi1
53-
mtext(bquote(X), side=2, line=0.75)
53+
mtext(bquote(Population~(X)), side=2, line=0.75)
5454
mtext(bquote(Time), side=1, line=0.75)
5555
text(x=25, y=115, "C", font=2)
5656

@@ -86,7 +86,7 @@ mtext(bquote(Density), side=1, line=0.75)
8686
# part 4: difference in xi's between population and the environment
8787
par(mar=pm.3)
8888
colorDens(vals=list(xis[,1], xis[,2], xis[,3], (xis[,3]-(xis[,1]+xis[,2]))), cols=c("blue","red","black","green"), revxy=FALSE, yaxt="s", bty="l")
89-
mtext(bquote(xi), side=1, line=0.75)
89+
mtext(bquote(Tailedness~(xi)), side=1, line=0.75)
9090
mtext(bquote(Density), side=2, line=0.75)
9191
text(y=2.5, x=-0.75, "G", font=2)
9292

Scripts/Plot/MainText/fig2_xi_waiting.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ par(mfrow=c(2,1), mar=c(2,2.5,0.5,0.5), ps=10, cex=1, mgp=c(2, 0.4, 0), tcl=-0.3
2121
beanplot(sh_0~Type, data=data.fat, ylab="", yaxt="n", xaxt="n", border=bLine, col=beanCol, ll=0.01, beanlinewd=1.5)
2222
axis(side=2)
2323
axis(side=1, at=1:4, labels=c("Bio","Chem","Phys","Met"))
24-
mtext(bquote(xi~~from~~GEV), side=2, line=1.5)
24+
mtext(bquote(Tailedness~(xi)), side=2, line=1.5)
2525
text(0.5,1.5, "A", font=2)
2626

2727
beanplot(log10(Level2_time)~Type, data=data.fat[is.finite(data.fat[,"Level2_time"]),], log="", ylab="", xaxt="n", yaxt="n", border=bLine, col=beanCol, ll=0.01, beanlinewd=1.5)

0 commit comments

Comments
 (0)