From: Petra on 8 Jan 2010 15:37 Hi, I got this problem: I do not know how to change the background color of a simple polar plot like: polar(0,0) I can only do this in the "Property Editor" of the figure by changing the "patch face". But I do not know the syntax in the matlab code. Is there any help outside? Thank you
From: us on 8 Jan 2010 15:44 "Petra " <e.petra(a)gmx.de> wrote in message <hi851h$kt0$1(a)fred.mathworks.com>... > Hi, > I got this problem: > I do not know how to change the background color of a simple polar plot like: > polar(0,0) > > I can only do this in the "Property Editor" of the figure by changing the "patch face". > But I do not know the syntax in the matlab code. > > Is there any help outside? > > Thank you one of the solutions polar([1,2],[2,1]); ph=findall(gca,'type','patch'); set(ph,'facecolor',[1,1,0],'edgecolor',[0,0,1],'linewidth',4); us
From: Petra on 8 Jan 2010 15:55 Tanks for your help ph=findall(gca,'type','patch'); works perfectly
|
Pages: 1 Prev: Easiest Way to convert array to cell Next: GUI with timers causing complete Matlab lockup |