Displaying 1 result from an estimated 1 matches for "p18025066".
2008 Jun 20
5
Plotting barplot and scatterplot on same device - x-axis problem
...R mostly for graphical purpose. I have a
layout problem when plotting a scatterplot and a barplot using
par(new=TRUE). The baseline of the x-axis is not positioned equal for the
two plotting functions (see picture) and I have been unable to find out how
this is changed.
http://www.nabble.com/file/p18025066/pic.jpeg
I have added the script if this is of interrest:
par(mar = c(7, 4, 4, 2) + 0.1)
barplot(rbind(data$Asn,data$Glu,data$NH3),
beside=T,
axes=TRUE,
xlim=c(0,57),
ylim=c(0,10))
par(new=TRUE)
plot(1:14,data$Acidification.time,
axes=FALSE,
type="b",
xlab="",
ylab...