title: NETLOGO patches squares and rectangles
body: <p>I'm attempting to make squares and rectangles with patches on netlogo, with the variables x (pxcor) y (pycor) w (width) l (length). I wrote</p>
  
  <pre><code>ask patch random w random h [set pcolor blue]
  </code></pre>
  
  <p>and was able to create regular rectangles and squares with lengths and widths I enter, but they always appear with the lower left corner at 0, 0. How can I create these shapes and have them appear with the upper left corner the x and y coordinates that I enter. Please, any help would be appreciated</p>