f1 = figure();
pos1 = get(f1,"position")
pos1(1) = pos1(1) + 50;
pos1(2) = pos1(2) - 50;
pos1(3) = pos1(4) * 2
set(f1,"position",pos1) #before drawn
drawnow
pos1_after = get(f1,"position")
if (! isequal (pos1, pos1_after))
  warning ("position1 after drawnow is different");
endif

f2 = figure();
pos2 = get(f2,"position")
pos2(1) = pos2(1) + 50;
pos2(2) = pos2(2) - 50;
pos2(3) = pos2(4) * 2
drawnow
set(f2,"position",pos2) #after drawn
pos2_after = get(f2,"position")
if (! isequal (pos2, pos2_after))
  warning ("position2 after drawnow is different");
endif
