title: Plot on the same figure in Matlab
body: <p>I have the following code :</p>
  
  <pre><code>clc
  clear
  x=[1 2.5 2 3 5 6 3.5 2.1 4 .5]
  y=[1 3 1.5 2 1.4 5 3.8 2.1 3 3.5]
  p=plot(x,y,'r.')
  set(p,'MarkerSize',30)
  reg=polyfit(x,y,2)
  p2=plot(reg)
  </code></pre>
  
  <p>how can I show both plot in the same figure and also I want axis range to be between 0 and 10.</p>