|
"Travis " <sinusoid2@hotmail.com> wrote in message <h3fm6u$r7l$1@fred.mathworks.com>...
> "Jason " <jason.kaeding@hotmail.com> wrote in message <h3fkvj$3ni$1@fred.mathworks.com>...
> > "Travis " <sinusoid2@hotmail.com> wrote in message <h3fhgv$bbu$1@fred.mathworks.com>...
> > > OK, I have solved the subplot problem (just put up 4 smaller axes instead), and just took off the colorbar as I could not get that to appear on each axes. I am still having problems with the image from the large axes remaining when I switch to the quad axes, and even when I switch back. seen here
> > >
> > > http://img16.imageshack.us/img16/8135/41079310.png
> >
> > Travis,
> >
> > You will notice in the description of the Visible property that it does NOT affect any child objects of the axis. To turn the "plot" on an axes off, you have to turn it off separately from the axis. You could find this by using findobj or allchild since you know the axes handle.
> >
> > I'm going to guess that the reason your colorbar is not working is because you are using something like gca instead of referencing the axes object handle directly?
> >
> > Best regards,
> > Jason
>
> i had the colorbar set here...
> surf(handles.axes6,Data.Ex,Data.Em,(squeeze(Data.X(i,:,:))),'LineStyle','none'), colorbar
>
> on each of the plots, and it did not work. I tried a couple ways to specify that the colorbar was for handles.axes6, but they kept crashing.
>
> I am not familiar with using the children of objects, I know they are there but have never worked with them. Could you give me an example of how to clear the plot itself please?
I was able to figure it out, thank you for guiding me in the right direction
|