I wish to create a window with 2 sub-plots. In each of these subplots will be a number of Alpha Hulls. For clarity of display I need to set the x and y axis of the subplots, usually to the same scale. However, when setting the axis the plot appears in a 'letterbox' style and does not rescale to fill the window. When using other shapes it does.
I have illustrated this with the code below which is simplified from the code I am using.
In the left subplot I create a shape, set the transparency and resize the axis, the subplot keeps the full window height.
In the right subplot I draw an Alpha Hull set the transparency and rescale the axis exactly the same way, but instead of showing the full height plot we get a 'letterbox' type diplay with the top and bottom of the plot cut off.
You can exchange the remmed lines of code to swap it from left to right.
What is different about the Alpha Plot that prevents the axis rescaling the same and how do I get around it?
Thanks in advance,
xp=[0.25; 0.25; 0.75; 0.75];
yp=[0.25; 0.5; 0.5; 0.25];
scnsize = get(0,'ScreenSize');
fig = figure(3);
pos3 = [0, 0, scnsize(3), scnsize(4)/2];