Path: news.mathworks.com!not-for-mail
From: "Buffy Summers" <offdar@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: help with graph
Date: Wed, 1 Aug 2007 17:58:38 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 1
Message-ID: <f8qhke$rhe$1@fred.mathworks.com>
Reply-To: "Buffy Summers" <offdar@gmail.com>
NNTP-Posting-Host: webapp-01-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1185991118 28206 172.30.248.36 (1 Aug 2007 17:58:38 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 1 Aug 2007 17:58:38 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1071558
Xref: news.mathworks.com comp.soft-sys.matlab:422081


I need to make a bar graph. I have 3 values. each value needs a bar in a different color with a differnt name. in the bar command, if I do X=[1 2 3] and than bar(X) I get 3 bars in the same color and i can't change to 3 different color. I also would like to add the group name under each value. Can someone help?