Displaying 1 result from an estimated 1 matches for "xversus".
Did you mean:
versus
2011 Nov 01
1
Superimpose xversus y plot on a histogram of x
I need a plot with a histogram z and a plot of z versus y superimposed.
This is not working...
z = rnorm(1000)
y = rnorm(1000,1,2)
hist(z)
dx = plot(z, y, lwd = 1)
lines(dx, add=TRUE)
--
Thanks,
Jim.
[[alternative HTML version deleted]]