From: Adnan Abdulally on
Hello, i am trying to make a graph with 2 tables and a plot. I want the two tables to be on the left side and the plot to be on the right side. However, i cant figure out how to resize the plot so its just on the right side and not taking the whole area of the figure. Matlabs get and set documentation is pretty terrible and i cant find any help on the matter.

Here is some sample code of what i have. When run you'll notice how the plot stretches to the entire figure and not on the right side. I did not use subplot because it is a terrible function and adds way too much spacing inbetween and on the edges of the plots.

f = figure('Position', [0 0 1100 400]);
t1 = uitable('Parent', f, 'Position', [0 200 632 166]);
t2 = uitable('Parent', f, 'Position', [0 0 632 166]);
set(t1, 'Data', rand(8));
for i=1:20;
set(t2, 'Data', rand(8));
h = plot(rand(64,1));
set(h,'size',[400,400])
pause(1)
end

Any help would be appreciated.

Thanks