"Fill" in Matlab ???

  • Follow


Hello everybody, I have a problem with "fill" in Matlab. Actually, I want to plot a graph like the following figure :
[IMG]http://img6.imageshack.us/img6/9721/99565321.jpg[/IMG]
But, I just plot the graph like that :
[IMG]http://img693.imageshack.us/img693/7799/79909119.jpg[/IMG]
I wonder how I can "fill" the graph as the first figure.
Thanks for all your helps. 
0
Reply Tran 12/11/2009 2:04:21 PM

"Tran Ho  Phu" <tranhophu@yahoo.com.vn> wrote in message <hftjh5$64j$1@fred.mathworks.com>...
> Hello everybody, I have a problem with "fill" in Matlab. Actually, I want to plot a graph like the following figure :
> http://img6.imageshack.us/img6/9721/99565321.jpg
> But, I just plot the graph like that :
> http://img693.imageshack.us/img693/7799/79909119.jpg
> I wonder how I can "fill" the graph as the first figure.
> Thanks for all your helps. 
0
Reply Tran 12/11/2009 2:19:19 PM


"Tran Ho  Phu" <tranhophu@yahoo.com.vn> wrote in message <hftkd7$1cu$1@fred.mathworks.com>...
> "Tran Ho  Phu" <tranhophu@yahoo.com.vn> wrote in message <hftjh5$64j$1@fred.mathworks.com>...
> > Hello everybody, I have a problem with "fill" in Matlab. Actually, I want to plot a graph like the following figure :
> > http://img6.imageshack.us/img6/9721/99565321.jpg
> > But, I just plot the graph like that :
> > http://img693.imageshack.us/img693/7799/79909119.jpg
> > I wonder how I can "fill" the graph as the first figure.
> > Thanks for all your helps. 

>>doc fill

>> fill(x,y,rand(20,1))
0
Reply Sean 12/11/2009 6:45:37 PM

2 Replies
545 Views

(page loaded in 0.029 seconds)

Similiar Articles:













7/22/2012 6:22:18 PM


Reply: