Hi all,
Apologies in advance if this is really too simple, but I have given a
good shot at this. I'm generating a standard uniform distibution
y - dunif(x)
plot(x,y,type=l)
This will draw a horizontal line at y = 1. I want to fill the area from
x=(0,1) with a color. I've tried the
David Kaplan wrote:
Hi all,
Apologies in advance if this is really too simple, but I have given a
good shot at this. I'm generating a standard uniform distibution
y - dunif(x)
plot(x,y,type=l)
This will draw a horizontal line at y = 1. I want to fill the area from
x=(0,1) with a color.
Yep. That's it. Thanks.
David
Peter Dalgaard wrote:
David Kaplan wrote:
Hi all,
Apologies in advance if this is really too simple, but I have given a
good shot at this. I'm generating a standard uniform distibution
y - dunif(x)
plot(x,y,type=l)
This will draw a horizontal line
3 matches
Mail list logo