title: Creating an Erdos-Renyi grah in Julia and obtaining the adjacency matrix
body: <p>I would like to generate an Erdos-Renyi random graph with julia and most importantly get the adjacency matrix. I have tried the following code:</p>
  
  <pre><code>using Erdos
  using PyPlot
  g = erdos_renyi(100, 0.1);
  am = adjacency_matrix(g);
  imshow(am)
  </code></pre>
  
  <p>However, the plot I get for the adjacency matrix does not seem right.
  <a href="https://i.stack.imgur.com/8PfpH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8PfpH.png" alt="enter image description here"></a></p>
  
  <p>How can I generate them properly? Even if its with a different Julia package.</p>