From: Atreyee Bhattacharya on 3 Jun 2010 16:33 Hi I need to shade the area between two curves ( representated by two columns in a data set). on a plot and I can't seem to be able to do this. Any suggestions? Thanks a ton A
From: Steven Lord on 3 Jun 2010 16:59 "Atreyee Bhattacharya" <bhattac(a)fas.harvard.edu> wrote in message news:hu93i2$a1r$1(a)fred.mathworks.com... > Hi > > I need to shade the area between two curves ( representated by two columns > in a data set). on a plot and I can't seem to be able to do this. Any > suggestions? HELP FILL. -- 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: Alan B on 3 Jun 2010 17:00 "Atreyee Bhattacharya" <bhattac(a)fas.harvard.edu> wrote in message <hu93i2$a1r$1(a)fred.mathworks.com>... > Hi > > I need to shade the area between two curves ( representated by two columns in a data set). on a plot and I can't seem to be able to do this. Any suggestions? > > Thanks a ton > > A You can use patch() or fill(), with a little tweaking of the inputs. Or, you can use area() and remove the first graphics handle that is returned as an output variable. h=area(1:10,randn(10,2)); delete(h(1))
From: us on 3 Jun 2010 17:22 "Atreyee Bhattacharya" <bhattac(a)fas.harvard.edu> wrote in message <hu93i2$a1r$1(a)fred.mathworks.com>... > Hi > > I need to shade the area between two curves ( representated by two columns in a data set). on a plot and I can't seem to be able to do this. Any suggestions? > > Thanks a ton > > A this may be helpful http://www.mathworks.com/matlabcentral/fileexchange/19436 us
|
Pages: 1 Prev: Turning off axis tick labels using Matlab code Next: fnval and cubic splines (pp) |