title: MATLAB: print a figure to pdf as the figure shown in the MATLAB
body: <p>I am trying to export (save as, print) a figure into .pdf format. However, no matter how I configure the setting, there are large margins around the figure.</p>
  
  <p>When I export the figure into .eps format, there is no such problem --- i.e. the figure just looks like it is displayed in the MATLAB.</p>
  
  <p>How could I export the figure into .pdf format, which looks the same as it is shown in the MATLAB?</p>