Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: reorder legend items
Date: Sat, 1 Nov 2008 03:55:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 11
Message-ID: <gegjuo$qko$1@fred.mathworks.com>
References: <gegina$eds$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1225511704 27288 172.30.248.37 (1 Nov 2008 03:55:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 1 Nov 2008 03:55:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1477385
Xref: news.mathworks.com comp.soft-sys.matlab:498382


Sure you can change that by giving each graphic object a handle then using the Legend form
                    legend(h,'string1','string2',...)

for example

h1=plot(a,b)
h2=findojb('color','g')

legend([h2, h1],'green plot','something')