title: Labeling different figures, font,size MATLAB
body: <p><strong>I am trying to basically copy this graph for practice for my final coming up but I don't understand how to change the font,size or labeling the axis. Simply put, I need to replicate this graph exactly from my code. I need the font to be times new roman and size 18 with a marker size of 8. How would I format my code into this?</strong>
  <img src="https://i.stack.imgur.com/yBqXs.png" alt="enter image description here"></p>
  
  <p><strong>This is my code:</strong></p>
  
  <pre><code>clear
  clc
  
  x = linspace(0,2);
  y1 = sin(2*pi*x);
  y2 = exp(-0.5*2*pi*x).*sin(2*pi*x);
  
  
  figure
  subplot(2,1,1);
  hPlot1 = plot(x,y1,'rs');
  ylabel('f(t)')
  set(gca,'YLim',[-1 2],'YTick',-1:1:2,'XTick',0:.5:2)
  
  subplot(2,1,2);
  hPlot2 = plot(x,y2,'k*');
  xlabel('Time(s)')
  ylabel('g(t)')
  set(gca,'YLim',[-0.2,0.6],'YTick',[-0.2,0,0.2,0.4,0.6],'XTick',0:.5:2)
  </code></pre>