How to add pairs of graphs (generated through a function) to adjacent subplots?

The function "myfunction" produces two graphs, saved as Fig1 and Fig2. At every iteration of the loop for, i.e. i = 1, 3, 5, I would like to add Fig1 and Fig2 to two adjacent subplots, i.e. subplot(3,2,i) and subplot(3,2,i+1), respectively. I tried to do that with the following code, but it does not perform what I would like:

[Fig1,Fig2] = myfunction;

function [Fig1,Fig2] = myfunction

Fig1 = figure; plot(1:10,rand(10,1));

Fig2 = figure; scatter(1:10,rand(10,1));

Any suggestion, to get the following (desired) output?