title: Visualising data with boxes and adding circles/ticks to the boxes
body: <p>I have what seems like a simple task and would be very grateful if someone could lend a hand or point me in the right direction. </p>
  
  <p>I have a vector of ones and zeros and I want to create a plot of this data in the following way: I want a vertical block of two squares and for each element in the vector, I would like to add a tally (this could be a circle, a dot, anything really) in each of the squares. So for eg the top square could tally all the 0's and the bottom square could tally all the 1's.</p>
  
  <p>So for eg if I had a vector of 50 zeros and 50 ones, at the end of running this file, each block would contain 50 circles/tally markings. I have started by creating rectangles as follows:</p>
  
  <pre><code>axis([0 1 0 1])
  rectangle('Position',[0.1,0.3,0.2,0.2])
  rectangle('Position',[0.1,0.8,0.2,0.2])
  </code></pre>
  
  <p>But I am stuck when I want to actually add the tally marking to each circle according to whether the element of the vector is zero or one. </p>
  
  <p>Any help much appreciated! </p>