Hi all
i need to put on one graph 2 functions who's x axis is the same and y not.
I mean on horizontal the time, and on vertical left: pressure, on vertical
right: rpm of a motor, is R able to do that?
i've found this that i could adapt maybe (i don't need time series really?) :/ :
Hi,
Search the list, you might be able to find the message but here it is.
Copied From Dr. Brian Ripley's post
x - 1:10
y - rnorm(10)
z - runif(10, 1000, 1)
par(mar=c(5,4,4,4) + 0.1) # Leave space for z axis
plot(x, y)
par(new=T)
plot(x, z, type=l, axes=F, bty=n, xlab=, ylab=)