From: Bo on 20 Nov 2009 16:41 Hi, I wanted to plot "bar" plot in "stack" style. I can use BaseValue property to set specific base value. But how can I plot each group on a different base value? Thanks a lot! Bo
From: Bo on 21 Nov 2009 08:45 I tried loop: ------------------- % y is 20x3 matrix % base_value is 1x20 array for i=1:20 bar(i, y(i, 1:3), 'stack', 'BaseValue', base_value(i)); end ----------------- It doesn't work. ??? Error using ==> bar at 57 X must be same length as Y. Seems can't plot bars one by one. can anybody help? Thanks a lot! "Bo " <seumit(a)163.com> wrote in message <he72dv$2c0$1(a)fred.mathworks.com>... > Hi, > > I wanted to plot "bar" plot in "stack" style. > I can use BaseValue property to set specific base value. > But how can I plot each group on a different base value? > > Thanks a lot! > > Bo
|
Pages: 1 Prev: Button Group SelectedObject property Next: arrows in streamline |