From: litongmu on 3 Sep 2009 10:27 Hi all, I am trying to do a surface plot on top of a quiver plot. In order to see the quiver plot, I have to add some transparency to the surface plot. But the problem is that I also have a colorbar associated with surface plot. I cannot add transparency to the colorbar. And now the color on the surface plot looks different from the color on the colorbar. So I am wondering whether anyone knows how to add transparency to the colorbar. Thanks in advance. Tongmu
From: Ashish Uthama on 3 Sep 2009 14:57 On Thu, 03 Sep 2009 14:27:16 -0400, litongmu <litongmu(a)gmail.com> wrote: > Hi all, > > I am trying to do a surface plot on top of a quiver plot. In order to > see the quiver plot, I have to add some transparency to the surface > plot. But the problem is that I also have a colorbar associated with > surface plot. I cannot add transparency to the colorbar. And now the > color on the surface plot looks different from the color on the colorbar. > So I am wondering whether anyone knows how to add transparency to the > colorbar. > > Thanks in advance. > > Tongmu See if this gives a hint: >> h=colorbar; >> colorBarh=get(h,'Children'); >> set(colorBarh,'AlphaData',.2)
|
Pages: 1 Prev: need help with exporting figures into jpgs Next: zoom bottom plot from plotyy |