drawing patch to obscure lines
- From: "Bryan " <cssmwbs@xxxxxxxxx>
- Date: Wed, 30 Apr 2008 18:55:05 +0000 (UTC)
hi all,
i have some lines drawn on axes using the standard 'plot'
function. now i want to use 'patch' to overlay a
transparent shading _over_ the lines at a certain point such
that it shades (and somewhat obscures) the lines underneath.
here is what i have tried so far:
figure, plot(rand(10));
verts1 = [1 .5; 10 .5; 10 1; 1 1];
faces1 = [1 2 3 4];
patch('faces',faces1,'vertices',verts1,'edgecolor','none',...
'facecolor',[.65 .65 .65],'facealpha',.25)
while this works to shade the axes, it is not actually
showing up as an overlay of the plotted lines. what i am
expecting here is that the patch will 'dim' the plotted
lines in the range [0.5 : 1]. any hints on how i might be
able to accomplish this?
thanks in advance,
bryan
.
- Follow-Ups:
- Re: drawing patch to obscure lines
- From: Walter Roberson
- Re: drawing patch to obscure lines
- From: matt dash
- Re: drawing patch to obscure lines
- Prev by Date: Re: medical image to array in mfile
- Next by Date: Re: instant-update scrollbar?
- Previous by thread: Invalid Maple MEX-file
- Next by thread: Re: drawing patch to obscure lines
- Index(es):
Relevant Pages
|