From: <HIDDEN>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webcrossing
Newsgroups: comp.soft-sys.matlab
Subject: Re: Changing Legend transparency
Message-ID: <ef46a6c.6@webcrossing.raydaftYaTP>
Date: Thu, 23 Nov 2006 10:43:02 -0500
References: <m3odqy20y9.fsf@ieee.org> <45658ece$1_1@glkas0286.greenlnk.net> <m3slgaz1ct.fsf@ieee.org> <4565b135$1_1@glkas0286.greenlnk.net>
Lines: 15
NNTP-Posting-Host: 194.167.95.4
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:380129



Hi,

here are all the properties you need :

x = -pi:pi/20:pi;
plot(x,cos(x),'-ro',x,sin(x),'-.b')
h = legend('cos','sin',2);

set(h,'box','on', ...
'color','y', ...
'ycolor','m', ...
'xcolor','b', ...
'visible','on')

Jérôme