Graphics Reference
In-Depth Information
The following example changes the ratio of appearance for the sphere (Figure 5-29 ).
>> sphere
set(gca,'DataAspectRatio',[1 1 1],...
'PlotBoxAspectRatio',[1 1 1],'ZLim',[-0.6 0.6])
Figure 5-29.
Now place the background color of the current figure in white (Figure 5-30 ).
>> set(gcf, 'Color', 'w')
Figure 5-30.
Search WWH ::




Custom Search