drawing patch to obscure lines



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
.



Relevant Pages

  • Re: drawing patch to obscure lines
    ... i have some lines drawn on axes using the standard 'plot' ... transparent shading _over_ the lines at a certain point such ... showing up as an overlay of the plotted lines. ... expecting here is that the patch will 'dim' the plotted ...
    (comp.soft-sys.matlab)
  • Re: Layers of graphic objects
    ... a patch produced by 'pcolor' command ... to axes and uicontrols. ... E.g. images have no Z-coordinate and if the ...
    (comp.soft-sys.matlab)
  • Re: A Matlab question on Patch
    ... I am new to matlab GUI. ... push-buttons to rotate the model. ... patch in some direction, please. ... human brain) into one axes of my figure. ...
    (comp.soft-sys.matlab)
  • Re: patch holds plot irrevocably
    ... in my plot axes without clearing the previous plot. ... textand some surface creations. ... Unlike high-level area creation functions, such as fill or area, patch does not check ... the settings of the figure and axes NextPlot properties. ...
    (comp.soft-sys.matlab)
  • Re: UNMOUNTABLE_BOOT_VOLUME
    ... Windows XP sometimes has issues with overlay software. ... An easier way to read newsgroup messages: ... > that I can not start the coputer to get the patch. ... Any ideas on how to fix this problem? ...
    (microsoft.public.windowsxp.hardware)