title: MATLAB/Simulink figures
body: <p>I want to create a similar figure with Simulink like: </p>
  
  <p><a href="https://i.stack.imgur.com/MYyb8.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MYyb8.jpg" alt="Figure 1"></a><br>
  <sup><em>Figure-1</em></sup></p>
  
  <p>This is my MATLAB code:</p>
  
  <pre><code>n = importdata('n.txt',';')
  cars = n(:,2)
  trucks = n(:,3)
  bus = n(:,4)
  t = linspace(1,365,365)
  t = transpose(t)
  </code></pre>
  
  <p>Here are my Simulink blocks:</p>
  
  <p><a href="https://i.stack.imgur.com/ldmGb.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ldmGb.jpg" alt="Figure 2"></a><br>
  <sup><em>Figure-2</em></sup></p>
  
  <p>And "Scope" block does this kind of figure:</p>
  
  <p><a href="https://i.stack.imgur.com/fpEAl.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fpEAl.jpg" alt="Figure-3"></a><br>
  <sup><em>Figure-3</em></sup></p>
  
  <p>Why is Simulink figure (Figure-3) not similar to Figure-1. I want to create a similar figure with Simulink. Where is the problem? </p>