problem with transparency in Matlab

Reply

Join Date: Sep 2007
Posts: 23
Reputation: beatlea is an unknown quantity at this point 
Solved Threads: 0
beatlea beatlea is offline Offline
Newbie Poster

problem with transparency in Matlab

 
0
  #1
Nov 11th, 2008
Hello,
I am trying to make one patch transparent.
What the documentation says about making only the specified object transparent is this:
"alpha(object_handle,value) sets the transparency property only on the object identified by object_handle."

However what I get is all pathces being transparent, even though I use ALPHA with a handle to the particular patch.

My code for the transparency is like this:
pol = patch(polx,poly,[1,1,0.5]); 
alpha(pol,0.5); 
set(gcf,'Renderer','OpenGL');

Have anybody encountered such a problem before and could help please?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Legacy and Other Languages Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC