From: Yafang Cheng on 21 Jun 2010 14:17 "C Muir" <wavelength(a)NOSPAM.yahoo.com> wrote in message <ef11486.-1(a)webx.raydaftYaTP>... > I'm using MATLAB 7.0 > > No matter how I create a bar plot, it comes up in blue. > > e.g. > > x = -2.9:0.2:2.9; > bar(x,exp(-x.*x),'r') > > plots in blue no matter what I make the color switch. > Any ideas? is this a bug? Sometime, it is due to that your data sampling is too dense, and you might need to change both 'FaceColor' and 'EdgeColor'.
From: us on 21 Jun 2010 15:19 "Yafang Cheng" <yafang.cheng(a)gmail.com> wrote in message <hvoabj$d9f$1(a)fred.mathworks.com>... > "C Muir" <wavelength(a)NOSPAM.yahoo.com> wrote in message <ef11486.-1(a)webx.raydaftYaTP>... > > I'm using MATLAB 7.0 > > > > No matter how I create a bar plot, it comes up in blue. > > > > e.g. > > > > x = -2.9:0.2:2.9; > > bar(x,exp(-x.*x),'r') > > > > plots in blue no matter what I make the color switch. > > Any ideas? is this a bug? > > Sometime, it is due to that your data sampling is too dense, and you might need to change both 'FaceColor' and 'EdgeColor'. well... i'm sure mr/mrs/miss c muir, who posted his/her problem on 17 Aug, 2005, at 14:53:17, ie, approx 5 years ago, sincerely appreciates this solution - if(f) he/she's still alive, of course... :-) us
|
Pages: 1 Prev: reading dates into excel Next: Simulink 3D Animation Joystick |