I have drawn 3 rectangles and put them in a struct as follows. It occupies the whole figure1 area. How to make them so small that just, for example, these rectangles just take one fifth of the figure1’s area?
hfig = figure;for i = 1 : 3 W = 4; X = i.* W; Y = 0; H = 8; R = rectangle; R.Position = [X Y W H]; G(i).r = R;end
Best Answer