Guest
Hi anyone,
I have to draw a polar axes in my application. It is
be done by a "polar(phi,rho)" command. Then, two objects
are drawn on a figure. First, an special axes which
contains a polar diagram and, second, the polar plot in
the true sense of the word. I can do "visible" or "not
visible" the polar plot. To do that, I have previously
to obtain the handle of the polar plot doing:
N=100;
phi=0:0.1:2*pi;
rho=ones(1,size(phi,2))*N;
h=polar(phi,rho)
Then, I do:
set(h,'visible','off');
The problem is that I cannot to hide or to do "not
visible" the polar axes, where was the polar plot.
First, I draw a normal axes with a certain position:
h1=axes(.....);
Second, I set the "nextplot" property of the axes to
"replace" to replace all properties of the axes for the
special polar axes, except the position property. And then
I can to show the polar plot in it.
set(h1,'nextplot','replace');
h=polar(phi,rho);
Later, I have to hide the polar plot, so I do like this:
set(h,'visible','off');
Finally, I have to hide the special polar axes, so I
try like this:
set(gca,'visible','off');
Or even:
set(findobj(h,'Parent'),'visible','off');
But, lamentablely, it not work.
Do you know how to solve this little trouble?
I shoud be very grateful to you.
Cris