title: How to expand the axes of a plot with multiple points in Scilab?
body: <p>I am using Scilab 5.5.2. to plot multiple points. That's my script trying to plot 4 points in 2D:</p>
  
  <pre><code>u = [1,2;2,1;3,1;4,5;5,1]
  
  clf; plot(u,"*r")
  </code></pre>
  
  <p>The points I am trying to plot in 2D are (1,2), (2,1), (3,1) and (5,1).</p>
  
  <p>I am using "u" as vector to store the coordinates. This script generates this image:</p>
  
  <p><a href="https://i.stack.imgur.com/XCfg8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XCfg8.png" alt="enter image description here"></a></p>
  
  <p>I would like to expand the x axis and the y axis in order to have an "usual" graph. I tried doing that with this:</p>
  
  <pre><code>x=[0:10]
  
  u = [1,2;2,1;3,1;4,5;5,1]
  
  clf; plot(x,u,"*r")
  </code></pre>
  
  <p>However, I get this error message:</p>
  
  <pre><code>WARNING: Transposing row vector X to get compatible dimensions
   !--error 10000 
  plot: Wrong size for input arguments #2 and #3: Incompatible dimensions.
  at line     147 of function checkXYPair called by :  
  at line     236 of function plot called by :  
  clf; plot(x,u,"*r")
  at line       9 of exec file called by :    
  exec('poole-exemple.sci')
  </code></pre>
  
  <p>What's more, there is something weird with my plot. My script generates points that I do not want. If you look at the image, you will see a (4,4) or a (1,1) point on the plot. I do not want this and I don't know why this happens.</p>
  
  <p>Does anyone know how to help me?</p>