title: MATLAB Subplot Export
body: <p>I am trying to plot 3 figures in MATLAB and they are coming out just fine within MATLAB. Here is the screenshot of how it looks within MATLAB. (i.e. once I execute my script)
  <img src="https://i.stack.imgur.com/jMgc7.png" alt="enter image description here"></p>
  
  <p>However, When I save it using <code>print -djpeg -r300 Output.jpeg</code>, it looks like this:
  <img src="https://i.stack.imgur.com/FEwti.jpg" alt="enter image description here"></p>
  
  <p>How do I fix it <strong>without downloading any files from FileExchange?</strong>
  I have gone through similar questions on SE however, they all recommend the use of files available on FileExchange.</p>
  
  <p>Here is what I have already tried:</p>
  
  <pre><code>set(gcf, 'PaperUnits', 'inches');
  set(gcf, 'PaperSize', [10 10]); 
  set(gcf, 'PaperPosition', [0 0 10 10]);%No improvement
  </code></pre>