title: How to precisely control line thickness in MATLAB plot?
body: <p>I would like to precisely control the thickness of the line plotted in MATLAB. Not just 0.5, 1, 2, 3, ... points but e.g. 0.2mm. Is it possible? </p>
  
  <p>There is a custom line scale and minimum line width box in the export setup window but that does not work. </p>
  
  <p><img src="https://i.stack.imgur.com/7lLMG.png" alt="enter image description here"></p>
  
  <p>Sample code:</p>
  
  <pre><code>hf = figure;
  ha = axes;
  ha.Units = 'centimeters';
  
  t = linspace(0,2*pi);
  hl = plot(t,sin(t),'Linewidth',0.1);
  axis tight
  
  saveas(hf,'test','pdf')
  </code></pre>