Reputation: 79
I have a question about Matlab Gui. I have already changed the background but I want to change the axis background.For instance, I have 8 buttons rightside, and I am using these buttons to gain some graphs. I want to change the background of axis for every click. Is it possible in matlab-gui? Thanks.
Upvotes: 1
Views: 1552
Reputation: 680
The 'Color' property controls the axes background color.
set(h_axes,'Color','r'); %change color of h_axes to red
See Axes Properties for more info.
Upvotes: 3