From: Assaf Weinstein on
Hi,

I have two graphs, f and g, plotted in one figure. I want to color the area bounded between those two graphs in, say, gray. What is the easiest way to do this? (I tried to look in the Area() function, but this wasn't very simple for me to use..).

Thanks a lot,

Asaf
From: Steven Lord on

"Assaf Weinstein" <assafweinstein_remove.this(a)gmail.com> wrote in message
news:i0hec3$m6i$1(a)fred.mathworks.com...
> Hi,
>
> I have two graphs, f and g, plotted in one figure. I want to color the
> area bounded between those two graphs in, say, gray. What is the easiest
> way to do this? (I tried to look in the Area() function, but this wasn't
> very simple for me to use..).

Look at the FILL function.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com


From: Assaf Weinstein on
"Steven Lord" <slord(a)mathworks.com> wrote in message <i0im2n$nuo$1(a)fred.mathworks.com>...
>
> "Assaf Weinstein" <assafweinstein_remove.this(a)gmail.com> wrote in message
> news:i0hec3$m6i$1(a)fred.mathworks.com...
> > Hi,
> >
> > I have two graphs, f and g, plotted in one figure. I want to color the
> > area bounded between those two graphs in, say, gray. What is the easiest
> > way to do this? (I tried to look in the Area() function, but this wasn't
> > very simple for me to use..).
>
> Look at the FILL function.
>
> --
> Steve Lord
> slord(a)mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com
>
--Thanks so much.. got it.

Asaf