title: How do I position subplots in MATLAB?
body: <p>I have problem to set the position of subplots. I'm using subplot inside a loop. But when I try to make special position to the subplots it doesn't work. This is my code:</p>
  
  <pre><code>h=subplot(2,2,3);
  set(h,'position',[0.15 0.15 0.4 0.4]);
  plot(d3,S3,'*','Color',colors(i,:));
  </code></pre>
  
  <p>I tried different methods but can't see the third subplot, and sometimes the plot shows only one iteration.</p>
  
  <p>How can I fix this?</p>